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
8ac5eedd62aee2abe7c9ecbc9027d3402e4f9de5
88db173be45ce452c7a0b29dd1f06c088de43dae
/include/Maze/maze_interface.h
7ef03aa77291d916ead5045b0f49d00e2f0d32c5
[]
no_license
T4ng10r/RLMazeExplorer
04308ce716097b98812a468f7f4b48964b80a203
cf2d316d21ac1f5e14a7b3e9333cb7b3a5652c4d
refs/heads/master
2021-01-02T22:30:41.448219
2014-11-07T13:47:43
2014-11-07T13:47:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
470
h
maze_interface.h
#pragma once #include <Maze/location.h> #include <memory> #include <boost/optional.hpp> #include <string> class maze_interface { public: virtual int get_size_x() const = 0; virtual int get_size_y() const = 0; virtual void save_maze(const std::string& file_path) = 0; virtual bool load_maze(const std::string& file_...
2c64103539016bffec8b250107d17a428fdf732c
f6de90cc34efe176a2d030082f5206f5e3e3a2b5
/db/table_stats_collector.cc
91e89ce4c04d2f50e1892ad0c2174b6ddefde9da
[ "BSD-3-Clause" ]
permissive
forhappy/rocksdb
010adda3b8cb72a98533b761c66d7779b9eee16d
55baa3d955e86f155b141e17ea920150999db8fb
refs/heads/master
2020-04-06T06:47:19.653816
2013-11-16T06:23:12
2013-11-16T06:23:12
14,443,177
1
1
null
null
null
null
UTF-8
C++
false
false
1,558
cc
table_stats_collector.cc
// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include "db/table_stats_co...
649fffafb7303353f60f3187bcbd426c755dd618
592cd56aec18bab41cc5356cdee44409d36e925d
/src/ResourceManager.cpp
de8ecfcfdc8942c64241304704d5ea11e2e25c63
[ "MIT" ]
permissive
Incenium/platformer
572228bcc36c0002434143c7d09e7f4b7f604c7b
c24c42fd544fa96720b04b778fc654830f4059ef
refs/heads/master
2020-07-06T04:06:18.740995
2014-06-20T19:32:36
2014-06-20T19:32:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,937
cpp
ResourceManager.cpp
#include "ResourceManager.hpp" ResourceManager::ResourceManager() { } ResourceManager::~ResourceManager() { // Deallocate the spritesheets in m_spritesheets std::vector<std::pair<std::string, Spritesheet*>> ss( m_spritesheets.begin(), ...
12a91ff573e8b9ad0752cab09fd68542c5166eee
7d137bbff04f7f3870c86101816943d7b8040f5f
/N-ary_Trie/code/windowsort.h
37a686acfe8be4372eb733ed2967865789759b00
[ "MIT" ]
permissive
qzhsdu/DataStructureCourseDesign
3e78a33d1246a641271ce7416fcdbea068ef6fcf
ea8c1cd422714ca39f8100927f044159c58fc74e
refs/heads/master
2022-09-15T10:03:48.203149
2020-05-15T20:21:38
2020-05-15T20:21:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,009
h
windowsort.h
#ifndef WINDOWSORT_H #define WINDOWSORT_H #include <QMainWindow> #include "trie.h" #include <QMessageBox> #include "threadsortfrequency.h" #include "dialogsearch.h" #include <QProgressBar> #include <QLabel> #include "threadsortinsidefrequency.h" #include <QFontDialog> namespace Ui { class windowSort; } class windowS...
e3f54566f2ae834adf5a872d9c52a3b1bd23ea04
9f219bcc66e1e6a09958f2bf5838000503e9f109
/Accepted/11326.cpp
1cfe68100eabf7ba7af5d1f08cafae40f1aeaa19
[]
no_license
naeemulhassan/ACM-Problems
48ddbb0e591064673ea1148d0d97d940932d2a2f
4038e8fe8555741fc209ed2fb4031876ca814d64
refs/heads/master
2021-01-01T05:46:53.348166
2015-08-29T04:34:52
2015-08-29T04:34:52
41,580,223
0
0
null
null
null
null
UTF-8
C++
false
false
467
cpp
11326.cpp
#include<iostream> #include<math.h> using namespace std; main() { #ifndef ONLINE_JUDGE freopen("input","r",stdin); freopen("output","w",stdout); #endif int t,n; double L,W,th,w,x,y,z,A,B; cin>>t; while(t--) { cin>>L>>W>>th; th = th*3.14159265358979323846264338327950288419716939937511/180.0; A = L/cos(th...
5bf3aaefafad92675dbec8ee4165a39f458dc011
627a978ac34ee8b7b709ec9422bf4bd6ce6b853f
/OpenGL/CUDA_OpenGL_glfw_glew/CUDA_OpenGL_glfw_glew/OpenGL.cpp
84b5902b3e4b9b2bf5ad84e231502a328b2b1b61
[ "MIT" ]
permissive
pklong007/Examples_lixiaoguang
a28891b0541d037b14ca5853cd6a8f3d4bf246e3
8d844823b9cc33a710337cb544c40d71d833dbbc
refs/heads/master
2022-03-03T15:03:12.043841
2018-04-23T05:15:27
2018-04-23T05:15:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,705
cpp
OpenGL.cpp
#include "stdafx.h" #include "OpenGL.h" OpenGL::OpenGL() { IsCreate = false; } OpenGL::~OpenGL() { } bool OpenGL::Create_GL(int width, int height, int Parent) { glfwSetErrorCallback(error_callback); if (!glfwInit()) { IsCreate = false; return false; } glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 2); ...
67d79f2dda211571b04767d85ea206258bee081e
dbdf5d78338021e1b4a2d499e3179afa506b36ea
/backends/qscreen/qscreenconfig.h
b1653a616b8c732aaea867f5810ba1ea858857b5
[]
no_license
KDE/libkscreen
9ad1664912e44f43c72903de2421abbf6d2e32e9
b9dedc554fe3043c61653471f02750ccbc5cfaa8
refs/heads/master
2023-09-05T15:02:48.856337
2023-09-03T02:59:36
2023-09-03T02:59:36
42,733,370
21
14
null
2022-05-12T06:19:53
2015-09-18T16:21:12
C++
UTF-8
C++
false
false
1,006
h
qscreenconfig.h
/* * SPDX-FileCopyrightText: 2014 Sebastian Kügler <sebas@kde.org> * * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef QSCREEN_CONFIG_H #define QSCREEN_CONFIG_H #include "types.h" #include <QScreen> namespace KScreen { class Output; class QScreenOutput; class QScreenScreen; class QScreenConfig : public...
14df7aa9589f0573ce878e4d0e5c4bcf768c6f9f
bd42d669af0c4185a1aa36335bdc745f343dd51f
/src/game/components/editor.cpp
7600f76c613a676dfb2825731676a942f648219a
[ "Zlib" ]
permissive
HolyBlackCat/circuit-bros
be561a89e93926fbef369513b9eb7f0191d50ecd
2d1947f52722a458c84b0c4baeee969d499c7a8b
refs/heads/master
2023-07-16T11:09:33.947300
2021-08-22T17:35:26
2021-08-22T17:35:26
250,238,157
0
0
null
null
null
null
UTF-8
C++
false
false
57,090
cpp
editor.cpp
#include "editor.h" #include <array> #include <vector> #include <set> #include "game/components/circuit.h" #include "game/draw.h" #include "game/main.h" #include "reflection/full_with_poly.h" #include "signals/signal_slot.h" namespace Components { struct Editor::State : Sig::Slot { SIMPLE_STRUCT( Atl...
ed848f9aa685941e8eb356985dd687255eded134
d3f777d3be5714ca2f627faef865022a757818c8
/catkin_limo_workspace/devel/include/rosinterface_handler/DefaultsConfig.h
bab0b02b2cceaaab8fc6939624ccb013eea94864
[]
no_license
Bill-Deng/limo_code
3567c1ba8acfe5745fe86f0320cb009a10105dba
7304de6f940e8c840f7efaea0670e05f19edcc69
refs/heads/master
2021-01-09T20:06:53.445371
2020-02-23T02:54:23
2020-02-23T02:54:23
242,442,778
0
0
null
null
null
null
UTF-8
C++
false
false
62,407
h
DefaultsConfig.h
//#line 2 "/opt/ros/melodic/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template" // ********************************************************* // // File autogenerated for the rosinterface_handler package // by the dynamic_reconfigure package. // Please do not edit. // // *********************************...
be476b7ece5e770bf73b9fd273fea357c962934a
26df6604faf41197c9ced34c3df13839be6e74d4
/src/org/apache/poi/hssf/record/FilePassRecord.cpp
ee5b85fc8aa05ffc85b5e38c1c8a8be0bdc01404
[ "Apache-2.0" ]
permissive
pebble2015/cpoi
58b4b1e38a7769b13ccfb2973270d15d490de07f
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
refs/heads/master
2021-07-09T09:02:41.986901
2017-10-08T12:12:56
2017-10-08T12:12:56
105,988,119
0
0
null
null
null
null
UTF-8
C++
false
false
9,267
cpp
FilePassRecord.cpp
// Generated from /POI/java/org/apache/poi/hssf/record/FilePassRecord.java #include <org/apache/poi/hssf/record/FilePassRecord.hpp> #include <java/io/ByteArrayOutputStream.hpp> #include <java/io/IOException.hpp> #include <java/lang/ClassCastException.hpp> #include <java/lang/CloneNotSupportedException.hpp> #include <j...
3c228abfda00016d370f752a914c292089019dff
50d13432e3eeaa24b361a41288b10b58fadfe667
/libhsh/include/hsh/bits/source_location.h
6d32059ad8f75944f3cf8d7efdc7302b22070abf
[]
no_license
jackoalan/llvm-project
1d20f4332509269bf73ecee5779f15b1c1fe4f13
48afd8eb62dfdbcf7a87be75068d07d42cf2ac4d
refs/heads/hsh
2021-12-19T14:11:15.362711
2020-10-04T06:56:14
2020-10-04T06:56:14
224,776,491
0
2
null
2020-10-06T20:49:50
2019-11-29T04:25:23
C++
UTF-8
C++
false
false
3,151
h
source_location.h
#pragma once #ifndef NDEBUG #if __has_include(<source_location>) #include <source_location> #define HSH_SOURCE_LOCATION_REP std::source_location #elif __has_include(<experimental/source_location>) #include <experimental/source_location> #define HSH_SOURCE_LOCATION_REP std::experimental::source_location #elif __APPLE__...
7bd80ee3c38452738dacd6940da2e7f067cfd63a
9647072f16225fe4cbf943ca024bff69e8eaefc7
/src/BFS&DFS/findLadders.cpp
a562e3079e9032249a314fadcb0df7a3197dbf6c
[]
no_license
liuhaibohyde/OJ
2f1b02383f59b7439a1d0e438a23d8672e8eea5b
8596e32283f85945b1e0e178395f713994ec692b
refs/heads/master
2020-09-06T13:09:08.445841
2020-07-29T07:31:54
2020-07-29T07:31:54
220,432,576
0
0
null
null
null
null
UTF-8
C++
false
false
7,371
cpp
findLadders.cpp
/* 给定两个单词(beginWord 和 endWord)和一个字典 wordList,找出所有从 beginWord 到 endWord 的最短转换序列。转换需遵循如下规则: 每次转换只能改变一个字母。 转换过程中的中间单词必须是字典中的单词。 说明: 如果不存在这样的转换序列,返回一个空列表。 所有单词具有相同的长度。 所有单词只由小写字母组成。 字典中不存在重复的单词。 你可以假设 beginWord 和 endWord 是非空的,且二者不相同。 示例 1: 输入: beginWord = "hit", endWord = "cog", wordList = ["hot","dot","dog","lot","log",...
a66a00bc5a54d077a2b3b267b849607ea5e312fd
00d4aca628e46fc06c597c19ba0d919a580815eb
/app/CalibADC/analyze_output.cc
c0d6991c664510d4ff7b99bd5d89a329bc4327d6
[]
no_license
yeonjaej/LArCV
a9f1d706c12f1e183378e38268e2a4ee3b9060d9
c92117bffea0c8ec89cff305e3def5385497e805
refs/heads/master
2020-03-25T00:58:25.318085
2016-08-24T20:15:19
2016-08-24T20:15:19
143,215,231
0
0
null
2018-08-01T22:37:08
2018-08-01T22:37:08
null
UTF-8
C++
false
false
3,898
cc
analyze_output.cc
#include <iostream> #include <vector> #include <cstdlib> #include "TFile.h" #include "TTree.h" #include "TF1.h" #include "TGraph.h" #include "TH1D.h" int main( int nargs, char** argv ) { std::string inputfile = "ana_data.root"; int maxchs = 900; float lowerbounds[3] = { 100, 70, 100}; float upperbounds[3] =...
fcdb4cb46f78db1dab08b47ca5a75c2712f1aedc
ff984fbbe100851595c71182766543460686c1fd
/3ºSemestre/Estrutura de Dados/TabelaHash_EndereçamentoAberto/tabela.h
82250bd0b77098b66f4d21f93a00dc1aa1c73856
[]
no_license
jroslindo/UNIVALI
d407c6ce6275eb7c6290c00c093ccfff08450a04
3fee2f978a1a0eef4b4913f5663ea0ab345e8c3d
refs/heads/master
2021-03-16T08:34:41.778126
2017-08-30T15:57:05
2017-08-30T15:57:05
102,357,429
0
0
null
null
null
null
UTF-8
C++
false
false
1,986
h
tabela.h
#ifndef TABELA_H_INCLUDED #define TABELA_H_INCLUDED #include "windows.h" using namespace std; template <typename TIPO> struct Tabela{ TIPO Elemento; char Situacao; }; template <typename TIPO> void Inicializa(Tabela<TIPO> t[], int tamanho){ for(int i=0; i<tamanho; i++){ t[i].Situacao='L'; } } ...
b0d1d9450d3553f5a733ebd7c5af548117934b5a
2ef0e696b0b8d1b762a3df21a258406f1e0c73e2
/include/EASTL/shared_ptr.h
3ac9bc77a02a4a864cfce0ce09dd6e64aa0868bf
[ "BSD-3-Clause" ]
permissive
electronicarts/EASTL
3fdf65152aaadae7c86e94aa482b950494f31c2f
05f4b4aef33f2f3ded08f19fa97f5a27ff35ff9f
refs/heads/master
2023-08-30T16:35:49.267717
2023-08-16T17:55:47
2023-08-16T17:55:47
48,068,902
7,952
1,216
BSD-3-Clause
2023-08-16T17:55:48
2015-12-15T21:04:13
C++
UTF-8
C++
false
false
58,408
h
shared_ptr.h
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Electronic Arts Inc. All rights reserved. /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // This class implem...
88ed5f0ba8cf75d121655648428e87fe8b9b0ac6
f22845ffd08b5104940ce668859c014450526635
/hdu/hdu6609.cpp
8d4c6116df4b7c23f82bcf3eb9c6da8b31b23ac9
[]
no_license
btnkij/ACM
ffd2797548ab13ac8670f5b2ef873af023280daf
36bf2950146e1477cbd201ba0281912dd0a289aa
refs/heads/master
2022-12-15T15:01:57.690973
2020-09-16T11:13:30
2020-09-16T11:13:30
172,726,050
0
0
null
null
null
null
UTF-8
C++
false
false
2,528
cpp
hdu6609.cpp
#include <cstdio> #include <iostream> #include <algorithm> #include <cmath> #include <cstring> #include <vector> #include <queue> #include <stack> using namespace std; #define INF 0x3f3f3f3f #define PI acos(-1) typedef long long ll; typedef unsigned long long ull; inline int readi(int& i1) { return scanf("%d", &i1); ...
beca84e7329d93405585696915bbf57596052c21
5520a2bff33639c1643beeb094965a1d4c1ca07e
/src/lib/LofarPelicanClientApp.h
a235ff7e66f5918fab16fa20effcfb1553584028
[]
no_license
pelican/pelican-lofar
d04315a095a65c1136bca58a825d8fa85b2a92b2
8e953fc46c7ec37caba9773f1404a2c3e4951da4
refs/heads/master
2020-05-21T15:05:45.630643
2019-08-12T14:48:46
2019-08-12T14:48:46
580,978
4
5
null
2015-05-13T14:15:08
2010-03-26T16:59:51
C++
UTF-8
C++
false
false
1,053
h
LofarPelicanClientApp.h
#ifndef LOFARPELICANCLIENTAPP_H #define LOFARPELICANCLIENTAPP_H #include "pelican/utility/Config.h" #include <QMap> /** * @file LofarPelicanClientApp.h */ namespace pelican { class AbstractBlobClient; class ThreadedDataBlobClient; namespace ampp { /** * @class LofarPelicanClientApp * * @brief * conveni...
87df99ff85d98d532ec77a3c12044a4285ad65b0
80c314286bf7476dcf9cfd983c41f6a58a2b68ed
/graduation/proj.win32/SlingSprite.h
e7272f45db36d1e0b3c677e9fe7a964f4ca935e3
[]
no_license
BellyABC123/graduation
2b3a0edeea04125a3687e7d18d578528c772e7af
30e9a7974009a269c8f5d230fff6a5423312791c
refs/heads/master
2021-05-26T21:32:10.307137
2013-05-23T22:04:35
2013-05-23T22:04:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
380
h
SlingSprite.h
#ifndef __SLING_SPRITE__ #define __SLING_SPRITE__ #include "cocos2d.h" using namespace cocos2d; class SlingSprite : public CCSprite { public: SlingSprite(int x = 0, int y = 0): _radius(50) { init(); setPosition(CCPoint(x,y)); } ~SlingSprite(); private: int _radius; public: int getRadius(){ return _rad...
fbf7a949e261eab5be83d3c502d3a548c81baec5
547eb08d4c68a5410cce2389f6f2d74e4882f2c0
/material/queens-recursive.cp
b5b2684e40af0639ac3e533ec15a39fedfc836c1
[]
no_license
deymoumita/ECE6122_APT
1bb3f25b265f6a132b94de42f2180ce12cb5c24e
7246f6d1d53e9dfb8ce75f77f9f2eef0b8ecf98f
refs/heads/main
2023-03-12T04:42:54.001301
2021-02-26T23:25:41
2021-02-26T23:25:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,584
cp
queens-recursive.cp
// Implementation of the eight queens problem // YOUR NAME HERE #include "cs1372.h" #include "qdisplay.h" #include "RectHelpers.h" #include <Qt/QPainter.h> #include <iostream> #include <sstream> using namespace std; const int nrows = 8; const int ncols = 8; // For the board, zero means unoccupied and not attacked ...
3baff200d92d76563e421637bcdfff9b316c256f
6b28df12d3a45c20a19503e0eeb3649460d587f9
/data/862.cpp
ae93548936176f401937a7097f5db3c56bab6c0e
[ "MIT" ]
permissive
TianyiChen/rdcpp-data
9bb1f0319de5a22c601192c3eef33e4024b172fe
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
refs/heads/master
2021-04-15T09:26:01.359253
2018-03-21T18:57:09
2018-03-21T18:57:09
126,216,374
0
0
null
null
null
null
UTF-8
C++
false
false
10,620
cpp
862.cpp
int P ,J1o , /*hI*/ aG, cQ ,JB , lKW, R4,ZMW , nUI ,OFw, Lxgi , YH , qd , ATR ,tbn , SA , /*JH*/uapK ,/*kxKlB*/bshG , RLYq,GZ,O9 , F62 , ih , h6o , sh, inO ,//Qr nWz , zEXD,DF, QY7,gG , IEo, xX,Qges ,BcQJ , Wr ,RZ0 , HgM/*CqP*/, qQs , bPR/*R*/, ar , Nh /*0*/ ,eCL0G ,plzKyY/*TB*/,mt ,oj ,Yf4Zu ;voi...
62a87083a6a1f3f3155ea156f13502480be3c030
9ac887713ffc194682d6f088b690b76b8525b260
/online_judge/atcoder/abc200/d.cpp
22414366ffeb57ef4199df2315377ef408c3b803
[]
no_license
ganmacs/playground
27b3e0625796f6ee5324a70b06d3d3e5c77e1511
a007f9fabc337561784b2a6040b5be77361460f8
refs/heads/master
2022-05-25T05:52:49.583453
2022-05-09T03:39:12
2022-05-09T04:06:15
36,348,909
6
0
null
2019-06-18T07:23:16
2015-05-27T06:50:59
C++
UTF-8
C++
false
false
966
cpp
d.cpp
#include <algorithm> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstdio> #include <cmath> #include <array> #include <queue> #include <stack> #include <map> #include <set> using namespace std; int main() { int N; cin >> N; vector<long long> V(N); map<int, vector<int>> ...
32a9761c66b2d42d195dc77b907a4acbd3bb564e
09c4c7a2c2140c33848a953251c91b795e35d378
/src/pattern/dp02/src/Builder.cpp
440c456f91e18176cb510df3087561999e59e747
[]
no_license
sanstwy777/Design-Patterns
3b728bc7a822f6ae5b9596c44660e64abebe8876
2718341eca45cbdaf90b0c2e5c681f8dbcb41e62
refs/heads/master
2023-01-01T12:11:48.997827
2020-08-09T17:24:45
2020-11-01T04:18:41
286,283,967
0
0
null
null
null
null
UTF-8
C++
false
false
298
cpp
Builder.cpp
/* * Builder.cpp * * Created on: Mar 28, 2020 * Author: sanstwy27 */ #include "Builder.hpp" using namespace BuilderSpace; Builder::~Builder() { // TODO Auto-generated destructor stub } void Builder::init() { product.init(); } Product Builder::get() { return product; }
34b5d0f2e8bd06a3a7f99a2375488cf02788e335
3ff79f17140dcdfbe8da551c9cf5aee133ff3002
/lab2/lab2.cpp
f8645c6b7dbd2b78b8aff6711aef526a557b5989
[]
no_license
Elin16/fduoop
98c21f955dde12d1adb9cd400069788da1dde6fc
5862948c9c60a37e8f63057dc565672dff5fe926
refs/heads/main
2023-05-13T23:17:07.397247
2021-05-27T13:01:23
2021-05-27T13:01:23
360,132,646
0
0
null
null
null
null
UTF-8
C++
false
false
5,193
cpp
lab2.cpp
#include<stdio.h> #include<stdlib.h> #include<time.h> #include<string.h> #define WIDTH 4 #define LENGTH 4 #define TOTAL 16 #define BUFF "n" #define N 50 #define DOWN "z" #define UP "w" #define LEFT "a" #define RIGHT "s" #define TEST_MODLE "-t" #define MERGE 2 int sum,numberOfWinning,table[TOTAL]={0}; ...
09e273ffc7479c6d5b58628af9dd58636d6606d7
f5078ac81ca51d59f36c271401fe21cbff4ad77e
/esp32/SensorBoard/instructions.cpp
7f66009065b61f728b7a3de411369f31cf048211
[]
no_license
clubrobot/team-2021
e80001f4ee360c0b3272bd4d4f37181e7a498230
9b818a370f79c9ff954c3fd09bfbf742381c2745
refs/heads/master
2023-04-30T05:01:16.393773
2021-05-25T08:16:52
2021-05-25T08:16:52
282,040,852
1
0
null
2020-10-25T17:59:40
2020-07-23T19:43:28
C++
UTF-8
C++
false
false
1,518
cpp
instructions.cpp
#include "instructions.h" #include "constants.h" #include <SerialTalks.h> #include <TaskManager.h> extern uint16_t vl53_status[VL53L0X_COUNT]; extern uint16_t vl53_measurement[VL53L0X_COUNT]; void GET_SENSOR1(SerialTalks &inst, Deserializer &input, Serializer &output) { output.write<uint16_t>(vl53_measurement[0]...
c37425c0f7823c949c057a3c05a5a7a72435953d
716bacc87d11bcbdc6d9e509f8092c75c0e05aeb
/MATRIXCLASS.cpp
cb30763d59a6aad29a28d2ef661a7634e806cd88
[]
no_license
NimeshJohari02/CppProjects
6e7d296cf9f2d5458ec1afe54b05ae822dbc85a7
eb1ec481932e66a7677cc72a72c19159347446b3
refs/heads/master
2022-11-22T18:59:57.927691
2020-07-26T19:34:52
2020-07-26T19:34:52
263,316,516
15
1
null
null
null
null
UTF-8
C++
false
false
1,475
cpp
MATRIXCLASS.cpp
#include<iostream> using namespace std; class matrix { int a[100][100],size; public: int returnsize(); matrix operator+(matrix o1); matrix operator-(matrix o1); matrix operator*(matrix o1); friend void operator >>(istream &i1,matrix &o1) { cout<<"Enter The Size (n X n) \n"; cin>>o1.size; f...
31c139b2208b743c6e6aa7f5e0f4ccf8105f7c21
9f4b33a255d499bd8ce33d8eaaafffadbc112023
/Europa/src/Europa/DeltaTime.cpp
6bd0ae150a2bcf37bd3165817c1eb1219b47f2e2
[ "Apache-2.0" ]
permissive
TomStevens7533/Europa
7028042ae5cd2e968b6c77e0930b95009ea882a6
7d550676a37bef761d011a3e683eeaeb381038e0
refs/heads/master
2023-06-22T20:11:05.585536
2023-06-16T12:28:44
2023-06-16T12:28:44
163,179,841
0
0
null
null
null
null
UTF-8
C++
false
false
647
cpp
DeltaTime.cpp
#include "DeltaTime.h" namespace Eu { std::shared_ptr<Eu::Time> Time::m_TimeSingleton; Time::Time() { m_StartTime = std::chrono::high_resolution_clock::now(); } std::shared_ptr<Eu::Time> Time::GetInstance() { if (m_TimeSingleton == nullptr) { //create singleton m_TimeSingleton = std::make_shared<Time>...
2e3142bef984519e1e5bd2ebac933741f323c516
88a22398376f9057a6ea075f873d7f67c55b13d2
/workshop_beta/Manager/Writen_paths_filenames.h
bf708f0a6501961f660ca69875c9e3f8a035b8cf
[]
no_license
shaybarak/HQMP
e2815f075bdad36114bcca20c530f6b0dfc7467c
4afc727430ba0a5fb395b9d75ff7bf43bf824040
refs/heads/master
2020-05-18T01:21:06.971315
2012-09-04T11:00:05
2012-09-04T11:00:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
673
h
Writen_paths_filenames.h
#ifndef WRITTEN_PATHS_FILENAMES_H #define WRITTEN_PATHS_FILENAMES_H #include <boost/thread/mutex.hpp> class Writen_paths_filenames { private: boost::mutex mutex; std::vector<std::string> writen_paths; public: void push_paths_filename(std::string& filename) { mutex.lock(); writen_paths.pus...
3937413e17ce8d46c47089cb0b98309284d0226c
de48a285033e1bcb89951e656d8a9816452fa834
/src/pme/ivc/ivc.h
b6354a767ae77f1defa36ccb38cf07574bd418bb
[ "MIT" ]
permissive
ryanberryhill/pme
135c424bdabd11edce9bf0a63c07e93bf50222c3
416be2d52c920d285cc686a56d2f30bfab66bc51
refs/heads/master
2021-08-08T00:39:12.306624
2020-03-24T18:55:31
2020-03-24T18:55:31
130,415,304
3
0
null
null
null
null
UTF-8
C++
false
false
3,088
h
ivc.h
/* * Copyright (c) 2018 Ryan Berryhill, University of Toronto * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy,...
427b1dcdae211d28fbad59b5e1e6b31284df472f
07306d96ba61d744cb54293d75ed2e9a09228916
/Eternity/Source/r3dFileMan.cpp
9436d161b1c88bc7929a7f7eed1edc1e4d191d14
[]
no_license
D34Dspy/warz-client
e57783a7c8adab1654f347f389c1dace35b81158
5262ea65e0baaf3f37ffaede5f41c9b7eafee7c1
refs/heads/master
2023-03-17T00:56:46.602407
2015-12-20T16:43:00
2015-12-20T16:43:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
36,454
cpp
r3dFileMan.cpp
#include "r3dPCH.h" #include "r3d.h" #include <Shlwapi.h> #include <ShellAPI.h> #include "FileSystem/r3dFileSystem.h" #include "FileSystem\r3dFSStructs.h" static r3dFileSystem g_filesys; extern CRITICAL_SECTION g_FileSysCritSection ; void r3dCopyFixedFileName(const char* in_fname, char* out_fname) { if(in_fname[0...
6d5c5c253768f0b3d519d1a38a2de36a205e13ab
1762066c3d3b4ed73b524d5399f9f4a70dfc144e
/sketchbook/Actuators/thrusters/thrusters.ino
ccebd0ec78522d483f633247027d95a80d4f2b3a
[]
no_license
ben-greenberg/flexcraft
bba2f9399d569d5c693316ed146214e5a33ec443
9775ad2be82cd5f950e6cbd54445f2adcea4cf5a
refs/heads/master
2020-03-24T08:01:46.869957
2014-08-13T19:23:44
2014-08-13T19:23:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,042
ino
thrusters.ino
const char RFB=4; const char RFL=5; const char RRL=8; const char RRF=9; const char LRF=7; const char LRR=6; const char LFR=3; const char LFB=2; #include <ros.h> #include <std_msgs/UInt8.h> #include <flexcraft_msgs/thrusters8.h> ros::NodeHandle nh; const int timeout = 10000; //timeout is used to ensure not using ou...
3d8a873f140e96b79cbbfcfb7833c52750f9a058
5607abcd70ad2365e05f03b302738b654083adec
/reflection/property/property.h
26fe1ee2615ef56e585f1d684fba17466a9a0c77
[]
no_license
caster99yzw/Y3DGameEngine
650dffc95b501eb1d499877e142b1cfe3bea4a7d
c932fd91261fbaf8a7a38d24d86258692fb29441
refs/heads/master
2021-11-11T17:01:55.033172
2021-10-30T12:56:51
2021-10-30T12:56:51
99,477,051
1
0
null
null
null
null
UTF-8
C++
false
false
465
h
property.h
#pragma once #include "property_wrapper.h" namespace reflection { class Variant; class Class; class Argument; class Property { public: Property() = default; Property(PropertyWrapperBase const *inWrapper) : wrapper(inWrapper) {} bool Vaild() const; std::string const &Name() const; Class DeclaringClass() const...
e971b68272c2cd8b2ca076fa2669522a30988abb
ceccc428de2e91e66810fa4bbe69eb426a04be78
/product.cpp
ecaffbe45e7fc9219e25ab38d38f3e792cb39db3
[ "MIT" ]
permissive
ronijaakkola/VisitorPatternExample
0605650624281e0a83616564fc347bb1c559fd85
a1b87e02bd3c2b92b305371448f407deff184681
refs/heads/master
2021-01-10T04:23:06.076929
2016-03-23T16:24:50
2016-03-23T16:24:50
54,574,856
1
1
null
null
null
null
UTF-8
C++
false
false
45
cpp
product.cpp
#include "product.h" Product::Product() { }
c54e528e4b5bc64963db39d85b3b3c9ed61dd590
832bac3ba971da6774e296bd091f5042bb895db6
/kuwait_chess.cpp
081a9e1a679bb6b3b34b77c200a4f387604377c0
[]
no_license
raphael-carneiro/utilities
fc04a3d4a73d62c8bfc603b0c0ba4685684a4886
e9ee369b52bd0f5c82091b2e8a32991e65e440f9
refs/heads/master
2021-07-08T05:40:00.946458
2019-12-24T15:02:28
2019-12-24T15:02:28
98,811,423
0
0
null
null
null
null
UTF-8
C++
false
false
46,040
cpp
kuwait_chess.cpp
/* * kuwait_chess.cpp * * Created on: 02-Oct-2019 * Author: Raphael V. Carneiro * * This program is related to the challenge made by a Kuwaiti chess player: * How to get chessboard position k7/P7/P7/P7/P7/P7/P7/R3K3 after black move, with the least number of legal moves? * * Known answer: 34 moves...
a75515c05bd7adfd21c2588aa36a96657a46ed59
17a6114951f22701a6ee26aa9f66a8aa50f2964c
/init/MosaicEvents.hpp
40930c046b3402a1c13b57b1ebb5e0d5af8287cc
[]
no_license
rkluszczynski/pmf-segmentation-cpp
f323708c2450f7a02ec8f1dd01afce8166bed06a
6b1927536a33d57abc7a9764bbf321a709555b3b
refs/heads/master
2021-01-11T19:47:00.912907
2017-01-21T22:40:25
2017-01-21T22:40:25
79,395,990
0
0
null
null
null
null
UTF-8
C++
false
false
2,096
hpp
MosaicEvents.hpp
#ifndef MOSAICEVENTS_HPP_INCLUDED #define MOSAICEVENTS_HPP_INCLUDED #include "MosaicPoint.hpp" #include "MosaicSegment.hpp" typedef enum { BeginSegment = 0, EndOfSegment = 1, Intersection = 2, AreaMarkings = 3 } MosaicEventType; class VirtualMosaicEvent { private: void O...
5d3d106cc57ad2777bdced79f548ead0d8218a9c
f92c93decdb2d9b01939ebc2f21314d0a53f35a2
/2015省赛前个人赛/IndividualContest2/D/main.cpp
08c839bec66d7ff0e4b28cb2f0e26b33d7dfb50c
[]
no_license
someblue/ACM
52725398cc886ec724569d7754dc62552d8d5799
cd71348bfb3024de7c6e19a5d25b9db0d4091b86
refs/heads/master
2021-01-01T06:11:18.930209
2015-03-19T15:34:35
2015-03-19T15:34:35
25,923,391
1
0
null
null
null
null
UTF-8
C++
false
false
2,620
cpp
main.cpp
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <cmath> #include <vector> #include <set> #include <map> #include <queue> #include <stack> #define PB push_back #define MS(x) memset(x,0,sizeof(x)) #define SZ size #define rep(i,l,r) for(i=(l);i<(r);i++) #define drep(i,l,r) for(int i=...
69a5002b6f9146ac2f17ee5f970e2a7207b6520e
d78b48d71abc96fbd45b51103ecf3e5c36486402
/practicaFinalRedone/TouchGFX/generated/images/src/BitmapDatabase.cpp
a14a2fd8065ad3b896859a8814d2a5840709bb83
[]
no_license
Adrian-Rod-Mol/sistemasEmpotrados
c445c80d9490382149cde22dd80ded00faed5b53
9c3475e6a8e99a1186c87020318f9f43fd3adce5
refs/heads/master
2023-05-13T06:36:16.926220
2021-06-09T17:01:28
2021-06-09T17:01:28
374,237,389
0
0
null
null
null
null
UTF-8
C++
false
false
3,857
cpp
BitmapDatabase.cpp
// 4.16.1 0x32899b05 // Generated by imageconverter. Please, do not edit! #include <BitmapDatabase.hpp> #include <touchgfx/Bitmap.hpp> extern const unsigned char image_add_circle_outline_32px[]; // BITMAP_ADD_CIRCLE_OUTLINE_32PX_ID = 0, Size: 32x32 pixels extern const unsigned char image_blue_backgrounds_main_...
a5396d411d873e87c6a7e60b0b4d0eafef60f6c8
da1500e0d3040497614d5327d2461a22e934b4d8
/cobalt/updater/win/installer/pe_resource.cc
248a1336143ddc4bc8744a71aab390c15e98092d
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
youtube/cobalt
34085fc93972ebe05b988b15410e99845efd1968
acefdaaadd3ef46f10f63d1acae2259e4024d383
refs/heads/main
2023-09-01T13:09:47.225174
2023-09-01T08:54:54
2023-09-01T08:54:54
50,049,789
169
80
BSD-3-Clause
2023-09-14T21:50:50
2016-01-20T18:11:34
null
UTF-8
C++
false
false
1,452
cc
pe_resource.cc
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/updater/win/installer/pe_resource.h" namespace updater { PEResource::PEResource(const wchar_t* name, const wchar_t* type, HMODULE modul...
e2f6191f70c03d51e896c8c52820c376ed77de5d
1bc5450e4763d097f4f72cf2b3c9ed9ede434a96
/advCPP/uniqueFunc/unique.hpp
722432d889bc5290ecd36416f1deb4e9aa7493a1
[]
no_license
itsboazlevy/Portfolio
664ffdf394a9bfc29884cc65c6c84ab0f68d0a0a
daf9d3bd13331c2dea188c3f174596ac9dc18a19
refs/heads/master
2020-12-03T17:13:40.510502
2020-01-06T16:01:26
2020-01-06T16:01:26
231,403,727
0
0
null
null
null
null
UTF-8
C++
false
false
1,248
hpp
unique.hpp
#ifndef UNIQUE_HPP #define UNIQUE_HPP #include <iostream> #include <vector> #include <algorithm> #include <tr1/unordered_map> template <typename T> class MapInsert { public: MapInsert( std::tr1::unordered_map<T,size_t>& _map ) : m_map(_map) {} void operator() (const T& _t) const; private: std::tr1::unordered_map...
cb717646251de00138e279f230fec77c5e76472c
e7a1a974fe647574483af63e40cd33c092e4d011
/Tools/DocTools/UnityDocCombiner/IndexCombiner.cpp
936d098a4e6c24e7e8a8c4b92846a3af263af3a3
[]
no_license
blockspacer/Unity2018ShaderCompiler
cddc3d1fdab0c18bfd563a30888bbc18f914a809
4a3517261506550a7d8325f0335792e634ce0ba4
refs/heads/main
2023-04-16T13:53:13.812665
2021-03-19T12:27:39
2021-03-19T12:27:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,151
cpp
IndexCombiner.cpp
#include "UnityPrefix.h" #include "IndexCombiner.h" #include "Runtime/Utilities/RapidJSONConfig.h" #include <RapidJSON/prettywriter.h> #include <RapidJSON/filestream.h> #include <string> #include "RapidJsonIoUtil.h" using namespace Unity::rapidjson; const char commonSt[] = "common"; IndexCombiner::IndexCombiner() ...
8cdf58d9489ae5f30f07924535a885d2b61f0e8f
f0bd42c8ae869dee511f6d41b1bc255cb32887d5
/Codeforces/_Gym/2015 PSUT Coding Marathon/F. Proficiency Test (B).cpp
ec4e00e6fb362b55a238a8c91fc249fd1c7b0709
[]
no_license
osamahatem/CompetitiveProgramming
3c68218a181d4637c09f31a7097c62f20977ffcd
a5b54ae8cab47b2720a64c68832a9c07668c5ffb
refs/heads/master
2021-06-10T10:21:13.879053
2020-07-07T14:59:44
2020-07-07T14:59:44
113,673,720
3
1
null
null
null
null
UTF-8
C++
false
false
960
cpp
F. Proficiency Test (B).cpp
/* * F. Proficiency Test (B).cpp * * Created on: Sep 3, 2015 * Author: Osama Hatem */ #include <bits/stdtr1c++.h> #include <ext/numeric> using namespace std; string res[105], cor; bool val[105]; int n, arr[6], cnt = 0; void check() { bool flag = 1; for (int i = 0; i < n; i++) { int c = 0; for (int ...
f7bf206bd975eddd7c625b9869c2df8362cc0bdf
fd0a4cd376f0ea3b433b3ef93547b9a6d04ae653
/first_minimum_in_window_of_k.cpp
26e36045f699aacdea9963e142e25c0c97d2f61f
[]
no_license
patelpreet422/cipherschools
507970e4538f06be12069e5ea9fcd68c0ff50065
06c86354650e8add0f25192e9d31c03c011afb26
refs/heads/master
2022-12-06T12:27:42.351046
2020-08-30T11:12:37
2020-08-30T11:12:37
291,454,316
0
0
null
null
null
null
UTF-8
C++
false
false
856
cpp
first_minimum_in_window_of_k.cpp
#ifdef DEBUG #include <LeetcodeHelper.h> #include <prettyprint.hpp> #endif #include <bits/stdc++.h> using namespace std; using ll = long long; vector<int> first_min(vector<int> &v, int k) { vector<int> r; int n = v.size(); deque<int> q; for(int i = 0; i < n; ++i) { while(!q.empty() and q.front() <= i-k) { ...
8222c64c2c3dcd4029ff6f9af14098eca3806fde
5a10c018bedeb2f47a10db7bd7c679cdff6b757e
/src/game/collision.cpp
1d1b064473e1b1558c4a627d3c8929a4fb099afc
[ "Zlib" ]
permissive
TeeworldsFun/KillingFloor
767b8747249d98606a90e04bccdc7d47eaceaa5c
1f06c92bf20da4866eea115cb33cc266575f76ee
refs/heads/master
2023-08-03T17:46:59.633512
2021-09-05T07:49:51
2021-09-05T07:49:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,487
cpp
collision.cpp
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include <base/system.h> #include <base/math.h> #include <base/vmath.h> #include <math.h> #include <engine/map.h> #include <eng...
6d076891d63383d40c17623076fc3ab89f50f4bb
063560328123fdb445ec740c6eb53eee6552cb39
/Battle/Elements.cpp
4759af9d71a155dfd2d86bde8bce2ef79ee0c2e3
[]
no_license
erenik/RuneRPG
2f9bba154bb6798f1f2fdae201e0117d288f5c20
2dc9fee042d86ef870c68cd6efffe72db30e32ec
refs/heads/master
2021-01-09T20:19:08.259884
2016-08-03T22:20:00
2016-08-03T22:20:00
62,733,025
0
0
null
null
null
null
UTF-8
C++
false
false
748
cpp
Elements.cpp
/// Emil Hedemalm /// 2014-08-26 /// Elements o-o #include "Elements.h" int GetElementByString(String str) { for (int i = 0; i < Element::NUM_ELEMENTS; ++i) { String elementName = GetElementString(i); if (elementName.Length() == 0) continue; if (str.Contains(elementName)) return i; } return -1; } St...
f0d6de54e5d968d2b21105fdfe6ec65dc90954d8
157fd7fe5e541c8ef7559b212078eb7a6dbf51c6
/Sachdatenapplikationen/GAK/SEARCHSE.H
f8718a830909bdb42d75e2e711d616aa02b3e5e6
[]
no_license
15831944/TRiAS
d2bab6fd129a86fc2f06f2103d8bcd08237c49af
840946b85dcefb34efc219446240e21f51d2c60d
refs/heads/master
2020-09-05T05:56:39.624150
2012-11-11T02:24:49
2012-11-11T02:24:49
null
0
0
null
null
null
null
ISO-8859-3
C++
false
false
1,201
h
SEARCHSE.H
// SearchSe.h : header file // ///////////////////////////////////////////////////////////////////////////// // CSearchSet DAO recordset class CDaoTableDef; class CDaoDatabase; class CSearchSet : public CDaoRecordset { public: CSearchSet(CDaoDatabase* pDatabase = NULL); CSearchSet(const char *pSearch, C...
c6318d42cfba7668e5011024d63bc4b7df2028e4
554490beb04ca561a96602e6ae92a8180dfd42d4
/DungeonsAndDragons/GameManager.cpp
26756a53b161ea900ab6bd9b7a7250d4e4994944
[]
no_license
snijhof/Dungeons-and-Dragons
35fbff5310da97df279cb29906e292778acf61e2
5d1a34b0db4f0982891c386d4245b45a4be0af02
refs/heads/master
2016-08-04T10:03:49.860380
2014-11-07T10:56:29
2014-11-07T10:56:29
24,095,206
0
2
null
null
null
null
UTF-8
C++
false
false
11,671
cpp
GameManager.cpp
#include "stdafx.h" #include "GameManager.h" GameManager::GameManager() : isRunning(true), level(0), currentRoom(nullptr), dungeon(nullptr) { DungeonGenerator generator; dungeon = std::move(generator.CreateDungeon()); seed = std::random_device()(); rng = std::mt19937(seed); // Start handling user input std::st...
476f628e62c2adc4657ef6130eb6dba1fcac5175
f014be00cf4f5ac77e6cb5a91a11d331d37b4c11
/spider/shared/protocol/decoder.cpp
60c2b1ea4100534f93936aadcb29a04c7322374f
[ "MIT" ]
permissive
wonghoifung/learning-python
fdb2d661da13de0a36a021ca1ac3c9b2e4a1b8a4
ad1691be1d185bfff828779a553b2c59d36d16ea
refs/heads/master
2021-01-21T12:59:18.181405
2016-04-19T09:26:54
2016-04-19T09:26:54
47,943,484
0
0
null
null
null
null
UTF-8
C++
false
false
2,544
cpp
decoder.cpp
// // decoder.cpp // console // // Created by huanghaifeng on 14-10-1. // Copyright (c) 2014 wonghoifung. All rights reserved. // #include "decoder.h" int decoder::read_int() { int val(-1); codec::read_b((char*)&val, sizeof(int)); return endian_op(val); } int decoder::read_int_and_rep...
8770aa4386a9a368fbf93dc0f53f6a9082f1b22a
8cd6e385db5fa635fbc5648d379314608d7b7df0
/src/Application.cpp
6ac511b3bcd93be7f1d9f03a51efce6e2d79ad56
[]
no_license
Mannilie/OpenGLProject
6eca97083ce18a060d2ca544fa790591295a5744
e3a6b71029758d5446a042b75066b4594f9331b1
refs/heads/master
2021-05-28T04:09:45.076122
2015-03-06T04:45:50
2015-03-06T04:45:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,782
cpp
Application.cpp
#include "Application.h" #include "GL_Header.h" #include <cstdio> Application::Application() : m_windowWidth(0) , m_windowHeight(0) , m_appName("") {} Application::~Application(){} void Application::setDefault(float a_windowWidth, float a_windowHeight, char* a_appName, bool a_debugging) { m_windowWidth = a_win...
6be99adf89b04c36dd94ff06067f74166b8f87bd
b3d4139b7b82147716a4235bcf72b6fe58ae59c0
/Master_Thesis_Euglena_Simulator/EuglenaExperiment.h
2ffee3af7c429235be302c5abf3d9bbad5d5dcfe
[]
no_license
karlbowm/Master_Thesis_Euglena_Simulator
f516750f673e4d9aa987774e0879b173b55938d8
0d52fff9d022c98d842a7c2909ccb63b3549655b
refs/heads/master
2021-05-30T02:30:26.391418
2015-12-23T13:38:02
2015-12-23T13:38:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,613
h
EuglenaExperiment.h
#pragma once #include "Simulation.h" #include <memory> class EuglenaExperiment { public: static std::unique_ptr<Simulation> EmitterTest(); static std::unique_ptr<Simulation> getORGateSimulation(bool A, bool B); static std::unique_ptr<Simulation> getNOTGateSimulation(bool A); static std::unique_ptr<Simu...
75cc159357870e561b3e071fc25b4355eb2b6bce
0d56dac03007f1d607a86e611b837695e3d1fddb
/GemometryMath/EngineInterface/I3DEngine.h
1966ab091a0cf263f4e9b86c5a38074db240c9ec
[]
no_license
xiaokunwei/Kunsen3dEngine
6f4fa9f9ef37f03dee4c128dc2c435dc0c0d258d
a81f8fd7c2a389206a0ce1b384ee655941f8bccb
refs/heads/master
2020-03-29T15:00:37.327370
2018-09-24T13:36:35
2018-09-24T13:36:35
150,040,803
0
0
null
null
null
null
UTF-8
C++
false
false
1,083
h
I3DEngine.h
#ifndef I3DENGINE_H_ #define I3DENGINE_H_ struct ICamera; #include<string> struct IGameObject; struct ITimeOfDay; struct ITerrianSystem; struct Renderable; #include "Math/Vec3f.h" struct I3DEngine { public: virtual ~I3DEngine(){} virtual void Init() = 0; virtual void Destroy() = 0; virtual ICamera* Creat...
d0e92bcf67bedbedc26b7f2ec7a67bd707c02a93
4d0c9ed87695644dd2676644e9111ec6ffbce169
/Creational Design Patterns/Factories/factory_Method_Pattern.cpp
71e29766826dba945c5a5ea21636e2eaf735522f
[]
no_license
adityaishan/Design-Patterns
4258117e6badce44016a79f249fab5f827f4616f
5b741e780b386e152b83ab33bf82391893dd6a1e
refs/heads/master
2021-06-24T02:52:13.069407
2020-12-22T19:54:46
2020-12-22T19:54:46
175,015,922
0
0
null
null
null
null
UTF-8
C++
false
false
920
cpp
factory_Method_Pattern.cpp
#define _USE_MATH_DEFINES #include <cmath> #include <iostream> enum class PointType { cartesian, polar }; class Point { public: double x,y; Point(const double x, const double y) : x{x}, y{y} {} friend std::ostream& operator<<(std::ostream& os, const Point& point) { os << "x: " << point.x << " y: " << ...
f77e1250fc3634bf3f1e66da6be2712001720de0
711e5c8b643dd2a93fbcbada982d7ad489fb0169
/XPSP1/NT/net/wlbs/nlbmgr/exe/rightbottomview.h
54650004da23f7dbe25c20cc44b7cc459bd61036
[]
no_license
aurantst/windows-XP-SP1
629a7763c082fd04d3b881e0d32a1cfbd523b5ce
d521b6360fcff4294ae6c5651c539f1b9a6cbb49
refs/heads/master
2023-03-21T01:08:39.870106
2020-09-28T08:10:11
2020-09-28T08:10:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
378
h
rightbottomview.h
#ifndef RIGHTBOTTOMVIEW_H #define RIGHTBOTTOMVIEW_H #include "stdafx.h" #include "Document.h" class RightBottomView : public CEditView { DECLARE_DYNCREATE( RightBottomView ) public: virtual void OnInitialUpdate(); BOOL PreCreateWindow( CREATESTRUCT& cs ); RightBottomView(); protec...
1bcf0b2977755e72210449636921a2ba3d7143c2
d3afd3838e99c012cf019cecc00e0a42ce60de9e
/reference/heap.cpp
24c69389ba64938b96cc23724cfde0a687800c9d
[]
no_license
deepuple/study_algorithm
0c3efdddc5dd05c008546c66a2169cec332743bf
b5fcf779a70b65e9888dac7fabf7ce05447bf63e
refs/heads/master
2023-05-05T07:20:41.746876
2021-05-22T02:24:09
2021-05-22T02:24:09
127,512,775
0
0
null
null
null
null
UTF-8
C++
false
false
1,082
cpp
heap.cpp
#include <iostream> using namespace std; int N, hn = 0; const int SIZE = 100; int heap[SIZE]; void myswap(int& a, int& b){ int z = a; a = b; b = z; } void push(int index){ while(index > 1 && (heap[index] > heap[index/2])){ // max-heap myswap(heap[index], heap[index/2]); index /= 2; ...
0fe67afd3cd1d33f0114837646b493b4efccbaeb
891cc26e04e1c73ed755f5da82cb21ce04a25a0b
/src/computeCSFdensitylib/vtkio.h
0bab3bb9490fe2576897932d992cc93ecc65b700
[ "Apache-2.0" ]
permissive
NIRALUser/auto_EACSF
58b28d3bb1913c20c1031b11bf83a93a68911a83
a82ffc584c94650a1da5266a79b19e9b08d28ed2
refs/heads/master
2021-06-24T09:28:25.164154
2020-06-23T20:21:01
2020-06-23T20:21:01
136,204,558
5
1
null
2019-06-18T20:23:16
2018-06-05T16:21:07
C++
UTF-8
C++
false
false
487
h
vtkio.h
// // vtkio.h // ktools // // Created by Joohwi Lee on 12/5/13. // // #ifndef __ktools__vtkio__ #define __ktools__vtkio__ #include <iostream> //#include <vnl/vnl_matrix.h> class vtkPolyData; class vtkDataSet; class vtkDataArray; class vtkStructuredGrid; class vtkIO { public: vtkIO(); vtkDataSet* readDataFil...
9529e6fdfb85a18d68169d851dc4e946625dc48d
8e3c901d5d15a7c437e26e04d86dd5ef5ae06b70
/CastleVania/CastleVania/StairTop.cpp
8d15b0444f15c6ae76b9cccfcdb0edc3787a98ee
[]
no_license
hoangvinh121299/CastleVaina2
f90f00801a03ab5fff86dee9d3fc29ce6c45f8db
8c6a27fd2fadb52faf501daf59db9cbfc117d1bd
refs/heads/master
2023-02-15T12:08:34.816487
2021-01-11T07:51:45
2021-01-11T07:51:45
289,404,037
1
0
null
2021-01-10T18:57:26
2020-08-22T02:25:16
C++
UTF-8
C++
false
false
562
cpp
StairTop.cpp
#include "StairTop.h" StairTop::StairTop(float X, float Y, int Direction) { width = 50; height = 5; x = X - width / 2; y = Y; direction = Direction; ObjectType = objectType::STAIR_TOP; y -= height; } StairTop::~StairTop() { } void StairTop::getBoundingBox(float& left, float& top, float& right, float& bott...
6c357b70446e847d0b09325d3d13e77fc1a29231
737406e92b4ea6d6249c54f7e1854d806bb04c12
/GLImplementation/include/glImplementation/renderObjects/CameraGL.h
5a92517398b7c373404b34baf3c69e29c6fc8ae8
[]
no_license
sushilmiitb/coresdk
0cd022821f74e959562f9b9ba35303d7db504f15
0a97a222408d58f33d5fd1c88af89c68d2c230fb
refs/heads/master
2020-04-09T10:58:43.635289
2017-08-04T07:35:50
2017-08-04T07:35:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
496
h
CameraGL.h
#ifndef GLIMPLEMENTATION_CAMERAGL_H #define GLIMPLEMENTATION_CAMERAGL_H #include <coreEngine/renderObjects/Camera.h> #include <coreEngine/renderObjects/IRenderable.h> namespace cl{ class CameraGL : public Camera, public IRenderable { public: CameraGL(const std::string &sceneId, ILoggerFactory *loggerFactory); I...
1f00bcb4f191eab5c26430db72fabdf71bc1aacc
8bae0a5871f081f88f6bae1448f0a61653f1cad3
/CodeJam/2016/R2/B/B.cpp
63726834b3af24822d776358c7e207df4b15c1f2
[]
no_license
IamUttamKumarRoy/contest-programming
a3a58df6b6ffaae1947d725e070d1e32d45c7642
50f2b86bcb59bc417f0c9a2f3f195eb45ad54eb4
refs/heads/master
2021-01-16T00:28:53.384205
2016-10-01T02:57:44
2016-10-01T02:57:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,195
cpp
B.cpp
#include<bits/stdc++.h> using namespace std; typedef double ld; const int MAXN = 400; const int MAXK = MAXN; int N, K; ld P[2][MAXN]; ld dp[2][MAXN][MAXK]; // using the first i, probability of exactly j int main() { ios_base::sync_with_stdio(0); int T; cin >> T; for(int case_num = 1; case_num <= T; case_num ++) ...
893b30f224201d8dad9a70e51fad653eb8dacbb5
b495d715dc9fe3a2ac6bec5da44d6e83fec6c142
/q_2.cpp
fdee107280b2cdbeef16c0b509c28d899d96604b
[]
no_license
shobhitr97/Codes
f68be601c7b974c335722cdb8dc7f06e6c007e83
8d4deb2bb7f27e6f9af0190d5e558ff20f64a495
refs/heads/master
2020-04-15T13:35:59.973444
2018-02-06T18:24:33
2018-02-06T18:24:33
58,259,950
0
0
null
null
null
null
UTF-8
C++
false
false
349
cpp
q_2.cpp
#include<iostream> #include<stdlib.h> int main(){ int n,i,j,*a,c; std::cin>>n; a=(int*)malloc(n*sizeof(int)); for(i=0;i<n;i++){ std::cin>>a[i]; } i=0; j=n-1; while(i<j){ while(!a[i]){ i++; } while(a[j]){ j--; } if(i<j){ c=a[j]; a[j]=a[i]; a[i]=c; } } for(i=0;i<n;i++){ std::cout...
fe48d5b5c1c9e943a9dfc55c16e4c57f05adf7c8
6a93954f72bc32a1bbb77f9bb2726e935e8c5adf
/Mini Rogue/Game.cpp
b4b15a70a523456f4e4c7e6ac6934a461862257a
[]
no_license
mmorgandaly/Mini-Rogue
2aab09e581aaf440cd7c3e8e9f57ac1b4fae3a3c
fee62c1fc3526d56537aeb57f65f87195af1da23
refs/heads/master
2022-12-21T07:38:23.694372
2020-09-25T21:23:14
2020-09-25T21:23:14
298,681,948
0
0
null
null
null
null
UTF-8
C++
false
false
5,301
cpp
Game.cpp
// Game.cpp #include "Game.h" #include "Dungeon.h" #include "Player.h" #include "utilities.h" #include "Monsters.h" #include "Objects.h" #include <iostream> using namespace std; // Implement these and other Game member functions you may have added. Game::Game(int goblinSmellDistance) { m_dungeon = new Dungeon(18...
b7ebd692383f115c5d2f5bae0c8873660c01780a
9030ce2789a58888904d0c50c21591632eddffd7
/SDK/ARKSurvivalEvolved_WeapTekGravityGrenade_classes.hpp
bcd147669a4b2c21ad13c60a2c2e2d70851bef7f
[ "MIT" ]
permissive
2bite/ARK-SDK
8ce93f504b2e3bd4f8e7ced184980b13f127b7bf
ce1f4906ccf82ed38518558c0163c4f92f5f7b14
refs/heads/master
2022-09-19T06:28:20.076298
2022-09-03T17:21:00
2022-09-03T17:21:00
232,411,353
14
5
null
null
null
null
UTF-8
C++
false
false
9,398
hpp
ARKSurvivalEvolved_WeapTekGravityGrenade_classes.hpp
#pragma once // ARKSurvivalEvolved (332.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_WeapTekGravityGrenade_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //---------------------------------------------------...
b25ccfb6abd24f9759d440d87f7264d892955ac1
120b7f48e14687bae053c519b030e7627839e892
/Include/slam_class/Camera.h
a6635058899d83c3d6fadb682277decef1746364
[]
no_license
ClockworkHou/Recons_SLAM
298e100d1aea272dbf61b9dd7ffab29642f09073
505186d31f858f2e1a351ec258a55563f61ac0f5
refs/heads/master
2020-03-19T02:41:42.130058
2018-06-06T15:12:55
2018-06-06T15:12:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
969
h
Camera.h
//Camera #include "../include_libs.h" #ifndef CAMERA_H #define CAMERA_H namespace slam_class { class Camera_Intrinsics { public: double fx, fy, cx, cy; //double depth_scale;//for RGBD camera //Camera_Intrinsics(); void setValue (double _fx, double _fy, double _cx, double _...
7172df54cee27445899d8385754fb6f3e4bf74e8
163c67594e699f4e0625e690fdf59fe117be141c
/gsa/wit/COIN/include/ClpMessage.hpp
7d053cb4d087375bc4b0bc33e62a266fb076def5
[ "Apache-2.0", "LicenseRef-scancode-cpl-0.5" ]
permissive
jfuku14/CMMPPT
19e2ed19873cc8e78b277765764ae30f5661db4b
16dd1b709af992c09a1fda110b0602998f46d0d7
refs/heads/master
2021-12-03T08:16:12.442222
2021-08-19T02:05:56
2021-08-19T02:05:56
241,051,080
0
0
Apache-2.0
2020-02-17T08:02:41
2020-02-17T08:02:40
null
UTF-8
C++
false
false
1,864
hpp
ClpMessage.hpp
// Copyright (C) 2002, International Business Machines // Corporation and others. All Rights Reserved. #ifndef ClpMessage_H #define ClpMessage_H #include "CoinPragma.hpp" /** This deals with Clp messages (as against Osi messages etc) */ #include "CoinMessageHandler.hpp" enum CLP_Message { CLP_SIMPLEX_FINISHED, ...
02556edc774ec31acdadc6c1f0848e3371654fa5
4ca209e162f40570bb75d525a4aedff217109027
/src/Circuit/Resistor.cpp
6a8ab40be46f3d46d5dc31181675401b1535b647
[]
no_license
int3rrupt/CircuitBuilder_Cpp
fe1af323d49917b479da04558bb9dd7ab30cb4a3
f0e4c9f250885eb4eb595adcc92c6d96ede5aba3
refs/heads/master
2021-07-20T10:13:03.406370
2017-10-29T04:18:08
2017-10-29T04:18:08
57,923,863
2
0
null
null
null
null
UTF-8
C++
false
false
4,144
cpp
Resistor.cpp
// Resistor Implementation // Resistor.cpp #include "StdAfx.h" #include "Resistor.h" using namespace System; using namespace System::Drawing; using namespace System::Windows::Forms; Resistor::Resistor() : Components() { } Resistor::Resistor(double RESISTORVALUE, int X, int Y, String^ NAME, int TYPE, ...
85bbbf37ca8ad62effccc938ecfd7f5c12e0f6b3
b67044ae73272f81819304a9736d49c9727e868f
/OriginalPlan/trunk/server/trunk/server/gamebaselib/src/ai_character.h
f9734840f8740eaea6806cfe7adfadc7b7951ab4
[]
no_license
bagua0301/red_slg
5b16ab66354c552ab2066fc95effaca2a9a56535
50c48cbdfeb4ba373d2f9040c9b4c9e609e3b9cb
refs/heads/master
2023-06-17T21:39:15.730529
2020-05-23T10:29:07
2020-05-23T10:29:07
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
876
h
ai_character.h
#ifndef _AI_CHARACTER_H_ #define _AI_CHARACTER_H_ class CCharacterObject; #include "game_util.h" class CAICharacter { public: CAICharacter(void); virtual ~CAICharacter(void); public: virtual bool init(CCharacterObject *character); public: virtual void relive(CCharacterObject* pCharacter){} // ʼþ public: v...
195910b3a0b253b83f667760e28d6a3a3fc0ddd8
81a332cd43e111f3901f775cbec63b5de45b0124
/src/base/linked_list.h
d97493149b2dcead719e85ca6d949e991f71d2f5
[]
no_license
bill-mccloskey/os
b3d403f41ac987d132975f56be5f951460c1d46d
a7cb203c1d4cb9433c43e586fdd433db203f4472
refs/heads/master
2020-04-08T04:02:09.962038
2019-02-22T05:30:09
2019-02-22T05:30:09
158,999,962
1
0
null
null
null
null
UTF-8
C++
false
false
3,428
h
linked_list.h
#ifndef linked_list_h #define linked_list_h #include "assertions.h" #include <stddef.h> #include <stdint.h> #include <string.h> template<typename T, size_t> class LinkedList; class LinkedListEntry { public: void Remove() { prev_->next_ = next_; next_->prev_ = prev_; next_ = prev_ = nullptr; } void ...
e7c6b98064e0e4142f8fcd57f16d1cb3840b95b7
c822bc1903e80276cde3254e67a8b1aee5bcb690
/ARKitRemoteApp/Classes/Native/Bulk_System_1.cpp
0b2a479cda20e916cccd24a2777c6238af1178bc
[]
no_license
YTKY/YtARApp
d7d5874c2f63b88cdd9e1966f2e45c7d4892f6fe
c1504eff14adb09dc7a07b973a4427b3784114ac
refs/heads/master
2021-08-30T06:37:50.380772
2017-12-16T14:51:42
2017-12-16T14:51:42
113,552,163
0
0
null
null
null
null
UTF-8
C++
false
false
1,899,064
cpp
Bulk_System_1.cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "class-internals.h" #include "codegen/il2cpp-codegen.h" #include "object-in...
812e4919cb638b454f48690d4c22df31a5e717c5
5f333776f56616bd25bb2c972cfdc0f203af8bae
/TestProC-main/lastedit/ModelViewDemo/ModelViewDemo/imagedelegate.cpp
ca825565962b2f341b37f36d5f0304cf76e4a820
[]
no_license
Pedos321/TestProC
b723d347c78ee5d4a04db4b80b6a36e50f671e05
2b6b5d93a817e2044e04ecfb1358e1ba18fb2018
refs/heads/main
2023-07-15T22:46:25.421139
2021-08-18T22:11:05
2021-08-18T22:11:05
395,389,748
0
0
null
null
null
null
UTF-8
C++
false
false
1,097
cpp
imagedelegate.cpp
#include "imagedelegate.h" #include "math.h" #include <QPainter> #include <QDebug> Imagedelegate::Imagedelegate() { } QSize Imagedelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const { return QItemDelegate::sizeHint(option, index); } void Imagedelegate::paint(QPainter *painter...
69af1d6d25d05538dee250e98d83d9354798d2db
d5fce8e6172fc3b2366d3d22ca5816149dfbfd10
/hilti/toolchain/include/compiler/detail/parser/driver.h
f35b6d88bfae7874ad4c65304f8ac6275d317ee6
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
jonknet/spicy
059f12369ca701349080d9816dc461105486b2e4
422f31db99cb64c9fea36ee116bb5f9fe3d7e9f4
refs/heads/main
2023-06-19T09:42:09.644924
2021-07-09T06:34:26
2021-07-09T06:34:52
385,472,907
1
0
NOASSERTION
2021-07-13T04:18:36
2021-07-13T04:18:36
null
UTF-8
C++
false
false
4,262
h
driver.h
// Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details. #pragma once #include <utility> #include <vector> #ifdef yylex #undef yylex // Work-around for bison messing up the function name by adding the local namespace. #define yylex lex #endif #include <memory.h> #include <iostream> #include <string>...
1a63db148f8632b2b7d1067c37618259cc1bb276
f0eeb6724147908e6903a07cd524472938d5cdba
/Baekjoon/1333_부재중 전화.cpp
a0c6cae369a5fe40f29c073e4354ebbd10a14e3c
[]
no_license
paperfrog1228/Algorithm
bb338e51169d2b9257116f8e9c23afc147e65e27
14b0da325f317d36537a1254bc178bed32337829
refs/heads/master
2022-09-22T23:58:28.824408
2022-09-09T07:01:41
2022-09-09T07:01:41
152,889,184
3
0
null
2019-03-24T14:49:13
2018-10-13T16:04:45
C++
UTF-8
C++
false
false
338
cpp
1333_부재중 전화.cpp
#include<stdio.h> int main(){ int n,l,d,a=1; scanf("%d %d %d",&n,&l,&d); while(a<=n){ for(int i=a*l+5*(a-1);i<a*l+a*5;i++){ if(i%d==0){ printf("%d",i); return 0; } } a++; } int i=0; while(1) { if((n*l+(n-1)*5+i)%d==0){ printf("%d", n*l+(n-1)*5+i); return 0; } ...
e223ba2f79d48f90856d5a00c858682b3fd48090
6b6e040a7cb431b9905a51c20aa3d3dc86b345dc
/LabProject/SurfaceReconstruction/alg/kernel/spiky_kernel.cpp
bc63e2f7ab34422bcf68f7821c474d8bdc431371
[]
no_license
CedricM9/SPH-Surface-Reconstruction
023be4255ecfb382c7c71dea84fe17d36bce7384
a7639e4c7c06d5cf828aa8e140ef97d7f68faaef
refs/heads/master
2023-02-02T14:50:35.225041
2020-12-16T11:29:17
2020-12-16T11:29:17
284,705,137
0
1
null
null
null
null
UTF-8
C++
false
false
938
cpp
spiky_kernel.cpp
spikyKernel::spikyKernel() {} void spikyKernel::setRadius(float compactSupport) { h_ = compactSupport; a_ = 15/((M_PI)*pow(h_,6)); } double spikyKernel::evaluate(float x, float y, float z, particle& p2) { float xDistance = p2.x() - x; float yDistance = p2.y() - y; float zDistance = p2.z() - ...
5e14de7a87c6958a6a11ddb6e3757758ceb421f8
785e865126fecd2ed27841e2321ba66686b69f39
/Proyecto2/Proyecto2/Cuadro1.h
4ecb0237c1301d839fa0f1674afb29d0e4582e59
[]
no_license
jesussaco9/Proyecto2
90d182ab702087edfe6e748e07e12b882c1f6a71
863acfac7343de8dd8989dec892fc554dd9b762f
refs/heads/master
2022-10-23T18:08:52.513686
2020-06-16T04:04:01
2020-06-16T04:04:01
266,695,117
0
0
null
null
null
null
UTF-8
C++
false
false
201
h
Cuadro1.h
#pragma once #include"ElementosDeMatriz.h" class Cuadro1 : public ElementosDeMatriz { string nombreClase; public: virtual string toString(); virtual string toString2(); string getNombreClase(); };
7f6d6b4dc56869855c7af07d9ac4f6b4ab49e0e7
143845445ea0366183b72423340cd52c2c94c081
/domain/TradeMessage.cpp
51ac5bf309fe8f02337665833a1c9e85a635519f
[]
no_license
rorymcstay/algomon
b2286cdc1bfbe7a60daeca392438315c3360f372
ff6872088ed09c33ca8d2b564a3f3cb7d009e3aa
refs/heads/master
2021-07-06T13:26:33.131357
2021-03-28T19:25:21
2021-03-28T19:25:21
229,152,753
0
0
null
null
null
null
UTF-8
C++
false
false
925
cpp
TradeMessage.cpp
#include <vector> #include <string> #include <iostream> #include <include.hpp> #include "Enums.h" #include "Quote.h" #include "TradeMessage.h" namespace domain { TradeMessage::TradeMessage(std::vector<std::string> data_) : Event(EventType::TradeMessage, TimeType::Stamped) { _type = (MessageType...
32757f3277780bf90a90c0e7599d5e65c671b615
e0366490052cca4337d797f6285adcafc2eb33f4
/3Elevators-scheduling/elevator.h
93de57ff4a5b319cf92bc7ff9e8af4bbbbb53b44
[]
no_license
0pyj0/3Elevator-scheduling
5ce5976bfb59d245512c6ede7e4849740c6c08e2
32d4e02f1e7a7e4959c27504154d4a5250f80999
refs/heads/master
2020-03-17T03:35:44.459096
2018-05-13T13:46:07
2018-05-13T13:46:07
133,242,103
0
0
null
null
null
null
GB18030
C++
false
false
729
h
elevator.h
class Elevator { private: int floor; public: int timeq;//请求时间 int fromfloor;//请求楼层 int gotofloor;//目的楼层 static int sum; int nowFloor1(int i,int j,int &r,int &s,int f,int w);//当请求时间小于s时, //i为上一个请求的gotofloor和当前请求的fromfloor的时间差 //j为当前请求的gotofloo...
0eef0ad32c0d282b02ca04bfc8e4ea8fd5c17e43
da1b99cb8f45186085339ea8043ffb335bcd733c
/UvaOnlineJudge/299.CPP
e81c9e5b824eb4f222ce8083714782975475ff1d
[]
no_license
Intiser/ProblemSolvingAndContest
2dff8470fe109701d2e3e407d757f8859691dbd1
de5431261ac675f323e1d8c19008b0523ba6455e
refs/heads/master
2020-03-28T04:33:15.934870
2019-02-12T09:43:54
2019-02-12T09:43:54
147,721,990
0
0
null
null
null
null
UTF-8
C++
false
false
631
cpp
299.CPP
#include<iostream> using namespace std; void swap1(int *a,int *b) { int temp; temp=*a; *a=*b; *b=temp; } int main() { int t,n,s,i,j,k,a[50]; cin>>t; for(i=0;i<t;i++) { cin>>n; for(j=0;j<n;j++) { cin>>a[j]; } for(j=0,s=0;j<...
a3ceb949f3916cdaa1461748071e3effb36f6521
8286803ece758209dd196ab69fbe4a212ff9dceb
/Source/Scene.cpp
7b0ffd55775ef0651e0fbb9abaacf3e7757fd1d3
[ "MIT" ]
permissive
Balajanovski/teapot-demo
37436bd1da2388d8e2ae8c93eb7d5e8aa5fcab00
d4291b8fe6a0464d92b310eaf799757a0c9183c1
refs/heads/master
2020-03-29T22:05:17.328449
2018-10-03T22:48:15
2018-10-03T22:48:15
150,402,319
0
0
null
null
null
null
UTF-8
C++
false
false
2,686
cpp
Scene.cpp
// // Created by Balajanovski on 2/10/2018. // #include "Scene.h" #include "Util/Cleanup.h" #include "Util/Model.h" #include "Util/Shader.h" #include <climits> #include <vector> #include <string> #include <glm/gtc/type_ptr.hpp> void Scene::Draw(Shader& shader) { for (unsigned int i = 0; i < next_model_key; ++i...
94611cc561263f46d7443b6b95f6772937bead36
0cfbfa90384e0dd05ac7b16d7db4b7f50c1d52ad
/Deck/ConeyIslandCard.h
77d4e92536204ac8b77ee7adee1cdd7a7b953693
[]
no_license
jack-burns/COMP-345-Assignment-4
2d8d9483dee90cb20ee796394ab2fb0914290e7e
cea4c57b551cc306b8d0f7546580d510358046de
refs/heads/master
2020-04-08T17:52:02.408420
2018-12-01T02:01:07
2018-12-01T02:01:07
159,583,943
0
0
null
2018-11-29T00:31:21
2018-11-29T00:31:21
null
UTF-8
C++
false
false
235
h
ConeyIslandCard.h
#ifndef CONEYISLANDCARD_H #define CONEYISLANDCARD_H #include "Card.h" #include "../Player/Player.h" class ConeyIslandCard : public Card { public: ConeyIslandCard(); ~ConeyIslandCard(); void Play(Player* playerData); }; #endif
b154b53af776dd3a4dc4a691937026d5fa135e50
e222e5be832442abac5545236277671fea56a1d1
/src/engine/bind/global_object_template.hpp
11b7cf45f885b7bc3ec46f438070607ef94b8cc6
[ "MIT" ]
permissive
YuukiTsuchida/v8_embeded
c28e208b6b4b73c41d0a5c81aeca71d1111c635c
c6e18f4e91fcc50607f8e3edc745a3afa30b2871
refs/heads/master
2020-12-31T22:56:33.725884
2020-11-10T04:00:12
2020-11-10T04:00:12
239,064,117
0
0
MIT
2020-05-20T08:24:54
2020-02-08T03:39:19
C++
UTF-8
C++
false
false
1,094
hpp
global_object_template.hpp
#pragma once #include <v8.h> #include <cassert> #include "object_template_binder.hpp" namespace engine::bind { template <class Type> class global_object_template { public: explicit global_object_template() = default; explicit global_object_template(v8::Isolate* isolate) { initialize(isolate); } ~global_obje...
ae7762f96360e102ec3f25788f21a5b6516e9cf5
1550679ab16d8e8ef8727bcd97083615c4f90fc3
/RPG_Game/Character_builder/CharacterBuilder/configrationwindow.cpp
42c1f78a2767fac628b0b88f16e5f8482fb3801c
[]
no_license
shbli/2D-Animator
ead2e3fd902b749a505dcfe8484f7f87fdfcf2cd
6c90cc53163981183163cd445d7b30337275157a
refs/heads/master
2021-08-23T04:10:12.824644
2017-12-03T06:07:32
2017-12-03T06:07:32
112,904,066
0
0
null
null
null
null
UTF-8
C++
false
false
35,333
cpp
configrationwindow.cpp
#include "configrationwindow.h" #include "ui_configrationwindow.h" #define numberOfParts 20 ConfigrationWindow::ConfigrationWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::ConfigrationWindow) { ui->setupUi(this); moving = false; // setWindowFlags(Qt::FramelessWindowHint); // mo...
3bcd967db5f7fed981bba3c7e063ea878eb6f66a
eb6fca7cb8a4425c8fba4a2a9c68fde2ced2077e
/Asteroids/src/FPSActor.cpp
1275d51bf1b9b2e7201972bce42276577fd8a5b5
[]
no_license
hzwr/Asteroids
fdd8c7125fb062f9b9ca7fb315a33faf9bffdc54
d8808cb9b99015783c8e941782970320227fd85a
refs/heads/main
2023-07-13T23:17:04.888168
2021-08-18T04:30:28
2021-08-18T04:30:28
368,767,885
1
1
null
null
null
null
UTF-8
C++
false
false
1,756
cpp
FPSActor.cpp
#include "FPSActor.h" #include "GameEngine/EntitySystem/Components/MoveComponent.h" #include "GameEngine/EntitySystem/Components/Camera/FirstPersonCamera.h" FPSActor::FPSActor(Game *game) :Actor(game) { m_moveComp = new MoveComponent(this); m_cameraComp = new FirstPersonCamera(this); } void FPSActor::UpdateActor(f...
a573f47953dfa90617cbf61f95f3fdb5518eaa57
cb8349985ab353e193379a0bbf212e2526008c0b
/include/weeds/NoConstructorPublicAndProtected_impl.h
9b59124ab437ce3d4b106a8c3544c67902456933
[]
no_license
ericluii/joos-compiler
b29869479caa4e282e4598b81c3369967b0c03a7
70e915ab001a4812f75302a0f516e1960600035e
refs/heads/master
2021-01-19T07:53:46.020627
2015-04-06T07:23:56
2015-04-06T07:23:56
28,887,471
4
4
null
2015-04-06T07:23:57
2015-01-06T22:52:54
C++
UTF-8
C++
false
false
907
h
NoConstructorPublicAndProtected_impl.h
#ifndef __WEED_NO_CONSTRUCTOR_PUBLIC_AND_PROTECTED_H__ #define __WEED_NO_CONSTRUCTOR_PUBLIC_AND_PROTECTED_H__ #include "weed.h" #include "NoPublicAndProtected_impl.h" class NoConstructorPublicAndProtected : public NoPublicAndProtected { public: NoConstructorPublicAndProtected() { rule = CONSTR...
bdf7ed72a27071e3b9bc288adbd10f9f71e66006
335bca3b133b6fdc9f94906ac8d3915c207bee97
/Arduino/FinalV1/includes/BuffData.cpp
a34419ccbd5fc99dbb2e72234298d1d6ee0518ee
[]
no_license
nicolerey/Thesis
efdde66ab2395aad11f9f052f945bfd78a4d9b71
8a7917b91b28d8081c9bbdd1fdb2a76c33abaf36
refs/heads/master
2021-01-10T07:10:10.246904
2016-03-31T14:41:16
2016-03-31T14:41:16
45,770,023
0
1
null
null
null
null
UTF-8
C++
false
false
1,682
cpp
BuffData.cpp
#include "include.h" void ReadDataInBuffer(){ int delPos = 0; int queueLen = 0; while(xbee_serial.available() > 0){ unsigned char in = (unsigned char)xbee_serial.read(); if(!RxQ.Enqueue(in)) break; } queueLen = RxQ.Size() for(int x=0; x<queueLen; x++){ if(RxQ.Peek(x)==0x7E){ unsigned char checkBuff...
777eb5d55608a805a58a104d24b281f53c1df17f
191bf92db1a9f6df7c30e37a8f0a14d1c220a3bd
/MODEFREQ.cpp
1ca4f89ec8b52cfd0fe5bcdc48f219760cf0d30d
[]
no_license
doomsday861/Allofit
958fa379296e1a4c9a78b25ab0fd7c222bb1f81a
94d644e52a64ff2949ea731c569478e721fc71bf
refs/heads/master
2023-01-04T12:35:10.447467
2022-12-28T09:30:18
2022-12-28T09:30:18
250,110,669
0
1
null
2021-01-11T09:20:21
2020-03-25T22:59:54
C++
UTF-8
C++
false
false
312
cpp
MODEFREQ.cpp
/** * MODEFREQ **/ #include<bits/stdc++.h> #define ll long long #define testcase ll t;cin>>t;while(t--) using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); testcase { ll n; cin>>n; vector<pair<ll,ll>> v(100000); } return 0; }
774621956909d1a1766aa044a81ab6a2407a680d
e0ec926e9c23d9064aad152c14d2070a468d2b0f
/src/algorithms/data_structures/string/str_compression.hpp
2688a82c61581c9fd1635c04128edbc8f63c2c3d
[ "MIT" ]
permissive
xGreat/CppNotes
6aae7497dda51d909097731c03593d9dbb302161
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
refs/heads/master
2023-02-22T00:10:46.391669
2021-01-21T09:24:25
2021-01-21T09:24:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,433
hpp
str_compression.hpp
#ifndef STR_COMPRESSION_HPP_ #define STR_COMPRESSION_HPP_ // https://leetcode.com/problems/string-compression/description/ /* Given an array of characters, compress it in-place. The length after compression must always be smaller than or equal to the original array. Every element of the array should be a character (...
b38fbffe755d209ab0a5d343447dcca41fbb7e68
ca800bc566ca49f80ffa52d839d175d5ac7ea99f
/src/facefollow.cpp
6df6e97b5ccacc1cd4675b688ca6446ac52d3b7a
[]
no_license
Wei-Fan/ardrone_facefollow
ffb3df02a24c957898f40a57657f4ee038e60ce9
a1da5e2ed1d1c8574c8abc70971a5b9430aea2aa
refs/heads/master
2021-09-10T11:10:29.797904
2018-03-25T09:14:21
2018-03-25T09:14:21
105,608,381
1
0
null
null
null
null
UTF-8
C++
false
false
3,330
cpp
facefollow.cpp
#include <iostream> #include <string> #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/opencv.hpp" #include "ros/ros.h" #include "image_transport/image_transport.h" #include "cv_bridge/cv_bridge.h" #include "sensor_msgs/image_encodings.h" #include "ardrone_autonomy/Navda...
cdb7866c913e305c868276d025f09cac6c133560
7bb00eea506d129c94cede3001d437f4ebc4b16f
/20180502/Source/Thread/IThreadTask.cpp
2671ddd648556a394682a88e1afb8440aa7d8ab2
[]
no_license
jhd41/ToolFrame
3e5c82b5a5c41e1ba844b93c3df6dfc5a41572d9
250c7d4371eca95acc1a579f2b861a1c94dfe9e4
refs/heads/master
2020-03-15T03:04:58.371922
2018-05-03T03:01:10
2018-05-03T03:03:05
131,933,829
1
0
null
null
null
null
UTF-8
C++
false
false
685
cpp
IThreadTask.cpp
#include "IThreadTask.h" #include "MThread.h" NS_TOOL_FRAME_BEGIN IThreadTask::IThreadTask(void) { _pMgrTaskThread = &MThread::Singleton().GetTaskMgr(); } IThreadTask::~IThreadTask(void) { StopThread(); } bool IThreadTask::StartThread( int nLoop /*= -1*/,uint uCount /*= 1*/,uint uTimeInterval/*=50*/ ) { if (uCou...
afbd036f2f98bec2287065b71f4e1cfef0829a46
3a3e9b954e8aa884841337ddee3412b9dd879955
/src/binary.cpp
9934cfb3c3258122496ae18ca5db6db55f23f27b
[]
no_license
TheDarkLightX/TML
3db45189b5a311fca8b4e5d7b33b6cc7d709530c
4673f82db19ecac7980e7472474b34a00725517a
refs/heads/master
2022-11-20T17:41:50.307321
2020-07-29T05:21:34
2020-07-29T05:21:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,050
cpp
binary.cpp
// LICENSE // This software is free for use and redistribution while including this // license notice, unless: // 1. is used for commercial or non-personal purposes, or // 2. used for a product which includes or associated with a blockchain or other // decentralized database technology, or // 3. used for a product whic...
a521569250c1fa0f5b87487d55ad0f04dc3a9944
a8ec0b280e63eb06c9352402aaa81c4f6b06b47c
/ZOJ/3774.cpp
8a2f9d5f07a2e6fb26e9dc2b1a20a158846692fe
[ "Unlicense" ]
permissive
CodingYue/acm-icpc
5eff1b81a50cc9f7cbcd93c38b0232ba085a0b97
667596efae998f5480819870714c37e9af0740eb
refs/heads/master
2020-05-16T21:51:33.553238
2017-02-14T11:52:05
2017-02-14T11:52:05
17,904,772
1
0
null
null
null
null
UTF-8
C++
false
false
2,718
cpp
3774.cpp
// File Name: 3774.cpp // Author: YangYue // Created Time: Sun Jun 29 22:05:10 2014 //headers #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> #include <cstring> #include <cmath> #include <ctime> #include <string> #include <queue> #include <set> #include <map> #include <iostream> #include <...
cc7126977583146308263a5cb7211cfc7f310fc5
881b69740834d7b901d025082e265bde9a44e854
/MaBibliotheque/Objet.h
786037c52f9a13a52ea86f19f93d47f346924dbf
[]
no_license
G0nai0Ra0le0P0t1/micro-projetJIN4_l00l
039a2263ae65556ba21e9448a8a8c259201b55bb
f41307dffffd0acb9d0435a005d4744a50b77a3d
refs/heads/master
2020-03-19T01:04:59.531426
2018-06-12T21:28:53
2018-06-12T21:28:53
135,521,299
0
0
null
null
null
null
ISO-8859-2
C++
false
false
399
h
Objet.h
#pragma once #include "Obj.h" class Objet : public Obj { public: Objet(); ~Objet(); Objet(int posX, int posY, int len, int height, char* color); Objet(int posX, int posY, int len, int height); void defilement(int vitesse); void déplacementHaut(); void déplacementBas(); private: int positi...
7fe1a47b3cf35d5aa674f8edab2e586bd7ed08fb
b58d58fba2962a15edcb478e69b1c2a2a5aee0c5
/viewer/Viewer.hpp
a73af3279775b2c3489592273dbc575712c528a4
[]
no_license
djgaspa/meshification
c88b339ed27c534ded063c46d2c9deecc8eb2cfb
87ee91e6c8124aca22551b69ffcd2e1f82cfbffa
refs/heads/master
2020-05-17T17:19:40.462302
2013-05-28T12:13:15
2013-05-28T12:13:15
9,019,629
0
1
null
null
null
null
UTF-8
C++
false
false
566
hpp
Viewer.hpp
#pragma once #include <memory> #include <iosfwd> #include <QGLViewer/qglviewer.h> class Model; class Receiver; class Camera; class Viewer : public QGLViewer { Q_OBJECT; const int width, height; std::vector<Receiver*> recv; std::vector<Model*> models; std::unique_ptr<Camera> cam; std::unique...
ac41a9fbed8352dba6ab922055a8582f13ef2381
689592b29b9764ac38e46bdb4ee30e3214d42766
/lab2/z3.cpp
6d1b01fea2582e4698cfb800302e30f4f1ae5616
[]
no_license
MilenaGil/jipp2020
b3a7412b235ceafcc14bedd4d967f3c82c16d109
4f67c39154c48f07235b4e3d0cd5abd796874c5e
refs/heads/main
2023-02-21T21:02:59.523420
2021-01-29T11:12:05
2021-01-29T11:12:05
307,428,813
0
0
null
null
null
null
UTF-8
C++
false
false
460
cpp
z3.cpp
#include <iostream> using namespace std; void funkcja(int &a, int *b){ int w = a; a = *b; *b = w; } int main(){ int x, y ; cout<<"Wprowadz liczby: "<<endl; cin >> x >> y; cout<<"Liczba 1 wynosi:"<< x << ",liczba 2 wynosi: "<< y <<endl; int *b = NULL; b = ...
83f2b48c758763aa7bf6afebcb3d7814ae84dcf8
09983ce09f4a9336d6c0d860a51950039662d521
/chapter05/HardwareException.h
d43446b71fcf824294dff33bbfbdbf0b85cd23b4
[]
no_license
Handy521/seven-day-become-butterfly
753429485d8eef5a86e98a31039441cfc6bdd82f
a447043afc4516a5037dc792192446eb4bd112c5
refs/heads/master
2020-06-20T01:59:35.693717
2019-07-15T13:12:03
2019-07-15T13:12:03
196,952,094
0
0
null
null
null
null
UTF-8
C++
false
false
180
h
HardwareException.h
#pragma once #include"MyException.h" class HardwareException:public MyException { public: HardwareException(int code,string msg); virtual int getErrorInfo(string &msg); } ;
b2c8f0c113d7f5cdd29ffa4884a83dc4c921420b
415e6f069770649918581d9c4196d34735c1d277
/Modern/CrashCourse/shaderClass.cpp
f6013c1168406922423f4e067e93f1b2ac27dd38
[]
no_license
VarunRamakri7/OpenGL
30e1e7d9278583fddd53c56e88dd91923edcc23c
cfdeaf8786b545d47e7a1cc164b9c07fcdf0369a
refs/heads/main
2022-03-29T07:25:36.344009
2022-02-24T23:58:34
2022-02-24T23:58:34
178,471,636
1
0
null
null
null
null
UTF-8
C++
false
false
2,603
cpp
shaderClass.cpp
#include "shaderClass.h" // Reads a text file and outputs a string with everything in the text file std::string get_file_contents(const char* filename) { std::ifstream in(filename, std::ios::binary); if (in) { std::string contents; in.seekg(0, std::ios::end); contents.resize(in.tellg()); in.seekg(0, std::io...
ac9615a5a6e6ac82e128f796fdee249b2e85a931
1294dc4795ac067d8313fdd4cbca901162a0b25e
/graph.h
5bdb3a92e2e4ceca42a2607b61529e01357894ce
[]
no_license
Stevemario/CSIT-832-SMC-S16-Assignment-2
c3e77cf475e0a56610a51e673e4668a7f9c704d3
2a33b0a20a64eb4cbcb8e848b2aadbf9c1b98a30
refs/heads/master
2021-01-10T15:49:42.467647
2016-03-19T03:11:04
2016-03-19T03:11:04
53,985,677
0
0
null
null
null
null
UTF-8
C++
false
false
4,736
h
graph.h
#ifndef GRAPH_H #define GRAPH_H #include "vertex.h" #include "connection.h" bool canReadALineInto ( std::string&, std::ifstream& ); class graph { protected: unsigned int m_nVertices; protected: graph (); public: unsigned int nVertices () const; public: virtual std::string nameOfVertice ( const unsi...
a430f49b6bc541971ec0a858d31dc8a17f20368c
bdf9b430d9e6302b58cbdd2c2f438f3500ce62e1
/Old Topcoder SRM codes/POstorder.cpp
2699d86845788fb30dcd7356de0258245c270474
[]
no_license
rituraj0/Topcoder
b0e7e5d738dfd6f2b3bee4116ccf4fbb8048fe9c
3b0eca3a6168b2c67b4b209e111f75e82df268ba
refs/heads/master
2021-01-25T05:16:18.768469
2014-12-14T13:47:39
2014-12-14T13:47:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
978
cpp
POstorder.cpp
#include<iostream> using namespace std; #include<vector> #include<stack> struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: vector<int> postorderTraversal(TreeNode *root) { stack< TreeN...
c38494e11e9f4473cbff9f151c493c6c0b3a76c2
beafd9251c1c69c8126ff5344acb8163d5291dd1
/Computação Gráfica/Trabalho 1/Formas/2D/Mesh/main.cpp
61a03d02e488f6f4a73ca4eab7b02e83c337f43a
[]
no_license
DanielBrito/ufc
18f5a1b6b3542b27ec465d966dd6b48a8cb2f8ac
32004cdc6b708ffda24a0aae24525c6e423dd18e
refs/heads/master
2023-07-19T17:27:11.150306
2022-02-12T03:15:43
2022-02-12T03:15:43
101,405,465
20
6
null
2023-07-16T04:22:11
2017-08-25T13:15:44
C
UTF-8
C++
false
false
1,922
cpp
main.cpp
// Default libraries: #include <GL/glut.h> #include <bits/stdc++.h> using namespace std; // Defining Vertex class for 2D object: class Vertex{ public: double x, y; // Defining the constructor with the proper fields: Vertex(double x, double y){ this->x = x; this->y = y; } // Method to draw the fo...
ac635e7e1a5bb34c827b050e5a9d495c58ade2ac
bfbd0b9ec49ce20c7319ca07382c58f8342daee2
/Assignment5/interpreter2.0.cpp
c52fb472e8657069d54e2221c8adec2204cb1aef
[]
no_license
its-sachin/COL216-Collaborate
2b2d914c4aa2008a154b683410d36bd6ca1b00da
f7578a2007e63216ea9d00885d5e7df0db5f2912
refs/heads/master
2023-04-29T04:09:48.793193
2021-05-17T17:56:22
2021-05-17T17:56:22
346,585,544
3
0
null
null
null
null
UTF-8
C++
false
false
9,508
cpp
interpreter2.0.cpp
#include "DRAM.cpp" DRAM ram; unordered_map<int, vector<string>> MIPS::getInstruction(){ return instructions; } int MIPS::getLine(int pc) { return lineCount[pc]; } void MIPS::incInstCount(int instruction){ instCount[instruction] += 1; } // ------------instruction handling--------------...
f2434a0e5524d0340ea7d38d86045526a34c252d
3f5abeee06b57181e0f308ffb83090a859ef5266
/S_EMTP/src/Selector.cpp
34c863457040c1dd32487b7151e3c0559a0a59bc
[]
no_license
aowd/S_EMTP
d3d339e9a9d7a4030aacf07f7486451a878a6d3b
cc387eb42f6d0e42e6b86415ec90230311227707
refs/heads/master
2021-05-28T04:14:01.519159
2014-03-04T05:06:13
2014-03-04T05:06:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,188
cpp
Selector.cpp
#include "Selector.h" Selector::Selector(int id,int inNodeA,int inNodeB, int selectNode, int outNode,double selectAValue) { type =19; nPort=4; nInPort=3; nOutPort=1; this->id = id; inNode = new int[nInPort]; inNodeValue = new double [nInPort]; inNode[0] = inNodeA; inNode[1] = inNodeB; inNode[2] = selectNode;...
aa9d6ed9e7555dfdc81572df7a3ef40dea0c3efb
ddb969820b6e638e3f2e3cfaea8a3ea00bd9dd2f
/src/photoLocation.cpp
0f96e29ac419ef079c142defd11be34206760dd2
[]
no_license
zzXiongFan/smartCity-CAG
cabda0098b0428fe2413a5b4288f28c5fead2ea7
144021298ae085c111739feaf83b20c589d2834b
refs/heads/master
2020-06-09T20:26:31.622915
2019-06-25T02:44:23
2019-06-25T02:44:23
193,500,363
0
0
null
null
null
null
UTF-8
C++
false
false
12,442
cpp
photoLocation.cpp
// c++标准输入输出库 #include <iostream> #include <vector> #include <string> #include <cassert> #include <iomanip> // opencv相关 #include <opencv2/core/core.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/xfeatures2d/nonfree.hpp> ...
60c38bcac4427b2772681adbc42ef328eec4e064
71f59b5d8212e5f00421a44c853c3f21fe2b3e6f
/src/files/InputFile.h
dc06f6e82cd5e2e12c8405ece8a5671943dd73e0
[]
no_license
Xywzel/nes_debugger
7412879eeed368710b71784bb0d313faf8aa7eba
fc6e0deaf5c2c5172a4c4ef88fb0d09cfd907a38
refs/heads/master
2022-11-18T07:03:22.212763
2020-06-20T19:10:30
2020-06-20T19:10:30
255,689,616
0
0
null
null
null
null
UTF-8
C++
false
false
1,177
h
InputFile.h
#pragma once #include <stdint.h> #include <string> #include <vector> class InputFile { public: InputFile(std::string name); ~InputFile(); // Returns false if the file failed to load, // or last stream operation requested more data than was left bool isGood(); // If not enough data is left, returns fals...
70778b31cfedcdea74713b33f36deb97e801cd42
2c1e1467898b1f73372ea4b07113ebfeb001632a
/utils/include/comm_util.h
252e6c297a6a135a2d04352d74590f723844f1bd
[]
no_license
hhyjiayou/account
ce967d90ef7554b6ad71c54fd1cbe800bc2e1267
95893f75918313d9cc3adac9fbd463dae1df35e4
refs/heads/master
2021-01-01T04:28:16.382660
2017-07-14T01:54:27
2017-07-14T01:54:27
97,180,779
0
0
null
null
null
null
UTF-8
C++
false
false
2,015
h
comm_util.h
/* * comm_util.h * * Created on: 2016年2月17日 * Author: zhongxiankui */ #ifndef UTILS_INCLUDE_COMM_UTIL_H_ #define UTILS_INCLUDE_COMM_UTIL_H_ #define __STDC_FORMAT_MACROS 1 #include <inttypes.h> #include <time.h> #include <string.h> #include <stdio.h> #include <iostream> #include <vector> #include <map> #inc...
e3e4478ff1025c769353b9bc66d2018da5b24eeb
88e8a4e43f851da8de9d0e0fad535d8f40f8fd81
/string/linkstring.cpp
056a1a13b21e0810334e5a26e2829d6d510ed19e
[ "Apache-2.0" ]
permissive
huweihuang/data-structure-code
74a04d285da6a17a1d2c37793a2b88581c3e22ca
dacb3a036d0a4df391ce5fca9ce65f7dc2ab1b69
refs/heads/master
2020-03-29T22:39:46.335282
2018-09-27T13:33:58
2018-09-27T13:33:58
150,433,615
4
0
null
null
null
null
UTF-8
C++
false
false
5,263
cpp
linkstring.cpp
#include <stdio.h> #include <malloc.h> typedef struct node { char data; /*存放字符*/ struct node *next; /*指针域*/ } LinkString; void Assign(LinkString *&s,char t[]) { int i=0; LinkString *q,*tc; s=(LinkString *)malloc(sizeof(LinkString)); /*建立头结点*/ s->next=NULL; tc=s; /*tc指向s串的尾结点*/ while (t[i]!='\0') { q...