hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
96bc18f49667ca4c8c31f5167020e62a49ba064a
939
cpp
C++
Nacro/SDK/FN_ActiveModifierItemHUD_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_ActiveModifierItemHUD_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_ActiveModifierItemHUD_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function ActiveModifierItemHUD.Active...
23.475
118
0.630458
Milxnor
96bd4eeea431d1ab6081e3c4929ad3e00773362e
3,757
cpp
C++
09_Course_Scheduling/09.cpp
Moreonenight/Data-Structure-of-TJSSE
088fcd32e8d16e1532514ca501dcfce7d6895a4b
[ "MIT" ]
null
null
null
09_Course_Scheduling/09.cpp
Moreonenight/Data-Structure-of-TJSSE
088fcd32e8d16e1532514ca501dcfce7d6895a4b
[ "MIT" ]
null
null
null
09_Course_Scheduling/09.cpp
Moreonenight/Data-Structure-of-TJSSE
088fcd32e8d16e1532514ca501dcfce7d6895a4b
[ "MIT" ]
null
null
null
#include "09.h" int main() { std::string location = R"(./09_Input.txt)"; //Read in the Input files std::ifstream Input(location); if (!Input.is_open()) { std::cout << "Failed to open " << location << ". " << std::endl; std::cin.clear(); std::cin.sync(); getchar(); exit(0); } Graph graph; Course course...
29.81746
194
0.584775
Moreonenight
96beef18081b7735ce5c4d9cf42b4db3184df2e3
553
cpp
C++
atcoder/Educational DP Contest/C.cpp
ApocalypseMac/CP
b2db9aa5392a362dc0d979411788267ed9a5ff1d
[ "MIT" ]
null
null
null
atcoder/Educational DP Contest/C.cpp
ApocalypseMac/CP
b2db9aa5392a362dc0d979411788267ed9a5ff1d
[ "MIT" ]
null
null
null
atcoder/Educational DP Contest/C.cpp
ApocalypseMac/CP
b2db9aa5392a362dc0d979411788267ed9a5ff1d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> const int maxn = 100005; int N, h[maxn][3], dp[maxn][3]; int main(){ std::cin >> N; memset(dp, 0, sizeof(dp)); for (int i = 1; i <= N; i++) std::cin >> h[i][0] >> h[i][1] >> h[i][2]; for (int i = 1; i <= N; i++){ dp[i][0] = h[i][0] + std::max(dp[i-1][1], dp[...
34.5625
71
0.426763
ApocalypseMac
96bf34023f5eda6a9b69bfbc5b8ca83db5ea852b
1,089
cpp
C++
Algorithms on Graphs/week1_decomposition1/1_reachability/reachability.cpp
18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera
1d2f3a4ee390f0297de29de84205ef5f2a40f31d
[ "MIT" ]
null
null
null
Algorithms on Graphs/week1_decomposition1/1_reachability/reachability.cpp
18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera
1d2f3a4ee390f0297de29de84205ef5f2a40f31d
[ "MIT" ]
null
null
null
Algorithms on Graphs/week1_decomposition1/1_reachability/reachability.cpp
18Pranjul/Data-Structures-and-Algorithms-Specialization-Coursera
1d2f3a4ee390f0297de29de84205ef5f2a40f31d
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <math.h> #include <cstring> #include <string> #include <stack> #include <queue> #include <deque> #include <map> #include <set> #include <utility> #include <iomanip> #include <climits> using namespace std; #define ll long long #define MO...
17.852459
64
0.56933
18Pranjul
96c0185362867e4e3e36f3c8955b8fbf71da18ee
58,438
cpp
C++
net/rras/ip/nathlp/dns/dnsquery.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/rras/ip/nathlp/dns/dnsquery.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/rras/ip/nathlp/dns/dnsquery.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1998, Microsoft Corporation Module Name: dnsquery.c Abstract: This module contains code for the DNS proxy's query-management. Author: Abolade Gbadegesin (aboladeg) 11-Mar-1998 Revision History: Raghu Gatta (rgatta) 1-Dec-2000 Added ICSDomai...
26.74508
85
0.519593
npocmaka
96c360efe5ceec388a286236c77b3ed67a4b1eeb
478
cpp
C++
smart_ptr_test.cpp
hnqiu/cpp-test
ec3eafd3126be8468ba4f2d6a26c5863659aa8e3
[ "MIT" ]
1
2019-03-21T04:06:13.000Z
2019-03-21T04:06:13.000Z
smart_ptr_test.cpp
hnqiu/cpp-test
ec3eafd3126be8468ba4f2d6a26c5863659aa8e3
[ "MIT" ]
null
null
null
smart_ptr_test.cpp
hnqiu/cpp-test
ec3eafd3126be8468ba4f2d6a26c5863659aa8e3
[ "MIT" ]
null
null
null
/* Copyright (C) 2019 hnqiu. All rights reserved. * Licensed under the MIT License. See LICENSE for details. */ #include <iostream> #include <memory> #include <vector> #include "class_test.h" int smart_ptr_test() { std::shared_ptr<Agent> agt = std::make_shared<Agent>(1); std::vector<decltype(agt)> agents; ...
22.761905
74
0.658996
hnqiu
96c85c75575dc9b33ecabf72f8e2b8f699068fd8
1,629
cpp
C++
Arrays/DesignStackIncrementOps.cpp
karan2808/Cpp
595f536e33505c5fd079b709d6370bf888043fb3
[ "MIT" ]
1
2021-01-31T03:43:59.000Z
2021-01-31T03:43:59.000Z
Arrays/DesignStackIncrementOps.cpp
karan2808/Cpp
595f536e33505c5fd079b709d6370bf888043fb3
[ "MIT" ]
null
null
null
Arrays/DesignStackIncrementOps.cpp
karan2808/Cpp
595f536e33505c5fd079b709d6370bf888043fb3
[ "MIT" ]
1
2021-01-25T14:27:08.000Z
2021-01-25T14:27:08.000Z
#include <iostream> using namespace std; class CustomStack_Array { int *stkArr; int stkSize; // keep a track of number of elements or top position int stkTop; public: // constructor CustomStack_Array(int maxSize) { stkArr = new int[maxSize]; stkTop = 0; stkSize = m...
19.626506
81
0.493554
karan2808
96ccf681f5512d65eee912482db5800a9f1ff0c3
13,223
cpp
C++
Code/Sumo_RTOS/FREERTOS_SHELL/Source/lib/serial/rs232int.cpp
ryanforsberg/me507
5a9fd25e2062fec3c9d0cb141d360ad67709488b
[ "MIT" ]
null
null
null
Code/Sumo_RTOS/FREERTOS_SHELL/Source/lib/serial/rs232int.cpp
ryanforsberg/me507
5a9fd25e2062fec3c9d0cb141d360ad67709488b
[ "MIT" ]
null
null
null
Code/Sumo_RTOS/FREERTOS_SHELL/Source/lib/serial/rs232int.cpp
ryanforsberg/me507
5a9fd25e2062fec3c9d0cb141d360ad67709488b
[ "MIT" ]
null
null
null
//************************************************************************************* /** \file rs232int.cpp * This file contains a class which allows the use of a serial port on an AVR * microcontroller. This version of the class uses the serial port receiver * interrupt and a buffer to allow character...
35.641509
90
0.703547
ryanforsberg
96cddc003fed9b2b7e4054d6b2ba569b08966190
1,618
cpp
C++
call_thunk.cpp
znone/call_thunk
f4b16151f15a27bbc5ac939ee9053ebc4bf71790
[ "Apache-2.0" ]
23
2018-08-15T13:25:23.000Z
2022-02-24T15:17:28.000Z
call_thunk.cpp
znone/call_thunk
f4b16151f15a27bbc5ac939ee9053ebc4bf71790
[ "Apache-2.0" ]
3
2020-03-07T04:07:08.000Z
2022-01-05T08:10:40.000Z
call_thunk.cpp
znone/call_thunk
f4b16151f15a27bbc5ac939ee9053ebc4bf71790
[ "Apache-2.0" ]
6
2019-08-07T13:47:50.000Z
2021-08-01T08:13:06.000Z
#include "call_thunk.h" #ifdef _WIN32 #include <windows.h> #else #include <sys/mman.h> #ifndef offsetof #define offsetof(s,m) ((size_t)&reinterpret_cast<char const volatile&>((((s*)0)->m))) #endif //offsetof #ifndef _countof #define _countof(_Array) (sizeof(_Array) / sizeof(_Array[0])) #endif //_countof #endif //...
21.012987
128
0.729913
znone
96ce1059bdea666f57aa7bc1cd3481c4a62737b1
4,324
cpp
C++
win/catfish/pickdir.cpp
KOLANICH/metakit
b05ed925f7aab8dc102bc42f1942869b4f72317e
[ "MIT" ]
null
null
null
win/catfish/pickdir.cpp
KOLANICH/metakit
b05ed925f7aab8dc102bc42f1942869b4f72317e
[ "MIT" ]
null
null
null
win/catfish/pickdir.cpp
KOLANICH/metakit
b05ed925f7aab8dc102bc42f1942869b4f72317e
[ "MIT" ]
2
2019-11-26T21:34:10.000Z
2020-03-10T14:26:27.000Z
// pickdir.cpp - directory picker sample code // // Copyright (C) 1996-2000 Jean-Claude Wippler. All rights reserved. ///////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "scandisk.h" #ifdef _DEBUG #undef THIS_FILE static char BASED_CODE THIS_FILE[] = __FILE_...
30.237762
88
0.657956
KOLANICH
96ce91a331a98a1c93cd3e79e232ef016e48705e
2,932
cpp
C++
adbase/Head/Binary.cpp
weiboad/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
62
2017-02-15T11:36:46.000Z
2022-03-14T09:11:10.000Z
adbase/Head/Binary.cpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
5
2017-02-21T05:32:14.000Z
2017-05-21T13:15:07.000Z
adbase/Head/Binary.cpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
22
2017-02-16T02:11:25.000Z
2020-02-12T18:12:44.000Z
#include <adbase/Head.hpp> #include <adbase/Utility.hpp> #include <adbase/Logging.hpp> namespace adbase { namespace head { // {{{ Binary::Binary() Binary::Binary(Interface* interface) : _interface(interface) { } // }}} // {{{ Binary::~Binary() Binary::~Binary() { } // }}} // {{{ void Binary::processData() void B...
28.192308
140
0.675989
weiboad
96d19af0424f7f70651e129c71a3676e4a3c106d
1,853
cpp
C++
src/chrono/assets/ChTriangleMeshShape.cpp
felixvd/chrono
4c437fc1fc8964310d53206dda45e8ba9c734fa2
[ "BSD-3-Clause" ]
1
2020-11-05T12:55:52.000Z
2020-11-05T12:55:52.000Z
src/chrono/assets/ChTriangleMeshShape.cpp
felixvd/chrono
4c437fc1fc8964310d53206dda45e8ba9c734fa2
[ "BSD-3-Clause" ]
null
null
null
src/chrono/assets/ChTriangleMeshShape.cpp
felixvd/chrono
4c437fc1fc8964310d53206dda45e8ba9c734fa2
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
34.962264
117
0.628171
felixvd
96d3c5189455bae96243c9cfdbd58238cbdb2b53
4,997
cpp
C++
app/perfclient.cpp
HarryKBD/raperf
0a2d3876dd5923722bffa3dce5f7ee1e83253b00
[ "BSD-3-Clause" ]
null
null
null
app/perfclient.cpp
HarryKBD/raperf
0a2d3876dd5923722bffa3dce5f7ee1e83253b00
[ "BSD-3-Clause" ]
null
null
null
app/perfclient.cpp
HarryKBD/raperf
0a2d3876dd5923722bffa3dce5f7ee1e83253b00
[ "BSD-3-Clause" ]
null
null
null
#include <unistd.h> #include <cstdlib> #include <cstring> #include <netdb.h> #include <iostream> #include <udt.h> #include "cc.h" #include "test_util.h" #include <sys/time.h> using namespace std; //#define SEND_BUF_SIZE 50000 #define SEND_BUF_SIZE 8000 int64_t SEND_FILE_SIZE = 1024*1024*1024; //5GB void * monito...
27.010811
191
0.571743
HarryKBD
96d59dc54e46397f6fafa6dcadce847d7560dbc0
2,665
cpp
C++
fon9/FileRevRead_UT.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
21
2019-01-29T14:41:46.000Z
2022-03-11T00:22:56.000Z
fon9/FileRevRead_UT.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
null
null
null
fon9/FileRevRead_UT.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
9
2019-01-27T14:19:33.000Z
2022-03-11T06:18:24.000Z
/// \file fon9/FileRevRead_UT.cpp /// \author fonwinz@gmail.com #include "fon9/FileRevRead.hpp" #include "fon9/RevPrint.hpp" //--------------------------------------------------------------------------// bool OpenFile(const char* info, fon9::File& fd, const char* fname, fon9::FileMode fm) { printf("%s %s\n", info...
37.535211
135
0.586867
fonwin
96d5be95ce9e37030eb3c39a32acfe308746443f
2,668
cpp
C++
src/renderer.cpp
kacejot/ray-tracer-se
8543826db12bda41e99bf37a6beef7a4acd79cff
[ "MIT" ]
null
null
null
src/renderer.cpp
kacejot/ray-tracer-se
8543826db12bda41e99bf37a6beef7a4acd79cff
[ "MIT" ]
null
null
null
src/renderer.cpp
kacejot/ray-tracer-se
8543826db12bda41e99bf37a6beef7a4acd79cff
[ "MIT" ]
null
null
null
#include <algorithm> #include <future> #include <thread> #include "renderer.h" #include "utils.h" #include "vec3.h" #include "ray.h" std::vector<vec3*> divide_vector_to_chunks(std::vector<vec3>& vector, size_t chunk_size) { std::vector<vec3*> result{}; size_t current_chunk = 0; for (; current_chunk < vec...
31.388235
121
0.574588
kacejot
96d71c62e8c5eb74a046150c71861d615e84d54c
3,137
hpp
C++
Source/Common/Delegate.hpp
gunstarpl/Perim-Game-07-2015
58efdee1857f5cccad909d5c2a76f2d6871657e6
[ "Unlicense", "MIT" ]
null
null
null
Source/Common/Delegate.hpp
gunstarpl/Perim-Game-07-2015
58efdee1857f5cccad909d5c2a76f2d6871657e6
[ "Unlicense", "MIT" ]
null
null
null
Source/Common/Delegate.hpp
gunstarpl/Perim-Game-07-2015
58efdee1857f5cccad909d5c2a76f2d6871657e6
[ "Unlicense", "MIT" ]
null
null
null
#pragma once #include "Precompiled.hpp" // // Delegate // Implementation based on: http://molecularmusings.wordpress.com/2011/09/19/generic-type-safe-delegates-and-events-in-c/ // Be careful not to invoke a delagate to a method of an instance that no longer exists. // // Binding and invoking a function: // bo...
28.518182
122
0.64329
gunstarpl
96d85fed9c2efee4fbd53b3c8b07ef38e8e6abb6
3,365
cpp
C++
Demo App/Demos/BlackHoleDemo.cpp
aderussell/ARPhysics
2669db7cd9e31918d8573e5a6bde654b443b0961
[ "MIT" ]
null
null
null
Demo App/Demos/BlackHoleDemo.cpp
aderussell/ARPhysics
2669db7cd9e31918d8573e5a6bde654b443b0961
[ "MIT" ]
null
null
null
Demo App/Demos/BlackHoleDemo.cpp
aderussell/ARPhysics
2669db7cd9e31918d8573e5a6bde654b443b0961
[ "MIT" ]
null
null
null
// // BlackHoleDemo.cpp // Drawing // // Created by Adrian Russell on 16/12/2013. // Copyright (c) 2013 Adrian Russell. All rights reserved. // #include "BlackHoleDemo.h" //#include "TestingIndexing.h" #define NUMBER_OF_PARTICLES 90 #define COLLISION_LEVEL 1 // TODO: add ball bounce demo, roll down hill then fal...
29.008621
119
0.645468
aderussell
96dbe09ef61a26a313e8873b00859c7873396fe1
55,122
cpp
C++
qws/src/gui/QProgressDialog.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
42
2015-02-16T19:29:16.000Z
2021-07-25T11:09:03.000Z
qws/src/gui/QProgressDialog.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
1
2017-11-23T12:49:25.000Z
2017-11-23T12:49:25.000Z
qws/src/gui/QProgressDialog.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
5
2015-10-15T21:25:30.000Z
2017-11-22T13:18:24.000Z
///////////////////////////////////////////////////////////////////////////// // // File : QProgressDialog.cpp // Copyright : (c) David Harley 2010 // Project : qtHaskell // Version : 1.1.4 // Modified : 2010-09-02 17:02:01 // // Warning : this file is machine gener...
48.267951
135
0.67971
keera-studios
96de99ba8f18f5e0ec9b5bf4e4908ac862177a55
1,022
cpp
C++
src/statistics/OFLatencyStats.cpp
csieber/hvbench
07e6520110ce7e2359baee1a4223c29b1e68efa6
[ "MIT" ]
2
2017-04-19T12:12:03.000Z
2017-07-22T13:32:51.000Z
src/statistics/OFLatencyStats.cpp
csieber/hvbench
07e6520110ce7e2359baee1a4223c29b1e68efa6
[ "MIT" ]
null
null
null
src/statistics/OFLatencyStats.cpp
csieber/hvbench
07e6520110ce7e2359baee1a4223c29b1e68efa6
[ "MIT" ]
null
null
null
#include "OFLatencyStats.h" #include "StatsVisitor.h" OFLatencyStats::OFLatencyStats() { this->reset(); } OFLatencyStats::~OFLatencyStats() { } void OFLatencyStats::reset() { boost::mutex::scoped_lock lock(this->mutex_); for (auto e : OFPT::latency_types) stats_latency_[e] = boost_acc_mean_min_max(); } voi...
18.925926
113
0.69863
csieber
96e1e49ae8dba4e59abad2e9f02a32ebe7b6fd59
777
cpp
C++
bucket_BE/firebird40/patches/patch-src_remote_inet.cpp
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
17
2017-04-22T21:53:52.000Z
2021-01-21T16:57:55.000Z
bucket_BE/firebird40/patches/patch-src_remote_inet.cpp
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
186
2017-09-12T20:46:52.000Z
2021-11-27T18:15:14.000Z
bucket_BE/firebird40/patches/patch-src_remote_inet.cpp
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
74
2017-09-06T14:48:01.000Z
2021-08-28T02:48:27.000Z
--- src/remote/inet.cpp.orig 2021-05-29 15:05:06 UTC +++ src/remote/inet.cpp @@ -959,7 +959,7 @@ rem_port* INET_connect(const TEXT* name, gai_hints.ai_family = ((host.hasData() || !ipv6) ? AF_UNSPEC : AF_INET6); gai_hints.ai_socktype = SOCK_STREAM; -#if !defined(WIN_NT) && !defined(__clang__) +#if !defined(WIN_N...
31.08
76
0.697555
jrmarino
96e2a92c38fe1e45583205eb8ea321c47b2bd92d
8,143
cpp
C++
OpenEXR_CTL/exrdpx/exrToDpx.cpp
DerouineauNicolas/CTL
3512a25c2d03a55287dbce493408c6943a44df6a
[ "AMPAS" ]
163
2015-01-13T20:43:21.000Z
2022-03-17T12:51:30.000Z
OpenEXR_CTL/exrdpx/exrToDpx.cpp
dracwyrm/CTL
57b48a273438159698a72d1e94a580b49337d234
[ "AMPAS" ]
21
2015-02-11T21:30:56.000Z
2020-10-29T08:14:45.000Z
OpenEXR_CTL/exrdpx/exrToDpx.cpp
dracwyrm/CTL
57b48a273438159698a72d1e94a580b49337d234
[ "AMPAS" ]
40
2015-01-30T05:40:13.000Z
2022-03-17T12:51:37.000Z
/////////////////////////////////////////////////////////////////////////// // Copyright (c) 2013 Academy of Motion Picture Arts and Sciences // ("A.M.P.A.S."). Portions contributed by others as indicated. // All rights reserved. // // A worldwide, royalty-free, non-exclusive right to copy, modify, create // derivati...
31.684825
79
0.643743
DerouineauNicolas
96e926f31d8751147f189670acb00d398d85fe05
3,743
inl
C++
libgpos/include/gpos/common/CSyncList.inl
bhuvnesh2703/gpos
bce4ed761ef35e2852691a86b8099d820844a3e8
[ "ECL-2.0", "Apache-2.0" ]
28
2016-01-29T08:27:42.000Z
2021-03-11T01:42:33.000Z
libgpos/include/gpos/common/CSyncList.inl
bhuvnesh2703/gpos
bce4ed761ef35e2852691a86b8099d820844a3e8
[ "ECL-2.0", "Apache-2.0" ]
22
2016-02-01T16:31:50.000Z
2017-07-13T13:25:53.000Z
libgpos/include/gpos/common/CSyncList.inl
bhuvnesh2703/gpos
bce4ed761ef35e2852691a86b8099d820844a3e8
[ "ECL-2.0", "Apache-2.0" ]
23
2016-01-28T03:19:24.000Z
2021-05-28T07:32:51.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2011 EMC Corp. // // @filename: // CSyncList.inl // // @doc: // Implementation of template-based synchronized stack class with // minimum synchronization overhead; it provides a minimal set of // thr...
22.413174
86
0.517499
bhuvnesh2703
96f150ddfa567903a3e58731a42fbd60268c4681
9,603
cpp
C++
test/ImageJPEG4Test.cpp
jbruchanov/NativeImage
faa739faa0e89d47c572ee0bf3faa806f9601afc
[ "Apache-2.0" ]
null
null
null
test/ImageJPEG4Test.cpp
jbruchanov/NativeImage
faa739faa0e89d47c572ee0bf3faa806f9601afc
[ "Apache-2.0" ]
null
null
null
test/ImageJPEG4Test.cpp
jbruchanov/NativeImage
faa739faa0e89d47c572ee0bf3faa806f9601afc
[ "Apache-2.0" ]
null
null
null
// // Created by scurab on 04/04/17. // #include <googletest/include/gtest/gtest.h> #include "../src/Errors.h" #include "../src/ImageProcessor.hpp" #include "../src/Image.hpp" #include "../src/JpegImageProcessor.h" #include "Assets.h" typedef bytep_t *string1; typedef string1 string2; static JpegImageProcessor prc; ...
35.83209
110
0.542851
jbruchanov
96f156ccdb9c67f31f042ece100ebb43991f3b5d
3,534
cpp
C++
eval/src/tests/instruction/sparse_dot_product_function/sparse_dot_product_function_test.cpp
gsmcwhirter/vespa
afe876252b56b5a30735865047d7392958835f6a
[ "Apache-2.0" ]
null
null
null
eval/src/tests/instruction/sparse_dot_product_function/sparse_dot_product_function_test.cpp
gsmcwhirter/vespa
afe876252b56b5a30735865047d7392958835f6a
[ "Apache-2.0" ]
null
null
null
eval/src/tests/instruction/sparse_dot_product_function/sparse_dot_product_function_test.cpp
gsmcwhirter/vespa
afe876252b56b5a30735865047d7392958835f6a
[ "Apache-2.0" ]
1
2020-12-08T19:56:35.000Z
2020-12-08T19:56:35.000Z
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/eval/eval/fast_value.h> #include <vespa/eval/eval/simple_value.h> #include <vespa/eval/instruction/sparse_dot_product_function.h> #include <vespa/eval/eval/test/eval_fixture.h> #include <ves...
40.159091
112
0.681098
gsmcwhirter
96f36a536c81d16403e31c0e0626bcdedbbc42f9
70,589
cpp
C++
SOMTRANSIT/MAXTRANSIT/samples/objects/particles/sflectrs/monoflector.cpp
SOM-Firmwide/SOMTRANSIT
a83879c3b60bd24c45bcf4c01fcd11632e799973
[ "MIT" ]
null
null
null
SOMTRANSIT/MAXTRANSIT/samples/objects/particles/sflectrs/monoflector.cpp
SOM-Firmwide/SOMTRANSIT
a83879c3b60bd24c45bcf4c01fcd11632e799973
[ "MIT" ]
null
null
null
SOMTRANSIT/MAXTRANSIT/samples/objects/particles/sflectrs/monoflector.cpp
SOM-Firmwide/SOMTRANSIT
a83879c3b60bd24c45bcf4c01fcd11632e799973
[ "MIT" ]
null
null
null
#include "MonoflectDialog.h" #include "sflectr.h" #include "MouseCursors.h" #define PLANAR 0 #define SPHERE 1 #define MESH 2 #define MONODEF_CUSTNAME_CHUNK 0x0100 static TriObject *IsUseable(Object *pobj,TimeValue t) { if (pobj->SuperClassID()==GEOMOBJECT_CLASS_ID) { if (pobj->IsSubClassOf(triObjectClassID)) ...
26.962949
183
0.674638
SOM-Firmwide
96f3a91b777a300e031c7123617be8c4982f9042
2,902
cc
C++
stapl_release/src/skeletons/memento.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/src/skeletons/memento.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/src/skeletons/memento.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
29.612245
74
0.63439
parasol-ppl
96f88728b851258c268edfef31d14199305c1a94
114
hpp
C++
src/events/event_data_main_menu.hpp
sfod/quoridor
a82b045fcf26ada34b802895f097c955103fbc14
[ "MIT" ]
null
null
null
src/events/event_data_main_menu.hpp
sfod/quoridor
a82b045fcf26ada34b802895f097c955103fbc14
[ "MIT" ]
31
2015-03-24T10:07:37.000Z
2016-04-20T15:11:18.000Z
src/events/event_data_main_menu.hpp
sfod/quoridor
a82b045fcf26ada34b802895f097c955103fbc14
[ "MIT" ]
null
null
null
#pragma once #include "event_data.hpp" class EventData_MainMenu : public EventDataCRTP<EventData_MainMenu> { };
16.285714
69
0.789474
sfod
96fce3f353f8351594637a8bee987e5bd6d13d02
2,628
cpp
C++
WholesomeEngine/WholesomeEngine/ModuleRender.cpp
HeladodePistacho/WholesomeEngine
e85b512f749d2f506cf5eb5603d2791e3221ccd5
[ "MIT" ]
null
null
null
WholesomeEngine/WholesomeEngine/ModuleRender.cpp
HeladodePistacho/WholesomeEngine
e85b512f749d2f506cf5eb5603d2791e3221ccd5
[ "MIT" ]
null
null
null
WholesomeEngine/WholesomeEngine/ModuleRender.cpp
HeladodePistacho/WholesomeEngine
e85b512f749d2f506cf5eb5603d2791e3221ccd5
[ "MIT" ]
null
null
null
#include "ModuleRender.h" #include "VulkanLogicalDevice.h" #include <SDL2/SDL_vulkan.h> ModuleRender::ModuleRender() : Module(), vulkan_logic_device(std::make_unique<VulkanLogicalDevice>()) { DEBUG::LOG("CREATING MODULE RENDER", nullptr); } ModuleRender::~ModuleRender() { } ENGINE_STATUS ModuleRender::Init() { EN...
27.663158
151
0.741248
HeladodePistacho
96fde3b7187eb6a6d4cc1b4ecc4a2f1fd0b2dcdc
1,410
cpp
C++
src/main.cpp
CP-Panizza/EventLoop2.0
1f9786c74ef56fd1c9d9f15f2d5d3aeac366db9d
[ "MIT" ]
null
null
null
src/main.cpp
CP-Panizza/EventLoop2.0
1f9786c74ef56fd1c9d9f15f2d5d3aeac366db9d
[ "MIT" ]
null
null
null
src/main.cpp
CP-Panizza/EventLoop2.0
1f9786c74ef56fd1c9d9f15f2d5d3aeac366db9d
[ "MIT" ]
null
null
null
#include <iostream> #include <string.h> #include <unistd.h> #include <fcntl.h> #include "../deps/EL/EventLoop.hpp" #include "../deps/socket/socket_header.h" #include "../utils/utils.h" #include "Service/Service.h" #define DEFAULT_HEART_CHECK_TIME 30 #define DEFAULT_PULL_DATA_TIME 20 int main() { /** * 读取并...
28.77551
130
0.655319
CP-Panizza
8c014f51a2cab44ee6711e258b41c8dcac4991fb
8,596
hpp
C++
src/control/modules/motion-control/PidMotionController.hpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
src/control/modules/motion-control/PidMotionController.hpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
src/control/modules/motion-control/PidMotionController.hpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
#pragma once #include <array> #include <rc-fshare/pid.hpp> #include <rc-fshare/robot_model.hpp> #include "FPGA.hpp" #include "MPU6050.h" #include "RobotDevices.hpp" /** * Robot controller that runs a PID loop on each of the four wheels. */ class PidMotionController { public: PidMotionController() : imu...
32.315789
80
0.57201
CollinAvidano
8c0422bc0b394df7c14b4328c54ed9f928c1776c
4,990
hpp
C++
include/MixerSplitter.hpp
hidenorly/audioframework
764a164d651f58c6f99a817410aaead228a4d79e
[ "Apache-2.0" ]
null
null
null
include/MixerSplitter.hpp
hidenorly/audioframework
764a164d651f58c6f99a817410aaead228a4d79e
[ "Apache-2.0" ]
null
null
null
include/MixerSplitter.hpp
hidenorly/audioframework
764a164d651f58c6f99a817410aaead228a4d79e
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2021 hidenorly Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
37.238806
200
0.755311
hidenorly
8c043f05a9ad5aefd9c51302f83445567f85b19f
2,512
hxx
C++
opencascade/StepAP214_AppliedExternalIdentificationAssignment.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/StepAP214_AppliedExternalIdentificationAssignment.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/StepAP214_AppliedExternalIdentificationAssignment.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 2000-05-10 // Created by: Andrey BETENEV // Copyright (c) 2000-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 a...
33.052632
334
0.841959
valgur
8c04536827b6cd7253ac2c9620a3e66ef580ce61
743
cpp
C++
modules/engine/src/Render/Shape/Cuboid.cpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
1
2016-11-12T02:43:29.000Z
2016-11-12T02:43:29.000Z
modules/engine/src/Render/Shape/Cuboid.cpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
modules/engine/src/Render/Shape/Cuboid.cpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
#include <randar/Render/Shape.hpp> randar::Geometry randar::cuboid( float width, float height, float depth, const randar::Palette& palette) { randar::Geometry geo; Vertex vert; float rw = width / 2.0f; float rh = height / 2.0f; float rd = depth / 2.0f; // Front faces. vert...
19.051282
37
0.585464
litty-studios
8c0680ec2084903e6148d1e00d79894413a00246
708
cpp
C++
dds/InfoRepo/FederationId.cpp
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
dds/InfoRepo/FederationId.cpp
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
dds/InfoRepo/FederationId.cpp
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
/* * $Id: FederationId.cpp 6240 2014-06-04 16:54:28Z johnsonb $ * * * Distributed under the OpenDDS License. * See: http://www.opendds.org/license.html */ #include "DcpsInfo_pch.h" #include "FederationId.h" TAO_DDS_DCPSFederationId::TAO_DDS_DCPSFederationId(RepoKey initId) : id_(initId) , overridden_(false) { ...
15.733333
66
0.738701
binary42
8c076bb1dcc30a6ef07be1b58b7d4608d8839627
26,180
cpp
C++
TommyGun/Plugins/Common/ZXPlugin.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
34
2017-05-08T18:39:13.000Z
2022-02-13T05:05:33.000Z
TommyGun/Plugins/Common/ZXPlugin.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
null
null
null
TommyGun/Plugins/Common/ZXPlugin.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
6
2017-05-27T01:14:20.000Z
2020-01-20T14:54:30.000Z
/*--------------------------------------------------------------------------- (c) 2004 Scorpio Software 19 Wittama Drive Glenmore Park Sydney NSW 2745 Australia ----------------------------------------------------------------------------- $Workfile:: ...
40.463679
270
0.48793
tonyt73
8c07da3fe4b50973e03618f2de87c2ac0e99eb98
680
cpp
C++
base/5class4friend.cpp
chenliangold4j/beBetter
e30b66c6c8def4c65e0de9364cd9199558ea3253
[ "Apache-2.0" ]
null
null
null
base/5class4friend.cpp
chenliangold4j/beBetter
e30b66c6c8def4c65e0de9364cd9199558ea3253
[ "Apache-2.0" ]
null
null
null
base/5class4friend.cpp
chenliangold4j/beBetter
e30b66c6c8def4c65e0de9364cd9199558ea3253
[ "Apache-2.0" ]
null
null
null
#include <iostream> // 类的友元函数是定义在类外部,但有权访问类的所有私有(private)成员和保护(protected)成员。尽管友元函数的原型有在类的定义中出现过,但是友元函数并不是成员函数。 // 友元可以是一个函数,该函数被称为友元函数;友元也可以是一个类,该类被称为友元类,在这种情况下,整个类及其所有成员都是友元。 using namespace std; class Box { double width; public: friend void printWidth( Box box ); void setWidth( double wid ); }; // 成员函数...
17
91
0.663235
chenliangold4j
8c0a9cd2062d826b977614b57fe2acfe61bef795
2,220
cpp
C++
inetsrv/msmq/src/admin/mqsnap/msgsndr.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/msmq/src/admin/mqsnap/msgsndr.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/msmq/src/admin/mqsnap/msgsndr.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// msgsndr.cpp : implementation file // #include "stdafx.h" #include "mqsnap.h" #include "resource.h" #include "mqPPage.h" #include "msgsndr.h" #include "msgsndr.tmh" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ////////////////////////////////////...
26.117647
84
0.647297
npocmaka
8c0f4a16c4ad021c7425668ee79e817ec0537b17
4,186
hpp
C++
TBDAnnotation/src/Model/CustomPermutation.hpp
marcorighini/tbdannotation
f22d395fce5c6c1007177623b0a0c60f7fcb9d4f
[ "Apache-2.0" ]
1
2021-06-13T10:49:43.000Z
2021-06-13T10:49:43.000Z
TBDAnnotation/src/Model/CustomPermutation.hpp
marcorighini/tbdannotation
f22d395fce5c6c1007177623b0a0c60f7fcb9d4f
[ "Apache-2.0" ]
null
null
null
TBDAnnotation/src/Model/CustomPermutation.hpp
marcorighini/tbdannotation
f22d395fce5c6c1007177623b0a0c60f7fcb9d4f
[ "Apache-2.0" ]
null
null
null
/* * CustomPermutation.hpp * * Created on: 16/mag/2013 * Author: alessandro */ #ifndef CUSTOMPERMUTATION_HPP_ #define CUSTOMPERMUTATION_HPP_ #include <vector> #include <algorithm> #include <numeric> namespace cp { /* * Custom next combination generator */ template<typename T> class NextCombinationGener...
23.649718
119
0.685141
marcorighini
8c110ee1d74b8c5c653df52a16a392ac74ba6d7c
3,697
cpp
C++
x_track/Application/X-Track.cpp
liushiwei/lv_port_linux_frame_buffer
17b822a68f8390df1e3b2c09319899c9c61dd72d
[ "MIT" ]
null
null
null
x_track/Application/X-Track.cpp
liushiwei/lv_port_linux_frame_buffer
17b822a68f8390df1e3b2c09319899c9c61dd72d
[ "MIT" ]
null
null
null
x_track/Application/X-Track.cpp
liushiwei/lv_port_linux_frame_buffer
17b822a68f8390df1e3b2c09319899c9c61dd72d
[ "MIT" ]
null
null
null
/* * PROJECT: LVGL ported to Linux * FILE: X-Track.cpp * PURPOSE: Implementation for LVGL ported to Linux * * LICENSE: The MIT License * * DEVELOPER: AlgoIdeas */ #include "App.h" #include "Common/HAL/HAL.h" #include <stdio.h> #include <errno.h> #include <unistd.h> #include <stdlib.h> #include <un...
24.163399
84
0.660536
liushiwei
8c125419a34f74d1be5ad5615039f6221abe8b11
4,895
cpp
C++
src/epowfm_main.cpp
manicken/esp-ota-wifi_manager
9c1edc94a6550185de0dcea5f533f5973c74606a
[ "MIT" ]
null
null
null
src/epowfm_main.cpp
manicken/esp-ota-wifi_manager
9c1edc94a6550185de0dcea5f533f5973c74606a
[ "MIT" ]
null
null
null
src/epowfm_main.cpp
manicken/esp-ota-wifi_manager
9c1edc94a6550185de0dcea5f533f5973c74606a
[ "MIT" ]
null
null
null
/* */ #include <ESP8266WiFi.h> #include <WiFiManager.h> #include <ESP8266httpUpdate.h> #include <EEPROM.h> #include "TCP2UART.h" #include <ArduinoOTA.h> static int otaPartProcentCount = 0; #include <ESP8266WebServer.h> #define DEBUG_UART Serial1 TCP2UART tcp2uart; extern const char index_html[]; extern const ch...
28.625731
203
0.626762
manicken
8c12dfa6df04559d418f5ecef17d10b0e9dd4d55
2,294
cpp
C++
platform/Android/source/premierlibrary/src/main/jni/utils/ass/JavaAssUtils.cpp
aliyun/CicadaPlayer
9d2b515a52403034a6e764e30fd0c9508edec889
[ "MIT" ]
38
2019-12-16T14:31:00.000Z
2020-01-11T03:01:26.000Z
platform/Android/source/premierlibrary/src/main/jni/utils/ass/JavaAssUtils.cpp
aliyun/CicadaPlayer
9d2b515a52403034a6e764e30fd0c9508edec889
[ "MIT" ]
11
2020-01-07T06:32:11.000Z
2020-01-13T03:52:37.000Z
platform/Android/source/premierlibrary/src/main/jni/utils/ass/JavaAssUtils.cpp
aliyun/CicadaPlayer
9d2b515a52403034a6e764e30fd0c9508edec889
[ "MIT" ]
14
2019-12-30T01:19:04.000Z
2020-01-11T02:12:35.000Z
// // Created by SuperMan on 6/29/21. // #include "JavaAssUtils.h" #include "JavaAssDialogue.h" #include "JavaAssHeader.h" #include <utils/Android/FindClass.h> #include <utils/Android/GetStringUTFChars.h> #include <utils/Android/JniException.h> static char *AssUtilsPath = (char *) ("com/cicada/player/utils/ass/AssUt...
32.309859
138
0.719268
aliyun
8c134d4fd889fb13b168ff1f4b94faeda16499d8
870
cpp
C++
ishxiao/2503/12033282_AC_1500MS_17296K.cpp
ishx/poj
b4e5498117d7c8fc3d96eca2fa7f71f2dfa13c2d
[ "MIT" ]
null
null
null
ishxiao/2503/12033282_AC_1500MS_17296K.cpp
ishx/poj
b4e5498117d7c8fc3d96eca2fa7f71f2dfa13c2d
[ "MIT" ]
null
null
null
ishxiao/2503/12033282_AC_1500MS_17296K.cpp
ishx/poj
b4e5498117d7c8fc3d96eca2fa7f71f2dfa13c2d
[ "MIT" ]
null
null
null
//2503 #include<iostream> #include<string> #include<map> using namespace std; int main(void) { char english[11],foreign[11]; map<string,bool>appear; //记录foreign与engliash的配对映射是否出现 map<string,string>translate; //记录foreign到engliash的映射 /*Input the dictionary*/ while(true) { char t; //tempo...
14.745763
56
0.552874
ishx
8c1400d2fdce9df0a094b0a7c626130b8c534a96
641
cpp
C++
CarbonService.cpp
finneyj/energy-in-schools
0b585e9a8262f88e33e8314570f91b5bd66d0885
[ "MIT" ]
null
null
null
CarbonService.cpp
finneyj/energy-in-schools
0b585e9a8262f88e33e8314570f91b5bd66d0885
[ "MIT" ]
null
null
null
CarbonService.cpp
finneyj/energy-in-schools
0b585e9a8262f88e33e8314570f91b5bd66d0885
[ "MIT" ]
null
null
null
#include "CarbonService.h" CarbonService::CarbonService(PeridoRESTClient& r) : radio(r) { } ManagedString CarbonService::getCarbonIndex(ManagedString endpoint) { ManagedString res = radio.get("/carbon/" + endpoint + "/"); return PeridoUtil::getString(res, 0); } ManagedString CarbonService::getCarbonValue...
32.05
77
0.720749
finneyj
8c15797d0b5214691dd3a7baf2b83c5bab34cf0e
854
cpp
C++
snippets/cpp/VS_Snippets_Data/Classic WebData XmlDocumentFragment.OwnerDocument Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-03-12T19:26:36.000Z
2022-01-10T21:45:33.000Z
snippets/cpp/VS_Snippets_Data/Classic WebData XmlDocumentFragment.OwnerDocument Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_Data/Classic WebData XmlDocumentFragment.OwnerDocument Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <Snippet1> #using <System.Xml.dll> using namespace System; using namespace System::IO; using namespace System::Xml; int main() { // Create the XmlDocument. XmlDocument^ doc = gcnew XmlDocument; doc->LoadXml( "<items/>" ); // Create a document fragment. XmlDocumentFragment^ docFrag = doc->Cr...
25.878788
64
0.68267
BohdanMosiyuk
22c5954e42da3d4b70d11c6e28f6facac8537e77
874
cpp
C++
modules/task_2/yashin_k_topology_star/topology_star.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_2/yashin_k_topology_star/topology_star.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/yashin_k_topology_star/topology_star.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
3
2022-02-23T14:20:50.000Z
2022-03-30T09:00:02.000Z
// Copyright 2021 Yashin Kirill #include <mpi.h> #include <algorithm> #include <random> #include "../../../modules/task_2/yashin_k_topology_star/topology_star.h" int getRand(int min, int max) { if (min == max) { return max; } else { std::mt19937 gen; std::uniform_int_distribution<> distr{m...
21.317073
74
0.543478
Stepakrap
22c6082b118ca58824432a9561c72c53a5c49d74
10,452
cpp
C++
lib/libstereo/src/stereo_sgmp.cpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
4
2020-12-28T15:29:15.000Z
2021-06-27T12:37:15.000Z
lib/libstereo/src/stereo_sgmp.cpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
null
null
null
lib/libstereo/src/stereo_sgmp.cpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
2
2021-01-13T05:28:39.000Z
2021-05-04T03:37:11.000Z
#include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include "stereo.hpp" #include "matching_cost.hpp" #include "stereo_common.hpp" #include "dsi.hpp" #include "cost_aggregation.hpp" #ifdef __GNUG__ #include <chrono> #include <iostream> /* static std::chrono::time_point<std::chrono::system_clock> start; sta...
26.460759
110
0.658821
knicos
22c903e26bd1f49b47f303acf4b87d8f598391ea
5,789
hpp
C++
gsa/wit/COIN/include/Presolve.hpp
kant/CMMPPT
c64b339712db28a619880c4c04839aef7d3b6e2b
[ "Apache-2.0" ]
1
2019-10-25T05:25:23.000Z
2019-10-25T05:25:23.000Z
gsa/wit/COIN/include/Presolve.hpp
kant/CMMPPT
c64b339712db28a619880c4c04839aef7d3b6e2b
[ "Apache-2.0" ]
2
2019-09-04T17:34:59.000Z
2020-09-16T08:10:57.000Z
gsa/wit/COIN/include/Presolve.hpp
kant/CMMPPT
c64b339712db28a619880c4c04839aef7d3b6e2b
[ "Apache-2.0" ]
18
2019-07-22T19:01:25.000Z
2022-03-03T15:36:11.000Z
// Copyright (C) 2002, International Business Machines // Corporation and others. All Rights Reserved. #ifndef Presolve_H #define Presolve_H #include "ClpSimplex.hpp" class PresolveAction; class PresolveMatrix; class PostsolveMatrix; /** This class stores information generated by the presolve procedure. */ class P...
37.836601
75
0.723441
kant
22ca19b51714960e5459af0656ec9209608229a3
238
cpp
C++
assign2/Sir/MechanicTasks.cpp
chakravardhan/cpp-course
6748e042ca6a81d62f9a48a38118f0fd2cc8209d
[ "MIT" ]
null
null
null
assign2/Sir/MechanicTasks.cpp
chakravardhan/cpp-course
6748e042ca6a81d62f9a48a38118f0fd2cc8209d
[ "MIT" ]
null
null
null
assign2/Sir/MechanicTasks.cpp
chakravardhan/cpp-course
6748e042ca6a81d62f9a48a38118f0fd2cc8209d
[ "MIT" ]
null
null
null
#include "Mechanic.h" #include "FrontDesk.h" int main(int argc, char* argv[]) { Mechanic mechanic; FrontDesk fdesk(mechanic); fdesk.processRequests(); return 0; } #if 0 R 15 R 21 N N N R 92 R 401 R 827 N N R 82 R 910 E #endif
7.4375
32
0.663866
chakravardhan
22cb1f7aa560abcfe5ddf7fa1312befebf6cbc17
7,376
cc
C++
src/s390/code-stubs-s390.cc
RiyoCoder/v8
e073edfc7dc990cc5f71c4e51ac27b19be16fcb7
[ "BSD-3-Clause" ]
null
null
null
src/s390/code-stubs-s390.cc
RiyoCoder/v8
e073edfc7dc990cc5f71c4e51ac27b19be16fcb7
[ "BSD-3-Clause" ]
null
null
null
src/s390/code-stubs-s390.cc
RiyoCoder/v8
e073edfc7dc990cc5f71c4e51ac27b19be16fcb7
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #if V8_TARGET_ARCH_S390 #include "src/api-arguments-inl.h" #include "src/assembler-inl.h" #include "src/base/bits.h" #include "src/bootstrapper.h" #inc...
34.306977
80
0.684111
RiyoCoder
22cee953f58e9055de70a31e4c95f1b9cf0eae73
368
hpp
C++
mercury/include/mercury/ping/TestConfig.hpp
ZachAnders/OPLabs
085030e60c23292c7860817233373ab6e1b19165
[ "BSD-2-Clause" ]
1
2018-02-06T17:43:51.000Z
2018-02-06T17:43:51.000Z
mercury/include/mercury/ping/TestConfig.hpp
ZachAnders/OPLabs
085030e60c23292c7860817233373ab6e1b19165
[ "BSD-2-Clause" ]
null
null
null
mercury/include/mercury/ping/TestConfig.hpp
ZachAnders/OPLabs
085030e60c23292c7860817233373ab6e1b19165
[ "BSD-2-Clause" ]
null
null
null
#ifndef TESTCONFIG_HPP_ #define TESTCONFIG_HPP_ /* * Author: jrahm * created: 2015/03/15 * TestConfig.hpp: <description> */ #include <vector> #include <io/Inet4Address.hpp> namespace ping { class TestConfig { public: /* the list of address to test ping speed to */ std::vector< uptr<io::SocketAddress> > ...
15.333333
54
0.690217
ZachAnders
22d08200e045cb2e90a91c9eef307a2a9ede4614
7,052
hpp
C++
ChapelScheduler.hpp
ct-clmsn/mesos4chpl
33d3f5f87aeeff09f464fa351d021d30ac76be80
[ "Apache-2.0" ]
1
2015-11-08T20:39:05.000Z
2015-11-08T20:39:05.000Z
ChapelScheduler.hpp
ct-clmsn/mesos4chpl
33d3f5f87aeeff09f464fa351d021d30ac76be80
[ "Apache-2.0" ]
null
null
null
ChapelScheduler.hpp
ct-clmsn/mesos4chpl
33d3f5f87aeeff09f464fa351d021d30ac76be80
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
36.729167
106
0.688032
ct-clmsn
22d08658b777409f18733b12d901ad175b0232e0
3,435
cpp
C++
src/devices/bus/pce_ctrl/multitap.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/bus/pce_ctrl/multitap.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/bus/pce_ctrl/multitap.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:cam900 /********************************************************************** NEC PC Engine/TurboGrafx-16 Multi Tap emulation Based on SMS controller port emulation (devices\bus\sms_ctrl\*.*) by Fabio Priuli, PC engine emulation (mame\*\pce.*) by Charl...
27.701613
118
0.477438
Robbbert
22d3f75ea7462e11aa08df5a39b79dc99476d536
5,437
cpp
C++
dev/Code/Framework/AzCore/Tests/BehaviorContext.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Code/Framework/AzCore/Tests/BehaviorContext.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
null
null
null
dev/Code/Framework/AzCore/Tests/BehaviorContext.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license belo...
31.982353
129
0.672246
crazyskateface
22d4efa61a2022a19c855203188626d17ad1e5c2
1,343
cpp
C++
tests/code/pdu/UserIdentityAC.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
72
2016-02-04T00:41:02.000Z
2022-03-18T18:10:34.000Z
tests/code/pdu/UserIdentityAC.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
74
2016-01-11T16:04:46.000Z
2021-11-18T16:36:11.000Z
tests/code/pdu/UserIdentityAC.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
23
2016-04-27T07:14:56.000Z
2021-09-28T21:59:31.000Z
#define BOOST_TEST_MODULE UserIdentityAC #include <boost/test/unit_test.hpp> #include <sstream> #include <string> #include "odil/Exception.h" #include "odil/pdu/UserIdentityAC.h" BOOST_AUTO_TEST_CASE(ConstructorDefault) { odil::pdu::UserIdentityAC const user_identity; BOOST_REQUIRE_EQUAL(user_identity.get_se...
22.762712
68
0.71035
genisysram
22d57303f15f7f6fd1e9daf4d8331cb929c38c91
849
cpp
C++
Array/luobiao/DeleteNode.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
39
2020-05-31T06:14:39.000Z
2021-01-09T11:06:39.000Z
Array/luobiao/DeleteNode.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
7
2020-06-02T11:04:14.000Z
2020-06-11T14:11:58.000Z
Array/luobiao/DeleteNode.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
20
2020-05-31T06:21:57.000Z
2020-10-01T04:48:38.000Z
/** 请编写一个函数,使其可以删除某个链表中给定的(非末尾)节点,你将只被给定要求被删除的节点。 现有一个链表 -- head = [4,5,1,9],它可以表示为:   示例 1: 输入: head = [4,5,1,9], node = 5 输出: [4,1,9] 解释: 给定你链表中值为 5 的第二个节点,那么在调用了你的函数之后,该链表应变为 4 -> 1 -> 9. 示例 2: 输入: head = [4,5,1,9], node = 1 输出: [4,5,9] 解释: 给定你链表中值为 1 的第三个节点,那么在调用了你的函数之后,该链表应变为 4 -> 5 -> 9.   说明: 链表至少包含两个节点...
16.326923
64
0.639576
JessonYue
22d62a307f51a45b8905990dacdfc65973ff971f
6,313
cpp
C++
engine/source/kernel/storage/pack/storage_pack.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/kernel/storage/pack/storage_pack.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/kernel/storage/pack/storage_pack.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
#include "kernel/storage/pack/storage_pack.h" #include "kernel/core/core.h" #include "kernel/storage/logical/storage_system.h" namespace coffee { namespace storage { //-CONSTRUCTORS-------------------------------------------------------------------------------// Pack::Pack() : _FileAccess(NULL), ...
30.795122
100
0.456994
skarab
22e9d3b20d72b678ea7e97fcb5e007aa1610185d
256
cpp
C++
c++/day14/16.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
c++/day14/16.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
c++/day14/16.cpp
msoild/sword-to-offer
6c15c78ad773da0b66cb76c9e01292851aca45c5
[ "MIT" ]
null
null
null
class Solution { public: //notite size string replaceSpaces(string &str) { string retStr; for(auto&x : str) { if(x == ' ') retStr += "%20"; else retStr += x; } return retStr; } };
19.692308
41
0.445313
msoild
22ea37b938f0b2c9100cf6ee41dedbb3405887b2
805
cpp
C++
collection/cp/ACM_Notebook_new-master/tests/Graph/MaxFlow/Timus1664.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/ACM_Notebook_new-master/tests/Graph/MaxFlow/Timus1664.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/ACM_Notebook_new-master/tests/Graph/MaxFlow/Timus1664.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
// Problem: http://acm.timus.ru/problem.aspx?space=1&num=1664 #include "template.h" #include "buffered_reader.h" #include "Graph/MaxFlow/MaxFlow.h" int main() { freopen("input.txt", "r", stdin); int n, m; GN(n); REP(i,n) { int x, y; GN(x); GN(y); } MaxFlow flow(n); GN(m); ...
23.676471
90
0.475776
daemonslayer
22ea8aa40bb2221e5d8ac46021c8a5e9d8647bfc
832
cpp
C++
1553f.cpp
wky32768/Mr.Shua
9c6c7f22c9f80f9af51e9e6e88ea91ac7965fb21
[ "MIT" ]
null
null
null
1553f.cpp
wky32768/Mr.Shua
9c6c7f22c9f80f9af51e9e6e88ea91ac7965fb21
[ "MIT" ]
null
null
null
1553f.cpp
wky32768/Mr.Shua
9c6c7f22c9f80f9af51e9e6e88ea91ac7965fb21
[ "MIT" ]
null
null
null
//https://www.cnblogs.com/alex-wei/p/CF1553.html #include <bits/stdc++.h> #define int long long #define For(i,a,b) for(int i=a;i<=b;i++) #define lb(x) x&(-x) using namespace std; const int N=500005; int n,a[N],ans,s; struct bit { int t[N]; void add(int x,int v) {while(x<N) {t[x]+=v;x+=lb(x);}} in...
25.212121
59
0.454327
wky32768
22f70065301093b05120eb7368a31226b284e244
482
cpp
C++
Teaching-Algorithms/lectures/02 - greedy algorithms/02 - dijkstras shortest path/lecture code/cpp/lecture/lecture/main.cpp
AshleighRobie/Spring-2019-CS-212
12dd7252d1d1580ff6132985a5f1d752c3d1a2d8
[ "Apache-2.0" ]
null
null
null
Teaching-Algorithms/lectures/02 - greedy algorithms/02 - dijkstras shortest path/lecture code/cpp/lecture/lecture/main.cpp
AshleighRobie/Spring-2019-CS-212
12dd7252d1d1580ff6132985a5f1d752c3d1a2d8
[ "Apache-2.0" ]
null
null
null
Teaching-Algorithms/lectures/02 - greedy algorithms/02 - dijkstras shortest path/lecture code/cpp/lecture/lecture/main.cpp
AshleighRobie/Spring-2019-CS-212
12dd7252d1d1580ff6132985a5f1d752c3d1a2d8
[ "Apache-2.0" ]
null
null
null
#include "CampusGraph.h"; #include "CsvParser.h" int main(void) { //Example of how to parse a CSV file for graph building CsvStateMachine csm{ "data.csv" }; vector<vector<string>> data = csm.processFile(); CampusGraph graph{}; graph.addVertex("a"); graph.addVertex("b"); graph.addVertex("c"); graph.connectVert...
25.368421
56
0.682573
AshleighRobie
22f8b342aba95d8164beb293b3881536556a0fda
2,251
cpp
C++
day3/2.cpp
gian21391/advent_of_code-2021
2aa55a96e73cf7bb5ad152677e2136ca4eca1552
[ "MIT" ]
null
null
null
day3/2.cpp
gian21391/advent_of_code-2021
2aa55a96e73cf7bb5ad152677e2136ca4eca1552
[ "MIT" ]
null
null
null
day3/2.cpp
gian21391/advent_of_code-2021
2aa55a96e73cf7bb5ad152677e2136ca4eca1552
[ "MIT" ]
null
null
null
// // Created by Gianluca on 03/12/2021. // SPDX-License-Identifier: MIT // #include <utility/enumerate.hpp> #include <fstream> #include <cassert> #include <vector> #include <iostream> struct bit_values { int zeros = 0; int ones = 0; }; int main() { auto file = std::ifstream("../day3/input"); assert(file.is...
26.797619
92
0.625944
gian21391
22f92505909979895d6ff6045bbe2e6634e2477a
2,313
cpp
C++
thirdparty/threadpool/util.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
639
2020-09-05T10:00:59.000Z
2022-03-30T08:42:39.000Z
thirdparty/threadpool/util.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
252
2020-09-09T05:35:36.000Z
2022-03-29T04:58:41.000Z
thirdparty/threadpool/util.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
104
2020-09-05T10:01:08.000Z
2022-03-23T10:59:13.000Z
#define NOMINMAX #include "util.h" #include "hwloc.h" #include <algorithm> namespace concurrency { static hwloc_topology_t hwloc_topology_handle; bool HaveHWLocTopology() { // One time initialization static bool init = []() { if (hwloc_topology_init(&hwloc_topology_handle)) { //LOG(ERROR) << "Call to hw...
28.207317
80
0.675746
lynex
22f9a3ef4f2362a80ba6c70ed0535f554d603db7
987
cc
C++
src/leetcode/leetcode226_invert_binary_tree.cc
zhaozigu/algs-multi-langs
65ef5fc6df6236064a5c81e5bb7e99c4bae044a7
[ "CNRI-Python" ]
null
null
null
src/leetcode/leetcode226_invert_binary_tree.cc
zhaozigu/algs-multi-langs
65ef5fc6df6236064a5c81e5bb7e99c4bae044a7
[ "CNRI-Python" ]
null
null
null
src/leetcode/leetcode226_invert_binary_tree.cc
zhaozigu/algs-multi-langs
65ef5fc6df6236064a5c81e5bb7e99c4bae044a7
[ "CNRI-Python" ]
null
null
null
// https://leetcode-cn.com/problems/Invert-Binary-Tree/ #include <algorithm> using namespace std; #include "treenode.hpp" class Solution { public: TreeNode *invertTree(TreeNode *root) { if (root == nullptr) { return nullptr; } TreeNode *right_tree = root->right; root->right = invertTree(r...
25.973684
93
0.676798
zhaozigu
fe032b56a835584d8e8f23f127d456a6eeed5a7f
6,826
cpp
C++
Tests/C++/datastructures/RangeMinimumQuery2DStressTest.cpp
GoatGirl98/Resources
429c0ff357365dfff0b7df0c52346466d828ce93
[ "CC0-1.0" ]
36
2017-05-10T08:00:56.000Z
2022-03-18T15:21:57.000Z
Tests/C++/datastructures/RangeMinimumQuery2DStressTest.cpp
GoatGirl98/Resources
429c0ff357365dfff0b7df0c52346466d828ce93
[ "CC0-1.0" ]
90
2017-04-15T03:51:15.000Z
2020-06-16T00:39:33.000Z
Tests/C++/datastructures/RangeMinimumQuery2DStressTest.cpp
GoatGirl98/Resources
429c0ff357365dfff0b7df0c52346466d828ce93
[ "CC0-1.0" ]
17
2020-02-19T01:02:32.000Z
2021-12-21T06:28:34.000Z
#include <bits/stdc++.h> #include "../../../Content/C++/datastructures/SparseTable2D.h" #include "../../../Content/C++/datastructures/FischerHeunStructure2D.h" #include "../../../Content/C++/datastructures/trees/segmenttrees/SegmentTreeBottomUp2D.h" using namespace std; void test1() { const auto start_time = chrono:...
35.367876
93
0.543217
GoatGirl98
fe083697651f5529af34a59b39b2229678d9ad23
1,479
cpp
C++
Conta/src/conta.cpp
Italo1994/LAB03
6a0137690174c15f64cf54df9c4ceec7f05c2c19
[ "MIT" ]
null
null
null
Conta/src/conta.cpp
Italo1994/LAB03
6a0137690174c15f64cf54df9c4ceec7f05c2c19
[ "MIT" ]
null
null
null
Conta/src/conta.cpp
Italo1994/LAB03
6a0137690174c15f64cf54df9c4ceec7f05c2c19
[ "MIT" ]
null
null
null
#include <string> #include "conta.h" using std::string; Conta::Conta(string m_agencia, int m_numero, double m_saldo, string m_status, double m_limite, double m_limiteDisponivel, int m_movimentacao, int m_numMovimentacoes) : agencia(m_agencia), numero(m_numero), saldo(m_saldo), status(m_status), limite(m_limite), ...
17.4
198
0.716024
Italo1994
fe0911dcb842e5ffe140d34cc914a5fbd5fc8d6b
1,295
cc
C++
file_position.cc
codedumper1/mysql-ripple
bb9e3656519597c97d2c67ace918022c9b669d58
[ "Apache-2.0" ]
358
2019-01-25T22:47:12.000Z
2022-03-25T09:35:03.000Z
file_position.cc
codedumper1/mysql-ripple
bb9e3656519597c97d2c67ace918022c9b669d58
[ "Apache-2.0" ]
30
2019-01-29T22:13:30.000Z
2022-01-07T01:50:33.000Z
file_position.cc
codedumper1/mysql-ripple
bb9e3656519597c97d2c67ace918022c9b669d58
[ "Apache-2.0" ]
44
2019-01-28T06:34:45.000Z
2022-01-15T09:36:58.000Z
// Copyright 2018 The Ripple Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
26.979167
75
0.648649
codedumper1
fe09186af8bdb23aa48d1b950473fe8d7e26f176
230
cpp
C++
SculptEngine/CppLib/src/Collisions/Ray.cpp
ErwanLeGoffic/Tectrid
81eb17410339c683905c0f7f16dc4f1dd6b6ddeb
[ "MIT" ]
2
2019-12-14T02:06:52.000Z
2022-01-12T19:25:03.000Z
SculptEngine/CppLib/src/Collisions/Ray.cpp
ErwanLeGoffic/Tectrid
81eb17410339c683905c0f7f16dc4f1dd6b6ddeb
[ "MIT" ]
1
2020-02-08T07:34:49.000Z
2020-02-08T07:34:49.000Z
SculptEngine/CppLib/src/Collisions/Ray.cpp
ErwanLeGoffic/Tectrid
81eb17410339c683905c0f7f16dc4f1dd6b6ddeb
[ "MIT" ]
1
2019-01-27T22:32:49.000Z
2019-01-27T22:32:49.000Z
#include "Ray.h" #ifdef __EMSCRIPTEN__ #include <emscripten/bind.h> using namespace emscripten; EMSCRIPTEN_BINDINGS(Ray) { class_<Ray>("Ray") .constructor<Vector3 const&, Vector3 const&, float>(); } #endif // __EMSCRIPTEN__
17.692308
56
0.734783
ErwanLeGoffic
fe0af7278502ff2500ff9a70862a33d3c134cb55
2,177
hpp
C++
Lab2/Lab2/CircularQueue.hpp
erickque/mte-140
d6d48a72b51c8223fa95655be132fe5b18bd8e7d
[ "BSD-4-Clause-UC" ]
null
null
null
Lab2/Lab2/CircularQueue.hpp
erickque/mte-140
d6d48a72b51c8223fa95655be132fe5b18bd8e7d
[ "BSD-4-Clause-UC" ]
null
null
null
Lab2/Lab2/CircularQueue.hpp
erickque/mte-140
d6d48a72b51c8223fa95655be132fe5b18bd8e7d
[ "BSD-4-Clause-UC" ]
null
null
null
// CircularQueue implements a queue using an array as a circular track. #ifndef CIRCULAR_QUEUE_HPP #define CIRCULAR_QUEUE_HPP class CircularQueue { friend class CircularQueueTest; public: // Can be seen outside as CircularQueue::QueueItem typedef int QueueItem; // Used as an indicator...
31.550725
82
0.663757
erickque
fe0d2a60ce5d58d05d1990d4b2b789db6efd05f9
7,042
cpp
C++
src/pose_predictor.cpp
asr-ros/asr_lib_pose_prediction_ism
656aca32a9f96080f4e4627b93e81e59030f0d27
[ "BSD-3-Clause" ]
1
2019-10-29T13:37:21.000Z
2019-10-29T13:37:21.000Z
src/pose_predictor.cpp
asr-ros/asr_lib_pose_prediction_ism
656aca32a9f96080f4e4627b93e81e59030f0d27
[ "BSD-3-Clause" ]
null
null
null
src/pose_predictor.cpp
asr-ros/asr_lib_pose_prediction_ism
656aca32a9f96080f4e4627b93e81e59030f0d27
[ "BSD-3-Clause" ]
1
2019-11-03T13:58:52.000Z
2019-11-03T13:58:52.000Z
/** Copyright (c) 2016, Heizmann Heinrich, Heller Florian, Meißner Pascal, Stöckle Patrick All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyri...
38.906077
755
0.665862
asr-ros
fe0f2bfa19b0795c6ee8bb1c7c22539c7de6030a
3,600
cpp
C++
source/kaldi_edit_distance.cpp
ShigekiKarita/kaldi-edit-distance
16987e0643f45097510af93ae7ced8a4bdc380fb
[ "Apache-2.0" ]
2
2019-09-09T07:52:29.000Z
2019-09-29T19:49:45.000Z
source/kaldi_edit_distance.cpp
ShigekiKarita/kaldi-edit-distance
16987e0643f45097510af93ae7ced8a4bdc380fb
[ "Apache-2.0" ]
null
null
null
source/kaldi_edit_distance.cpp
ShigekiKarita/kaldi-edit-distance
16987e0643f45097510af93ae7ced8a4bdc380fb
[ "Apache-2.0" ]
null
null
null
#include <sstream> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "edit-distance-inl.h" namespace py = pybind11; template <class T> kaldi::int32 edit_distance(const std::vector<T> &ref, const std::vector<T>& hyp) { return kaldi::LevenshteinEditDistance(ref, hyp); } struct ErrorStats { k...
34.615385
116
0.619444
ShigekiKarita
fe107a95debad2e1e40da444af800d98800874c2
524
cpp
C++
Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheModule.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
null
null
null
Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheModule.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
null
null
null
Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheModule.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
1
2021-01-22T09:11:51.000Z
2021-01-22T09:11:51.000Z
// Copyright Epic Games, Inc. All Rights Reserved. #include "GeometryCacheModule.h" #if WITH_EDITOR #include "GeometryCacheEdModule.h" #endif // WITH_EDITOR #include "CodecV1.h" IMPLEMENT_MODULE(FGeometryCacheModule, GeometryCache) void FGeometryCacheModule::StartupModule() { #if WITH_EDITOR FGeometryC...
22.782609
118
0.767176
greenrainstudios
fe155892e9600cdb57dc1b1cb6824d236828ed01
9,902
cpp
C++
drlvm/vm/gc_gen/src/mark_sweep/wspace_sweep.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
8
2015-11-04T06:06:35.000Z
2021-07-04T13:47:36.000Z
drlvm/vm/gc_gen/src/mark_sweep/wspace_sweep.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
1
2021-10-17T13:07:28.000Z
2021-10-17T13:07:28.000Z
drlvm/vm/gc_gen/src/mark_sweep/wspace_sweep.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
13
2015-11-27T03:14:50.000Z
2022-02-26T15:12:20.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
36.404412
122
0.707938
sirinath
fe1773f4e57c483aeb5dd5e7c9771ca215ff0e08
4,298
cpp
C++
expressions/aggregation/AggregationHandleMax.cpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
expressions/aggregation/AggregationHandleMax.cpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
expressions/aggregation/AggregationHandleMax.cpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
38.035398
81
0.769195
Hacker0912
fe1c6d9cf0ecdbdb8208238cd6a9b65aadee961b
1,993
cc
C++
chrome/renderer/navigation_state.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
chrome/renderer/navigation_state.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
chrome/renderer/navigation_state.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 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/renderer/navigation_state.h" #include "chrome/renderer/user_script_idle_scheduler.h" #include "webkit/glue/alt_error_page_resource_f...
36.907407
79
0.73156
Gitman1989
fe2243b3722b197b9f5544425a57ac2fb289dfc5
14,942
cpp
C++
Rendering/Renderer.cpp
CakeWithSteak/fpf
e3a48478215a5b8623f0df76f730534b545ae9c3
[ "MIT" ]
null
null
null
Rendering/Renderer.cpp
CakeWithSteak/fpf
e3a48478215a5b8623f0df76f730534b545ae9c3
[ "MIT" ]
null
null
null
Rendering/Renderer.cpp
CakeWithSteak/fpf
e3a48478215a5b8623f0df76f730534b545ae9c3
[ "MIT" ]
null
null
null
#include "glad/glad.h" #include "Renderer.h" #include <vector> #include <stdexcept> #include <cuda_runtime.h> #include <cuda_gl_interop.h> #include <driver_types.h> #include <algorithm> #include "../Computation/safeCall.h" #include "utils.h" #include "../Computation/shared_types.h" float data[] = { //XY position a...
37.923858
240
0.715433
CakeWithSteak
fe23c392a0a037b38d10ad324be8d6883ac24f62
1,444
cpp
C++
lightoj.com/ChocolateThief.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
6
2016-09-10T03:16:34.000Z
2020-04-07T14:45:32.000Z
lightoj.com/ChocolateThief.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
null
null
null
lightoj.com/ChocolateThief.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
2
2018-08-11T20:55:35.000Z
2020-01-15T23:23:11.000Z
/* By: facug91 From: http://lightoj.com/volume_showproblem.php?problem=1249 Name: Chocolate Thief Number: 1249 Date: 26/07/2014 */ #include <iostream> #include <cstdio> #include <cstdlib> #include <string> #include <cstring> #include <cmath> #include <algorithm> #include <vector> #include <queue> ...
20.927536
124
0.626039
facug91
fe2616d15d918ea2abc95cd86f753a5351b1eb7a
5,200
cpp
C++
example/offscreen.cpp
UsiTarek/vkfw
ed25b204146ce4013597706ccce3e72f49ae3462
[ "Apache-2.0" ]
33
2021-01-20T17:10:26.000Z
2022-03-27T03:32:21.000Z
example/offscreen.cpp
UsiTarek/vkfw
ed25b204146ce4013597706ccce3e72f49ae3462
[ "Apache-2.0" ]
1
2022-03-25T22:55:27.000Z
2022-03-26T06:55:29.000Z
example/offscreen.cpp
UsiTarek/vkfw
ed25b204146ce4013597706ccce3e72f49ae3462
[ "Apache-2.0" ]
5
2021-06-29T03:30:06.000Z
2022-03-25T22:57:02.000Z
//======================================================================== // Offscreen rendering example // Copyright (c) Camilla Löwy <elmindreda@glfw.org> // // 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 t...
29.885057
77
0.693846
UsiTarek
fe2838a58a50c1f33922597e95e8dbd43e86961e
2,850
cpp
C++
day2/placement/data/data_maker/6/std.cpp
DiamondJack/CTSC2018
a3a6ed27d61915ce08bcce4160970a9aeea39a0c
[ "Apache-2.0" ]
2
2019-03-22T11:13:53.000Z
2020-08-28T03:05:02.000Z
day2/placement/data/data_maker/6/std.cpp
DiamondJack/CTSC2018
a3a6ed27d61915ce08bcce4160970a9aeea39a0c
[ "Apache-2.0" ]
null
null
null
day2/placement/data/data_maker/6/std.cpp
DiamondJack/CTSC2018
a3a6ed27d61915ce08bcce4160970a9aeea39a0c
[ "Apache-2.0" ]
null
null
null
#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; const int maxn=2010; int n,m,k,en; int t[maxn][maxn],r[maxn][maxn],in[maxn]; int res[maxn]; bool use[maxn][maxn]; char args[100][100]; char djm[1000]; int ans=0x3f3f3f3f; struct edge { int e,f; edge *next,*op; }*v[...
15.405405
56
0.521754
DiamondJack
fe28838b65cb6cc2348a1f6f9aa9ec0361548e42
4,765
cpp
C++
src/memory.cpp
Keithcat1/synthizer
242a06855a36b9a9049d5fb00630800cda4a2984
[ "Unlicense" ]
null
null
null
src/memory.cpp
Keithcat1/synthizer
242a06855a36b9a9049d5fb00630800cda4a2984
[ "Unlicense" ]
null
null
null
src/memory.cpp
Keithcat1/synthizer
242a06855a36b9a9049d5fb00630800cda4a2984
[ "Unlicense" ]
null
null
null
#include "synthizer.h" #include "synthizer/error.hpp" #include "synthizer/logging.hpp" #include "synthizer/memory.hpp" #include "synthizer/vector_helpers.hpp" #include <concurrentqueue.h> #include <atomic> #include <cassert> #include <chrono> #include <memory> #include <mutex> #include <shared_mutex> #include <threa...
25.756757
171
0.740399
Keithcat1
fe2a8e7b53edce67e0b7e90a6ec41f4a104a6f01
1,866
cpp
C++
classes/input/pointer.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
24
2017-08-22T15:55:34.000Z
2022-03-06T11:41:31.000Z
classes/input/pointer.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
6
2018-07-21T12:17:55.000Z
2021-08-12T11:27:27.000Z
classes/input/pointer.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
9
2017-09-13T02:32:18.000Z
2022-03-06T11:41:32.000Z
/* The smooth Class Library * Copyright (C) 1998-2013 Robert Kausch <robert.kausch@gmx.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of "The Artistic License, Version 2.0". * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRA...
24.552632
87
0.706324
Patriccollu
fe2d1ca9457dab40358687e3dbbfcc157a13a13f
640
cpp
C++
test/unit-tests/mapper/map_flushed_event_test.cpp
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
38
2021-04-06T03:20:55.000Z
2022-03-02T09:33:28.000Z
test/unit-tests/mapper/map_flushed_event_test.cpp
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
19
2021-04-08T02:27:44.000Z
2022-03-23T00:59:04.000Z
test/unit-tests/mapper/map_flushed_event_test.cpp
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
28
2021-04-08T04:39:18.000Z
2022-03-24T05:56:00.000Z
#include "src/mapper/map_flushed_event.h" #include <gtest/gtest.h> #include "test/unit-tests/mapper/i_map_manager_mock.h" using ::testing::_; using ::testing::AtLeast; using testing::NiceMock; using ::testing::Return; using ::testing::ReturnRef; namespace pos { TEST(MapFlushedEvent, Execute_) { // given Nice...
22.068966
88
0.7
so931
fe2d3154917901af60089b6e1e1fe7d232382fd4
17,861
cpp
C++
src/universe/vehicle/plumbing/VehiclePlumbing.cpp
TheOpenSpaceProgram/new-ospgl
646ee5229ce4c35856aae0d41b514c86c33791a2
[ "MIT" ]
22
2019-11-15T22:07:17.000Z
2022-01-13T16:40:01.000Z
src/universe/vehicle/plumbing/VehiclePlumbing.cpp
TheOpenSpaceProgram/new-ospgl
646ee5229ce4c35856aae0d41b514c86c33791a2
[ "MIT" ]
25
2020-03-03T00:54:21.000Z
2021-12-30T16:24:22.000Z
src/universe/vehicle/plumbing/VehiclePlumbing.cpp
TheOpenSpaceProgram/new-ospgl
646ee5229ce4c35856aae0d41b514c86c33791a2
[ "MIT" ]
3
2020-03-04T00:36:13.000Z
2020-06-01T20:53:51.000Z
#include "VehiclePlumbing.h" #include "../Vehicle.h" // A reasonable multiplier to prevent extreme flow velocities // I don't know enough fluid mechanics as to determine a reasonable value // so it's arbitrary, chosen to approximate real life rocket values #define FLOW_MULTIPLIER 0.0002 void VehiclePlumbing::update_p...
21.339307
125
0.649516
TheOpenSpaceProgram
fe3125c25dd4ac57df2898f8d0bf16aefc42bcfb
502
hpp
C++
owl/scene/light.hpp
soerenkoenig/owl
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
[ "MIT" ]
null
null
null
owl/scene/light.hpp
soerenkoenig/owl
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
[ "MIT" ]
null
null
null
owl/scene/light.hpp
soerenkoenig/owl
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
[ "MIT" ]
null
null
null
// // .___. // {o,o} // ./)_) // owl --"-"--- // // Copyright © 2018 Sören König. All rights reserved. // #pragma once #include <chrono> namespace owl { namespace scene { enum class light_type { ambient, directional, spot, point }; template<typename Sca...
12.55
54
0.5
soerenkoenig
fe33d099e9167369f55f319dc61a9bd1e9d9adf7
1,498
hpp
C++
SDK/ARKSurvivalEvolved_Buff_Radiation_Sickness_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Buff_Radiation_Sickness_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Buff_Radiation_Sickness_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Buff_Radiation_Sickness_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-------------------------------------------------...
34.045455
208
0.59012
2bite
fe36c35e7c70f16f9c5d5a2f19e5d6ea07142047
2,487
cpp
C++
SWExpertAcademy/SWEA1218.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-07-08T23:16:19.000Z
2020-07-08T23:16:19.000Z
SWExpertAcademy/SWEA1218.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-05-16T03:12:24.000Z
2020-05-16T03:14:42.000Z
SWExpertAcademy/SWEA1218.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
2
2020-05-16T03:25:16.000Z
2021-02-10T16:51:25.000Z
#include <iostream> #include <stack> #include <vector> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); for (int test_case = 1; test_case <= 10; test_case++) { int test; cin >> test; vecto...
38.261538
69
0.178126
sungmen
fe3abe9f69d4ccbbdf68b5b27e766cafa3958e47
1,937
cpp
C++
tests/LpmSphereVoronoiMeshUnitTests.cpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
tests/LpmSphereVoronoiMeshUnitTests.cpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
18
2021-06-27T17:59:03.000Z
2022-02-22T03:41:27.000Z
tests/LpmSphereVoronoiMeshUnitTests.cpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
#include "LpmConfig.h" #include "LpmDefs.hpp" #include "Kokkos_Core.hpp" #include "LpmMeshSeed.hpp" #include "LpmSphereVoronoiPrimitives.hpp" #include "LpmSphereVoronoiMesh.hpp" #include "LpmVtkIO.hpp" #include <iostream> #include <iomanip> #include <string> #include <exception> using namespace Lpm; using namespace V...
24.2125
101
0.603511
pbosler
fe3f3a182ade1097886de34a2afef91e94945431
4,877
cpp
C++
sources/Base/spVertexFormatUniversal.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/Base/spVertexFormatUniversal.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/Base/spVertexFormatUniversal.cpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2016-10-31T06:08:44.000Z
2019-08-02T16:12:33.000Z
/* * Universal vertex format file * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #include "Base/spVertexFormatUniversal.hpp" #include "RenderSystem/spRenderSystem.hpp" namespace sp { extern video::RenderSystem* Glb...
28.688235
137
0.67316
rontrek
fe402dad1b6dea7988a303d6a94d010af8a89733
3,327
cpp
C++
src/C/Security-57031.40.6/Security/libsecurity_apple_csp/tests/t.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
34
2015-02-04T18:03:14.000Z
2020-11-10T06:45:28.000Z
src/C/Security-57031.40.6/Security/libsecurity_apple_csp/tests/t.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
5
2015-06-30T21:17:00.000Z
2016-06-14T22:31:51.000Z
src/C/Security-57031.40.6/Security/libsecurity_apple_csp/tests/t.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
15
2015-10-29T14:21:58.000Z
2022-01-19T07:33:14.000Z
/* * Copyright (c) 2000-2001,2011,2014 Apple Inc. All Rights Reserved. * * The contents of this file constitute Original Code as defined in and are * subject to the Apple Public Source License Version 1.2 (the 'License'). * You may not use this file except in compliance with the License. Please obtain * a copy o...
29.184211
95
0.706943
GaloisInc
fe4050b4f5bb5e2d2d9ec3ff5635768a635e43f4
4,419
cc
C++
third_party/blink/renderer/bindings/core/v8/referrer_script_info_test.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
third_party/blink/renderer/bindings/core/v8/referrer_script_info_test.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
third_party/blink/renderer/bindings/core/v8/referrer_script_info_test.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2017 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 "third_party/blink/renderer/bindings/core/v8/referrer_script_info.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/...
40.541284
80
0.721656
Yannic
fe414fd5ca9e82c15c166379487841e8f3ede12f
1,841
hpp
C++
GenericSimulator/GenericSimulatorTemplates/core/EntityFreeFunc.hpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
GenericSimulator/GenericSimulatorTemplates/core/EntityFreeFunc.hpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
GenericSimulator/GenericSimulatorTemplates/core/EntityFreeFunc.hpp
ducis/pile-of-cpp
af5a123ec67cff589f27bf20d435b2db29a0a7c8
[ "MIT" ]
null
null
null
//#pragma once // //#include <Meta/entity.hpp> //#include <entity_as_boost_fusion_sequence.hpp> // //namespace GenericSim{ // namespace Entities{ // template < // typename GenericSim::Meta::GetEntityLabels<_Entity>::Type N0, // typename _Entity // > // typename GenericSim::Meta::GetEntityAtResultType...
36.82
97
0.674633
ducis
fe43ebf51be651d1da0fd64829ecf6a0b1efb7e8
670
cpp
C++
src/MeteringSDK/MCORE/MTypeCasting.cpp
beroset/C12Adapter
593b201db169481245b0673813e19d174560a41e
[ "MIT" ]
9
2016-09-02T17:24:58.000Z
2021-12-14T19:43:48.000Z
src/MeteringSDK/MCORE/MTypeCasting.cpp
beroset/C12Adapter
593b201db169481245b0673813e19d174560a41e
[ "MIT" ]
1
2018-09-06T21:48:42.000Z
2018-09-06T21:48:42.000Z
src/MeteringSDK/MCORE/MTypeCasting.cpp
beroset/C12Adapter
593b201db169481245b0673813e19d174560a41e
[ "MIT" ]
4
2016-09-06T16:54:36.000Z
2021-12-16T16:15:24.000Z
// File MCORE/MTypeCasting.cpp #include "MCOREExtern.h" #include "MObject.h" // included instead of MTypeCasting.h #include "MException.h" M_FUNC M_NORETURN_FUNC void MDoThrowBadConversionUint64(const char* typeName) { MException::Throw(MException::ErrorSoftware, M_CODE_STR_P1(MErrorEnum::BadConversion, M_I("Coul...
35.263158
158
0.777612
beroset
1cfa8e7e33e56d8e5c4cf632073d685c6b267107
66,919
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/wifi/CWifiConfiguration.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/wifi/CWifiConfiguration.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/wifi/CWifiConfiguration.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
28.683669
112
0.649263
jingcao80
1cfb31356e49096d53dc216d70e33f3b0575fd5f
3,168
cpp
C++
test/test_harmonic1d.cpp
grasingerm/port-authority
51db6b09d6a1545eafeaf6be037a23d47313c490
[ "MIT" ]
null
null
null
test/test_harmonic1d.cpp
grasingerm/port-authority
51db6b09d6a1545eafeaf6be037a23d47313c490
[ "MIT" ]
null
null
null
test/test_harmonic1d.cpp
grasingerm/port-authority
51db6b09d6a1545eafeaf6be037a23d47313c490
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #include <cstdlib> #include <ctime> #include <random> #include "port_authority.hpp" #include "mpi.h" using namespace std; using namespace pauth; int main() { int taskid, numtasks; MPI_Init(nullptr, nullptr); MPI_Comm_size(MPI_COMM_WORLD, &numtasks); MPI_Comm_rank(MP...
31.68
80
0.561553
grasingerm
e800177f3cac938807b707a1d0acbeec633aebe8
724
cpp
C++
code_snippets/chapter03/chapter03_02-001_fixed_size_integer.cpp
nandasanchit17/real-time-cpp
fae1aece8b4fe2aaae18c8bd81a99661b0609a23
[ "BSL-1.0" ]
1
2020-03-19T08:10:23.000Z
2020-03-19T08:10:23.000Z
code_snippets/chapter03/chapter03_02-001_fixed_size_integer.cpp
nandasanchit17/real-time-cpp
fae1aece8b4fe2aaae18c8bd81a99661b0609a23
[ "BSL-1.0" ]
null
null
null
code_snippets/chapter03/chapter03_02-001_fixed_size_integer.cpp
nandasanchit17/real-time-cpp
fae1aece8b4fe2aaae18c8bd81a99661b0609a23
[ "BSL-1.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Copyright Christopher Kormanyos 2017 - 2018. // Distributed under the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) // // chapter03_02-001_fixed_si...
26.814815
79
0.622928
nandasanchit17
e80028ad367f2469b3c6449533f19dc84eb2b828
1,591
cpp
C++
test_package/example.cpp
memsharded/conan-eastl
1c0de6b7f650036224fe4f51e5001f59aa609de0
[ "MIT" ]
null
null
null
test_package/example.cpp
memsharded/conan-eastl
1c0de6b7f650036224fe4f51e5001f59aa609de0
[ "MIT" ]
null
null
null
test_package/example.cpp
memsharded/conan-eastl
1c0de6b7f650036224fe4f51e5001f59aa609de0
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <EASTL/hash_map.h> #include <EASTL/string.h> // EASTL expects us to define these, see allocator.h line 194 void* operator new[](size_t size, const char* /* pName */, int /* flags */, unsigned /* debugFlags */, const char* /* fil...
27.912281
75
0.59208
memsharded
e802fbd2c9ca1e00f17cf66c860bdb14a403a0e8
1,878
cpp
C++
Camera.cpp
CJT-Jackton/The-Color-of-Tea
d7c79279613bdc04237e8692bcc2cb6918172900
[ "BSD-2-Clause" ]
1
2020-09-15T06:32:08.000Z
2020-09-15T06:32:08.000Z
Camera.cpp
CJT-Jackton/The-Color-of-Tea
d7c79279613bdc04237e8692bcc2cb6918172900
[ "BSD-2-Clause" ]
null
null
null
Camera.cpp
CJT-Jackton/The-Color-of-Tea
d7c79279613bdc04237e8692bcc2cb6918172900
[ "BSD-2-Clause" ]
null
null
null
// // Camera.cpp // // Camera class implementations. // // Author: Jietong Chen // Date: 5/2/2018 // #include <glm/gtc/matrix_transform.hpp> #include "Camera.h" /// // Constructor // // @param position - camera location // @param lookat - lookat point location // @param fov - field of view // @param aspec...
27.217391
80
0.551118
CJT-Jackton
e8046a51eb12bfe61e487c86917358894bf37cc1
31,943
cpp
C++
src/Filesystem/Filesystem.cpp
NerdThings/Ngine
e5c4754d07ec38e727d8baaf7250dbb996cad49e
[ "Apache-2.0" ]
2
2019-05-24T15:20:14.000Z
2019-06-12T11:55:27.000Z
src/Filesystem/Filesystem.cpp
NerdThings/Ngine
e5c4754d07ec38e727d8baaf7250dbb996cad49e
[ "Apache-2.0" ]
23
2019-06-05T12:52:33.000Z
2020-03-11T15:23:00.000Z
src/Filesystem/Filesystem.cpp
NerdThings/Ngine
e5c4754d07ec38e727d8baaf7250dbb996cad49e
[ "Apache-2.0" ]
1
2019-10-02T20:31:12.000Z
2019-10-02T20:31:12.000Z
/********************************************************************************************** * * Ngine - The 2D game engine. * * Copyright (C) 2019 NerdThings * * LICENSE: Apache License 2.0 * View: https://github.com/NerdThings/Ngine/blob/master/LICENSE * ****************************************************...
28.243148
134
0.556648
NerdThings
e80537687f2043bd8070d48f5b59437539a52a0c
187
hpp
C++
src/modules/osgWidget/generated_code/Frame.pypp.hpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osgWidget/generated_code/Frame.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osgWidget/generated_code/Frame.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
// This file has been generated by Py++. #ifndef Frame_hpp__pyplusplus_wrapper #define Frame_hpp__pyplusplus_wrapper void register_Frame_class(); #endif//Frame_hpp__pyplusplus_wrapper
20.777778
40
0.834225
JaneliaSciComp
e8099e57d34b5af79ab4097f580737e83357e643
3,353
cc
C++
api/cpp/sona_api.cc
LeechanX/Sona
68bdf18d1011ec465ec9de50d4ad189b1f117ede
[ "MIT" ]
39
2018-08-08T14:08:04.000Z
2021-12-07T06:12:19.000Z
api/cpp/sona_api.cc
LeechanX/Sona
68bdf18d1011ec465ec9de50d4ad189b1f117ede
[ "MIT" ]
1
2018-08-09T02:33:16.000Z
2018-08-10T14:18:42.000Z
api/cpp/sona_api.cc
LeechanX/Sona
68bdf18d1011ec465ec9de50d4ad189b1f117ede
[ "MIT" ]
9
2018-08-30T05:57:58.000Z
2021-01-11T03:21:59.000Z
#include "sona_api.h" #include "conf_memory.h" #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <fcntl.h> #include <string.h> #include <pthread.h> #include <sstream> #include <algorithm> #include "network.h" static std::string trim(const std::string& str) { std::string::size_type pos = str.find_...
24.122302
90
0.579779
LeechanX
e809d18d381bc7627564d835d0abda51c14e182e
1,578
cpp
C++
Store/XamlWin2D/App.cpp
moutend/cppwinrt
737cbbb11fe56e4d94ff9d84a44aa72e0689016b
[ "MIT" ]
83
2017-11-15T22:51:43.000Z
2022-03-01T09:54:00.000Z
Store/XamlWin2D/App.cpp
moutend/cppwinrt
737cbbb11fe56e4d94ff9d84a44aa72e0689016b
[ "MIT" ]
1
2017-11-13T03:14:01.000Z
2017-11-14T18:01:06.000Z
Store/XamlWin2D/App.cpp
moutend/cppwinrt
737cbbb11fe56e4d94ff9d84a44aa72e0689016b
[ "MIT" ]
24
2017-11-16T22:01:41.000Z
2021-08-04T09:27:46.000Z
#include "pch.h" using namespace winrt; using namespace Windows::ApplicationModel::Activation; using namespace Windows::Foundation; using namespace Windows::Foundation::Numerics; using namespace Windows::UI; using namespace Windows::UI::Xaml; using namespace Microsoft::Graphics::Canvas; using namespace Mi...
32.204082
102
0.646388
moutend