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
5b92ba3410cc40821061f8b587030a4e266fd2b6
4de4a3e634a736766b2f2667a34af142ef33fdc6
/Simple Battleship Game/Main.cpp
c1c7d7fa24f4b29fbc94ac536b369512878ecc33
[]
no_license
Jesse-Richman/CPlusPlus_Examples
1ed0813b89921c4f27eacb2ebff0db266e118ff4
4bf7eecb6ea8e611429d302c273e11593628780a
refs/heads/master
2023-01-27T13:34:54.324572
2020-05-01T17:27:09
2020-05-01T17:27:09
260,484,294
0
0
null
null
null
null
UTF-8
C++
false
false
1,904
cpp
Main.cpp
#include <iostream> #include <fstream> #include <string> using namespace std; const int MAP_SIZE = 25; const char SHIP = '#'; const char WATER = '~'; const char HIT = 'H'; const char MISS = 'M'; char map[MAP_SIZE][MAP_SIZE]; // Method prototypes void fire(int, int); bool checkForWin(); void printMap(); int main() {...
50231747d4e91feea3f043bb173bbe0929dc5d8b
5df2f7664f98e3f670cdd475d9b30739c8a31a3e
/CYOA/rpcp2p.cc
7b6b48672112c163732c14d94d3a558b4f2a3fbe
[]
no_license
heroicbran/games
b7512edd59777aaf91a369cc96df91c2b77f8420
5439a38e36ccb1616f38a716d30d60c45f2414b1
refs/heads/master
2021-05-25T10:02:57.536173
2020-06-05T17:48:31
2020-06-05T17:48:31
127,050,884
0
0
null
null
null
null
UTF-8
C++
false
false
8,037
cc
rpcp2p.cc
#include <string> #include <fstream> #include <iostream> #include <vector> #include <list> #include "rpc/client.h" #include "rpc/server.h" #include "rpc/this_session.h" #include "rpc/this_server.h" #include <dirent.h> #include <chrono> using namespace std; //A few globals needed because of RPC setup int pcount = 0...
97f358f12619d78aa6f20d8379b6e44dbb29de52
ee2034f4bc89cd0a3631e9fc804860290ec6d869
/src/Group.cpp
2f9e1b02b6c16c9c1e5bea7fbc8ebfd141072fd4
[]
no_license
nancynh/Organ-Trail
5630a871d95403a1addb3949b587790139f1db21
0189bb0ad80ce861b20807cee17a28364b042421
refs/heads/master
2020-03-15T09:08:11.567963
2018-05-04T01:26:35
2018-05-04T01:26:35
132,067,833
0
0
null
null
null
null
UTF-8
C++
false
false
4,090
cpp
Group.cpp
// // Group.cpp // final-project-nancynh // // Created by Nancy Hong on 4/17/18. // #include "Group.hpp" Group::Group() { this->current_vehicle_ = nullptr; this->food_amount_ = 0; this->water_amount_ = 0; this->medicine_amount_ = 0; this->money_ = 0; } Group::Group(Vehicle* current_vehicle, in...
cdb5e14df1a0b2e244c78d7aa26147fc7bd76197
d09945668f19bb4bc17087c0cb8ccbab2b2dd688
/codeforce/edu/061-080/077/d.cpp
57f8bd22249ad15fda8eb20b2584562f2c1fe58f
[]
no_license
kmjp/procon
27270f605f3ae5d80fbdb28708318a6557273a57
8083028ece4be1460150aa3f0e69bdb57e510b53
refs/heads/master
2023-09-04T11:01:09.452170
2023-09-03T15:25:21
2023-09-03T15:25:21
30,825,508
23
2
null
2023-08-18T14:02:07
2015-02-15T11:25:23
C++
UTF-8
C++
false
false
1,398
cpp
d.cpp
#include <bits/stdc++.h> using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x<(to);x++) #define FORR(x,arr) for(auto& x:arr) #define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++) #define ALL(a) (a.begin()),(a.end()) #...
17106414649dcdaf8708b0800ba5623fb1ed8ba8
530162df7eb8871928e6b86787e51caca7617e1c
/escena_basica/src/wavesManager.h
495ed7932f8330e381ddd00f7e5c197764a7396b
[]
no_license
serman/muncyt
11b61989eb7fce3d94fa8ad06657c6c0381464d3
c62c0042048d673f61d723bb18d449ab646707fa
refs/heads/master
2021-03-12T22:51:41.764670
2017-09-11T10:14:11
2017-09-11T10:14:11
18,833,902
1
0
null
null
null
null
UTF-8
C++
false
false
6,597
h
wavesManager.h
// // wavesManager.h // escena_basica // // Created by Sergio Galan on 7/13/14. // // #ifndef escena_basica_wavesManager_h #define escena_basica_wavesManager_h #include "waves.h" #include "tangibleObject.h" #include "cheapComm.h" #define MAX_ONDAS 6 struct trIndices{ int n_wave; int new_index; }; c...
37473df0f680600581973c9b96d9e8cba4a5fe79
1adb91f53169165ce62788c74f81028614517ea1
/data_2d/camera_sequence.hpp
9634d3feda14d1f46ec0bd9f38a609f69d88b93b
[]
no_license
bebuch/tools
7b389d9da0122a3d1c0b6af0811b0666469a8122
5107ab0f2ab51594896226d9a96f8d6c7dd10c01
refs/heads/master
2021-01-13T04:27:39.053388
2017-01-23T21:04:11
2017-01-23T21:04:11
79,848,028
1
0
null
null
null
null
UTF-8
C++
false
false
1,209
hpp
camera_sequence.hpp
#ifndef _tools_camera_sequence_hpp_INCLUDED_ #define _tools_camera_sequence_hpp_INCLUDED_ #include "bitmap_sequence.hpp" namespace tools { /// \brief List of tools::bitmap_sequence< T > template < typename T > using camera_sequence = std::vector< bitmap_sequence< T > >; /// \brief List of tools::bitmap_pointe...
4f06b6cabc45de1aae1d2dd8f66ed57fa29e242e
52dc9080af88c00222cc9b37aa08c35ff3cafe86
/0100/60/165a.cpp
1364f6f1c46742ce17ff7377c3c1ebdb4b5a86f6
[ "Unlicense" ]
permissive
shivral/cf
1c1acde25fc6af775acaeeb6b5fe5aa9bbcfd4d2
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
refs/heads/master
2023-03-20T01:29:25.559828
2021-03-05T08:30:30
2021-03-05T08:30:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,441
cpp
165a.cpp
#include <algorithm> #include <iostream> #include <unordered_map> #include <vector> void answer(size_t v) { std::cout << v << '\n'; } int main() { using point_t = std::pair<int, int>; size_t n; std::cin >> n; std::unordered_map<int, std::vector<point_t>> groups_by_x; std::unordered_map<int, ...
0ac676fd39cf2dd51a323316c2e5ddaaff2c9781
0a61edcca49c1000616b71cdaf99e332621f06e5
/src/Nodes/PulseCounter.hpp
ae2048435390f7700eba6367ed55adb5c6861062
[ "MIT" ]
permissive
yves-ledermann/homie-esp8266-supplements
d954a0522e5fd46757f26b74c85490fea1a75ba9
fd295c5a44e3aa44c6c13ba540c45e6356a8d9b6
refs/heads/master
2021-01-22T01:54:42.989203
2017-11-21T10:19:40
2017-11-21T10:19:40
81,017,058
6
0
null
null
null
null
UTF-8
C++
false
false
5,326
hpp
PulseCounter.hpp
#pragma once #include <Homie.hpp> /** * PulseSensorProperties * * Structure that holds essential information about a sensor. * Stores general sensor properties and calibration points. * */ typedef struct { double capacity; //!< capacity, upper limit of flow rate (in l/min) double kFactor; //!< "k...
bb95fe1d35bc9b3ba5da7eebbfbaae3f030a1b84
f4dc1073def4c95a19d4183475405c439cfc0aff
/Source/Editors/AStudio/lightmass/ConfigMgr.cpp
3bd318dce4d7aaf66ee4f3a3df776232c472ed4e
[]
no_license
timi-liuliang/aresengine
9cf74e7137bb11cd8475852b8e4c9d51eda62505
efd39c6ef482b8d50a8eeaa5009cac5d5b9f41ee
refs/heads/master
2020-04-15T15:06:41.726469
2019-01-09T05:09:35
2019-01-09T05:09:35
164,779,995
1
0
null
null
null
null
GB18030
C++
false
false
4,978
cpp
ConfigMgr.cpp
//#include <algorithm> //#include "ConfigMgr.h" //#include <boost/lexical_cast.hpp> //#include <Core/3rdParty/RapidXml/rapidxml_utils.hpp> //#include <Core/3rdParty/RapidXml/rapidxml_print.hpp> // //using namespace boost; // //namespace Ares //{ // template<> ConfigMgr* Singleton<ConfigMgr>::m_singleton = new ConfigMgr...
363ad26a03d108898b51aa7d18262f34cf876dd0
04705b9a957c9c34e0b9a7c5b514e5a0220ccec7
/graphic_lib.h
27077ccb06efce3d15af667c7a85f7b7537cd4d7
[]
no_license
shizhonghao/graphic_lib
abf97aa2f763cfa9b6eb0fad15f73e8ee24af2fb
6eb88328975b1da8bc08e40df4ad837b16ee79c4
refs/heads/master
2021-01-19T23:40:15.489639
2017-06-23T17:34:02
2017-06-23T17:34:02
89,006,084
0
0
null
null
null
null
UTF-8
C++
false
false
9,925
h
graphic_lib.h
#include <windows.h> #include <iostream> #include <algorithm> #include <math.h> #include <vector> using namespace std; const int INF = 0x3f3f3f3f; void draw_line(HDC hdc,int x0,int y0,int x1,int y1,COLORREF color) { int i; //printf("%d\n",hdc); if(x0>x1) { swap(x0,x1); ...
3650426606fdbddb13ad3c3cc7873c59075ed546
28f18e6b5ec90ecbe68272ef1572f29c3e9b0a53
/include/boost/geometry/extensions/gis/io/wkb/read_wkb.hpp
fdcf9cd0d513dca593d6f7d16f69d41c2aea58c6
[ "BSL-1.0" ]
permissive
boostorg/geometry
24efac7a54252b7ac25cd2e9154e9228e53b40b7
3755fab69f91a5e466404f17f635308314301303
refs/heads/develop
2023-08-19T01:14:39.091451
2023-07-28T09:14:33
2023-07-28T09:14:33
7,590,021
400
239
BSL-1.0
2023-09-14T17:20:26
2013-01-13T15:59:29
C++
UTF-8
C++
false
false
3,240
hpp
read_wkb.hpp
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. // This file was modified by Oracle on 2020. // Modifications copyright (c) 2020, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Use, modification and ...
9514ca396893557933cd7466a75a5e69a60b821f
347334f675bc31ecab5d74ca6388827b13097ed9
/src/gui-qml/src/loaders/tag-search-loader.h
a3e818203640c1f82f2675235745fd88008bd37b
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Bionus/imgbrd-grabber
442108d9663a06a848ef49837943d5950bca9d8c
4ab008d5d0f62ab2bc34aff7de02e05d598e058a
refs/heads/master
2023-08-20T21:50:37.649081
2023-08-17T22:54:55
2023-08-17T22:54:55
32,276,615
2,226
301
Apache-2.0
2023-08-12T16:31:57
2015-03-15T18:26:31
HTML
UTF-8
C++
false
false
510
h
tag-search-loader.h
#ifndef TAG_SEARCH_LOADER_H #define TAG_SEARCH_LOADER_H #include "search-loader.h" #include <QString> class TagSearchLoader : public SearchLoader { Q_OBJECT Q_PROPERTY(QString query READ query WRITE setQuery NOTIFY queryChanged) public: explicit TagSearchLoader(QObject *parent = nullptr); const QString &qu...
4d44806a9dba3d893207c7653bf65b8552368835
5470aee46382fec6e51c36c1e041185cd070566c
/todo_list/constructors.cpp
d910a7849a64d1ac44ba865fa4bf0832d2e094f8
[]
no_license
Joker-Jerome/cpp
c4167e137cddc7e6681c1f356083373daa770d67
d48fbad4d66a0d949232ba21262368beffe821d4
refs/heads/master
2021-09-10T08:41:16.514455
2018-03-23T03:53:33
2018-03-23T03:53:33
106,119,653
1
0
null
null
null
null
UTF-8
C++
false
false
1,723
cpp
constructors.cpp
#include <iostream> #include <string> #include "todolist.h" #include "task.h" using todo::Task; using todo::ToDoList; ToDoList morningList(const std::string&); int main(int argc, char *argv[]) { Task coffee("make coffee", 10); Task drink("drink coffee", 30); Task walk("walk to office", 20); Task prep("prepa...
d2e0d1fd85d9379385ad59e78bca3a7c38d29847
63db2a4036ba87e5da35bca4925464002c3c19d6
/big_exercise/qt/mvc/moc_teamleadersdialog.cpp
b4af8ffe26e6ea1f8984bc380057e47e2c5c17a9
[]
no_license
gicsfree/exercise_aka
6c6ae3ef737e1a3da23001871a3b8c4dea9e7713
d831bc14d719fcd90a06e29d1832c5ea20abb988
refs/heads/master
2022-05-09T11:29:33.265928
2011-09-23T11:48:10
2011-09-23T11:48:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,221
cpp
moc_teamleadersdialog.cpp
/**************************************************************************** ** Meta object code from reading C++ file 'teamleadersdialog.h' ** ** Created: Wed Aug 31 20:30:29 2011 ** by: The Qt Meta Object Compiler version 61 (Qt 4.5.3) ** ** WARNING! All changes made in this file will be lost! *****************...
45b3a5e5c3bbc09bb4562f9c438ce2adfb32cedd
2fbb03a0dcdc873935178f03b99027ad1298bf96
/plugin/platforms/reference/tests/TestReferenceFeedInForce.cpp
99acdeb65c87aef72fbf8fbc76dea6f90d169507
[]
no_license
YevChern/FeedInForce_openmm
55dced4f4554d67bbebaafe8527475bf3ce1c879
c3f06bb421285e01758c773de3ddea780f30c3b0
refs/heads/master
2022-04-21T20:47:19.450372
2020-04-16T22:41:53
2020-04-16T22:41:53
255,616,104
0
0
null
null
null
null
UTF-8
C++
false
false
4,121
cpp
TestReferenceFeedInForce.cpp
/* -------------------------------------------------------------------------- * * OpenMM * * -------------------------------------------------------------------------- * * This is part of the OpenMM molecular simulation toolkit originating from * ...
4ba17c9aff8eccf08b9b6178ea8ebad5bb729f75
fb940dcfeb23c04e7d41b472bf5079c4d35ec5c4
/KeyboardAndMouseHandle.cpp
1ef32c760a2d2a02b766765c2481f0d022fcc047
[]
no_license
U-NV/SoftRenderer
9ffb29885efb9c9de28d99d46ffe0b8c46d8e3fd
61024826c0c524a5d00a9904e4af60c0254aa506
refs/heads/master
2022-11-30T19:43:43.596039
2020-08-17T08:58:22
2020-08-17T08:58:22
280,355,394
4
2
null
null
null
null
UTF-8
C++
false
false
3,151
cpp
KeyboardAndMouseHandle.cpp
#include "KeyboardAndMouseHandle.h" KeyboardAndMouseHandle::KeyboardAndMouseHandle(int SCREEN_WIDTH, int SCREEN_HEIGHT, Camera* camera, float* gamma, float* exposure) { MousePosNow = Vec2f((float)SCREEN_WIDTH / 2.0f, (float)SCREEN_HEIGHT / 2.0f); MousePosNow = Vec2f((float)SCREEN_WIDTH / 2.0f, (float)SCREEN_HEIGHT /...
68417b4c5a6fbf9a6f0f132ecb4e878dc2126ade
171939de0a904c90f9af198b8e5d65f8349429d7
/CQ-00088/airport/airport.cpp
32429de4f719abd0b9e7d78750b534b4ae868846
[]
no_license
LittleYang0531/CQ-CSP-S-2021
2b1071bbbf0463e65bfc177f86a44b7d3301b6a9
1d9a09f8fb6bf3ba22962969a2bac18383df4722
refs/heads/main
2023-08-26T11:39:42.483746
2021-10-23T14:45:45
2021-10-23T14:45:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,188
cpp
airport.cpp
#include<bits/stdc++.h> using namespace std; struct times{ int a,g; }; bool cmp(times a,times b) { return a.a<b.a; } int main() { freopen("airport.in","r",stdin); freopen("airport.out","w",stdout); int ld,gn,gw; cin>>ld>>gn>>gw; times p[gn],p1[gw]; int dl[100000]={0},last[100000]={-1},t1=0,t2=0,lasts[100000]={-...
f99fc405325868425208e04fd01495f3fa7f87e5
d4e42338394b03b2b3a66073ad15128f7b7805a6
/source/loader/cios.cpp
0ca8e26463e82ccba760409c4d04957f80832ef4
[]
no_license
rosendael/wiiflow-plus
ebb95564682ce1d83bc24928cd2efa43e22c1025
3db58aada86bc48eb52f6ee3ee68c13e4665c42d
refs/heads/master
2021-04-29T01:31:36.753218
2012-04-25T10:41:31
2012-04-25T10:41:31
77,750,528
1
0
null
2016-12-31T17:49:21
2016-12-31T17:49:20
null
UTF-8
C++
false
false
2,892
cpp
cios.cpp
/*************************************************************************** * Copyright (C) 2011 * by Dimok * Modifications by xFede * Wiiflowized and heavily improved by Miigotu * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any...
2044b6415eaf4a4785b6478045dbf7856fa0c77f
a06d2f37314a37b6038d46f8deda98b2af2530a2
/Grafos/kruskal.cpp
9f92c17f775cda6545b06718fcd4b1f70aa7879e
[]
no_license
CarlosAlberto1x9/code
40bea88605b543b98c8b58bdaafca008159c9ccd
c5161356d2bc868f0b22f5ba0e7f330fc5a6e2d7
refs/heads/master
2023-02-01T05:13:57.878134
2020-12-17T03:54:28
2020-12-17T03:54:28
171,583,412
0
0
null
null
null
null
UTF-8
C++
false
false
1,317
cpp
kruskal.cpp
#include <iostream> #include <tuple> #include <utility> #include <numeric> #include <cstring> #include <algorithm> #include <vector> using namespace std; const int vertices = 8; int lider[vertices]; int tam[vertices]; int findSet(int x) { return lider[x] == x ? lider[x] : lider[x] = findSet(lider[x]); } bool...
fc62d99ebf90750b2efbf2612b52a615209961ba
9d620b9e689309911c64b3818f2b7aab0c9bc571
/src/ListableGamePgn.h
77923879c7a993226f573e87f1608ba702c9de40
[ "MIT" ]
permissive
billforsternz/tarrasch-chess-gui
a1c26710c5ce99214e694cc20b24d54c1b31e06b
6c05ffe1b1567c2aeb9c425657e61752dde8482b
refs/heads/master
2023-07-20T15:40:32.003138
2023-05-07T03:25:41
2023-05-07T03:25:41
16,636,998
97
28
MIT
2023-05-07T03:25:44
2014-02-08T05:45:44
C
UTF-8
C++
false
false
4,173
h
ListableGamePgn.h
/**************************************************************************** * A ListableGame that was originally created for the list in the PgnDialog * Author: Bill Forster * License: MIT license. Full text of license is in associated file LICENSE * Copyright 2010-2015, Bill Forster <billforsternz at gmail d...
3ec43c937fef650069ca423466ffad25c1ee35c0
012e5d8fb86785c6c75a0d7b6c96e05e373ff3bd
/DiskSchedulingProject/Fcfs_algorithm.cpp
bd36bbaf494644d3dc5d628c9ea5695629fc497f
[]
no_license
minhbac333shopus/DiskScheduling-OS-with-StrategyPattern
59222f7bbdc85ca0f7d2461dd1eb7b73ae5f5e6f
00abca7f5f751d6ad2d162b8442d9ad699490a38
refs/heads/main
2023-04-19T00:47:59.199843
2021-04-26T15:46:08
2021-04-26T15:46:08
361,806,754
0
0
null
2021-04-26T15:48:38
2021-04-26T15:48:37
null
UTF-8
C++
false
false
28
cpp
Fcfs_algorithm.cpp
#include "Fcfs_algorithm.h"
d66d3c23dc3620034b47d51ba73f45a04fa708cf
b86738ab71ba59705aa932b32a59be69c3fd1eac
/Num/Source.cpp
ebf14dd15599f7a3a18422695fbcf9361383efab
[]
no_license
techtainer/Algorithm-Test
ee894004c5c33f13178d7b5756669de1791b63e2
05c5f2b8a321fc52af636315adb916df1a0ef810
refs/heads/master
2020-04-13T23:33:17.529704
2019-01-05T12:56:15
2019-01-05T12:56:15
163,509,679
0
0
null
null
null
null
UHC
C++
false
false
1,193
cpp
Source.cpp
//연속된 자연수 합으로 어떤 숫자를 표현하는 방법이 여러가지 입니다. // //예를들어 자연수 15는 //1 + 2 + 3 + 4 + 5 = 15 //4 + 5 + 6 = 15 //7 + 8 = 15 //15 = 15 //로 표현이 가능합니다. // //숫자를 입력받아 연속된 수로 표현할 수 있는 케이스의 개수를 // //반환하는 expression 함수를 완성하면 됩니다. // //15가 들어오면 4를 반환하면 됩니다. #include<iostream> #include<string> using namespace std; int function(const str...
84c51d1ec9b6c0934aa5de2ceaa87fb4a7946053
3ee7772953abc7088ef37c91d1c9a5be4cc31163
/string/151.翻转字符串里的单词.cpp
d718bb1b48b311465da4c61df398691b451d1550
[]
no_license
hahlw/leetcode
3814e384b4fb55b5ea6a78e68f2600ffdc32008d
c78f67faa6d5b77173a3805a896fb3446e0241c4
refs/heads/master
2020-06-07T18:15:34.493281
2019-08-21T11:54:20
2019-08-21T11:54:20
193,069,732
1
0
null
null
null
null
UTF-8
C++
false
false
1,139
cpp
151.翻转字符串里的单词.cpp
/* * @lc app=leetcode.cn id=151 lang=cpp * * [151] 翻转字符串里的单词 */ #include <algorithm> #include <iostream> #include <string> using namespace std; class Solution { public: string reverseWords(string s) { if (s.empty()) return ""; int lo = 0, hi = s.size() - 1; while (lo <= h...
2993bbed97c955769c6075d840e0b0f04e7663c1
dfeb7c8e2fd4a18ee93b26fc98e0559ab492d1f6
/BaekJoon/2021/10757.cpp
421d231467c9e196f35c4c3a51ca6ed19606448a
[]
no_license
ParkHeeseung/Algorithm
3d1c4f9f90009213efd7e4dd1794b18c01583b2b
512117b1c2adbd3481c135fdf01e7f065d42799a
refs/heads/master
2021-11-26T07:34:17.390768
2021-11-14T05:04:04
2021-11-14T05:04:04
138,491,976
0
0
null
null
null
null
UTF-8
C++
false
false
823
cpp
10757.cpp
#include <iostream> #include <string> using namespace std; string func(string& a, string& b) { int aSize = a.length(); int bSize = b.length(); string rans = ""; int c = 0; while (aSize > 0 || bSize > 0) { int k1 = 0; if(aSize>0){ k1 = a[--aSize] - '0'; } ...
c253b3858d6db9401a03a3b1b5925294b391a0ab
6b2c596adad1eed4ee1237e1dc1c84e5e401f8ab
/src/Database/OpenDBHandler.cpp
fbaef8a987c84665813c7e67a3267f4901f4d686
[ "BSD-3-Clause" ]
permissive
ahmed-agiza/OpenPhySyn
76253ca03aeb70e53e170d9be76e1018ac78fe7b
51841240e5213a7e74bc6321bbe4193323378c8e
refs/heads/master
2020-09-26T06:42:07.214499
2019-12-14T03:42:56
2019-12-14T03:42:56
226,192,119
0
0
BSD-3-Clause
2019-12-05T21:28:39
2019-12-05T21:28:38
null
UTF-8
C++
false
false
16,994
cpp
OpenDBHandler.cpp
// BSD 3-Clause License // Copyright (c) 2019, SCALE Lab, Brown University // 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 n...
65c705d616c4ba507317272e9c67ac0f6972a078
0d50b947a9051f29ab28b73c0e7bfbecd4f2421e
/classes/debug.cpp
6379abbdeb3bc674067f7680d2cfd206cf8162b3
[]
no_license
tomijuarez/YAVT
8e8409a94fe849a46bb3dd794022caceacb6f2af
aa86edf8cadf82a26ca0399ccaff11249a766a61
refs/heads/Actualización
2021-11-23T10:10:05.661911
2018-01-26T13:51:10
2018-01-26T13:51:10
31,529,384
0
0
null
2021-11-10T03:27:36
2015-03-02T08:00:54
C
UTF-8
C++
false
false
2,147
cpp
debug.cpp
#include "debug.h" Debug::Debug(TreeAux Tree) { this->_Tree = Tree; } void Debug::StardDebug(QMap<int, QQueue<std::string> > & result){ QList<QString> branch; this->_Tree.getBranches(branch); unsigned int num = 1; bool close; std::string formulaOne; std::string formulaTwo; QQueue<std::...
4e0ebe779a02fa5c50b5798b40ac911baaec2842
6407a249c0b8ffa7fee2c8958a14e73f1740d5bb
/Exp.cpp
23047cf32726a2b949c052f09cd5709f7077ef8a
[]
no_license
emilia08/hello
1a8db198c9bc5144c4b35fbe4f3587781b3ab24a
2da4d92ea92d6a3091dd8907382036effcacbaea
refs/heads/master
2020-03-21T05:12:48.464332
2018-06-21T09:38:08
2018-06-21T09:38:08
138,149,315
0
0
null
null
null
null
UTF-8
C++
false
false
1,620
cpp
Exp.cpp
#include <iostream> #include <stdexcept> #include <vector> using std::runtime_error; /* int sub(int a, int b) { if (a < 0 || b < 0) { throw std::invalid_argument("received negative value"); } int c = a + b; std::cout << c << std::endl; return c; } int main() { try { sub(3, -1); } cat...
6bf4759535f0c8fe7faedd28732c0e5b1e017d99
dc926d42247cda887a02fc2aec37086144ace386
/Act. 2.1 LinkedList/list.h
5556ab18a448efa154b00941016038a6f69a60a5
[]
no_license
KevDP/Actividades-Formativas
49c0d57c42289af347e10dd6c6ae527f44a3a05f
f9f608c88d134c3052b7bf4bfcfe3e26d271c2a0
refs/heads/master
2023-01-29T06:13:37.093134
2020-12-04T08:41:40
2020-12-04T08:41:40
294,279,946
0
1
null
null
null
null
UTF-8
C++
false
false
2,585
h
list.h
#ifndef LIST_H_ #define LIST_H_ #include <sstream> #include <cstring> #include <string> using namespace std; template <class T> class List; template <class T> class Link { private: Link(T); Link(T, Link<T>*); T value; Link<T> *next; friend class List<T>; }; template <class T> Link<T>::Link(T val) : value(v...
4c6b6058c139cd1f4faef30ada240b55ade201ef
23b3aa151a0c411d047baffaf2e43092507e9d89
/projects/project 3/Project 3/Project 3/main.cpp
6f8b75bd77ba3574a12e077251359f44bd551a3c
[]
no_license
davidmednikov/CS-162
8046c1160b4b9cd5d8f5abbe9ee840205a4a1721
9e2f1e83ec972667c542a203046f924d4f37fcfe
refs/heads/master
2021-05-14T19:08:23.726405
2018-01-03T06:34:22
2018-01-03T06:34:22
116,101,050
0
0
null
null
null
null
UTF-8
C++
false
false
18,069
cpp
main.cpp
/**************************************************************************** ** Program name: CS162 Project 3 ** Author: David Mednikov ** Date: 02/13/17 ** Description: This program simulates a fantasy combat game. There are ** 5 creatures in this game: Vampire, Barbarian, Blue Men, Medusa, and ** Harry Potter. Each...
813f77bf35760e3b7ad302f75f73f25a9325fe15
b71f91fa26bfb764dae051311237b45aef5f62da
/main1.cpp
706ca68795947620a9f35efb4999a43c659ef679
[]
no_license
jimarathomas2021/Binary-Search-Tree-Project
49990bea1d818bd547bdf68cb47839d2f29fd5bc
13e296e581c141276cc97a96d217d082bac85cb7
refs/heads/master
2020-07-20T21:30:25.981027
2019-09-15T04:07:10
2019-09-15T04:07:10
206,712,409
0
0
null
null
null
null
UTF-8
C++
false
false
764
cpp
main1.cpp
#include<iostream> #include <string> #include <fstream> #include<vector> #include <time.h> #include "bst.h" #include "songdata.h" //#include "songdata.cpp" using namespace std; int main(){ string filename = "songs.txt"; vector<Song> V; Song s1; s1.readData( &V, filename); s1.displayAllSong(V);...
2b469817c10d156417aacc6b44647c33803a0660
6c67b633d5cfde6a2b0c71c21fdeeb8b83fe69fb
/TextSimilarity/TextSimilarity/test.cpp
5925bbc5b4d2243bcb65165e468f8343a0119c84
[]
no_license
18292677162/TextSimilarity
c08ccbbf2a37645dc7c4713ef8f359f54ea4caf7
b3af3774e33bc824f592ea75596a324a6a9b9ad1
refs/heads/master
2020-05-29T13:19:17.092160
2019-05-29T05:45:10
2019-05-29T05:45:10
189,157,087
1
0
null
null
null
null
UTF-8
C++
false
false
2,301
cpp
test.cpp
#include "TextSimilarity.h" #include <fstream> #include <cassert> #include <string> #include <Windows.h> using namespace std; //const char* const DICT_PATH = "jieba.dict.utf8"; //const char* const HMM_PATH = "hmm_model.utf8"; //const char* const USER_DICT_PATH = "user.dict.utf8"; //const char* const IDF_PATH = "idf....
b3f7088d16b25bc2fcf3a9be86e9d93418ba6744
993aa53a358c968d1c7409af9fa63d20bee5cfec
/DynamicObject.hpp
baef4f776962b0cc22a4567fd1b199e9feb64ad5
[]
no_license
MemoryDealer/Cornea
49c6bdad0f935e69fa6ad05d7dd7f244d40495a9
aa8d1b077d198f6c2b40b8017f88001ebb9294ad
refs/heads/master
2023-07-06T02:31:05.035853
2023-06-22T03:21:19
2023-06-22T03:21:19
30,774,425
2
0
null
null
null
null
UTF-8
C++
false
false
6,849
hpp
DynamicObject.hpp
//================================================// #ifndef __DYNAMICOBJECT_HPP__ #define __DYNAMICOBJECT_HPP__ #define USE_KINEMATIC_GROUND 1 //================================================// #include "stdafx.h" #include "Base.hpp" #include "Sparks.hpp" #include "Camera.hpp" #include "Sound.hpp" //==========...
d36f6c09ad411c2106b8386db7560706e81034ff
46dc33f6c0a8e4f6698a75e3ae6e98c597124f16
/openhaptics_3.4-0-developer-edition-amd64/opt/OpenHaptics/Developer/3.4-0/examples/HL/graphics/SimpleDeformableSurface/Surface.h
4069e4aed41b4c26cb6859b70bf8b71781cf1cb1
[]
no_license
PolarisYxh/phantomOmniRos
a621fd1671e85ada8eda0dc9bc00f02fe5579d3d
d745e2466d869777982971383efdb98387e4b038
refs/heads/main
2023-01-13T17:13:41.817751
2020-11-16T08:24:53
2020-11-16T08:24:53
300,486,277
1
0
null
null
null
null
UTF-8
C++
false
false
2,349
h
Surface.h
/***************************************************************************** Copyright (c) 2004 SensAble Technologies, Inc. All rights reserved. OpenHaptics(TM) toolkit. The material embodied in this software and use of this software is subject to the terms and conditions of the clickthrough Development License Agr...
62e056a06f28f6ad51e44f477cc110e28993f204
a866fd05fe85765b7c5e82aa308390aa8e275020
/src/mdb.hpp
67bff4acf4d9b0580a33a1c72f398550730b945b
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
info-infoman/FeedBackCoin
be6b7a31d6a04821fac15d1dbfbbe64018d13f71
d986c293f6a2c11bba00ba001cb3093b22f951f9
refs/heads/master
2019-06-27T19:41:21.145462
2018-06-13T11:34:17
2018-06-13T11:34:17
119,961,827
3
0
null
null
null
null
UTF-8
C++
false
false
17,483
hpp
mdb.hpp
#ifndef _GLIM_MDB_HPP_INCLUDED #define _GLIM_MDB_HPP_INCLUDED /** * A C++ wrapper around MDB (http://www.symas.com/mdb/). * @code Copyright 2012 Kozarezov Artem Aleksandrovich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obt...
08f58cd5e00912a077db44123d007bb18228704a
7aab5715b0a8e846914dfa24dcc5b994e92e947f
/vsProject/paint3D/RenderableObject.cpp
6c151c664828250cf5c04ed8c4a8197b24406bfc
[]
no_license
AmesianX/Paint3D-QT
24e0fa193d83ee226d8eef814a402c97cafb7a5d
52de149f7d9cbc051780c8dde060df1603b1e435
refs/heads/master
2021-02-07T18:20:39.472451
2019-06-28T05:42:12
2019-06-28T05:42:12
null
0
0
null
null
null
null
GB18030
C++
false
false
3,275
cpp
RenderableObject.cpp
#include "StdAfx.h" #include "RenderableObject.h" #include "Paint3DFrame.h" unsigned RenderableObject::currNewObjectID = 1; QHash<QString,int> RenderableObject::nameMap; RenderableObject::RenderableObject(void): isObjSelected(false), isObjVisible(true), localBBox(QVector3D(0,0,0),QVector3D(0,0,0)), alphaF...
f82739749fff5d0c1b69d8575a5f3ba9ffecc5aa
eb8d36a89dbaeffeedd8584d970aa2b33a8b2c6e
/CQ-0080/variance/variance.cpp
3727622cb4868f4ea5e1be5737857976f1671d4e
[]
no_license
mcfx0/CQ-NOIP-2021
fe3f3a88c8b0cd594eb05b0ea71bfa2505818919
774d04aab2955fc4d8e833deabe43e91b79632c2
refs/heads/main
2023-09-05T12:41:42.711401
2021-11-20T08:59:40
2021-11-20T08:59:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,036
cpp
variance.cpp
#include <ctime> #include <cstdio> #include <algorithm> #define ll long long using namespace std; ll Sum,QSum,Ans=1e18; int n,arr[10005]; bool cho[10005]; void dfs(int t) { if(QSum*n-Sum*Sum<Ans) { Ans=QSum*n-Sum*Sum; // for(int i=1;i<=n;i++) printf("%d ",arr[i]); // puts(""); } if(t>=20) return; if(clock()>=9...
66638484f0a624bf92a4f9ab43f87e46062f138d
884eff6ef759e342ad226b9404d934b52d5f13e2
/routines.h
ef78326f99a324745cf10a2b387d0665417df274
[]
no_license
henhans/IPT_real_axis
a7470e57293ae60d520370308cd4c4c4ea3f3ed4
a969a495a539d5bf00ace57f8a929463fe6532af
refs/heads/master
2020-03-25T07:27:56.317334
2014-07-19T02:52:55
2014-07-19T02:52:55
21,870,604
0
1
null
null
null
null
UTF-8
C++
false
false
2,465
h
routines.h
#include <complex> #include <vector> using namespace std; //======================== CONSTANTS ===============================// const double pi = 3.14159265358979323846; const double e = 2.71; const complex<double> ii = complex<double>(0.0,1.0); //======================= ROUTINES ==================================...
d56766408ff66ef59e79bdc2ce71fcc97fe55360
b46f65355d9a79e8d7ea7bd473a7d559ee601a1b
/src/test/test_util.hpp
41158af83c854700a993b853a76ca26763f92219
[]
no_license
ekuiter/bsdl
8c50eba05f43a789fc58c2e92aa3cd0a6d62d52b
1f9d9cf5f1f55dab3480023456e244001a6a9eae
refs/heads/master
2020-04-05T15:16:29.337225
2018-10-16T19:40:46
2018-10-16T19:40:46
68,543,822
0
0
null
null
null
null
UTF-8
C++
false
false
787
hpp
test_util.hpp
#pragma once #include <boost/test/unit_test.hpp> #include "fixtures.hpp" #undef timeout #define MOCK_THROW(return_type, fn, signature) \ return_type fn signature override { \ throw mock_error(#fn); \ } #define MOCK_EMPTY(return_type, fn, signature) \ return_type fn sig...
1e92e62d19e81ec146345d9ae3a93c686eddf4d9
898aa4f8b4d0892919502c42b1e48137c812d866
/battle.h
2516946cdfe3df4a472f6800e24cc7c8db1971c1
[]
no_license
jlagun/jnp_zad4
62e77680b62222fa43702342901cee03dede2f9b
f52cc657623c8eaa317f9589c1ac43eb410c04c9
refs/heads/master
2020-04-08T23:56:59.795633
2018-12-04T17:55:31
2018-12-04T17:55:31
159,846,557
0
0
null
null
null
null
UTF-8
C++
false
false
2,800
h
battle.h
#pragma once #include <array> #include <algorithm> #include <tuple> #include "imperialfleet.h" #include "rebelfleet.h" template<typename T, T t0, T t1, typename... S> class SpaceBattle { static_assert(std::is_arithmetic<T>::value, "T should be arithmetic"); static_assert(t0 <= t1 && t0 >= 0, "invalid start or end t...
eb53afa11391bfe5e29adfeb93e56a6f16e9517a
27b59918321718e333c5ae2643c9cb3947036f3d
/MeOpenGLScratchPad2/DebugTools/Menu/DebugMenu.h
2af8824734cb92639677715605953f3137f9596c
[]
no_license
ansem571/Game-Engine
5436fe865726ec376c676b7a9ee0294328195192
d19bae19e6dcdefa3cfa699e5735b454ac71c083
refs/heads/master
2021-03-12T21:48:19.981998
2015-08-26T15:13:51
2015-08-26T15:13:51
41,431,400
0
0
null
null
null
null
UTF-8
C++
false
false
1,182
h
DebugMenu.h
#ifndef DEBUG_MENU_H #define DEBUG_MENU_H #include <DebugTools\Menu\Infos\WatchInfo.h> #include <DebugTools\Sliders\SliderInfo.h> #include <DebugTools\CheckBox\CheckBoxInfo.h> #include <Qt\qlist.h> #include <Qt\qtabwidget.h> class QVBoxLayout; class DebugMenu { static DebugMenu instance; DebugMenu() {} DebugMenu(c...
9a218ebc66c1656a8a1b3565c0db97a03f4f6a8b
3a70e041b704a9a2a992be5b3787e2b7110262c9
/MiniJumball/Jumball/JumballEngine/JumballEngine.cpp
457034ed6e0c201376f7f282e24dd3079d5ef8fb
[]
no_license
lixu1918/chinesecheckers
bb7a1dfea6883deee4713074f81aee48712df356
d1b44479df4faa1bf31872420734f03cbdccf9d6
refs/heads/master
2021-01-15T16:57:47.255605
2015-05-27T10:28:33
2015-05-27T10:28:33
35,824,987
0
0
null
null
null
null
UTF-8
C++
false
false
10,409
cpp
JumballEngine.cpp
// // JumballEngine.cpp // Jumball // // Created by Li Xu on 10/6/12. // Copyright (c) 2012 Li Xu. All rights reserved. // #include "JumballEngine.h" #include "JumballData.h" #include "ModifiedSquareDistance.h" #include <assert.h> #include <vector> const short* kJBEModifiedSquareDistanceTables[kJBECornerMax] = {k...
04893f09064ff73fc91ff5aac2836441ab2118e6
0567c3f864c268e91c44bf68f7f9468893efc7e7
/gasDetector/gasDetector.ino
75c149c58e0b3c57986acb0d067bb359c67c24f7
[]
no_license
dancps/EUII_DetectorDeGas
a0d2029955eedd1e97f2361e4047a2a6eb5fb297
5c6cebc26d7f5c4bc50d33dd686ca32ed621cf86
refs/heads/master
2020-05-09T19:07:34.963382
2019-04-14T21:12:52
2019-04-14T21:12:52
181,367,685
0
0
null
null
null
null
UTF-8
C++
false
false
2,476
ino
gasDetector.ino
#define MQ_analog A2 #define MQ_dig 7 #include <LiquidCrystal_I2C.h> int valor_analog; int valor_dig; /* * SDA = A4 * SCL = A5 * * * */ LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7,3, POSITIVE); const int buzzer = 6; const int amarelo = 9; const int verde = 10; const int vermelho = 11; const int startupTime = 2...
0b619016b9f9eaf78452df191d004eb0d83b0347
3f6a6ffac2cc896d5e8c3474d5147ef493c2eebe
/app/src/snake.h
07733fc3790b16ecdfe8af43e4610cfc7f97684c
[]
no_license
N-911/snake
11c8658caf33655d529eaaf356a3ee70291a0853
453bd31fdbd79d33a227109eb7fdd3b3971fc472
refs/heads/master
2022-12-06T18:34:16.493140
2020-08-30T19:58:21
2020-08-30T19:58:21
289,906,168
0
0
null
null
null
null
UTF-8
C++
false
false
1,042
h
snake.h
#pragma once #include <iostream> #include <map> #include <list> #include <deque> #include "functional.h" #include "menu.h" #define BOX_SIZE 40 class Block { public : Block(sf::Vector2<int> new_pos, sf::Color color); sf::Vector2<int> GetPosition(); sf::RectangleShape GetBox(); private: sf::Vect...
9e6f13bfbe4f6f2da879fb5f33b586a30dab8d2a
50821fe4361ec5da927995c0276821caf87e7a9d
/IronsightRessourcePacker/RessourcePackage/AssetPacker.h
88a927c9df256582334221b517a8e9ef36739164
[]
no_license
Laupetin/IronsightRessourcePacker
bab0495e7256c9378a4df2eef5033b1b5d9e8960
7554fc567fb297ee55f65a52313238c40bd8bb5e
refs/heads/master
2020-03-07T18:43:01.378952
2018-04-05T09:47:35
2018-04-05T09:47:35
127,649,353
3
1
null
null
null
null
UTF-8
C++
false
false
229
h
AssetPacker.h
#pragma once #ifndef _ASSETPACKER_H #define _ASSETPACKER_H #include "RessourcePackage.h" namespace IronsightRessourcePacker { bool PackAsset(FILE* fp_in, FILE* fp_out, uint32_t* length, RessourcePackageFlags flags); } #endif
114fc6abc17ed1f6140a5e9f70052a6e38cbbdf4
81b4392e197f69f55649635609ed186e8c8a1962
/cross_detector.h
a77ea6759a89982192591184eb98f239977ec82f
[]
no_license
DmitriiTunikov/cross_detect_growing_up
4b471e5416604f8ffc29e568357b48661e8a55c0
f0a73191b4fa9bf596817c1a040fc33f6b41b1ab
refs/heads/master
2021-03-24T16:44:46.999128
2020-03-23T10:28:47
2020-03-23T10:28:47
247,549,121
0
0
null
null
null
null
UTF-8
C++
false
false
1,601
h
cross_detector.h
#pragma once #ifndef CROSS_DETECTOR #define CROSS_DETECTOR #include <opencv2/imgproc/imgproc.hpp> #include <vector> #include <algorithm> #include "cv_supp.h" class CrossDetector { public: class Cell { public: Cell() {} Cell(const cv::Point2i& p_, const cv::Point2i& grid_coord_, const int& size_) : p(p_), siz...
2424aca3f752cf00409dbbf679d99c7e29793587
c747bd80366464011f303a5d55bc14c273c2d390
/test/zmdp-master/src/search/LRTDP.h
aa5dc9045611ef84a710927fd9b21752d9373c71
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
preet021/POMDP-Solver
54c44317b7705e59d3853c171ddca0d3feccea21
9b2dd238ea8eb62203c632b8470c123688dcb5ec
refs/heads/master
2023-05-29T23:08:14.892022
2021-05-31T12:09:01
2021-05-31T12:09:01
190,997,795
2
0
null
null
null
null
UTF-8
C++
false
false
2,468
h
LRTDP.h
/********** tell emacs we use -*- c++ -*- style comments ******************* $Revision: 1.9 $ $Author: trey $ $Date: 2006-10-20 04:55:49 $ @file LRTDP.h @brief Implementation of Bonet and Geffner's LRTDP algorithm. Copyright (c) 2006, Trey Smith. All rights reserved. Licensed under the Apache License,...
3566cb64cbd0ca7c77edf457119663fe9396d439
9b79cd60651629a65dbc05ad55e5153929af1eee
/coppy.cpp
dbe54a60545bf9d46f21c4118c499976fb6c146b
[]
no_license
SmetanaAlex/lab-1
7f6ce98deefff0287325a15e033dd4331f6e1775
47edb35fc041537d8700a98edb60d5d5d930cefd
refs/heads/master
2022-09-02T04:26:59.051648
2020-05-30T09:56:51
2020-05-30T09:56:51
268,045,533
0
0
null
null
null
null
UTF-8
C++
false
false
10,753
cpp
coppy.cpp
#pragma once #define _CRT_SECURE_NO_WARNINGS_ #include <iostream> #include <cmath> #include <algorithm> #include <iomanip> #include <fstream> #include <vector> #include <bitset> #include <string> #include <conio.h> #include "Header.h" using namespace std; enum Role { client, admin }; struct User { int id; char lo...
2086e2e11051713f299009e009efb974b00c799f
bb09b5aed9a4a1ad0e22655152e9e50af59c9367
/Mult.h
4ab8631dbffe1016f4d8b1c1dd8d87c75bd00173
[]
no_license
Jarv1s10/longint-lab
b5391d784fa4beb965596211af0fa916d71c2138
63ba77fbc79eee2134e4d0c81944d7731d385878
refs/heads/master
2023-03-05T18:08:22.272265
2019-10-07T17:24:18
2019-10-07T17:24:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,340
h
Mult.h
#pragma once #define _USE_MATH_DEFINES #include "Longint.h" #include <cmath> #include <stdlib.h> #include <stdio.h> #include <complex> #include <algorithm> class Mult { public: virtual LongInt multiply(LongInt, LongInt); }; //1st algorithm class Karatsuba : public Mult { public: LongInt multiply(LongInt, LongInt) ...
13f86fefe9e4d47ec8f48f7ce37867599415e843
ef03cf1a39b6fa45d656dbec1f3f358183e609ad
/patchmatchwindow.h
a4e5eaa64b1f1766f48b29bc4643d0ec84a0b84e
[]
no_license
ethercrow/unseeit
ffd7acdcc8abec16f3a6ac56f0630e9a18d2c9e0
13496957369975c0faf6c36227495867871e669c
refs/heads/master
2021-01-13T01:29:05.457169
2011-06-22T17:22:45
2011-06-22T17:22:45
1,633,936
1
1
null
null
null
null
UTF-8
C++
false
false
1,039
h
patchmatchwindow.h
#ifndef PATCHMATCHWINDOW_H_NKL1CREY #define PATCHMATCHWINDOW_H_NKL1CREY #include <QWidget> #include <QLabel> #include <QImage> #include "cowmatrix.h" class SimilarityMapper; class PatchMatchWindow: public QWidget { Q_OBJECT public: PatchMatchWindow(QWidget* parent=0); ~PatchMatchWindow(); void loa...
161ad45b21e96145b6c45b1b28dcdeb52c506462
bf47471549a62d0a8d7ae5259728248e8a3e5862
/Leetcode/Tree/Merge Two 2 BST.cpp
719ff547a5e8172a3c9340278b721ed68526ee28
[]
no_license
VipulKhandelwal1999/Data-Structures-Algorithms
f0139cf4cd5e54f1a2341b1d5a88dc2598f6f757
4443ffcf816ae0825706a961ac307497c61d8afe
refs/heads/master
2022-11-20T01:52:46.227774
2020-07-14T08:08:56
2020-07-14T08:08:56
279,553,263
1
0
null
2020-07-14T10:23:48
2020-07-14T10:23:47
null
UTF-8
C++
false
false
3,108
cpp
Merge Two 2 BST.cpp
/* TC: O(m+n) and Space: O(height of the first tree + height of the second tree) The idea is to use iterative inorder traversal. We use two auxiliary stacks for two BSTs. Since we need to print the elements in sorted form, whenever we get a smaller element from any of the trees, we print it. If the element is gr...
159c545c74db132f18eae298ac97398774cd8fdd
c564ca17835940e084143930338e4e6790614e82
/1. NODEMCU 12E Sketchs - code/dht11_humidity_and_temp_sensor_wifi_infuxdata/dht11_humidity_and_temp_sensor_wifi_infuxdata.ino
439c4ab1bc7785ad03029acd36dfd7a38b3279a4
[]
no_license
IsaacMontero/Arduino
837092233f2f28afc26359cab61cbb96b86d1913
86d0777275d971ccaaca3f85f48fc6c1e05a2ee5
refs/heads/master
2020-03-14T06:21:42.224507
2019-02-01T16:15:11
2019-02-01T16:15:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,664
ino
dht11_humidity_and_temp_sensor_wifi_infuxdata.ino
#include <SPI.h> #include <ESP8266WiFi.h> #include <WiFiUDP.h> #include <DHT11.h> DHT11 dht11(2); const char* ssid = "vodafoneN1D0"; // your network SSID (name) const char* pass = "oras.clCo3"; // your network password int status = WL_IDLE_STATUS; // the Wifi radio's status // the IP address of y...
e1d29f5abd472805b7d77c57ae281b546442ab8c
3cbf01fc0b185c50d9c4f4798cad96e26f804fee
/main.cpp
c1f273f796f0525104765568aba87f07332dd487
[]
no_license
Oran-G/Car-Project
d9f24ffee0481d98501523a4243bea9cf89776ec
abce286f5f19809686a9d10ea6060a675f2beee1
refs/heads/master
2023-02-17T06:30:20.408699
2020-12-28T20:42:23
2020-12-28T20:42:23
323,968,902
0
0
null
null
null
null
UTF-8
C++
false
false
2,406
cpp
main.cpp
#include <Arduino.h> void setup() { Car mechs = Car(5, 6, 9, 10, 48, 15, 9); } void loop() { mechs.forward(10); mechs.right(90); } // car basic movements class // will prob make much better and not use long delays in V2 class Car { public: // prf, prb, plf, plb, - Pins // w_radius - radius of wheels ...
67819109c193160616a1dcc5b22d9fd15b13bf0d
5f596af703fd0cae3dcdcade47c906ce3446c68d
/Tests/Test7/Administration1.cpp
b6780c10212269238661c41bbeae616919d3f246
[]
no_license
StoyanYanev/Data-Structures-and-Algorithms
d62cb2fc1e3353f4a5c568630154f71c07816a23
8b9a6e8ae7392db46821564030d8d4077d77c992
refs/heads/master
2020-04-19T10:53:20.104624
2019-02-03T11:10:33
2019-02-03T11:10:33
168,152,532
0
0
null
null
null
null
UTF-8
C++
false
false
1,207
cpp
Administration1.cpp
#include<iostream> #include<list> #include<vector> #include<algorithm> using namespace std; int main() { /**************************************FAST SOLUTION**************************************/ ios_base::sync_with_stdio(false); long long n; cin >> n; vector<long long> countNumbers(n + 1); list<...
aee98e652ddeab8b83e31ea590bd4b69cd68bc1b
fe18c0717d9a4e4000021b05c3b342d2eaf692c1
/src/search_local/index_storage/rocksdb_helper/rocksdb_direct_process.cc
c4e43df9e86778afea9e1fc320d97e1c3a52cf52
[ "OML", "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
jdisearch/isearch
0c29c972650c36774d58cc10d5dc906deb5bbf18
272bd4ab0dc82d9e33c8543474b1294569947bb3
refs/heads/master
2023-08-12T10:10:13.850970
2021-09-18T08:43:05
2021-09-18T08:43:05
397,084,210
3
1
null
null
null
null
UTF-8
C++
false
false
2,282
cc
rocksdb_direct_process.cc
/* * ===================================================================================== * * Filename: rocksdb_direct_process.cc * * Description: * * Version: 1.0 * Created: 09/08/2020 10:02:05 PM * Revision: none * Compiler: gcc * * Author: zhuyao, zhuy...
bf2c1c07dfc90bf7b9b5625b21082c41447dacf3
916bfdd514df96266b813f8742b5a66dc90ef331
/libstomp-src/main.cpp
d6d28a3c313daccfd3f0b1d9224415b456b4923b
[]
no_license
rthomas/mcollective-cpp-agents
4144891c9dd3a21d25e0ac3c75445a5982052cce
50de822360e51cf691f80f80147d7258e08e10d8
refs/heads/master
2020-04-08T21:54:00.626952
2012-04-25T18:08:09
2012-04-25T18:08:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
185
cpp
main.cpp
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include "listener.h" int main(int argc, char *argv[]) { Mcollective::Listener a; a.StartThreads(); sleep(101010100); }
db2035d443a2fad862e1e8e6526d8e515b719eaa
b442899b19a966d59dc60f9270f5b2d7d8261ca0
/lib/parser/include/parser.h
80ec04cc56bc2744df13debc62e71ec971bdc323
[ "Apache-2.0" ]
permissive
UsatiyNyan/ledmusicreworkembedded
17ea3ad6077cb7c8a07afb9ac3879d333bef1e92
c41b7b5efdfa595111965ba5de1f5506792d90d0
refs/heads/master
2022-06-09T23:23:15.600157
2020-05-08T18:42:01
2020-05-08T18:42:01
259,804,331
3
0
null
null
null
null
UTF-8
C++
false
false
809
h
parser.h
#ifndef __LIB_UART__ #define __LIB_UART__ #include "serial.h" #include "config.h" #include "job_thread.h" #include "rgb.h" #include "fixed_queue.h" #include <string> namespace parser { class Parser : public executor::JobThread { public: explicit Parser(container::FixedQueue<clr::RGB> &rgb_queue, Config &config);...
26b647f2209456d6718c363a5986cd12fbe60374
c7e7b005786eca5066e31d547aff4efdbd76950c
/src/client/gl/Image.cpp
244c75503a70eaeb645395286b4dbc6055e8e876
[]
no_license
QualityHammer/LearnOpenGL
442f5d4031877c40353f3d0a161a82ae41625d85
9075474c85352a14354bc8cf9b7fc83a571a1785
refs/heads/master
2023-01-12T04:57:25.473771
2020-04-03T01:43:49
2020-04-03T01:43:49
251,726,401
0
0
null
null
null
null
UTF-8
C++
false
false
333
cpp
Image.cpp
#include "client/gl/Image.hpp" #include <utils/stb_image.h> namespace gl { Image loadImage(const std::string& filename) { Image img; stbi_set_flip_vertically_on_load(true); img.data = stbi_load(filename.c_str(), &img.width, &img.height, &img.nrChannels, 0); return i...
ee354c8016def397109247dc7cd8fef07fc2cc8b
70738bd1ec6444b1dafe1c3877b82dd2d1c7d8a3
/main.cpp
819486ac3699ca49a38cfe1d6298d6abd581a89d
[]
no_license
raven91/spr_approximate_bayesian_computation
816db3611baf8021816866457ab9f807159b6785
d5d635c849a2590f4097ffa7609a250449445528
refs/heads/master
2021-10-15T08:43:52.663535
2019-02-05T15:29:47
2019-02-05T15:29:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,177
cpp
main.cpp
#include "Engines/AbcRejectionEngine.hpp" #include "Engines/AbcSmcEngineSynthetic.hpp" #include "Engines/AbcSmcEngineExperimental.hpp" #include "Engines/SimulationEngineForSyntheticData.hpp" #include "ParameterSets/SyntheticParameterSet.hpp" #include "Other/PeriodicBoundaryConditionsConfiguration.hpp" #include "Paralle...
22d57f185d5b4799e9aee3fdf1b3e767c9fc1c6c
cd14901440b31b5d4657ac688e53126dee3cb5d7
/casa/vart/refsystem.h
6209ffca7a7f67434d160c244f4cacca23eda68e
[]
no_license
samurai-753/thuza_cg
1f9c57d742c69965e8d69c03887f29af58e7949d
464376ecc6ddf75aaec1eea86cd9b456eff152c8
refs/heads/master
2020-03-30T09:27:05.746642
2018-10-01T11:24:24
2018-10-01T11:24:24
151,076,047
1
1
null
null
null
null
UTF-8
C++
false
false
584
h
refsystem.h
#ifndef VART_REFSYSTEM_H #define VART_REFSYSTEM_H #include "graphicobj.h" #include "scenenode.h" namespace VART { class RefSystem : public GraphicObj { public: // PUBLIC METHODS RefSystem(); // hide the axis Z void HideZ(); virtual VART::SceneNode * Copy(); virtual void ComputeBounding...
e38a206faf78b49fb6745ac174fabaa5cc96c93e
2a88cc31069099e1c223f0049f8d9ff27703938b
/code/engine/gkCommon/ISystemProfiler.h
e00b92b0d8db5c0df8c520ba5a8e83084514a1e2
[]
no_license
longlongwaytogo/gkEngine
ffd4aff126095b7798fdb5a8cafde75a11b77fb5
c308a5f7a9900dcb40c3cd37b9f2fd0829b246b5
refs/heads/master
2020-11-27T11:37:55.587685
2019-12-21T12:31:05
2019-12-21T12:31:05
229,424,018
0
0
null
2019-12-21T12:25:51
2019-12-21T12:25:50
null
UTF-8
C++
false
false
3,665
h
ISystemProfiler.h
////////////////////////////////////////////////////////////////////////// /* Copyright (c) 2011-2015 Kaiming Yi 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...
859216e55f305f2a104c3c861587f867ef0da00b
83cce1dd075980ce3b9ffed7205272b9bf534e88
/code_embarque/main_Envoi_Vers_Avion.ino
b25c2e2502b2fbc536eb18b918a2cfddf3df75d6
[ "LicenseRef-scancode-public-domain" ]
permissive
Tati76/Backup-Arduino-Avion
ea484d4e3734b05aef09a6069b95fd38f1e97b87
484500cc97e03df20de9c2e3d70808f6edf14aa0
refs/heads/master
2021-05-01T19:55:58.430973
2018-06-13T08:32:35
2018-06-13T08:32:35
120,955,205
0
0
null
null
null
null
UTF-8
C++
false
false
2,962
ino
main_Envoi_Vers_Avion.ino
// ************* La Radio ************* #include <SPI.h> #include <RF24.h> // voir http://tmrh20.github.io/RF24/ // ************* La Manette ************* #include <PS4USB.h> // Satisfy the IDE, which needs to see the include statment in the ino too. #ifdef dobogusinclude #include <spi4teensy3.h> #endif #i...
c7250ee03a74424230982f7f471fe512bfa28ec6
a37c0ccadb02af2877c4be9bad863d7ba8a1a390
/client/Game2/LocaleSelectScene.cpp
37da19c521e46d5f61e3486e0f591c558fe22239
[]
no_license
johnsie/HoverNet
9dec639cdb6471f98ffc357d5f9d1b089eba1336
05ac3afbd8edfc6301eff352f1ae467c7e930f43
refs/heads/master
2022-02-23T15:37:50.754976
2020-03-03T16:13:31
2020-03-03T16:13:31
145,713,174
1
0
null
null
null
null
UTF-8
C++
false
false
2,483
cpp
LocaleSelectScene.cpp
// LocaleSelectScene.cpp // // Copyright (c) 2015-2016 Michael Imamura. // // Licensed under GrokkSoft HoverRace SourceCode License v1.0(the "License"); // you may not use this file except in compliance with the License. // // A copy of the license should have been attached to the package from which // you have taken ...
3a835b5c9970b87131f1ac251d39e62fb2f67efb
8163ae43641d9acc6341809c6c1e0959563e55f0
/src/MasterSlave.cpp
1d3d96ce0aa3ce805336cc59b72b7e43d7eb0154
[]
no_license
jimgoo/hfrisk
f1faf10ab3235e95fc05923ecdceee0f355844bc
defc1cea1c25504bac5c7d2c8cc943814868d7db
refs/heads/master
2022-11-06T09:46:27.944632
2022-10-26T16:33:27
2022-10-26T16:33:27
7,532,778
6
3
null
null
null
null
UTF-8
C++
false
false
4,685
cpp
MasterSlave.cpp
/* Author: Jimmie Goode Created: 2013-01-10 A dynamically load balanced master/slave application based on: http://www.lam-mpi.org/tutorials/one-step/ezstart.php */ #include "MasterSlave.hpp" // MPI #define WORKTAG 1 #define DIETAG 2 //------------------------------------------------------------------...
86b498f91b83a1decfaf44993ea9e3f4a758d2ab
6e2e8592b602ac36de770ad101eed05405c982cc
/modules/perception/camera/lib/traffic_light/detector/recognition/proto/recognition.pb.h
382b148c1c58dfb249f2d88c82ed3e22616dbe1b
[]
no_license
sxhxliang/Apollo-Lite
6060dc361fd22b90fa2c986ee4dbbb6cf38d50ec
b59e1c6a9a88aa421e72fa709a80c10e868531f8
refs/heads/main
2023-04-09T19:04:15.275450
2021-04-17T18:25:22
2021-04-17T18:25:22
356,549,140
2
3
null
null
null
null
UTF-8
C++
false
true
55,705
h
recognition.pb.h
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: modules/perception/camera/lib/traffic_light/detector/recognition/proto/recognition.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_modules_2fperception_2fcamera_2flib_2ftraffic_5flight_2fdetector_2frecognition_2fproto_2frecognition_2eproto #define GOOGLE_PR...
0952703e709fe309bdfb796c853865099fbe3f91
8034c3f9f500d3d150529b8098f3013b4afced56
/Leetcode 30 Days June/Week 3/PermutationSequence.cpp
35e19e7e43e1b6349059d0aac250c7bebeef0621
[]
no_license
jumbagenii/CP-DSA-Cpp-C
e6b6c366d77cbab4fc5002275da662c9948c14ba
7c816d35b964c1e69197652067aed08555064b7f
refs/heads/master
2023-08-12T13:52:58.846452
2021-10-01T20:14:29
2021-10-01T20:14:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
610
cpp
PermutationSequence.cpp
class Solution { public: string getPermutation(int n, int k) { int fact_n = 1; string s = ""; for (int i = 1; i <= n; i++) { fact_n *= i; s += (char)(i + 48); } int k_index = k - 1; string ans = ""; while (k_index) ...
ad5c03dab164f3081a04e09ec7fe749fd98d72c6
5d06523d5c6da5f877e209d6d6dbfe45f5900f87
/ConApp7_Test_edge/ConApp7_Test_edge/ConApp7_Test_edge.cpp
0872dda6cb0fe994725c463f1c7d62591a47c0db
[]
no_license
snandi76/Beautiful_CPP
9b889eb82ee8db687237a2eefa0f1fbccc826fa2
6f3107ade910c7a98106c027468db929f55ee678
refs/heads/master
2020-04-16T15:26:28.155375
2019-01-20T11:56:04
2019-01-20T11:56:04
165,702,829
0
0
null
null
null
null
UTF-8
C++
false
false
1,440
cpp
ConApp7_Test_edge.cpp
//perfect power #include "stdafx.h" #include<iostream> #include<map> using namespace std; void ListPrimefactor(map<int, int> &mapPower, int &num) { int iResult = num; while (iResult % 2 == 0) { auto it = mapPower.find(2); if (it == mapPower.end()) { mapPower.insert(pair<int, int>(2, 1)); } else { ...
45cb169ff89f24867ec5e586c8a96f0dcf9791d8
2b8e237170f3ff77ad18cb7234b1005e7f52f2ca
/test_catch/tests/test_lib.cpp
69b93342b54edb482f89f28f3e0411d2ce90e600
[]
no_license
niosus/c-tests
59b735b417cb7d45deeca42d274da26e051aa38d
f319ed4121043da21c97901396086004c4d890f5
refs/heads/master
2021-01-21T01:50:18.439197
2016-06-14T14:54:57
2016-06-14T14:54:57
55,141,919
0
0
null
null
null
null
UTF-8
C++
false
false
168
cpp
test_lib.cpp
#include "catch.hpp" #include "../lib.h" TEST_CASE("one", "[lib]") { REQUIRE(get_me_one() == 1); } TEST_CASE("hello", "[lib]") { REQUIRE(get_me_hello() == "hello"); }
8c033bb01bd817a12063a86aeeafe2b0f31a8181
17a41dcec3b1678d99a5113dbe69ff7e64830c5a
/XeytanWxPPClient/XeytanWxPPClient/main.cpp
1f02bc7ce5c0e8e0e71b15edf0d85eb7eb7217e1
[]
no_license
morole/XeytanWxCpp-RAT
a0e018355700e2de45d1b7437135d330316f52e1
4d608efca127bc2c922839a075753fd2b07c770d
refs/heads/master
2022-04-09T06:41:17.494698
2019-09-13T08:28:48
2019-09-13T08:28:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
961
cpp
main.cpp
#include "Application.h" #include "appdefs.h" #ifdef XEYTAN_WINDOWS #pragma comment(lib, "comctl32.lib") #pragma comment(lib, "Rpcrt4.lib") #pragma comment(lib, "ws2_32.lib") #endif wxIMPLEMENT_APP_NO_MAIN(Application); void test() { /* std::shared_ptr<PacketProcess> packet = std::make_shared<PacketProcess>(); ...
f8bbe5e34c59aca91015533b45c95131709928b4
7fccb87e0640df7f9bfc33ae123a99f723a3411a
/OrderBook/types.h
608a22243eea2b03db99e28b6785c784d1143a8f
[]
no_license
hmunjuluri/MyOrderBook
729383e5ea94c2498b5429f4657aed72189bc3f2
4c1678f83bb46b360e99ca392fecfc9bcc087553
refs/heads/master
2021-04-28T13:35:34.644193
2018-02-19T21:18:48
2018-02-19T21:18:48
122,107,626
1
0
null
null
null
null
UTF-8
C++
false
false
559
h
types.h
// // Created by Hanuma Munjuluri on 2/19/18. // #pragma once #include <boost/serialization/strong_typedef.hpp> #include <limits> #include <string> #include <stdint.h> typedef unsigned long OrderId; typedef unsigned long Size; typedef unsigned short Price; typedef std::string Symbol; enum class Side {ASK,BID}; type...
22972465557576d795119475f73d58e9918abdb5
83b8a9e0ba13a792f44fca455ba01043b9a81c78
/201910/201910/BOJ_2056.cpp
d247efddde2f3a6a21dcef3a067794804388f634
[]
no_license
BoGyuPark/VS_BOJ
0799a0c62fd72a6fc1e6f7e34fc539a742c0782b
965973600dedbd5f3032c3adb4b117cc43c62a8f
refs/heads/master
2020-04-14T12:45:53.930735
2019-12-04T03:06:44
2019-12-04T03:06:44
163,849,994
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
928
cpp
BOJ_2056.cpp
/* BOJ 2056 ÀÛ¾÷*/ #include<iostream> #include<queue> #include<algorithm> #include<vector> using namespace std; int n, wight, w[10001], m, t, indegree[10001], ans; int accW[10001]; vector<vector<int>> v; queue<int> q; void topologicalSort() { for (int i = 1; i <= n; i++) { if (indegree[i] == 0) q.push(i); accW[i] ...
1a063449b0830bb5ec584609cd8631580ea5cf2a
d9cda09d3a23309d1f6c72a3c934986a40408ee1
/datamahasiswa/Form2.h
54a82ea9d8858b316ee7df0e93b7330c020231a7
[]
no_license
guntur10/datamahasiswa
88e523602ebe3ffc1f24f7c293de4fc99f0ad011
1a47387ee978d4612bce785ac3db063c9e978ee1
refs/heads/master
2022-11-19T14:53:29.916557
2020-07-24T17:41:52
2020-07-24T17:41:52
282,276,243
0
0
null
null
null
null
UTF-8
C++
false
false
33,870
h
Form2.h
#pragma once #include "Form1.h" #include "Form2.h" #include "Form3.h" namespace datamahasiswa { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; using name...
0163d7278cbef9c4491c8b6417ce43949f73b34a
4afd8f383a9548ddece248bd7c08246e8ce62fce
/gcf/maker/cpp/src/CppSerialize.cpp
d02b0665a826b8d54288540852973803e2dbf228
[]
no_license
xuantao/small-idea
4f161ae77eadf846e50a3ba8e50f38428cb014d6
a421668bee717bd07880aa6606ebf0d9fd7d867f
refs/heads/master
2020-06-22T06:29:39.837841
2020-05-20T15:43:44
2020-05-20T15:43:44
74,754,319
2
0
null
null
null
null
UTF-8
C++
false
false
7,080
cpp
CppSerialize.cpp
#include "CppSerialize.h" #include "CppUtil.h" #include "utility/Utility.h" #include <iostream> #include <fstream> #define _TAB(ex) std::string((_tab + ex) * 4, ' ') GCF_NAMESPACE_BEGIN namespace cpp { Serialize::Serialize() { } Serialize::~Serialize() { Clear(); } Serialize*...
511e3efb18f0ec85fbc24852e1690695f409feb8
701ed3e5acc702c92c5d04eed94635146fc883cd
/observable.h
d2048a8c81a8e5b861e8158b7a04b6bf278d8cc9
[]
no_license
aldoshkind/treeipc
d5fecdeb6cd44b70c71d9d476a19c61fd855e0ec
5c4c2a54fa90e0bdb66da0ec6b6ffb9b10c70239
refs/heads/master
2021-07-09T15:49:31.584310
2020-04-14T09:56:38
2020-04-14T09:56:38
92,615,350
1
0
null
null
null
null
UTF-8
C++
false
false
1,354
h
observable.h
#pragma once #include <mutex> template <class RV, class ... ARGS> class one_to_one_observable { public: class listener { std::mutex mut; one_to_one_observable *obs; public: listener() { obs = nullptr; } virtual ~listener() { set_observable(nullptr); } virtual RV process_notification(ARGS...
62bd6599c9e5987f83723fae5ec25b8758e5d253
d7ab63dc487611d19fb6ab75e9ebc7123373d5d2
/RayTracer/Mesh.h
22147033827f3e9980b36b72ba46a9e5c5b1c938
[]
no_license
exaequo/Fotorealistyczna
c5a049b513d2ec2ca68b598b6308d5bfe3c5babd
b29250e553ca46429fb63f73e5a84b2a9c36a05e
refs/heads/master
2021-01-23T01:08:47.321280
2017-04-04T22:24:55
2017-04-04T22:24:55
85,880,880
0
0
null
null
null
null
UTF-8
C++
false
false
1,070
h
Mesh.h
#pragma once #include "Vector3.h" #include "Primitive.h" #include "Triangle.h" class Mesh : public Primitive { public: Mesh(); Mesh(const std::string &fileName); Mesh(const std::string &fileName, const Color &material); ~Mesh(); void LoadMesh(const std::string &fileName); std::vector<Triangle *> Polygons() co...
bff18f47f56367c42cfe03ed1772b78c12fb33ce
a2dcf3df78c81208c844f4389ba3b07dd6e81474
/resiprocate-1.10.1/apps/ws-server-self/server.cxx
0e3e2b5b397ada7030cec6ffc745732410f21654
[ "BSD-3-Clause", "VSL-1.0", "BSD-2-Clause" ]
permissive
tempbottle/SurfWebRTC
637b43142fcc8a18459efaf43c03f9cf0a2e248c
55ae8a0122503db99c76545ccd1e792089bb8a5c
refs/heads/master
2021-01-18T07:37:02.223609
2016-02-19T11:12:15
2016-02-19T11:12:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,553
cxx
server.cxx
#include <signal.h> #include "WsServer.hxx" #include "/usr/local/include/rutil/Log.hxx" #include "/usr/local/include/rutil/Time.hxx" #include "/usr/local/include/rutil/Logger.hxx" #define RESIPROCATE_SUBSYSTEM resip::Subsystem::REPRO using namespace server; using namespace resip; using namespace std; static bool fi...
1a342c631d130322bd5ec1dc4371574b052dae15
f59955d436b58db8608b4591975d76883cd23084
/source/sender.h
2b3283b3b740a62702fe1a5a678d241acd037f4f
[ "Apache-2.0" ]
permissive
Verch/mirror_sync
6dde8dfb544741771eef7af0c1640ff98ad7324b
9b85ad9e0d52dea8cad7c720947c866f69d68243
refs/heads/master
2021-01-17T06:52:44.369786
2017-04-24T16:50:35
2017-04-24T16:50:35
50,615,945
0
0
null
null
null
null
UTF-8
C++
false
false
328
h
sender.h
#pragma once #include "boost/asio.hpp" #include <string> class Sender { public: explicit Sender(); void send_for(boost::asio::ip::udp::endpoint& ep, const std::string& msg); private: boost::asio::io_service _service; boost::asio::ip::udp::endpoint _endpoint; boost::asio::ip::udp::socket _socke...
bc6f1ee2f4f64339df0506b685aa8a658b1a95a5
d7db098f4b1d1cd7d32952ebde8106e1f297252e
/CodeForces/0864/d.cpp
3490bdb917fd52f4e2d2c1fbcb8f7b8bfb3e8530
[]
no_license
monman53/online_judge
d1d3ce50f5a8a3364a259a78bb89980ce05b9419
dec972d2b2b3922227d9eecaad607f1d9cc94434
refs/heads/master
2021-01-16T18:36:27.455888
2019-05-26T14:03:14
2019-05-26T14:03:14
25,679,069
0
0
null
null
null
null
UTF-8
C++
false
false
1,337
cpp
d.cpp
// header {{{ #include <bits/stdc++.h> using namespace std; // {U}{INT,LONG,LLONG}_{MAX,MIN} #define ALPHABET (26) #define INF INT_MAX #define MOD (1000000007LL) #define EPS (1e-10) #define EQ(a, b) (abs((a)-(b)) < EPS) using P = pair<int, int>; using LL = long long; // }}} int main(...
b3be5e47341ff7ee66a2ea7201ed08d28677bbcd
b61d8bbae7e830329eff55cf6105d45c167033f9
/Source/examples/fwex/2D3DRegistrationFrameworkExtended/itkMattesMutualInformationImageToImageMetricComplete.h
27c022166f1d5622f56837376963c082efa25aea
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
fwzhuangCg/midas-journal-776
5b67062c22d62cc7e2c4fdef479c52b3bfc2f0b6
a4f2039d0ac2497fcee25bd64ab34a8ba776004f
refs/heads/master
2021-05-26T15:17:34.645160
2011-08-22T13:47:42
2011-08-22T13:47:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
25,617
h
itkMattesMutualInformationImageToImageMetricComplete.h
// // <b>NOTE:</b> // <p><i>This class is an extension of the original // itkMattesMutualInformationImageToImageMetric. Unfortunately it is not // possible to derive from the class and then override Initialize() (in the // context of doing what we want to do - overriding bounds) or make the // internal joint PDF acce...
ecf29530bcd26677bec9c17ad0ddc3e539180793
f8959d663bba888709824a7890a62768f80c116a
/src/calculators/WorkItemCalculator.h
025f4273bdda365995238a73c04547f071670694
[ "LicenseRef-scancode-public-domain" ]
permissive
dqshen/cwdsim
620dd0e8b7283634d2d0c7d54aad760171d324b0
b773300c980ff5a9680c3b3e73fd4a2a1821446f
refs/heads/master
2021-01-22T17:14:26.017585
2013-07-30T07:45:29
2013-07-30T07:45:29
11,733,912
0
1
null
null
null
null
UTF-8
C++
false
false
1,053
h
WorkItemCalculator.h
#ifndef WORKITEMCALCULATOR_H_ #define WORKITEMCALCULATOR_H_ #include <CL/cl.h> #define GL3_PROTOTYPES 1 #include "../graphics/gl3.h" #include "../graphics/BufferTexture.h" #include "../computation/Program.h" #include "SharedBufferCalculator.h" class WorkItemCalculator : public SharedBufferCalculator { public: ...
9e80f11542ce828d9aa73a366e924776f9569cce
250101ffb5bd6c4bcfe328854284338772e9aab5
/gate_server/communicate/BroadUnit.h
2d3ca6365d8f31a15d14ea2cd964c14c4fb4eaf5
[]
no_license
MENGJIANGTAO/GameServer-2
aa1299e9442e221a1a2d26457c18396d5e4c54bd
be261b565a1f823d8d17235a21dd1f2431c0a30d
refs/heads/master
2021-09-17T22:45:10.621608
2018-07-06T05:15:47
2018-07-06T05:15:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
532
h
BroadUnit.h
/* * BroadUnit.h * * Created on: 2014-09-26 10:49 * Author: lyz */ #ifndef _BROADUNIT_H_ #define _BROADUNIT_H_ #include "BaseUnit.h" class BroadUnit : public BaseUnit { public: virtual int type(void); protected: virtual UnitMessage *pop_unit_message(void); virtual int push_unit_message(UnitMess...
3545a23de73b18b863eefd0a20b3d17b453a2c49
4fa9c944984bdd7b9439a2d27f7f93b7c5ebfc10
/app/sys/sys_cli/src/commands/helpers.cpp
f0679a65d567b824f1fbb8e2911919021737f046
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-protobuf", "LicenseRef-scancode-proprietary-license", "BSL-1.0", "LGPL-3.0-only", "LGPL-2.0-only", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.1-only" ]
permissive
continental/ecal
99f58902e01c791a8b5f7a72699631c179569062
cb11fbef1b394d6d4336ff0e6e187f45799811b6
refs/heads/master
2022-08-14T23:34:39.725494
2022-07-28T17:39:27
2022-07-28T17:39:27
518,888,778
6
4
Apache-2.0
2022-07-28T17:39:28
2022-07-28T14:56:12
null
UTF-8
C++
false
false
10,168
cpp
helpers.cpp
/* ========================= eCAL LICENSE ================================= * * Copyright (C) 2016 - 2020 Continental Corporation * * 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 * * ...
548e5045f459ded659369155a1e4479e4c66201d
8cf32b4cbca07bd39341e1d0a29428e420b492a6
/contracts/libc++/upstream/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/ctor.pass.cpp
e7a08edb5a37d3a5eb8598b70e351fe4ac95fc19
[ "NCSA", "MIT" ]
permissive
cubetrain/CubeTrain
e1cd516d5dbca77082258948d3c7fc70ebd50fdc
b930a3e88e941225c2c54219267f743c790e388f
refs/heads/master
2020-04-11T23:00:50.245442
2018-12-17T16:07:16
2018-12-17T16:07:16
156,970,178
0
0
null
null
null
null
UTF-8
C++
false
false
1,279
cpp
ctor.pass.cpp
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===---------------------------------...
c8dc02fcde65eb4c6d30ae953623591887b60fc9
e467945d5b3b8f80da3e4fac9fd52d5c50b9f035
/MicroWorld/Vector2.cpp
ae8e7096ef58600bee97ae21d743cb0e34962c93
[]
no_license
vistoriel/MicroWorld
460abd2e669d22caa2248f16533905ac0e22d0c6
f1126bb2af11c2072e368dab4e3a0d6bf1901c56
refs/heads/master
2022-08-16T16:28:13.145150
2020-04-24T20:11:26
2020-04-24T20:11:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
464
cpp
Vector2.cpp
#include "Vector2.h" Vector2::Vector2() { x = 0; y = 0; } Vector2::Vector2(int _x, int _y) { x = _x; y = _y; } const Vector2 operator+(const Vector2& left, const Vector2& right) { return Vector2(left.x + right.x, left.y + right.y); } bool operator==(const Vector2& left, const Vector2& right) { return left.x ==...
7522e7284eb99612faef5f8ce1c464a8f57acf9a
7e97b46635bc9f28b7102845192a2938313a21f3
/other/bipartite graph.cpp
38072501912219816441e53ec68a43d371ed75e6
[]
no_license
ittsu-code/Atcoder_ittsucode
3a8f609c649cfd8357c829c3f4aa787c41543211
3294babf5d6e25f80a74a77fd49ae535d252d4da
refs/heads/master
2022-11-06T03:41:55.136071
2020-06-16T14:53:34
2020-06-16T14:53:34
249,254,658
0
0
null
null
null
null
UTF-8
C++
false
false
695
cpp
bipartite graph.cpp
#include <bits/stdc++.h> using namespace std; using Graph = vector<vector<int>>; int main() { int N, M; cin >> N >> M; Graph G(N); for (int i = 0; i < M; i++) { int a, b; G[a].push_back(b); G[b].push_back(a); } bool is_bipartite = true; vector<int> dist(N, -1); queue<int> que; for (int ...
4e7e2ce7f397fcba74d76505cd5424985dfee3a8
c58114b733908235624ba5b9627a9d3dc5edd023
/A#3/TriangleSoup.cpp
e5386b12c0ab9f334154a3b4e26de6050a11576a
[]
no_license
microshadow/Computer-Graphics
e3c76e5d411ed28ed7e89456bdd0c24d2d036bb0
673813ed5676aeb6da631bd96f34caf98091fe5a
refs/heads/master
2022-09-19T20:32:18.171704
2022-09-16T19:52:12
2022-09-16T19:52:12
109,928,150
0
0
null
null
null
null
UTF-8
C++
false
false
934
cpp
TriangleSoup.cpp
#include "TriangleSoup.h" #include "Triangle.h" #include "first_hit.h" bool TriangleSoup::intersect( const Ray & ray, const double min_t, double & t, Eigen::Vector3d & n) const { //////////////////////////////////////////////////////////////////////////// // Replace with your code here: double min_t_f...
b7013f4ecdc27555ccc82ef6960fdf1880c7944e
af87b94591c8965856dede8449b6592310fcfb80
/server/main.cpp
046252d427d23a38a6501d8381fb838fdb811609
[]
no_license
ArenGorman/RumChat
9812ced46b4971a3aa6026ab0a9bb7d78b1b7654
81411ec5957072595dc00b731ee18b020e7c525e
refs/heads/master
2020-04-30T06:06:25.614112
2019-03-20T03:18:37
2019-03-20T03:18:37
176,642,553
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
15,123
cpp
main.cpp
#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> #include <stdlib.h> #include <stdio.h> #include <string> #include <map> #include <ctime> #include "Packet.h" #pragma comment (lib, "Ws2_32.lib") #define DEFAULT_BUFLEN 512 #define DEFAULT_PORT "27015" #define DEFAULT_USER "...
e487856695bb0b7bd9f2dea3dbd755aae6e07071
626155e8aa7cda396b5bf320c13821d641213214
/yaf_opengl_engine/src/YafAnimation.cpp
bc2b08a333590b12fa5f3d6ef46460c723091392
[]
no_license
DDuarte/yaf-opengl-engine
cc8f750790177523e4a4a62bc7c076cc417eebb1
337afacc1068688c3e8e22e02acfc735634773dd
refs/heads/master
2021-01-02T08:39:26.635377
2014-01-06T20:32:24
2014-01-06T20:32:24
12,918,872
0
1
null
null
null
null
ISO-8859-3
C++
false
false
3,999
cpp
YafAnimation.cpp
#include "YafAnimation.h" #define _USE_MATH_DEFINES // for M_PI #define SPEED 5.0f #include <math.h> #include <cassert> #include <iostream> void YafLinearAnimation::ApplyAnimation() { Node->Position = _currentPoint; Node->Yaw = _currentAngle; } void YafPieceAnimation::ApplyAnimation() { Node->Position.X ...
466d4a149254071c754f137fcd7e80ab9ecfef51
a7ff96e37278abb16d03890cae1e6c932b4c9705
/Design pattern/Bridge Pattern/ShapeColor/RedCircle.h
3b7f55ff411fe3ef653b0e3a2a6f8bf73637e304
[]
no_license
vectormars/CPP
c42b2b4812b44935bd02cc2c0e22be1777b45228
20e8347a1ec50f75acead3d55bf1209dd01714cf
refs/heads/master
2021-09-18T20:39:52.055912
2018-07-19T17:45:02
2018-07-19T17:45:02
106,834,183
0
3
null
null
null
null
UTF-8
C++
false
false
256
h
RedCircle.h
#ifndef REDCIRCLE_H #define REDCIRCLE_H #include "DrawAPI.h" class RedCircle : public DrawAPI { public: RedCircle(); virtual ~RedCircle(); void drawCircle(int radius, int x, int y); }; #endif // REDCIRCLE_H
8da8c617542d05519038bde01e7c089ed04d31f4
76c634da5d112ee73eae99e2ab264ab89288becb
/src/pdm/core/intern.cc
919c0245be5e918b7c596543d2bffb64df238147
[]
no_license
tsnl/pdm
ff3fa060507af11750084773c082add571b99acf
e5ab16df612b2fda9fc0b85a0a25631be086af85
refs/heads/master
2023-04-16T18:01:28.665742
2021-03-03T05:27:48
2021-03-03T05:27:50
286,868,703
4
0
null
null
null
null
UTF-8
C++
false
false
1,023
cc
intern.cc
extern "C" { #include <intern/strings.h> } #include "intern.hh" namespace pdm::intern { // // Static String Manager: // String::Manager String::s_manager; String::Manager::Manager() : m_strings_repository(nullptr) {} void String::Manager::ensure_init() { if (m_strings_repos...
f274eb6ec4e4f58e1fb5674ce690ba1c800f4c04
b0494ca4b386fdd71323a7a15126fe2e2200a86f
/src/base/object.cpp
b4d8f2bc7d835f15b247cb85ecc877b92e1ce727
[]
no_license
3dem/emcore
c0a37f9feb1dee088c0fc66da93c195445972451
6189d4e9f9bb4b05ff41bc0bd72204283b93957a
refs/heads/master
2021-03-27T15:46:16.680917
2020-03-23T13:44:28
2020-03-23T13:44:28
93,826,644
5
0
null
2020-03-23T13:44:29
2017-06-09T06:31:38
C++
UTF-8
C++
false
false
2,690
cpp
object.cpp
// // Created by josem on 12/4/16. // #include <sstream> #include "emc/base/object.h" using namespace emcore; namespace emc = emcore; Object::Object(const Object &other) { *this = other; } // Ctor Object Object::Object(Object &&other) noexcept { swap(std::move(other)); } // Move ctor Object::Object(const...
96084e2506d2e2b1b3b5dbd7365e463892f88136
bdc132b6fd4b693d56e093b55b99af2a7fad2c46
/leetcode/merge-intervals.cc
6a629964a6fc18e1d35320388537e6bacc48db77
[]
no_license
ailyanlu/my-acm-solutions
8f76b8e9898ec8c97463bb619c7fbc72a662ec7e
fc79e6284ea57ce561e7c8c9c0e5c08e06e1c36b
refs/heads/master
2017-10-07T16:14:45.706176
2016-04-30T06:38:26
2016-04-30T06:38:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,022
cc
merge-intervals.cc
#include <algorithm> #include <iostream> #include <vector> using std::vector; /** * Definition for an interval. */ struct Interval { int start; int end; Interval() : start(0), end(0) { } Interval(int s, int e) : start(s), end(e) { } }; inline bool intervalCompare(const Interv...
618ea2134c9b041a2e7329f62875a7d8ff76d3d9
86c02e6e90c3df298008ad4034d746ddc77442fe
/player/src/main/cpp/common/CallBackJava.cpp
6dfe70997eaa758e53a967a44ab2cd400107aa63
[]
no_license
huozhenpeng/re_study_av
00f5e4ec0443d53dec05ae339842cb1f616a3543
847f7433966b3f9d83c57cea3a3047b13546f22e
refs/heads/master
2020-11-28T00:07:26.327521
2020-01-07T10:46:07
2020-01-07T10:46:07
229,655,055
0
0
null
null
null
null
UTF-8
C++
false
false
3,722
cpp
CallBackJava.cpp
// // Created by 霍振鹏 on 2019-12-24. // #include "CallBackJava.h" #include "../head/log.h" CallBackJava::CallBackJava(JavaVM *vm, JNIEnv *env, jobject job) { javaVm=vm; jniEnv=env; instance=job; jclass jcl=env->GetObjectClass(job); //现在的androidstudio好智能,java端不写这个方法也会报错 jmd=env->GetMethodID(jcl...
fd656fbd95e60764056fe6331d6a256407fdfc68
260a986070c2092c2befabf491d6a89b43b8c781
/coregame/claim.h
2f8bc1224f89781e5b3b02e8665d094ccffb1b6b
[]
no_license
razodactyl/darkreign2
7801e5c7e655f63c6789a0a8ed3fef9e5e276605
b6dc795190c05d39baa41e883ddf4aabcf12f968
refs/heads/master
2023-03-26T11:45:41.086911
2020-07-10T22:43:26
2020-07-10T22:43:26
256,714,317
11
2
null
2020-04-20T06:10:20
2020-04-18T09:27:10
C++
UTF-8
C++
false
false
7,662
h
claim.h
/////////////////////////////////////////////////////////////////////////////// // // Copyright 1997-1999 Pandemic Studios, Dark Reign II // // Region Claiming System // // 17-AUG-1999 // #ifndef __CLAIM_H #define __CLAIM_H // // Includes // #include "bitarray.h" #include "unitobjdec.h" ///////...
a408378d65339dd71d3a1ce9a7bf10f2612a7f41
a8b0807cc7f93d5d343142a9b5b5a81dde3ca396
/Order/OrderItem/OrderItemButton.cpp
aea2a146c36b49425f7f069dc863281dc28a0bec
[]
no_license
QtWorks/wsr_pos_qt
a63e7b23edd216f78d519f01485bfb5353428406
2a83d793c29b4be1c795220c922b1f69d8eac684
refs/heads/master
2021-01-25T04:58:28.142221
2016-01-02T07:52:48
2016-01-02T07:52:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,143
cpp
OrderItemButton.cpp
#include <QStyleOption> #include <QPainter> #include "OrderItemButton.h" #include "StyleSheet.h" OrderItemButton::OrderItemButton(QWidget *parent, OrderItem *order_item) : QWidget(parent), mOrderItem(order_item) { mLabelTitle = new QLabel(this); mLabelUnitPrice = new QLabel(this); mButtonAmountDecrease = new QToolB...
29c48ecf85ed54a9608a1ef24575d4fd36e6a329
6d7dee5d230d6912478dc53d726679c8f429fa45
/src/hashing/SimHasher.h
006ce976ebd72c99f8e672a9603a6f9b89f1a31b
[]
no_license
scivey/libtexty
8b9a4f2c6611a0bdd57d2df36f66144a2c7af2dd
5c7c6c925afaed13e5d0b6c4ecae41f07c7c2ab2
refs/heads/master
2021-01-21T13:21:03.396060
2016-02-01T11:51:40
2016-02-01T11:51:40
50,074,918
0
1
null
null
null
null
UTF-8
C++
false
false
1,477
h
SimHasher.h
#pragma once #include <functional> #include <bitset> #include <array> namespace texty { namespace hashing { template<typename TValue> class SimHasher { public: static const size_t N = 64; using value_type = TValue; using hashed_type = uint64_t; using HashFunc = std::function<hashed_type (const value_type&, h...
22a51da2ee33c8fd93a89d8179954636c97b86ef
03a323afc3de87da472ed62fd6a30e66395953d3
/src/stripserver.cpp
8934a67422ae33163383adeaccc4d5e7832507ae
[]
no_license
olyd/st
a0a7c026295a8e736449c93f8927eac2c0ea5dbc
be10bf5be80f05a03b8c467f4120746d12ef8611
refs/heads/master
2020-05-17T19:29:32.789338
2015-01-08T01:18:55
2015-01-08T01:18:55
20,402,661
0
0
null
null
null
null
UTF-8
C++
false
false
17,737
cpp
stripserver.cpp
#include "stripserver.h" #include <pthread.h> #include <sys/socket.h> #include <sys/epoll.h> #include <cstdlib> #include <cstring> #include <cassert> #include <sstream> #include <cmath> #include "utils.h" #include "message.h" #include "timer.h" #include "dataserverthreadsafe.h" #include "dbufferthreads...
35850cb030abd4fd39c355a5a9da6f66d783be35
c984856ca33bd52c5712407aba22dd7a098b02c6
/gazebo/rendering/OrthoViewController.cc
b3a255b09cdc5a75d624b86f4b4b01886a3e8331
[ "Apache-2.0" ]
permissive
siconos/gazebo-siconos
f7f97dd8d9ccbdf128e43373a77637970553b14e
612f6a78184cb95d5e7a6898c42003c4109ae3c6
refs/heads/master
2021-01-01T04:53:39.749180
2016-05-23T18:49:47
2016-05-23T19:11:56
97,266,911
5
0
null
null
null
null
UTF-8
C++
false
false
9,878
cc
OrthoViewController.cc
/* * Copyright (C) 2015-2016 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
22664f8a85c76da05a517b6abb2c2f7580199a09
77ccc95277a71d682c0575553806f13de87d5a0d
/providers - zen-fire/libzenfire-1.0.14/include/zenfire/debug.hpp
cb8eb895b10b0c594b762171fa3135a525e5947a
[]
no_license
gaoxiaojun/tx.link.incoming
93912bfc0dba821a87a8ba418a6e5edffb5cdba9
3804e94207f8d29c2b0c1c69e1bb4a0bed6372e7
refs/heads/master
2021-01-22T17:17:47.919031
2011-09-20T19:18:13
2011-09-20T19:18:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,583
hpp
debug.hpp
/****************************************************************************** ******************************************************************************/ /** \file debug.hpp * \brief helper debug functions for printing objects * * $Id: debug.hpp 2804 2010-04-30 03:36:35Z grizz $ */ #ifndef ZENFIRE_DEBUG_...
b41341df5e6af9db0469c3284feaa475589313ea
6cc2994eb6ed4e4c0d967856c6083f45b5baf056
/source/Server.cpp
3f1d0656fbc6b91aeac98bd76440cbe149df4994
[]
no_license
lisa-bella97/HighLoadWebServer
63d99b7f0175d9557cb3c4ae6ab33ea906dd25de
ae5e9f24efc2cdb1dca313f99ec79cd019277eea
refs/heads/master
2021-02-10T19:28:42.853215
2020-03-24T18:09:52
2020-03-24T18:09:52
244,412,940
0
0
null
null
null
null
UTF-8
C++
false
false
2,987
cpp
Server.cpp
#include "Server.h" #include "boost/bind.hpp" #include <iostream> #include <wait.h> Server::Server(ServerConfig *config) : acceptor_( io_service_, boost::asio::ip::tcp::endpoint( boost::asio::ip::tcp::v4(), config->getPort() ...
b5d2a303f43b52bd456bd98409f30ff65632e064
a3f72034cf1a0b06dabec808b1e0044997f65fa1
/include/core/Stopwatch.hpp
f763e553302475f0cde58d70d56e8537c3998017
[ "Zlib" ]
permissive
choiip/fui
560fe641d4a616ec53e2a6084fd8427ba220af24
dc54b2d29c423a5b257dd7d812e5d5f52a10ba8a
refs/heads/master
2022-06-30T17:37:46.919078
2020-01-14T06:37:30
2020-01-14T06:37:30
263,242,191
0
0
null
null
null
null
UTF-8
C++
false
false
2,302
hpp
Stopwatch.hpp
// CC0 Public Domain: https://codereview.stackexchange.com/questions/114532/simple-stopwatch-class #pragma once #include <chrono> #include <utility> namespace fui { template <typename TimeUnit = std::chrono::milliseconds, typename Clock = std::chrono::high_resolution_clock> class Stopwatch { public: explicit Stopw...