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
9af9dbd4726dc1e201a761fc788ab732f86e97f3
28,252
cpp
C++
examples/38_wifiscope/main/WebServer.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
335
2016-10-12T06:59:33.000Z
2022-03-29T14:26:04.000Z
examples/38_wifiscope/main/WebServer.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
30
2016-10-30T11:23:59.000Z
2021-11-12T10:51:20.000Z
examples/38_wifiscope/main/WebServer.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
48
2016-10-30T08:41:13.000Z
2022-02-15T22:15:09.000Z
/* * WebServer.cpp * * Created on: May 19, 2017 * Author: kolban */ #include <sstream> #include <iostream> #include <vector> #include <map> #include <regex> #include "sdkconfig.h" #define MG_ENABLE_HTTP_STREAMING_MULTIPART 1 #define MG_ENABLE_FILESYSTEM 1 #include "WebServer.h" #include <esp_log.h> #include ...
31.286822
193
0.713507
graealex
9afc2831afbd5563db7d88221277b3ce9196b57d
1,326
cpp
C++
src/error_code.cpp
tomsksoft-llc/cis1-webui-native-srv-cpp
9ac8f7867977a2f9af5713f60942200d25582f7f
[ "MIT" ]
2
2019-04-26T07:48:26.000Z
2019-06-03T07:04:22.000Z
src/error_code.cpp
tomsksoft-llc/cis1-webui-native-srv-cpp
9ac8f7867977a2f9af5713f60942200d25582f7f
[ "MIT" ]
73
2019-04-25T07:41:34.000Z
2020-04-14T16:23:54.000Z
src/error_code.cpp
tomsksoft-llc/cis1-webui-native-srv-cpp
9ac8f7867977a2f9af5713f60942200d25582f7f
[ "MIT" ]
null
null
null
/* * TomskSoft CIS1 WebUI * * (c) 2019 TomskSoft LLC * (c) Mokin Innokentiy [mia@tomsksoft.com] * */ #include "error_code.h" namespace cis { const char * error_category::name() const noexcept { return "cis::error"; } std::string error_category::message(int ev) const { switch(static_cast<error_c...
21.047619
51
0.625189
tomsksoft-llc
b1044d9ffddb5ffa4140bcb649ba809328945b61
1,070
cpp
C++
Stp/Base/Error/Exception.cpp
markazmierczak/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:52.000Z
2019-07-11T12:47:52.000Z
Stp/Base/Error/Exception.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
null
null
null
Stp/Base/Error/Exception.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:53.000Z
2019-07-11T12:47:53.000Z
// Copyright 2017 Polonite Authors. All rights reserved. // Distributed under MIT license that can be found in the LICENSE file. #include "Base/Error/Exception.h" #include "Base/Io/TextWriter.h" #include <exception> #if !COMPILER(MSVC) #include <cxxabi.h> namespace __cxxabiv1 { struct __cxa_eh_globals { void* c...
19.454545
71
0.73271
markazmierczak
b10bd5d386f889e97ab8fc690423153b35491f77
19,181
cpp
C++
Samples/AppWindow/cppwinrt/Code/BU/MusionBU/CodeLine.cpp
OSIREM/ecoin-minimal
7d8314484c0cd47c673046c86c273cc48eaa43d2
[ "MIT" ]
null
null
null
Samples/AppWindow/cppwinrt/Code/BU/MusionBU/CodeLine.cpp
OSIREM/ecoin-minimal
7d8314484c0cd47c673046c86c273cc48eaa43d2
[ "MIT" ]
null
null
null
Samples/AppWindow/cppwinrt/Code/BU/MusionBU/CodeLine.cpp
OSIREM/ecoin-minimal
7d8314484c0cd47c673046c86c273cc48eaa43d2
[ "MIT" ]
null
null
null
/* CodeLine - osirem.com Copyright OSIREM LTD (C) 2016 www.bitolyl.com/osirem bitcoin-office.com ecn.world This source is proprietary, and cannot be used, in part or in full without the express permission of the original author. The original author retain the rights to use, modify, and/or relicense this code ...
24.528133
113
0.584485
OSIREM
623eceee55e152c9d156f3651743cef7f48c5b69
3,418
hpp
C++
spike/models/stratum/RockType.hpp
davidson16807/libtectonics
aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646
[ "CC-BY-4.0" ]
7
2020-06-09T19:56:55.000Z
2021-02-17T01:53:30.000Z
spike/models/stratum/RockType.hpp
davidson16807/tectonics.cpp
c40278dba14260c598764467c7abf23b190e676b
[ "CC-BY-4.0" ]
null
null
null
spike/models/stratum/RockType.hpp
davidson16807/tectonics.cpp
c40278dba14260c598764467c7abf23b190e676b
[ "CC-BY-4.0" ]
null
null
null
#pragma once namespace stratum { /* "RockType" attempts to be a comprehensive collection of every earth-like rock that the model is capable of representing. RockType is used to quickly describe to the user what type of rock he's looking at. RockType is only used for descriptive purposes, it is never t...
28.483333
124
0.589819
davidson16807
62422949e13c032724be2671822871fa8ac278b0
6,214
cpp
C++
src/physics/physics_system.cpp
galek/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
8
2015-09-06T20:05:27.000Z
2021-07-14T11:12:33.000Z
src/physics/physics_system.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
src/physics/physics_system.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
#include "physics/physics_system.h" #include <PxPhysicsAPI.h> #include "cooking/PxCooking.h" #include "core/base_proxy_allocator.h" #include "core/crc32.h" #include "core/log.h" #include "core/resource_manager.h" #include "editor/world_editor.h" #include "engine.h" #include "engine/property_descriptor.h" #include "ph...
26.219409
165
0.760863
galek
624352c3d78824f4a26883cd032fab20f01b400a
2,155
hpp
C++
include/rusty-cpp/impl/maybe_uninit.hpp
QuarticCat/rusty-cpp
089089f076f461c3d84fc70478104ae8d1384aa3
[ "MIT" ]
4
2021-08-28T10:04:00.000Z
2021-11-08T03:29:37.000Z
include/rusty-cpp/impl/maybe_uninit.hpp
QuarticCat/rusty-cpp
089089f076f461c3d84fc70478104ae8d1384aa3
[ "MIT" ]
1
2021-08-25T07:30:19.000Z
2021-08-25T09:26:23.000Z
include/rusty-cpp/impl/maybe_uninit.hpp
QuarticCat/rusty-cpp
089089f076f461c3d84fc70478104ae8d1384aa3
[ "MIT" ]
null
null
null
#pragma once #include <utility> namespace rc { /// The counterpart of `MaybeUninit` in Rust. /// /// It's impossible to make it exactly the same as in Rust. There are some key features that Rust's /// `MaybeUninit` relies on: /// /// 1. All objects in Rust are trivially relocatable (if you have the ownership). That ...
27.278481
99
0.643619
QuarticCat
625ec381e9f2eea54cd4dd735892d3b63c54e482
538
cpp
C++
utils/minval.3.cpp
ivan100sic/competelib-snippets
e40170a63b37d92c91e2dfef08b2794e67ccb0b2
[ "Unlicense" ]
3
2022-01-17T01:56:05.000Z
2022-02-23T07:30:02.000Z
utils/minval.3.cpp
ivan100sic/competelib-snippets
e40170a63b37d92c91e2dfef08b2794e67ccb0b2
[ "Unlicense" ]
null
null
null
utils/minval.3.cpp
ivan100sic/competelib-snippets
e40170a63b37d92c91e2dfef08b2794e67ccb0b2
[ "Unlicense" ]
null
null
null
// Minimum accumulator #include <limits> #include <algorithm> using namespace std; /*snippet-begin*/ template<class T = int> struct minval { T x; minval(T x = numeric_limits<T>::max()) : x(x) {} T operator() () const { return x; } minval operator+ (const minval& b) const { return min(x, b.x); } mi...
21.52
75
0.553903
ivan100sic
625f16aacc167e9d5dde894985a7f206b01d4d91
24,013
cpp
C++
src/util2019.cpp
atyre2/HABITAT
bbf231fcfe48cb11b27117266bfc85f427225414
[ "MIT" ]
null
null
null
src/util2019.cpp
atyre2/HABITAT
bbf231fcfe48cb11b27117266bfc85f427225414
[ "MIT" ]
2
2019-03-29T22:15:17.000Z
2019-03-29T22:15:50.000Z
src/util2019.cpp
atyre2/HABITAT
bbf231fcfe48cb11b27117266bfc85f427225414
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- // #include <vcl.h> // #pragma hdrstop #include <stdlib.h> #include <math.h> #include "mt19937.h" #include "matrices.h" #include "util2019.h" //--------------------------------------------------------------------------- #define NR_END 1...
27.4121
85
0.510848
atyre2
62613226c0ef2b43ecb6ec9f8c8a941374abf6f4
445
cpp
C++
glfw3_app/nesemu/tools.cpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
9
2015-09-22T21:36:57.000Z
2021-04-01T09:16:53.000Z
glfw3_app/nesemu/tools.cpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
null
null
null
glfw3_app/nesemu/tools.cpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
2
2019-02-21T04:22:13.000Z
2021-03-02T17:24:32.000Z
//=====================================================================// /*! @file @brief Emulator Tools クラス @n Copyright 2017 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include "tools.hpp" gui::widget_terminal* emu:...
20.227273
74
0.408989
hirakuni45
6264f8e9d3635d9a6d7e0fced804644032b46d42
739
hpp
C++
file_util/tests/fixtures.hpp
ScottGarman/leatherman
7c1407c29b056148e6332dabf4017ca50f064a94
[ "Apache-2.0" ]
55
2015-08-27T13:17:42.000Z
2022-02-07T15:19:59.000Z
file_util/tests/fixtures.hpp
ScottGarman/leatherman
7c1407c29b056148e6332dabf4017ca50f064a94
[ "Apache-2.0" ]
236
2015-02-23T23:50:10.000Z
2021-09-01T18:09:12.000Z
file_util/tests/fixtures.hpp
ScottGarman/leatherman
7c1407c29b056148e6332dabf4017ca50f064a94
[ "Apache-2.0" ]
88
2015-02-23T22:40:27.000Z
2022-02-07T15:19:59.000Z
#pragma once #include <string> #include <boost/filesystem/path.hpp> /** * Class to create a temporary directory with a unique name * and destroy it once it is no longer needed. * */ class temp_directory { public: temp_directory(); ~temp_directory(); std::string const& get_dir_name() const; private: ...
18.948718
59
0.690122
ScottGarman
62650a65e609cedbe8ee98bbc962ff63c7f98e28
1,391
cpp
C++
targets/simple_router/primitives.cpp
edgarcosta92/behavioral-model
de9ec3ddc45c2b210681a7675c0bded6e56ec9d3
[ "Apache-2.0" ]
390
2015-10-13T05:22:51.000Z
2022-03-30T19:18:14.000Z
targets/simple_router/primitives.cpp
edgarcosta92/behavioral-model
de9ec3ddc45c2b210681a7675c0bded6e56ec9d3
[ "Apache-2.0" ]
919
2015-08-10T17:50:50.000Z
2022-03-31T17:46:07.000Z
targets/simple_router/primitives.cpp
edgarcosta92/behavioral-model
de9ec3ddc45c2b210681a7675c0bded6e56ec9d3
[ "Apache-2.0" ]
351
2015-09-18T03:32:32.000Z
2022-03-31T03:56:38.000Z
/* Copyright 2013-present Barefoot Networks, 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 la...
25.759259
75
0.71028
edgarcosta92
6266e72f69150a43924556ec15b610e0c9ce2ee3
3,530
cpp
C++
ObjOrientedProgramming/Ticket/Ticket/TicketDemo.cpp
jhbrian/Learning-Progress
de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb
[ "MIT" ]
null
null
null
ObjOrientedProgramming/Ticket/Ticket/TicketDemo.cpp
jhbrian/Learning-Progress
de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb
[ "MIT" ]
null
null
null
ObjOrientedProgramming/Ticket/Ticket/TicketDemo.cpp
jhbrian/Learning-Progress
de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb
[ "MIT" ]
null
null
null
//**************************************************************************************************** //Program Name: Tickets //Author: Jin Han Ho //IDE Used: Visual Studio 2019 //Program description: This program will show the status of ticket that is issued the police in a day //********************************...
36.020408
103
0.490935
jhbrian
62671ee1cbacfc0750822aa3e74857d8a24f97a9
10,662
cpp
C++
example/SVG_text_width_height.cpp
pabristow/svg_plot
59e06b752acc252498e0ddff560b01fb951cb909
[ "BSL-1.0" ]
24
2016-03-09T03:23:06.000Z
2021-01-12T14:02:07.000Z
example/SVG_text_width_height.cpp
pabristow/svg_plot
59e06b752acc252498e0ddff560b01fb951cb909
[ "BSL-1.0" ]
11
2018-03-05T14:39:48.000Z
2021-08-22T09:00:33.000Z
example/SVG_text_width_height.cpp
pabristow/svg_plot
59e06b752acc252498e0ddff560b01fb951cb909
[ "BSL-1.0" ]
10
2016-11-04T14:36:04.000Z
2020-07-17T08:12:03.000Z
/*! \brief Demonstrates actual length of text displayed as SVG. Shows warning from too much compression using text_length. And also shows use of text_length can undercompress to space out glyphs to become unreadable. Font Support for Unicode Characters https://www.fileformat.info/info/unicode/font/index.htm Show...
66.6375
881
0.679422
pabristow
626d06dcabb8411965addf56d6ba8c2c70b666ff
2,559
hh
C++
tests/Titon/Route/Annotation/RouteTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
tests/Titon/Route/Annotation/RouteTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
tests/Titon/Route/Annotation/RouteTest.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh namespace Titon\Route\Annotation; use Titon\Annotation\Reader; use Titon\Test\Stub\Route\RouteAnnotatedStub; use Titon\Test\TestCase; class RouteTest extends TestCase { public function testParamsAreSetOnRouteAnnotation(): void { $reader = new Reader(new RouteAnnotatedStub()); // Class ...
36.557143
74
0.593591
ciklon-z
626eecb961d44ed5a1d7ddb33f467d95ee7b6237
71,731
tcc
C++
Vc/include/Vc/avx/vector.tcc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
Vc/include/Vc/avx/vector.tcc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
Vc/include/Vc/avx/vector.tcc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/* This file is part of the Vc library. Copyright (C) 2011-2012 Matthias Kretz <kretz@kde.org> Vc 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 3 of the License, or (...
50.981521
262
0.656634
AllaMaevskaya
626f7e41d53914c6d7a2d34755b67e028b8fe0fb
637
cpp
C++
oop_ex41.cpp
85105/HW
2161a1a7ac1082a85454672d359c00f2d42ef21f
[ "MIT" ]
null
null
null
oop_ex41.cpp
85105/HW
2161a1a7ac1082a85454672d359c00f2d42ef21f
[ "MIT" ]
null
null
null
oop_ex41.cpp
85105/HW
2161a1a7ac1082a85454672d359c00f2d42ef21f
[ "MIT" ]
null
null
null
/* oop_ex41.cpp accessing data members through pointer */ #include <iostream> #include <string> using namespace std; struct User { string name; int age; int tel; }; void main() { User userObject; User* userPtr = &userObject; //User* userPtr = new User(); userPtr->name = "Micheal"; userPtr->age = 20; us...
18.2
113
0.572998
85105
62708b59e721ebda2cdf84c9034931cf94c8c8d4
612
hpp
C++
include/search/Tokenize.hpp
ibanic/search
9e7da36bb8512dc9bfc1e65d12aae3406659e318
[ "MIT" ]
null
null
null
include/search/Tokenize.hpp
ibanic/search
9e7da36bb8512dc9bfc1e65d12aae3406659e318
[ "MIT" ]
null
null
null
include/search/Tokenize.hpp
ibanic/search
9e7da36bb8512dc9bfc1e65d12aae3406659e318
[ "MIT" ]
null
null
null
// // Tokenize.hpp // // Created by Ignac Banic on 31/12/19. // Copyright © 2019 Ignac Banic. All rights reserved. // #pragma once #include <string> #include <vector> namespace Search { uint8_t charLen(char ch); std::vector<std::string> tokenize(std::string_view txt); std::vector<std::string> tokenize(const s...
26.608696
76
0.722222
ibanic
6270b83de03cebb175575dca493d1479ad360a7a
32,668
cpp
C++
src/OpcUaStackServer/ServiceSet/Session.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
src/OpcUaStackServer/ServiceSet/Session.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
src/OpcUaStackServer/ServiceSet/Session.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
/* Copyright 2017-2019 Kai Huebl (kai@huebl-sgh.de) Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser Datei nur in Übereinstimmung mit der Lizenz erlaubt. Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0. Sofern nicht gemäß geltendem Recht vorge...
33.064777
138
0.725603
gianricardo
627a9f9b7a3e6d26795666bd022e97da4938b46b
4,295
cpp
C++
bside-code/bside_tokenizer.cpp
mgolden/basic_stamp_linux64
eb547eae358c5fab220d159cb932b5a34beb3711
[ "Linux-OpenIB" ]
4
2018-06-03T23:12:54.000Z
2022-03-27T23:20:19.000Z
bside-code/bside_tokenizer.cpp
mgolden/basic_stamp_linux64
eb547eae358c5fab220d159cb932b5a34beb3711
[ "Linux-OpenIB" ]
null
null
null
bside-code/bside_tokenizer.cpp
mgolden/basic_stamp_linux64
eb547eae358c5fab220d159cb932b5a34beb3711
[ "Linux-OpenIB" ]
2
2016-02-01T17:56:49.000Z
2016-07-14T09:39:57.000Z
/* bside_tokenize.cpp This interfaces with Parallax, Inc.'s PBASIC Tokenizer Shared Library for the Linux operating system. It reads a PBASIC source file and writes the tokenized results to a file which can then be sent to the BASIC Stamp microcontroller using the "bstamp_run" program. Based on ...
21.582915
139
0.65518
mgolden
627c3def3d92f3aae785a307ead6cb3985524231
85
cpp
C++
src/Global_renderer.cpp
romz-pl/pong-game
2deadc419fb9340b333aa6b94bb7f861b93ffe6d
[ "MIT" ]
null
null
null
src/Global_renderer.cpp
romz-pl/pong-game
2deadc419fb9340b333aa6b94bb7f861b93ffe6d
[ "MIT" ]
null
null
null
src/Global_renderer.cpp
romz-pl/pong-game
2deadc419fb9340b333aa6b94bb7f861b93ffe6d
[ "MIT" ]
null
null
null
#include "Global_renderer.h" namespace Global { unique< SDL_Renderer* > renderer; }
12.142857
33
0.752941
romz-pl
627d27713021070890784a463c60934f94e9136d
708
cpp
C++
src/eventBus.cpp
HenadziMatuts/snake1
c5ecb731c25222b7b8e46803f9f26277ad48bc52
[ "MIT" ]
8
2017-08-31T16:43:10.000Z
2021-11-14T17:44:05.000Z
src/eventBus.cpp
HenadziMatuts/snake1
c5ecb731c25222b7b8e46803f9f26277ad48bc52
[ "MIT" ]
null
null
null
src/eventBus.cpp
HenadziMatuts/snake1
c5ecb731c25222b7b8e46803f9f26277ad48bc52
[ "MIT" ]
1
2020-03-19T19:46:56.000Z
2020-03-19T19:46:56.000Z
#include "eventBus.h" void EventBus::PostGameEvent(GameEvent gameEvent) { m_GameEvents.push_back(gameEvent); }; void EventBus::PostInGameEvent(InGameEvent inGameEvent, InGameEventSource source) { m_InGameEventsNext[source].push_back(inGameEvent); } std::vector<GameEvent>* EventBus::GameEvents() { return &m_GameEv...
20.228571
81
0.768362
HenadziMatuts
627da4a2450cb31b32ef7e22c79914633a747b78
2,134
cpp
C++
src/ctl/ctlListView.cpp
dpage/pgadmin3
6784e6281831a083fe5a0bbd49eac90e1a6ac547
[ "Artistic-1.0" ]
2
2021-07-16T21:45:41.000Z
2021-08-14T15:54:17.000Z
src/ctl/ctlListView.cpp
dpage/pgadmin3
6784e6281831a083fe5a0bbd49eac90e1a6ac547
[ "Artistic-1.0" ]
null
null
null
src/ctl/ctlListView.cpp
dpage/pgadmin3
6784e6281831a083fe5a0bbd49eac90e1a6ac547
[ "Artistic-1.0" ]
2
2017-11-18T15:00:24.000Z
2021-08-14T15:54:30.000Z
////////////////////////////////////////////////////////////////////////// // // pgAdmin III - PostgreSQL Tools // RCS-ID: $Id$ // Copyright (C) 2002 - 2010, The pgAdmin Development Team // This software is released under the Artistic Licence // // ctlListView.cpp - enhanced listview control // ///////////////////...
24.25
111
0.616214
dpage
627f3bac77ef5ca45503753e8a5623643f23d25f
977
cpp
C++
Lesson4/inheritance.cpp
hari-learningspace/CPP_Learning
f32a250e284e9b9d876c4ef20bbb28e5c81cea27
[ "MIT" ]
null
null
null
Lesson4/inheritance.cpp
hari-learningspace/CPP_Learning
f32a250e284e9b9d876c4ef20bbb28e5c81cea27
[ "MIT" ]
null
null
null
Lesson4/inheritance.cpp
hari-learningspace/CPP_Learning
f32a250e284e9b9d876c4ef20bbb28e5c81cea27
[ "MIT" ]
null
null
null
/* Instructions Add a new member variable to class Vehicle. Output that new member in main(). Derive a new class from Vehicle, alongside Car and Bicycle. Instantiate an object of that new class. Print the object. */ #include <iostream> #include <string> using std::string; class Vehicle { public: int wheels = 0; st...
17.763636
79
0.63869
hari-learningspace
6282eed5f049f3edffad889963aca0e381a4ab46
612
cc
C++
tools/patch/tfs/util/retrier.cc
Cuda-GDB/tensorrt-inference-server
71376ccb1244ed9707b8d81e479e165c152b5767
[ "BSD-3-Clause" ]
2
2021-06-01T09:27:12.000Z
2021-09-18T22:33:08.000Z
tools/patch/tfs/util/retrier.cc
Cuda-GDB/tensorrt-inference-server
71376ccb1244ed9707b8d81e479e165c152b5767
[ "BSD-3-Clause" ]
null
null
null
tools/patch/tfs/util/retrier.cc
Cuda-GDB/tensorrt-inference-server
71376ccb1244ed9707b8d81e479e165c152b5767
[ "BSD-3-Clause" ]
null
null
null
--- tensorflow_serving/util/retrier.cc 2018-05-15 13:11:26.068986416 -0700 +++ /home/david/dev/gitlab/dgx/tensorrtserver/tools/patch/tfs/util/retrier.cc 2018-10-12 12:44:37.280572118 -0700 @@ -42,7 +42,9 @@ if (is_cancelled()) { LOG(INFO) << "Retrying of " << description << " was cancelled."; } - if (num_tr...
43.714286
113
0.645425
Cuda-GDB
62841f0aefa1262b5e71f0c3b8d8647913cdea5c
666
cpp
C++
src/MediaDataImpl.cpp
gumb0/cpp-instagram
da3286d8d0945daedb10e00011a09be98c22dcd6
[ "MIT" ]
11
2015-03-10T01:24:09.000Z
2020-01-30T23:07:09.000Z
src/MediaDataImpl.cpp
gumb0/cpp-instagram
da3286d8d0945daedb10e00011a09be98c22dcd6
[ "MIT" ]
5
2016-03-03T09:05:09.000Z
2016-03-03T09:16:52.000Z
src/MediaDataImpl.cpp
gumb0/cpp-instagram
da3286d8d0945daedb10e00011a09be98c22dcd6
[ "MIT" ]
5
2015-11-16T11:46:31.000Z
2022-01-06T11:09:22.000Z
#include "MediaDataImpl.h" #include <assert.h> using namespace Instagram; MediaDataImpl::MediaDataImpl(CurlPtr curl, const MediaDataInfo& info) : mCurl(curl), mInfo(info) { } int MediaDataImpl::getWidth() const { return mInfo.mWidth; } int MediaDataImpl::getHeight() const { return mInfo.mHeight; }...
17.526316
80
0.726727
gumb0
628d03cf81dd36dfeeaf4ac4a41241bf9e3cd5cd
896
cpp
C++
review/src/android/ReviewAndroid.cpp
dapetcu21/extension-review
1e9e3471ce98141016562aeec693f4cfd98a5c48
[ "MIT" ]
10
2020-11-23T21:16:56.000Z
2022-03-07T20:17:40.000Z
review/src/android/ReviewAndroid.cpp
dapetcu21/extension-review
1e9e3471ce98141016562aeec693f4cfd98a5c48
[ "MIT" ]
2
2020-08-12T19:34:36.000Z
2020-10-09T22:06:36.000Z
review/src/android/ReviewAndroid.cpp
dapetcu21/extension-review
1e9e3471ce98141016562aeec693f4cfd98a5c48
[ "MIT" ]
8
2017-10-03T12:01:35.000Z
2020-10-09T21:06:44.000Z
#if defined(DM_PLATFORM_ANDROID) #include "../private_review.h" #include "jni.h" namespace ext_review { const char* JAR_PATH = "com/defold/review/Review"; bool isSupported() { ThreadAttacher attacher; JNIEnv *env = attacher.env; jclass cls = ClassLoader(env).load(JAR_PATH); jmethodID method = env->Ge...
28.903226
97
0.722098
dapetcu21
6290fc655f2607265e486f3f63eea181c565935e
2,537
cpp
C++
patched_D-ITG-2.8.1-r1023/src/ITGSend/newran/extreal.cpp
akhila-s-rao/high-fidelity-wireless-measurements
64bcaa9e0da5338b9495b63cd7aa67d94eaf3bf5
[ "Apache-2.0" ]
4
2015-07-07T13:00:16.000Z
2021-02-25T13:03:25.000Z
patched_D-ITG-2.8.1-r1023/src/ITGSend/newran/extreal.cpp
akhila-s-rao/high-fidelity-wireless-measurements
64bcaa9e0da5338b9495b63cd7aa67d94eaf3bf5
[ "Apache-2.0" ]
1
2022-02-04T08:43:41.000Z
2022-02-20T22:54:28.000Z
patched_D-ITG-2.8.1-r1023/src/ITGSend/newran/extreal.cpp
akhila-s-rao/high-fidelity-wireless-measurements
64bcaa9e0da5338b9495b63cd7aa67d94eaf3bf5
[ "Apache-2.0" ]
2
2018-06-07T20:47:50.000Z
2020-07-20T09:55:04.000Z
/// \ingroup newran ///@{ /// \file extreal.cpp /// "Extended real" - body file. #define WANT_FSTREAM #include "include.h" #include "extreal.h" #ifdef use_namespace namespace RBD_COMMON { #endif ExtReal ExtReal::operator+(const ExtReal& er) const { if (c==Finite && er.c==Finite) return ExtReal(value+er.value); ...
24.161905
69
0.615294
akhila-s-rao
6292e28d9e2382ecb28c3f579b8c7f3d2219272a
1,215
hpp
C++
example/vgg16/vgg16.hpp
wzppengpeng/LittleConv
12aab4cfbbe965fa8b4053bb464db1165cc4ec31
[ "MIT" ]
93
2017-10-25T07:48:42.000Z
2022-02-02T15:18:11.000Z
example/vgg16/vgg16.hpp
wzppengpeng/LittleConv
12aab4cfbbe965fa8b4053bb464db1165cc4ec31
[ "MIT" ]
null
null
null
example/vgg16/vgg16.hpp
wzppengpeng/LittleConv
12aab4cfbbe965fa8b4053bb464db1165cc4ec31
[ "MIT" ]
20
2018-02-06T10:01:36.000Z
2019-07-07T09:26:40.000Z
#ifndef VGG16_HPP #define VGG16_HPP #include "licon/licon.hpp" using namespace licon; // get the conv block nn::NodePtr ConvBlock(int in_channel, int out_channel, bool triple = false) { auto block = nn::Squential::CreateSquential(); block->Add(nn::Conv::CreateConv(in_channel, out_channel, 3, 1, 1)); bloc...
32.837838
77
0.641152
wzppengpeng
62a6695ad70f068176da027d6b83b47de6814540
11,501
cpp
C++
src/goto-symex/memory_model_sc.cpp
dan-blank/yogar-cbmc
05b4f056b585b65828acf39546c866379dca6549
[ "MIT" ]
1
2017-07-25T02:44:56.000Z
2017-07-25T02:44:56.000Z
src/goto-symex/memory_model_sc.cpp
dan-blank/yogar-cbmc
05b4f056b585b65828acf39546c866379dca6549
[ "MIT" ]
1
2017-02-22T14:35:19.000Z
2017-02-27T08:49:58.000Z
src/goto-symex/memory_model_sc.cpp
dan-blank/yogar-cbmc
05b4f056b585b65828acf39546c866379dca6549
[ "MIT" ]
4
2019-01-19T03:32:21.000Z
2021-12-20T14:25:19.000Z
/*******************************************************************\ Module: Memory model for partial order concurrency Author: Michael Tautschnig, michael.tautschnig@cs.ox.ac.uk \*******************************************************************/ #include <util/std_expr.h> #include <util/i2string.h> #include "m...
25.332599
125
0.537692
dan-blank
62abb37eaa85a0249284ab8ff4fe48f8b94351ba
2,567
cpp
C++
common/util/src/TokenRateLimiter.cpp
ewb4/HDTN
a0e577351bd28c3aeb7e656e03a2d93cf84712a0
[ "NASA-1.3" ]
null
null
null
common/util/src/TokenRateLimiter.cpp
ewb4/HDTN
a0e577351bd28c3aeb7e656e03a2d93cf84712a0
[ "NASA-1.3" ]
null
null
null
common/util/src/TokenRateLimiter.cpp
ewb4/HDTN
a0e577351bd28c3aeb7e656e03a2d93cf84712a0
[ "NASA-1.3" ]
null
null
null
#include "TokenRateLimiter.h" #include <iostream> TokenRateLimiter::TokenRateLimiter() : m_rateTokens(0), m_limit(0), m_remain(0) {} TokenRateLimiter::~TokenRateLimiter() {} void TokenRateLimiter::SetRate(const uint64_t tokens, const boost::posix_time::time_duration & interval, const boost::posix_time::time_duration...
26.463918
164
0.695754
ewb4
62acd74a7eae39c649b5709498645dad6fba7850
3,191
cpp
C++
plugins/libimhex/source/helpers/lang.cpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
4
2021-05-09T23:33:54.000Z
2022-03-06T10:16:31.000Z
plugins/libimhex/source/helpers/lang.cpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
null
null
null
plugins/libimhex/source/helpers/lang.cpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
6
2021-05-09T21:41:48.000Z
2021-09-08T10:54:28.000Z
#include "hex/helpers/lang.hpp" #include "hex/helpers/shared_data.hpp" namespace hex { LanguageDefinition::LanguageDefinition(std::initializer_list<std::pair<std::string, std::string>> entries) { for (auto pair : entries) this->m_entries.insert(pair); } const std::map<std::string, st...
35.065934
121
0.655907
Laxer3a
62acf418bcf9c8a2720f202b27b4b065944b3730
1,416
cpp
C++
solved-uva/10583.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
solved-uva/10583.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-uva/10583.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
/** * @author : Maruf Tuhin * @School : CUET CSE 11 * @TOPCODER : the_redback * @CodeForces : the_redback * @UVA : Redback * @link : http://www.fb.com/maruf.2hin */ #include<cstdio> #include<cstring> #include<cstdlib> #include<cctype> #include<cmath> #include<iostream> #i...
19.39726
67
0.484463
Maruf-Tuhin
62b96cc0e71367910cf61c48ca64a1ca20e1e487
826
cpp
C++
src/MdCharm/util/updatetocthread.cpp
MonkeyMo/MdCharm
78799f0bd85603aae9361b4fca05384a69f690e6
[ "BSD-3-Clause" ]
387
2015-01-01T17:51:59.000Z
2021-06-13T19:40:15.000Z
src/MdCharm/util/updatetocthread.cpp
MonkeyMo/MdCharm
78799f0bd85603aae9361b4fca05384a69f690e6
[ "BSD-3-Clause" ]
26
2015-01-09T08:36:26.000Z
2020-04-02T12:51:01.000Z
src/MdCharm/util/updatetocthread.cpp
heefan/MdCharm
78799f0bd85603aae9361b4fca05384a69f690e6
[ "BSD-3-Clause" ]
145
2015-01-10T18:07:45.000Z
2021-09-14T07:39:35.000Z
// Copyright (c) 2014 zhangshine. All rights reserved. // Use of this source code is governed by a BSD license that can be // found in the LICENSE file. #include "updatetocthread.h" UpdateTocThread::UpdateTocThread(QObject *parent) : QThread(parent) { } void UpdateTocThread::run() { if(this->type == Markdown...
28.482759
104
0.696126
MonkeyMo
62be39df916655715856391362c1bee44d19356f
485
cpp
C++
Luogu/P1115/P1115.cpp
AtomAlpaca/OI-Codes
11f8dd4798616f1937d190e7220d7eedaeb75169
[ "WTFPL" ]
1
2021-11-12T14:19:53.000Z
2021-11-12T14:19:53.000Z
Luogu/P1115/P1115.cpp
AtomAlpaca/OI-Codes
11f8dd4798616f1937d190e7220d7eedaeb75169
[ "WTFPL" ]
null
null
null
Luogu/P1115/P1115.cpp
AtomAlpaca/OI-Codes
11f8dd4798616f1937d190e7220d7eedaeb75169
[ "WTFPL" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> using std::cin; using std::cout; int main(int argc, char const *argv[]) { //int m = -10000000; int * n = new int; cin >> *n; int nums[*n + 1] = {0}; int ans [*n + 1] = {0}; int m = -99999999; for (int i = 1; i <= *n; ++i) { ...
16.724138
57
0.463918
AtomAlpaca
62be72f300f0bc4e7c0f81203ee26c504a78719b
6,270
cpp
C++
src/main.cpp
cowdingus/SFML-Grapher
47d0e661aa9c411d9a41f4fe8f4df7860af7ec74
[ "Unlicense" ]
1
2021-01-26T09:52:41.000Z
2021-01-26T09:52:41.000Z
src/main.cpp
cowdingus/SFML-Grapher
47d0e661aa9c411d9a41f4fe8f4df7860af7ec74
[ "Unlicense" ]
1
2020-11-10T06:54:07.000Z
2020-11-10T11:40:53.000Z
src/main.cpp
cowdingus/SFML-Grapher
47d0e661aa9c411d9a41f4fe8f4df7860af7ec74
[ "Unlicense" ]
null
null
null
/* * ToDo: * look at @setSize implementation * fix bugs * * Bugs Found: * crashes and hangs the whole computer when setting zoom value to some little value */ #include "CartesianGraphView.hpp" #include "CartesianGrid.hpp" #include "DotGraph.hpp" #include <SFML/Graphics.hpp> #include <SFML/Window/ContextS...
24.782609
117
0.59378
cowdingus
498329ce67e1973db69564b5ac7ac9288d12e1be
988
hpp
C++
CTCWordBeamSearch-master/cpp/DataLoader.hpp
brucegrapes/htr
9f8f07173ccc740dd8a4dfc7e8038abe36664756
[ "MIT" ]
488
2018-03-01T11:18:26.000Z
2022-03-10T09:29:32.000Z
CTCWordBeamSearch-master/cpp/DataLoader.hpp
brucegrapes/htr
9f8f07173ccc740dd8a4dfc7e8038abe36664756
[ "MIT" ]
60
2018-03-10T18:37:51.000Z
2022-03-30T19:37:18.000Z
CTCWordBeamSearch-master/cpp/DataLoader.hpp
brucegrapes/htr
9f8f07173ccc740dd8a4dfc7e8038abe36664756
[ "MIT" ]
152
2018-03-01T11:18:25.000Z
2022-03-08T23:37:46.000Z
#pragma once #include "MatrixCSV.hpp" #include "LanguageModel.hpp" #include <string> #include <vector> #include <memory> #include <stdint.h> #include <cstddef> // load sample data, create LM from it, iterate over samples class DataLoader { public: // sample with matrix to be decoded and ground truth text struct Dat...
22.976744
145
0.733806
brucegrapes
498f94159e65d0f63e199e4534264d92426142da
434
cpp
C++
source/Ch08/orai_anyag/vector_pass_by.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
source/Ch08/orai_anyag/vector_pass_by.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
source/Ch08/orai_anyag/vector_pass_by.cpp
Vada200/UDProg-Introduction
c424b2676d6e5bfc4d53d61c5d0deded566c1c84
[ "CC0-1.0" ]
null
null
null
#include "std_lib_facilities.h" void print (vector <double>& v) //& -->referencia miatt gyorsabb a lefutás //mert nem másolódik a v, hanem a v ugyanaz lesz mint a vd1 { cout << "{"; for (int i = 0; i < v.size(); i++) { cout << v[i]; if(i < v.size()-1) cout << ","; } cout << "}\n"; } ...
16.692308
60
0.520737
Vada200
499ad331e198929ca8c0116e353dc02b3e64887b
14,774
cpp
C++
src/program_options.cpp
WenbinHou/xcp-old
e1efbebe625e379189d82b4641e575849fbcf628
[ "MIT" ]
1
2020-09-10T19:50:38.000Z
2020-09-10T19:50:38.000Z
src/program_options.cpp
WenbinHou/xcp-old
e1efbebe625e379189d82b4641e575849fbcf628
[ "MIT" ]
null
null
null
src/program_options.cpp
WenbinHou/xcp-old
e1efbebe625e379189d82b4641e575849fbcf628
[ "MIT" ]
1
2020-07-14T05:10:22.000Z
2020-07-14T05:10:22.000Z
#include "common.h" //============================================================================== // struct host_path //============================================================================== bool xcp::host_path::parse(const std::string& value) { // Handle strings like: // "relative" // "rela...
33.501134
690
0.500271
WenbinHou
499b39c54b8f164f0888e1304f52c52505ed1694
3,169
cpp
C++
include/lak/stream_util.cpp
LAK132/NetworkMaker
0ad1ba2488d80e8bba0a710e5d9984d7c5cc0739
[ "MIT" ]
null
null
null
include/lak/stream_util.cpp
LAK132/NetworkMaker
0ad1ba2488d80e8bba0a710e5d9984d7c5cc0739
[ "MIT" ]
null
null
null
include/lak/stream_util.cpp
LAK132/NetworkMaker
0ad1ba2488d80e8bba0a710e5d9984d7c5cc0739
[ "MIT" ]
1
2020-08-16T16:27:58.000Z
2020-08-16T16:27:58.000Z
/* MIT License Copyright (c) 2018 Lucas Kleiss (LAK132) 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, p...
30.180952
78
0.532029
LAK132
499c9cd941a0da86a8ba6bfb30de25722b42eba3
42
cpp
C++
4781_candyshop/4781.cpp
YouminHa/acmicpc
dddb457a3cfb03df34db0ed07680ac1a7be6cdd4
[ "MIT" ]
null
null
null
4781_candyshop/4781.cpp
YouminHa/acmicpc
dddb457a3cfb03df34db0ed07680ac1a7be6cdd4
[ "MIT" ]
null
null
null
4781_candyshop/4781.cpp
YouminHa/acmicpc
dddb457a3cfb03df34db0ed07680ac1a7be6cdd4
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream>
7
19
0.666667
YouminHa
49a7dbc2bdc7d142b3de9ff2cfce31e67f3a35fd
645
cpp
C++
Source/mods.cpp
HaikuArchives/Rez
db5e7e1775a379e1e54bc17012047d92ec782202
[ "BSD-4-Clause" ]
1
2016-09-12T19:04:30.000Z
2016-09-12T19:04:30.000Z
Source/mods.cpp
HaikuArchives/Rez
db5e7e1775a379e1e54bc17012047d92ec782202
[ "BSD-4-Clause" ]
null
null
null
Source/mods.cpp
HaikuArchives/Rez
db5e7e1775a379e1e54bc17012047d92ec782202
[ "BSD-4-Clause" ]
null
null
null
#include "mods.h" #include <cstdio> /************************************************************************* * Modifications to the standard REZ distribution. * Copyright (c) 2000, Tim Vernum * This code may be freely used for any purpose *************************************************************************/...
17.432432
75
0.472868
HaikuArchives
49b41afb9d64fe942c0e7c9d0cfbf4b64821414a
358
cpp
C++
Graph/main.cpp
yanelox/ilab_2year
4597b2fbc498a816368101283d2749ac7bbf670a
[ "MIT" ]
null
null
null
Graph/main.cpp
yanelox/ilab_2year
4597b2fbc498a816368101283d2749ac7bbf670a
[ "MIT" ]
null
null
null
Graph/main.cpp
yanelox/ilab_2year
4597b2fbc498a816368101283d2749ac7bbf670a
[ "MIT" ]
1
2021-10-11T19:18:37.000Z
2021-10-11T19:18:37.000Z
#include "graph.cpp" int main () { graph::graph_ <int> G {}; if (G.input() == 0) { std::cout << "Incorrect input\n"; return 0; } // std::cout << G; int res = G.colorize(); // G.recolorize(); if (res == 1) G.print_colors(std::cout); else std::cou...
14.916667
52
0.472067
yanelox
49ba8348d2d36c463bd163cb89fee32926da201a
401
hpp
C++
include/dotto/debug.hpp
mitsukaki/dotto
ebea72447e854c9beff676fe609d998a3cb0b3ea
[ "CC0-1.0" ]
4
2018-03-05T22:51:40.000Z
2018-03-11T00:54:38.000Z
include/dotto/debug.hpp
mitsukaki/dotto
ebea72447e854c9beff676fe609d998a3cb0b3ea
[ "CC0-1.0" ]
null
null
null
include/dotto/debug.hpp
mitsukaki/dotto
ebea72447e854c9beff676fe609d998a3cb0b3ea
[ "CC0-1.0" ]
1
2019-09-14T19:44:14.000Z
2019-09-14T19:44:14.000Z
#pragma once #include <string> #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_ttf.h> #include <dotto/io.hpp> class debug { private: TTF_Font* debug_font; SDL_Rect fps_text_rect; SDL_Surface* fps_text_surface; SDL_Texture* fps_text_texture; public: debug(); ~debug();...
12.151515
40
0.665835
mitsukaki
49bc2b5de44ea8cffd8978e2372400df92994655
590
cpp
C++
hackerrank/problems/GameOfThrones-I.cpp
joaquinmd93/competitive-programming
681424abd777cc0a3059e1ee66ae2cee958178da
[ "MIT" ]
1
2020-10-08T19:28:40.000Z
2020-10-08T19:28:40.000Z
hackerrank/problems/GameOfThrones-I.cpp
joaquinmd93/competitive-programming
681424abd777cc0a3059e1ee66ae2cee958178da
[ "MIT" ]
null
null
null
hackerrank/problems/GameOfThrones-I.cpp
joaquinmd93/competitive-programming
681424abd777cc0a3059e1ee66ae2cee958178da
[ "MIT" ]
1
2020-10-24T02:32:27.000Z
2020-10-24T02:32:27.000Z
#include<bits/stdc++.h> using namespace std; int main() { string s; cin >> s; int n = s.size(); map<char, int> reps; for (int i=0; i<n; ++i) { ++reps[s[i]]; } int odd_reps=0; for (auto let: reps) { if (let.second % 2 != 0) ++odd_reps; } if (n % 2 ...
21.071429
37
0.383051
joaquinmd93
49bfb9d091eb75a7ace1930c89cc4d2d1b3a5aae
1,830
hpp
C++
include/RED4ext/Scripting/Natives/Generated/anim/DangleConstraint_SimulationPendulum.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/anim/DangleConstraint_SimulationPendulum.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/anim/DangleConstraint_SimulationPendulum.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/Vector3.hpp> #include <RED4ext/Scripting/Natives/Generated/anim/DangleConstraint_SimulationSingleBone.hpp> #include <RED4ext/Scripting/Natives/Generated...
36.6
93
0.757923
jackhumbert
49c35d5da78523cf5f60013d0b0803761665d2e9
1,548
cpp
C++
src/Parse/Parser.cpp
artagnon/rhine
ca4ec684162838f4cb13d9d29ef9e4aedbc268dd
[ "MIT" ]
234
2015-01-02T18:32:50.000Z
2022-02-03T19:41:33.000Z
src/Parse/Parser.cpp
artagnon/rhine
ca4ec684162838f4cb13d9d29ef9e4aedbc268dd
[ "MIT" ]
7
2015-02-16T15:02:54.000Z
2016-05-26T07:46:02.000Z
src/Parse/Parser.cpp
artagnon/rhine
ca4ec684162838f4cb13d9d29ef9e4aedbc268dd
[ "MIT" ]
13
2015-02-16T13:37:12.000Z
2020-12-12T04:18:43.000Z
#include "rhine/Parse/ParseDriver.hpp" #include "rhine/Parse/Parser.hpp" #include "rhine/Parse/Lexer.hpp" #include "rhine/Diagnostic/Diagnostic.hpp" #include "rhine/IR/Context.hpp" #include "rhine/IR/Module.hpp" #include <vector> #define K Driver->Ctx namespace rhine { Parser::Parser(ParseDriver *Dri) : Driver(Dri)...
23.104478
75
0.687339
artagnon
49cb02d9b7eecd8c0fe5b389a18b8f277d0733cc
5,911
cpp
C++
Quake/Notes005/src/DIYQuake/ModelManager.cpp
amroibrahim/DIYQuake
957d4b86fc6edc3eedf0e322eafce89dc336261f
[ "MIT" ]
13
2020-12-06T20:11:40.000Z
2021-12-14T16:28:48.000Z
Quake/Notes005/src/DIYQuake/ModelManager.cpp
amroibrahim/DIYQuake
957d4b86fc6edc3eedf0e322eafce89dc336261f
[ "MIT" ]
1
2021-05-02T02:31:51.000Z
2021-05-02T17:00:49.000Z
Quake/Notes005/src/DIYQuake/ModelManager.cpp
amroibrahim/DIYQuake
957d4b86fc6edc3eedf0e322eafce89dc336261f
[ "MIT" ]
1
2020-12-17T12:17:16.000Z
2020-12-17T12:17:16.000Z
#include "ModelManager.h" #include <string> void ModelManager::Init(MemoryManager* pMemorymanager, Common* pCommon) { m_pMemorymanager = pMemorymanager; m_pCommon = pCommon; } ModelData* ModelManager::Load(char* szName) { ModelData* pModelData = nullptr; pModelData = Find(szName); return Load(pModel...
26.746606
148
0.682964
amroibrahim
49ccafc5c5b597763564ff02b523f969ebbb4ede
728
hpp
C++
src/utility/apply.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2018-07-04T16:44:04.000Z
2021-01-03T07:26:27.000Z
test/utility/apply.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
test/utility/apply.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
#pragma once // std c++ headers #include <tuple> #include <array> // AMDiS includes #include "traits/basic.hpp" #include "traits/size.hpp" #include "utility/int_seq.hpp" namespace AMDiS { namespace detail { // return f(t[0], t[1], t[2], ...) template <class F, class Tuple, int... I> constexpr auto ap...
22.060606
82
0.612637
spraetor
49d165e039d2329018c519729c723a32fecadf17
284
cpp
C++
src/Test/src/MockAudioPlayerView.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
src/Test/src/MockAudioPlayerView.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
src/Test/src/MockAudioPlayerView.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "MockAudioPlayerView.h" using namespace std; void MockAudioPlayerView::Hide() { isShown = false; } void MockAudioPlayerView::SetFileName(wstring & name) { this->name = name; } void MockAudioPlayerView::Show() { isShown = true; }
14.2
54
0.676056
don-reba
49d35ea928779a62915396dd753395a313af8644
4,593
cpp
C++
source/networkrequest.cpp
KambizAsadzadeh/RestService
ca677068954cd9b6f08d42d8deabdaf07c712d93
[ "MIT" ]
7
2020-10-31T19:03:12.000Z
2022-02-04T09:50:56.000Z
source/networkrequest.cpp
KambizAsadzadeh/RestService
ca677068954cd9b6f08d42d8deabdaf07c712d93
[ "MIT" ]
null
null
null
source/networkrequest.cpp
KambizAsadzadeh/RestService
ca677068954cd9b6f08d42d8deabdaf07c712d93
[ "MIT" ]
null
null
null
#include "networkrequest.hpp" #include "core.hpp" using namespace RestService; namespace RestService { NetworkRequest::NetworkRequest() { this->result = "Unknown"; curl = curl_easy_init(); if(!curl) throw std::string ("Curl did not initialize!"); } NetworkRequest::~NetworkRequest() { clea...
28.52795
96
0.641193
KambizAsadzadeh
49d8992285acc111bb590e67ebf8c19642969e2e
51
cpp
C++
module/armor/fan_armor.cpp
PaPaPR/WolfVision
4092a313491349397106e3c050a332b2a5c6e611
[ "MIT" ]
null
null
null
module/armor/fan_armor.cpp
PaPaPR/WolfVision
4092a313491349397106e3c050a332b2a5c6e611
[ "MIT" ]
null
null
null
module/armor/fan_armor.cpp
PaPaPR/WolfVision
4092a313491349397106e3c050a332b2a5c6e611
[ "MIT" ]
null
null
null
#include "fan_armor.hpp" namespace fan_armor { }
8.5
24
0.72549
PaPaPR
49da617293b4093c5c6d63da2090ee45557b3e6f
1,208
cpp
C++
Engine/OGF-Core/Core/Threads/ThreadPool.cpp
simon-bourque/OpenGameFramework
e0fed3895000a5ae244fc1ef696f4256af29865b
[ "MIT" ]
4
2017-12-31T05:24:24.000Z
2021-06-08T07:33:57.000Z
Engine/OGF-Core/Core/Threads/ThreadPool.cpp
simon-bourque/OpenGameFramework
e0fed3895000a5ae244fc1ef696f4256af29865b
[ "MIT" ]
10
2018-01-13T22:36:57.000Z
2018-06-23T20:03:03.000Z
Engine/OGF-Core/Core/Threads/ThreadPool.cpp
simon-bourque/OpenGameFramework
e0fed3895000a5ae244fc1ef696f4256af29865b
[ "MIT" ]
null
null
null
#include "ThreadPool.h" ThreadPool::ThreadWorker::ThreadWorker(ThreadPool* threadPool, const int threadIdx) :m_threadPool(threadPool),m_threadIdx(threadIdx) {} void ThreadPool::ThreadWorker::operator()() { std::function<void()> function; bool dequeued; while (!m_threadPool->m_shutdown) { { std::unique_lock<s...
23.230769
83
0.683775
simon-bourque
49df51121939c40f1c347a5d84b8f2c9c642cf52
1,811
cpp
C++
Source/UnrealCPP/ActorLineTrace/ActorLineTrace.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
6
2018-04-22T15:27:39.000Z
2021-11-02T17:33:58.000Z
Source/UnrealCPP/ActorLineTrace/ActorLineTrace.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
null
null
null
Source/UnrealCPP/ActorLineTrace/ActorLineTrace.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
4
2018-07-26T15:39:46.000Z
2020-12-28T08:10:35.000Z
// Harrison McGuire // UE4 Version 4.19.0 // https://github.com/Harrison1/unrealcpp // https://severallevels.io // https://harrisonmcguire.com #include "ActorLineTrace.h" #include "ConstructorHelpers.h" #include "DrawDebugHelpers.h" // Sets default values AActorLineTrace::AActorLineTrace() { // Set this actor to ca...
28.746032
151
0.732192
Harrison1
49e067ba72c9284c68a76f2dc24c67c337584b14
3,539
hpp
C++
cmake/templates/spirv.in.hpp
EEnginE/engine
9d8fe2c8a3051b8d25a15debdf058ac900f6a7fc
[ "Apache-2.0" ]
28
2015-01-02T19:06:37.000Z
2018-11-23T11:34:17.000Z
cmake/templates/spirv.in.hpp
EEnginE/engine
9d8fe2c8a3051b8d25a15debdf058ac900f6a7fc
[ "Apache-2.0" ]
null
null
null
cmake/templates/spirv.in.hpp
EEnginE/engine
9d8fe2c8a3051b8d25a15debdf058ac900f6a7fc
[ "Apache-2.0" ]
6
2015-01-10T16:48:14.000Z
2019-10-08T13:43:44.000Z
/*! * \file @FILENAME_HPP@ * \brief \b Classes: \a @CLASSNAME@ * \warning This file was automatically generated by createSPIRV! */ // clang-format off #pragma once #include "defines.hpp" #include "rShaderBase.hpp" namespace e_engine { class iInit; class rWorld; class @CLASSNAME@ : public rShaderBase { privat...
20.456647
67
0.558915
EEnginE
49e2ae5f9a64d8219c64ae96f89c3f5626f47961
5,795
cpp
C++
src/geometry/similarity_graph_optimization.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
90
2019-05-19T03:48:23.000Z
2022-02-02T15:20:49.000Z
src/geometry/similarity_graph_optimization.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
11
2019-05-22T07:45:46.000Z
2021-05-20T01:48:26.000Z
src/geometry/similarity_graph_optimization.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
18
2019-05-19T03:48:32.000Z
2021-05-29T18:19:16.000Z
#include "similarity_graph_optimization.h" #include <unordered_map> #include <vector> using namespace std; namespace GraphSfM { namespace geometry { SimilarityGraphOptimization::SimilarityGraphOptimization() { } SimilarityGraphOptimization::~SimilarityGraphOptimization() { } // void SimilarityGraphOptimization:...
36.21875
104
0.654012
bitlw
49e59d73d462c2f808ff4e110e50602d30b01dfc
5,594
cpp
C++
Source/DedicatedServerTest/Private/GameFramework/Pawn/MyPawn.cpp
dorgonman/DedicatedServerTest
8bfe6e8357929fbd68be52e11ba27f78492931c8
[ "BSL-1.0" ]
1
2019-03-31T22:54:37.000Z
2019-03-31T22:54:37.000Z
Source/DedicatedServerTest/Private/GameFramework/Pawn/MyPawn.cpp
dorgonman/DedicatedServerTest
8bfe6e8357929fbd68be52e11ba27f78492931c8
[ "BSL-1.0" ]
null
null
null
Source/DedicatedServerTest/Private/GameFramework/Pawn/MyPawn.cpp
dorgonman/DedicatedServerTest
8bfe6e8357929fbd68be52e11ba27f78492931c8
[ "BSL-1.0" ]
1
2021-10-21T04:37:37.000Z
2021-10-21T04:37:37.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "MyPawn.h" #include "DedicatedServerTest.h" #include "Net/UnrealNetwork.h" #include "MyBlueprintFunctionLibrary.h" #include "MyFloatingPawnMovement.h" // Sets default values AMyPawn::AMyPawn() { // Set this pawn to call Tick() ...
34.745342
136
0.774401
dorgonman
49f1571c982a67dcac7b10394f0279546b656d05
841
cpp
C++
libraries/audio/src/AudioInjectorOptions.cpp
Adrianl3d/hifi
7bd01f606b768f6aa3e21d48959718ad249a3551
[ "Apache-2.0" ]
null
null
null
libraries/audio/src/AudioInjectorOptions.cpp
Adrianl3d/hifi
7bd01f606b768f6aa3e21d48959718ad249a3551
[ "Apache-2.0" ]
null
null
null
libraries/audio/src/AudioInjectorOptions.cpp
Adrianl3d/hifi
7bd01f606b768f6aa3e21d48959718ad249a3551
[ "Apache-2.0" ]
null
null
null
// // AudioInjectorOptions.cpp // libraries/audio/src // // Created by Stephen Birarda on 1/2/2014. // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "AudioInjectorOpti...
26.28125
88
0.715815
Adrianl3d
49f8cb77ddc9cda152a65c6b539a4ae5f3182ed1
3,714
hpp
C++
MainGame/gameplay/SavedGame.hpp
JoaoBaptMG/ReboundTheGame
48c3d8b81de1f7fa7c622c3f815860257ccdba8e
[ "MIT" ]
63
2017-05-18T16:10:19.000Z
2022-03-26T18:05:59.000Z
MainGame/gameplay/SavedGame.hpp
JoaoBaptMG/ReboundTheGame
48c3d8b81de1f7fa7c622c3f815860257ccdba8e
[ "MIT" ]
1
2018-02-10T12:40:33.000Z
2019-01-11T07:33:13.000Z
MainGame/gameplay/SavedGame.hpp
JoaoBaptMG/ReboundTheGame
48c3d8b81de1f7fa7c622c3f815860257ccdba8e
[ "MIT" ]
4
2017-12-31T21:38:14.000Z
2019-11-20T15:13:00.000Z
// // Copyright (c) 2016-2018 João Baptista de Paula e Silva. // // 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, cop...
30.694215
99
0.635703
JoaoBaptMG
49fb4c69e792dd951d888bab71bca17d8ccc9350
668
hpp
C++
src/onthepitch/player/controller/strategies/offtheball/default_off.hpp
iloveooz/GameplayFootball
257a871de76b5096776e553cfe7abd39471f427a
[ "Unlicense" ]
177
2017-11-03T09:01:46.000Z
2022-03-30T13:52:00.000Z
src/onthepitch/player/controller/strategies/offtheball/default_off.hpp
congkay8/GameplayFootballx
eea12819257d428dc4dd0cc033501fb59bb5fbae
[ "Unlicense" ]
16
2017-11-06T22:38:43.000Z
2021-07-28T03:25:44.000Z
src/onthepitch/player/controller/strategies/offtheball/default_off.hpp
congkay8/GameplayFootballx
eea12819257d428dc4dd0cc033501fb59bb5fbae
[ "Unlicense" ]
48
2017-12-19T17:03:28.000Z
2022-03-09T08:11:34.000Z
// written by bastiaan konings schuiling 2008 - 2015 // this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important. // i do not offer support, so don't ask. to be used for inspiration :) #ifndef _HPP_STRATEGY_DEFAULT_OFFENSE #define _HPP_STRATE...
29.043478
133
0.747006
iloveooz
49fc46b7676097f8e4fbf75dd864a23a63f4bf13
1,871
cpp
C++
lxt/gfx/unit_tests/test_model.cpp
justinsaunders/luxatron
d474c21fb93b8ee9230ad25e6113d43873d75393
[ "MIT" ]
null
null
null
lxt/gfx/unit_tests/test_model.cpp
justinsaunders/luxatron
d474c21fb93b8ee9230ad25e6113d43873d75393
[ "MIT" ]
2
2017-06-08T21:51:34.000Z
2017-06-08T21:51:56.000Z
lxt/gfx/unit_tests/test_model.cpp
justinsaunders/luxatron
d474c21fb93b8ee9230ad25e6113d43873d75393
[ "MIT" ]
null
null
null
/* * test_model.cpp * test_runner * * Created by Justin on 16/04/09. * Copyright 2009 Monkey Style Games. All rights reserved. * */ #include <UnitTest++.h> #include "gfx/gfx.h" #include "core/archive.h" namespace { // DummyTexturePool just inserts a dummy texture, so it never has to be // "loaded". cl...
19.091837
75
0.622662
justinsaunders
b701dc946000c6a0c66e0baff00475bfcfbb4553
4,217
cpp
C++
utests/khttp_request_tests.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
utests/khttp_request_tests.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
utests/khttp_request_tests.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
1
2021-08-20T16:15:01.000Z
2021-08-20T16:15:01.000Z
#include "catch.hpp" #include <dekaf2/khttp_request.h> #include <dekaf2/krestserver.h> #include <dekaf2/kfilesystem.h> using namespace dekaf2; TEST_CASE("KHTTPRequest") { SECTION("KInHTTPRequestLine") { KInHTTPRequestLine RL; CHECK (RL.IsValid() == false); CHECK (RL.Get() == ""); CHECK (RL.GetMe...
33.468254
77
0.551103
ridgeware
8e68c5de4e49a1a0e094ae51daa5a6be2ca4ac42
1,434
cpp
C++
OVP/D3D7Client/MeshMgr.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
OVP/D3D7Client/MeshMgr.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
OVP/D3D7Client/MeshMgr.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
// Copyright (c) Martin Schweiger // Licensed under the MIT License // ============================================================== // ORBITER VISUALISATION PROJECT (OVP) // D3D7 Client module // ============================================================== // ==================================================...
21.727273
65
0.545328
Ybalrid
8e6da4989768f7e0aba7446a6aabff2d32522ac0
2,300
cpp
C++
tests/Cases/LowLevel/ProtocolTypes/TestProtocolVint.cpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
41
2018-01-23T09:27:32.000Z
2021-02-15T15:49:07.000Z
tests/Cases/LowLevel/ProtocolTypes/TestProtocolVint.cpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
20
2018-01-25T04:25:48.000Z
2019-03-09T02:49:41.000Z
tests/Cases/LowLevel/ProtocolTypes/TestProtocolVint.cpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
5
2018-04-10T12:19:13.000Z
2020-02-17T03:30:50.000Z
#include <CQLDriver/Common/Exceptions/DecodeException.hpp> #include <LowLevel/ProtocolTypes/ProtocolVint.hpp> #include <TestUtility/GTestUtils.hpp> TEST(TestProtocolVint, getset) { cql::ProtocolVint value(1); ASSERT_EQ(value.get(), 1); value.set(0x7fff0000aaaaeeee); ASSERT_EQ(value.get(), static_cast<std::int64_t>...
24.210526
74
0.668696
cpv-project
8e73c340a916df129e7692a9710290f863693c31
2,395
hpp
C++
SpaceBomber/Linux/graph/Splash.hpp
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
40
2018-01-28T14:23:27.000Z
2022-03-05T15:57:47.000Z
SpaceBomber/Linux/graph/Splash.hpp
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
1
2021-10-05T09:03:51.000Z
2021-10-05T09:03:51.000Z
SpaceBomber/Linux/graph/Splash.hpp
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
73
2019-01-07T18:47:00.000Z
2022-03-31T08:48:38.000Z
// // Splash.hpp for hey in /home/cailla_o/Work/C++/cpp_indie_studio/graph // // Made by Oihan Caillaud // Login <cailla_o@epitech.net> // // Started on Mon May 30 10:11:42 2016 Oihan Caillaud // Last update Thu Jun 2 00:14:21 2016 // Last update Tue May 31 11:42:52 2016 // #ifndef SPLASH_HPP_ #define SPLASH_HP...
30.705128
80
0.7119
667MARTIN
8e74c6d36bab66a364db7720133d1d6155667a5a
360
cpp
C++
Stereolabs/Source/Stereolabs/Private/Threading/StereolabsRunnable.cpp
stereolabs/zed-unreal-plugin
0fabf29edc84db1126f0c4f73b9ce501e322be96
[ "MIT" ]
38
2018-02-27T22:53:56.000Z
2022-02-10T05:46:51.000Z
Stereolabs/Source/Stereolabs/Private/Threading/StereolabsRunnable.cpp
HuangArmagh/zed-unreal-plugin
3bd8872577f49e2eb5f6cb8a6a610a4c786f6104
[ "MIT" ]
14
2018-05-26T03:15:16.000Z
2022-03-02T14:34:10.000Z
Stereolabs/Source/Stereolabs/Private/Threading/StereolabsRunnable.cpp
HuangArmagh/zed-unreal-plugin
3bd8872577f49e2eb5f6cb8a6a610a4c786f6104
[ "MIT" ]
16
2018-01-23T22:55:34.000Z
2021-12-20T18:34:08.000Z
//======= Copyright (c) Stereolabs Corporation, All rights reserved. =============== #include "StereolabsPrivatePCH.h" #include "Stereolabs/Public/Threading/StereolabsRunnable.h" FSlRunnable::FSlRunnable() : Thread(nullptr), bIsRunning(false), bIsPaused(false), bIsSleeping(false) { } FSlRunnable::~FSlRunnable(...
18
84
0.705556
stereolabs
8e7744dd7d2cee3e4e72f48a233d862b6f13e346
6,891
cpp
C++
src/xray/engine/sources/engine_world_editor.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/engine/sources/engine_world_editor.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/engine/sources/engine_world_editor.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 17.06.2009 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "engine_world.h" #include "rpc.h" #i...
28.475207
111
0.681759
ixray-team
8e7f1d33373959812148cf82e370019cbcb8c484
3,553
cpp
C++
Diagram/DiagramTextItem.cpp
devonchenc/NovaImage
3d17166f9705ba23b89f1aefd31ac2db97385b1c
[ "MIT" ]
null
null
null
Diagram/DiagramTextItem.cpp
devonchenc/NovaImage
3d17166f9705ba23b89f1aefd31ac2db97385b1c
[ "MIT" ]
null
null
null
Diagram/DiagramTextItem.cpp
devonchenc/NovaImage
3d17166f9705ba23b89f1aefd31ac2db97385b1c
[ "MIT" ]
null
null
null
#include "DiagramTextItem.h" #include <QDebug> #include <QTextCursor> #include "../Core/GlobalFunc.h" DiagramTextItem::DiagramTextItem(QGraphicsItem* parent) : QGraphicsTextItem(parent) { setFlag(QGraphicsItem::ItemIsMovable); setFlag(QGraphicsItem::ItemIsSelectable); _positionLastTime = QPointF(0, 0...
30.62931
86
0.71714
devonchenc
8e8b7903b026478e454007fe1df9115c428d6744
5,521
cpp
C++
tests/Unit/Evolution/EventsAndTriggers/Test_EventsAndTriggers.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
tests/Unit/Evolution/EventsAndTriggers/Test_EventsAndTriggers.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
tests/Unit/Evolution/EventsAndTriggers/Test_EventsAndTriggers.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. // This file checks the Completion event and the basic logical // triggers (Always, And, Not, and Or). #include "tests/Unit/TestingFramework.hpp" #include <algorithm> #include <memory> #include <pup.h> #include <string> #include <unordered_map> #...
32.668639
93
0.63503
marissawalker
8e8d2f55740dd591fc5dab9a9c969cb5ba645222
882
cpp
C++
src/my_utils/vector2_utils.cpp
lobinuxsoft/AsteroidXD-SFML
66fb355dfb20ef840068ad948bef9fc97a75f7cd
[ "MIT" ]
null
null
null
src/my_utils/vector2_utils.cpp
lobinuxsoft/AsteroidXD-SFML
66fb355dfb20ef840068ad948bef9fc97a75f7cd
[ "MIT" ]
16
2021-11-09T15:22:24.000Z
2021-11-23T14:02:43.000Z
src/my_utils/vector2_utils.cpp
lobinuxsoft/AsteroidXD-SFML
66fb355dfb20ef840068ad948bef9fc97a75f7cd
[ "MIT" ]
null
null
null
#include "vector2_utils.h" float Vector2Angle(Vector2f v1, Vector2f v2) { float result = atan2f(v2.y - v1.y, v2.x - v1.x) * (180.0f / PI); if (result < 0) result += 360.0f; return result; } float Vector2Distance(Vector2f v1, Vector2f v2) { return sqrtf((v1.x - v2.x) * (v1.x - v2.x) + (v1.y - v2.y) * (...
21
80
0.620181
lobinuxsoft
8e8e54a5dc9f20dc63765ef2a60be805e89c0bea
4,428
cpp
C++
Cutscene Manager Handout/Motor2D/j1CutsceneManager.cpp
pauraurell/Cutscene-Manager
f887b2a14e1c4e3623d2d8933d7893280ab27f53
[ "MIT" ]
null
null
null
Cutscene Manager Handout/Motor2D/j1CutsceneManager.cpp
pauraurell/Cutscene-Manager
f887b2a14e1c4e3623d2d8933d7893280ab27f53
[ "MIT" ]
null
null
null
Cutscene Manager Handout/Motor2D/j1CutsceneManager.cpp
pauraurell/Cutscene-Manager
f887b2a14e1c4e3623d2d8933d7893280ab27f53
[ "MIT" ]
null
null
null
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Scene.h" #include "j1Render.h" #include "j1Window.h" #include "j1CutsceneCharacters.h" #include "j1CutsceneManager.h" j1CutsceneManager::j1CutsceneManager() : j1Module() { name.create("cutscene"); } //...
24.464088
131
0.727191
pauraurell
8e8fb299899a755581ac3a9945f0b7b0ae52f35b
362
cpp
C++
ch04/th4-5-1.cpp
nanonashy/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
3
2021-12-17T17:25:18.000Z
2022-03-02T15:52:23.000Z
ch04/th4-5-1.cpp
nashinium/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
1
2020-04-22T07:16:34.000Z
2020-04-22T10:04:04.000Z
ch04/th4-5-1.cpp
nashinium/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
1
2020-04-22T08:13:51.000Z
2020-04-22T08:13:51.000Z
#include "../include/std_lib_facilities.h" int square(int x) { int result{0}; for (int i = 1; i <= x; ++i) result += x; return result; } int main() { std::cout << "Number\tSquare\n"; for (int i = 1; i <= 100; ++i) std::cout << i << '\t' << square(i) << std::endl; ...
19.052632
58
0.477901
nanonashy
8e8fcbbb94e6ebae074192cb4816cf0be70a6a58
14,565
cpp
C++
src/llri-vk/detail/device.cpp
Rythe-Interactive/Rythe-LLRI
0bf9ff71c41b39f7189cbc5ebbf4a74420cedc05
[ "MIT" ]
2
2022-02-08T07:11:32.000Z
2022-02-08T08:10:31.000Z
src/llri-vk/detail/device.cpp
Rythe-Interactive/Rythe-LLRI
0bf9ff71c41b39f7189cbc5ebbf4a74420cedc05
[ "MIT" ]
1
2022-02-14T18:26:31.000Z
2022-02-14T18:26:31.000Z
src/llri-vk/detail/device.cpp
Rythe-Interactive/Rythe-LLRI
0bf9ff71c41b39f7189cbc5ebbf4a74420cedc05
[ "MIT" ]
null
null
null
/** * @file device.cpp * Copyright (c) 2021 Leon Brands, Rythe Interactive * SPDX-License-Identifier: MIT */ #include <llri/llri.hpp> #include <llri-vk/utils.hpp> namespace llri { result Device::impl_createCommandGroup(queue_type type, CommandGroup** cmdGroup) { auto* output = new CommandGroup(); ...
42.340116
160
0.646413
Rythe-Interactive
8e90fefa694ca74307c3d8b7758f4510a1e6acf2
11,757
cpp
C++
src/args.cpp
valet-bridge/valet
8e20da1b496cb6fa42894b9ef420375cb7a5d2cd
[ "Apache-2.0" ]
null
null
null
src/args.cpp
valet-bridge/valet
8e20da1b496cb6fa42894b9ef420375cb7a5d2cd
[ "Apache-2.0" ]
1
2015-11-15T08:20:33.000Z
2018-03-04T09:48:23.000Z
src/args.cpp
valet-bridge/valet
8e20da1b496cb6fa42894b9ef420375cb7a5d2cd
[ "Apache-2.0" ]
null
null
null
/* Valet, a generalized Butler scorer for bridge. Copyright (C) 2015 by Soren Hein. See LICENSE and README. */ // These functions parse the command line for options. #include <iostream> #include <iomanip> #include <string> #include <stdlib.h> #include <string.h> #include "args.h" #include "cst.h" usin...
25.06823
79
0.514417
valet-bridge
8e91c7f6dbd37560842a3312c31bd1bb3530d8c5
1,258
cpp
C++
source/ktwgEngine/Shaders/cpp/SimpleForwardParams.cpp
JasonWyx/ktwgEngine
410ba799f7000895995b9f9fc59d738f293f8871
[ "MIT" ]
null
null
null
source/ktwgEngine/Shaders/cpp/SimpleForwardParams.cpp
JasonWyx/ktwgEngine
410ba799f7000895995b9f9fc59d738f293f8871
[ "MIT" ]
12
2019-09-15T07:48:18.000Z
2019-12-08T17:23:22.000Z
source/ktwgEngine/Shaders/cpp/SimpleForwardParams.cpp
JasonWyx/ktwgEngine
410ba799f7000895995b9f9fc59d738f293f8871
[ "MIT" ]
null
null
null
#include "SimpleForwardParams.h" #include "../../d3d11staticresources.h" #include "../../d3d11device.h" #include "../../d3d11renderapi.h" #include "../../d3d11hardwarebuffer.h" DEFINE_STATIC_BUFFER(SimpleForwardParamsCbuf); void ShaderInputs::SimpleForwardParams::InitializeHWResources() { D3D11Device* device = D3D1...
33.105263
168
0.744038
JasonWyx
8e9305816904c0b57e845732123269d7b633b295
935
cc
C++
list/reversed_linked_list.cc
windscope/Cracking
0db01f531ff56428bafff72aaea1d046dbc14112
[ "Apache-2.0" ]
null
null
null
list/reversed_linked_list.cc
windscope/Cracking
0db01f531ff56428bafff72aaea1d046dbc14112
[ "Apache-2.0" ]
null
null
null
list/reversed_linked_list.cc
windscope/Cracking
0db01f531ff56428bafff72aaea1d046dbc14112
[ "Apache-2.0" ]
null
null
null
// Reverse Linked List // https://leetcode.com/problems/reverse-linked-list/ /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ #include <cassert> #include <iostream> using namespace std; struct ListNode { ...
19.479167
53
0.562567
windscope
8e97a5b95fe2ad04a91d0beb91126d71b13e1664
1,885
cpp
C++
state.cpp
sl424/hunting-game
f79bea39a061c8b8cfbf430ab0d73cd6539ddb0f
[ "Apache-2.0" ]
null
null
null
state.cpp
sl424/hunting-game
f79bea39a061c8b8cfbf430ab0d73cd6539ddb0f
[ "Apache-2.0" ]
null
null
null
state.cpp
sl424/hunting-game
f79bea39a061c8b8cfbf430ab0d73cd6539ddb0f
[ "Apache-2.0" ]
null
null
null
/*************************************************** * Program Filename: state.cpp * Author: Chewie Lin * Date: 12 Feb 2016 * Description: main driver functions ***************************************************/ #include "state.hpp" /***************************************** * Function: pEnter() * Description...
24.802632
63
0.448276
sl424
8e9a7dfe8704ce896e0a39c9eea55cf64eb395f7
89
cpp
C++
applications/Example/Example.cpp
203Electronics/MatrixOS
ea6d84b21a97f58e2077d37d5645c5339f344d77
[ "MIT" ]
8
2021-12-30T05:29:16.000Z
2022-03-30T08:44:45.000Z
applications/Example/Example.cpp
203Electronics/MatrixOS
ea6d84b21a97f58e2077d37d5645c5339f344d77
[ "MIT" ]
null
null
null
applications/Example/Example.cpp
203Electronics/MatrixOS
ea6d84b21a97f58e2077d37d5645c5339f344d77
[ "MIT" ]
null
null
null
#include "Example.h" void ExampleAPP::Setup() { } void ExampleAPP::Loop() { }
7.416667
24
0.58427
203Electronics
8ea74d1a47c9c79b1f9ab67b2ce4a36f7bc94a10
1,380
cc
C++
test/HttpServer/compute_unittest.cc
wfrest/wfrest
5aa8c3ab5ad749ef8e9b93c8aa32d8c475062dde
[ "Apache-2.0" ]
312
2021-12-05T15:17:27.000Z
2022-03-30T10:53:01.000Z
test/HttpServer/compute_unittest.cc
chanchann/wfrest
5aa8c3ab5ad749ef8e9b93c8aa32d8c475062dde
[ "Apache-2.0" ]
15
2021-12-14T16:01:15.000Z
2022-03-15T04:27:47.000Z
test/HttpServer/compute_unittest.cc
wfrest/wfrest
5aa8c3ab5ad749ef8e9b93c8aa32d8c475062dde
[ "Apache-2.0" ]
46
2021-12-06T08:08:45.000Z
2022-03-01T06:26:38.000Z
#include "workflow/WFFacilities.h" #include "workflow/Workflow.h" #include <gtest/gtest.h> #include "wfrest/HttpServer.h" #include "wfrest/ErrorCode.h" using namespace wfrest; using namespace protocol; WFHttpTask *create_http_task(const std::string &path) { return WFTaskFactory::create_http_task("http://127.0.0...
24.210526
91
0.642029
wfrest
8ea86625c443698315f5223a9ad55d2a3299a44b
242
cpp
C++
tests/aoj/bigint.multiplication_bigint_1.test.cpp
Zeldacrafter/CompProg
5367583f45b6fe30c4c84f3ae81accf14f8f7fd3
[ "Unlicense" ]
4
2020-02-06T15:44:57.000Z
2020-12-21T03:51:21.000Z
tests/aoj/bigint.multiplication_bigint_1.test.cpp
Zeldacrafter/CompProg
5367583f45b6fe30c4c84f3ae81accf14f8f7fd3
[ "Unlicense" ]
null
null
null
tests/aoj/bigint.multiplication_bigint_1.test.cpp
Zeldacrafter/CompProg
5367583f45b6fe30c4c84f3ae81accf14f8f7fd3
[ "Unlicense" ]
null
null
null
#define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=NTL_2_C" #include "../../code/utils/bigint.cc" int main() { cin.tie(0); ios_base::sync_with_stdio(0); bigint a, b; cin >> a >> b; cout << a * b << endl; }
18.615385
82
0.619835
Zeldacrafter
8ea8a2ac3154f2b3d99c1dffbf24fc33b56b1b3c
3,018
cpp
C++
test/tsarray2.cpp
drypot/san-2.x
44e626793b1dc50826ba0f276d5cc69b7c9ca923
[ "MIT" ]
5
2019-12-27T07:30:03.000Z
2020-10-13T01:08:55.000Z
test/tsarray2.cpp
drypot/san-2.x
44e626793b1dc50826ba0f276d5cc69b7c9ca923
[ "MIT" ]
null
null
null
test/tsarray2.cpp
drypot/san-2.x
44e626793b1dc50826ba0f276d5cc69b7c9ca923
[ "MIT" ]
1
2020-07-27T22:36:40.000Z
2020-07-27T22:36:40.000Z
#include <pub\config.hpp> #include <stdpub\io.hpp> #include <pub\except.hpp> #include <pub\inline.hpp> #include <pub\char.hpp> #include <cnt\sarray.tem> #include <conpub\io.hpp> #include <time.h> #include <pub\buffer.hpp> #include <pub\fbuf.hpp> typedef sarray<char16,8*1024> arrayt; //char* fname = "fm...
18.745342
68
0.470179
drypot
8ea9435ee69f6139fa6d3430ace8728bd50421b8
1,795
cpp
C++
src/one_tree.cpp
LukasErlenbach/tsp_solver
016a1e794de7b58f666b3635977e39aeadb46c99
[ "MIT" ]
null
null
null
src/one_tree.cpp
LukasErlenbach/tsp_solver
016a1e794de7b58f666b3635977e39aeadb46c99
[ "MIT" ]
null
null
null
src/one_tree.cpp
LukasErlenbach/tsp_solver
016a1e794de7b58f666b3635977e39aeadb46c99
[ "MIT" ]
null
null
null
#include "branching_node.hpp" /** * @file one_tree.hpp * @brief Implementation of class @c OneTree. * **/ namespace Core { ///////////////////////////////////////////// //! \c OneTree definitions ///////////////////////////////////////////// OneTree::OneTree(const PredVec &preds, const Degrees &degrees, const do...
26.397059
84
0.615042
LukasErlenbach
8eaa13d41994856cf8f60f3702734dace09604e2
1,619
hpp
C++
src/rpcz/sync_call_handler.hpp
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
4
2015-06-14T13:38:40.000Z
2020-11-07T02:29:59.000Z
src/rpcz/sync_call_handler.hpp
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
1
2015-06-19T07:54:53.000Z
2015-11-12T10:38:21.000Z
src/rpcz/sync_call_handler.hpp
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
3
2015-06-15T02:28:39.000Z
2018-10-18T11:02:59.000Z
// Licensed under the Apache License, Version 2.0 (the "License"); // Author: Jin Qing (http://blog.csdn.net/jq0123) #ifndef RPCZ_SYNC_CALL_HANDLER_HPP #define RPCZ_SYNC_CALL_HANDLER_HPP #include <boost/noncopyable.hpp> #include <boost/optional.hpp> #include <google/protobuf/message.h> #include <rpcz/common.hpp> //...
22.486111
66
0.696726
jinq0123
8eb1fb99e1744279d9305287c855c2e611b06c83
2,294
hpp
C++
SDK/ARKSurvivalEvolved_PrimalItem_Spawner_Exosuit_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_PrimalItem_Spawner_Exosuit_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_PrimalItem_Spawner_Exosuit_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_PrimalItem_Spawner_Exosuit_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //-------------------------------------------...
49.869565
173
0.493897
2bite
8eb80589d93faf35ad4eb82fda45dc979a250a07
1,207
cpp
C++
test/delegate/test_bad_delegate_call.cpp
rmettler/cpp_delegates
8557a1731eccbad9608f3111c5599f666b74750e
[ "BSL-1.0" ]
4
2020-01-30T19:17:57.000Z
2020-04-02T13:03:13.000Z
test/delegate/test_bad_delegate_call.cpp
rmettler/cpp_delegates
8557a1731eccbad9608f3111c5599f666b74750e
[ "BSL-1.0" ]
null
null
null
test/delegate/test_bad_delegate_call.cpp
rmettler/cpp_delegates
8557a1731eccbad9608f3111c5599f666b74750e
[ "BSL-1.0" ]
null
null
null
// // Project: C++ delegates // // Copyright Roger Mettler 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // https://www.boost.org/LICENSE_1_0.txt) // #include <doctest.h> #include <rome/detail/bad_delegate_call.hpp> #include <type_traits> TEST_SUITE_...
40.233333
93
0.754764
rmettler
8ebd11dc81d5d857155b39acd498a54c06eaf01b
1,487
hpp
C++
discregrid/include/Discregrid/acceleration/bounding_sphere_hierarchy.hpp
lasagnaphil/Discregrid
83bec4b39445e7ed62229e6f84d94c0cfcc1136b
[ "MIT" ]
null
null
null
discregrid/include/Discregrid/acceleration/bounding_sphere_hierarchy.hpp
lasagnaphil/Discregrid
83bec4b39445e7ed62229e6f84d94c0cfcc1136b
[ "MIT" ]
null
null
null
discregrid/include/Discregrid/acceleration/bounding_sphere_hierarchy.hpp
lasagnaphil/Discregrid
83bec4b39445e7ed62229e6f84d94c0cfcc1136b
[ "MIT" ]
null
null
null
#pragma once #include "types.hpp" #include "bounding_sphere.hpp" #include "kd_tree.hpp" #include <span.hpp> namespace Discregrid { class TriangleMeshBSH : public KDTree<BoundingSphere> { public: using super = KDTree<BoundingSphere>; TriangleMeshBSH(std::span<const Vector3r> vertices, std::...
19.826667
67
0.705447
lasagnaphil
8ebde15b22131d13eebeffbf14d860e37bc7ed26
4,173
cpp
C++
src/mirrage/net/src/server.cpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
14
2017-10-26T08:45:54.000Z
2021-04-06T11:44:17.000Z
src/mirrage/net/src/server.cpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
17
2017-10-09T20:11:58.000Z
2018-11-08T22:05:14.000Z
src/mirrage/net/src/server.cpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
1
2018-09-26T23:10:06.000Z
2018-09-26T23:10:06.000Z
#include <mirrage/net/server.hpp> #include <mirrage/net/error.hpp> #include <mirrage/utils/container_utils.hpp> #include <enet/enet.h> namespace mirrage::net { Server_builder::Server_builder(Host_type type, std::string hostname, ...
32.348837
108
0.565061
lowkey42
8ebee5f2aa9ebe853f989c65ce409b121fc4bd7a
8,870
hpp
C++
include/libndgpp/network_byte_order.hpp
goodfella/libndgpp
2e3d4b993a04664905c1e257fb2af3a5faab5296
[ "MIT" ]
null
null
null
include/libndgpp/network_byte_order.hpp
goodfella/libndgpp
2e3d4b993a04664905c1e257fb2af3a5faab5296
[ "MIT" ]
null
null
null
include/libndgpp/network_byte_order.hpp
goodfella/libndgpp
2e3d4b993a04664905c1e257fb2af3a5faab5296
[ "MIT" ]
null
null
null
#ifndef LIBNDGPP_NETWORK_BYTE_ORDER_HPP #define LIBNDGPP_NETWORK_BYTE_ORDER_HPP #include <algorithm> #include <array> #include <cstring> #include <type_traits> #include <utility> #include <ostream> #include <libndgpp/network_byte_order_ops.hpp> namespace ndgpp { /** Stores a native type value in network byte ord...
29.966216
134
0.632131
goodfella
8ecca67a112fa7fab1224acf1833c07ebef08c75
2,361
cpp
C++
source/main-http.cpp
janjongboom/mbed-os-example-fota-http
20ef030aa95052a82c31c0eaece154dbc408de75
[ "MIT" ]
6
2017-10-11T08:56:32.000Z
2022-02-24T14:09:30.000Z
source/main-http.cpp
janjongboom/mbed-os-example-fota-http
20ef030aa95052a82c31c0eaece154dbc408de75
[ "MIT" ]
2
2017-08-28T16:08:36.000Z
2018-06-20T20:07:54.000Z
source/main-http.cpp
janjongboom/mbed-os-example-fota-http
20ef030aa95052a82c31c0eaece154dbc408de75
[ "MIT" ]
5
2018-03-27T08:59:23.000Z
2022-01-26T21:08:50.000Z
#include "mbed.h" #include "easy-connect.h" #include "http_request.h" #include "SDBlockDevice.h" #include "FATFileSystem.h" #define SD_MOUNT_PATH "sd" #define FULL_UPDATE_FILE_PATH "/" SD_MOUNT_PATH "/" MBED_CONF_APP_UPDATE_FILE //Pin order: MOSI, MISO, SCK, CS SDBlockDevice sd(MBED_CONF_APP_SD_CARD_MOSI,...
25.117021
115
0.650148
janjongboom
8ecfa08d7f74ed2312be0182606f1b456a6efff4
17,900
cpp
C++
src/remotecommandhandler.cpp
hrxcodes/cbftp
bf2784007dcc4cc42775a2d40157c51b80383f81
[ "MIT" ]
8
2019-04-30T00:37:00.000Z
2022-02-03T13:35:31.000Z
src/remotecommandhandler.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
2
2019-11-19T12:46:13.000Z
2019-12-20T22:13:57.000Z
src/remotecommandhandler.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
9
2020-01-15T02:38:36.000Z
2022-02-15T20:05:20.000Z
#include "remotecommandhandler.h" #include <vector> #include <list> #include "core/tickpoke.h" #include "core/iomanager.h" #include "core/types.h" #include "crypto.h" #include "globalcontext.h" #include "engine.h" #include "eventlog.h" #include "util.h" #include "sitelogicmanager.h" #include "sitelogic.h" #include "u...
31.458699
147
0.662011
hrxcodes
8ed04f1821a61c8d2ef1152f7dc235c1047a0bff
1,076
hpp
C++
lib/STL+/strings/string_hash.hpp
knela96/Game-Engine
06659d933c4447bd8d6c8536af292825ce4c2ab1
[ "Unlicense" ]
3
2018-05-07T19:09:23.000Z
2019-05-03T14:19:38.000Z
deps/stlplus/strings/string_hash.hpp
evpo/libencryptmsg
fa1ea59c014c0a9ce339d7046642db4c80fc8701
[ "BSD-2-Clause-FreeBSD", "BSD-3-Clause" ]
null
null
null
deps/stlplus/strings/string_hash.hpp
evpo/libencryptmsg
fa1ea59c014c0a9ce339d7046642db4c80fc8701
[ "BSD-2-Clause-FreeBSD", "BSD-3-Clause" ]
null
null
null
#ifndef STLPLUS_STRING_HASH #define STLPLUS_STRING_HASH //////////////////////////////////////////////////////////////////////////////// // Author: Andy Rushton // Copyright: (c) Southampton University 1999-2004 // (c) Andy Rushton 2004 onwards // License: BSD License, see ../docs/lic...
32.606061
84
0.47026
knela96
8ed99072c5824ac16f4a579bfc9832b3a4202f97
198
cpp
C++
qfb-messenger/src/network_reply_handler.cpp
NickCis/harbour-facebook-messenger
b2c2305fdcec27321893c3230bbd9e724773bd7d
[ "MIT" ]
1
2015-05-05T22:45:11.000Z
2015-05-05T22:45:11.000Z
qfb-messenger/src/network_reply_handler.cpp
NickCis/harbour-facebook-messenger
b2c2305fdcec27321893c3230bbd9e724773bd7d
[ "MIT" ]
null
null
null
qfb-messenger/src/network_reply_handler.cpp
NickCis/harbour-facebook-messenger
b2c2305fdcec27321893c3230bbd9e724773bd7d
[ "MIT" ]
null
null
null
#include "network_reply_handler.h" NetworkReplyHandler::NetworkReplyHandler(QNetworkReply* r) : QObject(r), reply(r) { connect(this->reply, SIGNAL(finished()), this, SLOT(replyFinished())); }
18
71
0.737374
NickCis
8eda40c7ef81d7a9161be254020ec7fa33e68e6e
801
cpp
C++
HW1Submit/main.cpp
manamhr/ITP365
616ea8f4074e05fd26eb8ece712b2df6aa70111f
[ "MIT" ]
null
null
null
HW1Submit/main.cpp
manamhr/ITP365
616ea8f4074e05fd26eb8ece712b2df6aa70111f
[ "MIT" ]
null
null
null
HW1Submit/main.cpp
manamhr/ITP365
616ea8f4074e05fd26eb8ece712b2df6aa70111f
[ "MIT" ]
null
null
null
// ITP 365 Spring 2017 // HW1 - Sieve of Eratosthenes // Name: Mana Mehraein // Email: mehraein@usc.edu // Platform: Mac #include <iostream> #include "gwindow.h" #include "sieve.h" #include <string> #include "vector.h" #include "strlib.h" int main(int argc, char** argv) { // Create a 500x50...
18.627907
51
0.561798
manamhr
8edd65aebe7ac2a9a4c04604b60008f586d0ae7b
239
hh
C++
mimosa/rpc/http-call.hh
abique/mimosa
42c0041b570b55a24c606a7da79c70c9933c07d4
[ "MIT" ]
24
2015-01-19T16:38:24.000Z
2022-01-15T01:25:30.000Z
mimosa/rpc/http-call.hh
abique/mimosa
42c0041b570b55a24c606a7da79c70c9933c07d4
[ "MIT" ]
2
2017-01-07T10:47:06.000Z
2018-01-16T07:19:57.000Z
mimosa/rpc/http-call.hh
abique/mimosa
42c0041b570b55a24c606a7da79c70c9933c07d4
[ "MIT" ]
7
2015-01-19T16:38:31.000Z
2020-12-12T19:10:30.000Z
#pragma once #include "json.hh" namespace mimosa { namespace rpc { bool httpCall(const std::string &url, const google::protobuf::Message &request, google::protobuf::Message *response); } }
17.071429
57
0.589958
abique
8ee250a474a297cfa9773bc8ee3176d49ab97767
1,935
cpp
C++
BasiliskII/src/BeOS/xpram_beos.cpp
jvernet/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
940
2015-01-04T12:20:10.000Z
2022-03-29T12:35:27.000Z
BasiliskII/src/BeOS/xpram_beos.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
163
2015-02-10T09:08:10.000Z
2022-03-13T05:48:10.000Z
BasiliskII/src/BeOS/xpram_beos.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
188
2015-01-07T19:46:11.000Z
2022-03-26T19:06:00.000Z
/* * xpram_beos.cpp - XPRAM handling, BeOS specific stuff * * Basilisk II (C) 1997-2008 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
22.764706
77
0.710078
jvernet
8ee65978c71f54b000ca8db80dcf15b9bcd191ff
11,443
cpp
C++
jmax/Window.cpp
JeanGamain/jmax
1d4aee47c7fad25b9c4d9a678b84c5f4aad98c04
[ "MIT" ]
null
null
null
jmax/Window.cpp
JeanGamain/jmax
1d4aee47c7fad25b9c4d9a678b84c5f4aad98c04
[ "MIT" ]
null
null
null
jmax/Window.cpp
JeanGamain/jmax
1d4aee47c7fad25b9c4d9a678b84c5f4aad98c04
[ "MIT" ]
null
null
null
#include "Window.hpp" #include "jmax.hpp" #include "math.h" #include "shader/Shader.hpp" #include <map> #include <stdexcept> #include <string> #include <utility> namespace jmax { Window::Window(unsigned int width, unsigned int height) : view(width, height) , _windowIO() , _resizeAction( std::stri...
24.450855
120
0.672289
JeanGamain
8ee690a8f8a24b61111ea21d5c0190700cbe681f
955
hpp
C++
include/cores/pdump_log.hpp
dotcom/QDPDK
9f430f9b0cef36228d14f763a023d0ff13f6a8a8
[ "MIT" ]
1
2022-02-17T03:56:57.000Z
2022-02-17T03:56:57.000Z
include/cores/pdump_log.hpp
dotcom/QDPDK
9f430f9b0cef36228d14f763a023d0ff13f6a8a8
[ "MIT" ]
null
null
null
include/cores/pdump_log.hpp
dotcom/QDPDK
9f430f9b0cef36228d14f763a023d0ff13f6a8a8
[ "MIT" ]
null
null
null
#pragma once #include "qdpdk.hpp" #define BURST_SIZE 32 template<class FROM, class TO> class CorePdumpLog{ protected: QDPDK::DeqInterface<FROM> from; QDPDK::EnqInterface<TO> to; public: CorePdumpLog(FROM deq, TO enq) : from(deq), to(enq){}; void FirstCycle(){} void LastCycle(){} void Cycle() { ...
27.285714
107
0.548691
dotcom
8eebfa9caf8a5e3d6fecfa5e877de0fd423374bd
224
cpp
C++
core/src/task/semaphore.cpp
ExaBerries/spruce
85845244f7d6cd5a662f0dbc9b4079a1230d9a4b
[ "MIT" ]
null
null
null
core/src/task/semaphore.cpp
ExaBerries/spruce
85845244f7d6cd5a662f0dbc9b4079a1230d9a4b
[ "MIT" ]
null
null
null
core/src/task/semaphore.cpp
ExaBerries/spruce
85845244f7d6cd5a662f0dbc9b4079a1230d9a4b
[ "MIT" ]
null
null
null
#include <task/semaphore.h> namespace spruce { void semaphore::lock() noexcept { locked = true; } void semaphore::unlock() noexcept { locked = false; } void semaphore::wait() noexcept { while (locked) {}; } }
14
36
0.647321
ExaBerries
8ef370a2a057895eb2c6f29c4b72e2fbe7035c89
109
cpp
C++
src/add.cpp
JacknJo/JacksHome
b1b2d0d7683eb1a8adcfdd02380c6b620e567fe2
[ "MIT" ]
null
null
null
src/add.cpp
JacknJo/JacksHome
b1b2d0d7683eb1a8adcfdd02380c6b620e567fe2
[ "MIT" ]
null
null
null
src/add.cpp
JacknJo/JacksHome
b1b2d0d7683eb1a8adcfdd02380c6b620e567fe2
[ "MIT" ]
null
null
null
#include "add.hpp" namespace jhm { add::add() = default; add::~add() = default; } // namespace jhm.
15.571429
26
0.577982
JacknJo
8ef5895790d79b560e252c6e6e7f40634ccff4a0
2,574
cpp
C++
01-dda-chessboard/DDA_Chessboard.cpp
ChetanaHegde/vtu-mca-sem3-cg
92667bef2b89726d6a272cd6425217257d47846d
[ "MIT" ]
2
2020-10-08T10:36:40.000Z
2021-05-11T16:23:19.000Z
01-dda-chessboard/DDA_Chessboard.cpp
ChetanaHegde/vtu-mca-sem3-cg
92667bef2b89726d6a272cd6425217257d47846d
[ "MIT" ]
null
null
null
01-dda-chessboard/DDA_Chessboard.cpp
ChetanaHegde/vtu-mca-sem3-cg
92667bef2b89726d6a272cd6425217257d47846d
[ "MIT" ]
2
2017-01-25T13:43:09.000Z
2019-03-18T12:03:40.000Z
/* Program 1: Write a program to implement Chessboard using DDA Line drawing algorithm. Coded by: Basavaraju R, Assistant Professor, RNSIT, Bangalore Email: basavaraju dot revanna at gmail dot com */ #include<gl\glut.h> #include<math.h> GLint start_x=50,start_y=40,end_x=start_x+80,end_y=start_y+80; vo...
22.578947
97
0.661616
ChetanaHegde