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
5080b553b219a3de4182605347a05bb65b879de5
a74a23ec493c789d0362e9327b3c5283ba3cdd7f
/src/Etat/Etat17.cpp
71095a6e7591e920af5627edcfb4ecc92ac02c31
[]
no_license
Hexanameless/Grammaires-Languages
71bdfe079fc2934f6d82e4e3f6b64cc96b3890c3
4f43021492d832414c1b06e1f2952f1a10c8192b
refs/heads/master
2016-08-12T21:36:06.104995
2016-03-30T17:12:06
2016-03-30T17:12:06
52,772,047
1
0
null
2016-03-28T21:05:18
2016-02-29T07:20:41
C++
UTF-8
C++
false
false
2,299
cpp
Etat17.cpp
/************************************************************************* Etat17 - description ------------------- début : 7 mars 2016 copyright : (C) 2016 par E.Bai *************************************************************...
cfbdd3589185540df53c292c1f4120610904056e
7fe9c825a46e0ce6250e05183cd065c258f777f4
/Code/graph_ques/nearestCloneColorNode.cpp
7515776a5ed114f35ae4d9cae9a98b24827f6652
[]
no_license
100sarthak100/DataStructures-Algorithms
5a550275c9da99e94ea303acac30db6b307af880
b1193665b417a2654767141c7a55ab6d04edd582
refs/heads/master
2023-03-04T17:41:48.381379
2021-02-20T12:57:52
2021-02-20T12:57:52
266,804,252
2
5
null
2020-10-25T03:09:09
2020-05-25T14:43:47
C++
UTF-8
C++
false
false
1,283
cpp
nearestCloneColorNode.cpp
// Input - // 4 3 // 1 2 // 1 3 // 4 2 // 1 2 1 1 // 1 // Output - // 1 #include <bits/stdc++.h> #define MAX 1000003 using namespace std; vector<int> adj[MAX]; bool visited[MAX]; int arr[MAX], c, id; void bfs(int i) { memset(visited, false, sizeof(visited)); queue<pair<int, int>> q; pair<int, int> p; ...
46b98fe378272f25df88d1a9c8a26839cbfa4492
ac39c71425ad819afb8d5dffbd6a48e92a7b9723
/packager/hls/base/media_playlist_unittest.cc
11ede8390a88ca63f114859db299097433d7260e
[ "BSD-3-Clause" ]
permissive
kongqx/shaka-packager
c4b18d6de55be546102a88b238d52e6b7ba479bc
3bad4ca70014b0b0ba5648aa2cab63df15348468
refs/heads/master
2020-12-02T23:00:49.574240
2017-06-29T22:23:53
2017-06-30T18:35:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
22,125
cc
media_playlist_unittest.cc
// Copyright 2016 Google Inc. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd #include <gmock/gmock.h> #include <gtest/gtest.h> #include "packager/hls/base/media_playlist.h" #...
c713e2df6690cca73c2c77cbd37bd028574b13d4
21fdd28b765b286204d709b3385031b0a438e510
/38-RatonesEnUnLaberinto.cpp
cf7ac83000d042276f66dfc490e9d6393d24e1d7
[]
no_license
BNeku/TAIS
4f39ee2c7b0ba9e89d4ea417f4302e51f618c4da
ba7fdb248aa681406909dddf4558637e6c3bb779
refs/heads/master
2021-07-01T13:45:25.480060
2021-01-17T17:42:43
2021-01-17T17:42:43
207,549,771
8
1
null
null
null
null
WINDOWS-1250
C++
false
false
2,196
cpp
38-RatonesEnUnLaberinto.cpp
//Nerea Jiménez González #include <iostream> #include <fstream> #include "GrafoDirigidoValorado.h" #include "IndexPQ.h" using namespace std; const int INFINITO = 1000000000; /* int llegan(const GrafoDirigidoValorado<int> &g, int S, int T, vector<bool> &marked){ int ratones = 0; for (int i = 0; i < g.ady(S).size(...
28518cf73f18c790338f007c4a6275c48b577212
50c74d83357e921a523e8d9b2a8e37522e180f94
/siglinux/unions/main.cpp
7d5ff2e50d2c2e36a48fd3f8eaf2a0d24578749c
[ "Unlicense" ]
permissive
JoeyCluett/supreme-chainsaw
6e74bec0caf463442e941477187ae01060a2dada
99e24a7d0cedd9a6943db5a9e58f990b86a07fed
refs/heads/master
2020-04-29T00:39:28.438351
2019-04-17T21:57:12
2019-04-17T21:57:12
175,702,367
1
0
null
null
null
null
UTF-8
C++
false
false
433
cpp
main.cpp
#include <iostream> using namespace std; void print_binary_format(int i32) { for(int i = 31; i >= 0; i--) cout << (((i32>>i) & 0x01) ? '1':'0'); cout << endl; } void print_binary_format(float f32) { union { int i32; float f_32; }; f_32 = f32; for(int i = 31; i >=...
20659f2bc037a26e0a676c4a95212ff2d46d2ea7
7fa81ad3432c68f1b08bcabb4cacfb8c3baf3546
/Mod3_b/RP1-a_QRE/RP1-a_QRE.ino
3d4ec92ac0414ca025597e58fe3a2e776fd2e9c9
[]
no_license
asantospt/EI_FApl_Labs
3c4aed220b5108b4df8d0b7c59ed0dd6d59c7c73
f380cb592a8a1b5b4c72ce6c85d15a0514b8c6bf
refs/heads/master
2021-09-04T19:47:08.670814
2018-01-21T21:13:37
2018-01-21T21:13:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
678
ino
RP1-a_QRE.ino
/** * @ex - Mod.3b - RP1-a * @brief - ler V_out do QRE * @date - 06/12 * @author - Afonso & Natanael * @state - OK */ /** * LIGAÇÕES: @Arduino 'Mega 2560' * 5V -> USB * GND -> breadboard * A0 -> sensor QRE1113 * * @Sensor de reflexão/proximidade 'QRE1113' * 1 -> 5V + R1 (130 kOhm) * 2 -> GND * 3 -> V...
3a03ce87de7554d94edb0afd2d3e44920a3314ba
67ca177b2d3cbef19c2cf196a509d87a46b0d646
/core/server/server.h
2b5bb9f23712c900548f7b8c877716e5c3be258a
[]
no_license
stopfaner/BelyashDB
0b9cdd262cf942692bcb6295cdc12d48371b7b4a
c143e301409bd0c9d71c44e9f3f66099d0dba573
refs/heads/master
2021-04-15T13:53:47.439934
2018-04-18T21:25:54
2018-04-18T21:25:54
126,597,268
0
0
null
null
null
null
UTF-8
C++
false
false
1,630
h
server.h
#pragma once #include <stdio.h> #include <string.h> //strlen #include <stdlib.h> #include <errno.h> #include <unistd.h> //close #include <arpa/inet.h> //close #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/time.h> //FD_SET, FD_ISSET, FD_ZERO macros #include <iost...
3153cc63263e1715319610fd0a301906d8103464
22a451347cf2938efecc97500dd5e699eeeb066a
/courseSchedule.cpp
6b9cfb9e38a2a7ea4a195a3d8c43800bc9b1a294
[]
no_license
galok8749/Graph_CSES
f5e382fc88eb53b3e423892d4a2157278356cf2a
0dd159576cee509a2217aba30af8cee7252ad14b
refs/heads/main
2023-06-17T02:17:04.731483
2021-07-17T05:31:36
2021-07-17T05:31:36
386,506,610
0
0
null
null
null
null
UTF-8
C++
false
false
858
cpp
courseSchedule.cpp
#include <bits/stdc++.h> using namespace std; int main() { int n, m, x, y; cin >> n >> m; vector<int> g[n+1]; vector<int> inDegree(n+1, 0); for(int i = 1; i <= m; i++) { cin >> x >> y; g[x].push_back(y); inDegree[y] +=1; } queue<int> qu; for(int i = 1; i <= n;...
8828b4b68852a6d277976e7e99b8f3c2107e85a2
4a0182f33147034ee4ff2b6ed6b1b2563aa046ad
/r/r/pc/cpp/ser/inc/CatheterSerialSender.h
7d698d64f24ac88dc93cc20723f29958d51b9ca4
[]
no_license
thibugio/obor
0b9227124b317df3068c6ea473ebf9ce93fdece1
078c4f477d2cb9cd5a52caae86abb60d85bf6a13
refs/heads/master
2020-12-31T00:17:46.228156
2015-11-01T20:29:22
2015-11-01T20:29:22
45,356,114
0
0
null
null
null
null
UTF-8
C++
false
false
766
h
CatheterSerialSender.h
/* CatheterSerialSender.h */ #ifndef CATHETER_SERIAL_SENDER_H #define CATHETER_SERIAL_SENDER_H #include <cstdint> #include <string> #include <stdint.h> #include "common_utils.h" #include "posix_serial_utils.h" class CatheterSerialSender { public: CatheterSerialSender(); ~CatheterSerialS...
86a0f23f16d2f67a2f19c7ae0ae9fc3c0e9db209
346c17a1b3feba55e3c8a0513ae97a4282399c05
/CodeGenere/photogram/cEqAppui_GL__TerFix_M2CPolyn0.cpp
1fb6dbe872cd56315177c3b7e33f4071976b4f93
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
micmacIGN/micmac
af4ab545c3e1d9c04b4c83ac7e926a3ff7707df6
6e5721ddc65cb9b480e53b5914e2e2391d5ae722
refs/heads/master
2023-09-01T15:06:30.805394
2023-07-25T09:18:43
2023-08-30T11:35:30
74,707,998
603
156
NOASSERTION
2023-06-19T12:53:13
2016-11-24T22:09:54
C++
UTF-8
C++
false
false
16,102
cpp
cEqAppui_GL__TerFix_M2CPolyn0.cpp
// File Automatically generated by eLiSe #include "StdAfx.h" #include "cEqAppui_GL__TerFix_M2CPolyn0.h" cEqAppui_GL__TerFix_M2CPolyn0::cEqAppui_GL__TerFix_M2CPolyn0(): cElCompiledFonc(2) { AddIntRef (cIncIntervale("Intr",0,3)); AddIntRef (cIncIntervale("Orient",3,9)); Close(false); } void cEqAppui_GL_...
d4129949a8f534dc4db4aa2f1774f1c045c37098
d31aed88f751ec8f9dd0a51ea215dba4577b5a9b
/framework/core/plugins_manager/sources/plugins_manager/pm_plugins_manager.hpp
6cc8b84c0f7b55a80b27c09beb1c3464ceb63bbb
[]
no_license
valeriyr/Hedgehog
56a4f186286608140f0e4ce5ef962e9a10b123a8
c045f262ca036570416c793f589ba1650223edd9
refs/heads/master
2016-09-05T20:00:51.747169
2015-09-04T05:21:38
2015-09-04T05:21:38
3,336,071
0
0
null
null
null
null
UTF-8
C++
false
false
2,787
hpp
pm_plugins_manager.hpp
#ifndef __PM_PLUGINS_MANAGER_HPP__ #define __PM_PLUGINS_MANAGER_HPP__ /*---------------------------------------------------------------------------*/ #include "plugins_manager/sources/plugins_manager/pm_iplugins_manager_internal.hpp" /*---------------------------------------------------------------------------*/ n...
c1b8a1734da4c6638b3c361fd119e844d3cf6f9e
1a90ec74dc103a89c6696e4985cc5821ed9fbbca
/thrift/gen-cpp/adserver_types.cpp
d42dd269605d2db452a1fe5b9b88bc2e9a39d63c
[]
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
4,875
cpp
adserver_types.cpp
/** * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "adserver_types.h" #include <algorithm> #include <ostream> #include <thrift/TToString.h> ad_info::~ad_info() throw() { } void ad_info::__set_os(const std::string& va...
63471007421294b5ad5c6e9905b2f11ffa6da92c
75316e9fb0f582cafc932aa0aadab653fb4435e3
/src/EQjson.cpp
e989f76557f7e2484454c903062928745c927e05
[ "MIT" ]
permissive
Spationaute/FullEarth
942618ce1887b2286a86047d57088772774f755e
6b135154abbeda57303e772afd8a7b5b8ad03f89
refs/heads/master
2022-12-24T13:14:48.630070
2022-12-19T17:49:27
2022-12-19T17:49:27
201,925,457
6
4
null
null
null
null
UTF-8
C++
false
false
4,310
cpp
EQjson.cpp
// // Created by gabriel on 18/07/19. // #include "EQjson.h" using json = nlohmann::json; EQjson::~EQjson() { clearEq(); } bool EQjson::parse() { bool res = Geojson::parse(); std::vector<Owner*> ownerList = this->getOwners(); std::vector<Pts> pointsList = this->getPoints(); clearEq(); float m...
2513d9590f9d4bff5b88f3438b670fb7199e0f86
f3a9174535cd7e76d1c1e0f0fa1a3929751fb48d
/SDK/PVR_Gun_Sawedoff_functions.cpp
f7541486733227bec9047a1b2f3672a775766ae7
[]
no_license
hinnie123/PavlovVRSDK
9fcdf97e7ed2ad6c5cb485af16652a4c83266a2b
503f8d9a6770046cc23f935f2df1f1dede4022a8
refs/heads/master
2020-03-31T05:30:40.125042
2020-01-28T20:16:11
2020-01-28T20:16:11
151,949,019
5
2
null
null
null
null
UTF-8
C++
false
false
4,397
cpp
PVR_Gun_Sawedoff_functions.cpp
// PavlovVR (Dumped by Hinnie) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function G...
e37752bd4b34c1b686dceb05b3cc5725e31e7c24
bcf52cb7a224906ce72cd30f4cbacd82ae78099e
/Arduino/LockUnlock/lockunlock_Valahia.ino
1f14ebf010712413f20cdc36475266367ee0df82
[]
no_license
Dinoo02/Bike-Asistant
2f2853ff586a619b1e8ee5cd1cefb490712b14a2
eb9784c0188b7f69e192ee33780000c6c95e3746
refs/heads/master
2020-05-23T18:10:22.753306
2019-05-18T14:12:50
2019-05-18T14:12:50
186,883,316
0
0
null
null
null
null
UTF-8
C++
false
false
3,890
ino
lockunlock_Valahia.ino
#include <SoftwareSerial.h> #include <Servo.h> SoftwareSerial Serial1(2, 3); Servo lockServo; int motorPin1 = 8; int motorPin2 = 9; int motorPin3 = 10; int motorPin4 = 11; int delayTime = 10; const int lockSensor = 4; long timeout; boolean connectedToServer = false; boolean locked = false; void printCommand(Str...
4476c6c5cc40f4991322889d40be386e79204aaf
46fa5b8389dfc7ceede15ad893ee71e9525a6f86
/FFMPEG/Myffmpeg.h
202e4b625ec85fd585bff2e27f39dcc2e6f9ba5a
[]
no_license
mehome/Game-Sharing-Platform-Client
532fabda02875917307e2751e16315e1d7b0659f
5e120fb69b94156fcf1c3c812b8de2e0b44ae9f3
refs/heads/master
2022-01-21T10:07:31.873179
2019-07-14T04:00:32
2019-07-14T04:00:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
555
h
Myffmpeg.h
#pragma once #include "MyCollectDesktop.h" #include "CollectAudio.h" #include "CollectCamera.h" class Myffmpeg { public: Myffmpeg(void); ~Myffmpeg(void); public: void Unitffmpeg(); void Factory(bool desk =true,bool camera=true,bool audio=true,bool microphone=false); void SetStart(bool desk =true,bool camera =true...
39138f010cb92c1978d1a49d9f1c75568c989b70
ee84c51e7c376c4ace5d3b60f1372bcb0d39054a
/INTERVIEW/GEEGKSFORGEEKS/GRAPH2/dijkastrafor_adjMAtT.cpp
bce92dd304946d55d7144f52ac2e869a0ebe9437
[]
no_license
mritunjay583/Programs
a8b98d1da63de0485fc7eb371bd9d1699a5aa630
106bc59b741993941774b841aaa7aac71d383096
refs/heads/master
2023-04-08T00:05:47.034647
2021-04-20T12:54:16
2021-04-20T12:54:16
359,804,970
0
0
null
null
null
null
UTF-8
C++
false
false
1,866
cpp
dijkastrafor_adjMAtT.cpp
#include<bits/stdc++.h> using namespace std; struct cmp{ bool operator()(pair<int,int> x,pair<int,int> y){ return x.second>y.second; } }; vector <int> dijkstra(vector<vector<int>> g, int src, int V) { vector<int> dis(V,INT_MAX); dis[src]=0; //first initialize distance of source node is 0 p...
e56bc15b3ec07f7188abfd048a9225ff38f1ad9a
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2645486_0/C++/SQLNinja/2.cpp
4c623eef8851d388ee8314db782082d09005ad0b
[]
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
1,425
cpp
2.cpp
#include<iostream> #include<cstdio> #define ll long long #define ull unsigned long long #define mp make_pair #define ld long double using namespace std; int dp[11][11]; int e,r,n,maxi; int v[100]; void doit(int pos,int en,int gnn); int main() { freopen("in.txt","r",stdin); freopen("out.txt","w",stdout);...
740f969a5817f9d021a2574cd2359bd2f4be9dc8
5e10ffe26cc333a77d78bd2ddb998c2213478883
/KozlovaVI/kursach/kursach.cpp
fc43e4503cc5c9f106fca2ce5bdf65b1c6195fe5
[]
no_license
Toxa-man/labWorks-2021-0372
2a1297fb426786a0375455919b57cd47781fb877
73132f7022ee227807c522451237074373ab973e
refs/heads/master
2023-05-10T05:29:26.447533
2021-06-09T12:55:52
2021-06-09T12:55:52
357,349,271
1
23
null
2022-10-13T21:20:38
2021-04-12T21:54:01
C++
UTF-8
C++
false
false
9,499
cpp
kursach.cpp
#include <iostream> #include <cmath> using namespace std; int const size = 16; int const sq = sqrt(size); class Sudoku{ private: int Diff; int Pole [size][size]; bool InviseablePoleMAsk[size][size]; //true -> скрыто int put=0; public: Sudoku(int Diff=5){ this->Diff = Diff; int Bas...
ffa3d3ac71c13d4fb1649e1c7d448c8c3ec0306f
f6442d0de3a95e553b44430862c1dcd6b3a5e1ef
/course_exercises/File IO/fileOutputIntro.cpp
089ce9c56897d57a7c76e3732073b0e52fc1c3d9
[]
no_license
john-s-li/complete_cpp_developer_course
10c3af1bff38a3e249e9a09278c4133f45861ab9
eac81dc5047214201d5a35b495eb357452cec869
refs/heads/main
2023-08-14T06:24:08.532190
2021-09-30T22:22:51
2021-09-30T22:22:51
410,625,682
0
0
null
null
null
null
UTF-8
C++
false
false
676
cpp
fileOutputIntro.cpp
#include <iostream> #include <fstream> #include <iomanip> using namespace std; void printFormatted(ofstream& outFile, int numVals) { outFile.open("fileOutputIntro.txt"); outFile << fixed << showpoint; for(int i = 0; i < numVals; i++) { outFile << setw(12) << setprecision(2) << (i * 3.14159) ...
f2173d89ff2cb2da918089937fd41a7d1a06a568
12fdc6acde406ca67183a737b2678852802490b0
/test/paged_pool_test.cc
9f820dc85bbbda57c9e8c0a12012343dbf125ab9
[ "MIT" ]
permissive
tabokie/portal-db
8b3eda76329ee167721a0bbff33e9099f899f29e
af6eeb97e99ea7a8314d114df5c52a2ad2626e26
refs/heads/master
2020-04-29T15:28:14.213492
2019-05-17T12:00:56
2019-05-17T12:00:56
176,229,099
11
1
null
null
null
null
UTF-8
C++
false
false
1,503
cc
paged_pool_test.cc
#include <gtest/gtest.h> #include "db/paged_pool.h" #include <cstring> #include <iostream> using namespace portal_db; TEST(PagedPoolTest, RAII) { PagedPool<256> pool("unique"); for(int i = 0; i < pool.capacity() / 4; i++) { size_t token = pool.New(); char* tmp = pool.Get(token); EXPECT_TRUE(tmp != N...
48ff141d50fd6bcb03f3b05d5d0c510f6d4c3538
f053144cf3e211b5de9ffb68bee344c1906591a6
/nodo.cpp
f4ec7f98a3813033c2436a6ff2d598e71996935f
[]
no_license
LauraParravicini/tp2algo2
7901e8926a4aaae6e9947eac7d6bdc3b2bca30e8
b11632ec3930d8015eafb1c7dfad3dcef381674b
refs/heads/master
2020-05-22T10:09:03.211649
2019-05-13T17:07:50
2019-05-13T17:07:50
186,305,198
0
0
null
null
null
null
UTF-8
C++
false
false
455
cpp
nodo.cpp
#include "nodo.h" Nodo::Nodo(Trabajador* trabajador){ this->trabajador = trabajador; siguiente = NULL; } Nodo::~Nodo(){ cout<<"hola"<<endl; } void Nodo::asignar_trabajador(Trabajador* trabajador){ this->trabajador = trabajador; } Trabajador* Nodo::obtener_trabajador(){ return trabajador; } void...
202db25de85234cdaaa72aad14e7fc5050218646
e71de35fc53c18b07cd990c6549d8228d05733e6
/src/Visualizer.cpp
c174f0f395fcedcb5a7c6d48422b9626b037f838
[]
no_license
tapgar/iLQG
60d4faf84739beab97d35b53a1f58fff559cec22
256fe9e0f527a238fad5d704e94cd670fd3a3bf7
refs/heads/master
2021-09-03T11:37:59.677851
2018-01-08T20:05:07
2018-01-08T20:05:07
116,722,289
1
0
null
null
null
null
UTF-8
C++
false
false
9,330
cpp
Visualizer.cpp
/* * Visualizer.cpp * * Created on: Jul 3, 2017 * Author: tapgar */ #include "Visualizer.h" using namespace std; using namespace Eigen; Visualizer::Visualizer(mjModel *m, bool save_vid, const char* win_title) { mj_Model = m; m_Width = 1200; m_Height = 900; m_bTrajInit = false; Vector3d temp = Vecto...
674a3f40f1e158f887be4f3d22f0a2fb233289b5
c2dce5941201390ee01abc300f62fd4e4d3281e0
/cetty-shiro/src/cetty/shiro/authc/AuthenticationToken.cpp
bd05c53f9b2a89b1af9f49edb155f10ee37d72dc
[ "Apache-2.0" ]
permissive
justding/cetty2
1cf2b7b5808fe0ca9dd5221679ba44fcbba2b8dc
62ac0cd1438275097e47a9ba471e72efd2746ded
refs/heads/master
2020-12-14T09:01:47.987777
2015-11-08T10:38:59
2015-11-08T10:38:59
66,538,583
1
0
null
2016-08-25T08:11:20
2016-08-25T08:11:20
null
UTF-8
C++
false
false
660
cpp
AuthenticationToken.cpp
/* * AuthenticationToken.cpp * * Created on: 2012-8-17 * Author: chenhl */ #include <cetty/shiro/authc/AuthenticationToken.h> #include <cetty/util/StringUtil.h> #include <cstdio> namespace cetty { namespace shiro { namespace authc { using namespace cetty::util; const std::string& AuthenticationToken::get...
be1638e071abe4558c1403052032d5321d1e0a86
a0b61494de6b4ffcc0c67f6469703154d392eb17
/StrongComponents/EdgeWeightedGraph.h
ceca822f6f69e5fa811df4946244426134fbb509
[]
no_license
sreejithsreekantan/Algorithms
d496b82ec8f118ad6b1fbeb56c710376ebb233ae
76580634d317b74ebbd160de3b0951d8e49a6196
refs/heads/master
2020-05-29T23:46:17.101978
2014-12-05T05:42:51
2014-12-05T05:42:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
867
h
EdgeWeightedGraph.h
/* Author : Sreejith Sreekantan */ #ifndef __EDGEWEIGHTEDGRAPH_H__ #define __EDGEWEIGHTEDGRAPH_H__ #include "Edge.h" #include <memory> namespace graph { class EdgeWeightedGraph { public: EdgeWeightedGraph(int v):v_(v), e_(0), edges_(v_) {} bool addEdge(int u, int v, double weight); int V() const ...
36de6fd15dff94b82f66ab55057793e27663ca72
c2a7688012c783d014f131edbc10856027f492d4
/mcdatacreator/Exceptions/NotImplementedException.h
e51a0b735f1f0afbf0e0830d9b6c8ed5dbf0b89e
[]
no_license
Crashaholic/mcdatacreator
e301919ff4e8fd2829a9ad15b7c01ac1854b7b4b
7feb4898f16c498e1a7d425a0ba99fcd4d111e00
refs/heads/master
2023-06-08T17:16:22.024807
2021-06-23T05:16:42
2021-06-23T05:16:42
283,416,649
0
0
null
null
null
null
UTF-8
C++
false
false
189
h
NotImplementedException.h
#pragma once #include <exception> class NotImplementedException : public std::exception { public: const char* what() { return "Thing is defined but there's no implementation!"; } };
9a99e547d54645f8c39d76664f996016435dd25e
c0a0712fe086e87d2798d8c9a63a1cb3678d335e
/LsiConsulter/ParserQuery.cpp
034cec5f3264ff66e44141b0075a6e503e98c94f
[]
no_license
ae77em/datos-2-2012-isl
4061ae9fa2629ddcbee0b1b90576bb63e7772869
f2428a6b1005da15462e0a35cc0e21113521b420
refs/heads/master
2021-01-20T03:34:07.294444
2012-11-29T16:15:55
2012-11-29T16:15:55
40,095,634
0
0
null
null
null
null
UTF-8
C++
false
false
3,096
cpp
ParserQuery.cpp
#include "ParserQuery.h" ParserQuery::ParserQuery(std::string pathDiccionario, std::string pathOffsetDiccionario) { diccionario.open(pathDiccionario.c_str(), std::fstream::in); offsetDiccionario.open(pathOffsetDiccionario.c_str(),std::fstream::in); if(!diccionario.good() || !offsetDiccionario.good()){ ...
bea01625964a295d84401a64f46f50222d2fac61
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/c++/godot/2017/12/soft_body_bullet.cpp
ef5c8cac6fd9b2b8a3218a02dd90e55c6c80f932
[ "MIT" ]
permissive
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
C++
false
false
9,994
cpp
soft_body_bullet.cpp
/*************************************************************************/ /* soft_body_bullet.cpp */ /* Author: AndreaCatania */ /*************************************************************************/ /* ...
fa5076638d5682bd6feff21c1a50b7131bdd145c
1ca911bbd4d6fa5b676784607769b1ba8be2f07b
/qbleservice.cpp
bfb4b35dcfc997b2553f2868730c3904daaffd7a
[]
no_license
piggz/qble
d1351b74fe1b44d763302a1f4e0375f972001c1d
3631992ff3bf71a4680f18487e05486c134a1805
refs/heads/master
2022-05-03T08:59:19.241669
2022-04-05T21:11:28
2022-04-05T21:11:28
134,163,326
3
3
null
null
null
null
UTF-8
C++
false
false
4,769
cpp
qbleservice.cpp
#include "qbleservice.h" #include <QtXml/QtXml> #include <utility> QBLEService::QBLEService(const QString &uuid,const QString &path, QObject *parent) : QObject(parent), m_serviceUUID(uuid), m_servicePath(path) { m_serviceInterface = new QDBusInterface("org.bluez", m_servicePath, "org.bluez.GattService1", QDBusCon...
7e4bbd8414305a4119b81fd6b3379f01b8fedd89
e2df9dfe5051f7bc427778ab68b43cee3911a7bf
/dali-toolkit/internal/controls/flex-container/flex-container-impl.cpp
c520ede1bb9e4eb0cc0d47b471d281cedd0991b5
[ "Apache-2.0" ]
permissive
pwisbey/dali-toolkit
3a0d3358f0a07505786b0c97f83c48e9481e9791
aeb2a95e6cb48788c99d0338dd9788c402ebde07
refs/heads/master
2021-01-12T15:50:06.874102
2016-10-25T12:48:13
2016-10-25T12:48:13
71,880,217
0
0
null
null
null
null
UTF-8
C++
false
false
29,073
cpp
flex-container-impl.cpp
/* * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
cfa66eb339f3c50bbf6482f8986615ba2729d937
3f093bc3895a349479181f8fce0e291985aa0849
/src/DatLink.cpp
73fa3cb9be356a74a0b55af21b0d2931846fedb7
[]
no_license
mkovrizhnykh/mp2-lab7-tables
8e09f65a95af979ecd4e5de8f6a1b48f9bdbfc65
3514b4a415a8c3e4468499f08c199a574255e725
refs/heads/master
2020-05-28T04:31:43.950623
2019-06-02T14:58:45
2019-06-02T14:58:45
188,880,242
0
0
null
2019-05-27T16:55:32
2019-05-27T16:55:32
null
UTF-8
C++
false
false
207
cpp
DatLink.cpp
#include "DatLink.h" void TDatLink::SetDatValue(PTDatValue pVal) { pValue=pVal; } PTDatValue TDatLink::GetDatValue() { return pValue; } PTDatLink TDatLink::GetNextDatLink() { return (PTDatLink)pNext; }
2673c74b256e428398fb9848dc1e6ba3585ca372
eabe92ff958be0e5894ed7501780d8eb608b6ae9
/content/browser/renderer_host/resource_dispatcher_host.h
e3ff805b69a6e709a77295d552039a9fa6c4a647
[ "BSD-3-Clause" ]
permissive
meego-tablet-ux/meego-app-browser
51bf8a8b8f15d702151a3f32a2598d4621b6926d
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
refs/heads/master
2021-01-10T21:33:19.677680
2011-07-20T01:19:53
2011-08-01T07:18:37
32,045,345
1
1
null
null
null
null
UTF-8
C++
false
false
22,028
h
resource_dispatcher_host.h
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This is the browser side of the resource dispatcher, it receives requests // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), a...
55c0797583e1e28f59c2be172ff9e3bfa01dac22
c9b02ab1612c8b436c1de94069b139137657899b
/rpg/app/battle/OnlineRewardManager.h
ea4c80558a9632529c9f7243342f35ec5fbd51ce
[]
no_license
colinblack/game_server
a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab
a7724f93e0be5c43e323972da30e738e5fbef54f
refs/heads/master
2020-03-21T19:25:02.879552
2020-03-01T08:57:07
2020-03-01T08:57:07
138,948,382
1
1
null
null
null
null
UTF-8
C++
false
false
587
h
OnlineRewardManager.h
/* * OnlineReward.h * * Created on: 2019年7月25日 * Author: memory */ #ifndef ONLINEREWARD_H_ #define ONLINEREWARD_H_ #include "BattleBaseInc.h" class OnlineRewardManager: public CSingleton<OnlineRewardManager> { private: friend class CSingleton<OnlineRewardManager>; OnlineRewardManager(); ~OnlineRewardMa...
c8b8192ad681050da920dd1ca896647acd65232f
c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64
/Engine/Source/Runtime/Slate/Public/Widgets/Input/NumericUnitTypeInterface.inl
030dd4f22a1b5ab58d2bc05fbd6c9e14451fed65
[ "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
2,774
inl
NumericUnitTypeInterface.inl
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "Containers/UnrealString.h" #include "Misc/Optional.h" #include "Internationalization/Text.h" #include "Templates/ValueOrError.h" #include "Math/UnitConversion.h" template<typename NumericType> struct TDefaultNumericTypeInterface; tem...
10dc097fe806cd5d27aa61a2f3f8924981d0fe5b
c444a5d126ea215b13648ce0f46cd16dfaa1fa6a
/Source/UserDialog.cpp
e906cd10d006a12d5177c9cdbe7842d9968e598f
[]
no_license
IntelOrca/Columns
a2665fbf70531308caab282bd8b518bb45d89e4a
f12fc411aaa2ae3f5c8e5bf6186d3c22efadd2b0
refs/heads/master
2021-01-21T05:20:02.522041
2017-02-25T23:47:26
2017-02-25T23:47:26
83,170,988
4
2
null
null
null
null
UTF-8
C++
false
false
11,486
cpp
UserDialog.cpp
/**************************** * Columns * * Copyright Ted John 2008 * * http://tedtycoon.co.uk * ****************************/ #include "Strings.h" #include "GameApp.h" #include "Game.h" #include "MessageDialog.h" #include "UserDialog.h" #include "UserNameDialog.h" #include "User.h" #include "R...
476dc2af047847f7ae7af18a34430d3d1dbb7c3e
dd656493066344e70123776c2cc31dd13f31c1d8
/MITK/Core/Code/Algorithms/mitkBaseDataSource.cpp
6e7a4ab5eead61f08a09b7b22e2eb4a135755ced
[]
no_license
david-guerrero/MITK
e9832b830cbcdd94030d2969aaed45da841ffc8c
e5fbc9993f7a7032fc936f29bc59ca296b4945ce
refs/heads/master
2020-04-24T19:08:37.405353
2011-11-13T22:25:21
2011-11-13T22:25:21
2,372,730
0
1
null
null
null
null
UTF-8
C++
false
false
1,725
cpp
mitkBaseDataSource.cpp
/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKCopyright.txt or...
86ad513faf9a646b0a8cca32669ac131b036e4aa
d91cfc8c8cf27fabe957ec2c4b6307baa3fa6444
/Atcoder/ABC/ABC079/ABC079(B).c++
0faaf2c1d93b478703ea208ca0413fd24fd5a088
[]
no_license
Yuya-Nakata/Competitive-programming
87d5e030a1f2e346a02dea91eaabbfef7f285995
9e75ae74f08d27b25ec463200795cc64cab00e48
refs/heads/master
2020-03-24T21:22:58.085248
2018-09-04T07:05:08
2018-09-04T07:05:08
143,029,134
0
0
null
null
null
null
UTF-8
C++
false
false
373
ABC079(B).c++
//2017.11.18 //コンテスト中AC #include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n; cin >> n; vector <long long int> a(100); //ここの大きさを最初intでWA a[0]=2; a[1]=1; int i=2; while(i<=n){ a[i]=a[i-1]+a[i-2]; i++; } cout <<a[i-1] << endl;...
0cfa320d88e46605045c330012d2fdb355f2c00a
35d7642a52e0e966e2d78163eb78e8c29b01a0b5
/Model/Etc/Look.h
935c371be588997bdf02bce839ba8bd8cf90ada5
[]
no_license
tkdals1049/Project_N
e66e100482f38b56690a1308c027b75457e902dc
508265fb046a9eaa9ab35bf49f800f4f54f86ad6
refs/heads/master
2020-03-11T15:27:55.752875
2020-01-03T21:21:50
2020-01-03T21:21:50
126,276,621
0
0
null
null
null
null
UHC
C++
false
false
1,448
h
Look.h
#pragma once class LookBuffer : public ShaderBuffer { public: LookBuffer() : ShaderBuffer(&Data, sizeof(Struct)) { Data.color = D3DXCOLOR(0, 0, 0, 1); } void SetColor(D3DXCOLOR& color) { Data.color = color; } struct Struct { D3DXCOLOR color; }; Struct Data; }; #define PLANE_EPSILON 5.0f class Look { p...
e611ae3576a9fba75cecc8a6e58106f42395635d
d01f5d894602293f0b224c100e988e9c255b145c
/TLX/Courses/Pemrograman Kompetitif Dasar/Brute Force/H.cpp
56b347ad4769da492c397fa1501b4cf479fdf62d
[]
no_license
adityarev/online-judge
708e98599cdf461aef671ae1bc8806456eca29f2
4b92da74b71aa9ecdb13e662df323d5acc08c29f
refs/heads/master
2021-04-05T13:13:01.335277
2020-07-29T13:45:52
2020-07-29T13:45:52
248,560,399
0
0
null
null
null
null
UTF-8
C++
false
false
2,056
cpp
H.cpp
#include <algorithm> #include <cmath> #include <functional> #include <iostream> #include <vector> using namespace std; void set_arr(vector<int>& arr) { for (int& x: arr) cin >> x; sort(arr.begin(), arr.end()); } vector<int> create_borders( vector<bool>& flags, int& max_size ) { int n = (int)flags.size(); int...
38ef6452bdcb818f31b2813c3d7b7642cc6a3529
74c657cc46874b9aef78bdb921f61f6d26cf48bf
/ColorBoxes/ColorBoxesEngine.cpp
dff2ae8c1e8ede5a1febcf18537343a607175e25
[]
no_license
jbromley/ColorBoxes
2d620bdbec912aafd7395716b6e0546440ad2e77
55364d515ca1de1bf38c4e67b48fd0bb90301ba6
refs/heads/master
2021-06-02T05:53:04.046033
2020-11-20T22:55:15
2020-11-20T22:55:15
7,352,648
0
0
null
null
null
null
UTF-8
C++
false
false
17,170
cpp
ColorBoxesEngine.cpp
// // ColorBoxesEngine.cpp // ColorBoxes // // Created by Jay Bromley on 12/27/12. // Copyright (c) 2012 Jay Bromley. All rights reserved. // #include <algorithm> #include <functional> #include <sstream> #include <AntTweakBar.h> #include "ColorBoxesEngine.h" #include "OpenGLDraw.h" #include "Utilities.h" #include ...
69436fd2bf4b3569840b22dfdaadf929ecb21ced
a9ace49a2e2aac04415b273a79293c018faf3898
/C++_project_001/BM_Project_by_A_P_J/WrinklePizza.h
c857a4278c5b0ce94aa9705d89f47a6443e950e2
[]
no_license
ggznzn007/Cpp_Lecture
b7d0bd038cbe247ffdcae87c517df3b3740d5f29
b99017430d2c22b45b1e8d208569b513f52f5f05
refs/heads/master
2023-01-03T17:34:48.758900
2020-10-29T07:16:03
2020-10-29T07:16:03
308,246,879
1
0
null
null
null
null
UTF-8
C++
false
false
175
h
WrinklePizza.h
#pragma once #include "Pizza.h" class WrinklePizza : public Pizza { public: WrinklePizza(); virtual void showWelcom(); virtual void cooking(); virtual void delivery(); };
c097fa78bc084fa9941210e23d0e88f77eecdc59
31452b8ff42ce7fdf57cff82ac1a5b7d67df4987
/PCAssistant/PCAssistant/ProcessDlg.cpp
b5c3d6be419ce892bd60de74ff0f3c416c2e1df5
[]
no_license
wgwjifeng/PCAssistant
a3b5477b7bb954fa369389a1ed244cf2bee9ba0f
78da06224173ad1184e60d4b6fd4786ed4a77938
refs/heads/master
2020-04-06T18:40:59.657942
2017-03-08T05:00:40
2017-03-08T05:00:40
null
0
0
null
null
null
null
GB18030
C++
false
false
12,098
cpp
ProcessDlg.cpp
// ProcessDlg.cpp : 实现文件 // #include "stdafx.h" #include "PCAssistant.h" #include "ProcessDlg.h" #include "afxdialogex.h" #include "ProcessFunc.h" #include "Common.h" #include "ProcessViewDlg.h" // CProcessDlg 对话框 int ResizeX; int ResizeY; IMPLEMENT_DYNAMIC(CProcessDlg, CDialogEx) extern BOOL bIs...
c9b2691ef4f103c582f65d79fad345a1e697aaa5
65deabfadbc675929f17e280156597f92cf2480d
/laughing-pancake/Classes/Charactor.h
7e541dd1d51a87c3298459881bfb2e067d54a344
[ "MIT" ]
permissive
Frogp/laughing-pancake
ab4121bd3ce59d96ebbb81d62d4b040ed3838938
bf102cf2ddfdfbdf1e9e7b5af586882924ca4213
refs/heads/master
2021-05-04T02:41:05.858104
2016-07-21T17:52:22
2016-07-21T17:52:22
55,394,402
0
0
null
null
null
null
UTF-8
C++
false
false
375
h
Charactor.h
#ifndef __CHARACTOR_H__ #define __CHARACTOR_H__ #include "cocos2d.h" #include "cocostudio/CocoStudio.h" #include "ui/CocosGUI.h" USING_NS_CC; using namespace cocos2d; using namespace ui; class Charactor { public: Charactor(); ~Charactor(); int attack; int defence; int move; int hp; int CharNum; int type; i...
da65cae898ce360d4554fe9409f9d5a6c04c7571
3c7189febcb2b9e0778b44c38b3d3c3793dc052b
/resources/resource_list.hpp
75d458c5a984ada9e88447a9352f0e256bd64937
[ "BSD-3-Clause" ]
permissive
hyper1423/SomeFPS
f706d82280f84d574835b23c78dea7c79181fecc
dcd353124d58e2696be7eaf44cddec17d6259629
refs/heads/master
2021-05-20T02:38:34.724076
2020-09-23T12:48:08
2020-09-23T12:48:08
252,150,828
0
0
null
null
null
null
UTF-8
C++
false
false
1,077
hpp
resource_list.hpp
#ifndef RESOURCES_LIST_HPP #define RESOURCES_LIST_HPP #include "../renderer/vertex_array/vertex_array.hpp" #include "../renderer/model/model.hpp" #include <glm/glm.hpp> #include <string> #include <vector> namespace resourceTypes { class Resource { public: virtual ~Resource() = default; std::string getPath(); ...
d06d4af2ca90e2b159797b1edd5e5917285fb0d8
23deb6fab3c77325811d20f40d3e103005e25a85
/include/typedefs.h
8ceebff11d7a4c94798a9050ebcace987ef310ba
[]
no_license
DigiArt-project/3D-DPM
d4788fdf87ff20e03cce293d5009d84431db0fa9
3383776b28206832157926ba6928fcf048f923ed
refs/heads/master
2020-04-08T23:33:57.717726
2018-11-30T13:56:35
2018-11-30T13:56:35
159,808,129
0
0
null
null
null
null
UTF-8
C++
false
false
2,826
h
typedefs.h
#ifndef typedefs_h #define typedefs_h using namespace std; /* Define some custom types to make the rest of our code easier to read */ typedef pcl::ReferenceFrame RFType; typedef pcl::PointCloud<RFType> PointCloudRF; typedef pcl::PointCloud<RFType>::Ptr PointCloudRFPtr; // Define "PointCloud" to be a pcl::PointCloud...
a390c3a68622bff7b4b87d96e68df9a9d0a8eb9a
b98e52550f838e5b0051ab1513cc725b973070af
/NRF24L01_Receiver_Test_Joystick_and_T200_IncludedV3.ino
494699f9ea619de631dbd6529732c2cc7de097f0
[ "Apache-2.0" ]
permissive
Project-Pisces/Rover_Controls
8d036dac6d37bb8c1816d0d322b0abffbd3cdbca
61f6870c1d0bd79a917bcd2de221e03c68c45ce3
refs/heads/master
2020-05-03T00:07:14.420562
2019-05-12T02:49:40
2019-05-12T02:49:40
178,301,145
0
0
null
null
null
null
UTF-8
C++
false
false
13,494
ino
NRF24L01_Receiver_Test_Joystick_and_T200_IncludedV3.ino
#include <Servo.h> #include <SPI.h> #include <RF24.h> #include <nRF24L01.h> //READ REFERENCE PAGE ATTACHED TO GOOGLE DRIVE FOR UROV3 AND MOTOR CONTROL INSTRUCTIONS AND CODE DETAILS //Motor Setup byte Thruster1 = 3; //Front Right Thruster byte Thruster2 = 4; //Front Left Thruster byte Thruster3 = 5; //Bac...
0c47a9cf0484da940d1ecfe501210ae801652756
6c8183d3137add9f83ec4e6f5a0774c3d92f25b8
/SAOD/lab03/task03/menu.cpp
26ee348f815172d09f33de320d69856c36e690be
[]
no_license
romik1505/Data-Structures-Implementation
a5a47cf367ba060400618473f2725eb41aa1d859
996d1b2a34929a48e0c5061c4bf56c2a2f6e5d9b
refs/heads/master
2022-03-25T04:50:43.636386
2019-12-22T17:45:37
2019-12-22T17:45:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,197
cpp
menu.cpp
#include "menu.h" #include <iostream> #include "stack.h" #include "square.h" using namespace std; menu::menu(/* args */) { } menu::~menu() { } void menu::show_text_menu() { cout << "\n1. Введите стороны прямоугольника.\n"; cout << "2. Добавить узел в стек.\n"; cout << "3. Вывести стек.\n"; cout << "4. Удалить ...
17a86bda20880c6f910da3636296ae3cfff088c2
a608e830d6a45a92c31389d17b1cd6e715a2d639
/ms2Server/src/cpp/Server.cpp
00b363bed1171ed418c6558e505e0d3f88bf7f18
[]
no_license
zeddkay/robot-command
bcaa33de63c299676ac9a7ecb5a5ad464c54ca80
26f0163535a1b3e0dd73b1971e1cdc71e82e0972
refs/heads/master
2021-05-08T13:32:18.750996
2017-09-06T02:55:19
2017-09-06T02:55:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
417
cpp
Server.cpp
#include "../header/MySocket.h" int main() { MySocket ServerSocket(SocketType::SERVER, "127.0.0.1", 5000, ConnectionType::UDP, 100); char buff[100]; int RxSize = ServerSocket.GetData(buff); std::cout << "Msg = " << buff << ", Bytes = " << RxSize << std::endl; std::string Pkt = "I Love BTN415 too!"; ServerSoc...
5b026f2edcf163cec7d1f6df829a492079fae589
b5eda1ad5d91a93c494c11dd5e37e3c721cf61ac
/c/201906/7-46.cpp
4ed2bf4032bdbeee7cbc411a06c7924cb1891ca0
[]
no_license
wujiahai168/learn
1829aa095dceaf5a96c29d65a3bf1424e5167fdb
6994c8f0251a6488cb08257c94baa40fe3891ec2
refs/heads/master
2022-02-24T18:22:57.219214
2019-10-08T06:21:30
2019-10-08T06:21:30
74,726,166
1
2
null
null
null
null
UTF-8
C++
false
false
343
cpp
7-46.cpp
#include<iostream> #include<stdio.h> #include<string.h> using namespace std; char *max( char *a, char *b ){ if( strcmp(a,b)>=0 ){ return a; }else{ return b; } } int main(){ char *p[] = {"aaa","bdasfas","dadsa"}; char *str = p[0]; for (int i=1; i<3; i++){ str = max( str,p[i] ); } cout<<"max---"<<...
b178c007412c03fcf10b548f5e01c2f135f7e703
7890642c47c4237ac65eb9a9393f045f9907c086
/packet-ip.cpp
eea5622f481e4837015035f860dbb337a0e6e197
[]
no_license
venkatarun95/monitor-link
b5230b891222a00433bd1537ee4d3462156d57e9
2cb524befc437c7d7d3010ab29e6a26e8c9ffa01
refs/heads/master
2020-03-19T15:20:38.315377
2018-06-25T02:57:27
2018-06-25T02:57:27
136,667,281
3
0
null
null
null
null
UTF-8
C++
false
false
1,994
cpp
packet-ip.cpp
#include "packet-ip.hpp" #include <cassert> #include <iostream> #include <netinet/ip.h> #include <netinet/ip6.h> namespace monitor { PacketIP::PacketIP() : packet(nullptr), pkt_len(0), cap_len(0), version(), proto(), src(), dst(), hdr_len(0), frag_off(0) {} PacketIP::PacketIP(const u_char* packet...
53e5dac4cd4141cb5b3038b02f7b1042fb1fd178
67aba88e3d048d35b743a8b71998722c940055c0
/src/mbgl/style/expression/within.cpp
0df0bd86ce4752b6f442f79df03a74cffc38946a
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "IJG", "Zlib", "blessing", "LicenseRef-scancode-openssl", "OpenSSL", "ISC", "LicenseRef-scancode-ssleay-windows", "MIT", "curl", "JSON", "BSL-1.0", "Apache-2.0", "Libpng", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-...
permissive
maxin0628/mapbox-gl-native
0a2ec1ab406acc5700b801f1e5f20f7bb28b51d4
c57af518426acc99fada188990e831cacc8170fe
refs/heads/master
2020-11-25T19:03:54.160858
2020-02-11T22:48:10
2020-02-12T10:24:05
228,801,776
0
0
NOASSERTION
2019-12-18T09:13:08
2019-12-18T09:13:07
null
UTF-8
C++
false
false
8,039
cpp
within.cpp
#include <mbgl/style/expression/within.hpp> #include <mapbox/geojson.hpp> #include <mapbox/geometry.hpp> #include <mbgl/style/conversion_impl.hpp> #include <mbgl/tile/geometry_tile_data.hpp> #include <mbgl/util/logging.hpp> #include <mbgl/util/string.hpp> #include <rapidjson/document.h> #include <mbgl/style/conversio...
5a12054e88c452cab00a9b2512a16c4f40d3224e
c3bdc6275a9b040f466e1e05da48d367cdc8ef8a
/TweetTheTemp2/TweetTheTemp2.ino
28e9e3a99d6a1ace3928df03c35842a1c00c0ef5
[]
no_license
amadues2013/Arduino
9a6315ca6dc7edbc298d8dba35d521c2d8cd6794
bf84bf8b191494980b25bfeb77837c82bcf9db48
refs/heads/master
2020-05-31T21:19:20.148047
2017-02-02T09:14:39
2017-02-02T09:14:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,923
ino
TweetTheTemp2.ino
/* Tweet the Temp Meaure the Temp and Humidity with an AM2302 sensor and tweet via a Twitter account using the Temboo Arduino Yun SDK. This example code is in the public domain. www.troykyo.com */ #include <Process.h> #include <Bridge.h> #include <Temboo.h> #include <YunServer.h> #include <YunClient.h> #incl...
89deb68beefff4bf9ee57b6d14354aaaf693afe6
159cdc208fc48a4d0034e84820562b0642088cd6
/sched_mwh.cxx
0c54e0d6b4907743198f642d8a7b8fb710bce05e
[]
no_license
mildrock/bid_sched
114ba3f738e27575c2fa3896f2ca56133b067c5d
bf049283ab2de96758d36e59e016f8dc1f1f1b59
refs/heads/master
2020-07-25T18:33:29.822411
2019-03-13T07:59:02
2019-03-13T07:59:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,153
cxx
sched_mwh.cxx
//sched_mwh.cxx by wanggt //////////////////////////////////////////////////////////// #include"common.h" #include"psched.h" #include "dmdb.h" #include <iostream> #include<map> #include <stdlib.h> #include"operate_config.h" #include"sched_bid.h" using namespace::std; //定义为时段数+1 #define SDNUM 96 #define SQL...
14c55899279bb5155e7bbbc6a77522db11a73ea0
d0e1263b0e76b0a8e0219c1202296bd372c3eabc
/MediaPortal-1-master/DirectShowFilters/DVBSubtitle3/Source/dvbsubs/DVBSubDecoder.h
4bed6162d591f421fed45bafb18f260018782997
[]
no_license
juancollsoler/ex.tv.player.app.v2
d431427e44eb731b7d958624885236bd90b0643f
b9db15ed171b5df03843e8d884f159c4e264c226
refs/heads/master
2020-05-19T03:10:21.872002
2019-05-03T17:15:15
2019-05-03T17:15:15
184,790,805
1
0
null
null
null
null
UTF-8
C++
false
false
3,134
h
DVBSubDecoder.h
/* dvbsubs - a program for decoding DVB subtitles (ETS 300 743) File: dvbsubs.h Copyright (C) Dave Chapman 2002 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 ...
ac417b0e6eef43018836c6163cd5fea01b2235a9
b0fa97e378226e980a9a75203f1976018addd7af
/1015/prime/prime/prime.cpp
ce7e6ecdecd754bfb691c1e3447a00cb079e0c28
[]
no_license
Han8464/PTA-code
4c8b818d53c1a5730d54c470a266d67f38cc8e90
5011b204d023f97c6096a0e940ab3dbbebb982ac
refs/heads/master
2020-03-18T17:39:08.265529
2019-03-05T10:34:17
2019-03-05T10:34:17
135,041,777
0
0
null
null
null
null
UTF-8
C++
false
false
1,028
cpp
prime.cpp
#include <cstdio> #include <cstdlib> #include <cmath> bool Isprime(int reverse) { if(reverse == 0 || reverse ==1) { return false; } int k = sqrt((double)reverse); for (int m = 2; m <= k;m ++) { if (reverse % m == 0) { return false; } } return true; } int main() { int n,d; scanf("%d",&n); int recor...
7c0fd5495ea050fb50808453171979c5535022e3
ac87a0e387e795ccb862eb2f76107a9f66fd319f
/Codeforces/kth_largest_value.cpp
e8da6f4a37949115bb3c0f4c206e32ba9f3b0048
[]
no_license
prasanjit15/DailyCode
ac9541aa82276cc92224c356356143d5e0b287c2
cf19c808d6c343b6a47386debc90ba47e8c2abef
refs/heads/master
2023-05-14T00:06:21.092812
2021-06-02T06:44:36
2021-06-02T06:44:36
284,071,833
1
0
null
null
null
null
UTF-8
C++
false
false
1,034
cpp
kth_largest_value.cpp
#include <bits/stdc++.h> #define int long long using namespace std; void solve() { int n,q; cin >> n >> q; std::vector<int> v(n); int one = 0, zero = 0; for(int i =0;i < n;i++){ cin >> v[i]; if(v[i] == 1) one++; else zero++; ...
7326c10a2ef2339bf4cdfa69a5314a5e18ed1ca1
e31af1497be840ff84102c12824fef88889a2f3c
/Magic/main.cpp
a1f39fea0d4351ebcb2266ab92e9be1999913c6d
[]
no_license
caelan-a/Magic
5692d877718b62bf2de1a8cfb3dde2574093c3ca
929c5fdede52c2daf1a96c90a7ba021e0c9c2229
refs/heads/master
2022-04-09T22:06:24.991145
2020-03-09T02:41:53
2020-03-09T02:41:53
43,582,042
1
0
null
null
null
null
UTF-8
C++
false
false
3,045
cpp
main.cpp
// Magic.cpp : Defines the entry point for the console application. // #include "stdafx.h" // Global Objects GLFWwindow* window; Camera camera; // Protofunctions void init(); void checkInput(); void render(); void cleanup(); void getSystemInfo(); void checkInput() { if (glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_...
dddfec5c85431528bbcbc3952c5592d4a34ec064
f87501ed4367b471cc091538c95008cbf4eb66d9
/MSJ_API/GameCoreMath.cpp
3cc892458fc69bdad63c7ee0811bf658a452a9ca
[]
no_license
KkyuCone/Win_API_MSJ_PO
728a7d9d1b2bcf037833a25d367b668266be433c
696d23a9186a006be56bc7a187fa6a680e8652a0
refs/heads/master
2020-08-16T06:56:53.992044
2019-10-16T06:23:06
2019-10-16T06:23:06
215,470,878
0
0
null
null
null
null
UHC
C++
false
false
335
cpp
GameCoreMath.cpp
#include "stdafx.h" #include "GameCoreMath.h" const float GameCoreMath::Pi = 3.14159265359f; // 파이 const float GameCoreMath::DegTransRad = Pi / 180; // 라디안으로 변환 (호도법) const float GameCoreMath::RadTransDeg = 180 / Pi; // 각도로 변환 GameCoreMath::GameCoreMath() { } GameCoreMath::~GameCoreMath() { }
20b9a8f679992dd79c6a02d707a2fc85adb481ae
33213a6d739067d0ff18d4b7fbb0a6a7f93f147e
/Activity2.cpp
754d0b5c86176dbe854e861c0dee46079d46362b
[]
no_license
KirveyBalansag/Myrepository
284d97f15e812c747f7dfa443c2c271a1ba1a86a
2cb4beba71ba05f0151c0c176f41c479c80f8a3d
refs/heads/main
2022-12-30T12:49:31.163184
2020-10-24T15:08:08
2020-10-24T15:08:08
306,907,781
0
0
null
null
null
null
UTF-8
C++
false
false
563
cpp
Activity2.cpp
#include <iostream> using namespace std; int main() { int n, i; float num[100], s=0.0, ave; cout << "Enter the numbers of data: "; cin >> n; while (n > 100 || n <= 0) { cout << "Error! number should in range of (1 to 100)." << endl; cout << "Enter the number agai...
3e7bb29bf9e70327aca637466469f4e29bb21ecc
c73b50eea79bff9831ca724f2cffdd9bb3fbd448
/2178.cpp
d2cbc29b7079e70ee77a68406bd4b3e96535049e
[]
no_license
ParkGeunYeong/algorithms
cb2250964cd48551867586a5083f9438d075a8fe
8f40e77da22ea241353a3e3dccc40aa70501592d
refs/heads/master
2020-05-02T10:08:39.484887
2019-07-24T13:13:01
2019-07-24T13:13:01
177,889,427
0
0
null
null
null
null
UTF-8
C++
false
false
967
cpp
2178.cpp
#include<iostream> #include<queue> #include<cstring> using namespace std; int board[101][101]; int check[101][101]; int moveTo[4][2] = { {0,1},{0,-1} ,{1,0} ,{-1,0} }; queue<pair<int,int>> q; int N, M; int go(int r, int c) { check[r][c] = 1; q.push(make_pair(r,c)); while (!q.empty()) { int goR = q.front().first, ...
cd55115a868c820438290df4eaca308ac2d4ff19
a772f6660e0891950cc444c08a813b242a624f1e
/RosaSensors/RosaSensors/UartStd.cpp
4757966c5ed02fae1e5de3357ae246bc51468823
[]
no_license
OpenLEAD/uCpressure
5a899f18dd8004a6d19413b4b40f6b3685f77142
983b8c497e9668b2778111fddd8f99f71965735e
refs/heads/master
2020-05-31T06:41:43.480913
2015-01-07T20:32:35
2015-01-07T20:32:35
27,591,279
0
0
null
null
null
null
UTF-8
C++
false
false
2,298
cpp
UartStd.cpp
/* * UartStd.cpp * * Created: 11/18/2014 8:50:11 PM * Author: Renan & Eduardo Elael */ #include "UartStd.h" namespace Rosa{ const UartStd UART1( &UCSR1A, &UCSR1B, &UCSR1C, &UBRR1, &UDR1 ); const UartStd UART0( &UCSR0A, &UCSR0B, &UCSR0C, &UBRR0, &UDR0 ); void UartStd::enable(void) const { /* Set b...
5a1fad708c317cdc5cdf25f0361a8b11cc352b62
e3b135c2c94dd50e7a1f4d65cf8d28100aa5c181
/sensor/include/httpSession.h
fb130002883d51fb2d6b07ecdc27aba37196f223
[]
no_license
bkochergin/net_sensor
ec488bf1b201e173c1a5b9d9d9b19b79f6126d3f
f69cbde8d716d8a1e0a90a0f4c37bc3a93faf2a1
refs/heads/master
2020-04-02T20:33:25.612756
2016-02-27T16:38:31
2016-02-27T16:38:31
64,683,459
0
0
null
null
null
null
UTF-8
C++
false
false
2,460
h
httpSession.h
/* * Copyright 2010-2015 Boris Kochergin. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of condi...
34f98862ab658740c8631d92d52738e0e9d04d13
634120df190b6262fccf699ac02538360fd9012d
/Develop/Server/GameServer/unittest/TestFactionSystem.cpp
43d9275c2393600652daeb31e7c8b7b61fca1ae6
[]
no_license
ktj007/Raiderz_Public
c906830cca5c644be384e68da205ee8abeb31369
a71421614ef5711740d154c961cbb3ba2a03f266
refs/heads/master
2021-06-08T03:37:10.065320
2016-11-28T07:50:57
2016-11-28T07:50:57
74,959,309
6
4
null
2016-11-28T09:53:49
2016-11-28T09:53:49
null
UHC
C++
false
false
7,335
cpp
TestFactionSystem.cpp
#include "stdafx.h" #include "GUTHelper.h" #include "GEntityPlayer.h" #include "MockField.h" #include "GPlayerFactions.h" #include "GFactionInfo.h" #include "GFactionSystem.h" #include "CSFactionCalculator.h" #include "MockLink.h" #include "CCommandTable.h" #include "GDuel.h" #include "GBattleArenaMgr.h" #include "GMat...
a4af9561bc662e92fc84d2062c3a847806d37ccf
ba55857fbe5dace2baa61089d05e3f35aeb685a7
/Deuterium/DeuteriumRenderer/d_error_stack.h
cf016dea79fcded0cff34400b3da95a77d535f24
[]
no_license
niofire/Deuterium-Engine
6a9d6af8abc7e5e9af256ca9cc0e2648c5c5651d
8289ab27cfc35b94d645deaf8ef9d0105bbb10c7
refs/heads/master
2020-03-31T00:48:38.385350
2015-01-12T20:04:39
2015-01-12T20:04:39
19,597,136
1
1
null
null
null
null
UTF-8
C++
false
false
713
h
d_error_stack.h
#pragma once #include <stack> #define D_ERROR(X) dErrorStack::get_instance().push(dError(X)); namespace deuterium { class dError { public: dError(const char* msg) { _msg = std::string(msg); } dError(std::string msg) { _msg = msg; } ~dError(void) {}; const char* get_message() { return _msg.c_str...
c8ff9f8bc7f2631d4aef94a9ae845eeb57dab753
34ccf820d90c1acdc54d975bc6d66b408cd0d034
/include/iConsumer.h
996cacb5cad28acbc4dd51ce60ee17ab23eb6a36
[ "MIT" ]
permissive
tompatman/zmqplus
59dccab685aa26859f4a69f93788240389aeb533
efea491f2e9ca8f531ec7e102564fb56b1d62e0f
refs/heads/master
2022-12-14T10:02:24.298267
2020-09-08T21:11:45
2020-09-08T21:11:45
292,928,518
0
0
null
null
null
null
UTF-8
C++
false
false
451
h
iConsumer.h
/* * iConsumer.h * * Created on: May 31, 2013 * Author: service */ #ifndef ICONSUMER_H_ #define ICONSUMER_H_ #include "zmq.hpp" class iConsumer { public: iConsumer() {}; virtual ~iConsumer() {}; virtual void setup_que(int timeout_ms = 500) = 0; // Returns true if there was an update. ...
2a84ba9d7a08c3907ff080b614c634ce34655145
e37a4775935435eda9f176c44005912253a720d8
/datadriven/src/sgpp/datadriven/algorithm/DBMatOffline.hpp
814aab30d61e8ba9bf9547db4aabf468faceb30a
[]
no_license
JihoYang/SGpp
b1d90d2d9e8f8be0092e1a9fa0f37a5f49213c29
7e547110584891beed194d496e23194dd90ccd20
refs/heads/master
2020-04-25T10:27:58.081281
2018-09-29T19:33:13
2018-09-29T19:33:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,943
hpp
DBMatOffline.hpp
// Copyright (C) 2008-today The SG++ project // This file is part of the SG++ project. For conditions of distribution and // use, please see the copyright notice provided with SG++ or at // sgpp.sparsegrids.org #pragma once #include <sgpp/base/grid/Grid.hpp> #include <sgpp/datadriven/configuration/DensityEstimationCo...
cc97e1300baad7aeec5352a8144a8fc4028d1e28
12e61197f435a7a32e50db23cb0570deba8dabe2
/components/Schedule.hpp
32bc6f59c11718897a76d52230c5bc07559faf65
[]
no_license
bsloan334/WaffleSupreme
09eebb88abcf1116f443ceed85dfb3457d628c7e
d278831319eead21774cea977b480a6aa32f1e04
refs/heads/master
2021-05-02T10:23:10.874188
2018-04-23T19:30:39
2018-04-23T19:30:39
120,793,618
0
0
null
2018-03-03T14:48:22
2018-02-08T17:25:38
C++
UTF-8
C++
false
false
515
hpp
Schedule.hpp
#pragma once #include <cstdlib> #include <cstdint> using namespace std; // // Record of process time requirements, priority, and remaining process time used for CPU scheduling // class Schedule { public: Schedule() { } Schedule(int burst, int p, string queue, int slice, int remain) : burstTime(burst), prior...
3acc9db1ce5bce5f8406005003b55eae09335064
b0576ba30cba77196caa2260bd5ed7a64f665cf5
/libs/util/file_util.h
fe16a7f8eeca4fed03f65afb9706432975ccaa48
[]
no_license
oj-lappi/viz-openGL
54e68ceca76b57e4900a4eb4f19b87391c357b87
2313867c28805e8a3a85ac2e0da2be41bc5d1b03
refs/heads/master
2021-09-08T23:12:39.469425
2018-03-12T20:22:42
2018-03-12T20:22:42
116,152,043
0
0
null
null
null
null
UTF-8
C++
false
false
1,477
h
file_util.h
#include <string> #include <fstream> #include <iostream> #include <sstream> #include <limits> std::string readFile(const char *filePath) { std::string content; std::ifstream fileStream(filePath, std::ios::in); if(!fileStream.is_open()) { std::cerr << "Could not read file " << filePath << ". File do...
6f16256d2b93a29ede6b5f04072b1c9da1982a9d
fa5c9dc51e372dc66396ad695459f8ecaef75811
/src/Menge/MengeVis/Viewer/ViewConfig.h
e38b3befed4cea17ec76e1562a53d2b51fefb6cb
[ "Apache-2.0" ]
permissive
zchenpds/Menge
e8bdb1a0655ac818ed0d4f169720b6a6bef3d16a
ba32a9c05ecddbd21def21cd9c725ddeb461e86f
refs/heads/master
2021-01-22T07:58:57.687690
2017-04-23T16:18:27
2017-04-23T16:18:27
92,593,508
1
0
null
2017-05-27T11:06:25
2017-05-27T11:06:25
null
UTF-8
C++
false
false
6,621
h
ViewConfig.h
/* Menge Crowd Simulation Framework Copyright and trademark 2012-17 University of North Carolina at Chapel Hill 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/licen...
0020f8ef6ff881de14005fbe44580bb5cfa01b37
4de452c3335e71de23fbb26fc507de715e23a663
/ch5/main.cpp
293c69036d8265d762ee7b82e0ee5204402e4359
[]
no_license
liuxuanhai/Cpp-Concurrency
254759f6ecfcab5c4596aa5c16c367f4cc798988
b1fd8fb01bf1f7acd34e7e72160d89777ea19d36
refs/heads/master
2020-07-20T20:30:25.447364
2017-03-22T12:37:38
2017-03-22T12:37:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
451
cpp
main.cpp
#include <iostream> #include <atomic> #include <thread> #include <vector> using namespace std; vector<int> data; atomic<bool> dataReady(false); void read() { while (!dataReady.load()) { this_thread::sleep_for(chrono::milliseconds(1)); } cout << data[0] << endl; } void write() { data.push_back(1); dataReady =...
73fd21ec2109d6272f36ee0dbeae79a2a920932e
08ebe9d447f28f94e90578ec0a9567f92c508afc
/HuaweiModbus/serialport.h
ee1daae5379dcd04cbc9e0737fbf80655d7dc39b
[]
no_license
ChinaClever/CleverTool
bfaab789dcbd3944b3429a0489e0f38e6b228879
de268c48bc4ae39d9feb9e1d94e8f5e128d307b7
refs/heads/master
2022-11-25T16:52:11.962347
2021-09-14T06:26:27
2021-09-14T06:26:27
84,779,412
2
3
null
null
null
null
UTF-8
C++
false
false
549
h
serialport.h
#ifndef SERIALPORT_H #define SERIALPORT_H #include <QtGui> #include <QtCore> #include <QSerialPort> class SerialPort : public QThread { Q_OBJECT explicit SerialPort(QObject *parent = nullptr); public: static SerialPort *bulid(QObject *parent = nullptr); bool open(const QString &name,qint32 baudRate = ...
477e9ab1a59298e00c50eaa8b652fe9a2b805e16
b384c68c73ce159f40777f06b7cca0b81eb8a969
/slot.cpp
965755064eb2299cbce232b66369c209daf7ae04
[]
no_license
barraemme/bonsai-care
57a6d0d5d1ae81a5cba698061ce5f69c970beff6
8fd5694135db33bf0448d5dcb72c758eca4c184d
refs/heads/master
2021-01-10T23:32:22.300657
2012-03-16T14:10:17
2012-03-16T14:10:17
3,253,829
0
0
null
null
null
null
UTF-8
C++
false
false
3,036
cpp
slot.cpp
/** * Copyright (c) 2011 Nokia Corporation. */ // Class header #include "slot.h" // Platform includes #include <QtCore/QDebug> /*! \class Slot \brief Slot depicts one calendar event, which can span over multiple hours. */ Slot::Slot(const int bonsaiId, const QDate &day, OperationModel* operat...
8da102dbcc4ed2bf01acec11c8256cb5745e47d3
eab6cb92bc3e3ba8efba85ef95b70eb1b5b1ee37
/src/ofApp.h
68276d13f54bd98b785096eee1b7070f33945f6f
[]
no_license
jaysonh/MBJ_Performance
099868159f37168ca2d44a08b6245c47bca8c4d2
c083fb14042125227416155c5cc16bf175e8c773
refs/heads/master
2020-05-24T17:22:24.714701
2019-06-03T21:35:30
2019-06-03T21:35:30
187,382,310
0
0
null
null
null
null
UTF-8
C++
false
false
2,709
h
ofApp.h
#pragma once #include "ofMain.h" #include "LaserManager.hpp" #include "Timeline.hpp" #include "ofxGui.h" #include "OscManager.hpp" #include "DEFINITIONS.h" #include "SyphonManager.h" #include "DualLaserManager.h" #include "DMXHandler.h" #define WINDOW_WIDTH 1280 #define WINDOW_HEIGHT 640 class ofApp : public ofBase...
5e5bd9556ea9f892b15d8998be40f23289a9e764
808a2fa8c5dab511aaa9e29139f3d6cd3c8e5137
/deep8/src/math/Random.cpp
b37d614a08b0227169ac81d21c7f57ce920ccaad
[]
no_license
amazingyyc/Deep8
a55b4fc0cae53dd6851cdb50ed1de007b1c1774e
778855cd94864cf7062719dbfabca3fab15e1a90
refs/heads/master
2020-03-28T12:55:43.862684
2019-04-08T10:48:35
2019-04-08T10:48:35
148,347,819
6
0
null
2019-04-08T10:48:36
2018-09-11T16:35:41
C++
UTF-8
C++
false
false
175
cpp
Random.cpp
#include "math/Uniform.h" #include "math/Random.h" namespace Deep8 { namespace Math { void Random(Tensor &x, float lower, float upper) { Uniform(x, lower, upper); } } }
b10b6135cf9f72c404373eb33290010700999884
bebdd97d5a58216cf6f929f93119a1d48a6bf552
/code/Light.cpp
55418af8a11f1f5f9b1da575c80905d30ca006a1
[ "MIT" ]
permissive
Alriightyman/GameEngine
b81192f4c111912c8ae752b0f644e675ce12727e
f313db23d6aae99f8f90e6292756abe73007b56e
refs/heads/master
2021-01-01T15:34:33.299834
2020-03-09T13:44:24
2020-03-09T13:44:24
26,283,088
2
1
null
null
null
null
UTF-8
C++
false
false
2,260
cpp
Light.cpp
//////////////////////////////////////////////////////////////////////////////// // Filename: Light.cpp //////////////////////////////////////////////////////////////////////////////// #include "light.h" #include <memory> #include <iostream> namespace Engine { bool Light::isInitialized = false; Light::Light() { }...
19764c2ce7e2a50d4f0bb7d0f3e7da6b6b7ea84a
3629482e2e187feaddc6cb3f3ad444a2bd5a95ea
/plugins/devtools/bridge/inspector/protocol/stacktrace.h
c6aa00a51efca89b08b3797c11338a48682e4787
[ "Apache-2.0" ]
permissive
jiangtao89/kraken
222a1d69450fecbdd3cbc630a2a44dad9e21bec3
2f4f9716943cd68774d77b2bff612da44d0c8913
refs/heads/main
2023-06-22T21:10:36.488206
2022-07-27T08:08:55
2022-07-27T08:08:55
360,130,160
0
0
null
null
null
null
UTF-8
C++
false
false
3,503
h
stacktrace.h
/* * Copyright (C) 2020-present The Kraken authors. All rights reserved. */ #ifndef KRAKEN_DEBUGGER_STACKTRACE_H #define KRAKEN_DEBUGGER_STACKTRACE_H #include "inspector/protocol/call_frame.h" #include "inspector/protocol/error_support.h" #include "inspector/protocol/maybe.h" #include "inspector/protocol/stacktrace...
4b2cb181a9fbf589619e947a882c526b08326061
e08a0f0e9421f538b053a0f02f7d3780ee2c0b35
/1062.Talent_and_Virtue.cpp
c9eefa7f4c8d668f65695da6ef7f978b92fb124b
[]
no_license
unknowndai/zju-pat
ea3eb955fde8e334592927f95f02e776c4e9fae9
f48aa87755a3cae3e575a7316b6ac775813c97d1
refs/heads/master
2016-09-05T11:58:23.299365
2015-07-16T13:58:13
2015-07-16T13:58:13
35,673,487
0
0
null
null
null
null
UTF-8
C++
false
false
1,575
cpp
1062.Talent_and_Virtue.cpp
#include<iostream> #include<cstdio> #include<cstring> #include<string> #include<vector> #include<map> #include<algorithm> using namespace std; typedef struct people { int id, talent, virtue, tol, type; people(int id, int talent, int virtue, int tol, int type) : id(id), \ talent(talent), virtue(virtue), tol(tol), t...
75e3d5239a937da536903170167ee699a8544462
ec3de2effc71762bebba4837da269b8f9103cd76
/src/dod/barycentric.h
3e53f0add8dcac341dcf78172a507597f61edcbf
[]
no_license
mitch092/software_renderer
dbb4d49e1dbbb8f05c299922c6621794dfca1856
a476c9b44e19234b26d4d79b8c8b02a6a368c35e
refs/heads/master
2021-06-28T05:46:50.092696
2021-03-01T04:09:50
2021-03-01T04:09:50
212,499,723
1
0
null
null
null
null
UTF-8
C++
false
false
2,999
h
barycentric.h
#pragma once #include <glm/glm.hpp> #include <vector> #include "Primitives.h" #include "RectangularArray.h" // I need to optimize everything in this file more! struct BarycentricCache { BarycentricCache(const Triangle& triangle) { v0 = triangle.b - triangle.a; v1 = triangle.c - triangle.a; tria = glm::v...
31f5bf0526555bc8b3fac48a9fffc5dfe6af105c
c002e0807aaa361c87c4a8b43bf2f53f755a1eca
/DataStruct/Chapter3-Homework/Huffman.cpp
28100cd6361c2939d6fc889b4155f7008e467fa2
[ "MIT" ]
permissive
AlongWY/HIT-WorkShop
d6f815fb9a360657f6c4a8690186e9bf4097bcca
d1b7a75493608b58c7b56f303e5996b20dd6d4c0
refs/heads/master
2022-01-18T21:38:58.214527
2021-12-29T11:40:48
2021-12-29T11:40:48
213,611,806
4
5
null
null
null
null
UTF-8
C++
false
false
6,098
cpp
Huffman.cpp
// // Created by along on 17-11-11. // #include "Huffman.h" #include <fstream> #include <sstream> #include <bitset> #include <queue> using namespace std; struct Huffman::Node { bool leaf; char data; unsigned weight; Node *parent; Node *left; Node *right; Node(char _data, unsigned _weight,...
e6f1aa7384150b801690b1c0387363781e1222a7
5ff792d68a3852619560268c5f23f80bb3a1412f
/main_bitand_operator_used_to_define_refence.cpp
336be2474788ca386ac141ecde3aec3b78c318e6
[]
no_license
an3e/cppearls
3edeb6d4229383bc9927faea0d876d8bbb64091f
c1f2c9024e220a3292843494981a032073624542
refs/heads/master
2021-01-19T04:55:52.978093
2015-09-09T11:23:34
2015-09-09T11:23:34
39,006,803
0
0
null
null
null
null
UTF-8
C++
false
false
294
cpp
main_bitand_operator_used_to_define_refence.cpp
#include <iostream> int main(int argc, char** argv) { int x = 0x33; int bitand y = x; std::cout << "x = " << std::hex << x << "; y = " << std::hex << y << std::endl; x = x * 2; std::cout << "x = " << std::hex << x << "; y = " << std::hex << y << std::endl; return 0; }
31c4641628cfd6a8e7a2d8ab40e6ce417afdad7b
61ee1c13ea309b5899a1d84507cb4c065547d62f
/C++ Practice(DSalgo)/Graph/Dijkstra.cpp
8a95d793a500e465a6cc726d82050b4fd80a093f
[]
no_license
Adarshkumarmaheshwari/SI-AlgoDS-Practice
59fe0b0192b81729553c2d939a19bb3e01c811ce
92b5b1f8cffcf699c1f8c6c2b43ecf377b3e583e
refs/heads/master
2023-07-01T14:43:05.031776
2021-08-05T17:40:44
2021-08-05T17:40:44
370,755,434
0
0
null
null
null
null
UTF-8
C++
false
false
1,771
cpp
Dijkstra.cpp
#include "bits/stdc++.h" using namespace std; #define V 9 int selectMinVertex(int dis[], bool processed[]) { int min = INT_MAX; int minIndex; for (int i = 0; i < V; i++) { if (processed[i] == false && dis[i] <= min) { min = dis[i]; minIndex = i; ...
bc281d75a776430db58c7fa004a07f4428f1b8cd
438bb3e6820026ac5bcc3ba2de34ec1ef6228a18
/src/chess-engine/Pieces/Queen.cpp
d0c44ece1dbd96c3944aabd2ab91a58f58b4084a
[]
no_license
dbtdsilva/chess-opengl
4e4419d611f43b470a8b6c6d18979107856b1c65
4874b60eac35ac3d051fae36ddb120fc69e62afb
refs/heads/master
2020-12-30T22:58:50.885316
2015-11-16T20:20:11
2015-11-16T20:20:11
25,787,743
0
1
null
null
null
null
UTF-8
C++
false
false
757
cpp
Queen.cpp
/* * Queen.cpp * * Author: Diogo Silva (dbtds@ua.pt) * */ #include "Queen.hpp" using namespace std; static vector<Point2D<int> > createPossibleMoves() { vector<Point2D<int> > moves; moves.push_back(createPoint(1, 1)); // Diagonal Right moves.push_back(createPoint(1,-1)); // Digonal Left moves.push_back(cr...
35d3b21f2663610b112f75687decb69a541da49f
e74e7ceb1754a77afc25b33beced1cee49ddbe82
/unit_02.cpp
e9d0940a6ee3ff07389343a8edbfc9e80d76fdca
[]
no_license
EXOVBF/Decay
5290fd1d82b2d33f9054ef39777dfff0203112a9
418a821f5f1ac7efce9500b49142373ff1376edd
refs/heads/master
2021-01-18T15:15:25.128412
2014-11-19T10:05:05
2014-11-19T10:05:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,785
cpp
unit_02.cpp
/**************************************************************************************************************************** this program reads lhe file, select some events and then do the hadronization ---> time saving! compile with -----> c++ -O2 -ansi -pedantic -W -Wall `pythia8-config --cxxflags --libs --...
d36196d60f6aaed016cec3c3ea4abe1e48f8b5b2
eb7c2150e1a5678811f27ec197bef36e36069a6c
/core/dialogjsonwriter.h
610184269557b72c4f4f50521d6a3b73d9dc13a0
[]
no_license
QtWorks/VirtualClientDialogEditor
769c9a237d93fc1a427560a7de42737590cd000e
a6aa7c82a3bb542c7d578190bd2db868f5e9221e
refs/heads/master
2020-05-18T09:12:51.131166
2019-04-24T20:52:47
2019-04-24T20:52:47
184,317,111
1
0
null
2019-04-30T19:07:55
2019-04-30T19:07:55
null
UTF-8
C++
false
false
247
h
dialogjsonwriter.h
#pragma once #include "dialog.h" #include <QJsonObject> namespace Core { class DialogJsonWriter { public: DialogJsonWriter(); QString write(const Dialog& dialog, bool compact = false); QJsonObject writeToObject(const Dialog& dialog); }; }
b4838fe29a8d1341944c3e1d58fe597306581915
32df5b091b36e0155c729d582f5c0dfba2de21f4
/DatalogInterpreter/LexicalAnalyzer.cpp
b26f4e35a54441f1b7366a942d46efe6190a8df1
[]
no_license
jordanchip/school-projects
adfb2be028a7c93b812b4a2541d516f6520bde1e
b4a99f6874e4934ec18333b2c60022ac95321b7a
refs/heads/master
2020-05-31T01:16:03.567044
2015-09-23T17:06:34
2015-09-23T17:06:34
42,881,883
0
0
null
null
null
null
UTF-8
C++
false
false
897
cpp
LexicalAnalyzer.cpp
#include <fstream> #include <iostream> #include <iomanip> #include <cstring> #include <string> #include <vector> #include <cstdlib> #include <ctype.h> #include "LexicalAnalyzer.h" #include "Token.h" #include "Scanner.cpp" #include <vector> #include "DatalogProgram.h" #include "Predicate.cpp" #include "Parameter.cpp" #i...
fb66ec9dfebc5667278af68d5a557ca52233b7aa
a58ee7b46968f35af46b748ad2d3224682afbd2d
/CPP/src/test/test_address_lamdba.h
5fbdd706619d6d6527ddc9df3ad9d3648254ddf7
[]
no_license
xju2/learn_ml_in_a_hard_way
bf2c13a549d7aa29af31f9c31b3a6d7ec9b08c11
40dc4cfa5161c1bd1711107b0b6f97156d9f7f6b
refs/heads/master
2023-02-25T22:44:22.785936
2023-02-24T23:55:47
2023-02-24T23:55:47
144,209,303
1
1
null
null
null
null
UTF-8
C++
false
false
317
h
test_address_lamdba.h
#include <functional> #include <iostream> using namespace std; template<typename T, typename... U> inline uintptr_t get_address(std::function<T(U...)> f) { typedef T(fnType)(U...); fnType ** fnPointer = f.template target<fnType*>(); return (fnPointer != nullptr) ? reinterpret_cast<uintptr_t>(*fnPointer) : 0; }
8c9a8a141ec1d7aa7a1f125da61801645dedc4c3
53242e8aa6072a84cf5a122c82cd7c117d0a1054
/Codes/SAE_CPP/DriverModel_SAE_4.cpp
196761695fa2bd1053d98e8d8efd1cba43b80749
[]
no_license
fsagir/SPR4123
12ff51f8e510dd33e83420657816feec2d76e2fd
0ea9f498f1bb8b7b92b9344dcc3c8a562b0d3191
refs/heads/master
2021-09-15T03:24:20.691701
2017-10-07T22:52:27
2017-10-07T22:52:27
105,476,916
1
0
null
null
null
null
UTF-8
C++
false
false
15,892
cpp
DriverModel_SAE_4.cpp
/*==========================================================================*/ /* DriverModel.cpp DLL Module for VISSIM */ /* */ /* Interface module for external driver models. */ /* ...
6efeb75ca0f553ecf14efd927a383d716282f59c
9ada6ca9bd5e669eb3e903f900bae306bf7fd75e
/case3/ddtFoam_Tutorial/0.003450000/rhoEu
8d1ef73c38fd28afc690001e86fc04988fcf0486
[]
no_license
ptroyen/DDT
a6c8747f3a924a7039b71c96ee7d4a1618ad4197
6e6ddc7937324b04b22fbfcf974f9c9ea24e48bf
refs/heads/master
2020-05-24T15:04:39.786689
2018-01-28T21:36:40
2018-01-28T21:36:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
114,505
rhoEu
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | ...
d7259f207a778cefe29a09e1207b73d0e14f34ec
b572d3d2d84304499d0b3deb45f0cc7a2af68d8e
/player.cc
767ec3d567dc692c5efbf0103abbfd158abdd011
[]
no_license
CSUF-CPSC121-2021S01/siligame-05-andylasso25
9c52ceb931748f6e61038dfdaf7e1891ed452983
8a0c55662bb04c92e6ac7a846a6894533ecb3eb1
refs/heads/main
2023-05-03T12:26:16.978089
2021-05-28T01:59:16
2021-05-28T01:59:16
367,206,617
0
0
null
null
null
null
UTF-8
C++
false
false
5,026
cc
player.cc
#include "player.h" #include "cpputils/graphics/image.h" #include "game_element.h" #include "opponent.h" graphics::Color Pblack(0, 0, 0); graphics::Color Pred(255, 0, 0); graphics::Color Pblue(0, 0, 255); graphics::Color Pgreen(0, 255, 0); graphics::Color Pyellow(255, 255, 0); graphics::Color Pcyan(0, 255, 255); grap...
62b4ddc96529d56aecf720af2f18f463d3f168b2
2fc297f92fcb372da7192d353bf1c557c3a8ace5
/Intermediate/Build/Win64/UE4Editor/Inc/Building_Escape/GrabberComponent.gen.cpp
c446901b3b8e3ac53b8df486381fb9109b7be014
[]
no_license
neonzz1/Building_escape
c7d2176a885dab724f0f4e793157c5f35369e21c
7b9f4c17d6c86f35768732601b652f89b5e3fa8d
refs/heads/master
2023-01-12T08:56:35.225786
2020-11-12T15:59:43
2020-11-12T15:59:43
311,379,608
0
0
null
null
null
null
UTF-8
C++
false
false
4,733
cpp
GrabberComponent.gen.cpp
// Copyright Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ========================================================================...
e889af0f1f0fb538e01708fb3b45bbe28a897e8a
cda4fd3a160a5ee54ac0e4c07cb2761fb2bbc560
/Simple2D/s2Base/sClock/SHighPrecClock.cpp
5f18e6c141f48c678d838745673f88061d77bf88
[]
no_license
cnscj/Simple2D
8b1ef2bcb4b543e45c7b6e22a93143c66fba63b8
2d3525071da84def66f57efd6d72586aed99b7df
refs/heads/master
2020-03-18T18:44:17.487513
2018-05-28T05:53:54
2018-05-28T05:53:54
135,111,726
1
1
null
null
null
null
UTF-8
C++
false
false
1,096
cpp
SHighPrecClock.cpp
#include "SHighPrecClock.h" double SHighPrecClock::GetClockTick() { tp now = hrc::now(); return (double)now.time_since_epoch().count(); } SHighPrecClock::SHighPrecClock() :m_fTimeScale(1.0f) { Reset(); } SHighPrecClock::~SHighPrecClock() { } double SHighPrecClock::GetElpased() { tp time; dd span;...
07988210b4eeee563620507e72cc5ac1791a5f22
97e1fe77e42a2fa60f1511d69a2fd39e0ca37a1e
/Serial/serialRecieveAnalogOutLed/serialRecieveAnalogOutLed.ino
33f13c69083528aed15ed6f314d979ff3253ff93
[]
no_license
rparitosh/arduino
30daae90de6a436034d83401a6924a0c9790ca13
80399d570f7924f05c47ba0d1b74784116f72f41
refs/heads/master
2021-01-11T16:56:40.745514
2017-01-22T11:20:26
2017-01-22T11:20:26
79,699,800
0
0
null
null
null
null
UTF-8
C++
false
false
326
ino
serialRecieveAnalogOutLed.ino
int potPin = 0; int ledPin = 9; void setup() { // put your setup code here, to run once: pinMode(potPin,INPUT); pinMode(ledPin, OUTPUT); } void loop() { // put your main code here, to run repeatedly: int val = analogRead(potPin); int ledVal = map(val,500,1023,255,0); analogWrite(ledPin,ledVal); delay(...
c42562f5e50bfb3744ecd9d1599a2b3eddd9489b
2cadafa97dd43e104bf80a353e65b299f7678720
/gameboard.cpp
293522f6d490d3381df6ebdd78582943d3f3a673
[]
no_license
BookCatCSIE/NCKU-Project2
54397eba88203b40f8a3ef2535ca72a5fa776aa1
35afb58f7969a2714ee148885d38d81d75a99f4c
refs/heads/master
2020-03-23T17:40:24.295539
2018-05-13T15:56:23
2018-05-13T15:56:23
141,869,771
0
0
null
null
null
null
UTF-8
C++
false
false
3,260
cpp
gameboard.cpp
#include "gameboard.h" #include "sudokuboard.h" #include <QGroupBox> #include <QPushButton> #include <QLayout> #include <QMessageBox> #include <QComboBox> #include <QLabel> GameBoard::GameBoard(QWidget *parent) :QWidget(parent) { setup(); } void GameBoard::setup() { initCheckBox(); QVBoxLayout *switchLayout =...
511c10ed36832361005b04c17a6a27698f381395
1dbf007249acad6038d2aaa1751cbde7e7842c53
/cbr/src/v1/model/BillingUpdate.cpp
360d8b585580314a352a181e695401af164fab17
[]
permissive
huaweicloud/huaweicloud-sdk-cpp-v3
24fc8d93c922598376bdb7d009e12378dff5dd20
71674f4afbb0cd5950f880ec516cfabcde71afe4
refs/heads/master
2023-08-04T19:37:47.187698
2023-08-03T08:25:43
2023-08-03T08:25:43
324,328,641
11
10
Apache-2.0
2021-06-24T07:25:26
2020-12-25T09:11:43
C++
UTF-8
C++
false
false
2,248
cpp
BillingUpdate.cpp
#include "huaweicloud/cbr/v1/model/BillingUpdate.h" namespace HuaweiCloud { namespace Sdk { namespace Cbr { namespace V1 { namespace Model { BillingUpdate::BillingUpdate() { consistentLevel_ = ""; consistentLevelIsSet_ = false; size_ = 0; sizeIsSet_ = false; } BillingUpdate::~BillingUpdate() = d...
0c6afa653ded80205b12f466c4da68d0672143eb
005e5b80ff893952de1b1538fe79e1c45a5b0ea8
/include/GameOverState.hpp
08f544e7ec03191f09d0a5869fa69cb1103330d9
[]
no_license
eyosyaswd/collision
115b623b06a5c222d161d4b0c44a8b29c37066b3
04c7756a52809b978b406bce429b047dbe54a089
refs/heads/master
2020-03-30T14:32:02.819224
2018-12-07T00:39:59
2018-12-07T00:39:59
151,322,505
2
0
null
2018-11-08T01:41:31
2018-10-02T20:57:50
C++
UTF-8
C++
false
false
1,022
hpp
GameOverState.hpp
/** * Filename: GameOverState.hpp * * This is the screen that shows up when you lose the game. **/ #ifndef LOSESTATE_HPP #define LOSESTATE_HPP #include <SFML/Graphics.hpp> #include "GameApp.hpp" #include "State.hpp" #define MAX_NUMBER_OF_ITEMS 3 class GameOverState : public State { public: GameOverState(G...
a38c994b489bc17e12bcad99ac84a1b600daf140
6feff1e66ba5a3c61eafc38ec312fdddfd9491e7
/lab 3/main.cpp
a7bb891fbbf742b2bf3605d3c9fcc80db2e47fbf
[]
no_license
baterra/CharCheck
916063f6c3533b45fee2fcf7f508b57b2b856bef
328e7450a378dfbafce47d70209fe28f297a5a9d
refs/heads/master
2022-12-24T04:49:55.110263
2022-12-15T06:05:16
2022-12-15T06:05:16
249,150,352
0
0
null
null
null
null
UTF-8
C++
false
false
1,654
cpp
main.cpp
#include <iostream> #include <string> #include <cctype> using namespace std; int main() { char oneChar; int alpha = 0; int digits = 0; int alnum = 0; int punct = 0; int space = 0; int print = 0; int up = 0; int low = 0; string str = ""; int r = 0; bool run = true; while (run){ // your code should be he...
4066009a912e342eb21774f093f33b6e6f231669
31d7717e3aa8da831e439ced3b061933c0ce0988
/OpenHome/Net/Bindings/Cpp/ControlPoint/Proxies/CpAvOpenhomeOrgWebDeviceConfig1Std.cpp
f8464a6247652aec357ae9f5b9f07350843f3276
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
imateev/Lightning-ohNet
586f5d7b1e29c6c61269a064085ca11078ed5092
bd8ea0ef4f5237820f445951574818f6e7dfff9c
refs/heads/master
2021-12-25T23:07:13.914882
2018-01-02T01:11:27
2018-01-02T01:11:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,891
cpp
CpAvOpenhomeOrgWebDeviceConfig1Std.cpp
#include "CpAvOpenhomeOrgWebDeviceConfig1.h" #include <OpenHome/Net/Core/CpProxy.h> #include <OpenHome/Net/Private/CpiService.h> #include <OpenHome/Private/Thread.h> #include <OpenHome/Net/Private/AsyncPrivate.h> #include <OpenHome/Buffer.h> #include <OpenHome/Net/Cpp/CpDevice.h> #include <OpenHome/Net/Private/CpiDevic...
cf8db966f8c639d1aefa92e73aea264e3fca60f0
840948dd381a075e959a01061dfd85be0af65c96
/source/CalcEfficiency/src/TagAndProbeMT.cxx
c24e56f5970ee2b5f8ff9b0ea92bb0d32c904763
[]
no_license
ktaniguc/AODAnalysisTool
8395b7b45f66f3f02eb1f183fab49175660dbc0a
055b2eb1cc5d6db762d4941fc522adc13116114e
refs/heads/master
2023-03-10T08:58:02.928408
2021-02-23T06:08:55
2021-02-23T06:08:55
341,447,848
0
0
null
null
null
null
UTF-8
C++
false
false
20,369
cxx
TagAndProbeMT.cxx
#include <iostream> #include <fstream> #include <vector> #include "TrigConfxAOD/xAODConfigTool.h" #include "xAODTrigMuon/L2StandAloneMuon.h" #include "xAODTrigMuon/L2StandAloneMuonContainer.h" #include "xAODTrigMuon/L2CombinedMuon.h" #include "xAODTrigMuon/L2CombinedMuonContainer.h" #include "xAODTrigger/MuonRoIContai...
c011da3d3a19982dcba29e2780454d2ddb1b616f
d9f008b2681eb4261dec9139b4ef6e48ac666503
/loadedDie.hpp
9d08c9fd7be1fd796b04adfeb5a251d97162c420
[]
no_license
DRot88/Lab3_Dice_War
da5d6acd3c03c86817166ed43d5f6699b7c3d049
b80679e8c6e4a01c7629a72c57c2cf85f6611691
refs/heads/master
2021-03-16T08:29:32.413459
2017-07-15T17:53:54
2017-07-15T17:53:54
97,076,978
0
0
null
null
null
null
UTF-8
C++
false
false
240
hpp
loadedDie.hpp
#include "die.hpp" #ifndef LOADEDDIE_HPP #define LOADEDDIE_HPP class LoadedDie : public Die { private: public: // Loaded Die constructor LoadedDie(int n); // Derived class roll function virtual int roll(); }; #endif
7cf40aebdbca6192730f61501c7451237d6ee71b
2de766db3b23b1ae845396fbb30615c01cc1604e
/zoj/02/1122.cpp
51808e63c48402fbfe8117f65bb1d409a48e62d7
[]
no_license
delta4d/AlgoSolution
313c5d0ff72673927ad3862ee7b8fb432943b346
5f6f89578d5aa37247a99b2d289d638f76c71281
refs/heads/master
2020-04-21T01:28:35.690529
2015-01-29T13:38:54
2015-01-29T13:38:54
8,221,423
1
0
null
2013-04-09T15:10:20
2013-02-15T16:09:33
C++
UTF-8
C++
false
false
1,327
cpp
1122.cpp
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; struct time_tt { int h; int m; time_tt(int _h=0, int _m=0):h(_h), m(_m) {} bool input() { return 2 == scanf("%d %d", &h, &m); } bool below(const time_tt &a) { if (h < a.h) return true; if (h > a.h) return false;...