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
81779703eb29a1b94a0d5eefe5818d02dc7ddc87
27b17470be140efa743c18cbb12df7e339d46b7d
/word_break_II/main.cpp
060c4e08844867ba0933b1f863fb027fbebc6f6e
[]
no_license
slicer2/leetcode
196f0035154b1767308e39209d8574178f9e00c9
c240353d68eef24fa4de7526cbcbac9aee1323d4
refs/heads/master
2021-01-01T19:05:00.812940
2017-07-27T21:05:11
2017-07-27T21:05:11
98,502,329
0
0
null
null
null
null
UTF-8
C++
false
false
1,251
cpp
main.cpp
#include <iostream> #include <unordered_set> #include <unordered_map> #include <string> #include <vector> #include <list> #include <stack> #include "dan.h" using namespace std; class Solution { private: unordered_map<int, unordered_set<int>> graph; vector<string> res; string s; public: vector<string> wordBre...
4043b5dee45add1077c39cf641410376e90e9e1e
f7c6efd5cb9dca903d95669ba4d7766b61ed45f2
/Animation/Animation/FramePattern.h
58723f892d886a626a9091522a131311dcbda9df
[]
no_license
ElisbanFlores/RealidadAumentada
2eb1d42b8737154abe51af7f81665e3a20d57d4c
0e207d5c6785fcf56849a6f0db3b821f05a5c366
refs/heads/master
2021-01-20T01:33:28.610160
2017-04-25T00:52:22
2017-04-25T00:52:22
89,295,109
1
0
null
null
null
null
UTF-8
C++
false
false
353
h
FramePattern.h
#pragma once #include "Common.h" class FramePattern { public: vector<Point2f> pattern_points; Point2f mean; double min_dist; string path; string imageFileName; string dataFileName; Mat frame; FramePattern (void); friend bool operator < (FramePattern fp1, FramePattern fp2){ return fp1...
7fba74bae63c69aad9b18dceaf0854abbab810ca
c4e5f59f2b8d5219c0c69fae57b6420749414439
/Source/Framework/Thread.h
8820297a0cc97b25cd97a2120926525b58934a79
[]
no_license
SerafAC/DS203
29b02ed25037d76a810e35b476b296ac3d03c53d
5b1e73c6bec62dfa81901b21c184ecf89d44d903
refs/heads/master
2021-09-10T03:45:56.208007
2018-03-20T22:16:45
2018-03-20T22:16:45
125,899,853
3
0
null
2018-03-19T18:03:38
2018-03-19T18:03:38
null
UTF-8
C++
false
false
596
h
Thread.h
#pragma once #ifndef DSO_FRAMEWORK_THREAD_H #define DSO_FRAMEWORK_THREAD_H #include <Source/HwLayer/Bios.h> #include <Source/Main/Application.h> class CThread { public: virtual void Start() { _ASSERT(0); } virtual void Stop() { _ASSERT(0); } virtual void Run() { _ASSERT(0); } virtual bool IsRunning() { _...
17579ab3711f067b1b64556ad3aa269da4728873
1707be6d432614b0677a8faa45d41018dccd16ba
/src/NB/trainLb_NeuroBayes.cpp
3420ec0b69858571af84b1aebb28ade6fb5857da
[]
no_license
lucapescatore88/Lmumu
429063e0af88d425292988baf0ba52d5c41d4d01
7c791b8289718da221df082bd9aff94ec45ab5a5
refs/heads/master
2021-01-22T01:34:05.206937
2015-07-01T21:05:48
2015-07-01T21:05:48
38,391,606
0
0
null
null
null
null
UTF-8
C++
false
false
5,497
cpp
trainLb_NeuroBayes.cpp
#include "TMath.h" #include "TFile.h" #include "TTree.h" #include "TChain.h" #include "TBranch.h" #include "TLeaf.h" #include "TLorentzVector.h" #include "TCanvas.h" #include "TH1F.h" #include "TRandom3.h" #include "NeuroBayesTeacher.hh" #include "NeuroBayesExpert.hh" #include <iostream> #include <string> #include "...
d820e583adba6ea19b75c56afdf1750299cf36e2
3dd58ac52a0ffab6657fdf994abdfd1bab45b71c
/PringlesNode.ino
86922caf5d31e22a05eda6f79e23da9963700226
[]
no_license
abhisola/ProductLevelStock
540686969e80ffb620ed40d3b0fda6ca6a7cb3c2
2d694e82d231a2166656e771befd8d87382f6a2b
refs/heads/master
2020-03-21T12:34:29.018978
2018-09-05T13:37:27
2018-09-05T13:37:27
138,560,041
0
0
null
null
null
null
UTF-8
C++
false
false
991
ino
PringlesNode.ino
#include <SoftwareSerial.h> #include <ArduinoJson.h> #include "UbidotsMicroESP8266.h" #define TOKEN "A1E-sa3GBevj4R8uoCLtRIowWj5bgfBNtO" /* Put here your Ubidots TOKEN */ #define WIFISSID "CBCI-9557-2.4" /* Put here your Wi-Fi SSID */ #define PASSWORD "bacon6291camera" /* Put here your Wi-Fi password */ // SSID -> AR...
418330bf2856a474754c8782fa57c0e65a8b43e1
f0567e1f5147194a19815ac456f5738defaa27e9
/src/LFO2.h
32141e890369bcb8c5c3efd35655881d259232d2
[]
no_license
RonCG/RonSynth
e9aa3c543aaf122e969c224559d4405716cc8ef9
19a17d1725b3efdf063854552cd8f4d5f45ec6b3
refs/heads/main
2023-02-24T04:12:58.128669
2021-01-30T22:46:31
2021-01-30T22:46:31
334,526,051
0
0
null
null
null
null
UTF-8
C++
false
false
1,079
h
LFO2.h
/* ============================================================================== LFO2.h Created: 12 Feb 2019 11:36:13am Author: RonnyCG ============================================================================== */ #pragma once #include "../JuceLibraryCode/JuceHeader.h" #include "PluginProcesso...
06360aabfef51946fec4ce8f6bd6039c07c00a15
50b0d958fa5cff16c3e689f5371f3b080e83f45e
/code/samples/arduino/doorbell-NRF24L01/transmitter/doorbell.ino
e12a6a03cf4504b25ff327a5b5ae3ed8df54b439
[ "MIT" ]
permissive
davidalexisnyt/Making-Things-Arduino-Workshop
96293414297a59f687f0d789895260034223842c
654356fe5cd73b3c2a1c0ecb4db93c2557d36586
refs/heads/master
2020-04-26T22:19:54.939137
2019-04-08T17:39:31
2019-04-08T17:39:31
173,869,686
2
0
null
2019-03-18T00:49:14
2019-03-05T03:55:08
C++
UTF-8
C++
false
false
7,632
ino
doorbell.ino
/* * DOORBELL UNIT - NRF24L01+ * --------------------------------------------------------------------------- * This version of the doorbell uses the NRF24L01+ 2.4GHz radio to receive * ring notifications from the doorbell transmitter unit. * * ATTRIBUTIONS * * Uses the excellent NRFLite library from dpar...
2396dc5beec8a9a7ad9b3db8e690c417f4e71c12
3a931f9427d64143dba81435bcaa7528756e15b4
/sourcefiles/main.cpp
4be945286d06cf13ab5f6b9f3a934239c0425eb1
[]
no_license
gkuracz/Metodos-E4
602c7e789be0803c89cd6130e17c86dd2a1596e6
17b21f7c5d0fbb0d11fa5d355ced88262927ecf6
refs/heads/master
2021-01-10T20:30:03.590283
2015-04-22T00:49:00
2015-04-22T00:49:00
34,014,136
0
0
null
null
null
null
UTF-8
C++
false
false
4,249
cpp
main.cpp
#include<stdio.h> #include <iostream> #include <string> #include"csv.h" #include"mat.h" #include "getFileInfo.h" using namespace std; int main(int argc, char** argv) { if (argc<4) { cout << "############################################################" << endl << endl; cout << "[DEBUG] This program needs 3 arg...
cfca821951b10ce4985c8c8e480ed8c2b0e54b99
ab2be5b473cb8e15be6e3d77bf71d8a804b2d314
/Codigo_Fuente/Proyecto_Final/obstacle.cpp
ddd30289c20eab6ea86b0eec768663122705de2e
[]
no_license
MaverickST/Proyecto_Final
4e4465c94a8eca03b9d40aca462b923aae8b69c0
d2908fbd396e9978051f022052b6f6c58891f0ef
refs/heads/master
2023-08-19T22:06:33.448516
2021-10-29T06:43:14
2021-10-29T06:43:14
350,148,407
0
1
null
2021-10-25T00:56:27
2021-03-21T23:39:27
C++
UTF-8
C++
false
false
828
cpp
obstacle.cpp
#include "obstacle.h" Obstacle::Obstacle() {} Obstacle::Obstacle(double _posx, double _posy, double _width, double _height, double _velObst, std::string &_nameSpObst) { posx = _posx; posy = _posy; width = _width; height = _height; vel = _velObst; nameSpObj = _nameSpObst; ...
166f88a07429674fd17080c3d33b7d46df58a7fb
daf2571fb4a1daca589888fb15e319d3f6199b2e
/AddFile.h
0c1330aa7f8f727a9da5708fd628309c8851e182
[]
no_license
chrip/mtb
46cfaebd271361a57225e436d8e97894be30bbba
f87a6a4c9f0de4535772827e63cf021d05e9c8ea
refs/heads/master
2020-12-02T08:10:48.816633
2017-07-10T13:47:16
2017-07-10T13:47:16
96,781,948
1
0
null
null
null
null
UTF-8
C++
false
false
653
h
AddFile.h
#ifndef ADDFILETREAD_H #define ADDFILETREAD_H #include <QObject> #include <QRunnable> class QImage; class ImageContainer; class AddFile : public QObject, public QRunnable { Q_OBJECT public: AddFile(QString imagePath, int totalNumberOfImages); ~AddFile(); void run(); void displayError(QImage *imag...
9ec20017ab71e987b9403db77157b12bc382663b
ba876dd8da92e03b7e78eb91a34a389a4c375b83
/code/trunk/p2p/rcs/src/protocol/bt/bt_session.cpp
10ffb4abe8028c2f53e1e3edf07a7cbc789be237
[]
no_license
ivgotcrazy/ResourceCache
dd54183ebe2b46e601fd3d3101026f5be395bb42
d2f8ca1f3ae0f8b9916e09aa6fd7d74443a60b4e
refs/heads/master
2021-07-06T05:08:21.656640
2020-07-19T02:05:51
2020-07-19T02:05:51
123,457,051
0
0
null
null
null
null
GB18030
C++
false
false
12,268
cpp
bt_session.cpp
/*############################################################################# * 文件名 : bt_session.cpp * 创建人 : teck_zhou * 创建时间 : 2013年9月13日 * 文件描述 : BtSession类实现 * 版权声明 : Copyright (c) 2013 BroadInter. All rights reserved. * ##########################################################################*/ #incl...
33c22cccc0f8c4505fbb75afe806101a7d5b12b5
03b5b626962b6c62fc3215154b44bbc663a44cf6
/src/keywords/for_each_in.cpp
6acd8c929cd9542eb7e9d14ea541624d031be5c4
[]
no_license
haochenprophet/iwant
8b1f9df8ee428148549253ce1c5d821ece0a4b4c
1c9bd95280216ee8cd7892a10a7355f03d77d340
refs/heads/master
2023-06-09T11:10:27.232304
2023-05-31T02:41:18
2023-05-31T02:41:18
67,756,957
17
5
null
2018-08-11T16:37:37
2016-09-09T02:08:46
C++
UTF-8
C++
false
false
187
cpp
for_each_in.cpp
#include "for_each_in.h" int Cfor_each_in::my_init(void *p) { this->name = "Cfor_each_in"; this->alias = "for_each_in"; return 0; } Cfor_each_in::Cfor_each_in() { this->my_init(); }
173f5a37d14b1578f815a8c3721b9a7a1dfab16d
52c69024f89ae9aa37aea77fa6f0a6176c2eeb49
/incremental_calibration_examples/incremental_calibration_examples_time_delay/test/test_main.cpp
1b81eb1f27a7e889d38fd875c0df845ed56cb889
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
debuleilei/aslam_incremental_calibration
bdac51aa86ba6bab296d43606e527594de3b6c38
16a44b86b6e7eb5ae4ee247f10c429494697ae0b
refs/heads/master
2020-10-01T18:52:49.080112
2019-02-14T19:41:16
2019-02-14T19:41:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
551
cpp
test_main.cpp
/****************************************************************************** * Copyright (C) 2014 by Jerome Maye * * jerome.maye@gmail.com * ******************************************************************************/...
e844ecf9139af15787ef0dae1779b5d973f82679
01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f
/SCUM_BP_PlaceableActorFortifications_parameters.hpp
d844deda608dd318f9f90e2720c210665f937773
[]
no_license
Kehczar/scum_sdk
45db80e46dac736cc7370912ed671fa77fcb95cf
8d1770b44321a9d0b277e4029551f39b11f15111
refs/heads/master
2022-07-25T10:06:20.892750
2020-05-21T11:45:36
2020-05-21T11:45:36
265,826,541
1
0
null
null
null
null
UTF-8
C++
false
false
2,166
hpp
SCUM_BP_PlaceableActorFortifications_parameters.hpp
#pragma once // Scum 3.79.22573 (UE 4.24) #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace Classes { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function Co...
152c1ea20790618de97aac6340dd7072b81ecd6a
0b16906eada728048f2ff61ee3096256e74a9530
/src/Line.hpp
a67c138466b7affe9d70dbad645c62b47b88c33e
[]
no_license
thenathanmcc/TardigradeRenderEngine
80b6c796f628acd4abf1862cfc3e560a5630dffc
2eabb79b59c454a3ffc3adcdf1b57dc09ac7afce
refs/heads/master
2023-02-22T07:10:46.115795
2021-01-24T21:14:21
2021-01-24T21:14:21
273,626,187
0
0
null
null
null
null
UTF-8
C++
false
false
540
hpp
Line.hpp
/* * Line class definition * @author Nathan McCulloch */ #ifndef Line_HPP #define Line_HPP #include <vector> #include "Shader.hpp" #include "Camera.hpp" class Line { public: Line (); Line (glm::vec3 start, glm::vec3 end, Shader* shader); void render(Camera* camera); void updateMVP(glm::mat4 mvp); void ...
80dfbaf6d43a11f9cb3137292f94822ae806fd91
656d2b0fb42461a7bac10561a0fde3dbbe023556
/GameEngine/GameEngine/src/AudioSystem/SoundSource.h
d7650a7a57759ce9af902fde73e94e0ffcde9dc0
[]
no_license
olbo98/D7049E-Game-Engine
674ee73bd5699b3c553d8e409fb1375931cd8f5f
1bd08a5884fdb0560a0d84d92a0099d4b5606586
refs/heads/main
2023-05-09T19:27:07.981369
2021-05-25T13:47:16
2021-05-25T13:47:16
355,449,754
0
0
null
2021-05-24T13:47:59
2021-04-07T07:20:18
C++
UTF-8
C++
false
false
414
h
SoundSource.h
#pragma once #include <AL\al.h> class SoundSource { public: SoundSource(); ~SoundSource(); //Playing the sound with the right buffer void Play(const ALuint buffer_to_play); private: /* Speaker variables, default settings */ ALuint p_Source; float p_Pitch = 1.f; float p_Gain = 1.f; float p_Position[3] = { 0...
7831e5ac1571887b8192c855cc1129d7188228f6
b9dd98d301aa2055616f21fd1026a5e4ff9e81fb
/Codeforces/143A - Help Vasilisa the Wise 2.cpp
a4d5ce5716d09fbb9a0816da02c73fbe1cbf66a3
[]
no_license
AlaaAbuHantash/Competitive-Programming
f587fcbbe9da33114c6bed3eb76f5cf0429fbf95
179a8473662d04b8c5c129e852f6eab075e80fb2
refs/heads/master
2021-07-25T08:17:49.841307
2018-08-06T10:06:54
2018-08-06T10:06:54
128,920,319
2
1
null
null
null
null
UTF-8
C++
false
false
1,288
cpp
143A - Help Vasilisa the Wise 2.cpp
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <queue> #include <map> #include <set> #include <utility> #include <stack> #include <cstring> #include <math.h> #include<cstdio> #include<deque> #include<sstream> /* * You got a dream, you gotta protect it. */ #defi...
6ddf145ec9819c5ecbe675fed74db7c940100664
c9e0d986ff97a074732272cec455eae2f2387fda
/Game/Labyrinth_Game/MazeMan.cpp
74f7b100860fd3a7f8284e485ec9f8167acb426c
[]
no_license
rainbowhxch/first-step
2b70b00e6fb32642cb6f76647453d6de5b75d068
672f3438d433ee4cebb12d99910660f0f87a5c9e
refs/heads/master
2022-06-22T13:55:25.781149
2020-05-08T01:33:12
2020-05-08T01:33:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,473
cpp
MazeMan.cpp
#include "MazeMan.h" MazeMan::MazeMan(char man,char manface) { m_cMan = man; m_cManFace = manface; m_iSteps = 0; } void MazeMan::setMap(MazeMap * map) { m_pMap = map; } void MazeMan::setPosition(int x,int y) { unsigned long numWritten; HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE); m_COORD...
6b31103d524b08b6d023c353238ad26ecbe1a547
8f3c088b5ff6c995f9e0be2ee9375931d96e7a64
/queue/queue/main.cpp
50696dfa882d70793471c3204489844a0a91e279
[]
no_license
dashachernyh/mp2-lab4
6de1e5f659b2b5a5edfcb1659327f7282042cff4
d9f75f3e6a893ccdbec98b5ada1bcf277fe63e6a
refs/heads/master
2020-11-25T09:24:54.104257
2019-12-24T20:54:42
2019-12-24T20:54:42
228,594,948
0
0
null
null
null
null
UTF-8
C++
false
false
373
cpp
main.cpp
#include"queue-list.h" #include<conio.h> #include<iostream> using namespace std; int main() { TQueue<int> q; int el; bool b; cin >> el; b = q.IsEmpty(); cout<< b<<endl; q.Push(el); b = q.IsEmpty(); cout<<b<<endl; q.Pop(); for (int i = 0; i <10; i++) { cin >> el; q.Push(el); } b=q.IsFull(); cout << b<...
afbc5789df6b2a282370b65549bd5ab6b3a7f23b
9da6ffc55ba8a19192bd0efad09657758de4e792
/maxflow/loj 127.cpp
8cc0bc57dba2d2ebd27bd100fb21527edd8f1191
[]
no_license
fsq/codeforces
b771cb33c67fb34168c8ee0533a67f16673f9057
58f3b66439457a7368bb40af38ceaf89b9275b36
refs/heads/master
2021-05-11T03:12:27.130277
2020-10-16T16:55:03
2020-10-16T16:55:03
117,908,849
0
0
null
null
null
null
UTF-8
C++
false
false
3,370
cpp
loj 127.cpp
#include <cstdio> #include <cstring> #include <vector> #include <algorithm> #include <numeric> #include <memory> #include <list> #include <climits> using namespace std; #define PB push_back #define F first #define S second #define REP(i,from,to) for(auto i=(fr...
dad6e63bf6e33f60e9072612bc75865c56c249fa
50df5a8accbcb4fd216d95304f08882ec4d74bde
/toonz/sources/image/pli/pli_io.cpp
d003e5e2770263ece4b1da017388ad3ad22dfeef
[ "BSD-3-Clause" ]
permissive
opentoonz/opentoonz
87dbc490b67a23c9912a0f988fb2b0473c9b50ba
0a2a4a9ec52e0a0a33f73d709e034538800cfb51
refs/heads/master
2023-08-17T06:56:15.619842
2023-08-16T12:08:25
2023-08-16T12:08:25
54,221,232
4,392
710
NOASSERTION
2023-09-11T15:55:51
2016-03-18T17:55:48
C++
UTF-8
C++
false
false
79,076
cpp
pli_io.cpp
#include <memory> #include "tmachine.h" #include "pli_io.h" #include "tcommon.h" #include "timage_io.h" #include "tvectorimage.h" //#include "tstrokeoutline.h" #include "tsimplecolorstyles.h" #include "tcontenthistory.h" #include "tfilepath_io.h" //#include <fstream.h> #include "../compatibility/tfile_io.h" #include "...
25854a965ecc9fcb503aaf9ebd92fd73b4d9f9ac
32a03ea6bfb49ffcce26e2f5a1ee3f0ed0e87318
/src/Actions.cpp
1d3c289c1d1124838f31dc02aec3e3393bd552ae
[ "MIT" ]
permissive
mjiricka/gongfu-tea-timer
2126cfecde16141ad49b9d46868fdc85463d7e4c
f4bec066d7c5955a7338603ecf10079ccf5a661e
refs/heads/master
2020-03-16T02:26:19.385163
2018-07-02T23:09:50
2018-07-02T23:09:50
132,464,976
0
0
null
null
null
null
UTF-8
C++
false
false
3,871
cpp
Actions.cpp
#include "Actions.h" #include <iostream> #include <string> #include <vector> #include "Settings.h" #include "App.h" using std::string; using std::vector; using std::cout; using std::endl; using std::stoi; Action::~Action() { // Nothing to do... } Action* Action::factory(vector<string> &input) { if (Volume...
e4d2f72e6e475a5e4c116cc13b28921bfd75cc82
e65a4dbfbfb0e54e59787ba7741efee12f7687f3
/devel/electron24/files/patch-electron_shell_browser_native__window.cc
b73f2c99667a353b05efd2a142c1126d6da31210
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
freebsd/freebsd-ports
86f2e89d43913412c4f6b2be3e255bc0945eac12
605a2983f245ac63f5420e023e7dce56898ad801
refs/heads/main
2023-08-30T21:46:28.720924
2023-08-30T19:33:44
2023-08-30T19:33:44
1,803,961
916
918
NOASSERTION
2023-09-08T04:06:26
2011-05-26T11:15:35
null
UTF-8
C++
false
false
464
cc
patch-electron_shell_browser_native__window.cc
--- electron/shell/browser/native_window.cc.orig 2023-07-26 12:12:20 UTC +++ electron/shell/browser/native_window.cc @@ -197,7 +197,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D } else { SetSizeConstraints(size_constraints); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN)...
1d8f3aaf2c71867b22ff140f0fe12529ce6dd017
1240cab345c126566291f8e461d063cb6430396f
/src/openms/include/OpenMS/MATH/MISC/RANSAC.h
a3f60505a628c720a784c46f90489fe591891a4f
[ "BSD-3-Clause", "BSL-1.0" ]
permissive
OpenMS/OpenMS
05cd6c9a2b8f3004ef47755305711a6631c13340
15e8641e9b6fad76e8314448a808d68231a93088
refs/heads/develop
2023-08-18T03:44:50.273261
2023-08-17T19:45:27
2023-08-17T19:45:27
15,763,403
443
312
NOASSERTION
2023-09-14T13:29:36
2014-01-09T10:15:13
C++
UTF-8
C++
false
false
11,574
h
RANSAC.h
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
274110c39fe79c3908de6b01b675128e6605d8d0
d1c21ab049eafd42dce19e5cecf6703415d459ff
/Hexic v2.0/Hexic v2.0/Hexagon.cpp
55672bc7c14c53e5d293b7478bd8578a51471f42
[]
no_license
alseether/Hexic
73c8fde1d447cb17cb3fad26d30e6f2bd6d3407a
a22dcb81810b98374d426931356ce34f2cfbdb63
refs/heads/master
2021-06-05T08:34:44.800668
2018-05-21T12:52:52
2018-05-21T12:52:52
48,120,322
0
0
null
2018-05-21T12:07:14
2015-12-16T15:59:27
C++
UTF-8
C++
false
false
2,670
cpp
Hexagon.cpp
#include "Hexagon.hpp" #include "ResourceHolder.hpp" Hexagon::Hexagon(sf::Vector2f center, float side, State::Context context, sf::Color color, sf::Color border) : center(center), color(color) { border = border; this->setSide(side); this->setCenter(center); shape.setFillColor(color); text.setFont(context.fonts->g...
8d29ccf7b6ed715376951b934328c0de1f96ff9d
6e4a14e061d1af3f468bec159860b477444a6be1
/duffTest.cpp
fae5c379b2067a23cfe3da3e5f78ed521ba7493f
[ "MIT" ]
permissive
stuthedew/DuffDevice
100a005145fa995222229e8c422241570cd747e1
45844a8274828c0bb2e1237a5691039b22ef1ad3
refs/heads/master
2016-09-03T06:49:56.132568
2014-11-04T16:11:31
2014-11-04T16:11:31
26,175,021
0
0
null
2014-11-04T16:11:31
2014-11-04T15:29:09
C
UTF-8
C++
false
false
1,943
cpp
duffTest.cpp
#include <iostream> #include <stdio.h> #include <assert.h> #include "stu_duffdevice.h" #define ARRAY_SIZE 10 using namespace std; int writeAry[ARRAY_SIZE]; int readAry[ARRAY_SIZE]; void loopUnroll(int rPtr[], int wPtr[]){ // Handle copy as much as we can with unrolling int loopCycles = (ARRAY_SIZE + 4) /...
dc1d7259fbb882b2e303697a6754a27c9dfb5651
f9af249af2422d307c9874c1f407f96644d98a51
/balle.cpp
87b57a84d5504e094d3fad8bc4a9e7520320dbe8
[]
no_license
ParvilusLM/Jeu-Pong
e3c90bca2dd5dc3ec9b0969d16c477909e2f5105
c9148929dcf400bc8630a8202c28620735b0f51d
refs/heads/master
2022-12-17T00:36:43.357281
2020-09-11T03:10:40
2020-09-11T03:10:40
254,775,746
0
0
null
null
null
null
UTF-8
C++
false
false
1,251
cpp
balle.cpp
#include "balle.h" Balle::Balle(sf::RenderWindow &fenetre):m_fenetre(0),m_angleBalle(0),m_facteurDepl(0) { m_fenetre=&fenetre; m_vitesseBalle=400; m_tballe.loadFromFile("donnees/balle.png"); m_rayBalle=10.f; initBalle(); } void Balle::initBalle() { do { m_angleBalle=(std::ran...
5e14b470d52a66ea31fceb5d4080c48314784b14
36f6588952b2d2e90526af34dcff5e17189d27ed
/abc056/abc056_b/4178231.cpp
05915bd96f1d6fce098430af7472f06af5c9f8f7
[]
no_license
key-moon/atcoder
83d097a24b570b0faa6bc56b6a87892441e68976
f1536be7b25317c668fe6302dce3d139bc0ec3d1
refs/heads/master
2020-09-22T00:45:34.193794
2020-02-25T20:07:37
2020-02-25T20:07:37
224,687,083
1
0
null
null
null
null
UTF-8
C++
false
false
346
cpp
4178231.cpp
// detail: https://atcoder.jp/contests/abc056/submissions/4178231 //============================================================================ #include<bits/stdc++.h> typedef long long ll; #define rep(i, n) for(ll i = 0; i < (n); i++) using namespace std; int main(){ int w,a,b; cin >> w >> a >> b; cout << max(0,a...
645545970663a487587b02eab3aefde3b82f5dae
2e9e9aa6e629b2cbbb36d43705df904652ccead2
/EasyConsole.cpp
81e56435b4620d26c5a53ed57ba97b94b1711125
[]
no_license
michal1000w/graZaliczenie
cc02c3579ed497f525b849ae8bd2b4b4fcf7f104
d2639e2a672842531edbe45afb27af1b1e8afaf5
refs/heads/master
2020-04-08T02:24:43.306676
2019-01-18T13:16:28
2019-01-18T13:16:28
158,934,636
0
0
null
null
null
null
UTF-8
C++
false
false
1,722
cpp
EasyConsole.cpp
#include "EasyConsole.h" void EasyConsole::ConsoleInit(){ setlocale(LC_ALL, ""); // ustawienie kodowania na polskie initscr(); //inicjacja ekranu konsoli noecho(); // nie wyświetla znaku po naciśnięciu klawisza (getch()) keypad(stdscr, true); //oczytuje wszystkie znaki HideCurso...
e7e815e39de0293f63361d9f0f35cf384776068f
c6a9053e6cf80128afa93f763ba6638234a40f35
/include/zapi/bridge/Extension.h
d7f283c2e61bf7af299695f4aa34f170a4942c5c
[ "Apache-2.0" ]
permissive
zhsongbj/zendapi
7071473bf4e32bbc09f540bcd0befe0fca903289
36158efc5bd8aa2a2f6d68e426a69c5cfd136a5e
refs/heads/master
2021-01-25T04:58:33.857795
2017-06-06T08:14:24
2017-06-06T08:14:24
93,493,824
1
0
null
2017-06-06T08:19:57
2017-06-06T08:19:57
null
UTF-8
C++
false
false
4,639
h
Extension.h
// Copyright 2017-2018 zzu_softboy <zzu_softboy@163.com> // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL THE AUTHOR BE L...
a1a13969c7bef676c50069848dc1f458ec12adb2
95d426de781b011b0ee8d82d8b976720fc2613f6
/HCT138.cpp
3ca6a796e60e91dd564c14d0afe1cb5a8952e03f
[]
no_license
jkytomaki/vtxLapTimer
d3184dece563d35c312229001a2c11e830458c45
e75977e493a474f1962339842f532f6454903f8b
refs/heads/master
2020-12-25T05:16:36.730242
2016-08-04T17:13:44
2016-08-04T17:13:44
64,881,167
1
0
null
null
null
null
UTF-8
C++
false
false
359
cpp
HCT138.cpp
#include <Arduino.h> void setPinHigh(int pin){ digitalWrite(D8, HIGH); digitalWrite(D0, bitRead(pin, 0)); digitalWrite(D1, bitRead(pin, 1)); digitalWrite(D2, bitRead(pin, 2)); } void setPinLow(int pin){ digitalWrite(D8, LOW); digitalWrite(D0, bitRead(pin, 0)); digitalWrite(D1, bitRead(pin, 1)); d...
ea607b699a5016e538a5161d1eaa628436a77688
0e6e81a3788fd9847084991c3177481470546051
/AnswerByCpp/0047_Permutations II.cpp
5bd89e119e6330c52d62816be5ca69dfcff27486
[]
no_license
Azhao1993/Leetcode
6f84c62620f1bb60f82d4383764b777a4caa2715
1c1f2438e80d7958736dbc28b7ede562ec1356f7
refs/heads/master
2020-03-25T19:34:30.946119
2020-03-05T14:28:17
2020-03-05T14:28:17
144,089,629
4
2
null
2019-11-18T00:30:31
2018-08-09T02:10:26
C++
UTF-8
C++
false
false
2,064
cpp
0047_Permutations II.cpp
#include<iostream> #include<vector> #include<algorithm> using namespace std; /* 47. 全排列 II 给定一个可包含重复数字的序列,返回所有不重复的全排列。 示例: 输入: [1,1,2] 输出: [ [1,1,2], [1,2,1], [2,1,1] ] */ class Solution { public: vector<vector<int>> permuteUnique(vector<int>& nums) { vector<vector<int>> res; sort(nums.beg...
b1eaa4899f1762a6d41994bbe88050411881d90a
0a35a623333fc370df0ff4777ac74db40819faea
/ros_homework/src/t2_turtle_listener.cpp
95ad6acff51ee366ceb470f621631a8c3f5c96b9
[]
no_license
suyunzzz/ROS_homework
973353109c9af707ffb0d348960c84cb39c8c0d4
f6b811ab9b31448a4ca3111435a893c9410bbb7f
refs/heads/master
2020-06-18T17:23:39.093027
2019-07-16T15:26:14
2019-07-16T15:26:14
196,380,603
3
0
null
null
null
null
UTF-8
C++
false
false
866
cpp
t2_turtle_listener.cpp
/***** *此节点是作业2的listener,将订阅/turtle2/pose,消息类型是turtlesim::Pose *此节点可有可无,因为订阅该话题完全可以由turtle2_creater节点实现(与turtlesim双向通信) *作者:苏云征 ***/ #include<ros/ros.h> //#include<geometry_msgs/Twist.h> #include<turtlesim/Pose.h> void turtle2_call_back(const turtlesim::PoseConstPtr msg) //自定义定义回调函数 { ROS_INFO("Turtle2 postion : ...
58493ba507198b47b711e1268a76e994f5d18dd8
8d7c126fbdbf04a7c6be986964f71b8f11b92d99
/errorf.cpp
c48ba034350701590e61f64a76ccea20e931604a
[]
no_license
antonislambrou/GACP
4c4dcc06fa2955359aea74fe71780d66c421e969
26ef820b0342c75e07b929312e40008ef5f84cd5
refs/heads/master
2016-09-13T13:13:21.362843
2016-05-07T11:40:24
2016-05-07T11:40:24
57,453,612
0
0
null
null
null
null
UTF-8
C++
false
false
254
cpp
errorf.cpp
//return 1 for error, 0 otherwise #include "global.h" int errorf(double err,double p[],int actual) { int y=1; for(int i=1; i<=classes;i++) { if(p[i-1] > err && i == actual) { y = 0; break; } } return y; }
05fd493553dfb97a249a60cda21ff06a69d64396
f00687b9f8671496f417672aaf8ddffc2fa8060a
/codeforces/884/E2.cpp
a6fa71e082c8c8b9859042c48f6a4c570869ecd5
[]
no_license
kazi-nayeem/Programming-Problems-Solutions
29c338085f1025b2545ff66bdb0476ec4d7773c2
7ee29a4e06e9841388389be5566db34fbdda8f7c
refs/heads/master
2023-02-05T15:06:50.355903
2020-12-30T10:19:54
2020-12-30T10:19:54
279,388,214
2
2
null
null
null
null
UTF-8
C++
false
false
2,278
cpp
E2.cpp
#include <cstdio> #include <queue> //#include <bits/stdc++.h> using namespace std; typedef pair<short,short> pii; int dx[]= {0,0,1,-1};/*4 side move*/ int dy[]= {-1,1,0,0};/*4 side move*/ #define MX 100005 #define inf 100000000 char mat[(1<<12)][(1<<11)]; char check(char mask, int pos) { ret...
2656e76264de99c9825f3d6f31c7c9586c3a35df
eae4549cbcab075813b2e7756bdd28b3106a22fe
/list/DL/Node.h
bb7b72420f2fd051bf7f7a20240d0521ded58a50
[ "MIT" ]
permissive
devgr/data-structures
65db7c2722810349bc3468fd68e33e2b3cd9be8f
e6467acc67ee6243b57a92674a9e406ce9b4981c
refs/heads/master
2020-05-01T11:48:53.897009
2013-12-27T04:12:01
2013-12-27T04:12:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
601
h
Node.h
/** Node.h George Darling 9/5/2013 Header file for the Node type. Each node points to a next node and a previous node, forming a doubly linked list. There is a spot to hold data; this can either be modified to fit the needs of the program, or point to some other data containing type. */ #include "Data.h" using namespa...
a54df2ce647e480166341186488c6ebd04f4309a
a4f927122775e7c27e7d56a97d9c3fe4d0652616
/main.cpp
af0e00d66cd54146ec97c4037daf546bf727fa0f
[]
no_license
hypa6816/Park_CSCI2270_FinalProject
65368a97d8314edc1382cfb4570ba1d7b94dbe76
960a94a42ec1697d19117c2dd5e4c746480af0f8
refs/heads/master
2020-12-24T21:22:39.647011
2016-04-27T19:43:15
2016-04-27T19:43:15
56,077,423
0
1
null
2016-05-04T03:47:02
2016-04-12T15:55:59
C++
UTF-8
C++
false
false
4,207
cpp
main.cpp
#include "Keyboard.h" #include <iostream> #include <vector> #include <sstream> #include <string> #include <stdlib.h> using namespace std; int main() { Keyboard KB; //Start up the menu int option = 0; do { cout << "======Main Menu======" << endl; cout << "1. Create Keyboard" << end...
3589409ae58c9ad5e05eaf0d019172bc73df4f5f
fc7359b2aebff4580611767fa0d622c5ba642c9c
/3rdParty/iresearch/tests/utils/compression_tests.cpp
b94b8e0d6d7d84c156708c8654cb33d012e10d38
[ "LicenseRef-scancode-unicode", "LicenseRef-scancode-warranty-disclaimer", "MIT", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "Unicode-DFS-2016", "BSD-3-Clause", "BSL-1.0", "Apache-2.0", "Bison-exception-2.2", "BSD-2-Clause", "GPL-3.0-only", "BSD-4-Clause", "LGPL-2.1-or-later"...
permissive
William533036/arangodb
36106973f1db1ffe2872e36af09cbdc7f0ba444b
08785b946a21c127bcc22f6950d8c3f9bc2c5d76
refs/heads/master
2020-12-06T23:09:43.024228
2019-12-30T08:16:24
2019-12-30T08:16:24
232,570,534
1
0
Apache-2.0
2020-01-08T13:33:37
2020-01-08T13:33:36
null
UTF-8
C++
false
false
1,956
cpp
compression_tests.cpp
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 by EMC Corporation, 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...
050a6096f22fe2a42e86640ddaa4453606bcbe52
8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a
/3rdParty/boost/1.78.0/boost/vmd/detail/sequence_size.hpp
0f308eb82945f9a8ef7942af6eb632bda8c76762
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause", "ICU", "Zlib", "GPL-1.0-or-later", "OpenSSL", "ISC", "LicenseRef-scancode-gutenberg-2020", "MIT", "GPL-2.0-only", "CC0-1.0", "LicenseRef-scancode-autoconf-simple-exception", "LicenseRef-scancode-pcre", "Bison-exception-2.2", "LicenseRef-scancode...
permissive
arangodb/arangodb
0980625e76c56a2449d90dcb8d8f2c485e28a83b
43c40535cee37fc7349a21793dc33b1833735af5
refs/heads/devel
2023-08-31T09:34:47.451950
2023-08-31T07:25:02
2023-08-31T07:25:02
2,649,214
13,385
982
Apache-2.0
2023-09-14T17:02:16
2011-10-26T06:42:00
C++
UTF-8
C++
false
false
723
hpp
sequence_size.hpp
// (C) Copyright Edward Diener 2011-2015 // Use, modification and distribution are subject to 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). #if !defined(BOOST_VMD_DETAIL_SEQUENCE_SIZE_HPP) #define BOOST_VMD_DETAIL_SEQUENCE_S...
3a9acfe24c668b540263187ffebd2f727d2c2309
e798f8dabca00cd8e8477d04beb77d78aae6c82a
/Imgproc/affinetransformation.cpp
f80ee8bb7358e0cccaa75d9ecef0e0b2e83afada
[ "MIT" ]
permissive
manashmandal/ImageProcessingToolbox
e956d721b68b0b39ba6de286ee82d73bb8948972
df0cd88af41d88190de882ba7ef8693483b67211
refs/heads/master
2021-06-02T05:10:57.183023
2016-06-26T19:38:36
2016-06-26T19:38:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,286
cpp
affinetransformation.cpp
#include "affinetransformation.h" #include "ui_affinetransformation.h" AffineTransformation::AffineTransformation(QWidget *parent) : QWidget(parent), ui(new Ui::AffineTransformation) { ui->setupUi(this); } AffineTransformation::AffineTransformation(Mat img) : originalImage(img), ui(new Ui::AffineTransform...
b56dad4a9b6c37f593359e8558f040d577f55d44
d7d286bf071822dd6fff0e5fa6baa120b352286a
/hanoipanel.h
73b5fa3776528ac80da76d1fab3fbc24b236e747
[]
no_license
husama/HanoiTower
bd47496caae00608ecad8d9cb84b4f2d8ddf982f
c39bd9a92eea0f03045dfa32312a02da88ef67a6
refs/heads/master
2021-01-10T10:12:46.860452
2016-03-29T10:58:04
2016-03-29T10:58:04
54,965,660
2
1
null
null
null
null
UTF-8
C++
false
false
2,332
h
hanoipanel.h
#ifndef HANOIPANEL_H #define HANOIPANEL_H #include <QGraphicsItemAnimation> #include <QWidget> #include <QComboBox> #include <QSlider> #include <QGraphicsView> #include <QLabel> #include <QPushButton> #include <QLayout> #include <QTimer> #include <QPalette> #include <QStack> #include <QTimeLine> #include <QThread> #in...
59414ec942308864c0e1c0f3f7c2cd11d3bf46b6
2fd059b7c5234015eba056b2f3d9b1197df4a60d
/include/ReductionQualityChecker.h
e9f6b35acb5e592de3ec2496361291370b13be2e
[ "MIT" ]
permissive
FredericJacobs/Lattices-Jacobi_Method
64069d7346e59a4a6d17d306bdd4d96fea09160e
28025931a59c34e00fc413febf6d1bb0625f5487
refs/heads/master
2021-01-02T09:02:13.474738
2015-01-22T21:50:22
2015-01-22T21:50:22
23,916,539
1
0
null
null
null
null
UTF-8
C++
false
false
375
h
ReductionQualityChecker.h
#ifndef REDUCTIONQUALITYCHECKER_H #define REDUCTIONQUALITYCHECKER_H #include <newNTL/mat_ZZ.h> #include <newNTL/matrix.h> #include <newNTL/RR.h> class ReductionQualityChecker { public: static newNTL::RR computeHermiteFactor(newNTL::mat_ZZ &mat); static newNTL::RR computeOrthogonalityDefect(newNTL::mat_ZZ &mat...
af26b05daece097bcedbddc1525c703f19c2c1e7
9402379373dceaacddbd68911410df582f763246
/src/tlocCore/utilities/tlocCheckpoints.cpp
d8804dffc7045036b21f939ddab3c3ca0422c626
[]
no_license
samaursa/tlocEngine
45c08cf4c63e618f0df30adc91b39f58c7978608
5fab63a31af9c4e266d7805a24a3d6611af71fa7
refs/heads/master
2022-12-30T20:10:38.841709
2014-09-12T07:36:27
2014-09-12T07:36:27
305,503,446
2
0
null
null
null
null
UTF-8
C++
false
false
2,128
cpp
tlocCheckpoints.cpp
#include "tlocCheckpoints.h" #include <tlocCore/containers/tlocContainers.inl.h> namespace tloc { namespace core { namespace utils { Checkpoints:: Checkpoints(tl_uint a_numberOfCheckpoints, bool a_initial) : m_flags(a_numberOfCheckpoints, a_initial) { } Checkpoints::value_type& Checkp...
3440a45011efc6c7d26ed538d02d0ec34e0d7c5c
67e8364603f885231b6057abd6859e60562a4008
/Cpp/300_LongestIncreasingSubsequence/002.cpp
ebe7aa783d89f3b0a11a4586326cabec7ff9507d
[]
no_license
NeighborUncleWang/Leetcode
988417721c4a395ac8800cd04e4d5d973b54e9d4
d5bdbdcd698006c9997ef0e368ffaae6f546ac44
refs/heads/master
2021-01-18T22:03:27.400480
2019-02-22T04:45:52
2019-02-22T04:45:52
36,253,135
0
0
null
null
null
null
UTF-8
C++
false
false
382
cpp
002.cpp
class Solution { public: int lengthOfLIS(vector<int>& nums) { vector<int> result; for (int num : nums) { auto it = lower_bound(result.begin(), result.end(), num); if (it == result.end()) { result.push_back(num); } else { *it = num; ...
f0673771cf2ca525c3240696b50bd22b4a2e3c09
132c3adaa9f04851b3d9dc342190a30f1bc3cd45
/Kamikaze/Main_Kamikaze.cpp
b85d3c862a073b18993d7ff708df41aa59c7d87a
[]
no_license
blakesullivan/TRON-Kamikaze
72ae9191b6262be0fb5443d0cc987942de8af3e0
ce38db90449abcceb8a0bf41dbb37f1de07fbd1c
refs/heads/master
2020-09-03T08:33:10.604113
2019-11-04T05:24:45
2019-11-04T05:24:45
219,427,028
0
0
null
null
null
null
UTF-8
C++
false
false
2,235
cpp
Main_Kamikaze.cpp
//Blake Sullivan - Main.cpp #include "GameManage.h" #include <Windows.h> //The attributes of the screen const int SCREEN_WIDTH = 800; const int SCREEN_HEIGHT = 600; const int SCREEN_BPP = 32; //Bits Per Pixel SDL_Surface *screen = NULL; //the pointer to the screen in memory /* Mix_Chunk is like Mix_Music, only it's...
f026e45a7a1e5bcb72aac50772f18ab1d9d4a640
67977c4e86a5f3d0648084c900993dac6f956ab5
/week4/Lab4/Lab4/building.hpp
50a87eb03f36ac3cff7b2ba68d84d3b285c21c38
[]
no_license
cmatian/CS-162
86a050dfd3492b4d17b346ee19ca38a93a722b92
88c108b910289b9ebaaf63bbee452a33296046c3
refs/heads/master
2020-04-08T17:35:27.544340
2018-11-28T22:48:10
2018-11-28T22:48:10
159,573,650
0
0
null
null
null
null
UTF-8
C++
false
false
638
hpp
building.hpp
/****************************************************************** ** Name: Christopher Matian ** OID: 933308644 ** ** Header specification and function prototypes for Building class ** and functions. ** ** BUILDING.HPP *****************************************************************/ #ifndef building_hpp #...
90dd3a4365c00ce7a3ca11d368488a4add06ef3e
b2cb5f27d41449cf6d082478e0ee016efe2c35cc
/test/test_main.cpp
bf9403b6d3575f59b01189e7fbc2494d712168ab
[]
no_license
AndrewHegman/ProgrammableFridge
02e8d9c8166a465dd7d0e62df4f83ab34ad46741
9cd17f16dbc391064018fe9f878335b8b28516a8
refs/heads/Arduino
2020-04-13T21:27:00.275791
2019-01-22T14:07:21
2019-01-22T14:07:21
163,456,586
0
0
null
2019-01-03T19:31:51
2018-12-28T23:06:07
C++
UTF-8
C++
false
false
298
cpp
test_main.cpp
#include <TemperatureWatcher.h> #include <unity.h> void test_pass(void){ TEST_ASSERT_EQUAL(1, 1); } void test_fail(void){ TEST_ASSERT_EQUAL(0, 1); } int main(int argc, char **argv){ UNITY_BEGIN(); RUN_TEST(test_pass); RUN_TEST(test_fail); UNITY_END(); return 0; }
6cf2b011dd413fb81d5f482ba43ad287d261ae0b
f1eb1dc6983029992e581079e56e58b76a0054f7
/limited/tests/unordered_map_insertion_test.cpp
3edaae55fdacbdf30060ca63178f84183a8494c4
[ "BSL-1.0" ]
permissive
sodmitriev/Extened-Associative-Containers
3f99ddcd57bc25a2428b5c3c168d300cb154e45c
7037c50e36cd2162a98a0dc63107dc5f1793797c
refs/heads/master
2020-09-27T13:38:06.228913
2019-12-11T19:56:33
2019-12-29T19:41:06
226,529,947
0
0
BSL-1.0
2019-12-11T19:57:19
2019-12-07T14:49:57
C++
UTF-8
C++
false
false
73,042
cpp
unordered_map_insertion_test.cpp
// Copyright 2019 Sviatoslav Dmitriev // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt #include "../unordered_map.h" #include <unordered_set> #define CATCH_CONFIG_MAIN #include <catch.hpp> #define GENERATE_ONE(a, b)...
ea66cff77da2da63a24400c5c9c43b2ecd345c7f
aa1c32385121b87af4f1e22a833ef36840565029
/336.cpp
801d12e005c6e3c144e09f9b8c77138e7ea4b5df
[]
no_license
AsifWatson/UVa-Online-Judge
d4ba1d99a10991347b81a21b33e14a18fc36805f
831e8306b61eb550d525333d76e9458fe3c1bd38
refs/heads/master
2020-04-11T09:47:57.705730
2020-02-27T09:46:30
2020-02-27T09:46:30
161,692,126
0
0
null
null
null
null
UTF-8
C++
false
false
3,087
cpp
336.cpp
#include<bits/stdc++.h> #define MAX 350 using namespace std; map<int,int> m; vector<int> adj[MAX]; int visited[MAX]={0}; int level[MAX]; void addEdge(int v,int e) { adj[v].push_back(e); adj[e].push_back(v); } void bfs(int s) { for(int i=0;i<MAX;i++) { visited[i]=0; } ...
3c8ab20419546572ea0036f5cdb73f69e1f41ce5
7f25ac596812ed201f289248de52d8d616d81b93
/eggeek/codeforces/698B.cpp
a837ca950d6b25c5a52b16ef969097c124abc762
[]
no_license
AplusB/ACEveryDay
dc6ff890f9926d328b95ff536abf6510cef57eb7
e958245213dcdba8c7134259a831bde8b3d511bb
refs/heads/master
2021-01-23T22:15:34.946922
2018-04-07T01:45:20
2018-04-07T01:45:20
58,846,919
25
49
null
2016-07-14T10:38:25
2016-05-15T06:08:55
C++
UTF-8
C++
false
false
1,474
cpp
698B.cpp
#include <bits/stdc++.h> using namespace std; #define ALL(a) (a).begin(), (a).end() #define SZ(a) int((a).size()) #define LOWB(x) (x & (-x)) #define UNIQUE(a) sort(ALL(a)), (a).erase(unique(ALL(a)), (a).end()) #define INF 1e9 #define INF_LL 4e18 #define rep(i,a,b) for(__typeof(b) i=a; i<(b); ++i) typedef long long ll; ...
e983342fa0b25f4b7f26c8c68bb8270090d1e9b4
779a71666ae45220828ca681edb8d10930a0133e
/21-5-27/21-5-27/demo.cpp
2b553d1e862ed638fab2ceff3cdc929ea3c060a9
[]
no_license
zhanghaoyu020418/winter-practice
4374a651066bb80f5ca6d7a15093a89f730831f5
9b47fbb2dc640e38460c88f9e0a103745ab47326
refs/heads/master
2023-06-17T19:42:13.020845
2021-07-13T00:32:25
2021-07-13T00:32:25
331,566,065
1
0
null
null
null
null
GB18030
C++
false
false
623
cpp
demo.cpp
#define _CRT_SECURE_NO_WARNINGS 1 #include <iostream> using namespace std; int main() { int i = 0; //if (i > 0) // cout << 1 << endl, i--; //using zhy = int; //for (zhy i = 0; i < 9; i++) // cout << i << endl; //decltype((i)) a = i; //a += 10; //cout << i << endl; // 可以权限缩小 // 但是不能权限放大 ...
c143666d3b7d5a0e4c1f940c8b0c327b93233405
880ba6f0ad1090d5c1d837d0e76d1d767ebe20d8
/source/database/db246.cpp
f4efaab464a4c1934df49eb40cbc605ac91cc737
[]
no_license
jetma/adso
7657e02978c0afdc35c66a67771841ddbed69f17
56fd41696a542cc9a80da60a6ffe06ebfb2e67f3
refs/heads/master
2020-06-18T12:32:10.407939
2019-03-03T08:49:52
2019-03-03T08:49:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
86
cpp
db246.cpp
#include "db246.h" Db246::Db246() { #include "db246.dat" }; Db246::~Db246() {};
d6eca859a7b7f2e40604037f8eebd7b962c71a49
ef2256000bf1544db1d097fd8a3ca3be8cbf93e2
/main.cpp
14a205e01704b234ecd7df2bfcf7e3ef310af28f
[ "MIT" ]
permissive
paperrune/WinAPI-Wav
82ff38ba8143abf5bffa9ef9cd263fb6901aad68
aefea112e969c83a082378e9472049be4a0bc215
refs/heads/master
2021-09-04T00:27:22.362944
2018-01-13T08:40:45
2018-01-13T08:40:45
109,534,673
0
0
null
null
null
null
UTF-8
C++
false
false
2,012
cpp
main.cpp
#include <thread> #include "Wav.h" int main(){ Wav wav("BalloonPop01.wav"); // wav.Load("BalloonPop01.wav"); printf("Play\n"); wav.WavToBuffer(); wav.Play(); // create wav from data { unsigned char *data; int length_data; int nChannels; int nSamplesPerSec; int wBitsPerSample; ...
b4a1f6e7275f8fe3148d1cf3d745a5fa5677261e
ec9106a5a1c91077f2aef585fb5baa4d29fdc480
/Withdrawal.cpp
c9542d0286f5cdb86563f817b727cc38dc05663e
[]
no_license
mosobhy/ATM-Software-System
9b246a3add3d7d99554cdfa988421f7efcedb0b7
d65baf870c70c9593ef59b2d6431fe7642c07549
refs/heads/main
2023-07-11T17:09:32.063628
2021-08-06T14:32:25
2021-08-06T14:32:25
362,509,407
0
0
null
null
null
null
UTF-8
C++
false
false
3,703
cpp
Withdrawal.cpp
// Withdrawal.cpp #include "Withdrawal.h" #include <iostream> using namespace std; static const int CANCELLED = 7; // constructor Withdrawal::Withdrawal(int accountNubmer, Screen screen, BankDatabase bank , CashDispenser cashDispenser, KeyPad keypad) // invoke the parent constructor to initi...
9db019278f0af3521a36e5abd1685e04eeb5c35e
b487cbd289394844c65dc448d2ba075771f5d7eb
/51nod/1082.cpp
c4e3fa146956af9571b5ae6d75f3835acc23e95d
[]
no_license
zyw3000/ACM-CODE
ce7155188a3c98a8942ac98ee5d4000bd0644be1
a34a7463fac7919af9dc7de9fad0d96c7f0920ea
refs/heads/master
2021-01-01T03:32:41.763583
2016-10-31T02:52:52
2016-10-31T02:52:52
59,165,133
0
0
null
null
null
null
UTF-8
C++
false
false
765
cpp
1082.cpp
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <iostream> #include <algorithm> #include <vector> #include <string> #include <queue> #include <map> #include <set> #include <stack> #define rep(i,n) for(int i = 1; i <= n; i++) using namespace std; #define LL long long LL res[1000005...
e445c2e4ea60d78a97064d11a88efd43d10f8b39
56c632b232b00d122eb922ef88a3714704ee8980
/Miscellaneous/C++/GraphAlgorithms/Floyd.cpp
7c92ab1f3a0ed70d0ead94eea5199ebe4c9bbe84
[]
no_license
thsmcoding/P_Projects
8b48dc0923c1fba8c7c782b415ff8a64c35e4acf
5e02dd6ad156c221adf3d3a3dac0fd97c47d3ba2
refs/heads/local-experiments
2023-05-12T00:43:45.617007
2021-03-04T22:42:18
2021-03-04T22:42:18
194,916,376
0
0
null
2021-06-04T02:28:18
2019-07-02T18:35:52
JavaScript
UTF-8
C++
false
false
2,586
cpp
Floyd.cpp
#include "pch.h" #include "Floyd.h" bool existsNegativeCycle(vector<vector<double>>distances) { int vertices = distances.size(); int count = 0; for (int i = 1; i < vertices; i++) { vector<double> current_node_distances = distances[i]; if (current_node_distances[i] < 0) count++; } cout << "NUMBER OF NEGATI...
439417e2548021b86660c97e7d036f1f51d0e6eb
c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64
/Engine/Source/ThirdParty/WebRTC/rev.9862/include/Win64/VS2013/include/talk/media/webrtc/simulcast.h
d96ccd07dd0782d0cc21063c50755356317319d0
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
windystrife/UnrealEngine_NVIDIAGameWorks
c3c7863083653caf1bc67d3ef104fb4b9f302e2a
b50e6338a7c5b26374d66306ebc7807541ff815e
refs/heads/4.18-GameWorks
2023-03-11T02:50:08.471040
2022-01-13T20:50:29
2022-01-13T20:50:29
124,100,479
262
179
MIT
2022-12-16T05:36:38
2018-03-06T15:44:09
C++
UTF-8
C++
false
false
4,641
h
simulcast.h
/* * libjingle * Copyright 2014 Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the fo...
e24d3083fdea6ef9295e6e8675b50bce38d712d3
b1a49bd5dcac6e6b28a6850c6f07daa04715ee05
/grammer_anaylse/grammer_anaylse.cpp
40797dab249682de8cdde0a5a4699be9859068ac
[]
no_license
XiaoyuanXie/dragon
a0086f727a6319bd1b2503f4d31f2437f5d73380
892d6bfe193577ffb765cc79b9b40551997410ef
refs/heads/master
2021-05-29T11:25:04.306859
2015-05-28T13:42:24
2015-05-28T13:42:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,014
cpp
grammer_anaylse.cpp
/// \file grammer_anaylse.cpp /* ------------------------------------ Create date : 2015-05-26 12:39 Modified date: 2015-05-28 09:40 Author : Sen1993 Email : gsen1993@gmail.com ------------------------------------ */ #include <iostream> #include <unordered_map> #include <string> #include <vector> #include <...
17955e194699ecd5df2427772f4ad718d9fde8cc
86908a017b44cd07963eedd4325c99d410f02395
/GUICraft/headers/amyCanvas.h
a4defd34b667cc94b5159bfee0d1db66ef099c7f
[]
no_license
laoniu2020/MedicalTile
a8ebf9604f2f76cef7740d07e6d20419127950dd
6d0f172ae863c9d1a3176d2933ff0a5440888f50
refs/heads/master
2021-05-29T06:03:36.556875
2015-10-04T15:10:05
2015-10-04T15:10:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
907
h
amyCanvas.h
#pragma once #include"GuiMacro.h" #include<vector> #include<qwidget.h> using namespace std; class amyLing; class GUI_INTERFACE amyCanvas:public QWidget { public: amyCanvas(QWidget *parent = 0); ~amyCanvas(); virtual void mousePressEvent(QMouseEvent *event); virtual void mouseMoveEvent(QMouseEvent * event); virtual...
571ea3f31ae277626135244e5e090959d813cf9d
c89d83d50ffbfe2c7dead921dce4351162b1b876
/may_2020/translation.cpp
61bd885b24524fd2c9cc6fe316d2546c8db5ff5f
[]
no_license
shadabeqbal/codeforces
f261e6793760b76ad0cbea17343a248cddb88dac
1d12dbd980ccdb9bdc721e24311c3787c81e9f7c
refs/heads/master
2022-11-06T06:59:47.644997
2020-07-01T16:44:53
2020-07-01T16:44:53
267,477,766
0
0
null
2020-05-29T20:07:42
2020-05-28T02:49:41
C++
UTF-8
C++
false
false
864
cpp
translation.cpp
/* // // // // \\// \>> //\\ // \\ Author: Shadab Eqbal Created on: "30-05-2020" Name: A. Translation Link: https://codeforces.com/problemset/problem/41/A */ #include <iostream> #include <vector> #include <algorithm> #include <map> #include <stack> #include <queue> #inc...
e79f2181fff81f929860cf1f212242a46e0cfe36
956bda043789c5587142afcde8ab70b32cf494aa
/Polje_brzina/velocity_functions.h
837c2727ef7a4dbaa21070ac6a47c35c2d4ae27b
[]
no_license
Kuljat991/Velocity-field
44693f261c7e6d9897e1e0cd6346762d7b71df71
a3d087a54dd21816f03192373e7515d443bc1573
refs/heads/master
2020-03-22T03:29:35.987737
2018-07-02T12:58:49
2018-07-02T12:58:49
139,435,418
0
0
null
null
null
null
UTF-8
C++
false
false
1,244
h
velocity_functions.h
#ifndef VELOCITY_FUNCTIONS_H #define VELOCITY_FUNCTIONS_H #include <vector> typedef std::vector< double > state_type; /** * Testna f-ja 1 * dx/dt = 1 * dy/dt = cos(t) * Ocekujemo: * x = t + x0 * y = sin(t) + y0 */ void sinusoida ( const state_type &/*state*/, state_type &dxdt , const double t ); ...
ca49d08c597c87061582c0ad764645e1084f5497
cb3239595fcc166cfcbd185c0aecbe1da35daaef
/include/Matriz.h
a6a2caf7dfa1a214f3d625e63248036954415f31
[]
no_license
ianfreitas1/TrabalhoGrafos2
da809d8f4468872f0947ec8dcdc0c8f126ba3658
4ef4afefe8cce3f9571ee816dd7d070aebcc2acd
refs/heads/master
2020-03-28T00:16:55.984128
2018-11-26T01:20:29
2018-11-26T01:20:29
147,390,961
0
0
null
null
null
null
UTF-8
C++
false
false
604
h
Matriz.h
#ifndef MATRIZ_H_ #define MATRIZ_H_ #include "Grafo.h" #include <string> #include <vector> #include <tuple> // struct int1bit{ // int x:1; // }int1bit; // using namespace std; class Matriz : public Grafo{ public: Matriz(std::string path); ~Matriz(); void Grau(); vector<tuple<int...
fe0d35d7eec8a2857251386eb9add65f6b412c11
74ad260319522ef4902f79c119cbdcebd86762c0
/solvers/CoinAll-1.6.0-win64-intel11.1/include/coin/CouennePrecisions.hpp
d087b607307c2fe0c5d75d2ee3c0f20994c44150
[]
no_license
johnpaulguzman/MINLP-Solve
84251e5131ff425ef7e3bac76d1fd360b44a02c8
0a475ac59020aacecbda165b3af6055d1c9aa10c
refs/heads/master
2020-12-25T18:51:43.999191
2017-06-29T20:16:06
2017-06-29T20:16:06
93,992,900
0
0
null
null
null
null
UTF-8
C++
false
false
1,091
hpp
CouennePrecisions.hpp
/* $Id: CouennePrecisions.hpp 571 2011-05-09 13:26:44Z pbelotti $ * * Name: CouennePrecisions.hpp * Author: Pietro Belotti * Purpose: constants for evaluation procedures * * (C) Carnegie-Mellon University, 2006-10. * This file is licensed under the Eclipse Public License (EPL) */ #ifndef COUENNE_PRECISIONS...
e06d665cdd93a0a3b8bc1c04cd0154ff8035ac3f
a93987f358caecd2f2b1d9f06a5546acb2767ad5
/08_Multiplayer/Networking/src/SFML-Book/server/main.cpp
799844b9ffea85d8234a076b88dde732ea2fca62
[ "BSD-2-Clause" ]
permissive
Clever-Boy/SFML-book
5787d9344a9a21c8340f714db94cc00f89f58f20
526f96a8933de021750843fbb86e37372cb3a8f0
refs/heads/master
2021-01-18T10:04:45.497486
2016-07-15T13:19:44
2016-07-15T13:20:22
65,650,868
2
0
null
2016-08-14T05:07:10
2016-08-14T05:07:08
null
UTF-8
C++
false
false
376
cpp
main.cpp
#include <SFML-Book/server/Server.hpp> #include <iostream> #include <cstdlib> int main(int argc, char* argv[]) { int port = 5678; std::cout<<"Usage is : "<<argv[0]<<" [port]"<<std::endl; if(argc >1 ) port = std::atoi(argv[1]); std::cout<<"Server start on port "<<port<<std::endl; book::...
06eb3e41b63a4723f95bdccfaf28ecc82a6f47f8
6c40b92de13b247e682fe703899293b5e1e2d7a6
/hdu/1024/main.cpp
ca3b5601727985ea6d0a2454cee8d34d0a0c5cab
[]
no_license
ismdeep/ICPC
8154e03c20d55f562acf95ace5a37126752bad2b
2b661fdf5dc5899b2751de7d67fb26ccb6e24fc1
refs/heads/master
2020-04-16T17:44:24.296597
2016-07-08T02:59:01
2016-07-08T02:59:01
9,766,019
1
0
null
null
null
null
WINDOWS-1256
C++
false
false
1,110
cpp
main.cpp
//project name:1024 ( Max Sum Plus Plus ) //Author:¼üإجة±تض //Creat Date & Time:Sun Apr 22 21:27:13 2012 #include <iostream> #include <stdio.h> using namespace std; int f[1000003]; int best[2][1000003]; int N, M; int a[1000003]; int sum[1000003]; int main() { while (scanf("%d%d", &M, &N) != EOF)...
6eee41d9a45e64475e0d9b60468dd2a51aa9f53d
7219e61fe07bd6fc581dcd212f4a6c82f2ec2be9
/Game6.0/core/客户端组件/游戏广场/GameFrame.cpp
a6e2676b5a1037079c8b76b740bfe03d0e01e9e8
[]
no_license
860git/whgame
5028006f02fb2e73f574b4482f59409edfce91c1
548170488da5c2d26ac2c8ba9085b0d37899d637
refs/heads/master
2021-08-10T20:54:41.195861
2019-03-21T15:31:17
2019-03-21T15:31:17
102,350,514
0
0
null
2017-09-04T10:42:51
2017-09-04T10:42:51
null
GB18030
C++
false
false
13,818
cpp
GameFrame.cpp
#include "Stdafx.h" #include "GameFrame.h" #include "GlobalUnits.h" ////////////////////////////////////////////////////////////////////////// //宏定义 #define BORDER_WIDTH 7 //边框宽度 #define TITLE_HEIGHT 95 //标题高度 //屏幕位置 #define LESS_SCREEN_X 1024 //最小宽度 #define LESS_SCREEN_Y ...
2e80d11208eacdacfed2e2cf9aa3ce8e1757689c
aa82c3e3be201e05225d31bda4e01ac577457d6f
/Src/FruitsAnimator/Edit/EditWholeSkeletonOP.h
e9b01c24a1c1feefd7d2f67897d32eff83123e50
[]
no_license
xzrunner/doodle_editor
8524493765676b821398acc090c0e7838e6e9647
78351087470cb38265f7a26317dcd116b8d02b0d
refs/heads/master
2020-03-22T18:55:22.851215
2018-07-10T22:17:30
2018-07-10T22:17:30
140,491,803
0
0
null
null
null
null
UTF-8
C++
false
false
813
h
EditWholeSkeletonOP.h
#ifndef _FRUITS_ANIMATOR_EDIT_WHOLE_SKELETON_OP_H_ #define _FRUITS_ANIMATOR_EDIT_WHOLE_SKELETON_OP_H_ #include "Dataset/WholeSkeleton.h" namespace FRUITS_ANIMATOR { namespace edit_whole_skeleton { class RotateBoneAOP; } class EditWholeSkeletonOP : public wxgui::ZoomViewOP { public: EditWholeSkeletonOP(wxgui::E...
2b52c11d3b15cb81f86678e97155363d883affa7
84fe0a2cfc951d3636272951cd2a4fa582ae557b
/TankWar/Source/TankWar/Private/TankPlayerController.cpp
b272e4c0d7d58a3aee736830e04717bc7d0508a5
[]
no_license
cristian67/TankWar3D-UnrealEngine4
e5a88abe646767e3043c7a6d0ae12ca10d9469a9
29342990334bb316450435206c721408ba01cf79
refs/heads/master
2021-10-16T15:19:07.333996
2018-12-28T13:13:23
2018-12-28T13:13:23
154,738,503
1
0
null
null
null
null
UTF-8
C++
false
false
2,852
cpp
TankPlayerController.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "TankPlayerController.h" #include "TankWar.h" #include "Engine/World.h" #include "TankAimingComponent.h" #include "Tank.h" class Tank; void ATankPlayerController::BeginPlay() { Super::BeginPlay(); if (!GetPawn()) { return; } ...
a668f6df2e38f9707324863fc4c5389c14c166d3
2c6494171023427fded3555ca6d13af7ea921843
/InterviewBit/backtracking/SUBSET/main.cpp
b1a731f304276551f9fc3de629e5e0b141003a2a
[]
no_license
monish001/CPP-Programs
7d835cb4ec59c03d7b402d7be91062d68a7001a5
406d1949a52d03bfec15beef4378729a2c284eee
refs/heads/master
2021-01-23T19:12:22.356388
2016-03-12T13:06:18
2016-03-12T13:06:18
1,692,308
1
0
null
null
null
null
UTF-8
C++
false
false
1,613
cpp
main.cpp
#include <string> #include <algorithm> #include <vector> #include <iostream> using namespace std; vector<vector<int> > result; void _subsets(const vector<int>& nums, const int startIndex, vector<int> setSoFar){ int nNums = nums.size(); if(nNums == startIndex){ result.push_back(setSoFar); return...
62a232cc323cd06369c0be8e220b61176fb7123e
721476f984dbbb7efe9e3aec6f0dbb305a4c47d8
/lab 5/lab5_3.cpp
3ea17344839cbe554e385753ffba2753dcbde024
[]
no_license
kogs11/T2004E_LBEP
13ab130910319d2255b86380b5dc2a5870a1d703
38641edff58efedd01f3df15fce80e8e009b5b13
refs/heads/master
2022-09-10T07:15:40.986560
2020-06-02T13:03:39
2020-06-02T13:03:39
262,034,491
0
0
null
null
null
null
UTF-8
C++
false
false
173
cpp
lab5_3.cpp
#include <stdio.h> int main(){ int s=0; for(int i=0,count=0 ;count<100 ; i++){ if(i%2!=0){ s+=i; count++; } } printf("Tong 100 so le >0 dau tien la:%d",s); }
54790c173ad97fdf702efe52eb741e4b60dd3763
333b58a211c39f7142959040c2d60b69e6b20b47
/Include/CmdServer.h
8f950d76b4ed82121c3089bc21f7365e79f738e0
[]
no_license
JoeAltmaier/Odyssey
d6ef505ade8be3adafa3740f81ed8d03fba3dc1a
121ea748881526b7787f9106133589c7bd4a9b6d
refs/heads/master
2020-04-11T08:05:34.474250
2015-09-09T20:03:29
2015-09-09T20:03:29
42,187,845
0
0
null
null
null
null
UTF-8
C++
false
false
9,015
h
CmdServer.h
/************************************************************************* * * This material is a confidential trade secret and proprietary * information of ConvergeNet Technologies, Inc. which may not be * reproduced, used, sold or transferred to any third party without the * prior written consent of ConvergeN...
8f3466310363e773bc46744f7f7b5e0cced0a529
6f28c80d2a04e8a178ce537ac79495dbd12aebb2
/cv_machine_learning/knn/knn.cpp
12461d0d24e664399339090e5421c208ed2fc497
[]
no_license
Frandy/machine_learning
383b6b082a175bc0e98935d85292d049b0761c5c
528f36905422f71be9533ebcadf6e9aab18b0cc1
refs/heads/master
2016-09-06T08:37:23.321570
2012-11-03T15:10:43
2012-11-03T15:10:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,218
cpp
knn.cpp
/* * knn.cpp * * Created on: Nov 1, 2012 * Author: chjd */ /* * knn, one of the simplest classification algorithm. * for a new point, it lookup its k nearest neighbors, and set the new point as the majority. */ /* * OpenCV中也实现了KNN算法, * 这里是OpenCV的doxygen文档关于KNN的部分, * http://www710.univ-lyon1.fr/~eguil...
175f1294d875e4515af3beb8f64cb3b7f0493dd9
6d088ec295b33db11e378212d42d40d5a190c54c
/contrib/mul/clsfy/clsfy_logit_loss_function.h
dae86f590510bebe8d31356c0ac7deb8afe0f496
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
vxl/vxl
29dffd5011f21a67e14c1bcbd5388fdbbc101b29
594ebed3d5fb6d0930d5758630113e044fee00bc
refs/heads/master
2023-08-31T03:56:24.286486
2023-08-29T17:53:12
2023-08-29T17:53:12
9,819,799
224
126
null
2023-09-14T15:52:32
2013-05-02T18:32:27
C++
UTF-8
C++
false
false
2,445
h
clsfy_logit_loss_function.h
// This is mul/clsfy/clsfy_logit_loss_function.h #ifndef clsfy_logit_loss_function_h_ #define clsfy_logit_loss_function_h_ //: // \file // \brief Loss function for logit of linear classifier // \author TFC #include <vnl/vnl_cost_function.h> #include <mbl/mbl_data_wrapper.h> //: Loss function for logit of linear class...
195f01129fb0953de69ee8ae4afe8f12de2797fe
c88a790764118bf4679f85c0c4b37d3dd99e3490
/seqlearningdecode/seq_ocr_chn_batch.cpp
c6286a0f2dc4d016691f57b8400cbe760180af8c
[]
no_license
swq-1993/ocr_record
40c120c1b4632731763843bdd6ae0e3c4c743217
4d168dd57d87add25d99170bbfd6cac97dd15398
refs/heads/master
2020-03-22T01:29:50.433144
2018-08-28T05:27:32
2018-08-28T05:27:32
139,309,006
0
0
null
null
null
null
UTF-8
C++
false
false
34,095
cpp
seq_ocr_chn_batch.cpp
/*************************************************************************** * * Copyright (c) 2016 Baidu.com, Inc. All Rights Reserved * **************************************************************************/ /** * @file seq_ocr_chn_batch.cpp * @author xieshufu(com@baidu.com) * @date 2016/12/23 13:28:08 ...
6e9982d18c721a759f2ccb02e7a7aa6784b27682
4031667e7a2068314d2be3ae4e9d3f897f42b314
/code-make/cmake/use_boost/boost.cpp
34682b48c76cddb48c0911cc164589d27f701bff
[]
no_license
xeonye/kb
c04d4bebf215466a5dc887b18b1b48a6d336ed09
80d3a09ba45f6a0dd04114412ae3e962a5868097
refs/heads/master
2020-12-06T00:42:35.289305
2020-01-06T22:02:21
2020-01-06T22:02:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
775
cpp
boost.cpp
#include <iostream> #include <cstring> #include <vector> #include <fstream> #include <bitset> #include <boost/lexical_cast.hpp> #include <regex> #include <gmock/gmock.h> // g++ -g -std=c++0x t_override.cpp using namespace std; // ={========================================================================= // string-...
4a34a3d331867946cf740a4015f27365e1974da1
f1122a0708d9250944cfd380c439c7e70fcf605b
/src/product.h
0dc6a9972f7964e2624bb2c29f201fffbc372eb1
[]
no_license
alexoff13/HashTable
c7a89af32eb94a5e4805e9a3b2c32b2f9bdb0847
a322173f9e51a525230d9e23f72de922392b890f
refs/heads/main
2023-03-26T07:58:07.689789
2021-03-22T11:57:01
2021-03-22T11:57:01
347,633,662
0
0
null
null
null
null
UTF-8
C++
false
false
1,362
h
product.h
#ifndef HASH_TABLE_PRODUCT_H #define HASH_TABLE_PRODUCT_H #include <utility> #include "iostream" #include "string" using namespace std; class product { public: string name; unsigned long barcode; string dateOfPurchase; string dateOfExpiration; product(string Name, unsigned long Barcode, string D...
6b8016d6cf6c1a28aa44889f066710873671c4d5
1a90ec74dc103a89c6696e4985cc5821ed9fbbca
/thrift/gen-cpp/adserver_types.h
007e8721c09a8f3bb7aedb2c9f161edb4e6e234d
[]
no_license
baodier/advertise_lab
24801590535be49ad2b92089cbec42bb820f2f50
e4aa5aaefde8a0d7a820af8a0db4999331498908
refs/heads/master
2016-09-06T09:18:45.419273
2015-01-18T16:04:30
2015-01-18T16:04:30
28,140,628
0
1
null
null
null
null
UTF-8
C++
false
true
2,136
h
adserver_types.h
/** * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #ifndef adserver_TYPES_H #define adserver_TYPES_H #include <iosfwd> #include <thrift/Thrift.h> #include <thrift/TApplicationException.h> #include <thrift/protocol/TProtocol.h> #inc...
024fbf2b100036441b6b5d4cb64703c10ffd53b9
0d593477c06b373039a39a7a1de1d7a13edab2c1
/OOPS/cpp/negative and positive no.cpp
a2f77509d408ed3f1b2674d2303474cd2fb18635
[]
no_license
sartajroshan/aptitude-problem
47f8346d244bd631b924c036fc0d4c37f16d6ad8
76d04219f62e31ed8c5c1e127c3a0a2904974c87
refs/heads/main
2023-08-22T21:41:58.273081
2021-10-25T09:13:33
2021-10-25T09:13:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,071
cpp
negative and positive no.cpp
/* Write C++ program to store set of negative and positive numbers using linked list. Write functions to a) Insert numbers b) Delete nodes with negative numbers c) Create two more linked lists using this list, one containing all positive numbers and other containing negative numbers d) For two lists that are sorted; Me...
a4476732348d009b454bf5d3b99a0f0b67d53886
a8f78b56beed85650593f7aa82ce6de74b8ff518
/ghost_original.h
49bb8b1982ebaee7ca8bfea39552f28837f209b2
[]
no_license
Chialiang86/Two-Player-Pacman-Game
12a839c3886c4ff9502d24200c1ef594714f1348
7d0d9dddfc891d3741c8705e17d2ba1f4a189cf9
refs/heads/master
2022-04-19T01:02:21.491023
2020-02-14T10:04:16
2020-02-14T10:04:16
240,476,748
1
0
null
null
null
null
UTF-8
C++
false
false
823
h
ghost_original.h
#ifndef GHOST_ORIGINAL_H #define GHOST_ORIGINAL_H //This is a virtual class #include <QWidget> #include <QLabel> #include <QPixmap> #include <QTimer> #include <cstdlib> #include <iostream> #include "map_info.h" using namespace map_info; using namespace std; class ghost_original : public QWidget { Q_OBJECT public:...
e80d5422c166114d3dba5759854d9530e079a90c
ba24159ef4ad85aaf3606e1cdc4f7810f60a6024
/mesh.h
2b4ccc898656286a8642639ec649c5f77dbbe609
[]
no_license
HindrikStegenga/WMCS006-ACG-PN-Quads
1c4f0f1448303c034e6e5978dac2cf95c878f8da
5107859e98cd216e178575b838840ba5ce882257
refs/heads/main
2023-02-13T01:50:53.804304
2021-01-18T14:44:21
2021-01-18T14:44:21
312,584,820
0
0
null
null
null
null
UTF-8
C++
false
false
2,598
h
mesh.h
#ifndef MESH_H #define MESH_H #include <QVector> #include "patch.h" #include "vertex.h" #include "face.h" #include "halfedge.h" #include "objfile.h" //#define MAX_INT ((unsigned int) -1) class Mesh { public: Mesh(); Mesh(OBJFile *loadedOBJFile); ~Mesh(); inline QVector<Vertex>& getVertices() { re...
da924ba6aa08574df88b4d8e734e08ad8135402a
6d61c703a8bf21504d81eea52f889aa31fea1a02
/cc_include/constants.hpp
726609e833b103b9d6052c0b16610d22d2129102
[ "MIT" ]
permissive
pit-ray/TxEditorCCTool
28eeb901c46e6bc63ea2a876801d82648786bcf8
903180082db5ddc80009608e46630f6cfc026eaf
refs/heads/master
2021-04-17T08:48:40.177079
2020-08-25T02:39:38
2020-08-25T02:39:38
249,430,605
0
0
null
null
null
null
UTF-8
C++
false
false
2,612
hpp
constants.hpp
#ifndef CONSTANTS_HPP #define CONSTANTS_HPP #include <type_traits> //enum classを範囲forで扱えるようにするマクロ #define GENERATE_ENUM_ITERATOR(ENUM_T)\ inline ENUM_T operator ++( ENUM_T& x ) { return x = static_cast<ENUM_T>( std::underlying_type<ENUM_T>::type( x ) + 1 ) ; }\ inline ENUM_T operator *( ENUM_T x ) { return x ; }\ in...
4a4ea6e158b03b7f3d630cf6abb5c62c9052a694
e25326f06d3c20a89095dc446f09f99a52632e0a
/Lab3/gui.h
323f62b24c5c19f033ef8bccea83490dc9bb11b3
[]
no_license
Cvelth/university_probability_theory_project
e64c3db8630b66a2327c33d7eaec1db7071356fa
7a06961892bbf11c6b1cfdcfba13e68ddfcfdc3f
refs/heads/master
2021-06-10T15:16:58.790853
2016-12-13T07:59:04
2016-12-13T07:59:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
274
h
gui.h
#ifndef GUI_H #define GUI_H #include "ui_gui.h" #include "Graphs.hpp" class GUI : public QWidget { Q_OBJECT public: GUI(QWidget *parent = 0); ~GUI(); protected slots: void refresh(); void setData(Data d); private: Graphs* c; Ui::GUIClass ui; }; #endif // GUI_H
2e5e24fd133b7659febefe1de0ecb7d569bc1dba
9d2f0d0220ddd28281c14f4bd74d23875c079a91
/include/RadonFramework/Core/Pattern/Event.hpp
975fbf6f47e203ae0ad97a7d8c9b2757713b36fa
[ "Apache-2.0" ]
permissive
tak2004/RadonFramework
4a07b217aa2b5e27a6569f6bb659ac4aec7bdca7
e916627a54a80fac93778d5010c50c09b112259b
refs/heads/master
2021-04-18T23:47:52.810122
2020-06-11T21:01:50
2020-06-11T21:01:50
17,737,460
3
1
null
2015-12-11T16:56:34
2014-03-14T06:29:16
C++
UTF-8
C++
false
false
5,167
hpp
Event.hpp
#ifndef RF_CORE_PATTERN_EVENT_HPP #define RF_CORE_PATTERN_EVENT_HPP #if _MSC_VER > 1000 #pragma once #endif #include <RadonFramework/Collections/List.hpp> #include <RadonFramework/Core/Pattern/Delegate.hpp> namespace RadonFramework::Core::Pattern { class IObserver; template <typename _ARGU = const IObserver*> class E...
c550bc78ab635d8403ef14558eb88e98be0920bc
bb46956c0e7d1c7076ccddab9d3fcb1749bc36ed
/Decorator/Decorator.cpp
2deb1f1eb2efb1a131bdf9c886c0287a6fcc38f0
[]
no_license
64Teenage/Design-Pattern-Cpp
32e9b4937c0c714e031b2af47b7bd81a5c59faf0
fcf17c1b4092f6470cc581a92f6acc8e7fe57706
refs/heads/master
2020-04-04T10:26:29.613667
2018-12-11T14:11:28
2018-12-11T14:11:28
155,855,052
0
0
null
null
null
null
UTF-8
C++
false
false
1,599
cpp
Decorator.cpp
#include <iostream> #include <string> using std::string; using std::cout; using std::endl; class Component { public: virtual string getDescription() = 0; }; class ConcreteComponent : public Component { private: string m_strDescription; public: ConcreteComponent(string strDescription) : m_strDescription...
3f37e2341a7525904af51de83c2355cf7d395b09
0c0ef0973bc1a95fdff27509cc89138b78ef6aff
/crypt_crt/SRC/crt_math.cpp
57d595c6a39034fc47c94e694383cf32fd8cec98
[]
no_license
notphage/crypt_mc
b1e6ef0357bd56136968fd4f703615031239f97e
d9a11b0bfdf28ab73b5c6fb3c83010700c7bf70d
refs/heads/master
2023-03-12T20:31:52.289724
2020-05-18T01:19:12
2020-05-18T01:19:12
192,854,438
1
0
null
null
null
null
UTF-8
C++
false
false
1,940
cpp
crt_math.cpp
template <typename T> T abs_template(T t) { return t > (T)0 ? t : -t; } float fabs(float f) { return abs_template<float>(f); } extern "C" float copysignf(float x, float y) { return y == 0.f ? fabs(x) : fabs(x) * y / fabs(y); } extern "C" double log2(double a) { union { double d; long long x; } u = { a }; return...
b3841b51fe37ac4d9e6fa292032d62555c0c25a1
f9759b3118826bb4787fe8ace58307523763cdfb
/DAY8 B/main.cpp
2b6a07810368653ba6db9d87e2f026ec4edea52d
[]
no_license
Abraham-WH/2017ACMtraining
72eb3ec2d6d6760da22b671c05764db6bb57ed27
048ab6ae3b94b45b771208d2fbcbf16b47ec5c6d
refs/heads/master
2020-04-10T21:11:56.368966
2018-12-11T07:00:28
2018-12-11T07:00:28
161,290,523
0
0
null
null
null
null
UTF-8
C++
false
false
726
cpp
main.cpp
//u = 3 * i can *2,can - 6 * i (3u+i)*2||-6 ==1 #include <iostream> #include <cstring> #include <string> using namespace std; int main() { int testcase; cin>>testcase; while(testcase--) { string p="MI"; int counti=1,countu=0,counti2=0,countu2=0,cm=0,pos=0; string tar; cin>>tar; for(int i=0;i<tar.lengt...
f2f436091654f802b7b953bfdb8638c49b9074fd
d2241838244257729d5632d1eea423f31279b596
/realtimevaluefortcp.h
e0cee96ea8e7ad37f167965d8508a58f98951f8d
[]
no_license
Myzhencai/HeatControl
38a392e49b47bfba2ad500fae9b3ece0885f56ea
8e1e1d63a0bafb90f872ec7a4e70b67b55a35f3b
refs/heads/master
2023-05-30T01:49:14.362244
2021-06-11T03:55:25
2021-06-11T03:55:25
375,895,746
0
0
null
null
null
null
UTF-8
C++
false
false
1,273
h
realtimevaluefortcp.h
#ifndef REALTIMEVALUEFORTCP_H #define REALTIMEVALUEFORTCP_H #include <QObject> #include <QThread> #include <QByteArray> #include"heatcontrolmenu.h" class RealtimeValueForTCP:public QThread { Q_OBJECT public: RealtimeValueForTCP(); RealtimeValueForTCP(HeatControlMenu* TempMenu,bool Tempvalue):HeatControlMe...
be5679033e37b7d88f202b86b4c5dbca291b9090
bdd4abdeb988eb5f4bdb14af8e720a80df300910
/Shapes.cpp
881762c8724924a89ea6c6a6ebc0cad336b9e0a3
[]
no_license
mdu2017/algorithms-project
d436ee6a0d3885e4d937c9f78fff8dd543541b77
8ba796382ef2aa7a28591b0eeefb46474781074f
refs/heads/master
2020-08-03T03:00:07.361361
2019-10-04T21:21:31
2019-10-04T21:21:31
211,605,815
1
0
null
2019-09-29T05:00:31
2019-09-29T05:00:31
null
UTF-8
C++
false
false
4,668
cpp
Shapes.cpp
/* AUTHORS: Chris Helms * Adam Naumann * Garrett Yero, * Stirling Strafford * Gilbert Tao * ASSIGNMENT TITLE: Pac-Man * ASSIGNMENT DESCIRPTION: Emulates Pac-Man in C++ * DATE CREATED: 11/2/2017 * DUE DATE: 12/4/2017 * DATE LAST MODIFIED: 12/3/2017 */ #include "...
1c919873b5f644e3281184f61922846a39655f76
615e167705a2a7027202aa2f3aac35ecf25df948
/Projects/연습/ConsoleApplication1/ConsoleApplication1/문제3.cpp
0bfc8d9917018b8bd993edd6786997e490f63148
[]
no_license
wkdehdlr/VS-2017
9813efb14274ffd24341cd4de49040ea39020f24
0a6f24971b7c153050b447229800bd61f5d6ad6c
refs/heads/master
2021-08-19T01:51:42.715873
2017-11-24T11:54:04
2017-11-24T11:54:04
110,057,403
0
0
null
null
null
null
UTF-8
C++
false
false
615
cpp
문제3.cpp
#include<iostream> #include<vector> using namespace std; int main() { int x, y; int x1 = 0, y1 = 0, x2 = 0, y2 = 0; int x1n = 0, y1n = 0, x2n = 0, y2n = 0; vector<vector<int> > vec = { {1,4},{3,4},{3,10} }; x1 = vec[0][0]; y1 = vec[0][1]; x1n++; y1n++; for (int i = 1; i < vec.size(); i++) { if (vec[i][0]...
879155bee775b9b180ec8f694a5ffa92b09695c1
30871a624da21421ee839ad49a0b6f65f74b80bf
/Lectures Codes/Code (9)/Code/permutations.cpp
6e039f5b98452cbd66d93d751593b4711f220401
[]
no_license
bakurits/Programming-Abstractions
7b15dbe543951e74d543389cb0c37efd4ef07cb2
680a87b3f029fe004355512be70ba822d1cd5ca9
refs/heads/master
2021-01-19T19:14:26.673149
2017-07-19T18:21:16
2017-07-19T18:21:16
88,407,754
0
1
null
null
null
null
UTF-8
C++
false
false
1,677
cpp
permutations.cpp
/* File: permutations.cpp * * A program to list off all permutations of a master set. */ #include <iostream> #include <string> #include "set.h" #include "vector.h" using namespace std; /* This version of the function returns a Vector holding all * permutations of the string. */ Vector<string> permutationsOf(strin...
2ec92863f5829939f3e195b1c944551804a61553
f4173138b361d145422848b937e7c9775ee8aab0
/SP1Framework/PrintCredits.h
2af59974c8f1a5af0641c6ecd04ed29d0ee2bfd2
[]
no_license
theduckhorse/SP1Framework
65d9ea7dc7fd8fecb46e92839b98c5fc724d4cfc
b99fda305c62c7c776c963892d8640982fc42906
refs/heads/master
2022-09-29T08:09:44.308216
2016-09-03T07:13:22
2016-09-03T07:13:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
414
h
PrintCredits.h
#include <iostream> #include "Framework\console.h" #include <time.h> #include "game.h" #include <sstream> #include <vector> //template <size_t size_x, size_t size_y> using namespace std; //Must extern this only extern Console g_Console; //Dont extern here other than g_Console //extern char map[50][150]; void printCr...
bbbf59988958e9ec48c4976bb35a5f20990db905
6b53d6ad238c4accd27cf584284b4d6846e56554
/Sources/Pipeline/Assimp/AssimpLoader.h
32d09220cf1b386d077dd78aede6d1c14696a43f
[ "Apache-2.0" ]
permissive
IvanPleshkov/RedLiliumEngine
1dc5f25cabe2c703a648141122cf3482e24b9898
5e7c14d9c750db8054bde53b772e30e3682c2f1d
refs/heads/master
2021-12-31T20:23:17.584013
2019-04-07T14:29:05
2019-04-07T14:29:05
140,816,021
0
0
null
null
null
null
UTF-8
C++
false
false
623
h
AssimpLoader.h
#pragma once #include <Core/Common.h> #include <Render/RenderCommon.h> namespace RED_LILIUM_NAMESPACE { class Entity; class AssimpMaterial; struct AssimpImportOptions { bool optimizeMeshes = false; bool splitMeshes = false; bool generateNormals = true; bool saveCpuMeshes = true; bool generateGpuMeshes = true; ...
c5536d38386dfb22fcbfd6e22df0f709597012b0
57410b7bb61e7fb82f0cb949757cb5bba6966e93
/Logic Sim/IC.cpp
86765b191705bf8ecaf9159a1e8e439da6598aca
[ "BSD-3-Clause" ]
permissive
AntonSievering/Logic-Sim
88acb4d9a07f2bb79ec38c7e8416a093a1b8718b
039a4967dccb9d3348eb2480249cdef96d7e4fbc
refs/heads/master
2022-12-09T07:26:54.489945
2020-09-15T13:55:38
2020-09-15T13:55:38
282,175,732
0
0
null
null
null
null
UTF-8
C++
false
false
11,024
cpp
IC.cpp
#include "IC.h" Node::Node() { from = to = nullptr; bCharge = false; posFrom = posTo = 0; olc::Sprite *spr = new olc::Sprite(1, 1); spr->SetPixel(0, 0, olc::BLACK); pBlack = new olc::Decal(spr); spr->SetPixel(0, 0, olc::GREEN); pGreen = new olc::Decal(spr); } Node::Node(IC* from, IC* to, int posFrom, int posTo...
af954cb2a60021304649f318a608e90229cbf939
09abbfed45aefc46e648a875305f38f07fd6e6d0
/External/FEXCore/Source/Interface/IR/Passes/SyscallOptimization.cpp
eb5401107819b386d645f84ae0fad1d5cf5d1afb
[ "MIT" ]
permissive
FEX-Emu/FEX
804b02ce10f3cb446f6166470497cf79e760e05f
6cb0f52e9487e6ab7eaf57839f681ffa370b5149
refs/heads/main
2023-08-17T10:46:44.800259
2023-08-16T21:24:33
2023-08-16T21:24:33
245,352,386
1,460
99
MIT
2023-09-14T21:54:40
2020-03-06T07:07:03
C++
UTF-8
C++
false
false
2,860
cpp
SyscallOptimization.cpp
/* $info$ tags: ir|opts desc: Removes unused arguments if known syscall number $end_info$ */ #include "Interface/IR/PassManager.h" #include <FEXCore/IR/IR.h> #include <FEXCore/IR/IREmitter.h> #include <FEXCore/IR/IntrusiveIRList.h> #include <FEXCore/HLE/SyscallHandler.h> #include <FEXCore/Utils/Profiler.h> #include ...
88fd1bf6e59761015d22abfd76b89b5b3a980b55
53f90e1e4cfb68291e6bc78a813142fe6b7ba774
/螺旋矩阵 II.cpp
9f7a3f49ab2953d2828bdd11cd4763343369427a
[]
no_license
Bo-rrr/Exercises
6f7dfb3651d9458b8f77c78cdbca401ce5e5737a
2b379124527ae590f57ecfa2850384370dd13b56
refs/heads/main
2023-04-19T21:32:16.405656
2021-05-08T05:26:00
2021-05-08T05:26:00
316,713,003
0
0
null
null
null
null
UTF-8
C++
false
false
1,808
cpp
螺旋矩阵 II.cpp
class Solution { public: vector<vector<int>> generateMatrix(int n) { vector<vector<int>> res(n,vector<int>(n,0));//开辟二维数组 int loop = n/2;//每个圈循环几次,例如n为奇数3 那么loop=1,只循环一圈,矩阵中间的值需要特殊处理 int mid = n/2;//矩阵中间的位置,例如:n为3,中间的位置就是(1,1),n为5,中间的位置就是(2,2) int startx = 0;//定义每一圈的起始位置 int ...
4153657bf2d616284c8a1248abf2c73608f8c076
073f9a3b6e9defde09bdb453d7c79a2169c4a31b
/2015-09/s1-5-c.cpp
7b8a7df61aa1af96ce70bb8bd0e4a0ba31e5f48f
[]
no_license
kenrick95/code-archive
9dc1c802f6d733ad10324ed217bacd3d4b2c455f
72c420353e3aa7b18af6970b6a81f710c4f5d1b0
refs/heads/master
2021-03-24T12:47:52.016103
2018-07-08T13:22:46
2018-07-08T13:22:46
69,313,404
1
0
null
null
null
null
UTF-8
C++
false
false
1,015
cpp
s1-5-c.cpp
#include <iostream> #include <fstream> #include <cstdio> #include <cmath> #include <algorithm> #include <cstring> #include <string> //#include <bits/stdc++.h> #define INF 1000000007 #define INFLL 9223372036854775807LL typedef long long int64; typedef unsigned long long qword; using namespace std; /** * @problem * ...
7dedc5c713cba2041493053389d51fc86e3a02a3
16c7354e03e866fec6999dec6a6f87350826f59b
/MyCodes/MyCodes/Linked Lists/MergeTwoSortedLLs.cpp
07746045b1181599082341209e9235fa7f34539a
[]
no_license
kevindra/MyCodes
a57f69f59b5f48b9902f25b68c1eb010f8d025dd
1864a5b926fcf6db9ac266822bea5c66551573ca
refs/heads/master
2016-09-06T11:55:32.953922
2012-10-26T10:53:01
2012-10-26T10:53:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,449
cpp
MergeTwoSortedLLs.cpp
/** * Program to merge two sorted linked lists. */ #include <iostream> using namespace std; struct node { int val; node *next; }; node *createNewNode(int val) { node *np = new node; np->val = val; np->next = NULL; return np; } /** insert a node in the beginning of a linked list **/ void insert(node *&root, i...
6d787ee55dc84a77d5f804a16785daa2f3a9645a
f0b84e3432c02d67b93efeafbbf1a801fa21ded3
/ziy/Classes/scripts/ScriptPara/Script88_58_SetBattleBarrier.cpp
97ae97d10218b1640a221a9868a0f9c7a7804b0a
[]
no_license
qwe00921/game-1
d49a096f096b7de0a2da7764632b20ad929d4926
2c7bd14a75ee8cd65528309bca33033f170c813a
refs/heads/master
2021-05-14T19:10:16.374869
2017-05-27T09:18:06
2017-05-27T09:18:06
116,101,350
1
0
null
2018-01-03T06:38:41
2018-01-03T06:38:41
null
UTF-8
C++
false
false
2,198
cpp
Script88_58_SetBattleBarrier.cpp
#include "Common.h" #include "Scripts.h" #include "MapElem.h" int ScriptSetBattleBarrier::HandleScript() { if(frame == 0) { need_frame = delay1 + 1; } if(frame == delay1) { // if (set)//移除障碍物 // { // int size = history->elem_list->size(); // for (int index = 0; index < size; index++) // { // i...
a7e40b013477cf90824ebfc69f8771526a884a76
8421f12557650910fb4c290b9b1c5bb9521e34d7
/day06/ex00/toFloat.cpp
c3e6fa074290bc49f5952d3004f07df464baeb99
[]
no_license
tvideira/piscine_cpp
6a00cb320edb8737495e67305d86037e1d061083
9bcc92d8a7b3421552bc4755ee4016757ab22e9e
refs/heads/master
2023-06-01T03:18:48.652943
2021-07-03T04:19:53
2021-07-03T04:19:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,001
cpp
toFloat.cpp
#include "convert.hpp" void toFloat(char * input, int precision) { std::string str = input; // SPECIAL CASES if (str == "nanf") { std::cout << "char: impossible" << std::endl; std::cout << "int: impossible" << std::endl; std::cout << "float: nanf" << std::endl; std::cou...
369bd2db3b08f77871e47602020cd8cfd4646baa
7cdf9cde71694d73fc8f45f150a60e4c48551186
/src/bs_rect.cc
9c4fe9b8a22ed1907461bd6fa04a9f2203cd5c8f
[]
no_license
BorjaSerranoGarcia/Funciona
4944f20425e97e45a80c0449cc74471d873c2962
73606e97482c1249985fac16e6396e377d32787d
refs/heads/master
2022-11-05T01:35:47.109890
2020-06-20T20:00:49
2020-06-20T20:00:49
273,354,123
0
0
null
null
null
null
UTF-8
C++
false
false
3,745
cc
bs_rect.cc
/** * Author: Borja Serrano <serranoga@esat-alumni.com> * Filename: bs_backgorund.cc * * Implementation: background class */ #include "bs_entity.cc" #include "bs_rect.h" bsRect::bsRect() { pos_ = {0.0f, 0.0f}; width_ = 1.0f; height_ = 1.0f; rotation_ = 0.0f; scale_ = {1.0f, 1.0f}; ...