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
5ba81e51583c77b879fec6efd84ad6a2290d26ca
809
cpp
C++
test/test_group.cpp
nnaumenko/metaf
9e7882649f1eb6bec9a031f30749e0843f3e424d
[ "MIT" ]
10
2019-10-03T23:18:35.000Z
2021-11-05T13:54:58.000Z
test/test_group.cpp
sthagen/metaf
9e7882649f1eb6bec9a031f30749e0843f3e424d
[ "MIT" ]
3
2019-10-03T23:24:11.000Z
2020-02-17T23:44:52.000Z
test/test_group.cpp
sthagen/metaf
9e7882649f1eb6bec9a031f30749e0843f3e424d
[ "MIT" ]
6
2019-07-16T03:54:25.000Z
2021-03-13T15:30:47.000Z
/* * Copyright (C) 2018-2020 Nick Naumenko (https://gitlab.com/nnaumenko) * All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "gtest/gtest.h" #include "metaf.hpp" #include <type_traits> //////////////////...
38.52381
80
0.588381
nnaumenko
5bae2a0bc62716439585fa8b3121b51cece2d286
1,399
hpp
C++
external/boost_1_60_0/qsboost/preprocessor/tuple/detail/is_single_return.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/preprocessor/tuple/detail/is_single_return.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/preprocessor/tuple/detail/is_single_return.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
# /* ************************************************************************** # * * # * (C) Copyright Edward Diener 2014. * # * Distributed under the Boost Software License, Version 1.0. (See * ...
48.241379
80
0.538242
wouterboomsma
5baf464e1ad891138e0945924eb4ec1015bb46ca
1,531
cpp
C++
src/AST_Implementaciones/Modulo.cpp
AlejandroRM94/Compilador_C_minimo
6c69987749233876c9f7fc0cde9c479f0d3ba531
[ "MIT" ]
null
null
null
src/AST_Implementaciones/Modulo.cpp
AlejandroRM94/Compilador_C_minimo
6c69987749233876c9f7fc0cde9c479f0d3ba531
[ "MIT" ]
null
null
null
src/AST_Implementaciones/Modulo.cpp
AlejandroRM94/Compilador_C_minimo
6c69987749233876c9f7fc0cde9c479f0d3ba531
[ "MIT" ]
null
null
null
#include "../AST_Tipos.h" Modulo::Modulo( Expresion* izquierda, Expresion* derecha ) { simbolo = "%"; this->izquierda = izquierda; this->derecha = derecha; } Modulo::~Modulo() {} TipoDato Modulo::analizarTipo() { if( izquierda->analizarTipo() == derecha->analizarTipo() ) { return izquierda->a...
28.886792
85
0.576094
AlejandroRM94
5baf81123c38a7504e87576329c40f2ed7bf3d58
6,771
hpp
C++
deps/zorro/Value.hpp
Xecutor/zorroeditor
69627f9a555ee739ea4fce0c9eb9f589b1e7f5f9
[ "MIT" ]
null
null
null
deps/zorro/Value.hpp
Xecutor/zorroeditor
69627f9a555ee739ea4fce0c9eb9f589b1e7f5f9
[ "MIT" ]
null
null
null
deps/zorro/Value.hpp
Xecutor/zorroeditor
69627f9a555ee739ea4fce0c9eb9f589b1e7f5f9
[ "MIT" ]
null
null
null
#pragma once #include <stdint.h> #include <stdio.h> #include <string> #include "RefBase.hpp" namespace kst { class RegExp; struct SMatch; struct NamedMatch; } namespace zorro { enum ValueType : uint8_t { vtNil, //0 vtBool, //1 vtInt, //2 vtDouble, //3 vtCFunc, ...
19.914706
65
0.581303
Xecutor
5bb298a2f6ac2938e6a64c8d1dee9a2b39a890d0
2,649
cpp
C++
source/dynamic_static/vk-xml-parser/extension.cpp
dynamic-static/vk-xml-parser
dc7aecc4a033d7456f5ea55637bdec5e223da05d
[ "MIT" ]
null
null
null
source/dynamic_static/vk-xml-parser/extension.cpp
dynamic-static/vk-xml-parser
dc7aecc4a033d7456f5ea55637bdec5e223da05d
[ "MIT" ]
null
null
null
source/dynamic_static/vk-xml-parser/extension.cpp
dynamic-static/vk-xml-parser
dc7aecc4a033d7456f5ea55637bdec5e223da05d
[ "MIT" ]
null
null
null
/* ========================================== Copyright (c) 2021 dynamic_static Licensed under the MIT license http://opensource.org/licenses/MIT ========================================== */ #include "dynamic_static/vk-xml-parser/extension.hpp" #include "dynamic_static/string.hpp" #include "xml-utilities...
34.855263
92
0.524349
dynamic-static
5bb3c907177942f47a60ec905c3fd6207073ad78
1,230
cpp
C++
Projects/GameOfLife_SFML/src/Window.cpp
Malacky/game-of-assessment
19494b6443d0e0a34c7cfeb3dfe22a18046d6b7c
[ "Apache-2.0" ]
1
2019-02-28T06:04:59.000Z
2019-02-28T06:04:59.000Z
Projects/GameOfLife_SFML/src/Window.cpp
Malacky/game-of-assessment
19494b6443d0e0a34c7cfeb3dfe22a18046d6b7c
[ "Apache-2.0" ]
null
null
null
Projects/GameOfLife_SFML/src/Window.cpp
Malacky/game-of-assessment
19494b6443d0e0a34c7cfeb3dfe22a18046d6b7c
[ "Apache-2.0" ]
null
null
null
#include <SFML/Graphics.hpp> #include "Window.h" void Window::zoom(sf::Vector2f mousePos, bool zoomIn) { //Second arguments is positive if zooming in, negative if zooming out. constexpr float changeCenterToMouseCoords = 2; //Affects affinity of the center of the window towards the mouse. constexpr float zoomI...
42.413793
173
0.722764
Malacky
5bb823716a174b808663743ee1917d3ddac3d08c
880
cpp
C++
src/low-level/syscall/SyscallWrite.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
5
2021-12-21T19:17:00.000Z
2022-03-10T17:56:59.000Z
src/low-level/syscall/SyscallWrite.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
null
null
null
src/low-level/syscall/SyscallWrite.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
null
null
null
#include "syscall.hpp" #include "interrupts/Interrupts.hpp" #include "printf/printf.h" #include "filesystems/VFS.hpp" #include "process/Process.hpp" #include "debug.hpp" #include "errno.h" size_t SyscallWrite(InterruptStack *stack) { int fd = stack->rsi; const void *buffer = (const void *)stack->rdx; size_...
20.465116
81
0.627273
LittleCodingFox
5bc189071a7e28d34311e7e05798a022eff13db5
201
cxx
C++
generator/includes/unpermitted_write.cxx
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
1
2018-03-13T21:02:42.000Z
2018-03-13T21:02:42.000Z
generator/includes/unpermitted_write.cxx
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
null
null
null
generator/includes/unpermitted_write.cxx
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
null
null
null
sid::bus::status HDL_##MOD_NAME##::HDL_register_bus::write(sid::host_int_4 addr, sid::##endian##_int_##bus_size## data) throw() { return write(addr, (sid::##endian##_int_##base_bus_size##) data); }
28.714286
111
0.691542
deafbeed
5bc4f6590bf2e7252200729c96fa42411d24ab9b
1,053
cpp
C++
#Preparation/Placement-Overview/PrepInsta/Trees Graphs/heightBinaryTree.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
4
2020-05-14T04:41:04.000Z
2021-06-13T06:42:03.000Z
Trees&Graphs/heightBinaryTree.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
null
null
null
Trees&Graphs/heightBinaryTree.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std ; #define deb(x) {cout << #x << " " << x << endl ;} struct Tree { int data ; Tree *left; Tree *right; Tree (int d) { this->data = d ; this->left = this->right = NULL ; } }; int _getHeight(Tree *node) { int lHeight = 0, rHright = 0 ; ...
22.891304
56
0.54416
sounishnath003
5bcaf052f5821d71add5dee6d61628a721571b4a
146
cpp
C++
skse64/BSModelDB.cpp
Acro748/CBPCSSE
fabd56ce8f8ac10cde17325f0bd61ecc8cbcda20
[ "MIT" ]
13
2020-06-06T09:08:55.000Z
2022-01-22T12:21:21.000Z
skse64/BSModelDB.cpp
Erstori/SkyrimPriority-Mod
50a5adeb78766fba25d4f28626621e9df38df4ba
[ "MIT" ]
1
2020-09-08T19:38:55.000Z
2020-09-08T19:38:55.000Z
skse64/BSModelDB.cpp
Erstori/SkyrimPriority-Mod
50a5adeb78766fba25d4f28626621e9df38df4ba
[ "MIT" ]
4
2020-06-05T12:32:58.000Z
2022-01-15T00:17:44.000Z
#include "skse64/BSModelDB.h" // 206875324DD3C045FB854CB2889AFBCA94C7790B+89 RelocPtr <BSModelDB::BSModelProcessor*> g_TESProcessor(0x01EC3C10);
29.2
67
0.835616
Acro748
5bd10a7fc5bcd22bc7f6e7a82756cfde4498eb1e
1,615
cpp
C++
3rdparty/cuckoo/cuckatoo.cpp
coffevei/btcpool
6035816b2fadc53f2471a7567fc86633e8702c96
[ "MIT" ]
1
2020-04-22T17:24:48.000Z
2020-04-22T17:24:48.000Z
3rdparty/cuckoo/cuckatoo.cpp
coffevei/btcpool
6035816b2fadc53f2471a7567fc86633e8702c96
[ "MIT" ]
null
null
null
3rdparty/cuckoo/cuckatoo.cpp
coffevei/btcpool
6035816b2fadc53f2471a7567fc86633e8702c96
[ "MIT" ]
5
2019-10-14T06:57:57.000Z
2020-10-11T20:36:28.000Z
#include "cuckatoo.h" #include "siphash.h" // generate edge endpoint in cuck(at)oo graph without partition bit static uint64_t sip_node(siphash_keys &keys, uint64_t edge, uint64_t uorv, uint64_t edge_mask) { return keys.siphash24(2 * edge + uorv) & edge_mask; } // verify that edges are ascending and form a cycle in...
37.55814
98
0.596904
coffevei
5bd5e51b60d31ae5348adbd884d300d63d55b240
2,107
cpp
C++
#017.cpp
LiFantastic/LeetCode
ed7a25b96595531009e55de9aeebe758ca0734d2
[ "Apache-2.0" ]
null
null
null
#017.cpp
LiFantastic/LeetCode
ed7a25b96595531009e55de9aeebe758ca0734d2
[ "Apache-2.0" ]
null
null
null
#017.cpp
LiFantastic/LeetCode
ed7a25b96595531009e55de9aeebe758ca0734d2
[ "Apache-2.0" ]
null
null
null
/*============================================================ Problem: Letter Combinations of a Phone Number ============================================================== Given a digit string, return all possible letter combinations that the number could represent. 1 2:abc 3:def 4:ghi 5:jkl 6:mno 7:pqrs 8:tuv...
32.415385
63
0.487897
LiFantastic
5bd758d7e199f32734597e7ac4674692447d6bc4
302
cpp
C++
test/llvm_test_code/type_hierarchies/type_hierarchy_15.cpp
janniclas/phasar
324302ae96795e6f0a065c14d4f7756b1addc2a4
[ "MIT" ]
1
2022-02-15T07:56:29.000Z
2022-02-15T07:56:29.000Z
test/llvm_test_code/type_hierarchies/type_hierarchy_15.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
test/llvm_test_code/type_hierarchies/type_hierarchy_15.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
class Base { int x; public: virtual void test(); virtual ~Base(); }; class Child : public Base { public: virtual ~Child(); }; // the definition of this method is missing // void Base::test() { // } Base::~Base() {} Child::~Child() {} void use() { Child *c = new Child(); delete c; }
11.185185
43
0.57947
janniclas
5bd7b3f5027d7325f23cdb00eff24d62699c1c70
9,576
cpp
C++
Sources/Fonts/Text.cpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
Sources/Fonts/Text.cpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
Sources/Fonts/Text.cpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
#include "Text.hpp" #include "Maths/Visual/DriverConstant.hpp" namespace acid { Text::Text(UiObject *parent, const UiBound &rectangle, const float &fontSize, std::string text, std::shared_ptr<FontType> fontType, const Justify &justify, const float &maxWidth, const Colour &textColour, const float &kerning, const flo...
25.811321
178
0.715226
liuping1997
5bd87f0d4f8b25384f87307c239277242781238e
386
cpp
C++
Flappy-Bird-SFML-Clone-master/Code/GAME LOGIC/20 - Collision With The Ground/Collision.cpp
Moklok/Flappy-Bird-SFML-Clone-master
7a1a0c1193503e899a243992a9a5a8980750f81e
[ "Apache-2.0" ]
43
2017-02-02T17:41:21.000Z
2022-02-21T14:50:02.000Z
Code/GAME LOGIC/20 - Collision With The Ground/Collision.cpp
frankie111/Flappy-Bird-SFML-Clone
03b5c04de9b96531683115d61ec90df78d40d8e6
[ "Unlicense" ]
1
2019-10-29T08:26:46.000Z
2019-10-29T08:26:46.000Z
Code/GAME LOGIC/20 - Collision With The Ground/Collision.cpp
frankie111/Flappy-Bird-SFML-Clone
03b5c04de9b96531683115d61ec90df78d40d8e6
[ "Unlicense" ]
78
2017-05-24T00:00:32.000Z
2021-11-27T08:59:59.000Z
#include "Collision.hpp" namespace Sonar { Collision::Collision() { } Collision::~Collision() { } bool Collision::CheckSpriteCollision(sf::Sprite sprite1, sf::Sprite sprite2) { sf::Rect<float> rect1 = sprite1.getGlobalBounds(); sf::Rect<float> rect2 = sprite2.getGlobalBounds(); if (rect1.intersects(re...
14.296296
77
0.660622
Moklok
5bd880b0ea79f99a3ec07aa18d5d0664d19d7bfb
11,872
cpp
C++
source/mechcmd2/mpstats.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
38
2015-04-10T13:31:03.000Z
2021-09-03T22:34:05.000Z
source/mechcmd2/mpstats.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
1
2020-07-09T09:48:44.000Z
2020-07-12T12:41:43.000Z
source/mechcmd2/mpstats.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
12
2015-06-29T08:06:57.000Z
2021-10-13T13:11:41.000Z
#define MPSTATS_CPP /*************************************************************************************************\ MPStats.cpp : Implementation of the MPStats component. //---------------------------------------------------------------------------// // Copyright (C) Microsoft Corporation. All rights reserved. ...
27.167048
99
0.666274
mechasource
5bdf45c4d15a7688757c8bf91a465136337b58aa
360
cpp
C++
bin/example/encoding.cpp
liuhao0620/cpps
bda58f629c3c7083550f29abad4c14550bdec14b
[ "MIT" ]
null
null
null
bin/example/encoding.cpp
liuhao0620/cpps
bda58f629c3c7083550f29abad4c14550bdec14b
[ "MIT" ]
null
null
null
bin/example/encoding.cpp
liuhao0620/cpps
bda58f629c3c7083550f29abad4c14550bdec14b
[ "MIT" ]
null
null
null
//system("chcp 65001"); //use utf8 string #import "encoding" var s = "我是中文"; println(s); //鎴戞槸涓枃 var utf8 = encoding.encode(s,encoding.UTF8); println(utf8); //鎴戞槸涓枃 var gbk = encoding.encode(s,encoding.GBK); println(gbk);//我是中文 utf8 = encoding.encode(gbk,encoding.UTF8); println(utf8);//鎴戞槸涓枃 s = encoding.encode(...
18.947368
44
0.694444
liuhao0620
5bdf95e1ba6015c48d032963709d979530d0c6e8
112,738
cpp
C++
lib/cpp/test/gen-cpp/ThriftTest_types.cpp
kaydxh/thrift-0.9.3
e7cb9443aed452f656744cb7c1447cff18012abb
[ "Apache-2.0" ]
null
null
null
lib/cpp/test/gen-cpp/ThriftTest_types.cpp
kaydxh/thrift-0.9.3
e7cb9443aed452f656744cb7c1447cff18012abb
[ "Apache-2.0" ]
null
null
null
lib/cpp/test/gen-cpp/ThriftTest_types.cpp
kaydxh/thrift-0.9.3
e7cb9443aed452f656744cb7c1447cff18012abb
[ "Apache-2.0" ]
null
null
null
/** * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "ThriftTest_types.h" #include <algorithm> #include <ostream> #include <thrift/TToString.h> namespace thrift { namespace test { int _kNumberzValues[] = { Numberz::ONE, ...
29.675704
176
0.595576
kaydxh
5be32a734c2ef2fab16f677a6c398cedc150300d
289
hpp
C++
src/elona/save_fs.hpp
nanbansenji/ElonaFoobar
ddbd6639db8698e89f09b2512526e855d8016e46
[ "MIT" ]
84
2018-03-03T02:44:32.000Z
2019-07-14T16:16:24.000Z
src/elona/save_fs.hpp
AFB111/elonafoobar
da7a3c86dd45e68e6e490fb260ead1d67c9fff5e
[ "MIT" ]
685
2018-02-27T04:31:17.000Z
2019-07-12T13:43:00.000Z
src/elona/save_fs.hpp
nanbansenji/ElonaFoobar
ddbd6639db8698e89f09b2512526e855d8016e46
[ "MIT" ]
23
2019-07-26T08:52:38.000Z
2021-11-09T09:21:58.000Z
#pragma once #include "filesystem.hpp" namespace elona { void save_fs_clear(); bool save_fs_exists(const fs::path& filename); void save_fs_add(const fs::path& filename); void save_fs_remove(const fs::path& filename); void save_fs_save(const fs::path& save_dir); } // namespace elona
17
46
0.754325
nanbansenji
5be3e15bc48f8d9f2116f405087d8b09b149040d
2,407
hpp
C++
core/primitives/runtime_dispatch_info.hpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
110
2019-04-03T13:39:39.000Z
2022-03-09T11:54:42.000Z
core/primitives/runtime_dispatch_info.hpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
890
2019-03-22T21:33:30.000Z
2022-03-31T14:31:22.000Z
core/primitives/runtime_dispatch_info.hpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
27
2019-06-25T06:21:47.000Z
2021-11-01T14:12:10.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_RUNTIME_DISPATCH_INFO_HPP #define KAGOME_RUNTIME_DISPATCH_INFO_HPP namespace kagome::primitives { /** Information related to a dispatchable's class, weight, and fee that can be * queried from the ...
34.884058
80
0.687578
igor-egorov
5be51bafc3286ef6d3dfcb3fad50ff998b38813b
3,265
cpp
C++
foedus_code/foedus-core/src/foedus/assorted/raw_atomics.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/assorted/raw_atomics.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/assorted/raw_atomics.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * 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 License, or (at your option) * any later versi...
46.642857
98
0.732312
sam1016yu
5becd292e7acb5eb33c9a9e6e6299ae709f0fd4e
4,234
cpp
C++
Source.cpp
aryanbhardwaj/Advanced-Programming
71c473cfe3544fbc6eda438c757fbb4e7813bca7
[ "MIT" ]
null
null
null
Source.cpp
aryanbhardwaj/Advanced-Programming
71c473cfe3544fbc6eda438c757fbb4e7813bca7
[ "MIT" ]
null
null
null
Source.cpp
aryanbhardwaj/Advanced-Programming
71c473cfe3544fbc6eda438c757fbb4e7813bca7
[ "MIT" ]
null
null
null
//glDrawPixels(window_width, window_height, GL_RGB, GL_FLOAT, pixels); #include<iostream> using namespace std; //void main() //{ // cout << "hello world" << endl; // // // system("pause"); // //} // this example is fro from http://www.glfw.org/documentation.html #include <GLFW/glfw3.h> const int width = 640; c...
17.864979
130
0.593056
aryanbhardwaj
5bf9b6a40381bdb9315aa191a9e70cd8758c4dc2
11,166
cpp
C++
Lavio/Lavio/Source/Math/Matrix/Matrix4x4.cpp
landon912/Lavio
c726f43ed98f630d68ea6bc234f367b67578c918
[ "MIT" ]
1
2021-04-29T12:43:59.000Z
2021-04-29T12:43:59.000Z
Lavio/Lavio/Source/Math/Matrix/Matrix4x4.cpp
landon912/Lavio
c726f43ed98f630d68ea6bc234f367b67578c918
[ "MIT" ]
null
null
null
Lavio/Lavio/Source/Math/Matrix/Matrix4x4.cpp
landon912/Lavio
c726f43ed98f630d68ea6bc234f367b67578c918
[ "MIT" ]
null
null
null
// **************************************** Lavio Engine **************************************** // **************************** Copyright (c) 2017 All Rights Reserved ************************** // ***************************** Landon Kirk (landonaddison@yahoo.com) ************************** #pragma once #include <c...
31.721591
119
0.578542
landon912
5bfad0ac23ca821e7b73a523f42e34dbf8dac313
6,077
cpp
C++
plugin_III/game_III/CFireManager.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
plugin_III/game_III/CFireManager.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
89
2016-05-08T06:42:36.000Z
2022-03-29T06:49:09.000Z
plugin_III/game_III/CFireManager.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CFireManager.h" PLUGIN_SOURCE_FILE PLUGIN_VARIABLE CFireManager &gFireManager = *reinterpret_cast<CFireManager...
59.578431
249
0.801382
gta-chaos-mod
75027021ec8b939f8942ede0b57e0980b3768473
2,380
hpp
C++
src/device_model/geometry.hpp
masonhieb/cppagent
c80381606fb5cc6862b454150868f93bd86147c0
[ "Apache-2.0" ]
100
2015-02-01T14:09:49.000Z
2022-01-06T08:44:05.000Z
src/device_model/geometry.hpp
masonhieb/cppagent
c80381606fb5cc6862b454150868f93bd86147c0
[ "Apache-2.0" ]
140
2015-01-10T16:59:58.000Z
2022-03-31T03:56:22.000Z
src/device_model/geometry.hpp
masonhieb/cppagent
c80381606fb5cc6862b454150868f93bd86147c0
[ "Apache-2.0" ]
74
2015-01-13T22:05:04.000Z
2022-03-03T13:49:39.000Z
// // Copyright Copyright 2009-2021, AMT – The Association For Manufacturing Technology (“AMT”) // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
25.052632
92
0.656723
masonhieb
7505430909fc1430255c8b009189c6daeccf12ac
95
cpp
C++
src/EDA221/assignment5.cpp
Daniel-Vick/Computer_Graphics_Project
eaf9072c6db2226fcf2026099e0c5e403ede1f52
[ "MIT" ]
null
null
null
src/EDA221/assignment5.cpp
Daniel-Vick/Computer_Graphics_Project
eaf9072c6db2226fcf2026099e0c5e403ede1f52
[ "MIT" ]
null
null
null
src/EDA221/assignment5.cpp
Daniel-Vick/Computer_Graphics_Project
eaf9072c6db2226fcf2026099e0c5e403ede1f52
[ "MIT" ]
null
null
null
#include "assignment5.hpp" int main() { //! \todo Implement assignment 5 return 1; }
11.875
34
0.621053
Daniel-Vick
75066d3c299697cff7ea9e9eb73d45594ca7d97d
559
cpp
C++
Week6_HW/Mercedes.cpp
Robertino103/CommandDefense
43f7c8ad02654c4602cfcb83b8958bc0757c8042
[ "MIT" ]
null
null
null
Week6_HW/Mercedes.cpp
Robertino103/CommandDefense
43f7c8ad02654c4602cfcb83b8958bc0757c8042
[ "MIT" ]
null
null
null
Week6_HW/Mercedes.cpp
Robertino103/CommandDefense
43f7c8ad02654c4602cfcb83b8958bc0757c8042
[ "MIT" ]
null
null
null
#include "Mercedes.h" #include "Weather.h" Mercedes::Mercedes() { FuelCapacity = 50; FuelConsumption = 30; AverageSpeed[Rain] = 80; AverageSpeed[Sunny] = 100; AverageSpeed[Snow] = 64; CarName = (char*)"Mercedes"; } float Mercedes::StartRace(bool& b, int w, int circuitlength) { int Speed = AverageSpeed[w]; flo...
19.964286
60
0.710197
Robertino103
751a0e5e43026a78cd5a4dafba56450d210ba9b6
6,650
cpp
C++
alia_demo/src/timing.cpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
null
null
null
alia_demo/src/timing.cpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
null
null
null
alia_demo/src/timing.cpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
4
2018-09-28T17:12:54.000Z
2022-03-20T14:22:29.000Z
#include "utilities.hpp" ALIA_DEFINE_DEMO( square_wave_demo, "Square Wave", "One of the signals you can generate is a square wave.\n\n" "It alternates between true and false.\n\n" "Note that all durations in alia are specified in milliseconds.", void do_ui(ui_context& ctx) { do_color(ct...
34.455959
319
0.618947
dotdecimal
9708685ea399e28b781aca53da6fb65713acfd6a
1,243
cpp
C++
lib/graph/tree/lcaSparse.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
null
null
null
lib/graph/tree/lcaSparse.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
null
null
null
lib/graph/tree/lcaSparse.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
1
2021-09-03T16:52:21.000Z
2021-09-03T16:52:21.000Z
#include <bits/stdc++.h> #define pb push_back using namespace std; const int maxN = 2e5 + 5; int n; vector<int> adj[maxN]; int eulerCnt, e[maxN * 2], f[maxN]; int h[maxN]; int sp[maxN][22], Lg[maxN * 2]; void dfs(int u, int p) { e[++eulerCnt] = u; f[u] = eulerCnt; for(auto v : adj[u]) { if(v != p) { ...
19.123077
101
0.436042
howdepressingitistoloveyou
970ccbda8c0a293f444db02ecbe626d76e8d52dc
603
hpp
C++
bsengine/src/bstorm/graphic_device.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/graphic_device.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/graphic_device.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
#pragma once #include <bstorm/non_copyable.hpp> #include <windows.h> #include <d3d9.h> namespace bstorm { class GraphicDevice : private NonCopyable { public: GraphicDevice(HWND hWnd); ~GraphicDevice(); void Reset(); IDirect3DDevice9* GetDevice() const; void SwitchRenderTargetToBackBuffer(); ...
22.333333
54
0.746269
At-sushi
9712dcef4d3873ae8a9724642096ceec138600b6
3,246
cpp
C++
src/aadcUser/src/HSOG_Runtime/tests/ScanLineTest.cpp
AppliedAutonomyOffenburg/AADC_2015_A2O
19a2ac67d743ad23e5a259ca70aed6b3d1f2e3ac
[ "BSD-4-Clause" ]
1
2018-09-09T21:39:29.000Z
2018-09-09T21:39:29.000Z
src/aadcUser/src/HSOG_Runtime/tests/ScanLineTest.cpp
TeamAutonomousCarOffenburg/A2O_2015
19a2ac67d743ad23e5a259ca70aed6b3d1f2e3ac
[ "BSD-4-Clause" ]
null
null
null
src/aadcUser/src/HSOG_Runtime/tests/ScanLineTest.cpp
TeamAutonomousCarOffenburg/A2O_2015
19a2ac67d743ad23e5a259ca70aed6b3d1f2e3ac
[ "BSD-4-Clause" ]
1
2016-04-05T06:34:08.000Z
2016-04-05T06:34:08.000Z
#include "gtest/gtest.h" #include "../a2o/worldmodel/lanedetection/ScanLine.h" #include <opencv2/core/core.hpp> #include <eigen3/Eigen/Core> #include <eigen3/Eigen/Dense> #include <cmath> using namespace A2O; using namespace std; using namespace cv; using namespace Eigen; namespace { class ScanLineTest: public ::t...
27.277311
65
0.710413
AppliedAutonomyOffenburg
97144cd15faf52c9516020e0828cadc3088a5042
239
cpp
C++
bin1/tests/algo2.cpp
MichaelMiller-/monorepo
4a9f9bf3d7896c25a3d582d1e1f7c99f476ad70e
[ "MIT" ]
null
null
null
bin1/tests/algo2.cpp
MichaelMiller-/monorepo
4a9f9bf3d7896c25a3d582d1e1f7c99f476ad70e
[ "MIT" ]
null
null
null
bin1/tests/algo2.cpp
MichaelMiller-/monorepo
4a9f9bf3d7896c25a3d582d1e1f7c99f476ad70e
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <catch.hpp> #include <vector> TEST_CASE("test case for the second algorithm", "[algo2]") { SECTION("trivial test") { std::vector<int> result{}; REQUIRE(result.empty() == true); } }
17.071429
58
0.635983
MichaelMiller-
97171c276cd5046570e7d16e31292119f16794a4
2,961
hpp
C++
include/System/ComponentModel/RefreshEventArgs.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/ComponentModel/RefreshEventArgs.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/ComponentModel/RefreshEventArgs.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.EventArgs #include "System/E...
42.913043
126
0.733198
v0idp
971a5d8b59e24a5e6692ac3f7a26fe57664261da
2,695
cc
C++
src/util_data_format_version.cc
swerling/pdftoedn
87917fd8fffa2bbf14ed1534d99198378a074378
[ "MIT" ]
1
2021-03-27T18:10:14.000Z
2021-03-27T18:10:14.000Z
src/util_data_format_version.cc
swerling/pdftoedn
87917fd8fffa2bbf14ed1534d99198378a074378
[ "MIT" ]
null
null
null
src/util_data_format_version.cc
swerling/pdftoedn
87917fd8fffa2bbf14ed1534d99198378a074378
[ "MIT" ]
1
2020-02-11T15:03:04.000Z
2020-02-11T15:03:04.000Z
#include "base_types.h" #include "util_versions.h" namespace pdftoedn { namespace util { namespace version { const pdftoedn::Symbol SYMBOL_DATA_FORMAT_VERSION = "data_format_version"; uintmax_t data_format_version() { // // * Delorean rel...
44.916667
86
0.430427
swerling
971d5cf67879b38f81b6c378395302aaab3aa586
605
cpp
C++
AtCoder/joi2014yo/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/joi2014yo/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/joi2014yo/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int n, m; cin >> n >> m; vector<int> a(n, 0), ans(n, 0); for (int i = 0; i < n; i++) cin >> a[i]; for (int i = 0; i < m; i++) { int c; cin >> c; for (int j = 0; j < n; j++) { ...
21.607143
44
0.360331
H-Tatsuhiro
9728654df9ce945717deb15e061e6ced06bd4c06
1,233
cc
C++
src/array/valid_sudoku_unittest.cc
chenchuanyin/leetcode
d2c11a2500b1fc252e7f4a838e635be7205bdab9
[ "MIT" ]
null
null
null
src/array/valid_sudoku_unittest.cc
chenchuanyin/leetcode
d2c11a2500b1fc252e7f4a838e635be7205bdab9
[ "MIT" ]
null
null
null
src/array/valid_sudoku_unittest.cc
chenchuanyin/leetcode
d2c11a2500b1fc252e7f4a838e635be7205bdab9
[ "MIT" ]
null
null
null
#include "valid_sudoku.h" #include "gtest/gtest.h" TEST(Solution, ValidSudokuUnitTest) { std::vector<std::vector<char>> b1{ {'5', '3', '.', '.', '7', '.', '.', '.', '.'}, {'6', '.', '.', '1', '9', '5', '.', '.', '.'}, {'.', '9', '8', '.', '.', '.', '.', '6', '.'}, {'8', '.', '.', '.', '6', '...
41.1
54
0.21249
chenchuanyin
972916104e47037c139271c39821715ca6fdbbfd
19,726
cpp
C++
src/profiling/TimelineUtilityMethods.cpp
korabelnikov/armnn
8c3259fa007d43fcc5ea56fe6928526dbe79f3c0
[ "MIT" ]
null
null
null
src/profiling/TimelineUtilityMethods.cpp
korabelnikov/armnn
8c3259fa007d43fcc5ea56fe6928526dbe79f3c0
[ "MIT" ]
null
null
null
src/profiling/TimelineUtilityMethods.cpp
korabelnikov/armnn
8c3259fa007d43fcc5ea56fe6928526dbe79f3c0
[ "MIT" ]
null
null
null
// // Copyright © 2019 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "TimelineUtilityMethods.hpp" #include "ProfilingService.hpp" #include "LabelsAndEventClasses.hpp" namespace armnn { namespace profiling { std::unique_ptr<TimelineUtilityMethods> TimelineUtilityMethods::GetTimelineUtils(...
47.418269
119
0.627395
korabelnikov
972b5f40b9fe418070c0ce4a22e03e6dc7973066
723
cc
C++
sortedSprite.cc
dfyzy/simpleGL
55790726559b46be596d16c294940ba629bd838c
[ "MIT" ]
1
2016-10-16T21:19:21.000Z
2016-10-16T21:19:21.000Z
sortedSprite.cc
dfyzy/simpleGL
55790726559b46be596d16c294940ba629bd838c
[ "MIT" ]
null
null
null
sortedSprite.cc
dfyzy/simpleGL
55790726559b46be596d16c294940ba629bd838c
[ "MIT" ]
null
null
null
#include "sortedSprite.h" #include "sortedFrame.h" #include "camera.h" namespace simpleGL { SortedSprite::SortedSprite(Point* parent, Vector position, Vector scale, Angle rotation, Texture texture, Vector pivot, Color color, SortedFrame* frame, int z) : Sprite(parent, position, scale, rotation, texture, pivot, c...
24.1
132
0.709544
dfyzy
972d0becdaec3f0b9de612f8683cf358c2cc20d8
1,213
cpp
C++
src/20. Valid Parentheses/main.cpp
sheepduke/leetcode
7808b3370e4c3e19b2b0bc2bcee62f659906c3eb
[ "MIT" ]
null
null
null
src/20. Valid Parentheses/main.cpp
sheepduke/leetcode
7808b3370e4c3e19b2b0bc2bcee62f659906c3eb
[ "MIT" ]
null
null
null
src/20. Valid Parentheses/main.cpp
sheepduke/leetcode
7808b3370e4c3e19b2b0bc2bcee62f659906c3eb
[ "MIT" ]
null
null
null
/** Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must be closed in the correct order. Note that an empty string is also con...
16.847222
76
0.510305
sheepduke
972e61e319edddb1f03da09502a486db2643ccfc
6,430
cpp
C++
Project_7_Solution/Source/ModuleEnemies.cpp
eriik1212/Efective
82fa3d069b116a9e0c3a1a5cb6e16262bc955da2
[ "MIT" ]
3
2021-02-24T15:47:41.000Z
2021-03-08T17:06:26.000Z
Project_7_Solution/Source/ModuleEnemies.cpp
eriik1212/Effective
82fa3d069b116a9e0c3a1a5cb6e16262bc955da2
[ "MIT" ]
null
null
null
Project_7_Solution/Source/ModuleEnemies.cpp
eriik1212/Effective
82fa3d069b116a9e0c3a1a5cb6e16262bc955da2
[ "MIT" ]
null
null
null
#include "ModuleEnemies.h" #include "Application.h" #include "ModuleRender.h" #include "ModuleTextures.h" #include "ModuleAudio.h" #include "ModulePlayer.h" #include "Enemy.h" #include "Enemy_Purple.h" #include "Enemy_Orange.h" #include "Enemy_White.h" #include "Enemy_Boss.h" #include "Enemy_Ball.h" #include "Modul...
24.826255
142
0.63126
eriik1212
972e83619d67ef19ac5d023cb9dee678aa6ef60d
36
cpp
C++
chapter-1/1.1.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-1/1.1.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-1/1.1.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// Illustration won't be necessary.
18
35
0.75
zero4drift
97358bec917aa1d51566fb2a5735d1305f9fef48
2,452
hpp
C++
src/ibeo_8l_sdk/src/ibeosdk/datablocks/snippets/GlobalPoint.hpp
tomcamp0228/ibeo_ros2
ff56c88d6e82440ae3ce4de08f2745707c354604
[ "MIT" ]
1
2020-06-19T11:01:49.000Z
2020-06-19T11:01:49.000Z
include/ibeosdk/datablocks/snippets/GlobalPoint.hpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
null
null
null
include/ibeosdk/datablocks/snippets/GlobalPoint.hpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
2
2020-06-19T11:01:48.000Z
2020-10-29T03:07:14.000Z
//====================================================================== /*! \file GlobalPoint.hpp *\verbatim * ------------------------------------------ * (C) 2016 Ibeo Automotive Systems GmbH, Hamburg, Germany * ------------------------------------------ * * Created on: Mar 16, 2016 * by: Kristian ...
29.190476
72
0.435971
tomcamp0228
9738e74aab3069d1c5971e568da2cb211a9dd6dc
638
hpp
C++
code/source/hardware/memory.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/hardware/memory.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/hardware/memory.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
#ifndef CLOVER_HARDWARE_MEMORY_HPP #define CLOVER_HARDWARE_MEMORY_HPP #include "build.hpp" /// Single object new is called by noexcept and array new operators in C++11 void* operator new(size_t size); void operator delete(void* mem) noexcept; namespace clover { namespace hardware { // Heap can't be created at first...
23.62963
82
0.76489
crafn
973d92b697cb21762ef5d29dc9968497c279076d
8,131
hpp
C++
include/ct/EnumBitset.hpp
dtmoodie/ct
21dc0092d9d2615e5c4510371c63d9233118de5e
[ "MIT" ]
5
2019-07-28T01:43:08.000Z
2020-06-09T09:39:09.000Z
include/ct/EnumBitset.hpp
dtmoodie/ct
21dc0092d9d2615e5c4510371c63d9233118de5e
[ "MIT" ]
1
2019-12-21T00:09:07.000Z
2019-12-26T22:00:45.000Z
include/ct/EnumBitset.hpp
dtmoodie/ct
21dc0092d9d2615e5c4510371c63d9233118de5e
[ "MIT" ]
null
null
null
#ifndef CT_ENUM_BITSET_HPP #define CT_ENUM_BITSET_HPP #include "enum.hpp" #include <bitset> #ifdef max #undef max #endif namespace ct { template <class T> constexpr T max(T v0, T v1) { return v0 > v1 ? v0 : v1; } template <class T> constexpr typename T::EnumValueType enumMax(Indexer<...
27.562712
117
0.544828
dtmoodie
973eac73672eb391f530f2353c85bf05ba75d292
5,746
hpp
C++
include/ipinfo/ipinfo_constants.hpp
DolgorukovGTA/get-ip-address-using-win32
ee5f582111466f40d9f926abc11e434b00183758
[ "MIT" ]
4
2020-06-05T13:58:51.000Z
2020-06-12T16:14:06.000Z
include/ipinfo/ipinfo_constants.hpp
DolgorukovGTA/IP-info
ee5f582111466f40d9f926abc11e434b00183758
[ "MIT" ]
null
null
null
include/ipinfo/ipinfo_constants.hpp
DolgorukovGTA/IP-info
ee5f582111466f40d9f926abc11e434b00183758
[ "MIT" ]
null
null
null
#ifndef IPINFO_CONSTANTS_HPP #define IPINFO_CONSTANTS_HPP #include "ipinfo_aliases.hpp" #include <map> #include <array> #include <string> #include <vector> #include <cstdint> namespace ipinfo::constants { const std::array<std::string, 2u> AVAILABLE_HOSTS { "ip-api.com", "ipwhois.app" ...
28.029268
85
0.444831
DolgorukovGTA
9747ab56ca5fd43f0c2f889f32024e35fc2e3dbf
2,465
cpp
C++
TouchGFX/generated/gui_generated/src/info_screen/InfoViewBase.cpp
timagr615/ILI9488_touchGFX
5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2
[ "MIT" ]
null
null
null
TouchGFX/generated/gui_generated/src/info_screen/InfoViewBase.cpp
timagr615/ILI9488_touchGFX
5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2
[ "MIT" ]
null
null
null
TouchGFX/generated/gui_generated/src/info_screen/InfoViewBase.cpp
timagr615/ILI9488_touchGFX
5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2
[ "MIT" ]
null
null
null
/*********************************************************************************/ /********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/ /*********************************************************************************/ #include <gui_generated/info_screen/InfoViewBase.hpp> #include <touc...
32.012987
83
0.643002
timagr615
97500180c3735614c24ff8c5c58f3d58fdbd8a1c
9,914
cpp
C++
projects/Common/settings.cpp
ori-rando/wotw-client
fdbf7f66fe5eed1edce0922758f31a5c29f5cf12
[ "MIT" ]
4
2022-02-14T08:41:49.000Z
2022-03-02T17:58:45.000Z
projects/Common/settings.cpp
ori-rando/wotw-client
fdbf7f66fe5eed1edce0922758f31a5c29f5cf12
[ "MIT" ]
87
2021-10-18T10:57:32.000Z
2022-03-31T18:15:28.000Z
projects/Common/settings.cpp
ori-rando/wotw-client
fdbf7f66fe5eed1edce0922758f31a5c29f5cf12
[ "MIT" ]
2
2022-01-22T22:00:56.000Z
2022-02-22T08:37:47.000Z
#include <settings.h> #include <algorithm> #include <filesystem> #include <fstream> #include <xstring> #include <assert.h> #include <windows.h> #include <ext.h> void load_settings_from_file(IniSettings& settings) { if (!std::filesystem::exists(settings.path)) return; for (auto& option : settings.opt...
27.161644
127
0.597135
ori-rando
97547562b5bcb0b418ba7172ecd27c2f5cdf18ce
1,474
cpp
C++
gearoenix/core/sync/gx-cr-sync-update-manager.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/core/sync/gx-cr-sync-update-manager.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/core/sync/gx-cr-sync-update-manager.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#include "gx-cr-sync-update-manager.hpp" #include "gx-cr-sync-kernel-workers.hpp" void gearoenix::core::sync::UpdateManager::update() noexcept { influence_manager.update(); } void gearoenix::core::sync::UpdateManager::update_kernel(const unsigned int kernel_index) noexcept { GX_START_MULTITHREADED_TASKS c...
31.361702
98
0.698779
Hossein-Noroozpour
9763d84e8209cae6292de0265b48af005390775e
329
cpp
C++
Regenesis/regenesis-core/rgCommon.cpp
ishani/GenesisVFX
676af5dc32435c64eb32fc88950983828d5470ad
[ "MIT" ]
4
2021-12-31T18:11:35.000Z
2022-03-07T03:20:09.000Z
Regenesis/regenesis-core/rgCommon.cpp
ishani/GenesisVFX
676af5dc32435c64eb32fc88950983828d5470ad
[ "MIT" ]
null
null
null
Regenesis/regenesis-core/rgCommon.cpp
ishani/GenesisVFX
676af5dc32435c64eb32fc88950983828d5470ad
[ "MIT" ]
null
null
null
/* __ ___ __ ___ ___ __ __ |__) |__ / _` |__ |\ | |__ /__` | /__` | \ |___ \__> |___ | \| |___ .__/ | .__/ Remix of GenesisVFX by Harry Denholm, ishani.org 2018-2021 Original code by Andrew Cross Photoshop version by Richard Wilson */ #include "rgC...
25.307692
66
0.50152
ishani
9767bf5ae834ca0deba6ac8e60fe16d057622655
4,175
cpp
C++
src/org/apache/poi/sl/draw/binding/CTPath2D.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/sl/draw/binding/CTPath2D.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/sl/draw/binding/CTPath2D.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/sl/draw/binding/CTPath2D.java #include <org/apache/poi/sl/draw/binding/CTPath2D.hpp> #include <java/lang/Boolean.hpp> #include <java/lang/ClassCastException.hpp> #include <java/lang/Long.hpp> #include <java/lang/NullPointerException.hpp> #include <java/util/ArrayList.hpp> #in...
22.446237
168
0.644311
pebble2015
9768f4b06b96d594a13962cf7af236c19ee35ace
45,138
cpp
C++
lib/src/HOMappedGeometry/MultiBlockFluxRegister.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/HOMappedGeometry/MultiBlockFluxRegister.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/HOMappedGeometry/MultiBlockFluxRegister.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
1
2021-04-13T19:06:43.000Z
2021-04-13T19:06:43.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "MultiBlockFluxRegister.H" #include "LevelFluxRegisterF_F.H" #includ...
45.918616
109
0.539856
rmrsk
976abea3476948c180d775d0bdec56d8862492bf
7,054
hpp
C++
template_cpp/src/include/flp2p.hpp
HaixinShi/DA
cb00d93594147e4fb59dbbda84a6020d65c89d33
[ "MIT" ]
null
null
null
template_cpp/src/include/flp2p.hpp
HaixinShi/DA
cb00d93594147e4fb59dbbda84a6020d65c89d33
[ "MIT" ]
null
null
null
template_cpp/src/include/flp2p.hpp
HaixinShi/DA
cb00d93594147e4fb59dbbda84a6020d65c89d33
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sys/socket.h> #include <netinet/in.h> #include <stdlib.h> #include <unordered_set> #include <set> #include "parser.hpp" #include "packet.hpp" using namespace std; class multitask{ public: unsigned int target; unsigned int seq; queue<urbPacket> urbmsgs; }; class delive...
30.803493
114
0.591296
HaixinShi
97744b62da8ea6968cd1e4082542abed4860a571
8,716
hpp
C++
h5cpp/H5Dcreate.hpp
llusserr/h5cpp
1444cf87cc2953c473129eeb2217b483aa4ffcc1
[ "MIT", "BSD-3-Clause-LBNL", "BSD-3-Clause" ]
130
2017-12-08T15:30:42.000Z
2022-03-16T03:51:14.000Z
h5cpp/H5Dcreate.hpp
llusserr/h5cpp
1444cf87cc2953c473129eeb2217b483aa4ffcc1
[ "MIT", "BSD-3-Clause-LBNL", "BSD-3-Clause" ]
66
2018-07-31T04:15:55.000Z
2022-03-04T13:52:27.000Z
h5cpp/H5Dcreate.hpp
llusserr/h5cpp
1444cf87cc2953c473129eeb2217b483aa4ffcc1
[ "MIT", "BSD-3-Clause-LBNL", "BSD-3-Clause" ]
30
2017-12-08T15:30:44.000Z
2022-01-19T14:13:29.000Z
/* * Copyright (c) 2018-2021 Steven Varga, Toronto,ON Canada * Author: Varga, Steven <steven@vargaconsulting.ca> */ #ifndef H5CPP_DCREATE_HPP #define H5CPP_DCREATE_HPP //TODO: if constexpr(..){} >= c++17 namespace h5 { /** @ingroup io-create * @brief creates a dataset within an already opened HDF5 containe...
60.110345
158
0.71145
llusserr
9778e5fa4539cefe961d004d241e117c2ec35e07
81,772
cpp
C++
thirdparty/demo/glut/shooter/glut_shooter.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
4
2016-09-07T07:02:52.000Z
2019-06-22T08:55:53.000Z
thirdparty/demo/glut/shooter/glut_shooter.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
null
null
null
thirdparty/demo/glut/shooter/glut_shooter.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
3
2019-06-22T16:00:39.000Z
2022-03-09T13:46:27.000Z
/* First Person Shooter - A 3D OpenGL First Person Shooter Demo Copyright (C) 2002 Steve Wortham 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 version 2 This program is distributed in the hope tha...
37.64825
175
0.5762
fox000002
978365dbc74561cca1ed54dc1e7170570b1924a1
945
cpp
C++
features/31-preprocessor/main.cpp
linksgo2011/modern-cpp-server-boilerplate
fc3ef131475b1571f3568aa94dc9b7b328748ed3
[ "Apache-2.0" ]
1
2022-03-02T07:31:42.000Z
2022-03-02T07:31:42.000Z
features/31-preprocessor/main.cpp
linksgo2011/modern-cpp-server-boilerplate
fc3ef131475b1571f3568aa94dc9b7b328748ed3
[ "Apache-2.0" ]
null
null
null
features/31-preprocessor/main.cpp
linksgo2011/modern-cpp-server-boilerplate
fc3ef131475b1571f3568aa94dc9b7b328748ed3
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; #define PI 3.14159 void defineExercise() { cout << "Value of PI :" << PI << endl; } #define MIN(a, b) (a<b ? a : b) void parameterMicroExercise() { int i, j; i = 100; j = 30; cout << "较小的值为:" << MIN(i, j) << endl; } #define DEBUG true; void conditionE...
17.5
55
0.57037
linksgo2011
979597fa870c83b98953da4d9a83f903acf8af4e
4,675
cpp
C++
src/db.cpp
MarsOS/ship
d24c3508be20e6a6f5300fa423f215586e9bbc05
[ "MIT" ]
null
null
null
src/db.cpp
MarsOS/ship
d24c3508be20e6a6f5300fa423f215586e9bbc05
[ "MIT" ]
null
null
null
src/db.cpp
MarsOS/ship
d24c3508be20e6a6f5300fa423f215586e9bbc05
[ "MIT" ]
null
null
null
#include "db.hpp" using namespace std; #include <iostream> #include <fstream> #include <sqlite3.h> #include <ctime> static string DB_BOOTSTRAP = R"sql( CREATE TABLE packages ( id INTEGER PRIMARY KEY NOT NULL, name TEXT NOT NULL, version TEXT NOT NULL, install INTEGER NOT NULL, change I...
23.492462
115
0.659251
MarsOS
97999f776490da09e1bd920a846976b2eb62443d
2,323
hpp
C++
include/lstm/detail/backoff.hpp
mtak-/lockfree-stm
00cd5f9a056e999f0cd140106c1d66b321d6fd47
[ "MIT" ]
9
2016-11-14T23:35:30.000Z
2019-01-18T23:21:08.000Z
include/lstm/detail/backoff.hpp
mtak-/lockfree-stm
00cd5f9a056e999f0cd140106c1d66b321d6fd47
[ "MIT" ]
3
2017-01-09T01:22:57.000Z
2017-03-20T04:50:05.000Z
include/lstm/detail/backoff.hpp
mtak-/lockfree-stm
00cd5f9a056e999f0cd140106c1d66b321d6fd47
[ "MIT" ]
null
null
null
#ifndef LSTM_DETAIL_BACKOFF_HPP #define LSTM_DETAIL_BACKOFF_HPP #include <lstm/detail/lstm_fwd.hpp> // clang-format off #ifndef LSTM_USE_BOOST_FIBERS #include <thread> #define LSTM_THIS_CONTEXT std::this_thread #else #include <boost/fiber/operations.hpp> #define LSTM_THIS_CONTEXT boost::this_fiber #en...
31.821918
87
0.609557
mtak-
9799ba9bdc23d5b641e2230a01f18e6c19c9b56d
7,428
cpp
C++
RG-Lab3/Neon/src/Renderer/SwapChain.cpp
FilipHusnjak/ComputerGraphics-Labs
5f923735d2dbf9551675a704724e8a5d7128025a
[ "Apache-2.0" ]
3
2021-01-23T20:19:55.000Z
2021-01-25T16:15:46.000Z
RG-Lab3/Neon/src/Renderer/SwapChain.cpp
FilipHusnjak/ComputerGraphics-Labs
5f923735d2dbf9551675a704724e8a5d7128025a
[ "Apache-2.0" ]
null
null
null
RG-Lab3/Neon/src/Renderer/SwapChain.cpp
FilipHusnjak/ComputerGraphics-Labs
5f923735d2dbf9551675a704724e8a5d7128025a
[ "Apache-2.0" ]
null
null
null
// // Created by Filip on 10.8.2020.. // #include "SwapChain.h" #define MAX_FRAMES_IN_FLIGHT 2 std::unique_ptr<Neon::SwapChain> Neon::SwapChain::Create(Window& window, const vk::Instance& instance, const vk::SurfaceKHR& surface, const Neon::PhysicalDevice& physicalDevice,...
39.510638
115
0.77531
FilipHusnjak
979ac5a0a27d6257ae488fad0ae663db4a9b0aab
515
cpp
C++
ThinMatrix-OpenGL-GameEngine/src/shaders/StaticShader.cpp
KPrzeczek/ThinMatrix-OpenGL-Game-Engine
4770c65bb7c4576e1431984a3476738c35e2012a
[ "MIT" ]
null
null
null
ThinMatrix-OpenGL-GameEngine/src/shaders/StaticShader.cpp
KPrzeczek/ThinMatrix-OpenGL-Game-Engine
4770c65bb7c4576e1431984a3476738c35e2012a
[ "MIT" ]
null
null
null
ThinMatrix-OpenGL-GameEngine/src/shaders/StaticShader.cpp
KPrzeczek/ThinMatrix-OpenGL-Game-Engine
4770c65bb7c4576e1431984a3476738c35e2012a
[ "MIT" ]
null
null
null
#include "StaticShader.h" #include <iostream> StaticShader::StaticShader() : ShaderProgram("res/sdrs/vertexShader.glsl", "res/sdrs/fragmentShader.glsl") { CreateProgram(); } void StaticShader::loadTransformationMatrix(glm::mat4& matrix4) { LoadMatrix4(loc_transformationMatrix, matrix4); } void StaticShader::Bind...
20.6
78
0.774757
KPrzeczek
979de862db37f0292218090901d484f9a74aaac0
845
cpp
C++
lib/Particle.cpp
bguest/AudioLed
354809175d52f460ded9b9deac60fb8328ba84c6
[ "MIT" ]
3
2016-01-04T05:45:34.000Z
2016-07-20T12:02:30.000Z
lib/Particle.cpp
bguest/AudioLed
354809175d52f460ded9b9deac60fb8328ba84c6
[ "MIT" ]
null
null
null
lib/Particle.cpp
bguest/AudioLed
354809175d52f460ded9b9deac60fb8328ba84c6
[ "MIT" ]
null
null
null
#include "Particle.h" #define DECAY_CONSTANT 1 void Particle::update(){ //Age if(ttl > 0 && (IS_DIEING_MASK & typeMask) > 0){ ttl--; } //apply velocity if((IS_FIXED_MASK & typeMask) > 0){ vx = 0; vy = 0; return; } // Bouncy if((IS_BOUNCE_MASK & typeMask) > 0){ uint16_t newX, n...
14.824561
68
0.449704
bguest
97a8b4799c6f8c789e39af4e2abccdb6be8369f6
449
cpp
C++
Cpp/1064.fixed-point.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/1064.fixed-point.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/1064.fixed-point.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
class Solution { public: int fixedPoint(vector<int>& A) { int l = 0; int r = A.size()-1; while (l < r) { int mid = l + (r - l) / 2; if (A[mid] == mid) { return mid; } else if (A[mid] < mid) { l = mid + 1...
20.409091
38
0.287305
zszyellow
97b666c693a139a83b22fde57b3b3dc899ca55c8
5,239
cpp
C++
Gems/MotionMatching/Code/Source/ImGuiMonitor.cpp
Perpixel/o3de
b1df4c90d54839c44a6236d6fd3853e7e2af6404
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/MotionMatching/Code/Source/ImGuiMonitor.cpp
Perpixel/o3de
b1df4c90d54839c44a6236d6fd3853e7e2af6404
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/MotionMatching/Code/Source/ImGuiMonitor.cpp
Perpixel/o3de
b1df4c90d54839c44a6236d6fd3853e7e2af6404
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #ifdef IMGUI_ENABLED #include <Allocators.h> #include <ImGuiMonitor.h> namespace EMotionFX::Motio...
36.131034
118
0.601642
Perpixel
b63306271b4bf94dc508d8012404ef9cfebaaabe
1,974
hpp
C++
source/graphics/hal/pipelinedescriptions.hpp
lukaklar/Khan-Engine
2496366759649d282d725fa637b25fb1e0d4fdfa
[ "Apache-2.0" ]
null
null
null
source/graphics/hal/pipelinedescriptions.hpp
lukaklar/Khan-Engine
2496366759649d282d725fa637b25fb1e0d4fdfa
[ "Apache-2.0" ]
null
null
null
source/graphics/hal/pipelinedescriptions.hpp
lukaklar/Khan-Engine
2496366759649d282d725fa637b25fb1e0d4fdfa
[ "Apache-2.0" ]
null
null
null
#pragma once #include "graphics/hal/blendstate.hpp" #include "graphics/hal/depthstencilstate.hpp" #include "graphics/hal/rasterizerstate.hpp" #include "graphics/hal/vertexinputstate.hpp" namespace Khan { class PhysicalRenderPass; class Shader; struct RenderPipelineState { virtual ~RenderPipelineState() = 0; }...
22.431818
77
0.768997
lukaklar
b6348dc3155ad8509b69a12ac2078ad62c558e82
4,193
cpp
C++
src/utils.cpp
predmach/Realtime-Photometric-Stereo
9e7b3c57eede45ea0ff955625bf9cbd4fbcf090b
[ "MIT" ]
null
null
null
src/utils.cpp
predmach/Realtime-Photometric-Stereo
9e7b3c57eede45ea0ff955625bf9cbd4fbcf090b
[ "MIT" ]
null
null
null
src/utils.cpp
predmach/Realtime-Photometric-Stereo
9e7b3c57eede45ea0ff955625bf9cbd4fbcf090b
[ "MIT" ]
null
null
null
#include "utils.h" int Utils::diplayLightDirections() { vtkSmartPointer<vtkStructuredGrid> grid = vtkSmartPointer<vtkStructuredGrid>::New(); vtkSmartPointer<vtkFloatArray> vectors = vtkSmartPointer<vtkFloatArray>::New(); vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkPoints>::New(); vtkSma...
41.107843
124
0.604102
predmach
b634e203d347fc604a2ad8f34920c07e59e29017
463
hpp
C++
ProducersConsumers/logger.hpp
bloodMaster/ProducerConsumer
934130b029bff0ce0f314ca65a76f8cbf9b879df
[ "MIT" ]
null
null
null
ProducersConsumers/logger.hpp
bloodMaster/ProducerConsumer
934130b029bff0ce0f314ca65a76f8cbf9b879df
[ "MIT" ]
null
null
null
ProducersConsumers/logger.hpp
bloodMaster/ProducerConsumer
934130b029bff0ce0f314ca65a76f8cbf9b879df
[ "MIT" ]
null
null
null
// // #ifndef ANTEL_LOGGER_HPP #define ANTEL_LOGGER_HPP // user define #include "thread_manager.hpp" // standard #include <mutex> namespace antel { class logger; } namespace antel { class logger : public thread_manager { private: /// @brief deploy current class thread virtual void ...
13.617647
46
0.654428
bloodMaster
b63bf1ba591bd82d92087dbc166524a46fa82395
174
cpp
C++
nano/lib/config.cpp
orhanhenrik/nano-node
5cbc9fb773cb3836f20f44d189ea333cfdd55279
[ "BSD-2-Clause" ]
null
null
null
nano/lib/config.cpp
orhanhenrik/nano-node
5cbc9fb773cb3836f20f44d189ea333cfdd55279
[ "BSD-2-Clause" ]
null
null
null
nano/lib/config.cpp
orhanhenrik/nano-node
5cbc9fb773cb3836f20f44d189ea333cfdd55279
[ "BSD-2-Clause" ]
null
null
null
#include <nano/lib/config.hpp> namespace nano { void force_nano_test_network () { nano::network_constants::set_active_network (nano::nano_networks::nano_test_network); } }
17.4
86
0.781609
orhanhenrik
b63d70c42d910b2cfa4dd1ae7f35e7279c036f7a
2,163
cpp
C++
VulkanEngine/VulkanQueueFamilies.cpp
AndreiPelenoff/VulkanEngine
225ba5ae5747d30b943ea2d62aa2eff0e8fb8b60
[ "MIT" ]
null
null
null
VulkanEngine/VulkanQueueFamilies.cpp
AndreiPelenoff/VulkanEngine
225ba5ae5747d30b943ea2d62aa2eff0e8fb8b60
[ "MIT" ]
null
null
null
VulkanEngine/VulkanQueueFamilies.cpp
AndreiPelenoff/VulkanEngine
225ba5ae5747d30b943ea2d62aa2eff0e8fb8b60
[ "MIT" ]
null
null
null
#include <vector> #include "VulkanQueueFamilies.h" #include "VulkanPhysicalDevice.h" VulkanQueueFamilies::VulkanQueueFamilies() { } bool VulkanQueueFamilies::init(SharedPtr<VulkanElement> physical_device) { uint32_t queueFamilyCount = 0; vkGetPhysicalDeviceQueueFamilyProperties(std::dynamic_pointer_cast<Vul...
26.703704
164
0.740176
AndreiPelenoff
b646d39497989fcad617a82f0ea4047420886057
2,106
cpp
C++
Examples/CPP/WorkingWithProjects/CreatingReadingAndSaving/CreateProjectOnline.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2022-03-16T14:31:36.000Z
2022-03-16T14:31:36.000Z
Examples/CPP/WorkingWithProjects/CreatingReadingAndSaving/CreateProjectOnline.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
null
null
null
Examples/CPP/WorkingWithProjects/CreatingReadingAndSaving/CreateProjectOnline.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2020-07-01T01:26:17.000Z
2020-07-01T01:26:17.000Z
#include "WorkingWithProjects/CreatingReadingAndSaving/CreateProjectOnline.h" #include <system/type_info.h> #include <system/string.h> #include <system/shared_ptr.h> #include <system/console.h> #include <system/reflection/method_base.h> #include <system/object.h> #include <system/collections/list.h> #include <system/e...
39
180
0.622507
aspose-tasks
b649a6ca238b5b4ef7c632287f95e58ec031cde6
1,343
hpp
C++
include/universal/number/integer/math/next.hpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
include/universal/number/integer/math/next.hpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
include/universal/number/integer/math/next.hpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
#pragma once // next.hpp: nextafter/nexttoward functions for integers // // Copyright (C) 2017-2022 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. namespace sw { namespace universal { /* Parameters x Base value. t Value...
25.826923
106
0.730454
FloEdelmann
b65112c1f43d2d3df897c9b3618245ecbcb8987e
3,670
cpp
C++
Gears/Src/RenderCore/RenderEntityManager.cpp
pkm158/Gears
9ea5d835bf9bcbc3905e544bcb6c36816caca553
[ "MIT" ]
null
null
null
Gears/Src/RenderCore/RenderEntityManager.cpp
pkm158/Gears
9ea5d835bf9bcbc3905e544bcb6c36816caca553
[ "MIT" ]
null
null
null
Gears/Src/RenderCore/RenderEntityManager.cpp
pkm158/Gears
9ea5d835bf9bcbc3905e544bcb6c36816caca553
[ "MIT" ]
null
null
null
/************************************************************************/ /* Author: Kemi Peng History: 08/03/2015 by Kemi Peng*/ /************************************************************************/ #include "RenderEntityManager.h" RenderEntityManager *gpRenderEntityManager = NULL; RenderEntityManager::Render...
21.845238
74
0.726975
pkm158
b65aa5af7a56ecbcd6d80da7faa2b7aca97737e3
1,374
cpp
C++
Triger/src/Triger/Platform/OpenGL/OpenGLContext.cpp
AzadKshitij/Triger
969dbead69f5ebc40d8ef6bc9ec9d763c4510ecb
[ "MIT" ]
2
2020-10-25T15:51:46.000Z
2020-11-10T15:06:22.000Z
Triger/src/Triger/Platform/OpenGL/OpenGLContext.cpp
AzadKshitij/Triger
969dbead69f5ebc40d8ef6bc9ec9d763c4510ecb
[ "MIT" ]
3
2020-11-11T16:54:49.000Z
2020-11-29T14:35:31.000Z
Triger/src/Triger/Platform/OpenGL/OpenGLContext.cpp
AzadKshitij/Triger
969dbead69f5ebc40d8ef6bc9ec9d763c4510ecb
[ "MIT" ]
null
null
null
/*------------ Copyright © 2020 Azad Kshitij. All rights reserved. ------------ // // Project : Triger // License : https://opensource.org/licenses/MIT // File : OpenGLContext.cpp // Created On : 08/11/2020 // Updated On : 29/11/2020 // Created By : Azad Kshitij @AzadKshitij //------------...
27.48
136
0.652111
AzadKshitij
b65f4a0416af7b52711140cb1e226d805696dca3
1,182
cpp
C++
chapter9/t9.19.cpp
xflcx1991/c_plus_plus_primer_exercise
3904fc936c14c6959968eb6d681f3151a72ccc44
[ "MulanPSL-1.0" ]
1
2020-02-24T07:54:44.000Z
2020-02-24T07:54:44.000Z
chapter9/t9.19.cpp
xflcx1991/c_plus_plus_primer_exercise
3904fc936c14c6959968eb6d681f3151a72ccc44
[ "MulanPSL-1.0" ]
null
null
null
chapter9/t9.19.cpp
xflcx1991/c_plus_plus_primer_exercise
3904fc936c14c6959968eb6d681f3151a72ccc44
[ "MulanPSL-1.0" ]
null
null
null
/************************************************************************************* * Copyright (c) 2019 xffish * c_plus_plus_primer_exercise is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * http://lic...
28.829268
86
0.587986
xflcx1991
b66f9de54108edb65f0830c7988f3d78441835fd
411
hpp
C++
src/graphics/vulkan/shared_init.hpp
InspectorSolaris/nd-engine
a8d63fe4bc0e57a96317adf015534d2e779ffcbb
[ "WTFPL" ]
null
null
null
src/graphics/vulkan/shared_init.hpp
InspectorSolaris/nd-engine
a8d63fe4bc0e57a96317adf015534d2e779ffcbb
[ "WTFPL" ]
null
null
null
src/graphics/vulkan/shared_init.hpp
InspectorSolaris/nd-engine
a8d63fe4bc0e57a96317adf015534d2e779ffcbb
[ "WTFPL" ]
null
null
null
#pragma once #include "pch.hpp" #include "tools.hpp" #include "objects.hpp" #include "objects_cfg.hpp" #define ND_VK_ALLOCATION_CALLBACKS (nullptr) #define ND_VK_ASSERT_NOTHROW (ND_ASSERT_NOTHROW) #define ND_VK_ASSERT(result) \ if(result != VK_SUCCESS) \ { \ ND_ASSERT_STATIC()...
19.571429
48
0.6618
InspectorSolaris
b675267de0a5930dfa6d154e448cf22648de2860
993
cpp
C++
src/cpp/SbfBuffer.cpp
james-rank/sbf
f2b3ce8c4a324110a22cb880970d2a34bd22ef27
[ "MIT" ]
null
null
null
src/cpp/SbfBuffer.cpp
james-rank/sbf
f2b3ce8c4a324110a22cb880970d2a34bd22ef27
[ "MIT" ]
null
null
null
src/cpp/SbfBuffer.cpp
james-rank/sbf
f2b3ce8c4a324110a22cb880970d2a34bd22ef27
[ "MIT" ]
null
null
null
#include "SbfBuffer.hpp" neueda::SbfBuffer::SbfBuffer (size_t size) { mBuffer = sbfBuffer_newZero (NULL, size); } neueda::SbfBuffer::SbfBuffer (void* data, size_t size) { mBuffer = sbfBuffer_copy (NULL, data, size); } neueda::SbfBuffer::~SbfBuffer () { if (getHandle () != NULL) sbfBuffer_destroy ...
17.12069
54
0.671702
james-rank
b675eaa3173ec2a715e1fb38cdea421d73870af8
25
hpp
C++
tests/pch/pch.hpp
minijackson/INF4710-TP3
7285ee279e65e0d76a752d0f1be936ca79638473
[ "MIT" ]
null
null
null
tests/pch/pch.hpp
minijackson/INF4710-TP3
7285ee279e65e0d76a752d0f1be936ca79638473
[ "MIT" ]
null
null
null
tests/pch/pch.hpp
minijackson/INF4710-TP3
7285ee279e65e0d76a752d0f1be936ca79638473
[ "MIT" ]
null
null
null
#include "../common.hpp"
12.5
24
0.64
minijackson
b67a1dafbc23d863c63a88055179abfef9919afd
10,189
cxx
C++
Testing/Unit/sitkImageRegistrationMethodTests.cxx
hendradarwin/SimpleITK
57e6a5265ae45e535c9bb4887ca92cf95aa79cb9
[ "Apache-2.0" ]
null
null
null
Testing/Unit/sitkImageRegistrationMethodTests.cxx
hendradarwin/SimpleITK
57e6a5265ae45e535c9bb4887ca92cf95aa79cb9
[ "Apache-2.0" ]
null
null
null
Testing/Unit/sitkImageRegistrationMethodTests.cxx
hendradarwin/SimpleITK
57e6a5265ae45e535c9bb4887ca92cf95aa79cb9
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright Insight Software Consortium * * 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://ww...
29.278736
98
0.666012
hendradarwin
b67bbedf1d08ef308cefbabd2e74a616c9e7e597
4,169
cpp
C++
sources/core/low_get_functions.cpp
dabroz/dablang
60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce
[ "MIT" ]
1
2015-11-29T22:32:55.000Z
2015-11-29T22:32:55.000Z
sources/core/low_get_functions.cpp
dabroz/dablang
60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce
[ "MIT" ]
null
null
null
sources/core/low_get_functions.cpp
dabroz/dablang
60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "dab_header.h" void notifyNewFunc(qString name, qneu_Function * f, qValue * tree ) { qFuncall * fcall = dynamic_cast<qFuncall*>(tree); if (fcall) { if (fcall->name == f->name) { qString mymangle = ""; for (int i =0;i<tree->L()->size();i++) { mymangle+=tree->L()->childr...
21.942105
111
0.580235
dabroz
b683ac1f8b16bd5e5b1ba3b7be22ef7794f49b90
4,146
hpp
C++
Engine/Core/Platform/Apple/metal-cpp/Metal/MTLResourceStateCommandEncoder.hpp
RohJiHyun/Machi-Engine
fd9eaafa8afd94ff8f76c84e5d609f9d6417f0c9
[ "MIT" ]
119
2021-11-20T15:47:28.000Z
2022-03-24T03:50:34.000Z
Engine/Core/Platform/Apple/metal-cpp/Metal/MTLResourceStateCommandEncoder.hpp
RohJiHyun/Machi-Engine
fd9eaafa8afd94ff8f76c84e5d609f9d6417f0c9
[ "MIT" ]
null
null
null
Engine/Core/Platform/Apple/metal-cpp/Metal/MTLResourceStateCommandEncoder.hpp
RohJiHyun/Machi-Engine
fd9eaafa8afd94ff8f76c84e5d609f9d6417f0c9
[ "MIT" ]
8
2021-12-12T06:57:33.000Z
2022-03-24T03:59:11.000Z
//------------------------------------------------------------------------------------------------------------------------------------------------------------- // // Metal/MTLResourceStateCommandEncoder.hpp // // Copyright 2020-2021 Apple Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you...
43.642105
255
0.730101
RohJiHyun
b68a979d31a8e3dcb1162af4fc9d3ba3ca39f007
2,399
hpp
C++
src/fcomponents/f_resource_loader.hpp
Frozen-Team/3DEngine
f0b7002a1e5912b8f49377570b226b22eec662cf
[ "MIT" ]
1
2015-10-09T22:33:43.000Z
2015-10-09T22:33:43.000Z
src/fcomponents/f_resource_loader.hpp
Frozen-Team/FEngine
f0b7002a1e5912b8f49377570b226b22eec662cf
[ "MIT" ]
1
2015-10-09T16:43:47.000Z
2015-10-09T22:18:52.000Z
src/fcomponents/f_resource_loader.hpp
Frozen-Team/FEngine
f0b7002a1e5912b8f49377570b226b22eec662cf
[ "MIT" ]
null
null
null
#ifndef _3FENGINE_SRC_RESOURCES_F_RESOURCE_LOADER_HPP #define _3FENGINE_SRC_RESOURCES_F_RESOURCE_LOADER_HPP #include "fbxsdk.h" #include "utils/f_typedefs.hpp" #include "resources/f_fbx_loader.hpp" #include "utils/f_singleton.hpp" #include "scene/camera/f_camera.hpp" #include "scene/f_scene.hpp" #include "scene/mesh...
31.155844
142
0.758233
Frozen-Team
b6925723ec42285b690d0ea580ccae5217de4c67
10,833
hpp
C++
src/plugin.hpp
wrongPaul/dBiz
3b1887f812ca346590c1782f4a9b267688ad08ea
[ "CC0-1.0" ]
null
null
null
src/plugin.hpp
wrongPaul/dBiz
3b1887f812ca346590c1782f4a9b267688ad08ea
[ "CC0-1.0" ]
null
null
null
src/plugin.hpp
wrongPaul/dBiz
3b1887f812ca346590c1782f4a9b267688ad08ea
[ "CC0-1.0" ]
null
null
null
#include "rack.hpp" #include "app/SvgKnob.hpp" #include "app/SvgSlider.hpp" #include "app/SvgPort.hpp" #include "app/ModuleLightWidget.hpp" #include "app/SvgSwitch.hpp" #include "app/SvgScrew.hpp" #include "asset.hpp" using namespace rack; extern Plugin *pluginInstance; extern Model *modelMultiple; extern Model *mo...
19.987085
104
0.676082
wrongPaul
b692de0a3a9664f50ad83ba54f08569a4cd3d8a9
405
cpp
C++
master/core/third/algorithms/binary_tree/binary_tree/test_for_binary_tree.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/algorithms/binary_tree/binary_tree/test_for_binary_tree.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/algorithms/binary_tree/binary_tree/test_for_binary_tree.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:49.000Z
2018-12-27T03:20:31.000Z
/******************************************************************************* * * FileName : test_for_binary_tree.cpp * Comment : binary tree * Version : 1.0 * Author : haibindev.cnblogs.com * Date : 2007-9-23 0:04 * *******************************************************************************/ #include <...
22.5
80
0.395062
importlib
b69e1d97eb6c8bfdabdd239ed73f91717bf0332a
27
cpp
C++
src/contracts/eventhandler/eventhandler.cpp
vapaee/telos-dex-contract
4c161b0b13f489d1d62c5fb058a4705af39ac7bf
[ "MIT" ]
7
2019-06-09T03:52:14.000Z
2020-03-01T13:27:24.000Z
src/contracts/eventhandler/eventhandler.cpp
vapaee/telos-dex-contract
4c161b0b13f489d1d62c5fb058a4705af39ac7bf
[ "MIT" ]
27
2019-12-28T12:29:12.000Z
2022-03-02T04:08:55.000Z
src/contracts/eventhandler/eventhandler.cpp
vapaee/telos-dex-contract
4c161b0b13f489d1d62c5fb058a4705af39ac7bf
[ "MIT" ]
2
2019-11-29T22:32:47.000Z
2021-02-18T23:47:47.000Z
#include "eventhandler.hpp"
27
27
0.814815
vapaee
b6a486512111b6350fc3bdff44b96033dc22e77b
13,296
cpp
C++
opt/nomad/src/Param/AllParameters.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
31
2019-02-05T16:39:18.000Z
2022-03-11T23:14:11.000Z
opt/nomad/src/Param/AllParameters.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
20
2020-04-13T09:22:53.000Z
2021-08-16T16:14:13.000Z
opt/nomad/src/Param/AllParameters.cpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
6
2020-04-21T17:43:47.000Z
2021-03-10T04:12:34.000Z
/*---------------------------------------------------------------------------------*/ /* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct Search - */ /* */ /* NOMAD - Version 4 has been created by ...
45.534247
113
0.505415
scikit-quant
b6a6e6e47198aef5f979bcf98f3b44b224305f86
14,471
cpp
C++
test/unit/FSM.cpp
leokolln/cppaikit
c2ec796104140d9e46de4bf6cb00ee5fef2a7a6b
[ "MIT" ]
8
2018-04-12T10:57:29.000Z
2021-05-05T08:32:19.000Z
test/unit/FSM.cpp
leokolln/cppaikit
c2ec796104140d9e46de4bf6cb00ee5fef2a7a6b
[ "MIT" ]
11
2018-04-12T07:47:38.000Z
2018-05-10T22:46:45.000Z
test/unit/FSM.cpp
leokolln/cppaikit
c2ec796104140d9e46de4bf6cb00ee5fef2a7a6b
[ "MIT" ]
3
2018-05-10T22:02:49.000Z
2021-09-30T20:01:08.000Z
#include <algorithm> #include <catch/catch.hpp> #include <cppaikit/fsm/FSM.hpp> namespace { struct EventCounter { int timesEntered = 0; int timesExited = 0; int timesUpdated = 0; int accumulatedUpdates = 0; }; class TestState : public aikit::fsm::State<> { public: explicit TestState(EventCounter* counter...
31.390456
117
0.670306
leokolln
b6a7978718c2ff31ced32552eaf68070476d915b
2,699
cpp
C++
algorithms-and-data-structures/strings/m_lcs.cpp
nothingelsematters/university
5561969b1b11678228aaf7e6660e8b1a93d10294
[ "WTFPL" ]
1
2018-06-03T17:48:50.000Z
2018-06-03T17:48:50.000Z
algorithms-and-data-structures/strings/m_lcs.cpp
nothingelsematters/University
b1e188cb59e5a436731b92c914494626a99e1ae0
[ "WTFPL" ]
null
null
null
algorithms-and-data-structures/strings/m_lcs.cpp
nothingelsematters/University
b1e188cb59e5a436731b92c914494626a99e1ae0
[ "WTFPL" ]
14
2019-04-07T21:27:09.000Z
2021-12-05T13:37:25.000Z
#include <fstream> #include <map> #include <vector> struct Vertex { int length; int suf_link; int counted = -1; std::string res; std::map<char, int> trans; }; struct SufTree { SufTree() { vertexes.push_back(Vertex()); vertexes.back().length = 0; vertexes.back().suf_link...
28.712766
87
0.527232
nothingelsematters
b6ae349d28f23e5a04009bca3d5b1ccf76bdf454
12,769
hpp
C++
src/core/chassis/axle_car_6dof.hpp
juanmanzanero/fastest-lap
e278dd2fd0f9fa30a613b87c5155c5d375f8da69
[ "MIT" ]
28
2021-11-26T16:03:33.000Z
2022-02-21T13:51:58.000Z
src/core/chassis/axle_car_6dof.hpp
juanmanzanero/fastest-lap
e278dd2fd0f9fa30a613b87c5155c5d375f8da69
[ "MIT" ]
1
2022-03-01T17:10:39.000Z
2022-03-01T17:10:39.000Z
src/core/chassis/axle_car_6dof.hpp
juanmanzanero/fastest-lap
e278dd2fd0f9fa30a613b87c5155c5d375f8da69
[ "MIT" ]
1
2022-02-28T12:21:04.000Z
2022-02-28T12:21:04.000Z
#ifndef __AXLE_CAR_6DOF_HPP__ #define __AXLE_CAR_6DOF_HPP__ template<typename Timeseries_t, typename Tire_left_t, typename Tire_right_t, template<size_t,size_t> typename Axle_mode, size_t STATE0, size_t CONTROL0> Axle_car_6dof<Timeseries_t,Tire_left_t,Tire_right_t,Axle_mode,STATE0,CONTROL0>::Axle_car_6dof(const std::s...
42.993266
225
0.711176
juanmanzanero
b6afb5b12aafdfe6fe28fb2e6c872d1b1be6cea5
1,402
cpp
C++
JLB/LinearAllocator.cpp
JanVijfhuizen/JLB
2a3ed2155dea9940268745cc4e3debfa3d56fdaf
[ "MIT" ]
null
null
null
JLB/LinearAllocator.cpp
JanVijfhuizen/JLB
2a3ed2155dea9940268745cc4e3debfa3d56fdaf
[ "MIT" ]
null
null
null
JLB/LinearAllocator.cpp
JanVijfhuizen/JLB
2a3ed2155dea9940268745cc4e3debfa3d56fdaf
[ "MIT" ]
null
null
null
#include "LinearAllocator.h" #include <malloc.h> #include <cassert> namespace jlb { LinearAllocator::LinearAllocator(const size_t size) : // Immediately convert the size to chunk size. _size(ToChunkSize(size)) { // Allocate N size_t chunks. _memory = reinterpret_cast<size_t*>(malloc(_size * sizeof(size_t)))...
25.035714
88
0.701141
JanVijfhuizen
b6b6f806bee6378a1292588768fb35ab4aef5e64
12,204
hpp
C++
source/modules/solver/learner/deepSupervisor/optimizers/fCMAES.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
43
2018-07-26T07:20:42.000Z
2022-03-02T10:23:12.000Z
source/modules/solver/learner/deepSupervisor/optimizers/fCMAES.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
212
2018-09-21T10:44:07.000Z
2022-03-22T14:33:05.000Z
source/modules/solver/learner/deepSupervisor/optimizers/fCMAES.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
16
2018-07-25T15:00:36.000Z
2022-03-22T14:19:46.000Z
/************************************************************** * A single-precision fast version of CMAES for Learning **************************************************************/ #ifndef _KORALI_FAST_CMAES_HPP_ #define _KORALI_FAST_CMAES_HPP_ #include <cstddef> #include <gsl/gsl_math.h> #include <gsl/gsl_sf.h>...
27.61086
162
0.712963
JonathanLehner
b6b927e2141e84fd59b93303e4e33d5f9708f5ff
12,371
cpp
C++
src/lfant/gui/gwen/OpenGL.cpp
loafofpiecrust/lfant
a38826e325a50dffb5d030d71abcd58de59e8389
[ "Apache-2.0" ]
4
2017-03-06T16:59:27.000Z
2021-07-23T12:57:07.000Z
src/lfant/gui/gwen/OpenGL.cpp
loafofpiecrust/lfant
a38826e325a50dffb5d030d71abcd58de59e8389
[ "Apache-2.0" ]
null
null
null
src/lfant/gui/gwen/OpenGL.cpp
loafofpiecrust/lfant
a38826e325a50dffb5d030d71abcd58de59e8389
[ "Apache-2.0" ]
null
null
null
#include "Gwen/Utility.h" #include "Gwen/Font.h" #include "Gwen/Texture.h" #include "Gwen/WindowProvider.h" #include <math.h> #include <iostream> #include <cstddef> #include "lfant/gui/gwen/OpenGL.h" #include "GL/glew.h" #include <glm/gtc/matrix_transform.hpp> #include "FreeImage/FreeImage.h" #include <lfant/Shader....
27.925508
156
0.624525
loafofpiecrust
b6bb2a07e9b08d02e446596b6924332e92aaf2b5
4,504
cpp
C++
lib/src/ast/formula.cpp
Corralx/leviathan
508e1108cd5351760146ac8374154b2ba09113db
[ "BSD-3-Clause" ]
8
2015-07-29T16:15:37.000Z
2020-02-28T23:21:19.000Z
lib/src/ast/formula.cpp
teodorov/leviathan
508e1108cd5351760146ac8374154b2ba09113db
[ "BSD-3-Clause" ]
2
2021-02-04T15:48:56.000Z
2021-02-08T10:47:17.000Z
lib/src/ast/formula.cpp
teodorov/leviathan
508e1108cd5351760146ac8374154b2ba09113db
[ "BSD-3-Clause" ]
4
2017-03-15T02:58:30.000Z
2021-12-10T10:18:14.000Z
/* Copyright (c) 2014, Matteo Bertello All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and t...
28.327044
77
0.665409
Corralx
b6bbb3ebec00f0b95e7dee26fc2fc11ef52feb7a
452
cpp
C++
ABC180/taskC.cpp
zhouyium/AtCoder
af66b02dc1faa317879d9a85d2458a009bef6dbd
[ "MIT" ]
null
null
null
ABC180/taskC.cpp
zhouyium/AtCoder
af66b02dc1faa317879d9a85d2458a009bef6dbd
[ "MIT" ]
null
null
null
ABC180/taskC.cpp
zhouyium/AtCoder
af66b02dc1faa317879d9a85d2458a009bef6dbd
[ "MIT" ]
null
null
null
//https://atcoder.jp/contests/abc180/tasks/abc180_c //C - Cream puff #include <iostream> #include <set> using namespace std; int main() { long long n; cin>>n; set<long long> ans; for (long long i=1; i*i<=n; i++) { if (0==n%i) { ans.insert(i); ans.insert(n/i); } ...
19.652174
51
0.504425
zhouyium
b6beb67f03d73acc4f2826c42111dba89514752a
2,321
hxx
C++
opencascade/Expr_NamedExpression.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Expr_NamedExpression.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Expr_NamedExpression.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1991-01-10 // Created by: Arnaud BOUZY // Copyright (c) 1991-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU L...
27.963855
117
0.780698
mgreminger
b6c04c0a18bf913ca8653bb59bcdedd5048faa77
2,455
hpp
C++
src-2007/public/python/boost/spirit/home/karma/nonterminal/grammar.hpp
KyleGospo/City-17-Episode-One-Source
2bc0bb56a2e0a63d963755e2831c15f2970c38e7
[ "Unlicense" ]
30
2016-04-23T04:55:52.000Z
2021-05-19T10:26:27.000Z
src/boost/spirit/home/karma/nonterminal/grammar.hpp
cpmech/vismatrix
a4994864d3592cfa2db24119427fad096303fb4f
[ "BSD-3-Clause" ]
1
2016-03-31T20:56:08.000Z
2016-04-18T08:56:40.000Z
src/boost/spirit/home/karma/nonterminal/grammar.hpp
cpmech/vismatrix
a4994864d3592cfa2db24119427fad096303fb4f
[ "BSD-3-Clause" ]
15
2016-04-26T13:16:38.000Z
2022-03-08T06:13:14.000Z
// Copyright (c) 2001-2007 Joel de Guzman // Copyright (c) 2001-2008 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(BOOST_SPIRIT_KARMA_GRAMMAR_MAR_05_2007_0542PM) #define BOOST...
31.075949
82
0.636253
KyleGospo
b6c05fa228775892bda7de71c11d56b432c52c2f
4,145
cpp
C++
src/Settings/Equations/spi.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
12
2020-09-07T11:19:10.000Z
2022-02-17T17:40:19.000Z
src/Settings/Equations/spi.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
110
2020-09-02T15:29:24.000Z
2022-03-09T09:50:01.000Z
src/Settings/Equations/spi.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
3
2021-05-21T13:24:31.000Z
2022-02-11T14:43:12.000Z
#include "DREAM/EquationSystem.hpp" #include "DREAM/Equations/Fluid/SPIAblationTerm.hpp" #include "DREAM/Equations/Fluid/IonSPIDepositionTerm.hpp" #include "DREAM/Equations/Fluid/SPIHeatAbsorbtionTerm.hpp" #include "DREAM/Equations/Fluid/SPITransientTerm.hpp" #include "DREAM/Equations/Scalar/ConstantSPIVelocityTerm.hpp...
38.738318
157
0.735344
chalmersplasmatheory
b6c4ced98b7ef0996049b51ac42c662632d19884
7,623
cpp
C++
master/core/sys/ie_cache_helper.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/sys/ie_cache_helper.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/sys/ie_cache_helper.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-19T11:13:56.000Z
2018-02-23T08:44:03.000Z
#include "ie_cache_helper.h" #include <WinInet.h> #include <Urlhist.h> #include <ShlGuid.h> #pragma comment(lib, "Wininet.lib") namespace klib{ namespace sys{ ie_cache_helper::ie_cache_helper(void) { } ie_cache_helper::~ie_cache_helper(void) { } BOOL ie_cache_helper::delete_url_cache(...
30.862348
104
0.556736
importlib
b6d7c4897d4efde0ee440fc7c018a997cff9bd91
133
cpp
C++
tests/src/raw_frame_test.cpp
StefanoLusardi/video_capture
8b756325894d8f7cd5240611d677942bc8928d63
[ "MIT" ]
2
2021-04-21T06:37:12.000Z
2022-03-03T04:30:10.000Z
tests/src/raw_frame_test.cpp
StefanoLusardi/video_capture
8b756325894d8f7cd5240611d677942bc8928d63
[ "MIT" ]
null
null
null
tests/src/raw_frame_test.cpp
StefanoLusardi/video_capture
8b756325894d8f7cd5240611d677942bc8928d63
[ "MIT" ]
null
null
null
#include <raw_frame_test.hpp> #include <video_capture/raw_frame.hpp> namespace vc::test { // T EST_F(raw_frame_test, create){ } }
13.3
38
0.729323
StefanoLusardi
b6d88b668e5860c92d1059aef0fa2a7e4d7a7aee
452
cpp
C++
q10110.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
1
2018-03-19T05:18:49.000Z
2018-03-19T05:18:49.000Z
q10110.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
null
null
null
q10110.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
null
null
null
//q10110.cpp - 2011/10/05 //accepted at //run time = 0.044 //just find perfect squre number... if it is, then it switch on at last #include <stdio.h> #include <math.h> using namespace std; int main(){ double dN; unsigned int iN; while(scanf("%lf", &dN)!=EOF){ if(dN==0){ break; } dN = po...
16.142857
72
0.548673
abraxaslee
b6d8f8fad82c59199b6d24cd4bc413593ef3ddc6
2,985
cpp
C++
Sourcecode/private/mxtest/core/DocumentPartwiseTest.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
45
2019-04-16T19:55:08.000Z
2022-02-14T02:06:32.000Z
Sourcecode/private/mxtest/core/DocumentPartwiseTest.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
70
2019-04-07T22:45:21.000Z
2022-03-03T15:35:59.000Z
Sourcecode/private/mxtest/core/DocumentPartwiseTest.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
21
2019-05-13T13:59:06.000Z
2022-03-25T02:21:05.000Z
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #include "mxtest/control/CompileControl.h" #ifdef MX_COMPILE_CORE_TESTS #include "cpul/cpulTestHarness.h" #include "mxtest/core/HelperFunctions.h" #include "mxtest/core/DocumentPartwiseTest.h" #include "mxtest/core...
26.651786
75
0.571189
Webern
b6e8a3828a4b5d7a13d1be870f91c6cdc0dccdf9
1,926
cpp
C++
src/Embed.cpp
Nemesis211/samp-discord-connector
71ca9993924de00f4cfc9f24faffa790da8806de
[ "MIT" ]
109
2016-11-10T10:55:37.000Z
2022-03-26T03:33:16.000Z
src/Embed.cpp
Nemesis211/samp-discord-connector
71ca9993924de00f4cfc9f24faffa790da8806de
[ "MIT" ]
204
2016-12-17T03:21:39.000Z
2022-03-28T00:53:41.000Z
src/Embed.cpp
Nemesis211/samp-discord-connector
71ca9993924de00f4cfc9f24faffa790da8806de
[ "MIT" ]
81
2016-12-27T14:57:41.000Z
2022-03-23T12:33:32.000Z
#include "Embed.hpp" #include "Network.hpp" #include "PawnDispatcher.hpp" #include "Callback.hpp" #include "Logger.hpp" #include "utils.hpp" Embed::Embed(std::string const& title, std::string const& description, std::string const& url, std::string const& timestamp, std::string const& footer_text, std::string const& f...
30.571429
223
0.722222
Nemesis211
b6ed80129cb4cbe4b3a60ba769c8fc4543739c53
9,068
cpp
C++
src/zimg/colorspace/gamma.cpp
marxin/zimg
b6334acf4112877afc400cd9a0ace54e171e3f11
[ "WTFPL" ]
287
2015-01-02T13:59:32.000Z
2022-03-29T22:47:54.000Z
src/zimg/colorspace/gamma.cpp
marxin/zimg
b6334acf4112877afc400cd9a0ace54e171e3f11
[ "WTFPL" ]
143
2015-04-17T06:20:17.000Z
2022-03-29T09:13:45.000Z
src/zimg/colorspace/gamma.cpp
marxin/zimg
b6334acf4112877afc400cd9a0ace54e171e3f11
[ "WTFPL" ]
64
2015-01-02T13:59:35.000Z
2022-03-30T17:20:55.000Z
#include <algorithm> #include <cfloat> #include <cmath> #include "common/except.h" #include "common/libm_wrapper.h" #include "common/zassert.h" #include "colorspace.h" #include "gamma.h" namespace zimg { namespace colorspace { namespace { constexpr float REC709_ALPHA = 1.09929682680944f; constexpr float REC709_BETA ...
25.119114
119
0.721328
marxin