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
97f8d6f15ad8813c1851c2a6688e50a7aed0c792
507
cpp
C++
leetcode/2021/january/practice/cpp/1662-CheckIfTwoStringArraysAreEquivalent.cpp
pol-alok/Solvify
c0f3913420a4a3a3faa34848038a3cc942628b08
[ "MIT" ]
null
null
null
leetcode/2021/january/practice/cpp/1662-CheckIfTwoStringArraysAreEquivalent.cpp
pol-alok/Solvify
c0f3913420a4a3a3faa34848038a3cc942628b08
[ "MIT" ]
null
null
null
leetcode/2021/january/practice/cpp/1662-CheckIfTwoStringArraysAreEquivalent.cpp
pol-alok/Solvify
c0f3913420a4a3a3faa34848038a3cc942628b08
[ "MIT" ]
2
2021-02-23T06:54:22.000Z
2021-02-28T15:37:23.000Z
#include <iostream> #include <vector> using namespace std; class Solution { public: bool arrayStringsAreEqual(vector<string>& word1, vector<string>& word2) { string w1, w2; for (string s : word1) w1 += s; for (string s : word2) w2 += s; return w1 == w2; ...
21.125
81
0.568047
pol-alok
3f03d317bbcb9b070a75443471754e1407859f27
1,753
cpp
C++
uuid.cpp
kaitian521/boost_learn
a22455c935812849327280116bcde6f48b5c5fa1
[ "Apache-2.0" ]
null
null
null
uuid.cpp
kaitian521/boost_learn
a22455c935812849327280116bcde6f48b5c5fa1
[ "Apache-2.0" ]
null
null
null
uuid.cpp
kaitian521/boost_learn
a22455c935812849327280116bcde6f48b5c5fa1
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <assert.h> #include <string.h> #include <boost/lexical_cast.hpp> #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_io.hpp> #include <boost/uuid/uuid_generators.hpp> using namespace std; void test_nil() { boost::uuids::uuid ng = boost::uuids::nil_uuid(); as...
23.689189
98
0.637193
kaitian521
3f05f545ed187f53a40fe5ae209d196603d82a12
7,402
cpp
C++
Dependencies/Arcana/Shared.Test/RefcountTest.cpp
syntheticmagus/mageslam
ba79a4e6315689c072c29749de18d70279a4c5e4
[ "MIT" ]
70
2020-05-07T03:09:09.000Z
2022-02-11T01:04:54.000Z
Dependencies/Arcana/Shared.Test/RefcountTest.cpp
syntheticmagus/mageslam
ba79a4e6315689c072c29749de18d70279a4c5e4
[ "MIT" ]
3
2020-06-01T00:34:01.000Z
2020-10-08T07:43:32.000Z
Dependencies/Arcana/Shared.Test/RefcountTest.cpp
syntheticmagus/mageslam
ba79a4e6315689c072c29749de18d70279a4c5e4
[ "MIT" ]
16
2020-05-07T03:09:13.000Z
2022-03-31T15:36:49.000Z
#include <CppUnitTest.h> #include <arcana\reference_counter.h> #include <deque> #include <vector> #include <future> using Assert = Microsoft::VisualStudio::CppUnitTestFramework::Assert; namespace UnitTests { namespace { void CountUp(mira::reference_counter &counter, uint32_t max) { ...
38.552083
128
0.522697
syntheticmagus
3f062a37bdebad238b137dd4a8220af110dfeb62
1,037
cpp
C++
development/Common/Render/source/Resources/ResourceView.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
development/Common/Render/source/Resources/ResourceView.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
44
2018-06-28T03:01:44.000Z
2022-03-20T19:53:00.000Z
development/Common/Render/source/Resources/ResourceView.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
#include "Resources/ResourceView.h" #include "VTS/VirtualTransportSystem.h" //#include "imgui.h" #include "Gui/Support.h" void yaget::render::gui::UpdateSectionText(const std::string& /*nodeText*/, const colors::Color& /*textColor*/, render::ResourceView* /*resourceView*/, comp::Component::UpdateGuiType /*updateGuiTy...
33.451613
201
0.686596
eglowacki
3f0fdae7dda911336772333bbd06df57b79452ce
99
cpp
C++
content/examples/hello-library/cxx/hello.cpp
v1j4y/cmake-workshop
1afc884718d62e70f57c824fdd6f560002a9e6b3
[ "CC-BY-4.0" ]
3
2021-11-07T09:36:09.000Z
2021-11-19T10:37:32.000Z
content/examples/hello-library/cxx/hello.cpp
v1j4y/cmake-workshop
1afc884718d62e70f57c824fdd6f560002a9e6b3
[ "CC-BY-4.0" ]
2
2021-11-08T15:54:02.000Z
2021-11-08T15:54:50.000Z
content/examples/hello-library/cxx/hello.cpp
coderefinery/cmake-workshop
27b5ac9e2ff0a76930994b9a34310a169aed5010
[ "CC-BY-4.0" ]
3
2021-11-08T13:36:53.000Z
2022-02-04T21:22:46.000Z
#include "greeting.hpp" #include <cstdlib> int main() { say_hello(); return EXIT_SUCCESS; }
9.9
23
0.666667
v1j4y
3f10b5f2b239ed6f05f600984f515bf23ce5a1c7
2,242
cpp
C++
research&testing/EmmaTest/display_list.cpp
jag-123/Amused-Anemone
e8ae090c40d3d4d97762dba834d385286e8ff21c
[ "MIT" ]
2
2019-07-25T11:46:41.000Z
2020-07-02T14:00:33.000Z
research&testing/EmmaTest/display_list.cpp
jag-123/Amused-Anemone
e8ae090c40d3d4d97762dba834d385286e8ff21c
[ "MIT" ]
1
2019-04-17T17:21:49.000Z
2019-04-17T17:21:49.000Z
research&testing/EmmaTest/display_list.cpp
jag-123/Amused-Anemone
e8ae090c40d3d4d97762dba834d385286e8ff21c
[ "MIT" ]
2
2021-11-29T08:13:48.000Z
2021-12-05T19:38:04.000Z
#include <GL/gl.h> #include <GL/glu.h> #include <stdio.h> #include <math.h> #include <GL/glut.h> #include <stdlib.h> GLuint theTorus; /* Draw a torus */ static void torus(int numc, int numt) { int i, j, k; double s, t, x, y, z, twopi; twopi = 2 * (double)M_PI; for (i = 0; i < numc; i++) { glBegin(G...
21.352381
59
0.564228
jag-123
3f11b3d406f45cf574bfb7589ca1708a990e4ec5
1,994
cpp
C++
cpp_jatko/2020_04_25/2020_04_25_assignment_1/main.cpp
Diapolo10/TAMK-Exercises
904958cc41b253201eef182f17e43d95cf4f7c89
[ "MIT" ]
null
null
null
cpp_jatko/2020_04_25/2020_04_25_assignment_1/main.cpp
Diapolo10/TAMK-Exercises
904958cc41b253201eef182f17e43d95cf4f7c89
[ "MIT" ]
null
null
null
cpp_jatko/2020_04_25/2020_04_25_assignment_1/main.cpp
Diapolo10/TAMK-Exercises
904958cc41b253201eef182f17e43d95cf4f7c89
[ "MIT" ]
null
null
null
#include "henkilo.hpp" void assignment_2() { std::vector<Person*> people; people.push_back(new Person{ "Tom", 42 }); people.push_back(new Student{ "Scott", 23, "123456", 13 }); people.push_back(new Teacher{ "Jake", 33, "physics" }); for (Person* person : people) { person->printInfo(); } for (auto* person : ...
20.989474
66
0.614343
Diapolo10
3f13a5cb1d496751b375f0f9e98bb898da1a61e1
565
cpp
C++
Tasks/year3-demo-workspace/Lecture04-Operators/main.cpp
ConnorD02/Embedded-Systems
3e42b3da487fbe3bf7cfa897a6dd4cdb568d97e1
[ "Apache-2.0" ]
33
2020-08-05T12:58:51.000Z
2022-03-28T12:00:20.000Z
Tasks/year3-demo-workspace/Lecture04-Operators/main.cpp
ConnorD02/Embedded-Systems
3e42b3da487fbe3bf7cfa897a6dd4cdb568d97e1
[ "Apache-2.0" ]
37
2020-08-05T12:53:22.000Z
2022-03-04T10:24:47.000Z
Tasks/year3-demo-workspace/Lecture04-Operators/main.cpp
ConnorD02/Embedded-Systems
3e42b3da487fbe3bf7cfa897a6dd4cdb568d97e1
[ "Apache-2.0" ]
51
2020-10-06T11:04:40.000Z
2022-03-28T12:00:11.000Z
#include "mbed.h" #include <iostream> #include "ComplexNumber_C.hpp" #include "ComplexNumber.hpp" using namespace std; int main(int argc, const char * argv[]) { // C API ComplexNumber_C p = { .real = 2.0, .imag = 3.0 }; ComplexNumber_C q = { .real = 1.0, .imag = 7.0 }; ComplexNumber_C y = complexA...
20.925926
53
0.59115
ConnorD02
3f168b345627ce6ba8c788b09292a1c8dfa80855
2,293
cpp
C++
src/core/film.cpp
amirhossein-1378/AP_CA7
dee6bda34741f6a8a311904c32c33cf5cc48449d
[ "MIT" ]
null
null
null
src/core/film.cpp
amirhossein-1378/AP_CA7
dee6bda34741f6a8a311904c32c33cf5cc48449d
[ "MIT" ]
null
null
null
src/core/film.cpp
amirhossein-1378/AP_CA7
dee6bda34741f6a8a311904c32c33cf5cc48449d
[ "MIT" ]
null
null
null
#include "film.h" using namespace std; Film::Film(int _id, int _year, int _length, int _price, string _name, string _summary, string _director, Publisher* _publisher) { id = _id; year = _year; length = _length; price = _price; name = _name; summary = _summary; director = _director; pub...
16.147887
127
0.586568
amirhossein-1378
3f28d0d9cdbfa8b3920199698dff795260e3fef5
573
cpp
C++
Source/GUI/Qt/main.cpp
g-maxime/MOVMetaEdit
6db9500f72a5246484b1dba42d55c3e9a0795c5f
[ "MIT" ]
9
2017-10-24T19:32:47.000Z
2020-05-29T19:35:38.000Z
Source/GUI/Qt/main.cpp
g-maxime/MOVMetaEdit
6db9500f72a5246484b1dba42d55c3e9a0795c5f
[ "MIT" ]
5
2017-10-06T18:05:30.000Z
2020-04-08T21:43:21.000Z
Source/GUI/Qt/main.cpp
g-maxime/MOVMetaEdit
6db9500f72a5246484b1dba42d55c3e9a0795c5f
[ "MIT" ]
6
2018-08-18T04:59:54.000Z
2021-02-25T07:15:31.000Z
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a MIT-style license that can * be found in the License.html file in the root of the source tree. */ #include <QApplication> #include "mainwindow.h" #if defined(_WIN32) && !defined(_DLL) #include <QtPlugin> ...
22.92
77
0.595113
g-maxime
3f2968d9af341425fc0b2972e807c7d48ba0f309
572
cpp
C++
Week6/D - K-based Numbers/D - K-based Numbers/main.cpp
coolspring1293/Algorithm_2015_Later
7be91b0711d430245c52f351f339864853896f90
[ "MIT" ]
1
2015-11-30T12:34:04.000Z
2015-11-30T12:34:04.000Z
Week6/D - K-based Numbers/D - K-based Numbers/main.cpp
coolspring1293/Algorithm_2015_Later
7be91b0711d430245c52f351f339864853896f90
[ "MIT" ]
null
null
null
Week6/D - K-based Numbers/D - K-based Numbers/main.cpp
coolspring1293/Algorithm_2015_Later
7be91b0711d430245c52f351f339864853896f90
[ "MIT" ]
null
null
null
// // main.cpp // D - K-based Numbers // // Created by Kieran Will on 11/7/15. // Copyright © 2015 Kieran Will. All rights reserved. // #include <iostream> #define M 20 using namespace std; long long dp[M][2]; int N, K; int main(int argc, const char * argv[]) { while (cin >> N >> K) { dp[1][0] = 0; ...
17.875
59
0.440559
coolspring1293
3f320e6e23fb8e1f2735601900486475f4e4f084
2,855
cc
C++
src/options.cc
alexeden/realsense-node
a4060c8fdcc091d933fb4c895f04e72f44328e63
[ "MIT" ]
null
null
null
src/options.cc
alexeden/realsense-node
a4060c8fdcc091d933fb4c895f04e72f44328e63
[ "MIT" ]
6
2021-01-28T20:31:27.000Z
2022-03-25T18:59:04.000Z
src/options.cc
alexeden/realsense-node
a4060c8fdcc091d933fb4c895f04e72f44328e63
[ "MIT" ]
null
null
null
#ifndef OPTIONS_H #define OPTIONS_H #include "dicts.cc" #include "utils.cc" #include <librealsense2/hpp/rs_types.hpp> #include <napi.h> using namespace Napi; class Options { public: Options() : error_(nullptr) { } virtual ~Options() { if (error_) rs2_free_error(error_); } virtual rs2_options* GetOption...
28.267327
129
0.699825
alexeden
3f3390eba0f390f13ab3e10a831a674d1a88cd1d
2,270
cpp
C++
cpp-master/retired/handmade_render.cpp
ryan-mcclue/ray
928bd279eb6527c1cfef0b8014db2802a253a23f
[ "Zlib" ]
null
null
null
cpp-master/retired/handmade_render.cpp
ryan-mcclue/ray
928bd279eb6527c1cfef0b8014db2802a253a23f
[ "Zlib" ]
null
null
null
cpp-master/retired/handmade_render.cpp
ryan-mcclue/ray
928bd279eb6527c1cfef0b8014db2802a253a23f
[ "Zlib" ]
null
null
null
/* ======================================================================== $File: $ $Date: $ $Revision: $ $Creator: Casey Muratori $ $Notice: (C) Copyright 2015 by Molly Rocket, Inc. All Rights Reserved. $ ======================================================================== */ global b32...
31.09589
93
0.51674
ryan-mcclue
3f3859e653207330ac3f324ebdda39d514f51737
9,484
cpp
C++
src/c++/lib/xml/XmlReader.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
13
2018-02-09T22:59:39.000Z
2021-11-29T06:33:22.000Z
src/c++/lib/xml/XmlReader.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
17
2018-01-26T11:36:07.000Z
2022-02-03T18:48:43.000Z
src/c++/lib/xml/XmlReader.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
4
2018-10-19T20:00:00.000Z
2020-10-29T14:44:06.000Z
/** ** Isaac Genome Alignment Software ** Copyright (c) 2010-2017 Illumina, Inc. ** All rights reserved. ** ** This software is provided under the terms and conditions of the ** GNU GENERAL PUBLIC LICENSE Version 3 ** ** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3 ** along with ...
27.976401
146
0.619359
Illumina
3f38d1fa4dd876c50ad913ef1b7633f0253afa8c
3,955
hpp
C++
tlab/include/tlab/log/log.hpp
gwonhyeong/tlabs
ea0f08441f33af40b28235a48ecb9f545186968d
[ "MIT" ]
null
null
null
tlab/include/tlab/log/log.hpp
gwonhyeong/tlabs
ea0f08441f33af40b28235a48ecb9f545186968d
[ "MIT" ]
null
null
null
tlab/include/tlab/log/log.hpp
gwonhyeong/tlabs
ea0f08441f33af40b28235a48ecb9f545186968d
[ "MIT" ]
null
null
null
/** * @file log.hpp * @author ghtak * @brief * @version 0.1 * @date 2019-01-20 * * @copyright Copyright (c) 2019 * */ #ifndef __tlab_log_h__ #define __tlab_log_h__ #include <tlab/internal.hpp> namespace tlab::log { enum class level { trace, debug, info, warn, error }; struct local_context { const char ...
41.631579
80
0.428319
gwonhyeong
3f39cc2a1f3290050a0e2e9a0dd8b1ef4cc8c653
525
cpp
C++
1d/sim_error_floord/tbb/main.reference.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/sim_error_floord/tbb/main.reference.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/sim_error_floord/tbb/main.reference.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
#include <cmath> #include <tbb/combinable.h> #include <tbb/parallel_for.h> int main(int argc, char** argv){ int dp = 10; int other = 10; int x[10]; if (dp >= 2){ for (auto t1=0; t1<=std::floor( (double)(dp-2) /2);++t1) { int sum = 0; tbb::combinable< decltype( sum ) > sum_combine( sum ); ...
21.875
60
0.51619
realincubus
278e1fd4399322478520524f89b6e1fbf3a7cbc6
19,965
cpp
C++
src/numcpp/tests/test_array.cpp
weegreenblobbie/numcpp
7fc27ef33b2fc97356c1f4c316ea5410c6802418
[ "BSD-3-Clause" ]
null
null
null
src/numcpp/tests/test_array.cpp
weegreenblobbie/numcpp
7fc27ef33b2fc97356c1f4c316ea5410c6802418
[ "BSD-3-Clause" ]
11
2017-02-17T03:13:59.000Z
2021-11-14T22:24:28.000Z
src/numcpp/tests/test_array.cpp
weegreenblobbie/numcpp
7fc27ef33b2fc97356c1f4c316ea5410c6802418
[ "BSD-3-Clause" ]
2
2017-02-01T21:40:45.000Z
2020-05-26T06:00:17.000Z
#include <catch/catch.hpp> // https://github.com/philsquared/Catch #include <numcpp/array.hpp> #include <numcpp/core.hpp> using namespace numcpp; namespace numcpp { // Instantiate array of many types to get code coverage. template class array<bool>; template class array<int8>; template class array<int16>; template ...
19.050573
81
0.389482
weegreenblobbie
278ecec48e2c5da02505a09d348e197684a0cee0
859
hpp
C++
src/model/list_node.hpp
clsrfish/leetcode
208b3ae9f954781d7568225a51c01f9faa490bff
[ "Apache-2.0" ]
null
null
null
src/model/list_node.hpp
clsrfish/leetcode
208b3ae9f954781d7568225a51c01f9faa490bff
[ "Apache-2.0" ]
null
null
null
src/model/list_node.hpp
clsrfish/leetcode
208b3ae9f954781d7568225a51c01f9faa490bff
[ "Apache-2.0" ]
null
null
null
/** * @file list_node.hpp * @author clsrfish (clsrfish@gmail.com) * @brief 链表节点 * @version 0.1 * @date 2021-01-17 * * @copyright Copyright (c) 2021 * */ #if !defined(LIST_NODE_H) #define LIST_NODE_H #include <iostream> #include <vector> struct ListNode { int val; ListNode *next; ListNode() : val(0), next...
17.530612
65
0.647264
clsrfish
278f38d7295a316d9642e5a44d60697463793118
56,738
cpp
C++
sdl1/rockbot/objects/object.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/rockbot/objects/object.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/rockbot/objects/object.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
#include <cstdlib> #include "object.h" #include "file/format.h" #include "classmap.h" #include "file/format/st_common.h" extern graphicsLib graphLib; extern std::string FILEPATH; #include "timerlib.h" extern timerLib timer; #include "graphicslib.h" extern graphicsLib graphLib; #include "soundlib.h" extern soundLib ...
39.456189
474
0.576915
pdpdds
279072afa0d10c0eff48a7f14f5b8974685f67c1
9,975
hpp
C++
include/BGNet/Core/Messages/BaseAcknowledgeMessage.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/BGNet/Core/Messages/BaseAcknowledgeMessage.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/BGNet/Core/Messages/BaseAcknowledgeMessage.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "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: BGNet.Core.Messages.BaseResponse #i...
56.676136
232
0.75589
RedBrumbler
279180c60a8935c0c4c9900e6b6d99c65ff79875
1,741
cpp
C++
aws-cpp-sdk-network-firewall/source/model/RuleGroup.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-network-firewall/source/model/RuleGroup.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-network-firewall/source/model/RuleGroup.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/network-firewall/model/RuleGroup.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
19.344444
78
0.736933
perfectrecall
279466cb83a35b73c4198d99716211a2922707d3
1,022
hpp
C++
fileid/document/excel/structures/formulas/ExtSheetPair.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
13
2016-03-13T17:57:46.000Z
2021-12-21T12:11:41.000Z
fileid/document/excel/structures/formulas/ExtSheetPair.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
9
2016-04-07T13:07:58.000Z
2020-05-30T13:31:59.000Z
fileid/document/excel/structures/formulas/ExtSheetPair.hpp
DBHeise/fileid
3e3bacf859445020999d0fc30301ac86973c3737
[ "MIT" ]
5
2017-04-20T14:47:55.000Z
2021-03-08T03:27:17.000Z
#pragma once #include "../../../../common.hpp" #include "../../MSExcel.common.hpp" #include "../../IParsable.hpp" #include "Ptg.hpp" namespace oless { namespace excel { namespace structures { namespace formulas { // see: https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-xls/bf9eaf17-1f7b-4...
28.388889
188
0.674168
DBHeise
27950b293477f4a0fbb635843657d4c38f3330af
345
cpp
C++
Flexible_vector/main.cpp
neo-white/HPML
f92a14f1fb41156e11bc5d1ed349d238bc63b720
[ "Apache-2.0" ]
null
null
null
Flexible_vector/main.cpp
neo-white/HPML
f92a14f1fb41156e11bc5d1ed349d238bc63b720
[ "Apache-2.0" ]
null
null
null
Flexible_vector/main.cpp
neo-white/HPML
f92a14f1fb41156e11bc5d1ed349d238bc63b720
[ "Apache-2.0" ]
null
null
null
/* ID: neo-white LANG: C++ TASK:main.cpp */ #include "Flexible_vector.h" int main(int argc,char *argv[]){ Flexible_vector *p = new Flexible_vector(); std::string file_in = "pmlp_iris.csv"; std::string file_out = "test"; p->prob = p->Read_file_without_index(file_in); p->output_problem(file_out,p->...
17.25
50
0.652174
neo-white
279911cbba78610466f59a84270bf30dea847117
188
cpp
C++
SubTestProject/interfaceX/interfacex.cpp
MrCrazyID/QtCreator_SubDirExample
38f099015a30ff5d63efd04bbe6e4eadafd6cffb
[ "MIT" ]
8
2015-05-01T22:53:46.000Z
2016-04-05T22:15:52.000Z
SubTestProject/interfaceX/interfacex.cpp
idelsink/qtcreator_sub_dir_example
38f099015a30ff5d63efd04bbe6e4eadafd6cffb
[ "MIT" ]
2
2018-02-02T15:06:16.000Z
2018-12-08T19:57:26.000Z
SubTestProject/interfaceX/interfacex.cpp
idelsink/qtcreator_sub_dir_example
38f099015a30ff5d63efd04bbe6e4eadafd6cffb
[ "MIT" ]
2
2018-05-22T08:53:54.000Z
2018-06-17T05:49:31.000Z
#include "interfacex.h" #include <iostream> #include "driverx.h" interfaceX::interfaceX() { driverX driverx; std::cout << "Constructor interfaceX called" << std::endl; }
18.8
63
0.654255
MrCrazyID
279d7b2e87d68bdc6c4f5977a31682b5223ccab8
21,029
tpp
C++
MaxPlus/cpp/ThirdPart/Matrix.tpp
Lecrapouille/BacASable
e7de7a7b6f21ee3180dc968a47cbd1515cb82de5
[ "Unlicense" ]
1
2019-09-16T11:09:25.000Z
2019-09-16T11:09:25.000Z
MaxPlus/cpp/ThirdPart/Matrix.tpp
Lecrapouille/BacASable
e7de7a7b6f21ee3180dc968a47cbd1515cb82de5
[ "Unlicense" ]
1
2019-09-08T19:10:54.000Z
2019-09-08T20:26:30.000Z
MaxPlus/cpp/ThirdPart/Matrix.tpp
Lecrapouille/BacASable
e7de7a7b6f21ee3180dc968a47cbd1515cb82de5
[ "Unlicense" ]
null
null
null
// -*- c++ -*- Coloration Syntaxique pour Emacs // // Inspired from https://github.com/Reedbeta/reed-util // and http://www.reedbeta.com/blog/on-vector-math-libraries/ // and http://www.ogre3d.org #ifndef MATRIX_TPP # define MATRIX_TPP # include "Vector.tpp" namespace matrix { //! \brief Enum for constructing di...
31.339791
105
0.490323
Lecrapouille
279ff4fab7cab2511e001131a71b4dd4e1094006
356
cpp
C++
Array/35. Search Insert Position/Solution.cpp
vini-2002/LeetCode-Solutions
16831593e3cf70780ef0ec4d76769ca720ddc70d
[ "Unlicense" ]
9
2021-03-24T11:21:03.000Z
2022-02-14T05:05:48.000Z
Array/35. Search Insert Position/Solution.cpp
vini-2002/LeetCode-Solutions
16831593e3cf70780ef0ec4d76769ca720ddc70d
[ "Unlicense" ]
38
2021-10-07T18:04:12.000Z
2021-12-05T05:53:27.000Z
Array/35. Search Insert Position/Solution.cpp
vini-2002/LeetCode-Solutions
16831593e3cf70780ef0ec4d76769ca720ddc70d
[ "Unlicense" ]
27
2021-10-06T19:55:48.000Z
2021-11-18T16:53:20.000Z
class Solution { public: int searchInsert(vector<int>& nums, int target) { nums.insert(nums.end(),target); sort(nums.begin(),nums.end()); auto it = find(nums.begin(), nums.end(), target); int index; if (it != nums.end()) { index = it - nums.begin(); ...
22.25
57
0.497191
vini-2002
27a6513cd90c73e30f49a31ae7792a727a1b79f1
5,173
cpp
C++
Source/ModuleRenderer3D.cpp
TitoLuce/Untitled-Engine
dfe00b2b12adca93c99785dc96b87111073ed927
[ "Unlicense" ]
null
null
null
Source/ModuleRenderer3D.cpp
TitoLuce/Untitled-Engine
dfe00b2b12adca93c99785dc96b87111073ed927
[ "Unlicense" ]
null
null
null
Source/ModuleRenderer3D.cpp
TitoLuce/Untitled-Engine
dfe00b2b12adca93c99785dc96b87111073ed927
[ "Unlicense" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleRenderer3D.h" #include "Glew/include/glew.h" #include "SDL_opengl.h" #include <gl/GL.h> #include <gl/GLU.h> #pragma comment (lib, "glu32.lib") /* link OpenGL Utility lib */ #pragma comment (lib, "opengl32.lib") /* link Microsoft OpenGL lib */ #pr...
24.172897
101
0.700174
TitoLuce
27adf3b7d799e0829639fd6642f1f22ef73b7eb0
3,476
cpp
C++
src/engine/asset/default_shader/default_shader.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
13
2020-01-10T16:36:46.000Z
2021-08-09T09:24:47.000Z
src/engine/asset/default_shader/default_shader.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-01-16T11:03:49.000Z
2020-01-16T11:11:15.000Z
src/engine/asset/default_shader/default_shader.cpp
Overpeek/Overpeek-Engine
3df11072378ba870033a19cd09fb332bcc4c466d
[ "MIT" ]
1
2020-02-06T21:22:47.000Z
2020-02-06T21:22:47.000Z
#include "default_shader.hpp" #include "engine/engine.hpp" #include "engine/graphics/interface/shader.hpp" #include "engine/graphics/interface/instance.hpp" #include "engine/utility/formatted_error.hpp" #include "engine/asset/asset_loader.hpp" namespace oe::asset { constexpr char default_shader_name[] = "asset:de...
23.972414
122
0.682681
Overpeek
27b6aa088820d57755b77bfd63445d9ef9a6a3fc
5,445
cpp
C++
lib/DCF77Decoder/DCF77Decoder.cpp
Carlo47/DCF77RadioClock
c9f94d0aadec0adbad56814b9ad4773631dba684
[ "Unlicense" ]
null
null
null
lib/DCF77Decoder/DCF77Decoder.cpp
Carlo47/DCF77RadioClock
c9f94d0aadec0adbad56814b9ad4773631dba684
[ "Unlicense" ]
null
null
null
lib/DCF77Decoder/DCF77Decoder.cpp
Carlo47/DCF77RadioClock
c9f94d0aadec0adbad56814b9ad4773631dba684
[ "Unlicense" ]
null
null
null
/** * Class DCF77Decoder.cpp * Author 2021-08-13 Charles Geiser (https://www.dodeka.ch) * * Purpose Decodes the time telegram received from the time signal * transmitter DCF77 located at Mainflingen near Frankfurt (Germany) * * Board Arduino Uno R3 * * Remarks ...
25.805687
96
0.625712
Carlo47
27bc5ab92a25699d792d1ad773c2cb94cc2ba3ae
1,669
cpp
C++
src/MemeCore/Dispatcher.cpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
src/MemeCore/Dispatcher.cpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
src/MemeCore/Dispatcher.cpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
#include <MemeCore/Dispatcher.hpp> #include <MemeCore/Debug.hpp> namespace ml { /* * * * * * * * * * * * * * * * * * * * */ Dispatcher::Dispatcher() { } Dispatcher::~Dispatcher() { } /* * * * * * * * * * * * * * * * * * * * */ bool Dispatcher::init(size_t value) { std::thread * t = NULL; Worker * w =...
16.048077
46
0.54284
Gurman8r
27c8e8c968c16b56e4195ce1ceb44544171495e6
1,507
cpp
C++
src/tools/EventList.cpp
alexriffaud/ProjectOne
f7e58d548d13ddcfa31ef6f73158b7cbff1df7c1
[ "Apache-2.0" ]
null
null
null
src/tools/EventList.cpp
alexriffaud/ProjectOne
f7e58d548d13ddcfa31ef6f73158b7cbff1df7c1
[ "Apache-2.0" ]
null
null
null
src/tools/EventList.cpp
alexriffaud/ProjectOne
f7e58d548d13ddcfa31ef6f73158b7cbff1df7c1
[ "Apache-2.0" ]
null
null
null
#include "inc/tools/EventList.h" int EventList::rowCount(const QModelIndex&) const { return _items.size(); } QVariant EventList::data(const QModelIndex& index, int /*role*/) const { QObject* item = _items.at(index.row()); return QVariant::fromValue(item); } void EventList::insert(QObject* it...
21.528571
71
0.514267
alexriffaud
27c90726b2ac104fca06026bd6bb2b5c9887f16c
1,075
cpp
C++
c++/boost/lambda/MemberFunction.cpp
taku-xhift/labo
89dc28fdb602c7992c6f31920714225f83a11218
[ "MIT" ]
null
null
null
c++/boost/lambda/MemberFunction.cpp
taku-xhift/labo
89dc28fdb602c7992c6f31920714225f83a11218
[ "MIT" ]
null
null
null
c++/boost/lambda/MemberFunction.cpp
taku-xhift/labo
89dc28fdb602c7992c6f31920714225f83a11218
[ "MIT" ]
null
null
null
#include <boost/lambda/lambda.hpp> #include <boost/lambda/bind.hpp> #include <iostream> #include <algorithm> #include <vector> class RoomInfo { public: //void integer(int value) throw() { this->integer_ = value; } int integer() const throw() { return this->integer_; } int integer_; }; ...
21.5
106
0.622326
taku-xhift
27d2c58a9a3847c77855f7381cfd60ae7a115124
13,430
cpp
C++
jni/external/zenilib/zeni_rest/Logo.cpp
clarkdonald/eecs494explore3d
fd4086d2c5482a289d51ef71c5f1ae20347db80a
[ "BSD-2-Clause" ]
9
2015-09-24T19:18:50.000Z
2021-06-23T09:53:59.000Z
jni/external/zenilib/zeni_rest/Logo.cpp
clarkdonald/eecs494explore3d
fd4086d2c5482a289d51ef71c5f1ae20347db80a
[ "BSD-2-Clause" ]
null
null
null
jni/external/zenilib/zeni_rest/Logo.cpp
clarkdonald/eecs494explore3d
fd4086d2c5482a289d51ef71c5f1ae20347db80a
[ "BSD-2-Clause" ]
1
2015-12-13T06:55:21.000Z
2015-12-13T06:55:21.000Z
/* This file is part of the Zenipex Library (zenilib). * Copyright (C) 2011 Mitchell Keith Bloch (bazald). * * zenilib 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 version 3 of the L...
47.288732
197
0.658153
clarkdonald
27d9bec73c75efc7ca0d2ef26f1627776194f656
931
cpp
C++
leetcode.com/0313 Super Ugly Number/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0313 Super Ugly Number/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0313 Super Ugly Number/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> #include <unordered_set> using namespace std; // ref: https://leetcode.com/problems/super-ugly-number/discuss/76298/7-line-consice-O(kn)-c%2B%2B-solution class Solution { public: int nthSuperUglyNumber(int n, vector<int>& primes) { int primes_size = primes.size(); ...
26.6
107
0.539205
sky-bro
27dd3cb5e54dbd89cd7f21145d90b2a3cc666554
2,856
cpp
C++
SHVX/framework/world/physics.cpp
PsychoDad9999/GTA5-Mods
38a3aa2ec48cd52cb851f1cda636c53bfbc058ad
[ "MIT" ]
5
2020-09-23T06:03:48.000Z
2021-04-14T19:37:55.000Z
SHVX/framework/world/physics.cpp
PsychoDad9999/GTA5-Mods
38a3aa2ec48cd52cb851f1cda636c53bfbc058ad
[ "MIT" ]
null
null
null
SHVX/framework/world/physics.cpp
PsychoDad9999/GTA5-Mods
38a3aa2ec48cd52cb851f1cda636c53bfbc058ad
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- #include "physics.h" #include <math.h> // ---------------------------------------------------------------------------- /// <summery>Calculate breaking distance in meters</summery> /// <param name="speedKmph">Speed in Km/h</param> /// <re...
42
119
0.506653
PsychoDad9999
27dd612aca075def6a90d5a48af81d46c0ce5d68
1,816
cpp
C++
src/GenQPSolver.cpp
SaeidSamadi/Tasks
cb3f29a5545a96df83a7d49730799c90bfb0b6f7
[ "BSD-2-Clause" ]
60
2016-04-08T05:48:58.000Z
2022-02-18T16:54:31.000Z
src/GenQPSolver.cpp
SaeidSamadi/Tasks
cb3f29a5545a96df83a7d49730799c90bfb0b6f7
[ "BSD-2-Clause" ]
48
2016-04-01T09:50:12.000Z
2021-08-05T02:12:27.000Z
src/GenQPSolver.cpp
SaeidSamadi/Tasks
cb3f29a5545a96df83a7d49730799c90bfb0b6f7
[ "BSD-2-Clause" ]
21
2017-01-10T16:23:34.000Z
2021-11-18T08:40:20.000Z
/* * Copyright 2012-2019 CNRS-UM LIRMM, CNRS-AIST JRL */ // associated header #include "Tasks/GenQPSolver.h" // includes // std #include <map> // Tasks #include "QLDQPSolver.h" #ifdef LSSOL_SOLVER_FOUND # include "LSSOLQPSolver.h" #endif namespace tasks { namespace qp { #ifdef LSSOL_SOLVER_FOUND const std::st...
22.7
101
0.695485
SaeidSamadi
27ddede70d555420775d83a1c0059e507c3b596d
20,717
cpp
C++
src/cpp/bindings.cpp
node-3d/opencl-raub
7e905041cc097a8b94663585d5c6503fb2794a04
[ "MIT" ]
null
null
null
src/cpp/bindings.cpp
node-3d/opencl-raub
7e905041cc097a8b94663585d5c6503fb2794a04
[ "MIT" ]
1
2021-05-11T07:04:47.000Z
2021-05-11T07:04:47.000Z
src/cpp/bindings.cpp
node-3d/opencl-raub
7e905041cc097a8b94663585d5c6503fb2794a04
[ "MIT" ]
null
null
null
#include "types.hpp" #define JS_CL_CONSTANT(name) \ exports.Set(#name, static_cast<double>(CL_ ## name)); #define JS_CONSTANT(name, value) \ exports.Set(#name, JS_NUM(value)); #define JS_ERROR(msg) ...
33.686179
79
0.819134
node-3d
27eb8312fca6997e495d19bf8695b62524a0d715
15,346
hpp
C++
src/DataStructures/Tensor/EagerMath/DeterminantAndInverse.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/DataStructures/Tensor/EagerMath/DeterminantAndInverse.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/DataStructures/Tensor/EagerMath/DeterminantAndInverse.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. /// \file /// Defines function computing the determinant and inverse of a tensor. #pragma once #include <type_traits> #include <utility> #include "DataStructures/DataVector.hpp" #include "DataStructures/Tensor/Tensor.hpp" #include "ErrorHandling/...
41.363881
80
0.620227
marissawalker
27fa3ccf76221e2b388ea4f41f0a8363c88ce063
639
cpp
C++
cpp/test_tmp/test.cpp
Tan-Furukawa/badzupa2
a5641c9987ea9819b336d4f903b49e4c19ce6c47
[ "MIT" ]
null
null
null
cpp/test_tmp/test.cpp
Tan-Furukawa/badzupa2
a5641c9987ea9819b336d4f903b49e4c19ce6c47
[ "MIT" ]
null
null
null
cpp/test_tmp/test.cpp
Tan-Furukawa/badzupa2
a5641c9987ea9819b336d4f903b49e4c19ce6c47
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include <fstream> #include <functional> #include <iostream> #include <iterator> #include <math.h> #include <numeric> #include <random> #include <string> #include <typeinfo> #include <vector> #include <iomanip> #include "sup.h" #include "base.h" #include "vec_op.h" #include "matplo...
17.27027
39
0.649452
Tan-Furukawa
7e026d2ed48e98a94ad85ea42becebe57cb25fca
195
cpp
C++
Abzynt/Abzynt/sdk/csgo/client/client.cpp
patrykkolodziej/Abzynt-Cheat
862c72514f868fe24728ae83278647bcc3092180
[ "MIT" ]
14
2019-04-11T19:09:26.000Z
2021-03-27T06:18:02.000Z
Abzynt/Abzynt/sdk/csgo/client/client.cpp
patrykkolodziej/Abzynt-Cheat
862c72514f868fe24728ae83278647bcc3092180
[ "MIT" ]
2
2019-05-01T09:19:31.000Z
2019-08-23T01:20:20.000Z
Abzynt/Abzynt/sdk/csgo/client/client.cpp
patrykkolodziej/Abzynt-Cheat
862c72514f868fe24728ae83278647bcc3092180
[ "MIT" ]
7
2019-04-16T12:49:30.000Z
2020-09-27T01:53:49.000Z
#include "client.hpp" std::unique_ptr<c_client> g_pclient = std::make_unique<c_client>(); void c_client::shot() { g_pmemory->write<int>(offsets::client_dll + offsets::dwforceattack, 6); }
27.857143
73
0.712821
patrykkolodziej
7e0832c5aae190b750f77e460cea9636ea1d9d10
6,804
cpp
C++
foedus_code/tests-core/src/foedus/xct/test_xct_access.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/tests-core/src/foedus/xct/test_xct_access.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/tests-core/src/foedus/xct/test_xct_access.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later versi...
34.363636
94
0.716049
sam1016yu
7e1a9ec93a8c633608f4e442e6b72663923bdcd1
1,664
cpp
C++
412_Fizz_Buzz/fizzbuzz.cpp
neojou/leetcode_cplusplus
760232172c1e753ee13c376038c8e7b41f6cded7
[ "MIT" ]
null
null
null
412_Fizz_Buzz/fizzbuzz.cpp
neojou/leetcode_cplusplus
760232172c1e753ee13c376038c8e7b41f6cded7
[ "MIT" ]
null
null
null
412_Fizz_Buzz/fizzbuzz.cpp
neojou/leetcode_cplusplus
760232172c1e753ee13c376038c8e7b41f6cded7
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <unordered_map> using namespace std; template <typename T> void print_vector(vector<T> const &v) { cout << "["; for (auto it = v.begin(); it != v.end(); it++) { if (it != v.begin()) cout << ", "; cout << *it; } cout << "]...
18.909091
64
0.383413
neojou
7e283421678441db2e548d35b2ef92ac8ccfdf0a
2,690
cpp
C++
src/host/examples/main.cpp
danieldeankon/hypertrace
d58a6ea28af45b875c477df4065667e9b4b88a49
[ "MIT" ]
null
null
null
src/host/examples/main.cpp
danieldeankon/hypertrace
d58a6ea28af45b875c477df4065667e9b4b88a49
[ "MIT" ]
null
null
null
src/host/examples/main.cpp
danieldeankon/hypertrace
d58a6ea28af45b875c477df4065667e9b4b88a49
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <cassert> #include <cstdint> #include <cmath> #include <chrono> #include <algebra/quaternion.hh> #include <algebra/moebius.hh> #include <view.hh> #include <object.hh> #include <opencl/search.hpp> #include <sdl/viewer.hpp> #include <sdl/controller.hpp> #...
26.116505
91
0.563569
danieldeankon
7e29eb5b798a8063afc2df80ab52bc33db05ea27
4,553
cpp
C++
MyoMapper/Source/UI/Windows/OscDataSelectorWindow.cpp
balandinodidonato/Myo2OSC
a7bc34decdbb907f82ab0c02989bac601b051ff2
[ "Unlicense" ]
48
2015-11-30T14:31:03.000Z
2021-02-18T18:42:32.000Z
MyoMapper/Source/UI/Windows/OscDataSelectorWindow.cpp
balandinodidonato/Myo2OSC
a7bc34decdbb907f82ab0c02989bac601b051ff2
[ "Unlicense" ]
46
2015-08-22T19:50:52.000Z
2021-09-07T05:13:44.000Z
MyoMapper/Source/UI/Windows/OscDataSelectorWindow.cpp
balandinodidonato/Myo2OSC
a7bc34decdbb907f82ab0c02989bac601b051ff2
[ "Unlicense" ]
12
2016-04-06T12:50:22.000Z
2019-10-15T18:33:23.000Z
#include "../JuceLibraryCode/JuceHeader.h" #include "OscDataSelectorWindow.h" #include "../../Application.h" class OscDataSelectorWindow::OrientationPage : public Component { public: OrientationPage() { addAndMakeVisible (tree); tree.setDefaultOpenness (true); tree.setRoot...
27.932515
136
0.612563
balandinodidonato
7e2cc5262934a4d95badf47dd6ce30b0c7eaa131
1,898
cpp
C++
fs/fat32/src/removeentry.cpp
kms1212/OpenFSL
476bb59bce6b451ef39b2dbfef85a814218bce80
[ "BSD-3-Clause" ]
3
2021-05-27T13:12:28.000Z
2022-03-08T19:04:49.000Z
fs/fat32/src/removeentry.cpp
kms1212/OpenFSL
476bb59bce6b451ef39b2dbfef85a814218bce80
[ "BSD-3-Clause" ]
3
2021-06-15T14:11:11.000Z
2021-08-17T02:03:07.000Z
fs/fat32/src/removeentry.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 "openfsl/fat32/fs_fat32.h" error_t openfsl::FAT32::__remove...
27.114286
75
0.631191
kms1212
7e2de148bf6517dcff8ed14e0d70ca795763e7fb
21,419
cpp
C++
NOLF/ClientShellDLL/PlayerCamera.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
38
2019-09-16T14:46:42.000Z
2022-03-10T20:28:10.000Z
NOLF/ClientShellDLL/PlayerCamera.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
39
2019-08-12T01:35:33.000Z
2022-02-28T16:48:16.000Z
NOLF/ClientShellDLL/PlayerCamera.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
6
2019-09-17T12:49:18.000Z
2022-03-10T20:28:12.000Z
// ----------------------------------------------------------------------- // // // MODULE : PlayerCamera.cpp // // PURPOSE : PlayerCamera - Implementation // // CREATED : 10/5/97 // // ----------------------------------------------------------------------- // #include "stdafx.h" #include "PlayerCamera.h" #include "i...
22.859125
106
0.603996
haekb
cce1d9ae2480fd728b1f5ee3ad260e95d281b235
444
hpp
C++
libs/render/include/hamon/render/primitive_topology.hpp
shibainuudon/HamonEngine
508a69b0cf589ccb2e5d403ce9e78ff2b85cc058
[ "MIT" ]
null
null
null
libs/render/include/hamon/render/primitive_topology.hpp
shibainuudon/HamonEngine
508a69b0cf589ccb2e5d403ce9e78ff2b85cc058
[ "MIT" ]
21
2022-03-02T13:11:59.000Z
2022-03-30T15:12:41.000Z
libs/render/include/hamon/render/primitive_topology.hpp
shibainuudon/HamonEngine
508a69b0cf589ccb2e5d403ce9e78ff2b85cc058
[ "MIT" ]
null
null
null
/** * @file primitive_topology.hpp * * @brief PrimitiveTopology */ #ifndef HAMON_RENDER_PRIMITIVE_TOPOLOGY_HPP #define HAMON_RENDER_PRIMITIVE_TOPOLOGY_HPP #include <cstdint> namespace hamon { inline namespace render { enum class PrimitiveTopology : std::uint32_t { PointList, LineList, ...
14.8
46
0.718468
shibainuudon
cce5fca4fa6cbb7cda4c32135d189c3699935384
3,604
cpp
C++
EventLoop.cpp
peachhhhh/roughserver
96589898ac49b283e631636f1aa51315ec5600ef
[ "MIT" ]
1
2020-06-06T08:31:02.000Z
2020-06-06T08:31:02.000Z
EventLoop.cpp
peachhhhh/roughtserver
96589898ac49b283e631636f1aa51315ec5600ef
[ "MIT" ]
null
null
null
EventLoop.cpp
peachhhhh/roughtserver
96589898ac49b283e631636f1aa51315ec5600ef
[ "MIT" ]
null
null
null
#include "Epoller.h" #include "EventLoop.h" #include "CurrentThread.h" #include "Socket.h" #include <assert.h> #include <sys/eventfd.h> __thread EventLoop *t_loopInThisThread = 0; EventLoop::EventLoop() : looping_(false), epoller_(new Epoller()), wakeupfd_(createEventfd()), quit_(false), ...
23.86755
107
0.614872
peachhhhh
cce8b5606b0c9e8c2738f5a1ebb4d36f63dc0c1d
963
cpp
C++
examples/core2/Serial_serial_config.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
33
2017-07-03T22:49:30.000Z
2022-03-31T19:32:55.000Z
examples/core2/Serial_serial_config.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
6
2017-07-13T13:23:22.000Z
2019-10-25T17:51:28.000Z
examples/core2/Serial_serial_config.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
17
2017-07-01T05:35:47.000Z
2022-03-22T23:33:00.000Z
#include <hFramework.h> //connect hExt UART TX pin to hSens3 UART RX pin void hMain() { char received_data[20]; char data_to_send[] = {"example"}; sys.setSysLogDev(&devNull); //turn off system logs on Serial sys.setLogDev(&Serial); // setting USB-serial as a default printf output hExt.serial.init(...
34.392857
139
0.691589
ygjukim
cceca0063bdbca253664b3b677f0a40abebec344
343
cpp
C++
Source/PinnedDown/Events/EventData/PDDefeatEvent.cpp
pinned-down/client
ee9c07026e03b78349494fb5b1ebd813bd8343be
[ "MIT" ]
null
null
null
Source/PinnedDown/Events/EventData/PDDefeatEvent.cpp
pinned-down/client
ee9c07026e03b78349494fb5b1ebd813bd8343be
[ "MIT" ]
null
null
null
Source/PinnedDown/Events/EventData/PDDefeatEvent.cpp
pinned-down/client
ee9c07026e03b78349494fb5b1ebd813bd8343be
[ "MIT" ]
null
null
null
#include "PDDefeatEvent.h" EPDDefeatReason UPDDefeatEvent::GetDefeatReason() const { if (Reason == TEXT("FLAGSHIP_DESTROYED")) { return EPDDefeatReason::DEFEAT_FlagshipDestroyed; } else if (Reason == TEXT("CARD")) { return EPDDefeatReason::DEFEAT_Card; } return EPDDefeatRea...
21.4375
57
0.676385
pinned-down
ccedc1680ef087447700502fb8d3a4745b1ef662
939
hpp
C++
command/remote/include/hottub_on_command.hpp
Jeonghum/hfdpcpp11
5864973163991b58b89efa50ddfd75b201af2bed
[ "AFL-3.0" ]
3
2018-12-18T03:44:23.000Z
2019-11-20T20:45:43.000Z
command/remote/include/hottub_on_command.hpp
Jeonghum/hfdpcpp11
5864973163991b58b89efa50ddfd75b201af2bed
[ "AFL-3.0" ]
2
2018-04-07T06:36:23.000Z
2018-04-08T13:35:38.000Z
command/remote/include/hottub_on_command.hpp
Jeonghum/hfdpcpp11
5864973163991b58b89efa50ddfd75b201af2bed
[ "AFL-3.0" ]
2
2018-05-30T11:14:14.000Z
2021-04-18T22:38:48.000Z
//===--- hottub_on_command.hpp - --------------------------------*- C++ -*-===// // // Head First Design Patterns // // //===----------------------------------------------------------------------===// /// /// \file /// \brief /// //===-----------------------------------------------------------------...
22.357143
80
0.545261
Jeonghum
69007c5b7ec56468757dff330e7fd1cc3d9ecdce
226
cpp
C++
Array/sum of no cloase to zero.cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
1
2021-07-20T06:08:26.000Z
2021-07-20T06:08:26.000Z
Array/sum of no cloase to zero.cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
null
null
null
Array/sum of no cloase to zero.cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
null
null
null
void sum(int a[], int n) { int maxm = INT_MAX; l = 0; r = n - 1; min_l = 0; min_r = n - 1; int curr = a[l] - a[r]; if (abs(curr) < abs(maxm)) { curr = maxm; min_l = l; min_r = r; } if (curr < 0) l++; else r--; }
16.142857
64
0.473451
scortier
69013a4ab492ad4cecf837c43b4b4dfc55c122ac
10,432
hpp
C++
Simple++/Regex.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Regex.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Regex.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
namespace Regex { template<typename T> bool match( const BasicString<T> & str, const BasicString<T> & regExp ) { typedef struct stackItem { BasicString<T>::RandomAccessIterator strIt; BasicString<T>::RandomAccessIterator regIt; unsigned int actualIteration; } StackItem; //init the explicit stack....
30.325581
203
0.554352
Oriode
69145e3bb978f2b49020bec116fb1391efcf2d7c
69
cpp
C++
Twitcutter/src/manip/iproc.cpp
BroVic/TwitCutter
4ff225c76aa65921b9911cbc55c9833e6a66ad9c
[ "MIT" ]
2
2021-05-29T03:40:28.000Z
2021-08-05T03:15:12.000Z
Twitcutter/src/manip/iproc.cpp
BroVic/TwitCutter
4ff225c76aa65921b9911cbc55c9833e6a66ad9c
[ "MIT" ]
2
2017-08-06T21:36:41.000Z
2018-10-27T16:33:01.000Z
Twitcutter/src/manip/iproc.cpp
BroVic/TwitCutter
4ff225c76aa65921b9911cbc55c9833e6a66ad9c
[ "MIT" ]
2
2017-04-26T15:25:34.000Z
2017-06-07T08:52:14.000Z
// iproc.cpp #include "iproc.h" IProcessorLib::~IProcessorLib() { }
9.857143
31
0.681159
BroVic
691e4d79a600e695a9bb30d1a7773b744d788a93
9,954
cpp
C++
SoA/MainMenuScriptedUI.cpp
Revan1985/SoACode-Public
c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe
[ "MIT" ]
267
2018-06-03T23:05:05.000Z
2022-03-17T00:28:40.000Z
SoA/MainMenuScriptedUI.cpp
davidkestering/SoACode-Public
c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe
[ "MIT" ]
16
2018-06-05T18:59:11.000Z
2021-09-28T05:05:16.000Z
SoA/MainMenuScriptedUI.cpp
davidkestering/SoACode-Public
c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe
[ "MIT" ]
113
2018-06-03T23:56:13.000Z
2022-03-21T00:07:16.000Z
#include "stdafx.h" #include "MainMenuScriptedUI.h" #include "SoaEngine.h" #include "SoAState.h" #include "MainMenuScreen.h" #include "MainMenuSystemViewer.h" #include <Vorb/ui/script/ViewScriptEnvironment.h> #include <Vorb/script/lua/Environment.h> #include <Vorb/Event.hpp> #include <Vorb/ui/KeyStrings.h> #define ON...
43.467249
212
0.72393
Revan1985
692040aac27ab71b4ae68992e2c8229a63718c25
1,496
cpp
C++
epikjjh/baekjoon/3055.cpp
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
3
2019-05-19T13:44:39.000Z
2019-07-03T11:15:20.000Z
epikjjh/baekjoon/3055.cpp
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
7
2019-05-06T02:37:26.000Z
2019-06-29T07:28:02.000Z
epikjjh/baekjoon/3055.cpp
15ers/Solve_Naively
23ee4a3aedbedb65b9040594b8c9c6d9cff77090
[ "MIT" ]
1
2019-07-28T06:24:54.000Z
2019-07-28T06:24:54.000Z
#include <bits/stdc++.h> using namespace std; char arr[50][50]; int dy[4] = {1,-1,0,0}; int dx[4] = {0,0,1,-1}; bool visited[50][50]; int main(){ int r,c; queue<int> q,w; cin >> r >> c; memset(arr,0,sizeof(arr)); fill((bool*)visited,(bool*)visited+50*50,false); for(int i=0;i<r;i++){ getchar(); for(int j=0;...
20.493151
54
0.512701
15ers
6927c8c7c80a6fc41e4fd3d82ee7596fc75f0c17
2,160
cpp
C++
src/mod/visualize/sapper_range.cpp
sigsegv-mvm/sigsegv-mvm
d98dbafed212b203793ffd5eef34e0cad66cede8
[ "BSD-2-Clause" ]
33
2016-02-18T04:27:53.000Z
2022-01-15T18:59:53.000Z
src/mod/visualize/sapper_range.cpp
sigsegv-mvm/sigsegv-mvm
d98dbafed212b203793ffd5eef34e0cad66cede8
[ "BSD-2-Clause" ]
5
2018-01-10T18:41:38.000Z
2020-10-01T13:34:53.000Z
src/mod/visualize/sapper_range.cpp
sigsegv-mvm/sigsegv-mvm
d98dbafed212b203793ffd5eef34e0cad66cede8
[ "BSD-2-Clause" ]
14
2017-08-06T23:02:49.000Z
2021-08-24T00:24:16.000Z
#include "mod.h" #include "stub/tfweaponbase.h" #include "stub/objects.h" #include "util/iterate.h" namespace Mod::Visualize::Sapper_Range { void DrawSapperRadius(CTFWeaponBuilder *sapper, float duration) { CTFPlayer *owner = sapper->GetTFPlayerOwner(); if (owner == nullptr || !owner->IsPlayerClass(T...
29.189189
110
0.669907
sigsegv-mvm
692a5dac68d00cdbc74b267651093e97578a2de6
681
cpp
C++
Class 11 - different sorting algorithms, greedy and ad-hoc problems/bubble sort.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
4
2020-07-10T06:37:52.000Z
2022-01-03T17:14:21.000Z
Class 11 - different sorting algorithms, greedy and ad-hoc problems/bubble sort.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
null
null
null
Class 11 - different sorting algorithms, greedy and ad-hoc problems/bubble sort.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
4
2020-11-23T16:58:45.000Z
2021-01-06T20:20:57.000Z
#include<bits/stdc++.h> #define ll long long #define N ((int)2e6 + 5) #define MOD ((int)1e9 + 7) using namespace std; void bubble(int arr[],int l,int r) { /// 1 2 2 6 5 /// 1 2 2 5 6 while(1){ bool flag = 1; /// no swap for(int i = l ; i<r ; i++){ if(arr[i]>arr[i+1]){ ...
16.214286
38
0.408223
pioneerAlpha
692d066c4352011a015b8f578370e41c6323a41c
1,287
cpp
C++
src/catch2/internal/catch_test_case_info_hasher.cpp
sketchylizard/Catch2
c9df70e34e631ca22dad6480a13a65c24034a4af
[ "BSL-1.0" ]
62
2021-09-21T18:58:02.000Z
2022-03-07T02:17:43.000Z
src/catch2/internal/catch_test_case_info_hasher.cpp
sketchylizard/Catch2
c9df70e34e631ca22dad6480a13a65c24034a4af
[ "BSL-1.0" ]
8
2017-11-03T12:08:09.000Z
2017-11-03T12:08:10.000Z
src/catch2/internal/catch_test_case_info_hasher.cpp
sketchylizard/Catch2
c9df70e34e631ca22dad6480a13a65c24034a4af
[ "BSL-1.0" ]
null
null
null
// Copyright Catch2 Authors // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // SPDX-License-Identifier: BSL-1.0 #include <catch2/catch_test_case_info.hpp> #include <catch2/internal/catch...
32.175
76
0.574981
sketchylizard
692f5034c23f9d6f96e02166f3767aa513d617c6
1,454
hpp
C++
include/weirdlib_fileops.hpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
include/weirdlib_fileops.hpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
include/weirdlib_fileops.hpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
#pragma once #include <string> namespace wlib { /// Functions for modifying files or gathering information namespace file { /// Types of detectable files enum FileType { FILETYPE_UNKNOWN = -1, FILETYPE_JPEG, FILETYPE_PNG, FILETYPE_BMP, FILETYPE_TIFF, FILETYPE_TGA, FILETYPE_GIF, FILETYPE_PSD, FILE...
19.648649
74
0.755846
dogesoulseller
693065f09c24550ad478eb363f6bd9701a7b62b9
15,964
hpp
C++
libraries/protocol/include/webanpick/protocol/config.hpp
webanpick/webanpick-master
e1e9c3632d0a6b90a213474c2d4f87408f1b8c24
[ "Apache-2.0" ]
1
2018-03-29T16:47:57.000Z
2018-03-29T16:47:57.000Z
libraries/protocol/include/webanpick/protocol/config.hpp
webanpick/webanpick-master
e1e9c3632d0a6b90a213474c2d4f87408f1b8c24
[ "Apache-2.0" ]
null
null
null
libraries/protocol/include/webanpick/protocol/config.hpp
webanpick/webanpick-master
e1e9c3632d0a6b90a213474c2d4f87408f1b8c24
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2016 webanpickit, Inc., and contributors. */ #pragma once #include <webanpick/protocol/hardfork.hpp> // WARNING! // Every symbol defined here needs to be handled appropriately in get_config.cpp // This is checked by get_config_check.sh called from Dockerfile #ifdef IS_TEST_NET #define WEBANPICK_B...
55.623693
198
0.707968
webanpick
69331fb4c83892724f6876bf00b15d1c65c32453
1,072
cpp
C++
Searching/Majority Element(Amazon, Microsoft).cpp
pkunjam/Data-Structures-and-Algorithms
0730bb95347cc824207b5304787b34f4de29ff86
[ "MIT" ]
1
2020-07-21T20:13:07.000Z
2020-07-21T20:13:07.000Z
Searching/Majority Element(Amazon, Microsoft).cpp
pkunjam/Data-Structures-and-Algorithms
0730bb95347cc824207b5304787b34f4de29ff86
[ "MIT" ]
null
null
null
Searching/Majority Element(Amazon, Microsoft).cpp
pkunjam/Data-Structures-and-Algorithms
0730bb95347cc824207b5304787b34f4de29ff86
[ "MIT" ]
null
null
null
// { Driver Code Starts #include<bits/stdc++.h> using namespace std; // } Driver Code Ends // Function to find majority element in the array // a: input array // size: size of input array int majorityElement(int arr[], int n) { int count=1, res=0; for(int i=1; i<n; i++) { if(arr[i] == a...
14.486486
49
0.38153
pkunjam
693ce7942d9575fceeb89488b9a9ee73325098b6
710
cpp
C++
Sankore-3.1/src/domain/UB3HandlesEditable.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/domain/UB3HandlesEditable.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/domain/UB3HandlesEditable.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
#include "UB3HandlesEditable.h" #include "UBAbstractHandlesBuilder.h" UB3HEditablesGraphicsBasicShapeItem::UB3HEditablesGraphicsBasicShapeItem(QGraphicsItem *parent): UBAbstractEditableGraphicsShapeItem(parent) { UB3HandlesBuilder::buildHandles(mHandles); for(int i = 0; i < mHandles.size(); i++){ ...
24.482759
96
0.715493
eaglezzb
69408b5089a53e48bd398c2725ca717b47553669
301
cpp
C++
ITK_Main/config.cpp
Romeo-Mike/rm-ieds
5706f85d7d3aec9b751b42242a3250897b881442
[ "MIT" ]
null
null
null
ITK_Main/config.cpp
Romeo-Mike/rm-ieds
5706f85d7d3aec9b751b42242a3250897b881442
[ "MIT" ]
1
2019-10-29T11:22:48.000Z
2019-10-29T11:22:48.000Z
ITK_Main/config.cpp
Romeo-Mike/rm-ieds
5706f85d7d3aec9b751b42242a3250897b881442
[ "MIT" ]
1
2019-10-29T10:15:18.000Z
2019-10-29T10:15:18.000Z
class CfgPatches { class ITK { units[] = {}; weapons[] = {}; requiredAddons[] = {"ITK_Items"}; version = "1.0.0"; versionStr = "1.0.0"; versionDesc = "ITK"; versionAr[] = {1,0,0}; author[] = {"Garth 'LH' de Wet", "Burga"}; }; }; #include "CfgFunctions.hpp" #include "RscTitles.hpp"
17.705882
44
0.568106
Romeo-Mike
694286d1ee8ef93b5d09f6fab064fbe2c05c92d9
1,222
cpp
C++
src/OpenGL/entrypoints/GL1.0/gl_stencil_mask.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
114
2018-08-05T16:26:53.000Z
2021-12-30T07:28:35.000Z
src/OpenGL/entrypoints/GL1.0/gl_stencil_mask.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
5
2018-08-18T21:16:58.000Z
2018-11-22T21:50:48.000Z
src/OpenGL/entrypoints/GL1.0/gl_stencil_mask.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
6
2018-08-05T22:32:28.000Z
2021-10-04T15:39:53.000Z
/* VKGL (c) 2018 Dominik Witczak * * This code is licensed under MIT license (see LICENSE.txt for details) */ #include "OpenGL/entrypoints/GL1.0/gl_stencil_mask.h" #include "OpenGL/context.h" #include "OpenGL/globals.h" static bool validate(OpenGL::Context* in_context_ptr, const GLuint& in_m...
26
77
0.609656
kbiElude
694a2f559a3e319cb92fe9ac7867c0448e017b66
1,227
hpp
C++
include/comp/concept/core/signal_impl.hpp
zsombi/sywu
e7a83d0b6e1da5aa66b68ad1f9c42fb2d6ab9b17
[ "MIT" ]
null
null
null
include/comp/concept/core/signal_impl.hpp
zsombi/sywu
e7a83d0b6e1da5aa66b68ad1f9c42fb2d6ab9b17
[ "MIT" ]
3
2020-12-14T09:23:56.000Z
2021-01-09T10:29:22.000Z
include/comp/concept/core/signal_impl.hpp
zsombi/sywu
e7a83d0b6e1da5aa66b68ad1f9c42fb2d6ab9b17
[ "MIT" ]
1
2020-12-10T13:50:42.000Z
2020-12-10T13:50:42.000Z
#ifndef COMP_SIGNAL_IMPL_HPP #define COMP_SIGNAL_IMPL_HPP #include <comp/concept/core/signal.hpp> namespace comp { namespace core { template <typename LockType> bool Slot<LockType>::isConnected() const { if (!m_isConnected.load()) { return false; } try { auto isTrackerValid = [](...
19.171875
65
0.616952
zsombi
6954bf695e4fe5cdbb4db56481b0de54b86db064
9,121
hpp
C++
NWNXLib/API/Mac/API/sqlite3_api_routines.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/sqlite3_api_routines.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/sqlite3_api_routines.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> namespace NWNXLib { namespace API { struct sqlite3_api_routines { void** m_funcPtrPlaceholder__0; void** m_funcPtrPlaceholder__1; void** m_funcPtrPlaceholder__2; void** m_funcPtrPlaceholder__3; void** m_funcPtrPlaceholder__4; void** m_funcPtrPlaceholder__5; ...
35.628906
37
0.759566
Qowyn
6955beae591d72a762f3fd156456b54e1eafe440
953
cpp
C++
src/msgpack/Messaging.cpp
piernov/msgpack-arduino
b7dd31373a233ee5568837df558ff5f3d7267eea
[ "MIT" ]
null
null
null
src/msgpack/Messaging.cpp
piernov/msgpack-arduino
b7dd31373a233ee5568837df558ff5f3d7267eea
[ "MIT" ]
null
null
null
src/msgpack/Messaging.cpp
piernov/msgpack-arduino
b7dd31373a233ee5568837df558ff5f3d7267eea
[ "MIT" ]
1
2018-11-22T07:55:58.000Z
2018-11-22T07:55:58.000Z
#include "Messaging.hpp" #include "deserialize.hpp" #include "serialize.hpp" #include "Serializer.hpp" namespace msgpack { //---------- bool Messaging::processIncoming(Stream & stream) { const bool safely = true; #ifdef MESSENGER_DEBUG_INCOMING msgpack::writeString(stream, "try rx map"); #endif size_t mapS...
21.177778
73
0.709339
piernov
69568df7f28d2cde67d300989c096c3a355c5765
13,158
cpp
C++
src/devices/io/PotThrottle.cpp
collin80/GEVCU7
d32f0052ad0a1124486c92d01a52ae4161386735
[ "MIT" ]
7
2021-10-18T11:56:18.000Z
2022-03-13T04:13:16.000Z
src/devices/io/PotThrottle.cpp
collin80/GEVCU7
d32f0052ad0a1124486c92d01a52ae4161386735
[ "MIT" ]
null
null
null
src/devices/io/PotThrottle.cpp
collin80/GEVCU7
d32f0052ad0a1124486c92d01a52ae4161386735
[ "MIT" ]
2
2021-11-29T05:19:21.000Z
2022-01-14T04:02:04.000Z
/* * PotThrottle.cpp * Copyright (c) 2013 Collin Kidder, Michael Neuweiler, Charles Galpin 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 ...
42.445161
178
0.678447
collin80
69573bd61df1d0f21723fae726c44a453d1ef070
5,404
cpp
C++
cppPrime/function_c07/test_06.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
cppPrime/function_c07/test_06.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
cppPrime/function_c07/test_06.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
/************************************************************************* > File Name: test_06.cpp > Author: @Yoghourt->ilvcr, Cn,Sx,Ty > Mail: ilvcr@outlook.com || liyaoliu@foxmail.com > Created Time: 2018年06月27日 星期三 20时56分57秒 > Description: *******************************************************************...
32.95122
74
0.369541
ilvcr
695954f08090d178a937c3941a2b14dcc6788620
3,736
cpp
C++
testbed/tests/liquid_timer.cpp
Hexlord/box2d
57722e8c0aee124545b6fe67f82f8d64e2117d2b
[ "MIT" ]
1
2020-09-19T08:19:28.000Z
2020-09-19T08:19:28.000Z
testbed/tests/liquid_timer.cpp
Hexlord/box2d
57722e8c0aee124545b6fe67f82f8d64e2117d2b
[ "MIT" ]
null
null
null
testbed/tests/liquid_timer.cpp
Hexlord/box2d
57722e8c0aee124545b6fe67f82f8d64e2117d2b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2013 Google, Inc. * * 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, * including commercial appl...
25.243243
86
0.668897
Hexlord
69643341de80763b67079303bd2981f0c0bf8a7f
10,667
cpp
C++
puzzles/code/interval_map.cpp
onqtam/old-stuff
6ee0fbb36463525977caad8b66192292a73ac4d1
[ "MIT" ]
4
2016-10-12T15:53:58.000Z
2020-12-22T16:28:23.000Z
puzzles/code/interval_map.cpp
onqtam/fun-stuff
6ee0fbb36463525977caad8b66192292a73ac4d1
[ "MIT" ]
null
null
null
puzzles/code/interval_map.cpp
onqtam/fun-stuff
6ee0fbb36463525977caad8b66192292a73ac4d1
[ "MIT" ]
2
2019-02-08T12:59:54.000Z
2019-10-11T10:40:24.000Z
//interval_map<K,V> is a data structure that efficiently associates intervals of keys of type K with values of //type V. Your task is to implement the assign member function of this data structure, which is outlined below. //Each key-value-pair (k,v) in the m_map member means that the value v is //associated to the int...
45.199153
486
0.692603
onqtam
6966174ba7ef11f89eebd6c85d9ce197b0bd4e49
2,957
cpp
C++
intro/DoubleClick/DoubleClick.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-09-09T21:01:57.000Z
2022-03-27T10:01:27.000Z
intro/DoubleClick/DoubleClick.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
null
null
null
intro/DoubleClick/DoubleClick.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-04-03T01:45:23.000Z
2021-05-14T08:23:01.000Z
// DoubleClick // // An application for demonstrating multiple-click behaviors in the BeOS. #include "DoubleClick.h" #include <stdio.h> // view that reports its double-click status DoubleClickView::DoubleClickView(BRect frame, const char *name, uint32 resizeMask, uint32 flags) : BView(frame, name, resizeMask, flags...
26.401786
96
0.721677
return
69693d1fb4b518f782eaf0cbceba14afca75cdaa
23,392
cpp
C++
vinverse/vinverse.cpp
Asd-g/vinverse
c524d835ba7fbcbde16eb83216249ade1d9d3a10
[ "MIT" ]
3
2022-03-10T18:57:40.000Z
2022-03-15T18:26:00.000Z
vinverse/vinverse.cpp
Asd-g/vinverse
c524d835ba7fbcbde16eb83216249ade1d9d3a10
[ "MIT" ]
2
2022-03-19T16:52:29.000Z
2022-03-31T22:50:35.000Z
vinverse/vinverse.cpp
Asd-g/vinverse
c524d835ba7fbcbde16eb83216249ade1d9d3a10
[ "MIT" ]
1
2022-03-29T10:54:39.000Z
2022-03-29T10:54:39.000Z
#include <algorithm> #include <string> #include "vinverse.h" #ifdef _MSC_VER #define WIN32_LEAN_AND_MEAN #endif AVS_FORCEINLINE void* aligned_malloc(size_t size, size_t align) { void* result = [&]() { #ifdef _MSC_VER return _aligned_malloc(size, align); #else if (posix_memalign(&result, align,...
36.55
233
0.515817
Asd-g
696b53a78bd6bd598cbe350633560680cb21f8c3
5,522
hpp
C++
src/Core/include/HG/Core/CountStatistics.hpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2021-02-26T05:25:48.000Z
2021-09-16T22:30:41.000Z
src/Core/include/HG/Core/CountStatistics.hpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
1
2019-10-19T10:36:43.000Z
2019-10-19T10:36:43.000Z
src/Core/include/HG/Core/CountStatistics.hpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2019-10-22T18:56:59.000Z
2020-03-12T04:38:31.000Z
#pragma once // C++ STL #include <memory> #include <unordered_map> namespace HG::Core { /** * @brief Class, that describes application * counting statistics, that can be appended with * additional counters. By default it calculates * number of gameobjects. * * There is several types of counters. * 1. Cumul...
23.299578
65
0.566643
Megaxela
697078c4dac06e42f4d7415291e5c7ff8d2c445c
1,544
cpp
C++
Questions Level-Wise/Medium/insert-interval.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Sort/insert-interval.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Sort/insert-interval.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> insert(vector<vector<int>>& A, vector<int>& B) { if(!A.size()) return {B}; bool used=0; int k=-1; vector<vector<int>> x; for(int i=0;i<A.size();++i) { if(used) { if(A...
24.507937
71
0.209197
PrakharPipersania
697289b24b93e8fcee46d1fd44226d9aa3f2cf3c
1,766
hpp
C++
src/aspell-60/common/simple_string.hpp
reydajp/build-spell
a88ffbb9ffedae3f20933b187c95851e47e0e4c3
[ "MIT" ]
31
2016-11-08T05:13:02.000Z
2022-02-23T19:13:01.000Z
src/aspell-60/common/simple_string.hpp
reydajp/build-spell
a88ffbb9ffedae3f20933b187c95851e47e0e4c3
[ "MIT" ]
6
2017-01-17T20:21:55.000Z
2021-09-02T07:36:18.000Z
src/aspell-60/common/simple_string.hpp
reydajp/build-spell
a88ffbb9ffedae3f20933b187c95851e47e0e4c3
[ "MIT" ]
5
2017-07-11T11:10:55.000Z
2022-02-14T01:55:16.000Z
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. #ifndef ASPELL_SIMPLE_STRING__HPP #define ASPELL_SIM...
26.757576
77
0.650057
reydajp
6974db5d321786fae646195f017bc57a04e5fe98
533
cpp
C++
Tudat/Mathematics/Interpolators/multiLinearInterpolator.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
Tudat/Mathematics/Interpolators/multiLinearInterpolator.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
Tudat/Mathematics/Interpolators/multiLinearInterpolator.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
#include "Tudat/Mathematics/Interpolators/multiLinearInterpolator.h" namespace tudat { namespace interpolators { template class MultiLinearInterpolator< double, Eigen::Vector6d, 1 >; template class MultiLinearInterpolator< double, Eigen::Vector6d, 2 >; template class MultiLinearInterpolator< double, Eigen::V...
31.352941
70
0.772983
sebranchett
6975508fc7352e2eee57faf9dd4e6b2ae4f1ac8b
942
cpp
C++
mock-idf/components/driver/gpio.cpp
PlutoLimited/Smooth
76251a4e69ea085718fe3f42ea8a24f496139111
[ "Apache-2.0" ]
283
2017-07-18T15:31:42.000Z
2022-03-30T12:05:03.000Z
mock-idf/components/driver/gpio.cpp
PlutoLimited/Smooth
76251a4e69ea085718fe3f42ea8a24f496139111
[ "Apache-2.0" ]
131
2017-08-23T18:49:03.000Z
2021-11-29T08:03:21.000Z
mock-idf/components/driver/gpio.cpp
PlutoLimited/Smooth
76251a4e69ea085718fe3f42ea8a24f496139111
[ "Apache-2.0" ]
53
2017-12-31T13:34:21.000Z
2022-02-04T11:26:49.000Z
#include <driver/gpio.h> #include <esp_err.h> esp_err_t gpio_isr_handler_add(gpio_num_t /*gpio_num*/, gpio_isr_t /*isr_handler*/, void* args) { return ESP_OK; } esp_err_t gpio_isr_handler_remove(gpio_num_t gpio_num) { return ESP_OK; } esp_err_t gpio_config(const gpio_config_t* /*pGPIOConfig*/) { return E...
16.526316
95
0.729299
PlutoLimited
698186d3a8f89d5c37176f03357d682b890e5dfd
6,523
cpp
C++
vendor/snarkv/test/test.cpp
ultrain-os/ultrain-core-production
5d26bbe51033db183d3c069a30d87bcbe9cf736e
[ "MIT" ]
38
2019-08-15T08:38:15.000Z
2022-01-14T07:31:51.000Z
vendor/snarkv/test/test.cpp
ultrain-os/ultrain-core-production
5d26bbe51033db183d3c069a30d87bcbe9cf736e
[ "MIT" ]
4
2019-08-19T13:07:10.000Z
2020-10-17T02:45:04.000Z
vendor/snarkv/test/test.cpp
ultrain-os/ultrain-core-production
5d26bbe51033db183d3c069a30d87bcbe9cf736e
[ "MIT" ]
7
2019-08-15T11:11:09.000Z
2022-01-14T08:11:46.000Z
#include "snark/zkp_interface.h" using namespace libsnark; int main() { char sample[] = "12644838104783494534836163975352276128031960393283512077851651617246848375536 14539748208206138528144419603729895127857607544532177653786242014128953898506 2009345396609739790951417987039470834880762435007326280755446167676991...
724.777778
6,409
0.977618
ultrain-os
698620bfd7e578820966229d40c120c7d4bf8486
6,028
hpp
C++
src/competitiveProgramming/headers/competitive/programming/geometry/Point.hpp
dareagle/competitive-programming
4f92a09592b8e0cb4cbcc530681721a728902908
[ "Apache-2.0" ]
160
2016-05-27T14:26:38.000Z
2022-03-06T19:30:00.000Z
src/competitiveProgramming/headers/competitive/programming/geometry/Point.hpp
dareagle/competitive-programming
4f92a09592b8e0cb4cbcc530681721a728902908
[ "Apache-2.0" ]
7
2016-06-26T16:01:43.000Z
2019-06-15T21:00:10.000Z
src/competitiveProgramming/headers/competitive/programming/geometry/Point.hpp
dareagle/competitive-programming
4f92a09592b8e0cb4cbcc530681721a728902908
[ "Apache-2.0" ]
40
2016-06-28T11:06:13.000Z
2021-12-01T14:48:28.000Z
#ifndef _GEOMETRY_POINT_INCLUDED #define _GEOMETRY_POINT_INCLUDED /** * @author Manwe * * Class representing a Point (x,y) * */ #define _USE_MATH_DEFINES #include <math.h> #include <iostream> namespace competitive{ namespace programming{ namespace geometry{ template <typename T> class Point { private: static const...
21.225352
105
0.612309
dareagle
698d0aaa12c37f215c47b2636e39be897212b6a8
38
cpp
C++
src/qt/qtbase/tests/auto/tools/qmake/testdata/findDeps/needed.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/tests/auto/tools/qmake/testdata/findDeps/needed.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/tools/qmake/testdata/findDeps/needed.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
extern int needed(void) { return 1; }
19
37
0.684211
power-electro
7e375617f1f67728babeaebb6c39b00feebd2952
3,260
cpp
C++
memoryPool/testalloc.cpp
LiuYinCarl/zmalloc
29e35171fea59f4495a8da577b5d157d36f35094
[ "MIT" ]
null
null
null
memoryPool/testalloc.cpp
LiuYinCarl/zmalloc
29e35171fea59f4495a8da577b5d157d36f35094
[ "MIT" ]
null
null
null
memoryPool/testalloc.cpp
LiuYinCarl/zmalloc
29e35171fea59f4495a8da577b5d157d36f35094
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <time.h> #include "testcase.h" // #include "lualloc.h" #include "slabs.h" extern int STACK, N; extern struct test_item ITEM[]; // static void // fill(char *p, int sz) { // char dummy[8]; // uintptr_t x = (uintptr_t)p; // int i...
24.148148
80
0.593865
LiuYinCarl
7e39c1dd1d46bb690f621f1cc38ed9a6bfbedf2c
1,150
cpp
C++
N meetings in one room - GFG/n-meetings-in-one-room.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
1
2022-02-27T09:01:07.000Z
2022-02-27T09:01:07.000Z
N meetings in one room - GFG/n-meetings-in-one-room.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
null
null
null
N meetings in one room - GFG/n-meetings-in-one-room.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
null
null
null
// { Driver Code Starts #include <bits/stdc++.h> using namespace std; // } Driver Code Ends class Solution { public: //Function to find the maximum number of meetings that can //be performed in a meeting room. int maxMeetings(int start[], int end[], int n) { // Your code here if(n...
23
62
0.473913
champmaniac
7e3ab1b0a279d790ab2e4c6bcefb4f650738dafd
31,181
cpp
C++
src/patriotnode-payments.cpp
trumpcoinsupport/TrumpCoin
098c62ea249a63ca1cc31d5f37c6209ccdf50e2a
[ "MIT" ]
15
2019-08-28T13:34:30.000Z
2021-12-15T22:01:08.000Z
src/patriotnode-payments.cpp
MaramaDixon/TrumpCoin
951994e3f7c7cdfc0c5d385acd7f4c46e79a5106
[ "MIT" ]
9
2019-07-17T22:42:46.000Z
2022-03-02T12:41:27.000Z
src/patriotnode-payments.cpp
MaramaDixon/TrumpCoin
951994e3f7c7cdfc0c5d385acd7f4c46e79a5106
[ "MIT" ]
13
2019-06-30T22:44:30.000Z
2022-02-19T16:07:54.000Z
// Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2020 The TrumpCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "patriotnode-payments.h" #include "validation.h" #include "chainpara...
38.118582
193
0.659985
trumpcoinsupport
7e3d35d026400e81059ce66f20ea08f76a707c82
6,377
cpp
C++
source/hud.cpp
GabrielRavier/CaveStoryRecoded
dc7205398a1e81cdd1baf671edb706e010133046
[ "MIT" ]
4
2018-08-05T00:51:11.000Z
2018-12-17T04:10:06.000Z
source/hud.cpp
GabrielRavier/CaveStoryRecoded
dc7205398a1e81cdd1baf671edb706e010133046
[ "MIT" ]
7
2018-10-11T19:29:01.000Z
2019-01-14T17:23:39.000Z
source/hud.cpp
GabrielRavier/CaveStoryRecoded
dc7205398a1e81cdd1baf671edb706e010133046
[ "MIT" ]
2
2018-10-07T16:45:08.000Z
2019-01-04T03:40:08.000Z
#include "hud.h" #include "stage.h" #include "weapons.h" #include "render.h" #include "game.h" #include "player.h" #include "caret.h" #include "bullet.h" #include "valueview.h" #include <string> #include <cstring> #include <SDL_render.h> void drawMapName(bool bMini) { const auto len = strlen(gMapName.name); const ...
22.938849
104
0.648267
GabrielRavier
7e456a97e8b2788e5021ac6daa991f4f7b671ab8
9,608
cc
C++
libsrc/pylith/bc/obsolete/DirichletBC.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
93
2015-01-08T16:41:22.000Z
2022-02-25T13:40:02.000Z
libsrc/pylith/bc/obsolete/DirichletBC.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
277
2015-02-20T16:27:35.000Z
2022-03-30T21:13:09.000Z
libsrc/pylith/bc/obsolete/DirichletBC.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
71
2015-03-24T12:11:08.000Z
2022-03-03T04:26:02.000Z
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
33.245675
121
0.646336
Grant-Block
7e474f8dca22e8feb253df933c73ddbe0297576e
1,248
cpp
C++
cgql/base/typeRegistry.cpp
cgql/cgql
bb52faa47d980c66647c6346986fc77df63b0129
[ "MIT" ]
1
2022-01-15T04:18:33.000Z
2022-01-15T04:18:33.000Z
cgql/base/typeRegistry.cpp
cgql/cgql
bb52faa47d980c66647c6346986fc77df63b0129
[ "MIT" ]
null
null
null
cgql/base/typeRegistry.cpp
cgql/cgql
bb52faa47d980c66647c6346986fc77df63b0129
[ "MIT" ]
null
null
null
#include "cgql/base/typeRegistry.h" namespace cgql { namespace internal { #define MAKE_SCALAR(name, serializer) cgqlSMakePtr<ScalarTypeDefinition>(name, serializer) inline bool isInteger(const Data& value) { return value.index() == 0; } inline bool isString(const Data& value) { return value.index() == 1; } voi...
20.8
90
0.590545
cgql
7e475faf9aba90cfcd6026e5d4300595d96b0f39
451
cpp
C++
EasyCppTest/StringAlgorithm.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
3
2018-02-06T05:12:41.000Z
2020-05-12T20:57:32.000Z
EasyCppTest/StringAlgorithm.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
41
2016-07-11T12:19:10.000Z
2017-08-08T07:43:12.000Z
EasyCppTest/StringAlgorithm.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
2
2019-08-02T10:24:36.000Z
2020-09-11T01:45:12.000Z
#include <gtest/gtest.h> #include <StringAlgorithm.h> using namespace EasyCpp; namespace EasyCppTest { TEST(StringAlgorithm, toLower) { std::string str = "hElLo WoRld"; ASSERT_EQ("hello world", stringToLower(str)); } TEST(StringAlgorithm, split) { std::string str = "Hello;World;!"; auto res = stringSpli...
19.608696
47
0.660754
Thalhammer
7e4830646f6a6f2709cc750ca79d8069990dc7c6
590
cpp
C++
src/Display/Display.cpp
ac973k/ClimateControle
6c1e161154955a969216f707be13bb0695689e95
[ "MIT" ]
null
null
null
src/Display/Display.cpp
ac973k/ClimateControle
6c1e161154955a969216f707be13bb0695689e95
[ "MIT" ]
null
null
null
src/Display/Display.cpp
ac973k/ClimateControle
6c1e161154955a969216f707be13bb0695689e95
[ "MIT" ]
null
null
null
#include "Display.hpp" Display::Display(uint8_t address, uint8_t col, uint8_t row) { lcd = new LiquidCrystal_I2C(address, col, row); lcd->init(); lcd->backlight(); } Display::~Display() { delete lcd; } void Display::printOnLCD(char text[100]) { lcd->print(text); } void Display::printOnLCD(char text[100], int...
14.390244
59
0.676271
ac973k
7e4ef20b46d6ed2ded51745c1847622e6f32dea5
201,795
cpp
C++
roo_material_icons/sharp/48/av.cpp
dejwk/roo_material_icons
f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885
[ "MIT" ]
null
null
null
roo_material_icons/sharp/48/av.cpp
dejwk/roo_material_icons
f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885
[ "MIT" ]
null
null
null
roo_material_icons/sharp/48/av.cpp
dejwk/roo_material_icons
f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885
[ "MIT" ]
null
null
null
#include "av.h" using namespace roo_display; // Image file ic_sharp_48_av_10k 48x48, 4-bit Alpha, RLE, 188 bytes. static const uint8_t ic_sharp_48_av_10k_data[] PROGMEM = { 0x80, 0xCC, 0x20, 0x80, 0xC0, 0xF7, 0x58, 0x0C, 0x0F, 0x75, 0x80, 0xC0, 0xF7, 0x58, 0x0C, 0x0F, 0x75, 0x80, 0xC0, 0xF7, 0x58, 0x0C, 0x0F, 0x...
73.890516
97
0.68133
dejwk
7e56cfa4daadf759c4bf99cb028118ab5f7b4c9c
2,738
cpp
C++
tests/base/TestAuthentication.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
2
2019-09-24T00:02:04.000Z
2019-11-16T16:43:15.000Z
tests/base/TestAuthentication.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
1
2020-04-29T10:19:28.000Z
2020-04-29T10:19:28.000Z
tests/base/TestAuthentication.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
3
2020-01-27T17:36:19.000Z
2021-03-05T22:34:52.000Z
// // Created by Benjamin Schulz on 13/03/15. // #include <gtest/gtest.h> #include <GameSparks/GS.h> #include <GameSparks/generated/GSRequests.h> #include "TestPlatform.h" TEST(AuthenticationTest, Succeed) { using namespace GameSparks::Core; GS gs; bool isAvailable = false; bool authenticationSuc...
29.76087
135
0.630752
djdron
7e602ebc2f2d160d4c7d0d6a0f7627fb6e2a4e4a
9,535
cpp
C++
hphp/runtime/base/heap-graph.cpp
edwinsmith/hhvm-armjit
486a041a0dfe25c5d6a9a06bab657ab2cb5aa8ea
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/base/heap-graph.cpp
edwinsmith/hhvm-armjit
486a041a0dfe25c5d6a9a06bab657ab2cb5aa8ea
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/base/heap-graph.cpp
edwinsmith/hhvm-armjit
486a041a0dfe25c5d6a9a06bab657ab2cb5aa8ea
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com) | +---------...
34.672727
79
0.60818
edwinsmith
7e699d5e705abd1bc15ee7b4fde49c7c0cdd76ac
3,618
hpp
C++
src/3rdparty/packtpub/GeometryTypes.hpp
gtmtg/cvdrone
ef736dc7a2a1a806f7cea4088268e439e53c1f33
[ "BSD-3-Clause" ]
1
2015-01-04T16:22:31.000Z
2015-01-04T16:22:31.000Z
cvdrone/src/3rdparty/packtpub/GeometryTypes.hpp
MLHCoderTeam/ARDrone
b7b51a2e8c172944c04e7b64bb792b68931e6d3f
[ "MIT" ]
null
null
null
cvdrone/src/3rdparty/packtpub/GeometryTypes.hpp
MLHCoderTeam/ARDrone
b7b51a2e8c172944c04e7b64bb792b68931e6d3f
[ "MIT" ]
1
2018-02-28T17:29:35.000Z
2018-02-28T17:29:35.000Z
/***************************************************************************** * GeometryTypes.hpp * Example_MarkerBasedAR ****************************************************************************** * by Khvedchenia Ievgen, 5th Dec 2012 * http://computer-vision-talks.com *************************************...
17.563107
78
0.575456
gtmtg
7e6a4a3f22b6fca8569356680f01eaab41a8db91
1,553
cpp
C++
AOAPC_II/ch2/2-6.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
AOAPC_II/ch2/2-6.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
AOAPC_II/ch2/2-6.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
#include <stdio.h> int main() { for (int i = 123; i <= 321; i++) if (i % 10 != i / 10 % 10 && i % 10 != i / 100 % 10 && i % 10 != 2 * i % 10 && i % 10 != 2 * i / 10 % 10 && i % 10 != 2 * i / 100 % 10 && i % 10 != 3 * i % 10 && i % 10 != 3 * i / 10 % 10 && i % 10 != 3 * i / 100 % 10 && i / 10 ...
36.116279
145
0.31745
y-wan
7e729919fb088ffb5203bc1f8a1bc8a426779cfe
3,764
cpp
C++
src/game/client/tf/vgui/panels/tf_notificationpanel.cpp
Menoly12/Yet-Another-Deathmatch-Mod
8f532c8ba9cacdeedc2407b67926a63d19465603
[ "Unlicense" ]
127
2015-01-07T02:28:55.000Z
2022-03-29T21:30:32.000Z
src/game/client/tf/vgui/panels/tf_notificationpanel.cpp
Snow150/TF2Classic
d070129a436a8a070659f0267f6e63564a519a47
[ "Unlicense" ]
155
2015-01-09T12:54:20.000Z
2022-03-14T21:11:11.000Z
src/game/client/tf/vgui/panels/tf_notificationpanel.cpp
Snow150/TF2Classic
d070129a436a8a070659f0267f6e63564a519a47
[ "Unlicense" ]
106
2015-01-07T03:38:13.000Z
2022-03-19T22:42:19.000Z
#include "cbase.h" #include "tf_notificationpanel.h" #include "tf_mainmenupanel.h" #include "tf_mainmenu.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" using namespace vgui; //----------------------------------------------------------------------------- // Purpose: Constru...
21.027933
128
0.640276
Menoly12
7e77dadf6249fe3eaa763c0c9848b93965379e7e
64,920
hpp
C++
core/unit_test/TestReduce.hpp
olivier-snl/kokkos
36b92f437de3945b54e67ed8ce015746ae985a34
[ "BSD-3-Clause" ]
null
null
null
core/unit_test/TestReduce.hpp
olivier-snl/kokkos
36b92f437de3945b54e67ed8ce015746ae985a34
[ "BSD-3-Clause" ]
null
null
null
core/unit_test/TestReduce.hpp
olivier-snl/kokkos
36b92f437de3945b54e67ed8ce015746ae985a34
[ "BSD-3-Clause" ]
1
2018-12-05T23:13:33.000Z
2018-12-05T23:13:33.000Z
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2014) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
31.468735
158
0.643176
olivier-snl
7e79bca89369c9bac653e99a75065411b0932cbe
7,391
cpp
C++
src/RLJJoystickManager.cpp
jbitoniau/RapaLinuxJoystick
83edcc7ea8c329ce55af49c9f62d980613738579
[ "MIT" ]
null
null
null
src/RLJJoystickManager.cpp
jbitoniau/RapaLinuxJoystick
83edcc7ea8c329ce55af49c9f62d980613738579
[ "MIT" ]
null
null
null
src/RLJJoystickManager.cpp
jbitoniau/RapaLinuxJoystick
83edcc7ea8c329ce55af49c9f62d980613738579
[ "MIT" ]
null
null
null
/* The MIT License (MIT) (http://opensource.org/licenses/MIT) Copyright (c) 2015 Jacques Menuet 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...
30.167347
139
0.721012
jbitoniau
7e7d8b82f2c4075cccdd9289e9594f8c675441e8
2,378
hpp
C++
Echo/Sequence.hpp
CERIT-SC/echo2
d07af458e2e0562f85dcbba490ae370909627bd5
[ "CC-BY-4.0", "Unlicense" ]
null
null
null
Echo/Sequence.hpp
CERIT-SC/echo2
d07af458e2e0562f85dcbba490ae370909627bd5
[ "CC-BY-4.0", "Unlicense" ]
null
null
null
Echo/Sequence.hpp
CERIT-SC/echo2
d07af458e2e0562f85dcbba490ae370909627bd5
[ "CC-BY-4.0", "Unlicense" ]
null
null
null
// // Sequence.h // EchoErrorCorrection // // Created by Miloš Šimek on 08/09/13. // /* The Sequence class saves sequences in a way, that every DNA base is saved into 3 bits to save memory. There can be 10 bases in unsigned field (32 bits). Conversion table: A 0 000 C 1 001 G 2 010 T...
19.177419
92
0.686712
CERIT-SC
7e820df3703bdb24780cc42654884784b5e8718a
250
hpp
C++
include/events/GravityChangeEvent.hpp
zanshi/transcension3d
304374e83d709d73358d225567676ad7048509e6
[ "MIT" ]
7
2015-05-30T13:56:34.000Z
2017-11-04T17:58:26.000Z
include/events/GravityChangeEvent.hpp
zanshi/transcension3d
304374e83d709d73358d225567676ad7048509e6
[ "MIT" ]
null
null
null
include/events/GravityChangeEvent.hpp
zanshi/transcension3d
304374e83d709d73358d225567676ad7048509e6
[ "MIT" ]
null
null
null
// // Created by Adrian Palmquist on 2015-05-28. // #pragma once namespace sw { struct GravityChangeEvent { GravityChangeEvent(bool gravityChange) : gravityChange_(gravityChange) {} bool gravityChange_; }; }
17.857143
50
0.636
zanshi