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
201edb3b828a097061b044e44d2fce638f894152
5f79d7500df648a6405816f2e2d8935a458bd7d9
/Function/static_DataMember_method.cpp
496e84925917eaeb00371721c282e8607fa1d7b4
[]
no_license
radheshyam0508/C-_Files
9126180f6b3431e5db4343dea8b3bd246fa6440d
1cd9f46dd9c4e3b50c0d09ff29c1b3e181372a83
refs/heads/master
2023-01-23T02:15:44.074989
2020-11-04T14:52:36
2020-11-04T14:52:36
310,030,465
0
0
null
null
null
null
UTF-8
C++
false
false
939
cpp
static_DataMember_method.cpp
#include<iostream> using namespace std; class Employee{ int ID; static int count; // By default it initialized with zero 0' public: void SetData(){ cout<<"Enter the ID of the Employee "<<endl; cin>>ID; count++; } void GetData(){ cout<<"The ID of the employee ...
8f0ead3621ace1121d3ced3c458519ceca5b7c4d
60729446e7e6b60f2b4013450363d4a6d62cc6a1
/2.Firmware/Ctrl-Step-Driver-STM32F1-fw/Ctrl/Driver/tb67h450_base.cpp
54d47b9d4884a5525c28e4037b6a5589e23f42e1
[]
no_license
asdlei99/Dummy-Robot
7a3258ed5314ff32928566dd6a51f4ff4c2b6605
84453f1391c4442b5387a799571b7f67418afa2d
refs/heads/main
2023-09-04T05:49:51.175035
2022-10-20T16:38:31
2022-10-20T16:38:31
415,791,815
0
0
null
2021-10-11T05:37:45
2021-10-11T05:37:44
null
UTF-8
C++
false
false
2,074
cpp
tb67h450_base.cpp
#include "tb67h450_base.h" #include "sin_map.h" void TB67H450Base::Init() { InitGpio(); InitPwm(); } void TB67H450Base::SetFocCurrentVector(uint32_t _directionInCount, int32_t _current_mA) { phaseB.sinMapPtr = (_directionInCount) & (0x000003FF); phaseA.sinMapPtr = (phaseB.sinMapPtr + (256)) & (0x00000...
47c29288a7561f0e01d282383e8843942dc83093
8d2698238e80bec9660e700f81a902f543db3b83
/P/P2/CW/5/3dArray.cpp
48ce6c526b0ebd0baf4d0accc7c3bb11d60eaa08
[]
no_license
lukmccall/UJ
5d672d06cd9b086ff527517a4c215da5c967e102
05bb2cf258ba734b2db41a999a4136019271960c
refs/heads/master
2020-09-14T21:47:57.824883
2019-11-21T21:35:22
2019-11-21T21:35:22
223,267,173
5
2
null
null
null
null
UTF-8
C++
false
false
3,112
cpp
3dArray.cpp
#include <iostream> #include <stdlib.h> class Array3D{ private: int width; int height; int deep; int*** pointer; public: Array3D( int w = 0, int h = 0, int d = 0 ){ width = w; height = h; deep = d; pointer = new int**[ width ]; for( int i = 0; i < width; i++ ){ pointer[ i ] = new int*[ height ]; ...
2e818d4a6d2fa95007f2a0fc3173f6bf70a7f802
9fd511af17219366e7826ed95bfa0c181fde32a5
/Lab Work 4/Question 2/Vector.cpp
8bf986946d9ae43a071b305a831c98854bda343d
[]
no_license
SaskarKhadka/labworksFirstSem
4162f916a4a03c5d093fde17cc3d3bf833b9cc14
bc006c0f5fa3d2ce7a96d5d13af2ff9f0b7a6309
refs/heads/main
2023-04-01T02:59:57.137236
2021-03-28T12:28:05
2021-03-28T12:28:05
316,514,596
0
0
null
null
null
null
UTF-8
C++
false
false
3,952
cpp
Vector.cpp
#include "Vector.h" #include <iostream> //default constructor Vector::Vector() { x = 0; y = 0; z = 0; isRowVector = true; } //parameterized constructor Vector::Vector(double x, double y, double z, bool isRowVector) { this->x = x; this->y = y; this->z = z; this->isRowVector = isRowVecto...
7911df998cd18af5d7bb051dbf1ee6f379311eab
040abee992b3cb04926602cb3fb80a6ae7eb776c
/examples/hello_world/hello_world.ino
2d9f65f731d3d1b2038aca324d2d69a09ad79251
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
madleech/CrossingFlasher
2bb1399dfd75f6f5b6a445d8d6ae77c8d269bcb7
a469903ad3ef0770de72f50fef2683955deb9548
refs/heads/master
2021-01-19T10:57:41.462849
2013-09-30T09:24:53
2013-09-30T09:24:53
13,210,886
0
1
null
null
null
null
UTF-8
C++
false
false
339
ino
hello_world.ino
/** * Hello World * =========== * Simple demo that turns on the cross bucks and then flashes them for ever. * * For more info, see http://utrainia.michael.net.nz/46-simulating-railroad-crossing-lights */ #include <CrossingFlasher.h> CrossingFlasher bucks(2, 3); void setup() { bucks.on(); } void loop() { ...
31674c73c1b8f49caeed957e33aac65b1cc64a3e
39f56b90559f2fe1fe0b8892cf1f6480b5c317b2
/swdnn_test/src/test_relu.cpp
bffc7fbf48c5266f744fb37e1383df314e362fec
[]
no_license
sspeng/SWCaffe
c7f631ebc005690df55fa66bd775fac92ffb24cc
679db37006acfd7ed1cae9a1ccef986b4d05e4e7
refs/heads/master
2021-01-20T03:56:36.242752
2017-08-14T03:17:10
2017-08-14T03:17:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,008
cpp
test_relu.cpp
extern "C" { #include "caffe/swlayers/sw_relu_layer_impl.h" } #include "test_relu_layer_impl.hpp" #include <math.h> #include <stdio.h> #include "athread.h" #include "timer.h" void test_relu_main() { //test_relu_forward(); //test_relu_backward(); //test_relu_forward_f(); //test_relu_backward_f(); } void test_r...
bc281d47f2089d4cbb74ba5f34a5b0633e5d68e4
8d93dc78155c613a2b62796c31cfa7ed61efea43
/fdbserver/RestoreMaster.actor.cpp
f7dfc13b565398ba28e9d0cc825db439721ad4f0
[ "Apache-2.0" ]
permissive
satherton/foundationdb
5a8120b625878a4f780e8db9f4949e51898fb938
f3ed3f462be308f825242ea04d83125b03e27deb
refs/heads/master
2021-06-24T10:41:04.019669
2019-12-03T17:44:15
2019-12-03T17:44:15
130,928,527
4
1
null
2018-04-25T00:24:40
2018-04-25T00:24:39
null
UTF-8
C++
false
false
21,871
cpp
RestoreMaster.actor.cpp
/* * RestoreMaster.actor.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2018 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ...
152294de796f7248357d5387bd91dc270dd9e4e5
d21c5721fe062154481d6b5a0cad1b27923646c9
/Ventus/tile/tile.h
fb4760cdb3a93b19c219bc64220a6d434375fa8c
[]
no_license
Shawn-Gallea123/Ventus
570a94938356e321c079f16e0a558691fef9b879
7152c81d8ad4457cb56c3be90a60f57afc581ecf
refs/heads/master
2022-07-24T05:18:20.703778
2020-05-23T18:35:54
2020-05-23T18:35:54
266,242,770
0
0
null
null
null
null
UTF-8
C++
false
false
501
h
tile.h
#pragma once #include <glm/glm.hpp> #include <string> #include <vector> class Tile { public: explicit Tile(const unsigned int shader_program); virtual void Draw(); protected: unsigned int LoadTexture(const std::string& texture_path); glm::mat4 model_matrix_; glm::mat4 view_matrix_; const unsigned int shader_...
87d958398e3923d1fd4894b8c0efc20c6acc5a00
f5788f77442b55c9e7bb40a1a6849f3df2d4600b
/10_Skybox/freeTypeFont.h
079e18c880cdc980a60eada0fe153d1395956ca8
[]
no_license
computeristgeek/OpenGL3.3-Tutorials-MichalBB-based-
fa46de30fa5e4ccada9b12deaccacf5f66caa1ac
84061fc34c0b85bf98892f7161554c7147c274a4
refs/heads/master
2016-08-11T15:36:30.297837
2015-12-19T22:18:31
2015-12-19T22:18:31
47,404,326
1
0
null
null
null
null
UTF-8
C++
false
false
1,063
h
freeTypeFont.h
#pragma once #include <ft2build.h> #include FT_FREETYPE_H #include "texture.h" #include "shaders.h" #include "vertexBufferObject.h" /******************************** Class: CFreeTypeFont Purpose: Wraps FreeType fonts and their usage with OpenGL. ********************************/ class CFreeT...
7cd14657ae614440c9977fc33aac336214c1a693
2b0b79da5c07eb0a0bd127d3834e538b7860b8b8
/common/tree/binary_tree/test_btree.cpp
56220468ad339e64590426fc640d0b66b74abf8c
[]
no_license
kevinlighter/code
723356c6308669398b5beb5122a450f5107e6d26
1134a62984840ecd1998cb1f1f0b7b46a74fdf0f
refs/heads/master
2022-02-20T05:53:12.448857
2022-02-15T21:39:10
2022-02-15T21:39:10
140,362,184
0
0
null
null
null
null
UTF-8
C++
false
false
690
cpp
test_btree.cpp
#include "btree.h" #include <iostream> using namespace common::tree::BTree; template <typename T> NodeT<T>* test_btree_constructor() { Noded node1(5); Nodes node2("abc"); return &node2; } template <typename T> void test_btree_print(std::shared_ptr<NodeT<T>> nodePtr) { NodeT<T>::print(nodePtr); } int main() { ...
f96e78f77f1348c5df78f57cf4a3368f402c78ec
14527c700343ec8c91f7201e4fbe16b36c20492b
/CANTON.cpp
fd1ceb5c0e2baa5f90868241491b207fffefae16
[]
no_license
Gopinath-ceg/SPOJ
5ea24c29905474d361b51ae89402f476907225a1
60737853d082820479437edcc4299aa3f8cabbae
refs/heads/master
2016-09-06T12:38:36.698299
2013-07-23T17:04:42
2013-07-23T17:04:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
344
cpp
CANTON.cpp
#include<iostream> using namespace std; int main() { int t,i,x,y; long long unsigned int n,a,b; cin>>t; while(t--) { cin>>n; a=1; for(i=1;(i*(i+1))/2<n;i++); i--; a=(i*(i+1))/2; b=n-a; if(i%2==1) { x=b; y=i-b+2; } else { y=b; x=i-b+2; } cout<<"TERM "<<n<<" IS "<<x<<'/'<<y<<en...
b14597e9ec11d14b80f34a5a83e3e07e2a5cc5a3
aabe8cf0784bcf850c353e6ee5012285a7a4091a
/Classes/IngameObject/Skill/PassiveSkill.cpp
cd2390122159331e025e62391234ff7c90ae4ea0
[]
no_license
ImaginysLight/CodingTD
fda402e8c08e9806ed0a31604ba465c94967226e
d6d773f316054011f81df680993c17d4d08579ee
refs/heads/master
2020-05-16T18:18:13.226060
2019-09-07T05:47:58
2019-09-07T05:47:58
183,215,615
1
0
null
null
null
null
UTF-8
C++
false
false
1,904
cpp
PassiveSkill.cpp
#include"PassiveSkill.h" float PassiveSkill::Bonus_Attack = 0.17; float PassiveSkill::Bonus_Defense = 0.05; float PassiveSkill::Bonus_Health = 0.05; float PassiveSkill::Bonus_Regeneration = 2; float PassiveSkill::Bonus_AttackSpeed = 8; int PassiveSkill::fireLevel = 0; int PassiveSkill::iceLevel = 0; int PassiveSkill::n...
5732d368c1cd913d1d6372e24d88cdbc8aab2070
ca5481ff0cae3a207e8651867e7dbd92699db511
/UnrealCourse/Section_02/main.cpp
21ebd6167b488dc8bb1db39578e6f7bcec8054ea
[]
no_license
kamiranoff/cplusplus
0d6523295505b21835c541e9ef977fff7054d2be
c88caf0bf4eaa55854b77bc883b95132db9ea512
refs/heads/master
2021-01-10T23:00:28.452900
2016-11-01T13:32:58
2016-11-01T13:32:58
70,433,862
0
0
null
null
null
null
UTF-8
C++
false
false
4,107
cpp
main.cpp
// // Created by Kevin Amiranoff on 08/10/2016. // Copyright © 2016 Kevin Amiranoff. All rights reserved. // #include <iostream> #include "FCowBullGame.h" using FText = std::string; //Unreal immutable string type using int32 = int; // Unreal integer // Prototypes. FBullCowGame BCGame; //instanciate a new game voi...
c2e7dd8db0faf0ac3e337d5e193899677c19d6a5
cbb404e9dd041359b4827d2be73b7d6b3486ed2f
/flibProject/programs/include/CpuTimer.hpp
a95299befb051296b39198dfbcab2d21eea43ddd
[]
no_license
tiagofgon/thesis-project
20a1febf50dba1f4c325709c33ffbf100b4307f2
d9014901782786e0dff73ead1f6503de446a9d72
refs/heads/master
2020-08-15T04:54:53.420362
2019-12-06T22:45:17
2019-12-06T22:45:17
215,282,718
1
0
null
null
null
null
UTF-8
C++
false
false
1,221
hpp
CpuTimer.hpp
// AUTHOR: Victor Alessandrini, 2015 // VATH libray,in book "Shared Memory Application // Programming" // ********************************************* // CpuTimer.h // // Measurine execution times. Reports wall, user // (total computation time of all threads) and // system times in Pthreads. In Windows and C++11, //...
0dbc20eb5af6af3ca49efa572ffb758471ffcc82
087cbbd3099ff8fd8d2051c60461a0458333dbac
/ICPC/ACM_ICPC pratice Contest 2016 /A.cpp
74e732ef050ad7475db1277823aec9bcb89b4311
[]
no_license
1998factorial/Codeforces
1046ffb2dbee582191fa59e7290c53e902c0af5c
f5b8139810e0724828e6ce7e26f3f8228589b00a
refs/heads/master
2021-07-05T21:34:45.053171
2021-04-10T06:21:33
2021-04-10T06:21:33
228,158,437
1
0
null
null
null
null
UTF-8
C++
false
false
337
cpp
A.cpp
#include <bits/stdc++.h> using namespace std; int a[3],b[3]; int ans[2]; int main(){ for(int i = 0; i < 3; i++)cin >> a[i]; for(int i = 0; i < 3; i++)cin >> b[i]; ans[0] = 0, ans[1] = 0; for(int i = 0; i < 3; i++){ if(a[i] > b[i])ans[0]++; else if(a[i] < b[i])ans[1]++; } cout << ans[0] << " " << ans[1] << en...
bdcc3c6553ea5eb91b5034e574b0f97974cedb42
2c5261fa9a78f880e79b7918200225955d0cec6d
/src/mc_cable_regrasp_primitive1_fsm.h
a084b97d98b748f8780e7b53efe9e3b75e899bea
[]
no_license
YiliQin/mc_cable_regrasp
ecb25e023c13a05acd2158a73f15b6a50ea61e41
d13e05a04f9a9ebc49df17e13c0871d471b292cd
refs/heads/master
2020-03-17T06:17:25.514368
2018-07-25T03:05:27
2018-07-25T03:12:19
133,349,383
0
0
null
2018-08-17T02:42:34
2018-05-14T11:17:18
C++
UTF-8
C++
false
false
1,895
h
mc_cable_regrasp_primitive1_fsm.h
#pragma once #include <iostream> #include <Eigen/Core> #include "mc_cable_regrasp_controller.h" #include "mc_cable_regrasp_linear_trajectory.h" namespace mc_control { struct Prim1Step { EIGEN_MAKE_ALIGNED_OPERATOR_NEW public: Prim1Step(const std::string & name); virtual ~Prim1Step() {}; ...
c8a3118ebbd9af7773e6935fffb4d713e7e3728e
0536fc42ef43a8721b0ee156cad1b18140ebdfea
/Algorithms/Distinct Count.cpp
9c88f5771cbd2a3c93a3fd72e70c93363d8c16cd
[]
no_license
DuyHuynhMinh/Project
b056961db818a8e8178572bc3a672c919d817bd2
146f8e2b8a6028437a14caad52fd0f48a95d7a79
refs/heads/master
2022-12-06T03:55:28.283333
2021-12-06T02:55:25
2021-12-06T02:55:25
133,676,929
1
0
null
2022-11-24T09:56:18
2018-05-16T14:20:21
Java
UTF-8
C++
false
false
780
cpp
Distinct Count.cpp
#include<iostream> #include<vector> #include<iterator> #include<algorithm> #include <set> using namespace std; int main() { int T, N, X; cin >> T; while (T-- > 0) { cin >> N; cin >> X; set<int> s; for (int i = 0; i < N; ++i) { int tmp; cin >> tmp; s.insert(tmp); } int size = s.size(); ...
73344ca8ad6dc011934d362c739340c86e48c196
f7f09782d15ee7bdd14e637bd717dfb8327bc57c
/2016Contest/Hefei/D.cpp
a9f7e0eec27822798b1063d38a3eca2372f8704d
[]
no_license
whywhyzhang/ACM-ICPC-Code
14f3f6b0532c18da9694d7f70914a97e0983913f
d15bd475774ff104ebfe9504f8ea0acffdb5ddb0
refs/heads/master
2022-12-09T06:27:14.893967
2017-03-09T14:31:49
2017-03-09T14:31:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,125
cpp
D.cpp
// ━━━━━━神兽出没━━━━━━ // ┏┓ ┏┓ // ┏┛┻━━━━━━━┛┻┓ // ┃ ┃ // ┃ ━ ┃ // ████━████ ┃ // ┃ ┃ // ┃ ┻ ┃ // ┃ ┃ // ┗━┓ ┏━┛ // ┃ ┃ // ┃ ┃ // ┃ ┗━━━┓ // ┃ ┣┓ // ┃ ┏┛ // ...
bd890e2aa15a11dc7f6804c37ebd57e6fd0a64ce
bbcda48854d6890ad029d5973e011d4784d248d2
/trunk/win/Source/BT_Nameable.cpp
1b566aa60d258cd1e802a44b295a758ce14d1bb3
[ "Apache-2.0", "MIT", "curl", "LGPL-2.1-or-later", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-public-domain", "LGPL-2.1-only", "Zlib", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference", "MS-LPL" ]
permissive
dyzmapl/BumpTop
9c396f876e6a9ace1099b3b32e45612a388943ff
1329ea41411c7368516b942d19add694af3d602f
refs/heads/master
2020-12-20T22:42:55.100473
2020-01-25T21:00:08
2020-01-25T21:00:08
236,229,087
0
0
Apache-2.0
2020-01-25T20:58:59
2020-01-25T20:58:58
null
UTF-8
C++
false
false
4,448
cpp
BT_Nameable.cpp
// Copyright 2012 Google Inc. 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 ap...
22a70b5f32a031228ff5b434bd00d979e3dda4be
3a084d9aaa81dcf7298aa320ee34b70854a3b43c
/Ariadne/State.cpp
91e23fba113912c06baf75ca55e43b7cc776ba0e
[]
no_license
dgist-d-ace/Ariadne
b350d0f751ae954da5ec690b2997558fee42b974
2e1913e37aaedc8c1d657517383360ab4b650844
refs/heads/master
2020-06-15T05:38:15.655504
2019-09-16T10:53:39
2019-09-16T10:53:39
195,215,597
2
1
null
null
null
null
UHC
C++
false
false
1,617
cpp
State.cpp
#include "State.hpp" State::State(float x, float y, float heading, float steer, float speed) { this->x=x; this->y=y; this->heading=heading; this->steer=steer; this->speed=speed; this->gx=x/Grid_ResX; this->gy=y/Grid_ResY; this->gtheta=heading/Theta_Res; } State::State() { this->x = -1; this->y = -1; this-...
552847702d7da4a186c15fbf087dbe3d3e37d1c6
6d54a7b26d0eb82152a549a6a9dfde656687752c
/examples/common/pigweed/system_rpc_server.cc
6778499c54ab3c8ef37f252edb0e09fd1877402a
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
project-chip/connectedhomeip
81a123d675cf527773f70047d1ed1c43be5ffe6d
ea3970a7f11cd227ac55917edaa835a2a9bc4fc8
refs/heads/master
2023-09-01T11:43:37.546040
2023-09-01T08:01:32
2023-09-01T08:01:32
244,694,174
6,409
1,789
Apache-2.0
2023-09-14T20:56:31
2020-03-03T17:05:10
C++
UTF-8
C++
false
false
2,387
cc
system_rpc_server.cc
// Copyright 2020 The Pigweed Authors // // 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 agre...
5ae8546cf264ca9f23e95a9d1b1136c5f8f55038
f046e73335ea889a7269fbdbc3c51fd45ad46fa5
/SourceCode/ConstantBuffer.cpp
ef357c98d82b2dd273108881fbf049ef6249af86
[ "MIT" ]
permissive
Sission/CollisionDetection
d408c0a1d2dac35dd3a0548159cf35a7a4bba079
cf84fc7639d0e3763ace16a6b399532bc1654067
refs/heads/main
2022-12-29T11:44:38.016015
2020-10-15T03:08:12
2020-10-15T03:08:12
303,867,265
0
1
null
null
null
null
UTF-8
C++
false
false
1,015
cpp
ConstantBuffer.cpp
#include "ConstantBuffer.h" #include "RenderSystem.h" #include "DeviceContext.h" #include <exception> ConstantBuffer::ConstantBuffer(void * buffer, UINT size_buffer,RenderSystem * system) : m_system(system) { D3D11_BUFFER_DESC buff_desc = {}; buff_desc.Usage = D3D11_USAGE_DEFAULT; buff_desc.ByteWidth = s...
8e6b4c09d51b1066f4513ed67a1283da2e87a2d4
97a8ee0343c780c11372dc73a8f5c6f4c0257a74
/lib/cqwrap/src/util/ResUpdater.cpp
22cfca0c859622660cc575daece679e8c5fdcf6c
[]
no_license
yovae/go
ea73a5e09f88b4aa95bb17de394adcaa32222db6
a0b407e1829d3d8105982b35611e1593d32b505c
refs/heads/master
2021-01-24T21:53:04.929506
2014-08-11T08:54:11
2014-08-11T08:54:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,643
cpp
ResUpdater.cpp
// // ResUpdater.cpp // Chick1024 // // Created by akira_cn on 14-5-24. // // #include "ResUpdater.h" #include "cocos2d.h" #include "cocos-ext.h" #include "ScriptingCore.h" #if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32) #include <dirent.h> #include <sys/stat.h> #endif USING_NS_CC; USING_NS_CC_EXT; using namespace...
f0e178e9ed2b378ab4d039d1965535c0a937a578
729f5397fa300c5d50db9ac89c6416a3fcbe65a6
/AI/connect4/source/Board.h
50b3b53ae52611482f38f08fea4a9b824ee67d09
[]
no_license
andrewthenintendrone/AI-Project
66c7f43f6c494bf97948851ab929e701352f7c0c
b232e2ed7ec21d47fdc8ba616b3bcc520123bebf
refs/heads/master
2020-12-13T19:57:15.542732
2017-08-06T23:56:54
2017-08-06T23:56:54
95,515,231
0
0
null
null
null
null
UTF-8
C++
false
false
333
h
Board.h
#pragma once #include "GridTile.h" #include "Position.h" #include "AI.h" class Board { public: Board(); void playerTurn(); void aiTurn(); void update(); void draw(); private: Position m_position; GridTile m_gridTiles[Position::WIDTH][Position::HEIGHT]; sf::Font m_font; sf::Text ...
6a52231f77b95997b214b9dbd509479ebedeabf7
07ec6b72a5ff9a7c8c42f6f1213a75cb6ef2719a
/POJ/1363.cc
a2cebcb8111bc9d3acb7841aaf600a1993e6982e
[]
no_license
cheuk-fung/Programming-Challenges
fbfbf833b19ff1063b0fca4b5d14d1e907264aa1
7c055fd2891b7edc865e7da8886d057a93fb41fe
refs/heads/master
2020-12-24T17:36:21.407367
2020-04-26T19:44:42
2020-04-27T17:13:09
1,443,793
1
1
null
null
null
null
UTF-8
C++
false
false
939
cc
1363.cc
/* * SRC: POJ 1363 * PROB: Rails * ALGO: NULL * DATE: Jul 19, 2011 * COMP: g++ * * Created by Leewings Ac */ #include <cstdio> int n, a[1000]; void solve() { for (int i = 0; i < n; i++) { int pre = 0; for (int j = i + 1; j < n; j++) { if (a[j] < a[i]) { if (p...
dfabf3fe6ccfe09ce28aaa83fb576a58fb43a69e
dad517a244d337049f92a76eb1730e9bcdb9de96
/c++/codeeval_cpp/src/22.cpp
f693ff8873f5de0f0c44c8a4f5f28e4540f1a802
[]
no_license
andrewauclair/codeeval
87209f1640c98c617ac3cec3999b34679cd26354
c101192eac1d4880cb17929715ca2fa43eb2a67d
refs/heads/master
2021-01-21T12:11:41.107509
2016-03-11T03:52:18
2016-03-11T03:52:18
32,610,536
0
0
null
null
null
null
UTF-8
C++
false
false
541
cpp
22.cpp
#include <iostream> #include <fstream> using namespace std; #if _EDITOR #include "22cpp.h" int C22::fib(int p_nNum) #else int fib(int p_nNum) #endif { if (p_nNum < 2) { return p_nNum; } return fib(p_nNum - 1) + fib(p_nNum - 2); } #if _EDITOR int C22::nRun(int argc, const char * argv[]) #else int main(int a...
6d9730d3e6d3d682953f8b6ce3b1b28de803031e
149ba333fe45be7503a5bd95a4c760c0fabd65b7
/Project/checkout.h
928298f5b6b3009d9fb087719eee322afff9461b
[]
no_license
wenshicheng97/Shopping-Cart-Simulator
5a6f744cf9f41ca3d1e08c58e9141fec54f553fc
6b1af2ac50d9b81331551b2ecb04b737ff19c909
refs/heads/main
2023-01-27T22:22:56.168879
2020-12-01T10:33:44
2020-12-01T10:33:44
317,505,474
0
0
null
null
null
null
UTF-8
C++
false
false
285
h
checkout.h
#ifndef CHECKOUT_H #define CHECKOUT_H #include <QPushButton> class CheckOut:public QPushButton { Q_OBJECT public: CheckOut(QWidget* qw):QPushButton(qw){}; signals: void iChanged(QObject*); public slots: void imClicked(bool); }; #endif // CHECKOUT_H
1da6c3e4c3e77f8bd2fd3fded2682872d1ac0643
07ee17f9fb57c0ccc9e4fe2c18410bd3f3eeec34
/darkstar/Terrain/Inc/grdEdgeTable.h
2213e8dbf2fc6374be97fed36cb90b6e0dbc5fc9
[]
no_license
AlexHuck/TribesRebirth
1ea6ba27bc2af10527259d4d6cd4561a1793bccd
cf52c2e8c63f3da79e38cb3c153288d12003b123
refs/heads/master
2021-09-11T00:35:45.407177
2021-08-29T14:36:56
2021-08-29T14:36:56
226,741,338
0
0
null
2019-12-08T22:30:13
2019-12-08T22:30:12
null
UTF-8
C++
false
false
2,012
h
grdEdgeTable.h
//---------------------------------------------------------------------------- // $Workfile: GRDCAM.H $ // $Version$ // $Revision: 1.17 $ // $Date: 12 Jan 1996 10:11:34 $ // VO:timg //---------------------------------------------------------------------------- #ifndef _GRDCAM_H_ #define _GRDCAM_H_ #inclu...
7d00e535ec8f4abde8dce9449de4f0e0d9d9cd97
eeaf4a8dcd26fa83582a4348e680047e0fbe1b55
/leetcode/leetCode/leetCode/sumPathNum.h
3b76b1aa13f3413dca3254cf975c7913f7e4a625
[]
no_license
sniperswang/dev
ba954593639e1fe515eb8e10c54f2f40ba20eb0b
a921886fe11b4128b2bd7d8bd632839aa2b20133
refs/heads/master
2020-04-13T22:11:33.562837
2018-07-02T02:13:58
2018-07-02T02:13:58
53,461,366
0
0
null
null
null
null
UTF-8
C++
false
false
1,604
h
sumPathNum.h
// // sumPathNum.h // leetCode // // Created by Yao Wang on 9/21/13. // // #ifndef leetCode_sumPathNum_h #define leetCode_sumPathNum_h struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: int sumNumbers(T...
2bca5d92c7330ce24096d7d7336d6c7a6b8e6eda
70a03ed528595815c7323d81824c690426d37a69
/Projects/Project 2/Game_V2/main.cpp
8928145b4ce3c7c962920b2ef1e4841785c403d7
[]
no_license
penaandrew12/PenaAndrew_CIS5_Spring2017
fb70e7249080ff0954c4c5fcd044199e793f99a3
739d6c9d1c522669f5f1390684746ea0592a4322
refs/heads/master
2020-05-18T13:06:51.636118
2017-06-06T02:44:04
2017-06-06T02:44:04
84,239,351
0
0
null
null
null
null
UTF-8
C++
false
false
7,112
cpp
main.cpp
/* * File: main.cpp * Author: Andrew Pena * Created on March 30, 2017, 5:40 PM * Purpose: Version 2 of Game */ //System Libraries #include <iostream> //Main Library #include <cmath> //Power Function #include <iomanip> //Format #include <cstdlib> //Random Number Generator #include <ctime> //Library f...
429161e2d11fa09490e638af35c5226f9f445fec
2b95046bec2c38cbe7fc6f3cccc93747ed0b7cdc
/EDA/EDA 2014 Junio FInal eje2/Source.cpp
e85d6e5a12c42310772b8a9e93a48525dc7a7547
[]
no_license
AndresHG/UCM
effe67e845bb466bfac205ad495dce05d129d568
1d29df8b7f1eae09ef94a4736ca55486cab91732
refs/heads/master
2021-04-27T11:08:20.276441
2019-02-01T14:14:51
2019-02-01T14:14:51
122,554,844
1
0
null
null
null
null
UTF-8
C++
false
false
665
cpp
Source.cpp
#include <iostream> #include <string> #include "Arbin.h" using namespace std; void encuentraTesoro(const Arbin<string> &a, int dragones, int &mejor, string &puerta) { if (a.esVacio()) { return; } if (a.raiz()[0] == 'D') { dragones++; } else if (a.raiz()[0] == 'P') { if (dragones < mejor || mejor == -1) { ...
fbd2f314c90b0d9158b13eed0a06f553dae8c3a3
345b56ebe5bdf174fffb6dce26d0d68ce46089c1
/Source/Tools/Editor/SceneOutliner.h
12e322e75c16a3beec3e117fddd83dea6972b80c
[ "BSD-3-Clause" ]
permissive
HeliumProject/Engine
4c010631c3e10655740bf663bf2be1c390008fba
32497019f57d5cf7fc231200fac310756ae6cea9
refs/heads/master
2023-09-05T17:48:31.165233
2022-07-01T17:47:42
2022-07-01T17:47:42
962,121
140
27
NOASSERTION
2018-10-31T21:18:14
2010-10-04T23:13:39
C++
UTF-8
C++
false
false
5,307
h
SceneOutliner.h
#pragma once #include "Platform/Types.h" #include "EditorScene/Scene.h" #include "EditorScene/SceneManager.h" #include "EditorScene/Selection.h" #include "Reflect/Object.h" #include "Editor/API.h" #include "Editor/SceneOutlinerState.h" #include "Editor/Controls/Tree/SortTreeCtrl.h" namespace Helium { namespace ...
a815c281e48ae3dab9bcf4de1633910591b2ad74
25a744639b3d80921bad2073b77c8bd6208efd71
/koenig/ch5/6b.cc
acc9a9d5ac8da0e78e1ad7abab5e4293e76896aa
[]
no_license
samikganguly/cpp_learn
97ca465e2c80e165be554f09a7f2833988729708
49893882bf3375b6245ef4973e6335b59c3c76a9
refs/heads/master
2020-12-31T04:28:48.850333
2016-04-09T11:56:15
2016-04-09T11:56:15
55,842,291
0
0
null
null
null
null
UTF-8
C++
false
false
521
cc
6b.cc
#include <string> #include "6b.h" using std::string; using std::vector; using std::domain_error; double median(vector<double>& hw) { const vector<double>::size_type sz = hw.size(); if(sz > 0) return (sz % 2 == 0) ? (hw[sz / 2 - 1] + hw[sz / 2]) / 2 : hw[sz / 2]; else return 0; } double grade(double midterm,...
c0cd2cce5eddc8e1654281063ec2a89a5452b695
8ee127bc4c9e174f2fc5bb8441cde39d8378d721
/lib/include/EOUL/Utils.hpp
c167fbbbb56610e888af23177fc0fda80db53f2b
[]
no_license
timeester3648/AssaultCube-Qt-Menu
b1847b420b7226adc245676aefc84d906b123249
8515724aaca945e73cf0675a83460fcdcf047736
refs/heads/master
2020-04-08T08:38:41.004897
2019-08-16T14:12:29
2019-08-16T14:12:29
159,186,852
1
0
null
null
null
null
UTF-8
C++
false
false
1,395
hpp
Utils.hpp
#pragma once #pragma comment(lib, "Psapi") #include <Windows.h> #include <Psapi.h> namespace EOUL::Util { namespace Private { inline static MEMORYSTATUSEX memInfo; inline static bool initialized = false; } enum MemoryType { Physical, Virtual }; /* returns how much ram is free */ inline size_t ra...
61ec9d406b613a48a6876a0ebaff05c6e8eb57d6
e9425ff5a7ed5d37ddf67866cc36baa90e062368
/ADS/1-й курс/(2) Списки, стеки, очереди, СНМ/(B)Проверка ПСП.cpp
b64efcfe54089cc019762be6e08d81ad984698d8
[]
no_license
JarikLag/ITMO-Labs
4ebdeec4accffa4a7726227e95f0111b7be8f59d
e3a02501e81ab7e874a459f88b6eabe97026d7f7
refs/heads/master
2020-05-09T17:28:57.617814
2019-06-22T13:44:29
2019-06-22T13:44:29
181,310,699
0
0
null
null
null
null
UTF-8
C++
false
false
1,381
cpp
(B)Проверка ПСП.cpp
#include <cstdio> #include <iostream> #include <vector> #include <queue> #include <stack> #include <string> #include <cmath> #include <algorithm> #include <set> #include <map> #include <ctime> using namespace std; typedef long long LL; bool open(char c) { if (c == '(' || c == '[' || c == '{') return tru...
db59081e048eb3a16b084aa51b970a5b9bd6c65b
0af419e9a0a5d5263a5eac851b53e4c19d7e6f59
/Inventory.hpp
ec5f66f13085c9cfcf02108b0c208abc1a72bad1
[]
no_license
aiman-junaid/Eco-Planet
689fc98df937c7d0aa345a06bbebedb7f07ae68e
b969f2feec2637c494bc31e94b672340e0be159d
refs/heads/main
2023-05-07T11:57:46.761190
2021-06-08T20:47:10
2021-06-08T20:47:10
355,972,447
0
0
null
null
null
null
UTF-8
C++
false
false
302
hpp
Inventory.hpp
#pragma once #include "string.h" #include <SDL.h> #include <SDL_image.h> #include <iostream> #include "RandomObj.hpp" class Inventory { GameObject **lst = NULL; int stored; public: Inventory(); void append(GameObject *); GameObject *remove(); ~Inventory(); };
b1223a074afb3bbaabe94e3cb4c528c6de940838
45fb39d8e60dae09530f67086bdd6288dfcd5765
/Server/include/Networking/UDP_Server.h
ca243be49df05d38e5d8c7e368c8945f568bf79f
[]
no_license
itcgames/ARGO_2018_19_F
ecc984fe111dba9146d69143bf2cad632040a42a
85d55b0b86b7893db012d5451e64bf7530d56d5b
refs/heads/master
2020-04-20T19:54:47.860534
2019-03-05T17:10:53
2019-03-05T17:10:53
169,062,078
2
0
null
null
null
null
UTF-8
C++
false
false
294
h
UDP_Server.h
#ifndef UDP_SERVER_H #define UDP_SERVER_H #include "Networking/Server.h" class UDPServer : public Server { public: UDPServer(); virtual bool createSocket() override; virtual bool bindSocket() override; void sendAndRecv(); virtual void closeSocket() override; }; #endif // !UDP_SERVER_H
f1e87ef819b1f2858e9cd47c5a75f0e99c7b2670
9e30fce1a475704054ed75e33eda1ebe4aabc628
/Engine/Source/gui/gui_manager.h
02d630ea4634fd3ec80858a99bbf8220dc5a201b
[]
no_license
stkromm/darkshore
c9b6dea426925d4fcae6dbbe87499976c875d19f
65f84083423d4be0f7268da27f90b416e1941a16
refs/heads/master
2022-12-22T00:42:23.236705
2020-09-21T15:23:33
2020-09-21T15:23:33
133,785,449
0
0
null
2020-09-04T19:12:55
2018-05-17T08:47:27
C++
UTF-8
C++
false
false
156
h
gui_manager.h
#pragma once #include "gui.h" namespace ds { namespace gui { namespace GuiManager { Gui* get_gui(); bool init(); void shutdown(); }; } }
a34c2ff78581a2f28fa3232f64dc9e09d170b544
6f874ccb136d411c8ec7f4faf806a108ffc76837
/code/Windows-classic-samples/Samples/IdentifyInputSource/cpp/InputSource.cpp
b448144bddab19863ed5d490446ca9347565bae8
[ "MIT" ]
permissive
JetAr/ZDoc
c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435
e81a3adc354ec33345e9a3303f381dcb1b02c19d
refs/heads/master
2022-07-26T23:06:12.021611
2021-07-11T13:45:57
2021-07-11T13:45:57
33,112,803
8
8
null
null
null
null
UTF-8
C++
false
false
6,832
cpp
InputSource.cpp
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved #include "stdafx.h" /****...
b4ea6e9265e4da6268ab679cfa976a127d3dc5af
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/admin/pchealth/sr/rstrcore/drvtable.cpp
1914c36df3d7d2fee77db0e92bfe81bbed6e5477
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
34,429
cpp
drvtable.cpp
/****************************************************************************** Copyright (c) 2000 Microsoft Corporation Module Name: drvtable.cpp Abstract: This file contains CRstrDriveInfo class and CreateDriveList function. Revision History: Seong Kook Khang (SKKhang) 07/20/00 cr...
94f7e677a482c2d094040298efca52982e94c3f6
f914562ea4f7899684589c04cfdaeb27d9d9cd21
/ogsr_engine/xrGame/interactive_motion.h
2980a464e57374bb2c0d6b01f71582137da704be
[ "Apache-2.0" ]
permissive
Graff46/OGSR-Engine
4e9a0ed0380edf1b34264db47a87db94c5fb6fc2
acdc51354a7d273bf211ec3cc700253f68252cdb
refs/heads/main
2023-08-08T11:52:20.252179
2023-01-17T10:54:26
2023-01-17T19:36:21
235,670,325
2
2
Apache-2.0
2023-08-19T18:22:37
2020-01-22T21:26:28
C++
UTF-8
C++
false
false
1,434
h
interactive_motion.h
#pragma once #include "..\Include/xrRender/KinematicsAnimated.h" class CPhysicsShell; class interactive_motion { MotionID motion; protected: Flags8 flags; enum Flag { fl_use_death_motion = 1 << 4, fl_switch_dm_toragdoll = 1 << 5 }; public: interactive_motion(); void init();...
831d19377b9d7ae7b7f68c5dd66c5a318b1e6a46
b81caf94710fd45613f1da2f61b1ca2f09d16de6
/0121.买卖股票的最佳时机/0121-买卖股票的最佳时机.cpp
708e7ee5a9d6c26dd2fbd57f651f41456f253da2
[]
no_license
KatePang13/leetcode-pang
64c5dcf96f60930ea8d4408f16e8cac327415390
ce1fa371f2821cc06169cbb35ef0a251c9f7ea7f
refs/heads/master
2023-04-14T23:19:12.104426
2021-04-27T06:13:49
2021-04-27T06:13:49
280,997,684
0
0
null
null
null
null
UTF-8
C++
false
false
369
cpp
0121-买卖股票的最佳时机.cpp
class Solution { public: int maxProfit(vector<int>& prices) { int last = 0; int profit = 0; if( prices.size() <2 ){ return 0; } for( int i=0; i< prices.size()-1; i++ ){ last = max( 0, last+prices[i+1] - prices[i] ); profit = max( profit, l...
29bca84e3f4dd433ff0ab35bd123768a4a8a379e
d5f7eccd40734676546f7d3692f09074c9088d63
/TwistPong/game_state_start.cpp
3a19fb7c75793a5f3230f4197bfcedb49ed1b2fd
[]
no_license
JDuchniewicz/TwistPong
f83fde0830468e51f3695551af53a55b69e113db
78f4b96c4e7bd00606d52cc69c99ad225dbfbf80
refs/heads/master
2021-07-08T22:18:20.424758
2017-10-09T13:23:04
2017-10-09T13:23:04
106,265,527
0
0
null
null
null
null
UTF-8
C++
false
false
1,517
cpp
game_state_start.cpp
#include "game_state_start.hpp" #include <iostream> #include "game_state_ai.hpp" void GameStateStart::draw() { this->game->window.setView(this->view); this->game->window.clear(sf::Color::Black); this->game->window.draw(this->game->background); } void GameStateStart::update() { } void GameStateStart::handl...
63fc643a3651e113d6281867b2ab4e16e3a9af80
6107c96e068e3df8d65832730fe368600defabca
/src/observer.cc
08f2598f3e14c8a25b25a440ab497c4e65afba74
[]
no_license
i-Zaak/tvb-pdde
708b6d440d92c574a3e204993316f74f31a21864
5648833b612a7ed0f028e1e3080eecc4c34d8201
refs/heads/master
2020-12-25T20:21:11.465148
2016-02-29T13:29:15
2016-02-29T13:29:15
47,503,929
0
0
null
2016-02-29T13:29:15
2015-12-06T16:15:06
C++
UTF-8
C++
false
false
551
cc
observer.cc
#include "observer.h" raw_observer::raw_observer(unsigned long nodes, unsigned long steps) { this->observation = global_solution_type(nodes); if (steps >0){ for( global_solution_type::size_type i=0; i < this->observation.size(); i++){ this->observation[i].reserve(steps); } } } void raw_observer::o...
76b3956212b0f9768e3ff5c4bd340115406dc064
df0d7d165d8f83ecafaccfca5c566bc00d01d8af
/algo-W10-letter_springs/src/letter.cpp
4b8183293227786599a41a2d207cc2926a4a9f1d
[]
no_license
esrutledge/Algo_Fall_2011
defeeb153db26a8b91528a1a4fe0e7e29e2bca61
04c676a6a8dbdd7184a1fb0f57ad9c42846f4f71
refs/heads/master
2021-01-22T09:48:48.563745
2011-12-24T03:17:37
2011-12-24T03:17:37
2,362,295
1
0
null
null
null
null
UTF-8
C++
false
false
3,465
cpp
letter.cpp
// // letter.cpp // algo_wk9 // // Created by Elizabeth Rutledge on 11/15/11. // Copyright (c) 2011 __MyCompanyName__. All rights reserved. // //#include <iostream> #include "letter.h" letter::letter() { startingX = ofGetWidth()/2; } void letter::setup() { myFont.loadFont("GothamHTF-Bold.otf", 150, true,...
d3220c721854828784d419217a9540ddc9a731c2
5e561d21184a0f006892201c10129bbba1795b11
/streams/block/ciphers/lightweight/lblock/lblock.cc
4c7887f57eef2d08f65da219a713eff3faf481b7
[ "MIT" ]
permissive
crocs-muni/CryptoStreams
c5bf432a14aa161ff2aa6dbfa38448152293ebb1
b92d96ad16679c24a9402b0d33378d1f318db23a
refs/heads/master
2022-11-13T06:57:04.333740
2022-11-11T20:44:47
2022-11-11T20:48:36
84,541,435
9
5
MIT
2022-11-11T20:48:37
2017-03-10T09:11:32
C
UTF-8
C++
false
false
29,060
cc
lblock.cc
// // Created by mhajas on 7/8/18. // #include "lblock.h" void block::lblock::keysetup(const std::uint8_t *key, const std::uint64_t keysize) { uint16_t shiftedKey[2]; uint8_t keyCopy[LBLOCK_KEY_SIZE]; uint16_t *Key = (uint16_t *)key; uint32_t *RoundKeys = (uint32_t *)_key; uint16_t *KeyCopy = ...
dfc559fac38698a4b24f1aab671404e98ed7021d
3e56d690a549585bcc74a6e242a2379cb870e77f
/fileio/fileio.cpp
fbf094d4a6b11e083514aabead3a7da52b019b8f
[]
no_license
FXFY18/Proj_refactor_monolithic_file
8c1d3f3619738aa6fe9ea401c071c295dcb79b27
1e0aab614e082251e665779ca5940afac6b17d71
refs/heads/master
2022-12-19T01:58:57.346497
2020-09-26T16:12:35
2020-09-26T16:12:35
297,794,525
0
0
null
2020-09-22T23:12:04
2020-09-22T23:12:03
null
UTF-8
C++
false
false
575
cpp
fileio.cpp
/* * fileio.cpp * Ver: 9/24/2020 * Creator: Felix Phommachanh * */ #include <iostream> #include "../includes/fileio.h" using namespace std; //attempt to open file 'filename' and read in all data //returns SUCCESS if all goes well or COULD_NOT_OPEN_FILE int loadData(const std::string filename, vector<process> &myProc...
1d9135a5f3c37ad2a3b628cf1f79d6bb072f9936
4d3bcc6440ce022d4d0e67dabfef1dadc358fb87
/20180221/namespace.cc
7e1297f19854cf9f2c5a9ddbe70767704754f445
[]
no_license
Westringliu/wangdao_cpp
3b03b62fbda2f5ece6d41ff4a49154175683af31
e91669142cfa51f075442daf9631a49fe72fc606
refs/heads/master
2020-03-09T16:22:32.723620
2018-04-10T06:20:24
2018-04-10T06:20:24
128,883,098
1
0
null
null
null
null
UTF-8
C++
false
false
383
cc
namespace.cc
// /// @file namespace.cc /// @author westring(1364643962@qq.com) /// @date 2018-02-21 10:40:04 /// #include <iostream> using std::cout; using std::endl; namespace B{ void displayB() { cout<<"displayB()"<<endl; } } namespace A{ void displayA() { cout<<"displayA()"<<endl; B::displayB(); } } ...
314b76da8e4db7ab609e8ac22b8aa1d834a51be7
013caff69e41c36c4efe9359c8ce2ecfb5f659ab
/Little Bishops.cpp
00f441bf49fe7ea5f8cfe434abacceade4899b3b
[]
no_license
iamsile/ACM
cbe5754bed56b1abb3cfaed6b25b9bffa1ec04a5
d51e43780e33b51c70007ba0702448909f9d0553
refs/heads/master
2016-08-04T02:31:51.523885
2013-09-09T05:36:35
2013-09-09T05:36:35
12,693,702
9
5
null
null
null
null
UTF-8
C++
false
false
4,805
cpp
Little Bishops.cpp
#include <iostream> #include <stdio.h> using namespace std; const long table[9][65]={{0},{1,1},{1,4,4},{1,9,26,26,8},{1,16,92,232,260,112,16}, {1,25,240,1124,2728,3368,1960,440,32},{1,36,520,3896,16428,39680,53744,38368,12944,1600,64}, {1,49,994,10894,70792,282248,692320,1022320,867328,389312,81184,5792,128},{1,64,1736...
e78c065a9d700faacc74e2b5a898cd13e63119bd
8f50c262f89d3dc4f15f2f67eb76e686b8f808f5
/InnerDetector/InDetEventCnv/InDetEventTPCnv/InDetEventTPCnv/InDetRIO_OnTrack/TRT_DriftCircleOnTrackCnv_p2.h
d19671f433980dba764c57f260c5c2771613cc9c
[ "Apache-2.0" ]
permissive
strigazi/athena
2d099e6aab4a94ab8b636ae681736da4e13ac5c9
354f92551294f7be678aebcd7b9d67d2c4448176
refs/heads/master
2022-12-09T02:05:30.632208
2020-09-03T14:03:18
2020-09-03T14:03:18
292,587,480
0
1
null
null
null
null
UTF-8
C++
false
false
1,648
h
TRT_DriftCircleOnTrackCnv_p2.h
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ #ifndef TRT_DRIFT_CIRCLE_ON_TRACK_CNV_p2_H #define TRT_DRIFT_CIRCLE_ON_TRACK_CNV_p2_H #include "InDetRIO_OnTrack/TRT_DriftCircleOnTrack.h" #include "InDetEventTPCnv/InDetRIO_OnTrack/TRT_DriftCircleOnTrack_p2.h" #include "DataModelAthenaP...
db70f9e32f37f0f87bfa4a117519d3b5c31c4dce
ffff2a4fb72a163e4d42b01cefa1f5566784990f
/codeforces/contests/677div3/q3.cpp
dab83ab6c973173450c78d4db31b62e03d0e6013
[]
no_license
sanyamdtu/competitive_programming
d5b4bb6a1b46c56ebe2fe684f4a7129fe5fb8e86
5a810bbbd0c2119a172305b16d7d7aab3f0ed95e
refs/heads/master
2021-10-25T07:11:47.431312
2021-10-06T07:37:25
2021-10-06T07:37:25
238,703,031
1
0
null
null
null
null
UTF-8
C++
false
false
746
cpp
q3.cpp
#include<bits/stdc++.h> using namespace std; #define pb push_back #define mod 1000000007 #define INF 1e18 typedef long long ll; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); ll t; cin >> t; while (t--) { ll n; cin>>n; ll arr[n]; for (ll i = 0; i < n; ++i) { cin>>arr[i]; } ...
8ed4c57f893353559593d81314fc737adf17de36
c60331c2fa72988af73c688d2f222c185559c080
/demo/parameter/paramdialog.h
cf304b55d7d686b5a33799728a6b9a32c5529cfe
[]
no_license
heyuyi/qt-gui
4610b82f75a69c26d003ef9b2bdcc960a24b48f1
3588e859e2beeaae6fdeea7d7e7843e8f1b58743
refs/heads/master
2020-04-02T20:07:15.553652
2016-08-04T04:40:40
2016-08-04T04:40:40
60,269,964
2
1
null
null
null
null
UTF-8
C++
false
false
1,459
h
paramdialog.h
#ifndef PARAMDIALOG_H #define PARAMDIALOG_H #include "base/paramdata.h" #include "numberdialog.h" #include <QDialog> #include <QStandardItemModel> namespace Ui { class ParamDialog; } class ParamDialog : public QDialog { Q_OBJECT public: explicit ParamDialog(QWidget *parent = 0); ~ParamDialog(); privat...
63eb94e08b0699563b7c32f96783e0378677aa71
3b83616a6d0718f298b5bb6de735ddcd510b3355
/Project/Core/Src/stm32f4xx_hal_msp.cpp
dc1243eb23a54cc13d95840095958b14b6b9dd41
[ "MIT" ]
permissive
steve22184/STM32F4_MQTTdemo
506d050b4a77c19b4550fb2d2693879331fce616
b03fa8fd25754c14b7c94a35b5bdd61d2d5b4daa
refs/heads/master
2022-09-01T22:49:47.940085
2020-05-31T14:13:25
2020-05-31T14:13:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,531
cpp
stm32f4xx_hal_msp.cpp
/* USER CODE BEGIN Header */ /** ****************************************************************************** * File Name : stm32f4xx_hal_msp.c * Description : This file provides code for the MSP Initialization * and de-Initialization codes. ****************************...
2d508e2cdbbae07ebc8216c7ad95523a71510760
0bedbcd5d9821abaad01e1d32949007a1a3f756b
/1600 -Patrol Robot.cpp
78685598a6868e820a5579c1759ff42d120aadce
[]
no_license
ahqmrf/desktopUva
02a17c20f114cd305883ad1c809d6f135a12f816
33a6579e0c8bb25f5893d05d9a95de88db5ccc80
refs/heads/master
2021-01-23T12:16:25.145257
2015-03-19T07:02:55
2015-03-19T07:02:55
32,505,544
0
0
null
null
null
null
UTF-8
C++
false
false
1,116
cpp
1600 -Patrol Robot.cpp
#include <bits/stdc++.h> using namespace std; int obstacle[32][32]; int moves[32][32][32]; const int dx[] = {0, 0, 1, -1}; const int dy[] = {1, -1, 0, 0}; int main() { int cases; int N, M, K; scanf("%d", &cases); while(cases--) { scanf("%d %d %d", &N, &M, &K); for(int i = 0; i < N; i++) for(int j = 0; j < M;...
f880c2e8824177b25a39039d3900534732e7a8f2
165ad2af507836c4844389da9f5f214a2c6a1e49
/superjxsyxtool/sysex.h
c8b2c180fc5c4883f3376f246d4db73d2ef777bd
[ "MIT" ]
permissive
10x10sw/SuperJX
ca790634fabb12eb28f96d820957e877c68dd1c1
b607638a3a166785f8f9e980cab18683f02463fd
refs/heads/master
2022-01-18T15:36:20.056674
2022-01-05T00:10:13
2022-01-05T00:10:13
84,658,227
4
3
MIT
2019-05-01T14:04:36
2017-03-11T15:03:32
C++
UTF-8
C++
false
false
818
h
sysex.h
// // sysex.h // superjxsyxtool // // Created by Christian E. on 2017/Oct/19. // Copyright © 2017 Ten by Ten. All rights reserved. // #ifndef sysex_h #define sysex_h #include <stdint.h> #include <vector> typedef std::vector<uint8_t> SyxBuffer; inline uint8_t CombineBytes(uint8_t top, uint8_t bot) { top = top <...
8dd0b2c09499ac022f77327f5c2ec665a15d487c
571ef575bd69c7dc0d6ac82bf093354f0f1e237a
/aten/src/THC/THCCachingHostAllocator.h
056caf3dfb0e73340e61b49c281bb96a9f1944f6
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
TrendingTechnology/nimble
0f8240749cac3e04d9489ce514445a79980ba5f1
5ac9544dace9630e26df083fb71e9e56e2ee21ea
refs/heads/main
2023-01-24T01:50:22.972927
2020-11-28T22:31:06
2020-11-28T22:31:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,307
h
THCCachingHostAllocator.h
#ifndef THC_CACHING_HOST_ALLOCATOR_INC #define THC_CACHING_HOST_ALLOCATOR_INC #include <THC/THCGeneral.h> #include <c10/cuda/CUDAStream.h> // // A caching allocator for CUDA host allocations (pinned memory). // // This provides a drop-in replacement for THCudaHostAllocator, which re-uses // freed pinned (page-locke...
628eccd021a5f37399d53adcd3f0bdf82fff7413
e013ec787e57af5c8c798f5714d9f930b76dfd32
/Solutions/Codeforces Solutions/80-B_Depression.cpp
43eb73e4bc8daad51e3d00baf0c30d606e3fe7c2
[]
no_license
omaryasser/Competitive-Programming
da66cb75bf6ed5495454d2f57333b02fe30a5b68
ba71b23ae3d0c4ef8bbdeff0cd12c3daca19d809
refs/heads/master
2021-04-29T00:39:29.663196
2019-02-19T04:20:56
2019-02-19T04:20:56
121,832,844
17
8
null
null
null
null
UTF-8
C++
false
false
53
cpp
80-B_Depression.cpp
https://codeforces.com/contest/80/submission/21831449
f746b748ffe97523560b92b477d5f6827bf60958
635a31fb5f4fed8f1f630f6f6620e55ce4ae03e6
/CPP/Inheritence/hier.cpp
3e9ee70ab076af7901f1704f555ec8a09938ba95
[]
no_license
iCodeIN/Problem-Solving
82cd4eef0e4606baf31d8de34135dd5366d19a1e
92f13c2cab5dfe914755dae7790c9cf8c6fb8782
refs/heads/master
2022-11-27T16:49:30.319955
2020-08-08T08:47:24
2020-08-08T08:47:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,587
cpp
hier.cpp
#include<bits/stdc++.h> using namespace std; class employee{ string name,ID,dob; int salary; public: employee(string n,string i,string d,int s) { name=n; ID=i; dob=d; salary=s; } int get_salary(){return salary;} string get_ID(){return ID;} string get_name(){return name;} ...
06ef502801b98a3810ceaed18607b70e8c9eac1b
ba00fcdd10ca8edc1db46d688f85c5baa67cb514
/xD-Balls/BallSpawner.hpp
ad1d3e9b8d6cffb527e8497e93b4ce44f5d6c0cf
[]
no_license
dominikhofman/xD-QuadBalls
2082512ef713eb903e30372c5bb085948426b191
d53891dd439d5ef96f434e4011beceb2f5dc7d13
refs/heads/master
2020-03-17T01:36:38.301402
2018-05-30T12:07:19
2018-05-30T12:07:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
416
hpp
BallSpawner.hpp
#pragma once #include <cmath> #include <vector> #include "Ball.hpp" #include "Rectangle.hpp" class BallSpawner { public: std::vector<Ball> balls; Vector2D position; size_t texture_max_id; BallSpawner(); ~BallSpawner(); void deployBalls(const Ball source, int n, bool random_velocity = true, bool random_radius ...
4d0a5834cbd8720d6f0b2f17aec67a211ccd92e9
42b8c11aef0dcc1d6540029958d85f2e8ce93b08
/스터디/Kakao_2020_외벽점검/main.cpp
30129ae39086ef495091b34ddc0a3dc8bde35d27
[]
no_license
pjs56ww/Algorithm_2021
6d0811d54db62d82ce6351c63971955d318c9e34
4668f839b7fd839deae6f14699a65162f4fbfae0
refs/heads/master
2023-08-01T09:06:07.682042
2021-09-26T01:43:06
2021-09-26T01:43:06
409,654,480
0
0
null
null
null
null
UTF-8
C++
false
false
1,256
cpp
main.cpp
#include <string> #include <vector> #include <algorithm> #include <iostream> using namespace std; int solution(int n, vector<int> weak, vector<int> dist) { int answer = -1; sort(dist.begin(), dist.end()); for (int i = 0; i < weak.size(); i++) { int tmp = weak[0] + n; for (int j = 1; j < ...
2f90a7e828e79e4055c3a5c7bd22cc548eceff7c
830cacca1cbf67435424b48487ba13adc9af6ae5
/src/Widget.cpp
de65f1e11bdf48667caefcdc92d7ecb15a606028
[]
no_license
Xiaodisan/BevProg2_bead3
22fb58944ed164085904722b4404072f2e1eaa76
ed8d7383bd0dc77ac83c827de5166a2883bbec82
refs/heads/master
2022-06-16T22:30:18.740893
2020-05-11T04:38:06
2020-05-11T04:38:06
262,751,498
0
0
null
2020-05-11T04:38:07
2020-05-10T09:21:42
C
UTF-8
C++
false
false
413
cpp
Widget.cpp
#include "Widget.h" Widget::Widget(int a, int b, int c, int d) : left(a), top(b), width(c), height(d) {} Widget::~Widget(){} bool Widget::is_selected(const int& mx, const int& my) { if(mx > left && mx < left + width && my > top && my < top + height) { focused = true; return true; ...
a21cb95569025680b61f8cd8232122cae608270f
4b9de44bff59a4938ce209be84fd67e367d5b82b
/lib/Sht31d.cpp
c3414b38fc997ee61944ddf3e601846f6e2f0050
[ "MIT" ]
permissive
laszlofederics/Esp
42c89043f436ae57a83cbe1b472bf361d493e114
bf41e4d05945bc422bd7a0add65b7f1a3e954300
refs/heads/master
2020-03-30T05:07:31.997191
2018-10-28T21:38:01
2018-10-28T21:38:01
150,782,191
0
0
null
null
null
null
UTF-8
C++
false
false
2,573
cpp
Sht31d.cpp
/* ************************************************************************** */ /* ************* Configuration settings ****************** */ /* ************************************************************************** */ #define ENABLE_DEBUG #define SHT31D_ADDRESS 0x44 #define SHT31D_RE...
da1644cdef45912573327a599f186505d39755fe
1e9bb5826368d34ab202c72440ba656bc0d2ee7d
/solutions/85_maximal_rect.cpp
b002fea8514123b60d2f36bcf61868a1a6efb3cd
[]
no_license
vikas9905/LeetCode_Solutions
c5842b08e5716861ec06c14ac6d5aacbb15f93e0
84832be2742e3a622380611f01297509cdded6a6
refs/heads/master
2023-01-04T15:02:24.803882
2020-10-29T01:33:00
2020-10-29T01:33:00
305,785,920
1
0
null
null
null
null
UTF-8
C++
false
false
1,601
cpp
85_maximal_rect.cpp
//https://leetcode.com/problems/maximal-rectangle/ class Solution { public: int max_hist(vector<int>arr){ int n=arr.size(); stack<int>s; int area_with_top=0; int area=0; int i=0; while(i<n){ if(s.empty() || arr[s.top()]<=arr[i]) s.pus...
8b308431519cd039717499839dc797a516c354f1
f1430d9ada762c7ec175928a98a3ce2bdd5326b2
/include/graphics/texture.h
23a8e262caaf9ba9bf1ca838e2731a64dadd0d06
[ "MIT" ]
permissive
rededx/xRender
1da5fea65c7f1bdde9d08a6bacfba80a13d13960
4b4d94a2ef75280e3e30484c20b45571c5f2ec4f
refs/heads/main
2023-03-19T04:07:28.803853
2021-03-09T14:33:07
2021-03-09T14:33:07
345,322,437
0
0
null
null
null
null
UTF-8
C++
false
false
371
h
texture.h
#ifndef XRENDER_INCLUDE_GRAPHICS_TEXTURE_H_ #define XRENDER_INCLUDE_GRAPHICS_TEXTURE_H_ #include <string_view> #include "resource_manager.h" namespace xrn { class Texture { public: Texture(std::string_view path); ~Texture() = default; unsigned int get_id(); private: unsigned int id_; }; } // namespace ...
f3a966ac11047496ab5d0761a6ddafff08d9486d
c3ac0f16f812a56bb2c58ce0eef868fef71fccd8
/northern19/b.cpp
680a8b151bf8a51a31e143c41b69086ba3f445b8
[]
no_license
bamboo-hust/icpc-trainings
23a853df9a03f2e20a0574c4ad89f459600f69f3
edcb2f4e9f2c3dc543a30e77fe636e9f00715238
refs/heads/master
2020-07-19T00:13:45.734529
2019-11-28T14:35:34
2019-11-28T14:35:34
206,340,416
0
0
null
null
null
null
UTF-8
C++
false
false
1,017
cpp
b.cpp
#include <bits/stdc++.h> using namespace std; int const NN = 20; set < string > set_string; void init(string s) { int n = s.size(); for (int i = 0; i < n; i++) { string cur = ""; for (int j = i; j < min(i + NN, n); j++) { cur = cur + s[j]; set_string.insert(cur); ...
0b5c3675af01e5ad706b13d7059b057b6eec9d6f
50fe4c1bdb2f0264a45548719b07112587607a28
/RPGMaster/Enemy.h
b71074c0737e8932c1c11c1a048fd64e11ddbdf2
[]
no_license
stranker/TrabajoPractico3
434be85cf2e9dc4c7a11cc6494043141d59feacf
c62986e1530d29db918504180a6bc8c61444da45
refs/heads/master
2020-03-18T09:36:59.287692
2018-05-30T12:37:47
2018-05-30T12:37:47
134,573,017
0
1
null
null
null
null
UTF-8
C++
false
false
610
h
Enemy.h
#ifndef ENEMY_H #define ENEMY_H #include <stdio.h> #include <allegro5/allegro.h> #include <allegro5/allegro_image.h> #include <allegro5/allegro_native_dialog.h> class Enemy { private: ALLEGRO_BITMAP * sprite = NULL; float positionX; float positionY; float spriteW; float spriteH; int directionX; int directionY;...
e07a0f162e3d8de59e7dcfffb17c093c74e4ef6c
df3bad9533e40ad6f5e3c50de74a6a7d118b61bc
/BlakesEngine/DataFormat/bePackedData.cpp
1d59e8fc04f99e1b54cf8660e91dcbe76a7d369a
[]
no_license
BlakeTheAwesome/personal-engine
975fb91f216e2dc740deab8680f9640057564ee5
3535bfd187bda020083fd399e3c898f782308726
refs/heads/master
2022-03-21T17:42:07.631845
2022-02-27T02:29:15
2022-02-27T02:29:15
36,546,730
0
0
null
null
null
null
UTF-8
C++
false
false
2,844
cpp
bePackedData.cpp
module; #include "BlakesEngine/bePCH.h" #include "BlakesEngine/Core/beString.h" #include "BlakesEngine/Core/beAssert.h" #include "BlakesEngine/Core/beMacros.h" #include <filesystem> module bePackedData; import beDataBuffer; import RangeIter; static int ReadString(char* buffer, int bufferLen, std::FILE* file) { int ...
7a68f2ab42d0e7172df5c50f31b74ce20a8079fe
95f7d3c14fc6180e62317c6e43087aaf0c74cb5b
/include/boost/url/bnf/impl/range.hpp
e8884fc7b1bf72fa19798be79f63992ea9578dab
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ExternalRepositories/url-1
445796d72ec164430eb7a2daed18966f99e537a7
9e4531d70c4d3571fe9ad11ba19130ee38291560
refs/heads/master
2023-08-30T06:06:28.944390
2021-10-31T02:35:51
2021-11-01T01:23:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,504
hpp
range.hpp
// // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/CPPAlliance/url // #ifndef BOOST_URL_B...
f6b2f15601838d85f79710d6b0dcff8a44952011
1b363ccfb93ca65052cdeaaf50702bdc37bb3779
/google_ai_ c/MyBot.cc
a69c4893fce979090aeadd664ba67b461a5d04df
[ "Apache-2.0" ]
permissive
wesleyolis/google_plantwars
d4cb53ccd4aaa23d70b157680057f9ecf4ba5397
e4b832f2a9ce9bfa43cc343bd647ae4432f44166
refs/heads/master
2021-04-28T20:32:49.659127
2018-02-18T07:23:16
2018-02-18T07:23:16
121,928,363
0
0
null
null
null
null
UTF-8
C++
false
false
12,856
cc
MyBot.cc
#include <iostream> #include "PlanetWars.h" FILE *fPtr; // The DoTurn function is where your code goes. The PlanetWars object contains // the state of the game, including information about all planets and fleets // that currently exist. Inside this function, you issue orders using the // pw.IssueOrder() function. Fo...
0185987e5799de92ea3310dcfc4dfdc9ffb43c73
23a405404b3238e9d7bb24f852f69d3f558183d9
/吉田学園情報ビジネス専門学校 竹内亘/01_シューティングゲーム/開発環境/シューティングゲーム/clear.cpp
408bc2055deea37208b955faf8ea9c8cec583d0f
[]
no_license
takeuchiwataru/TakeuchiWataru_QMAX
fa25283aa90bcedb75dd650613d8d828a3f8f81a
cd5d6f75ca258f58df934d40a8ea238976e7c69d
refs/heads/master
2022-02-07T16:33:12.052935
2019-06-12T04:32:08
2019-06-12T04:32:08
191,302,573
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
4,585
cpp
clear.cpp
//============================================================================= // // ゲームクリア処理 [clear.cpp] // Author : 竹内亘 // //============================================================================= #include "main.h" #include "clear.h" #include "input.h" #include "fade.h" #include "sound.h" #include "boss.h" //...
cf20a81ae82bb6e6f8db899332a971e9b62176e9
527a7c9af1d8ab969ac3a40f1258e7ebfe37837f
/servo.ino
a810cda3e46aecfecd7b7d46827367ba13054c77
[]
no_license
WSU-RoboticsClub/Door-Automation
fecf8dd91930e105c4bc1a151ac6ccda723a3bd0
5fef8f090d2eccf2fa3de34e52fccae50f8e605e
refs/heads/master
2016-09-06T05:59:01.085268
2015-05-28T00:22:26
2015-05-28T00:22:26
34,482,588
0
0
null
null
null
null
UTF-8
C++
false
false
2,996
ino
servo.ino
/* TODO: - Change servo back to using angular values instead of power levels. - http://www.instructables.com/id/Cheap-2-Way-Bluetooth-Connection-Between-Arduino-a/?ALLSTEPS */ #include <SoftwareSerial.h> #include <Servo.h> Servo myServo; char receivedChar; // User's serial input char stop_rotate; //Input for reading...
f0188b8592f443ea0b689e05f5a1d105c2b3145b
bcce017599467b4836b7e71812ec22f0142276e6
/fromGerardo/ROS_nodes/rh_calibration/include/rh_calibration/RHcalibration.h
ffbd78b3d3cad54a01b8de53cbcb5546e5967d5b
[]
no_license
mcdonalda1993/binocular_vision_alg
61db3efc74e3820df8eae6ad4b326a955738da61
7a3ad9ac074c352ed2b359ff657ac86efd30b373
refs/heads/master
2020-04-22T10:13:28.697705
2014-11-06T22:53:10
2014-11-06T22:53:10
24,841,447
2
0
null
null
null
null
UTF-8
C++
false
false
1,392
h
RHcalibration.h
// main include file #include <iostream> #include <sstream> #include <time.h> #include <stdlib.h> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/features2d/features2d.hpp> #include <cvsba/cvsba.h> ...
e76ea2117b425ec6ee685fc3964297e5765a330b
7af474a7a1d4ddff3cc84b299d2cf9e3c1fdd6c6
/files.cpp
9b400d3c4d83f2abd7d43ba42a3c4f1d894ef1c0
[]
no_license
ameliameyer/cs16_notes_w20
5546e4ce0eb1d6d488d368de6b64d2a6dc1cb6bb
59858735266a98ad5399ed183ed1a33853f3ca82
refs/heads/master
2020-12-22T16:07:06.849878
2020-02-06T22:53:54
2020-02-06T22:53:54
236,853,164
0
0
null
null
null
null
UTF-8
C++
false
false
1,501
cpp
files.cpp
// Two ways of providing inputs: cin, command line arguments, read from file // Ways to output data: cout, cerr, write to file // Command line arguments go to the main function // Program and file are both in memory #include <iostream> #include <fstream> using namespace std; /* Writing to a file int main...
d7318275eb4537f7b575faec1c185a2b8217c720
d11dfb3a629b1efca2e7f9ad15a6d134c7d051bc
/zlibrary/core/src/network/ZLNetworkXMLParserData.h
f629e24f82bd161fe0d8259a4fafb032b8d074b2
[]
no_license
stsg/fbreaderosx
2bbf5d5d09fd17d998187b528f0fcc4629d66fb8
a0971d6a7283a764068814ca8da16316359f57eb
refs/heads/master
2021-01-18T13:49:16.076718
2015-03-28T09:55:06
2015-03-28T09:55:06
33,026,187
1
0
null
null
null
null
UTF-8
C++
false
false
1,211
h
ZLNetworkXMLParserData.h
/* * Copyright (C) 2008-2009 Geometer Plus <contact@geometerplus.com> * * This program 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 2 of the License, or * (at your option) any later ver...
5cf9b4e8428f874470636a908cc8ea8180cdb370
c3c9c1770b18e7476d015186003a555417d8e564
/Unit1.cpp
2901962df3de803439265a3376f6ac33068bdea3
[]
no_license
Kalmykov501/MyRepo
5bb87a6fb3a1c13e43ee456465b1035f01de2102
6040aba2193335ad544bdc8ae581ff95f30a58d6
refs/heads/master
2023-04-28T05:53:31.805623
2021-05-17T18:51:04
2021-05-17T18:51:04
368,280,179
0
0
null
null
null
null
UTF-8
C++
false
false
4,555
cpp
Unit1.cpp
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "Unit1.h" #include <math.hpp> #include <jpeg.hpp> #include <graphics.hpp> //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*....
76438a12988a77d66227209808e285850afa2a06
75148b84e45be73a5119f499167b60387e628f50
/kości/exceptions.h
2d63ea3e768a02f06529e6645ea81080cea0ba9a
[]
no_license
petriczi/diceGame
bb95bdccf05215b765f65235cf8fd949c3540ece
83ab858bacb3af66e84c066858a0943056966df6
refs/heads/master
2020-03-11T14:53:59.507981
2018-04-18T13:43:43
2018-04-18T13:43:43
130,068,587
0
0
null
null
null
null
UTF-8
C++
false
false
1,259
h
exceptions.h
#ifndef exceptions #define exceptions #include<string> using namespace std; class exception_generator { private: int error_code; string message; public: exception_generator(int error_code, const string& message) :error_code(error_code), message(message) {} int err_template()//error template always close pro...
557246d0a87e383ac34b4523d3447d1f6902afcc
97b6b5e0ea8f4de7a762b513a8bd1f4b43500f16
/src/include/concore/detail/platform.hpp
cbac091410c7ed0befa45693e28bb6eb35360fb5
[ "MIT" ]
permissive
lucteo/concore
5d73abc9f216e1f48f48194000e8bb56194c68b2
ffbc3b8cead7498ddad601dcf357fa72529f81ad
refs/heads/master
2022-01-14T20:30:23.519658
2021-08-15T14:10:52
2021-08-15T14:10:52
229,525,104
62
4
MIT
2021-08-15T14:10:52
2019-12-22T05:58:05
C++
UTF-8
C++
false
false
2,188
hpp
platform.hpp
#pragma once // User can specify a "platform include" that can override everything that's in here #ifdef CONCORE_PLATFORM_INCLUDE #include CONCORE_PLATFORM_INCLUDE #endif // Detect the platform (if we were not given one) #ifndef CONCORE_PLATFORM #if __APPLE__ #define CONCORE_PLATFORM_APPLE 1 #elif __linux__ || __Fre...
1bef6b6a7da4fb834c5fd216fac8153a0c2ace89
1ea0b03c45886ed94523fa21a591bbc041809b5c
/Week 1/Problem 1/Problem_1.cpp
540a1cfdb6600d3478386b27deee3efbba70635c
[]
no_license
Ayush0084/DAA_LAB_ASSIGNMENTS-
a041b14356c0fa571415a24fb2706805385a4e18
d5c1a50f5baedc51e89435323e30b2dc5c6ec3b8
refs/heads/main
2023-08-14T13:42:35.286509
2021-09-23T13:17:27
2021-09-23T13:17:27
409,596,410
0
1
null
null
null
null
UTF-8
C++
false
false
671
cpp
Problem_1.cpp
#include <bits/stdc++.h> #include <fstream> using namespace std; int main() { ifstream in("input.txt"); ofstream out("output.txt"); int t; in >> t; while (t--) { int n,x,count; in >> n; int arr[n]; for (int i = 0; i < n; i++) { in >> arr[i]; ...
539833ad20ec8eed814a93fbc0d31e67d0ef13fd
b6607ecc11e389cc56ee4966293de9e2e0aca491
/codeforces.com/Contests/423 div 2/C/C.cpp
3db03cde7a59bb482ff519a7c4219eb12fb8214b
[]
no_license
BekzhanKassenov/olymp
ec31cefee36d2afe40eeead5c2c516f9bf92e66d
e3013095a4f88fb614abb8ac9ba532c5e955a32e
refs/heads/master
2022-09-21T10:07:10.232514
2021-11-01T16:40:24
2021-11-01T16:40:24
39,900,971
5
0
null
null
null
null
UTF-8
C++
false
false
1,782
cpp
C.cpp
/***************************************** ** Solution by Bekzhan Kassenov ** *****************************************/ #include <bits/stdc++.h> using namespace std; #define by(T, x) [](const T& a, const T& b) { return a.x < b.x; } #define all(x) (x).begin(), (x).end() const int dx[] = {1, 0, -1, 0}; const...
9b9ce440c847f277a1ae479dcc9fbf0df7aa02a2
53d7f089f4714562de0bc8425655a30630ed8ce1
/test.cpp
f8534f99906fd20c8d5be14a859c64d517b39eb6
[]
no_license
smolvik/cpp_motor_model
da3ac68df30c5f348c2913c0cf1d4c14781ee262
1934f1044e7c9d6fb6503b18b1e4e755a1f8156e
refs/heads/master
2020-05-09T16:43:36.691239
2019-06-28T14:13:54
2019-06-28T14:13:54
181,280,760
0
0
null
null
null
null
UTF-8
C++
false
false
5,793
cpp
test.cpp
#include <iostream> #include <math.h> #include <stdint.h> #include <complex> #include "tgaimage.h" #include "geometry.h" #include "tgaplotter.h" #include "driver.h" #include "filter.h" int32_t antcor(int32_t x, int32_t wdv) { static DigFilter2 flt1(-1819, 821, 0, 81919, -81919, 10, 10+7); static DigFilter2 flt2(-201...
dcf8d84370ea5580c2ffb12af99d16e84979d789
054d51d90fc6abb0a6153f5fcf18ecbdacd18407
/DataStruct/Code/tempCodeRunnerFile.cc
da8d80e6e2cd92857d06bae51526df8ee24ccd08
[]
no_license
Stephenhua/CPP
c40c4c69bffc37546ed00f16289e0b24293c59f9
bbaa84aabf17cf8e9c1eccaa73ba150c8ca20ec4
refs/heads/master
2020-12-30T03:42:44.502470
2020-09-18T14:56:38
2020-09-18T14:56:38
238,844,457
0
0
null
null
null
null
UTF-8
C++
false
false
607
cc
tempCodeRunnerFile.cc
void Test1(){ vector<int> arr={72,6,57,8,60,42,83,73,48,85}; vector<int> arr_sort={6,8,42,48,57,60,72,73,83,85}; Test(arr,arr_sort); } void Test2(){ vector<int> arr={}; vector<int> arr_sort={}; Test(arr,arr_sort); } void Test3(){ vector<int> arr={1}; vector<int> arr_sort={1}; Test(...
733a77dcb6cfdd44f37a356514122b5e1c377332
653e1872c3f7e1940c41a6f42d2447a05f2e3598
/tls/src/internal.cc
2ee1346072d241fb9a240258edb37027432e8b65
[ "Apache-2.0" ]
permissive
centreon/centreon-broker
a04c42bd7a2a7be33a66c0ab403559f2fd10017f
4f3ce322120d17edc93d22a0238e7709026da741
refs/heads/develop
2023-06-07T22:21:06.116565
2023-05-26T13:44:42
2023-05-26T13:44:42
19,499,960
40
30
Apache-2.0
2023-05-26T13:44:43
2014-05-06T15:37:19
C++
UTF-8
C++
false
false
5,167
cc
internal.cc
/* ** Copyright 2009-2013,2017 Centreon ** ** 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 agr...
2dc3e84c64795a2eeda074c50a51151853372391
ebdaaa910fa99ec3a055a375c960cc8b3d6128b7
/Applications/Utils/SimpleMeshCreation/createMeshElemPropertiesFromASCRaster.cpp
481fa39185fee7a12eca417c45085b50b0f60a50
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
norihiro-w/ogs
017d6970ef2a3b37447434a5f3923ba53508d7d3
ac990b1aa06a583dba3e32efa3009ef0c6f46ae4
refs/heads/master
2022-10-29T05:52:14.936998
2016-06-14T16:40:51
2016-06-14T16:40:51
2,612,310
3
1
NOASSERTION
2020-08-28T00:55:34
2011-10-20T10:16:18
C++
UTF-8
C++
false
false
9,528
cpp
createMeshElemPropertiesFromASCRaster.cpp
/** * \brief Implementation of the createMeshElemPropertiesFromASCRaster tool. * * \copyright * Copyright (c) 2012-2016, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosy...
c802410629c0ae3a7e508981cb64fcd66345feb8
e659b9b4f018b5349732b4dbc6c8e70e7c2f1692
/BoomFileNoDomino/22_11/src/testApp.cpp
4cf8eef9aaeedfa7f8f67618953d6f64d61154ad
[]
no_license
lucaswerthein/BoomFile
88638966cfba4e5c9d7d1176ea31b58c2f3bc5df
68cacb389e05801580ee2465467271d9eda9bffa
refs/heads/master
2021-01-13T01:55:04.190566
2011-04-09T20:52:28
2011-04-09T20:52:28
1,523,750
0
0
null
null
null
null
UTF-8
C++
false
false
6,785
cpp
testApp.cpp
#include "testApp.h" int testApp::worldCounter = 1; //-------------------------------------------------------------- vector<b2Body*> collisions; void MyContactListener::Add(const b2ContactPoint* point){ b2Body* body1 = point->shape1->GetBody(); b2Body* body2 = point->shape2->GetBody(); char *s1 = (char *) body...
415757e0cdbf43b15aade186bee3fc8f73aba0a1
2799f93c2ad2dcb27eb5121299c91fbd4e253fb8
/indicview-base/otsu_bin.cpp
8d5c1b294616721c3d2ddcf165f6ac5cf6c3d041
[]
no_license
krishna95/PilotImage
80f6e40e141cfc74c7a731f022d741fa20610dd6
d988981abb17d22c68c5e65d08caa6f2d109e7fc
refs/heads/master
2021-01-15T14:53:51.420124
2015-12-19T00:14:51
2015-12-19T00:14:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
454
cpp
otsu_bin.cpp
#include <iostream> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> using namespace cv; int main ( int argc, char **argv ) { Mat im_gray = imread(argv[1],0); Mat blur, binary; GaussianBlur(im_gray, blur, Size(5,5), 0, 0); threshold(blur, binary, 0,255, CV_THRESH_BINARY | CV_...
59f85fb8892fdcd1c828ba29f3a64648006900e7
1091356fce98f15e7f78eb1d05db048e12be8a16
/parallel/psobel.cpp
68d93c927add2fabcb1c516a369dce2a49d7aaa8
[]
no_license
vslovik/video
0a81bf0d9674e24d3d5fe8144e837bc11d3c2630
d509f207759efe870f7a0c0c05fbe6a34e2b7bda
refs/heads/master
2020-06-03T05:10:42.045480
2017-07-05T20:19:56
2017-07-05T20:19:56
78,033,769
0
0
null
2017-05-06T20:05:02
2017-01-04T16:40:55
C++
UTF-8
C++
false
false
4,548
cpp
psobel.cpp
#include <iostream> #include <opencv2/core/core.hpp> #include <ff/parallel_for.hpp> /* ----- utility function ------- */ #define XY2I(Y,X,COLS) (((Y) * (COLS)) + (X)) /* ------------------------------ */ const float R = 0.3; const float G = 0.59; const float B = 0.11; // returns the gradient in the x direction sta...
ec6ff82cfd5bc8499fa10b3de02d63efea5fdc96
0a3363c1d3d5867f1340de49b84eab84defa3fb8
/od/graphics/ScreenSaver.h
d752309fb42d5bfaad14deda3f5cab045f1337ca
[ "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
355
h
ScreenSaver.h
#pragma once #include <od/graphics/FrameBuffer.h> #include <od/graphics/SubFrameBuffer.h> namespace od { class ScreenSaver { public: ScreenSaver(); virtual ~ScreenSaver(); virtual void reset() = 0; virtual void draw(FrameBuffer &mainFrameBuffer, FrameBuffer &subFrameBuffe...
343f5bd0706b5f8308554cfe9a3cbcc17e3e19dc
a44e1a9e5ed397fc26a8d30a28685c18437b60fe
/Linked_list/linked_list.cpp
7cbb49c9198bb01fb9de83be6b0b003dce15a8a2
[]
no_license
tranngocson210599/intership
a38fdd8959bea1f5e895d5a37c921e2116e0e846
46d8f7c07bf07e3cea0695b2f3c559079ccef7f5
refs/heads/master
2022-12-16T23:01:52.955271
2020-09-09T14:21:03
2020-09-09T14:21:03
297,518,786
1
0
null
2020-09-22T02:54:58
2020-09-22T02:54:58
null
UTF-8
C++
false
false
4,174
cpp
linked_list.cpp
#include <iostream> #include "linked_list.h"; using namespace std; //creat a Node Node *CreatNode(Data data_in) { Node *temp = new Node; temp->data = data_in; temp->pnext = NULL; return temp; }; void Init (List& lst) { lst.phead = lst.pTail = NULL; }; bool IsEmpty(List& lst) { if (lst.phead == ...
f3054b382f2d3aa7184c348b4f927d93c9072327
6e3c73b11a98d5a33bb621a71405e27c06de7f39
/src/Debug.h
dc0c81a51f3b8f43616191bf96f8a9d4c92d253b
[ "MIT" ]
permissive
BenjaminHinchliff/Tetros
192f389d9b390c4b08c3541113ad30383a6528a5
256d030007d075f779c5ea6514693e303fecba5f
refs/heads/master
2022-04-09T11:33:46.413273
2020-02-15T05:05:12
2020-02-15T05:05:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
377
h
Debug.h
#ifndef DEBUG_H #define DEBUG_H #include <iostream> #include <glad/glad.h> void APIENTRY glDebugOutput(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userParam); GLenum glCheckError_(const char* file, int line); #define glCheckError(...
e02bed182472fee98805638421caf6a07d89ec1f
6443a53a6586544df1301719634c75ab5b831ee2
/src/lib/MSC/Base_Connector.cpp
4ac0d90dcc517e0bb282636a3a7e075eb4069e21
[]
no_license
marvins/MapServerConnector
8c4e44f7be368c5db63eac36e63ab7d9adc6050c
f91ff7cd35467c7bfa73923744b19b41faa0a396
refs/heads/master
2021-01-10T07:18:05.328038
2017-03-13T03:48:25
2017-03-13T03:48:25
50,594,192
0
1
null
null
null
null
UTF-8
C++
false
false
760
cpp
Base_Connector.cpp
/** * @file Base_Connector.cpp * @author Marvin Smith * @date 1/27/2016 */ #include "Base_Connector.hpp" namespace MSC{ /**********************************************/ /* Base Connector Constructor */ /**********************************************/ Base_Connector::Base_Connector( Configu...
b8f20bcc44db313d09ab2d058942a694cbd739b4
94e8e0d10dd993cb08785d1bab6aafc1055f509d
/MoreIdioms/MoreIdioms/samples/MI34_FinalClass_Deprecated_C++11.h
273264279e663f95e483ee1f35598002bc8c85f6
[]
no_license
albertomila/continous-formation
1d416170d2ad85ad1e2ea5eef0f2436cd299c716
e3a57f0fc22dc16b1e9cce1ed100795ca664359d
refs/heads/master
2020-06-14T00:46:23.147271
2019-07-08T18:38:54
2019-07-08T18:38:54
194,838,856
0
0
null
null
null
null
UTF-8
C++
false
false
855
h
MI34_FinalClass_Deprecated_C++11.h
#pragma once #include "stdafx.h" ///////////////////////////////////////////////// template<class T> class MakeFinal { private: MakeFinal() { ; } // private by default. friend T; }; #define MAKE_FINAL( T ) virtual MakeFinal<T> #define FINAL_CLASS( T ) class T : virtual MakeFinal<T> /////////...
3b8ea9ca2202b083be1dc20a2f20600b178c8c99
1dfa90b745a93e5c068643e23c4c802deefa69b5
/gollybase/writepattern.cpp
e2cd4fb3ab1be84dc6eb7f9858f3734119713432
[]
no_license
AlephAlpha/golly
81379e8d37debd7fffab2c5cff610db2549897f5
86e463d33731bebff26767c676a4c19295ff19d6
refs/heads/master
2023-08-13T23:58:04.223452
2023-07-18T08:48:52
2023-07-18T08:48:52
140,466,481
38
12
null
2020-09-05T12:01:17
2018-07-10T17:29:21
C++
UTF-8
C++
false
false
10,823
cpp
writepattern.cpp
// This file is part of Golly. // See docs/License.html for the copyright notice. #include "writepattern.h" #include "lifealgo.h" #include "util.h" // for *progress calls #include <iostream> #include <fstream> #include <cstdlib> #include <cstring> #ifdef ZLIB #include <zlib.h> #include <streambuf> #endif #if...
eeb7989b2f6e03ed390b7bbac37ab1152277942e
8eb85415285e337f1a7ef621a2f888bc426c5530
/ROCm_Libraries/rocALUTION/src/base/hip/hip_sparse.cpp
79322050a09b6f1586d2a917ccbe53b0df12b832
[]
no_license
Rmalavally/ROCm_Documentation
9eebfb0d9f92ec083a3ad97336d73fd3a1751a30
b4cfab566ae3fee2502e4bbf2fef1848024a155f
refs/heads/master
2021-05-19T16:31:51.483435
2021-05-11T16:24:37
2021-05-11T16:24:37
252,028,180
2
0
null
2020-04-01T00:09:34
2020-04-01T00:09:33
null
UTF-8
C++
false
false
28,038
cpp
hip_sparse.cpp
/* ************************************************************************ * Copyright (c) 2018 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without re...
822d03932473804b6840b29fdff55484fee72a5c
598688bacee137269adc1852f24b03a3867e9558
/TreeQueries2.cpp
998612afa144b1f78ca8fce51de33f9be73b0887
[]
no_license
amitkr6211/CSES_PROBLEM_SET_TREES
28a24ed2ae496b098d52fb8163fac2b0da9b77a9
5c74a0448fbd17a2ba25450ee0cc4de1a0ceea07
refs/heads/main
2023-04-28T05:58:44.005603
2021-05-17T07:42:56
2021-05-17T07:42:56
368,098,109
0
0
null
null
null
null
UTF-8
C++
false
false
2,389
cpp
TreeQueries2.cpp
#include<bits/stdc++.h> using namespace std; #define ll long long #define mod 1000000007 //depth of each node void bfs(vector<int> &depth, vector<int> v[]){ depth[1]=0; queue<pair<int,int>> q; q.push({1,0}); while(!q.empty()){ pair<int,int> p=q.front(); depth[p.first]=p.second; ...
b503e07235c7bcbf26eb653d51f382ba7c000bac
f8b2ba705d6e360fd2ff0e2dc34a109af0aec781
/node.h
628ae40ef684a569a00210707d4361dffc238b92
[ "MIT" ]
permissive
alekseyl1992/CalcCompiler
6371219f71c05685d742408aa571783bf0e57dcb
e64894941bb8946a14a657f9c84fe7d0ad0ff197
refs/heads/master
2020-12-24T13:53:01.633168
2016-01-14T12:11:57
2016-01-14T12:11:57
34,921,515
0
0
null
null
null
null
UTF-8
C++
false
false
1,299
h
node.h
#ifndef NODE_H #define NODE_H #include <string> #include <assert.h> #include "token.h" struct Node { enum Type { NONE, OPERATION, OPERAND }; Token token = {Token::TOKEN_TYPES_COUNT, L"", 0}; std::vector<Node *> operands; Type type = NONE; Node(Token token=Token(), std::vector<Node *> ...
345f86813712567e45f6536723302b3363d50fcb
fc833788e798460d3fb153fbb150ea5263daf878
/boj/14000~14999/14890.cpp
5a73cd5ebb49cbdf6452b3955fcf229f106f6352
[]
no_license
ydk1104/PS
a50afdc4dd15ad1def892368591d4bd1f84e9658
2c791b267777252ff4bf48a8f54c98bcdcd64af9
refs/heads/master
2021-07-18T08:19:34.671535
2020-09-02T17:45:59
2020-09-02T17:45:59
208,404,564
4
0
null
null
null
null
UTF-8
C++
false
false
936
cpp
14890.cpp
#include<stdio.h> int map[101][101]; int road[201][101]; int N, L; int abs(int x){ if(x>0) return x; return -x; } int check(int now){ int row = 1; for(int i=0; i<N-1; i++){ int dis = abs(road[now][i] - road[now][i+1]); if(dis>=2) return 0; if(dis==0){ if(road[now][i] == road[now][i+1]) row++; else ro...
85b8b87f98ac3cae276d2e9c131878145cfcf34b
ef5504db423f7b0258d8bdefacb12236d76f2bb6
/src/demo/demo_server/plugin/demo_server_json_service/demo_server_json_service.h
0616a390c94ca952af22cdbc4a2f2fb572bb1947
[]
no_license
tafchain/vprotocol
cc0fc6f7453072a6941af761bb79f1a33dca6127
bd2b5b83046d8af7746617a130fb56be230ce4cc
refs/heads/master
2023-06-02T12:44:19.228025
2021-06-17T07:49:42
2021-06-17T07:49:42
377,747,826
0
0
null
null
null
null
UTF-8
C++
false
false
831
h
demo_server_json_service.h
#ifndef DEMO_SERVER_JSON_SERVICE_H_4238234089342798435642367234987423972348234168685 #define DEMO_SERVER_JSON_SERVICE_H_4238234089342798435642367234987423972348234168685 #include "dsc/protocol/http_json/server_http_json_service.h" #include "demo/common/comm_msg_def.h" class PLUGIN_EXPORT CDemoServerJsonService : pub...
b2e8f9fd016f22cb6138db8cc48a667581ae91f2
9607d81d6126b04c75e197440a15c325a69d97a1
/TradingSDI/TradingSDI/PosEntryAna.h
b0499b62c548f8f6ab26990b919be77183725173
[]
no_license
FX-Misc/prasantsingh-trading
0f6ef3ddac2fcb65002d6c1031ea0557c1155d9a
755670edd6f964915a4f8c3675f2274b70d01c50
refs/heads/master
2021-05-05T17:18:47.658007
2017-01-19T11:06:16
2017-01-19T11:06:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,255
h
PosEntryAna.h
#ifndef PosEntryAna_GRID #define PosEntryAna_GRID #include "OrderGrid.h" #include "ugctrl.h" #include "LogFile.h" class PosEntryAna :public CUGCtrl { public: PosEntryAna(void); ~PosEntryAna(void); static int insertFilterFlag; static int shorting; CString str[6]; int m_nSpinIndex; int run_check; CLogFile m_...
65bf1f55a91ad0844d3292aeffaacbd4e5912759
a13158a23232c771f86230d555a6d01de504bcfe
/jiffle/src/jiffle/vm.generate_test.cpp
51f2e2106b44e36692af4ccb3672d141cae87995
[ "MIT" ]
permissive
ketdev/Jiffle
090b1e7b630423299ad35bf69e041458b0e27c58
729c8cec77eb0c1510492dcf5ae85c86752a25f7
refs/heads/master
2021-06-17T03:42:10.160873
2017-05-27T06:46:06
2017-05-27T06:46:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,336
cpp
vm.generate_test.cpp
#include "vm.h" #include <assert.h> namespace jiffle { namespace vm { typedef std::vector<uint8_t> bytes; template<int N> bytes b(const char str[N]) { auto v = bytes(N); memcpy(&v[0], str, N); return v; } void generate_test() { using namespace syntax; using namespace expr; // internal ...
7f945f60461bfdee59a6803cd110b6b91c5d000c
986959b15d763745518085bdb5106daeb4e0b41d
/Volume - 3 (300 - 375)/303 - Strange Digits.cpp
51ad39de8faa8bf5c4da5b8d4f5946571400ec80
[]
no_license
Md-Sabbir-Ahmed/Outsbook
a19d314b481d5f2e57478c98b0fe50d08781310c
e3b2c54517de3badff96f96d99d1592db7286513
refs/heads/master
2022-11-07T06:43:37.955730
2020-06-26T20:32:03
2020-06-26T20:32:03
267,264,610
1
0
null
null
null
null
UTF-8
C++
false
false
587
cpp
303 - Strange Digits.cpp
#include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int m,temp,r,rev=0,maximum=0,minimum=0,temp2,rev2=0,r2; cin>>m; temp=m; while(temp!=0) { r=temp%10; rev=rev*r+r; temp=temp/10; } if(rev>m) { maximu...