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
8dc666551e723a1ce84a5b327ca69110784aca2d
1,342
cpp
C++
source/src/Camera.cpp
medinski94/Fast-Infinite-Tilemap
c264b318126425abc62dcdca8a3b73670b37b5c3
[ "MIT" ]
3
2022-02-06T00:53:49.000Z
2022-03-13T04:04:00.000Z
source/src/Camera.cpp
medinski94/Fast-Infinite-Tilemap
c264b318126425abc62dcdca8a3b73670b37b5c3
[ "MIT" ]
null
null
null
source/src/Camera.cpp
medinski94/Fast-Infinite-Tilemap
c264b318126425abc62dcdca8a3b73670b37b5c3
[ "MIT" ]
null
null
null
#include <Camera.h> Camera::Camera(const sf::FloatRect& rectangle, float factor) : sf::View(rectangle) { this->zoomLevel = 1.0 / factor; Context::getResourceManager().get<sf::Shader>("shaders/default").setUniform( "viewport", sf::Vector3f(this->getCenter().x, this->getCenter().y, this->zoomLevel) ); Context::...
27.958333
91
0.684054
medinski94
8dc7f3b433bd917b0ff4072ec01de83f227bdf10
1,434
hpp
C++
Include/Graphics/Sprite/SpriteRenderer.hpp
gunstarpl/Game-Engine
b800ff84b4c5487a33a6c86fca6dcac1e584e223
[ "Unlicense" ]
10
2018-10-12T12:20:11.000Z
2022-01-20T17:13:50.000Z
Include/Graphics/Sprite/SpriteRenderer.hpp
gunstarpl/Game-Engine
b800ff84b4c5487a33a6c86fca6dcac1e584e223
[ "Unlicense" ]
null
null
null
Include/Graphics/Sprite/SpriteRenderer.hpp
gunstarpl/Game-Engine
b800ff84b4c5487a33a6c86fca6dcac1e584e223
[ "Unlicense" ]
null
null
null
/* Copyright (c) 2018-2021 Piotr Doan. All rights reserved. Software distributed under the permissive MIT License. */ #pragma once #include <Core/System/EngineSystem.hpp> #include "Graphics/Buffer.hpp" #include "Graphics/VertexArray.hpp" #include "Graphics/Sampler.hpp" #include "Graphics/Shader.hpp" #include ...
23.508197
84
0.713389
gunstarpl
8dccfaf7a6f3833b558976a49b8ee3c4a77e1775
2,820
cpp
C++
src/mc_preproc/mc_preproc_config.cpp
campbellhome/mc_common
71d388c28995c8e0f7d9b4d4a780f5fb820ff7dd
[ "MIT" ]
null
null
null
src/mc_preproc/mc_preproc_config.cpp
campbellhome/mc_common
71d388c28995c8e0f7d9b4d4a780f5fb820ff7dd
[ "MIT" ]
null
null
null
src/mc_preproc/mc_preproc_config.cpp
campbellhome/mc_common
71d388c28995c8e0f7d9b4d4a780f5fb820ff7dd
[ "MIT" ]
null
null
null
// Copyright (c) 2012-2019 Matt Campbell // MIT license (see License.txt) #include "mc_preproc_config.h" #include "../../submodules/parson/parson.h" #include "bb_array.h" static int json_object_get_boolean_safe(const JSON_Object *object, const char *name) { return json_value_get_boolean(json_object_get_value(object,...
30.322581
97
0.771277
campbellhome
8dd844bacd8853107554fc8d1b1761459b502a28
1,287
cpp
C++
lintcode/segmenttreemodify.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
lintcode/segmenttreemodify.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
lintcode/segmenttreemodify.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
/** * Definition of SegmentTreeNode: * class SegmentTreeNode { * public: * int start, end, max; * SegmentTreeNode *left, *right; * SegmentTreeNode(int start, int end, int max) { * this->start = start; * this->end = end; * this->max = max; * this->left = this->right ...
28.6
74
0.545455
WIZARD-CXY
8dda33718ce1d2031375bd075082a8fd93f34fd4
682
cpp
C++
mcrouter/ThreadUtil.cpp
uubk/mcrouter
c2c8d045e773f23847112c06962748e45afdf6f0
[ "MIT" ]
null
null
null
mcrouter/ThreadUtil.cpp
uubk/mcrouter
c2c8d045e773f23847112c06962748e45afdf6f0
[ "MIT" ]
null
null
null
mcrouter/ThreadUtil.cpp
uubk/mcrouter
c2c8d045e773f23847112c06962748e45afdf6f0
[ "MIT" ]
null
null
null
/* * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. * */ #include "ThreadUtil.h" #include <folly/Format.h> #include <folly/system/ThreadName.h> #include "mcrouter/options.h" namespace fa...
22.733333
75
0.692082
uubk
8ddd8f8966df10faa8d1cb1fa8f2dacd747bd05b
3,674
hpp
C++
skynet/core/ublas_extentsion.hpp
zhangzhimin/skynet
a311b86433821a071002dd279d57333baba1f973
[ "MIT" ]
5
2015-08-02T03:10:26.000Z
2018-01-16T01:07:55.000Z
skynet/core/ublas_extentsion.hpp
zhangzhimin/skynet
a311b86433821a071002dd279d57333baba1f973
[ "MIT" ]
null
null
null
skynet/core/ublas_extentsion.hpp
zhangzhimin/skynet
a311b86433821a071002dd279d57333baba1f973
[ "MIT" ]
null
null
null
/*============================================================================= The MIT License (MIT) Copyright @ 2013 by Zhang Zhimin p3.1415@qq.com 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 t...
32.22807
89
0.646434
zhangzhimin
8ddf0476ab4f5da2b7e8aa4ebeca07677f1a2603
1,125
hpp
C++
cpp_module01/ex03/HumanA.hpp
lesorres/CPP_Modules
9e7bba58320c92b39c0c81b630e9899f5b4d838a
[ "MIT" ]
null
null
null
cpp_module01/ex03/HumanA.hpp
lesorres/CPP_Modules
9e7bba58320c92b39c0c81b630e9899f5b4d838a
[ "MIT" ]
null
null
null
cpp_module01/ex03/HumanA.hpp
lesorres/CPP_Modules
9e7bba58320c92b39c0c81b630e9899f5b4d838a
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* HumanA.hpp :+: :+: :+: ...
34.090909
80
0.233778
lesorres
8de3399ec60f4f7b25713bb205418ff780175518
1,087
hpp
C++
_engine/code/include/global/component/app_accounter/provider/console.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/app_accounter/provider/console.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/app_accounter/provider/console.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
#ifndef ENGINE_COMPONENT_APP_ACCOUNTER_PROVIDER_CONSOLE_HPP #define ENGINE_COMPONENT_APP_ACCOUNTER_PROVIDER_CONSOLE_HPP #pragma once #include "global/component/app_accounter.hpp" #include "global/core/messenger.hpp" #include "global/component/logger.hpp" #include "global/core/process/service.hpp" #include "global/core...
25.880952
134
0.800368
Shelim
8de4b8f94c69f5f4d246b63e6311d5e71906005d
7,374
cpp
C++
export/windows/cpp/obj/src/flixel/system/debug/DebuggerUtil.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/flixel/system/debug/DebuggerUtil.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/flixel/system/debug/DebuggerUtil.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
// Generated by Haxe 3.3.0 #include <hxcpp.h> #ifndef INCLUDED_flixel_system_FlxAssets #include <flixel/system/FlxAssets.h> #endif #ifndef INCLUDED_flixel_system_debug_DebuggerUtil #include <flixel/system/debug/DebuggerUtil.h> #endif #ifndef INCLUDED_openfl__legacy_display_BitmapData #include <openfl/_legacy/display/B...
40.076087
293
0.744237
TinyPlanetStudios
8de83f00b87717e50fc651a30fbd33d6e4f58ee7
272
cpp
C++
Estructuras/Vectores/example.cpp
namreg2805/Estructura-de-Datos
c98671a8267543eb90ad59c205aca8e730822da2
[ "MIT" ]
null
null
null
Estructuras/Vectores/example.cpp
namreg2805/Estructura-de-Datos
c98671a8267543eb90ad59c205aca8e730822da2
[ "MIT" ]
null
null
null
Estructuras/Vectores/example.cpp
namreg2805/Estructura-de-Datos
c98671a8267543eb90ad59c205aca8e730822da2
[ "MIT" ]
null
null
null
#include <iostream> #include "timer.hh" using namespace std; double fib(int n) { if (n <= 2) return 1; return fib(n - 1) + fib(n - 2); } void test(int n) { Timer f("fibonacci"); fib(n); } int main() { cout << "Timer example" << endl; test(45); return 0; }
14.315789
34
0.577206
namreg2805
8defd59bdcbf4b5a2a9a236a34c7650b12b046eb
1,303
cpp
C++
tests/main.cpp
ElianeBriand/ensmallen
0f634056d054d100b2a70cb8f15ea9fa38680d10
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
tests/main.cpp
ElianeBriand/ensmallen
0f634056d054d100b2a70cb8f15ea9fa38680d10
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
tests/main.cpp
ElianeBriand/ensmallen
0f634056d054d100b2a70cb8f15ea9fa38680d10
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/** * @file main.cpp * @author Conrad Sanderson * * ensmallen is free software; you may redistribute it and/or modify it under * the terms of the 3-clause BSD license. You should have received a copy of * the 3-clause BSD license along with ensmallen. If not, see * http://www.opensource.org/licenses/BSD-3-Clau...
32.575
85
0.696086
ElianeBriand
8df2cf4bbaaeda20dda45744d91445c0b7b25339
1,341
hpp
C++
include/utils/memory_location_check.hpp
AlexCr4ckPentest/CppHacks
b622111955dd4f87d6a8fefb7cf3fd9febd1e106
[ "MIT" ]
2
2021-03-03T19:04:13.000Z
2021-06-19T09:02:55.000Z
include/utils/memory_location_check.hpp
AlexCr4ckPentest/CppHacks
b622111955dd4f87d6a8fefb7cf3fd9febd1e106
[ "MIT" ]
2
2021-05-10T19:36:46.000Z
2021-05-11T21:33:14.000Z
include/utils/memory_location_check.hpp
AlexCr4ckPentest/CppHacks
b622111955dd4f87d6a8fefb7cf3fd9febd1e106
[ "MIT" ]
null
null
null
#ifndef _MEMORY_LOCATION_CHECK_HPP_ #define _MEMORY_LOCATION_CHECK_HPP_ namespace alex::utils::memory_location { namespace impl { enum class location_type : short { stack, heap, null_ptr }; class location_cheker { public: location_cheker() = default; ...
31.928571
156
0.595078
AlexCr4ckPentest
8dfb0a31918fed1c489a370d5ba09d1f4458207d
363
cpp
C++
explicit_default/main.cpp
xsjames/cpp11-new-features
4b09e6799fe834ddb418b9e6a4bd8a32bca4f4fb
[ "Apache-2.0" ]
10
2015-10-12T11:25:57.000Z
2021-02-14T09:36:01.000Z
explicit_default/main.cpp
clpsz/cpp11-new-features
4b09e6799fe834ddb418b9e6a4bd8a32bca4f4fb
[ "Apache-2.0" ]
null
null
null
explicit_default/main.cpp
clpsz/cpp11-new-features
4b09e6799fe834ddb418b9e6a4bd8a32bca4f4fb
[ "Apache-2.0" ]
8
2015-11-24T12:37:59.000Z
2021-07-01T05:47:39.000Z
#include "../common.h" class Test { public: // inlinede default constructor Test() = default; Test(const Test &) = default; Test & operator =(const Test &) = default; ~Test() = default; void print(); }; void Test::print() { cout << "Test" << endl; } int main(int argc, char *argv[]) { ...
12.517241
46
0.548209
xsjames
5c1058addeaa75bf4fbfaa972773f0087eb5f3b4
2,538
hpp
C++
src/display.hpp
torresguilherme/KitsuneEngine
31028233aaab39126ae57bf395f6158e49877a33
[ "MIT" ]
1
2017-12-30T04:04:41.000Z
2017-12-30T04:04:41.000Z
src/display.hpp
torresguilherme/KitsuneEngine
31028233aaab39126ae57bf395f6158e49877a33
[ "MIT" ]
null
null
null
src/display.hpp
torresguilherme/KitsuneEngine
31028233aaab39126ae57bf395f6158e49877a33
[ "MIT" ]
null
null
null
/*************************************************************************/ /* This file is part of the */ /* Kitsune Engine Project */ /*************************************************************************/ /* Copyright (c)...
37.880597
75
0.536249
torresguilherme
5c1068153ed8fadb4ca9b0ea178655ef69c0353a
6,066
cc
C++
fuzz/src/fuzz.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
14
2020-07-31T09:35:23.000Z
2021-11-15T11:18:35.000Z
fuzz/src/fuzz.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
fuzz/src/fuzz.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
#include <atomic> #include <chrono> #include <thread> #include <signal.h> #include <getopt.h> #include "dyn/emu.hh" #include "fmt/format.h" #include "utils/timer.hh" #include "utils/random.hh" #include "fuzz/harness.hh" #include "fuzz/mutator.hh" using std::chrono_literals::operator""s; bool signal_exit = false; vo...
21.978261
73
0.638806
balayette
5c108a060130b6ed8861105b5952a5c5ae8ef0d4
197
cpp
C++
Ch 15/15.15_test.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 15/15.15_test.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 15/15.15_test.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
#include"15.15_Bulk_quote.h" #include<iostream> #include<string> using std::string; int main() { Bulk_quote bulk("0-201-78345-X", 20.00, 10, 0.5); print_total(std::cout, bulk, 20); return 0; }
16.416667
50
0.685279
Felon03
5c1564860ae17cf8fd223c8d40cdca2237b1dbf9
371
cpp
C++
Source/USlicingLogic/Private/USlicingLogicModule.cpp
joserochh/USlicing
17c2cd0f1bd4b09c132818219997a695537e6d99
[ "BSD-3-Clause" ]
null
null
null
Source/USlicingLogic/Private/USlicingLogicModule.cpp
joserochh/USlicing
17c2cd0f1bd4b09c132818219997a695537e6d99
[ "BSD-3-Clause" ]
1
2020-08-05T17:22:52.000Z
2020-08-05T18:25:00.000Z
Source/USlicingLogic/Private/USlicingLogicModule.cpp
joserochh/USlicing
17c2cd0f1bd4b09c132818219997a695537e6d99
[ "BSD-3-Clause" ]
1
2020-07-01T07:26:22.000Z
2020-07-01T07:26:22.000Z
// Copyright 2018, Institute for Artificial Intelligence #include "USlicingLogicModule.h" #define LOCTEXT_NAMESPACE "FUSlicingLogicModule" void FUSlicingLogicModule::StartupModule() { // Empty as of right now } void FUSlicingLogicModule::ShutdownModule() { // Empty as of right now } #undef LOCTEXT_NAMESPACE IM...
19.526316
57
0.800539
joserochh
5c1859900f0949e43623c29015b38d0be9dc2631
4,327
cpp
C++
sim/jit.cpp
kachkov98/RISC-V-Simulator
57dafe5a108a0701686f48db39ada266d5c9aa4a
[ "MIT" ]
null
null
null
sim/jit.cpp
kachkov98/RISC-V-Simulator
57dafe5a108a0701686f48db39ada266d5c9aa4a
[ "MIT" ]
null
null
null
sim/jit.cpp
kachkov98/RISC-V-Simulator
57dafe5a108a0701686f48db39ada266d5c9aa4a
[ "MIT" ]
null
null
null
#include "jit.h" #include "common.h" #include "sim.h" using namespace asmjit; // uint32_t Load(uint32_t va, uint8_t nbytes) { return sim::State::mmu.load(va, nbytes, true); } // void Store(uint32_t va, uint8_t nbytes, uint32_t data) { sim::State::mmu.store(va, nbytes, data); // } namespace jit { Translator::Transl...
32.291045
100
0.64294
kachkov98
5c2bcb1472fd157e9c48291f0b0318509e5b8579
17,914
cpp
C++
source/Core/FontEngine_FCFT.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
source/Core/FontEngine_FCFT.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
source/Core/FontEngine_FCFT.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE file. // This file is the Fontconfig/FreeType implementation of FontEngine. At the moment, this is only used by the Linux build. #if defined(__linux__) #include "FontEngine_FCFT.hpp" #include <GTGE/Core/GlyphCache.hpp> #include <GTGE/Core/Math.hpp> ...
39.986607
183
0.488166
mackron
5c2eb6130a6c53c9ff5faa51195e706909cc9af5
2,335
cpp
C++
cetty-core/src/cetty/buffer/ByteOrder.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
26
2015-11-08T10:58:21.000Z
2021-02-25T08:27:26.000Z
cetty-core/src/cetty/buffer/ByteOrder.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
1
2019-02-18T08:46:17.000Z
2019-02-18T08:46:17.000Z
cetty-core/src/cetty/buffer/ByteOrder.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
8
2016-02-27T02:37:10.000Z
2021-09-29T05:25:00.000Z
/* * Copyright (c) 2010-2011 frankee zhou (frankee.zhou at gmail dot com) * * Distributed under 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 *...
33.84058
76
0.633405
frankee
5c389716af3c941b7c51551ffe32d6f37f1163e9
5,749
cpp
C++
main.cpp
ZoonLogonEchon/SimpleSceneRenderer
500fff6d1aca5d8fd293f96cc952db23175dfa0e
[ "MIT" ]
null
null
null
main.cpp
ZoonLogonEchon/SimpleSceneRenderer
500fff6d1aca5d8fd293f96cc952db23175dfa0e
[ "MIT" ]
null
null
null
main.cpp
ZoonLogonEchon/SimpleSceneRenderer
500fff6d1aca5d8fd293f96cc952db23175dfa0e
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <array> #include <memory> #include <chrono> #include "glad/glad.h" #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <QApplication> #include "GUI/rendererwidget.hpp" #include "GUI/mainwindow.hpp" #include "Renderer/renderer.hpp" #include "Renderer/scene.hpp" void f...
35.054878
108
0.702383
ZoonLogonEchon
5c3b06e371d4f0533ffb4d5a746733a131152f53
822
hpp
C++
include/codegen/include/NUnit/Framework/Internal/SetUpFixture.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/NUnit/Framework/Internal/SetUpFixture.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/NUnit/Framework/Internal/SetUpFixture.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:57 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: NUnit.Framework.Internal.TestSuite #include "NUnit/Framework/Internal/TestSuite.hpp" #in...
39.142857
110
0.706813
Futuremappermydud
5c3e2d8748f8c22f866377bd74e784f1670a922a
1,152
cpp
C++
TotalDeDoces/main.cpp
guipaulo/POO
76cde07b45dbc4945e1b991c6fd304f95922254d
[ "MIT" ]
null
null
null
TotalDeDoces/main.cpp
guipaulo/POO
76cde07b45dbc4945e1b991c6fd304f95922254d
[ "MIT" ]
null
null
null
TotalDeDoces/main.cpp
guipaulo/POO
76cde07b45dbc4945e1b991c6fd304f95922254d
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; int main() { int doces = 0; cout << "Informe o total de doces comprados: "; cin >> doces; int TotalPeso = 0; float peso = 0.0; float preco = 0.0; int MaisBarato = 0; float TotalGrama = 0; float TotalPreco = 0; for (int d = 1; d <= d...
23.510204
107
0.530382
guipaulo
5c3f0c9964e92ad94f07aae6dee5e5d949b76406
6,028
cpp
C++
src/analytical_placement.cpp
lennoxho/CSC466-Project
310b15752bdc4de3d36b8e62e9d24067c9ebbc19
[ "MIT" ]
null
null
null
src/analytical_placement.cpp
lennoxho/CSC466-Project
310b15752bdc4de3d36b8e62e9d24067c9ebbc19
[ "MIT" ]
null
null
null
src/analytical_placement.cpp
lennoxho/CSC466-Project
310b15752bdc4de3d36b8e62e9d24067c9ebbc19
[ "MIT" ]
null
null
null
// (C) Copyright Shou Hao Ho 2018 // Distributed under the MIT Software License (See accompanying LICENSE file) #include <Eigen/Dense> #include <boost/range/combine.hpp> #include <boost/range/adaptors.hpp> #include <numeric> #include "placement.h" #include "plan.h" namespace Utils { namespace impl { ...
38.641026
108
0.492203
lennoxho
5c3fbd8f9ca5705ded336beb5850ba9e309eb66c
129
hpp
C++
include/test/Case.hpp
charanyaarvind/StratifyAPI
adfd1bc8354489378d53c6acd77ebedad5790b4f
[ "BSD-3-Clause" ]
null
null
null
include/test/Case.hpp
charanyaarvind/StratifyAPI
adfd1bc8354489378d53c6acd77ebedad5790b4f
[ "BSD-3-Clause" ]
null
null
null
include/test/Case.hpp
charanyaarvind/StratifyAPI
adfd1bc8354489378d53c6acd77ebedad5790b4f
[ "BSD-3-Clause" ]
null
null
null
#ifndef TEST_CASE_HPP #define TEST_CASE_HPP namespace test { class Case { public: Case(); }; } #endif // TEST_CASE_HPP
7.588235
23
0.682171
charanyaarvind
5c426ee580be2587055c4334216cee7ee13ef232
862
cpp
C++
source/sprites/ColorPolygon.cpp
xzrunner/sprite2
2d5d8c6b79a63871bdd6cfdcd4805946fde95921
[ "MIT" ]
null
null
null
source/sprites/ColorPolygon.cpp
xzrunner/sprite2
2d5d8c6b79a63871bdd6cfdcd4805946fde95921
[ "MIT" ]
null
null
null
source/sprites/ColorPolygon.cpp
xzrunner/sprite2
2d5d8c6b79a63871bdd6cfdcd4805946fde95921
[ "MIT" ]
null
null
null
#include "sprite2/ColorPolygon.h" #include "sprite2/RenderParams.h" #include <SM_Process.h> #include <SM_Triangulation.h> #include <painting2/PrimitiveDraw.h> namespace s2 { ColorPolygon::ColorPolygon(const pt2::Color& color) : m_color(color) { } void ColorPolygon::Draw(cooking::DisplayList* dlist, const RenderPar...
21.55
82
0.730858
xzrunner
5c44636f3f895f9bc1b433e95aa6259c9fc714cc
1,538
cpp
C++
Signal Flow Simulation/truetime-2.0/kernel/logstart.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2019-08-31T08:06:48.000Z
2019-08-31T08:06:48.000Z
Signal Flow Simulation/truetime-2.0/kernel/logstart.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
null
null
null
Signal Flow Simulation/truetime-2.0/kernel/logstart.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2020-01-07T10:46:23.000Z
2020-01-07T10:46:23.000Z
/* * Copyright (c) 2016 Lund University * * Written by Anton Cervin, Dan Henriksson and Martin Ohlin, * Department of Automatic Control LTH, Lund University, Sweden. * * This file is part of TrueTime 2.0. * * TrueTime 2.0 is free software: you can redistribute it and/or * modify it under the terms of the GN...
26.982456
76
0.687906
raulest50
5c47baf470cb9f42054f4c3426c92c4ff48c57c6
243
cpp
C++
helper/src/print_macro.cpp
sharm294/shoal
db7dd08a70882585fb9740a39b57b4b7a48b3081
[ "MIT" ]
1
2021-04-12T06:41:33.000Z
2021-04-12T06:41:33.000Z
helper/src/print_macro.cpp
UofT-HPRC/shoal
db7dd08a70882585fb9740a39b57b4b7a48b3081
[ "MIT" ]
null
null
null
helper/src/print_macro.cpp
UofT-HPRC/shoal
db7dd08a70882585fb9740a39b57b4b7a48b3081
[ "MIT" ]
null
null
null
#include <iostream> #define VALUE_TO_STRING(x) #x #define VALUE(x) VALUE_TO_STRING(x) #define VAR_NAME_VALUE(var) #var "=" VALUE(var) #pragma message(VAR_NAME_VALUE(MACRO_VALUE)) int main(){ std::cout << MACRO_VALUE << "\n"; return 0; }
18.692308
48
0.703704
sharm294
5c4e8d6505bb552e8d498f3efc8214f737e79cf0
2,085
cpp
C++
Source/PluginEditor.cpp
avroshk/ProjectX
a5fdcb74e5730f336d50bd817f05b3a4f3f7e20b
[ "Apache-2.0" ]
null
null
null
Source/PluginEditor.cpp
avroshk/ProjectX
a5fdcb74e5730f336d50bd817f05b3a4f3f7e20b
[ "Apache-2.0" ]
null
null
null
Source/PluginEditor.cpp
avroshk/ProjectX
a5fdcb74e5730f336d50bd817f05b3a4f3f7e20b
[ "Apache-2.0" ]
null
null
null
/* ============================================================================== This file was auto-generated! It contains the basic framework code for a JUCE plugin editor. ============================================================================== */ #include "PluginProcessor.h" #include "PluginEd...
24.821429
97
0.590408
avroshk
5c500061d96065a0e5919aec89f94acfef789409
3,445
hpp
C++
Source/AllProjects/Drivers/CQSLAudPl/Server/CQSLAudPlS.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Drivers/CQSLAudPl/Server/CQSLAudPlS.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Drivers/CQSLAudPl/Server/CQSLAudPlS.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQSLAudPlS.hpp // // AUTHOR: Dean Roddey // // CREATED: 03/26/2007 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensource.org...
34.79798
86
0.432801
MarkStega
5c52f8a06aa19772597b5366a456c676450fda36
428
hpp
C++
include/ShaderAST/Stmt/StmtContinue.hpp
jarrodmky/ShaderWriter
ee9ce00a003bf544f8c8f23b5c07739e21cb3754
[ "MIT" ]
148
2018-10-11T16:51:37.000Z
2022-03-26T13:55:08.000Z
include/ShaderAST/Stmt/StmtContinue.hpp
jarrodmky/ShaderWriter
ee9ce00a003bf544f8c8f23b5c07739e21cb3754
[ "MIT" ]
30
2019-11-30T11:43:07.000Z
2022-01-25T21:09:47.000Z
include/ShaderAST/Stmt/StmtContinue.hpp
jarrodmky/ShaderWriter
ee9ce00a003bf544f8c8f23b5c07739e21cb3754
[ "MIT" ]
8
2020-04-17T13:18:30.000Z
2021-11-20T06:24:44.000Z
/* See LICENSE file in root folder */ #ifndef ___AST_StmtContinue_H___ #define ___AST_StmtContinue_H___ #pragma once #include "Stmt.hpp" namespace ast::stmt { class Continue : public Stmt { public: SDAST_API Continue(); SDAST_API void accept( VisitorPtr vis )override; }; using ContinuePtr = std::unique_pt...
14.758621
50
0.726636
jarrodmky
5c5412436b9e404771547f99f1bc624176c82d27
594
cpp
C++
Week2/ex2/Wave.cpp
Andreii1414/CommandDefense
1cee0fcea0ffa019c604931058512d551e6cb86e
[ "MIT" ]
null
null
null
Week2/ex2/Wave.cpp
Andreii1414/CommandDefense
1cee0fcea0ffa019c604931058512d551e6cb86e
[ "MIT" ]
null
null
null
Week2/ex2/Wave.cpp
Andreii1414/CommandDefense
1cee0fcea0ffa019c604931058512d551e6cb86e
[ "MIT" ]
null
null
null
#include "Wave.h" void Wave::SetName(char newName[50]) { strcpy(this->name, newName); } char Wave::GetName() { return this->name; } void Wave::SetNumberOfEnemies(unsigned int value) { this->numberOfEnemies = value; } unsigned int Wave::GetNumberOfEnemies() { return this->numberOfEnemies; } void Wave::SetInitia...
14.487805
49
0.73064
Andreii1414
5c5cfdc8f789f4067e0dccf1d27d10bd1e6b946d
2,309
cpp
C++
TonicEngine/Source Code/ComponentCamera.cpp
albertec1/TonicEngine
0ff56897bbfc5a6e0e02c0015fd2bcba564af4b7
[ "MIT" ]
null
null
null
TonicEngine/Source Code/ComponentCamera.cpp
albertec1/TonicEngine
0ff56897bbfc5a6e0e02c0015fd2bcba564af4b7
[ "MIT" ]
null
null
null
TonicEngine/Source Code/ComponentCamera.cpp
albertec1/TonicEngine
0ff56897bbfc5a6e0e02c0015fd2bcba564af4b7
[ "MIT" ]
null
null
null
#include "ComponentCamera.h" #include "ModuleInput.h" #include "ModuleGUI.h" #include "ModuleSceneIntro.h" #include "ModuleRenderer3D.h" #include "MathGeoLib/include/Math/MathFunc.h" ComponentCamera::ComponentCamera(GameObject* GO) : Component(COMPONENT_TYPE::CAMERA, GO) { type = COMPONENT_TYPE::CAMERA; frustum.ty...
22.201923
99
0.749242
albertec1
5c60e1ac7c4831848f7acdcf948b9180640faa65
2,383
cpp
C++
RType.Tests/Monsters/MonstersTests.cpp
Mikyan0207/RType
ae3d0e4b3192577eccfb3ba55ac86bd7238e9451
[ "MIT", "Unlicense" ]
null
null
null
RType.Tests/Monsters/MonstersTests.cpp
Mikyan0207/RType
ae3d0e4b3192577eccfb3ba55ac86bd7238e9451
[ "MIT", "Unlicense" ]
null
null
null
RType.Tests/Monsters/MonstersTests.cpp
Mikyan0207/RType
ae3d0e4b3192577eccfb3ba55ac86bd7238e9451
[ "MIT", "Unlicense" ]
null
null
null
#include "pch.h" #include "CppUnitTest.h" #include <Reloader/Loader.hpp> #include <Reloader/Interfaces/IMonster.hpp> using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace RTypeTests::MonstersTests { TEST_CLASS(Monsters) { public: TEST_METHOD(Monster_Load_DynamicLibrary) { auto loader = L...
17.917293
69
0.636593
Mikyan0207
5c680bce57bf58af3f1f1887cdebda511a8a0b30
1,263
hpp
C++
src/libs/libold/content/assets/level.hpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/libs/libold/content/assets/level.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/libs/libold/content/assets/level.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#pragma once #include "content/asset.hpp" #include "libold/content/loaders/level_loader.hpp" #include "math/vector.hpp" #include "level_header.hpp" #include "level_adjoin.hpp" #include "level_surface.hpp" #include "level_sector.hpp" #include "jk/cog/script/script.hpp" #include "jk/content/material.hpp" #include "temp...
25.26
93
0.726841
jdmclark
5c6b30708f8cbf66343b25dd77f3f2fdf46fca33
1,518
cpp
C++
EpicForceEngine/MagnumEngineLib/MagnumCore/BoxShape3.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
1
2021-03-30T06:28:32.000Z
2021-03-30T06:28:32.000Z
EpicForceEngine/MagnumEngineLib/MagnumCore/BoxShape3.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
null
null
null
EpicForceEngine/MagnumEngineLib/MagnumCore/BoxShape3.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////// // Copyright(c) 2016, Lin Koon Wing Macgyver, macgyvercct@yahoo.com.hk // // // // Author : Mac Lin // // Module : Magnum Engine v1.0.0 // // Date : 14/Jun/2016 ...
26.172414
100
0.561924
MacgyverLin
5c6e7da0125a7e9d5be261a6a89a93bc8bfa4648
233
cc
C++
build/ARM/python/m5/internal/param_GarnetNetwork.i_init.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/m5/internal/param_GarnetNetwork.i_init.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/m5/internal/param_GarnetNetwork.i_init.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" extern "C" { void init_param_GarnetNetwork(); } EmbeddedSwig embed_swig_param_GarnetNetwork(init_param_GarnetNetwork, "m5.internal._param_GarnetNetwork");
25.888889
114
0.630901
Jakgn
5c71108a0c320c601ef56b8facdbaa94d233ac29
11,110
cpp
C++
Sources/Modules/Universe/Particles/PartRepresentationBillboard.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
Sources/Modules/Universe/Particles/PartRepresentationBillboard.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
Sources/Modules/Universe/Particles/PartRepresentationBillboard.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * - Redistributions of ...
40.108303
141
0.564626
benkaraban
f07e8eaaaaad89dc862ce424b7d98747cac2ec8e
198
cpp
C++
PathFinding/Source/PathFinding/PathFinding.cpp
EduTeachers/UnrealEngine4-SampleCode
80e8f0fe3c2bb930856d4f6a478bf0bdc51878d5
[ "MIT" ]
4
2022-01-20T18:14:00.000Z
2022-02-24T14:45:47.000Z
PathFinding/Source/PathFinding/PathFinding.cpp
EduTeachers/UnrealEngine4-SampleCode
80e8f0fe3c2bb930856d4f6a478bf0bdc51878d5
[ "MIT" ]
null
null
null
PathFinding/Source/PathFinding/PathFinding.cpp
EduTeachers/UnrealEngine4-SampleCode
80e8f0fe3c2bb930856d4f6a478bf0bdc51878d5
[ "MIT" ]
null
null
null
// Copyright Epic Games, Inc. All Rights Reserved. #include "PathFinding.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, PathFinding, "PathFinding" );
28.285714
84
0.79798
EduTeachers
f082cd31e1c33fb1c986eba8e1a51d32b658df43
398
hpp
C++
src/global.hpp
AnttiVainio/Ray-tracer
0843aeb490b14417d47b844ebaa4174617833568
[ "Unlicense" ]
null
null
null
src/global.hpp
AnttiVainio/Ray-tracer
0843aeb490b14417d47b844ebaa4174617833568
[ "Unlicense" ]
null
null
null
src/global.hpp
AnttiVainio/Ray-tracer
0843aeb490b14417d47b844ebaa4174617833568
[ "Unlicense" ]
null
null
null
/** global.hpp **/ #ifndef GLOBAL_HPP #define GLOBAL_HPP typedef const unsigned int cuint; typedef unsigned int uint; typedef const int cint; typedef const unsigned short cushort; typedef unsigned short ushort; typedef const short cshort; typedef const unsigned char cuchar; typedef unsigned char uchar; typedef const ...
20.947368
37
0.801508
AnttiVainio
f082fb129919633d4af501c3069fc9b23ae0e750
47
cpp
C++
sourcer/tuple_t.cpp
jinncrafters/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
1
2018-01-26T09:15:01.000Z
2018-01-26T09:15:01.000Z
sourcer/tuple_t.cpp
duckstax/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
1
2018-06-21T07:41:38.000Z
2018-06-21T07:41:38.000Z
sourcer/tuple_t.cpp
duckstax/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
null
null
null
#include <cassert> namespace friedrichdb { }
7.833333
23
0.723404
jinncrafters
f083aa721afcb5ae618f520bd9b4cb930882062a
2,056
cpp
C++
codes/HDU/hdu5335.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5335.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5335.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <queue> #include <vector> #include <algorithm> using namespace std; typedef pair<int,int> pii; const int maxn = 1005; const int dir[4][2] = { {0, 1}, {1, 0}, {-1, 0}, {0, -1} }; int N, M, D[maxn * 2], R[maxn][maxn], V[maxn][maxn]; char G[maxn][maxn], A[maxn * 2]; vector<p...
16.715447
71
0.442607
JeraKrs
f08a91562d60636ef73439da75e10999ea0fd0c7
756
cpp
C++
past2016-2017/0607/1335.cpp
kazunetakahashi/icpc-challenge
6c3aa2bfd03b88d3ffa439e5c364e3086e31d640
[ "MIT" ]
null
null
null
past2016-2017/0607/1335.cpp
kazunetakahashi/icpc-challenge
6c3aa2bfd03b88d3ffa439e5c364e3086e31d640
[ "MIT" ]
null
null
null
past2016-2017/0607/1335.cpp
kazunetakahashi/icpc-challenge
6c3aa2bfd03b88d3ffa439e5c364e3086e31d640
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <numeric> #include <iterator> using namespace std; int solve(int n, int k, int s, vector<int> v) { if ((int)v.size() == k) { /* for (auto x : v) { cerr << x << " "; } cerr << endl; */ int sum = accumulate(v.begin(), v.end(), 0); if (sum...
18.9
48
0.47619
kazunetakahashi
f08ec7ca778c7121b8f9a10607a893d7c7850516
1,353
cpp
C++
leetcode/282.expression-add-operators.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
177
2017-08-21T08:57:43.000Z
2020-06-22T03:44:22.000Z
leetcode/282.expression-add-operators.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
2
2018-09-06T13:39:12.000Z
2019-06-03T02:54:45.000Z
leetcode/282.expression-add-operators.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
23
2017-08-23T06:01:28.000Z
2020-04-20T03:17:36.000Z
class Solution { private: int target; string num; void dfs(int pos, long last, long sum, string path, vector<string>& res){ if (pos == num.size()) { if (sum == target) { res.push_back(path); } return; ...
24.6
94
0.362158
geemaple
f0993c64eee35a130db5a8670bb895e6c22d6120
47,865
cpp
C++
psbo_sources/pp/network.cpp
neowhoru/PSBO
69ff04f4119821309e68a2dc39b2f8186772a149
[ "WTFPL" ]
6
2018-05-30T23:50:18.000Z
2022-03-15T00:08:21.000Z
psbo_sources/pp/network.cpp
neowhoru/PSBO
69ff04f4119821309e68a2dc39b2f8186772a149
[ "WTFPL" ]
1
2021-06-22T13:24:43.000Z
2021-10-05T18:48:32.000Z
psbo_sources/pp/network.cpp
neowhoru/PSBO
69ff04f4119821309e68a2dc39b2f8186772a149
[ "WTFPL" ]
3
2019-08-25T19:37:03.000Z
2021-06-22T13:14:09.000Z
#include "stdafx.h" #include "network.h" #include "binarystream.h" #include "config.h" #include "string.h" #ifdef _MSC_VER #include <WS2tcpip.h> #endif void _deinit_db_thread(); namespace Network { thread_local std::atomic<unsigned> timer_msecs(100); volatile bool log_network_errors = true; volatile bool log_netw...
25.086478
420
0.621686
neowhoru
f09a18674c90c7a3f8e6629154607d88d7bd3268
57,910
cpp
C++
WRK-V1.2/clr/src/vm/gcee.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/gcee.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/gcee.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to ...
32.406267
124
0.594094
intj-t
f09f4220f57e47f154e53a73db1a9bc265fbead5
1,630
cpp
C++
RHEngineLib/Engine/D3D11Impl/ImageBuffers/D3D11DepthStencilBuffer.cpp
HermanLederer/gtaRenderHook
2ce53ce954c2d298717119dd6d02a2e58fff3aed
[ "MIT" ]
null
null
null
RHEngineLib/Engine/D3D11Impl/ImageBuffers/D3D11DepthStencilBuffer.cpp
HermanLederer/gtaRenderHook
2ce53ce954c2d298717119dd6d02a2e58fff3aed
[ "MIT" ]
null
null
null
RHEngineLib/Engine/D3D11Impl/ImageBuffers/D3D11DepthStencilBuffer.cpp
HermanLederer/gtaRenderHook
2ce53ce954c2d298717119dd6d02a2e58fff3aed
[ "MIT" ]
null
null
null
#include "D3D11DepthStencilBuffer.h" #include "Engine/D3D11Impl/D3D11Common.h" using namespace rh::engine; D3D11DepthStencilBuffer::D3D11DepthStencilBuffer( ID3D11Device *device, const D3D11DepthStencilBufferCreateInfo &info ) : m_createInfo( info ) { D3D11_TEX...
30.754717
102
0.677914
HermanLederer
f0a025316d184ec1a5619810136c5464a9564970
5,033
cpp
C++
Physics Engine/Demos/BridgeDemo.cpp
DarrenSweeney/3D-Physics-Engine
31dee682cdd285fcd1aa8a6951b7506348d8dc5a
[ "MIT" ]
53
2015-09-22T22:29:03.000Z
2021-12-18T05:05:51.000Z
Physics Engine/Demos/BridgeDemo.cpp
DarrenSweeney/3D-Physics-Engine
31dee682cdd285fcd1aa8a6951b7506348d8dc5a
[ "MIT" ]
3
2016-04-28T08:51:21.000Z
2020-05-20T16:40:27.000Z
Physics Engine/Demos/BridgeDemo.cpp
DarrenSweeney/3D-Physics-Engine
31dee682cdd285fcd1aa8a6951b7506348d8dc5a
[ "MIT" ]
9
2016-10-24T13:56:59.000Z
2021-02-25T01:18:42.000Z
#include "BridgeDemo.h" #include <GL\glut.h> #include "../Math/precision.h" #define ROD_COUNT 6 #define CABLE_COUNT 10 #define SUPPORT_COUNT 12 #define BASE_MASS 1 // 1kg #define EXTRA_MASS 10 // 10kg BridgeDemo::BridgeDemo() : world(12 * 10), cables(0), supports(0), rods(0), massPos(0, 0, 0.5f) { particleArray = n...
26.07772
77
0.645142
DarrenSweeney
f0a14d048a8b5b887a1ca4640132b0cc9eb38bb6
105
cpp
C++
source/GlobalVariables.cpp
Gavin-Lijy/STAR
4571190968fc134aa4bd0d4d7065490253b1a4c5
[ "MIT" ]
1,315
2015-01-07T02:03:15.000Z
2022-03-30T09:48:17.000Z
source/GlobalVariables.cpp
Gavin-Lijy/STAR
4571190968fc134aa4bd0d4d7065490253b1a4c5
[ "MIT" ]
1,429
2015-01-08T00:09:17.000Z
2022-03-31T08:12:14.000Z
source/GlobalVariables.cpp
Gavin-Lijy/STAR
4571190968fc134aa4bd0d4d7065490253b1a4c5
[ "MIT" ]
495
2015-01-23T20:00:45.000Z
2022-03-31T13:24:50.000Z
#include "GlobalVariables.h" Stats g_statsAll;//global mapping statistics ThreadControl g_threadChunks;
21
44
0.838095
Gavin-Lijy
f0a7ca32094c2312d17199af756904357faec97d
2,650
tcc
C++
nodes/standard/node4.tcc
jungmair/START
0cb87becf6a4b0a60f4f8eb164c6ac1802c79238
[ "MIT" ]
23
2020-04-21T19:43:38.000Z
2022-03-07T06:38:55.000Z
nodes/standard/node4.tcc
jungmair/START
0cb87becf6a4b0a60f4f8eb164c6ac1802c79238
[ "MIT" ]
null
null
null
nodes/standard/node4.tcc
jungmair/START
0cb87becf6a4b0a60f4f8eb164c6ac1802c79238
[ "MIT" ]
4
2020-07-13T19:25:34.000Z
2022-03-15T02:50:45.000Z
#pragma once /** * Node4: almost standard implementation (adds 4 byte of padding to avoid misaligned pointers) */ class Node4 : public Node { uint8_t key[4]; //difference to original ART implementation: add 4 bytes padding, otherwise: misaligned pointers! uint8_t pad[4]; Node *child[4]; public: u...
26.237624
103
0.508302
jungmair
f0a980642116b010de477187e7fe475154022097
1,488
cpp
C++
Source/Services/Matchmaking/WinRT/MatchTicketDetailsResponse_WinRT.cpp
claytonv/xbox-live-api
d8db86cf930085c7547ae95999c9b301506de343
[ "MIT" ]
3
2020-07-15T17:50:24.000Z
2021-11-17T11:15:11.000Z
Source/Services/Matchmaking/WinRT/MatchTicketDetailsResponse_WinRT.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
null
null
null
Source/Services/Matchmaking/WinRT/MatchTicketDetailsResponse_WinRT.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
1
2021-02-01T01:56:08.000Z
2021-02-01T01:56:08.000Z
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "xsapi/multiplayer.h" #include "xsapi/matchmaking.h" #include "MatchTicketDetailsResponse_WinRT.h" using namespace Platform::Collections; using namespa...
27.054545
101
0.784274
claytonv
f0bdde19a165942e34367188a79fd2ae6df664b8
52
cpp
C++
tests/src/experimental/tests_CopyableAtomic.cpp
Mike-Bal/mart-common
0b52654c6f756e8e86689e56d24849c97079229c
[ "MIT" ]
1
2021-07-16T14:19:50.000Z
2021-07-16T14:19:50.000Z
tests/src/experimental/tests_CopyableAtomic.cpp
Mike-Bal/mart-common
0b52654c6f756e8e86689e56d24849c97079229c
[ "MIT" ]
1
2018-06-05T11:03:30.000Z
2018-06-05T11:03:30.000Z
tests/src/experimental/tests_CopyableAtomic.cpp
tum-ei-rcs/mart-common
6f8f18ac23401eb294d96db490fbdf78bf9b316c
[ "MIT" ]
null
null
null
#include <mart-common/experimental/CopyableAtomic.h>
52
52
0.846154
Mike-Bal
f0c3655fc028fa48b75ddc025916ad2e9965deec
3,177
cpp
C++
simlib/example/simlib/sample_stage.cpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
115
2019-09-28T13:39:41.000Z
2022-03-24T11:08:53.000Z
simlib/example/simlib/sample_stage.cpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
120
2018-05-16T23:11:09.000Z
2019-09-25T18:52:49.000Z
simlib/example/simlib/sample_stage.cpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
44
2019-09-28T07:53:21.000Z
2022-02-13T23:21:12.000Z
#include "sample_stage.hpp" #include "livesim_types.hpp" #ifdef SIMLIB_VCD Sample_stage::Sample_stage(uint64_t _hidx, const std::string &parent_name, vcd::VCDWriter *writer) : hidx(_hidx) , scope_name(parent_name.empty() ? "sample" : parent_name + ".sample") , vcd_writer(writer) , s1(33, scope_name, w...
32.418367
98
0.706012
jesec
f0c4fb34f39d8b0ea5df33904d8a873f73ff84df
3,996
cpp
C++
logfiletest/gui/ModuleWindowSelectionFrame.cpp
maxperiod/aiongrindmeter2
91a54d7cb01957cd9e1439b89bbd03ddb63a76a7
[ "MIT" ]
2
2016-08-19T19:28:04.000Z
2021-04-18T04:48:44.000Z
logfiletest/gui/ModuleWindowSelectionFrame.cpp
maxperiod/aiongrindmeter2
91a54d7cb01957cd9e1439b89bbd03ddb63a76a7
[ "MIT" ]
null
null
null
logfiletest/gui/ModuleWindowSelectionFrame.cpp
maxperiod/aiongrindmeter2
91a54d7cb01957cd9e1439b89bbd03ddb63a76a7
[ "MIT" ]
null
null
null
#include "ModuleWindowSelectionFrame.h" wxBEGIN_EVENT_TABLE(ModuleWindowSelectionFrame, wxFrame) EVT_BUTTON(MODULE_WINDOW_BUTTON_0, ModuleWindowSelectionFrame::OnModuleWindowButton0) EVT_BUTTON(MODULE_WINDOW_BUTTON_1, ModuleWindowSelectionFrame::OnModuleWindowButton1) EVT_BUTTON(MODULE_WINDOW_BUTTON_2, Modu...
49.333333
172
0.83008
maxperiod
f0c7422f05f0047ca5bb5e350b8813f449d03ac1
4,963
hpp
C++
Engine/Source/GEOGL/Layers/LayerStack.hpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
Engine/Source/GEOGL/Layers/LayerStack.hpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
Engine/Source/GEOGL/Layers/LayerStack.hpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
/******************************************************************************* * Copyright (c) 2020 Matthew Krueger * * * * This software is provided 'as-is', without any express or implied ...
45.953704
120
0.477131
Matthew-Krueger
f0c9e33aa4429cae543a4b2d396beb0ab82154c5
6,827
cpp
C++
mandelbrot/main.cpp
matt360/Mandelbrot-AMP
4821844ba30ae33290442f25b65eff983ffa9e0f
[ "MIT" ]
null
null
null
mandelbrot/main.cpp
matt360/Mandelbrot-AMP
4821844ba30ae33290442f25b65eff983ffa9e0f
[ "MIT" ]
null
null
null
mandelbrot/main.cpp
matt360/Mandelbrot-AMP
4821844ba30ae33290442f25b65eff983ffa9e0f
[ "MIT" ]
1
2021-04-11T21:52:04.000Z
2021-04-11T21:52:04.000Z
// Data and Structures 2 (CMP202) - Assessment Project // @author Mateusz Zaremba <1502616@abertay.ac.uk> #include <freeglut.h> #include "dependencies.h" #include "mandelbrot.h" #include "input.h" #include "Camera.h" #include "FreeCamera.h" const unsigned WINDOW_WIDTH = 1024; const unsigned WINDOW_HEIGHT = 1024; const...
29.051064
125
0.740442
matt360
f0cdbc6bc22773b81f099871fd721029b206628d
12,543
cpp
C++
src/Test/Test.cpp
niuchenglei/rankextor
342e39dda8347b0986f6d2be9968ee72a90b16c2
[ "Apache-2.0" ]
4
2020-01-04T02:07:17.000Z
2021-01-11T13:46:24.000Z
src/Test/Test.cpp
niuchenglei/rankextor
342e39dda8347b0986f6d2be9968ee72a90b16c2
[ "Apache-2.0" ]
null
null
null
src/Test/Test.cpp
niuchenglei/rankextor
342e39dda8347b0986f6d2be9968ee72a90b16c2
[ "Apache-2.0" ]
1
2020-01-04T03:10:08.000Z
2020-01-04T03:10:08.000Z
#include <fstream> #include <vector> #include <sys/stat.h> #include <unistd.h> #include <cmath> #include <iomanip> #include <sys/mman.h> #include <boost/unordered_map.hpp> #include <map> #include <dlfcn.h> #include <Config.h> //#include "Logger.h" #include <time.h> #include <sys/time.h> #include <stdio.h> #include <std...
36.251445
2,438
0.637886
niuchenglei
f0ce40fc1ef32215c6cc95d610f8a87271414222
160
hpp
C++
modules/rank_icons/functions/CfgFunctions.hpp
Bear-Cave-ArmA/Olsen-Framework-ArmA-3
1c1715f0e4ed8f2b655a66999754256fa42ca6bf
[ "MIT" ]
4
2020-05-04T18:03:59.000Z
2020-05-06T19:40:27.000Z
modules/rank_icons/functions/CfgFunctions.hpp
Bear-Cave-ArmA/Olsen-Framework-ArmA-3
1c1715f0e4ed8f2b655a66999754256fa42ca6bf
[ "MIT" ]
13
2020-05-06T19:02:06.000Z
2020-08-24T08:16:43.000Z
modules/rank_icons/functions/CfgFunctions.hpp
Bear-Cave-ArmA/Olsen-Framework-ArmA-3
1c1715f0e4ed8f2b655a66999754256fa42ca6bf
[ "MIT" ]
5
2020-05-04T18:04:05.000Z
2020-05-14T16:53:13.000Z
class COMPONENT { tag = COMPONENT; class RNKICNS { file = "modules\rank_icons\functions\RNKICNS"; class addSetting {}; class setIcon {}; }; };
17.777778
49
0.6375
Bear-Cave-ArmA
f0d2824f1ba40723c1bd8d0b8b3464814b739cb5
465
cpp
C++
src/Core/Support/IDTable.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
1
2021-04-24T12:29:42.000Z
2021-04-24T12:29:42.000Z
src/Core/Support/IDTable.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
src/Core/Support/IDTable.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
#include <autograph/Core/Support/IDTable.h> namespace ag { ID IDTable::createID() { ID id; if (freeIDs.empty()) { liveIDs.push_back(liveIDs.size() + (1ULL << 32)); id = liveIDs.back(); } else { id = freeIDs.back(); freeIDs.pop_back(); } return id; } void IDTable::deleteID(ID id) { auto in...
18.6
53
0.623656
ennis
f0dfd98a69943229e80cab2f4204f68dd802409f
7,995
hpp
C++
lib/tweedledum/tweedledum/networks/interface.hpp
MaSuCcHI/caterpillar
4c6f766cd0ffc62d37ab45edfe80c9f1eae44764
[ "MIT" ]
16
2019-02-08T04:23:05.000Z
2021-11-17T11:44:43.000Z
lib/tweedledum/tweedledum/networks/interface.hpp
MaSuCcHI/caterpillar
4c6f766cd0ffc62d37ab45edfe80c9f1eae44764
[ "MIT" ]
2
2019-03-22T06:21:01.000Z
2020-06-25T16:21:25.000Z
lib/tweedledum/tweedledum/networks/interface.hpp
MaSuCcHI/caterpillar
4c6f766cd0ffc62d37ab45edfe80c9f1eae44764
[ "MIT" ]
5
2019-10-01T10:13:15.000Z
2020-11-06T03:07:56.000Z
/*------------------------------------------------------------------------------------------------- | This file is distributed under the MIT License. | See accompanying file /LICENSE for details. | Author(s): Bruno Schmitt *------------------------------------------------------------------------------------------------...
34.61039
104
0.685553
MaSuCcHI
f0e127e42d1ac58600e28e69f12ac426c251c09b
819
cpp
C++
C++/source/layer.cpp
StxGuy/NobleNeuron
03660c837c004e2871054e2ce9b1af14650ab8ed
[ "MIT" ]
2
2021-04-12T06:40:59.000Z
2021-12-09T16:43:05.000Z
C++/source/layer.cpp
StxGuy/NobleNeuron
03660c837c004e2871054e2ce9b1af14650ab8ed
[ "MIT" ]
null
null
null
C++/source/layer.cpp
StxGuy/NobleNeuron
03660c837c004e2871054e2ce9b1af14650ab8ed
[ "MIT" ]
null
null
null
#include "layer.hpp" #include "activ.hpp" /*---------------------------*/ /* CONSTRUCTOR & DESTRUCTORS */ /*---------------------------*/ layer::layer(void) { next = nullptr; prev = nullptr; } /*---------------------------*/ /* METHODS */ /*---------------------------*/ // Feedforward voi...
17.425532
61
0.446886
StxGuy
f0e5f7eac76c5c82ee08c7cad3c4f273f1f9fafe
296
cpp
C++
Source/Color.cpp
joserm45/VultureEngine
86484cf8a3742fb9d57be6a329ca5e6bde916135
[ "MIT" ]
null
null
null
Source/Color.cpp
joserm45/VultureEngine
86484cf8a3742fb9d57be6a329ca5e6bde916135
[ "MIT" ]
null
null
null
Source/Color.cpp
joserm45/VultureEngine
86484cf8a3742fb9d57be6a329ca5e6bde916135
[ "MIT" ]
null
null
null
#include "Color.h" Color Red = Color(1.0f, 0.0f, 0.0f); Color Green = Color(0.0f, 1.0f, 0.0f); Color Blue = Color(0.0f, 0.0f, 1.0f); Color Black = Color(0.0f, 0.0f, 0.0f); Color White = Color(1.0f, 1.0f, 1.0f); Color Orange = Color(0.63f, 0.31f, 0.0f); Color Grey = Color(0.44f, 0.50f, 0.576f);
29.6
41
0.621622
joserm45
f0ee0a3daabe95d757f5837defd325dced2498fd
503
hpp
C++
SFMLMp3/SFMLMp3/MP3.hpp
razzorflame/SFML-Mp3
3aabb561b7a7d18e7ba369c143ffa22698f65986
[ "MIT" ]
1
2022-01-27T08:33:22.000Z
2022-01-27T08:33:22.000Z
SFMLMp3/SFMLMp3/MP3.hpp
PoetaKodu/SFML-Mp3
3aabb561b7a7d18e7ba369c143ffa22698f65986
[ "MIT" ]
null
null
null
SFMLMp3/SFMLMp3/MP3.hpp
PoetaKodu/SFML-Mp3
3aabb561b7a7d18e7ba369c143ffa22698f65986
[ "MIT" ]
null
null
null
#pragma once // The SFML library: #include <SFML/Audio.hpp> // The MPG123 library: #include <mpg123.h> namespace sf { class Mp3 : public sf::SoundStream { public: Mp3(); ~Mp3(); bool openFromFile(const std::string& filename); bool openFromMemory(void* data, size_t sizeInBytes); protected: bool onGetData(Chunk...
15.71875
53
0.677932
razzorflame
f0f3a2021c6eb2171b27ca56e526fa49334464f9
509
cpp
C++
Lasertag/initGame/initKeypadTask.cpp
NathanHoekstra/Themaopdracht_devices
1103dc7b9ebc289d9ff9325d57eb65d97559d4bf
[ "BSL-1.0" ]
null
null
null
Lasertag/initGame/initKeypadTask.cpp
NathanHoekstra/Themaopdracht_devices
1103dc7b9ebc289d9ff9325d57eb65d97559d4bf
[ "BSL-1.0" ]
null
null
null
Lasertag/initGame/initKeypadTask.cpp
NathanHoekstra/Themaopdracht_devices
1103dc7b9ebc289d9ff9325d57eb65d97559d4bf
[ "BSL-1.0" ]
null
null
null
#include "initKeypadTask.hpp" initKeypadTask::initKeypadTask(initGame & initGameTask): task("KeypadTask"), initGameTask(initGameTask) {} void initKeypadTask::main(){ while(1){ switch(state){ case IDLE: { c = keypad.getc(); //poll keypad for keypress. //hwlib::cout << "button pressed: " << c << " ...
18.851852
67
0.624754
NathanHoekstra
e7c34b6e05b5d75992db2fcbc0c501dfc21374b1
2,890
cpp
C++
test/tuple/tst_tuple.cpp
ombre5733/weos
2c3edef042fa80baa7c8fb968ba3104b7119cf2d
[ "BSD-2-Clause" ]
11
2015-10-06T21:00:30.000Z
2021-07-27T05:54:44.000Z
test/tuple/tst_tuple.cpp
ombre5733/weos
2c3edef042fa80baa7c8fb968ba3104b7119cf2d
[ "BSD-2-Clause" ]
null
null
null
test/tuple/tst_tuple.cpp
ombre5733/weos
2c3edef042fa80baa7c8fb968ba3104b7119cf2d
[ "BSD-2-Clause" ]
1
2015-10-03T03:51:28.000Z
2015-10-03T03:51:28.000Z
/******************************************************************************* WEOS - Wrapper for embedded operating systems Copyright (c) 2013-2016, Manuel Freiberger All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that t...
31.413043
86
0.634256
ombre5733
e7c3edc3a6f04d3f33115c2e71b0a434139b49aa
889
cpp
C++
DynamicProgramming/RegularExpressions.cpp
SharatMehrotra/interviews
4a1778655247287a604e9b9776f4a52df30cf043
[ "CC0-1.0" ]
1
2021-05-15T05:50:27.000Z
2021-05-15T05:50:27.000Z
DynamicProgramming/RegularExpressions.cpp
SharatMehrotra/interviews
4a1778655247287a604e9b9776f4a52df30cf043
[ "CC0-1.0" ]
null
null
null
DynamicProgramming/RegularExpressions.cpp
SharatMehrotra/interviews
4a1778655247287a604e9b9776f4a52df30cf043
[ "CC0-1.0" ]
null
null
null
/*Implement wildcard pattern matching with support for ‘?’ and ‘*’ for strings A and B. ’?’ : Matches any single character. ‘*’ : Matches any sequence of characters (including the empty sequence). The matching should cover the entire input string (not partial).*/ int Solution::isMatch(const string A, const string B) ...
25.4
87
0.452193
SharatMehrotra
e7d021aae8b9a98f4c4d44c9cac6b759d49cb28c
376
hpp
C++
allocgc/include/liballocgc/details/utils/dummy_mutex.hpp
eucpp/allocgc
8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef
[ "Apache-2.0" ]
null
null
null
allocgc/include/liballocgc/details/utils/dummy_mutex.hpp
eucpp/allocgc
8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef
[ "Apache-2.0" ]
2
2017-01-17T16:24:59.000Z
2017-06-08T17:39:26.000Z
allocgc/include/liballocgc/details/utils/dummy_mutex.hpp
eucpp/allocgc
8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef
[ "Apache-2.0" ]
null
null
null
#ifndef ALLOCGC_DUMMY_MUTEX_HPP #define ALLOCGC_DUMMY_MUTEX_HPP #include <liballocgc/details/utils/utility.hpp> namespace allocgc { namespace details { namespace utils { class dummy_mutex : noncopyable, nonmovable { public: dummy_mutex() = default; void lock() {} void unlock() {} bool try_lock() { r...
17.904762
57
0.723404
eucpp
e7d3feeb04f2e4f67b99b5c8ff25197128929b0c
227
hpp
C++
C++/Cpp-Templates-Second-Edition/details/include/details/funcoverload1.hpp
danpeczek/tech-cookbook
c22f499147524dfd58a253bdb9d4ab89e0004475
[ "MIT" ]
1
2020-11-06T18:42:05.000Z
2020-11-06T18:42:05.000Z
C++/Cpp-Templates-Second-Edition/details/include/details/funcoverload1.hpp
danpeczek/tech-cookbook
c22f499147524dfd58a253bdb9d4ab89e0004475
[ "MIT" ]
45
2020-11-03T10:46:52.000Z
2022-03-14T21:08:21.000Z
C++/Cpp-Templates-Second-Edition/details/include/details/funcoverload1.hpp
danpeczek/tech-cookbook
c22f499147524dfd58a253bdb9d4ab89e0004475
[ "MIT" ]
null
null
null
#ifndef FUNC_OVERLOAD1_HPP #define FUNC_OVERLOAD1_HPP namespace details { template<typename T> int fun(T) { return 1; } template<typename T> int fun(T*) { return 2; } } // namespace details #endif // FUNC_OVERLOAD1_HPP
11.947368
28
0.726872
danpeczek
e7d7d2c18a5b3579421bdf65b95a9dc63fe7a15e
127
hxx
C++
src/Providers/UNIXProviders/OrderedComponent/UNIX_OrderedComponent_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/OrderedComponent/UNIX_OrderedComponent_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/OrderedComponent/UNIX_OrderedComponent_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_STUB #ifndef __UNIX_ORDEREDCOMPONENT_PRIVATE_H #define __UNIX_ORDEREDCOMPONENT_PRIVATE_H #endif #endif
10.583333
41
0.850394
brunolauze
e7dc4001916c93baca3e5b4a53c4d34de9dbd287
1,971
cpp
C++
src/asset/prefab/comp/mesh_renderer.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
src/asset/prefab/comp/mesh_renderer.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
src/asset/prefab/comp/mesh_renderer.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
#include "../prefab_inc.hpp" CE_BEGIN_NAMESPACE namespace PrefabMR { PrefabItem toPrefab(const MeshSkinModifier& mod); void instMeshModifier(const MeshShapeModifier& mod, const PrefabItemGroup& data); void instMeshModifier(const MeshSkinModifier& mod, const PrefabItemGroup& data); void instMeshModifier(const Mes...
26.28
82
0.68138
chokomancarr
e7e338bee25501e200a87a97778a0c01d118a8bc
5,527
cpp
C++
src/sds_bar2.cpp
resetius/fdm
8c645f2406913fd0d2e90da9487ed0f8184012a9
[ "BSD-3-Clause" ]
null
null
null
src/sds_bar2.cpp
resetius/fdm
8c645f2406913fd0d2e90da9487ed0f8184012a9
[ "BSD-3-Clause" ]
null
null
null
src/sds_bar2.cpp
resetius/fdm
8c645f2406913fd0d2e90da9487ed0f8184012a9
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005, 2006, 2022 Alexey Ozeritsky * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
26.700483
95
0.60702
resetius
e7e837f25194d0ef15608d7f16b053ad3301b25c
327
cpp
C++
src/main.cpp
DanielRahme/CMake-templates
d6843205cd787d9ae25ecde153965dfdcc2f84a0
[ "MIT" ]
null
null
null
src/main.cpp
DanielRahme/CMake-templates
d6843205cd787d9ae25ecde153965dfdcc2f84a0
[ "MIT" ]
null
null
null
src/main.cpp
DanielRahme/CMake-templates
d6843205cd787d9ae25ecde153965dfdcc2f84a0
[ "MIT" ]
null
null
null
/** * @file hello.cpp * @author Daniel Rahme * @date 2019-04-29 * @brief A hello world program. */ #include <iostream> #include <functions.hpp> int main() { func::print_hello("World"); constexpr auto f = []{ std::cout << "Just a lambda\n"; }; f(); std::cout << "Square of 3 == " << func::square(3) << '...
16.35
60
0.571865
DanielRahme
e7ecb1cb5fa63fa12c75f370b61d53d58f9cd655
14,209
cpp
C++
IMS_Matrix.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
2
2018-01-28T20:07:52.000Z
2018-03-01T22:41:39.000Z
IMS_Matrix.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
6
2017-08-26T10:24:48.000Z
2018-01-28T13:45:34.000Z
IMS_Matrix.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
null
null
null
#include <initializer_list> #include <string> #include <sstream> #include <vector> #include <map> #include "IMS_Matrix.h" #include "Orbitersdk.h" #include "Helpers.h" template <typename T> IMS_Matrix<T>::IMS_Matrix(unsigned int n, unsigned int m) : rows(n), cols(m) { //init matrix with default value for (unsig...
30.491416
136
0.574284
TheNewBob
e7f113bf7d6f777d6d2ce0c87325931c9b92e288
4,318
cpp
C++
software/src/master/src/kernel/Vca_VcaSerializer.cpp
c-kuhlman/vision
46b25f7c0da703c059acc8f0a2eac1d5badf9f6d
[ "BSD-3-Clause" ]
30
2016-10-07T15:23:35.000Z
2020-03-25T20:01:30.000Z
src/kernel/Vca_VcaSerializer.cpp
MichaelJCaruso/vision-software-src-master
12b1b4f12a7531fe6e3cbb6861b40ac8e1985b92
[ "BSD-3-Clause" ]
30
2016-10-31T19:48:08.000Z
2021-04-28T01:31:53.000Z
software/src/master/src/kernel/Vca_VcaSerializer.cpp
c-kuhlman/vision
46b25f7c0da703c059acc8f0a2eac1d5badf9f6d
[ "BSD-3-Clause" ]
15
2016-10-07T16:44:13.000Z
2021-06-21T18:47:55.000Z
/***** Vca_VcaSerializer Implementation *****/ /************************ ************************ ***** Interfaces ***** ************************ ************************/ /******************** ***** System ***** ********************/ #include "Vk.h" /****************** ***** Self ***** ************...
21.808081
103
0.452293
c-kuhlman
e7f89b6747eb6d6c493bddb0248d798e0db10e7f
561
cpp
C++
raven/helpers/DebugAssert.cpp
nielsuiterwijk/vulkan
b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05
[ "MIT" ]
2
2019-11-28T12:42:44.000Z
2021-07-02T12:50:20.000Z
raven/helpers/DebugAssert.cpp
nielsuiterwijk/vulkan
b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05
[ "MIT" ]
null
null
null
raven/helpers/DebugAssert.cpp
nielsuiterwijk/vulkan
b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05
[ "MIT" ]
null
null
null
#include "DebugASSERT.h" #include <string> #include "Helpers.h" #include "Windows.h" int Debug::HandleAssert( const char* msg, int line, const char* file ) { std::string lineStr = Helpers::ValueToString( line ); std::string s = std::string( msg ) + "\nFile: " + file + ":" + lineStr; #if defined( _WIN32 ) switch...
18.7
101
0.648841
nielsuiterwijk
e7fd0e806df123142d9e9205a1ae69f4b61bfd02
1,133
cpp
C++
src/cc_websockets_client_ncurses_qt/main.cpp
evatux/snakex
725c519239fea4de498becbd49799fd5cf1d813b
[ "Apache-2.0" ]
null
null
null
src/cc_websockets_client_ncurses_qt/main.cpp
evatux/snakex
725c519239fea4de498becbd49799fd5cf1d813b
[ "Apache-2.0" ]
null
null
null
src/cc_websockets_client_ncurses_qt/main.cpp
evatux/snakex
725c519239fea4de498becbd49799fd5cf1d813b
[ "Apache-2.0" ]
null
null
null
#include <QtCore/QCoreApplication> #include <QtCore/QCommandLineParser> #include <QtCore/QCommandLineOption> #include "client.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QCommandLineParser parser; parser.setApplicationDescription("Snakex Qt client (using websockets)"); parse...
35.40625
90
0.674316
evatux
f007eb07b21f9f971b249332ea0b2d1695c236e1
3,240
hpp
C++
src/core/HttpClient.hpp
rstular/srt-live-server
968d29b7bd4d81b0b6cbe702ebf6bbc164b6a22c
[ "MIT" ]
4
2021-12-17T07:58:48.000Z
2022-02-04T17:35:37.000Z
src/core/HttpClient.hpp
rstular/srt-live-server
968d29b7bd4d81b0b6cbe702ebf6bbc164b6a22c
[ "MIT" ]
null
null
null
src/core/HttpClient.hpp
rstular/srt-live-server
968d29b7bd4d81b0b6cbe702ebf6bbc164b6a22c
[ "MIT" ]
1
2021-12-15T21:56:57.000Z
2021-12-15T21:56:57.000Z
/** * The MIT License (MIT) * * Copyright (c) 2019-2020 Edward.Wu * * 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 * u...
27.226891
87
0.751852
rstular
f00d7a39d6a5701851f01c0cd0c5ce2aa41ded8c
160
cpp
C++
atcode/juni/A-chukodai.cpp
bato1015/code_test
b499cdd45527112fa1cfced519b21cb71f88952c
[ "MIT" ]
null
null
null
atcode/juni/A-chukodai.cpp
bato1015/code_test
b499cdd45527112fa1cfced519b21cb71f88952c
[ "MIT" ]
null
null
null
atcode/juni/A-chukodai.cpp
bato1015/code_test
b499cdd45527112fa1cfced519b21cb71f88952c
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> int main() { int a, b; int rea, reb; std::vector<std::string> s; std::cin >> s; std::cin >> a >> b; }
14.545455
31
0.51875
bato1015
f01516a75a535970cc1f5a44a0c29dda6065e38c
870
hpp
C++
waterbox/bsnescore/bsnes/sfc/coprocessor/coprocessor.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
waterbox/bsnescore/bsnes/sfc/coprocessor/coprocessor.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
waterbox/bsnescore/bsnes/sfc/coprocessor/coprocessor.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
#include <sfc/coprocessor/icd/icd.hpp> #include <sfc/coprocessor/mcc/mcc.hpp> #include <sfc/coprocessor/dip/dip.hpp> #include <sfc/coprocessor/event/event.hpp> #include <sfc/coprocessor/sa1/sa1.hpp> #include <sfc/coprocessor/superfx/superfx.hpp> #include <sfc/coprocessor/armdsp/armdsp.hpp> #include <sfc/coprocessor/h...
32.222222
52
0.786207
Fortranm
f02abd9bade7fc98bfe9f1d5b00a9d53e5c578ce
2,404
hpp
C++
3rdParty/cute/cute/tick.hpp
ColdOrange/http-cpp
dda4f41032485d23bc33200834e3cb2957212da3
[ "MIT" ]
21
2015-01-06T18:39:35.000Z
2021-06-03T07:13:47.000Z
3rdParty/cute/cute/tick.hpp
ColdOrange/http-cpp
dda4f41032485d23bc33200834e3cb2957212da3
[ "MIT" ]
3
2015-05-31T22:05:37.000Z
2018-09-06T10:36:51.000Z
3rdParty/cute/cute/tick.hpp
ColdOrange/http-cpp
dda4f41032485d23bc33200834e3cb2957212da3
[ "MIT" ]
9
2015-01-06T02:00:21.000Z
2022-02-21T14:47:08.000Z
// Copyright 2014 by Konstantin (Kosta) Baumann // // Distributed under the MIT license (See accompanying file LICENSE.txt) // #pragma once #include "macros.hpp" #include "detail/decomposer.hpp" #include <condition_variable> #include <thread> namespace cute { struct tick { inline tick(int start_tick_ =...
32.486486
118
0.572795
ColdOrange
f02b32aef4600a1be4b306556149adfe9c5c3e0a
494
hpp
C++
src/toast.hpp
mpdrescher/gui-black-jack
d7d1b9af384544021f2ff677eaf1b53259e80191
[ "MIT" ]
null
null
null
src/toast.hpp
mpdrescher/gui-black-jack
d7d1b9af384544021f2ff677eaf1b53259e80191
[ "MIT" ]
null
null
null
src/toast.hpp
mpdrescher/gui-black-jack
d7d1b9af384544021f2ff677eaf1b53259e80191
[ "MIT" ]
null
null
null
#ifndef __TOAST #define __TOAST #include <SFML/Graphics.hpp> #include <string> #include <math.h> using namespace sf; class Toast { string msg; int posX; int posY; int opacity; public: Toast(int, int, string); bool shouldDestroy(); void update(); void draw(RenderWindow*, Text*); }; ...
15.935484
36
0.645749
mpdrescher
f02b5b695d776bdc8842182bafe79740c388efdb
319
hpp
C++
src/helpform.hpp
lacriment/Hayyam
488f274944df61562e19b02145a6fdbcf7dc88b1
[ "MIT" ]
2
2016-05-03T07:38:34.000Z
2020-12-13T22:31:32.000Z
src/helpform.hpp
lacriment/Hayyam
488f274944df61562e19b02145a6fdbcf7dc88b1
[ "MIT" ]
null
null
null
src/helpform.hpp
lacriment/Hayyam
488f274944df61562e19b02145a6fdbcf7dc88b1
[ "MIT" ]
null
null
null
#ifndef HELPFORM_HPP #define HELPFORM_HPP #include <QDialog> namespace Ui { class HelpForm; } class HelpForm : public QDialog { Q_OBJECT public: explicit HelpForm(QWidget *parent = 0); ~HelpForm(); private slots: void on_btn_ok_clicked(); private: Ui::HelpForm *ui; }; #endif // HELPFORM_HPP
12.269231
43
0.69279
lacriment
f02caa274c262345066b4cd243a85e2c91efa60f
3,170
cpp
C++
src/tests/thirdparty/t_h5z_zfp_smoke.cpp
francois-kitware/conduit
e457aeeb249c445d67ca791c14f72062acfafb7f
[ "BSD-3-Clause" ]
120
2015-12-09T00:58:22.000Z
2022-03-25T00:14:39.000Z
src/tests/thirdparty/t_h5z_zfp_smoke.cpp
francois-kitware/conduit
e457aeeb249c445d67ca791c14f72062acfafb7f
[ "BSD-3-Clause" ]
808
2016-02-27T22:25:15.000Z
2022-03-30T23:42:12.000Z
src/tests/thirdparty/t_h5z_zfp_smoke.cpp
francois-kitware/conduit
e457aeeb249c445d67ca791c14f72062acfafb7f
[ "BSD-3-Clause" ]
49
2016-02-12T17:19:16.000Z
2022-02-01T14:36:21.000Z
// Copyright (c) Lawrence Livermore National Security, LLC and other Conduit // Project developers. See top-level LICENSE AND COPYRIGHT files for dates and // other details. No copyright assignment is required to contribute to Conduit. //----------------------------------------------------------------------------- ///...
27.807018
79
0.529968
francois-kitware
f03612115b8225cb39688bbf490da9e1ad648021
561
hpp
C++
ork/database.hpp
calsev/ork
0247981395e28d68b3a446f62b2e426ea752a322
[ "MIT" ]
null
null
null
ork/database.hpp
calsev/ork
0247981395e28d68b3a446f62b2e426ea752a322
[ "MIT" ]
4
2018-01-19T01:24:28.000Z
2018-01-19T01:27:07.000Z
ork/database.hpp
calsev/ork
0247981395e28d68b3a446f62b2e426ea752a322
[ "MIT" ]
null
null
null
/* This file is part of the ORK library. Full copyright and license terms can be found in the LICENSE.txt file. */ #pragma once #include "ork/ork.hpp" #define ORK_STL_INC_FILE <vector> #include "ork/core/stl_include.inl" namespace ork { ORK_ORK_EXT(bstring) uuid2string(const char* const value); ORK_ORK_EXT(std::vec...
24.391304
78
0.714795
calsev
f03a7f4b1ce169d4682c066aad0404cf435824bf
3,414
cpp
C++
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/XInput and JavaScript controller sketch sample (Windows 8)/C++,JavaScript/cpp/Controller.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/XInput and JavaScript controller sketch sample (Windows 8)/C++,JavaScript/cpp/Controller.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/XInput and JavaScript controller sketch sample (Windows 8)/C++,JavaScript/cpp/Controller.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch.h...
37.516484
103
0.722027
alonmm
f03caa84cc8a08169a4680dfbf1016d68032fd90
2,012
cpp
C++
codeforces/Codeforces Round #736 (Div. 2)/(B) Gregor and the Pawn Game,.cpp
raghavxk/Competitive-Programming
131c9fffc92b638834c33e0ee0933adcd1e0d92a
[ "MIT" ]
1
2021-09-29T13:10:03.000Z
2021-09-29T13:10:03.000Z
codeforces/Codeforces Round #736 (Div. 2)/(B) Gregor and the Pawn Game,.cpp
raghavxk/Competitive-Programming
131c9fffc92b638834c33e0ee0933adcd1e0d92a
[ "MIT" ]
null
null
null
codeforces/Codeforces Round #736 (Div. 2)/(B) Gregor and the Pawn Game,.cpp
raghavxk/Competitive-Programming
131c9fffc92b638834c33e0ee0933adcd1e0d92a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <chrono> #include <ctime> #define deb(x) cout << (#x) << " is " << (x) << endl #define nline "\n" #define read(x) int x; cin>>x #define SaveTime() ios_base::sync_with_stdio(false);std::cin.tie(NULL) typedef long long int ll; const int MOD = 1000000007; using namespace std; int sol...
20.323232
73
0.330517
raghavxk
f03f2558bf899eb028832ec32bb52596805d2c06
6,411
cpp
C++
code/Engine/Mesh.cpp
warzes/SapphireShooter
10ce2efbb9426050f0e16629aadc1977055ca62c
[ "MIT" ]
null
null
null
code/Engine/Mesh.cpp
warzes/SapphireShooter
10ce2efbb9426050f0e16629aadc1977055ca62c
[ "MIT" ]
null
null
null
code/Engine/Mesh.cpp
warzes/SapphireShooter
10ce2efbb9426050f0e16629aadc1977055ca62c
[ "MIT" ]
null
null
null
#include "stdafx.h" #if SE_OPENGL #include "Mesh.h" #include "OGLFunc.h" #include "Game/Player.h" // TODO: //----------------------------------------------------------------------------- Mesh::Mesh(const std::vector<MeshVertex>& vertices, const std::vector<GLuint>& indices, const std::vector<MeshTexture>& textures, boo...
35.225275
236
0.691156
warzes
f041616d93d532e5784cc4ee8c3abb575540d851
3,172
cpp
C++
matog/Array.cpp
mergian/matog
d03de27b92a0772ceac1c556293217ff91d405eb
[ "BSD-3-Clause" ]
1
2021-06-10T13:09:57.000Z
2021-06-10T13:09:57.000Z
matog/Array.cpp
mergian/matog
d03de27b92a0772ceac1c556293217ff91d405eb
[ "BSD-3-Clause" ]
null
null
null
matog/Array.cpp
mergian/matog
d03de27b92a0772ceac1c556293217ff91d405eb
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015 Nicolas Weber / GCC / TU-Darmstadt. All rights reserved. // Use of this source code is governed by the BSD 3-Clause license that can be // found in the LICENSE file. #include <matog/log.h> #include <matog/macros.h> #include <matog/degree/Type.h> #include <matog/util/String.h> #include <matog/St...
26.881356
92
0.544136
mergian
f0424fc3054acecbaa7322e5816c11082fbcbeff
1,136
cpp
C++
Boss/Mod/NewaddrHandler.cpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
108
2020-10-01T17:12:40.000Z
2022-03-30T09:18:03.000Z
Boss/Mod/NewaddrHandler.cpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
94
2020-10-03T13:40:30.000Z
2022-03-30T09:18:00.000Z
Boss/Mod/NewaddrHandler.cpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
17
2020-10-29T13:27:59.000Z
2022-03-18T13:05:03.000Z
#include"Boss/Mod/NewaddrHandler.hpp" #include"Boss/Mod/Rpc.hpp" #include"Boss/Msg/Init.hpp" #include"Boss/Msg/RequestNewaddr.hpp" #include"Boss/Msg/ResponseNewaddr.hpp" #include"Boss/concurrent.hpp" #include"Ev/Io.hpp" #include"Ev/foreach.hpp" #include"Jsmn/Object.hpp" #include"Json/Out.hpp" #include"S/Bus.hpp" names...
24.695652
55
0.669894
3nprob
f04362d4c8cfb22407003939a6ac5dad9f298db2
842
cpp
C++
TrainSup.cpp
miguellrodrigues/youbot_cpp
6e3a18607700905ae7ac30d7ace28ab1a432eb97
[ "MIT" ]
null
null
null
TrainSup.cpp
miguellrodrigues/youbot_cpp
6e3a18607700905ae7ac30d7ace28ab1a432eb97
[ "MIT" ]
null
null
null
TrainSup.cpp
miguellrodrigues/youbot_cpp
6e3a18607700905ae7ac30d7ace28ab1a432eb97
[ "MIT" ]
null
null
null
// // Created by miguel on 26/03/2021. // #include "include/TrainSup.hpp" #include "lib/webots/youbot/YouBot.hpp" #include "lib/neural_network/network/Network.hpp" #include "lib/util/Numbers.hpp" #include <nlohmann/json.hpp> #include <fstream> #include <vector> using std::vector; using json = nlohmann::json; TrainS...
20.536585
69
0.633017
miguellrodrigues
f045042568e618e1d1b825d96ce28138dc5990c1
562
cpp
C++
cpp/cpp/1304. Find N Unique Integers Sum up to Zero.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
3
2021-08-07T07:01:34.000Z
2021-08-07T07:03:02.000Z
cpp/cpp/1304. Find N Unique Integers Sum up to Zero.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
cpp/cpp/1304. Find N Unique Integers Sum up to Zero.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero/ // Given an integer n, return any array containing n unique integers such that they // add up to 0. //////////////////////////////////////////////////////////////////////////////// class Solution { public: vector<int> sumZero(int n) { ...
23.416667
83
0.428826
longwangjhu
f04718e2f37ccf6688843e5f3eee9c955b8827a5
2,282
cc
C++
SPOJ/Random/RAONE/A.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
SPOJ/Random/RAONE/A.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
SPOJ/Random/RAONE/A.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(auto it=(v).begin(); it != (v).end(); ++it) #define _ ios_base::sync_with_stdi...
21.528302
118
0.565732
VastoLorde95
f04d7e31cc8d42cd2b66a7d422c5a21d4b157cb6
2,763
cpp
C++
src/unit_test/system/TestCommandLineArgumentList.cpp
flwende/utility
40c6461b5e03bfd0f402e40d5a030ad2134ebc6a
[ "BSD-2-Clause" ]
null
null
null
src/unit_test/system/TestCommandLineArgumentList.cpp
flwende/utility
40c6461b5e03bfd0f402e40d5a030ad2134ebc6a
[ "BSD-2-Clause" ]
null
null
null
src/unit_test/system/TestCommandLineArgumentList.cpp
flwende/utility
40c6461b5e03bfd0f402e40d5a030ad2134ebc6a
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2020 Florian Wende (flwende@gmail.com) // // Distributed under the BSD 2-clause Software License // (See accompanying file LICENSE) #include <iostream> #include <memory> #include <gtest/gtest.h> #include <utility/system/CommandLineArguments.hpp> using ::fw::system::CmdLineArgs; TEST(CmdLine, Contai...
24.236842
56
0.635903
flwende
f050eb4d9560e3a5b0ae3a6879cd02dab9eeb73b
6,283
hpp
C++
src/aot/RelocationRecord.hpp
CAS-Atlantic/wabtaot
e6cd720d2ffb99f5851d3421236ff2b719b0c753
[ "Apache-2.0" ]
2
2020-09-24T14:38:00.000Z
2020-10-21T14:01:27.000Z
src/aot/RelocationRecord.hpp
CAS-Atlantic/wabtaot
e6cd720d2ffb99f5851d3421236ff2b719b0c753
[ "Apache-2.0" ]
null
null
null
src/aot/RelocationRecord.hpp
CAS-Atlantic/wabtaot
e6cd720d2ffb99f5851d3421236ff2b719b0c753
[ "Apache-2.0" ]
null
null
null
#ifndef WASM_RELO_RECORD #define WASM_RELO_RECORD #include <time.h> #include "runtime/OMRRelocationRecord.hpp" #ifndef WASM_RELOCATION_RECORD_CONNECTOR #define WASM_RELOCATION_RECORD_CONNECTOR namespace WASM { class RelocationRecord;} namespace WASM { typedef WASM::RelocationRecord WASMRelocationRecordConnector;} #endi...
46.540741
165
0.773834
CAS-Atlantic
f05c0261948ad2dcd23e8ca7c3e5575f8d7cb68a
2,299
cpp
C++
src/AudioSets.cpp
duhone/Audio
98847598de47a92f101fafa4a5bc510df4004a2f
[ "MIT" ]
null
null
null
src/AudioSets.cpp
duhone/Audio
98847598de47a92f101fafa4a5bc510df4004a2f
[ "MIT" ]
null
null
null
src/AudioSets.cpp
duhone/Audio
98847598de47a92f101fafa4a5bc510df4004a2f
[ "MIT" ]
null
null
null
#include <AudioSets.h> #include <core/Log.h> #include <bitset> using namespace CR::Audio; namespace { struct AudioSetsData { AudioSetsData() = default; ~AudioSetsData() = default; AudioSetsData(const AudioSetsData&) = delete; AudioSetsData(AudioSetsData&&) = delete; AudioSetsData& operator=(const...
29.101266
114
0.705089
duhone
f05c6fe535231edc16ef853ea01f6d96abbd53be
2,828
hpp
C++
kanooth/numbers/integer_binary_logarithm.hpp
janmarthedal/kanooth-numbers
2c6ce4f588bdd26826c20a84154881d84a70191c
[ "BSL-1.0" ]
2
2017-10-02T13:29:54.000Z
2018-04-24T18:17:18.000Z
kanooth/numbers/integer_binary_logarithm.hpp
janmarthedal/kanooth-numbers
2c6ce4f588bdd26826c20a84154881d84a70191c
[ "BSL-1.0" ]
null
null
null
kanooth/numbers/integer_binary_logarithm.hpp
janmarthedal/kanooth-numbers
2c6ce4f588bdd26826c20a84154881d84a70191c
[ "BSL-1.0" ]
null
null
null
#ifndef KANOOTH_NUMBERS_INTEGER_BINARY_LOGARITHM_HPP #define KANOOTH_NUMBERS_INTEGER_BINARY_LOGARITHM_HPP #include <kanooth/fixed_width_ints.hpp> namespace kanooth { namespace numbers { namespace { const short int_bin_log_table[256] = { -1, 0, 1,1, 2,2,2,2, 3,3,3,3,3,3,3,3, 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,...
26.429907
71
0.552687
janmarthedal
f0625437207e2ff60d785f072fefe85cca8f1e2c
6,369
cpp
C++
Extensions/ZilchShaders/ZilchShaderSettingsLibrary.cpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
52
2018-09-11T17:18:35.000Z
2022-03-13T15:28:21.000Z
Extensions/ZilchShaders/ZilchShaderSettingsLibrary.cpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
1,409
2018-09-19T18:03:43.000Z
2021-06-09T08:33:33.000Z
Extensions/ZilchShaders/ZilchShaderSettingsLibrary.cpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
26
2018-09-11T17:16:32.000Z
2021-11-22T06:21:19.000Z
/////////////////////////////////////////////////////////////////////////////// /// /// Authors: Joshua Davis /// Copyright 2016, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #include "Precompiled.hpp" #include "ZilchShaderSettingsLibrary.h...
45.492857
179
0.7458
RachelWilSingh
f062e06f247643aeec6127fa24dc258bc3f496cb
6,124
cpp
C++
Hog_HLS/solution1/.autopilot/db/hls_design_meta.cpp
DoubleGithub/HOG_Zedboard
6fc55c37ee210d7fc8bca919213e96bfc5c9d811
[ "MIT" ]
29
2018-07-09T10:12:47.000Z
2022-01-14T18:57:52.000Z
Hog_HLS/solution1/.autopilot/db/hls_design_meta.cpp
DoubleGithub/HOG_Zedboard
6fc55c37ee210d7fc8bca919213e96bfc5c9d811
[ "MIT" ]
10
2018-10-30T10:38:12.000Z
2021-04-14T00:43:29.000Z
Hog_HLS/solution1/.autopilot/db/hls_design_meta.cpp
DoubleGithub/HOG_Zedboard
6fc55c37ee210d7fc8bca919213e96bfc5c9d811
[ "MIT" ]
10
2019-07-04T07:39:38.000Z
2021-05-11T13:54:07.000Z
#include "hls_design_meta.h" const Port_Property HLS_Design_Meta::port_props[]={ Port_Property("ap_clk", 1, hls_in, -1, "", "", 1), Port_Property("ap_rst_n", 1, hls_in, -1, "", "", 1), Port_Property("m_axi_INPUT_IMAGE_AWVALID", 1, hls_out, 0, "m_axi", "VALID", 1), Port_Property("m_axi_INPUT_IMAGE_AWREADY", 1, hls_i...
70.390805
82
0.681091
DoubleGithub
f0678fe39fce665f44c4f07b1a66fbd292da46fa
810
cpp
C++
74-Search_a_2D_Matrix.cpp
elsdrium/LeetCode-practice
a3b1fa5dd200155a636d36cd570e2454f7194e10
[ "MIT" ]
null
null
null
74-Search_a_2D_Matrix.cpp
elsdrium/LeetCode-practice
a3b1fa5dd200155a636d36cd570e2454f7194e10
[ "MIT" ]
null
null
null
74-Search_a_2D_Matrix.cpp
elsdrium/LeetCode-practice
a3b1fa5dd200155a636d36cd570e2454f7194e10
[ "MIT" ]
null
null
null
class Solution { int matrix_at(const vector<vector<int>>& matrix, int index) { return matrix[index/matrix[0].size()][index%matrix[0].size()]; } public: bool searchMatrix(vector<vector<int>>& matrix, int target) { if ( matrix.empty() || matrix[0].empty() ) return false; int begin = 0,...
38.571429
85
0.544444
elsdrium
f0696326795008a9c1205d2bbab4038c6da67374
17,397
cxx
C++
Slicer/Multi-LevelRegistration.cxx
SierenLab/Multi-levelRegistration
bfd169e5200da242a9e017207d2dbb2709e94723
[ "MIT" ]
null
null
null
Slicer/Multi-LevelRegistration.cxx
SierenLab/Multi-levelRegistration
bfd169e5200da242a9e017207d2dbb2709e94723
[ "MIT" ]
null
null
null
Slicer/Multi-LevelRegistration.cxx
SierenLab/Multi-levelRegistration
bfd169e5200da242a9e017207d2dbb2709e94723
[ "MIT" ]
null
null
null
// include files #include "..\ReadWriteFunctions.hxx" #include "..\PreprocessingFunctions.hxx" #include "..\itkRegistrationFramework.h" #include "..\itkInitializationFilter.h" #include "..\itkManageTransformsFilter.h" #include "..\itkValidationFilter.h" // rescale images #include "itkRescaleIntensityImageFilter.h" #i...
34.655378
155
0.669943
SierenLab