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
ff20e40689b539615beaafb3e3fb632decd491be
898
cpp
C++
alphaC.cpp
getmrinal/Algo-Dump
90cc21ea93be664504aecdf9ab48161e39077ee9
[ "MIT" ]
null
null
null
alphaC.cpp
getmrinal/Algo-Dump
90cc21ea93be664504aecdf9ab48161e39077ee9
[ "MIT" ]
null
null
null
alphaC.cpp
getmrinal/Algo-Dump
90cc21ea93be664504aecdf9ab48161e39077ee9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int num_codes(int*n,int size,int *arr){ if(size ==1 || size ==0){ return 1; } //cout<<size<<endl; if(arr[size]>0){ return arr[size]; } int output = num_codes(n,size-1,arr); if(n[size-2]*10 + n[size-1] <= 26){ output += num_codes(n,si...
16.943396
40
0.547884
getmrinal
ff246a960d13a3c627d16533ce908c638f85dbe0
12,127
cc
C++
test/shared_test/test_ortops.cc
vvchernov/onnxruntime-extensions
cc858e831b719d31e4f34ee9adb391105b4ce26b
[ "MIT" ]
59
2021-04-29T07:39:42.000Z
2022-03-29T21:12:05.000Z
test/shared_test/test_ortops.cc
vvchernov/onnxruntime-extensions
cc858e831b719d31e4f34ee9adb391105b4ce26b
[ "MIT" ]
45
2021-05-12T08:32:58.000Z
2022-03-29T21:11:59.000Z
test/shared_test/test_ortops.cc
vvchernov/onnxruntime-extensions
cc858e831b719d31e4f34ee9adb391105b4ce26b
[ "MIT" ]
18
2021-05-10T10:15:46.000Z
2022-03-22T10:46:36.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "onnxruntime_cxx_api.h" #include <filesystem> #include "gtest/gtest.h" #include "ocos.h" #include "string_utils.h" #include "string_tensor.h" #include "test_kernel.hpp" const char* GetLibraryPath() { #if defined...
37.896875
154
0.689701
vvchernov
ff286ae5c643b2fc539f183e8a5cbdba2944226a
910
cpp
C++
Sources/Internal/UI/Input/UIModalInputComponent.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-11-14T10:18:24.000Z
2020-11-14T10:18:24.000Z
Sources/Internal/UI/Input/UIModalInputComponent.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/UI/Input/UIModalInputComponent.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-09-05T21:16:17.000Z
2020-09-05T21:16:17.000Z
#include "UI/Input/UIModalInputComponent.h" #include "Reflection/ReflectionRegistrator.h" namespace DAVA { DAVA_VIRTUAL_REFLECTION_IMPL(UIModalInputComponent) { ReflectionRegistrator<UIModalInputComponent>::Begin() .ConstructorByPointer() .DestructorByPointer([](UIModalInputComponent* o) { o->Release(); })...
21.162791
92
0.77033
Serviak
ff2ab3197af0caacdea74fef0af537711130f447
2,265
cpp
C++
editor/ext/ui_ext_layout.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
editor/ext/ui_ext_layout.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
editor/ext/ui_ext_layout.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
#include "chokoeditor.hpp" #include "ext/ui_ext.hpp" #include "ui/colors.hpp" #include "res/icons.hpp" CE_BEGIN_ED_NAMESPACE void UI_Ext::Layout::InfoSt::BlockGrp::Clear() { blks.clear(); n = 0; } UI_Ext::Layout::InfoSt::Block& UI_Ext::Layout::InfoSt::BlockGrp::Get(int i, bool expanded) { if (i >= n) { blks.res...
24.354839
152
0.630905
chokomancarr
ff321e73c0135c899222eac4de1666b5ca1a50bb
850
hpp
C++
extentions/material_set/include/nodec_extentions/material_set/brdf_material.hpp
ContentsViewer/nodec
40b414a2f48d2e4718b69e0fa630e3f85e90e083
[ "Apache-2.0" ]
2
2022-01-03T12:01:03.000Z
2022-01-04T18:11:25.000Z
extentions/material_set/include/nodec_extentions/material_set/brdf_material.hpp
ContentsViewer/nodec
40b414a2f48d2e4718b69e0fa630e3f85e90e083
[ "Apache-2.0" ]
null
null
null
extentions/material_set/include/nodec_extentions/material_set/brdf_material.hpp
ContentsViewer/nodec
40b414a2f48d2e4718b69e0fa630e3f85e90e083
[ "Apache-2.0" ]
null
null
null
#ifndef NODEC_EXTENTIONS__MATERIAL_SET__BRDF_MATERIAL_HPP_ #define NODEC_EXTENTIONS__MATERIAL_SET__BRDF_MATERIAL_HPP_ #include <nodec_modules/rendering/interfaces/material.hpp> #include <nodec/vector3.hpp> namespace nodec_extentions { namespace material_set { /** * Properties: * metallic float * roughness...
20.731707
106
0.725882
ContentsViewer
ff35350f048c264c16f5850f78b7863c8be3a73b
661
hpp
C++
include/gpcxx/eval.hpp
Rahul-Nirola/gpcxx
365182b66994f69e8cad6214d4cfa543183d4724
[ "BSL-1.0" ]
21
2015-05-15T08:01:37.000Z
2020-11-12T07:28:54.000Z
include/gpcxx/eval.hpp
Rahul-Nirola/gpcxx
365182b66994f69e8cad6214d4cfa543183d4724
[ "BSL-1.0" ]
2
2015-03-26T23:48:04.000Z
2016-02-29T14:16:37.000Z
include/gpcxx/eval.hpp
Rahul-Nirola/gpcxx
365182b66994f69e8cad6214d4cfa543183d4724
[ "BSL-1.0" ]
9
2015-02-12T21:39:01.000Z
2020-10-01T05:14:08.000Z
/* * gpcxx/eval.hpp * * Author: Karsten Ahnert (karsten.ahnert@gmx.de) * Copyright: Karsten Ahnert * * 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) */ #ifndef GPCXX_EVAL_HPP_DEFINED #define GPCXX_EVAL_HPP...
25.423077
61
0.773071
Rahul-Nirola
ff390ef1c3a3f94525358cee14fed34bc40bb904
260
cpp
C++
Chapter-3/UVA272.cpp
panyaoyu/aoapc-bac2nd-exercises
1c1beef74c230cc097eaf7eb2120f78e4fba8f45
[ "MIT" ]
null
null
null
Chapter-3/UVA272.cpp
panyaoyu/aoapc-bac2nd-exercises
1c1beef74c230cc097eaf7eb2120f78e4fba8f45
[ "MIT" ]
null
null
null
Chapter-3/UVA272.cpp
panyaoyu/aoapc-bac2nd-exercises
1c1beef74c230cc097eaf7eb2120f78e4fba8f45
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ int flag = 1; char c; while((c = getchar())!=EOF){ if(c=='"'){ if(flag){ cout<<"``"; flag = !flag; } else{ cout<<"''"; flag = !flag; } } else cout<<c; } return 0; }
11.818182
29
0.465385
panyaoyu
ff3a2a1a9638ad673a05840d711d18b495dc94cc
2,533
cpp
C++
src/xorshift.cpp
errata-c/ez-hash
961feb929a36636fc0f3be5bec6b348e512a8f75
[ "MIT" ]
null
null
null
src/xorshift.cpp
errata-c/ez-hash
961feb929a36636fc0f3be5bec6b348e512a8f75
[ "MIT" ]
null
null
null
src/xorshift.cpp
errata-c/ez-hash
961feb929a36636fc0f3be5bec6b348e512a8f75
[ "MIT" ]
null
null
null
#include <ez/hash/xorshift.hpp> namespace ez::hash { XorShift32::XorShift32(uint32_t s) noexcept { state.words = {s}; } uint32_t XorShift32::operator()() noexcept { return advance(); } uint32_t XorShift32::advance() noexcept { state.value() = eval(); return state.value(); } uint32_t XorShift32::eval...
19.484615
88
0.566917
errata-c
ff3ce013c344893a409e2ab885267890dc1f2c9c
18,861
cpp
C++
preprocessing/maskfusion-master-2/Core/Utils/RGBDOdometry.cpp
Wayne-Mai/DynSLAM
7b62e13d2a33ff58ca888a346433a4891a228a20
[ "BSD-3-Clause" ]
null
null
null
preprocessing/maskfusion-master-2/Core/Utils/RGBDOdometry.cpp
Wayne-Mai/DynSLAM
7b62e13d2a33ff58ca888a346433a4891a228a20
[ "BSD-3-Clause" ]
null
null
null
preprocessing/maskfusion-master-2/Core/Utils/RGBDOdometry.cpp
Wayne-Mai/DynSLAM
7b62e13d2a33ff58ca888a346433a4891a228a20
[ "BSD-3-Clause" ]
null
null
null
/* * This file is part of ElasticFusion. * * Copyright (C) 2015 Imperial College London * * The use of the code within this file and all code within files that * make up the software that is ElasticFusion is permitted for * non-commercial purposes only. The full terms and conditions that * apply to the code wi...
37.722
147
0.576587
Wayne-Mai
ff414fa500f4bcfb361516c32f7f911ba4a3e5ec
1,161
cpp
C++
oclint-rules/test/basic/JumbledIncrementerRuleTest.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
3,128
2015-01-01T06:00:31.000Z
2022-03-29T23:43:20.000Z
oclint-rules/test/basic/JumbledIncrementerRuleTest.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
432
2015-01-03T15:43:08.000Z
2022-03-29T02:32:48.000Z
oclint-rules/test/basic/JumbledIncrementerRuleTest.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
454
2015-01-06T03:11:12.000Z
2022-03-22T05:49:38.000Z
#include "TestRuleOnCode.h" #include "rules/basic/JumbledIncrementerRule.cpp" TEST(JumbledIncrementerRuleTest, PropertyTest) { JumbledIncrementerRule rule; EXPECT_EQ(2, rule.priority()); EXPECT_EQ("jumbled incrementer", rule.name()); EXPECT_EQ("basic", rule.category()); } TEST(JumbledIncrementerRuleT...
34.147059
141
0.648579
BGU-AiDnD
ff49dbdecf7f37dc909c65d4c78ddde0fc74972d
2,779
hh
C++
include/ignition/math/RollingMean.hh
ammaar8/ign-math
ad0118e689ba531c93df9c332e0c78a5dcd84e6e
[ "ECL-2.0", "Apache-2.0" ]
43
2019-08-21T20:50:05.000Z
2022-03-27T11:48:25.000Z
include/ignition/math/RollingMean.hh
ammaar8/ign-math
ad0118e689ba531c93df9c332e0c78a5dcd84e6e
[ "ECL-2.0", "Apache-2.0" ]
277
2020-04-16T23:38:50.000Z
2022-03-31T11:11:58.000Z
include/ignition/math/RollingMean.hh
ammaar8/ign-math
ad0118e689ba531c93df9c332e0c78a5dcd84e6e
[ "ECL-2.0", "Apache-2.0" ]
48
2020-04-15T21:15:43.000Z
2022-03-14T19:29:04.000Z
/* * Copyright (C) 2019 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
30.538462
75
0.680101
ammaar8
ff51b5f31d42bc1a4b5e06b2c8364fdfc5d89d94
5,857
cc
C++
voxblox/test/test_tsdf_interpolator.cc
SJamieson/voxblox
90a2d4f347d65ef2aa5c3986e67c382e712cdd70
[ "BSD-3-Clause" ]
827
2017-04-22T17:25:03.000Z
2022-03-31T19:03:58.000Z
voxblox/test/test_tsdf_interpolator.cc
SJamieson/voxblox
90a2d4f347d65ef2aa5c3986e67c382e712cdd70
[ "BSD-3-Clause" ]
243
2017-04-21T19:49:37.000Z
2022-03-22T14:03:05.000Z
voxblox/test/test_tsdf_interpolator.cc
SJamieson/voxblox
90a2d4f347d65ef2aa5c3986e67c382e712cdd70
[ "BSD-3-Clause" ]
288
2017-04-26T10:41:20.000Z
2022-03-27T11:31:47.000Z
#include <eigen-checks/entrypoint.h> #include <eigen-checks/gtest.h> #include <gtest/gtest.h> //#include "voxblox/core/tsdf_map.h" #include "voxblox/core/common.h" #include "voxblox/core/layer.h" #include "voxblox/core/voxel.h" #include "voxblox/interpolator/interpolator.h" using namespace voxblox; // NOLINT class ...
33.090395
73
0.672699
SJamieson
ff556cd5d36db0acb6cf8ec249a4e0d6b43712e1
1,115
hpp
C++
src/OpenJpegDotNet.Native/openjpeg/openjp2/openjpeg.constant.hpp
cinderblocks/OpenJpegDotNet
46c8d7786d1029dec9aa5d039860167d399454d4
[ "MIT" ]
2
2021-07-25T04:20:51.000Z
2021-09-27T01:18:35.000Z
src/OpenJpegDotNet.Native/openjpeg/openjp2/openjpeg.constant.hpp
huangjia2107/OpenJpegDotNet
7aba1ec3c33b98bf763c90a5fdfb569e115c26ac
[ "MIT" ]
8
2021-03-21T13:25:22.000Z
2022-01-02T12:41:32.000Z
src/OpenJpegDotNet.Native/openjpeg/openjp2/openjpeg.constant.hpp
huangjia2107/OpenJpegDotNet
7aba1ec3c33b98bf763c90a5fdfb569e115c26ac
[ "MIT" ]
3
2021-06-27T20:19:30.000Z
2021-07-06T10:52:32.000Z
#ifndef _CPP_OPENJPEG_OPENJP2_OPENJPEG_CONSTANT_H_ #define _CPP_OPENJPEG_OPENJP2_OPENJPEG_CONSTANT_H_ #include "../export.hpp" #include "../shared.hpp" #pragma region non-openjp2 functions DLLEXPORT const uint32_t openjpeg_openjp2_opj_get_JPWL_MAX_NO_TILESPECS() { return JPWL_MAX_NO_TILESPECS; } DL...
24.23913
77
0.806278
cinderblocks
ff59fde5ad3a3880efc1e0000b96c065a58b29e2
17,711
hpp
C++
disc-fe/src/Panzer_AssemblyEngine_impl.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
disc-fe/src/Panzer_AssemblyEngine_impl.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
disc-fe/src/Panzer_AssemblyEngine_impl.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04...
42.26969
140
0.640449
hillyuan
ff5ae0cd576d19a4f69fb365461d3d2b491ff630
3,871
cpp
C++
MetroGame/MetroGame/GameEndScene.cpp
Kevintjeb/OpenCV-MetroGame
e3a88108576853c2f9f5a5901074b2d4a547cd39
[ "MIT" ]
null
null
null
MetroGame/MetroGame/GameEndScene.cpp
Kevintjeb/OpenCV-MetroGame
e3a88108576853c2f9f5a5901074b2d4a547cd39
[ "MIT" ]
null
null
null
MetroGame/MetroGame/GameEndScene.cpp
Kevintjeb/OpenCV-MetroGame
e3a88108576853c2f9f5a5901074b2d4a547cd39
[ "MIT" ]
null
null
null
#include <iostream> #include "SceneManager.h" #include "GameScene3D.h" #include "PauseScene.h" #include "GameEndScene.h" Font* GameEndScene::largeFont2D = nullptr; Font* GameEndScene::smallFont3D = nullptr; void GameEndScene::drawStrings() { } GameEndScene::GameEndScene() { SceneManager::getInstance().switchWindow...
21.994318
122
0.702919
Kevintjeb
ff5d81cf9abdfe6ac1c8251cb16ffbb48a2d6668
3,697
cc
C++
modules/canbus/vehicle/tayron/protocol/gas_report_323.cc
qwetqwe/simulation
1d6a87b7595db1d32c656ae783aa365de551c5bc
[ "Apache-2.0" ]
2
2020-06-04T01:11:43.000Z
2020-06-04T05:32:15.000Z
modules/canbus/vehicle/tayron/protocol/gas_report_323.cc
LishaUnfoolish/simulation
1d6a87b7595db1d32c656ae783aa365de551c5bc
[ "Apache-2.0" ]
7
2021-03-10T18:14:25.000Z
2022-02-27T04:46:46.000Z
modules/canbus/vehicle/tayron/protocol/gas_report_323.cc
LishaUnfoolish/simulation
1d6a87b7595db1d32c656ae783aa365de551c5bc
[ "Apache-2.0" ]
2
2020-08-05T12:52:42.000Z
2021-10-19T13:07:49.000Z
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
48.644737
354
0.683527
qwetqwe
ff6909dd1b881be56b38ac73b7a0cc00fd7657b5
298
hpp
C++
calculator/include/calculator.hpp
danyloyurov/DanyloYurov-ft-cpp-dev-test
f22b4202c55b80f89a696f1790181bdcf07b8641
[ "Apache-2.0" ]
null
null
null
calculator/include/calculator.hpp
danyloyurov/DanyloYurov-ft-cpp-dev-test
f22b4202c55b80f89a696f1790181bdcf07b8641
[ "Apache-2.0" ]
null
null
null
calculator/include/calculator.hpp
danyloyurov/DanyloYurov-ft-cpp-dev-test
f22b4202c55b80f89a696f1790181bdcf07b8641
[ "Apache-2.0" ]
null
null
null
#ifndef CALCULATOR_HPP_ #define CALCULATOR_HPP_ #include "bookkeeper.hpp" #include "parser.hpp" class Calculator { public: void StartCalculation(const std::string incoming_expression); private: Bookkeeper bookkeeper_; Parser parser_; }; #endif // CALCULATOR_HPP_
18.625
69
0.714765
danyloyurov
ff6b514ea7f1a5ff66d7907bb226aeacb74306fa
245
hpp
C++
use_weakly_all.hpp
alf-p-steinbach/Expressive-Cpp
2d3fb7653a4eccf85cf3077b165f91999ad5f1dc
[ "Unlicense" ]
8
2017-03-31T12:27:10.000Z
2019-09-04T20:18:34.000Z
use_weakly_all.hpp
alf-p-steinbach/Expressive-Cpp
2d3fb7653a4eccf85cf3077b165f91999ad5f1dc
[ "Unlicense" ]
null
null
null
use_weakly_all.hpp
alf-p-steinbach/Expressive-Cpp
2d3fb7653a4eccf85cf3077b165f91999ad5f1dc
[ "Unlicense" ]
null
null
null
#pragma once // Source encoding: utf-8 ∩ // #include <p/expressive/use_weakly_all.hpp> // Copyright © 2017 Alf P. Steinbach, distributed under Boost license 1.0. #include <p/expressive/all.hpp> $use_weakly_all_from( progrock::expressive );
35
74
0.734694
alf-p-steinbach
ff6dc98bcebcba444f196c32f4466703f5b7c356
34,005
cpp
C++
libraries/Temboo/src/TembooCoAPEdgeDevice.cpp
rlnaveenrm/arduino
0173ad56264b3497862d11d309c46a2cb8dafc23
[ "Unlicense" ]
18
2017-12-20T10:33:44.000Z
2021-09-14T18:20:15.000Z
libraries/Temboo/src/TembooCoAPEdgeDevice.cpp
rlnaveenrm/arduino
0173ad56264b3497862d11d309c46a2cb8dafc23
[ "Unlicense" ]
22
2018-09-26T09:44:26.000Z
2021-09-02T04:10:10.000Z
libraries/Temboo/src/TembooCoAPEdgeDevice.cpp
rlnaveenrm/arduino
0173ad56264b3497862d11d309c46a2cb8dafc23
[ "Unlicense" ]
11
2017-12-25T20:31:59.000Z
2021-02-03T11:13:55.000Z
/* ############################################################################### # # Temboo CoAP Edge Device library # # Copyright (C) 2017, Temboo 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 co...
36.330128
185
0.515954
rlnaveenrm
ff6dfb3a114d1682c30d325e5bc679c1104fcf7a
355
cpp
C++
src/star-tape/tape_file_proxy.cpp
5cript/star-tape
fc3c690bb63e592cb2b33e092685d22082cc5503
[ "MIT" ]
null
null
null
src/star-tape/tape_file_proxy.cpp
5cript/star-tape
fc3c690bb63e592cb2b33e092685d22082cc5503
[ "MIT" ]
null
null
null
src/star-tape/tape_file_proxy.cpp
5cript/star-tape
fc3c690bb63e592cb2b33e092685d22082cc5503
[ "MIT" ]
null
null
null
#include <star-tape/tape_file_proxy.hpp> #include <star-tape/tape_operation.hpp> namespace StarTape { //##################################################################################################################### //#######################################################################################...
35.5
120
0.230986
5cript
ff6fbe1fa4246d1c92bb0b77cb356a6f77b005ba
33,991
cpp
C++
src/base/executive/Publisher.cpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
1
2020-05-16T16:58:21.000Z
2020-05-16T16:58:21.000Z
src/base/executive/Publisher.cpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
null
null
null
src/base/executive/Publisher.cpp
ddj116/gmat
39673be967d856f14616462fb6473b27b21b149f
[ "NASA-1.3" ]
null
null
null
//$Id: Publisher.cpp 9876 2011-09-16 20:58:50Z lindajun $ //------------------------------------------------------------------------------ // Publisher //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2...
31.886492
96
0.536995
ddj116
ff71d9eec02aa4c08665b4bc35e3c7038209a3e2
14,448
hpp
C++
cslibs_ndt/include/cslibs_ndt/map/impl/weighted_occupancy_gridmap.hpp
doge-of-the-day/cslibs_ndt
f326d05d5bde9750ad595790849eb2ac9a747123
[ "BSD-3-Clause" ]
null
null
null
cslibs_ndt/include/cslibs_ndt/map/impl/weighted_occupancy_gridmap.hpp
doge-of-the-day/cslibs_ndt
f326d05d5bde9750ad595790849eb2ac9a747123
[ "BSD-3-Clause" ]
null
null
null
cslibs_ndt/include/cslibs_ndt/map/impl/weighted_occupancy_gridmap.hpp
doge-of-the-day/cslibs_ndt
f326d05d5bde9750ad595790849eb2ac9a747123
[ "BSD-3-Clause" ]
null
null
null
#ifndef CSLIBS_NDT_MAP_WEIGHTED_OCCUPANCY_GRIDMAP_HPP #define CSLIBS_NDT_MAP_WEIGHTED_OCCUPANCY_GRIDMAP_HPP #include <cslibs_ndt/map/generic_map.hpp> #include <cslibs_ndt/common/weighted_occupancy_distribution.hpp> namespace cslibs_ndt { namespace map { template <tags::option option_t, std::size_t Dim, ...
39.911602
134
0.567137
doge-of-the-day
ff79908c3c770e14e3a7cfc700e65e612faa1750
608
hpp
C++
apps/scheduler/client/assfire/scheduler/RemoteSchedulerGrpcConnector.hpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
apps/scheduler/client/assfire/scheduler/RemoteSchedulerGrpcConnector.hpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
apps/scheduler/client/assfire/scheduler/RemoteSchedulerGrpcConnector.hpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
#pragma once #include <grpcpp/channel.h> #include "assfire/api/v1/scheduler/service.grpc.pb.h" #include "SchedulerGrpcConnector.hpp" namespace assfire::scheduler { class RemoteSchedulerGrpcConnector : public SchedulerGrpcConnector { public: RemoteSchedulerGrpcConnector(const std::string &host, int...
30.4
102
0.741776
Eaglegor
ff9026c4a3f113ccbf3d1b8799c7818de1482124
1,014
cpp
C++
Hospital Employee Management System/Stack.cpp
desmondweh29/Hospital-Employee-Management-System
35ac1a7754d6bb05bc0e03391d47372823a8d883
[ "MIT" ]
null
null
null
Hospital Employee Management System/Stack.cpp
desmondweh29/Hospital-Employee-Management-System
35ac1a7754d6bb05bc0e03391d47372823a8d883
[ "MIT" ]
null
null
null
Hospital Employee Management System/Stack.cpp
desmondweh29/Hospital-Employee-Management-System
35ac1a7754d6bb05bc0e03391d47372823a8d883
[ "MIT" ]
null
null
null
#include "Stack.h" // header file Stack::Stack() { topPtr = nullptr; } Stack::Stack(const Stack& S) { topPtr = S.topPtr; } Stack::~Stack() { while (!isEmpty()) pop(); } // end destructor bool Stack::isEmpty() const { return bool(topPtr == nullptr); } void Stack::...
17.482759
47
0.534517
desmondweh29
ff9435b94531c33742450dac345ecd9dccbb376f
3,774
cpp
C++
matslise/matscs/matscs.cpp
twist-numerical/matslise
ccce2bd3359963cfdd4b9686cb7b263754e77e7e
[ "MIT" ]
4
2020-08-27T10:10:08.000Z
2020-09-03T14:06:16.000Z
matslise/matscs/matscs.cpp
twist-numerical/matslise
ccce2bd3359963cfdd4b9686cb7b263754e77e7e
[ "MIT" ]
7
2019-12-16T09:37:59.000Z
2020-12-01T15:03:00.000Z
matslise/matscs/matscs.cpp
twist-numerical/matslise
ccce2bd3359963cfdd4b9686cb7b263754e77e7e
[ "MIT" ]
1
2020-08-27T14:02:25.000Z
2020-08-27T14:02:25.000Z
#include <functional> #include "../matscs.h" #include "../util/find_sector.h" #define EPS (1.e-12) using namespace std; using namespace matslise; using namespace Eigen; template<typename Scalar> template<int r> Y<Scalar, Dynamic, r> Matscs<Scalar>::propagateColumn(const Scalar &E, const Y<Scalar, Dynamic, r> &_y, ...
31.714286
112
0.615262
twist-numerical
ff956c5819626b6358cb800aa45b7cf8063c1567
25,891
cpp
C++
Libraries/Editor/TilePaletteView.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Libraries/Editor/TilePaletteView.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Editor/TilePaletteView.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #include "Precompiled.hpp" namespace Zero { static const String DefaultTileArchetype = "DefaultTile"; static const String DefaultTileSpriteSource = "SquareBordered"; static const String DefaultTilePhysicsMesh = "Box"; // Sprite ZilchDefineType(TilePaletteSprite, builder, type) { } ...
26.913721
119
0.720868
RyanTylerRae
910bf0c9e4d4013e769ab00c22f1d4eced78d92c
4,564
cpp
C++
01_glcubes/source/cube.cpp
DamianReloaded/ModernOpenGL
c7fe024e4d13c7bd06c0704fa66124ddf7ea75fa
[ "MIT" ]
null
null
null
01_glcubes/source/cube.cpp
DamianReloaded/ModernOpenGL
c7fe024e4d13c7bd06c0704fa66124ddf7ea75fa
[ "MIT" ]
null
null
null
01_glcubes/source/cube.cpp
DamianReloaded/ModernOpenGL
c7fe024e4d13c7bd06c0704fa66124ddf7ea75fa
[ "MIT" ]
null
null
null
#include "cube.h" #include <GL/glew.h> using namespace reload; cube::cube() { m_scale_matrix = glm::scale(glm::vec3(1.0f,1.0f,1.0f)); m_vertices = { -1.0f,-1.0f,-1.0f, -1.0f,-1.0f, 1.0f, -1.0f, 1.0f, 1.0f, 1.0f, 1.0f,-1.0f, -1.0f,-1.0f,-1.0f, -1.0f, 1.0f,-1.0f, ...
39.008547
99
0.462752
DamianReloaded
911019c4ab2103e2730e4684ea906af04c1bb768
49,014
cpp
C++
PhysxTests/ThirdParty/im3d/app/im3d_example.cpp
dragonsn/PhysxTests
6a6aca2c6847b4cefbf1c9f7a38f4cb85fe7b898
[ "MIT" ]
null
null
null
PhysxTests/ThirdParty/im3d/app/im3d_example.cpp
dragonsn/PhysxTests
6a6aca2c6847b4cefbf1c9f7a38f4cb85fe7b898
[ "MIT" ]
null
null
null
PhysxTests/ThirdParty/im3d/app/im3d_example.cpp
dragonsn/PhysxTests
6a6aca2c6847b4cefbf1c9f7a38f4cb85fe7b898
[ "MIT" ]
null
null
null
#include "im3d_example.h" #include "teapot.h" #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> using namespace Im3d; #ifdef IM3D_COMPILER_MSVC #pragma warning(disable: 4996) // vsnprintf #pragma warning(disable: 4311) // typecast #pragma warning(disable: 4302) // " #pragma warning(di...
33.594243
167
0.687946
dragonsn
9113541856b427653daddd666062e47fdaedff36
57,357
cc
C++
src/d3d11/d3d11_context.cc
alt4/northstar-dedicated
5714a2759e10dfb1007483779b17ba81ae9c2c9f
[ "Zlib" ]
3
2022-01-12T11:46:50.000Z
2022-01-12T14:15:36.000Z
src/d3d11/d3d11_context.cc
GeckoEidechse/northstar-dedicated
be1862ec42bf4cbac16deb790a0999d55c302fd0
[ "Zlib" ]
null
null
null
src/d3d11/d3d11_context.cc
GeckoEidechse/northstar-dedicated
be1862ec42bf4cbac16deb790a0999d55c302fd0
[ "Zlib" ]
1
2022-01-15T11:42:32.000Z
2022-01-15T11:42:32.000Z
#include "d3d11_context.h" #include "d3d11_device.h" #include "d3d11_query.h" #include "d3d11_texture.h" namespace dxvk { D3D11DeviceContext::D3D11DeviceContext(D3D11Device* pParent) : D3D11DeviceChild<ID3D11DeviceContext4>(pParent), m_annotation(this) { } D3D11DeviceContext::~D3D11DeviceContext() { }...
34.407319
115
0.561448
alt4
911579456eb80c380b8bf1899b2d441b5fc30c7e
323
cpp
C++
02. Flow Control, Functions & Loops/28_Next_Prime_Number.cpp
pratikdange999/GeeksForGeeks-cpp
ba0e85b5c45cadcc37cd157a4e84d5a8d2a23b62
[ "MIT" ]
null
null
null
02. Flow Control, Functions & Loops/28_Next_Prime_Number.cpp
pratikdange999/GeeksForGeeks-cpp
ba0e85b5c45cadcc37cd157a4e84d5a8d2a23b62
[ "MIT" ]
null
null
null
02. Flow Control, Functions & Loops/28_Next_Prime_Number.cpp
pratikdange999/GeeksForGeeks-cpp
ba0e85b5c45cadcc37cd157a4e84d5a8d2a23b62
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int nextPrime(int n) { n++; while(true) { int i; for(i=2;i<n;i++) { if(n%i==0) break; } if(i==n) return n; n++; } } int main() { int x; cin>>x; cout<<nextPrime(x); return 0...
13.458333
26
0.396285
pratikdange999
9116b0c33f23c1de6fd6e3645c85e7ce637bf882
163
hpp
C++
source/FlukyEngine.hpp
LukasGL/FlukyEngine
4b257db8facf4fee7ff02c057388c1bfab5f18c8
[ "MIT" ]
null
null
null
source/FlukyEngine.hpp
LukasGL/FlukyEngine
4b257db8facf4fee7ff02c057388c1bfab5f18c8
[ "MIT" ]
null
null
null
source/FlukyEngine.hpp
LukasGL/FlukyEngine
4b257db8facf4fee7ff02c057388c1bfab5f18c8
[ "MIT" ]
1
2022-02-28T03:46:46.000Z
2022-02-28T03:46:46.000Z
#pragma once #ifndef FLUKYENGINE_HPP #define FLUKYENGINE_HPP #include "Engine.hpp" #include "Application.hpp" #include "World/World.hpp" #include <memory> #endif
16.3
26
0.779141
LukasGL
9117cc9f9f19644e5f0ad6a368bc66dc6ec73fa1
2,991
cpp
C++
example/main.cpp
pqrs-org/cpp-osx-iokit_hid_event_system_client
92d3d111ec642d7ae47f7b983033f2ec8bb35d6a
[ "BSL-1.0" ]
null
null
null
example/main.cpp
pqrs-org/cpp-osx-iokit_hid_event_system_client
92d3d111ec642d7ae47f7b983033f2ec8bb35d6a
[ "BSL-1.0" ]
null
null
null
example/main.cpp
pqrs-org/cpp-osx-iokit_hid_event_system_client
92d3d111ec642d7ae47f7b983033f2ec8bb35d6a
[ "BSL-1.0" ]
null
null
null
#include <csignal> #include <pqrs/osx/iokit_hid_event_system_client.hpp> #include <pqrs/osx/iokit_service_monitor.hpp> namespace { auto global_wait = pqrs::make_thread_wait(); } int main(void) { std::signal(SIGINT, [](int) { global_wait->notify(); }); std::cout << "Type control-c to quit." << std::endl; ...
33.606742
117
0.628887
pqrs-org
911d84311cd179d1853855b2a6c60c43ba36a1e4
10,063
cpp
C++
engine/graphics/Graphics.cpp
tsukoyumi/ouzel
43f4f4871d49a310529366a4a4db061a96097164
[ "Unlicense" ]
null
null
null
engine/graphics/Graphics.cpp
tsukoyumi/ouzel
43f4f4871d49a310529366a4a4db061a96097164
[ "Unlicense" ]
null
null
null
engine/graphics/Graphics.cpp
tsukoyumi/ouzel
43f4f4871d49a310529366a4a4db061a96097164
[ "Unlicense" ]
null
null
null
// Ouzel by Elviss Strazdins #ifdef __APPLE__ # include <TargetConditionals.h> #endif #include <stdexcept> #include "../core/Setup.h" #include "Graphics.hpp" #include "Commands.hpp" #include "RenderDevice.hpp" #include "../events/EventHandler.hpp" #include "../events/EventDispatcher.hpp" #include "../core/Engine.hpp"...
37.132841
108
0.56186
tsukoyumi
9124a8aa8d125e855831cb7ceda568beac5569e3
4,326
hpp
C++
include/argot/gen/concept_body/detail/parse_associated_requirements.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
49
2018-05-09T23:17:45.000Z
2021-07-21T10:05:19.000Z
include/argot/gen/concept_body/detail/parse_associated_requirements.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
null
null
null
include/argot/gen/concept_body/detail/parse_associated_requirements.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
2
2019-08-04T03:51:36.000Z
2020-12-28T06:53:29.000Z
/*============================================================================== Copyright (c) 2017, 2018 Matt Calabrese 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) =============================================...
60.929577
80
0.426722
mattcalabrese
9126513903f153c8fd63be39ca2d3b3f8cbc97ad
599
hpp
C++
include/VisualisationVisitor.hpp
sewpalu/ProGramm
221e68399059113fdd787b3f78c70f3787eef0ab
[ "MIT" ]
null
null
null
include/VisualisationVisitor.hpp
sewpalu/ProGramm
221e68399059113fdd787b3f78c70f3787eef0ab
[ "MIT" ]
7
2021-07-10T06:20:00.000Z
2021-07-10T17:23:44.000Z
include/VisualisationVisitor.hpp
sewpalu/ProGramm
221e68399059113fdd787b3f78c70f3787eef0ab
[ "MIT" ]
null
null
null
#ifndef VISUALISATION_VISITOR_H #define VISUALISATION_VISITOR_H class CYKVisualiser; class STVisualiser; class STreesVisualiser; /** * Base class for visualisation visitors. * * These convert Visualiser objects to their respective output format. */ class VisualisationVisitor { public: virtual ~VisualisationVisi...
24.958333
77
0.794658
sewpalu
91284246dc120545879e16ece6c282303577af5f
18,810
cpp
C++
template/ONEGameHostingPlugin/Source/ONEGameHostingPlugin/Private/one/server/one_server_wrapper.cpp
i3D-net/ONE-GameHosting-SDK-Unreal
731dbab46b6ce6649e39c498085f421ed163df4f
[ "BSD-3-Clause" ]
null
null
null
template/ONEGameHostingPlugin/Source/ONEGameHostingPlugin/Private/one/server/one_server_wrapper.cpp
i3D-net/ONE-GameHosting-SDK-Unreal
731dbab46b6ce6649e39c498085f421ed163df4f
[ "BSD-3-Clause" ]
1
2022-02-03T17:19:24.000Z
2022-02-08T23:08:10.000Z
template/ONEGameHostingPlugin/Source/ONEGameHostingPlugin/Private/one/server/one_server_wrapper.cpp
i3D-net/ONE-GameHosting-SDK-Unreal
731dbab46b6ce6649e39c498085f421ed163df4f
[ "BSD-3-Clause" ]
null
null
null
// Copyright i3D.net, 2021. All Rights Reserved. #include <one/server/one_server_wrapper.h> #include <one/arcus/c_api.h> #include <one/arcus/c_error.h> #include <one/server/one_parsing.h> #include <assert.h> #include <cstring> #include <cstdlib> #include <CoreMinimal.h> namespace one_integration { namespace { // ...
33.953069
121
0.66454
i3D-net
912c52c0c361fa6c782e55c406b5408276c0f568
1,918
cpp
C++
src/plugins/playback/sid/libsidplayfp/src/sidtune/prg.cpp
emoon/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
67
2018-01-17T17:18:37.000Z
2020-08-24T23:45:56.000Z
src/plugins/sid/libsidplayfp/src/sidtune/prg.cpp
frranck/HippoPlayer
ede5c13db160b215018ca24216131414e06d5f1f
[ "Apache-2.0", "MIT" ]
132
2018-01-17T17:43:25.000Z
2020-09-01T07:41:17.000Z
musicplayer/plugins/sidplugin/libsidplayfp/src/sidtune/prg.cpp
Osmose/moseamp
8357daf2c93bc903c8041cc82bf3567e8d085a60
[ "MIT" ]
5
2021-02-12T15:23:31.000Z
2022-01-09T15:16:21.000Z
/* * This file is part of libsidplayfp, a SID player engine. * * Copyright 2011-2015 Leandro Nini <drfiemost@users.sourceforge.net> * Copyright 2007-2010 Antti Lankila * Copyright 2000-2001 Simon White * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gen...
26.638889
83
0.68926
emoon
912e68f1e6c71027eccbcb4336d34759877b1ca1
1,994
cpp
C++
tests/kameris-formats/binary_io.cpp
stephensolis/modmap-generator-cpp
ab33a5b9c4c1feb3c6d65b251478e63d3a7825b5
[ "MIT" ]
null
null
null
tests/kameris-formats/binary_io.cpp
stephensolis/modmap-generator-cpp
ab33a5b9c4c1feb3c6d65b251478e63d3a7825b5
[ "MIT" ]
null
null
null
tests/kameris-formats/binary_io.cpp
stephensolis/modmap-generator-cpp
ab33a5b9c4c1feb3c6d65b251478e63d3a7825b5
[ "MIT" ]
null
null
null
#include <catch.hpp> #include <cstdint> #include <map> #include <sstream> #include <vector> #include <kameris-formats/cpp/common/binary_collection_io.hpp> #include <kameris-formats/cpp/common/binary_io.hpp> #include "../test_helpers.hpp" using namespace std; using namespace kameris; SCENARIO("kameris-formats binar...
22.659091
76
0.673019
stephensolis
913573b5e894a4f0faa43d338bce7c3ac649f062
416
cpp
C++
YorozuyaGSLib/source/_embellish_db_load.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_embellish_db_load.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_embellish_db_load.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_embellish_db_load.hpp> START_ATF_NAMESPACE _embellish_db_load::_embellish_db_load() { using org_ptr = void (WINAPIV*)(struct _embellish_db_load*); (org_ptr(0x14010dbf0L))(this); }; void _embellish_db_load::ctor__embellish_db_load() { using org_ptr = void (WINAPIV...
26
68
0.685096
lemkova
913af8c3bb1c265f0d507d16e0029fa421342fb2
944
cpp
C++
src/Visioneer/Augmentors/GaussianNoise.cpp
teplandr/Visioneer
8aee849eabe9b3bd0dcb169c315733b550df63c9
[ "MIT" ]
6
2022-01-24T03:54:04.000Z
2022-01-26T12:42:00.000Z
src/Visioneer/Augmentors/GaussianNoise.cpp
teplandr/Visioneer
8aee849eabe9b3bd0dcb169c315733b550df63c9
[ "MIT" ]
null
null
null
src/Visioneer/Augmentors/GaussianNoise.cpp
teplandr/Visioneer
8aee849eabe9b3bd0dcb169c315733b550df63c9
[ "MIT" ]
null
null
null
#include "GaussianNoise.h" #include "Visioneer/Core/Base.h" #include <imgui.h> namespace Visioneer { GaussianNoise::GaussianNoise() { VSR_INFO("Begin"); VSR_INFO("End"); } GaussianNoise::~GaussianNoise() { VSR_INFO("Begin"); VSR_INFO("End"); } void GaussianNoise::augmentImage(cv::Mat image) const {...
20.977778
85
0.619703
teplandr
9141c907b82377948d2f3b321ee9f0cc62e2c5eb
1,843
cpp
C++
CrossWord/Cell.cpp
farshidtz/random-crossword
44874bf03ee85d0a523a12ff104af588365b75f9
[ "MIT" ]
1
2018-12-14T14:53:08.000Z
2018-12-14T14:53:08.000Z
CrossWord/Cell.cpp
farshidtz/random-crossword
44874bf03ee85d0a523a12ff104af588365b75f9
[ "MIT" ]
null
null
null
CrossWord/Cell.cpp
farshidtz/random-crossword
44874bf03ee85d0a523a12ff104af588365b75f9
[ "MIT" ]
null
null
null
/******************************************************************* TCS1011 - Data Structure & Algorithms Farshid Tavakolizadeh Email: email@farshid.ws Project Page: https://farshid.ws/projects.php?id=114 Year: 2012 ********************************************************************/ #include "Cell.h" Cell::Cell()...
24.905405
98
0.56701
farshidtz
9147a8c34a014ee0f0d7dc6ae09a8f4c55f6a902
1,977
cpp
C++
Tank/Graphics/BitmapText.cpp
tank-dev/tank
eb7e07eeec8ee047eb372cf80b55563d64400658
[ "BSL-1.0" ]
10
2015-04-16T22:57:21.000Z
2022-03-25T12:18:59.000Z
Tank/Graphics/BitmapText.cpp
tank-dev/tank
eb7e07eeec8ee047eb372cf80b55563d64400658
[ "BSL-1.0" ]
4
2015-02-17T20:58:34.000Z
2016-06-06T09:42:29.000Z
Tank/Graphics/BitmapText.cpp
tank-dev/tank
eb7e07eeec8ee047eb372cf80b55563d64400658
[ "BSL-1.0" ]
3
2015-03-15T07:58:44.000Z
2022-03-25T12:39:50.000Z
// Copyright (©) Jamie Bayne, David Truby, David Watson 2013-2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "BitmapText.hpp" #include <cmath> #include <iostream> namespace tank { BitmapText::...
25.675325
77
0.62519
tank-dev
914a6dc8672c34a97a610a5a473826ea4ec01314
175
cpp
C++
practice/heap/priority_queue.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
2
2018-06-26T09:52:14.000Z
2018-07-12T15:02:01.000Z
practice/heap/priority_queue.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
practice/heap/priority_queue.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ priority_queue<int> max_heap; priority_queue< int, vector<int>, greater<int> > min_heap; return 0; }
14.583333
62
0.662857
sidgairo18
914c3a1669f70812cc5f74eac44eaef8a4cbe98b
889
cpp
C++
GameEngine/GameEngine/src/Scene.cpp
SamCooksley/GameEngine
3c32eba545428c8aa3227abcb815d8d799ab92d9
[ "Apache-2.0" ]
null
null
null
GameEngine/GameEngine/src/Scene.cpp
SamCooksley/GameEngine
3c32eba545428c8aa3227abcb815d8d799ab92d9
[ "Apache-2.0" ]
null
null
null
GameEngine/GameEngine/src/Scene.cpp
SamCooksley/GameEngine
3c32eba545428c8aa3227abcb815d8d799ab92d9
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "Scene.h" namespace engine { Scene::Scene() { } Scene::~Scene() { Clear(); } void Scene::Clear() { for (auto & go : m_gameObjects) { go->OnDestroy(); } m_gameObjects.clear(); } void Scene::Init() { } void Scene::Add(const std::shared_pt...
15.327586
66
0.544432
SamCooksley
914db7f4f018931f5f8a9c08482698aedb16341e
4,133
cpp
C++
libvast/src/system/profiler.cpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
libvast/src/system/profiler.cpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
1
2019-11-29T12:43:41.000Z
2019-11-29T12:43:41.000Z
libvast/src/system/profiler.cpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
34.157025
80
0.5594
knapperzbusch
91512d0ca47614a89cb50b2257440b4c3e83ccbc
16,436
cpp
C++
src/LuminoEngine/src/UI/Controls/UIControl.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/UI/Controls/UIControl.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/UI/Controls/UIControl.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
 #include "Internal.hpp" #include <LuminoEngine/UI/UIStyle.hpp> #include <LuminoEngine/UI/Layout/UILayoutPanel.hpp> #include <LuminoEngine/UI/Controls/UIControl.hpp> #include <LuminoEngine/UI/UIActiveTimer.hpp> #include <LuminoEngine/UI/UICommand.hpp> #include "../UIStyleInstance.hpp" #include "../UIManager.hpp" name...
34.241667
217
0.682709
infinnie
915160dfc9585d57dcb47e95e3918845399e5557
733
cpp
C++
src/firmware/cpu/lighting.cpp
vagran/hydroponics
e0fd187f5b96646ac71526bda50dbe3ad0c0249f
[ "BSD-3-Clause" ]
26
2015-10-11T18:07:41.000Z
2022-01-17T19:49:37.000Z
src/firmware/cpu/lighting.cpp
vagran/hydroponics
e0fd187f5b96646ac71526bda50dbe3ad0c0249f
[ "BSD-3-Clause" ]
null
null
null
src/firmware/cpu/lighting.cpp
vagran/hydroponics
e0fd187f5b96646ac71526bda50dbe3ad0c0249f
[ "BSD-3-Clause" ]
1
2019-02-24T04:11:21.000Z
2019-02-24T04:11:21.000Z
/* This file is a part of 'hydroponics' project. * Copyright (c) 2015, Artyom Lebedev <artyom.lebedev@gmail.com> * All rights reserved. * See LICENSE file for copyright details. */ /** @file lighting.cpp */ #include "cpu.h" using namespace adk; Light light; void Light::OnAdcResult(u8 channel, u16 value) { ...
19.289474
64
0.683492
vagran
915238acf0f9204304457603dfa83dd85521b50d
2,461
c++
C++
Jangle.c++
SRTCpp/Code
67c311566cee7b3e5cd8440ac2f7531f1737e293
[ "Apache-2.0" ]
1
2018-09-24T21:58:03.000Z
2018-09-24T21:58:03.000Z
Jangle.c++
SRTCpp/Code
67c311566cee7b3e5cd8440ac2f7531f1737e293
[ "Apache-2.0" ]
null
null
null
Jangle.c++
SRTCpp/Code
67c311566cee7b3e5cd8440ac2f7531f1737e293
[ "Apache-2.0" ]
null
null
null
#include "Jangle.h" latangle::latangle(angle a, latconvention l) : _lat(a), _convention(l) {} latangle::latangle(const latangle& a) : _lat(a.north_positive()), _convention(NORTH_POSITIVE) {} angle latangle::north_positive() const { angle answer(_lat); if (_convention == NORTH_NEGATIVE) answer*=-1; return a...
23.216981
87
0.695652
SRTCpp
915446fc18c3534a0502b8daea455814abc373d9
2,560
cpp
C++
Problems/geeksforgeeks/minimum-cost-path/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
Problems/geeksforgeeks/minimum-cost-path/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
1
2019-05-09T19:17:00.000Z
2019-05-09T19:17:00.000Z
Problems/geeksforgeeks/minimum-cost-path/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <queue> #include <functional> #include <algorithm> #ifdef LOCAL_TEST #include <utils.h> #else template <typename T> void readMatrix(int x, int y, std::vector<std::vector<T>> &matrix) { matrix.resize(y); for (int r = 0; r < y; r++) { matrix[r].resize(x); ...
24.854369
121
0.493359
grand87
915554609ab0b49050c37ba86301f933841930b9
4,520
cpp
C++
generated-tests/memory_grow.cpp
eosnetworkfoundation/mandel-wasm-spec-tests
628eeba831893bc6f1f1978727e61d88871d51f1
[ "MIT" ]
8
2019-12-18T02:18:33.000Z
2021-08-24T05:55:27.000Z
generated-tests/memory_grow.cpp
eosnetworkfoundation/mandel-wasm-spec-tests
628eeba831893bc6f1f1978727e61d88871d51f1
[ "MIT" ]
1
2019-10-18T15:24:26.000Z
2019-10-18T15:24:26.000Z
generated-tests/memory_grow.cpp
eosnetworkfoundation/mandel-wasm-spec-tests
628eeba831893bc6f1f1978727e61d88871d51f1
[ "MIT" ]
19
2019-11-14T06:02:25.000Z
2022-01-10T14:10:59.000Z
#include <wasm_spec_tests.hpp> const string wasm_str_memory_grow_0 = base_dir + "/eosio-wasm-spec-tests/generated-tests/wasms/memory_grow.0.wasm"; std::vector<uint8_t> wasm_memory_grow_0= read_wasm(wasm_str_memory_grow_0.c_str()); BOOST_DATA_TEST_CASE(memory_grow_0_check_throw, boost::unit_test::data::xrange(0,6), in...
37.355372
115
0.736504
eosnetworkfoundation
9157ff43a233337704723b743db09d05995969f8
180
hpp
C++
src/Obstacle.hpp
WojtekMs/TankBotFight
fd9ab7854e6d9371637b6cb5d1f7db255bc6980a
[ "MIT" ]
10
2021-08-06T13:07:01.000Z
2022-02-03T20:28:11.000Z
src/Obstacle.hpp
WojtekMs/TankBotFight
fd9ab7854e6d9371637b6cb5d1f7db255bc6980a
[ "MIT" ]
29
2021-08-06T12:47:25.000Z
2022-03-01T13:35:41.000Z
src/Obstacle.hpp
WojtekMs/TankBotFight
fd9ab7854e6d9371637b6cb5d1f7db255bc6980a
[ "MIT" ]
10
2021-08-06T13:07:03.000Z
2022-02-09T12:26:52.000Z
#pragma once #include <SFML/Graphics.hpp> class Obstacle { public: Obstacle(int x, int y); sf::Sprite get_sprite(); private: sf::Texture mTxt; sf::Sprite mSprite; };
12
28
0.666667
WojtekMs
915d4ffefeda8c20a48d7bef05eb901516cda9b7
17,331
hpp
C++
src/batched/KokkosBatched_Vector_AVX256D.hpp
purdue-aalp/kokkos-kernels
a86b60232950b62a84514c161b6551e516b6565f
[ "BSD-3-Clause" ]
null
null
null
src/batched/KokkosBatched_Vector_AVX256D.hpp
purdue-aalp/kokkos-kernels
a86b60232950b62a84514c161b6551e516b6565f
[ "BSD-3-Clause" ]
1
2021-12-08T14:31:15.000Z
2021-12-08T14:31:15.000Z
src/batched/KokkosBatched_Vector_AVX256D.hpp
purdue-aalp/kokkos-kernels
a86b60232950b62a84514c161b6551e516b6565f
[ "BSD-3-Clause" ]
null
null
null
#ifndef __KOKKOSBATCHED_VECTOR_AVX256D_HPP__ #define __KOKKOSBATCHED_VECTOR_AVX256D_HPP__ /// \author Kyungjoo Kim (kyukim@sandia.gov) #if defined(__AVX__) || defined(__AVX2__) #include <immintrin.h> namespace KokkosBatched { namespace Experimental { /// /// AVX256D double /// template<> cla...
25.561947
120
0.565749
purdue-aalp
915d5d726436a4aa81e2eb9302e4a258dab41281
1,241
cpp
C++
UVa Online Judge/12700. Banglawash.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
UVa Online Judge/12700. Banglawash.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
UVa Online Judge/12700. Banglawash.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int T; cin >> T; for (int tc = 1; tc <= T; tc++) { int N; string matches; cin >> N >> matches; int B = 0, W = 0, T = 0, A = 0; for (int i = 0; i < matches.length(); i++) { switch(...
27.577778
81
0.323127
nicoelayda
91639c6298204f5eec06624f1215de7a3d987f45
906
cpp
C++
leetcode.com/0940 Distinct Subsequences II/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0940 Distinct Subsequences II/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0940 Distinct Subsequences II/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <cstring> #include <iostream> #include <vector> using namespace std; typedef long long ll; const int MOD = 1e9 + 7; /* aba [0,1,3,3+3+1-1] aaa [0,1,1+1+1-1,2+2+1-1-1] dacaba [0,1,3,7,7+7+1-2,27,55-8] dacabab [0,1,3,7,7+7+1-2,27,55-8,95-14] dacababa [0,1,3,7,7+7+1-2,27,55-8,95-14,163-28] */ ll dup[26]; // d...
17.764706
80
0.581678
sky-bro
9164424be42220e754c04164b72c65eb97726421
9,414
cc
C++
Java/jni/native_c4.cc
percula/cbl
2287b74f1caf209ce827ebc7c71a4cb84bb18649
[ "Apache-2.0" ]
null
null
null
Java/jni/native_c4.cc
percula/cbl
2287b74f1caf209ce827ebc7c71a4cb84bb18649
[ "Apache-2.0" ]
null
null
null
Java/jni/native_c4.cc
percula/cbl
2287b74f1caf209ce827ebc7c71a4cb84bb18649
[ "Apache-2.0" ]
null
null
null
// // native_c4.cc // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unle...
32.239726
114
0.635968
percula
916543c78a6c6018b94f70c1ca93360224161187
7,244
cpp
C++
src/cpIpcContext.cpp
asc135/CodePort
306d40d0a6d5ccb249b22249f2b3702ac09c021b
[ "BSD-3-Clause" ]
null
null
null
src/cpIpcContext.cpp
asc135/CodePort
306d40d0a6d5ccb249b22249f2b3702ac09c021b
[ "BSD-3-Clause" ]
null
null
null
src/cpIpcContext.cpp
asc135/CodePort
306d40d0a6d5ccb249b22249f2b3702ac09c021b
[ "BSD-3-Clause" ]
null
null
null
// ---------------------------------------------------------------------------- // CodePort++ // // A Portable Operating System Abstraction Library // Copyright 2012 Amardeep S. Chana. All rights reserved. // Use of this software is bound by the terms of the Modified BSD License. // // Module Name: cpIpcContex...
21.885196
114
0.593733
asc135
91675e4fc538f676967cdef37afd6c5f2336d661
10,160
cpp
C++
solu-rtspMulitPlayer/src/main.cpp
EASY-EAI/EASY-EAI-Toolkit-C-Solution
258705ed70f71456075b6b2c23b945a8b18d4d24
[ "BSD-3-Clause" ]
null
null
null
solu-rtspMulitPlayer/src/main.cpp
EASY-EAI/EASY-EAI-Toolkit-C-Solution
258705ed70f71456075b6b2c23b945a8b18d4d24
[ "BSD-3-Clause" ]
null
null
null
solu-rtspMulitPlayer/src/main.cpp
EASY-EAI/EASY-EAI-Toolkit-C-Solution
258705ed70f71456075b6b2c23b945a8b18d4d24
[ "BSD-3-Clause" ]
null
null
null
//===================== C++ ===================== #include <iostream> #include <fstream> #include <sstream> #include <string> //===================== C ===================== #include "system.h" #include "ipcData.h" #include "config.h" //===================== SDK ===================== #include "system_...
30.419162
113
0.592618
EASY-EAI
9167f25fd56ac8d380868e1dc2ca0565b387e201
1,315
hpp
C++
include/staticlib/support/make_unique.hpp
staticlibs/staticlib_support
abbe59c7720ac217ac10e986650231effa3bd28f
[ "Apache-2.0" ]
null
null
null
include/staticlib/support/make_unique.hpp
staticlibs/staticlib_support
abbe59c7720ac217ac10e986650231effa3bd28f
[ "Apache-2.0" ]
null
null
null
include/staticlib/support/make_unique.hpp
staticlibs/staticlib_support
abbe59c7720ac217ac10e986650231effa3bd28f
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015, alex at staticlibs.net * * 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 ag...
26.836735
75
0.723954
staticlibs
9169d0739b2416a393c20d2b5b0c0f85789d41ce
10,086
cpp
C++
benchmarks/htbenchmark.cpp
speedyhash/shorthash
0e38e959c2d506eb3203622c56b266490ab8a5b3
[ "Apache-2.0" ]
5
2016-06-30T07:46:57.000Z
2021-06-11T15:48:17.000Z
benchmarks/htbenchmark.cpp
speedyhash/shorthash
0e38e959c2d506eb3203622c56b266490ab8a5b3
[ "Apache-2.0" ]
9
2016-07-04T14:34:38.000Z
2017-09-09T01:12:57.000Z
benchmarks/htbenchmark.cpp
speedyhash/shorthash
0e38e959c2d506eb3203622c56b266490ab8a5b3
[ "Apache-2.0" ]
2
2017-01-22T18:33:15.000Z
2017-07-19T06:12:40.000Z
#include <cmath> #include <cstring> #include <cstdio> #include <cassert> #include <cstdlib> #include <algorithm> #include <iomanip> #include <iostream> #include <limits> #include <random> #include <vector> #include <sys/resource.h> #include "hashpack.h" #include "hashmap.h" #include "timers.hpp" using namespace std;...
38.204545
336
0.584374
speedyhash
916e21940b696c8f8332f3cbdb6c3b40b436bc70
3,657
cpp
C++
source/io/detail/LibuvCompatibility.cpp
tarm-project/tarm-io
6aebd85573f65017decf81be073c8b13ce6ac12c
[ "MIT" ]
4
2021-01-14T15:19:35.000Z
2022-01-09T09:22:18.000Z
source/io/detail/LibuvCompatibility.cpp
ink-splatters/tarm-io
6aebd85573f65017decf81be073c8b13ce6ac12c
[ "MIT" ]
null
null
null
source/io/detail/LibuvCompatibility.cpp
ink-splatters/tarm-io
6aebd85573f65017decf81be073c8b13ce6ac12c
[ "MIT" ]
1
2020-08-05T21:14:59.000Z
2020-08-05T21:14:59.000Z
/*---------------------------------------------------------------------------------------------- * Copyright (c) 2020 - present Alexander Voitenko * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------------------...
33.245455
112
0.594476
tarm-project
917803a4b7b941a39ceef98c0c0f5117ee9ae548
5,436
cpp
C++
rollingmean.cpp
ianjray/rollingmean
0c87010643d9943e7649a4567ec4276bc866d22c
[ "MIT" ]
null
null
null
rollingmean.cpp
ianjray/rollingmean
0c87010643d9943e7649a4567ec4276bc866d22c
[ "MIT" ]
null
null
null
rollingmean.cpp
ianjray/rollingmean
0c87010643d9943e7649a4567ec4276bc866d22c
[ "MIT" ]
null
null
null
#include "rollingmean.h" #include <algorithm> #include <limits> struct Node { /// Pointer to node with value greater-than this. Node *gt_; /// Pointer to node with value less-than-or-equal-to this. Node *le_; /// Pointer to node that is newer. Node *newer_; /// Pointer to node that is ol...
22.74477
118
0.487675
ianjray
917e3f7247bc5d83a69d7a99dbf59d27f5f5c448
1,516
cpp
C++
path/PathToImage.cpp
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
6
2015-12-29T07:21:01.000Z
2020-05-29T10:47:38.000Z
path/PathToImage.cpp
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
path/PathToImage.cpp
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
/*! \file PathToImage.cpp * \author Jared Hoberock * \brief Implementation of PathToImage class. */ #include "PathToImage.h" void PathToImage ::evaluate(const PathSampler::Result &r, const PathSampler::HyperPoint &x, const Path &xPath, float &u, f...
30.938776
84
0.562005
jaredhoberock
917efdd663938b04cb7d7c7888ec335730e1e0fc
5,811
cpp
C++
src/utils/trace.cpp
rblake-llnl/wcs
ac2d49fb66d89bdcf8f815958b62d9b566a34a8f
[ "MIT-0", "MIT" ]
null
null
null
src/utils/trace.cpp
rblake-llnl/wcs
ac2d49fb66d89bdcf8f815958b62d9b566a34a8f
[ "MIT-0", "MIT" ]
null
null
null
src/utils/trace.cpp
rblake-llnl/wcs
ac2d49fb66d89bdcf8f815958b62d9b566a34a8f
[ "MIT-0", "MIT" ]
null
null
null
/****************************************************************************** * * * Copyright 2020 Lawrence Livermore National Security, LLC and other * * Whole Cell Simulator Project Developers. See the top-level COPYRIGHT * ...
31.410811
92
0.59525
rblake-llnl
918aa4821b16dbd8b833db105cda8925b3053ffa
6,172
cpp
C++
lib/PortSchema/src/PortSchema.cpp
kalknight/WisBlockEnvironmentalDataloggerFirmware
fe16a60da03d3e37845a3f50f048fe641b639564
[ "MIT" ]
null
null
null
lib/PortSchema/src/PortSchema.cpp
kalknight/WisBlockEnvironmentalDataloggerFirmware
fe16a60da03d3e37845a3f50f048fe641b639564
[ "MIT" ]
null
null
null
lib/PortSchema/src/PortSchema.cpp
kalknight/WisBlockEnvironmentalDataloggerFirmware
fe16a60da03d3e37845a3f50f048fe641b639564
[ "MIT" ]
1
2021-10-08T04:40:45.000Z
2021-10-08T04:40:45.000Z
#include "PortSchema.h" uint8_t portSchema::encodeSensorDataToPayload(sensorData *sensor_data, uint8_t *payload_buffer, uint8_t start_pos) { /* If the data should be included in the payload according to the portSchema, then encode the value. * he order of these if statements is the order the sensor data will ...
39.819355
134
0.603532
kalknight
9262ba4a22b0c3e5a5e2a860c03839ccd0433579
16,988
cpp
C++
Plugins/OgMaterialEditor/MaterialEditor.cpp
CyberSys/ogitor
ef907e1cec77c397f809fa31b2a83cca733108e9
[ "MIT" ]
86
2017-01-22T06:36:13.000Z
2022-01-23T08:34:05.000Z
Plugins/OgMaterialEditor/MaterialEditor.cpp
CyberSys/ogitor
ef907e1cec77c397f809fa31b2a83cca733108e9
[ "MIT" ]
39
2017-04-08T09:01:47.000Z
2021-10-10T12:15:57.000Z
Plugins/OgMaterialEditor/MaterialEditor.cpp
CyberSys/ogitor
ef907e1cec77c397f809fa31b2a83cca733108e9
[ "MIT" ]
45
2017-01-07T08:25:29.000Z
2021-11-03T08:44:07.000Z
/*///////////////////////////////////////////////////////////////////////////////// /// An /// ___ ____ ___ _____ ___ ____ /// / _ \ / ___|_ _|_ _/ _ \| _ \ /// | | | | | _ | | | || | | | |_) | /// | |_| | |_| || | | || |_| | _ < /// \___/ \____|___| |_| \___/|_| \_\ /// ...
48.39886
145
0.626854
CyberSys
9266ead712213bce77b11b6aca8dbd993791508f
753
cpp
C++
archive/src/pcc.cpp
pointermess/picoC
b6edfb6edfcdbef159015c7bf8ac77f6ed6717f9
[ "MIT" ]
null
null
null
archive/src/pcc.cpp
pointermess/picoC
b6edfb6edfcdbef159015c7bf8ac77f6ed6717f9
[ "MIT" ]
13
2019-04-14T18:53:57.000Z
2019-04-28T06:41:58.000Z
archive/src/pcc.cpp
pointermess/picoC-Compiler
b6edfb6edfcdbef159015c7bf8ac77f6ed6717f9
[ "MIT" ]
null
null
null
/* * Copyright (c) 2019-present by pointermess (Milos Stanojevic) * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "picoC/Representation/LookupTable.h" #include "./picoC/Parser/Tokenizer.h" #include "./picoC/Parser/ASTParser....
25.1
72
0.715803
pointermess
9269a476fd9da90ca25b1b18aa922bcda6a91ccc
1,975
hpp
C++
dump.hpp
coryknapp/dump
6dcf4c87958d335e04380b939eb91ceae43a9572
[ "MIT" ]
null
null
null
dump.hpp
coryknapp/dump
6dcf4c87958d335e04380b939eb91ceae43a9572
[ "MIT" ]
null
null
null
dump.hpp
coryknapp/dump
6dcf4c87958d335e04380b939eb91ceae43a9572
[ "MIT" ]
null
null
null
#ifndef DUMP_HPP_BIF3W8QM #define DUMP_HPP_BIF3W8QM #include <iostream> #include <vector> #include <typeinfo> namespace d { namespace details{ typedef char oddType[7]; template<typename T> oddType& operator << ( std::ostream&, const T&); template <typename T> struct leftarrowleftarrow{ enum{ ...
22.965116
85
0.601519
coryknapp
926bab6663d76edf192803994790ba227ab9ee43
303
hpp
C++
pythran/pythonic/include/omp/get_num_threads.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/omp/get_num_threads.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/omp/get_num_threads.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_OMP_GET_NUM_THREADS_HPP #define PYTHONIC_INCLUDE_OMP_GET_NUM_THREADS_HPP #include <omp.h> #include "pythonic/include/utils/functor.hpp" namespace pythonic { namespace omp { long get_num_threads(); DECLARE_FUNCTOR(pythonic::omp, get_num_threads); } } #endif
14.428571
52
0.772277
xmar
926ce53cda2b8f67b662a1617bedb15fde48e268
3,224
cc
C++
old/math.cc
SnapDragon64/ContestLibrary
d590db2470447b9ee519985cbd662c35c32c7f76
[ "MIT" ]
26
2015-06-18T17:42:09.000Z
2021-09-25T20:46:17.000Z
old/math.cc
SnapDragon64/ContestLibrary
d590db2470447b9ee519985cbd662c35c32c7f76
[ "MIT" ]
null
null
null
old/math.cc
SnapDragon64/ContestLibrary
d590db2470447b9ee519985cbd662c35c32c7f76
[ "MIT" ]
8
2018-06-02T14:52:01.000Z
2021-09-25T20:46:19.000Z
int gcd(int a, int b) { int n; while( b ) { n = b; b = a%b; a = n; } return abs(a); } // Returned values will satisfy x*a+y*b = d. |x|+|y| will be as small as // possible. Ties are broken by x <= y. // All other solutions are of the form (x+n*(b/d))*a + (y-n*(a/d))*b = d. int extendedgcd(int...
22.704225
74
0.472395
SnapDragon64
9273f05d78f489510e542119d3098d9bd51a0f9a
24,714
cpp
C++
src/COLLADALoader.cpp
LeifNode/World-Generator
f9818fb6c5d507eede76141c2687a66f090cbdc1
[ "MIT" ]
16
2015-02-12T20:56:01.000Z
2021-05-31T21:05:41.000Z
src/COLLADALoader.cpp
LeifNode/World-Generator
f9818fb6c5d507eede76141c2687a66f090cbdc1
[ "MIT" ]
null
null
null
src/COLLADALoader.cpp
LeifNode/World-Generator
f9818fb6c5d507eede76141c2687a66f090cbdc1
[ "MIT" ]
3
2017-02-05T15:52:34.000Z
2018-02-09T08:51:00.000Z
#include "COLLADALoader.h" #include <stdio.h> using namespace tinyxml2; using namespace std; using namespace collada; COLLADALoader::COLLADALoader(const char* filePath) :mFilePath(filePath), mMeshSources(), mpRootNode(NULL) { } COLLADALoader::~COLLADALoader() { clear(); } void COLLADALoader::clear() { for (aut...
30.323926
163
0.707413
LeifNode
927cb464a36a758fe1ba244aff02ae6f534039eb
33,581
hpp
C++
include/xmlite.hpp
makuke1234/xmlite
80bb2139c687c3fac7af3e21a5478b1dc310e38a
[ "MIT" ]
null
null
null
include/xmlite.hpp
makuke1234/xmlite
80bb2139c687c3fac7af3e21a5478b1dc310e38a
[ "MIT" ]
null
null
null
include/xmlite.hpp
makuke1234/xmlite
80bb2139c687c3fac7af3e21a5478b1dc310e38a
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> #include <unordered_map> #include <stack> #include <type_traits> #include <exception> #include <cstring> #include <cstdint> namespace xmlite { template<typename T> std::size_t strlen(const T * str, std::size_t len) noexcept { if (len == 0) { return std::char...
19.080114
141
0.561061
makuke1234
9280d1a8dc87a139038372779ae7cc2dd3ee69a4
4,711
cpp
C++
source/gfx2dapp/private/internal/application/renderer.cpp
fpuma/Gfx2dAppModule
29b16de4582114ad586db99744ac747fb44a8303
[ "MIT" ]
null
null
null
source/gfx2dapp/private/internal/application/renderer.cpp
fpuma/Gfx2dAppModule
29b16de4582114ad586db99744ac747fb44a8303
[ "MIT" ]
null
null
null
source/gfx2dapp/private/internal/application/renderer.cpp
fpuma/Gfx2dAppModule
29b16de4582114ad586db99744ac747fb44a8303
[ "MIT" ]
null
null
null
#include <precompiledapplication.h> #include "renderer.h" #include <internal/application/window.h> #include <internal/applogger/applogger.h> #include <texturemanager/texture.h> #include <utils/graphics/dimensions.h> #include <SDL.h> #include <SDL2_gfxPrimitives.h> #include <iterator> namespace puma::app...
35.961832
163
0.652728
fpuma
9284404861957027331c5447a70046b1df25b64a
7,742
ipp
C++
include/beast/core/impl/buffers_cat.ipp
mandreyel/beast-asio-standalone
627c633b0262a04b6dc71c7b946df63674274f0e
[ "BSL-1.0" ]
10
2018-11-04T09:46:21.000Z
2021-12-18T19:35:29.000Z
include/beast/core/impl/buffers_cat.ipp
mandreyel/beast-asio-standalone
627c633b0262a04b6dc71c7b946df63674274f0e
[ "BSL-1.0" ]
1
2019-05-03T16:23:13.000Z
2019-05-03T16:23:13.000Z
include/beast/core/impl/buffers_cat.ipp
mandreyel/beast-asio-standalone
627c633b0262a04b6dc71c7b946df63674274f0e
[ "BSL-1.0" ]
2
2019-12-05T16:05:59.000Z
2020-08-18T09:55:25.000Z
// // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) // // 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) // // Official repository: https://github.com/boostorg/beast // #ifndef BEAST_IMPL_B...
20.645333
80
0.535391
mandreyel
928f7161e1056b22bf9712e26683bf36e46b28da
1,486
hpp
C++
Python/Include/Rover/Python/Autobox.hpp
kranar/rover
a4a824321859e34478fec0924c0b76144b3fc20e
[ "Apache-2.0" ]
null
null
null
Python/Include/Rover/Python/Autobox.hpp
kranar/rover
a4a824321859e34478fec0924c0b76144b3fc20e
[ "Apache-2.0" ]
30
2019-02-05T23:18:13.000Z
2019-07-05T14:19:04.000Z
Python/Include/Rover/Python/Autobox.hpp
kranar/rover
a4a824321859e34478fec0924c0b76144b3fc20e
[ "Apache-2.0" ]
1
2020-06-01T06:32:05.000Z
2020-06-01T06:32:05.000Z
#ifndef ROVER_PYTHON_AUTOBOX_HPP #define ROVER_PYTHON_AUTOBOX_HPP #include <memory> #include <type_traits> #include <pybind11/pybind11.h> #include "Rover/Box.hpp" #include "Rover/Constant.hpp" #include "Rover/Evaluator.hpp" #include "Rover/Noncopyable.hpp" namespace Rover::Details { template<typename T> class Pyth...
26.070175
73
0.666218
kranar
928fdc45ed912d3cfd28a621f522b49f537598f5
20,605
cpp
C++
libvacationdb/src/vacationdb.cpp
Sirflankalot/Vacation_Days
4232880ce08e4bcf216fa737fc56b107f9f09776
[ "Apache-2.0" ]
2
2017-08-21T19:42:57.000Z
2017-08-26T14:05:48.000Z
libvacationdb/src/vacationdb.cpp
Sirflankalot/Vacation_Days
4232880ce08e4bcf216fa737fc56b107f9f09776
[ "Apache-2.0" ]
1
2017-08-21T19:43:41.000Z
2017-08-26T03:08:58.000Z
libvacationdb/src/vacationdb.cpp
Sirflankalot/Vacation_Days
4232880ce08e4bcf216fa737fc56b107f9f09776
[ "Apache-2.0" ]
null
null
null
#include "boost/date_time/gregorian/gregorian.hpp" #include <boost/variant/get.hpp> #include <boost/variant/variant.hpp> #include <algorithm> #include <cmath> #include <iostream> #include <numeric> #include <sstream> #include <string> #include "database_impl.hpp" #include "vacationdb.hpp" namespace Vacationdb { voi...
28.187415
102
0.649503
Sirflankalot
92928be79c0eaaf7cc95ad65d2ab41f8958cedfa
1,208
cpp
C++
C++/Dynamic Programming/dp_fibonacci.cpp
SanjogSamuelSamantaray/algorithmsUse
c7ce8255e4e06741e64953a84e188a4fdba3c949
[ "MIT" ]
12
2020-10-01T18:17:49.000Z
2021-03-24T18:37:36.000Z
C++/Dynamic Programming/dp_fibonacci.cpp
SanjogSamuelSamantaray/algorithmsUse
c7ce8255e4e06741e64953a84e188a4fdba3c949
[ "MIT" ]
94
2020-10-01T17:35:11.000Z
2021-03-26T10:44:15.000Z
C++/Dynamic Programming/dp_fibonacci.cpp
SanjogSamuelSamantaray/algorithmsUse
c7ce8255e4e06741e64953a84e188a4fdba3c949
[ "MIT" ]
142
2020-10-01T17:38:56.000Z
2021-12-02T11:10:18.000Z
/** * Author: Ahmed Elsisy * Date: 23/10/2020 * Description: Given N and M , returns Nth fibonacci number modulus positive number M * * Memory: O(N) * Time: O(N) using dynamic programming for pre-processing and O(1) for query nth fibonacci number * Status: stress-tested for n <= 500000 (accepted on https://www....
23.230769
105
0.53394
SanjogSamuelSamantaray
9293955dc84d17fdcd6fbcd54ac21380757503d4
2,718
cpp
C++
src/display/src/App.cpp
projectitis/mac
ea3d23f3352f6e193f23ffb7e3f296f4485e8501
[ "MIT" ]
1
2022-03-26T22:10:18.000Z
2022-03-26T22:10:18.000Z
src/display/src/App.cpp
projectitis/mac
ea3d23f3352f6e193f23ffb7e3f296f4485e8501
[ "MIT" ]
52
2021-05-26T08:10:45.000Z
2022-03-30T07:23:51.000Z
src/display/src/App.cpp
projectitis/mac
ea3d23f3352f6e193f23ffb7e3f296f4485e8501
[ "MIT" ]
null
null
null
/** * App framework for "mac/μac" * Author: Peter "Projectitis" Vullings <peter@projectitis.com> * Distributed under the MIT licence **/ #include "../App.h" /** * mac (or μac) stands for "Microprocessor App Creator" * mac is a project that enables creating beautiful and useful apps on the * Teensy microproces...
23.033898
79
0.674025
projectitis
929466980a7e544cba97a9841e86130c6518999a
2,964
hh
C++
src/operators/Upwind.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/operators/Upwind.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/operators/Upwind.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Operators Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (lipnikov@lanl.gov) */ #ifndef AMANZI_U...
31.531915
86
0.673752
fmyuan
929da19f7d9821b9ae19a21b85240e35e9b61cd2
167
cpp
C++
source/CityGraph.cpp
xzrunner/citygraph
8295a70052a67b5bf0364f4491968d5946515854
[ "MIT" ]
null
null
null
source/CityGraph.cpp
xzrunner/citygraph
8295a70052a67b5bf0364f4491968d5946515854
[ "MIT" ]
null
null
null
source/CityGraph.cpp
xzrunner/citygraph
8295a70052a67b5bf0364f4491968d5946515854
[ "MIT" ]
null
null
null
#include "citygraph/CityGraph.h" namespace citygraph { CU_SINGLETON_DEFINITION(CityGraph); extern void regist_rttr(); CityGraph::CityGraph() { regist_rttr(); } }
11.133333
35
0.754491
xzrunner
92a63d8d760445cd1e750492ef3c22fe671ab4e1
391
cpp
C++
Dynamic Programming AV/Longest Common Subsequence/Check for Subsequence.cpp
AkhilSoni0102/Learning-Data-Structures
27f2d4d0b09f2bf47242242d3a6b0e65c149bbf6
[ "MIT" ]
2
2021-04-03T11:50:42.000Z
2021-05-06T16:45:06.000Z
Dynamic Programming AV/Longest Common Subsequence/Check for Subsequence.cpp
AkhilSoni0102/Learning-Data-Structures
27f2d4d0b09f2bf47242242d3a6b0e65c149bbf6
[ "MIT" ]
null
null
null
Dynamic Programming AV/Longest Common Subsequence/Check for Subsequence.cpp
AkhilSoni0102/Learning-Data-Structures
27f2d4d0b09f2bf47242242d3a6b0e65c149bbf6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; bool isSubSequence(string A, string B) { int i = 0; int j = 0; while(i < A.length() && j < B.length()){ if(A[i] == B[j]){ i++; j++; } else j++; } if(i == A.length()) return true; retur...
15.64
44
0.439898
AkhilSoni0102
92a740e78a654c6f60154e7e576e069731fa3ccd
1,941
hpp
C++
core/src/vulkan/VulkanPipeline.hpp
galaxgames/giygas
af0147d737f5fea6a4653f98df44594f55d76d58
[ "Apache-2.0" ]
1
2017-08-29T17:09:30.000Z
2017-08-29T17:09:30.000Z
core/src/vulkan/VulkanPipeline.hpp
galaxgames/giygas
af0147d737f5fea6a4653f98df44594f55d76d58
[ "Apache-2.0" ]
null
null
null
core/src/vulkan/VulkanPipeline.hpp
galaxgames/giygas
af0147d737f5fea6a4653f98df44594f55d76d58
[ "Apache-2.0" ]
null
null
null
#pragma once #include <giygas/Pipeline.hpp> #include <giygas/PipelineCreateParameters.hpp> #include <vulkan/vulkan.h> namespace giygas { class VulkanRenderer; class VulkanPipeline final : public Pipeline { VulkanRenderer *_renderer; VkPipelineLayout _layout; VkPipeline _handle; ...
32.898305
94
0.705307
galaxgames
92b117ae3f9f83503166bd16f463ec220e7e420c
4,735
hpp
C++
src/rt/Util.hpp
yslking/GPURayTraversal
cfcc825aef473318fc7eb4975c13fe40cda5c915
[ "BSD-3-Clause" ]
39
2016-07-19T15:25:16.000Z
2021-07-15T16:06:15.000Z
src/rt/Util.hpp
yslking/GPURayTraversal
cfcc825aef473318fc7eb4975c13fe40cda5c915
[ "BSD-3-Clause" ]
null
null
null
src/rt/Util.hpp
yslking/GPURayTraversal
cfcc825aef473318fc7eb4975c13fe40cda5c915
[ "BSD-3-Clause" ]
14
2017-12-19T03:14:50.000Z
2021-06-24T16:53:10.000Z
/* * Copyright (c) 2009-2011, NVIDIA Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice,...
47.828283
163
0.558817
yslking
92b666671c0c7325e7405f23bf64da526a7339b5
2,891
cpp
C++
mpsoc/vitis_ai_samples_zcu104/common/common.cpp
Trabing/Vitis-AI
936881527ed9a4dcd4956b1269ab157c888f4be6
[ "Apache-2.0" ]
2
2021-03-18T17:00:07.000Z
2022-03-18T18:28:23.000Z
mpsoc/vitis_ai_samples_zcu104/common/common.cpp
Trabing/Vitis-AI
936881527ed9a4dcd4956b1269ab157c888f4be6
[ "Apache-2.0" ]
null
null
null
mpsoc/vitis_ai_samples_zcu104/common/common.cpp
Trabing/Vitis-AI
936881527ed9a4dcd4956b1269ab157c888f4be6
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Xilinx 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 i...
45.888889
115
0.648565
Trabing
92b66ba1bbadc0cc19dbdaa1f36d007bf2bed604
27,445
cpp
C++
src/qged/plugins/polygon/QPolyMod.cpp
redcarrera/brlcad
6e5641da9f7d53c62a4dcde9cdc56fcd58e74bdd
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/qged/plugins/polygon/QPolyMod.cpp
redcarrera/brlcad
6e5641da9f7d53c62a4dcde9cdc56fcd58e74bdd
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/qged/plugins/polygon/QPolyMod.cpp
redcarrera/brlcad
6e5641da9f7d53c62a4dcde9cdc56fcd58e74bdd
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
/* Q P O L Y M O D . C P P * BRL-CAD * * Copyright (c) 2014-2022 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2....
28.177618
169
0.662561
redcarrera
92bbed0193cdbab33898dfe13af07f61bcca0403
4,202
hpp
C++
include/codegen/include/GlobalNamespace/OVRMesh.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/OVRMesh.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/OVRMesh.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 #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
41.196078
83
0.70752
Futuremappermydud
92bf435d4747b31c6263a598aba41f92e8493100
1,778
cpp
C++
vectorforth/asm_aux.cpp
janm31415/vectorforth
be0c4e5f7338c922be1975dd4c4321f89cce7cc6
[ "MIT" ]
5
2020-10-06T14:06:26.000Z
2022-01-28T16:45:41.000Z
vectorforth/asm_aux.cpp
janm31415/vectorforth
be0c4e5f7338c922be1975dd4c4321f89cce7cc6
[ "MIT" ]
1
2020-06-13T13:01:03.000Z
2020-06-13T15:48:20.000Z
vectorforth/asm_aux.cpp
janm31415/vectorforth
be0c4e5f7338c922be1975dd4c4321f89cce7cc6
[ "MIT" ]
null
null
null
#include "asm_aux.h" #include "context_defs.h" #include <sstream> using namespace ASM; VF_BEGIN std::string label_to_string(uint64_t lab) { std::stringstream str; str << "L_" << lab; return str.str(); } void store_registers(asmcode& code) { /* linux: r12, r13, r14, r15, rbx, rsp, rbp should be prese...
29.633333
74
0.68279
janm31415
92c019937101ab48e7d385e427fedf8c9805f5b2
3,223
cpp
C++
MSVC/14.24.28314/atlmfc/src/mfc/dlgfr.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
MSVC/14.24.28314/atlmfc/src/mfc/dlgfr.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
MSVC/14.24.28314/atlmfc/src/mfc/dlgfr.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sourc...
26.418033
93
0.686627
825126369
92c93bf28d1b112f3ef35f7fa019585dfe5c2689
2,981
cpp
C++
Tests/UnitTests/Core/Types/IntTests.cpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
1
2022-01-20T23:17:18.000Z
2022-01-20T23:17:18.000Z
Tests/UnitTests/Core/Types/IntTests.cpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
Tests/UnitTests/Core/Types/IntTests.cpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Sapphire's Suite. All Rights Reserved. #include <cstdint> #include <type_traits> #include <SA/Core/Types/Int.hpp> using namespace Sa; void IntTests() { // int8. static_assert(sizeof(int8) == 1, "Size of int8 is invalid!"); static_assert(std::is_same<IntOfSize<1>, int8>::value, "int of size 1...
48.080645
98
0.716874
SapphireSuite
92d830bcd66682341d77d71b592e0413877266d1
5,734
hpp
C++
Code/Tenshi/Compiler/ParserConfig.hpp
NotKyon/Tenshi
9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7
[ "Zlib" ]
null
null
null
Code/Tenshi/Compiler/ParserConfig.hpp
NotKyon/Tenshi
9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7
[ "Zlib" ]
8
2016-11-17T00:39:03.000Z
2016-11-29T14:46:27.000Z
Code/Tenshi/Compiler/ParserConfig.hpp
NotKyon/Tenshi
9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7
[ "Zlib" ]
null
null
null
#pragma once #include <Parser/Source.hpp> namespace Tenshi { namespace Compiler { enum EKeyword : Ax::uint32 { kKeyword_User, kKeyword_Null, kKeyword_False, kKeyword_True, kKeyword_Type, kKeyword_EndType, kKeyword_Function, kKeyword_Return, kKeyword_EndFunction, kKeyword_Select, kKeyword_...
25.149123
161
0.749913
NotKyon
92dad449a3defef773d4ac0e20d63f49cfe78b47
9,045
cpp
C++
test/datastructures/linkcut_test.cpp
isaacarvestad/edc
7a45bd121c82480040694ef4f249d9cc049885b9
[ "BSD-3-Clause" ]
1
2021-01-26T18:36:24.000Z
2021-01-26T18:36:24.000Z
test/datastructures/linkcut_test.cpp
isaacarvestad/edc
7a45bd121c82480040694ef4f249d9cc049885b9
[ "BSD-3-Clause" ]
null
null
null
test/datastructures/linkcut_test.cpp
isaacarvestad/edc
7a45bd121c82480040694ef4f249d9cc049885b9
[ "BSD-3-Clause" ]
null
null
null
#include "gtest/gtest.h" #include "lib/datastructures/linkcut.hpp" #include <algorithm> TEST(LinkCut, ConstructEmpty) { constexpr int n = 10; LinkCut::Forest forest(n); for (int u = 0; u < n; ++u) for (int v = u + 1; v < n; ++v) EXPECT_FALSE(forest.connected(u, v)); } TEST(LinkCut, LinkSingle) { c...
22.223587
80
0.547153
isaacarvestad
92df78b9d64ba1c2d5901de0e757caa71a256b2b
9,830
cpp
C++
src/CaseCreator/UIComponents/LocationTab/FieldCharacterManipulator.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
41
2015-01-24T17:33:16.000Z
2022-01-08T19:36:40.000Z
src/CaseCreator/UIComponents/LocationTab/FieldCharacterManipulator.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
15
2015-01-05T21:00:41.000Z
2016-10-18T14:37:03.000Z
src/CaseCreator/UIComponents/LocationTab/FieldCharacterManipulator.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
6
2016-01-14T21:07:22.000Z
2020-11-28T09:51:15.000Z
#include "FieldCharacterManipulator.h" #include <QLabel> #include <QScrollArea> #include <QGridLayout> #include <QVBoxLayout> #include <QPushButton> #include <QLocale> #include "CaseCreator/CaseContent/CaseContent.h" #include "CaseCreator/CaseContent/Character.h" #include "CaseCreator/CaseContent/Encounter.h" temp...
32.876254
144
0.727365
Thisisderpys
92dfd5d99777dd5e5a0b2586c0cc4ba4a93b5da4
296
cpp
C++
C-Pow(205).cpp
MadanParth786/Atcoder-Problems
6688487b9e6dd6b7d514626155eb6028e8725100
[ "Apache-2.0" ]
1
2021-07-09T16:44:44.000Z
2021-07-09T16:44:44.000Z
C-Pow(205).cpp
MadanParth786/Atcoder-Problems
6688487b9e6dd6b7d514626155eb6028e8725100
[ "Apache-2.0" ]
null
null
null
C-Pow(205).cpp
MadanParth786/Atcoder-Problems
6688487b9e6dd6b7d514626155eb6028e8725100
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cmath> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int r=pow(abs(a),c); int s=pow(abs(b),c); // cout<<r<<s<<"\n"; if(r>s){ cout<<">"<<"\n"; } else if(r<s){ cout<<"<"<<"\n"; } else{ cout<<"="<<"\n"; } return 0; }
12.869565
22
0.445946
MadanParth786
92e03b3d716c5adbc92363315c2394c26b5c74da
1,163
hpp
C++
Source/AllProjects/EventSys/CQCEvCl/CQCEvCl_.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/EventSys/CQCEvCl/CQCEvCl_.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/EventSys/CQCEvCl/CQCEvCl_.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCEvCl_.hpp // // AUTHOR: Dean Roddey // // CREATED: 06/24/2015 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensource.org...
25.844444
78
0.398968
MarkStega
92e0544fc90aed7dcb2d7ea827eb111bc01d4b72
1,576
cpp
C++
operator/operator/upsample.cpp
wangshankun/Tengine_Atlas
b5485039e72b4a624c795ff95d73eb6d719c7706
[ "Apache-2.0" ]
97
2020-08-03T12:58:41.000Z
2022-03-29T05:39:26.000Z
operator/operator/upsample.cpp
wangshankun/Tengine_Atlas
b5485039e72b4a624c795ff95d73eb6d719c7706
[ "Apache-2.0" ]
64
2020-08-26T00:53:21.000Z
2022-03-31T03:42:29.000Z
operator/operator/upsample.cpp
wangshankun/Tengine_Atlas
b5485039e72b4a624c795ff95d73eb6d719c7706
[ "Apache-2.0" ]
38
2020-08-04T02:18:59.000Z
2022-03-07T02:45:21.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
30.901961
119
0.702411
wangshankun
2baf3e614616e25fb206c819834206d71e0c35b8
1,000
cc
C++
test/jit.cc
arkhadem/XNNPACK
276871c0d32e2779e485af07fbdeda565d8794ed
[ "BSD-3-Clause" ]
null
null
null
test/jit.cc
arkhadem/XNNPACK
276871c0d32e2779e485af07fbdeda565d8794ed
[ "BSD-3-Clause" ]
null
null
null
test/jit.cc
arkhadem/XNNPACK
276871c0d32e2779e485af07fbdeda565d8794ed
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2022 Google LLC // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #include <xnnpack/allocator.h> #include <xnnpack/common.h> #include <gtest/gtest.h> TEST(JitMemory, AllocateAndReleaseEmptyCode) { xnn_code_buffer b; ...
33.333333
92
0.788
arkhadem
2bb3422cb59adc4fb42505265027b8cc0a49f279
15,845
cc
C++
src_matlab_interface/mex_SplineSetMexWrapper.cc
MatteoRagni/Splines
4087e9a96df06e03fb831a27e8faa72c76782689
[ "BSD-2-Clause" ]
null
null
null
src_matlab_interface/mex_SplineSetMexWrapper.cc
MatteoRagni/Splines
4087e9a96df06e03fb831a27e8faa72c76782689
[ "BSD-2-Clause" ]
null
null
null
src_matlab_interface/mex_SplineSetMexWrapper.cc
MatteoRagni/Splines
4087e9a96df06e03fb831a27e8faa72c76782689
[ "BSD-2-Clause" ]
null
null
null
/****************************************************************************\ Copyright (c) 2015, Enrico Bertolazzi 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 code mus...
32.941788
92
0.483181
MatteoRagni
2bb8457d07bdf70d0e31f5dbd4f98f4ae6632311
2,755
cpp
C++
Source/Scene.cpp
AhsanSarwar45/OpenGLRenderer
d0905c13df5e0a9a2d4e9336d6fc60a770b5f2a2
[ "CC0-1.0" ]
2
2022-02-23T16:54:56.000Z
2022-02-23T18:43:07.000Z
Source/Scene.cpp
AhsanSarwar45/OpenGLRenderer
d0905c13df5e0a9a2d4e9336d6fc60a770b5f2a2
[ "CC0-1.0" ]
null
null
null
Source/Scene.cpp
AhsanSarwar45/OpenGLRenderer
d0905c13df5e0a9a2d4e9336d6fc60a770b5f2a2
[ "CC0-1.0" ]
null
null
null
#include "Scene.hpp" #include <glm/ext/matrix_float4x4.hpp> #include <glm/ext/matrix_transform.hpp> #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/quaternion.hpp> void SetSceneUniforms(const std::shared_ptr<const Scene> scene, ShaderProgram shaderProgram) { UseShaderProgram(shaderProgram); ShaderSetInt(s...
36.25
122
0.664973
AhsanSarwar45
2bb991f93984b1776d28dbacc58fed58cdfcb964
2,351
cpp
C++
server/Server/Packets/WGTeamLeaderAskInviteHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/Server/Packets/WGTeamLeaderAskInviteHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/Server/Packets/WGTeamLeaderAskInviteHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
13
2015-01-30T17:45:06.000Z
2022-01-06T02:29:34.000Z
#include "stdafx.h" #include "WGTeamLeaderAskInvite.h" #include "Log.h" #include "ServerManager.h" #include "GamePlayer.h" #include "PlayerPool.h" #include "Scene.h" #include "Obj_Human.h" #include "SceneManager.h" #include "GCTeamLeaderAskInvite.h" UINT WGTeamLeaderAskInviteHandler::Execute( WGTeamLeaderAskInvite...
29.024691
182
0.673756
viticm
2bbaf6bfbfaa525d613c3a73e9243a533a4f8ddf
2,023
cpp
C++
rlib-tests/src/bitconverter_double_tests.cpp
rainlabs-eu/embedded-basic
f30cf21336dff0a278e56d5fe18522f17a9fede1
[ "Apache-2.0" ]
null
null
null
rlib-tests/src/bitconverter_double_tests.cpp
rainlabs-eu/embedded-basic
f30cf21336dff0a278e56d5fe18522f17a9fede1
[ "Apache-2.0" ]
1
2021-12-28T13:42:10.000Z
2022-01-06T09:54:27.000Z
rlib-tests/src/bitconverter_double_tests.cpp
rainlabs-eu/embedded-basic
f30cf21336dff0a278e56d5fe18522f17a9fede1
[ "Apache-2.0" ]
4
2021-02-22T12:54:25.000Z
2022-01-04T12:13:21.000Z
#include "rlib/bitconverter.h" #include <gmock/gmock.h> #include <cfloat> #include <vector> using namespace ::testing; namespace { struct DoubleTestCase { double expected_double_value; uint8_t mmmmsb; uint8_t mmmlsb; uint8_t mmllsb; uint8_t mlllsb; uint8_t lmmmsb; uint...
36.781818
117
0.674246
rainlabs-eu
2bbcb55e4acfbc144e2fab5f1dd445b82606dfce
8,350
cpp
C++
gpu_solver/gpu-lib/src/ic.cpp
ypzhang/playground
ca732d07e760d7e66b7ad783d9c48ab16335ef2e
[ "MIT" ]
null
null
null
gpu_solver/gpu-lib/src/ic.cpp
ypzhang/playground
ca732d07e760d7e66b7ad783d9c48ab16335ef2e
[ "MIT" ]
null
null
null
gpu_solver/gpu-lib/src/ic.cpp
ypzhang/playground
ca732d07e760d7e66b7ad783d9c48ab16335ef2e
[ "MIT" ]
null
null
null
#include "gpusollib.h" #define EXPAND_FACT 1.5 /*-----------------------------*/ void GetU2(csr_t *A, csr_t *U) { int n = A->n; int nnz = A->nnz; /*-----------------------------*/ Malloc(U->a, nnz, double); Malloc(U->ja, nnz, int); Malloc(U->ia, n+1, int); getu_(&n, A->a, A->ja, A->ia, U->a, U->ja,...
26.340694
53
0.42994
ypzhang