hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
693aeabc53dcfc994d0188e2eb63a1f5a1f21dab
707
cc
C++
tools/asm.cc
nlewycky/x64asm
66dcdef5dba596cb0a51edde1910194d079e704c
[ "Apache-2.0" ]
453
2015-04-24T13:57:43.000Z
2022-03-16T16:38:53.000Z
tools/asm.cc
nlewycky/x64asm
66dcdef5dba596cb0a51edde1910194d079e704c
[ "Apache-2.0" ]
71
2015-04-15T20:52:13.000Z
2018-07-29T18:08:22.000Z
tools/asm.cc
nlewycky/x64asm
66dcdef5dba596cb0a51edde1910194d079e704c
[ "Apache-2.0" ]
67
2015-05-07T06:44:47.000Z
2022-02-25T03:46:24.000Z
#include <iostream> #include <string> #include "include/x64asm.h" using namespace std; using namespace x64asm; using namespace cpputil; /** A simple test program. Reads att syntax and prints human readable hex. */ int main(int argc, char** argv) { Code c; cin >> c; if(failed(cin)) { cerr << endl << "Parse...
21.424242
99
0.623762
nlewycky
69487bfe15f2bd11008fa77ab7d09fc840276e09
616
cpp
C++
5_Classes_Objects/5_7_Using_this.cpp
YinHk-Forks/CPP-Notes
7dd1895d44cd3773e5f2603cbc3b02d174285b05
[ "MIT" ]
4
2020-12-30T15:16:39.000Z
2021-11-07T17:17:02.000Z
5_Classes_Objects/5_7_Using_this.cpp
YinHk-Forks/CPP-Notes
7dd1895d44cd3773e5f2603cbc3b02d174285b05
[ "MIT" ]
null
null
null
5_Classes_Objects/5_7_Using_this.cpp
YinHk-Forks/CPP-Notes
7dd1895d44cd3773e5f2603cbc3b02d174285b05
[ "MIT" ]
3
2021-04-03T08:00:36.000Z
2022-01-01T06:19:58.000Z
// // CPP-Notes // // Created by Akshay Raj Gollahalli on 23/05/16. // Copyright © 2016 Akshay Raj Gollahalli. All rights reserved. // #include <cstdio> class Some_class { int _s = 0; public: void setter(int i) {_s = i;} int getter(); }; int Some_class::getter() { printf("%p\n", this); // po...
17.111111
64
0.573052
YinHk-Forks
694f982089cc73d568a5877fdc50792cfdcb9515
1,063
cpp
C++
math/gauss_jordan_elimination.cpp
KSkun/OI-Templates
a193da03a531700858fe45d455a946074bda5007
[ "WTFPL" ]
12
2018-03-30T08:44:07.000Z
2021-09-03T07:43:56.000Z
math/gauss_jordan_elimination.cpp
KSkun/OI-Templates
a193da03a531700858fe45d455a946074bda5007
[ "WTFPL" ]
null
null
null
math/gauss_jordan_elimination.cpp
KSkun/OI-Templates
a193da03a531700858fe45d455a946074bda5007
[ "WTFPL" ]
1
2018-08-09T01:39:30.000Z
2018-08-09T01:39:30.000Z
// Code by KSkun, 2018/3 #include <cstdio> #include <cmath> #include <algorithm> const int MAXN = 105; const double EPS = 1e-10; int n; double mat[MAXN][MAXN]; /* * Gauss-Jordan Elimination. */ inline bool gauss() { for(int i = 1; i <= n; i++) { int r = i; for(int j = i + 1; j <= n; j++) { if(std::fabs(m...
18.982143
67
0.469426
KSkun
694fe8e3d950363ddea27ecc4790bde9216e9409
4,490
cpp
C++
src/util/string_set.cpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
3
2018-10-24T22:15:17.000Z
2019-09-21T22:56:05.000Z
src/util/string_set.cpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
null
null
null
src/util/string_set.cpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
1
2019-10-16T06:13:28.000Z
2019-10-16T06:13:28.000Z
/******************************************************************************* * string_sorting/util/string_set.cpp * * Copyright (C) 2018 Florian Kurpicz <florian.kurpicz@tu-dortmund.de> * * All rights reserved. Published under the BSD-2 license in the LICENSE file. ********************************************...
34.274809
80
0.607572
bingmann
695d2429c239313e0a659752b1e56fc266b7c4e5
3,615
hpp
C++
include/battery.hpp
findNextStep/next_dwm_status
cef24ec51c2a856bb4c7b113a7f2a791b85c432f
[ "MIT" ]
null
null
null
include/battery.hpp
findNextStep/next_dwm_status
cef24ec51c2a856bb4c7b113a7f2a791b85c432f
[ "MIT" ]
null
null
null
include/battery.hpp
findNextStep/next_dwm_status
cef24ec51c2a856bb4c7b113a7f2a791b85c432f
[ "MIT" ]
null
null
null
#pragma once #include <barPerSeconds.hpp> #include <fstream> #include <vector> #include <sstream> namespace nextDwmStatus { const std::string battery_file = "/sys/class/power_supply/"; const std::string power = "/current_now"; const std::string stat = "/status"; const std::string full = "/charge_full"; const std::st...
36.15
165
0.506224
findNextStep
695d57e61440836679c80df7ae93a777714650fc
4,225
cpp
C++
source/FullView3dRenderer.cpp
xzrunner/wmv
dfa38476e6f8ca67ee1ba4486e5bd610b9f45eee
[ "MIT" ]
null
null
null
source/FullView3dRenderer.cpp
xzrunner/wmv
dfa38476e6f8ca67ee1ba4486e5bd610b9f45eee
[ "MIT" ]
null
null
null
source/FullView3dRenderer.cpp
xzrunner/wmv
dfa38476e6f8ca67ee1ba4486e5bd610b9f45eee
[ "MIT" ]
null
null
null
#include "terrainlab/FullView3dRenderer.h" #include <SM_Calc.h> #include <unirender/Device.h> #include <unirender/ShaderProgram.h> #include <unirender/DrawState.h> #include <unirender/Context.h> #include <shadertrans/ShaderTrans.h> #include <renderpipeline/UniformNames.h> #include <painting0/ModelMatUpdater.h> #includ...
25.920245
120
0.622722
xzrunner
695d8067491218d4501ece1e70ff73b4d287fea0
2,372
cpp
C++
spoj.3110.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
spoj.3110.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
spoj.3110.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
/* * spoj.3110.cpp * Copyright (C) 2021 Woshiluo Luo <woshiluo.luo@outlook.com> * * 「Two roads diverged in a wood,and I— * I took the one less traveled by, * And that has made all the difference.」 * * Distributed under terms of the GNU AGPLv3+ license. */ #include <cstdio> #include <cstdlib> #include <cstring...
18.825397
81
0.483558
woshiluo
69682c17cdab970b875faaae09fb844bed849ec8
3,377
cpp
C++
OverEngine/src/OverEngine/Physics/Collider2D.cpp
larrymason01/OverEngine
4e44fe8385cc1780f2189ee5135f70b1e69104fd
[ "MIT" ]
159
2020-03-16T14:46:46.000Z
2022-03-31T23:38:14.000Z
OverEngine/src/OverEngine/Physics/Collider2D.cpp
larrymason01/OverEngine
4e44fe8385cc1780f2189ee5135f70b1e69104fd
[ "MIT" ]
5
2020-11-22T14:40:20.000Z
2022-01-16T03:45:54.000Z
OverEngine/src/OverEngine/Physics/Collider2D.cpp
larrymason01/OverEngine
4e44fe8385cc1780f2189ee5135f70b1e69104fd
[ "MIT" ]
17
2020-06-01T05:58:32.000Z
2022-02-10T17:28:36.000Z
#include "pcheader.h" #include "Collider2D.h" #include "RigidBody2D.h" #include "OverEngine/Scene/TransformComponent.h" #include <box2d/b2_polygon_shape.h> #include <box2d/b2_circle_shape.h> namespace OverEngine { Ref<BoxCollisionShape2D> BoxCollisionShape2D::Create(const Vector2& size, const Vector2& offset, float...
28.863248
133
0.73438
larrymason01
696a61fbdd22f698b70d7eabccf9db757f3d95a7
8,200
cxx
C++
xp_comm_proj/rd_dxf/src/dxfcir.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_proj/rd_dxf/src/dxfcir.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_proj/rd_dxf/src/dxfcir.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
/***************************************************************************** Copyright (c) 1995 by Advanced Visual Systems Inc. All Rights Reserved This software comprises unpublished confidential information of Advanced Visual Systems Inc. and may not be used, copied or made available to anyone, excep...
31.660232
126
0.547195
avs
696faac99d2c95ddade3fad87333224c891deae0
2,345
cpp
C++
C++/08_Heap/MEDIUM_MEETING_ROOMS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
C++/08_Heap/MEDIUM_MEETING_ROOMS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
C++/08_Heap/MEDIUM_MEETING_ROOMS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
// Time complexity - O(n) // Space complexity - O(n), where n = number of intervals int minMeetingRooms(vector<Interval>& intervals) { int len = intervals.size(); int count = 0, maxCount = 0; vector<pair<int, int>> table; // total len of table should be 2xlen since we have both start and end for(int i=0...
30.064103
104
0.565885
animeshramesh
69702480d8b79ff4e694a2454ca6fbdb760ac59d
4,163
hpp
C++
include/r3/tiled/r3-tiled-defn.hpp
ryantherileyman/riley-tiled-json-loader
b03edf3e375480d937f2692ae54f0046149a8f66
[ "MIT" ]
null
null
null
include/r3/tiled/r3-tiled-defn.hpp
ryantherileyman/riley-tiled-json-loader
b03edf3e375480d937f2692ae54f0046149a8f66
[ "MIT" ]
null
null
null
include/r3/tiled/r3-tiled-defn.hpp
ryantherileyman/riley-tiled-json-loader
b03edf3e375480d937f2692ae54f0046149a8f66
[ "MIT" ]
null
null
null
#include <optional> #include <string> #include <vector> #pragma once namespace r3 { namespace tiled { typedef enum class Tiled_CustomPropertyType { UNKNOWN, BOOLEAN, INTEGER, FLOAT, STRING, COLOR, OBJECT, FILE, } CustomPropertyType; typedef struct Tiled_CustomPropertyDefn { std::s...
25.539877
138
0.730963
ryantherileyman
69799e0bd6ef9b0cf91ee2a66de9372578a70e1c
541
hpp
C++
include/member_thunk/details/heap/memory.hpp
sylveon/member_thunk
1ac81a983e951678638be7785de2cce2d9f73151
[ "MIT" ]
9
2019-12-02T11:59:24.000Z
2022-02-28T06:34:59.000Z
include/member_thunk/details/heap/memory.hpp
sylveon/member_thunk
1ac81a983e951678638be7785de2cce2d9f73151
[ "MIT" ]
29
2019-11-26T17:12:33.000Z
2020-10-06T04:58:53.000Z
include/member_thunk/details/heap/memory.hpp
sylveon/member_thunk
1ac81a983e951678638be7785de2cce2d9f73151
[ "MIT" ]
null
null
null
#pragma once #include <cstddef> #include <cstdint> namespace member_thunk::details { struct memory_layout { std::uint32_t page_size, allocation_granularity; static memory_layout get_for_current_system(); }; void flush_instruction_cache(void* ptr, std::size_t size); void* virtual_alloc(void* address, std::si...
28.473684
100
0.767098
sylveon
697c3d3e82fe5126df47fa1f69582553efb1e9c3
3,775
cpp
C++
src/services/pcn-nat/src/serializer/RulePortForwardingAppendInputJsonObject.cpp
francescomessina/polycube
38f2fb4ffa13cf51313b3cab9994be738ba367be
[ "ECL-2.0", "Apache-2.0" ]
337
2018-12-12T11:50:15.000Z
2022-03-15T00:24:35.000Z
src/services/pcn-nat/src/serializer/RulePortForwardingAppendInputJsonObject.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
253
2018-12-17T21:36:15.000Z
2022-01-17T09:30:42.000Z
src/services/pcn-nat/src/serializer/RulePortForwardingAppendInputJsonObject.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
90
2018-12-19T15:49:38.000Z
2022-03-27T03:56:07.000Z
/** * nat API * nat API generated from nat.yang * * OpenAPI spec version: 1.0.0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/polycube-network/swagger-codegen.git * branch polycube */ /* Do not edit this file manually */ #include "RulePortForwardingAppendInputJs...
21.571429
109
0.747285
francescomessina
698142765169324076c34cf8ef418a1d8c2fb258
2,254
cpp
C++
Source/JsonHelper.cpp
NEWorldProject/Common
167d69e80aee5e86a8892bcfaec6bcd988f97493
[ "BSL-1.0", "Apache-2.0", "MIT" ]
null
null
null
Source/JsonHelper.cpp
NEWorldProject/Common
167d69e80aee5e86a8892bcfaec6bcd988f97493
[ "BSL-1.0", "Apache-2.0", "MIT" ]
null
null
null
Source/JsonHelper.cpp
NEWorldProject/Common
167d69e80aee5e86a8892bcfaec6bcd988f97493
[ "BSL-1.0", "Apache-2.0", "MIT" ]
null
null
null
// // Core: JsonHelper.cpp // NEWorld: A Free Game with Similar Rules to Minecraft. // Copyright (C) 2015-2018 NEWorld Team // // NEWorld is free software: you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation, either vers...
34.151515
96
0.653505
NEWorldProject
69814c6c4a87af20a91c217a5d17374af977e042
662
cpp
C++
bit_manipulation/binary_or_operator.cpp
mohitbaran/CPP-Programming
ee70007d8eaffbb82b297984a07dd6f65999a435
[ "MIT" ]
30
2020-09-30T19:16:04.000Z
2022-02-20T14:28:13.000Z
bit_manipulation/binary_or_operator.cpp
mohitbaran/CPP-Programming
ee70007d8eaffbb82b297984a07dd6f65999a435
[ "MIT" ]
168
2020-09-30T19:52:42.000Z
2021-10-22T03:55:57.000Z
bit_manipulation/binary_or_operator.cpp
mohitbaran/CPP-Programming
ee70007d8eaffbb82b297984a07dd6f65999a435
[ "MIT" ]
123
2020-09-30T19:16:12.000Z
2021-11-12T18:49:18.000Z
#include <stdio.h> /* g++ 64 bit int size is 4 bytes or operator table 1|1 = 1 1|0 = 1 0|1 = 1 0|0 = 0 */ int main() { int a = 15; /* 60 = 0000 0000 0000 0000 0000 0000 0000 1111 */ int b = 13; /* 13 = 0000 0000 0000 0000 0000 0000 0000 1101 */ int c = -1; /* -1 = 1111 1111 1111 1111 1111 1111 1111 1111...
26.48
95
0.584592
mohitbaran
69826780a977a5bd09b4de0f7ac9e8d06f701019
18,465
cpp
C++
source/ocl.cpp
EwanC/WeeChess
8b9b69d5d9d2c2a873670d450230ad0e5c526494
[ "MIT" ]
1
2015-05-24T20:26:41.000Z
2015-05-24T20:26:41.000Z
source/ocl.cpp
EwanC/WeeChess
8b9b69d5d9d2c2a873670d450230ad0e5c526494
[ "MIT" ]
null
null
null
source/ocl.cpp
EwanC/WeeChess
8b9b69d5d9d2c2a873670d450230ad0e5c526494
[ "MIT" ]
null
null
null
#include "ocl.hpp" #include <cstring> #include <iostream> #include "types.hpp" OCL* OCL::m_instance = nullptr; // Singleton instance uint OCL::possible_pawn_moves = 12; uint OCL::possible_piece_moves = 30; #define QUOTE(name) #name #define STR(macro) QUOTE(macro) #define KERNEL_DIR STR(__DIR__) #define EVALKERNEL "...
31.403061
120
0.64013
EwanC
6982a79a7ed4d4c347f9fa0b118d184a642e8f62
8,832
cpp
C++
beringei/lib/PersistentKeyList.cpp
pidb/Gorilla
75c3002b179d99c8709323d605e7d4b53484035c
[ "BSD-3-Clause" ]
2,780
2016-12-22T19:25:26.000Z
2018-05-21T11:29:42.000Z
beringei/lib/PersistentKeyList.cpp
pidb/Gorilla
75c3002b179d99c8709323d605e7d4b53484035c
[ "BSD-3-Clause" ]
57
2016-12-23T09:22:18.000Z
2018-05-04T06:26:48.000Z
beringei/lib/PersistentKeyList.cpp
pidb/Gorilla
75c3002b179d99c8709323d605e7d4b53484035c
[ "BSD-3-Clause" ]
254
2016-12-22T20:53:12.000Z
2018-05-16T06:14:10.000Z
/** * Copyright (c) 2016-present, 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 "...
28.127389
80
0.657043
pidb
6982ae7daea8bc7ac6ef3a9e090b5eb2fe8ccd3b
18,104
cpp
C++
engine/rendering/interface_renderer.cpp
jose-villegas/VCT_Engine
5ac2077e6ffc240a6d1f0ac0f033ac81e8ed57e3
[ "MIT" ]
459
2016-03-16T04:11:37.000Z
2022-03-31T08:05:21.000Z
engine/rendering/interface_renderer.cpp
jose-villegas/VCT_Engine
5ac2077e6ffc240a6d1f0ac0f033ac81e8ed57e3
[ "MIT" ]
2
2016-08-08T18:26:27.000Z
2017-05-08T23:42:22.000Z
engine/rendering/interface_renderer.cpp
jose-villegas/VCT_Engine
5ac2077e6ffc240a6d1f0ac0f033ac81e8ed57e3
[ "MIT" ]
47
2016-05-31T15:55:52.000Z
2022-03-28T14:49:40.000Z
#include <GL/glew.h> #include <GLFW/glfw3.h> #include "interface_renderer.h" #ifdef _WIN32 #undef APIENTRY #define GLFW_EXPOSE_NATIVE_WIN32 #define GLFW_EXPOSE_NATIVE_WGL #include <GLFW/glfw3native.h> #endif #include "../rendering/render_window.h" #include <glm/mat4x4.hpp> #include <glm/gtc/type_ptr.h...
36.280561
84
0.664936
jose-villegas
69842144a324549cc2ff5058fbe25fcd8ff10ce4
67
cpp
C++
Source/Cross/Common/MoCore/TNetPackageHead.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
3
2016-10-26T11:48:58.000Z
2017-10-24T18:35:17.000Z
Source/Cross/Common/MoCore/TNetPackage.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
null
null
null
Source/Cross/Common/MoCore/TNetPackage.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
6
2015-03-24T06:40:20.000Z
2019-03-18T13:56:13.000Z
#include "MoCrNetMessage.h" MO_NAMESPACE_BEGIN MO_NAMESPACE_END
9.571429
27
0.835821
favedit
69851858aa479b61453717cd35502afcefdd8237
218
cpp
C++
CGraphMan.cpp
Satervalley/Kamac-git
83b916684c1397f10319793f87d8c3ab90edbad4
[ "WTFPL" ]
1
2019-12-08T02:20:12.000Z
2019-12-08T02:20:12.000Z
CGraphMan.cpp
Satervalley/Kamac-git
83b916684c1397f10319793f87d8c3ab90edbad4
[ "WTFPL" ]
null
null
null
CGraphMan.cpp
Satervalley/Kamac-git
83b916684c1397f10319793f87d8c3ab90edbad4
[ "WTFPL" ]
null
null
null
#include "pch.h" #include "CGraphMan.h" int CDataGroup_3::nPos[]{ nMargin, nMargin + nColumnWidth + nGap, nMargin + (nColumnWidth + nGap) * 2 }; //DWORD CDataGroup_3::clrColors[]{ 0x00ff5252, 0x0069f0ae, 0x448aff };
31.142857
104
0.711009
Satervalley
698dfd407cff4168ce393de15c57e62d52f989b1
1,360
cpp
C++
test/ssvr/srv_dev_mng.cpp
walkthetalk/libem
6619b48716b380420157c4021f9943b153998e09
[ "Apache-2.0" ]
2
2015-03-13T14:49:13.000Z
2017-09-18T12:38:59.000Z
test/ssvr/srv_dev_mng.cpp
walkthetalk/libem
6619b48716b380420157c4021f9943b153998e09
[ "Apache-2.0" ]
null
null
null
test/ssvr/srv_dev_mng.cpp
walkthetalk/libem
6619b48716b380420157c4021f9943b153998e09
[ "Apache-2.0" ]
null
null
null
#include <limits> #include <exemodel/poll_tools.hpp> #include "srv_dev_mng.hpp" #include <iostream> #include <fstream> #include <string.h> #include <openssl/md5.h> namespace svcDevMng { svcDeviceManager::svcDeviceManager(uint16_t port) : serverExt(port) , m_pkgc(0) { register_callback<bmid_t::sendUpdateData>( [t...
19.710145
93
0.602941
walkthetalk
698e5837bba52095c90b808c90252db6253d15e2
3,266
cpp
C++
opengl_4_shading_language_cookbook/017-compiling_a_shader/CompilingAShader.cpp
mickbeaver/graphics
2b95c03677dfbb808048f53326e8c98e2d8775e1
[ "BSD-2-Clause" ]
null
null
null
opengl_4_shading_language_cookbook/017-compiling_a_shader/CompilingAShader.cpp
mickbeaver/graphics
2b95c03677dfbb808048f53326e8c98e2d8775e1
[ "BSD-2-Clause" ]
null
null
null
opengl_4_shading_language_cookbook/017-compiling_a_shader/CompilingAShader.cpp
mickbeaver/graphics
2b95c03677dfbb808048f53326e8c98e2d8775e1
[ "BSD-2-Clause" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <SDL2/SDL.h> #include "glsys.h" #include "FileUtil.h" #define WINDOW_SIZE 640 void printShaderInfoLog(GLuint shaderHandle) { GLint logLength; glGetShaderiv(shaderHandle, GL_INFO_LOG_LENGTH, &logLength); if (logLength > 0) { char* logBuf...
33.670103
86
0.621249
mickbeaver
7e36c09a63af28d59cf7322130589d231a1ebe4e
900
cc
C++
UX/src/Point.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
UX/src/Point.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
UX/src/Point.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
/* * Copyright (C) 2022 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/Point> #include <limits> namespace cc { template class Vector<double, 2>; /** Get positive angle of vector \a v * \return Angle in range [0, 2*PI) */ do...
19.565217
71
0.538889
frankencode
7e39eb52a5dda75eb6f304a1b3bbc6686046148f
240
cpp
C++
src/analysis/parts/resample.cpp
autumnsault/speech-analysis
6d2b683f0afa47d098b95f6be59534ed7d277361
[ "MIT" ]
null
null
null
src/analysis/parts/resample.cpp
autumnsault/speech-analysis
6d2b683f0afa47d098b95f6be59534ed7d277361
[ "MIT" ]
null
null
null
src/analysis/parts/resample.cpp
autumnsault/speech-analysis
6d2b683f0afa47d098b95f6be59534ed7d277361
[ "MIT" ]
1
2020-04-02T11:58:29.000Z
2020-04-02T11:58:29.000Z
// // Created by rika on 16/11/2019. // #include "../Analyser.h" #include "Signal/Resample.h" using namespace Eigen; void Analyser::resampleAudio(double newFs) { x = std::move(Resample::resample(x, fs, newFs, 50)); fs = newFs; }
17.142857
56
0.654167
autumnsault
7e3aa7b4ded7f1cffe37f511219cb0a16af34f0e
401
cc
C++
tools/Packers/source/ContainerEvolved.cc
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
8
2015-01-23T05:41:46.000Z
2019-11-20T05:10:27.000Z
tools/Packers/source/ContainerEvolved.cc
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
null
null
null
tools/Packers/source/ContainerEvolved.cc
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
4
2015-05-05T05:15:43.000Z
2020-03-07T11:10:56.000Z
/********************************************************************************************************* * ContainerEvolved.cc * Note: Phoenix Container Evolved * Date: @2015.05 * Author: Force Charlie * E-mail:<forcemz@outlook.com> * Copyright (C) 2015 The ForceStudio All Rights Reserved. ***************************...
44.555556
107
0.349127
fstudio
7e548d755ce70aceef0a4a7a7cdacff948c7ec28
5,534
cpp
C++
libevent-example/message.cpp
anancds/rpc
345a93915ec1a02e88e71678df695ee1302869df
[ "MIT" ]
1
2021-01-10T02:34:13.000Z
2021-01-10T02:34:13.000Z
libevent-example/message.cpp
anancds/rpc
345a93915ec1a02e88e71678df695ee1302869df
[ "MIT" ]
1
2021-03-11T02:21:41.000Z
2021-03-11T02:21:41.000Z
libevent-example/message.cpp
anancds/rpc
345a93915ec1a02e88e71678df695ee1302869df
[ "MIT" ]
null
null
null
// // Created by cds on 2020/9/23. // #include "message.h" #include <event2/buffer.h> #include <event2/bufferevent.h> #include <event2/event.h> #include <event2/listener.h> #include <event2/util.h> #include <stdio.h> #include <time.h> #include <iostream> #include <map> #include <string.h> #include <vector> #include <...
25.385321
116
0.644742
anancds
7e5799ca381a57dcd3ffbc7a25c21511d137171b
245
hpp
C++
include/member_thunk/error/region_not_empty.hpp
sylveon/member_thunk
1ac81a983e951678638be7785de2cce2d9f73151
[ "MIT" ]
9
2019-12-02T11:59:24.000Z
2022-02-28T06:34:59.000Z
include/member_thunk/error/region_not_empty.hpp
sylveon/member_thunk
1ac81a983e951678638be7785de2cce2d9f73151
[ "MIT" ]
29
2019-11-26T17:12:33.000Z
2020-10-06T04:58:53.000Z
include/member_thunk/error/region_not_empty.hpp
sylveon/member_thunk
1ac81a983e951678638be7785de2cce2d9f73151
[ "MIT" ]
null
null
null
#pragma once #include "./exception.hpp" namespace member_thunk { class region_not_empty final : public exception { public: constexpr region_not_empty() noexcept : exception("This region has been destroyed before being emptied.") { } }; }
20.416667
111
0.746939
sylveon
7e58b79975cc0b346c9a1625914694555b9d8901
4,173
cxx
C++
PWGJE/EMCALJetTasks/Tracks/AliAnalysisTaskEmcalOutliersGen.cxx
ilyafokin/AliPhysics
7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4
[ "BSD-3-Clause" ]
1
2020-07-18T17:36:58.000Z
2020-07-18T17:36:58.000Z
PWGJE/EMCALJetTasks/Tracks/AliAnalysisTaskEmcalOutliersGen.cxx
ilyafokin/AliPhysics
7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4
[ "BSD-3-Clause" ]
null
null
null
PWGJE/EMCALJetTasks/Tracks/AliAnalysisTaskEmcalOutliersGen.cxx
ilyafokin/AliPhysics
7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4
[ "BSD-3-Clause" ]
1
2022-01-24T11:11:09.000Z
2022-01-24T11:11:09.000Z
#include <sstream> #include "AliAnalysisTaskEmcalOutliersGen.h" #include "AliAnalysisManager.h" #include "AliEmcalJet.h" #include "AliJetContainer.h" #include "AliMCEvent.h" #include "AliParticleContainer.h" #include "AliVParticle.h" ClassImp(PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalOutliersGen) using namespace PWGJ...
40.514563
151
0.615385
ilyafokin
7e5a886dc544675b6477934205740aa2262e7048
4,568
cpp
C++
Source/MLApp/MLNetServiceHub.cpp
afofo/madronalib
14816a124c8d3a225540ffb408e602aa024fdb4b
[ "MIT" ]
null
null
null
Source/MLApp/MLNetServiceHub.cpp
afofo/madronalib
14816a124c8d3a225540ffb408e602aa024fdb4b
[ "MIT" ]
null
null
null
Source/MLApp/MLNetServiceHub.cpp
afofo/madronalib
14816a124c8d3a225540ffb408e602aa024fdb4b
[ "MIT" ]
null
null
null
// MadronaLib: a C++ framework for DSP applications. // Copyright (c) 2013 Madrona Labs LLC. http://www.madronalabs.com // Distributed under the MIT license: http://madrona-labs.mit-license.org/ /* Portions adapted from Oscbonjour: Copyright (c) 2005-2009 RÈmy Muller. Permission is hereby granted, free of charg...
29.282051
127
0.734895
afofo
7e601575baaec490902abfffcded67583565afd8
11,044
cpp
C++
sources/leddevice/dev_net/ProviderUdpSSL.cpp
awawa-dev/hyperion.ng
459aa9b81fe04bfd7a259d761a0fdff94178e10d
[ "MIT-0", "Apache-2.0", "CC-BY-4.0", "MIT" ]
2
2020-08-24T10:02:51.000Z
2020-08-24T20:03:50.000Z
sources/leddevice/dev_net/ProviderUdpSSL.cpp
awawa-dev/hyperion.ng
459aa9b81fe04bfd7a259d761a0fdff94178e10d
[ "MIT-0", "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
sources/leddevice/dev_net/ProviderUdpSSL.cpp
awawa-dev/hyperion.ng
459aa9b81fe04bfd7a259d761a0fdff94178e10d
[ "MIT-0", "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
/* ProviderUdpSSL.cpp * * MIT License * * Copyright (c) 2021 awawa-dev * * Project homesite: https://github.com/awawa-dev/HyperHDR * * 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 with...
24.930023
161
0.711246
awawa-dev
7e6192e0b4144d477c15f9b0043c03b279b862d5
2,598
hh
C++
include/simlib/path.hh
varqox/simlib
7830472019f88aa0e35dbfa1119b62b5f9dd4b9d
[ "MIT" ]
null
null
null
include/simlib/path.hh
varqox/simlib
7830472019f88aa0e35dbfa1119b62b5f9dd4b9d
[ "MIT" ]
1
2017-01-05T17:50:32.000Z
2017-01-05T17:50:32.000Z
include/simlib/path.hh
varqox/simlib
7830472019f88aa0e35dbfa1119b62b5f9dd4b9d
[ "MIT" ]
1
2017-01-05T15:26:48.000Z
2017-01-05T15:26:48.000Z
#pragma once #include "simlib/string_view.hh" #include <optional> // Returns an absolute path that does not contain any . or .. components, // nor any repeated path separators (/). @p curr_dir can be empty. If path // begins with / then @p curr_dir is ignored. std::string path_absolute(StringView path, std::string c...
30.209302
95
0.583911
varqox
7e69ada6af6c8ff3f214bc2c84d1c3af9121a2b3
1,148
hh
C++
src/NodeGenerators/generateCylDistributionFromRZ.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/NodeGenerators/generateCylDistributionFromRZ.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/NodeGenerators/generateCylDistributionFromRZ.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//------------------------------------------------------------------------------ // Helper method for the GenerateCylindricalNodeDistribution3d node generator // to generate the spun node distribution. //------------------------------------------------------------------------------ #ifndef __Spheral_generateCylDistribu...
37.032258
80
0.449477
jmikeowen
7e6cd2376953f623e471e461f5759b9392b8c312
624
cpp
C++
src/visual-scripting/processors/generators/counters/CounterProcessors.cpp
inexorgame/entity-system
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
19
2018-10-11T09:19:48.000Z
2020-04-19T16:36:58.000Z
src/visual-scripting/processors/generators/counters/CounterProcessors.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
132
2018-07-28T12:30:54.000Z
2020-04-25T23:05:33.000Z
src/visual-scripting/processors/generators/counters/CounterProcessors.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
3
2019-03-02T16:19:23.000Z
2020-02-18T05:15:29.000Z
#include "CounterProcessors.hpp" #include <utility> namespace inexor::visual_scripting { CounterProcessors::CounterProcessors(CounterIntProcessorPtr counter_int_processor, CounterFloatProcessorPtr counter_float_processor) : LifeCycleComponent(counter_int_processor, counter_float_processor) { this->counter_in...
28.363636
132
0.8125
inexorgame
7e6ddfc364527a3c904016f6bb55ec7156a1d901
20,714
hpp
C++
Cxx11/stencil_rajaview.hpp
hattom/Kernels
dae34b73235ccbf150d9b0ed5fb480b924789383
[ "BSD-3-Clause" ]
346
2015-06-07T19:55:15.000Z
2022-03-18T07:55:10.000Z
Cxx11/stencil_rajaview.hpp
hattom/Kernels
dae34b73235ccbf150d9b0ed5fb480b924789383
[ "BSD-3-Clause" ]
202
2015-06-16T15:28:05.000Z
2022-01-06T18:26:13.000Z
Cxx11/stencil_rajaview.hpp
hattom/Kernels
dae34b73235ccbf150d9b0ed5fb480b924789383
[ "BSD-3-Clause" ]
101
2015-06-15T22:06:46.000Z
2022-01-13T02:56:02.000Z
using regular_policy = RAJA::KernelPolicy< RAJA::statement::For<0, thread_exec, RAJA::statement::For<1, RAJA::simd_exec, RAJA::statement::Lambda<0> > > >; void star1(const int n, const int t, matrix & in, matrix & out) { RAJA::Ra...
53.112821
83
0.39273
hattom
7e6e5199750f9df713da118aa8b76ebef75f000e
3,832
hpp
C++
Rx/v2/src/rxcpp/operators/rx-multicast.hpp
guhwanbae/RxCpp
7f97aa901701343593869acad1ee5a02292f39cf
[ "Apache-2.0" ]
2
2022-02-09T19:01:00.000Z
2022-03-11T03:36:29.000Z
Rx/v2/src/rxcpp/operators/rx-multicast.hpp
ivan-cukic/wip-fork-rxcpp
483963939e4a2adf674450dcb829005d84be1d59
[ "Apache-2.0" ]
null
null
null
Rx/v2/src/rxcpp/operators/rx-multicast.hpp
ivan-cukic/wip-fork-rxcpp
483963939e4a2adf674450dcb829005d84be1d59
[ "Apache-2.0" ]
1
2022-02-09T12:00:05.000Z
2022-02-09T12:00:05.000Z
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #pragma once /*! \file rx-multicast.hpp \brief allows connections to the source to be independent of subscriptions. \tparam Subject the subject to multicast the source Observa...
30.903226
132
0.658664
guhwanbae
7e781742def67dc40fe3b18ea2514984dcd8421b
1,013
hpp
C++
include/regrados.hpp
emanuelmoraes-dev/cpp-learn
4ca99f39e44016784619928cb61187be63586994
[ "MIT" ]
null
null
null
include/regrados.hpp
emanuelmoraes-dev/cpp-learn
4ca99f39e44016784619928cb61187be63586994
[ "MIT" ]
null
null
null
include/regrados.hpp
emanuelmoraes-dev/cpp-learn
4ca99f39e44016784619928cb61187be63586994
[ "MIT" ]
null
null
null
#ifndef REGRADOS_H_INCLUDED #define REGRADOS_H_INCLUDED #include <string> #include <vector> #include <memory> class Membro { public: std::string nome; }; class RegraDos3 { public: Membro membro; Membro* aloc1; Membro* aloc2; std::vector<Membro> membros; RegraDos3(); // Aplicando regra do...
19.862745
52
0.660415
emanuelmoraes-dev
7e7da6a7d3209015d09bf16404f6138ea82c64ce
6,980
cpp
C++
AR_ColorSensor/src/AR_ColorSensor.cpp
fangchuan/AR_Library
c825bf26aa1f31b1537fdcaa382dc7b5b0de1afc
[ "MIT" ]
null
null
null
AR_ColorSensor/src/AR_ColorSensor.cpp
fangchuan/AR_Library
c825bf26aa1f31b1537fdcaa382dc7b5b0de1afc
[ "MIT" ]
null
null
null
AR_ColorSensor/src/AR_ColorSensor.cpp
fangchuan/AR_Library
c825bf26aa1f31b1537fdcaa382dc7b5b0de1afc
[ "MIT" ]
null
null
null
/* ********************************************************************************************************* * * 模块名称 : ColorSensor类库 * 文件名称 : AR_ColorSensor.cpp * 版 本 : V1.0 * 说 明 : * 修订记录 : 2017-3-13: 类内方法不可以被赋值给函数指针,必须将方法声明为static,但一旦将属性也改为static就失去了这个传感器类的意义 * 2017-3-14: 将数据属性全部public,主函数操作这些属性 * ...
28.489796
105
0.440974
fangchuan
7e887fee2927fc5e7a30b76c39054a38c34fded0
445
cpp
C++
src/resources/terrain_library.cpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/resources/terrain_library.cpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/resources/terrain_library.cpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
/* * TS Elements * Copyright 2015-2018 M. Newhouse * Released under the MIT license. */ #include "terrain_library.hpp" #include <algorithm> namespace ts { namespace resources { void TerrainLibrary::define_terrain(const TerrainDefinition& terrain) { terrains_[terrain.id] = terrain; } const...
17.115385
80
0.696629
mnewhouse
7e89b9689048be6d81a61f59d446635923370799
1,041
hpp
C++
Nacro/SDK/FN_Bedroom_Dresser_02_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_Bedroom_Dresser_02_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_Bedroom_Dresser_02_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function Bedroom_Dress...
24.209302
152
0.632085
Milxnor
7e89faa093f24847cdd82eb90b45385703c1210d
6,619
cpp
C++
source/AlgebraicMethods/Term.cpp
CoghettoR/gclc
b481b15d28ee66f995b73283e26c285ca8c4a821
[ "MIT" ]
21
2020-12-08T20:06:01.000Z
2022-02-13T22:52:02.000Z
source/AlgebraicMethods/Term.cpp
CoghettoR/gclc
b481b15d28ee66f995b73283e26c285ca8c4a821
[ "MIT" ]
9
2020-12-20T03:54:55.000Z
2022-03-31T19:30:04.000Z
source/AlgebraicMethods/Term.cpp
CoghettoR/gclc
b481b15d28ee66f995b73283e26c285ca8c4a821
[ "MIT" ]
5
2021-04-25T18:47:17.000Z
2022-01-23T02:37:30.000Z
#include "Term.h" #include "TermStorage.h" #include "TermStorageAvl.h" #include "TermStorageVector.h" #include "XTerm.h" Term::Term() { #if 0 static int cnt = 0; if (cnt == 12237) { int stop = 1; MyTerm = this; } cnt++; //Log::PrintLogF(0, "C:%d:%x\n", cnt++, this); #endif COSTR("ter...
22.667808
78
0.536637
CoghettoR
7e8eba9f731da8d8b1c99ff78c14c779cfbb8111
7,991
cpp
C++
src/Client.cpp
nsentout/project-lambda-client
3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469
[ "MIT" ]
null
null
null
src/Client.cpp
nsentout/project-lambda-client
3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469
[ "MIT" ]
null
null
null
src/Client.cpp
nsentout/project-lambda-client
3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> #include "Client.hpp" #include "render/Renderer.hpp" #include <sstream> //#define CONNECTION_TIMEOUT 5000 #define CONNECTION_TIMEOUT 100000 #define NUMBER_CHANNELS 2 #define SPEED 25 Client::Client() : m_host(nullptr), m_server(nullptr) { createClient(); } Client::~Client...
29.058182
137
0.647228
nsentout
7e8f389f2ec72f9f4e69b6e67c0d432dcfd2686f
4,823
cpp
C++
sj_common.cpp
SJ-magic-youtube-VisualProgrammer/103_fft_Visualize__1_Artsin
4d5acdccae24364b173794793c9896c8420f55fb
[ "MIT" ]
null
null
null
sj_common.cpp
SJ-magic-youtube-VisualProgrammer/103_fft_Visualize__1_Artsin
4d5acdccae24364b173794793c9896c8420f55fb
[ "MIT" ]
null
null
null
sj_common.cpp
SJ-magic-youtube-VisualProgrammer/103_fft_Visualize__1_Artsin
4d5acdccae24364b173794793c9896c8420f55fb
[ "MIT" ]
null
null
null
/************************************************************ ************************************************************/ #include "sj_common.h" /************************************************************ ************************************************************/ /******************** ********************/ int ...
28.040698
97
0.477918
SJ-magic-youtube-VisualProgrammer
7e99bff8822e5d2d5f18f8c59410f9d2ce56cc5a
2,953
cpp
C++
Button/QCheckBox/mainwindow.cpp
Sakura1221/QtStudy
34d24affada2a10c901fb9571473a33c871201fa
[ "MIT" ]
4
2021-06-17T02:58:18.000Z
2021-11-09T11:40:37.000Z
Button/QCheckBox/mainwindow.cpp
Sakura1221/QtStudy
34d24affada2a10c901fb9571473a33c871201fa
[ "MIT" ]
null
null
null
Button/QCheckBox/mainwindow.cpp
Sakura1221/QtStudy
34d24affada2a10c901fb9571473a33c871201fa
[ "MIT" ]
1
2021-06-26T07:42:20.000Z
2021-06-26T07:42:20.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QDebug> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); //设置根结点的三态属性 ui->wives->setTristate(true); // 当父结点状态改变后,子结点也要相应改变(只有全选或全未选两种状态) // 为了避免信号冲突,捕获clicked信号 // 需...
22.203008
88
0.568236
Sakura1221
7e9f6cb6cf91773920d9c0461874a0d37d7b8345
1,177
cpp
C++
Actor/Characters/Enemy/E3/StateAI/StateMng_AI_EnemyE3.cpp
Bornsoul/Revenger_JoyContinue
599716970ca87a493bf3a959b36de0b330b318f1
[ "MIT" ]
null
null
null
Actor/Characters/Enemy/E3/StateAI/StateMng_AI_EnemyE3.cpp
Bornsoul/Revenger_JoyContinue
599716970ca87a493bf3a959b36de0b330b318f1
[ "MIT" ]
null
null
null
Actor/Characters/Enemy/E3/StateAI/StateMng_AI_EnemyE3.cpp
Bornsoul/Revenger_JoyContinue
599716970ca87a493bf3a959b36de0b330b318f1
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "StateMng_AI_EnemyE3.h" #include "StateRoot_AI_EnemyE3.h" #include "../AIC_EnemyE3.h" UStateMng_AI_EnemyE3::UStateMng_AI_EnemyE3() { } UStateMng_AI_EnemyE3::~UStateMng_AI_EnemyE3() { } void UStateMng_AI_EnemyE3::Init(class AAI...
26.75
106
0.7774
Bornsoul
7ea324a5d6413d9be9ad5ad01d8c1da842586b85
580
cpp
C++
example/iterable/at.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
2
2015-05-07T14:29:13.000Z
2015-07-04T10:59:46.000Z
example/iterable/at.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
example/iterable/at.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
/* @copyright Louis Dionne 2014 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #include <boost/hana/detail/assert.hpp> #include <boost/hana/integral.hpp> #include <boost/hana/list/instance.hpp> using namespace boost::hana; ...
29
78
0.674138
rbock
7ea3e4fa4f2f94bac0ff40745f8e800c0968fb86
50,109
cc
C++
bindings/v8_opengl_es2.cc
slightlyoff/bravo
450d13427a27ac4f276ecac5bc350b81de838a6b
[ "BSD-3-Clause" ]
5
2015-12-17T19:48:38.000Z
2021-05-07T15:45:15.000Z
bindings/v8_opengl_es2.cc
slightlyoff/bravo
450d13427a27ac4f276ecac5bc350b81de838a6b
[ "BSD-3-Clause" ]
null
null
null
bindings/v8_opengl_es2.cc
slightlyoff/bravo
450d13427a27ac4f276ecac5bc350b81de838a6b
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013 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 "bravo/bindings/v8_opengl_es2.h" #include "base/strings/stringprintf.h" #include "bravo/bindings/util.h" #include "bravo/plugin/instance.h" ...
46.354302
166
0.585304
slightlyoff
7ea632659d78f66c799da5c115d5812060e893c0
2,942
hpp
C++
src/siili/kz/data_object_vector_list_impl.hpp
siilisolutions-pl/siili-kzutils
567e1f17160899911939d2402ee60550d6309e90
[ "Apache-2.0" ]
1
2019-10-07T15:58:29.000Z
2019-10-07T15:58:29.000Z
src/siili/kz/data_object_vector_list_impl.hpp
siilisolutions-pl/siili-kzutils
567e1f17160899911939d2402ee60550d6309e90
[ "Apache-2.0" ]
null
null
null
src/siili/kz/data_object_vector_list_impl.hpp
siilisolutions-pl/siili-kzutils
567e1f17160899911939d2402ee60550d6309e90
[ "Apache-2.0" ]
1
2019-10-07T16:38:37.000Z
2019-10-07T16:38:37.000Z
#ifndef SIILI__KZ__DATA_OBJECT_VECTOR_LIST_IMPL_HPP #define SIILI__KZ__DATA_OBJECT_VECTOR_LIST_IMPL_HPP #include <algorithm> #include <kanzi/core.ui/data/data_object.hpp> #include <kanzi/core.ui/data/data_object_list.hpp> #include <memory> #include <siili/kz/data_object_dynamic_list.hpp> #include <utility> #include <v...
25.807018
116
0.743372
siilisolutions-pl
7ea8ae9aaa21af63f1bcee21ef1be9fb2b852ebc
632
cpp
C++
src/Queue.cpp
dylsonowski/Producer_Consumers_Scheme
b784dc1f497f41c13d7ddee51c73e39a6daeb923
[ "Apache-2.0" ]
null
null
null
src/Queue.cpp
dylsonowski/Producer_Consumers_Scheme
b784dc1f497f41c13d7ddee51c73e39a6daeb923
[ "Apache-2.0" ]
null
null
null
src/Queue.cpp
dylsonowski/Producer_Consumers_Scheme
b784dc1f497f41c13d7ddee51c73e39a6daeb923
[ "Apache-2.0" ]
null
null
null
#include "Queue.h" std::mutex Queue::s_queueBlock; bool Queue::s_creationProcessFinished = false; void Queue::ChangeQueueStatus(bool canRead, bool canWrite) { _canRead = canRead; _canWrite = canWrite; } bool Queue::AddElement(std::array<int, 100000> newElement) { if (_canWrite) { s_queueBlock.lock(); _taskQue...
20.387097
60
0.71519
dylsonowski
7ead7044df37b77e631c423666929b1980841d4c
12,726
cpp
C++
src/message_manager.cpp
klei1984/max
dc0f9108bbcfd4cb73ea101883d551c612097469
[ "MIT" ]
19
2020-02-06T17:41:39.000Z
2022-03-31T07:38:15.000Z
src/message_manager.cpp
klei1984/max
dc0f9108bbcfd4cb73ea101883d551c612097469
[ "MIT" ]
9
2020-02-14T15:46:46.000Z
2021-12-22T16:35:53.000Z
src/message_manager.cpp
klei1984/max
dc0f9108bbcfd4cb73ea101883d551c612097469
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 M.A.X. Port Team * * 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, modify, merge, ...
35.747191
120
0.63995
klei1984
7ead720914b8f04b9d2f83f5db5bfd9789445a62
460
cpp
C++
Me.cpp
adityas129/ECE-150
0db483690ad2ce8fe1d5df4994c55bddc7a32569
[ "MIT" ]
null
null
null
Me.cpp
adityas129/ECE-150
0db483690ad2ce8fe1d5df4994c55bddc7a32569
[ "MIT" ]
null
null
null
Me.cpp
adityas129/ECE-150
0db483690ad2ce8fe1d5df4994c55bddc7a32569
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ cout << "My name is Aditya Sharma." << endl; cout << "My UserID is a273shar." << endl; cout << "I am in Electrical Engineering" << endl; cout << "I like programming because it is a very intellectually stimulating process. When you are solving a question, its...
32.857143
248
0.708696
adityas129
7eae8153038ba986de7660142658879d2ae4ab80
2,676
cpp
C++
4/src/InterfaceFileSystem.cpp
AlinaNenasheva/operating-systems
9f04381945aa7870dff9616b45c6d07e96701bd7
[ "MIT" ]
null
null
null
4/src/InterfaceFileSystem.cpp
AlinaNenasheva/operating-systems
9f04381945aa7870dff9616b45c6d07e96701bd7
[ "MIT" ]
null
null
null
4/src/InterfaceFileSystem.cpp
AlinaNenasheva/operating-systems
9f04381945aa7870dff9616b45c6d07e96701bd7
[ "MIT" ]
null
null
null
#pragma once #include <map> #include "FileExistException.cpp" #include "FileNotFoundException.cpp" #include "OutOfMemoryException.cpp" #include "CustomFile.cpp" #define FILE_NOT_FOUND 0 #define DEFAULT_TOTAL_MEMORY 1024 using namespace std; class InterfaceFileSystem { private: map<string, CustomFile *> *nameTo...
28.168421
107
0.612855
AlinaNenasheva
9d176a9145ad7fbc6bbe4820ac5e59ab56825274
4,556
cpp
C++
Engine/source/forest/ts/tsForestCellBatch.cpp
jyaskus/Torque3D
fcac140405b2fbe7c54e7a2dc6e3b10b79c8983f
[ "Unlicense" ]
6
2015-06-01T15:44:43.000Z
2021-01-07T06:50:21.000Z
Engine/source/forest/ts/tsForestCellBatch.cpp
timmgt/Torque3D
ebc6c9cf3a2c7642b2cd30be3726810a302c3deb
[ "Unlicense" ]
null
null
null
Engine/source/forest/ts/tsForestCellBatch.cpp
timmgt/Torque3D
ebc6c9cf3a2c7642b2cd30be3726810a302c3deb
[ "Unlicense" ]
10
2015-01-05T15:58:31.000Z
2021-11-20T14:05:46.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
30.373333
115
0.645303
jyaskus
9d196c5aefd16eff10981d4fc13eb7160a19db1a
147
cpp
C++
Pong/src/Paddle.cpp
tbui468/pong
ff1ade4db34ac6b329ab1628e579550f4863968c
[ "MIT" ]
null
null
null
Pong/src/Paddle.cpp
tbui468/pong
ff1ade4db34ac6b329ab1628e579550f4863968c
[ "MIT" ]
null
null
null
Pong/src/Paddle.cpp
tbui468/pong
ff1ade4db34ac6b329ab1628e579550f4863968c
[ "MIT" ]
null
null
null
#include "Paddle.h" void Paddle::move(int key, unsigned int delta_time) { update_location(m_h_velocity * key, m_v_velocity * key, delta_time); }
24.5
69
0.748299
tbui468
9d19bf9f94485656e748eb749dc0a026a2342f57
1,332
cpp
C++
src/X-GSD/ComponentSprite.cpp
iPruch/X-GSD
1f0b294e27f5aee0fb0448207cd1091c9d42ae44
[ "Zlib" ]
2
2015-01-04T22:17:23.000Z
2017-04-28T14:19:56.000Z
src/X-GSD/ComponentSprite.cpp
iPruch/X-GSD
1f0b294e27f5aee0fb0448207cd1091c9d42ae44
[ "Zlib" ]
null
null
null
src/X-GSD/ComponentSprite.cpp
iPruch/X-GSD
1f0b294e27f5aee0fb0448207cd1091c9d42ae44
[ "Zlib" ]
null
null
null
#include <X-GSD/ComponentSprite.hpp> using namespace xgsd; ComponentSprite::ComponentSprite(const sf::Texture& texture) : mSprite(texture) { // Load resources here (RAII) // If this constructor is used and no texture rect is specified it will be as big as the texture } ComponentSprite::ComponentSpri...
20.181818
104
0.726727
iPruch
9d23a9e6f4494c8b88e7306cdc073a67128bbefd
2,503
hpp
C++
src/managers/draw_manager.hpp
Romop5/holoinjector
db11922e6c57b4664beeec31199385a4877e1619
[ "MIT" ]
2
2021-04-12T06:09:57.000Z
2021-05-20T11:56:01.000Z
src/managers/draw_manager.hpp
Romop5/holoinjector
db11922e6c57b4664beeec31199385a4877e1619
[ "MIT" ]
null
null
null
src/managers/draw_manager.hpp
Romop5/holoinjector
db11922e6c57b4664beeec31199385a4877e1619
[ "MIT" ]
null
null
null
/***************************************************************************** * * PROJECT: HoloInjector - https://github.com/Romop5/holoinjector * LICENSE: See LICENSE in the top level directory * FILE: managers/draw_manager.hpp * **********************************************************************...
37.924242
141
0.666001
Romop5
9d251642791f2f121d991d49d8b0c8a5e9a3d761
1,375
hpp
C++
hardware_interface_extensions/include/hardware_interface_extensions/sensor_state_interface.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
null
null
null
hardware_interface_extensions/include/hardware_interface_extensions/sensor_state_interface.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
null
null
null
hardware_interface_extensions/include/hardware_interface_extensions/sensor_state_interface.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
1
2021-10-14T06:37:36.000Z
2021-10-14T06:37:36.000Z
#ifndef HARDWARE_INTERFACE_EXTENSIONS_SENSOR_STATE_INTERFACE_HPP #define HARDWARE_INTERFACE_EXTENSIONS_SENSOR_STATE_INTERFACE_HPP #include <string> #include <hardware_interface/internal/hardware_resource_manager.h> #include <ros/common.h> // for ROS_ASSERT() #include <sensor_msgs/BatteryState.h> namespace hardware_i...
22.177419
98
0.755636
smilerobotics
9d2d64a79f0feb23f8b0038cde54e2ddf8b476ba
520
tcc
C++
src/Arduino.tcc
lawyiu/2d-robot-simulator
864af5074a597c7505df29a5ab81aa4fe331f45c
[ "MIT" ]
1
2022-03-25T12:37:07.000Z
2022-03-25T12:37:07.000Z
src/Arduino.tcc
lawyiu/2d-robot-simulator
864af5074a597c7505df29a5ab81aa4fe331f45c
[ "MIT" ]
3
2021-09-20T20:52:03.000Z
2021-09-26T06:14:07.000Z
src/Arduino.tcc
lawyiu/2D-robot-simulator
864af5074a597c7505df29a5ab81aa4fe331f45c
[ "MIT" ]
null
null
null
template <typename T> std::string SerialPort::formatVal(T val, int type) { std::ostringstream os; switch (type) { case BIN: { std::bitset<8 * sizeof(val)> bits(val); os << bits; break; } case HEX: { os << std::hex << val; brea...
17.931034
74
0.388462
lawyiu
9d2ee29e2cdeeeb7cf4cc24a7a95dc7e7fb60797
14,264
cpp
C++
testapp/scenes/scenemanager.cpp
ColinGilbert/d-collide
8adb354d52e7ee49705ca2853d50a6a879f3cd49
[ "BSD-3-Clause" ]
6
2015-12-08T05:38:03.000Z
2021-04-09T13:45:59.000Z
testapp/scenes/scenemanager.cpp
ColinGilbert/d-collide
8adb354d52e7ee49705ca2853d50a6a879f3cd49
[ "BSD-3-Clause" ]
null
null
null
testapp/scenes/scenemanager.cpp
ColinGilbert/d-collide
8adb354d52e7ee49705ca2853d50a6a879f3cd49
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (C) 2007 by the members of PG 510, University of Dortmund: * * d-collide-devel@lists.sourceforge.net * * * Andreas Beckermann, Christian Bode, Marcel Ens, Sebastian Ens, ...
44.436137
161
0.609296
ColinGilbert
9d359e9a7e2c6b30b4f10d972a6ff2c0afe86528
20,386
cpp
C++
Source/ThirdParty/NewtonDynamics/include/packages/dContainers/dCRC.cpp
nigeyuk/HevEn
0dc970d6ecd0e5fd5512441562e2fdb4620214f0
[ "CC-BY-3.0" ]
15
2017-03-15T15:41:13.000Z
2022-01-11T01:15:12.000Z
Source/ThirdParty/NewtonDynamics/include/packages/dContainers/dCRC.cpp
nigeyuk/HevEn
0dc970d6ecd0e5fd5512441562e2fdb4620214f0
[ "CC-BY-3.0" ]
null
null
null
Source/ThirdParty/NewtonDynamics/include/packages/dContainers/dCRC.cpp
nigeyuk/HevEn
0dc970d6ecd0e5fd5512441562e2fdb4620214f0
[ "CC-BY-3.0" ]
3
2017-03-17T12:28:48.000Z
2020-03-19T19:32:02.000Z
/* Copyright (c) <2003-2016> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * includi...
92.663636
199
0.842882
nigeyuk
9d37efdd720fdf2095dc30e105835c774a216a57
2,592
cpp
C++
source/GUI/GUIButton.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/GUI/GUIButton.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/GUI/GUIButton.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
#include "GUIButton.h" #include "GUIAlphaElement.h" #include "GUIClippedRectangle.h" #include "../Tools/Logger.h" GUIButton::GUIButton(const char *cbs) : GUIAlphaElement(cbs), GUIClippedRectangle() { setBordersColor(0.0f, 0.0f, 0.0f); setDimensions(40, 22); setPosition(0.5, 0.5); setColor(100, 150,...
26.44898
84
0.59375
badbrainz
9d39f3f0190f081772a317fb4aa185c5196469bb
3,669
cpp
C++
src/packet.cpp
caseycs/pinba2
931a820e12cbc41fd5c19e87bdbfd9811c7a969b
[ "BSD-3-Clause" ]
108
2018-11-02T08:41:11.000Z
2022-02-17T22:27:23.000Z
src/packet.cpp
caseycs/pinba2
931a820e12cbc41fd5c19e87bdbfd9811c7a969b
[ "BSD-3-Clause" ]
19
2018-11-02T06:54:37.000Z
2021-09-02T15:45:40.000Z
src/packet.cpp
caseycs/pinba2
931a820e12cbc41fd5c19e87bdbfd9811c7a969b
[ "BSD-3-Clause" ]
17
2018-11-08T14:14:31.000Z
2021-12-16T15:57:38.000Z
#include <cmath> #include "pinba/globals.h" #include "pinba/limits.h" #include "pinba/dictionary.h" #include "pinba/packet.h" #include "pinba/bloom.h" #include "proto/pinba.pb-c.h" //////////////////////////////////////////////////////////////////////////////////////////////// request_validate_result_t pinba_valida...
27.795455
96
0.668029
caseycs
9d3c414ae86ce3ada2ef92da5938d299d3d93a6e
1,218
cpp
C++
example.cpp
LTU-CEG/libserialpipe
0000e0466581b68c4674ac87cc358f27f430c872
[ "BSL-1.0" ]
null
null
null
example.cpp
LTU-CEG/libserialpipe
0000e0466581b68c4674ac87cc358f27f430c872
[ "BSL-1.0" ]
null
null
null
example.cpp
LTU-CEG/libserialpipe
0000e0466581b68c4674ac87cc358f27f430c872
[ "BSL-1.0" ]
null
null
null
// Copyright Emil Fresk 2015-2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <iostream> #include "serialpipe.hpp" using namespace std; void test(const std::vector<uint8_t> &data)...
21.75
72
0.560755
LTU-CEG
9d3ce8ce3c664643eac9a0d1abe018b8d79c7184
2,787
cpp
C++
TerrainApps/VTBuilder/PrefDlg.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
4
2019-02-08T13:51:26.000Z
2021-12-07T13:11:06.000Z
TerrainApps/VTBuilder/PrefDlg.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
null
null
null
TerrainApps/VTBuilder/PrefDlg.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
7
2017-12-03T10:13:17.000Z
2022-03-29T09:51:18.000Z
// // Name: PrefDlg.cpp // // Copyright (c) 2007-2011 Virtual Terrain Project // Free for all uses, see license.txt for details. // // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #include "PrefDlg.h" #include "vtui/AutoDialog.h" // WDR: class implementations //-------------...
28.438776
78
0.712235
nakijun
9d46b3015fe4635e409aad8a16c738eebad683ba
1,222
cpp
C++
Effective Debugging: 66 Specific Ways to Debug Software and Systems/src/jenkins/JobButton.cpp
juliagoda/BookProjects
d2c2da993cc9fcbfead696b78d3bf98c66e3373c
[ "Unlicense" ]
null
null
null
Effective Debugging: 66 Specific Ways to Debug Software and Systems/src/jenkins/JobButton.cpp
juliagoda/BookProjects
d2c2da993cc9fcbfead696b78d3bf98c66e3373c
[ "Unlicense" ]
null
null
null
Effective Debugging: 66 Specific Ways to Debug Software and Systems/src/jenkins/JobButton.cpp
juliagoda/BookProjects
d2c2da993cc9fcbfead696b78d3bf98c66e3373c
[ "Unlicense" ]
null
null
null
#include "JobButton.h" #include <JenkinsJobInfo.h> #include <QLabel> #include <QIcon> #include <QHBoxLayout> #include <QMouseEvent> namespace Jenkins { JobButton::JobButton(const JenkinsJobInfo &job, QWidget *parent) : QFrame(parent) , mJob(job) { mJob.name.replace("%2F", "/"); mJob.color.remove("_anime"...
24.938776
110
0.660393
juliagoda
9d4d418618a3f1156c0efca5b457aa54f5fcc3b0
556
cpp
C++
tests/unique_ptr_custom.cpp
IvayloTsankov/mempool
f34e7e3d3a51a09f4be6a961ab6fbf1f71d1edf5
[ "MIT" ]
null
null
null
tests/unique_ptr_custom.cpp
IvayloTsankov/mempool
f34e7e3d3a51a09f4be6a961ab6fbf1f71d1edf5
[ "MIT" ]
null
null
null
tests/unique_ptr_custom.cpp
IvayloTsankov/mempool
f34e7e3d3a51a09f4be6a961ab6fbf1f71d1edf5
[ "MIT" ]
null
null
null
#include <memory> #include <utility> #include <functional> struct Vector { float x, y, z; }; struct Del { void del(Vector*) { printf("Call Del::del\n"); } }; int main() { { std::unique_ptr<Vector, std::function<void(Vector*)>> v(new Vector{ 1, 1, 1 }, [](Vector* p) { p...
17.375
86
0.523381
IvayloTsankov
9d5cbaa7701c94ef7fc554b9526d20b8543f16f6
1,113
cpp
C++
ExodusImport/Source/ExodusImport/Private/JsonObjects/JsonRigidbody.cpp
AldeRoberge/ProjectExodus
74ecd6c8719e6365b51458c65954bff2910bc36e
[ "BSD-3-Clause" ]
288
2019-04-02T08:02:59.000Z
2022-03-28T23:53:28.000Z
ExodusImport/Source/ExodusImport/Private/JsonObjects/JsonRigidbody.cpp
adamgoodrich/ProjectExodus
29a9fa87f981ad41e3b323702dc2b0d4523889d8
[ "BSD-3-Clause" ]
54
2019-04-19T08:24:05.000Z
2022-03-28T19:44:42.000Z
ExodusImport/Source/ExodusImport/Private/JsonObjects/JsonRigidbody.cpp
adamgoodrich/ProjectExodus
29a9fa87f981ad41e3b323702dc2b0d4523889d8
[ "BSD-3-Clause" ]
56
2019-04-07T03:55:39.000Z
2022-03-20T04:54:57.000Z
#include "JsonImportPrivatePCH.h" #include "JsonRigidbody.h" #include "macros.h" using namespace JsonObjects; JsonRigidbody::JsonRigidbody(JsonObjPtr data){ load(data); } void JsonRigidbody::load(JsonObjPtr data){ /*I should probably get rid of those helper macros due to reduced error checking...*/ JSON_GET_VAR(d...
25.883721
86
0.791554
AldeRoberge
9d5d30f769acc3c23f87e5c9875d59f3b69ce15f
17,404
cpp
C++
nau/src/nau/material/material.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
29
2015-09-16T22:28:30.000Z
2022-03-11T02:57:36.000Z
nau/src/nau/material/material.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
1
2017-03-29T13:32:58.000Z
2017-03-31T13:56:03.000Z
nau/src/nau/material/material.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
10
2015-10-15T14:20:15.000Z
2022-02-17T10:37:29.000Z
#include "nau/material/material.h" #include "nau.h" #include "nau/slogger.h" #include "nau/debug/profile.h" #include "nau/material/uniformBlockManager.h" using namespace nau::material; using namespace nau::render; using namespace nau::resource; Material::Material() : m_Color (), //m_Texmat (0), m_Shader (NULL), ...
20.843114
127
0.675822
Khirion
9d5d32b2050f8f812e161fc6bbf624c6ea44dd9d
1,969
cpp
C++
src/core/correlationmatrix.cpp
mfayk/KINC
0f6565ce8e1102392382e4c716c128115b611f0c
[ "MIT" ]
10
2018-08-15T13:27:35.000Z
2020-12-10T17:20:40.000Z
src/core/correlationmatrix.cpp
mfayk/KINC
0f6565ce8e1102392382e4c716c128115b611f0c
[ "MIT" ]
182
2016-07-31T07:15:15.000Z
2022-01-30T01:25:41.000Z
src/core/correlationmatrix.cpp
mfayk/KINC
0f6565ce8e1102392382e4c716c128115b611f0c
[ "MIT" ]
7
2017-10-12T22:03:42.000Z
2020-02-26T00:01:18.000Z
#include "correlationmatrix.h" #include "correlationmatrix_model.h" #include "correlationmatrix_pair.h" /*! * Return a qt table model that represents this data object as a table. */ QAbstractTableModel* CorrelationMatrix::model() { EDEBUG_FUNC(this); if ( !_model ) { _model = new Model(this); ...
21.402174
115
0.663281
mfayk
9d5d48871ba785a309b1d82c63ed1dba6eda71a1
698
hpp
C++
src/camera.hpp
VeganPower/potato3d
4f0bacbd883f42be7c1acdf1f700045325512da2
[ "MIT" ]
null
null
null
src/camera.hpp
VeganPower/potato3d
4f0bacbd883f42be7c1acdf1f700045325512da2
[ "MIT" ]
1
2018-03-29T10:56:25.000Z
2018-03-29T11:00:57.000Z
src/camera.hpp
VeganPower/potato3d
4f0bacbd883f42be7c1acdf1f700045325512da2
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "transformation.hpp" namespace potato { class Camera { public: typedef std::shared_ptr<Camera> ptr; Camera(); void transformation(Transformation const& p); Transformation const& transformation() const; f32 tan_half_fov() const; private: Transformation t_; ...
14.541667
59
0.700573
VeganPower
9d66aba8e3c327d02da94421a58bb54b6bcaced1
285
cpp
C++
src/13000/13241.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/13000/13241.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/13000/13241.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> typedef long long ll; ll gcd(ll a, ll b) { if (a < b) std::swap(a, b); while (a) { ll tmp = b % a; b = a; a = tmp; } return b; } int main() { ll a, b, m; scanf("%lld %lld", &a, &b); m = gcd(a, b); printf("%lld", (a / m)*b); }
10.961538
28
0.487719
upple
9d6a0d980860b3cc519658461272b44e3ee633a5
814
hpp
C++
Gpx/Gpx/Window/GlfwWindow.hpp
DexterDreeeam/DxtSdk2021
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
1
2021-11-18T03:57:54.000Z
2021-11-18T03:57:54.000Z
Gpx/Gpx/Window/GlfwWindow.hpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
Gpx/Gpx/Window/GlfwWindow.hpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
#pragma once #define GLFW_INCLUDE_VULKAN #include "../../External/Vulkan/Windows/Header/glfw3.h" #include "../Runtime/Interface.hpp" namespace gpx { class runtime; class glfw_window : public window { friend class vulkan_runtime; public: glfw_window(const window_desc& desc, obs<runtime> rt); virtual ~g...
17.695652
58
0.673219
DexterDreeeam
9d6d802cee9fc387ad1a03df17cbb4fddc34eda4
5,713
hpp
C++
include/polynomial/polynomial.hpp
adityakadoo/CPPMatrixLib
de577017fcbbd3d7e960c71853b1fde65ec53dbb
[ "MIT" ]
null
null
null
include/polynomial/polynomial.hpp
adityakadoo/CPPMatrixLib
de577017fcbbd3d7e960c71853b1fde65ec53dbb
[ "MIT" ]
null
null
null
include/polynomial/polynomial.hpp
adityakadoo/CPPMatrixLib
de577017fcbbd3d7e960c71853b1fde65ec53dbb
[ "MIT" ]
null
null
null
#ifndef _POLYNOMIAL_H_ #define _POLYNOMIAL_H_ #include "../matrix/matrix.hpp" #include "../matrix/matrix_utility.hpp" template<typename T> class polynomial { public: // constructor with memory allocation polynomial(size_t d,T x=0) : D(d) { P.resize(d+1, 1, x); } // default constructor pol...
25.057018
75
0.437598
adityakadoo
9d6dc6ab2d7223a691e31895c2ed17549977a850
864
cpp
C++
Chapter 05: Complete Search/Part1 : Generating Subsets/generatingsubsets_method2.cpp
pulkit1joshi/handbook_codes
4ddbd5eb53807cf93f8bae910e732e58af46d842
[ "MIT" ]
18
2020-11-26T02:26:33.000Z
2022-03-24T02:36:22.000Z
Chapter 05: Complete Search/Part1 : Generating Subsets/generatingsubsets_method2.cpp
abdullah-azab/handbook_codes
4ddbd5eb53807cf93f8bae910e732e58af46d842
[ "MIT" ]
1
2021-03-02T07:52:48.000Z
2021-03-02T07:52:48.000Z
Chapter 05: Complete Search/Part1 : Generating Subsets/generatingsubsets_method2.cpp
abdullah-azab/handbook_codes
4ddbd5eb53807cf93f8bae910e732e58af46d842
[ "MIT" ]
2
2020-11-26T02:26:35.000Z
2021-11-26T11:19:09.000Z
#include <bits/stdc++.h> using namespace std; /* Generating Subsets : Method 2 You are given a set of numbers : {0 , 1 , 2 , 3 , 4} You have to find all the subsets of this set. */ int n; int A[100]; void search() { // 1 << n means 2^n i.e this number of combinations are possible // Now 2^n will take n bits ...
19.636364
86
0.493056
pulkit1joshi
9d6de54959618449bbb8c995ef787f1cbe1daa81
681
cpp
C++
owGameMap/Sky_Material.cpp
fan3750060/OpenWow
28925ebed1b3503d88014f6a3a7bd8adc777fdcc
[ "Apache-2.0" ]
null
null
null
owGameMap/Sky_Material.cpp
fan3750060/OpenWow
28925ebed1b3503d88014f6a3a7bd8adc777fdcc
[ "Apache-2.0" ]
null
null
null
owGameMap/Sky_Material.cpp
fan3750060/OpenWow
28925ebed1b3503d88014f6a3a7bd8adc777fdcc
[ "Apache-2.0" ]
1
2020-03-30T03:22:38.000Z
2020-03-30T03:22:38.000Z
#include "stdafx.h" // General #include "Sky_Material.h" Sky_Material::Sky_Material() : MaterialWrapper(_RenderDevice->CreateMaterial()) { std::shared_ptr<Shader> g_pVertexShader = _RenderDevice->CreateShader( Shader::VertexShader, "shaders_D3D/Sky.hlsl", Shader::ShaderMacros(), "VS_main", "latest" ); g_pVer...
26.192308
91
0.754772
fan3750060
9d6e36e5cde619703fdf2cae129b1274e13a2192
460
cpp
C++
meshler/source/Interactors/CommandInteractor.cpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
meshler/source/Interactors/CommandInteractor.cpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
meshler/source/Interactors/CommandInteractor.cpp
timow-gh/FilApp
02ec78bf617fb78d872b2adceeb8a8351aa8f408
[ "Apache-2.0" ]
null
null
null
#include <Meshler/Interactors/CommandInteractor.hpp> #include <Meshler/MController.hpp> namespace Meshler { CommandInteractor::CommandInteractor(MController& controller) : m_controller(&controller) { } void CommandInteractor::onEvent(const Graphics::KeyEvent& keyEvent) { if (auto nextInteractorCommand = m_intera...
25.555556
93
0.797826
timow-gh
9d71cb630c4a2b418c9850d9b403295f5a74d91a
574
cpp
C++
c++/excel_sheet_column_title.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/excel_sheet_column_title.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/excel_sheet_column_title.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
/* Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB */ /* * */ #include "helper.h" class Solution { public: string convertToTitle(int n) { string res; while (...
14.35
92
0.468641
SongZhao
9d72e5973e0c77ec6d36e7a4797c223f5d28ed49
1,437
hpp
C++
pythran/pythonic/numpy/copy.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/copy.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/copy.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
1
2017-03-12T20:32:36.000Z
2017-03-12T20:32:36.000Z
#ifndef PYTHONIC_NUMPY_COPY_HPP #define PYTHONIC_NUMPY_COPY_HPP #include "pythonic/utils/proxy.hpp" #include "pythonic/utils/numpy_conversion.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/types/ndarray.hpp" namespace pythonic { namespace numpy { // list case template<class E> ...
29.9375
126
0.544885
Pikalchemist
9d761c433f1ba80f04b598ab74fd262121d9c126
929
cpp
C++
src/utils/splitStrByDelimTest.cpp
lunalabsltd/fontbm
6db91d9d898ae8273d8676a5d2d71b2362466f23
[ "MIT" ]
148
2018-01-22T08:59:11.000Z
2022-03-29T05:12:49.000Z
src/utils/splitStrByDelimTest.cpp
lunalabsltd/fontbm
6db91d9d898ae8273d8676a5d2d71b2362466f23
[ "MIT" ]
18
2017-09-21T15:41:26.000Z
2022-03-10T12:08:39.000Z
src/utils/splitStrByDelimTest.cpp
lunalabsltd/fontbm
6db91d9d898ae8273d8676a5d2d71b2362466f23
[ "MIT" ]
21
2017-12-12T20:01:08.000Z
2022-02-17T20:56:51.000Z
#include "../external/catch.hpp" #include "splitStrByDelim.h" TEST_CASE("splitStrByDelim") { { std::vector<std::string> r = splitStrByDelim("1-2", '-'); REQUIRE(r.size() == 2); REQUIRE(r[0] == "1"); REQUIRE(r[1] == "2"); } { std::vector<std::string> r = splitStrByDe...
23.820513
70
0.420883
lunalabsltd
9d8343e1fc243ad7e8bd42b8ccc33a1d8ef097a0
531
cpp
C++
CC/CF/Good Subarrays.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
1
2020-10-12T08:03:20.000Z
2020-10-12T08:03:20.000Z
CC/CF/Good Subarrays.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
CC/CF/Good Subarrays.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
//TLE #include <bits/stdc++.h> #define LLI long long using namespace std; int main() { LLI t; cin >> t; while (t--) { LLI n; cin >> n; string s; cin >> s; vector<LLI> arr; for (LLI i=0;i<n;i++) { arr.push_back(s[i] - '0'); } LLI...
14.75
38
0.39548
MrRobo24
9d8cdcdc3f0c7bfb50b08797b36e7e3800833873
1,301
cpp
C++
2015/25/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2015/25/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2015/25/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
#include <iostream> #include <regex> #include <string> auto read_position() { static const std::regex re{R"(\s+Enter the code at row ([1-9][0-9]*), column ([1-9][0-9]*).)"}; static const auto to_number = [] (const auto& s) { return strtol(s.data(), nullptr, 10); }; std::string line; getli...
20.015385
99
0.619523
adrian-stanciu
9d982be45559d04533ede9e5ea40e5e0b2806964
39,011
hh
C++
TswDps/Skills.hh
Philip-Trettner/tsw-optimal-dps
512ba96066b850d4a1bcdbaaac4718f95bbe7bd7
[ "MIT" ]
null
null
null
TswDps/Skills.hh
Philip-Trettner/tsw-optimal-dps
512ba96066b850d4a1bcdbaaac4718f95bbe7bd7
[ "MIT" ]
null
null
null
TswDps/Skills.hh
Philip-Trettner/tsw-optimal-dps
512ba96066b850d4a1bcdbaaac4718f95bbe7bd7
[ "MIT" ]
1
2021-12-16T20:53:51.000Z
2021-12-16T20:53:51.000Z
#pragma once #include "Skill.hh" /** * @brief Skill library * * For scalings see https://docs.google.com/spreadsheets/d/1z9b23xHPNQuqmZ5t51SeIMq2rlI6d8mPyWp9BmGNxjc/ */ struct Skills { public: private: template <Weapon weapon, DmgType dmgtype> struct Base { protected: Base() = delete; ...
31.384553
104
0.488529
Philip-Trettner
9d9d5b7473894407a4608b205be216e53d7cc87b
839
hpp
C++
Core/src/Core/Texture/TextureGL.hpp
Zephilinox/Ricochet
9ace649ecb1ccc0fa6e8b8d35b449676452d0616
[ "Unlicense" ]
null
null
null
Core/src/Core/Texture/TextureGL.hpp
Zephilinox/Ricochet
9ace649ecb1ccc0fa6e8b8d35b449676452d0616
[ "Unlicense" ]
null
null
null
Core/src/Core/Texture/TextureGL.hpp
Zephilinox/Ricochet
9ace649ecb1ccc0fa6e8b8d35b449676452d0616
[ "Unlicense" ]
null
null
null
#pragma once //SELF //LIBS //STD #include <array> #include <vector> #include <functional> namespace core { struct Pixel { std::uint8_t r = 0; std::uint8_t g = 0; std::uint8_t b = 0; std::uint8_t a = 0; }; class TextureGL { public: TextureGL(); void load(std::vector<Pixel> pixels, unsigned ...
18.644444
82
0.66031
Zephilinox
9d9e74482cc40aa003ecdb937db3342304fe3021
275
cpp
C++
3rdparty/ImagingEngineLib/data/light.cpp
jia1000/DW_Client_CTA_Multi_Tab
3f69c8354dd37f3c8bbeaefc28a2e643bcdb1ee1
[ "MIT" ]
4
2021-05-17T19:33:22.000Z
2022-03-09T12:48:58.000Z
3rdparty/ImagingEngineLib/data/light.cpp
jia1000/DW_Client_CTA_Multi_Tab
3f69c8354dd37f3c8bbeaefc28a2e643bcdb1ee1
[ "MIT" ]
null
null
null
3rdparty/ImagingEngineLib/data/light.cpp
jia1000/DW_Client_CTA_Multi_Tab
3f69c8354dd37f3c8bbeaefc28a2e643bcdb1ee1
[ "MIT" ]
null
null
null
#pragma once #include "light.h" using namespace DW::IMAGE; using namespace std; Light::Light() { } Light::~Light() { } void Light::SetLight(vtkSmartPointer<vtkLight> light) { vtk_light_ = light; } vtkSmartPointer<vtkLight> Light::GetLight() { return vtk_light_; }
10.576923
54
0.701818
jia1000
9d9fe9e904353666f2eff93c607d1edb72acfe0b
43,319
cpp
C++
src/OBJECTS/Obj.cpp
Seideman-Group/chiML
9ace5dccdbc6c173e8383f6a31ff421b4fefffdf
[ "MIT" ]
1
2019-04-27T05:25:27.000Z
2019-04-27T05:25:27.000Z
src/OBJECTS/Obj.cpp
Seideman-Group/chiML
9ace5dccdbc6c173e8383f6a31ff421b4fefffdf
[ "MIT" ]
null
null
null
src/OBJECTS/Obj.cpp
Seideman-Group/chiML
9ace5dccdbc6c173e8383f6a31ff421b4fefffdf
[ "MIT" ]
2
2019-04-03T10:08:21.000Z
2019-09-30T22:40:28.000Z
/** @file OBJECTS/Obj.cpp * @brief Class that stores all object/material information * * A class that determines if a grid point is inside the object, stores the material parameters, and * finds the gradient to determine the surface normal vector. * * @author Thomas A. Purcell (tpurcell90) * @bug No known b...
49.394527
420
0.619266
Seideman-Group
9da3b09e1a93b0754c74478164e21ecc778a5ab5
3,174
cpp
C++
files/win32/MyProgram.cpp
keejelo/c_cpp_wrappers
d330999319effe88b6279fbc84de0db5a2da04fe
[ "MIT" ]
null
null
null
files/win32/MyProgram.cpp
keejelo/c_cpp_wrappers
d330999319effe88b6279fbc84de0db5a2da04fe
[ "MIT" ]
null
null
null
files/win32/MyProgram.cpp
keejelo/c_cpp_wrappers
d330999319effe88b6279fbc84de0db5a2da04fe
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------------------------- // ** MyProgram.cpp (template) //--------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------...
37.341176
96
0.122873
keejelo
9da7e5986a644987832bbb833567d0a0ae347426
1,152
cpp
C++
Leetcode/String/sort-characters-by-frequency.cpp
susantabiswas/competitive_coding
49163ecdc81b68f5c1bd90988cc0dfac34ad5a31
[ "MIT" ]
2
2021-04-29T14:44:17.000Z
2021-10-01T17:33:22.000Z
Leetcode/String/sort-characters-by-frequency.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
null
null
null
Leetcode/String/sort-characters-by-frequency.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
1
2021-10-01T17:33:29.000Z
2021-10-01T17:33:29.000Z
/* https://leetcode.com/problems/sort-characters-by-frequency/ TC: O(N), SC: O(1) Sorting 256 chars is constant + linear traversal */ class Solution { public: string frequencySort(string s) { // (char, frequency) vector<pair<int, int>> char_freq(256); for(int i = 0; i < char...
29.538462
67
0.493924
susantabiswas
9dabe1d4d4d94f67d267e0d54f58eb76c97c761c
536
cpp
C++
DecodeWays.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
3
2017-11-27T03:01:50.000Z
2021-03-13T08:14:00.000Z
DecodeWays.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
DecodeWays.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
class Solution { public: bool check(char a, char b) { if (a == '1') return true; if (a == '2' && b <= '6') return true; return false; } int numDecodings(string s) { if (s.length() == 0) return 0; vector<int> dp(s.length() + 1, 0); dp[0] = 1; for (int i...
28.210526
52
0.384328
yplusplus
9db771ef7a346888dc281b44f5ba4945dd06e884
410
hpp
C++
Oscillators/SinWave.hpp
jamestiller/Rain
1e55d90065be7ada9455029ad735dd285e7d2266
[ "Zlib" ]
1
2016-04-05T12:20:47.000Z
2016-04-05T12:20:47.000Z
Oscillators/SinWave.hpp
jamestiller/Rain
1e55d90065be7ada9455029ad735dd285e7d2266
[ "Zlib" ]
null
null
null
Oscillators/SinWave.hpp
jamestiller/Rain
1e55d90065be7ada9455029ad735dd285e7d2266
[ "Zlib" ]
null
null
null
// // SinWave.hpp // Rain // // Created by James Tiller on 2/25/16. // // #ifndef SinWave_hpp #define SinWave_hpp #include <stdio.h> #include "IWave.hpp" class SinWave : public IWave { public: friend class Oscillator; protected: SinWave() : IWave() { updateIncrement(); }; virtual void generate(do...
14.642857
55
0.656098
jamestiller
9dbc3fea2fb7076bf8259d701c1e6dfb5a07ef6a
1,816
cpp
C++
EditWidgets/CheckBox.cpp
sielicki/PothosFlow
61487651f3718fc75fd2da6ef36e90c8537c8dd3
[ "BSL-1.0" ]
null
null
null
EditWidgets/CheckBox.cpp
sielicki/PothosFlow
61487651f3718fc75fd2da6ef36e90c8537c8dd3
[ "BSL-1.0" ]
null
null
null
EditWidgets/CheckBox.cpp
sielicki/PothosFlow
61487651f3718fc75fd2da6ef36e90c8537c8dd3
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2017 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include <Pothos/Plugin.hpp> #include <QJsonObject> #include <QJsonArray> #include <QCheckBox> /*********************************************************************** * Check box with labels ***************************************************...
25.222222
96
0.558921
sielicki
9dc3596075ad8409b242741de5bd33f0a24724ef
3,164
hpp
C++
myvector.hpp
mino2357/Hello_OpenSiv3D
c12cdc08da63d5d3d4ab377e8aa32d69167ed0eb
[ "MIT" ]
null
null
null
myvector.hpp
mino2357/Hello_OpenSiv3D
c12cdc08da63d5d3d4ab377e8aa32d69167ed0eb
[ "MIT" ]
1
2017-07-01T15:26:42.000Z
2018-04-23T08:25:49.000Z
myvector.hpp
mino2357/Hello_OpenSiv3D
c12cdc08da63d5d3d4ab377e8aa32d69167ed0eb
[ "MIT" ]
null
null
null
#include <iostream> #include <limits> #include <iomanip> #include <cmath> namespace mino2357{ template<typename T = double> class vector{ private: T componentX; T componentY; public: vector(T x, T y) noexcept : componentX(x), componentY(y) {} vector() noexcept : vector{T...
29.849057
96
0.581858
mino2357
9dc4bb85ccbfb05f0735589c059e53852a1be17a
6,901
hpp
C++
include/boost/cgi/cgi/request_service.hpp
Sil3ntStorm/libtelegram
a0c52ba4aac5519a3031dba506ad4a64cd8fca83
[ "MIT" ]
118
2016-10-02T10:49:02.000Z
2022-03-23T14:32:05.000Z
include/boost/cgi/cgi/request_service.hpp
Sil3ntStorm/libtelegram
a0c52ba4aac5519a3031dba506ad4a64cd8fca83
[ "MIT" ]
21
2017-04-21T13:34:36.000Z
2021-12-08T17:00:40.000Z
include/boost/cgi/cgi/request_service.hpp
Sil3ntStorm/libtelegram
a0c52ba4aac5519a3031dba506ad4a64cd8fca83
[ "MIT" ]
35
2016-06-08T15:31:03.000Z
2022-03-23T16:43:28.000Z
// -- cgi_service_impl.hpp -- // // Copyright (c) Darren Garvey 2007-2009. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // ///////////////////////////////////////////////////...
28.167347
80
0.62759
Sil3ntStorm
e3853519478efa481dbaf3ad6adca8f24e6cb673
594
cpp
C++
#1077 Kuchiguse.cpp
ZachVec/PAT-Advanced
52ba5989c095ddbee3c297e82a4b3d0d2e0cd449
[ "MIT" ]
1
2021-12-26T08:34:47.000Z
2021-12-26T08:34:47.000Z
#1077 Kuchiguse.cpp
ZachVec/PAT-Advanced
52ba5989c095ddbee3c297e82a4b3d0d2e0cd449
[ "MIT" ]
null
null
null
#1077 Kuchiguse.cpp
ZachVec/PAT-Advanced
52ba5989c095ddbee3c297e82a4b3d0d2e0cd449
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; constexpr size_t MAX = 258; int main() { size_t n, orilen, len; char str[MAX], suffix[MAX]; if(!scanf("%zu\n", &n)) return 0; cin.getline(suffix, MAX); orilen = len = strlen(suffix); for(size_t i = 1, slen, j; i < n; ++i, len = j) { ...
25.826087
66
0.526936
ZachVec
e385465fd6aa11da88d1d249aa6dc3b258d41b69
2,145
hpp
C++
Habitat.hpp
ambotaku/Urknall-lite
79d812c0c895294699d9857415d3850f29f1b8a5
[ "MIT" ]
1
2022-03-07T20:33:13.000Z
2022-03-07T20:33:13.000Z
Habitat.hpp
ambotaku/Urknall-lite
79d812c0c895294699d9857415d3850f29f1b8a5
[ "MIT" ]
null
null
null
Habitat.hpp
ambotaku/Urknall-lite
79d812c0c895294699d9857415d3850f29f1b8a5
[ "MIT" ]
null
null
null
#ifndef _HABITAT_H_ #define _HABITAT_H_ #include "GFX.hpp" class Habitat : public GFX { public: /** * @brief create lifegame habitat (playfield) * * @param devAddr device i2c address. * @param size oled display size (W128xH64 or W128xH32) * @param i2c i2c instance */ Habitat(uint...
25.843373
71
0.649883
ambotaku
e387ee6d08bbad2a7ed33e7add5b35dfb9ed8375
10,977
hpp
C++
filter/bloom_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
33
2021-08-29T00:19:14.000Z
2022-03-30T02:40:36.000Z
filter/bloom_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
null
null
null
filter/bloom_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
3
2021-09-09T11:34:35.000Z
2022-01-12T11:10:05.000Z
/* ** Modified from https://github.com/ArashPartow/bloom ** (1) simplify the design ** (2) add serialize/deserialize interfaces */ #ifndef KUNLUN_BLOOM_FILTER_HPP #define KUNLUN_BLOOM_FILTER_HPP #include "../include/std.inc" #include "../crypto/ec_point.hpp" #include "../utility/murmurhash3.hpp" #include "../utility/...
36.959596
117
0.67277
yuchen1024
e389ef611cb456374037d099a45ff7cbc55dea6f
9,590
cpp
C++
src/Lib/rfc3550/RtpSessionBase.cpp
miseri/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
1
2021-07-14T08:15:05.000Z
2021-07-14T08:15:05.000Z
src/Lib/rfc3550/RtpSessionBase.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
null
null
null
src/Lib/rfc3550/RtpSessionBase.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
2
2021-07-14T08:15:02.000Z
2021-07-14T08:56:10.000Z
#include "CorePch.h" #include <rtp++/rfc3550/RtpSessionBase.h> #include <boost/exception/all.hpp> #include <rtp++/rfc3550/RtcpPacketBase.h> #include <rtp++/util/ApplicationParameters.h> #ifndef EXIT_ON_TRUE #define EXIT_ON_TRUE(condition, log_message) if ((condition)){\ LOG(WARNING) << log_message;return false;} #e...
32.730375
154
0.72951
miseri
e38a397590ea4d9e9eaa297ae75d2c15875804d7
3,122
cpp
C++
Queue/Circular_Queue.cpp
DeepthiTabithaBennet/Cpp_TheDataStructuresSurvivalKit
2819feeaabb6c65c1f89d592b89e25e2fca5261f
[ "BSD-3-Clause" ]
2
2021-05-21T17:15:10.000Z
2021-05-21T17:22:14.000Z
Queue/Circular_Queue.cpp
DeepthiTabithaBennet/Cpp_TheDataStructuresSurvivalKit
2819feeaabb6c65c1f89d592b89e25e2fca5261f
[ "BSD-3-Clause" ]
null
null
null
Queue/Circular_Queue.cpp
DeepthiTabithaBennet/Cpp_TheDataStructuresSurvivalKit
2819feeaabb6c65c1f89d592b89e25e2fca5261f
[ "BSD-3-Clause" ]
1
2022-01-11T07:52:42.000Z
2022-01-11T07:52:42.000Z
#include <iostream> using namespace std; /*---------------------------------------------------------------------------*/ class QUEUE{ private: int cqueue[5]; int front, rear, n; public: QUEUE(); //default constructor void insertCQ(int); void deleteCQ(); void...
22.955882
79
0.295324
DeepthiTabithaBennet
e3917d5cf12b3fc4abeac17e1870106c71260220
1,669
cpp
C++
src/test/middlewares/Volume/marshaller.cpp
kennymalac/tinyCDN
5227ce336e54fe8c74a9b4a5910e324f9ff913ac
[ "Apache-2.0" ]
16
2018-04-15T15:06:01.000Z
2020-06-04T08:54:01.000Z
src/test/middlewares/Volume/marshaller.cpp
kennymalac/tinyCDN
5227ce336e54fe8c74a9b4a5910e324f9ff913ac
[ "Apache-2.0" ]
2
2019-09-09T20:13:52.000Z
2019-09-17T23:52:54.000Z
src/test/middlewares/Volume/marshaller.cpp
kennymalac/tinyCDN
5227ce336e54fe8c74a9b4a5910e324f9ff913ac
[ "Apache-2.0" ]
2
2018-05-18T12:31:34.000Z
2019-09-15T18:38:08.000Z
#include "../../include/catch.hpp" #include <string> #include <iostream> #include "src/utility.hpp" #include "src/middlewares/Volume/volume.hpp" #include "src/middlewares/Volume/marshaller.hpp" using namespace TinyCDN; using namespace TinyCDN::Utility; using namespace TinyCDN::Middleware::Volume; TEST_CASE("VolumeP...
35.510638
125
0.717196
kennymalac
e392d203a40d6d5df2be7f0399e8b18e79f75ccb
4,679
cpp
C++
Tests/src/Log/Logger.cpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
2
2019-02-02T20:48:17.000Z
2019-02-22T09:59:40.000Z
Tests/src/Log/Logger.cpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
125
2020-01-14T18:26:38.000Z
2021-02-23T15:33:55.000Z
Tests/src/Log/Logger.cpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
1
2020-05-26T08:55:10.000Z
2020-05-26T08:55:10.000Z
// Copyright (c) 2020, BlockProject 3D // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list ...
33.905797
105
0.6542
BlockProject3D
e3961a411be58af43857ea8e9c44b116cacb52f6
46
cpp
C++
source/Graphics/Color.cpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
source/Graphics/Color.cpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
source/Graphics/Color.cpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
#include "include/Pancake/Graphics/Color.hpp"
23
45
0.804348
Dante12129
e3971d733659d1e8c2f3b625207d207c7eb4be67
423
hpp
C++
ext/src/org/w3c/dom/NodeList.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/org/w3c/dom/NodeList.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/org/w3c/dom/NodeList.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <org/w3c/dom/fwd-POI.hpp> #include <java/lang/Object.hpp> struct org::w3c::dom::NodeList : public virtual ::java::lang::Object { virtual int32_t getLength() = 0; ...
22.263158
97
0.685579
pebble2015