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
b65f9d68021c56f4595dd09cbdb772d57097a574
330
hpp
C++
src/xcb.hpp
thotslayer/custard
8beaeb6212faa856dd6e2daff56890fc688f87f0
[ "MIT" ]
null
null
null
src/xcb.hpp
thotslayer/custard
8beaeb6212faa856dd6e2daff56890fc688f87f0
[ "MIT" ]
null
null
null
src/xcb.hpp
thotslayer/custard
8beaeb6212faa856dd6e2daff56890fc688f87f0
[ "MIT" ]
null
null
null
class XcbConnection { public: bool establish(void); bool close(void); xcb_connection_t* get_connection(void); xcb_screen_t* get_screen(void); void flush(void); void start_event_loop(void); private: xcb_connection_t *connection; xcb_screen_t *sc...
18.333333
47
0.612121
thotslayer
b669f695aec94804432ea446d23f2a78525a0a02
1,018
hpp
C++
src/en/Node.hpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
81
2018-12-11T20:48:41.000Z
2022-03-18T22:24:11.000Z
src/en/Node.hpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
7
2020-04-19T11:50:39.000Z
2021-11-12T16:08:53.000Z
src/en/Node.hpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
4
2019-04-24T11:51:29.000Z
2021-03-10T05:26:33.000Z
#pragma once #include "core/containers/Map.hpp" #include "core/containers/Array.hpp" #include "ComponentHandle.hpp" #include "core/defines.hpp" #include "core/string/String.hpp" namespace ari { namespace en { struct World; class Node { public: core::String Name; ARI_COMPONENT(Node) virtual ~...
16.15873
69
0.649312
kochol
b66b8bf8dbd1e41a1e331b82ee7e0d9e36a32d00
3,378
hpp
C++
lib/malloy/core/http/generator.hpp
0x00002a/malloy
94ececf246ac2bc848235f7806439ef3be1eed73
[ "MIT" ]
22
2021-04-17T17:32:14.000Z
2022-03-29T09:42:03.000Z
lib/malloy/core/http/generator.hpp
0x00002a/malloy
94ececf246ac2bc848235f7806439ef3be1eed73
[ "MIT" ]
98
2021-04-03T18:53:19.000Z
2022-02-06T10:49:30.000Z
lib/malloy/core/http/generator.hpp
0x00002a/malloy
94ececf246ac2bc848235f7806439ef3be1eed73
[ "MIT" ]
3
2021-05-12T15:17:11.000Z
2021-12-28T03:15:46.000Z
#pragma once #include <filesystem> #include <string_view> #include <variant> #include "response.hpp" #include "request.hpp" #include "type_traits.hpp" #include "types.hpp" #include "malloy/core/http/utils.hpp" namespace malloy::http { /** * A generator for HTTP responses. * * @class generator ...
28.871795
127
0.572824
0x00002a
b66e782dcbc21026f4553e9c9bd23bbc57a5feb4
6,424
cpp
C++
tools/create-sphere.cpp
XanClic/g1
0cfe731f25a07d8192d2a726051b3b8967f3963f
[ "CC-BY-4.0" ]
6
2015-10-14T17:11:25.000Z
2021-07-11T08:12:03.000Z
tools/create-sphere.cpp
XanClic/g1
0cfe731f25a07d8192d2a726051b3b8967f3963f
[ "CC-BY-4.0" ]
1
2017-12-15T04:08:24.000Z
2017-12-17T03:34:46.000Z
tools/create-sphere.cpp
XanClic/g1
0cfe731f25a07d8192d2a726051b3b8967f3963f
[ "CC-BY-4.0" ]
1
2016-01-13T18:22:24.000Z
2016-01-13T18:22:24.000Z
#include <cassert> #include <cerrno> #include <cmath> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> #include <initializer_list> #include <dake/cross.hpp> #include <dake/gl.hpp> #include <dake/math.hpp> using namespace dake; using namespace dake::math; int main(int argc, char *argv[]) {...
38.238095
132
0.501557
XanClic
b67388cad9d303cce2a13c3478a806056466eb14
61,922
cpp
C++
src/Alib/window.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
14
2016-05-09T01:14:03.000Z
2021-10-12T21:41:02.000Z
src/Alib/window.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
null
null
null
src/Alib/window.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
6
2015-08-19T01:28:54.000Z
2020-10-25T05:17:08.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include "export.h" ////////////////////////////////////////////////...
28.720779
180
0.454087
aestesis
b676a325163924a86db410eefbe4842abd95f1fa
2,034
cpp
C++
codechef/DLDAG/Wrong Answer (5).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codechef/DLDAG/Wrong Answer (5).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codechef/DLDAG/Wrong Answer (5).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 15-12-2018 12:39:49 * solution_verdict: Wrong Answer language: C++14 * run...
27.486486
111
0.470501
kzvd4729
b6772ec6e93c65e14bac2cc6d2dbc02896a17214
2,305
cc
C++
hilti/instructions/callable.cc
asilha/hilti
ebfffc7dad31059b43a02eb26abcf7a25f742eb8
[ "BSD-3-Clause" ]
46
2015-01-21T13:31:25.000Z
2020-10-27T10:18:03.000Z
hilti/instructions/callable.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
29
2015-03-30T08:23:04.000Z
2019-05-03T13:11:35.000Z
hilti/instructions/callable.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
20
2015-01-27T12:59:38.000Z
2020-10-28T21:40:47.000Z
/// /// \type X /// /// \ctor X /// /// \cproto X /// static void _checkBinding(const Instruction* i, shared_ptr<Expression> op1, shared_ptr<Expression> op2, shared_ptr<Expression> op3) { // Check parameters against function being bound. auto ftype = ast::rtti::checkedCast<type::Func...
28.45679
100
0.603905
asilha
b679032e8805127e9744d1cab4db265f6e3d14a1
1,844
cpp
C++
examples/interval/interval.cpp
monkey-g/ecs
efd6bfcbac15ba0e8704b2dbbfe0c11f8226be79
[ "MIT" ]
8
2020-04-26T20:17:05.000Z
2021-09-14T16:51:55.000Z
examples/interval/interval.cpp
monkey-g/ecs
efd6bfcbac15ba0e8704b2dbbfe0c11f8226be79
[ "MIT" ]
97
2019-07-25T09:15:48.000Z
2022-01-08T10:14:04.000Z
examples/interval/interval.cpp
monkey-g/ecs
efd6bfcbac15ba0e8704b2dbbfe0c11f8226be79
[ "MIT" ]
1
2020-10-30T22:51:23.000Z
2020-10-30T22:51:23.000Z
#include <array> #include <chrono> #include <ecs/ecs.h> #include <iostream> using namespace std::chrono_literals; int main() { constexpr size_t num_intervals = 10; constexpr int intervals[num_intervals] = {500, 200, 100, 50, 25, 15, 5, 2, 750, 250}; using ecs::opts::interval; std::array<int, num_intervals> coun...
41.909091
109
0.645336
monkey-g
b67fd573a0e4330550ec146365f20cef4c1fba66
1,239
cpp
C++
source/Math/AABB.cpp
RunawayRabbit/EuanityAsteroids
fb46ea40e419aa336b6106e2e0d678d1bb745dd2
[ "MIT" ]
null
null
null
source/Math/AABB.cpp
RunawayRabbit/EuanityAsteroids
fb46ea40e419aa336b6106e2e0d678d1bb745dd2
[ "MIT" ]
null
null
null
source/Math/AABB.cpp
RunawayRabbit/EuanityAsteroids
fb46ea40e419aa336b6106e2e0d678d1bb745dd2
[ "MIT" ]
null
null
null
#include "AABB.h" #include "OBB.h" #include "Circle.h" AABB::AABB(const float& top, const float& bottom, const float& left, const float& right) { this->top = top; this->bottom = bottom; this->left = left; this->right = right; } AABB::AABB(const Vector2& min, const Vector2& max) { this->min = min; this->ma...
17.450704
88
0.640032
RunawayRabbit
b68346cd57aa81a3b099277c7d770bb762b1a6e8
1,656
cpp
C++
Crocus/Source/CreAssets.cpp
ChunChunMorning/CrocusEngine
a93a7f813b60bf6f221abaf6b9d580263e708900
[ "Unlicense" ]
null
null
null
Crocus/Source/CreAssets.cpp
ChunChunMorning/CrocusEngine
a93a7f813b60bf6f221abaf6b9d580263e708900
[ "Unlicense" ]
null
null
null
Crocus/Source/CreAssets.cpp
ChunChunMorning/CrocusEngine
a93a7f813b60bf6f221abaf6b9d580263e708900
[ "Unlicense" ]
null
null
null
# include "../Assets.hpp" # include "../EncryptAsset.hpp" # include "../Savedata.hpp" using namespace s3d; namespace cre { void AssetsLoader::start(const FilePath& path) { m_task.start([this, path]() { # ifdef ENCRYPT_ASSET auto binary = Crypto2::DecryptFile(path, Savedata::Key()); assert(binary.has_value(...
20.7
111
0.639493
ChunChunMorning
b6886cf2fd92ba4eca8e383bd3937fb45eff3766
91,877
cpp
C++
src/navigation/examiner-xml.cpp
montylab3d/coin
46dec7c01e553815dc6903475116444a1a6e78f5
[ "BSD-3-Clause" ]
158
2019-12-27T16:39:35.000Z
2022-03-28T19:04:39.000Z
src/navigation/examiner-xml.cpp
jfb3615/coin
071069d61fb06e823cad99a65e258221ae50bac9
[ "BSD-3-Clause" ]
261
2019-12-23T19:23:28.000Z
2022-03-23T10:11:01.000Z
src/navigation/examiner-xml.cpp
jfb3615/coin
071069d61fb06e823cad99a65e258221ae50bac9
[ "BSD-3-Clause" ]
63
2019-12-27T21:18:29.000Z
2022-03-16T02:11:16.000Z
static const unsigned char examiner_xml[] = { 0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f, // '<?xml versio' 0x6e,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x65,0x6e,0x63,0x6f, // 'n="1.0" enco' 0x64,0x69,0x6e,0x67,0x3d,0x22,0x55,0x54,0x46,0x2d,0x38,0x22, // 'ding="UTF-8"' 0x3f,0x3e,0x0a, // '?>?' 0x...
71.277735
80
0.672943
montylab3d
b6898604fc7907b65828bcf6b25786ea6c3c187b
6,680
cpp
C++
Source/Engine/World/Private/Base/CommandContext.cpp
CodeLikeCXK/AngieEngine
26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e
[ "MIT" ]
24
2019-07-15T22:48:44.000Z
2021-11-02T04:42:48.000Z
Source/Engine/World/Private/Base/CommandContext.cpp
CodeLikeCXK/AngieEngine
26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e
[ "MIT" ]
1
2021-11-02T09:41:31.000Z
2021-11-05T18:35:14.000Z
Source/Engine/World/Private/Base/CommandContext.cpp
CodeLikeCXK/AngieEngine
26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e
[ "MIT" ]
3
2020-02-03T08:34:50.000Z
2021-07-28T05:19:22.000Z
/* Angie Engine Source Code MIT License Copyright (C) 2017-2021 Alexander Samusev. This file is part of the Angie Engine Source Code. 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 re...
31.509434
152
0.56512
CodeLikeCXK
b68daf27bd9406e1fe7b2656bce2356ff536e13f
217
cc
C++
Consolidation1/P57846.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
Consolidation1/P57846.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
Consolidation1/P57846.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
//Màxim de dos enters #include <iostream> using namespace std; int max2(int a, int b) { if (a > b) return a; else return b; } int main () { int a,b; cin >> a >> b; cout << max2(a,b) << endl; }
12.764706
30
0.534562
srmeeseeks
b6980d204efa634149e06f644eea75c9f4568d18
1,619
cpp
C++
Stack-QueueBFS-PriorityQueue/0020-Valid-Parentheses/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
5
2019-05-11T18:33:32.000Z
2019-12-13T09:13:02.000Z
Stack-QueueBFS-PriorityQueue/0020-Valid-Parentheses/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
Stack-QueueBFS-PriorityQueue/0020-Valid-Parentheses/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
/// Source : https://leetcode.com/problems/valid-parentheses/description/ /// Author : Fei /// Time : Jun-09-2019 #include <iostream> #include <stack> #include <cassert> using namespace std; // Using Stack // Time Complexity: O(n) // Space Complexity: O(n) class Solution { public: bool isValid(string s) { ...
23.463768
73
0.361334
FeiZhao0531
b698546aec848b7fb3f2e4d6e22cd7739019fda7
291
cpp
C++
vendor/uncrustify-0.59/tests/input/cpp/nl_brace_brace.cpp
b4hand/sauce
8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b
[ "MIT" ]
null
null
null
vendor/uncrustify-0.59/tests/input/cpp/nl_brace_brace.cpp
b4hand/sauce
8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b
[ "MIT" ]
null
null
null
vendor/uncrustify-0.59/tests/input/cpp/nl_brace_brace.cpp
b4hand/sauce
8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b
[ "MIT" ]
null
null
null
SHOW_VAR status_vars[]= { { "Aborted_clients", (char *)&aborted_threads, SHOW_LONGLONG, } }; SHOW_VAR status_vars[]= { { "Aborted_clients", (char *)&aborted_threads, SHOW_LONGLONG, } }; SHOW_VAR status_vars[]= { { "Aborted_clients", (char *)&aborted_threads, SHOW_LONGLONG, } };
15.315789
72
0.680412
b4hand
b69bd599de6a8a2fc300f91870cbd590752871c4
6,426
cpp
C++
ShieldHook/ShieldHook.cpp
shekohex/coshield
bdcdc3420e9a926baacdea7c06f87752643d296a
[ "MIT" ]
2
2020-07-30T15:33:16.000Z
2021-06-29T12:17:55.000Z
ShieldHook/ShieldHook.cpp
shekohex/coshield
bdcdc3420e9a926baacdea7c06f87752643d296a
[ "MIT" ]
null
null
null
ShieldHook/ShieldHook.cpp
shekohex/coshield
bdcdc3420e9a926baacdea7c06f87752643d296a
[ "MIT" ]
2
2019-10-06T06:17:37.000Z
2020-05-01T17:32:24.000Z
// csv3Hook.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include "hook.h" #include <iostream> #include "LegacyCipher.h" #include <windows.h> #include <string> #pragma comment(lib, "ws2_32.lib") #pragma comment(lib, "user32.lib") #include <windows.h> #include <process.h> #incl...
27.461538
137
0.687831
shekohex
b69cec5d29f8a8509d35c5ab2ad12368f62cd6cf
464
hpp
C++
includes/LocalSearches/BestImprovement.hpp
manoelstilpen/jobshopscheduling
eae87513442eb39f08c0aed6948db0f1238064bd
[ "MIT" ]
8
2019-05-01T00:19:48.000Z
2022-01-29T22:36:21.000Z
includes/LocalSearches/BestImprovement.hpp
manoelstilpen/jobshopscheduling
eae87513442eb39f08c0aed6948db0f1238064bd
[ "MIT" ]
null
null
null
includes/LocalSearches/BestImprovement.hpp
manoelstilpen/jobshopscheduling
eae87513442eb39f08c0aed6948db0f1238064bd
[ "MIT" ]
3
2019-08-12T18:46:17.000Z
2022-02-20T05:04:25.000Z
// // Created by manoel on 22/03/18. // #ifndef JOBSHOPSCHEDULING_BESTIMPROVEMENT_HPP #define JOBSHOPSCHEDULING_BESTIMPROVEMENT_HPP #include <Commons.hpp> #include <Metaheuristics/Metaheuristic.hpp> class BestImprovement : public Metaheuristic { public: explicit BestImprovement(Solution); BestImprovement()...
18.56
46
0.778017
manoelstilpen
b69d6d56990b569690fff64f50b74a440967232b
937
hpp
C++
src/reyes/SymbolTable.hpp
cwbaker/sweet_render
259830adba09fabe4de2eef3537f4a95828965d3
[ "MIT" ]
null
null
null
src/reyes/SymbolTable.hpp
cwbaker/sweet_render
259830adba09fabe4de2eef3537f4a95828965d3
[ "MIT" ]
null
null
null
src/reyes/SymbolTable.hpp
cwbaker/sweet_render
259830adba09fabe4de2eef3537f4a95828965d3
[ "MIT" ]
null
null
null
#pragma once #include "AddSymbolHelper.hpp" #include <list> #include <map> #include <string> #include <memory> namespace reyes { class Scope; class Symbol; class SyntaxNode; /** // Hierarchical symbol table used to define the initial functions recognized // by the shader parser as well as the param...
24.025641
80
0.690502
cwbaker
b6a1b1c0a25d9cc08624d913c0b8d9eb44a5e6d3
1,122
hpp
C++
lib/soc/Interrupt_guard.hpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
lib/soc/Interrupt_guard.hpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
lib/soc/Interrupt_guard.hpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
#pragma once /* Name: interrupt_guard.hpp Copyright(c) 2020 Jay Kickliter This code is licensed under MIT license (see LICENSE file for details) */ //std #include <cstdint> namespace soc { /** * Provides an RAII style uninterruptible section. * * `Interrupt_guard` disables interrupts for its entire ...
23.375
74
0.671123
JayKickliter
b6a21b76af99c232fa504ad067fd1b9aaed84d8f
557
cpp
C++
Lux.Service/main.cpp
axodox/Lux
00e8da582233ab4ecf22d773e647c9bd84eb7b32
[ "MIT" ]
9
2020-11-30T01:13:25.000Z
2022-03-14T15:17:44.000Z
Lux.Service/main.cpp
axodox/Lux
00e8da582233ab4ecf22d773e647c9bd84eb7b32
[ "MIT" ]
1
2020-11-30T15:45:27.000Z
2021-02-17T22:11:14.000Z
Lux.Service/main.cpp
axodox/Lux
00e8da582233ab4ecf22d773e647c9bd84eb7b32
[ "MIT" ]
1
2021-02-15T22:17:37.000Z
2021-02-15T22:17:37.000Z
#include "pch.h" #include "LightService.h" using namespace Lux::Service; using namespace std; using namespace winrt; int WINAPI wWinMain( _In_ HINSTANCE /*hInstance*/, _In_opt_ HINSTANCE /*hPrevInstance*/, _In_ LPWSTR /*lpCmdLine*/, _In_ int /*nShowCmd*/) { auto event = handle(CreateEvent(nullptr, false, t...
25.318182
88
0.743268
axodox
b6b07e5d8fe4ec9d40886271f5ce89cf1d8887c0
12,313
hpp
C++
include/ax.hashlist.hpp
Mototroller/ax.hashlist
16016455591e44732c618771ef4551b2c3bd90c1
[ "Apache-2.0" ]
null
null
null
include/ax.hashlist.hpp
Mototroller/ax.hashlist
16016455591e44732c618771ef4551b2c3bd90c1
[ "Apache-2.0" ]
null
null
null
include/ax.hashlist.hpp
Mototroller/ax.hashlist
16016455591e44732c618771ef4551b2c3bd90c1
[ "Apache-2.0" ]
null
null
null
#pragma once #include <algorithm> #include <array> #include <bitset> #include <climits> #include <cstdint> #include <iterator> #include <utility> #define LOG_HEAD "[hl]: " namespace ax { namespace hl { /** * Special default hash policy for haslist. * Contains FNV-1 64- and 32-bits implementations,...
36.108504
106
0.5067
Mototroller
b6b0933d066df14295bec136f97d62dd0426c76b
2,419
cpp
C++
llvm/tools/append-file/append-file.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
1
2022-01-06T15:44:48.000Z
2022-01-06T15:44:48.000Z
llvm/tools/append-file/append-file.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
2
2019-06-27T00:36:28.000Z
2021-06-29T20:05:03.000Z
llvm/tools/append-file/append-file.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
null
null
null
//===-------------------- append-file/append-file.cpp ---------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
35.057971
80
0.577098
keryell
b6b2853c7ec4e2a9f1b23791c6f03323816953df
3,238
cxx
C++
source/MitoKernel/Actor.cxx
smcolash/mitochondrion
820bcecf981b6efd934784bd76c423b7bded5ad0
[ "MIT" ]
null
null
null
source/MitoKernel/Actor.cxx
smcolash/mitochondrion
820bcecf981b6efd934784bd76c423b7bded5ad0
[ "MIT" ]
null
null
null
source/MitoKernel/Actor.cxx
smcolash/mitochondrion
820bcecf981b6efd934784bd76c423b7bded5ad0
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <set> #include "mito/Actor.h" #include "mito/Event.h" #include "mito/Port.h" #include "mito/State.h" #include "mito/Queue.h" using namespace std; /** * A set of unique in-use Actor names. */ static set<string>actors; #if 0 /** * A function to provide unique Acto...
16.690722
79
0.505559
smcolash
b6b5504d70ba8e4184bb87b98838514b7c95533a
17,997
cpp
C++
clconsoleapp/clconsoleapp.cpp
foss-santanu/cormanlisp
6ff68633ed730dbd1500f06639dd093513b4278e
[ "OpenSSL", "MIT" ]
608
2015-01-05T04:12:42.000Z
2022-02-24T16:41:37.000Z
clconsoleapp/clconsoleapp.cpp
foss-santanu/cormanlisp
6ff68633ed730dbd1500f06639dd093513b4278e
[ "OpenSSL", "MIT" ]
67
2015-01-08T04:47:00.000Z
2021-08-05T19:56:22.000Z
clconsoleapp/clconsoleapp.cpp
foss-santanu/cormanlisp
6ff68633ed730dbd1500f06639dd093513b4278e
[ "OpenSSL", "MIT" ]
94
2015-01-05T15:11:12.000Z
2022-02-25T17:03:22.000Z
// ------------------------------- // Copyright (c) Corman Technologies Inc. // See LICENSE.txt for license information. // ------------------------------- // // File: clconsole.cpp // Contents: Corman Lisp console application client. // Author: Roger Corman // Created: 3/6/98 // #include <wtypes....
25.383639
110
0.667222
foss-santanu
b6bbf05c3b184deacf26a036a290f2f0694dd586
1,850
cpp
C++
src/tests/test_filters.cpp
el-forkorama/botan
4ad555977b03cb92dfac0b87a00febe4d8e7ff5e
[ "BSD-2-Clause" ]
null
null
null
src/tests/test_filters.cpp
el-forkorama/botan
4ad555977b03cb92dfac0b87a00febe4d8e7ff5e
[ "BSD-2-Clause" ]
null
null
null
src/tests/test_filters.cpp
el-forkorama/botan
4ad555977b03cb92dfac0b87a00febe4d8e7ff5e
[ "BSD-2-Clause" ]
null
null
null
/* * (C) 2016 Daniel Neus * * Botan is released under the Simplified BSD License (see license.txt) */ #include "tests.h" #if defined(BOTAN_HAS_FILTERS) #include <botan/secqueue.h> #endif namespace Botan_Tests { #if defined(BOTAN_HAS_FILTERS) class Filter_Tests : public Test { public: std::vector<Te...
28.90625
106
0.614054
el-forkorama
b6bfc926376fbcdae6f0704ddeb7f6c68a1661f7
2,597
cpp
C++
2.2-prioridades/priorities.cpp
mtctr/ufrn-str
60b65232a280b7269ed830503c48c0eabd17dbe5
[ "MIT" ]
null
null
null
2.2-prioridades/priorities.cpp
mtctr/ufrn-str
60b65232a280b7269ed830503c48c0eabd17dbe5
[ "MIT" ]
null
null
null
2.2-prioridades/priorities.cpp
mtctr/ufrn-str
60b65232a280b7269ed830503c48c0eabd17dbe5
[ "MIT" ]
null
null
null
#include <iostream> #include <pthread.h> #include "BlackGPIO/BlackGPIO.h" #include "ADC/Adc.h" #include <unistd.h> #include <sys/time.h> // getpriority(int which, int who) setpriority(int which, int who, int prio); #include <sys/resource.h> #include <math.h> #include <errno.h> using namespace BlackLib; void car...
24.046296
104
0.574509
mtctr
b6c66ec1191cf442944bf32a84e9ec8aa6160a5c
1,084
cpp
C++
数据结构/树状数组/acw_244_3.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
3
2020-11-16T08:58:30.000Z
2020-11-16T08:58:33.000Z
数据结构/树状数组/acw_244_3.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
数据结构/树状数组/acw_244_3.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int N = 1e5 + 10; int tr[N], a[N]; int ans[N]; int n; int lowbit(int x) { return x & -x; } void add(int x, int c) { for (int i = x; i <= n; i += lowbit(i)) tr[i] += c; } void init() { for (int i = 1; i <= n; ++i) { tr[i] += 1; i...
18.372881
56
0.390221
tempure
b6c7494d3f38c4bc865f7c1ebcfd9792c684a4cd
4,956
cpp
C++
Examples/SDKLibrary/interface/common/portable/data_types/opcua_server_on_network_t.cpp
beeond/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
1
2018-03-29T21:03:31.000Z
2018-03-29T21:03:31.000Z
Examples/SDKLibrary/interface/common/portable/data_types/opcua_server_on_network_t.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
null
null
null
Examples/SDKLibrary/interface/common/portable/data_types/opcua_server_on_network_t.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
4
2018-04-05T21:16:55.000Z
2019-10-15T19:01:46.000Z
/* ----------------------------------------------------------------------------------------------------------------- COPYRIGHT (c) 2009 - 2017 HONEYWELL INC., ALL RIGHTS RESERVED This so...
23.267606
116
0.667474
beeond
b6c7f36c19bef09b0ddeca4107eb8e94002d4230
160
cpp
C++
Database/Profiler/CCWaitCountProfiler.cpp
gunaprsd/cavalia
a408c75fa349f3c6f45c929734437647a0c023c5
[ "Apache-2.0" ]
109
2015-11-28T11:51:35.000Z
2022-03-24T05:14:57.000Z
Database/Profiler/CCWaitCountProfiler.cpp
gunaprsd/cavalia
a408c75fa349f3c6f45c929734437647a0c023c5
[ "Apache-2.0" ]
2
2019-12-03T17:37:00.000Z
2019-12-04T19:00:51.000Z
Database/Profiler/CCWaitCountProfiler.cpp
gunaprsd/cavalia
a408c75fa349f3c6f45c929734437647a0c023c5
[ "Apache-2.0" ]
25
2015-12-09T09:21:40.000Z
2021-09-24T14:17:26.000Z
#include "CCWaitCountProfiler.h" namespace Cavalia{ namespace Database{ std::unordered_map<size_t, std::unordered_map<size_t, size_t>> *cc_wait_count_; } }
22.857143
81
0.775
gunaprsd
b6cba4c84d1892e33015c62b68bdd5d0e9350d86
2,776
cpp
C++
Luogu/3796.cpp
miaowh/ICPC
c1f141ea005fb5d9582878e154c49f22b0f217ff
[ "MIT" ]
1
2021-06-15T05:43:37.000Z
2021-06-15T05:43:37.000Z
Luogu/3796.cpp
MiaoWH/ICPC
c1f141ea005fb5d9582878e154c49f22b0f217ff
[ "MIT" ]
null
null
null
Luogu/3796.cpp
MiaoWH/ICPC
c1f141ea005fb5d9582878e154c49f22b0f217ff
[ "MIT" ]
null
null
null
// ybmj #include <bits/stdc++.h> using namespace std; #define lson (rt << 1) #define rson (rt << 1 | 1) #define lson_len (len - (len >> 1)) #define rson_len (len >> 1) #define pb(x) push_back(x) #define clr(a, x) memset(a, x, sizeof(a)) #define mp(x, y) make_pair(x, y) typedef long long ll; typedef pair<int, int> pii; ...
26.951456
78
0.415706
miaowh
b6cd27f88106bcfeec474ef70046fd97a2aecdc6
1,936
cpp
C++
MotorPID.cpp
eviallet/myWRIO
df61bc468411cb7236968558f186ffef73ffa008
[ "MIT" ]
2
2019-09-26T12:19:26.000Z
2021-06-18T08:24:18.000Z
MotorPID.cpp
m9122006/myWRIO
df61bc468411cb7236968558f186ffef73ffa008
[ "MIT" ]
null
null
null
MotorPID.cpp
m9122006/myWRIO
df61bc468411cb7236968558f186ffef73ffa008
[ "MIT" ]
1
2020-07-20T05:19:57.000Z
2020-07-20T05:19:57.000Z
#include "MotorPID.h" using namespace myRIO; /** Set the PI coefficients of the motors * @param kp proportional coefficient * @param ki integral coefficicent * This functions sets the coefficients of the PI motor corrector. * And initialises a vector with 0's. */ MotorPID::MotorPID(double kp, double ki) : lastEnc(0...
22.776471
115
0.692665
eviallet
b6d4caecb04244877ebbf17267d317759c015d9d
9,279
inl
C++
include/wykobi/wykobi_hull.inl
OliverBScott/wykobi
49afb595ae9188f9cf0ca30fe6f5a7bb112a3a8f
[ "MIT" ]
1
2021-11-09T21:20:04.000Z
2021-11-09T21:20:04.000Z
include/wykobi/wykobi_hull.inl
OliverBScott/wykobi
49afb595ae9188f9cf0ca30fe6f5a7bb112a3a8f
[ "MIT" ]
3
2021-02-24T06:37:26.000Z
2022-01-25T23:17:26.000Z
include/wykobi/wykobi_hull.inl
OliverBScott/wykobi
49afb595ae9188f9cf0ca30fe6f5a7bb112a3a8f
[ "MIT" ]
1
2021-02-21T00:20:28.000Z
2021-02-21T00:20:28.000Z
/* (***********************************************************************) (* *) (* Wykobi Computational Geometry Library *) (* Release Version 0.0.5 *) (* http://www.wykobi....
31.454237
116
0.427632
OliverBScott
b6d6bc08c37d20278a2d8070dba54425d34d0c2b
8,738
cpp
C++
rellic/AST/ExprCombine.cpp
meme/rellic
24f2bb7b819010f5c8bcc78d8ae23c979ad57811
[ "Apache-2.0" ]
null
null
null
rellic/AST/ExprCombine.cpp
meme/rellic
24f2bb7b819010f5c8bcc78d8ae23c979ad57811
[ "Apache-2.0" ]
null
null
null
rellic/AST/ExprCombine.cpp
meme/rellic
24f2bb7b819010f5c8bcc78d8ae23c979ad57811
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018 Trail of Bits, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
33.607692
79
0.652209
meme
b6d83e038f75c2ae1166694b3dce9c9ebcdc6a72
833
cpp
C++
src/ECS/Systems/gates.cpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/ECS/Systems/gates.cpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/ECS/Systems/gates.cpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
#include "pch.hpp" #include "gates.hpp" #include "ECS/Components/objectsComponents.hpp" #include "ECS/Components/graphicsComponents.hpp" #include "ECS/Components/physicsComponents.hpp" namespace ph::system { using namespace component; void Gates::update(float dt) { PH_PROFILE_FUNCTION(); if(sPause) return; mReg...
22.513514
60
0.741897
SPC-Some-Polish-Coders
b6da68bc1878d529bc722485053fb8fc6537af7f
4,343
hpp
C++
src/relational/Relation.hpp
bda-uni-lu/AIR
0c9732a28ffe5fb9043d926ccfe3f2c3728f1c1a
[ "BSD-3-Clause" ]
null
null
null
src/relational/Relation.hpp
bda-uni-lu/AIR
0c9732a28ffe5fb9043d926ccfe3f2c3728f1c1a
[ "BSD-3-Clause" ]
null
null
null
src/relational/Relation.hpp
bda-uni-lu/AIR
0c9732a28ffe5fb9043d926ccfe3f2c3728f1c1a
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2020 University of Luxembourg. 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, this list of *...
24.95977
95
0.686392
bda-uni-lu
b6de0adc4d85b7aa42ce1a9997a7cadf1e01dd42
7,611
cpp
C++
BCG/BCGPUserTool.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
2
2018-03-30T06:40:08.000Z
2022-02-23T12:40:13.000Z
BCG/BCGPUserTool.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
null
null
null
BCG/BCGPUserTool.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
1
2020-08-11T05:48:02.000Z
2020-08-11T05:48:02.000Z
//******************************************************************************* // COPYRIGHT NOTES // --------------- // This is a part of the BCGControlBar Library // Copyright (C) 1998-2014 BCGSoft Ltd. // All rights reserved. // // This source code can be used, distributed or modified // only under terms and condi...
23.563467
93
0.551964
11Zero
b6de287a438ec1fcf75795a4e56e06f3c348d189
1,237
hpp
C++
sources/modules/levelset/SpatialDerivative/UpwindFirst/UpwindFirstENO3_impl.hpp
mdoshi96/beacls
860426ed1336d9539dea195987efcdd8a8276a1c
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
30
2017-12-17T22:57:50.000Z
2022-01-30T17:06:34.000Z
sources/modules/levelset/SpatialDerivative/UpwindFirst/UpwindFirstENO3_impl.hpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
2
2017-03-24T06:18:16.000Z
2017-04-04T16:16:06.000Z
sources/modules/levelset/SpatialDerivative/UpwindFirst/UpwindFirstENO3_impl.hpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
8
2018-07-06T01:47:21.000Z
2021-07-23T15:50:34.000Z
#ifndef __UpwindFirstENO3_impl_hpp__ #define __UpwindFirstENO3_impl_hpp__ #include <cstdint> #include <vector> #include <typedef.hpp> namespace levelset { class HJI_Grid; class UpwindFirstENO3a; class UpwindFirstENO3_impl { private: beacls::UVecType type; UpwindFirstENO3a *upwindFirstENO3a; public: UpwindFi...
23.788462
67
0.74131
mdoshi96
b6e0a3da0d71f3c9729cafaced76489db38614e8
1,426
cpp
C++
Game/Source/SceneGameOver.cpp
AdriaSeSa/LaboratoryGame
11c787f1785d0c8706431c25cfae96253f6a7c89
[ "MIT" ]
null
null
null
Game/Source/SceneGameOver.cpp
AdriaSeSa/LaboratoryGame
11c787f1785d0c8706431c25cfae96253f6a7c89
[ "MIT" ]
null
null
null
Game/Source/SceneGameOver.cpp
AdriaSeSa/LaboratoryGame
11c787f1785d0c8706431c25cfae96253f6a7c89
[ "MIT" ]
null
null
null
#include "SceneGameOver.h" #include "BackGround.h" #include "PanelGameOver.h" SceneGameOver::SceneGameOver(Application* app) : Scene(app) { ID = 1; } bool SceneGameOver::Start() { mainMenu = _app->textures->Load("Assets/textures/Menu/GameOverOptions.png", false); bg = new BackGround("menuBackGround", "Men...
17.604938
87
0.562412
AdriaSeSa
b6ebf1b81e9cc296d095c9e2329f4283bbdb8762
2,446
cpp
C++
cognitics/src/flt/LevelOfDetail.cpp
mikedig/cdb-productivity-api
e2bedaa550a8afa780c01f864d72e0aebd87dd5a
[ "MIT" ]
null
null
null
cognitics/src/flt/LevelOfDetail.cpp
mikedig/cdb-productivity-api
e2bedaa550a8afa780c01f864d72e0aebd87dd5a
[ "MIT" ]
null
null
null
cognitics/src/flt/LevelOfDetail.cpp
mikedig/cdb-productivity-api
e2bedaa550a8afa780c01f864d72e0aebd87dd5a
[ "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2019 Cognitics, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including with...
31.358974
77
0.611202
mikedig
b6f5b984078cf919f41dcd3ef8eb45b7693e0446
1,116
cpp
C++
d3d8tod3d9shim/StructConverter.cpp
code-tom-code/D3D8toD3D9shim
93176264610c08a7ddc35bab9067bb1c2b52aeff
[ "Zlib" ]
4
2020-04-04T13:46:45.000Z
2022-02-27T21:33:30.000Z
d3d8tod3d9shim/StructConverter.cpp
GFOXSH/D3D8toD3D9shim
9af6412f63f77c9e1905eb2bcddc1345788bd38e
[ "Zlib" ]
null
null
null
d3d8tod3d9shim/StructConverter.cpp
GFOXSH/D3D8toD3D9shim
9af6412f63f77c9e1905eb2bcddc1345788bd38e
[ "Zlib" ]
1
2020-12-08T04:18:08.000Z
2020-12-08T04:18:08.000Z
#pragma once #include "d3d9include.h" #include "d3d8include.h" #include "StructConverter.h" REFIID ConvertRIID8to9(REFIID riid8) { if (riid8 == IID_IDirect3D8) return IID_IDirect3D9; else if (riid8 == IID_IDirect3DDevice8) return IID_IDirect3DDevice9; else if (riid8 == IID_IDirect3DBaseTexture8) ...
31
48
0.773297
code-tom-code
b6f5daa2de8c4ea000d24c1dc7b67d67a0603f9c
102
cpp
C++
Catch2/include/internal/catch_interfaces_config.cpp
TheBlindMick/MPU6050
66880369fa7a73755846e60568137dfc07da1b5c
[ "BSL-1.0" ]
322
2019-04-03T15:31:46.000Z
2022-03-21T13:32:06.000Z
Catch2/include/internal/catch_interfaces_config.cpp
TheBlindMick/MPU6050
66880369fa7a73755846e60568137dfc07da1b5c
[ "BSL-1.0" ]
79
2018-08-01T11:50:45.000Z
2020-11-17T13:40:06.000Z
Catch2/include/internal/catch_interfaces_config.cpp
TheBlindMick/MPU6050
66880369fa7a73755846e60568137dfc07da1b5c
[ "BSL-1.0" ]
110
2019-04-03T15:54:58.000Z
2022-03-25T09:26:41.000Z
#include "internal/catch_interfaces_config.h" namespace Catch { IConfig::~IConfig() = default; }
17
45
0.72549
TheBlindMick
b6fdf3087dfd0724fc6f32efab698e7487c2c3b5
3,043
cc
C++
leetcode/p2.cc
lhyqie/lhyqie.github.io
d986ac4afddf169a07d4f1de95bcc737368e212b
[ "MIT" ]
null
null
null
leetcode/p2.cc
lhyqie/lhyqie.github.io
d986ac4afddf169a07d4f1de95bcc737368e212b
[ "MIT" ]
null
null
null
leetcode/p2.cc
lhyqie/lhyqie.github.io
d986ac4afddf169a07d4f1de95bcc737368e212b
[ "MIT" ]
null
null
null
#include "common.h" /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ...
23.773438
62
0.372659
lhyqie
8e0b6b2b31e75c66bc9abd82bb22bb1f58c9a1e4
1,020
cpp
C++
Lesson4/MaxCounters/maxCounters.cpp
gonini/Codility-Lesson
c362a7357752b2cf89b9ad92d9e512c97b988a4e
[ "MIT" ]
null
null
null
Lesson4/MaxCounters/maxCounters.cpp
gonini/Codility-Lesson
c362a7357752b2cf89b9ad92d9e512c97b988a4e
[ "MIT" ]
null
null
null
Lesson4/MaxCounters/maxCounters.cpp
gonini/Codility-Lesson
c362a7357752b2cf89b9ad92d9e512c97b988a4e
[ "MIT" ]
null
null
null
// you can use includes, for example: #include <algorithm> #include <vector> #include <cstring> #include <iostream> #include <set> #define MAX 100001 // you can write to stdout for debugging purposes, e.g. // cout << "this is a debug message" << endl; using namespace std; vector<int> solution(int N, vector<int> &A);...
21.702128
55
0.509804
gonini
8e0bab99aec84d75ef4ba402fdd8d1b57f19a878
956
cpp
C++
src/plat/linux/linux_countTimer.cpp
Lovey847/brotherGame
3f55c5c78cfd531dcbc0469a1befaafd31a46e0b
[ "MIT" ]
null
null
null
src/plat/linux/linux_countTimer.cpp
Lovey847/brotherGame
3f55c5c78cfd531dcbc0469a1befaafd31a46e0b
[ "MIT" ]
null
null
null
src/plat/linux/linux_countTimer.cpp
Lovey847/brotherGame
3f55c5c78cfd531dcbc0469a1befaafd31a46e0b
[ "MIT" ]
null
null
null
#define _POSIX_C_SOURCE 199309L // We need clock_gettime #include "types.h" #include "countTimer.h" #include <ctime> countTimer_counts_t countTimer_t::resolution() {return 1000000000;} countTimer_counts_t countTimer_t::time() { struct timespec ret; clock_gettime(CLOCK_MONOTONIC_RAW, &ret); return ret.tv_sec*1000...
25.157895
67
0.736402
Lovey847
8e1073b27e0a82ce4ea6557097c6e1c57b07dea1
9,254
cpp
C++
RenderCore/DX11/Annotator.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
3
2015-12-04T09:16:53.000Z
2021-05-28T23:22:49.000Z
RenderCore/DX11/Annotator.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
null
null
null
RenderCore/DX11/Annotator.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
2
2015-03-03T05:32:39.000Z
2015-12-04T09:16:54.000Z
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "../IAnnotator.h" #include "../../Utility/Threading/Mutex.h" #include "../../Core/Types.h" #include <vector> #include <deque> #includ...
33.650909
106
0.710396
djewsbury
8e1604553e433023c5c3972601fae33836b32830
19,805
cpp
C++
src/xProvision.cpp
KalbeAbbas/arduino-Provision
934daf684b268bc488b2621d8091fe14f3a5e774
[ "MIT" ]
null
null
null
src/xProvision.cpp
KalbeAbbas/arduino-Provision
934daf684b268bc488b2621d8091fe14f3a5e774
[ "MIT" ]
null
null
null
src/xProvision.cpp
KalbeAbbas/arduino-Provision
934daf684b268bc488b2621d8091fe14f3a5e774
[ "MIT" ]
null
null
null
#include <xProvision.h> xProvision::xProvision(void) { } xProvision::~xProvision(void) { /*nothing to destruct*/ } bool xProvision::begin(void) { Serial.begin(BAUDSPEED); while (!Serial) continue; Serial.println("START"); // read config file return loadConfigFile(jsonFileStored); ...
23.976998
99
0.566069
KalbeAbbas
8e17c7dbb4ca2bc5b1b756c08028e6367024af27
800
cpp
C++
Leetcode/MergeKLists.cpp
zhanghuanzj/C-
b271de02885466e97d6a2072f4f93f87625834e4
[ "Apache-2.0" ]
null
null
null
Leetcode/MergeKLists.cpp
zhanghuanzj/C-
b271de02885466e97d6a2072f4f93f87625834e4
[ "Apache-2.0" ]
null
null
null
Leetcode/MergeKLists.cpp
zhanghuanzj/C-
b271de02885466e97d6a2072f4f93f87625834e4
[ "Apache-2.0" ]
null
null
null
class Solution { public: ListNode *mergeKLists(vector<ListNode *> &lists) { return merge(lists,0,lists.size()-1); } ListNode *merge(vector<ListNode *> &list,int left,int right){ if(left>right) return nullptr; if(left==right) return list[left]; int mid = (left+right)/2; ...
28.571429
65
0.4625
zhanghuanzj
8e1af2823906933c6bccd1c2665a13332d1a1b05
683
hpp
C++
src/api/cpp/include/OISkeletonEnums.hpp
jacobnb/OpenISS
028b315953b27dd3acc449efd5cfb485805a14b3
[ "Apache-2.0" ]
null
null
null
src/api/cpp/include/OISkeletonEnums.hpp
jacobnb/OpenISS
028b315953b27dd3acc449efd5cfb485805a14b3
[ "Apache-2.0" ]
null
null
null
src/api/cpp/include/OISkeletonEnums.hpp
jacobnb/OpenISS
028b315953b27dd3acc449efd5cfb485805a14b3
[ "Apache-2.0" ]
1
2018-11-17T19:33:31.000Z
2018-11-17T19:33:31.000Z
// A placeholder for OpenISS Skeleton related enumerations. #ifndef OISkeletonEnums_hpp #define OISkeletonEnums_hpp enum class OISKELETON_JOINT_TYPES { // OISKELETON_JOINT_HEAD, OISKELETON_JOINT_NECK, // OISKELETON_JOINT_LEFT_SHOULDER, OISKELETON_JOINT_RIGHT_SHOULDER, OISKELETON_JOINT_LEFT_ELBOW, ...
22.766667
59
0.796486
jacobnb
8e1e677dd35f141f9fec4965665be846a26d3a00
493
hpp
C++
engine/src/TextContentChangeEvent.hpp
skryabiin/core
13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7
[ "MIT" ]
null
null
null
engine/src/TextContentChangeEvent.hpp
skryabiin/core
13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7
[ "MIT" ]
null
null
null
engine/src/TextContentChangeEvent.hpp
skryabiin/core
13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7
[ "MIT" ]
null
null
null
#ifndef CORE_TEXT_CONTENT_CHANGE_HPP #define CORE_TEXT_CONTENT_CHANGE_HPP #include "Core.hpp" #include "LuaUtil.hpp" #include "Event.hpp" #include "Entity.hpp" namespace core { struct TextContentChangeEvent : public Event<TextContentChangeEvent> { TextContentChangeEvent(); Entity entity; std::string textCo...
14.939394
71
0.752535
skryabiin
8e1eb62fe7a12170b9d239450f5218da3d797f27
12,642
cpp
C++
src/plugPikiYamashita/P2DScreen.cpp
doldecomp/pikmin
8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed
[ "Unlicense" ]
27
2021-09-28T00:33:11.000Z
2021-11-18T19:38:40.000Z
src/plugPikiYamashita/P2DScreen.cpp
doldecomp/pikmin
8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed
[ "Unlicense" ]
null
null
null
src/plugPikiYamashita/P2DScreen.cpp
doldecomp/pikmin
8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed
[ "Unlicense" ]
null
null
null
#include "types.h" /* * --INFO-- * Address: ........ * Size: 00009C */ void _Error(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: ........ * Size: 0000F4 */ void _Print(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: 801B2B50 * Size: 00004C */ void P2DScreen::update() { /* .l...
19.877358
90
0.446844
doldecomp
8e1fe05a2fba1b23ae991c117c72c787b93ca61f
2,468
cpp
C++
test/test_algo_sequence.cpp
alex011235/algo
ce36c2673e037a12278117cb036550bee82ecadf
[ "MIT" ]
2
2015-08-16T23:45:23.000Z
2015-10-13T08:12:00.000Z
test/test_algo_sequence.cpp
alex011235/algorithm
ce36c2673e037a12278117cb036550bee82ecadf
[ "MIT" ]
1
2021-03-21T16:33:53.000Z
2021-03-21T16:33:53.000Z
test/test_algo_sequence.cpp
alex011235/algo
ce36c2673e037a12278117cb036550bee82ecadf
[ "MIT" ]
null
null
null
/// /// \brief Unit tests for sequence algorithms. /// \author alex011235 /// \date 2020-04-20 /// \link <a href=https://github.com/alex011235/algo>Algo, Github</a> /// #include <algorithm> #include <cmath> #include <numeric> #include "algo.hpp" #include "gtest/gtest.h" using namespace std; using namespace algo::seq...
25.978947
69
0.636143
alex011235
8e202dbb563c49bfdde92721498f6f60b16ecb7b
1,763
cpp
C++
ROF_Engine/PanelConsole.cpp
RogerOlasz/ROF_Engine
5c379ab51da85148a135863c8e01c4aa9f06701b
[ "MIT" ]
null
null
null
ROF_Engine/PanelConsole.cpp
RogerOlasz/ROF_Engine
5c379ab51da85148a135863c8e01c4aa9f06701b
[ "MIT" ]
null
null
null
ROF_Engine/PanelConsole.cpp
RogerOlasz/ROF_Engine
5c379ab51da85148a135863c8e01c4aa9f06701b
[ "MIT" ]
null
null
null
#include "PanelConsole.h" #include "Application.h" #include "ModuleWindow.h" PanelConsole::PanelConsole() : Panel("Console") { active = true; set_size = true; } PanelConsole::~PanelConsole() { ImVector<char*>::iterator tmp = Items.begin(); while (tmp != Items.end()) { RELEASE((*tmp)); tmp++; ...
25.926471
139
0.626205
RogerOlasz
8e2cac8664fce28d5844c1e9d136dcf0ec3a627d
422
hpp
C++
NotSoFAT32/Fat32Root.hpp
Rohansi/NotSoFAT32
fd6b6a5528b5af00518a83b3d1c2061a87b007e3
[ "MIT" ]
1
2020-11-03T16:11:59.000Z
2020-11-03T16:11:59.000Z
NotSoFAT32/Fat32Root.hpp
Rohansi/NotSoFAT32
fd6b6a5528b5af00518a83b3d1c2061a87b007e3
[ "MIT" ]
1
2020-11-04T11:34:44.000Z
2020-11-04T11:34:44.000Z
NotSoFAT32/Fat32Root.hpp
Rohansi/NotSoFAT32
fd6b6a5528b5af00518a83b3d1c2061a87b007e3
[ "MIT" ]
null
null
null
#ifndef __FAT32_HPP #define __FAT32_HPP #include "Disk.hpp" #include "Fat32File.hpp" #include "Fat32Directory.hpp" #include "Fat32Disk.hpp" #include "Interface/IFat32Directory.hpp" class Fat32Root : public IFat32Directory { public: Fat32Root(std::weak_ptr<Fat32Disk> fat32); Fat32Root(Fat32Root &&other); pr...
14.551724
46
0.736967
Rohansi
8e35b67cf1fd73d144c08aaeb0d4bbf7190ac2c7
1,697
cpp
C++
atcoder.jp/abc204/abc204_c/Main.cpp
shikij1/AtCoder
7ae2946efdceaea3cc8725e99a2b9c137598e2f8
[ "MIT" ]
null
null
null
atcoder.jp/abc204/abc204_c/Main.cpp
shikij1/AtCoder
7ae2946efdceaea3cc8725e99a2b9c137598e2f8
[ "MIT" ]
null
null
null
atcoder.jp/abc204/abc204_c/Main.cpp
shikij1/AtCoder
7ae2946efdceaea3cc8725e99a2b9c137598e2f8
[ "MIT" ]
null
null
null
#include <atcoder/all> #include <bits/stdc++.h> using namespace atcoder; using namespace std; using mint = modint1000000007; // using mint = modint998244353; long long gcd(long long x, long long y) { return (x % y) ? gcd(y, x % y) : y; } long long lcm(long long x, long long y) { return x / gcd(x, y) * y; } struct Un...
18.445652
79
0.54449
shikij1
8e3cfd3ebbe73a451bdc45ee89ab7cc88e2b3a41
63,918
cpp
C++
TOD1/FrameBuffer.cpp
Michael0ne/TOD_tools
0e55b28b7001d8b7ce7c0e0811f27682349b41c9
[ "FSFAP" ]
20
2020-01-15T22:00:23.000Z
2022-02-07T05:32:09.000Z
TOD1/FrameBuffer.cpp
Michael0ne/TOD_tools
0e55b28b7001d8b7ce7c0e0811f27682349b41c9
[ "FSFAP" ]
2
2021-02-26T15:13:49.000Z
2021-11-28T17:35:05.000Z
TOD1/FrameBuffer.cpp
Michael0ne/TOD_tools
0e55b28b7001d8b7ce7c0e0811f27682349b41c9
[ "FSFAP" ]
1
2020-05-07T18:41:50.000Z
2020-05-07T18:41:50.000Z
#include "FrameBuffer.h" #include "GfxInternal.h" FrameBuffer::FrameBuffer(unsigned int a1, unsigned char a2, unsigned int a3) { MESSAGE_CLASS_CREATED(FrameBuffer); m_Flags.m_FlagBits._6 = a2; m_RenderBuffer[0] = { a1, m_Flags.m_FlagBits._6 ? RENDERLIST : DEFAULT }; m_RenderBuffer[1] = { 0, ...
36.296422
282
0.63328
Michael0ne
8e495de0b2564a9141e9b33f98de0a4f1d838241
28,967
cpp
C++
src/libsasmemu/Monitor.cpp
Galfodo/SIDdecompiler
aeda7aff18c8d61e5e0716a1301d4d3c52f12234
[ "MIT" ]
11
2019-03-13T12:38:39.000Z
2021-10-17T05:04:58.000Z
src/libsasmemu/Monitor.cpp
Galfodo/SIDdecompiler
aeda7aff18c8d61e5e0716a1301d4d3c52f12234
[ "MIT" ]
null
null
null
src/libsasmemu/Monitor.cpp
Galfodo/SIDdecompiler
aeda7aff18c8d61e5e0716a1301d4d3c52f12234
[ "MIT" ]
null
null
null
#include "Monitor.h" #include "Util.h" #include "OpcodeDefs.h" #include <ctype.h> #include <stdio.h> #include <algorithm> namespace SASM { // Parameter format strings: // A - 16-bit address // E - 16-bit end address. Must be preceded by A. Parameter validation checks that A <= E // B - 8-bit value // S - Quoted str...
27.509022
212
0.57714
Galfodo
8e532365ffd6302805db9f07ae0c42a9aeede955
1,247
cpp
C++
nnforge/factory_generator.cpp
anshumang/nnForgeINST
1e9ea1b539cadbb03daa39f5d81025c1b17c21d8
[ "Apache-2.0" ]
2
2015-08-19T08:02:59.000Z
2017-06-18T21:10:36.000Z
nnforge/factory_generator.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
null
null
null
nnforge/factory_generator.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011-2013 Maxim Milakov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
25.44898
77
0.702486
anshumang
8e59b58ac5b9751449ad79e1f58797fdc23bc3d0
784
cpp
C++
demo.cpp
RedSkittleFox/BinaryLove3
1868e2dfdf159d5f185dba1eb69044338fbcb563
[ "MIT" ]
16
2021-02-04T16:09:18.000Z
2021-09-15T03:27:10.000Z
demo.cpp
RedSkittleFox/BinaryLove3
1868e2dfdf159d5f185dba1eb69044338fbcb563
[ "MIT" ]
null
null
null
demo.cpp
RedSkittleFox/BinaryLove3
1868e2dfdf159d5f185dba1eb69044338fbcb563
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <cstdint> #include <string> #include <list> #include "BinaryLove3.hpp" struct test0 { uint32_t v0 = 3; uint32_t v1 = 2; float_t v2 = 2.5f; char v3 = 'c'; struct { std::vector<int> vec_of_trivial = { 1, 2, 3 }; std::vector<std::string> vec_of_n...
20.631579
88
0.61352
RedSkittleFox
8e5a3b2bca2305a885cb8a33583d58fffc9ad452
1,434
cpp
C++
functional/mem_fn.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
47
2016-05-20T08:49:47.000Z
2022-01-03T01:17:07.000Z
functional/mem_fn.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
null
null
null
functional/mem_fn.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
37
2016-07-25T04:52:08.000Z
2022-02-14T03:55:08.000Z
// Copyright (c) 2016 // Author: Chrono Law #include <std.hpp> #include <stack> //using namespace std; #include <boost/mem_fn.hpp> using namespace boost; class demo_class { public: int x; demo_class(int a = 0):x(a){} void print() { std::cout << x << std::endl; } void hello(const char...
18.868421
72
0.520921
MaxHonggg
8e5baabc8679e049c45662fdb65461cb31a6be65
841
cc
C++
solutions/Leetcode_589/leetcode_589.cc
YuhanShi53/Leetcode_solutions
cdcad34656d25d6af09b226e17250c6070305ab0
[ "MIT" ]
null
null
null
solutions/Leetcode_589/leetcode_589.cc
YuhanShi53/Leetcode_solutions
cdcad34656d25d6af09b226e17250c6070305ab0
[ "MIT" ]
null
null
null
solutions/Leetcode_589/leetcode_589.cc
YuhanShi53/Leetcode_solutions
cdcad34656d25d6af09b226e17250c6070305ab0
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class Node { public: int val; vector<Node *> children; Node() {} Node(int _val) { val = _val; } Node(int _val, vector<Node *> _children) { val = _val; children = _children; } }; class Solution1 { public: vector<...
18.688889
86
0.492271
YuhanShi53
8e6206848e4ec78f7416f451f35ce3c9cdf388a7
5,662
cpp
C++
driver_hmd/CDriverConfig.cpp
SDraw/driver_hmd
699b6e0052026daae8dac6d9c096ac6474aa4c68
[ "MIT" ]
7
2020-09-07T18:09:22.000Z
2022-01-02T03:13:43.000Z
driver_hmd/CDriverConfig.cpp
SDraw/driver_hmd
699b6e0052026daae8dac6d9c096ac6474aa4c68
[ "MIT" ]
1
2020-12-15T15:53:57.000Z
2020-12-20T18:39:22.000Z
driver_hmd/CDriverConfig.cpp
SDraw/driver_hmd
699b6e0052026daae8dac6d9c096ac6474aa4c68
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CDriverConfig.h" #include "Utils.h" extern char g_modulePath[]; const std::vector<std::string> g_settingsNames { "resolution", "fps", "position", "rotation" }; const enum SettingIndex : size_t { SI_Resolution = 0U, SI_FramesPerSecond, SI_Position, SI_Rotation, SI...
32.918605
113
0.476333
SDraw
76a231780622e74b1f83d2f8646cdc36ed6dd183
987
hpp
C++
include/cgla/transform.hpp
Blodangan/cgla
48e3418c3fbe7c2e01ec0b107f1fb862de8f48e0
[ "MIT" ]
1
2020-07-09T19:50:09.000Z
2020-07-09T19:50:09.000Z
include/cgla/transform.hpp
Blodangan/cgla
48e3418c3fbe7c2e01ec0b107f1fb862de8f48e0
[ "MIT" ]
null
null
null
include/cgla/transform.hpp
Blodangan/cgla
48e3418c3fbe7c2e01ec0b107f1fb862de8f48e0
[ "MIT" ]
null
null
null
#ifndef CGLA_TRANSFORM_HPP #define CGLA_TRANSFORM_HPP #include "vector.hpp" #include "matrix.hpp" namespace cgla { template<typename T> Matrix<T, 4, 4> translate(const Vector<T, 3>& v); template<typename T> Matrix<T, 4, 4> scale(const Vector<T, 3>& v); template<typename T> Matrix<T, 4, 4> scale(T v); template<typena...
37.961538
121
0.698075
Blodangan
76a26cd0bb1f71708246fa1f3df9b16666bb6699
537
cpp
C++
check_parse_stringify.cpp
FredStober/tiger_hash
ee7b36f7654c97e931f33b3034bdd3d75b1ee8e1
[ "MIT" ]
4
2017-01-03T11:03:28.000Z
2022-01-23T14:45:11.000Z
check_parse_stringify.cpp
FredStober/tiger_hash
ee7b36f7654c97e931f33b3034bdd3d75b1ee8e1
[ "MIT" ]
null
null
null
check_parse_stringify.cpp
FredStober/tiger_hash
ee7b36f7654c97e931f33b3034bdd3d75b1ee8e1
[ "MIT" ]
2
2018-04-06T15:18:14.000Z
2021-10-13T13:16:44.000Z
#include "tiger_hash.hpp" #include <iostream> void check_parse_stringify(); void check_parse_stringify() { std::cout << "Checking hash parse and stringify operations ..." << std::endl; std::string const s1 = "77befbef2e7ef8ab2ec8f93bf587a7fc613e247f5f247809"; Hash::tiger_hash_t const h = Hash::tiger_hash_t::parse(...
31.588235
79
0.672253
FredStober
76a35ebb73fc276f7287cc82918805264c0e3a5c
1,511
hpp
C++
engine/app3D/physics/Ragdoll.hpp
isonil/survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
1
2017-05-12T10:12:41.000Z
2017-05-12T10:12:41.000Z
engine/app3D/physics/Ragdoll.hpp
isonil/Survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
null
null
null
engine/app3D/physics/Ragdoll.hpp
isonil/Survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
1
2019-01-09T04:05:36.000Z
2019-01-09T04:05:36.000Z
#ifndef ENGINE_APP_3D_RAGDOLL_HPP #define ENGINE_APP_3D_RAGDOLL_HPP #include "../../util/Vec3.hpp" #include "../../util/Trace.hpp" class btDynamicsWorld; class btConeTwistConstraint; namespace engine { namespace app3D { class RigidBody; class CollisionShape; class PhysicsManager; // TODO: there should be a wrapper...
29.627451
239
0.760424
isonil
76a6ac49f68dccb3a31264944f2159299fbdae25
2,968
cpp
C++
positions.cpp
gonzavesc/Diff_Cavity
7afa112c9b59b79e450ee068fb96f7eebaf5ce62
[ "MIT" ]
null
null
null
positions.cpp
gonzavesc/Diff_Cavity
7afa112c9b59b79e450ee068fb96f7eebaf5ce62
[ "MIT" ]
null
null
null
positions.cpp
gonzavesc/Diff_Cavity
7afa112c9b59b79e450ee068fb96f7eebaf5ce62
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include "import.hpp" #include "positions.hpp" positions::positions(const double& a, const double& b) { double j; n = a; m = b; dx = 1 / n; dy = 1 / m; Xp.push_back(0); for (j = 0; j < n; j++) { ...
17.987879
56
0.496631
gonzavesc
76b0d18351c731db0df1274b56588b694c204004
1,989
cpp
C++
Fenwick Tree/min-max-fenwick.cpp
Kavaliro98/competitive-programming-codes
af9c4c58d8abbba7e8bcaf707da2cabc2a941eeb
[ "MIT" ]
null
null
null
Fenwick Tree/min-max-fenwick.cpp
Kavaliro98/competitive-programming-codes
af9c4c58d8abbba7e8bcaf707da2cabc2a941eeb
[ "MIT" ]
null
null
null
Fenwick Tree/min-max-fenwick.cpp
Kavaliro98/competitive-programming-codes
af9c4c58d8abbba7e8bcaf707da2cabc2a941eeb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* * Min/Max fenwick tree supporting point update & range query * source : https://stackoverflow.com/a/34602284/8361110 */ struct Fenwick{ int n; vector<int> org, bot, top; function<int (int, int)> fun; function<bool (int, int)> op; Fenwick(int n, functi...
24.8625
63
0.450478
Kavaliro98
76b166d4415bc125483348b9936b84507c7b00ba
9,733
hpp
C++
include/RED4ext/HashMap.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-03-18T17:22:09.000Z
2022-03-18T17:22:09.000Z
include/RED4ext/HashMap.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
null
null
null
include/RED4ext/HashMap.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-02-13T01:44:55.000Z
2022-02-13T01:44:55.000Z
#pragma once #include <cstdint> #include <functional> #include <RED4ext/Common.hpp> #include <RED4ext/Hashing/FNV1a.hpp> #include <RED4ext/Memory/Allocators.hpp> namespace RED4ext { #pragma region HashMapHash template<typename T, typename enabled = void /* for enable_if specialization */> struct HashMapHash { ui...
28.211594
118
0.499538
jackhumbert
76b1c2a251875a65dc18931af5c2bbe4c345c3c6
73
cpp
C++
src/Config/ll_suffix.cpp
Zethes/CGUL
863d15303227cb31e970374ada219ed7b561e243
[ "BSD-2-Clause" ]
8
2015-05-06T17:48:12.000Z
2021-05-26T15:52:05.000Z
src/Config/ll_suffix.cpp
Zethes/CGUL
863d15303227cb31e970374ada219ed7b561e243
[ "BSD-2-Clause" ]
null
null
null
src/Config/ll_suffix.cpp
Zethes/CGUL
863d15303227cb31e970374ada219ed7b561e243
[ "BSD-2-Clause" ]
3
2016-04-03T09:17:25.000Z
2019-04-02T01:41:13.000Z
int main() { long long myint = 0xFFFFFFFFFFFFFFFFLL; return 0; }
12.166667
43
0.643836
Zethes
76b979cfaf4d63079d01d6f3cfe30c9249d50c81
898
cpp
C++
tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/model/IntegerParameter.cpp
purefunsolutions/ember-plus
d022732f2533ad697238c6b5210d7fc3eb231bfc
[ "BSL-1.0" ]
78
2015-07-31T14:46:38.000Z
2022-03-28T09:28:28.000Z
tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/model/IntegerParameter.cpp
purefunsolutions/ember-plus
d022732f2533ad697238c6b5210d7fc3eb231bfc
[ "BSL-1.0" ]
81
2015-08-03T07:58:19.000Z
2022-02-28T16:21:19.000Z
tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/model/IntegerParameter.cpp
purefunsolutions/ember-plus
d022732f2533ad697238c6b5210d7fc3eb231bfc
[ "BSL-1.0" ]
49
2015-08-03T12:53:10.000Z
2022-03-17T17:25:49.000Z
/* Copyright (C) 2012-2016 Lawo GmbH (http://www.lawo.com). Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #include "ElementVisitor.h" #include "IntegerParameter.h" namespace model { IntegerParameter:...
28.967742
152
0.708241
purefunsolutions
76bc03e9916c641b36ed91697092a288fd74b311
887
hpp
C++
src/include/duckdb/parser/expression/table_star_expression.hpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
3
2021-05-13T04:15:45.000Z
2022-03-03T16:57:16.000Z
src/include/duckdb/parser/expression/table_star_expression.hpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
2
2021-10-02T02:52:39.000Z
2022-01-04T20:08:06.000Z
src/include/duckdb/parser/expression/table_star_expression.hpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
1
2021-08-13T06:36:19.000Z
2021-08-13T06:36:19.000Z
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/parser/expression/table_star_expression.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/parser/parsed_expression.hpp"...
26.878788
92
0.62345
wesm
76bdfe07519b211e61f4e9adf8ee394e5091b1b6
5,041
cc
C++
src/sprite_engine.cc
Caffeinix/mcmodeler
5490e299e2765c8e737a7f42ba9a61a516db2da9
[ "Apache-2.0" ]
1
2015-01-02T10:24:22.000Z
2015-01-02T10:24:22.000Z
src/sprite_engine.cc
Caffeinix/mcmodeler
5490e299e2765c8e737a7f42ba9a61a516db2da9
[ "Apache-2.0" ]
null
null
null
src/sprite_engine.cc
Caffeinix/mcmodeler
5490e299e2765c8e737a7f42ba9a61a516db2da9
[ "Apache-2.0" ]
null
null
null
/* Copyright 2012 Brian Ellis * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
40.98374
106
0.637969
Caffeinix
76c95453f45d8307f90597a7052d45dbceb49f92
690
hpp
C++
options.hpp
Phlicess/wtNoe
01dc1bcd3325a90d1ad04775aa0ff41efa93aa77
[ "BSD-2-Clause" ]
null
null
null
options.hpp
Phlicess/wtNoe
01dc1bcd3325a90d1ad04775aa0ff41efa93aa77
[ "BSD-2-Clause" ]
null
null
null
options.hpp
Phlicess/wtNoe
01dc1bcd3325a90d1ad04775aa0ff41efa93aa77
[ "BSD-2-Clause" ]
null
null
null
#define A_COALESCE ((int) 'c') #define A_REVERSE ((int) 'r') #define A_REORDER ((int) 'o') #define A_LINE_DROP ((int) 'l') #define A_DEBUG_POLYGON ((int) 'd') #define A_POLYGON_DROP ((int) 'p') #define A_DETECT_SHARED_BORDERS ((int) 'b') #define A_PREFER_RADIX_SORT ((int) 'R') #define A_CALCULATE_FEATURE_DENSITY ((int)...
30
47
0.692754
Phlicess
76d2f298d3aa9e93b1583204e2dd72301bd654c2
5,333
cpp
C++
src/ExtractPolygons.cpp
omi-lab/tp_image_utils_functions
5d02c634a87304eeb9c5b0828ebf8f18383aa91a
[ "MIT" ]
null
null
null
src/ExtractPolygons.cpp
omi-lab/tp_image_utils_functions
5d02c634a87304eeb9c5b0828ebf8f18383aa91a
[ "MIT" ]
null
null
null
src/ExtractPolygons.cpp
omi-lab/tp_image_utils_functions
5d02c634a87304eeb9c5b0828ebf8f18383aa91a
[ "MIT" ]
2
2019-01-30T14:02:44.000Z
2020-11-25T09:19:14.000Z
#include "tp_image_utils_functions/ExtractPolygons.h" #include "tp_image_utils/ColorMap.h" #include "tp_utils/DebugUtils.h" #include "glm/glm.hpp" namespace tp_image_utils_functions { namespace { //################################################################################################## std::string annot...
25.15566
115
0.393212
omi-lab
76d35d155e06ac9cec73a0f25412a454a1a3097d
4,380
cpp
C++
Strategy/clsBollin.cpp
caicaiking/AbamaAnalysis
d3d370e59c7049be36e06da61e1a315ba58d049d
[ "MIT" ]
null
null
null
Strategy/clsBollin.cpp
caicaiking/AbamaAnalysis
d3d370e59c7049be36e06da61e1a315ba58d049d
[ "MIT" ]
null
null
null
Strategy/clsBollin.cpp
caicaiking/AbamaAnalysis
d3d370e59c7049be36e06da61e1a315ba58d049d
[ "MIT" ]
null
null
null
#include "clsBollin.h" #include <QJsonDocument> #include <QJsonParseError> #include <QJsonObject> #include "clsGetLastWorkDay.h" #include "clsShowStockUi.h" #include "chartdir.h" #include <QDebug> clsBollin::clsBollin(QObject *parent): clsStrategy(parent) { db = new clsDBCreateTables(this); m_timeStamps = ne...
27.54717
114
0.576256
caicaiking
76d4723beaab66295de2caf4ea1b0e118fb0d74f
584
cpp
C++
Online Judges/UVA/12696-Cabin Baggage.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/UVA/12696-Cabin Baggage.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/UVA/12696-Cabin Baggage.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { double height,width,depth,weight; int test; int allowable=0; cin>>test; while(test--) { cin>>height>>width; cin>>depth>>weight; if(weight>7.00) { printf("0\n"); }...
15.368421
79
0.450342
akazad13
76e0786814b09f5672101e0f934309f12516d55b
319
hpp
C++
GameState.hpp
barteksmuga/Battleship
784629c2aeed65ce96a8bc1b2a9716f84ad7e493
[ "MIT" ]
null
null
null
GameState.hpp
barteksmuga/Battleship
784629c2aeed65ce96a8bc1b2a9716f84ad7e493
[ "MIT" ]
1
2018-02-15T09:17:06.000Z
2018-02-15T11:12:44.000Z
GameState.hpp
barteksmuga/battleship
784629c2aeed65ce96a8bc1b2a9716f84ad7e493
[ "MIT" ]
null
null
null
// // GameState.hpp // battleship // // Created by Bartłomiej Smuga on 13/03/2018. // Copyright © 2018 Bartłomiej Smuga. All rights reserved. // #ifndef GameState_hpp #define GameState_hpp #include <iostream> enum GameState { NOT_STARTED = 0, STARTED = 1, FINISHED = 2 }; #endif /* GameState_hpp */
15.190476
59
0.670846
barteksmuga
76e26b53776dfadf7a90c7f80c6aca0e81fe23fa
21,642
cxx
C++
Servers/ServerManager/vtkSMOutputPort.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
Servers/ServerManager/vtkSMOutputPort.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
Servers/ServerManager/vtkSMOutputPort.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without...
33.974882
79
0.586961
matthb2
76ef7f664ca373e6ba4b96f762c194975ff8229f
122
cpp
C++
src/core/ContextException.cpp
Neomer/binc
3af615f36cb23f1cdc9319b7a6e15c6c342a53b9
[ "Apache-2.0" ]
null
null
null
src/core/ContextException.cpp
Neomer/binc
3af615f36cb23f1cdc9319b7a6e15c6c342a53b9
[ "Apache-2.0" ]
26
2017-12-13T12:45:32.000Z
2018-02-06T11:08:04.000Z
src/core/ContextException.cpp
Neomer/binc
3af615f36cb23f1cdc9319b7a6e15c6c342a53b9
[ "Apache-2.0" ]
null
null
null
#include "ContextException.h" ContextException::ContextException(const char * message) : BaseException(message) { }
15.25
58
0.754098
Neomer
76f1df3488024bab58f48a5f4f5c11e8662a033d
4,057
cpp
C++
Source/UnrealExtendedFramework/Libraries/DataTable/EFDataTableLibrary.cpp
ElderDeveloper/UnrealExtendedFramework
9eda70583773159f80e8bc4406a85c476d0c80e5
[ "MIT" ]
1
2022-01-13T07:21:19.000Z
2022-01-13T07:21:19.000Z
Source/UnrealExtendedFramework/Libraries/DataTable/EFDataTableLibrary.cpp
ElderDeveloper/UnrealExtendedFramework
9eda70583773159f80e8bc4406a85c476d0c80e5
[ "MIT" ]
null
null
null
Source/UnrealExtendedFramework/Libraries/DataTable/EFDataTableLibrary.cpp
ElderDeveloper/UnrealExtendedFramework
9eda70583773159f80e8bc4406a85c476d0c80e5
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "EFDataTableLibrary.h" #include "Engine/DataTable.h" DEFINE_LOG_CATEGORY(LogUtiliesNode); bool UEFDataTableLibrary::FillDataTableFromCSVString(UDataTable* DataTable, const FString& CSVString) { if (!DataTable || (CSVString.L...
28.370629
128
0.733054
ElderDeveloper
76f53fb2c5e6c208899572e606a5d3eaae1c30f4
1,431
hpp
C++
snmp_fetch/api/asyncio.hpp
higherorderfunctor/snmp-fetch
c95e9f60d38901c500456dc6f07af343b36b4938
[ "CC0-1.0" ]
null
null
null
snmp_fetch/api/asyncio.hpp
higherorderfunctor/snmp-fetch
c95e9f60d38901c500456dc6f07af343b36b4938
[ "CC0-1.0" ]
32
2019-09-19T05:25:07.000Z
2019-12-05T20:28:17.000Z
snmp_fetch/api/asyncio.hpp
higherorderfunctor/snmp-fetch
c95e9f60d38901c500456dc6f07af343b36b4938
[ "CC0-1.0" ]
null
null
null
/** * asyncio.hpp - Async IO handlers. */ #ifndef SNMP_FETCH__ASYNCIO_HPP #define SNMP_FETCH__ASYNCIO_HPP #include "results.hpp" #include "session.hpp" namespace snmp_fetch { /** * async_sessions_send - Dispatch request PDUs. * * @param sessions Reference to a list of state wrapped net-snmp sessions. This ...
24.254237
97
0.705101
higherorderfunctor
76f8ac63ee736a24492d7b3e6d3faa899c473991
936
cpp
C++
data/dailyCodingProblem111.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem111.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem111.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ALPHABET_SIZE 26 using namespace std; /* Given a word W and a string S, find all starting indices in S which are anagrams of W. For example, given that W is "ab", and S is "abxaba", return 0, 3, and 4. */ bool compareCount(int arr1[], int arr2[]){ for(int i=0; i<ALPHABET_SIZE; i++){...
19.102041
58
0.594017
vidit1999
76fc777d7f1d48c69c3ffc790b18389c746a67d7
1,352
cc
C++
test/extensions/filters/http/transformation/inja_transformer_speed_test.cc
christian-posta/envoy-gloo
aa0c75145c26e8bdde1b52de1b5d541db0752f12
[ "Apache-2.0" ]
null
null
null
test/extensions/filters/http/transformation/inja_transformer_speed_test.cc
christian-posta/envoy-gloo
aa0c75145c26e8bdde1b52de1b5d541db0752f12
[ "Apache-2.0" ]
null
null
null
test/extensions/filters/http/transformation/inja_transformer_speed_test.cc
christian-posta/envoy-gloo
aa0c75145c26e8bdde1b52de1b5d541db0752f12
[ "Apache-2.0" ]
null
null
null
#include "common/common/empty_string.h" #include "extensions/filters/http/transformation/inja_transformer.h" #include "test/test_common/utility.h" #include "test/mocks/http/mocks.h" #include "benchmark/benchmark.h" #include "fmt/format.h" using json = nlohmann::json; namespace Envoy { namespace Extensions { namesp...
27.04
78
0.692308
christian-posta
0a018d19ac5dbe3b0276f58ccd8a853499ed41f7
5,575
cc
C++
cast/sender/cast_app_availability_tracker.cc
gtalis/openscreen
9b28b9695df98d310c2271eaa65d20cc6d224203
[ "BSD-3-Clause" ]
1
2020-09-22T05:59:36.000Z
2020-09-22T05:59:36.000Z
cast/sender/cast_app_availability_tracker.cc
gtalis/openscreen
9b28b9695df98d310c2271eaa65d20cc6d224203
[ "BSD-3-Clause" ]
null
null
null
cast/sender/cast_app_availability_tracker.cc
gtalis/openscreen
9b28b9695df98d310c2271eaa65d20cc6d224203
[ "BSD-3-Clause" ]
1
2022-02-03T11:05:44.000Z
2022-02-03T11:05:44.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cast/sender/cast_app_availability_tracker.h" #include "util/osp_logging.h" namespace openscreen { namespace cast { CastAppAvailabilityTracker...
33.584337
80
0.717848
gtalis
0a0352f6943a57a08da0aee8d009641c7a23c819
15,097
cpp
C++
sadx-movement-rnd/PGetAcceleration.cpp
michael-fadely/sa-movement-rnd
8212ce59430d1f654d220b2e7e5bcb7c4b0d9c7b
[ "MIT" ]
null
null
null
sadx-movement-rnd/PGetAcceleration.cpp
michael-fadely/sa-movement-rnd
8212ce59430d1f654d220b2e7e5bcb7c4b0d9c7b
[ "MIT" ]
null
null
null
sadx-movement-rnd/PGetAcceleration.cpp
michael-fadely/sa-movement-rnd
8212ce59430d1f654d220b2e7e5bcb7c4b0d9c7b
[ "MIT" ]
null
null
null
#include <cmath> #include <SADXModLoader.h> #include "PGetAcceleration.h" // ReSharper disable CppClangTidyCppcoreguidelinesAvoidGoto // ReSharper disable CppClangTidyHicppAvoidGoto // Standard functions FunctionPointer(float, PGetAccelerationAuto, (EntityData1 *arg0, EntityData2_ *arg4, CharObj2_ *a3), 0x00447510);...
23.119449
140
0.654037
michael-fadely
0a0c3b94416532fee6ad150fdf53fd0bb174b34a
3,096
cpp
C++
analyticGeometry/Line.cpp
yingquelou/cpp
616392d07295e4ad62efc5c7e939da18dce3edb9
[ "BSD-3-Clause" ]
null
null
null
analyticGeometry/Line.cpp
yingquelou/cpp
616392d07295e4ad62efc5c7e939da18dce3edb9
[ "BSD-3-Clause" ]
null
null
null
analyticGeometry/Line.cpp
yingquelou/cpp
616392d07295e4ad62efc5c7e939da18dce3edb9
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "Line.h" using namespace std; Line::Line() : A(0), B(0), C(0) {} Line::Line(const double &a, const double &b, const double &c) : A(a), B(b), C(c) {} Line::Line(const Line &L) { *this = L; } Line::Line(const Point &P, const double &k) { *this = Line(k, -1.0, P.Get_y() - k * P.Get_x()); } L...
23.633588
83
0.511951
yingquelou
0a0cb48fa858019a9d4b026b7ceed08b88d92bc6
5,020
cpp
C++
Source/PublicLibs/Exceptions/Exception.cpp
sebastiansam55/DigitViewer
5d86ac14e269781dbde5f41c4325390231f7844b
[ "BSD-3-Clause" ]
null
null
null
Source/PublicLibs/Exceptions/Exception.cpp
sebastiansam55/DigitViewer
5d86ac14e269781dbde5f41c4325390231f7844b
[ "BSD-3-Clause" ]
null
null
null
Source/PublicLibs/Exceptions/Exception.cpp
sebastiansam55/DigitViewer
5d86ac14e269781dbde5f41c4325390231f7844b
[ "BSD-3-Clause" ]
null
null
null
/* Exception.cpp * * Author : Alexander J. Yee * Date Created : 04/09/2017 * Last Modified : 04/09/2017 * */ //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// ///////////////////////...
40.16
103
0.459163
sebastiansam55
0a0f4eaf4f7e7b29eab3de8cac328783d5f4a232
1,019
hpp
C++
qubus/include/qubus/pattern/IR.hpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/include/qubus/pattern/IR.hpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/include/qubus/pattern/IR.hpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
#ifndef QUBUS_PATTERN_IR_HPP #define QUBUS_PATTERN_IR_HPP #include <qubus/pattern/binary_operator.hpp> #include <qubus/pattern/unary_operator.hpp> #include <qubus/pattern/subscription.hpp> #include <qubus/pattern/type_conversion.hpp> #include <qubus/pattern/compound.hpp> #include <qubus/pattern/intrinsic_function.hpp>...
31.84375
47
0.799804
qubusproject
0a130ee802b0249d78893fb5d80c652f34638042
2,860
cpp
C++
modules/mpi/common/Profiling.cpp
burlen/ospray
e041b985dc53a2339a90a5735a22d0489b730df0
[ "Apache-2.0" ]
null
null
null
modules/mpi/common/Profiling.cpp
burlen/ospray
e041b985dc53a2339a90a5735a22d0489b730df0
[ "Apache-2.0" ]
null
null
null
modules/mpi/common/Profiling.cpp
burlen/ospray
e041b985dc53a2339a90a5735a22d0489b730df0
[ "Apache-2.0" ]
null
null
null
// ======================================================================== // // Copyright 2009-2018 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
38.133333
80
0.50035
burlen
0a1716840f0a99fca1962b56fc0df6929f12ad2a
447
cpp
C++
sources/storage_json.cpp
Dan10022002/http-server
c4c39127e4ccb572984055fc1788a67a19d96480
[ "MIT" ]
null
null
null
sources/storage_json.cpp
Dan10022002/http-server
c4c39127e4ccb572984055fc1788a67a19d96480
[ "MIT" ]
null
null
null
sources/storage_json.cpp
Dan10022002/http-server
c4c39127e4ccb572984055fc1788a67a19d96480
[ "MIT" ]
null
null
null
// Copyright 2021 Dan10022002 dan10022002@mail.ru #include "storage_json.h" #include <iostream> #include <fstream> #include <exception> storage_json::storage_json(const std::string& name): _name(name) {} nlohmann::json storage_json::get_storage() const {return _storage;} void storage_json::load() { try { std:...
21.285714
67
0.675615
Dan10022002
0a224c48c7d8a756c07bc38f5dc5e3ce726a23e6
801
cpp
C++
Lab8.cpp
CZhang1997/x86-Assembly
cc749da71eb15d48ecc2e75deb524a2c1c4dc192
[ "MIT" ]
null
null
null
Lab8.cpp
CZhang1997/x86-Assembly
cc749da71eb15d48ecc2e75deb524a2c1c4dc192
[ "MIT" ]
null
null
null
Lab8.cpp
CZhang1997/x86-Assembly
cc749da71eb15d48ecc2e75deb524a2c1c4dc192
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; extern "C" long Average (long, long []); void main () { /*long Array1 [10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; long Array2 [11] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; long Array3 [12] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24}; cout << "Average of Array1 ...
32.04
68
0.535581
CZhang1997
0a2745d6cb77c304ab0fe6fb652c554361a15fe6
4,587
cpp
C++
src/alignments.cpp
apregier/seqwish
0849025e5fa6e5fdd68436595d07a139269be890
[ "MIT" ]
null
null
null
src/alignments.cpp
apregier/seqwish
0849025e5fa6e5fdd68436595d07a139269be890
[ "MIT" ]
null
null
null
src/alignments.cpp
apregier/seqwish
0849025e5fa6e5fdd68436595d07a139269be890
[ "MIT" ]
null
null
null
#include "alignments.hpp" namespace seqwish { void unpack_alignments(const std::string& paf_file, dmultimap<uint64_t, pos_t>& aln_mm, seqindex_t& seqidx) { // go through the PAF file std::ifstream paf_in(paf_file.c_str()); std::string line; std::vector<std...
45.87
132
0.525834
apregier
0a280d9db50c9fd8dbca11084c28802ab12f3bc8
198
cpp
C++
Server/Server/main.cpp
Warrenate/game_net
63fb3f2ecc8974081bf079e7b3b5e422be55f310
[ "MIT" ]
53
2018-03-27T02:41:58.000Z
2022-03-25T03:19:42.000Z
Server/Server/main.cpp
Warrenate/game_net
63fb3f2ecc8974081bf079e7b3b5e422be55f310
[ "MIT" ]
1
2019-09-09T07:54:07.000Z
2019-09-09T08:53:22.000Z
Server/Server/main.cpp
Warrenate/game_net
63fb3f2ecc8974081bf079e7b3b5e422be55f310
[ "MIT" ]
25
2018-10-15T12:54:05.000Z
2021-12-05T18:10:03.000Z
#include <stdio.h> #include "testpb.h" #include "networkmgr.h" int main(int argc, char* argv[]) { testpb test; test.serial(); networkmgr::Instance()->init(); system("pause"); return 0; }
13.2
32
0.641414
Warrenate
0a2baa07ef1ba28d05fe6c1214aa8552571c3af8
28,922
cpp
C++
src/random_test.cpp
kugelblitz1235/TPOrga_Final
320e30f165be9c4ee0b57535c9db8d09d42ad389
[ "MIT" ]
null
null
null
src/random_test.cpp
kugelblitz1235/TPOrga_Final
320e30f165be9c4ee0b57535c9db8d09d42ad389
[ "MIT" ]
null
null
null
src/random_test.cpp
kugelblitz1235/TPOrga_Final
320e30f165be9c4ee0b57535c9db8d09d42ad389
[ "MIT" ]
2
2021-04-29T15:02:41.000Z
2021-06-15T17:31:36.000Z
#include <unistd.h> #include <iostream> #include <string> #include <emmintrin.h> #include "Misc/littletest.hpp" #include "Misc/Types.hpp" #include "Smith_Waterman/SW_C_LIN.hpp" #include "Smith_Waterman/SW_C_SIMDlogic.hpp" #include "Smith_Waterman/SW_C_SSE.hpp" #include "Smith_Waterman/SW_C_AVX.hpp" #include "Smith_Wat...
37.658854
143
0.637058
kugelblitz1235
0a2d8a6072e689d71efe3b08ae347578ec81d563
10,710
cpp
C++
src/syzygy/codegen.cpp
cwood77/shtanky
6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8
[ "MIT" ]
null
null
null
src/syzygy/codegen.cpp
cwood77/shtanky
6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8
[ "MIT" ]
null
null
null
src/syzygy/codegen.cpp
cwood77/shtanky
6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8
[ "MIT" ]
null
null
null
#include "../cmn/out.hpp" #include "../cmn/pathUtil.hpp" #include "../cmn/throw.hpp" #include "../cmn/trace.hpp" #include "codegen.hpp" namespace syzygy { class writeAttributes { public: explicit writeAttributes(cmn::node& n, cmn::outStream& s) : m_n(n), m_s(s) {} void write(std::ostream& s) const { i...
22.3125
82
0.574977
cwood77
0a33c974e66708d4f317b83bc18c8d9a63fb1a2e
216
hpp
C++
sloth.hpp
bolym/C-ZooGame
33a66a4e7e3cccc731520471c2641cd8f901ae02
[ "MIT" ]
null
null
null
sloth.hpp
bolym/C-ZooGame
33a66a4e7e3cccc731520471c2641cd8f901ae02
[ "MIT" ]
null
null
null
sloth.hpp
bolym/C-ZooGame
33a66a4e7e3cccc731520471c2641cd8f901ae02
[ "MIT" ]
null
null
null
#include "animal.hpp" #include <iostream> using namespace std; #ifndef SLOTH_HPP #define SLOTH_HPP class Sloth : public Animal { protected: public: Sloth(); Sloth(int days); }; #endif
12.705882
30
0.634259
bolym
0a385176ad82aa5e589c7421b0c2a539003c37c6
425
cpp
C++
c-interface/c_oa_partition.cpp
hxmhuang/OpenArray_Dev
863866a6b7accf21fa253567b0e66143c7506cdf
[ "MIT" ]
3
2020-09-08T05:01:56.000Z
2020-11-23T13:11:25.000Z
c-interface/c_oa_partition.cpp
hxmhuang/OpenArray_Dev
863866a6b7accf21fa253567b0e66143c7506cdf
[ "MIT" ]
null
null
null
c-interface/c_oa_partition.cpp
hxmhuang/OpenArray_Dev
863866a6b7accf21fa253567b0e66143c7506cdf
[ "MIT" ]
2
2019-08-16T08:32:30.000Z
2020-02-10T08:44:04.000Z
#include "../Partition.hpp" extern "C"{ void c_get_default_procs_shape(int* f){ //printf("%p\n", f); Shape s = Partition::get_default_procs_shape(); f[0] = s[0]; f[1] = s[1]; f[2] = s[2]; }; void c_set_default_procs_shape(int* s){ Partition::set_default_procs_shape({{s[0], s[1], s[2]}...
20.238095
61
0.588235
hxmhuang
0a38803c94508de0cabb4a91454720bfb8e64f7e
209
hpp
C++
src/types/smallint_type.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
3
2021-06-24T01:05:42.000Z
2021-07-23T07:24:16.000Z
src/types/smallint_type.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
5
2021-06-25T00:13:51.000Z
2021-07-23T14:26:01.000Z
src/types/smallint_type.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
null
null
null
#pragma once #include "types/type_id.hpp" #include "types/numeric_type.hpp" class SmallIntType : public NumericType<int16_t> { public: TypeId type_id() const override { return TypeId::SMALLINT; } };
17.416667
50
0.727273
farleyknight
0a38e88043ff1ade5d2299713d9a987de72756ed
337
cpp
C++
src/access_after_realloc.cpp
geoffviola/undefined_behavior_study
c405fa766284473c5b3c9ce415c18bcc2bba227c
[ "Apache-2.0" ]
9
2017-03-18T09:15:36.000Z
2020-05-24T18:00:37.000Z
src/access_after_realloc.cpp
geoffviola/undefined_behavior_study
c405fa766284473c5b3c9ce415c18bcc2bba227c
[ "Apache-2.0" ]
1
2018-06-19T19:36:19.000Z
2018-10-15T16:49:29.000Z
src/access_after_realloc.cpp
geoffviola/undefined_behavior_study
c405fa766284473c5b3c9ce415c18bcc2bba227c
[ "Apache-2.0" ]
3
2017-03-18T01:44:49.000Z
2022-01-04T03:22:02.000Z
/* https://en.cppreference.com/w/cpp/language/ub Access to pointer passed to realloc */ #include <cstdlib> #include <iostream> int main() { auto *p1 = static_cast<int *>(std::malloc(sizeof(int))); auto *p2 = static_cast<int *>(std::realloc(p1, sizeof(int))); std::cout << *p1 << *p2 << '\n'; free(p2); return...
21.0625
63
0.643917
geoffviola
0a38f2c53d6540d6395c66f98c1c763d9709edcf
1,133
hpp
C++
boost/processes/process.hpp
dillonl/boost-cmake
7204d4c68345a0b26e24f51fa46a04b1d2bda3e7
[ "BSL-1.0" ]
null
null
null
boost/processes/process.hpp
dillonl/boost-cmake
7204d4c68345a0b26e24f51fa46a04b1d2bda3e7
[ "BSL-1.0" ]
null
null
null
boost/processes/process.hpp
dillonl/boost-cmake
7204d4c68345a0b26e24f51fa46a04b1d2bda3e7
[ "BSL-1.0" ]
null
null
null
// Boost.Process // // Copyright (c) 2006, 2007 Julio M. Merino Vidal. // Copyright 2008 Ilya Sokolov // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt.) /// \file boost/process/process.hpp /// /// In...
26.348837
62
0.730803
dillonl
0a3be5f098b34bfa9df9cc8cbfc57d5c3e3113e3
2,498
hpp
C++
src/gui/text-render-rendered-line.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
2
2019-02-28T00:28:08.000Z
2019-10-20T14:39:48.000Z
src/gui/text-render-rendered-line.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
src/gui/text-render-rendered-line.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
// ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this file. As long as you retain this notice you // can do whatever you want with this stuff. If we meet some day, and you think // this stuff is worth it, you can buy me...
35.685714
100
0.611289
tilnewman