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
60e6f38df59b15ea527768e6be7dd7bebfabf8eb
411
cpp
C++
DataStructures/Arrays/2DMatrixTranspose.cpp
srivastavayushi/Interview-Preperation
c7fca371c885b9c1b26043450229ac9fe5f5d1ac
[ "MIT" ]
1
2021-05-26T18:01:16.000Z
2021-05-26T18:01:16.000Z
DataStructures/Arrays/2DMatrixTranspose.cpp
srivastavayushi/Interview-Preperation
c7fca371c885b9c1b26043450229ac9fe5f5d1ac
[ "MIT" ]
null
null
null
DataStructures/Arrays/2DMatrixTranspose.cpp
srivastavayushi/Interview-Preperation
c7fca371c885b9c1b26043450229ac9fe5f5d1ac
[ "MIT" ]
null
null
null
// Transpose of 2D Matrix #include <iostream> #include<array> using namespace std; int main(){ int arr[row][col]; cin>>row>>col; for(int i=0; i<row; i++){ for(int j=0;j<col;j++){ cin>>arr[row][col]; } } int array[col][row]; for(int i=0;i<col;i++){ for(int j...
18.681818
53
0.469586
srivastavayushi
60e74c1501eab4625e167fe06e0f36ec75d4182b
4,042
cpp
C++
apps/HelloAndroid/jni/native.cpp
jwitz54/Halide-2016-HLS
dd95daab3a7c871dd2f15c514912e21fb3c2bb7c
[ "MIT" ]
7
2017-04-05T20:52:57.000Z
2018-11-26T10:07:10.000Z
apps/HelloAndroid/jni/native.cpp
jwitz54/Halide-2016-HLS
dd95daab3a7c871dd2f15c514912e21fb3c2bb7c
[ "MIT" ]
10
2017-04-11T02:55:38.000Z
2019-06-27T18:13:36.000Z
apps/HelloAndroid/jni/native.cpp
jwitz54/Halide-2016-HLS
dd95daab3a7c871dd2f15c514912e21fb3c2bb7c
[ "MIT" ]
1
2020-07-10T16:00:39.000Z
2020-07-10T16:00:39.000Z
#include <jni.h> #include <android/log.h> #include <android/bitmap.h> #include <android/native_window_jni.h> #include <time.h> #include <string.h> #include <stdlib.h> #include "halide_generated.h" #include "HalideRuntime.h" #include "HalideRuntimeOpenCL.h" #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,"ha...
29.079137
102
0.607867
jwitz54
60e8c54e97e87900b1659b7f582cc54be08d7918
1,308
cpp
C++
lib/Target/AGC/AGCTargetObjectFile.cpp
lewis-revill/agc-llvm
3ea3042a7323b86631f5d45912970631e131b7fe
[ "Apache-2.0" ]
6
2019-02-13T15:15:12.000Z
2021-11-14T00:40:47.000Z
lib/Target/AGC/AGCTargetObjectFile.cpp
lewis-revill/agc-llvm
3ea3042a7323b86631f5d45912970631e131b7fe
[ "Apache-2.0" ]
null
null
null
lib/Target/AGC/AGCTargetObjectFile.cpp
lewis-revill/agc-llvm
3ea3042a7323b86631f5d45912970631e131b7fe
[ "Apache-2.0" ]
1
2021-11-14T00:40:27.000Z
2021-11-14T00:40:27.000Z
//===-- RISCVTargetObjectFile.cpp - RISCV Object Info ---------------------===// // // 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 // //===---------------------------...
37.371429
80
0.670489
lewis-revill
60eb43c2bedfb51829ae7e72b5d4eab3a5c53239
3,237
cpp
C++
libraries/cor_system/sources/parallel_processor.cpp
rmake/cor-engine
d8920325db490d19dc8c116ab8e9620fe55e9975
[ "MIT" ]
4
2015-01-13T09:55:02.000Z
2016-09-10T03:42:23.000Z
libraries/cor_system/sources/parallel_processor.cpp
rmake/cor-engine
d8920325db490d19dc8c116ab8e9620fe55e9975
[ "MIT" ]
null
null
null
libraries/cor_system/sources/parallel_processor.cpp
rmake/cor-engine
d8920325db490d19dc8c116ab8e9620fe55e9975
[ "MIT" ]
2
2015-01-22T02:30:29.000Z
2021-05-10T06:56:49.000Z
#include "parallel_processor.h" #include <condition_variable> namespace cor { namespace system { struct ParallelProcessorItnl { std::vector<std::thread> threads; JobQueueSP thread_job_queue; JobQueueSP end_job_queue; std::mutex cnd_mutex; ...
27.905172
100
0.463701
rmake
60ee41e79385ab7c2c85208e24d2bd91c3e777c6
11,608
hpp
C++
src/hardware_layer/camera_calibration/include/camera/ocam/camera.hpp
robotic-mining-competition/NDSU2019
2f9a324d110fece78da3f42e2ae89a7fe198e6e3
[ "BSD-3-Clause" ]
1
2019-05-10T22:52:09.000Z
2019-05-10T22:52:09.000Z
src/hardware_layer/camera_calibration/include/camera/ocam/camera.hpp
robotic-mining-competition/NDSU2019
2f9a324d110fece78da3f42e2ae89a7fe198e6e3
[ "BSD-3-Clause" ]
null
null
null
src/hardware_layer/camera_calibration/include/camera/ocam/camera.hpp
robotic-mining-competition/NDSU2019
2f9a324d110fece78da3f42e2ae89a7fe198e6e3
[ "BSD-3-Clause" ]
null
null
null
/*******************************************************************************# # # # Withrobot Camera API # # ...
34.041056
160
0.562112
robotic-mining-competition
60f2510bf8276b0b3f53231b15e7d5b648234e56
1,605
cpp
C++
test/for_each.cpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
13
2017-10-24T07:13:28.000Z
2020-10-07T02:51:31.000Z
test/for_each.cpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
1
2019-10-30T21:50:44.000Z
2019-11-06T19:35:23.000Z
test/for_each.cpp
romariorios/coruja
275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af
[ "BSL-1.0" ]
5
2018-09-19T20:29:07.000Z
2020-03-20T18:12:09.000Z
// Copyright Ricardo Calheiros de Miranda Cosme 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <coruja/object/object.hpp> #include <coruja/object/for_each.hpp> #include <coruja/object/view/transform.hp...
23.26087
62
0.519003
romariorios
60f384d5c04fa91714da56a58c682b3f8d66ec0a
18,218
hpp
C++
include/System/ComponentModel/PropertyDescriptor.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/ComponentModel/PropertyDescriptor.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/ComponentModel/PropertyDescriptor.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// 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: System.ComponentModel.MemberDescrip...
59.731148
236
0.753156
v0idp
60f3d824d18770e16cc359ff485cedefdfc756d0
199,284
inl
C++
Effects11/EffectVariable.inl
sysu-Beadle/LXQ-Engine
f8594f5f11df17af7052e49aa4ca4f0297b6de29
[ "MIT" ]
1
2021-05-12T08:59:01.000Z
2021-05-12T08:59:01.000Z
Effects11/EffectVariable.inl
sysu-Beadle/LXQ-Engine
f8594f5f11df17af7052e49aa4ca4f0297b6de29
[ "MIT" ]
null
null
null
Effects11/EffectVariable.inl
sysu-Beadle/LXQ-Engine
f8594f5f11df17af7052e49aa4ca4f0297b6de29
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // File: EffectVariable.inl // // Direct3D 11 Effects Variable reflection template // These templates define the many Effect variable types. // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND...
40.113527
247
0.684832
sysu-Beadle
60f42502d05b4be11116bf6ab42670c19c5e696c
5,063
cc
C++
base/synchronization/lock_unittest.cc
mockingbirdnest/chromium
da685abcc5b235ed6fac5d52e20dc276530ed9be
[ "BSD-3-Clause" ]
null
null
null
base/synchronization/lock_unittest.cc
mockingbirdnest/chromium
da685abcc5b235ed6fac5d52e20dc276530ed9be
[ "BSD-3-Clause" ]
null
null
null
base/synchronization/lock_unittest.cc
mockingbirdnest/chromium
da685abcc5b235ed6fac5d52e20dc276530ed9be
[ "BSD-3-Clause" ]
null
null
null
// 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 "base/synchronization/lock.h" #include <stdlib.h> #include "base/compiler_specific.h" #include "base/threading/platform_thread.h" #include ...
23.331797
80
0.645467
mockingbirdnest
60f667bc03e0cadc602f6af64b7d960c50339d91
3,110
hpp
C++
source/include/coffee/basis/Exception.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
2
2018-02-03T06:56:29.000Z
2021-04-20T10:28:32.000Z
source/include/coffee/basis/Exception.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
8
2018-02-18T21:00:07.000Z
2018-02-20T15:31:24.000Z
source/include/coffee/basis/Exception.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
1
2018-02-09T07:09:26.000Z
2018-02-09T07:09:26.000Z
// MIT License // // Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitatio...
30.490196
110
0.707395
ciscoruiz
60f895d37755ff98d5c14fcfa0a367677fcd88e5
43,388
cpp
C++
Source/AliveLibCommon/Masher.cpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
208
2018-06-06T13:14:03.000Z
2022-03-30T02:21:27.000Z
Source/AliveLibCommon/Masher.cpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
537
2018-06-06T16:50:45.000Z
2022-03-31T16:41:15.000Z
Source/AliveLibCommon/Masher.cpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
42
2018-06-06T00:40:08.000Z
2022-03-23T08:38:55.000Z
#include "stdafx_common.h" #include "Masher.hpp" #include "Function.hpp" #include "masher_tables.hpp" #include "Sys_common.hpp" #include <array> #include <assert.h> ALIVE_VAR(1, 0xbbb314, Movie_IO, sMovie_IO_BBB314, {}); Movie_IO& GetMovieIO() { return sMovie_IO_BBB314; } AudioDecompressor::AudioDecompressor() {...
34.407613
194
0.605836
mouzedrift
60f9a4e25e775734af11a580734e64e7ddf4bc34
439
cpp
C++
ch03/ex3_40.cpp
zhang1990215/Cpp-Primer
81e51869c02f2ba75e4fe491dee07eaedce2bbc9
[ "CC0-1.0" ]
null
null
null
ch03/ex3_40.cpp
zhang1990215/Cpp-Primer
81e51869c02f2ba75e4fe491dee07eaedce2bbc9
[ "CC0-1.0" ]
null
null
null
ch03/ex3_40.cpp
zhang1990215/Cpp-Primer
81e51869c02f2ba75e4fe491dee07eaedce2bbc9
[ "CC0-1.0" ]
null
null
null
// more discuss: https://github.com/Mooophy/Cpp-Primer/pull/241 // @frank67 #include <iostream> #include <cstring> const char cstr1[]="Hello"; const char cstr2[]="world!"; int main(int argc, char const *argv[]) { constexpr size_t new_size = strlen(cstr1) + strlen(" ") + strlen(cstr2) +1; char cstr3[new_size]...
20.904762
79
0.637813
zhang1990215
60fba977c3998e5b3a61e596cd3a863537bf302d
679
cpp
C++
school1/3A/bnkAccProject/BankAccount.cpp
momomeomo/School
d004bf6ed6fa3a5cec4fa067b61e5842acbaa3f6
[ "Unlicense" ]
null
null
null
school1/3A/bnkAccProject/BankAccount.cpp
momomeomo/School
d004bf6ed6fa3a5cec4fa067b61e5842acbaa3f6
[ "Unlicense" ]
null
null
null
school1/3A/bnkAccProject/BankAccount.cpp
momomeomo/School
d004bf6ed6fa3a5cec4fa067b61e5842acbaa3f6
[ "Unlicense" ]
null
null
null
#include <iostream> #include "BankAccount.h" using namespace std; BankAccount::BankAccount() : name("John Doe"), balance(100) { } BankAccount::BankAccount(string n, double b) : name(n), balance(b) { } double BankAccount::getBalance() { return balance; } bool BankAccount::withdraw(double amt) { if (amt > 0 && b...
13.057692
44
0.637703
momomeomo
880024200dafe7d9aa45b922392c9b788090cb53
1,431
cpp
C++
tests/lpm_math_tests.cpp
pbosler/lpm
ee406355ce45ed4f12290199ba2842070fcc3442
[ "BSD-3-Clause" ]
null
null
null
tests/lpm_math_tests.cpp
pbosler/lpm
ee406355ce45ed4f12290199ba2842070fcc3442
[ "BSD-3-Clause" ]
18
2021-06-27T17:59:03.000Z
2022-02-22T03:41:27.000Z
tests/lpm_math_tests.cpp
pbosler/lpm
ee406355ce45ed4f12290199ba2842070fcc3442
[ "BSD-3-Clause" ]
null
null
null
#include "LpmConfig.h" #include "util/lpm_math.hpp" #include "util/lpm_floating_point.hpp" #include "lpm_comm.hpp" #include "lpm_logger.hpp" #include "catch.hpp" #include <typeinfo> #include <fstream> #include <string> using namespace Lpm; TEST_CASE("lpm_math", "") { Comm comm; Logger<> logger("math_test_log", ...
28.62
85
0.661775
pbosler
8803f55703a55fd53e4bd378a07d766705a380fa
3,669
cpp
C++
source/symbols/CompilationUnitSymbols.cpp
jankcorn/slang
2c697d8f16ef2449110d3094f8eeb6196d1fcabb
[ "MIT" ]
null
null
null
source/symbols/CompilationUnitSymbols.cpp
jankcorn/slang
2c697d8f16ef2449110d3094f8eeb6196d1fcabb
[ "MIT" ]
null
null
null
source/symbols/CompilationUnitSymbols.cpp
jankcorn/slang
2c697d8f16ef2449110d3094f8eeb6196d1fcabb
[ "MIT" ]
1
2021-11-15T05:37:12.000Z
2021-11-15T05:37:12.000Z
//------------------------------------------------------------------------------ // CompilationUnitSymbols.cpp // Contains compilation unit-related symbol definitions // // File is under the MIT license; see LICENSE for details //------------------------------------------------------------------------------ #include "s...
41.693182
99
0.618425
jankcorn
88099bf7d2c9f65a526784adf4b8e0b94b44aabb
3,402
cpp
C++
libsrc/agl/mesh/cylinder.cpp
catlin735/animation-toolkit
ab906fa213a21168b7b5b5fc12aac46dedf60b15
[ "MIT" ]
3
2021-12-24T04:12:53.000Z
2021-12-24T04:14:28.000Z
libsrc/agl/mesh/cylinder.cpp
catlin735/animation-toolkit
ab906fa213a21168b7b5b5fc12aac46dedf60b15
[ "MIT" ]
1
2021-09-17T21:18:38.000Z
2021-09-17T21:18:38.000Z
libsrc/agl/mesh/cylinder.cpp
catlin735/animation-toolkit
ab906fa213a21168b7b5b5fc12aac46dedf60b15
[ "MIT" ]
23
2021-09-02T00:25:25.000Z
2022-01-03T17:35:27.000Z
// Copyright 2018, Savvy Sine, Aline Normoyle #include "agl/mesh/cylinder.h" #include <iostream> #include <vector> #include <cmath> #include "agl/aglm.h" namespace agl { Cylinder::Cylinder(float r, float len, GLuint nSlices) { _r1 = r; _r2 = r; _length = len; _nSlices = nSlices; } Cylinder:...
23.79021
76
0.498824
catlin735
8809dcf21bdfcfce59b4c87b5a6d4d4394dc4fd9
14,750
hpp
C++
modules/core/integration/include/nt2/integration/functions/common/quadgk.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/integration/include/nt2/integration/functions/common/quadgk.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/integration/include/nt2/integration/functions/common/quadgk.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
40.972222
137
0.57322
psiha
880b2355388b7e1f7ea00656f0cae36242952648
23,137
cpp
C++
src/mongo/s/strategy.cpp
baiyanghese/mongo
89fcbab94c7103105e8c72f654a5774a066bdb90
[ "Apache-2.0" ]
1
2015-11-06T05:42:37.000Z
2015-11-06T05:42:37.000Z
src/mongo/s/strategy.cpp
baiyanghese/mongo
89fcbab94c7103105e8c72f654a5774a066bdb90
[ "Apache-2.0" ]
null
null
null
src/mongo/s/strategy.cpp
baiyanghese/mongo
89fcbab94c7103105e8c72f654a5774a066bdb90
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2010 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful,...
39.281834
139
0.532999
baiyanghese
880c54457c81ccea10835f5f299c0668d31f6026
1,793
cc
C++
test/cctest/heap/test-unmapper.cc
ProgArt/WebKit_js_v8
fc683744e50726fc1e3094a3ecce059488cb6921
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
test/cctest/heap/test-unmapper.cc
nacersalaheddine/v8
cffe6247ad06d90d2fb69e3710358983eaed39d5
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
test/cctest/heap/test-unmapper.cc
nacersalaheddine/v8
cffe6247ad06d90d2fb69e3710358983eaed39d5
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/v8.h" #include "src/heap/spaces.h" #include "test/cctest/cctest.h" #include "test/cctest/heap/heap-utils.h" using v8::IdleTask; using v8...
26.761194
76
0.72058
ProgArt
880cda19cda901ac1805b41bdd6f4654f1d66887
1,211
cpp
C++
linear-list/list/copy_list_with_random_pointer.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
1
2015-07-15T07:31:42.000Z
2015-07-15T07:31:42.000Z
linear-list/list/copy_list_with_random_pointer.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
null
null
null
linear-list/list/copy_list_with_random_pointer.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
null
null
null
#include <stddef.h> /** * A linked list is given such that each node contains an additional random pointer which could point to * any node in the list or null. * Return a deep copy of the list. * */ struct RandomListNode { int label; RandomListNode *next, *random; RandomListNode(int x) : label(x), nex...
25.765957
104
0.54583
zhangxin23
8810dca7b29149e6c2cd44f608058dd9c9957fb7
3,404
cpp
C++
libairt/module.cpp
AiRT-Software/ocs
2d6056a1260ac9ac75cfd507fb1a77db3b26298a
[ "BSD-4-Clause" ]
1
2019-02-07T12:24:51.000Z
2019-02-07T12:24:51.000Z
libairt/module.cpp
AiRT-Software/ocs
2d6056a1260ac9ac75cfd507fb1a77db3b26298a
[ "BSD-4-Clause" ]
null
null
null
libairt/module.cpp
AiRT-Software/ocs
2d6056a1260ac9ac75cfd507fb1a77db3b26298a
[ "BSD-4-Clause" ]
1
2020-07-06T10:33:10.000Z
2020-07-06T10:33:10.000Z
#include "log.h" #include "stdMessage.h" #include "module.h" #include "net/message.h" #include "net/socket.h" #include "net/reactor.h" using airt::Context; using airt::Log; using airt::Message; using airt::Module; using airt::Reactor; using airt::Socket; using airt::StdMessage; Module::Module(const std::string &cmdp...
25.214815
112
0.543772
AiRT-Software
8811733f9867291a8ec1436637e46a5ee5c72b63
2,054
hpp
C++
include/cql/exceptions/cql_query_timeout_exception.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
3
2016-02-24T09:22:16.000Z
2021-04-06T03:04:21.000Z
include/cql/exceptions/cql_query_timeout_exception.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
null
null
null
include/cql/exceptions/cql_query_timeout_exception.hpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
6
2015-04-26T07:16:44.000Z
2020-11-23T06:31:07.000Z
/* * File: cql_query_timeout_exception.hpp * Author: mc * * Created on September 16, 2013, 9:53 AM */ #ifndef CQL_QUERY_TIMEOUT_EXCEPTION_H_ #define CQL_QUERY_TIMEOUT_EXCEPTION_H_ #include "cql/cql.hpp" #include "cql/exceptions/cql_query_execution_exception.hpp" namespace cql { // A Cassandra timeout during ...
29.342857
113
0.735151
ncbi
88133ebd9a4152b13aadee1838ae12ed8006217b
645
cpp
C++
leetcode.com/0024 Swap Nodes in Pairs/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0024 Swap Nodes in Pairs/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0024 Swap Nodes in Pairs/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> using namespace std; // Definition for singly-linked list. struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode* swapPairs(ListNode* head) { ListNode sentinel(0); ListNode* top = &sentinel; ...
20.806452
65
0.541085
sky-bro
8817a8f8e7104a76c3ff5556291661b26953b798
56
cpp
C++
test/engine/assets/test_data_factory.cpp
invaderjon/gdev
3f5c5da22160c4980afd6099b0b4e06fdf106204
[ "Apache-2.0" ]
1
2018-10-20T22:08:59.000Z
2018-10-20T22:08:59.000Z
test/engine/assets/test_data_factory.cpp
invaderjon/gdev
3f5c5da22160c4980afd6099b0b4e06fdf106204
[ "Apache-2.0" ]
null
null
null
test/engine/assets/test_data_factory.cpp
invaderjon/gdev
3f5c5da22160c4980afd6099b0b4e06fdf106204
[ "Apache-2.0" ]
null
null
null
// test_data_factory.cpp #include "test_data_factory.h"
18.666667
30
0.803571
invaderjon
8817cc614926aaf771444b44b68a2f30c0e95732
5,933
hpp
C++
cmdstan/stan/lib/stan_math/stan/math/torsten/PKModel/pmetricsCheck.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/stan/math/torsten/PKModel/pmetricsCheck.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/stan/math/torsten/PKModel/pmetricsCheck.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_TORSTEN_PKMODEL_PMETRICSCHECK_HPP #define STAN_MATH_TORSTEN_PKMODEL_PMETRICSCHECK_HPP #include <Eigen/Dense> #include <stan/math/torsten/PKModel/pmxModel.hpp> #include <stan/math/prim/scal/err/invalid_argument.hpp> #include <boost/lexical_cast.hpp> #include <vector> #include <string> #include <iostre...
42.078014
113
0.621777
yizhang-cae
881d09865a7f04e3745d0d2320dd73f01a74b727
1,944
cpp
C++
src/gotobed/EquipMask.cpp
andrelo1/gotobed-ae
9b2001e89de0ac479e9b979f01fa3a6475c8cd79
[ "MIT" ]
1
2022-03-03T17:01:38.000Z
2022-03-03T17:01:38.000Z
src/gotobed/EquipMask.cpp
andrelo1/gotobed-ae
9b2001e89de0ac479e9b979f01fa3a6475c8cd79
[ "MIT" ]
null
null
null
src/gotobed/EquipMask.cpp
andrelo1/gotobed-ae
9b2001e89de0ac479e9b979f01fa3a6475c8cd79
[ "MIT" ]
null
null
null
#include "EquipMask.h" namespace Gotobed { EquipMask::EquipMask(std::uint32_t a_armor, bool a_lhand, bool a_rhand, bool a_ammo, bool a_misc): armor(a_armor), lhand(a_lhand), rhand(a_rhand), ammo(a_ammo), misc(a_misc) { } EquipMask::EquipMask(std::int32_t a_obj) { if (a_obj) { auto domain = jc::dom...
28.588235
109
0.654321
andrelo1
881e39d0888cfe2ba83e65f8d8ddcc7722144ebd
14,946
cpp
C++
Libraries/Widget/Command.cpp
jodavis42/WelderEngineRevamp
1b8776c53857e66b2c933321e965bbe12f0df61e
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Code/Extensions/Widget/Command.cpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
Code/Extensions/Widget/Command.cpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #include "Precompiled.hpp" namespace Zero { namespace Events { DefineEvent(CommandStateChange); DefineEvent(CommandCaptureContext); DefineEvent(CommandExecute); DefineEvent(CommandAdded); DefineEvent(CommandRemoved); DefineEvent(CommandUpdated); } // namespace Events namespace Tags ...
24.262987
114
0.723003
jodavis42
881fd5ca6281a2843a492fc9390cac2ffbb44cf9
166
hpp
C++
examples/16_multiple_animations_and_render_flipping/ECS/Animation.hpp
nathandaven/sdl-vscode-template
098125e250ede58eeaa6cd06738d76c2983cdb58
[ "MIT" ]
null
null
null
examples/16_multiple_animations_and_render_flipping/ECS/Animation.hpp
nathandaven/sdl-vscode-template
098125e250ede58eeaa6cd06738d76c2983cdb58
[ "MIT" ]
null
null
null
examples/16_multiple_animations_and_render_flipping/ECS/Animation.hpp
nathandaven/sdl-vscode-template
098125e250ede58eeaa6cd06738d76c2983cdb58
[ "MIT" ]
null
null
null
struct Animation { int index; int frames; int speed; Animation() {} Animation(int i, int f, int s) { index = i; frames = f; speed = s; } };
11.857143
32
0.536145
nathandaven
8825c1b89fc59404b12bb81fc505e24571f21756
3,477
cpp
C++
gm/imagesource2.cpp
borodust/skia
bbbf1a7f50a303bd76163793bd5968c72f5f4432
[ "BSD-3-Clause" ]
10
2017-12-04T10:41:55.000Z
2021-12-03T07:36:59.000Z
gm/imagesource2.cpp
borodust/skia
bbbf1a7f50a303bd76163793bd5968c72f5f4432
[ "BSD-3-Clause" ]
5
2022-01-03T13:41:38.000Z
2022-03-02T13:01:38.000Z
gm/imagesource2.cpp
borodust/skia
bbbf1a7f50a303bd76163793bd5968c72f5f4432
[ "BSD-3-Clause" ]
17
2017-11-05T21:36:53.000Z
2021-05-22T20:33:51.000Z
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm/gm.h" #include "include/core/SkCanvas.h" #include "include/core/SkColor.h" #include "include/core/SkFilterQuality.h" #include "include/core/SkImage.h" #include "i...
33.114286
85
0.618349
borodust
882606cebda081e19d82763690029d618de76d32
22,920
cpp
C++
dbcore/sm-log-file.cpp
ermia-db/ermia
558c254b32d70a934d8c2d35f32f170ec6c05be8
[ "MIT" ]
50
2016-02-03T19:36:19.000Z
2020-06-28T02:50:53.000Z
dbcore/sm-log-file.cpp
ermia-db/ermia
558c254b32d70a934d8c2d35f32f170ec6c05be8
[ "MIT" ]
5
2016-08-15T13:03:39.000Z
2018-02-22T15:22:02.000Z
dbcore/sm-log-file.cpp
ermia-db/ermia
558c254b32d70a934d8c2d35f32f170ec6c05be8
[ "MIT" ]
18
2016-02-04T02:40:14.000Z
2019-08-29T03:29:43.000Z
#include "sm-config.h" #include "sm-log-file.h" #include "rcu.h" #include <new> #include <sys/fcntl.h> #include <algorithm> namespace ermia { #warning Crash durability is NOT fully guaranteed by this implementation /* ^^^ I know that sounds bad, but it turns out this is a fiendishly difficult thing to make b...
35.045872
80
0.670244
ermia-db
88292e605f19fa3eda5bb7e58dbb4ebb26a91ce6
1,090
cc
C++
source/graphics_reps/pyG4Colour.cc
yu22mal/geant4_pybind
ff7efc322fe53f39c7ae7ed140861052a92479fd
[ "Unlicense" ]
6
2021-08-08T08:40:13.000Z
2022-03-23T03:05:15.000Z
source/graphics_reps/pyG4Colour.cc
yu22mal/geant4_pybind
ff7efc322fe53f39c7ae7ed140861052a92479fd
[ "Unlicense" ]
3
2021-12-01T14:38:06.000Z
2022-02-10T11:28:28.000Z
source/graphics_reps/pyG4Colour.cc
yu22mal/geant4_pybind
ff7efc322fe53f39c7ae7ed140861052a92479fd
[ "Unlicense" ]
3
2021-07-16T13:57:34.000Z
2022-02-07T11:17:19.000Z
#include <pybind11/operators.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <G4Color.hh> #include <G4Colour.hh> #include <limits> #include "typecast.hh" #include "opaques.hh" namespace py = pybind11; void export_G4Colour(py::module &m) { py::class_<G4Colour>(m, "G4Colour", "colour class") ...
24.772727
89
0.588991
yu22mal
88293be9be9f4f5941dc13953afc48bf554acd6a
8,895
cc
C++
lite/kernels/nnadapter/bridges/elementwise_ops.cc
fuaq/Paddle-Lite
56e1239410d976842fc6f7792de13c9d007d253f
[ "Apache-2.0" ]
1
2021-07-12T10:46:19.000Z
2021-07-12T10:46:19.000Z
lite/kernels/nnadapter/bridges/elementwise_ops.cc
fuaq/Paddle-Lite
56e1239410d976842fc6f7792de13c9d007d253f
[ "Apache-2.0" ]
null
null
null
lite/kernels/nnadapter/bridges/elementwise_ops.cc
fuaq/Paddle-Lite
56e1239410d976842fc6f7792de13c9d007d253f
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle 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...
37.0625
80
0.689713
fuaq
882a385fba0583dbe1d719741bdbfbd7fed5cafa
9,101
cpp
C++
test/CompilationTests/ConstructorTests/MakePromiseTests/Copy.cpp
rocky01/promise
638415a117207a4cae9181e04114e1d7575a9689
[ "MIT" ]
2
2018-10-15T18:27:50.000Z
2019-04-16T18:34:59.000Z
test/CompilationTests/ConstructorTests/MakePromiseTests/Copy.cpp
rocky01/promise
638415a117207a4cae9181e04114e1d7575a9689
[ "MIT" ]
null
null
null
test/CompilationTests/ConstructorTests/MakePromiseTests/Copy.cpp
rocky01/promise
638415a117207a4cae9181e04114e1d7575a9689
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "gmock/gmock.h" #include "Promise.hpp" #include "CompilationTests/ConstructorTests/AuxiliaryClasses/Then/Copy/CopyExecuteTResolveUndefinedRejectVoid.hpp" #include "CompilationTests/ConstructorTests/AuxiliaryClasses/Then/Copy/CopyExecuteVoidResolveTRejectUndefined.hpp" #include "Compi...
26.456395
117
0.785518
rocky01
882a90384d9f2a0ab12acc96d7ea555362512cf9
1,236
cpp
C++
Signal Flow Simulation/truetime-2.0/kernel/setnumberofcpus.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2019-08-31T08:06:48.000Z
2019-08-31T08:06:48.000Z
Signal Flow Simulation/truetime-2.0/kernel/setnumberofcpus.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
null
null
null
Signal Flow Simulation/truetime-2.0/kernel/setnumberofcpus.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2020-01-07T10:46:23.000Z
2020-01-07T10:46:23.000Z
/* * Copyright (c) 2016 Lund University * * Written by Anton Cervin, Dan Henriksson and Martin Ohlin, * Department of Automatic Control LTH, Lund University, Sweden. * * This file is part of TrueTime 2.0. * * TrueTime 2.0 is free software: you can redistribute it and/or * modify it under the terms of the GN...
29.428571
74
0.714401
raulest50
882aaba5ab5c6d29e70acbbc3c8d43ee8989abe0
8,567
cpp
C++
sdk/storage/azure-storage-queues/src/queue_service_client.cpp
JinmingHu-MSFT/azure-sdk-for-cpp
933486385a54a5a09a7444dbd823425f145ad75a
[ "MIT" ]
1
2022-01-19T22:54:41.000Z
2022-01-19T22:54:41.000Z
sdk/storage/azure-storage-queues/src/queue_service_client.cpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
sdk/storage/azure-storage-queues/src/queue_service_client.cpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include "azure/storage/queues/queue_service_client.hpp" #include <azure/core/http/policies/policy.hpp> #include <azure/storage/common/crypt.hpp> #include <azure/storage/common/internal/shared_key_policy.hpp> #include <azure/...
44.388601
100
0.755457
JinmingHu-MSFT
8836db43cb688f3dbf91c9a5945113f3431a135f
52,759
cpp
C++
code/external/libigl/external/embree/kernels/xeon/bvh/bvh4_factory.cpp
dybiszb/MeanCurvatureLibrary
b168911ef6bf08b283e7a225cc006b850fe26400
[ "MIT" ]
null
null
null
code/external/libigl/external/embree/kernels/xeon/bvh/bvh4_factory.cpp
dybiszb/MeanCurvatureLibrary
b168911ef6bf08b283e7a225cc006b850fe26400
[ "MIT" ]
1
2018-11-14T23:14:58.000Z
2018-11-14T23:14:58.000Z
code/external/libigl/external/embree/kernels/xeon/bvh/bvh4_factory.cpp
dybiszb/MeanCurvatureLibrary
b168911ef6bf08b283e7a225cc006b850fe26400
[ "MIT" ]
null
null
null
// ======================================================================== // // Copyright 2009-2015 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
53.508114
153
0.797437
dybiszb
88371522baf1170d2466cfb0e236df6875764d3c
2,396
cpp
C++
Dynamic Programming/Zipper/Zipper.cpp
Sean16SYSU/Algorithms4N
24f06c29d476c4bd9c90bcc89dac90ba3a448c27
[ "MIT" ]
2
2019-09-30T01:26:41.000Z
2019-10-02T01:36:34.000Z
Dynamic Programming/Zipper/Zipper.cpp
Sean16SYSU/Algorithms4N
24f06c29d476c4bd9c90bcc89dac90ba3a448c27
[ "MIT" ]
null
null
null
Dynamic Programming/Zipper/Zipper.cpp
Sean16SYSU/Algorithms4N
24f06c29d476c4bd9c90bcc89dac90ba3a448c27
[ "MIT" ]
3
2020-05-18T15:09:01.000Z
2020-12-21T10:14:51.000Z
#include <iostream> #include <cstring> #include <algorithm> using namespace std; #include <string> string a, b, all; bool Arr[1000][1000]; //Arr[i][j]่กจ็คบ ไปฅ a[i]ๅ’Œb[j]็ป“ๆŸ็š„ไธฒๅœจไธๅœจๅ…ถไธญ ๅœจ = true,ๆˆ–่€… ไธๅœจ = false ; int find(char c, int no = -1) //no่กจ็คบไธๆ˜ฏๅๆ ‡no { for (int i = 0; i < all.length(); ++i) { if (all[i] == c ...
23.722772
82
0.403172
Sean16SYSU
883c32cf672e71c390201dfc1368805b8698ec3b
3,441
cpp
C++
uart.cpp
LetsBuildRockets/Horizon-Tracker
dcd9c05bf41dce5a8c86a1fb97c59ff349bbb094
[ "MIT" ]
null
null
null
uart.cpp
LetsBuildRockets/Horizon-Tracker
dcd9c05bf41dce5a8c86a1fb97c59ff349bbb094
[ "MIT" ]
1
2017-07-25T18:53:21.000Z
2017-07-25T18:53:21.000Z
uart.cpp
LetsBuildRockets/Horizon-Tracker
dcd9c05bf41dce5a8c86a1fb97c59ff349bbb094
[ "MIT" ]
null
null
null
#include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <termios.h> #include "horizonTracker.h" #define START_BYTE 0x12 const int DOUBLE_SIZE = sizeof(double); int uart0filestream = -1; void UARTInit(); int writeStartByte(); int writeAngleData(double&); int readAngleData(double&); int readStartByte(); vo...
20.981707
169
0.588782
LetsBuildRockets
883cdeb11215dbf64487270e662ec5a7af0cb5f5
2,628
cpp
C++
WKC/WebKit/WKC/WebCoreSupport/DropDownListClientWKC.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
WKC/WebKit/WKC/WebCoreSupport/DropDownListClientWKC.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
WKC/WebKit/WKC/WebCoreSupport/DropDownListClientWKC.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * DropDownListClientWKC.cpp * * Copyright (c) 2010 ACCESS CO., LTD. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, o...
26.28
125
0.727169
s1rcheese
883feef17588c94e2aed6c4766dda148dcf4c32c
17,328
cpp
C++
libmuscle/cpp/src/libmuscle/data.cpp
DongweiYe/muscle3
0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0
[ "Apache-2.0" ]
null
null
null
libmuscle/cpp/src/libmuscle/data.cpp
DongweiYe/muscle3
0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0
[ "Apache-2.0" ]
null
null
null
libmuscle/cpp/src/libmuscle/data.cpp
DongweiYe/muscle3
0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0
[ "Apache-2.0" ]
null
null
null
#include <cstring> #include <memory> #include <stdexcept> #include <string> #include <utility> #include <msgpack.hpp> #include "libmuscle/data.hpp" #include "libmuscle/mcp/data_pack.hpp" #include "libmuscle/mcp/ext_types.hpp" #include "ymmsl/identity.hpp" #include "ymmsl/settings.hpp" using libmuscle::impl::mcp::Ext...
30.83274
98
0.608033
DongweiYe
8841271f3d9d1e0dba1b1d24e485b6a4f5d8a1f7
6,836
cpp
C++
software/PSGTools/src/stream/Stream.cpp
Yevgeniy-Olexandrenko/ay-ym-usb-streamer
8dbc3972fb2cb653fa17d62d1481708ef2b534ae
[ "MIT" ]
null
null
null
software/PSGTools/src/stream/Stream.cpp
Yevgeniy-Olexandrenko/ay-ym-usb-streamer
8dbc3972fb2cb653fa17d62d1481708ef2b534ae
[ "MIT" ]
null
null
null
software/PSGTools/src/stream/Stream.cpp
Yevgeniy-Olexandrenko/ay-ym-usb-streamer
8dbc3972fb2cb653fa17d62d1481708ef2b534ae
[ "MIT" ]
null
null
null
#include <iomanip> #include <sstream> #include "Stream.h" //////////////////////////////////////////////////////////////////////////////// namespace { const int k_prefDurationMM = 4; const int k_prefDurationSS = 0; const int k_maxExtraLoops = 3; } Stream::Stream() : info(*this) , frames(*this) , loop(*this) ...
20.715152
106
0.612639
Yevgeniy-Olexandrenko
8846a385575a01108e04b50b3adf275d94905646
699
cpp
C++
codechef/January_Lunchtime_2015/1/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
13
2015-06-07T09:26:26.000Z
2019-05-01T13:23:38.000Z
codechef/January_Lunchtime_2015/1/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
null
null
null
codechef/January_Lunchtime_2015/1/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
4
2016-03-05T06:21:05.000Z
2017-02-17T15:34:18.000Z
// http://www.codechef.com/LTIME20/problems/LCH15JAB // Piece of cake #include <cstdio> #include <cstring> #include <algorithm> #include <functional> using namespace std; int ch[26]; // a ~ z bool solve() { memset(ch, 0, sizeof(int) * 26); char buffer[51]; gets(buffer); int i, size = strlen(buffer);...
18.394737
52
0.493562
seirion
884804d07363685bcfc8865b97576945117d0d05
1,010
hpp
C++
TextEditor/Huffman/LeafNode.hpp
itravers/CS211-TextEditor
47ddf2745f54ae826a96209eb767fe8280f4ce30
[ "Apache-2.0" ]
null
null
null
TextEditor/Huffman/LeafNode.hpp
itravers/CS211-TextEditor
47ddf2745f54ae826a96209eb767fe8280f4ce30
[ "Apache-2.0" ]
42
2019-09-27T16:46:52.000Z
2019-12-06T18:39:18.000Z
TextEditor/Huffman/LeafNode.hpp
itravers/CS211-TextEditor
47ddf2745f54ae826a96209eb767fe8280f4ce30
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Created Date: November 7th, 2019 * Created By: Isaac Travers * ContextMenu.hpp: This is a leaf node for a Huffman tree Node * This code is pretty much straight copied from the class textbook, h...
21.489362
97
0.552475
itravers
884bf045075828ee2b8eabc2225f65f9f0406a02
8,271
cpp
C++
Plugins/PLFrontendActiveX/src/PixelLightCtrl.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Plugins/PLFrontendActiveX/src/PixelLightCtrl.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Plugins/PLFrontendActiveX/src/PixelLightCtrl.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
// PixelLightCtrl.cpp : Implementation of PixelLightCtrl #include <PLCore/Runtime.h> #include <PLCore/Tools/Timing.h> #include "stdafx.h" #include "PixelLightCtrl.h" // PixelLightCtrl PixelLightCtrl::PixelLightCtrl() : m_bFrontendApplicationInitialized(false), m_bMouseVisible(true), m_bTrapMouse(false), m_cFront...
24.543027
121
0.711764
ktotheoz
9c0092ada30fe3987bc67380e473f1bbc38f75b1
10,922
cc
C++
wrappers/8.1.1/vtkUnstructuredGridHomogeneousRayIntegratorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkUnstructuredGridHomogeneousRayIntegratorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkUnstructuredGridHomogeneousRayIntegratorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkUnstructuredGridVolumeRayIntegratorWrap.h" #include "vtkUnstructuredGridHomogeneousRayIntegratorWrap.h" #include "vtkObjectBaseWrap.h" #incl...
37.792388
166
0.745102
axkibe
9c061979bbec064e83aff57d0853987d44de0a6a
1,064
cpp
C++
AtCoder/abc174/C.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
AtCoder/abc174/C.cpp
iamsuryakant/competitive-programming
413000f5bc4a627407e1335c35dcdbee516e8cc1
[ "MIT" ]
null
null
null
AtCoder/abc174/C.cpp
iamsuryakant/competitive-programming
413000f5bc4a627407e1335c35dcdbee516e8cc1
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
#pragma GCC optimize("O3") #pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops") #pragma GCC optimize("no-stack-protector") #pragma GCC optimize("fast-math") #pragma GCC optimize("trapv") #pragma GCC target("sse4") #include <bits/stdc++.h> #include <ext/pb_ds/tree_policy.hpp> #include <ext/pb_ds...
20.862745
97
0.615602
Code-With-Aagam
9c088c7bfa64c721caf8eb5b214e9a367f2d6b47
320
cpp
C++
LiteCppDB/LiteCppDB.Tests/CustomTypeTest.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
2
2019-07-18T06:30:33.000Z
2020-01-23T17:40:36.000Z
LiteCppDB/LiteCppDB.Tests/CustomTypeTest.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
LiteCppDB/LiteCppDB.Tests/CustomTypeTest.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CustomTypeTest.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace LiteCppDB_Tests { TEST_CLASS(CustomTypeTest_Test) { public: TEST_METHOD(Mapper___CustomType_Test) { const bool m_TestImplemented = false; Assert::IsTrue(m_TestImplemented); } }; }
16.842105
62
0.765625
pnadan
9c08ccfabfeb695b16ea3960f099286b27dbfdfd
1,110
cpp
C++
DreamTools/src/Platform/Windows/WindowsInput.cpp
ASoldo/DreamTools
9c80e25f6569482b9c29d4950ec7deb523b241f9
[ "Apache-2.0" ]
null
null
null
DreamTools/src/Platform/Windows/WindowsInput.cpp
ASoldo/DreamTools
9c80e25f6569482b9c29d4950ec7deb523b241f9
[ "Apache-2.0" ]
null
null
null
DreamTools/src/Platform/Windows/WindowsInput.cpp
ASoldo/DreamTools
9c80e25f6569482b9c29d4950ec7deb523b241f9
[ "Apache-2.0" ]
null
null
null
#include "dtpch.h" #include "../../DreamTools/Core/Input.h" #include "../../DreamTools/Core/Application.h" #include <../vendor/GLFW/include/GLFW/glfw3.h> namespace DreamTools { bool Input::IsKeyPressed(KeyCode keycode) { auto window =static_cast<GLFWwindow*>(Application::Get().GetWindow().GetNativeWindow()); au...
26.428571
91
0.703604
ASoldo
9c0c873586be5f45a800af5c071a6d2c315057ed
21,931
cpp
C++
3rd-party/tbb/src/test/test_flow_graph_priorities.cpp
drobison00/taskflow
9415c3b68fd050889f57412394933e94b74755e0
[ "MIT" ]
3,457
2018-06-09T15:36:42.000Z
2020-06-01T22:09:25.000Z
3rd-party/tbb/src/test/test_flow_graph_priorities.cpp
drobison00/taskflow
9415c3b68fd050889f57412394933e94b74755e0
[ "MIT" ]
235
2020-06-02T01:26:49.000Z
2022-03-31T01:35:31.000Z
3rd-party/tbb/src/test/test_flow_graph_priorities.cpp
drobison00/taskflow
9415c3b68fd050889f57412394933e94b74755e0
[ "MIT" ]
426
2018-06-06T18:01:16.000Z
2020-06-01T05:26:17.000Z
/* Copyright (c) 2018-2020 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
35.834967
108
0.675345
drobison00
9c0f65a49da5a04fdcebf5cd4ed0af3ab95362ec
442
cpp
C++
02_HSI_PLL/main.cpp
AVilezhaninov/STM32F103RB
3aca98801c73841c1c14677ea3495008b9673690
[ "MIT" ]
1
2020-08-03T16:27:08.000Z
2020-08-03T16:27:08.000Z
02_HSI_PLL/main.cpp
AVilezhaninov/STM32F103RB
3aca98801c73841c1c14677ea3495008b9673690
[ "MIT" ]
null
null
null
02_HSI_PLL/main.cpp
AVilezhaninov/STM32F103RB
3aca98801c73841c1c14677ea3495008b9673690
[ "MIT" ]
1
2021-07-30T14:42:34.000Z
2021-07-30T14:42:34.000Z
/* CMSIS */ #include "CMSIS\Device\stm32f103xb.h" /* User */ #include "user\RCC.h" /******************************************************************************/ /* Main ***********************************************************************/ /************************************************************************...
26
80
0.276018
AVilezhaninov
9c10497e59a766a2679d3ff4018e3f0ff05aba9f
5,058
cpp
C++
Engine/Scene/Logic/SceneLogicMainThread.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Engine/Scene/Logic/SceneLogicMainThread.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Engine/Scene/Logic/SceneLogicMainThread.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Engine/Scene/Public/Scene.h" #include "Engine/Scene/Impl/SceneObjectConstructor.h" #include "Engine/Scene/Impl/BaseSceneModule.h" namespace Engine { namespace Scene { // // Scene Logic Main Thread // class SceneLogicMainThread fi...
26.904255
135
0.583432
azhirnov
9c10728d10c4f399ddbd15b50b7d51ef40418fe2
6,239
cpp
C++
src/SHA3.cpp
Jonas4420/Crypto
4fda1854c838407e6cbfb0ffaf862609eaac203a
[ "MIT" ]
null
null
null
src/SHA3.cpp
Jonas4420/Crypto
4fda1854c838407e6cbfb0ffaf862609eaac203a
[ "MIT" ]
null
null
null
src/SHA3.cpp
Jonas4420/Crypto
4fda1854c838407e6cbfb0ffaf862609eaac203a
[ "MIT" ]
null
null
null
#include "crypto/SHA3.hpp" #include <cstring> #if defined(_MSC_VER) || defined(__WATCOMC__) #define UL64(x) x##ui64 #else #define UL64(x) x##ULL #endif #define GET_UINT64(n, b, i) \ { \ (n) = ((uint64_t)(b)[(i) ] ) \ | ((ui...
26.548936
85
0.532617
Jonas4420
9c13289143115c039132755ea7f3009b100f846a
21,471
cpp
C++
src/Communication/LSMSCommunication.cpp
JefferyQ/lsms
2d975008a829b328161f503109e324a9eae26768
[ "BSD-3-Clause" ]
1
2019-09-17T18:35:52.000Z
2019-09-17T18:35:52.000Z
src/Communication/LSMSCommunication.cpp
JefferyQ/lsms
2d975008a829b328161f503109e324a9eae26768
[ "BSD-3-Clause" ]
null
null
null
src/Communication/LSMSCommunication.cpp
JefferyQ/lsms
2d975008a829b328161f503109e324a9eae26768
[ "BSD-3-Clause" ]
null
null
null
/* -*- c-file-style: "bsd"; c-basic-offset: 2; indent-tabs-mode: nil -*- */ #include <mpi.h> #include "LSMSCommunication.hpp" // #define USE_ISEND void initializeCommunication(LSMSCommunication &comm) { MPI_Init(NULL,NULL); comm.comm=MPI_COMM_WORLD; MPI_Comm_rank(comm.comm, &comm.rank); MPI_Comm_size(comm.com...
41.610465
113
0.690047
JefferyQ
9c180259393eafb38a8b2b4009648ce0670cdfde
2,124
hpp
C++
KFContrib/KFCore/KFRecord.hpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
1
2021-04-26T09:31:32.000Z
2021-04-26T09:31:32.000Z
KFContrib/KFCore/KFRecord.hpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
KFContrib/KFCore/KFRecord.hpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
๏ปฟ#ifndef __KF_RECORD_H__ #define __KF_RECORD_H__ #include "KFData.h" #include "KFMap.h" namespace KFrame { class KFRecord : public KFData { public: KFRecord(); virtual ~KFRecord() = default; virtual void Reset( bool isdelete = true ); // ๆ˜ฏๅฆๆœ‰ๆ•ˆ virtual bool IsValid(...
31.701493
121
0.553672
282951387
9c1a7d974411924064a1eb05a202148e36c63e19
4,258
cpp
C++
test/threads/ThreadsServer.cpp
pbhide/thrift
23fefaa19511b502f4977036bff7c4b967b5829c
[ "Apache-2.0" ]
51
2015-01-02T04:10:26.000Z
2020-11-21T16:33:19.000Z
test/threads/ThreadsServer.cpp
pbhide/thrift
23fefaa19511b502f4977036bff7c4b967b5829c
[ "Apache-2.0" ]
58
2015-01-29T15:52:19.000Z
2016-04-19T08:19:02.000Z
test/threads/ThreadsServer.cpp
pbhide/thrift
23fefaa19511b502f4977036bff7c4b967b5829c
[ "Apache-2.0" ]
8
2015-03-16T11:03:41.000Z
2019-07-11T06:39:31.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
29.985915
82
0.675434
pbhide
9c1b84994f8940557b539576cd9ad0a86c1acdb3
659
cpp
C++
android-31/android/service/autofill/FillCallback.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/service/autofill/FillCallback.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/service/autofill/FillCallback.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./FillResponse.hpp" #include "../../../JString.hpp" #include "./FillCallback.hpp" namespace android::service::autofill { // Fields // QJniObject forward FillCallback::FillCallback(QJniObject obj) : JObject(obj) {} // Constructors // Methods void FillCallback::onFailure(JString arg0) const { ca...
19.969697
82
0.685888
YJBeetle
9c1cc7e9ef0bb46fcd06665a22749028e823aa4e
624
hpp
C++
fixp/ref_data.hpp
mdobrea/effective-fix
0dc8013a8470366f99281f191ea4379d59ef761a
[ "BSD-2-Clause" ]
3
2016-08-08T08:05:11.000Z
2021-02-02T09:11:35.000Z
fixp/ref_data.hpp
mdobrea/effective-fix
0dc8013a8470366f99281f191ea4379d59ef761a
[ "BSD-2-Clause" ]
null
null
null
fixp/ref_data.hpp
mdobrea/effective-fix
0dc8013a8470366f99281f191ea4379d59ef761a
[ "BSD-2-Clause" ]
1
2019-12-29T22:19:47.000Z
2019-12-29T22:19:47.000Z
/* * ref_data.hpp * * Created on: 27.11.2014 * Author: Marius */ #ifndef FIXP_REF_DATA_HPP_ #define FIXP_REF_DATA_HPP_ #include <boost/container/flat_set.hpp> #include <boost/optional.hpp> #include <boost/property_tree/ptree.hpp> #include <string> namespace fixp { class dictionary { public: using tree...
14.857143
63
0.741987
mdobrea
9c1f9b2a12ceddb16e01dd4b5bb2ce1324bf054a
657
cpp
C++
Notes_Week4/pointerAndFunction.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
1
2019-01-06T22:36:01.000Z
2019-01-06T22:36:01.000Z
Notes_Week4/pointerAndFunction.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
Notes_Week4/pointerAndFunction.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int SumOfElements(int *A, int size) { int i, sum = 0; cout << "Size of A[] in sum function: " << sizeof(A) << endl; for(i = 0; i < size; i++) { sum += A[i]; } cout << "Size of A[0] in sum function: " << sizeof(A[0]) << endl; return sum; } int main() { int A[] ...
31.285714
69
0.550989
WeiChienHsu
9c22fba7e42756dde106d5d687c2b7eab3933e79
4,362
cpp
C++
local_planner/src/utils/trajectory_simulator.cpp
Mekiso/avoidance
2329f84c03f2ea4bedbbae690f0f0052b1b868a8
[ "BSD-3-Clause" ]
3
2019-10-13T11:47:41.000Z
2022-02-27T22:18:46.000Z
local_planner/src/utils/trajectory_simulator.cpp
Mekiso/avoidance
2329f84c03f2ea4bedbbae690f0f0052b1b868a8
[ "BSD-3-Clause" ]
1
2020-08-24T03:28:49.000Z
2020-08-24T03:28:49.000Z
local_planner/src/utils/trajectory_simulator.cpp
Mekiso/avoidance
2329f84c03f2ea4bedbbae690f0f0052b1b868a8
[ "BSD-3-Clause" ]
1
2019-10-12T17:07:01.000Z
2019-10-12T17:07:01.000Z
#include "local_planner/trajectory_simulator.h" #include <cfloat> namespace { Eigen::Vector3f xy_norm_z_clamp(const Eigen::Vector3f& val, float max_xy_norm, float min_z, float max_z) { Eigen::Vector3f result; result.topRows<2>() = avoidance::norm_clamp<2>(val.topRows<2>(), max_xy_n...
40.388889
80
0.694177
Mekiso
9c23f1fc735f81c13b11658de35b1eb269cb2b38
10,940
hpp
C++
include/UnityEngine/TextCore/FaceInfo.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/TextCore/FaceInfo.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/TextCore/FaceInfo.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes // Including type: System.ValueType #include "System/ValueType.hpp" // Completed includes // Begin il2cpp-utils forward declares struct Il2CppSt...
40.669145
1,216
0.68245
darknight1050
9c26c6e7356900c151dca8033b989212fbad165e
819
cpp
C++
sorts/cycle_sort/main.cpp
Kingcitaldo125/Sorts
ce6d60359497490e982640de39370d56d4f17eba
[ "Apache-2.0" ]
null
null
null
sorts/cycle_sort/main.cpp
Kingcitaldo125/Sorts
ce6d60359497490e982640de39370d56d4f17eba
[ "Apache-2.0" ]
5
2021-12-21T13:08:27.000Z
2022-01-17T14:37:41.000Z
sorts/cycle_sort/main.cpp
Kingcitaldo125/Sorts
ce6d60359497490e982640de39370d56d4f17eba
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> #include "SortUtils.hpp" void cycle_sort(std::vector<int> &mints) { auto i = mints.begin(); while (1) { auto scount = std::count_if(mints.begin(), mints.end(), [&](const auto &itm) { return *i > itm; }); ...
21.552632
76
0.527473
Kingcitaldo125
9c27834f18dfb9c63683d98a25bc65a42457ef5a
11,545
cpp
C++
src/Conversion/ONNXToKrnl/Math/Softmax.cpp
MikeHolman/onnx-mlir
7cf7ceddf4e5ae1295dff51bf4bc8ef97e567a57
[ "Apache-2.0" ]
272
2020-02-20T06:19:18.000Z
2022-03-29T05:34:22.000Z
src/Conversion/ONNXToKrnl/Math/Softmax.cpp
lipracer/onnx-mlir
ecacba10912457d91cfe66799ae2d4408ed85af7
[ "Apache-2.0" ]
1,107
2020-02-29T00:22:00.000Z
2022-03-31T23:50:22.000Z
src/Conversion/ONNXToKrnl/Math/Softmax.cpp
lipracer/onnx-mlir
ecacba10912457d91cfe66799ae2d4408ed85af7
[ "Apache-2.0" ]
157
2020-02-27T18:20:36.000Z
2022-03-30T20:34:57.000Z
/* * SPDX-License-Identifier: Apache-2.0 */ //===----------------- Softmax.cpp - Softmax Op ---------------------------===// // // Copyright 2019 The IBM Research Authors. // // ============================================================================= // // This file lowers ONNX softmax operator to Krnl dialect....
40.226481
80
0.651537
MikeHolman
9c27b380a2a20aba338f8c87d9ad9c0b45d217c2
18,397
cpp
C++
source/form_tools.cpp
smaslan/spellcross-map-edit
577ce6f23dff38922f7484fe2ab2f9b67ddafe05
[ "MIT" ]
null
null
null
source/form_tools.cpp
smaslan/spellcross-map-edit
577ce6f23dff38922f7484fe2ab2f9b67ddafe05
[ "MIT" ]
null
null
null
source/form_tools.cpp
smaslan/spellcross-map-edit
577ce6f23dff38922f7484fe2ab2f9b67ddafe05
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #include "form_tools.h" /...
29.720517
201
0.715117
smaslan
9c2cd888692b4e9289227ce199e7634e353862b2
25,829
cc
C++
cpp/src/arrow/array/array_binary_test.cc
H-Plus-Time/arrow
3586292d62c8c348e9fb85676eb524cde53179cf
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
40
2018-07-12T03:57:58.000Z
2021-12-31T00:20:50.000Z
cpp/src/arrow/array/array_binary_test.cc
H-Plus-Time/arrow
3586292d62c8c348e9fb85676eb524cde53179cf
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
5
2019-11-01T01:20:33.000Z
2021-09-03T15:49:01.000Z
cpp/src/arrow/array/array_binary_test.cc
H-Plus-Time/arrow
3586292d62c8c348e9fb85676eb524cde53179cf
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0" ]
22
2018-07-12T06:16:57.000Z
2022-01-15T03:38:51.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
31.730958
90
0.659104
H-Plus-Time
9c30089d944b9bbb69b07f941d1f5ac419a098bb
153
cpp
C++
src/Factory/AFactory.cpp
codeOverFlow/Stickman-project
cdaa582fc147bca68fbd079eaa6618fb86f70052
[ "MIT" ]
null
null
null
src/Factory/AFactory.cpp
codeOverFlow/Stickman-project
cdaa582fc147bca68fbd079eaa6618fb86f70052
[ "MIT" ]
null
null
null
src/Factory/AFactory.cpp
codeOverFlow/Stickman-project
cdaa582fc147bca68fbd079eaa6618fb86f70052
[ "MIT" ]
null
null
null
#include "../../include/Factory/AFactory.h" AFactory::~AFactory(){ } IBlock* AFactory::createBlock(char c) { m_block = build(c); return m_block; }
15.3
43
0.666667
codeOverFlow
9c31324722350363754ca4067c2b6f9429f682fd
664
cpp
C++
cipher/vignere/test/test1.cpp
akm-hub/algorithms
77c6471698665e676d0a59b079ad4a6289097421
[ "MIT" ]
null
null
null
cipher/vignere/test/test1.cpp
akm-hub/algorithms
77c6471698665e676d0a59b079ad4a6289097421
[ "MIT" ]
null
null
null
cipher/vignere/test/test1.cpp
akm-hub/algorithms
77c6471698665e676d0a59b079ad4a6289097421
[ "MIT" ]
null
null
null
/** * @purpose Vignere crypto driver code * * @author Ashish * @license MIT license * @version 1.0, Doxygen compatible comments */ #include <iostream> #include <string> #include "vignere.h" int main() { /// Create a cipher using the first 16 bytes of the passphrase Vignere *vignere = new Vignere(...
25.538462
66
0.646084
akm-hub
9c32701633f5a145f3c5fbeca276e27fb4850050
1,299
cpp
C++
STF/Source/HAL/x86/HALSTFDataManipulation.cpp
rerunner/STCM_driver
8fef3dd7327812fd317fdb0e6fab8d36e345a505
[ "BSD-3-Clause" ]
null
null
null
STF/Source/HAL/x86/HALSTFDataManipulation.cpp
rerunner/STCM_driver
8fef3dd7327812fd317fdb0e6fab8d36e345a505
[ "BSD-3-Clause" ]
null
null
null
STF/Source/HAL/x86/HALSTFDataManipulation.cpp
rerunner/STCM_driver
8fef3dd7327812fd317fdb0e6fab8d36e345a505
[ "BSD-3-Clause" ]
null
null
null
// // Platform: Win32 // #include "STF/Interface/Types/STFBasicTypes.h" void MUL32x32(uint32 op1, uint32 op2, uint32 & upper, uint32 & lower) { uint32 u, l; __asm { mov eax, op1 mov edx, op2 mul edx mov u, edx mov l, eax } upper = u; lower = l; } uint32 DIV64x32(ui...
13.967742
92
0.451886
rerunner
9c34e89084fd5b55d6c375cd4b810c66235755ac
155
hxx
C++
src/Providers/UNIXProviders/EndpointForIPNetworkConnection/UNIX_EndpointForIPNetworkConnection_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/EndpointForIPNetworkConnection/UNIX_EndpointForIPNetworkConnection_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/EndpointForIPNetworkConnection/UNIX_EndpointForIPNetworkConnection_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_STUB #ifndef __UNIX_ENDPOINTFORIPNETWORKCONNECTION_PRIVATE_H #define __UNIX_ENDPOINTFORIPNETWORKCONNECTION_PRIVATE_H #endif #endif
12.916667
55
0.877419
brunolauze
9c37989cc3fe6e318742dd88771dc2e93cb224f2
1,535
cpp
C++
tests/dxbc/test_dxbc_compiler.cpp
oltolm/dxvk
687efdd4b45dd7b5c423581e197cfd317b1795d4
[ "Zlib" ]
1
2022-01-28T18:30:32.000Z
2022-01-28T18:30:32.000Z
tests/dxbc/test_dxbc_compiler.cpp
oltolm/dxvk
687efdd4b45dd7b5c423581e197cfd317b1795d4
[ "Zlib" ]
null
null
null
tests/dxbc/test_dxbc_compiler.cpp
oltolm/dxvk
687efdd4b45dd7b5c423581e197cfd317b1795d4
[ "Zlib" ]
null
null
null
#include <fstream> #include "../../src/dxbc/dxbc_module.h" #include "../../src/dxvk/dxvk_shader.h" #include <shellapi.h> #include <windows.h> namespace dxvk { Logger Logger::s_instance(L"dxbc-compiler.log"); } using namespace dxvk; int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstanc...
26.929825
66
0.646906
oltolm
9c399dd6dae3c207cde1078bcbf39c9c0a9958e5
193
hpp
C++
include/ZombieArena.hpp
felixny/Arena
24d6b02584129a8c7db706c6f768ac9986e4b9ae
[ "MIT" ]
null
null
null
include/ZombieArena.hpp
felixny/Arena
24d6b02584129a8c7db706c6f768ac9986e4b9ae
[ "MIT" ]
null
null
null
include/ZombieArena.hpp
felixny/Arena
24d6b02584129a8c7db706c6f768ac9986e4b9ae
[ "MIT" ]
null
null
null
#pragma once #include "Zombie.hpp" #include <SFML/Graphics.hpp> using namespace sf; int createBackground(VertexArray& rVA, IntRect arena); Zombie* createHorde(int numZombies, IntRect arena);
21.444444
54
0.782383
felixny
9c3cd181c1640bdb7f1f2fe284617127b57d9fa7
4,406
cc
C++
src/types/ethaddr.cc
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
null
null
null
src/types/ethaddr.cc
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
null
null
null
src/types/ethaddr.cc
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015 Applied Research Center for Computer Networks * * 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 b...
28.425806
76
0.593736
Alexey-Ershov
9c3e998f68ba6852349807d3c00020e672422213
7,736
cpp
C++
2019/day19/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2019/day19/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2019/day19/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <unordered_map> #include <queue> enum OPCODE { ADD = 1, MUL = 2, IN = 3, OUT = 4, JMPT = 5, JMPF = 6, LT = 7, EQ = 8, ROFF = 9, HALT = 99, }; enum PARAM_MODE { POSITION = 0, IMMEDIATE = 1, RE...
23.442424
92
0.569545
batduck27
9c3ec9fa07f42549ef4c45bd74353252a643817c
29,901
cc
C++
Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/rtp_rtcp/source/rtcp_sender_unittest.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/rtp_rtcp/source/rtcp_sender_unittest.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/rtp_rtcp/source/rtcp_sender_unittest.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
/* * Copyright (c) 2012 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...
42.473011
148
0.720845
Yash-Wasalwar-07
9c40334d571488ee97d64179883e411b7551c701
9,665
cpp
C++
src/autowiring/test/ContextMapTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
src/autowiring/test/ContextMapTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
src/autowiring/test/ContextMapTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "TestFixtures/ExitRaceThreaded.hpp" #include "TestFixtures/SimpleThreaded.hpp" #include "autotesting/AutowiringEnclosure.h" #include <autowiring/autowiring.h> #include <autowiring/ContextMap.h> #include <string> #include THRE...
32.762712
181
0.693533
CaseyCarter
9c405057780019e49def40b98a83be8de1c9b05b
275
cpp
C++
quizzes/questions/r.cf.1/code/question.cpp
2016-spring-csuf-benblazak-cpsc-121/course-materials
e448d43f562b8be06ed1d408b677d578a4e54796
[ "CC-BY-4.0" ]
13
2016-01-26T22:07:47.000Z
2021-01-13T06:42:48.000Z
quizzes/questions/r.cf.1/code/question.cpp
2016-spring-csuf-benblazak-cpsc-121/course-materials
e448d43f562b8be06ed1d408b677d578a4e54796
[ "CC-BY-4.0" ]
1
2016-02-10T05:52:31.000Z
2016-02-28T01:08:47.000Z
quizzes/questions/r.cf.1/code/question.cpp
2016-spring-csuf-benblazak-cpsc-121/course-materials
e448d43f562b8be06ed1d408b677d578a4e54796
[ "CC-BY-4.0" ]
32
2016-01-25T23:37:48.000Z
2016-05-17T04:04:30.000Z
#include <iostream> using std::cout; using std::endl; int main() { // SECTION BEGIN all for (int a = 1; a <= 5; a++) { for (int b = 1; b <= a; b++) { cout << a << " "; } cout << endl; } // SECTION END all return 0; }
16.176471
38
0.421818
2016-spring-csuf-benblazak-cpsc-121
9c432db6a08684e4760dbe847137f29c6f396883
666
cpp
C++
base/timestamp.cpp
hxgned/reactor
d6f0596f166a5358a82a98f9b92c1abe368dc85e
[ "MIT" ]
1
2021-08-29T02:50:55.000Z
2021-08-29T02:50:55.000Z
base/timestamp.cpp
hxgned/reactor
d6f0596f166a5358a82a98f9b92c1abe368dc85e
[ "MIT" ]
null
null
null
base/timestamp.cpp
hxgned/reactor
d6f0596f166a5358a82a98f9b92c1abe368dc85e
[ "MIT" ]
1
2021-08-29T02:51:08.000Z
2021-08-29T02:51:08.000Z
#include "base/timestamp.hpp" namespace reactor { std::string fmt_timestamp(time_t t) { t += 8 * 60 * 60; struct tm *p; p = gmtime(&t); char s[80]; strftime(s, 80, "%Y-%m-%d %H:%M:%S", p); std::string st(s); return st; } time_t reverse_fmt_timestamp(const char *tstring) { if (!tstring ...
22.965517
76
0.599099
hxgned
9c45cbf441298542d263ca37f0ca9df6b5503020
15,596
cc
C++
src/scene/object.cc
RichardRanft/Torque6
db6cd08f18f4917e0c6557b2766fb40d8e2bee39
[ "MIT" ]
312
2015-02-17T15:07:28.000Z
2022-03-12T07:09:56.000Z
src/scene/object.cc
lukaspj/Torque6
db6cd08f18f4917e0c6557b2766fb40d8e2bee39
[ "MIT" ]
23
2015-03-30T14:47:37.000Z
2020-11-02T00:00:24.000Z
src/scene/object.cc
lukaspj/Torque6
db6cd08f18f4917e0c6557b2766fb40d8e2bee39
[ "MIT" ]
73
2015-02-17T15:07:30.000Z
2021-10-02T03:11:59.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2015 Andrew Mac // // 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, inc...
30.580392
182
0.599513
RichardRanft
9c48875db5906142a4ce29cf9b45f5d929492de4
2,584
hpp
C++
rclpy/src/rclpy/guard_condition.hpp
RoboStack/rclpy
c67e43a69a1580eeac4a90767e24ceeea31a298e
[ "Apache-2.0" ]
null
null
null
rclpy/src/rclpy/guard_condition.hpp
RoboStack/rclpy
c67e43a69a1580eeac4a90767e24ceeea31a298e
[ "Apache-2.0" ]
null
null
null
rclpy/src/rclpy/guard_condition.hpp
RoboStack/rclpy
c67e43a69a1580eeac4a90767e24ceeea31a298e
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Open Source Robotics Foundation, Inc. // // 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 appli...
27.784946
94
0.740712
RoboStack
9c49c64dc561ac6bb5d6d6f4f313105699edbc9e
321
cpp
C++
test/atcoder/atc001-c.cpp
sash2104/library
ecb52543e4f8a66300ffd8794ea9c13bc74bdb19
[ "Unlicense" ]
null
null
null
test/atcoder/atc001-c.cpp
sash2104/library
ecb52543e4f8a66300ffd8794ea9c13bc74bdb19
[ "Unlicense" ]
10
2020-01-27T15:57:45.000Z
2021-12-20T03:26:26.000Z
test/atcoder/atc001-c.cpp
sash2104/library
ecb52543e4f8a66300ffd8794ea9c13bc74bdb19
[ "Unlicense" ]
null
null
null
#include <vector> #include "../../external/fft.hpp" using namespace std; int main() { int n; cin >> n; vector<double> a(n+1), b(n+1); for (int i = 0; i < n; ++i) { cin >> a[i+1] >> b[i+1]; } vector<double> c = convolve(a, b); for (int i = 1; i <= 2*n; ++i) { cout << (int)(c[i]+0.5) << endl; } }...
18.882353
36
0.479751
sash2104
9c4cdaee81963357e0ad062d02143d067d5d8bd3
17,254
cpp
C++
Engine/Graphics/Direct3D12/D3D12Core.cpp
ZackShrout/HavanaEngine
b8869acfff27e41bd37079716d152c2df9674fe2
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/Direct3D12/D3D12Core.cpp
ZackShrout/HavanaEngine
b8869acfff27e41bd37079716d152c2df9674fe2
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/Direct3D12/D3D12Core.cpp
ZackShrout/HavanaEngine
b8869acfff27e41bd37079716d152c2df9674fe2
[ "Apache-2.0" ]
null
null
null
#include "D3D12Core.h" #include "D3D12Surface.h" #include "D3D12Shaders.h" #include "D3D12GPass.h" #include "D3D12PostProcess.h" using namespace Microsoft::WRL; namespace Havana::Graphics::D3D12::Core { namespace { class D3D12Command { public: D3D12Command() = default; DISABLE_COPY_AND_MOVE(D3D12Command...
31.032374
154
0.720065
ZackShrout
9c4ce9d38e67f747ad745f068b9c666f1982d440
12,460
cpp
C++
source/rendering/simple_bitmap_font.cpp
xeek-pro/isometric
6f7d05ce597683552d5dc3078a1634fddd41092b
[ "MIT" ]
1
2021-08-02T04:49:44.000Z
2021-08-02T04:49:44.000Z
source/rendering/simple_bitmap_font.cpp
xeek-pro/isometric
6f7d05ce597683552d5dc3078a1634fddd41092b
[ "MIT" ]
null
null
null
source/rendering/simple_bitmap_font.cpp
xeek-pro/isometric
6f7d05ce597683552d5dc3078a1634fddd41092b
[ "MIT" ]
1
2021-09-09T16:49:53.000Z
2021-09-09T16:49:53.000Z
#include "simple_bitmap_font.h" #include <SDL_ttf.h> #include <vector> #include <tuple> using namespace isometric::rendering; static void generate_glyph_surfaces(TTF_Font* font, const std::vector<char>& glyphs, bitmap_font_info& font_info); static void generate_glyph_srcrects(bitmap_font_info& font_info); static void...
29.808612
130
0.620305
xeek-pro
9c4ec648c2fe579b50c28a09ec4744a0eaa441df
1,748
hpp
C++
include/boost/simd/arch/common/generic/function/acotd.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/arch/common/generic/function/acotd.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/arch/common/generic/function/acotd.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2015 NumScale SAS @copyright 2015 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
32.981132
100
0.6127
yaeldarmon
9c4f1bff0639e13a8c6617b6fd5539af1a5a94f4
7,409
cpp
C++
code/engine.vc2008/xrGame/ai/monsters/chimera/chimera.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/engine.vc2008/xrGame/ai/monsters/chimera/chimera.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/engine.vc2008/xrGame/ai/monsters/chimera/chimera.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
#include "stdafx.h" #include "chimera.h" #include "chimera_state_manager.h" //#include "../../../../Include/xrRender/KinematicsAnimated.h" #include "../../../detail_path_manager.h" #include "../monster_velocity_space.h" #include "../../../level.h" //#include "../../../PhysicsShell.h" #include "../../../sound_player.h" ...
42.096591
114
0.719935
Rikoshet-234
9c54e92fb7810670979ffd11764a525e64f9f322
3,281
hpp
C++
src/catch2/internal/catch_unique_ptr.hpp
shanep/Catch2
2db1cf34047f76cb2679a3804b476881536ad27b
[ "BSL-1.0" ]
9,861
2017-11-03T13:11:42.000Z
2022-03-31T23:50:03.000Z
src/catch2/internal/catch_unique_ptr.hpp
shanep/Catch2
2db1cf34047f76cb2679a3804b476881536ad27b
[ "BSL-1.0" ]
1,409
2017-11-03T13:42:48.000Z
2022-03-31T14:46:42.000Z
src/catch2/internal/catch_unique_ptr.hpp
shanep/Catch2
2db1cf34047f76cb2679a3804b476881536ad27b
[ "BSL-1.0" ]
2,442
2017-11-03T14:48:53.000Z
2022-03-31T23:07:09.000Z
// Copyright Catch2 Authors // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // SPDX-License-Identifier: BSL-1.0 #ifndef CATCH_UNIQUE_PTR_HPP_INCLUDED #define CATCH_UNIQUE_PTR_HPP_INCLUDED...
25.434109
88
0.565681
shanep
9c56af0b2bed3f2a2a700e81cc2c817ee8d85915
14,168
cpp
C++
uberlogger.cpp
wolfviking0/uberlog
acd6a576d1ef1511828a661725951d349903b694
[ "MIT" ]
null
null
null
uberlogger.cpp
wolfviking0/uberlog
acd6a576d1ef1511828a661725951d349903b694
[ "MIT" ]
null
null
null
uberlogger.cpp
wolfviking0/uberlog
acd6a576d1ef1511828a661725951d349903b694
[ "MIT" ]
null
null
null
/* This is the child process that is spawned by a log writer. Here we consume log messages from the ring buffer, and write them into the log file. */ #ifdef _WIN32 #define _CRT_SECURE_NO_WARNINGS #ifndef NOMINMAX #define NOMINMAX #endif //#define UNICODE #include <windows.h> #include <io.h> #include <fcntl.h> #include ...
24.899824
134
0.635305
wolfviking0
9c58087d525a543e228a2eec3ab9599f71d45814
910
cpp
C++
C++/222. Count Complete Tree Nodes.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
3
2018-07-28T15:36:18.000Z
2020-03-17T01:26:22.000Z
C++/222. Count Complete Tree Nodes.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
null
null
null
C++/222. Count Complete Tree Nodes.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
null
null
null
// // Created by ็Ž‹้˜ณ on 2018/8/12. // #include "header.h" class Solution { public: int countNodes(TreeNode *root) { if (nullptr == root) { return 0; } else { int left = this->get_left_height(root); int right = this->get_right_height(root); if (left =...
20.222222
88
0.459341
WangYang-wy
9c5bb9e394606f0485402ba57e04f8fbf4284097
2,353
cpp
C++
Luogu/P5490_withoutPTR.cpp
Thomitics/MyOI
72f75b61b79230835a65ca313896031ba9d4665f
[ "MIT" ]
140
2021-02-14T02:41:48.000Z
2021-07-08T02:59:13.000Z
Luogu/P5490_withoutPTR.cpp
LikiBlaze/MyOI
72f75b61b79230835a65ca313896031ba9d4665f
[ "MIT" ]
1
2021-02-16T02:46:45.000Z
2021-02-16T02:46:45.000Z
Luogu/P5490_withoutPTR.cpp
Thomitics/MyOI
72f75b61b79230835a65ca313896031ba9d4665f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define INF 999999999 #define lch (nowX << 1) #define rch (nowX << 1 | 1) using namespace std; inline long long read() { long long x = 0; int f = 1; char ch = getchar(); while (ch < '0' || ch > '9') { if (ch == '-') f = -1; ch = getchar(); } while (ch >= '0' && ch <= '9') { x...
16.227586
66
0.517212
Thomitics
9c5d6d101fb732a02431fa8338d851742fd43f6b
1,702
cpp
C++
vpc/src/v2/model/NeutronUpdateFirewallGroupResponse.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
vpc/src/v2/model/NeutronUpdateFirewallGroupResponse.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
vpc/src/v2/model/NeutronUpdateFirewallGroupResponse.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/vpc/v2/model/NeutronUpdateFirewallGroupResponse.h" namespace HuaweiCloud { namespace Sdk { namespace Vpc { namespace V2 { namespace Model { NeutronUpdateFirewallGroupResponse::NeutronUpdateFirewallGroupResponse() { firewallGroupIsSet_ = false; } NeutronUpdateFirewallGroupResponse::~Neu...
21.012346
105
0.731492
yangzhaofeng
9c610f9066faa56fa1ffaef317e0e93336359470
3,234
cpp
C++
Raven.CppClient/ToggleDatabasesStateOperation.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-04-24T02:34:53.000Z
2019-08-01T08:22:26.000Z
Raven.CppClient/ToggleDatabasesStateOperation.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
2
2019-03-21T09:00:02.000Z
2021-02-28T23:49:26.000Z
Raven.CppClient/ToggleDatabasesStateOperation.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-03-04T11:58:54.000Z
2021-03-01T00:25:49.000Z
๏ปฟ#include "stdafx.h" #include "ToggleDatabasesStateOperation.h" #include "json_utils.h" namespace ravendb::client::documents::operations { void toggle_databases_state_operation::to_json(nlohmann::json& j, const Parameters& p) { using ravendb::client::impl::utils::json_utils::set_val_to_json; set_val_to_json(j, ...
33.6875
118
0.780148
mlawsonca
9c66c550a684052ab098d82ce6d8edb79b7d90e5
3,554
cpp
C++
lib/models/guild_member.cpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
44
2016-09-19T15:28:25.000Z
2018-08-09T13:17:40.000Z
lib/models/guild_member.cpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
44
2016-11-03T17:27:30.000Z
2017-12-10T16:17:31.000Z
lib/models/guild_member.cpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
13
2016-11-01T00:17:20.000Z
2018-08-03T19:51:16.000Z
#include <disccord/models/guild_member.hpp> namespace disccord { namespace models { guild_member::guild_member() : member(), nick(), roles(), joined_at(""), deaf(false), mute(false) { } guild_member::~guild_member() { } void guild_member::decode(web::js...
33.214953
73
0.433877
FiniteReality
9c6766113058abefb8881daad153bc72d8a29f8e
4,011
cpp
C++
platformio/src/display/lvgl_adapter.cpp
th0mpy/simple_stepper_motor_analyzer
a8e6377aac78fe9a346e57819f1963a0ae52e446
[ "CC0-1.0" ]
218
2021-01-30T07:36:53.000Z
2022-03-28T23:34:35.000Z
platformio/src/display/lvgl_adapter.cpp
th0mpy/simple_stepper_motor_analyzer
a8e6377aac78fe9a346e57819f1963a0ae52e446
[ "CC0-1.0" ]
19
2021-04-17T12:45:07.000Z
2022-03-03T22:38:48.000Z
platformio/src/display/lvgl_adapter.cpp
th0mpy/simple_stepper_motor_analyzer
a8e6377aac78fe9a346e57819f1963a0ae52e446
[ "CC0-1.0" ]
38
2021-03-23T21:13:12.000Z
2022-03-19T20:34:13.000Z
// See display porting here: // https://docs.lvgl.io/v7/en/html/porting/display.html #include "lvgl_adapter.h" #include <stdio.h> #include "io.h" #include "lvgl.h" #include "misc/hardware_config.h" #include "pico/stdlib.h" #include "tft_driver.h" #include "touch_driver.h" #if LV_COLOR_DEPTH != 16 #error "Expecting ...
28.65
79
0.71653
th0mpy
9c67cdeeb75828bed82cf2147172a6c1dd2d6e9d
12,209
cpp
C++
libclamav/c++/llvm/lib/Target/SubtargetFeature.cpp
watchdogdevel/wsdk-scanner-core
7a2451bbee9ed9a7246eb5fbb21d09d7e0442240
[ "BSL-1.0" ]
1
2022-01-22T12:16:33.000Z
2022-01-22T12:16:33.000Z
libclamav/c++/llvm/lib/Target/SubtargetFeature.cpp
watchdogdevel/wsdk-scanner-core
7a2451bbee9ed9a7246eb5fbb21d09d7e0442240
[ "BSL-1.0" ]
null
null
null
libclamav/c++/llvm/lib/Target/SubtargetFeature.cpp
watchdogdevel/wsdk-scanner-core
7a2451bbee9ed9a7246eb5fbb21d09d7e0442240
[ "BSL-1.0" ]
null
null
null
//===- SubtargetFeature.cpp - CPU characteristics Implementation ----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
31.711688
80
0.595053
watchdogdevel
9c6bef073a4ae6954415cbc0a28227b140d74451
5,125
hpp
C++
http_parser/utils/pos_string_view.hpp
zerhud/std_http_utils
0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293
[ "MIT" ]
null
null
null
http_parser/utils/pos_string_view.hpp
zerhud/std_http_utils
0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293
[ "MIT" ]
null
null
null
http_parser/utils/pos_string_view.hpp
zerhud/std_http_utils
0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293
[ "MIT" ]
null
null
null
#pragma once /************************************************************************* * Copyright ยฉ 2022 Hudyaev Alexy <hudyaev.alexy@gmail.com> * This file is part of http_parser. * Distributed under the MIT License. * See accompanying file LICENSE (at the root of this repository) *****************************...
25.371287
97
0.646439
zerhud
9c743e42b45f0d5cb56a2403c1fa6bdb214eddb3
1,086
inl
C++
Library/Sources/Stroika/Foundation/IO/FileSystem/Directory.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Library/Sources/Stroika/Foundation/IO/FileSystem/Directory.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Library/Sources/Stroika/Foundation/IO/FileSystem/Directory.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #ifndef _Stroika_Foundation_IO_FileSystem_Directory_inl_ #define _Stroika_Foundation_IO_FileSystem_Directory_inl_ 1 /* ******************************************************************************** ***************************** Implemen...
30.166667
96
0.572744
SophistSolutions
9c7663b12324c0bd317f5556dd6bb0116a923d50
6,536
hpp
C++
ql/experimental/credit/syntheticcdo.hpp
quantosaurosProject/quantLib
84b49913d3940cf80d6de8f70185867373f45e8d
[ "BSD-3-Clause" ]
null
null
null
ql/experimental/credit/syntheticcdo.hpp
quantosaurosProject/quantLib
84b49913d3940cf80d6de8f70185867373f45e8d
[ "BSD-3-Clause" ]
null
null
null
ql/experimental/credit/syntheticcdo.hpp
quantosaurosProject/quantLib
84b49913d3940cf80d6de8f70185867373f45e8d
[ "BSD-3-Clause" ]
1
2022-03-29T05:44:27.000Z
2022-03-29T05:44:27.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2008 Roland Lichters This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and...
34.4
83
0.642289
quantosaurosProject
9c76667354ac64801a24f99037aacd7de40e0152
7,193
cpp
C++
extra/news/src/apk/gtagml/gtagml/gtagml/output/gtagml-output-event-handler.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/gtagml/gtagml/gtagml/output/gtagml-output-event-handler.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/gtagml/gtagml/gtagml/output/gtagml-output-event-handler.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
// Copyright Nathaniel Christen 2019. // 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 "gtagml-output-event-handler.h" #include "kernel/document/gtagml-document.h" #include "k...
26.347985
130
0.791464
scignscape
9c773dca787edd1cfd75e19ea8df58f0e778fe09
19,070
cpp
C++
tier0/dbg.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/tier0/dbg.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/tier0/dbg.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
//===== Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ======// // // Purpose: // // $NoKeywords: $ // //===========================================================================// #include "tier0/platform.h" #if defined( PLATFORM_WINDOWS_PC ) #define WIN_32_LEAN_AND_MEAN #include <windows.h> ...
27.75837
220
0.675564
DannyParker0001
9c78bd8d14dbe2591198501573c86303cded5b80
522
hpp
C++
clove/components/systems/ai/include/Clove/AI/Selector.hpp
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
null
null
null
clove/components/systems/ai/include/Clove/AI/Selector.hpp
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
null
null
null
clove/components/systems/ai/include/Clove/AI/Selector.hpp
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
null
null
null
#pragma once #include "Clove/AI/Composite.hpp" #include <Clove/DeltaTime.hpp> namespace clove { class Selector : public Composite { //FUNCTIONS public: Selector(); Selector(Selector const &other) = delete; Selector(Selector &&other) noexcept; Selector &operator=( Sel...
22.695652
84
0.643678
mondoo
9c79f4915ffb3c45110427ac487ebf9044face56
6,641
hpp
C++
recipes-coinutils/coinutils/coinutils/src/CoinPresolvePsdebug.hpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-coinutils/coinutils/coinutils/src/CoinPresolvePsdebug.hpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-coinutils/coinutils/coinutils/src/CoinPresolvePsdebug.hpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
// Copyright (C) 2002, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #ifndef CoinPresolvePsdebug_H #define CoinPresolvePsdebug_H /* The current idea of the relation between PRESOLVE_DEBUG and PRESOLVE_...
39.295858
79
0.764644
Justin790126
9c7adc4c02a84daea674d31050975ef4d4497336
526
cpp
C++
tests/core/gui/widgets/MarginsTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
null
null
null
tests/core/gui/widgets/MarginsTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
29
2020-10-21T07:34:55.000Z
2021-01-12T15:15:53.000Z
tests/core/gui/widgets/MarginsTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
1
2020-10-19T19:30:40.000Z
2020-10-19T19:30:40.000Z
#include <catch2/catch.hpp> #include "core/gui/widgets/Margins.h" TEST_CASE("[Margins]") { auto margins = std::make_unique< ire::core::gui::Margins>(); SECTION("Values") { REQUIRE(*margins.get() == ire::core::gui::Margins({ 0, 0, 0, 0 })); margins->m_left = 10; margins->m_top = 15; REQUIRE(*margins.get()...
23.909091
76
0.608365
Kubaaa96