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
d48216824ece8f93aea8ef5c83aeb852dd82e63b
8,446
cpp
C++
GUI/GUI.cpp
ssyuqixe/obfCoder
a4f9bd714f09f0d134a74233b68adb18e1927347
[ "MIT" ]
30
2022-01-05T09:28:43.000Z
2022-02-17T07:31:02.000Z
GUI/GUI.cpp
ssyuqixe/obfCoder
a4f9bd714f09f0d134a74233b68adb18e1927347
[ "MIT" ]
1
2022-01-05T09:45:17.000Z
2022-01-05T10:04:46.000Z
GUI/GUI.cpp
ssyuqixe/obfCoder
a4f9bd714f09f0d134a74233b68adb18e1927347
[ "MIT" ]
11
2021-12-19T14:43:33.000Z
2022-02-17T07:31:03.000Z
#include "GUI.h" #include "Parser.h" #include "Settings.h" GUI::GUI(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); connect(ui.b_LoadFile, SIGNAL(clicked()), this, SLOT(on_loadButton_clicked())); connect(ui.b_SaveFile, SIGNAL(clicked()), this, SLOT(on_saveButton_clicked())); connect(ui.pushButt...
30.824818
136
0.704475
ssyuqixe
d48725c7ec465e48b79e4cb72789c1cc0e7870df
8,021
cpp
C++
source/boundaries/jet_boundaries.cpp
jfbucas/PION
e0a66aa301e4d94d581ba4df078f1a3b82faab99
[ "BSD-3-Clause" ]
4
2020-08-20T11:31:22.000Z
2020-12-05T13:30:03.000Z
source/boundaries/jet_boundaries.cpp
Mapoet/PION
51559b18f700c372974ac8658a266b6a647ec764
[ "BSD-3-Clause" ]
null
null
null
source/boundaries/jet_boundaries.cpp
Mapoet/PION
51559b18f700c372974ac8658a266b6a647ec764
[ "BSD-3-Clause" ]
4
2020-08-20T14:33:19.000Z
2022-03-07T10:29:34.000Z
/// \file jet_boundaries.cpp /// \brief Class definitions for jet boundaries /// \author Jonathan Mackey /// /// Modifications :\n /// - 2018.08.08 JM: moved code. #include "boundaries/jet_boundaries.h" #include "tools/mem_manage.h" using namespace std; //#define SOFTJET #define JETPROFILE // #####################...
30.498099
119
0.498566
jfbucas
d487c35545ef340c4eac8269ad653c819ef3e396
1,707
cpp
C++
Chapter 13/13.9_usebrass1.cpp
Reavolt/Cpp-Primer-Plus
491876ca0808d55cb688d575ec4688b087387810
[ "Unlicense" ]
3
2021-10-04T11:59:10.000Z
2022-01-05T22:26:12.000Z
Chapter 13/13.9_usebrass1.cpp
Hitoku/Cpp-Primer-Plus
491876ca0808d55cb688d575ec4688b087387810
[ "Unlicense" ]
null
null
null
Chapter 13/13.9_usebrass1.cpp
Hitoku/Cpp-Primer-Plus
491876ca0808d55cb688d575ec4688b087387810
[ "Unlicense" ]
3
2018-11-22T17:34:42.000Z
2020-09-19T09:39:19.000Z
//usebrassl.cpp — тестирование классов банковских счетов //#include "stdafx.h" --- Visual Studio --- precompiled headers #include <iostream> #include "13.7_brass.h" //------------------------------------------------------------------------------------------------- int main() { using std::cout; using std::endl; ...
28.45
99
0.605155
Reavolt
d4883d65f2df747a0d03f1f2c0efc70c78ce1f7c
804
cpp
C++
sorting/test.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
sorting/test.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
sorting/test.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; string countingSort(string str) { int arr[26]{}; for (int i = 0; i < str.length(); i++) arr[str[i] - 'a']++; int j = 0; for (int i = 0; i < 26; i++) { if (arr[i] != 0) { while (arr[i] != 0) ...
17.866667
46
0.366915
Strider-7
d4892600ab166b383aa99d1462ecad12b822d160
36,247
cpp
C++
src/process/srt2ds.cpp
sbu-fsl/DataSeries
8436462519eb22fc653387885b5f0339fb419061
[ "BSD-2-Clause" ]
6
2015-02-27T19:15:11.000Z
2018-10-25T14:22:31.000Z
src/process/srt2ds.cpp
yoursunny/DataSeries
b5b9db8e40a79a3e546a59cd72a80be89412d7b2
[ "BSD-2-Clause" ]
7
2015-08-17T15:18:50.000Z
2017-08-16T00:16:19.000Z
src/process/srt2ds.cpp
sbu-fsl/DataSeries
8436462519eb22fc653387885b5f0339fb419061
[ "BSD-2-Clause" ]
8
2015-07-13T23:02:28.000Z
2020-09-28T19:06:26.000Z
/* (c) Copyright 2003-2005, Hewlett-Packard Development Company, LP See the file named COPYING for license details */ #define _XOPEN_SOURCE #include <time.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <math.h> #include <sstream> #inclu...
48.719086
1,155
0.620548
sbu-fsl
d48de33cf1a58913f4612f98653b0f27cc6aff98
316
cpp
C++
AuthenticationServer/ConnectionInfo.cpp
zbeckerman/attac
ca07aeb7fbb14e2aea8d19aeb0b044bbc27721e7
[ "Apache-2.0" ]
1
2019-05-01T23:43:55.000Z
2019-05-01T23:43:55.000Z
TWXSyncServer/ConnectionInfo.cpp
zbeckerman/attac
ca07aeb7fbb14e2aea8d19aeb0b044bbc27721e7
[ "Apache-2.0" ]
null
null
null
TWXSyncServer/ConnectionInfo.cpp
zbeckerman/attac
ca07aeb7fbb14e2aea8d19aeb0b044bbc27721e7
[ "Apache-2.0" ]
null
null
null
//stores the name/value pairs for the xml attributes #include "ConnectionInfo.h" //constructor CConnectionInfo::CConnectionInfo() {} //destructor CConnectionInfo::~CConnectionInfo() {} SOCKET CConnectionInfo::getTWXSyncSocket() { return sock; } void CConnectionInfo::setTWXSyncSocket(SOCKET s) { s = sock; }
17.555556
52
0.756329
zbeckerman
d49394f24375b4b18831b128a42bfd770d91f888
1,679
cpp
C++
Lab5/E.cpp
satans404/CS203-2020fal-SUSTech
356e616081962e04477912d2d81d31fd1b85fa23
[ "MIT" ]
2
2020-11-25T11:10:39.000Z
2020-11-26T12:22:23.000Z
Lab5/E.cpp
satans404/CS203-2020fall-SUSTech
356e616081962e04477912d2d81d31fd1b85fa23
[ "MIT" ]
null
null
null
Lab5/E.cpp
satans404/CS203-2020fall-SUSTech
356e616081962e04477912d2d81d31fd1b85fa23
[ "MIT" ]
null
null
null
#include<iostream> #include<cstring> #include<cstdio> #include<cstdlib> #include<queue> #include<algorithm> using namespace std; int n,num; struct node { int val,cnt,time; bool operator<(const node &b)const { if(cnt==b.cnt) { return time<b.time; } else { ...
13.991667
65
0.378797
satans404
d497513388f664042deccb7ce033995dc5281aeb
16,149
cpp
C++
test/test_http.cpp
jbaldwin/libcfh
722310a56f74e7b33b8f0998702ca3ca12b69fdb
[ "Apache-2.0" ]
35
2019-04-01T19:53:55.000Z
2022-02-24T08:47:28.000Z
test/test_http.cpp
jbaldwin/libcfh
722310a56f74e7b33b8f0998702ca3ca12b69fdb
[ "Apache-2.0" ]
52
2017-10-01T16:35:59.000Z
2021-06-18T16:03:27.000Z
test/test_http.cpp
jbaldwin/libcfh
722310a56f74e7b33b8f0998702ca3ca12b69fdb
[ "Apache-2.0" ]
13
2018-01-29T04:17:05.000Z
2022-02-28T05:42:57.000Z
#include "catch.hpp" #include "setup.hpp" #include <lift/lift.hpp> TEST_CASE("HTTP method to_string") { using namespace lift::http; REQUIRE(to_string(method::get) == method_get); REQUIRE(to_string(method::head) == method_head); REQUIRE(to_string(method::post) == method_post); REQUIRE(to_string(meth...
66.184426
134
0.800173
jbaldwin
d49bae3ee8cc23f718139e98f73110b14f0f1f71
8,149
cc
C++
python/dune/gdt/operators/laplace_ipdg_flux_reconstruction.cc
pymor/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
4
2018-10-12T21:46:08.000Z
2020-08-01T18:54:02.000Z
python/dune/gdt/operators/laplace_ipdg_flux_reconstruction.cc
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
154
2016-02-16T13:50:54.000Z
2021-12-13T11:04:29.000Z
python/dune/gdt/operators/laplace_ipdg_flux_reconstruction.cc
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
5
2016-03-02T10:11:20.000Z
2020-02-08T03:56:24.000Z
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
35.898678
118
0.58498
pymor
d49ecf2b5e4d55e055bca37798f379a6ab13cf42
532
cpp
C++
sesion4/sesion4_casa/ejercicio_11.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
1
2018-12-11T09:32:59.000Z
2018-12-11T09:32:59.000Z
sesion4/sesion4_casa/ejercicio_11.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
null
null
null
sesion4/sesion4_casa/ejercicio_11.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
2
2018-11-13T12:32:35.000Z
2018-11-27T14:43:30.000Z
#include <iostream> using namespace std; int main(){ const int TERMINADOR = 0; int dato; int minimo = 0; int n_datos = 0; cout << "Introduce un número: "; cin >> dato; minimo = dato; while (dato != TERMINADOR){ if (dato < minimo){ minimo = dato; } ...
19
99
0.50188
dmateos-ugr
d4a0d7d775c58c3e3930664d6ad8a112af1600bc
1,436
cpp
C++
example/greet_v2.cpp
iorate/cpp-flexargs
f923fa277d1b0f6f7c4d993e72821186e50d55e7
[ "BSL-1.0" ]
1
2022-02-02T14:10:06.000Z
2022-02-02T14:10:06.000Z
example/greet_v2.cpp
iorate/cpp-flexargs
f923fa277d1b0f6f7c4d993e72821186e50d55e7
[ "BSL-1.0" ]
null
null
null
example/greet_v2.cpp
iorate/cpp-flexargs
f923fa277d1b0f6f7c4d993e72821186e50d55e7
[ "BSL-1.0" ]
null
null
null
// cpp-flexargs // // Copyright iorate 2018. // 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) #include <iostream> #include <string_view> #include <utility> #include "../flexargs.hpp" using namespace flexargs; n...
35.9
129
0.549443
iorate
d4a496a0c226cf9254a809fd9c21d34a548cb974
2,142
cpp
C++
DataStructures and Algorithms with C++/Module 4 Recursion 2/code/return_subset_sumk_array.cpp
mayank1101/Coding-Ninja
7d2c3a525e0867edf315b965b139f2288bfe009d
[ "MIT" ]
1
2020-12-15T19:36:01.000Z
2020-12-15T19:36:01.000Z
DataStructures and Algorithms with C++/Module 4 Recursion 2/code/return_subset_sumk_array.cpp
mayank1101/Coding-Ninja
7d2c3a525e0867edf315b965b139f2288bfe009d
[ "MIT" ]
null
null
null
DataStructures and Algorithms with C++/Module 4 Recursion 2/code/return_subset_sumk_array.cpp
mayank1101/Coding-Ninja
7d2c3a525e0867edf315b965b139f2288bfe009d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /*** You need to save all the subsets in the given 2D output array. And return the number of subsets(i.e. number of rows filled in output) from the given function. In ith row of output array, 1st column contains length of the ith subset. And from 1st column actual subset foll...
26.775
158
0.569094
mayank1101
d4a7e0ec9a9ca3ea07373219729bc2412e92f839
1,161
hpp
C++
libs/image2d/include/sge/image2d/exception.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/image2d/include/sge/image2d/exception.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/image2d/include/sge/image2d/exception.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_IMAGE2D_EXCEPTION_HPP_INCLUDED #define SGE_IMAGE2D_EXCEPTION_HPP_INCLUDED #include <sg...
24.702128
75
0.770887
cpreh
d4aa5a4ae74247dcba10efdc069fe3b7268c6f93
41,938
cpp
C++
PBRTest/Game.cpp
Slippy2k/directxtk12test
2d6cbcb475fbc211ff31bfa6f5f7100d2c997265
[ "MIT" ]
1
2022-03-11T11:36:24.000Z
2022-03-11T11:36:24.000Z
PBRTest/Game.cpp
Slippy2k/directxtk12test
2d6cbcb475fbc211ff31bfa6f5f7100d2c997265
[ "MIT" ]
null
null
null
PBRTest/Game.cpp
Slippy2k/directxtk12test
2d6cbcb475fbc211ff31bfa6f5f7100d2c997265
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // File: Game.cpp // // Developer unit test for DirectXTK PBREffect // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // // http://go.microsoft.com/fwlink/?LinkID=615561 //----------------------...
35.510584
171
0.659855
Slippy2k
d4abd690e87d493ba83ee4487b17b9105af17218
156
hpp
C++
ztl_base.hpp
zoid/ztl
bd9736d68828e1fc1d2ae4ef9b6dc70ab5303150
[ "MIT" ]
null
null
null
ztl_base.hpp
zoid/ztl
bd9736d68828e1fc1d2ae4ef9b6dc70ab5303150
[ "MIT" ]
null
null
null
ztl_base.hpp
zoid/ztl
bd9736d68828e1fc1d2ae4ef9b6dc70ab5303150
[ "MIT" ]
null
null
null
#ifndef __ztl_base_loaded #define __ztl_base_loaded 1 #define __stl_compatibility true #include "core\define.hpp" #endif /* __ztl_base_loaded */
17.333333
33
0.75641
zoid
d4ae8787170beca6a4dfb1026456d92c09e4643f
3,463
hpp
C++
vm/gc/write_barrier.hpp
DCarper/rubinius
6d1f079d0e792fda5606de65c81c8d622366a822
[ "BSD-3-Clause" ]
1
2021-11-29T00:06:50.000Z
2021-11-29T00:06:50.000Z
vm/gc/write_barrier.hpp
slawosz/rubinius
6cb4a19a33e942110ae14a1721cf4b48036fcc06
[ "BSD-3-Clause" ]
null
null
null
vm/gc/write_barrier.hpp
slawosz/rubinius
6cb4a19a33e942110ae14a1721cf4b48036fcc06
[ "BSD-3-Clause" ]
1
2021-09-18T04:55:38.000Z
2021-09-18T04:55:38.000Z
#ifndef RBX_GC_WRITE_BARRIER_HPP #define RBX_GC_WRITE_BARRIER_HPP #include "util/thread.hpp" #include "builtin/object.hpp" namespace rubinius { namespace gc { /** * A write barrier keeps track of objects in the mature generation that hold * references to objects in the young generation. * * A write ba...
36.452632
81
0.711811
DCarper
d4b48352a16a9c7d8cc2b76b67831e63d7fcdd8c
2,520
hpp
C++
include/logger/boost_logger.hpp
maxcong001/tcp_asio
8627b6f76c2164c3dda2bea882d1512165f38bee
[ "MIT" ]
null
null
null
include/logger/boost_logger.hpp
maxcong001/tcp_asio
8627b6f76c2164c3dda2bea882d1512165f38bee
[ "MIT" ]
null
null
null
include/logger/boost_logger.hpp
maxcong001/tcp_asio
8627b6f76c2164c3dda2bea882d1512165f38bee
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <fstream> #include <iostream> #include <boost/smart_ptr/shared_ptr.hpp> #include <boost/core/null_deleter.hpp> #include <boost/log/core.hpp> #include <boost/log/expressions.hpp> #include <boost/log/sinks/async_frontend.hpp> #include <boost/log/sinks/text_ostream_backend.hpp> #in...
37.61194
127
0.780556
maxcong001
d4b6e68ff3dde89eeccbdb6dec5452cb130abc6d
31
hpp
C++
src/boost_mpl_begin.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_begin.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_begin.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/begin.hpp>
15.5
30
0.741935
miathedev
d4ba3f0348bf210ebe1d95e9f683ab0edce760f6
1,309
hpp
C++
include/RED4ext/Scripting/Natives/GameTime.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/GameTime.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/GameTime.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once #include <cstdint> #include <string> #include <RED4ext/Common.hpp> namespace RED4ext { struct GameTime { static constexpr uint32_t OneSecond = 1; static constexpr uint32_t OneMinute = 60 * OneSecond; static constexpr uint32_t OneHour = 60 * OneMinute; static constexpr uint32_t OneDay = 2...
25.666667
84
0.733384
jackhumbert
d4be11541359c6ced8b09c113b86420208851444
371
cpp
C++
LearnC++ForProgramingDevelopement/Part_I_ProgramacionProcedural/Chapter04/Strcmp.cpp
Gabroide/TextAdvenure
d2fc9b2ef21d66a17b9b716975087093c592abbc
[ "MIT" ]
null
null
null
LearnC++ForProgramingDevelopement/Part_I_ProgramacionProcedural/Chapter04/Strcmp.cpp
Gabroide/TextAdvenure
d2fc9b2ef21d66a17b9b716975087093c592abbc
[ "MIT" ]
null
null
null
LearnC++ForProgramingDevelopement/Part_I_ProgramacionProcedural/Chapter04/Strcmp.cpp
Gabroide/TextAdvenure
d2fc9b2ef21d66a17b9b716975087093c592abbc
[ "MIT" ]
null
null
null
#include <iostream> int main(int argv, char * argc) { const char* cStyleString1 = "CStyleString"; const char* cStyleString2 = "CStyleString"; std::cout << strcmp(cStyleString1, cStyleString2) << std::endl; std::cout << std::endl; std::cout << std::endl; std::cout << "Enter a 0 to finish the program" << std::en...
21.823529
64
0.663073
Gabroide
d4c0dca413aac5a27f6a6d9775ceb8a59bb8e187
3,459
cpp
C++
src/Lexer.cpp
vzwGrey/argon
3d8296d38413ec22d29d3440de0c4f5f098143c2
[ "MIT" ]
1
2019-10-18T03:50:40.000Z
2019-10-18T03:50:40.000Z
src/Lexer.cpp
vzwGrey/argon
3d8296d38413ec22d29d3440de0c4f5f098143c2
[ "MIT" ]
null
null
null
src/Lexer.cpp
vzwGrey/argon
3d8296d38413ec22d29d3440de0c4f5f098143c2
[ "MIT" ]
null
null
null
#include <cctype> #include <map> #include "Lexer.h" #include "Facts.h" const std::map<std::string, TokenKind> ReservedKeywords = { { "true", TokenKind::True }, { "false", TokenKind::False }, { "and", TokenKind::And }, { "or", TokenKind::Or }, { "end", TokenKind::End }, }; Lexer::Lexer(std::string &source) : _so...
21.220859
81
0.583117
vzwGrey
d4c2ac74aa950ae43d15b2740b5cf3c7c7872f69
36,329
cpp
C++
external/openglcts/modules/gl/gl4cStencilTexturingTests.cpp
tarceri/VK-GL-CTS
22389a0e44f458492f594ca0553a5a67cf6c7ada
[ "Apache-2.0" ]
20
2019-04-18T07:37:34.000Z
2022-02-02T21:43:47.000Z
external/openglcts/modules/gl/gl4cStencilTexturingTests.cpp
tarceri/VK-GL-CTS
22389a0e44f458492f594ca0553a5a67cf6c7ada
[ "Apache-2.0" ]
11
2019-10-21T13:39:41.000Z
2021-11-05T08:11:54.000Z
external/openglcts/modules/gl/gl4cStencilTexturingTests.cpp
tarceri/VK-GL-CTS
22389a0e44f458492f594ca0553a5a67cf6c7ada
[ "Apache-2.0" ]
2
2017-10-17T10:00:25.000Z
2022-02-28T07:43:27.000Z
/*------------------------------------------------------------------------- * OpenGL Conformance Test Suite * ----------------------------- * * Copyright (c) 2015-2016 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
27.923905
118
0.680145
tarceri
d4c56d63eae39d815b725c64c11d1a14c7ac9e64
5,854
cpp
C++
src/Ex16_RemotePlug.cpp
Vegethalia/Esp32Projects
7d082506cb89a42f05b77088406d17b98d2edd2a
[ "Unlicense" ]
null
null
null
src/Ex16_RemotePlug.cpp
Vegethalia/Esp32Projects
7d082506cb89a42f05b77088406d17b98d2edd2a
[ "Unlicense" ]
null
null
null
src/Ex16_RemotePlug.cpp
Vegethalia/Esp32Projects
7d082506cb89a42f05b77088406d17b98d2edd2a
[ "Unlicense" ]
1
2021-11-23T13:59:29.000Z
2021-11-23T13:59:29.000Z
/* // Import required libraries #include <Arduino.h> #include <WiFi.h> #include <PubSubClient.h> #include "mykeys.h" #define PIN_BAT_VOLTAGE 32 #define PIN_RELAY 26 #define MAX_VOLTAGE 4.15f #define MIN_VOLTAGE 3.35f #define RELAY_ONISHIGH false // Set to true to define Relay as Normally Open (NO) #...
26.976959
129
0.695764
Vegethalia
d4c69f015459feb2335bf244d7f3e538ce5005af
1,386
cpp
C++
src/Server.cpp
alexesDev/node_editor
c2601f7b8de70f0976e9ce7d88c5196013b6ab4e
[ "MIT" ]
3
2018-09-24T21:37:02.000Z
2020-06-12T17:13:37.000Z
src/Server.cpp
alexesDev/node_editor
c2601f7b8de70f0976e9ce7d88c5196013b6ab4e
[ "MIT" ]
null
null
null
src/Server.cpp
alexesDev/node_editor
c2601f7b8de70f0976e9ce7d88c5196013b6ab4e
[ "MIT" ]
2
2019-08-26T21:55:26.000Z
2021-03-22T10:06:22.000Z
#include <Server.h> #include <Workspace.h> #include <Console.h> #include <zmqpp.hpp> struct Server::Private { ServerEndPoint endPoint; Workspace *workspace; zmqpp::context senderContext; zmqpp::socket senderSocket; zmqpp::context receiverContext; zmqpp::socket receiverSocket; Private() :...
21
87
0.616162
alexesDev
d4c7b9e06e37683530fecbf7a90edae328e3cbfe
1,031
cpp
C++
codes/UVA/01001-01999/uva1381.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/01001-01999/uva1381.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/01001-01999/uva1381.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <string.h> #include <vector> #include <algorithm> using namespace std; const int N = 1<<16; const int M = 20; int num[M], v[M], s[N+5]; vector<int> g[N+5]; bool init () { memset(s, 0, sizeof(s)); for (int i = 0; i < N; i++) g[i].clear(); scanf("%d", &num[0]); if (num[0] == 0) return ...
18.410714
70
0.479146
JeraKrs
d4c9af15f143b8c2883dbc5a9945d90025b1fec5
1,462
hh
C++
Replicator/c4IncomingReplicator.hh
cedseat/couchbase-lite-core
451cdfcf527073c595c7cc389f1bd70694e215fb
[ "Apache-2.0" ]
null
null
null
Replicator/c4IncomingReplicator.hh
cedseat/couchbase-lite-core
451cdfcf527073c595c7cc389f1bd70694e215fb
[ "Apache-2.0" ]
null
null
null
Replicator/c4IncomingReplicator.hh
cedseat/couchbase-lite-core
451cdfcf527073c595c7cc389f1bd70694e215fb
[ "Apache-2.0" ]
null
null
null
// // C4IncomingReplicator.h // LiteCore // // Created by Jens Alfke on 9/16/19. // Copyright © 2019 Couchbase. All rights reserved. // #pragma once #include "c4Replicator.hh" #include "c4Socket+Internal.hh" namespace c4Internal { using namespace litecore::websocket; /** A passive replicator handling an ...
25.206897
83
0.564979
cedseat
d4ca6575e9c0a3d6bc9f57d0cbf9c73c18186baa
410
hh
C++
hackt_docker/hackt/src/util/using_ostream.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/using_ostream.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/using_ostream.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "util/using_ostream.hh" Convenient using directives for ostream, cout, cerr, endl... Note: this is not wrapped by include-once protection, because it may be used within other namespaces. Also assumes that <iosfwd> was included beforehand. $Id: using_ostream.hh,v 1.2 2005/05/10 04:51:31 fang Exp $ *...
25.625
69
0.719512
broken-wheel
d4cccd797dc430bc1a3dd9e03f45264f94a472cd
1,141
cpp
C++
Chapter 3/Section 3.3/range.cpp
Testla/USACO
11915319afb66d6cb2901c8984e82c3993d79ce6
[ "MIT" ]
2
2019-06-02T02:46:47.000Z
2020-06-26T13:06:36.000Z
Chapter 3/Section 3.3/range.cpp
Testla/USACO
11915319afb66d6cb2901c8984e82c3993d79ce6
[ "MIT" ]
null
null
null
Chapter 3/Section 3.3/range.cpp
Testla/USACO
11915319afb66d6cb2901c8984e82c3993d79ce6
[ "MIT" ]
1
2020-06-26T13:06:42.000Z
2020-06-26T13:06:42.000Z
/* ID: hsfncd31 TASK: range LANG: C++ */ #include <fstream> int main() { std::fstream in("range.in", std::fstream::in), out("range.out", std::fstream::out); static const int MAX_N = 250; int n; std::string s; bool field[2][MAX_N][MAX_N]; bool (&current)[MAX_N][MAX_N] = field[...
26.534884
129
0.468011
Testla
d4cebf40b0ad99268d1194da6f26f092b856066d
89
cpp
C++
test/build_systems_tests/one_file_project/main.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
581
2018-06-10T10:37:55.000Z
2022-03-30T14:56:53.000Z
test/build_systems_tests/one_file_project/main.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
172
2018-06-13T12:33:26.000Z
2022-03-26T07:21:41.000Z
test/build_systems_tests/one_file_project/main.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
137
2018-06-10T10:31:14.000Z
2022-03-06T11:53:56.000Z
int main() { int i = 10; int j = 100; int k = 1000; int result = i * 2; return 0; }
9.888889
20
0.516854
flix-
d4d4fc76819663cc69b0f08828a2d884c6dbf505
401
cc
C++
usr/unlink/main.cc
aesophor/valkyrie
3e2f912da2adfe1a3a8cdb16a989448fccd4e92f
[ "MIT" ]
53
2021-02-24T04:09:41.000Z
2022-03-30T20:27:12.000Z
usr/unlink/main.cc
aesophor/valkyrie
3e2f912da2adfe1a3a8cdb16a989448fccd4e92f
[ "MIT" ]
4
2021-03-03T10:16:42.000Z
2022-03-10T16:43:40.000Z
usr/unlink/main.cc
aesophor/valkyrie
3e2f912da2adfe1a3a8cdb16a989448fccd4e92f
[ "MIT" ]
5
2021-03-03T07:28:17.000Z
2022-03-05T14:53:10.000Z
// Copyright (c) 2021 Marco Wang <m.aesophor@gmail.com>. All rights reserved. #include <vlibc.h> #include <cstring.h> int main(int argc, char **argv) { int ret; if (argc < 2) { printf("unlink: missing operand\n"); ret = 0; goto out; } if ((ret = unlink(argv[1])) == -1) { printf("unlink: canno...
17.434783
77
0.571072
aesophor
d4d6755fb91637bd08e2a6f366f6e8feec57f775
2,400
cpp
C++
gif-player-Win32/source/GifImage.cpp
JimYang365/samples
920c2d98b1ef0dc3d3b861b9b73ab6a3d0e5ced0
[ "MIT" ]
null
null
null
gif-player-Win32/source/GifImage.cpp
JimYang365/samples
920c2d98b1ef0dc3d3b861b9b73ab6a3d0e5ced0
[ "MIT" ]
null
null
null
gif-player-Win32/source/GifImage.cpp
JimYang365/samples
920c2d98b1ef0dc3d3b861b9b73ab6a3d0e5ced0
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "GifImage.h" CGifImage::CGifImage(LPCWSTR lpszFileName, int nPauseMultiple) : Gdiplus::Image(lpszFileName), m_nPauseMultiple(nPauseMultiple) { TestForAnimatedGIF(); } CGifImage::CGifImage(LPBYTE pBuf, size_t nSize, int nPauseMultiple) : m_nPauseMultiple(nPauseMultiple) { ...
25.806452
128
0.65
JimYang365
d4d788203ca8782678bf405a3197c547bb03b124
99
hpp
C++
src/include/stbi.hpp
rafalcieslak/libsga
1b0299e686990b3f50b81ee54c5a06197195799d
[ "Zlib" ]
2
2017-03-05T20:58:54.000Z
2018-02-24T03:59:23.000Z
src/include/stbi.hpp
rafalcieslak/libsga
1b0299e686990b3f50b81ee54c5a06197195799d
[ "Zlib" ]
null
null
null
src/include/stbi.hpp
rafalcieslak/libsga
1b0299e686990b3f50b81ee54c5a06197195799d
[ "Zlib" ]
null
null
null
#define STBI_ONLY_PNG #include "../external/stb_image.h" #include "../external/stb_image_write.h"
19.8
40
0.757576
rafalcieslak
d4d97bb9f14f8f73290fd3d89932d96f3ee939c9
537
cpp
C++
bubble.cpp
sambhav2612/4
c6d139bfb9bf1b5c212317df10eadd3d978b7ed7
[ "MIT" ]
null
null
null
bubble.cpp
sambhav2612/4
c6d139bfb9bf1b5c212317df10eadd3d978b7ed7
[ "MIT" ]
1
2018-05-02T10:01:11.000Z
2018-05-04T03:00:29.000Z
bubble.cpp
sambhav2612/4
c6d139bfb9bf1b5c212317df10eadd3d978b7ed7
[ "MIT" ]
1
2018-05-03T01:47:56.000Z
2018-05-03T01:47:56.000Z
#include <iostream> using namespace std; void bubble (int array[], int n) { for (int i = 0; i < n; ++i) { for (int j = 0; j < n-i-1; ++j) { if (array[j] > array[j+1]) { swap(array[j], array[j+1]); } } } } int main() { int n; cin >> n; int array[n] = {0}; for (int i = 0; i < n; ++i) { cin >> ...
14.916667
35
0.445065
sambhav2612
d4da8055d5c97bd49c3f0232c7a5ea9695065a62
7,809
cc
C++
p4_pdpi/netaddr/ipv4_address_and_network_address_test.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
6
2021-12-08T17:29:38.000Z
2022-02-17T20:36:54.000Z
p4_pdpi/netaddr/ipv4_address_and_network_address_test.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
2
2022-01-20T08:55:05.000Z
2022-03-08T18:30:11.000Z
p4_pdpi/netaddr/ipv4_address_and_network_address_test.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
5
2021-12-10T02:41:52.000Z
2022-03-03T06:59:23.000Z
// Copyright 2021 Google LLC // // 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 to in ...
35.175676
80
0.6691
fichtl
d4e338d37af293687e10fbcaab221e0cf0d606ba
2,123
hpp
C++
src/storage/KeyConverter.hpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
3
2020-05-10T16:52:35.000Z
2021-03-12T08:06:06.000Z
src/storage/KeyConverter.hpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
null
null
null
src/storage/KeyConverter.hpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
null
null
null
#ifndef KEYCONVERTER_HPP #define KEYCONVERTER_HPP #include <string> namespace KeyConverter { static constexpr const char *DOC_ID_KEY_PREFIX="$DC"; static constexpr const char *DOC_SEQ_KEY_PREFIX="$DS"; static constexpr const char *COLLECTION_META_KEY_PREFIX="$MT"; static constexpr const char *COLLECTION_NEXT_SEQ_KEY...
29.901408
86
0.762129
demonatic
d4e810cc23a042d0438de9c519c68e580055fea7
2,203
cpp
C++
SourceCode/src/app/ReadSpectrumRecordsApplication.cpp
Tide-for-PTM-search/Tide-for-PTM-search
b41957fec1ed333ae976e8d5b14c1c7cd481fc75
[ "Apache-2.0" ]
8
2018-02-26T00:56:14.000Z
2021-10-31T03:45:53.000Z
SourceCode/src/app/ReadSpectrumRecordsApplication.cpp
Tide-for-PTM-search/Tide-for-PTM-search
b41957fec1ed333ae976e8d5b14c1c7cd481fc75
[ "Apache-2.0" ]
null
null
null
SourceCode/src/app/ReadSpectrumRecordsApplication.cpp
Tide-for-PTM-search/Tide-for-PTM-search
b41957fec1ed333ae976e8d5b14c1c7cd481fc75
[ "Apache-2.0" ]
null
null
null
#include "ReadSpectrumRecordsApplication.h" #include "io/carp.h" #include "util/Params.h" ReadSpectrumRecordsApplication::ReadSpectrumRecordsApplication() { } ReadSpectrumRecordsApplication::~ReadSpectrumRecordsApplication() { } int ReadSpectrumRecordsApplication::main(int argc, char** argv) { carp(CARP_INFO, "Ru...
23.945652
70
0.686337
Tide-for-PTM-search
d4ea91836007b1160f5681fa934f02379937e1f5
13,608
cpp
C++
XRVessels/DeltaGliderXR1/XR1Lib/XR1MFDComponent.cpp
dbeachy1/XRVessels
8dd2d879886154de2f31fa75393d8a6ac56a2089
[ "MIT" ]
10
2021-08-20T05:49:10.000Z
2022-01-07T13:00:20.000Z
XRVessels/DeltaGliderXR1/XR1Lib/XR1MFDComponent.cpp
dbeachy1/XRVessels
8dd2d879886154de2f31fa75393d8a6ac56a2089
[ "MIT" ]
null
null
null
XRVessels/DeltaGliderXR1/XR1Lib/XR1MFDComponent.cpp
dbeachy1/XRVessels
8dd2d879886154de2f31fa75393d8a6ac56a2089
[ "MIT" ]
4
2021-09-11T12:08:01.000Z
2022-02-09T00:16:19.000Z
/** XR Vessel add-ons for OpenOrbiter Space Flight Simulator Copyright (C) 2006-2021 Douglas Beachy This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any...
39.103448
229
0.656158
dbeachy1
d4eb0aa7e62c5f230181aa9296c9cd5424e8d360
106
cpp
C++
lib/Template/UniquePtrVecFwd.cpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
null
null
null
lib/Template/UniquePtrVecFwd.cpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
null
null
null
lib/Template/UniquePtrVecFwd.cpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
null
null
null
#include "UniquePtrVecFwd.hpp" #include "UniquePtr.hpp" /* namespace { static VecUPtr<int> dupa; } */
11.777778
30
0.688679
hlp2
d4ebc52543434f4e4e64a841940e1be196b161cd
308
cpp
C++
cpp/main.cpp
fcccode/botnet_p2p
ddb7f2f32dffe0269231512987d285c1a21a17a4
[ "MIT" ]
7
2019-05-26T14:52:27.000Z
2021-03-22T23:15:24.000Z
cpp/main.cpp
fcccode/botnet_p2p
ddb7f2f32dffe0269231512987d285c1a21a17a4
[ "MIT" ]
null
null
null
cpp/main.cpp
fcccode/botnet_p2p
ddb7f2f32dffe0269231512987d285c1a21a17a4
[ "MIT" ]
8
2020-05-22T17:54:30.000Z
2021-08-30T08:49:33.000Z
#include <iostream> #include "Client.h" #include "Server.h" int main() { char c; std::cin >> c; if (c == 'c') { Client client = Client("127.0.0.1", 8999); client.run(); } else if (c == 's') { Server server = Server(8999); server.run(); } return 0; }
17.111111
50
0.483766
fcccode
d4f22e9c69047d4753b6f35aa268d4fcfed2efc6
4,706
cpp
C++
Source/AllProjects/Tests2/TestLogicSrv/TestLogicSrv_Formula.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Tests2/TestLogicSrv/TestLogicSrv_Formula.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Tests2/TestLogicSrv/TestLogicSrv_Formula.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: TestEvents_Formula.cpp // // AUTHOR: Dean Roddey // // CREATED: 12/05/2011 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://open...
30.166667
100
0.502762
MarkStega
d4f5b486f52abf3ccf6f82ff4163d4e0b6a2286e
682
cpp
C++
vendor/include/Saba/Model/MMD/MMDMaterial.cpp
LeenDenVan/GravaTalja
48b3207d37560467f982e03cde17f53cffdb0edf
[ "MIT" ]
305
2017-01-10T17:20:41.000Z
2022-03-26T17:08:08.000Z
KAIMyEntitySaba/KAIMyEntitySaba/Saba/Model/MMD/MMDMaterial.cpp
TexTrueStudio/KAIMyEntity
429a55e911fff192dc5119836f62d6597cf180d8
[ "MIT" ]
30
2017-03-14T16:20:48.000Z
2022-03-21T13:10:19.000Z
KAIMyEntitySaba/KAIMyEntitySaba/Saba/Model/MMD/MMDMaterial.cpp
TexTrueStudio/KAIMyEntity
429a55e911fff192dc5119836f62d6597cf180d8
[ "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 "MMDMaterial.h" namespace saba { MMDMaterial::MMDMaterial() : m_diffuse(1) , m_alpha(1) , m_specular(0) , m_specularPower(1) , m_ambient(0.2f) , m_edgeFlag(0) , m_edgeSize(0)...
20.058824
73
0.696481
LeenDenVan
d4f5cb7a3e9f755e7fbc070faf8618ac6b0e2db8
2,407
hpp
C++
src/ECS/xmlMapParser.hpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/ECS/xmlMapParser.hpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/ECS/xmlMapParser.hpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
#pragma once #include "entitiesTemplateStorage.hpp" #include "Resources/textureHolder.hpp" #include "ECS/Components/graphicsComponents.hpp" #include "ECS/Components/physicsComponents.hpp" #include <entt/entity/registry.hpp> #include <SFML/System/Vector2.hpp> #include <vector> #include <string> namespace ph { class A...
27.666667
124
0.776485
SPC-Some-Polish-Coders
d4fa91ade1e3355dda794abe11efcc5e59b97307
6,343
cxx
C++
Code/Numerics/FEM/itkFEMElement3DC0LinearTetrahedron.cxx
dtglidden/ITK
ef0c16fee4fac904d6ab706b8f7d438d4062cd96
[ "BSD-3-Clause" ]
1
2017-07-31T18:41:02.000Z
2017-07-31T18:41:02.000Z
Code/Numerics/FEM/itkFEMElement3DC0LinearTetrahedron.cxx
dtglidden/ITK
ef0c16fee4fac904d6ab706b8f7d438d4062cd96
[ "BSD-3-Clause" ]
null
null
null
Code/Numerics/FEM/itkFEMElement3DC0LinearTetrahedron.cxx
dtglidden/ITK
ef0c16fee4fac904d6ab706b8f7d438d4062cd96
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkFEMElement3DC0LinearTetrahedron.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ...
27.69869
92
0.612644
dtglidden
be04ce3263ec0bbcd50e877c582afc401279c800
50
cpp
C++
test/main.cpp
rksdna/gs1
91a1f677a26427ddface87071ec4c6eca6d571d7
[ "MIT" ]
3
2019-02-23T17:22:14.000Z
2021-09-21T07:56:54.000Z
test/main.cpp
rksdna/gs1
91a1f677a26427ddface87071ec4c6eca6d571d7
[ "MIT" ]
null
null
null
test/main.cpp
rksdna/gs1
91a1f677a26427ddface87071ec4c6eca6d571d7
[ "MIT" ]
1
2019-04-22T07:09:34.000Z
2019-04-22T07:09:34.000Z
#include "Gs1Test.h" QTEST_APPLESS_MAIN(Gs1Test)
12.5
27
0.8
rksdna
be1013a25837870edd9667c0ca4c061fa7b7a1ce
771
hpp
C++
tsl/test/include/tsl_tests/evaluation/surface_evaluator_fixtures.hpp
jovobe/tsl
6c024a2325d1c6cb3019b4169a6f3f214a224587
[ "Apache-2.0", "MIT" ]
4
2020-03-05T04:34:28.000Z
2022-02-17T04:39:51.000Z
tsl/test/include/tsl_tests/evaluation/surface_evaluator_fixtures.hpp
jovobe/tsl
6c024a2325d1c6cb3019b4169a6f3f214a224587
[ "Apache-2.0", "MIT" ]
47
2019-02-21T11:16:20.000Z
2019-07-10T20:30:13.000Z
tsl/test/include/tsl_tests/evaluation/surface_evaluator_fixtures.hpp
jovobe/tsl
6c024a2325d1c6cb3019b4169a6f3f214a224587
[ "Apache-2.0", "MIT" ]
4
2020-06-20T15:36:11.000Z
2022-01-04T03:22:45.000Z
#ifndef TEST_INCLUDE_TSL_TESTS_EVALUATION_SURFACE_EVALUATOR_FIXTURES_HPP #define TEST_INCLUDE_TSL_TESTS_EVALUATION_SURFACE_EVALUATOR_FIXTURES_HPP #include <vector> #include <gtest/gtest.h> #include <gmock/gmock.h> #include "tsl/geometry/tmesh/handles.hpp" #include "tsl/evaluation/surface_evaluator.hpp" using std::v...
24.09375
93
0.80415
jovobe
be1252c357cc0665c35e5fefbe938e77be6add04
1,340
cpp
C++
src/RESTAPI/RESTAPI_commands.cpp
asflabs/wlan-cloud-ucentralgw
36dce2112b104c7aec82e69edc25e8d350ff4ba1
[ "BSD-3-Clause" ]
8
2021-05-10T19:50:42.000Z
2022-02-28T03:16:06.000Z
src/RESTAPI/RESTAPI_commands.cpp
asflabs/wlan-cloud-ucentralgw
36dce2112b104c7aec82e69edc25e8d350ff4ba1
[ "BSD-3-Clause" ]
12
2021-05-27T21:36:32.000Z
2021-11-22T14:55:04.000Z
src/RESTAPI/RESTAPI_commands.cpp
asflabs/wlan-cloud-ucentralgw
36dce2112b104c7aec82e69edc25e8d350ff4ba1
[ "BSD-3-Clause" ]
10
2021-05-10T19:50:51.000Z
2022-03-25T04:02:38.000Z
// // License type: BSD 3-Clause License // License copy: https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/blob/master/LICENSE // // Created by Stephane Bourque on 2021-03-04. // Arilia Wireless Inc. // #include "RESTAPI_commands.h" #include "StorageService.h" #include "framework/RESTAPI_errors.h" #include...
29.130435
97
0.717164
asflabs
be13bdfa9338bf253c9f2d6c4eadebe8a437c95a
423
hpp
C++
src/mlpack/bindings/python/print_wrapper_py.hpp
ahmedr2001/mlpack
127d7e76a61ef0e282db8eae644c4337fd54307a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/bindings/python/print_wrapper_py.hpp
ahmedr2001/mlpack
127d7e76a61ef0e282db8eae644c4337fd54307a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/bindings/python/print_wrapper_py.hpp
ahmedr2001/mlpack
127d7e76a61ef0e282db8eae644c4337fd54307a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
#ifndef MLPACK_BINDINGS_PYTHON_PRINT_WRAPPER_PY_HPP #define MLPACK_BINDINGS_PYTHON_PRINT_WRAPPER_PY_HPP #include <mlpack/core.hpp> namespace mlpack { namespace bindings { namespace python { void PrintWrapperPY(const std::string& category, const std::string& groupName, const st...
22.263158
53
0.723404
ahmedr2001
be1455865effc449185553f5c901e5bded447c59
1,874
cpp
C++
JinShader/JinShader.cpp
Ahsan-Sarbaz/JinShader
5350cfa2ca4826feef346d9ed7e73bb0d274cebe
[ "MIT" ]
null
null
null
JinShader/JinShader.cpp
Ahsan-Sarbaz/JinShader
5350cfa2ca4826feef346d9ed7e73bb0d274cebe
[ "MIT" ]
null
null
null
JinShader/JinShader.cpp
Ahsan-Sarbaz/JinShader
5350cfa2ca4826feef346d9ed7e73bb0d274cebe
[ "MIT" ]
null
null
null
#include "JinShader.h" void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) { JinShaderState* state = (JinShaderState*)glfwGetWindowUserPointer(window); if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) { state->want_exit = true; state->window_is_open = false; } if (key == G...
24.986667
96
0.734792
Ahsan-Sarbaz
be15d9cf97cde8883839e0c3dc03b278baf153fc
2,029
cpp
C++
example/reduce_sum.cpp
tsung-wei-huang/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
69
2019-03-16T20:13:26.000Z
2022-03-24T14:12:19.000Z
example/reduce_sum.cpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2017-12-02T05:38:30.000Z
2019-02-08T11:16:12.000Z
example/reduce_sum.cpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2019-04-13T16:27:29.000Z
2022-01-07T14:42:46.000Z
// Program: reduce_sum // Creator: Tsung-Wei Huang // Date : 2017/12/01 // // This program demonstrates how to create a MapReduce workload. #include <dtc/dtc.hpp> struct Storage { std::atomic<int> value {0}; std::atomic<int> count {0}; Storage() = default; Storage(const Storage& rhs) : value {rhs.value.loa...
23.870588
86
0.574174
tsung-wei-huang
be16a945b407521ced046e7bf5710baa2aadb2eb
1,496
cpp
C++
sources/SceneGraph/spMaterialNode.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/SceneGraph/spMaterialNode.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/SceneGraph/spMaterialNode.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2020-02-15T09:17:41.000Z
2020-05-21T14:10:40.000Z
/* * Material node file * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #include "SceneGraph/spMaterialNode.hpp" #include "Platform/spSoftPixelDeviceOS.hpp" namespace sp { extern video::RenderSystem* GlbRenderSys; ...
23.375
92
0.652406
rontrek
be1d8133751c4dd976bbbabdfff67a91e4fadb47
2,280
cpp
C++
modules/Alexa/SmartScreenCapabilityAgents/AlexaPresentation/src/TimeoutType.cpp
luckypal/AWSAlexaSmartScreenSDK
cce60e3fb697f256ce1e10394dff42065f29302f
[ "Apache-2.0" ]
74
2019-11-19T18:17:04.000Z
2022-03-11T22:24:05.000Z
modules/Alexa/SmartScreenCapabilityAgents/AlexaPresentation/src/TimeoutType.cpp
luckypal/AWSAlexaSmartScreenSDK
cce60e3fb697f256ce1e10394dff42065f29302f
[ "Apache-2.0" ]
122
2019-11-19T19:01:11.000Z
2022-03-16T04:57:21.000Z
modules/Alexa/SmartScreenCapabilityAgents/AlexaPresentation/src/TimeoutType.cpp
isabella232/alexa-smart-screen-sdk
fca0701fc5020a2ae3787cd8a2052e7291982fd0
[ "Apache-2.0" ]
22
2019-11-24T07:44:14.000Z
2022-03-07T08:11:51.000Z
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
33.529412
109
0.711842
luckypal
be1fcbb595979dca21e5f7808be543d96b690f78
2,804
hpp
C++
src/core/observer/include/connection_manager.hpp
trueneu/Karabiner-Elements
1c6977e350b586562ac7dad46c830745cf71bb35
[ "Unlicense" ]
null
null
null
src/core/observer/include/connection_manager.hpp
trueneu/Karabiner-Elements
1c6977e350b586562ac7dad46c830745cf71bb35
[ "Unlicense" ]
null
null
null
src/core/observer/include/connection_manager.hpp
trueneu/Karabiner-Elements
1c6977e350b586562ac7dad46c830745cf71bb35
[ "Unlicense" ]
null
null
null
#pragma once #include "console_user_id_monitor.hpp" #include "constants.hpp" #include "device_observer.hpp" #include "gcd_utility.hpp" #include "grabber_client.hpp" #include "version_monitor.hpp" namespace krbn { class connection_manager final { public: connection_manager(const connection_manager&) = delete; con...
26.961538
102
0.689372
trueneu
be21650c9d5206ad295b344d59a8f133f03cd01c
1,266
cpp
C++
monte_carlo/src/monte_carlo.cpp
oscar6echo/xtensor-finance
753f0166d89ce05df59ca939ad91361b6a910ea9
[ "BSD-3-Clause" ]
null
null
null
monte_carlo/src/monte_carlo.cpp
oscar6echo/xtensor-finance
753f0166d89ce05df59ca939ad91361b6a910ea9
[ "BSD-3-Clause" ]
null
null
null
monte_carlo/src/monte_carlo.cpp
oscar6echo/xtensor-finance
753f0166d89ce05df59ca939ad91361b6a910ea9
[ "BSD-3-Clause" ]
null
null
null
#include "monte_carlo.hpp" #include "xtensor/xrandom.hpp" #include "xtensor/xview.hpp" namespace mc { mc_engine::mc_engine(const diffusion_model* model) : p_model(model) { } void mc_engine::run_simulation(double initial_value, double maturity, npy_intp nb_path) { using tensor_type...
28.133333
91
0.57346
oscar6echo
be217fb4f7e8a4b0b02254e1faefd01cf40bfa2c
850
cpp
C++
3. Medium/NumberOfUniqueBSTs.cpp
vachan-maker/Edabit-Solutions
b8598f15b981b58d42bf5220042b7e0e576bb668
[ "MIT" ]
36
2020-09-25T15:03:23.000Z
2020-10-08T14:25:53.000Z
3. Medium/NumberOfUniqueBSTs.cpp
vachan-maker/Edabit-Solutions
b8598f15b981b58d42bf5220042b7e0e576bb668
[ "MIT" ]
212
2020-09-25T13:15:59.000Z
2020-10-12T20:35:05.000Z
3. Medium/NumberOfUniqueBSTs.cpp
vachan-maker/Edabit-Solutions
b8598f15b981b58d42bf5220042b7e0e576bb668
[ "MIT" ]
240
2020-09-25T13:20:02.000Z
2020-10-12T04:20:47.000Z
/* Problem statement : Given n, how many structurally unique BST's (binary search trees) are there that store values 1 ... n ? This question uses catalan number series(1, 1, 2, 5, 14, 42....) which is also used to solve many number-pattern questions. Problem link : https://leetcode.com/problems/unique-binary-search...
25
127
0.537647
vachan-maker
be228b9a2c4bba9b026ac808b29d84b7dce1cd09
6,379
cpp
C++
base_layer.cpp
WatorVapor/move.wator
406a10d259fdfd251fe0d159c95aecd16c4c23ce
[ "MIT" ]
null
null
null
base_layer.cpp
WatorVapor/move.wator
406a10d259fdfd251fe0d159c95aecd16c4c23ce
[ "MIT" ]
null
null
null
base_layer.cpp
WatorVapor/move.wator
406a10d259fdfd251fe0d159c95aecd16c4c23ce
[ "MIT" ]
1
2020-08-17T13:02:19.000Z
2020-08-17T13:02:19.000Z
#include <iostream> #include <vector> #include <memory> #include <string> #include <numeric> #include <iomanip> #include <thread> using namespace std; #include <opencv/highgui.h> //#include <opencv2/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include "base_layer.hpp" #include <boost/log/core.hpp> #include...
21.263333
95
0.617965
WatorVapor
be2910741eab80a40c7373e6be074f9e7dd261b5
596
hpp
C++
bvhmake/fitmethods/optimize.hpp
Wumpf/gpugi
55fb5d9cf12b34b22e1df0d54c64c1c6e74d8e58
[ "MIT" ]
14
2015-06-22T06:36:27.000Z
2020-07-23T20:56:44.000Z
bvhmake/fitmethods/optimize.hpp
Wumpf/gpugi
55fb5d9cf12b34b22e1df0d54c64c1c6e74d8e58
[ "MIT" ]
2
2015-02-20T14:21:53.000Z
2015-02-20T14:22:02.000Z
bvhmake/fitmethods/optimize.hpp
Wumpf/gpugi
55fb5d9cf12b34b22e1df0d54c64c1c6e74d8e58
[ "MIT" ]
4
2016-04-30T13:53:46.000Z
2021-12-20T14:52:57.000Z
#pragma once #include <ei/vector.hpp> #include <functional> template<unsigned N> using Vec = ε::Matrix<float, N, 1>; /// \brief General purpose optimization algorithm using swarms. /// \param [in] _function The function to be minimized. /// \param [in] _min The minimum coordinates of the search space. /// \param [i...
35.058824
96
0.736577
Wumpf
be2de55c30a50d161335f1295296c027807e4371
5,137
cpp
C++
SensorInterface/src/spinnakercapture.cpp
SorcererX/SepiaCore
4d7782b04ca6a8f94668bf298e07520d52de873d
[ "BSD-2-Clause" ]
3
2015-01-27T08:52:36.000Z
2018-01-31T07:17:28.000Z
SensorInterface/src/spinnakercapture.cpp
SorcererX/SepiaCore
4d7782b04ca6a8f94668bf298e07520d52de873d
[ "BSD-2-Clause" ]
4
2015-03-11T06:13:29.000Z
2017-02-12T13:08:28.000Z
SensorInterface/src/spinnakercapture.cpp
SorcererX/SepiaCore
4d7782b04ca6a8f94668bf298e07520d52de873d
[ "BSD-2-Clause" ]
null
null
null
#include <spinnakercapture.h> #include <Spinnaker.h> #undef interface #include <boost/thread/barrier.hpp> #include <sepia/writer.h> #include <thread> SpinnakerCapture::SpinnakerCapture( const std::string &a_outputName, const int a_cameras ) { m_barrier = new boost::barrier( a_cameras ); m_writer = new sep...
22.142241
110
0.584388
SorcererX
be32f924628b10d8efbc8b2a95985a19546a58d5
4,484
cc
C++
src/reactor/EventLoop.cc
GGGGITFKBJG/wethands
169b2c4e8758657de10fa5850d1749014338a31d
[ "MIT" ]
3
2020-12-03T13:18:17.000Z
2021-11-12T12:15:36.000Z
src/reactor/EventLoop.cc
GGGGITFKBJG/wethands
169b2c4e8758657de10fa5850d1749014338a31d
[ "MIT" ]
null
null
null
src/reactor/EventLoop.cc
GGGGITFKBJG/wethands
169b2c4e8758657de10fa5850d1749014338a31d
[ "MIT" ]
null
null
null
// Copyright (c) 2020 GGGGITFKBJG // // Date: 2020-05-27 20:30:09 // Description: #include "src/reactor/EventLoop.h" #include <unistd.h> #include <signal.h> #include <sys/eventfd.h> #include <utility> #include "src/logger/Logger.h" namespace wethands { namespace details { __thread EventLoop* t_loopOfCurrentThread = ...
24.502732
74
0.677743
GGGGITFKBJG
be33b94d2fc8769ee9d764f44a96b615e8207936
144,476
cpp
C++
test/test.cpp
vananasun/openmpt-maxim
46b9f7e9988b0196f429a4b957779991cdc1efe1
[ "BSD-3-Clause" ]
null
null
null
test/test.cpp
vananasun/openmpt-maxim
46b9f7e9988b0196f429a4b957779991cdc1efe1
[ "BSD-3-Clause" ]
null
null
null
test/test.cpp
vananasun/openmpt-maxim
46b9f7e9988b0196f429a4b957779991cdc1efe1
[ "BSD-3-Clause" ]
null
null
null
/* * test.cpp * -------- * Purpose: Unit tests for OpenMPT. * Notes : We need FAAAAAAAR more unit tests! * Authors: OpenMPT Devs * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. */ #include "stdafx.h" #include "test.h" #undef ENABLE_TESTS #ifdef ENABLE_TESTS #inclu...
38.383634
232
0.70692
vananasun
be385a070635cab1e31053a8502a4bd1834d8159
358
cpp
C++
test/seaport_passenger.cpp
RothschildYuan/cpp-reflect
341240a8ae2bae782834f227d48d3a0a112c31e9
[ "MIT" ]
2
2019-11-05T03:12:48.000Z
2020-07-20T16:20:48.000Z
test/seaport_passenger.cpp
RothschildYuan/cpp-reflect
341240a8ae2bae782834f227d48d3a0a112c31e9
[ "MIT" ]
null
null
null
test/seaport_passenger.cpp
RothschildYuan/cpp-reflect
341240a8ae2bae782834f227d48d3a0a112c31e9
[ "MIT" ]
null
null
null
#include "seaport_passenger.h" seaport_passenger::seaport_passenger() { INIT_VALUE(id); INIT_VALUE(passengerName); INIT_VALUE(passengerCardType); INIT_VALUE(passengerIdCard); INIT_VALUE(passengerAddr); INIT_VALUE(passengerBirthDay); INIT_VALUE(passengerGender); INIT_VALUE(passengerMobil...
23.866667
38
0.75419
RothschildYuan
be3af64133187f852f4685a54a16fef7003f8cc3
214
cpp
C++
strict-alias.cpp
zbigg/sandbox
bd5fe661907756bdc085a16a222a5727875fcfbe
[ "BSD-3-Clause" ]
null
null
null
strict-alias.cpp
zbigg/sandbox
bd5fe661907756bdc085a16a222a5727875fcfbe
[ "BSD-3-Clause" ]
2
2019-12-16T10:23:27.000Z
2019-12-16T10:44:29.000Z
strict-alias.cpp
zbigg/sandbox
bd5fe661907756bdc085a16a222a5727875fcfbe
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> int main(int argc, char ** argv) { /*alignas(int)*/ short data[sizeof(int)/2]; int *myInt = new(data) int; *myInt = 34; std::cout << *reinterpret_cast<int*>(data) << std::endl; }
19.454545
59
0.598131
zbigg
be3b341734588bb70e369bb71d82eadf510e277d
330
cpp
C++
ast/debug/vardef.cpp
kahveciderin/cornpiler
b6f843eb44e7b79ef74b0943ec9792ab1cb4740c
[ "Unlicense" ]
null
null
null
ast/debug/vardef.cpp
kahveciderin/cornpiler
b6f843eb44e7b79ef74b0943ec9792ab1cb4740c
[ "Unlicense" ]
1
2021-11-28T09:26:19.000Z
2021-11-28T09:26:19.000Z
ast/debug/vardef.cpp
kahveciderin/cornpiler
b6f843eb44e7b79ef74b0943ec9792ab1cb4740c
[ "Unlicense" ]
1
2021-08-08T06:25:09.000Z
2021-08-08T06:25:09.000Z
#include "../../ast.hpp" void ast::Vardef::print_val(std::stringstream &stream) const { stream << "{\n\"ast\":\"Vardef\","; //{"ast":"Vardef", stream << "\n\"varname\":\"" << this->varname << "\","; //"varname":"{VARNAME}", stream << "\n\"type\":"; //"type": this->ty->print_type(stream); stream...
41.25
86
0.509091
kahveciderin
be3d8e4458ca37dab8bb0fc3e82dbca945f944b8
11,920
cxx
C++
Components/Optimizers/FullSearch/itkFullSearchOptimizer.cxx
alvarez-pa/elastix
b161a0b07eb2b828a748a0a1c2782e950069fb56
[ "Apache-2.0" ]
null
null
null
Components/Optimizers/FullSearch/itkFullSearchOptimizer.cxx
alvarez-pa/elastix
b161a0b07eb2b828a748a0a1c2782e950069fb56
[ "Apache-2.0" ]
null
null
null
Components/Optimizers/FullSearch/itkFullSearchOptimizer.cxx
alvarez-pa/elastix
b161a0b07eb2b828a748a0a1c2782e950069fb56
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright UMC Utrecht and contributors * * 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 * * h...
26.786517
119
0.652433
alvarez-pa
be3f8722461bf54769229a1057add2a0a482de17
288
cpp
C++
cpp/cstr1.cpp
lcary/tmp
1ea8e06bc25d13f5be6a0ac578d3302ee2134a77
[ "MIT" ]
null
null
null
cpp/cstr1.cpp
lcary/tmp
1ea8e06bc25d13f5be6a0ac578d3302ee2134a77
[ "MIT" ]
null
null
null
cpp/cstr1.cpp
lcary/tmp
1ea8e06bc25d13f5be6a0ac578d3302ee2134a77
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { char string_var[10] = "Hello"; char string_var[10] = {'H', 'e', 'l', 'l', 'o', '\0'}; char string_var[10] = {'H', 'e', 'l', 'l', 'o'}; char string_var[6] = "Hello"; char string_var[] = "Hello"; return 0; }
19.2
58
0.517361
lcary
be40d0a673fbedf6a002cecc1674fb802232cc3e
539
hpp
C++
include/iter/generate.hpp
keithalewis/iter
e32ab9c389eec976745b38e1c89ad8af1af446d4
[ "BSD-3-Clause" ]
null
null
null
include/iter/generate.hpp
keithalewis/iter
e32ab9c389eec976745b38e1c89ad8af1af446d4
[ "BSD-3-Clause" ]
null
null
null
include/iter/generate.hpp
keithalewis/iter
e32ab9c389eec976745b38e1c89ad8af1af446d4
[ "BSD-3-Clause" ]
null
null
null
#ifndef INCLUDE_ITER_GENERATE_HPP #define INCLUDE_ITER_GENERATE_HPP #include "iter/core.hpp" namespace iter { template<std::invocable<> F> requires concepts::optional_next<std::invoke_result_t<F>> || concepts::pointer_next<std::invoke_result_t<F>> struct generate : F { using this_t = gen...
24.5
70
0.660482
keithalewis
be4ab3da7421d4c30b1fbd1f9322a601df2c4246
587
cpp
C++
src/tick.cpp
rageworx/fltk_bokeh_effect
0ee7b514f53dbe3e1060a2039b1d73470d1f52d0
[ "MIT" ]
2
2019-02-14T03:15:42.000Z
2020-09-03T02:41:52.000Z
src/tick.cpp
rageworx/fltk_bokeh_effect
0ee7b514f53dbe3e1060a2039b1d73470d1f52d0
[ "MIT" ]
null
null
null
src/tick.cpp
rageworx/fltk_bokeh_effect
0ee7b514f53dbe3e1060a2039b1d73470d1f52d0
[ "MIT" ]
null
null
null
#ifndef _MSC_VER #include <sys/time.h> #include <unistd.h> #include <iostream> #include "tick.h" namespace { class __GET_TICK_COUNT { public: __GET_TICK_COUNT() { if (gettimeofday(&tv_, NULL) != 0) throw 0; } timeval tv_; }; __GET_TICK_COUNT timeStart; } namespace tick { unsigned long ...
14.317073
72
0.664395
rageworx
be4c0404983e4d84e4c27758d924d05d4d2ab35a
3,762
cc
C++
src/MissionManager/LandingComplexItem.cc
uav-operation-system/qgroundcontrol
c24029938e88d7a45a04f4e4e64bf588f595afed
[ "Apache-2.0" ]
2
2020-06-18T19:09:42.000Z
2021-05-24T19:57:10.000Z
src/MissionManager/LandingComplexItem.cc
uav-operation-system/qgroundcontrol
c24029938e88d7a45a04f4e4e64bf588f595afed
[ "Apache-2.0" ]
null
null
null
src/MissionManager/LandingComplexItem.cc
uav-operation-system/qgroundcontrol
c24029938e88d7a45a04f4e4e64bf588f595afed
[ "Apache-2.0" ]
1
2021-05-24T19:57:18.000Z
2021-05-24T19:57:18.000Z
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ***************************************...
38.783505
166
0.694843
uav-operation-system
be50f26773a045ee1a8b16c4907da4a47143a8ac
6,893
hpp
C++
Source/Physics/CustomJoint.hpp
JesseMader/PlasmaEngine
ffda8f76b96e83181cfc1f9ec102c4ad0d7fd131
[ "MIT" ]
null
null
null
Source/Physics/CustomJoint.hpp
JesseMader/PlasmaEngine
ffda8f76b96e83181cfc1f9ec102c4ad0d7fd131
[ "MIT" ]
null
null
null
Source/Physics/CustomJoint.hpp
JesseMader/PlasmaEngine
ffda8f76b96e83181cfc1f9ec102c4ad0d7fd131
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once namespace Plasma { namespace Events { DeclareEvent(ComputeCustomJointInfo); } // namespace Events namespace Physics { struct CustomJoint; /// Sent by CustomJoint before solving constraints. Used to configure /// constraints before the physics system begins solving. cl...
38.724719
97
0.753228
JesseMader
be5de72ddb441f16c255a453b0c3e475a1bf15a7
4,441
cpp
C++
alectrnn/common/ale_generator.cpp
neuro-evolution/alectrnn
f39476b6eb3f4270c5f7f2f93ebcc5940b9c39e4
[ "MIT" ]
null
null
null
alectrnn/common/ale_generator.cpp
neuro-evolution/alectrnn
f39476b6eb3f4270c5f7f2f93ebcc5940b9c39e4
[ "MIT" ]
33
2018-03-30T03:18:03.000Z
2020-12-14T05:13:17.000Z
alectrnn/common/ale_generator.cpp
Nathaniel-Rodriguez/alectrnn
f39476b6eb3f4270c5f7f2f93ebcc5940b9c39e4
[ "MIT" ]
null
null
null
/* * ale_generator.cpp * * Created on: Sep 1, 2017 * Author: Nathaniel Rodriguez * * ALE or Arcade-Learning-Environment wrapper for Python. * It generates a new environment and returns the pointer to the environment * in a Python Capsule for use in almost every other class. ALE is passed to * both the ag...
38.95614
90
0.665391
neuro-evolution
41546af2d955ed1f9281eff84e81f21b5e507dc9
10,649
hpp
C++
src/include/rexi/REXI_Terry_GaussianApproximation.hpp
valentinaschueller/sweet
27e99c7a110c99deeadee70688c186d82b39ac90
[ "MIT" ]
6
2017-11-20T08:12:46.000Z
2021-03-11T15:32:36.000Z
src/include/rexi/REXI_Terry_GaussianApproximation.hpp
valentinaschueller/sweet
27e99c7a110c99deeadee70688c186d82b39ac90
[ "MIT" ]
4
2018-02-02T21:46:33.000Z
2022-01-11T11:10:27.000Z
src/include/rexi/REXI_Terry_GaussianApproximation.hpp
valentinaschueller/sweet
27e99c7a110c99deeadee70688c186d82b39ac90
[ "MIT" ]
12
2016-03-01T18:33:34.000Z
2022-02-08T22:20:31.000Z
/* * GaussianApproximation.hpp * * Created on: 2 Aug 2015 * Author: Martin Schreiber <SchreiberX@gmail.com> */ #ifndef SRC_INCLUDE_REXI_REXI_TERRY_GAUSSIANAPPROXIMATION_HPP_ #define SRC_INCLUDE_REXI_REXI_TERRY_GAUSSIANAPPROXIMATION_HPP_ #include <cmath> #include <libmath/DQStuff.hpp> #include <sweet/SWEETEr...
35.496667
161
0.671425
valentinaschueller
415a2e6772d468851a26e6a87687f5db9b6cf29c
28,459
cpp
C++
src/mscript/node.cpp
ondra-novak/mscript
1a015ea6b8fec76808f17eea49f56a8aee269c3f
[ "MIT" ]
1
2022-03-07T16:21:35.000Z
2022-03-07T16:21:35.000Z
src/mscript/node.cpp
ondra-novak/mscript
1a015ea6b8fec76808f17eea49f56a8aee269c3f
[ "MIT" ]
null
null
null
src/mscript/node.cpp
ondra-novak/mscript
1a015ea6b8fec76808f17eea49f56a8aee269c3f
[ "MIT" ]
null
null
null
#include <imtjson/string.h> #include <mscript/function.h> #include "node.h" #include <cmath> namespace mscript { BinaryOperation::BinaryOperation(PNode &&left, PNode &&right, Cmd instruction) :left(std::move(left)),right(std::move(right)),instruction(instruction) {} void BinaryOperation::generateExpression(BlockBl...
31.170865
144
0.711058
ondra-novak
415b6c772f9c6586cd4dacfd2fc6deb13119a2e0
425
hpp
C++
src/ast/version.hpp
shiroyasha/telegraph
1735dc392cfa6651ce69ca98b18f6b631c01f231
[ "MIT", "Unlicense" ]
1
2016-12-07T21:41:37.000Z
2016-12-07T21:41:37.000Z
src/ast/version.hpp
shiroyasha/telegraph
1735dc392cfa6651ce69ca98b18f6b631c01f231
[ "MIT", "Unlicense" ]
null
null
null
src/ast/version.hpp
shiroyasha/telegraph
1735dc392cfa6651ce69ca98b18f6b631c01f231
[ "MIT", "Unlicense" ]
null
null
null
#pragma once #include "ast/node.hpp" #include "ast/version_number.hpp" namespace ast { class Version : public Node { VersionNumber* m_number; public: Version(VersionNumber* number) : m_number(number) {} ~Version() { delete m_number; } std::string number() { return m_number->toSt...
16.346154
56
0.609412
shiroyasha
415ce3d4071b6fc2f7c3317457412c850d9c4286
310
cpp
C++
render/technique.cpp
flourk/My_Engine_Code_Part
eb109ee9148391d1cd9481d4a237130244a6c9e7
[ "MIT" ]
null
null
null
render/technique.cpp
flourk/My_Engine_Code_Part
eb109ee9148391d1cd9481d4a237130244a6c9e7
[ "MIT" ]
1
2019-12-23T11:14:10.000Z
2019-12-23T11:14:10.000Z
render/technique.cpp
flourk/My_Engine_Code_Part
eb109ee9148391d1cd9481d4a237130244a6c9e7
[ "MIT" ]
null
null
null
#pragma once #include "technique.h" #include "pass.h" Pass* Technique::GetPass(int idx) { if(idx < 0 || idx >= m_passes.size()) return nullptr; return m_passes[idx]; } void Technique::Compile() { for(int i = 0; i < m_passes.size(); i++) { m_passes[i]->Compile(); } }
13.478261
44
0.56129
flourk
415f448a686150c8b700d815cb8dcc50224028e3
11,911
cc
C++
benchmark/time/duration_benchmark.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
benchmark/time/duration_benchmark.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
benchmark/time/duration_benchmark.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The abel Authors. // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
27.764569
86
0.687096
Conun
416096dbcc5e1b26d0b9ec208a44de0178ee5dd4
381,256
cpp
C++
libraries/ine-vm/tests/spec/f32_cmp_tests.cpp
inery-blockchain/inery
2823539f76a0debae22b6783781b1374c63a59d8
[ "MIT" ]
null
null
null
libraries/ine-vm/tests/spec/f32_cmp_tests.cpp
inery-blockchain/inery
2823539f76a0debae22b6783781b1374c63a59d8
[ "MIT" ]
null
null
null
libraries/ine-vm/tests/spec/f32_cmp_tests.cpp
inery-blockchain/inery
2823539f76a0debae22b6783781b1374c63a59d8
[ "MIT" ]
null
null
null
#include <algorithm> #include <vector> #include <iostream> #include <iterator> #include <cmath> #include <cstdlib> #include <catch2/catch.hpp> #include <utils.hpp> #include <wasm_config.hpp> #include <inery/vm/backend.hpp> using namespace inery; using namespace inery::vm; extern wasm_allocator wa; BACKEND_TEST_CASE( ...
154.919139
159
0.721408
inery-blockchain
416379e6a6deb32fdd21e96113748d663d8de38a
938
cpp
C++
src/tools/ui_tools/decode.cpp
Terebinth/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
117
2015-01-13T14:48:49.000Z
2022-03-16T01:38:19.000Z
src/tools/ui_tools/decode.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
4
2015-05-01T13:09:53.000Z
2017-07-22T09:11:06.000Z
src/tools/ui_tools/decode.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
78
2015-01-13T09:27:47.000Z
2022-03-18T14:39:09.000Z
#include <stdio.h> #include <string.h> char Mask[] = "Falcon 4.0 is Cool"; void main(int argc, char **argv) { char buffer[20]; int i, val; if (argc != 2) { printf("Usage: decode [that long string of numbers you get from running addcode.exe]\n"); return; } memset(buffer, 0, ...
19.142857
97
0.413646
Terebinth
41644c5e84087d47b14dd65129a665410d3698f3
201,016
inl
C++
src/fonts/stb_font_arial_42_latin_ext.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
3
2018-03-13T12:51:57.000Z
2021-10-11T11:32:17.000Z
src/fonts/stb_font_arial_42_latin_ext.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
src/fonts/stb_font_arial_42_latin_ext.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
// Font generated by stb_font_inl_generator.c (4/1 bpp) // // Following instructions show how to use the only included font, whatever it is, in // a generic way so you can replace it with any other font by changing the include. // To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_arial_42_latin_ext_...
70.780282
121
0.815826
stetre
4167c43788d0fa9356ba349d19db41676c1dce78
2,360
tpp
C++
src/test/addTestSuiteCmdTest.tpp
obibuffett/casTest
05e5e045adec80b374321ea607a1b5993cb47e5e
[ "MIT" ]
null
null
null
src/test/addTestSuiteCmdTest.tpp
obibuffett/casTest
05e5e045adec80b374321ea607a1b5993cb47e5e
[ "MIT" ]
11
2015-03-14T14:07:13.000Z
2018-03-27T12:14:54.000Z
src/test/addTestSuiteCmdTest.tpp
obibuffett/casTest
05e5e045adec80b374321ea607a1b5993cb47e5e
[ "MIT" ]
2
2015-03-08T03:56:57.000Z
2015-04-02T00:58:21.000Z
// The "Clean And Simple Test" (CAST) software framework, tools, and // documentation are distributed under the terms of the MIT license a // copy of which is included with this package (see the file "LICENSE" // in the CAS poject tree's root directory). CAST may be used for any // purpose, including commercial purpos...
20.701754
78
0.669068
obibuffett
4168447ecc330dd6052d7c63691e7f37c18355a3
2,032
hpp
C++
tm_kit/transport/socket_rpc/SocketRPCComponent.hpp
cd606/tm_transport
58a338a7a90608703ab6a13092be75bcc5e8ea2e
[ "Apache-2.0" ]
1
2020-05-22T08:47:03.000Z
2020-05-22T08:47:03.000Z
tm_kit/transport/socket_rpc/SocketRPCComponent.hpp
cd606/tm_transport
58a338a7a90608703ab6a13092be75bcc5e8ea2e
[ "Apache-2.0" ]
null
null
null
tm_kit/transport/socket_rpc/SocketRPCComponent.hpp
cd606/tm_transport
58a338a7a90608703ab6a13092be75bcc5e8ea2e
[ "Apache-2.0" ]
null
null
null
#ifndef TM_KIT_TRANSPORT_SOCKET_RPC_SOCKET_RPC_COMPONENT_HPP_ #define TM_KIT_TRANSPORT_SOCKET_RPC_SOCKET_RPC_COMPONENT_HPP_ #include <memory> #include <functional> #include <optional> #include <regex> #include <variant> #include <string> #include <unordered_map> #include <thread> #include <tm_kit/infra/WithTimeData.h...
41.469388
163
0.709646
cd606
41718c8a00fb1a9834462ad24164192868bbef88
8,433
cpp
C++
test/unit/RateMetric_test.cpp
jamesmistry/measuro
6485732a7decd8bd787a0100fefc7b3f708c80bd
[ "MIT" ]
null
null
null
test/unit/RateMetric_test.cpp
jamesmistry/measuro
6485732a7decd8bd787a0100fefc7b3f708c80bd
[ "MIT" ]
null
null
null
test/unit/RateMetric_test.cpp
jamesmistry/measuro
6485732a7decd8bd787a0100fefc7b3f708c80bd
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "measuro.hpp" #include "stubs.hpp" namespace measuro { TEST(RateMetric, rate_calc) { std::chrono::steady_clock::time_point dummy_clock; StubTimeFunction time_f({0, 5000, 5000, 2500, 2500, 500, 500}); std::shared_ptr<NumberMetric<Metric::Kind::UINT, s...
38.331818
223
0.615677
jamesmistry
4173c976a01b60e4c89cfe22640cc6b66713b5a9
278
hpp
C++
Spiel/src/game/StatsGUIPanel.hpp
Ipotrick/CPP-2D-Game-Engine
9cd87c369d813904d76668fe6153c7c4e8686023
[ "MIT" ]
null
null
null
Spiel/src/game/StatsGUIPanel.hpp
Ipotrick/CPP-2D-Game-Engine
9cd87c369d813904d76668fe6153c7c4e8686023
[ "MIT" ]
null
null
null
Spiel/src/game/StatsGUIPanel.hpp
Ipotrick/CPP-2D-Game-Engine
9cd87c369d813904d76668fe6153c7c4e8686023
[ "MIT" ]
null
null
null
#pragma once #include "Game.hpp" class GUIStatsPanel { public: GUIStatsPanel(Game* game); ~GUIStatsPanel(); private: gui::Manager::RootHandle rootHandle; Game* game; void update(); f64 impResIterSliderValue{ 5.0f }; std::string entityCountStr; std::string fpsStr; };
15.444444
37
0.726619
Ipotrick
417750613f2a91ba1f3061ade7a7f987de6201f9
152,103
cpp
C++
dwarf/SB/Core/x/xShadow.cpp
stravant/bfbbdecomp
2126be355a6bb8171b850f829c1f2731c8b5de08
[ "OLDAP-2.7" ]
1
2021-01-05T11:28:55.000Z
2021-01-05T11:28:55.000Z
dwarf/SB/Core/x/xShadow.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
null
null
null
dwarf/SB/Core/x/xShadow.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
1
2022-03-30T15:15:08.000Z
2022-03-30T15:15:08.000Z
typedef struct xGroup; typedef struct RwCamera; typedef struct xAnimTransition; typedef struct RwRaster; typedef struct tagiRenderInput; typedef struct xEntMotionPenData; typedef struct xShadowMgr; typedef struct RpAtomic; typedef struct RxHeap; typedef struct xAnimState; typedef struct xAnimMultiFile; typedef struct R...
29.563265
156
0.740689
stravant
4177c4a2abbcf03fc44670c7d4144dcf6df8707c
336
cc
C++
leetcode/41.cc
zofvbeaf/algorithm-practices
9772808fdf1b73ac55887291d9fb680e90b60958
[ "MIT" ]
null
null
null
leetcode/41.cc
zofvbeaf/algorithm-practices
9772808fdf1b73ac55887291d9fb680e90b60958
[ "MIT" ]
null
null
null
leetcode/41.cc
zofvbeaf/algorithm-practices
9772808fdf1b73ac55887291d9fb680e90b60958
[ "MIT" ]
null
null
null
class Solution { public: int firstMissingPositive(vector<int>& nums) { for(int i = 0; i < nums.size(); ++i) while(nums[i] > 0 && nums[i] <= nums.size() && nums[nums[i]-1] != nums[i]) swap(nums[nums[i]-1], nums[i]); for(int i = 0; i < nums.size(); ++i) if(nums[i] != i+1) return i + 1; return nums.siz...
25.846154
77
0.53869
zofvbeaf
417e54c0c7c4a1159b91d58306218415610a5c63
3,508
cpp
C++
test/mlp_l4_mnist/mlp_l4_mnist.cpp
souravsanyal06/puma-simulator
9580656dc0e16fb36eb268054abe4391ade183db
[ "MIT" ]
33
2019-04-18T01:16:07.000Z
2022-02-18T20:21:05.000Z
test/mlp_l4_mnist/mlp_l4_mnist.cpp
souravsanyal06/puma-simulator
9580656dc0e16fb36eb268054abe4391ade183db
[ "MIT" ]
26
2019-09-06T16:05:43.000Z
2022-03-11T23:29:29.000Z
test/mlp_l4_mnist/mlp_l4_mnist.cpp
souravsanyal06/puma-simulator
9580656dc0e16fb36eb268054abe4391ade183db
[ "MIT" ]
35
2019-04-19T08:40:55.000Z
2022-02-13T11:18:00.000Z
/* * Copyright (c) 2019 IMPACT Research Group, University of Illinois. * All rights reserved. * * This file is covered by the LICENSE.txt license file in the root directory. * */ #include<iostream> #include<fstream> //#include<string> #include "puma.h" #include "fully-connected-layer.h" int main() { Mod...
26.778626
101
0.640251
souravsanyal06
417e80a38ca9343ca15236d061c2e5883977eaf4
2,685
hpp
C++
algorithms/douglas_peucker.hpp
cypox/devacus-backend
ba3d2ca8d72843560c4ff754780482dfe8a67c6b
[ "BSD-2-Clause" ]
1
2015-03-16T12:49:12.000Z
2015-03-16T12:49:12.000Z
algorithms/douglas_peucker.hpp
antoinegiret/osrm-backend
ebe34da5428c2bfdb2b227392248011c757822e5
[ "BSD-2-Clause" ]
1
2015-02-25T18:27:19.000Z
2015-02-25T18:27:19.000Z
algorithms/douglas_peucker.hpp
antoinegiret/osrm-backend
ebe34da5428c2bfdb2b227392248011c757822e5
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2013, Project OSRM, Dennis Luxen, others 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 of conditions ...
33.148148
89
0.730726
cypox
417ee8082c2d96772d21ff6e5ee588b66a985b14
7,737
cpp
C++
libs/ml/examples/crypto_price_prediction/main.cpp
vhavrylov-ncube/ledger
1e216c304aea344e8ef88e1954658ff665f4f4ac
[ "Apache-2.0" ]
null
null
null
libs/ml/examples/crypto_price_prediction/main.cpp
vhavrylov-ncube/ledger
1e216c304aea344e8ef88e1954658ff665f4f4ac
[ "Apache-2.0" ]
null
null
null
libs/ml/examples/crypto_price_prediction/main.cpp
vhavrylov-ncube/ledger
1e216c304aea344e8ef88e1954658ff665f4f4ac
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // // Copyright 2018-2020 Fetch.AI Limited // // 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 // // ...
39.075758
99
0.67649
vhavrylov-ncube
4181a7764926511d011fa0f243283b7d4f141a3e
10,496
cpp
C++
static/schedgen/vector/VectLoopSelect.cpp
jahic/Janus
4612d0d7c0f9ec411534eca068abc2e5f042e203
[ "Apache-2.0" ]
6
2021-05-18T09:43:07.000Z
2021-08-10T16:50:08.000Z
static/schedgen/vector/VectLoopSelect.cpp
jahic/Janus
4612d0d7c0f9ec411534eca068abc2e5f042e203
[ "Apache-2.0" ]
null
null
null
static/schedgen/vector/VectLoopSelect.cpp
jahic/Janus
4612d0d7c0f9ec411534eca068abc2e5f042e203
[ "Apache-2.0" ]
2
2021-03-28T15:39:00.000Z
2021-08-20T03:23:57.000Z
#include "VectLoopSelect.h" #include "capstone/capstone.h" #include <set> using namespace janus; static bool checkLoopDependencies(Loop &loop); static bool checkContinuousMemoryAccess(Loop &loop); static bool checkStrideAlignment(Loop &loop); static bool checkCompatibleImplementation(Loop &loop); void setSupportedVec...
34.300654
144
0.587938
jahic
418755fb437a2f80c623cb92fb26c215043c7da4
1,759
cpp
C++
net.ssa/xrSpherical/BoundingSphere.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
xrSpherical/BoundingSphere.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
xrSpherical/BoundingSphere.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
#include "stdafx.h" #include "BoundingSphere.h" #include "ViewFrustum.h" #include "Plane.h" namespace MiniBall { BoundingSphere::BoundingSphere() { } BoundingSphere::BoundingSphere(const BoundingSphere &boundingSphere) { center = boundingSphere.center; radius = boundingSphere.radius; } ...
20.940476
81
0.681069
ixray-team
418da2de66a75289be6d50ef571f451d29b170cc
1,077
cpp
C++
commander/graphsdiag.cpp
lythaniel/YapiBot
724d763fc675a984c110da396ae2803a4b847100
[ "MIT" ]
2
2018-05-28T16:00:52.000Z
2019-01-21T17:36:29.000Z
commander/graphsdiag.cpp
lythaniel/YapiBot
724d763fc675a984c110da396ae2803a4b847100
[ "MIT" ]
null
null
null
commander/graphsdiag.cpp
lythaniel/YapiBot
724d763fc675a984c110da396ae2803a4b847100
[ "MIT" ]
null
null
null
#include "graphsdiag.h" #include "ui_graphs.h" #define GRAPH_SIZE 50 CGraphsDiag::CGraphsDiag(QWidget *parent) : QDialog(parent), ui(new Ui::GraphsDiag) { ui->setupUi(this); ui->accPlot->configure(2,128,"Acceleration"); ui->accPlot->setCurveParam(0,QString(""), Qt::blue ); ui->accPlot->setC...
21.979592
60
0.653668
lythaniel
41941f545c78ab4b68c613c2a37d115728445139
2,077
cpp
C++
src/strategy/same_category_selector.cpp
tansongchen/AwesomeLandlordBot
21bee7e09211258f5c5074f61e1c67c0da9291c5
[ "MIT" ]
null
null
null
src/strategy/same_category_selector.cpp
tansongchen/AwesomeLandlordBot
21bee7e09211258f5c5074f61e1c67c0da9291c5
[ "MIT" ]
null
null
null
src/strategy/same_category_selector.cpp
tansongchen/AwesomeLandlordBot
21bee7e09211258f5c5074f61e1c67c0da9291c5
[ "MIT" ]
null
null
null
#include <algorithm> #include "../environment.h" #include "../strategy.h" Hand same_category_selector(Counter *counter, const Hand &last_hand) { Level count = 0; Pair best_pair = evaluate(counter); best_pair.round += 1; Hand best_hand(not_found), hand; Level &level = hand.level, &length = hand.length; Cou...
35.20339
74
0.558016
tansongchen
41950b60626b7de6ea9a7e6a2dbd303b51c22d99
1,319
hpp
C++
include/private/BlackBox/Renderer/MaterialManager.hpp
kovdennik/TestEngine
43e8d51f64c1a576ff812126d44ee43d8e25bdef
[ "MIT" ]
null
null
null
include/private/BlackBox/Renderer/MaterialManager.hpp
kovdennik/TestEngine
43e8d51f64c1a576ff812126d44ee43d8e25bdef
[ "MIT" ]
null
null
null
include/private/BlackBox/Renderer/MaterialManager.hpp
kovdennik/TestEngine
43e8d51f64c1a576ff812126d44ee43d8e25bdef
[ "MIT" ]
null
null
null
#pragma once #include <BlackBox/Renderer/Material.hpp> #include <BlackBox/Renderer/IRender.hpp> #include <BlackBox/System/IConsole.hpp> #include <BlackBox/System/ILog.hpp> #include <map> #include <string> #include <tinyxml2.h> extern Material* defaultMaterial; struct ISystem; struct IMaterialShaderSink { virtual ...
29.977273
85
0.764215
kovdennik
41a1cb9424f30d05114fa7b09c84b18d44b7aa02
20,864
cpp
C++
ngraph/test/op_eval/if_eval.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
1
2021-12-30T05:47:43.000Z
2021-12-30T05:47:43.000Z
ngraph/test/op_eval/if_eval.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
42
2020-11-23T08:09:57.000Z
2022-02-21T13:03:34.000Z
ngraph/test/op_eval/if_eval.cpp
tsocha/openvino
3081fac7581933568b496a3c4e744d1cee481619
[ "Apache-2.0" ]
4
2021-04-02T08:48:38.000Z
2021-07-01T06:59:02.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <ngraph/pass/constant_folding.hpp> #include <string> #include <vector> #include "gtest/gtest.h" #include "ngraph/opsets/opset1.hpp" #include "ngraph/opsets/opset5.hpp" #include "ngraph/opsets/opset8.hpp" #include "ngraph/r...
56.695652
111
0.651505
uikilin100
41a418a9a81bca5429f3b1ba8556890178a35476
3,211
cc
C++
main/fulltest.cc
Seegnify/Seegnify
f20742743e237fa53b7450436e35cd8c80066d4c
[ "Apache-2.0" ]
null
null
null
main/fulltest.cc
Seegnify/Seegnify
f20742743e237fa53b7450436e35cd8c80066d4c
[ "Apache-2.0" ]
null
null
null
main/fulltest.cc
Seegnify/Seegnify
f20742743e237fa53b7450436e35cd8c80066d4c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020-2021 Greg Padiasek and Seegnify <http://www.seegnify.org> * * 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 * * Un...
22.144828
75
0.558393
Seegnify
41a724d95b32406e414059d3a9aba1b2d7683a1c
2,723
cpp
C++
libc/test/src/math/logbl_test.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
1
2022-01-06T15:44:48.000Z
2022-01-06T15:44:48.000Z
libc/test/src/math/logbl_test.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
2
2019-06-27T00:36:28.000Z
2021-06-29T20:05:03.000Z
libc/test/src/math/logbl_test.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
null
null
null
//===-- Unittests for logbl -----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
34.0375
80
0.641939
keryell
41ab46b7d1eb36374d3975118315a1bb825cb077
126
cc
C++
src/debug/test/test_dbg.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/debug/test/test_dbg.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/debug/test/test_dbg.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
#include <iostream> #include "UnitTest++.h" #include "VerboseObject_objs.hh" TEST(DBG_HELPERS) { CHECK_EQUAL(0.0, 0.0); }
14
32
0.698413
fmyuan
41ab52dcabef477f75796d0f685a9ad4e93c6a13
4,251
cpp
C++
unit_tests/gtest_staticarray_reverseiterator.cpp
bigplayszn/nCine
43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454
[ "MIT" ]
675
2019-05-28T19:00:55.000Z
2022-03-31T16:44:28.000Z
unit_tests/gtest_staticarray_reverseiterator.cpp
bigplayszn/nCine
43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454
[ "MIT" ]
13
2020-03-29T06:46:32.000Z
2022-01-29T03:19:30.000Z
unit_tests/gtest_staticarray_reverseiterator.cpp
bigplayszn/nCine
43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454
[ "MIT" ]
53
2019-06-02T03:04:10.000Z
2022-03-11T06:17:50.000Z
#include "gtest_staticarray.h" namespace { class StaticArrayReverseIteratorTest : public ::testing::Test { protected: void SetUp() override { initArray(array_); } nctl::StaticArray<int, Capacity> array_; }; TEST_F(StaticArrayReverseIteratorTest, ForLoopIteration) { int n = Capacity - 1; printf("Reverse itera...
25.920732
110
0.691367
bigplayszn
41b4e7249729ecaadabdab7934cdef00a419b72b
7,124
cpp
C++
src/lesson_2021_03_09_sorting.cpp
kzhereb/knu-ips-progr2021
77766bd4e4cd71ce55a2e0fd1006342516af4b31
[ "MIT" ]
1
2021-02-01T18:14:29.000Z
2021-02-01T18:14:29.000Z
src/lesson_2021_03_09_sorting.cpp
kzhereb/knu-ips-progr2021
77766bd4e4cd71ce55a2e0fd1006342516af4b31
[ "MIT" ]
null
null
null
src/lesson_2021_03_09_sorting.cpp
kzhereb/knu-ips-progr2021
77766bd4e4cd71ce55a2e0fd1006342516af4b31
[ "MIT" ]
null
null
null
/* * lesson_2021_03_09_sorting.cpp * * Created on: Feb 16, 2021 * Author: KZ */ #include <iostream> #include <fstream> #include <algorithm> #include <utility> #include <chrono> #include <cmath> #include <climits> namespace lesson_2021_03_09_sorting { using namespace std::chrono; class ...
25.352313
123
0.608366
kzhereb
41b557b657723102447cd73654c78138a3f850da
72,734
cpp
C++
test/HPGCalc_afm.cpp
glest/ftgl-2.1.3
76eef052c04948dc5409fbd35da6e7e6d5a4d814
[ "MIT" ]
171
2015-01-08T10:35:56.000Z
2021-07-03T12:35:10.000Z
test/HPGCalc_afm.cpp
glest/ftgl-2.1.3
76eef052c04948dc5409fbd35da6e7e6d5a4d814
[ "MIT" ]
11
2015-01-30T05:30:54.000Z
2017-04-08T23:34:33.000Z
ftgles/test/HPGCalc_afm.cpp
rktjmp/ftgles
25db14898c792139bc6d5f1a5e0a15889538a440
[ "MIT" ]
59
2015-02-01T03:43:00.000Z
2020-12-01T02:08:57.000Z
/* * Conversion of HPGCalc.afm */ #ifndef DEFINED_BINARYFILEDUMP #define DEFINED_BINARYFILEDUMP typedef struct BINARYFILEDUMP_struct { const unsigned char * dataBytes; int numBytes; } BINARYFILEDUMP; #endif const unsigned char byte_data_HPGCalc_afm[ ] = { 0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x6e...
69.270476
75
0.630902
glest
41b586036536e7d4b1dde3d64a4feaf26de097c4
5,400
cpp
C++
src/add-ons/kernel/bus_managers/virtio/VirtioModule.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
4
2017-06-17T22:03:56.000Z
2019-01-25T10:51:55.000Z
src/add-ons/kernel/bus_managers/virtio/VirtioModule.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
null
null
null
src/add-ons/kernel/bus_managers/virtio/VirtioModule.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
3
2018-12-17T13:07:38.000Z
2021-09-08T13:07:31.000Z
/* * Copyright 2013, Jérôme Duval, korli@users.berlios.de. * Distributed under the terms of the MIT License. */ #include "VirtioPrivate.h" device_manager_info *gDeviceManager = NULL; // #pragma mark - static status_t virtio_device_init(device_node *node, void **cookie) { CALLED(); VirtioDevice *device = ne...
18.815331
77
0.745556
axeld
41b78b91fa4a2205ef018facab2388ca47f4ca3f
4,034
cpp
C++
utils.cpp
HCLOpenBMC/phosphor-led-manager
9d9ab2291d7c08f782a8444804cad1e55d640970
[ "Apache-2.0" ]
null
null
null
utils.cpp
HCLOpenBMC/phosphor-led-manager
9d9ab2291d7c08f782a8444804cad1e55d640970
[ "Apache-2.0" ]
null
null
null
utils.cpp
HCLOpenBMC/phosphor-led-manager
9d9ab2291d7c08f782a8444804cad1e55d640970
[ "Apache-2.0" ]
null
null
null
#include "utils.hpp" #include <phosphor-logging/log.hpp> namespace phosphor { namespace led { namespace utils { using namespace phosphor::logging; // Get service name const std::string DBusHandler::getService(const std::string& path, const std::string& interface) const { ...
28.408451
77
0.595439
HCLOpenBMC