blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0c88b9febd9f5fd5ef144219943a950929373b4e | 0cd9bc955c92cf8bef30a0fddebef4fdb0dba09e | /labs/5/parallelogram.cpp | 660ed5a700cbe8a2cd576d0e758f38f1d5986068 | [] | no_license | zimnicky/knu-iii-s-labs-oop | 5e590efda6639356b1984bd7b81ccb3e6a6b6a54 | aa79d947f6e679b11f6d26af586fc0bb783ec2ae | refs/heads/master | 2020-07-08T00:09:55.010210 | 2013-12-24T12:06:18 | 2013-12-24T12:06:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,142 | cpp | #include "parallelogram.h"
#include <algorithm>
#include <cmath>
Parallelogram::Parallelogram(Point a, Point b, Point c)
{
points[0] = a;
points[1] = b;
points[2] = c;
}
Parallelogram::Parallelogram(Line a, Line b, Line c) throw(std::invalid_argument)
{
Point pa, pb, pc;
if (a.isParallel(b))
... | [
"zimnicky@gmail.com"
] | zimnicky@gmail.com |
ab0f7b9a0341001522beb1f6fa5652adcec96862 | bd96fe1bfbf98236d8457a5929433a2aae333fe1 | /Cpp/Submit Records/397. Integer Replacement.cpp | 167cc1700a4ce29da5faaaad94ed8d2797cdf628 | [] | no_license | Alfeim/njuee_LeetCode_Solutions | 1879c99c8c999f08d97980acf10490da5ebeaaea | ed1a8f4dd90739c6359c71a1278efd811bafe354 | refs/heads/master | 2020-06-13T12:05:46.521182 | 2020-01-11T07:14:38 | 2020-01-11T07:14:38 | 194,647,358 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | /********************************************
作者:Alfeim
题目:整数替换
时间消耗:12ms
解题思路:递归;剪枝优化
********************************************/
//不剪枝,暴力遍历
class Solution {
public:
int integerReplacement(int n) {
if(n == INT_MAX)
return 32;
if( n == 1)
return 0;
... | [
"noreply@github.com"
] | Alfeim.noreply@github.com |
34615b81cb331cafc630f72b920e5a0e5f1a5264 | 47bca352295931eefcf3eb3815206a256919a656 | /src/element/particle.h | db98de3b5e599e68cd092a83a6bfc040eec6dda5 | [] | no_license | lifepatch/BedhilGame | a4dcb75e04144c2c5ee8e74ff73e515aa069fe47 | 275a745d0959f5c61094a217af48e017ab76d4e5 | refs/heads/master | 2021-01-10T08:43:44.383113 | 2015-06-11T00:58:11 | 2015-06-11T00:58:11 | 36,510,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | h | #ifndef PARTICLE
#define PARTICLE
#include "ofMain.h"
class Particle {
public:
void update()
{
age++;
}
void draw()
{
}
private:
ofVec2f pos;
ofVec2f acc;
unsigned int age;
};
class ParticleManager {
public:
void setup()
{
}
void update()
{
}
... | [
"iyok@deadmediafm.org"
] | iyok@deadmediafm.org |
baf81f23c9be240624bac8ea180147d11c76cf47 | 28532849935a0d6f5d3a81f1a96ed6cc0355912b | /tensorflow/core/common_runtime/gpu/gpu_stream_util.cc | ca86c7fa06dfe0236c7045ff727bca5505d7a611 | [
"Apache-2.0"
] | permissive | brodyh/tensorflow | dd2a90c190e44651cf2f7c9750db6c61d264f019 | 22dcea8c366c450a3840c370ef96ba73757c99e3 | refs/heads/master | 2021-01-22T16:09:50.468833 | 2015-11-12T00:21:20 | 2015-11-12T19:14:23 | 46,072,274 | 4 | 1 | null | 2015-11-12T18:28:27 | 2015-11-12T18:28:26 | null | UTF-8 | C++ | false | false | 3,530 | cc | #include "tensorflow/core/common_runtime/gpu/gpu_stream_util.h"
#include <set>
#include <string>
#include <unordered_set>
#include <vector>
#include "tensorflow/core/graph/algorithm.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/lib/strings/strcat.h"
namespace tensorflow {
namespace gpu_st... | [
"keveman@gmail.com"
] | keveman@gmail.com |
6e063859a2fecb92921fae48a86da87f1efbd100 | e29bf1dd6f59838864798128c265e798e417252c | /Object Oriented Programming/Constructor ~Destructor/main.cpp | cb12ce85b9644e48d59f0007c419a2a755a4504a | [] | no_license | jps27CSE/C-PlusPlus-Programming- | 9367b18fd81aafa03d149ac8d6ac56cce4e2a5dd | 5a3936701013e9ddf846b8fff5e4a615c7c2b1ae | refs/heads/master | 2023-01-14T16:14:12.275666 | 2020-11-16T14:10:40 | 2020-11-16T14:10:40 | 275,437,175 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | cpp | #include <iostream>
#include "firstclass.h"
using namespace std;
int main()
{
firstclass ob;
ob.display();
return 0;
}
| [
"noreply@github.com"
] | jps27CSE.noreply@github.com |
f4e5e0b5b87e9d21ad4ef69fb0937c8c48d259fc | 8860168786d04a3043ea3e06d06a27630b38f2b6 | /zebulon/projects/asvc/2012/include/asvc/surface/vision/.svn/text-base/bouybaseobject.h.svn-base | 2887199cf733d7ef02a2d54ccaf98e73ea722ccf | [] | no_license | ShowLove/Robotics_Club | 6785d8f5717f9f29ef7cb702f47f481767c8875b | 9c6b4b723a2732c1565913795c2a43b90902f011 | refs/heads/master | 2020-05-15T03:08:44.178211 | 2014-08-08T04:05:42 | 2014-08-08T04:05:42 | 14,319,218 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,001 | //#include <opencv/cv.h>
//#include <opencv/highgui.h>
//#include <cxutils/cxutils.h>
//#include <vector>
//#include "dvision/visionutils.h"
//#include "dvision/visionobject.h"
//#include "xmlconfig/xmlconfigurator.h"
//#include "gvision/segment.h"
//#include "gvision/threshhold.h"
//#include "gvision/threshratio.h"
//... | [
"showlove@knights.ucf.edu"
] | showlove@knights.ucf.edu | |
f1056816d1a97e994285762af1fc4510c88c08a6 | 2b958c303d6e4fdcd647b53e853520279b6cc3f1 | /utils/config.h | 5255d9d1192849fbd7b1faa5c67ce08c16b0a869 | [] | no_license | rt77789/lsh_ese | 7b823d93c34e4ab0430b6cab00edeb9f36cf30ee | e1201d4c989c33d667ae1fa52876a4634b655774 | refs/heads/master | 2021-01-20T07:02:03.519488 | 2012-02-23T07:16:58 | 2012-02-23T07:16:58 | 2,636,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | h |
#ifndef LSH_ESE_UTILS_CONFIG_H
#define LSH_ESE_UTILS_CONFIG_H
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
/* Value Object of configer. */
class ConfigerValue {
std::string _value;
public:
ConfigerValue(const std::string &value):_value(value) {
}
ConfigerValue(const ConfigerValue &... | [
"rt77789@163.com"
] | rt77789@163.com |
58c5a25f788e6b92a4ba118f515f3d7d342a2d7f | e7272906b7e1a5d143061714a25a17aec79d867d | /C-Compiler/Heap/StdFunc.cpp | b4bf4184911053b9070eaad8915c56610345cfae | [] | no_license | Medbat/Labs | afe3e7854d2f0ffc9cff3a88c30345da79d5a1f6 | 5df266dba60b0176e3775a640859b40a38cd2392 | refs/heads/master | 2021-01-18T18:50:53.994604 | 2016-08-13T08:20:44 | 2016-08-13T08:20:44 | 65,604,516 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 877 | cpp | #pragma once
#include "StdFunc.h"
#include "stdafx.h"
long long int fact(int x)
{
if (x == 0) return 1;
return x*fact(x - 1);
}
double pow(double num, int degree)// Можно сделать быстрое возведение в степень
{
double ans = 1;
for (int i = 0; i < degree; i++)
ans *= num;
return ans;
}
double sin(double x)
{
in... | [
"wishnyakow@gmail.com"
] | wishnyakow@gmail.com |
8a9ba6f3d66d52d39bcd4fe809f835e4a760dab9 | 42bf0e4600855800ffaa0f20b7a37d6a12e1fddb | /No4.cpp | 43de153481b38f8d4b6429376181c3fea99f7f02 | [] | no_license | destynursyifaa/TugasDestyNA | ed624fb6650a1284a03f6801f44986151feac0d5 | a04ea1efe15596f86ca18b8bc49290a9ceebc0f4 | refs/heads/master | 2021-08-07T04:58:31.598067 | 2017-11-08T06:27:42 | 2017-11-08T06:27:42 | 109,847,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
int main () {
int nilai;
cout<<"Masukan Nilai : ";
cin>>nilai;
if (nilai>0)
cout<<"Nilai Positif";
else if (nilai<0)
cout<<"Nilai Negatif";
else
cout<<"Nilai 0";
}
| [
"32846022+madesuntyadevi@users.noreply.github.com"
] | 32846022+madesuntyadevi@users.noreply.github.com |
0a12fd3cfb8b5147d54d3630cb6918c64da6aacf | 802d5f884b04f1def1500a16e446c4377521cdd9 | /MyCompress/include/MyCompress.hpp | eb99f6406c5af5bc2b120a361998421f94c7a9b8 | [] | no_license | redmancy750/HelloWorld | dc93dff6eaceca870441696cedf5348a6dd11f39 | 2c547318b33cd9d6aafc5ad62f0a4c42fd2b66ac | refs/heads/master | 2023-03-12T14:58:09.015210 | 2021-03-03T06:29:32 | 2021-03-03T06:29:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,251 | hpp | /***************************************************
功能: zip文件的解压缩
作者: 田俊
时间: 2019-12-05
个性:
***************************************************/
#ifndef __MY_COMPRESS_HPP__
#define __MY_COMPRESS_HPP__
#include <string>
#include <list>
#include "zip.h"
#include "unzip.h"
class CMyCompress
{
public:
//文件类型
enum EF... | [
"tianjun@casquantumnet.com"
] | tianjun@casquantumnet.com |
315b1e7ccb140ec61231726fbb50a854d800cebe | f0d488da4dce63bd205d791b3c83c9bc477995be | /apps/vox/Entities/OXStandAloneEntity.h | 0d651044ba3547e6e0d0a67f19173b9d4668225c | [] | no_license | Adrasl/OX | 4996589e454fc2292cebb13ae1eda9fbb78488fe | 878e24174785c27f0d9837a1300c13bd2760010a | refs/heads/master | 2016-09-11T15:06:44.634013 | 2014-01-16T18:31:40 | 2014-01-16T18:31:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,164 | h | #ifndef _OXSTANDALONE_ENTITY_
#define _OXSTANDALONE_ENTITY_
#include <winsock2.h>
#include <core/IPersistence/IEntityPersistence.h>
#include <core/IProd/IEntity.h>
#include <core/types.h>
#include <Entities/OXEntityTypes.h>
#include <iprod/Prod3DEntity.h>
#include <ipersistence/EntityPersistence.h>
#include <controll... | [
"garionsl@gmail.com"
] | garionsl@gmail.com |
d5cb8964c9e4fe8585b4b78662a4b18ee0052802 | 9f88ad46837a18fa03a5a32fe95dfb0505d5e6bf | /App/untrusted/two_level_iterator.cpp | 8d870a622137d219b325437d502ac7b2c9aeac85 | [] | no_license | anonysubmit/LPAD | d67bf229a1f8275e15595a8fb08915bdf2516ab5 | 6f097d09b6bb89641697fe962095341a0800cefb | refs/heads/master | 2021-05-05T05:11:08.853367 | 2018-08-07T01:45:08 | 2018-08-07T01:45:08 | 118,666,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,631 | cpp | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "two_level_iterator.h"
#include "table.h"
#include "block.h"
#include "format.h"
#include "it... | [
"submitanony@gmail.com"
] | submitanony@gmail.com |
aa06cc592477a374ffdeb8f609c9f4ac0aaa8717 | d70d2f78b5e18b1f369a3780e343707c6745cb49 | /tools/ClangbuilderUI/MainWindow.h | 7676982705e379f576da0d14fcce7a0957880f4b | [
"MIT"
] | permissive | fast01/clangbuilder | f36a1531eb6f6aaa1c60c3af44ff9189f7c4cd0c | 06c5228eba134b69dac5afbe63adf1c8a1b8f62a | refs/heads/master | 2020-12-02T22:23:59.938557 | 2017-07-03T13:40:41 | 2017-07-03T13:40:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,175 | h | //
//
//
//
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <atlbase.h>
#include <atlwin.h>
#include <atlctl.h>
#include <string>
#include <d2d1.h>
#include <d2d1helper.h>
#include <dwrite.h>
#include <wincodec.h>
#include <vector>
#include "Clangbuilder.h"
#include "Resource.h"
#ifndef SYSCOMMAND_ID_HANDLER
#def... | [
"charlieio@outlook.com"
] | charlieio@outlook.com |
58f578d80c27127328619459f1ed86e9e94407f3 | 9d2a5faa4f33ebc05fbc48403bda4cf6c6296695 | /8.1/include/um/mfplay.h | be43d357fb18f787f84aefd516cd1bde5c27e86e | [] | no_license | ojdkbuild/tools_toolchain_vs2013e | 750d2afc0922cb7bba03103ef792b521bbb93f29 | a6cea36c2e52a571864986ee2957fbd91d6f4ce8 | refs/heads/master | 2020-12-28T06:58:52.461955 | 2016-09-15T08:43:33 | 2016-09-15T08:43:33 | 68,278,644 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 42,958 | h |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.00.0603 */
/* @@MIDL_FILE_HEADING( ) */
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef ... | [
"akashche@redhat.com"
] | akashche@redhat.com |
bc5bdfc178458de60d5509299da66a0be7d27a69 | f956dbb991ceca512df6d8f6d20b202f069c5394 | /src/Lethe/Script/Ast/ControlFlow/AstFor.cpp | 711e5e3f407629175389f161b78ccfa28347f431 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | ntoskrnl7/lethe | bdda532a1273f683f6a101ee72e7e1863e4c7916 | c1a9bb45063f5148dc6cf681ce907dcbb468f5e6 | refs/heads/master | 2021-03-04T12:38:33.943621 | 2020-03-08T17:32:01 | 2020-03-08T17:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,048 | cpp | #include "AstFor.h"
#include "../NamedScope.h"
#include <Lethe/Script/Program/CompiledProgram.h>
#include <Lethe/Script/Vm/Opcodes.h>
#include "../AstSymbol.h"
#include "../AstVarDecl.h"
#include <Lethe/Script/Ast/Types/AstVarDeclList.h>
#include <Lethe/Script/Ast/Types/AstTypeInt.h>
#include <Lethe/Script/Ast/Constant... | [
"k_mar@seznam.cz"
] | k_mar@seznam.cz |
9ea5ecaa18b4154642b5c16ed04a531f8cd8903d | 2f616a4dbd646a270feca5904f508b409c85a2f1 | /myriad/renderTarget/renderTarget.h | 3f05706debe27df37df5307212508ed2a9848682 | [] | no_license | jobtalle/Myriad | dcc2bf2c3929c173610b286b5e0693056296f82c | 4443d7c549869fca193d639451971ce2eef8fa83 | refs/heads/master | 2021-01-23T02:29:16.590809 | 2017-10-25T14:29:56 | 2017-10-25T14:29:56 | 85,995,743 | 26 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 906 | h | #pragma once
#include "defaultRenderTarget.h"
#include "quad/quad.h"
namespace myr
{
class RenderTarget final : public DefaultRenderTarget, public Quad
{
public:
RenderTarget(const Color &clearColor, const Rect &rect, Renderer *renderer);
RenderTarget(const Color &clearColor, const Rect &rect);
~RenderTarget... | [
"jobtalle@hotmail.com"
] | jobtalle@hotmail.com |
38ba24b5311e8aed03078f39df8f30baa9cabe49 | fe61487ee3f22acabae078eba9436553865a9427 | /io_client/kksqgis/kksqgis/maptools/qgsmaptoolmeasureangle.h | ac00aed1d9a197c055bb0003c4804f4e304fd347 | [] | no_license | YuriyRusinov/reper | f690da37a8dec55de0984b1573e8723fb7420390 | ea3e061becee245212c1803ea4e5837509babcce | refs/heads/master | 2021-01-17T06:51:53.153905 | 2017-02-21T15:48:58 | 2017-02-21T15:48:58 | 47,569,096 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,476 | h | /***************************************************************************
qgsmaptoolmeasureangle.h
------------------------
begin : December 2009
copyright : (C) 2009 by Marco Hugentobler
email : marco at hugis dot net
************************************... | [
"skarin@05742d63-fc59-4ccd-b3f0-d7e2a2a8a88d"
] | skarin@05742d63-fc59-4ccd-b3f0-d7e2a2a8a88d |
52858d80d778b81beeb6f46466d19dde36d66c87 | 034b3e3f8ddcdb3fab18ac58a2eca7958f7f9d25 | /Classes/SkyLayerNear.cpp | b80ce31029a7bc4389b745850648d48da3854500 | [] | no_license | droidsde/jumperX | edd5c7ad6b05c4bbebf75aab9d69639e1ac238e7 | 4610e30ef455c92e69267cc480ed36589032fcc2 | refs/heads/master | 2020-05-24T17:08:26.019439 | 2014-03-10T09:01:41 | 2014-03-10T09:01:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | cpp | //
// SkyLayerNear.cpp
// jumper-x
//
// Created by Declan on 14-2-28.
//
//
#include "GlobalDefine.h"
#include "SkyLayerNear.h"
USING_NS_CC;
CCLayerColor * SkyLayerNear::unitLayer(float baseHeight)
{
CCLayerColor *layer = CCLayerColor::create(ccc4(0, 0, 0, 0), kDesignWidth, kDesignHeight);
layer->setAnch... | [
"declan@afgroup.cc"
] | declan@afgroup.cc |
1121e0f3fd4f478506c4af97029dd3e865f45df6 | ecab21462fc75df52132b11349d8e7a0dcd3218c | /gen/blink/bindings/modules/v8/V8BluetoothDevice.h | 3677f41083d6336fcfc20cd13014f4fd928a91b8 | [
"Apache-2.0"
] | permissive | mensong/MiniBlink | 4688506a0e9e8f0ed5e6d6daaf470255be2a68b8 | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | refs/heads/master | 2023-03-29T04:40:53.198842 | 2021-04-07T01:56:02 | 2021-04-07T01:56:02 | 161,746,209 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,019 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#ifndef V8BluetoothDevice_h
#define V8BluetoothDevice_h
#include "bindings/... | [
"mail0668@gmail.com"
] | mail0668@gmail.com |
75b962077034e47c7020c0566390e8baf65f24cc | 7409c20db411b8615ce4fa5809f953996e4b1da5 | /trunk/source2/UmlBaseStateDiagram.h | bdee523cfb64925c1613080307d8ad30e0f5d37d | [] | no_license | jfinn24985/butter | bc997213520c9cc1552fbac62c63f093f393d137 | d09e89c8f358267349f67d3bd3fa8706372ab1c8 | refs/heads/master | 2021-12-31T21:17:41.586261 | 2021-05-02T20:00:03 | 2021-05-02T20:00:03 | 124,422,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | #ifndef _UMLBASESTATEDIAGRAM_H
#define _UMLBASESTATEDIAGRAM_H
#include "UmlDiagram.h"
#include "anItemKind.h"
#include <qbytearray.h>
class UmlStateDiagram;
class UmlState;
class UmlBaseStateDiagram : public UmlDiagram {
public:
// returns a new state diagram named 's' created under 'parent'
//
// In... | [
"jfinn24985@gmail.com"
] | jfinn24985@gmail.com |
c979dc008642b8caf097245d7dac225c4fae9e19 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5708921029263360_0/C++/brandys11/c.cpp | 0d952a19dea04166caf14cc3846c8ea78f88a192 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,591 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
void solve() {
int J, P, S, K;
cin >> J >> P >> S >> K;
set<ll> R;
map<pair<int,int>, int> JP, JS, PS;
for(int j=1; j <= J; j++) {
for(int p=1; p <= P; p++) {
for(int s=1; s <= S; s++) {
JP[make_pair(j,p)] = 0;
JS[make_pair(j,s)] ... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
8bf74664a5a148aef9e46acff6f97abc3209c848 | 192853729e95265b1475202ec6544f107cbe5e35 | /test/graph/mock_filter.cpp | ad9937f8decd97906e361c2179afa8a76204cd60 | [
"WTFPL"
] | permissive | mypopydev/zimg | 9ea78ff70e9c56ebe4d02a025eca11361e0d898b | e17ee6cf72509c32c15067b32615849e69486367 | refs/heads/master | 2021-07-01T00:27:17.773654 | 2020-08-23T13:47:39 | 2020-08-23T13:47:57 | 171,602,941 | 0 | 0 | WTFPL | 2019-02-20T04:49:28 | 2019-02-20T04:49:25 | null | UTF-8 | C++ | false | false | 5,444 | cpp | #include <algorithm>
#include "gtest/gtest.h"
#include "mock_filter.h"
MockFilter::MockFilter(unsigned width, unsigned height, zimg::PixelType type, const zimg::graph::ImageFilter::filter_flags &flags) :
m_attr{ width, height, type },
m_flags(flags),
m_total_calls{},
m_simultaneous_lines{ flags.entire_plane ? zim... | [
"noreply@example.com"
] | noreply@example.com |
b3c65400120258ac408a2a7758708bfea32a6540 | 33d61d2bbbcf6487384ba087bb66f5ca842ed787 | /examples/lighting-app/nrf5/main/main.cpp | 4267a5d3c08949a6245c355e6682b0bb1821c3e7 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gerickson/connectedhomeip | 5c9e228efe3aaad107423b5bf71fb9f508c5c60d | 67a1b5919d2995af4f26051aebf4848d5c3ed4e0 | refs/heads/master | 2022-12-28T07:36:20.861983 | 2020-07-09T15:22:08 | 2020-07-09T15:22:08 | 276,699,590 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,644 | cpp | /*
*
* Copyright (c) 2020 Project CHIP Authors
* Copyright (c) 2019 Google LLC.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | [
"noreply@github.com"
] | gerickson.noreply@github.com |
5e3b605291162147545e69dc0705a38b8d1309f6 | 01969323491cdd8db5876e819a283325ddcd6ec1 | /RYU_prototype/Private/IO/RyuItemSelectCommand.cpp | f99d7b131175b85041345735405b59bdf1ec7fd6 | [] | no_license | Hengle/Ryu | 8f3de7e3883dbb633a2e3d7c048734d429771b16 | 4c8e4c0c225195dc6949b3ac8b3997fe70816789 | refs/heads/master | 2023-04-19T18:34:05.889585 | 2021-05-03T16:15:01 | 2021-05-03T16:15:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87 | cpp | // Copyright 2019 80k Games, All Rights Reserved.
#include "RyuItemSelectCommand.h"
| [
"Seim@DESKTOP-NRK8OE0"
] | Seim@DESKTOP-NRK8OE0 |
4a763de6c23d0ad61538c6a918f208d76d38cd1b | fa4cb41ef68d83a52d72da75492b0475327e8670 | /Debug/Generated Files/winrt/impl/Windows.System.Profile.0.h | 1440430b46569d054e83901a2e8729e0f2f84d4d | [
"MIT"
] | permissive | zedpoirier/JupiterEngine | 4ec595e886802dbc4c57b4d4503f91f9c48f8765 | 26afe2fede8e9fce0a48de3a768ef58839ae1565 | refs/heads/master | 2023-02-09T04:40:12.797148 | 2021-01-04T19:35:08 | 2021-01-04T19:35:08 | 298,377,326 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,863 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200921.6
#ifndef WINRT_Windows_System_Profile_0_H
#define WINRT_Windows_System_Profile_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
template <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationT... | [
"49734422+zedpoirier@users.noreply.github.com"
] | 49734422+zedpoirier@users.noreply.github.com |
7a72de7d74a73b88ec3f5064b82cc221406c18d9 | a20b2638065bc0e12f79a830035e3a6824cc01a3 | /src/q_rand.cc | 62d1674137f21a51b39a8c33470761e1030ae9ee | [] | no_license | AdamLenda/tome2 | cc0b0af3a1c05896af8a8046fbebe1d3a573f61b | fd66550506705513d473967a5f72de21ca118eb7 | refs/heads/master | 2020-05-22T20:29:27.169251 | 2019-02-07T16:41:35 | 2019-02-13T09:18:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,777 | cc | #include "q_rand.hpp"
#include "artifact_type.hpp"
#include "cave.hpp"
#include "cave_type.hpp"
#include "dungeon_flag.hpp"
#include "dungeon_info_type.hpp"
#include "game.hpp"
#include "generate.hpp"
#include "hook_build_room1_in.hpp"
#include "hook_chardump_in.hpp"
#include "hook_monster_death_in.hpp"
#include "hook... | [
"bardur@scientician.net"
] | bardur@scientician.net |
471f8794053b40603ae579e691c5b8dca3ae1ec1 | 53142bedc8f678ab54f7dbfed66aa3196a58b702 | /PA04/Old/PA04.2/Timer.h | a98c2c1bbed05e9fcd2ebe82b0b6f018b8c2a047 | [] | no_license | lkramer37/CS302-Data-Structures | d2ec715491f3f5901145ba9e0b1dc387ca99a880 | 087bf1022f6924f2914b2f227489201351e2f085 | refs/heads/master | 2023-01-22T13:11:13.437124 | 2020-11-18T18:13:14 | 2020-11-18T18:13:14 | 209,921,362 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | // Timer.h
#ifndef TIMER_H
#define TIMER_H
#include <ctime>
#include <stdexcept>
#include <iostream>
//#include <sys/time.h>
using namespace std;
class Timer {
public:
Timer();
void start() throw (runtime_error);
void stop() throw (logic_error);
double getElapsedTime() const throw (logic_error);
... | [
"lkramer37@nevada.unr.edu"
] | lkramer37@nevada.unr.edu |
3ae1c3b8f306c485dae1f2d754b1f0d6bab1ade6 | c7365b9c98cdced58ba6b1fdd10c5e093af09e20 | /luciolinae_ctl/src/Util.cpp | 1fe29960f18ae0d3eeb3c3119909c348deaeb919 | [] | no_license | damian0815/Luciolinae | bf600362216517d5843e13046182d2f41f3b7b1d | aa398f1b434ebed24ff7e1d3c595dfd9226a0638 | refs/heads/master | 2021-05-27T12:29:15.833026 | 2013-07-07T09:31:28 | 2013-07-07T09:31:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | cpp | /*
* Util.cpp
* luciolinae_ctl
*
* Created by damian on 21/05/10.
* Copyright 2010 frey damian@frey.co.nz. All rights reserved.
*
*/
#include "Util.h"
| [
"damian@frey.NOSPAMco.nz"
] | damian@frey.NOSPAMco.nz |
dce3733c31a4f1ad36a4954cf15ed7a9f62c214f | ff5e07b28754be163b46e44f4c899911b3013070 | /tp3/src/exo3.cpp | 65d6253eed0d84b0633503087a75246a4558518f | [] | no_license | AdrienBlassiau/PROJET_MLA | 80d7c89411b572c8e62dba23061ffdebaa5d9dbb | a1d34fe270a2029e1cc079866dd0c64ad25c9e72 | refs/heads/master | 2022-04-08T08:59:20.381825 | 2020-02-14T14:28:57 | 2020-02-14T14:28:57 | 238,747,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,713 | cpp | /////////////
// EXO3 PL //
/////////////
#include "CuttingPlanesEngine.h"
#include <iostream>
#include <cstdlib>
#include <ilcplex/ilocplex.h>
#define EPSILON 1.0e-6
#define COUT(x) {}
#define COUT2(x) {cout<<x;}
using namespace std;
int n; //no sommets
int m; //no arêtes
int* b; //demandes... | [
"adblassiau@gmail.com"
] | adblassiau@gmail.com |
c57665442addd12e607e8a272e9c7866c0209f9e | cb66fbeed2fb34ace91a7c326e9aeaf64ad36fd7 | /libraries/microHTU21D/src/microHTU21D.h | f7a6472c5be49abcfcbb1eb9dd887a686cae2b7c | [
"MIT",
"GPL-3.0-only"
] | permissive | ogneyar/GyverControl | 5c0a9042b7f43c94c73e6fe301bdfc0869d98868 | c8907b2b960dbdeed16853f74953126d3f19ba51 | refs/heads/master | 2023-07-19T05:51:09.374337 | 2021-09-09T16:10:36 | 2021-09-09T16:10:36 | 580,484,686 | 2 | 0 | MIT | 2022-12-20T17:16:37 | 2022-12-20T17:16:36 | null | UTF-8 | C++ | false | false | 6,445 | h | /***************************************************************************************************/
/*
This is an Arduino library for SHT21, HTU21D & Si70xx Digital Humidity and Temperature Sensor
written by : enjoyneering79
sourse code: https://github.com/enjoyneering/
This chip uses I2C bus to communicat... | [
"beragumbo@ya.ru"
] | beragumbo@ya.ru |
eb07c45a1159a990d843e532cc309ebf9d9fa927 | 8aea4a82f50de19ee8dc5858cbb93860424f1df7 | /loadouts.hpp | 7f86969673a58b3ef3c708b7df32cc9e2ce677c2 | [] | no_license | gruppe-adler/TvT_Catch_The_Flight.Stratis | 82ad43dbf0c247049908a046f161147844d459c7 | 398ab8f91ddbbed14da276e85ac217fb61959ea3 | refs/heads/master | 2021-01-12T09:58:25.415015 | 2020-12-14T20:15:40 | 2020-12-14T20:47:04 | 76,308,770 | 0 | 0 | null | 2020-12-07T21:09:10 | 2016-12-13T00:50:09 | SQF | UTF-8 | C++ | false | false | 5,192 | hpp | class Loadouts {
baseDelay = 2;
perPlayerDelay = 1;
handleRadios = 1;
resetLoadout = 1;
customGear = 120;
customGearAllowedCategories[] = {
"uniform",
"headgear",
"goggles"
};
class AllUnits {
addItemsToUniform[] = {
"ACE_Flashlight_KSF1",
LIST_6("ACE_fieldDressing")
};
map = "ItemMap";
... | [
"noreply@github.com"
] | gruppe-adler.noreply@github.com |
a5d477c98eedf17726fa1989f2073a5d26fb6f80 | 7aa122a22d586744ab3177dfc94a3f5c2a33a260 | /dxLayer/include/PresentTarget.h | 104f26c7d6c8044540cbd456d3cf77874f1aa4e7 | [] | no_license | octopusprime314/manawar-engine | d608934d8f664ce96f434f0a631fa1d739dbaf3c | 9dcef0956e4ace8c38ca28535645574525b54496 | refs/heads/master | 2022-11-05T00:01:34.859160 | 2020-04-20T14:51:44 | 2020-04-20T14:51:44 | 106,635,965 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | h | #pragma once
#include <wrl.h>
#include <d3d12.h>
#include "d3dx12.h"
#include "DXGI.h"
#include "RenderTexture.h"
#define NUM_SWAP_CHAIN_BUFFERS 2
using namespace Microsoft::WRL;
class PresentTarget {
ComPtr<ID3D12DescriptorHeap> _rtvDescriptorHeap;
ComPtr<ID3D12DescriptorHeap> _dsvDescriptorHeap;
ComPt... | [
"peter_morley@my.uri.edu"
] | peter_morley@my.uri.edu |
337c2bc481c2fe97f55a0909493a11b1a6f0dac8 | bfd2dcdd880520fd7340cccaceefecc3ce7f7f99 | /controllers/mypuck/tools/log.cc | b0159cf5be17d46b442230a464480a8170db1e88 | [] | no_license | lemartinet/planif_pfc | 45aa7d0942ded465c0f99db9fab3b8279b334381 | dac46b88688e5d780e8f6dd088cfd75401218448 | refs/heads/master | 2020-03-30T14:33:09.543091 | 2018-11-27T22:45:36 | 2018-11-27T22:49:21 | 151,323,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,154 | cc | #include "log.hh"
#include "params.hh"
#include "computeunit.hh"
#include "neuron.hh"
#include "logger.hh"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
#include <algorithm>
using namespace boost::lambda;
Log::Log (const... | [
"louis.emmanuel.martinet@gmail.com"
] | louis.emmanuel.martinet@gmail.com |
a2606efbd39768b33931940d5cf2a68550f5efbd | dada0dd0f3004fe5178c752a633c8f027e92dec9 | /Codechef/June Long Challenge/LONG_JUNE_CHALLENGE_3.cpp | 2d5074a79ec0a43f33ac12e16d653f0a1ed8ea97 | [] | no_license | scortier/Snippets | 0a64d72a1ab1d3d2e15730b608f49c259b4dc6de | 51a3be8eb1cc3eb5688c431efe37bb6fd862b5e7 | refs/heads/master | 2023-06-29T00:38:59.232780 | 2021-08-04T13:26:25 | 2021-08-04T13:26:25 | 261,730,451 | 6 | 1 | null | 2020-09-30T19:15:57 | 2020-05-06T10:52:42 | C++ | UTF-8 | C++ | false | false | 2,335 | cpp | // QUARANTINE DAYS..;)
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define test long long int tt;cin>>tt;while(tt--)
#define rep(i,a,b) for(long long int i=a;i<b;i++)
#define rev(i,a,b) for(long long int i=b-1;i>=a;i--)
#define reep(i,a,b) for(long long int i=a;i<=b;i++)
#d... | [
"onlytoaditya@gmail.com"
] | onlytoaditya@gmail.com |
51569e7bee50f86b18b7eae4fd2533875fd325b4 | e018d8a71360d3a05cba3742b0f21ada405de898 | /VS_UI/src/header/VS_UI_ui_result_receiver.h | 43db8a1f791c4929a9b02d7cc4593d74dbe95284 | [] | no_license | opendarkeden/client | 33f2c7e74628a793087a08307e50161ade6f4a51 | 321b680fad81d52baf65ea7eb3beeb91176c15f4 | refs/heads/master | 2022-11-28T08:41:15.782324 | 2022-11-26T13:21:22 | 2022-11-26T13:21:22 | 42,562,963 | 24 | 18 | null | 2022-11-26T13:21:23 | 2015-09-16T03:43:01 | C++ | UHC | C++ | false | false | 1,648 | h | #ifndef __VS_UI_UI_RESULT_RECEIVER_H__
#define __VS_UI_UI_RESULT_RECEIVER_H__
#include "typedef.h"
#include "SimpleDataList.h"
#include "VS_UI_UIMessage.h"
struct MESSAGE
{
DWORD message;
int left;
int right;
void * void_ptr;
};
//----------------------------------------------------------------------... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
62944a423b582400f022e1ea20f7727fcba252ab | 4b6daa8409924188c39fdc4f07e213c92b4117d8 | /13/03stack容器.cpp | 4949b006215f24ee67257fd14f0ada68f25cb3d7 | [] | no_license | bugyun/cpp_exercise | 3880d802b4c60721bb14c00195ec3c70589d15b9 | 573dd33522af6151022136b1eed9dd2e60fea510 | refs/heads/master | 2020-03-25T23:24:43.023249 | 2018-09-12T09:25:43 | 2018-09-12T09:25:43 | 144,273,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | //
// Created by 若云 on 2018/9/10.
//
/**
*
* stack 容器 栈容器
*
* //构造方法
* stack<T> s;
* stack(const stack &s)
* stack& operator=(const stack &s);
*
* push(ele);向栈顶添加元素
* pop();从栈顶移除第一个元素
* top();返回栈顶元素
*/
| [
"zyhdvlp@gmail.com"
] | zyhdvlp@gmail.com |
237eb3ac4847789b4787053842a6d459f88dab8d | ad18e283a68012a4807f7fee60fdedd9b24c7e24 | /Code/99. apollo_backup/ros_pkgs/devel/include/my_msgs/PadMessage.h | 8f695541f5d552696d1fa04a95d9a38ba3da590c | [] | no_license | MinseokKim-KR/Crash_Accident | ce32f41e3cf226d35464eefa294a4c52c270fbfd | 7cffae0aee3f85c3580a47b922222b6b078d75eb | refs/heads/main | 2023-04-10T13:13:46.882188 | 2021-04-15T23:05:22 | 2021-04-15T23:05:22 | 357,598,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,516 | h | // Generated by gencpp from file my_msgs/PadMessage.msg
// DO NOT EDIT!
#ifndef MY_MSGS_MESSAGE_PADMESSAGE_H
#define MY_MSGS_MESSAGE_PADMESSAGE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_op... | [
"kimis55@naver.com"
] | kimis55@naver.com |
990e32b941cf25ea4d4092396f1c271c57564a3a | 2465d5aac8230436d3a08383a722d6437e97ac40 | /SDK/PUBG_P_VehicleDrive_Concrete_Front_BP_classes.hpp | 0517655cca79b6bb41b3bea64577959b1fbff18b | [] | no_license | xuhao1/PUBG-SDK | 9684baf0471678eaf366de3b3ca5f933ace357ab | 5f0041ef5ad7f16111361316fa8dff1ad4647993 | refs/heads/master | 2021-08-14T13:32:37.783490 | 2017-11-15T20:56:12 | 2017-11-15T20:56:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | hpp | #pragma once
// PlayerUnknown's Battlegrounds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass P_... | [
"pubgsdk@gmail.com"
] | pubgsdk@gmail.com |
eb370fda706ae3214ee151c20c33e41f8c09e585 | 73e79f827b1c74684d6cf7072ae5abd30921efc4 | /opt/up-code-motion/UpCodeMotion.h | fd970405be0453d616a7a637b59dbbc6a177af96 | [
"MIT"
] | permissive | MedRedha/redex | a202bb74fd3a7ac51cc0d6afedc4f58bca08c0ae | aba81f4b2425800c451c44cb52066d9e392e4926 | refs/heads/master | 2020-06-06T03:53:06.378094 | 2019-06-18T23:11:11 | 2019-06-18T23:16:46 | 192,630,837 | 1 | 0 | MIT | 2019-06-19T00:36:27 | 2019-06-19T00:36:27 | null | UTF-8 | C++ | false | false | 1,060 | h | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include "ControlFlow.h"
#include "Pass.h"
class UpCodeMotionPass : public Pass {
public:
struct Stats {
siz... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
2b4c2aa4032b8760373fb3dfac409a013271ee38 | 254af7be2e369fc9eabfeb8e301024703d7a1b7f | /libraries/chain/wallfacer_refund_balance_evaluator.cpp | 30fd831b6e98524a5b51a0c6b3c33b0724fe501c | [
"MIT"
] | permissive | wuhua103/Whitecoin-core | 867df729490ece89f497be6e464551ac1e3a1fda | 9225520dcdc8404022f29acdc3c17ebeb5e9cb67 | refs/heads/master | 2020-09-26T01:36:36.233295 | 2019-12-05T15:33:29 | 2019-12-05T15:33:29 | 226,133,298 | 1 | 0 | NOASSERTION | 2019-12-05T15:32:08 | 2019-12-05T15:32:08 | null | UTF-8 | C++ | false | false | 29,765 | cpp | #include <graphene/chain/wallfacer_refund_balance_evaluator.hpp>
#include <graphene/chain/database.hpp>
#include <graphene/chain/committee_member_object.hpp>
#include <graphene/chain/transaction_object.hpp>
#include <fc/smart_ref_impl.hpp>
namespace graphene {
namespace chain {
void_result wallfacer_refund_balance_e... | [
"WhitecoinFounder@gmail.com"
] | WhitecoinFounder@gmail.com |
b0cb507a69261991f5957b6e52ebd572f9bd011d | 2673a4d6b1b264e2b2beb63ba18f86dd5e40f588 | /src/codegen/compiler/ir.cpp | 671fd86df8899457ce46e4dc969d926c3dd0238e | [
"LicenseRef-scancode-mit-taylor-variant"
] | permissive | hydra1983/avian | 4bad40871a897684bb7b8b09dba3431bc3f2b62b | e07a1e2f572fc08e0b1b9eec65c9df46a9ed2850 | refs/heads/master | 2021-01-17T23:22:03.436180 | 2013-06-15T11:04:29 | 2013-06-15T11:04:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | /* Copyright (c) 2008-2012, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See l... | [
"joshuawarner32@gmail.com"
] | joshuawarner32@gmail.com |
ccb5bb29a3870d8802dea3467bee2f7e0341d850 | db58d927f8f7bfc0655ab51b24009564cb3a98ea | /CombinedNumber/tests/CombinedNumberTests.cpp | 7ae8d4a2d55a7a86e0be83703a35465458cf3106 | [] | no_license | mariocervera/Katas-in-cpp | 849526337383e017bf8f52f3be57dbdfb5e06c36 | 9336b4b34b7b60600ca00aea5cb2162196e32b77 | refs/heads/main | 2023-07-15T02:48:19.162383 | 2021-08-24T22:20:07 | 2021-08-24T22:20:07 | 340,773,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,370 | cpp | #include "CombinedNumberCalculator.hpp"
#include <gtest/gtest.h>
#include <memory>
using namespace std;
///
/// Fixture setup code: instantiation of the CombinedNumberCalculator.
///
class CombinedNumberCalculatorFixture : public ::testing::Test {
protected:
void SetUp() override {
calculator = std::make_unique... | [
"mariocervera@gmail.com"
] | mariocervera@gmail.com |
591e0c14c1e8b241857d97c0538161faf2a044dc | afa4c77041a470fae8f39fd8e5617ebcafd178fe | /SDL/Math.hpp | 5b017406dc499d3ced3c6e2ea8c431ae5e730a8d | [] | no_license | peteDotNet/SDL_SnakeGame | cff026c26af2fba37cb4fbc17c76fbb9fbb016af | 80176a76b57f22e9bf6b83ce63eac8d2438bc294 | refs/heads/master | 2022-12-25T08:42:17.021432 | 2020-10-09T15:30:15 | 2020-10-09T15:30:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | hpp | #pragma once
#include <iostream>
struct Vector2f
{
Vector2f()
:x(0.0f), y(0.0f)
{}
Vector2f(float p_x, float p_y)
:x(p_x), y(p_y)
{}
void print()
{
std::cout << x << ", " << y << std::endl;
}
float x, y;
}; | [
"petermorton@live.co.uk"
] | petermorton@live.co.uk |
69ced4eb0236a9030309d30f84622e356253eb8c | cac56500595ab49fad158bff284c72a6c4dcfa74 | /BackTester/TradingStrategy.cpp | 8e39bfb390b16efa8ae789017b0b4bcfcca207f2 | [] | no_license | Peimou/Cpp_BacktestTools | 15e5e1d5e6f5b66a7587e213ce1000039cbbcb3b | b33dff2b838b072b3a06967927d825af179d9c12 | refs/heads/master | 2021-03-27T06:23:37.135994 | 2020-03-16T19:14:26 | 2020-03-16T19:14:26 | 247,796,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,491 | cpp | #define mk std::make_pair
#include "TradingStrategy.h"
#include <fstream>
#include <iomanip>
void Signal::insert_book_update(BookUpdate bu) {
if(!bu.get_is_buy()){
meanprice.push_back(mk(mk(bu.get_epoch_time(),
bu.get_price()/2. + lastbook->get_price()/2.),lastbook->get_price()));
... | [
"speimoud@163.com"
] | speimoud@163.com |
9545558681752239f23819876e1896bdcb875929 | 756594a30f68e178f6b1b2572422097c4318834c | /gcl/gcl/Log.h | 5091b981e6f67989dc1a68620d146810aa514e29 | [] | no_license | fcoulombe/gcl | cc8a980b5d5f3635b3faa8e0abbfab0464230dc8 | 43070441f8d670afdb8a9255987e2851200e615b | refs/heads/master | 2021-01-01T19:47:09.825629 | 2015-03-13T21:44:45 | 2015-03-13T21:44:45 | 2,240,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | h | /*
* Copyright (C) 2014 by Francois Coulombe
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge... | [
"fcoulombe@silentfalls.org"
] | fcoulombe@silentfalls.org |
cf77d2e45b58da7659937396564184d8939be2ce | 661949d22526a5963a64a654badde761d660721d | /CF_BeautifulString.cpp | 31af2a56d26649555be25485363c7c509d4d9bc9 | [] | no_license | Sandeep1991/Coding | c6fae54c50438086cc8746a85d5288687680d151 | 6e66bf34173fe3be0d4e728eadf7927c184a9800 | refs/heads/master | 2021-01-19T02:40:18.638877 | 2019-07-17T05:13:33 | 2019-07-17T05:13:33 | 51,288,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | /* Codefights
We say that a string s is a Binary string, if it consists of only A and B characters, i.e. for each valid i s[i]='A' or s[i]='B'.
A Binary string is a Beautiful Binary string, if it is possible to connect pairs of equal letter with lines above the string so that no two lines intersect and each character... | [
"noreply@github.com"
] | Sandeep1991.noreply@github.com |
a78d4afc05e8c0a59a7eec332ef43355cdb90b2b | 75a3749bbcede8e9ba432ec4422e3e55ff01852d | /devel/include/kautham/GetLastPlanComputationTimeRequest.h | fd34992bc1fb8e9f13df0b244e8cdb3203db3f43 | [] | no_license | fersolerv/Ros_Regrasp | 749508dc992dda35b36b6f8952c7e40b2ae18bf0 | 8f6b3ac0ec16bff13890abc60a1c5acc6289c9ea | refs/heads/master | 2020-03-22T03:18:15.049574 | 2019-08-29T12:58:41 | 2019-08-29T12:58:41 | 139,424,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,151 | h | // Generated by gencpp from file kautham/GetLastPlanComputationTimeRequest.msg
// DO NOT EDIT!
#ifndef KAUTHAM_MESSAGE_GETLASTPLANCOMPUTATIONTIMEREQUEST_H
#define KAUTHAM_MESSAGE_GETLASTPLANCOMPUTATIONTIMEREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serializatio... | [
"fer.solerv@hotmail.com"
] | fer.solerv@hotmail.com |
bbc349dacd0369326b1cc09576308002396a9e7b | 9ebb7a3c417047f46e626ab293b24a55424bbb29 | /multiblend/blending.cpp | 353f127a28226ecaa0855bcef2ef7c79d8a0e89b | [] | no_license | xplodwild/android_external_Focal | 23c5dd3b261b94d7abd709726c0ab6a3c60afadd | 5554111d68b3a330093d667f17a32392f6f55aba | refs/heads/cm-10.2 | 2021-01-01T15:24:37.723582 | 2013-08-18T18:50:59 | 2013-08-22T16:23:53 | 11,120,259 | 18 | 14 | null | 2013-10-06T20:31:51 | 2013-07-02T08:25:25 | C++ | UTF-8 | C++ | false | false | 21,248 | cpp | #define PY(i,l) g_images[i].pyramid[l]
#define ACCURACY 5 // don't change this
void hshrink(struct_level* upper, struct_level* lower) {
int x,y;
int tmp1,tmp2;
size_t up=0;
int* tmp=(int*)g_temp;
int x_extra0=(upper->x0>>1)-lower->x0;
int xlim=(upper->x1>>1)-lower->x0; // xpos on lower when we need to wrap las... | [
"xplodgui@gmail.com"
] | xplodgui@gmail.com |
2e41861e5fb439bdea21bceacd66645577f216ff | 66330f7a1ff0b8447b4245474ab4de48727fd1c5 | /libs/multiprecision/performance/performance_test_files/test15.cpp | 3ff191ff027d8c7dc8578f6791fcb055da2dea1e | [
"MIT"
] | permissive | everscalecodes/knapsack-snark | fd3cc6155125ae6ff0fc56aa979f84ba6a8c49c7 | 633515a13906407338a81b9874d964869ddec624 | refs/heads/main | 2023-07-18T06:05:22.319230 | 2021-08-31T16:10:16 | 2021-08-31T16:10:16 | 447,180,824 | 0 | 1 | MIT | 2022-01-12T10:53:21 | 2022-01-12T10:53:20 | null | UTF-8 | C++ | false | false | 482 | cpp | ///////////////////////////////////////////////////////////////
// Copyright 2019 John Maddock. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
#include "../performance_test.hpp"
#if defined(TEST_CPP_INT)
#inclu... | [
"curryrasul@gmail.com"
] | curryrasul@gmail.com |
3c4f1ccad8bfff84315b40f59b83231e3b58337b | d099ef4dbaace1d7d89994f2133bf0aa12f1d0b3 | /_MODEL_FOLDERS_/rocks_o20/rocks_o20_INDICES.cpp | 6b8641c7b7a02d48ab1b97f282e7af2dd5c05966 | [] | no_license | marcclintdion/startHere_threadStable-4 | e7bd701b547c4768c0d60467d31435447c251e21 | d78b3a02c7b1b5007e8f54a58f96f64df1b088b6 | refs/heads/master | 2021-01-02T23:14:42.383781 | 2015-05-03T08:43:36 | 2015-05-03T08:43:36 | 39,881,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,117 | cpp | GLuint rocks_o20_INDICES[] =
{
//numberOfIndices = 4155
0, 1, 2,
3, 0, 2,
4, 1, 0,
1, 5, 2,
3, 2, 6,
3, 4, 0,
7, 8, 9,
5, 1, 10,
2, 5, 11,
3, 6, 12,
6, 2, 13,
4, 3, 14,
9, 15, 7,
8, 7, 16,
5, 10, 17,
2, 11, 13,
11, 5, 18,
19, 20, 21,
6, 13, 12,
22, 23, 24,
25, 20, 26,
15, 9, 27,
15, 28, 7,
... | [
"marcdion1974@gmail.com"
] | marcdion1974@gmail.com |
b116d5861d5143cc7033acf3810b5223d5d7576d | e588bfd2634d61ebde72ea6185fa4ff15d713078 | /practise_2/Volunteer_default.cpp | bbc7acd1ef65889ccb429a6f76ecb5f18e420af1 | [] | no_license | DrailDragon/Event_Management_System | 5942548b4ed73b6b8798c877c7803bef827645f2 | 6a4787b27fd550be731a0848b9e1815e1d4dc84d | refs/heads/master | 2016-09-05T22:37:48.796460 | 2014-11-10T20:30:51 | 2014-11-10T20:30:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52 | cpp | #include "StdAfx.h"
#include "Volunteer_default.h"
| [
"pintukumar0702@gmail.com"
] | pintukumar0702@gmail.com |
a8169de144b17bfd02146df8d9c65e54cc53ba85 | 8ddd2ca4b49c138980fc4220e0ca907bda5952ee | /library/memory/fixedSizeAllocator.cpp | 72c22b2b2a7c0793f65b225e86d2d9cf1f3a5ef4 | [
"Unlicense"
] | permissive | bluedawnstar/algorithm_study | b7b08e2fca31ecfc87bafa3a9734627245f16ad5 | d5aec7035e65d8f5386a0791c26d59340fd09ef5 | refs/heads/master | 2023-06-24T19:47:57.640559 | 2023-06-14T14:43:01 | 2023-06-14T14:43:01 | 76,085,991 | 45 | 8 | Unlicense | 2023-06-14T14:43:03 | 2016-12-10T02:41:35 | C++ | UTF-8 | C++ | false | false | 1,704 | cpp | #include <vector>
#include <set>
#include <algorithm>
using namespace std;
#include "fixedSizeAllocator.h"
/////////// For Testing ///////////////////////////////////////////////////////
#include <time.h>
#include <cassert>
#include <string>
#include <iostream>
#include "../common/iostreamhelper.h"
#include "../com... | [
"youngman.ro@gmail.com"
] | youngman.ro@gmail.com |
0dff3cdf66a8ab0eccb9d16da15682d54f2897d1 | d93159d0784fc489a5066d3ee592e6c9563b228b | /DQM/SiStripMonitorClient/src/SiStripConfigParser.cc | 749ab784010001d7dce5f62c563fc2bc2e2a5c1b | [] | permissive | simonecid/cmssw | 86396e31d41a003a179690f8c322e82e250e33b2 | 2559fdc9545b2c7e337f5113b231025106dd22ab | refs/heads/CAallInOne_81X | 2021-08-15T23:25:02.901905 | 2016-09-13T08:10:20 | 2016-09-13T08:53:42 | 176,462,898 | 0 | 1 | Apache-2.0 | 2019-03-19T08:30:28 | 2019-03-19T08:30:24 | null | UTF-8 | C++ | false | false | 2,865 | cc | #include "DQM/SiStripMonitorClient/interface/SiStripConfigParser.h"
#include "DQMServices/ClientConfig/interface/ParserFunctions.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
//
// -- Constructor
//
SiStripConfigParser::SiStripConfigParser() : DQMParserBase() {
edm::LogInfo("SiStr... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
242c64d9d846f3da7b4bf3f5b550a7f254f1ae42 | c8e6bcd156cd15cccece11ba9e412f52be11d1cd | /main.cxx | f9298e7edbcd58c4f4061df1cf7a65754780bbe5 | [] | no_license | Jkierem/T2LineItersect | adf81f59e8657dede72bf05ead49d478461d17bf | cc3eae870975b515b2948762c3dcf6c89668552a | refs/heads/master | 2020-03-25T22:15:39.239753 | 2018-08-10T02:10:09 | 2018-08-10T02:10:09 | 144,213,093 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,283 | cxx | #include <GL/freeglut.h>
#include <GL/gl.h>
#include <stdlib.h>
#include "./src/Juan/Juan.h"
#include "./src/GEngine/GEngine.h"
#include "./src/Core/Core.h"
Juan::Ellipse ellipse;
int numberOfPoints;
void getConfigFromArgs(int argc , char* argv[]){
numberOfPoints = atoi(argv[1]);
if( numberOfPoints <= 0 ){
n... | [
"juanmig8@hotmail.com"
] | juanmig8@hotmail.com |
bb11d55f471b30dfd470ef106d6e58d62c0b232d | 1fd6eaeea459947884dc20b42e2850e593e7102e | /aQtLow/Widgets/registerbutton.cpp | daa5a4a4080700f5cfcb20a2138420c23c7b1942 | [] | no_license | bilenadam/aqtlow | b55c34afb1ef666596e9f289db8430bfca023db5 | 6aa55cbf08a5db7c3579d217834dc56b8c4b0b2f | refs/heads/master | 2021-01-10T14:09:47.315895 | 2012-09-24T21:55:21 | 2012-09-24T21:55:21 | 51,671,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,812 | cpp | #include "registerbutton.h"
#include "ui_registerbutton.h"
RegisterButton::RegisterButton(QWidget *parent) :
QWidget(parent),
ui(new Ui::RegisterButton)
{
ui->setupUi(this);
}
RegisterButton::~RegisterButton()
{
delete ui;
}
void RegisterButton::on_pushButton_clicked()
{
switch(TOB)
{
cas... | [
"dee.wykoff@gmail.com"
] | dee.wykoff@gmail.com |
06523f1cf0df737fc5554676688bea0492904a91 | 91b5a0d2bdd677a6dedce4601f74a9e7935bbbe4 | /Telegram/SourceFiles/settings/settings_privacy_security.cpp | d2ed0260ad51c5fb4bbf1d137d1b80a018d973e5 | [] | no_license | zhang-ray/playground-tdesktop | bd3bdda2f662262755dc2384d43d33a974bb3411 | 5eaf98d5a9a62497f132496cb8d997444a2c95af | refs/heads/master | 2020-04-09T23:11:35.119565 | 2018-12-12T10:41:21 | 2018-12-12T10:41:21 | 160,649,616 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,751 | cpp | /*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "settings/settings_privacy_security.h"
#include "settings/settings_com... | [
"41682958+zhang-ray@users.noreply.github.com"
] | 41682958+zhang-ray@users.noreply.github.com |
28b9bb162d8707e3d6c030c9ebfa6bd53d7b7552 | 55b34b6f439740e6c1824efee4c13c56ca718742 | /src/include/flight/Cube.h | 1555f43535325f2a3491391c8ef061f4d2891476 | [] | no_license | Cthnn/Flight-Simulation | a6079abea0af01d8c36fdef78a64ec2c189bfcde | d0775d788c2a181087ad71e510c983aade728db6 | refs/heads/main | 2023-05-26T05:33:56.782568 | 2023-05-15T02:52:24 | 2023-05-15T02:52:24 | 361,524,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,141 | h | #ifndef FLIGHT_CUBE_H
#define FLIGHT_CUBE_H
#include "flight/Shape.h"
class Cube : public Shape
{
public:
Cube()
{
// TODO: set vertex and normal
// The normal is associated with vertices, but it is facet normal, NOT vertex normal.
// Please refer to shaders for details.
... | [
"noreply@github.com"
] | Cthnn.noreply@github.com |
43240eda82f065465e391b5a2fe81e05e62c7365 | b2e257a4e8e6f419ec8d42f11d7b49f36dfc134e | /src/rpcserver.cpp | 84a9107f9e1fb17fea1705a61606cd42b7a98e1c | [
"MIT"
] | permissive | xuxvin/Decima | 9b641feac1b5ecf80e7838bd2f750becc56020cf | 35e729fa5033b41ec9f8168d5952a3c5f0606bd2 | refs/heads/master | 2020-03-11T09:19:49.199600 | 2018-04-18T11:11:16 | 2018-04-18T11:11:16 | 129,865,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,088 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The Decima developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http:/... | [
"enoxmasternode@gmail.com"
] | enoxmasternode@gmail.com |
3dccdf81a28d2d95a985ffb40dee42f5ffbce8ed | fad392b7b1533103a0ddcc18e059fcd2e85c0fda | /build/px4_msgs/rosidl_typesupport_introspection_cpp/px4_msgs/msg/orb_test_medium_queue__type_support.cpp | ec677d2319fc2c89ba1fafc6c90ef595d9b6dfcc | [] | no_license | adamdai/px4_ros_com_ros2 | bee6ef27559a3a157d10c250a45818a5c75f2eff | bcd7a1bd13c318d69994a64215f256b9ec7ae2bb | refs/heads/master | 2023-07-24T18:09:24.817561 | 2021-08-23T21:47:18 | 2021-08-23T21:47:18 | 399,255,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,378 | cpp | // generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em
// with input from px4_msgs:msg/OrbTestMediumQueue.idl
// generated code does not contain a copyright notice
#include "array"
#include "cstddef"
#include "string"
#include "vector"
#include "rosidl_generator_c/message_type_support... | [
"adamdai97@gmail.com"
] | adamdai97@gmail.com |
799e7519843010c295b5d2fe2f88e3b20424ca30 | af5f918104fb4730605c743e0b2b59a9cccb4303 | /main.cpp | f0533f66fb1861cfdac0fac9b576d0bcd7dd7c0b | [] | no_license | lion2486/DI-assignment-OOP-2013-assgn-3 | e38c401680445fd6fef4694b3c15ae8a65cadf04 | 66930fef80233512db151e9dce1aa27b0dd13eb6 | refs/heads/master | 2021-05-08T13:35:18.495998 | 2018-02-02T19:20:20 | 2018-02-02T19:20:20 | 120,021,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | cpp | #include <iostream>
#include <cstdlib>
#include "ice_Arena.hpp"
//global variable arena
ice_Arena * arena;
using namespace std;
int main(int argc, char * argv[]){
int M, L, N, T;
//check if the input is valid and fair enough
if(argc != 5){
cerr << "Invalid arguments, use M L N T " << endl;
exi... | [
"noreply@github.com"
] | lion2486.noreply@github.com |
534ac294fea5a04f9f30c3575f05e9bac45627f9 | 356fb3a66c633c1d562a7bc3c7a25e621a529c7f | /display.cpp | 94b699fe55fb1a4e66d996175be9f7895085ce2a | [] | no_license | geoffreyswisher/opengl-game-engine | 1deef3e7841615709b1f52091f2b26ffa7965c4d | 64f0b4941bb0c44800550d95687dad1709bd38e2 | refs/heads/master | 2021-05-26T22:05:43.028752 | 2020-04-10T22:30:04 | 2020-04-10T22:30:04 | 254,172,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | cpp | #include "headers/display.h"
#include <GL/glew.h>
#include <iostream>
// Constructor
Display::Display(int width, int height) {
//initialize SDL
SDL_Init(SDL_INIT_EVERYTHING);
// Double window so the one being displayed is not currently being drawn on
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
... | [
"geoffreydswisher@gmail.com"
] | geoffreydswisher@gmail.com |
8009f5431d225fcad9d457c9410c46f51c7efeaf | f43711e16bf8e16fee28df8376814e14ec6ee10e | /Gagan Graph/Dijkshitra.cpp | 17ecd0da162a371484e413f8f64556a50a2b2751 | [] | no_license | kshav/My_codes | 5e3ed56b99ba2860462d485b2c2c6cdc485db14a | 4337b951454b62010bcc91b8f78db2eb04dcdc67 | refs/heads/master | 2016-09-06T00:24:47.843220 | 2014-02-19T12:49:31 | 2014-02-19T12:49:31 | 16,978,109 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int arr[5][2];
bool stat[5];
int i,j,k; //for loops
int dist[5][5];
for (i=0;i<5;i++)
for (j=0;j<5;j++)
if (i==j)
dist[i][j]=0;
else
dist[i][j]=0;
... | [
"kshav1908@gmail.com"
] | kshav1908@gmail.com |
eeac6fae4c13f5a7a3d63fd6434dabf0d382333f | 70f5694898994ed0f730d683bba55726f0015886 | /FinalNative/NativeDll_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Generics7.cpp | 9ca87b2f44cd68e5f05f7dbb352bd845a046a0f9 | [] | no_license | jjpardo2002/NativeUnity3D | 38b7c7cd316afe4d296993c3218855222b126d6c | 25cf05003025de843e958dd492ba7bbbca6418a3 | refs/heads/master | 2022-12-03T16:55:00.418053 | 2020-08-08T21:55:15 | 2020-08-08T21:55:15 | 286,124,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449,616 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj... | [
"jjpardo2002@gmail.com"
] | jjpardo2002@gmail.com |
6a667a120973f41a6f90213a63d817f9cb37de8e | e9854cb02e90dab7ec0a49c65f658babba819d56 | /Curve Editor Framework/QT/src/gui/kernel/qapplication_s60.cpp | 57dc2182053f7b526334fd8955bd1bde3c74e6e3 | [] | no_license | katzeforest/Computer-Animation | 2bbb1df374d65240ca2209b3a75a0b6a8b99ad58 | 01481111a622ae8812fb0b76550f5d66de206bab | refs/heads/master | 2021-01-23T19:46:13.455834 | 2015-06-08T21:29:02 | 2015-06-08T21:29:02 | 37,092,780 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 85,457 | cpp | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | [
"sonyang@seas.upenn.edu"
] | sonyang@seas.upenn.edu |
215ee6bccfe25228ac87a0c016ba309da32aa88d | d56fdd6d9d16bdba48d54c2c8df31e32be50c909 | /面试题/sizeof()运算符/sizeof()运算符/main.cpp | 3c91e4811269b161f8d8a18953393f89620aa2ca | [] | no_license | KoreHuang/CPPfolder | 1a2512e53c5d57a7b0049083d64ed872e735c692 | e5f06b5970d667a63545cd9d9fcf01c32af662f9 | refs/heads/master | 2020-04-05T10:39:24.651340 | 2017-07-17T02:02:01 | 2017-07-17T02:02:01 | 81,519,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | //
// main.cpp
// sizeof()运算符
//
// Created by mac on 16/3/29.
// Copyright © 2016年 mac. All rights reserved.
//
//在c++中sizeof()运算符字符常量的大小为1,在c中sizeof()字符常量的大小为4
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
//std::cout << "Hello, World!\n";
char c='0';
printf... | [
"huangke7296@foxmail.com"
] | huangke7296@foxmail.com |
c9fdaf86e3ec7c321de1d462761b7dfe556a3384 | 154639dbc7e768f79e35281a57b450c2fbbe6739 | /ImageConvolution.h | 70b297c693c2d756d66d4ecc23f5dac320f6efe8 | [] | no_license | adryel-h/ImagProcApp | 34ddfe4a3040f2ff79e5bc26e2c4551b7667c931 | 9a7e19bdcf346e0f5d8aec5a5eea70a7b638dcd7 | refs/heads/master | 2023-03-30T19:50:52.515269 | 2021-04-04T12:02:54 | 2021-04-04T12:02:54 | 354,530,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | h | #pragma once
#include "ImageProcessing.h"
#include "oke.h"
using namespace ady;
class ImageConvolution : public ImageProcessing
{
public:
ImageConvolution();
ImageConvolution(int k[3][3], short int (*po)(int));
void process(Image& src, Image& dst);
void transform();
int csp(Image& src, int x, int y);
static s... | [
"adryelhoszu@gmail.com"
] | adryelhoszu@gmail.com |
7aac87745f9f0705d49ede5005c78e3f69f044c3 | ea72bf3ba1b867a53174c98e98a38747a4729e8c | /Qt/TriangleCalculator/widget.cpp | 0f0e2d364ba24ccd79f43518f0a00fa85053294c | [] | no_license | PikDan/Learning | 3c039478efb25db533fc0db6d99769d298c6cbc3 | ab00904e1817c46849c3a17e7c269981fd552817 | refs/heads/master | 2023-08-22T07:56:13.231678 | 2021-10-28T09:43:18 | 2021-10-28T09:43:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,434 | cpp | #include "widget.h"
#include "ui_widget.h"
#define COLOR_SUCCESS "color:green;"
#define COLOR_ERROR "color:red;"
Widget::Widget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::Widget)
{
ui->setupUi(this);
ui->x1Edit->setFocus();
readPoints();
}
Widget::~Widget()
{
delete ui;
}
void Widget::c... | [
"krazy.vovan@mail.ru"
] | krazy.vovan@mail.ru |
1f26a79e6a95cb6c70b94d23a8013d9db27642e1 | 30e1dc84fe8c54d26ef4a1aff000a83af6f612be | /src/external/boost/boost_1_68_0/libs/multiprecision/test/bug12039.cpp | 15ba2f46068ec094eace3f79ba5cab1e48f7d82b | [
"BSL-1.0",
"BSD-3-Clause"
] | permissive | Sitispeaks/turicreate | 0bda7c21ee97f5ae7dc09502f6a72abcb729536d | d42280b16cb466a608e7e723d8edfbe5977253b6 | refs/heads/main | 2023-05-19T17:55:21.938724 | 2021-06-14T17:53:17 | 2021-06-14T17:53:17 | 385,034,849 | 1 | 0 | BSD-3-Clause | 2021-07-11T19:23:21 | 2021-07-11T19:23:20 | null | UTF-8 | C++ | false | false | 1,538 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Copyright 2016 John Maddock. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/multiprecision/cpp_bin_float.hpp>
... | [
"znation@apple.com"
] | znation@apple.com |
d551d0b8bf384afb704a9c2d1e9b1c0b9f1ba553 | 804e9ed15a937aeee748519eb5d132ec846ae188 | /varAndValueAsArrayContainer/JuceLibraryCode/modules/juce_core/text/juce_CharPointer_ASCII.h | 66630add04a98d50918749fa47d9134fbe54bc30 | [] | no_license | klangfreund/jucePlayground | 48b5553bc8232bc6e05757b322930e9da6db5ee5 | e25b8842d8f3211cc1daececbf2527d457f42dbc | refs/heads/master | 2021-01-17T16:09:10.841957 | 2015-02-25T10:01:02 | 2015-02-25T10:01:02 | 24,138,671 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,861 | h | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | [
"sg@klangfreund.com"
] | sg@klangfreund.com |
e33a8839fb81c0d0a88b902b753affd90f46f88e | 0ed1b441759ef92872821a07f6c6cff04094e390 | /llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp | 62f2026b8d9f9013c878265c1a4a2446a468b7ac | [
"NCSA"
] | permissive | sslab-gatech/caver | 651dd1e404c03a9568ef512164c98e918821c9e8 | 81363a7d0581d99fe216c4394294b0a2372f08eb | refs/heads/master | 2021-01-10T03:43:56.533854 | 2015-10-13T18:23:15 | 2015-10-13T18:23:15 | 44,137,365 | 30 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 34,304 | cpp | //===-- SeparateConstOffsetFromGEP.cpp - ------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"lifeasageek@gmail.com"
] | lifeasageek@gmail.com |
3066050e2a6d79ebac63f7812da5e26d2a60b481 | 1e006c14837be0e7b6ed9a0f5870907638dfd402 | /usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include/boost/heap/detail/ordered_adaptor_iterator.hpp | f71dba1b47ca2db9949663d24f219218c2eb8c46 | [] | no_license | slowfranklin/synology-ds | b9cd512d86ffc4d61949e6d72012b8cff8d58813 | 5a6dc5e1cfde5be3104f412e5a368bc8d615dfa6 | refs/heads/master | 2021-10-24T01:38:38.120574 | 2019-03-20T13:01:12 | 2019-03-20T13:01:12 | 176,933,470 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,147 | hpp | // boost heap: ordered iterator helper classes for container adaptors
//
// Copyright (C) 2011 Tim Blechmann
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_HEAP_DETAIL_ORDERED_ADAPTOR_ITERATOR_... | [
"slow@samba.org"
] | slow@samba.org |
4ea49d12e7aad57c352d491315966ed3e76779e4 | 800ccbdd721ebe4731e5fd4f1d4bc93f7cca214f | /reader/graph_utility_test.cc | d4fa70c95d328ca374f4fd5b8c220c76fc68094e | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | JarLob/binexport | afa9b73c08ea30e53a82887d90883c8f4c375008 | 17dc3ecb46f782428b5a23cc44bb852663f1c424 | refs/heads/master | 2021-04-21T20:51:10.918044 | 2020-03-13T13:56:56 | 2020-03-13T13:56:56 | 249,813,502 | 1 | 0 | Apache-2.0 | 2020-03-24T20:42:35 | 2020-03-24T20:42:35 | null | UTF-8 | C++ | false | false | 4,008 | cc | // Copyright 2011-2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | [
"cblichmann@google.com"
] | cblichmann@google.com |
0e723bef90889feb5656bfb26b42f52616fd9034 | ceb18dbff900d48d7df6b744d1cd167c7c9eb5c5 | /thirdparty/uilib/UiFeature源码/KernelAndIDE/Src/PlatformSrc/UiFeatureBuilder/ControlsWnd.cpp | f941e00f89c159b780971ed95298abf85f67723c | [] | no_license | 15831944/sourcecode | 6bb5f74aac5cf1f496eced1b31a0fd4cf3271740 | 412f0ba73dd7fb179a92d2d0635ddbf025bfe6d4 | refs/heads/master | 2021-12-27T20:07:32.598613 | 2018-01-15T14:38:35 | 2018-01-15T14:38:35 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,432 | cpp |
#include "stdafx.h"
#include "ControlsWnd.h"
#include "Resource.h"
#include "MainFrm.h"
#include "UiFeatureBuilder.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
/////////////////////////////////////////////////////////////////////////////
// CResou... | [
"mushilanxin@163.com"
] | mushilanxin@163.com |
29ff9967d55dd4328fc8acb82c1f9a173d064fda | e37d0e2adfceac661fbd844912d22c25d91f3cc0 | /CPP-Primer-Plus/chapter15-friends/nested.cpp | 991d544702fa1d86cb409be1ba1edde6eba6aec7 | [] | no_license | mikechen66/CPP-Programming | 7638927918f59302264f40bbca4ffbfe17398ec6 | c49d6d197cad3735d60351434192938c95f8abe7 | refs/heads/main | 2023-07-11T20:27:12.236223 | 2021-08-26T08:50:37 | 2021-08-26T08:50:37 | 384,588,683 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | cpp | // nested.cpp -- using a queue that has a nested class
#include <iostream>
#include <string>
#include "queuetp.h"
int main()
{
using std::string;
using std::cin;
using std::cout;
QueueTP<string> cs(5);
string temp;
while(!cs.isfull())
{
cout << "Please enter your... | [
"noreply@github.com"
] | mikechen66.noreply@github.com |
82bba7981844e5f402c6c8459d0e95e680463879 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.0095/TC4H8CHO | 2047f20e7895ec00757249556df4c6bfe58feb6e | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
50261e53ba795ab4c1b062b38407631101e5ee78 | 43147bfce5c4c0cbf669ba72596b7ecad6889c1c | /cmakels/src/listfile_parser/listfile_parser.hpp | 065704b5242b3b2b79199848f167ff3a5d6188e9 | [
"BSD-3-Clause"
] | permissive | havogt/cmakels | b42022298d82a082e619c30ba50706316b0be189 | b3d7a2c7628b404d6f3290c0a837336142964d83 | refs/heads/devel | 2023-03-09T11:56:53.237578 | 2023-02-20T12:55:49 | 2023-02-20T12:55:49 | 177,328,409 | 8 | 1 | null | 2023-02-20T12:55:50 | 2019-03-23T18:54:17 | C++ | UTF-8 | C++ | false | false | 1,548 | hpp | /*
* Copyright 2019-2020 Hannes Vogt
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <cmListFileCache.h>
#include <optional>
#include <string>
namespace cmakels::parser {
using listfile_t = cmListFile;
using listfile_function_t = cmListFileFunction;
using listfile_argument_t = cmListFileArgument;
using listf... | [
"noreply@github.com"
] | havogt.noreply@github.com |
0fe609b55801d58c42d12cf2430163d55be97b93 | a404f11d71bfffdbe4d0cb7c5c23a862944c62e3 | /orm_lib/src/TransactionImpl.h | dc26fc34534e06f06d055320b7c5c8092eefd7f0 | [
"MIT",
"BSD-3-Clause"
] | permissive | lalalili18999/drogon | 8308b5e789c453146b06aade548e5a0aa0e09baf | 38163a26a6c4789076248b575ed2c3774ad06500 | refs/heads/master | 2020-04-23T05:48:06.145533 | 2019-02-15T18:11:30 | 2019-02-15T18:11:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | h | /**
*
* TransactionImpl.h
* An Tao
*
* Copyright 2018, An Tao. All rights reserved.
* https://github.com/an-tao/drogon
* Use of this source code is governed by a MIT license
* that can be found in the License file.
*
* Drogon
*
*/
#pragma once
#include "DbConnection.h"
#include <drogon/orm/DbClien... | [
"antao2002@gmail.com"
] | antao2002@gmail.com |
bbc8011d3f6ac9be99aaee316aa09b1a01ace104 | 6a5f0a06cd667f27021bbb4f299204c20e9ab309 | /ModuleCamera3D.h | ed78fc6d30cd8f1090b8debaff597fddf1500df5 | [] | no_license | xDragan/Phyisics-game | 66b32c8a30d34ca7fbaddfc566f7fa0e8800dcb6 | bca10c0fac2753350b5e26295c2b6ac08a514bb2 | refs/heads/master | 2021-01-12T07:32:50.182590 | 2016-12-22T22:55:10 | 2016-12-22T22:55:10 | 76,975,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | h | #pragma once
#include "Module.h"
#include "Globals.h"
#include "glmath.h"
class ModuleCamera3D : public Module
{
public:
ModuleCamera3D(Application* app, bool start_enabled = true);
~ModuleCamera3D();
bool Start();
update_status Update(float dt);
bool CleanUp();
void Look(const vec3 &Position, const vec3 &Refe... | [
"marcfv97@gmail.com"
] | marcfv97@gmail.com |
c38784b4f7c2c8d3b6dd0097b70fb387b064d7ef | 839258a60b1a37c15f51b0a04c0362bc6f7da382 | /FairyLights.ino | b5bc6709d8cb230f2e08834695ca02e4730f8a45 | [] | no_license | ClueControl/FairyLights | bc4d12e44c5c20a1f9830965b7c16cf1b1c79ece | e175c5b72f734711a0c846f576c081f03654fd9d | refs/heads/master | 2021-01-21T09:55:54.046221 | 2017-04-26T21:22:07 | 2017-04-26T21:22:07 | 83,354,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,774 | ino | /*
Fairy Lights - cycle lights one at a time to create a chase effect
users can choose the number of lights and the timings by configuring this file
Lights chase when an input is pulled to ground and don't when its not
2017 Shawn Yates
Want to automate this puzzle? Visit our website to learn ho... | [
"noreply@github.com"
] | ClueControl.noreply@github.com |
7038edf66b7489f6d86660ca1e0692be9ea4f4dc | 08dfdcc0562bb9784538252564dffb24c51c6d4f | /training/orig/demo_manipulation/pick_and_place_exercise/src/tasks/set_gripper.cpp | 24956d696d52d23c44e3b5fc5eea6fbd4944aa24 | [] | no_license | gavanderhoorn/ros_industrial_training | b7e45fc70a214e925814ed6fb6c16a308385ebdb | e8733d99eb4f59bcf17a516291b61e191e938e6c | refs/heads/master | 2021-01-20T04:35:57.754167 | 2013-11-22T19:59:44 | 2013-11-22T19:59:44 | 14,801,989 | 0 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 1,376 | cpp | /*
* open_gripper.cpp
*
* Created on: Jun 3, 2013
* Author: ros-industrial
*/
#include <pick_and_place_exercise/pick_and_place.h>
/* SET GRIPPER
Goal:
- Use the grasp action client to open or close the gripper.
- Confirm that the gripper was successfully opened or closed. Exit program on fail... | [
"jzoss@DYN.DATASYS.SWRI.EDU"
] | jzoss@DYN.DATASYS.SWRI.EDU |
8deb54962517d81b3281150c4a4d3c1e381338b0 | a4b9a6cf0ebb71612a09779851073a445dd63feb | /src/zmq/zmqconfig.h | 16b5ad8bc968371d14a155188a04bfc3fa881d84 | [
"MIT"
] | permissive | extensivecoin/ExtensiveCoinMN | fa237d21d745a72a7169d7134fa156ee035cadd5 | 592b1149233bb4387e64b53c6242924d91eff1d3 | refs/heads/master | 2020-03-09T14:59:02.747778 | 2018-04-24T22:03:34 | 2018-04-24T22:03:34 | 128,848,677 | 0 | 6 | MIT | 2018-04-24T21:52:53 | 2018-04-10T00:14:07 | C++ | UTF-8 | C++ | false | false | 535 | h | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_ZMQ_ZMQCONFIG_H
#define BITCOIN_ZMQ_ZMQCONFIG_H
#if defined(HAVE_CONFIG_H)
#include "config/extn-config.h"
#endif... | [
"shagolo@gmail.com"
] | shagolo@gmail.com |
8598783aea161a49f53adac2fbd646a73503d23b | aaa1038bcb6132371731e5560122a2f1de3346aa | /vexcl/backend/cuda/svm_vector.hpp | 95d2ee4a45fbfa956a8f3787fecb196e0dd15747 | [
"MIT"
] | permissive | hughperkins/vexcl | fdfc1fd25991befab3582d20ad9a62f22ca27933 | 05dfcb232fcf935292d7dd4c132b26510ebb8160 | refs/heads/master | 2021-01-21T03:21:05.695196 | 2016-04-12T14:03:35 | 2016-04-12T14:03:35 | 56,847,876 | 1 | 0 | null | 2016-04-22T10:34:11 | 2016-04-22T10:34:11 | null | UTF-8 | C++ | false | false | 2,856 | hpp | #ifndef VEXCL_BACKEND_CUDA_SVM_VECTOR_HPP
#define VEXCL_BACKEND_CUDA_SVM_VECTOR_HPP
/*
The MIT License
Copyright (c) 2012-2016 Denis Demidov <dennis.demidov@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to... | [
"dennis.demidov@gmail.com"
] | dennis.demidov@gmail.com |
f4c4f9a9087c289fce2d5f599d1644be19fc3a02 | f0b7bcc41298354b471a72a7eeafe349aa8655bf | /codebase/apps/ingest/src/Wrf2Mdv/OutputFile.cc | e88a6655a3ed19d5643c6e4728a4883d73023808 | [
"BSD-3-Clause"
] | permissive | NCAR/lrose-core | 23abeb4e4f1b287725dc659fb566a293aba70069 | be0d059240ca442883ae2993b6aa112011755688 | refs/heads/master | 2023-09-01T04:01:36.030960 | 2023-08-25T00:41:16 | 2023-08-25T00:41:16 | 51,408,988 | 90 | 53 | NOASSERTION | 2023-08-18T21:59:40 | 2016-02-09T23:36:25 | C++ | UTF-8 | C++ | false | false | 49,032 | cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
2192e3d9158a1bc7ab94e0006b929d420f95b626 | 947005a63f3a80cc9adf10d6ff3fb1845255656f | /trunk/src/utest/srs_utest_app.cpp | 98c34a29a1459ee1a7abd616ce772bc517f3e51b | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"MIT"
] | permissive | xiaozhihong/srs | 995b9620f44896d7fa21e7e691cb8a000d980c4f | 21c2cb6512fb93fd3f2ccb57ffe9ec6fd8081998 | refs/heads/3.0release | 2023-08-14T08:45:11.570231 | 2020-02-14T03:17:19 | 2020-02-14T03:17:19 | 240,457,450 | 8 | 2 | MIT | 2021-05-15T09:51:41 | 2020-02-14T08:04:18 | null | UTF-8 | C++ | false | false | 17,742 | cpp | /*
The MIT License (MIT)
Copyright (c) 2013-2020 Winlin
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, p... | [
"winlin@vip.126.com"
] | winlin@vip.126.com |
645009e3f4a7f91b769ea55abb43ccdd3c8a5893 | bbf3072f88fc83d7ae7c36c7acb53c0a92b4b38a | /CWinNetManager/CUserInfo1.h | 8fd324f47ac9f54706af8c9c6bf0837d36a31d97 | [] | no_license | ossewawiel/CWinNetManager | 7c4a7b1f41ea7ab1a56ebac216fa9e70556c1fbc | 6adfa43a89d94e6340929818aca822b418813303 | refs/heads/master | 2021-01-22T01:12:04.977423 | 2017-10-29T14:09:22 | 2017-10-29T14:09:22 | 102,211,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,686 | h | // CUserInfo1.h : Declaration of the CCUserInfo1
#pragma once
#include "resource.h" // main symbols
#include "CWinNetManager.h"
#if defined(_WIN32_WCE) && !defined(_CE_DCOM) && !defined(_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA)
#error "Single-threaded COM objects are not properly supported on Windows CE pla... | [
"marsel.pretorius@gmail.com"
] | marsel.pretorius@gmail.com |
4237822bea69190bc9a3c4a2b2499a8f5f4963e5 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_4113.cpp | 45207b5e82f0acdb485a269d86300ef70ecc39cb | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,966 | cpp | setbuf(stdout, NULL);
while (argc > 1 && argv[1][0] == '-') {
const char *value = "";
char option = argv[1][1];
switch (option) {
case 'P':
case 'R':
case 'z':
case 'Z':
case 'g':
case 'e':
case 'S':
break;
default:
if (strlen(argv[1]) > 2) {
value = argv[1] + 2;
} else if (argc > 2... | [
"993273596@qq.com"
] | 993273596@qq.com |
6e44577921a60d58d997d8667f6374ed83a05ff6 | 0847e0ecec20b8d9c498f7cd093a5c17516f33a7 | /tensorflow_lite_support/examples/task/vision/desktop/object_detector_demo.cc | f95f7359ef6b4417f683a03295b524e3b5ff7d61 | [
"Apache-2.0"
] | permissive | sakibguy/tflite-support | 0810753c173a8bffab8b3862d43dc4af598a52db | 2447b8bda966f55614d6b9b7fa7fca9f7a627285 | refs/heads/master | 2023-08-26T08:32:42.064212 | 2021-10-22T18:49:22 | 2021-10-22T18:49:22 | 305,582,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,489 | cc | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"tflite-support-github-robot@google.com"
] | tflite-support-github-robot@google.com |
da997deaa2b6c1f1e87bc80b011ceb64eb6cb457 | 141afafcbdd8eed80094dd7a827a75990f14e47d | /segmentTree.cpp | e607df4b9031c67a5ccd2eeedf864d4c39c721cd | [] | no_license | iAbhyuday/playground | fb327843263e301e0053a45c63c68e60604a6539 | 1a8ee080fe60dac1e0449574a0a101e9cf456044 | refs/heads/master | 2022-03-28T08:52:00.428575 | 2020-01-12T15:17:34 | 2020-01-12T15:17:34 | 142,501,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,566 | cpp | #include<iostream>
#include<string.h>
#include<vector>
using namespace std;
//#define vector<int> vector<int>
class segTree{
private :
vector<int> st,arr; // st will store indexes and arr is actual array
int s; // size variable
// left index
int left(int p){
return p<<1;
}
//right index
int right(int p){... | [
"noreply@github.com"
] | iAbhyuday.noreply@github.com |
45b9b8f38fd68a8c043e79f1cc6f11e9908d062f | 4c1662d5f8203309f19fbc0c67e585ee054f26fe | /skngame/td/GSpherical3D.cpp | b6bab1d06cdf9f440b4d854a53b38ee7aac51731 | [] | no_license | sunkening/skngame | d39378d21a4f12e2f83129dbcac36d2820f37d3d | 2d567d83d31e795103d55f0519e97930f3fa638e | refs/heads/master | 2021-01-24T09:39:17.817650 | 2017-01-07T08:58:00 | 2017-01-07T08:58:00 | 69,523,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | // GSpherical3D.cpp: implementation of the GSpherical3D class.
//
//////////////////////////////////////////////////////////////////////
#include "GSpherical3D.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
////////////////////////////////////////////////////////... | [
"swxjskn@163.com"
] | swxjskn@163.com |
1302c9dcc7452561c09e4fe9f5b95d5bbc65d575 | 46f53e9a564192eed2f40dc927af6448f8608d13 | /gpu/command_buffer/service/program_manager.cc | 9187c882ac07d1afffbb4cf5196485dd6b42610a | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 56,816 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/command_buffer/service/program_manager.h"
#include <algorithm>
#include <set>
#include <utility>
#include <vector>
#include "base/basi... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
1fb37d6121450c5bde82f158e9cd665356a65a90 | e945d91bd5fefa971562422d2e71da98f1601e0f | /Task4/LargeInteger.cpp | 18589f400aeb897303367a8877e14e649194457a | [] | no_license | Aitoly/FA-3sem-Lab5 | e9155c8e677a0f024de448412f99bd9dd8a39137 | 7b92a03a770d4f44b925b9ee6b9c048d12035955 | refs/heads/master | 2022-12-07T02:27:33.802710 | 2020-09-01T17:45:07 | 2020-09-01T17:45:07 | 292,066,524 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 23,222 | cpp | #pragma warning(disable:4996)
#include<iostream>
#include<cstring>
#include<algorithm>
#include "LargeInteger.h"
#define DEBUG_MULTc
////////////////////////////////////////////////////////
// ╚˝ŕŰ■¸ňÝŔ
////////////////////////////////////////////////////////
LargeIntegerEx˝eption::LargeIntegerEx˝eption()
:error... | [
"uskenbayevva@gmail.com"
] | uskenbayevva@gmail.com |
5d0d52a53757e5904b71ec41a8164c3277906b34 | 60ae75e854b70952981cddcc4cbae7678252df4e | /rgb_controller/rgb_controller.ino | b6fc0e090acb06820cdd30df1f5f757d686c921b | [] | no_license | jhevans/furry-arduino-dangerzone | 6ec47657a654701ea8fb3ac46fe6c5582f66cc87 | ce975ac97400fb29e8f5902cae45db897c1187c5 | refs/heads/master | 2021-01-13T02:18:40.363003 | 2015-11-26T21:59:56 | 2015-11-26T21:59:56 | 30,091,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | ino | int R = 10;
int G = 11;
int B = 12;
int DELAY_LENGTH = 750;
void setup() {
pinMode(R, OUTPUT);
pinMode(G, OUTPUT);
pinMode(B, OUTPUT);
}
void loop() {
red(HIGH);
green(LOW);
blue(LOW);
delay(DELAY_LENGTH);
red(LOW);
green(HIGH);
blue(LOW);
delay(DELAY_LENGTH);
// red(HIGH);
// green(HIGH);... | [
"jhevans28@gmail.com"
] | jhevans28@gmail.com |
2b6117112a529e3ba4be515bfc12a3f4b117f75e | 73ac765d4f54b9184c4775d40bb054c58d55d1f4 | /code/lua.hpp | c6000c85096d8ae60c617999a3d9025a16f90a70 | [] | no_license | yixu34/RestlessMoon2 | b495accf9f7b73775387ddc5e22b82139bdb1394 | 7eeb9381dbbd1cf4a74530e19b0689d840b79ca1 | refs/heads/master | 2020-05-27T11:19:48.460066 | 2012-08-02T23:36:16 | 2012-08-02T23:36:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | hpp | #ifndef LUA_HPP
#define LUA_HPP
// C++ master include file for Lua headers.
extern "C"
{
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
}
#endif | [
"yi@tinyfunstudios.com"
] | yi@tinyfunstudios.com |
dfe537d9faa84b0a83cfad8601d80282b9c2fd98 | e8bffb62efb1cc291144c643ae9df608011e4290 | /fstreamImp.cpp | c36e051704ef1cf5a3d358f63032171d07bd1d13 | [] | no_license | ddphit/STL | 04b388c59d9e025781a44bf0ee59d5edfcf1064d | 2fe6c45fea217054266c65800755365baae365d1 | refs/heads/master | 2020-12-24T15:31:32.551697 | 2015-07-28T15:04:16 | 2015-07-28T15:04:16 | 39,840,703 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | /*从文件导入数据,进行处理过后,将数据输出到另一个文件。
*/
#include<iostream>
#include<fstream>
#include<vector>
using namespace std;
int main(){
vector<int> data;
ifstream in("data.txt");
if(!in){
cout<<"in file error!"<<endl;
return 1;
}
int temp;
while(!in.eof()){
in>>temp;
data.push_back(temp);
}
in.close();
ofstream out(... | [
"dongp@dongp-virtual-machine.(none)"
] | dongp@dongp-virtual-machine.(none) |
f61285b70214c9e3bbb62d71b3b398fa1ba295de | c4d660d103c2719df5d818df74a855525f162024 | /test/device/lepton/MockLepton.h | c5c14cf0d3a4c16d7083a377ee61fb9e90f66bb6 | [] | no_license | Yvaine/obstacle-avoidance | 2e3a1aea14686205dd365769e76979da41cd4ad7 | a258641402b4a77aa1758662fd1c1810e3d9a560 | refs/heads/dev | 2020-04-15T10:29:52.946151 | 2016-02-11T04:28:06 | 2016-02-11T04:28:06 | 51,936,984 | 0 | 2 | null | 2016-02-17T16:27:18 | 2016-02-17T16:27:18 | null | UTF-8 | C++ | false | false | 187 | h | //
// Created by paul on 28/07/15.
//
#ifndef OBSTACLE_AVOIDANCE_MOCKLEPTON_H
#define OBSTACLE_AVOIDANCE_MOCKLEPTON_H
class MockLepton {
};
#endif //OBSTACLE_AVOIDANCE_MOCKLEPTON_H
| [
"ptcernek@gmail.com"
] | ptcernek@gmail.com |
bb61d80fd6ce4676b2a06c6570a88db2f03b6387 | 8fb9ae63c6a64d9f0789643405be4282c33c3a1b | /UVA/11709.cpp | 635cc9bd0e6a6b173fb0e1df01b8e1518d6972a9 | [] | no_license | RafikFarhad/Code_is_fun | 7c67b4d9c97d7e58ccf822214d1ba4fe51b88ba6 | 08fd1c53125deaaeb0d6aac8f9c2fd7c76a05e4d | refs/heads/master | 2021-07-25T13:32:48.839014 | 2021-01-10T00:23:34 | 2021-01-10T00:23:34 | 46,503,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,616 | cpp | #include <cstdio>
#include <iostream>
#include <string>
#include <cstring>
#include <math.h>
#include <ctime>
#include <cstdlib>
#include <algorithm>
#include <new>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <set>
/******************************************/
/** Author : Rafik Farha... | [
"rafikfarhad@gmail.com"
] | rafikfarhad@gmail.com |
9f2050a6e4a9f00362f068282ec2aef291acad6f | de17634e6b149d5828c1c78f7f5f5e1f6c17c4d0 | /mshadow/mshadow/tensor.h | 19dc4660a7bf9001c59f7246bf4b4b2cc706a037 | [
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | starimpact/mxnet_v1.0.0 | e135cc9e4c2711314d03cf1281a72b755f53144e | fcd6f7398ef811c3f8b01e7c9c16fb25c8d202bd | refs/heads/bv1.0.0 | 2022-11-10T09:09:11.966942 | 2018-07-13T04:59:30 | 2018-07-13T04:59:30 | 120,399,107 | 8 | 4 | Apache-2.0 | 2022-11-02T20:24:32 | 2018-02-06T03:54:35 | C++ | UTF-8 | C++ | false | false | 38,450 | h | /*!
* Copyright (c) 2014 by Contributors
* \file tensor.h
* \brief header file of tensor data structure and functions
* This lib requires explicit memory allocation and de-allocation
* all the data structure Tensor<cpu,1>, Tensor<gpu,1> are like handles(pointers),
* no memory allocation is happening during ca... | [
"mingzhang@deepglint.com"
] | mingzhang@deepglint.com |
e00be8c7406e45627685e709a816b52b90fb242e | a433e4f651f924542924be2aac2aba49e83be4e3 | /ch7-using-associative-containers/ch7.2-counting-words.cpp | 275a965e297948e40d5244dc293647cb3fde88b0 | [] | no_license | samueltang-x/accelerated-cpp | 409b384c23297c475bdac9204d6e7f1cd7c868d2 | 0d1c46b1a7eafdb8d00d98dae128f48b1b96537c | refs/heads/master | 2020-04-23T10:39:58.229437 | 2019-04-07T14:47:02 | 2019-04-07T14:47:02 | 171,111,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | #include <iostream>
#include <map>
#include <string>
using std::cin;
using std::cout;
using std::endl;;
using std::map;
using std::string;
int main() {
map<string, int> counters;
string s;
while (cin >> s)
++counters[s];
for (map<string, int>::iterator it = counters.begin();
it != counters.end();
... | [
"xiangyuan.tang@ericsson.com"
] | xiangyuan.tang@ericsson.com |
987d80ec06c16af700308042877c8cd4305dd623 | 118aef490b85fedd0e85fbcd63b1ed1590b4e932 | /src/vkkp2p/vkkp2p/src/tracker/Initializers.cpp | 60d4e2e49f018f6f5068e9649065c62020fc1fdf | [] | no_license | wsljmlin/p2p | 12ce3cb77ef9c1453d81d0c964c1ea94b69dbd23 | bb526637865a727d8ea400162c6ff4431736cd04 | refs/heads/master | 2020-05-25T15:36:21.604600 | 2017-03-14T12:22:58 | 2017-03-14T12:22:58 | 84,943,893 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | cpp | #include "Initializers.h"
#include "Scheduler.h"
#include "MemBlockManager.h"
#include "StatManager.h"
#include "Setting.h"
#include "UserManager.h"
#include "PeerManager.h"
#include "AutoFileManager.h"
typedef Singleton<Scheduler> SchedulerSngl;
int socket_init()
{
#ifdef _WIN32
WSADATA wsaData;
if(... | [
"wangshuanglongwsl@126.com"
] | wangshuanglongwsl@126.com |
058340e67af04847879022de214449f56d8a3d74 | 6958622f605425334e702bd4531cf0e67cd25cc4 | /Project 3.2.cpp | 7d889e2dae867e1069fbe90cbe1c4965feebf7a7 | [] | no_license | Chuiboi/CSPC-121-Projects | fd536b7f54e3ccbe4e28e99119886001ced7a861 | 8cfaa8b35d068e385cc366e73718ebe302f1eeb1 | refs/heads/master | 2021-01-10T20:55:34.551808 | 2014-11-30T23:12:29 | 2014-11-30T23:12:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,419 | cpp | //================================================================================
// File: Project 3.2.cpp
//================================================================================
// Programmer: Alexander Chiu
// Date: Sept. 18, 2014
// Co... | [
"chuiboi890@gmail.com"
] | chuiboi890@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.