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
573204aa068edd4a5b3c20ee6fac895ca77fecf1
168
cpp
C++
HW04/CharStack.cpp
CS-CMU/cs251
ba8fac9ee9da293f8e7a6d193657e0d217d9dd2b
[ "MIT" ]
null
null
null
HW04/CharStack.cpp
CS-CMU/cs251
ba8fac9ee9da293f8e7a6d193657e0d217d9dd2b
[ "MIT" ]
null
null
null
HW04/CharStack.cpp
CS-CMU/cs251
ba8fac9ee9da293f8e7a6d193657e0d217d9dd2b
[ "MIT" ]
5
2021-11-21T13:38:48.000Z
2022-01-14T15:55:02.000Z
class CharStack { public: CharStack() { // constructor } void push(char new_item) { } char pop() { } char top() { } bool isEmpty() { } };
7
30
0.505952
CS-CMU
5733c17490f9e7a52119aa9e49f101dac1911c59
74
hxx
C++
src/interfaces/python/opengm/opengmcore/pyFunctionGen.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
318
2015-01-07T15:22:02.000Z
2022-01-22T10:10:29.000Z
src/interfaces/python/opengm/opengmcore/pyFunctionGen.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
89
2015-03-24T14:33:01.000Z
2020-07-10T13:59:13.000Z
src/interfaces/python/opengm/opengmcore/pyFunctionGen.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
119
2015-01-13T08:35:03.000Z
2022-03-01T01:49:08.000Z
template<class GM_ADDER,class GM_MULT> void export_function_generator();
37
40
0.837838
burcin
573c31201bcf0f08edda0898921ef20855dee8c6
3,151
cpp
C++
packages/optionPricer2/src/AsianOption.cpp
pawelsakowski/AF-RCPP-2020-2021
c44eea09235e03097c18f13381de9b5b93806138
[ "Apache-2.0" ]
6
2020-11-03T10:56:58.000Z
2021-03-26T14:49:42.000Z
packages/optionPricer2/src/AsianOption.cpp
pawelsakowski/AF-RCPP-2021-2022
60f9aa4300fa2cc14c35213ea39b81b3656ae900
[ "Apache-2.0" ]
null
null
null
packages/optionPricer2/src/AsianOption.cpp
pawelsakowski/AF-RCPP-2021-2022
60f9aa4300fa2cc14c35213ea39b81b3656ae900
[ "Apache-2.0" ]
3
2021-12-01T21:09:06.000Z
2022-01-30T14:36:17.000Z
#include<iostream> #include<cmath> #include"getOneGaussianByBoxMueller.h" #include"AsianOption.h" //definition of constructor AsianOption::AsianOption( int nInt_, double strike_, double spot_, double vol_, double r_, double expiry_){ nInt = nInt_; strike = strike_; spot = spot_; vol = v...
21.881944
95
0.643288
pawelsakowski
574258fef1aa820127ac6b1332aba664d13a6abe
2,160
cpp
C++
Project/Dev_class11_handout/Motor2D/Move.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/Move.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/Move.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
#include "j1Player.h" #include "j1App.h" #include "j1Window.h" #include "j1Render.h" #include "p2Log.h" #include "Character.h" void Character::Attack(float dt) { } void Character::Move(float dt) { uint x = 0, y = 0; App->win->GetWindowSize(x, y); // SHORT VARIABLES int pos_x = this->pos.x; int pos_y = this->po...
25.714286
132
0.701852
Guille1406
57453b009928209f0872850ca3b4b86edb06f669
112,541
cpp
C++
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_Engine.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_Engine.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_Engine.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDMacroEng_Engine.cpp // // AUTHOR: Dean Roddey // // CREATED: 01/14/2003 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://openso...
31.05436
101
0.603629
MarkStega
574ace3982a2a69d82ff19cd4068ce02d68231fb
512
cpp
C++
src/GrayCode.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
src/GrayCode.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
src/GrayCode.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "GrayCode.hpp" vector<int> GrayCode::grayCode(int n) { vector<int> ret; if (n > 0) helper(n, ret); else ret.push_back(0); return ret; } void GrayCode::helper(int n, vector<int> &res) { if (n == 1) { res.push_back(0); res.push_back(1); } else { ...
18.285714
48
0.451172
yanzhe-chen
574af7d5837e4d25c486b2c8d1fef7e1b6d89b7a
915
cpp
C++
2DGame/windowSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
3
2015-08-18T12:59:29.000Z
2015-12-15T08:11:10.000Z
2DGame/windowSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
2DGame/windowSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
#include "windowSystem.h" #include "globals.h" #include <iostream> #include "windowComponent.h" #include "openGLFunctions.h" #include "keyboardHandler.h" SystemID WindowSystem::ID; WindowSystem::WindowSystem() { std::vector<ComponentID> subList1; //Components needed to subscribe to system s...
26.911765
123
0.69071
Cimera42
574b1ba3a0dd29cfd3226492bd5db00581ad69ff
669
cpp
C++
WFC++/Tiled/InputData.cpp
heyx3/WFCpp
a158e1ce5f8fef9b9423711b1bd8ccfdf8c57946
[ "MIT", "Unlicense" ]
7
2019-08-17T15:15:56.000Z
2021-06-03T08:02:27.000Z
WFC++/Tiled/InputData.cpp
heyx3/WFCpp
a158e1ce5f8fef9b9423711b1bd8ccfdf8c57946
[ "MIT", "Unlicense" ]
1
2017-05-01T06:13:47.000Z
2017-05-04T04:07:54.000Z
WFC++/Tiled/InputData.cpp
heyx3/WFCpp
a158e1ce5f8fef9b9423711b1bd8ccfdf8c57946
[ "MIT", "Unlicense" ]
null
null
null
#include "InputData.h" #include <algorithm> using namespace WFC; using namespace WFC::Tiled; namespace { template<typename I> I getMax(I a, I b) { return (a > b) ? a : b; } } const TileIDSet InputData::EmptyTileSet; InputData::InputData(const List<Tile>& _tiles) : tiles(_tiles) { //Collect all t...
20.90625
72
0.606876
heyx3
574de25fe8e66db01849b25238daf23f88b40a6b
4,542
cpp
C++
ares/ngp/cpu/interrupts.cpp
moon-chilled/Ares
909fb098c292f8336d0502dc677050312d8b5c81
[ "0BSD" ]
7
2020-07-25T11:44:39.000Z
2021-01-29T13:21:31.000Z
ares/ngp/cpu/interrupts.cpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
null
null
null
ares/ngp/cpu/interrupts.cpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
1
2021-03-22T16:15:30.000Z
2021-03-22T16:15:30.000Z
auto CPU::Interrupts::poll() -> void { priority = 0; cpu.inttc3.poll(vector, priority); cpu.inttc2.poll(vector, priority); cpu.inttc1.poll(vector, priority); cpu.inttc0.poll(vector, priority); cpu.intad .poll(vector, priority); cpu.inttx1.poll(vector, priority); cpu.intrx1.poll(vector, priority); cpu....
28.566038
94
0.642889
moon-chilled
57517187ec352437ca416e36da9aba0b4872cb19
3,256
cpp
C++
extra/news/src/apk/gtagml/gtagml/gtagml/tag-command/gtagml-tag-command.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/gtagml/gtagml/gtagml/tag-command/gtagml-tag-command.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/gtagml/gtagml/gtagml/tag-command/gtagml-tag-command.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
// Copyright Nathaniel Christen 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "gtagml-tag-command.h" #include "gh/gh-prenode.h" #include "kans.h" USING_KANS(GTagML) ...
23.594203
103
0.735258
scignscape
575398ac9333ca9bb91367bca31bbfcfa62e4336
648
cpp
C++
668-kth-smallest-number-in-multiplication-table.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
668-kth-smallest-number-in-multiplication-table.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
668-kth-smallest-number-in-multiplication-table.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/kth-smallest-number-in-multiplication-table class Solution { public: int findKthNumber(int m, int n, int k) { int low = 1 , high = m * n + 1; while (low < high) { int mid = low + (high - low) / 2; int c = count(mid, m, n); if ...
24
77
0.429012
nave7693
5756aa53b0c5076076d0da276b5b591675693e57
2,236
hpp
C++
SSSP/ESSENS/Core/Basic_SetOps/Level0/extract_elements.hpp
DynamicSSSP/sc18
3070cd5ad7107a3985a7a386ddf99b7f018c178a
[ "MIT" ]
4
2018-12-19T08:40:39.000Z
2021-02-22T17:31:41.000Z
SSSP/ESSENS/Core/Basic_SetOps/Level0/extract_elements.hpp
DynamicSSSP/HIPC18
3070cd5ad7107a3985a7a386ddf99b7f018c178a
[ "MIT" ]
null
null
null
SSSP/ESSENS/Core/Basic_SetOps/Level0/extract_elements.hpp
DynamicSSSP/HIPC18
3070cd5ad7107a3985a7a386ddf99b7f018c178a
[ "MIT" ]
null
null
null
#ifndef EXTRACT_ELEMENTS_HPP #define EXTRACT_ELEMENTS_HPP #include "structure_defs.hpp" using namespace std; //Extracts Relevant Information From Structure //Pairs of Elements //all template <class Type1, class Type2> void get(pair<Type1, Type2> e1, const string &opt, pair<Type1, Type2> *entry) { if(opt=="all"){...
21.09434
79
0.633721
DynamicSSSP
5756d821d58f933e87a4ed3d5facb16a31b550f5
1,733
cpp
C++
proj.android/jni/Java_joaobapt_CommonAlertListener.cpp
JoaoBaptMG/InfiniteSpaceExplorer
841fbf57e8bcab279a7b252dad1f4ef411c5cc47
[ "MIT" ]
2
2018-11-26T03:47:18.000Z
2019-01-12T10:07:58.000Z
proj.android/jni/Java_joaobapt_CommonAlertListener.cpp
JoaoBaptMG/InfiniteSpaceExplorer
841fbf57e8bcab279a7b252dad1f4ef411c5cc47
[ "MIT" ]
null
null
null
proj.android/jni/Java_joaobapt_CommonAlertListener.cpp
JoaoBaptMG/InfiniteSpaceExplorer
841fbf57e8bcab279a7b252dad1f4ef411c5cc47
[ "MIT" ]
1
2019-12-25T01:28:49.000Z
2019-12-25T01:28:49.000Z
// // Java_joaobapt_CommonAlertListener.cpp // SpaceExplorer // // Created by João Baptista on 22/04/15. // // #include <jni.h> #include <functional> #include "cocos2d.h" #include "platform/android/jni/JniHelper.h" extern "C" JNIEXPORT void JNICALL Java_joaobapt_CommonAlertListener_onClick(JNIEnv* env, jobject thi...
36.104167
137
0.691864
JoaoBaptMG
57589124f5457088dd6f32d6594069d0753e36cc
1,024
hpp
C++
module_00/ex01/Contact.class.hpp
sqatim/Cplusplus_modules_42
73a113f3731a3eb63f2943c5c6c3d8c14214c7ea
[ "MIT" ]
null
null
null
module_00/ex01/Contact.class.hpp
sqatim/Cplusplus_modules_42
73a113f3731a3eb63f2943c5c6c3d8c14214c7ea
[ "MIT" ]
null
null
null
module_00/ex01/Contact.class.hpp
sqatim/Cplusplus_modules_42
73a113f3731a3eb63f2943c5c6c3d8c14214c7ea
[ "MIT" ]
null
null
null
#ifndef Contact_CLASS_HPP #define Contact_CLASS_HPP #include <iostream> #include <iomanip> class Contact { public: void addInformation(void); void printFields(Contact Contact[]); void condition(std::string str, int check); std::string get_firstName(); std::string get_lastName(); std:...
23.272727
47
0.69043
sqatim
575d96da08051cbf14fad2f46e0e1f7b8cb8b95f
173
cpp
C++
CcCard/card.cpp
ZHKU-Robot/yjc-CardGame-Demo
bb4bbb05c04a141779f0fc62749ae2c45c56911f
[ "MIT" ]
1
2021-08-19T09:51:57.000Z
2021-08-19T09:51:57.000Z
CcCard/card.cpp
yujiecong/yjc-CardGame-Demo
bb4bbb05c04a141779f0fc62749ae2c45c56911f
[ "MIT" ]
null
null
null
CcCard/card.cpp
yujiecong/yjc-CardGame-Demo
bb4bbb05c04a141779f0fc62749ae2c45c56911f
[ "MIT" ]
null
null
null
#include "card.h" #include "ui_card.h" Card::Card(QWidget *parent) : QWidget(parent), ui(new Ui::Card) { ui->setupUi(this); } Card::~Card() { delete ui; }
11.533333
29
0.583815
ZHKU-Robot
576270b074e1c48381666474cef9051cfd10ee18
8,206
cpp
C++
src/d3d11/d3d11-device.cpp
Impulse21/nvrhi
f272a6595dd0768a8e3419f0075f0edf40d00391
[ "MIT" ]
2
2021-08-28T23:02:30.000Z
2021-08-28T23:26:21.000Z
src/d3d11/d3d11-device.cpp
Impulse21/nvrhi
f272a6595dd0768a8e3419f0075f0edf40d00391
[ "MIT" ]
null
null
null
src/d3d11/d3d11-device.cpp
Impulse21/nvrhi
f272a6595dd0768a8e3419f0075f0edf40d00391
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use,...
33.357724
143
0.652693
Impulse21
576a0800b37bbb4f4f510d3831faf261ef484773
180
cpp
C++
src/bullet.cpp
warlord500/space_invaders2
71d5acc30f95352b325ada61cb9b1389c9732961
[ "MIT" ]
null
null
null
src/bullet.cpp
warlord500/space_invaders2
71d5acc30f95352b325ada61cb9b1389c9732961
[ "MIT" ]
1
2015-05-29T04:49:09.000Z
2015-05-29T04:49:09.000Z
src/bullet.cpp
warlord500/space_invaders2
71d5acc30f95352b325ada61cb9b1389c9732961
[ "MIT" ]
null
null
null
#include "bullet.h" bullet::bullet(const sf::Texture& texture,const sf::Vector2f& pos) : sprite(texture) { this->sprite.setPosition(pos); } bullet::~bullet() { //dtor }
15
85
0.655556
warlord500
576da8069b59e53da6e5df30d9347d9ab1badec0
128
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_template_int_start.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_template_int_start.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_template_int_start.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:4b7afeba550c42f9d83c1216d8b1f28efe9eb21defa44e01e94a8fde5aa5b682 size 230
32
75
0.882813
initialz
577147c47c118b7ad546fafc37ccf7359e76743e
1,577
cpp
C++
PlatformLib/Graphics/Vulkan/cpp/VulkanTextureView.cpp
YIMonge/Rev
db3b71a27659a2652bdd50069a881702b3ae059e
[ "MIT" ]
null
null
null
PlatformLib/Graphics/Vulkan/cpp/VulkanTextureView.cpp
YIMonge/Rev
db3b71a27659a2652bdd50069a881702b3ae059e
[ "MIT" ]
null
null
null
PlatformLib/Graphics/Vulkan/cpp/VulkanTextureView.cpp
YIMonge/Rev
db3b71a27659a2652bdd50069a881702b3ae059e
[ "MIT" ]
null
null
null
#ifdef _USE_VULKAN #include "VulkanTextureView.h" void VulkanTextureView::Create(revDevice* device, const revTexture& texture, const VulkanSampler& sampler, VulkanDescriptorSet::Chunk& chunk) { this->device = device; VkImageViewCreateInfo imageViewCreateInfo = {}; imageViewCreateInfo.sType = VK_STRUCTURE_...
39.425
141
0.763475
YIMonge
57744dc92be53b43a9265b40199e9d0dceeae52c
335
hpp
C++
raisim/win32/mt_release/include/raisim/math/Core.hpp
simRepoRelease/raisimLib
00724ac2abb0b4c11aadb4ddd3455fc42c57a34e
[ "Apache-2.0" ]
142
2020-10-21T18:18:13.000Z
2022-03-29T11:49:25.000Z
raisim/win32/mt_release/include/raisim/math/Core.hpp
simRepoRelease/raisimLib
00724ac2abb0b4c11aadb4ddd3455fc42c57a34e
[ "Apache-2.0" ]
192
2020-10-21T15:51:15.000Z
2022-03-28T12:56:01.000Z
raisim/win32/mt_release/include/raisim/math/Core.hpp
simRepoRelease/raisimLib
00724ac2abb0b4c11aadb4ddd3455fc42c57a34e
[ "Apache-2.0" ]
51
2020-10-26T08:29:54.000Z
2022-03-23T12:00:23.000Z
//----------------------------// // This file is part of RaiSim// // Copyright 2020, RaiSim Tech// //----------------------------// #ifndef RAIMATH__CORE_HPP_ #define RAIMATH__CORE_HPP_ #include "Expression.hpp" #include "Eigen/Core" #include "Eigen/Dense" #include "Matrix.hpp" #include "Product.hpp" #endif //RAIM...
18.611111
32
0.602985
simRepoRelease
57774f31f626799496f06bd086943ae680404762
226
cc
C++
test_testdriver/test_main.cc
KarlJansson/CMakeMaker
05ec25ca4ea196a50697e13f7756e7be79a08281
[ "MIT" ]
null
null
null
test_testdriver/test_main.cc
KarlJansson/CMakeMaker
05ec25ca4ea196a50697e13f7756e7be79a08281
[ "MIT" ]
null
null
null
test_testdriver/test_main.cc
KarlJansson/CMakeMaker
05ec25ca4ea196a50697e13f7756e7be79a08281
[ "MIT" ]
null
null
null
#include "precomp.h" #include "test_common_writer.h" #include "test_subdir_writer.h" #include "test_testtarget_writer.h" int main(int argc, char** args) { ::testing::InitGoogleTest(&argc, args); return RUN_ALL_TESTS(); }
22.6
41
0.738938
KarlJansson
577d88d8aec5a4153ce1aba5cb462c3dd6e56bac
4,295
hpp
C++
logos/consensus/persistence/block_cache.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
3
2020-01-17T18:05:19.000Z
2021-12-29T04:21:59.000Z
logos/consensus/persistence/block_cache.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
null
null
null
logos/consensus/persistence/block_cache.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
2
2020-12-22T05:51:53.000Z
2021-06-08T00:27:46.000Z
#pragma once #include <memory> #include <mutex> #include <unordered_set> #include <logos/lib/numbers.hpp> #include <logos/lib/hash.hpp> #include <logos/lib/trace.hpp> #include <logos/blockstore.hpp> #include <logos/consensus/messages/common.hpp> #include <logos/consensus/messages/messages.hpp> #include <logos/epoc...
27.183544
105
0.652619
LogosNetwork
578426ac2e24c34d55bdf3160fe668698aca5adc
264
hpp
C++
dynamic/wrappers/cell_based/SimpleTargetAreaModifier2.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/cell_based/SimpleTargetAreaModifier2.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/cell_based/SimpleTargetAreaModifier2.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#ifndef SimpleTargetAreaModifier2_hpp__pyplusplus_wrapper #define SimpleTargetAreaModifier2_hpp__pyplusplus_wrapper namespace py = pybind11; void register_SimpleTargetAreaModifier2_class(py::module &m); #endif // SimpleTargetAreaModifier2_hpp__pyplusplus_wrapper
37.714286
61
0.893939
jmsgrogan
5785136e1ce93a212f6f6835c971d31e13efba6e
472
cpp
C++
calendar/monthFirstDay.cpp
allhailthetail/cpp-itp-main
43a33a3df68feac3a600b3a51af3fbe893225277
[ "MIT" ]
null
null
null
calendar/monthFirstDay.cpp
allhailthetail/cpp-itp-main
43a33a3df68feac3a600b3a51af3fbe893225277
[ "MIT" ]
null
null
null
calendar/monthFirstDay.cpp
allhailthetail/cpp-itp-main
43a33a3df68feac3a600b3a51af3fbe893225277
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int monthStart(int month, int year){ //fills an array with days of the week... //determines day of the week the 1st is on: static int t[] = { 0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4 }; const int day = 1; //always first day of month int week_day; year -= month < 3; ...
21.454545
75
0.599576
allhailthetail
578b957954c6bf9c9ade1639de916244b36d04f3
1,101
cpp
C++
Graphs/Longest Path in a DAG.cpp
Sumitkk10/Competitive-Programming
886eabe251f962336070a02bba92c9ac768d8e92
[ "MIT" ]
3
2020-09-25T07:40:29.000Z
2020-10-09T18:11:57.000Z
Graphs/Longest Path in a DAG.cpp
Sumitkk10/Competitive-Programming
886eabe251f962336070a02bba92c9ac768d8e92
[ "MIT" ]
null
null
null
Graphs/Longest Path in a DAG.cpp
Sumitkk10/Competitive-Programming
886eabe251f962336070a02bba92c9ac768d8e92
[ "MIT" ]
2
2020-09-25T10:32:57.000Z
2021-02-28T03:23:29.000Z
// Longest path in a DAG #include <bits/stdc++.h> #define fast ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL) #define ll long long int #define ld long double using namespace std; const int N = 1e6 + 5; const int MOD = 1e9 + 7; vector<int> graph[N]; queue<int> q; int LPD[N], indegree[N]; bool vis[N]; void d...
16.432836
70
0.521344
Sumitkk10
c2318bd4493f89a167861620a9f8315d8b5b6cc0
10,523
cpp
C++
Chap09/BusObject/CQuartermaster.cpp
KLM-GIT/Professional-NT-Services
cf058239286b5be14a21f7f19d41683842b92313
[ "Apache-2.0" ]
null
null
null
Chap09/BusObject/CQuartermaster.cpp
KLM-GIT/Professional-NT-Services
cf058239286b5be14a21f7f19d41683842b92313
[ "Apache-2.0" ]
null
null
null
Chap09/BusObject/CQuartermaster.cpp
KLM-GIT/Professional-NT-Services
cf058239286b5be14a21f7f19d41683842b92313
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #define HANDLEALLOCCOST 1000 //remove to use //---------------------------------------- // // List Class members // #define SPINX 5000 CFreeList::CFreeList() : m_pHead( NULL ), m_pTail( NULL ), m_Count(0) { InitializeCriticalSectionAndSpinCount( &m_cs, SPINX ); } CFreeList::~CFreeList() { Re...
20.962151
101
0.683265
KLM-GIT
c23800301b0fcdd35166b312a99495b381f598e3
3,821
hpp
C++
packages/monte_carlo/collision/electron/src/MonteCarlo_HybridElasticPositronatomicReaction.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_HybridElasticPositronatomicReaction.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_HybridElasticPositronatomicReaction.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_HybridElasticPositronatomicReaction.hpp //! \author Luke Kersting //! \brief The hybrid scattering elastic positron-atomic reaction class decl. //! //--------------------------------------------------------------...
39.391753
136
0.669458
bam241
c23c3c66cb8c588619199b2e24b66c3e97d9e21f
2,587
cc
C++
tests/search.cc
juliusikkala/MonkeroECS
145a0536ffa6f18f3389cce77de0522e579c850b
[ "MIT" ]
null
null
null
tests/search.cc
juliusikkala/MonkeroECS
145a0536ffa6f18f3389cce77de0522e579c850b
[ "MIT" ]
null
null
null
tests/search.cc
juliusikkala/MonkeroECS
145a0536ffa6f18f3389cce77de0522e579c850b
[ "MIT" ]
null
null
null
#include "test.hh" #include <unordered_map> #include <string> struct test_component { std::string name; }; size_t add_count = 0; size_t remove_count = 0; template<> class monkero::search_index<test_component> { public: entity find(const std::string& name) const { auto it = name_to_id.find(name); ...
25.116505
75
0.575184
juliusikkala
c24a6bd0971f0a1f1fd0ba4cb26416eeba127fff
497
cpp
C++
test/split_msg_macros_def.cpp
ggerganov/dynamix
7530d2d6a39a0824410f2535ab5fc95d3821488f
[ "MIT" ]
580
2016-06-26T20:44:17.000Z
2022-03-30T01:26:51.000Z
test/split_msg_macros_def.cpp
ggerganov/dynamix
7530d2d6a39a0824410f2535ab5fc95d3821488f
[ "MIT" ]
35
2016-06-28T11:15:49.000Z
2022-01-28T14:03:30.000Z
test/split_msg_macros_def.cpp
ggerganov/dynamix
7530d2d6a39a0824410f2535ab5fc95d3821488f
[ "MIT" ]
52
2016-06-26T19:49:24.000Z
2022-01-25T18:18:31.000Z
// DynaMix // Copyright (c) 2013-2019 Borislav Stanimirov, Zahary Karadjov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // #define DYNAMIX_NO_MESSAGE_MACROS #include <dynamix/define_message_split.hpp> #include "split_msg_macros_m...
29.235294
63
0.816901
ggerganov
c250e0ed4e8f4806f0a8e943c787c271d6c95dcd
367
cpp
C++
Questions Level-Wise/Medium/finding-the-users-active-minutes.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Medium/finding-the-users-active-minutes.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Medium/finding-the-users-active-minutes.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: vector<int> findingUsersActiveMinutes(vector<vector<int>>& logs, int k) { unordered_map<int,unordered_set<int>> m; vector<int> x(k); for(auto e: logs) m[e[0]].insert(e[1]); for(auto e: m) if(e.second.size()<=k) x[e...
26.214286
76
0.506812
PrakharPipersania
c25181a94ee536dd8cae2a4e9fec05efead378c9
2,355
cpp
C++
PART-2/videoprocess.cpp
RaviSriTejaKuriseti/COP290-ASS1
4f6e3f8dd635ece39eb063ea7e5da402373d87ad
[ "MIT" ]
1
2021-05-07T18:55:26.000Z
2021-05-07T18:55:26.000Z
PART-2/videoprocess.cpp
RaviSriTejaKuriseti/COP290-ASS1
4f6e3f8dd635ece39eb063ea7e5da402373d87ad
[ "MIT" ]
null
null
null
PART-2/videoprocess.cpp
RaviSriTejaKuriseti/COP290-ASS1
4f6e3f8dd635ece39eb063ea7e5da402373d87ad
[ "MIT" ]
null
null
null
#include "auxcode.h" vector<Point2f>src_img; vector<Point2f>desti_img; vector<Point2f>rect; int main(int argc, char** argv) { desti_img.push_back(Point2f(472, 52)); desti_img.push_back(Point2f(472, 830)); desti_img.push_back(Point2f(800, 830)); desti_img.push_back(Point2f(800, 52)); src_img.pus...
22.644231
83
0.582166
RaviSriTejaKuriseti
c251b3b1804fe34a97404c5034fce89b454959a5
6,849
cpp
C++
src/Song/SongsBookmarksDatabaseManager.cpp
tardypad/sailfishos-somafm
70d8522b6fedcf18e2c08c3464d164cd5a748e19
[ "MIT" ]
3
2016-07-05T13:27:46.000Z
2019-02-21T09:37:42.000Z
src/Song/SongsBookmarksDatabaseManager.cpp
tardypad/sailfishos-somafm
70d8522b6fedcf18e2c08c3464d164cd5a748e19
[ "MIT" ]
6
2019-03-07T17:20:25.000Z
2019-05-05T09:35:04.000Z
src/Song/SongsBookmarksDatabaseManager.cpp
tardypad/sailfishos-somafm
70d8522b6fedcf18e2c08c3464d164cd5a748e19
[ "MIT" ]
null
null
null
/** * Copyright (c) 2013-2019 Damien Tardy-Panis * * This file is subject to the terms and conditions defined in * file 'LICENSE', which is part of this source code package. **/ #include "SongsBookmarksDatabaseManager.h" #include <QDebug> #include <QStringList> #include <QSqlQuery> #include <QVariant> #include <...
34.943878
144
0.662724
tardypad
c251df6fcf33ace442fc603528e94f6c50f83298
1,424
cpp
C++
Alchemy/Classes/Object/Alchemy/Plant.cpp
kkh029/Alchemy
ed3d96452508b6cf5680392028bef409dd8d78f1
[ "Apache-2.0" ]
null
null
null
Alchemy/Classes/Object/Alchemy/Plant.cpp
kkh029/Alchemy
ed3d96452508b6cf5680392028bef409dd8d78f1
[ "Apache-2.0" ]
1
2017-02-10T03:54:29.000Z
2017-02-10T03:54:29.000Z
Alchemy/Classes/Object/Alchemy/Plant.cpp
kkh029/Alchemy
ed3d96452508b6cf5680392028bef409dd8d78f1
[ "Apache-2.0" ]
null
null
null
// // Plant.cpp // Alchemy // // Created by Kyounghwan on 2014. 3. 1.. // 1302 Plant 3 30 - - - Tower - 재료. 1104 1201 // #include "Plant.h" #include "WindTalisman.h" #include "WaterTalisman.h" #include "EarthTalisman.h" #include "FireTalisman.h" /* ALCHEMY PARAMETER */ #define TWEEN_EASING_MAX_INDE...
15.648352
56
0.57514
kkh029
c25658fdad6cb914a10fe8cb43bbd24cc6dec870
16,142
cpp
C++
libs/base/src/poses/CPose3DQuatPDFGaussian_unittest.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
2
2017-03-25T18:09:17.000Z
2017-05-22T08:14:48.000Z
libs/base/src/poses/CPose3DQuatPDFGaussian_unittest.cpp
shivangag/mrpt
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
null
null
null
libs/base/src/poses/CPose3DQuatPDFGaussian_unittest.cpp
shivangag/mrpt
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
1
2017-06-30T18:23:45.000Z
2017-06-30T18:23:45.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
43.983651
145
0.672655
feroze
c2570b1ac89a18edf8ef13937bdfad185456de24
184,391
cpp
C++
GPUPerfStudio/Server/Common/Linux/jpglib/jfdctint.cpp
davidlee80/amd-gpuperfstudio-dx12
4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe
[ "MIT" ]
1
2017-03-25T02:09:15.000Z
2017-03-25T02:09:15.000Z
GPUPerfStudio/Server/Common/Linux/jpglib/jfdctint.cpp
davidlee80/amd-gpuperfstudio-dx12
4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe
[ "MIT" ]
null
null
null
GPUPerfStudio/Server/Common/Linux/jpglib/jfdctint.cpp
davidlee80/amd-gpuperfstudio-dx12
4ce82d2eb0c9b8a8fc2889372b370ab23383a0fe
[ "MIT" ]
3
2017-03-15T03:35:13.000Z
2022-02-23T06:29:02.000Z
/* * jfdctint.c * * Copyright (C) 1991-1996, Thomas G. Lane. * Modification developed 2003-2009 by Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains a slow-but-accurate integer implem...
40.543316
107
0.520573
davidlee80
c25f57e0f7f7c7b7d1556308fc524f1dd1eb0e23
4,095
cpp
C++
BasiliskII/src/Windows/router/ftp.cpp
jvernet/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
940
2015-01-04T12:20:10.000Z
2022-03-29T12:35:27.000Z
BasiliskII/src/Windows/router/ftp.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
163
2015-02-10T09:08:10.000Z
2022-03-13T05:48:10.000Z
BasiliskII/src/Windows/router/ftp.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
188
2015-01-07T19:46:11.000Z
2022-03-26T19:06:00.000Z
/* * ftp.cpp - ip router * * Basilisk II (C) 1997-2008 Christian Bauer * * Windows platform specific code copyright (C) Lauri Pesonen * * 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 Softwar...
21.108247
99
0.542613
jvernet
c263f74bb182d8d679315f6df55b46a143b00983
11,465
cpp
C++
src/org/apache/poi/poifs/dev/POIFSHeaderDumper.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/dev/POIFSHeaderDumper.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/dev/POIFSHeaderDumper.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/poifs/dev/POIFSHeaderDumper.java #include <org/apache/poi/poifs/dev/POIFSHeaderDumper.hpp> #include <java/io/FileInputStream.hpp> #include <java/io/PrintStream.hpp> #include <java/io/Serializable.hpp> #include <java/lang/ArrayStoreException.hpp> #include <java/lang/CharSequen...
51.877828
265
0.658613
pebble2015
c267164a38c751e6fd15300491502e71f890fd4c
792
cpp
C++
essentials/demos/ex-properties/employee.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
16
2017-01-11T17:28:03.000Z
2021-09-27T16:12:01.000Z
essentials/demos/ex-properties/employee.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
null
null
null
essentials/demos/ex-properties/employee.cpp
sfaure-witekio/qt-training-material
d166e4ed9cc5f5faab85b0337c5844c4cdcb206e
[ "BSD-3-Clause" ]
4
2017-03-17T02:44:32.000Z
2021-01-22T07:57:34.000Z
/************************************************************************* * * Copyright (c) 2016 The Qt Company * All rights reserved. * * See the LICENSE.txt file shipped along with this file for the license. * *************************************************************************/ #include "employee.h" E...
18
75
0.522727
sfaure-witekio
c269cf34b9be43e2bfaabb3f95d6f85dd8a86f6c
7,148
cpp
C++
1SST/10LW/array.cpp
AVAtarMod/University
3c784a1e109b7a6f6ea495278ec3dc126258625a
[ "BSD-3-Clause" ]
1
2021-07-31T06:55:08.000Z
2021-07-31T06:55:08.000Z
1SST/10LW/array.cpp
AVAtarMod/University-C
e516aac99eabbcbe14d897239f08acf6c8e146af
[ "BSD-3-Clause" ]
1
2020-11-25T12:00:11.000Z
2021-01-13T08:51:52.000Z
1SST/10LW/array.cpp
AVAtarMod/University-C
e516aac99eabbcbe14d897239f08acf6c8e146af
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <ctime> #include <random> #include "array.h" int getLenghtUser() { int length; while (true) { printf("Введите длину массива: "); scanf("%d", &length); if (length < 0) { std::cin.ignore(32767, '\n'); printf("Некорректное з...
21.53012
122
0.522943
AVAtarMod
c26c7d7193b82466092b84f798666991c121f3ef
4,170
cpp
C++
TrafficManager/source/pipeline/executable/PipelineExecutable.cpp
owoschhodan/carla
7da99d882afb4160f0901bbbac2ea2866683e314
[ "MIT" ]
8
2019-11-27T18:43:09.000Z
2022-01-16T06:08:36.000Z
TrafficManager/source/pipeline/executable/PipelineExecutable.cpp
tcwangjiawei/carla
714f8c4cbfbb46fa9ed163a27c94ede613948767
[ "MIT" ]
null
null
null
TrafficManager/source/pipeline/executable/PipelineExecutable.cpp
tcwangjiawei/carla
714f8c4cbfbb46fa9ed163a27c94ede613948767
[ "MIT" ]
5
2020-05-12T20:03:10.000Z
2022-02-25T14:40:07.000Z
#include <atomic> #include <cstdlib> #include <ctime> #include <execinfo.h> #include <iostream> #include <signal.h> #include <stdexcept> #include <random> #include "boost/stacktrace.hpp" #include "carla/client/Client.h" #include "carla/client/TimeoutException.h" #include "carla/Logging.h" #include "carla/Memory.h" #i...
27.077922
102
0.653717
owoschhodan
c26de97d14789617812bcf406a1ea5d8e443c509
2,236
cpp
C++
src/states.cpp
SuprDewd/states
68f89c8e60767819b0b9d0218bb14f6e8b4fac89
[ "MIT" ]
4
2015-01-09T16:54:26.000Z
2018-10-29T13:07:59.000Z
src/states.cpp
SuprDewd/states
68f89c8e60767819b0b9d0218bb14f6e8b4fac89
[ "MIT" ]
null
null
null
src/states.cpp
SuprDewd/states
68f89c8e60767819b0b9d0218bb14f6e8b4fac89
[ "MIT" ]
2
2016-07-27T02:54:49.000Z
2018-04-11T17:04:07.000Z
#include <iostream> #include <cstdlib> #include <cstdio> #include <map> #include <set> #include <string> #include <list> #include <queue> #include <cstring> #include <cassert> #include "utils.h" #include "nfa.h" #include "regex.h" #include "machine.h" #include "ast.h" #include "converters.h" using namespace std; exter...
21.921569
93
0.507603
SuprDewd
c26fb5005c411bdc7b149d327ada6451689f9cba
117
cpp
C++
test/minimizer_test.cpp
dehui333/Course-GenomeMapper
cab7b42078be84991e5e8f773afa04af4ce87bc6
[ "MIT" ]
null
null
null
test/minimizer_test.cpp
dehui333/Course-GenomeMapper
cab7b42078be84991e5e8f773afa04af4ce87bc6
[ "MIT" ]
null
null
null
test/minimizer_test.cpp
dehui333/Course-GenomeMapper
cab7b42078be84991e5e8f773afa04af4ce87bc6
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "minimizer.cpp" TEST(MinimizerTest, MinimizerTest1) { ASSERT_EQ(1, 1); }
10.636364
37
0.675214
dehui333
c2709c8418a84405b7cfe708f743228ba5ebfdd1
149
cpp
C++
examples/reference-ASSERT_NE_UNLABELED.cpp
gcross/Illuminate
862f665ccd4b67411bc332f534e1655585750823
[ "0BSD" ]
null
null
null
examples/reference-ASSERT_NE_UNLABELED.cpp
gcross/Illuminate
862f665ccd4b67411bc332f534e1655585750823
[ "0BSD" ]
null
null
null
examples/reference-ASSERT_NE_UNLABELED.cpp
gcross/Illuminate
862f665ccd4b67411bc332f534e1655585750823
[ "0BSD" ]
null
null
null
#include "illuminate.hpp" TEST_CASE(ASSERT_NE_UNLABELED) { ASSERT_NE_UNLABELED(1,2) ASSERT_NE_UNLABELED(1,1) ASSERT_NE_UNLABELED(0,0) }
18.625
32
0.744966
gcross
c2712c92e04442dd25dbe6a9f193832c304fd7be
9,920
cpp
C++
src/prod/src/data/integration/Replica.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
1
2018-03-15T02:09:21.000Z
2018-03-15T02:09:21.000Z
src/prod/src/data/integration/Replica.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
src/prod/src/data/integration/Replica.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
37.293233
155
0.746069
AnthonyM
c2785f5dd84b48f18fd0223e9435eaeb425242d7
35,494
cpp
C++
isis/tests/FunctionalTestsHidtmgen.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/tests/FunctionalTestsHidtmgen.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/tests/FunctionalTestsHidtmgen.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
#include <QTemporaryFile> #include "Fixtures.h" #include "Pvl.h" #include "PvlGroup.h" #include "TestUtilities.h" #include "gmock/gmock.h" #include "UserInterface.h" #include "hidtmgen.h" #include "ProcessImportPds.h" using namespace Isis; using ::testing::HasSubstr; static QString APP_XML = FileName("$ISISROOT/bin/x...
46.519004
191
0.669691
kdl222
c27bbb840bdbbae75fe1df3f80d840747c65a144
1,500
hpp
C++
src/Magma/Window/Win32Window.hpp
RiscadoA/Magma-Engine
ebf8d8c25d631a9731efa33e23b162339985ae3b
[ "Zlib" ]
3
2017-11-01T21:47:57.000Z
2022-01-07T03:50:58.000Z
src/Magma/Window/Win32Window.hpp
RiscadoA/Magma-Engine
ebf8d8c25d631a9731efa33e23b162339985ae3b
[ "Zlib" ]
null
null
null
src/Magma/Window/Win32Window.hpp
RiscadoA/Magma-Engine
ebf8d8c25d631a9731efa33e23b162339985ae3b
[ "Zlib" ]
null
null
null
#pragma once #include "Window.hpp" #include <Windows.h> #include <queue> namespace Magma { class Win32Window : public Window { public: Win32Window(HINSTANCE hInstance, int nCmdShow); virtual ~Win32Window() final; private: static LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM...
28.846154
70
0.761333
RiscadoA
c284712f5b22944a88f62207994c29820934cd80
3,040
hpp
C++
core/Material.hpp
lonelywm/cuda_path_tracer
d99f0b682ad7f64fa127ca3604d0eab26f61452c
[ "MIT" ]
1
2021-06-12T11:33:12.000Z
2021-06-12T11:33:12.000Z
core/Material.hpp
lonelywm/cuda_path_tracer
d99f0b682ad7f64fa127ca3604d0eab26f61452c
[ "MIT" ]
null
null
null
core/Material.hpp
lonelywm/cuda_path_tracer
d99f0b682ad7f64fa127ca3604d0eab26f61452c
[ "MIT" ]
null
null
null
#pragma once #include <pch.h> #include <curand_kernel.h> struct Material { Vec3f ka; //Ambient Vec3f kd; //diffuse Vec3f ks; //specular Vec3f kt; //Transmittance Vec3f ke; //Emmission Vec3f kr; //reflectance == specular float ior; float dissolve; // 1 == opaque; 0 == fully transpare...
23.030303
62
0.511184
lonelywm
c28753c302c7715048d1e9760a7e1895e717f57e
833
cpp
C++
CFB_Cursos/QT/formularios/objeto_local/formularios/mainwindow.cpp
marcospontoexe/Cpp
d640be32fda2a25f871271e024efef727e7890c1
[ "MIT" ]
null
null
null
CFB_Cursos/QT/formularios/objeto_local/formularios/mainwindow.cpp
marcospontoexe/Cpp
d640be32fda2a25f871271e024efef727e7890c1
[ "MIT" ]
null
null
null
CFB_Cursos/QT/formularios/objeto_local/formularios/mainwindow.cpp
marcospontoexe/Cpp
d640be32fda2a25f871271e024efef727e7890c1
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QMessageBox> #include "janela.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_pushButton_clicked() { janela ...
20.825
126
0.638655
marcospontoexe
c28b04dbd2d248d3431d2fa8115c31b042d4683b
588
cpp
C++
code/cpp/ReverseLinkedListRecur.cpp
analgorithmaday/analgorithmaday.github.io
d43f98803bc673f61334bff54eed381426ee902e
[ "MIT" ]
null
null
null
code/cpp/ReverseLinkedListRecur.cpp
analgorithmaday/analgorithmaday.github.io
d43f98803bc673f61334bff54eed381426ee902e
[ "MIT" ]
null
null
null
code/cpp/ReverseLinkedListRecur.cpp
analgorithmaday/analgorithmaday.github.io
d43f98803bc673f61334bff54eed381426ee902e
[ "MIT" ]
null
null
null
List* recur_rlist(List* head) { List* result; if(!(head && head->next)) return head; result = recur_rlist(head->next); head->next->next = head; head->next = NULL; return result; } void printList(List* head) { while(head != NULL) { std::cout<<head->data<<" "; he...
18.967742
38
0.571429
analgorithmaday
c290b2d958731274efc46000bdc20277618a74ca
4,126
cc
C++
test/mpdtest.cc
farlies/rsked
cd2004bed454578f4d2ac25996dc1ced98d4fa58
[ "Apache-2.0" ]
null
null
null
test/mpdtest.cc
farlies/rsked
cd2004bed454578f4d2ac25996dc1ced98d4fa58
[ "Apache-2.0" ]
null
null
null
test/mpdtest.cc
farlies/rsked
cd2004bed454578f4d2ac25996dc1ced98d4fa58
[ "Apache-2.0" ]
1
2020-10-04T22:14:55.000Z
2020-10-04T22:14:55.000Z
/** * Test the MPD client class * * This is a "manual" test, and requires user interaction to listen for * the correct audio output. It does not use the boost test framework. * 1. mpd must be running * 2. you must provide a valid resource string as the sole argument */ /* Part of the rsked package. * ...
27.506667
83
0.598885
farlies
c2937623bc9acd9db390a4927e121d40eff95033
384
cpp
C++
fundamentals/introduction/pyramid.cpp
stemDaniel/ufmg-pds2
4dbb536a0926b617d04d133cbd3f7a5a223e113e
[ "MIT" ]
null
null
null
fundamentals/introduction/pyramid.cpp
stemDaniel/ufmg-pds2
4dbb536a0926b617d04d133cbd3f7a5a223e113e
[ "MIT" ]
null
null
null
fundamentals/introduction/pyramid.cpp
stemDaniel/ufmg-pds2
4dbb536a0926b617d04d133cbd3f7a5a223e113e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int height; cout << "Insira a altura da pirâmide: "; cin >> height; for (int i = 0; i < height; ++i) { for (int j = 0; j <= i; ++j) { cout << "*"; } cout << endl; } for (int i = height - 1; i > 0; --i) { for (int j = i; j > 0; --j...
17.454545
42
0.442708
stemDaniel
c29456f50b570fd2027d566cb489c4e33bad3544
6,396
cpp
C++
src/cassimpmodel.cpp
SilangQuan/QSLFrameWork
13059fef0972e0753d0d77e8f1cd9bdaf80beb0d
[ "MIT" ]
16
2015-09-24T00:59:34.000Z
2022-02-20T03:43:47.000Z
src/cassimpmodel.cpp
aleksas/QSLFrameWork
13059fef0972e0753d0d77e8f1cd9bdaf80beb0d
[ "MIT" ]
null
null
null
src/cassimpmodel.cpp
aleksas/QSLFrameWork
13059fef0972e0753d0d77e8f1cd9bdaf80beb0d
[ "MIT" ]
8
2016-05-11T05:59:53.000Z
2019-01-11T16:32:46.000Z
#include "cassimpmodel.h" CAssimpModel::MeshEntry::MeshEntry() { VB = INVALID_OGL_VALUE; IB = INVALID_OGL_VALUE; numIndices = 0; materialIndex = INVALID_OGL_VALUE; }; CAssimpModel::MeshEntry::~MeshEntry() { if (VB != INVALID_OGL_VALUE) { glDeleteBuffers(1, &VB); } if (IB != I...
29.072727
129
0.606473
SilangQuan
c296eb02ac947debd8533b4c2d2560259157a2e0
13,691
cpp
C++
Cores/Mednafen/mednafen/src/compress/ZIPReader.cpp
ianclawson/Provenance
e9cc8c57f41a4d122a998cf53ffd69b1513d4205
[ "BSD-3-Clause" ]
3,459
2015-01-07T14:07:09.000Z
2022-03-25T03:51:10.000Z
Cores/Mednafen/mednafen/src/compress/ZIPReader.cpp
ianclawson/Provenance
e9cc8c57f41a4d122a998cf53ffd69b1513d4205
[ "BSD-3-Clause" ]
1,046
2018-03-24T17:56:16.000Z
2022-03-23T08:13:09.000Z
Cores/Mednafen/mednafen/src/compress/ZIPReader.cpp
ianclawson/Provenance
e9cc8c57f41a4d122a998cf53ffd69b1513d4205
[ "BSD-3-Clause" ]
549
2015-01-07T14:07:15.000Z
2022-01-07T16:13:05.000Z
/******************************************************************************/ /* Mednafen - Multi-system Emulator */ /******************************************************************************/ /* ZIPReader.cpp: ** Copyright (C) 2018 Mednafen Team ** ** This program is ...
28.112936
273
0.685122
ianclawson
c2972e88d70fafb760fb515fa62b78a59a21c5b0
120
hxx
C++
src/Providers/UNIXProviders/PrintService/UNIX_PrintService_LINUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/PrintService/UNIX_PrintService_LINUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/PrintService/UNIX_PrintService_LINUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_LINUX #ifndef __UNIX_PRINTSERVICE_PRIVATE_H #define __UNIX_PRINTSERVICE_PRIVATE_H #endif #endif
10
37
0.841667
brunolauze
c2a26d79cf0d1470a475fc70cb9b5b1b8af20132
3,285
cpp
C++
Engine_Rendering/source/MeshRenderer.cpp
subr3v/s-engine
d77b9ccd0fff3982a303f14ce809691a570f61a3
[ "MIT" ]
2
2016-04-01T21:10:33.000Z
2018-02-26T19:36:56.000Z
Engine_Rendering/source/MeshRenderer.cpp
subr3v/s-engine
d77b9ccd0fff3982a303f14ce809691a570f61a3
[ "MIT" ]
1
2017-04-05T01:33:08.000Z
2017-04-05T01:33:08.000Z
Engine_Rendering/source/MeshRenderer.cpp
subr3v/s-engine
d77b9ccd0fff3982a303f14ce809691a570f61a3
[ "MIT" ]
null
null
null
#include "MeshRenderer.h" #include "Mesh.h" #include "Material.h" #include "Texture.h" #include "ConstantBufferTypes.h" void FMeshRenderer::Render(const FMesh* Mesh, const FDrawCall& DrawCallParameters, bool bUseTessellation) { assert(Mesh); FProfiler::Get().ProfileCounter("Rendering", "Mesh Draw Call", true, 1); ...
35.706522
150
0.773212
subr3v
c2a2a5c7aff964f2f59b9f0575c7031ff14fc8f2
2,168
cpp
C++
src/particle_emitter.cpp
devdor/GLDevdor04
1c3c83b7a3d629e59a370519ceff10b13889ea48
[ "MIT" ]
null
null
null
src/particle_emitter.cpp
devdor/GLDevdor04
1c3c83b7a3d629e59a370519ceff10b13889ea48
[ "MIT" ]
null
null
null
src/particle_emitter.cpp
devdor/GLDevdor04
1c3c83b7a3d629e59a370519ceff10b13889ea48
[ "MIT" ]
null
null
null
#include "../includes/particle_emitter.hpp" #include <random> CParticleEmitter::CParticleEmitter() : m_maxParticles(100) { } void CParticleEmitter::Init(int maxParticles) { this->m_maxParticles = maxParticles; this->CreateParticles(); } // Initalizes a single particle according to its type void CP...
28.906667
140
0.539668
devdor
c2a49a527ecabb3bd0cc533f17a3527d3ff9ff48
13,888
cpp
C++
src/RawImport/FAA_Obs.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
71
2015-12-15T19:32:27.000Z
2022-02-25T04:46:01.000Z
src/RawImport/FAA_Obs.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
19
2016-07-09T19:08:15.000Z
2021-07-29T10:30:20.000Z
src/RawImport/FAA_Obs.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
42
2015-12-14T19:13:02.000Z
2022-03-01T15:15:03.000Z
/* * Copyright (c) 2004, Laminar Research. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, ...
24.711744
163
0.6304
rromanchuk
c2a64753c35100b43c310732f3fd3ce81589c32c
594
cpp
C++
OOP/STL-Homework/Appointment.cpp
Rossoner40/NBU-Classwork-and-Homework
823e5eab2da616ae6d965da9c0a22fa0212d7887
[ "MIT" ]
null
null
null
OOP/STL-Homework/Appointment.cpp
Rossoner40/NBU-Classwork-and-Homework
823e5eab2da616ae6d965da9c0a22fa0212d7887
[ "MIT" ]
null
null
null
OOP/STL-Homework/Appointment.cpp
Rossoner40/NBU-Classwork-and-Homework
823e5eab2da616ae6d965da9c0a22fa0212d7887
[ "MIT" ]
null
null
null
#include "Appointment.h" Appointment::Appointment(DateTime date, string description, string address, string personToMeet) : date(date), description(description), address(address), personToMeet(personToMeet){ } bool Appointment::operator<(Appointment &other) { return this->date < other.date; } ost...
27
89
0.675084
Rossoner40
c2a97102efbc1be69c9a68a0d0b9a823af88eb6a
1,309
cpp
C++
Competitions/Skillenza/Code Golf Challenge 1/Fibonacci numbers 1.cpp
cnm06/Competitive-Programming
94242ae458570d503b8218f37624b88cc5020d23
[ "MIT" ]
994
2017-02-28T06:13:47.000Z
2022-03-31T10:49:00.000Z
Competitions/Skillenza/Code Golf Challenge 1/Fibonacci numbers 1.cpp
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
16
2018-01-01T02:59:55.000Z
2021-11-22T12:49:16.000Z
Competitions/Skillenza/Code Golf Challenge 1/Fibonacci numbers 1.cpp
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
325
2017-06-15T03:32:43.000Z
2022-03-28T22:43:42.000Z
#include <cstdio> #include <cstring> using namespace std; #define MAX_SIZE 3 const long long MOD = 1000000007; int size = 3; struct Matrix{ long long X[MAX_SIZE][MAX_SIZE]; Matrix(){} void init(){ memset(X,0,sizeof(X)); for(int i = 0;i<size;++i) X[i][i] = 1; } }aux,M0,ans; void mul...
16.782051
66
0.468296
cnm06
c2aeab7dbee62387d6db1dcdfa1b659ff94ab490
2,358
cpp
C++
bin/manager/tests/api.cpp
ArcticNature/core
bb63529a6deadc83e5adc3b772738ab6ca6ba18a
[ "BSD-3-Clause" ]
null
null
null
bin/manager/tests/api.cpp
ArcticNature/core
bb63529a6deadc83e5adc3b772738ab6ca6ba18a
[ "BSD-3-Clause" ]
null
null
null
bin/manager/tests/api.cpp
ArcticNature/core
bb63529a6deadc83e5adc3b772738ab6ca6ba18a
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 Stefano Pogliani <stefano@spogliani.net> #include <fcntl.h> #include <gtest/gtest.h> #include "core/bin/manager/api/source.h" #include "core/context/static.h" #include "core/event/drain/null.h" #include "core/event/testing.h" #include "core/exceptions/base.h" #include "core/model/event.h" #include ...
23.346535
73
0.693384
ArcticNature
c2b1d5f5f3a81f517bb7e1b315059df936fa2bd6
305
hpp
C++
addons/bi/caliber/556/f2000.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/bi/caliber/556/f2000.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/bi/caliber/556/f2000.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
// F2000 Rifles - All rifles inherit // F2000 - Long Barrel class arifle_Mk20_F: mk20_base_F { recoil = QCLASS(556_Bullpup_Long); }; class arifle_Mk20C_F: mk20_base_F { recoil = QCLASS(556_Bullpup_Long); }; // GL class arifle_Mk20_GL_F: mk20_base_F { recoil = QCLASS(556_Bullpup_GL_Long); };
21.785714
41
0.727869
Theseus-Aegis
c2b212f7cb89bb1901849e08151a81d70b6ebf6f
11,421
cpp
C++
lab09_templatedBinarySearchTree_BST/executive.cpp
JackNGould/programming2
59c127b6a6c586a6fcd69526763aad27cd152d90
[ "MIT" ]
null
null
null
lab09_templatedBinarySearchTree_BST/executive.cpp
JackNGould/programming2
59c127b6a6c586a6fcd69526763aad27cd152d90
[ "MIT" ]
null
null
null
lab09_templatedBinarySearchTree_BST/executive.cpp
JackNGould/programming2
59c127b6a6c586a6fcd69526763aad27cd152d90
[ "MIT" ]
null
null
null
/* * @project: Binary Search Tree filled with custom objects. * @file: executive.cpp * @author: Jack Gould * @brief: Implementation File for executive class. Defines member methods. Class governs the program's 'executive' actions of filling a BST from the inputFile data, and generating a menu of options for the use...
31.46281
235
0.492952
JackNGould
c2b219aa24d7be26c06877dbda3b2bbe8b33529f
14,941
cpp
C++
sdk/src/logging/Logger.cpp
andrie/rstudio-launcher-plugin-sdk
0b13a149fe263b578c90c98c8ab2d739b830ca60
[ "MIT" ]
4
2021-01-14T08:06:35.000Z
2021-09-24T12:39:31.000Z
sdk/src/logging/Logger.cpp
andrie/rstudio-launcher-plugin-sdk
0b13a149fe263b578c90c98c8ab2d739b830ca60
[ "MIT" ]
14
2021-01-19T21:21:16.000Z
2022-03-03T22:17:23.000Z
sdk/src/logging/Logger.cpp
andrie/rstudio-launcher-plugin-sdk
0b13a149fe263b578c90c98c8ab2d739b830ca60
[ "MIT" ]
3
2021-01-14T07:54:47.000Z
2021-11-23T18:20:19.000Z
/* * Logger.cpp * * Copyright (C) 2020 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant to the terms of a commercial license agreement * with RStudio, then this program is licensed to you under the following terms: * * Permission is hereby granted, free of charge, to any...
30.616803
124
0.673047
andrie
c2b2c0a5159fce1a4e7ad6e07431889f6d5c62b9
1,020
hpp
C++
source/drivers/audio_decoder.hpp
HuangDave/BlockBoombox
d1750149f533d83fc6b955a1a12e75f14d4230e8
[ "Apache-2.0" ]
null
null
null
source/drivers/audio_decoder.hpp
HuangDave/BlockBoombox
d1750149f533d83fc6b955a1a12e75f14d4230e8
[ "Apache-2.0" ]
6
2020-07-29T23:26:15.000Z
2020-07-29T23:45:21.000Z
source/drivers/audio_decoder.hpp
HuangDave/BlockBoombox
d1750149f533d83fc6b955a1a12e75f14d4230e8
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstddef> #include <cstdint> /// An interface containing controls for an audio decoder. class AudioDecoder { public: /// Initialize the device for use. virtual void Initialize() const = 0; /// Reset the device. virtual void Reset() const = 0; /// Enable the device to be ready to dec...
26.842105
79
0.676471
HuangDave
c2b4f441ad85d02f75fc53c4fc32ee5d0be81ae1
3,972
cpp
C++
IGC/Compiler/CISACodeGen/TimeStatsCounter.cpp
lfelipe/intel-graphics-compiler
da6c84a62d5d499544b2ae5f70ae7d1cb4d78fbd
[ "MIT" ]
null
null
null
IGC/Compiler/CISACodeGen/TimeStatsCounter.cpp
lfelipe/intel-graphics-compiler
da6c84a62d5d499544b2ae5f70ae7d1cb4d78fbd
[ "MIT" ]
1
2021-02-24T08:39:15.000Z
2021-02-24T08:39:15.000Z
IGC/Compiler/CISACodeGen/TimeStatsCounter.cpp
lfelipe/intel-graphics-compiler
da6c84a62d5d499544b2ae5f70ae7d1cb4d78fbd
[ "MIT" ]
null
null
null
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includi...
32.826446
137
0.690584
lfelipe
c2b6fe6b9ed4683af1dcc6505dfcbb50f42ad445
26,923
cpp
C++
src/items/weapons/weapons.cpp
Waclaw-I/BagnoOTS
dbeb04322698ecdb795eba196872815b36ca134f
[ "MIT" ]
null
null
null
src/items/weapons/weapons.cpp
Waclaw-I/BagnoOTS
dbeb04322698ecdb795eba196872815b36ca134f
[ "MIT" ]
null
null
null
src/items/weapons/weapons.cpp
Waclaw-I/BagnoOTS
dbeb04322698ecdb795eba196872815b36ca134f
[ "MIT" ]
null
null
null
/** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2019 Mark Samman <mark.samman@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 Foundation; eithe...
26.291992
194
0.682539
Waclaw-I
c2ba3bbe0fe0efa2f354c638489ddc65aae093c9
34,408
cpp
C++
SDKs/CryCode/3.7.0/CryEngine/CryEntitySystem/EntityLoadManager.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.7.0/CryEngine/CryEntitySystem/EntityLoadManager.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.7.0/CryEngine/CryEntitySystem/EntityLoadManager.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2010. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: Handles management for loading of entities ----------------------...
30.557726
204
0.668449
amrhead
c2ba81a29826d6addde581df2c9f48c2fb6cc0f4
283
hpp
C++
includes/AbstractClasses/AbstractVisitable.hpp
edubrunaldi/poker-bot
b851aa86c73a5b1b6c586439fbc01ccecac8c0f1
[ "MIT" ]
null
null
null
includes/AbstractClasses/AbstractVisitable.hpp
edubrunaldi/poker-bot
b851aa86c73a5b1b6c586439fbc01ccecac8c0f1
[ "MIT" ]
null
null
null
includes/AbstractClasses/AbstractVisitable.hpp
edubrunaldi/poker-bot
b851aa86c73a5b1b6c586439fbc01ccecac8c0f1
[ "MIT" ]
2
2019-09-08T10:40:21.000Z
2021-01-06T16:17:37.000Z
//Visitor // Created by xima on 02/08/19. // #ifndef POKER_BOT_ABSTRACTVISITABLE_HPP #define POKER_BOT_ABSTRACTVISITABLE_HPP class AbstractVisitor; class AbstractVisitable { public: virtual void accept(AbstractVisitor& visitor) = 0; }; #endif //POKER_BOT_ABSTRACTVISITABLE_HPP
17.6875
52
0.798587
edubrunaldi
c2bc4824d65d2d58cbaa73d68063130e5989eb6a
5,427
cpp
C++
examples/ndtest.cpp
Brillist/libutl
e55c2af091ba1101a1d0608db2830e279ec95d16
[ "MIT" ]
1
2021-09-14T06:12:58.000Z
2021-09-14T06:12:58.000Z
examples/ndtest.cpp
Brillist/libutl
e55c2af091ba1101a1d0608db2830e279ec95d16
[ "MIT" ]
null
null
null
examples/ndtest.cpp
Brillist/libutl
e55c2af091ba1101a1d0608db2830e279ec95d16
[ "MIT" ]
2
2019-05-13T23:04:31.000Z
2021-09-14T06:12:59.000Z
#include <libutl/libutl.h> #include <libutl/Application.h> #include <libutl/Array.h> #include <libutl/BufferedFDstream.h> #include <libutl/CmdLineArgs.h> #include <libutl/Thread.h> #undef new #include <algorithm> #include <libutl/gblnew_macros.h> ///////////////////////////////////////////////////////////////////////...
22.518672
100
0.466556
Brillist
c2bcd01ad7f86285605f55f77d8810315c11520b
5,399
cpp
C++
source/Model.cpp
xdanieldzd/libfrenda
ea10a413f6aac567c29d8dac43b0ab5cb207167a
[ "MIT" ]
1
2019-10-05T01:39:01.000Z
2019-10-05T01:39:01.000Z
source/Model.cpp
xdanieldzd/libfrenda
ea10a413f6aac567c29d8dac43b0ab5cb207167a
[ "MIT" ]
null
null
null
source/Model.cpp
xdanieldzd/libfrenda
ea10a413f6aac567c29d8dac43b0ab5cb207167a
[ "MIT" ]
2
2016-12-11T08:43:32.000Z
2022-01-02T07:55:33.000Z
/*------------------------------------------------------------ MODEL.CPP - "Frenda 3D" model loader -------------------------------------------------------------*/ #include "include/frenda.h" using namespace std; namespace frenda { const std::string Model::formatTag = "Fr3Dv04"; Model::Model(frenda::System *s,...
34.608974
183
0.668828
xdanieldzd
c2bece07afb04a783cebe7bf3a55bf11cb7343ee
2,645
cpp
C++
VereEngine-Tools/GenerateTrees.cpp
VereWolf/VereEngine
6b5453554cef1ef5d5dbf58206806198a3beec35
[ "Zlib", "MIT" ]
4
2017-06-21T19:37:00.000Z
2017-07-14T06:21:40.000Z
VereEngine-Tools/GenerateTrees.cpp
VereWolf/VereEngine
6b5453554cef1ef5d5dbf58206806198a3beec35
[ "Zlib", "MIT" ]
null
null
null
VereEngine-Tools/GenerateTrees.cpp
VereWolf/VereEngine
6b5453554cef1ef5d5dbf58206806198a3beec35
[ "Zlib", "MIT" ]
1
2017-09-30T06:10:38.000Z
2017-09-30T06:10:38.000Z
#include "stdafx.h" #include "GenerateTrees.h" GenerateTrees::GenerateTrees() { SetFolderName(L"Calc_Trees"); } void GenerateTrees::Generate(int randomValue) { srand(randomValue); std::vector<int> TM; std::vector<Float4> TM2; TM.resize(512 * 512, 0); TM2.resize(512 * 512, Float4(0.0f, 0.0f, 0.0f, 0.0f)); bo...
17.287582
106
0.438563
VereWolf
c2c59e3de767f1acef373193b01c88b784d71a01
2,776
cpp
C++
Random.cpp
yuanyangwangTJ/RSA
384423bf33d555047755bb253a3531e35870ffd6
[ "MIT" ]
null
null
null
Random.cpp
yuanyangwangTJ/RSA
384423bf33d555047755bb253a3531e35870ffd6
[ "MIT" ]
null
null
null
Random.cpp
yuanyangwangTJ/RSA
384423bf33d555047755bb253a3531e35870ffd6
[ "MIT" ]
null
null
null
/************************************** * Class Name: PRNG, PrimeGen * Function: 伪随机数与伪随机素数比特生成器 * Introduction: PrimeGen 继承于 PRNG 类 * ***********************************/ #include "Random.h" #include "TDES.h" #include <iostream> #include <ctime> #include <cstring> #include <NTL/ZZ.h> using namespace std; using ...
19.971223
56
0.439841
yuanyangwangTJ
c2cb7da54a485a4dcea154ca0c205b70fa691ba3
2,428
cpp
C++
problems/acmicpc_2188.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_2188.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_2188.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <queue> #include <utility> #include <vector> using namespace std; class graph { class edge; class vertex { public: vector<edge*> edges; void add_edge(vertex *v) { auto p = edge::make_edge(this, v); edges.push_back(p.first); v->edges.push_back(p.second); }...
25.030928
96
0.580725
qawbecrdtey
c2cc509b0044c492fe6e19de41aa3973bae6ba24
2,073
cpp
C++
DS Prep/Trees/Unusual Traversals/verticalOrder.cpp
Kanna727/My-C-git
3fc81b24f07f8533e2b3881b8f1aeb442dca2bd3
[ "Apache-2.0" ]
1
2021-04-05T18:55:20.000Z
2021-04-05T18:55:20.000Z
DS Prep/Trees/Unusual Traversals/verticalOrder.cpp
Kanna727/My-C-git
3fc81b24f07f8533e2b3881b8f1aeb442dca2bd3
[ "Apache-2.0" ]
null
null
null
DS Prep/Trees/Unusual Traversals/verticalOrder.cpp
Kanna727/My-C-git
3fc81b24f07f8533e2b3881b8f1aeb442dca2bd3
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Node { int data; struct Node *left, *right; }; struct Node* newNode(int data){ struct Node* node = new Node; node->data = data; node->left = node->right = NULL; } void printVerticalOrder(Node* root) { // Base case if (!root) ret...
23.033333
66
0.514713
Kanna727
c2db002dc2057571014d5b16bd55699d793abd70
3,107
cxx
C++
registration/stats.cxx
valette/FROG
5d36729b7c4309303baa39d472d6beaf795d1173
[ "CECILL-B" ]
15
2019-10-13T05:25:50.000Z
2022-03-12T16:58:39.000Z
registration/stats.cxx
valette/FROG
5d36729b7c4309303baa39d472d6beaf795d1173
[ "CECILL-B" ]
7
2020-10-22T20:05:42.000Z
2020-11-18T19:41:03.000Z
registration/stats.cxx
valette/FROG
5d36729b7c4309303baa39d472d6beaf795d1173
[ "CECILL-B" ]
1
2020-01-21T09:16:01.000Z
2020-01-21T09:16:01.000Z
#include <algorithm> #include <fstream> #include <iostream> #include <numeric> #include "stats.h" #define print( v, size ) { for (int __i = 0; __i < size; __i++ ) { std::cout << v[ __i ]; if ( __i < ( size - 1 ) ) std::cout<< " " ;} std::cout << std::endl;} using namespace std; int Stats::maxSize = 10000; int Stats...
21.280822
159
0.551979
valette
c2db30ee45dc1115c3fbb8eb56f190faec8ca064
8,991
cpp
C++
src/vulkan/vulkan_swapchain.cpp
zfccxt/calcium
9cc3a00904c05e675bdb5d35eef0f5356796e564
[ "MIT" ]
null
null
null
src/vulkan/vulkan_swapchain.cpp
zfccxt/calcium
9cc3a00904c05e675bdb5d35eef0f5356796e564
[ "MIT" ]
null
null
null
src/vulkan/vulkan_swapchain.cpp
zfccxt/calcium
9cc3a00904c05e675bdb5d35eef0f5356796e564
[ "MIT" ]
null
null
null
#include "vulkan_swapchain.hpp" #include <GLFW/glfw3.h> #include "instrumentor.hpp" #include "vulkan/vulkan_check.hpp" #include "vulkan/vulkan_render_pass.hpp" #include "vulkan/vulkan_swapchain_support_details.hpp" #include "vulkan/vulkan_queue_family_indices.hpp" #include "vulkan/vulkan_window_data.hpp" namespace c...
41.43318
144
0.779446
zfccxt
c2dbb966bf88dfb1beb05d2ff8ef147bdfeecd27
16,516
hpp
C++
TinySTL/utility.hpp
syn1w/TinySTL
04961c8fcec560d23cb99d049d44ff1b88113118
[ "MIT" ]
7
2020-11-07T04:52:29.000Z
2022-01-14T06:35:42.000Z
TinySTL/utility.hpp
vczn/TinySTL
ad9951cf38ada8f6903146f306f58778cb132b6a
[ "MIT" ]
1
2021-04-14T10:13:43.000Z
2021-04-14T10:13:43.000Z
TinySTL/utility.hpp
vczn/TinySTL
ad9951cf38ada8f6903146f306f58778cb132b6a
[ "MIT" ]
2
2020-12-06T03:24:11.000Z
2021-04-14T10:11:04.000Z
// Copyright (C) 2021 syn1w // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. #pragma once #include "type_traits.hpp" #include <type_traits> #if _MSVC_LANG >= 201402L || __cplusplus >= 201402L #define TINY_STL_CXX14 #endif // _...
28.723478
80
0.607653
syn1w
c2dc2d42b2427109966c9edcf921908444869951
278
hpp
C++
include/miniberry/Port.hpp
krzysztof-magosa/MiniBerry
b4e4aac914d1813238fd3f43753c1e71488b8f90
[ "MIT" ]
1
2015-06-27T16:24:34.000Z
2015-06-27T16:24:34.000Z
include/miniberry/Port.hpp
krzysztof-magosa/MiniBerry
b4e4aac914d1813238fd3f43753c1e71488b8f90
[ "MIT" ]
null
null
null
include/miniberry/Port.hpp
krzysztof-magosa/MiniBerry
b4e4aac914d1813238fd3f43753c1e71488b8f90
[ "MIT" ]
null
null
null
#ifndef MINIBERRY_PORT_HPP #define MINIBERRY_PORT_HPP #include <stdint.h> namespace miniberry { class Port { public: volatile uint8_t* port; volatile uint8_t* pin; volatile uint8_t* ddr; protected: Port() {} }; } #endif
12.636364
31
0.604317
krzysztof-magosa
c2df85fa013e02ad895a93a54a9010a49c3d98c9
1,495
cpp
C++
src/certificate/AccessDescription.cpp
LabSEC/libcryptosec
e53030ec32b52b6abeaa973a9f0bfba0eb2c2440
[ "BSD-3-Clause" ]
22
2015-08-26T16:40:59.000Z
2022-02-22T19:52:55.000Z
src/certificate/AccessDescription.cpp
LabSEC/Libcryptosec
e53030ec32b52b6abeaa973a9f0bfba0eb2c2440
[ "BSD-3-Clause" ]
14
2015-09-01T00:39:22.000Z
2018-12-17T16:24:28.000Z
src/certificate/AccessDescription.cpp
LabSEC/Libcryptosec
e53030ec32b52b6abeaa973a9f0bfba0eb2c2440
[ "BSD-3-Clause" ]
22
2015-08-31T19:17:37.000Z
2021-01-04T13:38:35.000Z
#include <libcryptosec/certificate/AccessDescription.h> AccessDescription::AccessDescription() { } AccessDescription::AccessDescription(ACCESS_DESCRIPTION *accessDescription) { if(accessDescription->method) { accessMethod = ObjectIdentifier(OBJ_dup(accessDescription->method)); } if(accessDescription->location) {...
24.508197
77
0.776589
LabSEC
123fb4a420334ec65d9a6526c2eff759062554d3
40,867
cpp
C++
src/object.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
1
2018-09-16T03:17:50.000Z
2018-09-16T03:17:50.000Z
src/object.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
src/object.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
#include "system.h" void read_string( FILE*, char**, char, int ); /* * LOCAL_CONSTANTS */ const char* item_type_name [] = { "other", "light", "scroll", "wand", "staff", "weapon", "gem", "spellbook", "treasure", "armor", "potion", "reagent", "furniture", "trash", "cross", "container", "lock.pick", "drink.c...
29.21158
216
0.532802
Celissa
123fc1ac7a5431b39d285aac6ed78ee4b7a57040
1,492
cpp
C++
WeirdEngine/src/TestProject/Source Files/PlaySceneInputComponent.cpp
jeramauni/Proyecto-3
2dbdba99ef2899e498dea3eb9a085417773686d7
[ "Apache-2.0" ]
null
null
null
WeirdEngine/src/TestProject/Source Files/PlaySceneInputComponent.cpp
jeramauni/Proyecto-3
2dbdba99ef2899e498dea3eb9a085417773686d7
[ "Apache-2.0" ]
null
null
null
WeirdEngine/src/TestProject/Source Files/PlaySceneInputComponent.cpp
jeramauni/Proyecto-3
2dbdba99ef2899e498dea3eb9a085417773686d7
[ "Apache-2.0" ]
null
null
null
#include "PlaySceneInputComponent.h" #include <iostream> #include <Container.h> #include <Messages_defs.h> #include <ComponentFactory.h> CREATE_REGISTER(PlaySceneInput); PlaySceneInputComponent::PlaySceneInputComponent(Container* e) : InputComponent(e){ _listener = new WEInputListener(e); _name = "PlayScene...
26.175439
89
0.676944
jeramauni
12400188b528059e5e9c0ccf1ac9b43545084cb3
5,991
cpp
C++
Code/IO/GenerateMesh.cpp
guanjilai/FastCAE
7afd59a3c0a82c1edf8f5d09482e906e878eb807
[ "BSD-3-Clause" ]
1
2021-08-14T04:49:56.000Z
2021-08-14T04:49:56.000Z
Code/IO/GenerateMesh.cpp
guanjilai/FastCAE
7afd59a3c0a82c1edf8f5d09482e906e878eb807
[ "BSD-3-Clause" ]
null
null
null
Code/IO/GenerateMesh.cpp
guanjilai/FastCAE
7afd59a3c0a82c1edf8f5d09482e906e878eb807
[ "BSD-3-Clause" ]
null
null
null
#include "GenerateMesh.h" #include "Gmsh/GmshThread.h" #include "Gmsh/GmshModule.h" #include "Gmsh/GmshThreadManager.h" #include "moduleBase/processBar.h" #include "geometry/geometryData.h" #include "geometry/GeoComponent.h" #include "geometry/geometrySet.h" #include "meshData/ElementType.h" #include <qdom.h> #include ...
32.209677
124
0.697212
guanjilai
1240720287dbe4fe8e41388f8fb50f390dc268a3
2,153
cpp
C++
ocs2_robotic_examples/ocs2_nadia/src/gait/Gait.cpp
james-p-foster/ocs2
8f1da414ba9ebb94ad1e8dd9bd513dbb9cc462fa
[ "BSD-3-Clause" ]
null
null
null
ocs2_robotic_examples/ocs2_nadia/src/gait/Gait.cpp
james-p-foster/ocs2
8f1da414ba9ebb94ad1e8dd9bd513dbb9cc462fa
[ "BSD-3-Clause" ]
null
null
null
ocs2_robotic_examples/ocs2_nadia/src/gait/Gait.cpp
james-p-foster/ocs2
8f1da414ba9ebb94ad1e8dd9bd513dbb9cc462fa
[ "BSD-3-Clause" ]
null
null
null
#include "ocs2_nadia/gait/Gait.h" #include <ocs2_core/misc/Display.h> #include <algorithm> #include <cassert> #include <cmath> namespace ocs2 { namespace legged_robot { bool isValidGait(const Gait& gait) { bool validGait = true; validGait &= gait.duration > 0.0; validGait &= std::all_of(gait.eventPhases.begin...
29.902778
136
0.699025
james-p-foster
1243fa74c62b5e80b178f84fc7fb8eadc1079278
1,683
cpp
C++
Project/Main/Onket/goodgenralinfowidget.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
1
2021-01-03T21:33:26.000Z
2021-01-03T21:33:26.000Z
Project/Main/Onket/goodgenralinfowidget.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
null
null
null
Project/Main/Onket/goodgenralinfowidget.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
1
2020-07-22T14:48:58.000Z
2020-07-22T14:48:58.000Z
#include "goodgenralinfowidget.h" #include "ui_goodgenralinfowidget.h" void GoodGenralInfoWidget::update() { if(this->info_valid==true) { Good& g=Good::getGood(good_id); if(g.getDiscountpercent()==0) { this->ui->lab_price->setStyleSheet(this->font_regular); } else...
25.119403
87
0.620915
IsfahanUniversityOfTechnology-CE2019-23
12478c4c20dff2eb0a6695abb649947dff78812b
444
hpp
C++
Notes_Week7/friendDemo/budget.hpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
1
2019-01-06T22:36:01.000Z
2019-01-06T22:36:01.000Z
Notes_Week7/friendDemo/budget.hpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
Notes_Week7/friendDemo/budget.hpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
#ifndef BUDGET_HPP #define BUDGET_HPP #include "aux.hpp" class Budget { private: static double corpBudget; double divBudget; public: Budget() { divBudget = 0;} void addBudget(double b) { this->divBudget += b; this->corpBudget += divBudget; } double getDivBudget() const {return ...
21.142857
57
0.664414
WeiChienHsu
1247a50cfa2148ab27780aa67c44238c57f1c5f1
544
cpp
C++
12_cmake_with_unittest/wolfram/alpha.cpp
TeachYourselfCS/cmakeDemo
752ab76cd43aa80aaa647eed4f5389f4f1ff39e7
[ "MIT" ]
null
null
null
12_cmake_with_unittest/wolfram/alpha.cpp
TeachYourselfCS/cmakeDemo
752ab76cd43aa80aaa647eed4f5389f4f1ff39e7
[ "MIT" ]
null
null
null
12_cmake_with_unittest/wolfram/alpha.cpp
TeachYourselfCS/cmakeDemo
752ab76cd43aa80aaa647eed4f5389f4f1ff39e7
[ "MIT" ]
null
null
null
#include "wolfram/alpha.hpp" #include <curl_wrapper/curl_wrapper.hpp> namespace wolfram { const std::string API_BASE = "https://api.wolframalpha.com/v1/result"; std::string simple_query(const std::string &appid, const std::string &query) { // 使用 curl_wrapper 库提供的对 CURL 的 C++ 封装 using curl_wra...
34
94
0.672794
TeachYourselfCS
1248872175050391e57b1e55632ee79d9f6705c2
3,414
hpp
C++
stm32/stm32f1/include/stm32f1/dma/Channel.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
1
2022-01-31T01:59:52.000Z
2022-01-31T01:59:52.000Z
stm32/stm32f1/include/stm32f1/dma/Channel.hpp
PhischDotOrg/stm32-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
5
2020-04-13T21:55:12.000Z
2020-06-27T17:44:44.000Z
stm32/stm32f1/include/stm32f1/dma/Channel.hpp
PhischDotOrg/stm32f4-common
4b6b9c436018c89d3668c6ee107e97abb930bae2
[ "MIT" ]
null
null
null
/*- * $Copyright$ -*/ #ifndef _DMA_CHANNEL_STM32_HPP_B6BD9823_B66D_4724_9A96_965E03319555 #define _DMA_CHANNEL_STM32_HPP_B6BD9823_B66D_4724_9A96_965E03319555 #include <stdint.h> #include <stddef.h> #include <stm32/dma/Types.hpp> #include <stm32f1/dma/Stream.hpp> /****************************************************...
34.836735
149
0.550088
PhischDotOrg
1249a9e10b06ff417f104350e87b75ba712d9446
2,470
hpp
C++
src/client/ofi_connector.hpp
ashahba/aeon
eafbc6b7040bf594854bd92f1606d37ddd862943
[ "Apache-2.0" ]
null
null
null
src/client/ofi_connector.hpp
ashahba/aeon
eafbc6b7040bf594854bd92f1606d37ddd862943
[ "Apache-2.0" ]
3
2021-09-08T02:26:12.000Z
2022-03-12T00:45:28.000Z
src/client/ofi_connector.hpp
ashahba/aeon
eafbc6b7040bf594854bd92f1606d37ddd862943
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 Intel(R) Nervana(TM) 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 writin...
38
99
0.640081
ashahba
124fd45622dd2f9fb7cb43fc834bca9ecfbc2925
3,128
cpp
C++
jbmc/unit/java_bytecode/expr2java.cpp
DamonLiuTHU/cbmc
67f8c916672347ab05418db45eebbd93885efdec
[ "BSD-4-Clause" ]
null
null
null
jbmc/unit/java_bytecode/expr2java.cpp
DamonLiuTHU/cbmc
67f8c916672347ab05418db45eebbd93885efdec
[ "BSD-4-Clause" ]
null
null
null
jbmc/unit/java_bytecode/expr2java.cpp
DamonLiuTHU/cbmc
67f8c916672347ab05418db45eebbd93885efdec
[ "BSD-4-Clause" ]
null
null
null
/*******************************************************************\ Module: Unit tests for expr-to-java string conversion Author: Diffblue Ltd. \*******************************************************************/ #include <testing-utils/catch.hpp> #include <java_bytecode/expr2java.h> TEST_CASE( "expr2java t...
23.518797
79
0.624361
DamonLiuTHU
125941b9721baa7147c01a5b8adf1f094d456f39
4,167
cpp
C++
demo/Demo.cpp
logicomacorp/pulsejet
ec73d19ccb71ff05b2122e258fe4b7b16e55fb53
[ "MIT" ]
30
2021-06-07T20:25:48.000Z
2022-03-30T00:52:38.000Z
demo/Demo.cpp
going-digital/pulsejet
8452a0311645867d64c038cef7fdf751b26717ee
[ "MIT" ]
null
null
null
demo/Demo.cpp
going-digital/pulsejet
8452a0311645867d64c038cef7fdf751b26717ee
[ "MIT" ]
1
2021-09-21T11:17:45.000Z
2021-09-21T11:17:45.000Z
#include "FastSinusoids.hpp" // Required by `Pulsejet::Encode` and `Pulsejet::Decode` namespace Pulsejet::Shims { inline float CosF(float x) { return FastSinusoids::CosF(x); } inline float Exp2f(float x) { return exp2f(x); } inline float SinF(float x) { return FastSinusoids::SinF(x); } inline float ...
24.656805
167
0.648908
logicomacorp
125dcfd5073caa4a21da9cf969edd3a46e6c89d8
30,060
cpp
C++
framework/NetKinectArray.cpp
steppobeck/rgbd-recon
171a8336c8e3ba52a1b187b73544338fdd3c9285
[ "MIT" ]
18
2016-09-03T05:12:25.000Z
2022-02-23T15:52:33.000Z
framework/NetKinectArray.cpp
3d-scan/rgbd-recon
c4a5614eaa55dd93c74da70d6fb3d813d74f2903
[ "MIT" ]
1
2016-05-04T09:06:29.000Z
2016-05-04T09:06:29.000Z
framework/NetKinectArray.cpp
3d-scan/rgbd-recon
c4a5614eaa55dd93c74da70d6fb3d813d74f2903
[ "MIT" ]
7
2016-04-20T13:58:50.000Z
2018-07-09T15:47:26.000Z
#include "NetKinectArray.h" #include "calibration_files.hpp" #include "texture_blitter.hpp" #include "screen_quad.hpp" #include <FileBuffer.h> #include <TextureArray.h> #include <KinectCalibrationFile.h> #include "CalibVolumes.hpp" #include <DXTCompressor.h> #include "timer_database.hpp" #include <glbinding/gl/gl.h> ...
38.837209
225
0.699235
steppobeck
125dfa4fbc0f4c504f0bcc1b2116a3f49b7abe53
12,181
hpp
C++
memory/shared-pointer.hpp
daleksla/STL
c9b107cb7434e123dc25f3e0d9e8423f6be0030a
[ "BSL-1.0" ]
1
2021-03-01T05:03:52.000Z
2021-03-01T05:03:52.000Z
memory/shared-pointer.hpp
daleksla/STL
c9b107cb7434e123dc25f3e0d9e8423f6be0030a
[ "BSL-1.0" ]
3
2021-03-01T04:21:26.000Z
2021-06-28T18:30:52.000Z
memory/shared-pointer.hpp
daleksla/STL
c9b107cb7434e123dc25f3e0d9e8423f6be0030a
[ "BSL-1.0" ]
null
null
null
#ifndef SHARED_POINTER_HPP #define SHARED_POINTER_HPP #include "base-pointer.hpp" /** @brief Shared pointer class, which persists a dynamic resource until the last Shared pointer object is destroyed or reset @author Salih Mahmoud Sayed Ahmed @email ahmed233@uni.coventry.ac.uk @date May 2021 **/ namespace...
40.069079
259
0.714638
daleksla
126d72b5adedb55434b1eef86f6e9fe3817b4338
2,148
cpp
C++
oneEngine/oneGame/source/core/math/noise/WorleyCellNoise.cpp
skarik/1Engine
84e846544b4a89af8fd7e9236131363096538ef4
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/core/math/noise/WorleyCellNoise.cpp
skarik/1Engine
84e846544b4a89af8fd7e9236131363096538ef4
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/core/math/noise/WorleyCellNoise.cpp
skarik/1Engine
84e846544b4a89af8fd7e9236131363096538ef4
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
#include "WorleyCellNoise.h" #include "core/math/Math.h" #include <algorithm> #include <random> static Vector3f RandomCellPoint( int32 celX, int32 celY, int32 celZ, float offsets [1024] ) { return Vector3f( celX + offsets[(celX + celY^celZ) & (1024 - 1)], celY + offsets[(celY * 912 + celX^cel...
26.85
103
0.641061
skarik
127bf5ca58020439263bc71b18088083af902bec
4,806
hpp
C++
include/sharpen/IoEvent.hpp
Kylepoops/Sharpen
5ef19d89ddab0b63ffc4d2489a1cd50e2d5bb132
[ "MIT" ]
13
2020-10-25T04:02:07.000Z
2022-03-29T13:21:30.000Z
include/sharpen/IoEvent.hpp
Kylepoops/Sharpen
5ef19d89ddab0b63ffc4d2489a1cd50e2d5bb132
[ "MIT" ]
18
2020-10-09T04:51:03.000Z
2022-03-01T06:24:23.000Z
include/sharpen/IoEvent.hpp
Kylepoops/Sharpen
5ef19d89ddab0b63ffc4d2489a1cd50e2d5bb132
[ "MIT" ]
7
2020-10-23T04:25:28.000Z
2022-03-23T06:52:39.000Z
#pragma once #ifndef _SHARPEN_IOEVENT_HPP #define _SHARPEN_IOEVENT_HPP #include "TypeDef.hpp" #include "Noncopyable.hpp" #include "Nonmovable.hpp" #include "SystemError.hpp" #include "IChannel.hpp" namespace sharpen { class IoEvent { public: //event type struct EventTypeEnum { ...
24.150754
95
0.468997
Kylepoops
1283e20a085c260f030a1be7cfdcfc3d69945ee3
1,996
cpp
C++
TextOverviewTextEdit.cpp
B1anky/CppEditor
bb68ca521c35a8d7e658f9ddf789201d7b269a08
[ "MIT" ]
1
2020-09-11T12:42:15.000Z
2020-09-11T12:42:15.000Z
TextOverviewTextEdit.cpp
B1anky/CppEditor
bb68ca521c35a8d7e658f9ddf789201d7b269a08
[ "MIT" ]
null
null
null
TextOverviewTextEdit.cpp
B1anky/CppEditor
bb68ca521c35a8d7e658f9ddf789201d7b269a08
[ "MIT" ]
null
null
null
#include "TextOverviewTextEdit.h" #include <QVBoxLayout> #include "TextEditor.h" TextOverviewTextEdit::TextOverviewTextEdit(QWidget* parent) : QPlainTextEdit(parent){ setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); //setReadOnly(true); setFrame...
26.263158
85
0.700401
B1anky
12846557f534c7c4c4b801379967939dcbf2bbc2
140
cpp
C++
cf/contest/741/d/temp.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
cf/contest/741/d/temp.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
cf/contest/741/d/temp.cpp
woshiluo/oi
5637fb81b0e25013314783dc387f7fc93bf9d4b9
[ "Apache-2.0" ]
null
null
null
#include <cstdio> int main() { int n = 500000; printf( "%d\n", n ); for( int i = 1; i < n; i ++ ) { printf( "%d %c\n", i, 'a' ); } }
14
32
0.435714
woshiluo
129327ac92ab53807fd23e9ec0dfb564ab1f1f43
64
cpp
C++
src/gitcpp/implementation/config/ConfigLevel.cpp
ekuch/gitcpp
8f29d4fd3f63a6a52885505983c756e5b5ee27dc
[ "MIT" ]
1
2017-02-07T14:20:59.000Z
2017-02-07T14:20:59.000Z
src/gitcpp/implementation/config/ConfigLevel.cpp
ekuch/gitcpp
8f29d4fd3f63a6a52885505983c756e5b5ee27dc
[ "MIT" ]
null
null
null
src/gitcpp/implementation/config/ConfigLevel.cpp
ekuch/gitcpp
8f29d4fd3f63a6a52885505983c756e5b5ee27dc
[ "MIT" ]
null
null
null
// // Created by ekuch on 10/5/15. // #include "ConfigLevel.h"
10.666667
31
0.625
ekuch
12a15ab2534c96d692424ec4d7ef0e76165f9c6e
651
cpp
C++
Problems/0123. Best Time to Buy and Sell Stock III.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
Problems/0123. Best Time to Buy and Sell Stock III.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
Problems/0123. Best Time to Buy and Sell Stock III.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
class Solution { public: int maxProfit(vector<int>& prices) { int buy1{INT_MIN},sell1{0},buy2{INT_MIN},sell2{0}; for(auto p: prices){ buy1 = max(buy1, -p); sell1 = max(sell1, buy1 + p); buy2 = max(buy2, sell1 - p); sell2 = max(sell2, buy2 + p); ...
32.55
92
0.602151
KrKush23
12a9eb8a4a390166a79cd5287179c03fe7b75d60
14,479
cpp
C++
src/Core/Input/InputManager.cpp
lukefelsberg/ObEngine
a0385df4944adde7c1c8073ead15419286c70019
[ "MIT" ]
442
2017-03-03T11:42:11.000Z
2021-05-20T13:40:02.000Z
src/Core/Input/InputManager.cpp
lukefelsberg/ObEngine
a0385df4944adde7c1c8073ead15419286c70019
[ "MIT" ]
308
2017-02-21T10:39:31.000Z
2021-05-14T21:30:56.000Z
src/Core/Input/InputManager.cpp
lukefelsberg/ObEngine
a0385df4944adde7c1c8073ead15419286c70019
[ "MIT" ]
45
2017-03-11T15:24:28.000Z
2021-05-09T15:21:42.000Z
#include <set> #include <Input/Exceptions.hpp> #include <Input/InputManager.hpp> #include <Utils/VectorUtils.hpp> namespace obe::Input { bool updateOrCleanMonitor( Event::EventGroupPtr events, const std::weak_ptr<InputButtonMonitor>& element) { if (auto monitor = element.lock()) { ...
34.638756
99
0.457421
lukefelsberg
12aa7fa7dcac95d6dcc6274d18bd45dcc4753ecd
3,342
cxx
C++
vital/types/camera_rpc.cxx
judajake/kwiver
303a11ebb43c020ab8e48b6ef70407b460dba46b
[ "BSD-3-Clause" ]
null
null
null
vital/types/camera_rpc.cxx
judajake/kwiver
303a11ebb43c020ab8e48b6ef70407b460dba46b
[ "BSD-3-Clause" ]
null
null
null
vital/types/camera_rpc.cxx
judajake/kwiver
303a11ebb43c020ab8e48b6ef70407b460dba46b
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +29 * Copyright 2013-2018 by Kitware, 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 li...
29.839286
81
0.691203
judajake