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
76ae2c05042d464bd907ab21b1c03582f2c8b85a
2,001
cpp
C++
Sources/Internal/Platform/TemplateAndroid/JniExtensions.cpp
reven86/dava.engine
ca47540c8694668f79774669b67d874a30188c20
[ "BSD-3-Clause" ]
5
2020-02-11T12:04:17.000Z
2022-01-30T10:18:29.000Z
Sources/Internal/Platform/TemplateAndroid/JniExtensions.cpp
reven86/dava.engine
ca47540c8694668f79774669b67d874a30188c20
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/Platform/TemplateAndroid/JniExtensions.cpp
reven86/dava.engine
ca47540c8694668f79774669b67d874a30188c20
[ "BSD-3-Clause" ]
4
2019-11-28T19:24:34.000Z
2021-08-24T19:12:50.000Z
#include "JniExtensions.h" #if !defined(__DAVAENGINE_COREV2__) #if defined(__DAVAENGINE_ANDROID__) #include "Platform/TemplateAndroid/CorePlatformAndroid.h" #include "UI/UIControlSystem.h" #include "Math/Rect.h" #include "Logger/Logger.h" #include "Debug/DVAssert.h" namespace DAVA { JniExtension::JniExtension() { ...
26.328947
116
0.709645
reven86
76b1445040b47301c1d5ceb15e854fd7590c3876
574
cpp
C++
3/3/35.cpp
Jamxscape/LearnCPlusPlus
9770af743a2f6e9267421ff8fec93eb9d81c1f14
[ "Apache-2.0" ]
null
null
null
3/3/35.cpp
Jamxscape/LearnCPlusPlus
9770af743a2f6e9267421ff8fec93eb9d81c1f14
[ "Apache-2.0" ]
null
null
null
3/3/35.cpp
Jamxscape/LearnCPlusPlus
9770af743a2f6e9267421ff8fec93eb9d81c1f14
[ "Apache-2.0" ]
null
null
null
// // 35.cpp // 3 // // Created by 马元 on 2016/12/25. // Copyright © 2016年 MaYuan. All rights reserved. //大家提到LTC都佩服的不行,不过,如果竞赛只有这一个题目,我敢保证你和他绝对在一个水平线上你的任务是:计算方程x^2+y^2+z^2= num的一个正整数解。Input输入数据包含多个测试实例,每个实例占一行,仅仅包含一个小于等于10000的正整数num。Output对于每组测试数据,请按照x,y,z递增的顺序输出它的一个最小正整数解,每个实例的输出占一行,题目保证所有测试数据都有解。 #include <iostr...
26.090909
196
0.627178
Jamxscape
76b2c5fdc93414e954ec805be777754828ea48ef
739
cpp
C++
src/VK/SemaphoreWrapper.cpp
razerx100/Terra
a30738149cb07325283c2da9ac7972f079cb4dbc
[ "MIT" ]
null
null
null
src/VK/SemaphoreWrapper.cpp
razerx100/Terra
a30738149cb07325283c2da9ac7972f079cb4dbc
[ "MIT" ]
null
null
null
src/VK/SemaphoreWrapper.cpp
razerx100/Terra
a30738149cb07325283c2da9ac7972f079cb4dbc
[ "MIT" ]
null
null
null
#include <SemaphoreWrapper.hpp> #include <VKThrowMacros.hpp> SemaphoreWrapper::SemaphoreWrapper(VkDevice device, size_t count) : m_deviceRef(device), m_semaphores(count) { VkSemaphoreCreateInfo semaphoreInfo = {}; semaphoreInfo.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO; VkResult result; for (siz...
29.56
76
0.759134
razerx100
76b2d918729e127a4b073b29b126d91cd5f6e0d2
1,049
cpp
C++
Chapter_3/p3_16.cpp
aalogancheney/CPlusPlus_For_Everyone
251247cf1f1ca169826179379831192fadfaa5f9
[ "MIT" ]
null
null
null
Chapter_3/p3_16.cpp
aalogancheney/CPlusPlus_For_Everyone
251247cf1f1ca169826179379831192fadfaa5f9
[ "MIT" ]
null
null
null
Chapter_3/p3_16.cpp
aalogancheney/CPlusPlus_For_Everyone
251247cf1f1ca169826179379831192fadfaa5f9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using std::cin; using std::cout; using std::endl; using std::string; void ClearInputDisplayMessage(const string& message) { cout << message << endl; cin.clear(); string ignore; getline(cin, ignore); } int main(int argc, char *argv[]) { cout << "Enter the employees name: "; ...
16.919355
69
0.632984
aalogancheney
76b4b622cd484e8969d77bfa2d4b292a7158258f
2,880
hpp
C++
src/io/FileWriterInterface.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2018-07-04T16:44:04.000Z
2021-01-03T07:26:27.000Z
src/io/FileWriterInterface.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
src/io/FileWriterInterface.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
/** \defgroup Output Output module * @{ <img src="output.png"> @} */ #pragma once #include <vector> #include <string> #include "AMDiS_fwd.hpp" #include "Mesh.hpp" namespace AMDiS { class FileWriterInterface { public: FileWriterInterface() : filename(""), appendIndex(0), indexLengt...
25.263158
109
0.621875
spraetor
76b4efc373f16d2ffbb1f048bf2b579d8d95c96f
2,746
cpp
C++
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/constants/rmm.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/constants/rmm.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/constants/rmm.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @copyright * Copyright (c) 2017-2019 Intel Corporation * * @copyright * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * @copyright * http://www.apache.org/licenses/LICENSE-...
34.325
75
0.776766
opencomputeproject
76b777a4b45c88e0548d0939d5c537fbebce4b59
269
cpp
C++
src/ComponentSet.cpp
Konijnendijk/Meadows-ECS
5ee2619481086edaabcfa235e2455686cb854901
[ "BSL-1.0", "MIT" ]
1
2017-11-22T11:39:25.000Z
2017-11-22T11:39:25.000Z
src/ComponentSet.cpp
Konijnendijk/Meadows-ECS
5ee2619481086edaabcfa235e2455686cb854901
[ "BSL-1.0", "MIT" ]
null
null
null
src/ComponentSet.cpp
Konijnendijk/Meadows-ECS
5ee2619481086edaabcfa235e2455686cb854901
[ "BSL-1.0", "MIT" ]
null
null
null
#include "ComponentSet.h" using namespace Meadows; ComponentSet::ComponentSet() : componentBitSet(ComponentRegistry::getNumRegisteredComponents()) { } ComponentSet::~ComponentSet() { for (Component* component : components) { delete(component); } }
17.933333
97
0.717472
Konijnendijk
76bc393e21a080577c2bc57cc5ae93e4b500e791
535
cpp
C++
spoj/HOTELS.cpp
amarlearning/CodeForces
6625d3be21cb6a78b88c7521860d1da263e77121
[ "Unlicense" ]
3
2016-02-20T12:14:51.000Z
2016-03-18T20:09:36.000Z
spoj/HOTELS.cpp
amarlearning/Codeforces
6625d3be21cb6a78b88c7521860d1da263e77121
[ "Unlicense" ]
null
null
null
spoj/HOTELS.cpp
amarlearning/Codeforces
6625d3be21cb6a78b88c7521860d1da263e77121
[ "Unlicense" ]
2
2018-07-26T21:00:42.000Z
2019-11-30T19:33:57.000Z
/* Author : Amar Prakash Pandey contact : http://amarpandey.me */ #include <bits/stdc++.h> #define ll long long #define MAX 1000005 using namespace std; ll int A[MAX]; int main(int argc, char const *argv[]) { ll int N, M, sum = 0; scanf("%lld %lld", &N, &M); for (ll int i = 0; i < N; ++i) { scanf("%lld", ...
12.738095
40
0.506542
amarlearning
76be93f1975379ff4d2dbd50e15a7220270d08af
304
cpp
C++
cc/tests/test1/submit.cpp
DragoonKiller/bruteforces
e6283b18c692a3726e7e52a6a60e64ddc903da91
[ "MIT" ]
null
null
null
cc/tests/test1/submit.cpp
DragoonKiller/bruteforces
e6283b18c692a3726e7e52a6a60e64ddc903da91
[ "MIT" ]
null
null
null
cc/tests/test1/submit.cpp
DragoonKiller/bruteforces
e6283b18c692a3726e7e52a6a60e64ddc903da91
[ "MIT" ]
null
null
null
static void this_is_a_function_in_brute_gen_in_all_hpp() { } static void this_is_a_function_in_bits_hpp() { } #include <bits/stdc++.h> static void this_is_another_function_in_bits_hpp() { } #include <chrono> static void this_is_a_function_outof_brute_gen_in_all_hpp() { } int main() { return 0; }
21.714286
63
0.776316
DragoonKiller
76c2f4df9cb8a71855172fdb7ebc46cab2b57915
8,603
cpp
C++
src/ui/SciControl/CScintillaController.cpp
masmullin2000/codeassistor
82389e16dda7be522ee5370aae441724da2e9cf2
[ "BSD-4-Clause" ]
null
null
null
src/ui/SciControl/CScintillaController.cpp
masmullin2000/codeassistor
82389e16dda7be522ee5370aae441724da2e9cf2
[ "BSD-4-Clause" ]
null
null
null
src/ui/SciControl/CScintillaController.cpp
masmullin2000/codeassistor
82389e16dda7be522ee5370aae441724da2e9cf2
[ "BSD-4-Clause" ]
null
null
null
/** title info */ #include "CScintillaController.h" #include "ScintillaSend.h" #include "common_defs.h" /* colourizing defines */ #if PLATFORM == MAC #define DEF_KEYW_1 "#FF627E" #define DEF_KEYW_2 "#FF00FF" #define DEF_NUM "#0000FF" #define DEF_OP "#0000FF" #define DEF_STRING "#EE9A4D" #define ...
37.404348
84
0.749622
masmullin2000
76c84ac58ffc95d332730ba9586637136a402d87
4,225
cpp
C++
ZEDModel.cpp
balder2046/WorldViewer
088f7bfdbf3a4ac8ca82f301c26969e1b4db40f0
[ "MIT" ]
null
null
null
ZEDModel.cpp
balder2046/WorldViewer
088f7bfdbf3a4ac8ca82f301c26969e1b4db40f0
[ "MIT" ]
null
null
null
ZEDModel.cpp
balder2046/WorldViewer
088f7bfdbf3a4ac8ca82f301c26969e1b4db40f0
[ "MIT" ]
null
null
null
#include <GL/glew.h> #include <glm/detail/type_mat.hpp> #include <glm/gtc/type_ptr.hpp> #include "ZEDModel.hpp" #include "glm/glm.hpp" void CheckGLError(); Zed3D::Zed3D() { body_io.clear(); path_mem.clear(); vaoID = 0; vboID = 0; darktriID = 0; allumtriID = 0; } Zed3D::~Zed3D() { ...
31.296296
117
0.641657
balder2046
76c8aee4977befd247672662a0830efb72cbde0c
10,425
cpp
C++
source/printf.cpp
Rohansi/RaspberryPi
8cc24fa49ae7842ee7a9df954fe9672d32826a4b
[ "MIT" ]
3
2015-12-27T21:41:09.000Z
2017-03-28T14:29:09.000Z
source/printf.cpp
Rohansi/RaspberryPi
8cc24fa49ae7842ee7a9df954fe9672d32826a4b
[ "MIT" ]
null
null
null
source/printf.cpp
Rohansi/RaspberryPi
8cc24fa49ae7842ee7a9df954fe9672d32826a4b
[ "MIT" ]
2
2016-01-06T21:26:42.000Z
2021-02-18T16:47:25.000Z
// // Created by Daniel Lindberg on 2015-11-29. // #include <limits.h> #include "string.h" #include "printf.h" #define MAX_INTEGER_SIZE 65 #define FLAG_LEFT_ADJUST 0x01 #define FLAG_ALWAYS_SIGN 0x02 #define FLAG_PREPEND_SPACE 0x04 #define FLAG_ALTERNATIVE 0x08 #define FLAG_PAD_WITH_ZERO 0x10 #define INPUT_TYP...
28.561644
126
0.526331
Rohansi
76c94f79b5ba8720a93381adb8428d974c59c32e
10,586
cc
C++
src/procps.cc
thlorenz/procps
b713185dc7b4c82d8cbc9f4be7e345f09df365bb
[ "MIT" ]
5
2016-02-14T11:03:22.000Z
2019-11-27T12:29:36.000Z
src/procps.cc
thlorenz/procps
b713185dc7b4c82d8cbc9f4be7e345f09df365bb
[ "MIT" ]
null
null
null
src/procps.cc
thlorenz/procps
b713185dc7b4c82d8cbc9f4be7e345f09df365bb
[ "MIT" ]
9
2017-08-31T11:03:02.000Z
2021-11-21T14:09:19.000Z
#include <node.h> #include <nan.h> #include "procps.h" #include "proc/sysinfo.h" #include "proc/whattime.h" #include <cassert> #include <time.h> #include <sys/time.h> using v8::FunctionTemplate; using v8::Handle; using v8::Local; using v8::Object; using v8::String; using v8::Number; using v8::Integer; using v8::Int3...
26.59799
134
0.665029
thlorenz
76cebccee3d56683320f6a612249e7a872d7c0ac
3,434
cpp
C++
willow/src/patterns/initaccumulatepattern.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/src/patterns/initaccumulatepattern.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/src/patterns/initaccumulatepattern.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #include <popart/error.hpp> #include <popart/graph.hpp> #include <popart/op/add.hpp> #include <popart/op/init.hpp> #include <popart/op/pad.hpp> #include <popart/patterns/initaccumulatepattern.hpp> #include <popart/patterns/patterns.hpp> #include <popart/tensor.h...
28.147541
77
0.692196
gglin001
76d4f57531e01891535353830596594b082f7844
2,064
hpp
C++
include/boost/simd/arch/common/scalar/function/if_else_zero.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/arch/common/scalar/function/if_else_zero.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/arch/common/scalar/function/if_else_zero.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) ...
31.753846
100
0.493702
yaeldarmon
76e3c01117eab50b90b46fcac940cf4a60f2d3f7
47,332
cxx
C++
PWG/muondep/AliMuonAccEffSubmitter.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWG/muondep/AliMuonAccEffSubmitter.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWG/muondep/AliMuonAccEffSubmitter.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
29.843632
314
0.655223
maroozm
76e571f497eee37ee1d1c998d036ab36c27fb434
407
cpp
C++
atcoder.jp/abc176/abc176_c/Main.cpp
shikij1/AtCoder
7ae2946efdceaea3cc8725e99a2b9c137598e2f8
[ "MIT" ]
null
null
null
atcoder.jp/abc176/abc176_c/Main.cpp
shikij1/AtCoder
7ae2946efdceaea3cc8725e99a2b9c137598e2f8
[ "MIT" ]
null
null
null
atcoder.jp/abc176/abc176_c/Main.cpp
shikij1/AtCoder
7ae2946efdceaea3cc8725e99a2b9c137598e2f8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { long long n; cin >> n; vector<long long> a(n); for (long long i = 0; i < n; i++) { cin >> a[i]; } long long sum = 0; for (long long i = 1; i < n; i++) { if (a[i - 1] - a[i] > 0) { sum += a[...
17.695652
37
0.36855
shikij1
76e80425e6f570ee6e75f0f24157922dde924e0f
14,289
cc
C++
tile/lang/gen_special.cc
redoclag/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
4,535
2017-10-20T05:03:57.000Z
2022-03-30T15:42:33.000Z
tile/lang/gen_special.cc
HOZHENWAI/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
984
2017-10-20T17:16:09.000Z
2022-03-30T05:43:18.000Z
tile/lang/gen_special.cc
HOZHENWAI/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
492
2017-10-20T18:22:32.000Z
2022-03-30T09:00:05.000Z
#include "tile/lang/gen_special.h" #include <exception> #include <map> #include <memory> #include <utility> #include "base/util/logging.h" #include "tile/lang/gid.h" #include "tile/lang/ops.h" #include "tile/lang/sembuilder.h" #include "tile/lang/semprinter.h" namespace vertexai { namespace tile { namespace lang { ...
39.472376
120
0.654629
redoclag
76ec34d5e9013b663a976d1ec8b0e86c06081e50
650
cpp
C++
Sources/CryGame C++/Solution1/STLPORT/test/regression/lexcmp1.cpp
fromasmtodisasm/CryENGINE_MOD_SDK
0b242ffcf615cdc0177f6c96b03b4d60a4338321
[ "FSFAP" ]
14
2016-05-09T01:14:03.000Z
2021-10-12T21:41:02.000Z
src/STLport/test/regression/lexcmp1.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
null
null
null
src/STLport/test/regression/lexcmp1.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
6
2015-08-19T01:28:54.000Z
2020-10-25T05:17:08.000Z
// STLport regression testsuite component. // To compile as a separate example, please #define MAIN. #include <iostream> #include <algorithm> #ifdef MAIN #define lexcmp1_test main #endif #if !defined (STLPORT) || defined(__STL_USE_NAMESPACES) using namespace std; #endif int lexcmp1_test(int, char**) {...
23.214286
71
0.64
fromasmtodisasm
76f414310d4339aaf3d0b460446f0cf8c02a9f17
1,078
cpp
C++
Photon/photon/util/Transform.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
1
2017-05-28T12:10:30.000Z
2017-05-28T12:10:30.000Z
Photon/photon/util/Transform.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
null
null
null
Photon/photon/util/Transform.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
null
null
null
#include "Transform.h" namespace ph { glm::mat4 Transform::buildMatrix() { mat = glm::mat4(); mat = glm::translate(mat, pos); glm::mat4 rotm = glm::mat4_cast(rot); mat *= rotm; mat = glm::scale(mat, scale); return mat; } void Transform::rotEuler(glm::vec3 eu) { glm::quat qP = glm::angleAxis(glm:...
17.966667
74
0.59462
tatjam
76f529c822bc107727ad263e023f4c0149759b69
1,576
hpp
C++
redist/inc/imqdst.hpp
gmarcon83/mq-mqi-nodejs
27d44772254d0d76438022c6305277f603ff6acb
[ "Apache-2.0" ]
null
null
null
redist/inc/imqdst.hpp
gmarcon83/mq-mqi-nodejs
27d44772254d0d76438022c6305277f603ff6acb
[ "Apache-2.0" ]
null
null
null
redist/inc/imqdst.hpp
gmarcon83/mq-mqi-nodejs
27d44772254d0d76438022c6305277f603ff6acb
[ "Apache-2.0" ]
null
null
null
/* @(#) MQMBID sn=p924-L211104 su=_OdbBaj17EeygWfM06SbNXw pn=include/imqdst.pre_hpp */ #ifndef _IMQDST_HPP_ #define _IMQDST_HPP_ // Library: IBM MQ // Component: IMQI (IBM MQ C++ MQI) // Part: IMQDST.HPP // // Description: "ImqDistributionList" class declaration // <copyright // notice="lm-s...
28.142857
86
0.706853
gmarcon83
76f885c2f0a786d1eecf066cc26c0cf3da44d3a2
230
cpp
C++
src/plane_traits.cpp
richard-vock/triplet_match
a0375e75e08357c71b8b3945cb508ffb519121f8
[ "CC0-1.0" ]
3
2019-02-14T16:55:33.000Z
2022-02-07T13:08:47.000Z
src/plane_traits.cpp
richard-vock/triplet_match
a0375e75e08357c71b8b3945cb508ffb519121f8
[ "CC0-1.0" ]
1
2019-02-14T17:10:37.000Z
2019-02-14T17:10:37.000Z
src/plane_traits.cpp
richard-vock/triplet_match
a0375e75e08357c71b8b3945cb508ffb519121f8
[ "CC0-1.0" ]
null
null
null
#include <plane_traits> #include <impl/plane_traits.hpp> namespace triplet_match { #define INSTANTIATE_PCL_POINT_TYPE(type) \ template struct plane_traits<type>; #include "pcl_point_types.def" } // namespace triplet_match
20.909091
42
0.782609
richard-vock
76fa0b5358e9073caaf294c15fc60955f02be592
3,010
cpp
C++
src/stms/curl.cpp
RotartsiORG/StoneMason
0f6efefad68b29e7e82524e705ce47606ba53665
[ "Apache-2.0" ]
1
2021-10-02T19:31:14.000Z
2021-10-02T19:31:14.000Z
src/stms/curl.cpp
RotartsiORG/StoneMason
0f6efefad68b29e7e82524e705ce47606ba53665
[ "Apache-2.0" ]
1
2020-06-17T01:15:45.000Z
2020-06-17T01:16:08.000Z
src/stms/curl.cpp
RotartsiORG/StoneMason
0f6efefad68b29e7e82524e705ce47606ba53665
[ "Apache-2.0" ]
1
2020-10-17T23:57:27.000Z
2020-10-17T23:57:27.000Z
// // Created by grant on 6/2/20. // #include "stms/curl.hpp" #include <mutex> #include "stms/logging.hpp" namespace stms { void initCurl() { curl_global_init(CURL_GLOBAL_SSL | CURL_GLOBAL_WIN32); auto version = curl_version_info(CURLVERSION_NOW); STMS_INFO("LibCURL {}: On host '{}' with ...
31.354167
146
0.619934
RotartsiORG
76fbe39e413419e717be088742184ad004bd0256
1,937
cpp
C++
Engine/src/renderer/material/TexturePNG.cpp
Owlinated/SkyHockey
787a7fa6c4cd1773c5a5c7e15e014f675947a21e
[ "MIT" ]
null
null
null
Engine/src/renderer/material/TexturePNG.cpp
Owlinated/SkyHockey
787a7fa6c4cd1773c5a5c7e15e014f675947a21e
[ "MIT" ]
null
null
null
Engine/src/renderer/material/TexturePNG.cpp
Owlinated/SkyHockey
787a7fa6c4cd1773c5a5c7e15e014f675947a21e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <png.h> #include <src/support/Logger.h> #include "TexturePNG.h" /** * Load texture from .png file * @param image_path File of .png file. * @param mipmap Whether to load/generate mipmaps. */ TexturePNG::TexturePNG(const std::string& image_path, bool mipmap...
33.396552
102
0.710893
Owlinated
76fcf2736b58a99b802d5f28f72253782ebdd52f
2,947
cpp
C++
RobWork/src/rw/trajectory/TimedUtil.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rw/trajectory/TimedUtil.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rw/trajectory/TimedUtil.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
30.697917
93
0.624364
ZLW07
76fe86d469a3f2265d05dc3009f9981988a6a44a
647
cpp
C++
src/kc/core/Clock.cpp
nekoffski/libkc
f72cc40d2780747a707eaf6b822ba98848d92237
[ "MIT" ]
null
null
null
src/kc/core/Clock.cpp
nekoffski/libkc
f72cc40d2780747a707eaf6b822ba98848d92237
[ "MIT" ]
null
null
null
src/kc/core/Clock.cpp
nekoffski/libkc
f72cc40d2780747a707eaf6b822ba98848d92237
[ "MIT" ]
null
null
null
#include "Clock.h" #include <ctime> #include <iomanip> namespace kc::core { float toSeconds(const Clock::TimePoint& timePoint) { using namespace std::chrono; return duration_cast<microseconds>(timePoint.time_since_epoch()).count() / Clock::microsecondsInSecond; } std::string Clock::getTimeString(const std::...
21.566667
107
0.678516
nekoffski
0a00f41bfb75f9575dd010edec32c552fcb78c42
4,845
cc
C++
packages/solid/Cylinder_3D.cc
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
2
2020-04-13T20:06:41.000Z
2021-02-12T17:55:54.000Z
packages/solid/Cylinder_3D.cc
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
1
2018-10-22T21:03:35.000Z
2018-10-22T21:03:35.000Z
packages/solid/Cylinder_3D.cc
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
3
2019-04-03T02:15:37.000Z
2022-01-04T05:50:23.000Z
#include "Cylinder_3D.hh" #include "Vector_Functions_3D.hh" #include <cmath> using namespace std; namespace vf3 = Vector_Functions_3D; Cylinder_3D:: Cylinder_3D(int index, Surface_Type surface_type, double radius, vector<double> const &origin, vector<double> const &di...
29.011976
108
0.490815
brbass
0a028dcc0da795f0e336636cc08e39356c210a3f
7,281
cpp
C++
src/core/Hub.cpp
gabrielklein/SensorNode
e92dbd56aa0a7d75ab95b9c484f27ba6d0be64df
[ "MIT" ]
2
2018-01-21T11:43:36.000Z
2019-07-15T20:08:31.000Z
src/core/Hub.cpp
gabrielklein/SensorNode
e92dbd56aa0a7d75ab95b9c484f27ba6d0be64df
[ "MIT" ]
null
null
null
src/core/Hub.cpp
gabrielklein/SensorNode
e92dbd56aa0a7d75ab95b9c484f27ba6d0be64df
[ "MIT" ]
null
null
null
#include "Hub.h" #include "../Settings.h" Hub::Hub() { }; Hub::~Hub() { delete(this->webServerSN); delete(this->apStaClient); delete(this->led); delete(this->temp); delete(this->relay); delete(this->switc); delete(this->geiger); delete(this->mqtt); ...
30.721519
77
0.439363
gabrielklein
0a096f8d0bea078fd113c110e2ccfa182e51f0ee
156
hpp
C++
example/src/Utils/Config.hpp
matusnovak/doxydown
187dc2991dabe65f808263845e608e2ba2a41082
[ "MIT" ]
131
2019-12-12T09:08:03.000Z
2022-03-27T01:48:11.000Z
example/src/Utils/Config.hpp
matusnovak/doxydown
187dc2991dabe65f808263845e608e2ba2a41082
[ "MIT" ]
69
2020-02-21T05:50:27.000Z
2022-03-11T21:16:17.000Z
example/src/Utils/Config.hpp
matusnovak/doxydown
187dc2991dabe65f808263845e608e2ba2a41082
[ "MIT" ]
27
2020-02-20T04:50:23.000Z
2022-03-17T00:55:00.000Z
#pragma once /*! * @brief Autogenerated version string by CMake * @ingroup Utils */ #define ENGINE_VERSION "v1.0.1" #define ENGINE_ARCH "amd64"
17.333333
48
0.679487
matusnovak
0a0cf82fe63806cf84c2abc335fc5cb6eda5b4c6
563
cpp
C++
Section10/LetterPyramid/main.cpp
Yash-Singh1/cpp-programming
696c1dcff18af8e798fae6126a3b13f6259af4b7
[ "MIT" ]
null
null
null
Section10/LetterPyramid/main.cpp
Yash-Singh1/cpp-programming
696c1dcff18af8e798fae6126a3b13f6259af4b7
[ "MIT" ]
null
null
null
Section10/LetterPyramid/main.cpp
Yash-Singh1/cpp-programming
696c1dcff18af8e798fae6126a3b13f6259af4b7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main() { cout << "Welcome to the Letter Pyramid Generator!" << endl; string input; cout << "Enter the input text: "; getline(cin, input); size_t padding{input.length() - 1}; for (size_t i{1}; i <= input.length(); ++i) { cout << string(...
17.060606
61
0.520426
Yash-Singh1
0a0f0a5347be9d4d7b08b04467c4ed9c6c63ce96
14,129
cpp
C++
include/h3api/H3Dialogs/H3BaseDialog.cpp
Patrulek/H3API
91f10de37c6b86f3160706c1fdf4792f927e9952
[ "MIT" ]
14
2020-09-07T21:49:26.000Z
2021-11-29T18:09:41.000Z
include/h3api/H3Dialogs/H3BaseDialog.cpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
2
2021-02-12T15:52:31.000Z
2021-02-12T16:21:24.000Z
include/h3api/H3Dialogs/H3BaseDialog.cpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
8
2021-02-12T15:52:41.000Z
2022-01-31T15:28:10.000Z
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created or last upda...
34.293689
232
0.69375
Patrulek
0a0f1f29e718edf02fe77504a3c521cca069adde
5,283
cpp
C++
mgmtd/source/net/message/nodes/storagepools/ModifyStoragePoolMsgEx.cpp
TomatoYoung/beegfs
edf287940175ecded493183209719d2d90d45374
[ "BSD-3-Clause" ]
null
null
null
mgmtd/source/net/message/nodes/storagepools/ModifyStoragePoolMsgEx.cpp
TomatoYoung/beegfs
edf287940175ecded493183209719d2d90d45374
[ "BSD-3-Clause" ]
null
null
null
mgmtd/source/net/message/nodes/storagepools/ModifyStoragePoolMsgEx.cpp
TomatoYoung/beegfs
edf287940175ecded493183209719d2d90d45374
[ "BSD-3-Clause" ]
null
null
null
#include "ModifyStoragePoolMsgEx.h" #include <common/app/log/LogContext.h> #include <common/net/message/nodes/storagepools/ModifyStoragePoolRespMsg.h> #include <common/net/message/control/GenericResponseMsg.h> #include <nodes/StoragePoolStoreEx.h> #include <program/Program.h> bool ModifyStoragePoolMsgEx::processIncom...
29.847458
99
0.607609
TomatoYoung
0a1013d51b3e1a8ab70f40d2abc05e2d462045d7
5,677
cpp
C++
mainwindow.cpp
diegofps/picker
a8e09c74e2d34a17a61ba6e1be08df135cbce60b
[ "Apache-2.0" ]
null
null
null
mainwindow.cpp
diegofps/picker
a8e09c74e2d34a17a61ba6e1be08df135cbce60b
[ "Apache-2.0" ]
null
null
null
mainwindow.cpp
diegofps/picker
a8e09c74e2d34a17a61ba6e1be08df135cbce60b
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QToolButton> #include <QShortcut> #include <QBitmap> #include <QStyle> #include <QFile> #include <QFileInfo> #include <QDir> #include <QSet> #include <QProcess> using namespace wup; MainWindow::MainWindow(Params & params, QWidget *parent) : QMainWindow...
24.469828
119
0.574599
diegofps
0a116c910ba20a7b92c886dcea15f9b4b3040368
24,529
cpp
C++
source/renderer/scene/adaptiveGrid/AdaptiveGrid.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
6
2017-06-26T11:42:26.000Z
2018-09-10T17:53:53.000Z
source/renderer/scene/adaptiveGrid/AdaptiveGrid.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
8
2017-06-24T20:25:42.000Z
2017-08-09T10:50:40.000Z
source/renderer/scene/adaptiveGrid/AdaptiveGrid.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
null
null
null
/* MIT License Copyright(c) 2017 Daniel Suttor Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
34.941595
154
0.755229
DaSutt
0a11745da99a17acd76d39f6448e62662e77c7cd
826
hpp
C++
iOS/G3MiOSSDK/Commons/Mesh/DirectMesh.hpp
RMMJR/g3m
990467dc8e2bf584f8b512bdf06ecf4def625185
[ "BSD-2-Clause" ]
1
2016-08-23T10:29:44.000Z
2016-08-23T10:29:44.000Z
iOS/G3MiOSSDK/Commons/Mesh/DirectMesh.hpp
RMMJR/g3m
990467dc8e2bf584f8b512bdf06ecf4def625185
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MiOSSDK/Commons/Mesh/DirectMesh.hpp
RMMJR/g3m
990467dc8e2bf584f8b512bdf06ecf4def625185
[ "BSD-2-Clause" ]
null
null
null
// // DirectMesh.hpp // G3MiOSSDK // // Created by Diego Gomez Deck on 12/1/12. // // #ifndef __G3MiOSSDK__DirectMesh__ #define __G3MiOSSDK__DirectMesh__ #include "AbstractMesh.hpp" class DirectMesh : public AbstractMesh { protected: void rawRender(const G3MRenderContext* rc) const; Mesh* createNormalsMesh()...
19.209302
51
0.621065
RMMJR
0a11a41c4f6816516a80e4c0094caf5df7e4b4c3
137
inl
C++
TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: EC_Null_Scheduling.inl 73791 2006-07-27 20:54:56Z wotte $ ACE_INLINE TAO_EC_Null_Scheduling::TAO_EC_Null_Scheduling (void) { }
17.125
65
0.773723
cflowe
0a12180042ae162df850e0e4289edbb1cfb7fd52
369
hpp
C++
include/texugo/message/MessageParser.hpp
leozz37/Texugo
61d1d2e65fb383b1402bb5d61871d72563060494
[ "MIT" ]
20
2020-07-17T04:07:37.000Z
2022-01-07T19:02:07.000Z
include/texugo/message/MessageParser.hpp
leozz37/Texugo
61d1d2e65fb383b1402bb5d61871d72563060494
[ "MIT" ]
15
2020-08-29T03:30:34.000Z
2022-02-27T10:12:27.000Z
include/texugo/message/MessageParser.hpp
leozz37/Texugo
61d1d2e65fb383b1402bb5d61871d72563060494
[ "MIT" ]
5
2020-07-11T10:38:37.000Z
2020-09-26T20:56:45.000Z
#pragma once #include <nlohmann/json.hpp> #include <string> #include <vector> class MessageParser { public: explicit MessageParser(const std::string&); const std::vector<std::string>& getDestination() const; const std::string& getMessage() const; private: std::vector<std::string> m_destin...
23.0625
59
0.661247
leozz37
0a14825b689f0c39af63ff61ae29ce1652980afa
1,250
cpp
C++
src/game/piece/pawn.cpp
Aviraj55/Chess
51dfdd4a33f18f6cbb9666b6b16ecd4d859ac3e1
[ "MIT" ]
null
null
null
src/game/piece/pawn.cpp
Aviraj55/Chess
51dfdd4a33f18f6cbb9666b6b16ecd4d859ac3e1
[ "MIT" ]
null
null
null
src/game/piece/pawn.cpp
Aviraj55/Chess
51dfdd4a33f18f6cbb9666b6b16ecd4d859ac3e1
[ "MIT" ]
1
2020-10-03T20:59:17.000Z
2020-10-03T20:59:17.000Z
#include "pawn.h" #include "../board.h" std::vector<Coordinate> Pawn::get_candidate_moves() const { std::vector<Coordinate> candidate_moves; int dir = color_ == Color::WHITE ? 1 : -1; // Pawns may always move one square forward std::vector<int> forward_moves(1, 1); if (move_history_.empty()) { // If t...
30.487805
80
0.656
Aviraj55
0a16121a40d0ec98bee0874a48b135d8e44a5164
3,651
cpp
C++
src/robot_state_publisher-kinetic-devel/test/test_subclass.cpp
mowtian/Projektarbeit
43d575f6cf06690e869da4f995ed271fe4088f69
[ "MIT" ]
37
2017-12-13T16:14:32.000Z
2022-02-19T03:12:52.000Z
src/robot_state_publisher-kinetic-devel/test/test_subclass.cpp
mowtian/Projektarbeit
43d575f6cf06690e869da4f995ed271fe4088f69
[ "MIT" ]
71
2018-01-17T20:17:03.000Z
2022-03-23T19:48:45.000Z
src/robot_state_publisher-kinetic-devel/test/test_subclass.cpp
mowtian/Projektarbeit
43d575f6cf06690e869da4f995ed271fe4088f69
[ "MIT" ]
32
2018-01-08T03:21:18.000Z
2022-02-19T03:12:47.000Z
/* * Software License Agreement (BSD License) * * Copyright (c) 2016, Open Source Robotics Foundation, Inc. * 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...
32.891892
120
0.743632
mowtian
0a1afd47397ae3f5abf49c9eb0d6a9d1945edb4e
3,666
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/platformsupport/input/shared/qtouchoutputmapping.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/platformsupport/input/shared/qtouchoutputmapping.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/platformsupport/input/shared/qtouchoutputmapping.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the plugins module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commer...
39.847826
99
0.68958
GrinCash
0a20b224df22148e34f8f09e929d28394b7c6c9a
18,357
hpp
C++
accessor/scaled_reduced_row_major.hpp
JakubTrzcskni/ginkgo
8a9988b9c3f8c4ff59fae30050575311f230065e
[ "BSD-3-Clause" ]
null
null
null
accessor/scaled_reduced_row_major.hpp
JakubTrzcskni/ginkgo
8a9988b9c3f8c4ff59fae30050575311f230065e
[ "BSD-3-Clause" ]
null
null
null
accessor/scaled_reduced_row_major.hpp
JakubTrzcskni/ginkgo
8a9988b9c3f8c4ff59fae30050575311f230065e
[ "BSD-3-Clause" ]
null
null
null
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2022, the Ginkgo authors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source co...
36.861446
80
0.661873
JakubTrzcskni
0a2345ce151ac883b882315f001ad2d8196644a1
3,195
cpp
C++
src/classical/xmg/xmg_path.cpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
src/classical/xmg/xmg_path.cpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
src/classical/xmg/xmg_path.cpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
/* CirKit: A circuit toolkit * Copyright (C) 2009-2015 University of Bremen * Copyright (C) 2015-2017 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, in...
32.938144
90
0.533333
eletesta
0a24dde8f169bcf2ef83da543811e80997893197
347
cpp
C++
Dataset/Leetcode/train/94/88.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/94/88.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/94/88.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: void inorder(TreeNode*root,vector <int> & res) { if (root!=nullptr) return; inorder (root->left,res); res.push_back(root->val); inorder(root->right,res); } vector<int> XXX(TreeNode* root) { vector <int> vec; inorder(root,vec); ...
19.277778
51
0.541787
kkcookies99
0a25d69676aae709b47041e5d6b4f6c8a7db1610
924
cpp
C++
main.cpp
hnqiu/cpp-test
ec3eafd3126be8468ba4f2d6a26c5863659aa8e3
[ "MIT" ]
1
2019-03-21T04:06:13.000Z
2019-03-21T04:06:13.000Z
main.cpp
hnqiu/cpp-test
ec3eafd3126be8468ba4f2d6a26c5863659aa8e3
[ "MIT" ]
null
null
null
main.cpp
hnqiu/cpp-test
ec3eafd3126be8468ba4f2d6a26c5863659aa8e3
[ "MIT" ]
null
null
null
/* Copyright (C) 2019 hnqiu. All rights reserved. * Licensed under the MIT License. See LICENSE for details. */ #include <iostream> #include "string_test.h" #include "sizeof_test.h" #include "continue_test.h" #include "return_list_test.h" #include "return_pointer_to_array_test.h" #include "class_test.h" #include "c...
22.536585
59
0.675325
hnqiu
0a266fc73810200877750334d795b4558aaf7381
1,531
cpp
C++
src/vector_types.cpp
DoubleJump/waggle
06a2fb07d7e3678f990396d1469cf4f85e3863a1
[ "MIT" ]
1
2021-04-30T11:14:32.000Z
2021-04-30T11:14:32.000Z
src/vector_types.cpp
DoubleJump/waggle
06a2fb07d7e3678f990396d1469cf4f85e3863a1
[ "MIT" ]
null
null
null
src/vector_types.cpp
DoubleJump/waggle
06a2fb07d7e3678f990396d1469cf4f85e3863a1
[ "MIT" ]
null
null
null
struct Vec2 { f32 x, y; f32& operator[](int i){ return (&x)[i]; } }; struct Vec3 { f32 x, y, z; f32& operator[](int i){ return (&x)[i]; } }; static Vec3 vec3_up = {0,1,0}; static Vec3 vec3_down = {0,-1,0}; static Vec3 vec3_left = {-1,0,0}; static Vec3 vec3_right = {1,0,0}; static Vec3 vec3_forwa...
13.918182
46
0.580666
DoubleJump
0a26a32a3eaa6c15d09010643fef518594583b5f
1,202
cpp
C++
src/example/greating_client.cpp
Nekrolm/grpc_callback
1f0db9f2dd60afe1fac400e6541698d8f1fc4c34
[ "WTFPL" ]
3
2019-07-27T16:01:01.000Z
2022-03-01T00:09:19.000Z
src/example/greating_client.cpp
Nekrolm/grpc_callback
1f0db9f2dd60afe1fac400e6541698d8f1fc4c34
[ "WTFPL" ]
null
null
null
src/example/greating_client.cpp
Nekrolm/grpc_callback
1f0db9f2dd60afe1fac400e6541698d8f1fc4c34
[ "WTFPL" ]
null
null
null
#include "greating_client.h" #include <grpcpp/channel.h> #include <functional> #include <thread> #include <memory> #include <grpc/simplified_async_callback_api.h> GreatingClient::GreatingClient(std::shared_ptr<grpc::Channel> ch) : stub_(test::Greeting::NewStub(ch)) {} GreatingClient::~GreatingClient() {} void...
35.352941
116
0.46589
Nekrolm
0a2a3b88dd3554373e63dcb5ff92d9a0bd52f202
10,241
hxx
C++
src/Utils/Table.hxx
ebertolazzi/Malloc
4c1f8950cd631c185e141aaccfe0cd53daa91490
[ "BSD-2-Clause", "MIT" ]
null
null
null
src/Utils/Table.hxx
ebertolazzi/Malloc
4c1f8950cd631c185e141aaccfe0cd53daa91490
[ "BSD-2-Clause", "MIT" ]
null
null
null
src/Utils/Table.hxx
ebertolazzi/Malloc
4c1f8950cd631c185e141aaccfe0cd53daa91490
[ "BSD-2-Clause", "MIT" ]
null
null
null
/*--------------------------------------------------------------------------*\ | | | Copyright (C) 2021 | | | | ...
31.318043
90
0.545357
ebertolazzi
0a2d06bc7e22d43976c5d56ab0c34f1f7e1b7e70
339
cpp
C++
Competitive Programing Problem Solutions/C++ Tutorial-Code - OOP/m4-d.cpp
BIJOY-SUST/ACM---ICPC
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
1
2022-02-27T12:07:59.000Z
2022-02-27T12:07:59.000Z
Competitive Programing Problem Solutions/C++ Tutorial-Code - OOP/m4-d.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
Competitive Programing Problem Solutions/C++ Tutorial-Code - OOP/m4-d.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int factorial(int n){ return (n == 1 || n == 0) ? 1 : factorial(n - 1)*n; } int main(){ int T,N,M; cin>>T; while(T--){ int ans; cin>>N>>M; ans = factorial(N+M-1)/(factorial(N)*factorial(M-1)); cout<<ans<<endl; } ...
19.941176
62
0.471976
BIJOY-SUST
0a2d609e9dbd9540d570fb36b415739333d2abb0
387
cpp
C++
clang/test/SemaCXX/lookup-through-linkage.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
605
2019-10-18T01:15:54.000Z
2022-03-31T14:31:04.000Z
clang/test/SemaCXX/lookup-through-linkage.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
clang/test/SemaCXX/lookup-through-linkage.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
// RUN: %clang_cc1 %s -verify // expected-no-diagnostics extern "C++" { namespace A { namespace B { int bar; } } // namespace A namespace C { void foo() { using namespace A; (void)B::bar; } } // namespace C } extern "C" { extern "C++" { namespace D { namespace E { int bar; } } // namespace A namespace F { void f...
11.382353
29
0.602067
LaudateCorpus1
0a2ed7375825eafbffc9a933d77cf1f6cfc96180
685
cpp
C++
src/QtYangVrRecord/src/video/yangrecordwin.cpp
yangxinghai/yangrecord
787eaca132df1e427f5fc5b4391db1436d481088
[ "MIT" ]
1
2021-11-11T02:06:55.000Z
2021-11-11T02:06:55.000Z
src/QtYangVrRecord/src/video/yangrecordwin.cpp
yangxinghai/yangrecord
787eaca132df1e427f5fc5b4391db1436d481088
[ "MIT" ]
null
null
null
src/QtYangVrRecord/src/video/yangrecordwin.cpp
yangxinghai/yangrecord
787eaca132df1e427f5fc5b4391db1436d481088
[ "MIT" ]
1
2022-01-24T07:59:48.000Z
2022-01-24T07:59:48.000Z
#include "yangrecordwin.h" #include "yangutil/yangtype.h" #include <QMenu> #include <QAction> #include <QDebug> //#include "../tooltip/RDesktopTip.h" #include "../yangwinutil/yangrecordcontext.h" YangRecordWin::YangRecordWin(QWidget *parent):QWidget(parent) { m_hb=new QHBoxLayout(); m_hb->setMargin(0); ...
15.222222
61
0.671533
yangxinghai
0a2f8e4a67a74949a182496fb002fdf38f79a3e7
5,912
cpp
C++
Sources/CEigenBridge/eigen_dbl.cpp
taketo1024/swm-eigen
952ecdb73a2739641e75909c8d9e724e32b2ed0f
[ "MIT" ]
6
2021-09-19T07:55:41.000Z
2021-11-10T00:43:47.000Z
Sources/CEigenBridge/eigen_dbl.cpp
taketo1024/swm-eigen
952ecdb73a2739641e75909c8d9e724e32b2ed0f
[ "MIT" ]
null
null
null
Sources/CEigenBridge/eigen_dbl.cpp
taketo1024/swm-eigen
952ecdb73a2739641e75909c8d9e724e32b2ed0f
[ "MIT" ]
null
null
null
// // File.cpp // // // Created by Taketo Sano on 2021/06/10. // #import "eigen_dbl.h" #import <iostream> #import <Eigen/Eigen> using namespace std; using namespace Eigen; using R = double; using Mat = Matrix<R, Dynamic, Dynamic>; void *eigen_dbl_init(int_t rows, int_t cols) { Mat *A = new Mat(rows, cols);...
24.03252
80
0.538058
taketo1024
0a30f745e13504ad1b5ed62319ce67bdfb9ab3f3
7,152
inl
C++
MathLib/Include/CoordinatePoints.inl
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
23
2016-08-28T23:20:12.000Z
2021-12-15T14:43:58.000Z
MathLib/Include/CoordinatePoints.inl
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
1
2018-06-02T21:29:51.000Z
2018-06-05T05:59:31.000Z
MathLib/Include/CoordinatePoints.inl
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
1
2019-07-04T22:38:22.000Z
2019-07-04T22:38:22.000Z
mathlib::CoordPoints<__m128>::CoordPoints() { /*Initialize coordinates to zero*/ this->m_F32Coord3D = _mm_setzero_ps(); } mathlib::CoordPoints<__m128>::CoordPoints(_In_ const float x, _In_ const float y, _In_ const float z) : m_F32Coord3D(_mm_set_ps(NAN_FLT, z, y, x)) { } mathlib::CoordPoints<__m128>::...
31.646018
115
0.685263
bgin
0a37e91c00ea720fe4fc3942d74ef52cc8dae67b
3,082
cpp
C++
old.c++/AGIResources/PlatformAbstractionLayer_POSIX.cpp
princess-rosella/sierra-agi-resources
2755e7b04a4f9782ced4530016e4374ca5b7985b
[ "MIT" ]
null
null
null
old.c++/AGIResources/PlatformAbstractionLayer_POSIX.cpp
princess-rosella/sierra-agi-resources
2755e7b04a4f9782ced4530016e4374ca5b7985b
[ "MIT" ]
null
null
null
old.c++/AGIResources/PlatformAbstractionLayer_POSIX.cpp
princess-rosella/sierra-agi-resources
2755e7b04a4f9782ced4530016e4374ca5b7985b
[ "MIT" ]
null
null
null
// // PlatformAbstractionLayer_POSIX.cpp // AGI // // Copyright (c) 2018 Princess Rosella. All rights reserved. // #include "AGIResources.hpp" #include "PlatformAbstractionLayer_POSIX.hpp" #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <sys/stat.h> #include <unistd.h> #include <vector> using ...
24.854839
169
0.658014
princess-rosella
0a3c83602b58e93c47389718b0ec4248917f4c0e
3,644
cpp
C++
PitchedDelay/Source/dsp/simpledetune.cpp
elk-audio/lkjb-plugins
8cbff01864bdb76493361a46f56d7073d49698da
[ "MIT" ]
82
2016-12-02T20:02:30.000Z
2022-03-12T22:38:30.000Z
PitchedDelay/Source/dsp/simpledetune.cpp
elk-audio/lkjb-plugins
8cbff01864bdb76493361a46f56d7073d49698da
[ "MIT" ]
6
2018-01-19T21:44:46.000Z
2022-03-08T08:46:19.000Z
PitchedDelay/Source/dsp/simpledetune.cpp
elk-audio/lkjb-plugins
8cbff01864bdb76493361a46f56d7073d49698da
[ "MIT" ]
16
2016-04-13T08:31:36.000Z
2022-03-01T03:04:42.000Z
#include "simpledetune.h" DetunerBase::DetunerBase(int bufmax) : bufMax(bufmax), windowSize(0), sampleRate(44100), buf(bufMax), win(bufMax) { clear(); setWindowSize(bufMax); } void DetunerBase::clear() { pos0 = 0; pos1 = 0.f; pos2 = 0.f; for(int i=0;i<bufMax;i++) buf[i] = 0; } void DetunerB...
18.591837
113
0.572448
elk-audio
0a3e70e44718dea8c998736ac815ba9c233a23c2
1,261
cc
C++
src/flow/transform/EmptyBlockElimination.cc
christianparpart/libflow
29c8a4b4c1ba140c1a3998dcb84885386d312787
[ "Unlicense" ]
null
null
null
src/flow/transform/EmptyBlockElimination.cc
christianparpart/libflow
29c8a4b4c1ba140c1a3998dcb84885386d312787
[ "Unlicense" ]
null
null
null
src/flow/transform/EmptyBlockElimination.cc
christianparpart/libflow
29c8a4b4c1ba140c1a3998dcb84885386d312787
[ "Unlicense" ]
null
null
null
// This file is part of the "x0" project, http://github.com/christianparpart/libflow// // (c) 2009-2014 Christian Parpart <trapni@gmail.com> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://open...
28.659091
86
0.656622
christianparpart
0a4602ec6f7a003112d67433dac9b55f964d6207
17,254
cpp
C++
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/common/exports.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
2
2020-05-18T17:00:43.000Z
2021-12-01T10:00:29.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/common/exports.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
5
2020-05-05T08:05:01.000Z
2021-12-11T21:35:37.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/common/exports.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
4
2020-05-04T06:43:25.000Z
2022-02-20T12:02:50.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //------------------------------------------------------------------------------ // // //-------------------------...
36.946467
137
0.561261
nsivov
0a46470e941be66cd0e253e942162108a6e2ef6a
932
cpp
C++
242_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
242_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
242_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
18.64
106
0.60515
onexmaster
0a48c1aaf97bfabf334b622ab83745318c6af1be
2,851
hpp
C++
src/Omega_h_vtk.hpp
matz-e/omega_h
a43850787b24f96d50807cee5688f09259e96b75
[ "BSD-2-Clause-FreeBSD" ]
44
2019-01-23T03:37:18.000Z
2021-08-24T02:20:29.000Z
src/Omega_h_vtk.hpp
matz-e/omega_h
a43850787b24f96d50807cee5688f09259e96b75
[ "BSD-2-Clause-FreeBSD" ]
67
2019-01-29T15:35:42.000Z
2021-08-17T20:42:40.000Z
src/Omega_h_vtk.hpp
matz-e/omega_h
a43850787b24f96d50807cee5688f09259e96b75
[ "BSD-2-Clause-FreeBSD" ]
29
2019-01-14T21:33:32.000Z
2021-08-10T11:35:24.000Z
#ifndef OMEGA_H_VTK_HPP #define OMEGA_H_VTK_HPP #include <iosfwd> #include <string> #include <vector> #include <Omega_h_comm.hpp> #include <Omega_h_defines.hpp> #include <Omega_h_file.hpp> namespace Omega_h { class Mesh; namespace vtk { filesystem::path get_pvtu_path(filesystem::path const& step_path); filesyste...
32.397727
80
0.726061
matz-e
0a4c6282a0249bac1a4d6dbfb95bf3dd1d8c4009
23,969
cxx
C++
osprey/be/lno/sclrze.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/lno/sclrze.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/lno/sclrze.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2002, 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published b...
29.664604
99
0.640285
sharugupta
aea91cb28aa59ddadacb795cd728da5735946be3
5,910
cpp
C++
src/eds/http/headers.cpp
panyam/halley
1bc8e9fe890d585c8ca524d6070591af656e206b
[ "Apache-2.0" ]
null
null
null
src/eds/http/headers.cpp
panyam/halley
1bc8e9fe890d585c8ca524d6070591af656e206b
[ "Apache-2.0" ]
null
null
null
src/eds/http/headers.cpp
panyam/halley
1bc8e9fe890d585c8ca524d6070591af656e206b
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** /*! * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
25.921053
102
0.607614
panyam
aeab5fab1b6bc6bce7acf07a3e3bb4f1379c8f8a
675
hpp
C++
ablateLibrary/flow/fluxDifferencer/offFluxDifferencer.hpp
pakserep/ablate
8c8443de8a252b03b3535f7c48b7a50aac1e56e4
[ "BSD-3-Clause" ]
null
null
null
ablateLibrary/flow/fluxDifferencer/offFluxDifferencer.hpp
pakserep/ablate
8c8443de8a252b03b3535f7c48b7a50aac1e56e4
[ "BSD-3-Clause" ]
null
null
null
ablateLibrary/flow/fluxDifferencer/offFluxDifferencer.hpp
pakserep/ablate
8c8443de8a252b03b3535f7c48b7a50aac1e56e4
[ "BSD-3-Clause" ]
null
null
null
#ifndef ABLATELIBRARY_OFFFLUXDIFFERENCER_HPP #define ABLATELIBRARY_OFFFLUXDIFFERENCER_HPP #include "fluxDifferencer.hpp" namespace ablate::flow::fluxDifferencer { /** * Turns off all flow through the flux differencer. This is good for testing. */ class OffFluxDifferencer : public fluxDifferencer::FluxDifferencer { ...
35.526316
131
0.795556
pakserep
aeb7b7e5ef4835f5aab62c5420c65d825046fad1
1,426
cpp
C++
main/Main.cpp
Cararasu/holodec
d716d95a787ab7872a49a5c4fb930dc37be95ac7
[ "MIT" ]
215
2017-06-22T16:23:52.000Z
2022-01-27T23:33:37.000Z
main/Main.cpp
Cararasu/holodec
d716d95a787ab7872a49a5c4fb930dc37be95ac7
[ "MIT" ]
4
2017-06-29T16:49:28.000Z
2019-02-07T19:58:57.000Z
main/Main.cpp
Cararasu/holodec
d716d95a787ab7872a49a5c4fb930dc37be95ac7
[ "MIT" ]
21
2017-10-14T02:10:41.000Z
2021-07-13T06:08:38.000Z
#include "Main.h" #include <fstream> using namespace holodec; Main* Main::g_main; bool Main::registerArchitecture (Architecture* arch) { for (Architecture * a : architectures) if (caseCmpHString (a->name, arch->name)) return false; architectures.push_back (arch); return true; } Architecture* Main::getArch...
21.283582
56
0.671809
Cararasu
aec031dfa142d090bef5a69895f524840deb7403
4,775
cc
C++
diplomacy_research/proto/diplomacy_tensorflow/core/protobuf/master_service.pb.cc
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
39
2019-09-06T13:42:24.000Z
2022-03-18T18:38:43.000Z
diplomacy_research/proto/diplomacy_tensorflow/core/protobuf/master_service.pb.cc
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
9
2019-09-19T22:35:32.000Z
2022-02-24T18:04:57.000Z
diplomacy_research/proto/diplomacy_tensorflow/core/protobuf/master_service.pb.cc
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
8
2019-10-16T21:09:14.000Z
2022-02-23T05:20:37.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: diplomacy_tensorflow/core/protobuf/master_service.proto #include "diplomacy_tensorflow/core/protobuf/master_service.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/prot...
39.139344
119
0.770681
wwongkamjan
aec0575a03cec24039c6073cf35b9875a7db2962
353
hpp
C++
SDLTest.hpp
gazpachian/ScrabookDL
70424e4d866d17d95539242ba86ad0841f030091
[ "MIT" ]
null
null
null
SDLTest.hpp
gazpachian/ScrabookDL
70424e4d866d17d95539242ba86ad0841f030091
[ "MIT" ]
null
null
null
SDLTest.hpp
gazpachian/ScrabookDL
70424e4d866d17d95539242ba86ad0841f030091
[ "MIT" ]
null
null
null
#include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <stdio.h> #include <string> #include <algorithm> #include <tr1/memory> #include "vector.hpp" #include "controller.hpp" #include "render.hpp" //Window constants const Vector2 DEF_SCREEN_DIMS(1200, 675); const Vector3 DEF_BG_COL(0xFD, 0xF6, 0xE3); const char * w...
23.533333
46
0.745042
gazpachian
aeca4b2a297c118a8eb65076e18adcd6c73e2e56
6,680
cpp
C++
Interaction/albaDevice.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Interaction/albaDevice.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Interaction/albaDevice.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaDevice Authors: Marco Petrone Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; without even the impl...
29.688889
112
0.448054
IOR-BIC
aecd7dece280518c3882099caebe07274c7374ae
1,525
cpp
C++
src/easy/trick-or-treat/solutions/c++/solution.cpp
rdtsc/codeeval-solutions
d5c06baf89125e9e9f4b163ee57e5a8f7e73e717
[ "MIT" ]
null
null
null
src/easy/trick-or-treat/solutions/c++/solution.cpp
rdtsc/codeeval-solutions
d5c06baf89125e9e9f4b163ee57e5a8f7e73e717
[ "MIT" ]
null
null
null
src/easy/trick-or-treat/solutions/c++/solution.cpp
rdtsc/codeeval-solutions
d5c06baf89125e9e9f4b163ee57e5a8f7e73e717
[ "MIT" ]
null
null
null
#include <cassert> #include <fstream> #include <iostream> #include <limits> template<typename T> static bool extractFrom(std::istream& inputStream, const char delimiter, T& value) { static constexpr auto ignoreLimit = std::numeric_limits<std::streamsize>::max(); ...
29.326923
79
0.594098
rdtsc
aed084fb525b5f25e7ee5eed598324734eff4068
1,580
cpp
C++
src/effect_cas.cpp
stephanlachnit/vkBasalt
dd6a067b7eada67f4f34e56054ef24264f6856d7
[ "Zlib" ]
748
2019-10-20T14:21:20.000Z
2022-03-22T05:53:42.000Z
src/effect_cas.cpp
stephanlachnit/vkBasalt
dd6a067b7eada67f4f34e56054ef24264f6856d7
[ "Zlib" ]
160
2019-10-20T16:35:47.000Z
2022-03-30T19:21:56.000Z
src/effect_cas.cpp
stephanlachnit/vkBasalt
dd6a067b7eada67f4f34e56054ef24264f6856d7
[ "Zlib" ]
58
2019-10-20T19:15:01.000Z
2022-01-02T01:16:08.000Z
#include "effect_cas.hpp" #include <cstring> #include "image_view.hpp" #include "descriptor_set.hpp" #include "buffer.hpp" #include "renderpass.hpp" #include "graphics_pipeline.hpp" #include "framebuffer.hpp" #include "shader.hpp" #include "sampler.hpp" #include "shader_sources.hpp" namespace vkBasalt { CasEffe...
30.980392
86
0.635443
stephanlachnit
aed3281640470573c0c4ef23e1888bd1b850ecee
403
cpp
C++
Rafflesia/main.cpp
TelepathicFart/Rafflesia
9376e06b5a7ab3f712677f31504021c1b62c3f09
[ "MIT" ]
5
2021-05-11T02:52:31.000Z
2021-09-03T05:10:53.000Z
Rafflesia/main.cpp
TelepathicFart/Rafflesia
9376e06b5a7ab3f712677f31504021c1b62c3f09
[ "MIT" ]
null
null
null
Rafflesia/main.cpp
TelepathicFart/Rafflesia
9376e06b5a7ab3f712677f31504021c1b62c3f09
[ "MIT" ]
1
2022-02-24T13:56:26.000Z
2022-02-24T13:56:26.000Z
#include <QtWidgets> #include "MainWindow.h" #include <istream> #include <fstream> int main(int argc, char *argv[]) { #if defined(Q_OS_WIN) QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif QApplication app(argc, argv); MainWindow window; window.show(); window.setWindowTitle(Q...
18.318182
83
0.704715
TelepathicFart
aed923244e3a075b6566c3fb94879181634bcba8
1,094
cpp
C++
projects/Test_SkeletalAnimation/src/main.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
11
2016-08-30T12:01:35.000Z
2021-12-29T15:34:03.000Z
projects/Test_SkeletalAnimation/src/main.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
9
2016-05-19T03:14:22.000Z
2021-01-17T05:45:52.000Z
projects/Test_SkeletalAnimation/src/main.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
null
null
null
#include "world2.h" #include "pathos/core_minimal.h" using namespace std; using namespace pathos; constexpr int32 WINDOW_WIDTH = 1920; constexpr int32 WINDOW_HEIGHT = 1080; constexpr char* WINDOW_TITLE = "Test: Skeletal Animation"; constexpr float FOVY = 60.0f; const vector3 CA...
33.151515
118
0.710238
codeonwort
aede19bebef2025d433365c92bd970cd74a809aa
57
hpp
C++
src/boost_fusion_sequence_comparison_equal_to.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_sequence_comparison_equal_to.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_sequence_comparison_equal_to.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/sequence/comparison/equal_to.hpp>
28.5
56
0.824561
miathedev
aede8903b4395c28d2a04d5f065094bba39c31da
3,738
cpp
C++
Engine/Core/Source/Molten/Renderer/Vulkan/Utility/VulkanDeviceQueues.cpp
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
2
2019-11-11T21:17:14.000Z
2019-11-11T22:07:26.000Z
Engine/Core/Source/Molten/Renderer/Vulkan/Utility/VulkanDeviceQueues.cpp
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
null
null
null
Engine/Core/Source/Molten/Renderer/Vulkan/Utility/VulkanDeviceQueues.cpp
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
1
2020-04-05T03:50:57.000Z
2020-04-05T03:50:57.000Z
/* * MIT License * * Copyright (c) 2021 Jimmie Bergmann * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files(the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
30.390244
114
0.67817
jimmiebergmann
aee11d7d4e9a3c4135f46a2909da6c8017d15bd2
4,614
cpp
C++
Development/Editor/Plugin/Warcraft3/yd_lua_engine/lua_engine/libs_runtime.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
2
2016-05-30T11:42:33.000Z
2017-10-31T11:53:42.000Z
Development/Editor/Plugin/Warcraft3/yd_lua_engine/lua_engine/libs_runtime.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
null
null
null
Development/Editor/Plugin/Warcraft3/yd_lua_engine/lua_engine/libs_runtime.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
null
null
null
#include <base/lua/state.h> #include <base/util/console.h> #include <cstring> #include "libs_runtime.h" namespace base { namespace warcraft3 { namespace lua_engine { namespace runtime { int version = 2; int handle_level = 2; bool console = false; bool sleep = true; bool catch_crash = true; void initi...
18.309524
67
0.584092
shawwwn
aee5dbfe6d334342322d1d2cccc32e28a8cdf42b
209
cpp
C++
basic/12_fungsi/fungsi.cpp
khairanabila/CPP
48b18b6bf835d8075fc96bbf183adf28a71ba819
[ "MIT" ]
23
2021-09-10T00:08:48.000Z
2022-03-24T16:09:30.000Z
basic/12_fungsi/fungsi.cpp
khairanabila/CPP
48b18b6bf835d8075fc96bbf183adf28a71ba819
[ "MIT" ]
20
2021-09-21T15:34:21.000Z
2021-11-28T18:52:10.000Z
basic/12_fungsi/fungsi.cpp
khairanabila/CPP
48b18b6bf835d8075fc96bbf183adf28a71ba819
[ "MIT" ]
27
2021-09-10T02:35:56.000Z
2022-01-24T10:46:06.000Z
#include <iostream> // membuat fungsi tanpa return nilai void panggil() { std::cout << "Fungsi tanpa return" << std::endl; } int main(){ // memanggil fungsi panggil() panggil(); return 0; }
14.928571
52
0.617225
khairanabila
aee7a2814780ca3c8a8e7c7aa5c504bcb70ef324
1,961
cc
C++
bin/scaling/traversal.cc
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
bin/scaling/traversal.cc
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
bin/scaling/traversal.cc
manopapad/flecsi
8bb06e4375f454a0680564c76df2c60ffe49c770
[ "Unlicense" ]
null
null
null
CINCH_CAPTURE() << "------------- forall cells, vertices" << endl; for(auto cell : mesh->entities<2, $DOMAIN>()) { CINCH_CAPTURE() << "------------- cell id: " << cell.id() << endl; for(auto vertex : mesh->entities<0, $DOMAIN>(cell)) { CINCH_CAPTURE() << "--- vertex id: " << vertex.id() << endl; for(auto c...
34.403509
68
0.529322
manopapad
aef16175f836f498e1d48ed7f35241eb600ad19a
1,860
cpp
C++
Paladin/BuildSystem/FileFactory.cpp
pahefu/Paladin
4fcb66c6cda7bb50b7597532bd0d7469fc33655b
[ "MIT" ]
45
2018-10-05T21:50:17.000Z
2022-01-31T11:52:59.000Z
Paladin/BuildSystem/FileFactory.cpp
pahefu/Paladin
4fcb66c6cda7bb50b7597532bd0d7469fc33655b
[ "MIT" ]
163
2018-10-01T23:52:12.000Z
2022-02-15T18:05:58.000Z
Paladin/BuildSystem/FileFactory.cpp
pahefu/Paladin
4fcb66c6cda7bb50b7597532bd0d7469fc33655b
[ "MIT" ]
9
2018-10-01T23:48:02.000Z
2022-01-23T21:28:52.000Z
#include "FileFactory.h" #include "DPath.h" #include "SourceType.h" #include "SourceTypeC.h" #include "SourceTypeLex.h" #include "SourceTypeLib.h" #include "SourceTypeResource.h" #include "SourceTypeRez.h" #include "SourceTypeShell.h" #include "SourceTypeText.h" #include "SourceTypeYacc.h" FileFactory gFileFactory; F...
20.666667
83
0.73172
pahefu
aef5cba87650b7ddc70acc522f6603139805e75e
101
hpp
C++
exercises/4/seminar/8/Matrix/Matrix/utility.hpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
exercises/4/seminar/9/Matrix/Matrix/utility.hpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
exercises/4/seminar/8/Matrix - Complete/Matrix/utility.hpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
#ifndef UTILITY #define UTILITY namespace utility { int gcd(int a, int b); } #endif // !UTILITY
12.625
26
0.673267
triffon
aef61af9e9f86157b2a0dd6386cbb49269321f3f
2,670
cpp
C++
Interaction/albaAgentEventHandler.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Interaction/albaAgentEventHandler.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Interaction/albaAgentEventHandler.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: Multimod Fundation Library Module: $RCSfile: albaAgentEventHandler.cpp,v $ Language: C++ Date: $Date: 2006-06-14 14:46:33 $ Version: $Revision: 1.4 $ ======================================================================...
33.375
80
0.345693
IOR-BIC
aef6d7bb7d3fb685be390278a8c563fcd24b89ed
223
cpp
C++
example/generate_word_example.cpp
arapelle/wgen
53471bd78e7fd64c780f04cd132047e20abf254f
[ "MIT" ]
1
2020-06-02T07:25:37.000Z
2020-06-02T07:25:37.000Z
example/generate_word_example.cpp
arapelle/wgen
53471bd78e7fd64c780f04cd132047e20abf254f
[ "MIT" ]
6
2020-08-28T10:52:25.000Z
2020-11-02T18:59:49.000Z
example/generate_word_example.cpp
arapelle/wgen
53471bd78e7fd64c780f04cd132047e20abf254f
[ "MIT" ]
1
2020-09-04T10:36:23.000Z
2020-09-04T10:36:23.000Z
#include <wgen/default_syllabary.hpp> #include <iostream> int main() { wgen::default_syllabary syllabary; std::string word = syllabary.random_word(7); std::cout << word << std::endl; return EXIT_SUCCESS; }
20.272727
48
0.686099
arapelle
aef7bda9a1cd6340cd0896868149deadd2a1165b
4,959
cxx
C++
Servers/Filters/vtkPVExtractSelection.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
1
2016-05-09T00:36:44.000Z
2016-05-09T00:36:44.000Z
Servers/Filters/vtkPVExtractSelection.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
null
null
null
Servers/Filters/vtkPVExtractSelection.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
3
2015-05-14T21:18:53.000Z
2022-03-07T02:53:45.000Z
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: vtkPVExtractSelection.cxx,v $ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
30.801242
79
0.623916
certik
aefa1c5a9c4ac52d9bcad3863423a1e077dad6ea
1,281
hpp
C++
db/DBAppender.hpp
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
db/DBAppender.hpp
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
db/DBAppender.hpp
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
#ifndef DBAPPENDER_H #define DBAPPENDER_H #include "db/AppenderInterface.hpp" #include "db/DB.hpp" #include "leveldb/status.h" namespace tsdb { namespace db { // DBAppender wraps the DB's head appender and triggers compactions on commit // if necessary. class DBAppender : public AppenderInterface { private: std::...
25.62
80
0.637002
naivewong
aefc07f39c103d371a4369ef6ae901d4e0e2a91f
1,473
cpp
C++
engine/mysqlparser/listener/SqlErrorListener.cpp
zhukovaskychina/XSQL
f91db06bf86f7f6ad321722c3aea11f83d34dba1
[ "MIT" ]
1
2020-10-23T09:38:22.000Z
2020-10-23T09:38:22.000Z
engine/mysqlparser/listener/SqlErrorListener.cpp
zhukovaskychina/XSQL
f91db06bf86f7f6ad321722c3aea11f83d34dba1
[ "MIT" ]
null
null
null
engine/mysqlparser/listener/SqlErrorListener.cpp
zhukovaskychina/XSQL
f91db06bf86f7f6ad321722c3aea11f83d34dba1
[ "MIT" ]
null
null
null
// // Created by zhukovasky on 2020/9/30. // #include <common/Exceptions.h> #include "SqlErrorListener.h" SQLErrorListener::~SQLErrorListener() { } void SQLErrorListener::syntaxError(antlr4::Recognizer *recognizer, antlr4::Token *offendingSymbol, size_t line, size_t charPositionIn...
34.255814
118
0.604888
zhukovaskychina
aefc2e747d34818630c7f0d8f2d53317886ac392
3,739
cpp
C++
Testing/Gui/16_testRWI/testRWILogic.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Testing/Gui/16_testRWI/testRWILogic.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Testing/Gui/16_testRWI/testRWILogic.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: testRWILogic Authors: Silvano Imboden Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; without even the ...
33.088496
129
0.472319
IOR-BIC
aefc38192acba82870d5413f54a656d15199680b
511
cpp
C++
problems/acmicpc_14935.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_14935.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_14935.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; void f(string &s,int x){ if(x<10){s.push_back(x+'0');return;} f(s,x/10); s.push_back(x%10+'0'); } int main(){ string s; cin>>s; vector<string> v; while(true){ for(auto str:v){ if(s==str)goto A; ...
18.925926
40
0.471624
qawbecrdtey
4e033a2418992d27b732cbcf8e73193025f3b40a
1,521
cpp
C++
src/gpio_test.cpp
gbr1/upboard_ros
a4fd1ce54fc78724bcdfde5b09185feeca71225d
[ "MIT" ]
24
2019-05-10T11:48:40.000Z
2022-03-29T08:52:08.000Z
src/gpio_test.cpp
gbr1/upboard_ros
a4fd1ce54fc78724bcdfde5b09185feeca71225d
[ "MIT" ]
1
2020-07-08T04:20:17.000Z
2020-07-08T09:33:36.000Z
src/gpio_test.cpp
gbr1/upboard_ros
a4fd1ce54fc78724bcdfde5b09185feeca71225d
[ "MIT" ]
1
2019-05-11T23:44:33.000Z
2019-05-11T23:44:33.000Z
#include <ros/ros.h> #include <upboard_ros/Gpio.h> #include <upboard_ros/ListGpio.h> #define BUTTON 24 #define LED 22 #define SLOW 1.0 #define FAST 0.2 upboard_ros::Gpio tmp_msg; upboard_ros::ListGpio list_msg; bool status=false; ros::Time tp; float blinkrate=SLOW; ros::Publisher gpiopub; void gpioCallba...
21.728571
83
0.565417
gbr1
4e04a96449d7fcfc5f8e2e4005cf183d6c657597
8,476
cpp
C++
Testing/VME/mafPipeVolumeSliceTest.cpp
FusionBox2/MAF2
b576955f4f6b954467021f12baedfebcaf79a382
[ "Apache-2.0" ]
1
2018-01-23T09:13:40.000Z
2018-01-23T09:13:40.000Z
Testing/VME/mafPipeVolumeSliceTest.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
null
null
null
Testing/VME/mafPipeVolumeSliceTest.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
3
2020-09-24T16:04:53.000Z
2020-09-24T16:50:30.000Z
/*========================================================================= Program: MAF2 Module: mafPipeVolumeSliceTest Authors: Matteo Giacomoni Copyright (c) B3C All rights reserved. See Copyright.txt or http://www.scsitaly.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; ...
27.254019
84
0.597452
FusionBox2
4e05c6ff8543a5859c72437968dd4af1e056ef18
253
cpp
C++
server/src/DatabaseProxy/PostgresqlProxy.cpp
yuryloshmanov/messenger
98c2129cf2b5ca7e00cc5c1ba90535acf8be0ba1
[ "MIT" ]
null
null
null
server/src/DatabaseProxy/PostgresqlProxy.cpp
yuryloshmanov/messenger
98c2129cf2b5ca7e00cc5c1ba90535acf8be0ba1
[ "MIT" ]
null
null
null
server/src/DatabaseProxy/PostgresqlProxy.cpp
yuryloshmanov/messenger
98c2129cf2b5ca7e00cc5c1ba90535acf8be0ba1
[ "MIT" ]
null
null
null
/** * @file PostgresqlProxy.cpp * @date 22 Feb 2022 * @author Yury Loshmanov */ #include "../../include/DatabaseProxy/PostgresqlProxy.hpp" PostgresqlProxy::PostgresqlProxy(const std::string &endPoint) : connection(endPoint), work(connection) { }
21.083333
104
0.72332
yuryloshmanov
4e0c4243efa6ca0642bb4260c4daefdd7c40cd75
5,578
cpp
C++
Oem/dbxml/xqilla/src/ast/XQAttributeConstructor.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Oem/dbxml/xqilla/src/ast/XQAttributeConstructor.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Oem/dbxml/xqilla/src/ast/XQAttributeConstructor.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
/* * Copyright (c) 2001-2008 * DecisionSoft Limited. All rights reserved. * Copyright (c) 2004-2008 * Oracle. 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...
34.8625
138
0.723378
achilex
4e0d154599f4a3108f64944bf741ed7bf06ac09b
138
cpp
C++
base/stublibs/delay/delayimp.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/stublibs/delay/delayimp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/stublibs/delay/delayimp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "windows.h" #include "delayimp.h" PUnloadInfo __puiHead; extern "C" void __delayLoadHelper2 ( void ) { }
9.857143
23
0.608696
npocmaka
4e1137c75d74b2effc529da7fe9de37e37846eb5
11,633
cpp
C++
MT2D/SDL/Render/MT2D_SDL_Render.cpp
ibm5155/MT2D
b9f1386cf3fe7d0bd2bba7e4fb40852048d253c1
[ "MIT" ]
3
2017-07-31T04:38:31.000Z
2020-03-21T02:59:36.000Z
MT2D/SDL/Render/MT2D_SDL_Render.cpp
ibm5155/MT2D
b9f1386cf3fe7d0bd2bba7e4fb40852048d253c1
[ "MIT" ]
5
2020-10-13T14:34:47.000Z
2021-08-17T15:02:02.000Z
MT2D/SDL/Render/MT2D_SDL_Render.cpp
ibm5155/MT2D
b9f1386cf3fe7d0bd2bba7e4fb40852048d253c1
[ "MIT" ]
null
null
null
#include <MT2D/MT2D_Terminal_Define.h> #if defined(SDL_USE) #include "../../SDL/MT2D_SDL_Redefine.h" #include "../../SDL/MT2D_SDL_Event_Handler.h" #include "../../MT2D.h" #include <stdio.h> #include <stdlib.h> extern MT2D_SDL_Texture* mTexture; extern MT2D_SDL_Rect gSpriteClips[256]; extern int FRAMEBUFFER[MAX_VER][...
30.137306
155
0.693028
ibm5155
4e12d366112ece89a1a1b32ad66dde54bed8d0a7
6,673
cc
C++
src/modular/tests/module_context_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/modular/tests/module_context_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/modular/tests/module_context_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2019 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 <fuchsia/modular/testing/cpp/fidl.h> #include <gmock/gmock.h> #include "lib/syslog/cpp/macros.h" #include "src/lib/fsl/vmo/strings.h" #include "...
39.023392
95
0.728008
allansrc
4e1306360ebcb70ea72f14a0dd65f5090fec2721
961
hpp
C++
include/codegen/include/System/IServiceProvider.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/IServiceProvider.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/IServiceProvider.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Completed includes // Begin forward declares // Forward declaring namespace: System namespace System { // Forward declaring ty...
31
80
0.700312
Futuremappermydud
4e13dd68b9e7fa96e93e3acd2797d589a6269baf
2,019
cc
C++
core/src/psfcore/unused/psftest.cc
ma-laforge/LibPSFC.jl
73a5176ca78cade63cc9c5da4d15b36f9042645c
[ "MIT" ]
null
null
null
core/src/psfcore/unused/psftest.cc
ma-laforge/LibPSFC.jl
73a5176ca78cade63cc9c5da4d15b36f9042645c
[ "MIT" ]
null
null
null
core/src/psfcore/unused/psftest.cc
ma-laforge/LibPSFC.jl
73a5176ca78cade63cc9c5da4d15b36f9042645c
[ "MIT" ]
null
null
null
#include "psf.h" #include "psfdata.h" #include <string> void noisesummary() { std::string pnoisefile("/nfs/home/henrik/spectre/1/pnoise.raw/pnoise_pout3g.pnoise"); PSFDataSet psfnoise(pnoisefile); std::vector<std::string> names = psfnoise.get_signal_names(); double sum=0; for(std::vector<std::s...
32.047619
161
0.634968
ma-laforge
4e15065ca2ce0f75964a8116c46a77e630f247fe
5,766
cpp
C++
src/qt/i2poptionswidget.cpp
eddef/anoncoin
7a018e15c814bba30e805cfe83f187388eadc0a8
[ "MIT" ]
90
2015-01-13T14:32:43.000Z
2020-10-15T23:07:11.000Z
src/qt/i2poptionswidget.cpp
nonlinear-chaos-order-etc-etal/anoncoin
5e441d8746240072f1379577e14ff7a17390b81f
[ "MIT" ]
91
2015-01-07T03:44:14.000Z
2020-12-24T13:56:27.000Z
src/qt/i2poptionswidget.cpp
nonlinear-chaos-order-etc-etal/anoncoin
5e441d8746240072f1379577e14ff7a17390b81f
[ "MIT" ]
42
2015-01-28T12:34:14.000Z
2021-05-06T16:16:48.000Z
// Copyright (c) 2013-2014 The Anoncoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // Many builder specific things set in the config file, don't see a need for it here, still better to not forget to incl...
52.899083
148
0.73153
eddef
4e17b9dc4559616a2786013d641833dbddf34747
2,588
cpp
C++
manager/spline/spline_manager.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
1
2017-08-11T19:12:24.000Z
2017-08-11T19:12:24.000Z
manager/spline/spline_manager.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
11
2018-07-07T20:09:44.000Z
2020-02-16T22:45:09.000Z
manager/spline/spline_manager.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
null
null
null
//------------------------------------------------------------ // snakeoil (c) Alexis Constantin Link // Distributed under the MIT license //------------------------------------------------------------ #include "spline_manager.h" using namespace so_manager ; //*********************************************************...
35.452055
97
0.435471
aconstlink
4e1d50433f0a8654ffa2386314841105761d6aa4
10,804
cc
C++
unit_tests/tests/base/ThreadGroup/ThreadGroup_test.cc
Wlgen/force-riscv
9f09b86c5a21ca00f8e5ade8e5186d65bc3e26f8
[ "Apache-2.0" ]
111
2020-06-12T22:31:30.000Z
2022-03-19T03:45:20.000Z
unit_tests/tests/base/ThreadGroup/ThreadGroup_test.cc
Wlgen/force-riscv
9f09b86c5a21ca00f8e5ade8e5186d65bc3e26f8
[ "Apache-2.0" ]
34
2020-06-12T20:23:40.000Z
2022-03-15T20:04:31.000Z
unit_tests/tests/base/ThreadGroup/ThreadGroup_test.cc
Wlgen/force-riscv
9f09b86c5a21ca00f8e5ade8e5186d65bc3e26f8
[ "Apache-2.0" ]
32
2020-06-12T19:15:26.000Z
2022-02-20T11:38:31.000Z
// // Copyright (C) [2020] Futurewei Technologies, Inc. // // FORCE-RISCV is 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 // // THIS SOFTW...
37.776224
149
0.643003
Wlgen
4e1e89ed0e516be46415c2b1cf93c56d4e219c02
156
cpp
C++
PredPrey_Attempt2/main.cpp
08jne01/Predator-Prey-Attempt2
cfb1d259a73d3d038ca122cdf63e231968e93fa9
[ "MIT" ]
null
null
null
PredPrey_Attempt2/main.cpp
08jne01/Predator-Prey-Attempt2
cfb1d259a73d3d038ca122cdf63e231968e93fa9
[ "MIT" ]
null
null
null
PredPrey_Attempt2/main.cpp
08jne01/Predator-Prey-Attempt2
cfb1d259a73d3d038ca122cdf63e231968e93fa9
[ "MIT" ]
null
null
null
#include "Header.h" #include "Program.h" int main() { sf::err().rdbuf(NULL); Program p(700, 700, 2000, 100, 10, 0.0005, 0.01); return p.mainLoop(); }
13
50
0.615385
08jne01
89ecdd94e91e2120da96013ca06296e6a66ffb1d
5,368
cpp
C++
qttools/src/assistant/qhelpconverter/qhpwriter.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qttools/src/assistant/qhelpconverter/qhpwriter.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qttools/src/assistant/qhelpconverter/qhpwriter.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Assistant of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerc...
30.327684
87
0.668219
wgnet
89f4fd7de675c72a755421110bd985e1a7a44779
8,401
cpp
C++
stromx/runtime/Compare.cpp
uboot/stromx
5aff42008c576ca4aa9dbb1fdd238dac1d875ece
[ "Apache-2.0" ]
11
2015-08-16T09:59:07.000Z
2021-06-15T14:39:20.000Z
stromx/runtime/Compare.cpp
uboot/stromx
5aff42008c576ca4aa9dbb1fdd238dac1d875ece
[ "Apache-2.0" ]
null
null
null
stromx/runtime/Compare.cpp
uboot/stromx
5aff42008c576ca4aa9dbb1fdd238dac1d875ece
[ "Apache-2.0" ]
8
2015-05-10T02:25:37.000Z
2020-10-28T13:06:01.000Z
/* * Copyright 2015 Matthias Fuchs * * 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...
36.211207
129
0.548268
uboot
d602d70d3a27518ad0a3ce6df426b00285405dcb
1,771
cpp
C++
compiler/src/Ast/AstDef.cpp
jadedrip/SimpleLang
f39c490e5a41151d1d0d2f8c77c6ce524b7842f0
[ "BSD-3-Clause" ]
16
2015-03-30T02:46:49.000Z
2020-07-28T13:36:54.000Z
compiler/src/Ast/AstDef.cpp
jadedrip/SimpleLang
f39c490e5a41151d1d0d2f8c77c6ce524b7842f0
[ "BSD-3-Clause" ]
1
2020-09-01T09:38:30.000Z
2020-09-01T09:38:30.000Z
compiler/src/Ast/AstDef.cpp
jadedrip/SimpleLang
f39c490e5a41151d1d0d2f8c77c6ce524b7842f0
[ "BSD-3-Clause" ]
2
2020-02-07T02:09:48.000Z
2020-02-19T13:31:35.000Z
#include "stdafx.h" #include "AstDef.h" #include "AstContext.h" #include "AstGetClass.h" #include "utility.h" #include "../Type/AutoType.h" #include "../Type/ClassInstanceType.h" #include "../CodeGenerate/DefGen.h" #include "../CodeGenerate/GenList.h" #include "../CodeGenerate/CastGen.h" #include "../CodeGenerate/Stri...
22.417722
101
0.640316
jadedrip
d6077ea40b8d56f29839f9970ac2762b305a2e24
8,750
cpp
C++
src/probability.cpp
Michael-Stevens-27/silverblaze
f0f001710589fe072545b00f0d3524fc993f4cbd
[ "MIT" ]
3
2018-03-29T15:54:56.000Z
2018-10-15T18:28:59.000Z
src/probability.cpp
Michael-Stevens-27/silverblaze
f0f001710589fe072545b00f0d3524fc993f4cbd
[ "MIT" ]
2
2020-02-11T20:44:25.000Z
2020-06-18T20:00:32.000Z
src/probability.cpp
Michael-Stevens-27/silverblaze
f0f001710589fe072545b00f0d3524fc993f4cbd
[ "MIT" ]
null
null
null
#include <Rcpp.h> #include <math.h> #include "probability.h" #include "misc.h" using namespace std; //------------------------------------------------ // draw a value from an exponential distribution with set rate parameter double exp1(double rate){ return R::rexp(rate); } //-----------------------...
29.069767
105
0.551886
Michael-Stevens-27