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
f242339b31e7cf08ca2b32322798dcfb737dece4
604
cpp
C++
problems/acmicpc_5639.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_5639.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_5639.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> using namespace std; void search(int const root,int const r,vector<int> const &v){ if(root+1>r)return; if(root+1==r){ printf("%d\n",v[root]); return; } int const l=root+1; int const rtv=v[root]; int lv=l,rv=r; while(lv<rv){ int m=(...
19.483871
61
0.503311
qawbecrdtey
f254244cfde391a02b65a69db47a22302c374e6c
6,084
cpp
C++
GLWrapper/GLView.cpp
filipkunc/GLGraphics
fb696948034832e1fbc60b7c6095560a79952875
[ "MIT" ]
6
2015-12-29T11:24:29.000Z
2021-07-17T06:00:30.000Z
GLWrapper/GLView.cpp
filipkunc/GLGraphics
fb696948034832e1fbc60b7c6095560a79952875
[ "MIT" ]
null
null
null
GLWrapper/GLView.cpp
filipkunc/GLGraphics
fb696948034832e1fbc60b7c6095560a79952875
[ "MIT" ]
1
2021-05-27T07:35:57.000Z
2021-05-27T07:35:57.000Z
#include "stdafx.h" #include "DesignModeDevenv.h" #include "GLCanvas.h" #include "EventArgs.h" #include "GLView.h" bool WGLExtensionSupported(const char *extension_name) { // this is pointer to function which returns pointer to string with list of all wgl extensions PFNWGLGETEXTENSIONSSTRINGEXTPROC wg...
24.336
127
0.646121
filipkunc
f2559aebfae3e6270306e8f9d26943ba92a58248
2,392
cpp
C++
src/rtl/JitteredRenderer.cpp
potato3d/rtrt
cac9f2f80d94bf60adf0bbd009f5076973ee10c6
[ "MIT" ]
2
2021-02-13T14:18:39.000Z
2021-11-04T07:21:21.000Z
src/rtl/JitteredRenderer.cpp
potato3d/rtrt
cac9f2f80d94bf60adf0bbd009f5076973ee10c6
[ "MIT" ]
null
null
null
src/rtl/JitteredRenderer.cpp
potato3d/rtrt
cac9f2f80d94bf60adf0bbd009f5076973ee10c6
[ "MIT" ]
null
null
null
#include <rtl/JitteredRenderer.h> #include <rtu/random.h> namespace rtl { static const float TWO_BY_TWO_GRID[] = { -0.25f, -0.25f, // line 0 0.25f, -0.25f, -0.25f, 0.25f, // line 1 0.25f, 0.25f }; static const float FOUR_BY_FOUR_GRID[] = { -0.375f, -0....
23.45098
141
0.557692
potato3d
f26bcb26cc4ff77c6d2d9b35e450db33172027db
20,699
cpp
C++
Examples/crosscurrencylgm.cpp
universe1987/QuantLib
bbb0145aff285853755b9f6ed013f53a41163acb
[ "BSD-3-Clause" ]
4
2016-03-28T15:05:23.000Z
2020-02-17T23:05:57.000Z
Examples/crosscurrencylgm.cpp
universe1987/QuantLib
bbb0145aff285853755b9f6ed013f53a41163acb
[ "BSD-3-Clause" ]
1
2015-02-02T20:32:43.000Z
2015-02-02T20:32:43.000Z
Examples/crosscurrencylgm.cpp
pcaspers/quantlib
bbb0145aff285853755b9f6ed013f53a41163acb
[ "BSD-3-Clause" ]
10
2015-01-26T14:50:24.000Z
2015-10-23T07:41:30.000Z
#include <ql/quantlib.hpp> #include <boost/make_shared.hpp> // example / tests for multicurrency lgm model using namespace QuantLib; void nodelete() {} int main() { try { Date referenceDate(30, July, 2015); Settings::instance().evaluationDate() = referenceDate; // the single currenc...
49.997585
80
0.529977
universe1987
f26bd1be8170507920e279813564d69867ee8aa1
22,112
cpp
C++
unittests/adt/test_sstring_view.cpp
paulhuggett/pstore2
a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c
[ "Apache-2.0" ]
11
2018-02-02T21:24:49.000Z
2020-12-11T04:06:03.000Z
unittests/adt/test_sstring_view.cpp
SNSystems/pstore
74e9dd960245d6bfc125af03ed964d8ad660a62d
[ "Apache-2.0" ]
63
2018-02-05T17:24:59.000Z
2022-03-22T17:26:28.000Z
unittests/adt/test_sstring_view.cpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
5
2020-01-13T22:47:11.000Z
2021-05-14T09:31:15.000Z
//===- unittests/adt/test_sstring_view.cpp --------------------------------===// //* _ _ _ * //* ___ ___| |_ _ __(_)_ __ __ _ __ _(_) _____ __ * //* / __/ __| __| '__| | '_ \ / _` | \ \ / / |/ _ \ \ /\ / / * //* \__ \__ \ |_| | | | | | | (_| | \ V /| | __...
41.56391
100
0.566751
paulhuggett
f26c090c52e3139604be765557f6fe10cb2b2fd4
9,734
cpp
C++
ModulePlayer2.cpp
Alejandromo125/3DPhysicsProject
89976b0c6f28881c9eb4aac008c010b348cb4dbb
[ "MIT" ]
null
null
null
ModulePlayer2.cpp
Alejandromo125/3DPhysicsProject
89976b0c6f28881c9eb4aac008c010b348cb4dbb
[ "MIT" ]
null
null
null
ModulePlayer2.cpp
Alejandromo125/3DPhysicsProject
89976b0c6f28881c9eb4aac008c010b348cb4dbb
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModulePlayer.h" #include "Primitive.h" #include "PhysVehicle3D.h" #include "PhysBody3D.h" #include "ModuleCamera3D.h" #include "ModuleSceneIntro.h" #include "Timer.h" ModulePlayer2::ModulePlayer2(Application* app, bool start_enabled) : Module(app, start_enabled),...
25.548556
162
0.654818
Alejandromo125
f26ecc78689c1db3b28d14bb7668b1973dcc0f55
12,120
cpp
C++
3_Utilities/stream/pezy.cpp
denjiry/samples
1b97f83cd9077777595b0435c515d0a17701924b
[ "BSD-3-Clause" ]
null
null
null
3_Utilities/stream/pezy.cpp
denjiry/samples
1b97f83cd9077777595b0435c515d0a17701924b
[ "BSD-3-Clause" ]
null
null
null
3_Utilities/stream/pezy.cpp
denjiry/samples
1b97f83cd9077777595b0435c515d0a17701924b
[ "BSD-3-Clause" ]
2
2019-04-13T05:04:32.000Z
2019-04-15T07:59:36.000Z
/*! * @author PEZY Computing, K.K. * @date 2019 * @copyright BSD-3-Clause */ #include "pezy.hpp" #include <chrono> #include <fstream> #include <iostream> #include <sstream> #include <stdexcept> namespace { inline size_t getFileSize(std::ifstream& file) { file.seekg(0, std::ios::end); size_t ret = ...
32.148541
156
0.572607
denjiry
f275977141ce0ab0a9da12f8f20b41b89411457c
730
cpp
C++
hdu/2109.cpp
bashell/oj
9471e32d735168148390d42029998187e0e04e2b
[ "MIT" ]
null
null
null
hdu/2109.cpp
bashell/oj
9471e32d735168148390d42029998187e0e04e2b
[ "MIT" ]
null
null
null
hdu/2109.cpp
bashell/oj
9471e32d735168148390d42029998187e0e04e2b
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> using namespace std; int china[101]; int japan[101]; int main() { //freopen("in.txt", "r", stdin); int n; while(scanf("%d", &n) && n) { for(int i = 0; i < n; ++i) scanf("%d", &china[i]); for(int i = 0; i < n; ++i) scanf("%d", &...
22.8125
45
0.419178
bashell
f276e5ae0dc07829c7d03206726169e309cd3e57
1,590
cpp
C++
test.cpp
yuanzhubi/mpsc_wait_free
5a1f966c228756dbed6f8ec4d3cdc63833d20540
[ "MIT" ]
2
2018-08-27T11:43:51.000Z
2019-03-28T08:41:31.000Z
test.cpp
yuanzhubi/mpsc_wait_free
5a1f966c228756dbed6f8ec4d3cdc63833d20540
[ "MIT" ]
null
null
null
test.cpp
yuanzhubi/mpsc_wait_free
5a1f966c228756dbed6f8ec4d3cdc63833d20540
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include "mpsc.h" #include <time.h> size_t produce_failed_count = 0; struct X { clock_t start; X(){ start = clock(); } ~X(){ char buf[32]; snprintf(buf, 32,"%...
21.2
96
0.603145
yuanzhubi
f27fbf234d770d6edc4402b271a95e0a0599243b
6,068
cpp
C++
Source/ComputeEngine/Cuda/Buffers/CudaHostBuffer.cpp
Fillo7/KTT
a0c252efb75a8366450e2df589f0ae641f015312
[ "MIT" ]
32
2017-09-12T23:52:52.000Z
2020-12-09T07:13:24.000Z
Source/ComputeEngine/Cuda/Buffers/CudaHostBuffer.cpp
Fillo7/KTT
a0c252efb75a8366450e2df589f0ae641f015312
[ "MIT" ]
23
2017-05-11T14:38:45.000Z
2021-02-03T13:45:14.000Z
Source/ComputeEngine/Cuda/Buffers/CudaHostBuffer.cpp
Fillo7/KTT
a0c252efb75a8366450e2df589f0ae641f015312
[ "MIT" ]
5
2017-11-06T12:40:05.000Z
2020-06-16T13:11:24.000Z
#ifdef KTT_API_CUDA #include <algorithm> #include <Api/KttException.h> #include <ComputeEngine/Cuda/Actions/CudaTransferAction.h> #include <ComputeEngine/Cuda/Buffers/CudaHostBuffer.h> #include <ComputeEngine/Cuda/CudaStream.h> #include <ComputeEngine/Cuda/CudaUtility.h> #include <Utility/ErrorHandling/Assert.h> #inc...
34.477273
129
0.718029
Fillo7
f281acac1787036957d6edba0581e7c13580b91f
24,586
cpp
C++
Documents/RacimoAire/RacimoAire3/racimo3.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/RacimoAire3/racimo3.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/RacimoAire3/racimo3.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
#include "racimo3.h" Racimo3::Racimo3(QObject *parent) : QObject(parent) { blinkLed = false; AlertRAM = false; AlertTemperatura = false; NewData = false; InitAPP =true; AlertWifi =false; _timeoutlectura =false; AlertPMS=false; AlertOPC=false; ShutdownManual=false; Reboot...
30.093023
155
0.630684
JoseSalamancaCoy
f289d09358b32968f0bbb4c848d8b910b9fd0490
3,023
cpp
C++
src/HttpCURL.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
50
2015-06-01T19:23:24.000Z
2021-12-22T02:14:23.000Z
src/HttpCURL.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
109
2015-07-20T07:43:03.000Z
2021-01-31T21:52:36.000Z
src/HttpCURL.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
9
2015-07-02T21:36:20.000Z
2019-10-19T04:18:02.000Z
// Onut #include <onut/Async.h> #include <onut/Dispatcher.h> #include <onut/Strings.h> #include <onut/Texture.h> // Internal #include "HttpCURL.h" // Third party #include <curl/curl.h> // STL #include <locale> namespace onut { OHttpRef Http::create() { return std::shared_ptr<Http>(new HttpCURL()); ...
25.191667
110
0.556732
Daivuk
f28a84be683355d46fe86e4074c33d12c0bc0ef1
1,165
hpp
C++
Source/DequeSearcher.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
Source/DequeSearcher.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
Source/DequeSearcher.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
#ifndef DequeSearcher_hpp #define DequeSearcher_hpp #include "Searcher.hpp" #include <deque> /** * Utility class that implements a deque as the frontier structure. * Does not implement the nextInFrontier method as it depends on the * search strategy */ template <class State_type, class Success_functor = IsGoalC...
17.651515
76
0.718455
jamesfer
f29096fcc997deeb21771d7b3c73af0ec9321e64
454
cc
C++
Adapter/Adapter.cc
Yescafe/pattern_demo
b87d8d588683773cd37efff0e9e12fc70b13f187
[ "MIT" ]
1
2020-07-11T04:36:14.000Z
2020-07-11T04:36:14.000Z
Adapter/Adapter.cc
Yescafe/pattern_demo
b87d8d588683773cd37efff0e9e12fc70b13f187
[ "MIT" ]
null
null
null
Adapter/Adapter.cc
Yescafe/pattern_demo
b87d8d588683773cd37efff0e9e12fc70b13f187
[ "MIT" ]
null
null
null
#include "Adapter.hpp" #include <iostream> Target::Target() { } Target::~Target() { } void Target::Request() { std::cout << "Target::Request..." << std::endl; } Adaptee::Adaptee() { } Adaptee::~Adaptee() { } void Adaptee::SpecificRequest() { std::cout << "Adaptee::SpecificRequest..." << std::endl; } Adap...
11.947368
60
0.603524
Yescafe
f2971416f9f158bb2a68da0a246ec15394aacc06
587
cpp
C++
compiler/tst_flowchartcompiler.cpp
UnnamedCompany/UnnamedSoftware
3251dc9844f35622f616fd3d5a40cb8c89ac0b28
[ "MIT" ]
4
2016-02-18T00:48:10.000Z
2016-03-02T23:41:54.000Z
compiler/tst_flowchartcompiler.cpp
UnnamedCompany/UnnamedSoftware
3251dc9844f35622f616fd3d5a40cb8c89ac0b28
[ "MIT" ]
null
null
null
compiler/tst_flowchartcompiler.cpp
UnnamedCompany/UnnamedSoftware
3251dc9844f35622f616fd3d5a40cb8c89ac0b28
[ "MIT" ]
1
2016-02-29T18:13:34.000Z
2016-02-29T18:13:34.000Z
#include <QTest> #include <QString> #include "flowchart.h" class TestFlowChartCompiler : public QObject { Q_OBJECT public: TestFlowChartCompiler() { } private Q_SLOTS: void testIsExpandable() { QWARN("No test implemented"); } void testExtractUniqueBlockNames() { QWARN("No test i...
15.864865
46
0.662692
UnnamedCompany
f2990f0ecaebf3f073258a45108df106a7411240
16,892
cpp
C++
alienfx-cli/alienfx-cli.cpp
T-Troll/alienfx-tools
70d3b4be158b9ff2cafd87cc3c09b695fdab384c
[ "MIT" ]
55
2020-07-24T13:50:59.000Z
2022-03-31T02:15:09.000Z
alienfx-cli/alienfx-cli.cpp
T-Troll/alienfx-tools
70d3b4be158b9ff2cafd87cc3c09b695fdab384c
[ "MIT" ]
41
2020-07-25T14:37:25.000Z
2022-03-28T02:36:15.000Z
alienfx-cli/alienfx-cli.cpp
T-Troll/alienfx-tools
70d3b4be158b9ff2cafd87cc3c09b695fdab384c
[ "MIT" ]
9
2020-12-24T05:19:35.000Z
2022-03-30T01:52:32.000Z
#define WIN32_LEAN_AND_MEAN #include <iostream> #include "stdafx.h" #include "LFXUtil.h" #include "LFXDecl.h" #include "AlienFX_SDK.h" namespace { LFXUtil::LFXUtilC lfxUtil; } using namespace std; unsigned GetZoneCode(string name, int mode) { switch (mode) { case 1: return atoi(name.c_str()) | 0x10000; case 0:...
30.994495
134
0.590753
T-Troll
f29b05a35709c839a7fe8cf70b351995e71a9f04
1,181
cpp
C++
S-Digit_Sum.cpp
geegatomar/Educational-DP-contest-Atcoder
f32cb87cc58609e3c0cd51b9d54b632dd215b6ef
[ "MIT" ]
null
null
null
S-Digit_Sum.cpp
geegatomar/Educational-DP-contest-Atcoder
f32cb87cc58609e3c0cd51b9d54b632dd215b6ef
[ "MIT" ]
null
null
null
S-Digit_Sum.cpp
geegatomar/Educational-DP-contest-Atcoder
f32cb87cc58609e3c0cd51b9d54b632dd215b6ef
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define int long long const int M = 1e9 + 7; const int N = (int)1e4; // Concept used: Digit DP int dp[N][2][100]; int f(int ind, int is_tight, int sum_of_dig, string &k, int &d) { sum_of_dig %= d; if(ind >= k.size()) return ((sum_of_dig % d == 0) ? 1 : ...
20.016949
73
0.461473
geegatomar
f2a0a3cfd5f3ff212cb788c6b2b6b7f6bd5660ed
1,206
cpp
C++
code_process/src/RCB.cpp
NewtonVan/OS2020
223bc0d190ddad352777587792f4bf12d4d0081d
[ "MIT" ]
1
2021-12-16T07:49:37.000Z
2021-12-16T07:49:37.000Z
code_process/src/RCB.cpp
NewtonVan/OS2020
223bc0d190ddad352777587792f4bf12d4d0081d
[ "MIT" ]
null
null
null
code_process/src/RCB.cpp
NewtonVan/OS2020
223bc0d190ddad352777587792f4bf12d4d0081d
[ "MIT" ]
null
null
null
#include "RCB.h" RCB::RCB() : rid_(-1), available_(0), total_(0) {} RCB::RCB(int rid, int available, int total) : rid_(rid), available_(available), total_(total) {} RCB::RCB(int rid, int total) : rid_(rid), available_(total), total_(total) {} RCB::~RCB()= default; // get the member of RCB int RCB::getRid() { r...
14.707317
63
0.624378
NewtonVan
f2a2164401b9df5cb867f9e81692410f1cb60e3e
3,169
hpp
C++
OptiX-Path-Tracer/programs/vec.hpp
trevortheblack/OptiX-Path-Tracer
e52394a80966057f8968c008078f0372277fdc8e
[ "Apache-2.0" ]
77
2018-11-27T12:17:52.000Z
2022-02-22T23:25:06.000Z
OptiX-Path-Tracer/programs/vec.hpp
trevortheblack/OptiX-Path-Tracer
e52394a80966057f8968c008078f0372277fdc8e
[ "Apache-2.0" ]
1
2019-06-14T18:43:07.000Z
2019-06-14T18:43:07.000Z
OptiX-Path-Tracer/programs/vec.hpp
trevortheblack/OptiX-Path-Tracer
e52394a80966057f8968c008078f0372277fdc8e
[ "Apache-2.0" ]
3
2019-06-14T15:28:58.000Z
2021-10-13T16:32:09.000Z
// ======================================================================== // // Copyright 2018 Ingo Wald // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
37.72619
78
0.565478
trevortheblack
f2a822ce0f18fc221e92014cb95187deeff85435
2,986
cc
C++
src/poly/string.cc
jdarpinian/xenia
609d7c755f260e86a865703dc1dcd6df064b1fa0
[ "BSD-3-Clause" ]
1
2016-11-18T23:12:53.000Z
2016-11-18T23:12:53.000Z
src/poly/string.cc
jdarpinian/xenia
609d7c755f260e86a865703dc1dcd6df064b1fa0
[ "BSD-3-Clause" ]
null
null
null
src/poly/string.cc
jdarpinian/xenia
609d7c755f260e86a865703dc1dcd6df064b1fa0
[ "BSD-3-Clause" ]
null
null
null
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2014 Ben Vanik. All rights reserved. ...
27.648148
79
0.558607
jdarpinian
f2a9d07a41acfc84fd8f119e5fa61f252cefb836
1,091
cpp
C++
hw2/q1/Date.cpp
BenEf97/BarBenCPP
556eebfeeadd210cc9552915d58c274b8f881eb7
[ "MIT" ]
1
2022-03-01T19:09:52.000Z
2022-03-01T19:09:52.000Z
hw2/q1/Date.cpp
BenEf97/BarBenCPP
556eebfeeadd210cc9552915d58c274b8f881eb7
[ "MIT" ]
1
2022-03-01T19:14:11.000Z
2022-03-01T19:14:34.000Z
hw2/q1/Date.cpp
BenEf97/BarBenCPP
556eebfeeadd210cc9552915d58c274b8f881eb7
[ "MIT" ]
null
null
null
#include "Date.h" #include <iostream> using namespace std; //Work on date, all the functions. Date::Date(int d, int m, int y) { setDay(d); setMonth(m); setYear(y); } //Empty constructor Date::Date() { day = 1; month = 1; year = 2000; } //returns the day int Date::getDay() const { return day; } //returns th...
14.168831
95
0.629698
BenEf97
f2ab7d41580507baa21e49b214b9807de8575698
742
cpp
C++
src/autoc4player.cpp
ghostdart/connect-four
5910c7e5952b1f1dbeafb0eb0f9eb94fc6bd0f69
[ "MIT" ]
null
null
null
src/autoc4player.cpp
ghostdart/connect-four
5910c7e5952b1f1dbeafb0eb0f9eb94fc6bd0f69
[ "MIT" ]
null
null
null
src/autoc4player.cpp
ghostdart/connect-four
5910c7e5952b1f1dbeafb0eb0f9eb94fc6bd0f69
[ "MIT" ]
null
null
null
#include "autoc4player.h" AutoC4Player::AutoC4Player(char Color) : Player("Auto:Random", Color) { // Just call the base constructor } double AutoC4Player::EvaluateState(GameBoard *Board) { // Board Evaluation Area; // This auto-player is not using it. return 0; } Connect4Move *AutoC4Player::SuggestMove(GameS...
20.611111
74
0.673854
ghostdart
f2aba9e999a6b84c6f9dd7cdfa8d600bd785d8b8
18,712
cpp
C++
lib/Front/Input.cpp
axia-sw/Doll
a5846a6553d9809e9a0ea50db2dc18b95eb21921
[ "Zlib" ]
1
2021-07-19T14:40:15.000Z
2021-07-19T14:40:15.000Z
lib/Front/Input.cpp
axia-sw/Doll
a5846a6553d9809e9a0ea50db2dc18b95eb21921
[ "Zlib" ]
null
null
null
lib/Front/Input.cpp
axia-sw/Doll
a5846a6553d9809e9a0ea50db2dc18b95eb21921
[ "Zlib" ]
null
null
null
#define DOLL_TRACE_FACILITY doll::kLog_FrontendInput #include "../BuildSettings.hpp" #include "doll/Front/Input.hpp" #include "doll/Front/Frontend.hpp" #include "doll/Core/Logger.hpp" #include "doll/OS/App.hpp" #include "doll/OS/Window.hpp" namespace doll { struct SWndInputState { static const UP...
23.01599
119
0.617946
axia-sw
f2aced26cc0b0822d6a78a499e7cb8f779b3bb62
348
cpp
C++
native/src/iid.cpp
kekekeks/prowingen
35585859cca66c2b1c4d865570b6ca1debf7ff60
[ "MIT" ]
6
2015-03-13T20:27:58.000Z
2017-09-26T07:01:37.000Z
native/src/iid.cpp
kekekeks/prowingen
35585859cca66c2b1c4d865570b6ca1debf7ff60
[ "MIT" ]
null
null
null
native/src/iid.cpp
kekekeks/prowingen
35585859cca66c2b1c4d865570b6ca1debf7ff60
[ "MIT" ]
null
null
null
#include "api.h" // [Guid("918cfa9b-a766-41e7-9c4b-330954d01b47")] const GUID IID_IHttpServer = { 0x918cfa9b, 0xa766, 0x41e7, { 0x9c, 0x4b, 0x33, 0x9, 0x54, 0xd0, 0x1b, 0x47 } }; // [Guid("e4ea9822-30c8-4319-9d80-5a0e48de0be5")] const GUID IID_IProwingenFactory = { 0xe4ea9822, 0x30c8, 0x4319, { 0x9d, 0x80, 0x5a, 0xe, ...
43.5
116
0.695402
kekekeks
f2ae01098e156f31bd614060b130104bbfb76693
2,164
cpp
C++
raw-examples/cpp11/doublebufferedqueue/main.cpp
paoqi1997/pqnet
3413916bdc355b0a4eea8ef934a3ff658b047b19
[ "BSD-3-Clause" ]
null
null
null
raw-examples/cpp11/doublebufferedqueue/main.cpp
paoqi1997/pqnet
3413916bdc355b0a4eea8ef934a3ff658b047b19
[ "BSD-3-Clause" ]
null
null
null
raw-examples/cpp11/doublebufferedqueue/main.cpp
paoqi1997/pqnet
3413916bdc355b0a4eea8ef934a3ff658b047b19
[ "BSD-3-Clause" ]
null
null
null
#include <chrono> #include <iostream> #include <thread> #include "doublebufferedqueue.h" using std::cout; using std::endl; using std::chrono::system_clock; using std::chrono::time_point; using std::chrono::time_point_cast; using us_type = std::chrono::microseconds; std::uint64_t now() { time_point<system_clock, ...
20.807692
89
0.530961
paoqi1997
f2b11ebe42929f3001cb71231fe45ac346fd57fc
23,364
cxx
C++
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimWallParams.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimWallParams.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimWallParams.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
27.715302
130
0.581279
EnEff-BIM
f2b2feb092193c235224344928d5e1d42b0e5438
90
cxx
C++
app/create_date.cxx
engrvivs/tutorial-nptel-ppd
eecf699d579d13e2ef7c8352798b514b760b7d06
[ "MIT" ]
null
null
null
app/create_date.cxx
engrvivs/tutorial-nptel-ppd
eecf699d579d13e2ef7c8352798b514b760b7d06
[ "MIT" ]
null
null
null
app/create_date.cxx
engrvivs/tutorial-nptel-ppd
eecf699d579d13e2ef7c8352798b514b760b7d06
[ "MIT" ]
null
null
null
#include "Date.hpp" int main() { Date date(30, 7, 1961); date.print(); return 0; }
11.25
25
0.577778
engrvivs
f2b36aa3a7811f6b2f5c6c74600110ee0725331d
407
cpp
C++
solution/day1/part1.cpp
Desheen/AdventOfCode-2018
4d633f51ba5f906c365bb8ef2512465dea941d24
[ "BSD-3-Clause" ]
1
2018-12-02T20:17:59.000Z
2018-12-02T20:17:59.000Z
solution/day1/part1.cpp
Desheen/AdventOfCode-2018
4d633f51ba5f906c365bb8ef2512465dea941d24
[ "BSD-3-Clause" ]
null
null
null
solution/day1/part1.cpp
Desheen/AdventOfCode-2018
4d633f51ba5f906c365bb8ef2512465dea941d24
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include <fstream> #include <numeric> #include <vector> int main( int argc ,char**argv ) { std::string line; std::vector<int> v; std::ifstream file; file.open("input", std::ifstream::in); while(std::getline( file , line )) { v.push_back( std::stoi(line) ); } file.clos...
17.695652
67
0.628993
Desheen
f2d996b2d16885b9545177a711799c2281713796
15,816
cpp
C++
src/legwork.cpp
gamepoet/legwork
8071182cf73d278e7e950cc77209a8961b43fafa
[ "MIT" ]
null
null
null
src/legwork.cpp
gamepoet/legwork
8071182cf73d278e7e950cc77209a8961b43fafa
[ "MIT" ]
null
null
null
src/legwork.cpp
gamepoet/legwork
8071182cf73d278e7e950cc77209a8961b43fafa
[ "MIT" ]
null
null
null
#include <atomic> #include <condition_variable> #include <mutex> #include <queue> #include <stack> #include <stdlib.h> #include <thread> #include <vector> #include "legwork.h" #include "fcontext.h" #define DEFAULT_FIBER_COUNT 256 #define DEFAULT_FIBER_STACK_SIZE_BYTES (64 * 1024) #define DEFAULT_WORKER_THREAD_SPIN_COU...
31.759036
131
0.736027
gamepoet
f2e0f249b3827d6a25a9476806e9b2f48ee040ae
339
cpp
C++
src/widgets/multiinfolistentry.cpp
jpcima/iconnconfig
626dbda20366d5814a7cc6bdc29b42c3dfe2d938
[ "MIT" ]
null
null
null
src/widgets/multiinfolistentry.cpp
jpcima/iconnconfig
626dbda20366d5814a7cc6bdc29b42c3dfe2d938
[ "MIT" ]
null
null
null
src/widgets/multiinfolistentry.cpp
jpcima/iconnconfig
626dbda20366d5814a7cc6bdc29b42c3dfe2d938
[ "MIT" ]
null
null
null
#include "multiinfolistentry.h" MultiInfoListEntry::MultiInfoListEntry() {} MultiInfoListEntry::MultiInfoListEntry( MultiInfoListEntry::ListEntryCode entryCode, std::string name, int index) : entryCode(entryCode), name(name), index(index) { icon = QIcon(); if (entryCode == SECTION) { enabled = false; select...
24.214286
75
0.734513
jpcima
f2e550e8214d01a5eda16dbe4d7cfb21d2dec5f2
819
cpp
C++
Engine/00_Unit_Tests/Test_eventSystem.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
null
null
null
Engine/00_Unit_Tests/Test_eventSystem.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
43
2020-03-01T12:55:12.000Z
2021-07-10T20:51:23.000Z
Engine/00_Unit_Tests/Test_eventSystem.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
null
null
null
#include "UnitTests.h" #include "02_system/01_logging/Logger.h" #include "02_system/02_event/EventSystem.h" Test_eventSystem::Test_eventSystem(){ eventSystem->addListener(this, &Test_eventSystem::onAppInit); eventSystem->addListener(this, &Test_eventSystem::onAppUpdate); eventSystem->addListener(this, &Test_eventS...
30.333333
65
0.769231
TB989
f2e6f51e281f5be04192510a1e5280d779b8cfe5
5,975
cxx
C++
Examples/ANTSIntegrateVelocityField.cxx
KevinScholtes/ANTsX
5462269c0c32e5d65560bae4014c5a05cb02588d
[ "BSD-3-Clause" ]
null
null
null
Examples/ANTSIntegrateVelocityField.cxx
KevinScholtes/ANTsX
5462269c0c32e5d65560bae4014c5a05cb02588d
[ "BSD-3-Clause" ]
null
null
null
Examples/ANTSIntegrateVelocityField.cxx
KevinScholtes/ANTsX
5462269c0c32e5d65560bae4014c5a05cb02588d
[ "BSD-3-Clause" ]
1
2019-10-06T07:31:58.000Z
2019-10-06T07:31:58.000Z
#include "antsUtilities.h" #include "antsAllocImage.h" #include <algorithm> #include "itkVectorIndexSelectionCastImageFilter.h" #include "itkImageRegionIteratorWithIndex.h" #include "vnl/algo/vnl_determinant.h" #include "itkANTSImageRegistrationOptimizer.h" #include "itkTimeVaryingVelocityFieldIntegrationImageFilter...
29.433498
116
0.658577
KevinScholtes
f2eaeb4224e5d8299e60e4aa642275745f785ba2
7,284
cpp
C++
LevelEditorNativeRendering/LvEdRenderingEngine/Renderer/WireframeShader.cpp
T-rvw/LevelEditor
12c3a0d66e7870d4d27edb7f6b351ab467ca968b
[ "Apache-2.0" ]
null
null
null
LevelEditorNativeRendering/LvEdRenderingEngine/Renderer/WireframeShader.cpp
T-rvw/LevelEditor
12c3a0d66e7870d4d27edb7f6b351ab467ca968b
[ "Apache-2.0" ]
null
null
null
LevelEditorNativeRendering/LvEdRenderingEngine/Renderer/WireframeShader.cpp
T-rvw/LevelEditor
12c3a0d66e7870d4d27edb7f6b351ab467ca968b
[ "Apache-2.0" ]
null
null
null
//Copyright ?2014 Sony Computer Entertainment America LLC. See License.txt. #include "WireFrameShader.h" #include "../Core/NonCopyable.h" #include <D3D11.h> #include "Renderable.h" #include "RenderBuffer.h" #include "RenderUtil.h" #include "../Core/Utils.h" #include "RenderContext.h" #include "RenderState.h"...
33.87907
122
0.672433
T-rvw
f2edefa51e60328650aa1e0358070c64fc59f8fb
9,043
cpp
C++
misc/cg_ddf.cpp
georeth/OJLIBS
de59d4fd21255cc2f0a580db7726b634449e6885
[ "MIT" ]
15
2017-03-26T03:54:16.000Z
2021-04-04T13:10:43.000Z
misc/cg_ddf.cpp
georeth/OJLIBS
de59d4fd21255cc2f0a580db7726b634449e6885
[ "MIT" ]
null
null
null
misc/cg_ddf.cpp
georeth/OJLIBS
de59d4fd21255cc2f0a580db7726b634449e6885
[ "MIT" ]
1
2018-03-06T09:59:14.000Z
2018-03-06T09:59:14.000Z
#include <bits/stdc++.h> using namespace std; #define rep(i,a,n) for(int i=(a);i<(n);i++) #define per(i,a,n) for(int i=(n)-1;i>=(a);i--) #define mp make_pair #define pb push_back typedef double db; const db EPS = 1e-8; inline int sign(db a) { return a < -EPS ? -1 : a > EPS; } inline int cmp(db a, db b){ retur...
27.996904
101
0.512219
georeth
f2f5eca24d303a74be9a63d60d4f79aae6f080cd
2,044
cpp
C++
src_smartcontract_db/schema_table/table_store/AlterRecordValueExecutor.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_smartcontract_db/schema_table/table_store/AlterRecordValueExecutor.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_smartcontract_db/schema_table/table_store/AlterRecordValueExecutor.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * AlterRecordValueExecutor.cpp * * Created on: 2020/10/09 * Author: iizuka */ #include <cstdint> #include "schema_table/table_store/AlterRecordValueExecutor.h" #include "schema_table/table/CdbTableColumn.h" #include "schema_table/record/table_record/CdbRecord.h" #include "schema_table/record/table_re...
26.894737
106
0.752446
alinous-core
f2fadc5885ac33fdf5f2f5c7d6d3e1a1c2528bbf
13,319
cpp
C++
tests/Basic/TransfersSubscription/main.cpp
CASH2-js/cash2
17d5582ec41149567fcad12ba58c392fab502097
[ "BSD-3-Clause" ]
null
null
null
tests/Basic/TransfersSubscription/main.cpp
CASH2-js/cash2
17d5582ec41149567fcad12ba58c392fab502097
[ "BSD-3-Clause" ]
null
null
null
tests/Basic/TransfersSubscription/main.cpp
CASH2-js/cash2
17d5582ec41149567fcad12ba58c392fab502097
[ "BSD-3-Clause" ]
1
2020-05-13T19:39:58.000Z
2020-05-13T19:39:58.000Z
// Copyright (c) 2018-2020 The Cash2 developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "gtest/gtest.h" #include "helperFunctions.h" #include "Transfers/TransfersSubscription.h" #include "Transfers/Transfers...
31.940048
109
0.803664
CASH2-js
f2fb77025dadd84bcfb60d1ef6cda901db9578d5
370,541
cpp
C++
src/main_12400.cpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
src/main_12400.cpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
src/main_12400.cpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: Zenject.PrefabResourceBindingFinalizer #include "Zenject/PrefabResourceBindingFinalizer.hpp" // Including type: Zenject.PrefabResourceBindingFinali...
81.563064
477
0.779369
RedBrumbler
84096a855d6bb313ae7cb6519d30d522f42d0fce
1,402
cpp
C++
aws-cpp-sdk-ecs/source/model/DeploymentCircuitBreaker.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-ecs/source/model/DeploymentCircuitBreaker.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-ecs/source/model/DeploymentCircuitBreaker.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ecs/model/DeploymentCircuitBreaker.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { ...
17.746835
82
0.718973
perfectrecall
8409c438c70edcb8e9b50301c0cc9aa89d05cae4
658
cpp
C++
Lab7(part2)/main.cpp
sdeng006/CS10
5eb00d4cda1b1cba8c24eea54b60cd09f8faa1ee
[ "MIT" ]
null
null
null
Lab7(part2)/main.cpp
sdeng006/CS10
5eb00d4cda1b1cba8c24eea54b60cd09f8faa1ee
[ "MIT" ]
null
null
null
Lab7(part2)/main.cpp
sdeng006/CS10
5eb00d4cda1b1cba8c24eea54b60cd09f8faa1ee
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; double percentHeads(int times) { srand(4444); double numOf0 = 0.0; int rollresult; int i = 0; while ( i < times ) { rollresult = rand () % 2; if (rollresult == 0) { num...
17.315789
84
0.50304
sdeng006
84111bf66a456cc9b701d044b39ab4fc85fdcade
4,744
cpp
C++
src/Driver.cpp
gavv/libASPL
3139692c9aef6896b184e4599842f3de9fa479bd
[ "AML", "MIT" ]
22
2021-07-15T08:31:52.000Z
2022-01-20T15:13:18.000Z
src/Driver.cpp
gavv/libASPL
3139692c9aef6896b184e4599842f3de9fa479bd
[ "AML", "MIT" ]
1
2021-12-19T07:36:15.000Z
2022-02-02T18:40:29.000Z
src/Driver.cpp
gavv/libASPL
3139692c9aef6896b184e4599842f3de9fa479bd
[ "AML", "MIT" ]
1
2022-01-11T16:06:20.000Z
2022-01-11T16:06:20.000Z
// Copyright (c) libASPL authors // Licensed under MIT #include <aspl/Driver.hpp> #include "Bridge.hpp" #include <cstddef> namespace aspl { Driver::Driver(const std::shared_ptr<Context>& context, const std::shared_ptr<Plugin>& plugin) : context_(context ? context : std::make_shared<Context>()) , plugin...
26.954545
89
0.708263
gavv
8412c967fdc691c43b088f07dba185c6a6407637
616
cpp
C++
c++/.leetcode/868.binary-gap.cpp
ming197/MyLeetCode
eba575765976b12db07be0857faad85b9c60d723
[ "Apache-2.0" ]
null
null
null
c++/.leetcode/868.binary-gap.cpp
ming197/MyLeetCode
eba575765976b12db07be0857faad85b9c60d723
[ "Apache-2.0" ]
null
null
null
c++/.leetcode/868.binary-gap.cpp
ming197/MyLeetCode
eba575765976b12db07be0857faad85b9c60d723
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode id=868 lang=cpp * * [868] Binary Gap */ // @lc code=start #include <bits/stdc++.h> using namespace std; class Solution { public: int binaryGap(int n) { int l = -1, r = -1; int i = 0; int res = 0; while (n){ /* code */ int bit = n&1; ...
17.6
42
0.327922
ming197
841b635a0402031608af9a37f51396c551df7065
287
cpp
C++
prog_100.cpp
Jairfsj/learning_C
8c876059132ca19bcf55ac1a0c81d97a3d175e95
[ "MIT" ]
null
null
null
prog_100.cpp
Jairfsj/learning_C
8c876059132ca19bcf55ac1a0c81d97a3d175e95
[ "MIT" ]
null
null
null
prog_100.cpp
Jairfsj/learning_C
8c876059132ca19bcf55ac1a0c81d97a3d175e95
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int num,maior,ind; maior = 0; for (ind= 1; ind <=100; ind=ind+1) { scanf("%d",&num); if (num > maior) maior=num; } printf ("%d é o maior dos números lidos ",maior); system ("pause"); return 0; }
11.958333
51
0.550523
Jairfsj
84261eabc5f8ee4bab9f75520df31faf25ac2eeb
569
cc
C++
google_interview_practice/Rotate_Image/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
google_interview_practice/Rotate_Image/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
google_interview_practice/Rotate_Image/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { public: void rotate(vector<vector<int>>& matrix) { int len = matrix.size(); for (int i = 0; i < matrix.size() / 2; ++i) { for (int j = 0; j < len - 1; ++j) { int tmp = matrix[i][i + j]; matrix[i][i + j] = matrix[i + len - 1 - j][i]; ma...
29.947368
82
0.383128
ldy121
842933e06b74aedab6b790190a14e71dec7c6831
2,844
hh
C++
packages/spatial/Weak_Spatial_Discretization_Factory.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
2
2020-04-13T20:06:41.000Z
2021-02-12T17:55:54.000Z
packages/spatial/Weak_Spatial_Discretization_Factory.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
1
2018-10-22T21:03:35.000Z
2018-10-22T21:03:35.000Z
packages/spatial/Weak_Spatial_Discretization_Factory.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
3
2019-04-03T02:15:37.000Z
2022-01-04T05:50:23.000Z
#ifndef Weak_Spatial_Discretization_Factory_hh #define Weak_Spatial_Discretization_Factory_hh #include <memory> #include <string> #include <vector> #include "Meshless_Function_Factory.hh" class Basis_Function; class Cartesian_Plane; class Dimensional_Moments; class KD_Tree; class Meshless_Function; class Solid_Geome...
45.870968
148
0.577356
brbass
8431347f2fff6c2667f3859dbb7968210e7322df
1,540
hpp
C++
test/analysis/TransactionAssignerTest.hpp
vimofthevine/UnderBudget
5711be8e5da3cb7a78da007fe43cf1ce1b796493
[ "Apache-2.0" ]
2
2016-07-17T02:12:44.000Z
2016-11-22T14:04:55.000Z
test/analysis/TransactionAssignerTest.hpp
vimofthevine/UnderBudget
5711be8e5da3cb7a78da007fe43cf1ce1b796493
[ "Apache-2.0" ]
null
null
null
test/analysis/TransactionAssignerTest.hpp
vimofthevine/UnderBudget
5711be8e5da3cb7a78da007fe43cf1ce1b796493
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2013 Kyle Treubig * * 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...
22
75
0.725974
vimofthevine
8433554f80fb68523c45436132e4fb88c8de246c
1,148
hpp
C++
src/cpp/bron-kerbosch.hpp
adshidtadka/server-allocation
ce533ce31cc2ce12f0c6a01bff97be3875e35b30
[ "MIT" ]
null
null
null
src/cpp/bron-kerbosch.hpp
adshidtadka/server-allocation
ce533ce31cc2ce12f0c6a01bff97be3875e35b30
[ "MIT" ]
1
2019-10-01T08:12:20.000Z
2019-10-01T09:29:36.000Z
src/cpp/bron-kerbosch.hpp
adshidtadka/server-allocation
ce533ce31cc2ce12f0c6a01bff97be3875e35b30
[ "MIT" ]
null
null
null
#ifndef BRON_KERBOSCH_H #define BRON_KERBOSCH_H #include <algorithm> #include <forward_list> #include <functional> #include <unordered_set> namespace BronKerbosch { template <typename T> struct Vertex { Vertex(const T id) : id{id} {} bool operator==(const Vertex& other) const { return this->id == other.id; ...
22.96
79
0.582753
adshidtadka
8435427afd0429ea8703140438712324ebf5556d
463
cpp
C++
914. X of a Kind in a Deck of Cards.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
914. X of a Kind in a Deck of Cards.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
914. X of a Kind in a Deck of Cards.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
class Solution { public: bool hasGroupsSizeX(vector<int>& deck) { unordered_map<int, int>m; int n = deck.size(); for (int i = 0; i < n; ++i) { m[deck[i]]++; } int base = 0; for (auto& p: m) { base = gcd(p.second, base); } return...
20.130435
44
0.393089
rajeev-ranjan-au6
8438fcddbae1bc436d46253f1916b26068e009db
1,922
cpp
C++
modules/boost/simd/sdk/unit/memory/utility/aligned_malloc.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/unit/memory/utility/aligned_malloc.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/unit/memory/utility/aligned_malloc.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2013 MetaScale SAS // // Distributed under the Boost...
28.686567
83
0.560874
psiha
843a543c0d76647d46aafee93ba05a7c902d0f3c
899
hpp
C++
include/tracer/bits/unsafe.hpp
stdml/stdtracer
e7ee9fb5168e31a75b53360b94dfdeaac4d51e4b
[ "MIT" ]
2
2018-09-30T14:51:37.000Z
2020-01-26T02:28:47.000Z
include/tracer/bits/unsafe.hpp
lgarithm/stdtracer
e7ee9fb5168e31a75b53360b94dfdeaac4d51e4b
[ "MIT" ]
7
2018-09-30T06:11:44.000Z
2020-02-16T14:18:50.000Z
include/tracer/bits/unsafe.hpp
stdml/stdtracer
e7ee9fb5168e31a75b53360b94dfdeaac4d51e4b
[ "MIT" ]
1
2019-10-08T00:26:41.000Z
2019-10-08T00:26:41.000Z
#pragma once #include <iostream> #include <string> class unsafe_guard_t { std::string file_; int line_; std::string hint_; public: unsafe_guard_t(std::string file, int line, std::string hint) : file_(std::move(file)), line_(line), hint_(std::move(hint)) { } std::string msg() con...
23.657895
69
0.525028
stdml
843d16e23aa4adeca539a65d58c7b64acaf76883
362
hpp
C++
NWNXLib/API/Mac/API/Plane.hpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
NWNXLib/API/Mac/API/Plane.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/Plane.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#pragma once #include <cstdint> #include "Vector.hpp" namespace NWNXLib { namespace API { // Forward class declarations (defined in the source file) struct Quaternion; struct Plane { Vector normal; float dist; void Transform(const Vector&, const Quaternion&); }; void Plane__Transform(Plane* thisPtr,...
13.407407
72
0.71547
acaos
84483e18280c2ca3bf9bdf73762514e2853d3b8b
3,150
cpp
C++
Source/MellowsMegaRide/Private/FollowerSpawner.cpp
Reuapmok/MellowsMegaRide
89f0f0fc834db5b04c790e87108b9393c3c65021
[ "MIT" ]
null
null
null
Source/MellowsMegaRide/Private/FollowerSpawner.cpp
Reuapmok/MellowsMegaRide
89f0f0fc834db5b04c790e87108b9393c3c65021
[ "MIT" ]
null
null
null
Source/MellowsMegaRide/Private/FollowerSpawner.cpp
Reuapmok/MellowsMegaRide
89f0f0fc834db5b04c790e87108b9393c3c65021
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "FollowerSpawner.h" #include "UObject/ConstructorHelpers.h" #include "Components/StaticMeshComponent.h" #include "FollowingActor.h" #include "Engine/World.h" #define COLLISION_PICKUP ECC_GameTraceChannel2 // Sets default...
26.694915
139
0.739365
Reuapmok
e0fa22cbc37cb6b118da1419f8273ce59c6c882d
1,703
hpp
C++
Engine/Header/Physics/CBoxCollider.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
9
2018-07-21T00:30:35.000Z
2021-09-04T02:54:11.000Z
Engine/Header/Physics/CBoxCollider.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
null
null
null
Engine/Header/Physics/CBoxCollider.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
1
2021-12-03T14:12:41.000Z
2021-12-03T14:12:41.000Z
/// \file CBoxCollider.hpp /// \date 01/08/2018 /// \project OOM-Engine /// \package Physics /// \author Vincent STEHLY--CALISTO #ifndef OOM_ENGINE_C_BOX_COLLIDER_HPP__ #define OOM_ENGINE_C_BOX_COLLIDER_HPP__ #include "Composite/IComponent.hpp" // Forward declaration struct q3Box; namespace Oo...
23.985915
57
0.630065
Aredhele
e0fa8eb74bfd60aa2faefadf7777470a933deb45
24,466
cpp
C++
ext/cache/backend/mongo.cpp
unisys12/phalcon-hhvm
ceeabc4f8d2e51b7cae9d0e100bb4055affe65bf
[ "BSD-2-Clause" ]
13
2015-01-10T23:34:25.000Z
2017-08-25T15:16:29.000Z
ext/cache/backend/mongo.cpp
unisys12/phalcon-hhvm
ceeabc4f8d2e51b7cae9d0e100bb4055affe65bf
[ "BSD-2-Clause" ]
1
2015-04-14T06:47:20.000Z
2015-10-02T04:07:34.000Z
ext/cache/backend/mongo.cpp
unisys12/phalcon-hhvm
ceeabc4f8d2e51b7cae9d0e100bb4055affe65bf
[ "BSD-2-Clause" ]
null
null
null
/* +------------------------------------------------------------------------+ | Phalcon Framework | +------------------------------------------------------------------------+ | Copyright (c) 2011-2014 Phalcon Team (http://www.phalconphp.com) | +-----...
30.317224
151
0.733058
unisys12
e0fb17853d8f73af54b7c1eddeb88aab4c58877b
212
hh
C++
Middlewares/ugfx/tools/mcufontencoder/src/freetype_import.hh
YZ-Qiu/Scope_STM32
c8da92e1222952af3501ca7c8a0353d0c0dd287f
[ "MIT" ]
1
2017-07-18T20:02:40.000Z
2017-07-18T20:02:40.000Z
Middlewares/ugfx/tools/mcufontencoder/src/freetype_import.hh
YZ-Qiu/Scope_STM32
c8da92e1222952af3501ca7c8a0353d0c0dd287f
[ "MIT" ]
null
null
null
Middlewares/ugfx/tools/mcufontencoder/src/freetype_import.hh
YZ-Qiu/Scope_STM32
c8da92e1222952af3501ca7c8a0353d0c0dd287f
[ "MIT" ]
null
null
null
// Function for importing any font supported by libfreetype. #pragma once #include "datafile.hh" namespace mcufont { std::unique_ptr<DataFile> LoadFreetype(std::istream &file, int size, bool bw); }
19.272727
79
0.716981
YZ-Qiu
e0fe3caf5f2846bd3460ce8c6e3c306ed2197da2
1,627
cpp
C++
cxx_base/move.cpp
liujinxinggithub/C-11
20ad920a6ae799702efcbfea1f803fa27554d518
[ "Apache-2.0" ]
null
null
null
cxx_base/move.cpp
liujinxinggithub/C-11
20ad920a6ae799702efcbfea1f803fa27554d518
[ "Apache-2.0" ]
null
null
null
cxx_base/move.cpp
liujinxinggithub/C-11
20ad920a6ae799702efcbfea1f803fa27554d518
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <memory> #include <cassert> #include "easylogging++.h" using namespace std; INITIALIZE_EASYLOGGINGPP // assert(),运行断言,不可以提前到编译器发现错误,在发行版中,assert都会被关掉 // 会对表达式expression进行检测: // 如果expression的结果为 0(条件不成立),那么断言失败,表明程序出错,assert() 会向标准输出设备(一般是显示器)打印一条错误信息,并调用 abort() 函数终止程序的执行。 // 如果expressio...
21.986486
99
0.590043
liujinxinggithub
4603cb74afe635c61938acc39566f2f431f9e523
2,553
cpp
C++
Training-Code/2015 ACMICPC Asia Regional Shanghai Online/C.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
Training-Code/2015 ACMICPC Asia Regional Shanghai Online/C.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
Training-Code/2015 ACMICPC Asia Regional Shanghai Online/C.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> #ifdef WIN32 #define LL "%I64d" #else #define LL "%lld" #endif const int MAXN = 2000001; const int MAXT = 4000001; const int MAXS = 4000001; const long long INF = 1ll << 50; int T, A, B, last, size, p, c[MAXT][26], l[MAXT], f[MAXT], w[MAXN]; long long dp[MA...
24.314286
98
0.489228
PrayStarJirachi
46103a9857950246f0ba3e599490fe633f37b1ee
144,002
hpp
C++
include/Oculus/Avatar/CAPI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/Oculus/Avatar/CAPI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/Oculus/Avatar/CAPI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.IntPtr #include "System/IntP...
73.246185
296
0.77685
RedBrumbler
461abcefa5c732f795c05da3f568e39bd32d3628
6,500
cpp
C++
src/vcml/protocols/tlm_host.cpp
nbosb/vcml
5b946a32b024cbba8da6928971ffc2a4f9b712f1
[ "Apache-2.0" ]
36
2018-01-29T12:20:37.000Z
2022-03-29T06:14:59.000Z
src/vcml/protocols/tlm_host.cpp
nbosb/vcml
5b946a32b024cbba8da6928971ffc2a4f9b712f1
[ "Apache-2.0" ]
9
2018-12-04T10:37:14.000Z
2021-11-16T16:57:29.000Z
src/vcml/protocols/tlm_host.cpp
nbosb/vcml
5b946a32b024cbba8da6928971ffc2a4f9b712f1
[ "Apache-2.0" ]
18
2018-10-14T11:30:43.000Z
2022-01-08T07:12:56.000Z
/****************************************************************************** * * * Copyright 2021 Jan Henrik Weinstock * * * ...
35.519126
80
0.564923
nbosb
461b3cbd0ccaa43922a9b53040d9999593453275
33
hpp
C++
src/boost_process_cmd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_process_cmd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_process_cmd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/process/cmd.hpp>
16.5
32
0.757576
miathedev
46201f2bd9fa4e937e4769aa174e216b923429a3
437
cpp
C++
balls/src/ball.cpp
KorovinVA/4_sem
332057670b19283b187c993351693f65335da139
[ "MIT" ]
null
null
null
balls/src/ball.cpp
KorovinVA/4_sem
332057670b19283b187c993351693f65335da139
[ "MIT" ]
null
null
null
balls/src/ball.cpp
KorovinVA/4_sem
332057670b19283b187c993351693f65335da139
[ "MIT" ]
null
null
null
#include "ball.h" #include <iostream> constexpr auto RAD = 4; ball::ball() : radius(RAD) { orb.setRadius(radius); orb.setPosition(getStartPosition()); orb.setFillColor(sf::Color::Black); } void ball::update(sf::Time dt, int ball_number) { collision::update(velocity, ball_number); orb.move(getVelocity() * dt.as...
14.096774
47
0.693364
KorovinVA
46203328f7474e2a20b6bc3d10ff758b98f645f7
10,739
cpp
C++
TIGLViewer/src/TIGLViewerSelectWingAndFlapStatusDialog.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
171
2015-04-13T11:24:34.000Z
2022-03-26T00:56:38.000Z
TIGLViewer/src/TIGLViewerSelectWingAndFlapStatusDialog.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
620
2015-01-20T08:34:36.000Z
2022-03-30T11:05:33.000Z
TIGLViewer/src/TIGLViewerSelectWingAndFlapStatusDialog.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
56
2015-02-09T13:33:56.000Z
2022-03-19T04:52:51.000Z
/* * Copyright (C) 2007-2013 German Aerospace Center (DLR/SC) * * Created: 2014-01-28 Mark Geiger <Mark.Geiger@dlr.de> * * 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://...
32.740854
156
0.701648
Mk-arc
4620941114fa773e16effc37b033bea510b936fc
2,006
cpp
C++
MonoNative.Tests/mscorlib/System/Runtime/InteropServices/mscorlib_System_Runtime_InteropServices_RuntimeEnvironment_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Runtime/InteropServices/mscorlib_System_Runtime_InteropServices_RuntimeEnvironment_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Runtime/InteropServices/mscorlib_System_Runtime_InteropServices_RuntimeEnvironment_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Runtime.InteropServices // Name: RuntimeEnvironment // C++ Typed Name: mscorlib::System::Runtime::InteropServices::RuntimeEnvironment #include <gtest/gtest.h> #include <mscorlib/System/...
25.392405
146
0.739282
brunolauze
462a7dcbd2e712cb08de4fde4e4c0ee30940372c
26,613
hpp
C++
src/Mesh.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2018-07-04T16:44:04.000Z
2021-01-03T07:26:27.000Z
src/Mesh.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
src/Mesh.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
/** \defgroup Triangulation Triangulation module * @{ <img src="triangulation.png"> @} * * Example: * * @{ <img src="hierarchicalMesh.png"> @} * * \brief * Contains all triangulation classes. */ #pragma once #include <deque> #include <set> #include <stdio.h> #include "AMDiS_fwd.hpp" #include "BoundaryCondit...
28.958651
87
0.632661
spraetor
462e67574ba202a816ab4adf33500cc567fffa98
279
cpp
C++
ieee_sep/token.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
ieee_sep/token.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
ieee_sep/token.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
/////////////////////////////////////////////////////////// // token.cpp // Implementation of the Class token // Created on: 13-Apr-2020 2:51:45 PM /////////////////////////////////////////////////////////// #include "token.h" token::token(){ } token::~token(){ }
15.5
59
0.340502
Tylores
4632f6ab65f9c407fd00c18576368dc49afbf464
768
hpp
C++
include/burst/range/cache_one.hpp
izvolov/thrust
399e12eed54131d731c4c5ef40512b17107bca56
[ "BSL-1.0" ]
85
2015-11-25T14:05:42.000Z
2021-11-15T11:47:19.000Z
include/burst/range/cache_one.hpp
izvolov/burst
399e12eed54131d731c4c5ef40512b17107bca56
[ "BSL-1.0" ]
147
2015-01-11T08:36:53.000Z
2021-11-04T09:03:36.000Z
include/burst/range/cache_one.hpp
izvolov/thrust
399e12eed54131d731c4c5ef40512b17107bca56
[ "BSL-1.0" ]
6
2016-06-02T17:28:26.000Z
2020-04-05T11:16:16.000Z
#ifndef BURST__RANGE__CACHE_ONE_HPP #define BURST__RANGE__CACHE_ONE_HPP #include <burst/iterator/cache_iterator.hpp> #include <boost/range/iterator_range.hpp> #include <iterator> namespace burst { //! Функция для создания диапазона кэширующих итераторов /*! Принимает на вход произвольный диа...
24
64
0.641927
izvolov
463ac5856b1f4d56eac58b33d723b9923e1d3042
6,226
cpp
C++
src/SubtreeTracker.cpp
ravidavi/OpenFrames
67cce87f1ccd23df91d6d070d86c06ceb180dadb
[ "Apache-2.0" ]
26
2017-08-16T18:17:50.000Z
2022-03-11T10:23:52.000Z
src/SubtreeTracker.cpp
ravidavi/OpenFrames
67cce87f1ccd23df91d6d070d86c06ceb180dadb
[ "Apache-2.0" ]
4
2018-10-18T12:31:19.000Z
2020-08-12T08:59:25.000Z
src/SubtreeTracker.cpp
ravidavi/OpenFrames
67cce87f1ccd23df91d6d070d86c06ceb180dadb
[ "Apache-2.0" ]
11
2018-09-10T18:29:07.000Z
2022-03-09T13:53:52.000Z
/*********************************** Copyright 2020 Ravishankar Mathur 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 requi...
28.045045
143
0.681658
ravidavi
463d0151eb33cb45fefa7a806bd065497dad38d1
6,131
hpp
C++
tests/WIP/apps/fom_gold_states.hpp
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
29
2019-11-11T13:17:57.000Z
2022-03-16T01:31:31.000Z
tests/WIP/apps/fom_gold_states.hpp
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
303
2019-09-30T10:15:41.000Z
2022-03-30T08:24:04.000Z
tests/WIP/apps/fom_gold_states.hpp
nittaya1990/pressio
22fad15ffc00f3e4d880476a5e60b227ac714ef4
[ "BSD-3-Clause" ]
4
2020-07-07T03:32:36.000Z
2022-03-10T05:21:42.000Z
#ifndef PRESSIO_APPS_TEST_STEADY_ADV_DIFF_2D_GOLD_HPP_ #define PRESSIO_APPS_TEST_STEADY_ADV_DIFF_2D_GOLD_HPP_ namespace pressio { namespace apps{ namespace test{ const std::map<int, double> steadyAdvDiff2d_nx11ny21 = { { 0, 0.891273974928453}, { 1, 0.639232629093212}, { 2, 0.798702684256647}, { ...
30.351485
54
0.601533
Pressio
463f0cd59a5da7b55768e417840def727d9ab8cf
3,307
hpp
C++
include/xlnt/styles/number_format.hpp
AlanIWBFT/xlnt-ue4
486da299390a05198a0ba4ebb456f226b87924b3
[ "MIT", "Unlicense" ]
12
2015-09-05T04:12:16.000Z
2021-08-22T23:24:18.000Z
include/xlnt/styles/number_format.hpp
AlanIWBFT/xlnt-ue4
486da299390a05198a0ba4ebb456f226b87924b3
[ "MIT", "Unlicense" ]
null
null
null
include/xlnt/styles/number_format.hpp
AlanIWBFT/xlnt-ue4
486da299390a05198a0ba4ebb456f226b87924b3
[ "MIT", "Unlicense" ]
4
2015-09-06T13:00:10.000Z
2021-07-12T05:15:21.000Z
// Copyright (c) 2014 Thomas Fussell // Copyright (c) 2010-2014 openpyxl // // 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 // ...
31.198113
95
0.680375
AlanIWBFT
464d9ce9c87925954ea5596b16651b0de3639f6d
1,986
cpp
C++
Game/Source/Archetypes/WallArchetype.cpp
JanVijfhuizen/Data-Oriented-Engine
cf0af33249a5b81a28adb8e3502e426d112934ba
[ "MIT" ]
null
null
null
Game/Source/Archetypes/WallArchetype.cpp
JanVijfhuizen/Data-Oriented-Engine
cf0af33249a5b81a28adb8e3502e426d112934ba
[ "MIT" ]
null
null
null
Game/Source/Archetypes/WallArchetype.cpp
JanVijfhuizen/Data-Oriented-Engine
cf0af33249a5b81a28adb8e3502e426d112934ba
[ "MIT" ]
null
null
null
#include "pch.h" #include "Archetypes/WallArchetype.h" #include "Systems/CollisionSystem.h" #include "Graphics/RenderConventions.h" namespace game { SubTexture WallArchetype::GenerateSubTexture(const Texture& texture) const { return texture::GenerateSubTexture(texture, renderConventions::ENTITY_SIZE, renderConven...
28.782609
105
0.763847
JanVijfhuizen
464f92d0288de96943070e3ec64d53333cbfcb10
705
cpp
C++
04_graph_algorithms/23_road_construction.cpp
hariharanragothaman/CSES
fa3478a71fbf66f695673e2a644d84084f6a3b90
[ "MIT" ]
1
2021-06-17T17:14:13.000Z
2021-06-17T17:14:13.000Z
04_graph_algorithms/23_road_construction.cpp
hariharanragothaman/CSES
fa3478a71fbf66f695673e2a644d84084f6a3b90
[ "MIT" ]
null
null
null
04_graph_algorithms/23_road_construction.cpp
hariharanragothaman/CSES
fa3478a71fbf66f695673e2a644d84084f6a3b90
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct DSU { vector<int> e; void init (int n) { e = vector<int> (n, -1); } int get (int x) { return (e[x] < 0 ? x : e[x] = get(e[x])); } bool sameSet (int x, int y) { return get(x) == get(y); } int size (int x) { return -e[get(x)]; } bool unite (int x, int y) { x ...
18.552632
62
0.468085
hariharanragothaman
4650842f2a566bc49d1c2879a8d79e990b32193e
1,800
hpp
C++
include/fontCache.hpp
iaiacthulhu/fontCache
f6204d35916f820b7f96d412e76f451d9c0aaed5
[ "MIT" ]
null
null
null
include/fontCache.hpp
iaiacthulhu/fontCache
f6204d35916f820b7f96d412e76f451d9c0aaed5
[ "MIT" ]
null
null
null
include/fontCache.hpp
iaiacthulhu/fontCache
f6204d35916f820b7f96d412e76f451d9c0aaed5
[ "MIT" ]
null
null
null
#ifndef FONTCACHE_H #define FONTCACHE_H #include <iostream> #include <map> #include <GL/glew.h> #include <ft2build.h> #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-register" #endif #include FT_FREETYPE_H #ifdef __clang__ #pragma clang diagnostic pop #endif #inclu...
22.78481
70
0.607778
iaiacthulhu
4655e50fb40164da11a32e064f6f853d8eae5495
7,773
cpp
C++
Source/RState.cpp
HaikuArchives/Rez
db5e7e1775a379e1e54bc17012047d92ec782202
[ "BSD-4-Clause" ]
1
2016-09-12T19:04:30.000Z
2016-09-12T19:04:30.000Z
Source/RState.cpp
HaikuArchives/Rez
db5e7e1775a379e1e54bc17012047d92ec782202
[ "BSD-4-Clause" ]
null
null
null
Source/RState.cpp
HaikuArchives/Rez
db5e7e1775a379e1e54bc17012047d92ec782202
[ "BSD-4-Clause" ]
null
null
null
/* $Id: RState.cpp,v 1.1.1.1 2000/03/05 06:22:40 tpv Exp $ Copyright 1996, 1997, 1998 Hekkelman Programmatuur B.V. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of s...
22.997041
77
0.660363
HaikuArchives
4656360df12f56b3b31a88bc97acd2bbc3e6b852
11,162
cc
C++
src/device.cc
xaudioproject/xapcppcore-audioio
615df98bfbc2fbca6b68127f2f9b342d69e7cc8d
[ "BSD-3-Clause" ]
1
2021-07-18T02:22:42.000Z
2021-07-18T02:22:42.000Z
src/device.cc
xaudioproject/xapcppcore-audioio
615df98bfbc2fbca6b68127f2f9b342d69e7cc8d
[ "BSD-3-Clause" ]
null
null
null
src/device.cc
xaudioproject/xapcppcore-audioio
615df98bfbc2fbca6b68127f2f9b342d69e7cc8d
[ "BSD-3-Clause" ]
null
null
null
// // Copyright 2019 - 2021 The XOrange Studio. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.md file. // // // Imports. // #include "error_p.h" #include <exception> #include <portaudio.h> #include <xap/audioio/device.h> #include <xap/audioi...
28.620513
78
0.566207
xaudioproject
4657ae11d1632533b3a0f9ed7c686f5d5ec45df4
31,638
cpp
C++
tests/unit_tests.cpp
adeobootpin/light-tensor
dfc2d19495848e773b7367427cf848e4ac30b29d
[ "MIT" ]
null
null
null
tests/unit_tests.cpp
adeobootpin/light-tensor
dfc2d19495848e773b7367427cf848e4ac30b29d
[ "MIT" ]
null
null
null
tests/unit_tests.cpp
adeobootpin/light-tensor
dfc2d19495848e773b7367427cf848e4ac30b29d
[ "MIT" ]
null
null
null
#include <iostream> #include <chrono> #include "lten.h" template<typename Dtype> int Compare(Dtype* A, Dtype* B, uint64_t len, Dtype error = 0) { uint64_t i; for (i = 0; i < len; i++) { if (fabs(A[i] - B[i]) > error) { return -1; } } return 0; } //------------------------------------...
23.734434
644
0.514792
adeobootpin
465b0e6c5f6183613e7f76f1de5d628cdd63bd0c
6,011
cpp
C++
example/mirror/chai_on_mirror.cpp
jagrut08/mirror
d219fb719212bff81714771846ceecbe505002cb
[ "BSL-1.0" ]
null
null
null
example/mirror/chai_on_mirror.cpp
jagrut08/mirror
d219fb719212bff81714771846ceecbe505002cb
[ "BSL-1.0" ]
null
null
null
example/mirror/chai_on_mirror.cpp
jagrut08/mirror
d219fb719212bff81714771846ceecbe505002cb
[ "BSL-1.0" ]
null
null
null
/// @example mirror/chai_on_mirror.cpp /// /// Copyright Matus Chochlik. /// 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 <mirror/chaiscript.hpp> #include <mirror/sequence.hpp> #include <cassert> #i...
28.220657
129
0.655465
jagrut08
465c65ec5fa942cfb21afa4a132e2aa96d237aa1
21,868
cpp
C++
src/interactive_mid_protocols/OTOneSidedSimulation.cpp
manel1874/libscapi
8cf705162af170c04c8e2299213f52888193cabe
[ "MIT" ]
160
2016-05-11T09:45:56.000Z
2022-03-06T09:32:19.000Z
src/interactive_mid_protocols/OTOneSidedSimulation.cpp
cryptobiu/libscapi
49eee7aee9eb3544a7facb199d0a6e98097b058a
[ "MIT" ]
57
2016-12-26T07:02:12.000Z
2022-03-06T16:34:31.000Z
src/interactive_mid_protocols/OTOneSidedSimulation.cpp
manel1874/libscapi
8cf705162af170c04c8e2299213f52888193cabe
[ "MIT" ]
67
2016-10-10T17:56:22.000Z
2022-03-15T22:56:39.000Z
#include "../../include/interactive_mid_protocols/OTOneSidedSimulation.hpp" OTOneSidedSimDDHSenderAbs::OTOneSidedSimDDHSenderAbs(const shared_ptr<CommParty> & channel, const shared_ptr<PrgFromOpenSSLAES> & random, const shared_ptr<DlogGroup> & dlog) : zkVerifier(channel, make_shared<SigmaDlogVerifierComputation>(d...
35.270968
178
0.687489
manel1874
4664553d0cbcabc17439ef81f391a32783ee0d81
2,114
cpp
C++
Array/33. Search in Rotated Sorted Array/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
Array/33. Search in Rotated Sorted Array/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
Array/33. Search in Rotated Sorted Array/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // 33. Search in Rotated Sorted Array // // Created by 边俊林 on 2018/7/13. // Copyright © 2018 minecode. All rights reserved. // /* ------------------------------------------------------------------------ *\ https://leetcode-cn.com/problems/search-in-rotated-sorted-array/description/ \* -------------...
25.780488
142
0.466887
Minecodecraft
466a0cb88c59fb690c68030f7b62edf50d850393
3,393
hpp
C++
lib/libchen/include/chen/data/ini.hpp
chensoft/libxio
17345e500cca5085641b5392ce8ef7dc65369d69
[ "MIT" ]
6
2018-07-28T08:03:24.000Z
2022-03-31T08:56:57.000Z
include/chen/data/ini.hpp
chensoft/libchen
03ae1da49a39595cd8afcb6089122b9a5caa7891
[ "MIT" ]
null
null
null
include/chen/data/ini.hpp
chensoft/libchen
03ae1da49a39595cd8afcb6089122b9a5caa7891
[ "MIT" ]
2
2019-05-21T02:26:36.000Z
2020-04-13T16:46:20.000Z
/** * A tiny ini parser * @since 2016.03.24 * @author Jian Chen <admin@chensoft.com> * @link http://chensoft.com * @link https://en.wikipedia.org/wiki/INI_file * ----------------------------------------------------------------------------- * Ini file consists of two parts: section and property * -) Case se...
39.453488
114
0.59387
chensoft
467125d505247e01a85ebc8748e7c1ee0a879efd
980
cpp
C++
sm_c_vector.cpp
xzrunner/sm
e31351c4fcd4470efa4dbec5bb6ee02c21ae42f8
[ "MIT" ]
null
null
null
sm_c_vector.cpp
xzrunner/sm
e31351c4fcd4470efa4dbec5bb6ee02c21ae42f8
[ "MIT" ]
null
null
null
sm_c_vector.cpp
xzrunner/sm
e31351c4fcd4470efa4dbec5bb6ee02c21ae42f8
[ "MIT" ]
null
null
null
#include "SM_Vector.h" namespace sm { extern "C" struct sm_vec2* sm_vec2_vector(struct sm_vec2* v, const struct sm_vec2* p1, const struct sm_vec2* p2) { *(vec2*)v = (*(const vec2*)p1) - (*(const vec2*)p2); return v; } extern "C" struct sm_vec2* sm_vec2_add(struct sm_vec2* v, const struct sm_vec2* p1, const struct ...
20.416667
101
0.670408
xzrunner
46723a13e6c172c8c1887d7176122c9db5de5319
2,827
cxx
C++
src/gadget/main_apply_merges.cxx
lejeunel/glia
24b763a230627951139010cd07b0d0ff2356a365
[ "MIT" ]
11
2016-08-16T02:26:31.000Z
2021-08-25T06:51:47.000Z
src/gadget/main_apply_merges.cxx
lejeunel/glia
24b763a230627951139010cd07b0d0ff2356a365
[ "MIT" ]
3
2017-05-26T15:33:42.000Z
2018-04-27T12:12:24.000Z
src/gadget/main_apply_merges.cxx
lejeunel/glia
24b763a230627951139010cd07b0d0ff2356a365
[ "MIT" ]
9
2016-07-25T08:28:12.000Z
2021-03-17T15:02:41.000Z
#include "util/struct_merge.hxx" #include "util/container.hxx" #include "util/image_io.hxx" #include "util/text_io.hxx" #include "util/text_cmd.hxx" using namespace glia; bool comp (TTriple<Label> const& m0, TTriple<Label> const& m1) { return m0.x2 < m1.x2; } bool operation (std::string const& outputImageFile, ...
38.726027
78
0.650513
lejeunel
46784251df709ca00dafe33068ef175077f33a02
8,018
cpp
C++
a3d/src/vulkan/a3dUnorderedAccessView.cpp
ProjectAsura/asura-SDK
e823129856185b023b164415b7aec2de0ba9c338
[ "MIT" ]
42
2016-11-11T13:27:48.000Z
2021-07-27T17:53:43.000Z
a3d/src/vulkan/a3dUnorderedAccessView.cpp
ProjectAsura/asura-SDK
e823129856185b023b164415b7aec2de0ba9c338
[ "MIT" ]
null
null
null
a3d/src/vulkan/a3dUnorderedAccessView.cpp
ProjectAsura/asura-SDK
e823129856185b023b164415b7aec2de0ba9c338
[ "MIT" ]
2
2017-03-26T08:25:29.000Z
2018-10-24T06:10:29.000Z
//------------------------------------------------------------------------------------------------- // File : a3dUnorderedAccessView.cpp // Desc : Unordered Access View Module. // Copyright(c) Project Asura. All right reserved. //-----------------------------------------------------------------------------------------...
39.303922
111
0.392991
ProjectAsura
46847858f82ed42ed05f6c41dda691a2af89e86e
49
cpp
C++
nanodbc_ext/detail/async_folly.cpp
fesily/nanodbc_ext
1d0d96130183bac6d27bd3dc07d82cc4f6e4b7cb
[ "MIT" ]
null
null
null
nanodbc_ext/detail/async_folly.cpp
fesily/nanodbc_ext
1d0d96130183bac6d27bd3dc07d82cc4f6e4b7cb
[ "MIT" ]
null
null
null
nanodbc_ext/detail/async_folly.cpp
fesily/nanodbc_ext
1d0d96130183bac6d27bd3dc07d82cc4f6e4b7cb
[ "MIT" ]
null
null
null
#include <nanodbc_ext/detail/async_folly-inl.h>
16.333333
47
0.795918
fesily
468c343db026ee176b3d31511339458cc18833d7
4,109
cxx
C++
CandyKing/Animal.cxx
trilog/Tri
5fedee71b1cedaa3003d68f0228135a471d1f09e
[ "Apache-2.0" ]
null
null
null
CandyKing/Animal.cxx
trilog/Tri
5fedee71b1cedaa3003d68f0228135a471d1f09e
[ "Apache-2.0" ]
null
null
null
CandyKing/Animal.cxx
trilog/Tri
5fedee71b1cedaa3003d68f0228135a471d1f09e
[ "Apache-2.0" ]
null
null
null
#include "Animal.h" // **************** Con/Destructors *********************** Animal::Animal(): soundManager(NULL), state(asStanding), currentClip(0), flip(SDL_FLIP_NONE), hitBoxShown(false), vectorsShown(false), maxVelocity(10), maxPoints(10), theta(0), velocity(0) { } // **************** setImage **************...
23.614943
85
0.513264
trilog
469cfa95b6f02124d745e11f18eb274375d489e8
3,313
cpp
C++
Tools/ExternalSrc/LibRaw/LibRawInterface.cpp
ronan-kerviche/glip-lib
6ae64559db7616abc33e586364940695665795a9
[ "MIT" ]
16
2016-07-29T07:39:07.000Z
2022-03-17T04:27:22.000Z
Tools/ExternalSrc/LibRaw/LibRawInterface.cpp
ronan-kerviche/glip-lib
6ae64559db7616abc33e586364940695665795a9
[ "MIT" ]
2
2017-02-04T19:34:26.000Z
2020-05-29T20:13:58.000Z
Tools/ExternalSrc/LibRaw/LibRawInterface.cpp
ronan-kerviche/glip-lib
6ae64559db7616abc33e586364940695665795a9
[ "MIT" ]
4
2016-07-07T10:16:11.000Z
2019-03-24T05:56:16.000Z
/* ************************************************************************************************************* */ /* */ /* LIBRAW INTERFACE ...
66.26
166
0.418956
ronan-kerviche
469e570b7ca06b8f51abd8b53a14d908d015a295
1,258
cpp
C++
algorithms/kruskal.cpp
mvgmb/Marathon
0dcc428a5e6858e2427fb40cefbd7453d1abcdb5
[ "Xnet", "X11" ]
null
null
null
algorithms/kruskal.cpp
mvgmb/Marathon
0dcc428a5e6858e2427fb40cefbd7453d1abcdb5
[ "Xnet", "X11" ]
null
null
null
algorithms/kruskal.cpp
mvgmb/Marathon
0dcc428a5e6858e2427fb40cefbd7453d1abcdb5
[ "Xnet", "X11" ]
null
null
null
#include <vector> #include <queue> #include <iostream> #include <limits> #include <set> #include <map> #include <algorithm> #define vi vector<int> #define vii vector<vector<int>> #define ii pair<int, int> #define fr(i, n) for (int i = 0; i < n; i++) #define all(v) v.begin(),v.end() #define pb push_back #define tr(c, i...
19.353846
71
0.573927
mvgmb
46a5e78de53b8b0cc8aa2fdb61a416d8cb518488
7,119
cpp
C++
tests/blocksignificant/arithmetic/division.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
tests/blocksignificant/arithmetic/division.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
tests/blocksignificant/arithmetic/division.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
// division.cpp: functional tests for blocksignificant division // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/utility/directives.hpp> #include <universal/utility/long_double....
42.375
169
0.759095
FloEdelmann
9e4dbd4b2bd37e914385fcbee11f3e3664a943ea
1,045
cpp
C++
source/aufgabe_4.cpp
ttobollik/programmiersprachen-aufgabenblatt-3
7b64c32f028b931ba5f01d86ea6abd950101cb37
[ "MIT" ]
null
null
null
source/aufgabe_4.cpp
ttobollik/programmiersprachen-aufgabenblatt-3
7b64c32f028b931ba5f01d86ea6abd950101cb37
[ "MIT" ]
null
null
null
source/aufgabe_4.cpp
ttobollik/programmiersprachen-aufgabenblatt-3
7b64c32f028b931ba5f01d86ea6abd950101cb37
[ "MIT" ]
null
null
null
#include "circle.hpp" #include <set> #include <algorithm> using namespace std; bool exists(set<Circle>& Circles, string& name){ //Prueft ob der Name schon existiert bool answer = true; for (auto& element : Circles) { if (element.get_name()== name) { cout << "This name is in use already. Restarti...
23.75
128
0.569378
ttobollik
9e4f44654c88895dcda9c1e4b53d6c07f62531b1
54,943
cpp
C++
src/glib/mine/mc.cpp
mihapapler/qminer
078bdd249313e984751789532c986309ab9689fd
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/glib/mine/mc.cpp
mihapapler/qminer
078bdd249313e984751789532c986309ab9689fd
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/glib/mine/mc.cpp
mihapapler/qminer
078bdd249313e984751789532c986309ab9689fd
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/** * Copyright (c) 2015, Jozef Stefan Institute, Quintelligence d.o.o. and contributors * All rights reserved. * * This source code is licensed under the FreeBSD license found in the * LICENSE file in the root directory of this source tree. */ #include "mc.h" using namespace TMc; ////////////////////////////...
30.971251
213
0.702091
mihapapler
9e4fcd830168bc05e983ed384e857bec231c4f1c
3,432
cpp
C++
src/tests/depend_test/MetricSerializerTest.cpp
vinsle/dependency-analysis
087d218864833fccab20b5693cfcdca728b31218
[ "BSL-1.0" ]
null
null
null
src/tests/depend_test/MetricSerializerTest.cpp
vinsle/dependency-analysis
087d218864833fccab20b5693cfcdca728b31218
[ "BSL-1.0" ]
null
null
null
src/tests/depend_test/MetricSerializerTest.cpp
vinsle/dependency-analysis
087d218864833fccab20b5693cfcdca728b31218
[ "BSL-1.0" ]
null
null
null
// // Copyright Silvin Lubecki 2010 // // 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 "depend_test_pch.h" #include "depend/MetricSerializer.h" #include "MockVisitable.h" #include "Moc...
34.32
90
0.560023
vinsle
9e535c8c1a81aa0f0f727ccdb4351a11e2dba8bc
2,514
hpp
C++
src/flat_file_back_translation.hpp
StephenHwang/vg
cf4d516a5e9ee5163c783e4437ddf16b18a4b561
[ "MIT" ]
null
null
null
src/flat_file_back_translation.hpp
StephenHwang/vg
cf4d516a5e9ee5163c783e4437ddf16b18a4b561
[ "MIT" ]
null
null
null
src/flat_file_back_translation.hpp
StephenHwang/vg
cf4d516a5e9ee5163c783e4437ddf16b18a4b561
[ "MIT" ]
null
null
null
/** * \file flat_file_back_translation.hpp * Defines a back-translation from graph node ID space to named node space, * backed by a flat text file. */ #ifndef VG_FLAT_FILE_BACK_TRANSLATION_HPP_INCLUDED #define VG_FLAT_FILE_BACK_TRANSLATION_HPP_INCLUDED #include "handle.hpp" #include <unordered_map> #include <ist...
32.230769
104
0.716786
StephenHwang
9e56aa6b69f5606f83732ad8e58f08ebe6b70d99
2,403
cpp
C++
src/StatusLed.cpp
BlueMasters/arduino-wolves
5e4522b34bf6abc9c22f25b0ec2e912ca0057a58
[ "Apache-2.0" ]
null
null
null
src/StatusLed.cpp
BlueMasters/arduino-wolves
5e4522b34bf6abc9c22f25b0ec2e912ca0057a58
[ "Apache-2.0" ]
13
2016-05-09T13:42:28.000Z
2016-05-19T17:18:47.000Z
src/StatusLed.cpp
BlueMasters/arduino-wolves
5e4522b34bf6abc9c22f25b0ec2e912ca0057a58
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * Copyright 2016 BlueMasters * * 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...
28.270588
79
0.633375
BlueMasters
9e63359ba05404e474c3ff1b87432d1bbfaf7dc4
3,852
hpp
C++
include/MpiRoutines.hpp
bonoboris/hpc_project
c5106efa3d51b1572c3dbefc5c136d8f1d2b698a
[ "MIT" ]
null
null
null
include/MpiRoutines.hpp
bonoboris/hpc_project
c5106efa3d51b1572c3dbefc5c136d8f1d2b698a
[ "MIT" ]
null
null
null
include/MpiRoutines.hpp
bonoboris/hpc_project
c5106efa3d51b1572c3dbefc5c136d8f1d2b698a
[ "MIT" ]
null
null
null
// Distributed implementation of common operation on vectors and matrix using MPI #pragma once #include "MpiWrapper.hpp" #include "Matrix.hpp" #include "linalg.hpp" #include <string> // Assuming every process have their part of the input // Return the scalar product (x.y) for every process template<typ...
31.57377
131
0.666667
bonoboris
9e6908596f3cb20bb693d761c13d56f0bce21475
349
cpp
C++
src/test/CanvasTest.cpp
SamuelGauthier/iphito
83cbcc9037965f5722aa39e7a7c13f0677264ff3
[ "Unlicense" ]
null
null
null
src/test/CanvasTest.cpp
SamuelGauthier/iphito
83cbcc9037965f5722aa39e7a7c13f0677264ff3
[ "Unlicense" ]
null
null
null
src/test/CanvasTest.cpp
SamuelGauthier/iphito
83cbcc9037965f5722aa39e7a7c13f0677264ff3
[ "Unlicense" ]
null
null
null
/** * @file Test_Canvas.cpp * @brief Canvas tests * @author Samuel Gauthier * @version 1.0 * @date 2018-10-01 */ #include <catch2/catch.hpp> #include "renderer/Canvas.h" using namespace iphito::renderer; TEST_CASE("canvas size", "[Canvas]") { Canvas c = Canvas(3, 4); REQUIRE(c.getWidth() == 3); REQ...
17.45
38
0.633238
SamuelGauthier
9e712b6e64acd223e26aa2dfc3413d35ddc4e1ad
1,805
hpp
C++
include/tudocomp/ds/LCPFromPLCP.hpp
JZentgraf/tudocomp
3a4522e3089716e4483b935e74aaae56cc547589
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/tudocomp/ds/LCPFromPLCP.hpp
JZentgraf/tudocomp
3a4522e3089716e4483b935e74aaae56cc547589
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/tudocomp/ds/LCPFromPLCP.hpp
JZentgraf/tudocomp
3a4522e3089716e4483b935e74aaae56cc547589
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#pragma once #include <tudocomp/ds/TextDSFlags.hpp> #include <tudocomp/ds/CompressMode.hpp> #include <tudocomp/ds/ArrayDS.hpp> #include <tudocomp_stat/StatPhase.hpp> namespace tdc { /// Constructs the LCP array using the Phi algorithm. class LCPFromPLCP: public Algorithm, public ArrayDS { private: len_t m_max; ...
24.391892
83
0.559003
JZentgraf
9e756972795e8e7a3568820395646115fc53a563
1,715
cpp
C++
A2/OmarLovesCandies.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
A2/OmarLovesCandies.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
A2/OmarLovesCandies.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cctype> #include <vector> #include <set> #include <queue> #include <map> #include <stack> #include <iostream> #include <algorithm> #include <iterator> #include <string> #include <cstring> #include <sstream> #include <cstdlib> #include <locale> #include <cmath> #define scd(x) scanf("%d", &x) ...
20.416667
66
0.566181
MartinAparicioPons
9e75a140787b5a9cdce94b4e4e9f20304a9a6d56
4,635
hpp
C++
Map2Cat.hpp
tbs1980/Map2Cat
3a92fa0314ffb4c072cb0939f74017b78d8db64c
[ "MIT" ]
null
null
null
Map2Cat.hpp
tbs1980/Map2Cat
3a92fa0314ffb4c072cb0939f74017b78d8db64c
[ "MIT" ]
null
null
null
Map2Cat.hpp
tbs1980/Map2Cat
3a92fa0314ffb4c072cb0939f74017b78d8db64c
[ "MIT" ]
null
null
null
#ifndef MAP2CAT_HPP #define MAP2CAT_HPP #include <fstream> #include <iostream> #include <iomanip> #include <exception> #include <vector> #include <cmath> #include <cassert> #include <random> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ini_parser.hpp> #include <boost/log/trivial.hpp> #includ...
32.87234
113
0.633441
tbs1980
9e7a0b87d8e92a6e863c8d4061cb0a71d8ce6437
1,302
cpp
C++
LiteCppDB/LiteCppDB.Console/InputCommand.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
2
2019-07-18T06:30:33.000Z
2020-01-23T17:40:36.000Z
LiteCppDB/LiteCppDB.Console/InputCommand.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
LiteCppDB/LiteCppDB.Console/InputCommand.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "InputCommand.h" #include <iostream> #include <string> namespace LiteCppDB_Console { InputCommand::InputCommand() noexcept { this->mRunning = true; } InputCommand::~InputCommand() { } InputCommand::InputCommand(const InputCommand& src) noexcept { this->mRunning = src.mRunni...
16.481013
72
0.678955
pnadan
9e7e4b3387b9755107e8f92fe57920f1512f5321
592
cc
C++
cxx/general/dataforge.cc
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/general/dataforge.cc
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/general/dataforge.cc
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
// // Created by zelenyy on 24.02.2020. // #include "dataforge/include/SimpleEnvelope.hh" #include "dataforge/include/ArrayBinary.hh" #include "dataforge/include/TaggedEnvelopeFormat.hh" #include <iostream> #include <vector> int main(){ std::vector<double> data; data.reserve(100); for (int i=0; i<100; ++i){ ...
22.769231
52
0.677365
Zelenyy
9e89c425a28b1b29cd4327619aff6fe2d9c56f25
228
cpp
C++
test/test_main.cpp
ciniml/umcache
4b349e8be27b981e55446940db8fe16fab487bab
[ "BSL-1.0" ]
null
null
null
test/test_main.cpp
ciniml/umcache
4b349e8be27b981e55446940db8fe16fab487bab
[ "BSL-1.0" ]
null
null
null
test/test_main.cpp
ciniml/umcache
4b349e8be27b981e55446940db8fe16fab487bab
[ "BSL-1.0" ]
null
null
null
/** * User mode cache using userfaultfd. * Copyright(C) 2021 Kenta IDA * SPDX: BSL-1.0 */ #include <gtest/gtest.h> int main(int argc, char* argv[]) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
19
43
0.649123
ciniml
9e920998435b8e5d0e3d98efb5136ece79486649
13,535
hpp
C++
extern/stm32/rcc.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
41
2019-09-24T02:17:34.000Z
2022-01-18T03:14:46.000Z
extern/stm32/rcc.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
2
2019-11-04T09:01:40.000Z
2020-06-23T03:03:38.000Z
extern/stm32/rcc.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
8
2019-09-24T02:17:35.000Z
2021-09-11T00:21:03.000Z
#ifndef xpack_extern_stm32_rcc #define xpack_extern_stm32_rcc #pragma push_macro("xuser") #undef xuser #define xuser mixc::extern_stm32_rcc::inc #include"extern/stm32/define.hpp" #include"macro/xexport.hpp" #include"meta/is_same.hpp" #pragma pop_macro("xuser") namespace mixc::extern_stm32_rcc{ // read/clear/enabl...
30.97254
85
0.419209
Better-Idea