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
783df199812da1532dce43af26e7086473d69fd3
b51917aaac206c33de5158cbba98e54f2b264cae
/include/xmol/proxy/Selection.h
92dd0f1e54076c2a2a68d62ef080a59c3d23e920
[ "MIT" ]
permissive
sizmailov/pyxmolpp2
a859ce0cd1ccb8545cceb84571983ed6ed4c2c76
9395ba1b1ddc957e0b33dc6decccdb711e720764
refs/heads/master
2021-07-21T14:16:45.772127
2021-02-17T06:39:43
2021-02-17T06:39:43
130,349,907
5
7
MIT
2020-06-16T00:42:28
2018-04-20T10:52:55
C++
UTF-8
C++
false
false
2,879
h
Selection.h
#pragma once #include <algorithm> #include <cassert> #include <iostream> #include <vector> #include <optional> namespace xmol::proxy { template <typename T> class Selection { public: struct LessThanComparator { /// Intentionally left unimplemented. Must be specialized individually bool operator()(const T& p...
934e19c7a7bbd27caec2fa5135137305b4257b2c
ab62dfa63127d4fe49600a9e4124ceeeb76e1ab2
/结构体之求学生平均分.cpp
96ddee72e5de42d48a0a4f9c309d4a49826edab7
[]
no_license
ZhReimu/C
555fb5ea9be0d1074cb785683bcb8ae78f20b913
550e5dc4515180ae391505b7b172227f4fc15b4b
refs/heads/master
2021-03-17T05:27:57.631275
2020-03-26T07:02:08
2020-03-26T07:02:08
246,965,288
0
0
null
null
null
null
UTF-8
C++
false
false
381
cpp
结构体之求学生平均分.cpp
#include "stdio.h" int main() { struct stu { char name[16]; float english, chinese, math; }; struct stu student[3] = { {"张三", 80, 90, 60}, {"李四", 60, 90, 60}, {"王五", 50, 90, 60} }; int i = 0; for (; i < 3; i++) printf("%s的平均成绩是%.2f\n", student[i].name, (student[i].english + student[i].chinese +...
75ffed8490851c07be506ef998eea3e04cb84742
9030ce2789a58888904d0c50c21591632eddffd7
/SDK/ARKSurvivalEvolved_Buff_AlphaWyvern_classes.hpp
4263e0fa321436f91252d5dd86ac4b3477e386cd
[ "MIT" ]
permissive
2bite/ARK-SDK
8ce93f504b2e3bd4f8e7ced184980b13f127b7bf
ce1f4906ccf82ed38518558c0163c4f92f5f7b14
refs/heads/master
2022-09-19T06:28:20.076298
2022-09-03T17:21:00
2022-09-03T17:21:00
232,411,353
14
5
null
null
null
null
UTF-8
C++
false
false
790
hpp
ARKSurvivalEvolved_Buff_AlphaWyvern_classes.hpp
#pragma once // ARKSurvivalEvolved (332.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Buff_AlphaWyvern_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------...
8368d7e2634298813b1e2e87e7fc601825386aaf
4433c23517a0b16fd17ae192e8cd8f46058814f6
/CodeForces/kbl_didi_ridi/471/A[ MUH and Sticks ].cpp
6a9661a87ef2bc5c428ddc4dd48d575ecf0758ee
[]
no_license
navidkpr/Competitive-Programming
103ca6c40a41658b053be86bd7a27a73e3d64d24
e47400cf59dea3b224fe7f1007aded347e9320d1
refs/heads/master
2023-08-27T22:19:40.019391
2019-02-16T21:14:36
2019-02-16T21:14:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
509
cpp
A[ MUH and Sticks ].cpp
#include <iostream> #include <algorithm> #include <vector> using namespace std; int arr[10]; int mrk[10]; int main() { int n = 6; for (int i = 0; i < n; i++) cin >> arr[i]; for (int i = 0; i < n; i++) mrk[arr[i]]++; bool h = 0; for (int i = 0; i < 10; i++) if (mrk[i] >= 4) { h = 1; mrk[i] -= 4; ...
cb8faa7d003d86203984c44770cc96bff6cbaaaa
24592c757a446568092ccbe4c3ab6162a81cd8da
/07-29 红与黑_蘑菇阵/07-29 红与黑_蘑菇阵/test.cpp
176e979c25fe168130ce74f0f65420b42b84cbf5
[]
no_license
gutingyue/Daily-Exercises
879981d6d05fbfb94ad2c46c1717b5534ae407be
822d9b60f6e8e5f67008900737e88163067d092b
refs/heads/master
2022-11-23T09:45:43.688100
2020-08-03T14:33:58
2020-08-03T14:33:58
268,408,896
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
630
cpp
test.cpp
// write your code here cpp #include <iostream> #include <vector> using namespace std; int count = 0; void GetCount(vector<vector<char>> vc, int x, int y){ if (x >= vc.size() || y >= vc[0].size() || vc[x][y] == '#' || vc[x][y] == '@') return; count++; vc[x][y] = '@'; GetCount(vc, x--, y);//ÉÏ GetCount(vc, x++,...
6e096d9a65ebb603d71c85717e444b780c7833aa
06fee45a8cd9f5391bb89e0dcbd81a374ea3593b
/Libraries/NtlLib/Shared/NtlPathEngine/Source/NtlMeshFederationContainer.h
aff45aea85dbef7a2e918c026bf148245a9b4d67
[]
no_license
ivanlamega/dragon-ball-online-tw-server
3afde0aae0c8a15370559670e58ec509fa680147
31e432f208d725cb4c71d91d0292b4056819d075
refs/heads/master
2022-03-03T14:57:27.590250
2022-02-16T17:49:51
2022-02-16T17:49:51
208,133,340
33
37
null
2019-10-15T10:33:29
2019-09-12T19:44:55
Perl 6
ISO-8859-7
C++
false
false
1,673
h
NtlMeshFederationContainer.h
/***************************************************************************** * File : NtlMeshFederationContainer.h * Author : Haesung, Cho * Copyright : (ΑΦ)NTL * Date : 2009. 03. 12 * Abstract : Ntl MeshFederation Container ***************************************************************************** * Desc: ...
fa8d885a9326d83d5647af3ff796b2efcfc0ea12
1441c42143482899d4b49c7fcdc9e8fff9cbf416
/projectfile.cpp
3ca01d033136352a61b7bc2d2aa2c21bdd563d59
[]
no_license
domaspiragas/SpriteEditor
567d5afba36ca145089756a746b98fbe96aab42b
32c19c674a8f36f2462788ed7dcea5eeb018d286
refs/heads/master
2021-01-17T16:45:53.056579
2016-10-25T01:02:29
2016-10-25T01:02:29
71,845,681
1
0
null
null
null
null
UTF-8
C++
false
false
6,144
cpp
projectfile.cpp
#include "projectfile.h" #include "canvas.h" #include <fstream> #include <sstream> #include <QColor> #include <QPainter> #include "frame.h" #include <string> ProjectFile::ProjectFile(const char * fileName) : m_height(0), m_width(0), m_numFrames(0), m_colorGrid(0) { std::ifstream infile(fileNa...
82acb06b059659efc27cbb24f3c89ad4b78ad40b
870a30edb401eb268e89a25088bd034e4ae186f9
/PFI_openVDBTools/C++ port/vdbTest/vdbTest/Algorithm.cpp
5324bd5dc0e148faeedea29f418b6788b4658969
[]
no_license
drexelsystemslab/PFIAir
ce7d6cb597e439b40e1314f911d31a2f43bd7a94
1820a3242b9bf8526f672fc9866d88969ef8108b
refs/heads/master
2022-07-09T05:57:58.881689
2021-04-05T17:17:28
2021-04-05T17:17:28
77,751,423
1
0
null
2022-06-21T22:43:53
2016-12-31T18:17:37
Python
UTF-8
C++
false
false
1,585
cpp
Algorithm.cpp
// // Algorithm.cpp // vdbTest // // Created by Hanjie Liu on 8/11/17. // Copyright © 2017 Hanjie Liu. All rights reserved. // #include "Algorithm.hpp" #include <openvdb/tools/LevelSetFilter.h> using namespace std; using namespace openvdb; bool PFIAir::algorithme::inflate(const float offset, FloatGrid::Ptr) { ...
95c6402fa1aa2eb2014d691c5f2cdd27aee45b23
46d489612ef4cf7a439e6f41f16642db4db3105c
/LeetCode/1492_the_kth_factor_of_n.cpp
39872c9869732693579cac4916ff5e573795cb1b
[]
no_license
underscoreanuj/Codes
6e55fae10077146df15ce520734e5b3e7bd61df5
5673b5631678cadd3bb3091106932ef72c1f8167
refs/heads/master
2023-04-03T01:20:20.575146
2021-04-01T18:46:03
2021-04-01T18:46:03
231,509,221
0
0
null
null
null
null
UTF-8
C++
false
false
989
cpp
1492_the_kth_factor_of_n.cpp
// O(sqrt(n)) solution class Solution { public: int kthFactor(int n, int k) { int res = 1; for (; res * res <= n; ++res) { if (n % res == 0 && --k == 0) return res; } while (res > 1) { --res; if (res * res == n)...
4d73461b96fcdf26f0338623a89a0bb4e63bb1f8
7cfcb97a2bff6c58191a87ed75fb835c67b7fdc9
/Median of Two Sorted Arrays.cpp
ac2ec489501dd63b66e002cf51a4542a1356b68c
[ "Apache-2.0" ]
permissive
Shubhamag19/LeetCode
dfa69ec7c7f97172cf396fa170a286333436d859
93202840ac67b04bea1b4547edb156c816940018
refs/heads/master
2020-08-31T20:00:35.180855
2020-08-06T02:10:29
2020-08-06T02:10:29
218,772,922
0
0
null
null
null
null
UTF-8
C++
false
false
1,013
cpp
Median of Two Sorted Arrays.cpp
class Solution { public: double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) { vector<int> num(nums1.size()+nums2.size()); int i=0, j=0, k=0; while(i<nums1.size() && j<nums2.size()){ if(nums1[i]<nums2[j]){ num[k] = nums1[i]; i++; ...
087a10f321a6e844b19c76e9d0b6209aad1e20c1
73bfad0687c4df96a7dbec54b8b90e35fe460069
/src/Ogre/src/collectEntities.cpp
d72d64f3c412061193a0e1650236e83c8c85ff42
[]
no_license
brieucdnl/JV-IN
fb42d3cf7eab6a353714915a226a53d63465dd84
00381a6276e4eb04084bdbff44cf125f05412c4c
refs/heads/master
2016-08-11T19:43:59.254902
2016-03-09T22:06:57
2016-03-09T22:06:57
49,319,928
0
0
null
null
null
null
UTF-8
C++
false
false
749
cpp
collectEntities.cpp
#include <stdafx.h> #include <Ogre/CollectEntities.h> namespace Ogre { void Ogre::collectEntities( Node * node, ::std::vector<Entity*> & entities ) { Ogre::SceneNode * sceneNode = dynamic_cast<Ogre::SceneNode*>(node) ; if(sceneNode!=NULL) { Ogre::SceneNode::ObjectIterator it = sceneNode->getAttachedObjectIt...
e8c75b5245291d475d78b5518fb53e2c4e15f6db
084006eb442b60b82b3d85d61a3b53d21c5c8855
/shared/Irrlicht/source/Irrlicht/CImageLoaderRTTEX.cpp
eb2541d3fc657f00eac143b2d3ab2ec418728d72
[ "XFree86-1.1", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LicenseRef-scancode-other-permissive", "Zlib" ]
permissive
SethRobinson/proton
7aadcb38bc676c136dce01b8f6773fd75fa33d55
6b1474e75a2acf48d848c70fcb043ce8223001a9
refs/heads/master
2023-08-31T11:04:21.575522
2023-08-29T07:44:50
2023-08-29T07:44:50
142,253,855
81
31
NOASSERTION
2023-08-07T22:02:41
2018-07-25T05:55:38
C++
UTF-8
C++
false
false
2,468
cpp
CImageLoaderRTTEX.cpp
// Copyright (C) 2002-2009 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #include "CImageLoaderRTTEX.h" #ifdef _IRR_COMPILE_WITH_RTTEX_LOADER_ #include "CImage.h" #include "CReadFile.h" #include "os.h" #includ...
e459417ecac2f28f999b55aae5073e091e73ffa4
b2f3a28d37c5ea61d1ace419cae18438c8f69a0f
/HDU/1098.cpp
bab50b245e00344b1b6494c3c87937de493a419a
[]
no_license
wym6912/ACM-ICPC_wym6912
335a07b2325e9b336bfb1eacd0fdb28d8a20e995
a7d713c9383bda8813990b865bcd7aaebde6486c
refs/heads/master
2021-01-15T17:55:10.518382
2018-12-20T06:50:29
2018-12-20T06:50:29
99,766,810
4
0
null
null
null
null
UTF-8
C++
false
false
770
cpp
1098.cpp
//#define NOSTDCPP #ifndef NOSTDCPP #include <bits/stdc++.h> #else #include <cstdio> #include <cstring> #include <cmath> #include <iostream> #include <algorithm> #include <map> #include <set> #include <vector> #include <string> #include <queue> #include <stack> #endif # define RESET(_) memset(_, 0, sizeof(_)) usi...
94250f6ffcbb786084cf7cee9b0d35ba5a450175
62ad552886133faf436daf3e4d0c6ce9c3c7d9b0
/src/interval_tree.h
45802da407105c0c0384b55bad3cc379e6f30d48
[ "MIT" ]
permissive
ngvozdiev/ncode-common
fa5056532c787c1bb5b3281efbafe2a076750111
75a1f3c6abb0802d84aa2713727c6d061443e234
refs/heads/master
2020-04-05T11:46:09.967317
2018-12-16T17:33:44
2018-12-16T17:33:44
81,127,175
0
1
null
null
null
null
UTF-8
C++
false
false
9,902
h
interval_tree.h
// A memory-efficient column of numbers. #ifndef NCODE_INTERVAL_TREE #define NCODE_INTERVAL_TREE #include <set> #include <vector> #include "common.h" #include "stats.h" namespace nc { namespace interval_tree { // An interval of [low, high] numbers associated with a value. The value sohuld // be copiable and compara...
94a7767249c1557543414c99fb4aea87d53da4a3
e018d8a71360d3a05cba3742b0f21ada405de898
/Client/ModifyStatusManager.cpp
9005f96cb7880f993f8a4f0db0f9073505597090
[]
no_license
opendarkeden/client
33f2c7e74628a793087a08307e50161ade6f4a51
321b680fad81d52baf65ea7eb3beeb91176c15f4
refs/heads/master
2022-11-28T08:41:15.782324
2022-11-26T13:21:22
2022-11-26T13:21:22
42,562,963
24
18
null
2022-11-26T13:21:23
2015-09-16T03:43:01
C++
UHC
C++
false
false
44,138
cpp
ModifyStatusManager.cpp
//----------------------------------------------------------------------------- // ModifyStatusManager.cpp //----------------------------------------------------------------------------- #include "Client_PCH.h" #include "MZone.h" #include "MTopView.h" #include "MTypeDef.h" #include "ModifyStatusManager.h" #incl...
1a46324dbb1cab443455f417490eaa485ec7b301
4bdf6d41a27ac7172f4ea67fe8d874bde3e403b8
/lab 04 en clase/main.cpp
cc35b36560933e5fd9676b07633d314635b7f344
[]
no_license
mauriciocarazas/CC1-2017
d97fa573dd6bc58ad7054e60457156addc68d630
df4d3740c1b20e6e6fd81f0c2f6ce062db198b68
refs/heads/master
2021-09-06T12:26:39.168759
2018-02-06T14:17:16
2018-02-06T14:17:16
85,719,570
0
0
null
null
null
null
UTF-8
C++
false
false
677
cpp
main.cpp
#include <iostream> using namespace std; //definimos el for /* int funtion_for(int i=0 ,int a){ if(i==a){ return 0; } else{ cout << i << endl; return funtion (++i,a); } }*/ int main() { /* //1 definimos el for funtion_for(0,4); */ //HACER UNA FUNCION QUE IMPRIMA LOS NUMER...
c439fe71173b6375a63f36902f5b0189f7f6f9da
ecd51a21b3465162f5cca1935c87c64415939173
/boj14888.cpp
9220fcb5e9699153cd3b44231bcf5b2727bfc2b0
[]
no_license
Faith0918/Algorithm-C-
3ff992eaa9d621c751f3d2d222475558cb337bc2
9c0bf2ca9daf772d94776d60eeb6223fdee765ef
refs/heads/master
2023-08-12T17:06:17.470134
2021-10-15T10:09:30
2021-10-15T10:09:30
263,071,849
0
0
null
null
null
null
UTF-8
C++
false
false
1,453
cpp
boj14888.cpp
//연산자 끼워넣기 #include<iostream> using namespace std; long long maxx = -(long long)1e10; long long minn = (long long) 1e10; int n; long long num[12] = {}; int op[4] = {};//{+,-,*,/} int cases[11] = {}; int co = 0; void dfs(int count, int oper[4]) { if (count == n-1) { co++; int candi = num[1]; for (int i = 2;...
ff067acb59af4f97d30a350fc24faadc0535f957
c4660032f56854eaf6b7f74c530d7a09a44efe10
/regions.cpp
65b073ab1069b3aa9d4f93b7ab01b9f37e381379
[]
no_license
andrebfd4/andrebfd4
b7605b5c12db6b38225c747f5d4b00a45250c623
3146ec763f2da848ea2c3046e711b966b8bb9a66
refs/heads/master
2020-08-30T20:58:28.764751
2016-10-25T01:31:44
2016-10-25T01:31:44
65,922,475
0
0
null
null
null
null
UTF-8
C++
false
false
968
cpp
regions.cpp
#include <iostream> #include <cv.h> #include <highgui.h> using namespace cv; using namespace std; int main(int, char**){ Mat image; Vec3b val; int x1, x2, y1, y2; image= imread("triforce.jpg",CV_LOAD_IMAGE_COLOR); if(!image.data) cout << "nao abriu triforce.jpg" << endl; namedWindow("janela",WINDOW_...
63f4384f0ee75216895e2e05ea9017d82b3934ac
785386d1a1d2ad71b3f0f748dd841586e2940739
/Statki(32bit)/Plansza.cpp
112191c09bebb92f87bdc2b820838aa73e5cb1e8
[]
no_license
Mik77o/Ships
3cbcdb03a452195d540a4b6ae5843f757bd21ad6
ccaea8029266f9373a249bd0b5eb52a17b826f91
refs/heads/master
2020-04-26T15:05:14.273162
2019-03-03T22:41:10
2019-03-03T22:41:10
173,636,320
0
0
null
null
null
null
UTF-8
C++
false
false
3,051
cpp
Plansza.cpp
#include "Plansza.h" #include <cstdlib> #include <list> #include <iostream> const int Plansza::ROZMIAR = 10; Plansza::Plansza() { NaPowierzchni = 1 * 4 + 2 * 3 + 3 * 2 + 4 * 1; std::cout << "Konstruktor klasy Plansza - losowanie polozenia statkow\n"; bool zajete[10][10] = { false }; for (int x = 0; x < Plansza:...
e03f0cf443d179492537fb5eb60f1040ac07443d
a5e2ca684bdf0aea10956a1d38c05e2de613e271
/tools/TriangleImage.cpp
d0f02873f666dd0e1821ffcd296777228c81ea4a
[]
no_license
digitaltembo/jade
ca4694d87ff6e53af27f37908044d9f8fa7fb614
4de2abc9a0103679b27852c9af26672b5d798e0e
refs/heads/master
2016-09-05T13:21:26.456375
2014-09-21T19:17:33
2014-09-21T19:17:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,002
cpp
TriangleImage.cpp
#include "TriangleImage.h" TriangleImage::TriangleImage(){ } TriangleImage::TriangleImage(Mat& mat, int x1, int y1, int x2, int y2, int x3, int y3){ getImage(mat, x1, y1, x2, y2, x3, y3); } TriangleImage::TriangleImage(Mat& mat, TrianglePoints p){ getImage(mat, p); } Mat& TriangleImage::getImage(){ return ...
c8ed8512b40a2fbcf25c2ca6ba2bca6a3dbef8f8
89510ae111005fba86f9aa2bc20ea9ba8cd0a6f0
/Vjezbe_10/Analyzer.h
4355357b6cba09d12796ebc8e351860280916887
[]
no_license
IvnaBakovic/AnalizaHEP_Vjezbe
276cb97b6d78a1f92a0b653db7f31223ed1c0b18
b299b0611926b0df5375395be1316f46618fe2dc
refs/heads/master
2021-08-08T04:00:56.674810
2020-09-01T05:59:05
2020-09-01T05:59:05
215,956,102
0
0
null
null
null
null
UTF-8
C++
false
false
485
h
Analyzer.h
#include <iostream> #include <fstream> #include <sstream> #include <cmath> #include <cstdlib> #include <ctime> #include <vector> //ROOT headers #include <TROOT.h> #include <TCanvas.h> #include <TStyle.h> #include <TApplication.h> #include <TString.h> #include <TGraphErrors.h> #include <TF1.h> #include <TLine.h> using...
27c472307a95c08adc4808dfc31e7e17259503d0
72d1c90ceb606f7cc2e20d9ad40f281d96c8919e
/1/回路.cpp
d696830b34561e6e56ae82a58379890a1230ba23
[]
no_license
jiyiqi/programming-course
c402d8edfa29afd510e8a123c719a085f4f77342
4bd60bb571b83daeb3d2d8133911c33d5a3731f5
refs/heads/master
2020-03-25T20:16:40.336327
2018-08-09T08:59:43
2018-08-09T08:59:43
144,123,947
0
0
null
null
null
null
UTF-8
C++
false
false
1,543
cpp
回路.cpp
#include <iostream> using namespace std; int a= 7; bool adj[7][7]; bool visit[7]; int solution[250]; void HamiltonCircuit( int &count ); void backtrack( int n, int &count ); int main() { int count = 0; adj[0][1] = true; adj[0][3] = true; adj[0][5] = true; adj[0][6] = true; adj[1][0] = tr...
2f4ed6cdc8369f8f82edfb7f22d8a2cf671f32ed
575f989fd61298fea3fddc92bd977f9f73d16c4e
/Win32Pipe/SamplePipe.cpp
9b2775e48615303786f59d9456eb3b216d987ee1
[ "MIT" ]
permissive
soumunote/Samples
d824ed9bf616dad83b48c13914bd83e70fb29741
562edf0ef41f2dbc61e9c315e4129616402569ae
refs/heads/master
2023-08-17T03:21:55.583985
2023-08-16T02:04:34
2023-08-16T02:04:34
229,272,741
0
1
MIT
2023-03-05T23:27:21
2019-12-20T13:46:49
HTML
UTF-8
C++
false
false
3,010
cpp
SamplePipe.cpp
// SamplePipe.cpp : コンソール アプリケーション用のエントリ ポイントの定義 // #include "stdafx.h" #include <windows.h> #include <conio.h> #include <stdlib.h> #include <tchar.h> #include <string.h> void ShowError(DWORD dwErrorCode) { LPVOID lpMessageBuffer; FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_ME...
50f23a52b2ba071afac48cee74c501d651897685
72ed720d5c6a3e61d5fe25704cdcc60bb89ce50e
/components.cpp
206c61059836f22181a77d13fa5533698d57000d
[]
no_license
Zelenoff4/Algo
f8b0176079d01a2f78c4276da06ec06aed377ef6
c8323ee3374b1281a103d6696d323b122eb45d18
refs/heads/master
2020-04-03T07:04:43.919251
2018-11-06T21:32:53
2018-11-06T21:32:53
155,092,795
0
0
null
null
null
null
UTF-8
C++
false
false
853
cpp
components.cpp
#include <bits/stdc++.h> using namespace std; const int maxn = 4e5 + 7; int color[maxn], col; vector<int> v[maxn]; void dfs(int x){ color[x] = col; for (size_t i = 0; i < v[x].size(); i++){ if (color[v[x][i]]){ continue; } dfs(v[x][i]); } } int main(){ ios:: sync...
d03c71443a10fe70a8dd9e9eb6093338e0d27813
8a42a0c5ef6d5d32f310b532c2086a7567e7df27
/lec-11/stl.cpp
d1dd88e366f7fe99083915cf6112e567931a3b9f
[]
no_license
mpbonham/cs24-m19-lectures
7332b18c8eda11685d34cffb1fdb7315faca25c9
b5f9cc9724e896a43fa4ca3f54e1bda5f3b7d3cd
refs/heads/master
2020-07-24T08:42:10.602849
2019-09-05T15:33:30
2019-09-05T15:33:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
884
cpp
stl.cpp
#include <iostream> #include <array> #include <vector> #include <list> #include <set> #include <stack> using namespace std; int main(){ array<string, 6> arr = {"India", "US", "Burma", "Finland", "Greenland", "China"}; vector<string> vv; list<string> ll; set<string> bst; cout<<" Elements in the array" <<endl; for...
92ae1f7e4591e2a82617241060362d0726a8d978
59438dd756d3eca3cd9db6a224be5138bffc5893
/Luogu/P3980.cpp
fff769b25c2fad62453788b4c5c10ab289c4204c
[]
no_license
Ivanfangsc/OI
58bb165ae69f942a4399d64656aafbfaee3d0c24
689bb48884f1609d769422f3106b38899294eec8
refs/heads/master
2021-04-12T08:50:17.911748
2018-09-11T06:19:08
2018-09-11T06:19:08
126,554,831
0
0
null
null
null
null
UTF-8
C++
false
false
1,606
cpp
P3980.cpp
#include <cstdio> #include <iostream> #include <queue> #include <cstring> using namespace std; const int INF = 2147483647, MAXN = 1050, MAXE = 30050; int first[MAXN], next[MAXE], v[MAXE], w[MAXE], r[MAXE], edge = 1; void link(int a, int b, int c, int d) { next[++edge] = first[a]; first[a] = edge; v[edge] = b; r[edg...
61ace654d27a4118681570ec7f6086ca4ca9d20b
9092abaa85bb19096822477d3fb43b64c4d7fc4d
/backend/notification/notification_service.cpp
c88e85dfeec1a29ff9dee956b4be9b8d8ab4a388
[]
no_license
grytsiuko/QuadroBank
49a1564bc95bda5cc458251071e8a683884b1add
5de589c6235ccb2bc9af2d0f13f19425a0d48182
refs/heads/master
2023-01-19T22:21:16.593305
2020-11-29T18:29:22
2020-11-29T18:29:22
299,843,578
0
0
null
null
null
null
UTF-8
C++
false
false
271
cpp
notification_service.cpp
#include "notification_service.h" void NotificationService::notify(const User &user, const Account &account, const string &text) const { cout << "### Notification to " << user._name << " on card " << account._card_number << ": " << text << "\n"; }
8930a684d2a3aa098c7e25869f0ecc4bf69ac6c0
02695b31daa88d8104956cbc00bce0d38af4499f
/goals/Goal_DodgeGetItem.h
81432154e928e345dadd319596e40d79d94aa9c1
[]
no_license
WeHaveCookie/Raven
c2770aa2e977172ed530e4fd84bf622bbe2feeb3
ac83b30e5651242f1c796e2a2475fb4777a00286
refs/heads/master
2021-01-19T02:35:58.527423
2016-11-30T15:02:24
2016-11-30T15:02:24
73,505,726
0
0
null
null
null
null
UTF-8
C++
false
false
449
h
Goal_DodgeGetItem.h
#pragma once #include "Goals/Goal.h" #include "Raven_Goal_Types.h" #include "../Raven_Bot.h" class Goal_DodgeGetItem : public Goal<Raven_Bot> { private: Vector2D m_vStrafeTarget; bool m_bClockwise; Vector2D GetStrafeTarget()const; public: Goal_DodgeGetItem(Raven_Bot* pBot) :Goal<Raven_Bot>(pB...
1cb44361bd05a93f327b5524c1128c2e247b0dda
fb1e22b01cf15f4d0c0633a03ab42f623ef3f034
/CG2_task1_Galushko/windows/CG2_GameTemplate/S_GameInputController.cpp
af2d59b31d1e31cb86ea6274ddf18546e2c891c6
[]
no_license
FptrP/CG2_1
61e46e0d081fa8f3267d2c0b37ba961bb7a3976f
3c6e5b801696041f9be6b4a82f8cd553f84052fd
refs/heads/master
2021-05-24T08:38:54.545273
2020-04-06T11:17:43
2020-04-06T11:17:43
253,474,707
0
0
null
null
null
null
UTF-8
C++
false
false
7,401
cpp
S_GameInputController.cpp
#include <mutex> #include "stl.h" #include "EcsSystems.h" #include "Utils.h" #include "GameStructures.h" #include "Game.h" #include "GameEffects.h" #include "AttackFunctions.h" static std::mutex poolLock; static stl::queue<game::EventSfml> inputPool; extern stl::vector<game::Weapon> gGameWeapons; void ...
5d6842d926f9f1fb0ce0a423c85e208084c3928c
53d4a4ed468941ace04d92da75bdac2285c377fe
/Part-I/Ch03/3.5.3/3.34.cc
28cae6dca2b4483affc02b7268bef1789bc18223
[ "MIT" ]
permissive
RingZEROtlf/Cpp-Primer
c937cad3342950d4f211907b7fb7044260bc09cc
bde40534eeca733350825c41f268415fdccb1cc3
refs/heads/master
2022-12-22T18:52:01.163191
2020-09-25T07:45:13
2020-09-25T07:45:13
285,617,317
1
0
null
null
null
null
UTF-8
C++
false
false
236
cc
3.34.cc
#include <iostream> int main() { int a[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; int *p1 = &a[2], *p2 = &a[5]; p1 += p2 - p1; // p1 = p2, legal int *p3 = &a[5], *p4 = &a[2]; p3 += p4 - p3; // illegal return 0; }
e6721de7e5f3a99e37ed42b76b7a25827deb8f69
925e5f757754dfe9512a9da5a6675930a4b300e9
/sdkcreationmw/sdkexamples/cppexamples/S60Ex/TouchEx/TactileExample/inc/tactileexamplesquare.h
f91bbfe55241e15638c6a1a94c0a49b52f365ab0
[]
no_license
fedor4ever/packaging
d86342573ee2d738531904150748bbeee6c44f5d
cf25a1b5292e6c94c9bb6434f0f6ab1138c8329b
refs/heads/master
2021-01-15T18:09:15.875194
2015-04-12T12:03:13
2015-04-12T12:03:13
33,689,077
0
1
null
null
null
null
UTF-8
C++
false
false
2,682
h
tactileexamplesquare.h
/* * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl...
8d10e59be6804a09f431bc4b3955d73a3baeaae3
6b7e04a914a7f95abcabe8555b0a2c1b9dc06ab4
/testScripts/casting.cc
6708291e40a4b0bb3b80558efa0ec9138c615dfb
[]
no_license
jiama843/cs246_review
ec95f162c60ee7e717f29e9cd2efbad6767c36b4
cd9bf145fe739b7b4b1297cbf4f3cf45005786de
refs/heads/master
2020-03-27T05:29:58.062096
2018-08-24T18:21:00
2018-08-24T18:21:00
146,025,508
0
0
null
null
null
null
UTF-8
C++
false
false
2,264
cc
casting.cc
#include <iostream> #include <string> #include <memory> using namespace std; class Person{ string name; public: Person(string name) : name{name}{} virtual ~Person(){}; void printName(){ cout << name << endl; } }; class Student: public Person{ int assn; int exams; public: Student(string name...
cbb0cc4bd3418fe17c55cdcfd14af5cf6b39b87c
6501a0232db2c9fe370fdbbc24746114a6f37ea4
/d3.cpp
7c79efbebce6ced19aa51a505f5ade05e198bd05
[]
no_license
blackkama/joblab
3b6cee917a5fce9c36bb56b7bd2c996fcf97d0ad
abc1a0caebf12a7807c4dc708c13d3a02d86015a
refs/heads/master
2020-12-28T23:34:56.083655
2016-03-05T08:00:34
2016-03-05T08:00:34
53,197,995
0
1
null
2016-03-05T11:23:54
2016-03-05T11:23:54
null
WINDOWS-1251
C++
false
false
667
cpp
d3.cpp
#include <iostream> #include <cmath> using namespace std; int main() { double res,arg; cout << "Введите данные первого числа= "; cin >> arg; cout << "Введите в какую степень нужно возвести= "; double st; cin >> st; cout << "Вы вввели чилсо=" << arg <<endl; res = sqrt(arg); ...
3c3fff1bbc56ceba744112e865874a0e70140de5
6c13de06085970ee760fec8ca98028696249b208
/source/libs/HTTP_Client/CHTTP_Client.cpp
77a1463db2ed53d8b5bf5bf23493db166e5eaea9
[ "MIT" ]
permissive
nedron92/HWL-SaveEditor
ca6abedb173a2be7daba6d4ab268c8cd208d7bbc
4259e42b4ee6d643859fc218e436c20c337cb358
refs/heads/master
2020-05-21T04:45:17.249351
2018-01-28T10:04:40
2018-01-28T10:04:40
55,291,582
19
2
null
2018-01-28T10:04:41
2016-04-02T11:41:04
C++
UTF-8
C++
false
false
5,405
cpp
CHTTP_Client.cpp
/* * @author: nedron92, 2016 * @desc: C++ - Wrapper with code from the original example. See License.txt for more information */ //include needed and correct header-files #include <string> #include "CHTTP_Client.h" /** * The defined constructor. * It will initialize the needed data with the current values of the c...
ef3614faaa6b35b8151e276e2d9dc9c629c6308b
6f8a233d7789cff0c31899b965e9a4c6bb938356
/src/random.h
08b60d5e19e18be0884df67fc524dff275a3009f
[ "MIT" ]
permissive
sthaha/buffered-logger
47a5d59ae84aa8a3e81274b8d0f599ca4b9fe880
a74219f0fb0c9e62bc33937a545e5465b93d7906
refs/heads/master
2020-07-06T00:48:47.401297
2019-08-17T05:10:53
2019-08-17T05:10:53
202,835,958
0
0
null
null
null
null
UTF-8
C++
false
false
374
h
random.h
#ifndef RANDOM_H #define RANDOM_H #include <random> class Random { public: Random(float min, float max) :min(min) ,max(max) ,spread(RAND_MAX/(max - min)){ std::srand(time(nullptr)); // Seed std::rand } float next() const { return min + static_cast<float>(std::rand())/spread; } private:...
ff9ff687bd8acb3cd45e3fc9e31344798bc1f3da
06b71b68e1cd690e78f5a143f5bf03b1f74b8329
/src/Vehicles/PetrolCar.h
345605336252a36e109e9c14622bbaf78cb1e380
[]
no_license
Sashkow/FuelingSystem
dc906541a5f19bf9bef89840dbd37f798a3ba256
9eff88bbf04751e05e01d38d1f58237440f63ad8
refs/heads/master
2020-05-31T03:45:19.292908
2014-04-08T13:14:40
2014-04-08T13:14:40
17,150,239
0
1
null
null
null
null
UTF-8
C++
false
false
391
h
PetrolCar.h
/* * PetrolCar.h * * Created on: 23 лют. 2014 * Author: sashko */ #ifndef PETROLCAR_H_ #define PETROLCAR_H_ #include "../Vehicle.h" #include <time.h> class PetrolCar: public Vehicle{ public: PetrolCar():Vehicle(){ this->requiredFuelType=FuelType::PETROL; } time_duration evaluateFuelingTime(); voi...
459ec1907627046753b4c2f65c5baf9205784f06
17273ced5f729945c4a91d71b7295ac0f3fb2179
/plugins/robots/robotsInterpreter/details/blocks/enginesBackwardBlock.cpp
2638ac0bcc647d57424ef1f5e7fa5586ba7aebba
[]
no_license
DenisTi/qreal
4ea38dfe47834cf3c3927c4a3a14e930fbd09dd7
27dfca080e69dc0428fb9f916877292db37753a8
refs/heads/master
2021-01-15T20:43:27.048732
2012-10-16T14:08:03
2012-10-16T14:08:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
585
cpp
enginesBackwardBlock.cpp
#include "enginesBackwardBlock.h" using namespace qReal; using namespace interpreters::robots::details::blocks; EnginesBackwardBlock::EnginesBackwardBlock(robotParts::Motor &motor1, robotParts::Motor &motor2, robotParts::Motor &motor3) : EngineCommandBlock(motor1, motor2, motor3) { } void EnginesBackwardBlock::run(...
56f7af2d676542e9922b09477699b1257fc55cde
af7977991477325ddc604b6d3e2ac3cb4aa29337
/FlappyBirdGame3D3.0/Temp/il2cppOutput/il2cppOutput/Vuforia_UnityExtensions_Vuforia_VuforiaManagerImpl_408256561.h
2b1efae57fb96cccb32e5e8ec92f0005d3682d2b
[]
no_license
jpf2141/FlappyBird3D
b824cf5fac6ca3c5739afc342b659af1f2836ab9
fe4e9c421ec8dc26a7befd620f9deaf3c6361de5
refs/heads/master
2021-01-21T13:53:25.062470
2016-05-06T02:39:28
2016-05-06T02:39:28
55,712,365
3
1
null
null
null
null
UTF-8
C++
false
false
3,790
h
Vuforia_UnityExtensions_Vuforia_VuforiaManagerImpl_408256561.h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_ValueType4014882752.h" #include "Vuforia_UnityExtensions_Vuforia_VuforiaManagerImpl_807317499.h" #include "Vuforia_UnityExtensions_Vuforia_TrackableBehaviou...
1131d2a1642a2dbde42e06cb9da6a8fee619fa67
f4f9de18e49bb37441c0dd852dd202fc447c78ba
/src/EndeavourCom.cpp
fe80fec0577a6a920919edc8aa535d1878a4aab4
[]
no_license
kkrizka/endeavour_software
2bc4d002bfb6219bac6dc093722133ef958574a8
c1bf3f2af18d61e136845b58cfb4e4b3c4894c45
refs/heads/master
2020-03-16T20:42:52.420401
2018-05-14T22:47:48
2018-05-14T22:47:50
132,969,675
0
1
null
null
null
null
UTF-8
C++
false
false
5,361
cpp
EndeavourCom.cpp
#include "EndeavourCom.h" #include "EndeavourComException.h" #include <iostream> #include <unistd.h> EndeavourCom::EndeavourCom(unsigned short amacid, std::shared_ptr<DeviceCom> fpgaCom) : m_amacid(amacid&0x1F), m_fpgaCom(fpgaCom) { m_raw=std::unique_ptr<EndeavourRaw>(new EndeavourRaw(m_fpgaCom)); } void Endeav...
88c134f9be3e038c8007bb2fc9f30826d4b6fe7b
84f278d69ea69d44aba2dd83b17ce9173b9ad9cb
/src/Player.h
9090c9dd69b864ffdf81b2deea7f5434e5406873
[]
no_license
DougNoGit/the-game-this-aint
d9839def14cd33c7de7112efe01170542ac491c9
65a2fe40bef92283e458929b509e707fffe1ac93
refs/heads/master
2020-08-02T00:11:06.052739
2019-06-14T04:35:56
2019-06-14T04:35:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,406
h
Player.h
#ifndef PLAYER_H #define PLAYER_H #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "glm/glm.hpp" #include "glm/vec4.hpp" #include "glm/mat4x4.hpp" #include "Program.h" #include "MatrixStack.h" #include "Shape.h" #include "GameObject.h" #include "ColorCollectGameplay.h" #include "Boundi...
0d5c19a295739870e48a9a16c5dc3716e4ec5e50
723db7bb3f97b35c016742f10a438cbf8d1bf8f8
/cpp/server/transforms/transform_registry.cc
bd480cc5af59dd65e0647702a85d5d757da69fd4
[]
no_license
cnapun/inference-server
18d2b67b308bb95723a80c651373df2ee6228f4b
2bd5e3c30aeb51940bd653eb4f9a21d122634fa9
refs/heads/master
2022-10-30T17:44:26.606337
2020-06-17T08:52:29
2020-06-17T08:52:29
272,264,113
1
0
null
null
null
null
UTF-8
C++
false
false
937
cc
transform_registry.cc
#include "transform_registry.h" #include "cpp/server/transforms/categorical_transforms.h" #include "cpp/server/transforms/continuous_transforms.h" namespace transforms { Transform* LoadTransform(const configs::FeatureSpec& feature_spec) { GOOGLE_CHECK(feature_spec.dimensions() > 0); GOOGLE_CHECK(!feature_spec.nam...
8c5a9420c2d15493d07d2cf7d9539c83e9ff00c4
0c4c71d4b52ec3e74cdc7c87d6d9c85c1294f689
/App_DesktopVfinal/gestion_produit_livrer.h
2029ba1af2c197a4a3cf0407356e2ca1c5799548
[]
no_license
Aichachaaba98/projetQt-c-
d2d387650d391e91aa84284446e662cfc3ecfd71
feeb847975ef2303f88959dc159438fdd007e087
refs/heads/master
2020-09-21T08:51:18.583569
2019-12-13T09:40:59
2019-12-13T09:40:59
224,747,183
0
0
null
null
null
null
UTF-8
C++
false
false
680
h
gestion_produit_livrer.h
#ifndef GESTION_PRODUIT_LIVRER_H #define GESTION_PRODUIT_LIVRER_H #include "produit_livrer.h" #include <QDialog> namespace Ui { class gestion_produit_livrer; } class gestion_produit_livrer : public QDialog { Q_OBJECT public: explicit gestion_produit_livrer(QWidget *parent = nullptr); ~gest...
b8236ea6f5b7b7b1e2cab8a3a81bc1022e25620e
0b0b021db16ff250314d831aec294b945f632acf
/old/try_google_test_framework_tobetest.cpp
a357e05d199667cccf6a9b9d4069dd46f3f4fb3d
[]
no_license
CHENHANRONG/learnc
0102b45cee32576370d29d159e8241a8f4aca571
a4aabfd09fdb20ceaf0e3b91e9f55c03d41f13f3
refs/heads/master
2021-07-03T17:05:44.282000
2018-12-08T10:18:58
2018-12-08T10:18:58
132,061,511
0
0
null
null
null
null
UTF-8
C++
false
false
3,064
cpp
try_google_test_framework_tobetest.cpp
// // try_google_test_framework_tobetest.cpp // learnc // // Created by hanrong chen on 7/16/18. // Copyright © 2018 hanrong chen. All rights reserved. // #include "try_google_test_framework_tobetest.hpp" #include "MathFactory.hpp" int Math::add(int firstInput, int secondInput){ return firstInput+secondInput...
a391599ab2a403e68a38c111ba7d870e955e7a2a
eb518b01f6ee07565ae7b3d4d8c08036ee2c07c1
/zuicheck.cpp
c233455999c8f13484d7baea733304a8cbbef614
[]
no_license
zsimpson/zbslib
98928507a38f9ab8959c339f8d9082ad02bfbef0
431c2e8588ff0da7c91d8799c5c01a70fd6e6c01
refs/heads/master
2020-04-15T21:04:32.064026
2018-11-10T04:17:54
2018-11-10T04:17:54
10,534,718
3
2
null
2018-10-01T19:16:13
2013-06-06T19:31:00
C++
UTF-8
C++
false
false
3,975
cpp
zuicheck.cpp
// @ZBS { // *COMPONENT_NAME zuicheck // *MODULE_OWNER_NAME zui // *GROUP modules/zui // *REQUIRED_FILES zuicheck.cpp // } // OPERATING SYSTEM specific includes: #include "wingl.h" // SDK includes: #ifdef __APPLE__ #include "OpenGL/gl.h" #else #include "GL/gl.h" #endif // STDLIB includes: #include "assert.h" #incl...
eed79de5aeac862263f6dcee65a27964c0ce99fb
cefdee091732feac91a5c05245edd0901456281c
/src/task/BackupTask.cpp
1b5a0b2750d55d7a055fcee9fabac8d1194bfb05
[]
no_license
young-scott/clickhouse_data_snapshot
169bc76ca86e29cb0c213e40a44ff4e56e6dff27
554adfde7f9d0a5921ea65d9f1e4516c589bd5fe
refs/heads/master
2023-05-02T18:07:25.400214
2021-05-21T07:34:01
2021-05-21T07:34:01
366,245,339
0
0
null
null
null
null
UTF-8
C++
false
false
2,757
cpp
BackupTask.cpp
#include <iostream> #include <set> #include <filesystem> #include "task/BackupTask.h" #include "clickhouse/Partition.h" #include "clickhouse/MergeTreeData.h" BackupTask::BackupTask(const ContextPtr& context, const string& db, const string& table) : Task(context, db, table) { } BackupTask::~BackupTask() { }...
015ff6d72e53026f5b926ad0e47836a5679b72ab
14582f8c74c28d346399f877b9957d0332ba1c3c
/tags/pstade_2007/libs/wine/test/polymorphic.cpp
deb99f04cf437d1794b20200a60d687eada40376
[ "BSL-1.0" ]
permissive
svn2github/p-stade
c7b421be9eeb8327ddd04d3cb36822ba1331a43e
909b46567aa203d960fe76055adafc3fdc48e8a5
refs/heads/master
2016-09-05T22:14:09.460711
2014-08-22T08:16:11
2014-08-22T08:16:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
646
cpp
polymorphic.cpp
#include <pstade/vodka/drink.hpp> #include <boost/test/minimal.hpp> // PStade.Wine // // Copyright Shunsuke Sogame 2005-2007. // 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 <pstade/polym...
baddba2437d474582c7d7ec3fd732139843f128b
d9e7bc067376169313091c230b5178de73e7d36a
/repository/impl/HTMLRepository.cpp
7cd1d5e9e9e394422089ed7d4006cffb0f39978b
[]
no_license
fazecasdavid/LAB_OOP-MorgueApplication
4f85ae44acc2073d45d138669e4686e1b9f65b16
fe03bfbfc2ac2c76b23a08e86cd7459e42deff79
refs/heads/master
2023-03-24T15:59:20.566781
2021-03-16T11:48:08
2021-03-16T11:48:08
275,660,070
0
0
null
null
null
null
UTF-8
C++
false
false
3,146
cpp
HTMLRepository.cpp
#include "HTMLRepository.h" #include "exceptions.h" #include <fstream> #include <algorithm> #include <regex> void HTMLRepository::addEnitity(const VictimFile& entity) { std::vector<VictimFile> allFiles = this->getAll(); if (std::find(allFiles.begin(), allFiles.end(), entity) != allFiles.end()) throw DuplicateEle...
8270cf3f24243d04abec141ebe091452c23a9439
112f0138a14020681cae129b0414e41bf31b437a
/SSMULTITASKINGMANAGER/TaskGarbageManager.h
fb88455cec06aba01427a2676dc89bc00d030be2
[]
no_license
jeag2002/SpaceShooter2D-3-Test
e395b5a60debba8b3a8da7f620766336705f53cf
ca2e25cc8c9e5fe095b9100c8882808d2e2b2c6c
refs/heads/master
2020-12-28T20:42:35.947548
2016-12-31T00:18:20
2016-12-31T00:18:20
68,438,382
0
0
null
null
null
null
UTF-8
C++
false
false
663
h
TaskGarbageManager.h
#ifndef TASKGARBAGEMANAGER_H_INCLUDED #define TASKGARBAGEMANAGER_H_INCLUDED #include "Stdafx.h" #include "MemManager.h" #include "LogEngine.h" #define SIZE 500 class TaskGarbageManager{ public: TaskGarbageManager(LogEngine *_log, MemManager *_mem, pthread_mutex_t _lock, sem_t _OKToBuyMilk, sem_t _Remote){ mem ...
946da4f8411d657858a1e05c60f64f64dd3bbc27
ceff13ff947c4850b6c7814ca486440215157873
/applications/Pasha/PreGraph/AlshaHash.h
c71d223a916825fe4ef16e4ba546dba00332c743
[]
no_license
LingxiWu/DBGAcc
b2718be17fb1c39bc6ff3e2390a2c9507aac91d3
6a235b0fcf7926c4d3f5dadea4c66a325c0f023b
refs/heads/master
2023-03-15T20:01:42.439470
2021-02-08T09:57:45
2021-02-08T09:57:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
265
h
AlshaHash.h
#ifndef _ALSHA_HASH_H #define _ALSHA_HASH_H #include "AlshaUtils.h" class AlshaHash { public: static unsigned int hashCRC(const char* buf, int len); private: static unsigned int crc_table[256]; static unsigned int crc32_v(const char *buf, int len); }; #endif
34d3c509081e390b5c9c9d74ca845531ee01c248
449462e878f2ea08b41cc29756580e0192146d31
/hitokariikouze/Stage.h
e9530005db63f7152baedcd130b03bd6558b0997
[]
no_license
hitokariikouze/PSO3
e7577171d468746eb4a2f17251c906fc5c938ddc
91e799022769c12459e4eafa43f065ea06acf0ed
refs/heads/master
2022-03-21T21:48:24.957732
2019-11-25T15:03:18
2019-11-25T15:03:18
220,384,704
0
0
null
null
null
null
UTF-8
C++
false
false
444
h
Stage.h
#pragma once #include "DxLib.h" #include "Player.h" class Player; class Stage { private: Player* m_player; public: Stage(Player* player); ~Stage(); void Initialize(); void Render(); void Update(); private: VECTOR stgPos,srPos1,srPos2,srPos3,srPos4,srPos5,srPos6,gaolPos; int StageHandle,GoalHit,DashHit,countha...
23401dbb5a914b23de897ca89d91a29da5b33cd4
a4b5d07647547513fbe47f4fd0f8badf08311d72
/misc/c/malloc.cpp
8d5513a7a7003c0beb20515ce65916b1a60aae83
[ "Apache-2.0" ]
permissive
bheckel/code
cdf9ff1324696e26744f3ce5ecdaadc7a4af1e2d
71bf9029eef362c1a84119db17fee983cb4b95cf
refs/heads/master
2023-09-01T08:51:24.320083
2023-08-25T19:44:29
2023-08-25T19:44:29
114,382,891
3
2
null
null
null
null
UTF-8
C++
false
false
963
cpp
malloc.cpp
////////////////////////////////////////////////////////////////////////////// // Name: malloc.cpp // // Summary: Malloc with class objects. What you'd have to do if not for // new() // // Adapted: Sun 10 Aug 2003 20:52:42 (Bob Heckel Thinking in C++ Ch 13) /////////////////////////////////////...
520817e00bb57f8e3db9c7f14a11f86a9fa023b3
fe18c0717d9a4e4000021b05c3b342d2eaf692c1
/src/search_local/index_storage/common/hotback_task.h
ef32fe43b6238b6446693aa55998f86e7075902a
[ "OML", "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
jdisearch/isearch
0c29c972650c36774d58cc10d5dc906deb5bbf18
272bd4ab0dc82d9e33c8543474b1294569947bb3
refs/heads/master
2023-08-12T10:10:13.850970
2021-09-18T08:43:05
2021-09-18T08:43:05
397,084,210
3
1
null
null
null
null
UTF-8
C++
false
false
1,311
h
hotback_task.h
/* * ===================================================================================== * * Filename: hotback_task.h * * Description: hot back task. * * Version: 1.0 * Created: 09/08/2020 10:02:05 PM * Revision: none * Compiler: gcc * * Author: qiulu, cho...
80efe7d97ef6e1015bfe6c6b7213f65283890089
5533850e462173c88d534b9ddc0cf54da29012bb
/PlayerAttributeSet.h
0841588e9ffa2f638bf50b922df92a50acdf40b0
[]
no_license
crvenkapavica/Cartagra-GAS
3229cb0fe4b552cffc95d310a92bb5bdea145b04
8f5cc7820cba36c04482ae93359dbd86d8275207
refs/heads/main
2023-04-03T14:24:05.582529
2021-05-02T04:52:02
2021-05-02T04:52:02
363,567,668
0
0
null
null
null
null
UTF-8
C++
false
false
4,435
h
PlayerAttributeSet.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "AttributeSet.h" #include "AbilitySystemComponent.h" #include "PlayerAttributeSet.generated.h" #define ATTRIBUTE_ACCESSORS(ClassName, PropertyName) \ GAMEPLAYATTRIBUTE_PROPERTY_GET...
03e9e61e204b058e95f4b55f09e0fdcc41ee369b
ba6b8e5bbd9fd67da44962c5cddb4a88715bc3db
/awesome-tim/awesome-tim/MEstadosCliente.h
d59ac02c6b22e74898bdba7fbc8a3f2f4e778296
[]
no_license
jaatadia/awesome-tim
e09e7de9bd2821379de6fe364eb34b3c9c828a32
d2ea23ca60ca769282ea1b63744b3ab3afd543a9
refs/heads/master
2020-06-07T15:52:16.055923
2013-11-26T21:28:47
2013-11-26T21:28:47
33,373,844
1
0
null
null
null
null
UTF-8
C++
false
false
1,314
h
MEstadosCliente.h
#pragma once #include "Fallable.h" #include "Estado.h" #include "Ventana.h" #include "MaquinaEstados.h" #include "MessageFigura.h" #include "MessageState.h" #define M_ESTADOS "Maquina de Estados" class MEstadosCliente: public MaquinaEstados { private: Estado* Eactivo; Estado* Eanterior; Esta...
94052812cf28e9fcf78f6668d0566c23c4af3627
28fd9c8cc68599bc8bfcd30b534274a49185f303
/ColliderManager.h
a2fed2ab13e2774d17424fe5658ce04383b4cf74
[]
no_license
rhkrfls/AnioneRin
a94ed5d8dfc2620d2973bc2d6f8cd5a62005cf41
1c93ae3289a9f5b5b8da2a61eb85afa5e72a7f8a
refs/heads/master
2020-12-29T10:49:02.819017
2020-10-20T10:03:45
2020-10-20T10:03:45
238,580,784
0
0
null
null
null
null
UTF-8
C++
false
false
145
h
ColliderManager.h
#pragma once #include "GameObject.h" class ColliderManager { public: static bool BoxCollider(GameObject* obj1, GameObject* obj2); };
b9d079cd4347e714b9c944945a987bba803b2b2c
cfeac52f970e8901871bd02d9acb7de66b9fb6b4
/generated/src/aws-cpp-sdk-ec2/source/model/CapacityReservationFleetCancellationState.cpp
ed9af4286b23032639db66dfa0ef47ebf1e37650
[ "Apache-2.0", "MIT", "JSON" ]
permissive
aws/aws-sdk-cpp
aff116ddf9ca2b41e45c47dba1c2b7754935c585
9a7606a6c98e13c759032c2e920c7c64a6a35264
refs/heads/main
2023-08-25T11:16:55.982089
2023-08-24T18:14:53
2023-08-24T18:14:53
35,440,404
1,681
1,133
Apache-2.0
2023-09-12T15:59:33
2015-05-11T17:57:32
null
UTF-8
C++
false
false
4,167
cpp
CapacityReservationFleetCancellationState.cpp
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ec2/model/CapacityReservationFleetCancellationState.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSString...
54d3397b5fa439218d71f950d9fdcd4c35a24d7f
f11d4bf90db786cf030c402d2f37de55db1d404e
/ch12/excersises/12.27.cpp
46f9521d56c6b8848ab75704ffe2930b19fc8ff8
[]
no_license
owhyy/cpp-primer
6d1369fee5774256d5fe46c60d8527dc288901f5
de22aa737c0af560ae168a8f34405f5de7e4fd66
refs/heads/main
2023-06-10T12:32:42.456219
2021-07-01T07:07:50
2021-07-01T07:07:50
361,112,875
0
0
null
null
null
null
UTF-8
C++
false
false
2,204
cpp
12.27.cpp
#include <algorithm> #include <fstream> #include <iostream> #include <iterator> #include <map> #include <memory> #include <set> #include <sstream> #include <string> #include <utility> #include <vector> using std::cin; using std::cout; using std::ifstream; using std::map; using std::set; using std::string; using std::v...
bc65899a44b16a5b7bf10f5a71bdf004c0b9fc93
da013916cb3d225eea0f48e02104bf9f2d6c5e95
/week3_1.cpp
47e412073531ca714e7e22e664ab91743bb5ffa1
[]
no_license
AdittyaPal/Week4
bd38b1055fabbc082a0f8b3f5aa1395927ae6da9
2d9a091a89a720be7387899537e3649fe3303abc
refs/heads/master
2020-03-27T01:09:22.473868
2018-08-22T09:50:28
2018-08-22T09:50:28
145,686,992
0
0
null
null
null
null
UTF-8
C++
false
false
599
cpp
week3_1.cpp
//include the library #include <iostream> using namespace std; //write the main function int main() { //declare a float variable to store the length in centimeters and input its value float lengthcm=0.0f; cout<<"Enter the length in centimeters."<<endl; cin>>lengthcm; //convert the length into meters float lengthm= leng...
e096b5c7729b0952a046c271dd3d7330e2661273
60d84cbf207915d46a7711870400b0e608df8ca3
/brique.h
8dab2bcc51124e3d8d99c9ba0095a3cfcf30d547
[]
no_license
Skabran/Casse-Brique-Projet
b3b465e56eb19cd662a3ed8fd20ea56218355ad8
c319866a2f405058b2311ae4caf076698faabe08
refs/heads/main
2023-02-10T17:26:31.158515
2021-01-13T19:51:03
2021-01-13T19:51:03
312,288,148
1
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,266
h
brique.h
#ifndef BRIQUE_H #define BRIQUE_H #include "element.h" class affichageJeu; /** Classe de la brique de base du jeu. Herite de la classe element */ class brique : public element{ public: ///Constructeur par default de la brique. Element par default d_longueur = 60.0 et d_largeur = 30.0 brique(); ///Constructeur de ...
cba54f4bc59444ae110987be39ea3d77e567848c
2e48a571d4b0f1a127d3cb2ed8c67ddac4a01c86
/model/lora-network-trailer.h
957a67f4f94a5fc9a1fbff36c8b2713312f39c89
[]
no_license
ConstantJoe/ku-leuven-lorawan-with-energy-model
53bc7b8ee8f667e570444c0f040c43086ee8d326
9fbf4856230b460c0bd6be5de919f62a16b7260c
refs/heads/master
2020-03-28T15:57:48.639058
2018-09-13T14:04:29
2018-09-13T14:04:29
148,643,859
1
0
null
null
null
null
UTF-8
C++
false
false
3,390
h
lora-network-trailer.h
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 KU Leuven * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is dist...
562185efe23862e4730deaaf6eac1abbf5ad97da
72aca11f973b7c337012475ad3111cd20a5dd589
/openjudge/1.05-Loop/26-Con4digit.cpp
22d7f12f5242da3e010fd0746f18715d8fb31461
[]
no_license
aplqo/exercises
a4cee1acbef91e64aee2bd096cd7e0bb834926a4
e28f14eaf89481c34bc1a27206e8cea2d2d94869
refs/heads/master
2021-06-25T06:34:09.535835
2021-04-08T13:52:39
2021-04-08T13:52:39
217,698,619
0
0
null
null
null
null
UTF-8
C++
false
false
277
cpp
26-Con4digit.cpp
#include <iostream> using namespace std; int main() { int n, ans = 0, tmp; char t[4]; cin >> n; for (int i = 0; i < n; i++) { cin.ignore(1); cin.read(t, 4); tmp = t[3] - t[2] - t[1] - t[0] + 2 * '0'; if (tmp > 0) ans++; } cout << ans; return 0; }
0ef5ca5d9a8744b3c263f536d2cc39b0515967fb
76c01227508f2446a7faf0050687022f8216123a
/CS2A/Assignment 9/Assignment 9/main.cpp
c0ede5534a7d0d7617115c2ee1cd3bf7a7d92826
[]
no_license
connormichael/CPlusPlus
303373f86df4f44f208fe98b88327fc144bce801
8b196e0fc1928c3a0639bb0d1887a98a08b378d1
refs/heads/master
2021-01-19T08:00:21.939602
2017-04-07T23:27:40
2017-04-07T23:27:40
87,594,347
0
0
null
null
null
null
UTF-8
C++
false
false
11,663
cpp
main.cpp
// main.cpp // Assignment 9 // // Created by Connor Lynch on 3/6/16. // Copyright (c) 2016 connor lynch. All rights reserved. #include <string> #include <iostream> #include <sstream> using namespace std; //class Student prototype ----------------------- class Student { private: string lastName; string first...
988593b173c694ee4456f5396ebb1c39bb382fdc
180ef8df3983b9e5ac941e6c491cc5c8747bd512
/leetcode/algorithms/c++/Number of Longest Increasing Subsequence/Number of Longest Increasing Subsequence.cpp
fe3c698c68046f4c08e74c1ecc85d5b5fd7ca9d2
[]
no_license
withelm/Algorytmika
71f098cb31c9265065d2d660c24b90dd07a3d078
4c37c9b2e75661236046c2af19bb81381ce0a522
refs/heads/master
2021-12-09T12:58:45.671880
2021-08-22T08:03:04
2021-08-22T08:03:04
10,869,703
0
0
null
null
null
null
UTF-8
C++
false
false
979
cpp
Number of Longest Increasing Subsequence.cpp
class Solution { public: int findNumberOfLIS(vector<int> &nums) { int n = nums.size(); if (n == 0) return 0; vector<int> l(n, 0); vector<int> c(n, 1); int max_l = 0; for (int j = 0; j < n; j++) { for (int i = 0; i < j; i++) ...
2b437a62f9be2863c9ddab45541ea73a55751eef
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/admin/wmi/wbem/providers/msiprovider/dll/applicationservice.cpp
fe9d28f654549743786ab2b2cf9566b04eb262cd
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
7,816
cpp
applicationservice.cpp
// ApplicationService.cpp: implementation of the CApplicationService class. // // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved // ////////////////////////////////////////////////////////////////////// #include "precomp.h" #include <tchar.h> #include "ApplicationService.h" #include ...
279c8d8e6c859faa7e32f811ee3f4f4394fb50ff
2de766db3b23b1ae845396fbb30615c01cc1604e
/zoj/25/3449.cpp
7a624483c7175e8fa96b7f52b56fbd4c84dee147
[]
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
2,425
cpp
3449.cpp
#include <cstdio> #include <cassert> #include <cstdlib> #include <cstring> #include <ctime> using namespace std; #define debug 0 #define cnt 0 const int MaxL = 100001; char num[MaxL]; int len; int x; inline int gao1() { return 9; } inline int gao2() { int t(num[len-1] - '0'); t %= 2; t += ...
fac029b783d90e5c670a78659dff9704278b1dbb
3531dd9f52b11ae26d0c5f624a815538bf4c1964
/templates/CPP_From_Beginner_to_Expert/05 Arrays/017 C-SOURCE-CODE-for-Multidimensional-Arrays/Untitled1.cpp
1efbcd70f77108b3f37c697c981c489de42d367d
[]
no_license
syurskyi/CPP_Topics
b9a481fa828fb763fe4e21388cd04b4e90c2cd96
c9851ab9e254e2fc01ab1bb819ca1d642f623fae
refs/heads/master
2022-12-11T16:12:49.219989
2020-09-01T22:36:08
2020-09-01T22:36:08
277,678,709
0
0
null
null
null
null
UTF-8
C++
false
false
384
cpp
Untitled1.cpp
? |i.. u.. s.. //multidimensional arrays main() { in. biArray[3][4] _ {0} in. biArray[2][3][2] c__ __ &biArray[0] __ e.. c__ __ &biArray[0][0] __ e.. c__ __ &biArray[0][1] __ e.. c__ __ &biArray[0][2] __ e.. c__ __ &biArray[0][3] __ e.. c__ __ &biArray[1] __ e.. c__ __...
0d975c7ae66841b77f6daccea23cad1b6c6a7a94
71599d9781f65a725e450208944c069a5b062358
/usaco/section1_1/beads.cpp
3b799373e3ede4364de9401e395b2dce65372d68
[]
no_license
shuangde/ACM-ICPC-Record
74babe24f5fe13ea5b9d33b29de5af138eef54cc
1f450d543e7c434af84c0dcaf9de752956aef94f
refs/heads/master
2021-01-17T12:07:19.159554
2014-08-16T08:04:02
2014-08-16T08:04:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,916
cpp
beads.cpp
/* ID: zengshu1 PROG: beads LANG: C++ */ // Section 1.1 Broken Necklace /* 你有一条由N个红色的,白色的,或蓝色的珠子组成的项链(3<=N<=350),珠子是随意安排的。 r代表红色的珠子,b代表蓝色的珠子,w代表白色的珠子, 假如你要在一些点打破项链,展开成一条直线, 然后从一端开始收集同颜色的珠子直到你遇到一个不同的颜色珠子,在另一端做同样的事。 (颜色可能与在这之前收集的不同) 确定应该在哪里打破项链来收集到最大多数的数目的子。 注意,当收集珠子的时候,一个被遇到的白色珠子可以被当做红色也可以被当做蓝色。 思路:直接枚举位置,然后暴力...
219872b4176a134c0ace44f48e2c98b6a2e14028
35379babf7e418f9fe120e44df6b6c683b42b07d
/TestDll/Dll1/Plugin.h
a9b37525474610aa7ee271b55492f56aa0b1cebb
[]
no_license
woodgear/Examples
dffcee725c994f4f733f419bba975d97c392a54f
118e9d3c7942af84f282ace55aba7145eda5b47f
refs/heads/master
2021-01-21T05:28:46.897826
2017-02-26T10:37:06
2017-02-26T10:37:06
83,191,735
0
0
null
null
null
null
UTF-8
C++
false
false
205
h
Plugin.h
#pragma once #include <InterFace.h> #include <memory> #include <iostream> class Plugin:public InterFace { public: Plugin(std::string); void eval(const char*); ~Plugin(); private: std::string data; };
392b5f622a5face450853682fa33d9d93bb8763c
e8334c7f597698ea782d1ea193ac43e2b1005cb3
/projects_c/stages/turing_machine/tests/turing_machine_test.cpp
70bb831490617def76fc69a56cc6a6b1ea11823a
[]
no_license
BasePractice/automata_programming
9e9bc21e5c650312634cb8e713ebec773ab1119f
bf7c52ea71167f81bec3a2f59f4b7fdc19845d07
refs/heads/master
2021-06-09T21:51:06.628252
2018-08-06T22:33:53
2018-08-06T22:33:53
100,025,196
5
3
null
null
null
null
UTF-8
C++
false
false
3,216
cpp
turing_machine_test.cpp
#include <gtest/gtest.h> #include <turing_machine.h> /* States : A, B Symbols: 0, 1, E, $ 0 1 E A 1(B)->R 0(B)->R E(A)->R B 1(B)->R 0(B)->R E($)->R */ TEST(TuringMachine, Change_0_To_1_To_0) { auto engine = engine_create(3, 2, 'A'); engine_symbol_ad...
25c60752d94a0c20f75be524eb3e583865ea30b5
c6b41c167fd56ac23e83bfc248823d4bb61b8f06
/inc/PS_hero.h
2df5613cb798752024688a97083bfccbe557a4fa
[]
no_license
Preston404/SpinOff
df0f4e3f6f5ca01d30dad3701527b356062c2d59
d3101beff6e7cb09b5cb103ed1aed4e61751bff5
refs/heads/master
2020-03-27T21:19:52.452386
2018-12-06T18:31:56
2018-12-06T18:31:56
147,135,488
0
0
null
2018-10-01T04:41:01
2018-09-03T01:15:21
null
UTF-8
C++
false
false
1,173
h
PS_hero.h
#ifndef Hero_H #define Hero_H #include <QDebug> #include <QTimer> #include "inc/PS_gamecharacter.h" #include <QObject> #include <QVariant> #include <QSound> class Hero : public QObject, public GameCharacter { Q_OBJECT private: // Singleton Pattern Implementation static Hero* instance; Hero(int, int...
7f17ad962b0346bf17e5486085f545da5a71d1e4
9562a4eadc830a9a9af4922e88200064dfea4391
/chapter16/DebugDelete.h
b8a0fdcb2e3597900383723d12a14776a8cb79b9
[]
no_license
bluesky9401/Cpp_primer_code
214c81d96e90deecd5699b65ef16afd7a13cb67a
b0e44059cd7b0ec7d3708925a8fb75d2c9ed33c2
refs/heads/master
2022-11-04T23:38:24.518950
2018-06-22T03:45:09
2018-06-22T03:45:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
314
h
DebugDelete.h
#ifndef _DEBUGDELETE_H_ #define _DEBUGDELETE_H_ #include <iostream> class DebugDelete { public: DebugDelete(std::ostream &os = std::cerr): os_(os) { } template <typename T> void operator() (T *p) const { os_ << "deleting unique_ptr" << std::endl; delete p;} private: std::ostream &os_; }; #endif
a36d005c7295935a62e218c42ad310e0dba5e152
ec84f374cc8ea2564e0413f6627c48a73eeb6d25
/Baekjoon/14867.cpp
3aec7657b3fe2a4a2c52f0d85fbaeffc2c2448bf
[]
no_license
hyp3rflow/ProblemSolving
4c45a3456f908bdea126dd2d2149685be05035d3
57997516e4476cd729a07904c8de1cfda023a8b6
refs/heads/master
2022-12-25T17:42:46.217628
2020-10-07T13:53:24
2020-10-07T13:53:24
182,381,268
0
0
null
null
null
null
UTF-8
C++
false
false
1,002
cpp
14867.cpp
#include <iostream> #include <algorithm> #include <utility> #include <stack> #include <queue> #include <map> using namespace std; typedef pair<int, int> p; map<p, int> r; queue<p> q; int m, n, rm, rn, cnt = 1; int main(){ cin >> m >> n >> rm >> rn; p curr = {0, 0}; q.push(curr); r[curr] = cnt++; ...
afc9f741fb2e47838ca4cf55b004508ad248f924
f9bad3ca093095da33b16ba3166cea0f837a0451
/src/plugins/CppGenerator/BuiltInData/framework/EncoderEvent.cpp
0ab04f8d53f1eb57bde5185b59916c7eb0ac525f
[]
no_license
alexreinking/CodeGenerator
1c4532eaa4f652d2e55a8f808bd54e5a68fb2d4a
8c6b89bbf4ac0eef7a635b03d24cae4286edf7ca
refs/heads/master
2021-03-12T23:56:31.003900
2013-02-23T00:56:50
2013-02-23T00:56:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
230
cpp
EncoderEvent.cpp
#include "EncoderEvent.h" EncoderEvent::EncoderEvent(int height, EventListener* l) { m_height = height; listen = l; } EventListener* EncoderEvent::sender() { return listen; } int EncoderEvent::height() { return m_height; }
ec86d89265b2ede9c2baeccd540144619241adbb
8ba17d0bd58b628fb4b9697248c3bb624625deed
/include/test/TestSystem.h
dd9ef97d0a8245fdbe0fab1843eb8290c5f158a9
[ "MIT" ]
permissive
innatewonder/mythril
6df751bf60559aa0cf86d207b5e38a82129886a8
9f656a58650ac7a8c195b3868232983809205b68
refs/heads/master
2021-01-18T23:58:38.661768
2016-10-03T00:49:47
2016-10-03T00:49:47
53,753,322
0
0
null
null
null
null
UTF-8
C++
false
false
315
h
TestSystem.h
#pragma once namespace Test { class TestSystem : public System { public: TestSystem(); ~TestSystem(); virtual bool Initialize(ArgParser& args); virtual void Destroy(); virtual void Test(); virtual void Tick(f32 dt); virtual void HandleMessage(Message* msg); private: }; }
214b29b77168f9b3eda61c2a2f0cac4a007268cc
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/components/continuous_search/browser/test/fake_search_result_extractor.h
af7f8a9ce5b8b297822f64069b9617886fa27560
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
1,694
h
fake_search_result_extractor.h
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_CONTINUOUS_SEARCH_BROWSER_TEST_FAKE_SEARCH_RESULT_EXTRACTOR_H_ #define COMPONENTS_CONTINUOUS_SEARCH_BROWSER_TEST_FAKE_SEARCH_RESULT_EXTRACTOR_H_ #include <v...
fefac6fbc4cef91798dfcd8036d1b89c36ba95d6
687b412c589a7b19e14fbf8446e92b853e6ef5db
/kr.openrobot.simulator/src/cpp/ode_simulator/Simulator_exe.cpp
f9f9deb59d3c53231b844101a298f1cc338e2372
[]
no_license
openrobot00/Open-Robot
2ca6efb6005eab837a82443468b762789fc195dc
319dc93f620bd37bfdfd06ae145cbd2fbacf9e83
refs/heads/master
2016-09-03T07:02:48.799128
2014-01-17T06:19:06
2014-01-17T06:19:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,262
cpp
Simulator_exe.cpp
////////////////////////starting arm1.cpp//////////////////////// // sample13.cpp 3 DOF manipulator by Kosei Demura 2006-2009 // I just modified above code from the www.demura.net // Dynamics and collision detection is implemented // I'll change control part by myself, it'll be different from the original code //...
57bdf21b5d2ff0959779531bea5b652cb082bb4a
46d76cb149cb9b60a0b6155e711da3936e844d69
/AnalysisTools/JetShapeVariables/interface/QGLikelihoodCalculator.h
721e9047d66df1a5972ddd2ed7315e1e18e71720
[]
no_license
Nik-Menendez/13TeVAnalysis_nik
4e0ac717aaf8ca4fe7f1772b82057789fd4b1063
6d1c9b618098e54c68ddc4659598b8f5b1f248b6
refs/heads/master
2021-07-06T04:43:33.900920
2015-08-05T21:18:47
2015-08-05T21:18:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,528
h
QGLikelihoodCalculator.h
// ------------------------------------------------------------ // // QGLikelihoodCalculator - Class // for the computation of the QG likelihood. // // ------------------------------------------------------------ #ifndef QGLikelihoodCalculator_h #define QGLikelihoodCalculator_h #include <string> #include "Co...
bde1132436453cceea45ead59d7d7602dab4cc9e
431bc209251c67ed68b69ca12a34f79da4be946c
/src/libs/conduit/conduit_error.hpp
edc96a0db7fdbc532abd14fc4d4cb9cdfe2d35c4
[ "BSD-3-Clause" ]
permissive
LLNL/conduit
4ae3157e8e9a83643f9479506f3b5f1def7b99fa
a6b0b179716eb804a0749cc20083c24c21ed682b
refs/heads/develop
2023-09-04T00:04:32.475102
2023-09-01T16:00:30
2023-09-01T16:00:30
40,552,086
168
58
NOASSERTION
2023-09-05T21:33:19
2015-08-11T16:14:10
C++
UTF-8
C++
false
false
3,899
hpp
conduit_error.hpp
// Copyright (c) Lawrence Livermore National Security, LLC and other Conduit // Project developers. See top-level LICENSE AND COPYRIGHT files for dates and // other details. No copyright assignment is required to contribute to Conduit. //----------------------------------------------------------------------------- ///...
ef7a4f256f657b51571f1d2eee1153086a356992
abef98cfa3fb2c4626eb8c0a77c1080992d9b11b
/cpp/qt/serial-port/serial-parser/MessageGenerator.h
0753efb3640347db33281329acad03897cc97a56
[]
no_license
mikebentley15/sandbox
ff88ed9dc4b9ac37668142a319d0a8162e88e9e3
4f5869544de18be21f415a9d6f9b71c362307f27
refs/heads/main
2023-04-14T00:22:34.623441
2023-03-24T21:43:56
2023-03-24T21:43:56
116,987,549
6
3
null
2022-10-26T03:02:06
2018-01-10T17:14:54
C++
UTF-8
C++
false
false
899
h
MessageGenerator.h
#ifndef MESSAGE_GENERATOR_H #define MESSAGE_GENERATOR_H #include <QObject> /** Message Generator * * Converts different types of messages into the string representation using * the established serial port communication protocol. * * This class is completely stateless. It follows a filter paradigm using Qt's * ...
f57f0744355d27b12f65ed810b7d769d4d6677be
daf205a8f0272675f81216ce7622bce7ee33c757
/Engine/Config.hpp
b9dac45aac3a4649c063d5cd56c8d28bb13000aa
[]
no_license
Trial-By-Fire/TBF-Cpp_ConsoleEngine
bdd6ea50d461540725f32905c159c4df1bf5bc13
c27d702a2891d5a83ef981f2fff9a91ce16884ac
refs/heads/main
2023-08-29T08:51:27.173708
2021-10-19T01:57:58
2021-10-19T01:57:58
333,094,540
0
0
null
null
null
null
UTF-8
C++
false
false
226
hpp
Config.hpp
#pragma once #include "LAL.hpp" // Remove this definition if debug build is undesired. //#define BuildDebug #ifdef BuildDebug constexpr bool DebugEnabled = true; #else constexpr bool DebugEnabled = false; #endif
f927b2eda1a689f6d26b64a8bfe7be7215b04f8e
0225a1fb4e8bfd022a992a751c9ae60722f9ca0d
/indexer/complex/tree_node.hpp
b7c7cf56f9a93bcd6615acf5956db83bffb529d2
[ "Apache-2.0" ]
permissive
organicmaps/organicmaps
fb2d86ea12abf5aab09cd8b7c55d5d5b98f264a1
76016d6ce0be42bfb6ed967868b9bd7d16b79882
refs/heads/master
2023-08-16T13:58:16.223655
2023-08-15T20:16:15
2023-08-15T20:16:15
324,829,379
6,981
782
Apache-2.0
2023-09-14T21:30:12
2020-12-27T19:02:26
C++
UTF-8
C++
false
false
7,648
hpp
tree_node.hpp
#pragma once #include <algorithm> #include <memory> #include <limits> #include <sstream> #include <type_traits> #include <utility> #include <vector> #include "base/control_flow.hpp" #include "base/stl_helpers.hpp" namespace tree_node { template <typename Data> class TreeNode; namespace types { template <typename Da...
ffcb38ba1e037bbb3e4cff6ca3da98e000afb278
fd25ef1323d87670dfcffc57b12bf12ec71225c4
/QT/252/MyNumberLCD.h
6b23bfa295bc9d2ad41288b8075b3712eeec33dd
[]
no_license
rodergas/IDI
dd238dabaaabbf6130ec9387f7159c8ab2935652
124162390a40c3affae5a786dc7336bd34e6592b
refs/heads/master
2021-01-10T04:22:09.323072
2016-03-01T22:08:29
2016-03-01T22:08:29
52,861,590
0
0
null
null
null
null
UTF-8
C++
false
false
191
h
MyNumberLCD.h
#include <QLCDNumber> class MyNumberLCD: public QLCDNumber { Q_OBJECT public: MyNumberLCD(QWidget *parent); public slots: void Zero(); void ColorOnChange(int); };
3b0fe92e35e3a17b0de73fd4787dc3836b254aca
ffd784337744c75a386ac073bab5306b00c5b3bd
/zerojudge/d682_2.cpp
d80eb2eb3ff265e21b782d769e4d6aa90ec1569c
[]
no_license
jimmyhealer/Competitive-Programming
b93ff0397cef7076b98f711f8a270151891a9233
7a6cc7f942b956784998fe0573e6ba8e0d572544
refs/heads/master
2022-02-15T00:48:12.289354
2019-09-08T03:41:08
2019-09-08T04:20:54
284,256,471
2
0
null
2020-08-01T12:34:13
2020-08-01T12:34:12
null
UTF-8
C++
false
false
826
cpp
d682_2.cpp
#include<stdio.h> #include<map> #include<algorithm> using namespace std ; int main(){ int M ,N ,P ; while (~scanf("%d%d%d",&M ,&N ,&P )){ map<int,int> S[2] ; S[0][0]=0 ; for (int i=1 ;i<=N ;i++ ){ int l=(i+1)%2 ,n=i%2 ,v ,p ; for (int j=0 ;j<P ;j++ ){ scanf("%d%d",&v ,&p ) ; for (map<int,int>::...
d43ffad21bd28f7fcb4c0731c9044742e7a0c2c1
f335d085aa484fbe617430e3fbd50b28747df045
/SrcLib/handEyeCalibration/include/handEyeCalibration/namespace.hpp
8c99101163aeec130862d3ab715a0e504a43ddf7
[]
no_license
fw4spl-org/fw4spl-ar
60f5e7fc57e42c15bd8f6dbd57dbcb6c62ed6b46
d2a35bf368373f232d09c26f168eaa363c6ae197
refs/heads/master
2021-01-24T06:35:33.113302
2018-09-05T12:44:58
2018-09-05T12:44:58
31,675,795
5
0
null
null
null
null
UTF-8
C++
false
false
753
hpp
namespace.hpp
/* ***** BEGIN LICENSE BLOCK ***** * FW4SPL - Copyright (C) IRCAD, 2017. * Distributed under the terms of the GNU Lesser General Public License (LGPL) as * published by the Free Software Foundation. * ****** END LICENSE BLOCK ****** */ #ifndef __HANDEYECALIBRATION_NAMESPACE_HPP__ #define __HANDEYECALIBRATION_NAMES...
36575b8264f1d52963e7f8e5e20f5fa607285a62
e000dfb2e1ddfe62598da937d2e0d40d6efff61b
/venusmmi/test/cp/vtst_rt_scrollable.cpp
2968b1e330a6c3f3847d924b9ed52f65b499c1fc
[]
no_license
npnet/KJX_K7
9bc11e6cd1d0fa5996bb20cc6f669aa087bbf592
35dcd3de982792ae4d021e0e94ca6502d1ff876e
refs/heads/master
2023-02-06T09:17:46.582670
2020-12-24T02:55:29
2020-12-24T02:55:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,555
cpp
vtst_rt_scrollable.cpp
/***************************************************************************** * Copyright Statement: * -------------------- * This software is protected by Copyright and the information contained * herein is confidential. The software may not be copied and the information * contained herein may not be used or dis...
1cabac68039109b8762bfc033a46dde3c9ab442d
09f38eca5af885a18eeae8893d6f9d448bfc8ac3
/DefectRecognitionSystem/recognizewdg.cpp
3c77a5495d1b50d50dd959e78ab1d772e6b51001
[]
no_license
MoutainVision/RadiographicTesting
02d8aa05d45da79806f04200589a06576209bc4d
9421e4b5b73650b7107e1432f225adab1e3b1f4b
refs/heads/master
2022-10-22T03:18:12.959434
2020-06-16T23:14:40
2020-06-16T23:14:40
254,782,123
0
0
null
null
null
null
GB18030
C++
false
false
30,289
cpp
recognizewdg.cpp
#include "recognizewdg.h" #include "ui_recognizewdg.h" #include <QFile> #include <QDebug> RecognizeWdg::RecognizeWdg(QWidget *parent) : QWidget(parent), ui(new Ui::RecognizeWdg) { ui->setupUi(this); ui->widget_measure->hide(); ui->widget_tool->hide(); ui->widget_img_pre->installEventFilter(t...
63efb932ea72fa4251517f564cc2267d2aaf8bc5
c7335210d3fca50d2ae3f13d218713bf91a8a96c
/source/ogkeyini.inc
abc982f3dd1ed0674347242742f14d1504861503
[]
no_license
graemeg/onguard
9595f192a4b8aab204e737ae34ae267bcb111e43
870c553c0cb04eaa2e8a8c283183a748a803ab30
refs/heads/master
2021-01-25T08:32:40.442616
2020-04-19T21:17:12
2020-04-19T21:17:12
1,733,465
27
20
null
2020-04-19T21:23:53
2011-05-11T14:15:07
Pascal
UTF-8
C++
false
false
848
inc
ogkeyini.inc
(* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Software distr...
01c4d0f90b6814d8e47af24c65d5e6013b9403b6
50cacd3ff9b3051da2dab650acf7be576571abaa
/src/api/networking/JSONResponse.h
25e5970193afab0816867c86e4bc73a43e923ac8
[]
no_license
tallerify/app-server
bfdcee56b3cd3da5f38c724811fcd48b403c4ace
8b55b6587e7f8cb81efdaeccf286a9fb85081b19
refs/heads/master
2021-06-22T02:28:10.099121
2017-06-21T02:56:15
2017-06-21T02:56:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
651
h
JSONResponse.h
#ifndef FIUBA_TALLER2_TALLERIFY_APP_SERVER_JSONRESPONSE_H #define FIUBA_TALLER2_TALLERIFY_APP_SERVER_JSONRESPONSE_H #include "jsoncpp/json/json.h" #include "Response.h" /** * # * @file JSONResponse.h */ class JSONResponse : public Json::Value, public Response { public: /** * JSONResponse constructor ...
d4bd5d1ec10180809e988d6608de8837fecbd158
18ca3d661acd840b230c70bced98dac2cc098fb7
/ForestTools-Source/src/PhyloTools.cpp
10114f66472c85675d9f9683816fc6aa9cf6ea64
[]
no_license
itsdlow/PhyloTools
396cd898516254c00b67064908147e48518fa2db
d9b0c347a121807b2102427e85da2ccb39a47b9d
refs/heads/master
2021-08-18T20:22:36.316708
2021-06-26T22:30:17
2021-06-26T22:30:17
221,286,478
2
1
null
2021-06-25T23:35:32
2019-11-12T18:37:43
C
WINDOWS-1252
C++
false
false
15,667
cpp
PhyloTools.cpp
// // PhyloTree.cpp // ForestTools // // Created by DeAngelo Deshawn Wilson on 8/21/19. // Copyright © 2019 DeAngelo Deshawn Wilson. All rights reserved. // #include "PhyloTools.h" #include <memory> #include <regex> #include "SystemParameters.h" namespace phylo { PhyloTools::PhyloTools() ...
3f6cbc367ceac3df4fb28e333e0667de3be8d56b
c76064ef62d9a3316c158204e2a4c4b8ea1002bd
/phonemic.cpp
efac8b89412719d34674ae947b5d29f9c1e006a5
[]
no_license
JimmySticks2001/Phonemic
990a9c2364ef805bef4cf6798c21d1be2b4f160d
55ca316384c4be6e5458d197ce176cb638a2d0aa
refs/heads/master
2016-09-10T12:57:43.443656
2014-12-18T19:50:41
2014-12-18T19:50:41
23,629,469
0
1
null
null
null
null
UTF-8
C++
false
false
9,209
cpp
phonemic.cpp
/* * Phonemic */ #include <sifteo.h> #include <sifteo/audio.h> #include "phonemic.h" #define LAST_LEVEL 6 //24 #define FILE_LENGTH 100 #define SPLIT_LENGTH 25 int word_num, temp, length; int order[MAX_WORD_SIZE]; Random gRandom; /** * Constructs a new Phonemic app */ Phonemic::Phonemic() { } /** ...
3579a6c177e8134deeec635aa91dd7b2a2f4c6b5
cee747720b18b9308c64c77010355fe23fed4b0e
/test/test_pcm_player.cpp
0cac57615669dae5945ad43104809671391dc662
[ "Unlicense" ]
permissive
fogo/audio101
abfb116adc7ef9c2b0d36d5f4ef8ca49e6cbe4c1
e8459a2a34defaaf9d596e635d4fe186aa2679b8
refs/heads/master
2021-04-28T03:24:20.005474
2018-03-05T21:26:25
2018-03-09T02:01:57
122,137,713
0
0
Unlicense
2018-03-09T02:01:58
2018-02-20T00:19:04
C++
UTF-8
C++
false
false
4,764
cpp
test_pcm_player.cpp
#include <audio101/pcm_player.hpp> #include <fakeasound/fakeasound.hpp> #include <dlfcn.h> #include <climits> #define CATCH_CONFIG_MAIN #include "catch.hpp" using namespace std::chrono_literals; static const char *device = "default"; static unsigned rate = 48000; static unsigned channels = 2; struct FakeAudioFil...
b321ae386a92044f5b98f6e5e6e56c61b402d0c7
d72b740992ce1876a504cbc0ee03de1ae667efcf
/samples/golf/src/golf/Path.hpp
9423b36133e7f110b99b1d592bfdba970aa0e6e5
[ "Zlib" ]
permissive
fallahn/crogine
a5ba6d4c1a1ff6209d5a485f6033915a3a02bd03
9bf497fe599fe9aa24cf5eac301d209b5b065f6f
refs/heads/master
2023-08-04T06:32:47.847808
2023-06-05T08:44:59
2023-06-05T08:44:59
101,754,475
62
9
null
2023-08-05T09:52:00
2017-08-29T11:38:17
C++
UTF-8
C++
false
false
1,676
hpp
Path.hpp
/*----------------------------------------------------------------------- Matt Marchant 2022 http://trederia.blogspot.com Super Video Golf - zlib licence. This software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising from the use of thi...
0aa337c220141a4640d68330c0c121c5b3f24c10
841776845974ba2645eff58ff8fabedd873093f0
/LeetCode/5993将找到的值乘以2.cpp
770ac4cbccf3f90cc6b2cc6ad225c6f27131cff3
[]
no_license
hello-sources/Coding-Training
f2652c9b8e58d244a172922e56897fa2a3ad52fb
d885ca23676cb712243640169cf2e5bef2d8c70e
refs/heads/master
2023-01-19T11:17:36.097846
2023-01-01T00:49:09
2023-01-01T00:49:09
246,630,755
4
0
null
null
null
null
UTF-8
C++
false
false
325
cpp
5993将找到的值乘以2.cpp
int cmp(const void *a, const void *b) { return *(int *)a - *(int *)b; } int findFinalValue(int* nums, int numsSize, int original){ qsort(nums, numsSize, sizeof(int), cmp); int flag = 0; for (int i = 0; i < numsSize; i++) { if (nums[i] == original) original *= 2; } return origin...
65b8d6564aaad6ad5e2145526da808418b3d7cd7
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/third_party/shell-encryption/src/polynomial.h
3cf0c77a164559f2de1d1b403437962e30415789
[ "BSD-3-Clause", "Apache-2.0", "GPL-1.0-or-later", "MIT", "LGPL-2.0-or-later" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
15,124
h
polynomial.h
/* * Copyright 2017 Google LLC. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
3a3722579f7381779fbbea0ae4c13aa47e2ae39e
ebe01b6351fae105847bfe93b636397fdb93efb1
/src/tradingcore2/strategymgr.cpp
457d4cf99f1ac824fd89aa825595da1a15e11362
[ "Apache-2.0" ]
permissive
lxn5321/tradingcore2
5bd57c847e0adba86d7a8afdb38ecdb0bf0178ad
5c9f29bda37828ebb6c71d1555567035f2a4d978
refs/heads/master
2023-05-07T02:09:59.471142
2021-05-28T14:16:38
2021-05-28T14:16:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,148
cpp
strategymgr.cpp
#include <math.h> #include <tradingcore2/strategy.h> #include <tradingcore2/strategymgr.h> #include <functional> CR2BEGIN StrategyMgr* StrategyMgr::getSingleton() { // for c++ 11 static StrategyMgr s_mgr; return &s_mgr; } void StrategyMgr::regStrategy(const char* name, StrategyM...
cc70a8953bd0bf15aac1bb2d8ede34f25b0f0e37
e179ac61542faf3a9b6061498469e8c7d514f4bc
/CryptoFile/CryptoFile.cpp
2bcd7696f16902725f9e2d47a01325f66730ee0a
[]
no_license
YiannosHg/CryptoFile
0d5f3550d0c07d456d767a3411e33d76e7cbf76a
22dd230d1358f004dd98b2851e73644384a4fb27
refs/heads/master
2023-08-31T10:21:25.480659
2021-10-08T16:23:15
2021-10-08T16:23:15
415,054,730
0
0
null
null
null
null
UTF-8
C++
false
false
2,618
cpp
CryptoFile.cpp
#include <iostream> #include <stdlib.h> #include<fstream> #include <cstring> using namespace std; int showMenu(); void encrypt(int k, int l, char w[]); void decrypt(int k, int l, char w[]); int main() { int key, len, choice; char word[50]; fstream inFile, outFile; do { choice = showMenu(); if (1 == choice...
81dd2879ac6f7f90d18b2916c28783024a7cbff4
2bc36a394bd807df9e60f69d4ce9dc684dca7fe6
/EnemyStateTest/Public/CGameObjectState.h
c117912e52a73b1de98c59011128423a6981c65a
[]
no_license
RomanSolomatin/EnemyStateTest
3a7943327d642994de017cebe02c78a53394033a
05cc4950db4ed6652149ea909b30185337617402
refs/heads/master
2020-03-11T10:04:37.902788
2017-02-02T05:21:40
2017-02-02T05:21:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
388
h
CGameObjectState.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include <string> /** * */ class ENEMYSTATETEST_API CGameObjectState { public: virtual void OnEnter() { return; } virtual void OnLeave() { return; } virtual void OnUpdate() { return; } virtual void OnMessage(std::string ...
81150914a9e43963349857fd7b4507bed97d8d29
6f9bd1df1be5dab6df5b3e88d09ce867f9950b45
/triangle.cpp
5d2c1fa319ebc5c89a07f8557a0acde2dc0a4cf1
[]
no_license
anton-kravchenko/Triangles_openGL_cpp
fed20f52180572a50f8a35551f633e2358973b0b
9151f58e1e7ed2d163fd91670c24e173e11ea9da
refs/heads/master
2021-01-22T04:57:40.534967
2014-10-28T19:07:20
2014-10-28T19:07:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,001
cpp
triangle.cpp
#include "triangle.h" int Triangle::RIGHT_EDGE = 0; int Triangle::BOTTOM_EDGE = 1; int Triangle::LEFT_EDGE = 2; float Triangle::ROTATE_ANGLE = 30; float Triangle::EGDE_LENGTH = -0.3;//very bad float Triangle::EDGE_MULT = 1.15; double Triangle::PI =3.141592653589793238463; Triangle::Triangle(){} Tr...
2fcaef5c2d0b8744497115c21d9d34dfc3a8f901
49b4b2267aeb10649dcb197633f597f633a8aad2
/exerciseStroustrup/part_6/zad02/zad02.cpp
2b8267db7d721d55b4393f1cd581121a5035ceef
[]
no_license
Warp-12/phd_tools
f0dd092a0f25a3eedd1bb11ccc343f856238d2a0
e09c91c3782eb8955371cb0ecbb29645fc9f985e
refs/heads/main
2023-04-25T04:36:37.351599
2021-05-18T13:30:41
2021-05-18T13:30:41
367,323,937
0
0
null
null
null
null
UTF-8
C++
false
false
5,734
cpp
zad02.cpp
#include<FL/Fl.h> #include<FL/Fl_Box.h> #include<FL/Fl_Window.h> #include "GUI.hpp" using namespace Graph_lib; int xb = 300; int yb = 200; struct My_window : ::Graph_lib::Window{ My_window(Point xy, int w, int h, const string& title); void wait_for_button(); private: Button next_button; ...
8ca003a40b03f09e439baae095a7fe54c3f1e3ad
fda35c6eacee7cb2c74a5a8e9c53eda57b7da1d5
/Lab2/bnguy097_lab3_part2/bnguy097_lab3_part2/main.cpp
15d4b681b5bb98dc6ab3649c3884000b9947eb7e
[]
no_license
bn2595114/CS120B-Labs
8c781373cc1ee9213d047d3c952bcff115399055
5cbec43107e28a234cc7e1dc536c7a400ac24b23
refs/heads/master
2020-05-04T19:25:45.522318
2019-04-21T06:05:20
2019-04-21T06:05:20
179,392,928
0
0
null
null
null
null
UTF-8
C++
false
false
852
cpp
main.cpp
#include <avr/io.h> int main(void) { DDRA = 0x00; PORTA = 0xFF; DDRB = 0xFF; PORTB = 0x00; // initialize to 0s unsigned char tmpA = 0x00; unsigned char tmpB = 0x00; while (1) { tmpB = 0x00; tmpA = ~PINA & 0x0F; if(tmpA == 1 || tmpA == 2){ tm...