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
b925f436c5d7d2a9690df9096cb61a8c2ef22543
f1c59011e98734133a881100bb552f22e7d045b0
/project/safe_thread.h
f4e183d3534e1c50a3eb2669db152615c592f27b
[ "MIT" ]
permissive
Cabrra/Nightmare-Scene
e1efc418cfb96db23fb50d6514f6fe6e6ac38d3b
885ea93143600810041934081fe332cfa68292d6
refs/heads/master
2021-03-16T08:43:42.236511
2018-10-25T04:13:18
2018-10-25T04:13:18
25,941,897
0
0
null
null
null
null
UTF-8
C++
false
false
3,094
h
safe_thread.h
#pragma once #include <thread> #include <mutex> // The safe thread class pretends to be a std:thread but uses a mutex to // try and make using certain functions thread-safe such as join().(allows multiple threads to wait for this thread) // only thread saftey is added, no extra error checking is done to try and stay c...
0fe54053a12539888fc768802f53e19de211c0b4
9bc38e65519695e812407377dea0924c4bc384d5
/ConstantBuffer.h
087640aa2274263b36f3c44c2ffd43cdc929c808
[]
no_license
danmccor/DirectX11-Showcase
9179b4244b912e3734dc3b33e910e918f76064d1
7b86d9a851f5999d5acd16f9d5b42c84e82f8a7d
refs/heads/master
2022-11-15T18:47:20.311604
2020-07-08T14:48:45
2020-07-08T14:48:45
278,116,781
0
0
null
null
null
null
UTF-8
C++
false
false
1,942
h
ConstantBuffer.h
#pragma once #ifndef ConstantBuffer_h__ #define ConstantBuffer_h__ #include <d3d11.h> #include <wrl/client.h> #include "cBufferTypes.h" //A template class to store the constant buffer ///Used as a template to ensure you can either pass in a vertex shader constant buffer or a pixel shader constant buffer template<class...
7731fac9dfc07fc5da72ef740f69653590fc4e4e
98fe6ce8218507e88803739d95d4c454e4cda164
/balloc/src/back.cpp
e49809295fc9a8232f1b0d2b80052c223b175709
[]
no_license
ashokzg/cpb
fb8ae5a06261fdd32cbd796a490ddfbf27587a13
0115217751327c5c9c669b7c00998d1593cb9b25
refs/heads/master
2021-01-22T12:12:06.579649
2013-05-11T02:17:40
2013-05-11T02:17:40
8,245,999
0
0
null
null
null
null
UTF-8
C++
false
false
4,758
cpp
back.cpp
// ROS communication #include <ros/ros.h> #include <image_transport/image_transport.h> #include <tf/transform_listener.h> // Msg->OpenCV #include <cv_bridge/CvBridge.h> #include <image_geometry/pinhole_camera_model.h> // OpenCV & blob detection #include <opencv/cv.h> #include <opencv/highgui.h> #include <BlobResult.h...
c80138dd41c40c532eb5a85a22384fd8e518578f
ac58b95b33a675ee3a7e858c7574a9de511a96fb
/USACO/money_systems/money_systems.cpp
e2bca6fbd0c1f37a10040f98f95f4ea5c6c11c1a
[]
no_license
lshain/algorithm
4d55efecf154c7d89ee5a2ed9dd1a54000ee359a
d05edf18fda840e25a34d17fec6cb219ed67df72
refs/heads/master
2020-05-07T11:56:20.424743
2014-08-08T01:30:58
2014-08-08T01:30:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
783
cpp
money_systems.cpp
/* ID: lshain.1 PROG: money LANG: C++ */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <string> #include <vector> #include <map> #include <set> #include <algorithm> using namespace std; unsigned long long ans[10001]; unsigned long long vv[26]; int v, n; int main( int argc, char* argv[], ...
74ea7862905e6e6a57a20a1a74dc9ed7b86631ae
7e2e71956fdf70da787bf4edcfcf7ecd34fd9c99
/o2Engine/Sources/Animation/Animation.cpp
9e6e8c1c08ee0bf72842837bc13cbd35b4afb2ce
[]
no_license
dmitrykolesnikovich/o2
579abb53c805b117d11986017dcdb50f50d75409
c1b9038c6f56466ab96544c0e9424e4b9baf6553
refs/heads/master
2020-03-13T00:31:46.701057
2018-04-23T19:33:58
2018-04-23T19:33:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,552
cpp
Animation.cpp
#include "stdafx.h" #include "Animation.h" #include "Animation/Animatable.h" #include "Animation/AnimatedValue.h" #include "Utils/Debug/Debug.h" #include "Utils/Basic/IObject.h" namespace o2 { Animation::Animation(IObject* target /*= nullptr*/): mTarget(nullptr), mAnimationState(nullptr) { SetTarget(target); }...
d674ab1cc5eb18183a884c8d6d208f54f615e6a8
103f3f1b070eca4b722be58ba04f5688fd4c0d2a
/libraries/chain/include/eosio/chain/reversible_block_object.hpp
7c4877a05f9baab19979b0dd12f72a55bcc7e7e3
[ "MIT" ]
permissive
pinklite/fio
dbd2901144b6766b756f5f1970c4d78161462b79
fc4652bbaf1f4b7c2abc2817afcfe09b36d46171
refs/heads/master
2022-07-03T23:21:10.989208
2020-05-17T10:49:37
2020-05-17T10:49:37
264,540,810
2
0
MIT
2020-05-16T22:40:34
2020-05-16T22:40:33
null
UTF-8
C++
false
false
2,417
hpp
reversible_block_object.hpp
/** * @file * @copyright defined in fio/LICENSE */ #pragma once #include <eosio/chain/types.hpp> #include <eosio/chain/authority.hpp> #include <eosio/chain/block_timestamp.hpp> #include <eosio/chain/contract_types.hpp> #include "multi_index_includes.hpp" namespace eosio { namespace chain { class r...
798fdfd1d7391a8e4ac01c5befd1d1ba596095e6
33287fa3ef5be6009dd4ab0ed339fd2c0f22ace6
/dectobin.cpp
8aab99e55460e1560b5fdcab0bd4a0c0abb061be
[]
no_license
Javitha/javinew
67a163c25998b02a2adfd2fe8f67faa2dc3b21d6
e9eb2f2dc748c9d18fe6e2dbfe012cef8d9f430a
refs/heads/master
2021-01-19T00:54:15.000027
2016-07-10T19:49:09
2016-07-10T19:49:09
62,982,676
0
0
null
null
null
null
UTF-8
C++
false
false
294
cpp
dectobin.cpp
#include<iostream> #include<cmath> #include<cstdio> using namespace std; int main() { long n; int a[100]; cin>>n; int i=0; while(n>0) { a[i]=n%2; n=n/2; i++; } for(int j=0;j<i;j++) { cout<<a[j]; } return 0; }
82b0208c5e51a05cff066006c5f8993a72753f85
af3167292796593aca8212047b858ddcc499fa8a
/module03/ex02/ScavTrap.cpp
a9338324dce4d95b5193aaa7870537aee3dea238
[]
no_license
FandorineTom/CPP_module
830499fd7e8f80ae510663742d38ce1c5bbe9b55
f7f2cadb459c822381a093029d3b1728e17c52b5
refs/heads/master
2023-04-01T16:45:49.749139
2021-04-17T09:05:20
2021-04-17T09:05:20
352,751,387
0
0
null
null
null
null
UTF-8
C++
false
false
3,831
cpp
ScavTrap.cpp
#include "ScavTrap.hpp" ScavTrap::ScavTrap() { _hit_points = 100; _max_hit_points = 100; _energy_points = 50; _max_energy_points = 50; _level = 1; _melee_attack_damage = 20; _ranged_attack_damage = 15; _armor_damage_reduction = 3; _name = "Nobody"; _range_message = "Don't bother with plastic surgery - there'...
2517e611b2e7abc95756b4648a14513559632ac0
644820158857c051ed6eb379b8ad34634b49cefa
/playground/vector_hard.cpp
40deb67cb5ef8e592f411c3d2746fdf95edbf06d
[]
no_license
RajatPawar/hackerrank
ad63748344fccdaa30904d144f256b9aaaa166e2
16a1f3af5581a2f97147c6b2d372d7fd5b84fc0d
refs/heads/master
2021-01-02T22:52:49.526392
2019-04-09T13:06:32
2019-04-09T13:06:32
99,409,667
1
0
null
null
null
null
UTF-8
C++
false
false
2,353
cpp
vector_hard.cpp
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n, queries, temp, from, to, type; vector<int> arr; scanf("%d %d", &n, &queries); printf("\...
c6a291835bb6c2215cba85f8e852cb3bb88b59c9
244a4006c72a944fe7d454a39d56c65866933d69
/include/dragon.h
3d510147d54534e4f77628751394c2367bf781a8
[]
no_license
sqinq/My_CPP_Game
9041360a71547a906124f9926a1ef22e7b216329
de52076043dd201db34d862590f741052bcecabd
refs/heads/master
2021-03-16T05:30:39.437309
2017-05-24T00:55:30
2017-05-24T00:55:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
263
h
dragon.h
#ifndef __DRAGON_H__ #define __DRAGON_H__ #include "enemy.h" class Floor; class Dragon : public Enemy { public: // constructor Dragon(Floor * game); // action() is called for the object to move one turn void action(); }; #endif
dc2416e1cf508368c3d7a6d468287b4e97bfe611
e56a08226d0df50c59e3f6b5ba70f9534b20d570
/final_hash_two_step/final.cc
74eb1d0a8cd20b79f50cc68114e9a3697f8b792b
[]
no_license
openopentw/2016-DSA
e9d52c67c5c26c36821f1721e64fa0e564c7c7f0
dead5eb9d999c77cb612330b1109dbe0cd265dd7
refs/heads/master
2021-07-29T12:30:22.085913
2017-07-08T03:36:47
2017-07-08T03:36:47
96,593,665
0
0
null
null
null
null
UTF-8
C++
false
false
2,542
cc
final.cc
#include <cstdio> #include <cstring> #include <iostream> #include <vector> #include <list> #include <string> #include <array> using namespace std; // const int multi = 53, add = 97; const int multi = 553, add = 97; /* Struct */ const int NLINE = 41929539; // const int NHASH = 500000003; // prime number const int NHA...
e1f83d842b1048e857900685c9d5cedf495ed4eb
b460b5098115c22c16e58edc1d15f6344a2079a2
/64k/glAssiPhone/p_klask.cpp
214fe7f7582c1f48979c95f42f331d50a24d84c8
[]
no_license
possan/randomjunk
a84836ced188b5dd67ac9cdbf080d43b9bedf629
9e1eda672149bda7efadcc63a7233df295d63473
refs/heads/master
2021-01-22T04:36:34.385324
2011-11-02T22:16:09
2011-11-02T22:16:09
906,668
2
0
null
null
null
null
UTF-8
C++
false
false
3,824
cpp
p_klask.cpp
// klask // fullscreen part #include "almosteverything.h" #include "images.h" #include <stdlib.h> /*#define FULLSCREEN_PIC1 61 #define FULLSCREEN_PIC2 62 #define FULLSCREEN_PIC3 63*/ //#define KLASK_PIC 81 #define KLASK_CYLINDER 82 #define NSIDES 7 #define NROWS 30 #define NOBJECTS 25 float klr[NOBJECTS][3]; void...
6569767d76994eabb05c1ec8e6615f1f73751cde
bf569e5b23eb4799a540ff6765411c31ce1bccfa
/lab1/EVAH/include/TipoGrafo.h
cbfda39b0420ccec85d9833041ce3a4f7e27f861
[]
no_license
sebastianVUCR/LabsDiseno
af56f8efba3e474bb2f51e598d5debf5832b9b14
1da9651871b693bd7e64b26a7940ac8977c65c18
refs/heads/master
2022-11-13T06:25:49.128182
2020-07-14T06:11:24
2020-07-14T06:11:24
259,193,331
0
0
null
null
null
null
UTF-8
C++
false
false
227
h
TipoGrafo.h
#ifndef TIPOGRAFO_H #define TIPOGRAFO_H #include "Grafo.h" class TipoGrafo { public: TipoGrafo(); virtual ~TipoGrafo(); private: Grafo g; }; TipoGrafo::TipoGrafo() { } TipoGrafo::~TipoGrafo() { } #endif // TIPOGRAFO_H
1a2009524a5652031f01c8986b40b61430d3f361
f3c3d3d4fa32e0c3847805066e2e0930a6a44862
/C++/opengl/cw4 dwa/cw4 dwa/jajko_obr.cpp
2a628d8f5fb8c23e697c35944ffb60b5411bc405
[]
no_license
MateuszZet/Mixed
12f6b7c8983a6d890a2ce79873a00d1c818b9eca
875e83a98aeda682b29540b575b8a883fabc872f
refs/heads/master
2022-03-14T16:01:52.640081
2022-02-16T21:55:46
2022-02-16T21:55:46
142,461,845
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
10,989
cpp
jajko_obr.cpp
#include <windows.h> #include <gl/gl.h> #include <gl/glut.h> #include <math.h> #include <time.h> //Definicja typu point3 - punkt w przestrzeni 3D typedef float point3[3]; //Stala PI const float PI = 3.14159265; //Tablica na punkty point3 **pointsTab; //Tablica na kolory punktow point3 **pointsRGB; static GLfloat vie...
26f3c519827d72e6d04281da101079966291ee9b
eac80658fb291b4d449c37aa0767b1390be9ef53
/src/tracer/src/core/renderer/restir.cpp
a6ba0449610661e5068df993faa92f887bc9928f
[ "MIT" ]
permissive
AirGuanZ/Atrc
92e357a0b18bb8b9b2bbc1eb234f549aba6589ad
9bf8fdbb74affaa047bc40bb452c0d2c9bf0d121
refs/heads/master
2023-07-11T06:31:09.259287
2023-06-25T08:00:10
2023-06-25T08:00:10
147,777,386
484
30
MIT
2023-03-07T13:25:58
2018-09-07T05:56:14
C++
UTF-8
C++
false
false
16,083
cpp
restir.cpp
#include <agz/tracer/create/renderer.h> #include <agz/tracer/core/bsdf.h> #include <agz/tracer/core/camera.h> #include <agz/tracer/core/entity.h> #include <agz/tracer/core/light.h> #include <agz/tracer/core/material.h> #include <agz/tracer/core/renderer.h> #include <agz/tracer/core/renderer_interactor.h> #include <agz/...
aebff84d4fa028404582cc20d5ac66d904110d3e
d071e6156cf23ddee37a612f71d71a650c27fcfe
/pojpass/poj1083_moving.cpp
5c472735c901ee6bbe4c512609bdebeaae63f2cb
[]
no_license
tsstss123/code
57f1f7d1a1bf68c47712897e2d8945a28e3e9862
e10795c35aac442345f84a58845ada9544a9c748
refs/heads/master
2021-01-24T23:00:08.749712
2013-04-30T12:33:24
2013-04-30T12:33:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
712
cpp
poj1083_moving.cpp
#include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int MAXN = 201; int s[MAXN], t[MAXN]; int cnt[MAXN]; int main() { int nTest; scanf("%d", &nTest); while (nTest--) { int n; scanf("%d", &n); for (int i = 0; i < n; ++i) { scanf("%d %d", &s[i], &t[i]); ...
19b616d74d3408836bf2f6b04d0f1434d213f403
62408a02b44f2fd20c6d54e1f5def0184e69194c
/Kattis/easiest/18939698_AC_0ms_0kB.cpp
f7d8dabb9153a806a1e8cad58ba6e62a8a6f3273
[]
no_license
benedicka/Competitive-Programming
24eb90b8150aead5c13287b62d9dc860c4b9232e
a94ccfc2d726e239981d598e98d1aa538691fa47
refs/heads/main
2023-03-22T10:14:34.889913
2021-03-16T05:33:43
2021-03-16T05:33:43
348,212,250
0
0
null
null
null
null
UTF-8
C++
false
false
399
cpp
18939698_AC_0ms_0kB.cpp
#include<bits/stdc++.h> using namespace std; int n,cnt,x; int sum(int x) { int res=0; while(x!=0) { res+=x%10; x/=10; } return res; } int main() { while(scanf("%d",&n)!=EOF) { cnt = 11; if(n==0) break; x = sum(n); while(x!=sum(n*cnt)) {...
8f3b1fd3744e795886398594357f395ed9512f3d
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/pdfium/xfa/fwl/core/cfwl_event.h
3ef81ff3ba6b65e46bc7a24964e03d22e9e77cf5
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
C++
false
false
5,115
h
cfwl_event.h
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef XFA_FWL_CORE_CFWL_EVENT_H_ #define XFA_FWL_CORE_CFWL_EVENT_H_ #includ...
5eed98172ed4ad6e1f078cb2fa91827cdf1a494a
43a07286cbbdb855a771db0e5a40c8aaf0373c01
/poj/poj2155.cpp
8bccd6c2457f528b23c28554953366d01a26351b
[]
no_license
oscar172772/codes
56537593463e4c6c003c3da75e75400065bfef82
e644c358803ce280284e7360da6302f6b86f1f82
refs/heads/master
2021-01-20T06:00:16.814847
2017-10-03T14:47:05
2017-10-03T14:47:05
89,832,062
2
0
null
null
null
null
UTF-8
C++
false
false
1,421
cpp
poj2155.cpp
#include<cstdlib> #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> using namespace std; const int MAXN=1000; int cass,n,t,c[MAXN+100][MAXN+100]; int x1,x2,y1,y2; char ch; int lowbit(int x){return x&(x^(x-1));} void change(int x,int y,int s) { for(int i=x;i<=n;i+=lowbit(i)) ...
0d9d8f793d67fb7770fdb33df46bc371c6b266e3
8c56e1320f9887e1c3921bddf67abeea17f6d16b
/src/tasks/tasks/task.destroy.commstower.hpp
7b5d01a262e6d2aae006fe9ac80e4e420580f499
[]
no_license
roy86/patrolops4
f8ccda220e53a1334748e515fe8c5d52d68a6af0
d99277595a5d310cd4fe64834d1548f6a62385b9
refs/heads/main
2023-08-17T00:56:57.919629
2021-10-04T09:13:33
2021-10-04T09:13:33
387,701,204
0
1
null
null
null
null
UTF-8
C++
false
false
3,937
hpp
task.destroy.commstower.hpp
/* Author: RoyEightySix (https://www.roy86.com.au) Date: 2020-02-10 Description: No description added yet. Parameter(s): _localVariable - Description [DATATYPE, defaults to DEFAULTVALUE] Returns: Function reached the end [BOOL] */ class Task_Destroy_CommsTower ...
63948c84fe8f544b488e2733236b80c108f1a8c5
ea741e687f1ca44eff65c29b8ea2e16fd6d9628d
/Anno 2018-2019/Altro/Programmazione Legumi/equazioniSecondoGrado.cpp
3d4aefaf8637c51d62c00af709dbe0031e6c44b1
[]
no_license
fuserale/Baronio
cad84036e80bd9a8adff4fa4398597d74622ed89
18f41404cd836d69e7b3f1d9df3dd38bd7e6c003
refs/heads/master
2020-08-05T15:47:47.896393
2019-10-18T17:10:04
2019-10-18T17:10:04
212,599,019
0
0
null
null
null
null
ISO-8859-13
C++
false
false
658
cpp
equazioniSecondoGrado.cpp
#include<iostream> #include<math.h> using namespace std; int main(){ double a,b,c; double delta; double x1,x2; //mi faccio dare coefficienti cout<<"dammi il valore di a "<<endl; cin>>a; cout<<"dammi il valore di b "<<endl; cin>>b; cout<<"dammi il valore di c "<<endl; cin>>c; //troverņ il delta delta=b...
bd30fca11b33e757a32e57536f941d147495be6c
31ac07ecd9225639bee0d08d00f037bd511e9552
/externals/OCCTLib/inc/Convert_GridPolynomialToPoles.hxx
56508e42e1cb94041cf7a2f4571ddd8f1913304d
[]
no_license
litao1009/SimpleRoom
4520e0034e4f90b81b922657b27f201842e68e8e
287de738c10b86ff8f61b15e3b8afdfedbcb2211
refs/heads/master
2021-01-20T19:56:39.507899
2016-07-29T08:01:57
2016-07-29T08:01:57
64,462,604
1
0
null
null
null
null
UTF-8
C++
false
false
5,717
hxx
Convert_GridPolynomialToPoles.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 _Convert_GridPolynomialToPoles_HeaderFile #...
4169c69496d705cf25af365c21326f3860abd2c7
0d0f9ee25b1abd5e6ad0d9dfd328e32f8e1fbfc4
/script.cpp
5b27167bb796972f5b351fdcc535a473a168d7a9
[]
no_license
gozobadrian/Kill-Frenzy
eb34094075ebbaaccfe73d28e69c1ee6016732a8
210da978b702c95bfd13d5322875467baaafc83a
refs/heads/master
2021-01-17T16:20:31.612772
2016-07-11T08:43:01
2016-07-11T08:43:01
63,051,152
1
0
null
null
null
null
UTF-8
C++
false
false
14,384
cpp
script.cpp
/* THIS FILE IS A PART OF GTA V SCRIPT HOOK SDK http://dev-c.com (C) Alexander Blade 2015 */ ///Mod by YUNoCake #include "script.h" #include <string> #include <fstream> #include <ctime> int key, playerID; void readConfigFile() { std::ifstream file("Kill Frenzy.ini"); std::string temp; std::getline(fil...
dbb11f6cb86920c2eeeba10505f8fe04bcd6ab64
1c024dfbca35f4c829d4b47bdfe900d1b1a2303b
/shell/common/gin_helper/function_template_extensions.h
7420ffde724cab029eabdb9c8f958c6ed1567894
[ "MIT" ]
permissive
electron/electron
1ba6e31cf40f876044bff644ec49f8ec4923ca6a
0b0707145b157343c42266d2586ed9413a1d54f5
refs/heads/main
2023-09-01T04:28:11.016383
2023-08-31T14:36:43
2023-08-31T14:36:43
9,384,267
99,768
18,388
MIT
2023-09-14T19:50:49
2013-04-12T01:47:36
C++
UTF-8
C++
false
false
2,175
h
function_template_extensions.h
// Copyright 2020 Slack Technologies, Inc. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.chromium file. #ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_ #define ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_ #include <utilit...
24a6b3898b8c8d718de7631a819b45a3b111b6da
003dd6fb74bfafd8411eedf5f99463b301ac0bc3
/include/pdk/global/Logging.h
87e59e01277299a81b57c64456a7df893914f13a
[ "Apache-2.0" ]
permissive
ajunlonglive/pdk
9d70525661095e307322e5e1d4504161d2b508b8
830c5d38c710db5b610bd1c1fbf4cad953f1e42b
refs/heads/master
2023-03-23T12:39:20.233221
2018-05-25T01:19:34
2018-05-25T01:19:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,634
h
Logging.h
// @copyright 2017-2018 zzu_softboy <zzu_softboy@163.com> // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL THE AUTHOR BE ...
da50412894cbdf9e1d0e0d0f21d7fb0542754633
2a5700f0a3823bad934f2b9223dd1e02bcf1c13f
/common/url_utils.cc
f9c3454711159fb5d3e5399c4399da48aed39f7a
[]
no_license
changpinggou/unix-thread-ipc
01334e891835c77f621740bd4edadeaba51fdbd0
784d6eaae7a016a5c47ede8a8171a95c75a1ae03
refs/heads/master
2021-01-20T06:57:48.809591
2015-01-21T06:49:57
2015-01-21T06:49:57
29,575,905
0
0
null
null
null
null
UTF-8
C++
false
false
13,887
cc
url_utils.cc
// Copyright 2007, Google Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the following discl...
d02c511b486c6a1f22af0ce1ffaa36dc9b5e251e
cd44c5b4e2687b38722b8ea74f0e9ca8930fb2c9
/abc041_b.cpp
514e2630391b80df940e2ca6c3270c5de241e586
[]
no_license
sigu1011/atcoder
b1a3b54d9f1e8c178e5f58505cca69b5ace1b23f
8280c422a065b676eefeaf2374229635a92531bc
refs/heads/master
2020-06-11T17:44:17.073065
2020-01-26T14:50:48
2020-01-26T14:50:48
194,039,322
0
0
null
null
null
null
UTF-8
C++
false
false
214
cpp
abc041_b.cpp
#include <bits/stdc++.h> using namespace std; const long long MOD = 1e9 + 7; int main() { long long A, B, C; cin >> A >> B >> C; printf("%lld", (A % MOD) * (B % MOD) % MOD * (C % MOD) % MOD); return 0; }
e1f70fd1cc464968d67bc267fe891415164d0154
efca5f60e4d6847d9ca3943d46220f3cc905d7a2
/pdfbase.h
26e573995c602ee8e0b120f07197b1e08bca2409
[]
no_license
vasekp/pdfbreak
ca6c040f70d29157243b7c07c53a48bdd0a32129
aefe60ea3d1ceedfc55b5c3175b09e3a9d8477db
refs/heads/master
2020-08-02T12:06:56.746288
2019-10-27T10:12:37
2019-10-27T10:53:21
211,346,388
0
0
null
null
null
null
UTF-8
C++
false
false
5,705
h
pdfbase.h
#ifndef PDF_BASE_H #define PDF_BASE_H #include <ostream> #include <string> #include <vector> #include <map> #include <variant> namespace pdf { struct ObjRef { unsigned long num; unsigned long gen; }; inline bool operator< (const ObjRef& lhs, const ObjRef& rhs) { return lhs.num < rhs.num || (lhs.num == rhs...
391b054ef16b3fbd8bb2b6d29f9bfca2ec51c43f
aae979e2e18e67f4564cd771e9991dfea01cfda8
/multidim_image_augmentation/cc/ops/cubic_interpolation2d_op.cc
d752ccb59ebdd3122d9d48e566f0a72dcd4c83ff
[ "Apache-2.0" ]
permissive
ardila/custom-op
0c47a95da31336a092b8830577253abcc515c21b
69f10cc19f7e4a369e9f378e7fd6e67903df9956
refs/heads/master
2023-02-03T10:12:46.949735
2020-12-22T22:38:36
2020-12-22T22:38:36
264,562,944
2
1
Apache-2.0
2020-06-27T14:49:22
2020-05-17T01:46:26
C++
UTF-8
C++
false
false
4,109
cc
cubic_interpolation2d_op.cc
// Copyright 2018 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
0541d28bcd3f486c346841e0efe2ae2d083307eb
b4dafe59c9620263a798bff341bb411e5120b93a
/AudioProcessing/SpectrumAnalyzer.cpp
11d0680b49db0f0772a5f947e10e8a5596b07692
[ "MIT" ]
permissive
clarkezone/audiovisualization
82a0eb5b69a4f30135714d1c818c639e6e919f40
46ffd5a2b280cf46b46fa668dc9c7634481c6996
refs/heads/master
2021-01-24T03:21:32.500443
2017-07-02T22:10:46
2017-07-02T22:10:46
64,030,290
0
3
null
2017-07-02T22:10:46
2016-07-23T18:39:31
C++
UTF-8
C++
false
false
12,627
cpp
SpectrumAnalyzer.cpp
#include "pch.h" #include "SpectrumAnalyzer.h" #include <algorithm> #include <XDSP.h> using namespace Microsoft::WRL; namespace AudioProcessing { CSpectrumAnalyzer::CSpectrumAnalyzer() : m_AudioChannels(0), m_StepFrameCount(0), m_StepFrameOverlap(0), m_StepTotalFrames(0), m_pWindow(nullptr), m_pInputBuff...
ba23cbba758aca9ba2f313c39cb28e139a58891b
fa01c9a63f9cf820ad4038d2fdc1a02cc9b175fc
/OOP simple project/Project /default_menu.h
de4bd095ab8c9047a9bad48d2bdaca2d6e3d39c7
[]
no_license
leonardoperrone/Projects-and-School
a668693f3eaa12b116bf62aef41deecec3b9ec2c
119b8e6fcdb11eff031961842ddeb69ec86af87b
refs/heads/master
2018-10-27T23:01:06.546718
2018-10-27T12:44:51
2018-10-27T12:44:51
107,815,253
0
0
null
null
null
null
UTF-8
C++
false
false
2,259
h
default_menu.h
/* default_menu.h 03/29/2016 CS411 Project prototype Leonardo Perrone F285y428 Description: In this file is created a base class for the menus several parameters, functions, and private members. */ #ifndef __Project_CS411__menu__ #define __Project_CS411__menu__ #include <stdio.h> //including libraries #inc...
14ec8e217e94f3f9159e4e67ae203e1319493879
d375176fc2f2a5b91479d3488cabb840dcf019bd
/src/Net/NetworkStream.cpp
b37bbda33b5f4a8e4de5afddd81095190098019c
[ "FTL", "MIT", "LicenseRef-scancode-warranty-disclaimer", "Zlib", "LicenseRef-scancode-unknown-license-reference", "curl", "Libpng" ]
permissive
halak/bibim
ff91acc0bcbd9646cab2e5a3beb46da3dcaaa093
ad01efa8aac4f074f64bf033ac0f1ed382060334
refs/heads/master
2021-07-15T05:38:49.234568
2021-07-07T01:36:18
2021-07-07T01:36:18
66,716,124
3
1
null
2018-03-23T08:17:56
2016-08-27T13:35:40
C
UTF-8
C++
false
false
1,108
cpp
NetworkStream.cpp
#include <Bibim/Config.h> #include <Bibim/NetworkStream.h> #include <Bibim/Assert.h> #include <Bibim/Socket.h> namespace Bibim { NetworkStream::NetworkStream(Socket* socket) : socket(socket) { BBAssert(socket); } NetworkStream::~NetworkStream() { } int Net...
634b0c0cab3c5eb4d2d1434f8741d2b9d597d473
0fed3d6c4a6dbdb49029913b6ce96a9ede9eac6c
/Misc/2018_Multi_University/HDU/Day08/I.cpp
f6471820a0fa7ec46019f1b719994d91638c4075
[]
no_license
87ouo/The-road-to-ACMer
72df2e834027dcfab04b02ba0ddd350e5078dfc0
0a39a9708a0e7fd0e3b2ffff5d1f4a793b031df5
refs/heads/master
2021-02-18T17:44:29.937434
2019-07-31T11:30:27
2019-07-31T11:30:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,888
cpp
I.cpp
#include <bits/stdc++.h> using namespace std; const int maxn = 1 << 20; const int mod = 1e9 + 7; int ans[maxn], p[maxn]; struct SAM { int len[maxn << 1], link[maxn << 1], ch[maxn << 1][26]; int tag[maxn << 1], val[maxn << 1]; int sz, rt, last; int newnode(int x = 0) { len[sz] = x; ...
99cdca39d75827ccf033fc887cc314db190f3c5a
703552d59f752dc461104a662b428c2e00231aaf
/STLReader/File.h
0340af25f3b927404190e56edd3429552f97320b
[]
no_license
0000duck/STLReader
4d14149a82c44af915c0f2b49c8e5d5c70c1925d
a9f9eabb7b9aa9676bf8e3f905407bfd9d321f41
refs/heads/master
2020-07-16T14:34:58.835508
2015-07-14T19:36:49
2015-07-14T19:36:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
627
h
File.h
#pragma once #include <string> #include <fstream> #include <vector> #include <array> class Traingulation; class File { public: enum class STLFileType { BINARY_STL, ASCII_STL }; public: File(std::string inFileName); ~File(); public: int fileLength(); int lineCount(); public: Traingulation& read(File::STLF...
719f4ebfac0464378c7b26aee77880c5a7cfa4e1
76e41c1e552c14e12eb7dc3840589143037fe1a7
/my_debug_tools.h
b98049b9926512a530256afa5decbad2d6e41dc8
[]
no_license
Cvlablaneline/LD_Project
7d9759644f772cb1a9ec416bd7309381c5ca61fa
afdf14b8d577c4bdf51e216f9463fae01016fc73
refs/heads/master
2021-01-21T20:06:27.401260
2016-04-27T20:08:08
2016-04-27T20:08:08
29,433,396
0
0
null
null
null
null
UTF-8
C++
false
false
623
h
my_debug_tools.h
// // my_debug_tools.h // LD_Project_xcode // // Created by Chienfu Huang on 2014/11/28. // Copyright (c) 2014年 ___HCF___. All rights reserved. // #ifndef __LD_Project_xcode__my_debug_tools__ #define __LD_Project_xcode__my_debug_tools__ #include <iostream> #include<highgui.h> using namespace std; class dbugTool...
ed1ef367d57e3b74f827df6de51006e3aa231032
7279b5087de408b626777aedb0c91ebcf22d8bc6
/User_Activity Function using QT (UI)/subactivity_list.h
d0dcc431c9699028c0fe8b345e007b1dd520c174
[]
no_license
cdeepanshu/User-Activity-UI-and-CLI
9bd49ea2b757635ec7fa91abfcd81b77af1c5a82
47223e992d94bc27b5f61b48735a12f412feaf1e
refs/heads/master
2022-12-02T19:11:28.166946
2020-08-18T07:52:47
2020-08-18T07:52:47
288,389,402
0
0
null
null
null
null
UTF-8
C++
false
false
449
h
subactivity_list.h
#ifndef SUBACTIVITY_LIST_H #define SUBACTIVITY_LIST_H #include <QDialog> namespace Ui { class subactivity_list; } class subactivity_list : public QDialog { Q_OBJECT public: explicit subactivity_list(QWidget *parent = nullptr); ~subactivity_list(); private slots: void on_pushButton_c...
7fa9a2542756387ceb6c8eae9d0a6371a73f4003
c6edda04814ffb23df750ce23b81169ec35c0057
/EngineTools/ConfigFile.h
e21ead6f6030822f6ceb9362099f1e216cf56050
[]
no_license
wlodarczykbart/SunEngine
91d755cca91ca04ef91879ccfd11500f884e5066
04200f084653e88ba332bb260b6964996f35f5a0
refs/heads/master
2023-06-07T02:33:20.668913
2021-07-03T17:31:38
2021-07-03T17:31:38
315,081,186
0
0
null
null
null
null
UTF-8
C++
false
false
1,829
h
ConfigFile.h
#pragma once #include "Types.h" namespace SunEngine { class ConfigSection { public: ConfigSection(); ~ConfigSection(); const String& GetName() const { return _name; } String GetString(const String& key, const char* defaultValue = "") const; int GetInt(const String& key, int defaultValue ...
cdd7c8e7ca8f759f7c59dcf50db495452a3a0bfb
11b94100dcfcba071850bc8b5b1a3ab50006f5cf
/Header/UtilStructs.h
11f60460ed69d668cbdd1ba52f4ed77510f12870
[ "MIT" ]
permissive
LydianJay/ConsoleTetrisBattle2p
dc2c47f19bdc1e8ffca400506015b96e03843357
66ce8b61e1ec94e662764f74c597c6a89f418936
refs/heads/master
2023-01-12T05:21:24.481533
2020-11-22T07:55:59
2020-11-22T07:55:59
287,211,133
0
0
null
null
null
null
UTF-8
C++
false
false
932
h
UtilStructs.h
#ifndef DEF_ #define DEF_ #include <Windows.h> #include <string> #include <fstream> #include <sstream> #define WASD 0x1 #define UDLR 0x2 #define VERTICAL 0x1 #define HORIZONTAL 0x2 typedef unsigned char byte; typedef struct _AsciiData { std::string graphics; COORD sz; COORD Pos; }AsciiArt, AsciiDat...
8f28daeae073af98bcff8979f4aedc917f7cf6d2
30052f149920c6a235759e9c573990a5ec00b976
/C/lcs.cpp
09732e06168826ac70079e2e06cef4ce8245a53b
[]
no_license
Ajay35/spoj
63f29fda94aeed4a581d265dfabbd6ef600ddd69
34d59f8b1c435b98cc1a171d57cdcff7b50e6f78
refs/heads/master
2020-03-18T16:32:59.068268
2019-07-30T11:54:29
2019-07-30T11:54:29
134,972,271
0
0
null
null
null
null
UTF-8
C++
false
false
838
cpp
lcs.cpp
#include <bits/stdc++.h> #define LL long long #define inf std::numeric_limits<int>::max(); #define neginf std::numeric_limits<int>::min(); #define mod 1000000007 #define pb push_back #define ppi pair<int,int> #define vi vector<int> #define vii vector<ppi> #define vll vector<LL> using namespace std; string s1,s2; int...
55dd895932a4a6c0f26e686cd4f181f40bbf2c1f
f35258fe5d64eff869663c428c4f69080cdecf66
/OpenGLReborn/TextureRenderTarget.h
470df5ad6e00885f76bc7f058aa688d4b3cb28c1
[]
no_license
hlopeth/OpenGLReborn
9b81a0a186876185f11ebfdb92880150d6011631
413097b7f71198ee4cd562e78a2baf6654383535
refs/heads/master
2021-06-25T08:04:35.194464
2020-11-29T16:03:36
2020-11-29T16:03:36
176,695,892
3
0
null
2020-11-29T13:01:26
2019-03-20T09:10:11
C++
UTF-8
C++
false
false
469
h
TextureRenderTarget.h
#pragma once #ifndef __gl_h_ #include <glad/glad.h> #endif #include "GLTexture.h" class TextureRenderTarget { public: TextureRenderTarget(); TextureRenderTarget(size_t width, size_t height); ~TextureRenderTarget(); void allocate(size_t width, size_t height); void bind() const; bool isComplete() const; GLuint g...
755aec662afc40ef9537a8286fdbd9480b4da1a8
f2253ad57eac6313201237aaede70f6a334a3349
/src/gaen/assets/AssetHeader.h
9de8d33736841686df6331c51d1876c59a958ed3
[ "Zlib" ]
permissive
lachlanorr/gaen
d9c53f82d4d816f15a93783ec2f266e6438418b6
1a65e22ea0a8c9e263ef41559fc0a1c893b87e90
refs/heads/master
2022-06-28T06:48:31.524403
2022-06-14T10:03:35
2022-06-14T10:03:35
19,638,018
2
1
NOASSERTION
2019-09-12T03:17:01
2014-05-10T09:38:31
C++
UTF-8
C++
false
false
3,525
h
AssetHeader.h
//------------------------------------------------------------------------------ // AssetHeader.h - Struct that appears at head of every cooked asset // // Gaen Concurrency Engine - http://gaen.org // Copyright (c) 2014-2022 Lachlan Orr // // This software is provided 'as-is', without any express or implied // warranty...
55078dba9672688ce8e9f03b02f9973e6ad13cde
c31ad9981bb2760c6f389e9a6cf8a6893e9423e8
/osc/Lib/include/Lib/Functions.h
2d4e4623a33b2f0c790e037000049d97ca6de436
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
gbarrand/osc_vis_for_LHCb
0582d7ed6734d9716619eb0fccc69904381529d8
2ba864c4475f988192c9799f5be85f1abf88c364
refs/heads/master
2021-10-25T21:32:51.600843
2021-10-17T07:45:20
2021-10-17T07:45:20
140,073,663
0
2
null
2021-10-17T07:45:20
2018-07-07T10:11:36
C++
UTF-8
C++
false
false
19,057
h
Functions.h
#ifndef Lib_Functions_h #define Lib_Functions_h // Inheritance : #include <Slash/Data/IFunction.h> #include <vector> #include <string> #include <ostream> #include <inlib/sort> #include <inlib/strip> #include <inlib/touplow> #include <Lib/Processor.h> namespace Lib { namespace Function { class Scripted { public: ...
11bd71187664eee4959acfdb10cae924ddd749e9
58d1d711a5ee5f7139eae18220126d751dfc5505
/parallel.cpp
037bd01409e2ad0c524d4cb5cab40716c293a81c
[]
no_license
lily-liu-17/ICS3U-Assignment-6-Cpp-Parallel
0978c900448d4108cfbc13a125199111dd1ad473
de99c006486339b8e20e5525ee47b2a5febe29d8
refs/heads/main
2023-08-18T22:42:04.566068
2021-10-16T02:32:36
2021-10-16T02:32:36
417,649,281
0
0
null
null
null
null
UTF-8
C++
false
false
1,170
cpp
parallel.cpp
// Copyright Lily Liu All rights reserved. // // Created by: Lily Liu // Created on: Oct 2021 // This program will calculate area of parallelogram #include <iostream> #include <string> float CalculateArea(float base, float height) { // This function will calculate ill calculate area of parallelogram float are...
2f939d844936f4826f23d28594f71bf0f4d62996
7a36a0652fe0704b4b27f644653e7b0f7e72060f
/TianShan/common/TimerWatchdog.cpp
0af8e92cf770a62ba419066aabde88595d9d8d9f
[]
no_license
darcyg/CXX
1ee13c1765f1987e293c15b9cbc51ae625ac3a2e
ef288ad0e1624ed0582839f2a5a0ef66073d415e
refs/heads/master
2020-04-06T04:27:11.940141
2016-12-29T03:49:56
2016-12-29T03:49:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,350
cpp
TimerWatchdog.cpp
// =========================================================================== // Copyright (c) 2006 by // ZQ Interactive, Inc., Shanghai, PRC., // All Rights Reserved. Unpublished rights reserved under the copyright // laws of the United States. // // The software contained on this media is proprietary to and embo...
56bcf9857ef1c51fa726167e33ff0297cbc9a8e7
7ae0efc9798b7c9fa720022ed5d763d6ab27cd13
/paddle/fluid/operators/trunc_op.h
0f788eae5249c57b92c7558451eca641a6840a41
[ "Apache-2.0" ]
permissive
ceci3/Paddle
e1d0b56a1bb1de9a0d26977868795f86e2c0580b
e4d475eabd83e7a6fa1e88c64c28747450f87d66
refs/heads/develop
2023-08-03T03:43:35.139011
2022-02-08T11:36:07
2022-02-08T11:36:07
171,274,803
0
3
Apache-2.0
2021-08-24T07:14:24
2019-02-18T11:49:16
C++
UTF-8
C++
false
false
1,697
h
trunc_op.h
/* Copyright (c) 2021 PaddlePaddle 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 ...
d313582a7b8412315da4cbcce13224fb53d31c50
ca35ff66a5a66c07ca42e595d3be28455f77297e
/app/src/main/cpp/sensor/Accelerometer.cpp
d9db199169d87e0019b0977329c2731cd8742416
[ "MIT" ]
permissive
AnantaYudica/android_sensor_sample
b2c4ff882a3902f134ae5b6fff6ffdaf31386951
5cfebc36c8a358ffc3a58a04a97f6d4f3320c57f
refs/heads/master
2020-11-26T10:34:47.600983
2020-01-13T11:52:49
2020-01-13T11:52:49
229,044,856
0
0
null
null
null
null
UTF-8
C++
false
false
1,621
cpp
Accelerometer.cpp
// // Created by Ananta Yudica on 25/12/2019. // #include "Accelerometer.h" #include "../Log.h" #include <utility> namespace sensor { int Accelerometer::__CallbackDefault(const Sensor &, const sensor_event::Accelerometer &, const std::size_t &) { return 0; } Accelerometer::Accelerometer(ASensor const* p...
667e52d74d08ceacf784d841f568a1fda7633edb
ba5ae50fede99e3ede46fcff450e1faedf96a6bf
/module/route_bill_server/src/CDownLoadCheckBill.h
2c9b5c22392b6f8fad9ed4a704c062bc0f36db24
[]
no_license
yeqiaojun/server_bench
49e36dcd1567862cad4d33e945333c1c7ca56658
bda2ec938ae2d37a6b102667564ad8b6762f6f76
refs/heads/master
2021-05-13T14:51:18.222277
2017-09-05T02:17:31
2017-09-05T02:17:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,060
h
CDownLoadCheckBill.h
/* * CDownLoadCheckBill.h * * Created on: 2017年7月19日 * Author: hawrkchen * Desc: 对账单下载 */ #ifndef _CDOWNLOADCHECKBILL_H_ #define _CDOWNLOADCHECKBILL_H_ #include "IUrlProtocolTask.h" #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include "../Base/Comm/clib_mysql.h" #...
7575f38dec04a235e433bb05e96e0d9e1141ee98
0f0d11858569041960ff2d9354154a6e7ecbbc1f
/Soukoban5/Soukoban5/State.h
50178ef9344962b00eabfdde887ed1473adcae62
[]
no_license
keserasera77/Soukonan5
8ca5640ead5fa95ddbd70557cd74af7bd7fb5ffe
a599acd5d182608367134f49db6a774807c1c2c9
refs/heads/master
2020-05-31T23:36:30.293319
2019-06-12T14:35:48
2019-06-12T14:35:48
190,542,385
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,011
h
State.h
#pragma once class Image; template<class T> class Array2D { public: Array2D() : mArray(0),mWidth(0),mHeight(0){} ~Array2D() { delete[] mArray; mArray = 0; } void setSize(int width, int height) { mWidth = width; mHeight = height; mArray = new T[width * height]; } T& operator()(int x, int y) { return ...
3b4433c7005ff80f32da81908cbbacc2f4e204df
4174c9f65c32a5b117b2ec86abdfaa28ba5abc50
/include/ctkPublicFun/udplogsender.h
5c48373d64336fd42b67015db78125cc4623d2a2
[ "Apache-2.0" ]
permissive
icprog/DataTransfer
bc23200f7c732a0f3e7a0529afddec771c666b8e
a71e3625f8aa52f8e42d29d717a2d3bcbe723dc1
refs/heads/master
2020-04-04T16:49:00.418318
2018-08-01T09:52:07
2018-08-01T09:52:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
841
h
udplogsender.h
#ifndef udplogsender_h__ #define udplogsender_h__ #include <QUdpSocket> #include <QString> #include "macro.h" class DLL_EXPORT_CLASS_DECL CUdpLogSender { public: CUdpLogSender(); virtual ~CUdpLogSender(); void sendCollectMsg(const QString &taskName, const QString &taskId, const QString &taskContent, in...
3c038c79859ba1795b07d72edc2a7dc19da8b714
9757b1f64403138b68a1ae3a61e65a5a50114e5a
/2014-training/0516_hash/hash.cc
214d911bce6e2bd573f23372625edcb0d5df59a0
[]
no_license
ailyanlu/acm-code
481290d1b7773a537fe733a813ca5f9d925d8e93
0a5042c16eae3580ea443b5ab4109c8f317350af
refs/heads/master
2018-01-15T11:49:29.599393
2015-10-30T02:39:17
2015-10-30T02:39:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,274
cc
hash.cc
/// Hash (Rabin-Karp, RK),与二分配合使用。应用广泛。(综合白书和图灵白书学习) /// 题库:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=41757#overview const ull B = 100000007ULL; /// 哈希基数,1e8 + 7 const int mx_s_num = 105; /// 字符串个数 char s[mx_s_num][mx]; /// 注意,一定要用gets(s[i] + 1),从下标1开始读 ull ha[mx_s_num][mx], bp[mx] = {1ULL}; /// ha[i]从1开始,...
c3587f98faab4d7bcb032de55e3d06fc785eba19
da6af0c82e470e6f33505253d01681a762f426b2
/draw_boxes.cpp
a1b5bdd7fabff5f8870ec44e4e7e17ebfa0d8f0d
[]
no_license
bo-wu/mobb
3e1f709a0c493fc3242c728367d30b5758812130
b35c3442590877fcd9ba9a09154f8038549e22e0
refs/heads/master
2021-01-10T14:15:19.927087
2015-06-13T08:14:41
2015-06-13T08:14:41
36,569,508
0
0
null
null
null
null
UTF-8
C++
false
false
1,964
cpp
draw_boxes.cpp
/* * ===================================================================================== * * Filename: draw_boxes.cpp Created: 05/29/2015 11:28:57 PM * * Description: draw segments boxes * * Author: Wu Bo (Robert), wubo.gfkd@gmail.com * Copyright: Copyright (c) 2015, Wu Bo * Orga...
718503cf303c55b169d64f4142c6938d3bae315a
2b831d8aa737a3a79d2a68f2688b7d58adc5add9
/lightsource.cpp
b0951f36e385f7b3498ffc8025030968a91b4cb4
[]
no_license
RomanPgr/comp_graphics
230e74481835801bc09fe3ebdbf95e5b53fd36b4
27d7a86de7972664eb42d525718d2112803368d5
refs/heads/master
2023-03-21T21:44:00.037320
2021-02-17T21:27:50
2021-02-17T21:27:50
313,333,611
0
0
null
null
null
null
UTF-8
C++
false
false
1,185
cpp
lightsource.cpp
#include "lightsource.h" LightSource::LightSource(const double& intensity, const int grid) : intensity{ intensity }, grid{ grid }{ } LightSource::LightSource(const LightSource& source) : LightSource{ source.intensity, source.grid }{ } const int LightSource::getGrid() const{ return grid; } LightSource::~LightSou...
810a74c6bbeb2f769d69bba2a4f2af3e90362920
2e359b413caee4746e931e01807c279eeea18dca
/1998. GCD Sort of an Array.cpp
4fcba386bf4d59970b5b4ca0b10cfb6c3d5fd4cf
[]
no_license
fsq/leetcode
3a8826a11df21f8675ad1df3632d74bbbd758b71
70ea4138caaa48cc99bb6e6436afa8bcce370db3
refs/heads/master
2023-09-01T20:30:51.433499
2023-08-31T03:12:30
2023-08-31T03:12:30
117,914,925
7
3
null
null
null
null
UTF-8
C++
false
false
1,582
cpp
1998. GCD Sort of an Array.cpp
class Solution { public: vector<int> p; unordered_map<int, int> fa; int find(int x) { if (fa[x]==0) return fa[x]=x; return fa[x]==x ? x : fa[x]=find(fa[x]); } bool gcdSort(vector<int>& a) { int mx = *max_element(a.begin(), a.end()); for (int i=2; i<=mx;...
394760ff7f632fb4505d800b44b0bf45d2ffe5f8
9d4637e96e41bd28cb7249e4133e922b151c0748
/cppDemos/CPPConsoleApplicationMultipleInheritaceDone/Rocket.h
c3fac79e0076782be0b5494ed119851e36926c84
[]
no_license
kstatz12/CPP2014
9104d10969393194e2ce24954b6fa255a71333d6
9b55c015e550fcbbfbf2dde6b0f0684fe687649c
refs/heads/master
2021-01-20T05:34:08.802586
2017-07-05T21:13:52
2017-07-05T21:13:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
194
h
Rocket.h
#pragma once class Rocket { protected: int m_FlyDistance, m_FuelAmount, m_Speed; bool m_isLanuched; public: Rocket(); ~Rocket(); void Launch(); void Fly(); int getFlyDistance(); };
edac2d731063882cfa4513e123f755ef09392ad8
ffaf68cb553fbe939b0b4f6a10c2ad15e567ec77
/897.cpp
00eeba0a066887a2fcf42d831d5264f0b06ef8ec
[]
no_license
guihunkun/LeetCode
dca45453b064972b55b3e2eaf5bc0132efb3f505
69dae0191e6fe4bd768b5b06c6b3cab28a26d4d9
refs/heads/master
2023-09-01T12:11:38.160330
2023-08-31T01:16:25
2023-08-31T01:16:25
156,633,787
1
0
null
null
null
null
UTF-8
C++
false
false
1,494
cpp
897.cpp
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ /* class Solution { public: TreeNode* increasingBST(TreeNode* root) { if(root == NULL) return r...
500cbc241a383962064f183f98a39a43d02cab90
fac6fab97a5554e243a9ca449fc1e7141e09b4da
/src/Window.h
b222532803cae3c42b5feb43a292e86c4b3026cd
[]
no_license
oktonion/PhWidgets-lib
4c49a3bef4edfcc93d87e0eb0d25c21652011995
5afbd913d213b8622b48b677fe7bce49b5ee3f6e
refs/heads/master
2022-07-27T00:41:34.404813
2021-06-09T06:05:26
2021-06-09T06:05:26
88,276,189
6
5
null
2017-05-01T21:24:51
2017-04-14T14:51:08
C++
UTF-8
C++
false
false
9,658
h
Window.h
#ifndef PHWIDGETS_WINDOW_H #define PHWIDGETS_WINDOW_H #include <photon/PtWindow.h> #include "./Disjoint.h" namespace PhWidgets { /*! @struct PhWidgets::Window @ingroup Widgets */ //! An Application window that's managed by the Photon window manager /*! The Window class provides a top-level container for ...
7dc0bea9770104fd9a0527ff4260d7641e406e42
2077f528e564fe3dab12f12a0545b2abe82987fc
/conteudo/Introdução à Programação (Prática)/Exercicios/P02_Marcos_Rodrigues/Exercicio 05.cpp
98eca80fae703f1cd6da6ebf8e1c3c065fbe6bae
[]
no_license
marcosrodriigues/ufop
8af89d74705810a3f14f293d7463e1235f00622e
08c84b847a1fbd67616ca2f0c75c60f370a690dd
refs/heads/master
2023-01-09T16:23:42.116159
2020-01-22T05:26:25
2020-01-22T05:26:25
137,550,534
12
4
null
2023-01-07T13:59:20
2018-06-16T03:40:05
Python
UTF-8
C++
false
false
354
cpp
Exercicio 05.cpp
#include <iostream> using namespace std; int main() { double v1, v2; cout << "Digite dois valores: \n"; cin >> v1 >> v2; if ((v1 + v2) > 20) cout << "A soma dos valores digitados somando-os com 8 eh: " << (v1 + v2 + 8); else cout << "A soma dos valores digitados subtraindo-os com 5 eh: " <<...
4438309b4d91240d0ff7ec7ef0edc93300a7348b
995c731cfbc26aaa733835eebaa6fcb0787f0081
/gazebo-5.3.0/gazebo/rendering/DynamicRenderable.hh
433f9b5067ea31e0c08b4119289f96c3081dbf07
[ "Apache-2.0" ]
permissive
JdeRobot/ThirdParty
62dd941a5164c28645973ef5db7322be72e7689e
e4172b83bd56e498c5013c304e06194226f21c63
refs/heads/master
2022-04-26T18:26:51.263442
2022-03-19T09:22:14
2022-03-19T09:22:14
33,551,987
7
9
null
2022-03-19T09:22:14
2015-04-07T15:36:00
C++
UTF-8
C++
false
false
4,747
hh
DynamicRenderable.hh
/* * Copyright (C) 2012-2015 Open Source Robotics Foundation * * 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...
a8aa86df6ac71df7c773c46adcd6e8d4b7795ed6
064962e296843365f39b507436c592c823e9c429
/src/Chip8.cpp
95262a1f6b95aadcd12401f95b2a232a3d0a4569
[ "MIT" ]
permissive
dominikrys/chip8
0b3b92a1ea06fd3e7e1a6eb553708bc9255b5dad
96bfcbee9428c2cee4ce010c79f472c7183efe0b
refs/heads/master
2023-03-30T09:01:11.373717
2021-04-01T08:16:25
2021-04-01T08:16:25
230,137,314
1
0
null
null
null
null
UTF-8
C++
false
false
17,254
cpp
Chip8.cpp
#include "Chip8.h" #include <fstream> #include <cstddef> #include <cstring> #include <vector> #include <iostream> #include <limits> const unsigned int SPRITE_WIDTH = 8; const unsigned int ROM_START_ADDRESS = 0x200; const unsigned int FONT_SET_START_ADDRESS = 0x050; const unsigned int CHARACTER_SPRITE_WIDTH = 0x5; co...
631cecc18119a66295572c3ef99db03a7a84400f
88b198f517df355676fc6d6690fcf12c2df3f4c6
/pr-06/task_4/Source.cpp
2d5a2048b4a1e0b1fdd48e6763ab935dab2b76ab
[]
no_license
Proger125/cplusplus
d7b474b4e7e438d83824fbe706ae32941290fa19
9cd1a865ddb3f81dc613390438a334c9e7f1c7d5
refs/heads/master
2023-08-18T17:23:12.481277
2021-10-13T08:10:31
2021-10-13T08:10:31
214,238,632
0
0
null
null
null
null
UTF-8
C++
false
false
516
cpp
Source.cpp
#include "Function.h" int main() { vector<Date> v; InputVector(v); for (int i = 0; i < v.size(); i++) { cout << "The next day of " << v[i].day << " " << v[i].month << " " << v[i].year << endl; cout << v[i].NextDay().day << " " << v[i].NextDay().month << " " << v[i].NextDay().ye...
d17079a2db6db6b484377aed770dc4da46260c92
86cb1327bd3cae3dd334ea8d7cb66b9b57b95f40
/OPENMP_IMPLEMENTATION/blur_openmp.cpp
d9e4cf57cbeaa1bca49a699aff9d23808f055369
[]
no_license
lfvalderrama/Blur-Effect
e4de4856b166723ad1e4e43ea5f94d91886081f7
5fbda55c36bfc93996f6246339579de9df640591
refs/heads/master
2021-08-19T23:37:20.940646
2017-11-27T17:33:46
2017-11-27T17:33:46
112,221,264
0
0
null
null
null
null
UTF-8
C++
false
false
2,019
cpp
blur_openmp.cpp
#include "opencv2/highgui/highgui.hpp" #include <omp.h> #include <iostream> using namespace cv; using namespace std; Mat img; Mat new_img; int radio, NUM_THREADS; //Funcion main int main( int argc, char** argv ) { NUM_THREADS = atoi(argv[3]); int i, j; //Abrir las imagenes y guardarlas en memoria img = imrea...
b47fe3a0c7816867081def6a8cc4bb28acfc5892
1b73515fb49ac64e0afa5ba7baf03170451d0e46
/GameEngine/CoreEngine/CoreEngine/src/Terrain2DCollider.cpp
e1b60c94bacad20dba24dfba53670d310724320a
[ "Apache-2.0" ]
permissive
suddenly-games/SuddenlyGames
2af48c0f31f61bad22e7c95124c0f91443ff2d54
e2ff1c2771d4ca54824650e4f1a33a527536ca61
refs/heads/develop
2023-05-02T03:14:21.384819
2021-05-12T07:10:29
2021-05-12T07:10:29
330,379,384
1
0
Apache-2.0
2021-03-21T03:12:52
2021-01-17T11:52:25
C
UTF-8
C++
false
false
659
cpp
Terrain2DCollider.cpp
#include "Terrain2DCollider.h" #include "ColliderData.h" namespace Engine { void Terrain2DCollider::PairQuery(const AabbTree::Node* head, const TerrainPairCallback& collisionCallback, const ColliderCallback& lookupCallback) { Physics::ColliderData collider; } void Terrain2DCollider::Visit(const AabbTree::Nod...
d3c5798280df0a4b31d3d86acf744dd84fc8ba67
41f743dc6c6b579416da7b4034030945b0fc7f31
/pipeline-simulation/src/instruction/AddInstruction.h
42cbe1faab539121c772010a27ebf902f0f69a6e
[]
no_license
rueian/pipeline-sim
fc2e709a57c00e6e0acbf2bc7fb3e5a22906532b
9c623d3f7dd8e4b6a91806786c676e134eaa7de3
refs/heads/master
2020-05-30T09:13:00.118463
2014-06-12T07:26:29
2014-06-12T07:26:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
383
h
AddInstruction.h
// // Created by RueianOneecom on 2014/6/4. // Copyright (c) 2014 ___FULLUSERNAME___. All rights reserved. // #include "RTypeInstruction.h" #ifndef __AddInstruction_H_ #define __AddInstruction_H_ class AddInstruction : public RTypeInstruction { public: AddInstruction(string); protected: virtual int ALURe...
7dbe93baa0fed24515ecce9de2a12a5f004dd6ee
f6ab96101246c8764dc16073cbea72a188a0dc1a
/volume006/686 - Goldbach's Conjecture (II).cpp
a9fafb047aa3ec918bf6a89db26f5275029a2166
[]
no_license
nealwu/UVa
c87ddc8a0bf07a9bd9cadbf88b7389790bc321cb
10ddd83a00271b0c9c259506aa17d03075850f60
refs/heads/master
2020-09-07T18:52:19.352699
2019-05-01T09:41:55
2019-05-01T09:41:55
220,883,015
3
2
null
2019-11-11T02:14:54
2019-11-11T02:14:54
null
UTF-8
C++
false
false
479
cpp
686 - Goldbach's Conjecture (II).cpp
#include <stdio.h> #include <stdlib.h> int mark[32768], Prime[32768], Pt = 0; void sieve() { int i, j; for(i = 2; i < 32768; i++) { if(mark[i] == 0) { Prime[Pt++] = i; for(j = 2; i*j < 32768; j++) mark[i*j] = 1; } } } int main() { sieve(); int n; while(scanf("%d", &n) == 1 && n) { int i, x, y, ans...
a367cebf47499253686ed1a0897fad98219a8d0a
fc35f8872f8960e90c765231022a410b528d09c6
/trunk/other/tiago/Torre atirando/botao.h
156706d42f4bfd6f8c847fdeebe8b9aa6a5bf25e
[]
no_license
BGCX261/z-one-svn-to-git
576b2b958a783238d11159ca175a54d79c988a64
bc8bfbcb0267e27ce637844f762032ae6f49a9ee
refs/heads/master
2021-01-25T09:59:22.856790
2015-08-25T15:46:24
2015-08-25T15:46:24
42,317,186
0
0
null
null
null
null
UTF-8
C++
false
false
415
h
botao.h
#ifndef BOTAO_H #define BOTAO_H #include <SDL/SDL.h> #include "util.h" #define REFRESH 0 #define KATANA 1 #define NUNCHAKU 2 #define MARIKI 3 #define SHURIKEN 4 #define KUNAI 5 #define BOMBA 6 class botao{ SDL_Surface* image; SDL_Rect box; int type; public: botao(int tipo, int x, int y); ~botao(); void onClick...
e77f6a0bf95b7d5d710542947301d9b6a6621d77
c197de55184d5d7ff95e9d06c5bb6a4766c14c9b
/mainwindow.h
53f4f1a951cab27273b8590fbc46b2c438466218
[]
no_license
yuntux/lo21-npi
0f25df008198714569b09f88bffd4a6ef829bb66
975ea3d69f528c78a1e203ee7c5e7ec8df11c776
refs/heads/master
2016-09-05T09:20:34.548990
2012-06-17T12:43:58
2012-06-17T12:43:58
32,145,443
0
0
null
null
null
null
UTF-8
C++
false
false
2,547
h
mainwindow.h
/** * \file constante.h * \brief Calculatrice en polonais inversé. Classe de la GUI QT-MainWindow * \author Aurélien DUMAINE * \author Simon LANCELOT * \version 0.1 * \date juin 2012 * * Licence : GNU/GPL version 3 (http://www.gnu.org/copyleft/gpl.html) * Dépot Git : http://code.google.com/p/lo21-npi/...
87b89534f5b3a9c3f23fec0988ba891f65005fe1
d2c0a0d55436cdb194fd0bb52af0ca32d8e56af8
/Shapes.cpp
83584ac7c191cc272d564a4a6b941d9a7e0c7ec9
[]
no_license
Abigail-Verhelle/Object-Oriented-Programming
1001b0ca38386f234c1bdc999f480c4596a9726d
c61dc117cc31f956d5008a96baa3ab58ae8cfdc8
refs/heads/master
2020-12-24T00:07:57.776292
2020-01-30T22:40:44
2020-01-30T22:40:44
237,319,118
0
0
null
null
null
null
UTF-8
C++
false
false
7,271
cpp
Shapes.cpp
#define USE_MATH_DEFINES #include <iostream> #include <sstream> #include <cmath> #include "Shapes.h" using namespace std; string olor[9] = { "BLACK", "RED", "GREEN", "YELLOW", "BLUE", "MAGENTA", "CYAN", "WHITE","INVALID" }; //Box //Box area double Box::area() const { return (r-l)*(t-b); } //box Perimeter double...
322faaf13a64c058e6f1b2cbdfccbf9fd6357f8f
da1c11dad536f7b19b3c057f0045da167417b97c
/include/geometry.hpp
50678d61736aa862ef491e93281441dd7a79e7e7
[ "MIT" ]
permissive
Ikaguia/idj-pinguim
44895c1f158db3c153a10d7f65af6f6fc2b26046
fd07be94b440057ab2ec9bf80931bc3f2b588cd3
refs/heads/master
2021-01-20T02:11:16.787616
2017-04-03T14:44:02
2017-04-03T14:44:02
85,530,993
1
0
null
null
null
null
UTF-8
C++
false
false
1,886
hpp
geometry.hpp
#ifndef GEOMETRYHPP #define GEOMETRYHPP #include <cmath> #include <common.hpp> #define PI 3.141592653589793 #define RAD(x) (((x)*PI)/180.0) #define DEGREES(x) (((x)*180.0)/PI) class Vec2{ public: float x; float y; Vec2(); Vec2(const float &a,const float &b); Vec2(const Vec2 &b); void operator= (const Ve...
17210f9272b38a85a9f2fee2e6dcc095ea197039
65e5be11519f3696463f748abbc9f5e09192042a
/src/geopos.cpp
0eb54d537f7846dcfc0533b2a3b277a0388a012f
[]
no_license
kimmoli/position-cli
fa585c678d0e7f1e958e4563ced844c311de8505
cb695d636adc4f3c2f66bf4d69353842fc2ca67b
refs/heads/master
2021-01-18T14:14:48.491949
2015-01-18T20:28:32
2015-01-18T20:28:32
29,437,677
0
1
null
null
null
null
UTF-8
C++
false
false
1,846
cpp
geopos.cpp
#include "geopos.h" Geopos::Geopos(bool repeat, bool verbose, QString selectedSource, QObject *parent) : QObject(parent) { m_repeat = repeat; m_verbose = verbose; QGeoPositionInfoSource *source; if (selectedSource.isEmpty()) source = QGeoPositionInfoSource::createDefaultSourc...
5526fd0d77dfbef80de98ec9c7367fb1ab51ce9d
4bd425e25561eacf8747b740fd23aa83155251d6
/main.cpp
e0e0bcf3146d9debfa8d3235c6837c240c9835a7
[]
no_license
yardru/mail_exam_not_server
8a0bf02537cf45ae09efbfab747093fda10ee8be
47fef09efdd7faac940c2c6cd929e1ddebd6cda0
refs/heads/master
2021-01-16T21:37:45.238310
2016-07-21T14:29:25
2016-07-21T14:29:25
63,869,947
0
0
null
null
null
null
UTF-8
C++
false
false
293
cpp
main.cpp
#include <iostream> #include <unistd.h> int main(int argc, char **argv) { char server[] = "/home/box/server"; if (argc < 7) return 1; execlp(server, server, argv[1], argv[2], argv[3], argv[4], argv[5], argv[6], nullptr); perror("open server error"); return 0; }
d2ed126071b6269a948e36aa398d1b992f90a368
bf29f90905c1aa85b6505025679e65e6f910b027
/Code_SASA 저장소/전체/2333 [고알-하] 바이러스 조사.cpp
dde443e1cf0c29c9c563f28f6de76ae630f369fc
[]
no_license
Pentagon03/Code-SASA
a56c7a3703bf3342ebc85fa83fbd5ee77fb99b98
ffecf9f8f70722f58abbcb0f71fb0b9feacc2f79
refs/heads/master
2022-12-14T16:59:42.704313
2020-09-10T08:52:34
2020-09-10T08:52:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
533
cpp
2333 [고알-하] 바이러스 조사.cpp
#include<stdio.h> int H[50010],V[100010]; // H:human, V:virus int n,m,k,temp,i; void meet(int a,int b){ if(H[a]==H[b]) return; if((H[a]==0)||(H[b]==0)){ if(H[a]==0) H[a]=H[b]; else H[b]=H[a]; } else{ m++; H[a]=H[b]=m; } } int main(){ scanf("%d%d%d",&n,&m,&k); for(i=1;i<=m;i++){ scanf("%d"...
2875af0c06634332324824229c1369b00995a5ba
5925604475bdb9106e2ea8550770df9108748f64
/yare/Camera.h
ec84941103697b4155e66c68c925261b2e044f0f
[]
no_license
y20Lion/yare
6f15e5c14e4faba895a742519528ec6c69808701
80b15b400f11b5d80fc538a377492b8a039f2af8
refs/heads/master
2020-12-25T17:03:45.246285
2017-05-13T11:34:50
2017-05-13T11:34:50
56,537,578
1
0
null
null
null
null
UTF-8
C++
false
false
418
h
Camera.h
#pragma once #include <glm/vec3.hpp> #include <glm/fwd.hpp> namespace yare { struct PointOfView { PointOfView(); glm::vec3 from; glm::vec3 to; glm::vec3 up; glm::mat4 lookAtMatrix() const; glm::vec3 rightDirection() const; }; struct Frustum { Frustum(); float left, right, bottom, to...
0c550ae34c040259181cb04232a3eec94352f528
8c5b68883c390a337665399bd7eb52244fbf4170
/src/QueueTest.cpp
098648e217afa614b489e9eb231c8fc5148117d5
[]
no_license
NevilleS/astar
b76ba26413d79beb43a844ca737fdba8124a98b1
8db50757c9c1194df6ea627df84d230bce691dba
refs/heads/master
2016-09-06T10:59:42.523634
2012-06-09T22:49:40
2012-06-09T22:49:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,043
cpp
QueueTest.cpp
#include "gtest/gtest.h" #include "StdQueue.h" #include "PriorityQueue.h" #include "Stack.h" std::ostream& operator<<(std::ostream& os, const Node* a) { os << "Node(" << a->m_x << ", " << a->m_y << ", " << a->m_gCost << ", " << a->m_hCost << ")"; return os; } TEST(QueueTest, InsertTest) { // Check ...
a10bc670420e72febfb6dd3d93d5cb87d607e762
39d96bf3f37afa82e47817762f5b788ac0d990eb
/최종포폴/PirateMonster.cpp
9f225c67b0d66e9a62a8fba6e2392e570ec276d6
[]
no_license
kimgyeongyeop/4weeks-portfolio
f337dbb14a8d3497ec6ee0d25345efc976715099
f486c2575ab74f1fd87d56e0a45426bc71f78a10
refs/heads/master
2022-11-19T11:49:24.515829
2020-07-15T14:43:19
2020-07-15T14:43:19
255,474,095
0
0
null
null
null
null
UHC
C++
false
false
3,450
cpp
PirateMonster.cpp
#include "stdafx.h" #include "PirateMonster.h" PirateMonster::PirateMonster() { } PirateMonster::~PirateMonster() { } HRESULT PirateMonster::init(POINT pos) { monsterindex = 5; monsterinfo.pos = pos; monsterinfo.img = IMAGEMANAGER->findImage("해적총알공격"); monsterinfo.currentFrameX = 0; monsterinfo.currentFrameY ...
aa693e620ed4a5fa5a8ed8a027974ed46730fda8
6631041fe2cd98c885cf004381a214c34bb62f0f
/App/TMReceiverSrc/TMReceiver/TMReceiverImp.cpp
936869798fa559ef5e0d1f5603c8291c5de69471
[]
no_license
usher2007/Navigation
05b5e227b9123f455deba3fb0a07392eb8f4d9ff
1c18ee12ba23c33c3f34d06ac0fd50f89203e79f
refs/heads/develop
2021-01-23T14:57:07.800809
2013-04-17T09:37:21
2013-04-17T09:37:21
2,854,394
4
13
null
2014-08-19T07:01:10
2011-11-26T06:15:08
C++
UTF-8
C++
false
false
2,995
cpp
TMReceiverImp.cpp
#include "stdafx.h" #include "TMReceiverImp.h" TMReceiverImp::TMReceiverImp() { m_pGraph = new CTMReceiverGraph(); m_bDisplay = FALSE; m_bStorage = FALSE; m_bRunning = FALSE; m_bStoring = FALSE; m_hDisplayWnd = NULL; } HRESULT TMReceiverImp::EnableDisplay(HWND hwnd) { m_bDisplay = TRUE; m_hDisplayWnd = hwnd; ...
fdcbc02e0b4f5ccd2ea7ff34f18ae955b488bae1
1c2962381e983bec0858f6724bbc3437c9c75bfc
/spoj/herding.cpp
823fc6124191980ec99447b7f2c5ecd39b01e7ae
[]
no_license
ranti-iitg/CODE
f2871a5cde8fa6f9bc5649e7f3ae25b9d7baccc8
f75e88ef6593deb64fcf2f84d5e0c084753a41d3
refs/heads/master
2020-06-06T17:31:14.220098
2017-04-13T05:34:58
2017-04-13T05:34:58
25,700,143
0
0
null
null
null
null
UTF-8
C++
false
false
1,183
cpp
herding.cpp
#include<iostream> #include<algorithm> #include<string> #include<vector> #include<cstring> using namespace std; vector<string> vs; int a[1005][1005]; using namespace std; int n,m; int check(int u,int b,char c){ if(u>=0&&b>=0&&u<n&&b<m&&a[u][b]==0&&vs[u][b]==c) return true; else return false; } int dfs(int x,int y,i...
1dcd216712d8ad4710c98a5315bfd61542a3b27c
0dcda0002fdc5062e2ba42a2f69f956b54071aae
/obstacle-avoiding-robot.ino
07659a87863846ec550a4d85ca15894ee12de841
[]
no_license
Diego-gh/arduino-obstacle-avoiding-robot
9b7a69fbf066f6842ffd909863154944d26d17cf
670890dcd06d3a54a3851118b9bd006df1149678
refs/heads/master
2020-09-27T20:38:05.787208
2019-12-08T02:54:39
2019-12-08T02:54:39
226,604,839
0
0
null
null
null
null
UTF-8
C++
false
false
3,428
ino
obstacle-avoiding-robot.ino
#include <Wire.h> #include <Adafruit_MotorShield.h> #include "utility/Adafruit_MS_PWMServoDriver.h" // Constants const int trigPin = 5; // Pin used to trigger sensor const int echoPin = 4; // Pin used to read data from sensor const int ledPin = 12; // LED pin const int minDistance = 15; // Minimum distance(centimeter...
94d2983af8acebcd48a3c59a297b2ea7f20af0a7
2e33661d09778dc4960c045804f4bc35921def08
/APPLICATION/Sources/HAL/uart.hpp
f0e69a17e08e1296ce6d3ab049d9b397b7a7d5f7
[]
no_license
grazzland/smartcard-access-control
beb00190ed9afd40e41ddd265d5cd315a5a5d744
7f5cf566c295bf82e18bde455066b2a3d9f0e1e6
refs/heads/master
2021-06-11T01:23:44.593032
2017-01-03T14:41:19
2017-01-03T14:41:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,021
hpp
uart.hpp
/** * @file uart.hpp * @brief UART driver header */ #ifndef __UART_HPP #define __UART_HPP #include "core.hpp" #include "stm32l1xx.h" // Device header #include <stdint.h> /** * @brief UART driver class */ class Uart { public: enum Options_t { RX_SIZE = 1024, TX_SIZE = 1024, }; /// ...
aa1296ccd6bb4b55b692f1c777a653c861d42d02
7f67919b5f5e087e8a26eacd8d5d1c1f94224cc6
/profiling/client/src/RequestCounterDirectoryCommandHandler.cpp
cf07c450309d194cda45e633769af761f8945e7f
[ "BSD-3-Clause", "CC0-1.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ARM-software/armnn
11f0b169291ade6a08cbef1e87b32000aeed4767
49f609d9e633f52fcdc98e6e06178e618597e87d
refs/heads/branches/armnn_23_05
2023-09-04T07:02:43.218253
2023-05-15T10:24:43
2023-05-15T16:08:53
124,536,178
1,053
329
MIT
2023-05-22T23:28:55
2018-03-09T12:11:48
C++
UTF-8
C++
false
false
1,818
cpp
RequestCounterDirectoryCommandHandler.cpp
// // Copyright © 2019 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "RequestCounterDirectoryCommandHandler.hpp" #include <fmt/format.h> namespace arm { namespace pipe { void RequestCounterDirectoryCommandHandler::operator()(const arm::pipe::Packet& packet) { ProfilingState currentS...
4ee99ab16df937d99970dbe2a91c782940640418
65e3391b6afbef10ec9429ca4b43a26b5cf480af
/TEvtGen/EvtGen/EvtGenModels/EvtbTosllAliFF.hh
e3710a2ccf98da8d41668e7301dd0f56e9fb6916
[]
permissive
alisw/AliRoot
c0976f7105ae1e3d107dfe93578f819473b2b83f
d3f86386afbaac9f8b8658da6710eed2bdee977f
refs/heads/master
2023-08-03T11:15:54.211198
2023-07-28T12:39:57
2023-07-28T12:39:57
53,312,169
61
299
BSD-3-Clause
2023-07-28T13:19:50
2016-03-07T09:20:12
C++
UTF-8
C++
false
false
1,147
hh
EvtbTosllAliFF.hh
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
532eb3f3d9afdbda3c7cff5dd1df941686409711
969e528c5b946b7bc090a8b1d0511f197e56dc7f
/cpp/MakeJSIRuntime.h
dd22ce773f8386acb864ff5c2a7b7d701514cf80
[ "MIT" ]
permissive
heroic/react-native-multithreading
06667f59464ba6eb05731b5817f9bc8147da8294
9974835a87448fd8947b09891147319c2eb9c32f
refs/heads/master
2023-04-18T03:57:07.933482
2021-04-14T08:00:49
2021-04-14T08:00:49
358,669,151
0
0
MIT
2021-04-16T17:11:56
2021-04-16T17:11:55
null
UTF-8
C++
false
false
324
h
MakeJSIRuntime.h
#pragma once #include <jsi/jsi.h> #include <memory> using namespace facebook; namespace mrousavy { namespace multithreading { /** * Create a new jsi::Runtime with the configured JS engine. * * Supported Engines: * * - Hermes * - V8 * - JavaScriptCore */ std::unique_ptr<jsi::Runtime> makeJSIRuntime(); ...
7ce89ce34015b331b439ed8e4cfafd375cf19d9d
fdd372be49a46dbf84801ca26b2f1d43ac3f4901
/stl/src/unordered_set_t.cpp
9b0e5919d2a265c58d8e77f550d62485b14c1e53
[]
no_license
cbj0304/myCode
261fac9f0ba3a1f46aebecfbdbe462cd1b4985b4
be0e3a486110154cf5b1321cdb9c888ab9104e50
refs/heads/master
2020-11-28T05:14:38.834206
2020-01-21T08:54:56
2020-01-21T08:54:56
229,712,865
0
0
null
null
null
null
UTF-8
C++
false
false
1,066
cpp
unordered_set_t.cpp
#include <unordered_set> #include <string> #include <algorithm> #include <cstdlib> #include <cassert> #include <iostream> #include <vector> #include "common.h" using namespace std; /* set 和 unordered_set: 如果元素为非基础类型,需要自定义哈希函数,具体使用和set类似; 方法: 插入/删除:erase() / insert() / clear() / swap() 查找:count() / find()...
df2f2190856186b3a2699f6ec8c92634614e6514
fbe60fa0d8e888bfdcf20beb2ef062f0f24fbcbd
/Algorithms/knight-probability-in-chessboard.cpp
08fd14e03c670f6c36a785609b90e94efe63a9bd
[]
no_license
aman1228/LeetCode
552e5feff8a67c05ba318efa3a8a2d121ab64636
76a3d6878719643cbca59643ff8e697498411498
refs/heads/master
2023-04-03T13:27:06.340091
2021-04-18T00:15:51
2021-04-18T00:20:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,210
cpp
knight-probability-in-chessboard.cpp
// 688. Knight Probability in Chessboard // https://leetcode.com/problems/knight-probability-in-chessboard/ /* On an NxN chessboard, a knight starts at the r-th row and c-th column and attempts to make exactly K moves. The rows and columns are 0 indexed, so the top-left square is (0, 0), and the bottom-right square is...
cd4adf9385738b251b50fd54b83876cd408d8167
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/cpp/28a0742f8c90cb96240620b7180efc0a91a497f7RepoManager.cpp
28a0742f8c90cb96240620b7180efc0a91a497f7
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
C++
false
false
1,061
cpp
28a0742f8c90cb96240620b7180efc0a91a497f7RepoManager.cpp
////////////////////////////////////////////////////////////////////////// // RepoManager.cpp - Test RepoManager class // // Language: Visual C++ 2011 // // Platform: Dell Studio 1558, Windows 7 Pro x64 Sp1 // // Application: CIS 687 / Project 4, Sp13 ...
eaa31e49bcddd84b3051ab3e52828fb52e8b03a4
b500af19a25a965cdd7460d7ac85847d1820d744
/Prodedural-Programming-Cpp/assignment30.cpp
0f0ef178954027a3b7f9e4cccae0730deea7cce3
[]
no_license
FNHENRIQUES/CPP-class
3a9e9e7362b2e5e59fd8b8a84401ba0e59b14611
05fa322a764897d1f7ada002a59e0510b86276e7
refs/heads/master
2020-05-07T21:57:49.900988
2019-04-12T03:59:52
2019-04-12T03:59:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,657
cpp
assignment30.cpp
/*********************************************************************** * Program: * Assignment 30, Array * Brother Honeycutt, CS124 * Author: * Fernando Negreiros Henriques * Summary: * This program prompt user for 10 grades, sum and calculate the average of * grades using array data. * Es...
b1dc6147befd6e6756cc438a65e3bebcdabba779
3787dbfff19d9cec250c5c0a0dc65aa1f4439478
/5648. 원자 소멸 시뮬레이션/5648. 원자 소멸 시뮬레이션.cpp
713dacabc1b42a8aa17a4a6dffbd9e5f076c40da
[]
no_license
YangJongYeol/BaekJoon
0669846bc9cb1f878f80d3730dbe74e5def51f9e
e9977db731f1380e0d6283d581b0271a21834a48
refs/heads/master
2021-05-05T13:00:22.875505
2019-10-16T13:08:46
2019-10-16T13:08:46
118,354,063
0
0
null
null
null
null
UTF-8
C++
false
false
2,420
cpp
5648. 원자 소멸 시뮬레이션.cpp
// 5648. 원자 소멸 시뮬레이션.cpp : 이 파일에는 'main' 함수가 포함됩니다. 거기서 프로그램 실행이 시작되고 종료됩니다. // #pragma warning(disable: 4996) #include <iostream> #include <queue> #include <cstring> #define loop(a,b) for(int a=0; a<b; a++) using namespace std; int T, N, ans, map[4001][4001], dir_x[] = { 0,0,-1,1 }, dir_y[] = { 1,-1,0,0 }; s...
7bf15d1fd5d349b8bb0037b9586e3be037cda9f9
bb9259778d3b51a98ad22d373ced81ceef9fe3b2
/c-interfaces/DeploymentManager.h
bfd88135fe39baf54c4d8abc2cc4c83a956d312a
[ "MIT" ]
permissive
christiaanb/SoOSiM
097415c5f24869770d6731d82cf5cf0b7a7c18ef
84b7db42c9c2398f4cec8edeff206a4b1ee268f8
refs/heads/master
2021-01-19T14:56:15.329576
2013-06-19T21:24:13
2013-06-19T21:24:13
3,719,498
2
1
null
null
null
null
UTF-8
C++
false
false
364
h
DeploymentManager.h
#ifndef DEPLOYMENT_MANAGER #define DEPLOYMENT_MANAGER #include "SoOSiM.h" #include "common.h" // Depends on modules: #include "CodeAdapter.h" #include "MemoryManager.h" class DeploymentManager { public: DeploymentManager(); ~DeploymentManager(); void deploy(code_t c, destination_t d); void migrate(code_t c,...
7468a3b6e43baeff41d59d0c1b620082613aa522
bc2d1a4464ca12d083be4ba5c7a31e25bc694633
/Ass3/src/Goal.cpp
03d24cb20443117f657ab3db50f99e921843db53
[]
no_license
RakshakSatsangi/Designing
794e69d88dbdf098864cf3e0a8ccbce51c91f3a9
2a9fb686dd1c0956543e6329be26a6993ca91690
refs/heads/master
2021-01-19T07:25:02.948933
2015-05-03T17:25:37
2015-05-03T17:25:37
34,991,346
0
0
null
null
null
null
UTF-8
C++
false
false
366
cpp
Goal.cpp
/* * Goal.cpp * * Created on: 23-Apr-2015 * Author: rakshak */ #include "Goal.h" Goal::Goal(float x, float y, float w, float h) { x_cor = x; y_cor = y; width = w; height = h; line.setSize(sf::Vector2f(w, h)); line.setFillColor(sf::Color::White); line.setPosition(x, y); // TODO Auto-generated constr...
a2271ee869059fc4077dc8adae699093610e548f
ab9e699af16bd8c58760ab9555f11d5fb81ede8f
/Chapter2_linkedLists/doubly_linked_list.cpp
008b1212e6665948a057435300d2fe73f4c0f44e
[ "MIT" ]
permissive
kgajwan1/CTCI_practice
c4cca2c9651df74eb518e427932281fed2922abf
2e8e61f508777b4b7ad5d8c32dedd12ea5b27d39
refs/heads/master
2020-06-06T15:44:22.823730
2020-01-07T22:09:58
2020-01-07T22:09:58
192,781,970
0
0
null
null
null
null
UTF-8
C++
false
false
3,273
cpp
doubly_linked_list.cpp
//doubly linked list #include<bits/stdc++.h> class Node{ public: int data; Node *next; Node *prev; }; //push data to node /* Given a reference (pointer to pointer) to the head of a list and an int, inserts a new node on the front of the list. */ void push(Node **n, int new_data) { //allocate no...
e6e11a62e0ae033b3620842e2a89527fa144c013
091d0584da946320b5e8f393aedcccc69db21662
/src/libv/gl/array_buffer_object.hpp
db3c04393422aacca8afe03417ffd8702d02c5f1
[ "Zlib" ]
permissive
cpplibv/libv
bfe3f395439d27f15d06fbe9d614b21cba34006e
cc7182ca38ecd01fe7f87dadf3577b7d5f7dfa28
refs/heads/master
2023-08-31T23:47:44.957226
2022-07-25T22:34:53
2022-07-26T00:14:48
95,343,090
10
1
null
null
null
null
UTF-8
C++
false
false
433
hpp
array_buffer_object.hpp
// Project: libv.gl, File: src/libv/gl/array_buffer_object.hpp #pragma once // pro #include <libv/gl/buffer_object.hpp> namespace libv { namespace gl { // ------------------------------------------------------------------------------------------------- struct ArrayBuffer : Buffer { }; // ------------------------...
220f8eb34190fc5358c349e24309d1c3272fec4c
7579d827cb7b50b438dfd9ef6fa80ba2797848c9
/sources/plug_osg/include/luna/wrappers/wrapper_osg_DefaultUserDataContainer.h
ea6973a386b79ed7fe2a44422384a6e0d9af8f98
[]
no_license
roche-emmanuel/sgt
809d00b056e36b7799bbb438b8099e3036377377
ee3a550f6172c7d14179d9d171e0124306495e45
refs/heads/master
2021-05-01T12:51:39.983104
2014-09-08T03:35:15
2014-09-08T03:35:15
79,538,908
3
0
null
null
null
null
UTF-8
C++
false
false
14,115
h
wrapper_osg_DefaultUserDataContainer.h
#ifndef _WRAPPERS_WRAPPER_OSG_DEFAULTUSERDATACONTAINER_H_ #define _WRAPPERS_WRAPPER_OSG_DEFAULTUSERDATACONTAINER_H_ #include <plug_common.h> #include "lua/LuaObject.h" #include <osg/UserDataContainer> class wrapper_osg_DefaultUserDataContainer : public osg::DefaultUserDataContainer, public luna_wrapper_bas...
99faf51f3762250c780cb14d9c78d2b10772db10
9fc4a85471668e9ee9a8acb01f2ed2705895bd66
/include/teleop/TankDrive.h
d2b0a9567cb07e21ea5b644790970267b26e87b0
[ "MIT" ]
permissive
Team302/2018BetaCode
56badc4624bdce48721c8efb195058a79eb4e277
c941a77c537ce14fac0c13b7416f33b1cea97cad
refs/heads/master
2020-04-14T18:27:28.418862
2019-01-03T20:50:30
2019-01-03T20:50:30
164,019,828
0
1
null
null
null
null
UTF-8
C++
false
false
415
h
TankDrive.h
/* * TankDrive.h * * Created on: Jan 27, 2018 * Author: casti */ #ifndef SRC_TELEOP_DRIVE_TANKDRIVE_H_ #define SRC_TELEOP_DRIVE_TANKDRIVE_H_ #include <teleop/IDrive.h> class TankDrive : public IDrive { public: TankDrive(); virtual ~TankDrive() = default; void Drive() override; ...
fda1b5a97c5db3a3cfaa4118e3c0de8737fb9b5d
415adc368d855cc21cc3ba0130403a5daa8033e5
/boom/CC++学习指南 - 语法篇/视频教程(PPT课件及示例代码)/示例代码/main_28_1A.cpp
4975c37cd756c3393df43b39f8041c8458b6edfd
[]
no_license
theJinFei/AlgorithmTest
8ae6051832001b5b0d87709803b6df8b0d224fad
83616b5baad7abff1a3f09e0ebf317615bb8c7a5
refs/heads/master
2022-03-08T02:41:17.253049
2019-12-16T03:15:24
2019-12-16T03:15:24
114,447,954
0
0
null
null
null
null
GB18030
C++
false
false
387
cpp
main_28_1A.cpp
#include <stdio.h> #include <string.h> class AAA { private: // 定义一个内部类 class Inner { public: int id; char name[64]; }; public: AAA() { Inner i; i.id = 123; } }; int main() { // 使用该内部类时,类名使用全称 AAA::Inner // AAA::Inner a; // a.id = 123; // strcpy(a.name, "AnXin"); // printf("Name: %s \n",...
73ddd491bacbe89cba1d26ab7cf5dcee6fae8d1f
800f6a2a700370de83790633651958f1fe98d4b3
/qspexecwebengineurlschemehandler.cpp
44e1f932f8810af9da19738408c5bd5e6690dd7a
[ "MIT" ]
permissive
Sonnix1/Qqsp
2d72e6dbb9206c907b77e5e8bc49863e6e236b98
77ce918e8c2f2bdde8ef389adca9e6b69624f572
refs/heads/master
2020-07-30T07:00:20.167311
2019-09-06T12:03:01
2019-09-06T12:04:14
210,126,839
1
2
null
null
null
null
UTF-8
C++
false
false
1,815
cpp
qspexecwebengineurlschemehandler.cpp
#include "qspexecwebengineurlschemehandler.h" #include <QString> #include <QBuffer> #include <QUrl> #include <QMessageBox> #include <qsp_default.h> #include "callbacks_gui.h" #include "comtools.h" QspExecWebEngineUrlSchemeHandler::QspExecWebEngineUrlSchemeHandler(QObject *parent) : QWebEngineUrlSchemeHandler(parent)...
106a2c66fde6a0268332e7a5b7cd0e85ee1fa967
96fc5a71c3b60d6142491f9431e2ec9b74f181bd
/paddle/function/FunctionTest.cpp
7ce908320a6f6f764e8fdacc96432aca78d7b2df
[ "Apache-2.0" ]
permissive
beckett1124/Paddle
747f80504e5a5c87df4bb24ada8a63e60412210b
bee88c9f24c1f738d676a3dba58ceb4fdcf672fc
refs/heads/develop
2020-12-24T06:13:55.256179
2017-02-09T07:42:56
2017-02-09T07:42:56
73,163,938
0
0
null
2017-01-15T11:28:27
2016-11-08T08:13:35
C++
UTF-8
C++
false
false
1,864
cpp
FunctionTest.cpp
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 ...
151f15dbb59f0045c0910d6c478ec362ea5b596d
525e8581d7f35d63277563649708f69cd8a0c3b8
/naudio/third_party/JUCE/extras/Projucer/Source/Utility/jucer_CodeHelpers.cpp
a540b291f3d137d5e96f11d4e9767efc8d83834a
[]
no_license
eliot-akira/audiom
55f8d218b3922c76ef0216324f2245e3929d764c
23397abaecb789fb8b6fd449f3a627383640bc47
refs/heads/master
2021-04-05T23:55:17.742839
2018-03-29T05:41:55
2018-03-29T05:41:55
125,117,718
2
0
null
null
null
null
UTF-8
C++
false
false
16,753
cpp
jucer_CodeHelpers.cpp
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 5 End...
49e28d785b1d3ca741bf270273fbe0c4b1ddc0a6
0c9ace9a9d35c926e71154b7d0d303da5b6e0370
/leetcode/Cpp/lcofhe-wei-sde-liang-ge-shu-zi.cpp
7601d6f8d7010ea8df3b0a7c37c345b80b5b2c95
[]
no_license
sinsheep/dateStructures
3f257580ada61a6b9cee0481b4aec27d50638ac1
bacf9d43e6ffa3667228d608ad634ea83b4c1272
refs/heads/master
2023-04-04T11:51:57.052149
2021-04-09T15:36:14
2021-04-09T15:36:14
316,744,922
1
0
null
null
null
null
UTF-8
C++
false
false
744
cpp
lcofhe-wei-sde-liang-ge-shu-zi.cpp
#include <bits/stdc++.h> using namespace std; class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { vector<int> ans; for(int i = 0; i < nums.size(); i++){ int l = i + 1, r = nums.size() - 1; while(l < r){ int mid = (l + r) >> 1; ...
d175025924c7c2f006af0181f4355404a0705c2b
b77b470762df293be67877b484bb53b9d87b346a
/game/CameraRenderer.h
d03201c6d98f65c76ea65449c9a8528eeadb5800
[ "BSD-3-Clause" ]
permissive
Sheph/af3d
9b8b8ea41f4e439623116d70d14ce5f1ee1fae25
4697fbc5f9a5cfb5d54b06738de9dc44b9f7755f
refs/heads/master
2023-08-28T16:41:43.989585
2021-09-11T19:09:45
2021-09-11T19:09:45
238,231,399
1
1
null
null
null
null
UTF-8
C++
false
false
3,992
h
CameraRenderer.h
/* * Copyright (c) 2020, Stanislav Vorobiov * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of ...
b0e2318777db5ead7ebdb578bc746768f4ea67b5
43221ffd2d148583095f37eb655b395cd20aa849
/Person.h
54e332ade69f91e027660a533154224cd5ee32ed
[]
no_license
lblack1/cpsc350-BSTDB
18940570ee164f505ccb60c9f721c339438f78f9
2a527ae522297b90f13fae65313716ce5466a189
refs/heads/master
2020-09-21T01:19:43.044056
2019-11-28T19:27:47
2019-11-28T19:27:47
224,638,740
0
0
null
null
null
null
UTF-8
C++
false
false
897
h
Person.h
#ifndef PERSON #define PERSON #include <iostream> #include <fstream> #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> using namespace std; /* Base class for faculty and student records. */ class Person { public: Person(); Person(unsigned int i, string n, string l); ...
3a8e865959114649b499da1c0989d51a8fee6a42
0e7284482c70cf7ab72011dbe22c619817d41eeb
/bitstream.h
038751a36b7621c7df12a4f25f6516b067a7f1bd
[]
no_license
the-goodies/library
d4ac383a1bd2467102ba9865d202301abab2a0dc
a72527bc0e900bb876fb8a533cd2dc5595be0cc0
refs/heads/master
2021-05-04T04:02:00.262521
2017-04-17T18:28:01
2017-04-17T18:28:01
70,840,231
0
0
null
null
null
null
UTF-8
C++
false
false
6,732
h
bitstream.h
#ifndef _bitstream_h #define _bitstream_h #include <fstream> #include "utility.h" /* Defines a classes for reading and writing one bit at a time to a stream * which is associated with provided file since fstream doesn't provide this functionality * * Other than reading/writing bits, also provide this additional f...