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
1265c41e36130a477cce4d0fdb8eeacbba6ae10b
612
cpp
C++
atl/codes/Math/Gauss_Det.cpp
rknguyen/teamnote
52c47eefee432e66695473b50ad03554510e336c
[ "MIT" ]
null
null
null
atl/codes/Math/Gauss_Det.cpp
rknguyen/teamnote
52c47eefee432e66695473b50ad03554510e336c
[ "MIT" ]
null
null
null
atl/codes/Math/Gauss_Det.cpp
rknguyen/teamnote
52c47eefee432e66695473b50ad03554510e336c
[ "MIT" ]
null
null
null
const double EPS = 1E-9; int n; vector < vector<double> > a (n, vector<double> (n)); double det = 1; for (int i=0; i<n; ++i) { int k = i; for (int j=i+1; j<n; ++j) if (abs (a[j][i]) > abs (a[k][i])) k = j; if (abs (a[k][i]) < EPS) { det = 0; break; } swap (a[i], ...
21.857143
52
0.362745
rknguyen
126b53dac6a5aa7492fd4ab447e82169949b9c9c
9,432
cpp
C++
EmeraldGame.cpp
HeldigLitauisk/Emerald-Scavanger
1a55bc4b31b377a3b9dc19ec984b71e1fec02768
[ "CC0-1.0", "MIT" ]
null
null
null
EmeraldGame.cpp
HeldigLitauisk/Emerald-Scavanger
1a55bc4b31b377a3b9dc19ec984b71e1fec02768
[ "CC0-1.0", "MIT" ]
null
null
null
EmeraldGame.cpp
HeldigLitauisk/Emerald-Scavanger
1a55bc4b31b377a3b9dc19ec984b71e1fec02768
[ "CC0-1.0", "MIT" ]
null
null
null
#include <sre/Inspector.hpp> #include "EmeraldGame.hpp" #include "GameObject.hpp" #include "sre/RenderPass.hpp" #include "sre/Texture.hpp" #include "SpriteComponent.hpp" #include "Box2D/Dynamics/Contacts/b2Contact.h" #include "PhysicsComponent.hpp" #include "Player.hpp" #include "BirdMovementComponent.hpp" ...
33.328622
99
0.520886
HeldigLitauisk
126dda8d32904814a9e09dd07fce670786843409
12,803
inl
C++
legion/engine/audio/systems/audiosystem.inl
Rythe-Interactive/Legion-Engine.rythe-legacy
e199689024436c40054942796ce9dcd4d097d7fd
[ "MIT" ]
null
null
null
legion/engine/audio/systems/audiosystem.inl
Rythe-Interactive/Legion-Engine.rythe-legacy
e199689024436c40054942796ce9dcd4d097d7fd
[ "MIT" ]
null
null
null
legion/engine/audio/systems/audiosystem.inl
Rythe-Interactive/Legion-Engine.rythe-legacy
e199689024436c40054942796ce9dcd4d097d7fd
[ "MIT" ]
null
null
null
#pragma once #include <core/scenemanagement/scenemanager.hpp> namespace legion::audio { inline void AudioSystem::setup() { alDevice = alcOpenDevice(NULL); if (!alDevice) { // Failed to create alcDevice log::error("OpenAl device failed to open"); #if defined(AUDIO...
36.372159
116
0.584707
Rythe-Interactive
126ed5ccd8de28b0f384f5d25017fd393091dc7d
2,007
cpp
C++
Source/YRTTriangle.cpp
mtrybulec/YRT
d382c1af33b08e81836f84cb138d9e5435daa773
[ "MIT" ]
null
null
null
Source/YRTTriangle.cpp
mtrybulec/YRT
d382c1af33b08e81836f84cb138d9e5435daa773
[ "MIT" ]
null
null
null
Source/YRTTriangle.cpp
mtrybulec/YRT
d382c1af33b08e81836f84cb138d9e5435daa773
[ "MIT" ]
null
null
null
#include <math.h> #include "YRTTriangle.h" #include "YRTUtils.h" #pragma hdrstop bool TYRTTriangle::GetIntersection(TYRTRay *ray, TYRTVector &point, TColor &color) { if (_isDegenerate) return false; // Note: if the following instruction is moved down, we lose about 5% on speed... TYRTVector w0 =...
23.068966
89
0.549576
mtrybulec
127c2cd1886704753a8bb59e4c9862548ac7287e
349
cpp
C++
component_solution/1.9/05.cpp
hsefz2018/NOIP-openjudge
b606d399b780959caadcf0094b90fa9163f30029
[ "MIT" ]
11
2016-02-03T11:13:07.000Z
2021-05-30T04:37:02.000Z
1.9/05.cpp
20200117/noip-openjudge
5c8b0786ea3fe2208ff9a44f244a631dbc5bb24c
[ "MIT" ]
4
2015-08-18T10:52:33.000Z
2015-10-29T12:51:52.000Z
1.9/05.cpp
20200117/noip-openjudge
5c8b0786ea3fe2208ff9a44f244a631dbc5bb24c
[ "MIT" ]
5
2016-02-03T11:13:09.000Z
2019-07-10T13:25:59.000Z
#include <iostream> #include <vector> using namespace std; int main() { int n; int __max = -2333333, __min = 2333333; cin >> n; for(int i = 0; i < n; i++) { int _tmp; cin >> _tmp; if(_tmp > __max) __max = _tmp; if(_tmp < __min) __min = _tmp; } cout << __max - __...
18.368421
42
0.507163
hsefz2018
12822235b468c246b724767c97840fd8f8e0c46f
17,362
cpp
C++
source/GameState.cpp
flenniken/solitaire
956357f0c1ffa0b4f1f057b34676eb28eb89214a
[ "MIT" ]
1
2022-03-07T21:59:29.000Z
2022-03-07T21:59:29.000Z
source/GameState.cpp
flenniken/solitaire
956357f0c1ffa0b4f1f057b34676eb28eb89214a
[ "MIT" ]
null
null
null
source/GameState.cpp
flenniken/solitaire
956357f0c1ffa0b4f1f057b34676eb28eb89214a
[ "MIT" ]
null
null
null
// Copyright 2007-2019 Flenniken // All Rights Reserved. #define _CRT_RAND_S #include "stdafx.h" #include "people.h" #include "Klondike.h" #include <vector> #include <algorithm> #include "GameState.h" #include "time.h" GameState::GameState() : fGameStarted(false), fDealOneAtATime(true), fAllowPartialPileMoves(t...
25.60767
146
0.70303
flenniken
12842e359482799f8af28d3b7564ba44dcd0cbc9
1,607
cpp
C++
plugins/ccStdPluginInterface.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/ccStdPluginInterface.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/ccStdPluginInterface.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CLOUDCOMPARE # //# # //# This pr...
47.264706
76
0.424393
ohanlonl
12886624b444654e3501b2dfe3d7e2ef81958e66
38,370
cpp
C++
moai/3rdparty/fmod-4.44.08/fmoddesignerapi/examples/3ddemo/main.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/3rdparty/fmod-4.44.08/fmoddesignerapi/examples/3ddemo/main.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/3rdparty/fmod-4.44.08/fmoddesignerapi/examples/3ddemo/main.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
/*=============================================================================================== 3D Demo Example Copyright (c), Firelight Technologies Pty, Ltd 2005-2011. Example to show occlusion ===============================================================================================*/ #include "../../../...
24.802844
147
0.604769
jjimenezg93
128def45ecdc950dfc4e68ec5bd84a1ef1955f79
33,203
cpp
C++
src/InfiniDEX/trade.cpp
bonkingbob/BH21
4218e5f035c23188f1ec1c49047c26b6eed255a7
[ "MIT" ]
9
2018-03-04T00:58:47.000Z
2020-02-13T15:51:14.000Z
src/InfiniDEX/trade.cpp
bonkingbob/BH21
4218e5f035c23188f1ec1c49047c26b6eed255a7
[ "MIT" ]
13
2018-05-20T06:28:55.000Z
2019-05-29T18:28:15.000Z
src/InfiniDEX/trade.cpp
bonkingbob/BH21
4218e5f035c23188f1ec1c49047c26b6eed255a7
[ "MIT" ]
17
2018-02-10T23:16:54.000Z
2019-08-16T19:28:34.000Z
// Copyright (c) 2017-2018 The Infinex Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode.h" #include "timedata.h" #include "trade.h" #include "chartdata.h" #include "orderbook.h" #inc...
35.895135
310
0.757432
bonkingbob
129054ac6f9b0fb6d050a00cf82ca06a71f0fc7d
6,135
cpp
C++
ze_cameras/src/camera.cpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
30
2016-09-27T07:41:28.000Z
2021-12-03T20:44:28.000Z
ze_cameras/src/camera.cpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
1
2018-12-18T15:53:06.000Z
2018-12-21T03:10:06.000Z
ze_cameras/src/camera.cpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
12
2016-11-05T07:51:29.000Z
2020-07-13T02:26:08.000Z
// Copyright (c) 2015-2016, ETH Zurich, Wyss Zurich, Zurich Eye // 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 // ...
31.30102
88
0.674817
rockenbf
12919ee6eb4ef63ded918c01bdd2d8df5ccb1086
2,489
hpp
C++
pennylane_lightning_gpu/src/util/TSQueue.hpp
PennyLaneAI/pennylane-lightning-gpu
1b2a361f68c8580457e61cc706d644c4cbfe04ad
[ "Apache-2.0" ]
9
2022-03-14T15:18:08.000Z
2022-03-30T03:05:36.000Z
pennylane_lightning_gpu/src/util/TSQueue.hpp
PennyLaneAI/pennylane-lightning-gpu
1b2a361f68c8580457e61cc706d644c4cbfe04ad
[ "Apache-2.0" ]
6
2022-03-18T13:44:10.000Z
2022-03-31T22:07:25.000Z
pennylane_lightning_gpu/src/util/TSQueue.hpp
PennyLaneAI/pennylane-lightning-gpu
1b2a361f68c8580457e61cc706d644c4cbfe04ad
[ "Apache-2.0" ]
null
null
null
#pragma once #include <condition_variable> #include <memory> #include <mutex> #include <queue> /** @brief This class implements a simplified thread-safe queue allowing * concurrent access from multiple threads. This follows the implementation of * `threadsafe_queue` from C++: Concurrency in Action Ch 6 by A. Willia...
26.2
78
0.552832
PennyLaneAI
1295cf514645920b71d8d4467f5fba18cb0156e1
4,919
cpp
C++
ShipTools/Quantizer.cpp
sjohal21/Floating-Sandbox
0170e3696ed4f012f5f17fdbbdaef1af4117f495
[ "CC-BY-4.0" ]
44
2018-07-08T16:44:53.000Z
2022-02-06T14:07:30.000Z
ShipTools/Quantizer.cpp
sjohal21/Floating-Sandbox
0170e3696ed4f012f5f17fdbbdaef1af4117f495
[ "CC-BY-4.0" ]
31
2019-03-24T16:00:38.000Z
2022-02-24T20:23:18.000Z
ShipTools/Quantizer.cpp
sjohal21/Floating-Sandbox
0170e3696ed4f012f5f17fdbbdaef1af4117f495
[ "CC-BY-4.0" ]
24
2018-11-08T21:58:53.000Z
2022-01-12T12:04:42.000Z
/*************************************************************************************** * Original Author: Gabriele Giuseppini * Created: 2018-06-25 * Copyright: Gabriele Giuseppini (https://github.com/GabrieleGiuseppini) **************************************************************************************...
30.552795
106
0.52409
sjohal21
1295deb94f3f35cc2bcc12d8e9668173b8970cf5
884
hpp
C++
include/apply/tuple.hpp
gwankyun/apply
f332626429a19815feb270a207ee2917e55d6324
[ "MIT" ]
null
null
null
include/apply/tuple.hpp
gwankyun/apply
f332626429a19815feb270a207ee2917e55d6324
[ "MIT" ]
null
null
null
include/apply/tuple.hpp
gwankyun/apply
f332626429a19815feb270a207ee2917e55d6324
[ "MIT" ]
null
null
null
#pragma once #include "common.hpp" #if HAS_INCLUDE(tuple) # include <tuple> // std::tuple std::make_tuple std::get #endif namespace lite { // std::tuple # ifndef APPLY_STD_GET # define APPLY_STD_GET(z, n, x) BOOST_PP_COMMA_IF(n) std::get<n>(x) # endif template<typename F, typename T0> inline auto a...
26.787879
94
0.650452
gwankyun
1297d95dca1dd54d416cfebaf5a547f8ef0643a0
9,519
cpp
C++
src/raven_src/src/GroundwaterModel.cpp
Okanagan-Basin-Water-Board/obwb-hydro-modelling
91ee6b914e344de65a495093c3b9427986182ef2
[ "Artistic-2.0" ]
null
null
null
src/raven_src/src/GroundwaterModel.cpp
Okanagan-Basin-Water-Board/obwb-hydro-modelling
91ee6b914e344de65a495093c3b9427986182ef2
[ "Artistic-2.0" ]
null
null
null
src/raven_src/src/GroundwaterModel.cpp
Okanagan-Basin-Water-Board/obwb-hydro-modelling
91ee6b914e344de65a495093c3b9427986182ef2
[ "Artistic-2.0" ]
null
null
null
#include "GroundwaterClass.h" string FilenamePrepare(string filebase,const optStruct &Options); //Defined in StandardOutput.cpp CGroundwaterModel::CGroundwaterModel(CModel *pModel) { _pModel=pModel; _nAquiferStacks=0; _pAQStacks=NULL; _pGWGeo=NULL; _nGWSP=0; _pGWSP=NULL; _nOEC=0; ...
33.996429
122
0.576426
Okanagan-Basin-Water-Board
129860a22fc091310913c5695741c22ceffc106b
11,678
cpp
C++
Alien Engine/Alien Engine/ComponentImage.cpp
PolRecasensSarra/Alien-GameEngine
dac1d9793ddec77186f1f198f395807f010fab96
[ "MIT" ]
null
null
null
Alien Engine/Alien Engine/ComponentImage.cpp
PolRecasensSarra/Alien-GameEngine
dac1d9793ddec77186f1f198f395807f010fab96
[ "MIT" ]
null
null
null
Alien Engine/Alien Engine/ComponentImage.cpp
PolRecasensSarra/Alien-GameEngine
dac1d9793ddec77186f1f198f395807f010fab96
[ "MIT" ]
null
null
null
#include "ComponentImage.h" #include "GameObject.h" #include "Application.h" #include "ReturnZ.h" #include "ResourceTexture.h" #include "ComponentTransform.h" #include "ModuleUI.h" #include "PanelGame.h" #include "FileNode.h" #include "imgui/imgui_internal.h" ComponentImage::ComponentImage(GameObject* attach, float2 si...
27.607565
145
0.673317
PolRecasensSarra
129b1424e07bbbf6bb1a09d7d3f910b30f2a1d5b
12,508
cc
C++
src/platform/ceph_signal.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
1
2021-01-11T14:19:51.000Z
2021-01-11T14:19:51.000Z
src/platform/ceph_signal.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
src/platform/ceph_signal.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
/* * Ceph - scalable distributed file system * * Copyright (C) 2011 New Dream Network * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Foundation. See file COPYING. * */ /** * Cop...
28.688073
79
0.670611
pengdu
129fdd0050d8aaadd311f7dc679f87b764d13c11
34,550
cc
C++
test/aarch32/test-assembler-cond-rd-rn-rm-t32.cc
Componolit/android_external_vixl
0cc1043fc66e89d6f0d538a10668a7b3bb1a372b
[ "BSD-3-Clause" ]
null
null
null
test/aarch32/test-assembler-cond-rd-rn-rm-t32.cc
Componolit/android_external_vixl
0cc1043fc66e89d6f0d538a10668a7b3bb1a372b
[ "BSD-3-Clause" ]
null
null
null
test/aarch32/test-assembler-cond-rd-rn-rm-t32.cc
Componolit/android_external_vixl
0cc1043fc66e89d6f0d538a10668a7b3bb1a372b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016, VIXL authors // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions ...
53.235747
80
0.563792
Componolit
12b2885c57a6d075d8fc2ad2b9aef11f52a4c7c1
1,977
cpp
C++
libs/fnd/string_view/test/src/unit_test_fnd_string_view_literals.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/string_view/test/src/unit_test_fnd_string_view_literals.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/string_view/test/src/unit_test_fnd_string_view_literals.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file unit_test_fnd_string_view_literals.cpp * * @brief * * @author myoukaku */ #include <bksge/fnd/string_view.hpp> #include <bksge/fnd/type_traits/is_same.hpp> #include <bksge/fnd/config.hpp> #include <gtest/gtest.h> #include "constexpr_test.hpp" namespace bksge_test { namespace string_...
22.465909
81
0.654527
myoukaku
12bbc86cdc9617e22aaa54c61cbb6d8ca65b382d
1,480
cpp
C++
tests/exponential_smoothing.tests.cpp
hiddeninplainsight/EmbeddedHelperLibrary
dd194d364497fb1fdd8bccacd874e84e91a1a9f8
[ "MIT" ]
null
null
null
tests/exponential_smoothing.tests.cpp
hiddeninplainsight/EmbeddedHelperLibrary
dd194d364497fb1fdd8bccacd874e84e91a1a9f8
[ "MIT" ]
null
null
null
tests/exponential_smoothing.tests.cpp
hiddeninplainsight/EmbeddedHelperLibrary
dd194d364497fb1fdd8bccacd874e84e91a1a9f8
[ "MIT" ]
1
2021-07-20T04:59:30.000Z
2021-07-20T04:59:30.000Z
#include <ehl/exponential_smoothing.h> #include <unity_cpp.h> #include <ehl/algorithm.h> TEST_GROUP(exponential_smoothing); TEST_SETUP(exponential_smoothing) { } TEST_TEAR_DOWN(exponential_smoothing) { } TEST(exponential_smoothing, A_smoothing_factor_of_1_applies_no_smoothing) { ehl::exponential_smoothing<float> sm...
24.666667
78
0.791892
hiddeninplainsight
520f7a223d25220c09340e710749de5d40699d1d
1,039
hpp
C++
Engine/include/Engine/Graphics/Camera.hpp
WoozChucky/VulkanEngine
f5ee637e07b88b17e140902681f23eeb89eccf4c
[ "MIT" ]
null
null
null
Engine/include/Engine/Graphics/Camera.hpp
WoozChucky/VulkanEngine
f5ee637e07b88b17e140902681f23eeb89eccf4c
[ "MIT" ]
null
null
null
Engine/include/Engine/Graphics/Camera.hpp
WoozChucky/VulkanEngine
f5ee637e07b88b17e140902681f23eeb89eccf4c
[ "MIT" ]
null
null
null
// // Created by nunol on 12/31/2021. // #ifndef GL_ENGINE_INCLUDE_ENGINE_GRAPHICS_CAMERA_HPP_ #define GL_ENGINE_INCLUDE_ENGINE_GRAPHICS_CAMERA_HPP_ #define GLM_FORCE_RADIANS #define GLM_FORCE_DEPTH_ZERO_TO_ONE #include <glm/glm.hpp> #include "Abstractions/DataTypes.hpp" namespace nl::gfx { class Camera{ public:...
25.341463
106
0.752647
WoozChucky
5212bc9134a7528bed4bd2dbb8fa00f06f242480
496
cpp
C++
cpp_algs/strings/substring_search/test_regexpr.cpp
vitalir2/AlgorithmsCpp
f9a1b7a0b51c6f122ff600008d2c0ef72a26502f
[ "MIT" ]
null
null
null
cpp_algs/strings/substring_search/test_regexpr.cpp
vitalir2/AlgorithmsCpp
f9a1b7a0b51c6f122ff600008d2c0ef72a26502f
[ "MIT" ]
null
null
null
cpp_algs/strings/substring_search/test_regexpr.cpp
vitalir2/AlgorithmsCpp
f9a1b7a0b51c6f122ff600008d2c0ef72a26502f
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "regexp_nfa.cpp" int main() { std::string pattern; std::cout << "Enter pattern to find in the next string\n"; std::cin >> pattern; pattern = '(' + pattern + ')'; // for working NFA regexp(pattern); std::string str; std::cout << "Enter string\n"; std::cin >...
22.545455
60
0.608871
vitalir2
52163cab9b5efacfb11ef5fe52f8c09716db4478
344
hpp
C++
include/bvestl/util/inlining_util.hpp
BVE-Reborn/bvestl
4c6e513444c2b638f8148e1affdae1cbf86bf5f1
[ "MIT" ]
1
2019-05-06T15:50:13.000Z
2019-05-06T15:50:13.000Z
include/bvestl/util/inlining_util.hpp
BVE-Reborn/eastl-polyalloc
4c6e513444c2b638f8148e1affdae1cbf86bf5f1
[ "MIT" ]
1
2019-07-13T16:19:17.000Z
2019-07-13T18:44:51.000Z
include/bvestl/util/inlining_util.hpp
BVE-Reborn/eastl-polyalloc
4c6e513444c2b638f8148e1affdae1cbf86bf5f1
[ "MIT" ]
1
2019-07-04T23:44:29.000Z
2019-07-04T23:44:29.000Z
#pragma once #ifdef _MSC_VER #define FOUNDATIONAL_FORCE_INLINE __forceinline #elif defined(__GNUC__) || defined(__clang__) #define FOUNDATIONAL_FORCE_INLINE __attribute__((always_inline)) inline #else /** * \ingroup utilities * * Attribute that forces the inliner to inline the function. */ #define FOUNDATIONAL_FOR...
22.933333
71
0.799419
BVE-Reborn
52189f135a998e083b32265b62d4807cb7b32be3
887
cpp
C++
codegen/t10.cpp
Engineev/Compiler-2020-testcases
f1fb48d326c164c61f9f5b4cb78a486d5303f918
[ "MIT" ]
10
2020-02-02T08:01:15.000Z
2020-03-02T12:28:04.000Z
codegen/t10.cpp
Engineev/Compiler-2020-testcases
f1fb48d326c164c61f9f5b4cb78a486d5303f918
[ "MIT" ]
1
2021-04-25T16:56:48.000Z
2021-04-25T16:56:48.000Z
codegen/t10.cpp
Engineev/Compiler-2020-testcases
f1fb48d326c164c61f9f5b4cb78a486d5303f918
[ "MIT" ]
3
2020-02-16T07:10:20.000Z
2020-02-27T09:01:54.000Z
/* Test Package: Codegen Author: 14' Shichao Xu Time: 2020-01-25 Input: === input === === end === Output: === output === 1 1029 171 === end === ExitCode: 0 InstLimit: -1 Origin Package: Codegen Pretest-534 */ #include<cstdio> int gcd5(int x, int y); int gcd(int x, int y) { if (x%y == 0) return y; else return gcd5...
13.646154
38
0.550169
Engineev
521a9723bfe2295c7919b2638d13069267115611
2,367
hpp
C++
src/parsers/parser_bambed.hpp
danielnavarrogomez/Anaquin
563dbeb25aff15a55e4309432a967812cbfa0c98
[ "BSD-3-Clause" ]
null
null
null
src/parsers/parser_bambed.hpp
danielnavarrogomez/Anaquin
563dbeb25aff15a55e4309432a967812cbfa0c98
[ "BSD-3-Clause" ]
null
null
null
src/parsers/parser_bambed.hpp
danielnavarrogomez/Anaquin
563dbeb25aff15a55e4309432a967812cbfa0c98
[ "BSD-3-Clause" ]
null
null
null
#ifndef PARSER_BAMBED_HPP #define PARSER_BAMBED_HPP #include "data/dinters.hpp" #include "parsers/parser_bam.hpp" namespace Anaquin { /* * Builds support for BED regions on top of SAM/BAM alignments */ struct ParserBAMBED { struct Stats { ID2Intervals inters; ...
26.3
87
0.339248
danielnavarrogomez
521b96b5b10b1526524ed7d0cbb8cca63f0e2f5d
3,054
hpp
C++
src/org/apache/poi/ss/formula/functions/LookupUtils.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/functions/LookupUtils.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/functions/LookupUtils.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/formula/functions/LookupUtils.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/ss/formula/fwd-POI.hpp> #include <org/apache/poi/ss/formula/eval/fwd-POI.hpp> #include <org/apache/poi/ss/formula/functions/fwd-POI.hpp> #include <java/lang/Object.hpp> struct...
50.9
181
0.789784
pebble2015
521c35bc6f247f450c4fbcfab4e9738cde4cc7ec
3,215
hpp
C++
bitsfleamain/src/include/review.hpp
bitsflea/bitsfleamain
92fc98731c4139ff56e06e995f4b8a7c0cd89a1e
[ "MIT" ]
null
null
null
bitsfleamain/src/include/review.hpp
bitsflea/bitsfleamain
92fc98731c4139ff56e06e995f4b8a7c0cd89a1e
[ "MIT" ]
null
null
null
bitsfleamain/src/include/review.hpp
bitsflea/bitsfleamain
92fc98731c4139ff56e06e995f4b8a7c0cd89a1e
[ "MIT" ]
null
null
null
#pragma once #include <eosio/eosio.hpp> #include <eosio/asset.hpp> #include <eosio/time.hpp> #include <eosio/crypto.hpp> #include <string> #include "types.hpp" using namespace std; using namespace eosio; namespace rareteam { enum ArbitStatus : uint32_t { AS_APPLY = 0, AS_WAIT = 100, AS_...
31.213592
107
0.634837
bitsflea
52277122b5c19f11ae8d81b2d40f85c09faf8b24
1,510
cpp
C++
cpp/5719.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
9
2021-01-15T13:36:39.000Z
2022-02-23T03:44:46.000Z
cpp/5719.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
1
2021-07-31T17:11:26.000Z
2021-08-02T01:01:03.000Z
cpp/5719.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio cin.tie(0)->sync_with_stdio(0) using namespace std; constexpr int INF = 1e9 + 7; using pii = pair<int, int>; using vi = vector<int>; using vvp = vector<vector<pii>>; int main() { fastio; for (int n, m; cin >> n >> m && n;) { //input int st, en; cin >> st >> en; vvp adj(...
26.964286
69
0.537086
jinhan814
5229c875fe68cc7217db5cce739db13972292d62
341
cpp
C++
chapter-16/16.18.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-16/16.18.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-16/16.18.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// (a) template <typename T, typename U, typename V> void f1(T, U, V); // (b) template <typename T> T f2(T &); // (c) template <typename T> inline T foo(T, unsigned int*); // (d) template <typename T> void f4(T, T); // (e) typedef char Ctype; // template declaration below hides this typedef template <typename Ctype...
20.058824
63
0.656891
zero4drift
522a78e4fe0cb99fec5dd3531621acb0e88dbeb7
6,006
hpp
C++
compiler/src/symbol/type_class_handler.hpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
15
2017-08-15T20:46:44.000Z
2021-12-15T02:51:13.000Z
compiler/src/symbol/type_class_handler.hpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
null
null
null
compiler/src/symbol/type_class_handler.hpp
TuplexLanguage/tuplex
fc436c78224522663e40e09d36f83570fd76ba2d
[ "Apache-2.0" ]
1
2017-09-28T14:48:15.000Z
2017-09-28T14:48:15.000Z
#pragma once #include "type_class.hpp" #include "util/printable.hpp" /* forward declarations pertaining to LLVM code generation */ class LlvmGenerationContext; class GenScope; namespace llvm { class Type; class StructType; class Value; class Constant; class DIType; } class TxActualType; /** Contains the type-clas...
50.470588
172
0.744922
TuplexLanguage
522bb5911688640f86d66654237a3bc83fb6f8f9
12,182
hpp
C++
src/framework/shared/inc/private/km/fxdmaenabler.hpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
994
2015-03-18T21:37:07.000Z
2019-04-26T04:04:14.000Z
src/framework/shared/inc/private/km/fxdmaenabler.hpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
13
2019-06-13T15:58:03.000Z
2022-02-18T22:53:35.000Z
src/framework/shared/inc/private/km/fxdmaenabler.hpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
350
2015-03-19T04:29:46.000Z
2019-05-05T23:26:50.000Z
/*++ Copyright (c) Microsoft Corporation Module Name: FxDmaEnabler.hpp Abstract: WDF DMA Enabler support Environment: Kernel mode only. Notes: Revision History: --*/ #ifndef __FX_DMA_ENABLER_HPP__ #define __FX_DMA_ENABLER_HPP__ #include "FxDmaEnablerCallbacks.hpp" // // Dma Description structu...
23.381958
94
0.606633
IT-Enthusiast-Nepal
522c71a77f3e29465decfd69a883dde8356c1401
2,418
hpp
C++
src/xalanc/XercesParserLiaison/XercesLiaisonXalanDOMStringPool.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XercesParserLiaison/XercesLiaisonXalanDOMStringPool.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XercesParserLiaison/XercesLiaisonXalanDOMStringPool.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 1999-2004 The Apache Software 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 requir...
25.723404
99
0.768817
rherardi
5237353f9eec6e20467d31d70d8908e677fc208e
643
cpp
C++
12-integer-to-roman/12-integer-to-roman.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
12-integer-to-roman/12-integer-to-roman.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
12-integer-to-roman/12-integer-to-roman.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
class Solution { public: string intToRoman(int num) { map<int, string> mp={ {1,"I"}, {4, "IV"}, {5, "V"}, {9, "IX"}, {10, "X"}, {40, "XL"}, {50, "L"}, {90, "XC"}, {100, "C"}, {400,...
23.814815
59
0.284603
SouvikChan
5237d5408982e16569da994b760b0e743c0395d9
22,030
cpp
C++
BaseLibrary/XMLParser.cpp
edwig/BaseLibrary
af9bb1ffba08384765ace34e211255e307038352
[ "MIT" ]
1
2022-03-28T10:44:25.000Z
2022-03-28T10:44:25.000Z
BaseLibrary/XMLParser.cpp
edwig/BaseLibrary
af9bb1ffba08384765ace34e211255e307038352
[ "MIT" ]
null
null
null
BaseLibrary/XMLParser.cpp
edwig/BaseLibrary
af9bb1ffba08384765ace34e211255e307038352
[ "MIT" ]
1
2022-03-28T10:44:26.000Z
2022-03-28T10:44:26.000Z
///////////////////////////////////////////////////////////////////////////////// // // SourceFile: XMLParser.cpp // // Copyright (c) 2014-2022 ir. W.E. Huisman // All rights reserved // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation file...
24.697309
116
0.594553
edwig
523b7423bc7d2138380a3f42f5658b563a1af3f7
17,041
hpp
C++
vision/ext/xcl2/xf_opencl_wrap.hpp
Aperture-Electronic/Vitis_Libraries
e178d54f82c90f1a1e47f599f401f8cbf8df86d7
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
dsa/WAA-TRD/accel/detection-pre/ext/xcl2/xf_opencl_wrap.hpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
dsa/WAA-TRD/accel/detection-pre/ext/xcl2/xf_opencl_wrap.hpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
#ifndef _XF_OPENCL_WRAPPER_H #define _XF_OPENCL_WRAPPER_H #include <iostream> #include "common/xf_headers.hpp" #include "xcl2.hpp" #ifndef ASSERT #define ASSERT(x) assert(x) #endif template <typename T> class XclIn; class XclIn2; template <typename T> class XclOut; class XclOut2; struct cl_buffer_wrapper { void...
34.218876
119
0.577607
Aperture-Electronic
523c8a181bf623b63a524386bd38c6419ee46ea4
9,857
cpp
C++
DirectX12_Box/BoxApp.cpp
luchu1993/DirectX12_Tutorials
cabfb1f9a0493324b5df0de977b0a922445a1661
[ "MIT" ]
null
null
null
DirectX12_Box/BoxApp.cpp
luchu1993/DirectX12_Tutorials
cabfb1f9a0493324b5df0de977b0a922445a1661
[ "MIT" ]
null
null
null
DirectX12_Box/BoxApp.cpp
luchu1993/DirectX12_Tutorials
cabfb1f9a0493324b5df0de977b0a922445a1661
[ "MIT" ]
1
2021-04-26T20:12:25.000Z
2021-04-26T20:12:25.000Z
#include "BoxApp.h" using namespace DirectX; using namespace Microsoft::WRL; BoxApp::BoxApp(HINSTANCE hInstance) : Super(hInstance) { mMainWndCaption = L"Box App"; } void BoxApp::Init() { Super::Init(); ThrowIfFailed(mCommandList->Reset(mDirectCmdListAlloc.Get(), nullptr)); BuildDesciptorHeaps(); BuildConsta...
30.996855
96
0.749011
luchu1993
523c9cf66995c84f54f1ebf62582ddb0fe35ce15
3,273
cpp
C++
src/private/ply_data.cpp
Svennny/isomesh
be7ed638079a81b1ca468833aa2972656277aaaf
[ "MIT" ]
4
2019-04-08T17:36:53.000Z
2020-04-11T18:53:29.000Z
src/private/ply_data.cpp
Svennny/isomesh
be7ed638079a81b1ca468833aa2972656277aaaf
[ "MIT" ]
null
null
null
src/private/ply_data.cpp
Svennny/isomesh
be7ed638079a81b1ca468833aa2972656277aaaf
[ "MIT" ]
2
2020-01-26T18:55:41.000Z
2020-09-30T20:10:11.000Z
/* This file is part of Isomesh library, released under MIT license. Copyright (c) 2019 Nikita Sirgienko (warquark@gmail.com) */ #include "ply_data.hpp" #include <fstream> #include <array> #include <string> #include <iostream> #include <cmath> PlyData::PlyData(): m_loaded(false), m_directWindingOrder(true), m_...
22.888112
92
0.672166
Svennny
5240a220ba34f78c31bd90a2c4c8c229e8d13ed1
459
cpp
C++
main.cpp
AZMDDY/rwx_json
dae815112cacdf2293d6b293066f8335f8055534
[ "MIT" ]
1
2020-10-24T09:28:01.000Z
2020-10-24T09:28:01.000Z
main.cpp
AZMDDY/rwx_json
dae815112cacdf2293d6b293066f8335f8055534
[ "MIT" ]
null
null
null
main.cpp
AZMDDY/rwx_json
dae815112cacdf2293d6b293066f8335f8055534
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "rwx_json.hpp" using namespace std; int main(int argc, char** argv) { RwxJson rwxjson; JsonContent jc; jc["/name"] = "zzb"; jc["/age"] = 24; jc["/friend/0/name"] = "hmt"; jc["/friend/0/age"] = 22; jc["/friend/1/name"] = "hzw"; jc["/friend/1...
21.857143
33
0.566449
AZMDDY
5242ae9fcd35dd0222d9bc50a401c61ab7e50f40
861
cpp
C++
utr-application/utest/stubs/em_cmu.cpp
gregbreen/uncannier-thunderboard-react
ac7039d48aed798594b6dcc0a6768d17d53d9802
[ "MIT" ]
1
2020-07-19T11:14:28.000Z
2020-07-19T11:14:28.000Z
utr-application/utest/stubs/em_cmu.cpp
gregbreen/uncannier-thunderboard-react
ac7039d48aed798594b6dcc0a6768d17d53d9802
[ "MIT" ]
14
2018-10-17T13:19:47.000Z
2019-06-15T13:32:22.000Z
utr-application/utest/stubs/em_cmu.cpp
gregbreen/uncannier-thunderboard-react
ac7039d48aed798594b6dcc0a6768d17d53d9802
[ "MIT" ]
null
null
null
///----------------------------------------------------------------------------- /// /// @file em_cmu.cpp /// /// @brief Stubs for platform/emlib/src/em_cmu.c /// /// @copyright Copyright (c) Uncannier Software 2018 /// ///----------------------------------------------------------------------------- #include <cstdint>...
20.023256
91
0.607433
gregbreen
524a967119f877218d1961d2958386ad798b9b65
1,712
cpp
C++
Sort/merge_sort_src/bottom_up_merge_sort.cpp
yichenluan/Algorithm101
a516fa5dad34ed431fa6fb2efab7bce4a90213bc
[ "MIT" ]
1
2018-10-30T10:02:11.000Z
2018-10-30T10:02:11.000Z
Sort/merge_sort_src/bottom_up_merge_sort.cpp
yichenluan/Algorithm101
a516fa5dad34ed431fa6fb2efab7bce4a90213bc
[ "MIT" ]
null
null
null
Sort/merge_sort_src/bottom_up_merge_sort.cpp
yichenluan/Algorithm101
a516fa5dad34ed431fa6fb2efab7bce4a90213bc
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> using namespace std; template<class RandomIt> void merge(RandomIt aux_it, RandomIt src_it, RandomIt left, RandomIt mid, RandomIt right) { // a: [left, mid) | b: [mid, right) auto aux_left = aux_it + (left - src_it); auto aux_right = aux_left + (mid - left); auto...
27.612903
91
0.553154
yichenluan
524a96cfbd4aa94839e07f0d63eca70b9708b3e0
6,289
cpp
C++
DISCONTINUED/runtime/RegExpObject.cpp
openaphid/AJ
0c81ec4f297cf981423e1aa3b3cf0dc448d98052
[ "Apache-2.0" ]
2
2016-11-08T07:27:59.000Z
2016-11-29T12:22:19.000Z
DISCONTINUED/runtime/RegExpObject.cpp
PioneerLab/OpenAphid-AJ
0c81ec4f297cf981423e1aa3b3cf0dc448d98052
[ "Apache-2.0" ]
1
2015-03-30T08:13:25.000Z
2015-03-31T10:45:12.000Z
DISCONTINUED/runtime/RegExpObject.cpp
PioneerLab/OpenAphid-AJ
0c81ec4f297cf981423e1aa3b3cf0dc448d98052
[ "Apache-2.0" ]
2
2015-05-23T06:43:01.000Z
2015-11-27T14:52:31.000Z
/* Copyright 2012 Aphid Mobile 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, software d...
32.755208
128
0.73716
openaphid
524e397f7e0a9002374ca9944fe5262660dd8f6c
2,718
hpp
C++
packages/monte_carlo/collision/electron/src/MonteCarlo_ElectroionizationSubshellElectronScatteringDistributionACEFactory.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/collision/electron/src/MonteCarlo_ElectroionizationSubshellElectronScatteringDistributionACEFactory.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/collision/electron/src/MonteCarlo_ElectroionizationSubshellElectronScatteringDistributionACEFactory.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_ElectroionizationSubshellElectronScatteringDistributionACEFactory.hpp //! \author Luke Kersting //! \brief The subshell electroionization scattering distribution ACE factory declaration //! //--------------------...
40.567164
101
0.733628
bam241
524e80cb1230abf1cb569a1c9eff77070a6eea2f
5,005
cpp
C++
MedianOfTwoSortedArrays.cpp
hgfeaon/leetcode
1e2a562bd8341fc57a02ecff042379989f3361ea
[ "BSD-3-Clause" ]
null
null
null
MedianOfTwoSortedArrays.cpp
hgfeaon/leetcode
1e2a562bd8341fc57a02ecff042379989f3361ea
[ "BSD-3-Clause" ]
null
null
null
MedianOfTwoSortedArrays.cpp
hgfeaon/leetcode
1e2a562bd8341fc57a02ecff042379989f3361ea
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <cstdlib> #include <cmath> #include <algorithm> using namespace std; class Solution { public: double findMedianSortedArrays(int A[], int m, int B[], int n) { int ia = 0, ib = 0; int it = -1; int im = (m + n - 1) / 2; int val= 0; bool empty...
29.441176
86
0.355445
hgfeaon
524ea6aff7951a254a75d747c13f6c4c1e28ac97
1,498
cpp
C++
src/prime1/MREA.cpp
Pwootage/libderp
b6568766dea7509266b0baa34cc96de47c804bfe
[ "MIT" ]
1
2022-03-19T02:44:21.000Z
2022-03-19T02:44:21.000Z
src/prime1/MREA.cpp
Pwootage/libderp
b6568766dea7509266b0baa34cc96de47c804bfe
[ "MIT" ]
null
null
null
src/prime1/MREA.cpp
Pwootage/libderp
b6568766dea7509266b0baa34cc96de47c804bfe
[ "MIT" ]
null
null
null
#include <vector> #include <functional> #include <iostream> #include "libderp/prime1/MREA.hpp" using namespace std; namespace libderp { namespace prime1 { MREA::MREA(IDataStream &f) { uint32_t magic = f.read32u(); if (magic != MAGIC) { f.error("MREA::Invalid magic (%x, expected %x)", magic, MAGIC); retur...
23.046154
97
0.683578
Pwootage
525c9e9772bca951e59ce0490ea891c75181ffd7
210
hh
C++
Dron/Pscianprzeszkoda.hh
nedspeed/Dron
2534c8ec9affc0722213e5e42a182466e145123f
[ "MIT" ]
null
null
null
Dron/Pscianprzeszkoda.hh
nedspeed/Dron
2534c8ec9affc0722213e5e42a182466e145123f
[ "MIT" ]
null
null
null
Dron/Pscianprzeszkoda.hh
nedspeed/Dron
2534c8ec9affc0722213e5e42a182466e145123f
[ "MIT" ]
null
null
null
#ifndef PSCIANPRZESZKODA_HH #define PSCIANPRZESZKODA_HH #include "Pscian.hh" #include "Przeszkoda.hh" class Pscianprzeszkoda { public: Pscianprzeszkoda() = default; ~Pscianprzeszkoda() = default; }; #endif
13.125
30
0.771429
nedspeed
525f2c08f549c69a15aef930ecfe3508e79ea53e
445
cpp
C++
src/stdplus/signal.cpp
pzh2386034/stdplus
9148977c89406ee3b096dc5a3bd9e8f22abb7764
[ "Apache-2.0" ]
4
2018-11-05T10:44:47.000Z
2020-11-20T08:16:15.000Z
src/stdplus/signal.cpp
pzh2386034/stdplus
9148977c89406ee3b096dc5a3bd9e8f22abb7764
[ "Apache-2.0" ]
1
2020-11-18T22:40:50.000Z
2020-11-19T16:14:18.000Z
src/stdplus/signal.cpp
pzh2386034/stdplus
9148977c89406ee3b096dc5a3bd9e8f22abb7764
[ "Apache-2.0" ]
2
2018-11-05T10:44:35.000Z
2022-01-14T01:47:39.000Z
#include <signal.h> #include <stdplus/signal.hpp> #include <stdplus/util/cexec.hpp> #include <system_error> namespace stdplus { namespace signal { void block(int signum) { sigset_t set; CHECK_ERRNO(sigprocmask(SIG_BLOCK, nullptr, &set), "sigprocmask get"); CHECK_ERRNO(sigaddset(&set, signum), "sigaddset")...
21.190476
74
0.721348
pzh2386034
525fdfb59dfeaa3350a6ea4dd285bd30cfad826a
18,017
cpp
C++
AgoraClrLibrary/AgoraClrLibrary/AgoraClrChannel.cpp
wulaoh/AgoraCLI
217d3b46b2ca273057b425a6bac2ebab440b3195
[ "MIT" ]
45
2017-03-27T15:17:40.000Z
2021-09-09T12:21:41.000Z
AgoraClrLibrary/AgoraClrLibrary/AgoraClrChannel.cpp
wulaoh/AgoraCLI
217d3b46b2ca273057b425a6bac2ebab440b3195
[ "MIT" ]
47
2017-03-07T08:32:55.000Z
2021-01-08T09:32:31.000Z
AgoraClrLibrary/AgoraClrLibrary/AgoraClrChannel.cpp
wulaoh/AgoraCLI
217d3b46b2ca273057b425a6bac2ebab440b3195
[ "MIT" ]
21
2017-03-16T07:05:25.000Z
2021-09-25T10:00:29.000Z
#include "AgoraClrChannel.h" using namespace AgoraClrLibrary; AgoraClrChannel::AgoraClrChannel(IChannel* channel) : channel(channel), gchs(gcnew List<GCHandle>), events(new AgoraClrChannelEventHandler()), metaObserver(new AgoraClrMetadataObserver()), packetObserver(new AgoraClrPacketObserver()) { bindEventHandle...
37.692469
183
0.820336
wulaoh
5262cba496d52b40b22b7f8bec3c987780f222ff
1,997
cpp
C++
main/src/hal/amp-1.0.0/amp-imu.cpp
intentfulmotion/firmware-amp
fecd97ae3882907af10e05e7e688786110da0461
[ "MIT" ]
null
null
null
main/src/hal/amp-1.0.0/amp-imu.cpp
intentfulmotion/firmware-amp
fecd97ae3882907af10e05e7e688786110da0461
[ "MIT" ]
null
null
null
main/src/hal/amp-1.0.0/amp-imu.cpp
intentfulmotion/firmware-amp
fecd97ae3882907af10e05e7e688786110da0461
[ "MIT" ]
null
null
null
#include <hal/amp-1.0.0/amp-imu.h> lis3dh_sensor_t* AmpIMU::sensor = NULL; AmpIMU::AmpIMU() { spi_bus_init(VSPI_HOST, IMU_CLK, IMU_MISO, IMU_MOSI); // vspi.begin(IMU_MOSI, IMU_MISO, IMU_CLK, 0); } uint8_t AmpIMU::init() { sensor = lis3dh_init_sensor(VSPI_HOST, 0, IMU_CS); return sensor != NULL; } void AmpIM...
22.954023
90
0.651477
intentfulmotion
52632cdb8b92651668ec3eb1a6aaf6f8cd063b54
833
cpp
C++
competitive_programming/programming_contests/uri/justifier.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/uri/justifier.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/uri/justifier.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
// https://www.urionlinejudge.com.br/judge/en/problems/view/1273 #include <iostream> #include <string> #include <vector> using namespace std; int get_greater_size(vector<string> &v) { int max = 0; for (int i = 0; i < v.size(); i++) if (v[i].size() > max) max = v[i].size(); return max; } string concatenate_spa...
16.66
78
0.55102
LeandroTk
526506716fc1d8c7f4babea5587883ff358dae92
36,009
hpp
C++
include/grassmann_pca_with_trimming.hpp
MPI-Intelligent-Systems-Tuebingen/-Grassmann-Averages-PCA
247ed7c8125057b55fc7ef3f26e8c106e09b8ad0
[ "BSD-3-Clause" ]
26
2015-07-15T11:14:47.000Z
2022-02-08T01:47:55.000Z
include/grassmann_pca_with_trimming.hpp
MPI-Intelligent-Systems-Tuebingen/-Grassmann-Averages-PCA
247ed7c8125057b55fc7ef3f26e8c106e09b8ad0
[ "BSD-3-Clause" ]
1
2015-11-20T11:08:11.000Z
2016-01-01T17:40:30.000Z
include/grassmann_pca_with_trimming.hpp
MPI-Intelligent-Systems-Tuebingen/-Grassmann-Averages-PCA
247ed7c8125057b55fc7ef3f26e8c106e09b8ad0
[ "BSD-3-Clause" ]
4
2018-07-11T12:33:05.000Z
2022-03-29T12:51:49.000Z
// Copyright 2014, Max Planck Society. // Distributed under the BSD 3-Clause license. // (See accompanying file LICENSE.txt or copy at // http://opensource.org/licenses/BSD-3-Clause) #ifndef GRASSMANN_AVERAGES_PCA_TRIMMED_HPP__ #define GRASSMANN_AVERAGES_PCA_TRIMMED_HPP__ /*!@file * Grassmann averages f...
36.669043
185
0.618068
MPI-Intelligent-Systems-Tuebingen
5265e62834d8842cf6bb2437119d9d037b220d2d
5,770
cpp
C++
src/lcp-client-lib/ThreadTimer.cpp
isabelleknott/readium-lcp-client
764b28f5f4d879f771be7e727cf4a79ac0d62d9f
[ "BSD-3-Clause" ]
11
2017-02-24T10:58:19.000Z
2021-12-28T11:24:45.000Z
src/lcp-client-lib/ThreadTimer.cpp
isabelleknott/readium-lcp-client
764b28f5f4d879f771be7e727cf4a79ac0d62d9f
[ "BSD-3-Clause" ]
19
2017-03-10T09:16:04.000Z
2020-01-31T09:20:59.000Z
src/lcp-client-lib/ThreadTimer.cpp
isabelleknott/readium-lcp-client
764b28f5f4d879f771be7e727cf4a79ac0d62d9f
[ "BSD-3-Clause" ]
10
2017-06-14T08:06:42.000Z
2022-01-25T16:49:43.000Z
// Copyright (c) 2016 Mantano // Licensed to the Readium Foundation under one or more contributor license agreements. // // 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 retai...
30.855615
106
0.607799
isabelleknott
526c1ee35dac61276e77d7b9c32ec0d3ee62d13e
12,667
cpp
C++
src/gui/configuration_widget.cpp
aliefhooghe/Gammou
1b29bf6667279fb9edc69dd998409f881eed6cab
[ "BSD-3-Clause" ]
27
2017-12-12T19:31:04.000Z
2022-03-30T02:11:54.000Z
src/gui/configuration_widget.cpp
aliefhooghe/Gammou
1b29bf6667279fb9edc69dd998409f881eed6cab
[ "BSD-3-Clause" ]
null
null
null
src/gui/configuration_widget.cpp
aliefhooghe/Gammou
1b29bf6667279fb9edc69dd998409f881eed6cab
[ "BSD-3-Clause" ]
1
2019-02-20T20:30:56.000Z
2019-02-20T20:30:56.000Z
#include "configuration_widget.h" #include "synthesizer_gui.h" #include "helpers/layout_builder.h" namespace Gammou { class configuration_page final : public abstract_configuration_page { public: configuration_page(configuration_widget& config_widget, configuration_leaf& leaf); configurati...
35.782486
161
0.664956
aliefhooghe
526dca6ac8023ecdb70df8a1ec82a4eb0c1e26f2
532
cpp
C++
Simple Input.cpp
Apoorv0001/HackerBlogs-Practice-Questions
52c95f9d0ade3f38596821c979604c0aa23c78cb
[ "MIT" ]
null
null
null
Simple Input.cpp
Apoorv0001/HackerBlogs-Practice-Questions
52c95f9d0ade3f38596821c979604c0aa23c78cb
[ "MIT" ]
null
null
null
Simple Input.cpp
Apoorv0001/HackerBlogs-Practice-Questions
52c95f9d0ade3f38596821c979604c0aa23c78cb
[ "MIT" ]
null
null
null
/* Given a list of numbers, stop processing input after the cumulative sum of all the input becomes negative. Input Format A list of integers to be processed Constraints All numbers input are integers between -1000 and 1000. Output Format Print all the numbers before the cumulative sum become negative. Sample Input...
13.641026
106
0.708647
Apoorv0001
526eb7b6baede57be6943a15bfb879a5249aee57
3,417
cpp
C++
libmetartc5/src/yangencoder/YangH265EncoderMeta.cpp
metartc/metaRTC
7b3125c9244632c82c55aacd628e6f0d7b151488
[ "MIT" ]
136
2021-12-17T09:17:44.000Z
2022-03-28T09:51:51.000Z
libmetartc5/src/yangencoder/YangH265EncoderMeta.cpp
metartc/metaRTC
7b3125c9244632c82c55aacd628e6f0d7b151488
[ "MIT" ]
2
2021-12-24T02:00:53.000Z
2022-03-28T02:40:12.000Z
libmetartc5/src/yangencoder/YangH265EncoderMeta.cpp
metartc/metaRTC
7b3125c9244632c82c55aacd628e6f0d7b151488
[ "MIT" ]
40
2021-12-17T09:17:48.000Z
2022-03-27T14:40:25.000Z
// // Copyright (c) 2019-2022 yanggaofeng // #include <yangutil/yang_unistd.h> #include <yangavutil/video/YangMeta.h> #include <yangencoder/YangH265EncoderMeta.h> #include <yangencoder/YangH265EncoderSoft.h> YangH265EncoderMeta::YangH265EncoderMeta() { m_lib.loadObject("libx265"); loadLib(); } YangH265EncoderMeta:...
29.456897
145
0.735733
metartc
5270c8e556702e2003954e3c2838caab49715e1b
44
hpp
C++
src/boost_mpl_aux__comparison_op.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__comparison_op.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__comparison_op.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/comparison_op.hpp>
22
43
0.795455
miathedev
527baff0afb897a8a900f155ddd6d731e8fe6815
594
cpp
C++
codes/UVA/10001-19999/uva12034.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva12034.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva12034.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> typedef long long ll; const int N = 1005; const ll MOD = 10056; ll dp[N][N], f[N]; void init () { memset(f, 0, sizeof(f)); memset(dp, 0, sizeof(dp)); dp[1][1] = 1; for (ll i = 1; i <= 1000; i++) { for (ll j = 1; j <= i; j++) { dp[i+1][j] = (dp[i+1][j] + dp[i][j] * j) % ...
17.470588
60
0.454545
JeraKrs
527ce2bb052b77ceb1898668024d969123bcc231
1,330
cpp
C++
src/ManipulatorPlugin/ManipulatorStatement.cpp
future731/choreonoid
e65164dae8725c1ea7ba2aec51d7c7c9738a2fca
[ "MIT" ]
1
2019-08-23T05:48:47.000Z
2019-08-23T05:48:47.000Z
src/ManipulatorPlugin/ManipulatorStatement.cpp
future731/choreonoid
e65164dae8725c1ea7ba2aec51d7c7c9738a2fca
[ "MIT" ]
2
2018-09-05T05:01:23.000Z
2019-08-19T21:03:15.000Z
src/ManipulatorPlugin/ManipulatorStatement.cpp
future731/choreonoid
e65164dae8725c1ea7ba2aec51d7c7c9738a2fca
[ "MIT" ]
3
2019-12-21T17:54:10.000Z
2019-12-27T13:03:29.000Z
#include "ManipulatorStatement.h" #include "ManipulatorProgram.h" #include "BasicManipulatorStatements.h" #include <unordered_map> #include <mutex> using namespace std; using namespace cnoid; namespace { unordered_map<string, ManipulatorStatement::FactoryFunction> factoryMap; mutex factoryMutex; } void Manipulato...
18.219178
85
0.730075
future731
52800d46c36cbefc37afe9a11001c6c0448503cc
1,906
cpp
C++
imdviewer/DialogBarBoneTree.cpp
olivierchatry/iri3d
cae98c61d9257546d0fc81e69709297d04a17a14
[ "MIT" ]
2
2022-01-02T08:12:29.000Z
2022-02-12T22:15:11.000Z
imdviewer/DialogBarBoneTree.cpp
olivierchatry/iri3d
cae98c61d9257546d0fc81e69709297d04a17a14
[ "MIT" ]
null
null
null
imdviewer/DialogBarBoneTree.cpp
olivierchatry/iri3d
cae98c61d9257546d0fc81e69709297d04a17a14
[ "MIT" ]
1
2022-01-02T08:09:51.000Z
2022-01-02T08:09:51.000Z
// DialogBarBoneTree.cpp : implementation file // #include "stdafx.h" #include "ImdViewer.h" #include "ImdViewerDoc.h" #include "DialogBarBoneList.h" #include "DialogBarMeshInfo.h" #include "DialogBarBoneTree.h" #include "DialogBarAnim.h" #include "DialogBarConfig.h" // CDialogBarBoneTree dialog IMPLEMENT_DYNAMIC(C...
32.305085
142
0.768625
olivierchatry
52827d035a865b26a5a861f7e3dda5c68283aae3
1,376
hpp
C++
NodoTrieSCasoPrueba.hpp
pasosdeJesus/Mt77
d00c90509eddfd47b091bf4ce6d8c84aa7d775c7
[ "0BSD" ]
2
2020-08-20T16:17:03.000Z
2020-09-17T19:58:43.000Z
NodoTrieSCasoPrueba.hpp
pasosdeJesus/Mt77
d00c90509eddfd47b091bf4ce6d8c84aa7d775c7
[ "0BSD" ]
2
2020-08-05T19:43:58.000Z
2021-01-27T16:51:08.000Z
NodoTrieSCasoPrueba.hpp
pasosdeJesus/Mt77
d00c90509eddfd47b091bf4ce6d8c84aa7d775c7
[ "0BSD" ]
1
2020-07-10T14:31:28.000Z
2020-07-10T14:31:28.000Z
/** @file NodoTrieSCasoPrueba.hpp * Pruebas de unidad a NodoTrieS * * @package Mt77 * @author Vladimir Támara Patiño. vtamara@pasosdeJesus.org * Dominio público. 2008. Sin garantías * http://creativecommons.org/licenses/publicdomain/ * @version $Id: NodoTrieSCasoPrueba.hpp,v 1.6 2010/03/08 12:02:40 vtamara Exp...
30.577778
82
0.630814
pasosdeJesus
528306d9de793e2ac5f59c003d7a018f74cc8a5a
2,279
cxx
C++
ITS/ITSrec/AliITSOnlineSPDscanInfo.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
ITS/ITSrec/AliITSOnlineSPDscanInfo.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
ITS/ITSrec/AliITSOnlineSPDscanInfo.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
///////////////////////////////////////////////////////////////// // Author: Henrik Tydesjo // // This class is used as a container online. // // It holds information needed for a scan. // // This class should only be used through the interface ...
25.322222
73
0.623958
AllaMaevskaya
52926f502eca4471d546a5201fe6c3cffb627202
2,743
cpp
C++
src/network/networkmanagerproxy.cpp
bubapl/QupZilla
3555a92eaf864fb00cce0c325c4afef582bd2024
[ "BSD-3-Clause" ]
1
2017-05-21T15:31:02.000Z
2017-05-21T15:31:02.000Z
src/network/networkmanagerproxy.cpp
bubapl/QupZilla
3555a92eaf864fb00cce0c325c4afef582bd2024
[ "BSD-3-Clause" ]
null
null
null
src/network/networkmanagerproxy.cpp
bubapl/QupZilla
3555a92eaf864fb00cce0c325c4afef582bd2024
[ "BSD-3-Clause" ]
null
null
null
/* ============================================================ * QupZilla - WebKit based browser * Copyright (C) 2010-2012 David Rosca <nowrep@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software ...
40.338235
165
0.716734
bubapl
5293bcc6786bc1fefe23f7213df2812314c0556f
817
cpp
C++
Advanced/AA1106/AA1106/main.cpp
Eric-Ma-C/PAT-Advanced
ea8b46a780a04b46ab35ebd06c4bf19c3a664380
[ "MIT" ]
null
null
null
Advanced/AA1106/AA1106/main.cpp
Eric-Ma-C/PAT-Advanced
ea8b46a780a04b46ab35ebd06c4bf19c3a664380
[ "MIT" ]
null
null
null
Advanced/AA1106/AA1106/main.cpp
Eric-Ma-C/PAT-Advanced
ea8b46a780a04b46ab35ebd06c4bf19c3a664380
[ "MIT" ]
null
null
null
#include<stdio.h> #include<math.h> #include<vector> #include<algorithm> using namespace std; vector<int> ret; int par[100005]; int cache[100005]; int getlen(int t){ if(cache[t]!=-1){ return cache[t]; } if(par[t]==-1) return 0; return cache[t]=getlen(par[t])+1; } int main(){ int n;double p,r; scanf("%d%lf%l...
14.589286
35
0.571603
Eric-Ma-C
52953001cac9c90c3d47374dad916f5d77d59c63
325
cpp
C++
example/02-default.cpp
martinmoene/type
3bcb6c9b63dc40a131a64a01ccb67184a9364b6f
[ "BSL-1.0" ]
8
2018-03-31T08:13:23.000Z
2019-02-10T06:18:34.000Z
example/02-default.cpp
martinmoene/type
3bcb6c9b63dc40a131a64a01ccb67184a9364b6f
[ "BSL-1.0" ]
6
2018-03-05T13:44:19.000Z
2018-06-05T08:31:45.000Z
example/02-default.cpp
martinmoene/type
3bcb6c9b63dc40a131a64a01ccb67184a9364b6f
[ "BSL-1.0" ]
null
null
null
#include "nonstd/type.hpp" type_DEFINE_TYPE( Integer, numeric, int ) int main() { return to_value( Integer(7) + Integer() ); } // g++ -Wall -std=c++98 -I../include -o 02-default 02-default.cpp && 02-default.exe // cl -nologo -W3 -EHsc -I../include 02-default.cpp && 02-default.exe // 02-default.exe & echo %ERRORLE...
27.083333
83
0.658462
martinmoene
529710d0c54a9f616913cc8e3da6ad3a3b41bf30
2,768
cpp
C++
src/controller.cpp
dheerajmpai/filters-fun
e69bed09b7c15a11b06be4b3d838a4afbc7a1d74
[ "BSD-3-Clause" ]
7
2015-01-17T04:50:51.000Z
2022-03-27T12:33:56.000Z
src/controller.cpp
dheerajmpai/filters-fun
e69bed09b7c15a11b06be4b3d838a4afbc7a1d74
[ "BSD-3-Clause" ]
null
null
null
src/controller.cpp
dheerajmpai/filters-fun
e69bed09b7c15a11b06be4b3d838a4afbc7a1d74
[ "BSD-3-Clause" ]
3
2015-12-03T07:59:18.000Z
2019-11-26T14:55:25.000Z
#include "../include/controller.h" Controller::Controller(const IplImage &src) { m_srcImg = cvCreateImage(cvGetSize(&src), src.depth, src.nChannels); outImg = cvCreateImage(cvGetSize(&src), src.depth, src.nChannels); cvCopy(&src, m_srcImg); cvCopy(&src, outImg); m_gamma = new Gamma(src); m_...
19.631206
95
0.728685
dheerajmpai
5297b33f86252838cbc3643a629caa463bf1976a
192
cpp
C++
src/cg_geometry.cpp
ggerganov/asteroid-generator
90da23ff5cfd7ef4541234db02924e1eef737b83
[ "MIT" ]
2
2019-05-05T13:04:33.000Z
2020-02-25T18:50:04.000Z
src/cg_geometry.cpp
ggerganov/asteroid-generator
90da23ff5cfd7ef4541234db02924e1eef737b83
[ "MIT" ]
null
null
null
src/cg_geometry.cpp
ggerganov/asteroid-generator
90da23ff5cfd7ef4541234db02924e1eef737b83
[ "MIT" ]
1
2020-09-14T14:35:20.000Z
2020-09-14T14:35:20.000Z
/*! \file cg_geometry.cpp * \brief Enter description here. * \author Georgi Gerganov */ #include "cg_geometry.h" namespace CG { Geometry::Geometry() {} Geometry::~Geometry() {} }
13.714286
34
0.651042
ggerganov
529927aea281cd60002c0597ceff3806204b42f6
2,908
hh
C++
src/physics/em/detail/MuBremsstrahlungInteractor.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
src/physics/em/detail/MuBremsstrahlungInteractor.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
src/physics/em/detail/MuBremsstrahlungInteractor.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
36.810127
80
0.600413
amandalund
529aca06128e38ab5bae438ebd2ce44ee8e99343
12,321
cpp
C++
src/caffe/data_transformer2.cpp
whitenightwu/caffe-quant-TI
df1551f184d9d5e850650af0e7a68206d09cea2d
[ "MIT" ]
2
2019-06-06T13:15:46.000Z
2019-06-20T08:14:45.000Z
src/caffe/data_transformer2.cpp
whitenightwu/caffe-quant-TI
df1551f184d9d5e850650af0e7a68206d09cea2d
[ "MIT" ]
null
null
null
src/caffe/data_transformer2.cpp
whitenightwu/caffe-quant-TI
df1551f184d9d5e850650af0e7a68206d09cea2d
[ "MIT" ]
null
null
null
#ifdef USE_OPENCV #include <opencv2/core/core.hpp> #endif // USE_OPENCV #include <string> #include <vector> #include "caffe/data_transformer.hpp" #include "caffe/util/io.hpp" #include "caffe/util/rng.hpp" #ifdef USE_OPENCV #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #endif // US...
35.202857
137
0.653275
whitenightwu
529ea0b5e466e63bac0b08a768f3e46fda172a0a
4,653
cpp
C++
src/VCCS.cpp
tanetakumi/JoSIM
953b6d28860d1c3aa2eee03c7f3e9a504c58742b
[ "MIT" ]
33
2018-07-09T15:29:26.000Z
2021-12-31T07:05:25.000Z
src/VCCS.cpp
tanetakumi/JoSIM
953b6d28860d1c3aa2eee03c7f3e9a504c58742b
[ "MIT" ]
10
2018-07-09T16:28:53.000Z
2022-03-23T12:59:11.000Z
src/VCCS.cpp
tanetakumi/JoSIM
953b6d28860d1c3aa2eee03c7f3e9a504c58742b
[ "MIT" ]
17
2018-05-28T10:33:24.000Z
2022-01-19T09:57:55.000Z
// Copyright (c) 2021 Johannes Delport // This code is licensed under MIT license (see LICENSE for details) #include "JoSIM/VCCS.hpp" #include "JoSIM/Misc.hpp" #include "JoSIM/Errors.hpp" #include "JoSIM/Constants.hpp" #include <utility> using namespace JoSIM; /* Glabel Vo⁺ Vo⁻ Vc⁺ Vc⁻ G Io = GVc ⎡ 0 0 0 0 ...
33
79
0.63357
tanetakumi
52a22ab2cb25419088f9ff71ce023d2dfdb2b147
1,175
cpp
C++
count.cpp
JnCrMx/krunner-count-characters
29a2fec4b3d481418a01f81daf93983c18ec70ef
[ "MIT" ]
null
null
null
count.cpp
JnCrMx/krunner-count-characters
29a2fec4b3d481418a01f81daf93983c18ec70ef
[ "MIT" ]
null
null
null
count.cpp
JnCrMx/krunner-count-characters
29a2fec4b3d481418a01f81daf93983c18ec70ef
[ "MIT" ]
null
null
null
#include "count.h" #include <QApplication> #include <QClipboard> void CharacterCount::match(Plasma::RunnerContext &context) { auto query = context.query(); auto charCount = query.length(); auto wordCount = query.count(' ')+1; QByteArray byteArray = query.toUtf8(); auto byteCount = byteArray.size(); Plasma::Qu...
27.97619
88
0.742979
JnCrMx
52a3e1bfe890e4c2f113ec2dbfb743a8d9bdd77f
8,025
cc
C++
ngraph_bridge/ngraph_tensor_manager.cc
etarakci-hvl/ngraph-bridge
63fbbba3efef784b24ddfcc640a92f5ebb29c730
[ "Apache-2.0" ]
1
2020-11-08T17:03:47.000Z
2020-11-08T17:03:47.000Z
ngraph_bridge/ngraph_tensor_manager.cc
etarakci-hvl/ngraph-bridge
63fbbba3efef784b24ddfcc640a92f5ebb29c730
[ "Apache-2.0" ]
null
null
null
ngraph_bridge/ngraph_tensor_manager.cc
etarakci-hvl/ngraph-bridge
63fbbba3efef784b24ddfcc640a92f5ebb29c730
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
44.583333
81
0.614579
etarakci-hvl
52a49c7e71af6987df6729a077127463cb481570
2,300
cpp
C++
Attic/AtomicEditorReference/Source/UI/Modal/UIProgressModal.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
Attic/AtomicEditorReference/Source/UI/Modal/UIProgressModal.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
Attic/AtomicEditorReference/Source/UI/Modal/UIProgressModal.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // Please see LICENSE.md in repository root for license information // https://github.com/AtomicGameEngine/AtomicGameEngine #include "AtomicEditor.h" #include <Atomic/Core/Context.h> #include "AEEvents.h" #include "UI/UIMainFrame.h" #include "UI/...
23
101
0.703478
honigbeutler123
52a95ce0ded703d61d34a9d17f0c8b42e664fdda
7,374
cpp
C++
AppleOpenSource/WebKit2-7609.3.5.1.3/GPUProcess/GPUConnectionToWebProcess.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
null
null
null
AppleOpenSource/WebKit2-7609.3.5.1.3/GPUProcess/GPUConnectionToWebProcess.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
null
null
null
AppleOpenSource/WebKit2-7609.3.5.1.3/GPUProcess/GPUConnectionToWebProcess.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
null
null
null
/* * Copyright (C) 2019 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
37.815385
213
0.780038
lzackx
52aa3fc1ead1e38e81c18f51fc815817f43dc2bd
4,134
cpp
C++
WaterManager.cpp
PRosenb/WateringSystem
b0655482931fdeae1cd16d66aa737501e24f263e
[ "Apache-2.0" ]
2
2020-09-19T15:43:45.000Z
2021-05-19T16:52:14.000Z
WaterManager.cpp
PRosenb/WateringSystem
b0655482931fdeae1cd16d66aa737501e24f263e
[ "Apache-2.0" ]
null
null
null
WaterManager.cpp
PRosenb/WateringSystem
b0655482931fdeae1cd16d66aa737501e24f263e
[ "Apache-2.0" ]
null
null
null
#include "WaterManager.h" #include "LedState.h" #include <EEPROMWearLevel.h> // https://github.com/PRosenb/EEPROMWearLevel WaterManager::WaterManager() { unsigned int waterMeterStopThreshold = DEFAULT_WATER_METER_STOP_THRESHOLD; waterMeterStopThreshold = EEPROMwl.get(EEPROM_INDEX_WATER_METER_THRESHOLD, waterMeter...
31.8
114
0.744557
PRosenb
52aa7aec255f8583a8f60c7d8d890b080fdde651
409
cpp
C++
Abstraction.cpp
VivekWesley/CPP_BASICS
536d4e3b6c94e13ab5263f38c3a2e80f077b2d29
[ "MIT" ]
null
null
null
Abstraction.cpp
VivekWesley/CPP_BASICS
536d4e3b6c94e13ab5263f38c3a2e80f077b2d29
[ "MIT" ]
null
null
null
Abstraction.cpp
VivekWesley/CPP_BASICS
536d4e3b6c94e13ab5263f38c3a2e80f077b2d29
[ "MIT" ]
1
2022-01-17T09:27:19.000Z
2022-01-17T09:27:19.000Z
// Abstract class demo #include <iostream> using namespace std; class Abstraction { private: int a; int b; public: void setdData(int x, int y) { a = x; b = y; } void display() { cout << "a: " << a << endl; cout << "b: " << b << endl; } }; int main() { ...
12.393939
35
0.488998
VivekWesley
52bb6258fbfbe95f331bf7a9ca8a75c335970239
3,312
cpp
C++
examples/funcs/mr_word.cpp
besquared/sector-sphere
179b93f1b4850bdf65bcbcedd8b5715b9827da08
[ "BSD-3-Clause" ]
1
2015-11-05T15:40:31.000Z
2015-11-05T15:40:31.000Z
examples/funcs/mr_word.cpp
besquared/sector-sphere
179b93f1b4850bdf65bcbcedd8b5715b9827da08
[ "BSD-3-Clause" ]
null
null
null
examples/funcs/mr_word.cpp
besquared/sector-sphere
179b93f1b4850bdf65bcbcedd8b5715b9827da08
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <cstring> #include <set> #include <vector> #include <sphere.h> using namespace std; extern "C" { int mr_word_map(const SInput* input, SOutput* output, SFile* file) { string html = file->m_strHomeDir + input->m_pcUnit; cout << "processing " << html << endl; ou...
22.228188
103
0.514795
besquared
52bb96cff8cd0206e15738f9f309ba596a33e6af
3,323
cpp
C++
Projects/HW3P3/HW3P3.cpp
iamjeffx/CSCE-463
c9724a993909db2f9cb58e9835e8c0ec6efa49e5
[ "MIT" ]
null
null
null
Projects/HW3P3/HW3P3.cpp
iamjeffx/CSCE-463
c9724a993909db2f9cb58e9835e8c0ec6efa49e5
[ "MIT" ]
null
null
null
Projects/HW3P3/HW3P3.cpp
iamjeffx/CSCE-463
c9724a993909db2f9cb58e9835e8c0ec6efa49e5
[ "MIT" ]
1
2022-01-24T09:01:59.000Z
2022-01-24T09:01:59.000Z
#pragma comment(lib, "ws2_32") #define _WINSOCK_DEPRECATED_NO_WARNINGS #include "pch.h" #include "SenderSocket.h" #include "Checksum.h" using namespace std; struct Parameters { public: SenderSocket* ss; char* charBuf; int byteBufferSize; }; DWORD WINAPI SendThread(LPVOID params) { Parameters* p = (...
29.669643
169
0.61601
iamjeffx
1ec6523080a927c80ed2cb9d9c1f2b953c2de5ff
14,542
cpp
C++
source/FAST/Tools/viewer/GUI.cpp
gjertmagne/FAST
acd6f6f365b8ed9e0cedf5a5de99870669b449b0
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Tools/viewer/GUI.cpp
gjertmagne/FAST
acd6f6f365b8ed9e0cedf5a5de99870669b449b0
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Tools/viewer/GUI.cpp
gjertmagne/FAST
acd6f6f365b8ed9e0cedf5a5de99870669b449b0
[ "BSD-2-Clause" ]
null
null
null
#include "GUI.hpp" #include <QVBoxLayout> #include <QHBoxLayout> #include <QPushButton> #include <QLineEdit> #include <QDir> #include <QLabel> #include <QImage> #include <QInputDialog> #include <FAST/Visualization/ImageRenderer/ImageRenderer.hpp> #include <FAST/Visualization/TextRenderer/TextRenderer.hpp> #include <FAS...
39.409214
170
0.652524
gjertmagne
1ec68ee6c58942207483a0acb4162ad35bee0484
25,285
cpp
C++
thirdparty/graph-tools-master/tests/DagAlignerTest.cpp
AlesMaver/ExpansionHunter
274903d26a33cfbc546aac98c85bbfe51701fd3b
[ "BSL-1.0", "Apache-2.0" ]
122
2017-01-06T16:19:31.000Z
2022-03-08T00:05:50.000Z
thirdparty/graph-tools-master/tests/DagAlignerTest.cpp
AlesMaver/ExpansionHunter
274903d26a33cfbc546aac98c85bbfe51701fd3b
[ "BSL-1.0", "Apache-2.0" ]
90
2017-01-04T00:23:34.000Z
2022-02-27T12:55:52.000Z
thirdparty/graph-tools-master/tests/DagAlignerTest.cpp
AlesMaver/ExpansionHunter
274903d26a33cfbc546aac98c85bbfe51701fd3b
[ "BSL-1.0", "Apache-2.0" ]
35
2017-03-02T13:39:58.000Z
2022-03-30T17:34:11.000Z
// // GraphTools library // Copyright 2017-2019 Illumina, Inc. // All rights reserved. // // Author: Roman Petrovski <RPetrovski@illumina.com> // // 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...
32.583763
120
0.534269
AlesMaver
1ec7ee8c530df3a6e60d8df25300175e5a5440b0
474
cpp
C++
Source/Cross/Common/MoCore/FEnvironment.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
3
2016-10-26T11:48:58.000Z
2017-10-24T18:35:17.000Z
Source/Cross/Common/MoCore/FEnvironment.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
null
null
null
Source/Cross/Common/MoCore/FEnvironment.cpp
favedit/MoCross
2a550b3d41b0c33c44c66dd595e84b0e4ee95b08
[ "Apache-2.0" ]
6
2015-03-24T06:40:20.000Z
2019-03-18T13:56:13.000Z
#include "MoCrEnvironment.h" MO_NAMESPACE_BEGIN MO_CLASS_IMPLEMENT_INHERITS(FEnvironment, FInstance); //============================================================ // <T>构造环境。</T> //============================================================ FEnvironment::FEnvironment(){ } //=====================================...
23.7
62
0.348101
favedit
1ec9320c6a0dbf90cb1b7b144e8cbdf61d3675a6
333
cpp
C++
dz5/5.4.12/5.4.12/5.4.12.cpp
vyragosa/Procedural-programming
f2a91b5390e897d501c12e89fd1230e3e50784ef
[ "MIT" ]
null
null
null
dz5/5.4.12/5.4.12/5.4.12.cpp
vyragosa/Procedural-programming
f2a91b5390e897d501c12e89fd1230e3e50784ef
[ "MIT" ]
null
null
null
dz5/5.4.12/5.4.12/5.4.12.cpp
vyragosa/Procedural-programming
f2a91b5390e897d501c12e89fd1230e3e50784ef
[ "MIT" ]
null
null
null
#define _USE_MATH_DEFINES #include <cmath> #include <iostream> using namespace std; int main() { double n; double y = 0, fact = 1; cout << "n: "; cin >> n; if (n > 0) { for (int k = 1; k <= n; k++) { fact *= k; y += 1.0 / k; } cout << "result: " << fact / pow(y, n); } else { cout << "Error (...
12.807692
41
0.483483
vyragosa
1ec9caf03b59929d965ca23476d0ea4391490df1
1,990
cpp
C++
src/behavior/singleagent/planning/deterministic/SD_planner_policy.cpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
4
2019-04-19T00:11:36.000Z
2020-04-08T09:50:37.000Z
src/behavior/singleagent/planning/deterministic/SD_planner_policy.cpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
src/behavior/singleagent/planning/deterministic/SD_planner_policy.cpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
/* * Mark Benjamin 04 March 2019. * Copyright (c) 2019 Mark Benjamin */ #include "SD_planner_policy.h" void SDPlannerPolicy::setSolver(MDPSolverInterface * solver) { if (dynamic_cast<DeterministicPlanner *>(solver) == nullptr) { throw runtime_error("SDPlannerPolicy::setSolver() Planner is not a Determi...
35.535714
151
0.667337
MarkieMark
1ed06a628ed2e683febfbfaec85376c6096ffc12
391
cpp
C++
12.15-asConstant0/main.cpp
andreasfertig/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
107
2021-04-13T12:43:06.000Z
2022-03-30T05:07:16.000Z
12.15-asConstant0/main.cpp
jessesimpson/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
1
2021-04-13T12:59:30.000Z
2021-04-13T13:02:55.000Z
12.15-asConstant0/main.cpp
jessesimpson/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
29
2021-04-13T18:07:03.000Z
2022-03-28T13:44:01.000Z
// Copyright (c) Andreas Fertig. // SPDX-License-Identifier: MIT constexpr int ExpensiveCalculation(int base) { return base + 1; // Well, ... expensive } void Use() { auto value1 = ExpensiveCalculation(2); // #A run-time constexpr auto value2 = ExpensiveCalculation(2); // #B compile-time //++val...
19.55
70
0.641944
andreasfertig
1ed25d168d06bdcae49eacba793e4df56ccb8a5d
594
cpp
C++
RubeusCore/Source/MessageSystem/message_bus.cpp
Rodrirokr/Rubeus
12623b04db959b428b9eb791d3943b11d74c0532
[ "MIT" ]
179
2018-12-22T14:02:02.000Z
2022-01-29T18:26:57.000Z
RubeusCore/Source/MessageSystem/message_bus.cpp
rahil627/Rubeus
dd057d23c94a0406126c32d62889ac83cba47570
[ "MIT" ]
56
2019-01-07T11:55:16.000Z
2020-12-10T21:32:18.000Z
RubeusCore/Source/MessageSystem/message_bus.cpp
rahil627/Rubeus
dd057d23c94a0406126c32d62889ac83cba47570
[ "MIT" ]
20
2018-12-23T11:19:49.000Z
2022-03-11T06:18:10.000Z
/** * @file Source/message_bus.cpp * * @brief Implements the mesage bus class. */ #include <message_bus.h> namespace Rubeus { RMessageBus::RMessageBus() { } RMessageBus::~RMessageBus() { for(size_t i = 0; i < m_MessageQueue.size(); ++i) { delete m_MessageQueue[i]; } } void RMessageBus::post(Mes...
14.487805
55
0.670034
Rodrirokr
1ed6e808d7411402b7e6ca5591eb4d3acccfab8a
8,121
cpp
C++
src/main.cpp
rcetin/snake
e26524b12776921ef0f5eebe65ddf760399829bf
[ "MIT" ]
null
null
null
src/main.cpp
rcetin/snake
e26524b12776921ef0f5eebe65ddf760399829bf
[ "MIT" ]
null
null
null
src/main.cpp
rcetin/snake
e26524b12776921ef0f5eebe65ddf760399829bf
[ "MIT" ]
null
null
null
#include <stdio.h> #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <string.h> #include <string> #include "snake/snake.h" #include "snake/food.h" #include "menu/menu.h" #include "common.h" typedef void (*game_fx)(SDL_Renderer *); game_fx game_fx_array[STATES_ALL]; game_state_e current_state = MAIN_MENU; ...
26.539216
109
0.612732
rcetin
1edd843785a946f6679bea44b74e049ba5cae1dc
11,658
cpp
C++
src/postgres/backend/utils/adt/format_type.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
6
2017-04-28T00:38:52.000Z
2018-11-06T07:06:49.000Z
src/postgres/backend/utils/adt/format_type.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
57
2016-03-19T22:27:55.000Z
2017-07-08T00:41:51.000Z
src/postgres/backend/utils/adt/format_type.cpp
eric-haibin-lin/pelotondb
904d6bbd041a0498ee0e034d4f9f9f27086c3cab
[ "Apache-2.0" ]
4
2016-07-17T20:44:56.000Z
2018-06-27T01:01:36.000Z
/*------------------------------------------------------------------------- * * format_type.c * Display type names "nicely". * * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION * src/backend/u...
26.022321
75
0.678332
jessesleeping
1ee06e970579c28f10416abef293163324decd42
1,196
cpp
C++
test/src/test_optional.cpp
felixguendling/zpp_bits
73a1417c6bf07876b5c2227836d198e8b5448018
[ "MIT" ]
null
null
null
test/src/test_optional.cpp
felixguendling/zpp_bits
73a1417c6bf07876b5c2227836d198e8b5448018
[ "MIT" ]
null
null
null
test/src/test_optional.cpp
felixguendling/zpp_bits
73a1417c6bf07876b5c2227836d198e8b5448018
[ "MIT" ]
null
null
null
#include "test.h" TEST(optional, valid) { auto [data, in, out] = zpp::bits::data_in_out(); out(std::optional{std::vector{1,2,3,4}}).or_throw(); EXPECT_EQ(hexlify(data), "01" "04000000" "01000000" "02000000" "03000000" "040...
21.357143
61
0.514214
felixguendling
1ee21c0854ffbf69c016277e870802bca18cbf44
58
cpp
C++
tests/unit/includedb/self/a.cpp
snizovtsev/compdb
6879a78f48c3b57346379a0fdee82cc5d5829c97
[ "MIT" ]
203
2016-08-14T23:21:34.000Z
2022-03-22T10:41:34.000Z
tests/unit/includedb/self/a.cpp
snizovtsev/compdb
6879a78f48c3b57346379a0fdee82cc5d5829c97
[ "MIT" ]
25
2017-03-29T14:00:27.000Z
2022-03-10T12:55:44.000Z
tests/unit/includedb/self/a.cpp
snizovtsev/compdb
6879a78f48c3b57346379a0fdee82cc5d5829c97
[ "MIT" ]
19
2017-06-22T16:49:08.000Z
2022-02-11T04:28:04.000Z
#ifndef INCLUDED #define INCLUDED #include "a.cpp" #endif
11.6
16
0.758621
snizovtsev
1ee69de84a2043f4f1dcac0cbc550a4bcf2f1eac
429
hpp
C++
include/comET.hpp
dkaramit/comET
dbbb66d5839d6d6d0fd45a32e49fb07b988ddf48
[ "MIT" ]
null
null
null
include/comET.hpp
dkaramit/comET
dbbb66d5839d6d6d0fd45a32e49fb07b988ddf48
[ "MIT" ]
null
null
null
include/comET.hpp
dkaramit/comET
dbbb66d5839d6d6d0fd45a32e49fb07b988ddf48
[ "MIT" ]
null
null
null
#ifndef comET_head #define comET_head #include<complex.hpp> /*---Include Binary operators*/ #include<BinaryOP.hpp> #include<Addition.hpp> #include<Subtraction.hpp> #include<Multiplication.hpp> #include<Division.hpp> /*---Include Unary operators*/ #include<UnaryOP.hpp> #include<Negation.hpp> #include<Conjugation.hpp>...
17.875
31
0.762238
dkaramit
1ee7388223017ca392d59fc73c72267a3500c31e
1,511
cpp
C++
game/scene.cpp
Grayson112233/sdlgl
68c0398fa1dc5ebed77f2528856f7cd6d6d9cdda
[ "MIT" ]
1
2019-12-25T19:35:00.000Z
2019-12-25T19:35:00.000Z
game/scene.cpp
graysonpike/sdlgl
68c0398fa1dc5ebed77f2528856f7cd6d6d9cdda
[ "MIT" ]
null
null
null
game/scene.cpp
graysonpike/sdlgl
68c0398fa1dc5ebed77f2528856f7cd6d6d9cdda
[ "MIT" ]
1
2019-12-25T19:35:01.000Z
2019-12-25T19:35:01.000Z
#include "scene.h" #include <iostream> Scene::Scene(Graphics *graphics, Audio *audio, Inputs *inputs) { this->graphics = graphics; this->audio = audio; this->inputs = inputs; collider = new Collider(); delta = 0; } void Scene::update(float delta) { this->delta = delta; collider->check_collisions(); for (uint...
18.8875
67
0.659166
Grayson112233
1ef1de09df6a9fd0da7c32de0bb303bd11958f19
2,375
cpp
C++
1215_c.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
1215_c.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
1215_c.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
27.298851
106
0.578947
onexmaster
1efa962576a6a9bc32c18f9eb1b263a9b44891a0
23,241
cpp
C++
src/hpack.cpp
uplusware/openheap
3e11ebe52df4970eae85ac721da755f824297476
[ "Apache-2.0" ]
6
2015-11-09T19:40:16.000Z
2017-04-10T23:58:19.000Z
src/hpack.cpp
uplusware/niuhttpd
3e11ebe52df4970eae85ac721da755f824297476
[ "Apache-2.0" ]
null
null
null
src/hpack.cpp
uplusware/niuhttpd
3e11ebe52df4970eae85ac721da755f824297476
[ "Apache-2.0" ]
null
null
null
#include "hpack.h" #define PRE_FIELDS_BUF_SIZE 1024*4 int64_t decode_integer(uint32_t &dst, const uint8_t *buf_start, const uint8_t *buf_end, uint8_t n) { if (buf_start >= buf_end) { return -1; } const uint8_t *p = buf_start; dst = (*p & ((1 << n) - 1)); if (dst == static_cast<uint32_t>(1 << n) - 1) {...
39.391525
188
0.46461
uplusware
1efd1dbce92ebc68d0bab09bcd80a9a714635dbb
257
hxx
C++
integer/min.hxx
blake-sheridan/include-b
16c1712e38f5bc423565e97de6b07eeca6a9223d
[ "MIT" ]
null
null
null
integer/min.hxx
blake-sheridan/include-b
16c1712e38f5bc423565e97de6b07eeca6a9223d
[ "MIT" ]
null
null
null
integer/min.hxx
blake-sheridan/include-b
16c1712e38f5bc423565e97de6b07eeca6a9223d
[ "MIT" ]
null
null
null
#ifndef b_integer_min_hxx_ #define b_integer_min_hxx_ #include "b/unavailable!.hxx" namespace b { namespace integer { template <typename T> b_unavailable("requires implementation") static constexpr T min; } // namespace integer } // namespace b #endif
13.526316
40
0.770428
blake-sheridan
4803c71924310177799899ee452d7f0d7f010d0e
645
cpp
C++
cppcheck/data/c_files/225.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
2
2022-03-23T12:16:20.000Z
2022-03-31T06:19:40.000Z
cppcheck/data/c_files/225.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
cppcheck/data/c_files/225.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
void ResourceDispatcherHostImpl::OnSSLCertificateError( net::URLRequest* request, const net::SSLInfo& ssl_info, bool is_hsts_host) { DCHECK(request); ResourceRequestInfoImpl* info = ResourceRequestInfoImpl::ForRequest(request); DCHECK(info); GlobalRequestID request_id(info->GetChildID(), info->GetRequestID()); int rend...
37.941176
77
0.804651
awsm-research
48098a09cde3f0e8035fc827cc48a76c720718ee
72
cpp
C++
darknet-master/build/modules/videoio/opencv_perf_videoio_pch.cpp
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
darknet-master/build/modules/videoio/opencv_perf_videoio_pch.cpp
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
darknet-master/build/modules/videoio/opencv_perf_videoio_pch.cpp
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
#include "C:/opencv/opencv-4.5.1/modules/videoio/perf/perf_precomp.hpp"
36
71
0.777778
mcyy23633
480b73c8198d8cedd85cfd15de01a59de4ec61b5
1,805
cpp
C++
src/projects/cosimulation/cosimulation_vehicle/test_COSIM_check_sampler.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
1
2020-03-05T13:00:41.000Z
2020-03-05T13:00:41.000Z
src/projects/cosimulation/cosimulation_vehicle/test_COSIM_check_sampler.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
null
null
null
src/projects/cosimulation/cosimulation_vehicle/test_COSIM_check_sampler.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
1
2022-03-27T15:12:24.000Z
2022-03-27T15:12:24.000Z
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
29.112903
80
0.53795
rserban
480f9f7b76de34a517e79f819e7d8d96294121f9
619
hpp
C++
21851416/LastHomework/Classes/Shape.hpp
jhvmhg/iPhone2018
c0f358ce0f7d8684de43dc729c642cd402202ead
[ "MIT" ]
15
2018-09-20T07:42:57.000Z
2020-08-19T13:51:52.000Z
21851416/LastHomework/Classes/Shape.hpp
Marveliu/iPhone2018
d9af9ee21c0a6fb29d63313733c1e85c2bf0d558
[ "MIT" ]
17
2018-10-14T16:49:20.000Z
2018-12-27T06:07:38.000Z
21851416/LastHomework/Classes/Shape.hpp
Marveliu/iPhone2018
d9af9ee21c0a6fb29d63313733c1e85c2bf0d558
[ "MIT" ]
56
2018-10-11T00:31:45.000Z
2021-12-11T14:34:59.000Z
// // Shape.hpp // MoveBall // // Created by 贺晨韬 on 2018/12/15. // #ifndef Shape_hpp #define Shape_hpp #include <stdio.h> #include "cocos2d.h" #include "Ball.hpp" USING_NS_CC; class Shape:public Sprite{ public: virtual bool init(); virtual bool init(const std::string& filename); void rise(); ...
15.871795
51
0.628433
jhvmhg
481962e2d4982e5956ad1fe7571f2ed02e63a3fe
7,681
cpp
C++
src/interp/ByteWriter.cpp
WebAssembly/decompressor-prototype
44075ebeef75b950fdd9c0cd0b369928ef05a09c
[ "Apache-2.0" ]
11
2016-07-08T20:43:29.000Z
2021-05-09T21:43:34.000Z
src/interp/ByteWriter.cpp
DalavanCloud/decompressor-prototype
44075ebeef75b950fdd9c0cd0b369928ef05a09c
[ "Apache-2.0" ]
62
2016-06-07T15:21:24.000Z
2017-05-18T15:51:04.000Z
src/interp/ByteWriter.cpp
DalavanCloud/decompressor-prototype
44075ebeef75b950fdd9c0cd0b369928ef05a09c
[ "Apache-2.0" ]
5
2016-06-07T15:05:32.000Z
2020-01-06T17:21:43.000Z
// -*- C++ -*- */ // // Copyright 2016 WebAssembly Community Group participants // // 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 // // ...
28.135531
78
0.723343
WebAssembly
481b33f82a0669dbf9a826335307ac13607e246f
5,531
hpp
C++
master/core/third/loki/test/LevelMutex/ThreadPool.hpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
34
2015-03-25T05:36:30.000Z
2021-12-09T02:35:22.000Z
master/core/third/loki/test/LevelMutex/ThreadPool.hpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
1
2020-07-27T17:00:25.000Z
2020-09-16T17:38:25.000Z
master/core/third/loki/test/LevelMutex/ThreadPool.hpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
13
2015-07-19T09:23:27.000Z
2022-02-25T08:26:14.000Z
//////////////////////////////////////////////////////////////////////////////// // // Part of LevelMutex test program for The Loki Library // Copyright (c) 2008 Richard Sposato // The copyright on this file is protected under the terms of the MIT license. // // Permission to use, copy, modify, distribute and sell this...
27.381188
105
0.616344
importlib
481c2258908226afb6f3373ac4601bf5fd968137
714
cpp
C++
Void/Graphics/Color/VColor.cpp
bekdepo/Void
ef41b044724db75438b9697a788665b9938f6a9a
[ "MIT" ]
2
2021-05-29T11:07:15.000Z
2021-08-05T03:11:57.000Z
Void/Graphics/Color/VColor.cpp
bekdepo/Void
ef41b044724db75438b9697a788665b9938f6a9a
[ "MIT" ]
null
null
null
Void/Graphics/Color/VColor.cpp
bekdepo/Void
ef41b044724db75438b9697a788665b9938f6a9a
[ "MIT" ]
1
2021-05-29T11:07:16.000Z
2021-05-29T11:07:16.000Z
#include "VColor.h" //---------------------------------------------------------------------------------------------------- namespace Void { // Test //---------------------------------------------------------------------------------------------------- void VColorTest() { VColor<VColorFormat::RGB...
28.56
106
0.369748
bekdepo
4824f7d76357e77acc31e647a6b3a3d10beefd11
2,083
cpp
C++
test/testQt4.cpp
xuxiandi/picasso-graphic
c518e46743366a23f0d787b82e487cd36215fe32
[ "BSD-3-Clause" ]
null
null
null
test/testQt4.cpp
xuxiandi/picasso-graphic
c518e46743366a23f0d787b82e487cd36215fe32
[ "BSD-3-Clause" ]
null
null
null
test/testQt4.cpp
xuxiandi/picasso-graphic
c518e46743366a23f0d787b82e487cd36215fe32
[ "BSD-3-Clause" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <QApplication> #include <QPainter> #include <QWidget> #include <QMainWindow> #include <QImage> #include <QTimer> #include "picasso.h" #include "drawFunc.h" QImage * buffer; QImage * img1; QImage * img2; static ps_context *context; static ps_canvas *canvas; class PWi...
24.22093
86
0.597696
xuxiandi
4829ec3bb9ee2a1845c1158f0b2daf343a1e2a4a
3,597
hpp
C++
com-1/include/RTC/RtpReceiver.hpp
Globik/kore-mediasoup
343186112316c9f201cd97181cc807881db3bd86
[ "0BSD" ]
13
2018-04-04T18:53:19.000Z
2021-07-16T00:18:27.000Z
com-1/include/RTC/RtpReceiver.hpp
Globik/kore-mediasoup
343186112316c9f201cd97181cc807881db3bd86
[ "0BSD" ]
1
2019-04-18T07:35:22.000Z
2019-04-21T02:53:50.000Z
com-1/include/RTC/RtpReceiver.hpp
Globik/kore-mediasoup
343186112316c9f201cd97181cc807881db3bd86
[ "0BSD" ]
3
2018-06-19T23:01:40.000Z
2020-04-01T13:30:58.000Z
#ifndef MS_RTC_RTP_RECEIVER_HPP #define MS_RTC_RTP_RECEIVER_HPP #include "common.hpp" #include "Channel/Notifier.hpp" #include "Channel/Request.hpp" #include "RTC/RTCP/CompoundPacket.hpp" #include "RTC/RTCP/Feedback.hpp" #include "RTC/RTCP/ReceiverReport.hpp" #include "RTC/RtpDictionaries.hpp" #include "RTC/RtpPacket....
28.322835
103
0.731165
Globik