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
6c3b6618016e83ba579608bf99dd63f2e7066503
2,905
hpp
C++
include/Ephippion/Transforms/SymbolicEncapsulation.hpp
compor/Ephippion
42e4270e14489ba93b935c8973adf13525c067bd
[ "MIT" ]
null
null
null
include/Ephippion/Transforms/SymbolicEncapsulation.hpp
compor/Ephippion
42e4270e14489ba93b935c8973adf13525c067bd
[ "MIT" ]
1
2019-09-17T15:40:15.000Z
2019-09-17T15:42:03.000Z
include/Ephippion/Transforms/SymbolicEncapsulation.hpp
compor/Ephippion
42e4270e14489ba93b935c8973adf13525c067bd
[ "MIT" ]
null
null
null
// // // #pragma once #include "Ephippion/Config.hpp" #include "Ephippion/Support/IR/ArgSpec.hpp" #include "llvm/IR/LLVMContext.h" // using llvm::LLVMContext #include "llvm/IR/Function.h" // using llvm::Function #include "llvm/IR/Type.h" // using llvm::Type #include "llvm/IR/DerivedTypes.h" // using llvm::Functi...
30.578947
80
0.632358
compor
6c3fc4b656007efe9ec562ff6fa757b8b73440de
544
cpp
C++
Templates/Verve/source/Verve/Extension/Game/VSpawnSphereGroup.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
1
2021-01-02T09:17:18.000Z
2021-01-02T09:17:18.000Z
Templates/Verve/source/Verve/Extension/Game/VSpawnSphereGroup.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
null
null
null
Templates/Verve/source/Verve/Extension/Game/VSpawnSphereGroup.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
4
2015-05-16T17:35:07.000Z
2021-01-02T09:17:26.000Z
//----------------------------------------------------------------------------- // Verve // Copyright (C) - Violent Tulip //----------------------------------------------------------------------------- #include "Verve/Extension/Game/VSpawnSphereGroup.h" //--------------------------------------------------------------...
36.266667
79
0.308824
AnteSim
6c404f5a6892fa8033a0fa55d649fa1815251506
5,206
hpp
C++
libnhttp/nhttp/server/xfwk/xfwk_target.hpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
4
2021-04-11T22:46:13.000Z
2021-05-27T06:01:37.000Z
libnhttp/nhttp/server/xfwk/xfwk_target.hpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
3
2021-05-26T04:16:56.000Z
2021-05-27T04:34:14.000Z
libnhttp/nhttp/server/xfwk/xfwk_target.hpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
1
2021-04-11T22:46:15.000Z
2021-04-11T22:46:15.000Z
#pragma once #include "../http_context.hpp" #include "../../utils/this_ptr.hpp" #include "xfwk_facade.hpp" namespace nhttp { namespace server { namespace xfwk { class xfwk_target; using xfwk_target_ptr = std::shared_ptr<xfwk_target>; class xfwk_middleware_stack; /** * class xfwk_target. * a resource target ...
27.256545
135
0.722244
jay94ks
6c44653bc9d9db9b5c5ac483d1111af104d42285
422
cpp
C++
Recursion/static_global.cpp
M1NH42/learn-dsa
70b5011a83dd5c29d39b754ed856cb9e023511f3
[ "MIT" ]
null
null
null
Recursion/static_global.cpp
M1NH42/learn-dsa
70b5011a83dd5c29d39b754ed856cb9e023511f3
[ "MIT" ]
null
null
null
Recursion/static_global.cpp
M1NH42/learn-dsa
70b5011a83dd5c29d39b754ed856cb9e023511f3
[ "MIT" ]
null
null
null
// program shows the working of static and globalvariable in recursion #include<bits/stdc++.h> using namespace std; int fun(int n) { static int x = 0; if(n>0) { x++; //here x becomes 5 by incrementing each time the fun is called return fun(n-1)+x; // x is called in returning phase } ...
15.62963
75
0.590047
M1NH42
6c45a49709c95593420abe453adc3a2c24bc62d6
1,311
cpp
C++
chapter06/assignment/assign6.11.6.cpp
chuckbruno/cpp
5df742c15d463a46351bd72b5c58144086b0a9d2
[ "Apache-2.0" ]
null
null
null
chapter06/assignment/assign6.11.6.cpp
chuckbruno/cpp
5df742c15d463a46351bd72b5c58144086b0a9d2
[ "Apache-2.0" ]
null
null
null
chapter06/assignment/assign6.11.6.cpp
chuckbruno/cpp
5df742c15d463a46351bd72b5c58144086b0a9d2
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> struct patron { std::string name; double donation; }; const int Maxnum = 5; int main() { int i = 0; int num; std::cout << "Enter the donation num: " << std::endl; std::cin >> num; patron** parPtr = new patron*[num]; std::cout << "Input patron n...
19
85
0.455378
chuckbruno
6c4a53df574b09c5c1a211628f4a1e74dd9e3f1d
641
hpp
C++
danger/cfgFunctions.hpp
genesis92x/LambsMods
d7a281ef74b1927ea3e8aba1063feeab2a97593a
[ "Unlicense" ]
1
2021-07-10T10:06:23.000Z
2021-07-10T10:06:23.000Z
danger/cfgFunctions.hpp
genesis92x/LambsMods
d7a281ef74b1927ea3e8aba1063feeab2a97593a
[ "Unlicense" ]
null
null
null
danger/cfgFunctions.hpp
genesis92x/LambsMods
d7a281ef74b1927ea3e8aba1063feeab2a97593a
[ "Unlicense" ]
null
null
null
class cfgFunctions { class lambs_danger { tag = "lambs_danger"; class functions { file = "danger\functions"; class assault; class assaultBuilding; class assaultVehicle; class checkBody; class coward; ...
29.136364
50
0.477379
genesis92x
6c4fe7953608550de68d8d774e3a2970c21568be
41,767
cpp
C++
Source/main.cpp
playmer/PadInput
eb1b11ef8de9234f0c1d9d8819dba5d3bb3cc5d8
[ "MIT" ]
null
null
null
Source/main.cpp
playmer/PadInput
eb1b11ef8de9234f0c1d9d8819dba5d3bb3cc5d8
[ "MIT" ]
null
null
null
Source/main.cpp
playmer/PadInput
eb1b11ef8de9234f0c1d9d8819dba5d3bb3cc5d8
[ "MIT" ]
null
null
null
#include <stdio.h> #include <cstdint> #include <iostream> #include <array> #include <filesystem> #include <set> #include <string> #include <algorithm> #include <iostream> #include <vector> #include <functional> #include <tuple> #include <charconv> #include <fstream> #include "SOIS/ImGuiSample.hpp" #include "SOIS/Appli...
33.017391
161
0.665837
playmer
6c58c4cc9d314b033797ffb60ee1bf04cc30f423
203
cpp
C++
Codeforces/CF1434/B.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
Codeforces/CF1434/B.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
Codeforces/CF1434/B.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=500005; void solve(){ } int main(){ int T=1; //scanf("%d",&T); while(T--){ solve(); } return 0; }
12.6875
30
0.546798
jinzhengyu1212
6c5d3a903501362d1030223a895ba2f4783239c2
59,612
hpp
C++
api/direct_bt/BTAdapter.hpp
sgothel/direct_bt
e19a11a60d509a42a1a1167a2b7215345784e462
[ "MIT" ]
10
2020-09-03T16:23:12.000Z
2022-03-10T13:51:40.000Z
api/direct_bt/BTAdapter.hpp
sgothel/direct_bt
e19a11a60d509a42a1a1167a2b7215345784e462
[ "MIT" ]
null
null
null
api/direct_bt/BTAdapter.hpp
sgothel/direct_bt
e19a11a60d509a42a1a1167a2b7215345784e462
[ "MIT" ]
3
2020-09-03T05:21:46.000Z
2020-09-04T18:44:00.000Z
/* * Author: Sven Gothel <sgothel@jausoft.com> * Copyright (c) 2020 Gothel Software e.K. * Copyright (c) 2020 ZAFENA AB * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restri...
49.968148
248
0.600785
sgothel
6c628f48178e2969e1a3b1913a239104d7effd65
601
cpp
C++
src/lib/Stage.cpp
radixzz/SDL-3d-particles
4df9a453c3524740f4a57ab24a152c6e987fa019
[ "MIT" ]
null
null
null
src/lib/Stage.cpp
radixzz/SDL-3d-particles
4df9a453c3524740f4a57ab24a152c6e987fa019
[ "MIT" ]
null
null
null
src/lib/Stage.cpp
radixzz/SDL-3d-particles
4df9a453c3524740f4a57ab24a152c6e987fa019
[ "MIT" ]
null
null
null
#include <SDL.h> #include <memory> #include "Stage.h" #include "Log.h" namespace sax { Stage::Stage() { container = std::make_unique< DisplayObject >(); viewport = { 0 }; } Stage::~Stage() { } void Stage::setViewport( SDL_Rect viewport ) { this->viewport = viewport; } void Stage::render( RendererDescr...
18.78125
63
0.690516
radixzz
483fee2d59969f231f2e26680426893c992c4c8c
470
cpp
C++
iri_navigation/iri_akp_local_planner_car/src/akp_local_planner_car_alg.cpp
yinzixuan126/modified_dwa
b379c01e37adc1f6414005750633b05e1a024ae5
[ "MIT" ]
6
2019-12-30T04:00:16.000Z
2021-09-10T23:59:30.000Z
iri_navigation/iri_akp_local_planner_car/src/akp_local_planner_car_alg.cpp
yinzixuan126/modified_dwa
b379c01e37adc1f6414005750633b05e1a024ae5
[ "MIT" ]
null
null
null
iri_navigation/iri_akp_local_planner_car/src/akp_local_planner_car_alg.cpp
yinzixuan126/modified_dwa
b379c01e37adc1f6414005750633b05e1a024ae5
[ "MIT" ]
5
2019-05-17T02:35:36.000Z
2021-04-17T00:34:53.000Z
#include "akp_local_planner_car_alg.h" AkpLocalPlannerAlgorithm::AkpLocalPlannerAlgorithm(void) { pthread_mutex_init(&this->access_,NULL); } AkpLocalPlannerAlgorithm::~AkpLocalPlannerAlgorithm(void) { pthread_mutex_destroy(&this->access_); } void AkpLocalPlannerAlgorithm::config_update(Config& new_cfg, uint32_t ...
19.583333
77
0.776596
yinzixuan126
4844af78d23c1fb8f7375d1f53ceb61fe2b82af8
1,320
cpp
C++
espaudio/SineWave.cpp
tmerr/electronics
414b8ec9594d97e394032ccf47f135b500bcf9ee
[ "MIT" ]
1
2020-01-04T19:20:05.000Z
2020-01-04T19:20:05.000Z
espaudio/SineWave.cpp
tmerr/electronics
414b8ec9594d97e394032ccf47f135b500bcf9ee
[ "MIT" ]
null
null
null
espaudio/SineWave.cpp
tmerr/electronics
414b8ec9594d97e394032ccf47f135b500bcf9ee
[ "MIT" ]
null
null
null
#include "SineWave.hpp" #include "build/sintable.c" #include <math.h> SineWave::SineWave(uint32_t period): period(period), phase(0) {} // compute the index into the sine table, ignoring phase uint32_t compute_index(uint32_t time, uint32_t period) { return ((SINRESOLUTION * (uint64_t)time) / (uint64_t)period) % SI...
29.333333
88
0.662121
tmerr
484d10262e51731d560227991ff72c378e40c2fb
430
cpp
C++
src/TextColor.cpp
chakaponden/meetangee-task
bc340ae5ea6817691f76de1f299e380ba26182fb
[ "MIT" ]
null
null
null
src/TextColor.cpp
chakaponden/meetangee-task
bc340ae5ea6817691f76de1f299e380ba26182fb
[ "MIT" ]
null
null
null
src/TextColor.cpp
chakaponden/meetangee-task
bc340ae5ea6817691f76de1f299e380ba26182fb
[ "MIT" ]
null
null
null
/** * @file TextColor.cpp * @brief A simple C++ wrapper for terminal text colorize implementation */ #include "TextColor.h" using Color::TextColor; TextColor::TextColor(const Color::TextColorCode& colorCode) noexcept : _code(colorCode) { } void TextColor::SetCode(const Color::TextColorCode& colorCode) noexce...
17.916667
72
0.727907
chakaponden
484d9af039fac79abef150a98adc7d61c07be5af
793
hpp
C++
libs/parse/include/fcppt/parse/state_impl.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/parse/include/fcppt/parse/state_impl.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/parse/include/fcppt/parse/state_impl.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // 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 FCPPT_PARSE_STATE_IMPL_HPP_INCLUDED #define FCPPT_PARSE_STATE_IMPL_HPP_INCLUDED #include ...
15.86
61
0.717528
pmiddend
4852ca4726d896ec09dc49e5807c6c0cb860c3e1
7,985
hpp
C++
sdk/include/meta.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/meta.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/meta.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
#ifndef META_H #define META_H #include "turing.hpp" #include "pred.hpp" #include "word.hpp" #include <stack> #include "hashcontext.hpp" #include "wpppred.hpp" #include "type.hpp" using namespace std; using namespace wpp::how; struct VLANG3_API WContext { CWord global; #pragma warning( push ) #pragma warning( disab...
34.5671
130
0.742768
qianxj
4856d65039f79c17e14c99f7796cd8cc62222e7d
2,380
hpp
C++
components/misc/utf8stream.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/misc/utf8stream.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/misc/utf8stream.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef MISC_UTF8ITER_HPP #define MISC_UTF8ITER_HPP #include <boost/tuple/tuple.hpp> class Utf8Stream { public: typedef uint32_t UnicodeChar; typedef unsigned char const * Point; //static const unicode_char sBadChar = 0xFFFFFFFF; gcc can't handle this static UnicodeChar sBadChar () { return UnicodeC...
20.34188
93
0.509664
Bodillium
485e7e5a2dd98d6fafe79e49f5e36233af8d0911
8,670
cpp
C++
src/lib/foundations/data_structures/classify_bitvectors.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/lib/foundations/data_structures/classify_bitvectors.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/lib/foundations/data_structures/classify_bitvectors.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
// classify_bitvectors.cpp // // Anton Betten // // December 23, 2017 #include "foundations.h" using namespace std; namespace orbiter { namespace foundations { classify_bitvectors::classify_bitvectors() { null(); } classify_bitvectors::~classify_bitvectors() { freeself(); } void classify_bitvectors::null() ...
20.023095
105
0.593772
abetten
486965c56f0d0027406a56fb38a1179563781e2c
28,937
hxx
C++
ivp/ivp_physics/ivp_core.hxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
ivp/ivp_physics/ivp_core.hxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
ivp/ivp_physics/ivp_core.hxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved. // IVP_EXPORT_PUBLIC #ifndef _IVP_CORE_INCLUDED #define _IVP_CORE_INCLUDED #ifndef WIN32 # pragma interface #endif /******************************************************************************** * Name: ivp_core.hxx * Descri...
52.90128
212
0.550506
DannyParker0001
486b17ac93b57d8d3261faea2b5ddad9f6f6969e
3,644
cpp
C++
Engine/source/EtFramework/Systems/TransformSystem.cpp
logzero/ETEngine
f766f1a0d702b826b94023edbf64da83dbcf7bc6
[ "MIT" ]
552
2017-08-21T18:12:52.000Z
2022-03-31T15:41:56.000Z
Engine/source/EtFramework/Systems/TransformSystem.cpp
logzero/ETEngine
f766f1a0d702b826b94023edbf64da83dbcf7bc6
[ "MIT" ]
14
2017-08-07T23:36:13.000Z
2021-05-10T08:41:19.000Z
Engine/source/EtFramework/Systems/TransformSystem.cpp
logzero/ETEngine
f766f1a0d702b826b94023edbf64da83dbcf7bc6
[ "MIT" ]
40
2017-10-10T14:42:22.000Z
2022-03-10T07:14:33.000Z
#include "stdafx.h" #include "TransformSystem.h" #include "RigidBodySystem.h" #include <EtFramework/SceneGraph/UnifiedScene.h> namespace et { namespace fw { //===================== // Transform System //===================== //----------------------------------- // TransformSystem::OnComponentAdded // // Regis...
29.387097
123
0.700604
logzero
486cfce8eee2ab5cc06405f384dd23b202f15a5d
2,184
cpp
C++
src/core.cpp
aannleax/vlog
f8b30e298baa90f75aea9fb0cf5a5ff438ce4f2e
[ "Apache-2.0" ]
null
null
null
src/core.cpp
aannleax/vlog
f8b30e298baa90f75aea9fb0cf5a5ff438ce4f2e
[ "Apache-2.0" ]
null
null
null
src/core.cpp
aannleax/vlog
f8b30e298baa90f75aea9fb0cf5a5ff438ce4f2e
[ "Apache-2.0" ]
null
null
null
#include "launcher/vloglayer.cpp" #include "launcher/vlogscan.cpp" #include "vlog/backward/materialization.cpp" #include "vlog/backward/optimizer.cpp" #include "vlog/backward/qsqquery.cpp" #include "vlog/backward/qsqr.cpp" #include "vlog/backward/ruleexecutor.cpp" #include "vlog/common/bindingstable.cpp" #include "vlog...
37.655172
47
0.79304
aannleax
486deb8bf85c17857216304d9cbbfed4f40c3563
1,903
cpp
C++
RedBlackTree/rb_tree/rb_tree_test.cpp
suiyili/Algorithms
d6ddc8262c5d681ecc78938b6140510793a29d91
[ "MIT" ]
null
null
null
RedBlackTree/rb_tree/rb_tree_test.cpp
suiyili/Algorithms
d6ddc8262c5d681ecc78938b6140510793a29d91
[ "MIT" ]
null
null
null
RedBlackTree/rb_tree/rb_tree_test.cpp
suiyili/Algorithms
d6ddc8262c5d681ecc78938b6140510793a29d91
[ "MIT" ]
null
null
null
#ifdef TEST #include <catch2/catch_test_macros.hpp> #include "../algorithm/item_inserter/item_inserter.hpp" #include "../algorithm/item_remover/item_remover.hpp" #include "rb_tree.hpp" using namespace btree::item; using namespace btree::algorithm; namespace btree { using item_inserter_t = item_inserter<int>; SCENA...
26.068493
77
0.67052
suiyili
4875f63e0829688d340967079ce0741ffbdb1766
30,790
hpp
C++
inc/math/expression/Spline.hpp
davidson16807/libtectonics
aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646
[ "CC-BY-4.0" ]
null
null
null
inc/math/expression/Spline.hpp
davidson16807/libtectonics
aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646
[ "CC-BY-4.0" ]
null
null
null
inc/math/expression/Spline.hpp
davidson16807/libtectonics
aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646
[ "CC-BY-4.0" ]
null
null
null
#pragma once // std libraries #include <algorithm> // copy, back_inserter #include <initializer_list> #include <iostream> // in-house libraries #include "Identity.hpp" #include "Scaling.hpp" #include "Shifting.hpp" #include "Railcar.hpp" #include "Railcar_to_string.hpp" namespace math { /* A `Spline` in thi...
33.071966
142
0.554303
davidson16807
48760c0617ec5cf0f5ebaa336f86e3147a38cd09
3,747
cc
C++
engine/platformWin32/winOpenAL.cc
ClayHanson/B4v21-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
1
2020-08-18T19:45:34.000Z
2020-08-18T19:45:34.000Z
engine/platformWin32/winOpenAL.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
engine/platformWin32/winOpenAL.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Torque Game Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- #include "platformWin32/platformWin32.h" #include "console/console.h" #include "al/altypes.h" #in...
28.172932
124
0.669602
ClayHanson
4876a30de4b298cd2af92cc2a6af51f08833dfeb
5,335
cpp
C++
scripts/sample_data/test_project/kernel_wrapper2.dp.cpp
UCL-oneAPI/CTA-oneAPI
beed196edda3172e99fe3e9e3e58cfab2b0bd842
[ "MIT" ]
3
2021-10-05T16:52:38.000Z
2022-03-01T09:28:23.000Z
scripts/sample_data/test_project/kernel_wrapper2.dp.cpp
UCL-oneAPI/CTA-oneAPI
beed196edda3172e99fe3e9e3e58cfab2b0bd842
[ "MIT" ]
4
2021-08-02T13:58:18.000Z
2021-08-25T03:02:34.000Z
scripts/sample_data/test_project/kernel_wrapper2.dp.cpp
UCL-oneAPI/CTA-oneAPI
beed196edda3172e99fe3e9e3e58cfab2b0bd842
[ "MIT" ]
null
null
null
#include <CL/sycl.hpp> #include <dpct/dpct.hpp> #include <stdio.h> #include "../common.h" #include "../util/timer/timer.h" #include "./kernel2.dp.cpp" #include "./kernel2_wrapper.h" void kernel2_wrapper( knode *knodes, long knodes_elem, long knodes_mem, int order, long maxheight, int count, ...
28.529412
116
0.506467
UCL-oneAPI
4882c5dec4a8ca0eca30861457cb6b376cf62183
1,516
cpp
C++
algospot/jumpgame/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
13
2015-06-07T09:26:26.000Z
2019-05-01T13:23:38.000Z
algospot/jumpgame/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
null
null
null
algospot/jumpgame/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
4
2016-03-05T06:21:05.000Z
2017-02-17T15:34:18.000Z
// http://algospot.com/judge/problem/read/JUMPGAME #include <iostream> #include <set> using namespace std; class Goto { public: Goto(char i, char j) : row(i), col(j) {} char row, col; bool operator <(const Goto& g) const { return row == g.row ? col < g.col : row < g.row; } }; int n; int in[1...
20.486486
56
0.388522
seirion
4883370242c2959ab30cb6e9e1da7a0fa3339755
6,363
cpp
C++
turtlebot_arm_object_manipulation/test/object_manipulation_actions.cpp
turtlebot/turtlebot_arm
fd6aa08575c19f930a7ac1a0619ebb9a97406340
[ "BSD-3-Clause" ]
47
2015-08-03T21:06:59.000Z
2022-03-06T22:37:44.000Z
turtlebot_arm_object_manipulation/test/object_manipulation_actions.cpp
turtlebot/turtlebot_arm
fd6aa08575c19f930a7ac1a0619ebb9a97406340
[ "BSD-3-Clause" ]
24
2015-04-15T18:47:24.000Z
2021-05-03T05:39:18.000Z
turtlebot_arm_object_manipulation/test/object_manipulation_actions.cpp
turtlebot/turtlebot_arm
fd6aa08575c19f930a7ac1a0619ebb9a97406340
[ "BSD-3-Clause" ]
35
2015-02-28T10:29:51.000Z
2022-01-20T03:44:21.000Z
/* * Copyright (c) 2011, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
30.88835
144
0.710042
turtlebot
48894836f96dd942e2b55b838afa2f3ec566f8f2
4,036
hpp
C++
include/utils/binaryreader.hpp
aethelwerka/astraea
cf700a854d4183a263c7185b8ee3ab5d496215dc
[ "BSD-3-Clause" ]
4
2021-08-22T17:27:05.000Z
2021-08-24T22:30:48.000Z
include/utils/binaryreader.hpp
aethelwerka/astraea
cf700a854d4183a263c7185b8ee3ab5d496215dc
[ "BSD-3-Clause" ]
null
null
null
include/utils/binaryreader.hpp
aethelwerka/astraea
cf700a854d4183a263c7185b8ee3ab5d496215dc
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2020 Krayfaus * All rights reserved. * * This source code is licensed under the BSD-style license that can be * found in the LICENSE file in the root directory of this source tree. */ #pragma once #include "array.hpp" // IWYU pragma: export #include "endian.hpp" // IWYU pragma: export ...
25.544304
100
0.610753
aethelwerka
48913e58bf82bcd0f2cb5b0de87c3c0c4ee8aad4
57
hpp
C++
src/boost_math_distributions_non_central_beta.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_math_distributions_non_central_beta.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_math_distributions_non_central_beta.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/math/distributions/non_central_beta.hpp>
28.5
56
0.842105
miathedev
4895c13aef139096f2222f5df9c63eb0fc39ce83
8,028
cpp
C++
PathfindingDemo/PathfindingTest/PathfindingTest/PathfindingTest/Node.cpp
robotx211/PathfindingDemo
449b8037c9ca96fc179d7ddb5821f5a59346e7ef
[ "MIT" ]
1
2020-01-21T11:17:40.000Z
2020-01-21T11:17:40.000Z
PathfindingDemo/PathfindingTest/PathfindingTest/PathfindingTest/Node.cpp
robotx211/PathfindingDemo
449b8037c9ca96fc179d7ddb5821f5a59346e7ef
[ "MIT" ]
null
null
null
PathfindingDemo/PathfindingTest/PathfindingTest/PathfindingTest/Node.cpp
robotx211/PathfindingDemo
449b8037c9ca96fc179d7ddb5821f5a59346e7ef
[ "MIT" ]
null
null
null
/// @file Node.cpp /// @brief Node class definition #include <SDL2\SDL.h> #include <SDL2\SDL_ttf.h> #include <cstdlib> #include <string> #include <sstream> #include <vector> #include <iostream> #include "Node.h" //Module Contents void Node::SetParent(Node *_parent) { //sets the parent node to the ...
23.751479
173
0.645366
robotx211
4895cc9a6988601b3f20593a46226a4844680e9e
2,356
cpp
C++
0x05/zadanie_1.cpp
DevxMike/lessons
87ea02a9680d342ef3dafba5a8ce918bbb44ed6e
[ "MIT" ]
null
null
null
0x05/zadanie_1.cpp
DevxMike/lessons
87ea02a9680d342ef3dafba5a8ce918bbb44ed6e
[ "MIT" ]
null
null
null
0x05/zadanie_1.cpp
DevxMike/lessons
87ea02a9680d342ef3dafba5a8ce918bbb44ed6e
[ "MIT" ]
1
2020-11-09T19:09:41.000Z
2020-11-09T19:09:41.000Z
#include <iostream> #include <cstdlib> using std::cout; using std::cin; using std::endl; float suma(float a, float b); float roznica(float a, float b); float iloczyn(float a, float b); float iloraz(float a, float b); char pobierz_znak(void); void blad(int x); void koniec(void); float wykonaj_dzialanie(float a, floa...
16.475524
134
0.498727
DevxMike
48982a7de079cf043677cff92ff9c0d5bb0a217f
445
cpp
C++
Basic-Programming/Memory/Array Memory Show.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Basic-Programming/Memory/Array Memory Show.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Basic-Programming/Memory/Array Memory Show.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int a[5]= {50,60,70,80,90}; printf("Value of Array is %d, %d, %d, %d, %d\n",a[0],a[1],a[2],a[3],a[4]); printf("Address of a is %p\n",a); printf("Address of a[0] is %p\n",a[0]); printf("Address of a[1] is %p\n",a[1]); printf("Address of a[...
26.176471
78
0.525843
arifparvez14
489de03917e420fd27b87151c94fcf97960a3a68
3,281
hpp
C++
include/NetEase/Docker/IDock.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/NetEase/Docker/IDock.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/NetEase/Docker/IDock.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes // Including type: NetEase.Docker.InitializeData #include "NetEase/Docker/InitializeData.hpp" // Including type: NetEase.Docker.LoginData #includ...
42.61039
125
0.722341
darknight1050
48a3291076112b0ea2143614fafc9912604299b6
3,001
cpp
C++
dlls/asheep/barney9mmar.cpp
malortie/hl-asheep
58a402d5e1982b1b7b9476108d04856d0fdeb8b8
[ "Apache-2.0" ]
null
null
null
dlls/asheep/barney9mmar.cpp
malortie/hl-asheep
58a402d5e1982b1b7b9476108d04856d0fdeb8b8
[ "Apache-2.0" ]
6
2021-11-28T06:39:56.000Z
2021-12-31T13:59:26.000Z
dlls/asheep/barney9mmar.cpp
malortie/hl-asheep
58a402d5e1982b1b7b9476108d04856d0fdeb8b8
[ "Apache-2.0" ]
null
null
null
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
19.237179
77
0.749417
malortie
48a486482490e65357ff4f6a4e35ab8358e3bbb0
2,212
hpp
C++
vef/reader.hpp
Melown/libvef
cb7df31d09a58d5ed4b894a4dc3bb66c6b8be825
[ "BSD-2-Clause" ]
2
2017-04-22T20:26:52.000Z
2017-10-03T15:12:54.000Z
vef/reader.hpp
Melown/libvef
cb7df31d09a58d5ed4b894a4dc3bb66c6b8be825
[ "BSD-2-Clause" ]
1
2019-08-09T12:56:02.000Z
2019-08-09T15:20:12.000Z
vef/reader.hpp
Melown/libvef
cb7df31d09a58d5ed4b894a4dc3bb66c6b8be825
[ "BSD-2-Clause" ]
1
2019-09-26T06:52:28.000Z
2019-09-26T06:52:28.000Z
/** * Copyright (c) 2017 Melown Technologies SE * * 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 and the f...
31.6
78
0.738698
Melown
48a734d93dcf26accb1d68c3cabc0f1e45d14756
2,098
cpp
C++
src/macro/Macro.cpp
auroralimin/montador-assembly-inventado
b7deeb4a00f27e941636921a84d5222dd7b008a5
[ "Apache-2.0" ]
null
null
null
src/macro/Macro.cpp
auroralimin/montador-assembly-inventado
b7deeb4a00f27e941636921a84d5222dd7b008a5
[ "Apache-2.0" ]
null
null
null
src/macro/Macro.cpp
auroralimin/montador-assembly-inventado
b7deeb4a00f27e941636921a84d5222dd7b008a5
[ "Apache-2.0" ]
null
null
null
#include <string> #include <iostream> #include <fstream> #include "DriverMacro.hpp" enum PType { mcr, o }; std::string process(mac::Driver *driver, std::string src, std::string dst, PType pType); int main(int argc, char **argv) { if (argc < 4) { std::cerr << "É necessário esp...
25.585366
74
0.492374
auroralimin
48a8d557daedc39ceb26d0523655c0faeb21996d
1,213
cpp
C++
src/utils/glslinterop.cpp
Stellaris-code/Rayfun
2c9e5e2b0cd1636f0a046d6dce0efdce60f094cb
[ "WTFPL" ]
null
null
null
src/utils/glslinterop.cpp
Stellaris-code/Rayfun
2c9e5e2b0cd1636f0a046d6dce0efdce60f094cb
[ "WTFPL" ]
null
null
null
src/utils/glslinterop.cpp
Stellaris-code/Rayfun
2c9e5e2b0cd1636f0a046d6dce0efdce60f094cb
[ "WTFPL" ]
null
null
null
/* glslinterop %{Cpp:License:ClassName} - Yann BOUCHER (yann) 18/08/2016 ** ** ** DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE ** Version 2, December 2004 ** ** Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> ** ** Everyone is permitted to copy and distribute verbatim or modified ** copie...
23.326923
73
0.611707
Stellaris-code
48aa2327c0328586b9d7e91ee792d4eb559c947c
733
hpp
C++
fac/Common.hpp
fa-org/fa
13bba132b682554beccc25e6d016e04b7b67998f
[ "MIT" ]
20
2021-11-23T23:38:25.000Z
2022-03-13T04:39:24.000Z
fac/Common.hpp
fa-org/fa
13bba132b682554beccc25e6d016e04b7b67998f
[ "MIT" ]
5
2021-11-24T04:48:59.000Z
2022-01-02T15:27:12.000Z
fac/Common.hpp
fa-org/fa
13bba132b682554beccc25e6d016e04b7b67998f
[ "MIT" ]
10
2021-11-24T03:36:12.000Z
2022-03-06T19:13:10.000Z
#ifndef __COMMON_HPP__ #define __COMMON_HPP__ enum class PublicLevel { Public, Internal, Protected, Private }; inline PublicLevel GetPublicLevel (FaParser::PublicLevelContext *_ctx) { if (_ctx) { if (_ctx->Public ()) { return PublicLevel::Public; } else if (_ctx->Internal ()) { return PublicLevel::Interna...
28.192308
94
0.68895
fa-org
48abbe74799c0fcf3a5f1706ac86ac7b67158645
845
cpp
C++
Lesson02/OddOccurrencesInArray/OddOccurrencesInArray/main.cpp
rlan/CodilityLessons
6ce4b1a19e7ce90fce39f9ec7fc207e620662676
[ "MIT" ]
null
null
null
Lesson02/OddOccurrencesInArray/OddOccurrencesInArray/main.cpp
rlan/CodilityLessons
6ce4b1a19e7ce90fce39f9ec7fc207e620662676
[ "MIT" ]
null
null
null
Lesson02/OddOccurrencesInArray/OddOccurrencesInArray/main.cpp
rlan/CodilityLessons
6ce4b1a19e7ce90fce39f9ec7fc207e620662676
[ "MIT" ]
null
null
null
// // Codility // Lesson 2 Arrays // OddOccurrencesInArray // https://codility.com/programmers/lessons/2-arrays/odd_occurrences_in_array/ // // 100% score // // Created by Rick Lan on 3/28/17. // See LICENSE. // #include <iostream> #include <vector> using namespace std; // XOR int solution(vector<int> &A) { ...
17.244898
79
0.47574
rlan
48add2f442499adf87beae92cd4c8a3ed1608bf2
1,028
cpp
C++
parallel.cpp
TomoyoSang/Parallel_Processing_RISCV
f64d7d53521774d886b5bb0a4396d465f0f90d2d
[ "MIT" ]
null
null
null
parallel.cpp
TomoyoSang/Parallel_Processing_RISCV
f64d7d53521774d886b5bb0a4396d465f0f90d2d
[ "MIT" ]
null
null
null
parallel.cpp
TomoyoSang/Parallel_Processing_RISCV
f64d7d53521774d886b5bb0a4396d465f0f90d2d
[ "MIT" ]
null
null
null
#include "parallel.h" using namespace std; InterMem im; Instruction_Fetch my_fet; Instruction_Decode my_dec; Execution my_ex; Memory_Access my_ma; Write_Back my_wb; int main() { //freopen("pi.data", "r", stdin); im.readin(); int cnt = 1; pass_oj if_end, id_end, ex_end, ma_end; while (1) { my_wb.WB(ma_end...
16.852459
121
0.633268
TomoyoSang
48b1da64e23eb368f519e0ff9cd3db64cab3c874
1,167
cpp
C++
src/core/CutsceneScriptSegment.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/core/CutsceneScriptSegment.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/core/CutsceneScriptSegment.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
#include <NovelTea/CutsceneScriptSegment.hpp> #include <NovelTea/Cutscene.hpp> #include <NovelTea/Game.hpp> #include <NovelTea/ScriptManager.hpp> namespace NovelTea { CutsceneScriptSegment::CutsceneScriptSegment() : m_autosaveAfter(false) , m_autosaveBefore(false) { setDuration(10); setDelay(10); } json CutsceneSc...
20.839286
86
0.718081
tedvalson
48b896a5f53d39391b6ccb2e4cca109227ca97d0
1,101
cpp
C++
NeuralNetwork/Common/ActivationFunctions.cpp
hailunchina/AIEngine
14a5e4f4230a31459f9e2246e09e48435535ae99
[ "MIT" ]
4
2019-05-16T13:26:10.000Z
2019-07-30T13:31:25.000Z
NeuralNetwork/Common/ActivationFunctions.cpp
hailunchina/AIEngine
14a5e4f4230a31459f9e2246e09e48435535ae99
[ "MIT" ]
8
2019-05-26T22:40:36.000Z
2020-02-16T16:36:38.000Z
NeuralNetwork/Common/ActivationFunctions.cpp
hailunchina/AIEngine
14a5e4f4230a31459f9e2246e09e48435535ae99
[ "MIT" ]
null
null
null
#include "ActivationFunctions.h" namespace NeuralNetwork { namespace activation { double thresholdValue = 0.5; double sigmoid(const double& value) { double result = 1.0 / (1.0 + std::exp(-value)); return result; } void sigmoid(std::vector<double...
20.018182
59
0.412352
hailunchina
48bbce09e648bf5d565847d0b00516b39caacbc9
11,742
hpp
C++
include/System/Net/Sockets/SocketAsyncEventArgs.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Net/Sockets/SocketAsyncEventArgs.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Net/Sockets/SocketAsyncEventArgs.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.EventArgs #include "System/E...
53.372727
230
0.731051
v0idp
48be668bf42d66b9ef382c4d5ff35d4fc171400c
3,987
cxx
C++
Libs/Widgets/GUI/Midas3TreeItem.cxx
midasplatform/MidasClient
728d4a5969691b54b7d0efd2dbad5a4df85d1a0e
[ "Apache-2.0" ]
null
null
null
Libs/Widgets/GUI/Midas3TreeItem.cxx
midasplatform/MidasClient
728d4a5969691b54b7d0efd2dbad5a4df85d1a0e
[ "Apache-2.0" ]
null
null
null
Libs/Widgets/GUI/Midas3TreeItem.cxx
midasplatform/MidasClient
728d4a5969691b54b7d0efd2dbad5a4df85d1a0e
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2011 Kitware 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....
21.551351
112
0.697015
midasplatform
48c3a3f6b1c6d0fb91a74dfa160fc704122fc601
2,636
cpp
C++
src/eventdispatcherfactory.cpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
8
2016-10-06T11:49:14.000Z
2021-11-06T21:06:36.000Z
src/eventdispatcherfactory.cpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
20
2017-04-25T14:23:02.000Z
2018-12-04T22:46:04.000Z
src/eventdispatcherfactory.cpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
4
2018-07-04T00:14:41.000Z
2018-07-17T09:08:25.000Z
#include "eventdispatcherfactory.hpp" #include "tools/transformtool.hpp" #include "tools/polygontool.hpp" #include "tools/vertexselectiontool.hpp" #include "tools/selectiontool.hpp" #include "tools/scenerytool.hpp" #include "tools/spawnpointtool.hpp" #include "tools/colortool.hpp" #include "tools/vertexcolortool.hpp" #...
57.304348
130
0.781487
helloer
48c415348b3462388f27d0fee18bf2831d482a82
74
cpp
C++
docs/mfc/reference/codesnippet/CPP/cmousemanager-class_1.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
14
2018-01-28T18:10:55.000Z
2021-11-16T13:21:18.000Z
docs/mfc/reference/codesnippet/CPP/cmousemanager-class_1.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/mfc/reference/codesnippet/CPP/cmousemanager-class_1.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
2
2018-11-01T12:33:08.000Z
2021-11-16T13:21:19.000Z
GetMouseManager()->AddView (IDR_MAINFRAME, _T("My view"), IDR_MAINFRAME);
74
74
0.756757
jmittert
48c8840dde5d20f5cad61d340de106f559557877
683
hpp
C++
etcd/v3/AsyncLeaseRevokeAction.hpp
emusgrave/etcd-cpp-apiv3
8b2d044aeab0a124cc57ac7a7ce3a28aeb4099f9
[ "BSD-3-Clause" ]
null
null
null
etcd/v3/AsyncLeaseRevokeAction.hpp
emusgrave/etcd-cpp-apiv3
8b2d044aeab0a124cc57ac7a7ce3a28aeb4099f9
[ "BSD-3-Clause" ]
null
null
null
etcd/v3/AsyncLeaseRevokeAction.hpp
emusgrave/etcd-cpp-apiv3
8b2d044aeab0a124cc57ac7a7ce3a28aeb4099f9
[ "BSD-3-Clause" ]
null
null
null
#ifndef __ASYNC_LEASEREVOKEACTION_HPP__ #define __ASYNC_LEASEREVOKEACTION_HPP__ #include <grpc++/grpc++.h> #include "etcd/v3/Action.hpp" #include "etcd/v3/AsyncLeaseRevokeResponse.hpp" #include "proto/rpc.grpc.pb.h" using etcdserverpb::LeaseRevokeRequest; using etcdserverpb::LeaseRevokeResponse; using grpc::ClientA...
24.392857
82
0.811127
emusgrave
48ca685d3246f422053f03f6a3901311a5121027
1,858
hxx
C++
externals/src/moderngpu/kernel_join.hxx
aka-chris/mini
608751ff11f74e1ee59222399cbf6c9ee92208fb
[ "Apache-2.0" ]
216
2021-07-21T02:24:54.000Z
2021-07-30T03:33:10.000Z
externals/src/moderngpu/kernel_join.hxx
aka-chris/mini
608751ff11f74e1ee59222399cbf6c9ee92208fb
[ "Apache-2.0" ]
null
null
null
externals/src/moderngpu/kernel_join.hxx
aka-chris/mini
608751ff11f74e1ee59222399cbf6c9ee92208fb
[ "Apache-2.0" ]
94
2021-07-21T02:24:56.000Z
2021-07-24T23:50:38.000Z
// moderngpu copyright (c) 2016, Sean Baxter http://www.moderngpu.com #pragma once #include "kernel_sortedsearch.hxx" #include "kernel_scan.hxx" #include "kernel_load_balance.hxx" BEGIN_MGPU_NAMESPACE template<typename launch_arg_t = empty_t, typename a_it, typename b_it, typename comp_t> mem_t<int2> inner_join(a_...
36.431373
76
0.720129
aka-chris
48cde15a149a9473cf5d0403fdbcbbecd638e8a4
1,968
cpp
C++
examples/google-code-jam/IguanaBen/b.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/IguanaBen/b.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/IguanaBen/b.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <vector> #include <algorithm> #include <queue> #include <string.h> #include <set> #define ll long long using namespace std; // LOOOOOOOOOOOL solve_br doesnt even works, but im leaving it string flip(string s, int b){ string res = s; for(int i=0; i<=b; ++...
15.870968
123
0.481707
rbenic-fer
48cf3ad0d25a20489cd8ac672fc1af63014e0be0
24
cpp
C++
chapter-12/12.30.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-12/12.30.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-12/12.30.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// See TextQuery-1230.h
12
23
0.708333
zero4drift
48d01137e070d7e962a5e9b911d71e8cd6a7a4fb
1,348
cpp
C++
Codeforces/div3/656/D_a_Good_String.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
2
2019-01-30T12:45:18.000Z
2021-05-06T19:02:51.000Z
Codeforces/div3/656/D_a_Good_String.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
null
null
null
Codeforces/div3/656/D_a_Good_String.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
3
2020-10-02T15:42:04.000Z
2022-03-27T15:14:16.000Z
#include<bits/stdc++.h> using namespace std; #define fast ios::sync_with_stdio(false);cin.tie(0) #define pb push_back #define digit(x) floor(log10(x))+1 #define mod 1000000007 #define endl "\n" #define int long long #define matrix vector<vector<int> > #define vi vector<int> #define pii pair<int,int> #define vs vector<s...
25.433962
85
0.518546
vkashkumar
48d1372573dd3033fa8d22e7c9adace9f9dda178
1,097
cc
C++
src/base/logger.cc
Kledsky/s3fuse
2f2670f16a926ed128ca7bd326e27f43da673d61
[ "Apache-2.0" ]
2
2016-05-26T14:58:48.000Z
2016-10-05T18:46:23.000Z
src/base/logger.cc
Kledsky/s3fuse
2f2670f16a926ed128ca7bd326e27f43da673d61
[ "Apache-2.0" ]
5
2016-03-08T05:06:12.000Z
2017-11-13T07:30:55.000Z
src/base/logger.cc
Kledsky/s3fuse
2f2670f16a926ed128ca7bd326e27f43da673d61
[ "Apache-2.0" ]
2
2018-04-02T09:09:20.000Z
2022-01-20T11:55:29.000Z
/* * base/logger.cc * ------------------------------------------------------------------------- * Definitions for s3::base::logger static members and init() method. * ------------------------------------------------------------------------- * * Copyright (c) 2012, Tarick Bedeir. * * Licensed under the Apache L...
29.648649
76
0.623519
Kledsky
48d54b120e97218908b45051c84109c4e7e565fb
11,765
cpp
C++
Win32/Loading PCX Files/bitmap_class.cpp
Allenjonesing/tutorials
c729fdd655130b021ec7ca9b619e147ae636cfa5
[ "MIT" ]
367
2015-01-12T22:43:04.000Z
2022-03-31T02:03:27.000Z
Win32/Loading PCX Files/bitmap_class.cpp
uag515/tutorials
c729fdd655130b021ec7ca9b619e147ae636cfa5
[ "MIT" ]
3
2016-04-17T06:02:01.000Z
2019-01-20T16:07:53.000Z
Win32/Loading PCX Files/bitmap_class.cpp
uag515/tutorials
c729fdd655130b021ec7ca9b619e147ae636cfa5
[ "MIT" ]
212
2015-01-14T14:13:34.000Z
2022-03-04T01:08:41.000Z
// In Visual Studio 2005 Microsoft added safer versions (denoted by a "_s" suffix) to many // common C/C++ run time functions. Currently the ISO Standards Committee for C and C++ // is determining if they are going to add them to the official language set. Until then, // this define will remove warnings about usin...
30.960526
93
0.684148
Allenjonesing
48d7103e2b8f4f1848cca0c1534dd80c87347fd6
7,581
cpp
C++
class/controladores/configuracion_ejercicio.cpp
TheMarlboroMan/japavocards
df1d9922e2a087c6212c4c600796ec35f41432ca
[ "Beerware" ]
null
null
null
class/controladores/configuracion_ejercicio.cpp
TheMarlboroMan/japavocards
df1d9922e2a087c6212c4c600796ec35f41432ca
[ "Beerware" ]
null
null
null
class/controladores/configuracion_ejercicio.cpp
TheMarlboroMan/japavocards
df1d9922e2a087c6212c4c600796ec35f41432ca
[ "Beerware" ]
null
null
null
#include "configuracion_ejercicio.h" #include <functional> #include <video/gestores/gestor_texturas.h> #include "estados_controladores.h" #include "../app/framework_impl/input.h" #include "../app/localizacion.h" #include "../app/eventos/cambio_modo_etiqueta.h" #include "../app/eventos/cambio_direccion.h" #include "...
33.544248
170
0.774436
TheMarlboroMan
48d751acd2ea53f86f0ae014e52c2e85160e9b95
77,393
cc
C++
src_py/src/python-BaseCurve.cc
MatteoRagni/Clothoids-1
b7fa270e65ba291a67ff3a3612810595fa436d0f
[ "BSD-2-Clause" ]
null
null
null
src_py/src/python-BaseCurve.cc
MatteoRagni/Clothoids-1
b7fa270e65ba291a67ff3a3612810595fa436d0f
[ "BSD-2-Clause" ]
null
null
null
src_py/src/python-BaseCurve.cc
MatteoRagni/Clothoids-1
b7fa270e65ba291a67ff3a3612810595fa436d0f
[ "BSD-2-Clause" ]
null
null
null
/** * PYTHON Wrapper for Clothoids * * License MIT - See LICENSE file * 2019 Matteo Ragni, Claudio Kerov Ghiglianovich, * Enrico Bertolazzi, Marco Frego */ #include "python-BaseCurve.hh" #include "pybind11/stl.h" namespace G2lib { namespace python { void wrap_BaseCurve(py::module & m) { py::e...
34.877422
132
0.573023
MatteoRagni
48db8c96d5adaf28c0ca04982b945a4f6fbf673d
310
cpp
C++
Dimik OJ/bornomala theke sonkha.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Dimik OJ/bornomala theke sonkha.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Dimik OJ/bornomala theke sonkha.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int t; string s; cin>>t; while(t--) { cin>>s; for(int i = 0; i < s.length(); i++) { int t = s[i] - 'A'; t++; cout<<t; } cout<<endl; } return 0; }
14.090909
43
0.354839
Sohelr360
48dea8946482d2ab2d8cad98d6cd001e890235f9
2,304
hpp
C++
include/asymmetric_distribution.hpp
mirandaconrado/probability-distributions
6b7d86e181237eb134e6df6da60200beed66922f
[ "MIT" ]
null
null
null
include/asymmetric_distribution.hpp
mirandaconrado/probability-distributions
6b7d86e181237eb134e6df6da60200beed66922f
[ "MIT" ]
null
null
null
include/asymmetric_distribution.hpp
mirandaconrado/probability-distributions
6b7d86e181237eb134e6df6da60200beed66922f
[ "MIT" ]
null
null
null
#ifndef __PROBABILITY_DISTRIBUTIONS__ASYMMETRIC_DISTRIBUTION_HPP__ #define __PROBABILITY_DISTRIBUTIONS__ASYMMETRIC_DISTRIBUTION_HPP__ #include "distribution.hpp" namespace ProbabilityDistributions { template <class Dist, class D, class W = D, class T = W> class AsymmetricDistribution: public Distribution<D,W,T> {...
33.882353
78
0.648872
mirandaconrado
48e1b0bdb0596f6479bb829768c77151695d74d3
2,534
cpp
C++
geotrans3.7/CCS/src/dtcc/CoordinateTuples/CoordinateTuple.cpp
mjj203/tippecanoe
140ae1da6438a23d82f41e9c7b7b129107bf6e2d
[ "BSD-2-Clause" ]
1
2021-07-05T07:40:49.000Z
2021-07-05T07:40:49.000Z
geotrans3.7/CCS/src/dtcc/CoordinateTuples/CoordinateTuple.cpp
mjj203/tippecanoe
140ae1da6438a23d82f41e9c7b7b129107bf6e2d
[ "BSD-2-Clause" ]
1
2015-01-13T10:08:35.000Z
2015-01-13T10:08:35.000Z
geotrans3.7/CCS/src/dtcc/CoordinateTuples/CoordinateTuple.cpp
mjj203/tippecanoe
140ae1da6438a23d82f41e9c7b7b129107bf6e2d
[ "BSD-2-Clause" ]
2
2017-07-24T13:34:49.000Z
2017-11-14T16:52:38.000Z
// CLASSIFICATION: UNCLASSIFIED #include <stdio.h> #include <string.h> #include "CoordinateTuple.h" #include "CoordinateType.h" using namespace MSP::CCS; CoordinateTuple::CoordinateTuple() : _coordinateType( CoordinateType::geodetic ) { strcpy( _errorMessage, ""); strcpy( _warningMessage, ""); // _warningMe...
20.435484
132
0.722573
mjj203
48e51119690ed4615a28c1a0b18930a6ca6faf23
1,988
cpp
C++
601-700/692-Top_K_Frequent_Words-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
1
2018-10-02T22:44:52.000Z
2018-10-02T22:44:52.000Z
601-700/692-Top_K_Frequent_Words-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
601-700/692-Top_K_Frequent_Words-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
// Given a non-empty list of words, return the k most frequent elements. // Your answer should be sorted by frequency from highest to lowest. If two // words have the same frequency, then the word with the lower alphabetical // order comes first. // Example 1: // Input: ["i", "love", "leetcode", "i", "love", "coding"...
33.133333
79
0.554326
ysmiles
48e53134196a79de5e9630170cb29bf67161bc52
204
cc
C++
tests/pe.cc
lethalbit/libalfheim
e70db0db7a7998e974e08fe2a955814e247e1ff6
[ "BSD-3-Clause" ]
1
2021-05-05T15:58:36.000Z
2021-05-05T15:58:36.000Z
tests/pe.cc
lethalbit/libalfheim
e70db0db7a7998e974e08fe2a955814e247e1ff6
[ "BSD-3-Clause" ]
null
null
null
tests/pe.cc
lethalbit/libalfheim
e70db0db7a7998e974e08fe2a955814e247e1ff6
[ "BSD-3-Clause" ]
null
null
null
/* SPDX-License-Identifier: BSD-3-Clause */ /* pe.cc - libalfheim `pe` test suite */ #include <libalfheim/pe.hh> #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> TEST_CASE( "~~?~~", "[pe]" ) { }
17
43
0.647059
lethalbit
48e6a3cfb94ee3ba124dcfba65feb77e2e280580
12,434
cpp
C++
ks/src/unix_manager.cpp
acplt/acplt-ks
9c1acdeeabd93d1627a0fe4c5ac7888144c950fe
[ "Artistic-1.0-cl8", "Apache-2.0" ]
null
null
null
ks/src/unix_manager.cpp
acplt/acplt-ks
9c1acdeeabd93d1627a0fe4c5ac7888144c950fe
[ "Artistic-1.0-cl8", "Apache-2.0" ]
null
null
null
ks/src/unix_manager.cpp
acplt/acplt-ks
9c1acdeeabd93d1627a0fe4c5ac7888144c950fe
[ "Artistic-1.0-cl8", "Apache-2.0" ]
null
null
null
/* -*-plt-c++-*- */ /* $Header: /home/david/cvs/acplt/ks/src/unix_manager.cpp,v 1.19 2007-04-25 12:57:21 martin Exp $ */ /* * Copyright (c) 1996, 1997, 1998, 1999 * Lehrstuhl fuer Prozessleittechnik, RWTH Aachen * D-52064 Aachen, Germany. * All rights reserved. * * This file is part of the ACPLT/KS Package which ...
36.896142
106
0.618465
acplt
f707907e276729b3c66631c99a895c99f23f2a70
1,320
cc
C++
oak/client/authorization_bearer_token_metadata.cc
blaxill/oak
0f3f00b984b8c7b34fbf414a27471390ab819f8d
[ "Apache-2.0" ]
null
null
null
oak/client/authorization_bearer_token_metadata.cc
blaxill/oak
0f3f00b984b8c7b34fbf414a27471390ab819f8d
[ "Apache-2.0" ]
null
null
null
oak/client/authorization_bearer_token_metadata.cc
blaxill/oak
0f3f00b984b8c7b34fbf414a27471390ab819f8d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 The Project Oak Authors * * 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 o...
33.846154
96
0.765909
blaxill
f70799f5a78e22f9b6503ae65d04ffb807617423
213
cpp
C++
src/Engine/RHI/RHICommandList.cpp
slavidodo/game-engine
0be66b100648d28557b7755b4ab190e48cffce59
[ "Apache-2.0" ]
3
2020-02-29T05:50:59.000Z
2020-06-17T14:16:20.000Z
src/Engine/RHI/RHICommandList.cpp
slavidodo/game-engine
0be66b100648d28557b7755b4ab190e48cffce59
[ "Apache-2.0" ]
1
2020-04-23T16:36:31.000Z
2020-04-23T16:36:31.000Z
src/Engine/RHI/RHICommandList.cpp
slavidodo/game-engine
0be66b100648d28557b7755b4ab190e48cffce59
[ "Apache-2.0" ]
5
2020-04-18T08:58:37.000Z
2020-10-06T12:14:42.000Z
#include "pch.h" #include "RHICommandList.h" RHICommandListExecutor gRHICommandList; RHICommandListImmediate& RHICommandListExecutor::GetImmediateCommandList() { return gRHICommandList.ImmediateCommandList; }
19.363636
74
0.840376
slavidodo
f709ee42b49bcd717f2301868032f85c8a3a9a44
1,728
hpp
C++
sc-memory/sc-memory/sc_template_search.hpp
Zioba/sc-machine
acc578d29f983f3b05252b2e47ec543b55c43931
[ "MIT" ]
13
2016-11-15T07:22:51.000Z
2021-10-02T10:11:09.000Z
sc-memory/sc-memory/sc_template_search.hpp
fintarin/sc-machine
1419571f69063be10ca7180879489196038a3e3e
[ "MIT" ]
136
2016-11-08T20:29:39.000Z
2021-11-27T14:14:29.000Z
sc-memory/sc-memory/sc_template_search.hpp
fintarin/sc-machine
1419571f69063be10ca7180879489196038a3e3e
[ "MIT" ]
16
2016-10-31T11:30:05.000Z
2021-08-31T22:51:06.000Z
#pragma once #include "sc_template.hpp" #include "sc_template_named_struct.hpp" #include "sc_template_params.hpp" #include <limits> #include <string> class ScTemplateSearchImpl; /*! * \brief This class allows to run template based search. */ class ScTemplateSearch final { public: class Iterator { friend cl...
22.441558
71
0.682292
Zioba
f70d257f885241fd8c6c8d9398b6a90568c1fab7
41,617
cc
C++
test/web_server/http/form_validation.cc
varqox/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
12
2017-11-05T21:02:58.000Z
2022-03-28T23:11:51.000Z
test/web_server/http/form_validation.cc
varqox/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
11
2017-01-05T18:11:41.000Z
2019-11-01T12:40:55.000Z
test/web_server/http/form_validation.cc
krzyk240/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
6
2016-12-25T11:22:34.000Z
2020-10-20T16:03:51.000Z
#include "src/web_server/http/form_validation.hh" #include "sim/sql_fields/blob.hh" #include "sim/sql_fields/bool.hh" #include "sim/sql_fields/varbinary.hh" #include "simlib/concat_tostr.hh" #include "simlib/enum_with_string_conversions.hh" #include "simlib/random_bytes.hh" #include "simlib/ranges.hh" #include "simlib/...
43.260915
95
0.619074
varqox
f70e14406b7171b81eec2a46001f9fb82f0eb7ae
12,457
hxx
C++
include/vigra/morpho_basic.hxx
ThomasWalter/vigra
e92c892aae38c3977dc3f6400f46377b0cb61799
[ "MIT" ]
null
null
null
include/vigra/morpho_basic.hxx
ThomasWalter/vigra
e92c892aae38c3977dc3f6400f46377b0cb61799
[ "MIT" ]
null
null
null
include/vigra/morpho_basic.hxx
ThomasWalter/vigra
e92c892aae38c3977dc3f6400f46377b0cb61799
[ "MIT" ]
null
null
null
// Author(s): Thomas Walter // $Date$ // $Rev$ // $URL$ #ifndef MORPHO_BASIC_HXX_ #define MORPHO_BASIC_HXX_ #include "morpho_utilities.hxx" namespace vigra{ namespace morpho{ template<class Iterator1, class Accessor1, class Iterator2, class Accessor2, class SElement, class Functor> void morphoBasicSEOperation( I...
35.899135
107
0.614353
ThomasWalter
f710dc3fae8b40712a9448929b784769526e316e
1,789
cpp
C++
sliding window/max_element_in_every_window_of_size_k.cpp
sureshmangs/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
sliding window/max_element_in_every_window_of_size_k.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
sliding window/max_element_in_every_window_of_size_k.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
/* You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in the window. Each time the sliding window moves right by one position. Return the max sliding window. Example 1: Input: nums = [1,3,...
22.08642
97
0.456121
sureshmangs
f7136b6d97f4371deca47d1160179d2aaed27798
1,951
cxx
C++
Libraries/ITK/RegistrationToolbox/Commands/itkVnlIterationUpdateCommand.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
Libraries/ITK/RegistrationToolbox/Commands/itkVnlIterationUpdateCommand.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
Libraries/ITK/RegistrationToolbox/Commands/itkVnlIterationUpdateCommand.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
25.337662
101
0.639159
NifTK
f71c044ca5230e44fdd9acf425bf63024d88d963
1,520
hpp
C++
RealtekCardReader/OSDictionary.hpp
MK-986123/RealtekCardReader
0b1a4c66082b63d057cba2a54721b62cbf11c0ac
[ "BSD-3-Clause" ]
106
2021-07-16T03:27:28.000Z
2022-03-31T15:35:50.000Z
RealtekCardReader/OSDictionary.hpp
MK-986123/RealtekCardReader
0b1a4c66082b63d057cba2a54721b62cbf11c0ac
[ "BSD-3-Clause" ]
28
2021-07-16T09:03:10.000Z
2022-03-28T03:36:47.000Z
RealtekCardReader/OSDictionary.hpp
MK-986123/RealtekCardReader
0b1a4c66082b63d057cba2a54721b62cbf11c0ac
[ "BSD-3-Clause" ]
14
2021-07-16T16:15:09.000Z
2022-02-24T22:08:21.000Z
// // OSDictionary.hpp // RealtekCardReader // // Created by FireWolf on 8/25/21. // #ifndef OSDictionary_hpp #define OSDictionary_hpp #include <libkern/c++/OSDictionary.h> static inline bool OSDictionaryAddStringToDictionary(OSDictionary* dictionary, const char* key, const char* value) { OSString* v = OSStri...
22.028986
132
0.668421
MK-986123
f71d4e2f8dbb897afda6b9ea53cdb4ce0fcf05f5
1,741
cpp
C++
examples/05-user-data/05-user-data.cpp
UofUEpi/epiworld
a510644b05803f8c617dfcb7a909805649da3eb2
[ "MIT" ]
null
null
null
examples/05-user-data/05-user-data.cpp
UofUEpi/epiworld
a510644b05803f8c617dfcb7a909805649da3eb2
[ "MIT" ]
null
null
null
examples/05-user-data/05-user-data.cpp
UofUEpi/epiworld
a510644b05803f8c617dfcb7a909805649da3eb2
[ "MIT" ]
null
null
null
#define EPI_DEBUG #include "../../include/epiworld/epiworld.hpp" int main() { // Setting up model -------------------------------------------------------- epiworld::Model<> model; model.add_status("Susceptible", epiworld::default_update_susceptible<>); model.add_status("Exposed", epiworld::default_upd...
26.378788
80
0.568639
UofUEpi
f72091dca8e7fb261fe502acf355fa27d093a6b7
6,638
cpp
C++
include/opensslpp/crypto.cpp
diegomazala/openssl_cpp
92f224834baa88a6c915219da50a4942aebee677
[ "MIT" ]
null
null
null
include/opensslpp/crypto.cpp
diegomazala/openssl_cpp
92f224834baa88a6c915219da50a4942aebee677
[ "MIT" ]
null
null
null
include/opensslpp/crypto.cpp
diegomazala/openssl_cpp
92f224834baa88a6c915219da50a4942aebee677
[ "MIT" ]
null
null
null
#include "crypto.h" #include <openssl/evp.h> #include <fstream> #include <sstream> #include <iostream> #include <vector> #include <opensslpp/base64.h> #include <opensslpp/aes_cbc.h> void base64_encode(const void* in_data, int in_length, char** out_data, int& out_length) { const auto pl = 4 * ((in_length + 2) / 3);...
28.127119
135
0.701115
diegomazala
f721e3b455a26c11b74668aa59fdd8d97888931a
3,384
cpp
C++
DivaHook/src/Components/ComponentsManager.cpp
nastys/TotallyLegitArcadeController
06a98ed5af55245265e3e13ccc44fb5e364b7d07
[ "MIT" ]
null
null
null
DivaHook/src/Components/ComponentsManager.cpp
nastys/TotallyLegitArcadeController
06a98ed5af55245265e3e13ccc44fb5e364b7d07
[ "MIT" ]
null
null
null
DivaHook/src/Components/ComponentsManager.cpp
nastys/TotallyLegitArcadeController
06a98ed5af55245265e3e13ccc44fb5e364b7d07
[ "MIT" ]
null
null
null
#include "ComponentsManager.h" #include "Input/InputEmulator.h" #include "Input/TouchSliderEmulator.h" #include "Input/TouchPanelEmulator.h" #include "SysTimer.h" #include "PlayerDataManager.h" #include "FrameRateManager.h" #include "StageManager.h" #include "FastLoader.h" #include "../FileSystem/ConfigFile.h" #include...
23.5
112
0.700059
nastys
f7229501e16429503d676776cccbfb96cdc2de77
614
cpp
C++
539.move-zeroes.cpp
DeepDuke/Lintcode-Solution
7c92d03f1267ed84e26180fdeb8abdfc67708019
[ "MIT" ]
null
null
null
539.move-zeroes.cpp
DeepDuke/Lintcode-Solution
7c92d03f1267ed84e26180fdeb8abdfc67708019
[ "MIT" ]
null
null
null
539.move-zeroes.cpp
DeepDuke/Lintcode-Solution
7c92d03f1267ed84e26180fdeb8abdfc67708019
[ "MIT" ]
null
null
null
class Solution { public: /** * @param nums: an integer array * @return: nothing */ void moveZeroes(vector<int> &nums) { // write your code here int swap_pos = 0; for(int i = 0; i < nums.size(); i++){ if(nums[i] == 0){ if(swap_pos < i) swap_pos =...
27.909091
74
0.395765
DeepDuke
f7250e8105189b956314e2cbc4d61514bd07b97a
6,363
cpp
C++
ocr/src/v20181119/model/RideHailingTransportLicenseOCRResponse.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
ocr/src/v20181119/model/RideHailingTransportLicenseOCRResponse.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
ocr/src/v20181119/model/RideHailingTransportLicenseOCRResponse.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
32.464286
134
0.702656
sinjoywong
f72764eef2ed23453b607e761d39bff72d60eb78
383
hpp
C++
src/config/config.hpp
rengglian/DataTransformation
afc19d072397b06fa6779c6d2bb0be1f96fd16ed
[ "MIT" ]
null
null
null
src/config/config.hpp
rengglian/DataTransformation
afc19d072397b06fa6779c6d2bb0be1f96fd16ed
[ "MIT" ]
null
null
null
src/config/config.hpp
rengglian/DataTransformation
afc19d072397b06fa6779c6d2bb0be1f96fd16ed
[ "MIT" ]
null
null
null
#pragma once #include <fstream> #include <iostream> #include <nlohmann/json.hpp> using json = nlohmann::json; class Config { public: Config(std::string fileName); ~Config(); void Read(); const std::string GetDataFile() {return data_path;}; const std::string GetTargetFile() {return target_path;}; ...
15.32
58
0.691906
rengglian
f727dc1beb31a63e51311178d85bceaf85788a92
415
hpp
C++
ParticlePlay/Core/Physics.hpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
ParticlePlay/Core/Physics.hpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
ParticlePlay/Core/Physics.hpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
#ifndef PHYSICS_HEADER #define PHYSICS_HEADER #include <ParticlePlay/Includes.hpp> class ppPhysics{ protected: float ptm; b2World* world; public: ppPhysics(float gx, float gy); b2World* GetWorld(); // ppEffect* GetEffect(); void Update(int delta); void UpdateAllBody(); void SetPTM(float ptm); float GetPTM();...
17.291667
36
0.737349
spywhere
f7281280a628f1e9932aa7768b413e7b86cb15c1
3,196
cpp
C++
Practice/2018/2018.11.28/BZOJ3235.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.11.28/BZOJ3235.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.11.28/BZOJ3235.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxN=1010; const int Mod=10007; const int inf=2147483647; int n; char Mp[maxN][maxN]; int Up[maxN][maxN],Down[maxN][maxN]; int F...
28.535714
116
0.520651
SYCstudio
f72e5b0b2826faf4a314d77615afd3485177ba41
16,908
cpp
C++
src/detection_output_layer.cpp
samylee/LCNN_SSD
5ac8da7ceb65711eeedcce0e8c78433c305b254d
[ "Apache-2.0" ]
13
2019-03-17T08:51:39.000Z
2021-03-26T11:15:32.000Z
src/detection_output_layer.cpp
samylee/LCNN_SSD
5ac8da7ceb65711eeedcce0e8c78433c305b254d
[ "Apache-2.0" ]
null
null
null
src/detection_output_layer.cpp
samylee/LCNN_SSD
5ac8da7ceb65711eeedcce0e8c78433c305b254d
[ "Apache-2.0" ]
8
2019-03-18T02:30:09.000Z
2021-07-26T09:49:23.000Z
#include "detection_output_layer.h" DetectionOutputLayer::DetectionOutputLayer() { } DetectionOutputLayer::~DetectionOutputLayer() { } void DetectionOutputLayer::layer_set_up(vector<Blob>& bottom_data_, vector<Blob>& top_data_) { objectness_score_ = 0.01; num_classes_ = 21; share_location_ = true; nu...
33.883768
100
0.695588
samylee
f73579f156804e30ab6e7f6f2dace003410ebf43
1,692
cpp
C++
gb-emu-tests/JoypadTests.cpp
VKoskiv/GameLad
0b727eb7ad4fd9f38f73a6a22ce07448f8862124
[ "MIT" ]
510
2015-12-03T06:40:39.000Z
2022-03-11T21:14:25.000Z
gb-emu-tests/JoypadTests.cpp
VKoskiv/GameLad
0b727eb7ad4fd9f38f73a6a22ce07448f8862124
[ "MIT" ]
14
2015-12-03T06:08:33.000Z
2021-04-30T05:34:16.000Z
gb-emu-tests/JoypadTests.cpp
VKoskiv/GameLad
0b727eb7ad4fd9f38f73a6a22ce07448f8862124
[ "MIT" ]
49
2016-07-23T22:02:10.000Z
2021-11-05T23:53:32.000Z
#include "stdafx.h" #include <Emulator.hpp> #include <Joypad.hpp> #define INPUT_ONLY 0x20 #define BUTTONS_ONLY 0x10 #define NO_INPUT 0x30 #define BOTH_INPUT 0x00 TEST_CLASS(JoypadTests) { public: TEST_METHOD(FullInputTest) { std::unique_ptr<Joypad> spJoypad = std::unique_ptr<Joypa...
33.84
88
0.674941
VKoskiv
f73df2a97be719e6a36849fb6371d19d4f6f97b7
1,785
inl
C++
src/cppio/network/http/encoding.inl
yamashi/cppio
a6fa39ccfd72361d0a8b11948a30db030de2ac33
[ "MIT" ]
4
2021-08-29T13:46:22.000Z
2021-11-14T20:27:30.000Z
src/cppio/network/http/encoding.inl
yamashi/cppio
a6fa39ccfd72361d0a8b11948a30db030de2ac33
[ "MIT" ]
null
null
null
src/cppio/network/http/encoding.inl
yamashi/cppio
a6fa39ccfd72361d0a8b11948a30db030de2ac33
[ "MIT" ]
null
null
null
#ifndef CPPIO_NETWORK_HTTP_ENCODING_INL_DO #error Do not include this file directly! #endif #include <cppio/network/http/http.hpp> namespace cppio::network::http { namespace details { inline char from_hex(char ch) { return isdigit(ch) ? ch - '0' : tolower(ch) - 'a' + 10; }...
26.641791
103
0.446499
yamashi
f7445d88f415f67448c333963cd368d29243cb31
565
cpp
C++
ShagDB/database.cpp
RenataRobertovna/ShagDB
26ba60a2f3e01053e551aced105a77fab2b3a5f4
[ "MIT" ]
null
null
null
ShagDB/database.cpp
RenataRobertovna/ShagDB
26ba60a2f3e01053e551aced105a77fab2b3a5f4
[ "MIT" ]
null
null
null
ShagDB/database.cpp
RenataRobertovna/ShagDB
26ba60a2f3e01053e551aced105a77fab2b3a5f4
[ "MIT" ]
null
null
null
#include "database.h" #include "ui_database.h" DataBase::DataBase(QWidget *parent) : QMainWindow(parent) , ui(new Ui::DataBase) { ui->setupUi(this); // Инициализируем второе окно sWindow = new Menu(); // подключаем к слоту запуска главного окна по кнопке во втором окне connect(sW...
22.6
73
0.646018
RenataRobertovna
f74655044e36e274aa7ed818b1753f4e32978ab6
200,645
cpp
C++
bnn/src/network/output/hls-syn/lfcW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_4.cpp
IceyFong/Lutification
3e42d34d6840d5deb84407aad5c58216527a4b0a
[ "BSD-3-Clause" ]
null
null
null
bnn/src/network/output/hls-syn/lfcW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_4.cpp
IceyFong/Lutification
3e42d34d6840d5deb84407aad5c58216527a4b0a
[ "BSD-3-Clause" ]
null
null
null
bnn/src/network/output/hls-syn/lfcW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_4.cpp
IceyFong/Lutification
3e42d34d6840d5deb84407aad5c58216527a4b0a
[ "BSD-3-Clause" ]
null
null
null
#include "Matrix_Vector_Activa.h" #include "AESL_pkg.h" using namespace std; namespace ap_rtl { void Matrix_Vector_Activa::thread_tmp1597_fu_18692_p2() { tmp1597_fu_18692_p2 = (tmp_6411_fu_3348_p3.read() ^ tmp_7182_fu_18684_p3.read()); } void Matrix_Vector_Activa::thread_tmp1598_fu_18712_p2() { tmp1598_fu_1...
50.03616
254
0.783364
IceyFong
f74bf139df8988d53b6c9f952a1e74c614374ac9
5,145
cpp
C++
es-core/src/RHGamestationConf.cpp
pmoran13800/rhgamestation-emulationstation2
18cc2fde1acbac8cc4e3e8af8adeca10f2554bdd
[ "MIT" ]
null
null
null
es-core/src/RHGamestationConf.cpp
pmoran13800/rhgamestation-emulationstation2
18cc2fde1acbac8cc4e3e8af8adeca10f2554bdd
[ "MIT" ]
null
null
null
es-core/src/RHGamestationConf.cpp
pmoran13800/rhgamestation-emulationstation2
18cc2fde1acbac8cc4e3e8af8adeca10f2554bdd
[ "MIT" ]
null
null
null
#include "RHGamestationConf.h" #include <iostream> #include <fstream> #include <boost/regex.hpp> #include "Log.h" #include <boost/algorithm/string/predicate.hpp> RHGamestationConf *RHGamestationConf::sInstance = NULL; boost::regex validLine("^(?<key>[^;|#].*?)=(?<val>.*?)$"); boost::regex commentLine("^;(?<key>.*?)=(?...
30.808383
106
0.61691
pmoran13800
f7505429f2ab2bdb1f126548368bf57b2de0852b
8,210
cpp
C++
threadpool11_demo/src/main.cpp
tghosgor/threadpool11
8998e5ca2fd2ea43bd5e74ef1deb3f0e906c3b3f
[ "MIT" ]
283
2015-01-06T18:02:29.000Z
2022-03-29T00:40:55.000Z
threadpool11_demo/src/main.cpp
tghosgor/threadpool11
8998e5ca2fd2ea43bd5e74ef1deb3f0e906c3b3f
[ "MIT" ]
11
2015-01-08T01:04:18.000Z
2021-05-08T09:08:37.000Z
threadpool11_demo/src/main.cpp
tghosgor/threadpool11
8998e5ca2fd2ea43bd5e74ef1deb3f0e906c3b3f
[ "MIT" ]
82
2015-03-23T12:22:58.000Z
2021-12-18T15:32:26.000Z
#include "threadpool11/threadpool11.hpp" #include <algorithm> #include <array> #include <cstdio> #include <cmath> #include <future> #include <iostream> #include <mutex> #include <thread> #include <vector> namespace { std::mutex coutMutex; void test1Func() { coutMutex.lock(); // heavy job that...
35.695652
111
0.578563
tghosgor
f75207f9159d49c65ba39318c924ad78ea53bbab
82,546
cpp
C++
Tests/UnitTests/Tests/Services/SocialManagerTests.cpp
natiskan/xbox-live-api
9e7e51e0863b5983c2aa334a7b0db579b3bdf1de
[ "MIT" ]
118
2019-05-13T22:56:02.000Z
2022-03-16T06:12:39.000Z
Tests/UnitTests/Tests/Services/SocialManagerTests.cpp
aspavlov/xbox-live-api
4bec6f92347d0ad6c85463b601821333de631e3a
[ "MIT" ]
31
2019-05-07T13:09:28.000Z
2022-01-26T10:02:59.000Z
Tests/UnitTests/Tests/Services/SocialManagerTests.cpp
aspavlov/xbox-live-api
4bec6f92347d0ad6c85463b601821333de631e3a
[ "MIT" ]
48
2019-05-28T23:55:31.000Z
2021-12-22T03:47:56.000Z
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "UnitTestIncludes.h" #include "xsapi-c/social_manager_c.h" #include "xsapi-cpp/social_manager.h" #include "social_manager_internal.h" using namespace x...
40.643033
307
0.576915
natiskan
f75e063d58ff13e699d1a8fdefe505a703811afd
16,165
cpp
C++
archive/stan/src/test/unit/lang/parser/reserved_words_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
archive/stan/src/test/unit/lang/parser/reserved_words_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/stan/src/test/unit/lang/parser/reserved_words_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <test/unit/lang/utility.hpp> TEST(parserReservedWords, for) { test_throws("reserved/for", "Variable identifier (name) may not be reserved word"); } TEST(parserReservedWords, in) { test_throws("reserved/in", "Variable identifier (name) may not...
29.769797
70
0.65815
alashworth
f763f1bf521dac5175d9ae2d4db88093ec0bc8a0
1,357
cc
C++
src/WorkUnits/source/PrintWorkUnitImp.cc
nishantmehta/mainGrokit
eda13cd32d523bfc2af660c34c93a38eceaccc4a
[ "Apache-2.0" ]
null
null
null
src/WorkUnits/source/PrintWorkUnitImp.cc
nishantmehta/mainGrokit
eda13cd32d523bfc2af660c34c93a38eceaccc4a
[ "Apache-2.0" ]
null
null
null
src/WorkUnits/source/PrintWorkUnitImp.cc
nishantmehta/mainGrokit
eda13cd32d523bfc2af660c34c93a38eceaccc4a
[ "Apache-2.0" ]
null
null
null
// // Copyright 2012 Alin Dobra and Christopher Jermaine // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
29.5
87
0.724392
nishantmehta
f7699a92b2842a5939c50353858f71caf33c71aa
21,800
hpp
C++
include/geometricks/memory/allocator.hpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
include/geometricks/memory/allocator.hpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
include/geometricks/memory/allocator.hpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
#ifndef GEOMETRICKS_MEMORY_ALLOCATOR_HPP #define GEOMETRICKS_MEMORY_ALLOCATOR_HPP #include <type_traits> #include <cstddef> #include "allocator/malloc_allocator.hpp" #include "geometricks/meta/detect.hpp" #include "geometricks/meta/utils.hpp" /** * @file * @brief Implements the allocator concepts used for the data s...
41.287879
203
0.683945
mitthy
f76e76ddcdddd4bb79a06fa86ec1653b751b9a49
343
hpp
C++
TFHE/include/keyswitch.hpp
dikosec/seccamp
53956752e19d24f5cd80a12f3d9aa4a6675849ad
[ "MIT" ]
2
2020-10-28T08:40:40.000Z
2021-03-04T12:51:57.000Z
TFHE/include/keyswitch.hpp
dikosec/seccamp
53956752e19d24f5cd80a12f3d9aa4a6675849ad
[ "MIT" ]
null
null
null
TFHE/include/keyswitch.hpp
dikosec/seccamp
53956752e19d24f5cd80a12f3d9aa4a6675849ad
[ "MIT" ]
null
null
null
#pragma onece #include<array> #include<random> #include<vector> #include<../include/params.hpp> #include<../include/tfhe++.hpp> namespace myTFHE{ //void gen_Key_Switching_Key(KeySwitchingKey &ksk,const lwekeylvl1 &keylvl1, const lwekeylvl0 &keylvl0); void Id_Key_Switch(TLWElvl0 &res_tlwe0,const TLWElvl1 tlwe1...
26.384615
108
0.760933
dikosec
f76f268cfb8af70590ee8bb288449133668df1da
1,084
hh
C++
psdaq/psdaq/hsd/PV64Ctrls.hh
AntoineDujardin/lcls2
8b9d2815497fbbabb4d37800fd86a7be1728b552
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/psdaq/hsd/PV64Ctrls.hh
AntoineDujardin/lcls2
8b9d2815497fbbabb4d37800fd86a7be1728b552
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/psdaq/hsd/PV64Ctrls.hh
AntoineDujardin/lcls2
8b9d2815497fbbabb4d37800fd86a7be1728b552
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifndef Hsd_PV64Ctrls_hh #define Hsd_PV64Ctrls_hh #include <string> #include <vector> namespace Pds_Epics { class EpicsPVA; }; namespace Pds { class Task; namespace HSD { class Module64; enum Action { Configure, Unconfigure, Reset, ConfigureA, ConfigureB }; enum State { InTransition=0, Configured=...
20.846154
74
0.608856
AntoineDujardin
f76f381d9e8a0fd65e1fbb8ac24360a888f53a1b
259
cpp
C++
atcoder/abc040/a.cpp
L3Sota/atcoder
7d9444e03837b537ebc6f4f917b9567af6cf5483
[ "MIT" ]
null
null
null
atcoder/abc040/a.cpp
L3Sota/atcoder
7d9444e03837b537ebc6f4f917b9567af6cf5483
[ "MIT" ]
null
null
null
atcoder/abc040/a.cpp
L3Sota/atcoder
7d9444e03837b537ebc6f4f917b9567af6cf5483
[ "MIT" ]
null
null
null
#include <iostream>//cin/cout/wcin/wcout/left/right/internal/dec/hex/oct/fixed/scientific using namespace std; int main(void) { int n, x; cin >> n >> x; int front = x - 1; int back = n - x; cout << (front < back ? front : back) << endl; return 0; }
19.923077
89
0.625483
L3Sota
f770e75b722942ceb765d53012a452b8f6490db6
26,065
cpp
C++
tests/unittests/ClassTests.cpp
lijinpei/slang
6871972976e099f5a43d5e49139e06d5f485fe2f
[ "MIT" ]
null
null
null
tests/unittests/ClassTests.cpp
lijinpei/slang
6871972976e099f5a43d5e49139e06d5f485fe2f
[ "MIT" ]
null
null
null
tests/unittests/ClassTests.cpp
lijinpei/slang
6871972976e099f5a43d5e49139e06d5f485fe2f
[ "MIT" ]
null
null
null
#include "Test.h" #include "slang/symbols/ClassSymbols.h" static constexpr const char* PacketClass = R"( class Packet; bit [3:0] command; bit [40:0] address; bit [4:0] master_id; integer time_requested; integer time_issued; integer status; typedef enum { ERR_OVERFLOW = 10, ERR_UNDERFLOW = ...
22.126486
95
0.644082
lijinpei
f77bc08d660a70fd52f679c1a259499ed812cf60
2,826
cc
C++
src/Source/Controller/PolicyHandler.cc
0KABE/Owl
e9d5981e5d41f6d327ef84cb0c3a66f41d68b91b
[ "MIT" ]
2
2021-09-11T07:35:06.000Z
2022-03-05T09:52:00.000Z
src/Source/Controller/PolicyHandler.cc
0KABE/Owl
e9d5981e5d41f6d327ef84cb0c3a66f41d68b91b
[ "MIT" ]
null
null
null
src/Source/Controller/PolicyHandler.cc
0KABE/Owl
e9d5981e5d41f6d327ef84cb0c3a66f41d68b91b
[ "MIT" ]
null
null
null
#include <rapidjson/document.h> #include <rapidjson/stringbuffer.h> #include <rapidjson/writer.h> #include "Controller.hpp" #include "Controller/PolicyHandler.hpp" #include "Proxy/ProxyNodeManager.hpp" Owl::Awaitable<void> Owl::PolicyHandler::Handle(const Owl::Request &request, Owl::Socket socket, ...
42.179104
98
0.659943
0KABE
f77e596068fa8b5807441d1a2c0cec0096f9fdbc
240,926
hpp
C++
color-tests/color-palletes.hpp
Biyorne/learningcpp
bcf963990800ed939fa4cc1b30fadccaf098155b
[ "MIT" ]
null
null
null
color-tests/color-palletes.hpp
Biyorne/learningcpp
bcf963990800ed939fa4cc1b30fadccaf098155b
[ "MIT" ]
null
null
null
color-tests/color-palletes.hpp
Biyorne/learningcpp
bcf963990800ed939fa4cc1b30fadccaf098155b
[ "MIT" ]
null
null
null
#ifndef SFUTIL_COLOR_NAMES_HPP_INCLUDED #define SFUTIL_COLOR_NAMES_HPP_INCLUDED // // color-palletes.hpp // #include <string> #include <vector> #include <SFML/Graphics/Color.hpp> // // TODO // add a self test to see if any pallets have duplicates values or names namespace color { namespace palle...
50.151124
101
0.392058
Biyorne
f785377c186bc7f9a5ab4e90b36bd2caad3a35ae
522
cpp
C++
RayTracer/RayTracer/CheckerTexture.cpp
chunkyguy/SimpleRayTracer
ef03cb8a68339b66a70c6ae1b35a664ee20a8e4b
[ "MIT" ]
1
2019-02-26T13:41:29.000Z
2019-02-26T13:41:29.000Z
RayTracer/RayTracer/CheckerTexture.cpp
chunkyguy/SimpleRayTracer
ef03cb8a68339b66a70c6ae1b35a664ee20a8e4b
[ "MIT" ]
null
null
null
RayTracer/RayTracer/CheckerTexture.cpp
chunkyguy/SimpleRayTracer
ef03cb8a68339b66a70c6ae1b35a664ee20a8e4b
[ "MIT" ]
null
null
null
#include "CheckerTexture.h" #include <cmath> CheckerTexture::CheckerTexture(const Texture * first, const Texture * second) : first_(first), second_(second) {} CheckerTexture::~CheckerTexture() {} glm::vec3 CheckerTexture::color(const glm::vec2 & uv, const glm::vec3 & location) const { float s = std::sinf(10....
26.1
98
0.649425
chunkyguy
f78e4a58edec13f36f30638aedb4112f66eb0d41
435
cpp
C++
demo/demo-openssl/main.cpp
wjx0912/cmake_modules
1599f7247cf970146d0ff28688e5f2c22c4297d2
[ "MIT" ]
null
null
null
demo/demo-openssl/main.cpp
wjx0912/cmake_modules
1599f7247cf970146d0ff28688e5f2c22c4297d2
[ "MIT" ]
null
null
null
demo/demo-openssl/main.cpp
wjx0912/cmake_modules
1599f7247cf970146d0ff28688e5f2c22c4297d2
[ "MIT" ]
null
null
null
#include <iostream> #include <openssl/md5.h> using namespace std; int main() { const char *data = "hello world"; // 原始数据 unsigned char md[16] = {0}; MD5_CTX ctx; MD5_Init(&ctx); MD5_Update(&ctx, data, strlen(data)); MD5_Final(md, &ctx); int i = 0; char buf[33] = {0}; char tmp[3] = {0}; for(i = 0; i < 16...
15.535714
44
0.577011
wjx0912
f7942cb45c608a66b5e80d7a1c19fe588083f11c
542
cpp
C++
Exercises/Single observer to counter/OverflowCounter.cpp
kinhtr/Cplusplus-Programming-in-IoT-Devices
0c9a40a549f1ec1797c67e1b35dde9e36a6a7e3f
[ "Apache-2.0" ]
null
null
null
Exercises/Single observer to counter/OverflowCounter.cpp
kinhtr/Cplusplus-Programming-in-IoT-Devices
0c9a40a549f1ec1797c67e1b35dde9e36a6a7e3f
[ "Apache-2.0" ]
null
null
null
Exercises/Single observer to counter/OverflowCounter.cpp
kinhtr/Cplusplus-Programming-in-IoT-Devices
0c9a40a549f1ec1797c67e1b35dde9e36a6a7e3f
[ "Apache-2.0" ]
null
null
null
#include "OverflowCounter.h" #include <iostream> void OverflowCounter::inc() { if (initial == limit) { initial = 0; Notify(); } else { initial++; } } void OverflowCounter::dec() { if (initial == 0) { initial = limit; //Notify(); } else { initial--; } } OverflowCounter::operat...
14.648649
49
0.588561
kinhtr
f7969bb39de7b0e4246576891f9fb2dd3a3b3f17
2,344
hpp
C++
interface/Pointer.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
interface/Pointer.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
interface/Pointer.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
1
2019-03-11T20:58:41.000Z
2019-03-11T20:58:41.000Z
#ifndef POINTER_HPP_ #define POINTER_HPP_ #include "input/InputBase.hpp" #include "input/InputBuffer.hpp" namespace reprize { namespace inf { enum GESTURE { GESTURE_MOVE_X, GESTURE_MOVE_Y, GESTURE_MOVE_Z, GESTURE_CLICK, GESTURE_TAP, GESTURE_PINCH, GESTURE_ZOOM, GESTU...
21.906542
69
0.511519
szk
f799da6643af3051d6bde680b42200d63f2b82a5
10,666
hpp
C++
InstEntry.hpp
antoniocgj/SweRV-ISS-1
bc32016a0b92d6240b5963457c4403b498200403
[ "Apache-2.0" ]
49
2020-05-27T10:14:02.000Z
2022-03-30T15:49:31.000Z
InstEntry.hpp
antoniocgj/SweRV-ISS-1
bc32016a0b92d6240b5963457c4403b498200403
[ "Apache-2.0" ]
19
2020-06-30T08:26:02.000Z
2022-03-22T05:18:14.000Z
InstEntry.hpp
antoniocgj/SweRV-ISS-1
bc32016a0b92d6240b5963457c4403b498200403
[ "Apache-2.0" ]
18
2020-08-30T02:55:25.000Z
2022-03-30T13:58:15.000Z
// Copyright 2020 Western Digital Corporation or its affiliates. // // 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 requi...
32.03003
79
0.66126
antoniocgj
f79a2f497a2a0b397b68fc0f6bcd4de8a94355c9
908
cpp
C++
src/resource_manager/resource_manager_templates.cpp
tuket/OWMAN
d1b3502c3f8e72e4442cc7b52ad32ca191ab8a11
[ "MIT" ]
6
2018-04-26T16:12:56.000Z
2021-08-06T05:20:01.000Z
src/resource_manager/resource_manager_templates.cpp
ArnCarveris/OWMAN
d1b3502c3f8e72e4442cc7b52ad32ca191ab8a11
[ "MIT" ]
13
2015-11-17T10:18:45.000Z
2018-06-08T21:02:29.000Z
src/resource_manager/resource_manager_templates.cpp
ArnCarveris/OWMAN
d1b3502c3f8e72e4442cc7b52ad32ca191ab8a11
[ "MIT" ]
2
2018-04-26T19:43:33.000Z
2019-07-03T12:27:31.000Z
#ifndef RESOURCE_MANAGER_TEMPLATES #define RESOURCE_MANAGER_TEMPLATES template <typename T> T* ResourceManager::obtainCell(std::string name) { pthread_mutex_lock(&mutexTable); unsigned int count = resourceTable.getCount( name ); pthread_mutex_unlock(&mutexTable); // not loaded if( count == 0 ) { T* ...
22.146341
75
0.703744
tuket
f79cdb988d48f847cc43589b5c61afdabbbcb357
1,399
cc
C++
algos/binary_search.cc
fcarreiro/crashingthecode
5a76be0aecfdbe4e913c2d790023c24fbabf80a1
[ "MIT" ]
1
2020-03-07T14:35:16.000Z
2020-03-07T14:35:16.000Z
algos/binary_search.cc
fcarreiro/crashingthecode
5a76be0aecfdbe4e913c2d790023c24fbabf80a1
[ "MIT" ]
null
null
null
algos/binary_search.cc
fcarreiro/crashingthecode
5a76be0aecfdbe4e913c2d790023c24fbabf80a1
[ "MIT" ]
null
null
null
#include <cmath> #include <cstddef> #include <iostream> #include <vector> #include <algorithm> #include "../test_helpers.h" template<class T, class ArrayLike> std::size_t binary_search(const T& value, const ArrayLike& v) { if(v.empty()) { return 0; } std::size_t min = 0; std::size_t max = v.size() - 1; ...
23.316667
65
0.546819
fcarreiro