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
cf0c59c41174b3529efeb9949cc82733927b7135
8f50c262f89d3dc4f15f2f67eb76e686b8f808f5
/graphics/VP1/VP1Systems/VP1AODSystems/src/VertexHandle.h
3b44088a7bdea731074837edcdda961bfe202cd4
[ "Apache-2.0" ]
permissive
strigazi/athena
2d099e6aab4a94ab8b636ae681736da4e13ac5c9
354f92551294f7be678aebcd7b9d67d2c4448176
refs/heads/master
2022-12-09T02:05:30.632208
2020-09-03T14:03:18
2020-09-03T14:03:18
292,587,480
0
1
null
null
null
null
UTF-8
C++
false
false
2,596
h
VertexHandle.h
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ //////////////////////////////////////////////////////////////// // // // Header file for class VertexHandle // // ...
8304f0a2a188e42752d413e891e58c67c1d898c4
4b878494dbc71c509b3e814f531a39d5982e4cc4
/src/old/metric-mylene.cpp
acc3b7d8a2b8a22addb5f8c5f5cb6c35ebca0c0e
[]
no_license
mylenefarias/q-metrics-1
ad9dbbcb6b008b41a62166f35363f104e316fd36
d3b4c2dbf52c49b48cff0d4630ac1408ab194278
refs/heads/master
2021-01-15T08:36:58.768063
2015-10-10T00:07:13
2015-10-10T00:07:13
48,123,088
2
2
null
2015-12-16T16:51:24
2015-12-16T16:51:24
null
UTF-8
C++
false
false
35,443
cpp
metric-mylene.cpp
#include "metric.h" double blockingWang(const cv::Mat & src) { double block_metric = 0; int subcols = (int) (src.cols/8); int subrows = (int) (src.rows/8); /// Diferenca do sinal na horizontal cv::Mat d_h1 = src(cv::Rect(1,0,src.cols-1,src.rows)).clone(); cv::Mat d_h2 = src(cv::Rect(0,0,src...
a198261e348558c8b79c3b5f994e731a4b5e572d
c093f943bfab59db2f4f64c3893db06ee1738c77
/Test/Test.cpp
e2c889faf7edd887cb2bccc1c0b0e98b644356ee
[]
no_license
TheodorSergeev/WaveSolver
c7ce68677b710d8187e66a44523f02f7ff8d8a39
d2564c28fe9fbf35697479afba607ab85d8257cc
refs/heads/master
2020-05-19T14:45:36.806107
2019-05-13T16:04:06
2019-05-13T16:04:06
185,067,649
2
0
null
null
null
null
UTF-8
C++
false
false
1,134
cpp
Test.cpp
#include "Test.h" void Test::PrintAnalyt(double t) { cout.precision(6); cout << "t = " << t << "\n"; cout << "Analyt: "; for(unsigned int i = 0; i < mesh_size; ++i) { cout << analyt_sol(i * x_step, t) << " "; } cout << "\n"; cout << "Numerical: "; for(unsigned int ...
a0d522cf7478d98153b34f314f01a7cdf2ac8a24
7d31c76454801b52d8275a45f04d4adc92104869
/src/htm/_htm_s2ellipse_htmcov/_htm_s2ellipse_htmcov.cxx
640a5b8bdecc1f3a559a91132d91c3536a7693c2
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Caltech-IPAC/libtinyhtm
412ea240fef82068922c81236118ecf476092912
e98b604d628f839f68956957dde2d38edda1429d
refs/heads/master
2023-07-26T07:54:02.592017
2022-06-09T00:50:35
2022-07-27T17:43:47
32,607,831
1
0
NOASSERTION
2022-07-27T17:43:48
2015-03-20T21:24:04
C++
UTF-8
C++
false
false
1,266
cxx
_htm_s2ellipse_htmcov.cxx
#include "htm.hxx" int _htm_s2ellipse_isect (const struct htm_v3 *v1, const struct htm_v3 *v2, const struct htm_s2ellipse *ellipse); /* Returns the coverage code describing the spatial relationship between the given HTM triangle and spherical ellipse. */ enum _htm_cov _htm_s2ellipse_ht...
bb7105ef81fdaeea5aa11e5e56d434e41ba9f763
de644b254b17a28f82e9212d80872a3d9eca2149
/test/host/extension/MOCKPolyPartition.h
72837a036af1eaec1c394ff1c6c7123d8aea8ff4
[ "MIT" ]
permissive
pixpil/gii
506bee02b11eb412016b583d807dcfcc485e189c
ba6d94ada86d82bacae06f165567a02585264440
refs/heads/master
2021-12-03T06:30:31.503481
2021-11-24T03:02:49
2021-11-24T03:02:49
431,331,021
4
1
null
null
null
null
UTF-8
C++
false
false
715
h
MOCKPolyPartition.h
#ifndef MOCKPOLYPARTITION_H #define MOCKPOLYPARTITION_H #include "moai-sim/headers.h" #include "MOCKPolyPath.h" //----------------------------------------------------------------// class MOCKPolyPartition : public virtual MOAILuaObject { private: static int _doConvexPartition ( lua_State* L ); static int _doTria...
d26f60363c12c987e0e93db62ccdc09dfe7a50ac
72e915468eea207ed0125b87f28186e54b10bd92
/UserDev/RecoTool/ShowerReco3D/App/ShowerQuality_singleshowers.cxx
7bb3ea9ca44e85cf5ccfd0a35dccadf963edd145
[]
no_license
hgreenlee/larlite
37834d3105d21e4a475776763e349c15faa2d644
a7e88ac08d89ffe195651e251037d9e1bfe64b2e
refs/heads/trunk
2020-12-30T14:46:48.894003
2019-09-24T22:01:49
2019-09-24T22:01:49
91,092,510
0
0
null
2017-05-12T13:07:06
2017-05-12T13:07:06
null
UTF-8
C++
false
false
13,372
cxx
ShowerQuality_singleshowers.cxx
#ifndef SHOWERQUALITY_singleshowers_SINGLESHOWERS_CXX #define SHOWERQUALITY_singleshowers_SINGLESHOWERS_CXX #include "ShowerQuality_singleshowers.h" #include "LArUtil/Geometry.h" // #include "DataFormat/cluster.h" // #include "DataFormat/hit.h" #include "EMShowerTools/EMShowerProfile.h" #include "TVector3.h" namespac...
b73906df884f2c48d3bb3274e9efeab9f45b68ce
04f1d0796fa39ed32cbf9f764e785e835be0ac11
/VaisseauAsteroide/HeavyVaisseau.cpp
20e923c53a1748217edd2c2b525b5af4bff6718d
[]
no_license
yezideteachers/VaisseauAsteroide
279f8c06a9c4a538342ed98e457ffd2f72d59f51
989cef46ac273aed9c5162c46e1ed72db90fab17
refs/heads/master
2021-01-10T01:14:17.752652
2016-01-09T13:58:40
2016-01-09T13:58:40
49,326,114
0
0
null
null
null
null
UTF-8
C++
false
false
729
cpp
HeavyVaisseau.cpp
#include "HeavyVaisseau.h" float HeavyVaisseau::getPosX(){ return posX; } float HeavyVaisseau::getPosY(){ return posY; } float HeavyVaisseau::getR(){ return r; } float HeavyVaisseau::getG(){ return g; } float HeavyVaisseau::getB(){ return b; } int HeavyVaisseau::getLifeTime(){ return lifetime; } void HeavyVais...
6204d1439718c958b7595aa224f22834737404ac
e33517731964a32a8c8fc9e122a35c707b8fc140
/specialsort/main.cpp
bc34bc7f012f3d2e1bc6f3e3daa6bb9b4fdb9e78
[]
no_license
yangshichong/code
e48102f6c1b5f98e2bdfa2648ca79e46cba3a30f
6c16e79bbdfbfd1a2a02dfcfc61434d225c6a1f7
refs/heads/master
2021-01-23T07:55:05.530316
2017-07-20T10:08:36
2017-07-20T10:08:36
86,462,791
0
0
null
null
null
null
UTF-8
C++
false
false
548
cpp
main.cpp
#include <iostream> #include<cstdio> #include<algorithm> using namespace std; int main() { int N,i; int a[1000]; while(scanf("%d",&N)!=EOF){ for(i=0;i<N;i++){ scanf("%d",&a[i]); } if(N==1){ printf("%d\n",a[0]); printf("-1\n...
defe8add8db9192c1aaca5f49226ccdaa1a9ba05
79e13c2a952ba68b7fcee5ef5b34d9a8c41030f1
/Uva-OJ/Uva_Soda Surpler.cpp
bd82f876a9a8d5def3b6880399a8def0f1a9758b
[]
no_license
Shahin15-1573/mycode-arena
924a571a58eba07bc6455e9aeb02f7186e5b527d
05b615b80e90d76d05e761f6517ce3053458a44c
refs/heads/master
2020-02-26T13:18:13.304157
2015-11-27T20:08:19
2015-11-27T20:08:19
47,061,299
1
0
null
2015-11-29T11:43:12
2015-11-29T11:43:12
null
UTF-8
C++
false
false
568
cpp
Uva_Soda Surpler.cpp
# include <stdio.h> int main() { int temp, mod, sum, t, val, i, e, f, c; scanf("%d", &t); for(i = 1;i <= t; i++) { scanf("%d %d %d", &e, &f, &c); sum = 0; temp = e + f; while(temp >= c) { mod = temp % c; //printf ("Mod = %d\n", mod); v...
1e58f15a3a5c1bab8cabcdc9aafe20a0effc6a90
e47c6e368e3a1f0d72b83d0613674c70c90f6421
/src/trawl_invgauss.h
9b644996ecb0ddc2320110638dd453143cdc0faa
[]
no_license
cdries/rTrawl
d4ba4077c5d9ffa75f50852f9de8a0394471b905
1aaea476b190225edb6a38d6dbb8976657bf78ea
refs/heads/master
2021-03-30T22:57:30.166053
2018-12-21T10:17:39
2018-12-21T10:17:39
125,032,471
5
0
null
null
null
null
UTF-8
C++
false
false
509
h
trawl_invgauss.h
#ifndef TRAWL_INVGAUSS_H #define TRAWL_INVGAUSS_H #include "RcppArmadillo.h" // [[Rcpp::depends(RcppArmadillo)]] using namespace Rcpp; arma::vec survival_INVGAUSS(arma::vec unif_seed, double gamma, double delta, double Tmax, double b, double observed_freq); arma::vec leb_AtA_INVGAUSS(a...
13db38a0bae7c635472723beed2a71e4af9661f5
ce4ef7a507b33baecca7272341c47e5fa8c278b7
/Stack and Queues/infix conversion.cpp
7082ea3077a35d5a82f7bea1f2a18a6055e55fb1
[]
no_license
HarshitDhingra/Competitive-Programming
55fdac6045c1de0427315cc6fed609d3fd8f1559
867fb40018433816c90765be0154f17598912768
refs/heads/master
2023-01-31T12:32:38.094462
2020-12-12T16:20:28
2020-12-12T16:20:28
275,234,207
1
0
null
null
null
null
UTF-8
C++
false
false
2,524
cpp
infix conversion.cpp
#include <bits/stdc++.h> using namespace std; int precedence(char x) { if (x == '+') { return 1; } else if (x == '-') { return 1; } else if (x == '*') { return 2; } else if (x == '/') { return 2; } } void solve(string s) { stac...
22898f0b3f671772769e27300bb39713a245bd05
3f4342859e338f22d7cfbb8eeb62ef11b540825e
/build/include/ms/serial/CheckSerial.h
161e17c1d9e96b32080120abcf26e5aec8937a5c
[]
no_license
82488059/MP3Stream
67e39564eb9d7f39862e38c1b509a99e2d2e313b
ed38ccf8a8f594a9e4ea1323160f3171bd5ceb61
refs/heads/master
2020-05-21T20:27:26.644961
2018-07-25T06:35:57
2018-07-25T06:35:57
65,781,341
0
0
null
null
null
null
GB18030
C++
false
false
399
h
CheckSerial.h
#pragma once #include <string> #include <ms/tstring.h> namespace ms { // registryMainkey 注册表项 // keyname 加密关键字 // registryValuekey 注册表值 bool CheckSerial(const ms::tstring& registryMainkey, const ms::tstring& keyname = _T(""), const ms::tstring&registryValuekey = _T("RegisterSerial")); //bool Check(c...
0710016d0155b07a080e100b56718ee747405267
1e02ed3f3369d36379be725a6b4cec6b155e97c9
/boxes_withoutNullary/StructDescription.cpp
11ee90c1b4dd4a01c8413e6def6d2cb45b2a5165
[]
no_license
dormon/prj
0f803287f316606ff4e0f475930a6f9e7a6b3bb9
7ab62eedccd8153ac905fc27f74adcaf634771c7
refs/heads/master
2023-08-04T04:23:12.785661
2023-07-20T23:19:45
2023-07-20T23:19:45
89,816,202
4
0
null
null
null
null
UTF-8
C++
false
false
1,303
cpp
StructDescription.cpp
#include"StructDescription.h" #include"TypeRegister.h" void StructDescription::construct(void*ptr,std::shared_ptr<TypeRegister>const&tr)const{ PRINT_CALL_STACK(ptr,tr); assert(this!=nullptr); assert(tr!=nullptr); size_t offset = 0; auto pptr = (uint8_t*)ptr; for(auto const&x:this->elementsTypes){ tr->c...
9b5e9dc6d008871e2192ece9822018f58c7b37f5
295fc0bac073697c3711f1318da833e8ea42e6ef
/read_string.cpp
f2587e490c42defc4d3212c9943b943e0625eaa0
[]
no_license
tuladhasum/252-Final
effb1c71c9c8928421397e73301d211304a93fd6
b1f788f99f5c918d24b474c82fbd0c897c5c4b79
refs/heads/master
2016-09-06T07:18:18.158702
2011-12-13T22:04:23
2011-12-13T22:04:23
2,975,583
1
0
null
null
null
null
UTF-8
C++
false
false
491
cpp
read_string.cpp
#include <string> #include <iostream> using namespace std; int main() { int age; string name; char dummy; cout << "how old are you? "; cin >> age; // cin.get(dummy); cin.ignore(80,'\n'); cout << "dummy: " << dummy << "ASCII: " << static_cast<int>(dummy) << endl; cout << "enter your name: ";...
802ecf390c100794ab044e7909f154fcb557f4e8
7443bf57673df7222c085ec1589988499425e8e9
/C++ important files/vector implementation/stack.h
81259a80540a86843230075347edbed9c19d5f72
[]
no_license
adityachoudary54/important-files
b451710f902a2f6065dac3eb065d1be387b1c4ae
c5f43738d26c5d446e1577a5d9ab9155a9510388
refs/heads/master
2021-07-01T14:07:11.826472
2019-03-29T12:24:10
2019-03-29T12:24:10
139,311,780
1
0
null
null
null
null
UTF-8
C++
false
false
705
h
stack.h
#ifndef stack_h #define stack_h #include"vectorimplementation.h" template<typename T>// removes function overloading class Stack { Vector<T> v; public: void push(T data) { v.push_back(data); } void pop() { v.pop_back(); } T top() const { return v[v.size()-1];...
484dd22c8591ea3a2086c885c78bb4bc5667c27b
b401d27f1f7c1c12afdaa29fe3ccfa1ed990c096
/openvino_test/ThirdPartyUtil.cpp
f3080f43540d4d5da5786ce710d21d2496bcbc04
[]
no_license
wkailiu/openvino_test
d80accd67fb43f5be70199c51bc80e61843ec14f
953d4922eb0af54bb6a5054030896a97910927eb
refs/heads/master
2020-07-03T10:55:37.668552
2019-08-14T12:49:50
2019-08-14T12:49:50
201,883,472
0
0
null
null
null
null
GB18030
C++
false
false
5,297
cpp
ThirdPartyUtil.cpp
// // @ Project : HumanPose3D // @ File Name : ThirdPartyUtil.cpp // @ Date : 2019/6/11 // @ Author : lwk // #include "ThirdPartyUtil.h" // //op::Wrapper opWrapper{ op::ThreadManagerMode::Asynchronous }; // human_pose_estimation::HumanPoseEstimator estimator("human-pose-estimation.xml", "CPU", false); std::vecto...
d7bb50349006ca166ceb8994c4135d8c23c620cf
a8fc88a72b6707e8aa59af47deb28ae89818b071
/KatalogKsiazek.cpp
7e05ef1e5267ae36fe8c7c130e88cb802b32c200
[]
no_license
adleea/library
99bbb6a6e07c028b0d746e654b138d97174a9ac4
c8cca7cdd6c991322a55fd27f919cf6d7999103e
refs/heads/master
2020-03-06T23:43:35.579466
2018-04-17T11:25:54
2018-04-17T11:25:54
127,139,541
0
0
null
2018-03-29T16:17:21
2018-03-28T12:50:50
null
UTF-8
C++
false
false
3,144
cpp
KatalogKsiazek.cpp
#include<cstring> #include<vector> #include<cstdlib> #include<iostream> using namespace std; #ifndef head #define head #include "Ksiazka.cpp" #endif #include "ListaWypozyczen.cpp" #include "utility.h" class KatalogKsiazek { private: int liczbaKsiazek ; vector<Ksiazka> katalog; ListaWypozyczen ...
df1d011c963976c224f2e3ce29c84a407ffd2ca4
0fee103f9ed82978144d9741e46882c7df9eedb1
/other/Ptz/19392.cpp
4dcf0c6769b9d05a5f46318e7f04ef38a919ca70
[]
no_license
Flying2019/testgit
2776b6bc3a5839a005726ff108fb69d971065871
86a42bb1d4bfd65b5471373f03162270013da2af
refs/heads/main
2023-07-15T00:57:55.321869
2021-08-21T01:16:53
2021-08-21T01:16:53
302,891,112
0
0
null
null
null
null
UTF-8
C++
false
false
1,554
cpp
19392.cpp
#include<iostream> #include<cstdio> #include<cstring> #include<unordered_set> #include<algorithm> #define N 200010 #define ll long long #define lll __int128 using namespace std; ll a[N],b[N],c[N];int n; unordered_set<ll>st; ll gcd(ll a,ll b){return b==0?a:gcd(b,a%b);} ll exgcd(ll a,ll b,lll &x,lll &y,ll x0=1) { if(...
f51266a34bfdcaf009f5ca7ec86244b3c746d405
ce4fed088cf6c631ae5b3b2cfb0a6fdeb8cfff11
/Project1/animationMath.h
a8debd55eb0f894b88714b54057aa8f9c0668443
[]
no_license
superoirNathan/Duel
bed8ebaafbaeaa7187e8ed8103aa2dc4458b6015
f287add5db1a5e8aeafadebc2ed8463b627b92ab
refs/heads/master
2021-05-04T22:18:53.587024
2020-06-05T20:27:11
2020-06-05T20:27:11
120,023,648
1
0
null
null
null
null
UTF-8
C++
false
false
1,837
h
animationMath.h
#pragma once #include <glm/vec3.hpp> //#include <GLM/gtc/matrix_access.hpp> //#include <GLM\gtx/string_cast.hpp> #include <iostream> namespace Math { // Linear interpolation template <typename T> T lerp(T d0, T d1, float t) { return (1 - t) * d0 + d1 * t; } // invers...
bfb5d183f94cf7ce4a3ba0695891023831efefa9
243e8172e1a8998542a4684f17f851b4e368d7db
/_HackandSlash/_HackandSlash/Source/Game/Player/Player.h
af769710a558f548326a1c24de336e5dffd7b627
[]
no_license
TadashiHiramatsu/nkGames
6d463dde6d5a788caca4c6e4cd677e144428040a
4e5014b7764c73b2d419dba2bcb286ac50b3a51c
refs/heads/master
2020-09-16T06:32:53.887313
2017-04-17T15:34:23
2017-04-17T15:34:23
66,623,806
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
7,283
h
Player.h
/** * @file Source\Game\Player\Player.h * * プレイヤークラスの定義. */ #pragma once #include"nkEngine/_Component/nkCharacterController.h" #include"..\AnimationEvent\AnimationEventController.h" #include"..\AnimationEvent\CollisionWorld.h" #include"PlayerEquipment.h" #include"../../Common/SaveData/SaveData.h" /** * プレイヤークラ...
98fdad7c205a9482a7a0c6908c55ed2315211753
ed2bbe09c59e2300b6af9c0b6176cb529a4b995d
/GCanvas/core/src/gcanvas/GFontCache.cpp
711c7b1017dce06f106829d96fe277d97d26a6b0
[ "Apache-2.0" ]
permissive
tuoxie007/GCanvas
e8e9f99e8f0778321eb1191f21e7c1b4b5933eaa
13f863a804cca553792ef758abccc1cb4eea3fdb
refs/heads/master
2020-03-25T01:35:24.993998
2018-08-02T05:09:53
2018-08-02T05:09:53
143,244,911
0
0
Apache-2.0
2018-08-02T05:09:54
2018-08-02T05:05:37
JavaScript
UTF-8
C++
false
false
2,776
cpp
GFontCache.cpp
/** * Created by G-Canvas Open Source Team. * Copyright (c) 2017, Alibaba, Inc. All rights reserved. * * This source code is licensed under the Apache Licence 2.0. * For the full copyright and license information, please view * the LICENSE file in the root directory of this source tree. */ #include "GFontCache.h...
2e6875bf56d168eff0d1639e1c733ec8d87772f8
84d979fcadbfb5d0e83c153a92e6bb9b11b90791
/Lab6/Lab6/String.h
faa18e34a08cd58c7dec7dd687dbeb6c04e0c24b
[]
no_license
nickvo94/VisualStudioLabs
a74dc1baa69badcb16718f9dad6d8553fdab0c40
61dfec057c3c251c3dc2a4f48bc27c8b418608ae
refs/heads/master
2021-07-22T23:29:44.710993
2017-10-28T14:30:29
2017-10-28T14:30:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
713
h
String.h
#pragma once #include <iostream> //#include <string> using namespace std; class String { static const int MAX_STRING_LENGTH = 10; friend ostream &operator<<(ostream &out, const String &s); friend String &operator+(const String &s1, const String &s2); public: String(const char * text = ""); String(const String ...
7f164955f364cb0afd4b685a78038417a0f1f252
ddbe406bbeb4d15cf81654612783fccf58020097
/src/old/saliency.cpp
2d1528127177c3c46127d8481ad305f9ca824d91
[]
no_license
pateldeev/arl_project
1db5e47508ed16f7c1512df5eee5e999e66ac2a7
3672bda349aad0327c1a7e42d3f814b627459182
refs/heads/master
2020-03-30T21:47:32.788236
2019-05-20T23:07:17
2019-05-20T23:07:17
151,642,149
1
0
null
null
null
null
UTF-8
C++
false
false
505
cpp
saliency.cpp
#include "functions.h" #include <iostream> int main(int argc, char * argv[]) { const cv::Mat img = cv::imread("/home/dp/Downloads/ARL_data/5.png"); //const cv::Mat img = cv::imread("/home/dp/Downloads/VOCdevkit/VOC2007/JPEGImages/000013.jpg"); DisplayImg(img, "Orignal_Img"); cv::Mat salImg; Calcu...
72d562076a913687c71c0041411807d8eee2636a
ffe0e7720bc2c46823d7cde3e5bb14f8bc3bedf8
/Summer Camp/Chuyen Bac Ninh 2017/CONTEST - Jun 28/UNFAIR/UNFAIR.cpp
5b48d7087790bf05e674eeb3c3862460c8831c3a
[]
no_license
bu1th4nh/Internal-Offline-Judge
a6f3feda61942a56ae38524ef6a1f60af0e54ed4
7b59f2573e05712f7f4cb83e62da1a43e7d99d87
refs/heads/master
2020-04-15T12:04:05.692920
2019-04-16T04:21:12
2019-04-16T04:21:12
164,658,494
2
0
null
null
null
null
UTF-8
C++
false
false
1,608
cpp
UNFAIR.cpp
#include <bits/stdc++.h> using namespace std; //===================================== //Macros #define task "UNFAIR" //===================================== //Typedef and variable declaration struct Gamer { int power; bool pick; }; vector <Gamer> a; vector <Gamer> b; int n, res; //===========...
5a5fa0f7afd6b9d0d858f3d7fbb604ba89ec4687
b9a05d3bf54f34fc936405cda9eebfdc702ab44c
/mainwindow.cpp
e4b68f9cb8c7afc9dbc7e83b182fe6048e6575a9
[]
no_license
zhongwq/EmFinalProject
4079aaf8fdb25ae1942edf51468c18fb4dee9540
7143791ce2c0126c051ced44d9f3a5777d05714d
refs/heads/master
2020-06-02T13:25:48.311618
2019-07-10T17:36:18
2019-07-10T17:36:18
191,168,828
0
0
null
null
null
null
UTF-8
C++
false
false
2,566
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QDesktopWidget> #include <QSqlDatabase> #include <QMessageBox> #include <QSqlQuery> #include <QSqlError> #define QStringLiteral(str) QString::fromUtf8(str, sizeof(str) - 1) MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::M...
ff57023e43320315643f39164dd49eb96af8bbec
8328b7c02a755f88bd79c9f28253a7b86838817c
/src/ShutterLEDController.h
a6a7c6161007d1209208b25bb1696f2e6fe2b2e0
[]
no_license
Blue-i/shut4
3126f65244aa41deef48a01839aa1dd3a5df106e
d6a7eec929ad3003ee4f84bf21fd367252a6785a
refs/heads/master
2021-01-18T14:01:32.206828
2016-11-11T16:29:45
2016-11-11T16:29:45
84,338,322
0
0
null
null
null
null
UTF-8
C++
false
false
1,228
h
ShutterLEDController.h
/* * ShutterLEDController.h * * Created on: 29 Oct 2016 * Author: rag */ #pragma once #ifndef SHUTTERLEDCONTROLLER_H_ #define SHUTTERLEDCONTROLLER_H_ #include <Arduino.h> #include "EventHandler.h" #include "Timer.h" #include "os48.h" #define SHUTTER_LED_BLINK_INTERVAL 50 class ShutterLEDController : publ...
a98ef02b138481b1881c2fbeec5a12d6276d7e4a
cd5ab0e4eb20f797c97be417d947579787873790
/MegamanX3/MegamanX3/Shurikein.cpp
a50106b4139d2a3fdc29aae3802b247421300081
[]
no_license
Nguyenhongphuc98/Megaman-game
f789a78b827b84f301da62322ea001d7ead02f0f
5cb064ceb3a81b9880980f844896e8132b2955cf
refs/heads/master
2020-03-28T14:09:15.036816
2019-07-18T07:36:40
2019-07-18T07:36:40
148,461,434
1
1
null
null
null
null
ISO-8859-1
C++
false
false
9,465
cpp
Shurikein.cpp
#include"Shurikein.h" Shurikein* Shurikein::instance; Shurikein::Shurikein() { x = 2499*G_Scale.x; y = (883+G_ADDITIONS_TO_BECOME_THE_SQUARE) * G_Scale.y; animation_loop_rotate = 0; this->start_x = x; this->start_y = y; this->count_run_horizontal = 0; this->current_action = RunHorizontal; this->actived = fal...
9991ebb669f410e00c86d7fea0a89e84dfd1d44b
ece1ddeeda6473cd26d1a1bf5f6778106b808892
/src/Oglu/Window/ContextSettings.cpp
35969e650ee9e0a08aa1b960b729dda66efd2fde
[]
no_license
IohannRabeson/oglu
411a5996c2b3f4bbff508fbe984694d9c06e2d91
7c1028b158caf31721ddefd70855bc7cbcdd7c5f
refs/heads/master
2022-11-19T01:39:23.802192
2020-07-19T07:06:30
2020-07-19T07:06:30
95,469,077
0
0
null
null
null
null
UTF-8
C++
false
false
1,639
cpp
ContextSettings.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ContextSettings.cpp :+: :+: :+: ...
63c9b3f24b37f9c743751acd6d4b9e3b664eeb29
fb8b91cacb2515c51e5f3a6d57bcd4a09733a9c7
/src/Shaders/ShaderMultiPointlight.cpp
a0b624983a75bba62732cc464a75f47f96f67f83
[]
no_license
jhalter2/AlienCrashRender
121e540087c2180f9231cfc35d089c1105be06bf
199671c12979842500f91a63945002d90699e327
refs/heads/master
2020-05-03T06:25:02.748948
2019-07-18T05:43:50
2019-07-18T05:43:50
178,471,117
0
0
null
null
null
null
UTF-8
C++
false
false
5,206
cpp
ShaderMultiPointlight.cpp
#include "ShaderMultiPointlight.h" #include "d3dUtil.h" #include <d3d11.h> #include <assert.h> #include "Texture.h" ShaderMultiPointlight::ShaderMultiPointlight(ID3D11Device* dev) : ShaderBase(dev, L"../Assets/Shaders/TextureMultiPointlight.hlsl") { // Define the input layout D3D11_INPUT_ELEMENT_DESC layout[] = { ...
fee996bfeca6e0367e929eee5e097dd831b5bd10
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/DQM/EcalMonitorDbModule/interface/DBWriterWorkers.h
08e6ca102770e2d25504198df6ca8cbca1d59449
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
C++
false
false
3,846
h
DBWriterWorkers.h
#ifndef DBWriterWorkers_H #define DBWriterWorkers_H #include "DQM/EcalCommon/interface/MESet.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DQMServices/Core/interface/DQMStore.h" #include "OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h" #include "OnlineDB/EcalCondDB/interface/MonRunDat.h" ...
dd1151eae23c7eba9b130c5d4d7533b33f65fe2a
f01e020ff4abfa359c0053f0fee661d7fa2eb195
/account.cpp
7eaddc23357e9d9127831c7a473aee1debb10bd8
[]
no_license
OlivierCoue/projetqt
409d43bfb6f07527c0914921b4c931f6b01d3b3d
2b2b0cdb7071595e6ee4f881f8d32509bd92758c
refs/heads/master
2021-04-30T04:28:30.853041
2018-03-23T07:53:27
2018-03-23T07:53:27
121,536,507
0
0
null
null
null
null
UTF-8
C++
false
false
789
cpp
account.cpp
#include "staff.h" #include "account.h" Account::Account() { } Account::Account(int id, Staff* staff, QString login, QString password) { this->id = id; setStaff(staff); setLogin(login); setPassword(password); } int Account::getId() const { return id; } QString Account::getPassword() const { ...
9946d54939abc7b70c7330b686987c38d74f64fe
c8de5c7ca5ddc6edae84e7095d4b2249d928613f
/HW1/Q1_3/Q1_3/insertionsort.cpp
f72a84b3eb88bb0119ce91b6e35543708ee7f7c0
[]
no_license
miny2627/Algorithm
eca8e755383a3eaafbbfc6a80206562a1f0f2e54
ddca5252e7e0bf37ffc01819d7c14aa80bc123c1
refs/heads/master
2022-12-14T01:24:18.193504
2020-09-15T10:51:26
2020-09-15T10:51:26
295,697,195
0
0
null
null
null
null
UTF-8
C++
false
false
543
cpp
insertionsort.cpp
#include <iostream> using namespace std; int count1 = 0; int count2 = 0; void swap(int& a, int& b) { int tmp = a; a = b; b = tmp; } int insertionsort(int *A, int n) { int index; for (int i = 1; i < n; i++) { index = i; while (index > 0 && A[index] < A[index - 1]) { swap(A[index], A[index - 1]); ind...
b0410474ae0eae8b4d0c9566b2f2a372c7879c42
5d0408c2cfdb0e8132a3f0f801ebcba9729ada00
/src/model.h
f3a2444ec3bd942a28565ca3fb9c20d7cd082ce7
[ "MIT" ]
permissive
Joklost/linklayer
0583f1b461b8afaa6b79a4c437373f227ae6181e
fab105b92dd40a804d7ce5208527fcad6cb2ff41
refs/heads/master
2020-04-30T16:42:18.699707
2019-04-01T08:58:35
2019-04-01T08:58:35
176,956,679
0
0
null
null
null
null
UTF-8
C++
false
false
1,455
h
model.h
#ifndef LINKLAYER_MODEL_H #define LINKLAYER_MODEL_H #include <utility> #include <random> #include <map> #include <unordered_map> #include <common/equality.h> #include "node.h" #include "link.h" #include "action.h" namespace linklayer { const int LM_ERROR = -1; const double TIME_GAP = 20000.0; const un...
706416cdcdfe54340ea9ee12381c63e794149f15
a419acad453746d385fab233d901bd24df85b00d
/src/TileMap.h
c2100cd69fd950bbc9c4ae33cbee335ca74bf74f
[]
no_license
hoangvu96z/Castlevania
19945a71d87923fed941e6757eb1c6f50e2c0bfa
dd6d38fc2d9c6372682f01bca38ed8a3d8590f9d
refs/heads/master
2023-03-20T04:32:43.157543
2020-04-23T08:12:13
2020-04-23T08:12:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
702
h
TileMap.h
#pragma once #include "Utils.h" #include "Sprites.h" #include "Textures.h" #include "Game.h" #define MAP_SCENCE_1 -10 #define SCREEN_WIDTH 320 #define SCREEN_HEIGHT 240 using namespace std; class CTileMap { int ID; int tileWidth; int tileHeight; int translate_y, translate_x; int mapRows; // number of ro...
cab8325f3c5fc0ff865451ca21d2c13159770134
d932e21e8548ae4ea64e77a15696af50c6b1e1fa
/Homework 1/COP4520 HW1.h
439c13cdb5fc0ed4cddb9a28689e739f55322646
[]
no_license
cpadilla/COP-4520
d3bb8077987714dece5b04b60ae7c2bee497d96b
bb49a5aeba2df86d55521be68b9c19af66660079
refs/heads/master
2021-05-13T14:30:03.561592
2018-03-20T01:19:28
2018-03-20T01:19:28
116,742,569
0
0
null
null
null
null
UTF-8
C++
false
false
243
h
COP4520 HW1.h
#pragma once #define _ENABLE_ATOMIC_ALIGNMENT_FIX #include "stdafx.h" #include <iostream> #include <thread> #include <chrono> #include "Stack.h" #include "Backoff.h" #include "Node.h" #include <algorithm> #include <mutex> #include <stdio.h>
37e31be68d132714d32f67fe48b527f76acbf80b
08b4f9f2fa46469d6385997bf99543322093d316
/urlFrontier/minheap.cpp
aa24e76e441b75fa1fd347676f51de967edd6e19
[]
no_license
scictor/DistributedCrawler
12e8f9c83573bbee740828b590fe4475c7ccb596
1cd5fc91c1b86ee414e64e4d152493d835da0167
refs/heads/master
2021-01-02T08:43:20.333653
2013-01-24T08:44:34
2013-01-24T08:44:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,280
cpp
minheap.cpp
/* * minheap.cpp * * Created on: 2012-3-2 * Author: xiaojay */ #include"minheap.h" #include<assert.h> //constructor minheap::minheap(int maxheapsize) { assert(maxheapsize>0); this->maxheapsize = maxheapsize; this->currentsize = 0; heap = new node [maxheapsize]; } //destructor minheap::~...
0d32e49ca858cb8560a7eebff0f332121bdc443c
9bce5ae2f0ebbfcbc378452acc0ff615cb9d751b
/gpmap/cpp_Script/GenerateGene.hpp
4a61907827ad7b4ee6f317d048f5b768d700eabe
[]
no_license
mjaklitsch/gpmap_CPP_and_Processing
2cde5d3a5f33e3f9f12817301afa3b79086c5a1f
ff4475a71a7e61aaea061101199739fb3c238812
refs/heads/master
2023-04-22T17:58:45.296474
2021-05-03T07:03:50
2021-05-03T07:03:50
282,727,744
0
0
null
null
null
null
UTF-8
C++
false
false
449
hpp
GenerateGene.hpp
#include "Gene.hpp" #include <string> #ifndef GENERATEGENE_H_INCLUDED #define GENERATEGENE_H_INCLUDED // Genotype Generation Variables extern int minDuration; extern int maxDuration; extern int minDelay; //int maxDelay = 0; // for testing extern int maxDelay; extern int minSpeed; extern int maxSpeed; extern int minGr...
a393fc1dccbba2669d23f5d9f262aede252663de
b23cd48053275c8ecf6a899baf365b7c523563ee
/Doppel_1209/Source/Doppel/Tile.h
3b15b80f5493fa621ad2c61f1b07d04b9821dbfb
[]
no_license
leesm0218/Unreal_games
2c99fb3f86dcf563250f27666525679c74615352
1507087d812bf034623d41c7ce1e2039ad674ad2
refs/heads/master
2021-01-11T10:50:20.222817
2016-12-17T10:57:31
2016-12-17T10:57:31
76,162,016
2
0
null
null
null
null
UTF-8
C++
false
false
1,411
h
Tile.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "GameFramework/Actor.h" #include "Tile.generated.h" UCLASS() class DOPPEL_API ATile : public AActor { GENERATED_BODY() public: enum e_floors { T_EMPTY, T_GROUND, T_PILLAR, T_THORNS, T_EXIT, T_COUNT }...
ae4f60feea88485b0aa2e4215201e8f7dff68db9
91c11c300ccc868b77850ad61e6bb095cb192272
/include/ishiftboard.h
b4cb9d5eb22905cacdb6cd6b95df1de96e4a5618
[]
no_license
creack/ledcube
b1cc68e5e4dfe93ead00b31f837e3846e3bad002
fae1bf3e02e4c23870cecc0bcc1c00f427700d80
refs/heads/master
2023-07-20T13:35:52.737891
2020-10-21T15:44:13
2020-10-21T15:46:38
49,233,391
1
0
null
null
null
null
UTF-8
C++
false
false
1,482
h
ishiftboard.h
#pragma once #include <Arduino.h> #include "iboard.h" // IShiftBoard is an abstract class implementing most of the common shift register based board in LSB. // The actual shift() method needs to be implemented by the concrete class. class IShiftBoard : public IBoard { public: IShiftBoard(int clockPin, int lat...
b1769a3e4b759d3559e6b98471660a9befef8090
f9eccfc5199b40e9ca3c1ca243533d9f6f4a8588
/mainwindow.cpp
50e91a9383d8831c544f49d707877073be2ce154
[]
no_license
sh3ev/Pomidorek
f7ad248ad82bf229e39baa8eb5ce598e9d3396b5
b7d78f431e073c26d191ea6460342dcd5868685d
refs/heads/master
2021-03-24T12:12:25.512420
2016-11-28T16:18:58
2016-11-28T16:18:58
73,398,121
0
0
null
null
null
null
UTF-8
C++
false
false
4,844
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QSystemTrayIcon> #include <QtMultimedia/QSound> #include <QCloseEvent> #include <QMessageBox> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->tomato_1->setEnabled(false); ui...
97a58511f263ae605000197f1fa631d0358860c7
8882ebca69163b3a3a9d7a33834d6469e326d0bf
/VKZ/Cargo.h
f3d5f0606ed3deffabad57441f7e952f00fccdc6
[]
no_license
Mrwbali/VOB
c81a647b4c6ea1676d691af85273712a1e959440
d47976221740e6e3d615ce9a13442384f1e86114
refs/heads/master
2016-08-12T16:32:28.139369
2015-11-11T23:48:51
2015-11-11T23:48:51
45,870,669
0
0
null
null
null
null
UTF-8
C++
false
false
430
h
Cargo.h
#pragma once #include "Charon.h" using namespace std; class Cargo : public Charon { public: enum SPECIE { GOAT, WOLF, CABBAGE }; private: SPECIE aspec; POSITION aposition; public: Cargo(); Cargo(SPECIE spec, POSITION position); string getSpecie() const; void setSpecie(SPECIE spec); s...
77de6a5d32141ff4c60531d3fd7493c0a65c8b6d
156df4c979df8a6e92d59270e491c8967d7a723d
/lab2/lab2/CBlur.h
5a6c26f22d50a5633a8120deea299bbb5a4a50ca
[]
no_license
gstaizer/PP
1504c25dd069942eda9841baa50f269a1dbca56c
feac6836aa85f698fa265df8a9c81b7371f3b132
refs/heads/main
2023-05-13T14:22:38.686934
2021-05-28T09:09:37
2021-05-28T09:09:37
360,396,173
0
0
null
null
null
null
UTF-8
C++
false
false
547
h
CBlur.h
#pragma once #include <iostream> #include <fstream> #include <cstdio> #include <Windows.h> #include "../easyBMP/EasyBMP.h" using namespace std; struct ThreadInfo { ThreadInfo(const ThreadInfo &thread) {}; ThreadInfo() {}; ~ThreadInfo() {}; BMP inputImage; BMP *outputImage; int index; int threadCount; }; class...
ee77742a8637dcabd5f55dc629a25527d6f0fe0f
2c78de0b151238b1c0c26e6a4d1a36c7fa09268c
/garantPIL/implementation/component/cpp/tools/misc/src/gregtst.cpp
883e561730a252460b34022d8b3c2c54f52085fd
[]
no_license
bravesoftdz/realwork
05a3b308cef59bed8a9efda4212849c391b4b267
19b446ce8ad2adf82ab8ce7988bc003221accad2
refs/heads/master
2021-06-07T23:57:22.429896
2016-11-01T18:30:21
2016-11-01T18:30:21
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
42,065
cpp
gregtst.cpp
#include "shared/Core/fix/mpcxc.h" #include <cstdio> #include <cstdlib> #include <sys/types.h> #include "garver.h" #include "osdep.h" #include "basemask.h" #include "stdbase.h" #include "gardefs.h" #include "btiter.h" #include "dociter.h" #include "refcol.h" #include "doccol.h" #include "hnode.h" #include "fstring.h"...
a4cc2b350dbe137bf1bd3a703d4c8e065a6f6961
54792756ffbbf51f6b088713fd9a791539d95f1f
/Algorithm(2020.05.06)/SWTEST/SWTEST/16986 인싸들의 가위바위보(프린트).cpp
23e8a69b072de14365ba76fa5ec48625b04379ed
[]
no_license
3DPIT/algorithmTest
bef932d2b83b3e661b9db47672f0ad50ab4f8cb6
8c1fc46536b8962a2944056574e5a5a4b4c0f94b
refs/heads/master
2021-07-16T20:33:57.362620
2020-10-22T06:26:06
2020-10-22T06:26:06
220,213,352
0
0
null
null
null
null
UTF-8
C++
false
false
1,570
cpp
16986 인싸들의 가위바위보(프린트).cpp
#include<iostream> #include<stdio.h> #include<string> #include<string.h> #include<vector> #include<algorithm> using namespace std; #define S 11 int n, k; int visit[S][S]; int a[S]; int J, K, M; int input[S][S]; vector<int>kyoung; vector<int>min1; int main(void) { scanf("%d %d", &n,&k); for (int i = 1; i <= n; i++) { ...
e9587ef5bd16eaa87fba89329c18548fe978fcf8
6eddc72e6437fcac2f8d248bb35d503578ce9df2
/src/winrtapi/I2CDisplay.h
6138ada2a6e8ebf381b3a84d75e83b2e9b55802f
[ "MIT" ]
permissive
ogail/sensy
315f1314433de85b5431c073424a2da53ddaf947
7ecd06952df0f3582c127eb3ce43051a2782355e
refs/heads/master
2016-09-05T16:34:49.153336
2015-08-25T13:19:30
2015-08-25T13:19:30
40,151,343
0
0
null
null
null
null
UTF-8
C++
false
false
3,529
h
I2CDisplay.h
#pragma once #include <appmodel.h> #include <strsafe.h> namespace DefaultApp { namespace Data { public ref class I2CDisplay sealed { public: property Platform::String^ Line0 { void set(Platform::String^ data) { LineBuf[0] = data; Update(0); } }; property Platfor...
f9afa2aa87cd9575a96b87843ddb5534bee75f17
1942f55f9ee9c96a3c205ebf8c4f956ee473b3db
/test/unit/hcblas_dcopy.cpp
16a889c63a5c121356ae26e9299718860a11044d
[]
no_license
parmance/hcblas
03279aaf10464d344d2ae1d7eaed6428f540e233
2a19a753e2e2880378faec0d1198cdc3ba63c0fc
refs/heads/master
2021-01-19T17:38:14.115239
2017-03-10T13:42:09
2017-03-10T13:42:09
88,337,929
1
0
null
null
null
null
UTF-8
C++
false
false
8,053
cpp
hcblas_dcopy.cpp
#include "hcblaslib.h" #include <cstdlib> #include "gtest/gtest.h" #include "hc_am.hpp" #include "cblas.h" TEST(hcblas_dcopy, return_correct_dcopy_Implementation_type_1) { hc::accelerator accl; hc::accelerator_view av = accl.get_default_view(); Hcblaslibrary hc(&av); int N = 23; int incX = 1...
48e34a1f9a141dd8200933cac1826f4b96ad47ec
c9e6c3a232b8d42a07d9e54be899f1ea620a2921
/include/v8/scene/simple_node.hpp
acb33905e5ed1d86c2084ae4a84d65ccaa63cfad
[]
no_license
adihodos/v8engine
bc98f06837b94f89fda026a63b098e79cfad0c3b
a7474e9592e091076f74ce0243306b27c673ba05
refs/heads/master
2021-01-22T13:13:04.028047
2013-09-28T18:10:05
2013-09-28T18:10:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,160
hpp
simple_node.hpp
#pragma once #include <algorithm> #include <vector> #include <cstring> #include <v8/v8.hpp> #include <v8/math/light.hpp> namespace v8 { namespace scene { class simple_node { public : //! \name Constructors //! @{ simple_node(simple_node* parent = nullptr) : parent_(parent) { } virtual ...
b3aa3d93cc9f4028d7af3aa2338ad71ab18b2a6c
a48fd022edffeb04c6ecf8ce1cf74a14f624c706
/src/sprite.cpp
8203a026b91ad1de2ae1849cef66389103fdf199
[]
no_license
b1naryth1ef/2d3
a29fb41ab29a0f273e6fe63b0a4d340540b830af
2e9b624a6f3e702bf34652519e81b6a8f17c1d47
refs/heads/master
2021-01-16T18:02:25.695867
2014-05-19T06:08:51
2014-05-19T06:08:51
6,935,170
1
0
null
null
null
null
UTF-8
C++
false
false
1,959
cpp
sprite.cpp
#include "sprite.h" BaseSprite::BaseSprite (ALLEGRO_BITMAP *bmp) { img = bmp; } bool BaseSprite::render(ALLEGRO_DISPLAY *display) { return true; } bool BaseSprite::tick() { return true; } ALLEGRO_BITMAP *BaseSprite::getImage() { return img; } AnimatedSprite::AnimatedSprite (ALLEGRO_BITMAP *bmp, flo...
396fcb2a3539a4752b011d52a31b75b0231c9b60
ff2fc1236b16ab1b360c519d3a71094931abc079
/actor-framework-0.15.0a1/examples/master.cpp
b7922e0f637e17c5aa9655566551a0f8417d89b3
[ "BSL-1.0" ]
permissive
yxd886/http_decoder
56800bd75f9a474ba832e583c8a3e433ffce918e
b9b5450232112069d20098dcfa58a885a99d061e
refs/heads/master
2021-01-09T20:20:05.504361
2016-08-10T09:21:38
2016-08-10T09:21:38
64,052,076
0
0
null
null
null
null
UTF-8
C++
false
false
4,637
cpp
master.cpp
#include <string> #include <iostream> #include <fstream> #include "caf/all.hpp" #include "caf/io/all.hpp" using std::endl; using std::string; #define HEARTBEAT_TIME std::chrono::milliseconds(2000) #define DELAY_TIME std::chrono::milliseconds(6000) #define WORKER_INSTANCES 1 using namespace caf; namespace { using step...
bec1d9d769b742af8ad485f1678834c5ea7147c7
4cd121857657ded54df0f7e49284b288987f6ad2
/wk2/E.cpp
4ad2265801f206b1b7f15a13685a596dca4a2aba
[]
no_license
1998factorial/CodeForce_UNSW
72323f044fc626c93508604461d8f018e0acd722
7dc8248dc93d52b5eb3a87fdeaea1537901627d6
refs/heads/master
2020-05-07T14:06:50.281022
2019-04-10T13:27:48
2019-04-10T13:27:48
180,578,893
0
0
null
null
null
null
UTF-8
C++
false
false
573
cpp
E.cpp
#include <cstdio> #include <iostream> #include <sstream> #include <cstring> #include <algorithm> #include <vector> #include <stack> #include <queue> #include <set> #include <map> #include <complex> using namespace std; int n,k; int s[100001]; int main(){ cin >> n, cin >> k; for(int i = 0; i < n; i++)cin >> s[i]; i...
a45fb897c83543ceacac7e2f98af1a1ea4ac6036
819cd54e5628a2abc62a7580e171fbb9b2d23e91
/HAL東京_ゲーム制作学科_池田達哉/ソースコード/EStructure.h
6e2c2f5629b0be94410b6d6a65f72a4fe735e19c
[]
no_license
ikedatatsuya0802/ikeda
93541950786b943ed8e261f30c0b7693adea617d
182613e0c7c72604e48638c9d167b533c979f27d
refs/heads/master
2020-03-28T09:33:16.297294
2017-06-02T05:28:58
2017-06-02T05:28:58
73,037,579
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
2,683
h
EStructure.h
#ifndef _ESTRUCTURE_H_ #define _ESTRUCTURE_H_ //============================================================================= // // タイトル ヘッダファイル // ファイル名 EStructure.h // 作成者 AT13A284_07 池田達哉 // 作成日 2016/06/29 // //============================================================================= #include "scene3DDX.h" #in...
d5cbb0dcc6caeed053ca5fb7aace73d70e91d8e0
9a37f3c3646be74e5ac53b76c076860cf1d7f800
/FPS/Source/FPS/FPSPlayer.cpp
85bb97785f42f595c869bf0c0051b3709753a1f7
[]
no_license
TomColdenhoff/FPS
a529f63caff3c65c35e9e54c218db106305795d4
a7c54a243b7d870d0055cc7a201d75e553d43f03
refs/heads/master
2020-03-16T22:32:30.892964
2018-07-01T19:27:59
2018-07-01T19:27:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,244
cpp
FPSPlayer.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "FPSPlayer.h" #include "Runtime/Engine/Classes/Engine/Engine.h" #include "Runtime/Engine/Classes/Components/SceneComponent.h" #include "Runtime/Engine//Classes/Components/SkeletalMeshComponent.h" #include "BaseWeapon.h" #include "S...
6150c489514dc800b338b529ada79949021fcee7
88601d8bd944e876a61468f5e7e4bb896dc0ce65
/Modules/Rendering/vaGBuffer.cpp
ecbf04d4c244d3250f648afa5f1962e0368c3891
[ "MIT" ]
permissive
KakCAT/ASSAO
493609eddc2d572762057c477911643caa140c0c
06881a1632576468b9816d3d28aa06b49a06afa8
refs/heads/master
2022-10-16T06:30:20.717443
2020-06-13T21:50:01
2020-06-13T21:50:01
272,085,924
0
0
MIT
2020-06-13T21:07:30
2020-06-13T21:07:29
null
UTF-8
C++
false
false
2,903
cpp
vaGBuffer.cpp
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016, Intel Corporation // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to de...
566d812eaeac1046a74c4ce45671768508c9ac32
7a53bd3e79bc079cc2fb9a9d665a6411d2bc04e7
/include/Activia/ActSTFissSpallation.hh
a99112efa51326ebe8f03057c4c35b1aa4753b69
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
UniversityofWarwick/ACTIVIA
4365db2b65f8fc727a5f7fc70dbd1ecdbd96f854
20e20c01b78287d2dda65b6d2af1ab9aa0b4e3ed
refs/heads/master
2022-08-28T04:56:07.659619
2022-08-16T16:42:47
2022-08-16T16:42:47
26,321,638
1
1
null
null
null
null
UTF-8
C++
false
false
816
hh
ActSTFissSpallation.hh
#ifndef ACT_ST_FISS_SPALLATION_HH #define ACT_ST_FISS_SPALLATION_HH #include "Activia/ActAbsXSecModel.hh" #include <string> class ActNucleiData; class ActSTSigUpdates; /// \brief Calculate the fission & spallation of nuclei using Silberberg-Tsao formulae /// /// This class calculates the cross-section for region "FS...
f1b3ef0a8420cbca5cdb79e53b23cd022cb4dd01
5cceb6fa829de1c30bbc04e159a0efec7638796f
/052-构建乘积数组/052-multiply.cpp
d0bd5f42611b67d36c14d458f49f0eff76e32757
[]
no_license
Yiif4n/CodingInterviews
461c5da494faa36be561f582fd46af6975eb6fc5
652f1179b37778c3a4dc200884bab20f84af5962
refs/heads/master
2020-07-24T07:50:48.263427
2020-04-06T16:59:53
2020-04-06T16:59:53
207,853,417
1
0
null
null
null
null
UTF-8
C++
false
false
343
cpp
052-multiply.cpp
class Solution { public: vector<int> multiply(const vector<int>& A) { vector<int> ans(A.size(),1); for(int i=1;i<A.size();i++){ ans[i]=ans[i-1]*A[i-1]; } int temp=1; for(int i=A.size()-1;i>=0;i--){ ans[i]*=temp; temp*=A[i]; } ...
02c20c280294e9a161b19b26cfbcbdcecd92b501
d2d9ad5bf535d734386429913bad8538317c7996
/AdvancedCPP/TypeDefDemo/TypeDefDemo.cpp
cdf415bf15a05dd971ad9b655f93887c63c4682f
[]
no_license
jaswanthsurya/ncr-work
56f9ddf3535c89228d8a31190d4dcd4fbf472d22
606bd1ff07df8d1419aa7e0e43652f2cee8e76e3
refs/heads/master
2020-04-20T01:45:19.416655
2019-03-26T15:05:17
2019-03-26T15:05:17
168,553,651
3
1
null
null
null
null
UTF-8
C++
false
false
815
cpp
TypeDefDemo.cpp
#include<iostream> using namespace std; typedef int Myint; typedef float Myfloat; typedef double Mydouble; int main() { Myfloat typedfloat=0.0; Myint typedint=0; Mydouble typeddouble=0.00; cout << "enter double value :"; cin >> typeddouble; while (cin.fail())//taking input until correct value is entered { ci...
282c854f86c5eb16ce050875c44bace572d2d6b1
cf292f7546522cf86e26550973cfa7bb5b5b606f
/src/LenOS/Graphic/text.h
85c4e6661b5a6e36a602567146eccbbcdaf3b6ef
[]
no_license
lenfien/LenOS
5230c35b524a33be76035b0a87c0e90cf0f33270
b91f7bb6ed95d9e1087dc4174fc2d6bbb7e8b99f
refs/heads/master
2021-01-10T08:40:03.445763
2016-03-02T01:52:45
2016-03-02T01:52:45
52,893,123
0
0
null
null
null
null
UTF-8
C++
false
false
570
h
text.h
#ifndef __WIDGET_TEXT__ #define __WIDGET_TEXT__ #include "GUI.h" class Text: public Widget { private: String text; public: Color::ColorValue frontColor; Color::ColorValue backColor; Text(String text, U16 _sizeX = 100, U16 _sizeY = 20, Point _leftTop = Point(0, 0)): Widget(_sizeX...
cafb9990f6a57a021131dc6def02eee18ff7ad92
313e951172462a725f5bd6cb3e0552fd49893b16
/main2.cpp
a834937f731224c7445a50671241a0e8e645c6b2
[ "MIT" ]
permissive
JeffersonCarvalh0/tcc
eeeca046e08a1ebc66f0001cfeae983ba7f62fb3
28de764e875adf2e36f32e45f135a7a325751402
refs/heads/master
2020-04-02T10:25:37.455839
2019-07-09T22:10:16
2019-07-09T22:10:16
154,339,163
1
0
null
2019-07-09T22:10:17
2018-10-23T14:07:46
C++
UTF-8
C++
false
false
1,753
cpp
main2.cpp
# include "genetic2.hpp" # include "json.hpp" # include <iostream> # include <vector> # include <string> # include <fstream> using namespace std; void toJson(GA2 &ga2) { fstream file; file.open("output.txt", fstream::out); for (int i = 0; i < 5; ++i) { file << "Solution " << i + 1 << "(fitness " ...
434d802e49d1d9ea87c76c519a2dd238f4d75e94
c8741845440cbdd72deac66a6fe6d1310f221eb7
/ModifiedMultipleInheritance2.cpp
652fff64c830959ad892ac9d3b6c273c7b7134c4
[]
no_license
janeodum/OOP-concept-with-c-
7215996a4b21c20a65426723a6a549d99a28e084
48ced4775b63491146a59723cfa1d61c868ad5e4
refs/heads/master
2021-08-31T19:00:53.281770
2017-12-22T13:20:19
2017-12-22T13:20:19
115,116,439
0
0
null
null
null
null
UTF-8
C++
false
false
3,104
cpp
ModifiedMultipleInheritance2.cpp
# include <iostream> # include <string> # include <stdlib.h> using namespace std; class Publisher { string PubName, PubPlace; friend class Book; // Friendship between base class and derived class public: void SetDetails() { cout<<"Enter Publisher's Name"<<endl; getline(cin,PubNa...
dd08742a7b2e97e89c6645305413609305c79229
e3c73495ff37fc74731ae27331d906d3a0d7bcac
/Guide 5/Employee/EmployeeTest.cpp
d64f16696fd4080f5acbc8bf3cd36b151da1ed28
[]
no_license
rwcosta/CPP-Learning
2b1ac037b5f083bdffc92f6aaf97d2c4ac3f39e0
2512903e81ecdc71fbdaaa81100d142a79469142
refs/heads/master
2021-09-26T20:14:59.287124
2018-11-02T01:10:54
2018-11-02T01:10:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,283
cpp
EmployeeTest.cpp
#include <iostream> #include <iomanip> #include "Employee.h" float anualSalary(float); float doMath(float); int main() { Employee employee_1("Any", "Body", 6550.99); Employee employee_2("Some", "One", 6000.0); cout << endl << employee_1.toString() << endl << endl; cout << employee_2.toString() <<...
dc24dbae2ff7ce4d0827ecf83bf3cbd3b48ce22c
0bbcf206ddcf992316963a65cc33f7019c67a4c6
/Hello/include/HelloTwoo.h
d703abbb3fc0bae99e7ffa1484ddf75962890257
[]
no_license
jacksoncjones/Assembler
5e79b485cbea7b89d0aa305f8422198311deac2b
30447c92abb33652272521cf20a52d1604de7d8a
refs/heads/master
2020-12-19T07:06:26.809132
2020-05-01T18:40:26
2020-05-01T18:40:26
235,658,123
0
0
null
null
null
null
UTF-8
C++
false
false
179
h
HelloTwoo.h
#ifndef HELLOTWOO_H #define HELLOTWOO_H class HelloTwoo { public: HelloTwoo(); virtual ~HelloTwoo(); protected: private: }; #endif // HELLOTWOO_H
8b05cc0501e9b88d891293e791495b8079e37df9
859f642ea5f5304c482fd2c12cbc294570a231c8
/Core/Character/Character.h
c374e6114673a5e0d1f7c13b443c0eeecd6e24ab
[]
no_license
bluedio0927/AnimeFight
80cc08bdfd4f2884fe40a21ca48283842e5affb7
d74b773896b6d8ec216a7d1644bea9be3f970581
refs/heads/master
2021-01-12T14:59:29.130930
2016-10-22T14:49:19
2016-10-22T14:49:19
69,781,152
0
1
null
2016-10-15T10:58:20
2016-10-02T05:40:27
C++
BIG5
C++
false
false
4,089
h
Character.h
#pragma once #include "../Item/Item.h" #include "CharacterDefine.h" #include "../Card/CardZone.h" #include "../Card/CardStack.h" namespace AnimeFight { namespace CharacterItem { class BasicCharacterItem:public Item { public: BasicCharacterItem(CharacterType In_eCtype, CharacterRace In_eRace, CardItem::...
6b6df68e9a772e29fef5979d647d5a59ca030580
89e8fff78ca6ff0ac56cb7958d9d093159038367
/CreativeEngine/DebugShapes.cpp
117ea331b90becd572fdbb4774843698dfd3d417
[]
no_license
WhipCream4K/CreativeEngine
ae79c84cdc45b4edb9091b5b92133b09756811e1
e154d63545720f692bad96fd61200a41d63d98b6
refs/heads/master
2022-12-11T23:22:53.647022
2020-08-25T09:27:24
2020-08-25T09:27:24
258,779,855
0
0
null
null
null
null
UTF-8
C++
false
false
195
cpp
DebugShapes.cpp
#include "pch.h" #include "DebugShapes.h" dae::DebugShapes::DebugShapes(const SDL_Color& color, float depth, bool isFilled) : m_Color{ color } , m_Depth{ depth } , m_IsFilled{ isFilled } { }
7fada657c59be8c70e927bedadc93a6752cdd1ef
a9a2cb86be107dbf8ab4263e8fc1c068254eb40b
/ReferenceDesign/SampleQTHMI/HMIFrameWork/App.cpp
408394943764203e507c8b263f16df8d4458cd8d
[ "BSD-3-Clause" ]
permissive
APCVSRepo/HMI_SDK_LIB
abbcfc2936df49834c2b6f35bde7395d23a782f3
115d2e4652b932e8fa88cb5f30cb914228589625
refs/heads/master
2021-01-01T18:39:16.368929
2018-12-24T05:28:50
2018-12-24T05:28:50
98,393,136
9
12
BSD-3-Clause
2018-12-26T07:06:56
2017-07-26T07:28:05
C++
UTF-8
C++
false
false
4,689
cpp
App.cpp
#include "App.h" #include <QWidget> #include "log_interface.h" App::App() :m_state(AppStatus_Inactive) ,m_pMain(NULL) ,m_pCurView(NULL) { m_pAppView.clear(); m_pAppViewStack.clear(); } void App::setAppType(eAppType type) { m_appType = type; } void App::setAppId(string id) { m_appId = id; }...
3417fe10a4b56a67baa1a17178bb7a74b88f19f8
0562cf42a0680a32fd3a6a3e272f30c12a494b89
/scimake/trycompile/shared_ptr.cxx
161425479bf0b4f1851889b6b66e3736694ca808
[]
no_license
ammarhakim/gkeyll1
70131876e4a68851a548e4d45e225498911eb2b6
59da9591106207e22787d72b9c2f3e7fbdc1a7e4
refs/heads/master
2020-09-08T05:23:47.974889
2019-02-06T18:09:18
2019-02-06T18:09:18
221,027,635
0
0
null
null
null
null
UTF-8
C++
false
false
185
cxx
shared_ptr.cxx
// $Id: shared_ptr.cxx 195 2013-02-03 18:18:39Z jrobcary $ #include <sci_shared_ptr> struct S { int i; }; int main(int argc, char** argv) { sci_shared_ptr<S> sptr; return 0; }
42daff137f6220a702d37f3836353d035b3957b3
1954479652ae32959707b15cb59c3ab75e3d3b55
/gui/flash.h
313912a3ea895926972cccf863d3e6ab0a052354
[]
no_license
kubanecxxx/kstlinkGui
08553df8dbc7b4931ee9d853564ddb4c2764dc05
01bd13beb016790d1497b0dcd16896b7ce10fcc6
refs/heads/master
2016-09-05T21:14:48.156122
2014-07-12T11:27:00
2014-07-12T11:27:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
258
h
flash.h
#ifndef FLASH_H #define FLASH_H #include <QWidget> #include "page.h" namespace Ui { class Flash; } class Flash : public Page { Q_OBJECT public: explicit Flash(QWidget *parent = 0); ~Flash(); private: Ui::Flash *ui; }; #endif // FLASH_H
62f87c948c8c3e6f1dd81fe01f1507c0a1bc4cfc
1f5a2c45017d45a837daea81d314b8a60cbc55a8
/C++基础/C++02C++基础/03 namespace命名空间/game1.h
bcb5108ed415d2eef2803b50e31a22ce01c432b1
[]
no_license
robotchaoX/CPP-learning-code
92c815ea32b10517b85d213fe707d1e9488fa003
a4f26f1f7c7ff2d2279cf1de13ad9677bd0ea139
refs/heads/master
2022-12-16T20:33:56.151910
2020-09-14T12:57:42
2020-09-14T12:57:42
211,495,242
0
0
null
null
null
null
UTF-8
C++
false
false
82
h
game1.h
#include <iostream> using namespace std; namespace LOL { void sameNameFunc(); }
0e3e15492678c596476378afac6c04bc7ba244fd
cb44190d597a2b65d59cd7834c0b39b61a3a8775
/algo_ec/main.cpp
c6d1d3f1b15ff902111a5bba547ff60c6826fe0e
[]
no_license
dzhang379-school/misc
21a74ef26f318585ea91b33d6b464c72d87558d7
b51ab3a20e719f98138d279cfeb397b942891cf7
refs/heads/master
2021-10-24T18:57:11.362726
2019-03-27T21:29:11
2019-03-27T21:29:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,896
cpp
main.cpp
// Name: Davis Zhang // Email: davis.zhang@vanderbilt.edu // VUnetid: zhangd6 // Date: 12/07/2017 // Honor statement: I pledge my honor that I have neither given nor received unauthorized aid on this assignment. #include <cstring> #include <iostream> #include <fstream> /** * DEINE GLOBAL VARIABLES */ // Max signed...
09bb1296ab37d9648936654993f9785378239ffd
1ef7f309bf775b45ee69e80b9db0d242184c3bc2
/v3d_main/neuron_annotator/gui/trees/OntologyTreeModel.h
fae310a70d89a72fe3b91e0c0e2b00aa33c1b133
[ "MIT" ]
permissive
Vaa3D/v3d_external
8eebb703b6bc7be5af73597fe0b2972d93e8490f
5405addd44bba9867eaa7037d6e985cc9ed311e7
refs/heads/master
2023-08-17T19:13:40.159258
2022-08-22T13:38:11
2022-08-22T13:38:11
50,527,479
43
48
MIT
2022-10-19T12:29:00
2016-01-27T18:12:19
C++
UTF-8
C++
false
false
551
h
OntologyTreeModel.h
#ifndef ONTOLOGYTREEMODEL_H #define ONTOLOGYTREEMODEL_H #include "EntityTreeModel.h" #include <QHash> class Entity; class Ontology; class EntityTreeItem; class OntologyTreeModel : public EntityTreeModel { Q_OBJECT public: OntologyTreeModel(Ontology *ontology, QObject *parent = 0); QVariant data(const QM...
34fa04a99528d141dee2d14838a074ff47ab7b32
78918391a7809832dc486f68b90455c72e95cdda
/boost_lib/boost/fusion/container/vector/vector_fwd.hpp
779062087ebd8fcf3750ff791f265f4ae107f3ce
[ "BSL-1.0", "MIT" ]
permissive
kyx0r/FA_Patcher
50681e3e8bb04745bba44a71b5fd04e1004c3845
3f539686955249004b4483001a9e49e63c4856ff
refs/heads/master
2022-03-28T10:03:28.419352
2020-01-02T09:16:30
2020-01-02T09:16:30
141,066,396
2
0
null
null
null
null
UTF-8
C++
false
false
1,572
hpp
vector_fwd.hpp
/*============================================================================= Copyright (c) 2014-2015 Kohei Takahashi 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) ========================================...
aad78b767244d957e7103b2d65961b36af61a01d
c8809d9f6738decb8033776d27286724743a2cab
/algorithm/array/histogram.cpp
acd2ec2d9f60379b29eda47b4db891ecfb9a7b53
[]
no_license
lansedefen/research
8e4d46dfb761575418f21c83f2953cb00a9c96e3
3f27007a7cd468d08f6c4c271fc7b09b7ddf2f28
refs/heads/master
2021-07-10T19:40:32.973719
2019-01-19T02:17:52
2019-01-19T02:17:52
115,091,316
0
1
null
null
null
null
UTF-8
C++
false
false
694
cpp
histogram.cpp
#include<string> #include<vector> #include<iostream> using namespace std; int trap(const vector<int> nums) { int max_index = 0; for(int i = 0; i< nums.size(); i++) { if (nums[i] > nums[max_index]) max_index = i; } int water = 0; int peak = 0; for(int i = 0; i< max_index ; i++) { if (nums[i] > peak ) { ...
1de6a6aa959247772e6b264740427e4ac6cee4c7
32b8db47c9335f65aeb39848c928c3b64fc8a52e
/ggame-client-class+lua-20160829/Classes/CCRichLabelTTF.h
0a437c0c75ab0b520536f8eaa100541001f13242
[]
no_license
mengtest/backup-1
763dedbb09d662b0940a2cedffb4b9fd1f7fb35d
d9f34e5bc08fe88485ac82f8e9aa09b994bb0e54
refs/heads/master
2020-05-04T14:29:30.181303
2016-12-13T02:28:23
2016-12-13T02:28:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,152
h
CCRichLabelTTF.h
#ifndef __CCRICHLABELTTF_H__ #define __CCRICHLABELTTF_H__ #include "cocos2d.h" #include "ServerDateManager.h" USING_NS_CC; //string split information struct split_info { int begin_pos; //sub str begin pos int end_pos; //sub str end pos std::string font_name; //font name float font_s...
18233079edb287af578f0ee652f080bb733e2914
3a067ce504ba8fb385d5bb07f9c67195619845d0
/MonitoringSystems/MonitoringSystem_ObjectOperatingSeanDetection/MonitoringSystem/Surf.h
ecdff3d8787c75cb1361a397ac4a0234ac5c660b
[]
no_license
Rits-Interaction-Laboratory/hand-grasp-recollection
d734f7da29818d99a05ac5236e51b94138b14577
0c60ecd17352d39c42ddc94e574905bebd3afde1
refs/heads/main
2023-03-27T16:06:43.390203
2021-03-31T21:42:09
2021-03-31T21:42:09
332,460,037
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
2,694
h
Surf.h
#pragma once #include "bmp.h" #include "Pair.h" #include <iostream> #include <vector> #include <opencv/cv.h> #include <opencv/cxcore.h> #include <opencv/highgui.h> #include <opencv2/highgui/highgui.hpp> #include <opencv2/nonfree/nonfree.hpp> #include <opencv2/legacy/legacy.hpp> //BruteForceMatcheに必要。open...
4e4bd3c3baec9d5026919a3b1c03eca80a5f70d4
7b537fd1906b69e548d02e375855a04041154dac
/include/ra/biquad_filter.hpp
29d5a25cc827700ca2936f1ef88e82093d150c05
[]
no_license
JudeOnyia/cpp-compile_time
377f244f63d50210623ceb6587894b5f95222396
030a254303fbeeefb45640a34e293c09a53f2d27
refs/heads/master
2022-12-16T14:39:41.922912
2020-09-28T03:28:25
2020-09-28T03:28:25
299,169,727
0
0
null
null
null
null
UTF-8
C++
false
false
6,019
hpp
biquad_filter.hpp
#ifndef BiquadFilter #define BiquadFilter #include"ra/cexpr_math.hpp" namespace ra::biquad { // Biquad filter coefficients class. template<class Real> struct biquad_filter_coefs{ // The real number type used to represent the filter coefficients. using real = Real; // Creates a set of filter coefficients wher...
d3ce0e2a615e32c7e0d5d662df2b1b16a91136a6
3a55f629dbb97914c2fa13def437a86e046df9d1
/src/worker.cc
adb24023db11a4c8a7704f6dd9e646936d01c0e0
[ "Unlicense" ]
permissive
codedstructure/brotmap
e238ab7065ef2a5c9a45ef6fb9cdc14f50c703af
d1046a042256a507074ee1ab89c997438ca823c1
refs/heads/master
2021-01-19T06:56:29.375121
2014-04-26T20:40:28
2014-04-26T20:40:28
19,172,722
1
0
null
null
null
null
UTF-8
C++
false
false
1,750
cc
worker.cc
#include "brotmap.h" #include <iostream> #include <stddef.h> #include <pthread.h> extern FLOAT MIN_X, MIN_Y, MAX_X, MAX_Y; extern long inside_points; pinfo* FPTR_START; FLOAT STEP_SIZE; int OLD_MAX_ITER; pthread_mutex_t acc_lock; void* worker_start(void* arg) { int t_num = *reinterpret_cast<int*>(arg); FLOA...
0c2e97724f724f814bd939582a51dda427e98900
078b1c66476b944f8231b931016507331c07513d
/src/common/3Dpoint.hpp
5d0d5d2db89ca6ed5b2d0821c2b50df0d267fd94
[ "BSD-3-Clause" ]
permissive
glemaitre/BSCVDemoCpp1718
8446689e46ae9b90dbf204cbbfcc483cc4f736f2
10005e19b56f87d55f1f7ca32398fe9da16a16eb
refs/heads/master
2021-04-12T04:53:47.367180
2018-03-20T09:06:22
2018-03-20T09:06:22
125,991,984
0
0
null
2018-03-20T09:22:30
2018-03-20T09:22:30
null
UTF-8
C++
false
false
142
hpp
3Dpoint.hpp
#ifndef geometry_H #define geometry_H class Geometry { public: float x; float y; float z; Geometry(float, float, float); }; #endif
1f7d1e4e57639ca4cd45d7ad904a193478bc2956
ec0108e0fd9c6e0a04b0ac8575add06f382582f1
/codeforces/269-codeforces-round-165/C.cpp
385ddbf4c0a83abd7f323b0887f02f63f34ed77b
[]
no_license
robotcator/acm-icpc
b5ac23604c2eb4345275ac76b6d10f9fc1135b69
6d64309c9875418359031fc7fb75e8f6401affd3
refs/heads/master
2021-01-18T07:32:49.086985
2014-07-28T02:32:16
2014-07-28T02:32:16
22,862,729
3
0
null
null
null
null
UTF-8
C++
false
false
1,589
cpp
C.cpp
// Codeforces Round #165 // Problem C -- Flawed Flow #include <cstdio> #include <cstring> #include <climits> #include <queue> #include <algorithm> const int N = 200000; int n, m, edge_count, first_edge[N], to[N << 1], capacity[N << 1], next_edge[N << 1], direction[N]; void add_edge(int u, int v, int w) { to[edge...
70410596d9872b3e92516cdcec160254b365a813
19e8a05e70406b9c27b000f9bcf016ce8834aec9
/vectornormal.cpp
9a15ec5ab59e2bd116fb0439844a9ec77689e92b
[]
no_license
Chevron94/CG-Task3
baa64b2a42a746171aa59b39d17f786dd2bc443d
ae8c51b3146f055fe803b7de7b5b12cc842d093b
refs/heads/master
2020-06-06T02:39:48.128810
2014-11-20T17:48:09
2014-11-20T17:48:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,834
cpp
vectornormal.cpp
#include "vectornormal.h" #include "math.h" CVector3 Cross(CVector3 vVector1, CVector3 vVector2) { CVector3 vNormal; // результирующий вектор // Значение X для векторы вычисляется так: (V1.y * V2.z) - (V1.z * V2.y) vNormal.x = ((vVector1.y * vVector2.z) - (vVector1.z * vVector2.y));...
cb1fd81f1aae02c7df10c352ff0342f1ad94e244
7230a97d4d4540af4ac69bd19fc30848af2a5e1e
/EagleEye/PylonLogging.cpp
3e0fea6bef9e213d9a3aaa5b539a9dbd2f7bec9f
[]
no_license
jnbchen/Eagle_Eye
74548cc72a19568972c2469653e91246f901cea6
abeee87ec6c912b656316fcb511488e0bbc9b026
refs/heads/master
2020-03-22T18:28:21.296521
2018-07-10T17:49:37
2018-07-10T17:49:37
140,462,492
1
0
null
null
null
null
UTF-8
C++
false
false
2,894
cpp
PylonLogging.cpp
#include "../Elementary/KogmoThread.h" #include "../Elementary/PluginFactory.h" #include "../Blackboard/Blackboard.h" #include "../Elementary/Vec.h" #include <vector> #include <iostream> #include <string> #include <sstream> #include <fstream> using namespace std; namespace DerWeg { /** PylonLogging */ class...
ad93cc6cc5541e657a67503aa9806185e122bab7
f69ad365578f053f46ff90ec907d25a841f8c086
/Five_Crowns_2/Five_Crowns_2/Card.h
64ee70805301c2f7150915e94e1edd30f9db9988
[]
no_license
lucasinglis/Five_Crowns
1ed06b72861994be98799fe1c544489ecfdfe8c6
22deb103caad20441af581b923c3ef6da67bbac1
refs/heads/main
2023-06-01T22:00:45.171744
2021-06-19T15:42:47
2021-06-19T15:42:47
378,447,459
0
0
null
null
null
null
UTF-8
C++
false
false
1,152
h
Card.h
#pragma once #include <iostream> #include <string> using namespace std; class Card { public: Card(); Card(string inFace, string inSuit); bool setFace(string inFace); bool setSuit(string inSuit); bool isWildCard(); string getSuit(); string getFace(); void updateWildCard(string inFace); voi...
9c9f0a36ede6555cd110180dc18992f69895c859
5070bc8a36aead6f16d6bc0cf878177de57ca24b
/Arrays/Binary_search.cpp
49d6e4cad32c6af0d27d2f9fb35c15232b22f27a
[]
no_license
miranas11/algos_-_datasStructures
511bc531bc01b89bbcba18fcf276fc9c8c8d9f5f
71813201816b4e43856c1446e0a73af9c6ce0e7d
refs/heads/main
2023-02-12T09:40:18.404256
2021-01-16T16:42:22
2021-01-16T16:42:22
330,098,329
0
0
null
null
null
null
UTF-8
C++
false
false
598
cpp
Binary_search.cpp
#include<iostream> #include<string> #include<cstring> using namespace std; int binary_search(int a[],int n,int key) { int s=0,e=n-1; while(e>=s) { int m=(s+e)/2; if(key==a[m]) { return m; } else if (a[m]>key) { e=m-1; ...
b4206eec0a104907779b5b16494679518d1a941f
c4ae45b63a10adc337d8c9a14be861596aa0fbdb
/Deploy/DARControllerUI/Input/keyinputshiftclass.h
553a7a7505b7c7361c45f6f303951f36c2a30e54
[]
no_license
hajunsong/Controller
706e0b808652dd86b9db0a98f8da24be07a225a6
8a0519463a6a3381f8fa42fa2e2bd69538c5885b
refs/heads/master
2021-06-17T18:29:58.782323
2021-06-01T01:28:06
2021-06-01T01:28:06
205,162,892
0
0
null
null
null
null
UTF-8
C++
false
false
419
h
keyinputshiftclass.h
#ifndef KEYINPUTSHIFTCLASS_H #define KEYINPUTSHIFTCLASS_H #include <QKeyEvent> class KeyinputShiftClass { public: KeyinputShiftClass(void* _ui); void FuncKeyInput(QKeyEvent* keys); void NumberKeyInput(QKeyEvent* keys); void FxKeyInput(QKeyEvent* keys); void AlphabetKeyInput(QKeyEvent* keys); vo...
55c12a03fd13b3729bde6bab2e232067aa359a06
4a3e5419e89dfbd9788a4539740b8ea7321ee7ef
/a/apc.cpp
00caf1077f41997c1f674cc74796efd799efcc28
[]
no_license
tars0x9752/atcoder
d3cbfefeb5164edab72d87f8feb16e1160c231a2
0e54c9a34055e47ae6bb19d4493306e974a50eee
refs/heads/master
2022-11-19T15:36:17.711849
2020-07-19T12:56:31
2020-07-19T12:56:31
182,626,178
0
0
null
null
null
null
UTF-8
C++
false
false
279
cpp
apc.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> P; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); ll x, y; cin >> x >> y; ll ans = x; if(x % y == 0) { ans = -1; } cout << ans << endl; return 0; }
25bfe4ed959b8841f1056c0e1992fb84fe6d512e
297497957c531d81ba286bc91253fbbb78b4d8be
/security/sandbox/chromium/base/macros.h
2a4e658f0107ea492109e62428cf6f09c1827e92
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
C++
false
false
557
h
macros.h
#ifndef BASE_MACROS_H_ #define BASE_MACROS_H_ #define DISALLOW_COPY(TypeName) \ TypeName(const TypeName&) = delete #define DISALLOW_ASSIGN(TypeName) TypeName& operator=(const TypeName&) = delete #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ DISALLOW_COPY(TypeName); \ DISALLOW_ASS...
b9138747fb5843f5308225485e014e1febda6cdf
945a7485fd3581a7f558a35f0bfd24b58443952c
/9/example/32/32.cpp
1b6fa1d4caa434e7c17ada6633a62ab641b37dbf
[]
no_license
pisceslj/Algorithms_DataStructures
b64ec3b17d55eee4ed7666e5048a96e05660d30f
a71e7cd0014314aca0ad6fedb630aa37daa5aa44
refs/heads/master
2020-12-04T07:15:57.306467
2017-06-06T15:50:50
2017-06-06T15:50:50
67,228,197
1
0
null
null
null
null
UTF-8
C++
false
false
957
cpp
32.cpp
#include <stdio.h> #include <string.h> struct Node { Node *lchild; Node *rchild; char c; }Tree[50]; int loc; Node *create(){ Tree[loc].lchild = Tree[loc].rchild = NULL; return &Tree[loc++]; } char str1[30],str2[30]; void postOrder(Node *T){ if(T ->lchild != NULL){ postOrder(T->lchild); } if(T->rchild != ...
f262f9808a0edda49b33b80e5015e4d2d5a0e6c6
8e0c1ff3bbfe583f74da02c22d000f3879bf937e
/Classes/JavaBridge.cpp
0b3c478d03fcc6161d2e84dc11f95baf8c8bbc30
[]
no_license
pubnative/kwizzad-rta-ios-cocos2d-x
6d74c3c80188842f81f8961ca5e8142b0452339f
36ef8180d95bf28f8cad84285edc4a48f255773c
refs/heads/master
2020-11-25T11:56:50.190482
2019-12-18T15:26:49
2019-12-18T15:26:49
228,645,712
0
0
null
null
null
null
UTF-8
C++
false
false
500
cpp
JavaBridge.cpp
// // Created by TVSMILES on 2019-11-05. // #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #include "platform/android/jni/JniHelper.h" #include "HelloWorldScene.h" #include "../../../../Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/jni.h" extern "C" { JNIEXPORT void...
1b2391afde68bb1c9a3c06b3e01d0f6b38e579e6
a1dec9b8941cdefce699d2b0c5c907b7f9f5cce1
/C language/Cprogram/PRIME1-2.CPP
ca74cf1a0a775fda5d3a89ca9b0a3da701d8ff94
[]
no_license
ddarkclay/programming-cookbook
876763762e5922f267259233ddbca71b0d833ddb
1ebe5ab0a1798cef25aeababfa3deb0e6a4b0d10
refs/heads/master
2020-11-24T09:14:08.502636
2019-12-14T18:34:52
2019-12-14T18:34:52
228,066,456
0
3
null
2019-12-15T02:34:29
2019-12-14T18:02:29
Python
UTF-8
C++
false
false
318
cpp
PRIME1-2.CPP
#include<stdio.h> #include<conio.h> void main() { int a,i,cnt=1,check; clrscr(); a = 1; while (cnt <= 30) { for (i=2; i<=a; i++) { if (a%i == 0) break; } if (i == a) { printf ("%d prime number is %d \n",cnt,a); cnt++; } a++; } getch(); }
1e0a4aa82e2cc086a5fea54b41ade53cd517345c
61d3561204f19e23432c0d18ff872475e71327ac
/src/proxyresponse/proxyresponse.h
334d48c70b8a180b52b42c5aa8da5d86b097f3de
[]
no_license
eternalconcert/menial
8e4583f2dbc6ab72009e3ad5794779e35e9675ab
cd61029b00cbf9d6a5c1dbdf9f5513a9e23a5391
refs/heads/master
2023-06-09T07:34:53.173004
2021-06-30T20:32:55
2021-06-30T20:32:55
290,824,362
0
0
null
null
null
null
UTF-8
C++
false
false
1,197
h
proxyresponse.h
#ifndef PROXYRESPONSE_H #define PROXYRESPONSE_H #include <dirent.h> #include <ctime> #include <cstring> #include <regex> #include <stdio.h> #include <sys/stat.h> #include "../config/config.h" #include "../logger/logger.h" #include "../response/response.h" #include "../request/request.h" #include "../common/common.h" #i...
d1cee3c93a1047b7f81bf81c464d58dc02cca644
571ed6f88537960b2d71c9f6ba29d9056218ff09
/src/core/navigation_control/navigation_control.cpp
8bb686cb4fb141f71bf0ee108f3bbe8e98333ee0
[]
no_license
SMP33/jukovsky_ros
4a56efc344b1211098d8b728697ca2e4cef17551
536dc3da66092f4cd19d7b703940debdcb52e448
refs/heads/master
2020-09-08T04:34:18.699762
2019-11-13T13:28:54
2019-11-13T13:28:54
221,017,228
2
0
null
null
null
null
UTF-8
C++
false
false
372
cpp
navigation_control.cpp
#include <iostream> #include "NavigationNode.h" #include <vector> using namespace std; int main(int argc, char *argv[]) { ros::init(argc, argv, "JUK_NAVIGATION_NODE"); vector<string> args(0); for (size_t i = 1; i < argc; i++) { args.push_back(string(argv[i])); } NavigationNode navi...
e5541ea49636a74939753489f27c8b3dfc3aff2b
0272d3d8d350d1e2216f4a87f87ba24e4f244210
/assignment5/src/femLib/Spring.h
56be20145c7560233fc07cd911b21681347edbea
[]
no_license
Evgeny17387/GeometricProcessing
183f9836d0e4653acf4abdc07cdd9ce50158410d
74fa4385fa411cac1a07c437dda2d08c5b698c91
refs/heads/master
2020-07-07T02:40:06.981359
2019-08-19T18:10:59
2019-08-19T18:10:59
203,219,475
0
1
null
null
null
null
UTF-8
C++
false
false
5,688
h
Spring.h
#pragma once #include "Element.h" /** This class implements the interface for an elementary energy unit. As a function of deformed, undeformed, and other parameters, such as boundary conditions, each class that extends this one will define a potential energy. The deformed energy depends on a number of nodes...
7c74b6bb6f9bb8cb7a63df086739fc977db7970e
e35028a3b93d9bbd3783ba9db12eadd0b3f674d6
/examples/load_store_map.cpp
ad5a097e346592977e166e840c8d86825baf73c4
[ "LicenseRef-scancode-other-permissive" ]
permissive
rlsosborne/tool_map_generator
48232277517cd48ce9523e95b6b8e00200f3eb1a
d3bf9c59f35ee385ae6059359659d3e8b640e393
refs/heads/master
2021-01-15T15:05:25.137475
2015-08-12T23:25:04
2015-08-12T23:25:04
16,707,560
0
0
null
null
null
null
UTF-8
C++
false
false
4,350
cpp
load_store_map.cpp
// Copyright (c) 2013, XMOS Ltd., All rights reserved // This software is freely distributable under a derivative of the // University of Illinois/NCSA Open Source License posted in // LICENSE.txt and at <http://github.xcore.com/> #include "map_generator.h" #include <iostream> #include <cassert> using namespace map_g...
125c8886c711ee0f774f2305d9560e27df69c258
cc0e498dc6a2f5dd9309bb2fdf6a9b75c6b57f97
/Submodules/Peano/src/toolboxes/particles/PIDTParticles.h
51539b8dafe57bfc0b7debe5c0c65792fe07e651
[ "BSD-3-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
annereinarz/ExaHyPE-Workshop-Engine
cbae7c7e40ed4184205e6f723c2ac91105d6a210
714a6052a8accace0235fd2483566d7e9cbacb0a
refs/heads/master
2022-02-25T15:56:50.652168
2019-10-17T09:11:30
2019-10-17T09:11:30
198,189,738
2
3
BSD-3-Clause
2019-07-22T11:56:14
2019-07-22T09:20:56
C++
UTF-8
C++
false
false
3,672
h
PIDTParticles.h
// This file is part of the Peano project. For conditions of distribution and // use, please see the copyright notice at www.peano-framework.org #ifndef _PARTICLES_PIDT_PARTICLES_H_ #define _PARTICLES_PIDT_PARTICLES_H_ #include "tarch/la/Vector.h" #include "peano/utils/Globals.h" #include "peano/grid/VertexEnumerato...
fb7cb140d1851ea3f38cd4cff1675b1947bf6646
96f8fb7fb764026ede7e927d8b4768b8b6f44abb
/01_Code/07_C++/C++/day09/zucker.cpp
11a75930cecd4b36fea80c9b9c01c77d32859979
[]
no_license
isongbo/MyCode
a513beaa8f43bc751aab5217314615c728ba771e
eb2330b1dbae9032ba5ad8ccd65b68375219e451
refs/heads/master
2021-01-10T09:48:53.587674
2016-01-15T10:21:04
2016-01-15T10:21:04
49,700,737
2
1
null
null
null
null
UTF-8
C++
false
false
369
cpp
zucker.cpp
#include <iostream> using namespace std; class A { public: A (int data) : m_data (data) {} int m_data; }; class X { public: virtual A foo (void) { return A (100); } }; class Y : public X { public: A foo (void) { return A (200); } }; int main (void) { Y y; X& x = y; cout << x.foo ().m_data << endl; X z = y...
cc0c1929d1b5169560cbb8979fa13c2bb93b0248
4cefd354c14649a477264540ae1766ed3d257264
/ClientSide/ClientLinker.h
a7fec84443546ba5a4bfa6687747f96da82d4157
[]
no_license
tangdi816/AccessServer
7503dca3372d69b6f072bac2a879c16ffcca9c6d
16c640e4d7e9c8b499955dc2173de4e062c6b41a
refs/heads/master
2021-01-20T18:02:27.087822
2016-07-23T18:16:10
2016-07-23T18:16:36
63,790,030
0
0
null
null
null
null
GB18030
C++
false
false
1,571
h
ClientLinker.h
/* **客户端连接类 **负责客户端连接监听,数据收发 **调用WebSocketpp库实现连接 */ #ifndef __CLIENT_LINKER_H__ #define __CLIENT_LINKER_H__ #include <websocketpp/config/asio_no_tls.hpp> #include <websocketpp/server.hpp> #include <boost/smart_ptr.hpp> #include "CommTask.h" class CClientLinker { public: typedef websocketpp::server<websocketpp::con...
9c2bf6fd70b4eb6e0b06ff2c02a223732efc1c30
ddcfeed1def4c63e581ac9c0dcd86185e63929f8
/pa2/pa2.cpp
ff58dfb76437b4351bac8fd673bf724f51bb4b03
[]
no_license
x70KOI/CS211
634db01149a24b431519a6f5d46b4c2986ae6c09
70dbb4bb1426e095be590dd91bdca9d2a93658db
refs/heads/master
2020-07-12T16:02:44.324475
2019-09-12T03:36:54
2019-09-12T03:36:54
204,854,530
0
0
null
null
null
null
UTF-8
C++
false
false
1,167
cpp
pa2.cpp
/* Name: Kristian Buan WSU ID: K292D727 */ #include <iostream> int main() { int inpFirst; int inpSecond; int inpOperation; // Prompting the user for input std::cout << "Enter the first integer: "; // Getting the user input std::cin >> inpFirst; std::cout << "Enter the second integer: "; std::cin >> inpSecon...
df0b258bfe2dbf16418081ebc8495a59bb6e82fc
7c5d7fb6a64df1a118a64bdf6087ecf395a3a722
/data/open-Olive/sources/007299-open-2015-163-Olive.cpp
530a928684c25bea65e115484641a956093ecdf0
[]
no_license
alexhein189/code-plagiarism-detector
e66df71c46cc5043b6825ef76a940b658c0e5015
68d21639d4b37bb2c801befe6f7ce0007d7eccc5
refs/heads/master
2023-03-18T06:02:45.508614
2016-05-04T14:29:57
2016-05-04T14:54:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,044
cpp
007299-open-2015-163-Olive.cpp
#include <iostream> #include <cstdio> #include <cstdlib> #include <vector> #include <bitset> #include <algorithm> #include <string> #include <cassert> #include <queue> using namespace std; typedef long long ll; typedef long double ld; const int INF = (int)2e9; const ll LINF = (ll)8e18; const ld EPS = ...
d2c1f493e8f871b129880d330a158be6ed815a0d
26f9fdff3c246e3a68ff9b0bb4f8f0a9a67bce1c
/dynamic_OWSC (copy)/0.9/U
e717aba2da3b903ffee05dfbbdf43990a0e82b1c
[]
no_license
JBrakefield/My_olaFlow
6c0aaa0dda8d8e69c127281fc9484f3cded258ea
a812362928f2466f4e2632d2636dce97a0a3b9f6
refs/heads/master
2020-04-08T14:00:49.750205
2019-01-10T19:48:55
2019-01-10T19:48:55
159,418,163
0
0
null
null
null
null
UTF-8
C++
false
false
479,249
U
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | ...
45b3b6ba16ee5f96f4742bff636fe2769b7be52e
441ca95d1f228b86385c63546a09a0d7de097a62
/src/RBControl_manager.hpp
e4550d5737c1393f69034344d3e400208484dd29
[ "MIT" ]
permissive
RoboticsBrno/RB3201-RBControl-library
54a0039cf857cf2079d18974e9f3690e400a9984
c814d6dc1194e0198ba206ad206383e501b32c68
refs/heads/master
2021-06-18T02:35:27.827240
2021-02-06T13:33:27
2021-02-06T13:33:27
139,850,019
80
2
MIT
2019-07-10T09:08:17
2018-07-05T12:59:49
C++
UTF-8
C++
false
false
6,826
hpp
RBControl_manager.hpp
#pragma once #include <freertos/FreeRTOS.h> #include <freertos/queue.h> #include <functional> #include <list> #include <memory> #include <mutex> #include <vector> #include "Adafruit_MCP23017.h" #include "RBControl_battery.hpp" #include "RBControl_encoder.hpp" #include "RBControl_leds.hpp" #include "RBControl_motor.hp...
45d4afbba52d016ef6a6515cfa6a62c7a4ab5229
9a0310fc491404b0016ee0e09d28cf6d75d850f4
/src/tests/class_tests/smartpeak/source/ApplicationProcessor_test.cpp
b323a80a440c6f833844ffc09aad4de6f2cabdc7
[ "MIT" ]
permissive
Iamsobad1990/SmartPeak
85479df8d08ab7f444e6570004b0abb12ec5283a
6ff9da83d24d61ece9f6057319caa5ad469b1964
refs/heads/master
2023-09-03T22:03:24.715170
2020-09-02T07:58:58
2020-09-02T07:58:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,581
cpp
ApplicationProcessor_test.cpp
// TODO: Add copyright #include <SmartPeak/test_config.h> #define BOOST_TEST_MODULE ApplicationProcessor test suite #include <boost/test/included/unit_test.hpp> #include <SmartPeak/core/ApplicationProcessor.h> using namespace SmartPeak; using namespace std; BOOST_AUTO_TEST_SUITE(applicationprocessor) BOOST_AUTO_TE...
f1afdb03f489b1e682cd84b4f09bdf1975003119
615bd336a8026dc73c7b48f885dbae32f3799ec9
/codeforces/1051/B.cpp
eb7bd8aa6dc7c77706770946edb45ee56df08d6a
[]
no_license
yash-gupta2000/CP_Codeforces
82c842a8775229a1ab6da027f8b2471bbfc849f9
c22b8ebe57f705c239a075def7a479192213c266
refs/heads/master
2023-02-09T02:04:42.817749
2018-12-14T05:50:00
2020-12-21T07:49:38
323,261,076
0
0
null
null
null
null
UTF-8
C++
false
false
379
cpp
B.cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; int main() { ll l,r; cin>>l>>r; ll prs = (r-l+1)/2; int k=0; // if((r-l+1)&1) // { // cout<<"NO"<<endl; // return 0; // } cout<<"YES"<<endl; for(int i=0;i<prs;i++) { cout<<l+...