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
11a57fafbdb38844f8d8e26d28cfe82dca09aabd
1,795
cpp
C++
Documents/RacimoAire/Libreria/LogsSystem/adminlogssystem.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/Libreria/LogsSystem/adminlogssystem.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/Libreria/LogsSystem/adminlogssystem.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
#include "adminlogssystem.h" AdminLogsSystem::AdminLogsSystem(QObject *parent): QObject(parent) { logsSystem = new LogsSystem; logsSystem->moveToThread(&logsSystemThread); connect(&logsSystemThread, &QThread::finished, logsSystem, &QObject::deleteLater); connect(this, &AdminLogsSystem::operate, logs...
26.397059
99
0.764345
JoseSalamancaCoy
11a64298cbde84e5a0cb590587e089bccab297c9
85
hpp
C++
libraries/appbase/include/appbase/version.hpp
cubetrain/CubeTrain
b930a3e88e941225c2c54219267f743c790e388f
[ "MIT" ]
null
null
null
libraries/appbase/include/appbase/version.hpp
cubetrain/CubeTrain
b930a3e88e941225c2c54219267f743c790e388f
[ "MIT" ]
null
null
null
libraries/appbase/include/appbase/version.hpp
cubetrain/CubeTrain
b930a3e88e941225c2c54219267f743c790e388f
[ "MIT" ]
null
null
null
#pragma once namespace appbase { extern const char* appbase_version_string; }
17
46
0.741176
cubetrain
11a96bea30f234550c1e85ed2eecb7fd4303fe4b
11,613
cpp
C++
src/base/event/Brent.cpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
1
2020-05-16T16:58:21.000Z
2020-05-16T16:58:21.000Z
src/base/event/Brent.cpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
null
null
null
src/base/event/Brent.cpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
null
null
null
//$Id: Brent.cpp 10052 2011-12-06 22:56:03Z djcinsb $ //------------------------------------------------------------------------------ // Brent //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool. // // Copyright (c) 2002-2011...
31.557065
83
0.473607
ddj116
11a97bc5e1c85f39e68e8dc81a1208fca151da56
2,913
hpp
C++
src/include/ulib/stream/ITextStream.hpp
vividos/UlibCpp
d96348844348a00523b7742b3e7a5c9764613877
[ "BSD-2-Clause" ]
null
null
null
src/include/ulib/stream/ITextStream.hpp
vividos/UlibCpp
d96348844348a00523b7742b3e7a5c9764613877
[ "BSD-2-Clause" ]
null
null
null
src/include/ulib/stream/ITextStream.hpp
vividos/UlibCpp
d96348844348a00523b7742b3e7a5c9764613877
[ "BSD-2-Clause" ]
null
null
null
// // ulib - a collection of useful classes // Copyright (C) 2007,2008,2012,2014,2017,2020 Michael Fink // /// \file ITextStream.hpp text stream interface // #pragma once namespace Stream { /// text stream interface class ITextStream { public: /// text encoding that is possible for text files e...
28.558824
115
0.626502
vividos
11aa84f6e6eb99b64fb49789870d851fe33705be
1,362
cpp
C++
UnrealSandBox/Source/UnrealSandBox/Private/SampleSubSystem.cpp
y-akahori-ramen/UnrealSandBox
6198e16d857a6997d8809c48984c26a070cd6876
[ "Unlicense" ]
null
null
null
UnrealSandBox/Source/UnrealSandBox/Private/SampleSubSystem.cpp
y-akahori-ramen/UnrealSandBox
6198e16d857a6997d8809c48984c26a070cd6876
[ "Unlicense" ]
null
null
null
UnrealSandBox/Source/UnrealSandBox/Private/SampleSubSystem.cpp
y-akahori-ramen/UnrealSandBox
6198e16d857a6997d8809c48984c26a070cd6876
[ "Unlicense" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SampleSubSystem.h" #include "AsyncSample.h" //--------------------------------------------------------------------------------- // SampleSubSystem //-------------------------------------------------------------------------------...
22.327869
83
0.700441
y-akahori-ramen
11acb9ab7d7b558cb8d1d57f2fd725893e1f16e0
2,236
cpp
C++
examples/particleSim/Particle.cpp
nitro44x/mirror
545e609cd260579ec132f91788921ef4f9fa2049
[ "BSD-3-Clause" ]
null
null
null
examples/particleSim/Particle.cpp
nitro44x/mirror
545e609cd260579ec132f91788921ef4f9fa2049
[ "BSD-3-Clause" ]
null
null
null
examples/particleSim/Particle.cpp
nitro44x/mirror
545e609cd260579ec132f91788921ef4f9fa2049
[ "BSD-3-Clause" ]
null
null
null
#include "Particle.hpp" #include <device_launch_parameters.h> #include <mirror/simt_macros.hpp> #include <mirror/simt_allocator.hpp> #include <mirror/simt_vector.hpp> #include <mirror/simt_serialization.hpp> #include <mirror/simt_utilities.hpp> ParticleSquare::ParticleSquare(double L) : m_L(L) {} ParticleSquare::~P...
30.216216
110
0.753131
nitro44x
11adc36baae639ef2d1a38bdb34760937cd7c580
1,959
cpp
C++
ECS/ECS/ECS.cpp
oWASDo/ECS
4131269889e13be7990e250b8b9376b9a16229a3
[ "MIT" ]
null
null
null
ECS/ECS/ECS.cpp
oWASDo/ECS
4131269889e13be7990e250b8b9376b9a16229a3
[ "MIT" ]
null
null
null
ECS/ECS/ECS.cpp
oWASDo/ECS
4131269889e13be7990e250b8b9376b9a16229a3
[ "MIT" ]
null
null
null
// ECS.cpp : Questo file contiene la funzione 'main', in cui inizia e termina l'esecuzione del programma. // #include <iostream> #include <vector> #include <time.h> #include "Heder/ECS_Context.h" #include "Heder/Component.h" class ClassTest { public: ClassTest(); ~ClassTest(); void Adding() { inttt += 5; } p...
18.481132
105
0.654416
oWASDo
11aea2549bf0a5d545908508a65fe7247dcfbdcb
11,430
cpp
C++
src/platform/DBlmdb.cpp
mygirl8893/evo
c90f69ad6132c426042749ff3fe4174d22aa63b2
[ "MIT" ]
1
2019-05-20T01:00:40.000Z
2019-05-20T01:00:40.000Z
src/platform/DBlmdb.cpp
mygirl8893/evo
c90f69ad6132c426042749ff3fe4174d22aa63b2
[ "MIT" ]
4
2018-05-07T07:15:53.000Z
2018-06-01T19:35:46.000Z
src/platform/DBlmdb.cpp
mygirl8893/evo
c90f69ad6132c426042749ff3fe4174d22aa63b2
[ "MIT" ]
10
2018-05-09T10:45:07.000Z
2020-01-11T17:21:28.000Z
#include "DBlmdb.hpp" #include <boost/lexical_cast.hpp> #include <iostream> #include "PathTools.hpp" using namespace platform; #ifdef _WIN32 #pragma comment(lib, "ntdll.lib") // dependency of lmdb, here to avoid linker arguments #endif static void lmdb_check(int rc, const char *msg) { if (rc != MDB_SUC...
35.830721
117
0.626859
mygirl8893
11aeb2e0187ebf1b723e15db231e4c8d20237da0
3,315
cpp
C++
aws-cpp-sdk-dynamodb/source/model/AutoScalingSettingsDescription.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-dynamodb/source/model/AutoScalingSettingsDescription.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-dynamodb/source/model/AutoScalingSettingsDescription.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/dynamodb/model/AutoScalingSettingsDescription.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; names...
24.738806
126
0.762594
Neusoft-Technology-Solutions
11afd35840a70a13c2cda758bb4e90d370e3391a
1,578
cpp
C++
src/AdcNode.cpp
elbowz/yahnc
5ffe8adcad19f25b31a252f330fe8e29d1891b4f
[ "MIT" ]
null
null
null
src/AdcNode.cpp
elbowz/yahnc
5ffe8adcad19f25b31a252f330fe8e29d1891b4f
[ "MIT" ]
null
null
null
src/AdcNode.cpp
elbowz/yahnc
5ffe8adcad19f25b31a252f330fe8e29d1891b4f
[ "MIT" ]
null
null
null
#include "AdcNode.hpp" extern int __get_adc_mode(); /** * TODO: * * manage status topic: isnan(ESP.getVcc()) => setProperty(cStatusTopic).send("error") * note: check what happen when no wire is connected to ADC pin */ AdcNode::AdcNode(const char *id, const char *name, uint32_t...
27.684211
116
0.63815
elbowz
11afe1e7174228a8b182b569ed15320b2d4342fb
19,394
cpp
C++
mlir/lib/Support/Timing.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
mlir/lib/Support/Timing.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
mlir/lib/Support/Timing.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===- Timing.cpp - Execution time measurement facilities -----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
34.204586
80
0.637156
mkinsner
11b034306b11b95efa9bcd9811c5145ad39314a5
5,049
cpp
C++
3rdparty/stout/tests/lambda_tests.cpp
sagar8192/mesos
a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7
[ "Apache-2.0" ]
null
null
null
3rdparty/stout/tests/lambda_tests.cpp
sagar8192/mesos
a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7
[ "Apache-2.0" ]
null
null
null
3rdparty/stout/tests/lambda_tests.cpp
sagar8192/mesos
a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7
[ "Apache-2.0" ]
null
null
null
// 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 writing, software // distributed ...
22.44
76
0.614379
sagar8192
11b10e09b509c9d135985eb83d2c471ada9d4c63
9,218
cpp
C++
modules/gles3/functional/es3fSyncTests.cpp
omegaphora/external_deqp
8460b8642f48b81894c3cc6fc6d423811da60648
[ "Apache-2.0" ]
2
2016-12-27T00:57:00.000Z
2020-07-13T13:02:45.000Z
modules/gles3/functional/es3fSyncTests.cpp
omegaphora/external_deqp
8460b8642f48b81894c3cc6fc6d423811da60648
[ "Apache-2.0" ]
null
null
null
modules/gles3/functional/es3fSyncTests.cpp
omegaphora/external_deqp
8460b8642f48b81894c3cc6fc6d423811da60648
[ "Apache-2.0" ]
4
2016-04-27T21:12:29.000Z
2020-07-13T13:02:48.000Z
/*------------------------------------------------------------------------- * drawElements Quality Program OpenGL ES 3.0 Module * ------------------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
30.523179
187
0.694294
omegaphora
11b14132983c8cefd81d2cca5b6ea937f71906f8
10,570
cpp
C++
sleuthkit-develop/framework/modules/c_TskHashLookupModule/TskHashLookupModule.cpp
ForensicTools/Hotaru-475_2141-Edwards
ac67b05a34e9dd1ed2d0654876372046248abc88
[ "MIT" ]
1
2019-03-28T07:31:25.000Z
2019-03-28T07:31:25.000Z
sleuthkit-develop/framework/modules/c_TskHashLookupModule/TskHashLookupModule.cpp
ForensicTools/Hotaru-475_2141-Edwards
ac67b05a34e9dd1ed2d0654876372046248abc88
[ "MIT" ]
null
null
null
sleuthkit-develop/framework/modules/c_TskHashLookupModule/TskHashLookupModule.cpp
ForensicTools/Hotaru-475_2141-Edwards
ac67b05a34e9dd1ed2d0654876372046248abc88
[ "MIT" ]
null
null
null
/* * The Sleuth Kit * * Contact: Brian Carrier [carrier <at> sleuthkit [dot] org] * Copyright (c) 2011-2012 Basis Technology Corporation. All Rights * reserved. * * This software is distributed under the Common Public License 1.0 */ /** \file TskHashLookupModule.cpp * Contains an implementation of a hash look...
39.886792
159
0.613718
ForensicTools
11b81cd2f6dc35ce782342449966f5893f99bdb2
1,330
cpp
C++
tests/network_common.cpp
Andrei-Masilevich/barbacoa-server-lib
2eda2fab20c6c1d5a8a78b71952ca61330d04878
[ "MIT" ]
null
null
null
tests/network_common.cpp
Andrei-Masilevich/barbacoa-server-lib
2eda2fab20c6c1d5a8a78b71952ca61330d04878
[ "MIT" ]
null
null
null
tests/network_common.cpp
Andrei-Masilevich/barbacoa-server-lib
2eda2fab20c6c1d5a8a78b71952ca61330d04878
[ "MIT" ]
null
null
null
#include "network_common.h" #include <server_lib/platform_config.h> #if defined(SERVER_LIB_PLATFORM_LINUX) #include <sys/socket.h> #include <netinet/ip.h> #include <sys/types.h> #endif namespace server_lib { namespace tests { uint16_t basic_network_fixture::get_free_port() { int result = 0; #if defi...
27.142857
90
0.566917
Andrei-Masilevich
11b84455382fe2f87c88031e8a87b9b3cd4897ac
549
cpp
C++
etc/cpsco2019-s1/e/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
3
2019-06-25T06:17:38.000Z
2019-07-13T15:18:51.000Z
etc/cpsco2019-s1/e/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
etc/cpsco2019-s1/e/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
#include "template.hpp" int main() { ll(N, Q); vll(A, N); vll(L, R, X, Q); set<ll> S; each(a, A) { if (S.count(a)) { S.erase(a); } else { S.insert(a); } } rep(i, Q) { ll ans = 0; ll c = 0; vi D; for (auto j = S.lower_bound(L[i]); j != S.end() and *j <= R[i]; ++j) {...
15.685714
74
0.369763
wotsushi
11b9d47dd38ffb40e49306220e5122fc23a174a0
1,016
hpp
C++
src/View/HeatMapView.hpp
dlasalle/matrixinspector
7fc1b0065c2ea2cd01de58a96c2ffa99a9c2659e
[ "MIT" ]
2
2018-02-04T21:10:14.000Z
2018-02-13T15:24:28.000Z
src/View/HeatMapView.hpp
dlasalle/matrixinspector
7fc1b0065c2ea2cd01de58a96c2ffa99a9c2659e
[ "MIT" ]
15
2017-09-05T20:55:04.000Z
2018-12-21T09:12:21.000Z
src/View/HeatMapView.hpp
dlasalle/matrixinspector
7fc1b0065c2ea2cd01de58a96c2ffa99a9c2659e
[ "MIT" ]
null
null
null
/** * @file HeatMapView.hpp * @brief The HeatMapView class. * @author Dominique LaSalle <dominique@solidlake.com> * Copyright 2017 * @version 1 */ #ifndef MATRIXINSPECTOR_VIEW_HEATMAPVIEW_HPP #define MATRIXINSPECTOR_VIEW_HEATMAPVIEW_HPP #include "View.hpp" #include "HeatMap.hpp" namespace MatrixInspe...
10.924731
54
0.642717
dlasalle
11c00bff40ff159536879b93113910f5696ed572
14,020
cpp
C++
src/third_party/xhp/xhp/fastpath.cpp
burhan/hiphop-php
6e02d7072a02fbaad1856878c2515e35f7e529f0
[ "PHP-3.01", "Zend-2.0" ]
10
2019-01-20T18:09:28.000Z
2021-06-17T01:29:31.000Z
src/third_party/xhp/xhp/fastpath.cpp
burhan/hiphop-php
6e02d7072a02fbaad1856878c2515e35f7e529f0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
src/third_party/xhp/xhp/fastpath.cpp
burhan/hiphop-php
6e02d7072a02fbaad1856878c2515e35f7e529f0
[ "PHP-3.01", "Zend-2.0" ]
4
2015-01-15T00:04:16.000Z
2020-07-26T09:03:34.000Z
/* Generated by re2c 0.13.5 on Thu May 27 03:14:47 2010 */ #line 1 "fastpath.re" /* +----------------------------------------------------------------------+ | XHP | +----------------------------------------------------------------------+ | Copyrig...
15.968109
81
0.555563
burhan
11c856e5b8f6ef982b1e821a187aca4b82ca19d3
3,677
cpp
C++
Plugins/Mipf_Plugin_ASM/GenerateTrainingSetView.cpp
linson7017/MIPF
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
[ "ECL-2.0", "Apache-2.0" ]
4
2017-04-13T06:01:49.000Z
2019-12-04T07:23:53.000Z
Plugins/Mipf_Plugin_ASM/GenerateTrainingSetView.cpp
linson7017/MIPF
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
[ "ECL-2.0", "Apache-2.0" ]
1
2017-10-27T02:00:44.000Z
2017-10-27T02:00:44.000Z
Plugins/Mipf_Plugin_ASM/GenerateTrainingSetView.cpp
linson7017/MIPF
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
[ "ECL-2.0", "Apache-2.0" ]
2
2017-09-06T01:59:07.000Z
2019-12-04T07:23:54.000Z
#include "GenerateTrainingSetView.h" //qt #include <QFileDialog> //qf #include "iqf_main.h" //mipf #include "MitkMain/IQF_MitkIO.h" #include "MitkMain/IQF_MitkDataManager.h" #include "ITKImageTypeDef.h" //itk #include <itkImage.h> #include <itkChangeInformationImageFilter.h> //mitk #include "mitkImage.h" #include ...
30.139344
125
0.689693
linson7017
11c990bba3548437b8697512c79b1e1ee915992f
310
cpp
C++
imposc-service/imposc-cpp/charts/src/charts.cpp
FelixDux/imposccpp
c8c612df87a53ddaca6260816c913ade44adbe6d
[ "MIT" ]
null
null
null
imposc-service/imposc-cpp/charts/src/charts.cpp
FelixDux/imposccpp
c8c612df87a53ddaca6260816c913ade44adbe6d
[ "MIT" ]
1
2021-03-22T17:27:17.000Z
2021-07-02T07:31:39.000Z
imposc-service/imposc-cpp/charts/src/charts.cpp
FelixDux/imposccpp
c8c612df87a53ddaca6260816c913ade44adbe6d
[ "MIT" ]
null
null
null
#include "charts.hpp" #include "forcing_phase.hpp" #include "gnuplot_if.hpp" using namespace dynamics; namespace charts { void plot_impacts(const std::vector<Impact> &impacts, const std::string &outfile, const Parameters &params) { do_plot( {prepare_plot(impacts, "", "dots")}, outfile, params); } }
20.666667
108
0.722581
FelixDux
11c9f91d07c85dee71b7c0636643cac4ca80b346
14,275
cpp
C++
src/kits/midi2/MidiRosterLooper.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
3
2018-05-21T15:32:32.000Z
2019-03-21T13:34:55.000Z
src/kits/midi2/MidiRosterLooper.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/kits/midi2/MidiRosterLooper.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* * Copyright 2006, Haiku. * * Copyright (c) 2002-2004 Matthijs Hollemans * Distributed under the terms of the MIT License. * * Authors: * Matthijs Hollemans */ #include <kits/debug/Debug.h> #include <MidiConsumer.h> #include <MidiProducer.h> #include <MidiRoster.h> #include <MidiRosterLooper.h> #include <pr...
22.987118
76
0.654431
stasinek
11cbc1057bb0c26b128eb83d40b4b92d0f4b68cb
598
cpp
C++
source/code/programs/examples/sfml/f310_gamepads.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/programs/examples/sfml/f310_gamepads.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/programs/examples/sfml/f310_gamepads.cpp
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
#include <string> #include <iostream> #include <SFML/Window/Joystick.hpp> #include "code/utilities/peripheral/keyboard/F310_gamepad/functions/f310_gamepads_state_getter.hpp" #include "code/utilities/formats/json/converters/lib.hpp" #include "code/utilities/formats/json/converters/type_to_json_string.hpp", int main() {...
33.222222
99
0.742475
luxe
11cd6fce1f1f0eeca2ec14e83242e44739043a7e
5,574
cpp
C++
src/ace/ACE_wrappers/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/ace/ACE_wrappers/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
null
null
null
src/ace/ACE_wrappers/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
// -*- C++ -*- #include "SAXPrint_Handler.h" #include "ace/ACE.h" #include "ace/Log_Msg.h" #if !defined (__ACEXML_INLINE__) # include "SAXPrint_Handler.inl" #endif /* __ACEXML_INLINE__ */ ACEXML_SAXPrint_Handler::ACEXML_SAXPrint_Handler (const ACEXML_Char* filename) : indent_ (0), fileName_(ACE::strnew (filename)...
25.568807
101
0.544492
wfnex
11cdb8d22ff907a9adfd4cb8c16720795a585bfb
2,463
cpp
C++
src/libs/wavm_common/WavmUtils.cpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
1
2020-03-04T10:38:00.000Z
2020-03-04T10:38:00.000Z
src/libs/wavm_common/WavmUtils.cpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
null
null
null
src/libs/wavm_common/WavmUtils.cpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
1
2020-03-04T10:38:01.000Z
2020-03-04T10:38:01.000Z
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: WavmUtils.cpp * Author: ubuntu * * Created on April 22, 2018, 5:42 PM */ #include <string> #include <iostream> #...
26.202128
96
0.598051
burntjam
11d338cac985ed167a065d6e891f82926344834b
2,591
cpp
C++
src/Explosion/Box.cpp
crazytuzi/CyclonePhysics
4dd47779d425d9de45a125e948b690f0e8bd1f12
[ "MIT" ]
null
null
null
src/Explosion/Box.cpp
crazytuzi/CyclonePhysics
4dd47779d425d9de45a125e948b690f0e8bd1f12
[ "MIT" ]
null
null
null
src/Explosion/Box.cpp
crazytuzi/CyclonePhysics
4dd47779d425d9de45a125e948b690f0e8bd1f12
[ "MIT" ]
null
null
null
#include "Box.h" #include "gl/glut.h" Box::Box(): bIsOverlapping(false) { body = new cyclone::RigidBody(); } Box::~Box() { delete body; } void Box::Render() const { // Get the OpenGL transformation GLfloat mat[16]; body->GetGLTransform(mat); if (bIsOverlapping) { glColor3f(0.7f,...
19.778626
92
0.599768
crazytuzi
11d37558fedac33083d61bec201f0ac6c03b20bb
1,189
cpp
C++
tests/Test_ValueWithError_Policy_make_value_cpp98.cpp
t-b/value-with-error
ede8325d3572ac53601d0d7aabc09518850c8455
[ "BSL-1.0" ]
2
2018-09-07T10:58:50.000Z
2021-09-16T01:09:50.000Z
tests/Test_ValueWithError_Policy_make_value_cpp98.cpp
t-b/value-with-error
ede8325d3572ac53601d0d7aabc09518850c8455
[ "BSL-1.0" ]
null
null
null
tests/Test_ValueWithError_Policy_make_value_cpp98.cpp
t-b/value-with-error
ede8325d3572ac53601d0d7aabc09518850c8455
[ "BSL-1.0" ]
null
null
null
#include "precompiled.hpp" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wglobal-constructors" #endif // __clang__ #if defined __GNUC__ \ && ( __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) ) \ && !defined __clang__ #pragma GCC diagnostic push #pragm...
22.865385
75
0.728343
t-b
11d4eec341bbb7075bece8c5ac3e4a2a5e54b0cb
659
hpp
C++
credits.hpp
jasonhutchens/kranzky_ice
8b1cf40f7948ac8811cdf49729d1df0acb7fc611
[ "Unlicense" ]
4
2016-06-05T04:36:12.000Z
2016-08-21T20:11:49.000Z
credits.hpp
kranzky/kranzky_ice
8b1cf40f7948ac8811cdf49729d1df0acb7fc611
[ "Unlicense" ]
null
null
null
credits.hpp
kranzky/kranzky_ice
8b1cf40f7948ac8811cdf49729d1df0acb7fc611
[ "Unlicense" ]
null
null
null
//============================================================================== #ifndef ArseAbout #define ArseAbout #pragma once #include <context.hpp> //------------------------------------------------------------------------------ class Credits : public Context { public: Credits(); virtual ~Credits(); ...
19.382353
80
0.402124
jasonhutchens
11d66497c73877e8fdacf4e7fb1b5382ef71af15
1,799
cpp
C++
C++/word-squares.cpp
bssrdf/LeetCode-5
746df5cff523361145a74d9d429dc541a7b99910
[ "MIT" ]
68
2018-01-13T07:15:37.000Z
2022-02-20T12:58:24.000Z
C++/word-squares.cpp
pnandini/LeetCode
e746c3298be96dec8e160da9378940568ef631b1
[ "MIT" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
C++/word-squares.cpp
pnandini/LeetCode
e746c3298be96dec8e160da9378940568ef631b1
[ "MIT" ]
63
2017-04-10T03:38:25.000Z
2022-03-17T23:24:51.000Z
// Time: O(n^2 * n!) // Space: O(n^2) class Solution { private: struct TrieNode { vector<int> indices; vector<TrieNode *> children; TrieNode() : children(26, nullptr) {} }; TrieNode *buildTrie(const vector<string>& words) { TrieNode *root = new TrieNode(); for (int...
28.555556
93
0.473041
bssrdf
11d69bab9a3ef2f564faeda51e39c700146d5b6f
10,711
cpp
C++
sky/engine/platform/text/SegmentedString.cpp
abarth/sky_engine
e55063b0026f7a1aeda87ccb92fe5d9d09e8fc2e
[ "BSD-3-Clause" ]
1
2021-08-13T08:19:40.000Z
2021-08-13T08:19:40.000Z
sky/engine/platform/text/SegmentedString.cpp
abarth/sky_engine
e55063b0026f7a1aeda87ccb92fe5d9d09e8fc2e
[ "BSD-3-Clause" ]
null
null
null
sky/engine/platform/text/SegmentedString.cpp
abarth/sky_engine
e55063b0026f7a1aeda87ccb92fe5d9d09e8fc2e
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your ...
32.855828
132
0.690879
abarth
11dc5332d8f92aba3955636f5a6cc962047739e4
8,370
cpp
C++
src/AbstractTab.cpp
shtroizel/completable
f98372fc655aa8a8fcffaf9ef5e0fa8fab73a048
[ "BSD-3-Clause" ]
null
null
null
src/AbstractTab.cpp
shtroizel/completable
f98372fc655aa8a8fcffaf9ef5e0fa8fab73a048
[ "BSD-3-Clause" ]
null
null
null
src/AbstractTab.cpp
shtroizel/completable
f98372fc655aa8a8fcffaf9ef5e0fa8fab73a048
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2020, Eric Hyer 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 copyright notice, this list of conditions and the following di...
27
87
0.61362
shtroizel
11dd4cc7eea31c758a7d5706cb80cb0892be57b8
1,216
cpp
C++
libgpos/src/task/CAutoTraceFlag.cpp
khannaekta/gporca
94e509d0a2456851a2cabf02e933c3523946b87b
[ "ECL-2.0", "Apache-2.0" ]
28
2016-01-29T08:27:42.000Z
2021-03-11T01:42:33.000Z
libgpos/src/task/CAutoTraceFlag.cpp
khannaekta/gporca
94e509d0a2456851a2cabf02e933c3523946b87b
[ "ECL-2.0", "Apache-2.0" ]
22
2016-02-01T16:31:50.000Z
2017-07-13T13:25:53.000Z
libgpos/src/task/CAutoTraceFlag.cpp
khannaekta/gporca
94e509d0a2456851a2cabf02e933c3523946b87b
[ "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: // CAutoTraceFlag.cpp // // @doc: // Auto object to toggle TF in scope //--------------------------------------------------------------------------- #include "gpos/base...
20.965517
77
0.409539
khannaekta
11e56d15b8518951eaa1e705fe1b4e6149fc0615
2,005
cpp
C++
mkra/src/module.cpp
unihykes/monk
d5ad969fea75912d4aad913adf945f78ec4df60e
[ "Apache-2.0" ]
2
2018-03-27T02:46:03.000Z
2018-05-24T02:49:17.000Z
mkra/src/module.cpp
six-th/monk
d5ad969fea75912d4aad913adf945f78ec4df60e
[ "Apache-2.0" ]
null
null
null
mkra/src/module.cpp
six-th/monk
d5ad969fea75912d4aad913adf945f78ec4df60e
[ "Apache-2.0" ]
null
null
null
/*************************************************************************************************** LICENSE: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/l...
27.465753
100
0.618953
unihykes
11e5f9bd49da4e120dce1a093ce869f80b8b0ece
24,133
cpp
C++
src/game/server/entities/triggers/CChangeLevel.cpp
GEEKiDoS/source-sdk-2013-mp
9c4d61d342a23d7da1a2b35e28423e205c11d7fa
[ "Unlicense" ]
1
2021-03-20T14:27:22.000Z
2021-03-20T14:27:22.000Z
src/game/server/entities/triggers/CChangeLevel.cpp
GEEKiDoS/source-sdk-2013-mp
9c4d61d342a23d7da1a2b35e28423e205c11d7fa
[ "Unlicense" ]
null
null
null
src/game/server/entities/triggers/CChangeLevel.cpp
GEEKiDoS/source-sdk-2013-mp
9c4d61d342a23d7da1a2b35e28423e205c11d7fa
[ "Unlicense" ]
null
null
null
//========= Copyright Valve Corporation, All rights reserved. ============// #include "cbase.h" #include "ai_basenpc.h" #include "ai_behavior_lead.h" #include "entityapi.h" #include "saverestore.h" #include "saverestoretypes.h" #include "triggers.h" #include "entities/triggers/CChangeLevel.h" // memdbgon must be th...
29.394641
239
0.667716
GEEKiDoS
eb1ca3d0f21e064375c746e348caf888f8eb7636
6,148
cpp
C++
ContextSensors/src/csd_calendar.cpp
crutchwalkfactory/jaikuengine-mobile-client
c47100ec009d47a4045b3d98addc9b8ad887b132
[ "MIT" ]
null
null
null
ContextSensors/src/csd_calendar.cpp
crutchwalkfactory/jaikuengine-mobile-client
c47100ec009d47a4045b3d98addc9b8ad887b132
[ "MIT" ]
null
null
null
ContextSensors/src/csd_calendar.cpp
crutchwalkfactory/jaikuengine-mobile-client
c47100ec009d47a4045b3d98addc9b8ad887b132
[ "MIT" ]
null
null
null
// Copyright (c) 2007-2009 Google Inc. // Copyright (c) 2006-2007 Jaiku Ltd. // Copyright (c) 2002-2006 Mika Raento and Renaud Petit // // This software is licensed at your choice under either 1 or 2 below. // // 1. MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of thi...
26.964912
98
0.74756
crutchwalkfactory
eb1ce47710b2db11e95553ba08515d320e18ad0a
453
cpp
C++
array/989_add_to_array_form_interger.cpp
rspezialetti/leetcode
4614ffe2a4923aae02f93096b6200239e6f201c1
[ "MIT" ]
1
2019-08-21T21:25:34.000Z
2019-08-21T21:25:34.000Z
array/989_add_to_array_form_interger.cpp
rspezialetti/leetcode
4614ffe2a4923aae02f93096b6200239e6f201c1
[ "MIT" ]
null
null
null
array/989_add_to_array_form_interger.cpp
rspezialetti/leetcode
4614ffe2a4923aae02f93096b6200239e6f201c1
[ "MIT" ]
null
null
null
class Solution { public: vector<int> addToArrayForm(vector<int>& A, int K) { vector<int> result; int i = A.size(); int carry = K; while(--i >= 0 || carry > 0) { if(i >= 0) carry += A[i]; result.push_back(car...
20.590909
54
0.399558
rspezialetti
eb1d8b56429200d4dab81c8a1cc8b6625a3a9458
20,074
cpp
C++
src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp
FrenchCORE/OLD_FrenchCORE
edf1a2859246493c0667b44497c4bbb0fe718cbd
[ "OpenSSL" ]
1
2019-12-03T18:41:39.000Z
2019-12-03T18:41:39.000Z
src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp
FrenchCORE/OLD_FrenchCORE
edf1a2859246493c0667b44497c4bbb0fe718cbd
[ "OpenSSL" ]
null
null
null
src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp
FrenchCORE/OLD_FrenchCORE
edf1a2859246493c0667b44497c4bbb0fe718cbd
[ "OpenSSL" ]
null
null
null
/* * Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2012 - 2012 FrenchCORE <http://www.frcore.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General...
34.550775
192
0.506825
FrenchCORE
eb1e0ebbe1b88faf7c231da8b4c74218249a8e80
3,941
cpp
C++
src/core/technology.cpp
awlck/stellaris-stat-viewer
454d0286b07bcdf2b1b519d6a62ca9c569abc468
[ "Apache-2.0" ]
2
2019-05-28T13:43:33.000Z
2019-06-06T22:08:55.000Z
src/core/technology.cpp
awlck/stellaris-stat-viewer
454d0286b07bcdf2b1b519d6a62ca9c569abc468
[ "Apache-2.0" ]
8
2019-03-19T11:44:46.000Z
2019-06-03T11:43:07.000Z
src/core/technology.cpp
awlck/stellaris-stat-viewer
454d0286b07bcdf2b1b519d6a62ca9c569abc468
[ "Apache-2.0" ]
1
2020-03-08T21:02:35.000Z
2020-03-08T21:02:35.000Z
/* core/technology.cpp: Extracting technology information from an AST. * * Copyright 2019 Adrian "ArdiMaster" Welcker * * 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://ww...
32.04065
105
0.710226
awlck
eb205bbca4f4e7a114831c2b60866cb1ce2789ad
9,561
cpp
C++
Interaction/mafDeviceButtonsPadMouse.cpp
FusionBox2/MAF2
b576955f4f6b954467021f12baedfebcaf79a382
[ "Apache-2.0" ]
1
2018-01-23T09:13:40.000Z
2018-01-23T09:13:40.000Z
Interaction/mafDeviceButtonsPadMouse.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
null
null
null
Interaction/mafDeviceButtonsPadMouse.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
3
2020-09-24T16:04:53.000Z
2020-09-24T16:50:30.000Z
/*========================================================================= Program: MAF2 Module: mafDeviceButtonsPadMouse Authors: Marco Petrone Copyright (c) B3C All rights reserved. See Copyright.txt or http://www.scsitaly.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; w...
33.904255
89
0.494927
FusionBox2
eb27500b17c452bbb0018f17b819944c6051a4ad
86,599
cpp
C++
VirtualBox-5.0.0/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/* $Id: CPUMAllRegs.cpp $ */ /** @file * CPUM - CPU Monitor(/Manager) - Getters and Setters. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/...
30.237081
133
0.601993
egraba
eb2a24dc18716cab6697c6fa3608c3806d954948
5,322
cc
C++
crosdns/hosts_modifier_test.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
crosdns/hosts_modifier_test.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
crosdns/hosts_modifier_test.cc
dgreid/platform2
9b8b30df70623c94f1c8aa634dba94195343f37b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Chromium OS 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 "crosdns/hosts_modifier.h" #include <string> #include <base/files/scoped_temp_dir.h> #include <base/files/file_path.h> #include <base/files/...
37.744681
78
0.708568
dgreid
eb3217a3380b7b765ddf7ba8a8ee22cf96fa262b
2,662
cpp
C++
algorithms/binary_search_tree.cpp
sylveryte/algorithms-data-structure-cpp
3fc4690972fa061851f7a46a06797bf441043eda
[ "MIT" ]
null
null
null
algorithms/binary_search_tree.cpp
sylveryte/algorithms-data-structure-cpp
3fc4690972fa061851f7a46a06797bf441043eda
[ "MIT" ]
null
null
null
algorithms/binary_search_tree.cpp
sylveryte/algorithms-data-structure-cpp
3fc4690972fa061851f7a46a06797bf441043eda
[ "MIT" ]
null
null
null
/* * binary_search_tree.cpp * Copyright (C) 2020 sylveryte <sylveryte@archred> * * Distributed under terms of the MIT license. */ #include "binary_search_tree.h" #include "../sylvtools.cpp" int main(){ binary_search_tree b(21); b.insert(21); b.insert(1); b.insert(23); b.insert(233); b.insert(4); b.print_...
25.84466
89
0.635988
sylveryte
eb33b183ed90e4998b9537607d6f85c34383b990
10,369
cpp
C++
Asteroid.cpp
timaeudg/3DAsteroids
d6d3047ee4375ce2ac54081ed0311bd73023b458
[ "BSD-2-Clause" ]
1
2015-05-04T07:04:04.000Z
2015-05-04T07:04:04.000Z
Asteroid.cpp
timaeudg/3DAsteroids
d6d3047ee4375ce2ac54081ed0311bd73023b458
[ "BSD-2-Clause" ]
null
null
null
Asteroid.cpp
timaeudg/3DAsteroids
d6d3047ee4375ce2ac54081ed0311bd73023b458
[ "BSD-2-Clause" ]
null
null
null
#include "Asteroid.h" #define REFINEMENT_LEVEL 2 #define BASE_RADIUS 1.9021f #define MAX_VELOCITY 0.05 #define MAX_ROTATION 5.0 float Asteroid::nextID = 1.0; Asteroid::Asteroid(){ Asteroid(glm::vec3(0), 0, 1.9021); } Asteroid::Asteroid(glm::vec3 startingPosition, int elementOffset, GLfloat radius) { this->radius =...
34.448505
153
0.710001
timaeudg
eb346af7783658da8c00b7985a993aa1b8fb67b2
13,440
cc
C++
puzzle/dance.cc
ririripley/recipes
04267c68a7424326b4aa8dd14b1a879b59ab887c
[ "BSD-3-Clause" ]
1,418
2015-01-07T09:40:09.000Z
2022-03-29T08:37:02.000Z
puzzle/dance.cc
algoideas/recipes
77bc5cb180e49edb31983938386ef23f752e2d2f
[ "BSD-3-Clause" ]
44
2018-12-14T02:35:47.000Z
2021-02-06T09:12:10.000Z
KM/03code/cpp/chenshuo/recipes/puzzle/dance.cc
wangcy6/weekly
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
854
2015-01-03T11:56:10.000Z
2022-03-31T08:50:28.000Z
#include <assert.h> #include <memory.h> #include <stdio.h> #include <algorithm> #include <vector> #include <string> using namespace std; struct Node; typedef Node Column; struct Node { Node* left; Node* right; Node* up; Node* down; Column* col; int col_idx; const char* name; int size; ...
37.229917
93
0.210491
ririripley
eb35b6ab1b405a6864b888ba7b72b6525eadf4f9
1,411
cpp
C++
Assigment 13/a13_p7.cpp
UrfanAlvany/Programming-in-C-and-Cpp
e23a485d5ce302cbbc14bd67a0f656797c3f6af1
[ "MIT" ]
1
2022-01-02T16:02:09.000Z
2022-01-02T16:02:09.000Z
Assigment 13/a13_p7.cpp
UrfanAlvany/Programming-in-C-and-Cpp
e23a485d5ce302cbbc14bd67a0f656797c3f6af1
[ "MIT" ]
null
null
null
Assigment 13/a13_p7.cpp
UrfanAlvany/Programming-in-C-and-Cpp
e23a485d5ce302cbbc14bd67a0f656797c3f6af1
[ "MIT" ]
null
null
null
#include <iostream> #include <stdexcept> #include <string> using namespace std; class OwnException: public exception{ //class derived from exception private: string a; //declaring string public: OwnException(){ a = "Default case exception"; //when default thsi is printed } OwnException(const...
20.75
68
0.554926
UrfanAlvany
eb36232e45bd0e485e485524f1039cc48db55613
6,137
cpp
C++
samples/tools/save_pose_into_pcd.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
17
2015-11-16T14:21:10.000Z
2020-11-09T02:57:33.000Z
samples/tools/save_pose_into_pcd.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
35
2015-07-27T15:04:43.000Z
2019-08-22T10:52:35.000Z
samples/tools/save_pose_into_pcd.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
18
2015-08-06T09:26:27.000Z
2020-09-03T01:31:00.000Z
/* * adds pose information given by pose_000x.txt into cloud_000x.pcd files (old dataset structure) * now we can use pcl_viewer *.pcd to show all point clouds in common coordinate system * * Created on: Dec 04, 2014 * Author: Thomas Faeulhammer * */ #include <v4r/io/filesystem.h> #include <v4r/io/eigen.h>...
42.618056
174
0.575363
ToMadoRe
eb3657cc9e281efeb7c55ddaac0e7294e6f34004
1,704
cpp
C++
src/PostProcessing/PostProcessing.cpp
ArjenSimons/RayTracing
3f2e8084fa61c7d2372b5a87d3f95901e8518524
[ "CC0-1.0" ]
2
2022-02-08T13:48:02.000Z
2022-02-08T13:48:05.000Z
src/PostProcessing/PostProcessing.cpp
ArjenSimons/RayTracing
3f2e8084fa61c7d2372b5a87d3f95901e8518524
[ "CC0-1.0" ]
null
null
null
src/PostProcessing/PostProcessing.cpp
ArjenSimons/RayTracing
3f2e8084fa61c7d2372b5a87d3f95901e8518524
[ "CC0-1.0" ]
1
2021-12-08T15:01:17.000Z
2021-12-08T15:01:17.000Z
#include "precomp.h" //TODO: Compute post processing effects on GPU void PostProcessing::Vignette(Color renderBuffer[SCRWIDTH][SCRHEIGHT], float2 uv[SCRWIDTH][SCRHEIGHT], float outerRadius, float smoothness, float intensity) { outerRadius = clamp(outerRadius, 0.0f, 1.0f); intensity = clamp(intensity, 0.0f, 1.0f); s...
32.150943
156
0.670775
ArjenSimons
eb370ea2aa213075b3b322b97a07bcc4b68d72a4
1,321
cpp
C++
src/cli/cmd/init.cpp
Jellonator/repaintbrush
742e5e4e004e11df1c0944a4df84c85408d08656
[ "MIT" ]
null
null
null
src/cli/cmd/init.cpp
Jellonator/repaintbrush
742e5e4e004e11df1c0944a4df84c85408d08656
[ "MIT" ]
null
null
null
src/cli/cmd/init.cpp
Jellonator/repaintbrush
742e5e4e004e11df1c0944a4df84c85408d08656
[ "MIT" ]
null
null
null
#include "init.h" #include <iostream> #include "../../core/project.h" namespace cli { const char* command_init_string = R"(Usage: repaintbrush init [-f] <directory> Create a new Repaintbrush project. Options: -f, --force Force the creation of a project)"; void command_init_func(ArgChain& args) ...
30.72093
76
0.57835
Jellonator
eb3a51106d19fbb4e22e1fbee95fce7ecda57c18
3,455
cc
C++
libgearman-server/plugins/queue/sqlite/queue.cc
jacklicn/gearmand
d867db9d35dc33e0b63a648f1623d6af649430db
[ "BSD-3-Clause" ]
5
2017-01-09T03:44:38.000Z
2021-10-04T07:18:04.000Z
libgearman-server/plugins/queue/sqlite/queue.cc
jacklicn/gearmand
d867db9d35dc33e0b63a648f1623d6af649430db
[ "BSD-3-Clause" ]
null
null
null
libgearman-server/plugins/queue/sqlite/queue.cc
jacklicn/gearmand
d867db9d35dc33e0b63a648f1623d6af649430db
[ "BSD-3-Clause" ]
12
2017-04-26T20:14:01.000Z
2019-06-18T14:45:06.000Z
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Gearmand client and server library. * * Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/ * Copyright (C) 2009 Cory Bennett * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modific...
29.033613
139
0.737482
jacklicn
eb3b6de90ed6b440dbd8facf8c75fb118ec889b3
2,623
cpp
C++
PSME/common/agent-framework/src/module/model/endpoint.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
5
2021-10-07T15:36:37.000Z
2022-03-01T07:21:49.000Z
PSME/common/agent-framework/src/module/model/endpoint.cpp
opencomputeproject/DM-Redfish-PSME
912f7b6abf5b5c2aae33c75497de4753281c6a51
[ "Apache-2.0" ]
null
null
null
PSME/common/agent-framework/src/module/model/endpoint.cpp
opencomputeproject/DM-Redfish-PSME
912f7b6abf5b5c2aae33c75497de4753281c6a51
[ "Apache-2.0" ]
1
2021-03-24T19:37:58.000Z
2021-03-24T19:37:58.000Z
/*! * @section LICENSE * * @copyright * Copyright (c) 2015-2017 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apach...
34.973333
88
0.722836
opencomputeproject
eb3bc91aae54f8d6ea6c8eb6fbdefb56437e235f
773
cpp
C++
HackerEarth_problems/Best Index/solution.cpp
gbrls/CompetitiveCode
b6f1b817a655635c3c843d40bd05793406fea9c6
[ "MIT" ]
165
2020-10-03T08:01:11.000Z
2022-03-31T02:42:08.000Z
HackerEarth_problems/Best Index/solution.cpp
gbrls/CompetitiveCode
b6f1b817a655635c3c843d40bd05793406fea9c6
[ "MIT" ]
383
2020-10-03T07:39:11.000Z
2021-11-20T07:06:35.000Z
HackerEarth_problems/Best Index/solution.cpp
gbrls/CompetitiveCode
b6f1b817a655635c3c843d40bd05793406fea9c6
[ "MIT" ]
380
2020-10-03T08:05:04.000Z
2022-03-19T06:56:59.000Z
//correct solution #include <iostream> #include <cmath> #include <algorithm> using namespace std; int main() { int n, nt; long s = 0, m; cin >> n; int *a = new int[n];// dynamic array allocation long *b = new long[n]; for (int i = 0; i < n; i++) cin >> a[i]; b[0] = a[0]; for (int i = 1; i < n; i++) b...
21.472222
85
0.52652
gbrls
eb3e3b028285fd8cf10cacbe7b65ee374e3951b2
2,605
cpp
C++
test/module/irohad/main/server_runner_test.cpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
test/module/irohad/main/server_runner_test.cpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
test/module/irohad/main/server_runner_test.cpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. 2018 All Rights Reserved. * http://soramitsu.co.jp * * 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/LICENS...
37.214286
78
0.727063
coderintherye
eb42761e063736a3933ea66ea966496641e9e621
4,847
cpp
C++
openwrt/package/utils/adbd/src/adb/adb_trace.cpp
yodaos-project/yodaos
d0d7bbc277c0fc1c64e2e0a1c82fe6e63f6eb954
[ "Apache-2.0" ]
1,144
2018-12-18T09:46:47.000Z
2022-03-07T14:51:46.000Z
openwrt/package/utils/adbd/src/adb/adb_trace.cpp
Rokid/YodaOS
d0d7bbc277c0fc1c64e2e0a1c82fe6e63f6eb954
[ "Apache-2.0" ]
16
2019-01-28T06:08:40.000Z
2019-12-04T10:26:41.000Z
openwrt/package/utils/adbd/src/adb/adb_trace.cpp
Rokid/YodaOS
d0d7bbc277c0fc1c64e2e0a1c82fe6e63f6eb954
[ "Apache-2.0" ]
129
2018-12-18T09:46:50.000Z
2022-03-30T07:30:13.000Z
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
27.697143
81
0.626779
yodaos-project
eb445c2d12a3a6ef046a8123286c6f628b50caa7
2,402
cpp
C++
src/atlas/hlr/load_library.cpp
marovira/atlas
ccc9ec2449a9392e41a25a6c638302b940f5e5da
[ "MIT" ]
10
2016-11-30T08:44:55.000Z
2022-02-05T16:47:05.000Z
src/atlas/hlr/load_library.cpp
marovira/atlas
ccc9ec2449a9392e41a25a6c638302b940f5e5da
[ "MIT" ]
12
2016-01-13T20:31:11.000Z
2020-03-27T19:14:03.000Z
src/atlas/hlr/load_library.cpp
marovira/atlas
ccc9ec2449a9392e41a25a6c638302b940f5e5da
[ "MIT" ]
10
2016-01-07T16:22:36.000Z
2020-01-16T05:58:48.000Z
#include "load_library.hpp" #include <fmt/printf.h> #include <zeus/platform.hpp> #if defined(ZEUS_PLATFORM_WINDOWS) # define WIN32_LEAN_AND_MEAN # include <windows.h> #else # include <dlfcn.h> #endif namespace atlas::hlr { #if defined(ZEUS_PLATFORM_WINDOWS) void* load_library_handle(std::string const& l...
25.827957
79
0.567027
marovira
eb491ccaace163d6b0096159a6c3b39ddb9a7d32
1,936
hxx
C++
ARCHIVE/BRAINSSurfaceTools/BRAINSSurfaceCommon/itkMeshFunction.hxx
pnlbwh/BRAINSTools
a2fe63ab5b795f03da140a4081d1fef6314dab95
[ "Apache-2.0" ]
null
null
null
ARCHIVE/BRAINSSurfaceTools/BRAINSSurfaceCommon/itkMeshFunction.hxx
pnlbwh/BRAINSTools
a2fe63ab5b795f03da140a4081d1fef6314dab95
[ "Apache-2.0" ]
null
null
null
ARCHIVE/BRAINSSurfaceTools/BRAINSSurfaceCommon/itkMeshFunction.hxx
pnlbwh/BRAINSTools
a2fe63ab5b795f03da140a4081d1fef6314dab95
[ "Apache-2.0" ]
1
2022-02-08T05:39:46.000Z
2022-02-08T05:39:46.000Z
/*========================================================================= * * Copyright SINAPSE: Scalable Informatics for Neuroscience, Processing and Software Engineering * The University of Iowa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file excep...
26.162162
97
0.667355
pnlbwh
eb4f27761aa97882b7e6444807a5bcd961b16082
2,710
cpp
C++
doc/snippets/MagnumMathAlgorithms.cpp
sjvs/mosra-magnum-copy
1f3d6fccbdfc8c30ed8cbd1453d51c0484efeb85
[ "MIT" ]
1
2019-11-24T11:34:13.000Z
2019-11-24T11:34:13.000Z
doc/snippets/MagnumMathAlgorithms.cpp
sjvs/mosra-magnum-copy
1f3d6fccbdfc8c30ed8cbd1453d51c0484efeb85
[ "MIT" ]
null
null
null
doc/snippets/MagnumMathAlgorithms.cpp
sjvs/mosra-magnum-copy
1f3d6fccbdfc8c30ed8cbd1453d51c0484efeb85
[ "MIT" ]
2
2019-11-24T11:34:17.000Z
2020-10-13T06:15:59.000Z
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to d...
31.511628
78
0.702214
sjvs
eb50c5441889033f7de46f03dff5463bce5ed22b
1,783
cpp
C++
input.cpp
darkoppressor/opengl-pong
20bd2bcd7e8097c06bd734bdff52cbcb9b02e99b
[ "CC-BY-4.0" ]
null
null
null
input.cpp
darkoppressor/opengl-pong
20bd2bcd7e8097c06bd734bdff52cbcb9b02e99b
[ "CC-BY-4.0" ]
null
null
null
input.cpp
darkoppressor/opengl-pong
20bd2bcd7e8097c06bd734bdff52cbcb9b02e99b
[ "CC-BY-4.0" ]
null
null
null
/* Copyright (c) 2011 Kevin Wells */ /* OpenGL Pong may be freely redistributed. See license for details. */ #include "input.h" #include "variables.h" #include "quit.h" #include "sdl.h" #include "screen_draw.h" using namespace std; void input_game(){ while(SDL_PollEvent(&event)){ switch(event.type){ ...
25.471429
72
0.546831
darkoppressor
eb53ef71a732559eb4276b24987d810708931040
30
cpp
C++
Refureku/Library/Tests/AB.cpp
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
143
2020-04-07T21:38:21.000Z
2022-03-30T01:06:33.000Z
Refureku/Library/Tests/AB.cpp
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
7
2021-03-30T07:26:21.000Z
2022-03-28T16:31:02.000Z
Refureku/Library/Tests/AB.cpp
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
11
2020-06-06T09:45:12.000Z
2022-01-25T17:17:55.000Z
#include "Generated/AB.rfks.h"
30
30
0.766667
jsoysouvanh
eb55db2d10860204a0d7d4edebae5c61db156dd7
3,252
hpp
C++
distribution_survival/boost/statistics/detail/distribution/survival/models/common/importance_sampling/proposals_manager.hpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
distribution_survival/boost/statistics/detail/distribution/survival/models/common/importance_sampling/proposals_manager.hpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
distribution_survival/boost/statistics/detail/distribution/survival/models/common/importance_sampling/proposals_manager.hpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////// // distribution::survival::models::common::importance_sampling::proposals_manager.hpp // // // // Copyright 2009 Erwann Rogard. Distributed under the...
35.347826
110
0.621464
rogard
eb55e082fd5281ba7b6dd6b8807f138828dd1685
8,236
cpp
C++
main.cpp
MinghuaShen/HLS
f53220ef475f15c2d11902d6f392b9cb783fd5b0
[ "MIT" ]
4
2020-03-14T05:11:57.000Z
2021-03-23T15:02:37.000Z
main.cpp
MinghuaShen/HLS
f53220ef475f15c2d11902d6f392b9cb783fd5b0
[ "MIT" ]
null
null
null
main.cpp
MinghuaShen/HLS
f53220ef475f15c2d11902d6f392b9cb783fd5b0
[ "MIT" ]
2
2018-07-26T15:52:39.000Z
2021-02-21T10:42:47.000Z
// Copyright (c) 2018 Hongzheng Chen // E-mail: chenhzh37@mail2.sysu.edu.cn // This is the implementation of Entropy-directed scheduling (EDS) algorithm for FPGA high-level synthesis. // This file is the main function of EDS. #include <iostream> #include <fstream> #include <string> #include <cstdlib> #include <chron...
28.013605
107
0.535697
MinghuaShen
eb55e8996c74598ea4e0bc198ce452ad1f246fe9
68,386
cpp
C++
DicomWebStorge/Orthanc-1.7.4/OrthancFramework/Sources/DicomParsing/DicomModification.cpp
a2609194449/Assistant-decision-making-system-for-gallbladder-cancer-
75a9d3432cb510ea94fa09cc9b440e8b8e7f0a84
[ "MIT" ]
null
null
null
DicomWebStorge/Orthanc-1.7.4/OrthancFramework/Sources/DicomParsing/DicomModification.cpp
a2609194449/Assistant-decision-making-system-for-gallbladder-cancer-
75a9d3432cb510ea94fa09cc9b440e8b8e7f0a84
[ "MIT" ]
null
null
null
DicomWebStorge/Orthanc-1.7.4/OrthancFramework/Sources/DicomParsing/DicomModification.cpp
a2609194449/Assistant-decision-making-system-for-gallbladder-cancer-
75a9d3432cb510ea94fa09cc9b440e8b8e7f0a84
[ "MIT" ]
null
null
null
/** * Orthanc - A Lightweight, RESTful DICOM Store * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics * Department, University Hospital of Liege, Belgium * Copyright (C) 2017-2020 Osimis S.A., Belgium * * This program is free software: you can redistribute it and/or * modify it under the terms of the G...
45.228836
139
0.624514
a2609194449
eb56133760a6445cd88612e1a1f6e2143fa054ad
2,073
cc
C++
rdc_libs/bootstrap/src/RdcLibraryLoader.cc
RadeonOpenCompute/rdc
bb11a0abf5bea0ca8ad3d17bd687379c45149ed9
[ "MIT" ]
2
2020-09-10T02:04:00.000Z
2020-12-03T10:55:38.000Z
rdc_libs/bootstrap/src/RdcLibraryLoader.cc
RadeonOpenCompute/rdc
bb11a0abf5bea0ca8ad3d17bd687379c45149ed9
[ "MIT" ]
2
2022-03-29T00:32:43.000Z
2022-03-31T18:09:36.000Z
rdc_libs/bootstrap/src/RdcLibraryLoader.cc
RadeonOpenCompute/rdc
bb11a0abf5bea0ca8ad3d17bd687379c45149ed9
[ "MIT" ]
2
2020-09-15T08:05:43.000Z
2021-09-02T03:06:41.000Z
/* Copyright (c) 2020 - present Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to us...
31.892308
78
0.71973
RadeonOpenCompute
eb5848561ecb03ba188cf8cd012b602444ff4f2c
3,898
hpp
C++
include/gtirb/Offset.hpp
clayne/gtirb
df9bf69537c36136d40fbff98588df37b8c5875f
[ "MIT" ]
230
2018-10-14T11:07:14.000Z
2022-03-31T21:25:43.000Z
include/gtirb/Offset.hpp
clayne/gtirb
df9bf69537c36136d40fbff98588df37b8c5875f
[ "MIT" ]
33
2018-10-25T15:48:48.000Z
2022-03-25T03:10:13.000Z
include/gtirb/Offset.hpp
clayne/gtirb
df9bf69537c36136d40fbff98588df37b8c5875f
[ "MIT" ]
33
2018-10-14T11:07:17.000Z
2022-03-31T16:12:00.000Z
//===- Offset.hpp ------------------------------------------------*- C++-*-===// // // Copyright (C) 2020 GrammaTech, Inc. // // This code is licensed under the MIT license. See the LICENSE file in the // project root for license terms. // // This project is sponsored by the Office of Naval Research, One Liberty //...
30.936508
80
0.641868
clayne
eb5a12a9b180d70b6a2446aa6be5f2a2d0c2431f
845
cxx
C++
panda/src/egg/eggMorphList.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/egg/eggMorphList.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/egg/eggMorphList.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file eggMorphList.cxx * @au...
24.142857
70
0.771598
sean5470
eb5aea67a93b7475845e8cbfad9baac236ded1f1
1,562
cpp
C++
codeforces/gym/2018 ICPC Asia Jakarta Regional Contest/g.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/gym/2018 ICPC Asia Jakarta Regional Contest/g.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/gym/2018 ICPC Asia Jakarta Regional Contest/g.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> bool check(int n, int m, vector<list<int> > iadj, vvb mat, vi dg, int k){ queue<ii> q; set<int> inq; for(int u=0; u<n; ++u){ for(int v=0; v<n; ++v){ } } while(!q.empty()){ int u = q.front(); q.pop(); inq.erase(u); for(...
19.525
73
0.330346
tysm
eb5ccf25184469d5927b99c6a64abd10df574cb7
1,032
cpp
C++
CodeChef/Easy/ROWCOLOP.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
29
2016-09-02T04:48:59.000Z
2016-09-08T18:13:05.000Z
CodeChef/Easy/ROWCOLOP.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
2
2016-09-02T05:20:02.000Z
2016-10-13T06:31:31.000Z
CodeChef/Easy/ROWCOLOP.cpp
ritwik1503/Competitive-Coding-1
ffefe5f8b299c623af1ef01bf024af339401de0b
[ "MIT" ]
7
2017-04-01T20:07:03.000Z
2020-10-16T12:28:54.000Z
#include "bits/stdc++.h" using namespace std; # define s(n) scanf("%d",&n) # define sc(n) scanf("%c",&n) # define sl(n) scanf("%lld",&n) # define sf(n) scanf("%lf",&n) # define ss(n) scanf("%s",n) #define R(...
19.846154
53
0.43314
ritwik1503
eb5d1fc687dd9ef164a10ff6717e6a05624e6fbb
115
cpp
C++
src/main/cpp/MathHelper.cpp
frcteam4458/2022-Command
131634be15ab6da2eed68c5b41dd87b3ee2ffe0a
[ "BSD-3-Clause" ]
1
2022-03-17T02:46:36.000Z
2022-03-17T02:46:36.000Z
src/main/cpp/MathHelper.cpp
frcteam4458/2022-Command
131634be15ab6da2eed68c5b41dd87b3ee2ffe0a
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/MathHelper.cpp
frcteam4458/2022-Command
131634be15ab6da2eed68c5b41dd87b3ee2ffe0a
[ "BSD-3-Clause" ]
null
null
null
#include <math.h> #include "MathHelper.h" double pythagorean(float a, float b) { return sqrt(a * a + b * b); }
16.428571
36
0.634783
frcteam4458
eb5e2fa8e5910376215e39bacf5aa4365e3f96b7
1,357
cpp
C++
ProjectEuler/ProjectEuler#12.cpp
ChameleonTartu/competitive_programming
f8658ba99e7d188c99692d03d52fe9652092ffc6
[ "Apache-2.0" ]
1
2016-08-19T12:14:07.000Z
2016-08-19T12:14:07.000Z
ProjectEuler/ProjectEuler#12.cpp
ChameleonTartu/competitive_programming
f8658ba99e7d188c99692d03d52fe9652092ffc6
[ "Apache-2.0" ]
null
null
null
ProjectEuler/ProjectEuler#12.cpp
ChameleonTartu/competitive_programming
f8658ba99e7d188c99692d03d52fe9652092ffc6
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <cstdio> using namespace std; const int MAX = 1001; int numberOfDivisors(int number) { int divisors = 2; for(int i = 2; i*i <= number; ++i) { if(number % i == 0) divisors += 2; if(i*i == number) --divisors; } return divisors; } int calculat...
23.807018
59
0.590273
ChameleonTartu
eb5f44879505186b144365e2bb621f38eae0cb2a
610
cpp
C++
test/test_uintwide_t_n_base.cpp
johnmcfarlane/wide-integer
731d4aca71ba3e668a9d069765bf221f74ae52f1
[ "BSL-1.0" ]
null
null
null
test/test_uintwide_t_n_base.cpp
johnmcfarlane/wide-integer
731d4aca71ba3e668a9d069765bf221f74ae52f1
[ "BSL-1.0" ]
1
2021-05-05T10:44:39.000Z
2021-05-09T20:30:03.000Z
test/test_uintwide_t_n_base.cpp
johnmcfarlane/wide-integer
731d4aca71ba3e668a9d069765bf221f74ae52f1
[ "BSL-1.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Copyright Christopher Kormanyos 2021. // 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) // #include <test/test_uintwide_t_n_ba...
38.125
130
0.665574
johnmcfarlane
eb6014a0629df68f0ee6dd3a1ef947149d4785e5
5,102
cpp
C++
third-party/llvm/llvm-src/tools/clang/lib/StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
third-party/llvm/llvm-src/tools/clang/lib/StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
11,789
2015-01-05T04:50:15.000Z
2022-03-31T23:39:19.000Z
third-party/llvm/llvm-src/tools/clang/lib/StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===--- CheckerRegistration.cpp - Registration for the Analyzer Checkers -===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
43.982759
80
0.582321
jhh67
eb64843a7a0245f6a31e67e1ec16bfee4c59d291
3,287
cpp
C++
firmware/examples/FreeRTOS_Blinker/source/main.cpp
2721Aperez/SJSU-Dev2
87052080d2754803dbd1dae2864bd9024d123086
[ "Apache-2.0" ]
1
2018-07-07T01:41:34.000Z
2018-07-07T01:41:34.000Z
firmware/examples/FreeRTOS_Blinker/source/main.cpp
2721Aperez/SJSU-Dev2
87052080d2754803dbd1dae2864bd9024d123086
[ "Apache-2.0" ]
null
null
null
firmware/examples/FreeRTOS_Blinker/source/main.cpp
2721Aperez/SJSU-Dev2
87052080d2754803dbd1dae2864bd9024d123086
[ "Apache-2.0" ]
1
2018-09-19T01:58:48.000Z
2018-09-19T01:58:48.000Z
#include <cstdint> #include <cstdio> #include "FreeRTOS.h" #include "task.h" #include "config.hpp" #include "L0_LowLevel/LPC40xx.h" #include "L2_Utilities/debug_print.hpp" #include "L2_Utilities/macros.hpp" #include "L2_Utilities/rtos.hpp" namespace { void LedToggle(void * parameters) { DEBUG_PRINT("Setting up ...
30.719626
79
0.604807
2721Aperez
eb64e5a936ee318daa6eff01efa950a25765212a
4,736
hpp
C++
mars/boost/range/algorithm/swap_ranges.hpp
jonetomtom/mars
3f11714e0aee826eb12bfd52496b59675125204a
[ "BSD-2-Clause", "Apache-2.0" ]
17,104
2016-12-28T07:45:54.000Z
2022-03-31T07:02:52.000Z
mars/boost/range/algorithm/swap_ranges.hpp
jonetomtom/mars
3f11714e0aee826eb12bfd52496b59675125204a
[ "BSD-2-Clause", "Apache-2.0" ]
964
2016-12-28T08:13:33.000Z
2022-03-31T13:36:40.000Z
mars/boost/range/algorithm/swap_ranges.hpp
pengjinning/mars
227aff64a5b819555091a7d6eae6727701e9fff0
[ "Apache-2.0", "BSD-2-Clause" ]
3,568
2016-12-28T07:47:46.000Z
2022-03-31T02:13:19.000Z
// Copyright Neil Groves 2009. Use, modification and // distribution is subject to 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) // // // For more information, see http://www.boost.org/libs/range/ // #ifndef BOOST_RANGE_ALGORIT...
35.609023
81
0.699535
jonetomtom
eb69835c7702dde170dbc1a2588237ffc0688b75
10,953
cc
C++
core/src/CommonClient.cc
zzboy/aliyun-kms-cpp-sdk
95ff35e92212e9bc1331fc6760606aa08c93cb94
[ "Apache-2.0" ]
null
null
null
core/src/CommonClient.cc
zzboy/aliyun-kms-cpp-sdk
95ff35e92212e9bc1331fc6760606aa08c93cb94
[ "Apache-2.0" ]
null
null
null
core/src/CommonClient.cc
zzboy/aliyun-kms-cpp-sdk
95ff35e92212e9bc1331fc6760606aa08c93cb94
[ "Apache-2.0" ]
1
2019-10-14T10:37:47.000Z
2019-10-14T10:37:47.000Z
/* * Copyright 1999-2019 Alibaba Cloud 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 applicab...
32.598214
154
0.626221
zzboy
eb6ab78ef53d83c85753654fdcc9cb12b388a22b
1,844
hpp
C++
source/NanairoCore/Data/ray-inl.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
30
2015-09-06T03:14:29.000Z
2021-06-18T11:00:19.000Z
source/NanairoCore/Data/ray-inl.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
31
2016-01-14T14:50:34.000Z
2018-06-25T13:21:48.000Z
source/NanairoCore/Data/ray-inl.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
6
2017-04-09T13:07:47.000Z
2021-05-29T21:17:34.000Z
/*! \file ray-inl.hpp \author Sho Ikeda Copyright (c) 2015-2018 Sho Ikeda This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #ifndef NANAIRO_RAY_INL_HPP #define NANAIRO_RAY_INL_HPP #include "ray.hpp" // Standard C++ library #include <array> #include <limits...
14.076336
73
0.68167
byzin
eb6b45a66e05e793d0a5237a7a579b1d176ce255
181,258
cpp
C++
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/core/CSSGrammar.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/core/CSSGrammar.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/core/CSSGrammar.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
/* A Bison parser, made by GNU Bison 2.5. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publi...
34.303179
207
0.496155
jingcao80
eb6bd3304473cf8f613568de2e21de57eb3ddedd
8,122
cpp
C++
src/platform/osx/main_carbon_old.cpp
guitarpukpui/OpenLara
4b73fad5664eadfe8c27f4d32e656f55aeddd177
[ "BSD-2-Clause" ]
3,999
2016-09-07T15:36:25.000Z
2022-03-31T14:54:44.000Z
src/platform/osx/main_carbon_old.cpp
guitarpukpui/OpenLara
4b73fad5664eadfe8c27f4d32e656f55aeddd177
[ "BSD-2-Clause" ]
333
2016-08-23T10:03:40.000Z
2022-03-31T13:25:19.000Z
src/platform/osx/main_carbon_old.cpp
guitarpukpui/OpenLara
4b73fad5664eadfe8c27f4d32e656f55aeddd177
[ "BSD-2-Clause" ]
403
2016-10-31T15:11:02.000Z
2022-03-31T15:03:52.000Z
#include "game.h" bool isQuit = false; WindowRef window; AGLContext context; #define SND_SIZE 8192 static AudioQueueRef audioQueue; void soundFill(void* inUserData, AudioQueueRef inAQ, AudioQueueBufferRef inBuffer) { void* frames = inBuffer->mAudioData; UInt32 count = inBuffer->mAudioDataBytesCapacity / 4; ...
34.270042
203
0.575967
guitarpukpui
eb71541b97afe7d8bded1d4c273baa49503822ee
22,796
cpp
C++
mllib/LogisticRegression.cpp
Christina-hshi/Boosting-with-Husky
1744f0c90567a969d3e50d19f27f358f5865d2f6
[ "Apache-2.0" ]
1
2019-01-23T02:10:10.000Z
2019-01-23T02:10:10.000Z
mllib/LogisticRegression.cpp
Christina-hshi/Boosting-with-Husky
1744f0c90567a969d3e50d19f27f358f5865d2f6
[ "Apache-2.0" ]
null
null
null
mllib/LogisticRegression.cpp
Christina-hshi/Boosting-with-Husky
1744f0c90567a969d3e50d19f27f358f5865d2f6
[ "Apache-2.0" ]
null
null
null
/* Edit by Christina */ #include "LogisticRegression.hpp" namespace husky{ namespace mllib{ /* train a logistic regression model with even weighted instances. */ void LogisticRegression::fit(const Instances& instances){ if(this->mode == MODE::GLOBAL){ ...
41.372051
217
0.469995
Christina-hshi
eb71b86555363e03ff019f9cb0f704a08eee1358
993
cpp
C++
binarysearch.io/easy/Pattern-to-Word-Bijection.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
binarysearch.io/easy/Pattern-to-Word-Bijection.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
binarysearch.io/easy/Pattern-to-Word-Bijection.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Pattern to Word Bijection https://binarysearch.com/problems/Pattern-to-Word-Bijection Given two strings s and p, return whether s follows the pattern in p. That is, return whether each character in p can map to a non-empty word such that it maps to s. Constraints n ≤ 100,000 where n is the length of s Example 1 I...
21.586957
165
0.548842
wingkwong
eb72e694c102b2bb60e3fe5302265c496d152d95
1,023
cpp
C++
coj.uci.cu/TobyandStrangeFunction.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
6
2016-09-10T03:16:34.000Z
2020-04-07T14:45:32.000Z
coj.uci.cu/TobyandStrangeFunction.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
null
null
null
coj.uci.cu/TobyandStrangeFunction.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://coj.uci.cu/contest/cproblem.xhtml?pid=3285&cid=1453 Name: Toby and Strange Function Date: 05/06/2015 */ #include <bits/stdc++.h> #define time alkjdhasjldh3289rhau9dty #define EPS 1e-9 #define DEBUG(x) cerr << "#" << (#x) << ": " << (x) << endl const double P...
23.790698
130
0.601173
facug91
eb72f6cf6bc90672f7810f4002e36f7f24fc13fa
4,221
cpp
C++
src/Annoyme.cpp
dedeibel/annoyme
d1483f6ef2dd7bfd851f67a12154eaae08ab7a14
[ "BSD-3-Clause" ]
1
2016-05-08T14:05:15.000Z
2016-05-08T14:05:15.000Z
src/Annoyme.cpp
dedeibel/annoyme
d1483f6ef2dd7bfd851f67a12154eaae08ab7a14
[ "BSD-3-Clause" ]
null
null
null
src/Annoyme.cpp
dedeibel/annoyme
d1483f6ef2dd7bfd851f67a12154eaae08ab7a14
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2009, Benjamin Peter <BenjaminPeter@arcor.de> * 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 must retain the above copyright * ...
32.976563
80
0.712627
dedeibel
eb73ab3a66218537f23186db3af24c050776d106
8,738
cpp
C++
cpp/OS/std/lang/String.cpp
mailmindlin/MMOS
a2e6c0afafe2c13f864c5620ea2a2707ab676767
[ "MIT" ]
null
null
null
cpp/OS/std/lang/String.cpp
mailmindlin/MMOS
a2e6c0afafe2c13f864c5620ea2a2707ab676767
[ "MIT" ]
null
null
null
cpp/OS/std/lang/String.cpp
mailmindlin/MMOS
a2e6c0afafe2c13f864c5620ea2a2707ab676767
[ "MIT" ]
null
null
null
/* * String.cpp * * Created on: Feb 19, 2015 * Author: mailmindlin */ #include "String.h" #include "../algorithm.h" #include "../limits.h" #include "../memory.h" #include "../Math.h" #include "../strlen.h" #include "Double.h" #include "Integer.h" #include "Long.h" String::String(const String& str) : siz...
23.177719
103
0.63859
mailmindlin
eb765ec6e408bf6b2d058d5fc59b6849a5233b36
4,254
hpp
C++
hostsvc/Connection.hpp
lishunan246/b
82023dee34b023dfbc3dd2f0381fdbd7e266604e
[ "BSD-2-Clause" ]
null
null
null
hostsvc/Connection.hpp
lishunan246/b
82023dee34b023dfbc3dd2f0381fdbd7e266604e
[ "BSD-2-Clause" ]
null
null
null
hostsvc/Connection.hpp
lishunan246/b
82023dee34b023dfbc3dd2f0381fdbd7e266604e
[ "BSD-2-Clause" ]
null
null
null
// // Created by lishunan on 4/19/16. // #ifndef HOSTSVC_RPCCHANNEL_H #define HOSTSVC_RPCCHANNEL_H #include "HostSvcCommon.hpp" #include <unordered_map> using namespace google::protobuf; namespace GkcHostSvc { using messageHandler = function<void(RPCResponse)>; class Connection : public protobuf::RpcChannel { ...
24.448276
106
0.621533
lishunan246
eb781c081e36e72e1b02bb2962d3472c404f4ecd
20,939
cxx
C++
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimController_ZoneControlTemperature_ThermostatThermalComfort.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimController_ZoneControlTemperature_ThermostatThermalComfort.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimController_ZoneControlTemperature_ThermostatThermalComfort.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
42.046185
195
0.723865
EnEff-BIM
eb781e552af0f6852b5b20040b828cf0b784c6d1
565
cpp
C++
Reverse a Linked List in groups of given size.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
2
2021-10-01T04:20:04.000Z
2021-10-01T04:20:06.000Z
Reverse a Linked List in groups of given size.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
Reverse a Linked List in groups of given size.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
8
2021-10-01T04:20:38.000Z
2022-03-19T17:05:05.000Z
class Solution { public: int l(struct node* h){ int c; while(h){ h=h->next; ++c; } return c; } struct node *reverse (struct node *head, int k) { if(l(head)<k) return head; struct node *prev=0; struct node *next=...
19.482759
51
0.424779
Subhash3
eb79e846435d4de4af5e754ac5f49b0460911081
2,122
cpp
C++
querier/BaseChunkSeriesSet.cpp
Jimx-/tsdb-fork
f92cfa0a998c03b3a2cb4c8e46990de8b47aae15
[ "Apache-2.0" ]
1
2020-06-04T06:56:40.000Z
2020-06-04T06:56:40.000Z
querier/BaseChunkSeriesSet.cpp
Jimx-/tsdb-fork
f92cfa0a998c03b3a2cb4c8e46990de8b47aae15
[ "Apache-2.0" ]
null
null
null
querier/BaseChunkSeriesSet.cpp
Jimx-/tsdb-fork
f92cfa0a998c03b3a2cb4c8e46990de8b47aae15
[ "Apache-2.0" ]
1
2020-06-04T03:35:58.000Z
2020-06-04T03:35:58.000Z
#include "querier/BaseChunkSeriesSet.hpp" #include "base/Logging.hpp" #include "index/PostingSet.hpp" #include <unordered_set> namespace tsdb { namespace querier { // BaseChunkSeriesSet loads the label set and chunk references for a postings // list from an index. It filters out series that have labels set that shou...
27.921053
80
0.582941
Jimx-
eb7a0116bdd5d901141b9585dff6b9973b0049f5
2,046
cc
C++
absl/base/internal/scoped_set_env.cc
abaskin/abseil-cpp
9e598094c380d79119c752d4a472c0765728ec81
[ "Apache-2.0" ]
null
null
null
absl/base/internal/scoped_set_env.cc
abaskin/abseil-cpp
9e598094c380d79119c752d4a472c0765728ec81
[ "Apache-2.0" ]
1
2020-02-17T08:25:41.000Z
2020-02-18T08:08:59.000Z
absl/base/internal/scoped_set_env.cc
abaskin/abseil-cpp
9e598094c380d79119c752d4a472c0765728ec81
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The Abseil 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
24.95122
78
0.716031
abaskin
eb7a76d2ad6529b513946bc8dbe3ed9c956e0114
703
hpp
C++
apps/src/videostitch-live-gui/src/videostitcher/liveaudioprocessordelay.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
apps/src/videostitch-live-gui/src/videostitcher/liveaudioprocessordelay.hpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
apps/src/videostitch-live-gui/src/videostitcher/liveaudioprocessordelay.hpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #pragma once #include "liveaudioprocessfactory.hpp" class LiveAudioProcessorDelay : public LiveAudioProcessFactory { public: explicit LiveAudioProcessorDelay(const VideoStitch::Ptv::Value* config); ~LiveAudioProcessorDelay() = default; ...
27.038462
89
0.773826
tlalexander
eb7a828f6a03fd1a6be50dea689839ce4e2ac816
915
hpp
C++
cpp/src/vcf/filterDescription.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
8
2018-10-08T15:47:21.000Z
2021-11-09T07:13:05.000Z
cpp/src/vcf/filterDescription.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2018-11-05T09:16:27.000Z
2020-04-09T12:32:56.000Z
cpp/src/vcf/filterDescription.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2019-09-03T15:46:39.000Z
2021-06-04T07:28:33.000Z
// All content Copyright (C) 2018 Genomics plc #ifndef VCF_FILTERDESC_HPP #define VCF_FILTERDESC_HPP #include "common.hpp" #include <iostream> namespace wecall { namespace vcf { struct FilterDesc { /// Basic constructor from constituent data /// /// @param id Filter ID. /// @p...
25.416667
94
0.628415
dylex
eb7d731262e2c5b0ac6a7e3f1d3fd9ff7f408dc8
11,378
cpp
C++
ftaction.cpp
sphinxlogic/shell32
ef38d3338afd575a2d456d737c7bd6a105392d88
[ "MIT" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
shell/shell32/ftaction.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
shell/shell32/ftaction.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "shellprv.h" #include "ids.h" #include "ftadv.h" #include "ftcmmn.h" #include "ftaction.h" #include "ftassoc.h" const static DWORD cs_rgdwHelpIDsArray[] = { // Context Help IDs IDC_FT_CMD_ACTION, IDH_FCAB_FT_CMD_ACTION, IDC_FT_CMD_EXETEXT, IDH_FCAB_FT_CMD_EXE, IDC_FT_C...
32.323864
122
0.604939
sphinxlogic
eb7d97242833f1043f9e24cfe06fc026b99bf264
2,975
cpp
C++
source/Worker.cpp
jacobmcleman/JobBot
1ef82a2f2fbf3321ba3ef4f2a006128bed1388c0
[ "MIT" ]
null
null
null
source/Worker.cpp
jacobmcleman/JobBot
1ef82a2f2fbf3321ba3ef4f2a006128bed1388c0
[ "MIT" ]
null
null
null
source/Worker.cpp
jacobmcleman/JobBot
1ef82a2f2fbf3321ba3ef4f2a006128bed1388c0
[ "MIT" ]
null
null
null
/************************************************************************** Contains implementation for Worker class and its JobQueue subclass, which handle job queues and stealing. Author: Jake McLeman **************************************************************************/ #include <algorithm> #i...
21.557971
78
0.640672
jacobmcleman
eb84c978c897afc0f16982b1ed521bdb0a014a3a
6,080
cpp
C++
sobol-dpct/sobol.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
sobol-dpct/sobol.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
sobol-dpct/sobol.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
/* * Portions Copyright (c) 1993-2015 NVIDIA Corporation. All rights reserved. * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and re...
32
126
0.611184
jchlanda
eb86c4e92996f702e78ea1e988b8fd9beeb7c0e8
15,069
cpp
C++
test/unittests/unittest-latticeupdates.cpp
sjvs/andysim-helpme-copy
f34427c4c3073bb642af8078e80e759ac35e392d
[ "BSD-3-Clause" ]
null
null
null
test/unittests/unittest-latticeupdates.cpp
sjvs/andysim-helpme-copy
f34427c4c3073bb642af8078e80e759ac35e392d
[ "BSD-3-Clause" ]
null
null
null
test/unittests/unittest-latticeupdates.cpp
sjvs/andysim-helpme-copy
f34427c4c3073bb642af8078e80e759ac35e392d
[ "BSD-3-Clause" ]
null
null
null
// BEGINLICENSE // // This file is part of helPME, which is distributed under the BSD 3-clause license, // as described in the LICENSE file in the top level directory of this project. // // Author: Andrew C. Simmonett // // ENDLICENSE #include "catch.hpp" #include "helpme.h" TEST_CASE("check that updates of kappa an...
49.569079
116
0.585308
sjvs
eb88d9cdfe66817f340c9c4668261a9e17b791bb
1,152
cpp
C++
Platinum/2015-16/Open 2016/landscape.cpp
WilliamYue37/USACO
f18b222ff505e2640018288a608dbed6d24ae64a
[ "MIT" ]
null
null
null
Platinum/2015-16/Open 2016/landscape.cpp
WilliamYue37/USACO
f18b222ff505e2640018288a608dbed6d24ae64a
[ "MIT" ]
null
null
null
Platinum/2015-16/Open 2016/landscape.cpp
WilliamYue37/USACO
f18b222ff505e2640018288a608dbed6d24ae64a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ff first #define ss second typedef long long ll; typedef long double ld; typedef pair<int, int> pi; typedef pair<long long, long long> pl; const int MOD = 1e9 + 7; const ll INF = 1e18; const double EPS = 1e-6; int N; ll X, Y, Z; priority_queue...
20.571429
77
0.497396
WilliamYue37
eb8b5c76352ef063473998ece1318d1557ced8ba
4,163
cpp
C++
libraries/pg/source/FocusListLiftingStrategy.cpp
Noxsense/mCRL2
dd2fcdd6eb8b15af2729633041c2dbbd2216ad24
[ "BSL-1.0" ]
61
2018-05-24T13:14:05.000Z
2022-03-29T11:35:03.000Z
libraries/pg/source/FocusListLiftingStrategy.cpp
Noxsense/mCRL2
dd2fcdd6eb8b15af2729633041c2dbbd2216ad24
[ "BSL-1.0" ]
229
2018-05-28T08:31:09.000Z
2022-03-21T11:02:41.000Z
libraries/pg/source/FocusListLiftingStrategy.cpp
Noxsense/mCRL2
dd2fcdd6eb8b15af2729633041c2dbbd2216ad24
[ "BSL-1.0" ]
28
2018-04-11T14:09:39.000Z
2022-02-25T15:57:39.000Z
// Copyright (c) 2009-2013 University of Twente // Copyright (c) 2009-2013 Michael Weber <michaelw@cs.utwente.nl> // Copyright (c) 2009-2013 Maks Verver <maksverver@geocities.com> // Copyright (c) 2009-2013 Eindhoven University of Technology // // Distributed under the Boost Software License, Version 1.0. // (See accom...
30.166667
136
0.617103
Noxsense
eb8bcd0a2f8df7ca38e42fd06ac2acd945613e79
984
cpp
C++
examples/code-samples/cpp/23_AddTags.cpp
MarkusRannare/modio-sdk
70220009ac6c375bebd4b807de1e7f8a19680a41
[ "MIT" ]
42
2017-11-14T19:45:20.000Z
2019-02-03T02:43:24.000Z
examples/code-samples/cpp/23_AddTags.cpp
MarkusRannare/modio-sdk
70220009ac6c375bebd4b807de1e7f8a19680a41
[ "MIT" ]
16
2019-05-09T02:14:02.000Z
2020-09-03T05:35:49.000Z
examples/code-samples/cpp/23_AddTags.cpp
MarkusRannare/modio-sdk
70220009ac6c375bebd4b807de1e7f8a19680a41
[ "MIT" ]
15
2019-07-15T04:26:01.000Z
2020-09-12T03:58:19.000Z
#include "modio.h" #include <iostream> int main(void) { modio::Instance modio_instance(MODIO_ENVIRONMENT_TEST, 7, "e91c01b8882f4affeddd56c96111977b"); volatile static bool finished = false; auto wait = [&]() { while (!finished) { modio_instance.sleep(10); modio_instance.process(); } }...
21.866667
115
0.619919
MarkusRannare
eb8cae61d7a8bba7c7cbd243a287ad68f817f9b9
5,983
cc
C++
src/samples/sample.cc
wjp-release/eventual
1e425cf54291c02663dfd3462093c0707cbe9690
[ "MIT" ]
1
2019-06-21T01:48:33.000Z
2019-06-21T01:48:33.000Z
src/samples/sample.cc
wjp-release/eventual
1e425cf54291c02663dfd3462093c0707cbe9690
[ "MIT" ]
null
null
null
src/samples/sample.cc
wjp-release/eventual
1e425cf54291c02663dfd3462093c0707cbe9690
[ "MIT" ]
null
null
null
#include "todo.hpp" #include "zero_copy_value.hpp" #include "sample.h" // dummy service routines that simulate background threads or threadpools that actually complete the async tasks void dummy_service_routine(todo td) { this_thread::sleep_for(chrono::milliseconds(200)); td.resolve(); td.wake(); } void...
27.444954
116
0.571118
wjp-release
eb9172f1e3acb18c6c71dec13b45b7688e73e744
4,904
cpp
C++
test/core/FilesystemDeviceCacheTest.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
7
2018-06-09T05:55:59.000Z
2021-01-05T05:19:02.000Z
test/core/FilesystemDeviceCacheTest.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
1
2019-12-25T10:39:06.000Z
2020-01-03T08:35:29.000Z
test/core/FilesystemDeviceCacheTest.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
11
2018-05-10T08:29:05.000Z
2020-01-22T20:49:32.000Z
#include <cppunit/extensions/HelperMacros.h> #include <Poco/File.h> #include "cppunit/BetterAssert.h" #include "cppunit/FileTestFixture.h" #include "core/FilesystemDeviceCache.h" #include "model/DevicePrefix.h" using namespace Poco; namespace BeeeOn { class FilesystemDeviceCacheTest : public FileTestFixture { CP...
29.365269
77
0.791191
jozhalaj
eb92150338c7ec78afe9c8e8ac711782083bc78a
1,094
cpp
C++
leetcode/1-bit-2-bit.cpp
Mantissa-23/miniprojects
552b1329cc44b5036d1bc8c12dc83b802b18da29
[ "MIT" ]
null
null
null
leetcode/1-bit-2-bit.cpp
Mantissa-23/miniprojects
552b1329cc44b5036d1bc8c12dc83b802b18da29
[ "MIT" ]
null
null
null
leetcode/1-bit-2-bit.cpp
Mantissa-23/miniprojects
552b1329cc44b5036d1bc8c12dc83b802b18da29
[ "MIT" ]
null
null
null
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include <vector> #include "doctest.h" #include "util.h" using namespace std; class Solution { public: bool isOneBitCharacter(vector<int>& bits) { if(bits.size() < 2) { return !bits[0]; } if(bits[bits.size() - 2] == 0) return true; else { ...
16.575758
58
0.47989
Mantissa-23
eb93ef22b348584b09ab725a4400cc139f13d3b9
57,609
cpp
C++
src/js/builtin/RegExp.cpp
fengjixuchui/blazefox
d5c732ac7305a79fe20704c2d134c130f14eca83
[ "MIT" ]
149
2018-12-23T09:08:00.000Z
2022-02-02T09:18:38.000Z
src/js/builtin/RegExp.cpp
fengjixuchui/blazefox
d5c732ac7305a79fe20704c2d134c130f14eca83
[ "MIT" ]
null
null
null
src/js/builtin/RegExp.cpp
fengjixuchui/blazefox
d5c732ac7305a79fe20704c2d134c130f14eca83
[ "MIT" ]
56
2018-12-23T18:11:40.000Z
2021-11-30T13:18:17.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
30.352476
105
0.617091
fengjixuchui
eb94497f121080b88cab98d76dd3da6be810c9ef
1,059
cpp
C++
TrainingGround/src/assignment-3/main.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
15
2015-11-04T12:53:23.000Z
2021-08-10T09:53:12.000Z
TrainingGround/src/assignment-3/main.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
null
null
null
TrainingGround/src/assignment-3/main.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
6
2015-11-13T10:17:01.000Z
2020-05-14T07:25:48.000Z
#include "common.h" #include "LoadVehicle.h" #include "PassengerVehicle.h" #include "EmergencyEquipment.h" #include "EmergecyVehicle.h" #include "Decision.h" #include <list> using namespace std; // temparorily commented. /* int main() { // the vehicle list. Decision::VehicleList vehicleList; // create Vehicles. ...
17.949153
84
0.68272
elloop
eb95266a0948bc9eeb811342cf7b0c16d3cba086
2,965
cpp
C++
src/blitzide2/FileView.cpp
blitz3d-ng/blitz3d-ng
adc829fb76e2c63612b50c725c0944b2b6b0ddaf
[ "Zlib" ]
53
2017-08-10T10:52:34.000Z
2021-12-09T18:03:30.000Z
src/blitzide2/FileView.cpp
kfprimm/blitz3d
adc829fb76e2c63612b50c725c0944b2b6b0ddaf
[ "Zlib" ]
21
2017-05-03T20:28:28.000Z
2022-03-25T12:11:00.000Z
src/blitzide2/FileView.cpp
kfprimm/blitz3d
adc829fb76e2c63612b50c725c0944b2b6b0ddaf
[ "Zlib" ]
8
2017-04-23T02:09:24.000Z
2022-02-01T21:17:27.000Z
#include "FileView.h" #include <wx/stc/stc.h> #include <wx/textfile.h> enum { MARGIN_LINE_NUMBERS }; static wxString keywordsList; static bool keywordsLoaded=false; // rgb_bkgrnd=RGB( 0x22,0x55,0x88 ); // rgb_string=RGB( 0x00,0xff,0x66 ); // rgb_ident=RGB( 0xff,0xff,0xff ); // rgb_keyword=RGB( 0xaa,0xff,0xff ); /...
25.782609
100
0.696796
blitz3d-ng