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
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
1a05fd4f32bf7ac9e3f364b003d152b41f41516b
2,184
cpp
C++
Hello 2019/c.cpp
anirudha-ani/Codeforces
6c7f64257939d44b1c2ec9dd202f1c9f899f1cad
[ "Apache-2.0" ]
null
null
null
Hello 2019/c.cpp
anirudha-ani/Codeforces
6c7f64257939d44b1c2ec9dd202f1c9f899f1cad
[ "Apache-2.0" ]
null
null
null
Hello 2019/c.cpp
anirudha-ani/Codeforces
6c7f64257939d44b1c2ec9dd202f1c9f899f1cad
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std ; int main() { stack <char> data; char input[500005]; int n ; scanf("%d", &n); map <int , int> marking ; int balanced= 0 ; long long int ans = 0 ; for(int i = 0 ; i < n ; i++) { scanf("%s", input); int...
24
64
0.287088
1a0823730e616552e21f820c37d0889c43151bc6
1,769
cpp
C++
codes/POJ/poj3468.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/POJ/poj3468.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/POJ/poj3468.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; #define lson(x) ((x)<<1) #define rson(x) (((x)<<1)+1) const int maxn = 100005; typedef long long ll; struct Node { int l, r; ll sum, add; void set (int l, int r, ll sum, ll add) { this->l = l; this->r = r; this->sum = sum; thi...
16.229358
47
0.487846
1a0ed3e7186d638471d1b6fd0a646abe72bf17ce
871
cpp
C++
Binary Tree/Ancestors_Of_A_Node.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
19
2018-12-02T05:59:44.000Z
2021-07-24T14:11:54.000Z
Binary Tree/Ancestors_Of_A_Node.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
null
null
null
Binary Tree/Ancestors_Of_A_Node.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
13
2019-04-25T16:20:00.000Z
2021-09-06T19:50:04.000Z
//Print all the ancestors of a given node #include<iostream> using namespace std; struct Node { int data; Node *left; Node *right; }; //creates a node Node* create(int data) { try { Node *node=new Node; node->data=data; node->left=NULL; node->right=NULL; return node; } catch(bad_alloc xa) { cout<<...
14.278689
68
0.657865
1a0ff312380fc1200503bb7f17cbbec9408ee287
404
hpp
C++
examples/rucksack/testbed/include/sge/rucksack/testbed/object_impl_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
examples/rucksack/testbed/include/sge/rucksack/testbed/object_impl_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
examples/rucksack/testbed/include/sge/rucksack/testbed/object_impl_fwd.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_RUCKSACK_TESTBED_OBJECT_IMPL_FWD_HPP_INCLUDED #define SGE_RUCKSACK_TESTBED_OBJECT_IMPL_...
23.764706
61
0.759901
1a10a79e16490f9837cc80b4d97b6cc4c35fa011
835
cpp
C++
streambox/WinKeyReducer/WinKeyReducerEval-yahoo-winbundle.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
streambox/WinKeyReducer/WinKeyReducerEval-yahoo-winbundle.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
6
2020-02-17T12:01:30.000Z
2021-12-09T22:02:33.000Z
streambox/WinKeyReducer/WinKeyReducerEval-yahoo-winbundle.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
2
2020-12-03T04:41:18.000Z
2021-01-11T21:44:42.000Z
// // Created by manuelrenz on 12.04.18. // #include "WinKeyReducerEval.h" /* ----------------------------------------- * specialized for yahoo -- using normal hashtable * NB: we have to do full specialization per C++ * ----------------------------------------- */ // using MyWinKeyReduerEval = WinKeyReducerEval<...
32.115385
87
0.590419
1a12a65e5e6b8c99169fb89dd6614e4378e58de6
3,113
hpp
C++
ThreadPool.hpp
ConfuseL/SampleHttpProxy
ab17f925068f3fee3f93c909ab643fe375273ac1
[ "MIT" ]
null
null
null
ThreadPool.hpp
ConfuseL/SampleHttpProxy
ab17f925068f3fee3f93c909ab643fe375273ac1
[ "MIT" ]
null
null
null
ThreadPool.hpp
ConfuseL/SampleHttpProxy
ab17f925068f3fee3f93c909ab643fe375273ac1
[ "MIT" ]
1
2020-04-10T05:47:32.000Z
2020-04-10T05:47:32.000Z
#ifndef THREADPOOL_HPP_INCLUDED #define THREADPOOL_HPP_INCLUDED #include"Condition.hpp" #include<queue> #include<iostream> //参考他人博客,仅再度抽象封装 //原地址 https://www.cnblogs.com/yangang92/p/5485868.html typedef struct task { void *(*job)(void *args); void *arg; }Task; void * ThreadManager(void *arg); class ThreadPool {...
25.941667
75
0.451333
1a143a76a1c87083c7987e104a76b6db72592a9f
554
cpp
C++
Codechef - Contests/JULY16/POLYEVAL.cpp
Gurupradeep/Codes
5595f2e0f867a2a21d050379ead18bd6ef563978
[ "MIT" ]
null
null
null
Codechef - Contests/JULY16/POLYEVAL.cpp
Gurupradeep/Codes
5595f2e0f867a2a21d050379ead18bd6ef563978
[ "MIT" ]
null
null
null
Codechef - Contests/JULY16/POLYEVAL.cpp
Gurupradeep/Codes
5595f2e0f867a2a21d050379ead18bd6ef563978
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define MOD 786433 int main() { long long n; long long a[10002]; scanf("%lld",&n); for(int i=0;i<=n;i++) scanf("%lld",&a[i]); long long q; scanf("%lld",&q); while(q--) { long long x; scanf("%lld",&x); ...
20.518519
47
0.415162
1a150466293290bde2678ab09e37514c5e673198
594
cpp
C++
LeetCode/0003.LongestSubstringWithoutRepeatingCharacters/LSWRC.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
1
2017-12-24T07:51:07.000Z
2017-12-24T07:51:07.000Z
LeetCode/0003.LongestSubstringWithoutRepeatingCharacters/LSWRC.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
LeetCode/0003.LongestSubstringWithoutRepeatingCharacters/LSWRC.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
#include <unordered_map> #include <iostream> #include <string> int lengthOfLongestSubstring(std::string s){ std::unordered_map<char, int> smap; int n = s.length(); int max_length = 0; if(n<2){ return n; } for(int i=0,j=0;j<n;++j){ char c = s.at(j); if(smap.count(c)){ i=smap[c]>i?smap[c]:i;...
20.482759
54
0.60101
1a188685b8533ef9c29a86aa81c89e2f18be079a
794
cpp
C++
tests/test/main.cpp
n-krueger/faabric
c95c3baf9406613629e5f382efc0fc8366b22752
[ "Apache-2.0" ]
null
null
null
tests/test/main.cpp
n-krueger/faabric
c95c3baf9406613629e5f382efc0fc8366b22752
[ "Apache-2.0" ]
null
null
null
tests/test/main.cpp
n-krueger/faabric
c95c3baf9406613629e5f382efc0fc8366b22752
[ "Apache-2.0" ]
null
null
null
#define CATCH_CONFIG_RUNNER #include <catch.hpp> #include "faabric_utils.h" #include <faabric/util/logging.h> #include <faabric/util/testing.h> struct LogListener : Catch::TestEventListenerBase { using TestEventListenerBase::TestEventListenerBase; void testCaseStarting(Catch::TestCaseInfo const& testInfo) o...
23.352941
71
0.602015
1a19c14e380f519b3eedb83c76f7ee7dcd473c07
57
hpp
C++
src/boost_fusion_view_filter_view_filter_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_view_filter_view_filter_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_view_filter_view_filter_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/view/filter_view/filter_view.hpp>
28.5
56
0.824561
1a1b0f533febd3eea6b49484a2587e41d528f5e9
1,938
cpp
C++
uva/nonstop.cpp
bryanoliveira/programming-marathon
071e3e6898f9b10cabbf4ed0d8ba1c5fbbf3fac4
[ "MIT" ]
null
null
null
uva/nonstop.cpp
bryanoliveira/programming-marathon
071e3e6898f9b10cabbf4ed0d8ba1c5fbbf3fac4
[ "MIT" ]
null
null
null
uva/nonstop.cpp
bryanoliveira/programming-marathon
071e3e6898f9b10cabbf4ed0d8ba1c5fbbf3fac4
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int ni, ncase = 1; while(cin >> ni && ni) { map<int, vector<pair<int, int> > > graph; // from -> [to, cost] for(int i = 1; i <= ni; i++) { int roads; cin >> roads; while (roads > 0) ...
26.547945
99
0.400413
1a1bf305dff57f8ef966632556b29af27fdd2b66
1,162
cpp
C++
gesture-sensor.cpp
memorial-ece/arduino-seeed
170875ab65aff1a00e05fe2a5eb4c8049ea82525
[ "BSD-2-Clause" ]
null
null
null
gesture-sensor.cpp
memorial-ece/arduino-seeed
170875ab65aff1a00e05fe2a5eb4c8049ea82525
[ "BSD-2-Clause" ]
null
null
null
gesture-sensor.cpp
memorial-ece/arduino-seeed
170875ab65aff1a00e05fe2a5eb4c8049ea82525
[ "BSD-2-Clause" ]
null
null
null
#include "gesture-sensor.h" #include "Gesture_PAJ7620/paj7620.h" /** Initialiazes gesture sensor **/ unsigned int gestureInit() { paj7620Init(); } /** Reads gesture sensor and returns value of gesture (or 0 if no gesture detected) For more info see: http://wiki.seeedstudio.com/Grove-Gesture_v1.0/ @returns data = ...
29.05
170
0.754733
1a1e6d1996dd998faef62fad2eac4b71a73a209c
3,009
cc
C++
src/sys/fuzzing/framework/engine/adapter-client-unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2021-12-29T10:11:08.000Z
2022-01-04T15:37:09.000Z
src/sys/fuzzing/framework/engine/adapter-client-unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2021-09-19T21:55:09.000Z
2021-12-19T03:34:53.000Z
src/sys/fuzzing/framework/engine/adapter-client-unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2021 The Fuchsia 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 "src/sys/fuzzing/framework/engine/adapter-client.h" #include <fuchsia/fuzzer/cpp/fidl.h> #include <string> #include <vector> #include <gtest/gt...
27.108108
82
0.724826
1a21833b125a42eaea4adc2df9fbb966b754a605
2,744
cpp
C++
bitreverse.cpp
k9bao/tools
18b52767f4e6c9e5001462d828b1bba69c3832a0
[ "Apache-2.0" ]
null
null
null
bitreverse.cpp
k9bao/tools
18b52767f4e6c9e5001462d828b1bba69c3832a0
[ "Apache-2.0" ]
null
null
null
bitreverse.cpp
k9bao/tools
18b52767f4e6c9e5001462d828b1bba69c3832a0
[ "Apache-2.0" ]
null
null
null
#include <cstring> #include <ctime> #include <fstream> #include <iostream> using namespace std; void usage() { cout << "para is error." << endl; cout << "example: a.out in out pwd" << endl; } std::chrono::steady_clock::time_point now() { return std::chrono::steady_clock::now(); } long long subSecond(std...
25.64486
84
0.492347
1a21cb2d3ab3b4f974a0062f92d74b4be234f1e9
1,560
cpp
C++
example_contests/fk_2014_beta/problems/rod/submissions/accepted/solution_2.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
6
2016-03-28T13:57:54.000Z
2017-07-25T06:04:05.000Z
example_contests/fk_2014_delta/problems/rod/solution_2.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
25
2015-01-23T18:02:35.000Z
2015-03-17T01:40:27.000Z
example_contests/fk_2014_delta/problems/rod/solution_2.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
3
2016-06-28T00:48:38.000Z
2017-05-25T05:29:25.000Z
#include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <strin...
19.5
98
0.502564
1a23311b821d1bb428105d6656d6357ef83fc1b0
732
cpp
C++
TAO/tao/Strategies/OC_Endpoint_Selector_Loader.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tao/Strategies/OC_Endpoint_Selector_Loader.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tao/Strategies/OC_Endpoint_Selector_Loader.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// ================================================================= /** * @file OC_Endpoint_Selector_Loader.cpp * * $Id: OC_Endpoint_Selector_Loader.cpp 91628 2010-09-07 11:11:12Z johnnyw $ * * @author Phil Mesnier <mesnier_p@ociweb.com> * */ // ================================================================= ...
29.28
96
0.653005
1a2d220b03104c81c8e904a466f499037ba4da15
398
cpp
C++
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_9/Lesson 9.6 Default Constructor That Accepts Parameters with Default Values to Set Members Using Initialization Lists.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_9/Lesson 9.6 Default Constructor That Accepts Parameters with Default Values to Set Members Using Initialization Lists.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_9/Lesson 9.6 Default Constructor That Accepts Parameters with Default Values to Set Members Using Initialization Lists.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> using namespace std; class Human { private: string Name; int Age; public: Human(string InputName = "Adam", int InputAge = 22) :Name(InputName), Age(InputAge) { cout << "Constructed a Human called " << Name; cout << ", " << Age << " years old" << endl; } }; i...
14.214286
53
0.613065
1a2ef9f4e0f1a167b3ccd77dfee875e7e2e5f181
375
cpp
C++
tests/e2e/e2e_test_case.cpp
avs/odatacpp-client
c2af181468d345aef0c952a8a0182a1ff11b4b57
[ "MIT" ]
39
2015-01-22T08:13:28.000Z
2021-02-03T07:29:56.000Z
tests/e2e/e2e_test_case.cpp
avs/odatacpp-client
c2af181468d345aef0c952a8a0182a1ff11b4b57
[ "MIT" ]
20
2015-04-27T02:35:31.000Z
2021-01-20T16:47:23.000Z
tests/e2e/e2e_test_case.cpp
avs/odatacpp-client
c2af181468d345aef0c952a8a0182a1ff11b4b57
[ "MIT" ]
30
2015-01-29T21:23:57.000Z
2021-01-11T14:19:47.000Z
//--------------------------------------------------------------------- // <copyright file="e2e_test_case.cpp" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //------------------------------------------...
53.571429
126
0.458667
1a2f2aff78994a592508932704d8b48c8e74ec75
2,505
cpp
C++
books/C++_advanced_programming/code/Chapter23/Logger.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
C++11/C++11_1/Logger.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
C++11/C++11_1/Logger.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
#include <iostream> #include "Logger.h" #include <fstream> using std::thread; using std::cout; using std::endl; using std::cerr; using std::unique_lock; using std::mutex; using std::ofstream; //Logger::Logger() //{ // // Start background thread // mThread = thread{ &Logger::processEntries, this }; //} //void Log...
18.284672
75
0.631138
1a31cdf344682d4a296557effad4459f6f2376ff
17,601
cpp
C++
src/UnitTest.cpp
ibest/seqyclean
45d6d52ffc62078c91588ef3c10f28ff8e1dca13
[ "MIT" ]
22
2015-08-25T16:39:55.000Z
2022-03-10T12:37:45.000Z
src/UnitTest.cpp
ibest/seqyclean
45d6d52ffc62078c91588ef3c10f28ff8e1dca13
[ "MIT" ]
4
2015-06-22T18:56:01.000Z
2020-05-19T06:57:13.000Z
src/UnitTest.cpp
ibest/seqyclean
45d6d52ffc62078c91588ef3c10f28ff8e1dca13
[ "MIT" ]
4
2015-11-02T18:43:01.000Z
2017-12-13T15:29:11.000Z
/* * File: UnitTest.cpp * Author: kwt * * Created on July 28, 2013, 11:18 AM */ #include "UnitTest.h" UnitTest::UnitTest() { //Test Illumina PE //Test Illumina SE //Test overlap Illumins } UnitTest::UnitTest(const UnitTest& orig) { } UnitTest::~UnitTest() { } void UnitTest::Te...
49.720339
1,247
0.600932
1a31d7d4b5ea19d59daef6364171585a63d77769
13,752
cpp
C++
common/operations/BatchMatmul.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
common/operations/BatchMatmul.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
common/operations/BatchMatmul.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 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...
48.939502
100
0.666885
1a345ae3458244a74c91c876824819c90e3a90b0
2,662
cc
C++
zircon/system/ulib/fbl/test/algorithm_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
zircon/system/ulib/fbl/test/algorithm_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2021-09-19T21:55:09.000Z
2021-12-19T03:34:53.000Z
zircon/system/ulib/fbl/test/algorithm_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
1
2021-08-23T11:33:57.000Z
2021-08-23T11:33:57.000Z
// Copyright 2016 The Fuchsia 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 <algorithm> #include <limits> #include <fbl/algorithm.h> #include <zxtest/zxtest.h> namespace { TEST(AlgorithmTest, RoundUp) { EXPECT_EQ(fbl:...
36.972222
74
0.706987
1a3481fd62fddf822dd050eb0f24ebee0a0dfd13
2,375
cpp
C++
DelProtect2Config/DelProtect2Config.cpp
pvthuyet/priority-booster
1f0036a4528b799a6ddd862787d4181a1d082917
[ "BSL-1.0" ]
3
2020-09-19T07:27:34.000Z
2022-01-02T21:10:38.000Z
DelProtect2Config/DelProtect2Config.cpp
pvthuyet/windows-kernel-programming
1f0036a4528b799a6ddd862787d4181a1d082917
[ "BSL-1.0" ]
null
null
null
DelProtect2Config/DelProtect2Config.cpp
pvthuyet/windows-kernel-programming
1f0036a4528b799a6ddd862787d4181a1d082917
[ "BSL-1.0" ]
null
null
null
// DelProtect2Config.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "stdafx.h" #include "..\DelProtect2\DelProtectCommon.h" #include <iostream> int Error(const char* text) { printf("%s (%d)\n", text, ::GetLastError()); return 1; } int PrintUsage() { printf("Usage...
26.988636
135
0.671579
1a3e64646759c6e42fb554b1722fb23abd9fac41
907
hpp
C++
output/include/core/threading/read_write_lock.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
1
2019-07-31T06:44:46.000Z
2019-07-31T06:44:46.000Z
src/pilo/core/threading/read_write_lock.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
null
null
null
src/pilo/core/threading/read_write_lock.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
null
null
null
#pragma once #include "core/coredefs.hpp" namespace pilo { namespace core { namespace threading { class read_write_lock { public: #ifdef WINDOWS read_write_lock() { ::InitializeSRWLock(&m_lock); ...
18.895833
57
0.416759
1a40c72b20b9825a1fb3a4c6019aa141d52ec6d0
1,256
cc
C++
caffe2/contrib/prof/profiling_annotations_test.cc
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
1
2019-07-21T02:13:22.000Z
2019-07-21T02:13:22.000Z
caffe2/contrib/prof/profiling_annotations_test.cc
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
caffe2/contrib/prof/profiling_annotations_test.cc
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
// Unit tests for profiling_annotations.h. #include "caffe2/contrib/prof/profiling_annotations.h" #include <gtest/gtest.h> namespace caffe2 { namespace contrib { namespace prof { namespace { TEST(TwoNumberStatsTest, ComputeAndGetOpStatsSummary) { // e.g., 2 and 3 TwoNumberStats stats; stats.addPoint(2); stat...
27.911111
61
0.749204
1a412569050244cbdd0b2b246b2ecbf4c5c37b3a
164
hpp
C++
chaine/src/mesh/vertex/is_valid.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
chaine/src/mesh/vertex/is_valid.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
chaine/src/mesh/vertex/is_valid.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
#pragma once #include "proxy.hpp" #include "topology.hpp" namespace face_vertex { inline bool is_valid(VertexProxy vp) { return is_valid(topology(vp)); } }
11.714286
34
0.719512
1a43b6233a940ecb5091f95246199e1d08b44a81
1,461
cpp
C++
leetcode/problems/easy/859-buddy-string.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/easy/859-buddy-string.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/easy/859-buddy-string.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Buddy Strings https://leetcode.com/problems/buddy-strings/ Given two strings A and B of lowercase letters, return true if you can swap two letters in A so the result is equal to B, otherwise, return false. Swapping letters is defined as taking two indices i and j (0-indexed) such that i != j and swapping the chara...
26.089286
202
0.590691
1a44e14db33b2f2ab59aecad07e52ca9a292ea61
2,159
cpp
C++
Development/Editor/Core/LuaEngine/logging_backend.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
2
2016-05-30T11:42:33.000Z
2017-10-31T11:53:42.000Z
Development/Editor/Core/LuaEngine/logging_backend.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
null
null
null
Development/Editor/Core/LuaEngine/logging_backend.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
null
null
null
#include "logging_backend.h" #include <boost/filesystem/fstream.hpp> #include <base/util/format.h> #include <base/exception/exception.h> namespace logging { struct logging_backend::implementation { boost::filesystem::path root_path_; boost::filesystem::ofstream file_; uintmax_t written_; implementation(cons...
25.702381
119
0.666975
1a46c9989a42f40ab255fa8cb9678bb0c9116371
24,249
cpp
C++
mtoa/gpuCacheTranslator/gpuCacheTranslator.cpp
compso/bb_alembic
71512e88374f801aa9b54404923ad764a4db9c96
[ "MIT" ]
2
2015-11-16T03:25:20.000Z
2017-08-28T02:54:53.000Z
mtoa/gpuCacheTranslator/gpuCacheTranslator.cpp
compso/bb_alembic
71512e88374f801aa9b54404923ad764a4db9c96
[ "MIT" ]
null
null
null
mtoa/gpuCacheTranslator/gpuCacheTranslator.cpp
compso/bb_alembic
71512e88374f801aa9b54404923ad764a4db9c96
[ "MIT" ]
null
null
null
/* (c)2012 BlueBolt Ltd. All rights reserved. * * GpuCacheTranslator.cpp * * Created on: 20 Jul 2012 * Author: ashley-r */ #include <maya/MFnDagNode.h> #include <maya/MBoundingBox.h> #include <maya/MPlugArray.h> #include <maya/MTypes.h> #include "gpuCacheTranslator.h" /* * Return a new string with all o...
31.656658
127
0.545507
1a46daba1ed7553485e49f5066597902ebe065d4
3,415
cpp
C++
recast_ros/src/nodes/test_planning_service_interactive.cpp
ori-drs/recast_ros
f1516d43578aa7550fbb3ee6d91bf4fe8eb773f8
[ "Zlib" ]
8
2020-04-13T16:34:35.000Z
2021-12-21T14:24:31.000Z
recast_ros/src/nodes/test_planning_service_interactive.cpp
ori-drs/recast_ros
f1516d43578aa7550fbb3ee6d91bf4fe8eb773f8
[ "Zlib" ]
3
2020-06-24T16:05:02.000Z
2022-01-18T08:15:20.000Z
recast_ros/src/nodes/test_planning_service_interactive.cpp
ori-drs/recast_ros
f1516d43578aa7550fbb3ee6d91bf4fe8eb773f8
[ "Zlib" ]
2
2021-02-20T08:39:36.000Z
2021-02-22T09:48:22.000Z
// // Copyright (c) 2019 Martim Brandão martim@robots.ox.ac.uk, Omer Burak Aladag aladagomer@sabanciuniv.edu, Ioannis Havoutis ioannis@robots.ox.ac.uk // As a part of Dynamic Robot Systems Group, Oxford Robotics Institute, University of Oxford // // This software is provided 'as-is', without any express or implied // w...
34.846939
147
0.70981
1a49226dab9c37637f639d113eaa776ed9b030cf
1,352
hpp
C++
Programming Guide/Headers/Siv3D/RenderTexture.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
38
2016-01-14T13:51:13.000Z
2021-12-29T01:49:30.000Z
Programming Guide/Headers/Siv3D/RenderTexture.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
null
null
null
Programming Guide/Headers/Siv3D/RenderTexture.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
16
2016-01-15T11:07:51.000Z
2021-12-29T01:49:37.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (C) 2008-2016 Ryo Suzuki // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Texture.hpp" namespace s3d { class RenderTexture : public Textur...
30.044444
178
0.699704
1a495c21c102171ec676f78c94de7d3c26d81452
2,096
cc
C++
src/graphics/bin/vulkan_loader/loader.cc
dreamboy9/fuchsia
4ec0c406a28f193fe6e7376ee7696cca0532d4ba
[ "BSD-2-Clause" ]
null
null
null
src/graphics/bin/vulkan_loader/loader.cc
dreamboy9/fuchsia
4ec0c406a28f193fe6e7376ee7696cca0532d4ba
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/graphics/bin/vulkan_loader/loader.cc
dreamboy9/fuchsia
4ec0c406a28f193fe6e7376ee7696cca0532d4ba
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2021 The Fuchsia 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 "src/graphics/bin/vulkan_loader/loader.h" #include <lib/fdio/directory.h> #include <lib/fdio/io.h> LoaderImpl::~LoaderImpl() { app_->RemoveObser...
32.75
100
0.689885
1a5413d982d8ec4139e18bfbc2ad0598067a66cb
1,803
hpp
C++
external/bayesopt/include/criteria/criteria_a_opt.hpp
pchrapka/brain-modelling
f232b5a858e45f10b0b0735269010454129ab017
[ "MIT" ]
1
2017-10-13T19:37:52.000Z
2017-10-13T19:37:52.000Z
external/bayesopt/include/criteria/criteria_a_opt.hpp
pchrapka/brain-modelling
f232b5a858e45f10b0b0735269010454129ab017
[ "MIT" ]
null
null
null
external/bayesopt/include/criteria/criteria_a_opt.hpp
pchrapka/brain-modelling
f232b5a858e45f10b0b0735269010454129ab017
[ "MIT" ]
1
2019-11-25T12:22:05.000Z
2019-11-25T12:22:05.000Z
/** \file criteria_a_opt.hpp \brief A-optimality (uncertainty) based criteria */ /* ------------------------------------------------------------------------- This file is part of BayesOpt, an efficient C++ library for Bayesian optimization. Copyright (C) 2011-2015 Ruben Martinez-Cantin <rmcantin@unizar.es> ...
31.086207
81
0.655019
1a55fef6e547e747fbd7704e3b90f38d875e7382
1,831
cc
C++
selfdrive/common/testparams/test_params.cc
lukeadams/openpilot
c3bd28c2d5029749c47ee03440b3cc509f786968
[ "MIT" ]
null
null
null
selfdrive/common/testparams/test_params.cc
lukeadams/openpilot
c3bd28c2d5029749c47ee03440b3cc509f786968
[ "MIT" ]
null
null
null
selfdrive/common/testparams/test_params.cc
lukeadams/openpilot
c3bd28c2d5029749c47ee03440b3cc509f786968
[ "MIT" ]
null
null
null
#include "selfdrive/common/params.h" #include <cstring> static const char* const kUsage = "%s: read|write|read_block params_path key [value]\n"; int main(int argc, const char* argv[]) { if (argc < 4) { printf(kUsage, argv[0]); return 0; } Params params(argv[2]); const char* key = argv[3]; if (strc...
29.063492
118
0.607318
1a5b1fb2d6c86019f43255d5c217e30395d9c968
7,517
cpp
C++
src/com/cyosp/mpa/api/rest/v1/MPAOFactory.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/api/rest/v1/MPAOFactory.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/api/rest/v1/MPAOFactory.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
/* * MPAOFactory.cpp * * Created on: 21 March 2015 * Author: cyosp */ #include <com/cyosp/mpa/api/rest/v1/MPAOFactory.hpp> namespace mpa_api_rest_v1 { // Initialize static member MPAOFactory * MPAOFactory::mpaofactory = NULL; MPAOFactory * MPAOFactory::getInstance() { if( mpaofact...
37.585
101
0.518159
1a5cad6550b20dbdefcd13178dd1e94768258ae2
3,141
cc
C++
src/tests/functionspace/test_reduced_halo.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
67
2018-03-01T06:56:49.000Z
2022-03-08T18:44:47.000Z
src/tests/functionspace/test_reduced_halo.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
93
2018-12-07T17:38:04.000Z
2022-03-31T10:04:51.000Z
src/tests/functionspace/test_reduced_halo.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
33
2018-02-28T17:06:19.000Z
2022-01-20T12:12:27.000Z
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
32.05102
96
0.559058
1a61d1a6a96afadc80416f46aaf1e217616dc71f
4,176
cpp
C++
Plugins/SPARK_PL/src/RenderingAPIs/PixelLight/SPK_PLLineRenderer.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Plugins/SPARK_PL/src/RenderingAPIs/PixelLight/SPK_PLLineRenderer.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Plugins/SPARK_PL/src/RenderingAPIs/PixelLight/SPK_PLLineRenderer.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: SPK_PLLineRenderer.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
42.612245
232
0.534722
1a680e179daa526101317eb8f2d21d4435439a12
1,803
cpp
C++
src/demo/main.cpp
Glockenspiel/Fibers4U
69dac46b0995164d16bdb048071f43909b1faf5f
[ "Apache-2.0" ]
1
2020-07-11T12:39:03.000Z
2020-07-11T12:39:03.000Z
src/demo/main.cpp
Glockenspiel/Fibers4U
69dac46b0995164d16bdb048071f43909b1faf5f
[ "Apache-2.0" ]
null
null
null
src/demo/main.cpp
Glockenspiel/Fibers4U
69dac46b0995164d16bdb048071f43909b1faf5f
[ "Apache-2.0" ]
null
null
null
#include "include/fbr.h" #include "Player.h" using namespace std; using namespace fbr; int main(){ Player *p = new Player(); BaseTask *printHP = new TaskArgs<>(&Player::printHp, p); TaskArgs<int> *taskArg = new TaskArgs<int>(&Player::addHp, p); int a = 20; taskArg->setArgs(a); TaskArgs<int, bool> *test = new...
25.757143
87
0.684415
1a6885151eed7a9c4445dd976ea5a82ec986cb63
898
cpp
C++
euler065.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler065.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler065.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> #include <utility> #include "continued_fraction.h" #include "largeint.h" using uInt = std::uint_fast32_t; using LInt = Euler::LargeInt<uInt>; using Fraction = std::pair<LInt, LInt>; // first: 分子, second: 分母 using namespace Euler::ContinuedFraction; int main(void) { constexp...
23.631579
68
0.635857
1a69b234e05419fabf8a71196bb209069b6d6387
3,385
cpp
C++
src/mfx/dsp/wnd/XFadeShape.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/dsp/wnd/XFadeShape.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/dsp/wnd/XFadeShape.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
/***************************************************************************** XFadeShape.cpp Author: Laurent de Soras, 2017 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the ...
19.454023
78
0.534417
1a6e268dde28804830c7cc3dcdd417023249b707
93
cpp
C++
Source/Nova/Game/NovaDestination.cpp
Sabrave/ShipBuilder
4610c16701ccb85d6f1e0de77f914e58bcf4de7e
[ "BSD-3-Clause" ]
17
2022-02-19T05:39:33.000Z
2022-03-01T01:56:19.000Z
Source/Nova/Game/NovaDestination.cpp
Frank1eJohnson/ShipBuilder
4610c16701ccb85d6f1e0de77f914e58bcf4de7e
[ "BSD-3-Clause" ]
null
null
null
Source/Nova/Game/NovaDestination.cpp
Frank1eJohnson/ShipBuilder
4610c16701ccb85d6f1e0de77f914e58bcf4de7e
[ "BSD-3-Clause" ]
null
null
null
// Nova project - Gwennaël Arbona #include "NovaDestination.h" #include "Nova/Nova.h"
15.5
34
0.688172
1a6f4a155ba3def3a2ad336ba461a65aed37ae45
5,536
cpp
C++
src/core.cpp
xiroV/ninja-castle-game
92b5adde81e68cc98c6a696d6b3f6837a17499ca
[ "MIT" ]
null
null
null
src/core.cpp
xiroV/ninja-castle-game
92b5adde81e68cc98c6a696d6b3f6837a17499ca
[ "MIT" ]
null
null
null
src/core.cpp
xiroV/ninja-castle-game
92b5adde81e68cc98c6a696d6b3f6837a17499ca
[ "MIT" ]
null
null
null
#include"core.h" Collision::Collision() {} void Collision::init(std::string filename) { std::ifstream inFile; this->center_point = glm::vec2(22.5, 31.0); this->player_position.push_back(glm::vec4(0, 0, 0, 0)); this->player_position.push_back(glm::vec4(0, 0, 0, 0)); std::vector<unsigned int> vert...
28.536082
144
0.53974
2b2dd61a9b564be843b5a4a768fe43e64162ec90
6,944
hpp
C++
INCLUDE/ServiceConfiguration.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
1
2021-03-29T06:09:19.000Z
2021-03-29T06:09:19.000Z
INCLUDE/ServiceConfiguration.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
INCLUDE/ServiceConfiguration.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
/* ** Author: Samuel R. Blackburn ** Internet: wfc@pobox.com ** ** Copyright, 1995-2019, Samuel R. Blackburn ** ** "You can get credit for something or get it done, but not both." ** Dr. Richard Garwin ** ** BSD License follows. ** ** Redistribution and use in source and binary forms, with or without ** modification, a...
45.986755
117
0.751296
2b303ea879083312a7aa10e39830d4871b6b87d2
14,571
cpp
C++
lib/sram/src/sram.cpp
sinanislekdemir/MedlarII
ca5923c7408aae6f71b8e9b79a569e4a8b9da5e8
[ "MIT" ]
2
2021-03-14T07:29:22.000Z
2021-03-15T16:02:14.000Z
lib/sram/src/sram.cpp
sinanislekdemir/MedlarII
ca5923c7408aae6f71b8e9b79a569e4a8b9da5e8
[ "MIT" ]
null
null
null
lib/sram/src/sram.cpp
sinanislekdemir/MedlarII
ca5923c7408aae6f71b8e9b79a569e4a8b9da5e8
[ "MIT" ]
null
null
null
#include "sram.h" #include <Arduino.h> #include <freemem.h> #include <mdisplay.h> #include <stdint.h> SRam::SRam() { } SRam::~SRam() { this->close(); } char *dtoc(double d) { char *value = reinterpret_cast<char *>(&d); return value; } double ctod(char *data) { double resp = *reinterpret_cast<double *co...
21.747761
100
0.49372
2b3437df2442f79b844247273b091143e02b3108
3,341
cpp
C++
Game.cpp
JankoDedic/TappyPlane
79b047e6343aaaa41fdf1281e4db9dfbb95bb0d2
[ "MIT" ]
1
2018-02-28T14:21:14.000Z
2018-02-28T14:21:14.000Z
Game.cpp
djanko1337/TappyPlane
79b047e6343aaaa41fdf1281e4db9dfbb95bb0d2
[ "MIT" ]
null
null
null
Game.cpp
djanko1337/TappyPlane
79b047e6343aaaa41fdf1281e4db9dfbb95bb0d2
[ "MIT" ]
1
2020-07-13T08:56:55.000Z
2020-07-13T08:56:55.000Z
#include "Game.hpp" #include "RectangleFunctions.hpp" #include "Renderer.hpp" namespace TappyPlane { using namespace SDLW::Video; using namespace SDLW::Events; constexpr auto backgroundSpritesheetHandle = "background"; constexpr auto backgroundBounds = canvasBounds; constexpr auto backgroundScrollSpeed = 0.5f; con...
24.566176
75
0.657887
2b3c6494fcf05fd98c75d47ed901c2fa1affe08f
24,449
cpp
C++
src/article.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
9
2020-04-01T04:15:22.000Z
2021-09-26T21:03:47.000Z
src/article.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
17
2020-04-02T19:38:40.000Z
2020-04-12T05:47:08.000Z
src/article.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /* SOURCE CONTROL VERSIONS */ /*---------------------------------------------------------------------------*/ /* ...
24.4002
95
0.598961
2b3f56c43262005553a7666cdfa8b342238ac1bd
3,199
hpp
C++
attributes/attribute.hpp
5cript/electronpp
03e257d62f2b939544c5d1c2d8718e58f2d71e34
[ "MIT" ]
null
null
null
attributes/attribute.hpp
5cript/electronpp
03e257d62f2b939544c5d1c2d8718e58f2d71e34
[ "MIT" ]
null
null
null
attributes/attribute.hpp
5cript/electronpp
03e257d62f2b939544c5d1c2d8718e58f2d71e34
[ "MIT" ]
null
null
null
#pragma once #include "generic_attribute.hpp" #include "../util/observer.hpp" #include <emscripten/val.h> #include <functional> #include <iostream> namespace CppDom::Attributes { template <typename ValueT> class Attribute : public GenericAttribute { public: Attribute(std::str...
26.438017
100
0.530166
2b422105b1d620f109831fd004da587a0acba6f1
3,431
cpp
C++
goldfilter/win32/msgpack_server.cpp
orinocoz/dripcap
096f464e8855da9882fbf0ec3294ff6d7e329dc9
[ "MIT" ]
5
2019-12-20T05:48:26.000Z
2021-10-13T12:32:50.000Z
goldfilter/win32/msgpack_server.cpp
orinocoz/dripcap
096f464e8855da9882fbf0ec3294ff6d7e329dc9
[ "MIT" ]
null
null
null
goldfilter/win32/msgpack_server.cpp
orinocoz/dripcap
096f464e8855da9882fbf0ec3294ff6d7e329dc9
[ "MIT" ]
2
2020-03-07T11:40:38.000Z
2022-01-24T22:37:40.000Z
#include "msgpack_server.hpp" #include <msgpack.hpp> typedef long ssize_t; typedef std::basic_string<TCHAR> tstring; inline void operator<<(tstring &t, const std::string &s) { #ifdef _UNICODE if (s.size() > 0) { t.resize(s.size() + 1); size_t length = 0; mbstowcs_s(&length, &t[0], t.size(...
21.179012
97
0.558146
2b423a2bbdd5dc4457462f2f23e00bd3dc3cf5b4
190
cpp
C++
flare_skia/src/skr_actor_star.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
14
2019-04-29T15:17:24.000Z
2020-12-30T12:51:05.000Z
flare_skia/src/skr_actor_star.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
null
null
null
flare_skia/src/skr_actor_star.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
6
2019-04-29T15:17:25.000Z
2021-11-16T03:20:59.000Z
#include "flare_skia/skr_actor_star.hpp" using namespace flare; SkrActorStar::SkrActorStar() : SkrActorBasePath(this) {} void SkrActorStar::invalidateDrawable() { m_IsPathValid = false; }
27.142857
66
0.784211
2b47e6487736be4f7af55e23d51fc838ea6e9d7f
4,965
cc
C++
content/renderer/pepper/ppb_tcp_socket_private_impl.cc
MIPS/external-chromium_org
e31b3128a419654fd14003d6117caa8da32697e7
[ "BSD-3-Clause" ]
2
2017-03-21T23:19:25.000Z
2019-02-03T05:32:47.000Z
content/renderer/pepper/ppb_tcp_socket_private_impl.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/pepper/ppb_tcp_socket_private_impl.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.000Z
// Copyright (c) 2012 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/renderer/pepper/ppb_tcp_socket_private_impl.h" #include "content/common/pepper_messages.h" #include "content/renderer/pepper/host_g...
34.964789
80
0.749446
2b4859e0cf3cce1bcdb6792c1ddba2420c735dfa
11,602
cpp
C++
hi_modules/nodes/FXNodes.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
hi_modules/nodes/FXNodes.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
hi_modules/nodes/FXNodes.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE 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,...
20.390158
110
0.658593
2b4df60058134010d44cb4d759db34fe24b65a3b
7,330
cpp
C++
src/gameworld/gameworld/other/fb/rolestoryfb.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/other/fb/rolestoryfb.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/other/fb/rolestoryfb.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#include "rolestoryfb.hpp" #include "obj/character/role.h" #include "config/logicconfigmanager.hpp" #include "other/vip/vipconfig.hpp" #include "other/fb/storyfbconfig.hpp" #include "servercommon/errornum.h" #include "protocal/msgfb.h" #include "other/event/eventhandler.hpp" #include "monster/monsterpool.h" #include "...
22.978056
156
0.715825
2b4e6076e6ed4c30ab1de9d92ebdfbe43d6fc701
4,120
cpp
C++
src/parsing.cpp
MicroTransactionsMatterToo/midiparser-cpp
1e95cc445dc4a0411c2ba0bbfd1814dffa368c47
[ "MIT" ]
null
null
null
src/parsing.cpp
MicroTransactionsMatterToo/midiparser-cpp
1e95cc445dc4a0411c2ba0bbfd1814dffa368c47
[ "MIT" ]
null
null
null
src/parsing.cpp
MicroTransactionsMatterToo/midiparser-cpp
1e95cc445dc4a0411c2ba0bbfd1814dffa368c47
[ "MIT" ]
null
null
null
// Copyright Ennis Massey 18/12/16 // // Created by Ennis Massey on 18/12/16. // #include "parsing.h" uint32_t midiparser::ParseUint32(std::ifstream &input_file) { // If the file isn't open, return 0 if (!input_file.is_open()) { return (uint32_t) 0; } // Create buffer char buffer[4]; ...
24.819277
83
0.583252
2b4fd467987270f15e141aee6f8c40202a83aa58
1,165
cpp
C++
protocol/src/protocol.cpp
danielmiester/OpenSlider
a374db0fe4b2f9b9e397b9052f0af5fbe8369211
[ "MIT" ]
null
null
null
protocol/src/protocol.cpp
danielmiester/OpenSlider
a374db0fe4b2f9b9e397b9052f0af5fbe8369211
[ "MIT" ]
null
null
null
protocol/src/protocol.cpp
danielmiester/OpenSlider
a374db0fe4b2f9b9e397b9052f0af5fbe8369211
[ "MIT" ]
null
null
null
#include "protocol.h" //#123:123,123; Protocol::Protocol(address_t addr){ _buf = malloc(PROTOCOL_BUF_SIZE); _address = addr; _command = Protocol::VERB::IDLE; } Protocol::inputData(size_t len, char* data){ } Protocol::setAddress(address_t addr){ _address = addr; } Protocol::stateMachine(char data){ switch...
21.981132
55
0.569099
2b531c733edd0986429110aec5a426add9e73335
354
hpp
C++
ntd/vector.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
ntd/vector.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
292
2020-03-19T22:38:52.000Z
2022-03-05T22:49:34.000Z
ntd/vector.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
#pragma once #include <natus/memory/allocator.hpp> #include <vector> namespace natus { namespace ntd { //template< typename T > //using vector = ::std::vector< T, natus::memory::allocator<T> > ; // for now, we use the default allocator template< typename T > using vec...
19.666667
74
0.581921
2b5441573aab4a4ad911786a7ae38e80d31a1a94
2,276
cpp
C++
src/camera.cpp
LesleyLai/GLGrassRenderer
34c9a4822f1908e35620f10298839c96ab830958
[ "Apache-2.0" ]
57
2019-02-24T00:54:07.000Z
2022-03-09T22:08:59.000Z
src/camera.cpp
LesleyLai/GLGrassRenderer
34c9a4822f1908e35620f10298839c96ab830958
[ "Apache-2.0" ]
null
null
null
src/camera.cpp
LesleyLai/GLGrassRenderer
34c9a4822f1908e35620f10298839c96ab830958
[ "Apache-2.0" ]
11
2019-08-30T13:04:10.000Z
2021-12-25T04:03:49.000Z
#include "camera.hpp" Camera::Camera(glm::vec3 position, glm::vec3 up, float yaw, float pitch) : front_(glm::vec3(0.0f, 0.0f, -1.0f)), speed_(initial_speed), mouse_sensitivity_(init_sensitivity), zoom_(init_zoom) { position_ = position; world_up_ = up; yam_ = yaw; pitch_ = pitch; update_c...
26.776471
79
0.614675
2b5c0973d77dc6cbcd0829a6c30084dc53a6eb39
112
cc
C++
src/messages/reply.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
17
2016-11-27T13:13:40.000Z
2021-09-07T06:42:25.000Z
src/messages/reply.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
22
2017-01-18T06:10:18.000Z
2019-05-15T03:49:19.000Z
src/messages/reply.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
5
2017-07-24T15:19:32.000Z
2022-02-19T09:11:01.000Z
#include "reply.hh" using namespace eclipse::messages; std::string Reply::get_type() const { return "Reply"; }
22.4
55
0.723214
2b605c0a5c1cfdd09444dd5187f3d3a7193f9301
1,994
hpp
C++
include/Zelta/Core/RenderLayer.hpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2018-01-28T21:35:14.000Z
2018-01-28T21:35:14.000Z
include/Zelta/Core/RenderLayer.hpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2018-01-23T02:03:45.000Z
2018-01-23T02:03:45.000Z
include/Zelta/Core/RenderLayer.hpp
rafaelgc/ESE
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
null
null
null
#ifndef ZELTALIB_LAYER_HPP #define ZELTALIB_LAYER_HPP #include <vector> #include <SFML/Graphics/Drawable.hpp> // Base class: sf::Drawable #include <SFML/Graphics/RenderTarget.hpp> namespace zt { /** * @brief Container for drawable objects. * This class allows you to group sf::Drawable elements such as...
26.236842
83
0.549147
2b6481839159df93be542ffbc8d7757e642639bd
1,127
cpp
C++
src/gpu_monitor_hip.cpp
enp1s0/gpu_monitor
3d1ebb39803861e57670d08ead883d1208d6e35b
[ "MIT" ]
null
null
null
src/gpu_monitor_hip.cpp
enp1s0/gpu_monitor
3d1ebb39803861e57670d08ead883d1208d6e35b
[ "MIT" ]
null
null
null
src/gpu_monitor_hip.cpp
enp1s0/gpu_monitor
3d1ebb39803861e57670d08ead883d1208d6e35b
[ "MIT" ]
null
null
null
#include <hiptf/device.hpp> #include <hiptf/rsmi.hpp> #include "gpu_monitor_hip.hpp" void mtk::gpu_monitor::gpu_monitor_hip::init() { HIPTF_CHECK_ERROR(rsmi_init(0)); } void mtk::gpu_monitor::gpu_monitor_hip::shutdown() { } std::size_t mtk::gpu_monitor::gpu_monitor_hip::get_num_devices() const { return hiptf::devi...
28.175
101
0.785271
2b6a60525f50008936b2c335749c76337bbd685d
935
cpp
C++
test/example/executor/strand.cpp
YACLib/YACLib
fa5e13cdcc1f719e6b6363ba25a4791315e66916
[ "MIT" ]
106
2021-07-04T01:10:18.000Z
2022-03-21T00:58:27.000Z
test/example/executor/strand.cpp
YACLib/YACLib
fa5e13cdcc1f719e6b6363ba25a4791315e66916
[ "MIT" ]
119
2021-07-10T14:26:24.000Z
2022-03-22T22:48:18.000Z
test/example/executor/strand.cpp
YACLib/YACLib
fa5e13cdcc1f719e6b6363ba25a4791315e66916
[ "MIT" ]
7
2021-07-23T11:23:04.000Z
2021-11-13T20:22:56.000Z
/** * \example strand.cpp * Simple \ref Strand examples */ #include <yaclib/executor/strand.hpp> #include <yaclib/executor/thread_pool.hpp> #include <iostream> #include <gtest/gtest.h> using namespace yaclib; TEST(Example, Strand) { std::cout << "Strand" << std::endl; auto tp = MakeThreadPool(4); auto s...
18.7
110
0.59893
2b6d76ef984531a8a4aa2be05d6e7ede8a9f96a9
12,142
cpp
C++
src/c++/lib/model/IntervalGenerator.cpp
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
28
2015-05-22T16:03:29.000Z
2022-01-15T12:12:46.000Z
src/c++/lib/model/IntervalGenerator.cpp
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
15
2015-10-21T11:19:09.000Z
2020-07-15T05:01:12.000Z
src/c++/lib/model/IntervalGenerator.cpp
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
8
2017-01-21T00:31:17.000Z
2018-08-12T13:28:57.000Z
/** ** Copyright (c) 2014 Illumina, Inc. ** ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE), ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file) ** ** \description Generation of random/uniform intervals with precise boundaries ** Based on: ** [1] Jon Louis...
37.36
357
0.674848
2b6edefa630bd18dcd564cccb200219b6dcbb4d4
4,791
cpp
C++
src/web/downloadthread.cpp
quizzmaster/chemkit
803e4688b514008c605cb5c7790f7b36e67b68fc
[ "BSD-3-Clause" ]
34
2015-01-24T23:59:41.000Z
2020-11-12T13:48:01.000Z
src/web/downloadthread.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
4
2015-12-28T20:29:16.000Z
2016-01-26T06:48:19.000Z
src/web/downloadthread.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
17
2015-01-23T14:50:24.000Z
2021-06-10T15:43:50.000Z
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
33.041379
86
0.615947
2b6feb5740721ab22d1b8a61391e5f5f9cb7af52
60
cpp
C++
common/UIOverlay.cpp
daozhangXDZ/OpenGLES_Examples
9266842fbd0ae899446b6ccda9cd63eeeaf1451f
[ "MIT" ]
248
2019-06-04T16:46:24.000Z
2022-02-13T11:21:14.000Z
common/UIOverlay.cpp
YKHahahaha/OpenGLES_Examples
b3451184bb5fffd2d6e8390ece93ca6cfcf80bfc
[ "MIT" ]
null
null
null
common/UIOverlay.cpp
YKHahahaha/OpenGLES_Examples
b3451184bb5fffd2d6e8390ece93ca6cfcf80bfc
[ "MIT" ]
40
2019-07-18T09:59:22.000Z
2021-09-17T13:00:05.000Z
// Implementation of Common library #include "UIOverlay.h"
20
36
0.766667
2b763a401e508f70e6f79004fda13fa62b744358
10,614
cpp
C++
mpegts/mpegts/mpegts_muxer.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
1
2020-06-16T11:45:26.000Z
2020-06-16T11:45:26.000Z
mpegts/mpegts/mpegts_muxer.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
null
null
null
mpegts/mpegts/mpegts_muxer.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
null
null
null
#include "mpegts_muxer.h" #include "simple_buffer.h" #include "ts_packet.h" #include "crc.h" #include <string.h> #include "common.h" static const uint16_t MPEGTS_NULL_PACKET_PID = 0x1FFF; static const uint16_t MPEGTS_PAT_PID = 0x00; static const uint16_t MPEGTS_PMT_PID = 0x100; static const uint16_t MPEGTS_P...
36.102041
129
0.63746
2b7686c4291f08c186373e586ed0a4847757da18
632
hpp
C++
include/DynamicBitset.hpp
GiugnoLab/GRASS
2b65b37b03988a842318256e9b364d91221adabd
[ "Intel", "MIT" ]
1
2022-03-03T03:32:45.000Z
2022-03-03T03:32:45.000Z
include/DynamicBitset.hpp
GiugnoLab/GRASS
2b65b37b03988a842318256e9b364d91221adabd
[ "Intel", "MIT" ]
null
null
null
include/DynamicBitset.hpp
GiugnoLab/GRASS
2b65b37b03988a842318256e9b364d91221adabd
[ "Intel", "MIT" ]
null
null
null
/* * Dynamic Bitset Class powered by Mingz & Frank * Version 1.0 */ #ifndef DYNAMICBITSET_H #define DYNAMICBITSET_H #include <iostream> #include <cstring> #include <cstdlib> #include <cmath> using namespace std; #define BIT_PER_DATASET_TYPE 8 typedef unsigned char dataset_t; class DynamicBitset { public: Dyna...
15.414634
48
0.72943
2b795362dfcbc6fe454f61ae890685908c7f1d6f
694
cpp
C++
flex-engine/src/flex-engine/Log.cpp
flexed-team/flex-engine
481f40a431a33a9f1a4cc0de95edb7dc81aba34e
[ "Apache-2.0" ]
null
null
null
flex-engine/src/flex-engine/Log.cpp
flexed-team/flex-engine
481f40a431a33a9f1a4cc0de95edb7dc81aba34e
[ "Apache-2.0" ]
null
null
null
flex-engine/src/flex-engine/Log.cpp
flexed-team/flex-engine
481f40a431a33a9f1a4cc0de95edb7dc81aba34e
[ "Apache-2.0" ]
null
null
null
#include "log.hpp" namespace FE { std::shared_ptr<spdlog::logger> Log::s_core_logger; std::shared_ptr<spdlog::logger> Log::s_client_logger; void Log::init() { // See spdlog [wiki](https://github.com/gabime/spdlog/wiki) for more pattern settings // ^ - start color range // T - ISO 8601 time format // n - ...
26.692308
87
0.680115
2b7dfcb07b052af8e1404f5f78aab97ae12524d8
1,842
cc
C++
src/attributes/Akima474MethodWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
41
2018-12-07T23:10:50.000Z
2022-02-19T03:01:49.000Z
src/attributes/Akima474MethodWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
59
2019-01-04T15:43:30.000Z
2022-03-31T09:48:15.000Z
src/attributes/Akima474MethodWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
13
2019-01-07T14:36:33.000Z
2021-09-06T14:48:36.000Z
/****************************** LICENSE ******************************* * (C) Copyright 1996-2017 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the pr...
22.192771
109
0.711726
2b88daacbff2a89f428e813af6cdbe47db5703b9
8,677
hxx
C++
com/ole32/olethunk/h/interop.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/ole32/olethunk/h/interop.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/ole32/olethunk/h/interop.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1994. // // File: interop.hxx // // Contents: Common definitions for the interop project // // History: 18-Feb-94 DrewB Created // //----...
30.660777
85
0.530483
2b8b20fd3f2f2b67388e511070ed3135875ff451
1,362
cpp
C++
aws-cpp-sdk-cloudtrail/source/model/ListEventDataStoresResult.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-cloudtrail/source/model/ListEventDataStoresResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-cloudtrail/source/model/ListEventDataStoresResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "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/cloudtrail/model/ListEventDataStoresResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #includ...
27.24
126
0.768722
2b957045c492074cd0090fa7e5a5a8b75985c999
2,954
cpp
C++
source/RegistCallback.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
source/RegistCallback.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
source/RegistCallback.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
#include "ns/RegistCallback.h" #include "ns/CompSerializer.h" #include "ns/CompNoSerialize.h" #include "ns/N0CompComplex.h" #include <node0/CompComplex.h> #include "ns/N2CompAnim.h" #include <node2/CompAnim.h> #include "ns/N2CompColorCommon.h" #include <node2/CompColorCommon.h> #include "ns/N2CompColorMap.h" #include...
27.607477
57
0.756601
2b9629798298c6704a0c43083e35af2d7e4529af
145
inl
C++
Projects/CygnusAuxBoardMonitor/Resources/ConfigurationXML_info.inl
hightower70/CygnusGroundStationDev
9fd709f28a67adb293a99c5c251b4ed89e755db3
[ "BSD-2-Clause" ]
1
2019-04-23T05:24:16.000Z
2019-04-23T05:24:16.000Z
Projects/CygnusAuxBoardMonitor/Resources/ConfigurationXML_info.inl
hightower70/CygnusGroundStationDev
9fd709f28a67adb293a99c5c251b4ed89e755db3
[ "BSD-2-Clause" ]
1
2016-08-16T13:05:39.000Z
2016-08-16T13:05:39.000Z
Projects/CygnusAuxBoardMonitor/Resources/ConfigurationXML_info.inl
hightower70/CygnusGroundStationDev
9fd709f28a67adb293a99c5c251b4ed89e755db3
[ "BSD-2-Clause" ]
1
2018-06-24T14:51:20.000Z
2018-06-24T14:51:20.000Z
0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x02, 0x0A, 0x03, 0x00, 0x02, 0x0A, 0x05, 0x00, 0x02, 0x03, 0x07, 0x00, 0x02, 0x0A, 0x09, 0x00, 0x02, 0x03
48.333333
96
0.662069
2b9cbd43fc10d98d1346ed20f4b7af95539df4fb
12,800
cpp
C++
src/providers/postgres/qgspostgresprojectstorage.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/providers/postgres/qgspostgresprojectstorage.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/providers/postgres/qgspostgresprojectstorage.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgspostgresprojectstorage.cpp --------------------- begin : April 2018 copyright : (C) 2018 by Martin Dobias email : wonder dot sk at gmail dot com *********************************...
37.317784
278
0.672969
2b9d7e925eb9565282276d2ef7e186d71bfa2bba
16,851
cc
C++
tests/ut/cpp/dataset/c_api_audio_a_to_q_test.cc
LottieWang/mindspore
1331c7e432fb691d1cfa625ab7cc7451dcfc7ce0
[ "Apache-2.0" ]
null
null
null
tests/ut/cpp/dataset/c_api_audio_a_to_q_test.cc
LottieWang/mindspore
1331c7e432fb691d1cfa625ab7cc7451dcfc7ce0
[ "Apache-2.0" ]
null
null
null
tests/ut/cpp/dataset/c_api_audio_a_to_q_test.cc
LottieWang/mindspore
1331c7e432fb691d1cfa625ab7cc7451dcfc7ce0
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
30.471971
98
0.699958
2b9e3b7072aa6eac36c65a288f0b47b2c92fdab0
2,406
cpp
C++
Examples/Chess/src/chess-application.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
2
2018-01-02T14:07:54.000Z
2021-07-05T08:05:21.000Z
Examples/Chess/src/chess-application.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
Examples/Chess/src/chess-application.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
#include "chess-application.h" #include <GLFW/glfw3.h> #include <chrono> #include <iostream> #include <random> #include "selection-rendering-stage.h" using namespace bembel; ChessApplication::ChessApplication() : kernel::Application() { this->graphic_system = this->kernel->addSystem<graphics::GraphicSystem>()...
32.08
99
0.715711
2ba7bcde3e5dfc15bf94af1a4d55546f3cfbba51
14,693
cpp
C++
macros/phi_correlation_he6_carbon_compare.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
macros/phi_correlation_he6_carbon_compare.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
macros/phi_correlation_he6_carbon_compare.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
#include <iostream> #include "init_6he_ds.hpp" #include "TChain.h" void hdraw(TTree& tree, TString name, TString draw_cmd, TString binning, TCut cuts = "", TString title = "", TString xaxis_title = "", TString yaxis_title = "", TString draw_opts = "colz") { TString hstr = TString::...
38.064767
100
0.574355
2ba8b7704ef008a72827b0bfff98fe3808468963
10,557
cpp
C++
src/drivers/milliped.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/milliped.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/milliped.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/*************************************************************************** Millipede memory map (preliminary) 0400-040F POKEY 1 0800-080F POKEY 2 1000-13BF SCREEN RAM (8x8 TILES, 32x30 SCREEN) 13C0-13CF SPRITE IMAGE OFFSETS 13D0-13DF SPRITE HORIZONTAL OFFSETS 13E0-13EF SPRITE VER...
29.822034
134
0.637586
ad9601f7ae49dc17671c16c6096ce479c6bbd639
9,600
cpp
C++
quake_framebuffer/quake_framebuffer/sv_move.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
4
2018-07-03T14:21:39.000Z
2021-06-01T06:12:14.000Z
quake_framebuffer/quake_framebuffer/sv_move.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
quake_framebuffer/quake_framebuffer/sv_move.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (C) 1996-1997 Id Software, Inc. 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 version. This program is distributed in th...
22.535211
92
0.621354
ad9c6825a96c1b09f45c58d1bd81ce77443d5dae
196
cpp
C++
tests/test_model.cpp
shakfu/prolog
9d6621e3e723b0bd899bd963fe4a4125cf57671c
[ "Unlicense" ]
null
null
null
tests/test_model.cpp
shakfu/prolog
9d6621e3e723b0bd899bd963fe4a4125cf57671c
[ "Unlicense" ]
null
null
null
tests/test_model.cpp
shakfu/prolog
9d6621e3e723b0bd899bd963fe4a4125cf57671c
[ "Unlicense" ]
null
null
null
#include "doctest.h" #include "model/vehicle.hpp" TEST_CASE("testing vehicle") { model::Vehicle v; v.brand = "x"; v.cost = 10.0; v.weight = 5.0; CHECK(v.cost_per_kg() == 2.0); }
14
34
0.591837
ad9db69271a9151979b183ac511aa504315c42c6
1,106
cpp
C++
c++/dp/MiniSqaureCut.cpp
Nk095291/pepcoding
fb57f8fa58c155d38bdbc47824f547e24c0804b6
[ "MIT" ]
1
2020-04-24T05:45:44.000Z
2020-04-24T05:45:44.000Z
c++/dp/MiniSqaureCut.cpp
Nk095291/pepcoding
fb57f8fa58c155d38bdbc47824f547e24c0804b6
[ "MIT" ]
null
null
null
c++/dp/MiniSqaureCut.cpp
Nk095291/pepcoding
fb57f8fa58c155d38bdbc47824f547e24c0804b6
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<climits> using namespace std; int solve(vector<vector<int>>&res, int b,int l){ if(l<=0||b<=0) return 0; if(l==b) return 0; if(res[b][l]!=INT_MAX) return res[b][l]; for(int i =1;i<=min(b,l);i++){ int p1v=solve(res,b-i...
21.269231
57
0.507233
ada146d03ec82a7927462795c75ab534000fad54
451
cpp
C++
Arrays - Reverse array/Arrays - Reverse array/Source.cpp
CHList/CS-305
731a192fb8ef38bde2e845733d43fd63e4129695
[ "MIT" ]
null
null
null
Arrays - Reverse array/Arrays - Reverse array/Source.cpp
CHList/CS-305
731a192fb8ef38bde2e845733d43fd63e4129695
[ "MIT" ]
null
null
null
Arrays - Reverse array/Arrays - Reverse array/Source.cpp
CHList/CS-305
731a192fb8ef38bde2e845733d43fd63e4129695
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void reverseArray(int [], int); int main() { const int size = 6; int list[size] = { 1,6,7,9,2,5 }; reverseArray(list, size); cout << list[0]; for (int i = 1; i < size; i++) { cout << "," << list[i]; } cout << endl; return 0; } void reverseArray(int list[], int size) ...
18.791667
41
0.552106
ada2e2c33c4a1f6ea0a55e19426f4182afc20be6
1,115
cpp
C++
03-composition-references/1-reference/assign_a_reference.cpp
nofar88/cpp-5782
473c68627fc0908fdef8956caf1e1d2267c9417b
[ "MIT" ]
14
2021-01-30T16:36:18.000Z
2022-03-30T17:24:44.000Z
03-composition-references/1-reference/assign_a_reference.cpp
dimastar2310/cpp-5781
615ba07e0841522df74384f380172557f5e305a7
[ "MIT" ]
1
2022-03-02T20:55:14.000Z
2022-03-02T20:55:14.000Z
03-composition-references/1-reference/assign_a_reference.cpp
dimastar2310/cpp-5781
615ba07e0841522df74384f380172557f5e305a7
[ "MIT" ]
16
2021-03-02T11:13:41.000Z
2021-07-09T14:18:15.000Z
/** * Demonstrates assigning values to references in C++. * * @author Erel Segal-Halevi * @since 2018-02 */ #include <iostream> using namespace std; int main() { int* p1; //int& r1; // compile error int num = 1, num2 = 999; cout << "Pointer:" << endl; int* pnum = &num; cout << "pnum = ...
30.135135
76
0.442152
ada55c5ef838ebe62e9bdce02ea66a59bd917970
2,347
cc
C++
chrome/chrome_cleaner/mojom/typemaps/string16_embedded_nulls_mojom_traits.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/chrome_cleaner/mojom/typemaps/string16_embedded_nulls_mojom_traits.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/chrome_cleaner/mojom/typemaps/string16_embedded_nulls_mojom_traits.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2018 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 "chrome/chrome_cleaner/mojom/typemaps/string16_embedded_nulls_mojom_traits.h" namespace mojo { using chrome_cleaner::mojom::NullValueDataView; ...
34.514706
86
0.737963
ada5da0873736248a9ef99e8067522d738188fd2
838
cpp
C++
UbiGame_Blank/Source/Game/Util/WallManager.cpp
AdrienPringle/HTN-team-brain-damage
f234bd1e46bd83f5c2a8af5535d3e795e0b8d985
[ "MIT" ]
null
null
null
UbiGame_Blank/Source/Game/Util/WallManager.cpp
AdrienPringle/HTN-team-brain-damage
f234bd1e46bd83f5c2a8af5535d3e795e0b8d985
[ "MIT" ]
null
null
null
UbiGame_Blank/Source/Game/Util/WallManager.cpp
AdrienPringle/HTN-team-brain-damage
f234bd1e46bd83f5c2a8af5535d3e795e0b8d985
[ "MIT" ]
null
null
null
#include "WallManager.h" #include "GameEngine/GameEngineMain.h" #include "Game/GameEntities/WallEntity.h" using namespace Game; WallManager* WallManager::sm_instance = nullptr; WallManager::WallManager(){ wasMouseDown = true; } WallManager::~WallManager(){ } void WallManager::Update(){ //spawn wall on mo...
23.942857
92
0.689737
adad1ee2fe75ed250ac64d745fa10f209da9c2a0
735
cpp
C++
ESOData/Filesystem/DataFileHeader.cpp
FloorBelow/ESOData
eb35a95ec64d56c5842c4df85bc844e06fc72582
[ "MIT" ]
1
2021-12-20T02:46:34.000Z
2021-12-20T02:46:34.000Z
ESOData/Filesystem/DataFileHeader.cpp
rekiofoldhome/ESOData
3c176110e7fa37fcff0b74b0bf0649f7251e59ed
[ "MIT" ]
null
null
null
ESOData/Filesystem/DataFileHeader.cpp
rekiofoldhome/ESOData
3c176110e7fa37fcff0b74b0bf0649f7251e59ed
[ "MIT" ]
1
2021-06-10T03:00:46.000Z
2021-06-10T03:00:46.000Z
#include <ESOData/Filesystem/DataFileHeader.h> #include <ESOData/Serialization/SerializationStream.h> #include <stdexcept> namespace esodata { SerializationStream &operator <<(SerializationStream &stream, const DataFileHeader &header) { stream << DataFileHeader::Signature; stream << header.version; stream <<...
24.5
94
0.742857
adb86ae40f02307ae6ef47ba88df07ccb71ad290
3,225
hpp
C++
src/xml/Xml.hpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
1
2021-08-07T13:02:01.000Z
2021-08-07T13:02:01.000Z
src/xml/Xml.hpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
src/xml/Xml.hpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
#pragma once #include<../thirdparty/tinyxml/tinyxml.h> #include<memory> #include<fstream> namespace tutorial { class XMLAttribute { public: XMLAttribute() : _attrib(nullptr) {} XMLAttribute(TiXmlAttribute *attrib) : _attrib(attrib) {} bool is_empty() const { return _attrib == nullptr; } const char* name()...
23.201439
99
0.671628
adb8aa8e189ae91a5b8983a0055f5d806bda8ccf
14,417
cpp
C++
aeron-driver/src/test/c/aeron_errors_test.cpp
dao-hackathon-dwtl-term/aeron
349fa0820e4c88fe38f1b1252508430c241a268c
[ "Apache-2.0" ]
1
2020-02-17T20:03:48.000Z
2020-02-17T20:03:48.000Z
aeron-driver/src/test/c/aeron_errors_test.cpp
dao-hackathon-dwtl-term/aeron
349fa0820e4c88fe38f1b1252508430c241a268c
[ "Apache-2.0" ]
null
null
null
aeron-driver/src/test/c/aeron_errors_test.cpp
dao-hackathon-dwtl-term/aeron
349fa0820e4c88fe38f1b1252508430c241a268c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014-2020 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
31.273319
119
0.697371
adbc18e69243df5c6ea4b52bfeae1e38d8b83f58
6,237
cpp
C++
levelManager.cpp
LEpigeon888/IndevBuggedGame
c99f9bc64d3b52fca830be4a79fb81dbdb8f97d7
[ "Zlib" ]
null
null
null
levelManager.cpp
LEpigeon888/IndevBuggedGame
c99f9bc64d3b52fca830be4a79fb81dbdb8f97d7
[ "Zlib" ]
null
null
null
levelManager.cpp
LEpigeon888/IndevBuggedGame
c99f9bc64d3b52fca830be4a79fb81dbdb8f97d7
[ "Zlib" ]
null
null
null
#include <fstream> #include <utility> #include "blockManager.hpp" #include "eventManager.hpp" #include "global.hpp" #include "levelManager.hpp" #include "utilities.hpp" void LevelManager::setBlockHere(std::map<Point, std::unique_ptr<Block>>& currentMap, BlockId idOfBlock, int xBlock, i...
36.473684
118
0.636364
adbecc30a0fe5a2dbe4ac91abdf0b678606a2c3f
955
cpp
C++
src/mxml/parsing/MordentHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
18
2016-05-22T00:55:28.000Z
2021-03-29T08:44:23.000Z
src/mxml/parsing/MordentHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
6
2017-05-17T13:20:09.000Z
2018-10-22T20:00:57.000Z
src/mxml/parsing/MordentHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
14
2016-05-12T22:54:34.000Z
2021-10-19T12:43:16.000Z
// Copyright © 2016 Venture Media Labs. // // This file is part of mxml. The full mxml copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "MordentHandler.h" #include "EmptyPlacementHandler....
30.806452
110
0.736126
adbfd05a98256bf85511a02bd842b3c4af93c5bb
2,714
cpp
C++
NES/Mapper/Mapper068.cpp
chittleskuny/virtuanes
f2528f24108ebde6c2e123920423d95e086d86bc
[ "MIT" ]
null
null
null
NES/Mapper/Mapper068.cpp
chittleskuny/virtuanes
f2528f24108ebde6c2e123920423d95e086d86bc
[ "MIT" ]
null
null
null
NES/Mapper/Mapper068.cpp
chittleskuny/virtuanes
f2528f24108ebde6c2e123920423d95e086d86bc
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // Mapper068 SunSoft (After Burner II) // ////////////////////////////////////////////////////////////////////////// void Mapper068::Reset() { reg[0] = reg[1] = reg[2] = reg[3] = 0; coin = 0; SetPROM_...
20.876923
75
0.51437
adc1c288c47b2f985cdf0a31fa43588ec7f4688d
3,976
cpp
C++
cabal_ep8_costumeext/src/main.cpp
Michael-Kelley/CABAL-Online-EP8-Costume-Limit-Extender
245001bafbd62db929f9ba2ae0282b2920239ba7
[ "MIT" ]
6
2019-06-15T14:50:30.000Z
2021-01-01T15:51:38.000Z
cabal_ep8_costumeext/src/main.cpp
Michael-Kelley/CABAL-Online-EP8-Costume-Limit-Extender
245001bafbd62db929f9ba2ae0282b2920239ba7
[ "MIT" ]
null
null
null
cabal_ep8_costumeext/src/main.cpp
Michael-Kelley/CABAL-Online-EP8-Costume-Limit-Extender
245001bafbd62db929f9ba2ae0282b2920239ba7
[ "MIT" ]
2
2019-06-29T12:09:33.000Z
2021-01-01T15:51:39.000Z
#define WIN32_LEAN_AND_MEAN #define VC_EXTRALEAN #include <Windows.h> #include <cstdint> #include <string> #include <WinSock2.h> // DO NOT ENABLE THIS! THE CODE FOR THIS DOES NOT WORK YET. #define EXTENDED_HOOK 0 const std::uintptr_t find_costume_mesh_addr = 0xC8CC0U; const std::uintptr_t ech_read_meshes_addr = 0xDA...
22.850575
131
0.669517
adccb5f1b156054bc25860aecc8c8c7d649bfd59
14,637
cpp
C++
Source/Client/IM-Client/IMClient/HttpDownloader.cpp
InstantBusinessNetwork/IBN
bbcf47de56bfc52049eeb2e46677642a28f38825
[ "MIT" ]
21
2015-07-22T15:22:41.000Z
2021-03-23T05:40:44.000Z
Source/Client/IM-Client/IMClient/HttpDownloader.cpp
InstantBusinessNetwork/IBN
bbcf47de56bfc52049eeb2e46677642a28f38825
[ "MIT" ]
11
2015-10-19T07:54:10.000Z
2021-09-01T08:47:56.000Z
Source/Client/IM-Client/IMClient/HttpDownloader.cpp
InstantBusinessNetwork/IBN
bbcf47de56bfc52049eeb2e46677642a28f38825
[ "MIT" ]
16
2015-07-22T15:23:09.000Z
2022-01-17T10:49:43.000Z
// HttpDownloader.cpp: implementation of the CHttpDownloader class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "HttpDownloader.h" #include "Resource.h" #include "GlobalFunction.h" #include "atlenc.h" #ifdef _DEBUG #undef THIS_FILE static char T...
23.27027
169
0.662909
adccb8a5662a5de17434c419c0a66ffe388f5e52
1,012
cc
C++
stl/containers/map/unordered_map.cc
curoky/dumbo
d0aae7b239a552ff670795ae51c3452c9e28f63d
[ "Apache-2.0" ]
null
null
null
stl/containers/map/unordered_map.cc
curoky/dumbo
d0aae7b239a552ff670795ae51c3452c9e28f63d
[ "Apache-2.0" ]
null
null
null
stl/containers/map/unordered_map.cc
curoky/dumbo
d0aae7b239a552ff670795ae51c3452c9e28f63d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 curoky(cccuroky@gmail.com). * * 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 l...
37.481481
120
0.720356
add35b5bbe2b0962674ac0b421017a86f1f02314
8,813
cc
C++
common/cpp/src/google_smart_card_common/pp_var_utils/extraction.cc
swapnil119/chromeos_smart_card_connector
c01ec7e9aad61ede90f1eeaf8554540ede988d2d
[ "Apache-2.0" ]
1
2021-10-18T03:23:18.000Z
2021-10-18T03:23:18.000Z
common/cpp/src/google_smart_card_common/pp_var_utils/extraction.cc
AdrianaDJ/chromeos_smart_card_connector
63bcbc1ce293779efbe99a63edfbc824d96719fc
[ "Apache-2.0" ]
1
2021-02-23T22:37:22.000Z
2021-02-23T22:37:22.000Z
common/cpp/src/google_smart_card_common/pp_var_utils/extraction.cc
AdrianaDJ/chromeos_smart_card_connector
63bcbc1ce293779efbe99a63edfbc824d96719fc
[ "Apache-2.0" ]
1
2021-04-15T17:09:55.000Z
2021-04-15T17:09:55.000Z
// Copyright 2016 Google Inc. 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 the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
30.181507
80
0.666969
add80978f49c3218f7ec8dd60422cf62bb0cd10f
51,310
cpp
C++
source/TrickHLA/Interaction.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
source/TrickHLA/Interaction.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
source/TrickHLA/Interaction.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
/*! @file TrickHLA/Interaction.cpp @ingroup TrickHLA @brief This class represents an HLA Interaction that is managed by Trick. @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. No copyright is claimed in the United States under ...
40.982428
123
0.638823
adda4a644ee7c2c8bbc263e13622a455a0d36f54
111
cpp
C++
dll/common/Engine/Math/Ray3D.cpp
kbinani/dxrip
ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908
[ "MIT" ]
4
2015-09-23T14:12:07.000Z
2021-10-04T21:03:32.000Z
dll/common/Engine/Math/Ray3D.cpp
kbinani/dxrip
ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908
[ "MIT" ]
null
null
null
dll/common/Engine/Math/Ray3D.cpp
kbinani/dxrip
ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908
[ "MIT" ]
2
2018-06-26T14:59:11.000Z
2021-09-01T01:50:20.000Z
/* Ray3D.cpp Written by Matthew Fisher a 3D ray represented by an origin point and a direction vector. */
18.5
64
0.72973
addab0877a5b8d2d066a2c5e438bfad57730c3d1
1,126
cpp
C++
examples/hello_world.cpp
jaredjxyz/borrowing
5ba3ec34f5fc4b56830b64087d5a00d04c9943c1
[ "MIT" ]
1
2020-09-18T20:21:26.000Z
2020-09-18T20:21:26.000Z
examples/hello_world.cpp
jaredjxyz/borrowing
5ba3ec34f5fc4b56830b64087d5a00d04c9943c1
[ "MIT" ]
null
null
null
examples/hello_world.cpp
jaredjxyz/borrowing
5ba3ec34f5fc4b56830b64087d5a00d04c9943c1
[ "MIT" ]
null
null
null
#include "borrowing/borrowing.h" #include <chrono> #include <iostream> #include <thread> int main() { using borrowing::Borrowable; using borrowing::Borrowed; // Turn the string into "Hello World" const std::string goal = "Hello world"; Borrowable<std::string> str_owner("Hi"); auto change_string = [&](c...
23.957447
84
0.633215
addb6f1d810461d20306b4f65fed774fec2478a9
4,541
cpp
C++
src/qquicknativeview_android.cpp
KonstantinRitt/qquicknativeview
2b87d5f46bd435871167eeb6d5ed05a37c5da838
[ "MIT" ]
null
null
null
src/qquicknativeview_android.cpp
KonstantinRitt/qquicknativeview
2b87d5f46bd435871167eeb6d5ed05a37c5da838
[ "MIT" ]
null
null
null
src/qquicknativeview_android.cpp
KonstantinRitt/qquicknativeview
2b87d5f46bd435871167eeb6d5ed05a37c5da838
[ "MIT" ]
null
null
null
#include "qquicknativeview_p.h" #include <QtCore/qbasicatomic.h> #include <QtGui/private/qhighdpiscaling_p.h> #include <QtAndroidExtras/qandroidfunctions.h> #include <QtAndroidExtras/qandroidjnienvironment.h> #include <QtAndroidExtras/qandroidjniobject.h> QT_BEGIN_NAMESPACE static QBasicAtomicInteger<uint> s_id = ...
33.88806
100
0.550099
addc2b8b55dc4dcf0b78935062600f696c73c88e
10,750
cpp
C++
Src/GUI/FrTabControl.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/GUI/FrTabControl.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/GUI/FrTabControl.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
/*============================================================================= FrTabControl.cpp: Tab control widget. Copyright Jul.2016 Vlad Gordienko. =============================================================================*/ #include "GUI.h" /*----------------------------------------------------------...
19.265233
102
0.574233
addceae60277af9d0efb17f388335e133ab6e685
880
cpp
C++
samples/sample37.cpp
AjayBrahmakshatriya/mirror-cpp
f19fdfbfdc3f333a5e20f88374b87a3509dd1af7
[ "MIT" ]
null
null
null
samples/sample37.cpp
AjayBrahmakshatriya/mirror-cpp
f19fdfbfdc3f333a5e20f88374b87a3509dd1af7
[ "MIT" ]
null
null
null
samples/sample37.cpp
AjayBrahmakshatriya/mirror-cpp
f19fdfbfdc3f333a5e20f88374b87a3509dd1af7
[ "MIT" ]
null
null
null
// Include the headers #include "blocks/c_code_generator.h" #include "builder/static_var.h" #include "builder/dyn_var.h" #include "blocks/extract_cuda.h" #include <iostream> // Include the BuildIt types using builder::dyn_var; using builder::static_var; static void bar(dyn_var<int*> buffer) { builder::annotate(CUDA_K...
28.387097
83
0.7
adddaedc9a8c59629f3f2fd012503ac9d6c83d26
336
cpp
C++
net.ssa/Dima/bge.root/bge/bge/ui.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
Dima/bge.root/bge/bge/ui.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
Dima/bge.root/bge/bge/ui.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//////////////////////////////////////////////////////////////////////////// // Module : ui.cpp // Created : 12.11.2004 // Modified : 12.11.2004 // Author : Dmitriy Iassenev // Description : User interface //////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #...
30.545455
77
0.330357