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
92aff6f5140ab7d269b7a3e8d55a4b0cf097420a
354ebd2063f51ff7e54d38aac8a056ba59646e1d
/frameworks/Classes/LabelPool.cpp
1287bec27e9275c58ca2638ebc896db31b360ef8
[ "MIT" ]
permissive
Xrysnow/LuaSTG-x
f96472cd2efc8ec6b0757183f3e0823d1f4cc7ee
1afb74213f3e3464334a1e0a9fce4d1d5601ea52
refs/heads/master
2023-03-15T12:07:37.521091
2023-03-11T08:05:52
2023-03-11T08:05:52
178,587,001
84
17
MIT
2022-03-29T11:04:31
2019-03-30T16:58:55
C++
UTF-8
C++
false
false
803
cpp
LabelPool.cpp
#include "LabelPool.h" using namespace std; using namespace cocos2d; using namespace lstg; LabelPool::LabelPool() { } LabelPool::~LabelPool() { clear(); } Label* LabelPool::getWithResFont(ResFont* res, const std::string& str) { if (!res) return nullptr; const auto it = idle.find(res); if (it != idle.end()) ...
495714cb70d081f92bd980ddcb275523e1390d11
fe26a46f6328b85a70d634e7972d056d30d14d00
/Pz9Borodin2/Src/Borodin.test/Address.cpp
05edc9ddc3a387e5004bd88b0785624c0b2c216f
[]
no_license
Dvoranchik/MpFirstSem
da8606f4932eaeee9996fccf23bfcf12f66ce0f9
d9c475f08701c1e5be6d37ef55decd628b79ef10
refs/heads/master
2022-04-26T06:04:03.337736
2020-04-21T17:42:22
2020-04-21T17:42:22
257,668,905
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
5,129
cpp
Address.cpp
#include "stdafx.h" #include "Address.hpp" Address::Address() :_Name(new char[1]{ '\0' }), _Country(new char[1]{ '\0'}), _Town(new char[1]{ '\0' }), _Street(new char[1]{ '\0' }), _Address(new char[1]{ '\0' }), _Number(new char[1]{ '\0' }) { } Address::Address(const Address & ob) { size_t lenght = strlen(ob._...
0bfb35abb0c5ab08dd04356cefbaba902c183de3
15e4a6c785da8249ea1a438199d1d7300554ae2d
/movepiece.cpp
81c0d38fa81bc4be80c4f7521d0f44f1c63bb6db
[]
no_license
programmist1005/client
e602b69c3f7fe9fca41511b98fe3a53a776d3644
a3a0f8adcd2cef0426b1a5aa9db6de9754ff005d
refs/heads/master
2020-11-30T22:49:03.757273
2019-12-27T19:06:50
2019-12-27T19:06:50
230,501,522
0
0
null
null
null
null
UTF-8
C++
false
false
12,086
cpp
movepiece.cpp
#include "movepiece.h" //-------------------------------------------------------------------------------------------------------------------------------------------------- MovePiece::MovePiece(QObject *parent) : ChessBoard(parent) { } //----------------------------------------------------------------------------------...
5c3812f57de97bc9b8797f3b77ccfbbd76b7b5d6
5107d31ebc3e06c66ba18c0700e263fc4b11ae51
/BOJ_8958.cpp
fdcd1f5f1373dc33bab0013714a2bda121328028
[]
no_license
wjdgus112/Algorithm_Problem
f97adddb7093c94fd6e09f5c93270abf81422f6b
32dae5cd9527eaf413be13357d60701718f67712
refs/heads/master
2021-04-15T04:55:31.871805
2018-05-27T14:05:24
2018-05-27T14:05:24
126,583,163
0
0
null
null
null
null
UTF-8
C++
false
false
472
cpp
BOJ_8958.cpp
#include <iostream> #include <cstring> using namespace std; #define SIZE 80 int main() { int N,num=1; char str[SIZE]; cin >> N; int *score = new int[N] {0, }; for (int i = 0; i < N; i++) { cin >> str; for (int j = 0; j < strlen(str); j++) { if (str[j] == 'O') { score[i] += num++; } if (st...
b8c2ced1d0e6a93c88d13affa4583f33bc3ed210
785df77400157c058a934069298568e47950e40b
/TnbGeo/TnbLib/Geo/Distributor/Uniform/Geo_UniDistbIO.cxx
36dfe1b8dd9791d2f392c01cd2325b60ac28b8f6
[]
no_license
amir5200fx/Tonb
cb108de09bf59c5c7e139435e0be008a888d99d5
ed679923dc4b2e69b12ffe621fc5a6c8e3652465
refs/heads/master
2023-08-31T08:59:00.366903
2023-08-31T07:42:24
2023-08-31T07:42:24
230,028,961
9
3
null
2023-07-20T16:53:31
2019-12-25T02:29:32
C++
UTF-8
C++
false
false
80
cxx
Geo_UniDistbIO.cxx
#include <Geo_UniDistb.hxx> BOOST_CLASS_EXPORT_IMPLEMENT(tnbLib::Geo_UniDistb);
22ca62843e779d4b5724dc438846c833b2d021e5
6ee200c9dba87a5d622c2bd525b50680e92b8dab
/Walkyrie Dx9/Valkyrie/Moteur/ObjetDeCollision.cpp
798346e62f2e8dc8b8f1417b6ea0d17954234815
[]
no_license
Ishoa/bizon
4dbcbbe94d1b380f213115251e1caac5e3139f4d
d7820563ab6831d19e973a9ded259d9649e20e27
refs/heads/master
2016-09-05T11:44:00.831438
2010-03-10T23:14:22
2010-03-10T23:14:22
32,632,823
0
0
null
null
null
null
ISO-8859-1
C++
false
false
6,880
cpp
ObjetDeCollision.cpp
#include "ObjetDeCollision.h" CObjetDeCollision::CObjetDeCollision() { m_pPolygonList = NULL; m_pPolygonListLowDetail = NULL; } CObjetDeCollision::~CObjetDeCollision() { // On libère les ressources utilisées par la liste de polygones. if ( m_pPolygonList != NULL ) { delete m_pPolygonList; m_pPo...
eb31b114b0c04d345a94c23425b4de9401ebe204
f5fa4070cc7db5f1f5f021a3ba95126f64ad8687
/ctt/MainController.cpp
dd6d2ea80f6ec7ef175db096249dc95aacaf1260
[]
no_license
V02460/CTT
ed99bd368aca9bd39d06b2374fcf59a9d6b5f3e9
eceb10d43436b9a3b435c612c739b262f37ecf21
refs/heads/master
2021-01-25T00:11:20.680309
2014-10-01T18:29:31
2014-10-01T18:29:31
21,277,950
1
0
null
2014-06-30T08:44:35
2014-06-27T14:12:08
C++
UTF-8
C++
false
false
1,211
cpp
MainController.cpp
#include "MainController.h" namespace controller { using project::SaveFileType; using project::Project; using project::ProjectSaver; using project::XMLSaver; using project::XMLLoader; using operation::OperationList; MainController::MainController() : currentSavePath(/* TODO standart path here */), currentSaveFileTyp...
60a6ba96ca0178c03d5f840d34b7d5f1db926f3a
2c71663eeba6aec76a576ab126f4cfec7cd303df
/hw2/main.cpp
d2891996b3081adaccbdad5db01f8562a74c2e0f
[]
no_license
dysuby/Learn-CV
a82537a3ecc13d96f73f7c3a79aaa1cd0c5463e3
198f6d8b468fc6278007e3caf31c0d6afd834823
refs/heads/master
2023-06-08T00:52:17.606088
2019-01-09T16:46:43
2019-01-09T16:46:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
976
cpp
main.cpp
#include <iostream> #include "canny.hpp" void test() { int defaultArg, scale, th, tl; float sigma; cout << "use default arg ? 1 for yes, 0 for no" << endl; cin >> defaultArg; if (defaultArg) { Canny c1("./test_data/lena.bmp"); Canny c2("./test_data/bigben.bmp"); Canny c3("./...
e99cf6b688a662888f479b9be0f46e3185c66f2b
0e01b89e6293542d9b0349958c55967999bb4a2f
/src/vfactory.cpp
ee94c04a4be5eb2ef2cd48676dd534f79361adaa
[]
no_license
yangacer/Yaks
6eeee2e5fc32849dfe58567af12bcbfa6970df73
418ac290d5adb7b726d0454fb01d1df1353507cc
refs/heads/master
2021-01-01T19:25:49.216073
2011-06-10T11:25:56
2011-06-10T11:25:56
1,743,568
1
0
null
null
null
null
UTF-8
C++
false
false
1,400
cpp
vfactory.cpp
#include "yaks/vfactory.hpp" #include "yaks/strref.hpp" #include "yaks/record.hpp" #include "loki/Singleton.h" namespace Yaks { struct factory_ { template<class T> friend struct Loki::CreateUsingNew; typedef boost::unordered_map<std::string, Variant> Storage; template<typename T> void join(char const *...
6d0f5376cb0fa45fb27d72fd3bb0bc03c99a7e6d
d266d98b0801fb755cd8280fdc50354486cd3170
/3.4.1/pointer.cpp
a91080c04e1a2f5c66d10c5e53e351b4e6375a20
[]
no_license
stephennovis/C-For-Financial-Engineering
ad528fa3d4b72e8c24d0c574d540e324e4ec7e4a
9277bda2c39dcf576ac58216feaf96730a7ca09a
refs/heads/master
2020-04-10T01:33:50.544935
2018-12-06T22:18:55
2018-12-06T22:18:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,626
cpp
pointer.cpp
// // Created by Steve on 10/31/18. // #include "pointer.hpp" Point::Point() : x(0.00), y(0.00) { cout << "Point Constructed!" << endl; } Point::Point(double xval, double yval) : x(xval), y(yval) { cout << "Point Constructed!" << endl; } Point::Point(Point &p) : x(p.x), y(p.y) {cout << "Point Constructed"...
851a5cb1dd734d19315906b2190f13334ea425eb
73170e1db7d395cff5bcf19e10e00a27c30ed026
/algoritmos/BreadthFirstSearch/c/bfs_unittest.cc
05f6e73d9455ce8ab72fcca875b2663c624c887b
[]
no_license
joaojunior/Algoritmos_Cormen
7311e13ac687f700c412c2bfd839426bbcdce14a
4fc9c838bbbfb2739b6a42535c9f8bb716f6a462
refs/heads/master
2021-01-10T20:16:56.650488
2014-04-11T16:50:37
2014-04-11T16:50:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,056
cc
bfs_unittest.cc
#include "bfs.h" #include <gtest/gtest.h> TEST(BFSTest, Distance){ Graph graph; BFSResult *bfs_result; graph.numbers_nodes = 4; allocate_memory(&graph); insert_edge(&graph, 0, 1, 1); insert_edge(&graph, 0, 2, 1); insert_edge(&graph, 1, 2, 1); insert_edge(&graph, 2, 3, 1); bfs_result...
356a7ee2a9dd4f4d24f875d3a54fde6716a6b3e1
39c08ba07b0c62648b4e85e0c2a6f6921103583a
/game/diffBundle/client/diffBundleClient.cpp
6b5ac898e05496fc7caa75d5b6a2a045c02e3387
[]
no_license
jasonrohrer/mgTEST
69345ec5d076da68448ffbb079665b642675757e
cec1572ea21240441a68f51e6b2d359bf17607c0
refs/heads/master
2021-07-11T22:49:06.429176
2017-09-20T17:59:24
2017-09-20T17:59:24
106,840,541
2
1
null
null
null
null
UTF-8
C++
false
false
25,464
cpp
diffBundleClient.cpp
#include "diffBundleClient.h" #include "minorGems/game/game.h" #include "minorGems/io/file/File.h" #include "minorGems/formats/encodingUtils.h" #include "minorGems/crypto/hashes/sha1.h" #include "minorGems/util/log/AppLog.h" #include "minorGems/util/SimpleVector.h" #include "minorGems/util/random/JenkinsRandomSour...
7bd65481099917f05a9dbf5b4695b5207e2fbf1b
c9796a20cf56aa01ecbc2ff3985703b17bfb51fe
/leetcode/NumberofConnectedComponentsinanUndirectedGraph/a.cpp
dd67f3a46d3a9b5301584621d2f64a57c1022e4f
[]
no_license
iamslash/learntocode
a62329710d36b21f8025961c0ad9b333c10e973a
63faf361cd4eefe0f6f1e50c49ea22577a75ea74
refs/heads/master
2023-08-31T08:20:08.608771
2023-08-31T00:05:06
2023-08-31T00:05:06
52,074,001
7
2
null
null
null
null
UTF-8
C++
false
false
1,977
cpp
a.cpp
/* Copyright (C) 2019 by iamslash */ #include <cstdio> #include <vector> #include <unordered_map> #include <numeric> // // 36ms 18.55% 14.4MB 38.10% // // DFS // // O(N) O(N) // class Solution { // private: // std::vector<bool> m_seen; // std::unordered_map<int, std::vector<int>> m_G; // int m_n;...
1feb207fc742cb97fb40cd3c135ed4db84fffa64
fde0825a253281c9d4b3f1838429a58158f02c7f
/src/photograb.cpp
db10343f0d1f72db9c11bed2dec931593010e4fa
[]
no_license
noio/slow
044faefd7bd8e48161ce5e8a10f548e3ed6c4d6a
44fd1b9584d4e0a4b62e9430315596859ba6ee7f
refs/heads/master
2021-01-10T18:30:57.988547
2014-11-07T17:01:03
2014-11-07T17:01:03
20,778,233
1
0
null
null
null
null
UTF-8
C++
false
false
2,710
cpp
photograb.cpp
#include "photograb.h" void Photograb::setup(std::string path) { border_im.loadImage("assets/photograb_border.png"); refer_im.loadImage("assets/photograb_refer.png"); font.loadFont("assets/squadaone.ttf", grab_width / 4); save_path = path; lut.load("LUTs/X_Pro_II.cube"); } void Photograb::update(d...
9642fc08f536a3b665b8be37c30d9dd11b6734c9
31c6edcf731451983f86f6881922d5092f3e5633
/v0.9/innovApp/common/include/memory/memoryheap.h
b6c30ecf5385aab5a090d036eade2a48d77d15c3
[]
no_license
yunduanderizi/code808
f0e2e6f0f02b119c817b657e2cd8ff9dafc807b6
a5fe26d0e7e8748ed89d0c0c8dca53cb47c4efde
refs/heads/master
2021-01-21T02:28:12.286900
2015-09-11T06:31:37
2015-09-11T06:31:37
42,152,999
4
3
null
null
null
null
UTF-8
C++
false
false
2,112
h
memoryheap.h
/* Copyright 2014, INNOV China, All Rights reserved. */ #ifndef INCLUDE_GUARD_memory_memoryheap_h #define INCLUDE_GUARD_memory_memoryheap_h #include <platform_types.h> namespace innov { //-------------------------------------------------------------------------------- class CMemoryHeap { public: typ...
61bc278c3bb1fcb6cb45d51811675a69e0489caa
84c39a2c88962df83e859bd731f959d6f412209f
/include/freetype-gl++/freetype-gl/texture-font.cpp
a9934f0fbf7735c3927ab1cc00eb2fe4b29aae5d
[ "BSD-2-Clause" ]
permissive
PetrFlajsingr/TerrainGeneration
bddcdfcbc933ad6e7366bea44da9b8db0c852df1
ab644760f3bc9692bbb89670121575137e785fce
refs/heads/master
2020-08-10T02:27:05.450956
2020-01-11T16:18:26
2020-01-11T16:18:26
214,232,758
2
0
null
2019-12-17T21:24:50
2019-10-10T16:30:52
C++
UTF-8
C++
false
false
20,800
cpp
texture-font.cpp
/* =========================================================================== * Freetype GL - A C OpenGL Freetype engine * Platform: Any * WWW: http://code.google.com/p/freetype-gl/ * ---------------------------------------------------------------------------- * Copyright 2011,2012 Nicolas P. Rougier. ...
74625324c784ead1e297c462104ddcd35c6a4729
a6cf14725720b14071d0a86492f8761ad36db00e
/Anipong/GameEnd.h
52e81f13f0815b025d3be0fd301930bd651f0e7c
[]
no_license
diffth/Anipong
ae9ac8830c0ccc376cdccf490bee3d99a867a610
f91569f15105aa13497968b6785b0b9570705301
refs/heads/master
2021-01-20T01:33:54.659789
2017-04-25T07:11:30
2017-04-25T07:11:30
88,855,556
0
0
null
null
null
null
UHC
C++
false
false
488
h
GameEnd.h
#pragma once #include <string> #include <iostream> #include <Windows.h> #include "resource.h" #include "Bitmap.h" using namespace std; class GameEnd : public BitMap { private: int m_nId; //프레임 id int m_nX, m_nY; //좌표 int m_nWidth, m_nHeight; //가로/세로 unsigned int m_nStatus; //현재 상태 public: GameEnd(); ~...
a62b6a55835a048bda7cfc933df2580a2122aeda
b8adcabb72f6db3c4eeeb9f24ddc42bab4eeefca
/BOJ/c++/2252.cpp
8ba687c5b3e705c5c01f3494d18eb417dc826aad
[]
no_license
don2101/APS_problem
71ceccf413c3432321cda4e0543780faf0647ce7
c51d9980e67d59ec3c10500f92a4fa8ca4b4ae3d
refs/heads/master
2020-04-25T09:08:49.480350
2019-11-06T08:17:10
2019-11-06T08:17:10
172,667,731
0
0
null
null
null
null
UTF-8
C++
false
false
1,074
cpp
2252.cpp
#include <iostream> #include <vector> using namespace std; int m, n; int a, b; vector<int> node[32001]; int inDegree[32001]; int queue[32001]; bool visited[32001]; int main(void) { scanf("%d %d", &n, &m); for(int i = 0; i <=n; ++i) { visited[i] = false; inDegree[i] = 0; } for(int ...
b12846285e19bd089aa7c2b6fff98abf713ed1f8
cc60da43861b69dc469b10a84fed151497d9e670
/Utils/CommonTools.hh
b6fbe2b37e5d8c33c7f61d2249984d71dd5743d0
[]
no_license
sixie/CMSAna
7bfe9b7e9fd4bb9b03dab02418a1a366ec388b56
8d0953379b6b48e51ca16bb85fd36f293b21db66
refs/heads/master
2021-01-16T18:19:32.912653
2013-11-13T23:48:56
2013-11-13T23:48:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,431
hh
CommonTools.hh
#ifndef CMSANA_UTILS_COMMONTOOLS_HH #define CMSANA_UTILS_COMMONTOOLS_HH #include <TMath.h> namespace cmsana { Double_t deltaR(const Double_t eta1, const Double_t phi1, const Double_t eta2, const Double_t phi2); Double_t deltaPhi(const Double_t phi1, const Double_t phi2); Double_t Eta2Theta(Double_t eta); Dou...
faeb54ec6f86188b458bf96a7892283b4ec056ce
722b0eb10a9e52e6b19b5c706a1f36876aab1f3f
/CPP_05/ex03/Intern.cpp
51a2fb155807b996e7969d13ade3360898a9e3e3
[]
no_license
AndreaDuregon/CPP_Piscine
a3d214251dc54bcdf35efe22f6332bf629d71689
29935515e9bbc0b226b4a0e564de98767421eea3
refs/heads/main
2023-04-12T21:03:27.964324
2021-05-10T08:18:27
2021-05-10T08:18:27
359,835,293
0
0
null
null
null
null
UTF-8
C++
false
false
2,168
cpp
Intern.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Intern.cpp :+: :+: :+: ...
45cca30cc12efd37aa043ce0024c4ac23063a419
ea31e9770f43ba55dbd86043fdd15cfee2e16fba
/线性表/线性表/循环单链表.h
64ed13270aaf4c8457a5cf428d399371d307433d
[]
no_license
wurongshi/Data-Structure
ae6c98a5def3805b6d3c0510cdc67e0aa519f3af
82ece978e6c4233920d212dbc62ed05192b0d596
refs/heads/master
2021-10-24T19:05:03.500299
2019-03-28T01:10:02
2019-03-28T01:10:02
178,098,007
0
0
null
null
null
null
GB18030
C++
false
false
3,997
h
循环单链表.h
template<class T> struct CireLinkNode{ T data; CireLinkNode<T> *link; CireLinkNode<T>(CireLinkNode<T> *next=NULL):link(next){} CireLinkNode<T>(T d, CireLinkNode<T> *next=NULL):data(d),link(next){} }; template<class T> class CireList{ public: CireList( T &x){ first=new CireLinkNode<T>(x); first->link=first;} ...
9db42e1106713fc433b807a272a07afd1a652d53
7096c9bf9c9fdd41e984e8c0c2bf59ba8455fe4d
/GunDown/Bonusses.hh
4fe1f7d48aeae28d6c178df6c124fa9faad5e72e
[]
no_license
y-maltsev/Space-Fighter
50c9c66c50a4ea4e6a7e8c3167bcfc9c19c3c2d6
97d2da6733def44ee243ee7e4415332f9f9f8a5b
refs/heads/master
2020-09-26T06:06:03.936289
2016-09-11T10:48:59
2016-09-11T10:48:59
67,924,708
0
0
null
null
null
null
UTF-8
C++
false
false
5,645
hh
Bonusses.hh
void Bonus::create_bonus(double x_, double y_, int index) { if(index==4) index=2; // 3 primary weapon bonnusses to 1 secondary weapon bonus else index=1; // index 2 = secondary weapon, index 1 = primary weapon bonus if(Bonusl.size()<9){ Bonus* bonus = new Bonus; if(index==1) bonus->spri...
548800cfda52a2b1654142025be617034321719f
5a2a0e4a38807f98fd8edd138c189b0953db5956
/src/WindowHandler.cpp
ea2c895e10afad31e3d39274efa691a3d905497f
[]
no_license
Groverkss/NotAmongUs
4136ee498e4d345cb581252ad6b079955ca922db
b3da887ee958218dadfc211efeb6fddce0782aad
refs/heads/master
2023-03-29T00:48:16.128913
2021-04-02T11:57:28
2021-04-02T11:57:28
353,984,245
1
0
null
null
null
null
UTF-8
C++
false
false
1,270
cpp
WindowHandler.cpp
#include "WindowHandler.h" void WindowHandler::framebufferSizeCallback(GLFWwindow *window, int width, int height) { /* Keep window size square */ int minimumVar = std::min(width, height); glViewport(0, 0, minimumVar, mi...
a14f634ecc2fbe7872835f9e0ae3084f3f7c2e67
605861ece587a1caa61e14f201e7afca90dd88e7
/w5/Message.h
0dc89a24bd01f620ec14972619e27df67f0a09ed
[]
no_license
ddrutnam/oop345
131a0ba99b183434427e888b93c7efc2770bf5ad
c9904c0d50ddf68a624bc9c1d2224e67bf53b774
refs/heads/master
2020-08-18T23:06:03.803576
2019-10-09T17:53:44
2019-10-09T17:53:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
646
h
Message.h
#pragma once #include <string> #include <iostream> #include <fstream> using namespace std; namespace w5 { class Message { string name; string reply; string tweet; public: Message() {} Message(std::ifstream& in, char c); // constructor retrieves a record from the in file...
144e3397da497d2ce38c73851222429a72067a43
4fe0d1c3c54f434665302a5d0152e41596ce1304
/19 函数对象/19 函数对象/19 函数对象/04 算术仿函数.cpp
2d4917854fe2b171bb6c8ed3c060ee3854ba9181
[]
no_license
ZP-GITHUB/studyCpp
f10677c48f5c0cec3f963e2a563ffc14cc279768
6e33baf77dc372a33bc43a1db9c9071d29ea4cac
refs/heads/master
2023-03-25T12:28:41.225480
2021-03-27T08:25:38
2021-03-27T08:25:38
278,849,114
0
0
null
null
null
null
GB18030
C++
false
false
758
cpp
04 算术仿函数.cpp
#include<iostream> using namespace std; #include <functional> //- 实现四则运算 //- 其中negate是一元运算,其他都是二元运算 //-template<class T> T plus<T> //加法仿函数 //-template<class T> T minus<T> //减法仿函数 //-template<class T> T multiplies<T> //乘法仿函数 //-template<class T> T divides<T> //除法仿函数 //-template<cl...
6a324e3c50c808865fd1fb82e215012fe36fa3e7
88c60b659bc566aa14646268ddac9dc197426146
/src/engine/core.hpp
45fecc039aaea840f573c1544f6d4136d2ede972
[]
no_license
chrisc27/WyvernsNest
397957dcdd63d12fa6b9ebd0118941478fe27196
381a965031c12b92abcc547c857305b485e055b3
refs/heads/master
2020-04-02T19:38:34.089738
2018-10-25T21:19:12
2018-10-25T21:19:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,019
hpp
core.hpp
#pragma once // Includes of core classes #include "engine.hpp" #include "renderer.hpp" #include "text/textRenderer.hpp" #include "entity.hpp" #include "state.hpp" #include "sprite.hpp" // Wrappers around core engine functionalities namespace Core { inline bool init(const char * name, int window_width, int window_he...
857c2310953c7e2d2624a9bb72b51ecc9eab6bc5
fb2f8626bd035c272339bc8c41449a4467870543
/src/peer.cpp
cfa8b75eac53385f5c414ace1c92bc57881d96bd
[]
no_license
novice79/us
7d96c5fb12822e13e2fba8291915e01f77bbfa94
1ef7eb694fe54b1788e4c4f93bd9cf886fba6002
refs/heads/master
2020-04-02T13:39:12.853656
2018-10-25T08:11:19
2018-10-25T08:11:19
154,490,461
0
0
null
null
null
null
UTF-8
C++
false
false
227
cpp
peer.cpp
#include "peer.h" void Peer::send(boost::asio::mutable_buffer data) { psock_->async_send_to(data, endpoint, [this](boost::system::error_code /*ec*/, std::size_t /*bytes_sent*/) { //sended }); }
eaa60ddc093e362422883d93ae7a595abb74bb60
92122bcc00bcf7abf8d17b3025b74cce3b464a83
/directed_graph_test.h
8bb6128eea5f12f1daa6f842856037f236ac05a2
[]
no_license
wanren13/Leet_Practice
c99a2cf2ea2137b830cf4a430bd95e466b6c1404
a403d2b05f7781cb306d3254c0f80726d5661d17
refs/heads/master
2021-01-11T17:28:45.621320
2017-01-23T07:55:04
2017-01-23T07:55:04
79,782,143
0
0
null
null
null
null
UTF-8
C++
false
false
3,646
h
directed_graph_test.h
#pragma once #include "allhead.h" namespace directed_graph_test { class graph { public: void addVertex(int v) { adj[v] = vector<int>(); } void addEdge(int start, int end) { adj[start].emplace_back(end); } void DFS() { if (adj.empty()) return; int size = adj.size(); unordered_map<int, bool...
c61ceee9517a7d18dee0c2242321fa5ac465afaf
6fdcfb7833cd91d6a4bf242d7ffeadc2f2b2f905
/include/125ValidPalindrome.h
3b75b08482efcfad9291e6257c90b7c4ef3d0a49
[]
no_license
JP6907/LeetCode
283ccc064d9575f29dc26ea0907cf83d3a6afaca
45967333668020aded8dd014df14e28089643e04
refs/heads/master
2020-04-07T15:48:47.906204
2019-01-08T07:16:16
2019-01-08T07:16:16
158,501,999
0
0
null
null
null
null
UTF-8
C++
false
false
1,567
h
125ValidPalindrome.h
// // Created by zjp on 18-12-5. // #ifndef LEETCODE_125VALIDPALINDROME_H #define LEETCODE_125VALIDPALINDROME_H /*********************************** * Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. 只包含...
250281e11ba79666ff876486a89e393c3792fbbe
76e79dc6eec56e028577b1598a780a6b3a3a00a4
/1010/源.cpp
7df370092029181dc8f8ec1f271b58ca42b7855c
[]
no_license
ikesnowy/PAT-Exercise
76f9300653727013f04f57d0cf0464913c63ed79
28d98ac51112ad3aa0ed30a6969a3338ed45a4d6
refs/heads/master
2018-11-05T09:48:48.485354
2018-09-07T12:31:20
2018-09-07T12:31:20
117,809,781
0
0
null
null
null
null
UTF-8
C++
false
false
1,256
cpp
源.cpp
#include <iostream> #include <vector> #include <string> using namespace std; int main() { vector<string> usernames; vector<string> passwords; vector<int> modified; int total = 0; cin >> total; while (total--) { string username; string password; cin >> username >> password; usernames.push_back(username)...
340b3e42a94a985cdc5f0cac6ea19bd147e645ef
df5869afc3be0acf686755367628da4bbcfb467a
/Metody_implementacji_Algorytmow/LIS.cpp
d859319eb20919d25aaefcaee9e2a145c8d36dda
[ "MIT" ]
permissive
Nerd911/University-1
f71d15efd348fcbcd841714439ef7f0f78d776eb
06964ef31d721af85740df1dce3f966006ab9f78
refs/heads/master
2021-10-22T20:35:42.449311
2019-03-12T20:45:24
2019-03-12T20:45:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
751
cpp
LIS.cpp
#include <iostream> #include <cstdio> #include <vector> #include <string> std::string tab; void showVec(std::vector<size_t> & v) { for(size_t i=0; i<v.size(); i++) std::cout << (char)v[i]; std::cout << "\n"; } void insertFirstBigger(std::vector<size_t> & vec, size_t value) { for (size_t i=0; i < vec.size(...
7f17449d0a1bde4efd4afe00bf31db5514b0772f
0dac1f15c258b129360b500f43edbc7c0cb9efa2
/src/point.cpp
9cd0007a3f43f5c64d4b64696cdd6208a5db3453
[]
no_license
templepmet/procon27
c800df916666e5c556a2a9b3001a932b1ec6cbc1
53d61438e0831c87d9fc211d802250b94a8bff24
refs/heads/master
2020-03-22T14:21:45.383998
2018-07-08T14:23:42
2018-07-08T14:23:42
140,173,511
0
0
null
null
null
null
UTF-8
C++
false
false
2,465
cpp
point.cpp
#include "point.hpp" #include "defines.hpp" #include <cmath> #include <algorithm> using namespace std; Point::Point() { this->x = 0; this->y = 0; } Point::Point(double x, double y) { this->x = x; this->y = y; } Point Point::operator+(Point p) { return Point(x + p.x, y + p.y); } Point Point::ope...
99144a9174ce189a9dc0b81b2c398706d2009e64
7ee5265bd83df4018c27e5fb3082f3ed890a1335
/sarl3/sarl_point_test.cpp
09d579c6e09e3cd6e6740f3afd97af7560fec661
[]
no_license
richcole/Griff
878a8afd4585b2dc6e577502c6dece2e2d90a2d1
7c609b2c815171a92c9e248080fe3b6a1642e432
refs/heads/master
2016-09-11T02:17:17.001127
2010-02-06T21:29:36
2010-02-06T21:29:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
41
cpp
sarl_point_test.cpp
#include "sarl_point.h" int main() { };
50fc4725726a3f1e4e7347d404382651307defdd
b8fe8d25f2669bca6dbc37596682abbc799bba2b
/examples/simple_touch/simple_touch.ino
6337181504b7182e7bcf64059cf9f1214a17cc85
[ "MIT" ]
permissive
witnessmenow/FT6236
be3d9ed2cdac71ab578c3cc99d90f992cf9e355c
ff30cc6a3155c002a1e9620a7e020ad08496afe4
refs/heads/main
2022-12-30T23:14:14.921248
2020-10-25T00:26:44
2020-10-25T00:26:44
306,863,717
0
0
MIT
2020-10-24T10:57:16
2020-10-24T10:57:15
null
UTF-8
C++
false
false
860
ino
simple_touch.ino
/* Title: FT6236 Simple touch example. By: Dustin Watts Date: October 18th 2020 Description: This sketch checks if the screen is touched and if so, prints the coordinates to the serial output. */ #include <FT6236.h> FT6236 ts = FT6236(); void setup(void) { Serial.begin(9600); //begin(40, SDA, SCL) for c...
10b27e971304e0bac9cf9f790b324afd2b1b1809
6a1037243cf6a8dd5d6bad562adeae3d88ed674c
/AppliPDF/cataloguePDF/catalogueNWpdf/pdf.h
d9fce4bbd341a3acd72d3e0235f6878014103aaa
[]
no_license
kevcours/NewWorld
90012d05fc0b8bc17e2b2d586a960e55a1309321
7c4c81dbe8077c00f12009cb05531c0f2089ac95
refs/heads/master
2021-09-15T23:11:43.838055
2018-06-12T14:53:27
2018-06-12T14:53:27
110,095,834
0
1
null
null
null
null
UTF-8
C++
false
false
401
h
pdf.h
#ifndef PDF_H #define PDF_H #include<iostream> #include <QPdfWriter> #include <QTextDocument> using namespace std; class Pdf { private: QPdfWriter *monPdfWriter; QString nomDocument; QString codeHTML; QTextDocument monTextDocument; public: Pdf(QString docName); void ecrireTexte(QString texte)...
b87d530a5d73eda0c775a035affba08af8f3cbae
1e6892d80b2e20b21abc754e11f688554e68badb
/src/Platforms/Implementations/PaxProlin/TPaxProlinBuzzer.cpp
29f148096d5c7fd061926f5c5b825454c69eb1f2
[]
no_license
brick-itw/mgt
4cc201d82ea5282a592cec5b0de846fcdf5f3360
d67e4f972e5175b102c343b0183887bdb49d7f4b
refs/heads/master
2021-01-20T17:49:57.602779
2017-05-11T20:11:08
2017-05-11T20:11:08
90,892,537
2
0
null
null
null
null
UTF-8
C++
false
false
260
cpp
TPaxProlinBuzzer.cpp
#include "Platforms/Implementations/PaxProlin/TPaxProlinBuzzer.h" #include <osal.h> #include <xui.h> Error TPaxProlinBuzzer::BeepOK(){ OsBeep(1,50); return SUCCESS; } Error TPaxProlinBuzzer::BeepError(){ OsBeep(5,600); return SUCCESS; }
eb129c2c9e5565ad1e022cccb2dc7b906c9b450f
b05ab10960d18823b93dd0f37554e54113fff6ef
/src/grab_images.cc
f8dd427ffe229ecfcaabca3e9bcc56c7b130e06c
[]
no_license
wangfeiren/D435Camera
34ad506f478c71583c350670db4991aa24dd0851
ab85b54fcaf670269b7a313a82f12f075225b5e9
refs/heads/master
2020-07-03T04:33:32.831190
2019-08-11T15:51:52
2019-08-11T15:51:52
201,784,495
0
0
null
null
null
null
UTF-8
C++
false
false
3,635
cc
grab_images.cc
#include <iostream> #include <termios.h> #include <unistd.h> #include <fcntl.h> #include <ctime> #include <sys/stat.h> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <librealsense2/rs.hpp> #include "convert.hpp" using namespace std; char* Get...
ebadb18c672edef2d02fc3043aaa474b79ca0fdc
4ad61e95d947b8301e7ca456c17f597391106be2
/BinomialRecursion.cpp
52169abc3e42208508655eb081df823aedb161cf
[]
no_license
ayuayu7297/RecursionAndDynamicProgramming
1537c5887b6cb16ecaf8b50b0fcaf7d6ae5c8e34
e882987f804fbc52bc55301070382562121b8277
refs/heads/master
2020-08-28T09:54:48.516738
2019-02-28T15:50:58
2019-02-28T15:50:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
249
cpp
BinomialRecursion.cpp
#include<bits/stdc++.h> using namespace std; typedef long long int ll; int nck(int n,int k) { if(k==0 || k==n) return 1; return nck(n-1,k-1)+nck(n-1,k); } int main(){ int n,k; cin>>n>>k; cout<<nck(n,k); return 0; }
73db9f3041b407c968504799f6ff0143be1b49c6
7a36a0652fe0704b4b27f644653e7b0f7e72060f
/TianShan/DataOnDemand/Phase1/DODSTREAMER/filter/ZQBroadcastFilter/scqueue.h
7476e0b48afb534a2a7b2e0dabe7f30150eb2e8a
[]
no_license
darcyg/CXX
1ee13c1765f1987e293c15b9cbc51ae625ac3a2e
ef288ad0e1624ed0582839f2a5a0ef66073d415e
refs/heads/master
2020-04-06T04:27:11.940141
2016-12-29T03:49:56
2016-12-29T03:49:56
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
18,029
h
scqueue.h
// =========================================================================== // Copyright (c) 2004 by // ZQ Interactive, Inc., Shanghai, PRC., // All Rights Reserved. Unpublished rights reserved under the copyright // laws of the United States. // // The software contained on this media is proprietary to and embo...
56093d68e9afec01042980cc9cd5a985e2c44f46
940be481fde655a2979bd634e2c8473a3d836672
/EMAIndicator.h
8bf693d168d16e05f9684250bee0bec85c4d2590
[]
no_license
MartinCvetkovic/Stock-Market-Cpp
24be5e2c64fd2e6046909522533199d0469daae1
1ae2e00d0e0f5f0fd8b7c41546d8f6a566aea232
refs/heads/main
2023-08-15T09:43:54.207047
2021-10-17T13:51:20
2021-10-17T13:51:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
198
h
EMAIndicator.h
#ifndef _EMAINDICATOR_H_ #define _EMAINDICATOR_H_ #include "Indicator.h" class EMAIndicator : public Indicator { public: virtual void calculateIndicator(Stock stock); }; #endif
52b87fd99accbdeef98ca1d842cfdd97bc02841e
09872fbd74bdb4ed8e679008471a17a663c538ed
/2/1-PALAVRMG.cpp
88214b82a1236a69209c4f2fd89b4d0818328031
[]
no_license
LeandroNoman/Maratona
4f4a14e76d1ab72832d551b23184ac63e24ec5f5
1b5bc34de6a599be12612c99d80a69b2e442f818
refs/heads/master
2022-10-02T06:04:04.737071
2020-06-01T22:00:49
2020-06-01T22:00:49
268,641,361
0
0
null
null
null
null
UTF-8
C++
false
false
633
cpp
1-PALAVRMG.cpp
#include <iostream> #include <string> void verificaPalavraOrdenada(const std::string& palavra) { int letraAnterior = -1000; int letraAtual; for(std::string::const_iterator it = palavra.begin(); it != palavra.end(); it++) { letraAtual = std::tolower(*it); if(letraAtual <= letraAnterior) { std::cout << palav...
35ccd06b9a7aaa07a1f5fb8e3604d09170181fc7
4fd016cab4232ea501fabbc2190d7679c0666780
/code_concepts/04_adv_concept/12_shared_ptr.cpp
fa588482a2c1b3200fc6e0d19f02a769bbd7a821
[]
no_license
sunilrpandey/cpp
0646d2068980a321771231b654b6bb1297cc97c3
7fcc1f463724da3226ff2e8c43e03622d3b8d0f4
refs/heads/master
2023-07-06T21:11:01.941557
2023-07-05T18:23:16
2023-07-05T18:23:16
178,798,825
1
0
null
null
null
null
UTF-8
C++
false
false
3,702
cpp
12_shared_ptr.cpp
#include <iostream> #include <memory> #include <string> using namespace std; namespace ns_sharedptrs { // what to do and not to do with shared pointer // dont use raw pointer to initialize shared pointer // in below code rp will be deleted twice // int * rp = new int; // shared_ptr<int> outer_p(rp);{ // shared_p...
98751313f5f0270d9bcb070b6149518c9019bdc9
558a4c5fb8a2a7cf952f6fb46bcfe20d56e8e566
/include/config.hpp
384bf93446cb7fa0917b6bc2e7ddbb33cf6f9a80
[ "MIT" ]
permissive
neuroid/zwave-switch
5713354fb09ded1d42929bd4fb7d7febeb3cca6f
4e3913eba044413b1003bfd574e04f1700afdf96
refs/heads/master
2021-06-05T15:19:11.859799
2021-05-21T12:01:45
2021-05-21T12:01:45
143,631,438
0
0
null
null
null
null
UTF-8
C++
false
false
694
hpp
config.hpp
#ifndef ZWAVE_SWITCH_CONFIG_H #define ZWAVE_SWITCH_CONFIG_H #include "handler.hpp" namespace zwave_switch { class config : public handler { public: config(uint8_t node_id, uint8_t value_index, uint32_t value, const handler::callback& done); config(uint8_t node_id, uint8_t value_in...
0f87f6fbc0643c80bc09ad01f2ec02b58121f0da
5055fec053570b2e3d29f12ef01f74d6f0e0c1e4
/C++/camelcase-matching.cpp
7e4b79b0d567d52326e5367fd85f25ad83db2863
[]
no_license
kmather73/LeetCode
395f7e930a999253949cd1399d160cb808c5549f
a20d2632342a508686a26efe930ee68d6bc4a561
refs/heads/master
2021-04-15T09:09:33.809620
2020-03-15T22:32:23
2020-03-15T22:32:23
35,895,372
1
0
null
null
null
null
UTF-8
C++
false
false
1,184
cpp
camelcase-matching.cpp
using DP = vector<vector<bool>>; //unordered_map<int, unordered_map<int,int>>; class Solution { public: vector<bool> camelMatch(vector<string>& queries, string pattern) { vector<bool> ans; for(auto q : queries) { ans.push_back(q.size() >= pattern.size() && Match(q, p...
dbc23cfcd49ce3b4e70712d88823221137f08fdf
2e7495d457aab77410d0502657e849b84e1f4511
/ITP 470 Renderer/ITP 470 Renderer/FrankLunaCode/d3dUtil.h
1e3aef2a3da61a35c13f9f9fbac8dfe95ef83d8f
[]
no_license
laurencerwong/ITP-470-Deferred-Renderer
fa612750c926f42f35ab782b9d66f32aae97f2d5
5c0b86dc2775ccc47f1f2412478c7be3b2f7c131
refs/heads/master
2016-09-06T09:28:43.143525
2014-03-25T04:22:04
2014-03-25T04:22:04
16,010,734
0
0
null
null
null
null
UTF-8
C++
false
false
3,883
h
d3dUtil.h
//*************************************************************************************** // d3dUtil.h by Frank Luna (C) 2011 All Rights Reserved. //*************************************************************************************** #ifndef D3DUTIL_H #define D3DUTIL_H #if defined(DEBUG) || defined(_DEBUG) #define...
43f4d12616540449793de5ed46604b39a65f041a
8077515328bbf7cbb7374d86c049ae2de1bc41e5
/src/gui/gen/MogedFrames.h
d305129ac51556eb766c893e75a95ca069c8aef4
[]
no_license
1165048017/moged
f2fc9a9d319c7f01a731cc5955101f983bf6c7c1
bc924c5a5aad2ebc9c52b96ca79ae2ba00277c09
refs/heads/master
2020-06-15T19:21:36.312820
2014-11-11T16:20:02
2014-11-11T16:20:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,771
h
MogedFrames.h
/////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version Dec 21 2009) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #ifndef __MogedFrames__ #define _...
fa4ec6dd7b1f19dd9dbba40b2e82a6a4ce7fc21b
a29bc8c5d4815996099787f68c3b761fbfad3cb5
/Pumpkin/Pumpkin.ino
d4436ec299840e3af0b16b812e3f6978cf3fe9e7
[]
no_license
aoneill01/Pumpkin
1b89f22ededb67058e2cc83653a84958575f14c7
81131b56021417256070a1919b789e21f650a52e
refs/heads/master
2023-01-31T22:48:52.955945
2020-12-17T18:15:19
2020-12-17T18:15:19
299,764,376
0
0
null
null
null
null
UTF-8
C++
false
false
807
ino
Pumpkin.ino
#include <Servo.h> #define MIN_POS 60 #define MAX_POS 135 #define NUM_EYES 10 Servo eye[NUM_EYES]; void moveEye(int eyeId, byte position) { float factor = constrain(position, 0, 255) / 255.0; int servoPosition = (int)(factor * (MAX_POS - MIN_POS) + MIN_POS); eye[eyeId].write(servoPosition); // Serial.println(...
048541d56b92abee17645c8b9262953667828dd6
054d51d90fc6abb0a6153f5fcf18ecbdacd18407
/DataStruct/Code/Array-MaxValue.cc
f8cfa6ec811aa73c9577ad14eee87437d5bdb691
[]
no_license
Stephenhua/CPP
c40c4c69bffc37546ed00f16289e0b24293c59f9
bbaa84aabf17cf8e9c1eccaa73ba150c8ca20ec4
refs/heads/master
2020-12-30T03:42:44.502470
2020-09-18T14:56:38
2020-09-18T14:56:38
238,844,457
0
0
null
null
null
null
UTF-8
C++
false
false
670
cc
Array-MaxValue.cc
#include <iostream> #include <vector> using namespace std ; //题目:找出数组中的最大值和次大值; vector<int> FindValue( vector<int>& nums){ int Max = 0 ; int Mid = 0; for(int i =0 ;i<nums.size() ; i++){ if( nums[i] > Max){ Mid = Max ; Max = nums[i]; }else if( nums[i] >Mid){ ...
0d5ca17bdef844568140659960d5ca3454d41e5e
ed67bc205cf1c0590013d5abbc9b6ceccf7736b4
/NinjaVsZombie/POC - C++/source/ArmoredZombie.cpp
c39b34ea83763164c118fd06d40e57757f38925d
[ "MIT" ]
permissive
Cabrra/SPG-Project
0fe887fd95fcd4f325f34156eb1f244604419a96
7602de287b750c882f9fe9e2bc57e0492d36a76f
refs/heads/master
2020-03-26T19:40:48.773904
2018-10-25T04:21:38
2018-10-25T04:21:38
145,279,758
0
0
null
null
null
null
UTF-8
C++
false
false
102
cpp
ArmoredZombie.cpp
#include "ArmoredZombie.h" ArmoredZombie::ArmoredZombie() { } ArmoredZombie::~ArmoredZombie() { }
bb45172f1d4081c41c54dd58eff47674598086e1
8e1105a042207ff7b4fa42232c51286174515e7b
/inherit/base.cpp
bfdd37ec0fcb71a17fbf4710c4e795c2b0b7bb26
[]
no_license
andralbr/hello-world
4955ec01ec79cd7c5e646c3baa30b77e59d8629c
1b473f2d76f87541a7fcdf0c91a4d1813e90e880
refs/heads/master
2021-06-25T18:35:24.925512
2020-11-16T21:47:15
2020-11-16T21:47:15
164,329,187
0
0
null
2019-01-06T17:34:41
2019-01-06T17:21:55
null
UTF-8
C++
false
false
285
cpp
base.cpp
#include "base.h" sim::BaseSignal::BaseSignal(std::string& name) : _name( name ) { } std::string sim::BaseSignal::getName() { return _name; } sim::BaseBand::BaseBand( int index) : _bandIndex( index) { } int sim::BaseBand::getIndex() const { return _bandIndex; }
d2ec42c75f2d3c932cf5b35324aae9d170cd3e88
6acb7577385189daf7e2acea8bd2138fd08b7ea1
/src/Common/midi/RtMidiDriver.h
44bed8a48bc1395aaae58a39236781daa4fd9781
[]
no_license
fab672000/JamTaba
c016a731d10fde9bcc656e9e554b079fb7d8f114
4bdbe69cfd9bb5a7e5e5842421c9ddf7fba6dc90
refs/heads/master
2023-03-16T01:56:03.318215
2021-10-30T21:43:13
2021-10-31T15:13:48
91,271,952
1
0
null
2017-05-14T21:16:23
2017-05-14T21:16:23
null
UTF-8
C++
false
false
1,385
h
RtMidiDriver.h
#ifndef RTMIDIDRIVER_H #define RTMIDIDRIVER_H #include "MidiDriver.h" #include "RtMidi.h" namespace midi { class RtMidiDriver : public MidiDriver { public: explicit RtMidiDriver(const QList<bool> &inputDeviceStatuses, const QList<bool> &outputDeviceStatuses); ~RtMidiDriver(); void start(const QList<bool...
107b9f7683d8107c359d7702d3774a8d0e907b54
2a5262f38bfcabf6745951043ccefc59f5cbc842
/第5阶段-C++提高编程资料/提高编程能力资料/代码/第三阶段-录制代码/01 deque容器/01 deque容器/03 deque容器_大小操作.cpp
dbdc3325ce708a27da94f307c763ecaf16488ad9
[]
no_license
Aomandeyi/Cpp-0-1-Resource
7ff79db0b6e0b40e2ba497fb7b2a2dca734a52f2
4e8498205a85102d09b4bfe0606f9efa2cb13e55
refs/heads/master
2020-09-22T02:51:31.537667
2020-08-17T09:00:34
2020-08-17T09:00:34
225,021,963
3
0
null
2019-11-30T14:10:35
2019-11-30T14:10:34
null
GB18030
C++
false
false
848
cpp
03 deque容器_大小操作.cpp
//#include<iostream> //using namespace std; //#include <deque> // ////deque容器大小操作 //void printDeuqe(const deque<int>&d) //{ // for (deque<int>::const_iterator it = d.begin(); it != d.end(); it++) // { // cout << *it << " "; // } // cout << endl; //} // //void test01() //{ // deque<int>d1; // for (int ...
808466bc865fff12c3a0cc1f6791cc0867b61dd8
93e058780c3fd4d7f40dbcac263fb58f63b51b6f
/libmuscle/cpp/src/libmuscle/mcp/data_pack.hpp
5ac408d98290e00ce7ff09611bbaefd4b8cb5387
[ "Apache-2.0" ]
permissive
multiscale/muscle3
2b6ffc34240b92bb2ade3e28e4dde1b6d3f8e3e7
be8b21cfe97218d2a941b63d5762387716a9b3f8
refs/heads/develop
2023-07-12T06:12:03.510684
2023-07-06T20:11:41
2023-07-06T20:11:41
122,876,985
24
15
Apache-2.0
2023-09-01T19:47:16
2018-02-25T21:07:17
Fortran
UTF-8
C++
false
false
857
hpp
data_pack.hpp
#pragma once #include <libmuscle/data.hpp> #include <libmuscle/namespace.hpp> #include <memory> #include <msgpack.hpp> namespace libmuscle { namespace _MUSCLE_IMPL_NS { namespace mcp { /* Helper function that unpacks data. * * This has friend access to Data, so that it can create one from a msgpack * object_h...
ed1deeb0fc029b0d87e4ad45f88470d5f74ef4da
f31ad1e794d3cda93c32d80499b3482fab6f35b3
/zspace_DevPack/EbonGL/libebongl/sceneobjects/EG_Cylinder.cpp
098df8f3707b564559bd3e1f9db837327682e0de
[]
no_license
DaleHildebrandt/HoloMobile
0e38ef8cb93692b1c1719ac763cad006800b2046
fd395db1af37601721f080a3e37aa5fffd3144c9
refs/heads/master
2016-09-05T09:29:53.610759
2013-04-17T18:01:09
2013-04-17T18:01:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,157
cpp
EG_Cylinder.cpp
#include "EG_Cylinder.hpp" #include "../EG_Utils.hpp" #include "../utilities/EG_LogWriter.hpp" #include "../utilities/EG_String.hpp" using namespace EbonGL; using namespace std; EG_Cylinder::EG_Cylinder(void) : EG_Object() { base = 0.5; top = 0.5; height = 5; zOffset = height / -2.0; slices = 20; stacks = 20...
530fb7a79ad98d529ab862e05361e98cbabc3497
9d62bcbd0e6f4ce943d19e6ae13b4c2e70fed55d
/rover/ps4_hid_outputs.hpp
57b0e1b905517a6fd7930752cc05ea083563f0be
[]
no_license
stenniswood/bk_code
87ce26e032c1f1895c1c557c4e2ba4465a61b438
13535863decc23414854c08ebf8fc90c06a92fbd
refs/heads/master
2021-07-05T21:25:37.512024
2021-06-02T08:01:40
2021-06-02T08:01:40
25,167,429
0
0
null
null
null
null
UTF-8
C++
false
false
695
hpp
ps4_hid_outputs.hpp
#ifndef _PS4_HID_OUTPUTS_HPP_ #define _PS4_HID_OUTPUTS_HPP_ #include "joystick_raw.hpp" #define BUFFER_SIZE 1024 extern unsigned char oBuffer[BUFFER_SIZE]; void init_obuffer ( ); int form_header(); int form_A2_header ( ); int form_LED_color ( int& StartAdr, bool mFlash, byte mRed, byte mGreen, byte mBlue ); i...
96aaab98f492117d42456528e219a108a059a12c
9d252e7836143953a354068e214ab1992bd3d052
/Refactoring_C++/chapter7/demo7-2-1.cpp
7416e6b98d2e1f5fd6ccd022d50fea3288447942
[]
no_license
whaom/Refactoring_CPP
61d85e393b91c5755f8db7d6992980187583da7c
01a1862eff8914a7e5295fd5c580fbf11f65dfba
refs/heads/master
2023-03-24T00:45:08.876907
2021-03-22T06:28:07
2021-03-22T06:28:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
214
cpp
demo7-2-1.cpp
class Account { private: struct AccountType {}; AccountType _type; double _interestRate; public: double interestForAmount_days(double amount, int days) { return _interestRate * amount * days / 365; } };
dabe884df426d85d828cc356e621d150ac374270
fdbfbcf4d6a0ef6f3c1b600e7b8037eed0f03f9e
/multibody/plant/test/joint_locking_test.cc
550385919e5a3fc8a7a0472754b2a3a8513d0b65
[ "BSD-3-Clause" ]
permissive
RobotLocomotion/drake
4529c397f8424145623dd70665531b5e246749a0
3905758e8e99b0f2332461b1cb630907245e0572
refs/heads/master
2023-08-30T21:45:12.782437
2023-08-30T15:59:07
2023-08-30T15:59:07
16,256,144
2,904
1,270
NOASSERTION
2023-09-14T20:51:30
2014-01-26T16:11:05
C++
UTF-8
C++
false
false
25,646
cc
joint_locking_test.cc
#include <limits> #include <memory> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "drake/geometry/proximity_properties.h" #include "drake/math/rigid_transform.h" #include "drake/multibody/plant/multibody_plant.h" #include "drake/multibody/plant/multibody_plant_config_...
e5948a15e3b4e2a4df26e4b2460876ca0e7c711e
9abfcce74d9cfb3e2342526d7a3f16bca0f8a2b1
/ChamberDisplay.cpp
10dabbbb3cfc3928c723c956d5b02ec1099f68f2
[ "MIT" ]
permissive
InfiniteCode/LifeChamber
39e216fd4e7d646044a5a9f383bf2fec72a1287f
b017a4fc51acaabb034762b787cb21deb3cb1a8a
refs/heads/master
2021-01-01T16:31:17.656886
2015-01-08T02:46:38
2015-01-08T02:46:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,612
cpp
ChamberDisplay.cpp
//Copyright 2014, Alex Khilko. //This file is part of LifeChamber which is released under MIT. //See file LICENSE.TXT or go to www.alexkhilko.com for full license details. #include "Config.h" #include "ChamberDisplay.h" #include "ChamberDevices.h" #include "Preset.h" #include <stdio.h> #include <SPI.h> #include <Ada...
fcf3ca5d28b640c00e36f054f36fdd39c2be164f
0ef4f71c8ff2f233945ee4effdba893fed3b8fad
/misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/extlib/havok/Source/Common/Base/Math/Vector/Psp/Gcc/hkPspGccVector4.inl
579781a7a960872170aa648cc06917d40e511081
[]
no_license
sgzwiz/misc_microsoft_gamedev_source_code
1f482b2259f413241392832effcbc64c4c3d79ca
39c200a1642102b484736b51892033cc575b341a
refs/heads/master
2022-12-22T11:03:53.930024
2020-09-28T20:39:56
2020-09-28T20:39:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,846
inl
hkPspGccVector4.inl
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent.This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Level 2 and Level 3 source code contains trade secrets...
c6452a630c0e66a7b11228edd2ddac3433735928
f263ab1bdca0f59be314339552f11ba7f788f17d
/tests/libs/util/socket_helper.h
88585af83e60c6210ee474c212997ed7c8cd7e26
[ "MIT" ]
permissive
coursar/ebpf-for-windows
a0a0333834a5bd16723b8eecc974317b86b2af7a
67ef15780251e31324a8db40b5296ca47f3e192b
refs/heads/master
2023-05-25T13:28:54.640501
2023-05-16T16:07:05
2023-05-16T16:07:05
366,604,128
0
0
MIT
2023-05-20T21:07:38
2021-05-12T05:37:40
C
UTF-8
C++
false
false
6,059
h
socket_helper.h
// Copyright (c) Microsoft Corporation // SPDX-License-Identifier: MIT /** * @brief Utility class and functions for doing socket I/O. */ #pragma once #define _WINSOCK_DEPRECATED_NO_WARNINGS #include <winsock2.h> #include <ws2tcpip.h> #include <Mswsock.h> #include <mstcpip.h> #include <netiodef.h> #define CLIENT_M...
2b66b8292d541f51ae8043407a5d8b5a4090755a
a4c45cc2ce9fc90e0ba27f647136b3a69ce0bf09
/problems/permutations-ii/SOLUTION.cpp
4e4f83ad79e411abfc47d72b3cc766ebf4dcca59
[]
no_license
AhJo53589/leetcode-cn
fd8cb65a2d86f25d2e32553f6b32dbfc9cb7bae7
7acba71548c41e276003682833e04b8fab8bc8f8
refs/heads/master
2023-01-29T19:35:13.816866
2023-01-15T03:21:37
2023-01-15T03:21:37
182,630,154
268
47
null
null
null
null
UTF-8
C++
false
false
1,442
cpp
SOLUTION.cpp
////////////////////////////////////////////////////////////////////////// class Solution { public: vector<vector<int>> permuteUnique(vector<int>& nums) { sort(nums.begin(), nums.end()); perm = vector<int>(nums.size(), 0); vi = vector<bool>(nums.size(), false); dfs(nums, 0); ...
dc9e22af2a0c46302648dac82afd9ad3234468ef
fef58dcd0c1434724a0a0a82e4c84ae906200289
/usages/0x4C241E39B23DF959.cpp
d67d671a583a60f7908e942bb0cde9bbe1f1ec1a
[]
no_license
DottieDot/gta5-additional-nativedb-data
a8945d29a60c04dc202f180e947cbdb3e0842ace
aea92b8b66833f063f391cb86cbcf4d58e1d7da3
refs/heads/main
2023-06-14T08:09:24.230253
2021-07-11T20:43:48
2021-07-11T20:43:48
380,364,689
1
0
null
null
null
null
UTF-8
C++
false
false
622
cpp
0x4C241E39B23DF959.cpp
// abigail1.ysc @ L34438 void func_233(vector3 vParam0, float fParam1, int iParam2, int iParam3) { vector3 vVar0; var uVar1; if (ENTITY::DOES_ENTITY_EXIST(Global_102125.f_4)) { if (VEHICLE::IS_VEHICLE_DRIVEABLE(Global_102125.f_4, 0)) { if (func_281(24) != Global_102125.f_4) { if (...
07c018c3eba0a8792625ff335761776ef99894b8
abd7f10cf6e7d4090184814d17bddf40322f716c
/src/schema/feature_finder.cpp
edaa47a7b88fae8c9d3f1483e4d53a1bc874467a
[ "BSD-3-Clause" ]
permissive
heydavid525/hotbox
7111eb5539ccdbca75c445e8ce6b465191c726d8
11922d0fd23d0b532c0a3842c4c7723e29a166e2
refs/heads/master
2022-05-12T06:28:52.599419
2016-11-10T17:05:23
2016-11-10T17:05:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
213
cpp
feature_finder.cpp
#include "schema/feature_finder.hpp" namespace hotbox { TypedFeatureFinder::TypedFeatureFinder(const FeatureFinder& finder, const FeatureType& t) : FeatureFinder(finder), type(t) { } } // namespace hotbox
17ac991a5fb11653739706209f1f3c420e0bda47
e5621e438e30b73356d98c8b236f1b5f832c9a84
/Maze/Maze/engine/src/app.cpp
503ce5f6129d738825c4d5341e61d08eb53457a2
[]
no_license
OasisGallagher/GL
ce2f3786a2b590ecd1c20ce97efa632478ae26f3
1e7a5f589aac27c3e1ec0e1a6c0224e3c9e8cd37
refs/heads/master
2020-05-24T01:55:59.185403
2018-12-20T08:58:27
2018-12-20T08:58:27
84,811,954
0
1
null
null
null
null
UTF-8
C++
false
false
5,124
cpp
app.cpp
#include <GL/glew.h> #include <GL/glfw3.h> #include <glm/glm.hpp> #include "app.h" #include "defs.h" #include "input.h" #include "debug.h" #include "example.h" void APIENTRY DebugOutputCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam) { // Shad...
5d401e947410dfe2db6eb762e30d3bef0c78a0ef
5e0a393fc13ac4bc4c00aa7b7d7f62a78281c712
/std/bare/bare_memory.hpp
c2fff5b9a456f5505758595d59c347a90fe813c2
[ "BSD-3-Clause" ]
permissive
lodyagin/bare_cxx
6b313fab6c7a683f8f71be8e8016154996f92490
bac88c1693d9728a9de4a253808a3655cf1da081
refs/heads/master
2021-12-09T03:42:33.084893
2021-09-30T20:39:23
2021-09-30T20:39:23
14,473,500
10
1
null
null
null
null
UTF-8
C++
false
false
9,788
hpp
bare_memory.hpp
// -*-coding: mule-utf-8-unix; fill-column: 59 -*- /** * @file * * @author Sergei Lodyagin <serg@kogorta.dp.ua> * @copyright (C) 2013 Cohors LLC * */ #ifndef _BARE_MEMORY_HPP #define _BARE_MEMORY_HPP #include <cstddef> #include <bits/constexpr_math.h> namespace bare { //TODO check errors with -fstrict-overfl...
96c9076fac40b7355e8f447cf6301da406f68628
aadf31061666fc9fd95583710a34d01fa571b09f
/src/EmptyExpression.cpp
99033b2f882eee0572b8ae73daf39d651442ba91
[]
no_license
vladfridman/wisey
6198cf88387ea82175ea6e1734edb7f9f7cf20c6
9d0efcee32e05c7b8dc3dfd22293737324294fea
refs/heads/master
2022-04-14T08:00:42.743194
2020-03-12T14:22:45
2020-03-12T14:22:45
74,822,543
0
0
null
null
null
null
UTF-8
C++
false
false
1,000
cpp
EmptyExpression.cpp
// // EmptyExpression.cpp // Wisey // // Created by Vladimir Fridman on 12/24/16. // Copyright © 2016 Vladimir Fridman. All rights reserved. // #include <llvm/IR/Instructions.h> #include "EmptyExpression.hpp" #include "Log.hpp" #include "PrimitiveTypes.hpp" using namespace llvm; using namespace std; using namesp...
15947c77936be358a242d769ebf56b3f26329f03
b1385f35e79377fc5ff2cd4f62beda1851aeee49
/lib/Scripting/LuaI.cpp
5198d5cd417a1ddd3e24c7fcfdd4cbdfb0b15830
[]
no_license
polarlight1994/Shang
59d49eb4a5af8def0b2a0702f4baf31b5dcfe456
12b8f2f40f57921028401aefe03c3d2e14c3a8ed
refs/heads/master
2021-03-22T04:56:07.868252
2017-10-27T07:07:55
2017-10-27T07:07:55
32,386,121
2
0
null
null
null
null
UTF-8
C++
false
false
6,270
cpp
LuaI.cpp
//===----- Scripting.cpp - Scripting engine for verilog backend --*- C++ -*-===// // // The VAST HLS frameowrk // // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------...
d01585291967ea29dd870b0ca78ffbcac7952ea6
de265c732c06dfade18c6ee59e9ed3ae1089ca66
/hackathon/MK/NeuronStructNavigator/integratedDataTypes.h
aa0141f9d91beb8fcd412cbe7de18ae627c5791f
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
DILIU1/vaa3d_tools
e5d46bef4377065ebdead1795894152fafaabcaf
5ea1bb12d9e69297cf275d7fcdebb90995e01f87
refs/heads/master
2022-12-14T20:30:09.077549
2020-09-14T09:18:54
2020-09-14T09:18:54
295,387,743
2
0
NOASSERTION
2020-09-14T10:56:58
2020-09-14T10:56:57
null
UTF-8
C++
false
false
12,192
h
integratedDataTypes.h
//------------------------------------------------------------------------------ // Copyright (c) 2019 Hsienchi Kuo (Allen Institute) // All rights reserved. //------------------------------------------------------------------------------ /*******************************************************************************...
3b091b0c9efce815b52a53d7067ab2f1ade60973
24fca342a61432bae2625f07958f1a51f7aac55a
/백준/Gold/17825. 주사위 윷놀이/주사위 윷놀이.cc
1cc1faa4bf2fc44f757f3344c80670324185cffd
[]
no_license
hobbang2/Algorithm
062c875b7b81f6b41f9f6fe407cb6446f8dfd72c
a8f605ada760ad3a6657482eb5d51b2cc4ddaa93
refs/heads/master
2023-07-19T08:15:13.952729
2023-07-16T10:20:56
2023-07-16T10:20:56
168,103,052
0
0
null
null
null
null
UTF-8
C++
false
false
2,578
cc
주사위 윷놀이.cc
#include <iostream> // scoreTalbe[0][0] : 0 번째 index 칸의 점수 // scoreTalbe[0][1] : 0 번째 index 칸에서 한 칸 이동했을 때 index // scoreTalbe[0][5] : 0 번째 index 칸에서 다섯 칸 이동했을 때 index const int socreTable[33][6] = { {0, 1, 2, 3, 4, 5}, {2, 2, 3, 4, 5, 6}, {4, 3, 4, 5, 6, 7}, {6, 4, 5, 6, 7, 8}, {8, 5, 6, 7, 8, 9}, ...
456de38a3fdeab10a35a58d9c8f7310da72599a4
370881312084d8d2ce0f9c8dce147b81a3a9a923
/Game_Code/Code/CryEngine/CryAction/VehicleSystem/ScriptBind_Vehicle.h
f058e0676fffff9aa19ecba1d90446dddfb78897
[]
no_license
ShadowShell/QuestDrake
3030c396cd691be96819eec0f0f376eb8c64ac89
9be472a977882df97612efb9c18404a5d43e76f5
refs/heads/master
2016-09-05T20:23:14.165400
2015-03-06T14:17:22
2015-03-06T14:17:22
31,463,818
3
2
null
2015-02-28T18:26:22
2015-02-28T13:45:52
C++
UTF-8
C++
false
false
7,589
h
ScriptBind_Vehicle.h
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2004. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: Script Binding for the Vehicle System -----------------------------------------...
c16481671a5afb55ec79d8b4ed55859432d085e0
d17e9b65a8cba8ae5c4fc79b9f005625be0244c4
/vmcsolver.h
1980375e710f3725e1a1cb12748a7a255559e100
[]
no_license
japdhaes/cpproject1
bf6afd194859aad9870b3fe7fcb72889b2353523
857585ebc9932fd8bb1a52055e5eee5fa44e433d
refs/heads/master
2021-01-19T18:51:27.148700
2013-05-31T16:23:05
2013-05-31T16:23:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,803
h
vmcsolver.h
#ifndef VMCSOLVER_H #define VMCSOLVER_H #include "lib.h" #include <armadillo> #include <mpi.h> #include "orbital.h" #include "atomwavefunction.h" #include "dimoleculewavefunction.h" #include "datalogger.h" const double pi=3.1415926535; const int nrOfCyclesEachOutput=1e6; const int thermalizingSteps=1e5; using namesp...
b5c44f8f1384bd5d2fae80efa155708412b4f2f1
49cea9e88a48297ddc922757bce023f799b37d16
/binarysearchtree.cpp
c39ce018fa193125abc766e18864bddd723a6863
[]
no_license
msandeep03/C-Programming-Samples
a5087ace6a33c7f47c82beee66c9818ae7ac6319
a9433fae4e7617479274b0d1a4798e742926f5e7
refs/heads/master
2021-01-10T06:48:08.667946
2015-11-30T10:23:08
2015-11-30T10:23:08
47,117,995
0
0
null
null
null
null
UTF-8
C++
false
false
1,363
cpp
binarysearchtree.cpp
#include <stdio.h> #include <conio.h> using namespace std; struct bstnode{ int data; bstnode* left; bstnode* right; }; void display(bstnode* root){ while(root!=NULL){ printf("%d\n",root->data); bstnode* node = node-> } } bstnode* getnewnode(int data){ bstnode* newnode = new bst...
d9f19954f72004b1d64cbb587c89bf958a3833f7
7252ca0228705a1cfd47c6437fa45eec9b19565e
/kimug2145/05347/5347.cpp14.cpp
578da587fe0395227b22c8a1b28b1bb1be9dbee7
[]
no_license
seungjae-yu/Algorithm-Solving-BOJ
1acf12668dc803413af28f8c0dc61f923d6e2e17
e294d631b2808fdcfc80317bd2b0bccccc7fc065
refs/heads/main
2023-08-19T00:30:13.832180
2021-10-06T14:49:12
2021-10-06T14:49:12
414,241,010
0
0
null
null
null
null
UTF-8
C++
false
false
335
cpp
5347.cpp14.cpp
#include <iostream> #include <algorithm> using namespace std; int tc; long long a, b; long long gcd(long long a, long long b) { if (b == 0) return a; else return gcd(b, a%b); } int main() { scanf("%d", &tc); while (tc--) { scanf("%lld %lld", &a, &b); printf("%lld\n", a*b / gcd(max(a, b), min(...
99a9716000bcc8186c3517a16cfd2980a8d21b81
da5c4b8807490a409920e5c9c13d305a2220fd60
/Utility/Heap/PriorityQueue.h
bb7a37f319798c62f3313773edcaa60647635e7c
[]
no_license
angilyu/Utility
a573ebf9f8d569e2cf1dec3f220edca8898c8cc9
e6087845781796c111575b8ae7222d5ffe92e6c4
refs/heads/master
2016-09-06T18:24:57.869030
2012-06-24T03:52:20
2012-06-24T03:52:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
373
h
PriorityQueue.h
#ifndef UTILITY_PRIORITYQUEUE_H #define UTILITY_PRIORITYQUEUE_H #include <functional> typedef int ELEM; class PriorityQueue { int size; ELEM* array; int currentTail; std::less<int> comp; public: PriorityQueue(int queueSize); ~PriorityQueue() { delete []array; } bool Insert(ELEM e...
846fdb9660c4f6bf1baf7aae3210f608d6a4f61d
89194435d5b79c40bda9db43be45a3a51f4febf4
/server/Def/DynamicArray.cpp
6d55063fd0d50643f3fe4ba774e62c107657b0e1
[]
no_license
gitustc/d2imdev
b2c91175fb77ab889f2342c467f0e90998d2df78
70fe732e4d0270be54166b2f4c65b030f78b3b9c
refs/heads/master
2021-01-02T22:44:07.598712
2014-02-09T22:58:19
2014-02-09T22:58:19
12,382,615
2
6
null
null
null
null
UTF-8
C++
false
false
1,238
cpp
DynamicArray.cpp
#include "stdafx.h" CWHDynamicArray::CWHDynamicArray() { InitializeCriticalSection(&m_cs); m_nLastRemoveIndex = 0; m_nLastInsertIndex = 0; for (int i = 0; i < _MAX_USER_ARRAY; i++) m_Elements[i] = NULL; } CWHDynamicArray::~CWHDynamicArray() { DeleteCriticalSection(&m_cs); } int CWHDynamicA...
dd454c0c247099a31f5fb325bf05ac9fee452b40
03b5b626962b6c62fc3215154b44bbc663a44cf6
/src/operator/increment_suffix.cpp
0ad61e5220e5b2ab17326c14b6bb90ce015f5e0f
[]
no_license
haochenprophet/iwant
8b1f9df8ee428148549253ce1c5d821ece0a4b4c
1c9bd95280216ee8cd7892a10a7355f03d77d340
refs/heads/master
2023-06-09T11:10:27.232304
2023-05-31T02:41:18
2023-05-31T02:41:18
67,756,957
17
5
null
2018-08-11T16:37:37
2016-09-09T02:08:46
C++
UTF-8
C++
false
false
583
cpp
increment_suffix.cpp
#include "increment_suffix.h" int Cincrement_suffix::my_init(void *p) { this->name = "Cincrement_suffix"; this->alias = "increment_suffix"; this->symbol = "++"; this->op_priority = 2; this->combination = Combination::L2R; return 0; } Cincrement_suffix::Cincrement_suffix() { this->my_init(); } Cincrement_suffix...
246902d91de1667590dab11c474a65d09137af95
4352b5c9e6719d762e6a80e7a7799630d819bca3
/tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch/1.12/e
5562e35a55f41c10bc8adbaa0af41782b756b4e6
[]
no_license
dashqua/epicProject
d6214b57c545110d08ad053e68bc095f1d4dc725
54afca50a61c20c541ef43e3d96408ef72f0bcbc
refs/heads/master
2022-02-28T17:20:20.291864
2019-10-28T13:33:16
2019-10-28T13:33:16
184,294,390
1
0
null
null
null
null
UTF-8
C++
false
false
80,986
e
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*-------...
ecd8710f63c1fbd68c20555e331de129bdda3722
4e570c5c981e1b003aa3d71f4d6e1d21310abe11
/Arduino/123/123.ino
ada05966c7ccb78063af4fa98042d5c9631d8d2e
[]
no_license
RAGHUDINESH/DICTF
984f2144feb9d7960b08ea9c4948b6f3c7a0f195
d0473b3c886f4dd0c88ea8beabd12cd23b42b67d
refs/heads/master
2021-02-06T23:06:40.838693
2020-02-29T11:21:12
2020-02-29T11:21:12
243,955,219
0
0
null
null
null
null
UTF-8
C++
false
false
448
ino
123.ino
#include<Servo.h> int servo_pin=8; int output=1; int f=1; Servo mys; void setup() { // put your setup code here, to run once: mys.attach(servo_pin); Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: mys.write(output); delay(2); Serial.println(output); ...
f1994657a296742c2989c31a185745f4f34fa97b
13aa78bd0b8e5e39decafb16e1cd7f3efdb49078
/split_color/split_color.cpp
2318a59551150f2e1701fb23c28b4bc0d78f7634
[]
no_license
wsilverio/exp-CV
de11ba3745a6a00c8fa44c330fa2def30d6962d6
2e77dbd7aeceddae033fb83814631e8a022857e4
refs/heads/master
2016-09-10T23:49:50.551749
2015-02-12T19:25:10
2015-02-12T19:25:10
26,649,206
1
0
null
null
null
null
UTF-8
C++
false
false
1,876
cpp
split_color.cpp
#include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui_c.h> #include <iostream> using namespace cv; using namespace std; int main(void){ Mat img = imread("../images/Lenna.png"); imshow("img", img); imwrite("img.png", img); // cria as imagens para cada camada vector<Mat> B_vec, G_vec, R_v...
410887294a9fcb19fc4672179257afe4060c1502
1ef2463f3a8bb053cb421d10727393349abbde5a
/src/python_api.cpp
80e3872755a4932700c1a3b161af950b1fa47bd7
[]
no_license
zhangjinde/HQL
84e3485a9c77c74dda4c9d424490df2058585933
2da6e1ab6c7f7c447c0e435d52b69c022c4d532d
refs/heads/master
2021-05-28T18:18:25.509892
2014-11-29T08:45:21
2014-11-29T08:45:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,529
cpp
python_api.cpp
/* * python module HQL : * Haddit Query Language * * author : KDr2 * */ #include "ast.hpp" #include "ast_util.hpp" #include "cmd.hpp" #include "parser.hpp" #include "type_config.hpp" #include "trollers.hpp" #include "cmn_util.hpp" #include <iostream> #include <fstream> #undef _POSIX_C_SOURCE #undef _XOPEN_S...
bc9658d13fbd190a42f6e09c79225a95eb57bfb6
d6f8d41cd618771135986d536ebe6ef7d9e47705
/BinaryConverter.cpp
1b2845f34920128c05d85af671440859ec4db0f5
[]
no_license
BradyJ9/BinaryNumberConverter
b4b60796626cb3da7aa16a332a24c541401c0a03
109cd01e693a7f670cd76eb80ae63f15c15a0200
refs/heads/master
2021-01-06T20:36:31.526426
2017-08-07T02:56:11
2017-08-07T02:56:11
99,530,481
1
0
null
null
null
null
UTF-8
C++
false
false
1,496
cpp
BinaryConverter.cpp
// // BinaryConverter.cpp // Binary Number Converter // // Created by Brady Bess on 7/23/17. // Copyright © 2017 Brady Bess. All rights reserved. // #include "BinaryConverter.h" #include <stdio.h> #include <iostream> #include <cmath> #include <string> using namespace std; BinaryConverter::BinaryConverter() { ...
b55488ee578091cf32d76d6d2524b164adb65202
387b5546e843a13067593c68fd51b6e8793eac58
/p2p/p2p-simulation/coupled/SurferinWeb/Server.h
8411252f0366d9718f398de9f4c2dc687dbe1a00
[]
no_license
DDionne/P2PSimulation
fab122f841e4fade5558cff4f9fd35556a678a4a
2c5441770eb40869f39ee06332a30e09a45b8392
refs/heads/master
2021-01-10T20:26:13.257505
2012-08-22T19:53:27
2012-08-22T19:53:27
2,124,591
0
0
null
null
null
null
UTF-8
C++
false
false
2,710
h
Server.h
/******************************************************************* * * DESCRIPTION: Atomic Model : * Server : maintains a mock-up Server for the whole network and responds to queries * * AUTHOR: Alan * * *******************************************************************/ /*handle duplicate inclusion of this heade...
abec7363957d3258d26195bcbd2e465437adc19d
ec9c1e91881d81a8f3a3b718d60d34055826bbcf
/Sphere.cpp
cf8f668c9f396eed7898fe27635f50ed95d60f79
[]
no_license
MikeGrabski/Graphics_Pipeline_X11
a53bc02f68ac17fb7078bbda152cf775bf40c208
db53f3b3ea561a95e6b21782a5ea8ccd136eecf3
refs/heads/master
2021-01-20T09:49:06.025702
2017-05-04T17:38:38
2017-05-04T17:38:38
90,289,450
0
0
null
null
null
null
UTF-8
C++
false
false
2,182
cpp
Sphere.cpp
// // Created by mike on 5/2/17. // #include <cstdio> #include "Sphere.h" Sphere::Sphere(int n) { this->n = n; gen_triangles(); genOrthoProjection(-1.5, 1.5, -1.5, 1.5, 1, 20); project(); } void Sphere::output_vertex(int lat, int lon) { float v[3]; double angleLat, angleLon; angleLat =...
092980df207279ea1f49a0bb9e1b6dc57519d87e
167c6226bc77c5daaedab007dfdad4377f588ef4
/swift/logging/SwiftDiagnostics.h
ecec68793aa9816403ec0808425da80500e4ee88
[ "MIT" ]
permissive
github/codeql
1eebb449a34f774db9e881b52cb8f7a1b1a53612
d109637e2d7ab3b819812eb960c05cb31d9d2168
refs/heads/main
2023-08-20T11:32:39.162059
2023-08-18T14:33:32
2023-08-18T14:33:32
143,040,428
5,987
1,363
MIT
2023-09-14T19:36:50
2018-07-31T16:35:51
CodeQL
UTF-8
C++
false
false
3,811
h
SwiftDiagnostics.h
#pragma once #include <binlog/binlog.hpp> #include <string> #include <vector> #include <unordered_map> #include <optional> #include <cassert> #include <fstream> #include <filesystem> #include <sstream> #include <mutex> #include <fmt/format.h> #include <fmt/chrono.h> #include <nlohmann/json.hpp> #include "swift/loggin...
0dd645a89393cc40fd84ba2474536e3126027adf
0473611d7582e1c72ae3e957696facba4bfde3ba
/src/main-bst.cpp
55e1961daa398bcbb9602904f6b577104a240361
[]
no_license
WSU-SPRING-2021/cs2420-inclass
83f710cc85e23589b591f18bf90bbe722ee49c20
a3aa63387669bb9108d11bcc56e925a459b17a55
refs/heads/main
2023-04-15T01:38:45.129426
2021-04-19T16:58:00
2021-04-19T16:58:00
331,373,036
0
1
null
null
null
null
UTF-8
C++
false
false
1,034
cpp
main-bst.cpp
#include <iostream> #include "tree/bst.h" using namespace std; template<typename T> void showNode(const cs2420::Node<T>* node, int depth){ if(node){ for(int i = 0; i < depth; i++){ cout << " "; } cout << node->info << endl; } } int main(){ cs2420::BST<char> bst; cout << bst.size() << en...
8879232b533e5f1dbba24d59f7dcf570b7885ad0
09d1138225f295ec2e5f3e700b44acedcf73f383
/VTKExtensions/Points/vtkBoundedVolumeSource.cxx
5a4ba869f1b8f9c55dcd3197424bd64937797565
[ "BSD-3-Clause" ]
permissive
nagyist/ParaView
e86d1ed88a805aecb13f707684103e43d5f6b09f
6810d701c44b2097baace5ad2c05f81c6d0fd310
refs/heads/master
2023-09-04T07:34:57.251637
2023-09-03T00:34:36
2023-09-03T00:34:57
85,244,343
0
0
BSD-3-Clause
2023-09-11T15:57:25
2017-03-16T21:44:59
C++
UTF-8
C++
false
false
5,926
cxx
vtkBoundedVolumeSource.cxx
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc. // SPDX-License-Identifier: BSD-3-Clause #include "vtkBoundedVolumeSource.h" #include "vtkBoundingBox.h" #include "vtkImageData.h" #include "vtkInformation.h" #include "vtkInformationVector.h" #include "vtkNew.h" #include "vtkObjectFactory.h" #include "vtkStreaming...
3fdf938d7dd10726f8bb196c633f868606674dd7
435734be033887e4a27508271facd38dc4c162f5
/lab12/timerecorder/TimeRecorder.cpp
1c84227a76881e32a175d16c72f7eafb95841029
[]
no_license
WojciechSalapatek/JIMP2
ba1fd8312f8bc6a9b11fb7b403b16cd4381d9b87
f9fe351ca92a03273058d44354c03e5e8efe894a
refs/heads/master
2021-04-26T23:13:16.545026
2018-06-02T19:50:28
2018-06-02T19:50:28
123,950,277
0
0
null
null
null
null
UTF-8
C++
false
false
51
cpp
TimeRecorder.cpp
// // Created by wojciechsalapatek on 02.06.18. //
cc0273c493088af4f51dc938b8ea5c5a0704060e
07306d96ba61d744cb54293d75ed2e9a09228916
/External/Scaleform/Src/Render/Render_StateBag.h
db99b3534ad5466297bd35513e823ea1bb45def4
[]
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
8,905
h
Render_StateBag.h
/************************************************************************** PublicHeader: Render Filename : Render_StateBag.h Content : Declaration for render State and StateBag classes. States are attached to render tree nodes, where they are stored in a bag. Created :...
429664fc157b50ceaca9abf96eab5738d00e21f0
b56bac95f5af902a8fdcb6e612ee2f43f895ae3a
/Wireless OverSim-INETMANET/inetmanet-2.0/src/underTest/wimax/linklayer/Ieee80216/MACSublayer/Receiver/CommonPartSublayerReceiver.h
3e5da816063fdc3b28b0de591586317a7c5606d9
[]
no_license
shabirali-mnnit/WirelessOversim-INETMANET
380ea45fecaf56906ce2226b7638e97d6d1f00b0
1c6522495caa26d705bfe810f495c07f8b581a85
refs/heads/master
2021-07-30T10:55:25.490486
2021-07-20T08:14:35
2021-07-20T08:14:35
74,204,332
2
0
null
2016-11-22T05:47:22
2016-11-19T11:27:26
C++
UTF-8
C++
false
false
1,811
h
CommonPartSublayerReceiver.h
#ifndef COMMON_PART_SUBLAYER_H #define COMMON_PART_SUBLAYER_H #include <stdio.h> #include <string.h> #include <omnetpp.h> #include "MACAddress.h" #include "Ieee80216MacHeader_m.h" #include "global_enums.h" #include <map> using namespace std; /** * Point-to-point interface module. While one frame is transmitted, * ...
cb78a4c73079e011a90249352c576a965a55663e
99bc603bdea0260135eb9990496242e80f3977d9
/trunk/new_l4/l432_so/file___.cpp
a1181d12ba19fcf60a7adb8f29b28d6644b7bfb5
[]
no_license
BGCX261/zhscript-svn-to-git
a228ad9cbc725fe9d6a7fff495ef66d80dcb1986
b24115443b0988a4dab342a3b104f5f2442c8ef5
refs/heads/master
2021-01-19T06:53:22.794573
2015-08-25T15:50:58
2015-08-25T15:50:58
41,600,295
0
0
null
null
null
null
UTF-8
C++
false
false
1,732
cpp
file___.cpp
/* * file___.cpp * * Created on: 2009-12-12 * Author: zzzzzzzzzzz */ #include "file___.h" #include<fstream> #include<algorithm> #include<iostream> #include "path.h" #include "errinfo.h" file___ file_; file___::file___() { } file___::~file___() { } static void add__(const string& path,list<string>* ls){ ...
9dfcc892f7c472e762dc3c431c15eb149f3e9819
75a0062c3972055a46f091545fd9da53fc042d1b
/cono.cc
d1fb49329df8cedb89ab11e5294bb0a005432dc9
[]
no_license
laguilarg99/IG
11aea06a6dc936330738cf5c5a8b9e270ee889ba
100b8cc086cde1a901c5d71699c392cd460e49d0
refs/heads/master
2022-03-30T06:16:44.777730
2020-01-22T11:41:21
2020-01-22T11:41:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
962
cc
cono.cc
#include "cono.h" /*****************************************************************************//** * * * *****************************************************************************/ cono::cono(float Size) { int partes = 30; vector<_vertex3f> perfil; //ejey = 0 perfil.resize(3); perfil[0] = _...
0f59db8b0826ace847f12b278d91b3cde12a8529
7e7f6a0ece31f3ae1190f94c131badb5b7fd358c
/src/main.cpp
7fbd22e71073413042a68a62cdeb3892399a8355
[ "MIT" ]
permissive
mikec-w/Udacity-CarND-Path-Panning
cdad62d84a5a3c78fb1061b976cda78bcd0706dd
47a63cf72c336541ba5fd279d1f43db263603170
refs/heads/master
2022-07-16T02:55:22.434933
2020-05-18T21:53:05
2020-05-18T21:53:05
263,910,060
0
0
null
null
null
null
UTF-8
C++
false
false
15,424
cpp
main.cpp
#include <uWS/uWS.h> #include <fstream> #include <iostream> #include <string> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "helpers.h" #include "json.hpp" #include "spline.h" #include "SensorFusionHelper.h" // for convenience using nlohmann::json; using std::st...
e9def1fe241676415b06cc81eb80b04318cb0708
ca867ad4d376d60905181d1edfcc55221f9fc7e0
/BondFileRow.cpp
585fb8aea5882c17fce6294a35ccc79526f295b6
[]
no_license
BRutan/AdvancedCppFinal
7d3fa697565b0dbdc1047b739da126ec81996059
801c156680dacba99588c6cac71b3be287154457
refs/heads/master
2021-05-18T07:41:10.346945
2020-04-28T07:30:28
2020-04-28T07:30:28
251,170,725
1
2
null
null
null
null
UTF-8
C++
false
false
1,145
cpp
BondFileRow.cpp
#include "BondFileRow.hpp" // Constructors/Destructor: BondFileRow::BondFileRow(const std::string& row) { this->ParseRow(row); } BondFileRow::BondFileRow(const BondFileRow &row) : _Tenor(row._Tenor), _Yield(row._Yield) { } BondFileRow::~BondFileRow() { } // Accessors: double BondFileRow::Coupon() const { return ...
fcbd0985e0a9619b1ca7b6375b7bb22244dd18ce
e7235cd7705c80e3b17f4c794faafc54e92d9f20
/planner/popf/globals.cpp
bed94eefae17f415529d74b39e67398ea4cfe99e
[]
no_license
Emresav/popcorn
b576c6319956a7d77ef0511dd65ed04aa579c152
99ff76c0997be393b7dda0e7321c2684954e3aef
refs/heads/master
2020-03-29T19:15:13.828041
2018-10-05T10:44:26
2018-10-05T10:44:26
150,254,313
1
0
null
null
null
null
UTF-8
C++
false
false
129
cpp
globals.cpp
version https://git-lfs.github.com/spec/v1 oid sha256:68c94e84af9c2408b0cbabbed2f804b86a06bc9fe7f189ead85b7799dadf71d3 size 5407
587471adf47cd284e794bfd00a05873977e49101
2166cc04d42b7dd74917d03aa8e92f9bfa6a0b48
/Pacman/PacmanGame/PacmanGame/PacmanGame.cpp
7bbcbbdad9f451d9ffab9fc842d79c288f026e1f
[]
no_license
Lena19/PacmanGame
e6afc1236f8bab21b31bcd304144e997addc9e13
4b97f8ee4428c5d379240f590600f352d1a8e380
refs/heads/master
2016-08-12T18:33:43.911567
2015-10-26T19:02:22
2015-10-26T19:02:22
44,978,086
0
0
null
null
null
null
UTF-8
C++
false
false
424
cpp
PacmanGame.cpp
// PacmanGame.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "Coordinate.h" #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { Coordinate a(5, -3), b(0, 0); cout << a.GetX() << endl; Coordinate c = a + b; cout << c.GetY() << endl; a += b;...
28a169850122db3b822bf92497a80f8bee4153ed
17e35607ffd1c54462cd38f5e9d524acdae9ecdd
/code/common/DBSafeSet.cpp
126ac372c525cec6a0438d177ff2f2bb93dca2ed
[]
no_license
path130/ZJ15CCRZ
4295923429aa9e2af68b230883e2145383c28192
8ae743ec998157800ee3069d11839f2d8031215e
refs/heads/master
2020-05-24T06:30:19.907978
2019-05-16T07:40:29
2019-05-16T07:40:29
187,138,881
1
0
null
null
null
null
GB18030
C++
false
false
6,097
cpp
DBSafeSet.cpp
#include "roomlib.h" #define SAFESETFILE0 "SafeSet0.ext" #define SAFESETFILE1 "SafeSet1.ext" #define SAFESETENDID 0x53414653 #define DEFAULT_SETDELAY 60 #define DEFAULT_ALARMDELAY 60 #define DEFAULT_ALARMDURING 300000 static SafeSet *g_pSafeSet = NULL; static StaticLock g_safeSetCs; void InitDefaultSafeSet(v...
d00713da098ba0065012bcb36f273cd9e2484f5a
aa18a176bfdf9d28c0117b18eb4026ba42f29823
/tests/unicode_tests.cpp
7bcf7458c5cbeb8125c7041ac2dc779c467051cc
[ "MIT" ]
permissive
duncanhorn/jsonparse
32249696468ac79311f63e1f66edecf1abc83a72
28127a176e88b244ae246a0930aecdb65c9fec37
refs/heads/master
2022-12-20T22:41:03.030234
2022-11-29T10:17:34
2022-11-29T10:17:34
200,359,621
0
0
null
null
null
null
UTF-8
C++
false
false
3,309
cpp
unicode_tests.cpp
#include <json_lexer.h> #include "test_guard.h" static int utf8_read_valid_test() { test_guard guard{ "utf8_read_valid_test" }; auto do_test = [](auto& str, char32_t expect) { auto begin = str; auto end = begin + std::size(str) - 1; // -1 for null auto [ch, ptr] = json::utf8_read(beg...
c779eefdff487bebbf5d85f6472f4daa8a06cf32
e16e2f15e0546735f5b1e31e4ead1dfd6aeadc43
/nes/mapper/unif002.cpp
021e676417fc07b549bbacc2220401e3023ca695
[]
no_license
PSP-Archive/Unofficial-NesterJ
242746ccb24a71f808649841232472da80f5b4eb
88bcae5695e1c1002b8f4a78d4c10002499afd26
refs/heads/main
2023-05-08T13:03:33.162335
2021-06-08T22:05:43
2021-06-08T22:05:43
375,156,906
2
0
null
null
null
null
UTF-8
C++
false
false
1,104
cpp
unif002.cpp
#ifdef _NES_MAPPER_CPP_ // UNIF Mario void NES_UNIFmapper2_Init() { g_NESmapper.Reset = NES_UNIFmapper2_Reset; g_NESmapper.MemoryWrite = NES_UNIFmapper2_MemoryWrite; g_NESmapper.MemoryWriteLow = NES_UNIFmapper2_MemoryWriteLow; g_NESmapper.MemoryReadLow = NES_UNIFmapper2_MemoryReadLow; } void NES_UNIFmapper2_Res...
caf5df92f645051d139429651d483442217febae
60805f5904764782c5e16f6bf49266ec4acc2af1
/lib_eplayer/src/main/cpp/mediaplayer/source/render/filter/adjust/header/GLImageAdjustFilter.h
bf2ac663e7b05a75138b29bb7607dfdde5afb94b
[]
no_license
gaudiwen/EPlayer
57fb606571998178035c183a7cdfec0dbc92cbea
f4b0556f3dc9f1c77fb293c7a2274c02278c0652
refs/heads/master
2023-03-16T00:12:41.796886
2020-05-23T04:19:42
2020-05-23T04:19:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
265
h
GLImageAdjustFilter.h
#ifndef GLIMAGEADJUSTFILTER_H #define GLIMAGEADJUSTFILTER_H #include <GLGroupFilter.h> class GLImageAdjustFilter : public GLGroupFilter { public: GLImageAdjustFilter(); void setAdjustIntensity(const float *adjust); }; #endif //GLIMAGEADJUSTFILTER_H
fb54f6bbde9cddb170e20c6dab740c6760dfc407
1a6ad0c012842c07034cacd775b096254236341a
/ui/graphics.cc
8a771342d122b1f78a05d4c6eb844989477adc6e
[]
no_license
trevoryao/vm
173a5bb8812a3c2a3ffe46c3478a59616050c234
7e23713a5050705ebe3fca28c16b49eed2b75441
refs/heads/master
2023-02-04T20:47:40.145252
2020-12-22T04:35:45
2020-12-22T04:35:45
312,856,097
7
0
null
null
null
null
UTF-8
C++
false
false
1,535
cc
graphics.cc
#include "graphics.h" #include "colours.h" #include <ncurses.h> namespace ui { Graphics::Graphics() { initscr(); raw(); noecho(); keypad(stdscr, TRUE); nodelay(stdscr, TRUE); ESCDELAY = 250; mousemask(ALL_MOUSE_EVENTS, NULL); start_color(); use_default_colors(); init_pair(DEFA...