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
7d6a6526026b9c3749bfc1bb1150338f05a1ff78
4,073
cpp
C++
command.cpp
SAE-Geneve/classylabyrinth-PaulOwO
9229d3a5295dbed86892cefc03496c35a1997789
[ "MIT" ]
null
null
null
command.cpp
SAE-Geneve/classylabyrinth-PaulOwO
9229d3a5295dbed86892cefc03496c35a1997789
[ "MIT" ]
null
null
null
command.cpp
SAE-Geneve/classylabyrinth-PaulOwO
9229d3a5295dbed86892cefc03496c35a1997789
[ "MIT" ]
null
null
null
#include <vector> #include "command.h" #include "character.h" #include "player.h" #include <iostream> #include "world.h" void Command::North() { Player player = world_.GetPlayer(); if (world_.get_tile_at_position(player.GetX(),player.GetY() - 1) != '.') return; else player.SetY(player.GetY() - 1); world_.S...
22.016216
91
0.599067
SAE-Geneve
7d6ac821dfb47fe447c915208b6ad81622943da1
8,312
cpp
C++
Remove_bad_split_good/llcpImp.cpp
awagsta/Data-Structures-and-Algorithms
d32dc118ff7392421dd61c0ff8cca0eebb27747a
[ "MIT" ]
null
null
null
Remove_bad_split_good/llcpImp.cpp
awagsta/Data-Structures-and-Algorithms
d32dc118ff7392421dd61c0ff8cca0eebb27747a
[ "MIT" ]
null
null
null
Remove_bad_split_good/llcpImp.cpp
awagsta/Data-Structures-and-Algorithms
d32dc118ff7392421dd61c0ff8cca0eebb27747a
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include "llcpInt.h" using namespace std; int FindListLength(Node* headPtr) { int length = 0; while (headPtr != 0) { ++length; headPtr = headPtr->link; } return length; } bool IsSortedUp(Node* headPtr) { if (headPtr == 0 || headPtr->link == 0) // ...
22.106383
83
0.490014
awagsta
7d721de4f52be0839911e50daf631d081fe92375
14,349
hpp
C++
core/os/MacOS/src/cogs/os/gui/scroll_bar.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
5
2019-02-08T15:59:14.000Z
2022-01-22T19:12:33.000Z
core/os/MacOS/src/cogs/os/gui/scroll_bar.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
1
2019-12-03T03:11:34.000Z
2019-12-03T03:11:34.000Z
core/os/MacOS/src/cogs/os/gui/scroll_bar.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
null
null
null
// // Copyright (C) 2000-2020 - Colen M. Garoutte-Carson <colen at cogmine.com>, Cog Mine LLC // // Status: Good #ifndef COGS_HEADER_OS_GUI_SCROLL_BAR #define COGS_HEADER_OS_GUI_SCROLL_BAR #include "cogs/sync/transactable.hpp" #include "cogs/sync/resettable_timer.hpp" #include "cogs/gui/scroll_bar.hpp" #include "...
24.075503
180
0.716008
cogmine
7d7f75355ff8f074d94ef4a92ad36d3fe50d55c9
48
hpp
C++
src/boost_preprocessor_list_to_tuple.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_preprocessor_list_to_tuple.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_preprocessor_list_to_tuple.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/preprocessor/list/to_tuple.hpp>
24
47
0.8125
miathedev
7d7fb8c2d059d53e033a0ebb83481f72df87ebd5
57,296
cpp
C++
src/drivers/cosmica.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/cosmica.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/cosmica.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/*Se anula todo lo referente a Space Panic y Cosmic Guerrilla*/ /*************************************************************************** Space Panic memory map 0000-3FFF ROM 4000-5BFF Video RAM (Bitmap) 5C00-5FFF RAM 6000-601F Sprite Controller 4 bytes per sprite byte 1 - 80 = ? ...
29.352459
172
0.638823
pierrelouys
7d80836b17d9e97d4b9005008b5b88c3e3a74a6a
572
hpp
C++
include/basic_csv_file_def.hpp
MarkusJx/csv
35a945c789215ad6e817bd52de7d08c9842920b9
[ "MIT" ]
null
null
null
include/basic_csv_file_def.hpp
MarkusJx/csv
35a945c789215ad6e817bd52de7d08c9842920b9
[ "MIT" ]
null
null
null
include/basic_csv_file_def.hpp
MarkusJx/csv
35a945c789215ad6e817bd52de7d08c9842920b9
[ "MIT" ]
null
null
null
#ifndef MARKUSJX_CSV_BASIC_CSV_FILE_DEF_HPP #define MARKUSJX_CSV_BASIC_CSV_FILE_DEF_HPP #include "escape_sequence_generator.hpp" namespace markusjx { /** * A csv file * * @tparam T the char type of the file * @tparam Sep the separator to use * @tparam _escape_generator_ the escape sequenc...
30.105263
129
0.73951
MarkusJx
7d809872f30787c25f2ac2006a245718cad63d7a
768
hpp
C++
include/dudp/server.hpp
swrh/dudp
b0159edd90f8cda10c150a7c2b9cf71d5443c7b6
[ "BSD-3-Clause" ]
null
null
null
include/dudp/server.hpp
swrh/dudp
b0159edd90f8cda10c150a7c2b9cf71d5443c7b6
[ "BSD-3-Clause" ]
null
null
null
include/dudp/server.hpp
swrh/dudp
b0159edd90f8cda10c150a7c2b9cf71d5443c7b6
[ "BSD-3-Clause" ]
null
null
null
#if !defined(_DUDP_SERVER_HPP_) #define _DUDP_SERVER_HPP_ #include <array> #include <memory> #include <string> #include <boost/asio/io_service.hpp> #include <boost/asio/ip/udp.hpp> namespace dudp { class server { private: boost::asio::ip::udp::socket socket_; boost::asio::ip::udp::endpoint remote_endpoint_;...
21.942857
130
0.727865
swrh
7d80cb5e3304cc76c8bc88c252e07bea5429a27f
6,175
cpp
C++
kernel/runtime/dmzRuntimeResourcesObserver.cpp
shillcock/dmz
02174b45089e12cd7f0840d5259a00403cd1ccff
[ "MIT" ]
2
2015-11-05T03:03:40.000Z
2016-02-03T21:50:40.000Z
kernel/runtime/dmzRuntimeResourcesObserver.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
kernel/runtime/dmzRuntimeResourcesObserver.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
#include "dmzRuntimeContext.h" #include "dmzRuntimeContextResources.h" #include <dmzRuntimeHandle.h> #include <dmzRuntimeLog.h> #include <dmzRuntimePluginInfo.h> #include <dmzRuntimeResourcesObserver.h> /*! \file dmzRuntimeResourcesObserver.h \ingroup Runtime \brief Contains ResourcesObserver class. \enum dmz::Resou...
24.311024
106
0.645506
shillcock
7d8495bf05507e3aa970d8f074866587ad2ed7d6
3,929
cpp
C++
simple_demo/plain_executables/DataSource.cpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
1
2020-05-22T08:47:00.000Z
2020-05-22T08:47:00.000Z
simple_demo/plain_executables/DataSource.cpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
simple_demo/plain_executables/DataSource.cpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
#include <tm_kit/infra/Environments.hpp> #include <tm_kit/infra/TerminationController.hpp> #include <tm_kit/infra/RealTimeApp.hpp> #include <tm_kit/basic/ByteData.hpp> #include <tm_kit/basic/VoidStruct.hpp> #include <tm_kit/basic/TrivialBoostLoggingComponent.hpp> #include <tm_kit/basic/real_time_clock/ClockComponent.h...
36.719626
138
0.73072
cd606
7d8ae4ee372c289ebda3efd3bb80874368db22a6
1,427
cpp
C++
src/XSRenderer/XSScreenshot.cpp
Razish/AIE-pathfinding
366e19c7d20c626969e95e4ba9614127ed69e865
[ "MIT" ]
1
2015-09-11T06:38:19.000Z
2015-09-11T06:38:19.000Z
src/XSRenderer/XSScreenshot.cpp
Razish/AIE-pathfinding
366e19c7d20c626969e95e4ba9614127ed69e865
[ "MIT" ]
null
null
null
src/XSRenderer/XSScreenshot.cpp
Razish/AIE-pathfinding
366e19c7d20c626969e95e4ba9614127ed69e865
[ "MIT" ]
null
null
null
#include "XSCommon/XSCommon.h" #include "XSCommon/XSCvar.h" #include "XSCommon/XSCommand.h" #include "XSRenderer/XSRenderer.h" #include "XSRenderer/XSBackend.h" #include "XSRenderer/XSImagePNG.h" #include "XSRenderer/XSRenderCommand.h" namespace XS { namespace Renderer { namespace Backend { static const size_...
27.980392
92
0.695865
Razish
7d8d4e079ea50b00869f110d8dab885e825acd21
2,787
cpp
C++
engine/gfx/gles2/src/gfx_gles2_shader.cpp
aeon-engine/aeon-engine
9efcf83985110c36ebf0964bd4f76b261f2f6717
[ "MIT" ]
12
2017-02-25T17:14:15.000Z
2021-08-02T13:39:18.000Z
engine/gfx/gles2/src/gfx_gles2_shader.cpp
aeon-engine/aeon-engine
9efcf83985110c36ebf0964bd4f76b261f2f6717
[ "MIT" ]
31
2017-02-23T06:59:44.000Z
2017-05-21T11:49:10.000Z
engine/gfx/gles2/src/gfx_gles2_shader.cpp
aeon-engine/aeon-engine
9efcf83985110c36ebf0964bd4f76b261f2f6717
[ "MIT" ]
5
2017-05-02T05:34:53.000Z
2020-05-19T06:57:50.000Z
/* * Copyright (c) 2012-2018 Robin Degen * * 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,...
29.648936
95
0.743093
aeon-engine
7d9ce29c24d2f57029956dc2dc705fa615ac628f
422
cpp
C++
C++Now 2017/Mocking Examples/runtime_rtti_name/f.cpp
dascandy/presentations
7a004ba5e485900a7c81e7a1116b098d24331075
[ "Apache-2.0" ]
2
2017-05-18T19:48:51.000Z
2017-11-10T16:11:43.000Z
C++Now 2017/Mocking Examples/runtime_rtti_name/f.cpp
dascandy/presentations
7a004ba5e485900a7c81e7a1116b098d24331075
[ "Apache-2.0" ]
null
null
null
C++Now 2017/Mocking Examples/runtime_rtti_name/f.cpp
dascandy/presentations
7a004ba5e485900a7c81e7a1116b098d24331075
[ "Apache-2.0" ]
null
null
null
#include <typeinfo> #include <cstdlib> #include <cstdio> #include <cstring> struct T { virtual ~T() {} }; struct rttiinfo { void* type; const char* name; void* base; }; T* f(const char* name) { static rttiinfo rti; void** vt = new void*[10]; static T object; memcpy(&rti, ((void***)&object)[0][-1], si...
15.62963
60
0.594787
dascandy
7d9dc8e3d47c49f5ce5db516be1ea23172d4c790
644
cpp
C++
OOP/Shapes.cpp
ApostolAndrew/OOP
aff106a8df8960108fa07ed0c36ed64dc8497a9f
[ "MIT" ]
null
null
null
OOP/Shapes.cpp
ApostolAndrew/OOP
aff106a8df8960108fa07ed0c36ed64dc8497a9f
[ "MIT" ]
null
null
null
OOP/Shapes.cpp
ApostolAndrew/OOP
aff106a8df8960108fa07ed0c36ed64dc8497a9f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Shape { protected: float width, height; public: void set(float a, float b) { width = a; height = b; } }; class Rectangle : public Shape { public: float area() { return width * height; ...
16.947368
40
0.493789
ApostolAndrew
7da1d757366a23377316e1c32feed2fc22302b8d
4,929
cpp
C++
src/util/tensor_distribution.cpp
mdschatz/rote
111e965c6365c605f9872ee8302b1170565a3002
[ "BSD-3-Clause" ]
null
null
null
src/util/tensor_distribution.cpp
mdschatz/rote
111e965c6365c605f9872ee8302b1170565a3002
[ "BSD-3-Clause" ]
null
null
null
src/util/tensor_distribution.cpp
mdschatz/rote
111e965c6365c605f9872ee8302b1170565a3002
[ "BSD-3-Clause" ]
2
2018-07-21T15:39:45.000Z
2021-02-09T20:34:50.000Z
#include "rote.hpp" namespace rote{ bool CheckOrder(const Unsigned& outOrder, const Unsigned& inOrder){ if(outOrder != inOrder){ LogicError("Invalid redistribution: Objects being redistributed must be of same order"); } return true; } bool CheckNonDistOutIsPrefix(const TensorDistribution& outDist, cons...
27.082418
102
0.623656
mdschatz
7da344669f21c1cfdaecf5062fbb9717b6904967
1,960
cc
C++
test/testnewalloc.cc
dch0ph/libcmatrix
1f5fae7a398fe2c643252f93371b407dbfb70855
[ "MIT" ]
null
null
null
test/testnewalloc.cc
dch0ph/libcmatrix
1f5fae7a398fe2c643252f93371b407dbfb70855
[ "MIT" ]
null
null
null
test/testnewalloc.cc
dch0ph/libcmatrix
1f5fae7a398fe2c643252f93371b407dbfb70855
[ "MIT" ]
null
null
null
#include "cmatrix.h" #include <iostream> struct dodgy; std::ostream& operator<< (std::ostream&, const dodgy&); static int initcount=0; static int destroycount=0; static int copycount=0; //static int assigncount=0; struct dodgy { int val; explicit dodgy(int valv =1234) : val(valv) { std::cerr << "Make: " <<...
21.304348
61
0.557143
dch0ph
7da38eb297d73de555fa3171db7348109211039c
22,360
hpp
C++
include/flusspferd/class_description.hpp
Flusspferd/flusspferd
f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5
[ "MIT" ]
7
2015-06-08T09:59:36.000Z
2021-02-27T18:45:17.000Z
include/flusspferd/class_description.hpp
Flusspferd/flusspferd
f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5
[ "MIT" ]
null
null
null
include/flusspferd/class_description.hpp
Flusspferd/flusspferd
f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5
[ "MIT" ]
3
2016-07-06T20:47:01.000Z
2021-06-30T19:09:47.000Z
// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* The MIT License Copyright (c) 2008, 2009 Flusspferd contributors (see "CONTRIBUTORS" or http://flusspferd.org/contributors.txt) Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
38.222222
144
0.652326
Flusspferd
7da444fef18e499bc96280f8f86bf5c177b3b49b
831
cc
C++
src/Parser/AST/AtomExprNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
2
2021-06-09T12:58:46.000Z
2021-06-09T21:06:43.000Z
src/Parser/AST/AtomExprNode.cc
JeffTheK/PythonCoreNative
a5b4c2a4092e39d9094042e88d272f01ae84993d
[ "BSL-1.0" ]
null
null
null
src/Parser/AST/AtomExprNode.cc
JeffTheK/PythonCoreNative
a5b4c2a4092e39d9094042e88d272f01ae84993d
[ "BSL-1.0" ]
1
2021-05-24T11:18:32.000Z
2021-05-24T11:18:32.000Z
#include <ast/AtomExprNode.h> using namespace PythonCoreNative::RunTime::Parser::AST; using namespace PythonCoreNative::RunTime::Parser; AtomExprNode::AtomExprNode( unsigned int start, unsigned int end, std::shared_ptr<Token> op1, ...
25.181818
95
0.613718
stenbror
7daa822af90d6f7d460cf32208aa31ca968062ed
1,070
cpp
C++
robot-car/sensors/UltrasonicSensor.cpp
TanayB11/intro-to-robotics
d1f3c936b80837de189461e492e5d3cae9c164bb
[ "MIT" ]
null
null
null
robot-car/sensors/UltrasonicSensor.cpp
TanayB11/intro-to-robotics
d1f3c936b80837de189461e492e5d3cae9c164bb
[ "MIT" ]
null
null
null
robot-car/sensors/UltrasonicSensor.cpp
TanayB11/intro-to-robotics
d1f3c936b80837de189461e492e5d3cae9c164bb
[ "MIT" ]
null
null
null
//Ultrasonic Ranger #define ECHO A4 #define TRIG A5 #include <Servo.h> Servo rangerServo; // function prototypes void allStop(); void forward(); void back(); void right(); void left(); int findRange(){ //Dist in cm int range; digitalWrite(TRIG,LOW); delayMicroseconds(2); ...
20.980392
83
0.598131
TanayB11
7dad0696f55a0708eae5ebfb16be66a70dfa2d75
5,203
cpp
C++
server/server_state_game.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
9
2015-12-09T22:25:25.000Z
2022-01-12T23:50:56.000Z
server/server_state_game.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
6
2019-12-28T21:18:16.000Z
2020-02-15T21:04:54.000Z
server/server_state_game.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
null
null
null
#include "server_state_game.hpp" #include "server_state_idle.hpp" #include "server_instance.hpp" #include <filesystem.hpp> namespace server { namespace state { game::game(server::instance& serv) : base(serv, server::state_id::game, "game"), saving_(false) { // TODO: add all game components to this containe...
30.605882
101
0.528733
cschreib
7daed8b0134aa1554ac7b67d778c39e89a446fe6
7,724
cpp
C++
Source/com/Communicator.cpp
goruklu/WPEFramework
99fc7dd0732dbdd9c332df7ceccb625436ab7a4e
[ "Apache-2.0" ]
null
null
null
Source/com/Communicator.cpp
goruklu/WPEFramework
99fc7dd0732dbdd9c332df7ceccb625436ab7a4e
[ "Apache-2.0" ]
null
null
null
Source/com/Communicator.cpp
goruklu/WPEFramework
99fc7dd0732dbdd9c332df7ceccb625436ab7a4e
[ "Apache-2.0" ]
null
null
null
#include "Communicator.h" namespace WPEFramework { namespace RPC { static Core::ProxyPoolType<RPC::AnnounceMessage> AnnounceMessageFactory(2); static void LoadProxyStubs(const string& pathName) { static std::list<Core::Library> processProxyStubs; Core::Directory index(pathName.c_str(), _T...
35.431193
166
0.625971
goruklu
7db01b41db6a230d93d36370ee279da8d2d3771c
1,954
cc
C++
src/core/basetypes/MCLog.cc
zhanleewo/mailcore2
a6c2d0465b25351689a1b4761f191201275f2b52
[ "BSD-3-Clause" ]
null
null
null
src/core/basetypes/MCLog.cc
zhanleewo/mailcore2
a6c2d0465b25351689a1b4761f191201275f2b52
[ "BSD-3-Clause" ]
null
null
null
src/core/basetypes/MCLog.cc
zhanleewo/mailcore2
a6c2d0465b25351689a1b4761f191201275f2b52
[ "BSD-3-Clause" ]
null
null
null
#include "MCLog.h" #include <stdarg.h> #include <string.h> #include <stdio.h> #include <time.h> #include <sys/time.h> #include <pthread.h> #include <unistd.h> static pid_t sPid = -1; bool mailcore::logEnabled = false; __attribute__((constructor)) static void initialize() { sPid = getpid(); } static void logInte...
24.425
197
0.631013
zhanleewo
7db36b23be968d4b9e78291144751234d7bfb4e8
1,945
cc
C++
www/cliqz/patches/patch-mozilla-release_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc
fraggerfox/cliqz-pkgsrc
61233b17d4c5bc1edeb571ddbf00fb2308c10c5f
[ "BSD-2-Clause" ]
null
null
null
www/cliqz/patches/patch-mozilla-release_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc
fraggerfox/cliqz-pkgsrc
61233b17d4c5bc1edeb571ddbf00fb2308c10c5f
[ "BSD-2-Clause" ]
null
null
null
www/cliqz/patches/patch-mozilla-release_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc
fraggerfox/cliqz-pkgsrc
61233b17d4c5bc1edeb571ddbf00fb2308c10c5f
[ "BSD-2-Clause" ]
null
null
null
$NetBSD: patch-mozilla-release_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc,v 1.1 2020/07/24 07:29:32 fox Exp $ * Fix buiuld under NetBSD. NetBSD's sys/videoio.h does not have v4l2_capability.device_caps and video capture does not work for me anyway. Taken from www/firefox --- mo...
39.693878
144
0.66838
fraggerfox
7dbb3900d3bf652de4dde9567004d7685874909b
12,103
hpp
C++
search/flrtastar.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
28
2015-02-10T04:06:16.000Z
2022-03-11T11:51:38.000Z
search/flrtastar.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
3
2016-11-03T12:03:28.000Z
2020-07-13T17:35:40.000Z
search/flrtastar.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
9
2015-10-22T20:22:45.000Z
2020-06-30T20:11:31.000Z
// Copyright © 2013 the Search Authors under the MIT license. See AUTHORS for the list of authors. #pragma once #include "../search/search.hpp" #include "../utils/geom2d.hpp" #include "../utils/pool.hpp" #include <vector> template <class D> class Flrtastar2 : public SearchAlgorithm<D> { private: typedef typename D::...
22.207339
98
0.590102
skiesel
7dbe445dba5f2fdc6d304dc5747b534460221d13
626
hpp
C++
src/shader.hpp
qkniep/Simetra
734292ff3d48afd83f811501d8da39f5bb0d3623
[ "MIT" ]
2
2021-01-07T15:30:36.000Z
2021-06-13T21:47:46.000Z
src/shader.hpp
qkniep/Simetra
734292ff3d48afd83f811501d8da39f5bb0d3623
[ "MIT" ]
null
null
null
src/shader.hpp
qkniep/Simetra
734292ff3d48afd83f811501d8da39f5bb0d3623
[ "MIT" ]
null
null
null
#ifndef SHADER_HPP #define SHADER_HPP #include <string> #include <GLFW/glfw3.h> class ShaderProgram { GLuint programID; public: bool load(const char* vertexFilePath, const char* fragmentFilePath); void use(); GLuint getProgramID(); private: static bool loadShaderFromFile(const GLuint shade...
24.076923
84
0.749201
qkniep
7dc2e2f3b3958394ab573ab39b079a6f0d422ff1
16,397
cc
C++
examples/tester/wampcc_tester.cc
vai-hhn/wampcc
ac206f60028406ea8af4c295e11cbc7de67cf2ad
[ "MIT" ]
70
2017-03-09T12:45:30.000Z
2021-12-31T20:34:40.000Z
examples/tester/wampcc_tester.cc
vai-hhn/wampcc
ac206f60028406ea8af4c295e11cbc7de67cf2ad
[ "MIT" ]
54
2017-04-15T23:02:08.000Z
2021-04-13T08:44:25.000Z
examples/tester/wampcc_tester.cc
vai-hhn/wampcc
ac206f60028406ea8af4c295e11cbc7de67cf2ad
[ "MIT" ]
30
2017-06-02T14:12:28.000Z
2021-12-06T07:28:48.000Z
/* * Copyright (c) 2017 Darren Smith * * wampcc is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #include "wampcc/wampcc.h" #include "wampcc/utils.h" #include <algorithm> #include <sstream> #include <getopt.h> /* for getopt_long; standa...
30.252768
98
0.598707
vai-hhn
7dc9018939e96b62f6b2f0ff121a5a036f7089ce
1,375
hpp
C++
include/euclidean2/object/water.hpp
Euclidean-Entertainment/Assignment_2
04a855f3cec41c9046340b3248d32e5acb94c221
[ "BSD-3-Clause" ]
1
2018-05-03T03:57:29.000Z
2018-05-03T03:57:29.000Z
include/euclidean2/object/water.hpp
Euclidean-Entertainment/Assignment_2
04a855f3cec41c9046340b3248d32e5acb94c221
[ "BSD-3-Clause" ]
1
2018-05-04T14:17:53.000Z
2018-05-04T14:17:53.000Z
include/euclidean2/object/water.hpp
Euclidean-Entertainment/Assignment_2
04a855f3cec41c9046340b3248d32e5acb94c221
[ "BSD-3-Clause" ]
2
2018-05-03T03:57:32.000Z
2018-05-20T12:01:55.000Z
/** * */ #ifndef _WATER_HPP_INCLUDED_ #define _WATER_HPP_INCLUDED_ #include "euclidean2/vertex.hpp" #include "euclidean2/system/material.hpp" #include "euclidean2/system/texture.hpp" #include <climits> #include <vector> static constexpr int MIN_TESSELATIONS = 16; static constexpr int MAX_TESSELATIONS = 512; str...
17.628205
88
0.688727
Euclidean-Entertainment
7dca48bbb88ede97a25fd4a70ba9b8ec9b17992b
1,284
cpp
C++
GeeksForGeeks/C Plus Plus/K_largest_elements.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
4
2021-06-19T14:15:34.000Z
2021-06-21T13:53:53.000Z
GeeksForGeeks/C Plus Plus/K_largest_elements.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
2
2021-07-02T12:41:06.000Z
2021-07-12T09:37:50.000Z
GeeksForGeeks/C Plus Plus/K_largest_elements.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
3
2021-06-19T15:19:20.000Z
2021-07-02T17:24:51.000Z
/* Problem Statement: ----------------- Given an array Arr of N positive integers, find K largest elements from the array. The output elements should be printed in decreasing order. Example 1: --------- Input: N = 5, K = 2 Arr[] = {12, 5, 787, 1, 23} Output: 787 23 Explanation: 1st largest element in the array is 787...
24.226415
148
0.639408
ankit-sr
7dd0ff3c07426231bb6aeb7e8dde943472e08431
2,549
cpp
C++
Engine/GameObject.cpp
rakocevicjovan/PCG_and_graphics
02c81d5b814f468f1397c6377438cb4a8810e0ac
[ "MIT" ]
null
null
null
Engine/GameObject.cpp
rakocevicjovan/PCG_and_graphics
02c81d5b814f468f1397c6377438cb4a8810e0ac
[ "MIT" ]
3
2021-05-09T20:19:23.000Z
2021-08-10T19:00:19.000Z
Engine/GameObject.cpp
rakocevicjovan/PCG_and_graphics
02c81d5b814f468f1397c6377438cb4a8810e0ac
[ "MIT" ]
null
null
null
#include "pch.h" #include "GameObject.h" #include "Renderer.h" Actor::Actor(Model* model, SMatrix& transform) : _steerComp(this), _transform(transform), _collider(Collider(BoundingVolumeType::BVT_SPHERE, this, true)) { _renderables.reserve(model->_meshes.size()); for (MeshNode& meshNode : model->_meshNodeTree) ...
23.601852
138
0.731267
rakocevicjovan
7dd74ce39de9bd43e27097a0fb3026a5959e01d7
2,768
hpp
C++
display/GUI.hpp
mbellier/FluidSolver
c75c95f1725a362703d500c0dd3443df7d710bc3
[ "Apache-2.0" ]
18
2015-01-08T00:48:40.000Z
2022-01-12T15:04:04.000Z
display/GUI.hpp
mbellier/FluidSolver
c75c95f1725a362703d500c0dd3443df7d710bc3
[ "Apache-2.0" ]
null
null
null
display/GUI.hpp
mbellier/FluidSolver
c75c95f1725a362703d500c0dd3443df7d710bc3
[ "Apache-2.0" ]
3
2015-11-20T02:35:16.000Z
2018-03-25T20:14:55.000Z
#ifndef GUI_H #define GUI_H #include <QtOpenGL> #include <QGLWidget> #include <QString> #include <QList> #include "Print.hpp" #include "Dialog.hpp" #include "../config.hpp" #include "../solver/FluidSolver2D.hpp" #include "../solver/FloatMatrix2D.hpp" #include "LeapMotion.h" /** * Class herited from myGLWidget corr...
26.873786
120
0.696171
mbellier
7dd832787c050136d22b59a79eb1f95ac3791afa
618
cpp
C++
potd/potd-q25/Queue.cpp
taoyuc3/CS225
e3a8add28059c63a663ad512885ddf8df86eebd9
[ "MIT" ]
null
null
null
potd/potd-q25/Queue.cpp
taoyuc3/CS225
e3a8add28059c63a663ad512885ddf8df86eebd9
[ "MIT" ]
null
null
null
potd/potd-q25/Queue.cpp
taoyuc3/CS225
e3a8add28059c63a663ad512885ddf8df86eebd9
[ "MIT" ]
null
null
null
#include "Queue.h" // `int size()` - returns the number of elements in the stack (0 if empty) int Queue::size() const { return mySize; } // `bool isEmpty()` - returns if the list has no elements, else false bool Queue::isEmpty() const { return mySize==0 ? true : false; } // `void enqueue(int val)` - enqueue a...
20.6
85
0.658576
taoyuc3
7dd86d15ec8e46a1f3049c99b0c013ece0720fb3
8,595
cpp
C++
TI_Sound/SoundManager.cpp
edhaker13/team-indecisive
290d5f8d905fbf7524bfd685336044477b316fbe
[ "CC-BY-3.0" ]
null
null
null
TI_Sound/SoundManager.cpp
edhaker13/team-indecisive
290d5f8d905fbf7524bfd685336044477b316fbe
[ "CC-BY-3.0" ]
null
null
null
TI_Sound/SoundManager.cpp
edhaker13/team-indecisive
290d5f8d905fbf7524bfd685336044477b316fbe
[ "CC-BY-3.0" ]
null
null
null
#include "SoundManager.h" namespace Indecisive { static const std::string _PATH = ".\\/Assets\\/"; bool SoundManager::Initialize(HWND hwnd) { // TODO: Too many lines, just return method bool result; // Initialize direct sound and the primary sound buffer. result = InitializeDirectSound(hwnd); if (!resu...
26.204268
116
0.696684
edhaker13
7ddaccf6fde9087e21913df4d0594e7c10425772
10,466
cpp
C++
tests/instructions.cpp
voivoid/SynacorChallenge
8d922b290011a3a497b8933c012abc3afa9415d8
[ "MIT" ]
null
null
null
tests/instructions.cpp
voivoid/SynacorChallenge
8d922b290011a3a497b8933c012abc3afa9415d8
[ "MIT" ]
null
null
null
tests/instructions.cpp
voivoid/SynacorChallenge
8d922b290011a3a497b8933c012abc3afa9415d8
[ "MIT" ]
null
null
null
#include "boost/test/unit_test.hpp" #include "synacor/instructions.h" #include "synacor/io.h" #include "synacor/memory_storage.h" #include "synacor/stack.h" #include "test_utils.h" #include "boost/scope_exit.hpp" #include <sstream> #ifdef _MSC_VER # pragma warning( disable : 4459 ) #endif namespace { struct Inst...
27.255208
140
0.671699
voivoid
7de18477eba6ca4f9c0f4ad6f1f10c37984e82cf
619
hpp
C++
src/Omega_h_inertia.hpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
44
2019-01-23T03:37:18.000Z
2021-08-24T02:20:29.000Z
src/Omega_h_inertia.hpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
67
2019-01-29T15:35:42.000Z
2021-08-17T20:42:40.000Z
src/Omega_h_inertia.hpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
29
2019-01-14T21:33:32.000Z
2021-08-10T11:35:24.000Z
#ifndef INERTIA_HPP #define INERTIA_HPP #include <vector> #include "Omega_h_remotes.hpp" #include "Omega_h_vector.hpp" namespace Omega_h { namespace inertia { struct Rib { std::vector<Vector<3>> axes; }; Read<I8> mark_bisection( CommPtr comm, Reals coords, Reals masses, Real tolerance, Vector<3>& axis); Rea...
22.107143
79
0.741519
joshia5
8fcc4b6fcd37808464600f77f4c3cf0a4a9ddf61
347
hpp
C++
examples/06_ssd1306/main/include/i2c.hpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
335
2016-10-12T06:59:33.000Z
2022-03-29T14:26:04.000Z
examples/06_ssd1306/main/include/i2c.hpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
30
2016-10-30T11:23:59.000Z
2021-11-12T10:51:20.000Z
examples/06_ssd1306/main/include/i2c.hpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
48
2016-10-30T08:41:13.000Z
2022-02-15T22:15:09.000Z
#ifndef I2C_H_ #define I2C_H_ #include "driver/gpio.h" #include "rom/ets_sys.h" class I2C { private: gpio_num_t scl_pin, sda_pin; public: I2C(gpio_num_t scl, gpio_num_t sda); void init(uint8_t scl_pin, uint8_t sda_pin); bool start(void); void stop(void); bool write(uint8_t data); uint8_t read(void); void set...
15.772727
45
0.729107
graealex
8fcc7de9d75968f69f738bf5721e91618526caa1
797
cpp
C++
codeforce2/463C. Gargari and Bishops.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce2/463C. Gargari and Bishops.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce2/463C. Gargari and Bishops.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int const N = 3001; int n, g[N][N], x, y, xx, yy; long long dp1[2 * N], dp2[2 * N], sol1 = -1, sol2 = -1; int main() { scanf("%d", &n); for(int i = 1; i <= n; ++i) for(int j = 1; j <= n; ++j) { scanf("%d", &g[i][j]); dp1[i + j] += g[i][j]; dp2[i...
19.439024
58
0.350063
khaled-farouk
8fe3fd9e25449a7cb543fc2fec778b0d6f4729f5
5,754
cpp
C++
src/window.cpp
den-mentiei/hlsl-toy
ac80d90ff9d52abc80ba31c06bd5a048a8c08cde
[ "MIT" ]
4
2016-05-28T18:21:55.000Z
2020-01-13T01:39:28.000Z
src/window.cpp
den-mentiei/hlsl-toy
ac80d90ff9d52abc80ba31c06bd5a048a8c08cde
[ "MIT" ]
null
null
null
src/window.cpp
den-mentiei/hlsl-toy
ac80d90ff9d52abc80ba31c06bd5a048a8c08cde
[ "MIT" ]
null
null
null
#include "window.h" namespace toy { namespace { static const wchar_t* WINDOW_CLASS = L"hlsl-toy-class"; } // anonymous namespace LRESULT WINAPI Window::windows_proc(HWND handle, UINT message, WPARAM wparam, LPARAM lparam) { Window* window = reinterpret_cast<Window*>(::GetWindowLong(handle, GWL_USERDATA)); if (wi...
24.176471
199
0.72367
den-mentiei
8fe5c70f858c945d7d1ac3ac9bc7f43eedde49b2
1,070
hpp
C++
ElectruxShorthandInterpretedLanguage/include/ExpressionEvaluator.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
ElectruxShorthandInterpretedLanguage/include/ExpressionEvaluator.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
ElectruxShorthandInterpretedLanguage/include/ExpressionEvaluator.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#ifndef EXPRESSIONEVALUATOR_HPP #define EXPRESSIONEVALUATOR_HPP #include <string> #include <vector> #include "Errors.hpp" #include "DataTypes.hpp" ErrorTypes EvalExpression( const std::vector< DataType::Data > & dataline, const int & from, const int & to, Variable & result ); ErrorTypes GenPostfix( const std::vecto...
35.666667
131
0.740187
Electrux
8fe7ab9117a3eb60248e066eb12b55f75ff67fb9
5,536
hpp
C++
include/range/v3/view/reverse.hpp
anders-sjogren/range-v3
a7583aaf4e446d435867e54d58575d40c0575312
[ "MIT" ]
null
null
null
include/range/v3/view/reverse.hpp
anders-sjogren/range-v3
a7583aaf4e446d435867e54d58575d40c0575312
[ "MIT" ]
null
null
null
include/range/v3/view/reverse.hpp
anders-sjogren/range-v3
a7583aaf4e446d435867e54d58575d40c0575312
[ "MIT" ]
null
null
null
/// \file // Range v3 library // // Copyright Eric Niebler 2014 // // Use, modification and distribution is subject to 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) // // Project home: https://github.com/ericniebler/range-v...
36.183007
98
0.504697
anders-sjogren
8fed68e99333ac75a57ea4c403c874ab78103776
5,173
cc
C++
neb/test/host.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
neb/test/host.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
neb/test/host.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* * Copyright 2011 - 2019 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
31.351515
75
0.727238
centreon-lab
8fee5cae86153aa48502aff5223a103558611347
14,555
cpp
C++
src/sim/ldpcsim.cpp
patrickwillner/libldpc
d2ec2d369dd4f4c5cad33caa8e416280d048a89c
[ "MIT" ]
1
2021-01-29T17:19:57.000Z
2021-01-29T17:19:57.000Z
src/sim/ldpcsim.cpp
patrickwillner/libldpc
d2ec2d369dd4f4c5cad33caa8e416280d048a89c
[ "MIT" ]
2
2021-07-16T10:03:40.000Z
2021-08-19T21:40:53.000Z
src/sim/ldpcsim.cpp
patrickwillner/libldpc
d2ec2d369dd4f4c5cad33caa8e416280d048a89c
[ "MIT" ]
1
2021-07-16T10:40:47.000Z
2021-07-16T10:40:47.000Z
#include "ldpcsim.h" #include <omp.h> namespace ldpc { ldpc_sim::ldpc_sim(const std::shared_ptr<ldpc_code> &code, const decoder_param &decoderParams, const channel_param &channelParams, const simulation_param &simulationParams) : ldpc_si...
35.67402
159
0.419924
patrickwillner
8ff1bb73cfc65f29b37e4a2be18d431483970428
8,392
cpp
C++
server-client-sample/connectivity/classic/ServerTest.cpp
kaiostech/gonk-binder
5ab61435a1939f992e4ace372b9c694a65023927
[ "FSFAP" ]
null
null
null
server-client-sample/connectivity/classic/ServerTest.cpp
kaiostech/gonk-binder
5ab61435a1939f992e4ace372b9c694a65023927
[ "FSFAP" ]
null
null
null
server-client-sample/connectivity/classic/ServerTest.cpp
kaiostech/gonk-binder
5ab61435a1939f992e4ace372b9c694a65023927
[ "FSFAP" ]
2
2020-07-17T01:55:32.000Z
2021-08-12T06:12:29.000Z
/* (c) 2020 KAI OS TECHNOLOGIES (HONG KONG) LIMITED All rights reserved. This * file or any portion thereof may not be reproduced or used in any manner * whatsoever without the express written permission of KAI OS TECHNOLOGIES * (HONG KONG) LIMITED. KaiOS is the trademark of KAI OS TECHNOLOGIES (HONG * KONG) LIMITE...
33.03937
80
0.750119
kaiostech
8ff25b07f1019afac31fa0b3a7cbac04c3c1114e
1,116
cpp
C++
decompiler/level_extractor/extract_common.cpp
Hat-Kid/jak-project
0e2320ca9584118316313e41e646b179a1083feb
[ "ISC" ]
null
null
null
decompiler/level_extractor/extract_common.cpp
Hat-Kid/jak-project
0e2320ca9584118316313e41e646b179a1083feb
[ "ISC" ]
null
null
null
decompiler/level_extractor/extract_common.cpp
Hat-Kid/jak-project
0e2320ca9584118316313e41e646b179a1083feb
[ "ISC" ]
null
null
null
#include <cstddef> #include "extract_common.h" u32 clean_up_vertex_indices(std::vector<u32>& idx) { std::vector<u32> fixed; u32 num_tris = 0; bool looking_for_start = true; size_t i_of_start; for (size_t i = 0; i < idx.size(); i++) { if (looking_for_start) { if (idx[i] != UINT32_MAX) { loo...
24.8
84
0.548387
Hat-Kid
8ff4c7c05e71629adadc56b321e708fdd532b0a6
5,471
cpp
C++
benchmark/BM_sinecrunch.cpp
MuAlphaOmegaEpsilon/sinecrunch
65d4f6003f60fcaa973ae67e90c9f6a5cc16bce8
[ "MIT" ]
1
2019-04-05T19:09:46.000Z
2019-04-05T19:09:46.000Z
benchmark/BM_sinecrunch.cpp
MuAlphaOmegaEpsilon/sinecrunch
65d4f6003f60fcaa973ae67e90c9f6a5cc16bce8
[ "MIT" ]
null
null
null
benchmark/BM_sinecrunch.cpp
MuAlphaOmegaEpsilon/sinecrunch
65d4f6003f60fcaa973ae67e90c9f6a5cc16bce8
[ "MIT" ]
null
null
null
#include <sltbench/Bench.h> #include <algorithm> #define _USE_MATH_DEFINES #include <math.h> #include <numeric> // A simple shorthand for single precision floating point. using floatSP = float; // A simple shorthand for double precision floating point. using floatDP = double; // A simple shorthand for quadruple preci...
37.993056
90
0.703528
MuAlphaOmegaEpsilon
8ff5e8b271e4fde432711382d7adc743646f5149
2,514
hh
C++
nox/src/include/timeval.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
28
2015-02-04T13:59:25.000Z
2021-12-29T03:44:47.000Z
nox/src/include/timeval.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
552
2015-01-05T18:25:54.000Z
2022-03-16T18:51:13.000Z
nox/src/include/timeval.hh
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
25
2015-02-04T18:48:20.000Z
2020-06-18T15:51:05.000Z
/* Copyright 2008 (C) Nicira, Inc. * * This file is part of NOX. * * NOX 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, either version 3 of the License, or * (at your option) any later version. * * N...
28.247191
71
0.683373
ayjazz
8ffc731c5d2b12384e2e867f7832b11c629e86a6
1,420
cpp
C++
Testing/testCiphers.cpp
MPAGS-CPP-2019/mpags-day-5-JamesDownsLab
9af7ace33284d06aaf97143211a1646e97f458c8
[ "MIT" ]
null
null
null
Testing/testCiphers.cpp
MPAGS-CPP-2019/mpags-day-5-JamesDownsLab
9af7ace33284d06aaf97143211a1646e97f458c8
[ "MIT" ]
null
null
null
Testing/testCiphers.cpp
MPAGS-CPP-2019/mpags-day-5-JamesDownsLab
9af7ace33284d06aaf97143211a1646e97f458c8
[ "MIT" ]
null
null
null
//! Unit Tests for MPAGSCipher CaesarCipher Class #define CATCH_CONFIG_MAIN #include "catch.hpp" #include "Cipher.hpp" #include "CipherMode.hpp" #include "CaesarCipher.hpp" #include "PlayfairCipher.hpp" #include "VigenereCipher.hpp" bool testCipher( const Cipher& cipher, const CipherMode mode, ...
33.809524
165
0.725352
MPAGS-CPP-2019
8904f7bd15a658d3e38bd83e3df7292e443b5f28
147
cpp
C++
common/crc32.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
9
2015-12-09T22:25:25.000Z
2022-01-12T23:50:56.000Z
common/crc32.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
6
2019-12-28T21:18:16.000Z
2020-02-15T21:04:54.000Z
common/crc32.cpp
cschreib/cobalt
11184864008f411875a3321f3fb4493ebc9a79e2
[ "MIT" ]
null
null
null
#include "crc32.hpp" std::uint32_t get_crc32(const std::string& str) { return recursive_crc32(0, str.c_str(), 0, str.size(), 0, 0x4C11DB7); }
24.5
72
0.680272
cschreib
890b3e947225c14bf71935b487d6202fac00c508
884
hpp
C++
code/interface.hpp
BrunoFCM/CAL_projeto
1b0ebadd350dcbbc7d5ee99d93cb98a377fd8b56
[ "MIT" ]
1
2021-01-12T12:33:00.000Z
2021-01-12T12:33:00.000Z
code/interface.hpp
BrunoFCM/CAL_projeto
1b0ebadd350dcbbc7d5ee99d93cb98a377fd8b56
[ "MIT" ]
null
null
null
code/interface.hpp
BrunoFCM/CAL_projeto
1b0ebadd350dcbbc7d5ee99d93cb98a377fd8b56
[ "MIT" ]
null
null
null
#include <fstream> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include "Group.hpp" #include "bus.hpp" #include "TouristGenerator.hpp" #include "TouristOrganizer.hpp" using namespace std; #define INPUT_FILE "input.txt" #define NODES_FILE "T03_nodes_X_Y_Fafe.txt" #define EDGES_FILE "T0...
34
80
0.755656
BrunoFCM
8913a1fadb946bca918fdf7792263d1e2c83ea9c
571
cpp
C++
c3dEngine2/c3dEngine/c3dEngine/core/c3dGlobalTimer.cpp
wantnon2/c3dEngine2
0c12d077d8f2bac8c12b8f720eccc5a2f3f3a7c1
[ "MIT" ]
27
2015-01-11T15:42:21.000Z
2021-10-10T06:24:37.000Z
c3dEngine2/c3dEngine/c3dEngine/core/c3dGlobalTimer.cpp
wantnon2/c3dEngine2
0c12d077d8f2bac8c12b8f720eccc5a2f3f3a7c1
[ "MIT" ]
null
null
null
c3dEngine2/c3dEngine/c3dEngine/core/c3dGlobalTimer.cpp
wantnon2/c3dEngine2
0c12d077d8f2bac8c12b8f720eccc5a2f3f3a7c1
[ "MIT" ]
18
2015-01-11T15:42:28.000Z
2021-10-10T06:24:38.000Z
// // c3dGlobalTimer.cpp // HelloOpenGL // // Created by wantnon (yang chao) on 12-11-19. // // #include "c3dGlobalTimer.h" static Cc3dGlobalTimer*s_globalTimer=NULL; Cc3dGlobalTimer*Cc3dGlobalTimer::sharedGlobalTimer(){ if(s_globalTimer==NULL){ s_globalTimer=new Cc3dGlobalTimer(); } return s_gl...
21.961538
56
0.698774
wantnon2
891d23337829d76802201a034f1fd38f24e9733f
16,168
cc
C++
mac/chatkit/cim/pb/CIM.Friend.pb.cc
xmcy0011/CoffeeChat-Desktop
20b907e95ec8b481dbbb77a3b22587ac108520fb
[ "MIT" ]
1
2021-08-05T10:32:24.000Z
2021-08-05T10:32:24.000Z
mac/chatkit/cim/pb/CIM.Friend.pb.cc
xmcy0011/CoffeeChat-Desktop
20b907e95ec8b481dbbb77a3b22587ac108520fb
[ "MIT" ]
null
null
null
mac/chatkit/cim/pb/CIM.Friend.pb.cc
xmcy0011/CoffeeChat-Desktop
20b907e95ec8b481dbbb77a3b22587ac108520fb
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: CIM.Friend.proto #include "CIM.Friend.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/io/zero_copy_stream_i...
36.662132
156
0.746598
xmcy0011
89232393ffcdec7f58dda27e0baea19f45c83444
5,658
cpp
C++
dlls/usas.cpp
solidi/coldice-remastered
e383047320d8cd321d716cdd7cc336231b58bbe1
[ "Unlicense" ]
2
2022-01-04T09:37:40.000Z
2022-01-12T22:18:54.000Z
dlls/usas.cpp
solidi/coldice-remastered
e383047320d8cd321d716cdd7cc336231b58bbe1
[ "Unlicense" ]
null
null
null
dlls/usas.cpp
solidi/coldice-remastered
e383047320d8cd321d716cdd7cc336231b58bbe1
[ "Unlicense" ]
1
2022-01-06T23:03:05.000Z
2022-01-06T23:03:05.000Z
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * obje...
23.093878
164
0.711205
solidi
8929b24024e725fe891a9dc1a28aa566604596e6
7,158
cpp
C++
3rdparty/nana/source/system/dataexch.cpp
Greentwip/windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
1
2017-07-13T21:11:55.000Z
2017-07-13T21:11:55.000Z
3rdparty/nana/source/system/dataexch.cpp
Greentwip/Windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
null
null
null
3rdparty/nana/source/system/dataexch.cpp
Greentwip/Windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
null
null
null
/* * Data Exchanger Implementation * Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.com) * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * @file: nana/system/dataexch.cpp * @description: An implementa...
29.578512
142
0.627969
Greentwip
8931bfc0d91a750dc6fcb607316655ab207cc0c3
4,497
cpp
C++
assignments/a6-transform/unique.cpp
dndinh7/animation-toolkit
906b003166f5ea588333e8681448afaf33cb30b3
[ "MIT" ]
null
null
null
assignments/a6-transform/unique.cpp
dndinh7/animation-toolkit
906b003166f5ea588333e8681448afaf33cb30b3
[ "MIT" ]
null
null
null
assignments/a6-transform/unique.cpp
dndinh7/animation-toolkit
906b003166f5ea588333e8681448afaf33cb30b3
[ "MIT" ]
null
null
null
#include "atkui/framework.h" #include "atk/toolkit.h" #include <deque> using namespace atk; using glm::vec3; class Steve : public atkui::Framework { public: Steve() : atkui::Framework(atkui::Perspective) { background(vec3(0)); cameraPos = vec3(-500, 500, -500); setCameraEnabled(false); ...
34.068182
133
0.596842
dndinh7
89325d137a9c5992cf978546431202f269055988
9,354
cpp
C++
data/918.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/918.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/918.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
int PL ,du ,lUu , h2, KjY1 ,ez ,Ilu ,l ,uVy8 , YaZ ,/*Bv*/ UkM , wGDvh, ho ,XNDO ,gb9nx , HW, f ,H,KHvs85Q , qvf , Pu , Vf85E, T ,//H fjK, kIb/*kl0*/ , TEE,s2 ,// rqqN38 ,HiA2 , H4av , j, Qy , /*Q8*/ Tal,bYpV , mfW /*Dk*/;void f_f0 () { volatile int sS1s, //Z Ajs ,lC//fco1 //0iGM ,C9I, /*N1*/...
10.222951
65
0.455634
TianyiChen
89330ec7af9f1a8ee0171f1058a3c7aa4bb9bbc8
6,949
cpp
C++
src/lib/rtm/LocalServiceAdmin.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
15
2019-01-08T15:34:04.000Z
2022-03-01T08:36:17.000Z
src/lib/rtm/LocalServiceAdmin.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
448
2018-12-27T03:13:56.000Z
2022-03-24T09:57:03.000Z
src/lib/rtm/LocalServiceAdmin.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
31
2018-12-26T04:34:22.000Z
2021-11-25T04:39:51.000Z
// -*- C++ -*- /*! * @file LocalServiceAdmin.cpp * @brief SDO service administration class * @date $Date$ * @author Noriaki Ando <n-ando@aist.go.jp> * * Copyright (C) 2011 * Noriaki Ando * Intelligent Systems Research Institute, * National Institute of * Advanced Industrial Science and Te...
24.044983
78
0.576054
r-kurose
8934bc258baa69177a04743b44509d032f0d45cc
4,992
cpp
C++
benchmark/runtime/integer/single.cpp
danra/scnlib
815782badc1b548c21bb151372497e1516bee806
[ "Apache-2.0" ]
556
2018-11-17T01:49:32.000Z
2022-03-25T09:35:10.000Z
benchmark/runtime/integer/single.cpp
danra/scnlib
815782badc1b548c21bb151372497e1516bee806
[ "Apache-2.0" ]
51
2019-05-09T14:36:53.000Z
2022-03-19T12:47:12.000Z
benchmark/runtime/integer/single.cpp
danra/scnlib
815782badc1b548c21bb151372497e1516bee806
[ "Apache-2.0" ]
21
2019-02-11T19:56:30.000Z
2022-03-28T02:52:27.000Z
// Copyright 2017 Elias Kosunen // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
29.538462
75
0.648037
danra
8938915a32c234de257ac62cb73ae6bdf20cf121
6,216
cc
C++
plugins/taglib/TagParser.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
75
2015-04-26T11:22:07.000Z
2022-02-12T17:18:37.000Z
plugins/taglib/TagParser.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
7
2016-05-31T21:56:01.000Z
2019-09-15T06:25:28.000Z
plugins/taglib/TagParser.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
19
2015-09-23T01:50:15.000Z
2022-02-12T17:18:41.000Z
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include <vector> #include <map> #include <taglib/mpegfile.h> #include <taglib/fileref.h> #include <taglib/tag.h> #include <taglib/audioproperties.h> using namespace TagLib; #include <scx/Conv.h> #include <scx/FileHelper.h> #include <scx/...
21.583333
100
0.598456
bsdelf
89395fc1e297359f3d2e6ca94098c6a453418625
932
cxx
C++
state/sw.cxx
kydos/dilib-demo
de5ded471adb7075d04450371d2e3a88bd57d5c7
[ "Apache-2.0" ]
null
null
null
state/sw.cxx
kydos/dilib-demo
de5ded471adb7075d04450371d2e3a88bd57d5c7
[ "Apache-2.0" ]
null
null
null
state/sw.cxx
kydos/dilib-demo
de5ded471adb7075d04450371d2e3a88bd57d5c7
[ "Apache-2.0" ]
null
null
null
#include "util.hxx" #include <dilib/state.hxx> #include <random> #include <chrono> #include <thread> int main(int argc, char *argv[]) { if (argc > 2) { std::string name = argv[1]; std::string did = argv[2]; std::cout << "StateWriter(" << name << ")" << std::endl; dilib::StateWriter<dilib::demo::Dev...
26.628571
95
0.590129
kydos
893b011b4350afabdf5f407733a8efb9e42337a7
4,191
cpp
C++
C++/Semester_2/class_4.cpp
Trilonka/MireaAl
2d68b6facbeb99cc4040ea206c64e95ea3c1bc92
[ "BSD-2-Clause" ]
null
null
null
C++/Semester_2/class_4.cpp
Trilonka/MireaAl
2d68b6facbeb99cc4040ea206c64e95ea3c1bc92
[ "BSD-2-Clause" ]
null
null
null
C++/Semester_2/class_4.cpp
Trilonka/MireaAl
2d68b6facbeb99cc4040ea206c64e95ea3c1bc92
[ "BSD-2-Clause" ]
1
2021-12-14T09:35:43.000Z
2021-12-14T09:35:43.000Z
#include <iostream> using namespace std; class BaseString { protected: char *p; int len; int capacity; public: BaseString(char *ptr) { //cout<<"\nBase Constructor 1\n"; len = 0; for (int i = 0; ptr[i] != '\0'; i++) { len++; } capacity = (len >= 2...
22.532258
68
0.409926
Trilonka
9f1c8ff208d697fa8730f4e81fb0f6340056fcce
1,643
cc
C++
squim/image/multi_frame_writer.cc
baranov1ch/squim
5bde052735e0dac7c87e8f7939d0168e6ee05857
[ "Apache-2.0" ]
2
2016-05-06T01:15:49.000Z
2016-05-06T01:29:00.000Z
squim/image/multi_frame_writer.cc
baranov1ch/squim
5bde052735e0dac7c87e8f7939d0168e6ee05857
[ "Apache-2.0" ]
null
null
null
squim/image/multi_frame_writer.cc
baranov1ch/squim
5bde052735e0dac7c87e8f7939d0168e6ee05857
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015 Alexey Baranov <me@kotiki.cc>. 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...
31
79
0.752891
baranov1ch
9f1cf689e23f70318bd72ccc884671d7e91fc583
260
hpp
C++
src/algorithms/next_pos_chars.hpp
ruolin/vg
fddf5a0e3172cfc50eb6f8a561dfbe3dbbbaec04
[ "MIT" ]
740
2016-02-23T02:31:10.000Z
2022-03-31T20:51:36.000Z
src/algorithms/next_pos_chars.hpp
ruolin/vg
fddf5a0e3172cfc50eb6f8a561dfbe3dbbbaec04
[ "MIT" ]
2,455
2016-02-24T08:17:45.000Z
2022-03-31T20:19:41.000Z
src/algorithms/next_pos_chars.hpp
ruolin/vg
fddf5a0e3172cfc50eb6f8a561dfbe3dbbbaec04
[ "MIT" ]
169
2016-03-03T15:41:33.000Z
2022-03-31T04:01:53.000Z
#pragma once #include "../handle.hpp" #include <vg/vg.pb.h> #include <functional> #include "../position.hpp" namespace vg { namespace algorithms { using namespace std; map<pos_t, char> next_pos_chars(const PathPositionHandleGraph& graph, pos_t pos); } }
14.444444
81
0.726923
ruolin
9f22d3790d88e1ac78e04f0fa1ddd96685262d2f
1,357
cpp
C++
src/zone_server.cpp
sischkg/nxnsattack
c20896e40187bbcacb5c0255ff8f3cc7d0592126
[ "MIT" ]
5
2020-05-22T10:01:51.000Z
2022-01-01T04:45:14.000Z
src/zone_server.cpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
1
2020-06-07T14:09:44.000Z
2020-06-07T14:09:44.000Z
src/zone_server.cpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
2
2020-03-10T03:06:20.000Z
2021-07-25T15:07:45.000Z
#include "auth_server.hpp" #include <boost/program_options.hpp> #include <iostream> #include <fstream> int main( int argc, char **argv ) { namespace po = boost::program_options; std::string bind_address; uint16_t bind_port; std::string zone_filename; std::string apex; po::options_descript...
27.693878
105
0.590273
sischkg
9f23a340317e03cb15a7ec88a2cc6bb8c32dd96b
9,980
cpp
C++
tests/RaZ/Render/Shader.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
1
2022-01-26T06:36:54.000Z
2022-01-26T06:36:54.000Z
tests/RaZ/Render/Shader.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
null
null
null
tests/RaZ/Render/Shader.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
null
null
null
#include "Catch.hpp" #include "RaZ/Render/Renderer.hpp" #include "RaZ/Render/Shader.hpp" namespace { inline void checkShader(const Raz::Shader& shader, const Raz::FilePath& path = {}) { CHECK_FALSE(Raz::Renderer::hasErrors()); CHECK(shader.isValid()); CHECK(shader.getPath() == path); shader.compile(); CHE...
32.508143
136
0.71994
xiaohunqupo
9f267d44ac326c20212e735301699300d0b135e0
1,145
cpp
C++
Engine/Renderer/GLES3/src/GLES3RenderTextureManager.cpp
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
3
2018-12-08T16:32:05.000Z
2020-06-02T11:07:15.000Z
Engine/Renderer/GLES3/src/GLES3RenderTextureManager.cpp
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
null
null
null
Engine/Renderer/GLES3/src/GLES3RenderTextureManager.cpp
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
1
2019-09-12T00:26:05.000Z
2019-09-12T00:26:05.000Z
#include "GLES3Renderer.h" CGLES3RenderTextureManager::CGLES3RenderTextureManager(void) { } CGLES3RenderTextureManager::~CGLES3RenderTextureManager(void) { for (const auto& itRenderTexture : m_pRenderTextures) { delete itRenderTexture.second; } } CGLES3RenderTexture* CGLES3RenderTextureManager::Get(uint32_t na...
20.446429
86
0.751092
LiangYue1981816
9f3987fbb9f0e91edeb0403e6b34be56e630e354
3,702
cc
C++
src/usart.cc
radishkill/check_system
0f5692462ebd40a0d7b7ae2a8462df75b6fec74c
[ "Apache-2.0" ]
null
null
null
src/usart.cc
radishkill/check_system
0f5692462ebd40a0d7b7ae2a8462df75b6fec74c
[ "Apache-2.0" ]
null
null
null
src/usart.cc
radishkill/check_system
0f5692462ebd40a0d7b7ae2a8462df75b6fec74c
[ "Apache-2.0" ]
null
null
null
#include "usart.h" #include "mutils.h" Usart::Usart() : fd_(-1), device_name_("") { } Usart::Usart(const char* name, int baud_rate, int databits, int stopbits, char parity, int flow_ctrl) { Open(name, baud_rate, databits, stopbits, parity, flow_ctrl); } int Usart::Open(const char* name, int baud_rate, int dat...
23.730769
106
0.573474
radishkill
9f39f8cf75d908f2fb7704ad6e7097c4e1c0315d
960
hh
C++
CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommPersonLostEventResultData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommPersonLostEventResultData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommPersonLostEventResultData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
30.967742
76
0.676042
canonical-robots
9f3b907f061965f3de5e1526686d532c2c4cd3f1
826
cpp
C++
codeforces/contests/1351/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
codeforces/contests/1351/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
codeforces/contests/1351/A.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* A. A+B (Trial Problem) time limit per test1 second memory limit per test: 256 megabytes inputstandard input outputstandard output You are given two integers 𝑎 and 𝑏. Print 𝑎+𝑏. Input The first line contains an integer 𝑡 (1≤𝑡≤104) — the number of test cases in the input. Then 𝑡 test cases follow. Each test c...
17.208333
113
0.650121
wingkwong
9f3c5f94ce2e321af0a8047f71a3a051c3091a70
68,205
cpp
C++
Yugo/src/Editor/Editor.cpp
bd93/Yugo
4448083b2968a889d2b8bf1c83d9ba11cb358aaf
[ "MIT" ]
null
null
null
Yugo/src/Editor/Editor.cpp
bd93/Yugo
4448083b2968a889d2b8bf1c83d9ba11cb358aaf
[ "MIT" ]
null
null
null
Yugo/src/Editor/Editor.cpp
bd93/Yugo
4448083b2968a889d2b8bf1c83d9ba11cb358aaf
[ "MIT" ]
null
null
null
#include "pch.h" #include "Editor.h" #include "Animation/Components.h" #include "Animation/Animation.h" #include "Scripting/Components.h" #include "Core/Time.h" #include "Core/ModelImporter.h" #include "Renderer/SpriteRenderer.h" //#include "GameUI/Widget.h" #include <ImGuizmo.h> #include <windows.h> #include <commdlg...
34.051423
228
0.693659
bd93
9f3d0b3a213a110f9f24124fe4be6b1e84186cb5
5,216
hpp
C++
include/indigox/utils/common.hpp
allison-group/indigox
22657cb3ceb888049cc231e73d18fb2eac099604
[ "MIT" ]
7
2019-11-24T15:51:37.000Z
2021-10-02T05:18:42.000Z
include/indigox/utils/common.hpp
allison-group/indigox
22657cb3ceb888049cc231e73d18fb2eac099604
[ "MIT" ]
2
2018-12-17T00:55:32.000Z
2019-10-11T01:47:04.000Z
include/indigox/utils/common.hpp
allison-group/indigox
22657cb3ceb888049cc231e73d18fb2eac099604
[ "MIT" ]
2
2019-10-21T01:26:56.000Z
2019-12-02T00:00:42.000Z
/*! \file common.hpp */ #ifndef INDIGOX_UTILS_COMMON_HPP #define INDIGOX_UTILS_COMMON_HPP #include <array> #include <bitset> #include <algorithm> #include <iterator> #include <memory> #include <string> #include <type_traits> // forward definitions of serilisation stuff namespace cereal { class access; class Por...
34.543046
97
0.66296
allison-group
9f3e51b216a6de9ee5f29eb9cd92ae51cb7f783f
4,986
cpp
C++
windows/c++/visualstudio/src/InformationManager.cpp
afskylia/bachelor-starcraft-bot
e9d53345d77f6243f5a2db1781cdfcb7838ebcfd
[ "MIT" ]
null
null
null
windows/c++/visualstudio/src/InformationManager.cpp
afskylia/bachelor-starcraft-bot
e9d53345d77f6243f5a2db1781cdfcb7838ebcfd
[ "MIT" ]
2
2021-06-27T18:57:39.000Z
2021-06-27T18:57:52.000Z
windows/c++/visualstudio/src/InformationManager.cpp
afskylia/bachelor-starcraft-bot
e9d53345d77f6243f5a2db1781cdfcb7838ebcfd
[ "MIT" ]
null
null
null
#include "InformationManager.h" #include "MiraBotMain.h" #include "Global.h" using namespace MiraBot; /// <summary> /// Here we save important information through the game e.g. enemy race and where they are. /// </summary> InformationManager::InformationManager() { //// Save positions of all chokepoints in main bas...
27.854749
114
0.712796
afskylia
9f3ef13ff365f2d7b000ee73688fc5072f454092
4,165
cpp
C++
Spectre2D/source/FileSystem.cpp
DragonGamesStudios/Spectre2D
044f73f3516f92fd939349e11e89e4524c84e7fd
[ "MIT" ]
null
null
null
Spectre2D/source/FileSystem.cpp
DragonGamesStudios/Spectre2D
044f73f3516f92fd939349e11e89e4524c84e7fd
[ "MIT" ]
null
null
null
Spectre2D/source/FileSystem.cpp
DragonGamesStudios/Spectre2D
044f73f3516f92fd939349e11e89e4524c84e7fd
[ "MIT" ]
null
null
null
#include "..\include\Spectre2D\FileSystem.h" namespace sp { FileSystem::FileSystem(bool appdata) { if (appdata) { #if defined(_WIN32) char* appbuff; size_t len; _dupenv_s(&appbuff, &len, "APPDATA"); current_path = appbuff; #elif defined(__linux__) current_path = "~/.local/"; #endif } else ...
20.218447
117
0.669148
DragonGamesStudios
9f46e62c023b9a42a3184aa2e447b9596181f220
860
cpp
C++
src/peakIndexInMountainArray.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
src/peakIndexInMountainArray.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
src/peakIndexInMountainArray.cpp
guitargeek/leetcode
7d587774d3f922020b5ba3ca2d533b2686891fed
[ "MIT" ]
null
null
null
/** 852. Peak Index in a Mountain Array Let's call an array A a mountain if the following properties hold: A.length >= 3 There exists some 0 < i < A.length - 1 such that A[0] < A[1] < ... A[i-1] < A[i] > A[i+1] > ... > A[A.length - 1] Given an array that is definitely a mountain, return any i such that A[0]...
17.2
117
0.517442
guitargeek
9f488e046a44a1c69f4910c46d8195b6e47a9356
3,286
cpp
C++
src/panels/wx_id_list.cpp
KeyWorksRW/wxUiEditor
fc58bb37284430fa5901579ae121d4482b588c75
[ "Apache-2.0" ]
7
2021-10-22T02:43:12.000Z
2022-01-15T10:52:58.000Z
src/panels/wx_id_list.cpp
KeyWorksRW/wxUiEditor
fc58bb37284430fa5901579ae121d4482b588c75
[ "Apache-2.0" ]
288
2021-05-16T19:12:04.000Z
2022-03-30T13:22:31.000Z
src/panels/wx_id_list.cpp
KeyWorksRW/wxUiEditor
fc58bb37284430fa5901579ae121d4482b588c75
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Purpose: wxID_ strings // Author: Ralph Walden // Copyright: Copyright (c) 2020 KeyWorks Software (Ralph Walden) // License: Apache License -- see ../../LICENSE ///////////////////////////////////////////////////////////////////////...
22.506849
115
0.602252
KeyWorksRW
9f49c7a5b74af2b4895012b19f979731cdb85e87
882
hpp
C++
Library/Deps/MessagePack/Include/msgpack/v2/adaptor/nil_decl.hpp
rneogns/simpleio
20830a2b9b22c31eab23508acd25b275b53103c9
[ "MIT" ]
null
null
null
Library/Deps/MessagePack/Include/msgpack/v2/adaptor/nil_decl.hpp
rneogns/simpleio
20830a2b9b22c31eab23508acd25b275b53103c9
[ "MIT" ]
null
null
null
Library/Deps/MessagePack/Include/msgpack/v2/adaptor/nil_decl.hpp
rneogns/simpleio
20830a2b9b22c31eab23508acd25b275b53103c9
[ "MIT" ]
null
null
null
// // MessagePack for C++ static resolution routine // // Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef MSGPACK_V2_...
20.511628
66
0.701814
rneogns
9f527ae3a9e3cc87fc724c86a3c08884f97f8c7b
51
cpp
C++
src/dna_block.cpp
dyigitpolat/relaxase
bb183197b48ca448afe71cb801c9cdafb8d418a1
[ "MIT" ]
1
2020-10-22T11:27:51.000Z
2020-10-22T11:27:51.000Z
src/dna_block.cpp
dyigitpolat/relaxase
bb183197b48ca448afe71cb801c9cdafb8d418a1
[ "MIT" ]
null
null
null
src/dna_block.cpp
dyigitpolat/relaxase
bb183197b48ca448afe71cb801c9cdafb8d418a1
[ "MIT" ]
null
null
null
#include "dna_block.hpp" DNABlock::DNABlock() { }
8.5
24
0.686275
dyigitpolat
9f542b5f07245ea8acda91d4cbc1761ec9aa5684
1,415
hpp
C++
examples_tf2/include/examples_tf2/listener.hpp
ROBOTIS-Platform/ros2_examples
5b1cfff84c7d6baaaee5239a717475c65f8a7a90
[ "Apache-2.0" ]
10
2019-08-13T01:41:34.000Z
2021-12-06T14:11:17.000Z
examples_tf2/include/examples_tf2/listener.hpp
ROBOTIS-Platform/ros2_examples
5b1cfff84c7d6baaaee5239a717475c65f8a7a90
[ "Apache-2.0" ]
4
2019-09-29T22:53:18.000Z
2020-11-08T23:29:17.000Z
examples_tf2/include/examples_tf2/listener.hpp
ROBOTIS-Platform/ros2_examples
5b1cfff84c7d6baaaee5239a717475c65f8a7a90
[ "Apache-2.0" ]
2
2020-09-25T13:12:35.000Z
2021-12-06T14:11:18.000Z
/******************************************************************************* * Copyright 2019 ROBOTIS CO., LTD. * * 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.o...
28.877551
80
0.681979
ROBOTIS-Platform
9f5a92cc43c0f35a7101f046a633ed4529fe8c27
1,506
cpp
C++
src/lua/script.cpp
FiniteReality/SourceLua
41ced5fb3c80376cac012c0dab1f9f2f39400e40
[ "MIT" ]
7
2017-08-27T08:11:48.000Z
2022-03-06T06:20:02.000Z
src/lua/script.cpp
FiniteReality/SourceLua
41ced5fb3c80376cac012c0dab1f9f2f39400e40
[ "MIT" ]
7
2017-08-18T14:17:09.000Z
2018-04-17T15:26:22.000Z
src/lua/script.cpp
FiniteReality/SourceLua
41ced5fb3c80376cac012c0dab1f9f2f39400e40
[ "MIT" ]
3
2017-10-04T03:35:58.000Z
2020-11-25T13:48:44.000Z
#include <stdexcept> #include <common/logging.hpp> #include <lua/error_handler.hpp> #include <lua/script.hpp> #include <thread/scheduler.hpp> namespace SourceLua { namespace Lua { Script::Script(lua_State* L) : _L{L}, _name{"=unknown"} { if (_L == nullptr) throw new std::runtime_error("L must not be ...
20.351351
72
0.64741
FiniteReality
9f5de0c64add9d5db02e91744023085e65f3f36b
1,956
cpp
C++
src/platformspecifics/u32/u32backend.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
16
2020-01-22T04:52:46.000Z
2022-02-22T09:53:39.000Z
src/platformspecifics/u32/u32backend.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
15
2020-02-16T01:12:42.000Z
2021-05-03T21:51:26.000Z
src/platformspecifics/u32/u32backend.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
3
2020-04-03T22:20:14.000Z
2020-09-23T07:58:09.000Z
#include "u32backend.hpp" #include <Lmcons.h> #include <QCursor> #include <QtWin> #include <windows.h> std::tuple<QPoint, QPixmap> PlatformBackend::getCursor() { CURSORINFO cursorInfo; cursorInfo.cbSize = sizeof(cursorInfo); if (GetCursorInfo(&cursorInfo)) { if (cursorInfo.flags == CURSOR_SHOWING)...
33.724138
117
0.596115
mightybruno
9f6582ee72bd887fccf911c2093a149b631e3e6d
914
cpp
C++
src/ROCInterpolator.cpp
timosachsenberg/Fido
e46bb879d3405dc7a63ad5c4188f0734a2a7ef82
[ "MIT" ]
null
null
null
src/ROCInterpolator.cpp
timosachsenberg/Fido
e46bb879d3405dc7a63ad5c4188f0734a2a7ef82
[ "MIT" ]
null
null
null
src/ROCInterpolator.cpp
timosachsenberg/Fido
e46bb879d3405dc7a63ad5c4188f0734a2a7ef82
[ "MIT" ]
null
null
null
#include "ROCInterpolator.h" double ROCInterpolator::interpolate(const Array<double> & fps, const Array<double> & tps, double fpVal) { bool success = false; int k; for (k=0; k<fps.size(); k++) { if ( fps[k] > fpVal ) { success = true; break; } } if ( ! success ) { cerr << "Pro...
21.761905
147
0.592998
timosachsenberg
9f674ff79f625a217de65b4e7b20161653915228
13,236
cpp
C++
src/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.java #include <org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.hpp> #include <java/io/ByteArrayOutputStream.hpp> #include <java/io/EOFException.hpp> #include <java/io/IOException.hpp> #include <java/io/InputStream.hpp> #include...
43.396721
286
0.681399
pebble2015
9f68aa95585aa41d77e0ed106d383dd597cbf049
247
cpp
C++
matu379.cpp
NewtonVan/Fxxk_Y0u_m47u
d303c7f13c074b5462ac8390a9ff94e546099fac
[ "MIT" ]
1
2020-09-26T16:47:16.000Z
2020-09-26T16:47:16.000Z
matu379.cpp
NewtonVan/Fxxk_Y0u_m47u
d303c7f13c074b5462ac8390a9ff94e546099fac
[ "MIT" ]
null
null
null
matu379.cpp
NewtonVan/Fxxk_Y0u_m47u
d303c7f13c074b5462ac8390a9ff94e546099fac
[ "MIT" ]
1
2020-09-26T16:47:40.000Z
2020-09-26T16:47:40.000Z
class CNumber : public CNumberFactory { int num; public: CNumber(){} void Add(int number) { num+= number; } void Sub(int number) { num-= number; } int GetValue() { return num; } void SetValue(int number) { num= number; } };
9.88
26
0.611336
NewtonVan
9f68f9c4a02e34a149a3938ce62b0ad322608fc9
1,526
cpp
C++
libs/numeric/mtl/test/forms_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
libs/numeric/mtl/test/forms_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
libs/numeric/mtl/test/forms_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and And...
26.77193
127
0.607471
lit-uriy
9f69caee1f05d4fe28323644c0d7adb9982389e5
33,406
cpp
C++
sources/unittests/HJIPDE_solve/UTest_HJIPDE_solve.cpp
mdoshi96/beacls
860426ed1336d9539dea195987efcdd8a8276a1c
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
30
2017-12-17T22:57:50.000Z
2022-01-30T17:06:34.000Z
sources/unittests/HJIPDE_solve/UTest_HJIPDE_solve.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
2
2017-03-24T06:18:16.000Z
2017-04-04T16:16:06.000Z
sources/unittests/HJIPDE_solve/UTest_HJIPDE_solve.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
8
2018-07-06T01:47:21.000Z
2021-07-23T15:50:34.000Z
#define _USE_MATH_DEFINES #include <levelset/levelset.hpp> #include <helperOC/helperOC.hpp> #include <helperOC/DynSys/DynSys/DynSysSchemeData.hpp> #include <helperOC/DynSys/DubinsCar/DubinsCar.hpp> #include <helperOC/DynSys/DubinsCarCAvoid/DubinsCarCAvoid.hpp> #include <helperOC/DynSys/Air3D/Air3D.hpp> #include <sstrea...
32.464529
171
0.719003
mdoshi96
9f6e36adaf6b346d9611e7844be006a208a6b40d
5,855
cpp
C++
src/MainFrame.cpp
senfti/Kacarsonne
f2e3cbd7fd80bd1c9a6e41f03544b1e0718c0bd2
[ "MIT" ]
4
2020-04-10T19:11:28.000Z
2020-05-01T11:25:46.000Z
src/MainFrame.cpp
senfti/Kacarsonne
f2e3cbd7fd80bd1c9a6e41f03544b1e0718c0bd2
[ "MIT" ]
2
2020-05-07T17:34:40.000Z
2020-06-05T18:53:29.000Z
src/MainFrame.cpp
senfti/Kacarsonne
f2e3cbd7fd80bd1c9a6e41f03544b1e0718c0bd2
[ "MIT" ]
2
2020-04-10T19:11:34.000Z
2020-12-08T19:12:31.000Z
// // Created by ts on 24.03.20. // #include <filesystem> #include <MainFrame.h> #include <IdsDialog.h> #include <PointEntryDialog.h> #include <PointHistoryWindow.h> #include <SettingsWindow.h> #include "main.h" MainFrame::MainFrame(MyApp* app) : MainFrame_B(nullptr), app_(app), timer_(this){ } MainFrame::~MainFra...
29.129353
134
0.680956
senfti
9f720605a730030172b5aaa721d170d2a2e21961
1,595
cpp
C++
December-07/cpp_aw3someone.cpp
Aw3someOne/A-December-of-Algorithms-2019
0b17b3a0360d1906babc141dd8a4b9ac67d1b609
[ "MIT" ]
null
null
null
December-07/cpp_aw3someone.cpp
Aw3someOne/A-December-of-Algorithms-2019
0b17b3a0360d1906babc141dd8a4b9ac67d1b609
[ "MIT" ]
null
null
null
December-07/cpp_aw3someone.cpp
Aw3someOne/A-December-of-Algorithms-2019
0b17b3a0360d1906babc141dd8a4b9ac67d1b609
[ "MIT" ]
null
null
null
#include <deque> #include <iostream> #include <sstream> #include <string> #include <vector> struct Patient { int token; std::string id; Patient(int token, std::string id) : token(token), id(id) {} }; std::ostream& operator<<(std::ostream& os, const Patient* p) { os << '(' << p->token << ", " << p->id << ')'; ret...
21.849315
79
0.574295
Aw3someOne
9f7553ebf2a7873002ca73d4855aed08e888f059
654
cpp
C++
examples/stream1.cpp
mjcaisse/cppnow-2017-network-ts-material
128bcf2a718e8f13c2991520a56ddc41b3ccb28b
[ "BSL-1.0" ]
5
2017-05-19T23:03:26.000Z
2021-05-03T13:40:19.000Z
examples/stream1.cpp
mjcaisse/cppnow-2017-network-ts-material
128bcf2a718e8f13c2991520a56ddc41b3ccb28b
[ "BSL-1.0" ]
1
2018-05-15T18:40:33.000Z
2018-05-15T18:40:33.000Z
examples/stream1.cpp
mjcaisse/cppnow-2017-network-ts-material
128bcf2a718e8f13c2991520a56ddc41b3ccb28b
[ "BSL-1.0" ]
2
2017-10-03T13:23:34.000Z
2018-04-23T16:19:11.000Z
#include <experimental/net> #include <chrono> #include <string> #include <iostream> using namespace std::chrono_literals; namespace net = std::experimental::net; int main() { net::ip::tcp::iostream s; s.expires_after(5s); s.connect("www.boost.org", "https"); if(!s) { std::cout << "error: " <...
19.818182
65
0.553517
mjcaisse
9f76ed3dc86b8f58ae5eedad16f2b785be9667fc
1,436
cpp
C++
v1/CException.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
v1/CException.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
v1/CException.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
#pragma once #include "stdafx.h" #include "CException.h" CException::CException(const char* msg) { this->name = "CException"; this->msg = msg; } void CException::printMsg() { printf("%s:\n\t%s\n", name, msg); exit(-1); } CIndexOutOfBoundsException::CIndexOutOfBoundsException(int index, int bounds, const char* ...
27.09434
114
0.738162
lanyj
9f80bd6eeaad3f9add9d3e97470aba3629a4297a
11,605
cpp
C++
editor/renderer/src/Material.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
editor/renderer/src/Material.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
editor/renderer/src/Material.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
/*************************************************************************** * Copyright (C) 2006-07 by Reinhard Jeschull * rjeschu@fh-landshut.de * * 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 * th...
27.963855
85
0.650754
lizardkinger
9f85c9364e622713b8b8b52534e5febe4b3d3d1a
80
cpp
C++
src/enum-enhanced.cpp
zzlc/cxx11tests
d471b3f8b96548c762be6b7e410abe56a57811ae
[ "MIT" ]
48
2015-01-06T20:50:45.000Z
2021-02-15T02:48:32.000Z
src/enum-enhanced.cpp
zzlc/cxx11tests
d471b3f8b96548c762be6b7e410abe56a57811ae
[ "MIT" ]
3
2016-01-19T15:02:19.000Z
2019-04-29T08:51:13.000Z
src/enum-enhanced.cpp
zzlc/cxx11tests
d471b3f8b96548c762be6b7e410abe56a57811ae
[ "MIT" ]
24
2015-02-13T17:40:04.000Z
2019-12-03T06:59:03.000Z
// Check if enhanced enums are supported enum Days: unsigned short {Odd, Even};
26.666667
40
0.75
zzlc
9f89f4742acbce21760b5f7c242fea151b304b5f
1,629
cpp
C++
server/modules/FileReader/FileReaderManager.cpp
hotgloupi/zhttpd
0437ac2e34dde89abab26665df9cbee1777f1d44
[ "BSD-3-Clause" ]
2
2015-01-29T17:23:23.000Z
2015-09-21T17:45:22.000Z
server/modules/FileReader/FileReaderManager.cpp
hotgloupi/zhttpd
0437ac2e34dde89abab26665df9cbee1777f1d44
[ "BSD-3-Clause" ]
null
null
null
server/modules/FileReader/FileReaderManager.cpp
hotgloupi/zhttpd
0437ac2e34dde89abab26665df9cbee1777f1d44
[ "BSD-3-Clause" ]
null
null
null
#include "utils/Logger.hpp" #include "utils/Path.hpp" #include "FileReaderManager.hpp" using namespace zhttpd::mod; FileReaderManager::FileReaderManager() : StatefullManager<FileReader>("mod_filereader"), _delay(0) { this->_defaultMimeType = ""; } FileReaderManager::~FileReaderManager() { } unsigned int FileR...
23.271429
98
0.63229
hotgloupi
9f8a9bdb1a6199734132cece4919fd93acfc166f
1,269
cpp
C++
examples/complex-multiple.cpp
tibbetts/inside-c
a72f6d44f15343e81b35da8edadd0e9c63315d40
[ "MIT" ]
18
2015-01-19T04:18:49.000Z
2022-03-04T06:22:44.000Z
examples/complex-multiple.cpp
tibbetts/inside-c
a72f6d44f15343e81b35da8edadd0e9c63315d40
[ "MIT" ]
null
null
null
examples/complex-multiple.cpp
tibbetts/inside-c
a72f6d44f15343e81b35da8edadd0e9c63315d40
[ "MIT" ]
4
2020-02-19T22:29:23.000Z
2021-09-22T16:45:52.000Z
#include <stdio.h> class baseA2 { int dataA; public: void setDataA(int a); virtual int getDataA() const; }; class baseB2 { int dataB; public: void setDataB(int b); virtual int getDataB() const; }; class subBoth2 : public baseA2, public baseB2 { public: virtual int getSum() const; ...
16.269231
50
0.600473
tibbetts
9f906a21c2240b9698af3b573e97a36b17ec10f5
694
hpp
C++
graphics-library/include/engine/buffer.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/include/engine/buffer.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/include/engine/buffer.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <GL/glew.h> namespace gl::engine { template <class T> class Buffer { public: Buffer(GLuint mode); Buffer(const std::vector<T> &data, GLuint mode); ~Buffer(); void transferBuffer(); void useBuffer(); voi...
22.387097
57
0.538905
thetorine
9f958685b1a07c29dbdb337111f211b76513a1ed
1,791
cc
C++
Code/0023-merge-k-sorted-lists.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
2
2019-12-06T14:08:57.000Z
2020-01-15T15:25:32.000Z
Code/0023-merge-k-sorted-lists.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
1
2020-01-15T16:29:16.000Z
2020-01-26T12:40:13.000Z
Code/0023-merge-k-sorted-lists.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: // devide and conquer ListNode* mergeKLists(vector<ListNode*>& lists) { if (lists.size() == 0) return NULL; if (...
28.428571
79
0.463987
SMartQi
7a0c22249608e06bf74446b494022b691247e020
3,225
cpp
C++
MonoNative.Tests/mscorlib/System/Runtime/Remoting/Channels/mscorlib_System_Runtime_Remoting_Channels_BaseChannelWithProperties_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Runtime/Remoting/Channels/mscorlib_System_Runtime_Remoting_Channels_BaseChannelWithProperties_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Runtime/Remoting/Channels/mscorlib_System_Runtime_Remoting_Channels_BaseChannelWithProperties_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Runtime.Remoting.Channels // Name: BaseChannelWithProperties // C++ Typed Name: mscorlib::System::Runtime::Remoting::Channels::BaseChannelWithProperties #include <gtest/gtest.h> #includ...
25.393701
122
0.694264
brunolauze
7a0c778cf62781d9395276c59eb7535998023619
1,655
cpp
C++
src/common/SettingsAPI/FileWatcher.cpp
tameemzabalawi/PowerToys
5c6f7b1aea90ecd9ebe5cb8c7ddf82f8113fcb45
[ "MIT" ]
76,518
2019-05-06T22:50:10.000Z
2022-03-31T22:20:54.000Z
src/common/SettingsAPI/FileWatcher.cpp
Nakatai-0322/PowerToys
1f64c1cf837ca958ad14dc3eb7887f36220a1ef9
[ "MIT" ]
15,530
2019-05-07T01:10:24.000Z
2022-03-31T23:48:46.000Z
src/common/SettingsAPI/FileWatcher.cpp
Nakatai-0322/PowerToys
1f64c1cf837ca958ad14dc3eb7887f36220a1ef9
[ "MIT" ]
5,184
2019-05-06T23:32:32.000Z
2022-03-31T15:43:25.000Z
#include "pch.h" #include "FileWatcher.h" std::optional<FILETIME> FileWatcher::MyFileTime() { HANDLE hFile = CreateFileW(m_path.c_str(), FILE_READ_ATTRIBUTES, FILE_SHARE_DELETE | FILE_SHARE_READ | FILE_SHARE_WRITE, nullptr, OPEN_EXISTING, 0, nullptr); std::optional<FILETIME> result; if (hFile != INVALID_HA...
23.985507
161
0.587311
tameemzabalawi
7a0dbe3744ce2ca50f734d850a0889314ee4abe4
396
cpp
C++
C++/Introduction/functions.cpp
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
C++/Introduction/functions.cpp
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
C++/Introduction/functions.cpp
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
#include <iostream> // #include<bits/stdc++.h> #include <algorithm> using namespace std; int max_of_four(int a,int b,int c,int d) { return((a>b?a:b)>(c>d?c:d)?(a>b?a:b):(c>d?c:d)); } /* Add `int max_of_four(int a, int b, int c, int d)` here. */ int main() { int a, b, c, d; cin>>a>>b>>c>>d; ...
18.857143
56
0.527778
abivilion
7a119a2a1f728861dc65230064dc8d0d8916cc26
1,053
hpp
C++
include/entity.hpp
alsymd/BreakOut
055befbb61b0a3080b9a7d67359c0dbaf13eb596
[ "WTFPL" ]
null
null
null
include/entity.hpp
alsymd/BreakOut
055befbb61b0a3080b9a7d67359c0dbaf13eb596
[ "WTFPL" ]
null
null
null
include/entity.hpp
alsymd/BreakOut
055befbb61b0a3080b9a7d67359c0dbaf13eb596
[ "WTFPL" ]
null
null
null
#ifndef ALS_ENTITY_HPP #define ALS_ENTITY_HPP #include"rect_shape.hpp" #include<memory> #include<libguile.h> namespace als { class texture; class renderer; class moving_entity; class entity { public: entity(); entity(const rect_shape &shape, const std::string &texture_path); virtual ~entity()=de...
28.459459
69
0.733143
alsymd
7a1254581b03595c27d4a4b5c40b45818d71b741
219
cpp
C++
most_significant_bit.cpp
WizArdZ3658/Data-Structures-and-Algorithms
4098c0680c13127473d7ce6a41ead519559ff962
[ "MIT" ]
3
2020-09-14T04:50:13.000Z
2021-04-17T06:42:43.000Z
most_significant_bit.cpp
WizArdZ3658/Data-Structures-and-Algorithms
4098c0680c13127473d7ce6a41ead519559ff962
[ "MIT" ]
null
null
null
most_significant_bit.cpp
WizArdZ3658/Data-Structures-and-Algorithms
4098c0680c13127473d7ce6a41ead519559ff962
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> using namespace std; int setBit(int n) { int k = (int)(log2(n)); return 1<<k; } int main() { int n; cin >> n; cout << "Most significant bits : " << setBit(n) << '\n'; return 0; }
14.6
57
0.593607
WizArdZ3658
7a12ec057d99a8474bb33f0fa20104b8d2b0179f
345
hpp
C++
include/lexer_helpers.hpp
mujido/moove
380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b
[ "Apache-2.0" ]
null
null
null
include/lexer_helpers.hpp
mujido/moove
380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b
[ "Apache-2.0" ]
null
null
null
include/lexer_helpers.hpp
mujido/moove
380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b
[ "Apache-2.0" ]
null
null
null
#pragma once #include "moove.tab.h" namespace Moove { using symbol_type = BisonParser::parser::symbol_type; symbol_type parseInteger(const char* text); symbol_type parseReal(const char* text); symbol_type parseObjnum(const char* text); symbol_type parseID(const char* text); symbol_type parse...
23
57
0.727536
mujido
7a1334af9489800ebd8c62b4c5832e4b35a1dee8
2,220
cpp
C++
DBProCompiler/DBPCompiler/InstructionTableEntry.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
231
2018-01-28T00:06:56.000Z
2022-03-31T21:39:56.000Z
DBProCompiler/DBPCompiler/InstructionTableEntry.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
9
2016-02-10T10:46:16.000Z
2017-12-06T17:27:51.000Z
DBProCompiler/DBPCompiler/InstructionTableEntry.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
66
2018-01-28T21:54:52.000Z
2022-02-16T22:50:57.000Z
// InstructionTableEntry.cpp: implementation of the CInstructionTableEntry class. // ////////////////////////////////////////////////////////////////////// // Common Includes #include "macros.h" // Custom Includes #include "Declaration.h" #include "InstructionTableEntry.h" ///////////////////////////////////////////...
24.130435
188
0.704054
domydev
7a18901031429e80fb30b9c521ca5a276b2c08d3
21,358
hpp
C++
test/gemm/gemm_config.hpp
mkarunan/rocWMMA
390a2e793699a1e17c18e46d7fe51e245907f012
[ "MIT" ]
null
null
null
test/gemm/gemm_config.hpp
mkarunan/rocWMMA
390a2e793699a1e17c18e46d7fe51e245907f012
[ "MIT" ]
null
null
null
test/gemm/gemm_config.hpp
mkarunan/rocWMMA
390a2e793699a1e17c18e46d7fe51e245907f012
[ "MIT" ]
null
null
null
/******************************************************************************* * * MIT License * * Copyright 2021-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 *...
48.651481
93
0.374895
mkarunan