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
78123188b58a4238f015ed2a33afc5360fdef54c
1,268
cc
C++
ports/www/chromium-legacy/newport/files/patch-base_threading_platform__thread__linux.cc
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
1
2022-02-08T02:24:08.000Z
2022-02-08T02:24:08.000Z
ports/www/chromium-legacy/newport/files/patch-base_threading_platform__thread__linux.cc
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ports/www/chromium-legacy/newport/files/patch-base_threading_platform__thread__linux.cc
danielfojt/DeltaPorts
5710b4af4cacca5eb1ac577df304c788c07c4217
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
--- base/threading/platform_thread_linux.cc.orig 2019-03-11 22:00:51 UTC +++ base/threading/platform_thread_linux.cc @@ -18,7 +18,9 @@ #if !defined(OS_NACL) && !defined(OS_AIX) #include <pthread.h> +#if !defined(OS_BSD) #include <sys/prctl.h> +#endif #include <sys/resource.h> #include <sys/time.h> #include <sys...
40.903226
80
0.733438
danielfojt
78138a58ead6d55c434b76ade30cee7a1b049cfb
6,615
cpp
C++
apps/devApps/ofSynthFloatiesExample/src/FloatingSine.cpp
HellicarAndLewis/ProjectDonk
96fde869c469f8312843333e51c862bd3b143222
[ "MIT" ]
1
2015-12-05T04:53:15.000Z
2015-12-05T04:53:15.000Z
apps/devApps/ofSynthFloatiesExample/src/FloatingSine.cpp
HellicarAndLewis/ProjectDonk
96fde869c469f8312843333e51c862bd3b143222
[ "MIT" ]
null
null
null
apps/devApps/ofSynthFloatiesExample/src/FloatingSine.cpp
HellicarAndLewis/ProjectDonk
96fde869c469f8312843333e51c862bd3b143222
[ "MIT" ]
null
null
null
/* * FloatingSine.cpp * ofSynth * * Created by damian on 12/01/11. * Copyright 2011 frey damian@frey.co.nz. All rights reserved. * */ #include "FloatingSine.h" static const float RADIUS = 30.0f; // pentatonic static const int SCALE_STEPS_PENTATONIC = 5; static const float SCALE_PENTATONIC[SCALE_STEPS_P...
28.269231
158
0.694785
HellicarAndLewis
78179b1dfad2bcae017ef85816dee3cda955c733
75,794
cpp
C++
dev/Gems/ScriptCanvasTesting/Code/Tests/ScriptCanvas_Core.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
2
2020-12-22T01:02:01.000Z
2020-12-22T01:02:05.000Z
dev/Gems/ScriptCanvasTesting/Code/Tests/ScriptCanvas_Core.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
dev/Gems/ScriptCanvasTesting/Code/Tests/ScriptCanvas_Core.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright EntityRef license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license belo...
40.166402
251
0.705636
jeikabu
7818f610f9d012020338ac08ac054864afd454c0
565
cpp
C++
codeforces/contests/round/646-div2/c.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/contests/round/646-div2/c.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/contests/round/646-div2/c.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> int32_t main(){ desync(); int t; cin >> t; while(t--){ int n, x; cin >> n >> x; int cnt = 0; for(int i=1; i<n; ++i){ int a, b; cin >> a >> b; if(a == x or b == x) cnt++; } if...
19.482759
41
0.316814
tysm
781969a6b52dc866a1f04fd36357081fcd7d0d5b
7,030
cpp
C++
cpp/open3d/visualization/gui/Button.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
1
2021-05-10T04:23:24.000Z
2021-05-10T04:23:24.000Z
cpp/open3d/visualization/gui/Button.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
null
null
null
cpp/open3d/visualization/gui/Button.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
1
2021-11-05T01:16:13.000Z
2021-11-05T01:16:13.000Z
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2021 www.open3d.org // // Permissio...
37.393617
80
0.624609
Dudulle
781b076387a86f0610600e89ede7e4e78c99712f
370
cpp
C++
Symboltable/src/SymtabEntry.cpp
SystemOfAProg/SysProgTotallyNotTheSolution
0a3b1b65c084b0cd9eac7b35cc486ad0ae6d0bb9
[ "MIT" ]
null
null
null
Symboltable/src/SymtabEntry.cpp
SystemOfAProg/SysProgTotallyNotTheSolution
0a3b1b65c084b0cd9eac7b35cc486ad0ae6d0bb9
[ "MIT" ]
null
null
null
Symboltable/src/SymtabEntry.cpp
SystemOfAProg/SysProgTotallyNotTheSolution
0a3b1b65c084b0cd9eac7b35cc486ad0ae6d0bb9
[ "MIT" ]
null
null
null
#include "../includes/SymtabEntry.h" #include <cstring> SymtabEntry::SymtabEntry(Information* info) { this->info = info; this->next = NULL; } SymtabEntry::~SymtabEntry() { } SymtabEntry* SymtabEntry::getNext() { return this->next; } void SymtabEntry::setNext(SymtabEntry* next) { this->next = next; } Informatio...
16.086957
46
0.7
SystemOfAProg
781e455ed73908ed72b4682a72adeb0c9ad4993a
4,625
hpp
C++
OptimExplorer/core/utils.hpp
MarkTuddenham/OptimExplorer
1fb724bb80b099ade76d9f8d6179cb561dedb9bd
[ "MIT" ]
1
2020-08-18T20:55:26.000Z
2020-08-18T20:55:26.000Z
OptimExplorer/core/utils.hpp
MarkTuddenham/OptimExplorer
1fb724bb80b099ade76d9f8d6179cb561dedb9bd
[ "MIT" ]
4
2020-10-11T12:57:29.000Z
2020-10-11T14:06:17.000Z
OptimExplorer/core/utils.hpp
MarkTuddenham/OptimExplorer
1fb724bb80b099ade76d9f8d6179cb561dedb9bd
[ "MIT" ]
null
null
null
#if defined(_MSC_VER) && !defined(NDEBUG) #define DISABLE_WARNING_PUSH __pragma(warning(push)) #define DISABLE_WARNING_PUSH_ALL __pragma(warning(push, 0)) #define DISABLE_WARNING_POP __pragma(warning(pop)) #define DISABLE_WARNING(warningNumber) __pragma(warning(disable : warningNumber)) #define DISABLE_WARNI...
56.402439
92
0.697297
MarkTuddenham
781eb578aa62046cf3cd83874e434580b0264997
934
hh
C++
src/utils/matrix/MatrixOperations.hh
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
17
2018-02-09T23:39:06.000Z
2022-03-04T16:27:04.000Z
src/utils/matrix/MatrixOperations.hh
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
22
2017-05-31T19:40:14.000Z
2021-09-24T22:07:47.000Z
src/utils/matrix/MatrixOperations.hh
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
37
2016-12-08T19:39:35.000Z
2022-02-11T19:59:34.000Z
#ifndef __MATRIX_OPERATIONS_H_ #define __MATRIX_OPERATIONS_H_ #include "Matrix.hh" #include "PhaseVector.hh" #include "Bunch.hh" namespace OrbitUtils{ /** The collection of the static methods for matrices. */ class MatrixOperations{ public: /** Inverts the 2D array as a matrix. */ static int inver...
22.780488
68
0.683084
LeoRya
781f5650f19507eb6ec43720d07c306bb91080af
11,669
cpp
C++
src/mame/audio/nl_kidniki.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/audio/nl_kidniki.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/audio/nl_kidniki.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Andrew Gardner, Couriersud #include "netlist/devices/net_lib.h" #ifdef NLBASE_H_ #error Somehow nl_base.h made it into the include chain. #endif #define USE_FRONTIERS 1 /* if we use frontiers, use fixed STV for smaller matrix sizes */ #if (USE_FRONTIERS) #define USE_FIXED...
25.367391
303
0.629788
Robbbert
781fbeaa2b4f0bff4d81099f43017283c50ddd3a
7,936
cpp
C++
source/modules/examples/roles/roles.cpp
noglass/FarageBot
f8fbb3a70275230719916fb5083757e8fcf5753b
[ "MIT" ]
null
null
null
source/modules/examples/roles/roles.cpp
noglass/FarageBot
f8fbb3a70275230719916fb5083757e8fcf5753b
[ "MIT" ]
null
null
null
source/modules/examples/roles/roles.cpp
noglass/FarageBot
f8fbb3a70275230719916fb5083757e8fcf5753b
[ "MIT" ]
null
null
null
#include "api/farage.h" #include <unordered_map> #include <unordered_set> #include <fstream> using namespace Farage; #define VERSION "v0.0.4" extern "C" Info Module { "User Roles", "Madison", "User Role Granting System", VERSION, "http://farage.justca.me/", FARAGE_API_VERSION }; namespace rol...
34.960352
151
0.559098
noglass
7820c1e7c5124e6c2a55bd2ad7ea73d0c4e3ae88
1,125
cpp
C++
libc/test/src/string/strdup_test.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
605
2019-10-18T01:15:54.000Z
2022-03-31T14:31:04.000Z
libc/test/src/string/strdup_test.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
libc/test/src/string/strdup_test.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
//===-- Unittests for strdup ----------------------------------------------===// // // 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 // //===---------------------------...
28.125
80
0.624889
mkinsner
7822532491068056bccda67af9935be670d60aa6
2,312
cpp
C++
collector/src/main_win32.cpp
tyoma/micro-profiler
32f6981c643b93997752d414f631fd6684772b28
[ "MIT" ]
194
2015-07-27T09:54:24.000Z
2022-03-21T20:50:22.000Z
collector/src/main_win32.cpp
tyoma/micro-profiler
32f6981c643b93997752d414f631fd6684772b28
[ "MIT" ]
63
2015-08-19T16:42:33.000Z
2022-02-22T20:30:49.000Z
collector/src/main_win32.cpp
tyoma/micro-profiler
32f6981c643b93997752d414f631fd6684772b28
[ "MIT" ]
33
2015-08-21T17:48:03.000Z
2022-02-23T03:54:17.000Z
// Copyright (c) 2011-2021 by Artem A. Gevorkyan (gevorkyan.org) // // 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, ...
34.507463
101
0.773356
tyoma
7822a8e6784939bc2e3f32e0ac89b7080553b9aa
68
cpp
C++
BrowserPivotingIE/HTTPProxy/payload.cpp
ZwCreatePhoton/BrowserPivotingIE
5cc0b8f46b29ec7559de164bc8677457b70607e9
[ "MIT" ]
null
null
null
BrowserPivotingIE/HTTPProxy/payload.cpp
ZwCreatePhoton/BrowserPivotingIE
5cc0b8f46b29ec7559de164bc8677457b70607e9
[ "MIT" ]
null
null
null
BrowserPivotingIE/HTTPProxy/payload.cpp
ZwCreatePhoton/BrowserPivotingIE
5cc0b8f46b29ec7559de164bc8677457b70607e9
[ "MIT" ]
null
null
null
#include "HTTPProxy.h" void Payload() { run(DEFAULT_PROXY_PORT); }
11.333333
25
0.720588
ZwCreatePhoton
7825c118fddfb25686acd603cadb9fb07bf4b437
4,568
cpp
C++
engine/modules/openx/opendrive/opendrive_dynamic_mesh.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
58
2018-05-10T17:06:42.000Z
2019-01-24T13:42:22.000Z
engine/modules/openx/opendrive/opendrive_dynamic_mesh.cpp
blab-liuliang/echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
290
2018-01-24T16:29:42.000Z
2019-01-24T07:11:16.000Z
engine/modules/openx/opendrive/opendrive_dynamic_mesh.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
9
2018-08-26T04:06:21.000Z
2019-01-14T03:47:39.000Z
#include "opendrive_dynamic_mesh.h" #include "engine/core/log/log.h" #include "engine/core/scene/node_tree.h" #include "base/renderer.h" #include "base/shader/shader_program.h" #include "engine/core/main/Engine.h" namespace Echo { OpenDriveDynamicMesh::OpenDriveDynamicMesh() : Render() { setRenderType("3d"); } ...
26.252874
148
0.721103
blab-liuliang
782734aaf28fea2fbf28536efde825f2d7d9af08
34,650
cpp
C++
marxan.cpp
hotzevzl/marxan
23ba3a0ada90e721c745b922363458bece3477dc
[ "MIT" ]
5
2021-02-16T07:50:47.000Z
2021-09-14T00:17:13.000Z
marxan.cpp
hotzevzl/marxan
23ba3a0ada90e721c745b922363458bece3477dc
[ "MIT" ]
7
2021-02-17T00:03:09.000Z
2021-10-05T14:46:22.000Z
marxan.cpp
hotzevzl/marxan
23ba3a0ada90e721c745b922363458bece3477dc
[ "MIT" ]
2
2020-10-02T18:08:17.000Z
2021-06-18T09:03:01.000Z
// C++ code for Marxan // version 2.3 introduced multiple connectivity files and their associated weighting file // version 2.4.3 introduced 1D and 2D probability // version 3.0.0 is refactoring of code in 2019 #include <algorithm> #include <chrono> #include <ctime> #include <cfloat> #include <iostream> #include <omp....
38.715084
206
0.579711
hotzevzl
782899f9988943c76c8561801486af2b8d52e4d9
854
cc
C++
src/bluetooth/bluetooth_extension.cc
izaman/tizen-extensions-crosswalk
e1373788f4e4e271e39b0fee66c26210e40dd86f
[ "Apache-2.0", "BSD-3-Clause" ]
10
2015-01-16T16:14:35.000Z
2018-12-25T16:01:43.000Z
src/bluetooth/bluetooth_extension.cc
liyingzh/tizen-extensions-crosswalk
5957945effafff02a507c35a4b7b4d5ee6ca14c1
[ "Apache-2.0", "BSD-3-Clause" ]
35
2015-01-04T02:11:22.000Z
2015-09-22T08:43:45.000Z
src/bluetooth/bluetooth_extension.cc
liyingzh/tizen-extensions-crosswalk
5957945effafff02a507c35a4b7b4d5ee6ca14c1
[ "Apache-2.0", "BSD-3-Clause" ]
14
2015-02-03T04:38:19.000Z
2022-01-20T10:38:01.000Z
// Copyright (c) 2014 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "bluetooth/bluetooth_extension.h" #if defined(TIZEN_CAPI_BT) #include "bluetooth/bluetooth_instance_capi.h" #else #include "bluetooth/bluetooth...
26.6875
73
0.779859
izaman
7829431a53fb619a77d9d90b26c090cf99083836
8,699
cpp
C++
HUST_ComputerNetworks_Labs/lab8/myping/myping.cpp
HoverWings/IOTCommunicationTechnologyLabs
376866db63086ddce39aae0d492cc6e95f3df1c1
[ "MIT" ]
1
2019-01-13T06:35:06.000Z
2019-01-13T06:35:06.000Z
HUST_ComputerNetworks_Labs/lab8/myping/myping.cpp
HoverWings/IOTCommunicationTechnologyLabs
376866db63086ddce39aae0d492cc6e95f3df1c1
[ "MIT" ]
null
null
null
HUST_ComputerNetworks_Labs/lab8/myping/myping.cpp
HoverWings/IOTCommunicationTechnologyLabs
376866db63086ddce39aae0d492cc6e95f3df1c1
[ "MIT" ]
1
2019-11-29T14:04:22.000Z
2019-11-29T14:04:22.000Z
/* FileName: myping.cpp * Author: Hover * E-Mail: hover@hust.edu.cn * GitHub: HoverWings * Description: the Hover's impletation of ping * Attention: you may need sudo to run this code */ #include <cstdio> #include <iostream> #include <algorithm> #include <iomanip> #include <vector> #include <...
26.440729
127
0.528911
HoverWings
782c86339a22a2846f37801e2431396073f7b918
1,279
cpp
C++
aws-cpp-sdk-lakeformation/source/model/DatabaseResource.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-lakeformation/source/model/DatabaseResource.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-lakeformation/source/model/DatabaseResource.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/lakeformation/model/DatabaseResource.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws ...
17.053333
69
0.716966
Neusoft-Technology-Solutions
782cd72175b8921fa2cb51cff5fb26574814e471
748
hpp
C++
src/Core/External/unsw/unsw/motion/generator/ClippedGenerator.hpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
3
2018-09-18T18:05:05.000Z
2019-10-23T17:47:07.000Z
src/Core/External/unsw/unsw/motion/generator/ClippedGenerator.hpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
1
2020-06-08T18:48:32.000Z
2020-06-19T21:41:16.000Z
src/Core/External/unsw/unsw/motion/generator/ClippedGenerator.hpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
9
2018-09-11T17:19:16.000Z
2019-07-30T16:43:56.000Z
#pragma once #include "motion/generator/Generator.hpp" class ClippedGenerator : Generator { public: explicit ClippedGenerator(Generator* g); ~ClippedGenerator(); virtual JointValues makeJoints(ActionCommand::All* request, Odometry* odometry, ...
31.166667
76
0.536096
pedrohsreis
782d226c5d26f8f1df931900d2cc9c874fc226bb
318
cpp
C++
Diameter Of Binary Tree .cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
2
2021-10-01T04:20:04.000Z
2021-10-01T04:20:06.000Z
Diameter Of Binary Tree .cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
Diameter Of Binary Tree .cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
8
2021-10-01T04:20:38.000Z
2022-03-19T17:05:05.000Z
int diameterOfBinaryTree(TreeNode* root) { int d=0; rec(root, d); return d; } int rec(TreeNode* root, int &d) { if(root == NULL) return 0; int ld = rec(root->left, d); int rd = rec(root->right, d); d=max(d,ld+rd); return max(ld,rd)+1; }
22.714286
42
0.477987
Subhash3
782d63ef335a860c41b2b6f0ba060154c0ab87d0
3,456
cpp
C++
src/maiken/app.cpp
PhilipDeegan/mkn
399dd01990e130c4deeb0c2800204836d3875ae9
[ "BSD-3-Clause" ]
3
2019-02-07T20:50:36.000Z
2019-08-05T19:22:59.000Z
src/maiken/app.cpp
mkn/mkn
a05b542497270def02200df6620804b89429259b
[ "BSD-3-Clause" ]
null
null
null
src/maiken/app.cpp
mkn/mkn
a05b542497270def02200df6620804b89429259b
[ "BSD-3-Clause" ]
null
null
null
/** Copyright (c) 2017, Philip Deegan. 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 notice, this list of conditions and the follow...
37.978022
104
0.688079
PhilipDeegan
782e5d07868a1bc4f1ef192aa6941837cf8123f8
114
hpp
C++
Music/OnMei/Pitch/OnDo/a_Alias.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Music/OnMei/Pitch/OnDo/a_Alias.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Music/OnMei/Pitch/OnDo/a_Alias.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Music/OnMei/Pitch/OnDo/a_Alias.hpp #pragma once using DoSuu = uint;
19
74
0.72807
p-adic
78316209795bf380740a4363ff6af1e88b0566b0
102,696
cpp
C++
genrollups/genrollups.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
genrollups/genrollups.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
genrollups/genrollups.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
// genrollups.cpp : Defines the entry point for the console application. // #include "stdafx.h" #ifdef HAVE_CONFIG_H #include <config.h> #endif #if _WIN32 #include "../libbiokanga/commhdrs.h" #else #include "../libbiokanga/commhdrs.h" #endif const unsigned int cProgVer = 304; // increment with each ...
35.254377
316
0.674272
rsuchecki
783255735e65bcabcc634f0512064bc0808cbecf
4,323
cpp
C++
src/vecmath/cross_product.cpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
src/vecmath/cross_product.cpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
src/vecmath/cross_product.cpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
#ifdef WEIRDLIB_ENABLE_VECTOR_MATH #include "../../include/weirdlib_vecmath.hpp" #include "../../include/cpu_detection.hpp" #include "../../include/weirdlib_simdhelper.hpp" #include <array> namespace wlib::vecmath { #if X86_SIMD_LEVEL >= LV_AVX2 static const auto PERM_MASK_CROSSP_LHS = _mm256_set_epi32(0, 0, 1, 0, ...
36.025
87
0.703909
dogesoulseller
7833f274716337ee25a7eab223247e96841dfdb7
79
cpp
C++
test/unit-tests/metafs/mvm/volume/meta_volume_state_test.cpp
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
38
2021-04-06T03:20:55.000Z
2022-03-02T09:33:28.000Z
test/unit-tests/metafs/mvm/volume/meta_volume_state_test.cpp
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
19
2021-04-08T02:27:44.000Z
2022-03-23T00:59:04.000Z
test/unit-tests/metafs/mvm/volume/meta_volume_state_test.cpp
so931/poseidonos
2aa82f26bfbd0d0aee21cd0574779a655634f08c
[ "BSD-3-Clause" ]
28
2021-04-08T04:39:18.000Z
2022-03-24T05:56:00.000Z
#include "src/metafs/mvm/volume/meta_volume_state.h" #include <gtest/gtest.h>
19.75
52
0.772152
so931
783a5175903571c1c754e056cd78e2084ce1d2d1
6,497
cpp
C++
Nacro/SDK/FN_GAB_AthenaDBNO_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_GAB_AthenaDBNO_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_GAB_AthenaDBNO_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function GAB_AthenaDBNO.GAB_AthenaDBN...
29.39819
145
0.785901
Milxnor
783d5ddfb3bc1652f3ff5d191f70f471a441a899
6,391
cpp
C++
third_party/VisEngine/PresetFrameIO.cpp
Narflex/sagetv
76cb5755e54fd3b01d2bb708a8a72af0aa1533f1
[ "Apache-2.0" ]
292
2015-08-10T18:34:55.000Z
2022-01-26T00:38:45.000Z
third_party/VisEngine/PresetFrameIO.cpp
Narflex/sagetv
76cb5755e54fd3b01d2bb708a8a72af0aa1533f1
[ "Apache-2.0" ]
366
2015-08-10T18:21:02.000Z
2022-01-22T20:03:41.000Z
third_party/VisEngine/PresetFrameIO.cpp
Narflex/sagetv
76cb5755e54fd3b01d2bb708a8a72af0aa1533f1
[ "Apache-2.0" ]
227
2015-08-10T22:24:29.000Z
2022-02-25T19:16:21.000Z
#include "PresetFrameIO.hpp" #include "wipemalloc.h" #include <math.h> #include <cassert> #include <iostream> PresetInputs::PresetInputs() { } void PresetInputs::Initialize ( int gx, int gy ) { int x, y; this->gx =gx; this->gy= gy; this->x_mesh= ( mathtype ** ) wipemalloc ( gx * sizeof ( mathtype * ) ); for ( x...
25.564
141
0.558129
Narflex
783f9c4301f10f37660fe7c80f60c71f3432b3e1
10,196
cpp
C++
third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2000 Simon Hausmann (hausmann@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. * * This library is free soft...
34.100334
80
0.709004
google-ar
78421089f5b1f378e97570df420efc819399389d
2,346
cpp
C++
packages/CLPBN/horus/unit_tests/Common.cpp
ryandesign/yap
9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214
[ "Artistic-1.0-Perl", "ClArtistic" ]
90
2015-03-09T01:24:15.000Z
2022-02-24T13:56:25.000Z
packages/CLPBN/horus/unit_tests/Common.cpp
ryandesign/yap
9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214
[ "Artistic-1.0-Perl", "ClArtistic" ]
52
2016-02-14T08:59:37.000Z
2022-03-14T16:39:35.000Z
packages/CLPBN/horus/unit_tests/Common.cpp
ryandesign/yap
9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214
[ "Artistic-1.0-Perl", "ClArtistic" ]
27
2015-11-19T02:45:49.000Z
2021-11-25T19:47:58.000Z
#include <cstdlib> #include <cmath> #include <cassert> #include <numeric> #include <functional> #include <iostream> #include "Common.h" #include "Util.h" namespace Horus { namespace UnitTests { const std::string modelFile = "../examples/complex.fg" ; const std::vector<Params> marginalProbs = { /* marginals x0 =...
24.4375
66
0.542626
ryandesign
78432ee9cf1d62b320b491645d09370833fcc2f4
16,513
cpp
C++
src/Parameters.cpp
MikeHeiber/Ising_OPV
6a108675bdee1847abee0273b7874d9d312b048e
[ "MIT" ]
8
2015-10-26T22:27:51.000Z
2021-09-01T19:40:29.000Z
src/Parameters.cpp
MikeHeiber/Ising_OPV
6a108675bdee1847abee0273b7874d9d312b048e
[ "MIT" ]
13
2017-04-14T18:27:26.000Z
2020-11-27T19:03:22.000Z
src/Parameters.cpp
MikeHeiber/Ising_OPV
6a108675bdee1847abee0273b7874d9d312b048e
[ "MIT" ]
5
2018-05-22T19:15:10.000Z
2020-02-27T02:23:31.000Z
// Copyright (c) 2014-2019 Michael C. Heiber // This source file is part of the Ising_OPV project, which is subject to the MIT License. // For more information, see the LICENSE file that accompanies this software. // The Ising_OPV project can be found on Github at https://github.com/MikeHeiber/Ising_OPV #include "Para...
36.212719
230
0.690002
MikeHeiber
7845268ec5d8209992670ff50587909751d8c545
2,028
cc
C++
libqpdf/Pl_ASCIIHexDecoder.cc
tomty89/qpdf
e0775238b8b011755b9682555a8449b8a71f33eb
[ "Apache-2.0" ]
1,812
2015-01-27T09:07:20.000Z
2022-03-30T23:03:15.000Z
libqpdf/Pl_ASCIIHexDecoder.cc
tomty89/qpdf
e0775238b8b011755b9682555a8449b8a71f33eb
[ "Apache-2.0" ]
584
2015-01-24T00:31:12.000Z
2022-03-24T21:42:38.000Z
libqpdf/Pl_ASCIIHexDecoder.cc
tomty89/qpdf
e0775238b8b011755b9682555a8449b8a71f33eb
[ "Apache-2.0" ]
204
2015-04-09T16:28:06.000Z
2022-03-29T14:29:45.000Z
#include <qpdf/Pl_ASCIIHexDecoder.hh> #include <qpdf/QTC.hh> #include <stdexcept> #include <string.h> #include <ctype.h> Pl_ASCIIHexDecoder::Pl_ASCIIHexDecoder(char const* identifier, Pipeline* next) : Pipeline(identifier, next), pos(0), eod(false) { this->inbuf[0] = '0'; this->inbuf[1] = '0'; ...
17.482759
80
0.52071
tomty89
784bdea7b6ec687d56c4c1e87db04a58522942f5
1,875
cxx
C++
Modules/Loadable/VolumeRendering/Testing/Cxx/qMRMLVolumePropertyNodeWidgetTest1.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/VolumeRendering/Testing/Cxx/qMRMLVolumePropertyNodeWidgetTest1.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/VolumeRendering/Testing/Cxx/qMRMLVolumePropertyNodeWidgetTest1.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
/*============================================================================== Program: 3D Slicer Copyright (c) Kitware Inc. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to in writing, software distributed under the License...
27.573529
84
0.702933
forfullstack
784e1c675e1798b69faa732596d74064692a0655
11,561
cpp
C++
FEBioFluid/FEFluidSolutesNaturalFlux.cpp
AlexandraAllan23/FEBio
c94a1c30e0bae5f285c0daae40a7e893e63cff3c
[ "MIT" ]
59
2020-06-15T12:38:49.000Z
2022-03-29T19:14:47.000Z
FEBioFluid/FEFluidSolutesNaturalFlux.cpp
AlexandraAllan23/FEBio
c94a1c30e0bae5f285c0daae40a7e893e63cff3c
[ "MIT" ]
36
2020-06-14T21:10:01.000Z
2022-03-12T12:03:14.000Z
FEBioFluid/FEFluidSolutesNaturalFlux.cpp
AlexandraAllan23/FEBio
c94a1c30e0bae5f285c0daae40a7e893e63cff3c
[ "MIT" ]
26
2020-06-25T15:02:13.000Z
2022-03-10T09:14:03.000Z
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obt...
34.927492
155
0.564398
AlexandraAllan23
784e40066228e00614cbf5ff86b6fe1e99c73de0
38,680
cpp
C++
Source/ArchQOR/x86/HLAssembler/Emittables/EInstruction.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/ArchQOR/x86/HLAssembler/Emittables/EInstruction.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/ArchQOR/x86/HLAssembler/Emittables/EInstruction.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//EInstruction.cpp // Copyright (c) 2008-2010, Petr Kobalicek <kobalicek.petr@gmail.com> // Copyright (c) Querysoft Limited 2012 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software...
27.569494
228
0.594907
mfaithfull
7854be80c217f33d28aa45dad4e7ff06fb4cb6d7
1,507
hpp
C++
src/collection_iterator.hpp
stanislav-podlesny/cpp-driver
be08fd0f6cfbf90ec98fdfbe1745e3470bdeeb1d
[ "Apache-2.0" ]
null
null
null
src/collection_iterator.hpp
stanislav-podlesny/cpp-driver
be08fd0f6cfbf90ec98fdfbe1745e3470bdeeb1d
[ "Apache-2.0" ]
null
null
null
src/collection_iterator.hpp
stanislav-podlesny/cpp-driver
be08fd0f6cfbf90ec98fdfbe1745e3470bdeeb1d
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2014-2015 DataStax 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...
25.542373
74
0.711347
stanislav-podlesny
7856065930e739509cee13ad26aea5f0acf43ca8
1,035
cpp
C++
jsUnits/jsEnergy.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsEnergy.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsEnergy.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 DNV AS // // 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 <jsUnits/jsEnergy.h> #include <jsUnits/jsUnitClass.h> #include <Units/Energy.h> #include "jsMomentOfForce.h" #include "j...
34.5
126
0.770048
dnv-opensource
785914de32d34ecb74d516c667d9108859f24afa
697
cpp
C++
Source/Runtime/Foundation/Filesystem/FileStream.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
Source/Runtime/Foundation/Filesystem/FileStream.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
Source/Runtime/Foundation/Filesystem/FileStream.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
// Copyright 2008-2014 Simon Ekström #include "Common.h" #include "FileStream.h" namespace sb { FileStream::FileStream(const File& file) : _file(file) { Assert(_file.IsOpen()); } FileStream::~FileStream() { _file.Close(); } size_t FileStream::Read(void* dst, size_t size) { return _file.Read(dst, (uin...
15.152174
55
0.681492
simeks
785d578f6507848e8cf41c80bbecf74b5faf81d2
7,764
cpp
C++
NtpRsk/NtpRsk.cpp
bochen8709/core
d523ee47c0cbe2db1f3cfe9e71ed77bfd4d2254d
[ "MIT" ]
1
2021-07-11T10:27:46.000Z
2021-07-11T10:27:46.000Z
NtpRsk/NtpRsk.cpp
bochen8709/core
d523ee47c0cbe2db1f3cfe9e71ed77bfd4d2254d
[ "MIT" ]
null
null
null
NtpRsk/NtpRsk.cpp
bochen8709/core
d523ee47c0cbe2db1f3cfe9e71ed77bfd4d2254d
[ "MIT" ]
null
null
null
#include <openssl/bn.h> #include "NtpRsk.h" #include <openssl/rand.h> #include <iostream> /** * A is signature, X is the signed message hash * A^e = X * * e is the RSA exponent, typically 2^16 + 1 * * The proof is d where 1 < d < e (typically 2^16) * * r is a random number, then: * * (A^d *r)^e = X^d * (r^e)...
30.932271
119
0.607805
bochen8709
785e169d4eb1829aa7edce93cd7a20a7269ce9f2
6,418
hpp
C++
SU2-Quantum/Common/include/geometry/meshreader/CCGNSMeshReaderFVM.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/include/geometry/meshreader/CCGNSMeshReaderFVM.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/include/geometry/meshreader/CCGNSMeshReaderFVM.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file CCGNSMeshReaderFVM.hpp * \brief Header file for the class CCGNSMeshReaderFVM. * The implementations are in the <i>CCGNSMeshReaderFVM.cpp</i> file. * \author T. Economon * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU...
38.89697
262
0.677158
Agony5757
785f5be53030f26aed620cfbc7be6e04a6babcc4
1,442
cc
C++
ui/color/color_recipe.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/color/color_recipe.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/color/color_recipe.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-03-07T14:20:02.000Z
2021-03-07T14:20:02.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/color/color_recipe.h" #include <utility> #include "base/logging.h" #include "ui/color/color_mixer.h" #include "ui/color/color_provider_util...
28.27451
79
0.727462
Ron423c
7862bbdc33bd8140cebfb77e683542fee6a9221f
2,009
cpp
C++
src/EchoMidiApp.cpp
Mystfit/ShowtimePlugin-Midi
d803a56305ce2460cb9b496fa696492d67aeab25
[ "MIT" ]
null
null
null
src/EchoMidiApp.cpp
Mystfit/ShowtimePlugin-Midi
d803a56305ce2460cb9b496fa696492d67aeab25
[ "MIT" ]
null
null
null
src/EchoMidiApp.cpp
Mystfit/ShowtimePlugin-Midi
d803a56305ce2460cb9b496fa696492d67aeab25
[ "MIT" ]
null
null
null
#include <showtime/ShowtimeClient.h> #include <showtime/ShowtimeServer.h> #include <showtime/ZstLogging.h> #include <signal.h> using namespace showtime; int s_interrupted = 0; typedef void (*SignalHandlerPointer)(int); void s_signal_handler(int signal_value) { switch (signal_value) { case SIGINT: s_interrupted =...
21.37234
96
0.722748
Mystfit
78644bcea21477a3d64a6355845324d2669e0442
11,011
cpp
C++
rmf_task/src/rmf_task/requests/Delivery.cpp
Rouein/rmf_task
32de25ff127aed754ca760ef462ef8c3e7dd56a1
[ "Apache-2.0" ]
null
null
null
rmf_task/src/rmf_task/requests/Delivery.cpp
Rouein/rmf_task
32de25ff127aed754ca760ef462ef8c3e7dd56a1
[ "Apache-2.0" ]
null
null
null
rmf_task/src/rmf_task/requests/Delivery.cpp
Rouein/rmf_task
32de25ff127aed754ca760ef462ef8c3e7dd56a1
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 Open Source Robotics Foundation * * 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 appl...
31.550143
82
0.647625
Rouein
7864c13983b093bb4dfd300b70170b23e7c788f7
4,998
cpp
C++
AK/LexicalPath.cpp
phoffmeister/serenity
b7af536f9bc925bf29de9b2d032b9c95c9bb55bc
[ "BSD-2-Clause" ]
6
2021-06-11T13:51:40.000Z
2021-12-14T02:29:35.000Z
AK/LexicalPath.cpp
phoffmeister/serenity
b7af536f9bc925bf29de9b2d032b9c95c9bb55bc
[ "BSD-2-Clause" ]
1
2021-11-19T19:20:49.000Z
2021-11-19T19:20:49.000Z
AK/LexicalPath.cpp
phoffmeister/serenity
b7af536f9bc925bf29de9b2d032b9c95c9bb55bc
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * Copyright (c) 2021, Max Wipfli <max.wipfli@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/LexicalPath.h> #include <AK/StringBuilder.h> #include <AK/StringView.h> #include <AK/Vector.h> namespace AK { char s_single_do...
28.890173
116
0.605242
phoffmeister
7867615a8dc6fde056fc32a23fcc05e5958e5643
1,555
cpp
C++
algorithm/algorithm/1/34/main.cpp
6923403/C
d365021759e6d9078254b4b7b6455e0408e4b691
[ "MIT" ]
1
2020-10-01T14:52:45.000Z
2020-10-01T14:52:45.000Z
algorithm/algorithm/1/34/main.cpp
6923403/C
d365021759e6d9078254b4b7b6455e0408e4b691
[ "MIT" ]
3
2020-08-13T07:51:54.000Z
2021-01-29T11:17:25.000Z
algorithm/algorithm/1/34/main.cpp
6923403/C
d365021759e6d9078254b4b7b6455e0408e4b691
[ "MIT" ]
null
null
null
class Solution { public: vector<int> searchRange(vector<int>& nums, int target) { int left_index = -2; int right_index = -2; //寻找左右边界 left_index = get_left(nums, target); right_index = get_right(nums, target); // 情况一 if (left_index == -2 || right_index == -2)...
23.923077
83
0.416077
6923403
786c621a3913178ff704534f47c67e734488b933
2,324
cpp
C++
Test/ListenerTest/Test_listener.cpp
tzimer/private-transaction-families
f67a1fe9fdb8a4525736114dc2e464eb4b6d595e
[ "Apache-2.0" ]
null
null
null
Test/ListenerTest/Test_listener.cpp
tzimer/private-transaction-families
f67a1fe9fdb8a4525736114dc2e464eb4b6d595e
[ "Apache-2.0" ]
null
null
null
Test/ListenerTest/Test_listener.cpp
tzimer/private-transaction-families
f67a1fe9fdb8a4525736114dc2e464eb4b6d595e
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "data_map.h" #include "rest_handler.h" #include "Enclave_u.h" #include "mock_sawtooth.h" #include "config.h" #include "txn_handler.h" //declare the extern global std::string config::g_key_path; std::string config::g_rest_url; std::string addr1, addr2, addr3; ...
29.794872
96
0.686317
tzimer
786c9acf12e9132b25b1f5767186dfd6a1a0e1b3
2,680
cpp
C++
mygraphicsscene.cpp
rbax/qtKabuChart
0604b32389e897174da3bb342bdee21ead498c7c
[ "MIT" ]
1
2021-02-16T10:49:00.000Z
2021-02-16T10:49:00.000Z
mygraphicsscene.cpp
rbax/qtKabuChart
0604b32389e897174da3bb342bdee21ead498c7c
[ "MIT" ]
null
null
null
mygraphicsscene.cpp
rbax/qtKabuChart
0604b32389e897174da3bb342bdee21ead498c7c
[ "MIT" ]
null
null
null
/********************************************************************* * Copyright (c) 2016 nari * This source is released under the MIT license * http://opensource.org/licenses/mit-license.php * * This source code is a modification of article website below. * http://www.walletfox.com/course/qgraphicsitemr...
29.130435
114
0.587687
rbax
786fcc1bb43f7f1a89aee484c9057dbaf2eb0488
8,152
hxx
C++
include/crab/streams.hxx
hrissan/crablib
db86e5f52acddcc233aec755d5fce0e6f19c0e21
[ "MIT" ]
3
2020-02-13T02:08:06.000Z
2020-10-06T16:26:30.000Z
include/crab/streams.hxx
hrissan/crablib
db86e5f52acddcc233aec755d5fce0e6f19c0e21
[ "MIT" ]
null
null
null
include/crab/streams.hxx
hrissan/crablib
db86e5f52acddcc233aec755d5fce0e6f19c0e21
[ "MIT" ]
null
null
null
// Copyright (c) 2007-2020, Grigory Buteyko aka Hrissan // Licensed under the MIT License. See LICENSE for details. #include <algorithm> #include <cstring> #include <iostream> #include <limits> #include <stdexcept> #include "streams.hpp" namespace crab { CRAB_INLINE void IStream::read(uint8_t *val, size_t count) { ...
24.70303
80
0.616658
hrissan
7870d51f7968bced59fbe92f44aaadb74120d3b1
935
hpp
C++
entregas/01-cifrado/CifradoVigenere.hpp
gerardogtn/Calidad-y-Pruebas-de-Software
ed338b5627a343b7dee366aaa36cd735f74e53af
[ "MIT" ]
null
null
null
entregas/01-cifrado/CifradoVigenere.hpp
gerardogtn/Calidad-y-Pruebas-de-Software
ed338b5627a343b7dee366aaa36cd735f74e53af
[ "MIT" ]
null
null
null
entregas/01-cifrado/CifradoVigenere.hpp
gerardogtn/Calidad-y-Pruebas-de-Software
ed338b5627a343b7dee366aaa36cd735f74e53af
[ "MIT" ]
null
null
null
// Copyright 2017 Gerardo Teruel #ifndef UNITARIAS_EJERCICIO03_CIFRADOVIGENERE_H_ #define UNITARIAS_EJERCICIO03_CIFRADOVIGENERE_H_ #include <string> class CifradoVigenere : public Cifrado { private: const std::string key; public: explicit CifradoVigenere(const std::string key) : key(key) {} virtual ~CifradoV...
23.375
63
0.581818
gerardogtn
787578fd45a6eb7cfbc8056ca441dcf39569aff1
348
cpp
C++
Olympiad Solutions/URI/2463.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/URI/2463.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/URI/2463.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// Ivan Carvalho // Solution to https://www.urionlinejudge.com.br/judge/problems/view/2463 #include <cstdio> #include <algorithm> using namespace std; int main(){ int n, m1 = 0, m2 = 0,d; scanf("%d",&n); while(n--){ scanf("%d",&d); m1 = max(0,m1+d); m2 = max(m1,m2); } printf(...
20.470588
73
0.543103
Ashwanigupta9125
787601bab6e036ffa10b8ead9aa11363a2b98cb0
5,170
cpp
C++
src/asm/Instruction.cpp
rigred/VC4C
6c900c0e2fae2cbdd22c5adb044f385ae005468a
[ "MIT" ]
null
null
null
src/asm/Instruction.cpp
rigred/VC4C
6c900c0e2fae2cbdd22c5adb044f385ae005468a
[ "MIT" ]
null
null
null
src/asm/Instruction.cpp
rigred/VC4C
6c900c0e2fae2cbdd22c5adb044f385ae005468a
[ "MIT" ]
null
null
null
/* * Author: doe300 * * See the file "LICENSE" for the full license governing this code. */ #include "Instruction.h" #include "../Values.h" #include "ALUInstruction.h" #include "BranchInstruction.h" #include "LoadInstruction.h" #include "SemaphoreInstruction.h" #include <cstdbool> #include <memory> using namesp...
30.77381
114
0.67234
rigred
78796f3c89bf6e8a8d616f7be1ffc902210e22fe
67,345
cpp
C++
test/word_break_34.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
null
null
null
test/word_break_34.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
1
2021-03-05T12:56:59.000Z
2021-03-05T13:11:53.000Z
test/word_break_34.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
3
2019-10-30T18:38:15.000Z
2021-03-05T12:10:13.000Z
// Warning! This file is autogenerated. #include <boost/text/word_break.hpp> #include <gtest/gtest.h> #include <algorithm> TEST(word, breaks_34) { // ÷ 0031 × 002E × 2060 × 0031 ÷ 0027 ÷ // ÷ [0.2] DIGIT ONE (Numeric) × [12.0] FULL STOP (MidNumLet) × [4.0] WORD JOINER (Format_FE) × [11.0] DIGIT ONE (Numeri...
76.010158
292
0.594239
eightysquirrels
787d6eac8148288a839a06c366f15b75c55bee35
2,711
cpp
C++
Src/Server/OSSupport/IPLookup.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
2
2019-11-17T14:01:21.000Z
2019-12-24T14:29:45.000Z
Src/Server/OSSupport/IPLookup.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
null
null
null
Src/Server/OSSupport/IPLookup.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
3
2019-08-28T14:37:01.000Z
2020-06-17T16:46:32.000Z
// IPLookup.cpp // Implements the cIPLookup class representing an IP-to-hostname lookup in progress. #include "stdafx.h" #include "IPLookup.h" #include <event2/dns.h> #include "NetworkSingleton.h" #include <log4z.h> using namespace zsummer::log4z; /////////////////////////////////////////////////////////////////...
25.819048
112
0.669864
lcmftianci
787e7f8cd1c9c5266eef712814c2dcafd3c3c3af
1,570
cpp
C++
src/io/spoiler_writer.cpp
Nanarki/randstalker
003afdccaa46935d8a7879d6bdaf5d4ab7dfc4a5
[ "MIT" ]
10
2020-01-19T22:10:01.000Z
2021-12-27T15:30:22.000Z
src/io/spoiler_writer.cpp
Nanarki/randstalker
003afdccaa46935d8a7879d6bdaf5d4ab7dfc4a5
[ "MIT" ]
34
2020-01-19T14:31:02.000Z
2022-03-31T22:02:47.000Z
src/io/spoiler_writer.cpp
Nanarki/randstalker
003afdccaa46935d8a7879d6bdaf5d4ab7dfc4a5
[ "MIT" ]
6
2020-01-19T09:37:47.000Z
2022-01-06T01:12:17.000Z
#include "io.hpp" #include <landstalker_lib/tools/json.hpp> #include <landstalker_lib/model/world_teleport_tree.hpp> #include <landstalker_lib/model/entity_type.hpp> #include "../logic_model/world_region.hpp" #include "../logic_model/randomizer_world.hpp" #include "../logic_model/hint_source.hpp" #include "../randomi...
30.784314
102
0.63121
Nanarki
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
787fb1bc3b0b162f0fe957aa87b1795024df620b
3,555
cc
C++
third_party/blink/renderer/core/page/scrolling/text_fragment_selector.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
third_party/blink/renderer/core/page/scrolling/text_fragment_selector.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/core/page/scrolling/text_fragment_selector.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/page/scrolling/text_fragment_selector.h" #include "third_party/blink/renderer/platform/weborigin/kurl.h" #includ...
32.318182
82
0.688045
Ron423c
788353cd8ee9e32879120d99dc27e3862029ff18
9,436
cpp
C++
compiler/luci/pass/src/QuantizePreCheckerPass.test.cpp
glistening/ONE-1
cadf3a4da4f4340081862abbd3900af7c4b0e22d
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/QuantizePreCheckerPass.test.cpp
glistening/ONE-1
cadf3a4da4f4340081862abbd3900af7c4b0e22d
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/QuantizePreCheckerPass.test.cpp
glistening/ONE-1
cadf3a4da4f4340081862abbd3900af7c4b0e22d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2022 Samsung Electronics Co., Ltd. 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...
23.472637
75
0.697541
glistening
78836e890c63a0acf24b58b9e5d9df42ee918320
4,000
cpp
C++
src/Stepper.cpp
zakimadaoui/TinyStepLib
196e9277f470b57fe79d30b3f3a6f127eff77510
[ "MIT" ]
2
2021-01-04T20:42:23.000Z
2021-01-27T14:15:42.000Z
src/Stepper.cpp
zakimadaoui/TinyStepLib
196e9277f470b57fe79d30b3f3a6f127eff77510
[ "MIT" ]
null
null
null
src/Stepper.cpp
zakimadaoui/TinyStepLib
196e9277f470b57fe79d30b3f3a6f127eff77510
[ "MIT" ]
null
null
null
#include "Stepper.h" #include <Arduino.h> uint16_t getPortAddress(char port){ switch (port) { case 'B': return 0x05; case 'C': return 0x08; default://'D' return 0x0B; } } uint16_t getDDrAddress(char port) { switch (port) { case 'B': return 0x04; ...
23.809524
99
0.6115
zakimadaoui
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
78866ed8a7475c7e6aa2a6c8548b3fef33f6718e
10,643
cc
C++
chrome/browser/ui/webui/favicon_source.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/webui/favicon_source.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/webui/favicon_source.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/favicon_source.h" #include <cmath> #include "base/bind.h" #include "base/bind_helpers.h" #include "base/metrics/hi...
37.875445
80
0.705628
mghgroup
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
7889266f1d23a3fe1cdc18e00d83eeb3a99b25b0
1,321
cpp
C++
firmware/common/Motor/L298Motors.cpp
romainreignier/robot2017
8d36689573a35d3f58184fecc5c3b17d8718f71a
[ "Apache-2.0" ]
1
2019-04-01T12:17:26.000Z
2019-04-01T12:17:26.000Z
firmware/common/Motor/L298Motors.cpp
romainreignier/robot2017
8d36689573a35d3f58184fecc5c3b17d8718f71a
[ "Apache-2.0" ]
null
null
null
firmware/common/Motor/L298Motors.cpp
romainreignier/robot2017
8d36689573a35d3f58184fecc5c3b17d8718f71a
[ "Apache-2.0" ]
null
null
null
#include "L298Motors.h" L298Motors::L298Motors(L298& _leftMotor, L298& _rightMotor) : Motors{_leftMotor, _rightMotor} { } void L298Motors::begin() { // Only implement the 2 motors using the same PWM driver (timer) L298 &leftMotor = static_cast<L298&>(m_leftMotor); L298 &rightMotor = static_cast<L298&>(m_right...
33.871795
66
0.766843
romainreignier
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
788cacd411264e16f9c014d4c2a25d7da96a29e3
1,399
cpp
C++
lib/inputdev/NintendoPowerA.cpp
henriquegemignani/boo
403291c191452139ca292f1d6c6067b893b8d8b0
[ "MIT" ]
7
2016-04-16T04:37:59.000Z
2022-02-01T12:39:04.000Z
lib/inputdev/NintendoPowerA.cpp
henriquegemignani/boo
403291c191452139ca292f1d6c6067b893b8d8b0
[ "MIT" ]
8
2016-07-13T03:20:04.000Z
2021-06-30T05:07:10.000Z
lib/inputdev/NintendoPowerA.cpp
henriquegemignani/boo
403291c191452139ca292f1d6c6067b893b8d8b0
[ "MIT" ]
11
2016-04-16T04:40:46.000Z
2022-02-06T04:23:17.000Z
#include "boo/inputdev/NintendoPowerA.hpp" #include <array> #include <cstring> #include "boo/inputdev/DeviceSignature.hpp" namespace boo { NintendoPowerA::NintendoPowerA(DeviceToken* token) : TDeviceBase<INintendoPowerACallback>(dev_typeid(NintendoPowerA), token) {} NintendoPowerA::~NintendoPowerA() = default; voi...
27.431373
113
0.739814
henriquegemignani
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
789aea9b69e07b0615e0f2e4af79b9122a55cf63
1,796
cc
C++
chrome/browser/feature_engagement/new_tab/new_tab_tracker.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/feature_engagement/new_tab/new_tab_tracker.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/feature_engagement/new_tab/new_tab_tracker.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/feature_engagement/new_tab/new_tab_tracker.h" #include "base/time/time.h" #include "chrome/browser/metrics/desktop_session_durat...
28.967742
93
0.77951
zipated
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
789df601a83c28a5e244af60d16398e0e0033551
1,302
cpp
C++
src/kernel/liveupdate.cpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
3,673
2015-12-01T22:14:02.000Z
2019-03-22T03:07:20.000Z
src/kernel/liveupdate.cpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
960
2015-12-01T20:40:36.000Z
2019-03-22T13:21:21.000Z
src/kernel/liveupdate.cpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
357
2015-12-02T09:32:50.000Z
2019-03-22T09:32:34.000Z
#include <kernel.hpp> #include <os.hpp> #include <kernel/memory.hpp> #define HIGHMEM_LOCATION (1ull << 45) //#define LIU_DEBUG 1 #ifdef LIU_DEBUG #define PRATTLE(fmt, ...) kprintf(fmt, ##__VA_ARGS__) #else #define PRATTLE(fmt, ...) /* fmt */ #endif void kernel::setup_liveupdate() { #if defined(ARCH_x86_64) // high...
29.590909
76
0.660522
jaeh
789e40a496280fa94f47a1bc308617b30efd0608
3,507
cpp
C++
libs/interprocess/example/doc_managed_aligned_allocation.cpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
null
null
null
libs/interprocess/example/doc_managed_aligned_allocation.cpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
null
null
null
libs/interprocess/example/doc_managed_aligned_allocation.cpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2006-2009. 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) // // See http://www.boost.org/libs/i...
30.232759
87
0.648417
Ron2014
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
a1946188d3263494de2715006ad285a3ae003587
855
cpp
C++
Algorithms/Minimum Cost to Connect Sticks/solution.cpp
MishaVernik/LeetCode
5f4823706f472b59fbc0c936524477dc039a46ee
[ "MIT" ]
null
null
null
Algorithms/Minimum Cost to Connect Sticks/solution.cpp
MishaVernik/LeetCode
5f4823706f472b59fbc0c936524477dc039a46ee
[ "MIT" ]
null
null
null
Algorithms/Minimum Cost to Connect Sticks/solution.cpp
MishaVernik/LeetCode
5f4823706f472b59fbc0c936524477dc039a46ee
[ "MIT" ]
null
null
null
/* You have some sticks with positive integer lengths. You can connect any two sticks of lengths X and Y into one stick by paying a cost of X + Y. You perform this action until there is one stick remaining. Return the minimum cost of connecting all the given sticks into one stick in this way. Example 1: Input: ...
21.923077
152
0.59883
MishaVernik
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
a19673293f85493ba96b642f196b5550331fbfa9
6,426
cpp
C++
llvm-gcc-4.2-2.9/gcc/config/alpha/llvm-alpha.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/config/alpha/llvm-alpha.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/config/alpha/llvm-alpha.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
/* LLVM LOCAL begin (ENTIRE FILE!) */ /* High-level LLVM backend interface Copyright (C) 2005 Free Software Foundation, Inc. Contributed by Evan Cheng (evan.cheng@apple.com) This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as ...
33.123711
80
0.644569
vidkidz
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
a196d3603872516ec0b2ffd4037c74db31831a36
12,394
cc
C++
applications/query/cencalvmisosurface.cc
baagaard-usgs/cencalvm
c6cca356c722f150178416e5f98a1506dd733db6
[ "CC0-1.0" ]
null
null
null
applications/query/cencalvmisosurface.cc
baagaard-usgs/cencalvm
c6cca356c722f150178416e5f98a1506dd733db6
[ "CC0-1.0" ]
null
null
null
applications/query/cencalvmisosurface.cc
baagaard-usgs/cencalvm
c6cca356c722f150178416e5f98a1506dd733db6
[ "CC0-1.0" ]
null
null
null
// ====================================================================== // // Brad T. Aagaard // U.S. Geological Survey // // ====================================================================== // // C++ application to extract depth (in meters) of specified Vs (m/s)...
28.296804
85
0.579555
baagaard-usgs
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
a19a54247e6952d9e54875804e9a3bf0b9012eeb
472
cpp
C++
llvm-project/clang/test/CodeGen/aix-init-priority-attribute.cpp
AgesX/llvm
841024dce9c0263f302491b5c27fa0df6ef222df
[ "MIT" ]
305
2019-09-14T17:16:05.000Z
2022-03-31T15:05:20.000Z
llvm-project/clang/test/CodeGen/aix-init-priority-attribute.cpp
AgesX/llvm
841024dce9c0263f302491b5c27fa0df6ef222df
[ "MIT" ]
410
2019-06-06T20:52:32.000Z
2022-01-18T14:21:48.000Z
llvm-project/clang/test/CodeGen/aix-init-priority-attribute.cpp
AgesX/llvm
841024dce9c0263f302491b5c27fa0df6ef222df
[ "MIT" ]
50
2019-05-10T21:12:24.000Z
2022-01-21T06:39:47.000Z
// RUN: not %clang_cc1 -triple powerpc-ibm-aix-xcoff -x c++ -emit-llvm < %s \ // RUN: 2>&1 | \ // RUN: FileCheck %s // RUN: not %clang_cc1 -triple powerpc64-ibm-aix-xcoff -x c++ -emit-llvm < %s \ // RUN: 2>&1 | \ // RUN: FileCheck %s class test { int a; public: test(int c) { a = c; } ~test() { a = 0...
23.6
94
0.597458
AgesX
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
a1a35480c731e0dd92a085dc8856a876f3c0f7f9
5,295
cc
C++
tensorflow/compiler/tf2xla/kernels/const_op.cc
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/tf2xla/kernels/const_op.cc
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/tf2xla/kernels/const_op.cc
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable ...
38.649635
81
0.526346
uve
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
a1a7059f2e89693609ee893afda08fc805e57bc9
337
cpp
C++
C++ Classes/Operator Overloading (+).cpp
Aditya9056/cpp-mastering-concepts
b8bd0df0adb960fa6fc57fff5648d34e720bdc11
[ "MIT" ]
1
2021-05-16T10:41:07.000Z
2021-05-16T10:41:07.000Z
C++ Classes/Operator Overloading (+).cpp
Aditya9056/cpp-mastering-concepts
b8bd0df0adb960fa6fc57fff5648d34e720bdc11
[ "MIT" ]
null
null
null
C++ Classes/Operator Overloading (+).cpp
Aditya9056/cpp-mastering-concepts
b8bd0df0adb960fa6fc57fff5648d34e720bdc11
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class hello { public: int var; hello() { } hello(int a) : var(a) { } hello operator+(hello &obj) { hello res; res.var = this->var+obj.var; return res; } }; main() { hello obj1(12), obj2(55); hello res = obj1+obj2; cout<<re...
8.868421
30
0.534125
Aditya9056
a1abc5986ded3b0ed1f8bd49e395d4e1b3ab9968
1,258
cpp
C++
aws-cpp-sdk-medialive/source/model/ListOfferingsResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-medialive/source/model/ListOfferingsResult.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-medialive/source/model/ListOfferingsResult.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/medialive/model/ListOfferingsResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/...
25.16
106
0.749603
Neusoft-Technology-Solutions
a1acc106d6ff085e86454b5a88158df1999a5e60
4,135
cpp
C++
benchmarks/rf_feats_kernel_comp.cpp
srgnuclear/shogun
33c04f77a642416376521b0cd1eed29b3256ac13
[ "Ruby", "MIT" ]
1
2015-11-05T18:31:14.000Z
2015-11-05T18:31:14.000Z
benchmarks/rf_feats_kernel_comp.cpp
waderly/shogun
9288b6fa38e001d63c32188f7f847dadea66e2ae
[ "Ruby", "MIT" ]
null
null
null
benchmarks/rf_feats_kernel_comp.cpp
waderly/shogun
9288b6fa38e001d63c32188f7f847dadea66e2ae
[ "Ruby", "MIT" ]
null
null
null
#include <shogun/base/init.h> #include <shogun/features/RandomFourierDotFeatures.h> #include <shogun/kernel/GaussianKernel.h> #include <shogun/kernel/normalizer/SqrtDiagKernelNormalizer.h> #include <shogun/classifier/svm/LibLinear.h> #include <shogun/classifier/svm/SVMOcas.h> #include <shogun/classifier/svm/LibSVM.h> #...
30.182482
91
0.662394
srgnuclear
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
a1af3a43f51140f778db2b8b0fa4df33354010ec
49,825
cc
C++
src/storage/blobfs/blob.cc
Prajwal-Koirala/fuchsia
ca7ae6c143cd4c10bad9aa1869ffcc24c3e4b795
[ "BSD-2-Clause" ]
2
2021-12-29T10:11:08.000Z
2022-01-04T15:37:09.000Z
src/storage/blobfs/blob.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
2
2021-09-19T21:55:09.000Z
2021-12-19T03:34:53.000Z
src/storage/blobfs/blob.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/storage/blobfs/blob.h" #include <assert.h> #include <ctype.h> #include <fidl/fuchsia.io/cpp/wire.h> #include <fuchsia/device/c/fidl.h> #incl...
39.796326
100
0.692745
Prajwal-Koirala
a1b06e552b4ea9847d43278528cd5350a862aef3
3,654
hpp
C++
phonelibs/acado/include/acado/objective/mayer_term.hpp
Neptos/openpilot
01914a1a91ade18bd7aead99e7d1bf38cd22ad89
[ "MIT" ]
116
2018-03-07T09:00:10.000Z
2020-04-06T18:37:45.000Z
phonelibs/acado/include/acado/objective/mayer_term.hpp
Neptos/openpilot
01914a1a91ade18bd7aead99e7d1bf38cd22ad89
[ "MIT" ]
66
2020-04-09T20:27:57.000Z
2022-01-27T14:39:24.000Z
phonelibs/acado/include/acado/objective/mayer_term.hpp
Neptos/openpilot
01914a1a91ade18bd7aead99e7d1bf38cd22ad89
[ "MIT" ]
154
2020-04-08T21:41:22.000Z
2022-03-17T21:05:33.000Z
/* * This file is part of ACADO Toolkit. * * ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. * Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau, * Milan Vukov, Rien Quirynen, KU Leuven. * Developed within the Optimization in Engineering Center (OPTEC) * u...
26.478261
90
0.547893
Neptos
a1b074a4b4d6289dc156df5667c0b8ba6ea47693
312
cpp
C++
answers/leetcode/Power of Two/Power of Two.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
3
2015-09-04T21:32:31.000Z
2020-12-06T00:37:32.000Z
answers/leetcode/Power of Two/Power of Two.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
answers/leetcode/Power of Two/Power of Two.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
//@time complexity O(1) //@space complexity O(1) //@result 1108 / 1108 test cases passed. Status: Accepted Runtime: 8 ms Submitted: 0 minutes ago You are here! Your runtime beats 7.51% of cpp submissions. class Solution { public: bool isPowerOfTwo(int n) { return n > 0 && ! (n & (n - 1)); } };
28.363636
155
0.644231
FeiZhan
a1b0bfd6ad5f873e3ffaabb08221019091a3efe2
14,460
hpp
C++
include/System/Net/Http/Headers/AuthenticationHeaderValue.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/System/Net/Http/Headers/AuthenticationHeaderValue.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/System/Net/Http/Headers/AuthenticationHeaderValue.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
17
2020-08-20T19:36:52.000Z
2022-03-30T18:28:24.000Z
// 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.IClonea...
63.144105
296
0.734993
sc2ad
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