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
7f0f4a0bcb02133515e50585b9b076c9f726f20d
2,051
cpp
C++
os/kernel/testsuite/monitor3.cpp
rvedam/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
2
2020-11-30T18:38:20.000Z
2021-06-07T07:44:03.000Z
os/kernel/testsuite/monitor3.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
1
2019-01-14T03:09:45.000Z
2019-01-14T03:09:45.000Z
os/kernel/testsuite/monitor3.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008, 2009 Google Inc. * Copyright 2006 Nintendo Co., Ltd. * * 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 * * Unle...
27.716216
82
0.569478
rvedam
7f15c0ee3b77662fa87bfc7847e291e9d00a4d8a
836
hpp
C++
Util/zip.hpp
arumakan1727/kyopro-cpplib
b39556b3616c231579937fb86b696c692aa4ef74
[ "MIT" ]
null
null
null
Util/zip.hpp
arumakan1727/kyopro-cpplib
b39556b3616c231579937fb86b696c692aa4ef74
[ "MIT" ]
null
null
null
Util/zip.hpp
arumakan1727/kyopro-cpplib
b39556b3616c231579937fb86b696c692aa4ef74
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <vector> #include <utility> #include <tuple> /** * @brief zip() (n個のvectorからn要素のタプルのvectorを生成する) */ template <class T1, class T2> std::vector<std::pair<T1, T2>> zip(const std::vector<T1>& v1, const std::vector<T2>& v2) { const auto sz = std::min(v1.size(), v2.size()); ...
32.153846
122
0.605263
arumakan1727
7f18a7703c62a84a6cefcfcbfc931c39ebadb05f
8,770
cpp
C++
modules/features/src/ImGradientDescriptor.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
17
2015-11-16T14:21:10.000Z
2020-11-09T02:57:33.000Z
modules/features/src/ImGradientDescriptor.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
35
2015-07-27T15:04:43.000Z
2019-08-22T10:52:35.000Z
modules/features/src/ImGradientDescriptor.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
18
2015-08-06T09:26:27.000Z
2020-09-03T01:31:00.000Z
/** * $Id$ * * Software License Agreement (GNU General Public License) * * Copyright (C) 2015: * * Johann Prankl, prankl@acin.tuwien.ac.at * Aitor Aldoma, aldoma@acin.tuwien.ac.at * * Automation and Control Institute * Vienna University of Technology * Gusshausstraße 25-29 * 117...
24.428969
126
0.572406
ToMadoRe
7f1a439722ab024eb275772bf53644b65fe176d0
656
hpp
C++
cheats/features/aimbot/aimbot.hpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
54
2021-11-15T13:39:51.000Z
2022-03-21T17:13:28.000Z
cheats/features/aimbot/aimbot.hpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
24
2021-11-08T06:59:34.000Z
2022-03-17T05:17:03.000Z
cheats/features/aimbot/aimbot.hpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
10
2021-11-10T06:52:14.000Z
2022-02-02T17:09:20.000Z
#pragma once #include <vector> #include "../../../SDK/math/Vector.hpp" class CUserCmd; class Player_t; class Weapon_t; class Aimbot final { public: void run(CUserCmd* cmd); void runRCS(CUserCmd* cmd); Player_t* getTargetted(); void draw(); private: void RCS(CUserCmd* cmd); void drawFov(); void drawBestPoint(...
19.878788
90
0.716463
Bartis1313
7f258875dfbbb5d1447a13d81d6b221f8de0ddd0
288,308
cpp
C++
example/unity/DemoApp/iii3_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Il2CppCCFieldValuesTable.cpp
Augmented-Future/flutter-unity-view-widget
b7036974249ff5e5a26fed3fc85167c607775a49
[ "MIT" ]
null
null
null
example/unity/DemoApp/iii3_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Il2CppCCFieldValuesTable.cpp
Augmented-Future/flutter-unity-view-widget
b7036974249ff5e5a26fed3fc85167c607775a49
[ "MIT" ]
null
null
null
example/unity/DemoApp/iii3_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Il2CppCCFieldValuesTable.cpp
Augmented-Future/flutter-unity-view-widget
b7036974249ff5e5a26fed3fc85167c607775a49
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable1[82]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable2[2]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable3[10]; IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable4[3]...
81.789504
88,498
0.908712
Augmented-Future
7f2632167051c79894063903cc2dc1c5786432a5
95,446
cpp
C++
Compressonator/Applications/_Plugins/Common/cmdline.cpp
Kode/Compressonator
125d9365dbd013320ccfcaafc3ec14e6292cd70f
[ "MIT" ]
null
null
null
Compressonator/Applications/_Plugins/Common/cmdline.cpp
Kode/Compressonator
125d9365dbd013320ccfcaafc3ec14e6292cd70f
[ "MIT" ]
null
null
null
Compressonator/Applications/_Plugins/Common/cmdline.cpp
Kode/Compressonator
125d9365dbd013320ccfcaafc3ec14e6292cd70f
[ "MIT" ]
null
null
null
//===================================================================== // Copyright 2016 (c), Advanced Micro Devices, Inc. All rights reserved. //===================================================================== // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software ...
38.989379
189
0.506381
Kode
7f2ab40dcb2346740fcc35a6180ebff2757e3765
130
cc
C++
tensorflow-yolo-ios/dependencies/google/protobuf/io/printer.cc
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/google/protobuf/io/printer.cc
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/google/protobuf/io/printer.cc
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:b9b382ecd1cdd8f519d0b45748d7f8a2488c0edc18e0a79aac464535909f69cb size 12029
32.5
75
0.884615
initialz
b5301f3ad375f4c67a971a9f66a5ee118c99c571
2,439
hpp
C++
lib/include/lib/Macros.hpp
MaximeHouis/cpp-template
2e9abe5cef27174f0776fe1b1a77a69297a1f08f
[ "Apache-2.0" ]
null
null
null
lib/include/lib/Macros.hpp
MaximeHouis/cpp-template
2e9abe5cef27174f0776fe1b1a77a69297a1f08f
[ "Apache-2.0" ]
null
null
null
lib/include/lib/Macros.hpp
MaximeHouis/cpp-template
2e9abe5cef27174f0776fe1b1a77a69297a1f08f
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021-2021 [fill name later] * * This software is provided "as-is", without any express or implied warranty. In no event * will the authors be held liable for any damages arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, includin...
39.33871
107
0.729397
MaximeHouis
b53ac5c1d25ac41d1023de007465e95a72712adf
12,981
cpp
C++
RtLibrary/src/Xuzumi/Platform.Windows/Rendering.DX11/DX11Buffer.cpp
lymuc-studio/Xuzumi
6377b07ba991d3c4f7cfa92c25fd35cc8a136f81
[ "MIT" ]
null
null
null
RtLibrary/src/Xuzumi/Platform.Windows/Rendering.DX11/DX11Buffer.cpp
lymuc-studio/Xuzumi
6377b07ba991d3c4f7cfa92c25fd35cc8a136f81
[ "MIT" ]
null
null
null
RtLibrary/src/Xuzumi/Platform.Windows/Rendering.DX11/DX11Buffer.cpp
lymuc-studio/Xuzumi
6377b07ba991d3c4f7cfa92c25fd35cc8a136f81
[ "MIT" ]
null
null
null
#include "DX11Buffer.h" #include "Xuzumi/Core/Debug/InternalAssertion.h" #include "Xuzumi/Core/Debug/InternalLogging.h" #include "Xuzumi/Core/Debug/LastError.h" #include "Xuzumi/Platform.Windows/Rendering.DX11/DX11Renderer.h" #include "Xuzumi/Platform.Windows/Rendering.DX11/DX11Extension.h" #include "Xuzumi/Platform.Wi...
21.853535
78
0.683615
lymuc-studio
b53bc0bf5f2abe95e6b5eba3b7dff5c7b0195b3d
111,540
cpp
C++
src/plugProjectEbisawaU/ebiScreenFileSelect_Mgr.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/plugProjectEbisawaU/ebiScreenFileSelect_Mgr.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/plugProjectEbisawaU/ebiScreenFileSelect_Mgr.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_80496F18 lbl_80496F18: .4byte 0x65626953 .4byte 0x63726565 .4byte 0x6E46696C .4byte 0x6553656C .4byte 0x6563745F .4byte 0x4D677200 .4byte 0x4F7...
23.956186
100
0.643025
projectPiki
b5476cc9594294d81b05227150622acb670cfdac
709
cpp
C++
CPP_Projects/Tag/Source/Tag/EnvQueryContext_TaggedPlayer.cpp
mgeffre10/Artificial-Intelligence
29ec82aea2afc7fce006775a3b8d4bb4f873a337
[ "MIT" ]
1
2020-07-06T19:25:16.000Z
2020-07-06T19:25:16.000Z
CPP_Projects/Tag/Source/Tag/EnvQueryContext_TaggedPlayer.cpp
mgeffre10/Artificial-Intelligence
29ec82aea2afc7fce006775a3b8d4bb4f873a337
[ "MIT" ]
null
null
null
CPP_Projects/Tag/Source/Tag/EnvQueryContext_TaggedPlayer.cpp
mgeffre10/Artificial-Intelligence
29ec82aea2afc7fce006775a3b8d4bb4f873a337
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "EnvQueryContext_TaggedPlayer.h" #include "Participant.h" #include "EnvironmentQuery/Items/EnvQueryItemType_Actor.h" #include "EngineUtils.h" void UEnvQueryContext_TaggedPlayer::ProvideContext(FEnvQueryInstance& QueryInstance, F...
26.259259
125
0.781382
mgeffre10
b54914ab9f273859ba86ba92299daaca7a327111
1,796
cpp
C++
example/limit_single_instance.cpp
mlegenovic/Boost.Application
e69d4926027274dadb7d89c45964ddafa1edd7f5
[ "BSL-1.0" ]
null
null
null
example/limit_single_instance.cpp
mlegenovic/Boost.Application
e69d4926027274dadb7d89c45964ddafa1edd7f5
[ "BSL-1.0" ]
null
null
null
example/limit_single_instance.cpp
mlegenovic/Boost.Application
e69d4926027274dadb7d89c45964ddafa1edd7f5
[ "BSL-1.0" ]
null
null
null
// ----------------------------------------------------------------------------- // simple_application.cpp : examples that show how use // Boost.Application to make a simplest interactive (terminal) application // // Note 1: The Boost.Application (Aspects v4) and this sample are in // development process. //...
24.944444
80
0.575167
mlegenovic
b5524d1ffabb9adcffee0933df32ed4894fa41aa
4,590
cpp
C++
toolkits/collaborative_filtering/metric_eval.cpp
libingzheren/GraphChi
cd960212ebc171bacbd3169e4c9bcd44e680aadb
[ "Apache-2.0" ]
9
2020-09-02T08:49:17.000Z
2022-02-16T06:51:44.000Z
toolkits/collaborative_filtering/metric_eval.cpp
mrgloom/graphchi-cpp
7dfaa37a9da8f5d8901fc95435f98fb8844c7217
[ "Apache-2.0" ]
null
null
null
toolkits/collaborative_filtering/metric_eval.cpp
mrgloom/graphchi-cpp
7dfaa37a9da8f5d8901fc95435f98fb8844c7217
[ "Apache-2.0" ]
3
2021-01-02T06:17:53.000Z
2022-03-28T18:54:05.000Z
/** * Copyright (c) 2009 Carnegie Mellon University. * 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...
30.397351
137
0.650327
libingzheren
b5589823a104b08fe449b6856167388ef270994f
16,999
cpp
C++
Havtorn/Source/Engine/Graphics/MaterialHandler.cpp
nicolas-risberg/NewEngine
38441f0713167ca8a469a1c6c0e7a290b5e402de
[ "MIT" ]
null
null
null
Havtorn/Source/Engine/Graphics/MaterialHandler.cpp
nicolas-risberg/NewEngine
38441f0713167ca8a469a1c6c0e7a290b5e402de
[ "MIT" ]
null
null
null
Havtorn/Source/Engine/Graphics/MaterialHandler.cpp
nicolas-risberg/NewEngine
38441f0713167ca8a469a1c6c0e7a290b5e402de
[ "MIT" ]
1
2022-01-09T12:01:24.000Z
2022-01-09T12:01:24.000Z
// Copyright 2022 Team Havtorn. All Rights Reserved. #include "hvpch.h" #include "MaterialHandler.h" #include "Engine.h" #include "GraphicsFramework.h" #include "GraphicsUtilities.h" #include <unordered_map> namespace Havtorn { std::array<ID3D11ShaderResourceView*, 3> CMaterialHandler::RequestMaterial(const I32 mate...
34.834016
203
0.729219
nicolas-risberg
b559f16b5cef685160af7398d568e5915a24ef6a
370
cpp
C++
PAT乙级/1022.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
PAT乙级/1022.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
PAT乙级/1022.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
#include<iostream> #include<stack> using namespace std; int main(){ long long int a,b; int d; stack<int> s; cin>>a>>b>>d; int sum = a+b; if(sum==0){ cout<<0; } while(sum!=0){ s.push(sum%d); sum = sum/d; } while(!s.empty()){ cout<<s...
16.818182
23
0.424324
codehuanglei
b55f9d583abdd5830ffe8218bdc8b93e709048f8
1,920
cpp
C++
systolic_array/cpp_Systolic.cpp
brucezhan01/xilinx_hls_exers
3d418acfe1be1a5c3f22807729d9a1002961d95c
[ "MIT" ]
null
null
null
systolic_array/cpp_Systolic.cpp
brucezhan01/xilinx_hls_exers
3d418acfe1be1a5c3f22807729d9a1002961d95c
[ "MIT" ]
null
null
null
systolic_array/cpp_Systolic.cpp
brucezhan01/xilinx_hls_exers
3d418acfe1be1a5c3f22807729d9a1002961d95c
[ "MIT" ]
null
null
null
#include "cpp_Systolic.h" void systolic_array(const data_t data_in[PE_SIZE], acc_t result_out[PE_SIZE], bool switch_weight, bool update_weight) { #pragma HLS PIPELINE static CPe<coef_t, data_t, acc_t> pe_array[PE_SIZE][PE_SIZE]; #pragma HLS ARRAY_PARTITION variable=pe_array complete dim=0 static data_t data[PE_SIZE...
28.656716
200
0.663542
brucezhan01
b564c50f549486cd20a41c4e61026b27c7df6cd1
827
hpp
C++
Sources/AssetManager.hpp
alelievr/VoxelEngine
9e8086be4eba4dc2c76d696e40cbf591bfe0f4a2
[ "MIT" ]
5
2019-03-25T07:24:43.000Z
2020-08-06T23:04:36.000Z
Sources/AssetManager.hpp
alelievr/VoxelEngine
9e8086be4eba4dc2c76d696e40cbf591bfe0f4a2
[ "MIT" ]
null
null
null
Sources/AssetManager.hpp
alelievr/VoxelEngine
9e8086be4eba4dc2c76d696e40cbf591bfe0f4a2
[ "MIT" ]
2
2019-10-16T10:29:23.000Z
2021-06-19T16:56:24.000Z
#pragma once #include <iostream> #include <string> #include <unordered_map> #include <vector> #include "VoxIncludeDeps.hpp" #include "IncludeDeps.hpp" #include GLM_INCLUDE #define MAX_BLOCK_ID 256 enum class TextureSide { All, Side, Top, Bottom, } struct BlockData { uint8_t id; TextureSide side; glm::vec4...
17.229167
67
0.723096
alelievr
b571302cb4c765d5f71ad9334e18b0211392babe
403
cpp
C++
test.cpp
amsubhash/competitive-programming
02c801c631d5a830e9a4c41914091c3ac7eaf39e
[ "MIT" ]
null
null
null
test.cpp
amsubhash/competitive-programming
02c801c631d5a830e9a4c41914091c3ac7eaf39e
[ "MIT" ]
null
null
null
test.cpp
amsubhash/competitive-programming
02c801c631d5a830e9a4c41914091c3ac7eaf39e
[ "MIT" ]
null
null
null
#include <iostream> #include <map> using namespace ::std; void change(int &a) { cout << "value of a inside change function: " << a << endl; a = 10; } int main() { int i = 16; int b = i & (i - 1); cout << b << endl; cout << (32 & 1) << endl; int a = 2; cout << "value of a: " << a << endl; change(a);...
17.521739
61
0.516129
amsubhash
b57aea3f8330ce508153acdd2f9e027cf181e8cc
11,384
cpp
C++
src/cpp/test/valueSpecificationTest.cpp
nemears/uml-cpp
d72c8b5506f391f2b6a5696972ff8da7ec10bd21
[ "MIT" ]
null
null
null
src/cpp/test/valueSpecificationTest.cpp
nemears/uml-cpp
d72c8b5506f391f2b6a5696972ff8da7ec10bd21
[ "MIT" ]
1
2022-02-25T18:14:21.000Z
2022-03-10T08:59:55.000Z
src/cpp/test/valueSpecificationTest.cpp
nemears/uml-cpp
d72c8b5506f391f2b6a5696972ff8da7ec10bd21
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "uml/uml-stable.h" #include "test/umlTestUtil.h" #include "test/uml-cpp-paths.h" using namespace std; using namespace UML; UML_SET_INTEGRATION_TEST(ExpressionOperands, Expression, Expression, &Expression::getOperands); class ValueSpecificationTest : public ::testing::Test { publ...
41.852941
182
0.695274
nemears
b5814dde948fcd45e4818da889e3e5527fad2300
751
cpp
C++
examples/rpip/servo/main.cpp
glfernando/sc
55972c296b8a873fed29d4ec6cfdd565da079047
[ "BSD-3-Clause" ]
1
2021-01-18T03:43:37.000Z
2021-01-18T03:43:37.000Z
examples/rpip/servo/main.cpp
glfernando/sc
55972c296b8a873fed29d4ec6cfdd565da079047
[ "BSD-3-Clause" ]
null
null
null
examples/rpip/servo/main.cpp
glfernando/sc
55972c296b8a873fed29d4ec6cfdd565da079047
[ "BSD-3-Clause" ]
null
null
null
/* * SPDX-License-Identifier: BSD-3-Clause * * Copyright (c) 2021 Fernando Lugo <lugo.fernando@gmail.com> */ import soc.rp2040.pwm; import lib.fmt; import lib.time; import lib.servo; import core.thread; using lib::fmt::println; using lib::servo; using core::thread::sleep; using namespace lib::time; constexpr un...
18.317073
61
0.643142
glfernando
b582cb0371710e4209358e5d121ae6162452bdcd
5,206
cc
C++
src/vec3.cc
acrlakshman/surface-polygonization
610a0fe37611fb3c3fee7ffd0258e5f048edb11e
[ "BSD-3-Clause" ]
null
null
null
src/vec3.cc
acrlakshman/surface-polygonization
610a0fe37611fb3c3fee7ffd0258e5f048edb11e
[ "BSD-3-Clause" ]
null
null
null
src/vec3.cc
acrlakshman/surface-polygonization
610a0fe37611fb3c3fee7ffd0258e5f048edb11e
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Copyright 2019 Lakshman Anumolu. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // 1. Redistributions of source code must reta...
31.551515
117
0.690549
acrlakshman
b58748f5bcd8422ed36cf7ee6f91860180f58feb
4,531
cpp
C++
src/Module/Monitor/BFER/Monitor_BFER_reduction.cpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Module/Monitor/BFER/Monitor_BFER_reduction.cpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Module/Monitor/BFER/Monitor_BFER_reduction.cpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
#include <sys/types.h> #include <sys/stat.h> #include <sstream> #include <fstream> #include <sstream> #include "Tools/Exception/exception.hpp" #include "Monitor_BFER_reduction.hpp" using namespace aff3ct; using namespace aff3ct::module; template <typename B> Monitor_BFER_reduction<B> ::Monitor_BFER_reduction(const ...
30.823129
120
0.64158
codechecker123
b58e5f7286cc1b299bdb5b17b73b2db4ab67734c
14,944
cpp
C++
src/IParser.cpp
KeinR/Crossot
b9ddc12ac4a9e34bef2c594381728428d02dd49b
[ "MIT" ]
null
null
null
src/IParser.cpp
KeinR/Crossot
b9ddc12ac4a9e34bef2c594381728428d02dd49b
[ "MIT" ]
null
null
null
src/IParser.cpp
KeinR/Crossot
b9ddc12ac4a9e34bef2c594381728428d02dd49b
[ "MIT" ]
null
null
null
#include <iostream> #include <list> #include <map> #include <cmath> #include <vector> #include "Node.h" #include "Solver.h" #include "main.h" #include "IParser.h" #define K_REASONABLE_SKIP 8 IParser::IParser(const int &width, const int &height, const int &channels, imagebpm image): width(width), height(height), cha...
34.196796
134
0.458512
KeinR
b58fc50c17538e44d297dc6797f92ea29543c1df
3,214
cpp
C++
demos/main.cpp
FrozenSource/oof
cb785b56bea7d783b2477d0fb63ffb1d31623e1d
[ "MIT" ]
722
2021-11-19T07:48:54.000Z
2022-03-30T15:42:34.000Z
demos/main.cpp
llxiaoyuan/oof
c7b7c1011c2fc8c4f0dd2d7c40a626e9ce965e33
[ "MIT" ]
5
2021-11-22T17:50:59.000Z
2021-11-25T13:07:31.000Z
demos/main.cpp
llxiaoyuan/oof
c7b7c1011c2fc8c4f0dd2d7c40a626e9ce965e33
[ "MIT" ]
32
2021-11-21T21:36:46.000Z
2022-03-22T06:46:52.000Z
#include <iostream> #include "tools.h" #include "radar_demo.h" #include "snow_demo.h" #include "text_demo.h" #include "bars_demo.h" #include "cursor_trail_demo.h" #include "fireworks_demo.h" auto my_error_function( const std::string& msg ) -> void { std::cerr << std::format("ERROR! msg: {}\n", msg); std::...
27.008403
110
0.547915
FrozenSource
b591d31cf1e3a7877eb2ae794c8a5684774ba58f
2,285
cpp
C++
src/phase2_c.cpp
computer-whisperer/chiapos
73b25b181466ee06ad7ab31c46661ca691322930
[ "Apache-2.0" ]
4
2021-05-22T12:03:07.000Z
2021-05-23T18:12:06.000Z
src/phase2_c.cpp
computer-whisperer/chiapos
73b25b181466ee06ad7ab31c46661ca691322930
[ "Apache-2.0" ]
10
2021-05-17T22:29:15.000Z
2021-05-28T20:31:00.000Z
src/phase2_c.cpp
computer-whisperer/chiapos
73b25b181466ee06ad7ab31c46661ca691322930
[ "Apache-2.0" ]
1
2021-05-22T13:56:32.000Z
2021-05-22T13:56:32.000Z
#include "phase2_c.hpp" #include <atomic> #include <thread> #include <vector> #include "buffers.hpp" #include "phase1.hpp" #include "util.hpp" using namespace std; const uint32_t block_size = 1ULL<<12; void Phase2CThreadA(Buffer* phase1_buffer, vector<vector<atomic<uint8_t>>>& used_entries, atomic_long& coordinato...
24.836957
137
0.678775
computer-whisperer
b592955fb3425763782bc2c0af1b5bf1f8aa74b7
3,423
hpp
C++
src/Relax/Partitioners/setPartitioner.hpp
memo-p/DDLib
9787d042aafcf095d825860c74761283f97089bb
[ "MIT" ]
null
null
null
src/Relax/Partitioners/setPartitioner.hpp
memo-p/DDLib
9787d042aafcf095d825860c74761283f97089bb
[ "MIT" ]
1
2020-12-19T18:35:43.000Z
2021-04-19T13:55:18.000Z
src/Relax/Partitioners/setPartitioner.hpp
memo-p/DDLib
9787d042aafcf095d825860c74761283f97089bb
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018 Guillaume Perez * * 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, ...
31.118182
83
0.668127
memo-p
b59ce021243d3cdab0297c3ca1a040327ff20599
4,972
cpp
C++
framework/box.cpp
momenarahmati/programmiersprachen-raytracer
4ad94a8fc501b26c7aa5f9b4cb77b4641e6e1986
[ "MIT" ]
null
null
null
framework/box.cpp
momenarahmati/programmiersprachen-raytracer
4ad94a8fc501b26c7aa5f9b4cb77b4641e6e1986
[ "MIT" ]
null
null
null
framework/box.cpp
momenarahmati/programmiersprachen-raytracer
4ad94a8fc501b26c7aa5f9b4cb77b4641e6e1986
[ "MIT" ]
null
null
null
#include "box.hpp" #include "ebene.hpp" #include <glm/vec3.hpp> #include <glm/glm.hpp> #include <vector> #include <iostream> #include <limits> // numeric_limits using namespace std; //Konstruktoren Box::Box() : Shape(), min_{ 0.0f, 0.0f, 0.0f }, max_{ 1.0f, 1.0f, 1.0f } {} Box::Box(glm::vec3 const& mi...
31.66879
144
0.628117
momenarahmati
b2750343be540967192efc8b7e1b8a0761b3e920
9,203
cpp
C++
src/ui/store/UploadEffectController.cpp
ysbing/voo
329d6a72ede6dd5903ca4d824bb3c49a5502f5c3
[ "Apache-2.0" ]
56
2022-01-29T04:52:27.000Z
2022-03-31T06:52:15.000Z
src/ui/store/UploadEffectController.cpp
jumpingfrog0/VOO
af191ece986f997cf98f85016aa7288c323210c3
[ "Apache-2.0" ]
null
null
null
src/ui/store/UploadEffectController.cpp
jumpingfrog0/VOO
af191ece986f997cf98f85016aa7288c323210c3
[ "Apache-2.0" ]
16
2022-01-29T04:52:39.000Z
2022-03-31T07:48:53.000Z
#include "UploadEffectController.h" #include <QFileInfo> #include <QDir> #include <QJsonDocument> #include "base/utils/SharedPref.h" #include "base/http/BaseRsp.h" #include "base/http/SEHttpClient.h" #include "base/utils/AppConstance.h" #include "base/utils/AppPath.h" #include "base/utils/UploadUtils.h" #i...
36.375494
113
0.612083
ysbing
b277463438b0168681a2bfe0955696d5265cdeed
633
cpp
C++
Locales/Axis.Locale.BrazilianPortuguese/Axis.Locale.BrazilianPortuguese.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Locales/Axis.Locale.BrazilianPortuguese/Axis.Locale.BrazilianPortuguese.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Locales/Axis.Locale.BrazilianPortuguese/Axis.Locale.BrazilianPortuguese.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
// axis.Locale.BrazilianPortuguese.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include "Axis.Locale.BrazilianPortuguese.h" // This is an example of an exported variable AXISLOCALEBRAZILIANPORTUGUESE_API int nAxisLocaleBrazilianPortuguese=0; // This is an example of an expor...
27.521739
96
0.810427
renato-yuzup
b27ed96aece2a6d3a6f180f255912f6900bc36b1
1,706
hpp
C++
src/core/parallel_environment.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
11
2016-03-31T17:46:15.000Z
2022-02-14T01:07:56.000Z
src/core/parallel_environment.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2016-04-04T16:40:47.000Z
2019-10-16T22:22:54.000Z
src/core/parallel_environment.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2019-10-16T22:20:15.000Z
2019-11-28T11:59:03.000Z
/* Copyright 2016 Mitchell Young Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
27.516129
76
0.723916
tp-ntouran
b27f95f2264d9f71a0a5e5cfda934f4114b1fdca
1,625
cpp
C++
src/homework/04_vectors/vectors.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-longdangaustincc
c20f551933db8cddada19939695cb1fe153c90ad
[ "MIT" ]
null
null
null
src/homework/04_vectors/vectors.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-longdangaustincc
c20f551933db8cddada19939695cb1fe153c90ad
[ "MIT" ]
null
null
null
src/homework/04_vectors/vectors.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-longdangaustincc
c20f551933db8cddada19939695cb1fe153c90ad
[ "MIT" ]
null
null
null
#include <iostream> #include "vectors.h" using std::cout; /* Write a value return function get_max_from_vector with a const reference vector of intsparameter that returns the max value in a vector @param numbers is a const reference to a vector of integers @return the max value in the vector */ int get_max_from_vec...
17.287234
73
0.665846
acc-cosc-1337-fall-2019
b28103d996629a9d52bff5495c5f49af971ca341
6,069
cpp
C++
src/flankBed/flankBed.cpp
kehey/bedtools2
b93a68ca4625d66ebcb87d97bbb6296ff2a6e5ef
[ "MIT" ]
656
2015-01-06T19:54:36.000Z
2022-03-19T17:43:07.000Z
src/flankBed/flankBed.cpp
kehey/bedtools2
b93a68ca4625d66ebcb87d97bbb6296ff2a6e5ef
[ "MIT" ]
774
2015-01-02T17:05:06.000Z
2022-03-31T12:54:03.000Z
src/flankBed/flankBed.cpp
kehey/bedtools2
b93a68ca4625d66ebcb87d97bbb6296ff2a6e5ef
[ "MIT" ]
297
2015-01-02T09:25:35.000Z
2022-02-17T09:29:17.000Z
/***************************************************************************** flankBed.cpp (c) 2009 - Aaron Quinlan Hall Laboratory Department of Biochemistry and Molecular Genetics University of Virginia aaronquinlan@gmail.com Licensed under the GNU General Public License 2.0 license. ****************...
32.111111
106
0.560554
kehey
b28748fd43edb987a7b8982fbbca5a9f8f9cf7f4
1,885
hpp
C++
src/ExpressionParser.hpp
alexandervanrenen/Harriet
4cea3e5ade23d0856b8e9e4f9c67d614e16f4243
[ "MIT" ]
1
2021-12-01T21:27:23.000Z
2021-12-01T21:27:23.000Z
src/ExpressionParser.hpp
alexandervanrenen/Harriet
4cea3e5ade23d0856b8e9e4f9c67d614e16f4243
[ "MIT" ]
null
null
null
src/ExpressionParser.hpp
alexandervanrenen/Harriet
4cea3e5ade23d0856b8e9e4f9c67d614e16f4243
[ "MIT" ]
null
null
null
#ifndef SCRIPTLANGUAGE_EXPRESSIONPARSER_HPP_ #define SCRIPTLANGUAGE_EXPRESSIONPARSER_HPP_ //--------------------------------------------------------------------------- #include "ScriptLanguage.hpp" #include "Expression.hpp" #include <memory> #include <string> #include <ios> #include <stack> #include <vector> //--------...
43.837209
141
0.546419
alexandervanrenen
b28d7ef148be0ca587d2178e44fad6345c7fc7e4
23,199
cpp
C++
src/drivers/bosco.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/bosco.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/bosco.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/*************************************************************************** bosco memory map (preliminary) CPU #1: 0000-3fff ROM CPU #2: 0000-1fff ROM CPU #3: 0000-1fff ROM ALL CPUS: 8000-83ff Video RAM 8400-87ff Color RAM 8b80-8bff sprite code/color 9380-93ff sprite position 9b80-9bff sprite control 8800-9fff RAM ...
32.628692
117
0.687055
pierrelouys
b2939aee4f8206a76a3e02905bf94dd404c57a4e
511
cpp
C++
gameSoftObject.cpp
irrmich/IrrBulletPhysics
29678e0f16c873f9372621235881b46ccb456563
[ "Zlib" ]
null
null
null
gameSoftObject.cpp
irrmich/IrrBulletPhysics
29678e0f16c873f9372621235881b46ccb456563
[ "Zlib" ]
null
null
null
gameSoftObject.cpp
irrmich/IrrBulletPhysics
29678e0f16c873f9372621235881b46ccb456563
[ "Zlib" ]
null
null
null
#include "gameSoftObject.h" using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gameEngine; gameSoftObject::gameSoftObject(IMeshSceneNode* node,btBroadphaseInterface* broadphase, btCollisionDispatcher* dispatcher,con...
25.55
113
0.729941
irrmich
b294215ecdb4edcb02c2142ad6cb79fc96c75885
4,442
cpp
C++
Dynamic Programming/474. Ones and Zeroes.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Dynamic Programming/474. Ones and Zeroes.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Dynamic Programming/474. Ones and Zeroes.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* 经典knapsnap problem dp[i][j][k] means the maximum number of strings we can get from the first i argument strs using limited j number of '0’s and k number of '1’s. dp[i][j][k] 代表最大长度的string我们可以获得在第i个string,且0的最大个数为j, 且1的最大个数为K */ //Bottom-Up class Solution { public: int findMaxForm(vector<string>& strs, int m, int...
29.03268
142
0.425709
beckswu
b2950d49c6821e4b65e34d8634af7a612d0c6534
6,681
cpp
C++
MinimizeToTray/MinimizeToTray.cpp
lardratboy/thevoid
fa041543f46bfab9a3f8ca22cd331c570329fd45
[ "MIT" ]
null
null
null
MinimizeToTray/MinimizeToTray.cpp
lardratboy/thevoid
fa041543f46bfab9a3f8ca22cd331c570329fd45
[ "MIT" ]
null
null
null
MinimizeToTray/MinimizeToTray.cpp
lardratboy/thevoid
fa041543f46bfab9a3f8ca22cd331c570329fd45
[ "MIT" ]
null
null
null
// MinimizeToTray // // A couple of routines to show how to make it produce a custom caption // animation to make it look like we are minimizing to and maximizing // from the system tray // // These routines are public domain, but it would be nice if you dropped // me a line if you use them! // // 1.0 29.06.2000 Initi...
35.919355
84
0.736117
lardratboy
b2a9a87bc3c6eec0f9a75e3eba56bd4010a6c767
8,441
cc
C++
ggadget/xml_http_request_utils.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
ggadget/xml_http_request_utils.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
ggadget/xml_http_request_utils.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2008 Google 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 applicable law or agreed to in writing,...
32.340996
79
0.605142
suzhe
b2acd4729740f8eb4efb10de180f06b93ece9cf5
1,105
hpp
C++
shared_model/backend/protobuf/commands/proto_create_domain.hpp
artyom-yurin/iroha-archive
1ad3a149d21d30e99c650a9a4bad88b2792d751d
[ "Apache-2.0" ]
31
2019-04-17T19:32:05.000Z
2022-02-05T01:35:02.000Z
shared_model/backend/protobuf/commands/proto_create_domain.hpp
artyom-yurin/iroha-archive
1ad3a149d21d30e99c650a9a4bad88b2792d751d
[ "Apache-2.0" ]
11
2016-10-13T10:09:55.000Z
2019-06-13T08:49:11.000Z
shared_model/backend/protobuf/commands/proto_create_domain.hpp
artyom-yurin/iroha-archive
1ad3a149d21d30e99c650a9a4bad88b2792d751d
[ "Apache-2.0" ]
12
2019-06-03T10:31:31.000Z
2021-12-13T12:17:15.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_PROTO_CREATE_DOMAIN_HPP #define IROHA_PROTO_CREATE_DOMAIN_HPP #include "backend/protobuf/common_objects/trivial_proto.hpp" #include "commands.pb.h" #include "interfaces/commands/create_domain.hpp" names...
28.333333
77
0.671493
artyom-yurin
b2b0b82f73ee411bb139223cc2d14bc39f68da8c
35,901
cpp
C++
Source/ModuleUI.cpp
project-3-bcn-2019/Project-Atlas
16ae881cec41d17a168d10f2f9cd2cf9207b2855
[ "MIT" ]
1
2019-02-21T13:35:35.000Z
2019-02-21T13:35:35.000Z
Source/ModuleUI.cpp
project-3-bcn-2019/Kuroko-Engine
16ae881cec41d17a168d10f2f9cd2cf9207b2855
[ "MIT" ]
1
2019-03-01T15:18:28.000Z
2019-03-01T15:18:28.000Z
Source/ModuleUI.cpp
project-3-bcn-2019/Project-Atlas
16ae881cec41d17a168d10f2f9cd2cf9207b2855
[ "MIT" ]
null
null
null
#include "ModuleUI.h" #include "Globals.h" #include "Application.h" #include "ModuleRenderer3D.h" #include "ModuleWindow.h" #include "ModuleImporter.h" #include "ModuleExporter.h" #include "ModuleCamera3D.h" #include "ModuleScene.h" #include "ModuleResourcesManager.h" #include "ModuleScripting.h" #include "ModuleInput...
33.964995
352
0.687669
project-3-bcn-2019
b2bce72c46c761b927fc296048de6a4b1e48e6c8
1,494
hxx
C++
include/timer_task.hxx
catFurr/cornerstone
77601d6beb447e371a181ac692dc2c079ddd8cb9
[ "BSL-1.0", "Apache-2.0" ]
219
2016-10-13T11:03:19.000Z
2022-03-25T07:20:27.000Z
include/timer_task.hxx
catFurr/cornerstone
77601d6beb447e371a181ac692dc2c079ddd8cb9
[ "BSL-1.0", "Apache-2.0" ]
8
2017-10-08T01:20:25.000Z
2021-03-02T05:13:53.000Z
include/timer_task.hxx
catFurr/cornerstone
77601d6beb447e371a181ac692dc2c079ddd8cb9
[ "BSL-1.0", "Apache-2.0" ]
56
2016-10-29T15:14:32.000Z
2022-03-28T03:59:20.000Z
/* * Copyright (c) 2016 - present Alpha Infra 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 applicabl...
25.758621
75
0.613788
catFurr
b2bd4448bb8d63028dfee32f200644519d8f28a5
1,031
hpp
C++
src/api/service/state/requests/get_runtime_version.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
1
2021-07-10T21:25:03.000Z
2021-07-10T21:25:03.000Z
src/api/service/state/requests/get_runtime_version.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
src/api/service/state/requests/get_runtime_version.hpp
GeniusVentures/SuperGenius
ae43304f4a2475498ef56c971296175acb88d0ee
[ "MIT" ]
null
null
null
#ifndef SUPERGENIUS_SRC_API_REQUEST_GET_VERSION #define SUPERGENIUS_SRC_API_REQUEST_GET_VERSION #include <jsonrpc-lean/request.h> #include "api/service/state/state_api.hpp" #include "base/buffer.hpp" #include "outcome/outcome.hpp" #include "primitives/block_id.hpp" namespace sgns::api::state::request { class Get...
28.638889
75
0.752667
GeniusVentures
b2c12d2f6eb1e00221da205558ffc66e06024a4b
3,890
hpp
C++
src/ropufu/random/standard_normal_sampler_512.hpp
ropufu/aftermath
ab9364c41672a188879d84ebebb5a23f2d6641ec
[ "MIT" ]
null
null
null
src/ropufu/random/standard_normal_sampler_512.hpp
ropufu/aftermath
ab9364c41672a188879d84ebebb5a23f2d6641ec
[ "MIT" ]
null
null
null
src/ropufu/random/standard_normal_sampler_512.hpp
ropufu/aftermath
ab9364c41672a188879d84ebebb5a23f2d6641ec
[ "MIT" ]
null
null
null
#ifndef ROPUFU_AFTERMATH_RANDOM_STANDARD_NORMAL_SAMPLER_512_HPP_INCLUDED #define ROPUFU_AFTERMATH_RANDOM_STANDARD_NORMAL_SAMPLER_512_HPP_INCLUDED #include "../probability/standard_normal_distribution.hpp" #include "ziggurat_layers_normal_512_m24.hpp" #include "ziggurat_layers_normal_512_2147483645.hpp" #include "zigg...
46.86747
141
0.716452
ropufu
b2c25ed0ddb4d71a3e204d9bf5367772aa41be12
1,648
hpp
C++
utils/test_dir.hpp
adam-lafontaine/AugmentedAI
a4736ce59963ee86313a5936aaf09f0f659e4184
[ "MIT" ]
null
null
null
utils/test_dir.hpp
adam-lafontaine/AugmentedAI
a4736ce59963ee86313a5936aaf09f0f659e4184
[ "MIT" ]
null
null
null
utils/test_dir.hpp
adam-lafontaine/AugmentedAI
a4736ce59963ee86313a5936aaf09f0f659e4184
[ "MIT" ]
null
null
null
#pragma once /* Copyright (c) 2021 Adam Lafontaine */ #include "config_reader.hpp" #include <string> namespace cr = config_reader; enum class TestDir : size_t { PROJECT_ROOT = 0, SRC_FAIL_ROOT, SRC_PASS_ROOT, DATA_FAIL_ROOT, DATA_PASS_ROOT, MODEL_ROOT, ALPHA_PATH, BORDER_PATH, Count }; // change this ...
21.402597
107
0.737864
adam-lafontaine
b2c721aa7ec2d20d9a4ebb91e00a8f454fa684f0
388
hpp
C++
framework/box.hpp
antoniakk/programmiersprachen-raytracer
24c6d2fccb61459d25d3077c47621d3abfd4df3e
[ "MIT" ]
null
null
null
framework/box.hpp
antoniakk/programmiersprachen-raytracer
24c6d2fccb61459d25d3077c47621d3abfd4df3e
[ "MIT" ]
null
null
null
framework/box.hpp
antoniakk/programmiersprachen-raytracer
24c6d2fccb61459d25d3077c47621d3abfd4df3e
[ "MIT" ]
null
null
null
#ifndef BOX_HPP #define BOX_HPP #include "shape.hpp" class Box : public Shape { public: Box(std::string name, Color const& color, glm::vec3 const& min, glm::vec3 const& max); float area() const override; float volume() const override; std::ostream& print(std::ostream& os) const override; ~Bo...
20.421053
90
0.64433
antoniakk
b2ccac9300d749af24eeb3b56ff1b6987a53291f
8,761
cpp
C++
lpad.cpp
Shadowsith/lpad_wt
7934bfb5d72c50d8f1adced7d4f25523bbb49525
[ "MIT" ]
null
null
null
lpad.cpp
Shadowsith/lpad_wt
7934bfb5d72c50d8f1adced7d4f25523bbb49525
[ "MIT" ]
null
null
null
lpad.cpp
Shadowsith/lpad_wt
7934bfb5d72c50d8f1adced7d4f25523bbb49525
[ "MIT" ]
null
null
null
#include <memory> #include <Wt/WApplication.h> #include <Wt/WWebWidget.h> #include <Wt/WBreak.h> #include <Wt/WContainerWidget.h> #include <Wt/WMenu.h> #include <Wt/WLineEdit.h> #include <Wt/WPushButton.h> #include <Wt/WText.h> #include <Wt/WLabel.h> #include <Wt/WTemplate.h> #include <Wt/WJavaScript.h> #include <Wt/WM...
34.628458
97
0.660769
Shadowsith
b2cdebfe837387cc70cf6af2180909be541ea6fc
559
cpp
C++
Keylogger/util/clipboard.cpp
DeviceObject/Keylogger
07e345e6e8241c27f7799f9be93e8f6d9cccad72
[ "MIT" ]
null
null
null
Keylogger/util/clipboard.cpp
DeviceObject/Keylogger
07e345e6e8241c27f7799f9be93e8f6d9cccad72
[ "MIT" ]
null
null
null
Keylogger/util/clipboard.cpp
DeviceObject/Keylogger
07e345e6e8241c27f7799f9be93e8f6d9cccad72
[ "MIT" ]
2
2019-03-05T14:30:32.000Z
2020-03-23T15:47:46.000Z
#include "clipboard.hpp" #include <Windows.h> // Get the current clipboard data. std::optional<std::wstring> clipboard_util::get_data() { const auto success = OpenClipboard(nullptr); if (!success) return std::nullopt; auto handle = GetClipboardData(CF_UNICODETEXT); if (!handle) return std::nullopt; const ...
19.275862
57
0.726297
DeviceObject
b2d37a2bb28ac95d728e24366a3b655596adde00
1,451
hpp
C++
hdf/HDFData.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
hdf/HDFData.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
hdf/HDFData.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#ifndef _BLASR_HDF_DATA_HPP_ #define _BLASR_HDF_DATA_HPP_ #include <string> #include <H5Cpp.h> #include <hdf/HDFAttributable.hpp> #include <hdf/HDFConfig.hpp> #include <hdf/HDFGroup.hpp> class HDFData : public HDFAttributable { public: H5::DataSet dataset; H5::DataSpace dataspace; H5::DataSpace sourceSp...
25.910714
97
0.710544
ggraham
b2d65e63db5fa0ce4d064c0d1af4c2efba5d1122
1,710
cpp
C++
Source/DSceneManager.cpp
XDApp/DawnFramework
4963be2c4ead995a3b02fb0c683c3f77662b9916
[ "MIT" ]
1
2015-06-21T08:04:36.000Z
2015-06-21T08:04:36.000Z
Source/DSceneManager.cpp
XDApp/DawnFramework
4963be2c4ead995a3b02fb0c683c3f77662b9916
[ "MIT" ]
null
null
null
Source/DSceneManager.cpp
XDApp/DawnFramework
4963be2c4ead995a3b02fb0c683c3f77662b9916
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "DSceneManager.h" #include "DScene.h" DSceneManager::DSceneManager() :CurrentScene(nullptr), lstScene(nullptr) { } DSceneManager::~DSceneManager() { this->Clear(); } void DSceneManager::PullReference(const DawnEngineObject* Object) { DawnEngineObject::PullReference(Object); if (Cu...
17.8125
69
0.728655
XDApp
b2e480156f7ffb9da67c84358ea25ab0ab92ee91
705
cpp
C++
2015/day04/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2015/day04/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2015/day04/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include "md5.h" const std::string part1(5, '0'); const std::string part2(6, '0'); int main() { std::ifstream fin("data.in"); std::string str; int res1 = -1, res2 = -1; std::getline(fin, str); for (int i = 1; res1 == -1 || res2 == -1; ++ i) { std::...
19.583333
61
0.47234
batduck27
b2eae3430102156ed2354aee900879e6be4172ea
457
cpp
C++
RealPractices/03/H.NearestElement.cpp
Guyutongxue/Practice_of_Programming
70e11cfc0ab6aefbc9e28b279cf3de110426a9b9
[ "WTFPL" ]
6
2020-03-01T03:13:37.000Z
2021-03-20T13:37:11.000Z
RealPractices/03/H.NearestElement.cpp
Guyutongxue/Practice_of_Programming
70e11cfc0ab6aefbc9e28b279cf3de110426a9b9
[ "WTFPL" ]
null
null
null
RealPractices/03/H.NearestElement.cpp
Guyutongxue/Practice_of_Programming
70e11cfc0ab6aefbc9e28b279cf3de110426a9b9
[ "WTFPL" ]
3
2020-03-28T03:14:24.000Z
2021-05-20T13:35:15.000Z
#include <algorithm> #include <iostream> using namespace std; int a[100002]; int main() { int n; cin >> n; for (int i = 0; i < n; i++) { cin >> a[i]; } int m; cin >> m; while (m--) { int v; cin >> v; int* pos = lower_bound(a, a + n, v); if (pos == a ...
18.28
56
0.382932
Guyutongxue
b2ee18bd2b68a2fa2ac27a66b55d74bc1ae1b06f
4,395
hpp
C++
mazeSolver/mazeSolver/table.hpp
nikhiljjoshi/evoNik
b0be7202bbb07da75b0b6d686556e7464e176717
[ "BSD-2-Clause" ]
null
null
null
mazeSolver/mazeSolver/table.hpp
nikhiljjoshi/evoNik
b0be7202bbb07da75b0b6d686556e7464e176717
[ "BSD-2-Clause" ]
null
null
null
mazeSolver/mazeSolver/table.hpp
nikhiljjoshi/evoNik
b0be7202bbb07da75b0b6d686556e7464e176717
[ "BSD-2-Clause" ]
null
null
null
// // table.hpp // mazeSolver // // Created by Nikhil Joshi on 12/11/12. // Copyright (c) 2012 Nikhil Joshi. All rights reserved. // #ifndef mazeSolver_table_hpp #define mazeSolver_table_hpp #include <iostream> #include <string> #include <cmath> #include <SFML/Graphics.hpp> class cell { public: //content ...
32.316176
149
0.570193
nikhiljjoshi
b2eef6e9dd66e94d18d06271a5fcc1ffe4fbca00
2,075
cpp
C++
tests/Timer_Test.cpp
opokicom/pomoduino2
ffc2d35eb30877f3b40d2ff90245fed4b4e67413
[ "MIT" ]
1
2021-09-26T16:36:34.000Z
2021-09-26T16:36:34.000Z
tests/Timer_Test.cpp
opokicom/pomoduino2
ffc2d35eb30877f3b40d2ff90245fed4b4e67413
[ "MIT" ]
null
null
null
tests/Timer_Test.cpp
opokicom/pomoduino2
ffc2d35eb30877f3b40d2ff90245fed4b4e67413
[ "MIT" ]
null
null
null
/* Copyright (c) 2016 Miroslaw Opoka <mirek@opoki.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 limitation the rights to use, copy, modify, merge, pub...
34.016393
80
0.70506
opokicom
b2f0fbec27b3f58ef9ee76ca24ee32645f2f3db7
333
cpp
C++
src/serializers/SerializerInterface.cpp
daladim/access-log-monitor
497751cd8ca99b0520c565579c6a53f4cf561c02
[ "MIT" ]
null
null
null
src/serializers/SerializerInterface.cpp
daladim/access-log-monitor
497751cd8ca99b0520c565579c6a53f4cf561c02
[ "MIT" ]
null
null
null
src/serializers/SerializerInterface.cpp
daladim/access-log-monitor
497751cd8ca99b0520c565579c6a53f4cf561c02
[ "MIT" ]
null
null
null
#include "SerializerInterface.hpp" #include <sstream> using namespace std; namespace LogSupervisor::Serializer{ ostream& operator<<(ostream& lhs, Interface& serializer){ serializer.serialize(lhs); return lhs; } string Interface::to_string(){ ostringstream ss; ss << *this; return ss.str(); } }...
15.857143
57
0.696697
daladim
b2f9bd1b12cc2bd5424597ceda882eac55046a4f
863
cpp
C++
src/plugin/MQL4/MT4ConnectionDll/MT4Packet.cpp
sppp/Overlook
264f6b64d40dc4cf0cb7b7ad6046a0f10eb2297b
[ "BSD-3-Clause" ]
7
2017-07-21T09:10:50.000Z
2021-01-23T09:21:40.000Z
src/plugin/MQL4/MT4ConnectionDll/MT4Packet.cpp
OuluLinux/Overlook
264f6b64d40dc4cf0cb7b7ad6046a0f10eb2297b
[ "BSD-3-Clause" ]
null
null
null
src/plugin/MQL4/MT4ConnectionDll/MT4Packet.cpp
OuluLinux/Overlook
264f6b64d40dc4cf0cb7b7ad6046a0f10eb2297b
[ "BSD-3-Clause" ]
8
2017-04-30T08:30:21.000Z
2020-03-14T03:18:41.000Z
#include "Common.h" bool MT4Packet::Export(TcpSocket &s) { uint32 size; StringStream ss; void* mem; Store(*this, ss); ss.Seek(0); size = ss.GetSize(); if (s.Put(&size, 4) != 4) return 1; mem = MemoryAlloc(size); ss.Get(mem, size); if (s.Put(mem, size) != size) { MemoryFree...
17.26
74
0.563152
sppp
650265e62aca1cc5389c4570796edb8f182107df
10,413
cpp
C++
libpoolsim/share_handler.cpp
kentaro-fujita/PoolSim
19b4bd06af8d2b16ae39048e245bd84eee09e98f
[ "MIT" ]
2
2020-03-20T08:24:55.000Z
2020-10-11T03:05:03.000Z
libpoolsim/share_handler.cpp
kentaro-fujita/PoolSim
19b4bd06af8d2b16ae39048e245bd84eee09e98f
[ "MIT" ]
1
2022-01-27T16:57:40.000Z
2022-02-05T05:21:21.000Z
libpoolsim/share_handler.cpp
kentaro-fujita/PoolSim
19b4bd06af8d2b16ae39048e245bd84eee09e98f
[ "MIT" ]
4
2019-10-25T18:10:45.000Z
2021-12-06T02:57:02.000Z
#include "share_handler.h" #include "miner.h" #include "factory.h" #include "miner_record.h" #include "random.h" #include <spdlog/spdlog.h> #include <iterator> #include <algorithm> namespace poolsim { void from_json(const nlohmann::json& j, BehaviourConfig& b) { if (j.find("top_n") != j.end()) j.at("top...
28.143243
97
0.673101
kentaro-fujita
6504cf306cb518db4167d948ff7a8a1a326fb645
63,403
cpp
C++
src/solution.cpp
akstuki/rtklibcpp
241753fba4d92fb09f3337e6c82b1ed9283675be
[ "BSD-2-Clause" ]
1
2020-06-05T15:16:36.000Z
2020-06-05T15:16:36.000Z
src/solution.cpp
akstuki/rtklibcpp
241753fba4d92fb09f3337e6c82b1ed9283675be
[ "BSD-2-Clause" ]
1
2020-06-14T07:04:29.000Z
2020-06-14T07:04:29.000Z
src/solution.cpp
akstuki/rtklibcpp
241753fba4d92fb09f3337e6c82b1ed9283675be
[ "BSD-2-Clause" ]
2
2021-09-26T09:00:02.000Z
2021-09-26T10:07:52.000Z
/*------------------------------------------------------------------------------ * solution.c : solution functions * * Copyright (C) 2007-2018 by T.TAKASU, All rights reserved. * * reference : * [1] National Marine Electronic Association and International Marine * Electronics Association, NMEA 0183...
36.209595
121
0.485797
akstuki
6505a3743c88c6f63e85f6373b6ab328c18d81df
526
cpp
C++
Basic/1016.cpp
GodLovesJonny/PAT-Solutions
b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77
[ "MIT" ]
6
2019-03-13T10:07:25.000Z
2019-09-29T14:10:11.000Z
Basic/1016.cpp
GodLovesJonny/PAT-Solutions
b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77
[ "MIT" ]
null
null
null
Basic/1016.cpp
GodLovesJonny/PAT-Solutions
b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <queue> #include <string> #include <vector> using namespace std; string A, B; int da, db; int main() { ios::sync_with_stdio(false); cin >> A >> da >> B >> db; int i; long long pa = 0, pb = 0; for (i = 0; i < ...
15.470588
35
0.520913
GodLovesJonny
650d7b851963679806398053395e71b10e6ccd78
14,890
hpp
C++
src/main/cpp/pistis/util/ImmutableList.hpp
tomault/pistis-util
0008e8193e210e582201ae906f6933bf82288355
[ "Apache-2.0" ]
null
null
null
src/main/cpp/pistis/util/ImmutableList.hpp
tomault/pistis-util
0008e8193e210e582201ae906f6933bf82288355
[ "Apache-2.0" ]
null
null
null
src/main/cpp/pistis/util/ImmutableList.hpp
tomault/pistis-util
0008e8193e210e582201ae906f6933bf82288355
[ "Apache-2.0" ]
null
null
null
#ifndef __PISTIS__UTIL_IMMUTABLELIST_HPP__ #define __PISTIS__UTIL_IMMUTABLELIST_HPP__ #include <pistis/exceptions/OutOfRangeError.hpp> #include <pistis/exceptions/IllegalStateError.hpp> #include <pistis/exceptions/IllegalValueError.hpp> #include <pistis/util/MappingIterator.hpp> #include <pistis/util/StlRangeIterator....
32.159827
78
0.638751
tomault
650f9778126eb1a3d0e1aa876a9ad29be2da8b5b
1,962
cpp
C++
Source/GameStates/PauseMenuState.cpp
itsArtem/TicTacToe
8c70a77e4603dd0ff22ec0621b978ec0685ec3cf
[ "MIT" ]
null
null
null
Source/GameStates/PauseMenuState.cpp
itsArtem/TicTacToe
8c70a77e4603dd0ff22ec0621b978ec0685ec3cf
[ "MIT" ]
null
null
null
Source/GameStates/PauseMenuState.cpp
itsArtem/TicTacToe
8c70a77e4603dd0ff22ec0621b978ec0685ec3cf
[ "MIT" ]
null
null
null
#include "PauseMenuState.h" #include "../Game.h" #include "../Graphics/TextureCache.h" #include "GameStateStack.h" #include "MainMenuState.h" #include "../Utilities/Utilities.h" #include <SDL_video.h> #include <SDL_rect.h> #include <SDL_keyboard.h> #include <SDL_scancode.h> #include <gsl/util> #include <gsl/span> #i...
29.727273
136
0.699286
itsArtem
651a642d189bb0ef2c012be48cf562407a092488
1,560
cpp
C++
common_classes/shader_structs/fogParameters.cpp
michalbb1/opengl4-tutorials-mbsoftworks
ddd5ac157173ccbac5baf864afa34ecb372e2f8a
[ "MIT" ]
51
2018-06-01T05:05:20.000Z
2022-03-03T16:10:20.000Z
common_classes/shader_structs/fogParameters.cpp
talkad/animation3D
44213fe19a1d3c25793de29ce63fcea96c5b8f41
[ "Apache-2.0" ]
null
null
null
common_classes/shader_structs/fogParameters.cpp
talkad/animation3D
44213fe19a1d3c25793de29ce63fcea96c5b8f41
[ "Apache-2.0" ]
16
2019-04-03T04:35:29.000Z
2022-02-16T01:27:00.000Z
// Project #include "fogParameters.h" namespace shader_structs { const int FogParameters::FOG_EQUATION_LINEAR = 0; const int FogParameters::FOG_EQUATION_EXP = 1; const int FogParameters::FOG_EQUATION_EXP2 = 2; FogParameters::FogParameters() : isEnabled(false) { } FogParameters::FogParameters(const glm::vec3& co...
31.2
139
0.748718
michalbb1
651b62325f9505cf6f3f053a2387492ea8610a0f
1,007
cpp
C++
CF/1399/d.cpp
eduardo-gomes/cefet-public
559b55194c425b3df83e85c78ed7ede424b9537d
[ "Unlicense" ]
null
null
null
CF/1399/d.cpp
eduardo-gomes/cefet-public
559b55194c425b3df83e85c78ed7ede424b9537d
[ "Unlicense" ]
7
2019-11-12T00:58:09.000Z
2019-11-19T19:34:49.000Z
CF/1399/d.cpp
eduardo-gomes/cefet-public
559b55194c425b3df83e85c78ed7ede424b9537d
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define STR_LIMIT (int)(3 * 1e5) void read(char (&to)[STR_LIMIT], unsigned int n) { char tmp; for(unsigned i = 0; i < n; ++i){ scanf(" %c", &to[i]); } to[n] = 0; } int main(){ int cases, len; scanf("%d", &cases); char str[STR_LIMIT]; std::vector<int> pos0, pos1, ans; for(int i = ...
19.365385
50
0.517378
eduardo-gomes
fb94396a21161198cd52c4ca67d135f445a16a76
995
cpp
C++
SMGE/Objects/CStaticMeshActor.cpp
cuwaki/MonoMax.GLPlayground
c14eb6879ca5d36bdff443ae244d6a58da7613ff
[ "MIT" ]
null
null
null
SMGE/Objects/CStaticMeshActor.cpp
cuwaki/MonoMax.GLPlayground
c14eb6879ca5d36bdff443ae244d6a58da7613ff
[ "MIT" ]
null
null
null
SMGE/Objects/CStaticMeshActor.cpp
cuwaki/MonoMax.GLPlayground
c14eb6879ca5d36bdff443ae244d6a58da7613ff
[ "MIT" ]
null
null
null
#include "CStaticMeshActor.h" #include "../Components/CMeshComponent.h" #include "../Components/CSphereComponent.h" #include "../Components/CMovementComponent.h" namespace SMGE { CStaticMeshActor::CStaticMeshActor(CObject* outer) : Super(outer) { Ctor(); } void CStaticMeshActor::Ctor() { auto meshCompo = std...
27.638889
95
0.708543
cuwaki
fb9cfc6c3b1c04049b8e3e0bb3881601fd6b4fdd
759
hpp
C++
src/internal/utility.hpp
bmknecht/palnatoki
0522d690f034d9f52730f9666731c3376dd33405
[ "MIT" ]
null
null
null
src/internal/utility.hpp
bmknecht/palnatoki
0522d690f034d9f52730f9666731c3376dd33405
[ "MIT" ]
null
null
null
src/internal/utility.hpp
bmknecht/palnatoki
0522d690f034d9f52730f9666731c3376dd33405
[ "MIT" ]
null
null
null
#ifndef PALNATOKI_UTILITY_HPP #define PALNATOKI_UTILITY_HPP /** This file is part of the Palnatoki optimization library. For licensing * information refer to the LICENSE file that is included in the project. * * This file in particular contains utility/various functions and definitions. */ #include <palnatoki/i...
29.192308
79
0.621871
bmknecht
fba19c8934face001ad3f7b4a7959e200928df58
1,644
cpp
C++
code/Data-Structure/merge-split-treap.cpp
zrz1996/ACM-Template
5bd2999480275ad7e1cffc7c1f2c85fa727f0620
[ "MIT" ]
1
2017-05-22T02:51:30.000Z
2017-05-22T02:51:30.000Z
code/Data-Structure/merge-split-treap.cpp
zrz1996/ACM-Template
5bd2999480275ad7e1cffc7c1f2c85fa727f0620
[ "MIT" ]
null
null
null
code/Data-Structure/merge-split-treap.cpp
zrz1996/ACM-Template
5bd2999480275ad7e1cffc7c1f2c85fa727f0620
[ "MIT" ]
null
null
null
struct TNODE { int val,rd,size; TNODE* left,*right,*fa; inline int update() { size = 1; if(left) { size += left->size; left->fa = this; } if(right) { size += right->size; right->fa = this; } fa = NULL; return 0; } }; typedef pair<TNODE*,TNODE*> ptt; TNODE TPool[233333]; TNODE* TPTop = TPool; inline int r...
26.516129
83
0.591241
zrz1996
fbacfeff8c2f023d35fc373fac89e7ac874476f4
2,825
hpp
C++
include/gsbn/Random.hpp
herenvarno/gsbn
47ed0932b605d8b3cf9661f9308908364ad5892e
[ "MIT" ]
2
2016-08-12T15:06:02.000Z
2021-10-05T08:12:17.000Z
include/gsbn/Random.hpp
herenvarno/gsbn
47ed0932b605d8b3cf9661f9308908364ad5892e
[ "MIT" ]
2
2017-04-23T17:22:23.000Z
2017-05-25T14:22:51.000Z
include/gsbn/Random.hpp
herenvarno/gsbn
47ed0932b605d8b3cf9661f9308908364ad5892e
[ "MIT" ]
null
null
null
#ifndef __GSBN_RANDOM_HPP__ #define __GSBN_RANDOM_HPP__ #include <random> #include "gsbn/Common.hpp" namespace gsbn{ /** * \class Random * \brief The class generates random number in both CPU and GPU mode. */ class Random { public: /** * \fn Random() * \brief Constructor */ Random(); /** * \fn ~Rando...
26.904762
84
0.704779
herenvarno
fbb1e85ae63e6c91c5c3ea3fc8bd0c5a859278f1
6,705
cxx
C++
ubcc1pi_standalone/Macros/PrintConfig.cxx
Phidet/ubcc1pi
28023a52c194ddd5ac21bc0b4b91e71132db4591
[ "MIT" ]
null
null
null
ubcc1pi_standalone/Macros/PrintConfig.cxx
Phidet/ubcc1pi
28023a52c194ddd5ac21bc0b4b91e71132db4591
[ "MIT" ]
23
2019-06-27T18:45:10.000Z
2021-04-15T15:14:53.000Z
ubcc1pi_standalone/Macros/PrintConfig.cxx
Phidet/ubcc1pi
28023a52c194ddd5ac21bc0b4b91e71132db4591
[ "MIT" ]
1
2021-06-18T16:23:31.000Z
2021-06-18T16:23:31.000Z
/** * @file ubcc1pi_standalone/Macros/PrintConfig.cxx * * @brief The implementation file of the PrintConfig macro */ #include "ubcc1pi_standalone/Macros/Macros.h" #include "ubcc1pi_standalone/Objects/FileReader.h" #include "ubcc1pi_standalone/Helpers/FormattingHelper.h" using namespace ubcc1pi; namespace ub...
28.776824
99
0.697688
Phidet
fbb39927112289c859e024dae74f8d72e3222799
4,187
hxx
C++
apps/ichat-gw/IPCThread.hxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
apps/ichat-gw/IPCThread.hxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
apps/ichat-gw/IPCThread.hxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#if !defined(IPCThread_hxx) #define IPCThread_hxx #include <queue> #include <vector> #include <string> #include <sstream> #include <errno.h> #ifndef WIN32 # include <sys/socket.h> # include <sys/select.h> # include <netinet/in.h> # include <arpa/inet.h> # include <stdlib.h> #endif #include "Thread.hxx" #defin...
26.66879
114
0.671125
dulton
fbb447e942a78c68df2aa7072c1331e27918a237
325
cpp
C++
src/cli/main.cpp
cgrinker/graphql-cpp-engine
b83e9d5ba31e198a042c891e950a37515024f6c4
[ "MIT" ]
null
null
null
src/cli/main.cpp
cgrinker/graphql-cpp-engine
b83e9d5ba31e198a042c891e950a37515024f6c4
[ "MIT" ]
null
null
null
src/cli/main.cpp
cgrinker/graphql-cpp-engine
b83e9d5ba31e198a042c891e950a37515024f6c4
[ "MIT" ]
null
null
null
#include "engine.h" #include <fstream> #include <sstream> int main(int argc, char** argv) { std::ifstream t(argv[1]); std::stringstream buffer; buffer << t.rdbuf(); auto ast = engine::Engine::parseSchema(buffer.str()); auto engine = engine::Engine::buildSchema(std::move(ast)); return...
16.25
62
0.624615
cgrinker
fbbb0e120c528bf4cde8ecf18b3b36635822f254
7,589
cpp
C++
src/DataStructure/RedBlackTree.cpp
S1xe/Way-to-Algorithm
e666edfb000b3eaef8cc1413f71b035ec4141718
[ "MIT" ]
101
2015-11-19T02:40:01.000Z
2017-12-01T13:43:06.000Z
src/DataStructure/RedBlackTree.cpp
S1xe/Way-to-Algorithm
e666edfb000b3eaef8cc1413f71b035ec4141718
[ "MIT" ]
3
2019-05-31T14:27:56.000Z
2021-07-28T04:24:55.000Z
src/DataStructure/RedBlackTree.cpp
S1xe/Way-to-Algorithm
e666edfb000b3eaef8cc1413f71b035ec4141718
[ "MIT" ]
72
2016-01-28T15:20:01.000Z
2017-12-01T13:43:07.000Z
#include "RedBlackTree.h" #include <algorithm> #include <cassert> #include <iostream> #include <string> #include <utility> #define RED 'R' #define BLACK 'B' static RbNode *Next(RbTree *t, RbNode *e) { RbNode *p = e->right; while (not_nil(t, p->left)) { p = p->left; } return p; } static RbNode *Uncle(RbNo...
21.139276
80
0.523916
S1xe
fbbead50b2ba3626c2ba51c68086acb05e52faf7
424
hpp
C++
src/server.hpp
czjone/node
101df319e244654db8308aa38f1f97ff03363c3a
[ "MIT" ]
2
2019-11-20T02:14:23.000Z
2020-12-10T06:36:08.000Z
src/server.hpp
czjone/node
101df319e244654db8308aa38f1f97ff03363c3a
[ "MIT" ]
null
null
null
src/server.hpp
czjone/node
101df319e244654db8308aa38f1f97ff03363c3a
[ "MIT" ]
null
null
null
#ifndef XSE_SERVER_H #define XSE_SERVER_H 1 #include <string> namespace Xse { class HttpServer{ public: explicit HttpServer(const std::string& address, const std::string& port, const std::string& doc_root); ~HttpServer(); void Start(); private: ...
22.315789
84
0.570755
czjone
fbbf99a1d4e8d23ca309a41212bb8f5dacec8904
482
hpp
C++
toy_compiler/munster/ast/decl/main_decl.hpp
Wmbat/toy_compiler
370a2e76aaaa874de5fb6c25e0755638dd84b8b4
[ "MIT" ]
null
null
null
toy_compiler/munster/ast/decl/main_decl.hpp
Wmbat/toy_compiler
370a2e76aaaa874de5fb6c25e0755638dd84b8b4
[ "MIT" ]
null
null
null
toy_compiler/munster/ast/decl/main_decl.hpp
Wmbat/toy_compiler
370a2e76aaaa874de5fb6c25e0755638dd84b8b4
[ "MIT" ]
null
null
null
#pragma once #include <toy_compiler/munster/ast/decl/decl.hpp> #include <toy_compiler/munster/ast/decl/func_body_decl.hpp> #include <toy_compiler/munster/ast/decl/id_decl.hpp> namespace munster::ast { class main_decl : public decl { public: main_decl(id_decl::ptr id, func_body_decl::ptr func_body); ...
24.1
67
0.719917
Wmbat
fbc76fba43db62f2af8af11d00af2484c3939208
1,926
hpp
C++
snmp_client.hpp
rfrandse/phosphor-snmp
ce714f4080c5ac1c9e0861520e1243ecbbb3b918
[ "Apache-2.0" ]
null
null
null
snmp_client.hpp
rfrandse/phosphor-snmp
ce714f4080c5ac1c9e0861520e1243ecbbb3b918
[ "Apache-2.0" ]
null
null
null
snmp_client.hpp
rfrandse/phosphor-snmp
ce714f4080c5ac1c9e0861520e1243ecbbb3b918
[ "Apache-2.0" ]
null
null
null
#pragma once #include "xyz/openbmc_project/Network/Client/server.hpp" #include "xyz/openbmc_project/Object/Delete/server.hpp" #include <sdbusplus/bus.hpp> #include <sdbusplus/server/object.hpp> #include <string> namespace phosphor { namespace network { namespace snmp { class ConfManager; using Ifaces = sdbusplus:...
27.126761
80
0.658359
rfrandse
fbcd4560eab9e2c5b68fbad1875366fd9f106780
5,176
cpp
C++
AGVC/clsTickMarks.cpp
jluzardo1971/ActiveGanttVC
4748cb4d942551dc64c9017f279c90969cdcc634
[ "MIT" ]
null
null
null
AGVC/clsTickMarks.cpp
jluzardo1971/ActiveGanttVC
4748cb4d942551dc64c9017f279c90969cdcc634
[ "MIT" ]
null
null
null
AGVC/clsTickMarks.cpp
jluzardo1971/ActiveGanttVC
4748cb4d942551dc64c9017f279c90969cdcc634
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------------------- // COPYRIGHT NOTICE // ---------------------------------------------------------------------------------------- // // The Source Code Store LLC // ACTIVEGANTT SCHEDULER COMPONENT FOR C++ - ActiveGan...
32.968153
195
0.724111
jluzardo1971
fbcdc3477464147dbfb89d9b933b96adf95865ed
737
cpp
C++
unix/random-step.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
unix/random-step.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
unix/random-step.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
#include "everything.h" using namespace diy; // float rnd(float high, float low = 0) { return low + (high - low) * float(rand()) / RAND_MAX; } int main(int argc, char* argv[]) { // high and low determine the rate of advance of "phase" float low = 0.1; float high = 1; // argument 3: int that seeds the rando...
23.03125
59
0.580733
kybr
fbd0f87430d1df4571f7f27631a994ae7011516f
6,387
cpp
C++
Plugins/Nano/Source/Nano/Private/NanoWebsocket.cpp
Joohansson/UnrealNanoLiteDesktop
ede8e1dc0804e64fa65e49f439bfe9d71edc9267
[ "BSD-3-Clause-Clear" ]
3
2021-01-12T08:04:38.000Z
2021-06-17T16:18:52.000Z
Plugins/Nano/Source/Nano/Private/NanoWebsocket.cpp
Joohansson/UnrealNanoLiteDesktop
ede8e1dc0804e64fa65e49f439bfe9d71edc9267
[ "BSD-3-Clause-Clear" ]
null
null
null
Plugins/Nano/Source/Nano/Private/NanoWebsocket.cpp
Joohansson/UnrealNanoLiteDesktop
ede8e1dc0804e64fa65e49f439bfe9d71edc9267
[ "BSD-3-Clause-Clear" ]
null
null
null
// Copyright 2020 Wesley Shillingford. All rights reserved. #include "NanoWebsocket.h" #include "Engine/World.h" #include "Json.h" #include "JsonObjectConverter.h" #include "Modules/ModuleManager.h" #include "NanoBlueprintLibrary.h" #include "NanoTypes.h" #include "TimerManager.h" #include "WebSocketsModule.h" #inclu...
30.270142
120
0.706592
Joohansson
fbd18a1531b073342c38ad6a088b4f9482dfeb2f
2,916
hpp
C++
include/ArgsWriter.hpp
WilliamClements/CppPlayer
ac1346768ed12ddfc64b975faef50a50af8b7cb6
[ "Apache-2.0" ]
15
2018-10-08T00:44:45.000Z
2021-04-20T06:56:15.000Z
include/ArgsWriter.hpp
WilliamClements/MacCppPlayer
ac1346768ed12ddfc64b975faef50a50af8b7cb6
[ "Apache-2.0" ]
3
2018-10-16T11:55:26.000Z
2018-10-22T12:42:11.000Z
include/ArgsWriter.hpp
WilliamClements/MacCppPlayer
ac1346768ed12ddfc64b975faef50a50af8b7cb6
[ "Apache-2.0" ]
1
2019-02-26T16:54:11.000Z
2019-02-26T16:54:11.000Z
/* Copyright 2018 William Clements, Autodesk Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writi...
27
72
0.646091
WilliamClements
fbd33f2b85f3d83321d2e6aa7d95fc39f0d4c1f2
799
cpp
C++
src/Lua.cpp
gerronjo/OllyDog
f172fef0e430195faab495a22ae30b8d6b7066f7
[ "MIT" ]
5
2017-10-16T06:11:32.000Z
2018-04-23T15:52:54.000Z
src/Lua.cpp
gerronjo/OllyDog
f172fef0e430195faab495a22ae30b8d6b7066f7
[ "MIT" ]
null
null
null
src/Lua.cpp
gerronjo/OllyDog
f172fef0e430195faab495a22ae30b8d6b7066f7
[ "MIT" ]
2
2017-10-16T06:11:33.000Z
2019-04-02T09:49:26.000Z
#include "Lua.hpp" //////////////////////////////////////////////////////////////////////////////////////// size_t CLua::m_nReffer = 0; // The refference counter. ulong CLua::m_uStatus = 0; // The status of this component. //////////////////////////////////////////////////////////////////////////////////////// CLu...
17.755556
88
0.499374
gerronjo
fbdb14fd47800dcea13aad794d441c6b1d013b2a
155,748
cc
C++
ja2/Build/Strategic/StrategicAI.cc
gtrafimenkov/ja2-vanilla-cp
961076add8175afa845cbd6c33dbf9cd78f61a0c
[ "BSD-Source-Code" ]
null
null
null
ja2/Build/Strategic/StrategicAI.cc
gtrafimenkov/ja2-vanilla-cp
961076add8175afa845cbd6c33dbf9cd78f61a0c
[ "BSD-Source-Code" ]
null
null
null
ja2/Build/Strategic/StrategicAI.cc
gtrafimenkov/ja2-vanilla-cp
961076add8175afa845cbd6c33dbf9cd78f61a0c
[ "BSD-Source-Code" ]
null
null
null
#include "Strategic/StrategicAI.h" #include <stdexcept> #include "GameSettings.h" #include "SGP/Debug.h" #include "SGP/FileMan.h" #include "SGP/Font.h" #include "SGP/MemMan.h" #include "SGP/Random.h" #include "SGP/Types.h" #include "Strategic/CampaignInit.h" #include "Strategic/CampaignTypes.h" #include "Strategic/Ga...
40.761057
100
0.671745
gtrafimenkov
fbdbe71626279631d7420f0b94cca8d68b94213b
305
cpp
C++
src/exception_info.cpp
FirestonnneTFM/tfm_key_parser
ff5c428dae8136d65f0238ae5269228fbe581ad3
[ "MIT" ]
3
2018-09-11T10:33:44.000Z
2019-12-14T20:32:36.000Z
src/exception_info.cpp
FirestonnneTFM/tfm_key_parser
ff5c428dae8136d65f0238ae5269228fbe581ad3
[ "MIT" ]
2
2018-06-24T08:00:58.000Z
2022-02-24T00:21:07.000Z
src/exception_info.cpp
FirestonnneTFM/tfm_key_parser
ff5c428dae8136d65f0238ae5269228fbe581ad3
[ "MIT" ]
null
null
null
#include "exception_info.hpp" #include "abc_file.hpp" void exception_info::load(abc_stream &stream) { stream >> from; stream >> to; stream >> target; uint32_t str_index; stream >> str_index; exc_type = abc_file::get_str(str_index); stream >> str_index; var_name = abc_file::get_str(str_index); }
21.785714
47
0.72459
FirestonnneTFM
fbdc88245c2a4df37f40fcaf834564e2d5b870b6
2,467
cpp
C++
libs/network/example/http_client.cpp
mclow/cpp-netlib
12c62f7402c585b0619412704db7a3e7280b960c
[ "BSL-1.0" ]
1
2019-06-19T13:42:33.000Z
2019-06-19T13:42:33.000Z
libs/network/example/http_client.cpp
mclow/cpp-netlib
12c62f7402c585b0619412704db7a3e7280b960c
[ "BSL-1.0" ]
null
null
null
libs/network/example/http_client.cpp
mclow/cpp-netlib
12c62f7402c585b0619412704db7a3e7280b960c
[ "BSL-1.0" ]
null
null
null
// Copyright Dean Michael Berris 2008. // 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) //[ http_client_main /*` This application takes a URL as a command line argument and prints the re...
29.369048
108
0.620592
mclow
fbdc92f30f71c6a049ffd1877cc1450e4001da98
6,827
cpp
C++
test/partition_tests.cpp
dzufferey/mtidd
ef9863028e636f6626b8f3efacc467da651ce35e
[ "Apache-2.0" ]
1
2017-06-19T16:01:46.000Z
2017-06-19T16:01:46.000Z
test/partition_tests.cpp
dzufferey/mtidd
ef9863028e636f6626b8f3efacc467da651ce35e
[ "Apache-2.0" ]
4
2017-06-19T16:33:20.000Z
2017-07-03T15:02:58.000Z
test/partition_tests.cpp
dzufferey/mtidd
ef9863028e636f6626b8f3efacc467da651ce35e
[ "Apache-2.0" ]
1
2017-07-02T16:19:53.000Z
2017-07-02T16:19:53.000Z
#include "mtidd/mtidd.h" #include <iostream> //tell Catch to provide a main (only once pre cpp) #define CATCH_CONFIG_MAIN #include "catch2/catch.hpp" using namespace std; namespace mtidd { TEST_CASE("insert 0") { int a = 0; int b = 1; int c = 2; int d = 3; int e = 4; partition<int> p = ne...
30.207965
96
0.551633
dzufferey
fbe3fba9895d9fb659010058dc317b699f500405
8,461
cpp
C++
KFPlugin/KFActivity/KFActivityModule.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
1
2021-04-26T09:31:32.000Z
2021-04-26T09:31:32.000Z
KFPlugin/KFActivity/KFActivityModule.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
KFPlugin/KFActivity/KFActivityModule.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
#include "KFActivityModule.hpp" #include "KFProtocol/KFProtocol.h" namespace KFrame { void KFActivityModule::BeforeRun() { _kf_componnet = _kf_kernel->FindComponent( __STRING__( player ) ); _kf_componnet->RegisterUpdateDataModule( this, &KFActivityModule::OnUpdateDataCallBack ); _kf...
36.947598
153
0.553953
282951387
fbe4082a5220798805ccb296352b555a4c5be61d
194
cpp
C++
helpers/PluginHelper.cpp
phisko/kengine
c30f98cc8e79cce6574b5f61088b511f29bbe8eb
[ "MIT" ]
259
2018-11-01T05:12:37.000Z
2022-03-28T11:15:27.000Z
helpers/PluginHelper.cpp
raptoravis/kengine
619151c20e9db86584faf04937bed3d084e3bc21
[ "MIT" ]
2
2018-11-30T13:58:44.000Z
2018-12-17T11:58:42.000Z
helpers/PluginHelper.cpp
raptoravis/kengine
619151c20e9db86584faf04937bed3d084e3bc21
[ "MIT" ]
16
2018-12-01T13:38:18.000Z
2021-12-04T21:31:55.000Z
#include "PluginHelper.hpp" #include "EntityManager.hpp" namespace kengine::PluginHelper { void initPlugin(EntityManager & em) { detail::components = &em._getComponentMap(); } }
24.25
52
0.701031
phisko
fbe5db6427b0b17d5af90e41751b497e9d8f0d2e
1,804
cc
C++
dsm_server/test_server.cc
muchavie/Serverless-DSM
506ffb4a8a56d9b9765d2a34cc823bf5c0882d76
[ "MIT" ]
null
null
null
dsm_server/test_server.cc
muchavie/Serverless-DSM
506ffb4a8a56d9b9765d2a34cc823bf5c0882d76
[ "MIT" ]
null
null
null
dsm_server/test_server.cc
muchavie/Serverless-DSM
506ffb4a8a56d9b9765d2a34cc823bf5c0882d76
[ "MIT" ]
null
null
null
#include "Dsm_msg.h" #include "dsm_server.h" #include <stream.h> #include "../dsm_region.h" int send_init(Dsm_msg& M) { M.set_request(CLIENT_INIT); M.set_page(PAGE_NULL); M.rpc(); return M.get_client_no(); } void send_excep_init(Dsm_msg& M) { M.set_request(EXCEPTION_INIT); M.set_page(PAGE_NULL); M.send();...
17.861386
69
0.661863
muchavie
fbf99f9be1dcdf3b90af9d310b52aa14bdfb58f2
3,037
cpp
C++
test/test.cpp
pavelkryukov/safe_string_view
f1337d7570389967407db206e6d83d092000eb35
[ "MIT" ]
null
null
null
test/test.cpp
pavelkryukov/safe_string_view
f1337d7570389967407db206e6d83d092000eb35
[ "MIT" ]
null
null
null
test/test.cpp
pavelkryukov/safe_string_view
f1337d7570389967407db206e6d83d092000eb35
[ "MIT" ]
null
null
null
/* * Copyright (c) 2022 Pavel I. Kryukov * * 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, pu...
28.12037
81
0.680935
pavelkryukov
fbfe0bfbdbed2806a7c8c21153eba70b9c687a41
452
cpp
C++
tests/src/helpers/TestTemplateEngine.cpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
tests/src/helpers/TestTemplateEngine.cpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
tests/src/helpers/TestTemplateEngine.cpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
/* Copyright (c) 2022 Xavier Leclercq Released under the MIT License See https://github.com/nemu-cpp/web-framework/blob/main/LICENSE.txt */ #include "TestTemplateEngine.hpp" #include "TestTemplateEngineProfile.hpp" std::shared_ptr<Nemu::TemplateEngineProfile> TestTemplateEngine::createProfile( const I...
30.133333
84
0.772124
nemu-cpp
2205b480ee35397dc5b367ddecb4f8ba77db7cce
2,246
cc
C++
vpbuf/examples/uno/rel1/cpp/src/persist.cc
markraley/versioned-polymorphic-buffers
c2f0424f05013cfcaf5a55464846e9bcf26818e2
[ "MIT" ]
null
null
null
vpbuf/examples/uno/rel1/cpp/src/persist.cc
markraley/versioned-polymorphic-buffers
c2f0424f05013cfcaf5a55464846e9bcf26818e2
[ "MIT" ]
null
null
null
vpbuf/examples/uno/rel1/cpp/src/persist.cc
markraley/versioned-polymorphic-buffers
c2f0424f05013cfcaf5a55464846e9bcf26818e2
[ "MIT" ]
null
null
null
// Software released under the MIT license (see project root for license file) using namespace std; vector<string> color_arr = {"Red", "Yellow", "Green", "Blue" }; // ----------------------------------------------------------------------------- class Header { public: Header(int version = -1, stri...
24.413043
81
0.452805
markraley
2208c0005995533cc7debc3dd795885cfa153837
268
cpp
C++
src/geometry/implementation/Square.cpp
Owlinated/Chess
0a4e7d02bca1af6423ed88ed780b8fb0cae1ccb8
[ "MIT" ]
1
2022-01-05T18:37:47.000Z
2022-01-05T18:37:47.000Z
src/geometry/implementation/Square.cpp
flostellbrink/Chess
0a4e7d02bca1af6423ed88ed780b8fb0cae1ccb8
[ "MIT" ]
null
null
null
src/geometry/implementation/Square.cpp
flostellbrink/Chess
0a4e7d02bca1af6423ed88ed780b8fb0cae1ccb8
[ "MIT" ]
null
null
null
#include "Square.h" Square::Square() = default; void Square::Create() { AddPosition(-1, 0, -1); AddPosition(1, 0, -1); AddPosition(-1, 0, 1); AddPosition(1, 0, 1); AddIndex(1); AddIndex(2); AddIndex(3); AddIndex(0); AddIndex(2); AddIndex(1); }
12.761905
25
0.593284
Owlinated
2211935475e248ef9b9532899854f63c8168d0f0
1,294
hpp
C++
android-28/java/util/zip/Inflater.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/util/zip/Inflater.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/util/zip/Inflater.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../../JObject.hpp" class JByteArray; namespace java::nio { class ByteBuffer; } namespace java::util::zip { class Inflater : public JObject { public: // Fields // QJniObject forward template<typename ...Ts> explicit Inflater(const char *className, const char *sig, Ts...agv) : JO...
25.88
149
0.711747
YJBeetle
c30a2dab0f7054354193f23551fdc1b367156663
6,689
cpp
C++
GL_GraphicLab/src/Scene/ParticleScene.cpp
acros/GL_GraphicLab
a2b892d87d0f022c15f092ab45950495dbdb4bd4
[ "MIT" ]
3
2016-11-16T18:04:50.000Z
2018-05-10T11:31:52.000Z
GL_GraphicLab/src/Scene/ParticleScene.cpp
acros/GL_GraphicLab
a2b892d87d0f022c15f092ab45950495dbdb4bd4
[ "MIT" ]
null
null
null
GL_GraphicLab/src/Scene/ParticleScene.cpp
acros/GL_GraphicLab
a2b892d87d0f022c15f092ab45950495dbdb4bd4
[ "MIT" ]
null
null
null
#include "ParticleScene.h" // Particle vertex data static const int NUM_PARTICLES = 1000; static const int PARTICLE_SIZE = 7; float sParticleData[NUM_PARTICLES * PARTICLE_SIZE]; #define ATTRIBUTE_LIFETIME_LOCATION 0 #define ATTRIBUTE_STARTPOSITION_LOCATION 1 #define ATTRIBUTE_ENDPOSITION_LOCATION 2 Part...
32.004785
130
0.583944
acros
c30ff2e0586e7a50b73274dc314286cb514e1222
1,426
cpp
C++
src/backend/opencl/transpose_inplace.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-06-14T23:49:18.000Z
2018-06-14T23:49:18.000Z
src/backend/opencl/transpose_inplace.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2015-07-02T15:53:02.000Z
2015-07-02T15:53:02.000Z
src/backend/opencl/transpose_inplace.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-02-26T17:11:03.000Z
2018-02-26T17:11:03.000Z
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
26.90566
81
0.582048
JuliaComputing
c312351f11ec42b0fcb938c4be8b342ccd7b08f8
247,197
cpp
C++
HiveCore/src/Generator/PrimitiveGenerator.cpp
RIKEN-RCCS/HIVE
3d68ac29265d8cc41caac7c30c8dd470d14c354d
[ "MIT" ]
null
null
null
HiveCore/src/Generator/PrimitiveGenerator.cpp
RIKEN-RCCS/HIVE
3d68ac29265d8cc41caac7c30c8dd470d14c354d
[ "MIT" ]
null
null
null
HiveCore/src/Generator/PrimitiveGenerator.cpp
RIKEN-RCCS/HIVE
3d68ac29265d8cc41caac7c30c8dd470d14c354d
[ "MIT" ]
null
null
null
/** * @file PrimitiveGenerator.cpp * プリミティブジェネレーター */ #include "PrimitiveGenerator.h" #include "BufferLineData.h" #include "BufferMeshData.h" #include "BufferPointData.h" //#include "BufferTetraData.h" #include "BufferVectorData.h" #include "Buffer.h" #include "vxmath.h" #include <string.h> /// コンストラクタ PrimitiveGen...
59.882994
77
0.581609
RIKEN-RCCS
c318baa1f7c38c7d3366b3a3ede761d5f699b4ff
6,970
cpp
C++
projects/engine/src/main.cpp
zCubed3/Silica
c4aa6d8e204b96320ad092e324930b3ef0e26aaa
[ "BSD-3-Clause" ]
null
null
null
projects/engine/src/main.cpp
zCubed3/Silica
c4aa6d8e204b96320ad092e324930b3ef0e26aaa
[ "BSD-3-Clause" ]
null
null
null
projects/engine/src/main.cpp
zCubed3/Silica
c4aa6d8e204b96320ad092e324930b3ef0e26aaa
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <iostream> #include <sstream> #include <fstream> // Opengl #include <GL/glew.h> // Engine #include "assets/mesh.hpp" #include "assets/shader.hpp" #include "assets/texture.hpp" #include "rendering/renderer.hpp" #include "rendering/lighting.hpp" #include "rendering/viewport.hpp" #include "re...
26.603053
143
0.634433
zCubed3
c319961485a7197173b1f71ad5129ce1ea70290b
601
cpp
C++
CK3toEU4/Source/Mappers/HeritageMapper/HeritageMapping.cpp
Rondrio/CK3toEU4
791990d5b664c079d5c27e1de69deb4867e44d6f
[ "MIT" ]
4
2022-02-23T14:34:21.000Z
2022-03-17T09:58:24.000Z
CK3toEU4/Source/Mappers/HeritageMapper/HeritageMapping.cpp
klorpa/CK3toEU4
7e46f29714c03fc5033aa9e23c29222b034ac08a
[ "MIT" ]
15
2022-03-10T15:47:50.000Z
2022-03-25T22:15:25.000Z
CK3toEU4/Source/Mappers/HeritageMapper/HeritageMapping.cpp
klorpa/CK3toEU4
7e46f29714c03fc5033aa9e23c29222b034ac08a
[ "MIT" ]
null
null
null
#include "HeritageMapping.h" #include "CommonRegexes.h" #include "Log.h" #include "ParserHelpers.h" mappers::HeritageMapping::HeritageMapping(std::istream& theStream) { registerKeys(); parseStream(theStream); clearRegisteredKeywords(); } void mappers::HeritageMapping::registerKeys() { registerKeyword("eu4", [this...
26.130435
68
0.758735
Rondrio
c3206ea0bad9256dc15e14bd6aa23fad06c0445c
5,493
cpp
C++
src/block_lower_triangular_toeplitz_matrix.cpp
zap150/besthea
b7a9bb80a936f380af2d2c2e7ee3cc713d3792ca
[ "BSD-3-Clause" ]
null
null
null
src/block_lower_triangular_toeplitz_matrix.cpp
zap150/besthea
b7a9bb80a936f380af2d2c2e7ee3cc713d3792ca
[ "BSD-3-Clause" ]
null
null
null
src/block_lower_triangular_toeplitz_matrix.cpp
zap150/besthea
b7a9bb80a936f380af2d2c2e7ee3cc713d3792ca
[ "BSD-3-Clause" ]
1
2021-09-15T01:59:34.000Z
2021-09-15T01:59:34.000Z
/* Copyright (c) 2020, VSB - Technical University of Ostrava and Graz University of Technology All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyr...
36.62
80
0.710177
zap150
c320f0cd203c697f4e9e1a35240d67371dacb5d4
7,394
cpp
C++
getic/Texlbox.cpp
circinusX1/getic3d
a9c54c977f2f4fef8bc3a5f91f9d8e99684e5eb5
[ "BSD-4-Clause" ]
null
null
null
getic/Texlbox.cpp
circinusX1/getic3d
a9c54c977f2f4fef8bc3a5f91f9d8e99684e5eb5
[ "BSD-4-Clause" ]
1
2020-09-01T15:02:02.000Z
2020-09-01T16:11:07.000Z
getic/Texlbox.cpp
circinusX1/getic3d
a9c54c977f2f4fef8bc3a5f91f9d8e99684e5eb5
[ "BSD-4-Clause" ]
1
2020-09-08T19:14:57.000Z
2020-09-08T19:14:57.000Z
// TexLbox.cpp : implementation file // #include "stdafx.h" #include "z-edmap.h" #include "DlgTextures.h" #include "Texlbox.h" #include "geticgui.h" #include "DlgResBrowser.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif /////////////////////////////...
27.486989
98
0.503246
circinusX1
c322a1112f12a23427d7b2e8f9481cb81396e226
1,603
cpp
C++
ds-algo/sort/src/sort/MergeSort.cpp
hebostary/Notes
32e0537ba6f2cb257cd2a202ba2504a7cf70a7ed
[ "Unlicense" ]
null
null
null
ds-algo/sort/src/sort/MergeSort.cpp
hebostary/Notes
32e0537ba6f2cb257cd2a202ba2504a7cf70a7ed
[ "Unlicense" ]
null
null
null
ds-algo/sort/src/sort/MergeSort.cpp
hebostary/Notes
32e0537ba6f2cb257cd2a202ba2504a7cf70a7ed
[ "Unlicense" ]
null
null
null
#include "Sort.hpp" #include "../common/common.hpp" void mergesort_sep(vector<int> &nums, int left, int right); void merge(vector<int> &nums, int left, int mid, int right); int mergesort(vector<int> &nums) { cout<<"***********[Begin]Merge sort**********"<<endl; printVec(nums); int size = nums.size(); ...
25.854839
78
0.580162
hebostary
c326088b1758e029637b6a67d3cbf5aaeb05ba67
2,832
hpp
C++
cmp-cuda/parser.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
58
2020-08-06T18:53:44.000Z
2021-10-01T07:59:46.000Z
cmp-cuda/parser.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
2
2020-12-04T12:35:02.000Z
2021-03-04T22:49:25.000Z
cmp-cuda/parser.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
13
2020-08-19T13:44:18.000Z
2021-09-08T04:25:34.000Z
//////////////////////////////////////////////////////////////////////////////// /** * @file parser.hpp * @date 2015-07-30 * @author Tiago Lobato Gimenes (tlgimenes@gmail.com) * * @copyright * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public L...
31.466667
80
0.530367
BeauJoh
c329a13565199b809058f02a7a414672d1a33694
1,341
cpp
C++
kqueues.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
1
2021-07-22T04:19:46.000Z
2021-07-22T04:19:46.000Z
kqueues.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
null
null
null
kqueues.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; struct kqueue { int a[1000]; int f[100],r[100],pos[100],size[100]; void enqueue(int,int); void dequeue(int); int front(int); bool empty(int); void partition(int); }; int main() { kqueue q; cout<<"enter no of queue\n"; int k; cin>>k; q.partition(k); while(1 ) { cou...
14.576087
58
0.54437
sushithreddy75