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
3e20b87d157a78176c84ed496f2c412af7f8767c
258
cpp
C++
LeetCode/100/26.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/100/26.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/100/26.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
class Solution { public: int removeDuplicates(vector<int>& nums) { int left = 0; int n = nums.size(); for (int i = 0; i < n; ++i) { if (!i or nums[i] != nums[i - 1]) { nums[left++] = nums[i]; } } return left; } };
19.846154
43
0.468992
K-ona
3e275fe2ecb58bd94d4f90d23f99042a646a300b
2,400
cpp
C++
source/pump.cpp
MuellerA/Led-Lamp
f54bd267e0e2b2d1d205f4bce3088e9081b22238
[ "MIT" ]
null
null
null
source/pump.cpp
MuellerA/Led-Lamp
f54bd267e0e2b2d1d205f4bce3088e9081b22238
[ "MIT" ]
null
null
null
source/pump.cpp
MuellerA/Led-Lamp
f54bd267e0e2b2d1d205f4bce3088e9081b22238
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // pump.cpp // (c) Andreas Müller // see LICENSE.md //////////////////////////////////////////////////////////////////////////////// #include "ledMatrix.h" /////////////////////////////////////////////////////////////////////////////...
21.428571
110
0.4625
MuellerA
3e2881dde342fe9a9f569feb0af115f140186669
3,034
hpp
C++
src/contrib/mlir/core/compiler.hpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
src/contrib/mlir/core/compiler.hpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
src/contrib/mlir/core/compiler.hpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
35.694118
92
0.591628
pqLee
3e2c8a71eebd064e23fb673f96a6d5e7ea409572
8,915
cpp
C++
src/StatusBar.cpp
petterh/textedit
df59502fa5309834b2d2452af609ba6fb1dc97c2
[ "MIT" ]
6
2018-04-08T06:30:27.000Z
2021-12-19T12:52:28.000Z
src/StatusBar.cpp
petterh/textedit
df59502fa5309834b2d2452af609ba6fb1dc97c2
[ "MIT" ]
32
2017-11-03T09:39:48.000Z
2021-12-23T18:27:20.000Z
src/StatusBar.cpp
petterh/textedit
df59502fa5309834b2d2452af609ba6fb1dc97c2
[ "MIT" ]
1
2021-09-13T08:38:56.000Z
2021-09-13T08:38:56.000Z
/* * $Header: /Book/StatusBar.cpp 14 16.07.04 10:42 Oslph312 $ * * NOTE: Both Toolbar and Statusbar are tailored to TextEdit. * A more general approach would be to derive both from base classes. */ #include "precomp.h" #include "Statusbar.h" #include "MenuFont.h" #include "HTML.h" #include "InstanceSubclasser....
27.686335
100
0.654627
petterh
3e2f773e4ced7fe9781102528f0edfd009668136
7,427
cpp
C++
SysLib/Demand/Data/Trip_Length_Data.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
SysLib/Demand/Data/Trip_Length_Data.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
SysLib/Demand/Data/Trip_Length_Data.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Trip_Length_Data.cpp - trip length data class //********************************************************* #include "Trip_Length_Data.hpp" //--------------------------------------------------------- // Trip_Length_Data constructor //-----------------------...
29.355731
107
0.555271
kravitz
3e2f9520d1a6f948b0f0f5cfdbcdee95bb6006bc
3,692
cpp
C++
src/blood.cpp
tilnewman/halloween
7cea37e31b2e566be76707cd8dc48527cec95bc5
[ "MIT" ]
null
null
null
src/blood.cpp
tilnewman/halloween
7cea37e31b2e566be76707cd8dc48527cec95bc5
[ "MIT" ]
null
null
null
src/blood.cpp
tilnewman/halloween
7cea37e31b2e566be76707cd8dc48527cec95bc5
[ "MIT" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // // blood.cpp // #include "blood.hpp" #include "context.hpp" #include "info-region.hpp" #include "level.hpp" #include "random.hpp" #include "screen-regions.h...
28.183206
100
0.596425
tilnewman
3e2fc78edccb4cd465baf813018cec64967a8d19
3,996
cpp
C++
src/GUI/Button.cpp
zachtepper/project-awful
59e2e9261100a2b4449022725435d21b17c6f5b4
[ "MIT" ]
null
null
null
src/GUI/Button.cpp
zachtepper/project-awful
59e2e9261100a2b4449022725435d21b17c6f5b4
[ "MIT" ]
null
null
null
src/GUI/Button.cpp
zachtepper/project-awful
59e2e9261100a2b4449022725435d21b17c6f5b4
[ "MIT" ]
null
null
null
#include "Button.hpp" Button::Button( sf::Vector2f position, sf::Vector2f dimensions, sf::Font* font, std::string text, unsigned character_size, bool hasBorder, sf::Color text_idle_color, sf::Color text_hover_color, sf::Color text_active_color, sf::Color idle_color, sf::Color h...
30.738462
132
0.603103
zachtepper
3e3d18964d0cbea8c9ca9770575265e7b935b368
9,084
cpp
C++
Project/Dev_class11_handout/Motor2D/j1Pathfinding.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/j1Pathfinding.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/j1Pathfinding.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
#include "j1Pathfinding.h" #include "j1App.h" #include "j1Textures.h" #include "p2Log.h" #include"Character.h" #include"j1Map.h" #include"j1Enemy.h" #include "Brofiler/Brofiler.h" ///class Pathfinding ------------------ // Constructors ======================= j1Pathfinding::j1Pathfinding() { } // Destructors =======...
22.597015
156
0.637274
Guille1406
3e4629739ad02c3678733e95fe64f9aa544d2627
3,633
cpp
C++
src/chat.cpp
Mart1250/biblepay
d53d04f74242596b104d360187268a50b845b82e
[ "MIT" ]
null
null
null
src/chat.cpp
Mart1250/biblepay
d53d04f74242596b104d360187268a50b845b82e
[ "MIT" ]
null
null
null
src/chat.cpp
Mart1250/biblepay
d53d04f74242596b104d360187268a50b845b82e
[ "MIT" ]
null
null
null
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chat.h" #include "base58.h" #include "clientversion.h" #include "net.h" #inc...
22.70625
88
0.613543
Mart1250
3e46eb3d32a6c9436a26fded7473f982d169cfb2
432
cpp
C++
src/apps/AlexMachine/stateMachine/states/SteppingRight.cpp
TomMinuzzo/CSALEX2022
28513f5e60cee890913c0c5d63fd9e3fcdf4039c
[ "Apache-2.0" ]
null
null
null
src/apps/AlexMachine/stateMachine/states/SteppingRight.cpp
TomMinuzzo/CSALEX2022
28513f5e60cee890913c0c5d63fd9e3fcdf4039c
[ "Apache-2.0" ]
null
null
null
src/apps/AlexMachine/stateMachine/states/SteppingRight.cpp
TomMinuzzo/CSALEX2022
28513f5e60cee890913c0c5d63fd9e3fcdf4039c
[ "Apache-2.0" ]
null
null
null
#include "SteppingRight.h" void SteppingRight::entry(void) { spdlog::info(" Stepping RIGHT"); trajectoryGenerator->initialiseTrajectory(robot->getCurrentMotion(), Foot::Left, robot->getJointStates()); robot->startNewTraj(); robot->setCurrentState(AlexState::StepR); } void SteppingRight::during(void) { ...
28.8
110
0.719907
TomMinuzzo
3e49c8455ad03eb0ee43530510402b5ff5e0c931
43,621
cpp
C++
099/graysvr/CClientUse.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
2
2020-12-22T17:03:14.000Z
2021-07-31T23:59:05.000Z
099/graysvr/CClientUse.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
null
null
null
099/graysvr/CClientUse.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
4
2021-04-21T19:43:48.000Z
2021-10-07T00:38:23.000Z
// CClientUse.cpp // Copyright Menace Software (www.menasoft.com). // #include "graysvr.h" // predef header. #include "cclient.h" bool CClient::Cmd_Use_Item( CItem * pItem, bool fTestTouch ) { // Assume we can see the target. // called from Event_DoubleClick ...
37.997387
128
0.448683
Jhobean
3e501e3c663f32cc489b740f08f77dc1f38e4164
131
cpp
C++
2DGame/logger.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
3
2015-08-18T12:59:29.000Z
2015-12-15T08:11:10.000Z
2DGame/logger.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
2DGame/logger.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
#include "logger.h" //Mutex for cout //Prevent interleaving of output pthread_mutex_t coutMutex = PTHREAD_MUTEX_INITIALIZER;
21.833333
55
0.778626
Cimera42
3e55deb2f76b90a3e2244497e79be0b1d0a04be3
2,269
cpp
C++
src/framework/shared/irphandlers/pnp/um/fxpkgpdoum.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
994
2015-03-18T21:37:07.000Z
2019-04-26T04:04:14.000Z
src/framework/shared/irphandlers/pnp/um/fxpkgpdoum.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
13
2019-06-13T15:58:03.000Z
2022-02-18T22:53:35.000Z
src/framework/shared/irphandlers/pnp/um/fxpkgpdoum.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
350
2015-03-19T04:29:46.000Z
2019-05-05T23:26:50.000Z
/*++ Copyright (c) Microsoft Corporation Module Name: FxPkgPdoUM.cpp Abstract: This module implements the Pnp package for Pdo devices. Author: Environment: User mode only Revision History: --*/ #include "pnppriv.hpp" #include <wdmguid.h> // Tracing support #if defined(EVENT_TRACING) extern "C" {...
15.648276
78
0.710886
IT-Enthusiast-Nepal
3e60f0c93c5f3058bd47f74a589677c04595a867
185
cpp
C++
client/test/test.cpp
gary920209/LightDance-RPi
41d3ef536f3874fd5dbe092f5c9be42f7204427d
[ "MIT" ]
2
2020-11-14T17:13:55.000Z
2020-11-14T17:42:39.000Z
client/test/test.cpp
gary920209/LightDance-RPi
41d3ef536f3874fd5dbe092f5c9be42f7204427d
[ "MIT" ]
null
null
null
client/test/test.cpp
gary920209/LightDance-RPi
41d3ef536f3874fd5dbe092f5c9be42f7204427d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { string s; cout << "Other Successfully initiated." << endl; while (cin >> s) cout << "Success " << s << endl; }
20.555556
52
0.567568
gary920209
3e617d24eb2fce1d74a7555c8417b1541b47b226
2,489
cpp
C++
Chapter 5/5.34.cpp
root113/C-How-To-Program-Deitel
fe1ced3fb1efd88f00264cb03c873474e62ed450
[ "Unlicense" ]
4
2019-02-22T09:38:01.000Z
2020-02-02T19:13:30.000Z
Chapter 5/5.34.cpp
root113/C-How-To-Program-Deitel
fe1ced3fb1efd88f00264cb03c873474e62ed450
[ "Unlicense" ]
null
null
null
Chapter 5/5.34.cpp
root113/C-How-To-Program-Deitel
fe1ced3fb1efd88f00264cb03c873474e62ed450
[ "Unlicense" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <time.h> int getRandomNum( void ); void correctAnswer(); void wrongAnswer(); int answerTheQuestion( int, int ); void askQuestions( int ); int main() { srand( (time(NULL)) ); askQuestions(10); return 0; } int getRandomNum() { ...
21.09322
87
0.470068
root113
3e62b622fa9c7c742cb7339b55e218a652eac506
1,920
cpp
C++
fdbclient/AutoPublicAddress.cpp
TheBenCollins/foundationdb
e6950abae6914dab989ec00a4b4b648bb9d8af52
[ "Apache-2.0" ]
null
null
null
fdbclient/AutoPublicAddress.cpp
TheBenCollins/foundationdb
e6950abae6914dab989ec00a4b4b648bb9d8af52
[ "Apache-2.0" ]
null
null
null
fdbclient/AutoPublicAddress.cpp
TheBenCollins/foundationdb
e6950abae6914dab989ec00a4b4b648bb9d8af52
[ "Apache-2.0" ]
null
null
null
/* * AutoPublicAddress.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2018 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
34.285714
103
0.7125
TheBenCollins
3e63a2481b8e9a04f9ed9679745bdf6c04cb6fb0
2,853
hpp
C++
library/src/blas1/rocblas_copy.hpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
library/src/blas1/rocblas_copy.hpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
1
2019-09-26T01:51:09.000Z
2019-09-26T18:09:56.000Z
library/src/blas1/rocblas_copy.hpp
mahmoodw/rocBLAS
53b1271e4881ef7473b78e8783e4d55740e9b933
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright 2016-2019 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "handle.h" #include "logging.h" #include "rocblas.h" #include "utility.h" template <typename T, typenam...
36.113924
89
0.416404
zjunweihit
3e63b5c5a2d70d42a9c0b6ff8e1e73da50f7dc83
4,523
cpp
C++
code/libImmCore/src/libCompression/basic/piBitInterlacer.cpp
andybak/IMM
c725dcb28a1638dea726381a7189c3b031967d58
[ "Apache-2.0", "MIT" ]
33
2021-09-16T18:37:08.000Z
2022-03-22T23:02:44.000Z
code/libImmCore/src/libCompression/basic/piBitInterlacer.cpp
andybak/IMM
c725dcb28a1638dea726381a7189c3b031967d58
[ "Apache-2.0", "MIT" ]
5
2021-09-17T10:10:07.000Z
2022-03-28T12:33:29.000Z
code/libImmCore/src/libCompression/basic/piBitInterlacer.cpp
andybak/IMM
c725dcb28a1638dea726381a7189c3b031967d58
[ "Apache-2.0", "MIT" ]
5
2021-09-19T07:49:01.000Z
2021-12-12T21:25:35.000Z
// // Branched off piLibs (Copyright © 2015 Inigo Quilez, The MIT License), in 2015. See THIRD_PARTY_LICENSES.txt // #include <malloc.h> #include "../../libBasics/piTypes.h" #include "piBitInterlacer.h" namespace ImmCore { namespace piBitInterlacer { BitStream::BitStream() { mBits = 0; mState = 0; } ...
20.282511
143
0.539244
andybak
3e6826654152115df8c0fc784ee1a1f39c51edf1
1,462
hpp
C++
streambox/Nexmark/NexmarkFilterEvaluator.hpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
streambox/Nexmark/NexmarkFilterEvaluator.hpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
null
null
null
streambox/Nexmark/NexmarkFilterEvaluator.hpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
null
null
null
#ifndef NEXMARK_FILTER_EVALUATOR_HPP #define NEXMARK_FILTER_EVALUATOR_HPP #include "core/SingleInputTransformEvaluator.h" #include "Nexmark/NexmarkFilter.hpp" /* convert a stream of records to a stream of <NexmarkRecord> records */ template <typename InputT, typename OutputT, template<class> class...
34.809524
90
0.618331
chenzongxiong
3e6894e42d658ddbbde6d9446022b905eadec8c9
645
hpp
C++
Layer.hpp
kaitokidi/JacobsHack
6662dc32a91a964f6080470627398bfa0f36573e
[ "MIT" ]
4
2015-10-21T06:49:16.000Z
2016-08-17T07:59:07.000Z
Layer.hpp
kaitokidi/JacobsHack
6662dc32a91a964f6080470627398bfa0f36573e
[ "MIT" ]
null
null
null
Layer.hpp
kaitokidi/JacobsHack
6662dc32a91a964f6080470627398bfa0f36573e
[ "MIT" ]
null
null
null
#ifndef LAYER_HPP #define LAYER_HPP #include "utils.hpp" class Layer { public: Layer(); Layer(float speed); void setSpeed(float speed); float getSpeed(); void setFactor(float factor); float getFactor(); void setTexture(std::vector<sf::Texture>& texture...
18.428571
99
0.595349
kaitokidi
3e6a80fe95718bf7f96b04325fdda25e6f9b9508
4,083
cp
C++
MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Alerts_Panels/CPrefsAlertsAttachment.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Alerts_Panels/CPrefsAlertsAttachment.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Alerts_Panels/CPrefsAlertsAttachment.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 Unless re...
28.354167
104
0.76096
mulberry-mail
3e6df5d5553799540f4fb1fc9a85b8eac66e4035
53
hpp
C++
src/boost_mpl_aux__preprocessed_plain_and.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_plain_and.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_plain_and.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/plain/and.hpp>
26.5
52
0.792453
miathedev
3e710f3056c9ebcdae67b44afdbe1a11d0522df3
1,144
cpp
C++
src/topfd/dp/dp.cpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
8
2018-05-23T14:37:31.000Z
2022-02-04T23:48:38.000Z
src/topfd/dp/dp.cpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
9
2019-08-31T08:17:45.000Z
2022-02-11T20:58:06.000Z
src/topfd/dp/dp.cpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
4
2018-04-25T01:39:38.000Z
2020-05-20T19:25:07.000Z
//Copyright (c) 2014 - 2020, The Trustees of Indiana University. // //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 a...
32.685714
74
0.738636
toppic-suite
3e71219676943218c86f87e1c79384451f5e6a23
1,011
cpp
C++
2021F/CS203/lab4/a.cpp
HeZean/SUSTech-Archive
0c89d78f232fdef427ca17b7e508881b782d7826
[ "MIT" ]
null
null
null
2021F/CS203/lab4/a.cpp
HeZean/SUSTech-Archive
0c89d78f232fdef427ca17b7e508881b782d7826
[ "MIT" ]
null
null
null
2021F/CS203/lab4/a.cpp
HeZean/SUSTech-Archive
0c89d78f232fdef427ca17b7e508881b782d7826
[ "MIT" ]
null
null
null
#include <iostream> struct Node { long coe; int exp; Node* next; }; int main() { int n, m; scanf("%d %d", &n, &m); Node head{0, INT32_MAX, nullptr}; Node* cur = &head; while (n--) { int coe, exp; scanf("%d %d", &coe, &exp); Node* node = new Node{coe, exp, nullpt...
21.978261
67
0.452028
HeZean
3e74a3c7eb15f4f63d3047dd8653fb9be94c3a6f
1,838
cpp
C++
src/MCPDAC.cpp
MajenkoLibraries/MCPDAC
7c271022ced7db0b15b5bfaa904e4a3112780e67
[ "BSD-3-Clause" ]
11
2016-07-24T21:40:14.000Z
2021-12-29T13:54:18.000Z
src/MCPDAC.cpp
MajenkoLibraries/MCPDAC
7c271022ced7db0b15b5bfaa904e4a3112780e67
[ "BSD-3-Clause" ]
3
2015-08-15T13:03:43.000Z
2018-05-11T13:26:33.000Z
src/MCPDAC.cpp
MajenkoLibraries/MCPDAC
7c271022ced7db0b15b5bfaa904e4a3112780e67
[ "BSD-3-Clause" ]
8
2016-08-02T00:38:14.000Z
2022-03-31T16:19:38.000Z
/*********************************************** * Microchip DAC library * (c) 2012 Majenko Technologies * * This library is offered without any warranty as to * fitness for purpose, either explicitly or implicitly * implied. ***********************************************/ /* * Microchip DAC library. This wo...
22.414634
106
0.658868
MajenkoLibraries
3e768ef280774aab172fbe3521b0be896c0ad6a6
3,916
cpp
C++
build/include/nodes/internal/moc_FlowView.cpp
similas/nodeeditor
06efa504cc11de8f941308fe45e6e77030fcd295
[ "BSD-3-Clause" ]
null
null
null
build/include/nodes/internal/moc_FlowView.cpp
similas/nodeeditor
06efa504cc11de8f941308fe45e6e77030fcd295
[ "BSD-3-Clause" ]
null
null
null
build/include/nodes/internal/moc_FlowView.cpp
similas/nodeeditor
06efa504cc11de8f941308fe45e6e77030fcd295
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'FlowView.hpp' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.0) ** ** WARNING! All changes made in this file will be lost! *********************************************************...
30.356589
97
0.624106
similas
3e77d2779e9191eec5c0f1c329de57d850a58178
3,593
hpp
C++
hpp/Compare.impl.hpp
Ivy233/simple_diff
970bf8a0a624fc89b9c016fab44a87162feb2465
[ "MIT" ]
1
2021-11-30T07:47:52.000Z
2021-11-30T07:47:52.000Z
hpp/Compare.impl.hpp
Ivy233/simple_diff
970bf8a0a624fc89b9c016fab44a87162feb2465
[ "MIT" ]
null
null
null
hpp/Compare.impl.hpp
Ivy233/simple_diff
970bf8a0a624fc89b9c016fab44a87162feb2465
[ "MIT" ]
null
null
null
/* * File name: Compare.impl.hpp * Description: 顶层类实现 * Author: 王锦润 * Version: 2 * Date: 2019.6.11 * History: 此程序被纳入git,可以直接使用git查询。 */ //防卫式声明,必须要有 //就算没有重复包含也建议有,这是代码习惯 #ifndef _COMPARE_IMPL_HPP_ #define _COMPARE_IMPL_HPP_ #include "Compare.hpp" /* * Function: 构造函数 * Description: 构建文件夹,匹配并获得差异 * Input: 两个文件...
32.663636
96
0.605344
Ivy233
3e7a4e44ca7e1385d3b922bff4ded9006411e401
84
cpp
C++
002_DESIGN_PATTERN/Abstract_Factory/Abstract_Factory/Wall.cpp
JooHyeon-Roh/Cpp
09410fef092428739c1cad3f15faa4b5cf0b4b76
[ "MIT" ]
null
null
null
002_DESIGN_PATTERN/Abstract_Factory/Abstract_Factory/Wall.cpp
JooHyeon-Roh/Cpp
09410fef092428739c1cad3f15faa4b5cf0b4b76
[ "MIT" ]
null
null
null
002_DESIGN_PATTERN/Abstract_Factory/Abstract_Factory/Wall.cpp
JooHyeon-Roh/Cpp
09410fef092428739c1cad3f15faa4b5cf0b4b76
[ "MIT" ]
null
null
null
#include "Wall.h" CWall::CWall() { } CWall::~CWall() { } void CWall::Enter() { }
6
19
0.547619
JooHyeon-Roh
3e7b9b08a6abb87111adf9ccf8abab0884ea124a
5,349
cpp
C++
cops/live/stitcher.cpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
115
2019-09-28T13:39:41.000Z
2022-03-24T11:08:53.000Z
cops/live/stitcher.cpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
113
2019-10-08T23:51:29.000Z
2021-12-12T06:47:38.000Z
cops/live/stitcher.cpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
44
2019-09-28T07:53:21.000Z
2022-02-13T23:21:12.000Z
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #include "stitcher.hpp" #include <fstream> #include "lgedgeiter.hpp" Live_stitcher::Live_stitcher(Stitch_pass_options &pack) { std::ifstream invariant_file(pack.boundaries_name); if (!invariant_file.good()) { Pass::error(...
40.832061
118
0.621051
jesec
3e7ccc6a681a1c231e4b59721ccb012140da6ba9
3,882
hpp
C++
include/boost/sql/sqlite3/statement.hpp
purpleKarrot/async-db
172124e5657e3085e8ac7729c4e578c0d766bf7b
[ "BSL-1.0" ]
5
2016-09-19T01:02:33.000Z
2019-10-23T07:15:00.000Z
include/boost/sql/sqlite3/statement.hpp
purpleKarrot/async-db
172124e5657e3085e8ac7729c4e578c0d766bf7b
[ "BSL-1.0" ]
null
null
null
include/boost/sql/sqlite3/statement.hpp
purpleKarrot/async-db
172124e5657e3085e8ac7729c4e578c0d766bf7b
[ "BSL-1.0" ]
null
null
null
/************************************************************** * Copyright (c) 2008-2009 Daniel Pfeifer * * * * Distributed under the Boost Software License, Version 1.0. * **************************************************************/...
23.245509
72
0.679289
purpleKarrot
3e7f594166631fda651944638352170b813f1bff
4,640
cc
C++
ThirdParty/webrtc/src/webrtc/modules/module_common_types_unittest.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
8
2018-12-27T14:57:13.000Z
2021-04-07T07:03:15.000Z
ThirdParty/webrtc/src/webrtc/modules/module_common_types_unittest.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
1
2019-03-13T01:35:03.000Z
2020-10-08T04:13:04.000Z
ThirdParty/webrtc/src/webrtc/modules/module_common_types_unittest.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
9
2018-12-28T11:45:12.000Z
2021-05-11T02:15:31.000Z
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
36.825397
71
0.794397
JokeJoe8806
3e81eef6789f12a9471266f36902585d12d47230
979
cpp
C++
N0504-Base-7/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0504-Base-7/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0504-Base-7/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
// // main.cpp // LeetCode-Solution // // Created by Loyio Hex on 3/7/22. // #include <iostream> #include <chrono> #include <vector> using namespace std; using namespace std::chrono; class Solution { public: string convertToBase7(int num) { if(num == 0){ return "0"; } stri...
19.58
74
0.551583
loyio
3e83fbf1a50a5bcb95581fece8933e56120375c7
1,137
hpp
C++
Piscines/CPP/rush01/includes/CPUInfoModule.hpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
84
2020-10-13T14:50:11.000Z
2022-01-11T11:19:36.000Z
Piscines/CPP/rush01/includes/CPUInfoModule.hpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
null
null
null
Piscines/CPP/rush01/includes/CPUInfoModule.hpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
43
2020-09-10T19:26:37.000Z
2021-12-28T13:53:55.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* CPUInfoModule.hpp :+: :+: :+: ...
42.111111
80
0.252419
SpeedFireSho
3e8a7bd062a12fc5eb6e1ef04fb28d58c0dc7fd6
8,268
cpp
C++
src/polybench/POLYBENCH_3MM-Hip.cpp
ajpowelsnl/RAJAPerf
f44641695203cd3bd3058315f356359f1b492ea3
[ "BSD-3-Clause" ]
null
null
null
src/polybench/POLYBENCH_3MM-Hip.cpp
ajpowelsnl/RAJAPerf
f44641695203cd3bd3058315f356359f1b492ea3
[ "BSD-3-Clause" ]
null
null
null
src/polybench/POLYBENCH_3MM-Hip.cpp
ajpowelsnl/RAJAPerf
f44641695203cd3bd3058315f356359f1b492ea3
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2017-21, Lawrence Livermore National Security, LLC // and RAJA Performance Suite project contributors. // See the RAJAPerf/COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) //~~~~~~~~~~~~~~~~~~~~~~~~...
28.909091
121
0.572085
ajpowelsnl
3e8f42c0c5e2dc5056d9a7224973c90c72e28838
1,557
cpp
C++
source/Irrlicht/rtc/impl/verifiedtlstransport.cpp
MagicAtom/irrlicht-ce
b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d
[ "IJG" ]
null
null
null
source/Irrlicht/rtc/impl/verifiedtlstransport.cpp
MagicAtom/irrlicht-ce
b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d
[ "IJG" ]
null
null
null
source/Irrlicht/rtc/impl/verifiedtlstransport.cpp
MagicAtom/irrlicht-ce
b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d
[ "IJG" ]
null
null
null
/** * Copyright (c) 2020 Paul-Louis Ageneau * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This ...
34.6
100
0.739884
MagicAtom
3e8fd59645d671523f3ae245584a7fe10e48a5ef
346
cc
C++
src/pks/flow/test/Main.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
1
2021-02-23T18:34:47.000Z
2021-02-23T18:34:47.000Z
src/pks/flow/test/Main.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
src/pks/flow/test/Main.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
#include <UnitTest++.h> #include "Teuchos_GlobalMPISession.hpp" #include "VerboseObject_objs.hh" #include "state_evaluators_registration.hh" #include "wrm_flow_registration.hh" int main(int argc, char *argv[]) { int res = 0; { Teuchos::GlobalMPISession mpiSession(&argc, &argv); res = UnitTest::RunAllTest...
18.210526
55
0.710983
ajkhattak
3e8fe50456914315af4f30b59c7229f4e01bb099
119
cpp
C++
ares/sfc/coprocessor/obc1/serialization.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/sfc/coprocessor/obc1/serialization.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/sfc/coprocessor/obc1/serialization.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
auto OBC1::serialize(serializer& s) -> void { s(ram); s(status.address); s(status.baseptr); s(status.shift); }
17
45
0.638655
CasualPokePlayer
3e92c5dca9298e99d41b3d6c905fdae5661588e3
1,271
hpp
C++
GLSL-Pipeline/Toolkits/include/System/Action.hpp
GilFerraz/GLSL-Pipeline
d2fd965a4324e85b6144682f8104c306034057d6
[ "Apache-2.0" ]
null
null
null
GLSL-Pipeline/Toolkits/include/System/Action.hpp
GilFerraz/GLSL-Pipeline
d2fd965a4324e85b6144682f8104c306034057d6
[ "Apache-2.0" ]
null
null
null
GLSL-Pipeline/Toolkits/include/System/Action.hpp
GilFerraz/GLSL-Pipeline
d2fd965a4324e85b6144682f8104c306034057d6
[ "Apache-2.0" ]
null
null
null
#pragma once #include <functional> #include "DLL.hpp" namespace System { /** * \brief Encapsulates a method that has specified parameters and does not return a value. * \tparam Args The type of the parameters of the method that this delegate encapsulates. */ template<typename ...Args> class...
18.157143
94
0.631786
GilFerraz
3e9942ab0f2b963ee67db148deacdfce161447d1
2,188
cc
C++
flare/rpc/details/has_epollrdhup.cc
flare-rpc/flare-cpp
c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950
[ "Apache-2.0" ]
3
2022-01-23T17:55:24.000Z
2022-03-23T12:55:18.000Z
flare/rpc/details/has_epollrdhup.cc
flare-rpc/flare-cpp
c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950
[ "Apache-2.0" ]
null
null
null
flare/rpc/details/has_epollrdhup.cc
flare-rpc/flare-cpp
c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
30.388889
79
0.644424
flare-rpc
3e9a07746cfa9d86e5e733d2ccdf9beed64c1a60
6,354
cpp
C++
examples/11_locmesh/locsvcmesh/src/ServiceClient.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
examples/11_locmesh/locsvcmesh/src/ServiceClient.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
examples/11_locmesh/locsvcmesh/src/ServiceClient.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
/************************************************************************ * \file ServiceClient.cpp * \ingroup AREG Asynchronous Event-Driven Communication Framework examples * \author Artak Avetyan * \brief Collection of AREG SDK examples. * This file contains simple implementat...
42.644295
153
0.700661
Ali-Nasrolahi
3ea2676657baf94909ab0c33131c9da3eddbb632
7,324
cpp
C++
src/ai/weapons/missile.cpp
sodomon2/Cavestory-nx
a65ce948c820b3c60b5a5252e5baba6b918d9ebd
[ "BSD-2-Clause" ]
8
2018-04-03T23:06:33.000Z
2021-12-28T18:04:19.000Z
src/ai/weapons/missile.cpp
sodomon2/Cavestory-nx
a65ce948c820b3c60b5a5252e5baba6b918d9ebd
[ "BSD-2-Clause" ]
null
null
null
src/ai/weapons/missile.cpp
sodomon2/Cavestory-nx
a65ce948c820b3c60b5a5252e5baba6b918d9ebd
[ "BSD-2-Clause" ]
1
2020-07-31T00:23:27.000Z
2020-07-31T00:23:27.000Z
#include "missile.h" #include "weapons.h" #include "../../ObjManager.h" #include "../../caret.h" #include "../../trig.h" #include "../../sound/sound.h" #include "../../common/misc.h" #include "../../game.h" #include "../../player.h" #include "../../autogen/sprites.h" #define STATE_WAIT_RECOIL_OVER 1 #define STATE...
26.157143
103
0.613736
sodomon2
3ea41cb0ef6c7267287783073d38fa2857e83765
16,310
hpp
C++
Software/STM32CubeDemo/RotaryEncoderWithDisplay/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/canvas/Circle.hpp
MitkoDyakov/RED
3bacb4df47867bbbf23c3c02d0ea1f8faa8d5779
[ "MIT" ]
15
2021-09-21T13:55:54.000Z
2022-03-08T14:05:39.000Z
Software/STM32CubeDemo/RotaryEncoderWithDisplay/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/canvas/Circle.hpp
DynamixYANG/Roendi
2f6703d63922071fd0dfc8e4d2c9bba95ea04f08
[ "MIT" ]
7
2021-09-22T07:56:52.000Z
2022-03-21T17:39:34.000Z
Software/STM32CubeDemo/RotaryEncoderWithDisplay/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/canvas/Circle.hpp
DynamixYANG/Roendi
2f6703d63922071fd0dfc8e4d2c9bba95ea04f08
[ "MIT" ]
1
2022-03-07T07:51:50.000Z
2022-03-07T07:51:50.000Z
/****************************************************************************** * Copyright (c) 2018(-2021) STMicroelectronics. * All rights reserved. * * This file is part of the TouchGFX 4.17.0 distribution. * * This software is licensed under terms that can be found in the LICENSE file in * the root directory of thi...
33.150407
156
0.633415
MitkoDyakov
3ea66c0035b7a7c05090e3317f1862b8f5d21564
53,873
cc
C++
proto/rpc.pb.cc
Phantomape/paxos
d88ab88fa5b6c7d74b508580729c4dea4de6f180
[ "MIT" ]
null
null
null
proto/rpc.pb.cc
Phantomape/paxos
d88ab88fa5b6c7d74b508580729c4dea4de6f180
[ "MIT" ]
5
2018-05-30T03:09:10.000Z
2018-06-02T22:56:05.000Z
proto/rpc.pb.cc
Phantomape/paxos
d88ab88fa5b6c7d74b508580729c4dea4de6f180
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: rpc.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "rpc.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <google/pro...
34.600514
168
0.700704
Phantomape
3ea9ac90846e2a08614dbdf1312acaaeb792fc77
204
hpp
C++
01-brickbreaker/src/brickbreaker/Entity.hpp
fmenozzi/games
f52dbfaf9c7bea76ad91c9ab104ac9d05e0d4b36
[ "MIT" ]
2
2015-05-23T04:33:56.000Z
2016-01-29T08:19:49.000Z
01-brickbreaker/src/brickbreaker/Entity.hpp
fmenozzi/games
f52dbfaf9c7bea76ad91c9ab104ac9d05e0d4b36
[ "MIT" ]
2
2015-05-23T03:33:36.000Z
2015-05-23T04:22:26.000Z
01-brickbreaker/src/brickbreaker/Entity.hpp
fmenozzi/games
f52dbfaf9c7bea76ad91c9ab104ac9d05e0d4b36
[ "MIT" ]
2
2015-05-23T03:39:12.000Z
2020-05-04T13:03:02.000Z
#pragma once #include <SFML/Graphics.hpp> class Entity { public: bool destroyed{false}; virtual ~Entity() {} virtual void update() {} virtual void draw(sf::RenderWindow& mTarget) {} };
15.692308
51
0.651961
fmenozzi
3eaaa8a7c5ea3cb3670d3bf86a69676fd620cf89
204
cpp
C++
Source/RegionGrowing/Algorithm/SpaceMapping.cpp
timdecode/InteractiveElementPalettes
ea5b7fcd78f8413aa9c770788259fbb944d4778d
[ "MIT" ]
1
2018-09-05T20:55:42.000Z
2018-09-05T20:55:42.000Z
Source/RegionGrowing/Algorithm/SpaceMapping.cpp
timdecode/InteractiveDiscreteElementPalettes
ea5b7fcd78f8413aa9c770788259fbb944d4778d
[ "MIT" ]
null
null
null
Source/RegionGrowing/Algorithm/SpaceMapping.cpp
timdecode/InteractiveDiscreteElementPalettes
ea5b7fcd78f8413aa9c770788259fbb944d4778d
[ "MIT" ]
null
null
null
// // SpaceMapping.cpp // RegionGrowing // // Created by Timothy Davison on 2015-09-10. // Copyright © 2015 EpicGames. All rights reserved. // #include "RegionGrowing.h" #include "SpaceMapping.hpp"
17
52
0.70098
timdecode
3eacf107d174a21181edeca324594fd06fc1b4a7
1,980
cpp
C++
level_zero/tools/source/sysman/firmware/linux/os_firmware_imp_helper_prelim.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
level_zero/tools/source/sysman/firmware/linux/os_firmware_imp_helper_prelim.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
level_zero/tools/source/sysman/firmware/linux/os_firmware_imp_helper_prelim.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2021-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "level_zero/tools/source/sysman/firmware/linux/os_firmware_imp.h" const std::string iafPath = "device/"; const std::string iafDirectory = "iaf."; const std::string pscbin_version = "/pscbin_version"; namespace L0 { ze...
35.357143
133
0.638889
mattcarter2017
3eadd062b33b0c5fa6b004190c0220295624b71a
2,221
hpp
C++
include/gui/pl_report.hpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
4
2016-07-05T07:42:07.000Z
2020-07-15T15:27:22.000Z
include/gui/pl_report.hpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
1
2020-05-07T20:58:21.000Z
2020-05-07T20:58:21.000Z
include/gui/pl_report.hpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2013 Matthew Harvey * * 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...
24.955056
75
0.700585
skybaboon
3ebdc77b7c2396f6677a1575351482bc9ea52be5
2,820
cpp
C++
src/historywork/test/HistoryWorkTests.cpp
STORP-Inc/POGchain
3cf3de0498947fb5d2cf9d985d93a1d4d84ca831
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/historywork/test/HistoryWorkTests.cpp
STORP-Inc/POGchain
3cf3de0498947fb5d2cf9d985d93a1d4d84ca831
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/historywork/test/HistoryWorkTests.cpp
STORP-Inc/POGchain
3cf3de0498947fb5d2cf9d985d93a1d4d84ca831
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
// Copyright 2020 POGchain Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "history/HistoryArchiveManager.h" #include "history/test/HistoryTestsUtils.h" #includ...
38.630137
76
0.70461
STORP-Inc
3ebe999113f9644e936e78eb1428666558156cdf
46,533
hpp
C++
SimdMask/Intrinscs/sse2.hpp
Const-me/SimdMask
53f12bae6fb0ded4d9e548400f7bb59cb952b226
[ "MIT" ]
1
2019-12-08T14:49:58.000Z
2019-12-08T14:49:58.000Z
SimdMask/Intrinscs/sse2.hpp
Const-me/SimdMask
53f12bae6fb0ded4d9e548400f7bb59cb952b226
[ "MIT" ]
null
null
null
SimdMask/Intrinscs/sse2.hpp
Const-me/SimdMask
53f12bae6fb0ded4d9e548400f7bb59cb952b226
[ "MIT" ]
null
null
null
// This file is generated automatically by a tool, please don't edit. #pragma once #include <emmintrin.h> #include <immintrin.h> #include "Implementation/utils.hpp" namespace Intrinsics { namespace Sse { // Add packed 8-bit integers in "a" and "b", and store the results in "dst" inline __m128i XM_CALLCONV add_ep...
34.341697
268
0.707262
Const-me
3ebf0fda48088cd22f4ee0c2411c57f197ba861e
5,838
hpp
C++
sycl/include/CL/sycl/detail/program_manager/program_manager.hpp
nyalloc/llvm
2d6dcd09b6a418c05c02b7beb6bb042ec73daf43
[ "Apache-2.0" ]
null
null
null
sycl/include/CL/sycl/detail/program_manager/program_manager.hpp
nyalloc/llvm
2d6dcd09b6a418c05c02b7beb6bb042ec73daf43
[ "Apache-2.0" ]
null
null
null
sycl/include/CL/sycl/detail/program_manager/program_manager.hpp
nyalloc/llvm
2d6dcd09b6a418c05c02b7beb6bb042ec73daf43
[ "Apache-2.0" ]
null
null
null
//==------ program_manager.hpp --- SYCL program manager---------------------==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
45.255814
84
0.721651
nyalloc
3ec11f59a85d7058c0f9a63261e4fa26f6725f5d
79,527
cpp
C++
Source/Scene/vaSceneOld.cpp
GameTechDev/XeGTAO
0d177ce06bfa642f64d8af4de1197ad1bcb862d4
[ "MIT" ]
318
2021-08-20T10:16:12.000Z
2022-03-24T03:08:16.000Z
Source/Scene/vaSceneOld.cpp
s-nase/XeGTAO
11e439c33e3dd7c1e4ea0fc73733ca840bc95bec
[ "MIT" ]
5
2021-09-03T11:40:54.000Z
2022-02-09T12:37:12.000Z
Source/Scene/vaSceneOld.cpp
s-nase/XeGTAO
11e439c33e3dd7c1e4ea0fc73733ca840bc95bec
[ "MIT" ]
22
2021-09-02T03:33:18.000Z
2022-02-23T06:36:39.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2016-2021, Intel Corporation // // SPDX-License-Identifier: MIT /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
40.06398
317
0.600576
GameTechDev
3ec33c63edbfe1fc15410e4eb9fc1645a8bda611
1,772
cpp
C++
projects/biogears/libBiogears/src/pybwrappers/cdm/patient/actions/pybSEUseInhaler.cpp
vybhavramachandran/mophy
7271c12b85a324a4f1494e0ce15942dc25bc4931
[ "Apache-2.0" ]
null
null
null
projects/biogears/libBiogears/src/pybwrappers/cdm/patient/actions/pybSEUseInhaler.cpp
vybhavramachandran/mophy
7271c12b85a324a4f1494e0ce15942dc25bc4931
[ "Apache-2.0" ]
5
2020-12-23T00:19:32.000Z
2020-12-29T20:53:58.000Z
projects/biogears/libBiogears/src/pybwrappers/cdm/patient/actions/pybSEUseInhaler.cpp
vybhavramachandran/biogears-vybhav
7271c12b85a324a4f1494e0ce15942dc25bc4931
[ "Apache-2.0" ]
null
null
null
// #include <biogears/cdm/utils/Logger.h> // #include <biogears/cdm/substance/SESubstanceManager.h> // #include <biogears/cdm/utils/DataTrack.h> // #include <biogears/cdm/scenario/requests/SEDataRequest.h> #include <biogears/exports.h> #include <string> #include <pybind11/pybind11.h> #include <biogears/cdm/patient/acti...
37.702128
100
0.751129
vybhavramachandran
3ec46d071b2cfe7d5e6c77f2940634d579514c23
3,453
hpp
C++
interfaces/IGraphicLib.hpp
rectoria/cpp_arcade
72bff5ec97f90dcc05ff4079f7ba30d5af9fb147
[ "MIT" ]
null
null
null
interfaces/IGraphicLib.hpp
rectoria/cpp_arcade
72bff5ec97f90dcc05ff4079f7ba30d5af9fb147
[ "MIT" ]
null
null
null
interfaces/IGraphicLib.hpp
rectoria/cpp_arcade
72bff5ec97f90dcc05ff4079f7ba30d5af9fb147
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2018 ** arcade ** File description: ** arcade */ /*! * @file IGraphicLib.hpp * @brief Graphic libraries dedicated class interface * @authors https://github.com/EPITECH-Strasbourg-2021/CPP-Arcade-Spec * * Interface used by graphic libraries * All functions must be implemented correctly for ...
22.717105
102
0.662612
rectoria
3ec495b668fb3126e7dae077dd21b64517cae81c
3,530
cpp
C++
src/hip_surface.cpp
Maetveis/hipamd
f5b5c4269ed9b250f9907fbdf412e2341846369e
[ "MIT" ]
null
null
null
src/hip_surface.cpp
Maetveis/hipamd
f5b5c4269ed9b250f9907fbdf412e2341846369e
[ "MIT" ]
null
null
null
src/hip_surface.cpp
Maetveis/hipamd
f5b5c4269ed9b250f9907fbdf412e2341846369e
[ "MIT" ]
null
null
null
/* Copyright (c) 2015 - 2022 Advanced Micro Devices, Inc. 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, mer...
36.391753
94
0.737394
Maetveis
3ec4affc791f9b8036ba27fbbeed5635ff12a898
1,662
cpp
C++
buf/appl_bytes_custom.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
buf/appl_bytes_custom.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
buf/appl_bytes_custom.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
/* See LICENSE for license details */ /* */ #include <appl_status.h> #include <appl_predefines.h> #include <appl_types.h> #include <object/appl_object.h> #include <buf/appl_bytes.h> #include <buf/appl_bytes_base.h> #include <buf/appl_buf.h> #include <buf/appl_bytes_descriptor.h> #include <buf/appl_bytes_cust...
13.735537
57
0.601685
fboucher9
3ec722c4dc3fa324a5993309fad30e3cc3b4c238
57,790
hpp
C++
src/signals/signal_4.hpp
Peterskhan/hydrosig
a165fb47f1caba773412ab245efcb0c35374899c
[ "MIT" ]
2
2017-05-11T20:17:27.000Z
2017-12-29T00:43:14.000Z
src/signals/signal_4.hpp
Peterskhan/hydrosig
a165fb47f1caba773412ab245efcb0c35374899c
[ "MIT" ]
null
null
null
src/signals/signal_4.hpp
Peterskhan/hydrosig
a165fb47f1caba773412ab245efcb0c35374899c
[ "MIT" ]
null
null
null
#pragma once #ifndef HYDROSIG_SIGNAL_4_HPP_INCLUDED #define HYDROSIG_SIGNAL_4_HPP_INCLUDED /* * MIT License * * Copyright (c) 2017 Peter Gyulai * * 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 th...
30.496042
98
0.608514
Peterskhan
3ec7e3e0ddb3a3b21ce09317ba4f6932b8fc5271
453
cpp
C++
FangameReader/GlFont.cpp
TheBiob/DeadSplit
2e29bae2b86fa689ed9c28d345f2e8743b10c115
[ "MIT" ]
3
2019-04-02T19:23:35.000Z
2021-04-30T03:57:15.000Z
FangameReader/GlFont.cpp
TheBiob/DeadSplit
2e29bae2b86fa689ed9c28d345f2e8743b10c115
[ "MIT" ]
1
2018-07-10T22:34:41.000Z
2018-07-10T22:52:43.000Z
FangameReader/GlFont.cpp
TheBiob/DeadSplit
2e29bae2b86fa689ed9c28d345f2e8743b10c115
[ "MIT" ]
3
2020-12-28T19:06:07.000Z
2021-01-30T10:09:56.000Z
#include <common.h> #pragma hdrstop #include <GlFont.h> namespace Fangame { ////////////////////////////////////////////////////////////////////////// CGlFont::CGlFont( CUnicodeView fontName, int fontSize ) : font( fontName ), renderer( CreateOwner<CFreeTypeGlyphProvider>( font, fontSize ) ) { rende...
22.65
75
0.456954
TheBiob
3eca661c6f612772afd46a8fd5461d585c427bfc
254
cpp
C++
resources/minimal-example.cpp
hasahmed/shape_game_cpp
1f14ba1d3f6dc31723de827c21714bdc7bc3acaa
[ "MIT" ]
null
null
null
resources/minimal-example.cpp
hasahmed/shape_game_cpp
1f14ba1d3f6dc31723de827c21714bdc7bc3acaa
[ "MIT" ]
null
null
null
resources/minimal-example.cpp
hasahmed/shape_game_cpp
1f14ba1d3f6dc31723de827c21714bdc7bc3acaa
[ "MIT" ]
null
null
null
#include "shapegame.hpp" using namespace shapegame; int main() { Game game(400, 400, "My New Game"); game.scene->setBackgroundColor(Color::BLUE); game.scene->addChild(new TriangleIsosceles(100, 100, Position(100, 100), Color::BLACK)); game.run(); }
25.4
89
0.716535
hasahmed
3ecc6ba4f19740f0e490edf7bb76c3be07c09aef
3,397
hpp
C++
http_server/include/op.hpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
http_server/include/op.hpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
http_server/include/op.hpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
#pragma once // // Copyright (c) 2015, J2 Innovations // Copyright (c) 2012 Brian Frank // Licensed under the Academic Free License version 3.0 // History: // 08 Sep 2014 Radu Racariu<radur@2inn.com> Ported to C++ // 06 Jun 2011 Brian Frank Creation // #include "headers.hpp" #include "Poco/Net/HTTPServerRequest...
25.734848
87
0.574919
kushaldalsania
3ecef9f340aa1eec159ea6ca6c738500fd62513d
17,991
cpp
C++
BezierWeights.cpp
sereslorant/gb_patch_gpu
cb7d47c28acd11925ead7d0916de44ba051a5b10
[ "MIT" ]
null
null
null
BezierWeights.cpp
sereslorant/gb_patch_gpu
cb7d47c28acd11925ead7d0916de44ba051a5b10
[ "MIT" ]
null
null
null
BezierWeights.cpp
sereslorant/gb_patch_gpu
cb7d47c28acd11925ead7d0916de44ba051a5b10
[ "MIT" ]
null
null
null
#include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include <string> #include <cstring> PFNGLGENBUFFERSPROC glGenBuffers; PFNGLBINDBUFFERPROC glBindBuffer; PFNGLBINDBUFFERRANGEPROC glBindBufferRange; PFNGLBUFFERDATAPROC glBufferData; PFNGLMAPBUFFERPROC glMapBuffer; PFNGLUNMAPBUFFERPROC glUnmapBuffer; PFNGLDELETEBUFF...
32.950549
126
0.579901
sereslorant
3ed0385635d5f4369955886cb903dff9e49a0d44
1,729
cpp
C++
src/10. MinPerimeterRectangle.cpp
zooyouny/codility
260ecc4045f8c28d3b65e9ffe56ef50f3098f7e7
[ "Unlicense" ]
null
null
null
src/10. MinPerimeterRectangle.cpp
zooyouny/codility
260ecc4045f8c28d3b65e9ffe56ef50f3098f7e7
[ "Unlicense" ]
null
null
null
src/10. MinPerimeterRectangle.cpp
zooyouny/codility
260ecc4045f8c28d3b65e9ffe56ef50f3098f7e7
[ "Unlicense" ]
null
null
null
#include "gtest/gtest.h" /* 정수 N이 주어졌을 때 최소 둘레(perimeter)를 찾는 문제. 여기서 N은 사각형의 넓이. 예) N = 30 이라면 다음과 같은 조합이 있을 수 있음 (1, 30), with a perimeter of 62, (2, 15), with a perimeter of 34, (3, 10), with a perimeter of 26, (5, 6), with a perimeter of 22. 여기서 최소 넓이는 22 이므로 22를 리턴하면 된다. 힌트 : * 한 변의 길이가 정해지면 다른 한...
24.352113
83
0.59919
zooyouny
a7926411ae96cb4329ea491c1cf85e6d85f5b13c
2,649
hpp
C++
pwm/libraries/touchgfx_lib/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/PixelDataWidget.hpp
1162431386/RT-Thread
55223abcf9559baf7d77faddcbcde0c99b6c880b
[ "Apache-2.0" ]
8
2020-12-15T13:40:34.000Z
2021-11-28T14:49:37.000Z
libraries/touchgfx_lib/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/PixelDataWidget.hpp
apeng2012/RT-Thread-tmc5160-demo
2634ec85f7a050ef188ede1b23e73d0dfdce6c3e
[ "MIT" ]
null
null
null
libraries/touchgfx_lib/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/PixelDataWidget.hpp
apeng2012/RT-Thread-tmc5160-demo
2634ec85f7a050ef188ede1b23e73d0dfdce6c3e
[ "MIT" ]
4
2020-12-15T14:01:36.000Z
2022-01-25T00:17:14.000Z
/** ****************************************************************************** * This file is part of the TouchGFX 4.15.0 distribution. * * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics. * All rights reserved.</center></h2> * * This software component is licensed by ST under Ultimate Libert...
31.535714
90
0.640997
1162431386
a794bcf13250204383df4cb226dcf0ea1d027586
26,790
cpp
C++
src/token.cpp
tnash9/chief
d633be42b6531890f5e810e0d1af06d70f106830
[ "MIT" ]
null
null
null
src/token.cpp
tnash9/chief
d633be42b6531890f5e810e0d1af06d70f106830
[ "MIT" ]
null
null
null
src/token.cpp
tnash9/chief
d633be42b6531890f5e810e0d1af06d70f106830
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <cctype> #include <fstream> #include <list> #include "main.h" #include "arch.h" #include "diagnostics.h" #include "reference.h" #include "operation.h" // --------------------------------------------------------------------------------------------------...
24.92093
138
0.600261
tnash9
a7965c840339caaf98d370b6ef4abb88fdf7b186
17,925
cpp
C++
Sources/Internal/Render/Image/ImageConvert.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-11-14T10:18:24.000Z
2020-11-14T10:18:24.000Z
Sources/Internal/Render/Image/ImageConvert.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/Render/Image/ImageConvert.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-09-05T21:16:17.000Z
2020-09-05T21:16:17.000Z
#include "Render/Image/ImageConvert.h" #include "Render/Image/LibDdsHelper.h" #include "Render/Image/LibPVRHelper.h" #include "Render/Image/Image.h" #include "Functional/Function.h" namespace DAVA { uint32 ChannelFloatToInt(float32 ch) { return static_cast<uint32>(Min(ch, 1.0f) * std::numeric_limits<uint8>::max())...
39.137555
226
0.64781
Serviak
a7989f7e4ece026bbdc262e3111af38ca068f156
2,945
cpp
C++
samples/hwdrivers_capture_video_opencv/test.cpp
wstnturner/mrpt
b0be3557a4cded6bafff03feb28f7fa1f75762a3
[ "BSD-3-Clause" ]
38
2015-01-04T05:24:26.000Z
2015-07-17T00:30:02.000Z
samples/hwdrivers_capture_video_opencv/test.cpp
wstnturner/mrpt
b0be3557a4cded6bafff03feb28f7fa1f75762a3
[ "BSD-3-Clause" ]
40
2015-01-03T22:43:00.000Z
2015-07-17T18:52:59.000Z
samples/hwdrivers_capture_video_opencv/test.cpp
wstnturner/mrpt
b0be3557a4cded6bafff03feb28f7fa1f75762a3
[ "BSD-3-Clause" ]
41
2015-01-06T12:32:19.000Z
2017-05-30T15:50:13.000Z
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
22.653846
80
0.551104
wstnturner
a79aa1315719ce59f29cf99d5d635eb68d9833aa
7,803
cpp
C++
source/Lib/CommonLib/x86/InitX86.cpp
1div0/vvdec
fceca978976f7f7394df839fe31497d2299fde80
[ "BSD-3-Clause" ]
204
2020-09-08T01:46:07.000Z
2022-03-29T23:54:49.000Z
source/Lib/CommonLib/x86/InitX86.cpp
1div0/vvdec
fceca978976f7f7394df839fe31497d2299fde80
[ "BSD-3-Clause" ]
42
2020-09-09T04:40:13.000Z
2022-03-08T03:52:18.000Z
source/Lib/CommonLib/x86/InitX86.cpp
1div0/vvdec
fceca978976f7f7394df839fe31497d2299fde80
[ "BSD-3-Clause" ]
57
2020-09-08T01:46:09.000Z
2022-03-16T07:07:38.000Z
/* ----------------------------------------------------------------------------- The copyright in this software is being made available under the BSD License, included below. No patent rights, trademark rights and/or other Intellectual Property Rights other than the copyrights concerning the Software are granted unde...
21.918539
94
0.695117
1div0
a79eec3054f3faaae30c43783dac2c20f6857966
521
cpp
C++
Structural/Bridge/src/main.cpp
craviee/design-patterns-modern-cpp
39896c8a2491c5599f79afa65a07deda2e4e7dd7
[ "Unlicense" ]
3
2019-11-15T01:38:31.000Z
2020-04-21T13:04:19.000Z
Structural/Bridge/src/main.cpp
craviee/design-patterns-modern-cpp
39896c8a2491c5599f79afa65a07deda2e4e7dd7
[ "Unlicense" ]
23
2019-11-29T09:13:42.000Z
2020-02-05T14:53:03.000Z
Structural/Bridge/src/main.cpp
craviee/design-patterns-modern-cpp
39896c8a2491c5599f79afa65a07deda2e4e7dd7
[ "Unlicense" ]
null
null
null
#include <iostream> #include <memory> #include "CompanyTraveler.hpp" #include "PlaneTravel.hpp" #include "TrainTravel.hpp" int main() { auto plane = std::make_shared<PlaneTravel>(); auto train = std::make_shared<TrainTravel>(); CompanyTraveler traveler{std::static_pointer_cast<TravelMethod>(plane)}; C...
26.05
83
0.721689
craviee
a79fb6fe444538eda1e8ce75a50b158177480294
15,180
cpp
C++
Source/Core/GeometryBackgroundBorder.cpp
aquawicket/RmlUi
d56f17e49ca2ee88aadeb304228cd1eae14e3f51
[ "MIT" ]
null
null
null
Source/Core/GeometryBackgroundBorder.cpp
aquawicket/RmlUi
d56f17e49ca2ee88aadeb304228cd1eae14e3f51
[ "MIT" ]
null
null
null
Source/Core/GeometryBackgroundBorder.cpp
aquawicket/RmlUi
d56f17e49ca2ee88aadeb304228cd1eae14e3f51
[ "MIT" ]
null
null
null
/* * This source file is part of RmlUi, the HTML/CSS Interface Middleware * * For the latest information, see http://github.com/mikke89/RmlUi * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * Copyright (c) 2019 The RmlUi Team, and contributors * * Permission is hereby granted, free of charge, to...
36.142857
214
0.713439
aquawicket
a7a133e38e7f26144b668b432f88a35dc2e5d172
1,426
cpp
C++
src/engine/ModelLoader.cpp
eknah/Forradia
20ec33fd515e131cd1943e9684552961d2e1e0db
[ "MIT" ]
null
null
null
src/engine/ModelLoader.cpp
eknah/Forradia
20ec33fd515e131cd1943e9684552961d2e1e0db
[ "MIT" ]
null
null
null
src/engine/ModelLoader.cpp
eknah/Forradia
20ec33fd515e131cd1943e9684552961d2e1e0db
[ "MIT" ]
null
null
null
// Copyright (C) 2022 Andreas Åkerberg // This code is licensed under MIT license (see LICENSE for details) #include "ModelLoader.h" #include <filesystem> namespace Forradia { void ModelLoader::LoadModels() { models.clear(); modelNames.clear(); auto file_path = std::string(SDL_GetBa...
27.960784
77
0.592567
eknah
a7a1c8bead1ac0f903421739664b49597d79f6c8
2,375
hpp
C++
Pods/GeoFeatures/GeoFeatures/boost/geometry/algorithms/detail/relate/less.hpp
xarvey/Yuuuuuge
9f4ec32f81cf813ea630ba2c44eb03970c56dad3
[ "Apache-2.0" ]
24
2015-08-25T05:35:37.000Z
2020-10-24T14:21:59.000Z
Pods/GeoFeatures/GeoFeatures/boost/geometry/algorithms/detail/relate/less.hpp
xarvey/Yuuuuuge
9f4ec32f81cf813ea630ba2c44eb03970c56dad3
[ "Apache-2.0" ]
97
2015-08-25T16:11:16.000Z
2019-03-17T00:54:32.000Z
Pods/GeoFeatures/GeoFeatures/boost/geometry/algorithms/detail/relate/less.hpp
xarvey/Yuuuuuge
9f4ec32f81cf813ea630ba2c44eb03970c56dad3
[ "Apache-2.0" ]
9
2015-08-26T03:11:38.000Z
2018-03-21T07:16:29.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2014. // Modifications copyright (c) 2014, Oracle and/or its affiliates. // Use, modification and distribution is subject to the Boost Software License, ...
28.27381
116
0.703158
xarvey
a7a4c1fb3c934cfdca240c5f94bac17dfc69a4cc
1,432
cpp
C++
jsUnits/jsAxialStiffness.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsAxialStiffness.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsAxialStiffness.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 DNV AS // // 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 <jsUnits/jsAxialStiffness.h> #include <jsUnits/jsUnitClass.h> #include <Units/AxialStiffness.h> #include "jsRotationalSt...
42.117647
151
0.796788
dnv-opensource
a7a5eb60a38c574a2984a102cedb70ddd1f7d33a
19,537
cc
C++
src/nameserver/logdb.cc
spiritbrother1/bfs
f3bb0ea70e8e2bda99df742e4c0b768f6a96d57c
[ "BSD-3-Clause" ]
null
null
null
src/nameserver/logdb.cc
spiritbrother1/bfs
f3bb0ea70e8e2bda99df742e4c0b768f6a96d57c
[ "BSD-3-Clause" ]
null
null
null
src/nameserver/logdb.cc
spiritbrother1/bfs
f3bb0ea70e8e2bda99df742e4c0b768f6a96d57c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2016, Baidu.com, Inc. All Rights Reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include <errno.h> #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> #include <common/logging.h> #include <common/string_util.h> #include...
33.282794
105
0.575472
spiritbrother1
a7a67c688924f90044804c0d16a399b57e7b7da3
2,870
cpp
C++
FdogClient/traywidget.cpp
FdogMain/FdogInstantMessaging
4d2e9a12d90dfc79a90d8367b373df8828578f06
[ "Apache-2.0" ]
35
2021-05-01T13:39:18.000Z
2021-07-19T12:33:51.000Z
FdogClient/traywidget.cpp
BearStar0914/FdogInstantMessaging
4d2e9a12d90dfc79a90d8367b373df8828578f06
[ "Apache-2.0" ]
2
2021-05-05T13:26:22.000Z
2021-07-16T01:39:03.000Z
FdogClient/traywidget.cpp
BearStar0914/FdogInstantMessaging
4d2e9a12d90dfc79a90d8367b373df8828578f06
[ "Apache-2.0" ]
8
2021-06-02T08:02:25.000Z
2021-07-19T06:59:04.000Z
#include "traywidget.h" #include "ui_traywidget.h" #include<QDebug> #if _MSC_VER >= 1600 #pragma execution_character_set("utf-8") #endif Traywidget::Traywidget(QString name,QWidget *parent) : QWidget(parent), ui(new Ui::Traywidget) { qDebug()<<"创1"; ui->setupUi(this); this->setWindowFlags(Qt::Splas...
28.137255
110
0.673868
FdogMain
a7a6a89abceae5b06c3353dd51de6c2feaae471f
189
hpp
C++
DARwIn OP/Controllers/ZeroPlayer-Teleoperado/teleoperado.hpp
99Angelrm/Webots
036ce182aa69f5fbecd358c179ac23fd9a1c91cd
[ "MIT" ]
null
null
null
DARwIn OP/Controllers/ZeroPlayer-Teleoperado/teleoperado.hpp
99Angelrm/Webots
036ce182aa69f5fbecd358c179ac23fd9a1c91cd
[ "MIT" ]
null
null
null
DARwIn OP/Controllers/ZeroPlayer-Teleoperado/teleoperado.hpp
99Angelrm/Webots
036ce182aa69f5fbecd358c179ac23fd9a1c91cd
[ "MIT" ]
null
null
null
#ifndef TELEOPERADO_HPP #define TELEOPERADO_HPP #include <webots/Robot.hpp> #include "ZeroPlayer.hpp" #define NMOTORS 20 namespace webots { class Joystick; }; void teleoperado(); #endif
17.181818
27
0.772487
99Angelrm
a7a8d47d2a498de74055c2f748b17afe12ad34f7
2,202
cpp
C++
chrgfx/src/coldef.cpp
RyogaMasaki/chrgfx
f70d78b9742546d5f38246621e32c2c834cdaf0b
[ "MIT" ]
9
2019-03-25T19:28:24.000Z
2020-06-08T06:28:09.000Z
chrgfx/src/coldef.cpp
RyogaMasaki/gfx
f70d78b9742546d5f38246621e32c2c834cdaf0b
[ "MIT" ]
1
2019-11-18T12:35:58.000Z
2019-11-18T12:35:58.000Z
chrgfx/src/coldef.cpp
RyogaMasaki/gfx
f70d78b9742546d5f38246621e32c2c834cdaf0b
[ "MIT" ]
2
2019-10-12T08:22:18.000Z
2019-11-17T19:38:09.000Z
#include "coldef.hpp" #include <string> #include <vector> namespace chrgfx { using namespace std; using namespace png; coldef::coldef(string const & id, coldef_type type, bool const big_endian, string const & description) : gfxdef(id, description), m_type(type), m_big_endian(big_endian) { } refcoldef::re...
21.173077
74
0.686194
RyogaMasaki
a7a9aba9e9b818cd099105375a2fdeb4e198523d
271
cpp
C++
Project/PepEngine/BurgerTime/SprayLeftCommand.cpp
PepijnVerhaert/PepEngine
5a5dd4d78d8217d7109c2ea6990563ef583a0be4
[ "MIT" ]
null
null
null
Project/PepEngine/BurgerTime/SprayLeftCommand.cpp
PepijnVerhaert/PepEngine
5a5dd4d78d8217d7109c2ea6990563ef583a0be4
[ "MIT" ]
null
null
null
Project/PepEngine/BurgerTime/SprayLeftCommand.cpp
PepijnVerhaert/PepEngine
5a5dd4d78d8217d7109c2ea6990563ef583a0be4
[ "MIT" ]
null
null
null
#include "SprayLeftCommand.h" #include "Object.h" #include "SprayPepperComponent.h" SprayLeftCommand::SprayLeftCommand(pep::Object* pObject) :BaseCommand(pObject) { } void SprayLeftCommand::Execute() { GetActor()->GetComponent<SprayPepperComponent>()->SprayLeft(); }
19.357143
63
0.767528
PepijnVerhaert
a7aa64bbaaf81a50ce5187a54103f8fd0321ca40
10,319
cpp
C++
src/nyx/features/glszm.cpp
friskluft/nyx
338fa587a358588dc1d01ce938864c69a391cb07
[ "MIT" ]
1
2021-09-09T18:57:23.000Z
2021-09-09T18:57:23.000Z
src/nyx/features/glszm.cpp
friskluft/nyx
338fa587a358588dc1d01ce938864c69a391cb07
[ "MIT" ]
null
null
null
src/nyx/features/glszm.cpp
friskluft/nyx
338fa587a358588dc1d01ce938864c69a391cb07
[ "MIT" ]
1
2021-09-17T14:51:21.000Z
2021-09-17T14:51:21.000Z
#include <algorithm> #include <iostream> #include <iomanip> #include <sstream> #include <unordered_set> #include "glszm.h" GLSZM_features::GLSZM_features (int minI, int maxI, const ImageMatrix& im) { //==== Check if the ROI is degenerate (equal intensity) if (minI == maxI) { bad_roi_data = true; re...
20.075875
128
0.538424
friskluft
a7aaf8cfe05a5bd0598bed7b56a8e10879f1d88a
1,718
cpp
C++
tests/gl.cpp
Toefinder/gepetto-viewer
5163a81991dafed7dda7a4268baa3512f2cedb78
[ "BSD-2-Clause" ]
18
2019-02-09T08:38:36.000Z
2022-02-19T13:22:04.000Z
tests/gl.cpp
Toefinder/gepetto-viewer
5163a81991dafed7dda7a4268baa3512f2cedb78
[ "BSD-2-Clause" ]
67
2018-10-12T13:52:04.000Z
2022-03-16T11:25:06.000Z
tests/gl.cpp
Toefinder/gepetto-viewer
5163a81991dafed7dda7a4268baa3512f2cedb78
[ "BSD-2-Clause" ]
8
2019-05-06T11:14:43.000Z
2022-02-07T15:32:28.000Z
#include <iostream> #include <stdio.h> #ifdef _WIN32 #include <Windows.h> #endif #include <osgViewer/Viewer> #include <osg/GLExtensions> const int OSG_WIDTH = 1024; const int OSG_HEIGHT = 960; class TestSupportOperation : public osg::GraphicsOperation { public: TestSupportOperation() : osg::Referenced(t...
23.534247
77
0.593714
Toefinder
a7b379cfc8620d65fdd839931aee24c75dbd2c9e
2,817
cpp
C++
test/selene/img/interop/ImageToDynImage.cpp
kmhofmann/selene
11718e1a7de6ff6251c46e4ef429a7cfb1bdb9eb
[ "MIT" ]
284
2017-11-20T08:23:54.000Z
2022-03-30T12:52:00.000Z
test/selene/img/interop/ImageToDynImage.cpp
kmhofmann/selene
11718e1a7de6ff6251c46e4ef429a7cfb1bdb9eb
[ "MIT" ]
9
2018-02-14T08:21:41.000Z
2021-07-27T19:52:12.000Z
test/selene/img/interop/ImageToDynImage.cpp
kmhofmann/selene
11718e1a7de6ff6251c46e4ef429a7cfb1bdb9eb
[ "MIT" ]
17
2018-03-10T00:01:36.000Z
2021-06-29T10:44:27.000Z
// This file is part of the `Selene` library. // Copyright 2017-2019 Michael Hofmann (https://github.com/kmhofmann). // Distributed under MIT license. See accompanying LICENSE file in the top-level directory. #include <catch2/catch.hpp> #include <selene/img/interop/ImageToDynImage.hpp> #include <selene/img/pixel/Pix...
24.495652
91
0.652467
kmhofmann
a7b3a6eb2aa64050eedeabf66a27382e43ac24cc
28,004
cpp
C++
test/test.cpp
AmonShokhinAhmed/TattleTale
b3ec96ca7831d38f2cce88f1ef02f351d9f8547f
[ "MIT" ]
1
2022-03-22T16:17:45.000Z
2022-03-22T16:17:45.000Z
test/test.cpp
AmonShokhinAhmed/TattleTale
b3ec96ca7831d38f2cce88f1ef02f351d9f8547f
[ "MIT" ]
88
2022-01-31T09:16:19.000Z
2022-03-29T19:30:50.000Z
test/test.cpp
AmonShokhinAhmed/TattleTale
b3ec96ca7831d38f2cce88f1ef02f351d9f8547f
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <iostream> #include <vector> #include <list> #include <algorithm> #include <memory> #include "tale/tale.hpp" #include <time.h> #define GTEST_INFO std::cout << "[ INFO ] " using namespace tattletale; TEST(TaleKernels, IncreasingKernelId) { Random random; C...
39.891738
175
0.673082
AmonShokhinAhmed
a7b7214dcad5af84c017b9bca86f4c7d35942a42
968
cpp
C++
problems/atcoder/abc218/d---rectangles/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/atcoder/abc218/d---rectangles/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/atcoder/abc218/d---rectangles/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #ifdef LOCAL #include "code/formatting.hpp" #else #define debug(...) (void)0 #endif using namespace std; static_assert(sizeof(int) == 4 && sizeof(long) == 8); using P = array<int, 2>; int main() { ios::sync_with_stdio(false), cin.tie(nullptr); int N; cin >> N; vector<P> pts(N)...
23.047619
61
0.436983
brunodccarvalho
a7bd47760454d46cfb69247601d88f658fbe03a5
1,478
cpp
C++
QFtpServerLib/ftpretrcommand.cpp
spygg/QFtpServer
28410fd296795d49f17d4310c992dc6e6b0c26f8
[ "MIT" ]
null
null
null
QFtpServerLib/ftpretrcommand.cpp
spygg/QFtpServer
28410fd296795d49f17d4310c992dc6e6b0c26f8
[ "MIT" ]
null
null
null
QFtpServerLib/ftpretrcommand.cpp
spygg/QFtpServer
28410fd296795d49f17d4310c992dc6e6b0c26f8
[ "MIT" ]
null
null
null
#include "ftpretrcommand.h" #include <QFile> #include <QSslSocket> FtpRetrCommand::FtpRetrCommand(QObject *parent, const QString &fileName, qint64 seekTo) : FtpCommand(parent) { this->fileName = fileName; this->seekTo = seekTo; file = 0; } FtpRetrCommand::~FtpRetrCommand() { if (m_started) { ...
25.482759
105
0.629905
spygg
a7be1b315b8c3828fc0f69564f11dbfb8f31648d
2,292
cpp
C++
Net/testsuite/src/MailStreamTest.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
2
2021-04-11T20:16:11.000Z
2021-11-17T11:28:59.000Z
Net/testsuite/src/MailStreamTest.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
1
2016-03-31T10:04:18.000Z
2016-03-31T10:04:43.000Z
Net/testsuite/src/MailStreamTest.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
1
2022-03-09T08:11:03.000Z
2022-03-09T08:11:03.000Z
// // MailStreamTest.cpp // // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "MailStreamTest.h" #include "Poco/CppUnit/TestCaller.h" #include "Poco/CppUnit/TestSuite.h" #include "Poco/Net/MailStream.h" #include "Poco/Str...
18.786885
80
0.655323
astlin
a7c5144e2f50813d84e2f23d99206b08a7e1da7e
17,985
cpp
C++
src/generator/protobufclassgenerator.cpp
R0ll1ngSt0ne/qtprotobuf
ce6f09ffa77fecd35fff84deb798720d870ab3e7
[ "MIT" ]
null
null
null
src/generator/protobufclassgenerator.cpp
R0ll1ngSt0ne/qtprotobuf
ce6f09ffa77fecd35fff84deb798720d870ab3e7
[ "MIT" ]
null
null
null
src/generator/protobufclassgenerator.cpp
R0ll1ngSt0ne/qtprotobuf
ce6f09ffa77fecd35fff84deb798720d870ab3e7
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2019 Alexey Edelev <semlanik@gmail.com>, Tatyana Borisova <tanusshhka@mail.ru> * * This file is part of QtProtobuf project https://git.semlanik.org/semlanik/qtprotobuf * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and assoc...
35.826693
140
0.619127
R0ll1ngSt0ne
a7c6a53c147194bd18746ddc3b384784cae07a4a
5,302
cpp
C++
modules/arm_plugin/src/arm_converter/arm_converter_one_hot.cpp
IvanNovoselov/openvino_contrib
5fe8fd389d57972bd470b447c606138679ab5d49
[ "Apache-2.0" ]
null
null
null
modules/arm_plugin/src/arm_converter/arm_converter_one_hot.cpp
IvanNovoselov/openvino_contrib
5fe8fd389d57972bd470b447c606138679ab5d49
[ "Apache-2.0" ]
null
null
null
modules/arm_plugin/src/arm_converter/arm_converter_one_hot.cpp
IvanNovoselov/openvino_contrib
5fe8fd389d57972bd470b447c606138679ab5d49
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2020-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include <details/ie_exception.hpp> #include "arm_converter/arm_converter.hpp" #include <ngraph/runtime/reference/one_hot.hpp> namespace ArmPlugin { template <typename Indices, typename OutputType> void wrap_one_hot(const Indices* ar...
58.911111
108
0.570351
IvanNovoselov
a7c761c18ab7051ec25627e38782b52942f3409a
2,220
cpp
C++
Examples/CPP/Licensing/EvaluationDateTimeLimitations.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2022-03-16T14:31:36.000Z
2022-03-16T14:31:36.000Z
Examples/CPP/Licensing/EvaluationDateTimeLimitations.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
null
null
null
Examples/CPP/Licensing/EvaluationDateTimeLimitations.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2020-07-01T01:26:17.000Z
2020-07-01T01:26:17.000Z
/* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGet, you can manually download Aspose.Tasks for .NET API from https://www.n...
34.153846
164
0.743243
aspose-tasks
a7c974e4a298f7c669de3f5dcc90e888d6a23a1b
462
hxx
C++
src/engine/Component.hxx
broken-bytes/Cyanite
0392e3114c946e41b7352afd4b8eceb6f03939da
[ "MIT" ]
1
2021-11-11T02:56:56.000Z
2021-11-11T02:56:56.000Z
src/engine/Component.hxx
broken-bytes/Cyanite
0392e3114c946e41b7352afd4b8eceb6f03939da
[ "MIT" ]
null
null
null
src/engine/Component.hxx
broken-bytes/Cyanite
0392e3114c946e41b7352afd4b8eceb6f03939da
[ "MIT" ]
null
null
null
#pragma once #include "EntityRegistry.hxx" #include "EntitySet.hxx" namespace BrokenBytes::Cyanite::Engine { struct Component { Component(std::string name) { this->_name = name; } protected: std::string _name; private: friend class EntityRegistry; friend...
20.086957
40
0.577922
broken-bytes
a7d449ff1d722a52d43480dffbe82ddc3253a869
14,209
cpp
C++
src/kfilter.cpp
Jamieryan/carma_pack
347ea78818cc808e53e4a46d341829f787198df5
[ "MIT" ]
39
2015-01-25T19:24:09.000Z
2022-02-28T11:55:28.000Z
src/kfilter.cpp
Jamieryan/carma_pack
347ea78818cc808e53e4a46d341829f787198df5
[ "MIT" ]
13
2015-04-29T12:37:45.000Z
2021-11-28T23:31:29.000Z
src/kfilter.cpp
Jamieryan/carma_pack
347ea78818cc808e53e4a46d341829f787198df5
[ "MIT" ]
19
2015-09-15T00:41:28.000Z
2021-07-28T07:28:47.000Z
// // kfilter.cpp // carma_pack // // Created by Brandon Kelly on 6/27/13. // Copyright (c) 2013 Brandon Kelly. All rights reserved. // #include <random.hpp> #include "include/kfilter.hpp" // Global random number generator object, instantiated in random.cpp extern boost::random::mt19937 rng; // Object containing...
42.038462
115
0.671265
Jamieryan
a7d8c4e42f5e8b0f14bec65e1b38b18bc0593325
4,071
cpp
C++
src/Dicom_util.cpp
Swassie/dcmedit
ffa3052386679ac60d5373f0b33bc767aa57de04
[ "BSD-3-Clause" ]
null
null
null
src/Dicom_util.cpp
Swassie/dcmedit
ffa3052386679ac60d5373f0b33bc767aa57de04
[ "BSD-3-Clause" ]
null
null
null
src/Dicom_util.cpp
Swassie/dcmedit
ffa3052386679ac60d5373f0b33bc767aa57de04
[ "BSD-3-Clause" ]
1
2021-05-10T08:54:39.000Z
2021-05-10T08:54:39.000Z
#include "Dicom_util.h" #include "logging/Log.h" #include <dcmtk/dcmdata/dcelem.h> #include <dcmtk/dcmdata/dcitem.h> #include <dcmtk/dcmdata/dcpath.h> #include <dcmtk/dcmdata/dcsequen.h> #include <stdexcept> static DcmObject* get_object(DcmPath* path) { DcmPathNode* last_element = path->back(); if(last_eleme...
30.380597
93
0.603537
Swassie
a7d96fd91a8175ef20c22e2aaf1d3c40d7aa2122
21,644
cpp
C++
core/src/glam/jit/math_compiler.cpp
glammath/glam
2eca0625c95ecf4ea0592f06101e13a92926c5cf
[ "Apache-2.0" ]
3
2021-08-01T16:00:11.000Z
2021-08-13T20:51:47.000Z
core/src/glam/jit/math_compiler.cpp
glammath/glam
2eca0625c95ecf4ea0592f06101e13a92926c5cf
[ "Apache-2.0" ]
null
null
null
core/src/glam/jit/math_compiler.cpp
glammath/glam
2eca0625c95ecf4ea0592f06101e13a92926c5cf
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Kioshi Morosin <glam@hex.lc> * * 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 ...
35.022654
140
0.640362
glammath
a7dec0fd98ba900c1a7008a69f24db37baf08b54
4,543
cpp
C++
src/Core/src/simple_face.cpp
rosecodym/space-boundary-tool
300db4084cd19b092bdf2e8432da065daeaa7c55
[ "FSFAP" ]
6
2016-11-01T11:09:00.000Z
2022-02-15T06:31:58.000Z
src/Core/src/simple_face.cpp
rosecodym/space-boundary-tool
300db4084cd19b092bdf2e8432da065daeaa7c55
[ "FSFAP" ]
null
null
null
src/Core/src/simple_face.cpp
rosecodym/space-boundary-tool
300db4084cd19b092bdf2e8432da065daeaa7c55
[ "FSFAP" ]
null
null
null
#include "precompiled.h" #include "cleanup_loop.h" #include "equality_context.h" #include "exceptions.h" #include "sbt-core.h" #include "stringification.h" #include "simple_face.h" namespace { typedef std::vector<point_3> loop; loop create_loop(const polyloop & p, equality_context * c) { std::vector<ipoint_3> pts...
28.572327
124
0.673784
rosecodym
a7dffd0919a0fea4d1d18d9f854a2712191faf87
11,425
cpp
C++
src/mongocxx/test/sdam-monitoring.cpp
lzlzymy/mongo-cxx-driver
bcdeb3ad9412f6b7b87a45dc3384ad18759ac572
[ "Apache-2.0" ]
null
null
null
src/mongocxx/test/sdam-monitoring.cpp
lzlzymy/mongo-cxx-driver
bcdeb3ad9412f6b7b87a45dc3384ad18759ac572
[ "Apache-2.0" ]
null
null
null
src/mongocxx/test/sdam-monitoring.cpp
lzlzymy/mongo-cxx-driver
bcdeb3ad9412f6b7b87a45dc3384ad18759ac572
[ "Apache-2.0" ]
null
null
null
// Copyright 2018-present MongoDB Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
39.396552
100
0.569278
lzlzymy
a7e1429e15be464fa4e2a5469cf160ad9145f864
1,009
cpp
C++
src/Kernel/VideoDecoder.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Kernel/VideoDecoder.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Kernel/VideoDecoder.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "VideoDecoder.h" #include "Kernel/AssertionMemoryPanic.h" #include "Kernel/AssertionType.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// VideoDecoder::VideoDecoder() { } /////////////////////////////////////////////////////////////////////...
32.548387
78
0.418236
irov
a7e395319bfdef5c234886d2b136295a3be6f8e6
23,974
hpp
C++
src/AFQMC/HamiltonianOperations/Real3IndexFactorization.hpp
kayahans/qmcpack
c25d77702e36363ff7368ded783bf31c1b1c5f17
[ "NCSA" ]
null
null
null
src/AFQMC/HamiltonianOperations/Real3IndexFactorization.hpp
kayahans/qmcpack
c25d77702e36363ff7368ded783bf31c1b1c5f17
[ "NCSA" ]
null
null
null
src/AFQMC/HamiltonianOperations/Real3IndexFactorization.hpp
kayahans/qmcpack
c25d77702e36363ff7368ded783bf31c1b1c5f17
[ "NCSA" ]
null
null
null
////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source // License. See LICENSE file in top directory for details. // // Copyright (c) 2016 Jeongnim Kim and QMCPACK developers. // // File developed by: // Miguel A. Morales, mo...
38.918831
131
0.588888
kayahans
a7e41efd5bcc11619c12c326053dcccdc2c3d109
157
hxx
C++
src/Providers/UNIXProviders/AbstractIndicationSubscription/UNIX_AbstractIndicationSubscription_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/AbstractIndicationSubscription/UNIX_AbstractIndicationSubscription_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/AbstractIndicationSubscription/UNIX_AbstractIndicationSubscription_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_DARWIN #ifndef __UNIX_ABSTRACTINDICATIONSUBSCRIPTION_PRIVATE_H #define __UNIX_ABSTRACTINDICATIONSUBSCRIPTION_PRIVATE_H #endif #endif
13.083333
55
0.878981
brunolauze
a7e53e2e17e6741f7355ed71f56800248291a4b6
1,032
cpp
C++
binary-tree-zigzag-level-order-traversal.cpp
mittalnaman2706/LeetCode
ba7e1602fb70ca0063c3e5573ea0661cc5ae9856
[ "Apache-2.0" ]
2
2019-01-10T17:50:26.000Z
2019-05-23T14:31:58.000Z
binary-tree-zigzag-level-order-traversal.cpp
mittalnaman2706/LeetCode
ba7e1602fb70ca0063c3e5573ea0661cc5ae9856
[ "Apache-2.0" ]
null
null
null
binary-tree-zigzag-level-order-traversal.cpp
mittalnaman2706/LeetCode
ba7e1602fb70ca0063c3e5573ea0661cc5ae9856
[ "Apache-2.0" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<vector<int>> zigzagLevelOrder(TreeNode* root) { vector<vector<int>>q; ...
21.5
59
0.379845
mittalnaman2706
a7ea2b322fecaa7b4a02e2d96db789062e02bf4c
1,156
hpp
C++
include/RED4ext/Types/generated/anim/AnimNode_AimConstraint_ObjectUp.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/anim/AnimNode_AimConstraint_ObjectUp.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/anim/AnimNode_AimConstraint_ObjectUp.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/Vector3.hpp> #include <RED4ext/Types/generated/anim/AnimNode_OnePoseInput.hpp> #include <RED4ext/Types/generated/anim/ConstraintWeigh...
33.028571
78
0.763841
Cyberpunk-Extended-Development-Team
a7ec028f47d869af8d9e35e4cdcedf47560f0fe0
11,677
cpp
C++
tests/test_code/test_modbus.cpp
yisea123/modbus-tcp-server-1
0d9f697059b2034dfae2d45115c0f4897de87977
[ "MIT" ]
1
2019-12-11T05:24:14.000Z
2019-12-11T05:24:14.000Z
tests/test_code/test_modbus.cpp
yisea123/modbus-tcp-server-1
0d9f697059b2034dfae2d45115c0f4897de87977
[ "MIT" ]
null
null
null
tests/test_code/test_modbus.cpp
yisea123/modbus-tcp-server-1
0d9f697059b2034dfae2d45115c0f4897de87977
[ "MIT" ]
null
null
null
#include "CppUTest/TestHarness.h" #include <string.h> #include <stdio.h> #define NO_OF_INPUT_REGS 10 #define INPUT_REG_START_ADDRESS 0 extern "C" { #include "mbap_conf.h" #include "mbap.h" } #define QUERY_SIZE_IN_BYTES (255u) #define RESPONSE_SIZE_IN_BYTES (255u) #define INPUT_R...
35.066066
119
0.684936
yisea123
a7ed46564aa28c4496c89aac6c47e69f72c87805
2,034
cpp
C++
DataPackets/main.cpp
culaja/CppDsp
70163cf51291692bb72a165fc0216ae087b75292
[ "MIT" ]
null
null
null
DataPackets/main.cpp
culaja/CppDsp
70163cf51291692bb72a165fc0216ae087b75292
[ "MIT" ]
null
null
null
DataPackets/main.cpp
culaja/CppDsp
70163cf51291692bb72a165fc0216ae087b75292
[ "MIT" ]
null
null
null
#include <iostream> #include <cpptest.h> #include "MainTestHarness.h" #include "UnitTests/PacketQueueTests.h" #define RUN_MAIN_TEST_HARNESS // Comment this line if you want to run unit tests, otherwise this will trigger MainTestHarness to execute using namespace std; enum OutputType { Compiler, Html, TextTerse, ...
20.755102
136
0.656342
culaja
a7ee53eed9f898947d3f9cdf8453e33c43f2abf2
12,845
cpp
C++
tests/Widget.cpp
cyanskies/TGUI
9d84916313aacdfc33dc9a8b9e60609449fddce7
[ "Zlib" ]
null
null
null
tests/Widget.cpp
cyanskies/TGUI
9d84916313aacdfc33dc9a8b9e60609449fddce7
[ "Zlib" ]
null
null
null
tests/Widget.cpp
cyanskies/TGUI
9d84916313aacdfc33dc9a8b9e60609449fddce7
[ "Zlib" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus's Graphical User Interface // Copyright (C) 2012-2017 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. ...
39.645062
129
0.576645
cyanskies