blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
⌀
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
⌀
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
9470ca53b21ba66ea8678ddc25f69b6c15b7d0bd
96031bd697c84035543fb54802702a3b487200df
/kernelExpression.h
ed44d374333862b9e5c6b49a1afdc15604d54e90
[]
no_license
KalahariKanga/ooImages
91b411a01a816fb178aeea165445ffdbe2583b1d
9e768180100c777113ffad3c3c68a3a7a2d99046
refs/heads/master
2021-01-21T04:27:28.752327
2016-05-01T22:19:11
2016-05-01T22:19:11
27,922,946
1
1
null
2016-03-26T11:11:06
2014-12-12T14:10:13
C++
UTF-8
C++
false
false
168
h
kernelExpression.h
#pragma once #include "Expression.h" class kernelExpression : public Expression { public: kernelExpression(); ~kernelExpression(); virtual Variable evaluate(); };
7a7a1c9f2d8726eb9005d55cc9ca4a1caeddffe0
e191a721bfef6021ed5d94cef79a07bc0f51f8b5
/dsets.cpp
bf3e024e06e2d20c5a8857234f7a1e4bb35da1c4
[]
no_license
NathanFranczyk/mazesolver
3c98399153c5afec293dfc84ca58d482b0c4aa66
d8a88fba413a0f4603195d00182c481e497d084e
refs/heads/master
2021-01-23T17:43:06.440917
2017-09-07T19:20:54
2017-09-07T19:20:54
102,776,657
0
0
null
null
null
null
UTF-8
C++
false
false
605
cpp
dsets.cpp
/* Your code here! */ #include "dsets.h" void DisjointSets:: addelements(int num){ int size = elems.size(); elems.resize(size + num); for(int i = size; i < (int) elems.size(); i ++){ elems[i]=-1; } } int DisjointSets:: find(int elem){ if(elems[elem] < 0){ return elem; } else{ elems[elem]...
08ce02a59954f061d229af41c3a91bf189ab456f
3778519d536db519c651d53d94d5c86b959ac405
/src/Il/VmDefs.cpp
8749a6203797e14df13f142862428aba37389370
[]
no_license
eval1749/evm
e882e98a8b7c451e62909a29c32380ee6b91ccac
0ed7aba1fd10614af6235e0f21b878d95273a7f4
refs/heads/master
2020-09-21T14:02:06.226527
2012-12-28T10:19:44
2012-12-28T10:19:44
23,464,986
1
0
null
null
null
null
UTF-8
C++
false
false
289
cpp
VmDefs.cpp
#include "precomp.h" // @(#)$Id$ // // Evita Il - IR - IL // // Copyright (C) 2010 by Project Vogue. // Written by Yoshifumi "VOGUE" INOUE. (yosi@msn.com) #include "./VmDefs.h" namespace Il { namespace Ir { void Init(); } // Ir void Init() { Il::Ir::Init(); } // Init } // Il
ac6f44884612aa1e9fc69f826f0c5092c5000144
836f0ada35da19c5c8d6d151b3aa7c9e284bdf1e
/tracer.h
e671fadf685f979a09426e9d41a55c1b5cddb36f
[]
no_license
nima-siboni/MagLorGasCpp
16039db46150ca6e1e75013a1ac8418732f96625
5689a81878a35d85de5f2aeeb0cbdc70294098cb
refs/heads/master
2021-04-10T21:31:32.007803
2020-03-21T12:04:30
2020-03-21T12:04:30
248,968,282
0
0
null
null
null
null
UTF-8
C++
false
false
1,689
h
tracer.h
#ifndef TRACER_H #define TRACER_H #include "coordinate.h" #include "segment.h" #include "simbox.h" #include "event.h" class tracer { private: coordinate ro; //origin of the gyration circle double R; // radius of the gyration circle double theta; //the angle of the particle position int nx; int ny; public: ...
4bbdd095759a07e2712a107357212e8aa3201e68
bb3cf6bac33a8206841b6ce3520963397c358d2a
/time dependent random generator.cpp
1430cb439d9abe907f9eb49fa95ea7f429d0d676
[]
no_license
hanificakmak/c-programming-exercises
7f297b65ff1bef31995773253dc3205b8d9919b2
be6bceaae8413e451cf916c321b9ca67a73a9d20
refs/heads/master
2022-03-11T10:04:39.754494
2022-02-22T19:51:45
2022-02-22T19:51:45
178,963,229
1
0
null
null
null
null
UTF-8
C++
false
false
386
cpp
time dependent random generator.cpp
//This program generates number between 1 and 6 depending on time. #include<stdio.h> #include<stdlib.h> #include<time.h> int main(){ int i; int seed; srand(time(NULL)); do { printf("enter your seed:"); scanf("%d",&seed); for(i=1;i<=10;i++) { printf("%6d",1+(rand()%6)); if(i%5==0) { ...
07b907d1b28906ff8d57dca4f03f1a13e826a9bf
d9d4acddce7d9c96fdfe1e064cf30a4db10d14f1
/include/XMeans.h
ebb4725b91348bd99e468542e35522e615aba5ed
[]
no_license
georges-chahine/crawler-mapper
c49d144bf8e7e442806699d94b1efca36629e6b5
11e84d49881f210753616401b3e7cad70cc23b79
refs/heads/master
2023-05-08T05:56:44.302712
2021-05-25T14:06:47
2021-05-25T14:06:47
368,467,842
0
0
null
null
null
null
UTF-8
C++
false
false
4,426
h
XMeans.h
/************************************************************************************************************** Cluster analysis algorithm: X-Means Based on article description: - D.Pelleg, A.Moore. X-means: Extending K-means with Efficient Estimation of the Number of Clusters. 2000. Copyright (C) 2015 Andrei No...
f8a795c358fa32774a1dae32ccb0cb17a4e9d0e1
2e783e9d662037176fa316831be79e8b1434ce1a
/TcpServer/Server.h
7b15e812dbe1a4cf242cc6e4fc7a4d72a5747a53
[]
no_license
amejiarosario/TcpServer
a06c4c1b3677e2500471edd708d7bf8176246787
ab6e4f282839b3c8a535eacb1ab334e877ea8bbb
refs/heads/master
2021-01-13T02:08:41.751447
2011-08-03T14:43:24
2011-08-03T14:43:24
2,084,542
1
0
null
null
null
null
UTF-8
C++
false
false
250
h
Server.h
#ifndef SERVER_H #define SERVER_H #include<QtNetwork/QTcpServer> class Server : public QObject { Q_OBJECT public: Server(int port = 27015); private slots: void sendReply(); private: QTcpServer *tcpServer; }; #endif // SERVER_H
33437b0ee77ab0308b85e2d11aa31bb956b1ca4d
aca2da8c37efcd57b3c558a66e409096faa3c2b1
/Solved/195.cpp
6a58c984f5a7735ff150da7818649b3c7afa1d9a
[]
no_license
ahsanromeo/Works-with-UVA-Online-Judge
47237886ad9629c5ac69ffe9995e2b1acc8c5b2d
af709ad54345d92b00d89fc0fb9e3acdc1d41eaf
refs/heads/master
2022-08-20T11:34:38.250838
2022-08-09T13:26:01
2022-08-09T13:26:01
56,827,167
0
0
null
null
null
null
UTF-8
C++
false
false
513
cpp
195.cpp
#include <iostream> #include <cctype> #include <stdio.h> #include <algorithm> using namespace std; bool cmp(char c1, char c2); int main() { int t; scanf("%d",&t); getchar(); while(t--) { string w; cin>>w; sort(w.begin(),w.end(),cmp); do { cout<<w<<...
2cfbd0d610470bde5641e4fe546126339b4500ac
aca3d4c7f5b2d0e70e4dce8346ba8d32473711f5
/Colisions/main.cpp
b840706f08050aa38d307ef9ad65de268d677dc5
[]
no_license
hedaro/PhysicsEngine
3eff6c5cae50d7f490d775a602dc30e1b200408a
3432d105cc078dbbed14eb9c6f3a3c82b3cb07ca
refs/heads/master
2020-04-23T15:12:22.676842
2013-11-25T23:29:04
2013-11-25T23:29:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,722
cpp
main.cpp
#include <vector> #include <cmath> #include <cstdlib> #include <GL/gl.h> #include <GL/freeglut.h> #include "../entities.h" using namespace std; /*** Constants ***/ #define WIDTH 200 #define HEIGHT 200 #define DANGLE 10 #define DTIME 1.0/15.0 /**** Clases ***/ //Clase circulo class circle: public solidObject { public...
761f4e72fd38c7a8040c0fc91015e05284b18b12
7a28fd87d8a61c9df3e95173aad779f31a04be44
/TeamServerCluster/TeamSource/TeamGT/GateServer/Logic/Message/GSMessage/GSMessage.cpp
f329ab62816fe778637884260d2c515adb5b5e1c
[]
no_license
kspine/TeamServer
e84a858254736c05cc33780978212f7f982e549e
360de39453156f4c4fbb5d99325aef28d2a5f75c
refs/heads/master
2021-01-22T05:15:55.186201
2016-11-30T02:53:35
2016-11-30T02:53:35
81,638,625
0
1
null
null
null
null
UTF-8
C++
false
false
2,141
cpp
GSMessage.cpp
#include "GSMessage.h" void CGSMessage::ProcessMsg(char* pDataInfo, long nDataLen, void* pPacketHead, void* pClient) { if ((NULL == pDataInfo) || (nDataLen <= 0) || (NULL == pPacketHead) || (NULL == pClient)) return; PACKETHEAD* pTempPacketHead = reinterpret_cast<PACKETHEAD*>(pPacketHead); if (NULL == pTempPac...
e7c96676e0f558f8a1b853b9e81dac91ae6ec40e
fc03b22a5e0dc75a1987c1760c26a3679bbe80eb
/lexer/lights.ino
23b996d2096e4e9f19e7a2f294d54c65a37c2c58
[]
no_license
edgar-castro/compiladores_curso
4e04c546c3c4e2463f8e31e50e2f440705aff3eb
c7437dc6bfba99dc20bf834313c87baca7299358
refs/heads/master
2023-01-21T02:11:30.561481
2020-11-22T17:08:22
2020-11-22T17:08:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,180
ino
lights.ino
#include"notes_bits.h" const int latchPin = 9; const int clockPin = 8; const int dataPin = 10; int pitch, cmd, velocity; int light; boolean state; byte lightData1 = 0, lightData2 = 0, lightData3 = 0; void setup() { pinMode(latchPin, OUTPUT); pinMode(dataPin, OUTPUT); pinMode(clockPin, OUTPUT); Se...
65f8994c63ded0478e606e14bf5d46ee5f71e428
e718734f6f3cd8cf9650181d02fdf91ee77a26ab
/opaque/cOpaquemodule.h
1112851d3460678aeb1877d1e9652347a4c84049
[]
no_license
bvdelft/PyOpaque
323ee5d254444aaebfca146cf8bb8f1513dffc3c
a88a22adf0a5cf52c7f5695a6ca7a0ed35878c66
refs/heads/master
2019-01-02T02:03:59.138937
2013-03-22T10:46:39
2013-03-22T10:46:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
543
h
cOpaquemodule.h
struct TargetClass; typedef struct { PyObject_HEAD PyObject* objPointer; TargetClass* target; } EncapsulatedObject; typedef struct { PyObject_HEAD PyObject* attPointer; } EncapsulatedAttribute; struct TargetClass { PyObject* target; char * name; set<char*, strPtrLess> publicAttributes; set<char*, strPtrL...
1281eb0dca799d938d0d6d9ae98915e47bcd014c
545d1aa7075c423ac22d5057684d444c72d9a8c2
/codes/1094-Car-Pooling/cpp/main1.cpp
2039695934bd969b9640f8ef82bd430ee1c2a019
[]
no_license
Stackingrule/LeetCode-Solutions
da9420953b0e56bb76f026f5c1a4a48cd404641d
3f7d22dd94eef4e47f3c19c436b00c40891dc03b
refs/heads/main
2023-08-28T00:43:37.871877
2021-10-14T02:55:42
2021-10-14T02:55:42
207,331,384
0
0
null
null
null
null
UTF-8
C++
false
false
486
cpp
main1.cpp
/* * 扫描线 */ class Solution { public: bool carPooling(vector<vector<int>> &trips, int capacity) { vector<int> allTrip(1001); for (int i = 0; i < trips.size(); ++i) { for (int j = trips[i][1]; j < trips[i][2]; ++j) { allTrip[j] += trips[i][0]; ...
81840619dc0619f7e6f2d374d8b59f5f7bae7f69
577382a8fac5056e6180890955f1439e21721d5d
/C++/switch.cc
262549b34ab15df07e4a96e36def215298e50af9
[ "Unlicense" ]
permissive
drichardson/examples
eb4d875efc07f9a2f26556162cb5fdf0b6e218e3
a56703ccdb9dee5bcd9aac6cd2f98951db0f63cb
refs/heads/main
2023-04-07T09:42:12.941514
2022-10-19T02:39:49
2022-10-19T02:39:49
9,849,474
33
20
Unlicense
2023-03-25T01:58:04
2013-05-04T04:48:00
Objective-C
UTF-8
C++
false
false
805
cc
switch.cc
#include <iostream> #include <vector> int main() { using std::cin; using std::cout; using std::flush; int i = 0, j = 0; std::vector<char const *> trace; cout << "enter interger i: " << flush; cin >> i; cout << "enter integer j: " << flush; cin >> j; switch (i) { case 0: trace.push_back("i0"); swit...
ea70f64d2d79cff8b79f15ef40b488405e99b873
628154dcf1e1bdb61a0bb0054919b8aab305dc9a
/1d/variadic_function_call_no_warning/main.cpp
4cd8e4ccead9ac6b9e06c841534c95fe7294da01
[ "MIT" ]
permissive
realincubus/clang_plugin_tests
616b3d9a187b419bcd0d4c2c6c3ab27d291fdaef
018e22f37baaa7c072de8d455ad16057c953fd96
refs/heads/master
2021-01-17T10:20:40.078576
2018-11-28T11:11:25
2018-11-28T11:11:25
56,518,193
0
0
null
null
null
null
UTF-8
C++
false
false
309
cpp
main.cpp
#define NBIN 600 #include <stdio.h> int __attribute__((const)) vargs_function( int a, const double* v, ... ) { } int main(int argc, char** argv){ int i = 0; double v_sigma[NBIN]; int x[NBIN]; for (i = 0; i < NBIN; ++i){ vargs_function(1,&v_sigma[i]); x[i] = 10; } return 0; }
043df83a2d9c7107becc85aac6dc214270120b13
0b87d878c0792935bb97310a5a821472aefd2de1
/include/gameOfLife/Coordinates.hpp
90dec9c0fa4133c89bece5d1256b24cdb81d1ebf
[ "MIT" ]
permissive
morynicz/GameOfLifeTddKata
45b13a1c549f43e624dfbc7ac7a1caf24042daaa
ff9318a70f814d66509cde753752d52493b67166
refs/heads/master
2022-11-16T12:38:15.399082
2020-07-12T13:30:04
2020-07-12T13:30:04
278,932,692
0
0
null
null
null
null
UTF-8
C++
false
false
47
hpp
Coordinates.hpp
struct Coordinates { long x; long y; };
3c998f1091df5744ac426f9d8ebd3c51e491b815
9a79a58298ef325bf7c6b6e5dea8f1e2ebe9f4cb
/code/login.cpp
277b867b81325a55325e8980b701ff346b939eee
[ "MIT" ]
permissive
OAACKY/MyReminder_Note-Designed_by_Qt
8e91f8a560402a5ac6a137fa350ee56c85653637
585635647ef3710ad14f3cb67dd823415f601f72
refs/heads/master
2020-06-19T22:51:25.482464
2019-07-15T01:43:35
2019-07-15T01:43:35
196,903,340
2
0
null
null
null
null
GB18030
C++
false
false
945
cpp
login.cpp
#include "login.h" #include "ui_login.h" #include "mybasewindow.h" #include<QMessageBox> login::login(QWidget *parent) : QDialog(parent), ui(new Ui::login) { ui->setupUi(this); setWhatsThis("The password is NKU"); } login::~login() { delete ui; } void login::on_pushButton_clicke...
92e3507d1ad299e4f68d43c6d1c880be90977ecf
32dd8e6794fe93275e74488d1cb916345b48ccb0
/1_semestr/1-3.cpp
0f26486ce3cd1c890c7510712317e298fd09a11e
[]
no_license
BSU2016gr09/ArtsiomKiseliov
7cf1e7354448ec35950d858fc3e7e95f59fb29d4
8dadbdc4a2d42860fba56b010ccc8daf634fdbc7
refs/heads/master
2021-01-17T17:52:50.794538
2017-04-19T18:36:04
2017-04-19T18:36:04
70,684,632
0
0
null
null
null
null
UTF-8
C++
false
false
129
cpp
1-3.cpp
#include <iostream> #include <cmath> using namespace std; int A[5]; int main() { cout << sizeof A; system("pause"); }
a188c4fa59503cb30f17a0081fdef4cbe391290c
8f5b33ac0ea9466da0a9fa799cb9c80f7b756b3e
/atcoder/abc129/e/solve.cpp
2b20a708e6969e5863ae6ab4228d0d73bf74ecde
[]
no_license
ritosonn/compro
5f6b5e56dee9a81adaf1088c3be76034d6d8f354
b3e7b16be3005fb6b60056177ec8ed522cb52e96
refs/heads/master
2020-05-30T14:21:54.212217
2019-08-17T16:14:54
2019-08-17T16:14:54
189,788,774
0
0
null
null
null
null
UTF-8
C++
false
false
506
cpp
solve.cpp
#include<cstdio> #include<vector> char l[100001]; using ll = long long; using pll = std::pair<ll,ll>; ll const p=1e9+7; int main(){ scanf("%s",l); //ans={a+b==Lになりうる場合の数,a+b<Lが確定した場合の数} pll ans={2,1}; for(int i=1;l[i]!='\0';i++){ if(l[i]=='0'){ ans={ans.first,(3*ans.second)%p}; ...
836df4a7523bb18b020797c34291684871f2e308
49ddf8db1e84c7b4a16e0dd6a58a63c9b8805224
/src/master/messages.cc
c202d3823eb9f6e2d40742f88e6aaa4ee097333b
[]
no_license
l-nic/r2t2
1aa5e9a5907c334cdc902577803522f079413e30
ee3c8deb7dcf8109d4d49e301f8cdc266e44c719
refs/heads/master
2022-12-05T07:23:38.523277
2020-07-06T17:09:02
2020-07-06T17:09:02
285,683,793
0
0
null
2020-08-06T22:28:36
2020-08-06T22:28:35
null
UTF-8
C++
false
false
5,650
cc
messages.cc
#include <chrono> #include <typeinfo> #include "lambda-master.hh" #include "messages/message.hh" #include "messages/utils.hh" using namespace std; using namespace chrono; using namespace r2t2; using namespace meow; using OpCode = Message::OpCode; void merge_pbrt_stats( pbrt::AccumulatedStats& dst, ...
ccee06cf42fce535cfdb8303b74c8cc35f20e3dd
3d6f1719518d34918e0755f3dcde1cedeafaa16d
/game engine 3D/shaders/TerrainShader.cpp
3d69c7e85ab5f5c5971ad61a6baf09441d90f920
[]
no_license
NassimAm/OpenGl_GameEngine
9b439797e378a04afe983d42c6c4a486b94c0c66
4a23565ecc9ccc8161b333f7f214d8523ef5c794
refs/heads/main
2023-02-22T12:49:41.513313
2021-01-25T18:51:42
2021-01-25T18:51:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,490
cpp
TerrainShader.cpp
#include <glad/glad.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <string> #include <sstream> #include <fstream> #include <iostream> #include "TerrainShader.h" TerrainShader::TerrainShader() { //Constructor } TerrainShader::TerrainShader(const GLchar *...
6db59761c3e4a93036aac9c113f7e8afa80f52aa
f8d5a636bd2adafc3b63f8113ededc1fb03b80ea
/source/app/apps.cpp
b46629b950e2ddf5acea2f0f10c18aab94b6b07c
[]
no_license
MAPSWorks/earthInfo
f6468bed82dbee66e8841c500cf317a9d74591c0
5b8c8317ff2636053f5c78d63c3164048e0c5f76
refs/heads/master
2020-07-10T17:44:34.215908
2018-05-24T08:41:58
2018-05-24T08:41:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
425
cpp
apps.cpp
#include "apps.hpp" #include "apps/dummy.hpp" #include "apps/globe.hpp" namespace ss { namespace app { void register_all_apps(Registry& reg) { reg.add<apps::Dummy>("dummy"); reg.add<apps::Globe>("globe"); } auto register_all_apps() -> Registry { ...
f510b7599fd2df2c2f3d070e9a33d4ba16f2934c
d4e0fec29502a32bf3dfd0bd88ce16b89dc3152b
/Arduino/Water_Pump_w_L298.ino
ce2ff22b64ba0a1721870dc349b4c7c88c5dd1db
[ "MIT" ]
permissive
walywalid/Hydroponics
7b15b2ab97b0c4cb0dec721e4e1dca1ae290b699
7edd4a6f2327dbc560a9e1815b2274108bbe9914
refs/heads/master
2022-06-21T03:39:26.742653
2020-05-17T12:07:41
2020-05-17T12:07:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,071
ino
Water_Pump_w_L298.ino
#include <DHT.h> #define RX 10 #define TX 11 #define DHTPIN 2 #define DHTTYPE DHT22 DHT dht(DHTPIN, DHTTYPE); #define SensorPin A0 #define Offset 0.00 #define samplingInterval 20 #define printInterval 800 #define ArrayLenth 40 int pHArray[ArrayLenth]; int pHArrayIndex=0; const int sensorMin =...
4aa6016bd3a26ca4478414684e62502a12088344
ba96d7e6e955de1a5ce6f8f722909bf2b9a75ab8
/Source/ArenaBattle/ABPlayerController.cpp
86cca112465f854511cdedfb454917b68bf24a61
[]
no_license
DongKuy/chapter
0d76ac353381492d8d6dd82dc7dd9f003fad70b9
e4caa913daaee7bc80f6fc1e39102486c1cc3794
refs/heads/master
2020-07-18T11:35:17.305381
2019-11-06T06:55:39
2019-11-06T06:55:39
206,238,299
0
0
null
null
null
null
UTF-8
C++
false
false
854
cpp
ABPlayerController.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "ABPlayerController.h" void AABPlayerController::PostInitializeComponents() { ABLOG(Warning, TEXT("PostInitializeComponents Begin")); Super::PostInitializeComponents(); ABLOG(Warning, TEXT("PostInitializeComponents End")); } ...
160ee67409918854f7df470620ba6235efb79700
17da681b73da0a2db1d0a15040f573834762ac32
/razorqt-0.4.0/razorqt-panel/plugin-taskbar/razortaskbar.h
417efab5bacf05227829eba515e575fb5235959b
[]
no_license
easion/GoogleCodeImport
652690592ad0e113ac60f807a937e50978cb3f64
e7648d4fa4543520012b6e47a1d2fefed6f22d81
refs/heads/master
2021-01-25T05:35:28.584058
2015-03-14T07:59:22
2015-03-14T07:59:22
32,141,682
1
0
null
null
null
null
UTF-8
C++
false
false
2,346
h
razortaskbar.h
/* BEGIN_COMMON_COPYRIGHT_HEADER * * Razor - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2011 Razor team * Authors: * Alexander Sokoloff <sokoloff.a@gmail.ru> * Maciej Płaza <plaza.maciej@gmail.com> * * This program or library is free software; you can redistribute it * ...
1c03098cd82861a002393a434ea4a4f25fe0d25b
6b83c731acb331c4f7ddd167ab5bb562b450d0f2
/my_inc2/DrawPrim16.cpp
a41f96eeafe0fd6959a3ca62ef7e0040916ea2b3
[]
no_license
weimingtom/toheart2p
fbfb96f6ca8d3102b462ba53d3c9cff16ca509e7
560e99c42fdff23e65f16df6d14df9a9f1868d8e
refs/heads/master
2021-01-10T01:36:31.515707
2007-12-20T15:13:51
2007-12-20T15:13:51
44,464,730
2
0
null
null
null
null
SHIFT_JIS
C++
false
false
53,247
cpp
DrawPrim16.cpp
#include <mm_std.h> #include "bmp.h" #include "draw.h" #include "drawprim.h" extern RECT ClipRectDef; extern int DispWidth; extern int DispHeight; BOOL PRM_DrawRect_H_Std(BMP_H *dest, int dx, int dy, int w, int h, int r, int g, int b) { int x, y; int w2 ...
1aef3a5eb1efcc9591445e50f3194bad0cd1ce1c
0a3363c1d3d5867f1340de49b84eab84defa3fb8
/mods/core/objects/random/WhiteNoise.cpp
92c7c88827e155c0c61f8057ff81987d0fd80df1
[ "MIT" ]
permissive
odevices/er-301
b09bc53f1b11ff1bba2be8a51220ebfe932dd935
3a7b592fe5d223d5a96b2d8e90b578b23bbdabe5
refs/heads/develop
2023-02-17T16:31:01.764589
2023-02-14T06:55:32
2023-02-14T06:55:32
343,000,824
124
26
MIT
2023-02-14T06:55:34
2021-02-28T02:06:10
C
UTF-8
C++
false
false
518
cpp
WhiteNoise.cpp
#include <core/objects/random/WhiteNoise.h> #include <od/extras/Random.h> #include <od/config.h> namespace od { WhiteNoise::WhiteNoise() { addOutput(mOutput); } WhiteNoise::~WhiteNoise() { } void WhiteNoise::process() { float *out = mOutput.buffer();...
614f757543339d676342f61563c6aed9ddaabcfe
6ca10307af61c9e70de5c9977c81acb0161db611
/Version Graphique terminale/src/Combat.cpp
31a025aff5ec065d34afeb2cd31e7f6028800d4b
[]
no_license
Em0nn/p8fighter
315a03f603fa92ff28ed23e7d41ec61df798b0b7
dbcbfd51ab4db34d35ca9d64ac33e15e5214d59b
refs/heads/master
2021-01-19T03:30:09.265134
2017-05-02T16:31:18
2017-05-02T16:31:18
87,318,988
0
0
null
null
null
null
ISO-8859-1
C++
false
false
43,114
cpp
Combat.cpp
#include <cassert> #include <iostream> #include <string.h> #include <fstream> #include <stdlib.h> #include <time.h> #include "Combat.h" #include "Personnage.h" using namespace std; Combat::Combat() { SDL_Point ptJ = {300,500}; SDL_Point ptT = {1400,500}; Personnage Ju("data/justineD.png", ptJ, true,...
7600a4b84141e8d6dbe9bc03633d5beacd31d7ad
d0a3ceac982fd8ad5f7f18980eb31dcd51239de2
/OpenGL/include/lighting/Light.hpp
643b473c984e04db18137291a27bc85ec952658d
[]
no_license
apizon/InfoGraph
aa9cebf5980adf950da252198dcb4b4229933076
b2dd14cfc7ee2a8ee9236f46b44ec0d88c5af8f8
refs/heads/master
2021-09-04T19:02:35.786260
2018-01-21T12:55:23
2018-01-21T12:55:23
111,242,656
1
0
null
null
null
null
UTF-8
C++
false
false
24,306
hpp
Light.hpp
#ifndef LIGHT_HPP #define LIGHT_HPP #include <vector> #include <GL/glew.h> #include <glm/glm.hpp> #include "./../../include/ShaderProgram.hpp" /** * @brief A directional light. * * This class represents a directional light which means a light * whose source is so far away from the camera that the light rays * c...
2941abc0c960bb70b6bf1533aaa04676862b6e26
eafc52e8480fbc2021e2480235b14843b6682b10
/src/main.cpp
9bdd64dbbeffd03559a03c88e168844ef9a5dcda
[ "MIT" ]
permissive
grand151/esp32-laser-show
22e0a19354ccc6423b129c1910c9ffe2731b73d4
0aa26b065101aa4ef93a5ba2202d0c6c1671cb44
refs/heads/main
2023-06-26T09:21:55.779652
2021-07-26T12:16:31
2021-07-26T12:16:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,532
cpp
main.cpp
#include <stdio.h> #include <string.h> #include "esp_err.h" #include "esp_log.h" #include "esp_spiffs.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include <arpa/inet.h> #include <vector> #include "ILDAFile.h" #include "SPIRenderer.h" static const char *TAG = "main"; extern "C" { void app_main(void...
c3e53a0ec143fa76f2f09a1b32bc303c0df1c632
28dba754ddf8211d754dd4a6b0704bbedb2bd373
/AcmLive/P4597.cpp
33e026cd442013d5dad9bea4e1b45086956932c0
[]
no_license
zjsxzy/algo
599354679bd72ef20c724bb50b42fce65ceab76f
a84494969952f981bfdc38003f7269e5c80a142e
refs/heads/master
2023-08-31T17:00:53.393421
2023-08-19T14:20:31
2023-08-19T14:20:31
10,140,040
0
1
null
null
null
null
UTF-8
C++
false
false
3,159
cpp
P4597.cpp
#include <map> #include <set> #include <list> #include <cmath> #include <queue> #include <stack> #include <bitset> #include <vector> #include <cstdio> #include <string> #include <sstream> #include <cstdlib> #include <cstring> #include <iostream> #include <algorithm> using namespace std; #define PB push_back #define MP ...
5aa8a232e9c9e39e9cd0d1a4977497909c8007a5
93423d90b3a5f001fa1af3917d06fd9c14a756aa
/Super Mario/GameScreenManager.cpp
f70defe2946a07281351804fec49236b3f7d1b74
[]
no_license
Lumi08/SuperMario
b1c09113e51433b62b9d5e6487a40f0d5973c2a4
7f18aa0852d4b6209297948ff15815d18f5cccdb
refs/heads/master
2023-04-15T21:01:53.120396
2020-04-30T18:20:48
2020-04-30T18:20:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,793
cpp
GameScreenManager.cpp
#include "GameScreenManager.h" #include "GameScreen.h" #include "GameScreenLevel1.h" #include "MainMenu.h" #include "GameOver.h" GameScreenManager::GameScreenManager(SDL_Renderer* renderer, SCREENS startScreen) { this->mRenderer = renderer; mCurrentScreen = NULL; ChangeScreen(startScreen); } GameScreenManager::~Ga...
46f8593435cfad1c4e1cd65b63758d4c14414341
96f8fb7fb764026ede7e927d8b4768b8b6f44abb
/01_Code/10_STL/day04/lichong/main.cpp
d2e27935557f19f719422fc2bbc717a78b09fb3c
[]
no_license
isongbo/MyCode
a513beaa8f43bc751aab5217314615c728ba771e
eb2330b1dbae9032ba5ad8ccd65b68375219e451
refs/heads/master
2021-01-10T09:48:53.587674
2016-01-15T10:21:04
2016-01-15T10:21:04
49,700,737
2
1
null
null
null
null
UTF-8
C++
false
false
97
cpp
main.cpp
#include "student.h" #include "teacher.h" int main (void) { Student s; Teacher t; return 0; }
85191edcc41d37dd64f436653f7fd5a4e862be9e
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/components/services/heap_profiling/connection_manager.cc
bf8fe807938ceab98ad59e9269c18fb382f19dbe
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
11,030
cc
connection_manager.cc
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/services/heap_profiling/connection_manager.h" #include <utility> #include "base/functional/bind.h" #include "base/functional/callback.h" #include "base/j...
9457cd281d8736783fb5ba9516ee121cc5f9fb95
64c1f0c3bf83af386a2ef417f66892ec52d1b26b
/SmartHome/SmartHome.ino
2bb5583f9a2270907f8be48f54203c667e902aaf
[ "MIT" ]
permissive
dmarkey/smarthomecontroller_arduino
135fbb73ec0654322db2a540b3016973a9c7a2d4
73fefcde6a58a0f13502831fd5bf4aa806aa10ea
refs/heads/master
2021-01-13T00:16:42.632827
2015-11-30T16:31:30
2015-11-30T16:31:30
47,116,196
0
0
null
null
null
null
UTF-8
C++
false
false
12,719
ino
SmartHome.ino
#include <sha1.h> #include <IRremote.h> #include <Event.h> #include <Timer.h> #include <DHT.h> #include <ArduinoJson.h> #include <Client.h> //#include <EEPROM.h> #include <WebSocketsClient.h> #include <Ethernet.h> #include <SPI.h> #define DHTPIN 11 #define DHTTYPE DHT22 #define RF_DATA_PIN 12 #define IR_RECV_PIN 13 #...
428c09892aec7dc98d186ae9474268040cd4a488
709d08e176e2e36b290d59dd1c7c18472f02d597
/HackerRank/InterviewPreparationKit/Arrays/2d-array.cpp
03b0f447e5695f176c8e9cdabe2db868c64586cd
[]
no_license
carolinajimenez26/Competitive-programming
6b4ae94970e0ae0f61a7e20a170f981763f4db19
05ed1532e7ca2b006a8e8e5b925129887c5289e0
refs/heads/master
2021-06-18T21:33:26.899509
2021-04-16T12:58:37
2021-04-16T12:58:37
72,377,278
1
0
null
2019-03-13T17:58:58
2016-10-30T21:42:03
C++
UTF-8
C++
false
false
1,018
cpp
2d-array.cpp
#include <iostream> #include <vector> using namespace std; const int INF = numeric_limits<int>::max(); bool IsValid(const vector<vector<int>>& arr, int row, int col) { return row >= 0 && row < arr.size() && col >= 0 && arr.size() > 0 && col < arr[0].size(); } int GetSum(const vector<vector<int>>& arr, in...
230e1f83237c344bc5c0e9a640016d16618a981a
a16b46dcf78943f370f13ac7d1d8bfe6755b9eea
/src/models/dhtmodel.h
a3bddfd45fd80a172a0cc627aaf6e24a7861ecb6
[ "MIT" ]
permissive
chozabu/rsqml-models
4bf2de8d3f8600cdcfc7134dd0aefe1eda95b2e0
06a59a2e2d22a1e83e61668b8bd63da0c36eb0d3
refs/heads/master
2020-12-07T15:30:30.687409
2015-03-14T15:44:25
2015-03-14T15:44:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
683
h
dhtmodel.h
#pragma once #include <QAbstractListModel> #include <QStringList> #include <tryst/rsdht.h> class DhtModel : public QAbstractListModel { Q_OBJECT public: enum DhtRoles { IdRole = Qt::UserRole + 1, AddrRole, BucketRole, PeerFlagsRole, ExtraFlagsRole }; DhtModel(QObject...
f9c8102033f886b94f6129544dc69d37148a663b
a8bc07f102ec1383f4e79e7e3ba13b1ec659de0d
/Source/Urho3D/Graphics/BIHTree.cpp
06d7bd8e75c0b638e34299253c727ef6ee56c942
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hustztz/Urho3D
19c2767910de18d6ab3056743467c16868220da5
90abf7d8f176da9f9b828bb7ea9f46d1058ed009
refs/heads/master
2020-03-10T04:40:04.173866
2018-08-29T08:16:24
2018-08-29T08:16:24
129,197,648
0
0
null
null
null
null
UTF-8
C++
false
false
18,800
cpp
BIHTree.cpp
#include "../Precompiled.h" #include "../Graphics/Geometry.h" #include "../Graphics/Graphics.h" #include "../Graphics/IndexBuffer.h" #include "../Graphics/VertexBuffer.h" #include "../IO/Log.h" #include "../Math/Ray.h" #include "../Graphics/BIHTree.h" #include "../Resource/ResourceCache.h" #include "../Resource/Resour...
1229fe8a92f4c6e6091899088f7c662a12a71419
d79508660fa6ce1199a6a0c42c021f68d0a2fe1d
/Engine/src/Include/Common/Physics/PhysicsConversions.h
b25975e2fae655a058cf0c0b8953655570117ea9
[ "CC0-1.0" ]
permissive
DanielParra159/EngineAndGame
702ddd14bf15d4387046837e506b10eb837dda27
45af7439633054aa6c9a8e75dd0453f9ce297626
refs/heads/master
2020-04-04T16:40:34.796899
2017-11-25T21:52:56
2017-11-25T21:52:56
62,506,317
1
0
null
null
null
null
UTF-8
C++
false
false
548
h
PhysicsConversions.h
#ifndef _ENGINE_PHYSICS_PHYSICSCONVERSIONS_H_ #define _ENGINE_PHYSICS_PHYSICSCONVERSIONS_H_ #include "Types.h" #include "Support/Vector3D.h" #include <foundation/PxVec3.h> namespace physics { inline physx::PxVec3 Vector3DToPxVec3(const Vector3D<float32>& aVector) { return physx::PxVec3(EXPOSE_VECTOR...
75f6da336f55e5da39db9b144e38dfb8863dd584
6144299a770a9130e71210e5ac27aed5f2926d1b
/RadSource/CPoint2D.cpp
80f6bb4cb3b5d9ced48278573d769f72686b3578
[]
no_license
kerrylee01/SRAGCodes
31e56773a56803198abf1e76dae89eb964405030
ce30415f1b7fa15cd0560c72a6ecbaab485a59f4
refs/heads/master
2021-01-19T04:29:48.617652
2016-06-26T16:57:12
2016-06-26T16:57:12
46,309,091
1
1
null
2016-06-26T16:57:13
2015-11-16T23:11:26
C++
UTF-8
C++
false
false
638
cpp
CPoint2D.cpp
#include <iostream> #include <CPoint2D.h> CPoint2D::CPoint2D(const CPoint2D & rhs) : m_dX(rhs.m_dX), m_dY(rhs.m_dY) {} bool CPoint2D::operator<(const CPoint2D &p_Point2D) const { return m_dX < p_Point2D.m_dX; } void CPoint2D::Set(double dX, double dY) { m_dX = dX; m_dY = dY; } void CPoint2D::Print() { st...
0e2e3af350f95e7ce2798972d3c987511180469c
89df1ea7703a7d64ed2549027353b9f98b800e88
/minecraft/minecraft/src/engine/gui/handler/guihandler.cpp
c874db15cc05af5aaf467446413a399541f670e8
[ "MIT" ]
permissive
llGuy/gamedev
31a3e23f921fbe38af48177710eb7bae661f4cfd
16aa203934fd767926c58558e021630288556399
refs/heads/master
2021-05-04T15:09:33.217825
2019-01-17T23:15:36
2019-01-17T23:15:36
120,221,445
0
0
null
null
null
null
UTF-8
C++
false
false
1,730
cpp
guihandler.cpp
#include "guihandler.h" namespace minecraft { namespace gui { GUIHandler::GUIHandler(TextureAtlas* ptr) : m_blockTextureAtlasPtr(ptr), m_crosshair(1.0f, 1.0f, "res\\textures\\gui\\crosshair.png"), m_guiTextureAtlas(14.0f, 14.0f, "res\\textures\\gui\\menu\\menu_atlas.png") { } GUIHandler::~GU...
205a8e65338b0458229178519f09e2cb113c52f4
ea8ec1a1f85cb0d43806cda63cfe0bcb70b319dd
/AcceleratedOOBB/src/Model.h
8158c0f471f095a598e8bbd1a81a19dca50aebb6
[ "MIT" ]
permissive
BetaRavener/AcceleratedOOBB
79d5dd9db53eec308c6d2cca37481cd7226be380
bcf285b151c7598c52c1c37de6b86a1fca3a73d2
refs/heads/master
2021-03-27T19:04:31.685253
2016-12-21T22:39:04
2016-12-21T22:39:04
74,965,627
0
1
null
null
null
null
UTF-8
C++
false
false
208
h
Model.h
#pragma once #ifndef MODEL_H #define MODEL_H #include <vector> #include <glm/detail/type_vec3.hpp> class Model { public: static std::vector<glm::vec3> load(std::string fileName, float scale = 1); }; #endif
dd588df2f5f34d191b228b8e8dadf1f73c665390
1154814c89c84b7e23ec1feed96be67491a5b7eb
/include/vector7d.h
3b41b886ad3021178d105d1f334ff953f942eeb7
[]
no_license
linlut/View3dn
cc8e741a9a6967277a65a01793ddc61f7ac5ead9
4ba9a3b5414d95ac358d0e05f2834ebb451efedd
refs/heads/master
2020-03-26T23:43:41.132808
2014-02-21T01:28:11
2014-02-21T01:28:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,932
h
vector7d.h
//FILE: vector7d.h #ifndef __ZVECTOR7d_2012__ #define __ZVECTOR7d_2012__ #include <math.h> #include <vector2i.h> ///================================================ template<typename T> class _Vector7T { public: T x, y, z, w; T x1, y1, z1; _Vector7T(){} inline _Vector7T(const T& X, const T& Y, const...
bd7fedde396869db8c269fb23457b85f7043f09a
285b4638f208afcb523feeea18bc5c6ad1ff0adc
/ACM-ICPC/Asia Regional/예선/Daejeon Nationalwide Internet Competition 2012/(D)피보나치.cpp
eb5da2e77394d49738c3742a91f2c2f1a28e4bd7
[]
no_license
Kuril951/ICPC_Study
8941b8b86e3c12eef3858e2cbf880f84523bac7a
78cd99b50fe05983e459672ae2f1c5ec6011cd17
refs/heads/master
2018-10-21T12:42:44.542883
2018-10-04T07:05:18
2018-10-04T07:05:18
116,656,800
0
0
null
null
null
null
UTF-8
C++
false
false
855
cpp
(D)피보나치.cpp
//============================= //Fibonacci Numbers //============================= #include<iostream> #include<queue> #include<stack> using namespace std; long long num[47] = { 0, 1 }; queue<int> intque; int pibonacchi(int n, int level) { if (level == 46) return 0; for (int i = 46; i > 0; i--) { if (n == n...
7589ee73542e43bf94e0285ba022a97432ba31a9
d3c1533752af77538e4403388e01ebb9c335a4eb
/src/debug/src/common/Settings.h
1d938934a5a814ce497fcfc310964ce5c4a800e6
[ "Zlib" ]
permissive
minigo/simpleai
0deadc2dc648ccddc7f79f34144d4e258ff6e427
b56ce2214b4a4bae8c1abbd4ffba2b11969d4d37
refs/heads/master
2021-01-16T19:26:48.474570
2015-06-06T20:12:19
2015-06-06T20:15:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
401
h
Settings.h
#pragma once #include <QSettings> class Settings { private: QSettings _settings; Settings() : _settings("simpleai", "simpleai") { } public: static QSettings& getSettings() { static Settings s; return s._settings; } static void setIfAbsent(const QString& key, const QString& value) { if (getSettings()....
e0624b93a26cb8a9e31871f73c7dc43dbd40d5e3
667379ba34691bb7ff498160cdbc3be687ea6eb0
/src/framework/mpas_block_types.inc
0753d73eaf20e00c51df19e25e47f0cb5e07f705
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
daniel-j-henderson/MPAS-Release
3f7a3695754a0c0496fad4c6d4259e5329fefee3
63d29bd4947ec100004bb07e007a46d302aa9360
refs/heads/master
2020-04-01T16:41:28.443452
2016-06-08T03:08:25
2016-07-19T03:17:32
59,241,767
0
0
null
2016-05-19T20:49:45
2016-05-19T20:49:45
null
UTF-8
C++
false
false
2,047
inc
mpas_block_types.inc
! Type for storing (possibly architecture specific) information concerning to parallelism type parallel_info type (mpas_multihalo_exchange_list), pointer :: cellsToSend ! List of types describing which cells to send to other blocks type (mpas_multihalo_exchange_list), pointer :: cellsToRec...
4f8f28e13adb877b0771a3284d55d6779f2aa380
83cc0c23f78f66133f9eb868bbf091d80c5f0fc4
/ForcePad/troupe.cpp
ff01be21679a1723ddcd504877ba0b159b0a5aa8
[]
no_license
Grippn/SynForce
d6a99e84d2f6b5cb27bfc02c2dcea8797d053b73
6d22ae8e03e056a9029596bbeb46bd3251f5989c
refs/heads/master
2016-09-06T09:44:49.058567
2013-10-08T02:46:13
2013-10-08T02:46:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
406
cpp
troupe.cpp
#include <cassert> #include "application.h" #include "troupe.h" using namespace std; troupe::troupe() { } troupe::~troupe() { } void troupe::insert(const shared_ptr<actor>& p) { assert(p); actors.push_back(p); } void troupe::draw(effect& fx, D3DXMATRIX mat) const { D3DXMATRIX mat2 = local * mat; ...
cc85ea64e863406d54ceb9bf74345fc868f58ec5
6fa28d5b632d40cd75ce3602f2e90379de4168d0
/jumpSearch.cpp
cd1ec5495be303da865d913c35df26dc8d8a0fce
[]
no_license
RJ-Mitra/Programming101_CPP
455f67e07a93e1cdd8055b18628bcd80c5dcc550
ed7b724cb32c25874e67be199ec33d59abd902e1
refs/heads/master
2021-07-25T21:55:22.498225
2020-09-02T09:28:22
2020-09-02T09:28:22
215,985,709
0
0
null
null
null
null
UTF-8
C++
false
false
760
cpp
jumpSearch.cpp
#include <bits/stdc++.h> using namespace std; int jumpSearch(int arr[], int n, int x){ int jump = sqrt(n); int prev; while(arr[min(jump,n)-1] < x){ prev = jump; jump+=sqrt(n); if(prev>=n){ return -1; } } while(arr[prev]<x){ prev++; if(pr...
fd0801d3eaae32ef015ec9a47b58caa85d7f278e
0a3e9320b58a032dfbf856b8cdfaad14095948d3
/AVSCommon/AVS/src/ExternalMediaPlayer/AdapterUtils.cpp
169dda8ce3531e74539e2398956646ea043ba5d8
[ "LicenseRef-scancode-pml-2020", "Apache-2.0" ]
permissive
anki/avs-device-sdk
1a98f51729bbe2d6b835cba0e74587b0f5eaea38
8f358d9843f13814a56514f74b8fe16ca618c288
refs/heads/master
2020-03-31T19:09:13.404702
2019-03-06T22:14:38
2019-03-06T22:14:38
152,486,975
5
16
Apache-2.0
2019-03-06T22:14:39
2018-10-10T20:39:56
C++
UTF-8
C++
false
false
6,577
cpp
AdapterUtils.cpp
/* * Copyright 2017-2018 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "...
b287831f054472659dda496fb01f8b930fe680a1
4de5902eb8d208787eeb79a140ed17038c2f1cdf
/Native/OpenCvTest/OpenCvTest.cpp
5bf32d646bf1d774aca257245653ffe158aff832
[]
no_license
NovikovAAA/SciImager
d32d14537ce0b2d51ad03f8a9ae60e07148fe874
5988f7fe74d242e771e84ea377c1fb3f34c2c057
refs/heads/master
2020-08-09T01:02:04.096474
2020-06-29T08:15:45
2020-06-29T08:15:45
213,961,823
0
0
null
2020-06-29T08:15:47
2019-10-09T15:57:57
Java
UTF-8
C++
false
false
266
cpp
OpenCvTest.cpp
#include <iostream> #include "VisualIPCV.h" #include "opencv2/highgui.hpp" int main() { cv::namedWindow("Test"); cv::Mat image = cv::imread("test.png", cv::IMREAD_COLOR); image = filterRed(image); cv::imshow("Test", image); int c = cv::waitKey(); return 0; }
a719c4ea2bd22e0cc04f92a59045c3c9afb059bb
3ae80dbc18ed3e89bedf846d098b2a98d8e4b776
/header/Media/PDFDocument.h
bc2c8e6998e21c9e51c9f5e9503e682ca12feafe
[]
no_license
sswroom/SClass
deee467349ca249a7401f5d3c177cdf763a253ca
9a403ec67c6c4dfd2402f19d44c6573e25d4b347
refs/heads/main
2023-09-01T07:24:58.907606
2023-08-31T11:24:34
2023-08-31T11:24:34
329,970,172
10
7
null
null
null
null
UTF-8
C++
false
false
856
h
PDFDocument.h
#ifndef _SM_MEDIA_PDFDOCUMENT #define _SM_MEDIA_PDFDOCUMENT #include "Data/FastMap.h" #include "IO/ParsedObject.h" #include "Media/ImageList.h" #include "Media/PDFObject.h" #include "Parser/ParserList.h" namespace Media { class PDFDocument : public IO::ParsedObject, public Data::ReadingList<PDFObject*> { private: ...
ec609a60b6f09c5df528fc8a0e7810b7b0a956e3
5bdb6f26991b573f28fcfd29c8749cff9f0e4a2c
/Testes/PA1617/Test.cpp
563fc856073bc30dd6d00c0f9b98bd331c597b58
[]
no_license
pedrojfs17/FEUP-AEDA
958ad859aadb2e57b1e3ffeaeb9c6366a917e60c
6aa502d20bccfe53787cdc4253a8811b2f3a8837
refs/heads/master
2020-12-19T03:12:04.868520
2020-01-22T16:35:21
2020-01-22T16:35:21
235,601,839
0
2
null
null
null
null
UTF-8
C++
false
false
4,718
cpp
Test.cpp
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "Mail.h" #include "Postman.h" #include "PostOffice.h" #include <vector> #include <string> using namespace std; TEST(test_1, a) { vector<int> v1; v1.push_back(10); v1.push_back(8); v1.push_back(12); v1.push_back(8); EXPECT_EQ(3, numberDifferent(v1)); vecto...
eff4d4cda8942dd0b9a99ff17fbb83c7e4482cee
971dc898ebdaf456a4576279637a490c97a984fb
/MrlServo.cpp
78a66141105bcbedb5568c185e0c66cda0bf2730
[]
no_license
Gracedamien/mrlcomm
3b05999b2bfd09faf1620ebd840370c4f5d2662f
c59c4929a21c88ff40a417df75fb1be6e4e84b32
refs/heads/master
2021-06-09T17:16:59.826427
2016-11-27T20:46:54
2016-11-27T20:46:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,892
cpp
MrlServo.cpp
#include <Servo.h> #include "Msg.h" #include "Device.h" #include "MrlServo.h" MrlServo::MrlServo(int deviceId) : Device(deviceId, DEVICE_TYPE_SERVO) { isMoving = false; isSweeping = false; // create the servo servo = new Servo(); lastUpdate = 0; currentPos = 0.0; targetPos = 0; velocity = -1; } MrlSer...
9ee8d396c9f3292cee9c82352ed00f8672d9554f
13825e16716b24bf83bd76a4d7881395fdb0e610
/AlBannaDesigner/CordinatesAndMath/WorkOnMatricies.cpp
7aae79a8201904aade9953f9de9bc2027064a23c
[]
no_license
AlBannaTechno-Archive/AlBannaDesigner-OpenGL
f91e04988f92d9aba86d7d2ae7b2f10df3234e13
5bb9ec7d246230a693d3b2b400151531503f3784
refs/heads/master
2022-12-01T22:29:25.433466
2020-08-06T05:01:09
2020-08-06T05:01:09
117,010,880
1
0
null
null
null
null
UTF-8
C++
false
false
8,361
cpp
WorkOnMatricies.cpp
#if 0 #include <iostream> // GLEW #define GLEW_STATIC #include <GL/glew.h> // GLFW #include <GLFW/glfw3.h> // Other Libs #include <SOIL.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> // Other includes #include "Shader.h" // Function prototypes void key_callback(...
23908ecead069f54e48eaaf9b0e335f781a7d471
5f9b3e3af8afe41969197fda4c68ac2f701a297a
/Pff/Pff.cpp
59cc74cb5e42cc0c0e91ae3b9ecd9e5207a4bdc5
[]
no_license
zhellion/QTEasyImageRed
ff2de4233a72f2c9c3684bccb3da581e2549bc0a
568181fe879e2255cf41cf2a43eaa451a420d873
refs/heads/master
2020-07-31T01:25:29.012310
2019-09-23T19:18:00
2019-09-23T19:18:00
210,433,438
0
0
null
null
null
null
UTF-8
C++
false
false
9,883
cpp
Pff.cpp
#include "Pff.h" using std::chrono::time_point; using std::chrono::high_resolution_clock; Pff::Pff(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); connect(ui.pushButton, &QAbstractButton::clicked, this, &Pff::LoadImg); connect(ui.horizontalSlider, SIGNAL(valueChanged(int)), SLOT(slider1change(int)))...
3188ca7c56cb328e047610ccdbf3f71fa4a73ae6
10b4db1d4f894897b5ee435780bddfdedd91caf7
/thrift/compiler/ast/t_program_test.cc
6f13f3f896abb84db7ac5d81c8b35413d1db21f4
[ "Apache-2.0" ]
permissive
SammyEnigma/fbthrift
04f4aca77a64c65f3d4537338f7fbf3b8214e06a
31d7b90e30de5f90891e4a845f6704e4c13748df
refs/heads/master
2021-11-11T16:59:04.628193
2021-10-12T11:19:22
2021-10-12T11:20:27
211,245,426
1
0
Apache-2.0
2021-07-15T21:12:07
2019-09-27T05:50:42
C++
UTF-8
C++
false
false
4,787
cc
t_program_test.cc
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
f322ff391c41a1304ea657132e6c5dc3f53619d1
0417720a0c8e977a7aeddfe047422c408deaee24
/src/util/ossimViewshedTool.cpp
a89ea353ab780b51b0d3a22b838bfee890422873
[ "MIT" ]
permissive
ossimlabs/ossim
e093899a1e001cf8db16fb6da121ec174a7bc6ff
3eda6223501b5d1c566e91261b832bc24975cf32
refs/heads/dev
2023-06-21T21:54:22.889489
2023-06-15T23:33:36
2023-06-15T23:33:36
41,825,646
300
161
MIT
2023-08-29T20:15:07
2015-09-02T20:20:52
C++
UTF-8
C++
false
false
34,816
cpp
ossimViewshedTool.cpp
//***************************************************************************** // // OSSIM Open Source Geospatial Data Processing Library // See top level LICENSE.txt file for license information // //***************************************************************************** #include <ossim/base/ossimAppli...
c1172dcc4f978a3a1a1fcf80d7d42ae8dc632fb9
855ad942a26e401397494f072b0794679909a006
/class/struct.cpp
9210c864f943eef75fd8432d7939c499eba24935
[]
no_license
StevenDiep/COEFALL18
beeb9523714cedea96467e2c6014f6c5a8d7b8e0
b81d672f43eae0fbd20af6e8a564f9f2a3061d54
refs/heads/main
2022-06-13T07:36:37.855983
2022-05-14T08:17:08
2022-05-14T08:17:08
160,736,391
0
0
null
null
null
null
UTF-8
C++
false
false
319
cpp
struct.cpp
#include<iostream> #include<cmath> using std::cin; using std::cout; using std::endl; struct coord{int x;int y;}; int main(){ coord pointOne; coord pointTwo; pointOne.x = 3; pointOne.y = 4; pointTwo.x = 2; pointTwo.y = 2; int dist = sqrt(pow(pointTwo.x-pointOne.x,2)+pow(pointTwo.y-pointOne.y,2)); cout<<dist<<endl; }
2571a8ec322fcdcf0db60baaf91a72d78be26eee
a88aaaa5d27f0af90c8163c28c9c9e5805e7d868
/Sources/MenuScreen.h
6a1473f2bb2b0fd45cf7dea0005369b7f984dd50
[]
no_license
maxon887/Jim-the-Snake
b315149e0e0a0921a46ac0056a3b4ffc70d4b108
9353035f1da4901b4f6450ef9db0d7ff185b798e
refs/heads/master
2021-01-10T07:29:06.181462
2016-12-03T21:23:59
2016-12-03T21:23:59
49,205,704
0
0
null
null
null
null
UTF-8
C++
false
false
2,833
h
MenuScreen.h
/* Copyright © 2015 Lukyanau Maksim This file is part of Cross++ Game Engine. Cross++ Game Engine is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at y...
2de98ad635b8cdb878fab729993b481a72acfe06
ffdc77394c5b5532b243cf3c33bd584cbdc65cb7
/mindspore/lite/tools/converter/micro/coder/opcoders/cmsis-nn/int8/softmax_int8_coder.cc
739d24c88398b5b50f4e7a1eed8fd25ee1ba8e79
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MPL-1.0", "OpenSSL", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause-Open-MPI", "MIT", "MPL-2.0-no-copyleft-exception", "NTP", "BSD-3-Clause", "GPL-1.0-or-later", "0BSD", "MPL-2.0", "LicenseRef-scancode-f...
permissive
mindspore-ai/mindspore
ca7d5bb51a3451c2705ff2e583a740589d80393b
54acb15d435533c815ee1bd9f6dc0b56b4d4cf83
refs/heads/master
2023-07-29T09:17:11.051569
2023-07-17T13:14:15
2023-07-17T13:14:15
239,714,835
4,178
768
Apache-2.0
2023-07-26T22:31:11
2020-02-11T08:43:48
C++
UTF-8
C++
false
false
3,621
cc
softmax_int8_coder.cc
/** * Copyright 2022 Huawei Technologies Co., Ltd * * 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...
5aee47ca543e19aa8faa1ddcba9562288d3bbee7
cddeddc8b3e0f4a53be49507a4bc57707021d153
/09-MaximumSliceProblem/MaxSliceSum.cpp
f0b95ad0af3c4f0d8e31346e6d094372f1dcbfdd
[]
no_license
clarencekks/Codility-1
d02264ba367fc2b2ce5accb84e0638b8ee6f722d
02c2e19fe1ab1a32d84e3a9e4e8a8cdb155a8431
refs/heads/master
2023-01-19T19:08:19.176917
2020-11-26T10:46:17
2020-11-26T10:46:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
341
cpp
MaxSliceSum.cpp
#include <climits> int solution(vector<int> &A) { size_t n = A.size(); if (n == 0) return 0; int max_sum = INT_MIN; vector<int> sum_pre(n + 1, 0); for (size_t i = 1; i <= n; i++) { sum_pre[i] = max(sum_pre[i-1] + A[i-1], A[i-1]); max_sum = max(max_sum, sum_pre[i]); } ...
a38fe421c9abd14b60146531a25e96e1571b355b
19ccfd6806c5054679dab3f275822302206b222f
/src/game/shared/swarm/asw_weapon_parse.h
ec552818b7c99c83a60b70a8337ee1e584a1c5a7
[ "Apache-2.0" ]
permissive
BenLubar/SwarmDirector2
425441d5ac3fd120c998379ddc96072b2c375109
78685d03eaa0d35e87c638ffa78f46f3aa8379a6
refs/heads/master
2021-01-17T22:14:37.146323
2015-07-09T19:18:03
2015-07-09T19:18:03
20,357,966
4
1
Apache-2.0
2018-08-30T13:37:22
2014-05-31T15:00:51
C++
UTF-8
C++
false
false
2,936
h
asw_weapon_parse.h
#ifndef _INCLUDED_ASW_WEAPON_PARSE_H #define _INCLUDED_ASW_WEAPON_PARSE_H #ifdef _WIN32 #pragma once #endif #include "weapon_parse.h" #include "networkvar.h" enum ASW_Offhand_Order_t { ASW_OFFHAND_USE_IMMEDIATELY, // AI marine can just use this item immediately, without caring about facing/position ASW_OFFHAND_THR...
f8b5e0ef22d7212413a2c71ed1891a95fd2bb712
c561cd832be342fb74e1fc10e142ee446a1da46b
/algos_example.cc
78c8ce398649d75e40097447d4020ad3ac7c3ea2
[ "MIT", "LicenseRef-scancode-object-form-exception-to-mit" ]
permissive
lmedinado/drift
462766882ec258fc5cd110f4f960c18ba6fdfc6d
c10e0d682f885ecd31c5af6f9fe34a9071019bb8
refs/heads/master
2020-08-24T04:11:26.375662
2020-06-19T06:57:37
2020-06-19T06:57:37
216,760,108
0
0
null
null
null
null
UTF-8
C++
false
false
744
cc
algos_example.cc
#include <iostream> #include <vector> #include "include/algorithm.h" #include "include/drift.h" int main() { std::vector v{1, 2, 3, 4, 5, 6, 7}; std::vector w{8, 9, 0, 1, 2, 3, 4}; std::vector<int> z(7); drift::transform(v, w, z, [](auto a, auto b) { return a + b; }); for (auto [a, b, c] : dri...
818ca9d59893f457dfaa1b0542a994b520ae252a
e58feb6fdf20aa22834da3a757e23228b67ad695
/N11003.cpp
2b8cc71763b8acf91060c294edfbde1da2b795ef
[]
no_license
NAMYUNWOO/ProblemSolving
72e0ea65d5f4ba7a453a648b22968031543cd3a5
443133b7c8a2f2ac5b61fa87d2d0530df1cf87d6
refs/heads/master
2020-03-27T08:15:39.307194
2019-07-06T15:10:52
2019-07-06T15:10:52
146,237,526
0
0
null
null
null
null
UTF-8
C++
false
false
854
cpp
N11003.cpp
# include<stdio.h> # include<queue> # include<algorithm> using namespace std; typedef pair<int,int> P; struct Order { bool operator()(pair<int,int> const& a, pair<int,int> const& b) const { return a.first > b.first; } }; queue<pair<int,int> > Q; priority_queue<pair<int,int>,vector<pair<int,int>>,Or...
f6e4ad908cae08def3c01bc8dd43372822535c1c
b3c961847f088024f2fc24ea48f20c73817c51c4
/SFMLSetUp/SFMLSetUp/Engine.cpp
34a3feb3fb8fcb02a3a8dbc108c772e6fe560552
[]
no_license
Gwalks91/pong167
9c000d28bbd78baacbfcfa17690b11aca6075c80
37f4a5c3eb0c040ec2a3a4a75946cc3f5fabb516
refs/heads/master
2020-04-25T11:40:10.913762
2014-03-21T13:51:14
2014-03-21T13:51:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,799
cpp
Engine.cpp
#include "Engine.h" #include <time.h> #include <sstream> #include <istream> Engine::Engine() :s(), wasHit(false) { window = new sf::RenderWindow(sf::VideoMode(1000, 550), "PokePong!"); player1 = new Player(1, sf::Vector2f(10.0f, 0.0f), sf::Keyboard::W, sf::Keyboard::S); player2 = new Player(2, sf::Vector2f(970...
16b209b9f17b85c7993eb19454ad4e1794ff5e68
e308652eacb626ccd368166dc1fa3c2bd97ed71c
/EmptyClass.h
e337b763db8a557a3229993be08cb2eb0c3eaf56
[]
no_license
sidfishus/BlockAllocator
1cc6b179e038c7f02e9b9caf2d5422b4450ee570
dc1f9da40202702f87a098dc70bcc6db7c264611
refs/heads/master
2022-06-12T13:20:57.617860
2020-05-05T10:16:44
2020-05-05T10:16:44
261,422,717
0
0
null
null
null
null
UTF-8
C++
false
false
296
h
EmptyClass.h
#pragma once // An empty class. Useful for template classes where the template is the base class and want to specify don't derive // from anything // // template<typename BASECLASS> // class tClassT : public BASECLASS // // typedef tClassT<tEmptyClass> tClass; class tEmptyClass { };
448444281fe810dfd3550f6efed29501dd4ebda0
987184fb47e0599aee86abab42fe4d2c1b3aff6a
/src/fakeBackgroundAuxFunctions.cc
affdd7fb0f4d6b1a3a89f05c7877e60b36765f60
[]
no_license
siddhesh86/tth-htt
803e663e3e1ebc4f718e85dccc62887ee7e4a3dd
79afc909f22a0b7ccfc3bdf81dd51369dc088e07
refs/heads/master
2021-09-13T13:26:48.745122
2017-12-22T11:55:03
2017-12-22T11:55:03
108,720,824
0
0
null
2017-10-29T09:25:33
2017-10-29T09:25:33
null
UTF-8
C++
false
false
4,028
cc
fakeBackgroundAuxFunctions.cc
#include "tthAnalysis/HiggsToTauTau/interface/fakeBackgroundAuxFunctions.h" double getWeight_1L(double prob_fake, bool passesTight) { double p = prob_fake/(1. - prob_fake); double weight = p; return weight; } double getWeight_2L(double prob_fake_lead, bool passesTight_lead, double prob_fake_sublead, bool ...
4d18714bce1470686737f4c6869173a8b5e0bf77
6e507c901947ca9e3564e4adbe8c0c9f778bfb91
/SeedEngine_16_model/Engine/Singleton.h
d5d7571a801e6e212dd98b9bdc1dc72200ecf202
[]
no_license
poigwym/SeedEngine
0b07960721d01ec99a0a06b9fda43bfeabd4d3be
06f72d35a9c0e610f8f0801fbc62d9440a592e8a
refs/heads/master
2021-01-10T04:37:20.414481
2016-03-03T14:28:53
2016-03-03T14:28:53
51,929,020
2
0
null
null
null
null
UTF-8
C++
false
false
448
h
Singleton.h
#pragma once namespace Seed { template<class T> class Singleton { private: Singleton(const Singleton&) {} Singleton& operator =(const Singleton&){} protected: static T *instance; public: Singleton() { assert(instance == 0); } ~Singleton(){ assert(instance != 0); } static T& getInstance() { re...
9294addf8ff0306d5ce7d531e0a255e2971007d5
e97713fe759ab8487168845ec2c6f19ef9137abe
/PS/Pro_17684.cpp
28c32b101a2c29881346e2ed36000ec3979c4c16
[]
no_license
choyj2012/STUDY
3b7c940da2dc73655f2548ff82a79929ac4fda3a
44487569e11e6ea83d428332ac0dd787786ffe9d
refs/heads/master
2023-06-10T06:27:16.465411
2023-06-07T07:54:42
2023-06-07T07:54:42
265,475,469
0
0
null
null
null
null
UTF-8
C++
false
false
966
cpp
Pro_17684.cpp
#include <iostream> #include <string> #include <vector> using namespace std; typedef struct _node { _node *next[26]; int index = -1; }NODE; vector<int> solution(string msg) { vector<int> answer; NODE *root = new NODE(); int lastidx = 1; for (int i = 0; i < 26; i++) { NODE *tmp = new NODE(); root->next[i] =...
57d12411256eb025e78a899b26d4cb68de11d5f1
709cd826da3ae55945fd7036ecf872ee7cdbd82a
/Term/WildMagic2/Renderers/OpenGL/WmlOpenGLPlanarShadow.cpp
56a2caa42e14ccf82d9805d3d7299913541c2337
[]
no_license
argapratama/kucgbowling
20dbaefe1596358156691e81ccceb9151b15efb0
65e40b6f33c5511bddf0fa350c1eefc647ace48a
refs/heads/master
2018-01-08T15:27:44.784437
2011-06-19T15:23:39
2011-06-19T15:23:39
36,738,655
0
0
null
null
null
null
UTF-8
C++
false
false
6,459
cpp
WmlOpenGLPlanarShadow.cpp
// Magic Software, Inc. // http://www.magic-software.com // http://www.wild-magic.com // Copyright (c) 2003. All Rights Reserved // // The Wild Magic Library (WML) source code is supplied under the terms of // the license agreement http://www.magic-software.com/License/WildMagic.pdf // and may not be copied or ...
28ff85e3b28817c6fd1f3050f1f65454c9ed27f6
542c26394b780093107dcf27be78a2589cee4f8b
/competitive-coding/spoj/amr11e.cpp
1f513023a45c22fd6700b622bbffc8b9a1521840
[]
no_license
krypten/competitive-coding
4aaf46d13835d7bd762ea420a6442b87c0013029
a1a4f3572acb06710d55d1064121739270d3ec1b
refs/heads/master
2021-07-04T16:46:12.685267
2015-02-07T01:46:15
2015-02-07T01:46:15
17,129,831
0
1
null
2020-09-30T13:35:51
2014-02-24T08:29:58
C++
UTF-8
C++
false
false
1,538
cpp
amr11e.cpp
#include <cstdio> #include <cmath> #include <cstring> #include <map> using namespace std; int main() { int i, j; int t,n,m,l,g; int prime[640]; int arr[100000]; int size; int tmp; int start; int flag; int k, ctr; map < int, int> mp; map < int, int> :: iterator it; size = 0...
8a7cd3d22c66221dbd60a77fb8115cd706764a41
2ce0fc45be3d21c67f9551614497f764d1b8a51e
/nir-fld-mtcnn/nir-fld-mtcnn/include/detector/detector.h
547351a31f6b8b7ca388d23c2327ce0ab3132a49
[ "MIT" ]
permissive
mike07026/anti-spoofing-1
9d712f0279f275935b56ef1fdae64f3cb7f62126
dbb18b5afe2b8fc34fccb0502624a2a8d231debc
refs/heads/master
2020-04-12T09:23:44.761640
2018-12-12T02:38:07
2018-12-12T02:38:07
null
0
0
null
null
null
null
GB18030
C++
false
false
1,295
h
detector.h
#ifndef __ZK_DECTOR_H__ #define __ZK_DECTOR_H__ #include <iostream> #include "opencv2/opencv.hpp" #include <mtcnn/mtcnn.h> #include <flow/flow.h> #include <utils/util.h> #include <net/mx_shuffle_predict_2.h> using namespace cv; using namespace std; namespace detect { class Detector { public: Detector(); int ...
a2104b73ecca7abe40c099bcaa4e3620bff8df98
f20e965e19b749e84281cb35baea6787f815f777
/LHCb/Det/CaloDet/src/Lib/DeCalorimeter.cpp
dc4dae6102928b74b30e664eea78f330a03930a6
[]
no_license
marromlam/lhcb-software
f677abc9c6a27aa82a9b68c062eab587e6883906
f3a80ecab090d9ec1b33e12b987d3d743884dc24
refs/heads/master
2020-12-23T15:26:01.606128
2016-04-08T15:48:59
2016-04-08T15:48:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
65,957
cpp
DeCalorimeter.cpp
// ============================================================================ #define CALODET_DECALORIMETER_CPP 1 // ============================================================================ // STL // ============================================================================ #include <cmath> #include <algorithm...
39ae5375cebe15d2d2e7c1ae7d47642531f652e6
98f84b918ecef6fd9977af76dad3197672151616
/testcase_generator.cpp
744edf8ec80e6cb94940702a2f9f9779795d913d
[ "MIT" ]
permissive
parthlathiya/Codebook
88b5bfdba33f12172140d3864a77fe006bcb8b43
bda55c70f0cc01888a63dce4ae92aec98e1b5fa1
refs/heads/master
2021-04-15T09:32:50.080869
2018-12-03T03:28:14
2018-12-03T03:28:14
126,205,103
0
0
null
null
null
null
UTF-8
C++
false
false
2,611
cpp
testcase_generator.cpp
#include <bits/stdc++.h> using namespace std; #define rep(i,a,b) for(ll i=a;i<b;i++) #define re(i,b) for(ll i=0;i<b;i++) #define repr(i,n) for(ll i=n-1;i>=0;i--) #define ll long long #define ld long double #define llu long long unsigned #define vll std::vector<ll> #define m...
07d3d26824e0bb819fe96f18e4238eab403a026b
7f6279346c12f6215da36f667177b43583b9108d
/UnitTests/TestGrabCommand.cpp
33f6947645338f826916cb9bc7f281d6084da207
[]
no_license
RodTGG/Zorkish
22304a89c15f3db73b1792a432e60c88287d8f76
a14156def6edfb96ca731655081dd172b201c4c8
refs/heads/master
2021-06-10T10:38:30.119127
2017-01-11T12:04:22
2017-01-11T12:04:22
68,937,130
0
0
null
null
null
null
UTF-8
C++
false
false
1,292
cpp
TestGrabCommand.cpp
#include "stdafx.h" #include "CppUnitTest.h" #include "..\Zorkish\Player.h" #include "..\Zorkish\Graph.h" #include "..\Zorkish\MoveCommand.h" #include "..\Zorkish\LookCommand.h" #include "..\Zorkish\GrabCommand.h" #include "..\Zorkish\PutCommand.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namesp...
3ce314db9b8b41d83d3f0ccdc7c2ee0ecbb2ddcc
317c7bbb3ce5bc47fc88ad68812d19ba8823d99d
/src/math/lcm.hpp
c7eb97f7060a1b6a0bb8fb0086cc2808c6ef1fff
[]
no_license
gtnao0219/algorithm
f7d6c8e86ed75d420ecce2042204f25e0759f465
1fd6a44dfd1456997f9caca683b414a96b7ef8ce
refs/heads/main
2023-03-17T14:41:54.020904
2023-02-26T17:40:15
2023-02-26T17:40:15
201,729,617
0
0
null
null
null
null
UTF-8
C++
false
false
161
hpp
lcm.hpp
#pragma once #include <bits/stdc++.h> using namespace std; #include "gcd.hpp" template <typename T = long long> T lcm(T a, T b) { return a / gcd(a, b) * b; }
0c7be6186bfaad23f9eb22530e6904b6fd06f9df
2f087a38e32c17f7939e204570d881834657db23
/DecodeStage.h
1d6aea19d704c7f5de4740d1b9e04dcbb3a4f357
[]
no_license
Atunez/Y86Sim
9680f9752118b0c676dee481a1f0bd4cac1a984d
42ddcc933c1e5cff57c86b7b726e1678bd93d6d2
refs/heads/main
2023-02-05T23:37:52.272294
2020-12-30T19:00:33
2020-12-30T19:00:33
325,625,824
0
0
null
null
null
null
UTF-8
C++
false
false
948
h
DecodeStage.h
//class to perform the combinational logic of //the Fetch stage class DecodeStage: public Stage { private: void setEInput(E * ereg, uint64_t stat, uint64_t icode, uint64_t ifun, uint64_t valA, uint64_t valC, uint64_t valB, uint64_t dstE, uint64_t dstM, uint64_t srcA, uint64_t srcB); uint64_t gsrc...
7c3c41e1472b6a878977e7b7ef3519cfc90262f5
7c1789b5859bc63fdc75b06fd7695922f11ce236
/17/17.cpp
e1ee22c6fbc7c1d9eb676c307ab4d70e1faeb0f9
[]
no_license
huangf20/practice
73256bf30c037a2cfe176cd8a81261e66bdfc7d0
fc10d603a084dc6157957c0d1ba74512c66dc841
refs/heads/master
2020-03-17T06:48:13.433752
2018-06-03T10:39:29
2018-06-03T10:39:29
133,370,084
0
0
null
null
null
null
UTF-8
C++
false
false
455
cpp
17.cpp
#include<stdio.h> #define M 3 #define N 3 int main() { int a[M][N]={{1,2,3,},{4,5,6},{7,8,9}}; int b[N][M]; int i,j; for(i = 0;i < M;i++) { for(j = 0;j < N;j++) { printf(" %d",a[i][j]); } printf("\n"); } printf("********\n"); for(i = 0;i < N;i++) { for(j = 0;j < M;j++) b[i][j] = a[j][i];...
a15f4287870b28901de042891f29452efa659c19
12617ea743c04de9697695286101ee704b9e35de
/Labs/src/Block.cpp
78a92f2734b40d73f738f91c19660b5f06e3017c
[]
no_license
Devineadz/christmas-wheels-on-the-bus
7b5b9a273de1ef1bac53eb86c1eaa288fb25d9f1
e546213661d8b0fcc79c1d9dadcc970d2cafee77
refs/heads/master
2023-03-08T04:37:02.810757
2021-02-27T19:37:54
2021-02-27T19:37:54
262,841,938
0
0
null
null
null
null
UTF-8
C++
false
false
1,771
cpp
Block.cpp
#include "Block.h" #include <GLFW/glfw3.h> #include <glm/glm.hpp> // GLM is an optimized math library with syntax to similar to OpenGL Shading Language #include <glm/gtc/type_ptr.hpp> #include <glm/gtc/matrix_transform.hpp> // include this to create transformation matrices #include <glm/common.hpp> using namespace ...
cad6f9ead82565afa97e0d15eaa391ffaf2c400e
0aa69fd780e27472bcf443c532ff29954e453c48
/SphereFlakePlayer/src/meshes/MeshFactory.h
2e6d9b5d3b0651ea11f6dc8c8673d6262a1ba4a0
[]
no_license
perushinkov/sphere-flake-player
6d558048ac73b7835d8bcb4f8d8632690bdd755b
b575a7a030ce3d061466e3d3d18268fe8a1ed0bc
refs/heads/master
2021-01-01T03:49:30.594396
2019-04-27T14:39:34
2019-04-27T14:39:34
59,666,937
1
0
null
null
null
null
UTF-8
C++
false
false
330
h
MeshFactory.h
#ifndef PERUSHINKOV_MESH_FACTORY_H #define PERUSHINKOV_MESH_FACTORY_H #include "Mesh.h" #include "Polygon.h" // Holds easy to use adapters for mesh creation. Abstracts the type of the different meshes away. class MeshFactory { public: static Mesh* createPolygon(Vertex* data, int length); private: MeshFactory(){} ...
186745810d22a5b7ef286defcd31c2dde567ed52
e7fab19e81406f9b3e2853d05b5ffb80130fc7f5
/include/vm/hostfunc/ethereum/getcalldatasize.h
5b81178e1fc3d2cc751ca577f62f62aeadc29005
[ "BSD-3-Clause", "Apache-2.0", "CC0-1.0" ]
permissive
pventuzelo/SSVM
83659510b76ad298ab0823810ca0904c14336856
abfc4c95609eac43012b5330cb49de599134d5e4
refs/heads/master
2020-11-28T09:00:58.498312
2019-12-18T11:54:07
2019-12-18T11:54:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
557
h
getcalldatasize.h
// SPDX-License-Identifier: Apache-2.0 #pragma once #include "eei.h" namespace SSVM { namespace Executor { class EEIGetCallDataSize : public EEI { public: EEIGetCallDataSize(VM::EVMEnvironment &Env, uint64_t Cost = 100); EEIGetCallDataSize() = delete; virtual ~EEIGetCallDataSize() = default; virtual ErrCode...
01afb90dc22d131cd16fdd13a8f3908c0e129e2e
cc65476b72b2d6e4d0711875c5408d45d5a3ec81
/source/directionalControl/RectifiedMove.hpp
bf232fe0fb3c29eaa406698d6abcdd87b7a71e66
[ "MIT" ]
permissive
elheck/HexapodBasicWalking
d943194113b2641515f6dcb30930ba2f1c4ce3ad
732f9dd72162468b0289bac1100070915b9b3e13
refs/heads/master
2020-03-27T07:57:35.352796
2018-09-03T17:52:30
2018-09-03T17:52:30
146,209,223
0
0
null
2018-09-03T17:52:31
2018-08-26T19:15:26
C
UTF-8
C++
false
false
898
hpp
RectifiedMove.hpp
/* * RectifiedMove.hpp * * Created on: Jan 30, 2018 * Author: aron */ #ifndef DIRECTIONALCONTROL_RECTIFIEDMOVE_HPP_ #define DIRECTIONALCONTROL_RECTIFIEDMOVE_HPP_ #include "Modes.hpp" class RectifiedMove { public: RectifiedMove(); RectifiedMove(const RectifiedMove& move); RectifiedMove(float leftX, floa...
a8c1e9eaefe33e9f84a23cd13199157f86e4e9bf
3008b9021836eb046c771129c3d57ccf3aff170f
/samples/Demo/Customer.h
64ee829b56976244a27899258f78fd3d74744cd4
[ "MIT" ]
permissive
SergiusTheBest/plog
89dac3b73e5768bef946afa0c4d5d19a1a30a45a
e21baecd4753f14da64ede979c5a19302618b752
refs/heads/master
2023-08-27T23:00:02.256225
2023-08-20T10:06:32
2023-08-20T10:06:32
27,380,078
2,086
445
MIT
2023-08-30T16:04:05
2014-12-01T13:11:47
C++
UTF-8
C++
false
false
269
h
Customer.h
#pragma once #include <string> #include <iostream> struct Customer { int id; std::string name; }; inline std::ostream& operator<<(std::ostream& os, const Customer& obj) { os << "Customer (id: " << obj.id << ", name: " << obj.name << ")"; return os; }
b6756e24133274d114823446f0b834c331c53a36
4ac67c3ad45ad8d5ea9febac540dd7c3f9202a5d
/CastleVania/Axe.cpp
5c8e4a531a8dc8dd7956545b3f44fe8d5f549b33
[]
no_license
thangtmc73/NhapMonPhatTrienGame
032098c8be4caf02906f30ae6af8c983de061d72
d44a06eb2d260c319d274c8091b5ae26bfea3b8d
refs/heads/master
2020-04-14T22:19:28.407269
2019-01-04T22:06:26
2019-01-04T22:06:26
164,158,219
0
0
null
null
null
null
UTF-8
C++
false
false
669
cpp
Axe.cpp
#include "Axe.h" #include "Resources.h" #include "Utils.h" CAxe::CAxe(float a_x, float a_y) : CDynamicObject() { _boundingBox.position.x = a_x; _boundingBox.position.y = a_y; _sprite = new RSprite(Resources::getInstance()->getTextureWithName("caxe")); SpriteSheetInfo info; info.numCols = 1; info.numRows = 1; in...
7a8a1e9add6e34a43637e1b4ef5a076a810bf756
480e33f95eec2e471c563d4c0661784c92396368
/PhysicsTools/HepMCCandAlgos/plugins/HFFilter.cc
81fc7ce2d79275e60314680f28cff6716d5abb17
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
C++
false
false
2,081
cc
HFFilter.cc
#include "PhysicsTools/HepMCCandAlgos/interface/HFFilter.h" #include "PhysicsTools/JetMCUtils/interface/JetMCTag.h" #include "DataFormats/HepMCCandidate/interface/GenParticle.h" using namespace std; // // constructors and destructor // HFFilter::HFFilter(const edm::ParameterSet& iConfig) { genJetsCollToken_ = cons...
82d7667851a9f33de402bbd4a0e0f6b8051614f6
5ed3c9ec132db9a392f3432e509a73ef2ebdbe12
/Q1_50/005.hpp
3639a3e0dd473964c06c8befa4810aedb0294fb3
[]
no_license
SSSSSolution/LeetCode
e8d0ae15606fe85b2695ade32b37f30dfc5d360e
c90f9ff256e119795bb90ea8189e55b119f9567a
refs/heads/master
2020-06-03T13:22:40.400184
2020-03-19T09:58:04
2020-03-19T09:58:04
191,583,785
0
0
null
null
null
null
UTF-8
C++
false
false
3,108
hpp
005.hpp
#include <iostream> #include <string> using namespace std; class Solution { public: // 动态规划法 string longestPalindrome1(string s) { int maxlen = 1; int head = 0; int tail = 0; bool **table = (bool **)malloc(sizeof(bool *)*s.size()); for (int i = 0; i < s.size(); ++i) { ...
830438da0dcb496728807a0352b4594c60162238
2725f5260350b40c7ee1e8aba24daa83aaa46672
/generator.cpp
0fe6970ec833f8a9e7e5dbba1f94796c650fd059
[]
no_license
RoyaleNoir/seed-reversal-merged
9653701dff85e82971c3709eee258abc89094b70
6c7d6916435434be4428b26f1352adf50e750378
refs/heads/master
2022-12-08T09:13:57.809590
2020-08-14T11:08:41
2020-08-14T11:08:41
287,513,219
0
0
null
2020-08-14T11:04:32
2020-08-14T11:04:31
null
UTF-8
C++
false
false
5,355
cpp
generator.cpp
#include "generator.h" #define WATERFALL_Z 9 #define TREE1_X -5 // Left tree on the image #define TREE1_Z WATERFALL_Z - 8 #define TREE1_HEIGHT 5 #define TREE2_X -3 // right tree on the image #define TREE2_Z WATERFALL_Z + 3 #define TREE2_HEIGHT 5 bool generator::ChunkGenerator::isValidTreeSpot(int treeX, int treeZ, bo...
aa5b48d50cad13b4fb4efd848bdbec7c4649e2e5
6a77cf2ad22c055f7f972ae96eeb27640c13a35d
/temperature/temperature.ino
c15fc21cb28739589349b013ad7293daae4b7898
[]
no_license
reverson/pet_projects
986658c971f9297b8dbab268e1e715a24cb6e312
f7a7c26ccf82616b7a3fb53c49e59384b7c93518
refs/heads/master
2021-01-24T06:13:30.885987
2013-01-14T18:59:00
2013-01-14T18:59:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,665
ino
temperature.ino
#include <math.h> //unsigned long UpdateDelay = 1000UL * 60 * 5; //Update frequency unsigned long UpdateDelay = 10; const byte Temperature1Pin = A3; //Thermistor 1 (Outdoor) const int Resistance1 = 9900; //Ohms (measured from R10K of voltage divider 1) const byte NbSamples = 8; //Averaging void setup() { delay(1000)...
3f700f462e2f659dd9d3289f161016b5fdea5919
9fd80101ae3b5b6d632ffbd4475e20942ebd4b2b
/central_place/graph/base/_graph_data_storage_base.cpp
a289b0be32e9abb063680e1fa94f69cd4f59067d
[]
no_license
NarekAt/DiplomaProject
cb18587c77a2ea65ab8657dc4904438c15c77857
3b90417bafb24e297a70dca151584933a977f1c0
refs/heads/master
2021-06-06T01:14:10.671713
2016-05-20T21:52:37
2016-05-20T21:52:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,270
cpp
_graph_data_storage_base.cpp
/** * @file base/_graph_data_storage_base.h * @brief Definition of graph_data_storage_base abstract class. */ #include "_graph_data_storage_base.h" #include <assert.h> #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> #include <boost/archive/binary_oarchive.hpp> #include <boost/a...
1891ac3b652d2724305ab0058d2d5cdd22d89f98
5dc9a1cb9bd2737c915a3f36ff2fc4ce02d9a285
/Roteiro_4/omar.cpp
0820ce4eb0967c13e583a2dcaa711a30a488fa52
[]
no_license
marcospqf/Roteiros
c95f8b08b730f60c97a04a9a6e7a51e570d6858b
da03e50dfbc8fb348624b80fcec2b2325cfc039a
refs/heads/master
2021-01-19T12:18:56.772502
2016-10-05T04:59:35
2016-10-05T04:59:35
70,031,235
0
0
null
null
null
null
UTF-8
C++
false
false
1,275
cpp
omar.cpp
#include <cstring> #include <iostream> #include <bitset> #include <cstdlib> #include <set> #include <map> #include <vector> #include <string> #include <queue> #include <stack> #include <cstdio> #include <cmath> #include <utility> #include <algorithm> #include <iomanip> #define sc(a) scanf("%d", &a) #define sc2(a, b) sc...
8383d621f143757b607d143ca6707b9f48ca5f47
3fa7f2879ef96b684fe3b3066d4d83a085da477d
/Algorithm_174/Algorithm_174/main.cpp
8104f9945ac30aa8c3d0dccd878fe2071a2c0f6a
[]
no_license
ChuanF1998/Algorithm
826475ed1cb3afccdd92ea154a4de48fe890af09
cbc74232a73d04458bac869a1fa1ad4b7018bf81
refs/heads/master
2020-09-08T16:21:18.673092
2020-06-14T15:24:49
2020-06-14T15:24:49
221,182,208
0
0
null
null
null
null
UTF-8
C++
false
false
1,932
cpp
main.cpp
/* 题目:字符串距离计算 题目描述 给定两个长度相等的,由小写字母组成的字符串S1和S2,定义S1和S2的距离为两个字符串有多少个位置上的字母不相等。 现在牛牛可以选定两个字母X1和X2,将S1中的所有字母X1均替换成X2。(X1和X2可以相同) 牛牛希望知道执行一次替换之后,两个字符串的距离最少为多少。 示例1 输入 复制 "aaa","bbb" 输出 复制 0 说明 牛牛可以将S1中的字符'a'全部替换成字符'b',这样S1就变成了"bbb",那么S1和S2的距离就是0 示例2 输入 复制 "aabb","cdef" 输出 复制 3 说明 一种可行的方案是将S1中的字符'a'全部替换成字符'c',那么S1变成了"ccbb"...
d31d523a718dd55d2afe5b56a2007bc5e4b7dee0
34d44a9ca7e6eb63495247ed2aed146b55f1c7db
/QuestionAns/weilinfox/1788.cc
052336c1c57bae6408fa2c4d0449b4169f7aacbc
[]
no_license
sdustlug/OpenJudge
2419c00824f29144864571e1d25c9de1a09350d2
a6550441691470df505f6a971bc9661ced1b0773
refs/heads/master
2023-09-03T11:48:01.041727
2021-10-18T13:47:57
2021-10-18T13:47:57
418,521,703
1
0
null
null
null
null
UTF-8
C++
false
false
3,126
cc
1788.cc
#include <iostream> #include <algorithm> #include <map> #include <set> #include <iomanip> #include <stack> #include <sstream> #include <cstdio> using namespace std; template <class T> class Data { T value; public: Data(T n=0):value(n) {} ~Data() {} void setValue (T n) {value = n;} ...
b9ac5987b407aad23014318250c2119515a8b755
3f78a9da3eecc6d8e401f1cce37e054a252930bc
/[CC]Quest/QuestExecute_RandomItem.h
2bede61a8e7e606a1eb369b28fff87a3f50a08a9
[]
no_license
apik1997/Mosiang-Online-Titan-DarkStroy-Azuga-Source-Code
9055aa319c5371afd1ebd504044160234ddbb418
74d6441754efb6da87855ee4916994adb7f838d5
refs/heads/master
2020-06-14T07:46:03.383719
2019-04-09T00:07:28
2019-04-09T00:07:28
194,951,315
0
0
null
2019-07-03T00:14:59
2019-07-03T00:14:59
null
UTF-8
C++
false
false
1,035
h
QuestExecute_RandomItem.h
// QuestExecute_RandomItem.h: interface for the CQuestExecute_RandomItem class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_QUESTEXECUTE_RANDOMITEM_H__E5FAF1F8_D9F2_4B21_9792_D7F488E99EF6__INCLUDED_) #define AFX_QUESTEXECUTE_RANDOMITEM_H__E5FAF1F8_D9F2_4B21_9792_D7F488E99...
9ca7e5a0c7312d4631818b55f290b757bb697c79
72aca11f973b7c337012475ad3111cd20a5dd589
/codeforces/1316F-BattalionStrength.cpp
cb2cd501cff8bae5e43ab1b1e10f160ea22d4495
[]
no_license
aplqo/exercises
a4cee1acbef91e64aee2bd096cd7e0bb834926a4
e28f14eaf89481c34bc1a27206e8cea2d2d94869
refs/heads/master
2021-06-25T06:34:09.535835
2021-04-08T13:52:39
2021-04-08T13:52:39
217,698,619
0
0
null
null
null
null
UTF-8
C++
false
false
3,524
cpp
1316F-BattalionStrength.cpp
#ifdef APTEST #include "debug_tools/judge.h" #endif #include <algorithm> #include <cstring> #include <iostream> #include <iterator> const int maxN = 3e5, maxQ = 3e5; const unsigned int mod = 1e9 + 7, inv2 = 500000004; struct Number { inline friend Number operator+(const Number l, const Number r) { const unsign...
267db07297a337971a52df39f4b507c042bb1cd2
b0f8404fc70afdd97c1425164a3ce81f1fd604b0
/RPNCaluculator/RPNCaluculator.h
bf025c7f7ef1bca4727314b89aab06c0db2db93f
[]
no_license
Ozamoto1/RPN
8972b7a904e6feb56e48421d4ec5700743ece00c
3899f37d3127f6de06941c865292631ad8206ff1
refs/heads/master
2022-08-17T10:01:42.243867
2020-05-26T07:21:16
2020-05-26T07:22:01
266,939,474
0
0
null
null
null
null
UTF-8
C++
false
false
695
h
RPNCaluculator.h
 // RPNCaluculator.h : PROJECT_NAME アプリケーションのメイン ヘッダー ファイルです // #pragma once #ifndef __AFXWIN_H__ #error "PCH に対してこのファイルをインクルードする前に 'pch.h' をインクルードしてください" #endif #include "resource.h" // メイン シンボル // CRPNCaluculatorApp: // このクラスの実装については、RPNCaluculator.cpp を参照してください // class CRPNCaluculatorApp :...
95dbb51b159421d587c8e2a4f2521b0aa71cb8f1
f70404517b9389b9a99bb0b98e4aadad2bbe8ade
/1123.cpp
ec48eab706658ee2ff1ea346a816d9d3c9a87d8a
[]
no_license
q4x3/sjtu_OJ
f665a839a5da9a0c5820665d01673ecd185aba6d
c4b22a23455bf418625c1594b3d348fc56dd4dda
refs/heads/master
2021-03-20T17:30:50.843355
2020-09-14T11:43:52
2020-09-14T11:43:52
247,221,199
1
0
null
null
null
null
UTF-8
C++
false
false
4,891
cpp
1123.cpp
/** * 线段树优化dp * dp[i][j][0or1]表示以点i结尾的j段划分方案数(0表示最后一段上升,1表示最后一段下降) * 线段树按y值划分,注意应先将y值按大小映射到1-n上,方便建树 * 这题可太nm难了 * 虽然说可以用树状数组优化 * 但我不会树状数组啊喂 * 中间注释掉的部分是暴力dp **/ #include <iostream> using namespace std; struct node { int x, y; }; void mergex(int lo, int mi, int hi, node* a) { node* A = a + lo; int ...
687f68a49b0c192721196721980a20798529c45c
a7764174fb0351ea666faa9f3b5dfe304390a011
/inc/TDF_HAttributeArray1.hxx
4ccbf64425b322b547a3aa7e1cff00ef743825e5
[]
no_license
uel-dataexchange/Opencascade_uel
f7123943e9d8124f4fa67579e3cd3f85cfe52d91
06ec93d238d3e3ea2881ff44ba8c21cf870435cd
refs/heads/master
2022-11-16T07:40:30.837854
2020-07-08T01:56:37
2020-07-08T01:56:37
276,290,778
0
0
null
null
null
null
UTF-8
C++
false
false
2,870
hxx
TDF_HAttributeArray1.hxx
// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _TDF_HAttributeArray1_HeaderFile #def...
8ab701d0814279887d184a6406585c8c566a0957
d03309b8465f50e0580ec1754e41c5fbe6c334ab
/src/TNRSModules/MotionModule/src/MotionPlayback/MotionPlayback.cpp
c4347373cd3852dba937b22a70070ef0edfc4af1
[ "BSD-3-Clause" ]
permissive
saifullah3396/team-nust-robocup-v2
7d042f3232e5e19504efee24bdf72cf4e08a0a6e
4f1953817def77c1c6157bd82208bc39a797d557
refs/heads/master
2020-04-27T18:12:38.482594
2019-09-01T10:42:51
2019-09-01T10:42:51
174,559,212
0
0
null
null
null
null
UTF-8
C++
false
false
1,179
cpp
MotionPlayback.cpp
/** * @file MotionModule/src/MotionPlayback/MotionPlayback.cpp * * This file declares the class MotionPlayback * * @author <A href="mailto:saifullah3396@gmail.com">Saifullah</A> * @date 26 Dec 2017 */ #include "MotionModule/include/MotionBehaviorIds.h" #include "MotionModule/include/MotionPlayback/MotionPlaybac...
4c1d8f456aa8bb1b918c695400946770e755026f
04ab19cf4f19d084fbd08934db8db462fea534ce
/faceAndCardReg/CarderReader1.cpp
a6ab4f94323ab701ccd96d3786a50ed05255f02f
[]
no_license
jkinggu/archFaceRegFinal
31ae7f53a845908679f8628fd6302273ede198e5
5504ca4ae37a33749c900d890a49826ddb863d62
refs/heads/master
2020-09-29T14:52:02.490751
2019-12-10T08:56:26
2019-12-10T08:56:26
227,057,728
0
0
null
null
null
null
UTF-8
C++
false
false
349
cpp
CarderReader1.cpp
#include "CarderReader1.h" CarderReader1::CarderReader1(QWidget *parent) { } void CarderReader1::run() { QTimer timer; connect(&timer,SIGNAL(timeout()),this,SLOT(dealTimeout())); timer.start(500); QEventLoop loop; loop.exec(); } void CarderReader1::dealTimeout() { qDebug() << "openCamer"; } CarderR...
808251fa9c01738fa6c9db21ae6adac0bc59dced
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/git/gumtree/git_old_hunk_1814.cpp
88c27e95caaaa53afd6f14b3ab9bab2647900a06
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
362
cpp
git_old_hunk_1814.cpp
/* foo[/]bar vs foo[] */ return is_dir_sep(*subdir) ? offset + 1 : -1; } int is_inside_dir(const char *dir) { char cwd[PATH_MAX]; if (!dir) return 0; if (!getcwd(cwd, sizeof(cwd))) die_errno("can't find the current directory"); return dir_inside_of(cwd, dir) >= 0; } int is_empty_dir(const char *path) { DIR...