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
7126746ee0dc4f34deec149f719d2ad12da73918
1,950
cpp
C++
src/data/image/reader.cpp
hyp/Arpheg
78d142c15028da7c0c2ef4503bed6bcfd1ced67d
[ "BSD-3-Clause" ]
1
2017-04-10T17:27:57.000Z
2017-04-10T17:27:57.000Z
src/data/image/reader.cpp
hyp/Arpheg
78d142c15028da7c0c2ef4503bed6bcfd1ced67d
[ "BSD-3-Clause" ]
null
null
null
src/data/image/reader.cpp
hyp/Arpheg
78d142c15028da7c0c2ef4503bed6bcfd1ced67d
[ "BSD-3-Clause" ]
null
null
null
#ifndef ARPHEG_RESOURCES_NO_FORMATTED #include <string.h> #include "../../core/platform.h" #include "../../core/assert.h" #include "../../core/io.h" #include "../../services.h" #include "../data.h" #include "reader.h" #ifdef ARPHEG_PLATFORM_MARMALADE #include <IwImage.h> namespace data { namespace image { void Read...
25.657895
111
0.685128
hyp
7127ef9f3a8b661935ef6ffc8d9981905b3b81d6
2,527
cpp
C++
native/util_fallback.cpp
Regal-Internet-Brothers/util
3a24c33d51548c3c2cfc31bf9ea025350dd93221
[ "MIT" ]
null
null
null
native/util_fallback.cpp
Regal-Internet-Brothers/util
3a24c33d51548c3c2cfc31bf9ea025350dd93221
[ "MIT" ]
1
2016-02-08T02:02:23.000Z
2016-02-08T05:54:24.000Z
native/util_fallback.cpp
Regal-Internet-Brothers/util
3a24c33d51548c3c2cfc31bf9ea025350dd93221
[ "MIT" ]
null
null
null
/* ATTENTION: The functionality provided in this file is largely untested. This file uses specific POSIX and vendor-defined functionality in order to get the number of processors/threads available on a system. Specific measures are made to make sure POSIX functionality is supported, however, I can't support e...
26.882979
94
0.692125
Regal-Internet-Brothers
7134d12703f3ec4c58129eede1ae314060aec810
4,776
cpp
C++
TEST/Qt_PCD_Loader/build/moc_pclviewer.cpp
hsean/PCL-GUI
9bbaea809a6b01e51292aad914ded77761b8bf66
[ "MIT" ]
null
null
null
TEST/Qt_PCD_Loader/build/moc_pclviewer.cpp
hsean/PCL-GUI
9bbaea809a6b01e51292aad914ded77761b8bf66
[ "MIT" ]
null
null
null
TEST/Qt_PCD_Loader/build/moc_pclviewer.cpp
hsean/PCL-GUI
9bbaea809a6b01e51292aad914ded77761b8bf66
[ "MIT" ]
1
2021-01-31T11:28:18.000Z
2021-01-31T11:28:18.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'pclviewer.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2) ** ** WARNING! All changes made in this file will be lost! ***********************************************************...
34.114286
96
0.615787
hsean
7136b134b9a2593882c76c9bfa03572c95d79451
6,220
cpp
C++
src/fast_lzma2_helper.cpp
BioinfoSZU/CURC
af256131592e0f8ac1ab06442a49a6ab8686646f
[ "MIT" ]
null
null
null
src/fast_lzma2_helper.cpp
BioinfoSZU/CURC
af256131592e0f8ac1ab06442a49a6ab8686646f
[ "MIT" ]
null
null
null
src/fast_lzma2_helper.cpp
BioinfoSZU/CURC
af256131592e0f8ac1ab06442a49a6ab8686646f
[ "MIT" ]
null
null
null
/** Software License: ----------------- Copyright (c) 2021 Zexuan Zhu<zhuzx@szu.edu.cn> 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 right...
32.736842
96
0.614952
BioinfoSZU
7146dffd0476439d27f90ae218dcf8f98790f78c
886
hh
C++
RecoDataProducts/inc/ExtMonFNALTrkClusterResiduals.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
RecoDataProducts/inc/ExtMonFNALTrkClusterResiduals.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
RecoDataProducts/inc/ExtMonFNALTrkClusterResiduals.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
// // Original author Andrei Gaponenko // #ifndef RecoDataProducts_ExtMonFNALTrkClusterResiduals_hh #define RecoDataProducts_ExtMonFNALTrkClusterResiduals_hh namespace mu2e { //================================================================ class ExtMonFNALTrkClusterResiduals { public: double dx() const ...
22.717949
75
0.636569
lborrel
7155875e3387d0714e274e22e891bb8336fc0e45
818
cc
C++
src/error/error.cc
rimio/cbasic
1ab520ba5ecca94ce57ce31e73304ade1b44ec66
[ "MIT" ]
2
2015-01-28T09:01:51.000Z
2015-02-09T11:17:45.000Z
src/error/error.cc
rimio/cbasic
1ab520ba5ecca94ce57ce31e73304ade1b44ec66
[ "MIT" ]
9
2015-01-27T17:48:53.000Z
2015-02-09T22:15:24.000Z
src/error/error.cc
rimio/cbasic
1ab520ba5ecca94ce57ce31e73304ade1b44ec66
[ "MIT" ]
1
2020-04-09T10:33:44.000Z
2020-04-09T10:33:44.000Z
#include <iostream> #include <cassert> #include "error.h" void Error::reportError (const std::string error) { std::cerr << error << std::endl; } void Error::error (const std::string error) { Error::reportError ("Error: " + error); } void Error::internalError (const std::string error) { Error::reportError ("Intern...
25.5625
124
0.667482
rimio
71581aa975dfaf6915dac1b9dd2ed30aca019e01
399
cpp
C++
src/main.cpp
kf5011/solution-2.3
044d9c4a298c0d8f88c73dc9aabf4b16105743fa
[ "MIT" ]
null
null
null
src/main.cpp
kf5011/solution-2.3
044d9c4a298c0d8f88c73dc9aabf4b16105743fa
[ "MIT" ]
null
null
null
src/main.cpp
kf5011/solution-2.3
044d9c4a298c0d8f88c73dc9aabf4b16105743fa
[ "MIT" ]
16
2018-01-16T22:35:49.000Z
2018-05-10T08:02:58.000Z
#include <mbed.h> DigitalOut green(LED_GREEN); void on(void) { green.write(0); } void off(void) { green.write(1); } Ticker pit; unsigned int period = 100; unsigned int duration = 10; void centisecond(void) { static unsigned int cs=0; cs = (cs+1) % period ; if( cs<duration ) on(); else off...
16.625
36
0.614035
kf5011
7158d17e8fc768348e591738a12ffaa7ba8a8a33
1,014
hpp
C++
include/sprout/utility/string_view.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/utility/string_view.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/utility/string_view.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) ==...
44.086957
79
0.686391
thinkoid
71594fde4fa7b4062bdab5e546cb4c6e820de361
1,578
cpp
C++
A2OnlineJudge/Ladder_1400_1499/CaesarsLegions.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
A2OnlineJudge/Ladder_1400_1499/CaesarsLegions.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
A2OnlineJudge/Ladder_1400_1499/CaesarsLegions.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> typedef long long ll; const ll mod = 1e8; const int MAX = 1e5 + 7; using namespace std; typedef vector<int> vi; ll dp[105][105][15][15]; class CaesarsLegions { int n1, n2, k1, k2; public: //My solution ll compute(int N1, int N2, int kN1, int kN2) { if (N1 < 0 || N2 < 0) return 0; if ((N1...
23.552239
79
0.503169
seeva92
715bf5037677e0cda420fe8597de3780828db81f
1,238
hpp
C++
tests/2D-prototype/src/render.hpp
111116/virtualventure
86d7b334a0b0587bad01813a8fa350fd3ef31ccb
[ "CC0-1.0" ]
1
2021-12-22T03:03:25.000Z
2021-12-22T03:03:25.000Z
tests/2D-prototype/src/render.hpp
111116/virtualventure
86d7b334a0b0587bad01813a8fa350fd3ef31ccb
[ "CC0-1.0" ]
null
null
null
tests/2D-prototype/src/render.hpp
111116/virtualventure
86d7b334a0b0587bad01813a8fa350fd3ef31ccb
[ "CC0-1.0" ]
1
2021-12-02T01:50:10.000Z
2021-12-02T01:50:10.000Z
#pragma once #include <functional> #include "data_types.hpp" #include "lib/consolelog.hpp" void render(int in_nbox, AAB* in_boxes, char* out_color, std::function<Color(int)> getTexture) { // screen resolution const int w = 640; const int h = 480; unsigned char zbuffer[w][h]; int uvbuffer[w][h]; // clear buffer...
21.719298
94
0.583199
111116
716334835ce1270b5a178e240e8e4faf062418ac
3,106
hpp
C++
Gateway/main/include/common/system/CVarSys.hpp
Idogftw/ProjectRev
cf3b78d211f0bc38480801bcc3e91b692a6879f4
[ "MIT" ]
null
null
null
Gateway/main/include/common/system/CVarSys.hpp
Idogftw/ProjectRev
cf3b78d211f0bc38480801bcc3e91b692a6879f4
[ "MIT" ]
null
null
null
Gateway/main/include/common/system/CVarSys.hpp
Idogftw/ProjectRev
cf3b78d211f0bc38480801bcc3e91b692a6879f4
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <string> #include <vector> #include <fstream> #include "common/system/CmdSys.hpp" #include "common/Engine.hpp" namespace Gateway { enum CVarFlags { //Data Types CVarFlag_Bool, CVarFlag_Long, CVarFlag_Int, CVarFlag_Float, CVarFlag_String, //System CVarFlag_...
18.488095
111
0.685126
Idogftw
716cc4bbedcd7b705617327ff1cf58b8122ab97a
2,365
cpp
C++
COServer.Security.Cryptography/tqcipher.cpp
COPS-Projects/-COServer.Security.Cryptography
52d640aef277814eb86230b296d29fdb60c73de6
[ "BSD-3-Clause" ]
null
null
null
COServer.Security.Cryptography/tqcipher.cpp
COPS-Projects/-COServer.Security.Cryptography
52d640aef277814eb86230b296d29fdb60c73de6
[ "BSD-3-Clause" ]
null
null
null
COServer.Security.Cryptography/tqcipher.cpp
COPS-Projects/-COServer.Security.Cryptography
52d640aef277814eb86230b296d29fdb60c73de6
[ "BSD-3-Clause" ]
null
null
null
/* * *** COServer.Security.Cryptography - Closed Source *** * Copyright (C) 2015 Jean-Philippe Boivin * * Please read the WARNING, DISCLAIMER and PATENTS * sections in the LICENSE file. */ #include "tqcipher.h" #include "tqcipher_avx2.h" #include "tqcipher_sse2.h" #include "tqcipher_std.h" #include "instructions...
20.565217
105
0.679493
COPS-Projects
7171c145410185cb3c06e2663d97e5951bbac455
4,661
cpp
C++
liberty/lib/Utilities/AllocaHacks.cpp
righier/cpf
0a9d7c2cde6676be519c490d98197eb5283520b4
[ "MIT" ]
18
2020-08-14T21:19:59.000Z
2022-02-22T12:43:52.000Z
liberty/lib/Utilities/AllocaHacks.cpp
righier/cpf
0a9d7c2cde6676be519c490d98197eb5283520b4
[ "MIT" ]
23
2020-08-17T21:04:36.000Z
2022-03-02T19:29:27.000Z
liberty/lib/Utilities/AllocaHacks.cpp
righier/cpf
0a9d7c2cde6676be519c490d98197eb5283520b4
[ "MIT" ]
2
2020-09-17T17:25:19.000Z
2021-05-21T11:21:43.000Z
#include <list> #include "llvm/IR/Instructions.h" #include "liberty/Utilities/AllocaHacks.h" namespace liberty { using namespace llvm; typedef std::vector<User*> Users; typedef Users::iterator UsersIt; typedef Value::user_iterator UI; typedef std::pair<BasicBlock*,Value*> BB2Val; typedef std::vector<...
32.823944
96
0.594508
righier
7173b16b7deb07206d4ce681da08f2945ea71ec3
217
cpp
C++
Mathematics/Function/Computable/Expression/Primitive/string/a.cpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Mathematics/Function/Computable/Expression/Primitive/string/a.cpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Mathematics/Function/Computable/Expression/Primitive/string/a.cpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Mathematics/Function/Computable/Expression/Primitive/string/a.cpp #include "../../../Header.hpp" #include "a_Body.hpp" DEFINITION_OF_WRITE_TO_FOR_EXPRESSION( string );
27.125
105
0.751152
p-adic
718089547e1617b84fc106c2aeb8cfbe2abd9b72
3,890
cc
C++
http/httprequest.cc
xingyuuchen/unixtar
ec074bbf108bc366a943e244925551f104c72b12
[ "MIT" ]
14
2021-04-16T14:10:57.000Z
2022-02-10T08:30:07.000Z
http/httprequest.cc
xingyuuchen/unixtar
ec074bbf108bc366a943e244925551f104c72b12
[ "MIT" ]
null
null
null
http/httprequest.cc
xingyuuchen/unixtar
ec074bbf108bc366a943e244925551f104c72b12
[ "MIT" ]
3
2021-05-12T12:43:20.000Z
2022-03-06T15:36:02.000Z
#include "httprequest.h" #include "firstline.h" #include "headerfield.h" #include "log.h" #include <cstring> #include <cassert> #include "strutil.h" namespace http { namespace request { void Pack(const std::string &_host, const std::string &_url, const std::map<std::string, std::string> *_headers, ...
26.462585
89
0.642931
xingyuuchen
7192d91fab7f76607b9cb333f5896d8cdcbc49e0
823
cpp
C++
LightOJ/OneWayRoad.cpp
sourav025/algorithms-practices
987932fe0b995c61fc40d1b5a7da18dce8492752
[ "MIT" ]
null
null
null
LightOJ/OneWayRoad.cpp
sourav025/algorithms-practices
987932fe0b995c61fc40d1b5a7da18dce8492752
[ "MIT" ]
null
null
null
LightOJ/OneWayRoad.cpp
sourav025/algorithms-practices
987932fe0b995c61fc40d1b5a7da18dce8492752
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> #define MAX 105 using namespace std; int row, column, n; bool Left[MAX+7]; bool Right[MAX+7]; int left_weight; int right_weight; int main() { int tc, t = 0, i, j, k, m, x, y, z, a, b, c, value, l, d, mx; char ch; bool flag; scanf...
15.826923
63
0.505468
sourav025
71965a6ba0cd2845791f6c77672181aadd210023
2,105
cpp
C++
cqueue.cpp
mutable-dan/ringbuffer_lf
c5cc83db7b5f5aec81f4d747b8ab52ad6b0212aa
[ "MIT" ]
null
null
null
cqueue.cpp
mutable-dan/ringbuffer_lf
c5cc83db7b5f5aec81f4d747b8ab52ad6b0212aa
[ "MIT" ]
null
null
null
cqueue.cpp
mutable-dan/ringbuffer_lf
c5cc83db7b5f5aec81f4d747b8ab52ad6b0212aa
[ "MIT" ]
1
2021-06-21T09:02:29.000Z
2021-06-21T09:02:29.000Z
#include "cqueue.h" #include <iostream> #include <cstdlib> #include <cstdint> #include <unistd.h> #include <cstring> using namespace std; namespace collections { // lock free single reade, single writer /////////////////////////////////////////// CQueueLockFreeSingle::CQueueLockFreeSingle...
24.195402
112
0.540143
mutable-dan
71a484512802573b7519f79d5efeb0779fbdcac7
560
cpp
C++
keymap.cpp
kevinfrei/kbfw
7fb714003dde5c16654cee4337f07975911b732a
[ "Unlicense" ]
null
null
null
keymap.cpp
kevinfrei/kbfw
7fb714003dde5c16654cee4337f07975911b732a
[ "Unlicense" ]
null
null
null
keymap.cpp
kevinfrei/kbfw
7fb714003dde5c16654cee4337f07975911b732a
[ "Unlicense" ]
null
null
null
#include <vector> #include "keymaps/keymap.h" #include "scancode.h" #include "scanner/scanner.h" std::vector<const KeymapAction*> Keymap::mapToActions(KBState* state, Scanner* scanner, uint32_t now) { std::ve...
32.941176
71
0.585714
kevinfrei
71a7c88a96d41b95b91e874cd8a69d1b46e9a391
3,640
cpp
C++
UserMenager.cpp
lewy9109/MyPocket
ff09ae0d04807366d5d0b8cfe7204eea34323f08
[ "Unlicense" ]
null
null
null
UserMenager.cpp
lewy9109/MyPocket
ff09ae0d04807366d5d0b8cfe7204eea34323f08
[ "Unlicense" ]
null
null
null
UserMenager.cpp
lewy9109/MyPocket
ff09ae0d04807366d5d0b8cfe7204eea34323f08
[ "Unlicense" ]
null
null
null
// // UserMenager.cpp // Budget // // Created by Krystian Lewandowski on 18/03/2020. // Copyright © 2020 Krystian Lewandowski. All rights reserved. // #include "UserMenager.hpp" void UserMenager::registerUaer() { User user = giveDataNewUser(); users.push_back(user); fileWithUser.addUserToFil...
22.469136
80
0.540934
lewy9109
71a911404bf9dc6a7e54130aa41927e0a7a7e35a
11,255
cpp
C++
json.cpp
cxrasdfg/json_yacc_lex
28c58bbcfb9c6d478cc69670b7e923078f6a20cc
[ "MIT" ]
null
null
null
json.cpp
cxrasdfg/json_yacc_lex
28c58bbcfb9c6d478cc69670b7e923078f6a20cc
[ "MIT" ]
null
null
null
json.cpp
cxrasdfg/json_yacc_lex
28c58bbcfb9c6d478cc69670b7e923078f6a20cc
[ "MIT" ]
null
null
null
/** * Created by theppsh on 17-5-7. */ #include "json.hpp" json_ast::pNode json_ast::AllocNode(const ASTType type) { return std::make_shared<json::JsonObject>(type); } json_ast::pNode json_ast::CreateString(const char *str, const int leng) { auto result = AllocNode(ASTType::AT_STRING); result->string_v...
28.858974
149
0.514793
cxrasdfg
71ac9cc5a25498fa52a1772412df99a9ceafcf2c
782
cpp
C++
mock-po2/bluetooth/test_client.cpp
jackrwoods/pilot-health-monitoring-capstone
25fa9ee1f851832744d4a3fb55b087020c3acb32
[ "MIT" ]
null
null
null
mock-po2/bluetooth/test_client.cpp
jackrwoods/pilot-health-monitoring-capstone
25fa9ee1f851832744d4a3fb55b087020c3acb32
[ "MIT" ]
null
null
null
mock-po2/bluetooth/test_client.cpp
jackrwoods/pilot-health-monitoring-capstone
25fa9ee1f851832744d4a3fb55b087020c3acb32
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include "./bt_client.hpp" int main(int argc, char *argv[]) { if (argc != 2) { std::cerr << "Exactly two arguments required: ./test_client.out [blueooth address]" << std::endl; return 1; } std::cout << "Client Test" << std::endl; PHMS_Bluetoot...
20.578947
105
0.544757
jackrwoods
71b25f37aa4e5a56fbecb94ec3de2ff59b701d61
629
cpp
C++
BasicStructure/NodeInfo.cpp
xingyang-liu/StreamAudioIndex
d7bfb26ab63b8b4806cf80b2c4b416bcb8513481
[ "BSD-3-Clause" ]
null
null
null
BasicStructure/NodeInfo.cpp
xingyang-liu/StreamAudioIndex
d7bfb26ab63b8b4806cf80b2c4b416bcb8513481
[ "BSD-3-Clause" ]
null
null
null
BasicStructure/NodeInfo.cpp
xingyang-liu/StreamAudioIndex
d7bfb26ab63b8b4806cf80b2c4b416bcb8513481
[ "BSD-3-Clause" ]
null
null
null
// // Created by watson on 22/07/17. // #include "NodeInfo.h" NodeInfo::NodeInfo(){next_fresh=NULL;next_sig=NULL;next_termFreq=NULL;} NodeInfo::NodeInfo(const NodeInfo&other) { next_fresh=other.next_fresh; next_sig=other.next_sig; next_termFreq=other.next_termFreq; tf=other.tf; id=other.id; } N...
17.472222
71
0.63434
xingyang-liu
71b77e67574f331a915cb8fcc9909832d5c1ee39
16,079
cpp
C++
arquivos .h e .cpp/Esqueleto.cpp
moises-dias/hunter-adventures
a403bc09d3583005ad689ed2ebbfe1361e678788
[ "MIT" ]
2
2020-05-26T22:46:48.000Z
2022-01-12T12:32:06.000Z
arquivos .h e .cpp/Esqueleto.cpp
moises-dias/hunter-adventures
a403bc09d3583005ad689ed2ebbfe1361e678788
[ "MIT" ]
null
null
null
arquivos .h e .cpp/Esqueleto.cpp
moises-dias/hunter-adventures
a403bc09d3583005ad689ed2ebbfe1361e678788
[ "MIT" ]
null
null
null
#include "Esqueleto.h" #include "Osso_Aereo.h" #include "Ataque_Generico.h" #include "Lista_Entidades.h" Esqueleto::Esqueleto() { } Esqueleto::Esqueleto(int ix,int iy) { /**PARAMETROS DO INIMMIGO**/ vidaBase = 4200; vidaRand = 420; danoBase = 1000; danoRand = 100; danoGolpe = 1500; danoGol...
29.181488
124
0.562908
moises-dias
71c8091a0d765adb46ab489b81296426beab5b77
4,001
cpp
C++
src/NasNas/core/graphics/ParticleSystem.cpp
Madour/NasNas
c6072d3d34116eca4ebff41899e14141d3009c03
[ "Zlib" ]
148
2020-04-08T13:45:34.000Z
2022-01-29T13:52:10.000Z
src/NasNas/core/graphics/ParticleSystem.cpp
Madour/NasNas
c6072d3d34116eca4ebff41899e14141d3009c03
[ "Zlib" ]
5
2020-09-15T12:34:31.000Z
2022-02-14T20:59:12.000Z
src/NasNas/core/graphics/ParticleSystem.cpp
Madour/NasNas
c6072d3d34116eca4ebff41899e14141d3009c03
[ "Zlib" ]
3
2020-10-03T22:35:20.000Z
2020-10-05T04:55:45.000Z
// Created by Modar Nasser on 14/02/2021. #include "NasNas/core/graphics/ParticleSystem.hpp" #include "NasNas/core/data/Config.hpp" using namespace ns; void ParticleSystem::setTexture(const sf::Texture& texture) { m_texture = &texture; } void ParticleSystem::setEmitRate(float rate) { m_rate = rate; } void ...
31.753968
84
0.611347
Madour
71c8e035178d126ff54b6c6d1423c10d00eb8df5
5,289
hpp
C++
include/fl/filter/gaussian/gaussian_filter_nonlinear.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
17
2015-07-03T06:53:05.000Z
2021-05-15T20:55:12.000Z
include/fl/filter/gaussian/gaussian_filter_nonlinear.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
3
2015-02-20T12:48:17.000Z
2019-12-18T08:45:13.000Z
include/fl/filter/gaussian/gaussian_filter_nonlinear.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
15
2015-02-20T11:34:14.000Z
2021-05-15T20:55:13.000Z
/* * This is part of the fl library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2015 Max Planck Society, * Autonomous Motion Department, * Institute for Intelligent Systems * * This Source Code Form is subject to the terms of the MIT License (MIT). ...
29.713483
95
0.654188
aeolusbot-tommyliu
71ca97f162943a766878576fd0e76384bbcec285
143
cpp
C++
src/Engine/GAME/thl/thl_GameRegister.cpp
MasonLeeBack/RSEngine
9ac4a0380898cb59a48d29dc7250dfb70430932f
[ "MIT" ]
1
2019-01-03T13:42:10.000Z
2019-01-03T13:42:10.000Z
src/Engine/GAME/thl/thl_GameRegister.cpp
MasonLeeBack/RSEngine
9ac4a0380898cb59a48d29dc7250dfb70430932f
[ "MIT" ]
2
2019-01-03T19:00:42.000Z
2019-01-03T19:02:16.000Z
src/Engine/GAME/thl/thl_GameRegister.cpp
MasonLeeBack/RSEngine
9ac4a0380898cb59a48d29dc7250dfb70430932f
[ "MIT" ]
null
null
null
/* thl game Copyright (c) 2020 Mason Lee Back File name: thl_GameRegister.cpp */ #include <Game\thl\thl_gameregister.h> namespace thl { }
10.214286
38
0.72028
MasonLeeBack
71d22ab49471e371b4b259449eb73ebcf7f08c84
855
hpp
C++
android-31/android/text/BidiFormatter_Builder.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/text/BidiFormatter_Builder.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/text/BidiFormatter_Builder.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../JObject.hpp" namespace android::text { class BidiFormatter; } namespace java::util { class Locale; } namespace android::text { class BidiFormatter_Builder : public JObject { public: // Fields // QJniObject forward template<typename ...Ts> explicit BidiFormatter_Builder(cons...
23.108108
162
0.736842
YJBeetle
71d57229286e383df6aac661105e263bdfb6dd98
6,245
hpp
C++
contracts/eos/BancorConverter/BancorConverter.hpp
vegapool/contracts_eos
cc04efaad8b69d679925ce87164e3789b91fa3cb
[ "Apache-2.0" ]
null
null
null
contracts/eos/BancorConverter/BancorConverter.hpp
vegapool/contracts_eos
cc04efaad8b69d679925ce87164e3789b91fa3cb
[ "Apache-2.0" ]
null
null
null
contracts/eos/BancorConverter/BancorConverter.hpp
vegapool/contracts_eos
cc04efaad8b69d679925ce87164e3789b91fa3cb
[ "Apache-2.0" ]
null
null
null
#pragma once #include <eosiolib/eosio.hpp> #include <eosiolib/transaction.hpp> #include <eosiolib/asset.hpp> #include <eosiolib/symbol.hpp> #include <eosiolib/singleton.hpp> #include "../Common/common.hpp" using namespace eosio; using std::string; using std::vector; // events // triggered when a conversion between t...
49.173228
151
0.665012
vegapool
71d6ad081ed8aa2f663a852769da4d4046fd5540
259
cpp
C++
LuoguCodes/CF996A.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/CF996A.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/CF996A.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
//【CF996A】Hit the Lottery - 洛谷 - Ac #include <iostream> int main() { int n; std::cin >> n; int ans = 0; ans += n / 100; n %= 100; ans += n / 20; n %= 20; ans += n / 10; n %= 10; ans += n / 5; n %= 5; ans += n; std::cout << ans << std::endl; }
13.631579
36
0.46332
Anguei
71d856214c8032971aad3f0517174fe1577dc605
5,095
cpp
C++
test/MeLikeyCode-QtGameEngine-2a3d47c/qge/Inventory.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
16
2019-05-23T08:10:39.000Z
2021-12-21T11:20:37.000Z
test/MeLikeyCode-QtGameEngine-2a3d47c/qge/Inventory.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
null
null
null
test/MeLikeyCode-QtGameEngine-2a3d47c/qge/Inventory.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
2
2019-05-23T18:37:43.000Z
2021-08-24T21:29:40.000Z
#include "Inventory.h" #include "EquipableItem.h" #include "NoTargetItem.h" #include "EntityTargetItem.h" #include "PointTargetItem.h" #include "Sprite.h" #include "Entity.h" #include "Map.h" using namespace qge; Inventory::Inventory(): entity_(nullptr) { } Inventory::~Inventory() { // drop all items on the...
28.623596
88
0.663395
JamesMBallard
71d976162b3e98e7f7a644e149ba890dbfb17dbc
601
cpp
C++
src/main.cpp
ivan-volnov/binance_order_book
c410cd52a480a7e58e35291ac57db80e15f3e0fa
[ "MIT" ]
null
null
null
src/main.cpp
ivan-volnov/binance_order_book
c410cd52a480a7e58e35291ac57db80e15f3e0fa
[ "MIT" ]
null
null
null
src/main.cpp
ivan-volnov/binance_order_book
c410cd52a480a7e58e35291ac57db80e15f3e0fa
[ "MIT" ]
null
null
null
#include <iostream> #include "application.hpp" #include "utility/debugger_tools.hpp" int main(int argc, char **argv) { #ifndef NDEBUG if (Tools::am_I_being_debugged()) { auto &app = Application::instance(); if (app.parse_commandline_arguments(argc, argv)) { app.run(); } ...
21.464286
58
0.554077
ivan-volnov
71da446865727ad3e9fb814a96b04e3762a594fd
385
cpp
C++
Contests/Atcoder/ABC109/B.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Contests/Atcoder/ABC109/B.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Contests/Atcoder/ABC109/B.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int maxN=100; const int maxL=12; const int inf=2147483647; int n; set<string> St; string str; int main(){ cin>>n; cin>>str;St.insert(str); for (int i=2;i<=n;i++){ char lst=str[str.size()-1]; cin>>str; if ((St.count(str))||(str[0]!=lst)){ printf("No\n");r...
14.807692
38
0.605195
SYCstudio
71e0c451a342c9804ce509703edb71293fdbbf16
2,551
cpp
C++
viewer/Saba/GL/Model/OBJ/GLOBJModelDrawContext.cpp
ShinomoriRinonn/saba
af2fb19efc54ba4f49de91e373d90246a1579dfd
[ "MIT" ]
305
2017-01-10T17:20:41.000Z
2022-03-26T17:08:08.000Z
viewer/Saba/GL/Model/OBJ/GLOBJModelDrawContext.cpp
ShinomoriRinonn/saba
af2fb19efc54ba4f49de91e373d90246a1579dfd
[ "MIT" ]
30
2017-03-14T16:20:48.000Z
2022-03-21T13:10:19.000Z
viewer/Saba/GL/Model/OBJ/GLOBJModelDrawContext.cpp
ShinomoriRinonn/saba
af2fb19efc54ba4f49de91e373d90246a1579dfd
[ "MIT" ]
61
2017-01-10T21:54:59.000Z
2022-03-20T08:12:05.000Z
// // Copyright(c) 2016-2017 benikabocha. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // #include "GLOBJModelDrawContext.h" #include <Saba/Base/Log.h> #include "../../../Viewer/ViewerContext.h" #include <algorithm> namespace saba { void GLOBJShader::Initialize() { // attribute m...
27.430108
77
0.720502
ShinomoriRinonn
71e0f3a34154dc6e34bcef35a75327207ecb7b17
289
cpp
C++
2020/10.8/scsp-s1.cpp
YooLc/Codes-Backup
3e13bc048921eefadcc63e36cf2cf638138ebea2
[ "WTFPL" ]
null
null
null
2020/10.8/scsp-s1.cpp
YooLc/Codes-Backup
3e13bc048921eefadcc63e36cf2cf638138ebea2
[ "WTFPL" ]
null
null
null
2020/10.8/scsp-s1.cpp
YooLc/Codes-Backup
3e13bc048921eefadcc63e36cf2cf638138ebea2
[ "WTFPL" ]
null
null
null
#include <string> #include <iostream> using namespace std; int main() { string ans = "ABBBC" "BAACB" "CBAAD" "TTTTAD" "FTFTAA" "FFTTBA" "ABCDA" "BCDAB"; int no; cin >> no; cout << ans[no - 1]; return 0; }
15.210526
24
0.453287
YooLc
71e9c22222de9d087f17b4c48fb98011eabb19d5
11,226
hpp
C++
include/GlobalNamespace/AnnotatedBeatmapLevelCollectionsTableView.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/AnnotatedBeatmapLevelCollectionsTableView.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/AnnotatedBeatmapLevelCollectionsTableView.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBehaviour.hpp" //...
54.495146
1,273
0.748619
darknight1050
71f2855b0227b4de8e5b9485fc20db57321d0899
1,218
cpp
C++
signal-slot-benchmarks/benchmark/cpp/benchmark_cls.cpp
qubka/signals
6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c
[ "MIT" ]
181
2020-01-17T13:49:59.000Z
2022-03-17T03:23:12.000Z
signal-slot-benchmarks/benchmark/cpp/benchmark_cls.cpp
qubka/signals
6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c
[ "MIT" ]
22
2020-01-16T23:37:02.000Z
2021-09-08T23:51:12.000Z
signal-slot-benchmarks/benchmark/cpp/benchmark_cls.cpp
qubka/signals
6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c
[ "MIT" ]
16
2020-01-28T15:40:18.000Z
2022-02-25T08:32:15.000Z
#include "../hpp/benchmark_cls.hpp" NOINLINE(void Cls::initialize()) { // NOOP } NOINLINE(void Cls::validate_assert(std::size_t N)) { return Benchmark<Signal, Cls>::validation_assert(N); } NOINLINE(double Cls::construction(std::size_t N, std::size_t limit)) { return Benchmark<Signal, Cls>::construction...
28.325581
68
0.703612
qubka
71f7efeb0b460090336dfc2486434b50866dc0fe
585
cpp
C++
oop-tema6/oop-tema6/main.cpp
ana020912/oop-2022
b5b96070d60b899f8b956b4b9d6560abf88282ad
[ "MIT" ]
null
null
null
oop-tema6/oop-tema6/main.cpp
ana020912/oop-2022
b5b96070d60b899f8b956b4b9d6560abf88282ad
[ "MIT" ]
null
null
null
oop-tema6/oop-tema6/main.cpp
ana020912/oop-2022
b5b96070d60b899f8b956b4b9d6560abf88282ad
[ "MIT" ]
null
null
null
#include "Car.h" #include "Circuit.h" #include "Dacia.h" #include "Toyota.h" #include "Mercedes.h" #include "Ford.h" #include "Mazda.h" int main() { Circuit c; c.setLength(100); c.setWeather(Weather::Rain); c.addCar(Dacia()); c.addCar(new Toyota()); c.addCar(new Mercedes()); c.addCar(new Ford()); c.addCar(new M...
26.590909
128
0.700855
ana020912
71f99241f7cc138ad9d96cb37810d4bfbe4433e9
244
cpp
C++
Bjarne_Stroustrup_Books/programming_principles_and_practice_using_c_2nd_ed/Part-1/Chapter_-4{ Errors }/Drills/Error_Handeling.cpp
mass9/Cpp
b6d5dd29f5ed40ccfd6ced3390df3f80c676e7fd
[ "MIT" ]
null
null
null
Bjarne_Stroustrup_Books/programming_principles_and_practice_using_c_2nd_ed/Part-1/Chapter_-4{ Errors }/Drills/Error_Handeling.cpp
mass9/Cpp
b6d5dd29f5ed40ccfd6ced3390df3f80c676e7fd
[ "MIT" ]
null
null
null
Bjarne_Stroustrup_Books/programming_principles_and_practice_using_c_2nd_ed/Part-1/Chapter_-4{ Errors }/Drills/Error_Handeling.cpp
mass9/Cpp
b6d5dd29f5ed40ccfd6ced3390df3f80c676e7fd
[ "MIT" ]
null
null
null
#include "std_lib_facilities.h" int main() try { int x = 4; double d= 5.0/(x-2); if(d==2+0.5) cout << "Success!\n"; keep_window_open(); return 0; } catch (exception& e) { cerr << "error: " << e.what() << '\n'; keep_window_open(); return 1; }
15.25
38
0.598361
mass9
71fd03e9ddfe62c85fbe09363d243b5ac1ef3b56
403
hpp
C++
include/SlackFeedback.hpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
2
2019-01-18T02:33:45.000Z
2019-02-01T23:44:05.000Z
include/SlackFeedback.hpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
include/SlackFeedback.hpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
/** * Copyright 2018 <David Corbin, Mitchell Harvey> */ #ifndef INCLUDE_SLACKFEEDBACK_HPP_ #define INCLUDE_SLACKFEEDBACK_HPP_ #include <string> class SlackFeedback { public: enum FeedbackType { Bug = 0, Enhancement = 1 }; void sendFeedback(std::string* message, FeedbackType type); private: std::...
17.521739
61
0.73201
davidcorbin
9f962f20d5a3672c6df6a494a1bd38d83aa0f6ae
2,508
cc
C++
tools/repl.cc
fchabert/insn
4677d5ed6284ca89d6ee70b5c09a43ee27f5bb9e
[ "MIT" ]
2
2016-01-29T02:03:13.000Z
2016-01-29T02:03:39.000Z
tools/repl.cc
fchabert/insn
4677d5ed6284ca89d6ee70b5c09a43ee27f5bb9e
[ "MIT" ]
null
null
null
tools/repl.cc
fchabert/insn
4677d5ed6284ca89d6ee70b5c09a43ee27f5bb9e
[ "MIT" ]
null
null
null
/** * Copyright (c) 2014, Floris Chabert. All rights reserved. * * 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, ...
24.349515
80
0.680223
fchabert
9f9813c78d61bf6bdc959b3d3f630dcdfa53f21a
351
cpp
C++
DSA/Substring_3.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
DSA/Substring_3.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
DSA/Substring_3.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
// CPP program to illustrate substr() #include <string.h> #include <iostream> using namespace std; int main() { // Take any string string s = "dog:cat"; // Find position of ':' using find() int pos = s.find(":"); // Copy substring before pos string sub = s.substr(0 , pos); // prints the result cout << "Stri...
15.954545
37
0.626781
jnvshubham7
9f9d1987c7fde738a0b12562755389a6f04c5a57
4,060
cc
C++
storage/tests/schemas.cc
kaladron/galactic-bloodshed
651676152d2f21b380ef1c3e109edc0d33e622df
[ "Apache-2.0" ]
5
2015-10-05T14:05:34.000Z
2020-01-21T18:52:11.000Z
storage/tests/schemas.cc
kaladron/galactic-bloodshed
651676152d2f21b380ef1c3e109edc0d33e622df
[ "Apache-2.0" ]
3
2019-09-05T13:16:58.000Z
2019-09-05T13:32:42.000Z
storage/tests/schemas.cc
kaladron/galactic-bloodshed
651676152d2f21b380ef1c3e109edc0d33e622df
[ "Apache-2.0" ]
1
2015-10-05T14:05:16.000Z
2015-10-05T14:05:16.000Z
#include <gtest/gtest.h> #include "storage/storage.h" using std::cout; using std::endl; using std::make_shared; using namespace Storage; static shared_ptr<Registry> registry((new Registry())->Add(DefaultCTypes())); static auto StringType = registry->GetType("string"); static auto Int64Type = registry->GetType("int64...
38.666667
110
0.599507
kaladron
9f9e707d82473744e7a5018baadd02e62686e28d
307
cpp
C++
044_Scattering (light)/Objects/MeshCube.cpp
HansWord/HansMemory
ae74b8d4f5ebc749508ce43250a604e364950203
[ "MIT" ]
null
null
null
044_Scattering (light)/Objects/MeshCube.cpp
HansWord/HansMemory
ae74b8d4f5ebc749508ce43250a604e364950203
[ "MIT" ]
null
null
null
044_Scattering (light)/Objects/MeshCube.cpp
HansWord/HansMemory
ae74b8d4f5ebc749508ce43250a604e364950203
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "MeshCube.h" MeshCube::MeshCube() : GameModel(Materials + L"Meshes/", L"Cube.material", Models + L"Meshes/", L"Cube.mesh") { } MeshCube::~MeshCube() { SAFE_DELETE(shader); } void MeshCube::Update() { __super::Update(); } void MeshCube::Render() { __super::Render(); }
12.791667
89
0.654723
HansWord
9fa2482f85cdaa307fc933679dc3e4f86a5676e0
1,449
cpp
C++
references/test_code/test_source/src/main.cpp
qoopen0815/ADS-AutomaticDartScorer-
9c287aa2b2db71ac7e15085d88dff4cf83c3a7c9
[ "Apache-2.0" ]
null
null
null
references/test_code/test_source/src/main.cpp
qoopen0815/ADS-AutomaticDartScorer-
9c287aa2b2db71ac7e15085d88dff4cf83c3a7c9
[ "Apache-2.0" ]
1
2020-09-26T05:55:21.000Z
2020-09-26T05:55:21.000Z
references/test_code/test_source/src/main.cpp
calm0815/ADS-AutomaticDartScorer-
9c287aa2b2db71ac7e15085d88dff4cf83c3a7c9
[ "Apache-2.0" ]
null
null
null
#include <opencv2/opencv.hpp> #include <iostream> int main(int argc, char *argv[]) { cv::Mat gray_img1,gray_img2,gray_img3,diff1,diff2,frame,diff; // カメラからの動画を取り込むためのオブジェクトを宣言する cv::VideoCapture capture; // // カメラを起動する // capture.open(0); // 動画ファイルのパスの文字列を格納するオブジェクトを宣言する std::string filepath = "../r...
28.411765
64
0.674948
qoopen0815
9fa57d9dae830d855fc21e63d8d76e6aa0cfd007
3,265
hpp
C++
src/pinetree/model.hpp
alexismhill3/pinetree
45a1c2eae4cb3677b26794b9f1dc8a304e237550
[ "MIT" ]
6
2020-07-20T21:35:07.000Z
2021-06-22T06:51:03.000Z
src/pinetree/model.hpp
alexismhill3/pinetree
45a1c2eae4cb3677b26794b9f1dc8a304e237550
[ "MIT" ]
12
2019-09-09T16:31:29.000Z
2021-09-15T18:10:01.000Z
src/pinetree/model.hpp
alexismhill3/pinetree
45a1c2eae4cb3677b26794b9f1dc8a304e237550
[ "MIT" ]
4
2017-09-08T03:21:49.000Z
2019-08-27T21:12:04.000Z
/* Copyright (c) 2017 Benjamin Jack All Rights Reserved. */ #ifndef SRC_SIMULATION_HPP // header guard #define SRC_SIMULATION_HPP #include <memory> #include "gillespie.hpp" #include "polymer.hpp" #include "reaction.hpp" /** * Coordinate polymers and species-level reactions. */ class Model : public std::enable_sh...
26.12
79
0.669525
alexismhill3
9fa6c02b08db99ef0c9a8ad90253b2cfcecad062
685
hh
C++
sources/superlibs/owlevel/inc/ll/ucd.hh
twrl/conurbation
0e92178fa36528acd3bbf1d1b6e417e7c1bbe659
[ "MIT" ]
5
2016-05-17T23:03:06.000Z
2019-07-24T18:23:00.000Z
sources/superlibs/owlevel/inc/ll/ucd.hh
twrl/conurbation
0e92178fa36528acd3bbf1d1b6e417e7c1bbe659
[ "MIT" ]
null
null
null
sources/superlibs/owlevel/inc/ll/ucd.hh
twrl/conurbation
0e92178fa36528acd3bbf1d1b6e417e7c1bbe659
[ "MIT" ]
null
null
null
#pragma once #include "char_types.hh" #include "numeric_types.hh" #include "ll/unicode_props.hh" namespace ll::Unicode { struct ucd_name_t { char32_t code_point; bool_t var; const char8_t* character_name; }; struct ucd_category_t { char32_t code_point; category ca...
18.513514
55
0.627737
twrl
9faac3f1d77b7996a7c46676d1f1d8b407950f29
34,715
cpp
C++
test/integration_wind_main.cpp
nnaumenko/metafsimple
ae9e601e81769219e6734c3d94dd925bd2091c4b
[ "MIT" ]
null
null
null
test/integration_wind_main.cpp
nnaumenko/metafsimple
ae9e601e81769219e6734c3d94dd925bd2091c4b
[ "MIT" ]
null
null
null
test/integration_wind_main.cpp
nnaumenko/metafsimple
ae9e601e81769219e6734c3d94dd925bd2091c4b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Nick Naumenko (https://gitlab.com/nnaumenko, * https:://github.com/nnaumenko) * All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "comparisons.hpp" #include "gtest/gtest.h" #include "metafsimp...
37.52973
82
0.710788
nnaumenko
9fafc33ebe7f49d031c648f747e95694e1bf5d56
991
cpp
C++
contest-1007-497/d-cpp/main.cpp
easimonenko/solution-problems-from-codeforces
64251e0ba2c2ba619b0daf67f89f29b6dff8fd9f
[ "MIT" ]
1
2018-12-03T02:06:05.000Z
2018-12-03T02:06:05.000Z
contest-1007-497/d-cpp/main.cpp
easimonenko/solution-problems-from-codeforces
64251e0ba2c2ba619b0daf67f89f29b6dff8fd9f
[ "MIT" ]
null
null
null
contest-1007-497/d-cpp/main.cpp
easimonenko/solution-problems-from-codeforces
64251e0ba2c2ba619b0daf67f89f29b6dff8fd9f
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <iostream> #include <vector> using namespace std; vector<int> divs(int x) { vector<int> d; for (int k = 1; k <= sqrt(x); k++) { if (x % k == 0) { d.push_back(k); } } return d; } int main() { int t; cin >> t; vector<long long> s(100000 + 1); ...
18.698113
92
0.463169
easimonenko
9fb17f77b534e30ad18854cb630189d860aedddb
2,025
cpp
C++
Offer/CPP/39.cpp
AutuanLiu/LeetCode2019
8efc7c5475fd888f7d86c3b08a3c1c9e55c1ac30
[ "MIT" ]
1
2019-06-20T07:43:59.000Z
2019-06-20T07:43:59.000Z
Offer/CPP/39.cpp
AutuanLiu/Code-Storm2019
8efc7c5475fd888f7d86c3b08a3c1c9e55c1ac30
[ "MIT" ]
null
null
null
Offer/CPP/39.cpp
AutuanLiu/Code-Storm2019
8efc7c5475fd888f7d86c3b08a3c1c9e55c1ac30
[ "MIT" ]
null
null
null
class Solution { public: bool IsBalanced_Solution(TreeNode *pRoot) { if (!pRoot) return true; int left_depth = Depth_longest(pRoot->left); int right_depth = Depth_longest(pRoot->right); if (abs(left_depth - right_depth) > 1) return false; else ...
25.632911
89
0.562963
AutuanLiu
9fb1a738fbb15d39bfc393647f1326bcf6d7015d
967
cpp
C++
segmenttree/test/beats_range-add-chmax-range-sum.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
20
2021-06-21T00:18:54.000Z
2022-03-17T17:45:44.000Z
segmenttree/test/beats_range-add-chmax-range-sum.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
56
2021-06-03T14:42:13.000Z
2022-03-26T14:15:30.000Z
segmenttree/test/beats_range-add-chmax-range-sum.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
3
2019-12-11T06:45:45.000Z
2020-09-07T13:45:32.000Z
#include "../trees/acl_range-add-chmax-range-sum.hpp" #define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0427" #include <iostream> using namespace std; int main() { cin.tie(nullptr), ios::sync_with_stdio(false); int N, tmp; cin >> N; vector<RangeAddChmaxRangeSum::S> A(N); fo...
28.441176
79
0.548087
ankit6776
9fb782cef2a80837b1cfec7ebc261b1764cda7a1
14,935
cpp
C++
src/Stitcher.cpp
stephanepericat/sb-StochKit
767383b9eda7b61ea5c8187296c676dd4fcf94fa
[ "CC0-1.0" ]
16
2019-05-02T09:42:38.000Z
2022-01-28T02:08:44.000Z
src/Stitcher.cpp
stephanepericat/sb-StochKit
767383b9eda7b61ea5c8187296c676dd4fcf94fa
[ "CC0-1.0" ]
4
2019-07-06T13:27:24.000Z
2022-01-27T19:11:10.000Z
src/Stitcher.cpp
stephanepericat/sb-StochKit
767383b9eda7b61ea5c8187296c676dd4fcf94fa
[ "CC0-1.0" ]
2
2019-05-23T08:33:52.000Z
2019-07-07T16:56:02.000Z
/* * Stitcher.cpp * Samuel Laing - 2019 * * VCV Rack Stitcher module. An extened version of granular stochastic * synthesis that connects waves produced by up to four seperate * GRANDY oscillators */ #include "plugin.hpp" #include "dsp/digital.hpp" #include "dsp/resampler.hpp" #include "wavetable.hpp" #includ...
38.893229
120
0.674054
stephanepericat
9fb8acf278eaf7bc1c22d2e2d83855d88aaaf6ed
764
hpp
C++
particle_structs/src/ps_for.hpp
dhyan1272/pumi-pic
52fe63537720a7c767b789ddf124873f7517de96
[ "BSD-3-Clause" ]
null
null
null
particle_structs/src/ps_for.hpp
dhyan1272/pumi-pic
52fe63537720a7c767b789ddf124873f7517de96
[ "BSD-3-Clause" ]
null
null
null
particle_structs/src/ps_for.hpp
dhyan1272/pumi-pic
52fe63537720a7c767b789ddf124873f7517de96
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "particle_structure.hpp" #include <SellCSigma.h> #include <csr/CSR.hpp> namespace particle_structs { template <typename FunctionType, typename DataTypes, typename MemSpace> void parallel_for(ParticleStructure<DataTypes, MemSpace>* ps, FunctionType& fn, std::string s="") { ...
30.56
94
0.651832
dhyan1272
9fbaddc77232f35e98cb67a6499dc1b27be40a8f
309
cpp
C++
Gstreamer-Applications/gst_gui_app/main.cpp
rbmistry/sample-apps-for-Qualcomm-Robotics-RB5-platform
aa56f3a806b5ad5fbac4aafd276b1e79eb8a462f
[ "BSD-3-Clause-Clear" ]
30
2020-10-01T07:53:25.000Z
2022-03-25T07:36:32.000Z
Gstreamer-Applications/gst_gui_app/main.cpp
rbmistry/sample-apps-for-Qualcomm-Robotics-RB5-platform
aa56f3a806b5ad5fbac4aafd276b1e79eb8a462f
[ "BSD-3-Clause-Clear" ]
43
2020-10-13T01:39:42.000Z
2022-03-29T02:13:43.000Z
Gstreamer-Applications/gst_gui_app/main.cpp
rbmistry/sample-apps-for-Qualcomm-Robotics-RB5-platform
aa56f3a806b5ad5fbac4aafd276b1e79eb8a462f
[ "BSD-3-Clause-Clear" ]
19
2020-10-19T19:28:12.000Z
2022-03-30T07:08:22.000Z
/* * Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. * * SPDX-License-Identifier: BSD-3-Clause-Clear */ #include <QApplication> #include "window.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Window window; window.show(); return app.exec(); }
17.166667
75
0.669903
rbmistry
9fbc4e9a067838acccd270b9f31df7dbf78886f8
453
cpp
C++
C++/replace-all-s-to-avoid-consecutive-repeating-characters.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/replace-all-s-to-avoid-consecutive-repeating-characters.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/replace-all-s-to-avoid-consecutive-repeating-characters.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n) // Space: O(1) class Solution { public: string modifyString(string s) { for (int i = 0; i < s.length(); ++i) { if (s[i] != '?') { continue; } for (s[i] = 'a'; s[i] <= 'c'; ++s[i]) { if ((i == 0 || s[i - 1] != s[i]) && (i == ...
22.65
94
0.286976
Akhil-Kashyap
9fc62265fa4e70e18f1080462e19fa70805b6493
1,957
cpp
C++
src/tools.cpp
A2Amir/Extended-Kalman-Filter-for-Sensor-Fusion
2af81e7e633b3a297f30c2955ccf0f322e612945
[ "Apache-2.0" ]
2
2021-09-09T23:11:57.000Z
2021-10-06T05:42:15.000Z
src/tools.cpp
A2Amir/Extended-Kalman-Filter-for-Sensor-Fusion
2af81e7e633b3a297f30c2955ccf0f322e612945
[ "Apache-2.0" ]
null
null
null
src/tools.cpp
A2Amir/Extended-Kalman-Filter-for-Sensor-Fusion
2af81e7e633b3a297f30c2955ccf0f322e612945
[ "Apache-2.0" ]
1
2022-01-10T04:10:09.000Z
2022-01-10T04:10:09.000Z
#include <iostream> #include "tools.h" #include <cmath> using Eigen::VectorXd; using Eigen::MatrixXd; using std::vector; Tools::Tools() {} Tools::~Tools() {} /** RMSE function */ VectorXd Tools::CalculateRMSE(const vector<VectorXd>& estimations, const vector<VectorXd>& ground_truth) {...
26.093333
78
0.656617
A2Amir
9fc80411f21fb500661a57206a5b90247060d9a0
130
cpp
C++
samples/demo_tcp.cpp
southbear-club/aru
24a3b28d9a168c28435e9cb5b5c10a2e404042a8
[ "MIT" ]
2
2021-10-21T12:25:23.000Z
2021-10-22T00:38:35.000Z
samples/demo_tcp.cpp
southbear-club/aru
24a3b28d9a168c28435e9cb5b5c10a2e404042a8
[ "MIT" ]
null
null
null
samples/demo_tcp.cpp
southbear-club/aru
24a3b28d9a168c28435e9cb5b5c10a2e404042a8
[ "MIT" ]
null
null
null
#include <stdio.h> int main(void) { printf("-------------------------ars tcp-echo-----------------------\n"); return 0; }
21.666667
77
0.369231
southbear-club
9fccbed66393516b21f56d05ce66b2e3913ab4e9
1,136
cpp
C++
Cplusplus_Study/function_study_2.cpp
SuperBruceJia/paper-reading
ccfa34706fd525b1c47ec2476896efbd020c7210
[ "MIT" ]
11
2020-11-13T02:47:56.000Z
2022-03-25T06:13:06.000Z
Cplusplus_Study/function_study_2.cpp
SuperBruceJia/paper-reading
ccfa34706fd525b1c47ec2476896efbd020c7210
[ "MIT" ]
null
null
null
Cplusplus_Study/function_study_2.cpp
SuperBruceJia/paper-reading
ccfa34706fd525b1c47ec2476896efbd020c7210
[ "MIT" ]
2
2021-10-10T13:42:20.000Z
2021-12-14T09:59:23.000Z
#include <iostream> using namespace std; // Function Prototype double calc_area_circle(double radius); void area_circle(); double calc_volume_cylinder(double radius, double height); void volume_cylinder(); const double pi_value {3.1415926}; int main(int argc, char *argv[]) { area_circle(); volume_cylinder(...
23.183673
146
0.650528
SuperBruceJia
9fd0f539efa3341380343b1a06a9134070436bc2
2,343
hpp
C++
include/Serialization/SerializedBoolean.hpp
rhymu8354/Serialization
42b8bc5cde56225dea0a6a28d8fd80f401999a2a
[ "MIT" ]
null
null
null
include/Serialization/SerializedBoolean.hpp
rhymu8354/Serialization
42b8bc5cde56225dea0a6a28d8fd80f401999a2a
[ "MIT" ]
null
null
null
include/Serialization/SerializedBoolean.hpp
rhymu8354/Serialization
42b8bc5cde56225dea0a6a28d8fd80f401999a2a
[ "MIT" ]
1
2021-06-27T19:22:20.000Z
2021-06-27T19:22:20.000Z
#ifndef SERIALIZATION_SERIALIZED_OBJECT_BOOLEAN_HPP #define SERIALIZATION_SERIALIZED_OBJECT_BOOLEAN_HPP /** * @file SerializedBoolean.hpp * * This module declares the Serialization::SerializedBoolean * class. * * Copyright (c) 2014-2018 by Richard Walters */ #include <Serialization/SerializedObject.hpp> #inclu...
26.931034
85
0.613743
rhymu8354
9fd2b16ad18616aac1610be93b4cffb9bc231964
9,913
cpp
C++
vrclient_x64/vrclient_x64/struct_converters_1016.cpp
SSYSS000/Proton
79ddcc55688fffae9a74f230d825b1dbd6db82a9
[ "MIT", "BSD-3-Clause" ]
17,337
2018-08-21T21:43:27.000Z
2022-03-31T18:06:05.000Z
vrclient_x64/vrclient_x64/struct_converters_1016.cpp
SSYSS000/Proton
79ddcc55688fffae9a74f230d825b1dbd6db82a9
[ "MIT", "BSD-3-Clause" ]
5,641
2018-08-21T22:40:50.000Z
2022-03-31T23:58:40.000Z
vrclient_x64/vrclient_x64/struct_converters_1016.cpp
SSYSS000/Proton
79ddcc55688fffae9a74f230d825b1dbd6db82a9
[ "MIT", "BSD-3-Clause" ]
910
2018-08-21T22:54:53.000Z
2022-03-29T17:35:31.000Z
#include <stdlib.h> #include <string.h> #include "vrclient_private.h" #include "vrclient_defs.h" #include "openvr_v1.0.16/openvr.h" using namespace vr; extern "C" { #include "struct_converters.h" #pragma pack(push, 8) struct winVREvent_t_1016 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; ...
33.377104
115
0.732573
SSYSS000
9fe5902771b2d812945d216fd1df933872b5fde5
1,028
cpp
C++
codeforces/A - Distinct Digits/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/A - Distinct Digits/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/A - Distinct Digits/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Sep/29/2019 19:09 * solution_verdict: Accepted language: GNU C++14 * run...
30.235294
111
0.388132
kzvd4729
9fe664f87cc9e23aa0641ad6cc5a8529bf18cc92
82
hpp
C++
addons/unknown_weapon/XEH_PREP.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
6
2018-05-05T22:28:57.000Z
2019-07-06T08:46:51.000Z
deprecated/unknown_weapon/XEH_PREP.hpp
Schwaggot/kellerkompanie-mods
7a389e49e3675866dbde1b317a44892926976e9d
[ "MIT" ]
107
2018-04-11T19:42:27.000Z
2019-09-13T19:05:31.000Z
addons/unknown_weapon/XEH_PREP.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
3
2018-10-03T11:54:46.000Z
2019-02-28T13:30:16.000Z
PREP(addKekoFactionWeapons); PREP(onFired); PREP(onReload); PREP(onWeaponJammed);
16.4
28
0.804878
kellerkompanie
9ffa65081a3fe102762fb8725de6f171396b8662
28,560
cpp
C++
sqsgenerator/core/src/sqs.cpp
dgehringer/sqsgenerator
562697166a53f806629e8e1086b381871d9a675e
[ "MIT" ]
14
2019-11-16T10:34:04.000Z
2022-03-28T09:32:42.000Z
sqsgenerator/core/src/sqs.cpp
dgehringer/sqsgenerator
562697166a53f806629e8e1086b381871d9a675e
[ "MIT" ]
5
2019-11-21T05:54:07.000Z
2022-03-29T07:56:34.000Z
sqsgenerator/core/src/sqs.cpp
dgehringer/sqsgenerator
562697166a53f806629e8e1086b381871d9a675e
[ "MIT" ]
4
2020-09-28T14:28:23.000Z
2021-03-05T14:11:44.000Z
// // Created by dominik on 14.07.21. // #include "sqs.hpp" #if defined(_OPENMP) #include <omp.h> #endif #if defined(USE_MPI) #include <mpi.h> #define TAG_BETTER_OBJECTIVE 1 #define TAG_COLLECT 2 #define HEAD_RANK 0 #endif #include <chrono> #include <unordered_set> #include <boost/circular_buffer.hpp> #include <boost/...
60.895522
228
0.620273
dgehringer
9ffd5281f8ee1fb814f71617cf9da857008de604
24,169
cpp
C++
src/ovr_gdscript_api/ovr_mixed_reality_capture.cpp
NeoSpark314/godot_oculus_mobile
e3e869995420d2e3136a968b889817f97c545404
[ "MIT" ]
4
2019-10-03T05:51:29.000Z
2021-07-01T18:30:52.000Z
src/ovr_gdscript_api/ovr_mixed_reality_capture.cpp
NeoSpark314/godot_oculus_mobile
e3e869995420d2e3136a968b889817f97c545404
[ "MIT" ]
null
null
null
src/ovr_gdscript_api/ovr_mixed_reality_capture.cpp
NeoSpark314/godot_oculus_mobile
e3e869995420d2e3136a968b889817f97c545404
[ "MIT" ]
1
2020-03-14T12:16:56.000Z
2020-03-14T12:16:56.000Z
#include "api_common.h" #include "ovr_mixed_reality_capture.h" #include "OVR_Mrc_Shim.h" #include "../Source/OVR_Mrc_Shim.cpp" static const char *kClassName = "OvrMRC"; // No need to put these functions into the header; they are only exposed via the .gdns api GDCALLINGCONV void *ovr_mrc_constructor(godot_object *p_i...
50.352083
195
0.713724
NeoSpark314
b000ef1be8f44c1c37f692847e000c5a415ae978
15,403
cpp
C++
src/prefixtrie.cpp
AlessandroSpallina/lbrycrd
51618ce73bdf8798c70a12fe48484358f2df4b06
[ "MIT" ]
null
null
null
src/prefixtrie.cpp
AlessandroSpallina/lbrycrd
51618ce73bdf8798c70a12fe48484358f2df4b06
[ "MIT" ]
null
null
null
src/prefixtrie.cpp
AlessandroSpallina/lbrycrd
51618ce73bdf8798c70a12fe48484358f2df4b06
[ "MIT" ]
null
null
null
#include "prefixtrie.h" #include "claimtrie.h" template <typename TKey, typename TData> template <bool IsConst> CPrefixTrie<TKey, TData>::Iterator<IsConst>::Iterator(const TKey& name, const std::shared_ptr<Node>& node) noexcept : name(name), node(node) { } template <typename TKey, typename TData> template <bool IsCo...
31.243408
174
0.64864
AlessandroSpallina
b002bd120e068b506075969cb991770e3ab4a819
686
cpp
C++
src/fragment.cpp
zacharyCormack/simple_machine
6255dd3a4f6e94aeff616fad3fad4351480a9956
[ "Zlib" ]
null
null
null
src/fragment.cpp
zacharyCormack/simple_machine
6255dd3a4f6e94aeff616fad3fad4351480a9956
[ "Zlib" ]
null
null
null
src/fragment.cpp
zacharyCormack/simple_machine
6255dd3a4f6e94aeff616fad3fad4351480a9956
[ "Zlib" ]
null
null
null
#include "Shader.hpp" const char* fragment_shader_text = R"( "#version 330 core layout (location = 0) in precision lowp int col_id uniform precision lowp ivec4 palette_r; uniform precision lowp ivec4 palette_g; uniform precision lowp ivec4 palette_b; out vec4 colour; void main() { if (col_id == 0) { colour = vec4(...
22.129032
65
0.706997
zacharyCormack
b00cb17142c78a96ff14356af132ff9d544c4d12
537
hpp
C++
src/networking/HttpContentRange.hpp
X9Developers/xsn-wallet
7b5aaf6de15928c8cf5b86a844e56710c301df1f
[ "MIT" ]
1
2018-08-20T11:15:45.000Z
2018-08-20T11:15:45.000Z
src/networking/HttpContentRange.hpp
X9Developers/xsn-wallet
7b5aaf6de15928c8cf5b86a844e56710c301df1f
[ "MIT" ]
null
null
null
src/networking/HttpContentRange.hpp
X9Developers/xsn-wallet
7b5aaf6de15928c8cf5b86a844e56710c301df1f
[ "MIT" ]
3
2018-08-30T08:35:43.000Z
2019-03-29T15:36:26.000Z
#ifndef HTTPCONTENTRANGE_HPP #define HTTPCONTENTRANGE_HPP #include <QByteArray> class HttpContentRange { public: HttpContentRange(qint64 start = 0, qint64 end = 0, qint64 length = 0); qint64 start() const; qint64 end() const; qint64 length() const; bool isEmpty() const; QString toString() con...
19.178571
74
0.705773
X9Developers
b00e3ca02ead4c3b61584e5a347e9f4bc7f1f101
8,492
cpp
C++
emscripten-bindings/EMBindings.cpp
KloudTrader/quantlib-wasm
c1de0ca85f36bdb839b4ac9f259961e9cb7470d9
[ "BSD-3-Clause" ]
13
2019-08-05T09:29:28.000Z
2021-10-03T15:17:33.000Z
emscripten-bindings/EMBindings.cpp
CaptorAB/node-quantlib
b341c89fba0e13a4db6545d8c4b42dfdfc2868db
[ "BSD-3-Clause" ]
1
2020-09-10T08:15:45.000Z
2020-09-10T14:41:53.000Z
emscripten-bindings/EMBindings.cpp
CaptorAB/node-quantlib
b341c89fba0e13a4db6545d8c4b42dfdfc2868db
[ "BSD-3-Clause" ]
5
2019-08-14T20:37:23.000Z
2021-03-18T16:45:21.000Z
// EMBindings.cpp // // MIT License // // Copyright(c) 2017 Rob Grindeland // // 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 //...
63.849624
151
0.730334
KloudTrader
b0157144dabe9c0214d004349d4162066a205c9a
651
cpp
C++
elementary/easy-unpack.cpp
vargad/exercises
1a2fc2557672749d590ebdf596f99f53405320a1
[ "MIT" ]
1
2018-02-24T10:51:07.000Z
2018-02-24T10:51:07.000Z
elementary/easy-unpack.cpp
vargad/exercises
1a2fc2557672749d590ebdf596f99f53405320a1
[ "MIT" ]
null
null
null
elementary/easy-unpack.cpp
vargad/exercises
1a2fc2557672749d590ebdf596f99f53405320a1
[ "MIT" ]
1
2019-02-13T21:41:07.000Z
2019-02-13T21:41:07.000Z
#include <iostream> #include <tuple> #include <cassert> template <typename InTuple> constexpr auto easy_unpack(const InTuple &tuple) { return std::make_tuple(std::get<0>(tuple), std::get<2>(tuple), std::get<std::tuple_size<InTuple>::value-2>(tuple)); } int main() { auto [a, b, c] = easy_unpack(std::make_tuple...
36.166667
127
0.608295
vargad
b0170a730c010b0ad99e86a7fad93d5871e73d05
3,050
cpp
C++
HelperFunctions/getVkImageSubresource.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/getVkImageSubresource.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/getVkImageSubresource.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2020 Douglas Kaip * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
29.901961
98
0.631803
dkaip
b01a44b81ab7d0989875886ae421038b0cbf75de
3,591
cpp
C++
Samples/Windows/GL/GLCloud.cpp
Topsens/3DVision
a694cf36df3883a5e2d55173e02d865972b8dee2
[ "Apache-2.0" ]
2
2020-11-12T07:47:06.000Z
2020-11-12T11:49:07.000Z
Samples/Windows/GL/GLCloud.cpp
Topsens/3DVision
a694cf36df3883a5e2d55173e02d865972b8dee2
[ "Apache-2.0" ]
null
null
null
Samples/Windows/GL/GLCloud.cpp
Topsens/3DVision
a694cf36df3883a5e2d55173e02d865972b8dee2
[ "Apache-2.0" ]
null
null
null
#include "GLCloud.h" GLCloud::GLCloud() : vbo(0), cbo(0), pointSize(1.f) { this->Position = { 0.f, 0.f, 0.f }; this->Rotation = { 0.f, 0.f, 0.f, 0.f }; this->Scaling = { 1.f, 1.f, 1.f }; } GLCloud::~GLCloud() { this->Release(); } bool GLCloud::Vertices(const Vertex* vertices, int count) { if (!v...
19.516304
93
0.604567
Topsens
b01e5ce402193840a6213bc89202a5a1f8c066af
2,800
cpp
C++
Data Structures and Coding Algorithm/12. OS Algorithms/CPP/FCFS-First_Come_First_Serve/FCFS.cpp
lakhan098/Technocrats-HacktoberFest
33968cf36747ec2342d53b8c38c2a48fc71be017
[ "MIT" ]
11
2021-10-01T15:39:40.000Z
2021-10-12T16:33:03.000Z
Data Structures and Coding Algorithm/12. OS Algorithms/CPP/FCFS-First_Come_First_Serve/FCFS.cpp
lakhan098/Technocrats-HacktoberFest
33968cf36747ec2342d53b8c38c2a48fc71be017
[ "MIT" ]
62
2021-10-01T14:40:32.000Z
2021-10-31T14:47:21.000Z
Data Structures and Coding Algorithm/12. OS Algorithms/CPP/FCFS-First_Come_First_Serve/FCFS.cpp
lakhan098/Technocrats-HacktoberFest
33968cf36747ec2342d53b8c38c2a48fc71be017
[ "MIT" ]
71
2021-10-01T14:42:03.000Z
2021-10-21T15:51:24.000Z
#include<bits/stdc++.h> using namespace std; struct process{ string name; int pid; int arrival_time; int burst_time; int start_time = -1; int completion_time = -1; int turn_around_time = -1; int response_time = -1; int waiting_time = -1; process(string name, int pid, int arriv...
26.415094
105
0.574643
lakhan098
b0211b6b2f2cc2a1dea746e24c558bdd2901ac35
738
cpp
C++
rdPhysicS/rdPhysicS/src/rdps-frwk/material/brdf/GlossySpecular.cpp
rt-framework/rdPhysicalS
0c4cd477169f2a573b1130f5d2867c04ce139368
[ "MIT" ]
null
null
null
rdPhysicS/rdPhysicS/src/rdps-frwk/material/brdf/GlossySpecular.cpp
rt-framework/rdPhysicalS
0c4cd477169f2a573b1130f5d2867c04ce139368
[ "MIT" ]
null
null
null
rdPhysicS/rdPhysicS/src/rdps-frwk/material/brdf/GlossySpecular.cpp
rt-framework/rdPhysicalS
0c4cd477169f2a573b1130f5d2867c04ce139368
[ "MIT" ]
null
null
null
#include "GlossySpecular.h" USING_RDPS USING_FRWK GlossySpecular::GlossySpecular(const RT::Vec3f &_color, const float _k, const float _exp) : BRDF(_color, _k, GLOSSY_SPECULAR), exp(_exp) {} GlossySpecular::GlossySpecular(const GlossySpecular &other) : BRDF(other), exp(othe...
16.772727
70
0.697832
rt-framework
b02246de2b7cffd3f89f82fdbe31ca67b076ed11
2,667
cpp
C++
Legacy/Player.cpp
pike4/CORE-Dev-Build-1.0
08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3
[ "MIT" ]
3
2016-10-06T22:42:50.000Z
2016-10-14T16:04:46.000Z
Legacy/Player.cpp
pike4/CORE-Dev-Build-1.0
08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3
[ "MIT" ]
null
null
null
Legacy/Player.cpp
pike4/CORE-Dev-Build-1.0
08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3
[ "MIT" ]
null
null
null
#include "Player.h" #include "SDL.h" #include <stack> #include <iostream> #include "VideoManager.h" #include "ObjectManager.h" #include "Subject.h" #include "EventManager.h" #include "ImageElement.h" //Player::Player(int aX, int aY, int aW, int aH, SDL_Texture* texture) : Mobile(aX, aY, texture), Collidable(...
15.153409
141
0.591301
pike4
b022811f20721e48beae98429c31f239250669e8
1,634
cpp
C++
runa/widgets/tab_cfg.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
5
2017-12-28T08:22:20.000Z
2022-03-30T01:26:17.000Z
runa/widgets/tab_cfg.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
runa/widgets/tab_cfg.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
/** * Runa C++ Library * Copyright (c) 2017-2019 walkinsky:lyh6188(at)hotmail(dot)com * * 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) */ // Created on 2018/10/19 #include "stdafx.h" #ifndef __NANA_RUNNER_LIB_ALL_...
20.425
76
0.644431
walkinsky8
b028ef31591d81338ac64be9fe505487945ee8b2
296
cpp
C++
libraries/protocol/steem_optional_actions.cpp
DunnCreativeSS/ccd
83531f2c902a7e8bea351c86c4ca0e4b03820d5b
[ "MIT" ]
1
2021-09-02T16:09:26.000Z
2021-09-02T16:09:26.000Z
libraries/protocol/steem_optional_actions.cpp
DunnCreativeSS/ccd
83531f2c902a7e8bea351c86c4ca0e4b03820d5b
[ "MIT" ]
null
null
null
libraries/protocol/steem_optional_actions.cpp
DunnCreativeSS/ccd
83531f2c902a7e8bea351c86c4ca0e4b03820d5b
[ "MIT" ]
null
null
null
#include <CreateCoin/protocol/validation.hpp> #include <CreateCoin/protocol/CreateCoin_optional_actions.hpp> namespace CreateCoin { namespace protocol { #ifdef IS_TEST_NET void example_optional_action::validate()const { validate_account_name( account ); } #endif } } //CreateCoin::protocol
21.142857
62
0.797297
DunnCreativeSS
b02a9e2ea322bef38d6af8e2236aedef6391e9b9
34,238
cpp
C++
CPUT/CPUT/CPUTMaterialDX11.cpp
GameTechDev/Windows-Desktop-Sensors
f1976f03ba071ccb52442d01bdc210b04ccdc50c
[ "Apache-2.0" ]
8
2018-10-30T06:15:22.000Z
2022-01-25T07:24:51.000Z
CPUT/CPUT/CPUTMaterialDX11.cpp
GameTechDev/Windows-Desktop-Sensors
f1976f03ba071ccb52442d01bdc210b04ccdc50c
[ "Apache-2.0" ]
null
null
null
CPUT/CPUT/CPUTMaterialDX11.cpp
GameTechDev/Windows-Desktop-Sensors
f1976f03ba071ccb52442d01bdc210b04ccdc50c
[ "Apache-2.0" ]
10
2016-04-27T02:16:12.000Z
2020-04-16T08:55:47.000Z
///////////////////////////////////////////////////////////////////////////////////////////// // Copyright 2017 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // htt...
49.476879
162
0.664291
GameTechDev
b02e39546ea250537d7fe2f7f67fcd8770d9913a
1,875
cpp
C++
ArincTest/main.cpp
iclosure/arinc429
55031fa877418113c97fa1b2e12bcd16c8a323f7
[ "MIT" ]
1
2019-03-19T00:23:33.000Z
2019-03-19T00:23:33.000Z
ArincTest/main.cpp
iclosure/arinc429
55031fa877418113c97fa1b2e12bcd16c8a323f7
[ "MIT" ]
null
null
null
ArincTest/main.cpp
iclosure/arinc429
55031fa877418113c97fa1b2e12bcd16c8a323f7
[ "MIT" ]
null
null
null
// arapi_test.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "test_stl.h" #include "test_mmtimer.h" #include "test_arapi.h" #include "test_circfifo.h" #include "test_multi_channel.h" void UserHandleTest() { unsigned long data; if(ar_getnext(0, 0, &data) == ARS_GOTDATA) ...
21.551724
72
0.625067
iclosure
b02eb9535e0380dbcdc2447deede77785bd7bbe7
464,938
cpp
C++
App/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.Shared.cpp
JBrentJ/MRDL_Unity_Surfaces
155c97eb7803af90ef1b7e95dfe7969694507575
[ "MIT" ]
null
null
null
App/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.Shared.cpp
JBrentJ/MRDL_Unity_Surfaces
155c97eb7803af90ef1b7e95dfe7969694507575
[ "MIT" ]
null
null
null
App/Il2CppOutputProject/Source/il2cppOutput/Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.Shared.cpp
JBrentJ/MRDL_Unity_Surfaces
155c97eb7803af90ef1b7e95dfe7969694507575
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <limits> #include <stdint.h> template <typename R> struct VirtFuncInvoker0 { typedef R (*Func)(void*, const RuntimeMethod*); static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj) { const Virt...
58.563799
712
0.856854
JBrentJ
b030d58330fef228d3b65230d6a3c0ce669d7819
234
hpp
C++
CSGOSimple/features/hvh_stuff/Resolver.hpp
GiaNTizmO/bnh_recoded
78386b09a8f4e83e9995975a76b48803472780f6
[ "MIT" ]
2
2020-04-15T07:12:36.000Z
2021-06-15T09:56:11.000Z
CSGOSimple/features/hvh_stuff/Resolver.hpp
GiaNTizmO/bnh_recoded
78386b09a8f4e83e9995975a76b48803472780f6
[ "MIT" ]
null
null
null
CSGOSimple/features/hvh_stuff/Resolver.hpp
GiaNTizmO/bnh_recoded
78386b09a8f4e83e9995975a76b48803472780f6
[ "MIT" ]
1
2021-03-30T11:34:25.000Z
2021-03-30T11:34:25.000Z
#pragma once #include "../../valve_sdk/sdk.hpp" #include "../../valve_sdk/csgostructs.hpp" #include "../misc/misc.hpp" class CResolver { private: int missedshots = 0; public: void LegitResolver(); }; extern CResolver* g_Resolver;
16.714286
42
0.700855
GiaNTizmO
b045b7cf6bb3cd7208bb8993a00b15b6ef970cab
11,482
cpp
C++
0_aspect_ratios/aspect_ratios.cpp
ppjanka/AthenaPP-globAcc-diagnostics
18ac19b882506efb657adf9f01e5f72757baef66
[ "BSD-3-Clause" ]
null
null
null
0_aspect_ratios/aspect_ratios.cpp
ppjanka/AthenaPP-globAcc-diagnostics
18ac19b882506efb657adf9f01e5f72757baef66
[ "BSD-3-Clause" ]
null
null
null
0_aspect_ratios/aspect_ratios.cpp
ppjanka/AthenaPP-globAcc-diagnostics
18ac19b882506efb657adf9f01e5f72757baef66
[ "BSD-3-Clause" ]
null
null
null
/* A program to read from Athena++ hdf5 and calculate the minimum and maximum aspect ratios of the mesh cells. By: Patryk Pjanka, unless stated otherwise. WARNING: Only spherical_polar coordinates implemented! */ #define VERBOSE #include <fstream> #include <vector> #include <utility> // pair #include "aspect_rat...
36.106918
179
0.584045
ppjanka
b048b327b0539b8d1cf1fb2c4b10a179c9754112
721
cpp
C++
8_rotate-string/rotate-string.cpp
litaotju/lintcode
d614bfd33d5a772325f62f83edbc56e07bbdab6c
[ "MIT" ]
2
2016-07-30T01:25:06.000Z
2017-10-07T12:30:24.000Z
8_rotate-string/rotate-string.cpp
litaotju/lintcode
d614bfd33d5a772325f62f83edbc56e07bbdab6c
[ "MIT" ]
null
null
null
8_rotate-string/rotate-string.cpp
litaotju/lintcode
d614bfd33d5a772325f62f83edbc56e07bbdab6c
[ "MIT" ]
null
null
null
/* @Copyright:LintCode @Author: taoleetju @Problem: http://www.lintcode.com/problem/rotate-string @Language: C++ @Datetime: 16-03-03 14:39 */ class Solution { public: /** * @param str: a string * @param offset: an integer * @return: nothing */ void rotateString(string &str,int off...
21.848485
56
0.446602
litaotju
b04d2822ed2bb93db534f5fa1ec8c47a37670359
2,930
cpp
C++
src/RenderFarmUI/RF_Application.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
71
2015-12-15T19:32:27.000Z
2022-02-25T04:46:01.000Z
src/RenderFarmUI/RF_Application.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
19
2016-07-09T19:08:15.000Z
2021-07-29T10:30:20.000Z
src/RenderFarmUI/RF_Application.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
42
2015-12-14T19:13:02.000Z
2022-03-01T15:15:03.000Z
/* * Copyright (c) 2009, Laminar Research. * * 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, merg...
29.59596
105
0.732765
rromanchuk
b04eeaec0fd8725f1c73b41a1ae6d8addbcb8e8d
935
hpp
C++
src/print_tree.hpp
Sokolmish/diploma
8441b17f430bbdce8fd1825329c9e53e755470b7
[ "MIT" ]
null
null
null
src/print_tree.hpp
Sokolmish/diploma
8441b17f430bbdce8fd1825329c9e53e755470b7
[ "MIT" ]
null
null
null
src/print_tree.hpp
Sokolmish/diploma
8441b17f430bbdce8fd1825329c9e53e755470b7
[ "MIT" ]
null
null
null
#ifndef PRINT_TREE_HPP_INCLUDED__ #define PRINT_TREE_HPP_INCLUDED__ #include <string> #include <sstream> #include <vector> #include <memory> class TreeNode { private: std::string name; std::vector<std::shared_ptr<TreeNode>> children; void printVertRec(std::stringstream &ss, std::vector<bool> &prev) const...
27.5
77
0.715508
Sokolmish
b05268d62eff39462ccd20fd7d8660d55176c7f9
24,101
cc
C++
protocal/routing/routing_config.pb.cc
racestart/g2r
d115ebaab13829d716750eab2ebdcc51d79ff32e
[ "Apache-2.0" ]
1
2020-03-05T12:49:21.000Z
2020-03-05T12:49:21.000Z
protocal/routing/routing_config.pb.cc
gA4ss/g2r
a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9
[ "Apache-2.0" ]
null
null
null
protocal/routing/routing_config.pb.cc
gA4ss/g2r
a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9
[ "Apache-2.0" ]
1
2020-03-25T15:06:39.000Z
2020-03-25T15:06:39.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: routing/routing_config.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "routing/routing_config.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/proto...
33.94507
119
0.725696
racestart
b05d47207fa00567481c0035d3af3a3c5da9066a
9,996
hpp
C++
include/crab/types/varname_factory.hpp
LinerSu/crab
8f3516f4b4765f4a093bb3c3a94ac2daa174130c
[ "Apache-2.0" ]
152
2016-02-28T06:04:02.000Z
2022-03-30T10:44:56.000Z
include/crab/types/varname_factory.hpp
LinerSu/crab
8f3516f4b4765f4a093bb3c3a94ac2daa174130c
[ "Apache-2.0" ]
43
2017-07-03T06:25:19.000Z
2022-03-23T21:09:32.000Z
include/crab/types/varname_factory.hpp
LinerSu/crab
8f3516f4b4765f4a093bb3c3a94ac2daa174130c
[ "Apache-2.0" ]
28
2015-11-22T15:51:52.000Z
2022-01-30T00:46:57.000Z
#pragma once /* * Factories for variable names. */ #include <crab/support/debug.hpp> #include <crab/support/os.hpp> #include <crab/types/indexable.hpp> #include <boost/optional.hpp> #include <boost/range/iterator_range.hpp> #include <functional> #include <limits> #include <memory> #include <unordered_map> #includ...
30.851852
80
0.668868
LinerSu
b06034658c6f3d5e2512474cb7a02d126a42085d
965
cpp
C++
src/statefunctions/collect.cpp
realliance/sWar
d5c502ad0d8c719194a0f7d4fed662daceeb2cfb
[ "BSL-1.0" ]
null
null
null
src/statefunctions/collect.cpp
realliance/sWar
d5c502ad0d8c719194a0f7d4fed662daceeb2cfb
[ "BSL-1.0" ]
null
null
null
src/statefunctions/collect.cpp
realliance/sWar
d5c502ad0d8c719194a0f7d4fed662daceeb2cfb
[ "BSL-1.0" ]
null
null
null
#include <algorithm> #include <deque> #include <iterator> #include <memory> #include <vector> #include "card.h" #include "event.h" #include "gamestate.h" #include "playercontroller.h" #include "statefunctions.h" auto sWar::Collect(GameState& state) -> GameState& { for (int i = 0; i < state.playerCnt; i++) { sta...
26.805556
74
0.62487
realliance
b0678c8fc8153f6d0b15f0d90048dd28ba85971e
114
cpp
C++
buzzer.cpp
sfrwmaker/Arduino_Hot_Air_Gun
0cedf568531accb0c5be82aafe09356a29af3b7d
[ "MIT" ]
null
null
null
buzzer.cpp
sfrwmaker/Arduino_Hot_Air_Gun
0cedf568531accb0c5be82aafe09356a29af3b7d
[ "MIT" ]
null
null
null
buzzer.cpp
sfrwmaker/Arduino_Hot_Air_Gun
0cedf568531accb0c5be82aafe09356a29af3b7d
[ "MIT" ]
null
null
null
#include "buzzer.h" void BUZZER::init(void) { pinMode(buzzer_pin, OUTPUT); noTone(buzzer_pin); }
14.25
33
0.622807
sfrwmaker
b06a246f63dd0510ea741d5383124345308b2955
2,529
cpp
C++
026_projectDraw/src/ofApp.cpp
KangWeon/openFrameworksTutorialSeries
de396349bf895f7bc8205deeb25feb155d1e3bcc
[ "MIT" ]
168
2015-04-15T09:17:44.000Z
2022-03-29T13:41:06.000Z
026_projectDraw/src/ofApp.cpp
KangWeon/openFrameworksTutorialSeries
de396349bf895f7bc8205deeb25feb155d1e3bcc
[ "MIT" ]
1
2020-04-23T16:55:45.000Z
2020-04-23T16:56:07.000Z
026_projectDraw/src/ofApp.cpp
KangWeon/openFrameworksTutorialSeries
de396349bf895f7bc8205deeb25feb155d1e3bcc
[ "MIT" ]
41
2015-04-26T15:48:41.000Z
2022-03-16T03:44:03.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofEnableSmoothing(); gui.setup(); gui.add(size.setup("size", 3, 1, 8)); gui.add(color.setup("color", ofColor(255, 255, 255, 255), ofColor(0, 0, 0, 0), ofColor(255, 255, 255, 255))); gui.add(background.set...
24.553398
111
0.406089
KangWeon
b076284d7fc560a823b335619f3d0428b00522db
443
hpp
C++
editor/src/aderiteeditor/platform/pc/toolbars/Menubar.hpp
nfwGytautas/aderite
87a6a5c24a6dcaca80088cb7a4fca1f846a7f22c
[ "MIT" ]
null
null
null
editor/src/aderiteeditor/platform/pc/toolbars/Menubar.hpp
nfwGytautas/aderite
87a6a5c24a6dcaca80088cb7a4fca1f846a7f22c
[ "MIT" ]
null
null
null
editor/src/aderiteeditor/platform/pc/toolbars/Menubar.hpp
nfwGytautas/aderite
87a6a5c24a6dcaca80088cb7a4fca1f846a7f22c
[ "MIT" ]
null
null
null
#pragma once #include "aderiteeditor/platform/pc/UIComponent.hpp" namespace aderite { namespace editor { /** * @brief Menubar of the editor, the bar that goes at the top of the window */ class Menubar : public UIComponent { public: Menubar(); virtual ~Menubar(); // Inherited via UIComponent bool i...
18.458333
75
0.688488
nfwGytautas
b077491adf8d79c986bf50df4e499131bd2cd5dc
29
cpp
C++
src/CWSDK/cube/MapOverlayWidget.cpp
Mininoob/CWLevelSystem
ee5e06bcc0d1c4417d0a7eb2cf52897fa908e903
[ "MIT" ]
39
2021-02-28T04:17:16.000Z
2022-02-23T14:25:41.000Z
src/CWSDK/cube/MapOverlayWidget.cpp
Mininoob/CWLevelSystem
ee5e06bcc0d1c4417d0a7eb2cf52897fa908e903
[ "MIT" ]
16
2021-03-12T04:44:33.000Z
2022-03-31T14:16:16.000Z
src/CWSDK/cube/MapOverlayWidget.cpp
Mininoob/CWLevelSystem
ee5e06bcc0d1c4417d0a7eb2cf52897fa908e903
[ "MIT" ]
3
2021-09-10T14:19:08.000Z
2021-12-19T20:45:04.000Z
#include "MapOverlayWidget.h"
29
29
0.827586
Mininoob
b07b896f180b167f635ce133ae9d9939dd6c9856
2,079
hpp
C++
math.hpp
calvinreu/Car-Sim
ef1a2bad5e00bac053b6942be0b0c28dc3d0033b
[ "MIT" ]
null
null
null
math.hpp
calvinreu/Car-Sim
ef1a2bad5e00bac053b6942be0b0c28dc3d0033b
[ "MIT" ]
null
null
null
math.hpp
calvinreu/Car-Sim
ef1a2bad5e00bac053b6942be0b0c28dc3d0033b
[ "MIT" ]
null
null
null
#pragma once #include <math.h> #include <iostream> #include <SDL2/SDL.h> #include <vector> const double max_distance = 10000;//max detectable distance for sensor const double angleToPi = 0.017453293;//pi divided by 180 struct pair{ double x,y; pair operator+(const pair &other) const; pair operator-(const...
28.094595
114
0.729197
calvinreu
b089faefa6bf0f34db14ffdff90b2894fe5b2f1e
35,424
cc
C++
schemelib/scheme/rosetta/atype_map.lib.cc
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
25
2019-07-23T01:03:48.000Z
2022-03-31T04:16:08.000Z
schemelib/scheme/rosetta/atype_map.lib.cc
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
13
2018-01-30T17:45:57.000Z
2022-03-28T11:02:44.000Z
schemelib/scheme/rosetta/atype_map.lib.cc
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
14
2018-02-08T01:42:28.000Z
2022-03-31T12:56:17.000Z
#include "scheme/rosetta/atype_map.hh" #include <map> #include <iostream> namespace scheme { namespace rosetta { std::map< std::pair<std::string,std::string>, int > rosetta_atype_map; int rosetta_atom_type( std::string const & resname, std::string const & atomname ){ // std::cout << "rosetta_atom_type " << << st...
100.923077
108
0.700683
YaoYinYing
b090a104889ca1f62aba885957968ac53d8e9255
770
cpp
C++
DesktopSharing/main.cpp
liaoqingfu/DesktopSharing
a66744d8f1c3009a497b3ff478382894eef25287
[ "MIT" ]
null
null
null
DesktopSharing/main.cpp
liaoqingfu/DesktopSharing
a66744d8f1c3009a497b3ff478382894eef25287
[ "MIT" ]
null
null
null
DesktopSharing/main.cpp
liaoqingfu/DesktopSharing
a66744d8f1c3009a497b3ff478382894eef25287
[ "MIT" ]
1
2022-01-16T19:42:03.000Z
2022-01-16T19:42:03.000Z
// 2018-6-12 // PHZ // 支持本地RTSP转发和RTSP推流两种模式 // 支持RTMP推流 // 本地RTSP地址 rtsp://ip/live #include "DesktopSharing.h" #include "xop/xop.h" #define RTSP_PUSH_TEST "rtsp://192.168.77.86:554/test" // RTSP推流地址, 在EasyDarwin下测试通过 #define RTMP_PUSH_TEST "rtmp://192.168.77.101:1935/live/test" // RTMP推流地址, 在SRS下测试通过 using namesp...
23.333333
84
0.677922
liaoqingfu
b0947dd4d68d29ad7b426c8c4382d74b3ad8853d
5,367
cpp
C++
Entry.cpp
bluedreamer/pdfimages_combine
80cf50456fced896c4f468bd7301847b8324516c
[ "MIT" ]
null
null
null
Entry.cpp
bluedreamer/pdfimages_combine
80cf50456fced896c4f468bd7301847b8324516c
[ "MIT" ]
1
2021-04-09T19:07:10.000Z
2021-04-09T19:08:28.000Z
Entry.cpp
bluedreamer/pdfimages_combine
80cf50456fced896c4f468bd7301847b8324516c
[ "MIT" ]
null
null
null
#include "Entry.h" #include "Exceptions.h" #include <iomanip> #include <sstream> using namespace std::string_literals; Entry::Entry(std::string line) { std::istringstream strm(line); strm >> page_; strm >> image_number_; std::string temp; strm >> temp; type_ = from_string<ImageType>(temp); strm ...
25.079439
118
0.562698
bluedreamer
b09a7fc1c07c07550c34250c2d3a0a6a58c74b48
3,402
cpp
C++
test/test_collision.cpp
0ncorhynchus/afmize
d41ec2fa985fdd1fdc5f25f2dafbbef7eead041d
[ "MIT" ]
10
2018-09-28T08:43:55.000Z
2020-04-14T05:30:39.000Z
test/test_collision.cpp
0ncorhynchus/afmize
d41ec2fa985fdd1fdc5f25f2dafbbef7eead041d
[ "MIT" ]
8
2019-04-23T14:29:39.000Z
2021-03-31T04:07:06.000Z
test/test_collision.cpp
0ncorhynchus/afmize
d41ec2fa985fdd1fdc5f25f2dafbbef7eead041d
[ "MIT" ]
5
2019-04-23T07:25:46.000Z
2021-04-12T08:17:42.000Z
#define BOOST_TEST_MODULE "test_collision" #include <boost/test/included/unit_test.hpp> #include <afmize/collision.hpp> BOOST_AUTO_TEST_CASE(collision_sphere_sphere) { using sphere = afmize::sphere<double>; using point = mave::vector<double, 3>; { sphere probe {1.0, point{0.0, 0.0, 10.0}}; ...
31.5
75
0.557319
0ncorhynchus
b09e933941be9376cd90d5df0c7dc6764484e24e
4,396
cpp
C++
modules/task_3/labinskaya_m_cannon_alg/main.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/labinskaya_m_cannon_alg/main.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/labinskaya_m_cannon_alg/main.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 Labinskaya Marina #include <gtest/gtest.h> #include <gtest-mpi-listener.hpp> #include "./cannon_algorithm.h" TEST(TEST_RANDOM, can_create_random_matrix) { int size = 10; ASSERT_NO_THROW(creating_random_matrix(size)); } TEST(SEQUANTIAL_MULT, compute_sequantial_mult_correctly) { int ProcRa...
30.957746
84
0.600318
Gurgen-Arm
b0aca78da9e521ec5dad8255d3576a857aa83d4e
3,480
hpp
C++
include/RootMotion/FinalIK/AimPoser_Pose.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/AimPoser_Pose.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/AimPoser_Pose.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: RootMotion.FinalIK.AimPoser #include "RootMotion/FinalIK/AimPoser.hpp"...
41.428571
283
0.668103
darknight1050
b0af33aa54f0986d4d5457cc4580055ee5060f63
3,383
cpp
C++
engine/timing/timing.cpp
JellevanCampen/pugvania
1f964f70b05565adea6c5c55c2c2bae5cac52d53
[ "MIT" ]
null
null
null
engine/timing/timing.cpp
JellevanCampen/pugvania
1f964f70b05565adea6c5c55c2c2bae5cac52d53
[ "MIT" ]
24
2016-09-26T14:54:31.000Z
2017-02-16T14:01:58.000Z
engine/timing/timing.cpp
JellevanCampen/pugvania
1f964f70b05565adea6c5c55c2c2bae5cac52d53
[ "MIT" ]
null
null
null
#include "timing/timing.h" #include "engine.h" #include <sstream> #include <iomanip> #include "date.h" namespace engine { std::string Timing::GetTimestamp(bool include_date) { std::ostringstream timestamp; if (include_date == true) { auto time = std::chrono::system_clock::now(); date::operator<<(timestamp...
37.175824
126
0.730417
JellevanCampen
b0b7cc7331ae9ccd88983a1dee500a380d8789f5
481
inl
C++
MathL/src/VectorType.inl
LeoMaden/MathL
4345855535e21ead186c3449c360cba5a7326036
[ "MIT" ]
null
null
null
MathL/src/VectorType.inl
LeoMaden/MathL
4345855535e21ead186c3449c360cba5a7326036
[ "MIT" ]
null
null
null
MathL/src/VectorType.inl
LeoMaden/MathL
4345855535e21ead186c3449c360cba5a7326036
[ "MIT" ]
null
null
null
#pragma once #include "VectorType.h" namespace MathL { template<int L, typename T, bool UseSimd> struct VectorAdd { }; template<int L, typename T, bool UseSimd> struct VectorSub { }; template<int L, typename T, bool UseSimd> struct VectorMul { }; template<int L, typename T, bool UseSimd> struct V...
11.186047
42
0.677755
LeoMaden
b0bc53fa5a77ca8e8de159cb40cc9b1a3b8debdb
2,389
cpp
C++
src/widgets/holonwindowmenu.cpp
sergeynaumovio/qtholon
fb362f1fb8810546a8adb48425088ecef292013a
[ "0BSD" ]
null
null
null
src/widgets/holonwindowmenu.cpp
sergeynaumovio/qtholon
fb362f1fb8810546a8adb48425088ecef292013a
[ "0BSD" ]
null
null
null
src/widgets/holonwindowmenu.cpp
sergeynaumovio/qtholon
fb362f1fb8810546a8adb48425088ecef292013a
[ "0BSD" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2022 Sergey Naumov ** ** Permission to use, copy, modify, and/or distribute this ** software for any purpose with or without fee is hereby granted. ** ** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL ** WAR...
33.647887
107
0.638342
sergeynaumovio