hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
787f2835bbc3f6b69581d16d01f1f5606afe8664
2,141
hpp
C++
src/Service.hpp
dancol90/wifi-led-clock
d4d391226ddc26ff92fd894e184c5348953b3bfa
[ "MIT" ]
2
2018-10-10T12:37:05.000Z
2018-12-07T22:36:42.000Z
src/Service.hpp
dancol90/wifi-led-clock
d4d391226ddc26ff92fd894e184c5348953b3bfa
[ "MIT" ]
null
null
null
src/Service.hpp
dancol90/wifi-led-clock
d4d391226ddc26ff92fd894e184c5348953b3bfa
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "Task.hpp" #include <map> #include <vector> #include <functional> #ifndef SERVICE_HPP #define SERVICE_HPP #ifdef _DEBUG // This macros works only with string literals, and cannot be used in headers files. #define SERVICES_PRINTF(format, ...) Serial.printf_P(PSTR(format), ##__VA_ARGS__) ...
24.609195
111
0.711817
dancol90
7885036a6de923a917c87290c429c078b761c428
5,675
hpp
C++
include/UnityEngine/UI/ToggleGroup_--c.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/ToggleGroup_--c.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/ToggleGroup_--c.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.UI.ToggleGroup #include...
53.037383
204
0.715771
RedBrumbler
7885bbd7dca3a8088cabc113fe6db4c1f1ad4870
33,720
cpp
C++
Wrappers/java/jni/org_openni_NativeMethods.cpp
BEIWG/OpenNI2
3d144e98884dd78703a3e145856dded166f87e60
[ "Apache-2.0" ]
null
null
null
Wrappers/java/jni/org_openni_NativeMethods.cpp
BEIWG/OpenNI2
3d144e98884dd78703a3e145856dded166f87e60
[ "Apache-2.0" ]
2
2018-04-16T10:51:56.000Z
2018-04-24T06:35:09.000Z
Wrappers/java/jni/org_openni_NativeMethods.cpp
BEIWG/OpenNI2
3d144e98884dd78703a3e145856dded166f87e60
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** * * * OpenNI 2.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * * ...
40.095125
169
0.742408
BEIWG
788827b84d5761fad86b03e6121a2df93ead4f74
1,557
hh
C++
src/event_manager.hh
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/event_manager.hh
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/event_manager.hh
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
#ifndef event_manager_hh_INCLUDED #define event_manager_hh_INCLUDED #include "utils.hh" #include <chrono> #include <unordered_set> namespace Kakoune { class FDWatcher { public: using Callback = std::function<void (FDWatcher& watcher)>; FDWatcher(int fd, Callback callback); ~FDWatcher(); int fd() co...
20.220779
62
0.69043
nojhan
78895d9f05d60511d555be5cfd10e4501ee3d249
1,460
cpp
C++
src/logic/axi4/stream/reset_sequence.cpp
trosenkranz/logic
8bcb5ecbc2df08f32215053b34ddb2bf220f41aa
[ "Apache-2.0" ]
209
2017-11-22T14:52:15.000Z
2022-03-23T21:44:58.000Z
src/logic/axi4/stream/reset_sequence.cpp
trosenkranz/logic
8bcb5ecbc2df08f32215053b34ddb2bf220f41aa
[ "Apache-2.0" ]
2
2018-02-26T09:02:15.000Z
2020-01-14T10:19:59.000Z
src/logic/axi4/stream/reset_sequence.cpp
trosenkranz/logic
8bcb5ecbc2df08f32215053b34ddb2bf220f41aa
[ "Apache-2.0" ]
53
2018-01-24T07:11:26.000Z
2022-03-02T02:14:30.000Z
/* Copyright 2018 Tymoteusz Blazejczyk * * 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 agre...
27.54717
75
0.704795
trosenkranz
78926939b2197b4e9886bdd949e2f89077f2d58e
3,023
hpp
C++
libs/mockturtle/io/write_dimacs.hpp
wjyoumans/staq
d5227bd4651ce64ba277aab5061e3a132be853bb
[ "MIT" ]
96
2019-12-11T10:18:10.000Z
2022-03-27T20:16:33.000Z
libs/mockturtle/io/write_dimacs.hpp
wjyoumans/staq
d5227bd4651ce64ba277aab5061e3a132be853bb
[ "MIT" ]
43
2020-01-08T00:59:07.000Z
2022-03-28T21:35:59.000Z
libs/mockturtle/io/write_dimacs.hpp
wjyoumans/staq
d5227bd4651ce64ba277aab5061e3a132be853bb
[ "MIT" ]
21
2019-12-15T01:40:48.000Z
2021-12-31T05:27:34.000Z
/* mockturtle: C++ logic network library * Copyright (C) 2018-2019 EPFL EPFL * * 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 r...
30.535354
78
0.656302
wjyoumans
78939ce1945f307b29f0c9dd3dbcc2e0c3649e78
1,347
cpp
C++
src/context.cpp
programmerjake/my-compiler
fa70f13e059b44674042cedf1bbf2d9b01132793
[ "Zlib" ]
7
2017-11-19T02:42:30.000Z
2022-02-13T08:48:31.000Z
src/context.cpp
programmerjake/my-compiler
fa70f13e059b44674042cedf1bbf2d9b01132793
[ "Zlib" ]
null
null
null
src/context.cpp
programmerjake/my-compiler
fa70f13e059b44674042cedf1bbf2d9b01132793
[ "Zlib" ]
null
null
null
/* Copyright (c) 2015 Jacob R. Lifshay * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including comme...
38.485714
100
0.710468
programmerjake
7895788e070824a3bf9fe1b3145af9859d2209a9
2,351
hpp
C++
include/cobalt/platform.hpp
mzhirnov/cool
9c360ca8bfc127dffae6264675d9973fd2c6fd6d
[ "MIT" ]
2
2020-03-23T19:12:14.000Z
2020-08-03T13:29:38.000Z
include/cobalt/platform.hpp
mzhirnov/cool
9c360ca8bfc127dffae6264675d9973fd2c6fd6d
[ "MIT" ]
null
null
null
include/cobalt/platform.hpp
mzhirnov/cool
9c360ca8bfc127dffae6264675d9973fd2c6fd6d
[ "MIT" ]
null
null
null
#ifndef COBALT_PLATFORM_HPP_INCLUDED #define COBALT_PLATFORM_HPP_INCLUDED #pragma once #include <boost/predef.h> #define $on(...) __VA_ARGS__ #define $off(...) //////////////////////////////////////////////////////////////////////////////// // Windows #if BOOST_OS_WINDOWS #include <winapifamily.h> #define $windows...
19.923729
80
0.586134
mzhirnov
78973096181449d12b341ef6923aba48905b0248
42,528
cxx
C++
Utilities/Cosmo/CosmoHaloFinderP.cxx
SCS-B3C/VTK5.6
d4afb224f638c1f7e847b0cd3195ea8a977bb602
[ "BSD-3-Clause" ]
2
2015-07-11T13:30:23.000Z
2017-12-19T05:23:38.000Z
Utilities/Cosmo/CosmoHaloFinderP.cxx
SCS-B3C/VTK5.6
d4afb224f638c1f7e847b0cd3195ea8a977bb602
[ "BSD-3-Clause" ]
null
null
null
Utilities/Cosmo/CosmoHaloFinderP.cxx
SCS-B3C/VTK5.6
d4afb224f638c1f7e847b0cd3195ea8a977bb602
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Copyright (c) 2007, Los Alamos National Security, LLC All rights reserved. Copyright 2007. Los Alamos National Security, LLC. This software was produced under U...
37.602122
102
0.608752
SCS-B3C
7898e349b2fa142d82fb16ea237b63fba1765daf
653
cpp
C++
src/gen/detail/ExecHandler.cpp
bgn9000/rapidcheck
593ada72f6938221973bf30bf7a7f7e6a24160de
[ "BSD-2-Clause" ]
null
null
null
src/gen/detail/ExecHandler.cpp
bgn9000/rapidcheck
593ada72f6938221973bf30bf7a7f7e6a24160de
[ "BSD-2-Clause" ]
null
null
null
src/gen/detail/ExecHandler.cpp
bgn9000/rapidcheck
593ada72f6938221973bf30bf7a7f7e6a24160de
[ "BSD-2-Clause" ]
1
2019-03-05T13:52:28.000Z
2019-03-05T13:52:28.000Z
#include "rapidcheck/gen/detail/ExecHandler.h" #include "rapidcheck/Gen.h" namespace rc { namespace gen { namespace detail { ExecHandler::ExecHandler(Recipe &recipe) : m_recipe(recipe) , m_random(m_recipe.random) , m_it(begin(m_recipe.ingredients)) {} rc::detail::Any ExecHandler::onGenerate(const Gen<rc...
23.321429
74
0.698315
bgn9000
789ae1fadb38be5a53cf6de771eef086900f3266
774
cpp
C++
2018/day13/tests/TestClass.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
3
2021-07-01T14:31:06.000Z
2022-03-29T20:41:21.000Z
2018/day13/tests/TestClass.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
2018/day13/tests/TestClass.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
#include "TestClass.h" #include "../test.h" namespace aoc2018_day13 { TEST_F(Tests2018Day13, part_1_test) { auto sol = part_1("../2018/day13/input_test.in"); ASSERT_EQ(sol.first, 7); ASSERT_EQ(sol.second, 3); } TEST_F(Tests2018Day13, part_1_real_test) { auto sol = part_1("....
26.689655
58
0.600775
alexandru-andronache
789b5cceacf0f4601a7c391bc7590c069b3cce16
4,287
cc
C++
ThirdParty/webrtc/src/webrtc/video/video_loopback.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
8
2018-12-27T14:57:13.000Z
2021-04-07T07:03:15.000Z
ThirdParty/webrtc/src/webrtc/video/video_loopback.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
1
2019-03-13T01:35:03.000Z
2020-10-08T04:13:04.000Z
ThirdParty/webrtc/src/webrtc/video/video_loopback.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
9
2018-12-28T11:45:12.000Z
2021-05-11T02:15:31.000Z
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
29.363014
79
0.643107
JokeJoe8806
a192aad2c3bbb4071b8e8490ed2c5a78fda1df77
8,941
cpp
C++
opt/nomad/src/Algos/MeshBase.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
31
2019-02-05T16:39:18.000Z
2022-03-11T23:14:11.000Z
opt/nomad/src/Algos/MeshBase.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
20
2020-04-13T09:22:53.000Z
2021-08-16T16:14:13.000Z
opt/nomad/src/Algos/MeshBase.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
6
2020-04-21T17:43:47.000Z
2021-03-10T04:12:34.000Z
/*---------------------------------------------------------------------------------*/ /* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct Search - */ /* */ /* NOMAD - Version 4 has been created by ...
39.043668
130
0.489766
scikit-quant
a193a90473aed44aade937251dfbd67d33fb5d3b
1,820
cpp
C++
ZROI/20zr提高组十连测附加赛4/B/B.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
ZROI/20zr提高组十连测附加赛4/B/B.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
ZROI/20zr提高组十连测附加赛4/B/B.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pii; #define mk make_pair void checkmin(int &x,int y){if(x>y) x=y;} void checkmax(int &x,int y){if(x<y) x=y;} void checkmin(ll &x,ll y){if(x>y) x=y;} void checkmax(ll &x,ll y){if(x<y) x=y;} #define out(x) cerr<<#x<<'='<<x<<' ' #def...
24.266667
74
0.48956
jinzhengyu1212
a194e0d2bd4ac009e3e06485ecf0b217ffede005
5,987
cpp
C++
rndlevelsource/Polygon.cpp
Telefragged/rndlevelsource
17dfcf3a12d10d1884860c39e2169a6cb9dc0ba1
[ "MIT" ]
null
null
null
rndlevelsource/Polygon.cpp
Telefragged/rndlevelsource
17dfcf3a12d10d1884860c39e2169a6cb9dc0ba1
[ "MIT" ]
null
null
null
rndlevelsource/Polygon.cpp
Telefragged/rndlevelsource
17dfcf3a12d10d1884860c39e2169a6cb9dc0ba1
[ "MIT" ]
null
null
null
#include "Polygon.h" #include <algorithm> #include <numeric> #include <boost/range/adaptors.hpp> #include <boost/range/algorithm.hpp> #include "Vector.h" #include "Vertex.h" Polygon::classification Polygon::classify(const Plane& plane) const { size_t count = points.size(); size_t front = 0, back = 0, onplane = 0...
21.692029
99
0.645899
Telefragged
a196bb870df02b117de37985f649874b412388f8
822
cpp
C++
algorithms/fillingJars.cpp
kosmaz/HackerRank
1107804c8213d169070a5529de26b97eb190e06c
[ "MIT" ]
1
2015-03-21T20:08:28.000Z
2015-03-21T20:08:28.000Z
algorithms/fillingJars.cpp
kosmaz/HackerRank
1107804c8213d169070a5529de26b97eb190e06c
[ "MIT" ]
null
null
null
algorithms/fillingJars.cpp
kosmaz/HackerRank
1107804c8213d169070a5529de26b97eb190e06c
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct three{unsigned long a,b,k;}; unsigned long long averageOperations(vector<three> data, unsigned long long N, unsigned long long M) { long double average=0; for(unsigned long long i=0; i<M; ++i) { ...
20.04878
57
0.594891
kosmaz
a199cf405dac1df8ee49d0b116a55105db367ed5
8,393
hpp
C++
include/UnityEngine/Internal_DrawTextureArguments.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/Internal_DrawTextureArguments.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/Internal_DrawTextureArguments.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueTy...
44.643617
1,067
0.699869
Fernthedev
a19ab8c171610582786195a3635f1f91abab6bbd
646
hpp
C++
common/SoapyIfAddrs.hpp
kerel-fs/SoapyRemote
29a08cc7b50ab9bb1f9d1509dff2feaaff3ef95f
[ "BSL-1.0" ]
89
2015-09-13T14:48:08.000Z
2022-03-26T17:32:18.000Z
common/SoapyIfAddrs.hpp
kerel-fs/SoapyRemote
29a08cc7b50ab9bb1f9d1509dff2feaaff3ef95f
[ "BSL-1.0" ]
77
2015-09-17T05:50:45.000Z
2022-03-09T14:53:58.000Z
common/SoapyIfAddrs.hpp
kerel-fs/SoapyRemote
29a08cc7b50ab9bb1f9d1509dff2feaaff3ef95f
[ "BSL-1.0" ]
24
2015-09-26T04:54:36.000Z
2022-02-05T15:10:08.000Z
// Copyright (c) 2018-2018 Josh Blum // SPDX-License-Identifier: BSL-1.0 #pragma once #include "SoapyRemoteConfig.hpp" #include <string> #include <vector> struct SoapyIfAddr { SoapyIfAddr(void); int ethno; //! The ethernet index int ipVer; //! The ip protocol: 4 or 6 bool isUp; //! Is this link active...
28.086957
65
0.693498
kerel-fs
a19ccb7eb6ad863b1002be875fb337a6d398ffdd
587
cpp
C++
Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/Diagnostics/StackTrace.cpp
Vinay1705/cs2cpp
d07d3206fb57edb959df8536562909a4d516e359
[ "MIT" ]
192
2016-03-23T04:33:24.000Z
2022-03-28T14:41:06.000Z
Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/Diagnostics/StackTrace.cpp
Vinay1705/cs2cpp
d07d3206fb57edb959df8536562909a4d516e359
[ "MIT" ]
9
2017-03-08T14:45:16.000Z
2021-09-06T09:28:47.000Z
Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/Diagnostics/StackTrace.cpp
Vinay1705/cs2cpp
d07d3206fb57edb959df8536562909a4d516e359
[ "MIT" ]
56
2016-03-22T20:37:08.000Z
2022-03-28T12:20:47.000Z
#include "System.Private.CoreLib.h" namespace CoreLib { namespace System { namespace Diagnostics { namespace _ = ::CoreLib::System::Diagnostics; // Method : System.Diagnostics.StackTrace.GetStackFramesInternal(System.Diagnostics.StackFrameHelper, int, bool, System.Exception) void StackTrace::GetStackFrame...
36.6875
137
0.735945
Vinay1705
a19fec56457ddb7d51ea5e3314f73962b0615502
423
cpp
C++
UWPSamples/System/GamepadCppWinRT_UWP/pch.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
298
2019-05-09T20:54:35.000Z
2022-03-31T20:10:51.000Z
UWPSamples/System/GamepadCppWinRT_UWP/pch.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
14
2019-07-07T15:25:15.000Z
2022-02-05T02:44:29.000Z
UWPSamples/System/GamepadCppWinRT_UWP/pch.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
137
2019-05-07T20:58:34.000Z
2022-03-30T08:01:34.000Z
//-------------------------------------------------------------------------------------- // pch.cpp // // Include the standard header and generate the precompiled header. // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------...
32.538462
90
0.399527
ComputeWorks
a1a1e3d9cb16da0a66c586b22636a9fea28c5acf
841
cc
C++
src/quipper/quipper_lib_test.cc
cervantesyu/perf_data_converter
5fe21942c1db6625963e657f458fea5c30af40e2
[ "BSD-3-Clause" ]
null
null
null
src/quipper/quipper_lib_test.cc
cervantesyu/perf_data_converter
5fe21942c1db6625963e657f458fea5c30af40e2
[ "BSD-3-Clause" ]
1
2019-10-18T07:50:07.000Z
2019-10-19T02:14:40.000Z
src/quipper/quipper_lib_test.cc
cervantesyu/perf_data_converter
5fe21942c1db6625963e657f458fea5c30af40e2
[ "BSD-3-Clause" ]
null
null
null
#include "quipper_lib.h" #include "compat/test.h" namespace { TEST(QuipperLibTest, ValidOldPerfCommandLine) { int argc = 6; const char* argv[] = {"quipper", "10", "perf", "record", "-e", "cycles"}; std::vector<string> perf_args; int perf_duration = 0; EXPECT_TRUE(ParseOldPerfArguments(argc, argv, &perf_du...
26.28125
78
0.646849
cervantesyu
a1a6c6f24b6a5c64c43f463d70b3c15476546b26
8,561
cpp
C++
src/CryptoNoteCore/Transactions/TransactionUtils.cpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
src/CryptoNoteCore/Transactions/TransactionUtils.cpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
src/CryptoNoteCore/Transactions/TransactionUtils.cpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // // This file is part of Bytecoin. // // Bytecoin is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of ...
33.311284
113
0.726667
ElSamaritan
a1adbc63c0c8c3af12f36f286e651b630b745e9b
26,287
cpp
C++
unit-tests/co/test-tpdo-sdo.cpp
DroidDrive/lely-core
2ec4560f513264a53d2afaedecdae4a49a39023c
[ "Apache-2.0" ]
1
2021-10-02T21:08:05.000Z
2021-10-02T21:08:05.000Z
unit-tests/co/test-tpdo-sdo.cpp
DroidDrive/lely-core
2ec4560f513264a53d2afaedecdae4a49a39023c
[ "Apache-2.0" ]
null
null
null
unit-tests/co/test-tpdo-sdo.cpp
DroidDrive/lely-core
2ec4560f513264a53d2afaedecdae4a49a39023c
[ "Apache-2.0" ]
null
null
null
/**@file * This file is part of the CANopen Library Unit Test Suite. * * @copyright 2020 N7 Space Sp. z o.o. * * Unit Test Suite was developed under a programme of, * and funded by, the European Space Agency. * * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exc...
31.44378
79
0.703199
DroidDrive
a1b16e81141b90aae983455f91c51150b957988b
290
cpp
C++
cppsrc/main.cpp
ferserc1/node-api-test
43a732b4d0539af812d8a8b86de756cbe915b1ab
[ "MIT" ]
null
null
null
cppsrc/main.cpp
ferserc1/node-api-test
43a732b4d0539af812d8a8b86de756cbe915b1ab
[ "MIT" ]
null
null
null
cppsrc/main.cpp
ferserc1/node-api-test
43a732b4d0539af812d8a8b86de756cbe915b1ab
[ "MIT" ]
null
null
null
#include <napi.h> #include "Samples/functionalexample.h" #include "Samples/classexample.h" Napi::Object InitAll(Napi::Env env, Napi::Object exports) { functionalexample::Init(env, exports); return ClassExample::Init(env, exports); } NODE_API_MODULE(NODE_GYP_MODULE_NAME, InitAll)
26.363636
59
0.758621
ferserc1
a1b3d03313775732713a2392675ae0ee6497415f
455
cpp
C++
200111Zad06/zad6.cpp
elenazaharieva/fifthgrade
60d1301c118b9f0cb4089d672fdf9e1780aedf80
[ "Apache-2.0" ]
null
null
null
200111Zad06/zad6.cpp
elenazaharieva/fifthgrade
60d1301c118b9f0cb4089d672fdf9e1780aedf80
[ "Apache-2.0" ]
null
null
null
200111Zad06/zad6.cpp
elenazaharieva/fifthgrade
60d1301c118b9f0cb4089d672fdf9e1780aedf80
[ "Apache-2.0" ]
null
null
null
/* * * zad6.cpp * * Created on: Jan 15, 2020 * Author: eli */ #include <iostream> using namespace std; int main() { int posl = 1; int maxPosl = 1; int digitOld; int digitNew; cin >> digitNew; digitOld = -1; while (digitNew != 0) { if (digitOld == digitNew) { posl++; if (maxPosl < posl) { ...
13.382353
29
0.553846
elenazaharieva
a1b5d43994e173fad63c344fa45c8e49b3b8a20f
101
cpp
C++
Source/SaveExtension/Private/Multithreading/ScopedTaskManager.cpp
foobit/SaveExtension
390033bc757f2b694c497e22c324dcac539bcd15
[ "Apache-2.0" ]
110
2018-10-20T21:47:54.000Z
2022-03-14T03:47:58.000Z
Source/SaveExtension/Private/Multithreading/ScopedTaskManager.cpp
foobit/SaveExtension
390033bc757f2b694c497e22c324dcac539bcd15
[ "Apache-2.0" ]
68
2018-12-19T09:08:56.000Z
2022-03-09T06:43:38.000Z
Source/SaveExtension/Private/Multithreading/ScopedTaskManager.cpp
foobit/SaveExtension
390033bc757f2b694c497e22c324dcac539bcd15
[ "Apache-2.0" ]
45
2018-12-03T14:35:47.000Z
2022-03-05T01:35:24.000Z
// Copyright 2015-2020 Piperift. All Rights Reserved. #include "Multithreading/ScopedTaskManager.h"
25.25
53
0.80198
foobit
a1b6bf09314cd5b26683a17a0e4e2e8c01b21d5f
1,823
hpp
C++
Krakoa/Source/Graphics/2D/Textures/SubTexture2d.hpp
KingKiller100/Krakatoa-Engine
ff07f7328d428c04e06b561b6afd315eea39865c
[ "Apache-2.0" ]
1
2020-04-05T13:37:48.000Z
2020-04-05T13:37:48.000Z
Krakoa/Source/Graphics/2D/Textures/SubTexture2d.hpp
KingKiller100/Krakoa-Engine
0f2a5a5109e256a384abe8dc21eacaa45c1de610
[ "Apache-2.0" ]
null
null
null
Krakoa/Source/Graphics/2D/Textures/SubTexture2d.hpp
KingKiller100/Krakoa-Engine
0f2a5a5109e256a384abe8dc21eacaa45c1de610
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../Primitives2D/BatchRendererData.hpp" #include "../../../Core/PointerTypes.hpp" #include <Maths/Vectors/Vector2.hpp> #include <Utility/Enum/kEnum.hpp> #include <vector> #include <cstdint> namespace krakoa::gfx { class iTexture2D; using TexCoordsList = std::vector<kmaths::Vector2f>; ENUM_...
28.046154
102
0.752606
KingKiller100
a1b84677e65a81ac1f44d4a6c110c910466bb307
3,377
hpp
C++
includes/reflex/function/function.hpp
Cylix/Reflex
b51433f6f07e88d5b167ea71f481aa685bedcb86
[ "MIT" ]
112
2015-08-12T01:12:46.000Z
2022-03-27T13:11:22.000Z
includes/reflex/function/function.hpp
Cylix/Reflex
b51433f6f07e88d5b167ea71f481aa685bedcb86
[ "MIT" ]
2
2015-11-22T15:04:14.000Z
2018-01-05T05:38:44.000Z
includes/reflex/function/function.hpp
Cylix/Reflex
b51433f6f07e88d5b167ea71f481aa685bedcb86
[ "MIT" ]
17
2015-10-16T02:50:58.000Z
2021-09-10T09:41:58.000Z
#pragma once #include <memory> #include <string> #include <reflex/function/callable_base.hpp> #include <reflex/function/callable_with_instance.hpp> #include <reflex/function/callable_without_instance.hpp> #include <reflex/reflection_exception.hpp> namespace reflex { class function { public: struct functions_con...
39.729412
158
0.703583
Cylix
a1b88a2355cb3220ecebadbf4540b83294441f79
2,145
cpp
C++
tests/test_query.cpp
kamchatka-volcano/hot_teacup
ef894b6f333364f9768f1d2477580604affada87
[ "MS-PL" ]
null
null
null
tests/test_query.cpp
kamchatka-volcano/hot_teacup
ef894b6f333364f9768f1d2477580604affada87
[ "MS-PL" ]
null
null
null
tests/test_query.cpp
kamchatka-volcano/hot_teacup
ef894b6f333364f9768f1d2477580604affada87
[ "MS-PL" ]
null
null
null
#include <hot_teacup/query.h> #include <gtest/gtest.h> TEST(Query, ToStringSingle) { auto query = http::Query{"foo", "bar"}; EXPECT_EQ(query.toString(), "foo=bar"); } TEST(Query, ToString) { { auto queries = http::Queries{{"name", "test"}, {"foo", "bar"}}; EXPECT_EQ(http::queriesToString(q...
27.857143
84
0.568765
kamchatka-volcano
a1b922b304bdcae834e5f2ca99f020f565a70783
5,942
cpp
C++
windows/runner/main.cpp
alexmercerind/flutter-win32-acrylic
734094d5f3c445934d1860aef849ddd6b8188d2e
[ "MIT" ]
2
2021-08-03T16:51:20.000Z
2021-08-04T10:39:53.000Z
windows/runner/main.cpp
alexmercerind/flutter-win32-acrylic
734094d5f3c445934d1860aef849ddd6b8188d2e
[ "MIT" ]
null
null
null
windows/runner/main.cpp
alexmercerind/flutter-win32-acrylic
734094d5f3c445934d1860aef849ddd6b8188d2e
[ "MIT" ]
null
null
null
#include <Unknwn.h> #include <Windows.h> #include <winrt/Windows.Foundation.Collections.h> #include <winrt/Windows.UI.Xaml.Hosting.h> #include <winrt/Windows.UI.Xaml.Controls.h> #include <winrt/Windows.UI.Xaml.Media.h> #include <windows.ui.xaml.hosting.desktopwindowxamlsource.h> #include "utils.h" #include "flutter/ge...
34.346821
126
0.71794
alexmercerind
a1c4531959f309f8a8710bb2ed045af97cc5bf32
2,541
hpp
C++
obcsim/obcsim_configuration.hpp
Zethian/proto-cubes-obc
a37aed0e9e3b3fd917baeb29b6279d91845818dd
[ "MIT" ]
null
null
null
obcsim/obcsim_configuration.hpp
Zethian/proto-cubes-obc
a37aed0e9e3b3fd917baeb29b6279d91845818dd
[ "MIT" ]
4
2020-04-16T13:41:11.000Z
2020-06-03T11:30:54.000Z
obcsim/obcsim_configuration.hpp
tstana/proto-cubes-obc
671b0d1c44ee81973275d386ed70912fd06e275c
[ "MIT" ]
2
2021-11-19T09:32:01.000Z
2021-12-28T09:11:00.000Z
/* A generated header file from setup.py */ #ifndef OBCSIM_CONFIGURATION_H #define OBCSIM_CONFIGURATION_H #include "msp_obc.h" #define EXP_ADDR 0x35 #define EXP_MTU 507 #define REQUEST_BUFFER_SIZE 25000 #define MSP_ERROR_THRESHOLD 5 #ifndef MSP_OP_REQ_PAYLOAD #define MSP_OP_REQ_PAYLOAD 0x20 #endif #ifndef MSP_OP_AC...
25.666667
72
0.783943
Zethian
a1c782b01ed8e6d08690a394a39c4e193bff2f61
25,016
cpp
C++
cpp/sdk/src/json_rpc.cpp
violas-core/violas-client-sdk
fc72fc0ea6e8e0e395759020038129736d93b64c
[ "MIT" ]
null
null
null
cpp/sdk/src/json_rpc.cpp
violas-core/violas-client-sdk
fc72fc0ea6e8e0e395759020038129736d93b64c
[ "MIT" ]
null
null
null
cpp/sdk/src/json_rpc.cpp
violas-core/violas-client-sdk
fc72fc0ea6e8e0e395759020038129736d93b64c
[ "MIT" ]
2
2021-12-28T06:50:27.000Z
2022-02-15T09:28:36.000Z
#include <cpprest/filestream.h> #include <cpprest/http_client.h> #include <cpprest/json.h> #include "../include/utils.hpp" #include "../include/json_rpc.hpp" using namespace std; using namespace utility; using namespace web; using namespace web::http; using namespace web::http::client; namespace json_rpc { class...
42.909091
159
0.473417
violas-core
a1c796e1d20d0cd9b45e813cf3b3102e62059d36
3,315
cpp
C++
src/sounds/Buzzer.cpp
iw4rr10r/gb-donkey-kong-jr
fe8e755b6c0c9c483ad543b6f2dce3168cdf989c
[ "MIT" ]
5
2019-10-06T15:49:10.000Z
2020-01-18T19:37:33.000Z
src/sounds/Buzzer.cpp
iw4rr10r/gb-donkey-kong-jr
fe8e755b6c0c9c483ad543b6f2dce3168cdf989c
[ "MIT" ]
null
null
null
src/sounds/Buzzer.cpp
iw4rr10r/gb-donkey-kong-jr
fe8e755b6c0c9c483ad543b6f2dce3168cdf989c
[ "MIT" ]
1
2020-07-04T17:45:18.000Z
2020-07-04T17:45:18.000Z
// ------------------------------------------------------------------------- // Donkey Kong Jr // a Nintendo's Game & Watch adaptation on Gamebuino META // ------------------------------------------------------------------------- // © 2019 Steph // ...
33.826531
90
0.460633
iw4rr10r
a1c893b151b1541f61768c2725659cf1b48d9591
1,957
cpp
C++
src/box_type.cpp
tnoho/cpp-mp4
3686ee530a459a554dee1a5d21a93a537c04e4e0
[ "Apache-2.0" ]
null
null
null
src/box_type.cpp
tnoho/cpp-mp4
3686ee530a459a554dee1a5d21a93a537c04e4e0
[ "Apache-2.0" ]
null
null
null
src/box_type.cpp
tnoho/cpp-mp4
3686ee530a459a554dee1a5d21a93a537c04e4e0
[ "Apache-2.0" ]
null
null
null
#include "shiguredo/mp4/box_type.hpp" #include <fmt/core.h> #include <algorithm> #include <array> #include <cctype> #include <cstdint> #include <iterator> #include <regex> #include <sstream> #include <stdexcept> #include <string> #include <vector> namespace shiguredo::mp4 { BoxType::BoxType(const std::string& str) ...
27.180556
115
0.650996
tnoho
a1cba7d5801215052aff070ab51177e29b5a4f9c
920
cpp
C++
src/core/simulate/src/dunesim_impl.cpp
henryiii/spatial-model-editor
2138d03ae4c7cc353b40324dfd1a3e763d7085d9
[ "MIT" ]
1
2021-04-19T10:23:58.000Z
2021-04-19T10:23:58.000Z
src/core/simulate/src/dunesim_impl.cpp
henryiii/spatial-model-editor
2138d03ae4c7cc353b40324dfd1a3e763d7085d9
[ "MIT" ]
418
2020-10-08T07:42:27.000Z
2022-03-08T12:10:52.000Z
src/core/simulate/src/dunesim_impl.cpp
henryiii/spatial-model-editor
2138d03ae4c7cc353b40324dfd1a3e763d7085d9
[ "MIT" ]
2
2021-09-02T11:20:38.000Z
2021-10-13T14:05:32.000Z
#include "dunesim_impl.hpp" #include "duneconverter.hpp" #include "dunegrid.hpp" #include "logger.hpp" namespace sme::simulate { DuneImpl::DuneImpl(const simulate::DuneConverter &dc) { for (const auto &ini : dc.getIniFiles()) { std::stringstream ssIni(ini.toStdString()); auto &config = configs.emplace_back(...
29.677419
78
0.68587
henryiii
a1cdea98253f76592ae406b07acc3f0ead46e044
1,676
cpp
C++
test/unit/jt_test/box2d_joint_test.cpp
Thunraz/JamTemplateCpp
ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea
[ "CC0-1.0" ]
null
null
null
test/unit/jt_test/box2d_joint_test.cpp
Thunraz/JamTemplateCpp
ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea
[ "CC0-1.0" ]
null
null
null
test/unit/jt_test/box2d_joint_test.cpp
Thunraz/JamTemplateCpp
ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea
[ "CC0-1.0" ]
null
null
null
#include "box2d_joint.hpp" #include "mocks/box2d_world_mock.hpp" #include "mocks/mock_game.hpp" #include <gmock/gmock.h> #include <gtest/gtest.h> using namespace ::testing; class Box2dJointTest : public ::testing::Test { public: std::shared_ptr<Box2DWorldMock> m_mockWorld; void SetUp() override { m_mockWorl...
22.958904
89
0.713604
Thunraz
a1d04f04c3dab7531aaa6a32c18821df6a9a8a5d
316
cpp
C++
src/pot.cpp
JulianNeeleman/kattis
035c1113ffb397c2d8538af8ba16b7ee4160393d
[ "MIT" ]
null
null
null
src/pot.cpp
JulianNeeleman/kattis
035c1113ffb397c2d8538af8ba16b7ee4160393d
[ "MIT" ]
1
2017-05-16T15:57:29.000Z
2017-05-17T19:43:56.000Z
src/pot.cpp
JulianNeeleman/kattis
035c1113ffb397c2d8538af8ba16b7ee4160393d
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <map> #include <queue> #include <set> #include <vector> using namespace std; int main() { int N, ans = 0; cin >> N; for(int i = 0; i < N; i++) { int P; cin >> P; int b = P / 10, e = P % 10; ans += pow(b, e); } cout << ans << endl; return 0; }
11.703704
29
0.531646
JulianNeeleman
a1d9290a99edc51de314d70e72f64b04709f91a8
3,211
cpp
C++
aws-cpp-sdk-lexv2-models/source/model/ExportSummary.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-lexv2-models/source/model/ExportSummary.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-lexv2-models/source/model/ExportSummary.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/lexv2-models/model/ExportSummary.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
23.785185
117
0.760822
perfectrecall
a1db887ad3e0071857721412f59e517d367fff9b
2,017
cpp
C++
Contests/Atcoder_ABC_222/probF.cpp
francoisvogel/cp
ae59cf635ab19382d924344fbb137ab9ae631103
[ "MIT" ]
1
2021-10-02T15:40:33.000Z
2021-10-02T15:40:33.000Z
Contests/Atcoder_ABC_222/probF.cpp
francoisvogel/cp
ae59cf635ab19382d924344fbb137ab9ae631103
[ "MIT" ]
null
null
null
Contests/Atcoder_ABC_222/probF.cpp
francoisvogel/cp
ae59cf635ab19382d924344fbb137ab9ae631103
[ "MIT" ]
null
null
null
/* * File created on 10/09/2021 at 14:56:58. * Link to problem: * Description: * Time complexity: O() * Space complexity: O() * Status: DEV (most of the time I don't update status, so it stays DEV which is the default value) * Copyright: Ⓒ 2021 Francois Vogel */ #include <bits/stdc++.h> #include <ext/pb_ds/as...
21.923913
100
0.548339
francoisvogel
a1df9c9046e271bdf30acb12203b7fba722c1f0a
3,044
hpp
C++
src/opencv_bridge/shape_finder_impl.hpp
cognitive-machines/garooda-core
509f54ad0db7916f963418e5c5af302dbacf1147
[ "MIT" ]
null
null
null
src/opencv_bridge/shape_finder_impl.hpp
cognitive-machines/garooda-core
509f54ad0db7916f963418e5c5af302dbacf1147
[ "MIT" ]
null
null
null
src/opencv_bridge/shape_finder_impl.hpp
cognitive-machines/garooda-core
509f54ad0db7916f963418e5c5af302dbacf1147
[ "MIT" ]
1
2018-04-11T15:20:14.000Z
2018-04-11T15:20:14.000Z
/* MIT License Copyright (c) 2018 Cognitive Machines 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 use, copy, modify, merge, publ...
32.042105
109
0.639947
cognitive-machines
a1e4e796164e3a04eb35f74968455d8692f77745
1,274
cpp
C++
src/constexpr/static_assert2.cpp
victorcruceru/my_tour_of_cplusplus
c9627e9355a8cf6eaa8f5d51a0001947cfe86e48
[ "Beerware" ]
null
null
null
src/constexpr/static_assert2.cpp
victorcruceru/my_tour_of_cplusplus
c9627e9355a8cf6eaa8f5d51a0001947cfe86e48
[ "Beerware" ]
null
null
null
src/constexpr/static_assert2.cpp
victorcruceru/my_tour_of_cplusplus
c9627e9355a8cf6eaa8f5d51a0001947cfe86e48
[ "Beerware" ]
1
2021-06-21T07:22:10.000Z
2021-06-21T07:22:10.000Z
/* * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): * Victor Cruceru wrote this file. As long as you retain this notice you * can do whatever you want with this stuff. If we meet some day, and you think * this stuff is worth it, you can bu...
35.388889
80
0.584772
victorcruceru
a1e7fe36b81ac869fa99a279404946eada191401
4,095
cpp
C++
Brain/sustain.cpp
vikbez/PlayerPianoController
098e0a9df2be3d029490986eedd1bf2eac0a44ca
[ "MIT" ]
null
null
null
Brain/sustain.cpp
vikbez/PlayerPianoController
098e0a9df2be3d029490986eedd1bf2eac0a44ca
[ "MIT" ]
null
null
null
Brain/sustain.cpp
vikbez/PlayerPianoController
098e0a9df2be3d029490986eedd1bf2eac0a44ca
[ "MIT" ]
null
null
null
#include "sustain.h" #include "sustain.h" #include "serial.h" #include "settings.h" #include "note.h" SustainPedal sustain; SustainPedal::SustainPedal() { //initialize one row of vectors so program won't crash while comparing //initialize sustain as off by default for(int index = 0; index < 4; index++) { schedu...
33.024194
145
0.689133
vikbez
a1ec0ab68080b9c9b82ce1e5dabc4fbc18dde4ab
721
hpp
C++
src/org/apache/poi/ss/formula/functions/Sumx2py2_1.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/functions/Sumx2py2_1.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/functions/Sumx2py2_1.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/formula/functions/Sumx2py2.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/ss/formula/functions/fwd-POI.hpp> #include <java/lang/Object.hpp> #include <org/apache/poi/ss/formula/functions/XYNumericFunction_Accumulator.hpp> struct default_init_tag; class...
24.862069
80
0.725381
pebble2015
a1ec56221d0b2b9656ed3614ab88d3b3b68e6598
3,724
cpp
C++
tests/tests/referral_mandatory_transfer_test.cpp
edinar-dev/edinarcoin
d3f11ab57acd745fd407f87999f2ab72378f5194
[ "MIT" ]
1
2019-08-05T08:09:37.000Z
2019-08-05T08:09:37.000Z
tests/tests/referral_mandatory_transfer_test.cpp
reactivespace/Dex
d5716eab035f993dad3e5b4df664f9ebd32ab3a0
[ "MIT" ]
null
null
null
tests/tests/referral_mandatory_transfer_test.cpp
reactivespace/Dex
d5716eab035f993dad3e5b4df664f9ebd32ab3a0
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <graphene/chain/database.hpp> #include <graphene/chain/exceptions.hpp> #include <graphene/chain/hardfork.hpp> #include <graphene/chain/account_object.hpp> #include <graphene/chain/asset_object.hpp> #include <graphene/chain/committee_member_object.hpp> #include <graphene/ch...
25.861111
86
0.686627
edinar-dev
a1ec7be46d1d5dec918d69c61a92522de5ab7d54
8,633
cpp
C++
src/backend/graph_compiler/core/src/compiler/ir/ir_module.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/ir_module.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/ir_module.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2020-2022 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://...
34.810484
81
0.595042
wuxun-zhang
a1f032b3dc62745f9cdad320aca73b9796f99240
1,618
hh
C++
functions/concepts.hh
GuylainGreer/manifolds
96f996f67fc523c726f2edbc9705125c212bedae
[ "MIT" ]
null
null
null
functions/concepts.hh
GuylainGreer/manifolds
96f996f67fc523c726f2edbc9705125c212bedae
[ "MIT" ]
null
null
null
functions/concepts.hh
GuylainGreer/manifolds
96f996f67fc523c726f2edbc9705125c212bedae
[ "MIT" ]
null
null
null
#ifndef MANIFOLDS_FUNCTIONS_CONCEPTS_HH #define MANIFOLDS_FUNCTIONS_CONCEPTS_HH #include "variables.hh" #include "composition.hh" #include "addition.hh" #include "multiplication.hh" namespace manifolds { template <class T> struct is_variable : std::false_type {}; template <int N, bool a, bool c> struct is_variable<V...
30.528302
80
0.70581
GuylainGreer
a1f1506404fa5a3207e701f62d2d0d4b679d5156
1,523
cpp
C++
SQLiteFS/SQLiteArchive.cpp
sedawk/SqliteFS
d308c7d8bc178afffec86290b29c3754188aa4a2
[ "MIT" ]
1
2022-02-10T02:55:16.000Z
2022-02-10T02:55:16.000Z
SQLiteFS/SQLiteArchive.cpp
sedawk/SqliteFS
d308c7d8bc178afffec86290b29c3754188aa4a2
[ "MIT" ]
null
null
null
SQLiteFS/SQLiteArchive.cpp
sedawk/SqliteFS
d308c7d8bc178afffec86290b29c3754188aa4a2
[ "MIT" ]
1
2022-02-10T07:08:58.000Z
2022-02-10T07:08:58.000Z
#include <stdexcept> #include "SQLiteArchive.hpp" #include "Util.hpp" #include "SQLitePreparedStatementFactory.hpp" #include "SQLiteRootDirectory.hpp" #include "SQLiteDirectory.hpp" #include "SQLiteFile.hpp" #include "SQLitePath.hpp" namespace SQLite { void Archive::open(std::shared_ptr<SQLite::Database> db) { mDB...
27.196429
75
0.692712
sedawk
a1fa1d0301f911238570cbf318c39dc22b42ded2
5,604
cpp
C++
SideProject/Intermediate/Build/Win64/UE4Editor/Inc/SideProject/MyCharacter.gen.cpp
Therobodavo/Purification-Camp
fe511459c4d938157f3ebb7f9256a02c12be675b
[ "MIT" ]
null
null
null
SideProject/Intermediate/Build/Win64/UE4Editor/Inc/SideProject/MyCharacter.gen.cpp
Therobodavo/Purification-Camp
fe511459c4d938157f3ebb7f9256a02c12be675b
[ "MIT" ]
null
null
null
SideProject/Intermediate/Build/Win64/UE4Editor/Inc/SideProject/MyCharacter.gen.cpp
Therobodavo/Purification-Camp
fe511459c4d938157f3ebb7f9256a02c12be675b
[ "MIT" ]
null
null
null
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
52.373832
570
0.813526
Therobodavo
a1faf478182abac5bc9d6ef285c68d1f15532d59
17,327
cpp
C++
GraphicsSamples/RawGraphicsOnWindows/RawDX11/RawDX11_Triangle_With_ComPtr/DX11_Triangle.cpp
dmhud/AllSamples
9bfa3d26a51d7722927f05a48e1dbf5fc399d150
[ "Unlicense" ]
null
null
null
GraphicsSamples/RawGraphicsOnWindows/RawDX11/RawDX11_Triangle_With_ComPtr/DX11_Triangle.cpp
dmhud/AllSamples
9bfa3d26a51d7722927f05a48e1dbf5fc399d150
[ "Unlicense" ]
null
null
null
GraphicsSamples/RawGraphicsOnWindows/RawDX11/RawDX11_Triangle_With_ComPtr/DX11_Triangle.cpp
dmhud/AllSamples
9bfa3d26a51d7722927f05a48e1dbf5fc399d150
[ "Unlicense" ]
null
null
null
#include "DX11_Triangle.h" #include <vector> #include <d3d11.h> #include <dxgi1_2.h> #include <d3dcompiler.h> #include "Common/DX.Utils/DxException.h" #include "Common/Math.Utils/Math.h" #include "Common/Win.Utils/ExePath.h" void DX11_Triangle::DrawTriangle(HWND hWnd, uint32_t windowWidth, uint32_t windowHeight) { ...
36.097917
122
0.702141
dmhud
a1fc0d174cf444e0ab58d32893339a3af96e1a68
1,620
cpp
C++
Suffix-Array(Doubling).cpp
cirno99/Algorithms
6425b143f406693caf8f882bdfe5497c81df255a
[ "Unlicense" ]
1,210
2016-08-07T13:32:12.000Z
2022-03-21T01:01:57.000Z
Suffix-Array(Doubling).cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
7
2016-09-11T11:41:03.000Z
2017-10-29T02:12:57.000Z
Suffix-Array(Doubling).cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
514
2016-10-17T03:52:16.000Z
2022-03-19T16:23:33.000Z
#include <cstdio> #include <cstring> #define STRING_LENGTH 100000 using namespace std; struct sortinfo { int x, y, ord; }; int l; char s[STRING_LENGTH]; int rank[STRING_LENGTH * 2], sa[STRING_LENGTH]; void radix_sort(sortinfo *d) { static sortinfo _d[STRING_LENGTH], res[STRING_LENGTH]; static int c[STRING_LENGT...
14.210526
77
0.448148
cirno99
a1fe0d7c1cf06943b39286420805b97bd9fdb09b
4,912
cpp
C++
src/adtfUser/common/katanaWorld/src/RoadJunction.cpp
KAtana-Karlsruhe/AADC_2015_KAtana
c6e55be189b8b2d46c905926b6533df2aba5979e
[ "BSD-4-Clause" ]
null
null
null
src/adtfUser/common/katanaWorld/src/RoadJunction.cpp
KAtana-Karlsruhe/AADC_2015_KAtana
c6e55be189b8b2d46c905926b6533df2aba5979e
[ "BSD-4-Clause" ]
null
null
null
src/adtfUser/common/katanaWorld/src/RoadJunction.cpp
KAtana-Karlsruhe/AADC_2015_KAtana
c6e55be189b8b2d46c905926b6533df2aba5979e
[ "BSD-4-Clause" ]
null
null
null
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*- // -- BEGIN LICENSE BLOCK ---------------------------------------------- // -- END LICENSE BLOCK ------------------------------------------------ //---------------------------------------------------------------------- /*!\file * * \author ...
30.893082
158
0.652484
KAtana-Karlsruhe
a1ff1251e626289c4dc32899b0f29f8c4cfacc9d
3,105
cpp
C++
jit/bf.cpp
Mark1626/performance-case-studies
06890e80a945f66bade639a9dedd6bf6eeb4e2f1
[ "CC0-1.0" ]
null
null
null
jit/bf.cpp
Mark1626/performance-case-studies
06890e80a945f66bade639a9dedd6bf6eeb4e2f1
[ "CC0-1.0" ]
null
null
null
jit/bf.cpp
Mark1626/performance-case-studies
06890e80a945f66bade639a9dedd6bf6eeb4e2f1
[ "CC0-1.0" ]
null
null
null
#include "parser.h" #include "util.h" #include <cstdint> #include <fstream> #include <iomanip> #include <iostream> #include <vector> constexpr int MEMORY_SIZE = 30000; void interpretor(const Program &p, bool verbose) { std::vector<uint8_t> memory(MEMORY_SIZE, 0); size_t pc = 0; size_t dataptr = 0; while (pc ...
23.171642
72
0.485668
Mark1626
b80026d2b70cfdb47bd1cb5e7d134da481591096
2,257
cpp
C++
src/tmsocket/cpp/server_communicator.cpp
Timothy-LiuXuefeng/TMChat
cd69441524f1b86914477f3061e36ffbb8d17478
[ "MIT" ]
1
2022-01-30T01:09:15.000Z
2022-01-30T01:09:15.000Z
src/tmsocket/cpp/server_communicator.cpp
Timothy-LiuXuefeng/TMChat
cd69441524f1b86914477f3061e36ffbb8d17478
[ "MIT" ]
null
null
null
src/tmsocket/cpp/server_communicator.cpp
Timothy-LiuXuefeng/TMChat
cd69441524f1b86914477f3061e36ffbb8d17478
[ "MIT" ]
null
null
null
#include "../include/server_communicator.hpp" #include <prep/include/prep.h> #include <cstddef> #include <string> #include <utility> #include <algorithm> TMSOCKET_NAMESPACE_BEGIN #include "details/protocol.ipp" server_communicator:: server_communicator() { this->m_stm.on_reveive ( [this] (tmsocket_t...
19.626087
90
0.701817
Timothy-LiuXuefeng
b8017d93c4850e975c5fc579e0dd964bfd1b45ab
1,150
cpp
C++
Source/Engine/Core/Resources/ResourceFactory.cpp
everard/SELENE-Device
775bb5cf66ba9fdbc55eac7b216e035c36d82954
[ "MIT" ]
null
null
null
Source/Engine/Core/Resources/ResourceFactory.cpp
everard/SELENE-Device
775bb5cf66ba9fdbc55eac7b216e035c36d82954
[ "MIT" ]
null
null
null
Source/Engine/Core/Resources/ResourceFactory.cpp
everard/SELENE-Device
775bb5cf66ba9fdbc55eac7b216e035c36d82954
[ "MIT" ]
null
null
null
// Copyright (c) 2012 Nezametdinov E. Ildus // Licensed under the MIT License (see LICENSE.txt for details) #include "ResourceFactory.h" #include "ResourceManager.h" namespace selene { ResourceFactory::ResourceFactory(FileManager* fileManager): fileManager_(fileManager), resourceManager_(null...
34.848485
98
0.493043
everard
b802a0b7659d1f22dd4ea2aee5aaafc8177026fb
4,853
cpp
C++
unit_tests/os_interface/windows/driver_info_tests.cpp
abhi5658054/compute-runtime
894060de5010874381fc981cf96a722769e65a76
[ "MIT" ]
1
2022-03-04T22:47:19.000Z
2022-03-04T22:47:19.000Z
unit_tests/os_interface/windows/driver_info_tests.cpp
abhi5658054/compute-runtime
894060de5010874381fc981cf96a722769e65a76
[ "MIT" ]
null
null
null
unit_tests/os_interface/windows/driver_info_tests.cpp
abhi5658054/compute-runtime
894060de5010874381fc981cf96a722769e65a76
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017 - 2018, Intel Corporation * * 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 use, copy, modify, merge,...
37.620155
109
0.762209
abhi5658054
b8033f5c4f1d9d07692592354e4e646209e29962
2,563
cpp
C++
usaco/january-2022/bronze/problem-2/problem-2.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
usaco/january-2022/bronze/problem-2/problem-2.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
usaco/january-2022/bronze/problem-2/problem-2.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
#include <iostream> #include <ios> using std::cin; int main() { std::ios_base::sync_with_stdio(false); cin.tie(nullptr); int t{0}; cin >> t; for (int i{0}; i < t; ++i) { int die1[4], die2[4]; for (int j{0}; j < 4; ++j) { cin >> die1[j]; } double prob2{0}; double prob1{0}; ...
19.270677
40
0.261022
Yash-Singh1
b80544cba266f8ae7a54e8f4be80e41852b1af37
7,254
cpp
C++
src/turtlebot_controller.cpp
DevasenaInupakutika/assn2
e533e0560241c81fa92a25b7058187562aa9fbfc
[ "Apache-2.0" ]
1
2015-03-06T05:33:39.000Z
2015-03-06T05:33:39.000Z
src/turtlebot_controller.cpp
DevasenaInupakutika/assn2
e533e0560241c81fa92a25b7058187562aa9fbfc
[ "Apache-2.0" ]
null
null
null
src/turtlebot_controller.cpp
DevasenaInupakutika/assn2
e533e0560241c81fa92a25b7058187562aa9fbfc
[ "Apache-2.0" ]
null
null
null
#include <ros/ros.h> #include <math.h> #include <iostream> #include "boost/thread/mutex.hpp" #include <LinearMath/btMatrix3x3.h> #include <sensor_msgs/LaserScan.h> #include <geometry_msgs/Twist.h> #include <geometry_msgs/PoseStamped.h> #include <visualization_msgs/Marker.h> #include <tf/transform_listener.h> #include ...
28.447059
89
0.621588
DevasenaInupakutika
b80859b2aecabe1fa51dabf8c71180d89f1db61b
48,944
cpp
C++
src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp
berkansasmaz/runtime
7626c5d8be527d6735eddcdc7c97423211d8f9e9
[ "MIT" ]
1
2021-11-21T18:25:08.000Z
2021-11-21T18:25:08.000Z
src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp
berkansasmaz/runtime
7626c5d8be527d6735eddcdc7c97423211d8f9e9
[ "MIT" ]
1
2021-11-19T10:42:54.000Z
2021-11-19T10:42:54.000Z
src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp
berkansasmaz/runtime
7626c5d8be527d6735eddcdc7c97423211d8f9e9
[ "MIT" ]
1
2020-01-31T06:16:53.000Z
2020-01-31T06:16:53.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // Derived class from CCeeGen which handles writing out // the exe. All references to PEWriter pulled out of CCeeGen, // and moved here // // #include "stdafx.h" #include <string.h>...
36.744745
147
0.616541
berkansasmaz
b80c8bd5dca485d9744f1e7de8264d7e87f3987a
13,797
cpp
C++
test/core/crypto/crypto_store/crypto_store_test.cpp
Harrm/kagome
22932bbbbf2f09712ca81b9e6256492f84cf2a46
[ "Apache-2.0" ]
null
null
null
test/core/crypto/crypto_store/crypto_store_test.cpp
Harrm/kagome
22932bbbbf2f09712ca81b9e6256492f84cf2a46
[ "Apache-2.0" ]
null
null
null
test/core/crypto/crypto_store/crypto_store_test.cpp
Harrm/kagome
22932bbbbf2f09712ca81b9e6256492f84cf2a46
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "crypto/crypto_store/crypto_store_impl.hpp" #include <gmock/gmock.h> #include "crypto/bip39/impl/bip39_provider_impl.hpp" #include "crypto/ed25519/ed25519_provider_impl.hpp" #include "crypto/pbkdf2/impl/pbkd...
38.431755
80
0.718272
Harrm
b80d3c82f849ab216721d0f6d7f6841f90a1f9a2
1,162
hpp
C++
dylibwrap/DylibWrap.hpp
churuxu/codesnippets
9d01c53a5bd7be29168e3c8bfb27ebacc5164f03
[ "MIT" ]
4
2018-11-05T03:21:02.000Z
2021-09-25T15:33:52.000Z
dylibwrap/DylibWrap.hpp
churuxu/codesnippets
9d01c53a5bd7be29168e3c8bfb27ebacc5164f03
[ "MIT" ]
null
null
null
dylibwrap/DylibWrap.hpp
churuxu/codesnippets
9d01c53a5bd7be29168e3c8bfb27ebacc5164f03
[ "MIT" ]
2
2021-01-28T08:14:07.000Z
2021-09-25T15:33:54.000Z
#pragma once /** 用于动态加载dll/so的包装类 用法示例: class User32DLL { public: DYLIB_LOAD(User32DLL, "user32"); DYLIB_IMPORT(MessageBoxA); DYLIB_IMPORT(MessageBoxW); }; User32DLL user32; user32.MessageBoxA(NULL, "Hello World", "test", MB_OK); */ #include <stdexcept> #include <string> #ifdef _WIN32 #include <...
15.090909
65
0.636833
churuxu
b81874f403f5aa58b31dd0a8fe27df2f303f13ff
1,770
hpp
C++
SDK/ARKSurvivalEvolved_ProjMekSiegeCannon_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_ProjMekSiegeCannon_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_ProjMekSiegeCannon_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_ProjMekSiegeCannon_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //------------------------------------------------------...
38.478261
208
0.590395
2bite
b81adeaf4697f45632c66e56d383c6949584a165
4,737
hh
C++
dam/source/cc/dam/DataFragmentUnpack.hh
DUNE/dunepdsprce
2a4ca9b5ed08e1ba6ff7972681d8c0076d314d30
[ "BSD-3-Clause-LBNL" ]
null
null
null
dam/source/cc/dam/DataFragmentUnpack.hh
DUNE/dunepdsprce
2a4ca9b5ed08e1ba6ff7972681d8c0076d314d30
[ "BSD-3-Clause-LBNL" ]
null
null
null
dam/source/cc/dam/DataFragmentUnpack.hh
DUNE/dunepdsprce
2a4ca9b5ed08e1ba6ff7972681d8c0076d314d30
[ "BSD-3-Clause-LBNL" ]
null
null
null
// -*-Mode: C++;-*- #ifndef DATAFRAGMENTUNPACK_HH #define DATAFRAGMENTUNPACK_HH /* ---------------------------------------------------------------------- *//*! * * @file DataFragment.hh * @brief Access methods for the RCE data fragments * decoding a binary test file. * @verbatim * ...
35.886364
80
0.410809
DUNE
b81b14fbdab9a89d7245ebe0466bb3ca7fce1725
8,764
cpp
C++
main.cpp
Bango1999/cpp-tictactoe-cli
6add1cc62b242212b7106cf79426f674e9b654c8
[ "MIT" ]
null
null
null
main.cpp
Bango1999/cpp-tictactoe-cli
6add1cc62b242212b7106cf79426f674e9b654c8
[ "MIT" ]
null
null
null
main.cpp
Bango1999/cpp-tictactoe-cli
6add1cc62b242212b7106cf79426f674e9b654c8
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- // Program: tic tac toe cli // Name: Bango // Purpose: This will be an implementation of a tic-tac-toe game. // This is a 2 player version of tic-tac-toe where 'X' goes first // followed by 'O'. When it is player 1's...
30.430556
507
0.420812
Bango1999
b81e68a74e764c0c9d2c8ccab0ffa0d53c328407
1,967
cpp
C++
main.cpp
svenpilz/gpgpu
0c74790f3753ecafa10256745531de4e6240787d
[ "MIT" ]
1
2016-04-09T00:39:04.000Z
2016-04-09T00:39:04.000Z
main.cpp
svenpilz/gpgpu
0c74790f3753ecafa10256745531de4e6240787d
[ "MIT" ]
null
null
null
main.cpp
svenpilz/gpgpu
0c74790f3753ecafa10256745531de4e6240787d
[ "MIT" ]
null
null
null
#include <iostream> #include <gpgpu/Context.hpp> #include <gpgpu/Framebuffer.hpp> #include <gpgpu/Program.hpp> #include <OpenImageIO/imagebufalgo.h> using namespace std; int main() { /* * Context */ gpgpu::Context context; cout << context << endl; /* * Shader */ gpgpu::Progr...
20.705263
66
0.571429
svenpilz
b821505ac59988b02264175486a38ad044fd3c68
1,192
cpp
C++
Extern/il2cpp/24.2/il2cpp/libil2cpp/os/c-api/Path.cpp
TDToolbox/btdapi
b8349ef33d5bc2dacc85e96ced86dc37e972e8ee
[ "MIT" ]
null
null
null
Extern/il2cpp/24.2/il2cpp/libil2cpp/os/c-api/Path.cpp
TDToolbox/btdapi
b8349ef33d5bc2dacc85e96ced86dc37e972e8ee
[ "MIT" ]
8
2020-03-10T23:11:09.000Z
2020-03-14T01:19:32.000Z
Extern/il2cpp/24.2/il2cpp/libil2cpp/os/c-api/Path.cpp
TDToolbox/btdapi
b8349ef33d5bc2dacc85e96ced86dc37e972e8ee
[ "MIT" ]
null
null
null
#include "os/c-api/il2cpp-config-platforms.h" #if !IL2CPP_DOTS_WITHOUT_DEBUGGER #include "os/Path.h" #include "utils/PathUtils.h" #include "Allocator.h" extern "C" { const char* UnityPalGetTempPath() { return Allocator::CopyToAllocatedStringBuffer(il2cpp::os::Path::GetTempPath()); } const ch...
25.361702
107
0.647651
TDToolbox
b822c39b7bcda06ac3fd9e243df856767593e48b
2,715
cpp
C++
buffer.cpp
alexander-sholohov/rtlmuxer
cae7fb29f4daa7df0cd74279bf8168e9645a5306
[ "MIT" ]
13
2016-05-15T08:20:43.000Z
2021-05-19T12:53:46.000Z
buffer.cpp
US1GHQ/rtlmuxer
9f317f9730169b074dcd96bfe4eecaeae22aa4de
[ "MIT" ]
1
2018-11-21T18:19:14.000Z
2018-11-27T12:02:03.000Z
buffer.cpp
US1GHQ/rtlmuxer
9f317f9730169b074dcd96bfe4eecaeae22aa4de
[ "MIT" ]
5
2016-10-14T19:45:56.000Z
2020-10-04T19:31:31.000Z
// // Author: Alexander Sholohov <ra9yer@yahoo.com> // // License: MIT // #include <memory.h> #include "buffer.h" //--------------------------------------------------------------------------------------------------- CBuffer::CBuffer(size_t bufferSize) { m_buffer.resize(bufferSize + 16); m_head = 0; m_tai...
23.815789
101
0.402578
alexander-sholohov
b82664066fbd78861a15ddb3e3cc9346ed2cc044
1,203
cpp
C++
vpi/src/copyMemory.cpp
anycore/anycore-pisa-funcsim
122e08c7b94448ace742bc298740ec4ed1e7ec81
[ "BSD-3-Clause" ]
null
null
null
vpi/src/copyMemory.cpp
anycore/anycore-pisa-funcsim
122e08c7b94448ace742bc298740ec4ed1e7ec81
[ "BSD-3-Clause" ]
null
null
null
vpi/src/copyMemory.cpp
anycore/anycore-pisa-funcsim
122e08c7b94448ace742bc298740ec4ed1e7ec81
[ "BSD-3-Clause" ]
3
2017-10-14T00:51:39.000Z
2021-03-25T16:37:11.000Z
#include <stdio.h> #include <stdlib.h> #include "vpi_user.h" #include "Thread.h" #include "veri_memory_macros.h" #include "veri_memory.h" #include "global_vars.h" #include "VPI_global_vars.h" int copyMemory_calltf(char *user_data) { vpiHandle systf_handle, arg_iterator, arg_handle, reg_handle; s_vpi_value current...
23.588235
64
0.733167
anycore
b83058b31b94eb3c8d13f0dbab2514f00cf7ab38
251
hpp
C++
book/cpp_templates/tmplbook/basics/boolstring.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/basics/boolstring.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/basics/boolstring.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
class BoolString { private: std::string value; public: BoolString (std::string const& s) : value(s) { } template<typename T = std::string> T get() const { // get value (converted to T) return value; } };
19.307692
57
0.553785
houruixiang
b8308bc07a36798b295c2d51b1bd93ffa8067edb
213
hpp
C++
game.hpp
comprogger/Space-Opera
2ff1d62689c31fcf4878d4255125e82136b94d5e
[ "Artistic-2.0" ]
null
null
null
game.hpp
comprogger/Space-Opera
2ff1d62689c31fcf4878d4255125e82136b94d5e
[ "Artistic-2.0" ]
1
2016-06-01T22:47:33.000Z
2016-06-01T22:47:33.000Z
game.hpp
comprogger/Space-Opera
2ff1d62689c31fcf4878d4255125e82136b94d5e
[ "Artistic-2.0" ]
null
null
null
#ifndef GAME_HPP_INCLUDED #define GAME_HPP_INCLUDED #include <SFML/Graphics.hpp> class Game{ public: static void Start(); private: static sf::RenderWindow app; sf::View view1; }; #endif // GAME_HPP_INCLUDED
16.384615
28
0.755869
comprogger
b831ea1e4e61bbd2a76fa445087f7ab49cd35239
3,495
cc
C++
src/proof_stat_collector.cc
rcurtin/drat2er
77fd5f6abd1ddc5b7ebfdc62d9bf1e3fdd0bfe76
[ "MIT" ]
1
2019-12-24T18:37:34.000Z
2019-12-24T18:37:34.000Z
src/proof_stat_collector.cc
rcurtin/drat2er
77fd5f6abd1ddc5b7ebfdc62d9bf1e3fdd0bfe76
[ "MIT" ]
4
2018-09-23T23:44:59.000Z
2019-01-22T17:32:10.000Z
src/proof_stat_collector.cc
rcurtin/drat2er
77fd5f6abd1ddc5b7ebfdc62d9bf1e3fdd0bfe76
[ "MIT" ]
2
2018-12-13T22:39:55.000Z
2021-08-09T21:06:48.000Z
// MIT License // // Copyright (c) 2018 Benjamin Kiesl // // 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 use, copy, modi...
27.96
79
0.762232
rcurtin
b836de530818bb730f484311be23e725c3afda4c
1,368
cxx
C++
src/internal/1m/dot.cxx
devinamatthews/tensor
7d979b6624071879383377611cb2fa483b6a3104
[ "BSD-3-Clause" ]
86
2016-05-30T16:08:24.000Z
2022-03-30T22:57:35.000Z
src/internal/1m/dot.cxx
devinamatthews/tensor
7d979b6624071879383377611cb2fa483b6a3104
[ "BSD-3-Clause" ]
41
2017-02-02T22:28:17.000Z
2022-02-22T16:51:14.000Z
src/internal/1m/dot.cxx
devinamatthews/tensor
7d979b6624071879383377611cb2fa483b6a3104
[ "BSD-3-Clause" ]
26
2016-05-30T16:08:33.000Z
2021-12-29T03:02:30.000Z
#include "dot.hpp" namespace tblis { namespace internal { template <typename T> void dot(const communicator& comm, const config& cfg, len_type m, len_type n, bool conj_A, const T* A, stride_type rs_A, stride_type cs_A, bool conj_B, const T* B, stride_type rs_B, stride_type cs_B, T& result) { if ...
26.823529
90
0.592105
devinamatthews
b83b9d79495d47c49ed32a1dbc8c36093d718ad6
1,567
cpp
C++
BurningGround/src/hooks/consume.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
8
2015-04-03T16:50:59.000Z
2021-01-06T17:12:29.000Z
BurningGround/src/hooks/consume.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
6
2015-04-03T18:10:56.000Z
2016-02-18T05:04:21.000Z
BurningGround/src/hooks/consume.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
6
2015-04-04T04:37:33.000Z
2018-04-09T09:03:50.000Z
#include "consume.h" #include "max_unit_energy.h" #include "../SCBW/api.h" #include "../SCBW/scbwdata.h" #include "../SCBW/enumerations.h" /// Helper function: Sets death scores for [unit] owned by [player]. void incrementDeathScores(const CUnit *unit, u8 player); /// Decides whether the given unit can be ...
31.34
86
0.668794
idmontie
b83cafb7bb44272086953fc5bb485628de372e86
3,872
cc
C++
backend/schema/verifiers/foreign_key_verifiers_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
179
2020-03-30T20:30:49.000Z
2022-03-31T04:47:55.000Z
backend/schema/verifiers/foreign_key_verifiers_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
53
2020-08-31T15:14:30.000Z
2022-03-30T21:28:36.000Z
backend/schema/verifiers/foreign_key_verifiers_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
26
2020-04-02T04:05:58.000Z
2022-02-22T12:05:55.000Z
// // Copyright 2020 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 ...
31.737705
87
0.668905
sgorse12
b83ee13397a05776a3c1e47ad5d079b0391122d9
2,606
cpp
C++
src/xr_3da/xrGame/GameTask_script.cpp
ixray-team/ixray-b2939
d9dc2359c0177cd3b58c310e015a1f390af2d8a1
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
src/xr_3da/xrGame/GameTask_script.cpp
ixray-team/ixray-b2939
d9dc2359c0177cd3b58c310e015a1f390af2d8a1
[ "Linux-OpenIB" ]
null
null
null
src/xr_3da/xrGame/GameTask_script.cpp
ixray-team/ixray-b2939
d9dc2359c0177cd3b58c310e015a1f390af2d8a1
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
#include "stdafx.h" #include "GameTask.h" #include "script_space.h" #include <luabind/adopt_policy.hpp> using namespace luabind; #pragma optimize("s",on) void CGameTask::script_register(lua_State *L) { module(L) [ class_<enum_exporter<ETaskState> >("task") .enum_("task_state") [ valu...
46.535714
84
0.651573
ixray-team
b83f048dc7c3b3547b53cb378630a073b7d4552e
1,277
cpp
C++
Plugins/VictoryPlugin-master/Source/VictoryBPLibrary/Private/VictoryBPHTML.cpp
crimsonstrife/velorum-defunct
1a6e1eab9057293da2aa045eff021d069df54c5e
[ "CC0-1.0" ]
null
null
null
Plugins/VictoryPlugin-master/Source/VictoryBPLibrary/Private/VictoryBPHTML.cpp
crimsonstrife/velorum-defunct
1a6e1eab9057293da2aa045eff021d069df54c5e
[ "CC0-1.0" ]
null
null
null
Plugins/VictoryPlugin-master/Source/VictoryBPLibrary/Private/VictoryBPHTML.cpp
crimsonstrife/velorum-defunct
1a6e1eab9057293da2aa045eff021d069df54c5e
[ "CC0-1.0" ]
null
null
null
/* By Rama */ #include "VictoryBPLibraryPrivatePCH.h" #include "VictoryBPHTML.h" #if PLATFORM_HTML5_BROWSER #include "SDL_opengl.h" DEFINE_LOG_CATEGORY_STATIC(VictoryPluginHTML, Log, All); #include "emscripten.h" #include "html5.h" #endif bool UVictoryBPHTML::IsHTML() { #if PLATFORM_HTML5_BROWSER return tr...
20.269841
72
0.729052
crimsonstrife
b84141fe534387171bef980fd9676c08b623280b
1,349
cpp
C++
Day 25/Flood Fill - DFS Version (Better).cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
4
2019-12-12T19:59:50.000Z
2020-01-20T15:44:44.000Z
Day 25/Flood Fill - DFS Version (Better).cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
Day 25/Flood Fill - DFS Version (Better).cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
// Question Link ---> https://leetcode.com/problems/flood-fill/ // Day #25 #include <iostream> #include <vector> #include <queue> using namespace std; class Solution { public: vector<vector<int>> floodFill(vector<vector<int>>& image, int sr, int sc, int newColor) { // We need to consider starting pix...
30.659091
96
0.570793
shtanriverdi
cdc7bd71d9ec72ddccba414e42a22e60c693de99
9,632
cxx
C++
modules/scene_manager/include/geometry_msgs/msg/dds_connext/PoseStamped_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/geometry_msgs/msg/dds_connext/PoseStamped_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/geometry_msgs/msg/dds_connext/PoseStamped_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/* WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY. This file was generated from PoseStamped_.idl using "rtiddsgen". The rtiddsgen tool is part of the RTI Connext distribution. For more information, type 'rtiddsgen -help' at a command shell or consult the RTI Connext manual. */ #ifndef NDDS_STANDALONE_TYPE #ifn...
34.898551
138
0.48858
Omnirobotic
cdc85a8aaa84d76d1b59685fdf79359face70a9d
3,191
hpp
C++
stan/math/rev/core/operator_multiplication.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
stan/math/rev/core/operator_multiplication.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
stan/math/rev/core/operator_multiplication.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_REV_CORE_OPERATOR_MULTIPLICATION_HPP #define STAN_MATH_REV_CORE_OPERATOR_MULTIPLICATION_HPP #include <stan/math/rev/core/var.hpp> #include <stan/math/rev/core/vv_vari.hpp> #include <stan/math/rev/core/vd_vari.hpp> #include <stan/math/prim/scal/fun/is_any_nan.hpp> #include <limits> namespace stan { n...
26.155738
78
0.622689
peterwicksstringfield
cdcb3c9d7b0ab48f58035e94362a02c755229f35
203
cpp
C++
judges/uri/iniciante/1174.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
null
null
null
judges/uri/iniciante/1174.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T11:53:02.000Z
2018-10-17T11:54:42.000Z
judges/uri/iniciante/1174.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T12:14:04.000Z
2018-10-17T12:14:04.000Z
#include <bits/stdc++.h> using namespace std; int main (){ double n[100]; for(int i = 0; i < 100; i++){ cin >> n[i]; if(n[i] <= 10){ printf("A[%d] = %.1lf\n", i, n[i]); } } return 0; }
11.277778
38
0.472906
eduardonunes2525
cdcdda1727cad51d2b9f1d5364b44d01972f86f3
1,317
cc
C++
洛谷/提高/P2014.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
67
2019-07-14T05:38:41.000Z
2021-12-23T11:52:51.000Z
洛谷/提高/P2014.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
null
null
null
洛谷/提高/P2014.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
12
2020-01-16T10:48:01.000Z
2021-06-11T16:49:04.000Z
/* * Author : OFShare * E-mail : OFShare@outlook.com * Created Time : 2020-07-01 13:40:58 PM * File Name : P2014.cc */ #include <bits/stdc++.h> #define ll long long void debug() { #ifdef Acui freopen("data.in", "r", stdin); freopen("data.out", "w", stdout); #endif } const int N = ...
21.241935
65
0.459377
OFShare
cdcdfa70ac642fa745ec04bc6dcd146877c746ac
3,001
cpp
C++
src/ldb_reader.cpp
Prime9999/liblcf
3ea048387c36b14af48a4061a7a23d2276f35ac4
[ "MIT" ]
null
null
null
src/ldb_reader.cpp
Prime9999/liblcf
3ea048387c36b14af48a4061a7a23d2276f35ac4
[ "MIT" ]
null
null
null
src/ldb_reader.cpp
Prime9999/liblcf
3ea048387c36b14af48a4061a7a23d2276f35ac4
[ "MIT" ]
null
null
null
/* * This file is part of liblcf. Copyright (c) 2018 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright and license information, please view the COPYING * file that was distributed with t...
30.01
106
0.715095
Prime9999
cdce7c6e95a62bd75ef115cdc5cbb46bff04970e
1,439
cpp
C++
Source/RuntimeImageLoader/Private/ImageReaders/ImageReaderLocal.cpp
RaiaN/ue4_runtimeimageimporter
02fec76b591fb9b5988e3355bf73f16248c244a4
[ "MIT" ]
1
2022-02-02T09:06:41.000Z
2022-02-02T09:06:41.000Z
Source/RuntimeImageLoader/Private/ImageReaders/ImageReaderLocal.cpp
RaiaN/ue4_runtimeimageimporter
02fec76b591fb9b5988e3355bf73f16248c244a4
[ "MIT" ]
null
null
null
Source/RuntimeImageLoader/Private/ImageReaders/ImageReaderLocal.cpp
RaiaN/ue4_runtimeimageimporter
02fec76b591fb9b5988e3355bf73f16248c244a4
[ "MIT" ]
null
null
null
// Copyright 2022 Peter Leontev. All Rights Reserved. #include "ImageReaderLocal.h" #include "HAL/FileManager.h" #include "Misc/FileHelper.h" #include "Stats/Stats.h" bool FImageReaderLocal::ReadImage(const FString& ImageURI, TArray<uint8>& OutImageData) { QUICK_SCOPE_CYCLE_COUNTER(STAT_RuntimeImageUtils_ImportFi...
27.673077
104
0.702571
RaiaN
cdd31d556fdcad78e0b66559b3a5d11b71f88d97
261
hpp
C++
lib/tests/ruby/ruby_helper.hpp
mihaibuzgau/facter
451ee4288c61c6185295b454339801b84b8242ef
[ "Apache-2.0" ]
null
null
null
lib/tests/ruby/ruby_helper.hpp
mihaibuzgau/facter
451ee4288c61c6185295b454339801b84b8242ef
[ "Apache-2.0" ]
null
null
null
lib/tests/ruby/ruby_helper.hpp
mihaibuzgau/facter
451ee4288c61c6185295b454339801b84b8242ef
[ "Apache-2.0" ]
null
null
null
#pragma once #include <facter/facts/collection.hpp> #include <facter/facts/value.hpp> #include <string> bool load_custom_fact(std::string const& filename, facter::facts::collection& facts); std::string ruby_value_to_string(facter::facts::value const* value);
29
85
0.777778
mihaibuzgau
cdd3415aacc6450af278647dd8d7980e2c101d2e
1,460
hpp
C++
gearoenix/render/camera/gx-rnd-cmr-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/render/camera/gx-rnd-cmr-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/render/camera/gx-rnd-cmr-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_RENDER_CAMERA_MANAGER_HPP #define GEAROENIX_RENDER_CAMERA_MANAGER_HPP #include "../../core/asset/gx-cr-asset-manager.hpp" #include "../../core/cache/gx-cr-cache-file.hpp" #include "../../core/sync/gx-cr-sync-end-caller.hpp" #include "gx-rnd-cmr-camera.hpp" namespace gearoenix { namespace system::stre...
33.181818
131
0.65411
Hossein-Noroozpour
cdd66f3fdd4f4cbd8a5d1bedc91b172b0727f686
1,824
hpp
C++
layout/include/nesci/layout/spike_detector.hpp
halfflat/nesci
60f90b41d4d4c50a306fe2af28b322c1cbef943c
[ "Apache-2.0" ]
null
null
null
layout/include/nesci/layout/spike_detector.hpp
halfflat/nesci
60f90b41d4d4c50a306fe2af28b322c1cbef943c
[ "Apache-2.0" ]
null
null
null
layout/include/nesci/layout/spike_detector.hpp
halfflat/nesci
60f90b41d4d4c50a306fe2af28b322c1cbef943c
[ "Apache-2.0" ]
1
2018-10-11T15:14:36.000Z
2018-10-11T15:14:36.000Z
//------------------------------------------------------------------------------ // nesci -- neuronal simulator conan interface // // Copyright (c) 2018 RWTH Aachen University, Germany, // Virtual Reality & Immersive Visualization Group. //------------------------------------------------------------------------------ /...
35.076923
80
0.645285
halfflat
cdd6d6354490997081eaa944e7bd55f72e3091fb
6,367
cpp
C++
src/qt/qtbase/tests/auto/corelib/tools/qsize/tst_qsize.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/tests/auto/corelib/tools/qsize/tst_qsize.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/corelib/tools/qsize/tst_qsize.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercia...
29.476852
122
0.641275
power-electro
cdd86cd37fbbfb7ed78c314cfa0208fc260b1c1f
2,860
hpp
C++
lib/dmitigr/fcgi/listener_options.hpp
dmitigr/fcgi
0d3755e87c8fe168a7325c5fb93f450375601bfc
[ "Zlib" ]
40
2019-05-16T14:37:10.000Z
2022-03-25T11:35:13.000Z
lib/dmitigr/fcgi/listener_options.hpp
dmitigr/fcgi
0d3755e87c8fe168a7325c5fb93f450375601bfc
[ "Zlib" ]
2
2019-05-30T09:41:03.000Z
2020-05-27T18:29:38.000Z
lib/dmitigr/fcgi/listener_options.hpp
dmitigr/fcgi
0d3755e87c8fe168a7325c5fb93f450375601bfc
[ "Zlib" ]
6
2019-05-17T13:13:41.000Z
2022-01-18T01:26:50.000Z
// -*- C++ -*- // Copyright (C) Dmitry Igrishin // For conditions of distribution and use, see files LICENSE.txt or fcgi.hpp #ifndef DMITIGR_FCGI_LISTENER_OPTIONS_HPP #define DMITIGR_FCGI_LISTENER_OPTIONS_HPP #include "dmitigr/fcgi/dll.hpp" #include "dmitigr/fcgi/types_fwd.hpp" #include <dmitigr/misc/filesystem.hpp>...
25.535714
109
0.682517
dmitigr
cde33b2e843334d259f12f8a2263cd8d663b6996
701
cpp
C++
LeetCode/Tree/same-tree.cpp
vasanth9/coding-universe
69ffcb58af0c163689ab9893e6d1e0581e0247e0
[ "MIT" ]
null
null
null
LeetCode/Tree/same-tree.cpp
vasanth9/coding-universe
69ffcb58af0c163689ab9893e6d1e0581e0247e0
[ "MIT" ]
null
null
null
LeetCode/Tree/same-tree.cpp
vasanth9/coding-universe
69ffcb58af0c163689ab9893e6d1e0581e0247e0
[ "MIT" ]
null
null
null
/** Definition for a binary tree node. */ //https://leetcode.com/problems/same-tree/ #include<bits/stdc++.h> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode() : val(0), left(nullptr), right(nullptr) {} TreeNode(int x) : val(x), left(nullptr),...
31.863636
92
0.603424
vasanth9
cde815305470ccc734b19a7718cdd93b74788053
607
cpp
C++
src/main.cpp
danbz/signsSlippyMap
7b5b1f512479fc27a2ddbdd6b34b074a3c0cae2c
[ "MIT" ]
null
null
null
src/main.cpp
danbz/signsSlippyMap
7b5b1f512479fc27a2ddbdd6b34b074a3c0cae2c
[ "MIT" ]
null
null
null
src/main.cpp
danbz/signsSlippyMap
7b5b1f512479fc27a2ddbdd6b34b074a3c0cae2c
[ "MIT" ]
null
null
null
// // slippy map elements based on example code Copyright (c) 2014 Christopher Baker <https://christopherbaker.net> // SPDX-License-Identifier: MIT // /* Project Title: Signs of Surveillance Description: ©Daniel Buzzo 2019 dan@buzzo.com http://buzzo.com https://github.com/danbz */ #include "ofAppRunner.h" #...
20.931034
112
0.70346
danbz
cdebb80f0ab70fcd88c13f4c41657343898bfbc6
5,744
cpp
C++
src/optimizer/rule/PushFilterDownGetNbrsRule.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
1
2021-08-23T05:55:55.000Z
2021-08-23T05:55:55.000Z
src/optimizer/rule/PushFilterDownGetNbrsRule.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
src/optimizer/rule/PushFilterDownGetNbrsRule.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "optimizer/rule/PushFilterDownGetNbrsRule.h" #include "common/expression/BinaryExpression.h" #include "common/...
35.02439
95
0.657904
yixinglu
cdf05999595b8296f34e1e2e39939a2ca3dbb56e
3,733
cc
C++
tensorflow/core/kernels/matrix_inverse_op.cc
sylviawhoa/tensorflow
30f3cdfc420d831e2591cce62fa51164cf8a700a
[ "Apache-2.0" ]
21
2016-03-10T11:55:45.000Z
2021-02-03T02:49:11.000Z
tensorflow/core/kernels/matrix_inverse_op.cc
sylviawhoa/tensorflow
30f3cdfc420d831e2591cce62fa51164cf8a700a
[ "Apache-2.0" ]
null
null
null
tensorflow/core/kernels/matrix_inverse_op.cc
sylviawhoa/tensorflow
30f3cdfc420d831e2591cce62fa51164cf8a700a
[ "Apache-2.0" ]
39
2016-03-25T05:13:09.000Z
2020-06-16T01:30:53.000Z
/* Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
40.139785
80
0.723547
sylviawhoa
cdfe2209868063639d2d513a2b54807c5630e9bc
1,572
cpp
C++
src/cppcalllua_lib/jass_luastate.cpp
uniqss/uconfig
85bd9e429d0d6df4b6a4d6100a0a7c968160c565
[ "MIT" ]
1
2020-12-30T08:06:51.000Z
2020-12-30T08:06:51.000Z
projects/uconfiglua/src/jass_luastate.cpp
uniqss/uniqsconfiggenerator
00fcf2b89d43d86c5eb210e8e517cff9a6303b91
[ "MIT" ]
3
2021-04-12T03:32:39.000Z
2021-04-12T03:38:36.000Z
projects/uconfiglua/src/jass_luastate.cpp
uniqss/uniqsconfiggenerator
00fcf2b89d43d86c5eb210e8e517cff9a6303b91
[ "MIT" ]
null
null
null
#include "jass_luastate.h" // Use raw function of form "int(lua_State*)" // -- this is called a "raw C function", // and matches the type for lua_CFunction int LoadFileRequire(lua_State* L) { // use sol2 stack API to pull // "first argument" std::string path = sol::stack::get<std::string>(L, 1); if (path == "a") ...
27.578947
117
0.648219
uniqss
cdff7ff2070b66edde68e62e8ece8465b1e07a29
3,476
cpp
C++
src/Processors/Formats/Impl/JSONCompactEachRowRowOutputFormat.cpp
540522905/ClickHouse
299445ec7da10bd2ef62d8e333a95b7ab12bf5f2
[ "Apache-2.0" ]
2
2022-03-15T16:35:11.000Z
2022-03-18T12:39:52.000Z
src/Processors/Formats/Impl/JSONCompactEachRowRowOutputFormat.cpp
540522905/ClickHouse
299445ec7da10bd2ef62d8e333a95b7ab12bf5f2
[ "Apache-2.0" ]
null
null
null
src/Processors/Formats/Impl/JSONCompactEachRowRowOutputFormat.cpp
540522905/ClickHouse
299445ec7da10bd2ef62d8e333a95b7ab12bf5f2
[ "Apache-2.0" ]
null
null
null
#include <IO/WriteHelpers.h> #include <IO/WriteBufferValidUTF8.h> #include <Processors/Formats/Impl/JSONCompactEachRowRowOutputFormat.h> #include <Formats/FormatFactory.h> #include <Formats/registerWithNamesAndTypes.h> namespace DB { JSONCompactEachRowRowOutputFormat::JSONCompactEachRowRowOutputFormat(WriteBuffer &...
27.808
152
0.682681
540522905
a8057a68a9b2951cfab34cb04e3a82cd1f6e045c
26,344
cpp
C++
src/lp_data/HighsModelUtils.cpp
ERGO-Code/HiGHS
5196737298b23cbf1b8d300ca3e1bf3898041801
[ "MIT" ]
241
2018-03-27T15:04:14.000Z
2022-03-31T14:44:18.000Z
src/lp_data/HighsModelUtils.cpp
ERGO-Code/HiGHS
5196737298b23cbf1b8d300ca3e1bf3898041801
[ "MIT" ]
384
2018-03-28T10:34:36.000Z
2022-03-31T20:19:37.000Z
src/lp_data/HighsModelUtils.cpp
ERGO-Code/HiGHS
5196737298b23cbf1b8d300ca3e1bf3898041801
[ "MIT" ]
54
2018-04-28T22:43:19.000Z
2022-03-31T14:44:22.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the HiGHS linear optimization suite */ /* */ /* Written an...
37.052039
80
0.605641
ERGO-Code
a805cf5a88e2c33b7877e17769b40ac702621243
178
hpp
C++
dev/test/so_5_extra/disp/asio_one_thread/multifile_hello/a.hpp
Stiffstream/so5extra
20f4c83ecde1509fbaf337dcf40f2f49dcf2690d
[ "BSD-3-Clause" ]
12
2020-01-02T01:32:50.000Z
2022-02-07T17:55:54.000Z
dev/test/so_5_extra/disp/asio_one_thread/multifile_hello/a.hpp
Stiffstream/so5extra
20f4c83ecde1509fbaf337dcf40f2f49dcf2690d
[ "BSD-3-Clause" ]
1
2019-09-04T12:33:35.000Z
2020-01-15T15:22:20.000Z
dev/test/so_5_extra/disp/asio_one_thread/multifile_hello/a.hpp
Stiffstream/so5extra
20f4c83ecde1509fbaf337dcf40f2f49dcf2690d
[ "BSD-3-Clause" ]
3
2019-08-30T09:55:26.000Z
2022-03-19T12:29:04.000Z
#pragma once #include <so_5_extra/disp/asio_one_thread/pub.hpp> void make_coop_a( so_5::environment_t & env, so_5::extra::disp::asio_one_thread::dispatcher_handle_t disp );
19.777778
64
0.775281
Stiffstream
a808fe8a5a392d42a9a9dd76074627d98b9a06f9
2,799
cpp
C++
src/config.cpp
manjogsingh/ComputerNetworks2020
37e061fcc0f988d9eb720cc8df54b9d1b627ce3f
[ "MIT" ]
null
null
null
src/config.cpp
manjogsingh/ComputerNetworks2020
37e061fcc0f988d9eb720cc8df54b9d1b627ce3f
[ "MIT" ]
null
null
null
src/config.cpp
manjogsingh/ComputerNetworks2020
37e061fcc0f988d9eb720cc8df54b9d1b627ce3f
[ "MIT" ]
1
2020-11-03T00:11:43.000Z
2020-11-03T00:11:43.000Z
#include <iostream> #include <vector> #include <string> #include <fstream> #include <algorithm> #include <sstream> using namespace std; struct configpeer{ int peerId; string hostname; int listport; bool havefile; } confp; struct configcommon{ int noprfnbrs; int unchokint; int optunchokint...
25.445455
73
0.518042
manjogsingh
a80ad36a5094a9d8084e3949d43e7a0c3bdbbb16
3,601
cpp
C++
week5_spanning_trees/1_connecting_points/connecting_points.cpp
cdlavila/Algorithms-on-Graphs
7bbb9937ede317b0080932c73664748bc5a9f0d0
[ "MIT" ]
null
null
null
week5_spanning_trees/1_connecting_points/connecting_points.cpp
cdlavila/Algorithms-on-Graphs
7bbb9937ede317b0080932c73664748bc5a9f0d0
[ "MIT" ]
null
null
null
week5_spanning_trees/1_connecting_points/connecting_points.cpp
cdlavila/Algorithms-on-Graphs
7bbb9937ede317b0080932c73664748bc5a9f0d0
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <iomanip> #include <vector> #include <cmath> using namespace std; // Disjoint set implementation class disjoint_set { private: int *rank, *parent; unsigned int n; public: // default constructor disjoint_set() = default; // Constructor to create an...
24.834483
116
0.579006
cdlavila
a813227e81753b00849810d67580f4564b45f55f
968
hpp
C++
include/sharpen/AsyncReadWriteLock.hpp
iceBear67/Sharpen
4f00fb13a2b3e7dc26cdb34596d58f958eb341f8
[ "MIT" ]
13
2020-10-25T04:02:07.000Z
2022-03-29T13:21:30.000Z
include/sharpen/AsyncReadWriteLock.hpp
iceBear67/Sharpen
4f00fb13a2b3e7dc26cdb34596d58f958eb341f8
[ "MIT" ]
18
2020-10-09T04:51:03.000Z
2022-03-01T06:24:23.000Z
include/sharpen/AsyncReadWriteLock.hpp
iceBear67/Sharpen
4f00fb13a2b3e7dc26cdb34596d58f958eb341f8
[ "MIT" ]
7
2020-10-23T04:25:28.000Z
2022-03-23T06:52:39.000Z
#pragma once #ifndef _SHARPEN_ASYNCREADWRITELOCK_HPP #define _SHARPEN_ASYNCREADWRITELOCK_HPP #include <list> #include "AwaitableFuture.hpp" namespace sharpen { enum class ReadWriteLockState { Free, SharedReading, UniquedWriting }; class AsyncReadWriteLock:public sharpen::Nonc...
19.755102
83
0.646694
iceBear67
a813e0cbb9fa0a0e0053a8a103fd78a6322be976
1,396
hpp
C++
ext/src/java/util/Properties_XmlSupport.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/util/Properties_XmlSupport.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/util/Properties_XmlSupport.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <java/io/fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/util/fwd-POI.hpp> #include <sun/util/spi/fwd-POI.hpp> #include <java/lang/Object.hpp> struct default_init_tag; class java::uti...
29.702128
133
0.698424
pebble2015
a813ff369b15329f575fac851fe8a334b23785cd
6,424
cpp
C++
examples/06_duino/main/SSD1306UiDemo.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
335
2016-10-12T06:59:33.000Z
2022-03-29T14:26:04.000Z
examples/06_duino/main/SSD1306UiDemo.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
30
2016-10-30T11:23:59.000Z
2021-11-12T10:51:20.000Z
examples/06_duino/main/SSD1306UiDemo.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
48
2016-10-30T08:41:13.000Z
2022-02-15T22:15:09.000Z
/** * The MIT License (MIT) * * Copyright (c) 2016 by Daniel Eichhorn * Copyright (c) 2016 by Fabrice Weinberg * * 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, i...
33.458333
162
0.721669
graealex