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
8f80c838ff86b3a778f6b22384ef7d21882094b1
688
cpp
C++
20160813_ABC043_Complete/c.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20160813_ABC043_Complete/c.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20160813_ABC043_Complete/c.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
// インクルード #include <iostream> #include <vector> #include <string> #include <cmath> #include <algorithm> #include <iomanip> // 名前空間省略 using namespace std; // メイン int main() { // 入出力の高速化 ios::sync_with_stdio(false); cin.tie(nullptr); // 表示精度変更 cout << fixed << setprecision(16); int n; ...
15.636364
38
0.472384
miyalab
8f8383e60bbdfaf947e7ee28a2e9f7032078d580
10,370
cpp
C++
src/ui/widget/SourceCodeLocationWidget.cpp
vitorjna/LoggerClient
b447f36224e98919045138bb08a849df211e5491
[ "MIT" ]
null
null
null
src/ui/widget/SourceCodeLocationWidget.cpp
vitorjna/LoggerClient
b447f36224e98919045138bb08a849df211e5491
[ "MIT" ]
null
null
null
src/ui/widget/SourceCodeLocationWidget.cpp
vitorjna/LoggerClient
b447f36224e98919045138bb08a849df211e5491
[ "MIT" ]
null
null
null
#include "SourceCodeLocationWidget.h" #include "application/AppSettings.h" #include "application/GlobalConstants.h" #include "ui/ToastNotificationWidget.h" #include "util/NetworkUtils.h" #include "view/StandardItemView.h" SourceCodeLocationWidget::SourceCodeLocationWidget(QWidget *parent) : QWidget(parent) { s...
38.265683
177
0.708486
vitorjna
8f8473751b532346aab55db7660f6b0ceecd08a1
24,939
cpp
C++
components/scream/src/share/atm_process/atmosphere_process.cpp
ambrad/scream
52da60f65e870b8a3994bdbf4a6022fdcac7cab5
[ "BSD-3-Clause" ]
null
null
null
components/scream/src/share/atm_process/atmosphere_process.cpp
ambrad/scream
52da60f65e870b8a3994bdbf4a6022fdcac7cab5
[ "BSD-3-Clause" ]
null
null
null
components/scream/src/share/atm_process/atmosphere_process.cpp
ambrad/scream
52da60f65e870b8a3994bdbf4a6022fdcac7cab5
[ "BSD-3-Clause" ]
null
null
null
#include "share/atm_process/atmosphere_process.hpp" #include "share/util/scream_timing.hpp" #include "ekat/ekat_assert.hpp" #include <set> #include <stdexcept> #include <string> namespace scream { AtmosphereProcess:: AtmosphereProcess (const ekat::Comm& comm, const ekat::ParameterList& params) : m_comm (com...
35.475107
102
0.659489
ambrad
8f87424c5a5f33c3f4bf0f55c8035c445918160d
1,832
cpp
C++
tests/src/src/cpp/test_factory/TypePropertiesTest.cpp
Bhaskers-Blu-Org2/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
19
2019-06-16T02:29:24.000Z
2022-03-01T23:20:25.000Z
tests/src/src/cpp/test_factory/TypePropertiesTest.cpp
microsoft/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
null
null
null
tests/src/src/cpp/test_factory/TypePropertiesTest.cpp
microsoft/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
5
2019-11-03T11:40:25.000Z
2020-08-05T14:56:13.000Z
/*** * Copyright (C) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. * * File:TypePropertiesTest.cpp ****/ #include "TestModelFastInternal.g.h" #include <pmod/library/object_factory.h> #include <pal/pal_thread.h> using n...
35.230769
179
0.774017
Bhaskers-Blu-Org2
8f8c0bce4d25e2e8d7057dc628f324230e63271a
4,465
hxx
C++
Integer1.hxx
zaimoni/Franc
54c41949676e0e4e2fdba00b7bb7813b1b45e649
[ "BSL-1.0" ]
null
null
null
Integer1.hxx
zaimoni/Franc
54c41949676e0e4e2fdba00b7bb7813b1b45e649
[ "BSL-1.0" ]
null
null
null
Integer1.hxx
zaimoni/Franc
54c41949676e0e4e2fdba00b7bb7813b1b45e649
[ "BSL-1.0" ]
null
null
null
// Integer1.hxx // definition of IntegerNumeral #ifndef INTEGERNUMERAL_DEF #define INTEGERNUMERAL_DEF #if !defined(ABSTRACTCLASS_DEF) #error Include Class.hxx *before* Integer1.hxx #endif #include "MetaCon6.hxx" #include "__IntegerNumeral.hxx" // This type works in base 10^9 enum PowersOfTen { T...
44.207921
184
0.74804
zaimoni
8f8f47f9f3162c68e63f7c660aecf8a93df3f47a
1,225
cc
C++
src/utils/simple_http_client.cc
negibokken/toyscopy
f82d7b3e16d2088e74f036aedc7602a84af781e2
[ "MIT" ]
9
2019-12-31T10:33:14.000Z
2021-11-21T00:35:19.000Z
src/utils/simple_http_client.cc
negibokken/toyscopy
f82d7b3e16d2088e74f036aedc7602a84af781e2
[ "MIT" ]
18
2019-11-01T16:08:08.000Z
2021-01-09T10:40:39.000Z
src/utils/simple_http_client.cc
negibokken/toyscopy
f82d7b3e16d2088e74f036aedc7602a84af781e2
[ "MIT" ]
1
2022-03-16T06:22:41.000Z
2022-03-16T06:22:41.000Z
#include "simple_http_client.h" namespace ToyScopyUtil { inline size_t write(void* contents, size_t size, size_t nmemb, std::string* s) { size_t newLength = size * nmemb; try { s->append((char*)contents, newLength); } catch (std::bad_alloc& e) { // handle memory problem return 0; } return newLen...
24.019608
80
0.602449
negibokken
8f9113a54dd64e37202c551bfa14f417142a00f4
3,067
cpp
C++
Src/StateMachine.cpp
Condzi/Engine
10f6acdf33b24b8d0aab9efcec570821a73423a1
[ "MIT" ]
1
2018-07-30T10:51:23.000Z
2018-07-30T10:51:23.000Z
Src/StateMachine.cpp
Condzi/Engine
10f6acdf33b24b8d0aab9efcec570821a73423a1
[ "MIT" ]
null
null
null
Src/StateMachine.cpp
Condzi/Engine
10f6acdf33b24b8d0aab9efcec570821a73423a1
[ "MIT" ]
null
null
null
/* Conrad 'Condzi' Kubacki 2018 https://github.com/condzi */ #include "Engine/EnginePCH.hpp" #include "Engine/StateMachine.hpp" namespace con::priv { std::unique_ptr<State> con::priv::StateFactory::createState( StateID id ) { auto result = functions.find( id ); if ( result != functions.end() ) return result->s...
21.006849
83
0.669384
Condzi
8f95ac97a3c2c03c73f0225eb249aa8e02deb818
19,917
cpp
C++
aspects/electrical/sar/GunnsSolarArrayRegulator.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
aspects/electrical/sar/GunnsSolarArrayRegulator.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
aspects/electrical/sar/GunnsSolarArrayRegulator.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
/***************************************** TRICK HEADER ******************************************** @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. PURPOSE: (Provides the classes for mod...
56.262712
166
0.544359
nasa
8f981c90f5cfaf6f6d485231292f6cb867dcc33e
5,335
cpp
C++
engine/src/render/PointLight.cpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-01T20:22:41.000Z
2021-11-01T20:22:41.000Z
engine/src/render/PointLight.cpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:45:20.000Z
2021-11-02T12:45:20.000Z
engine/src/render/PointLight.cpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:28:58.000Z
2021-11-02T12:28:58.000Z
#include "render/PointLight.hpp" #include "core/ResourceManager.hpp" #include "ecs/Entity.hpp" #include "ecs/Scene.hpp" #include "render/ModelComponent.hpp" #include "render/Shader.hpp" #include <glm/gtc/matrix_transform.hpp> namespace Birdy3d::render { PointLight::PointLight(glm::vec3 ambient, glm::vec3 diffuse...
45.598291
158
0.667104
Birdy2014
8f984605c4290d323c814c4dff1f0b5f4dec7ef6
1,077
cpp
C++
src/autowiring/test/CreationRulesTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
src/autowiring/test/CreationRulesTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
src/autowiring/test/CreationRulesTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "TestFixtures/Decoration.hpp" #include <autowiring/CreationRules.h> class CreationRulesTest: public testing::Test {}; struct AlignedFreer { void operator()(void* pMem) const { autowiring::aligned_free(pMem); } }; ...
35.9
110
0.732591
CaseyCarter
8f9fa5b376ff08bc48eaa354b32bf9de2c6647d1
2,023
cpp
C++
BashuOJ-Code/3088.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/3088.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/3088.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> #include<algorithm> #include<queue> #include<stack> #include<vector> #define ri register int #define ll long long using namespace std; const int MAXN=1000005; const int INF=0x7fffffff/2; int n,m,Q,Slope[5],h[MAXN]; struct Line{int l...
20.434343
58
0.565991
magicgh
8fa172122e2e29bdaf5c7175351d35f131a84ab5
69,810
cpp
C++
thrift/gen-cpp/BlockMasterWorkerService.cpp
pspringer/AlluxioWorker
df07f554449c91b1e0f70abe2317b76903f97545
[ "Apache-2.0" ]
null
null
null
thrift/gen-cpp/BlockMasterWorkerService.cpp
pspringer/AlluxioWorker
df07f554449c91b1e0f70abe2317b76903f97545
[ "Apache-2.0" ]
null
null
null
thrift/gen-cpp/BlockMasterWorkerService.cpp
pspringer/AlluxioWorker
df07f554449c91b1e0f70abe2317b76903f97545
[ "Apache-2.0" ]
null
null
null
/** * Autogenerated by Thrift Compiler (0.10.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "BlockMasterWorkerService.h" BlockMasterWorkerService_commitBlock_args::~BlockMasterWorkerService_commitBlock_args() throw() { } uint32_t BlockMasterWorkerService_com...
33.354037
330
0.656596
pspringer
8fa1afbc0840585b82c990f9b8dcd8c42a399cba
898
cpp
C++
class 11.cpp
AxlidinovJ/masalalar_C
ca48c0db29155016a729fbe23030d4a638175d9b
[ "MIT" ]
3
2021-12-02T20:28:27.000Z
2021-12-08T10:21:24.000Z
class 11.cpp
AxlidnovJ/masalalar_C
e0643137e115d7b9b26651a0d5acc24bc79f8d4f
[ "MIT" ]
null
null
null
class 11.cpp
AxlidnovJ/masalalar_C
e0643137e115d7b9b26651a0d5acc24bc79f8d4f
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; class Uchburchak{ private: int a, b, c; public: void setter(int x, int y, int z){ a = x; b = y; c = z; } int per_getter(){ int p; p = a + b + c; return p; } double yuza_getter(){ double s, p; p = ...
16.327273
47
0.45657
AxlidinovJ
8fa3b61e812f9168c39a33e35cc43ccc6921b9ec
8,795
cpp
C++
Cpp/SDK/SortableColumnButton_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
1
2020-08-15T08:31:55.000Z
2020-08-15T08:31:55.000Z
Cpp/SDK/SortableColumnButton_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-15T08:43:56.000Z
2021-01-15T05:04:48.000Z
Cpp/SDK/SortableColumnButton_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-10T12:05:42.000Z
2021-02-12T19:56:10.000Z
// Name: S, Version: b #include "../SDK.h" #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Functions //--------------------------------------------------------------------------- // ...
35.18
190
0.758158
MrManiak
8fa4713a2e7dc53bfa5940f3bf6f498171ff84a3
9,156
cxx
C++
main/dbaccess/source/ui/misc/datasourceconnector.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/dbaccess/source/ui/misc/datasourceconnector.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/dbaccess/source/ui/misc/datasourceconnector.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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 y...
33.416058
140
0.608344
Grosskopf
8fa6c2251bfd2763376a566e2971b11d84362056
2,512
cc
C++
modules/synApps_5_6/support/motor-6-7/motorApp/MotorSrc/motorUtilAux.cc
A2-Collaboration/epics
b764a53bf449d9f6b54a1173c5e75a22cf95098c
[ "OML" ]
null
null
null
modules/synApps_5_6/support/motor-6-7/motorApp/MotorSrc/motorUtilAux.cc
A2-Collaboration/epics
b764a53bf449d9f6b54a1173c5e75a22cf95098c
[ "OML" ]
null
null
null
modules/synApps_5_6/support/motor-6-7/motorApp/MotorSrc/motorUtilAux.cc
A2-Collaboration/epics
b764a53bf449d9f6b54a1173c5e75a22cf95098c
[ "OML" ]
null
null
null
/* FILENAME... motorUtilAux.cc USAGE... Motor Record Utility Support. Version: $Revision: 9857 $ Modified By: $Author: sluiter $ Last Modified: $Date: 2009-12-09 10:21:24 -0600 (Wed, 09 Dec 2009) $ HeadURL: $URL: https://subversion.xor.aps.anl.gov/synApps/motor/tags/R6-7/motorApp/MotorSrc/...
29.552941
116
0.59992
A2-Collaboration
8faa21fc4f32d49cb9eaa405dd7554a463191c11
3,628
cc
C++
schemelib/scheme/kinematics/Director.gtest.cc
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
25
2019-07-23T01:03:48.000Z
2022-03-31T04:16:08.000Z
schemelib/scheme/kinematics/Director.gtest.cc
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
13
2018-01-30T17:45:57.000Z
2022-03-28T11:02:44.000Z
schemelib/scheme/kinematics/Director.gtest.cc
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
14
2018-02-08T01:42:28.000Z
2022-03-31T12:56:17.000Z
#include <gtest/gtest.h> #include "scheme/nest/NEST.hh" #include "scheme/nest/pmap/ScaleMap.hh" #include "scheme/kinematics/Director.hh" #include "scheme/numeric/X1dim.hh" #include "scheme/util/Timer.hh" namespace scheme { namespace kinematics { namespace test_director { using std::cout; using std::endl; using nume...
29.258065
109
0.639195
YaoYinYing
8fb1348a5c091202eaeb38da562337b36adc2e32
593
cpp
C++
Data structures and algorithms/SortingMethods/SortingMethods/BubbleSort.cpp
AdemTsranchaliev/SI-FMI-2019
fc7811dd54519511a84ffc99c30197f9f753ce08
[ "MIT" ]
null
null
null
Data structures and algorithms/SortingMethods/SortingMethods/BubbleSort.cpp
AdemTsranchaliev/SI-FMI-2019
fc7811dd54519511a84ffc99c30197f9f753ce08
[ "MIT" ]
null
null
null
Data structures and algorithms/SortingMethods/SortingMethods/BubbleSort.cpp
AdemTsranchaliev/SI-FMI-2019
fc7811dd54519511a84ffc99c30197f9f753ce08
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void BubleSort(int arr[],int n); int main() { int arr[7] = { 8,2,10,20,-1,4,4 }; } void BubleSort(int arr[], int n) { for (int i = 0; i < n-1; i++) { for (int j = 0; j < n-i;-1 j++) { if (arr[j] > arr[j + 1]) { int temp = arr[j]; arr[j] = arr[j +...
11.86
36
0.440135
AdemTsranchaliev
8fb1a29dd8f461f49827b2d346c56c2941884be8
2,073
cpp
C++
Chapter06/MacroGuardValidator.cpp
PacktPublishing/LLVM-Techniques-Tips-and-Best-Practices-Clang-and-Middle-End-Libraries
c1c87c460afac9854be946a1a8f71c92ad59c14d
[ "MIT" ]
73
2021-04-24T05:37:44.000Z
2022-03-22T00:39:09.000Z
Chapter06/MacroGuardValidator.cpp
PacktPublishing/LLVM-Techniques-Tips-and-Best-Practices
c1c87c460afac9854be946a1a8f71c92ad59c14d
[ "MIT" ]
null
null
null
Chapter06/MacroGuardValidator.cpp
PacktPublishing/LLVM-Techniques-Tips-and-Best-Practices
c1c87c460afac9854be946a1a8f71c92ad59c14d
[ "MIT" ]
21
2021-05-06T07:42:26.000Z
2022-03-19T03:40:01.000Z
#include "clang/Basic/IdentifierTable.h" #include "clang/Basic/SourceManager.h" #include "clang/Lex/MacroInfo.h" #include "clang/Lex/Token.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Support/raw_ostream.h" #include "MacroGuardValidator.h" using namespace clang; using namespace macro_guard; void MacroGuardValid...
37.690909
84
0.579836
PacktPublishing
2630ec8a3760317999e45c17f64d502b5928e572
1,714
hpp
C++
testing/TestCases.hpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
testing/TestCases.hpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
testing/TestCases.hpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
#if !defined TEST_CASES_HPP #define TEST_CASES_HPP #include <list> #include <string> #include "Test.hpp" // This class allows sets of related Tests to be grouped and executed together. // It does this by storing an internal list of Tests and then implementing the // Test::body() pure virtual member function in such ...
31.163636
80
0.675613
leighgarbs
2631940a9d543bd88499c7313eadefa622d8f7c6
2,964
cc
C++
src/master/SerialMaster.cc
jedbrown/pakman
16f605a2dd153f00829b596cce3cdd458b6cefb5
[ "BSD-3-Clause" ]
null
null
null
src/master/SerialMaster.cc
jedbrown/pakman
16f605a2dd153f00829b596cce3cdd458b6cefb5
[ "BSD-3-Clause" ]
null
null
null
src/master/SerialMaster.cc
jedbrown/pakman
16f605a2dd153f00829b596cce3cdd458b6cefb5
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <memory> #include <utility> #include <assert.h> #include "system/system_call.h" #include "controller/AbstractController.h" #include "SerialMaster.h" // Construct from pointer to program terminated flag SerialMaster::SerialMaster(const Command& simulator, bool *p_program_terminated...
23.903226
77
0.714238
jedbrown
26350fffa805e379b02e92ee7183e96db5c3d18a
1,443
cpp
C++
spine-cpp/src/spine/Bone.cpp
damucz/spine-runtimes
7eae2176162e3c1aac56a3bc3ca9c86f9654a27c
[ "BSD-2-Clause" ]
2
2016-05-23T20:13:32.000Z
2021-02-03T23:46:38.000Z
spine-cpp/src/spine/Bone.cpp
damucz/spine-runtimes
7eae2176162e3c1aac56a3bc3ca9c86f9654a27c
[ "BSD-2-Clause" ]
null
null
null
spine-cpp/src/spine/Bone.cpp
damucz/spine-runtimes
7eae2176162e3c1aac56a3bc3ca9c86f9654a27c
[ "BSD-2-Clause" ]
6
2015-02-16T16:20:43.000Z
2018-07-08T06:05:01.000Z
#include <math.h> #include <stdexcept> #include <spine/Bone.h> #include <spine/BoneData.h> #ifndef M_PI // fix for windows removing precious information #define M_PI 3.14159265358979323846 #endif namespace spine { Bone::Bone (BoneData *data) : data(data), parent(0), x(data->x), y(data->y), rotat...
21.220588
64
0.641026
damucz
26355cc569cfa486632991b5be49c6fbc91a4d1e
1,089
cpp
C++
A/1044.cpp
chenjiajia9411/PATest
061c961f5d7bf7b23c3a1b70d3d443cb57263700
[ "Apache-2.0" ]
1
2017-11-24T15:06:29.000Z
2017-11-24T15:06:29.000Z
A/1044.cpp
chenjiajia9411/PAT
061c961f5d7bf7b23c3a1b70d3d443cb57263700
[ "Apache-2.0" ]
null
null
null
A/1044.cpp
chenjiajia9411/PAT
061c961f5d7bf7b23c3a1b70d3d443cb57263700
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <limits> #include <algorithm> using namespace std; typedef struct { int begin; int end; } result; int main() { int n,m; cin>>n>>m; vector<int> v(n); for(int i = 0; i < n; i++) cin>>v[i]; vector<result> r; int min_difference = numeric_limit...
22.22449
94
0.413223
chenjiajia9411
263d857501f25ba65dbafc51a09c5a56a4ca4f53
823
cpp
C++
src/RunMetadata.cpp
bio-nim/pbbam
d3bf59e90865ef3b39bf50f19fd846db42bb0fe1
[ "BSD-3-Clause-Clear" ]
21
2016-04-26T20:46:41.000Z
2022-03-01T01:55:55.000Z
src/RunMetadata.cpp
bio-nim/pbbam
d3bf59e90865ef3b39bf50f19fd846db42bb0fe1
[ "BSD-3-Clause-Clear" ]
25
2015-09-03T22:18:01.000Z
2019-08-27T14:47:39.000Z
src/RunMetadata.cpp
bio-nim/pbbam
d3bf59e90865ef3b39bf50f19fd846db42bb0fe1
[ "BSD-3-Clause-Clear" ]
20
2015-11-24T15:54:26.000Z
2022-03-14T03:49:18.000Z
#include "PbbamInternalConfig.h" #include <pbbam/RunMetadata.h> #include "RunMetadataParser.h" namespace PacBio { namespace BAM { // ---------------------- // RunMetadata // ---------------------- CollectionMetadata RunMetadata::Collection(const std::string& metadataXmlFn) { return RunMetadataParser::LoadColle...
22.861111
84
0.720535
bio-nim
263d9a3e46d754966994a417afcc6fbfad79b1fa
666
hh
C++
src/include/log.hh
tomblackwhite/alpha-emu
a371f7d094acbf02c83aa3940ff043f033b7cfe8
[ "BSD-2-Clause" ]
null
null
null
src/include/log.hh
tomblackwhite/alpha-emu
a371f7d094acbf02c83aa3940ff043f033b7cfe8
[ "BSD-2-Clause" ]
null
null
null
src/include/log.hh
tomblackwhite/alpha-emu
a371f7d094acbf02c83aa3940ff043f033b7cfe8
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <filesystem> #include <spdlog/spdlog.h> namespace filesystem = std::filesystem; class Log { public: // using TextSink = sinks::synchronous_sink<sinks::text_ostream_backend>; //初始化log Log(filesystem::path filePath = "") : m_filePath(filePath) {} void info(std::string_view str) const { spdlo...
30.272727
75
0.674174
tomblackwhite
263e68702d09cc979b8659452db449638263da33
9,180
cpp
C++
src/gLists.cpp
xnevs/FocusSearchCpp
65ad71b8de09d879bed5c6f98b5487bdba233e12
[ "MIT" ]
1
2019-01-05T15:35:47.000Z
2019-01-05T15:35:47.000Z
src/gLists.cpp
xnevs/FocusSearchCpp
65ad71b8de09d879bed5c6f98b5487bdba233e12
[ "MIT" ]
null
null
null
src/gLists.cpp
xnevs/FocusSearchCpp
65ad71b8de09d879bed5c6f98b5487bdba233e12
[ "MIT" ]
1
2021-09-16T02:18:08.000Z
2021-09-16T02:18:08.000Z
/* * gLists.cpp * * Created on: Feb 27, 2012 * Author: bovi */ /* Copyright (c) 2013 by Rosalba Giugno FocusSearchC++ is part of the RI Project. FocusSearchC++ is a C++ implementation of the original software developed in Modula2 and provided by the authors of: Ullmann JR: Bit-vector algorithms for binary ...
28.958991
97
0.590087
xnevs
263ed64a680453e1ce31ed1c7336c5bc7b9c56eb
9,971
cpp
C++
Source/Cpp/WfCpp_Statement.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
1
2018-10-17T16:00:38.000Z
2018-10-17T16:00:38.000Z
Source/Cpp/WfCpp_Statement.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
null
null
null
Source/Cpp/WfCpp_Statement.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
null
null
null
#include "WfCpp.h" namespace vl { namespace workflow { namespace cppcodegen { using namespace collections; using namespace reflection; using namespace reflection::description; using namespace analyzer; class WfGenerateStatementVisitor : public Object, public WfStatement::IVisitor { public: ...
30.306991
234
0.64497
vczh2
2642754770705bde48bb61534d60f348c5bdcede
4,290
cpp
C++
AudioDataTag.cpp
luotuo44/FlvExploere
daf15700ec2ab0114d13352d3d395ecd99851720
[ "BSD-3-Clause" ]
1
2019-12-30T03:55:14.000Z
2019-12-30T03:55:14.000Z
AudioDataTag.cpp
luotuo44/FlvExploere
daf15700ec2ab0114d13352d3d395ecd99851720
[ "BSD-3-Clause" ]
null
null
null
AudioDataTag.cpp
luotuo44/FlvExploere
daf15700ec2ab0114d13352d3d395ecd99851720
[ "BSD-3-Clause" ]
null
null
null
//Author: luotuo44@gmail.com //Use of this source code is governed by a BSD-style license #include"AudioDataTag.h" #include<assert.h> #include<fstream> #include<iostream> #include<vector> #include<string> #include"helper.h" using uchar = unsigned char; namespace FLV { AudioDataTag::AudioDataTag(std::ifstrea...
18.177966
153
0.617016
luotuo44
26489745db97f4973174a1baaccdd46ae2fd8b96
7,108
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Forces/LINEAR_POINT_ATTRACTION.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Forces/LINEAR_POINT_ATTRACTION.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Forces/LINEAR_POINT_ATTRACTION.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2010. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##################################################################### #include <PhysBAM_Too...
45.858065
172
0.50605
schinmayee
2654b5e3efc5be1d0082f933405667a1ae294b99
1,394
cpp
C++
Engine/Buffer.cpp
vazgriz/VoxelGame
28b85445dc64606aecd840c977fb0557008e37a0
[ "MIT" ]
49
2020-02-12T21:09:07.000Z
2021-11-19T00:43:55.000Z
Engine/Buffer.cpp
vazgriz/VoxelGame
28b85445dc64606aecd840c977fb0557008e37a0
[ "MIT" ]
3
2020-08-11T14:36:00.000Z
2020-08-17T08:50:11.000Z
Engine/Buffer.cpp
vazgriz/VoxelGame
28b85445dc64606aecd840c977fb0557008e37a0
[ "MIT" ]
4
2020-02-18T08:55:16.000Z
2021-05-13T01:50:37.000Z
#include "Engine/Buffer.h" using namespace VoxelEngine; BufferState::BufferState(Engine* engine, vk::Buffer&& buffer, VmaAllocation allocation) : buffer(std::move(buffer)) { this->engine = engine; this->allocation = allocation; } BufferState::BufferState(BufferState&& other) : buffer(std::move(other.buffer))...
30.304348
135
0.716643
vazgriz
26590ee46fa324305d9056a31b982b5229718cb6
2,512
cc
C++
examples/hough_extruder_main.cc
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
624
2015-01-05T16:40:41.000Z
2022-03-01T03:09:43.000Z
examples/hough_extruder_main.cc
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
10
2015-01-22T20:50:13.000Z
2018-05-15T10:41:34.000Z
examples/hough_extruder_main.cc
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
113
2015-01-19T11:58:35.000Z
2022-03-28T05:15:20.000Z
#include <iostream> #include <time.h> #include "hough_extruder_example.hh" #include <chrono> using namespace std; using namespace Eigen; using namespace cv; using namespace vpp; using namespace std::chrono; int main(int argc, char *argv[]) { // Start the computation of the time used by the function to compute ...
47.396226
190
0.678742
WLChopSticks
265e672da87c5a8a88e40c9ae7d868741a0f41d6
2,246
hpp
C++
include/ipmi_to_redfish_hooks.hpp
tohas1986/intel-ipmi-oem
ca99ef5912b9296e09c8f9cb246ce291f9970750
[ "Apache-2.0" ]
null
null
null
include/ipmi_to_redfish_hooks.hpp
tohas1986/intel-ipmi-oem
ca99ef5912b9296e09c8f9cb246ce291f9970750
[ "Apache-2.0" ]
null
null
null
include/ipmi_to_redfish_hooks.hpp
tohas1986/intel-ipmi-oem
ca99ef5912b9296e09c8f9cb246ce291f9970750
[ "Apache-2.0" ]
null
null
null
/* // Copyright (c) 2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
28.43038
80
0.691451
tohas1986
265e76f8f5673089b30487c90c8cee60c9f4dfc2
1,839
cpp
C++
GeeksForGeeks/C Plus Plus/Chocolate_Distribution_Problem.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
4
2021-06-19T14:15:34.000Z
2021-06-21T13:53:53.000Z
GeeksForGeeks/C Plus Plus/Chocolate_Distribution_Problem.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
2
2021-07-02T12:41:06.000Z
2021-07-12T09:37:50.000Z
GeeksForGeeks/C Plus Plus/Chocolate_Distribution_Problem.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
3
2021-06-19T15:19:20.000Z
2021-07-02T17:24:51.000Z
/* Problem Statement: ------------------ Given an array A[ ] of positive integers of size N, where each value represents the number of chocolates in a packet. Each packet can have a variable number of chocolates. There are M students, the task is to distribute chocolate packets among M students such that : 1. Each stu...
36.78
172
0.677542
ankit-sr
265eb2b49680b8932ba23fad9cf73db463c4dc83
7,490
cpp
C++
Path planning visualizer/src/Grid.cpp
wholol/graph-visualizer
d63b20b9b6846ec86face6db131eca56c030f280
[ "MIT" ]
4
2020-10-02T14:34:43.000Z
2021-11-15T11:42:20.000Z
Path planning visualizer/src/Grid.cpp
wholol/graph-visualizer
d63b20b9b6846ec86face6db131eca56c030f280
[ "MIT" ]
null
null
null
Path planning visualizer/src/Grid.cpp
wholol/graph-visualizer
d63b20b9b6846ec86face6db131eca56c030f280
[ "MIT" ]
1
2021-07-09T09:32:26.000Z
2021-07-09T09:32:26.000Z
#include "Grid.h" #include <iostream> #include <thread> Grid::Grid(int screenwidth, int screenheight, const sf::Mouse& mouse, sf::RenderWindow& createwindow) :screenwidth(screenwidth), screenheight(screenheight), mouse(mouse), createwindow(createwindow) { /*compute Number of Tiles*/ NumTilesX = screenwidth / Til...
27.947761
146
0.702403
wholol
265f9e8140388f40f794cbcee767b6213ddf0839
24
cpp
C++
ExercicesCours/Bureaux/Imprimante.cpp
MamadouBarri/OOP-Cpp
a00f2eff50666ab0ca5461bb1caab6c83cfb5933
[ "MIT" ]
null
null
null
ExercicesCours/Bureaux/Imprimante.cpp
MamadouBarri/OOP-Cpp
a00f2eff50666ab0ca5461bb1caab6c83cfb5933
[ "MIT" ]
null
null
null
ExercicesCours/Bureaux/Imprimante.cpp
MamadouBarri/OOP-Cpp
a00f2eff50666ab0ca5461bb1caab6c83cfb5933
[ "MIT" ]
null
null
null
#include "Imprimante.h"
12
23
0.75
MamadouBarri
265fe908e1cdd09ce0559bedcb32a0d19133feb5
121
cpp
C++
test/NoiseGenerator_test.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
test/NoiseGenerator_test.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
test/NoiseGenerator_test.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
/* * NoiseGenerator_test.cpp * * Created on: Nov 26, 2017 * Author: leizhang */ #include <NoiseGenerator.h>
12.1
28
0.628099
leiz86
2663d55719e175bb44c8b22cd16e5299476c07b4
1,634
cpp
C++
vlc_linux/vlc-3.0.16/modules/gui/skins2/events/evt_special.cpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/gui/skins2/events/evt_special.cpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/gui/skins2/events/evt_special.cpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
/***************************************************************************** * evt_special.cpp ***************************************************************************** * Copyright (C) 2003 the VideoLAN team * $Id: afa1d1f87334adf30bdb4ef194974f71b54e40e5 $ * * Authors: Cyril Deguet <asmax@via.ecp.fr> ...
34.765957
80
0.579559
Brook1711
266a9ad44d2dd4daea13178aac7d0e06a0c12ff8
5,039
hpp
C++
include/grid_based_planner.hpp
dabinkim-LGOM/lsc_planner
88dcb1de59bac810d1b1fd194fe2b8d24d1860c9
[ "MIT" ]
9
2021-09-04T15:14:57.000Z
2022-03-29T04:34:13.000Z
include/grid_based_planner.hpp
dabinkim-LGOM/lsc_planner
88dcb1de59bac810d1b1fd194fe2b8d24d1860c9
[ "MIT" ]
null
null
null
include/grid_based_planner.hpp
dabinkim-LGOM/lsc_planner
88dcb1de59bac810d1b1fd194fe2b8d24d1860c9
[ "MIT" ]
4
2021-09-29T11:32:54.000Z
2022-03-06T05:24:33.000Z
#ifndef LSC_PLANNER_GRIDBASEDPLANNER_HPP #define LSC_PLANNER_GRIDBASEDPLANNER_HPP #include <Astar-3D/astarplanner.h> #include <dynamicEDT3D/dynamicEDTOctomap.h> #include <mission.hpp> #include <param.hpp> #include <util.hpp> #include <geometry.hpp> #include <utility> #define GP_OCCUPIED 1 #define GP_EMPTY 0 #define G...
33.818792
111
0.609248
dabinkim-LGOM
2672c5e5a8bef72d163fd4d3809f0385a820ad4d
6,516
cpp
C++
demo/cpp/deepq.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
57
2015-02-16T06:43:24.000Z
2022-03-16T06:21:36.000Z
demo/cpp/deepq.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
4
2016-03-08T09:51:09.000Z
2021-03-29T10:18:55.000Z
demo/cpp/deepq.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
27
2015-03-28T19:55:34.000Z
2022-01-09T15:03:15.000Z
#include "opencv2/opencv.hpp" #include "profile.h" using namespace cv; using namespace std; inline float sigmoid(float x) { return 1.0f / (1.0f + exp(-1*x)); } inline float sigmoid_sym(float x) { float t = x * x * 2.751; return 0.5f * (1.0f - t) / (1.0f + t); } inline float relu(float x) { return (x > 0) ? x : 0; ...
27.263598
176
0.570135
berak
2675cf7fe66182e56a62f448aa2611e77cc38856
215
cpp
C++
Programming/C++/Recursion/easy/DigitProduct.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
Programming/C++/Recursion/easy/DigitProduct.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
Programming/C++/Recursion/easy/DigitProduct.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
#include <iostream> using namespace std; int prod(int n) { if (n % 10 == n) { return n; } return (n % 10) * prod(n / 10); } int main() { int ans = prod(12345); cout << ans << endl; }
13.4375
35
0.488372
shreejitverma
2679449964f5055fd3443048f784dbb13d5b2a39
2,858
hpp
C++
third_party/easywsclient/easywsclient.hpp
RobLoach/ion
9e659416fb04bb3d3a67df1e018d7c2ccab9d468
[ "Apache-2.0" ]
1
2020-03-12T12:49:31.000Z
2020-03-12T12:49:31.000Z
third_party/easywsclient/easywsclient.hpp
RobLoach/ion
9e659416fb04bb3d3a67df1e018d7c2ccab9d468
[ "Apache-2.0" ]
null
null
null
third_party/easywsclient/easywsclient.hpp
RobLoach/ion
9e659416fb04bb3d3a67df1e018d7c2ccab9d468
[ "Apache-2.0" ]
null
null
null
#ifndef EASYWSCLIENT_HPP_20120819_MIOFVASDTNUASZDQPLFD #define EASYWSCLIENT_HPP_20120819_MIOFVASDTNUASZDQPLFD // This code comes from: // https://github.com/dhbaird/easywsclient // // To get the latest version: // wget https://raw.github.com/dhbaird/easywsclient/master/easywsclient.hpp // wget https://raw.github.com/d...
36.177215
123
0.684395
RobLoach
267aa65c510760702f68bcedb31fd02455d75427
5,927
cpp
C++
models/lnd/clm/src/iac/giac/gcam/cvs/objects/containers/source/output_meta_data.cpp
E3SM-Project/iESM
2a1013a3d85a11d935f1b2a8187a8bbcd75d115d
[ "BSD-3-Clause-LBNL" ]
9
2018-05-15T02:10:40.000Z
2020-01-10T18:27:31.000Z
models/lnd/clm/src/iac/giac/gcam/cvs/objects/containers/source/output_meta_data.cpp
zhangyue292/iESM
2a1013a3d85a11d935f1b2a8187a8bbcd75d115d
[ "BSD-3-Clause-LBNL" ]
3
2018-10-12T18:41:56.000Z
2019-11-12T15:18:49.000Z
models/lnd/clm/src/iac/giac/gcam/cvs/objects/containers/source/output_meta_data.cpp
zhangyue292/iESM
2a1013a3d85a11d935f1b2a8187a8bbcd75d115d
[ "BSD-3-Clause-LBNL" ]
3
2018-05-15T02:10:33.000Z
2021-04-06T17:45:49.000Z
/* * LEGAL NOTICE * This computer software was prepared by Battelle Memorial Institute, * hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830 * with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE * CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY * LIABILITY FOR THE ...
41.447552
128
0.694112
E3SM-Project
267c8afa092ea699a5484eaeaeece0ee086640df
7,361
cpp
C++
PointPersistentList.cpp
spratt/PersistentList
4f2f5b8beddfb86e22cc824cff76dad63cc6e88c
[ "0BSD" ]
2
2016-04-18T05:29:25.000Z
2016-06-17T05:47:36.000Z
PointPersistentList.cpp
spratt/PersistentList
4f2f5b8beddfb86e22cc824cff76dad63cc6e88c
[ "0BSD" ]
null
null
null
PointPersistentList.cpp
spratt/PersistentList
4f2f5b8beddfb86e22cc824cff76dad63cc6e88c
[ "0BSD" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011 - 2012 by // // Simon Pratt // // (All rights reserved) // ...
37.943299
79
0.52914
spratt
267f14b83683bdb1167b4596f72110cba41b72b4
2,069
cpp
C++
libraries/ClockHardware/src/Display.cpp
e-noyau/wordclock
5de70473e291514ee726fe737a3fee84abc33dd5
[ "MIT" ]
1
2019-08-31T16:57:00.000Z
2019-08-31T16:57:00.000Z
libraries/ClockHardware/src/Display.cpp
e-noyau/wordclock
5de70473e291514ee726fe737a3fee84abc33dd5
[ "MIT" ]
2
2019-09-01T13:20:26.000Z
2020-11-02T09:02:29.000Z
libraries/ClockHardware/src/Display.cpp
e-noyau/wordclock
5de70473e291514ee726fe737a3fee84abc33dd5
[ "MIT" ]
1
2020-11-01T22:21:57.000Z
2020-11-01T22:21:57.000Z
#define DEBUG 1 #include "logging.h" #include "Display.h" Display::Display(ClockFace& clockFace, uint8_t pin) : _clockFace(clockFace), _pixels(ClockFace::pixelCount(), pin), _brightnessController(_pixels), _animations(ClockFace::pixelCount(), NEO_CENTISECONDS) {} void Display::setup() { _pi...
30.426471
83
0.661189
e-noyau
267f9a3260a634ed85b817cd9f4cac70543b3145
2,593
hpp
C++
software/motion_estimate/vo_estimate/src/registeration/registeration.hpp
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
92
2016-01-14T21:03:50.000Z
2021-12-01T17:57:46.000Z
software/motion_estimate/vo_estimate/src/registeration/registeration.hpp
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
62
2016-01-16T18:08:14.000Z
2016-03-24T15:16:28.000Z
software/motion_estimate/vo_estimate/src/registeration/registeration.hpp
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
41
2016-01-14T21:26:58.000Z
2022-03-28T03:10:39.000Z
#ifndef registeration_HPP_ #define registeration_HPP_ #include <lcm/lcm-cpp.hpp> #include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/features2d/features2d.hpp> #include <bot_lcmgl_client/lcmgl.h> #include <estimate-pose/pose_estimator.hpp> #include <pronto_utils/pronto_lcm.hpp> #i...
30.869048
107
0.695719
liangfok
268036a70e851def99db8cf36ad5448f9b7acfae
837
cpp
C++
check_if_it_is_a_straight_line.cpp
shafitek/ArXives
67170d6bde2093703d9cd3e8efa55b61e7b5ea75
[ "MIT" ]
null
null
null
check_if_it_is_a_straight_line.cpp
shafitek/ArXives
67170d6bde2093703d9cd3e8efa55b61e7b5ea75
[ "MIT" ]
null
null
null
check_if_it_is_a_straight_line.cpp
shafitek/ArXives
67170d6bde2093703d9cd3e8efa55b61e7b5ea75
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/check-if-it-is-a-straight-line/ class Solution { public: bool checkStraightLine(vector<vector<int>>& coordinates) { vector<int> og_slope = {coordinates[1][1] - coordinates[0][1], coordinates[1][0] - coordinates[0][0]}; float orig_slope = og_slope[1] == 0 ? ...
38.045455
110
0.568698
shafitek
2680f353d7a0913800427847fd51269880685504
2,059
hpp
C++
practice2/io_service_pool.hpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
47
2016-05-20T08:49:47.000Z
2022-01-03T01:17:07.000Z
practice2/io_service_pool.hpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
null
null
null
practice2/io_service_pool.hpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
37
2016-07-25T04:52:08.000Z
2022-02-14T03:55:08.000Z
// Copyright (c) 2016 // Author: Chrono Law #ifndef _PRO_BOOST_IO_SERVICE_HPP #define _PRO_BOOST_IO_SERVICE_HPP #include <algorithm> #include <boost/assert.hpp> #include <boost/noncopyable.hpp> #include <boost/foreach.hpp> #include <boost/bind.hpp> #include <boost/ref.hpp> #include <boost/functional/factory.hpp> #inc...
22.626374
65
0.587178
MaxHonggg
26830acc9d41ff5118bca2ae17e5e7c5e04edf76
8,659
cpp
C++
artifacts/old_dataset_versions/minimal_commits_v02/qulacs/qulacs#73/before/observable.cpp
MattePalte/Bugs-Quantum-Computing-Platforms
0c1c805fd5dfce465a8955ee3faf81037023a23e
[ "MIT" ]
3
2021-11-08T11:46:42.000Z
2021-12-27T10:13:38.000Z
artifacts/minimal_bugfixes/qulacs/qulacs#73/before/observable.cpp
MattePalte/Bugs-Quantum-Computing-Platforms
0c1c805fd5dfce465a8955ee3faf81037023a23e
[ "MIT" ]
2
2021-11-09T14:57:09.000Z
2022-01-12T12:35:58.000Z
artifacts/old_dataset_versions/minimal_commits_v02/qulacs/qulacs#73/before/observable.cpp
MattePalte/Bugs-Quantum-Computing-Platforms
0c1c805fd5dfce465a8955ee3faf81037023a23e
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <stdarg.h> #include <stdio.h> #include "observable.hpp" #include "pauli_operator.hpp" #include "type.hpp" #include "utility.hpp" #include "state.hpp" #include <vector> #include <string> #include <fstream> #include <iostream> #include <utility> bool check_Pauli_operator(const Observable* o...
31.373188
167
0.55757
MattePalte
26832ab1b1912bbfccb387c12a21eaefeba2696e
2,446
hpp
C++
src/libs/ml_models/src/svm_impl/params_types_details.hpp
boazsade/machine_learinig_models
eb1f9eda0e4e25a6d028b25682dfb20628a20624
[ "MIT" ]
null
null
null
src/libs/ml_models/src/svm_impl/params_types_details.hpp
boazsade/machine_learinig_models
eb1f9eda0e4e25a6d028b25682dfb20628a20624
[ "MIT" ]
null
null
null
src/libs/ml_models/src/svm_impl/params_types_details.hpp
boazsade/machine_learinig_models
eb1f9eda0e4e25a6d028b25682dfb20628a20624
[ "MIT" ]
null
null
null
#pragma once #include "kernel_args.h" #include "training_args.h" #include "type_args.h" #include "libs/ml_models/svm_types.h" #include <iosfwd> namespace mlmodels { namespace svm { namespace detail { template<type_t Type, kernel_type Kernel> struct params_base { static const constexpr type_t type = Type; stat...
23.519231
79
0.589943
boazsade
2683768304b4c65bfcb18ebd18f3da8f8ce02556
583
cpp
C++
Solutions/ENTEXAM.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
1
2022-03-26T09:38:02.000Z
2022-03-26T09:38:02.000Z
Solutions/ENTEXAM.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
null
null
null
Solutions/ENTEXAM.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> using namespace std; int main(){ int t,n,k,e; long long int m,score,smark,min; cin>>t; while(t--){ cin>>n>>k>>e>>m; long long int marks[n-1]; for(int i=0;i<n-1;i++){ marks[i]=0; for(int j=0;j<e;j++){ cin>>score; marks[i]+=score; ...
18.21875
35
0.511149
nikramakrishnan
269318de806dfe825259006c755701b4b1c0815a
2,700
hpp
C++
external/boost_1_60_0/qsboost/function_types/detail/classifier.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/function_types/detail/classifier.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/function_types/detail/classifier.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
// (C) Copyright Tobias Schwinger // // Use modification and distribution are subject to the boost Software License, // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt). //------------------------------------------------------------------------------ #ifndef QSBOOST_FT_DETAIL_CLASSIFIER_HPP_INCLUDED #define Q...
30.681818
91
0.745926
wouterboomsma
2695673ba193afca2154c218a40a5c38a5c4848a
6,112
cpp
C++
digsby/ext/src/BuddyList/ContactData.cpp
ifwe/digsby
f5fe00244744aa131e07f09348d10563f3d8fa99
[ "Python-2.0" ]
35
2015-08-15T14:32:38.000Z
2021-12-09T16:21:26.000Z
digsby/ext/src/BuddyList/ContactData.cpp
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
4
2015-09-12T10:42:57.000Z
2017-02-27T04:05:51.000Z
digsby/ext/src/BuddyList/ContactData.cpp
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
15
2015-07-10T23:58:07.000Z
2022-01-23T22:16:33.000Z
#include "precompiled.h" #include "config.h" #include "BuddyListSorter.h" #include "Group.h" #include "StringUtils.h" #include "Sorters.h" #include <sstream> using std::wostringstream; using std::endl; static const wstring special_prefix = L"SpecialGroup_"; static const wstring group_postfix = L"group"; wstring get...
28.560748
100
0.596859
ifwe
2696d74d7b50c3b2ca803fcc5ac36157ade14a90
9,265
cpp
C++
src/core/renderer.cpp
SirBob01/EnigmaEngine
48ddc114ac2afb1dd7733517d735fb1f855f5b84
[ "MIT" ]
3
2019-12-05T07:17:37.000Z
2020-03-12T07:44:55.000Z
src/core/renderer.cpp
SirBob01/EnigmaEngine
48ddc114ac2afb1dd7733517d735fb1f855f5b84
[ "MIT" ]
7
2019-10-01T02:39:11.000Z
2020-05-20T03:44:36.000Z
src/core/renderer.cpp
SirBob01/Dynamo-Engine
48ddc114ac2afb1dd7733517d735fb1f855f5b84
[ "MIT" ]
null
null
null
#include "renderer.h" namespace Dynamo { Renderer::Renderer(Display *display, bool vsync) { display_ = display; border_color_ = {0, 0, 0}; fill_ = {0, 0, 0}; } void Renderer::set_render_target(Sprite *dest) { if(dest) { // Blend rendering over target sprite ...
30.883333
76
0.442957
SirBob01
26976b2c34ca90778497b275896674ce02071acc
1,375
cpp
C++
spoopy/tools/vole/source/olderfiles/illumestimators/iic/misc/get_file.cpp
rodrigobressan/PADify
362db2b3a33793ac53f938e89f90a6ecdf778e89
[ "MIT" ]
12
2019-11-26T07:44:08.000Z
2021-03-03T09:51:43.000Z
spoopy/tools/vole/source/illumestimators/iic/misc/get_file.cpp
rodrigobressan/PADify
362db2b3a33793ac53f938e89f90a6ecdf778e89
[ "MIT" ]
13
2020-01-28T22:09:41.000Z
2022-03-11T23:43:37.000Z
spoopy/tools/vole/source/illumestimators/iic/misc/get_file.cpp
rodrigobressan/PADify
362db2b3a33793ac53f938e89f90a6ecdf778e89
[ "MIT" ]
5
2020-01-02T09:52:42.000Z
2022-02-21T15:45:23.000Z
#include <fstream> #include <boost/version.hpp> #if BOOST_VERSION >= 104400 #define VOLE_GET_FILE_IMPLEMENT_FILESYSTEM 1 #ifndef BOOST_FILESYSTEM_VERSION #define BOOST_FILESYSTEM_VERSION 3 #endif #include <boost/filesystem.hpp> using namespace boost::filesystem; #endif #include "get_file.h" namespace vole ...
25.462963
91
0.722909
rodrigobressan
2698312aae743931996097469472fdf91ec54465
1,464
hpp
C++
plugins/libimhex/include/hex/helpers/crypto.hpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
4
2021-05-09T23:33:54.000Z
2022-03-06T10:16:31.000Z
plugins/libimhex/include/hex/helpers/crypto.hpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
null
null
null
plugins/libimhex/include/hex/helpers/crypto.hpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
6
2021-05-09T21:41:48.000Z
2021-09-08T10:54:28.000Z
#pragma once #include <hex.hpp> #include <array> #include <optional> #include <string> #include <vector> namespace hex::prv { class Provider; } namespace hex::crypt { void initialize(); void exit(); u16 crc16(prv::Provider* &data, u64 offset, size_t size, u16 polynomial, u16 init); u32 crc32(prv::...
30.5
171
0.60041
Laxer3a
2699125626aca087b562a1e959e2a3e6e7b56ed6
441
cpp
C++
src/Level.cpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
src/Level.cpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
src/Level.cpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
#include "Level.hpp" namespace EvelEngine { Level::Level(const std::string& seed) : _seed(seed) { } Level::~Level() { } bool Level::handleCommand(const std::string& command) { return false; } std::string Level::getSeed() { return _seed; } ...
11.918919
57
0.514739
savageking-io
2699f90f69e1ce68dbb0c49794345af5e0f70fca
6,174
cc
C++
cpp/src/arrow/compare_benchmark.cc
timkpaine/arrow
a96297e65e17e728e4321cdecc7ace146e1363fb
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
9,734
2016-02-17T13:22:12.000Z
2022-03-31T09:35:00.000Z
cpp/src/arrow/compare_benchmark.cc
timkpaine/arrow
a96297e65e17e728e4321cdecc7ace146e1363fb
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
11,470
2016-02-19T15:30:28.000Z
2022-03-31T23:27:21.000Z
cpp/src/arrow/compare_benchmark.cc
XpressAI/arrow
eafd885e06f6bbc1eb169ed64016f804c1810bec
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
2,637
2016-02-17T10:56:29.000Z
2022-03-31T08:20:13.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
37.418182
89
0.723518
timkpaine
269a29ed1856c4578d99a34f6d309425867d5b98
7,171
cxx
C++
Rendering/OSPRay/vtkOSPRayPass.cxx
romangrothausmann/VTK
60cce86963f29f8f569a7a31348019e095267a50
[ "BSD-3-Clause" ]
null
null
null
Rendering/OSPRay/vtkOSPRayPass.cxx
romangrothausmann/VTK
60cce86963f29f8f569a7a31348019e095267a50
[ "BSD-3-Clause" ]
null
null
null
Rendering/OSPRay/vtkOSPRayPass.cxx
romangrothausmann/VTK
60cce86963f29f8f569a7a31348019e095267a50
[ "BSD-3-Clause" ]
1
2020-01-13T07:19:25.000Z
2020-01-13T07:19:25.000Z
/*========================================================================= Prograxq: Visualization Toolkit Module: vtkOSPRayPass.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software i...
27.580769
79
0.583322
romangrothausmann
269e08c717cf9a64a61af768825f81398a0e64cb
2,132
cpp
C++
source/binhex.cpp
Numerics88/n88util
b5362590a3d9b96ff16ecb9a9b60f260272b00b9
[ "MIT" ]
null
null
null
source/binhex.cpp
Numerics88/n88util
b5362590a3d9b96ff16ecb9a9b60f260272b00b9
[ "MIT" ]
4
2019-11-05T17:24:31.000Z
2019-11-20T21:01:47.000Z
source/binhex.cpp
Besler/n88util
aa15d4f80f1b69142a48db34b055142f867aef7f
[ "MIT" ]
1
2018-05-31T19:09:12.000Z
2018-05-31T19:09:12.000Z
// Copyright (c) Eric Nodwell // See LICENSE for details. #include "n88util/binhex.hpp" #include <cstring> #include <cstdio> #include <cstdlib> namespace n88util { const char valid_hex_chars[] = "0123456789ABCDEF"; //----------------------------------------------------------------------- int bintohex(cons...
21.108911
75
0.425422
Numerics88
26a4224f486141596420a88bc99b27d29ee417d8
5,083
cpp
C++
compiler/llvm/c_src/Diagnostics.cpp
mlwilkerson/lumen
048df6c0840c11496e2d15aa9af2e4a8d07a6e0f
[ "Apache-2.0" ]
2,939
2019-08-29T16:52:20.000Z
2022-03-31T05:42:30.000Z
compiler/llvm/c_src/Diagnostics.cpp
mlwilkerson/lumen
048df6c0840c11496e2d15aa9af2e4a8d07a6e0f
[ "Apache-2.0" ]
235
2019-08-29T23:44:13.000Z
2022-03-17T11:43:25.000Z
compiler/llvm/c_src/Diagnostics.cpp
mlwilkerson/lumen
048df6c0840c11496e2d15aa9af2e4a8d07a6e0f
[ "Apache-2.0" ]
95
2019-08-29T19:11:28.000Z
2022-01-03T05:14:16.000Z
#include "lumen/llvm/Diagnostics.h" #include "lumen/llvm/RustString.h" #include "llvm-c/Core.h" #include "llvm-c/Types.h" #include "llvm/IR/DiagnosticInfo.h" #include "llvm/IR/DiagnosticPrinter.h" #include "llvm/IR/Function.h" #include "llvm/Support/CBindingWrapping.h" #include "llvm/Support/Casting.h" using namespac...
35.795775
92
0.734802
mlwilkerson
26a53835e890a7486faebe6d8fd2b791c564a5cb
14,685
cpp
C++
src/IoTHubDevice.cpp
markrad/Arduino-IoTHubDevice
141f439b7c5064c66c3c603ae395cae2dab7b96d
[ "MIT" ]
null
null
null
src/IoTHubDevice.cpp
markrad/Arduino-IoTHubDevice
141f439b7c5064c66c3c603ae395cae2dab7b96d
[ "MIT" ]
null
null
null
src/IoTHubDevice.cpp
markrad/Arduino-IoTHubDevice
141f439b7c5064c66c3c603ae395cae2dab7b96d
[ "MIT" ]
null
null
null
#include "IoTHubDevice.h" #include <AzureIoTProtocol_MQTT.h> #include <AzureIoTUtility.h> #include <azure_c_shared_utility/connection_string_parser.h> #include <azure_c_shared_utility/shared_util_options.h> #include "iothub_client_version.h" using namespace std; IoTHubDevice::IoTHubDevice(const char *connectionStrin...
30.466805
180
0.696425
markrad
26aa3df43224ccb4c97803e02a3a4ae684c1edca
7,710
cc
C++
mediasoup-client/src/main/jni/media_manager.cc
commonprogress/mediasoupdemo
435d9c5cea81fbe2fb979eb10ecc1f9a45302c01
[ "MIT" ]
5
2020-04-18T15:29:27.000Z
2020-09-21T02:47:49.000Z
audioeffect/src/main/jni/media_manager.cc
commonprogress/mediasoupdemo
435d9c5cea81fbe2fb979eb10ecc1f9a45302c01
[ "MIT" ]
null
null
null
audioeffect/src/main/jni/media_manager.cc
commonprogress/mediasoupdemo
435d9c5cea81fbe2fb979eb10ecc1f9a45302c01
[ "MIT" ]
4
2020-05-17T08:15:12.000Z
2021-08-23T08:47:10.000Z
/* * Wire * Copyright (C) 2016 Wire Swiss GmbH * * 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 3 of the License, or * (at your option) any later version. * * This progr...
25.278689
117
0.696628
commonprogress
564f1b6135a5f53c29f793ebfb93046a8d1ff3f6
576
hpp
C++
include/GameConstant.hpp
Tastyep/SFML-GameCore-2D
51dfcd7f3a098b2efa76754703999c6b8d22369d
[ "MIT" ]
null
null
null
include/GameConstant.hpp
Tastyep/SFML-GameCore-2D
51dfcd7f3a098b2efa76754703999c6b8d22369d
[ "MIT" ]
null
null
null
include/GameConstant.hpp
Tastyep/SFML-GameCore-2D
51dfcd7f3a098b2efa76754703999c6b8d22369d
[ "MIT" ]
null
null
null
#ifndef GAME_CORE_GAME_CONSTANT_HPP #define GAME_CORE_GAME_CONSTANT_HPP #include <chrono> #include <string> #include <SFML/System/Vector2.hpp> const std::string kAssetDir = "../assets/"; const std::string kMapDir = "../maps/"; const std::string kConfigDir = "../config/"; const int kMapNumberLength = 2; const int kF...
26.181818
76
0.744792
Tastyep
5651d2bd52737a29a23ca3e051ab6c2493bad1c8
293
hpp
C++
union-find/cpp/include/UnionFind.hpp
goldsborough/algs4
5f711f06ebc1da598cfbaeee16db0531f79e3fee
[ "MIT" ]
17
2017-03-06T10:11:41.000Z
2021-04-28T11:21:36.000Z
union-find/cpp/include/UnionFind.hpp
goldsborough/algs4
5f711f06ebc1da598cfbaeee16db0531f79e3fee
[ "MIT" ]
null
null
null
union-find/cpp/include/UnionFind.hpp
goldsborough/algs4
5f711f06ebc1da598cfbaeee16db0531f79e3fee
[ "MIT" ]
6
2016-11-23T07:31:46.000Z
2021-03-10T09:58:12.000Z
#ifndef UNION_FIND_HPP #define UNION_FIND_HPP class UnionFind { public: UnionFind(int N) : _N(N) { } virtual ~UnionFind() = default; virtual void makeUnion(int p, int q) = 0; virtual bool connected(int p, int q) const = 0; protected: int _N; }; #endif /* UNION_FIND_HPP */
12.73913
48
0.665529
goldsborough
5654a2f4a46186c3c7a641ed3c9cdf32af96bdbe
2,164
cc
C++
util/misc/no_cfi_icall_test.cc
dark-richie/crashpad
d573ac113bd5fce5cc970bb5ae76a235a1431a5d
[ "Apache-2.0" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
util/misc/no_cfi_icall_test.cc
dark-richie/crashpad
d573ac113bd5fce5cc970bb5ae76a235a1431a5d
[ "Apache-2.0" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
util/misc/no_cfi_icall_test.cc
dark-richie/crashpad
d573ac113bd5fce5cc970bb5ae76a235a1431a5d
[ "Apache-2.0" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
24.873563
78
0.708872
dark-richie
56569ab5db1a01e21fa92a106fba8941ef26e08c
3,798
cc
C++
src/tritonsort/mapreduce/functions/map/ParseNetworkMapFunction.cc
anku94/themis_tritonsort
68fd3e2f1c0b2947e187151a2e9717f6b9b0ed0d
[ "BSD-3-Clause" ]
11
2015-12-14T05:35:17.000Z
2021-11-08T22:02:32.000Z
src/tritonsort/mapreduce/functions/map/ParseNetworkMapFunction.cc
anku94/themis_tritonsort
68fd3e2f1c0b2947e187151a2e9717f6b9b0ed0d
[ "BSD-3-Clause" ]
null
null
null
src/tritonsort/mapreduce/functions/map/ParseNetworkMapFunction.cc
anku94/themis_tritonsort
68fd3e2f1c0b2947e187151a2e9717f6b9b0ed0d
[ "BSD-3-Clause" ]
8
2015-12-22T19:31:16.000Z
2020-12-15T12:09:00.000Z
#include <arpa/inet.h> #include <string.h> #include <string> #include <stdlib.h> #include <time.h> #include <iostream> #include <algorithm> #include <iterator> #include <fstream> #include <sstream> #include <vector> #include "core/Hash.h" #include "core/Params.h" #include "ParseNetworkMapFunction.h" ParseNetworkMapFu...
32.461538
81
0.602686
anku94
5658d170b507d311ce22b495e17562ae0dc31f4e
3,496
cpp
C++
lib/msdf-atlas-gen/msdf-atlas-gen/json-export.cpp
Tearnote/Minote
35f63fecc01cf9199db1098256277465e1d41d1e
[ "MIT" ]
8
2021-01-18T12:06:21.000Z
2022-02-13T17:12:56.000Z
lib/msdf-atlas-gen/msdf-atlas-gen/json-export.cpp
Tearnote/Minote
35f63fecc01cf9199db1098256277465e1d41d1e
[ "MIT" ]
null
null
null
lib/msdf-atlas-gen/msdf-atlas-gen/json-export.cpp
Tearnote/Minote
35f63fecc01cf9199db1098256277465e1d41d1e
[ "MIT" ]
null
null
null
#include "json-export.h" namespace msdf_atlas { static const char * imageTypeString(ImageType type) { switch (type) { case ImageType::HARD_MASK: return "hardmask"; case ImageType::SOFT_MASK: return "softmask"; case ImageType::SDF: return "sdf"; ...
36.416667
198
0.52889
Tearnote
5658e14dd90d2d7b69f49e411d60b901c3e9a0ad
302
cpp
C++
components/wear_levelling/crc32.cpp
BU-EC444/esp-idf
5963de1caf284b14ddfed11e52730a55e3783a3d
[ "Apache-2.0" ]
4
2022-03-15T22:43:28.000Z
2022-03-28T01:25:08.000Z
components/wear_levelling/crc32.cpp
BU-EC444/esp-idf
5963de1caf284b14ddfed11e52730a55e3783a3d
[ "Apache-2.0" ]
null
null
null
components/wear_levelling/crc32.cpp
BU-EC444/esp-idf
5963de1caf284b14ddfed11e52730a55e3783a3d
[ "Apache-2.0" ]
2
2022-02-04T21:36:58.000Z
2022-02-09T12:22:48.000Z
/* * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "crc32.h" #include "esp32/rom/crc.h" unsigned int crc32::crc32_le(unsigned int crc, unsigned char const *buf, unsigned int len) { return ::crc32_le(crc, buf, len); }
23.230769
90
0.708609
BU-EC444
565aa3e6a8c46d3ca8b5b8b2a754675be785089f
477
cpp
C++
various/boost_examples/tokenizer2.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
14
2019-04-23T13:45:10.000Z
2022-03-12T18:26:47.000Z
various/boost_examples/tokenizer2.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
null
null
null
various/boost_examples/tokenizer2.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
9
2019-09-01T15:17:45.000Z
2020-11-13T20:31:36.000Z
#include <iostream> #include <string> #include <boost/tokenizer.hpp> using namespace boost; using namespace std; int main(){ char_separator<char> sep("e", " ", keep_empty_tokens); string s = "This is a text. Surpise, some more text!!!"; tokenizer<char_separator<char>> tok(s, sep); for(auto word: tok){...
12.230769
60
0.536688
chgogos
565c266eb9e7976165ad836ad0bc9eb62426eed2
6,013
cpp
C++
Kiryanov/04/hw_04.cpp
mtrempoltsev/msu_cpp_autumn_2018
9272511ddfaa78332cfabda071b5fa3a9aee79cf
[ "MIT" ]
16
2018-09-27T13:59:59.000Z
2019-10-01T21:33:40.000Z
Kiryanov/04/hw_04.cpp
mtrempoltsev/msu_cpp_autumn_2018
9272511ddfaa78332cfabda071b5fa3a9aee79cf
[ "MIT" ]
2
2018-10-17T20:56:15.000Z
2018-10-24T00:02:42.000Z
Kiryanov/04/hw_04.cpp
mtrempoltsev/msu_cpp_autumn_2018
9272511ddfaa78332cfabda071b5fa3a9aee79cf
[ "MIT" ]
22
2018-09-27T14:00:16.000Z
2019-12-17T19:44:33.000Z
#include <iostream> #include <string> #include<cstring> #include <cstdlib> #include <math.h> #include <algorithm> using namespace std; class BigInt { int get_extra_dozen(int64_t& num) const { int res; if (num >= pow(10, available_orders)) { res = num / pow(10, available_orders); num = num % int64_t(pow...
20.177852
122
0.5844
mtrempoltsev
5660785b9399aeb42d402e6540b34e4715b9e617
227
hpp
C++
nek/container/function/clear.hpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
nek/container/function/clear.hpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
nek/container/function/clear.hpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
#ifndef NEK_CONTAINER_FUNCTION_CLEAR_HPP #define NEK_CONTAINER_FUNCTION_CLEAR_HPP namespace nek { template <class Container> void clear(Container& con) { con.erase(con.begin(), con.end()); } } #endif
16.214286
42
0.696035
nekko1119
5660f2499aa3741496a10854ba6ad622b13408fd
228
cpp
C++
engine/commands/help/source/unit_tests/HelpKeyboardCommandMap_test.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/commands/help/source/unit_tests/HelpKeyboardCommandMap_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/commands/help/source/unit_tests/HelpKeyboardCommandMap_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "gtest/gtest.h" TEST(SW_Engine_Commands_Help_HelpKeyboardCommandMap, serialization_id) { HelpKeyboardCommandMap hkcm; EXPECT_EQ(ClassIdentifier::CLASS_ID_HELP_KEYBOARD_COMMAND_MAP, hkcm.get_class_identifier()); }
25.333333
94
0.842105
sidav
566170271eb4daf27aa579be681655190d96bbdd
717
cpp
C++
codeforces/992C - Nastya and a Wardrobe.cpp
Dijkstraido-2/online-judge
31844cd8fbd5038cc5ebc6337d68229cef133a30
[ "MIT" ]
1
2018-12-25T23:55:19.000Z
2018-12-25T23:55:19.000Z
codeforces/992C - Nastya and a Wardrobe.cpp
Dijkstraido-2/online-judge
31844cd8fbd5038cc5ebc6337d68229cef133a30
[ "MIT" ]
null
null
null
codeforces/992C - Nastya and a Wardrobe.cpp
Dijkstraido-2/online-judge
31844cd8fbd5038cc5ebc6337d68229cef133a30
[ "MIT" ]
null
null
null
//============================================================================ // Problem : 992C - Nastya and a Wardrobe // Category : Math //============================================================================ #include <bits/stdc++.h> using namespace std; typedef long long ll; const ll MOD = 1e9+7; ll sub(...
24.724138
78
0.380753
Dijkstraido-2
5661b5f36d221b58f79703e7dd72da42a570675e
17,272
cpp
C++
Plugins/StoryGraphPlugin/Source/StoryGraphPluginRuntime/StoryGraphObject.cpp
Xian-Yun-Jun/StoryGraph
36b4a9a24e86e963b1d1d61d4fd5bdfe2eabef9b
[ "MIT" ]
126
2016-12-24T13:58:18.000Z
2022-03-10T03:20:47.000Z
Plugins/StoryGraphPlugin/Source/StoryGraphPluginRuntime/StoryGraphObject.cpp
Xian-Yun-Jun/StoryGraph
36b4a9a24e86e963b1d1d61d4fd5bdfe2eabef9b
[ "MIT" ]
5
2017-01-05T08:23:30.000Z
2018-01-30T19:38:33.000Z
Plugins/StoryGraphPlugin/Source/StoryGraphPluginRuntime/StoryGraphObject.cpp
Xian-Yun-Jun/StoryGraph
36b4a9a24e86e963b1d1d61d4fd5bdfe2eabef9b
[ "MIT" ]
45
2016-12-25T02:21:45.000Z
2022-02-14T16:06:58.000Z
// Copyright 2016 Dmitriy Pavlov #include "StoryGraphObject.h" #include "StoryGraph.h" #include "StoryScenObject.h" #include "HUD_StoryGraph.h" #include "CustomNods.h" #include "StoryGraphWiget.h" #if WITH_EDITORONLY_DATA #include "AssetEditorManager.h" #include "Developer/DesktopPlatform/Public/DesktopPlatformModule....
26.130106
164
0.739868
Xian-Yun-Jun
56624ea6e4db7e72c41abca7c028bf32bca9a125
42
hpp
C++
addons/vehicles_land/XEH_PREP.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/vehicles_land/XEH_PREP.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/vehicles_land/XEH_PREP.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
PREP(BushMasterHitEH); PREP(JackelHitEH);
14
22
0.809524
SOCOMD
5662d65d009fa7924de76c821f89520b84721156
1,574
cxx
C++
Src/Projects/manager_PostProcessing/MAIN.cxx
musterchef/OpenMoBu
b98e9f8d6182d84e54da1b790bbe69620ea818de
[ "BSD-3-Clause" ]
53
2018-04-21T14:16:46.000Z
2022-03-19T11:27:37.000Z
Src/Projects/manager_PostProcessing/MAIN.cxx
musterchef/OpenMoBu
b98e9f8d6182d84e54da1b790bbe69620ea818de
[ "BSD-3-Clause" ]
6
2019-06-05T16:37:29.000Z
2021-09-20T07:17:03.000Z
Src/Projects/manager_PostProcessing/MAIN.cxx
musterchef/OpenMoBu
b98e9f8d6182d84e54da1b790bbe69620ea818de
[ "BSD-3-Clause" ]
10
2019-02-22T18:43:59.000Z
2021-09-02T18:53:37.000Z
/** \file MAIN.cxx Sergei <Neill3d> Solokhin 2018 GitHub page - https://github.com/Neill3d/OpenMoBu Licensed under The "New" BSD License - https://github.com/Neill3d/OpenMoBu/blob/master/LICENSE */ //--- SDK include #include <fbsdk/fbsdk.h> #ifdef KARCH_ENV_WIN #include <windows.h> #endif #include "postpro...
24.215385
94
0.691233
musterchef
566566612126c19727fe46fd806e58fcef23e6c0
2,372
cpp
C++
ecs/src/v2/model/ResizePostPaidServerOption.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
ecs/src/v2/model/ResizePostPaidServerOption.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
ecs/src/v2/model/ResizePostPaidServerOption.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/ecs/v2/model/ResizePostPaidServerOption.h" namespace HuaweiCloud { namespace Sdk { namespace Ecs { namespace V2 { namespace Model { ResizePostPaidServerOption::ResizePostPaidServerOption() { flavorRef_ = ""; flavorRefIsSet_ = false; mode_ = ""; modeIsSet_ = false; } ResizeP...
20.273504
100
0.671585
yangzhaofeng
566a4d89f934a44b604fcd743438594aaa2f4903
245
inl
C++
include/volt/gpu/resource.inl
voltengine/volt
fbefe2e0a8e461b6130ffe926870c4848bd6e7d1
[ "MIT" ]
null
null
null
include/volt/gpu/resource.inl
voltengine/volt
fbefe2e0a8e461b6130ffe926870c4848bd6e7d1
[ "MIT" ]
null
null
null
include/volt/gpu/resource.inl
voltengine/volt
fbefe2e0a8e461b6130ffe926870c4848bd6e7d1
[ "MIT" ]
null
null
null
namespace volt::gpu { template<typename T> void resource::map(const std::function<void(T &)> &callback, access_modes access, size_t offset) { map([&](void *data) { callback(*reinterpret_cast<T *>(data)); }, access, sizeof(T), offset); } }
22.272727
98
0.677551
voltengine
566c3ff1d99ece1dcefd71776b50e495cede1b91
12,204
hxx
C++
main/unotools/inc/unotools/moduleoptions.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/unotools/inc/unotools/moduleoptions.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/unotools/inc/unotools/moduleoptions.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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 y...
48.047244
144
0.518519
Grosskopf
566e94fbc34e559b0d13bc828d176a9d942fc6a0
2,440
cpp
C++
Src/Graphics/OpenGL_Desktop.cpp
Eae02/jamlib
66193bc11fee3a8964f2af0aca6c20cdf56b3b4c
[ "Zlib" ]
null
null
null
Src/Graphics/OpenGL_Desktop.cpp
Eae02/jamlib
66193bc11fee3a8964f2af0aca6c20cdf56b3b4c
[ "Zlib" ]
null
null
null
Src/Graphics/OpenGL_Desktop.cpp
Eae02/jamlib
66193bc11fee3a8964f2af0aca6c20cdf56b3b4c
[ "Zlib" ]
null
null
null
#include "OpenGL.hpp" #ifndef JM_USE_GLES #include <iostream> #include <string_view> #include <SDL_video.h> namespace jm::detail { bool hasModernGL; float maxAnistropy; static std::string glVendorName; void OpenGLMessageCallback(GLenum, GLenum type, GLuint id, GLenum severity, GLsizei length, ...
22.385321
107
0.672131
Eae02
5670ea398c3074eec3f9b7f4ad7d41390ef5f111
2,775
cpp
C++
src/engine/TextureHandle.cpp
foxostro/arbarlith2
820ffc8c3efcb636eb2c639487815fb9aabdc82e
[ "BSD-3-Clause" ]
1
2019-04-09T18:42:00.000Z
2019-04-09T18:42:00.000Z
src/engine/TextureHandle.cpp
foxostro/arbarlith2
820ffc8c3efcb636eb2c639487815fb9aabdc82e
[ "BSD-3-Clause" ]
null
null
null
src/engine/TextureHandle.cpp
foxostro/arbarlith2
820ffc8c3efcb636eb2c639487815fb9aabdc82e
[ "BSD-3-Clause" ]
null
null
null
/* Original Author: Andrew Fox E-Mail: mailto:foxostro@gmail.com Copyright (c) 2006-2007,2009 Game Creation Society All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code m...
29.521277
98
0.751712
foxostro
56747c5c47b952021c2d327e8348876d709436fa
103
cpp
C++
src/core/BaseException.cpp
Neomer/binc
3af615f36cb23f1cdc9319b7a6e15c6c342a53b9
[ "Apache-2.0" ]
null
null
null
src/core/BaseException.cpp
Neomer/binc
3af615f36cb23f1cdc9319b7a6e15c6c342a53b9
[ "Apache-2.0" ]
26
2017-12-13T12:45:32.000Z
2018-02-06T11:08:04.000Z
src/core/BaseException.cpp
Neomer/binc
3af615f36cb23f1cdc9319b7a6e15c6c342a53b9
[ "Apache-2.0" ]
null
null
null
#include "BaseException.h" BaseException::BaseException(const char *message) : _msg(message) { }
12.875
51
0.718447
Neomer
56751572e61863567d4db6c72a9bc76d54be5050
9,240
cpp
C++
Assignments/Curl/src/CurlAppController.cpp
prince-chrismc/Data-Communication
04df3591ac726c1f330788b6b24cdb15309b5461
[ "MIT" ]
null
null
null
Assignments/Curl/src/CurlAppController.cpp
prince-chrismc/Data-Communication
04df3591ac726c1f330788b6b24cdb15309b5461
[ "MIT" ]
null
null
null
Assignments/Curl/src/CurlAppController.cpp
prince-chrismc/Data-Communication
04df3591ac726c1f330788b6b24cdb15309b5461
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2018 Chris McArthur, prince.chrismc(at)gmail(dot)com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ri...
34.477612
190
0.643615
prince-chrismc
567dc8c02e6d9572d168cb4090d34b542068725c
2,619
cc
C++
zetasql/testing/test_catalog.cc
wbsouza/zetasql-formatter
3db113adee8d4fcb27dc978123dc75079442bf69
[ "Apache-2.0" ]
1,779
2019-04-23T19:41:49.000Z
2022-03-31T18:53:18.000Z
zetasql/testing/test_catalog.cc
wbsouza/zetasql-formatter
3db113adee8d4fcb27dc978123dc75079442bf69
[ "Apache-2.0" ]
94
2019-05-22T00:30:05.000Z
2022-03-31T06:26:09.000Z
zetasql/testing/test_catalog.cc
wbsouza/zetasql-formatter
3db113adee8d4fcb27dc978123dc75079442bf69
[ "Apache-2.0" ]
153
2019-04-23T22:45:41.000Z
2022-02-18T05:44:10.000Z
// // Copyright 2019 Google LLC // // 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 ...
34.012987
80
0.695304
wbsouza
5680aaa33ec13e91f86761d8d57d331ad60694ca
1,643
cc
C++
net/tools/quic/quic_simple_server_socket.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
net/tools/quic/quic_simple_server_socket.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
250
2018-02-02T23:16:57.000Z
2022-03-21T06:09:53.000Z
net/tools/quic/quic_simple_server_socket.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/tools/quic/quic_simple_server_socket.h" #include "net/base/net_errors.h" #include "net/log/net_log_source.h" #include "net/third_party/...
30.425926
77
0.695679
zealoussnow
5683264e2c7c942ce2ef5fe75106d2d2e92ca956
486
cpp
C++
tests/realapplications/libHX_overflow/libHX-3.4/src/tx-compile.cpp
GYJQTYL2/DoubleTake
cdcd0200bb364b5343beae72756420e6c3954a6f
[ "MIT" ]
19
2015-09-17T18:10:14.000Z
2021-08-16T11:26:33.000Z
tests/realapplications/libHX_overflow/libHX-3.4/src/tx-compile.cpp
GYJQTYL2/DoubleTake
cdcd0200bb364b5343beae72756420e6c3954a6f
[ "MIT" ]
17
2015-04-27T14:33:42.000Z
2016-05-23T20:15:48.000Z
tests/realapplications/libHX_overflow/libHX-3.4/src/tx-compile.cpp
plasma-umass/DoubleTake
cdcd0200bb364b5343beae72756420e6c3954a6f
[ "MIT" ]
13
2015-07-29T15:15:00.000Z
2021-01-15T04:53:21.000Z
/* This file is for testing the cumulative include */ #ifndef __cplusplus # include <stdlib.h> #else # include <cstdlib> #endif #include <libHX.h> #define ZZ 64 int main(void) { unsigned long bitmap[HXbitmap_size(unsigned long, 64)]; if (HX_init() <= 0) abort(); printf("sizeof bitmap: %zu, array_size: %zu\n", ...
20.25
59
0.683128
GYJQTYL2
568bb161de43b5b938b17aa4a4ffaf46f4661dbc
11,031
cpp
C++
aegisub/src/search_replace_engine.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
1
2018-02-12T02:44:57.000Z
2018-02-12T02:44:57.000Z
aegisub/src/search_replace_engine.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
null
null
null
aegisub/src/search_replace_engine.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
2
2018-02-12T03:46:24.000Z
2018-02-12T14:36:07.000Z
// Copyright (c) 2013, Thomas Goyne <plorkyeran@aegisub.org> // // Permission to use, copy, modify, and distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" A...
31.60745
127
0.707279
rcombs
568dcaf91f6b658f3ca117f73325be96eb025ab7
777
cpp
C++
old-questions/2070-Chaitra/q3.cpp
B33pl0p/ioe-oop
87162561e0ced7e7e9cc7c7a8354d535de16e1f5
[ "MIT" ]
4
2021-02-19T12:19:06.000Z
2022-02-11T14:15:49.000Z
old-questions/2070-Chaitra/q3.cpp
B33pl0p/ioe-oop
87162561e0ced7e7e9cc7c7a8354d535de16e1f5
[ "MIT" ]
null
null
null
old-questions/2070-Chaitra/q3.cpp
B33pl0p/ioe-oop
87162561e0ced7e7e9cc7c7a8354d535de16e1f5
[ "MIT" ]
12
2018-01-29T15:37:51.000Z
2022-02-10T06:45:03.000Z
// Write a C++ program to join two strings using dynamics constructor concept #include <iostream> #include <string.h> using namespace std; class Strings { char *str; public: Strings() {} Strings(char *s) { int length = strlen(s); str = new char[length]; strc...
22.2
77
0.503218
B33pl0p
5693a6b899434cd6f4a9b6d612f5815788b3aee2
558
cpp
C++
CLearn/DiscarnateLayer.cpp
JamesGlare/Neural-Net-LabView-DLL
d912e0bfd0231d22bcd27ae6a71ebfcb23129aba
[ "MIT" ]
12
2018-07-23T17:07:29.000Z
2021-04-26T01:46:48.000Z
CLearn/DiscarnateLayer.cpp
JamesGlare/Neural-Net-LabView-DLL
d912e0bfd0231d22bcd27ae6a71ebfcb23129aba
[ "MIT" ]
null
null
null
CLearn/DiscarnateLayer.cpp
JamesGlare/Neural-Net-LabView-DLL
d912e0bfd0231d22bcd27ae6a71ebfcb23129aba
[ "MIT" ]
9
2019-05-06T13:19:39.000Z
2021-03-23T01:10:25.000Z
#include "stdafx.h" #include "DiscarnateLayer.h" DiscarnateLayer::DiscarnateLayer(size_t _NOUT, size_t _NIN) : CNetLayer(_NOUT, _NIN) {}; DiscarnateLayer::DiscarnateLayer(size_t _NOUT, size_t _NIN, actfunc_t type) : CNetLayer(_NOUT, _NIN, type) {}; DiscarnateLayer::DiscarnateLayer(size_t _NOUT, actfunc_t type, CNetLay...
46.5
116
0.752688
JamesGlare
5695d46f99c3f8c225d2745b02ecd287bbc5d6a8
7,409
cpp
C++
Refureku/Library/Tests/ArchetypeTests.cpp
Angelysse/Refureku
1f01107c94cd81998068ce3fde02bb21c180166b
[ "MIT" ]
null
null
null
Refureku/Library/Tests/ArchetypeTests.cpp
Angelysse/Refureku
1f01107c94cd81998068ce3fde02bb21c180166b
[ "MIT" ]
null
null
null
Refureku/Library/Tests/ArchetypeTests.cpp
Angelysse/Refureku
1f01107c94cd81998068ce3fde02bb21c180166b
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <Refureku/Refureku.h> #include "TestStruct.h" #include "TestClass.h" #include "TestClass2.h" #include "TestEnum.h" #include "TestNamespace.h" #include "TypeTemplateClassTemplate.h" //========================================================= //=========== Archetype::getAccessSpecifier...
47.8
178
0.749764
Angelysse
5696b3542f81e8931368f031251ff7ac2ec140fc
6,487
cpp
C++
Algorithm Templates/Manacher's Algorithm.cpp
shamiul94/Problem-Solving-Online-Judges
0387ccd02cc692c70429b4683311070dc9d69b28
[ "MIT" ]
2
2019-11-10T18:42:11.000Z
2020-07-04T07:05:22.000Z
Algorithm Templates/Manacher's Algorithm.cpp
shamiul94/Problem-Solving-Online-Judges
0387ccd02cc692c70429b4683311070dc9d69b28
[ "MIT" ]
null
null
null
Algorithm Templates/Manacher's Algorithm.cpp
shamiul94/Problem-Solving-Online-Judges
0387ccd02cc692c70429b4683311070dc9d69b28
[ "MIT" ]
1
2019-11-04T11:05:17.000Z
2019-11-04T11:05:17.000Z
/** @author - Rumman BUET CSE'15 Problem - Idea - Concept - */ #include <bits/stdc++.h> #define m0(a) memset(a , 0 , sizeof(a)) using namespace std; /************************************** END OF INITIALS ****************************************/ /** * Linear time Manacher's algorithm to find longest palind...
41.318471
164
0.547094
shamiul94
569c023e96c13aa84759740a3d8938a2c8e4c174
4,007
cpp
C++
nimbro_apc/hardware/apc_interface/src/status_display/status_display.cpp
warehouse-picking-automation-challenges/nimbro_picking
857eee602beea9eebee45bbb67fce423b28f9db6
[ "BSD-3-Clause" ]
19
2017-11-02T03:05:51.000Z
2020-12-02T19:40:15.000Z
nimbro_apc/hardware/apc_interface/src/status_display/status_display.cpp
warehouse-picking-automation-challenges/nimbro_picking
857eee602beea9eebee45bbb67fce423b28f9db6
[ "BSD-3-Clause" ]
null
null
null
nimbro_apc/hardware/apc_interface/src/status_display/status_display.cpp
warehouse-picking-automation-challenges/nimbro_picking
857eee602beea9eebee45bbb67fce423b28f9db6
[ "BSD-3-Clause" ]
9
2017-09-16T02:20:39.000Z
2020-05-24T14:06:35.000Z
// rqt plugin displaying the controller status // Author: Max Schwarz <max.schwarz@uni-bonn.de> #include "status_display.h" #include <ros/node_handle.h> #include <ros/service.h> #include <QMessageBox> #include <pluginlib/class_list_macros.h> #include <apc_interface/DimLight.h> #include <apc_interface/SuctionStreng...
23.432749
113
0.737709
warehouse-picking-automation-challenges
569e9d0f4461a985eaf46fdd6463078b6d953cca
11,817
hxx
C++
Unparsed.hxx
zaimoni/Franc
54c41949676e0e4e2fdba00b7bb7813b1b45e649
[ "BSL-1.0" ]
null
null
null
Unparsed.hxx
zaimoni/Franc
54c41949676e0e4e2fdba00b7bb7813b1b45e649
[ "BSL-1.0" ]
null
null
null
Unparsed.hxx
zaimoni/Franc
54c41949676e0e4e2fdba00b7bb7813b1b45e649
[ "BSL-1.0" ]
null
null
null
// Unparsed.hxx // header for UnparsedText #ifndef UNPARSED_TEXT_DEF #define UNPARSED_TEXT_DEF #include "MetaCon6.hxx" #include "Zaimoni.STL/AutoPtr.hpp" class UnparsedText; namespace zaimoni { template<> struct is_polymorphic_final<UnparsedText> : public std::true_type {}; } class UnparsedText f...
46.70751
150
0.764915
zaimoni
56a1d4fbcb4734a67c644b256a5c4b66201a2bd2
1,731
hpp
C++
include/kobuki_core/logging.hpp
kobuki-base/kobuki_core
5fb88169d010c3a23f24ff0ba7e9cb45b46b24e8
[ "BSD-3-Clause" ]
10
2020-06-01T05:05:27.000Z
2022-01-18T13:19:58.000Z
include/kobuki_core/logging.hpp
clalancette/kobuki_core
e5bef97d3c1db24441508673e08c67be599faa84
[ "BSD-3-Clause" ]
28
2020-01-10T14:42:54.000Z
2021-07-28T08:01:44.000Z
include/kobuki_core/logging.hpp
clalancette/kobuki_core
e5bef97d3c1db24441508673e08c67be599faa84
[ "BSD-3-Clause" ]
8
2020-02-04T09:59:18.000Z
2021-08-29T01:59:38.000Z
/** * @file include/kobuki_core/logging.hpp * * @brief Log levels and simple logging to screen. * * License: BSD * https://raw.githubusercontent.com/kobuki-base/kobuki_core/license/LICENSE **/ /***************************************************************************** ** Ifdefs ***************************...
28.85
79
0.450607
kobuki-base
56a221ea1597980da2511f1b2ac086226c64c8a0
9,156
cpp
C++
Packer/Packer/SourceCode/Exporter/ExSgMesh.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
8
2017-10-26T14:26:55.000Z
2022-01-07T07:35:39.000Z
Packer/Packer/SourceCode/Exporter/ExSgMesh.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2017-09-28T08:21:04.000Z
2017-10-04T09:17:57.000Z
Packer/Packer/SourceCode/Exporter/ExSgMesh.cpp
GavWood/Game-Framework
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2021-07-21T17:37:33.000Z
2021-07-21T17:37:33.000Z
//////////////////////////////////////////////////////////////////////////////// // ExSgMesh.cpp // Includes #include "StdAfx.h" #include "ExMatrix.h" #include "ExSgMesh.h" #include "ExStrip.h" #include "ExScene.h" #include "ExIndexBuffer.h" #include "ExVertexBuffer.h" #include "ExVertex.h" #include "SgRigidBody.h" #i...
26.386167
104
0.63543
GavWood
56a2d79362bfcd984696b77159fef85d19d581d3
3,213
hpp
C++
include/tools/types/common/enable_for/enable_for-2013.hpp
Kartonagnick/tools-types
4b3a697e579050eade081b82f9b96309fea8f5e7
[ "MIT" ]
null
null
null
include/tools/types/common/enable_for/enable_for-2013.hpp
Kartonagnick/tools-types
4b3a697e579050eade081b82f9b96309fea8f5e7
[ "MIT" ]
49
2021-02-20T12:08:15.000Z
2021-05-07T19:59:08.000Z
include/tools/types/common/enable_for/enable_for-2013.hpp
Kartonagnick/tools-types
4b3a697e579050eade081b82f9b96309fea8f5e7
[ "MIT" ]
null
null
null
// [2020y-09m-04d][00:00:00] Idrisov Denis R. // [2021y-02m-20d][18:40:18] Idrisov Denis R. // [2021y-04m-10d][01:40:31] Idrisov Denis R. 100 //============================================================================== //============================================================================== #pragma once #if...
33.123711
80
0.473078
Kartonagnick
56a628812a09eb037c743d847d4d560ba873b605
34,550
cpp
C++
src/MainWindow.cpp
Furkanzmc/ofQMake
5032cf904cac7b3ced363ecf2eca618c04c4aa37
[ "Unlicense" ]
5
2016-06-05T09:02:08.000Z
2018-03-07T23:26:39.000Z
src/MainWindow.cpp
Furkanzmc/ofxQProjectGenerator
5032cf904cac7b3ced363ecf2eca618c04c4aa37
[ "Unlicense" ]
2
2016-03-26T16:51:07.000Z
2016-06-02T18:18:00.000Z
src/MainWindow.cpp
Furkanzmc/ofQProjectGenerator
5032cf904cac7b3ced363ecf2eca618c04c4aa37
[ "Unlicense" ]
1
2018-07-08T03:21:31.000Z
2018-07-08T03:21:31.000Z
#include "MainWindow.h" #include "ui_MainWindow.h" #include <QDirIterator> #include <QDebug> #include <QFileDialog> #include <QMessageBox> #include <QSettings> #include <QDesktopServices> #include <QListWidgetItem> #include <QJsonDocument> #include <QJsonObject> #include <QUuid> MainWindow::MainWindow(QWidget *parent)...
36.292017
160
0.577279
Furkanzmc
56aae3da6b829bd45813dd50738c6642332e38ff
1,705
cpp
C++
src/utils/data.cpp
jlorenze/asl_fixedwing
9cac7c8d31f5d1c9f7d059d4614d6b60f1a3fbef
[ "MIT" ]
4
2021-06-28T17:30:55.000Z
2022-03-18T09:04:35.000Z
src/utils/data.cpp
jlorenze/asl_fixedwing
9cac7c8d31f5d1c9f7d059d4614d6b60f1a3fbef
[ "MIT" ]
1
2021-08-31T16:22:13.000Z
2021-08-31T16:36:15.000Z
src/utils/data.cpp
jlorenze/asl_fixedwing
9cac7c8d31f5d1c9f7d059d4614d6b60f1a3fbef
[ "MIT" ]
null
null
null
/** @file data.cpp Helper functions for saving and loading data */ #include <utils/data.hpp> #include <fstream> #include <iostream> #include <string> #include <vector> #include <Eigen/Dense> /** Save matrix to .csv file. */ void Data::save_matrix(const std::string& file_name, Eigen::MatrixXd matrix) { co...
30.446429
133
0.614663
jlorenze
56ab20a2bf8e3c57aec1f51f51c6986961530fad
1,347
cpp
C++
697_find_shortest_subarray/find_shortest_subarray.cpp
Mengsen-W/algorithm
66216b8601e416343a2cc191bd0f2f12eb282262
[ "BSD-3-Clause" ]
null
null
null
697_find_shortest_subarray/find_shortest_subarray.cpp
Mengsen-W/algorithm
66216b8601e416343a2cc191bd0f2f12eb282262
[ "BSD-3-Clause" ]
null
null
null
697_find_shortest_subarray/find_shortest_subarray.cpp
Mengsen-W/algorithm
66216b8601e416343a2cc191bd0f2f12eb282262
[ "BSD-3-Clause" ]
null
null
null
/* * @Author: Mengsen.Wang * @Date: 2021-02-20 09:07:09 * @Last Modified by: Mengsen.Wang * @Last Modified time: 2021-02-20 09:17:11 */ #include <cassert> #include <vector> using namespace std; int find_shortest_subarray(vector<int>& nums) { //统计每个元素出现的频率 vector<int> req(50000, 0); //最大度 int d = 0; //...
24.490909
57
0.576095
Mengsen-W
56af4c64ed918d38fa3cfc169426d4d03daaf752
164,443
cpp
C++
Co-Simulation/Sumo/sumo-1.7.0/src/netedit/elements/additional/GNEAdditionalHandler.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/netedit/elements/additional/GNEAdditionalHandler.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/netedit/elements/additional/GNEAdditionalHandler.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
56.763203
287
0.670603
uruzahe