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
108
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
67k
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
74ce2cd0ca642ef0026a69ec23b6b0bfa2b1a10c
4,478
cpp
C++
examples/LeNet/Main.cpp
huningxin/webnn-native
11cb275baddeabf6831cb2b4f99d8df3113dbecd
[ "Apache-2.0" ]
null
null
null
examples/LeNet/Main.cpp
huningxin/webnn-native
11cb275baddeabf6831cb2b4f99d8df3113dbecd
[ "Apache-2.0" ]
null
null
null
examples/LeNet/Main.cpp
huningxin/webnn-native
11cb275baddeabf6831cb2b4f99d8df3113dbecd
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The WebNN-native 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
33.924242
100
0.561635
huningxin
74d129b14afecd892090edb6c46c56e7ae3e5f6d
298
cpp
C++
problems/MapShortcut/tests/generateTest.cpp
biqar/lucid-programming-competition-2021
9c61ced7939ce8fe60c9ddbd31447e00e6299d2b
[ "Apache-2.0" ]
1
2021-11-01T18:20:36.000Z
2021-11-01T18:20:36.000Z
problems/MapShortcut/tests/generateTest.cpp
biqar/lucid-programming-competition-2021
9c61ced7939ce8fe60c9ddbd31447e00e6299d2b
[ "Apache-2.0" ]
1
2021-10-30T20:27:38.000Z
2021-10-30T20:27:38.000Z
problems/MapShortcut/tests/generateTest.cpp
biqar/lucid-programming-competition-2021
9c61ced7939ce8fe60c9ddbd31447e00e6299d2b
[ "Apache-2.0" ]
3
2021-10-31T04:35:33.000Z
2021-12-08T19:33:27.000Z
#include <cmath> #include <iostream> using namespace std; int main() { int steps = 10000; cout << steps << "\n"; for(int i = 0; i < steps; i++){ cout << ((rand() % 2 == 0) ? "Left " : "Right ")<< (rand() % 180) + 1 << " " << (rand() % 100) + 1 << "\n"; } return 0; }
19.866667
115
0.442953
biqar
74d5eb026312831bbbab69dd622b44f0d18d0129
748
cpp
C++
data/test/cpp/74d5eb026312831bbbab69dd622b44f0d18d0129loadwindow.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/cpp/74d5eb026312831bbbab69dd622b44f0d18d0129loadwindow.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/cpp/74d5eb026312831bbbab69dd622b44f0d18d0129loadwindow.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#include "loadwindow.h" #include <QtWidgets/QVBoxLayout> #include <QtWidgets/QLabel> LoadWindow::LoadWindow(): QWidget() { #if DEBUG_CREA_FORET cout<< "Chargement d'une foret à partir d'un fichier "<< endl; #endif #if DEBUG_LOAD cout<< "Taille : " << largeur<< " en largeur "<< hauteur<< " en hauteur" <<endl; #e...
18.243902
81
0.703209
harshp8l
74d77cd5445f3d1ecc810e8ecd96103fbe94940e
5,872
cpp
C++
ChainIDE/contractwidget/ContractWidget.cpp
AnyChainIDE/AnyChainIDE
b4f2775a968b5aaa1114f58590f736f356fcf3b3
[ "MIT" ]
null
null
null
ChainIDE/contractwidget/ContractWidget.cpp
AnyChainIDE/AnyChainIDE
b4f2775a968b5aaa1114f58590f736f356fcf3b3
[ "MIT" ]
null
null
null
ChainIDE/contractwidget/ContractWidget.cpp
AnyChainIDE/AnyChainIDE
b4f2775a968b5aaa1114f58590f736f356fcf3b3
[ "MIT" ]
null
null
null
#include "ContractWidget.h" #include "ui_ContractWidget.h" #include <QCoreApplication> #include <QGuiApplication> #include <QClipboard> #include <QDir> #include <QMenu> #include "ChainIDE.h" #include "datamanager/DataManagerHX.h" #include "datamanager/DataManagerUB.h" #include "datamanager/DataManagerCTC.h" #include ...
33.747126
197
0.676771
AnyChainIDE
74daa34641282415d5b3e9ba9395c6cd43befc86
3,425
cpp
C++
hosts/wconvert/xml_skeleton_exporter.cpp
ndoxx/wcore
8b24519e9a01b0397ba2959507e1e12ea3a3aa44
[ "Apache-2.0" ]
null
null
null
hosts/wconvert/xml_skeleton_exporter.cpp
ndoxx/wcore
8b24519e9a01b0397ba2959507e1e12ea3a3aa44
[ "Apache-2.0" ]
null
null
null
hosts/wconvert/xml_skeleton_exporter.cpp
ndoxx/wcore
8b24519e9a01b0397ba2959507e1e12ea3a3aa44
[ "Apache-2.0" ]
null
null
null
#include <stack> #include <fstream> #include "xml_skeleton_exporter.h" #include "vendor/rapidxml/rapidxml_print.hpp" #include "xml_utils.hpp" #include "config.h" #include "logger.h" using namespace rapidxml; using namespace wcore; namespace wconvert { static void xml_node_add_attribute(xml_document<>& doc, xml_nod...
30.580357
130
0.71562
ndoxx
74dfa06458cbaa03a4b96a72543165cefd0aeba5
11,584
cpp
C++
tests/apc/minimal-sync-attr/components/sender/hello_sender_exec.cpp
jwillemsen/ciaox11
483dd0f189a92615068366f566ea8354a1baf7a3
[ "MIT" ]
7
2016-04-12T15:09:33.000Z
2022-01-26T02:28:28.000Z
tests/apc/minimal-sync-attr/components/sender/hello_sender_exec.cpp
jwillemsen/ciaox11
483dd0f189a92615068366f566ea8354a1baf7a3
[ "MIT" ]
10
2019-11-26T15:24:01.000Z
2022-03-28T11:45:14.000Z
tests/apc/minimal-sync-attr/components/sender/hello_sender_exec.cpp
jwillemsen/ciaox11
483dd0f189a92615068366f566ea8354a1baf7a3
[ "MIT" ]
5
2016-04-12T18:40:44.000Z
2019-12-18T14:27:52.000Z
// -*- C++ -*- /** * @file hello_sender_exec.cpp * @author Martin Corino * * @copyright Copyright (c) Remedy IT Expertise BV */ //@@{__RIDL_REGEN_MARKER__} - HEADER_END : hello_sender_impl.cpp[Header] #include "hello_sender_exec.h" //@@{__RIDL_REGEN_MARKER__} - BEGIN : Hello_Sender_Impl[user_includes] #inclu...
35.975155
107
0.698636
jwillemsen
74e135f01c967a7b4d283e4fac56d360ed812608
7,254
cpp
C++
bin/sept/ZoomWindow.cpp
vdods/sept
08ee1faf1af4feb0dc440a3002eb8cc52681f946
[ "Apache-2.0" ]
null
null
null
bin/sept/ZoomWindow.cpp
vdods/sept
08ee1faf1af4feb0dc440a3002eb8cc52681f946
[ "Apache-2.0" ]
null
null
null
bin/sept/ZoomWindow.cpp
vdods/sept
08ee1faf1af4feb0dc440a3002eb8cc52681f946
[ "Apache-2.0" ]
null
null
null
// 2020.03.16 - Victor Dods #include "MainWindow.hpp" #include <iostream> #include <QtWidgets> bool WheelFilter::eventFilter (QObject *obj, QEvent *event) { if (event->type() == QEvent::Wheel) { auto wheel_event = static_cast<QWheelEvent*>(event); if (wheel_event->modifiers() == Qt::ControlModifi...
35.558824
132
0.633995
vdods
74e205cb10d4ec90ec9ffc2ba3b208d12e7fbb4a
1,249
cpp
C++
lambda.cpp
as-xjc/learn_cpp
238c5fca03956393694436d43833598abb435963
[ "MIT" ]
null
null
null
lambda.cpp
as-xjc/learn_cpp
238c5fca03956393694436d43833598abb435963
[ "MIT" ]
null
null
null
lambda.cpp
as-xjc/learn_cpp
238c5fca03956393694436d43833598abb435963
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <set> #include <thread> #include <vector> void static_or_local_lambda() { static auto generator = []() { return 1; }; auto generator2 = []() { return 1; }; std::printf("generator 1:%p\n", &generator); std::printf("generator 2:%p\n", &generator2); } ...
18.924242
86
0.567654
as-xjc
74e4118561b35051e39961e4cb1f1beab746cca2
9,878
cpp
C++
gen/linux/kin/eigen/src/Jvb_VectorNav_to_LeftToeBottom.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
26
2018-07-20T15:20:19.000Z
2022-03-14T07:12:12.000Z
gen/linux/kin/eigen/src/Jvb_VectorNav_to_LeftToeBottom.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
2
2019-04-19T22:57:00.000Z
2022-01-11T12:46:20.000Z
gen/linux/kin/eigen/src/Jvb_VectorNav_to_LeftToeBottom.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
10
2018-07-29T08:05:14.000Z
2022-02-03T08:48:11.000Z
/* * Automatically Generated from Mathematica. * Tue 8 Jan 2019 23:21:09 GMT-05:00 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "Jvb_VectorNav_to_LeftToeBottom.h" #ifdef _MSC_VER #define INLINE __forceinline /* use __forceinline (VC++ specific) */ #else #define INLINE static inline ...
23.80241
129
0.641324
UMich-BipedLab
74e593bb3a6457d26e1def2a3361587ea952c5c9
36,360
cpp
C++
vegastrike/src/star_system_generic.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/star_system_generic.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/star_system_generic.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
#include <assert.h> #include "star_system_generic.h" #include "gfx/vec.h" #include "cmd/planet_generic.h" #include "cmd/unit_generic.h" #include "cmd/unit_collide.h" #include "cmd/collection.h" #include "gfx/cockpit_generic.h" #include "audiolib.h" #include "lin_time.h" #include "cmd/beam.h" #include "cmd/bolt.h" #incl...
37.292308
130
0.561304
Ezeer
74e6ab1cb3afd798480ad9862f87c14473e2e6fd
5,313
hpp
C++
include/as/multithread_task/parallel_for.hpp
asmith-git/multithread-task
4b09b854aff2cf24651fd75bbed8d3019f8be379
[ "Apache-2.0" ]
null
null
null
include/as/multithread_task/parallel_for.hpp
asmith-git/multithread-task
4b09b854aff2cf24651fd75bbed8d3019f8be379
[ "Apache-2.0" ]
null
null
null
include/as/multithread_task/parallel_for.hpp
asmith-git/multithread-task
4b09b854aff2cf24651fd75bbed8d3019f8be379
[ "Apache-2.0" ]
null
null
null
#ifndef ASMITH_PARALLEL_FOR_TASK_HPP #define ASMITH_PARALLEL_FOR_TASK_HPP // Copyright 2017 Adam Smith // // 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/l...
30.36
202
0.654056
asmith-git
d55cab678c4665883553fd2ed1be29a834df8216
4,402
cpp
C++
libs/SysmelCompiler/Environment/ASTNode.cpp
ronsaldo/sysmel-beta
14237d780527c6ca1bb34f74195838f78f0c6acc
[ "MIT" ]
2
2021-10-30T15:31:43.000Z
2021-11-08T09:45:15.000Z
libs/SysmelCompiler/Environment/ASTNode.cpp
ronsaldo/sysmel-beta
14237d780527c6ca1bb34f74195838f78f0c6acc
[ "MIT" ]
null
null
null
libs/SysmelCompiler/Environment/ASTNode.cpp
ronsaldo/sysmel-beta
14237d780527c6ca1bb34f74195838f78f0c6acc
[ "MIT" ]
null
null
null
#include "Environment/ASTNode.hpp" #include "Environment/ASTSemanticAnalyzer.hpp" #include "Environment/ASTSourcePosition.hpp" #include "Environment/ASTLiteralValueNode.hpp" #include "Environment/ASTValuePatternNode.hpp" #include "Environment/LiteralString.hpp" #include "Environment/SubclassResponsibility.hpp" #include...
24.054645
141
0.745797
ronsaldo
d55ea0d25a858f78f95d565d282a464cbb4f0605
2,416
cpp
C++
cpp/custrings/tests/test_url.cpp
JohnZed/cudf
403d2571e5fcde66b7768b2213f6c142cc8b63db
[ "Apache-2.0" ]
null
null
null
cpp/custrings/tests/test_url.cpp
JohnZed/cudf
403d2571e5fcde66b7768b2213f6c142cc8b63db
[ "Apache-2.0" ]
null
null
null
cpp/custrings/tests/test_url.cpp
JohnZed/cudf
403d2571e5fcde66b7768b2213f6c142cc8b63db
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include "nvstrings/NVStrings.h" #include "./utils.h" struct TestURL : public GdfTest { }; TEST_F(TestURL, UrlEncode) { std::vector<const char*> hstrs{"www.nvidia.com/rapids?p=é", "/_file-7.txt", "a b+c~d", ...
36.606061
78
0.412252
JohnZed
d55f8de827a5b2a68185b3d9d9d3c2bb3658bf6a
17,143
cpp
C++
wpn.cpp
commandus/wpn
7064b4effd1d1e502daf6bddcdf126165706ca32
[ "MIT" ]
2
2020-11-22T23:45:19.000Z
2020-12-14T06:54:31.000Z
wpn.cpp
commandus/wpn
7064b4effd1d1e502daf6bddcdf126165706ca32
[ "MIT" ]
null
null
null
wpn.cpp
commandus/wpn
7064b4effd1d1e502daf6bddcdf126165706ca32
[ "MIT" ]
1
2021-05-13T12:23:19.000Z
2021-05-13T12:23:19.000Z
/** * Copyright (c) 2018 Andrei Ivanov <andrei.i.ivanov@commandus.com> * * 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 ...
29.97028
158
0.635186
commandus
d5609174e85033a4e5396ecac711ecec863cc658
3,788
cpp
C++
CyberSoftMedicine/main.cpp
snowdence/ContestScience_DetectCancer
a50a1bf0130ce0fd099f3424ce4c9c9a8bfaf137
[ "MIT" ]
null
null
null
CyberSoftMedicine/main.cpp
snowdence/ContestScience_DetectCancer
a50a1bf0130ce0fd099f3424ce4c9c9a8bfaf137
[ "MIT" ]
null
null
null
CyberSoftMedicine/main.cpp
snowdence/ContestScience_DetectCancer
a50a1bf0130ce0fd099f3424ce4c9c9a8bfaf137
[ "MIT" ]
null
null
null
/******************************************************************************************/ /*********** Author : Tran Minh Duc (Snowdence) *******************/ /*********** Email : Snowdence2911@gmail.com *******************/ /*********** Phone : 0982 259 245 ******************* /*********** ...
31.04918
167
0.558342
snowdence
d563068ad87208151ba4618b1b8ed063349fe979
2,640
cpp
C++
Engine/source/sfx/sfxResource.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
2,113
2015-01-01T11:23:01.000Z
2022-03-28T04:51:46.000Z
Engine/source/sfx/sfxResource.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
948
2015-01-02T01:50:00.000Z
2022-02-27T05:56:40.000Z
Engine/source/sfx/sfxResource.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
944
2015-01-01T09:33:53.000Z
2022-03-15T22:23:03.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
31.807229
87
0.682197
vbillet
d56d520ca31a1a0d4e01db3fd7025bab7c717764
3,133
cpp
C++
lib/spdk/SpdkIoBuf.cpp
janlt/daqdb
04ff602fe0a6c199a782b877203b8b8b9d3fec66
[ "Apache-2.0" ]
22
2019-02-08T17:23:12.000Z
2021-10-12T06:35:37.000Z
lib/spdk/SpdkIoBuf.cpp
janlt/daqdb
04ff602fe0a6c199a782b877203b8b8b9d3fec66
[ "Apache-2.0" ]
8
2019-02-11T06:30:47.000Z
2020-04-22T09:49:44.000Z
lib/spdk/SpdkIoBuf.cpp
daq-db/daqdb
e30afe8a9a4727e60d0c1122d28679a4ce326844
[ "Apache-2.0" ]
10
2019-02-11T10:26:52.000Z
2019-09-16T20:49:25.000Z
/** * Copyright (c) 2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
30.125
76
0.637408
janlt
d56e4c51124dd3c3861735a8feefa5847b625f24
1,830
cpp
C++
core/jni/android_app_ActivityThread.cpp
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
core/jni/android_app_ActivityThread.cpp
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
core/jni/android_app_ActivityThread.cpp
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
32.678571
97
0.730055
Y-D-Lu
d570b489b19f2331a163a6fb31ebaebd8e1f7d88
803
cpp
C++
chp5-while-guess/chp5-while-guess/chp5-while-guess.cpp
cmacdougald/2020SPRING-ITSE1307
c7d941deace980fd99dfadcd55518f75b3d20684
[ "MIT" ]
null
null
null
chp5-while-guess/chp5-while-guess/chp5-while-guess.cpp
cmacdougald/2020SPRING-ITSE1307
c7d941deace980fd99dfadcd55518f75b3d20684
[ "MIT" ]
null
null
null
chp5-while-guess/chp5-while-guess/chp5-while-guess.cpp
cmacdougald/2020SPRING-ITSE1307
c7d941deace980fd99dfadcd55518f75b3d20684
[ "MIT" ]
null
null
null
// chp5-while-guess.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <time.h> #include <cstdlib> int main() { srand(time(0)); int intMAXNUMBER = 100; int intRandomNumber = rand() % intMAXNUMBER + 1; int intGuess = 0; do { std::cer...
20.589744
79
0.582814
cmacdougald
d571bea53f21a1864f150d1350f703b8d1890b7e
504
cpp
C++
prob03/main.cpp
CSUF-CPSC120-2019F23-24/labex05-jmurkijanian
f0d5c8a60227cb4eef10241e97e949dc6c9790a2
[ "MIT" ]
null
null
null
prob03/main.cpp
CSUF-CPSC120-2019F23-24/labex05-jmurkijanian
f0d5c8a60227cb4eef10241e97e949dc6c9790a2
[ "MIT" ]
null
null
null
prob03/main.cpp
CSUF-CPSC120-2019F23-24/labex05-jmurkijanian
f0d5c8a60227cb4eef10241e97e949dc6c9790a2
[ "MIT" ]
null
null
null
// Random Rectangle #include <iostream> #include <string> #include <cstdlib> int main() { //Constants, and assigned values const int MAXHEIGHT = 3; const int MAX = 40; unsigned seed = time(0); srand(seed); int length = rand(); //Gives length its max value //the 1 prevents it from outputing nothing length = rand() % ...
16.8
42
0.662698
CSUF-CPSC120-2019F23-24
d574a6258fc4c241df7507f6a7598c163eb9dc68
8,416
cc
C++
src/QSS/path.cc
NREL/SOEP-QSS
354df458f6eaf13e9f0271eccd747047ab4f0f71
[ "BSD-3-Clause" ]
13
2017-08-04T15:15:59.000Z
2022-03-24T06:02:22.000Z
src/QSS/path.cc
NREL/SOEP-QSS
354df458f6eaf13e9f0271eccd747047ab4f0f71
[ "BSD-3-Clause" ]
4
2021-08-19T01:56:30.000Z
2021-08-23T01:41:36.000Z
src/QSS/path.cc
NREL/SOEP-QSS
354df458f6eaf13e9f0271eccd747047ab4f0f71
[ "BSD-3-Clause" ]
1
2017-09-15T17:14:57.000Z
2017-09-15T17:14:57.000Z
// QSS Solver Path Functions // // Project: QSS Solver // // Developed by Objexx Engineering, Inc. (https://objexx.com) under contract to // the National Renewable Energy Laboratory of the U.S. Department of Energy // // Copyright (c) 2017-2021 Objexx Engineering, Inc. All rights reserved. // // Redistribution and use ...
26.71746
119
0.591492
NREL
d57679da5d03f5b03da8d7023103602798dd54cb
3,242
cpp
C++
CP-Algorithms/Algebra/2_Prime numbers/1_spoj_BSPRIME - Binary Sequence of Prime Number.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
CP-Algorithms/Algebra/2_Prime numbers/1_spoj_BSPRIME - Binary Sequence of Prime Number.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
CP-Algorithms/Algebra/2_Prime numbers/1_spoj_BSPRIME - Binary Sequence of Prime Number.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; /// Segmented Sieve /// Description: Simple sieve of Eratosthenes with few optimizations. /// It generates primes below 10^9 /// Tutorial Link: https://github.com/kimwalisch/primesieve/wiki/Segmented-sieve-of-Eratosthenes ///set your CPU's L1 cac...
19.768293
96
0.592535
Sowmik23
d5775ec94f6960c8745c9549f9b4bf7147d02b6e
730
hpp
C++
libs/gui/impl/include/sge/gui/impl/make_container_pair.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/gui/impl/include/sge/gui/impl/make_container_pair.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/gui/impl/include/sge/gui/impl/make_container_pair.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_GUI_IMPL_MAKE_CONTAINER_PAIR_HPP_INCLUDED #define SGE_GUI_IMPL_MAKE_CONTAINER_PAIR_HPP_...
30.416667
65
0.761644
cpreh
d57b2e18c1af91ea67aa92a11bb3c0f1c6580aa9
3,416
cpp
C++
src/graphics/vulkan/descriptor_init.cpp
InspectorSolaris/nd-engine
a8d63fe4bc0e57a96317adf015534d2e779ffcbb
[ "WTFPL" ]
null
null
null
src/graphics/vulkan/descriptor_init.cpp
InspectorSolaris/nd-engine
a8d63fe4bc0e57a96317adf015534d2e779ffcbb
[ "WTFPL" ]
null
null
null
src/graphics/vulkan/descriptor_init.cpp
InspectorSolaris/nd-engine
a8d63fe4bc0e57a96317adf015534d2e779ffcbb
[ "WTFPL" ]
null
null
null
#include "descriptor_init.hpp" #include "tools_runtime.hpp" namespace nd::src::graphics::vulkan { using namespace nd::src::tools; DescriptorPool createDescriptorPool(opt<const DescriptorPoolCfg>::ref cfg, const VkDevice device) noexcept(ND_VK_ASSERT_NOTHROW) { ND_SET_SCOPE(); const au...
46.794521
141
0.53103
InspectorSolaris
d57e24cab5c502dd7faa514aa18dac25dd49dce5
4,651
hh
C++
include/click/statvector.hh
MassimoGirondi/fastclick
71b9a3392c2e847a22de3c354be1d9f61216cb5b
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
include/click/statvector.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
include/click/statvector.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
// -*- c-basic-offset: 4 -*- #ifndef CLICK_STATVECTOR_HH #define CLICK_STATVECTOR_HH #include <click/batchelement.hh> #include <click/multithread.hh> #include <click/vector.hh> #include <click/straccum.hh> #include <click/statvector.hh> CLICK_DECLS template <typename T> class StatVector { enum{H_MEDIAN,H_AVERA...
34.198529
97
0.500538
MassimoGirondi
d584b2a3b2b7bd95119bdae50d731d8a1e083a75
1,175
cpp
C++
solutions/LeetCode/C++/908.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/C++/908.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/C++/908.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 8 ms submission class Solution { public: int smallestRangeI(vector<int>& A, int K) { const int mx = *max_element(A.begin(), A.end()); const int mn = *min_element(A.begin(), A.end()); if...
27.325581
98
0.593191
timxor
d58ac31b2fb6c9ddee3b02c404d400ba910ffed0
369
cpp
C++
regression/esbmc-cpp/qt/QList/list_contains/main.cpp
vanderson-rocha/esbmc
45768923a0fe79226feca5581b4d75b0a9f5f741
[ "BSD-3-Clause" ]
1
2021-02-26T22:03:18.000Z
2021-02-26T22:03:18.000Z
regression/esbmc-cpp/qt/QList/list_contains/main.cpp
vanderson-rocha/esbmc
45768923a0fe79226feca5581b4d75b0a9f5f741
[ "BSD-3-Clause" ]
null
null
null
regression/esbmc-cpp/qt/QList/list_contains/main.cpp
vanderson-rocha/esbmc
45768923a0fe79226feca5581b4d75b0a9f5f741
[ "BSD-3-Clause" ]
1
2021-04-15T14:14:27.000Z
2021-04-15T14:14:27.000Z
#include <iostream> #include <QList> #include <QString> #include <cassert> using namespace std; int main () { QList<QString> list; list << "A" << "B" << "C" << "B" << "A"; assert(list.contains("B")); assert(list.contains("A")); assert(list.contains("C")); //assert(list.indexOf("X")...
21.705882
62
0.528455
vanderson-rocha
d58b83add753a6374f7748174e813bee36758f80
2,092
cpp
C++
StarLight/filewriter.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StarLight/filewriter.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
StarLight/filewriter.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////// // // Copyright 2010 // // This file is part of starlight. // // starlight 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 Found...
22.021053
75
0.556883
klendathu2k
d58cf4d6b06e06529868f891053a04653fe15275
9,457
hpp
C++
include/fe/math/Vector3.hpp
TheCandianVendingMachine/TCVM_Flat_Engine
13797b91f6f4199d569f80baa29e2584652fc4b5
[ "MIT" ]
1
2018-06-15T23:49:37.000Z
2018-06-15T23:49:37.000Z
include/fe/math/Vector3.hpp
TheCandianVendingMachine/TCVM_Flat_Engine
13797b91f6f4199d569f80baa29e2584652fc4b5
[ "MIT" ]
5
2017-04-23T03:25:10.000Z
2018-02-23T07:48:16.000Z
include/fe/math/Vector3.hpp
TheCandianVendingMachine/TCVM_Flat_Engine
13797b91f6f4199d569f80baa29e2584652fc4b5
[ "MIT" ]
null
null
null
// Vector3.hpp // A 3d vector class used for defining coordinates in space #pragma once #include <cmath> #include <SFML/System/Vector3.hpp> namespace fe { template <typename dataType> struct Vector3; template <typename T> struct lightVector3; template<typename dataType, typ...
55.629412
227
0.538754
TheCandianVendingMachine
d58d16e90aea0760422135219f8e4764a4605170
6,152
hh
C++
include/psp/libos/su/DispatchSu.hh
maxdml/Pers-phone
510833b934e9df916d2f9f5b243d7e530a353840
[ "Apache-2.0" ]
2
2021-11-13T03:31:33.000Z
2022-02-20T16:08:50.000Z
include/psp/libos/su/DispatchSu.hh
maxdml/psp
510833b934e9df916d2f9f5b243d7e530a353840
[ "Apache-2.0" ]
null
null
null
include/psp/libos/su/DispatchSu.hh
maxdml/psp
510833b934e9df916d2f9f5b243d7e530a353840
[ "Apache-2.0" ]
null
null
null
#ifndef DISPATCH_SU_H_ #define DISPATCH_SU_H_ #include <arpa/inet.h> #include <psp/libos/persephone.hh> #include <psp/libos/Request.hh> #include <fstream> #define MAX_CLIENTS 64 #define RESA_SAMPLES_NEEDED 5e4 #define UPDATE_PERIOD 5 * 1e3 //5 usec #define MAX_WINDOWS 8192 struct profiling_windows { uint64_t ts...
36.402367
117
0.569083
maxdml
d58dd7f3a1204eb9d22da7e5177c8675650ed515
25,637
cc
C++
chromeos/services/assistant/assistant_manager_service_impl_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromeos/services/assistant/assistant_manager_service_impl_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromeos/services/assistant/assistant_manager_service_impl_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/services/assistant/assistant_manager_service_impl.h" #include <utility> #include "base/json/json_reader.h" #include "base/logging.h" ...
36.057665
93
0.764754
sarang-apps
d58eca98fde583fda59e7f1026eea07bac324555
4,134
cpp
C++
active16/src/libalf/libalf/testsuites/NLstar_count_eq_queries/count_eq_queries_random.cpp
adiojha629/JIRP_LRM
a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3
[ "MIT" ]
2
2021-09-22T13:02:55.000Z
2021-11-08T19:16:55.000Z
active16/src/libalf/libalf/testsuites/NLstar_count_eq_queries/count_eq_queries_random.cpp
adiojha629/JIRP_LRM
a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3
[ "MIT" ]
null
null
null
active16/src/libalf/libalf/testsuites/NLstar_count_eq_queries/count_eq_queries_random.cpp
adiojha629/JIRP_LRM
a06e3725a8f4f406a100d2a4c2c69d4e9450a2d3
[ "MIT" ]
null
null
null
/* $Id: count_eq_queries_random.cpp 1386 2010-10-12 16:59:18Z davidpiegdon $ * vim: fdm=marker * * This file is part of libalf. * * libalf is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either v...
27.019608
137
0.694485
adiojha629
d58f93c1ba82427fc731279cc053a0ad36790def
91
cpp
C++
contracts/test.inline/test.inline.cpp
ETAIO/eta
cdf2427f5b955ba2cde9b3978cf1f268053306ef
[ "MIT" ]
null
null
null
contracts/test.inline/test.inline.cpp
ETAIO/eta
cdf2427f5b955ba2cde9b3978cf1f268053306ef
[ "MIT" ]
null
null
null
contracts/test.inline/test.inline.cpp
ETAIO/eta
cdf2427f5b955ba2cde9b3978cf1f268053306ef
[ "MIT" ]
null
null
null
#include <test.inline/test.inline.hpp> ETAIO_ABI( ETAio::testinline, (reqauth)(forward) )
22.75
50
0.747253
ETAIO
d58fba1c1f02154fdefdf22d4e656da6e9a640e8
432
cpp
C++
tests/compile_fail/unique_ptr_a_copy_assignment.cpp
rockdreamer/throwing_ptr
cd28490ebf9be803497a9fff733de62295d8288e
[ "BSL-1.0" ]
2
2020-12-11T15:46:26.000Z
2021-02-02T05:26:11.000Z
tests/compile_fail/unique_ptr_a_copy_assignment.cpp
rockdreamer/throwing_ptr
cd28490ebf9be803497a9fff733de62295d8288e
[ "BSL-1.0" ]
null
null
null
tests/compile_fail/unique_ptr_a_copy_assignment.cpp
rockdreamer/throwing_ptr
cd28490ebf9be803497a9fff733de62295d8288e
[ "BSL-1.0" ]
null
null
null
// Copyright Claudio Bantaloukas 2017-2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <throwing/unique_ptr.hpp> int main() { // cannot assign from unique_ptr to another (array ve...
28.8
63
0.668981
rockdreamer
d592ded8329d50b76c2ce483998f827b7b09db20
19,087
cpp
C++
libminifi/test/integration/StateTransactionalityTests.cpp
rustammendel/nifi-minifi-cpp
3a3615debb9129e7b954827debccaecc68b66006
[ "Apache-2.0" ]
113
2016-04-30T15:00:13.000Z
2022-03-26T20:42:58.000Z
libminifi/test/integration/StateTransactionalityTests.cpp
rustammendel/nifi-minifi-cpp
3a3615debb9129e7b954827debccaecc68b66006
[ "Apache-2.0" ]
688
2016-04-28T17:52:38.000Z
2022-03-29T07:58:05.000Z
libminifi/test/integration/StateTransactionalityTests.cpp
rustammendel/nifi-minifi-cpp
3a3615debb9129e7b954827debccaecc68b66006
[ "Apache-2.0" ]
104
2016-04-28T15:20:51.000Z
2022-03-01T13:39:20.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
30.835218
158
0.615864
rustammendel
d5933b6a37ae2ebf4b37174990b1abdcd3f6cebd
476
cpp
C++
Engine/Source/Developer/StandaloneRenderer/Private/ios/SlateOpenGLContext.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Developer/StandaloneRenderer/Private/ios/SlateOpenGLContext.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Developer/StandaloneRenderer/Private/ios/SlateOpenGLContext.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "StandaloneRendererPrivate.h" #include "OpenGL/SlateOpenGLRenderer.h" FSlateOpenGLContext::FSlateOpenGLContext() : WindowHandle(NULL) , Context(NULL) { } FSlateOpenGLContext::~FSlateOpenGLContext() { Destroy(); } void FSlateOpenGLContext::Initi...
16.413793
96
0.773109
PopCap
d593acf738b3cfb817b771b1122d7b155f37a0ea
17,597
cpp
C++
test/testEpoll.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
null
null
null
test/testEpoll.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
null
null
null
test/testEpoll.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
null
null
null
//MIT License //Copyright (c) 2020 bexoft GmbH (mail@bexoft.de) //Permission is hereby granted, free of charge, to any person obtaining a copy //of this software and associated documentation files (the "Software"), to deal //in the Software without restriction, including without limitation the rights //to use, copy, ...
39.455157
151
0.697278
mnaveedb
d59528abc769a6352fba83bf91ce430152d70e5e
665
hpp
C++
libs/fnd/iterator/include/bksge/fnd/iterator/default_sentinel.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/iterator/include/bksge/fnd/iterator/default_sentinel.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/iterator/include/bksge/fnd/iterator/default_sentinel.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file default_sentinel.hpp * * @brief default_sentinel の定義 * * @author myoukaku */ #ifndef BKSGE_FND_ITERATOR_DEFAULT_SENTINEL_HPP #define BKSGE_FND_ITERATOR_DEFAULT_SENTINEL_HPP #include <bksge/fnd/iterator/config.hpp> #if defined(BKSGE_USE_STD_RANGES_ITERATOR) namespace bksge { usi...
16.219512
50
0.741353
myoukaku
d5980d8a757aad45a69ab4414bf4ff972fc9efab
2,140
cc
C++
RecoLocalCalo/EcalRecAlgos/src/EcalGainRatiosGPU.cc
swiedenb/cmssw
f91490fd5861333c9be8b8a0ce74eb7816cb2d11
[ "Apache-2.0" ]
4
2020-06-27T23:27:21.000Z
2020-11-19T09:17:01.000Z
RecoLocalCalo/EcalRecAlgos/src/EcalGainRatiosGPU.cc
swiedenb/cmssw
f91490fd5861333c9be8b8a0ce74eb7816cb2d11
[ "Apache-2.0" ]
524
2018-01-29T15:50:45.000Z
2021-08-04T14:03:21.000Z
RecoLocalCalo/EcalRecAlgos/src/EcalGainRatiosGPU.cc
swiedenb/cmssw
f91490fd5861333c9be8b8a0ce74eb7816cb2d11
[ "Apache-2.0" ]
7
2018-02-19T11:17:13.000Z
2020-10-12T21:57:00.000Z
#include "RecoLocalCalo/EcalRecAlgos/interface/EcalGainRatiosGPU.h" #include "FWCore/Utilities/interface/typelookup.h" #include "HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h" EcalGainRatiosGPU::EcalGainRatiosGPU(EcalGainRatios const& values) : gain12Over6_(values.size()), gain6Over1_(values.size()) { /...
40.377358
103
0.633178
swiedenb
d59e02bcb06319d174002a7a7c0b41db85531c6f
1,992
cpp
C++
src/RaZor/Interface/Component/RigidBodyGroup.cpp
Razakhel/RaZor
e3cc7942f168a0df6cd08d8874e6390fd24e5b10
[ "MIT" ]
null
null
null
src/RaZor/Interface/Component/RigidBodyGroup.cpp
Razakhel/RaZor
e3cc7942f168a0df6cd08d8874e6390fd24e5b10
[ "MIT" ]
1
2021-01-13T01:35:45.000Z
2021-05-04T15:43:56.000Z
src/RaZor/Interface/Component/RigidBodyGroup.cpp
Razakhel/RaZor
e3cc7942f168a0df6cd08d8874e6390fd24e5b10
[ "MIT" ]
2
2021-01-13T01:36:02.000Z
2021-08-08T10:17:53.000Z
#include "RaZor/Interface/Component/RigidBodyGroup.hpp" #include "ui_RigidBodyComp.h" #include <RaZ/Entity.hpp> #include <RaZ/Physics/RigidBody.hpp> RigidBodyGroup::RigidBodyGroup(Raz::Entity& entity, AppWindow& appWindow) : ComponentGroup(entity, appWindow) { Ui::RigidBodyComp rigidBodyComp {}; rigidBodyComp.set...
39.058824
114
0.758032
Razakhel
d59e39d3b691fc245b55e0f03fe0dd7d165981b4
1,240
cpp
C++
StiGame/gui/TabItem.cpp
jordsti/stigame
6ac0ae737667b1c77da3ef5007f5c4a3a080045a
[ "MIT" ]
8
2015-02-03T20:23:49.000Z
2022-02-15T07:51:05.000Z
StiGame/gui/TabItem.cpp
jordsti/stigame
6ac0ae737667b1c77da3ef5007f5c4a3a080045a
[ "MIT" ]
null
null
null
StiGame/gui/TabItem.cpp
jordsti/stigame
6ac0ae737667b1c77da3ef5007f5c4a3a080045a
[ "MIT" ]
2
2017-02-13T18:04:00.000Z
2020-08-24T03:21:37.000Z
#include "TabItem.h" namespace StiGame { namespace Gui { TabItem::TabItem() : Item("TabItem") { tabName = "Untitled"; } TabItem::TabItem(std::string m_tabName) : Item("TabItem") { tabName = m_tabName; } TabItem::~TabItem() { } std::string TabItem::getTabName(void) { return tabName; } void TabItem::onClick(Po...
15.308642
63
0.612097
jordsti
d59e579eb0548c18a88c8e802a4a642410d7988b
379
hpp
C++
include/SSVOpenHexagon/Utils/FontHeight.hpp
duck-37/SSVOpenHexagon
f4af15149de5c9d3b843cbfe2abcd9b68a9876d1
[ "AFL-3.0" ]
409
2015-01-03T00:08:16.000Z
2021-11-29T05:42:06.000Z
include/SSVOpenHexagon/Utils/FontHeight.hpp
duck-37/SSVOpenHexagon
f4af15149de5c9d3b843cbfe2abcd9b68a9876d1
[ "AFL-3.0" ]
185
2015-01-03T14:52:31.000Z
2021-11-19T20:58:48.000Z
include/SSVOpenHexagon/Utils/FontHeight.hpp
duck-37/SSVOpenHexagon
f4af15149de5c9d3b843cbfe2abcd9b68a9876d1
[ "AFL-3.0" ]
74
2015-01-12T19:08:54.000Z
2021-11-22T23:43:59.000Z
// Copyright (c) 2013-2020 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: https://opensource.org/licenses/AFL-3.0 #pragma once namespace sf { class Text; } namespace hg::Utils { [[nodiscard]] float getFontHeight(sf::Text& font); [[nodiscard]] float getFontHeight(sf::Text& fon...
19.947368
79
0.707124
duck-37
d59fec959c24f6f6ab2cdad16e0476c01013e662
3,306
cpp
C++
Snakeware/features/bullet-manipulation/bullet-event.cpp
d3dx9tex/InsightCSGO
6c218e243e165ec2d171db8bf5f006f00c4a95c8
[ "Apache-2.0" ]
null
null
null
Snakeware/features/bullet-manipulation/bullet-event.cpp
d3dx9tex/InsightCSGO
6c218e243e165ec2d171db8bf5f006f00c4a95c8
[ "Apache-2.0" ]
null
null
null
Snakeware/features/bullet-manipulation/bullet-event.cpp
d3dx9tex/InsightCSGO
6c218e243e165ec2d171db8bf5f006f00c4a95c8
[ "Apache-2.0" ]
2
2021-06-29T14:28:21.000Z
2022-01-31T16:45:42.000Z
#include "bullet-event.h" #include "../../valve_sdk/interfaces/IVRenderBeams.h" #include "../../features/ragebot/ragebot.h" #include "../../features/ragebot/resolver/resolver.h" void BulletImpactEvent::FireGameEvent(IGameEvent *event) { if (!g_LocalPlayer || !event) return; static ConVar* sv_showimpacts = g_CVar->Fi...
26.031496
147
0.705687
d3dx9tex
d5a0f6c285e13541ba7d921041ca19929c4d822a
8,697
cpp
C++
wrappers/glcaps.cpp
moonlinux/apitrace
764c9786b2312b656ce0918dff73001c6a85f46f
[ "MIT" ]
1,723
2015-01-08T19:10:21.000Z
2022-03-31T16:41:40.000Z
wrappers/glcaps.cpp
moonlinux/apitrace
764c9786b2312b656ce0918dff73001c6a85f46f
[ "MIT" ]
471
2015-01-02T15:02:34.000Z
2022-03-26T17:54:10.000Z
wrappers/glcaps.cpp
moonlinux/apitrace
764c9786b2312b656ce0918dff73001c6a85f46f
[ "MIT" ]
380
2015-01-22T19:06:32.000Z
2022-03-25T02:20:39.000Z
/************************************************************************** * * Copyright 2011 Jose Fonseca * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software wit...
27.609524
105
0.634012
moonlinux
d5a29ee1fc53aa30517ae804164995c2b4aec658
503
cpp
C++
UVa Online Judge/10699 - Count the factors.cpp
SamanKhamesian/ACM-ICPC-Problems
c68c04bee4de9ba9f30e665cd108484e0fcae4d7
[ "Apache-2.0" ]
2
2019-03-19T23:59:48.000Z
2019-03-21T20:13:12.000Z
UVa Online Judge/10699 - Count the factors.cpp
SamanKhamesian/ACM-ICPC-Problems
c68c04bee4de9ba9f30e665cd108484e0fcae4d7
[ "Apache-2.0" ]
null
null
null
UVa Online Judge/10699 - Count the factors.cpp
SamanKhamesian/ACM-ICPC-Problems
c68c04bee4de9ba9f30e665cd108484e0fcae4d7
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <cmath> using namespace std; #define MAX 1000001 vector <int> numDiff(MAX, 0); void numDif() { for (int i = 2; i < MAX ; ++i) { if (numDiff[i] == 0) { for (int j = i; j < MAX; j += i) { ...
13.972222
49
0.417495
SamanKhamesian
d5a4593ad9a110c8963cfd8b84d10826582b06fe
81,624
cpp
C++
src/mbgl/shaders/source.cpp
ebe-forks/qtlocation-mapboxgl
952c4131e6a46fd0fab2208379dc340fb02924e3
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/shaders/source.cpp
ebe-forks/qtlocation-mapboxgl
952c4131e6a46fd0fab2208379dc340fb02924e3
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/shaders/source.cpp
ebe-forks/qtlocation-mapboxgl
952c4131e6a46fd0fab2208379dc340fb02924e3
[ "BSL-1.0", "Apache-2.0" ]
1
2019-09-02T19:04:19.000Z
2019-09-02T19:04:19.000Z
// NOTE: DO NOT CHANGE THIS FILE. IT IS AUTOMATICALLY GENERATED. #include <mbgl/shaders/source.hpp> #include <mbgl/util/compression.hpp> #include <cstdint> namespace mbgl { namespace shaders { const char* source() { static const uint8_t compressed[] = { 0x78, 0xda, 0xed, 0x7d, 0x6b, 0x73, 0x1b, 0x37, ...
55.564329
131
0.572283
ebe-forks
d5a94e747658932f35f740260bd43d6bb43d329c
10,282
cpp
C++
tcs/csp_solver_tou_block_schedules.cpp
JordanMalan/ssc
cadb7a9f3183d63c600b5c33f53abced35b6b319
[ "BSD-3-Clause" ]
61
2017-08-09T15:10:59.000Z
2022-02-15T21:45:31.000Z
tcs/csp_solver_tou_block_schedules.cpp
JordanMalan/ssc
cadb7a9f3183d63c600b5c33f53abced35b6b319
[ "BSD-3-Clause" ]
462
2017-07-31T21:26:46.000Z
2022-03-30T22:53:50.000Z
tcs/csp_solver_tou_block_schedules.cpp
JordanMalan/ssc
cadb7a9f3183d63c600b5c33f53abced35b6b319
[ "BSD-3-Clause" ]
73
2017-08-24T17:39:31.000Z
2022-03-28T08:37:47.000Z
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met : 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the...
34.619529
188
0.71844
JordanMalan
d5a9ae7c2b9029df289fdd0f8063e3db2eee9cd7
360
hpp
C++
include/turbo/DebugImgui.hpp
mariusvn/turbo-engine
63cc2b76bc1aff7de9655916553a03bd768f5879
[ "MIT" ]
2
2021-02-12T13:05:02.000Z
2021-02-22T14:25:00.000Z
include/turbo/DebugImgui.hpp
mariusvn/turbo-engine
63cc2b76bc1aff7de9655916553a03bd768f5879
[ "MIT" ]
null
null
null
include/turbo/DebugImgui.hpp
mariusvn/turbo-engine
63cc2b76bc1aff7de9655916553a03bd768f5879
[ "MIT" ]
null
null
null
#ifndef __TURBO_ENGINE_DEBUGIMGUI_HPP__ #define __TURBO_ENGINE_DEBUGIMGUI_HPP__ #ifdef __TURBO_USE_IMGUI__ #include <imgui/imgui.h> #include <imgui/imgui_impl_allegro5.h> #include "debug_menus/EngineDebug.hpp" #include "debug_menus/SceneManagerDebug.hpp" #define ONLYIMGUI(expr) expr; #else ...
18
48
0.761111
mariusvn
d5adfdc3e9422b4f86b3634a34be5d519d6a6b9f
1,973
cpp
C++
lib/build_tree.cpp
LC-John/Py-CParser
c9a0b7b06a5058e0b223f170aa3b8e540f0c0228
[ "MIT" ]
3
2019-09-20T09:01:32.000Z
2021-08-12T06:02:34.000Z
lib/build_tree.cpp
LC-John/Py-CParser
c9a0b7b06a5058e0b223f170aa3b8e540f0c0228
[ "MIT" ]
null
null
null
lib/build_tree.cpp
LC-John/Py-CParser
c9a0b7b06a5058e0b223f170aa3b8e540f0c0228
[ "MIT" ]
1
2021-08-12T06:02:41.000Z
2021-08-12T06:02:41.000Z
#include "y.tab.h" #include <cstdlib> #include <cstdio> #include <cstring> #include "tree.h" using namespace std; extern FILE* yyin; extern FILE* yyout; typedef struct yy_buffer_state * YY_BUFFER_STATE; extern YY_BUFFER_STATE yy_scan_string(const char * str); extern void yy_delete_buffer(YY_BUFFER_STATE buffer); exte...
21.922222
67
0.563102
LC-John
d5ae2e33fe3b711ff11ff074a86d07ac27f21c7b
630
cpp
C++
CSP-Training/1/18-rectangle.cpp
cyp0633/homework
c4a134aa0c2e38e1a24fab178b42a7a1a0f3cd25
[ "MIT" ]
null
null
null
CSP-Training/1/18-rectangle.cpp
cyp0633/homework
c4a134aa0c2e38e1a24fab178b42a7a1a0f3cd25
[ "MIT" ]
null
null
null
CSP-Training/1/18-rectangle.cpp
cyp0633/homework
c4a134aa0c2e38e1a24fab178b42a7a1a0f3cd25
[ "MIT" ]
1
2020-12-14T08:52:40.000Z
2020-12-14T08:52:40.000Z
//三角形的面积 #include <cmath> #include <cstdio> #include <iostream> using namespace std; int main() { double x1, y1, x2, y2, x3, y3, s, a, b, c, A; while (scanf("%lf%lf%lf%lf%lf%lf", &x1, &y1, &x2, &y2, &x3, &y3)) { if (x1 == 0 && y1 == 0 && x2 == 0 && y2 == 0 && x3 == 0 && y3 == 0) { ...
26.25
75
0.396825
cyp0633
d5b125ff62b3d5f93770de5b5a77f848ee97b388
7,383
cpp
C++
Competitive Programming/avl insertion.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
Competitive Programming/avl insertion.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
Competitive Programming/avl insertion.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
// C++ program for the above approach #include <bits/stdc++.h> using namespace std; // AVL tree node struct AVLwithparent { struct AVLwithparent* left; struct AVLwithparent* right; int key; struct AVLwithparent* par; int height; }; // Function to update the height of // a node according to its chi...
22.647239
51
0.54165
shreejitverma
d5b1c2b770abf1b77670507f804e134221f9eeb4
2,538
cc
C++
content/browser/compute_pressure/cpuid_base_frequency_parser.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
content/browser/compute_pressure/cpuid_base_frequency_parser.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
content/browser/compute_pressure/cpuid_base_frequency_parser.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/compute_pressure/cpuid_base_frequency_parser.h" #include <stdint.h> #include <limits> #include "base/check_op.h" #include "ba...
33.84
80
0.69937
zealoussnow
d5b3721c4eac2e2bdb250f4de4c4da0c83f3ff3b
520
cpp
C++
native/graphics/opengl/desktop/linux/platform_graphics.cpp
49View/event_horizon
9b78c9318e1a785384ab01eb4d90e79f0192c6ad
[ "BSD-3-Clause" ]
null
null
null
native/graphics/opengl/desktop/linux/platform_graphics.cpp
49View/event_horizon
9b78c9318e1a785384ab01eb4d90e79f0192c6ad
[ "BSD-3-Clause" ]
7
2021-09-02T05:58:24.000Z
2022-02-27T07:06:43.000Z
native/graphics/opengl/desktop/linux/platform_graphics.cpp
49View/event_horizon
9b78c9318e1a785384ab01eb4d90e79f0192c6ad
[ "BSD-3-Clause" ]
2
2020-02-06T02:05:15.000Z
2021-11-25T11:35:14.000Z
#include "../../../platform_graphics.hpp" #include "../../gl_headers.hpp" #include "core/util.h" void initGraphics() { // glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4); // glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 1); // glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); // glfwWindowHint(GLFW_OPENGL_FOR...
26
65
0.734615
49View
d5b546d2d04fed03d0c5ab9d67fdeffe41ffb07f
3,279
cpp
C++
source/rendercore-examples/source/GltfExampleRenderer.cpp
sbusch42/rendercore
8d0bd316ff23f8f6596a07d8a3ce568049ad08d2
[ "MIT" ]
1
2019-02-12T16:00:45.000Z
2019-02-12T16:00:45.000Z
source/rendercore-examples/source/GltfExampleRenderer.cpp
sbusch42/rendercore
8d0bd316ff23f8f6596a07d8a3ce568049ad08d2
[ "MIT" ]
null
null
null
source/rendercore-examples/source/GltfExampleRenderer.cpp
sbusch42/rendercore
8d0bd316ff23f8f6596a07d8a3ce568049ad08d2
[ "MIT" ]
null
null
null
#include <rendercore-examples/GltfExampleRenderer.h> #include <cppassist/memory/make_unique.h> #include <glbinding/gl/gl.h> #include <rendercore/rendercore.h> #include <rendercore-gltf/GltfConverter.h> #include <rendercore-gltf/GltfLoader.h> #include <rendercore-gltf/Asset.h> using namespace rendercore::opengl; ...
28.513043
126
0.676426
sbusch42
d5b8088798fa7de545854f74e24636c75d645472
3,536
cpp
C++
evaporative_air_cooler/evaporative_air_cooler_code/src/main.cpp
hhk7734/avr_proj
cb0c5c53af7eb8a0924f8c483a1a010be4b92636
[ "MIT" ]
null
null
null
evaporative_air_cooler/evaporative_air_cooler_code/src/main.cpp
hhk7734/avr_proj
cb0c5c53af7eb8a0924f8c483a1a010be4b92636
[ "MIT" ]
null
null
null
evaporative_air_cooler/evaporative_air_cooler_code/src/main.cpp
hhk7734/avr_proj
cb0c5c53af7eb8a0924f8c483a1a010be4b92636
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <BlynkSimpleSerialBLE.h> #include "LOT_adc.h" #include "LOT_ntc103f397.h" #define SYSTEM_STATE_VIRTUAL_PIN V0 #define FORCED_FAN_ON_OFF_VIRTUAL_PIN V1 #define NTC103F397_VIRTUAL_PIN V2 #define THRESHOLD_TEMPERATURE_VIRTUAL_PIN V3 #define MOTION_STATE_VIRTUAL_PIN V4 #define MAX_PUSH_TIME...
23.417219
117
0.606335
hhk7734
d5bdc08023633e1ad70c97907b5e60dfe585edb3
18,848
cpp
C++
src/mlapack/Rlaed4.cpp
JaegerP/gmpack
1396fda32177b1517cb6c176543025c3336c8c21
[ "BSD-2-Clause" ]
null
null
null
src/mlapack/Rlaed4.cpp
JaegerP/gmpack
1396fda32177b1517cb6c176543025c3336c8c21
[ "BSD-2-Clause" ]
null
null
null
src/mlapack/Rlaed4.cpp
JaegerP/gmpack
1396fda32177b1517cb6c176543025c3336c8c21
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2008-2010 * Nakata, Maho * All rights reserved. * * $Id: Rlaed4.cpp,v 1.7 2010/08/07 04:48:32 nakatamaho Exp $ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributi...
26.887304
106
0.524194
JaegerP
d5c082e3fe50e130b11d22dbe777878e19d46a82
2,098
cpp
C++
Source/MLApp/MLReporter.cpp
afofo/madronalib
14816a124c8d3a225540ffb408e602aa024fdb4b
[ "MIT" ]
null
null
null
Source/MLApp/MLReporter.cpp
afofo/madronalib
14816a124c8d3a225540ffb408e602aa024fdb4b
[ "MIT" ]
null
null
null
Source/MLApp/MLReporter.cpp
afofo/madronalib
14816a124c8d3a225540ffb408e602aa024fdb4b
[ "MIT" ]
null
null
null
// MadronaLib: a C++ framework for DSP applications. // Copyright (c) 2013 Madrona Labs LLC. http://www.madronalabs.com // Distributed under the MIT license: http://madrona-labs.mit-license.org/ #include "MLReporter.h" // -------------------------------------------------------------------------------- #pragma mark p...
24.114943
86
0.638227
afofo
d5c25e539cbb9f6f38b23b843fb68da4f6c5dfe7
68,739
cpp
C++
src/louischessx/chessboard_eval.cpp
louishobson/louischessx
cc97e4ef4b716bfa9d83435f1f0cb8512bd1c4f4
[ "MIT" ]
null
null
null
src/louischessx/chessboard_eval.cpp
louishobson/louischessx
cc97e4ef4b716bfa9d83435f1f0cb8512bd1c4f4
[ "MIT" ]
null
null
null
src/louischessx/chessboard_eval.cpp
louishobson/louischessx
cc97e4ef4b716bfa9d83435f1f0cb8512bd1c4f4
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Louis Hobson <louis-hobson@hotmail.co.uk>. All Rights Reserved. * * Distributed under MIT licence as a part of the Chess C++ library. * For details, see: https://github.com/louishobson/Chess/blob/master/LICENSE * * src/chess/chessboard_eval.cpp * * Implementation of evaluation methods...
55.079327
264
0.672704
louishobson
d5c3c99bc81144bd23911bae5e557daedfe7d844
1,125
cpp
C++
src/bt-box2ddemo/app-src/level/LevelIO.cpp
puretekniq/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
10
2015-04-07T22:23:31.000Z
2016-03-06T11:48:32.000Z
src/bt-box2ddemo/app-src/level/LevelIO.cpp
robdoesstuff/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
3
2015-05-17T10:45:48.000Z
2016-07-29T18:34:53.000Z
src/bt-box2ddemo/app-src/level/LevelIO.cpp
puretekniq/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
4
2015-05-03T03:00:48.000Z
2016-03-03T12:49:01.000Z
/* * LevelIO.cpp * * Created on: Dec 1, 2010 * Author: rgreen */ #include "LevelIO.h" #include <batterytech/platform/platformgeneral.h> #include <batterytech/Logger.h> #include "../gameobject/GameObjectFactory.h" #include <batterytech/util/TextFileUtil.h> #include <string.h> LevelIO::LevelIO(...
21.226415
56
0.664
puretekniq
d5c3dd1fc316a4c692342e0c989d405ab58e66af
536
hpp
C++
src/core/primitives/mc-loader/QuadMaterial.hpp
chaosink/tungsten
88ea02044dbaf20472a8173b6752460b50c096d8
[ "Apache-2.0", "Unlicense" ]
1,655
2015-01-12T13:05:37.000Z
2022-03-31T13:37:57.000Z
src/core/primitives/mc-loader/QuadMaterial.hpp
chaosink/tungsten
88ea02044dbaf20472a8173b6752460b50c096d8
[ "Apache-2.0", "Unlicense" ]
65
2015-01-13T08:34:28.000Z
2021-06-08T05:07:58.000Z
src/core/primitives/mc-loader/QuadMaterial.hpp
chaosink/tungsten
88ea02044dbaf20472a8173b6752460b50c096d8
[ "Apache-2.0", "Unlicense" ]
190
2015-01-12T14:53:05.000Z
2022-03-30T17:30:00.000Z
#ifndef QUADMATERIAL_HPP_ #define QUADMATERIAL_HPP_ #include "textures/BitmapTexture.hpp" #include "bsdfs/Bsdf.hpp" #include "math/Box.hpp" #include "math/Vec.hpp" #include <memory> namespace Tungsten { namespace MinecraftLoader { struct QuadMaterial { std::shared_ptr<Bsdf> bsdf; std::shared_ptr<Bsdf> emi...
16.242424
44
0.738806
chaosink
d5c43d44aad51a86cfa64c77c46376a790c7b0f5
371
cpp
C++
infer/tests/codetoanalyze/c_cpp/pulse/caller_in_cpp.cpp
livinlife6751/infer
8a234f1e9fa9ef247f101e452e68cc2c99c91c98
[ "MIT" ]
14,499
2015-06-11T16:00:28.000Z
2022-03-31T23:43:54.000Z
infer/tests/codetoanalyze/c_cpp/pulse/caller_in_cpp.cpp
cottamz/infer
859d69c8bd30e3fc02a9394b2da9da1fe5368993
[ "MIT" ]
1,529
2015-06-11T16:55:30.000Z
2022-03-27T15:59:46.000Z
infer/tests/codetoanalyze/c_cpp/pulse/caller_in_cpp.cpp
cottamz/infer
859d69c8bd30e3fc02a9394b2da9da1fe5368993
[ "MIT" ]
2,225
2015-06-11T16:36:10.000Z
2022-03-31T05:16:59.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <stdlib.h> #include "callee_in_c.h" void call_set_field_three_Ok(int* p) { struct s x; x.a = 5; set_field_three(&x)...
18.55
66
0.638814
livinlife6751
d5c613037da92a42adefc3e03b2cf4a88879e4d2
16,129
cpp
C++
fs/fat32/tests/fat32_test/main.cpp
kms1212/OpenFSL
476bb59bce6b451ef39b2dbfef85a814218bce80
[ "BSD-3-Clause" ]
3
2021-05-27T13:12:28.000Z
2022-03-08T19:04:49.000Z
fs/fat32/tests/fat32_test/main.cpp
kms1212/OpenFSL
476bb59bce6b451ef39b2dbfef85a814218bce80
[ "BSD-3-Clause" ]
3
2021-06-15T14:11:11.000Z
2021-08-17T02:03:07.000Z
fs/fat32/tests/fat32_test/main.cpp
kms1212/OpenFSL
476bb59bce6b451ef39b2dbfef85a814218bce80
[ "BSD-3-Clause" ]
3
2021-06-15T14:05:08.000Z
2022-02-22T08:13:10.000Z
/* Copyright (c) 2021. kms1212(Minsu Kwon) This file is part of OpenFSL. OpenFSL and its source code is published over BSD 3-Clause License. See the BSD-3-Clause for more details. <https://raw.githubusercontent.com/kms1212/OpenFSL/main/LICENSE> */ #include <cstdlib> #include <cstring> #include <iostream> #include <...
35.139434
83
0.545601
kms1212
d5cac4189391d3a5ab3edbd8333094c6bd8426bf
320
hpp
C++
include/game/texture.hpp
CoryNull/gold
b990ec6f874434b6e46f838213b5f4936aa86792
[ "Apache-2.0" ]
null
null
null
include/game/texture.hpp
CoryNull/gold
b990ec6f874434b6e46f838213b5f4936aa86792
[ "Apache-2.0" ]
null
null
null
include/game/texture.hpp
CoryNull/gold
b990ec6f874434b6e46f838213b5f4936aa86792
[ "Apache-2.0" ]
null
null
null
#pragma once #include "file.hpp" #include "types.hpp" namespace gold { struct texture : public file { protected: static object& getPrototype(); public: texture(); texture(file copy); texture(path fpath); texture(binary data); var load(list args = {}); var bind(list args); }; } // namespace gold
16
32
0.6625
CoryNull
d5cdf8882529fd5bc4327631f446d7997755b886
959
hh
C++
gneis-geant4/private-include/isnp/facility/component/SpallationTargetMessenger.hh
andrey-nakin/gneis-geant4
6def0304b5664a5dafdcfd58344ad2006ef44d62
[ "MIT" ]
null
null
null
gneis-geant4/private-include/isnp/facility/component/SpallationTargetMessenger.hh
andrey-nakin/gneis-geant4
6def0304b5664a5dafdcfd58344ad2006ef44d62
[ "MIT" ]
null
null
null
gneis-geant4/private-include/isnp/facility/component/SpallationTargetMessenger.hh
andrey-nakin/gneis-geant4
6def0304b5664a5dafdcfd58344ad2006ef44d62
[ "MIT" ]
null
null
null
#ifndef isnp_facility_component_SpallationTargetMessenger_hh #define isnp_facility_component_SpallationTargetMessenger_hh #include <memory> #include <G4UImessenger.hh> #include <G4UIdirectory.hh> #include <G4UIcmdWithABool.hh> #include <G4UIcmdWith3VectorAndUnit.hh> #include "isnp/facility/component/SpallationTarget....
22.302326
75
0.828989
andrey-nakin
d5cff4d5527fecb5bd854b98d73ceae25be84698
136
cpp
C++
main.cpp
Hiro-KE/RayTracer
d30b3ef794df3d31c42e8d6e99dea640b413c417
[ "MIT" ]
null
null
null
main.cpp
Hiro-KE/RayTracer
d30b3ef794df3d31c42e8d6e99dea640b413c417
[ "MIT" ]
null
null
null
main.cpp
Hiro-KE/RayTracer
d30b3ef794df3d31c42e8d6e99dea640b413c417
[ "MIT" ]
null
null
null
#include <RayTracer/render.h> int main(int, char**) { render Render; Render.init(); Render.process(); return 0; }
13.6
29
0.580882
Hiro-KE
d5d1d7e8647555dec0c3e34673499e7488585d15
4,024
cpp
C++
Medusa/Medusa/Graphics/Buffer/IGraphicsBuffer.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2019-04-22T09:09:50.000Z
2019-04-22T09:09:50.000Z
Medusa/Medusa/Graphics/Buffer/IGraphicsBuffer.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
null
null
null
Medusa/Medusa/Graphics/Buffer/IGraphicsBuffer.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2021-06-30T14:08:03.000Z
2021-06-30T14:08:03.000Z
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #include "MedusaPreCompiled.h" #include "Graphics/Buffer/IGraphicsBuffer.h" #include "Graphics/Render/Render.h" #include "Graphics/State/ArrayBufferRenderState....
24.095808
167
0.730119
JamesLinus
d5d24a29410f8602d9b09664fa30cb7009576dcf
869
hpp
C++
week4/Person/Person.hpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
1
2019-01-06T22:36:01.000Z
2019-01-06T22:36:01.000Z
week4/Person/Person.hpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
week4/Person/Person.hpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
/********************************************************************* ** Author: Wei-Chien Hsu ** Date: 04/24/18 ** Description: A class called Person that has two data members - a string variable called name and a double variable called age. It should have a co...
31.035714
89
0.50748
WeiChienHsu
d5d2b1114c1f6d5a35f3e3d7962cc2699fb8e67c
473
cpp
C++
src/Commands/SelVertexCmd.cpp
PlayMe-Martin/XiMapper
1926cbd1d13c771d9d60d0d5eb343e059067e0f0
[ "MIT" ]
410
2015-02-04T22:26:32.000Z
2022-03-29T00:00:13.000Z
src/Commands/SelVertexCmd.cpp
victorscaff/ofxPiMapper
e79e88e21891abded8388520d4e7f5e6868bfbb7
[ "MIT" ]
162
2015-01-11T16:09:39.000Z
2022-03-14T11:24:48.000Z
src/Commands/SelVertexCmd.cpp
victorscaff/ofxPiMapper
e79e88e21891abded8388520d4e7f5e6868bfbb7
[ "MIT" ]
100
2015-02-09T06:42:31.000Z
2022-01-01T01:40:36.000Z
#include "SelVertexCmd.h" namespace ofx { namespace piMapper { SelVertexCmd::SelVertexCmd(SurfaceManager * sm, int i){ _surfaceManager = sm; _newVertexIndex = i; } void SelVertexCmd::exec(){ _prevVertexIndex = _surfaceManager->getSelectedVertexIndex(); _surfaceManager->selectVertex(_newVertexIndex); } void SelV...
19.708333
62
0.761099
PlayMe-Martin
d5d498f2c2979ef8d9a980b037d10cf6b0d1031e
4,323
cpp
C++
demo/sireen_example/src/coding_image_demo.cpp
Jetpie/SiReen
00365023117bec88391bfb37d9549fdca75ac10b
[ "BSD-2-Clause" ]
4
2015-03-18T15:00:38.000Z
2016-01-04T13:09:59.000Z
demo/sireen_example/src/coding_image_demo.cpp
Jetpie/SiReen
00365023117bec88391bfb37d9549fdca75ac10b
[ "BSD-2-Clause" ]
null
null
null
demo/sireen_example/src/coding_image_demo.cpp
Jetpie/SiReen
00365023117bec88391bfb37d9549fdca75ac10b
[ "BSD-2-Clause" ]
null
null
null
#include <unistd.h> #include <ctime> #include <vector> #include "sireen/file_utility.hpp" #include "sireen/image_feature_extract.hpp" /* * Main */ int main(int argc, char * argv[]) { /********************************************* * Step 0 - optget to receive input option *****************************...
30.020833
74
0.442979
Jetpie
d5d607bcc74262633493aea149afe1accf9e6af5
4,854
cpp
C++
ZeroLibraries/Common/String/StringUtility.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
1
2022-03-26T21:08:19.000Z
2022-03-26T21:08:19.000Z
ZeroLibraries/Common/String/StringUtility.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
ZeroLibraries/Common/String/StringUtility.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// /// \file StringUtility.cpp /// /// /// Authors: Chris Peters /// Copyright 2013, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #include "Precompiled.hpp" ...
26.380435
138
0.568809
jodavis42
d5d6f4da384be88e5094adaa636d8ce75426255a
8,745
cc
C++
Geometry/GEMGeometry/test/ME0GeometryAnalyzer10EtaPart.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Geometry/GEMGeometry/test/ME0GeometryAnalyzer10EtaPart.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Geometry/GEMGeometry/test/ME0GeometryAnalyzer10EtaPart.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
/** Derived from DTGeometryAnalyzer by Nicola Amapane * * \author M. Maggi - INFN Bari */ #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/Fra...
34.565217
153
0.605718
pasmuss
d5d8e7be9d5306c7eb0f2aef9fba0c635d0935ca
628
cpp
C++
Polymorphism/player.cpp
LegendaryyDoc/Constructors-and-Decuns
d3469ad46ff88a7d33dee1f50a5f49ee4b99f208
[ "MIT" ]
null
null
null
Polymorphism/player.cpp
LegendaryyDoc/Constructors-and-Decuns
d3469ad46ff88a7d33dee1f50a5f49ee4b99f208
[ "MIT" ]
null
null
null
Polymorphism/player.cpp
LegendaryyDoc/Constructors-and-Decuns
d3469ad46ff88a7d33dee1f50a5f49ee4b99f208
[ "MIT" ]
null
null
null
#include "player.h" #include "raylib.h" #include <iostream> bool player::moveTo(const Vector2 & dest) { std::cout << "player moving" << std::endl; return false; } void player::takeDamage(int damage) { if (health >= 0) { health -= damage; death = false; } else { death = true; } } player::player(const s...
13.361702
48
0.636943
LegendaryyDoc
d5daa1639a8aecc7956364b0221bddbdf2321648
527
cpp
C++
BOJ_CPP/10269.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/10269.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/10269.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std; int main() { fastio; int C, n, a, b, c, i; long long m = 0; cin >> C >> n; for (i = 1; i <= n; ++i) { cin >> a >> b >> c; if (m < a) { break; } ...
20.269231
63
0.371917
tnsgh9603
d5e13c87da2f8607dae0800dc215083e9e513939
3,386
cpp
C++
catkin_ws/src/srrg2_core/srrg2_core/src/misc_tests/test_platform_synthetic_joints.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
5
2020-03-11T14:36:13.000Z
2021-09-09T09:01:15.000Z
catkin_ws/src/srrg2_core/srrg2_core/src/misc_tests/test_platform_synthetic_joints.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
1
2020-06-07T17:25:04.000Z
2020-07-15T07:36:10.000Z
catkin_ws/src/srrg2_core/srrg2_core/src/misc_tests/test_platform_synthetic_joints.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
2
2020-11-30T08:17:53.000Z
2021-06-19T05:07:07.000Z
#include <iostream> #include "../srrg_data_structures/platform.h" #include "srrg_geometry/geometry3d.h" using namespace srrg2_core; int32_t main() { //ds check events JointEventPtr event_t0(new JointEvent(0, "j0", 0)); JointEventPtr event_t1(new JointEvent(1, "j0", 100)); JointEventPtr event_t2(new JointEve...
44.552632
122
0.65446
laaners
d5e1ecf6caa304a4c100ccf67141b1d65b14af47
3,259
cpp
C++
back-end/user_manage_rest_9098/user_manage/user_manage/src/user_manage.cpp
marklion/poker_game
1efad6ac3da333df714c88bee7e4a261ac594f5a
[ "BSD-2-Clause" ]
3
2020-07-09T11:31:46.000Z
2020-12-15T03:02:12.000Z
back-end/user_manage_rest_9098/user_manage/user_manage/src/user_manage.cpp
marklion/poker_game
1efad6ac3da333df714c88bee7e4a261ac594f5a
[ "BSD-2-Clause" ]
2
2022-02-19T06:08:20.000Z
2022-02-27T09:46:31.000Z
back-end/user_manage_rest_9098/user_manage/user_manage/src/user_manage.cpp
marklion/poker_game
1efad6ac3da333df714c88bee7e4a261ac594f5a
[ "BSD-2-Clause" ]
null
null
null
// This file generated by ngrestcg // For more information, please visit: https://github.com/loentar/ngrest #include "user_manage.h" #include "random_user.h" #include "db_sqlite_user.h" #include "Base64.h" #include "picosha2.h" #include <hiredis/hiredis.h> register_resp user_manage::proc_register(const register_req &...
24.689394
100
0.614299
marklion
d5e289349d1dce2bd1ec9e1733740d6b97b0be47
3,339
cpp
C++
applications/DEMApplication/custom_processes/automatic_dt_process.cpp
ma6yu/Kratos
02380412f8a833a2cdda6791e1c7f9c32e088530
[ "BSD-4-Clause" ]
null
null
null
applications/DEMApplication/custom_processes/automatic_dt_process.cpp
ma6yu/Kratos
02380412f8a833a2cdda6791e1c7f9c32e088530
[ "BSD-4-Clause" ]
null
null
null
applications/DEMApplication/custom_processes/automatic_dt_process.cpp
ma6yu/Kratos
02380412f8a833a2cdda6791e1c7f9c32e088530
[ "BSD-4-Clause" ]
null
null
null
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: Ignasi de Pouplana // // Appl...
45.121622
206
0.649596
ma6yu
d5e45ed1fc68deebb20f0162226cd4018ecb3438
4,593
hxx
C++
admin/netui/common/h/bltdlgxp.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/common/h/bltdlgxp.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/common/h/bltdlgxp.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* bltdlgxp.hxx Expandable dialog class declaration. Thi...
34.533835
76
0.645548
npocmaka
d5e4eaa1f195ed86fbbc103d55e4b37d79d2df24
5,015
hpp
C++
Sources/Models/Model.hpp
LukePrzyb/Acid
ba7da3ffcc08791f047ec0f15317b3e0ba971850
[ "MIT" ]
null
null
null
Sources/Models/Model.hpp
LukePrzyb/Acid
ba7da3ffcc08791f047ec0f15317b3e0ba971850
[ "MIT" ]
null
null
null
Sources/Models/Model.hpp
LukePrzyb/Acid
ba7da3ffcc08791f047ec0f15317b3e0ba971850
[ "MIT" ]
null
null
null
#pragma once #include "Maths/Vector3.hpp" #include "Graphics/Buffers/Buffer.hpp" #include "Resources/Resource.hpp" namespace acid { template<typename Base> class ModelFactory { public: using TCreateReturn = std::shared_ptr<Base>; using TCreateMethodNode = std::function<TCreateReturn(const Node &)>; using TRegist...
30.210843
109
0.714656
LukePrzyb
d5e988104d12cb3eb25053a7b6090f42e28be3d8
26,239
cc
C++
src/GraphTraverser.cc
berselius/tycho2
b57f0aeeb861f34139577d386f18e59070ea2eca
[ "Unlicense" ]
11
2017-07-26T16:08:58.000Z
2021-03-02T14:49:32.000Z
src/GraphTraverser.cc
berselius/tycho2
b57f0aeeb861f34139577d386f18e59070ea2eca
[ "Unlicense" ]
3
2017-07-31T15:51:31.000Z
2021-06-08T21:16:25.000Z
src/GraphTraverser.cc
berselius/tycho2
b57f0aeeb861f34139577d386f18e59070ea2eca
[ "Unlicense" ]
14
2017-06-21T20:27:21.000Z
2021-06-24T18:53:11.000Z
/* Copyright (c) 2016, Los Alamos National Security, LLC All rights reserved. Copyright 2016. Los Alamos National Security, LLC. This software was produced under U.S. Government contract DE-AC52-06NA25396 for Los Alamos National Laboratory (LANL), which is operated by Los Alamos National Security, LLC for the U.S. ...
34.389253
84
0.548725
berselius
d5e9f464b23a5a84da88b2d7b6ac621cb6f56c51
5,131
hpp
C++
expected.hpp
KholdStare/plumbingplusplus
cced5c76e6d9e8a1b3467b45c3bf36e14e57734c
[ "BSL-1.0" ]
10
2015-01-26T16:30:04.000Z
2022-03-16T14:37:31.000Z
expected.hpp
KholdStare/plumbingplusplus
cced5c76e6d9e8a1b3467b45c3bf36e14e57734c
[ "BSL-1.0" ]
null
null
null
expected.hpp
KholdStare/plumbingplusplus
cced5c76e6d9e8a1b3467b45c3bf36e14e57734c
[ "BSL-1.0" ]
null
null
null
// This code is put in the public domain by Andrei Alexandrescu // See http://www.reddit.com/r/programming/comments/14m1tc/andrei_alexandrescu_systematic_error_handling_in/c7etk47 // Some edits by Alexander Kondratskiy. #ifndef EXPECTED_HPP_TN6DJT51 #define EXPECTED_HPP_TN6DJT51 #include <stdexcept> #include <algorit...
21.834043
115
0.603391
KholdStare
d5eb345505ba75f1c5e48d9d375bb67bc53df562
666
cpp
C++
05. Searching/05 Count 1s in Sorted Binary Array/05b count 1s in sorted binary array.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
190
2021-02-10T17:01:01.000Z
2022-03-20T00:21:43.000Z
05. Searching/05 Count 1s in Sorted Binary Array/05b count 1s in sorted binary array.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
null
null
null
05. Searching/05 Count 1s in Sorted Binary Array/05b count 1s in sorted binary array.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
27
2021-03-26T11:35:15.000Z
2022-03-06T07:34:54.000Z
#include<bits/stdc++.h> using namespace std; /* problem is similar as finding first occurrence because array is binary and sorted so, if we find first occurrence of 1, then subtract it from last index to find count. */ int count1s(int a[], int n)//time comp. O(logn) { int low = 0; int high = n - 1; while (low <= ...
14.478261
55
0.545045
VivekYadav105
d5ed8afbb7ae6ba5c91700484eaab897dc2e03ee
1,040
cpp
C++
10591 Happy Number.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
10591 Happy Number.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
10591 Happy Number.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> using namespace std; enum Status {Unchecked, Checking, IsHappy, NotHappy }; const int HIGHEST = 1000; Status numbers[HIGHEST]; inline int nextNum(int num) { int ret = 0; while (num) { ret += (num % 10) * (num % 10); num /= 10; } return ret; } bool isHappy(in...
17.333333
79
0.4875
zihadboss
d5f10b52a30c096b9f003eb11609a265900325f0
3,183
cpp
C++
tests/bin2llvmir/utils/simplifycfg_tests.cpp
mehrdad-shokri/retdec
a82f16e97b163afe789876e0a819489c5b9b358e
[ "MIT", "Zlib", "BSD-3-Clause" ]
4,816
2017-12-12T18:07:09.000Z
2019-04-17T02:01:04.000Z
tests/bin2llvmir/utils/simplifycfg_tests.cpp
mehrdad-shokri/retdec
a82f16e97b163afe789876e0a819489c5b9b358e
[ "MIT", "Zlib", "BSD-3-Clause" ]
514
2017-12-12T18:22:52.000Z
2019-04-16T16:07:11.000Z
tests/bin2llvmir/utils/simplifycfg_tests.cpp
mehrdad-shokri/retdec
a82f16e97b163afe789876e0a819489c5b9b358e
[ "MIT", "Zlib", "BSD-3-Clause" ]
579
2017-12-12T18:38:02.000Z
2019-04-11T13:32:53.000Z
/** * @file tests/bin2llvmir/utils/tests/simplifycfg_tests.cpp * @brief Tests for the @c CFGSimplifyPass pass. * @copyright (c) 2017 Avast Software, licensed under the MIT license * * This is checking that LLVM's -simplifycfg is behaving as expected. * If this fails, something in LLVM changed and we need to react, beca...
23.932331
80
0.647817
mehrdad-shokri
d5f2a4b8dd5f721a7cd9705db193fe2302c6188b
5,060
cpp
C++
thirdparty/ULib/src/ulib/debug/error_simulation.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/debug/error_simulation.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/debug/error_simulation.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
// ============================================================================ // // = LIBRARY // ULib - c++ library // // = FILENAME // error_simulation.cpp // // = AUTHOR // Stefano Casazza // // ============================================================================ /* #define DEBUG_DEBUG */ #includ...
24.444444
102
0.422925
liftchampion
d5f32cfc4a4d34a9dc80d0f34ca42ccf7406100e
8,457
cpp
C++
Scene.cpp
MikuAuahDark/lovewrap
1c0b7d8419f83cd1ef437a5c3b27ab96ac9a6b15
[ "Zlib" ]
1
2019-05-29T23:24:59.000Z
2019-05-29T23:24:59.000Z
Scene.cpp
MikuAuahDark/lovewrap
1c0b7d8419f83cd1ef437a5c3b27ab96ac9a6b15
[ "Zlib" ]
null
null
null
Scene.cpp
MikuAuahDark/lovewrap
1c0b7d8419f83cd1ef437a5c3b27ab96ac9a6b15
[ "Zlib" ]
null
null
null
/** * Copyright (c) 2040 Dark Energy Processor * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * inc...
23.622905
119
0.675653
MikuAuahDark
d5f3557e2fdaab5141eaa5f83dc185801c3a2a1c
5,393
cpp
C++
Blaze/logger.cpp
Star-Athenaeum/Blaze
73f26316e4146596aeb82f77d054cf4e472a2d3d
[ "MIT" ]
1
2021-09-29T21:54:54.000Z
2021-09-29T21:54:54.000Z
Blaze/logger.cpp
Star-Athenaeum/Blaze
73f26316e4146596aeb82f77d054cf4e472a2d3d
[ "MIT" ]
44
2020-04-17T14:39:36.000Z
2020-10-14T04:15:48.000Z
Blaze/logger.cpp
Stryxus/Blaze
73f26316e4146596aeb82f77d054cf4e472a2d3d
[ "MIT" ]
1
2020-09-30T22:56:48.000Z
2020-09-30T22:56:48.000Z
#include "pch.hpp" #include "logger.hpp" bool Logger::is_using_custom_color = false; Logger::COLOR Logger::global_foregronnd_color = COLOR::BRIGHT_WHITE_FOREGROUND; void Logger::log_info(string message) { if (!is_using_custom_color) set_console_color_internal(COLOR::BRIGHT_WHITE_FOREGROUND); printf(string("\n" + ge...
36.194631
220
0.749676
Star-Athenaeum
d5f5e196a84df4f4c368f0cf8496d86ca8c3b2c4
9,294
cpp
C++
tests/unit/utils_test.cpp
wedataintelligence/sdk
b7064239ca82a53485a8913788be67e07d412971
[ "BSD-2-Clause" ]
null
null
null
tests/unit/utils_test.cpp
wedataintelligence/sdk
b7064239ca82a53485a8913788be67e07d412971
[ "BSD-2-Clause" ]
null
null
null
tests/unit/utils_test.cpp
wedataintelligence/sdk
b7064239ca82a53485a8913788be67e07d412971
[ "BSD-2-Clause" ]
null
null
null
/** * (c) 2019 by Mega Limited, Wellsford, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in the Terms of Service. * * The MEGA SDK is distributed in the hope that it wil...
23.410579
79
0.574026
wedataintelligence
d5f6b1df4d2d5e8912048e47a6cefa406da9812f
511
hpp
C++
section 4 codes/PacWoman.hpp
PacktPublishing/Building-Games-with-SFML
d79d787ea4e580fe158b92c57a97853f4bf8a656
[ "MIT" ]
7
2020-01-07T10:32:39.000Z
2021-12-16T19:48:32.000Z
section 4 codes/PacWoman.hpp
PacktPublishing/Building-Games-with-SFML
d79d787ea4e580fe158b92c57a97853f4bf8a656
[ "MIT" ]
null
null
null
section 4 codes/PacWoman.hpp
PacktPublishing/Building-Games-with-SFML
d79d787ea4e580fe158b92c57a97853f4bf8a656
[ "MIT" ]
2
2020-01-05T04:33:43.000Z
2020-01-07T10:32:40.000Z
#ifndef PACWOMAN_PACWOMAN_HPP #define PACWOMAN_PACWOMAN_HPP #include "Animator.hpp" #include "Character.hpp" class PacWoman : public Character { public: PacWoman(sf::Texture& texture); void die(); bool isDying() const; bool isDead() const; void update(sf::Time delta); private: void draw(sf::RenderTa...
16.483871
68
0.737769
PacktPublishing
d5f768d56116729a556b5839d1d28f8b9b2272dd
27,082
cpp
C++
dbghlpr/emulator_exts.cpp
ntauth/dbghlpr
a47e540b4be7d7a99ed74eb7597140265461e244
[ "BSD-2-Clause" ]
3
2019-04-02T21:57:13.000Z
2020-07-14T09:34:08.000Z
dbghlpr/emulator_exts.cpp
ntauth/dbghlpr
a47e540b4be7d7a99ed74eb7597140265461e244
[ "BSD-2-Clause" ]
null
null
null
dbghlpr/emulator_exts.cpp
ntauth/dbghlpr
a47e540b4be7d7a99ed74eb7597140265461e244
[ "BSD-2-Clause" ]
2
2019-04-02T21:57:14.000Z
2019-11-20T08:30:26.000Z
#define _CRT_SECURE_NO_WARNINGS #include <unicorn/unicorn.h> #include <engextcpp.hpp> #include <windows.h> #include <TlHelp32.h> #include <stdio.h> #include <list> #include <memory> #include <strsafe.h> #include <interface.h> #include <engine.h> #include <capstone.h> #include <engine_linker.h> #include <helper.h> ...
28.387841
243
0.681781
ntauth
d5f7b9bc02d182192c18faf987c2f68cf1eeb6df
20,947
cpp
C++
core/src/main.cpp
qualk/Vega.wtf
8e0966d5d490f73d405433154daa5b2d9a50f9b6
[ "MIT" ]
6
2021-09-17T01:33:23.000Z
2022-03-19T05:13:21.000Z
core/src/main.cpp
qualk/Vega.wtf
8e0966d5d490f73d405433154daa5b2d9a50f9b6
[ "MIT" ]
1
2021-09-17T02:03:02.000Z
2021-09-17T02:03:02.000Z
core/src/main.cpp
qualk/Vega.wtf
8e0966d5d490f73d405433154daa5b2d9a50f9b6
[ "MIT" ]
4
2021-09-17T01:33:32.000Z
2021-09-29T05:12:23.000Z
#include "includes.h" #define OBF_BEGIN try { obf::next_step __crv = obf::next_step::ns_done; std::shared_ptr<obf::base_rvholder> __rvlocal; // Data static LPDIRECT3D9 g_pD3D = NULL; static LPDIRECT3DDEVICE9 g_pd3dDevice = NULL; static D3DPRESENT_PARAMETERS g_d3dpp = {}; // Forward declaratio...
29.881598
263
0.532009
qualk
d5fa1d60b0d0efac056ab516c51fc4448961e201
4,555
cpp
C++
A2020/Module12_4Digits/Demo4Digits/src/Affichage4DigitsBase.cpp
monkTrapist/420-W48-SF
d1c2b64dcc3054c054a29040eedf05fbdcbfeece
[ "CC0-1.0" ]
1
2021-01-28T18:36:35.000Z
2021-01-28T18:36:35.000Z
A2020/Module12_4Digits/Demo4Digits/src/Affichage4DigitsBase.cpp
monkTrapist/420-W48-SF
d1c2b64dcc3054c054a29040eedf05fbdcbfeece
[ "CC0-1.0" ]
2
2020-12-09T19:52:34.000Z
2022-03-21T12:11:08.000Z
A2020/Module12_4Digits/Demo4Digits/src/Affichage4DigitsBase.cpp
monkTrapist/420-W48-SF
d1c2b64dcc3054c054a29040eedf05fbdcbfeece
[ "CC0-1.0" ]
11
2020-11-11T16:55:57.000Z
2022-03-28T13:46:57.000Z
#include "Affichage4DigitsBase.h" #include "OptimiserEntreesSorties.h" static const byte valeurSegments[] = { // Segements ABCDEFGP 0b11111100, // 0 '0' AAA 0b01100000, // 1 '1' F B 0b11011010, // 2 '2' F B 0b11110010, // 3 '3' GGG 0b01100110, /...
31.19863
152
0.554336
monkTrapist
d5fe4c6eca40732deeea391dda8eb4c5e233dea6
4,169
cpp
C++
java/jcl/src/native/harmony/JniConstants.cpp
webos21/xi
496d636232183c4cc4ec25ab45f6ee25d5eeaf43
[ "Apache-2.0" ]
1
2018-09-25T10:56:25.000Z
2018-09-25T10:56:25.000Z
java/jcl/src/native/harmony/JniConstants.cpp
webos21/xi
496d636232183c4cc4ec25ab45f6ee25d5eeaf43
[ "Apache-2.0" ]
2
2021-04-07T00:18:48.000Z
2021-04-07T00:20:08.000Z
java/jcl/src/native/harmony/JniConstants.cpp
webos21/xi
496d636232183c4cc4ec25ab45f6ee25d5eeaf43
[ "Apache-2.0" ]
1
2017-10-26T23:20:32.000Z
2017-10-26T23:20:32.000Z
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
40.872549
114
0.753898
webos21
91067fa19469909ffe22bf89389e71dae6d1be7e
2,372
hpp
C++
boost/numeric/itl/krylov/async_executor.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
null
null
null
boost/numeric/itl/krylov/async_executor.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
null
null
null
boost/numeric/itl/krylov/async_executor.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
null
null
null
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and And...
30.025316
94
0.677487
lit-uriy
5103455a2ad81cf0f3ed55dad96c5de5ed3414f1
18,644
cpp
C++
Inkpad-develop-framework-project/Inkpad-Core/livarot/ShapeSweepUtils.cpp
manjukiran/MKImageMarkup
be4046e2d5c9a4f6b69d2c6e928af5e70093144d
[ "Apache-2.0" ]
1
2021-06-14T15:35:13.000Z
2021-06-14T15:35:13.000Z
Inkpad-develop-framework-project/Inkpad-Core/livarot/ShapeSweepUtils.cpp
manjukiran/MKImageMarkup
be4046e2d5c9a4f6b69d2c6e928af5e70093144d
[ "Apache-2.0" ]
null
null
null
Inkpad-develop-framework-project/Inkpad-Core/livarot/ShapeSweepUtils.cpp
manjukiran/MKImageMarkup
be4046e2d5c9a4f6b69d2c6e928af5e70093144d
[ "Apache-2.0" ]
null
null
null
/* * ShapeSweepUtils.cpp * nlivarot * * Created by fred on Wed Jun 18 2003. * */ #include "Shape.h" #include "MyMath.h" SweepEvent::SweepEvent() { MakeNew(NULL,NULL,0,0,0,0); } SweepEvent::~SweepEvent(void) { MakeDelete(); } void SweepEvent::MakeNew(SweepTree* iLeft,SweepTree* iRight,float px,float py,flo...
27.744048
167
0.64734
manjukiran
5103d51bff7740df534c6bcf7d516e9c5fd1b3b2
4,873
cpp
C++
main.cpp
nabetani/dcast_time
a54351fb23fcbf4c87b482468b79ba07209a2ad6
[ "MIT" ]
null
null
null
main.cpp
nabetani/dcast_time
a54351fb23fcbf4c87b482468b79ba07209a2ad6
[ "MIT" ]
null
null
null
main.cpp
nabetani/dcast_time
a54351fb23fcbf4c87b482468b79ba07209a2ad6
[ "MIT" ]
null
null
null
#include <array> #include <chrono> #include <functional> #include <iostream> #include <random> #include <type_traits> using namespace std; using namespace std::chrono; // define class #define DERIVE(base, derived, num) \ class derived : public base { ...
31.237179
80
0.55038
nabetani
51071105c0b31071a09f45a2f9cb28b159477bd2
8,457
cxx
C++
dev/ese/src/checksum/checksum.cxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
1
2021-02-02T07:04:07.000Z
2021-02-02T07:04:07.000Z
dev/ese/src/checksum/checksum.cxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
null
null
null
dev/ese/src/checksum/checksum.cxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "checksumstd.hxx" #ifdef _IA64_ extern "C" { void __lfetch( INT Level,void const *Address ); #pragma intrinsic( __lfetch ) } #define MD_LFHINT_NONE 0x00 #define MD_LFHINT_NT1 0x01 #define MD_LFHINT_NT2 0x02 #define MD...
27.368932
177
0.656261
augustoproiete-forks
5107892e5a1d972fb443ea1ce54bf6e01ae87b6c
3,235
cc
C++
Frontend/timer.cc
TongLing916/ICE-BA
b8febd35af821e3bbb5909c66a485b9e234a80fe
[ "Apache-2.0" ]
null
null
null
Frontend/timer.cc
TongLing916/ICE-BA
b8febd35af821e3bbb5909c66a485b9e234a80fe
[ "Apache-2.0" ]
null
null
null
Frontend/timer.cc
TongLing916/ICE-BA
b8febd35af821e3bbb5909c66a485b9e234a80fe
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2017-2018 Baidu Robotic Vision Authors. 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. * You may obtain a copy of ...
38.058824
79
0.619165
TongLing916
5108c7a420e43b5a63cae1c04ef7103795d2fffc
13,996
cpp
C++
geonames/WktGeometry.cpp
fmidev/smartmet-engine-geonames
4f135e026a55363d6cf9a08cc83c5710074439c1
[ "MIT" ]
null
null
null
geonames/WktGeometry.cpp
fmidev/smartmet-engine-geonames
4f135e026a55363d6cf9a08cc83c5710074439c1
[ "MIT" ]
1
2017-04-25T08:46:12.000Z
2017-04-25T08:46:12.000Z
geonames/WktGeometry.cpp
fmidev/smartmet-engine-geonames
4f135e026a55363d6cf9a08cc83c5710074439c1
[ "MIT" ]
1
2017-09-10T17:40:46.000Z
2017-09-10T17:40:46.000Z
#include "WktGeometry.h" #include "Engine.h" #include <gis/Box.h> #include <macgyver/Exception.h> #include <ogr_geometry.h> namespace SmartMet { namespace Engine { namespace Geonames { namespace { // ---------------------------------------------------------------------- /*! * \brief Get location name from location:ra...
27.229572
99
0.495284
fmidev
510c52aaeb3ff95cdb61f442a869f2d5cc10769a
1,972
cpp
C++
test/environmentTest5.cpp
Preponderous-Software/SDL-Environment
2d03160330d16da52996a8344ff47fe11cbdfe43
[ "MIT" ]
null
null
null
test/environmentTest5.cpp
Preponderous-Software/SDL-Environment
2d03160330d16da52996a8344ff47fe11cbdfe43
[ "MIT" ]
null
null
null
test/environmentTest5.cpp
Preponderous-Software/SDL-Environment
2d03160330d16da52996a8344ff47fe11cbdfe43
[ "MIT" ]
null
null
null
#include "Environment.h" #include <cstdlib> // create environment Environment environment; int xpos = environment.getW()/2 - 50; int ypos = environment.getH()/2 - 50; int xvel = 0; int yvel = 0; int xtarget = 0; int ytarget = 0; drawRects() { // render black square environment.setRenderColor(0x00, 0x00, 0x00, 0x...
17
61
0.639452
Preponderous-Software
510fa8b52b24bb8c9fd6df0eb31fdab90e79b353
11,216
cpp
C++
Code/Engine/Foundation/Threading/Implementation/TaskSystemGroups.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/Engine/Foundation/Threading/Implementation/TaskSystemGroups.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/Engine/Foundation/Threading/Implementation/TaskSystemGroups.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
#include <Foundation/FoundationPCH.h> #include <Foundation/Logging/Log.h> #include <Foundation/Profiling/Profiling.h> #include <Foundation/Threading/Implementation/TaskGroup.h> #include <Foundation/Threading/Implementation/TaskSystemState.h> #include <Foundation/Threading/Implementation/TaskWorkerThread.h> #include <F...
31.069252
222
0.711751
Tekh-ops