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
06da535ddb5f689bfc81afd16dd37e96556f5df4
63dfe36bac2dcb470130750d9eba52f0732ae454
/数据结构与算法题目集(中文)/7-26 Windows消息队列.cpp
e4ce748ac9c2210aec90fa6ed4680512863ce4d3
[]
no_license
laity-slf/PTA
de8295ee61e929bf1ba204e92978b90c55b6d6fc
f10f09a30d6cd6f4f5a70e5513d8363429182024
refs/heads/master
2022-06-25T18:52:22.832846
2019-09-07T08:17:42
2019-09-07T08:17:42
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
814
cpp
7-26 Windows消息队列.cpp
#include<cstdio> #include<cstring> #include<queue> using namespace std; struct Message { char name[10]; int ranked; friend bool operator < (Message m1, Message m2) { return m1.ranked > m2.ranked; } }; priority_queue<Message> q; int main() { int n; char str[10]; Message temp; sc...
006416dbee1e04b5e75412971a8b09d46cac79a0
19368726358c264f79cbd81907aba6cd2c8c2692
/tests/state_machine_test.hpp
d1b0c1e30a477e63f4f97925ba45076d4dc25659
[]
no_license
AlexZus/state_machine
55a73d01bc29cfb9ae9d90c04e72e5746261db78
e0aa4334c06bef0432c32243a127721b17a11272
refs/heads/master
2021-09-28T00:23:02.649616
2021-09-24T06:50:19
2021-09-24T06:50:19
154,158,250
0
0
null
null
null
null
UTF-8
C++
false
false
4,394
hpp
state_machine_test.hpp
// // Created by alex on 28.06.18. // #ifndef PAIDAGOGOS_STATE_MACHINE_TEST_H #define PAIDAGOGOS_STATE_MACHINE_TEST_H #include "state_machine.hpp" #include "data_container.hpp" namespace StateMachineTest { struct DC_Set : public DataContainer { static constexpr const char* clsName = stringify(DC_Set); int A; ...
b7628a7f1fc98429a4212eb2e817dbb4b16b95e3
ee878f2dfb322a7bae5aaa78c7a249b30caffe4c
/src/console/console.cpp
fdea22466f4ba6a44c560dd05048b62ea74cbda2
[ "MIT" ]
permissive
TulioAbreu/game-project
d8f015181604341c0ce62942a2601b4c70ea8f1b
24367a8abe982a022354b0586f95d78f3d851c8d
refs/heads/master
2021-01-09T14:58:41.345024
2020-10-18T12:15:11
2020-10-18T12:15:11
242,346,406
0
0
MIT
2020-12-01T14:03:38
2020-02-22T13:29:24
C++
UTF-8
C++
false
false
730
cpp
console.cpp
#include "console.hpp" void Console::Console::updateLog() { if (mCommandLog.size() >= CONSOLE_MAX_LOG_SIZE) { mCommandLog.erase(mCommandLog.begin()); } } void Console::Console::cleanCommandBuffer() { mCommandBuffer[0] = '\0'; } void Console::Console::clean() { mCommandLog.clear(); mComman...
7ee03e74c534f6b33d1a876d553177571b068c06
36357bbe859f79d48f9313442ccb39e78f25b347
/modules/drivers/radar/uhnder_radar/driver/system-radar-software/engine/scp-src/eng-api/uhdp-control.h
d629bf25774c60b80e9199fd496dd6189cd53fb2
[ "Apache-2.0" ]
permissive
MaxLin86/apollo
75c8a94d90daa14759c0bb0eae3085638bb9b6b5
fae1adf277c8d2b75e42119c5d52cbd1c6fb95c7
refs/heads/main
2023-03-28T18:22:36.161004
2021-03-08T07:53:25
2021-03-08T07:53:25
345,560,672
1
2
null
null
null
null
UTF-8
C++
false
false
5,383
h
uhdp-control.h
#ifndef SRS_HDR_UHDP_CONTROL_H #define SRS_HDR_UHDP_CONTROL_H 1 // START_SOFTWARE_LICENSE_NOTICE // ------------------------------------------------------------------------------------------------------------------- // Copyright (C) 2016-2019 Uhnder, Inc. All rights reserved. // This Software is the property of Uhnder,...
60601bd1d2f6d9780567b74cf06b3111f3207699
fe50fca386dc79ff7ad75185903209f07bcdab30
/Practice/stairLift.cpp
c181b0525622b8043d10f020cf922ecc029a1fdb
[]
no_license
sainiak009/cpp_practice_codes
a5163e146b2851d8d7342fb440b508ea315410ce
5c4fb23678f1f664abccfc490e6484368023d60d
refs/heads/master
2020-03-20T18:20:39.397907
2018-06-16T13:49:49
2018-06-16T13:49:49
137,583,722
0
0
null
null
null
null
UTF-8
C++
false
false
566
cpp
stairLift.cpp
// Ankit Saini - sainiak009@gmail.com #include <iostream> #include <cmath> using namespace std; int main(){ int t; cin >> t; while(t--){ double A,B; long k; cin >> k >> A >> B; double rad = (double)k/(double)2; if(abs(A-B) == rad){ cout << 0 << endl; }else{ if( A <= rad) A += rad; else A -...
5cc4e3c12ecf47019e6aca1bc040827150ce0495
7f16d42e71a7550d1848fa6d31d8133486760768
/Datafile.h
d2d132a9d5f338ea84dd8c0c6046e06fb9f099c2
[]
no_license
TERMMK2/TER-2A
03215c6c966bf2a17c70b470399d41c4a07041a6
144e151dc74498737dd8a8c72aa3f85abb471bde
refs/heads/master
2021-09-14T09:58:48.754342
2018-05-11T14:32:37
2018-05-11T14:32:37
117,685,449
1
1
null
2018-01-16T13:18:55
2018-01-16T13:12:40
null
UTF-8
C++
false
false
4,367
h
Datafile.h
#ifndef FILE_DATA_FILE_H // Pas a jour du tout #include <string> #include <iostream> #include <Eigen> class DataFile { private: //Nom du fichier de donnée d'entrée const std::string _file_name; // Variables à utiliser // Ajouter un truc pour le systeme d'adaptation du maillage std::string _CL_droite; std...
867b5d8e8c0c964fb86432fb97e3398e4c38f166
6e94fd167d0ec5a55a387244dd0d5c25b4ab6ed1
/HuboCma/huboikviewer.cpp
139b7dd93b7e52c9e66985e14488b162c7642e2a
[]
no_license
hpgit/hubocma
3fb90738df2bf82c1f717dfe21b03ad4f4e0303b
497622f8e852e6ac01dae7d222211ec0f3363899
refs/heads/master
2021-05-28T16:55:55.289398
2015-01-20T08:02:48
2015-01-20T08:02:48
23,695,139
0
0
null
null
null
null
UTF-8
C++
false
false
2,299
cpp
huboikviewer.cpp
#include "huboikviewer.h" //#include <UniformBspline.h> #include <HpMotionMath.h> #include <IKSolver.h> #include "huboikmanage.h" HuboIkViewer::HuboIkViewer(QWidget *parent) { HuboIkManage *man = new HuboIkManage; man->init(this); man->move(200+width()+20, 200); man->show(); } void HuboIkViewer::setReferMotion(...
4eb8e2f4bffa1e42bc09f091ae11656218ea7b69
3fd3387adf63c1f0918fe85e25151dd93dd5229e
/cpp/Part03/Chapter07/072/1.cpp
b7e6a822e340d9f07549a47ead2b795f7eaab0b6
[]
no_license
AhnWoojin-sys/Cstudy
d803dea90af5053827ce96f4f5c54ab735bc59f6
c0bf51d0b4c082a919d02ff63759e549876c39f6
refs/heads/main
2023-01-31T17:43:35.906167
2020-11-17T10:32:11
2020-11-17T10:32:11
308,801,773
0
0
null
null
null
null
UTF-8
C++
false
false
465
cpp
1.cpp
#include <iostream> using namespace std; class Rectangle{ private: int x; int y; public: Rectangle(int x, int y): x(x), y(y){ //empty } void ShowAreaInfo(){ cout<<x * y<<endl; }; }; class Square : public Rectangle{ private: public: Square(int x): Rectangle(x, x){ ...
ad1ba2a6a2d48027e2e3283c945340e520e27c0e
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2749486_0/C++/praveendhinwa/B.cpp
a39cfe8fa1a1987af23f405b9c1232f501a17198
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
705
cpp
B.cpp
#include<iostream> #include<cstdio> #include<vector> #include<algorithm> #include<cstring> #include<set> #include<cmath> #include<cassert> using namespace std; typedef long long LL; const int N = 100005; int caseNo = 1; int x , y; void input() { cin >> x >> y; } void solve() { string ans = ""; if (x > 0) { ...
cdb5495ad1278b034526af0548383b9d112d2fa0
08434e62eb499a5e6b0e5a9c0fbac2dcbe36b6f1
/Scripts/Reflection/BaseComponent.h
576bea52c0a7d3e4cf9116bc52378b5e9da89ed3
[]
no_license
nitvic793/Essentia
41b30886fd9195b04a5fb24dc31744c8ba16bde0
5df447184bddb26c02df9209fb5c76e893208636
refs/heads/master
2023-05-25T14:09:51.339180
2022-11-22T18:54:20
2022-11-22T18:54:20
197,072,397
11
0
null
2023-05-23T01:18:13
2019-07-15T21:05:56
C++
UTF-8
C++
false
false
411
h
BaseComponent.h
#include "component.h" class TestSystem: public ISystem { }; /* * Testing component */ struct SpeedComponent : public IComponent { float Speed; float Acceleration; M_INT(Test) MSystemType(SystemType::Core) }; //@Skip() struct SkipComponent : public IComponent { float Speed; float Accel...
caba665914a74dd3691fef49e67a406a39464bc8
089d03a94a74a288c2ec53038b7dbe0ef3c99bd2
/exercicesC++/polymorphisme/fille.cpp
f1f71aff74672551ad73efcaeabcdd9568a3dcab
[]
no_license
GaryVanwynsberghe/Formation-AJC
b01b00a9696382b752a7efab3d6fc4e79ff6edde
2c43f25bb2eca5c29e6d8351816da9d76e31b351
refs/heads/master
2020-04-05T22:00:42.163595
2018-12-27T16:44:18
2018-12-27T16:44:18
157,241,713
0
0
null
null
null
null
UTF-8
C++
false
false
204
cpp
fille.cpp
#include "fille.h" #include "mere.h" #include <iostream> Fille::Fille() { } int Fille::fonctionMemeSignature(int x, int y) { std::cout<<"Je suis la fonction fille"<<std::endl; return x * y; }
e4c391a6a8c219b876e006afa26122b6f366b54d
c8229cb26675657b35a25f54b200adc5997a3e7f
/src/left_arm_controller.h
ee293cb3cf3f7aa068da8b6ae19fc9b0b86e61db
[ "MIT" ]
permissive
tedere93/jenny5-gui-controller
e12173500a290b337bb1e4a8096f3e9e7299aa97
7d0a77def7187663fb197fff7e3441fdf91ca551
refs/heads/master
2021-01-20T07:04:47.339363
2017-04-04T20:11:47
2017-04-04T20:11:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,027
h
left_arm_controller.h
#pragma once #pragma once #include <opencv2\objdetect\objdetect.hpp> #include <opencv2\highgui\highgui.hpp> #include <opencv2\imgproc\imgproc.hpp> #include "jenny5_arduino_controller.h" #define LEFT_ARM_BODY_MOTOR 0 #define LEFT_ARM_SHOULDER_UP_DOWN_MOTOR 1 #define LEFT_ARM_SHOULDER_LEFT_RIGHT_MOTOR 2 #define LEFT_A...
d5a7a1dcf7330d4340fa1643f4c0ce95bb3a3083
f77ccfcaafdaf9d2d2496aea7a60bda2e8cda3f9
/SimpleGame/libs/cocos2dx/platform/airplay/CCSAXParser_airplay.cpp
380b40b53c746f6a7f25287ea90caed829ddb79e
[ "MIT" ]
permissive
peteo/GeniusPeteo
17b23c4e82480188864249271933246ce62507aa
4c2d68dbd8516a80b808ccf27c7bf1499286fe88
refs/heads/master
2016-08-05T04:12:19.434374
2011-09-27T09:41:28
2011-09-27T09:41:28
2,196,052
1
1
null
null
null
null
UTF-8
C++
false
false
3,366
cpp
CCSAXParser_airplay.cpp
/**************************************************************************** Copyright (c) 2011 cocos2d-x.org http://cocos2d-x.org Copyright (c) 2011 Максим Аксенов Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "S...
401108028dc4378eaba3c92a6dc18a534442c4a5
e90d25f120d8c1452a2774c1e6c827ca8c634318
/extendedconfig.h
39d0d8448e27ad57de35599472cfcc00e797a559
[]
no_license
PatriciaChung64/FlyingStickman
c9d614f2e22bce15f505a1103fec39ae94b8583d
4cc2fd9229e7688f238c6432283e04f97a2f3c71
refs/heads/master
2022-12-04T10:48:26.761753
2020-08-27T16:25:55
2020-08-27T16:25:55
290,823,071
0
0
null
null
null
null
UTF-8
C++
false
false
511
h
extendedconfig.h
#pragma once #include <vector> #include "config.h" #include "configuration.h" class ExtendedConfig : public Configuration { public: ExtendedConfig(Config& config); ~ExtendedConfig() override; virtual unsigned int getWorldWidth() override; virtual unsigned int getWorldHeight() override; virtual s...
4e55e8c51b03b0b2d3dbdf270efe328704349823
fed9c8e3c04c2510abea66b92fb1990bfd42c8f7
/CodeForces/Round 392 - Div. 2/758E - Broken Tree.cpp
eeeabdd1cc01a8fde58be55fd82f76be4a22d4cb
[]
no_license
vdae2304/Contest-archive
cfcd7cefb4ebb0d8da3d6bc897ca2e6df1ec8508
8cea78c2c2b4d084155524b8fd2a54f2f5b6aedc
refs/heads/master
2023-05-13T23:37:52.616695
2021-06-04T16:41:52
2021-06-04T16:41:52
112,109,781
0
1
null
null
null
null
UTF-8
C++
false
false
1,426
cpp
758E - Broken Tree.cpp
#include <bits/stdc++.h> using namespace std; #define MAXN 200001 struct edge { int X, Y; long long W, P; } v[MAXN]; int N; long long weight[MAXN]; vector<edge> tree[MAXN]; void Minimize(int node) { for (edge nxt : tree[node]) { Minimize(nxt.Y); if (weight[nxt.Y] > nxt.P) { co...
97823f68875047a689b7c7af300a7f5cd75dbf2e
6bccb0ee83880ab9b7c669c9bb6244b423cd2173
/VisualStudio/ShakeTheBox/ShakeTheBox/inc/DataIO/GDF.h
2ed7296ab0d4a5c75fca58b4c1340fdf51b3235c
[]
no_license
JHU-NI-LAB/OpenLPT_Shake-The-Box
e2223f3deac828e9a6bf267e697e329c11bc511e
e916093a46b9da15484f6607087331cee71c9e2c
refs/heads/master
2023-04-07T00:10:02.684329
2023-01-26T21:24:44
2023-01-26T21:24:44
196,363,623
30
15
null
2021-07-19T03:56:13
2019-07-11T09:30:14
C++
UTF-8
C++
false
false
1,138
h
GDF.h
/* * GDF.h * */ #ifndef GDF_H #define GDF_H #include <string> #include <deque> #include <stdexcept> #include <Frame.h> class GDF{ public: // constructor: process the given pixel array GDF(std::string filename, int start) throw(std::out_of_range); // destructor ~GDF(); // read GDF files int readGDF2D(in...
0be207386ec2ae1b3f758cae93d1ce01ab0a8159
dcba341a45add70486c88f781e59aebd2fc7cb2a
/Headers/descriptionEXT/Faction Headers/Aegis Marines Unit Table.hpp
ceb8271cfbe820652ffa72177ee674abf3d51046
[]
no_license
PhatHippo/Arma-3-Survival
7c00a0bdcfa2b4cb880269a388508c802974e1c8
fdfd5b5260129669e7af4e1f174b9d381928e57d
refs/heads/master
2023-07-11T15:09:57.416453
2021-08-28T16:46:35
2021-08-28T16:46:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,382
hpp
Aegis Marines Unit Table.hpp
class AEGIS_MARINE_desert_faction : NATO_faction { displayName = "Aegis Marines - Desert"; attackHelicopters[] = { "O_Heli_Attack_02_dynamicLoadout_black_F" }; transportHelicopters[] = { "I_Heli_light_03_unarmed_F" }; infantry[] = { "Marine_B_USMC_Soldier_A_F", "Marine_B_USMC_Soldier_AR_F", "Marine_B_...
cf99945d78463b3c6af54af5ba07d0a058683c9a
fb2cb3c4ba36186e8beb85e7f748b1542b166508
/rwlib/src/txdread.common.hxx
10dfec2b1897877b8cd601151de66e009adaa989
[]
no_license
bnk996/magic-txd
09e5e5d7ca35132171c6be9bbdfd08a4614b3aaf
4ea83f4f9a074513d344875c7f24cbf347361565
refs/heads/master
2020-03-23T18:02:58.243746
2016-12-23T20:34:29
2016-12-23T20:34:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,858
hxx
txdread.common.hxx
#ifndef _RENDERWARE_COMMON_UTILITIES_PRIVATE_ #define _RENDERWARE_COMMON_UTILITIES_PRIVATE_ #include "rwserialize.hxx" namespace rw { struct texDictionaryStreamPlugin : public serializationProvider { inline void Initialize( EngineInterface *engineInterface ) { txdTypeInfo = engineInterfac...
76637bb67e48e4b0bcc53362c12a3796e5c7da07
17601c03f36271fc5a7796eb86ae75ef8994ba8b
/lab3/string_test.cc
60ec15f8fa87a2648ff9acfd9385767ca6e719e6
[]
no_license
marcusmalmberg/eda031
eeb6a01a0596de66921313b6c78455209d680dbc
27dc6e1190b44f49c400215e41f9859ff8fcf64a
refs/heads/master
2018-12-29T00:34:05.651002
2012-04-02T19:04:20
2012-04-02T19:04:20
3,443,378
0
0
null
null
null
null
UTF-8
C++
false
false
1,813
cc
string_test.cc
#include <cassert> #include <iostream> using namespace std; void replace_all(string& s, const string& from, const string& to) { string::size_type pos = 0; while(true) { // Find next occurance of the needle pos = s.find(from, pos); // If the needle wasn't found exit the loop if(pos == string::npos) { ...
903f202af5dcc895265c184e27d0a6cd71410ecb
5931555e2b42aa3872e11fbb6fd0637725a6fc84
/wsu/csci/Bank_Simulation/Bank.h
87e647e53b4952d6538060a93833d7b86a8b1c9a
[]
no_license
Mishkuh/wsu
9badffeff991e4edeac0d8e934c6971fe48fd350
87c099289f26d3eb8069e9a723e1d0bdbc935388
refs/heads/master
2021-01-10T16:26:03.033619
2016-01-08T00:48:39
2016-01-08T00:48:39
49,175,159
2
0
null
null
null
null
UTF-8
C++
false
false
481
h
Bank.h
#ifndef BANK_H #define BANK_H #include <iostream> #include <cstring> #include <string> #include "Account.h" using std::cin; using std::cout; using std::endl; using std::string; class Bank { public: Bank(); ~Bank(); void setBank(Account *newBank); Account * getBank() const; bool insertAccount(); //void editA...
db7c6bdbbf9dfcc1fc1f326aef43c0c67387e8fa
2b5b3cd32028b1c6e159e087b0398bce778cd0fd
/src/x.cc
4d44a3f74871cc0a775e26b170d2ab4706de615e
[]
no_license
aakarsh/x
ad523754761d24d5dca1a6e91161afa7067e3307
06e776bbd75eba81cde941251a3f118f1e208a7d
refs/heads/master
2020-05-31T08:28:22.353520
2018-02-05T17:28:19
2018-02-05T17:28:19
94,022,725
2
0
null
null
null
null
UTF-8
C++
false
false
23,240
cc
x.cc
#include <ncurses.h> #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <assert.h> #include <ctype.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <iostream> #include <iomanip> #include <fstream> #include <sstream> #include <vector> #...
56e19305a23821ac0984315b4bdd5844e7ca6105
70572481e57934f8f3e345e7ca31b126bf69046e
/Celeste/Tests/Source/Input/TestInputUtils.cpp
5e7b426ca490432ade6a67a5a1cc9c874de2b8df
[]
no_license
AlanWills/Celeste
9ff00468d753fd320f44022b64eb8efa0a20eb27
b78bf2d3ebc2a68db9b0f2cc41da730d3a23b2f9
refs/heads/master
2021-05-24T04:03:18.927078
2020-07-21T21:30:28
2020-07-21T21:30:28
59,947,731
0
0
null
null
null
null
UTF-8
C++
false
false
11,903
cpp
TestInputUtils.cpp
#include "TestUtils/UtilityHeaders/UnitTestHeaders.h" #include "Input/InputManager.h" #include "Input/InputUtils.h" #include "Game/Game.h" using namespace Celeste; using namespace Celeste::Input; namespace TestCeleste { CELESTE_TEST_CLASS(TestInputUtils) //----------------------------------------------------...
73a06f2d7a199af9c2877491a2ee412ebc54790d
1be61f7f571d3b299e7120f526919b2f53b25906
/ocher/fmt/Layout.h
a1f743dc52bf6ba33fc0e5a7d80306595da925d5
[]
no_license
ikarus9999/OcherBook
781e56e89691ff08ecd7fefa0d834dd0e52830e0
cec17ebc3a2d0b2ad3dde3ebad1b4ae802960647
refs/heads/master
2021-01-25T00:28:50.532929
2012-08-28T19:07:38
2012-08-28T19:07:38
4,875,864
1
0
null
2012-08-28T19:07:40
2012-07-03T18:35:54
C++
UTF-8
C++
false
false
2,820
h
Layout.h
#ifndef OCHER_LAYOUT_H #define OCHER_LAYOUT_H /** @file Rough layout of a book. */ #include "clc/data/Buffer.h" /** * Contains the rough layout of the book's chapters in a file format independent and output device * independent format. Once the book is laid out in this format, the original file can be * disc...
f88f4c050d788d0d00eddfb64e3674db4efd649c
1f9ae86f8176058a751afb7c9af666aa6c61785e
/Strategy-I/src/Behaviors/ShortJumpCls.cpp
be32e3c397cdd06d5b8d4b36c3886d668dde1a30
[]
no_license
RamazanDemirci/DesignPatternExamples
e13dfdcbf7937c6adbf7175f1e42d64fa565af4c
3be595f2028f0315d2f28b8cc51cbcd26d1f1c96
refs/heads/master
2020-03-23T05:35:30.449884
2018-08-13T21:18:11
2018-08-13T21:18:11
141,153,982
2
0
null
null
null
null
UTF-8
C++
false
false
335
cpp
ShortJumpCls.cpp
/* * ShortJumpCls.cpp * * Created on: 15 Tem 2018 * Author: tr1d5042 */ #include <stdio.h> #include "ShortJumpCls.h" ShortJumpCls::ShortJumpCls() { // TODO Auto-generated constructor stub } ShortJumpCls::~ShortJumpCls() { // TODO Auto-generated destructor stub } void ShortJumpCls::jump(){ printf("\nSh...
f9c425284fcdd1e07758fd81ba9933ad24feac96
1a307d4d512751c548e21acf8924162910be1bb9
/quadbase/radioclient.cpp
e2aca7b938234c4e366a3716c839370e711e87fb
[]
no_license
krchan/uvicquad
4d2c944b36e7cf2aee446c019d509656785ea455
1bdeed79d4f9903a1c5a6b59aa775f0dd1743e76
refs/heads/master
2021-01-10T08:34:44.208309
2011-02-10T03:20:07
2011-02-10T03:20:07
51,811,432
0
0
null
null
null
null
UTF-8
C++
false
false
1,174
cpp
radioclient.cpp
/* * Radio client API */ #include "radio.h" #include "packet.h" #include "Wprogram.h" static uint8_t RemoteStationAddr[RADIO_ADDRESS_LENGTH] = { 0xDE, 0xAD, 0xBE, 0xEF, 0x88 }; static uint8_t BaseStationAddr[RADIO_ADDRESS_LENGTH] = { 0xDE, 0xAD, 0xBE, 0xEF, 0x77 }; static radiopacket_t packet; void r...
e63d80d37d4f587340c80b67bd0e5fad1d8a56ae
7595f12a2a540868b5cb9cb955494d2060d18904
/cf/2/724C.cpp
281dfcef9995add87e19ae7a6b8aa148850dcb48
[]
no_license
george24601/cp
eca845494b8e6155059d0d6615ea48b746055cbd
9a3568355824a1ce8fdac625f05e921ec245762b
refs/heads/master
2021-01-16T23:58:14.301165
2020-07-14T01:24:28
2020-07-14T01:24:28
58,160,892
0
0
null
null
null
null
UTF-8
C++
false
false
2,604
cpp
724C.cpp
#include <iostream> #include <sstream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <algorithm> #include <vector> #include <iomanip> #include <set> #include <map> #include <stack> #include <queue> #include <bitset> #include <assert.h> #include <deque> using namespace std; typed...
010bd6102c72841bf4258aa72f42c75c2cbec3c4
283c42eec16d5042061e940b64665ac7aeb33e02
/src/Render.cpp
9adfbe9ec702743e08b63fbea7cc1d199e9930d3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pilif0/open-sea
4782271ae07058cb4d593d7847971309a4cedb5a
b5d28c82d43547894f10f02b206a607f541ce864
refs/heads/master
2021-05-11T06:19:37.121064
2020-08-25T19:30:41
2020-08-25T19:30:41
117,984,703
5
0
MIT
2020-08-19T23:26:52
2018-01-18T13:12:33
C++
UTF-8
C++
false
false
4,487
cpp
Render.cpp
/** \file Render.cpp * Renderer implementations * * \author Filip Smola */ #include <open-sea/Render.h> #include <open-sea/Model.h> #include <open-sea/ImGui.h> #include <open-sea/Profiler.h> #include <open-sea/GL.h> #include <open-sea/Components.h> #include <vector> namespace open_sea::render { //--- start ...
436fd1dee8fb5bbb5c7d5e7464a9afaf4fd9600b
5b4d44875317312bc1d1b9b4d74372602f4bb772
/Desktop/Tower-Defence/monsterway.h
1f5403e472eff85b720cf6f3d1a2f9f9e502c44e
[]
no_license
HAO-Jiaxin/Tower-Defence
fd17e762574cf4793d60fa73f5a93353164cc45b
a1f525b328d61a531cdad5f4ec5b068afe37085d
refs/heads/master
2022-09-06T07:45:09.311148
2020-05-31T07:26:44
2020-05-31T07:26:44
268,205,257
0
0
null
null
null
null
UTF-8
C++
false
false
116
h
monsterway.h
#ifndef MONSTERWAY_H #define MONSTERWAY_H class MonsterWay { public: MonsterWay(); }; #endif // MONSTERWAY_H
25b106acdf2ba70d86d98493f4c8746a7fb4b226
cfd4de6f6dfc5b142eede59c46bfc2f1c51265c7
/src/ukf.cpp
e9c0e29e598329bb19b4b897a823afb288e03fe2
[]
no_license
bfMendonca/SFND_Unscented_Kalman_Filter
5a8f51ddc6234382c11f0088fb5ee010018707ef
a6690d148b56f9d17d8f2182217bfb835ed6930d
refs/heads/master
2022-04-25T00:23:40.928212
2020-04-20T00:49:33
2020-04-20T00:49:33
256,903,312
0
0
null
2020-04-19T03:14:11
2020-04-19T03:14:11
null
UTF-8
C++
false
false
11,618
cpp
ukf.cpp
#include "ukf.h" #include "Eigen/Dense" using Eigen::MatrixXd; using Eigen::VectorXd; /** * Initializes Unscented Kalman filter */ UKF::UKF() { // if this is false, laser measurements will be ignored (except during init) use_laser_ = true; // if this is false, radar measurements will be ignored (except durin...
8085a778d3c9234e18e600bd7575266c98f44f8d
afd7e97e3e30df7eb7ae34e3accf44e225e7ad67
/src/lib/src/SigprocAdapter.cpp
49068bab3600c4038cb3e2f9d88ba26c95ba362c
[ "AFL-3.0" ]
permissive
mserylak/pelican-katburst
71d93d640b2865363e4d4115a14507404132f82f
608852f92e9118fe8553c18c46fe94e70b2e9bc5
refs/heads/master
2021-01-21T04:54:01.883248
2016-07-22T11:59:43
2016-07-22T11:59:43
46,549,196
1
1
null
2016-03-03T12:10:04
2015-11-20T08:24:10
C++
UTF-8
C++
false
false
3,061
cpp
SigprocAdapter.cpp
#include "SigprocAdapter.h" #include "LofarTypes.h" #include <QtCore/QFile> namespace pelican { namespace ampp { /// Constructs a new SigprocAdapter. SigprocAdapter::SigprocAdapter(const ConfigNode& config) : AbstractStreamAdapter(config) { _nBits = config.getOption("sampleSize", "bits", "0").toUInt(); _nS...
b4ba34f1127f2409445209d3ac4d063bd2a48970
daf4d928af2ee0fa207739a76fdd7578360ff73f
/OGS5/Qt/VtkVis/VtkCompositeColormapToImageFilter.cpp
a9fa07b747d4bcbf3a931ff519a94f40d6156b13
[]
no_license
UFZ-MJ/OGS_mHM
e735b411ccfdb5ff13b2f2c0e7e515191f722aed
91b972560b8566738dbacc61c2f05e9fc6e7932e
refs/heads/master
2021-01-19T17:31:13.764641
2018-02-08T10:27:59
2018-02-08T10:27:59
101,064,731
4
1
null
null
null
null
UTF-8
C++
false
false
2,542
cpp
VtkCompositeColormapToImageFilter.cpp
/** * \file VtkCompositeColormapToImageFilter.cpp * 21/10/2010 LB Initial implementation * * Implementation of VtkCompositeColormapToImageFilter class */ // ** INCLUDES ** #include "VtkCompositeColormapToImageFilter.h" #include <vtkLookupTable.h> #include <vtkImageMapToColors.h> #include <vtkSmartPointer.h> Vt...
5f63dae569e9a06c26889c96468fcff5ab67b7d9
823b998aaf300b8a110273dc7d40142813d392e0
/loops/main.cpp
754eed5c94b76afd85f5b299fe2aa640c8c71d8b
[]
no_license
QQBoxy/2015vc
8ed30e2907810d1bac82ccde5a11df1c25a24f3e
ff948099174555e5f033ed4a5a56f6ebd08b2bf0
refs/heads/master
2021-01-10T16:07:27.299753
2015-12-08T06:51:39
2015-12-08T06:51:39
36,721,697
0
0
null
null
null
null
BIG5
C++
false
false
831
cpp
main.cpp
//Chapter 3 - advanced loop #include <iostream> using namespace std; int main(void) { int i = 0; int n[10] = {10,20,30,40,50,60,70,80,90,100}; //驗票才給上車 cout << "while:" << endl; i = 0; while(i<10) { //改成i<0會發生什麼事? cout << i << endl; i++; } //先上車後補票 cout << "\ndo w...
8752b0ea90660409fb69f7ad6e713843d30a2e97
64cdf450d20178a455347696ac477bc5c1ee5b22
/headers/framecontroller.h
023a9b64d24bb7a4ef4061d948b69b423fe915c6
[]
no_license
syncopika/cute_animator
48937865a2bb38fced86001ecb76077e8e0307c0
b23edfa9a94e4607280635f82c04c661cddb48be
refs/heads/master
2020-04-30T12:02:11.302232
2019-09-18T23:56:34
2019-09-18T23:56:34
176,816,738
0
0
null
null
null
null
UTF-8
C++
false
false
1,331
h
framecontroller.h
#ifndef FRAMECONTROLLER_H #define FRAMECONTROLLER_H #include <QWidget> #include <QLabel> #include <QTabletEvent> #include <QPushButton> class FrameController : public QWidget { Q_OBJECT public: FrameController(QWidget *parent = nullptr); int getNumFrames(); int getCurrFrame(); void setNumFrames(...
e3c785588f7dbd818ce0a68031241d256847123e
937c0e74f3d4ea9c6ef480f7d4e39cd167b4add3
/swapp/swapp.cpp
7bcf8a32d607064d067127a2e48ca8eb070d4621
[]
no_license
jpolitron/kattis-problems
c109ced1e061ea7c29589cae3cc1730be5ed34b9
abe39e50d9ad097ecdfbcf1c15f862ee37af4a57
refs/heads/master
2023-08-01T13:39:00.412869
2021-09-07T22:18:57
2021-09-07T22:18:57
278,780,466
0
0
null
null
null
null
UTF-8
C++
false
false
277
cpp
swapp.cpp
#include <iostream> using namespace std; int i = 20; int j = 7; void trade(int& i, int& j){ cout << "i is: " << i << endl; cout << "j is: " << j << endl; swap(i,j); } int main(){ trade(i,j); cout << "i is now: " << i << endl; cout << "j is now: " << j << endl; return 0; }
d7875e52a8295fb6a3d01bb622e0cfe2f973d1f7
acc55ea7338403b57f3e980f9f5938cd866f7e0c
/modulo7/eclipse/Banco/main.cpp
e9bc963960fb17f91033634bbbbc9b5ba5083556
[]
no_license
Antecarlo/CursoC
4c523ab5b9c359c41013b0e9fa92f80b5d6177c6
60efb931d964d82a9763bcaf6ec2d527095428de
refs/heads/master
2020-08-28T15:18:55.735624
2019-10-26T16:24:21
2019-10-26T16:24:21
217,732,005
0
0
null
null
null
null
UTF-8
C++
false
false
198
cpp
main.cpp
/* * main.cpp * * Created on: 11 oct. 2019 * Author: antonio */ #include "Cajero.h" int main(){ Banco banco("BANCO X"); Cajero cajero; cajero.identificacion(banco,1221, 4584); }
500aa74c620aba8d864c710523d92fd358e046e7
ddc44be1c39a063bb5271e38689f22bb6897212a
/gukovaim.cpp
8ea543f368eda06d26ec22f0428d0dcb49d3ace5
[]
no_license
mrsu-ru/2021-203
dd9bbcc071befe41a720e1a1d2ba08bbf3564efb
60537b9328c419954e6c2dba67a329b2cfd75a41
refs/heads/master
2023-05-26T12:14:20.764842
2021-06-10T15:46:57
2021-06-10T15:46:57
333,670,249
0
36
null
2021-06-10T15:46:58
2021-01-28T06:43:32
C++
UTF-8
C++
false
false
8,942
cpp
gukovaim.cpp
#include "guskovaim.h" /** * Введение в дисциплину */ void guskovaim::lab1() { cout << "Hello world!!!"; } /** * Метод Гаусса с выбором главного элемента */ void guskovaim::lab2() { for (int i = 0; i < N; i++) { int max = 0; for (int j = 0; j < N; j++){ if (abs(A[max][i])<abs(A...
a4d4420c2797745d28ac0d3ea079511861eac332
eb4098b0a240130ce7d2d039bc13d91d4da0fe31
/Modules/motion_planning/min_snap_trajectory/uav_simulator/Utils/quadrotor_msgs/src/encode_msgs.cpp
d0cccf2a06fdaa97d7c323faebaa244280d33471
[ "Apache-2.0" ]
permissive
amov-lab/Prometheus
f1d97ebebb58c14527bfe148275037b8dbd71154
017c50ee6a0a388caca193fd5a06ba237150bd05
refs/heads/main
2023-09-01T12:59:19.777116
2023-07-07T07:28:57
2023-07-07T07:28:57
225,547,305
2,129
396
Apache-2.0
2022-08-04T03:04:23
2019-12-03T06:28:07
C++
UTF-8
C++
false
false
2,542
cpp
encode_msgs.cpp
#include "quadrotor_msgs/encode_msgs.h" #include <quadrotor_msgs/comm_types.h> namespace quadrotor_msgs { void encodeSO3Command(const quadrotor_msgs::SO3Command &so3_command, std::vector<uint8_t> &output) { struct SO3_CMD_INPUT so3_cmd_input; so3_cmd_input.force[0] = so3_command.force.x*500...
548e4b031bbf8c608a8ac50e787e2a74c3fbd85b
801e9a21fbe0f68c18857334f9b86694938f5055
/Desktop-Windows/ui_GUIDesktop.h
f994bc1d09e6f77cc656fef43baebb6e97dfb067
[]
no_license
vialrogo/pbx-viewer
d324cbec618fdbaee78f79a8466ebf64c54ffa34
b814668c46a2d0f85bffcfed0d06dd8e96a082b8
refs/heads/master
2016-09-05T11:57:26.787183
2010-09-16T16:34:49
2010-09-16T16:34:49
32,185,339
0
1
null
null
null
null
UTF-8
C++
false
false
14,582
h
ui_GUIDesktop.h
/******************************************************************************** ** Form generated from reading UI file 'GUIDesktop.ui' ** ** Created: Fri 27. Aug 00:00:28 2010 ** by: Qt User Interface Compiler version 4.6.3 ** ** WARNING! All changes made in this file will be lost when recompiling UI file!...
5c59ebd9b336a5de59c1566cc06185f896f3dd77
ff982cddb5fb766b7097ce57c2a12f7f4e85ba7d
/Array dan Struct/tempCodeRunnerFile.cpp
e7783499ad26633963d3ce667a8118eb9da9b549
[]
no_license
novandikp/PemrogramanLanjutUPN
fd3656d8c243d9f7648d8835cf319e41e668127e
4cea888faca35e4fbce05f414bdfeee11fa3e985
refs/heads/master
2023-08-24T12:49:34.375817
2021-09-23T23:57:34
2021-09-23T23:57:34
404,186,125
0
0
null
null
null
null
UTF-8
C++
false
false
323
cpp
tempCodeRunnerFile.cpp
case 1: tampilDataBerdasarkanPencarian(); break; case 2: tambahData(); break; case 3: ubahData(); break; case 4: hapusData(); break; default: cout << "Menu tidak ditemukan"; system("pause"); menuUtama(); bre...
2c0d488b92b8941de621d60ae1717c06637bd8c2
90e43be1f53f78285cb5e0d8c5e2cc2c3f0b441c
/C++ Program/PS56.CPP
ff51a35fc3d4e5cf71cc889de290078254e646cf
[]
no_license
anuragmauryamca/C-programing-oop
8e117229ed683779104b0e49e5b40525a28a1b3a
74b3df9781841625f05201c96ef5c2599dfb19c2
refs/heads/master
2020-04-25T00:22:08.842467
2019-02-24T18:57:45
2019-02-24T18:57:45
172,376,277
0
0
null
null
null
null
UTF-8
C++
false
false
671
cpp
PS56.CPP
#include<iostream.h> #include<conio.h> #include<graphics.h> #include<dos.h> #include<stdio.h> void main() { int i,gd=DETECT,gm; int j,k; char a[5]; initgraph(&gd,&gm,"c:\\tc\\bgi"); //settextjustify(CENTER_TEXT,CENTER_TEXT); setcolor(RED) ; outtextxy(40,150,"press any key to start the time"); getch(); settextstyle(DE...
2371939bf4bdcde94437476aec1fc5e59b726710
3333edce8305b199431da4ed1e2bbe9bf5aef175
/BOJ/2000~/2607/src.cpp
c83925500547112347585068fd4d2a45b39c1210
[]
no_license
suhyunch/shalstd
d208ba10ab16c3f904de9148e4fa11f243148c03
85ede530ebe01d1fffc3b5e2df5eee1fa88feaf0
refs/heads/master
2021-06-07T10:45:58.181997
2019-08-11T13:14:48
2019-08-11T13:14:48
110,432,069
0
0
null
null
null
null
UTF-8
C++
false
false
1,957
cpp
src.cpp
//https://www.acmicpc.net/problem/2607 #include <iostream> #include <cstring> using namespace std; int origin_letter[26]; int cmp_letter[26]; int N; void init(){ for(int i=0; i<26; i++) cmp_letter[i]=0; } bool chk_cmp(int origin_l, int cmp_l){ int chk1=0; int chk2=0; int cnt0=0; in...
1a833fcf122320426d0b570f23aeeb138d296aa8
4352b5c9e6719d762e6a80e7a7799630d819bca3
/tutorials/oldd/Basic-Dynamic-Mesh-Tutorial-OpenFoam/TUT16/1.78/phi
2cf608fd9ee860f5075b4b2d5db2d514ef6f156b
[]
no_license
dashqua/epicProject
d6214b57c545110d08ad053e68bc095f1d4dc725
54afca50a61c20c541ef43e3d96408ef72f0bcbc
refs/heads/master
2022-02-28T17:20:20.291864
2019-10-28T13:33:16
2019-10-28T13:33:16
184,294,390
1
0
null
null
null
null
UTF-8
C++
false
false
86,744
phi
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*-------...
09cae03a912648af37db771cc82b064f12a0dd0d
9514f00fecd925fe5b49711967368ac9756c7205
/Exceptions.cpp
9019929307cfe617791d89f19d5f102c929ae9ff
[]
no_license
dragon5hoarder/ucd-csci2312-pa5
d791573354f37f7e40ee062287652efe0ca8b1c1
d0d82afcbe8d70d8ba0d72e576abed9e35e0ab8b
refs/heads/master
2021-01-18T08:25:52.508018
2015-12-16T22:58:56
2015-12-16T22:58:56
47,789,809
0
0
null
2015-12-10T21:57:31
2015-12-10T21:57:31
null
UTF-8
C++
false
false
1,864
cpp
Exceptions.cpp
// // Created by dragon5hoarder on 12/14/2015. // #include "Exceptions.h" namespace Gaming{ void GamingException::setName(std::string name){ __name = name; } std::ostream &operator<<(std::ostream &os, const GamingException &ex){ ex.__print_args(os); return os; } Dimensio...
225d27bec559baadf11e4a82ce02f21fbb70d086
71dcceede9280bb29d21f24377594a0fd47bb9cc
/sigenobu/socket.cpp
6c33aed4e1ba70063b872465369cf8630e97bbe7
[]
no_license
deathmarch2017-teamC/deathreversi
b52569d276f38799a2b481cb29baf39bdeed5043
8924ac17cd9b7806fa08121ba349be3baa847c78
refs/heads/master
2021-01-21T19:09:21.563440
2017-06-02T00:02:53
2017-06-02T00:02:53
92,123,174
0
0
null
null
null
null
UTF-8
C++
false
false
923
cpp
socket.cpp
#include"socket.h" bool set_socket(char* ip_addr, int port){ struct sockaddr_in server; //ソケットの生成 serverSock = socket(AF_INET, SOCK_STREAM, 0); //接続先構造体の準備 server.sin_family = AF_INET; server.sin_port = htons(port); //jokerのIPアドレス inet_pton(AF_INET, ip_addr, &server.sin_addr.s_addr); //サーバに接続 ...
cb4089eccabbd9fad7cb9ee6c3e14835d1aa2b36
bcf4b953bb92d462b8db140adc6da7e03a7592d6
/BeatifulTriplets.cpp
23304a006c3232c705fe1651c44f268da0bd755d
[]
no_license
brucekevinadams/CPP-Programs
0a9d4a073d2483bd80d471616002723d8c9aae96
cc6e5b4c36f1fada28e23084e2c69e46d61b852f
refs/heads/master
2018-12-23T02:16:38.018708
2018-10-18T13:18:34
2018-10-18T13:18:34
117,719,141
0
0
null
null
null
null
UTF-8
C++
false
false
851
cpp
BeatifulTriplets.cpp
/* Author: Bruce Adams # www.austingamestudios.com # Hackerrank problem */ #include <iostream> #include <vector> #include <algorithm> #include <iterator> int main() { int n; std::cin >> n; //the length of the sequence int d; std::cin >> d; //the beautiful difference std::vector<int> vec; ...
3ace7b6ba5971f5dc0416ab10ea21776800af205
92eb8f72b167b398811eecd6461bf6a2d081b81e
/Hopfield - Codice/Exec1.cc
faa798564ad27ec052febfa39e95f32ce182eb30
[]
no_license
Sawndip/Hopfield-model-efficiency
0e46346e69779be4e9726f0008af6ef3601321f0
6296c52f5008868b0c3f5fdc957c07bde6b37c17
refs/heads/master
2022-01-05T16:21:49.027756
2019-07-27T09:21:22
2019-07-27T09:21:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,647
cc
Exec1.cc
#include "Exec1.h" #include "Neuron.h" #include "Network.h" #include <fstream> #include <string> #include <iostream> using namespace std; Exec1::Exec1(){ } Exec1::~Exec1(){ } void Exec1::run(int nnum, int pnum,int times, int lenght){ int count = 0; char c; double temp; double impu...
fe944a7a2f2e643fe2360d6507e55b120898a6d1
c8958958e5802f3e04ce88bd4064eacb98ce2f97
/判断子序列.cpp
b12bb6e756ed3467236713cbc5469158f05ec3e5
[]
no_license
Kiids/OJ_Practice
08e5ea99066421bfaf5b71e59eea24e282e39a24
e7d36ddb1664635d27db3c37bec952970b77dcb0
refs/heads/master
2023-09-01T11:38:28.834187
2023-06-30T17:12:18
2023-06-30T17:12:18
217,068,695
0
0
null
null
null
null
GB18030
C++
false
false
1,190
cpp
判断子序列.cpp
/* 给定字符串 s 和 t ,判断 s 是否为 t 的子序列。 字符串的一个子序列是原始字符串删除一些(也可以不删除)字符而不改变剩余字符相对位置形成的新字符串。(例如,"ace"是"abcde"的一个子序列,而"aec"不是)。 进阶: 如果有大量输入的 S,称作 S1, S2, ... , Sk 其中 k >= 10亿,你需要依次检查它们是否为 T 的子序列。在这种情况下,你会怎样改变代码? 示例 1: 输入:s = "abc", t = "ahbgdc" 输出:true 示例 2: 输入:s = "axc", t = "ahbgdc" 输出:false 提示: 0 <= s.length <= 100 0 <= t.leng...
ec7d89a55f6ec8159b11f85630957ad0418a9837
fc51482fe287b9e584ed07f6ecedc4a9452396bb
/Project 2/FYS4150_project2/jacobi_rotation.cpp
9cd41baf321ae399764621ef76bd6d752168ac02
[]
no_license
ingridavh/compphys1
f14a93f05ac037f14489fcf2a3e7c3eb3b3b173e
2d9b0a073c690a752ea2d8718bfae46c1470473a
refs/heads/master
2020-07-23T21:08:17.722025
2016-12-09T17:57:18
2016-12-09T17:57:18
66,631,204
0
0
null
null
null
null
UTF-8
C++
false
false
2,482
cpp
jacobi_rotation.cpp
#include "jacobi_rotation.h" #include <iostream> #include <armadillo> using namespace std; using namespace arma; int eps_test(mat A, double eps) //default eps-value is set to 1e-8 in header file { //If the off-diagonal elements are small enough, //eps_test returns 1, otherwise it returns 0 vec max = find...
18eca9efa3ec96612b27802e8526881262f346b3
3fa9ec7b225b17072c6d9f61927cd73c8151cd65
/dataStructs/queue/Array.h
fa463ef304cc14c99d99026a8abb68949e0a38f4
[ "MIT" ]
permissive
YaLongWei/coding-121
4d8a750323f3c7a8c281f98ec93f5780bce539ae
583913dc5e2d9bf181de93f6f0f1dbebaae36d98
refs/heads/master
2020-04-09T02:20:58.217134
2019-07-26T14:11:39
2019-07-26T14:11:39
159,937,444
0
0
null
null
null
null
UTF-8
C++
false
false
578
h
Array.h
#pragma once #include <string> template <class T> class Array { public: Array(); Array(int); ~Array(); int getSize(); int getCapacity(); bool isEmpty(); void add(int index, T t); void addLast(T t); void addFirst(T t); T get(int index); void set(int index, T t); bool contains(T t); int find(T t); T r...
6a1272e5835522e709546512639910a63c995811
2a9c1533acfe7e870039179de361ecb04664187d
/src/firstTimeUtilities.hpp
ec76da604970b70912d64cfba9d6d501188412d2
[ "MIT" ]
permissive
xilwen/servant-base-lib
3c7c91f7a243b7d51b29b38e0be1f2eef59e5111
432c67cb90774b67b350cf1f9e642665ef8c4f4d
refs/heads/master
2021-01-11T16:38:56.258011
2017-06-15T08:34:16
2017-06-15T08:34:16
80,132,122
0
0
null
null
null
null
UTF-8
C++
false
false
307
hpp
firstTimeUtilities.hpp
#ifndef TESTEXE_FIRSTTIMEUTILITIES_H #define TESTEXE_FIRSTTIMEUTILITIES_H class FirstTimeUtilities { public: FirstTimeUtilities(); ~FirstTimeUtilities(); static void runProcessorTest(); static void runMemoryTest(); static void runDiskTest(); }; #endif //TESTEXE_FIRSTTIMEUTILITIES_H
393a50b74eb54c052fa480a39e3bf554b027fdec
04c906bf0438b59c5450c8daec634f931ca24600
/version.cpp
6b4878aaf54af15ed1f0c83bf79961cdfce77999
[]
no_license
Phoenix264/lesson1
0736dc08d21d2a4ed1584a301e88f96e6bb9dfb6
d984efd52553fd805038db0caabacc932ca33336
refs/heads/master
2022-12-06T20:37:53.924052
2020-09-02T06:04:51
2020-09-02T06:04:51
292,039,756
0
0
null
null
null
null
UTF-8
C++
false
false
132
cpp
version.cpp
#include "version.h" int GetVersion() { #ifdef PROJECT_VERSION_PATCH return PROJECT_VERSION_PATCH; #else return 0; #endif }
32aeb8dcc0806486d7b08c50900501fc2bc0f236
b927e16060d76f650e479927b5456ff9f71e09ff
/parser.h
e44514d2dd996a10f8605fa18b32b5b6af26712a
[ "MIT" ]
permissive
RKJokela/HackAssembler
b4537344a05e6be29f8ab5ebcd17216b3c51398a
8219252bc389567b3ece5ba05d7e1b4cc8a1573b
refs/heads/master
2020-12-25T19:26:15.331611
2014-07-07T23:11:56
2014-07-07T23:11:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
945
h
parser.h
#ifndef PARSER_H_INCLUDED #define PARSER_H_INCLUDED #include <iostream> #include <fstream> // this class doesn't know whether it's operating on files, stdio, etc. // just uses stream objects - caller decides what they point to class Parser { public: Parser(); Parser(std::istream* in, std::ostream* out, bool inter...
ffc28c3d096147e2a38296a36c7e1e7eacb37afc
d08e86916dcfd142f910b038700a2951f2ca2238
/AC_SUBMISSIONS/131A-cAPSlOCK.cpp
d2a597787eed46ef511540ad89493e49b2b69851
[]
no_license
varunnayal15112/Codeforces-AC-Submissions
495d7d9ee162f2eb36e38d7ef36684be5b50a548
8948a8c533d67be3af835d67511c7851c614c1ba
refs/heads/master
2021-04-27T10:24:00.488722
2018-02-22T22:16:53
2018-02-22T22:16:53
122,529,341
0
0
null
null
null
null
UTF-8
C++
false
false
624
cpp
131A-cAPSlOCK.cpp
/* SubmissionId : 15976092 ContestId : 131 Index : A ProblemName : cAPS lOCK ProblemTags : ['implementation', 'strings'] ProgrammingLanguage : GNU C++ Verdict : OK */ #include<bits/stdc++.h> using namespace std; int main() { string a; cin>>a; long long int l,i,j,k=0,n; l=a.size(); for(i=0;i<l;i++...
16e37fbbd91383522cfcbcb165b9c6cbf84a6f31
0476541c06d6a95e8e7c5d20777b3f5ed00b15d2
/src/config/XmlEntities.cxx
d773044d73a2267d028d76bc9a4c6144012701ef
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
HarkerYX/rticonnextdds-gateway-opcua
3010aadd3f2c8c0ad250917718f9a22998cc3cef
c45de71a24ac81e25dc12df749bf01dacf3ba134
refs/heads/master
2023-07-28T14:57:12.583147
2021-09-06T16:36:34
2021-09-06T16:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
20,061
cxx
XmlEntities.cxx
/* * (c) 2017-2020 Copyright, Real-Time Innovations, Inc. (RTI) * All rights reserved. * * RTI grants Licensee a license to use, modify, compile, and create derivative * works of the Software solely in combination with RTI Connext DDS. Licensee * may redistribute copies of the Software provided that all such copi...
cc6d160a51a74f5f4ecc16f149e8d25c1327e5e8
4abd5ec68d2224c2ac1a8631a7827b69d0965216
/_2_Array_de_8_LEDs/_2_Array_de_8_LEDs.ino
dcea9e4817390b66ffa195d4e197e0ba467cc37c
[]
no_license
cpines/Sortides-i-entrades-digitals
2e6bbb2a35adfbf61bb09325c95bfcf615d31e16
7507174a82f1237649ea00a789d0887962ce1092
refs/heads/master
2020-05-24T18:52:58.923981
2017-03-13T20:23:31
2017-03-13T20:23:31
84,870,996
0
0
null
null
null
null
UTF-8
C++
false
false
2,767
ino
_2_Array_de_8_LEDs.ino
/********************************************************************************** ** ** ** Cristofer Pines ** ** ...
9e747ae271b806d4fd7389f8171fb2163c2aa0b1
247ced798886528c1f9c9db3e5c28571eb61044a
/GUI_pro/myprogress.h
164f38535b517fe3c7e09972b87163cef063e0b5
[]
no_license
garyking-dev/learngit
495dbf1b56d92f315a75a6c94fcc7ccaacef7bab
9d7fd4f67a6453e229b5a83c7e2a5171b6b8b62b
refs/heads/master
2020-07-13T15:35:52.216028
2019-08-31T02:52:14
2019-08-31T02:52:14
205,107,420
0
0
null
null
null
null
UTF-8
C++
false
false
1,953
h
myprogress.h
/*=============================================================== * Copyright (C) 2019 All rights reserved. * * 文件名称:myprogress.h * 创 建 者:燕灵诀 * 创建日期:2019年08月30日 * 描 述: * * 更新日志: * ================================================================*/ #ifndef _MYP_ #define _MYP_ #include <sys/types.h> #in...
f5f42f9ea675892a354a520e86636bc89a4c56b3
120937eae1ff66060f7c7ed967793f70e80683d3
/main/InputHandler.h
f63245768fd8d56085f16204b4971be3cecc571c
[]
no_license
rrodrig6/BoardGame
31b6b933cbf0f8c3bf1efd310e97ca8fe3f28ef7
9687e0e888e798dbd3f8e6807fae38ce33a3e821
refs/heads/master
2021-01-10T04:30:09.171848
2015-11-21T22:52:41
2015-11-21T22:52:41
43,973,984
0
0
null
null
null
null
UTF-8
C++
false
false
1,011
h
InputHandler.h
#ifndef __InputHandler #define __InputHandler #ifdef _WIN32 #include <SDL.h> #elif __linux #include <SDL2/SDL.h> #endif #include <vector> #include "Vector2D.h" enum mouse_buttons { LEFT = 0, MIDDLE = 1, RIGHT = 2 }; class InputHandler { public: static InputHandler* Instance(); void update(); void clean(); ...
46a5dcb46780377102b25d6caad0e33ff0e0a01d
80573555a6aa4f6f0ece51bd8a4e28cf3bb91acc
/src/unistdx/base/command_line_test.cc
9cfa42a7e6b97e64bb1bddf8df3605855e0e53ea
[ "Unlicense" ]
permissive
igankevich/unistdx
895e9bbfa30e748f20dca45684e1881273980f1a
d6b7d7aec29dfb855c61b6e5acf5b7ec657c1fad
refs/heads/master
2021-11-18T06:03:43.460700
2021-10-23T12:55:28
2021-10-23T12:55:28
111,085,286
4
1
null
null
null
null
UTF-8
C++
false
false
2,520
cc
command_line_test.cc
/* UNISTDX — C++ library for Linux system calls. © 2017, 2018, 2020 Ivan Gankevich This file is part of UNISTDX. This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compile...
7f1833d70be4df78049a7d73b35e1a007a237158
637c7685d6c116ecdc1d53bfe999f9769d4549b5
/src/COGLImplement.cpp
ec0ca4f6462ef440e88497223eb7bf5181aebef3
[]
no_license
vuhoang8x/OpenGL_SpinMoving
1131dacbcf807147d0c5e177c5060d7ad0680a1b
62a0ba0aa86006883fc26140f2bd944c80a8716d
refs/heads/master
2020-05-31T02:27:17.713677
2013-03-28T09:47:18
2013-03-28T09:47:18
9,073,625
1
0
null
null
null
null
UTF-8
C++
false
false
1,367
cpp
COGLImplement.cpp
#include "COGLImplement.h" COGLImplement::COGLImplement() { //ctor //display = &COGLImplement::Display; pixel = new COGLDrawPixel(); texture = new CGLTextureBasicLoad(); sprite = new CGLTextureSprite(); } COGLImplement::~COGLImplement() { //dtor } void COGLImplement::Display() { //pixel-...
9ebef73f5d06cd572e7895c4ef1d90e559b1fad0
5888c735ac5c17601969ebe215fd8f95d0437080
/Hackerrank Solution/hacker_rank(april)c.cpp
f94e3fd03ad5ca01905d4c597218ab8c6939c48e
[]
no_license
asad14053/My-Online-Judge-Solution
8854dc2140ba7196b48eed23e48f0dcdb8aec83f
20a72ea99fc8237ae90f3cad7624224be8ed4c6c
refs/heads/master
2021-06-16T10:41:34.247149
2019-07-30T14:44:09
2019-07-30T14:44:09
40,115,430
2
0
null
null
null
null
UTF-8
C++
false
false
1,239
cpp
hacker_rank(april)c.cpp
#include <bits/stdc++.h> using namespace std; #define ll long long #define vll vector<long long> #define input() freopen("in0.txt","r",stdin) #define output() freopen("out0.txt","w",stdout) vector<string> split_string(string); // Complete the maximumSuperiorCharacters function ...
14d1217b18b3b576f995e613ecc9decfb690119d
9991e3184176dd29695f0db5e8bf371494980707
/appMeteo.ino
6a4ce2cfa0de1fb7df8e8bd865b86cd691836bae
[]
no_license
Alarevoyure/TTGO-T-WATCH-2020-Example
4c00be7de6db48f08f32df4c8b6abfc3313a3e38
125d3daf1fed64c34c6e250c2973654462026738
refs/heads/master
2023-05-30T17:11:33.091349
2021-06-07T10:20:40
2021-06-07T10:20:40
296,340,341
1
0
null
null
null
null
UTF-8
C++
false
false
3,816
ino
appMeteo.ino
#include "config.h" //#include "ImagesMeteo.c" LV_IMG_DECLARE(IMG_01D); LV_IMG_DECLARE(IMG_02D); LV_IMG_DECLARE(IMG_03D); LV_IMG_DECLARE(IMG_04D); LV_IMG_DECLARE(IMG_09D); LV_IMG_DECLARE(IMG_10D); LV_IMG_DECLARE(IMG_11D); LV_IMG_DECLARE(IMG_13D); LV_IMG_DECLARE(IMG_50D); LV_IMG_DECLARE(FOND); static voi...
c4d6a6e09fb051674ddb4274759a1af7849ca687
2fec624d5cb1d2ef68de2fa7a7a987c5b4460189
/src/wrongbranch.cpp
3811ef8b2bda41658b193419ab659a0eca52787d
[ "MIT" ]
permissive
wrongbranch/wrongbranch
16a08162c5428e81732afd8b83eedd40d50aa3f1
2b8f45eda551dd6bfc68f1e469f199a96be0a8f2
refs/heads/master
2021-05-04T05:10:47.222518
2016-11-04T02:30:24
2016-11-04T02:30:24
70,974,926
0
0
null
null
null
null
UTF-8
C++
false
false
876
cpp
wrongbranch.cpp
/* wrongbranch.cpp > mingw32-make -f makefile.tdmgpp32 */ #include <iostream> #include <iomanip> #include <cstdio> #include <cstdlib> #include <string> #include <stdio.h> #include <stdlib.h> #include <string.h> using namespace std; #define BUFSIZE 8 static char *src = "abcd\nefg\nhijklmn\nop"; int test_sscanf...
318772218267a854b04e7d4bb76c38b844adf374
683368f51482729f1cdd6ee9a7c3024230772933
/Homeworks/09. semester/MlaskalCompiler/public-rw/SWI098/du5/du5sem.cpp
ac4dad6a12144a638c83b3b3f4b9034541e40978
[]
no_license
vajanko/Algorithms
679f150b49c493c045c44c6f69aafc65ea192eb7
cfbbaece13df5935ac91e467682df053fa058436
refs/heads/master
2020-12-24T21:00:28.953028
2016-04-25T14:14:26
2016-04-25T14:14:26
57,046,795
0
0
null
null
null
null
UTF-8
C++
false
false
26,964
cpp
du5sem.cpp
/* DU5SEM.CPP */ #include "du5sem.h" #include "dubaseerr.h" #include "duerr.h" #include "du5tok.h" namespace mlc { /** * Gets type of type-identifier and prints an error when there is no such type */ type_pointer get_type_pointer(MlaskalCtx *ctx, int line, mlc::ls_id_type::const_pointer id) { auto sp = ct...
0b286fc6ee62910599cbbc8631dae516a8d26fb9
85bf26a841d315dc3bb4eb679be3b49b888e9bb2
/example.cpp
e6db3f1e50720427ea5d4fbae976f3d866815372
[ "MIT" ]
permissive
i-use-arch-linux-btw/binance-cxx-api
9ac397334fca15a6636e9064bf5026ee1bbddcc9
f525db14ab2a976b1c733249aab4f2288eceb4a7
refs/heads/master
2023-07-27T01:08:59.525096
2021-09-11T22:38:13
2021-09-11T22:38:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,896
cpp
example.cpp
#include <iostream> #include <json/json.h> #include <map> #include <string> #include <vector> #include <fstream> #include "binance.h" #include "binance_logger.h" #include "binance_websocket.h" using namespace binance; using namespace std; map<long, map<string, double> > klinesCache; static void print_klinesCache() ...
d39194b7012da297063b1f2622921cb98c36bc07
f40bef40a82602ca0e5e852468e3bac888861714
/src/shared/state/Decor.cpp
e97513193bd7cf748b1ca5e9c819ca880b810be3
[]
no_license
pomb95/buguetnoel
88cb4545836f5ab6f71e12b8d2e20d9262b1acca
127c7be6617e54c94c2177e85339646f10d56f7f
refs/heads/master
2021-09-04T19:28:59.507211
2018-01-21T18:49:23
2018-01-21T18:49:23
104,056,653
0
1
null
null
null
null
UTF-8
C++
false
false
304
cpp
Decor.cpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ #include <iostream> #include "Decor.h" namespace state { Decor::Decor() { } Decor::~Decor() {} }
af7950539401f2dafd263b5541f19ee91e7ca71b
535f32f5ff33933bb8b0304365fa03db54d89d78
/rir/src/compiler/analysis/verifier.cpp
8ead6e01999c1cd1c126e4b939b1a091c90f9c62
[]
no_license
o-/rir
1d1fd65e4d19b04134730bd583a11367765ec720
3d0305bff5061f13bcabe80d635c7598142fcaba
refs/heads/master
2021-07-03T02:53:03.065236
2018-05-24T14:53:27
2018-05-24T14:53:27
77,072,209
0
2
null
2018-08-28T14:59:18
2016-12-21T17:24:35
C++
UTF-8
C++
false
false
6,140
cpp
verifier.cpp
#include "verifier.h" #include "../pir/pir_impl.h" #include "../util/cfg.h" #include "../util/visitor.h" namespace { using namespace rir::pir; class TheVerifier { public: Closure* f; CFG cfg; TheVerifier(Closure* f) : f(f), cfg(f->entry) {} bool ok = true; void operator()() { Dominanc...
6c952808675453f6f46f3480f3af1aae77c03a10
7633802e35480e1b44d3a557f5f62a9e5801976f
/DSA/ARRAY.cpp
e4c4e4eddcd3e822d3101ece718bc49d8fbff810
[]
no_license
vaibhavagarwal47/Competetive-Coding-With-C-
80740d9c3a7bd24fb2bc232e0921e33397f073a3
a2983b106b8e13d6934a67c5619ca0cdb87ee8c3
refs/heads/main
2023-03-20T11:50:53.427504
2021-03-10T13:25:16
2021-03-10T13:25:16
329,033,317
0
0
null
2021-01-12T15:42:16
2021-01-12T15:42:15
null
UTF-8
C++
false
false
524
cpp
ARRAY.cpp
#include <iostream> #include <fstream> using namespace std; int main() { const int max = 6; int employee[max]; int count=0; ofstream outfile; outfile.open("data.dat"); while(count!=max) { cin>>employee[count]; outfile<<employee[count]; count++; } outfile.close(); ifstream datafile; datafile.open("dat...
7778b6da9f73c10009607c3dbb08e0e914eb5a73
6494946d8db9db58f57c68253a8d0b658998c8ef
/Engine/Source/Renderer/Components/Attachments/Internal/InternalAttachment.h
c31dd4c216342cc4efac064d6a1780fde39be356
[]
no_license
DhirajWishal/DynamikEngine-Prototype
bc7dbad1d8c13d2489bcfdc7d6f22e55932f5b7b
0a95277c394b69e66f79342f028834458694af93
refs/heads/master
2022-11-10T00:02:30.496607
2020-06-27T04:46:03
2020-06-27T04:46:03
198,091,316
1
0
null
null
null
null
UTF-8
C++
false
false
408
h
InternalAttachment.h
#pragma once #ifndef _DYNAMIK_RENDERER_INTERNAL_ATTACHMENT_H #define _DYNAMIK_RENDERER_INTERNAL_ATTACHMENT_H #include "../RenderAttachment.h" namespace Dynamik { namespace Renderer { class InternalAttachment : public RenderAttachment { public: InternalAttachment() {} virtual ~InternalAttachment() {} PO...
ca7b3b7880e67fb0da46e87ba61d964fa3881452
2d0bada349646b801a69c542407279cc7bc25013
/src/vai_runtime/vart/util/test/device_scheduler_imp.hpp
6df2039bc7a75ffdb0d9054617a93c5489ca1e6c
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
C++
false
false
1,321
hpp
device_scheduler_imp.hpp
/* * Copyright 2022-2023 Advanced Micro Devices Inc. * * 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 applica...
59536b065c9bf2eaa6a76d062a4b4814f08e5424
0c98fcba3b6c05159b9224e6153836a9e785f0e1
/Src/EB/AMReX_EBLevel.cpp
cca1de1da92e5e29536d91d81c55e80ac540ff58
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Adellbengbeng/amrex
8dccb8b39ffa9a2aa956c20c5151f1e5ebf01a06
819b1a5789c78314317531d4e663debbb6b91126
refs/heads/master
2021-07-10T20:37:37.305823
2017-10-02T15:29:44
2017-10-02T15:29:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,049
cpp
AMReX_EBLevel.cpp
#include <AMReX_EBLevel.H> #include <AMReX_EBFabFactory.H> #include <AMReX_MultiFab.H> #include <type_traits> #include <algorithm> #ifdef _OPENMP #include <omp.h> #endif namespace amrex { static const IntVect eblev_debiv(D_DECL(0,0,0)); Box getLevelDomain (const MultiFab& mf) { const auto& eblevel = a...
b48425b40762e98042d078f4bdf3b05be4592eb0
ae31542273a142210a1ff30fb76ed9d45d38eba9
/src/backend/gporca/libnaucrates/include/naucrates/dxl/parser/CParseHandlerExtStatsNDistinct.h
775be18bf00e737570b9632daf05f1a4015c005c
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "PostgreSQL", "OpenSSL", "LicenseRef-scancode-stream-benchmark", "ISC", "LicenseRef-scancode-openssl", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-ssleay-windows", "BSD-2-Clause", "Python-2.0" ]
permissive
greenplum-db/gpdb
8334837bceb2d5d51a684500793d11b190117c6a
2c0f8f0fb24a2d7a7da114dc80f5f5a2712fca50
refs/heads/main
2023-08-22T02:03:03.806269
2023-08-21T22:59:53
2023-08-22T01:17:10
44,781,140
6,417
2,082
Apache-2.0
2023-09-14T20:33:42
2015-10-23T00:25:17
C
UTF-8
C++
false
false
1,945
h
CParseHandlerExtStatsNDistinct.h
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2023 VMware Inc. // // @filename: // CParseHandlerExtStatsNDistinct.h // // @doc: // SAX parse handler class for parsing extended stats ndistinct object //----------------------------------------------...
ef292183d365597c6c65e048c72ce281eb1a96aa
1dc8e321d3d01042a2f82abfccfdf7d1bc24edcb
/Sequence.h
03ac56eced342292f439e2e0824d95e3124f9f0c
[]
no_license
Gagernaus/Sem3Lab1
ad057a5343a1c1b9cd2632159f52b7c65aae956c
3b93bd498f7ec065bb57663e38c7385ef6d40921
refs/heads/main
2022-12-28T22:53:20.647769
2020-10-18T14:14:07
2020-10-18T14:14:07
305,110,679
0
0
null
null
null
null
UTF-8
C++
false
false
1,101
h
Sequence.h
#ifndef SEM2LAB2_SEQUENCE_H #define SEM2LAB2_SEQUENCE_H template<class T> class Sequence { public: virtual int getLength() const = 0; virtual T getFirst() const = 0; virtual T getLast() const = 0; virtual T get(const int i) const = 0; virtual Sequence<T> *getSubsequence(const in...
409dbfd8ffb154daf6e3e8e396b0087c3d10c4aa
3dd88f8b4228edd54dc0e4729e3b8caec8bac8b5
/基础C语言作业/计算不同正负的分数求和.cpp
adde6a18dceadc6747b1404273f6f7988324637b
[]
no_license
InightI/learn-C
235b51ad8fb8b851b2c5bfbf9f64c281a116b43b
75a7976951b59fbca4139da07f860e03ee29aa48
refs/heads/master
2020-04-04T15:52:27.645953
2018-12-06T12:57:48
2018-12-06T12:57:48
156,055,383
0
0
null
null
null
null
UTF-8
C++
false
false
274
cpp
计算不同正负的分数求和.cpp
#include<stdio.h> #include<math.h> int main() { int i; double sum = 0.0; double sq = 0.0; for (i = 1; i <= 100; i++) { sq = pow(-1, i + 1); sum = sum + sq * 1 / i; } printf("sum is %lf\n", sum); system("pause"); return 0; }
38f3063bb538ca924418ee6b26839836584f883e
7600781971551ed7b9122edd2a7d31701234445a
/Argparse.cpp
64cc444f0edf57e85583ac661328b63ca09807f4
[]
no_license
tplinderoth/simAssociation
c3903d3a23356615410809bdb7a2ca2964098a9a
6e9da176be1ec555d9ee231788d670eb1543e5fe
refs/heads/master
2021-01-21T13:04:55.995915
2016-06-02T01:52:22
2016-06-02T01:52:22
54,700,869
0
0
null
null
null
null
UTF-8
C++
false
false
6,852
cpp
Argparse.cpp
/* * Argparse.cpp */ #include "Argparse.h" #include "generalUtils.h" #include <sstream> #include <iostream> #include <cstring> #include <iomanip> #include <math.h> Argparse::Argparse () : freq (82.0), minfreq(0.02), maxfreq(0.98), assoclevel(1.0), avgcov(5.0), error(0.001), maxq(41.0), qoffset...
c4ee08a7bbb1930d0069fe41f8b8c68ed40618b5
58d32b4a40f2f319fe4ef2629319d8d65b6be712
/MobiCoreDriverLib/ClientLib/mc.pb.cpp
a36a52721ee5e710aa686b8534276a5f0fe861cf
[ "BSD-2-Clause" ]
permissive
TrustonicNwd/tee-mobicore-driver.daemon
dc6b95fe8fdcacdc5262045ba86e1d8d490a664f
4cb5c5628db8c07e06757928dab5731a2ec820e6
refs/heads/MC12
2021-07-06T09:23:26.675892
2016-10-04T15:15:45
2016-10-04T15:15:45
32,801,823
2
4
null
2016-10-04T15:15:46
2015-03-24T13:54:05
C++
UTF-8
C++
false
false
175,399
cpp
mc.pb.cpp
/* * Copyright (c) 2013-2015 TRUSTONIC LIMITED * 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 ...
5ffefc13229cf2cc81da474a73558997379afa74
9542f1e34910ced36d7422944ace8fc126a1b645
/Datamodel/note.cpp
b3ad89e69366967ef91c6bc217dc8cfb02801018
[]
no_license
johndpope/Counterpoint-project
eee0bad93057cd6a500c2c7377be9b58c09a8866
6b0e46b6830d38f03e5f84236bb8a350db90cfc3
refs/heads/master
2021-04-29T05:22:28.516769
2015-12-07T18:21:21
2015-12-07T18:21:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,798
cpp
note.cpp
#include "note.h" int Note::Cpitch = 0; int Note::rest = -32767; int Note::getPitch() const { return pitch; } void Note::setPitch(int value) { pitch = value; } int Note::getDuration() const { return duration; } void Note::setDuration(unsigned value) { if(value == 1 || (value % 2 == 0 && value != 0 ...
9a7d91e27b5086d829d7b537170a85ffbebf19d5
cf450832dd79748ca18a42e3495185ec334e24e0
/src/CalDigi/CalSignalTool.cxx
cf1110aa799ed2e946f22cda6454caa63508a1df
[ "BSD-3-Clause" ]
permissive
fermi-lat/CalXtalResponse
2d3e83e4d1ae9f5f826dd17686c99b27ff2ce657
3bd209402fa2d1ba3bb13e6a6228ea16881a3dc8
refs/heads/master
2022-02-17T03:12:05.147230
2019-08-27T17:27:11
2019-08-27T17:27:11
103,186,845
0
0
null
null
null
null
UTF-8
C++
false
false
15,237
cxx
CalSignalTool.cxx
// $Header $ /** @file @author Z.Fewtrell */ // LOCAL #include "CalSignalTool.h" #include "IXtalSignalTool.h" #include "../CalCalib/IPrecalcCalibTool.h" #include "CalXtalResponse/ICalCalibSvc.h" // GLAST #include "Event/TopLevel/EventModel.h" #include "Event/MonteCarlo/McIntegratingHit.h" #include "GlastSvc/Glast...
2382e3686cafac26c8b20e45df9be9b1cfd2374c
630ef30dc5cc82d378ae66e746f5c501da16a5c5
/Project2/MyForm.cpp
e8d4c35aea67fb2fcb1977f2ea4d18c1b5c717bb
[]
no_license
Sidoruk/TechProg1
0d8e6245316c2e80add1a21eee0b03d3207b9eeb
0603be0832bf92de60a7ea2dde7ffa0236f90aa9
refs/heads/master
2020-09-30T12:21:42.707067
2020-05-28T19:10:08
2020-05-28T19:10:08
227,286,780
1
0
null
null
null
null
WINDOWS-1251
C++
false
false
4,169
cpp
MyForm.cpp
#include "MyForm.h" #include <Windows.h> #include "ClassField.h" using namespace kursgraf1; // Название проекта using namespace System; using namespace System::Windows::Forms; using namespace System::Drawing; [STAThreadAttribute] void main(array <String^>^ args) { Application::EnableVisualStyles(); Application::Set...
e7ac628e59308af884122fed7e714bb4f798c4ee
7be4f595d555614a28f708c1ba7edda321f0cf30
/practice/mathematics/fundamentals/possible_path/possible_path.cpp
f26fde90eb32a9d7a7804d95e45fcb09da428d62
[]
no_license
orel1108/hackerrank
de31a2d31aaf8aeb58477d1f2738744bfe492555
55da1f3a94e8c28ed0f0dea3103e51774f0047de
refs/heads/master
2021-04-09T17:38:25.112356
2017-01-22T11:21:19
2017-01-22T11:21:19
50,198,159
3
0
null
null
null
null
UTF-8
C++
false
false
716
cpp
possible_path.cpp
#include <iostream> #include <algorithm> using namespace std; unsigned long long gcd(unsigned long long i_a, unsigned long long i_b) { if(i_a < i_b) { swap(i_a, i_b); } while(i_b > 0) { unsigned long long c = i_a % i_b; i_a = i_b; i_b = c; } return...
fa66e689b5f5af4cbb0a5b482610770e2063a228
f5b35e78b4e6c7192c0cd05b5715679c5049f06a
/rai/LGP/bounds.cpp
f1660fef828ace10312822939ab892ba1af1a239
[ "MIT" ]
permissive
HM-Van/rai
03621090d1a3b030904d40084c4b57f82f1e9f97
245d44305641045bd7392d40ef6ad2699c3e5bd8
refs/heads/master
2020-07-02T05:34:42.035837
2019-04-25T14:22:49
2019-04-25T14:22:49
201,429,393
0
0
MIT
2019-08-09T08:49:52
2019-08-09T08:49:51
null
UTF-8
C++
false
false
4,898
cpp
bounds.cpp
#include "bounds.h" //#include <Kin/switch.h> #include <Kin/TM_transition.h> template<> const char* rai::Enum<BoundType>::names []= { "symbolic", "pose", "seq", "path", "seqPath", NULL }; void skeleton2Bound(KOMO& komo, BoundType boundType, const Skeleton& S, const rai::KinematicWorld& startKine...
fb89d7816f5c6d10d45b8593b9b168374d82a6c5
b1ec31f5854ee53f371332129ab053a845857aa5
/C++/Solved/138_CopyListWithRandomPointer.h
aac6dbea3523c1fd755eebdd26f17278f6407f73
[]
no_license
bubbercn/LeetCode
e9c1ec2e6f9260b69f64e63fbd2bf97cf65e3ad7
42c19adba8d360059e8159564d7384d662c24e8d
refs/heads/master
2023-08-31T10:40:06.288845
2023-08-26T13:55:55
2023-08-26T13:55:55
56,971,005
0
0
null
null
null
null
UTF-8
C++
false
false
1,339
h
138_CopyListWithRandomPointer.h
#pragma once #include "Common.h" // Definition for a Node. class Node { public: int val; Node* next; Node* random; Node(int _val) { val = _val; next = NULL; random = NULL; } }; class Solution { public: Node* copyRandomList(Node* head) { Node* input = he...
528c5027d4d1d8923842d660330dc0ede47d56ae
7e3e04175f6450c0da5c136257e37116f6c1d5e2
/include/scl/concepts/Invocable.h
dd409deb54ee9d81d8890db77d7df322d105c7b1
[ "MIT" ]
permissive
Voltra/SupportClassLibrary
c3fa2006c21891e345be23d448aaec4ad07d9ff0
46f7164049f6d4ed8ba932fc8c1c463fa9dce31a
refs/heads/master
2022-09-01T23:25:56.250912
2021-03-01T18:38:55
2021-03-01T18:38:55
155,055,476
0
0
null
null
null
null
UTF-8
C++
false
false
622
h
Invocable.h
#pragma once //#ifdef SCL_CPP17 #include <scl/tools/meta/type_check.h> namespace scl{ namespace concepts{ /** * Invocable concept, a type F is invocable with Args if meta::is_invocable<F, Args...>() is true * @tparam F being the type to check against * @tparam Args being the arguments' types to ...
66dd0a337f279bfc8a8b33f38a0653980f517f73
c95937d631510bf5a18ad1c88ac59f2b68767e02
/tests/gtests/graph/api/test_cpp_api_op.cpp
24feed8c1f89546005195d68adce33eccf230110
[ "BSD-3-Clause", "MIT", "Intel", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
oneapi-src/oneDNN
5cdaa8d5b82fc23058ffbf650eb2f050b16a9d08
aef984b66360661b3116d9d1c1c9ca0cad66bf7f
refs/heads/master
2023-09-05T22:08:47.214983
2023-08-09T07:55:23
2023-09-05T13:13:34
58,414,589
1,544
480
Apache-2.0
2023-09-14T07:09:12
2016-05-09T23:26:42
C++
UTF-8
C++
false
false
7,362
cpp
test_cpp_api_op.cpp
/******************************************************************************* * Copyright 2020-2023 Intel Corporation * * 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.apa...
8d3390a102e5b58e490f2bedd432ef83d7cdd432
58458e1e30a8dc7b90cbe54325cd96c9fe5874b5
/srs_client.cc
7f9b39a73bf12b567fa7f9741549e4f0b5a13f72
[]
no_license
sPHENIX-Collaboration/CAEN_VME
a178694fb7c686f6093c2ecc7642936ade82f9f2
57f6eb9eeb1689aaf62498a9a847835041b6c7db
refs/heads/master
2020-07-04T08:39:44.942634
2016-11-15T23:46:02
2016-11-15T23:46:02
73,865,654
2
0
null
null
null
null
UTF-8
C++
false
false
3,295
cc
srs_client.cc
#include <iostream> #include <sstream> #include <tspm_udp_communication.h> #include <parseargument.h> using namespace std; #define MY_IP "10.0.0.2" void exithelp( const int ret =1) { cout << std::endl; cout << " tspm_client usage " << std::endl; cout << " tspm_client 0 read register 0" << std::end...
ffe5420a6aabeecbe54c533764f45ab43161757f
8d05a1049e95d7ea3ce2b9b9a41ab62217f6cfe9
/hello_googletest03/tests/test_target.cpp
59df4159543a3f43057241c4988b7220785711b4
[]
no_license
tacchang001/example_c
04741403a7c6cba11cfcf3d7bc542b3d0103eb76
3031f83d3ef7eba133e832a8322525355ff6630e
refs/heads/master
2020-05-19T07:26:48.562433
2018-12-28T14:35:05
2018-12-28T14:35:05
29,384,495
0
0
null
null
null
null
UTF-8
C++
false
false
1,641
cpp
test_target.cpp
// https://stackoverflow.com/questions/31989040/can-gmock-be-used-for-stubbing-c-functions #include "IBar.h" #include <memory> #include "gtest/gtest.h" #include "gmock/gmock.h" using namespace ::testing; using ::testing::Return; class BCM2835_MOCK { public: virtual ~BCM2835_MOCK() {} // mock methods MO...
95de238615e16bb4b8535777c64925a72ace5221
c5b3c310f77a94f895f4cb194f2909bf15f2e99a
/libgramtools/include/build/kmer_index/dump.hpp
8d7aa447a7fea05a21358e4c3747ce1d808b39e8
[ "MIT" ]
permissive
iqbal-lab-org/gramtools
f80f827cd9269963fefe577f7008bfcbf7ada77a
2d3a89da3a91a253341e6623a00d00fc19c2d587
refs/heads/main
2022-11-22T20:22:46.809913
2022-03-16T14:10:21
2022-03-16T14:10:21
33,718,573
72
9
MIT
2022-11-17T15:44:00
2015-04-10T08:52:54
C++
UTF-8
C++
false
false
3,317
hpp
dump.hpp
/** * @file * Set of routines to dump the contents of the `gram::KmerIndex` to disk. * The procedures dump to disk the minimal amount of information necessary in * order to fully recover the `KmerIndex` for `quasimap`. The procedure works as * follows: * * Serialise all the indexed kmers in a file `kmers` as: kme...
08878a9f8c9ecea9ca5bd82797bf41f4b4339ef7
9f49936225ecea72115dbd10954c514eb5293cb8
/chap02/2-1.cpp
264604ad0d5f601dc8ea05ac3bea16f890e20e5d
[]
no_license
i2585/C-
0b82fc5938020843bda3275fdf79fa04a8684e02
c043cc15047b6e384040e9dd8ca2cf3bc6a31678
refs/heads/master
2021-07-06T06:37:23.611572
2021-01-20T07:54:03
2021-01-20T07:54:03
223,906,893
0
0
null
null
null
null
UTF-8
C++
false
false
170
cpp
2-1.cpp
#include <iostream> using namespace std; int main(){ int i; for(int i=1; i<=100; i++){ cout << i << " "; if(i%10==0) cout << "\n"; } return 0; }
2d6aaea81a2909c0e68fe5e8a6a61d58a42d88ab
db63b6abeaed2647f8f9577127bcbbf79d71b39c
/fem2d_navier_stokes_cavity/cavity.cpp
63f1d4671d2caa31c22cc135d3c91accc870a8b9
[]
no_license
zichaotong/Computation_using_CPP
58bf8aca534326b4fe635955e920d33af9235bbf
ed2d963a9b1ab51bc8e2c38570e843b517c36450
refs/heads/master
2022-05-25T04:12:55.202002
2015-06-27T02:41:50
2015-06-27T02:41:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,686
cpp
cavity.cpp
# include <cstdlib> # include <cmath> using namespace std; void dirichlet_condition ( int n, double xy[], double u_bc[], double v_bc[], double p_bc[] ); void rhs ( int n, double xy[], double u_rhs[], double v_rhs[], double p_rhs[] ); //******************************************************************************...
01362cfd5493c14894210638b6bdcb66b29cbaa3
b4f1041764fc859e0083bd409bfe8f866d35d05e
/src/video/VideoModule.hpp
bf267724b17b64fdf1ff0b5758deb032d2e7df90
[]
no_license
karmalis/Romuva
384d4a069f3e63455c7aa53f92e21a620b80c277
03b65cb79e21ae1e1828e1bd10c0bf7619dd130e
refs/heads/master
2021-10-20T12:38:22.918597
2021-10-13T13:58:48
2021-10-13T13:58:48
242,136,220
0
0
null
null
null
null
UTF-8
C++
false
false
1,186
hpp
VideoModule.hpp
// // Created by voltairepunk on 2019-12-30. // #ifndef ROMUVA_VIDEOMODULE_HPP #define ROMUVA_VIDEOMODULE_HPP #include "../Module.hpp" #include "OpenGLDefinitions.hpp" namespace Romuva { namespace Video { class VideoModule : public Core::Module { public: VideoModule(); ...
c519f51718fb6765f951886275766e7ca49f01f4
9b5bdb445216ed17ca9eac10f5faf029cdc96655
/test/RangeUpdateRangeSum.test.cpp
68d45c3033a2ff22b91c5f6c1d1247cb4e706dd9
[ "Apache-2.0" ]
permissive
yuruhi/library
9aff0a72ce1259bfc5698cfbf3e50fc2a8688690
fecbd92ec6c6997d50bf954c472ac4bfeff74de5
refs/heads/master
2023-09-04T16:42:52.119525
2021-10-15T06:48:18
2021-10-15T06:48:18
257,237,518
0
0
null
2021-05-13T12:57:35
2020-04-20T09:49:17
C++
UTF-8
C++
false
false
572
cpp
RangeUpdateRangeSum.test.cpp
#define PROBLEM "https://onlinejudge.u-aizu.ac.jp/courses/library/3/DSL/all/DSL_2_I" #include "./../DataStructure/LazySegmentTree.cpp" #include <iostream> #include <vector> using namespace std; using ll = long long; int main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); int n, q; cin >> n >> q; RangeUp...
bfb85815ff2bd79a30e09fb2615e46099ee61b1c
057e61b56f7caeebf00421933db21be12a7cb5ff
/baekjoon/5582.cpp
f873699cc488097f4630c7b3065803e02642d12a
[]
no_license
skdudn321/algorithm
e8c5e0bc1afc12ed27708ccf37532ed5d2177e53
cd7a6d0c95eb34aac3a73e2bc7d7ff7767d87a8e
refs/heads/master
2020-04-06T06:51:21.411572
2017-12-12T12:13:17
2017-12-12T12:13:17
62,157,943
0
0
null
null
null
null
UTF-8
C++
false
false
562
cpp
5582.cpp
#include<stdio.h> #include<string.h> int dp_table[5000][5000]; char str1[5000], str2[5000]; int main(void) { int length1, length2; int i, j; int answer = 0; scanf("%s\n", str1 + 1); scanf("%s", str2 + 1); length1 = strlen(str1 + 1); length2 = strlen(str2 + 1); for (i = 1; i <= length1; ...
53d8f5026f2ac296f170a1896295788a37784515
6f9e1eac8566eb300e17640bd601f0cda01a143a
/C Projects/Q.No.12.cpp
348f69a68209c1bb4a6eb1c070af0a8f2f01838f
[]
no_license
samip9780/my_repository
f609187c6e8c7c28b0d1a49b766b1611fd8bf951
08e2304f2627b2eca22e5b3c7d828e9b9df7f023
refs/heads/master
2021-03-07T23:19:12.160049
2020-03-10T13:20:38
2020-03-10T13:20:38
246,303,218
0
0
null
null
null
null
UTF-8
C++
false
false
249
cpp
Q.No.12.cpp
#include<stdio.h> int main() { int a,b,c,product=1; printf("Enter any number : "); scanf("%d",&a); c=a; while(a!=0) { b=a%10; a/=10; product*=b; } printf("The product of the digits of %d = %d ",c,product); return 0; }
a94d66a8aa87f722316d567848ea06be4686f823
6d4b5957dccbd94ebeac2a75fe2e47a38adc0db2
/libs/libtorc-baseui/uiperformance.h
9ba53bbfcb7c12584640f26109bb518da758d2a8
[]
no_license
gwsu/torc
b681d1cd86fb7be4d0b0574e71c3f492f736f533
1c56be71abffb770033084dd44aa2d3031671a5f
refs/heads/master
2021-01-18T19:32:11.908377
2014-02-25T12:41:27
2014-02-25T12:41:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,011
h
uiperformance.h
#ifndef UIPERFORMANCE_H #define UIPERFORMANCE_H // Qt #include <QtGlobal> #include <QVector> #include <QString> class QFile; class UIPerformance { public: UIPerformance(); virtual ~UIPerformance(); void SetFrameCount (int Count); quint64 StartFrame (void); void FinishDrawing (vo...
0ec73a90a55ea20f0b5a21a38c78beaeabab2346
368114cd5aafd297c7550082e084dcc4b314ab0d
/Binary representation.cpp
29cb567d7a69e505b6a1d50f311e743ab94da008
[]
no_license
Deepakku28/GeeksForGeeks
92edd0377dbd60239aa533c4db3253cc6b09efd4
9ec26ffe5482cf651eb07148c10178f812eccb8d
refs/heads/main
2023-02-23T22:14:09.533044
2021-01-24T08:20:41
2021-01-24T08:20:41
332,229,593
1
0
null
null
null
null
UTF-8
C++
false
false
263
cpp
Binary representation.cpp
//https://practice.geeksforgeeks.org/problems/binary-representation5003/1# class Solution{ public: string getBinaryRep(int N){ string ans=""; for(int i=29;i>=0;i--){ ans+=to_string((N>>i)&1); } return ans; } };
975129b66b2bcac21340e0dc271b356774e6a325
bb8f8accc040f7e0880ac194fc823f96933345fd
/MARTIAN.cpp
de2e2a52d680e7a6049d2e4ceb805e148deb0de7
[]
no_license
draconware/spoj
16f5501d9a721d93729db524896963bd2606746c
c8df41eceb00b87a6015465d30e21003bb681731
refs/heads/master
2021-01-01T06:00:56.568003
2018-02-28T16:57:15
2018-02-28T16:57:15
97,326,359
0
0
null
null
null
null
UTF-8
C++
false
false
819
cpp
MARTIAN.cpp
#include<bits/stdc++.h> using namespace std; int main(){ #ifndef ONLINE_JUDGE freopen("input.in","r",stdin); freopen("output.out","w",stdout); #endif while(1){ int n,m; cin>>n>>m; if(n==0 && m==0){return 0;} int arr1[n+1][m+1]; memset(arr1,0,sizeof(arr1)); for(int i=1;i<=n;i++){for(int j=1;j<=m;j++)...
cb72bb52315c51789ea9c69161baaa2c89e66cb9
add31c196e9f7fa02f0ab898b6eb8176d8ce061e
/main/button_handler.h
96d9be5faafdb79a58b05ed701ccd556bc6e5700
[ "Apache-2.0" ]
permissive
chrta/sip_call
c9eb3c9497d36fdc8c5b4f11d4a15af37c590d33
1c62609dcaac744d626cacddcd6e072bec955d64
refs/heads/main
2022-12-15T10:18:17.431958
2022-12-03T16:00:27
2022-12-03T16:00:27
115,796,852
224
62
Apache-2.0
2022-12-03T14:19:50
2017-12-30T12:55:29
C++
UTF-8
C++
false
false
3,916
h
button_handler.h
/* Copyright 2017 Christian Taedcke <hacking@taedcke.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applic...
29ccd2985b868fa76380f7f100783381c5c0a031
6322afe42dd32f0cc72cfe637c109f042ec4af39
/ext/slam6d/include/slam6d/point_type.h
f0206226616919c9c825870a62b060479a680daa
[]
permissive
uos/lvr2
3c94d640f3e315e23fd194d85c2bd8e6877cd674
9bb03a30441b027c39db967318877e03725112d5
refs/heads/develop
2023-06-22T11:49:52.100143
2021-10-08T15:58:07
2021-10-08T15:58:07
173,213,176
66
16
BSD-3-Clause
2023-05-28T19:10:14
2019-03-01T01:18:58
C++
UTF-8
C++
false
false
5,256
h
point_type.h
/** * @file * @brief Representation of a 3D point type * @author Jan Elsberg. Automation Group, Jacobs University Bremen gGmbH, Germany. */ #ifndef __POINT_TYPE_H__ #define __POINT_TYPE_H__ #include "point.h" #include "data_types.h" #include <string> using std::string; #include <iostream> using std::cout; us...
43f30502394793b2a93c4b17da155afdaea40426
20667b51d22f9bba9ba7bccb229de7c2d779357f
/test/test-screenprinter.cpp
56e123e97573a682eb561d7c6c7f512e4caa0f9f
[]
no_license
eli6/GameOfLife
d81af03c531e0617aecce0d7b2bfc2207001e1b5
485bdbcfcb632d7a8177fe4510bd6b44118f516b
refs/heads/master
2021-10-13T06:27:43.265416
2021-10-10T14:16:30
2021-10-10T14:16:30
167,355,938
1
0
null
null
null
null
UTF-8
C++
false
false
72
cpp
test-screenprinter.cpp
#include "catch2.hpp" SCENARIO("Testing the class ScreenPrinter"){ };
f9a5b6b09a5e8254e4e05f2bbd3089e7019ee017
2860c2c27c1e4d6c661afe387fb27d67b0970a86
/include/apiWrapper/ctp/MyCtpSpi.h
71b995de0c83aed77f4a6412dce1872b45c97845
[]
no_license
zhaoyaogit/CMFS
62db45d35ede4ba94953d8ea98ca8d0c77b2ca18
eae985f3a37f0b6699492d0bd80bedb5f8e222fb
refs/heads/main
2023-04-30T09:57:32.457306
2021-05-28T05:34:30
2021-05-28T05:34:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,896
h
MyCtpSpi.h
#ifndef _MY_CTP_SPI_H_ #define _MY_CTP_SPI_H_ #pragma once #include "api/ctp/ThostFtdcTraderApi.h" #include "apiWrapper/ctp/MyCtpApi.h" #include <iostream> #include <fstream> class MyCtpApi; class MyCtpSpi: public CThostFtdcTraderSpi { public: MyCtpSpi(MyCtpApi * api); ~MyCtpSpi(); std::string Conver...
11331cb1ffe768e07ef7678d9e226d7e90cec6df
41f3c18ce759df5eb0d5a80fa4e8cf2883ecf98c
/codechef codered 2020/CORE2004.cpp
85e66d7a7108fcc1d1cba291c2efeda51941fbd6
[]
no_license
tanvirtareq/programming
6d9abafb844b1e80b7691157b0581a3b25b9cd59
040f636773df2d89fb7c169fe077f527f68140a4
refs/heads/master
2021-06-27T12:07:07.585682
2021-03-28T12:39:49
2021-03-28T12:39:49
217,275,688
1
0
null
null
null
null
UTF-8
C++
false
false
3,202
cpp
CORE2004.cpp
#include <bits/stdc++.h> using namespace std; #define int long long long long val[200005]; struct node { int dis,num; bool operator < (const node &a)const{ if(dis==a.dis)return num<a.num; return dis<a.dis; } bool operator==(const node & a)const{ return dis==a.dis && num==a.num; } }; node inf; set<node> st[2...