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
0b6ca5bf33529e8b5cad6a85ffda17d285289cad
74a0bd5552e2ffc94162ea9a2ffba3b46120d60d
/Mega_project_list/05_Text/07_Text_Editor/_18_Text_EditorApp.cpp
32f2e1eb85c5b34a0006e20540ebb3790be3f7df
[]
no_license
dmytrofrolov/Cpp
9103f5979e710061d8bf03465fc87b7fc3ff7bc9
a216cadd3903c1e73381bf6d12a394af472cfc93
refs/heads/master
2016-09-09T22:08:01.471867
2015-05-04T19:06:49
2015-05-04T19:06:49
25,148,597
0
1
null
null
null
null
UTF-8
C++
false
false
944
cpp
_18_Text_EditorApp.cpp
/*************************************************************** * Name: _18_Text_EditorApp.cpp * Purpose: Code for Application Class * Author: Dmytro Frolov (dimaf@i.ua) * Created: 2015-01-11 **************************************************************/ #ifdef WX_PRECOMP #include "wx_pch.h" #endif ...
79f2dae7bbbcaeed259f660a56cf74a334d2354f
498f5629f15083ac5dbbb3ba73f90bf59067f2e5
/codeforces/test.cpp
d6245c4b10b947fe92d5b20c81199b6b7e372b52
[]
no_license
priyanshuN/Algorithms
b3103722fd6657d6507d72d73ba80b35e3a196dd
22559ffc50939256f2324afd313d4a32bb63f6ac
refs/heads/master
2022-01-31T06:17:52.577691
2022-01-08T14:33:56
2022-01-08T14:33:56
244,685,281
1
0
null
2022-01-08T14:33:57
2020-03-03T16:24:45
C++
UTF-8
C++
false
false
540
cpp
test.cpp
#include<bits/stdc++.h> using namespace std; int main(){ #ifndef ONLINE_JUDGE // for getting input from input.txt freopen("G:/codes/Result/input.txt", "r", stdin); // for writing output to output.txt freopen("G:/codes/Result/output.txt", "w", stdout); // for writing error to error.txt freopen("...
4f1a09facf9b9bb587a722a0e35e7d614aef6b64
d1a639c3555bcefcf0f876792cdcd0e2f9713519
/PacMan/ghost.cpp
07d5df6960931daed0dc3851a0b6f440f9e0cf58
[]
no_license
Seshelle/PacMan
201fda911188c56f8e85e5577ad759d24da480e1
da58a1bc4f38ecca2867d39651cafbc2f7bbe13e
refs/heads/master
2021-01-22T20:35:25.615786
2015-07-31T22:56:23
2015-07-31T22:56:23
40,027,995
0
0
null
null
null
null
UTF-8
C++
false
false
4,008
cpp
ghost.cpp
#include <SFML/Graphics.hpp> #include "ghost.h" Ghost::Ghost(char which, double x, double y, sf::Sprite spr){ dotCounter = 0; name = which; sprite = spr; speed = 0.019; setMode('h'); if (name == 'b'){ sprite.setTextureRect(sf::IntRect(228, 64, 16, 16)); } else if (name == 'p'){ sprite.setTextureRect(sf::In...
6b9cd265bbe49c2efd8372e3faed85d383421210
76511d5894d205bf6d1af8451036a0c4c4b3f053
/BarayugaRaphael_CSC5_42829/Ternary_1/main.cpp
f6eeb476b63d966fd695fc78c0ec4e7153eab22c
[]
no_license
Rbarayuga/BarayugaRaphael_CSC5_42829
b1c3abeb75b34fbb2834ec892dfa2de5acad5a55
c9c26ba3ccfee9123bc3445f184cf835425559eb
refs/heads/master
2021-01-18T21:47:40.026143
2016-06-06T14:48:34
2016-06-06T14:48:34
52,335,888
0
0
null
null
null
null
UTF-8
C++
false
false
1,301
cpp
main.cpp
/* * File: main.cpp * Author: Raphael M.B. Barayuga * Purpose:Lab * Created on March 14, 2016, 9:52 AM */ //System Libraries #include <iostream> using namespace std; /* //Global Constants //User Libraries */ int main(int argc, char** argv) { bool x=true; bool y=true; // ! = not // ...
3a248a0ee27f4a7994475fe1284f668c352e3b25
de8525032ab89b4f7d5e6ad8b4db396d02cff421
/cpp(还没清理)/P1276 校门外的树(增强版).cpp
e3271a183301cf279be22dafda7a1ef332414957
[]
no_license
1753262762/CPP
a99c0a714f707dd9e87ebdb8f6242cef2d878d30
fa1505ac30027006114aa54e4b49226e035f7ca0
refs/heads/master
2020-06-04T21:10:56.605120
2019-06-16T13:53:37
2019-06-16T13:53:37
192,193,445
1
0
null
null
null
null
UTF-8
C++
false
false
537
cpp
P1276 校门外的树(增强版).cpp
#include<bits/stdc++.h> using namespace std; int tree[10005],l,n,cnt,ans; int main() { cin>>l>>n; memset(tree, 1, sizeof(tree)); while (n--) { bool sf; int c,d; cin>>sf>>c>>d; if (!sf) { for (int i=c; i<=d; i++) { if (tree[i] == 2) { ++cnt; } tree[i] = 0; } } else { ...
f292aba029f9dc9ac3f771636a9ddd70d644a4fc
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/httpd/gumtree/httpd_patch_hunk_1904.cpp
0e32cf18fc02651ea965bb0f1939010230e63093
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,269
cpp
httpd_patch_hunk_1904.cpp
return NULL; } static const char *set_max_clients (cmd_parms *cmd, void *dummy, const char *arg) { - int max_clients; const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); if (err != NULL) { return err; } - /* It is ok to use ap_threads...
3cea18ddd90b0ced018a6f8663b7d91bd3c3fc39
37ac89cff929d932c732066d7333b3597a11b86e
/Classes/MoriorGames/Vendor/Config/StaticBushConfig.cpp
8822916902220a7f5579eb51a206b1b9ec5a9d8e
[]
no_license
moriorgames/bfai
bb6b81cd398559c98feb642fba0aad8025273535
ad7737285cc4b15d3ce9aa2b31afc196476b8163
refs/heads/master
2018-10-22T19:10:21.392915
2018-07-30T16:54:26
2018-07-30T16:54:26
120,993,649
2
0
null
2018-05-24T04:54:14
2018-02-10T07:11:47
C++
UTF-8
C++
false
false
306
cpp
StaticBushConfig.cpp
#include "StaticBushConfig.h" std::vector<std::pair<short, short>> StaticBushConfig::get() { return { {8, 3}, {-8, 3}, {8, -3}, {-8, -3}, {-4, 3}, {-3, 3}, {-2, 3}, {-1, 3}, {0, 3}, {1, 3}, {2, 3}, {4, -3}, {3, -3}, {2, -3}, {1, -3}, {0, -3}, {-1, -3}, {-2, -3}, }; }
c2c5255fe70f8a9d6a9c32f49333c20446439c97
0978677c499f42452ae8a4b9bfc959a20bd12083
/leetcode/l00101.cpp
fb3f77fbfcd839478dc9e9b109d192d319941ec7
[]
no_license
ZeroNerodaHero/exercise
7ee9ae1f20d83dd1cedcaf6355bbb9702fc9086b
d1a49ecbcd1de4976a700053329c76359383a10d
refs/heads/main
2023-07-09T16:29:04.045827
2021-08-15T21:10:48
2021-08-15T21:10:48
363,310,234
0
0
null
null
null
null
UTF-8
C++
false
false
890
cpp
l00101.cpp
class Solution { public: bool dfs(string& s, int n, string& p, int m){ if(dp[n][m] >= 0){ return dp[n][m]; } bool ret = 0; if(p[m-1] == '*'){ ret = dfs(s,n,p,m-2); if(!ret && (p[m-2] == s[n-1] || p[m-2] == '.')){ ret = dfs(...
1fbefbfd8ec479cff0697f4dcde0c7d4520859f8
fd76642e994966799473b4cd36694312b103f369
/Customer_service/test_banking.cpp
5bb20377855a95288e6502b1ad68e2c052358ee5
[]
no_license
alexshvedov1997/Customer_service
24b431306af0b56974ead420cbba68df2e204e55
f52b7dd505f22da3312801339ee023798bbc2e04
refs/heads/master
2021-05-23T13:49:02.775345
2020-04-05T20:00:23
2020-04-05T20:00:23
253,320,562
0
0
null
null
null
null
UTF-8
C++
false
false
1,637
cpp
test_banking.cpp
#include<iostream> #include<cstdlib> #include<ctime> #include"queue.h" const int MIN_PER_HR = 60; bool newcustomer(double x); using namespace std; int main(){ srand(time(0)); cout<<"Case study: banking autamstic"<<endl; cout<<"Enter the number"; int qs; cin>>qs; Queue line(qs); cout<<"Enter the number of simu...
61bb7aeb3439e4aafac56e1f03f0d1ad24abfe0c
1444f2455c568216550cad3ec0ff63e61c43225e
/belt_task/include/task_robot.h
b53dc0e303a361924c98f565164c4070afb86c03
[]
no_license
RobotEmperor/SDU-Control-Task-ROS
7b7ebe6a81310a44105ee2811ce8193a9aeccebd
13d34669f9a6a692abb98b1b227c1fcd6a716296
refs/heads/master
2023-08-16T11:40:20.234383
2021-01-21T12:30:12
2021-01-21T12:30:12
291,659,443
0
0
null
null
null
null
UTF-8
C++
false
false
7,873
h
task_robot.h
/* * task_robot.h * * Created on: Aug 19, 2020 * Author: yik */ #ifndef SDU_CONTROL_TASK_ROS_BELT_TASK_INCLUDE_TASK_ROBOT_H_ #define SDU_CONTROL_TASK_ROS_BELT_TASK_INCLUDE_TASK_ROBOT_H_ //#define WC_FILE "/home/yik/sdu_ws/SDU-Control-Tasks/belt_task/config/wc/UR10e_2018/UR10e.xml" #include <Eigen/Dense> #i...
2f19496abac854ff41fb9b56b4e46b9ec9686963
4ad88bb75796c61c5096f59261df01484a505e2a
/data.cpp
9f5a7460407c92158f5f83657c678d3460f71e28
[]
no_license
xingchen1968/dailyemail
90b67f698f212404cf358aaacb7d63a287a7e107
7d773d0e2ad99de19d917e298f3d1674ce348e8f
refs/heads/master
2023-04-10T21:15:36.229128
2020-08-04T15:22:21
2020-08-04T15:22:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,869
cpp
data.cpp
#include <bits/stdc++.h> using namespace std; map<string, set<string>> pre, cur; #define old_file "old.md" #define new_file "new.md" #define result_file "result.html" string getname(string str) { stringstream ss; string title, name; ss << str; ss >> title >> name; return name; } void parser(char *pa...
4c84ca0f6cffc8d8a4431ad7f994c54ef151d970
b93d253b0fd1229597518cbfa62f0900b5689b24
/test/ev/node_potential_test.cpp
3e3bdebf712a55468582cd5dab8f643d669bfb8f
[ "BSD-2-Clause" ]
permissive
praveenmunagapati/charge
3e95e58e13dc16d998cf59bd7b58fcf7cd86ef1c
85e35f7a6c8b8c161ecd851124d1363d5a450573
refs/heads/master
2020-04-13T16:39:17.330291
2017-12-26T14:51:24
2017-12-26T14:51:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,510
cpp
node_potential_test.cpp
#include "ev/node_potentials.hpp" #include "ev/graph_transform.hpp" #include "common/graph_transform.hpp" #include <catch.hpp> using namespace charge; using namespace charge::ev; TEST_CASE("Check omega potential", "[omega potential]") { // Path from 0 to 3 is the fastest but not // if you include the chargin...
08312ee387b169faa9e80d84c75f219191504f0c
65ecf082f5580d7ccf9aa0be5cd8cb1541083bb1
/Listas-master/Lista 4/questão 20.cpp
e0bfc7e03ae0dedcbda82ae86572d193b9bcb890
[]
no_license
weslleydcs/C
59d20035dcb50bd9f47ba6b871e4c8f465b40310
663cca56e1aaa603dc932752e4f64266d5cb605d
refs/heads/master
2021-01-11T12:06:35.343490
2019-02-11T07:42:28
2019-02-11T07:42:28
76,559,114
3
1
null
null
null
null
UTF-8
C++
false
false
178
cpp
questão 20.cpp
#include <stdio.h> int main() { char str[255]; printf("Digite uma String[Maximo de 255 caracteres]:\n"); gets(str); printf("\n\nVoce digitou: \n%s", str); return 0; }
d2de2526f0d5fbce64cf15ced3e729925601ecdf
1ae40287c5705f341886bbb5cc9e9e9cfba073f7
/Osmium/SDK/FN_Feedback_classes.hpp
e830dcec8aeceee5c9ec83297576862bb86ddb7d
[]
no_license
NeoniteDev/Osmium
183094adee1e8fdb0d6cbf86be8f98c3e18ce7c0
aec854e60beca3c6804f18f21b6a0a0549e8fbf6
refs/heads/master
2023-07-05T16:40:30.662392
2023-06-28T23:17:42
2023-06-28T23:17:42
340,056,499
14
8
null
null
null
null
UTF-8
C++
false
false
16,105
hpp
FN_Feedback_classes.hpp
#pragma once // Fortnite (4.5-CL-4159770) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // WidgetBlueprintGeneratedClass Feedbac...
8e1c32cd1ab7014ed6018dd786257bc5ce156f27
f3637e1f4cdc2757ad0097a63d2643dd1acf9f66
/src/GetData.cpp
4b0e82f4012c434f782739f24f5d2ae970c43958
[]
no_license
zj611/ekf
df6f6be41191961c442457a2798f536732d1ae69
8cd0b2b1ca61f1fbb1205731f02383bb6005f8a3
refs/heads/master
2021-01-07T00:34:04.141810
2020-02-19T08:21:00
2020-02-19T08:21:00
241,527,377
0
0
null
null
null
null
UTF-8
C++
false
false
3,096
cpp
GetData.cpp
// // Created by Zhangjun on 2020/2/19. // #include <fstream> #include "GetData.h" void GetData(std::string input_file_name, std::vector<MeasurementPackage> &measurement_pack_list, std::vector<GroundTruthPackage> &groundtruth_pack_list){ // 打开数据,若失败则输出失败信息,返回并终止程序 // Open file. if fa...
df41fa6a7107a8eddbea0c1ded8883de17dd8e50
3ad3d4bd48cac4b24d5425ba2edee320d00472ef
/Event/Event.h
182f25a91aaed1a0dec9c9dc9547509e1c4087d6
[]
no_license
Valkea/Home-Brew-Tools
697b71838c5652d7b80b55e97b74fbbf2cb1c1b7
ec10a9f7270cb4163535f560fd57576a214f051f
refs/heads/master
2021-09-26T20:57:00.398188
2018-11-02T12:39:15
2018-11-02T12:39:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,770
h
Event.h
/*///////////////////////////////////////////////////////////////////////////////////////////////// Auteur : Letremble Emmanuel Date : 13.02.2011 Description : This class should provide a base event class. ///// Class list ////////////////////////////////////////////////////////////////////////////////// -...
245f697b9f3e2cfd0fd1febd5501cd3e1bd852c0
50ce6308a63c7210d7512147e730fff1b2ebc9ad
/ActivationFunctionsLib/src/activationfunction.h
81fe69b0fd58acd57eba2deaec94ff53047e6297
[]
no_license
muyilangjun1/Convnet
cb18557f1c11aeda788d426e4a10a13cb9bb334b
71b06002033856671851bf631963c418482765bb
refs/heads/master
2020-03-26T11:21:23.711294
2018-08-09T14:15:51
2018-08-09T14:15:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,310
h
activationfunction.h
#ifndef _ACTIVATION_FUNCTIONS_H_ #define _ACTIVATION_FUNCTIONS_H_ #include <iostream> #include <math.h> #include <ExceptionHandler.h> using namespace std; using namespace exceptionh; namespace activeF { float ActivationF(float x, float alpha = 1.0, bool derivative = false, int AFindex = 1); float sigmoidFunc(float ...
1423816165139773aaa32bc626b53e2f5e8b73f1
0906dc2dd7f2ce8c4d260b8ddefcf2c566810319
/Difference Finder/Gyte_DifferenceFinder/sourceCodes/RegisterImage.h
e43a3624bdc4576e1724650ddc55d7cd0f289976
[]
no_license
Coker/AOGAS
4e63d8677e1af89985d2d78e270754bc34eeea10
5d2f703236c9c0b2655f0e1a850063d86d7ff3e2
refs/heads/master
2020-05-23T13:49:42.572091
2013-10-04T15:15:09
2013-10-04T15:15:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
816
h
RegisterImage.h
/////////////////////////////////////////////////////////// // RegisterImage.h // Implementation of the Class RegisterImage // Created on: 25-Tem-2013 11:46:57 // Original author: Coker /////////////////////////////////////////////////////////// #if !defined(EA_332DCCD2_6FC9_4757_BF58_C04B54CFF93D__INCLUDED_)...
abe7ced042b505e5defb37335540c5bba4992ce5
51670767ba9db31287a3221d509b6a86e08ffb39
/main.cpp
998abb10f50a27d74a3379845cb6c7d518b40b8c
[]
no_license
AnthonyVildoso/fibonaci
da89a2d4acd19b11fba1544c8038760381808bbd
d8b3d389f1688af8803f6178792a504e34e27899
refs/heads/master
2021-01-19T06:38:38.772347
2017-04-06T21:12:03
2017-04-06T21:12:03
87,474,420
0
0
null
null
null
null
UTF-8
C++
false
false
313
cpp
main.cpp
#include <iostream> using namespace std; int main() { int fn,cont,sum,f; cont=0; sum=1; f=0; cout<<"Fibonacci:"; cin>>fn; cout<<0<<endl; cout<<1<<endl; for(int x=0;x<fn-2;x++){ f=cont+sum; cout<<f<<endl; cont=sum; sum=f; } return 0; }
cab2472fbd20dbd09247adc4239dc5dd9895e22f
e5d0e2c7baa1d5a9bd8a49678bdcc2489e360029
/COciHandle.h
a2835072abee4cde4a6ca7a3769454fe6ef4d84b
[]
no_license
slapware/CatalogThumb
9a52077e8aca1d7f7889ceedaf8e1631c8e988f5
0ec37f2ed90093ed49324c1b340090a74937bf82
refs/heads/master
2021-01-01T16:36:37.831650
2017-09-10T16:18:16
2017-09-10T16:18:16
97,869,753
0
0
null
null
null
null
UTF-8
C++
false
false
1,183
h
COciHandle.h
#pragma once #ifdef WIN32 #pragma warning( disable : 4267 ) // Disable warning messages #endif #ifdef _DEBUG #define _RWCONFIG 15s #else #define _RWCONFIG 12s #endif #include <rw/pointer/RWBodyBase.h> #include <rw/pointer/RWHandleBase.h> #include "COciImp.h" #define _ThisClass CCOciHan...
f6270f9cc806c62917b76492bea1629b1565b6d7
f0698e8e17d8a56777b02819b1bf22427212b939
/esculturas.cpp
7ef27393c26812f24da78a1a76e7b059e93d666e
[]
no_license
Oswal-Fuentes/Examen120172-OswalFuentes
594630f24947f1aa8f59bd50e8881d52a137770c
ff790aa35cab3424d8a550a0a50c3b1b4420847a
refs/heads/master
2021-01-21T15:14:25.710648
2017-05-20T00:12:23
2017-05-20T00:12:23
91,836,221
0
0
null
null
null
null
UTF-8
C++
false
false
650
cpp
esculturas.cpp
#include <string> #include "esculturas.h" #include "obras.h" using namespace std; Esculturas::Esculturas(string id,string nombre,string autor,string artista,string fecha_ingreso, int peso,string material){ this->id=id; this->nombre=nombre; this->autor=autor; this->artista=artista; this->fecha_ingreso=fecha...
26364bba392bb1cfda1693d8218772f1f7f16d48
90454c8f485b87f15650561923882f732c8c5ada
/Plugins/RuntimeGeometryUtils/Source/RuntimeGeometryUtils/Public/DynamicPMCActor.h
44af58be9fc9e4d40b3a54451773efb962119701
[ "MIT" ]
permissive
monizka/UnrealRuntimeToolsFrameworkDemo
758b528529ae4938ca7e9825d1d1a096a925b35a
07aac135dc975c4833ae081a69be9f725412ffa0
refs/heads/main
2023-04-18T05:43:35.603794
2021-04-22T08:52:36
2021-04-22T08:52:36
358,448,113
0
1
MIT
2021-04-16T02:07:53
2021-04-16T02:07:53
null
UTF-8
C++
false
false
786
h
DynamicPMCActor.h
#pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "ProceduralMeshComponent.h" #include "DynamicMeshBaseActor.h" #include "DynamicPMCActor.generated.h" UCLASS() class RUNTIMEGEOMETRYUTILS_API ADynamicPMCActor : public ADynamicMeshBaseActor { GENERATED_BODY() public: // Sets default...
667eccefd8d40cd9f42cdeebd698b9aecefbddfc
ae31542273a142210a1ff30fb76ed9d45d38eba9
/src/backend/gporca/server/include/unittest/dxl/statistics/CJoinCardinalityTest.h
66b425d8816080d18bb6e46f0097228174de407d
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "PostgreSQL", "OpenSSL", "LicenseRef-scancode-stream-benchmark", "ISC", "LicenseRef-scancode-openssl", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-ssleay-windows", "BSD-2-Clause", "Python-2.0" ]
permissive
greenplum-db/gpdb
8334837bceb2d5d51a684500793d11b190117c6a
2c0f8f0fb24a2d7a7da114dc80f5f5a2712fca50
refs/heads/main
2023-08-22T02:03:03.806269
2023-08-21T22:59:53
2023-08-22T01:17:10
44,781,140
6,417
2,082
Apache-2.0
2023-09-14T20:33:42
2015-10-23T00:25:17
C
UTF-8
C++
false
false
3,191
h
CJoinCardinalityTest.h
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2017 VMware, Inc. or its affiliates. // // @filename: // CJoinCardinalityTest.h // // @doc: // Test for join cardinality estimation //-------------------------------------------------------------------...
ddd03f4c958c5a745e643c7c969e79c8fae1bf60
d130998ed6cf84e571e8e076774fadbf87334afe
/Assignment 4 - Expression Tree Operations/StackADT.cpp
1613ba4a021cf9af632ed5aa7edceb5145658195
[]
no_license
saarthdeshpande/Advanced-Data-Structures
d582404d3e071d8f21aac99e4280840d85227d09
52d3b9a0944c7e598c851f3787de03e301461de4
refs/heads/master
2020-12-01T08:41:17.225828
2020-04-08T19:42:24
2020-04-08T19:42:24
230,593,132
0
0
null
null
null
null
UTF-8
C++
false
false
631
cpp
StackADT.cpp
/* * StackADT.cpp * * Created on: 05-Feb-2020 * Author: g9 */ #include "StackADT.h" StackADT::StackADT() { // TODO Auto-generated constructor stub top = NULL; } StackADT::~StackADT() { // TODO Auto-generated destructor stub } bool StackADT::isempty() { if(top == NULL) return 1; return 0; } void S...
07cc24191bd8d5a4ea07575b9e2f8cef16e0a2e5
4f4f85d98f0f2df9cbda343e120181888636bbde
/source/myFuntor.h
d18ca71b665c6fa2f76eedcd35c43b2a541d21bf
[]
no_license
treejames/calculator
1c2a88fe2e95024607e5adf836f427d05ab7c472
07d928978c6737b1e93a8bd1dc6b186e536b2559
refs/heads/master
2017-11-15T13:08:10.086937
2014-05-11T06:41:55
2014-05-11T06:41:55
34,618,366
0
1
null
2015-04-26T15:45:22
2015-04-26T15:45:22
null
UTF-8
C++
false
false
10,299
h
myFuntor.h
#if !defined(AFX_MYFUNTOR_H_INCLUDED_) #define AFX_MYFUNTOR_H_INCLUDED_ #pragma once #include <cmath> #include <vector> #include <functional> using namespace std; #define PI 3.1415926 class operatorAndFunctor { public: operatorAndFunctor(){} virtual ~operatorAndFunctor(){} virtual double operator()(...
e5f55dfba8be68e11e1c6de1d5cd4ce8264b7e24
772bcce89bc039899ce284f12a880e378d58fb00
/Clasa a X-a/Probleme diverse/Diverse/patrate.cpp
942b42eb2ffbe72c1af2595900bba9f90356b35a
[]
no_license
IvanciuVlad/PbInfo
462767533b61544f65111005a26ec739c7b1e81e
3f0ee0763db788e862e9708c7ef3597795252e30
refs/heads/master
2020-05-02T14:33:23.532883
2019-03-27T15:47:15
2019-03-27T15:47:15
178,014,190
1
1
null
null
null
null
UTF-8
C++
false
false
275
cpp
patrate.cpp
#include<iostream> using namespace std; int main() { unsigned long long n, t1, t2, d = 666013; cin >> n; t1 = (n*(n+1))/2; t2 = (n + 1)*(n + 2)/2; if(t1%3 == 0) t1 /= 3; else t2 /= 3; cout << ((t1%d) * (t2%d))%d; return 0; }
03dd15afe8f4684a43cdcbb1515405389a5936b5
c193e9ae2e2f444bdeceeba183a8ffc159dcac02
/include/LDParse/Geom.hpp
c25db20c1b3115056047429acb051f3fded62a22
[]
no_license
elfprince13/LDParse
7aba574661e5a078b0645c9b0395d33f358b01af
877667417d6cab57c04aed9cb3d5bfe7efa0589c
refs/heads/master
2021-07-16T07:22:14.775547
2017-01-13T05:58:35
2017-01-13T05:58:35
60,742,545
2
0
null
null
null
null
UTF-8
C++
false
false
3,358
hpp
Geom.hpp
// // Geom.hpp // LDParse // // Created by Thomas Dickerson on 1/15/16. // Copyright © 2016 StickFigure Graphic Productions. All rights reserved. // #ifndef Geom_hpp #define Geom_hpp #include <stdio.h> #include <tuple> #include <vector> #include <string> #include <map> namespace LDParse{ typedef std::pair<boo...
96bf93cf2518d6117a764687d4a87b16621a8511
b8cacbf61492f7f9deabcb465c3171c245fbbb9d
/AirQualityMonitor/AirQualityMonitor/AirQualityMonitor.cpp
82160278334a54bacf137c57488d039c1618806a
[ "MIT" ]
permissive
gmalara/pms3003-dust-sensor-pc-client
71330c2bc3f73b49cf0817d23a2edd1aea00560e
c48a683a339774b95c42ec2091d7ae3366012345
refs/heads/master
2021-09-14T17:01:57.251333
2018-05-16T09:27:19
2018-05-16T09:27:19
112,312,955
1
0
null
null
null
null
UTF-8
C++
false
false
5,887
cpp
AirQualityMonitor.cpp
#include "AirQualityMonitor.h" #include "libusb.h" #include <iostream> namespace { using namespace std; const auto kEndpointAddress = 1; const int kBuff_length = 24; const uint16_t kExpected_sensor_id = 60000; const uint16_t kFirstByteOfSequence = 0x42; void DescribeDevice(libusb_device_handle* dev_handle, libusb_de...
ee371f8e81359e342cdccef19a6d10183813bb40
2daa2b4a4c61ddbaf0fe7b66cf4bff05bb28461f
/src/common/messages.hpp
ab64ca1d1664848db8b0c9fc72235d944bb2ae86
[]
no_license
yurai007/maze
0662ddfff09effcebb519f415edf5f2278f6d209
9cceca98cfaf9afff647fd2f314d274aef949de8
refs/heads/master
2020-12-29T02:32:14.780469
2017-02-19T17:12:22
2017-02-19T17:12:22
38,566,350
0
0
null
null
null
null
UTF-8
C++
false
false
6,713
hpp
messages.hpp
#ifndef MESSAGES_HPP #define MESSAGES_HPP #include <boost/mpl/vector.hpp> #include <boost/mpl/find.hpp> #include <boost/mpl/size.hpp> #include <boost/mpl/for_each.hpp> #include "byte_buffer.hpp" namespace networking { namespace messages { struct get_chunk; struct get_chunk_response; struct position_changed; struct...
93bd40a224af698a6ce8bd3f349ac6cf70e49d6b
51afb12493dd1001cc2952144b23bd26acf49e63
/CryptoGuard/src/Hashing/HMAC.cpp
ff015e37012821f98d429a43205778d8628b2093
[ "MIT" ]
permissive
GitDaroth/CryptoGuard
7dc806948a7d84d5ffdec6e97ee7812212748563
a53391af3d1a1c6b80cb94734034825f2e1bb452
refs/heads/master
2022-12-23T12:30:52.412032
2020-10-07T18:50:34
2020-10-07T18:50:34
297,121,873
1
0
null
null
null
null
UTF-8
C++
false
false
544
cpp
HMAC.cpp
#include "Hashing/HMAC.h" #include "Hashing/SHA256.h" std::string HMAC::hash(std::string key, std::string message) { if (key.length() > 64) { key = SHA256::hash(key); } if (key.length() < 64) { for (int i = key.length(); i < 64; i++) { key += (char)0x00; } } std::string outerPadKey; for (int i = ...
fd7457196819816d9ef9a3dd8b867e40d3b8e432
e9c38ab5aa68c97090e4e85ccad8b490c9657269
/src_tif/igs_tif_error.cxx
af18a843729184a2d2ac9a0e1174d344e6abb09f
[ "MIT" ]
permissive
emanofu/lib_rw_image
4219e944fff784263394af87f129fc4b1a16dde8
dd1e888691631cbd46b6a510e6c85ee8b5587937
refs/heads/master
2020-04-14T12:30:29.645125
2014-12-25T06:40:01
2014-12-25T06:40:01
28,473,378
0
1
null
null
null
null
EUC-JP
C++
false
false
2,437
cxx
igs_tif_error.cxx
#include <cstring> /* strlen() */ #include <cstdio> /* vsnprintf() */ #include <cstdarg> /* vsnprintf() */ #include "igs_tif_error.h" namespace { size_t copy_char(const char *src, const size_t dest_len, char *dest) { /* dest_lenは終端文字も含む大きさ */ /* 入れる場所に大きさがなければなにもコピーしない */ if (dest_len <= 1) { return 0; } /* コピーす...
56f3a3291b9cc89c69429d05f56073e00f361721
0577a46d8d28e1fd8636893bbdd2b18270bb8eb8
/chromium/base/allocator/partition_allocator/partition_tag.h
36e54b128c40ef38e6d6e6533f134c2c942e4796
[ "BSD-3-Clause" ]
permissive
ric2b/Vivaldi-browser
388a328b4cb838a4c3822357a5529642f86316a5
87244f4ee50062e59667bf8b9ca4d5291b6818d7
refs/heads/master
2022-12-21T04:44:13.804535
2022-12-17T16:30:35
2022-12-17T16:30:35
86,637,416
166
41
BSD-3-Clause
2021-03-31T18:49:30
2017-03-29T23:09:05
null
UTF-8
C++
false
false
5,792
h
partition_tag.h
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_ALLOCATOR_PARTITION_ALLOCATOR_PARTITION_TAG_H_ #define BASE_ALLOCATOR_PARTITION_ALLOCATOR_PARTITION_TAG_H_ // This file defines types and functions for `MTEChecke...
0afa93f3d3f8d78b3a5677b3108309d422142935
4b2a1c790afbd6561e8c3a78bed5b71aec574320
/modules/task_1/kustova_a_max_vector/max_vector.h
c70c40ade10abc8ba339ad6563adc30d48521b7f
[ "BSD-3-Clause" ]
permissive
BoytsovVA/pp_2020_autumn_engineer
3deed88861a8e43950e3280e1f1c51e7c5edfd83
15d4048d49a5a72036ee488920670535a67a513a
refs/heads/master
2023-01-25T04:08:16.855429
2020-11-22T13:53:06
2020-11-22T13:53:06
305,137,409
1
0
BSD-3-Clause
2020-11-22T13:53:07
2020-10-18T15:47:41
null
UTF-8
C++
false
false
383
h
max_vector.h
// Copyright 2020 Kustova Anastasiya #ifndef MODULES_TASK_1_KUSTOVA_A_MAX_VECTOR_MAX_VECTOR_H_ #define MODULES_TASK_1_KUSTOVA_A_MAX_VECTOR_MAX_VECTOR_H_ #include <vector> #include <string> std::vector<int> generateVector(int n); int getParallelMax(std::vector<int> vec, int len); int getLocalMax(std::vector<int> vec);...
bde9b4557653da5e100cc76f444555313fe74563
3f5187228abb77300eb63a6765a9c5acaefd1f2f
/PA 7/Data.h
9b9dfc7d0968a76f349a7e1a601c460359fc5889
[]
no_license
Jospinking/CPT_S-122
e7c14fbf8baaea8ad372a6daf9f2dc9901e3d577
be22ee2ea7d17146a7e5619bf052fc7c7a98065b
refs/heads/main
2023-01-05T13:29:37.147583
2020-11-09T21:46:00
2020-11-09T21:46:00
311,472,271
0
0
null
null
null
null
UTF-8
C++
false
false
603
h
Data.h
#pragma once #include <string> #include "Stack.h" using namespace std; class Data { public: Data(int record_number, long id, string first_name, string last_name, string email, string units, string program, string level ) : record_number(record_number), id(id), first_name(first_name) , last_name(last...
2250c1d18231a42c67e3c50e9e0afa9a615d4691
9a3f8c3d4afe784a34ada757b8c6cd939cac701d
/leetNumZeroFilledSubarr.cpp
637d768f991af3516aac9f37e1f728518e23f353
[]
no_license
madhav-bits/Coding_Practice
62035a6828f47221b14b1d2a906feae35d3d81a8
f08d6403878ecafa83b3433dd7a917835b4f1e9e
refs/heads/master
2023-08-17T04:58:05.113256
2023-08-17T02:00:53
2023-08-17T02:00:53
106,217,648
1
1
null
null
null
null
UTF-8
C++
false
false
1,900
cpp
leetNumZeroFilledSubarr.cpp
/* * //******************************************************2348. Number of Zero-Filled Subarrays.****************************************************** https://leetcode.com/problems/number-of-zero-filled-subarrays/ *******************************************************************TEST CASES:********************...
78031a793e02405825ae6f8a3075bf14e28d34ef
cf56272527c1859a0c17e152a600882f4ef6fded
/Engine/GraphicsEngine/RasterZsiros/GraphicsApiD3D11/src/IndexBufferD3D11.cpp
9d1231e2b90e7b7d5fde2ccc550f1725d6927cc5
[]
no_license
Almahmudrony/ExcessiveEngine
d56d29ba2d7d5fd32efdca6cec64f0e6356a0e46
6e4124e363bbd9ee1ebba0c20c4d71bda986f9df
refs/heads/master
2021-01-01T18:58:16.594424
2017-05-01T18:59:21
2017-05-01T18:59:21
null
0
0
null
null
null
null
ISO-8859-2
C++
false
false
901
cpp
IndexBufferD3D11.cpp
//////////////////////////////////////////////////////////////////////////////// // GraphicsEngine/src/IndexBufferD3D11.cpp // 2012.oct.12, zsiroskenyer team, Péter Kardos //////////////////////////////////////////////////////////////////////////////// // Direct3D 11 index buffer implementation ////////////////////////...
fdd5dcee3d7ce91cbc39b0d8a2006ca5c939a60a
309fceba389acdb74c4de9570bfc7c43427372df
/Project2010/Bishamon/include/ml/type/ml_basic.h
8b028da1296cb9960506e26de3875e85bf3c08f0
[]
no_license
Mooliecool/DemiseOfDemon
29a6f329b4133310d92777a6de591e9b37beea94
f02f7c68d30953ddcea2fa637a8ac8f7c53fc8b9
refs/heads/master
2020-07-16T06:07:48.382009
2017-06-08T04:21:48
2017-06-08T04:21:48
null
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
3,564
h
ml_basic.h
#ifndef LIBMATCHLOCK_INC_ML_TYPE_ML_BASIC_H #define LIBMATCHLOCK_INC_ML_TYPE_ML_BASIC_H #include "../utility/ml_assert.h" namespace ml{ /// @addtogroup type /// @{ /// @addtogroup type_basic /// @{ typedef signed char si8; ///<8ビット符号あり整数 typedef unsigned char ui8; ///<8ビット符号なし整数 typedef signed short si16; ...
ba40bab9a7b29c0f9e19c3653e8fede720bb2ed5
5a62a874bd207d6dd99710ec425bd67988d16cf9
/hello2.cpp
51124646d20de3ad1a4036382386093d03fcb906
[]
no_license
yangpan3z9/OSclass
14ff504e6ca589eebd0ff098a46db95abd8199a2
506e1cc36832464ac612bbe501a16d024b675d97
refs/heads/master
2022-12-14T01:46:31.480571
2020-09-08T18:27:03
2020-09-08T18:27:03
293,823,774
0
0
null
null
null
null
UTF-8
C++
false
false
110
cpp
hello2.cpp
// C++ test #include <iostream> int main() { std::cout <<" Hello c++ file test"<<std::endl; return 0; }
298438e744495decd1587224b8c54d2a5827460b
837f6e6d06a50699b829581fd8681c2c9c942de0
/SPlisHSPlasH/NonPressureForceBase.cpp
ed1dc6cc2905e7899f46aa3a56335796feaa422f
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
InteractiveComputerGraphics/SPlisHSPlasH
75cb0428ed00db48b8720a6c9f7aef8f4b3654d2
8454e9f454fef20771dfe98d318904da62764b4c
refs/heads/master
2023-08-25T00:28:23.170422
2023-08-21T10:30:34
2023-08-21T10:30:34
74,058,995
1,376
305
MIT
2023-08-17T14:36:21
2016-11-17T19:14:23
C++
UTF-8
C++
false
false
256
cpp
NonPressureForceBase.cpp
#include "NonPressureForceBase.h" using namespace SPH; NonPressureForceBase::NonPressureForceBase(FluidModel *model) { m_model = model; } NonPressureForceBase::~NonPressureForceBase(void) { } void NonPressureForceBase::init() { initParameters(); }
3cbe147c6b16c02131f97953b1897000b1b8db31
8c31c25cc687fa8d0f2de029ce8df4dfb7199d26
/Basic_Pat/1071.cpp
265c8eeeba6a262e756ad70f5d241076cb59a1f6
[]
no_license
yuyilei/Pat_Basic_Level
6cc0be2de73de052f7ea655957b67388bed4e178
ac5534bb2cd979dbcf2a7b89fd1c92a97e980ac9
refs/heads/master
2021-09-10T04:21:03.890757
2018-03-21T00:44:35
2018-03-21T00:44:35
73,559,535
5
4
null
null
null
null
UTF-8
C++
false
false
750
cpp
1071.cpp
#include<cstdio> #include<iostream> using namespace std ; int main() { int all , m , n1 , n2 , b , t ; cin >> all >> m ; for ( int i = 0 ; i < m ; i++ ){ cin >> n1 >> b >> t >> n2 ; if ( all <= 0 ) { cout << "Game Over." << endl ; return 0 ; } i...
65db2a7d476f5c913675f06eeb4f37f875afb022
422a0e7a01814d9b6843e08d1e3deb7f4ae24b23
/MarketSimulation/market.h
24baae8ab4a794804820b147258063d9bb2fa223
[]
no_license
logworthy/marketsim
876d4d15690f1447f5982a2a2309831d940f1dd8
cbb84d5758e03ace21a58cde777db75ad6ada09e
refs/heads/master
2020-04-05T23:46:49.624159
2013-09-03T11:01:30
2013-09-03T11:01:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,762
h
market.h
#ifndef MARKET_H #define MARKET_H #include <QObject> #include <QTimer> #include <QFile> #include <QTime> class Market : public QObject { Q_OBJECT public: explicit Market(QString storedPathFile, QObject *parent = 0, int evolveTimeMS = 5000); virtual ~Market(); ...
a851e73411ab28306074c1f34d8f843bc267a40f
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/leetcode/leetCode/Stack/155_MinStack.cpp
4e86610364d3f1512c2d175d86dc30b173669d76
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
C++
false
false
511
cpp
155_MinStack.cpp
/* * @Author: xuezaigds@gmail.com * @Last Modified time: 2016-04-15 16:10:01 */ class MinStack { public: void push(int x) { data.push(x); if(min_n.empty() || x <= getMin()){ min_n.push(x); } } void pop() { if(top() == getMin()){ min_n.pop(); ...
4ae4e7cb13306b09bb66f4ef635d76b67b660aa7
3492a5933604f2057f8a035f6f68931936b05175
/arith/coder.h
ea66e25ffdfae5a331cdbd863c46eef8a8b0b40b
[ "BSD-3-Clause" ]
permissive
bl4ck1c3/harry
eacd2ec1a948efb9267a02db78cedf2192bcce79
a69429b6a6a573df22fa105b02914a1ac2b21bf0
refs/heads/master
2020-03-12T15:12:23.763716
2018-04-17T11:47:06
2018-04-17T11:47:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,133
h
coder.h
/* * Copyright (C) 2017, Max von Buelow * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the LICENSE.txt file for details. */ /* * Implementation of an Arithmetic Coder. * * Related publications: * Moffat, Alistair, Radford M. Neal, a...
6c2e1cc96f294c3a6fc0c3f798771aa270175910
0bc8ede923979fe128fb285ff078ea49fa3879fa
/src/jpp/Jeep/JPrint.hh
cad2b94f2d463cdba557adf9a6901848b74cb241
[ "MIT" ]
permissive
KM3NeT/jppy
2f70ccab27352ea905d14f8ba01db449a8143929
609aee22d2097d7218f0125dbb4c82bf39099ef7
refs/heads/master
2022-11-23T20:39:55.149023
2022-11-07T08:22:19
2022-11-07T08:22:19
243,485,643
0
0
null
null
null
null
UTF-8
C++
false
false
2,472
hh
JPrint.hh
#ifndef __JEEP__JPRINT__ #define __JEEP__JPRINT__ #include <string> #include <ostream> #include <sstream> #include <iomanip> #include "JLang/JManip.hh" #include "Jeep/JStreamToolkit.hh" /** * \file * I/O formatting auxiliaries. * \author mdejong */ namespace JEEP {} namespace JPP { using namespace JEEP; } nam...
6ac75e94c99b9bf7ed2017a6749c5398a55f0ca9
33be137cc86b78bce45820fc81383b0784b69c36
/sources/arquade/game/g_monster.cpp
9bc5dbb7f6f28f94167a12ed1768cf73c38533ab
[]
no_license
Paril/quake2-source-archive
010d9758448ae61442d7d12a7198d4c4874665d4
6eb7a72cd2187dc0caef151f9af5e6f4b090dd8a
refs/heads/main
2023-07-12T16:50:16.098868
2021-08-22T12:30:00
2021-08-22T12:30:00
341,576,903
10
1
null
null
null
null
UTF-8
C++
false
false
17,631
cpp
g_monster.cpp
/* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
a72b6c943e1d11d481ae634a01b6e8b29d2e2928
3b430b359fbfc65fecf9096a7b8466d1e5847aaf
/TorusRadiusMajorResize.cpp
5c2f3105ddd3d08fe653c1d01cfd89f029df07ea
[]
no_license
neilforrest/protohaptic
084d094da8558e10a0c7826493c1888b9aad8387
7556b07863caea90721d9b30cf98976d1640e801
refs/heads/master
2016-09-06T04:15:42.727421
2015-01-23T23:37:05
2015-01-23T23:37:05
33,373,753
0
0
null
null
null
null
UTF-8
C++
false
false
1,727
cpp
TorusRadiusMajorResize.cpp
#include "stdafx.h" #include "TorusRadiusMajorResize.h" /** Construct a new radius transformation on given shape. (x, y, z) is the starting position of the proxy */ CTorusRadiusMajorResize::CTorusRadiusMajorResize(CTorus *torus, HLdouble x, HLdouble y, HLdouble z) { m_shape= torus; m_proxyStartPos[0]= ...
0dc28c02d4872f19d43e38766b2790d256f5c8bf
ee69c1ff209333ab6a27297c2a749611b00a758a
/Patient.h
a681e4f7642ee0e338526cef245761a93f93ec15
[]
no_license
JayPatel77470/covid-data-project
7ca4c364e50f78c7d724c5ada311ba1e70f50f8a
363eca0c89b5dcc58ba2b4c6302f0ba323cae570
refs/heads/main
2023-08-03T02:43:27.205903
2021-09-20T16:30:49
2021-09-20T16:30:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,453
h
Patient.h
/* Citation and Sources... Final Project Milestone 5 Module: Patient Filename: Patient.cpp Version 1.0 Author Jay Girishkumar Patel Revision History ----------------------------------------------------------- Date Reason 2021/07/04 Preliminary release 2021/07/18 Created this module -------------------...
fe79b736f75ca8b1a143b60599eeaf9f2d4a0ef3
97de00811f25a9f2b3900cbdd5e897227000f35f
/test003/test_homework3_3/cube.h
8b4c4a56f0c8fe00900c05d975d3e3edb84b67ea
[]
no_license
impressionyang/CPP_programs
61c125eb7928d1d8ea4e7a9165474fd3f87f4306
1d5625b4737decf41a67a3dc8898c0de397dfb51
refs/heads/master
2020-03-18T01:23:52.076792
2018-05-26T08:01:30
2018-05-26T08:01:30
134,140,305
0
0
null
null
null
null
UTF-8
C++
false
false
223
h
cube.h
#ifndef CUBE_H_INCLUDED #define CUBE_H_INCLUDED class Cube{ private: int length; int width; int height; int volume; public: Cube(); void cal_v(); int get_volume(); }; #endif // CUBE_H_INCLUDED
d187efe05de978dd026cfa353e3b5c08ab1c793a
78325b6aa3c811f9598a72799d14a47c66e5cf3b
/A13 VectorADT ListADT/ListADT.h
7e605e244ae2708096e40c2237e2b2080110115c
[]
no_license
jcangeles/CSC340
2301a39c2ae897463bd4cf0666643e0ce289e2b9
d37becf10b8976c05169af4a3de77c8b4dab0df4
refs/heads/master
2020-04-19T15:37:23.705184
2019-01-30T04:38:50
2019-01-30T04:38:50
168,279,725
0
1
null
null
null
null
UTF-8
C++
false
false
832
h
ListADT.h
#ifndef ListADT_h #define ListADT_h #include <iostream> #include <new> using namespace std; class ListADT { private: class Node { public: Node() :value(0), next(nullptr) {}; Node(int newVal) :value(newVal), next(nullptr) {}; int value; Node *next; }; Node * head; int size; public: ...
d32aa16736de3f0a79d99dd0ad58221d49651e08
9e01fb3c84122eba75eb12fa00c096b959c7c646
/qcharts_tp/include/private/bar_p.h
a49586c6ba5e7a7e78d5b73216ff01512a7b6664
[]
no_license
wangyun123/Third
1723a174c4a624bb7a23c43881ef3f6bf9f55313
bd5bdd4113ece866b73d93a761a949f5aeeea84d
refs/heads/master
2021-01-01T17:15:43.470612
2014-09-02T07:19:50
2014-09-02T07:19:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,569
h
bar_p.h
/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc ** All rights reserved. ** For any questions to Digia, please use contact form at http://qt.digia.com ** ** This file is part of the Qt Commercial Charts Add-on. ** ** $QT_BEGIN_LICENSE$ ** Licensees holding...
c7a2d24187e7dc09152061df1490cdeaf742f57f
895e6faac9c72c443e284ec586599dda433b253b
/include/unpacker/SimpleDataChunk.h
3e6ad62bc04318a4fdfaf648e014d44a3ef7642d
[]
no_license
cdpruitt/HiRA-analysis
994a3062180c2541b80360c877fe9bff57ea4579
e892f63c25c39574286adc778c0878eef2b4281b
refs/heads/master
2021-01-12T09:37:33.786049
2016-12-22T02:48:49
2016-12-22T02:48:49
76,203,335
0
0
null
null
null
null
UTF-8
C++
false
false
604
h
SimpleDataChunk.h
#ifndef SIMPLE_DATA_CHUNK_H #define SIMPLE_DATA_CHUNK_H #include "DataChunk.h" #include "Datum.h" #include <iostream> #include <vector> class SimpleDataChunk : public DataChunk { public: SimpleDataChunk(std::string n, unsigned int s); void add(DataChunk*); void extractData(std::ifstream&...
e99d58055761be4f1a1204bfd6d67d55e4b46ac3
5f30897ec79f5ff410d11fd2f056644d2ee43933
/Skill/Miscellanious/Codeforces/800/1417A.cpp
bf375b9815fec686d11a93adbccf204675785f55
[]
no_license
Puneethnaik/CompetitiveCoding
d86f8323d65e70c260e101e6a53bf67ac284d36d
97848e4ed51335220e7e96bbe23321f2a6ae7698
refs/heads/main
2023-07-26T23:05:08.807849
2021-09-05T04:48:28
2021-09-05T04:48:28
388,463,039
0
0
null
null
null
null
UTF-8
C++
false
false
573
cpp
1417A.cpp
#include <bits/stdc++.h> #define FOR(i, a, b) for(int i = a ; i < b ; i++) #define FORN(i, n) FOR(i, 0, n) #define vti vector<int> #define vt(x) vector<x> #define all(x) x.begin(), x.end() #define read(x) cin >> x using namespace std; void solve() { int n, k; cin >> n >> k; vti arr(n); FORN(i, n) { ...
cb50866f9758a0218e2e4764facd29c8d9a8e0eb
b333d109191136e5ab0a830ec1c68df401fc3b21
/maps/include/maps/G3SkyMapMask.h
04fc1c2be5064e39d693c182798aa497574b06d5
[ "BSD-2-Clause" ]
permissive
CMB-S4/spt3g_software
6d6ff8a6101976eab0e172ff196fe522b7d05ed9
6dd855dddcca1b887d058ac18eaf9a68bebea1a7
refs/heads/master
2023-08-17T05:02:01.227621
2023-08-16T19:32:32
2023-08-16T19:32:32
89,958,167
10
11
BSD-2-Clause
2023-09-11T16:45:18
2017-05-01T20:01:44
C++
UTF-8
C++
false
false
4,102
h
G3SkyMapMask.h
#ifndef _G3_SKYMAPMASK_H #define _G3_SKYMAPMASK_H #include <vector> #include <boost/python.hpp> /* * The following implements a companion object to a G3SkyMap containing * booleans for whether to use (true) or ignore (false) certain pixels. * The pixelization is stored externally in the parent map, as is the * (...
d02c5b645d00094d644a2ef0dc81266de4405564
9a2362a2b1c2fe92e3e06ad90c86356fa3799530
/sort/sort.cpp
267ebc058b9661502ea81684675520ea1b512302
[]
no_license
bhutley/broad
13cd57cb5d047b9c3aa248c5fce1323ef8e26657
b151fb9fe7feead0f27c616d7e6d7c2df32e77fa
refs/heads/master
2021-04-09T10:49:43.671867
2018-03-15T17:27:28
2018-03-15T17:27:28
125,400,546
0
0
null
null
null
null
UTF-8
C++
false
false
843
cpp
sort.cpp
/** * STL std::sort() example. * * Time complexity is O(n log n) * * The gnu STL implementation uses a hybrid sorting algo. Introsort is * used first, which starts with quicksort and then switches to * heapsort if the recursion depth exceeds a certain level. */ #include <algorithm> #include <vector> #include <...
a910af3b1257043065475828a8be79b909cc8277
a92cd1decd8a028f67300ce99a7fa35ed9b78c81
/src/utils/sourcelua_swarm/public/tier1/lconvar.cpp
aac610ec646940a8bfea88d4d2213777263afac5
[]
no_license
AluminumKen/hl2sb-src
06bcae8db4e460ce8c99842b0d5448a54baf4614
308feb9dab8815d89ac9c392a1337edc18846aae
refs/heads/master
2016-09-01T14:27:25.418233
2013-05-26T09:57:30
2013-05-26T09:57:30
49,325,598
1
0
null
null
null
null
WINDOWS-1252
C++
false
false
4,823
cpp
lconvar.cpp
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======// // // Purpose: // // $Workfile: $ // $Date: $ // //----------------------------------------------------------------------------- // $NoKeywords: $ //=====================================================================...
75b7c8b902eed90c68cb453a6761823e94399ee3
13d789d505fdb75b1dff45f0ea173ecc1d6ca440
/src/tensor_calculus.hpp
e1eedceac44c44b4380649cb63870110fcde1934
[ "MIT" ]
permissive
bstaber/TrilinosUQComp
209d39abe41aef14cfb0c2da039476f1a0815ba1
12ada5a678338a1da962113a4fad708f93b19e03
refs/heads/master
2022-03-30T10:33:09.066090
2020-01-10T15:48:01
2020-01-10T15:48:01
92,018,402
0
0
null
null
null
null
UTF-8
C++
false
false
2,895
hpp
tensor_calculus.hpp
/* Brian Staber (brian.staber@gmail.com) */ #ifndef TENSOR_CALCULUS_HPP #define TENSOR_CALCULUS_HPP #include "meshpp.hpp" void tensor_product(double scalarAB, Epetra_SerialDenseVector & A, Epetra_SerialDenseVector & B, Epetra_SerialDenseMatrix & AoB, double scalarThis){ AoB.Multiply('N','T',scalarAB,A,B,scalarT...
a29c639b4d98dd86c44f84858e7e4f9b8716d6c2
234fc62a54192a67abf2b6bd25fc74d020f398d4
/Cursos/Fase4/Examen/C. Moscas/moscasA.cpp
ff29e71b8273ab4f5719e642430e6b38352bf40b
[]
no_license
DiCZDC/ooi-2021
87ab05a164404906fe1da39adf52c37bc5528cd9
b70a9a5193041e23a4037bd9655fcc67668803a6
refs/heads/master
2023-05-10T12:36:06.524313
2021-06-15T23:34:34
2021-06-15T23:34:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,772
cpp
moscasA.cpp
// https://omegaup.com/arena/problem/moscas/#problems #include <bits/stdc++.h> #define TIEMPO_MAX 60000 using namespace std; int main() { int moscas; cin >> moscas; // Vector para guardar la cantidad de moscas vivas durante el tiempo. // El indice i representa la cantidad de moscas vivas en el tiempo...
ac450322d218a4640440630ff14254e3cb31944b
b4f0a64b306642c47bd563b071567216ef10cd99
/book_sample/Chpater 5 - Screen Space Effects/Screen SpACE Light Rays/SSLRManager.h
7b229349ca660a0f41d17f8c4920e76b0726853f
[ "MIT" ]
permissive
jjuiddong/HLSL-Development-Cookbook
515cc8671965da045c850c986f5d09725153d46e
8a322f4e7924fe0c7e757bd2453ce0adeb282aeb
refs/heads/master
2021-08-23T14:48:01.677625
2017-12-05T08:50:36
2017-12-05T08:50:36
113,155,720
20
2
null
null
null
null
UTF-8
C++
false
false
1,534
h
SSLRManager.h
#pragma once class CSSLRManager { public: CSSLRManager(); ~CSSLRManager(); HRESULT Init(UINT width, UINT height); void Deinit(); // Render the screen space light rays on top of the scene void Render(ID3D11DeviceContext* pd3dImmediateContext, ID3D11RenderTargetView* pLightAccumRTV, ID3D11ShaderResourceView* p...
228382a1fc210eca722e00ff36dcfbad0d324a34
284622dfae9f9a51f9e4a210732efa28e115ed78
/程序设计4/斐波拉契数列第n项.cpp
e5dd2b2f0358b308cca1e968f9c53d2c4a525b36
[]
no_license
wam730/The-assignment-of-C-course
cc86dbb7b39b54edadd885f697e7e27ef490f76a
b45a4ea198db8cb5d7c5725e4410b4ffbf54b48c
refs/heads/master
2022-06-13T03:48:32.488997
2020-05-06T11:04:02
2020-05-06T11:04:02
258,688,728
2
0
null
null
null
null
GB18030
C++
false
false
930
cpp
斐波拉契数列第n项.cpp
#include <stdio.h> #include <cstdlib> int main() { long int A=1,A1=0,A2=1,i=0,an,n,sn=0; char a; printf("*欢迎使用本程序*\n我们将为您计算斐波拉契数列的第n项、写出其前n项、计算前n项的和\n"); printf("请输入第几项n="); scanf("%d",&n); printf("前n项为: \n"); if(n==1) printf("a1=1\n斐波拉契数列的前1项的和为S1=0"); else if(n==2) print...
253f45fee3917bcd622879bea47d1e960563dbe1
19d50543968dd8fad21cb6cf703430df7f9dc221
/dpcpp/components/cooperative_groups.dp.hpp
e2212285954e0b06912b8c4fc1d48981c54cc784
[ "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "CECILL-2.0", "MIT", "LGPL-2.1-only", "Unlicense", "LGPL-2.1-or-later", "GPL-1.0-or-later", "CECILL-C", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
ginkgo-project/ginkgo
53bb384acc3bdcfa0e4a89810fdc4e9390fa4144
1100cbd2d86a9aa7388f1ace6aae2466e3bdf518
refs/heads/develop
2023-08-31T06:54:12.481543
2023-08-30T12:28:15
2023-08-30T12:28:15
117,122,510
352
102
BSD-3-Clause
2023-09-13T15:56:48
2018-01-11T16:14:21
C++
UTF-8
C++
false
false
16,432
hpp
cooperative_groups.dp.hpp
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2023, the Ginkgo authors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source co...
cda749b507f3072077a7be47db1f1032d43e3cf3
53fd6d2e69f6dc06aebccd4c1861f6d31f1d6412
/projects/client/audio/aura_processing/source/aura/processing/utility.cpp
60d2481623da3f226c4ba2f1414176b0dd6ca2a1
[ "MIT" ]
permissive
silentorb/mythic-cpp
2c36e5e9e341c57d0cd6f3b5a0d8d06aaf52d9b0
97319d158800d77e1a944c47c13523662bc07e08
refs/heads/master
2020-10-01T09:40:58.577920
2019-12-12T04:52:50
2019-12-12T04:52:50
227,509,036
0
0
null
null
null
null
UTF-8
C++
false
false
334
cpp
utility.cpp
#include "utility.h" #include <cmath> namespace aura { namespace processing { // float to_dB(float value) { // return (std::pow(10, value) - 1) / (10 - 1); // } float inverse_dB(float value) { const auto base = 10; return (std::pow(base, 1 - value) + 1) / (base - 1) + 1; ...
9fd4e5a3b9f2d970ee16a26f37cafc1b39f02a28
386fad5de6b1a6a9e5557947bd1aeffda8821656
/ZeroJudge/c031.cpp
4e5bac00e5c831c0e48de290ac483e2edad36da7
[]
no_license
xxyyzz/Competitive-Programming_Solutions
6c1f06232ab63f85d913bdd27a90eff892bfe18d
cca393f4330e784eb0f9edb44df290adc105ce3b
refs/heads/master
2021-06-02T13:33:48.530485
2016-09-25T14:15:37
2016-09-25T14:15:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
306
cpp
c031.cpp
#include <iostream> using namespace std; int main() { int n, a, b, c, d; while(scanf("%d",&n)!=EOF) { for (d=1, c=n; c>d; d++) c-=d; if ( d%2==1 ) a=d-c+1; else a=c; b=d+1-a; cout << "TERM " << n << " IS " << a << "/" << b << endl; } return 0; }
988752f5670e74a823688cc62d6d3c07a2f6b4b6
0d45b4a2b55a3288b8e631b8d7884b2e7346d7cc
/Robogotchi/mathvector.h
dfd7e346dafd3c813245a55fb3f3bd8835f29aa9
[ "MIT" ]
permissive
drhugoz/Robogotchi
4bd104eda7478ae3761f772571e0a086fc311422
f4b8c4fdc5804c67b7819ffa1e228d27f5ec1fc7
refs/heads/master
2020-06-17T04:18:14.403754
2019-12-11T16:01:42
2019-12-11T16:01:42
195,794,102
0
0
MIT
2019-12-11T16:01:43
2019-07-08T10:57:19
null
UTF-8
C++
false
false
1,170
h
mathvector.h
#ifndef MATHVECTOR_H #define MATHVECTOR_H #include <math.h> #include "model.h" class MathVector { public: MathVector() : x(0), y(0), z(0) {} MathVector(const double _x, const double _y, const double _z) : x(_x), y(_y), z(_z) {} MathVector(point l, point r); friend MathVector operator*(const MathVect...
7054d0fad1be81bbfb191f9278f521b9591d7709
3b0ac5056287bc8a0b4e87cf1eb11d70306339ba
/ui/CriterionRatingModel.h
df0b75505f36ba0e01d52bd91f04a1fe6fb06aaa
[ "MIT" ]
permissive
m0gg/ahp-qt5
d82eaa9547b3dafef0ea4d60d07d6edd3fc2a398
486c5d574e5bd2f7ab99e28729931733a130be8b
refs/heads/master
2016-09-05T11:19:45.698779
2014-10-10T01:13:12
2014-10-10T01:13:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
702
h
CriterionRatingModel.h
#ifndef CRITERIONRATINGMODEL_H #define CRITERIONRATINGMODEL_H #include <QAbstractTableModel> #include "libahp.h" class CriterionRatingModel : public QAbstractTableModel { Q_OBJECT private: AHPSet& ahpSet; vector<double> rating; public: CriterionRatingModel(AHPSet& ahpSet, QObject *parent = 0); int r...
e5e44097459646adc2137719a26d760d9a6a771a
14e30c5f520f0ed28117914101d9bdf2f3d5dac7
/project/source/mesh/mesh.cpp
1b8f52bb24b3d2fd8a097b98c3192fe089c83d46
[]
no_license
danielePiracci/arlight
f356eb5a162d0cd62a759720cbc6da41a820642f
15a68c4c80c97f2fe7458e7ddf03f3e1063e25a4
refs/heads/master
2016-08-11T13:45:35.252916
2011-01-24T20:22:50
2011-01-24T20:22:50
44,962,821
0
0
null
null
null
null
UTF-8
C++
false
false
551
cpp
mesh.cpp
/// \file mesh/mesh.cpp /// \author Juan Carlos De Abreu (jcabreur@gmail.com) /// \date 2009/11/07 /// \version 1.0 /// /// \brief This file implements the DissertationProject::Mesh class, /// declared at mesh/mesh.h. #include "mesh/mesh.h" #include "base/locator_inl.h" BEGIN_PROJECT_NAMESPACE(); Mesh::M...
50a97bf3af05d3ec9a02574b5ad9761de10dd766
32a5b7b638603eec56452d4fa553dd4e558a731c
/src/methods/WeightedAlignmentVoter.hpp
87b0aea3c3d4fa40831037a2a7d25f8216ea7e41
[]
no_license
joannatko/SANA
1af9db3842bba22f05d1f63275bf53015845080a
c8a043d7b1b8eca4f897a32288b4105cd14f2cf7
refs/heads/SANA1.1
2020-04-10T11:19:05.189371
2019-02-28T05:09:07
2019-02-28T05:09:07
160,989,636
1
0
null
2018-12-09T01:54:07
2018-12-09T00:05:36
Emacs Lisp
UTF-8
C++
false
false
840
hpp
WeightedAlignmentVoter.hpp
#ifndef WEIGHTEDALIGNMENTVOTER_HPP #define WEIGHTEDALIGNMENTVOTER_HPP #include <iostream> #include "Method.hpp" #include "../measures/localMeasures/LocalMeasure.hpp" using namespace std; class WeightedAlignmentVoter: public Method { public: WeightedAlignmentVoter(Graph* G1, Graph* G2, LocalMeasure* nodeSi...
dfce2e8c71d8005e9c1dd11fd0705de8aa6faae3
9f82a4168ed99fa9a20ca82ffa93936bc25b5d9b
/q1_180915.cpp
a264ce351d945bf1d0d5f16fc71c84b8ab57bb3a
[]
no_license
OOP2019lab/lab2-180915hassanAli
7866bc96d74dde21416d200dfb0c3707922d110a
e96b194c9dc2f71f85bf1972892f3505c7c14c84
refs/heads/master
2020-04-19T02:29:47.448616
2019-01-28T05:43:46
2019-01-28T05:43:46
167,904,938
0
0
null
null
null
null
UTF-8
C++
false
false
2,912
cpp
q1_180915.cpp
#include <iostream> #include <string> #include "gitHubUserq1.h" using namespace std; //returns address of arr where UserName found, returns null otherwise gitHubUser* searchUser(gitHubUser* users, int size, string UserName) { for (int c = 0; c < size; ++c) { if (users[c].userName == UserName) { re...
84d6e0580c12f74880574f8179d934714c7235b9
0141a8f26284dbfd824d9b054a899f6b6d7510eb
/abc/abc/abc156/c.cpp
9d68f16e1cc895766370cee843fe851bfc320f82
[]
no_license
yunotama/atcoder
2da758f479da6aaaa17c88f13995e42554cb0701
ddb16580416d04abaa6c4d543dc82a62706d283a
refs/heads/master
2021-03-15T06:20:52.038947
2020-03-12T13:19:34
2020-03-12T13:19:34
246,830,843
0
0
null
2020-03-12T13:19:36
2020-03-12T12:39:16
null
UTF-8
C++
false
false
513
cpp
c.cpp
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; i++) #define INF 10000000000 using namespace std; using ll = long long; int main() { int n; cin >> n; vector<int> x(n); rep(i,n){ cin >> x[i]; } sort(x.begin(), x.end()); int ans = 100000000, tmp; fo...
a8d089766627da6131f70d22b3308eb9930b5f4e
49aef59a754ded1be83520c78a2d55b58bf57336
/Common/Graphics/Chart.hpp
097aa633c4ce2b83ad0668dd14041f5635d353dc
[]
no_license
andreyV512/Coating
048fe1764e6d0beb91e3d4832fb660f058f97b6b
2d98bed2ff91faeb8561d99e6253bcd39123e829
refs/heads/master
2023-04-14T20:25:14.481248
2021-04-27T10:34:04
2021-04-27T10:34:04
347,822,035
0
0
null
null
null
null
UTF-8
C++
false
false
710
hpp
Chart.hpp
#pragma once #include <Windows.h> #include <Gdiplus.h> #include "templates/typelist.hpp" using namespace Gdiplus; #pragma warning(disable : 4355) template<class Chart, class List>class ChartDraw : public Chart { template<class O, class P>struct __draw__{void operator()(O &o){ o.Draw(); }}; public: typedef List it...
a06af74cdaad1f5d237f6059ad72af3d8686a9dd
7a0a85326daf6499b6fa59cf26362b214015e988
/include/webots_ros_interface/motor.h
fd9d252b4e45f8eddd2a9d13fecf59574a9ba9b7
[]
no_license
janfelixklein/webots_ros_interface
2b8bda83b30e882086f92a4edeba1ed2220e1029
cb115a624ce87edd744409f875cd9b6dc1650f99
refs/heads/master
2020-06-13T04:01:45.613495
2019-08-01T07:50:20
2019-08-01T07:50:20
194,527,487
0
0
null
2019-08-01T07:50:21
2019-06-30T14:48:30
C++
UTF-8
C++
false
false
1,956
h
motor.h
#include <ros/ros.h> #include <webots_ros/set_float.h> #include <webots_ros/Float64Stamped.h> #include <std_msgs/Float64.h> #include <actionlib/server/simple_action_server.h> #include <webots_ros_interface/position_controlAction.h> class Motor { public: Motor(ros::NodeHandle* nh_pointer, std::string contro...
a306ba9375ff3c640a594473a2d15eee17f2efb6
9fb3ac362370dbaaec9ff680ce530eca041d4b08
/Lab_6_Vector_Math/I_FlightPath/FlightPath.cpp
89b8dd43a1b45d2253b66b8c6e693e263ddc0c50
[]
no_license
ankurpatel42/COSC363-Computer-Graphics
49baaf69b60e48fe496b121cdef71f677ae34106
15e4e4a33c57c07d6344a8874e186a37d6385217
refs/heads/main
2023-07-08T21:48:44.334582
2021-08-13T02:26:55
2021-08-13T02:26:55
395,497,556
1
0
null
null
null
null
UTF-8
C++
false
false
7,218
cpp
FlightPath.cpp
// ======================================================================== // COSC363: Computer Graphics (2021) // // FILE NAME: FlightPath.cpp // See Lab06.pdf for details. // ======================================================================== #include <iostream> #include <fstream> #include <cmath> #includ...
f84d5bf18fe20acd9892cad524314280dcae43a4
c73cc130284575492876b11193963f86fdc03b1e
/cpp/template_metaprogramming/constexpr/template_argument_test.cpp
0e11c43b121066eadd514730dc2442b17d88b482
[]
no_license
nae9on/_help_
d3d46f68019299a8c6322ca10b511c0880396658
afa4be3caeba6dc1c1d63b3bb137039cb7800be6
refs/heads/master
2023-01-24T15:25:09.953564
2023-01-22T21:15:09
2023-01-22T21:15:09
178,942,396
4
0
null
null
null
null
UTF-8
C++
false
false
603
cpp
template_argument_test.cpp
/* * template_argument_test.cpp * * Created on: Aug 19, 2019 * Author: akadar */ #include <iostream> #include <string> template<typename T> bool odd_or_even(T x){ constexpr bool checkInt = std::is_same<T, int>::value; // static_assert expects a bool constexpr static_assert(checkInt,"template argument is...
d591f0b3f38976a507884960f0ccc4612b112d54
ee191db1a2b25c89f9987b0e264fe2ffbaa8977b
/libraries/LoopCheck/LoopCheck.h
044b02398384d1a61b4cab63ef8ffd2722d55d8e
[]
no_license
RobertPatzke/homeautomation
755845c5d5edae88af9dd3daea78db6bdd2cf1aa
5278dac6e422ac3724efcb1c1ccf0d829b824a59
refs/heads/master
2023-03-06T05:05:18.953054
2021-05-11T13:05:32
2021-05-11T13:05:32
103,811,109
6
5
null
2018-02-17T09:01:48
2017-09-17T07:29:38
C++
UTF-8
C++
false
false
9,290
h
LoopCheck.h
//----------------------------------------------------------------------------- // Thema: Social Manufacturing Network / Development Environment // Datei: LoopCheck.h // Editor: Robert Patzke // URI/URL: www.mfp-portal.de //----------------------------------------------------------------------------- // Lizenz: C...
581dc8d26d6c1d6ff6509a750fab9123464bdf68
1a584afbab70f63fbbaae896bfa56147a195b32c
/cekeikon/kcek/rndtrain.cpp
4a5aa68f376e1abecc96b8d11fa98ff56e2f4cc7
[]
no_license
joaosoares/hae2
09151ddc11b833907123b879026426783c2bc2b4
6e0a07a2dfb79f1d9663b4a7f0a51a8fdddf162b
refs/heads/master
2020-03-25T23:58:16.886200
2018-08-10T16:42:37
2018-08-10T16:42:37
144,301,453
0
0
null
null
null
null
UTF-8
C++
false
false
603
cpp
rndtrain.cpp
#include <cekeikon.h> void rndtrain(int argc, char** argv) { if (argc<3) erro("Erro: RndTrain treino.img boo.xml (ou .yaml)"); Mat_<FLT> tr; le(tr,argv[1]); { // se tem menos de 20 linhas, copia para dar pelo menos 20 linhas. int nl=tr.rows; int i=0; while (tr.rows<20) { tr.push_back(t...
3ade04605e9f8805c66a096360b60e810500da07
e255448fb9950c1426014406ad9ce5d330c4f141
/CppTutorials/School/Problem-Based-Learning/main.cpp
c3e2732aaf6129330a9f2c87088980cfc7611429
[]
no_license
Jayz07/PersonalTutorials
80e6faf0ca7a143de30d3731d134105a22e2d531
3736a40f56a2eb9594b9dd752ac27a93bcc1f9ee
refs/heads/master
2021-01-20T19:26:24.060387
2016-07-27T14:27:56
2016-07-27T14:27:56
62,096,876
0
0
null
null
null
null
UTF-8
C++
false
false
5,565
cpp
main.cpp
#include <iostream> #include <fstream> #include <string> #include <windows.h> #include<direct.h> using namespace std; void loginScreen(); void doLogin(); void addUser(); void logOut(); void employeeScreen(string user, string permissionName); void adminScreen(string user, string permissionName); void employe...
fdc48ffbe6c9fe498e52a7a2c34d73fcd6b874dd
f22df2f3323dad233e185ed28deb15d62d957ca3
/GestCollOnQt/GUI/Biblioteca/bibliotecaform.h
f77512658a76ccbff34009fef57738a97df11cdc
[]
no_license
mirkoviviani76/gestcoll
a4779bb0d9e0a8e64a8c7212abd8a6a4e19b5ca0
7477c0337183d6324993f29ac167d64df76794e1
refs/heads/master
2021-01-10T06:42:52.181258
2016-02-12T09:52:11
2016-02-12T09:52:11
51,519,105
0
0
null
null
null
null
UTF-8
C++
false
false
931
h
bibliotecaform.h
#ifndef BIBLIOTECAFORM_H #define BIBLIOTECAFORM_H #include <QWidget> #include "bibliotecasortfilterproxymodel.h" #include <bibliotecaitem.h> #include "bibliotecaxml.h" namespace Ui { class BibliotecaForm; } class BibliotecaForm : public QWidget { Q_OBJECT public: explicit BibliotecaFo...
321c98f15977dc5901e94c7e39c166418e069639
af9278d9d20af9e4d1cb69b473210196235e43e1
/TCPSocket.h
898090e16ffa864acde2614496c61f1444f78cb9
[]
no_license
lishion/ISocket
2144b6d415b867509ba4b7a4c9441ad488d84d42
dabc01de9998a79e84a7a6fd3115b919052578ab
refs/heads/master
2021-01-23T01:18:44.694013
2017-04-12T02:40:02
2017-04-12T02:40:02
85,899,373
0
0
null
null
null
null
GB18030
C++
false
false
934
h
TCPSocket.h
#pragma once #include "Socket.h" namespace ISOCKET{ class TCPSocket:public Socket { public: TCPSocket(void); TCPSocket* startListen(int max);//开始监听,max 连接队列最大值 TCPSocket* startListen(); //开始监听,默认10个 TCPSocket* getConection(); //得到连接 void getConection(TCPSocket *socket);//得到连接并用于初始化一个Socket*类型的指针 ...
9ce70da60b1aff401c68fe67bc7bba2437f5ec23
4c1439e5293ab4a5b3d5f9e46feda118a240baf4
/src/io/queryReader/CSVQueryReader.hpp
6e4f0ad27110ff5af12aced47670ff0a9ead6477
[]
no_license
lucdon/LCRIndexing
ac13cd77a3bea400832d44d00b098c9bc66e452e
9f5adb426a5b70f3b57efb2d8d6c4867995e23f2
refs/heads/master
2023-06-17T18:01:11.244331
2021-07-08T20:37:36
2021-07-08T20:37:36
382,639,025
1
0
null
null
null
null
UTF-8
C++
false
false
418
hpp
CSVQueryReader.hpp
#pragma once #include "io/QueryReader.hpp" class CSVQueryReader : public QueryReader { private: inline static const std::string fileType = ".csv"; public: const std::string &fileName() override { return fileType; } std::unique_ptr<ReachQuerySet> readQueries(const std::string &filePath) overri...
8f9d877b9bce8ca071941fbb39c68de297dafc14
3437b352757b15f463096dbe8782b2b60847ea32
/week_4/unique_ptr/unique_ptr.h
957faa4b00bff7a9818a4431dc202a70f65ea0fb
[]
no_license
MercyFlesh/cxx_brown_belt
ef73dcaaaaac6b1b36bfec6e6d5811fee5498cee
8f15d04feff14704c1e011b9e4b0e4c72f7a1e7e
refs/heads/master
2023-03-15T02:38:25.354700
2021-03-23T21:37:46
2021-03-23T21:37:46
308,676,829
0
0
null
null
null
null
UTF-8
C++
false
false
1,206
h
unique_ptr.h
#pragma once #include <cstddef> template <typename T> class UniquePtr { private: T* ptr_; public: UniquePtr() : ptr_(nullptr) { } UniquePtr(T* ptr) : ptr_(ptr) { } UniquePtr(const UniquePtr&) = delete; UniquePtr(UniquePtr&& other) { ptr_ = other.ptr_; ...
fd9e515e83ce40d1826be880621c2e19e86eea4c
a8fa56874784c26ee268b0a0d14c69ee27bf2905
/source/laplace/math/spline.impl.h
93427b610f30c333f5aa07af262faea1bba20445
[ "MIT" ]
permissive
ogryzko/laplace
00d89ee0b68153d1470781298009dc7fc61165aa
be63caa0c6d1c4fceab02ab5b41b6d307ef7baaf
refs/heads/main
2023-08-27T13:36:27.634379
2021-09-21T06:17:02
2021-09-21T06:17:02
416,058,413
0
0
null
null
null
null
UTF-8
C++
false
false
4,442
h
spline.impl.h
/* laplace/math/spline.impl.h * * Copyright (c) 2021 Mitya Selivanov * * This file is part of the Laplace project. * * Laplace is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See * ...
193e83f913b98173cfef4a893f8920abdadd7566
46cce0f5350dd7bef7a22bb0a1246f003f40916c
/ui/widgets/satellitecoordinatespage.h
61ddac7c07ce1883439f1029c99c7523301071ff
[]
no_license
veodev/av_training
6e65d43b279d029c85359027b5c68bd251ad24ff
ecb8c3cdc58679ada38c30df36a01751476f9015
refs/heads/master
2020-04-28T22:23:39.485893
2019-09-23T13:16:29
2019-09-23T13:16:29
175,615,879
0
0
null
null
null
null
UTF-8
C++
false
false
1,146
h
satellitecoordinatespage.h
#ifndef SATELLITECOORDINATESPAGE_H #define SATELLITECOORDINATESPAGE_H #include <QWidget> #include <QGeoPositionInfo> #include <QGeoSatelliteInfo> #include "geoposition.h" namespace Ui { class SatelliteCoordinatesPage; } class SatelliteCoordinatesPage : public QWidget { Q_OBJECT public: explicit SatelliteCoo...
c540229fd8a4a3245fac7c8fdf31f54bb11ab953
a6289bf362cfcdd4454a92403dceb4232bb85183
/ScreenCapture/ScreenCapture/ScreenCapture.cpp
ea11bc37cabe55e8fe3d3415733752dbea79c615
[]
no_license
y0n0622/vs2008Code
b696fc604bcbf4b019a701ebdbfa7d1838d41341
03835a584086168ce3c8a8798be290795521198a
refs/heads/master
2023-02-04T15:32:29.076525
2020-12-24T12:35:27
2020-12-24T12:35:27
149,395,659
0
0
null
null
null
null
GB18030
C++
false
false
8,792
cpp
ScreenCapture.cpp
// ScreenCapture.cpp : 定义应用程序的入口点。 // #include "stdafx.h" #include "ScreenCapture.h" #include <Windows.h> #define MAX_LOADSTRING 100 // 全局变量: HINSTANCE hInst; // 当前实例 TCHAR szTitle[MAX_LOADSTRING]; // 标题栏文本 TCHAR szWindowClass[MAX_LOADSTRING]; // 主窗口类名 // 此代码模块中包含的函数的前向声明: ATOM MyRegisterClass(HINSTA...
007e9bbb9253c62a1a29116d55edeedd08ca259e
bb5258ea8c1f8cbcc247b92971cd926264479002
/ds4/code/4_client_desktop/delegate/client/client_delegate.cpp
a6b4371a1e34d910408be6adab22f0f05a50ad35
[ "MIT" ]
permissive
demonsaw/Code
16fa41f07600e83f16713a657ac8fffa0b6b7f9b
b036d455e9e034d7fd178e63d5e992242d62989a
refs/heads/master
2021-11-07T21:37:03.738542
2021-10-26T03:47:14
2021-10-26T03:47:14
98,356,418
134
19
MIT
2019-01-06T03:20:12
2017-07-25T22:50:36
C++
UTF-8
C++
false
false
7,180
cpp
client_delegate.cpp
// // The MIT License(MIT) // // Copyright(c) 2014 Demonsaw LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, c...
4315ffa2395fea5f9db47b737b2d24c2baec0010
2af943fbfff74744b29e4a899a6e62e19dc63256
/RefactoringITKStatisticsClasses/src/itkJointDomainImageToListAdaptor.h
fe3a3203bd9981469f36e697df5e44788cd0da82
[]
no_license
lheckemann/namic-sandbox
c308ec3ebb80021020f98cf06ee4c3e62f125ad9
0c7307061f58c9d915ae678b7a453876466d8bf8
refs/heads/master
2021-08-24T12:40:01.331229
2014-02-07T21:59:29
2014-02-07T21:59:29
113,701,721
2
1
null
null
null
null
UTF-8
C++
false
false
8,742
h
itkJointDomainImageToListAdaptor.h
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: $RCSfile: itkJointDomainImageToListAdaptor.h,v $ Language: C++ Date: $Date: 2003/12/15 01:00:46 $ Version: $Revision: 1.11 $ Copyright (c) Insight Software ...
73d2e60abaefac6666c830c06d4747b4e7c3ae1b
707d3744bc9d639b9264bb1487c9124af399f544
/Classes/GameBoard.cpp
9938fb3a72dc0af56e43a9c3db5a750ed21b7665
[ "Apache-2.0" ]
permissive
dongshunyao/IconBattle
4178137e2ae10bb1fbda34c7cbe47ac1825db940
ae3dcd8a2256f31a59c1488d1254f9bc3fd72d54
refs/heads/master
2023-07-24T20:50:21.557976
2023-07-14T15:54:47
2023-07-14T15:54:47
256,798,123
2
3
null
null
null
null
UTF-8
C++
false
false
24,973
cpp
GameBoard.cpp
#include "GameScene.h" void GameScene::initGameBoard() { moveHighLight = ImageView::create(theme->gameSceneMouseMoveOn); moveHighLight->setPosition(invisiblePosition); addChild(moveHighLight, 3); selectedHighLight = ImageView::create(theme->gameSceneMouseSelected); selectedHighLight->setPosition(invisiblePositio...
80d91865b216bdfcd0078c8a3d225830e3e20ff8
90047daeb462598a924d76ddf4288e832e86417c
/chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.cc
3ae9e9eaf8f53c40e6699b81b2b10bce3494df42
[ "BSD-3-Clause" ]
permissive
massbrowser/android
99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080
a9c4371682c9443d6e1d66005d4db61a24a9617c
refs/heads/master
2022-11-04T21:15:50.656802
2017-06-08T12:31:39
2017-06-08T12:31:39
93,747,579
2
2
BSD-3-Clause
2022-10-31T10:34:25
2017-06-08T12:36:07
null
UTF-8
C++
false
false
8,954
cc
arc_wallpaper_service.cc
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.h" #include <stdlib.h> #include <deque> #include "ash/shell.h" #include "ash/wall...
221df423af4c843ac3446f63177a750e21884ccc
4653c0a797bf312660c8322004382483aadb04b3
/src/imageParticleSystem.cpp
9e41ff58331c00d96de5e8d8a14889639cc0e17c
[]
no_license
KatharinaMina/SpielauswertungMapping
41865605ee70bd5a2452531ff760f92275ff1c19
ded58dabc77f95b42659ece9d9f10965a97aa731
refs/heads/master
2022-01-11T20:02:32.961841
2019-06-21T13:47:25
2019-06-21T13:47:25
171,855,483
0
0
null
null
null
null
UTF-8
C++
false
false
7,831
cpp
imageParticleSystem.cpp
#include "imageParticleSystem.h" ImageParticleSystem::ImageParticleSystem(int sceneSizeX, int sceneSizeY, ofImage fileImageHex, string imageName) { this->imageToDraw = new DrawableImage(imageName, sceneSizeX, sceneSizeY); this->imageHeight = imageToDraw->getHeight(); this->imageWidth = imageToDraw->getWidth(); t...
a4a0803fc8b786ef71e6f17a839706b690f79d15
076ba173f5b518977d30f4336c63b177a5a7f66d
/cases/surfers_in_channel_flow_x/param/env/objects/static/surfer__us_0o05__surftimeconst_1o5/group/homogeneous/_member/choice.h
6ea5c8c3756e5e33098d38826b06fa392585ab12
[ "MIT" ]
permissive
C0PEP0D/sheld0n
a661b27ffee7b087731f0a3e9f92c2ee26d7d560
a1b9a065cfaa2e3faf5a749f14201a84baa41ce9
refs/heads/master
2023-04-28T20:53:27.684636
2023-04-18T21:20:00
2023-04-18T21:20:00
421,041,396
0
1
null
null
null
null
UTF-8
C++
false
false
627
h
choice.h
#ifndef C0P_PARAM_OBJECTS_SURFER__US_0O05__SURFTIMECONST_1O5_GROUP_HOMOGENEOUS_MEMBER_CHOICE_H #define C0P_PARAM_OBJECTS_SURFER__US_0O05__SURFTIMECONST_1O5_GROUP_HOMOGENEOUS_MEMBER_CHOICE_H #pragma once // THIS FILE SHOULD NOT BE EDITED DIRECTLY BY THE USERS. // THIS FILE WILL BE AUTOMATICALLY EDITED WHEN THE // CHOOS...
36b8a548d7420ce14db8eff5c6b56f7246d34c18
f0e15c3b7b88561b3acdd34dca9365633f241632
/program/エフェクト/Bullet.cpp
9da61a3a4bf39d9c555b84f12fbc68c1fe6b7669
[]
no_license
Saitouyukihiro/3DGame_Progress
f8bd6fbb9b93b49c6b1b143ef2a10dc0531c18ef
fe0ebac5513cc4fe41bb06aaab88692b770b1b81
refs/heads/master
2023-03-28T14:22:29.372673
2021-03-30T02:31:22
2021-03-30T02:31:22
319,807,541
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
8,294
cpp
Bullet.cpp
#include "main.h" #include "bullet.h" #include "Model.h" #include "camera.h" #include "Object.h" #include "Effect.h" #include "wall.h" //グローバル変数 LPDIRECT3DTEXTURE9 g_pTextureBullet[BULLETTYPE_MAX] = {};//テクスチャへのポインタ //頂点バッファのポインタ LPDIRECT3DVERTEXBUFFER9 g_pVtxBuffBullet = NULL; //頂点バッファへのポインタ Bullet g_...
a44622400636ea5c9abeaa47dc72342d722db1ee
5a3ff25304ee2fd2d5fee54a07ce0c5bc1ea37de
/BattlecodeBots/MAY I live forever/PlayerData.h
97a406cc331f7cdb439d89bebb3b5bc12064de23
[]
no_license
Wesxdz/battlecode-2018
29b105af484cf46523a4eb021c2af8e043893a1e
87ecf0aa7e52124303be08aaac7a35ff49eaf215
refs/heads/master
2021-03-16T08:41:36.825260
2018-01-28T19:43:35
2018-01-28T19:43:35
116,757,703
0
0
null
null
null
null
UTF-8
C++
false
false
702
h
PlayerData.h
#ifndef PLAYERDATA_H #define PLAYERDATA_H #include "bc.h" #include <map> #include <vector> #include "MapLocation.h" class PlayerData { public: static PlayerData* pd; PlayerData(); //Updates unit counts and vector of our units. void Update(); std::map<bc_UnitType, int> teamUnitCounts; std::map<bc_UnitType, int...
2b891eb31c07a1ea46b7c9f40c361e34c0148ac8
c3cb63277addd243fa97afc26e08cfdbfc285600
/Sem5/PDP/Lab6_Bonus/numberDiff.h
1c9235e79394141ef74e07b7f383f5cc05f1aa9a
[]
no_license
Sueetan/UBB
142f7eafcc0940f6fe06b7a0bb48435d6ea06e77
c35c823a7086b97d8d50d0100a10612144658bde
refs/heads/master
2022-12-28T15:07:34.617641
2020-05-31T21:55:55
2020-05-31T21:55:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
225
h
numberDiff.h
// // Created by Diana on 11/13/2019. // #ifndef LAB1_CPP_NUMBERDIFF_H #define LAB1_CPP_NUMBERDIFF_H #include <vector> using namespace std; void numberDiff(vector<int> *a, vector<int> *b); #endif //LAB1_CPP_NUMBERDIFF_H
3c0ea80e0c8761b11d220765bb0663322d11eef6
a587b515c9215cb54f12202a511acad976ff4c30
/week03-210704-210710/pkpete/1339 단어 수학.cpp
6023e885b3d0c7aa65637772dc9ad5c9218ae954
[]
no_license
DevKTak/inflearn-daily-algorithm-study
05d5e9e676859c2a7baa1f111f63c8b208225208
cfcb67de3da576c5fc81f3c63e7f9393402e79f8
refs/heads/main
2023-07-02T03:54:04.642717
2021-07-23T09:12:52
2021-07-23T09:12:52
379,280,288
0
0
null
2021-06-22T13:31:10
2021-06-22T13:31:10
null
UTF-8
C++
false
false
530
cpp
1339 단어 수학.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; int arr[26]; int n; vector<string> v; int main() { cin >> n; for (int i = 0; i < n; i++) { string str; cin >> str; v.push_back(str); } for (int i = 0; i < v.size(); i++) { int num = 1; for (int j = v[i].size() - 1; j >= 0; j...
15a679808420f94850149747260261e523a938bb
fa31f98455f6bb89be3a825ee8d7b96e901def93
/code/senior projet/a2d.cpp
b41a6c7040f0c6cec64ae8742c96265f8b09c5ad
[]
no_license
Rouble/senior-project
65b15ce231da58e7b57977f229049790bfbce7cc
a5d9ae2d7708f227dc65a9718e038d561004683d
refs/heads/master
2021-01-13T16:10:38.557050
2013-11-28T07:07:22
2013-11-28T07:07:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,052
cpp
a2d.cpp
/* a2d.cpp * * Created: 3/10/2013 ☢ 19:24:20 ☢ * Author: Chris */ #define F_CPU 8000000UL //define cpu frequency as 8MHz for the _delay_() macro #include <util/delay.h> #include <avr/io.h> #include <avr/interrupt.h> #include "a2d.h" void ADCon() { ADCSRA = (1<<ADEN); //enables the ADC } void ADCoff() { ADCS...
c389f143dcf522d72784694f0192fdcf8bf94688
7969f7152717cdc1b6d0b8ad5d5bf454b43d8fc9
/src/app/webrtc/mediastream.cc
fd57f57aa98a05f22ce75143f751757a470b7783
[ "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-public-domain" ]
permissive
dmikushin/libjingle
933cdd6721080f1c3e0316b13b9834ede4eedd75
b9754327f3e4361cea9d27683a3b5817afb99819
refs/heads/master
2020-07-30T11:51:13.086498
2019-10-06T23:57:21
2019-10-06T23:57:21
210,223,581
0
0
NOASSERTION
2019-09-22T22:40:04
2019-09-22T22:40:03
null
UTF-8
C++
false
false
5,678
cc
mediastream.cc
/* * libjingle * Copyright 2011, Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
746063c8f2cb60b3b6ee2dad5c6a506cd74d9f03
c8a8b1b2739ff50c3565cdc1497e6abf4492b3dd
/src/csapex_core/include/csapex/param/parameter_provider.h
86fede973aaa79de1dd35d1fb035e81c3c086222
[]
permissive
betwo/csapex
645eadced88e65d6e78aae4049a2cda5f0d54b4b
dd8e24f14cdeef59bedb8f974ebdc0b0c656ab4c
refs/heads/master
2022-06-13T06:15:10.306698
2022-06-01T08:50:51
2022-06-01T09:03:05
73,413,991
0
0
BSD-3-Clause
2020-01-02T14:01:01
2016-11-10T19:26:29
C++
UTF-8
C++
false
false
1,129
h
parameter_provider.h
#ifndef PARAMETER_PROVIDER_H #define PARAMETER_PROVIDER_H /// COMPONENT #include "parameter.h" #include <csapex_core/csapex_param_export.h> /// SYSTEM #include <string> #include <vector> #include <map> namespace csapex { namespace param { class CSAPEX_PARAM_EXPORT ParameterProvider { public: ParameterProvider();...
d33c1f9df9aa198ecd4403e3270335ec1edd131e
13647ff9ad7b8e30cdf928baf3f6c3019c6817b9
/include/topo/MapCollection.cpp
9b9230c8a454aed1630711c84b46a8df88691907
[]
no_license
StumboEugen/topology_map
26875a266482472548228f5e1197976ccec41724
fae5e814d726f9829af8d37a4b63588b125a3621
refs/heads/master
2020-03-16T15:37:53.475318
2019-11-15T07:03:02
2019-11-15T07:03:02
132,752,314
1
2
null
null
null
null
UTF-8
C++
false
false
6,415
cpp
MapCollection.cpp
// // Created by stumbo on 18-5-15. // #include "Topo.h" /** * @brief deduce every MapCandidate in \b this to arrive at next NodeInstance. * the first step of arriving a node is deducing it in every map. * some conflicts may happen and the map can be ruled out. * if the edge moving on has never moved on, we consi...
60648afd93c479acc5aca07518948b121915f20c
cd9d6dbd70bc51762d8ac775021b0c42bfbe08bf
/Problem 2.cpp
e64945f38cdb3ff1b8b8027953dee35e80fc96a3
[]
no_license
Jallibad/ProjectEuler
b8849cc7dee83532c60ac9106e8dcfd1a4c8374c
c6accaeac7f8698b6291ac3e17e7dd66438a3d04
refs/heads/master
2020-12-25T14:12:50.548322
2018-11-06T18:27:46
2018-11-06T18:27:46
45,752,225
0
0
null
2016-07-10T17:57:10
2015-11-07T19:59:21
Haskell
UTF-8
C++
false
false
280
cpp
Problem 2.cpp
#include <iostream> int main() { int answer = 0; int current = 2; int next = 3; while (current <= 4000000) //Upper bound of 4,000,000 { answer += current; int temp = next; next += current; current = temp+next; next += current; } std::cout << answer; return 0; }
3faf401951961514ca9b16549097ea81e68694eb
c001e4fb7cb7ade5b087c929b0246a0c58f6285c
/problems/building-roads/building-roads/main.cpp
ccafc749b362d888cc50eb6ba9c1b665d2da9d77
[]
no_license
sabiusa/cses
ce057b959362aaf29db8a2de8a5f32926ea4d853
7a14b8bf4fecd41c7f15e3953b757c371d3c48b3
refs/heads/main
2023-07-14T05:11:59.811401
2021-07-30T11:55:41
2021-07-30T11:55:41
346,602,755
0
0
null
null
null
null
UTF-8
C++
false
false
923
cpp
main.cpp
// // main.cpp // building-roads // // Created by Saba Khutsishvili on 4/13/21. // #include <iostream> #include <vector> using namespace std; #define ll long long #define ull unsigned long long const ll N = 1e5+1; vector<vector<ll>> adj(N); vector<ll> vis(N, 0); void dfs(ll i) { vis[i] = 1; for (ll c ...
8d78ec77b0a5b42979d157d921ae35d14b9ce81c
d4fc237d44bc9da1d1e3fce5fffd5195380615d8
/lib/Reader/include/Vector.h
448a18f9a79aabdaa2140b937827bb1f986cfdc5
[]
no_license
bensonbits/vHelix
0aa2c10fd6ead8fd09275ffa0ad50959ba1d6800
c05a06a432438bb9a9f1f90407385f8334d6febc
refs/heads/master
2020-08-31T16:34:19.473879
2020-06-03T13:21:48
2020-06-03T13:21:48
218,731,218
0
0
null
2019-10-31T09:37:30
2019-10-31T09:37:30
null
UTF-8
C++
false
false
1,043
h
Vector.h
/* * Vector.h * * Created on: 9 maj 2012 * Author: johan */ #ifndef _VHELIX_MA_PARSER_VECTOR_H_ #define _VHELIX_MA_PARSER_VECTOR_H_ #define _USE_MATH_DEFINES #include <cmath> #include <ostream> namespace Helix { /* * A simple 3 component vector class */ template<typename T> class VectorT { publi...
2fd49a6166f5b7a67accd154f614532d5e2f5d41
ace05d94c93fd79f75289f79e29f0f2c6c7908ab
/DavisReader.ino
f7941cf923628d76bec3d4a0700fad9f7a228af4
[]
no_license
X-Terminator/DavisReader
266dc6e2bc24495dd7e8ca004d9eb2a6e3289440
dffe7dbc1841e4c4020746e23f1216d487c5125f
refs/heads/master
2020-04-14T06:55:45.023771
2018-12-31T21:47:44
2018-12-31T21:47:44
163,699,093
1
0
null
null
null
null
UTF-8
C++
false
false
38,796
ino
DavisReader.ino
/*** INCLUDES ***/ #include <SoftwareSerial.h> #include "WiFi_MQTT.h" /*** DEFINES***/ #define DAVIS_WRITE(a) Serial.print(a) #define DAVIS_DATA_AVAILABLE(a) Serial.available() #define MSG_DBG(...) g_DebugSerial.printf(__VA_ARGS__);g_DebugSerial.println(); #define MSG_DBG_NO_LINE(...) ...