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
3fcf72d267b96e9ae69a34bbe7322bedbe158e1a
21618cdadcde69e4d4084431e43638ebd19f8b76
/leds.h
5de050b76f2c0b20af62367b71771b00d47f554e
[ "BSD-2-Clause" ]
permissive
aykevl/domo-avr
3b5ab4fe6dd6c2f57ccfe2481d71311788a736e5
30aa607b498b60ca6ae4e5d5112a98ddf1afa48f
refs/heads/master
2020-09-21T00:56:05.559204
2016-08-30T15:18:54
2016-08-30T15:18:54
66,936,265
0
0
null
null
null
null
UTF-8
C++
false
false
717
h
leds.h
#ifndef LEDS_H #define LEDS_H #include "color.h" class Leds { public: inline Leds(uint8_t, uint8_t, uint8_t, uint8_t); inline void loop(); inline unsigned long getTime(); inline void setTime(unsigned long); inline void incTime(int8_t); inline void incHue(int8_t); inline uint8_t getSaturation(); inlin...
bd303c6af4baba5a005226eb39656bc9709cc0be
c14689c0f7ced21b36a6075d925b4313418d9f1d
/accepted/ap gp.cpp
1802700c73e49a1c37520242fe58bd519f6429a8
[]
no_license
umang736/spoj_programs
ceba443b5ad0fd10e7df968e7ab48b65e5ec4334
304286644e30edd8e6f24cba350696628fa6beb8
refs/heads/master
2020-12-31T03:17:15.098185
2014-04-21T12:07:35
2014-04-21T12:07:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
419
cpp
ap gp.cpp
#include<stdio.h> main() { int n,j,i; long long int a,first,last,sum,terms,differ; scanf("%d",&n); for(i=1;i<=n;i++) { scanf("%lld%lld%lld",&first,&last,&sum); terms=(2*sum)/(first+last); if(terms<7) continue; else { differ=(last-first)/(terms-5); a=first-2*differ; printf("%lld\n",terms); for(j=0;j<=te...
2cd94b00b589f4a7e2bc66034691500283847c22
3ebdac05cc5199be3bb44aaaea0b68764d6d93f1
/week 9/zad01.cpp
65abe3f008a6a1170f5a19d4a6069c0818f83fd8
[]
no_license
szal03/Simple-programs
68d681803e878c39820d39cf4fc496332e07fbba
6182816c1ce5531315e12dfe30879743f6918cb2
refs/heads/master
2022-02-22T22:36:56.712720
2018-05-17T06:49:35
2018-05-17T06:49:35
123,034,270
0
0
null
null
null
null
UTF-8
C++
false
false
1,595
cpp
zad01.cpp
#include "std_lib_facilities.h" void show_list(list <int> g) { list <int> ::iterator it; for (it = g.begin(); it != g.end(); ++it) cout <<"\n" << *it; } template<class Iter1, class Iter2> Iter2 copying(Iter1 f1, Iter1 e1, Iter2 f2) { while (f1 != e1) { *f2 = *f1; ++f1; ++f2; } return f2; } void print_v...
2f6bd41aab6e937840f3fe03525aa05a92745afa
3d6b4d9445880c6a9e3c4170f156eacbdb1414c8
/Source/LeaveThePast/Action/MultiplyAction.cpp
226021d3ac715a39674f7455b20c5f38f551f106
[]
no_license
wlzs04/LeaveThePast
1c4386109b2246cfeb5c63371b9262bb4f1a41bf
db818bc416253c7d5c951e23419a4abe934b4039
refs/heads/master
2022-02-23T06:31:52.215352
2019-08-18T10:15:16
2019-08-18T10:15:16
185,384,171
1
0
null
null
null
null
UTF-8
C++
false
false
1,474
cpp
MultiplyAction.cpp
#include "MultiplyAction.h" #include "../Manager/ScriptManager.h" #include "../Manager/LogManager.h" void UMultiplyAction::Load(FXmlNode* xmlNode) { UScriptManager* scriptManager = UScriptManager::GetInstance(); for (auto childNode : xmlNode->GetChildrenNodes()) { FString nodeName = childNode->GetTag(); UAction...
2d85740762aab402b3282f1e398ef8079011208a
35c3982a631030bba61b4c2c726a58abc03fd4c4
/第一阶段授课/demo024nestedstruct/src/main.cpp
6b1f33df2b42819e9caef6a20a2917a33eda8a22
[]
no_license
sepiggy/bilibili-BV1et411b73Z
aaa23b57ceeedbd77a576a394d20d55804c7b9d5
3437afe1c30e33362d2a9cfa6ea5eb35447cd455
refs/heads/main
2023-08-04T16:41:58.395180
2021-09-01T09:04:00
2021-09-01T09:04:00
399,035,467
0
0
null
null
null
null
UTF-8
C++
false
false
567
cpp
main.cpp
#include <iostream> using namespace std; struct STUDENT { string name; int age; int score; }; struct TEACHER { int id; string name; int age; STUDENT stu; }; void printInfo(TEACHER *); int main(int argc, char **argv) { auto teacher = TEACHER{1, "wang", 50, {"zs", 18, 88}}; printI...
a1bfafce12ec955889eefbb74fb3a68bfa0d29c5
f3707a059239332f9d19604bb88fa91ea211ad5f
/src/HessianSerialize.cpp
3068f661813bb70a7dc958a0859d7202f18581b1
[]
no_license
BTHUNTERCN/FishHessianCpp
32c2c6541938dbb5d48468109984f20b9953d304
593dc13b4271c15560f8f63bdc54aff332b8bb20
refs/heads/master
2021-05-27T19:12:34.952405
2014-04-14T02:07:09
2014-04-14T02:07:09
null
0
0
null
null
null
null
GB18030
C++
false
false
8,639
cpp
HessianSerialize.cpp
#include "HessianSerialize.h" #include "Exception.h" #include <inttypes.h> #include <limits.h> #include <string.h> #include <iostream> using namespace std; namespace FishHessianCpp{ HessianSerialize::HessianSerialize(){ } HessianSerialize::~HessianSerialize(){ } void HessianSerialize::Serialize( const std::strin...
66243212eeade4b7385b2e220c28c816ab4d9801
10d63c0b22fa42e4c990668e0edccbefc9f18c14
/srchybrid/DownloadQueue.cpp
ef126fa50df71a78269bc6476687fd93ea51f55b
[]
no_license
e1z0/sMule
ce0fdc8e3c876d24fc68be35ff3871f865ff190c
f303e8d1a667eeb975f31e589e69c20a4c246a4d
refs/heads/master
2021-05-04T11:25:55.756394
2018-08-19T08:55:38
2018-08-19T08:55:38
55,499,230
5
2
null
null
null
null
UTF-8
C++
false
false
96,440
cpp
DownloadQueue.cpp
//this file is part of šMule //Copyright (C)2002-2008 Merkur ( strEmail.Format("%s@%s", "devteam", "emule-project.net") / http://www.emule-project.net ) // //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 Fo...
cf24eca0d3b6ec692f28212af07215f5d04f05ee
b867ea783ac312db88bcce1cdaf04e9a3c3c6181
/src/GCellCoreLib/command/ccommanddsp.h
74c86eb46453bfeec3284e0de3fb0a0852417f3d
[]
no_license
Pala4/gCellV0
8628a49853c0f36d52294a47cc47c30205d409d1
581ca6b15a2b44dd9b99f5e91f8b023aeef10c47
refs/heads/master
2021-01-16T21:48:38.858405
2017-09-19T04:43:19
2017-09-19T04:43:19
11,480,074
0
0
null
null
null
null
UTF-8
C++
false
false
752
h
ccommanddsp.h
#ifndef CCOMMANDDSP_H #define CCOMMANDDSP_H #include "gcellcorelib_global.h" #include <QObject> #include <QMap> #include "ccommand.h" namespace gccore { #define ERR_PARS COMMAND_LAST_ERROR + 1 class GCELLCORELIBSHARED_EXPORT CCommandDsp : public QObject { Q_OBJECT private: QMap<QString, CCommand*> m_comm...
d7fafddc2a914fadbae0c34300274b778d3a5bdf
9216eb383e166c8265790c2d6cc3bc5d9e23f11f
/src/Nodes/ICMP/Pinger.c++
925f3c7a5028ad85cc5c9794c2c8b2734df64931
[]
no_license
phatcabbage/EDNAS
fca7d88b092fb008847c335bae27eb7352eca6d6
90f57129c1e584acbf818e75efbb08b462097de8
refs/heads/master
2016-09-06T18:06:03.539627
2011-12-07T02:31:44
2011-12-07T02:31:44
2,929,741
1
0
null
null
null
null
UTF-8
C++
false
false
1,929
Pinger.c++
#include "Protocols/ICMP.h++" #include "./Pinger.h++" namespace Logging { template<> OStreamLogger Logged<Nodes::Pinger>:: Logger("Pinger"); } namespace Nodes { using Protocols::ICMP; Pinger:: Pinger(IPNode& node) : Node_(node) , ReceivedAdapter_(*this, &Pinger::Received) { this->No...
b01c3856e51236b10c0e2b247df3aceb023d2160
06a150f1ee7a80555ffb63869936beefc7c65513
/src/Grid.hpp
afb22bc158ef06e1747f7064a322291d6aad4690
[]
no_license
chris-code/Kreisverkehr
eb890bdbace35577e3b4b4d8ebc73210100b2c0a
031f4b6a55c746cbc6642e79f93d93edc38627be
refs/heads/master
2016-09-06T07:24:39.456169
2015-02-23T16:04:14
2015-02-23T16:04:14
29,671,080
0
0
null
null
null
null
UTF-8
C++
false
false
667
hpp
Grid.hpp
#include <vector> using namespace std; template <typename T> class Grid { public: Grid(long xSize, long ySize, T initValue) { this->xSize = xSize; this->ySize = ySize; data.resize(xSize); for(auto x = 0L; x < xSize; ++x) { data[x].resize(ySize); } setAll(initValue); } void setAll(T value)...
65517904165e1229b45769513ad1a764b343663b
330c45a1a567cc3cc5f920cc6db20940f204db00
/test/KeyTests.cpp
2594898041a8b3c7972a3ba2de867163d6e731b7
[ "BSD-2-Clause" ]
permissive
Salties/labynkyr
45e23500d5f2855ecb5062aeb25f00e4f8c8e712
6095bba70baceff6c8ea2bb70031a77e778f24c8
refs/heads/master
2021-01-13T10:35:20.041442
2016-09-27T16:34:19
2016-09-27T16:34:19
69,376,858
0
0
null
2016-09-27T16:30:58
2016-09-27T16:30:58
null
UTF-8
C++
false
false
8,108
cpp
KeyTests.cpp
/* * University of Bristol – Open Access Software Licence * Copyright (c) 2016, The University of Bristol, a chartered * corporation having Royal Charter number RC000648 and a charity * (number X1121) and its place of administration being at Senate * House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom. * All ...
842144754e9ea75b319c8c06da22d6c67a1bc922
020f173b50370bd40814c8dcd9eda215a0cb62a6
/codeforces/582_div3/d.cpp
279e15dd542df01993789fcff6380848dd4ad84d
[]
no_license
rakati/competitive-programming
9ca7deccc21e46dfd0c9f677f9d300747228f687
a6c5150266613b06c55a0ed4e29fc6e1bc96ecb4
refs/heads/master
2020-06-05T12:12:45.741682
2019-10-11T18:13:06
2019-10-11T18:13:06
192,433,948
0
0
null
null
null
null
UTF-8
C++
false
false
1,541
cpp
d.cpp
/* **************************************************** */ /* By : rakati */ /* **************************************************** */ #include <bits/stdc++.h> using namespace std; #define RP(i,a,b) for(int i = (a); i < (b); i++) #define RV(i,a,b) for(int i = (a); i > (b); i...
fe27b12776a25eee3c3d83cbef12fdcfb98e3d39
3590576142be22a491e5d7a5b678e45c09f10c27
/CheckList/ChackList.cpp
d4fe7d9d6f5dc6c4685f0b88265b92eb64eae631
[]
no_license
yotamni/Methods-in-software-engineering
800e729b80c944f802778f815f7e84c6f4ef52dc
400c8b49810d277c92a6ba5ef66c721101a7cff6
refs/heads/master
2021-01-22T20:08:07.827795
2017-08-03T19:59:18
2017-08-03T19:59:18
85,282,936
0
0
null
null
null
null
UTF-8
C++
false
false
171
cpp
ChackList.cpp
#include "CheckList.h" CheckList::CheckList(int width, int hight, static vector<string>& choice):Panel(width,hight), options(choice) { }; CheckList::~CheckList() { };
5088b2e80f7f7180102ba181f07d5e807de32e68
a62c26e18cc972b4db84903b93736fad5c71ae3f
/RehabilitationConsoleGame/Game.cpp
07d7a6dfb17dc1ba7b7c120dbdc7d9f5f266abd9
[]
no_license
yutateno/RehabilitationConsoleGame
21390ba0d69ce36845b2c51164a077ef99bc209a
51259adff92311e37f8be8814d1f77b10578445a
refs/heads/master
2021-01-03T19:36:41.888214
2020-02-17T01:35:36
2020-02-17T01:35:36
240,210,267
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
6,091
cpp
Game.cpp
#include "Game.hpp" /// ---------------------------------------------------------------------------------------------- void Game::Update() { // 敵出現 SleepBar(); SleepCout("敵が 現れた!"); SleepNull(); ASCIIArt::Draw(m_enemy); SleepNull(); SleepCout("敵は 課題を 課してきた!"); SleepCout("君は もちろん 抗うか?"); SleepCout("抗うなら 1を")...
e8563cbdba2d76f4e8b443917d7a5a87252e908d
fec83cdf13092e149ea84552c8fb00db3f473b42
/include/sloc/bem_forward_problem.h
a9968c35b238535d0bd0f372f805dfc57be7b514
[]
no_license
nsplab/sloc
f4879ffa47a6a77a02d886f533ae0cab7e303172
baa912f5296d999e8295b5b0554324903e950ebd
refs/heads/master
2021-01-20T11:48:21.006123
2014-06-17T17:12:10
2014-06-17T17:12:10
4,937,427
0
0
null
null
null
null
UTF-8
C++
false
false
3,003
h
bem_forward_problem.h
#ifndef BEM_FORWARD_PROBLEM_H #define BEM_FORWARD_PROBLEM_H // mesh, fem, and quadrature methods #include <getfem/getfem_mesh.h> #include <getfem/getfem_mesh_fem.h> #include <getfem/getfem_mesh_im.h> //#include <getfem/getfem_import.h> #include <getfem/bgeot_geometric_trans.h> //#include <getfem/getfem_integration.h>...
63d1814083cdce220cadc17806da74fc5091d99a
49f8efd6f064890c4c524a4f10e17940f8d04f53
/Problem3.cpp
13c1e21d52ff6d70a6acbb6b365060f3b4a54e75
[ "MIT" ]
permissive
raj808569/Assignment2_DynamicProgramming
b13986279df84ceaa98426553651c461a0a4811a
e0781c1e410a5ff67b66c47d680e496b2cd2690c
refs/heads/master
2021-01-21T06:25:00.866411
2017-02-27T10:05:50
2017-02-27T10:05:50
83,229,080
1
0
null
null
null
null
UTF-8
C++
false
false
945
cpp
Problem3.cpp
#include <vector> #include <bits/stdc++.h> using namespace std; int binsearch(vector <int> v,int a,int b,int x) { if(b-a<=1) { if(x<=v[a]) return a; else return b; } int m=int((a+b)/2); if(x<=v[m]) return binsearch(v,a,m,x); return binsearch(v,m,b,x); } int test(vector <int> v,int k,int sz) { vecto...
1041b51c4d17fe3d9d8bca0fa0bb26bbdf5dde87
a881409be87d8c88ea70d345806572336e671f64
/Templates/6 mst_uff.cc
a3770b268584525609f1f38bb744e206420f2b16
[]
no_license
Whisdangist/Cpp
388a89c0016c88feb9c8ee2c37b1cda931910903
9359c5ded92b3b2108dce3885b0ad7681edbbfa8
refs/heads/master
2020-06-30T13:21:19.709257
2020-01-22T10:59:23
2020-01-22T10:59:23
200,838,650
0
0
null
null
null
null
UTF-8
C++
false
false
2,129
cc
6 mst_uff.cc
#include <bits/stdc++.h> using namespace std; #ifdef OFFLINE #include <windows.h> #define ASSERT(exp) assert(exp) #else #pragma GCC optimize(3) #define ASSERT(exp) ((void)0) #endif #define INF 0x0FFFFFFF #define IS_POS_INF(num) ((bool)(num > (INF / 2))) #define IS_NEG_INF(num) ((bool)(num < (-INF / 2))) typedef long...
26caeebc6f612e7c293f13801bbb6cb05b9e0182
9b6ed03cdf47064c9185d78a9acb97b9e23f1237
/source/cppx-core/meta-template/all.hpp
7b1d113a5da623fc620ce7f6033e8c0a4f3bc505
[ "MIT" ]
permissive
alf-p-steinbach/cppx-core
520c5a83f144a27f61c3ca2234d6074c68f3af21
114838a02b092c16825748bfe255ef854f45ac32
refs/heads/master
2021-07-16T12:47:22.370923
2020-06-09T13:02:04
2020-06-09T13:02:04
169,639,517
5
0
null
null
null
null
UTF-8
C++
false
false
137
hpp
all.hpp
#pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi"). #include <cppx-core/meta-template/Type_list_.hpp>
70aa825b7d4663b2115ea6eabb25bf30a8ba481f
2172c2e25885669c1404cec7cec9ba55c48adb7c
/Team13/Code13/src/autotester_gui/src/ASTHelper.cpp
1bc60de353732f8ab01971adcd8c2f66b9735277
[]
no_license
chanjunren/Static-Program-Analyzer
c32914542860e46e5fd0629de56576d1cbfd3fde
920d93f4ce0046315c3634b04c3d97faa4eb71ca
refs/heads/master
2023-03-20T04:17:32.829985
2021-03-12T07:13:51
2021-03-12T07:13:51
346,975,313
0
0
null
null
null
null
UTF-8
C++
false
false
2,934
cpp
ASTHelper.cpp
#include "ui_mainwindow.h" #include "mainwindow.h" #include "GUIWrapper.h" #include <iostream> #include <QFileDialog> #include <QtGui> #include <QTextStream> #include <FrontendWrapper.h> #include <TNode.h> #include <vector> #include <list> #include "GUINode.h" #include <QVector> #include <CFG.h> #include "ASTHelper.h"...
d9400215780864d23026ee904c9e428a90db13f3
ff52cd3e950814a6fe09e1a15e4a74bf6937e84d
/Node.h
c7e0154a6ddba4d2e0370877b4769362868a1b33
[]
no_license
d819r197/BinaryTree
8fa2330b145e372f2b5900f3fc20fe1a26fcf6cf
367f86aeb392ec28ebd0839158ff4e59e04a8700
refs/heads/master
2020-08-01T06:19:50.920877
2019-10-02T03:22:42
2019-10-02T03:22:42
210,896,792
0
0
null
null
null
null
UTF-8
C++
false
false
482
h
Node.h
#ifndef NODE_H #define NODE_H #include <iostream> #include <string> class Node { public: //Constructor Node(); Node(int value); Node(int value, Node* leftChild, Node* rightChild); //Helper Functions void setValue(int value); void setLeftChild(Node* child); void setRightChild(Node* c...
f474c06715d37ebc2aaf8c6fce97e9846117b205
c3af9f82a7883a7da82f7b21bba0fd75900603d7
/include/semantic_mesh_localization/verify_localization.h
f59b2d8a91019f9dac1dd7d7d895db54da5e366a
[]
no_license
amslabtech/semantic_mesh_localization
ef23081e6d8c69a41582829baf67f198754c3b6e
0f9062e244508bd13d244121c36426a4539becff
refs/heads/main
2023-03-03T22:34:07.757980
2021-02-09T05:49:54
2021-02-09T05:49:54
305,280,850
2
1
null
null
null
null
UTF-8
C++
false
false
1,737
h
verify_localization.h
#ifndef __VERIFY_LOCALIZATION_H #define __VERIFY_LOCALIZATION_H #define PI 3.141592 #include "ros/ros.h" #include<random> #include<iostream> #include<fstream> #include<stdlib.h> #include"util_verify_localization.h" namespace semlocali{ class VerLocali{ public: VerLocali(); vir...
aa431ef27002003b596a7686b9e7c34c8732bd08
4e1190455394bb008b9299082cdbd236477e293a
/CodeForces/Rounds/781 (Div.2)/c.cpp
6efb709245fbca88e535896b36ce158ec9314d4c
[]
no_license
Leonardosu/competitive_programming
64b62fc5a1731763a1bee0f99f9a9d7df15e9e8a
01ce1e4f3cb4dc3c5973774287f2e32f92418987
refs/heads/master
2023-08-04T06:27:26.384700
2023-07-24T19:47:57
2023-07-24T19:47:57
202,539,762
4
6
null
2022-10-25T00:24:54
2019-08-15T12:46:33
C++
UTF-8
C++
false
false
1,169
cpp
c.cpp
#include "bits/stdc++.h" #define f first #define s second #define pb push_back #define sz(x) (int)(x).size() #define ALL(x) x.begin(),x.end() #define present(c, x) (c.find(x) != c.end()) using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; bool valid(vector<int> &freq, int mid...
18139d371f9b60f5add9e930ad66eaec0c346f7c
67fa3beb05b351572123991911dd9ace2453953f
/tasks/ANeobichnayaYablonya.cpp
9bca9e155c133fb7880928b7d299fe9ff012a562
[]
no_license
superuzir/jhelper-example-project
0a1aeaacfa86b5ead621a28865b5281fd390bad0
645e203d300d4e48a3e52eca95adefc2a43f82ec
refs/heads/master
2020-05-03T21:29:01.495241
2020-02-28T09:13:30
2020-02-28T09:13:30
178,824,299
0
0
null
2019-04-01T08:58:03
2019-04-01T08:58:03
null
UTF-8
C++
false
false
592
cpp
ANeobichnayaYablonya.cpp
#include <iostream> #include "../library/lib.hpp" class ANeobichnayaYablonya { public: void dfs(vector<vll> &g, vll &vis, vll &lrs, int v, int lr) { if(vis[v]) return; vis[v] = 1; lrs[lr]++; forr(i, g[v]) dfs(g, vis, lrs, i, lr + 1); } void solve(std::istream& in, std::ostream& out) { l...
c0e4680b293e7fe9e73e81acebce5842e3f844fd
ed2d4c6dbdec9bb501b515e25b620917c6d0704e
/controllers/joystick/catkin_ws/devel/include/nodes/motor_set_available_torque.h
dc9e325edd76a7da07062387eb3454487c4081b7
[]
no_license
pvarthol/aristeia1
c069db900c9ce7d0bbcddfd284a74c2b67447354
2da2796673d801c01e5ddeeaccd1f1dcbab2e535
refs/heads/master
2020-05-21T11:42:29.247546
2015-07-13T16:59:20
2015-07-13T16:59:20
39,025,834
0
0
null
null
null
null
UTF-8
C++
false
false
3,068
h
motor_set_available_torque.h
// Generated by gencpp from file nodes/motor_set_available_torque.msg // DO NOT EDIT! #ifndef NODES_MESSAGE_MOTOR_SET_AVAILABLE_TORQUE_H #define NODES_MESSAGE_MOTOR_SET_AVAILABLE_TORQUE_H #include <ros/service_traits.h> #include <nodes/motor_set_available_torqueRequest.h> #include <nodes/motor_set_available_torque...
a2ddd50d6545ec36f0e765ee49d7db6a76fa516e
90d271f638e873cf65c7856ab7b650e4497af544
/LeetCode/117_Populating_Next_Right_Pointers_In_Each_Node_2.cpp
826c1830ed9162bc05d72907ec206d22c43264cf
[]
no_license
DreamDreames/OJ
92269daafe4652ef2a3086e80c6ed6d9831bd807
9b9673f75ffd69a68d446d57cded5e8191bfa887
refs/heads/master
2021-09-12T16:23:35.055334
2018-04-18T14:41:43
2018-04-18T14:41:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,401
cpp
117_Populating_Next_Right_Pointers_In_Each_Node_2.cpp
#include "shared.h" namespace PopulatingNextRightPointersInEachNode2{ class Solution { public: void connect(TreeLinkNode *root) { TreeLinkNode* current = root; while(current && (current->left || current->right || current->next)){ auto horizon = c...
c424599233b8c7f1f4344d1d9f5557a1e8d42f83
eac6cf47d690e9ed35f2b07cc77f5c5ca772dc8c
/core/vtk/ttkTopologicalSimplification/ttkTopologicalSimplification.h
75d021c767383ed75740cf92c565f585866e6d17
[ "BSD-3-Clause" ]
permissive
JonasLukasczyk/ttk
e0c782cffc13379444615f5e7fe2d0fb4a4ffd22
34f6c6b8f113ab7edae8be8c527f60639833e869
refs/heads/stable
2023-01-22T08:34:32.219078
2020-01-29T15:04:01
2020-01-29T15:04:01
152,736,705
1
0
NOASSERTION
2018-10-12T10:48:23
2018-10-12T10:48:23
null
UTF-8
C++
false
false
5,176
h
ttkTopologicalSimplification.h
/// \ingroup vtk /// \class ttkTopologicalSimplification /// \author Guillaume Favelier <guillaume.favelier@lip6.fr> /// \date February 2016 /// /// \brief TTK VTK-filter for the topological simplification of scalar /// data. /// /// Given an input scalar field and a list of critical points to remove, this /// filter m...
770a89b9e97fb142208b1b649a5c3e90638327c2
3321f67c972f5bd3372f078da7f74d1a77641c64
/ROS/src/ocam/src/objectTracking.cpp
a3efe230342d8e93cf33ffd6a2572b2fe4d7f4f3
[]
no_license
MarcoAAG/Tesis
fa5a6e266eef2a6634aa1b79fe5d01ee84f03827
f67b5dff172df7fc4bde4f53c117134299e27d6d
refs/heads/master
2021-06-23T06:21:11.139561
2020-08-31T23:19:02
2020-08-31T23:19:02
256,625,266
1
0
null
null
null
null
UTF-8
C++
false
false
5,686
cpp
objectTracking.cpp
//ROS stuff #include "ros/ros.h" #include "std_msgs/String.h" #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include "std_msgs/Int32.h" #include "std_msgs/Int32MultiArray.h" #include "std_msgs/MultiArrayLayout.h" #include "std_msgs/MultiArrayDimension.h" //C++ stuff #include <iostream> ...
74d629932bd0f8946358ae6216b3ef77ed38e33c
19bdd1ecf1833d17915752a0d9d66780246412a3
/src/network/ssl/qasn1element.cpp
6558643386ddcb832c2f7ce320350ae1dacbe3a3
[ "GPL-3.0-only", "Qt-GPL-exception-1.0", "LicenseRef-scancode-commercial-license", "LGPL-3.0-only", "GPL-2.0-only", "BSD-3-Clause", "MIT", "LGPL-2.0-or-later", "GPL-1.0-or-later", "LGPL-2.1-only", "GFDL-1.3-only", "LicenseRef-scancode-qt-commercial-1.1", "LicenseRef-scancode-kfqf-accepted-gpl...
permissive
Unity-Technologies/qtbase
04964cd1a0a21f4435e476f6299b266d6acb655a
eca43e4a5ef7ce9016e6b8dd4d78f43d7fea6511
refs/heads/qtbuild.5.13.2
2023-07-18T17:20:15.969921
2021-02-12T13:25:37
2021-02-22T11:35:03
170,777,336
7
7
BSD-3-Clause
2023-04-30T11:12:08
2019-02-15T00:25:30
C++
UTF-8
C++
false
false
12,965
cpp
qasn1element.cpp
/**************************************************************************** ** ** Copyright (C) 2014 Jeremy Lainé <jeremy.laine@m4x.org> ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtNetwork module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ho...
6cfbf84c8b83988ea63af00da9921a6f574086d0
bfeb2114e84a8f074579d90cc9164e63fef67226
/Polynomial.cpp
e20e398195dcf560060156bcda004259b78eced9
[]
no_license
adam-alan/Polynomial
f92ba4da07db23afbc405f9f58d2cd122975583f
ecac9b42103579284fc7b7f27a33a84d7956cc58
refs/heads/master
2021-09-23T10:52:13.253901
2018-09-21T15:00:25
2018-09-21T15:00:25
149,774,949
2
1
null
null
null
null
GB18030
C++
false
false
5,179
cpp
Polynomial.cpp
#include "Polynomial.h" #include <iostream> using namespace std; Polynomial::Polynomial() { this->head = new Polyn(); r = head; head->next = nullptr; } Polynomial::Polynomial(const Polynomial & poly) { this->head = poly.head; this->r = poly.r; } Polynomial::Polynomial(int n) { Polyn * pTemp ...
3232db1ce330b9e3adfb4162f61aaa429a37255f
aa21fa640a30e71d0e98edee26218a69e6a545c5
/Core/Control/PIDController.cpp
d1972492c1925459d16a440a7bab8e29e5b4e476
[ "Apache-2.0" ]
permissive
laszlopapai/UAVOnboardController
910750ea6e5edcdbeae65dc4eb99020636ad3938
ca3d9b6314903711e75920d262c7388edfb810e5
refs/heads/master
2022-04-09T00:18:42.434732
2020-03-20T18:13:45
2020-03-20T18:13:45
224,404,592
0
0
null
null
null
null
UTF-8
C++
false
false
1,075
cpp
PIDController.cpp
#include "PIDController.h" using namespace IoT::Core; PIDController::PIDController(const float proportionalGain, const float integralGain, const float derivativeGain, const float maxIntegralSum) : m_proportionalGain(proportionalGain) , m_integralGain(integralGain) , m_derivativeGain(derivat...
904715ca9611a1a3cba8073e0883c6ecd4f5a7e3
b862cf3cd15a35bc98a9db0a23c8d6f238c80028
/src/util.cpp
6d4cff0664ddb3bd1f939433e84ec103b6f8d60d
[]
no_license
cormackikkert/counterfactual-regret-minimization-experimentation
a8b4480cce4130767f82df5180b23ad125a284ed
61ab3975228bfe58e0018ae2c73749d709fc2dad
refs/heads/master
2022-07-29T11:37:51.185548
2020-05-24T09:35:23
2020-05-24T09:35:23
261,677,153
1
0
null
null
null
null
UTF-8
C++
false
false
566
cpp
util.cpp
#include <bits/stdc++.h> using namespace std; // int main() { // int dice =4; // for (int i = 1; i <= 6; i++) { // for(int j = 2; j <= 6; j++) { // Claim dong = Claim(i,j,dice); // cout<<dong.num<<' '<<dong.rank<<' '<<dong.strength<<endl; // } // int j=1; // ...
3d55144f5c589503013044edb66b8ffe44de0e44
3bae1e0391ab877c0ddfbdfbf392a2c5965d1669
/cbmc_trunk/cbmc_trunk_windows_old/.svn/pristine/3d/3d55144f5c589503013044edb66b8ffe44de0e44.svn-base
f2f481f7394ad05ab5dacb2af822b20f7b4b5368
[ "BSD-2-Clause" ]
permissive
cocreature/rvt
36f6e2a153b3f398bd997ebeccdec38ca6259241
b9dc17b21a87b5b93326376117401c3011bb4fa3
refs/heads/master
2021-01-11T16:14:54.732076
2017-08-28T19:18:54
2017-08-28T19:18:54
80,048,732
0
1
null
2017-01-25T19:20:46
2017-01-25T19:20:46
null
UTF-8
C++
false
false
973
3d55144f5c589503013044edb66b8ffe44de0e44.svn-base
/*******************************************************************\ Module: Author: Daniel Kroening, kroening@cs.cmu.edu \*******************************************************************/ #ifndef CPROVER_LANGUAGES_H #define CPROVER_LANGUAGES_H #include <util/language.h> class languagest { public: // conver...
03db94ba9ca8bd50266e46b9ad771ac776083414
dda366cdd464cc35bb3048721597be571365285a
/test/1.1/Convolution2D.cpp
4601f760e77c2998374ba625fc39b84b942f7fc0
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ARM-software/android-nn-driver
94a6604a3b38ec1ce7c668416a92371ff08172c5
bc8cacae736c569fd3caf343e7ad7a9e5534bf27
refs/heads/branches/android-nn-driver_21_11
2023-09-02T00:26:34.272063
2021-11-09T15:43:37
2021-11-09T18:26:07
124,536,256
147
56
MIT
2022-02-01T17:26:27
2018-03-09T12:12:36
C++
UTF-8
C++
false
false
1,080
cpp
Convolution2D.cpp
// // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "../Convolution2D.hpp" #include <log/log.h> #include <OperationsUtils.h> using namespace android::hardware; using namespace driverTestHelpers; using namespace armnn_driver; namespace driverTestHelpers ...
9edb4b41df50af174a2c313dd29f4eb4b8ab21f7
0653c2c0ea12214434c9ecc1831f9416da6abaa9
/src/invlib/io/writers.h
a018dd337aae19735d8d2e28428b7785a3b52e77
[ "MIT" ]
permissive
simonpf/invlib
cb4c0614e70d069bb9f7506819ae69e8e120a147
ba3497d3bcd80943ade2ac3fe8c2efebe250edf3
refs/heads/master
2021-01-24T03:52:27.227410
2019-07-02T13:45:18
2019-07-02T13:45:18
54,574,399
6
2
null
null
null
null
UTF-8
C++
false
false
5,322
h
writers.h
#ifndef IO_WRITERS_H #define IO_WRITERS_H #include <fstream> #include <iostream> #include <iomanip> #include <string> #include <sstream> #include "pugixml/pugixml.hpp" #include "pugixml/pugixml.cpp" #include "endian.h" #include "invlib/sparse/sparse_data.h" #include "invlib/dense/vector_data.h" namespace invlib { ...
87ac1315cd2f2a4f20b1fecf8f4d4c6b64db2620
701e799eaa787ceb79950db88026d6e99152ed77
/ChiterBorland2007/Library/august2002/InputDlg.cpp
9a4ed14e9e1c2814353512e5cefd783346ccd041
[]
no_license
BackupTheBerlios/cheater2008
57c763911dfd1726739d656ebef0d03afdc99670
5396fee13744179f35821012c47ec4021a5cfcf0
refs/heads/master
2021-01-10T19:26:44.504394
2010-05-22T00:47:24
2010-05-22T00:47:24
40,081,822
2
1
null
null
null
null
UTF-8
C++
false
false
554
cpp
InputDlg.cpp
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "InputDlg.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma link "InputGroupBox" #pragma resource "*.dfm" TInputForm *InputForm; //-...
d6c3ee3550d815b561e2a65ad36cd924650f22d9
15214308abdd5dd1603d32303051647282295e3e
/resources/google-groupware/personhandler.cpp
f7ebf079de7a74fe8aff8ba8b5ae72f8b68fc0b7
[ "BSD-3-Clause" ]
permissive
KDE/kdepim-runtime
2c3f6bcc6f251cb3e51b3a49f85009593afd3339
61c3403c0632579d2996d5a3b12380076703ff77
refs/heads/master
2023-08-16T11:15:00.872529
2023-08-16T01:47:59
2023-08-16T01:47:59
42,729,679
14
5
null
null
null
null
UTF-8
C++
false
false
24,328
cpp
personhandler.cpp
/* SPDX-FileCopyrightText: 2011-2013 Daniel Vrátil <dvratil@redhat.com> SPDX-FileCopyrightText: 2020 Igor Pobiko <igor.poboiko@gmail.com> SPDX-FileCopyrightText: 2022-2023 Claudio Cambra <claudio.cambra@kde.org> SPDX-License-Identifier: GPL-3.0-or-later */ #include "personhandler.h" #include "peopleco...
f82140069871bc0cc2a7492e90f665173db781c6
a11130fd68da0ccd45a953f7e2b44bdca98dc0af
/ParseBin/ParseBin.cpp
5ec361bef746782adf8aa8a1a6ea3f7f03f63c32
[]
no_license
Chirag19/ParseBin
a9bd5deb703e40e2106fdb964ecc47abab3066db
b40d703f3f547f5d2fabfa13b9e74cd97684822e
refs/heads/master
2022-06-28T09:28:43.848730
2020-05-07T05:54:07
2020-05-07T05:54:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,052
cpp
ParseBin.cpp
// ParseBin.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <Windows.h> #include <stdio.h> typedef struct { UINT32 vertexCount; UINT32 featureCount; } GeometryHeader; typedef struct { FLOAT x; FLOAT y; FLOAT z; } VertexPositio...
417386039669e5f4f9cd8ddc1aacbdad6023fb75
d686bf545eb0fd59fdc6709bf3a4f419f6afdd5a
/洛谷OJ/02-数组/11-爱与愁-连续和最小.cpp
6acba11eae3fb50e098afce79d864bfec6d6d996
[]
no_license
lesenelir/Learning-Algorithm-Notes
06971a438180f6e09165c0ef5541d2288c6c9ad4
797df10db05a05a14736aa47a9ebbc681c6e75af
refs/heads/master
2021-01-09T15:47:34.808135
2020-07-11T11:40:44
2020-07-11T11:40:44
242,361,406
3
0
null
null
null
null
UTF-8
C++
false
false
593
cpp
11-爱与愁-连续和最小.cpp
#include <cstdio> #include <iostream> using namespace std; /* 连续和最小 */ const int maxn = 10001; int a[maxn]; int main() { int n, m; while (scanf("%d %d", &n, &m) != EOF) { int res_min = 100000000; // 初始设置输出最小值是一个很大的数字 for (int i = 0; i < n; i++) { scanf("%d", &a[i]); } for (int i = 0; i < n - m + 1; i...
51141b30f3c3a536cea492708dd4270cb5a467aa
e50ac350b6ea75ea728074e173a0450afda05318
/ACM/Prictise/other/Knights in Chessboard LightOJ - 1010.cpp
d0d7d28172220e659645582576fe462ee1e7beea
[]
no_license
G-CR/acm-solution
9cd95e4a6d6d25937a7295364e52fa70af4b3731
7026428ed5a2f7afd6785a922e1d8767226a05e8
refs/heads/master
2021-07-23T14:30:18.107128
2021-07-15T14:54:57
2021-07-15T14:54:57
226,522,759
0
0
null
null
null
null
UTF-8
C++
false
false
375
cpp
Knights in Chessboard LightOJ - 1010.cpp
#include <bits/stdc++.h> using namespace std; int _, n, m; int main() { scanf("%d", &_); int cas = 0; while(_--) { scanf("%d %d", &n, &m); printf("Case %d: ", ++cas); if(n < m) swap(n, m); if(m == 1) printf("%d\n", n); else if(m == 2) { int t = n%4; printf("%d\n", n/4*4+(t==0?0:(t>1?4:2))); } e...
5acdcac0cbf22d98212827173773a82c2598f025
3d092aec426f189592f5232200d8df903f61f362
/src/Customer.cpp
bd12371e7fbd482661524cd2ef59451aa6d15895
[]
no_license
edgarvelazquez/ShoppingCart
09a05ea37b4bb2abacc93515023ef8602d291d7e
578563577b6f60855b6d1f4114c5eacc3eeb6092
refs/heads/master
2022-09-15T03:50:11.610745
2020-06-03T05:56:51
2020-06-03T05:56:51
269,001,456
0
0
null
null
null
null
UTF-8
C++
false
false
1,009
cpp
Customer.cpp
/* * Customer.cpp * * Created on: 14/04/2017 * Author: Edgar */ #include "Customer.hpp" Customer::Customer() { CustomerNumber = "Unknown"; CustomerName= "Unknown"; Email= "Unknown"; } Customer::~Customer() { CustomerNumber = "Unknown"; CustomerName= "Unknown"; Email= "Unknown"; } string Customer::...
643b5d144fffd995c2a2c811fcf34309c616f011
98bb13b2eef542b176f0d9753538ce2563144863
/effervescence-carbon/CarbonSource/EFF_ClientMap.cpp
89b0122f10e2c2790c10814a1fa8b8c32c1aa2c2
[]
no_license
efferv/effervescence
605ac8ca3082497b43e13f34e5c2dcc77c82170a
d78f795553baf877c2279f709557ba264787872b
refs/heads/master
2021-05-18T14:29:12.167300
2020-08-18T16:57:23
2020-08-18T16:57:23
251,281,481
0
0
null
null
null
null
UTF-8
C++
false
false
14,766
cpp
EFF_ClientMap.cpp
// // EFF_ClientMap.cpp // effervescence-driver // // Created by Nerrons on 25/3/20. // Copyright © 2020 nerrons. All rights reserved. // // Self Include #include "EFF_ClientMap.h" // Local Includes #include "EFF_Types.h" // PublicUtility Includes #include "CACFDictionary.h" #include "CAException.h" #pragma c...
77068a671477e01e4f03ca8f11061db08fc82924
51d22f1ac8fa4c937a5cb4ec5e753c2979742c33
/entrega_actividades/actividad2/Manuel_Barrenechea/listasimple.cpp
931c732dd72f5721c15890d027de3912c9e763b5
[]
no_license
Nebrija-Programacion/Datos-Algoritmos
aad94f1d79dd9e04bd4dc27b0a5a89cb775a5d0d
cc25aadc37c4e786d1c2ef2c48f85ee519c46604
refs/heads/master
2020-04-18T21:58:53.321855
2019-07-08T15:19:54
2019-07-08T15:19:54
167,781,061
6
42
null
2020-01-30T15:31:34
2019-01-27T07:07:52
C++
UTF-8
C++
false
false
2,368
cpp
listasimple.cpp
#include "listasimple.h" ListaSimple::ListaSimple(int _dato, string _nombre): dato{_dato}, nombre{_nombre}, next{nullptr} { } int ListaSimple::getDato() const { return dato; } ListaSimple *ListaSimple::getNext() const { return next; } string ListaSimple::getNombre() const {...
2487632681436ade2a85ae58448bce838397dbcd
9785af10cfa3d26cb372fb3f7e6a814c377c1a1c
/game/test/MockSleeper.h
80d11ec457370c961b09cc76f6139108b405ab05
[]
no_license
ElFeesho/SunnyLand
8160e11dc6ae5376bc76b017d834ce20bc57d132
d4d817460ef5f8fa496ad5d1492394d10256db9b
refs/heads/master
2021-05-07T03:44:48.830304
2018-07-28T15:46:23
2018-07-28T15:46:23
111,157,169
0
0
null
null
null
null
UTF-8
C++
false
false
162
h
MockSleeper.h
#pragma once #include <engine.h> class MockSleeper : public SL::Sleeper { public: void sleep(long currentTime) override; long sleepInvokedTime{0L}; };
4de6610f9ca012f43eefcf45db9d8391e504aa48
b29abc99c93b63911026332cb12ba53cdc0a9f2e
/zadanie1.cpp
78279d59a0c2525fa34bf8dad296c4f2c079503f
[]
no_license
AkkraOfficial/ZSK
eb1e8f70e82b72ab3b36b7358454b91ab04263e2
fc5e97f948616897409c00ced9b0beae145d0182
refs/heads/main
2023-08-11T10:07:26.601677
2021-09-14T13:43:41
2021-09-14T13:43:41
406,435,060
0
0
null
2021-09-14T16:02:40
2021-09-14T16:02:39
null
WINDOWS-1250
C++
false
false
410
cpp
zadanie1.cpp
#include <iostream> using namespace std; class Rectangle{ public: float dlugosca; float dlugoscb; float pole; float obwod; void pole(); void obwod(); }; void Rectangle::pole(){ cout<<"podaj długość a: "; cin>>dlugosca; cout<<"podaj długość b: "; cin>>dlugoscb; float pole = } i...
6554fff8030842dc98b048de01abac6d8b304fd4
4c5d17bf6c0d4901f972e88aac459088a270b301
/osi/test/allocator_test.cc
1e09f71e0269667aefd49fc7bddf60ceb457643e
[ "Apache-2.0" ]
permissive
LineageOS/android_system_bt
87e40748871e6aa6911cd691f98d957251d01919
7d057c89ab62916a31934f6e9a6f527fe7fc87fb
refs/heads/lineage-19.1
2023-08-31T13:31:22.112619
2023-03-28T18:40:51
2023-07-07T13:02:57
75,635,542
22
245
NOASSERTION
2022-10-02T20:22:16
2016-12-05T14:59:35
C++
UTF-8
C++
false
false
1,555
cc
allocator_test.cc
/****************************************************************************** * * Copyright 2015 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.ap...
17e403eb63234608e2c8a9d8f41b545f0893fe33
c6748dbfac809e3a1e0fbf95710a42160f4d2a8a
/8_4_deleNum/deleteNum.cpp
daf812d87f85450e1897d4741e99672370f9dfbb
[]
no_license
haohaosong/Review
5c60cc98021662d6bdc994f033cbb7a8497edc90
33bc2aa20999af04161fb14efee5718e0544d0bd
refs/heads/master
2020-04-05T14:12:56.226062
2017-08-10T03:04:18
2017-08-10T03:04:18
94,836,660
0
0
null
null
null
null
UTF-8
C++
false
false
921
cpp
deleteNum.cpp
/************************************************************************* > File Name: deleteNum.cpp > Author: haohaosong > Mail: haohaosong@yeah.net > Created Time: Thu 10 Aug 2017 10:31:44 AM CST ************************************************************************/ #include<iostream> using namespace std; ...
05a19eda0c22b5d74768ac04e08b93fcbe971328
8ed8cabb709edbaf0409325b5390a409d2afddda
/Queries with Fixed Length.cpp
ae7eb567ef2650103093bddef1276e076496fa0a
[]
no_license
Ashish-kumar7/31-days-of-code-FOSSNITRR
7904ddfed2f683882c7ee32688eec596a94c5148
f535bffe8c0ddb0cf3bfb66083e12ff4221c7da2
refs/heads/master
2023-03-22T14:41:06.827291
2021-03-20T03:26:46
2021-03-20T03:26:46
260,518,915
3
1
null
2020-10-04T18:52:29
2020-05-01T17:32:05
C++
UTF-8
C++
false
false
1,025
cpp
Queries with Fixed Length.cpp
#include <bits/stdc++.h> using namespace std; int main() { int n, q; cin >> n >> q; int a[n], left[n], right[n], result[n + 1]; fill(result, result + n + 1, INT_MAX); stack<int> s1, s2; for(auto i = 0; i != n; i++) { cin >> a[i]; while(!s1.empty() && a[s1.top()] <=...
aa90a613d5c78a07c650d00c7cdd65b29dc12ce3
aab49f04e01a3f248ce5adb0d65088bc921fb380
/1.Introduction-to-Programming-Practice/week-08/42,play-with-array.cpp
afdbc4438e6d3d89b765c1ef3dc56c4a9bbbe6e8
[]
no_license
gyokkoo/Introduction-to-Programming-FMI-2017
bb8983c159cf802cf3b9b533e503a3dceaf24b4a
6a467f894991d69c6a06cd36309b600d46e91a93
refs/heads/master
2023-06-14T10:27:10.622804
2021-07-07T16:37:41
2021-07-07T16:37:41
107,156,320
2
0
null
null
null
null
UTF-8
C++
false
false
1,047
cpp
42,play-with-array.cpp
/** * * Solution to exercises * Introduction to programming course * Faculty of Mathematics and Informatics of Sofia University * Winter semester 2017/2018 * * @author Gyokan Syuleymanov * @idnumber 62117 * @task 42 * @compiler VC * */ #include <iostream> const int MAX_SIZE = 1024; void shiftLeft(int* arr, int n, in...
6d0fc587bd50b20296c7bd57d66559c43e857b43
549364a79502b5226da29d798e1ee4ba1cc8800f
/OpenGLArrow.hpp
c8a5f4843106ed4107e08b72f838c6262db11388
[]
no_license
robwasab/SensorFusionSimulation
7b1065dd72e4ace579cc5ba29211c51aeacee950
231bedcc4cfaa3ac7b3fda7d3a88b95b6b8e2098
refs/heads/master
2020-07-25T19:22:14.030526
2019-02-19T17:06:16
2019-02-19T17:06:16
208,400,294
2
0
null
null
null
null
UTF-8
C++
false
false
982
hpp
OpenGLArrow.hpp
// // OpenGLArrow.hpp // OpenGLTutorial // // Created by Robby Tong on 1/7/19. // Copyright © 2019 Robby Tong. All rights reserved. // #ifndef OpenGLArrow_hpp #define OpenGLArrow_hpp #include <stdio.h> #include <glm/glm.hpp> #include "OpenGLComposite.hpp" #include "OpenGLCone.hpp" #include "OpenGLPrismCylinder.h...
950d27b0366207b6831837bd471bcd086794b5e2
2f0f108f9ff2909c5e52d4838b8c5ee15f38c4d2
/Week 5 (Dynamic programming - part3)/v5z5.cpp
1adf9d1de3012f402664a87c69be3adff49716a8
[]
no_license
OgnjenArsenijevic/RAF-Design-and-Analysis-of-Algorithms
ba9e2ac4372626b48f7391a0757eae77609a7caf
092d6ebafaf37a4b02c875a6b1963f8d847a7dc6
refs/heads/master
2020-05-04T13:47:48.309328
2019-06-12T23:21:24
2019-06-12T23:21:24
179,174,227
0
0
null
null
null
null
UTF-8
C++
false
false
1,083
cpp
v5z5.cpp
///v5z5 ///Author: Ognjen Arsenijevic ///Time Complexity: O(s1.size() * s2.size()) ///Additional space: O(s1.size() * s2.size()) #include <iostream> #include <string> using namespace std; string s1; string s2; string s3; bool dp[1005][1005]; int main() { ios_base::sync_with_stdio(0); cin>>s1>>s2>>s3; if(...
f0ec6b567419530f3f25299a856f04c8dc638d2d
ca51f6e2d3cf75ec6dd413dac4ea2e0545fabe86
/thread_pool.cpp
6b605ee6fbb94c4ed4fc331a87b61a442ea7e41a
[]
no_license
Gary-cl/webserver
52259dc4f14716d00678daa512d91f77987ca2a8
78fdeda0df69e9ddd62c1a15d63ac607b0f37ac9
refs/heads/master
2021-04-12T08:36:37.198224
2018-05-11T07:33:07
2018-05-11T07:33:07
126,281,904
0
0
null
null
null
null
UTF-8
C++
false
false
2,465
cpp
thread_pool.cpp
#include "thread_pool.h" #include <stdio.h> #include <stdio.h> #include <stdlib.h> static void *thread_entry(void *arg); /* 线程入口,线程池中的线程将在这里等待被唤醒 */ static void *thread_entry(void *arg) { //线程分离,自动回收线程资源 pthread_detach(pthread_self()); thread_pool_t *pool = (thread_pool_t*)arg; pthread_mutex_lock(&(...
ad30523fe93187e81f2250646fdf3790c38a865d
0f050f4bd9321a76d0dbda8fce5ae678796027b8
/src/editor/private/project/interfaces/QProjectExporter.h
c5997426a1f0223cdf104896d9ba57238191fb92
[ "MIT" ]
permissive
Dandielo/mooned-editor
0c215fc3a2d1d24edaf8eedf11a0211c574d6772
72f9068e3d6daaf42c1bc4be23dce2c5a260a6e8
refs/heads/master
2021-05-06T14:23:11.056001
2019-01-21T23:15:09
2019-01-21T23:15:09
113,358,088
0
0
null
null
null
null
UTF-8
C++
false
false
542
h
QProjectExporter.h
#pragma once namespace editor { //! The project base class. class QProject; //! The project element class. class QProjectElement; //! A exporter interface for QProject objects. class QProjectExporter { public: //! virtual dtor virtual ~QProjectExporter() noexcept = default; //! Serializes a given proje...
940a7dc59f541bd1af205d6ae9b7085dbd4ddf1e
fd01af050c2d500964575e44d74fe8de5027cf60
/28.cpp
5f39adf3e85dcba71d2b1adf0d92b96101506d6a
[ "MIT" ]
permissive
vicwer/leetcode
6257410566388b3b991fbf166aaae566e751a794
ee134db9b2d1dc817a9c0c7fe7efe86e0d667f16
refs/heads/master
2020-07-18T22:53:09.957724
2019-12-11T13:18:03
2019-12-11T13:18:03
206,328,044
0
0
null
null
null
null
UTF-8
C++
false
false
1,007
cpp
28.cpp
class Solution { public: int strStr(string haystack, string needle) { if(needle.empty()) { return 0; } int srcSize = haystack.size(); int dstSize = needle.size(); if(dstSize > srcSize) { return -1; } for(int i = 0; i < ...
2984dff18a00d63a251feb84922509f45400765d
d55d7c85eab54303f2f11217be5ad19efbb20c3d
/EnterTheGungeon/ObjMgr.h
385b02ba0dfd489d4b07dfa39f52ff2139330927
[]
no_license
RyuJaeSung/EnterTheGungeon_remade
f47af633547200a3df5b71abd1281c23b6766d96
98db0a4d8ea28e0e107ab0b8d422859eed27261b
refs/heads/main
2023-05-07T02:52:39.544146
2021-05-30T17:37:13
2021-05-30T17:37:13
372,269,547
0
0
null
null
null
null
UTF-8
C++
false
false
1,176
h
ObjMgr.h
#pragma once #ifndef __OBJMGR_H__ #define __OBJMGR_H__ class CObj; class CObjMgr { private: CObjMgr(); ~CObjMgr(); public: void Update(); void Late_Update(); void Render(HDC DC); void Release(); public: inline CObj* Set_Player() { return Obj_List[OBJ::PLAYER].front(); } inline CObj* Set_Gun() { return Obj_Li...
08507c2a6fb5f8b740ed4c5461e2468e6ed3c095
196442eb5e550ee882b90dc417ad254c5ffc2b97
/Classes/scene/TGameScene.cpp
846e473a6d0778617bf720120e308b5cc9a87606
[]
no_license
tangLovemi/my-game-first
661449f2ebf8e9bf78a77d49f101340d665614fd
f11d2451781c0c5eeee321bc8a14dc1c2e0f57d8
refs/heads/master
2020-12-24T13:52:23.606609
2015-07-28T02:42:59
2015-07-28T02:42:59
39,808,416
0
0
null
null
null
null
UTF-8
C++
false
false
251
cpp
TGameScene.cpp
#include "TGameScene.h" TGameScene::TGameScene(void) { } TGameScene::~TGameScene(void) { } bool TGameScene::init() { if(!CCScene::init()) { return false; } m_gameLayer = TGameLayer::create(); this->addChild(m_gameLayer); return true; }
c6227d47a5fb0748a26676a51a6a4018e83a168c
719a86d1a7a937761a895744ea4f0a6b14b6dfa3
/1_24/main.cpp
e12c6652499db3e473304eed8c174266d2354211
[]
no_license
zepeh92/study_modern_cpp_challenge
221264e2260715ab5d04aeb8f170f899c05f1600
de2f38ac9fd9f8bc64019f933309a44a222b0a40
refs/heads/master
2020-03-31T13:40:36.106364
2019-01-18T17:13:49
2019-01-18T17:13:49
152,264,735
0
0
null
null
null
null
UHC
C++
false
false
941
cpp
main.cpp
/* 24. 문자열을바이너리로변환16진수문자열을받아서, 그문자열숫자값들이변환된 8비트정수들의벡터를반환하는함수를작성하라. 다음의예를참고하시오:입력: "BAADF00D" or "b((dF00D", 출력 : {0xBA, 0xAD, 0xF0, 0x0D} 입력 "010203040506", 출력 : {1, 2, 3, 4, 5, 6} */ #include <iostream> #include <iomanip> #include <string_view> #include <sstream> #include <vector> using namespace std; auto to_vect...
94deb7e6d9f6f16cc41ec05b82c904e0a0511d39
9d0b75314137125d6a7d6eddbe9436db99e1de8a
/example/graphic/include/regress/ALMatrix.h
4583d4691a9d28a5dc1eaff6043ef3fbaf131063
[ "Apache-2.0" ]
permissive
jxt1234/Renascence
0c4cdcda5a94d450fa96017e723ce53e564296bc
c0a801e337a31de05f49047fd11920a3c2e32ed6
refs/heads/master
2021-01-17T09:49:49.444649
2016-12-29T08:04:36
2016-12-29T08:04:36
13,532,616
3
6
null
2015-12-07T06:54:35
2013-10-13T02:34:30
C++
UTF-8
C++
false
false
1,246
h
ALMatrix.h
#ifndef INCLUDE_CORE_ALMATRIX_H #define INCLUDE_CORE_ALMATRIX_H #include "ALRefCount.h" #include <ostream> /*This is just for continue matirx*/ class ALMatrix:public ALRefCount { public: ALMatrix(int w, int h):mW(w), mH(h){} virtual ~ALMatrix(){} void reset(int w, int h); inline int ...
0a2f96bd284448d7e0c7b642897c0531d885fcc7
153fb1ae48e7805f5d9abad61c2d956beee0148e
/Source/SVONav/Private/SVONavVolumeHierarchical.cpp
887330a029b08d8ab09277ca26fb99946f3b85bf
[]
no_license
Ninh-Hoang/SVONav
e86ae47cc7646c6ef118629fa2432d33e0102671
04a91392ca3abfcf7275ae1e324f082811b92921
refs/heads/main
2023-04-07T15:19:11.820323
2021-04-12T04:53:35
2021-04-12T04:53:35
350,921,796
1
1
null
null
null
null
UTF-8
C++
false
false
21,183
cpp
SVONavVolumeHierarchical.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "SVONavVolumeHierarchical.h" ASVONavVolumeHierarchical::ASVONavVolumeHierarchical(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { } void ASVONavVolumeHierarchical::BeginPlay() { Super::BeginPlay(); } ...
5db5738e89d471444bb9d8ddb803914ef79b140f
00f1835801d0174c523831cd36c103172d367af2
/1232-SKYLINE.cpp
aa25a1a5cacdf063a58bf358051f2e013a99f7e6
[]
no_license
JhairtVegaQ/uva-online-judge
93649a704dae1b6dfa073c40728ab9291e534540
b4f3957950cea1ff303bec2a63701da29fb7910a
refs/heads/master
2023-07-27T20:50:08.376417
2021-05-15T10:42:28
2021-05-15T10:42:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,959
cpp
1232-SKYLINE.cpp
#include <bits/stdc++.h> using namespace std; const int SIZE = 100000; struct Node{ int maxH,minH,lazy; }; Node segment[3*SIZE]; int res; void update(int idx, int l, int r, int h, int qlow, int qhigh){ // lazy update if(segment[idx].lazy) { // propagate update if it is not a leaf // range u...
a1c993ab8987187b3d712b15aa430280dad5061b
c1e00b279e82dc037bc3a2350bdeb401b3858dde
/src/liquid.cpp
4eb5a57895a7cbcaba48316b4b1047fcb5c000df
[]
no_license
AntonYermilov/storm-in-a-glass
b33c49a60efa4f1bc4225eccf7f81e944dee6038
8e1fedc480a155f86fb75570b79415b85e10475e
refs/heads/master
2020-03-28T18:57:53.958333
2018-09-15T20:36:56
2018-09-15T20:36:56
148,931,126
0
0
null
null
null
null
UTF-8
C++
false
false
154
cpp
liquid.cpp
#include "liquid.h" liquid_t::liquid_t(float liquid_density, float liquid_level) : liquid_density(liquid_density), liquid_level(liquid_level) {}
2d36464ecd1056897f70fc1b3b8b0819cf8f89df
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/git/gumtree/git_repos_function_1982_git-2.10.0.cpp
2551240dedb841385fd5248bbd525bb070e260aa
[]
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
2,259
cpp
git_repos_function_1982_git-2.10.0.cpp
const char *read_gitfile_gently(const char *path, int *return_error_code) { const int max_file_size = 1 << 20; /* 1MB */ int error_code = 0; char *buf = NULL; char *dir = NULL; const char *slash; struct stat st; int fd; ssize_t len; if (stat(path, &st)) { error_code = READ_GITFILE_ERR_STAT_FAILED; goto c...
cf0f6d4d636cbe6c74938f7ee9cacc75b4365534
a1c20a178b375f93767467d74191f21ca601c100
/69系统模块/客户端组件/升级程序/UpdateFrame.h
bff287c77218d8e921b3b275146f66de221bf2f6
[ "MIT" ]
permissive
iuvei/fox
f6c419a6ff7736c54f06272a949566154ecc206e
aafd03eeb8c14bbdf6812d50cb789c0e7979cc70
refs/heads/master
2020-04-19T19:44:28.313828
2016-08-27T03:48:04
2016-08-27T03:48:04
null
0
0
null
null
null
null
GB18030
C++
false
false
6,767
h
UpdateFrame.h
#ifndef DLG_DOWN_LOAD_HEAD_FILE #define DLG_DOWN_LOAD_HEAD_FILE #pragma once #include "Stdafx.h" #include "Resource.h" #include "SkinLayered.h" #include "DownLoad.h" //////////////////////////////////////////////////////////////////////////////////////////////// //下载状态 #define DOWN_LOAD_IDLE 0 ...
8be775a4cb7ccb5cffecd5a7930d4a809ebb758b
be32ed576ed4705b0f280eede1ade7c750c11311
/Week11/Queue/QueueList.h
ac5e199b1646c6efbc6e45244c27cf6a8f0f966a
[]
no_license
AleksandrinaKovachka/Data-structures-and-algorithms
40be53778ebebe38ca518ccb8cc6cc1c3a91ffce
3aa2bd50ebbf07c5de25b889328f464f69585aea
refs/heads/main
2023-02-22T00:09:00.545288
2021-01-18T09:13:38
2021-01-18T09:13:38
301,178,175
5
3
null
null
null
null
UTF-8
C++
false
false
2,384
h
QueueList.h
#pragma once template <class T> class QueueList { private: struct Node { T value; Node *next; Node() : next(nullptr) {} Node(const T& val, Node *n = nullptr) { value = val; next = n; } }; Node *front, *back; size_t size; void copy(const QueueList<T>& rhs); void erase(); public: QueueList...
3dad9daaee1749637adad91c24d7d7eba5173784
8f50c262f89d3dc4f15f2f67eb76e686b8f808f5
/Trigger/TrigT1/TrigT1Muctpi/src/Mioct/InclusiveMultStrategy.h
03af50641a5925987d821654109104d3460bbd93
[ "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
1,569
h
InclusiveMultStrategy.h
// Dear emacs, this is -*- c++ -*- /* Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ // $Id: InclusiveMultStrategy.h 362102 2011-04-28 13:17:28Z krasznaa $ #ifndef TRIGT1MUCTPI_MIOCT_INCLUSIVEMULTSTRATEGY_H #define TRIGT1MUCTPI_MIOCT_INCLUSIVEMULTSTRATEGY_H // Local include(s): #include...
5b5078dca4a90efefa80a4e31d1cb0d47f186dc5
f5345f9b2ae45288280204ffc5e0384a2063158e
/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp
5fcf524f64b92cc68da7f44b2691faa94a4cd330
[ "Apache-2.0" ]
permissive
isabella232/axis-axis1-c
7865073dc36519d5d4a30eaeb9f2830f44322108
5932292c4c2092eda1cd2fc05f776b4b1a20a031
refs/heads/master
2022-04-12T03:27:56.654760
2015-02-22T21:27:05
2015-02-22T21:27:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
29,911
cpp
HTTPSSLChannel.cpp
// Copyright 2003-2004 The Apache Software Foundation. // (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
94740bd7b2645b102a327b16134e9d5318686770
adb8c274c71d90c7038ef7c5705f6538bd509a68
/client/Render/ImgRender.cpp
1c9a7b4fc823469d357bcf952b8e478527a8cc51
[]
no_license
CSID-DGU/2019-1-OSSP1-BAOS-2
254c07cf115809be1c52c414e5bcc76cd5afb680
c79e6301a0446a9efb578503db6d5baf2c4f0e25
refs/heads/master
2020-05-07T05:47:50.988026
2019-06-18T03:53:53
2019-06-18T03:53:53
180,284,827
0
2
null
null
null
null
UHC
C++
false
false
1,272
cpp
ImgRender.cpp
#include "DXUT.h" #include "../Home.h" extern CTexture * g_pTexture; extern CSprite * g_pSprite; extern CCamera* g_pCamera; CImgRender::CImgRender(CGameObj * pGameObj) ://렌더링 오브젝트 생성 및 초기화 CRender(pGameObj), m_iTexture(-1) { } CImgRender::~CImgRender(void)//소멸 { g_pTexture->ReserveRelease(m_iTexture);//텍스쳐 relea...
5b56fc031eb7194ecfe971360a5290edbc48aa21
77918fcc616e98a2ad40205f9feca6ef0ff35f15
/src/NinEmu/Menu/DiskMenu.cpp
3b3deee2b62891b5c42cd0488f6fcdadef27f40a
[ "BSD-2-Clause" ]
permissive
kube/nin
80508115248cecbe99e8949317bb30875d119a71
460fc9fbdc3ed691bf92779f401e028d4e1683e2
refs/heads/master
2022-10-16T08:47:59.481491
2020-06-12T09:26:28
2020-06-12T09:26:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,419
cpp
DiskMenu.cpp
#include <QtWidgets> #include <NinEmu/Menu/DiskMenu.h> DiskMenu::DiskMenu(QWidget* parent) : QMenu(parent) { setTitle(""); } void DiskMenu::setDiskSideCount(int diskSideCount) { QAction* action; if (diskSideCount == 0) { setTitle(""); return; } setTitle(tr("Disk")); for (...
1d72ecb086381aa1a62a3ad7d9487c9993a2b199
1d99e97b68558f832cbbb4f47c67f0eaa5fa6c13
/src/intern/object/skin/MorphSkin.cpp
d206db71f3fc42e4f24934b48aa956ba872f821a
[ "MIT" ]
permissive
Liby99/Rotamina
643a2d8df598d39db222b07ac61a4047f35d55a9
47a588b7e4674d3ab20d9d7afc43b25c7e0fa304
refs/heads/master
2021-05-11T21:47:51.695839
2018-03-07T20:27:09
2018-03-07T20:27:09
117,479,851
5
0
null
null
null
null
UTF-8
C++
false
false
1,025
cpp
MorphSkin.cpp
#include "object/skin/MorphSkin.h" using namespace rotamina; MorphSkin::MorphSkin() : Skin() {} void MorphSkin::addWeight() { weights.push_back(0); } void MorphSkin::setWeight(int index, float w) { weights[index] = w; } std::vector<float> & MorphSkin::getWeights() { return weights; } float MorphSkin::...
90348b9b432d584425a3cb8e741a719680b1f0c5
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1485490_0/C++/FelixP/gcj-c.cpp
c1ec3c66e1b8b50ed8cc759a9c8988b08af831f7
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,631
cpp
gcj-c.cpp
#include <cstdio> #include <iostream> #include <sstream> #include <cstring> #include <string> #include <vector> #include <map> #include <set> #include <queue> #include <stack> #include <algorithm> #include <math.h> using namespace std; typedef pair<int,int> ii; typedef long long LL; typedef vector <int...
717196a598eb9718c4e91d6fa1c3c336f693516b
802b24be93e7ff51410c990e383b2acfd806a363
/HummusEngineProject/HummusEngine/Application.h
9cbdf2cfdc36f8adfa6ddb0cc677ab5a5b576f41
[ "Apache-2.0" ]
permissive
Ittaimann/HummusEngine
5e6d0c4f22a8e46df9d3776433e27f4626a2c779
ce2e9438c90a9e74395fa7e4e557aa26d1b4dc49
refs/heads/master
2020-09-27T06:49:45.083795
2019-12-05T06:16:25
2019-12-05T06:16:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
262
h
Application.h
#pragma once #include "Core.h" namespace HUM { class HUMMUS_API Application { public: Application(); virtual ~Application(); void Run(); void Print(); void MakeHummus(); }; // To be defined in CLIENT Application* CreateApplication(); }
7fd3a0d688c78ea1656365d0f6ec6fc38ba4d5e9
cd8f055ceaed676eddb46d78bf92041b26c7aa15
/src/subWin.h
d7ed3caba6db3dab3aeca21e76ac43c5e2881ac7
[]
no_license
mariasom/diplomovka
019bba5f114c5ebcee4a069565e9ecdaa7ab77aa
3b91439a5d1102abfcefe6face76518589722496
refs/heads/master
2022-12-23T23:53:32.874423
2020-10-05T18:55:57
2020-10-05T18:55:57
212,697,954
0
0
null
null
null
null
UTF-8
C++
false
false
2,602
h
subWin.h
#pragma once #include <QString> #include <QStringList> #include <QTreeWidgetItem> class subWin { protected: QString fileName; //win Param QStringList Data2D; QStringList Data3D; QString histInfo; int parent; int currentIndex; int howManySubsurf; // subsurf param double sigmaSubsurf; double tauSubsurf; ...
b91d8be318f76e23b8d4ad3fe4df76e97e4c1fc2
eb950d32379238e1f5b0adcf942d4704f0a6035b
/src/Server/Model/Character/NotMeditating.h
ef3443131adc17040f2e7e5fef232483eccd6d98
[]
no_license
FrancoMariotti/tp-final-argentum
2e0a3e04d58f489ce5a4a0d733f325cc6c067cf7
b452211b8d5f5fb0e599a8a017ca8c5bcfa669cb
refs/heads/master
2023-07-09T20:01:58.926580
2021-08-17T19:01:11
2021-08-17T19:01:11
269,179,571
2
0
null
null
null
null
UTF-8
C++
false
false
356
h
NotMeditating.h
// // Created by franco on 19/7/20. // #ifndef ARGENTUM_NOTMEDITATING_H #define ARGENTUM_NOTMEDITATING_H #include "Server/Model/Character/MeditationState.h" class PlayableCharacter; class NotMeditating : public MeditationState { void playerMeditatedFor(PlayableCharacter* character, float seconds) override; }; ...
dfac6dda4917049bb17e88795389ce616621c9cb
981f86fae79d30cba7bf5c4aa21a0486333cc772
/OpenGLDonut/main.cpp
cfd81d427474f7dbafd0c4822d0de4b2c482afb7
[]
no_license
THandsonwu/OpenGLTorus
e49d2a8edae134782f89ea3e602695cd23c9546c
f422d5fa3c7736fe4030e4003b08b9b917a3a6f5
refs/heads/master
2022-11-16T11:13:29.866100
2020-07-15T10:36:14
2020-07-15T10:36:14
279,839,186
0
0
null
null
null
null
UTF-8
C++
false
false
5,769
cpp
main.cpp
// // main.cpp // OpenGLDonut // // Created by tanzhiwu on 2020/7/14. // Copyright © 2020 tanzhiwu. All rights reserved. // //为了演示OpenGL背面剔除,深度测试,和多边形模式,这些库我们上个demo已经注释过是什么用途 #include "GLTools.h" #include "GLMatrixStack.h" #include "GLFrame.h" #include "GLFrustum.h" #include "GLGeometryTransform.h" #include <math...
cfd6633ea1b2f8e65797135b7b981d978ccf7ea7
d179d0e858a4f94b604fbe1e210db1da26ea2da6
/textures.h
f5e073f79ee2d3c3875f3c221eb93724b91ebc42
[]
no_license
ArtemK123/Electro_Man
6f648a4dd7c2b52690e067d9f642be4e0ae3c052
e3a0cc45a6de88889a5622b293d851da58ccf1ae
refs/heads/master
2020-04-07T08:57:18.282869
2018-12-19T09:05:02
2018-12-19T09:05:02
158,234,329
0
0
null
null
null
null
UTF-8
C++
false
false
478
h
textures.h
#ifndef TEXTURES_H #define TEXTURES_H #include "base_classes.h" #include <QPainter> class Texture : public Drawable_Object { public: Texture(int x, int y, QPixmap image); void draw(QPainter& painter) override; ~Texture() override; }; class Animated_Texture : public Animated_Object, public Destroyable_Obj...
8e5c0c6135bdc7046026b4f96a150e4b400e8e82
4546398a18590e4e182629fb55d185547dd6df0a
/2017/problems/ofugsnuid/submissions/accepted/ohg.cpp
39937cf1c7951fbac8d9413ea174d7f90666ad9b
[]
no_license
ForritunarkeppniFramhaldsskolanna/Keppnir
352341fa97c6349af65b513c03171f3e706f7db2
65c8eb5358d8a49f956edf76c2d47b9372accc3c
refs/heads/master
2023-04-28T15:33:36.396225
2023-04-23T15:00:15
2023-04-23T15:00:15
78,303,702
1
2
null
null
null
null
UTF-8
C++
false
false
265
cpp
ohg.cpp
#include <iostream> int main(){ std::cin.sync_with_stdio(false); int n; std::cin >> n; int *a = new int[n]; for(int i = 0; i < n; i++) std::cin >> a[i]; for(int i = n - 1; i >= 0; i--) std::cout << a[i] << std::endl; delete [] a; }
7e6d04e602a9eff7c8d08b9ef6de4fa980eaf592
391be2e94ef2861258c27bc483317448a795aa4a
/dialogsyndrome.cpp
4435309d8807f6bc329d2ca934a75bb40a373946
[]
no_license
konprou/QuCirDET
ffa68240169ef42d70aea617d46dec0d8d683f94
0d385b4b07d6598cbda704bb403340155e670aa1
refs/heads/master
2020-12-02T07:43:56.074289
2017-07-15T15:53:53
2017-07-15T15:53:53
96,717,982
0
0
null
null
null
null
UTF-8
C++
false
false
2,584
cpp
dialogsyndrome.cpp
#include "dialogsyndrome.h" #include "graphwidget.h" DialogSyndrome::DialogSyndrome(QMenu *itemMenu, int pQb,int lQb,int q,int s,int NoAnc,QWidget *parent) : QWidget(parent) //inherits from QWidget class { syndWidgetF(); this->NoAnc=NoAnc; NoSyndSteps=0; physQbts=pQb; logQb=lQb; ...
4c5d101e85e1b321b75af62d826f2d7979ef22fa
b5b56ce3eb1dfe324eafbda3e0e5f338c5dd72e2
/Server/Shared/include/SortDistPacket.h
17b4e68cb7cf5e65f05a5690220886327d91560d
[]
no_license
wayfinder/Wayfinder-Server
5cb91281b33cea6d8f6d74550b6564a71c4be1d7
a688546589f246ee12a8a167a568a9c4c4ef8151
refs/heads/master
2021-01-22T22:39:08.348787
2012-03-31T11:34:42
2012-03-31T11:34:42
727,490
8
1
null
null
null
null
UTF-8
C++
false
false
4,126
h
SortDistPacket.h
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condit...
d893c95173eab6ad6d64d3c2b395ad03c1c10947
d8d64c4dc1d1e4b5e6a72b575efe1b740823342e
/_includes/source_code/code/24-PDP/souvlakia/souvlakia_nlogn_map.cc
5766e9753f712a1e54ab04fafdf2c3ace1e35d9f
[]
no_license
pdp-archive/pdp-archive.github.io
6c6eb2a08fe8d20c8fb393e3437e89e2c0e9d231
9f8002334de7817a998a65a070f899b40f50e294
refs/heads/master
2023-06-08T19:07:22.444091
2023-05-31T12:45:43
2023-05-31T12:45:43
169,656,266
26
19
null
2023-05-31T12:45:45
2019-02-07T23:00:27
C++
UTF-8
C++
false
false
6,075
cc
souvlakia_nlogn_map.cc
#ifdef CONTEST #define NDEBUG //disable assert() checks #endif #include <cstdio> #include <algorithm> #include <climits> #include <cstdint> #include <cassert> #include <vector> #include <list> #include <cstring> #include <cmath> #include <set> #include <map> using namespace std; const int32_t MAXN = int32...
ec656f70aa7a7f1c05dcb0be5270dc3b86ec4d70
80929efa2c921495493a71546d9edfc8db0aeee0
/WildcardMatchingDP/WildcardMatching/Source.cpp
38681f75acc2b32300c8201514e94ca855fecffc
[]
no_license
VladimirDrozdenko/Algorithms
8831b9052e3e50bcb59421e875d66e7aad6e66ff
c7fe56b727cf4b617ea2c78721a2d485625fae72
refs/heads/master
2023-01-09T19:44:21.028600
2022-12-28T21:34:12
2022-12-28T21:34:12
48,702,245
0
0
null
null
null
null
UTF-8
C++
false
false
1,356
cpp
Source.cpp
#include <iostream> #include <string> #include <vector> using namespace std; string RemoveDups(const string& p) { string out; for (size_t i = 0; i < p.size();) { out += p[i]; if (p[i] == '*') while (p[++i] == '*') out += p[i]; else ++i; } return out; } bool IsMatch(const string& s, const string& p) {...
4ad0f7c6f27f95066a4c771c0d3a4665f5edc4b0
a7f8ec8fa1014a0314f14059eb8e17c02e6c2760
/src/hfileDemo/Circle.h
4f1ef77989087238d738e0fe266de40a2e3ba031
[]
no_license
fighting71/Cpp.Study
d0e3d4046e44fc787a8b8f90109f706f2e9510b4
84e0a5deee3da45ab53eafefa796982d3025efcc
refs/heads/master
2023-07-09T20:33:03.668103
2020-11-06T10:25:50
2020-11-06T10:25:50
392,945,642
0
0
null
null
null
null
UTF-8
C++
false
false
206
h
Circle.h
#ifndef CIRCLE_H #define CIRCLE_H class Circle { private: double r; //半径 public: Circle(); //构造函数 Circle(double R); //构造函数 double Area(); //求面积函数 }; #endif
8a1ec67ae4d954483592b7626b73e742a347e6da
75ae2e16b483f34c86538a2015416e03c563ae06
/code/windows/c_c++_code/c++ primer/14_8_2标准库函数对象.cpp
21239793fc40fa1e2060019abb5ba4c391433e2f
[]
no_license
nijiahe/code
962d61efced0e4b7af0fcb93f158a489ed9237b0
4ac258c2e968d9bdfea7ffb76d1da4d79d6de94a
refs/heads/master
2021-02-08T00:49:28.074815
2020-03-01T05:32:44
2020-03-01T05:32:44
244,090,411
0
0
null
null
null
null
UTF-8
C++
false
false
550
cpp
14_8_2标准库函数对象.cpp
#include <iostream> #include <fstream> #include <sstream> #include <algorithm> #include <functional> #include <memory> #include <numeric> #include <iterator> #include <cstdlib> #include <string> #include <vector> #include <list> #include <map> #include <unordered_map> #include <set> #include <utility> #include <cstring...
ae8e174c01191f807c319fb5e4f73a3aa210fc43
fd3ef510630c101cb5bc08ae49d8187ea2df07de
/srn.cpp
bc6b70092fb1491e091002005fc20b27223644f4
[]
no_license
rahulsethi97/OperatingSystemPrograms
1014037c28a0f4204fd70372275135e952aa2447
c44d21857738424ddc7bb780ff12673ddd6e1407
refs/heads/master
2016-09-13T06:17:10.818054
2016-04-21T11:32:43
2016-04-21T11:32:43
56,768,471
0
0
null
null
null
null
UTF-8
C++
false
false
2,808
cpp
srn.cpp
#include<bits/stdc++.h> using namespace std; int service_time[10000]; int arrival_time[10000]; int wait_time[10000]; int turn_around[10000]; int hash_array[10000]; int get_data() { int n,i,flag; printf("\nHow many Processes, Do you want? : "); scanf("%d",&n); printf("\nDo you want to enter arrival time of processes...
bbd38d379c7ca500879bc5c43501c67b354026b6
0069944554989c74aef4743a074f8097b9fc9049
/beverage.cpp
6983f8aba7beaf4a02b8db02b151ffd09a0dfdc7
[]
no_license
AnthonyJr/Misc-C-Programs
1b354279c554d538eb1a2783024a82c985684c76
6f512b631c53afaa4cc5506fa256131edb788484
refs/heads/master
2021-01-19T04:34:21.054196
2017-04-06T03:17:56
2017-04-06T03:17:56
87,381,626
0
0
null
null
null
null
UTF-8
C++
false
false
1,537
cpp
beverage.cpp
//Lab 3 Part 2 //Anthony Snow #include <iostream> #include <iomanip> using namespace std; int main() { int num, number; float cost; char beverage; bool validBeverage; cout <<fixed << showpoint <<setprecision(2); do { cout << endl << endl; cout <<"Hot beverage Menu" <<endl << endl; cout <<" A: Coffee $1....
03ebf12982d7fe501d4f3851c303da8b234f0543
80ff3ab8ff8d0d8483c79612d47d65e27f4ec25e
/Code/main.cpp
5fd7046872ea778897ca8ada1b6b35736e89423a
[ "MIT" ]
permissive
arapson/PortalGame
6a2a9ad5e2947fa6723d1de87f104fdcd6c7ce36
8425d03db829a543e5776e3dc619231dd19f5118
refs/heads/master
2021-01-12T08:13:44.394642
2016-12-15T02:09:13
2016-12-15T02:09:13
76,514,558
1
0
null
null
null
null
UTF-8
C++
false
false
25,625
cpp
main.cpp
// Avery Rapson and Jacob London // Nov. 17, 2015 /* ------------- */ /* Project 3 */ /* ------------- */ /* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- Objective of Program: - Requ...
f30babce04bb4c32fa94346d1126ee62f6a1d6d8
992b3deffde391784fd76c626c78cd0a1f51272a
/lib/Engine/hpp/object.hpp
36a9f0d12c7c6aababead2962563c1cec45c0083
[]
no_license
Siluk98/Paint
4676d7da85b5d235b8fe3999753887fdb72cd2f4
9d409032c96d0ce028a642f3d3b89ad25953ce27
refs/heads/master
2020-03-26T16:49:18.397916
2019-09-16T14:53:28
2019-09-16T14:53:28
145,125,203
2
0
null
2019-01-02T04:20:50
2018-08-17T13:41:02
C++
UTF-8
C++
false
false
1,665
hpp
object.hpp
#ifndef OBJECT_H #define OBJECT_H #include "animation.hpp" //#include "event.hpp" #include "customTypes.hpp" class Event; class Object :public sf::Drawable { public: Object(); ~Object(); virtual void update() = 0; void factory(Object*, std::vector<Object*>*); void setObjsRef(std::vector<Object*>*)...
0df5722c1f3807d41d434235a1d27837575ac3d5
c51febc209233a9160f41913d895415704d2391f
/YorozuyaGSLib/source/CUnmannedTraderLazyCleaner.cpp
e617b9edaa419fce11dd083199c28669952d2f95
[ "MIT" ]
permissive
roussukke/Yorozuya
81f81e5e759ecae02c793e65d6c3acc504091bc3
d9a44592b0714da1aebf492b64fdcb3fa072afe5
refs/heads/master
2023-07-08T03:23:00.584855
2023-06-29T08:20:25
2023-06-29T08:20:25
463,330,454
0
0
MIT
2022-02-24T23:15:01
2022-02-24T23:15:00
null
UTF-8
C++
false
false
1,932
cpp
CUnmannedTraderLazyCleaner.cpp
#include <CUnmannedTraderLazyCleaner.hpp> START_ATF_NAMESPACE CUnmannedTraderLazyCleaner::CUnmannedTraderLazyCleaner() { using org_ptr = void (WINAPIV*)(struct CUnmannedTraderLazyCleaner*); (org_ptr(0x140392a50L))(this); }; void CUnmannedTraderLazyCleaner::ctor_CUnmannedTraderLazyClean...
04e0e0d22ee83792ea11c6af8d97f510b4118c30
0ae1b18e9ca788800329ec5921e8730033516488
/Masm LST Compiler/DD.h
7d39b1dd1f315b3e60552a147f141b1791eab427
[]
no_license
liffert/thohprog
d1370c309595b13882821823ac6d809c7bb531df
18811e4613801e882cdfec3a4cdeab4f7787a1e8
refs/heads/master
2020-07-12T18:10:17.601526
2020-02-02T09:11:58
2020-02-02T09:11:58
204,877,942
0
0
null
null
null
null
UTF-8
C++
false
false
168
h
DD.h
#pragma once #include "Command.h" class DD : public Command { public: DD(); ~DD(); virtual void Display(); int control(); private: int count_of_operands = 2; };
f25bb825617e17f9339b0e344e966ef4e7b5139a
4dabf1507fb21d9874f8ad9495dda7a757a3ddf5
/main.cc
c2becc073232deb8f2e11dd2559ac18b28b26868
[]
no_license
rahuljagad/PaymentApplication
4d2f8eefacaf9eb7eba0d1dbdd40212d0748fc89
83c1f3c65db6c00c10bcd4e738e66ada659624bb
refs/heads/master
2021-06-03T16:15:44.455682
2021-05-04T20:46:56
2021-05-04T20:46:56
132,678,287
0
0
null
2021-05-04T19:28:21
2018-05-09T00:02:31
C++
UTF-8
C++
false
false
1,719
cc
main.cc
/* * Venmo type payment application program * Way to run the program: * Compiling: * ./compile.sh * Running: * ./venmo --user usera:50 --user userb:60 * */ //System headers on the top #include <thread> #include <iostream> #include <unistd.h> #include <stdio.h> /* for printf */ #include <stdlib.h> ...
da3669dbad1ab8b92c01518b518388f03dc9aaf6
f31ecc15b0c413b5b144dc50e95b8b356c16248a
/DICTIONARY/trie.h
8ccc35a93904e966f6a80ca7bbbd28c4def305f2
[]
no_license
DOANDUYDAT/First_Repo
16e95cf039c4e00347ee05f9d51e56779d6be258
68916e58348e7df47e0d200e5b8dbe97f2c48657
refs/heads/master
2021-04-12T10:14:13.704007
2018-09-02T02:38:06
2018-09-02T02:38:06
126,332,853
0
0
null
null
null
null
UTF-8
C++
false
false
5,112
h
trie.h
// C implementation of search and insert operations // on Trie #include <stdio.h> #include <stdlib.h> //#include <string.h> #include <stdbool.h> #include <conio.h> #include <string> #define ARRAY_SIZE(a) sizeof(a)/sizeof(a[0]) // Alphabet size (# of symbols) #define ALPHABET_SIZE (26) //xoa nut #define FREE(p) \ ...
4067c452beddea12623de9dfe15a4644c541da34
ddc70b82fd432ce5e59991181b719556032a3ad6
/flash/roflash.h
f4fc3b6d740e209a7a8a9525295a29bd40181a8b
[]
no_license
xuyunhao/LFS
c9dd1e7ca86f15f1881d80dc42a3fe562a3a4a6d
da82319c22c63448f3ca4d07a7046cb0efad4ced
refs/heads/master
2020-06-03T09:38:01.744194
2014-03-24T17:31:18
2014-03-24T17:31:18
12,629,558
1
0
null
null
null
null
UTF-8
C++
false
false
634
h
roflash.h
#ifndef LFS_FLASH_ROFLASH_H_ #define LFS_FLASH_ROFLASH_H_ #include "util/defs.h" #include "flash/flash.h" namespace lfs { //a Flash that is read-only class ReadOnlyFlash : public Flash { public: explicit ReadOnlyFlash(Flash* inner_flash); Flash* inner_flash(void) const { return this->inner_flash_; } virt...
002be849c22536b7bd43c64d5c87a8a467fe4c68
e8d580718e9c3cbc191fa596f54f6d147ab1db2c
/Assignment1/Assets/Sphere.h
f06acc0b817f30c62b7448a354187c5e02c8ab83
[]
no_license
LuisaSanto/ist-P3D
a406122050511e1345a1e7246c2c4ba28b1aa5c0
4f23d0dd20835be705a7253a321d9611aa7995d6
refs/heads/master
2020-04-25T12:28:35.533528
2019-05-20T14:26:19
2019-05-20T14:26:19
172,778,771
0
0
null
null
null
null
UTF-8
C++
false
false
666
h
Sphere.h
#ifndef SPHERE_H #define SPHERE_H #include "Point.h" #include "Material.h" #include "Ray.h" #include <math.h> #include <limits> using namespace std; class Sphere { private: Point _pos; float _radius; Material _material; Point _normal; public: //Constructors Sphere() {} Sphere(Point , float radius, M...
d1793bbce9bfd065ffa62a18c8ea1db5e98eb105
efa6f5c4b942e850289d00b44984831bcaa728d9
/lec10/examples/05-writeObjects.cc
6fec1d22d902925530930f00412f4eb3322f652d
[]
no_license
SamyPolcher/CMP
d909e6d79416e2b62cc0a7ab1029ca090a4073fb
b46a85b891e4ba35feb02e1c83f90047bb524c16
refs/heads/master
2023-02-03T18:43:16.171866
2020-09-25T15:36:04
2020-09-25T15:36:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,101
cc
05-writeObjects.cc
// standard library header files #include <vector> #include <iostream> #include <fstream> #include <iomanip> // ROOT heder files #include "TRandom3.h" #include "TH1F.h" #include "TCanvas.h" #include "TTree.h" #include "TFile.h" #include "TString.h" #include "TStyle.h" // needed to change dispaly options for stats and...
cffadb4511d54cbc3d4b9c77a25a61ec8a2d03e5
495119fc761ba4ea9e31e90e5ac5d9ecae7d0fcc
/code/2.7/4_ExampleMacroFile.cc
12395e6914d86331d05c601fbf1432a25e9c02cf
[ "MIT" ]
permissive
iuming/Geant4_Learning
fa0dc7750df1760163a61b97211844f0c6c53572
16f8670a6f606cbc0eca1225a81669e54e42594a
refs/heads/main
2023-04-08T04:21:21.126340
2021-04-19T08:53:03
2021-04-19T09:16:30
325,229,260
3
2
null
null
null
null
UTF-8
C++
false
false
1,424
cc
4_ExampleMacroFile.cc
/******************************************************************************************** * FileName: 4_ExampleMacroFile * Author: 刘铭 * Describes: * Create: Jan 10 2021, 13:12 * Last Modify: * Modifications: 0 * *****************************************************************************************/ //示例...
45f52e27e91c0cf93d5ae9d6c051c9b08c7e2cb2
9fc4a85471668e9ee9a8acb01f2ed2705895bd66
/include/hw/DragonUltrasonicPWM.h
1560eb930826369b7cb743fa8e72a59131973dcd
[ "MIT" ]
permissive
Team302/2018BetaCode
56badc4624bdce48721c8efb195058a79eb4e277
c941a77c537ce14fac0c13b7416f33b1cea97cad
refs/heads/master
2020-04-14T18:27:28.418862
2019-01-03T20:50:30
2019-01-03T20:50:30
164,019,828
0
1
null
null
null
null
UTF-8
C++
false
false
722
h
DragonUltrasonicPWM.h
/* * DragonUltrasonicPWM.h * * Created on: Feb 15, 2018 * Author: jonah */ #ifndef SRC_SUBSYS_COMPONENTS_DRAGONULTRASONICPWM_H_ #define SRC_SUBSYS_COMPONENTS_DRAGONULTRASONICPWM_H_ #include <hw/IDragonUltrasonic.h> #include <frc/Counter.h> class DragonUltrasonicPWM : public IDragonUltrasonic ...
b79a039be96490c01207204bcfb8a3bf658a0f78
f05ca48a2ab09eb41c2bc7571eba091fd790298a
/CBLed.cpp
59d4037d312dc377c5c5e38541a7b78f0f560cf5
[]
no_license
fredrikstolpe/cb-arduino-libraries
79869e030f06a2b0d5f9509d70209b82b9aba7bc
0672eb99b7e8cca50e9a3f33e1313ccce9598e16
refs/heads/master
2021-01-01T04:00:45.983007
2016-10-20T20:51:39
2016-10-20T20:51:39
58,963,800
1
0
null
null
null
null
UTF-8
C++
false
false
2,466
cpp
CBLed.cpp
#include "Arduino.h" #include "CBLed.h" //PWM pins: 3, 5, 6, 9, 10, 11 CBLed::CBLed(int PIN) { pin = PIN; pinMode(pin, OUTPUT); state = LOW; intensity = 0; } void CBLed::on() { isBlinking = false; isFading = false; CBLed::set(HIGH); } void CBLed::off() { isBlinking = false; isFading = false; C...
1e365cf2a1b1e569ec7eb382245f0b34a7b6cf13
544c4533f4a43b2e8a5bb8b8054870cc0daec40b
/yoda_self_ordering/yoda_self_ordering/stdafx.h
23d4b8291bf3d945ff437f1f0acfb568a2527c3c
[]
no_license
15831944/SelfOrdering
d9f21bbc0820316eed2a7f868649609df0dadc64
a673435590c1566683d4ae50195fc6367d795007
refs/heads/master
2022-01-13T13:20:43.340249
2019-04-29T13:11:50
2019-04-29T13:11:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,589
h
stdafx.h
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, // but are changed infrequently #pragma once #ifndef _SECURE_ATL #define _SECURE_ATL 1 #endif #ifndef VC_EXTRALEAN #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #end...
8955d3188912c2e27bce0a55d94d255a1c4c9326
705a6fb55bb6f96454845f36c4fe8453fdc4733c
/include/alx/Fixed.hpp
1d51ec549ac6d59a74eea1f518b1de10968f60ca
[ "BSD-3-Clause" ]
permissive
axilmar/ALX
044aa5c0877cb3c59b240ac3fb46593cf80b0f2a
e6290c49eb1ba45a51f4a6d4603ad3c32ac06c64
refs/heads/master
2021-01-19T20:15:41.795822
2016-09-03T15:47:55
2016-09-03T15:47:55
9,193,002
24
3
null
2013-05-20T08:50:08
2013-04-03T11:21:50
C++
UTF-8
C++
false
false
6,379
hpp
Fixed.hpp
#ifndef ALX_FIXED_HPP #define ALX_FIXED_HPP #include <cmath> #include <allegro5/allegro.h> namespace alx { /** A fixed number. */ class Fixed { public: /** The default constructor. @param v value. */ Fixed(int v = 0) : m_value(al_itofix(v)) { } /** constructor fr...
cbd82d053c280a7a679252d44bafe72bdb8e00b4
41e107a91f6307d3c78b211ff12afddc832d5926
/sandbox/src/_obsolete/obsolete_SortingSimulation/scripts/algos/merge_sort.h
4734bede8b4a611871d714a5bfb1a751f4e48d6d
[ "Apache-2.0" ]
permissive
AdrianOrcik/ugine
8e5bb43f0d9e32ff9be82389649728d5815221e9
4f5a9a5641c834834d9e18fc5b85b55140544568
refs/heads/master
2022-11-05T08:22:29.090685
2020-06-20T19:54:57
2020-06-20T19:54:57
245,837,032
0
0
null
null
null
null
UTF-8
C++
false
false
591
h
merge_sort.h
#pragma once #include <algorithm> #include "sorting_algo.h" #include "ugine/coroutines/routine_manager.h" #include "ugine/coroutines/routines/wait_seconds.h" #include "../routines/swap_routine.h" #include "../simulation/simulation_step_merge.h" class MergeSort : public SortingAlgo { public: MergeSort(); ~MergeSo...
d8f542443d89e642a198adc6b0d31439b966820e
da61c2e05f7eb8a22b9e725d32f36b222fdb3bb4
/ClothSim/src/ClothViewer.hpp
289206853462ba1a69148d3b00b6926137ec68f7
[]
no_license
Daskie/liftdrag
4f2f702dc45cc3091a4fd4b02f43fc02abcf209c
0f081ee585b21efb9db25789aa0f6a6633a76c5c
refs/heads/master
2020-04-16T17:49:16.442423
2019-01-15T02:28:01
2019-01-15T02:28:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
937
hpp
ClothViewer.hpp
#pragma once #include "UI/UI.hpp" #include "Common/Camera.hpp" #include "Common/Model.hpp" #include "ClothSim.hpp" class ClothViewerComponent : public ui::Single { public: ClothViewerComponent(const Model & model, float scale, const ivec2 & minSize); virtual void render() const override; virt...
97ed278525db1dc60a1606f5fd050e7e4dc869e4
89c9874e66abad03f40ea1daed27ca682417e2d7
/1051522 - hw13/NorthboundTimetable.h
cf699d312e2d3e23197bd948751b38422121a6a9
[]
no_license
Doem/Programming-Homework
10672ff8f75951cec469e5cb8b5d10ecfe44147d
e43ada8435fdf80595819f4cc0c5b6c113f072e6
refs/heads/master
2021-01-18T16:02:27.620518
2017-06-01T18:18:08
2017-06-01T18:18:08
86,707,454
2
0
null
null
null
null
UTF-8
C++
false
false
1,235
h
NorthboundTimetable.h
// NorthboundTimetable.h // NorthboundTimetable class definition. Represents the northbound timetable. #ifndef NORTHBOUND_TIMETABLE_H #define NORTHBOUND_TIMETABLE_H #include "vector.h" // class uses vector to store NorthboundTimetable objects //#include <vector> #include "Train.h" // Train class definition class Nort...