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
febcf3731defba17cf5e8e0e6786231af11fe493
642
cc
C++
quic/platform/api/quic_test_loopback.cc
swimfish09/quiche
2bfc754a599cdbdb2a6875a515713648b92ddb97
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
quic/platform/api/quic_test_loopback.cc
DaanDeMeyer/google-quiche-iquic
da6e9842787e2cf88cacaebf56b15b14fa2e8444
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
quic/platform/api/quic_test_loopback.cc
DaanDeMeyer/google-quiche-iquic
da6e9842787e2cf88cacaebf56b15b14fa2e8444
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2017 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 "net/third_party/quiche/src/quic/platform/api/quic_test_loopback.h" namespace quic { IpAddressFamily AddressFamilyUnderTest() { return Ad...
21.4
76
0.76324
swimfish09
febd20772f576968299ac012a7bc6c2a677d8322
2,097
cpp
C++
LeetCode/BaseballGame.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
LeetCode/BaseballGame.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
LeetCode/BaseballGame.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
// based on the examples, when a round's score is calculated by "+" or "D", the last valid round(s) remain (in the end sum) (unless later canceled) // could be multiple (unlimited) C's, so it's not enough to keep track of the last 1/2 valid rounds (+sum). // idea: use a stack to keep track of all previous valid rounds....
45.586957
153
0.484502
SelvorWhim
febe98be3f70e34899d966bffa65bba5a716c15d
864
cpp
C++
devdc240.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
1
2020-02-24T18:28:48.000Z
2020-02-24T18:28:48.000Z
devdc240.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
devdc240.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* There's an ATM with unlimited money in bills of 10, 20, 50, 100, 200, and 500 dollars. You're given an amount of money n to withdraw with 1<=n<=1500. Try to find the minimal number of bills that must be used to cash out n, or output -1 if it's impossible. Example: sol...
21.073171
105
0.575231
vidit1999
febeb1c581589be88e0e82b72b7ebb6232cd55ed
5,076
cpp
C++
test/aapl.d/stress_svectsimp.cpp
podsvirov/colm-suite
9d45f0d47982d83141763a9728a4f97d6a06bacd
[ "MIT" ]
58
2020-03-28T11:46:07.000Z
2022-03-17T10:42:05.000Z
test/aapl.d/stress_svectsimp.cpp
podsvirov/colm-suite
9d45f0d47982d83141763a9728a4f97d6a06bacd
[ "MIT" ]
78
2019-09-09T21:03:47.000Z
2019-12-09T10:28:16.000Z
test/aapl.d/stress_svectsimp.cpp
podsvirov/colm-suite
9d45f0d47982d83141763a9728a4f97d6a06bacd
[ "MIT" ]
12
2020-06-09T08:13:24.000Z
2022-02-21T01:31:40.000Z
/* * Copyright 2002, 2003 Adrian Thurston <thurston@colm.net> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, co...
24.640777
81
0.610914
podsvirov
fec11d6d71d180c4be5db0e38a6d17d5a9e07aa3
5,570
cpp
C++
control/trajectory_follower/src/smooth_stop.cpp
meliketanrikulu/autoware.universe
04f2b53ae1d7b41846478641ad6ff478c3d5a247
[ "Apache-2.0" ]
58
2021-11-30T09:03:46.000Z
2022-03-31T15:25:17.000Z
control/trajectory_follower/src/smooth_stop.cpp
meliketanrikulu/autoware.universe
04f2b53ae1d7b41846478641ad6ff478c3d5a247
[ "Apache-2.0" ]
425
2021-11-30T02:24:44.000Z
2022-03-31T10:26:37.000Z
control/trajectory_follower/src/smooth_stop.cpp
meliketanrikulu/autoware.universe
04f2b53ae1d7b41846478641ad6ff478c3d5a247
[ "Apache-2.0" ]
69
2021-11-30T02:09:18.000Z
2022-03-31T15:38:29.000Z
// Copyright 2021 Tier IV, 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 or agreed to i...
32.011494
100
0.71921
meliketanrikulu
fec216975e51244738d0ff927f4aaef5136e3f21
669
hpp
C++
src/utils/id.hpp
alexandre-janniaux/ludumdare_radonnykoteam
3f79bf4fab46eb5d380640714cfd341bbd37bc9b
[ "MIT" ]
null
null
null
src/utils/id.hpp
alexandre-janniaux/ludumdare_radonnykoteam
3f79bf4fab46eb5d380640714cfd341bbd37bc9b
[ "MIT" ]
null
null
null
src/utils/id.hpp
alexandre-janniaux/ludumdare_radonnykoteam
3f79bf4fab46eb5d380640714cfd341bbd37bc9b
[ "MIT" ]
null
null
null
#pragma once // Définition des IDs // ID pour un type quelconque template <typename T> class ID { public: explicit inline ID(unsigned int const n) : id(n) {} inline operator bool () const { return bool(id); } inline bool operator == (ID const& other) const { return id == other.id; } inline bool operator != (ID c...
23.892857
75
0.668161
alexandre-janniaux
fec2334f5f620e1bc23f1314edb5adf7d07974d6
3,422
hh
C++
src/cxx/include/common/CsvGrammar.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
5
2021-06-07T12:36:11.000Z
2022-02-08T09:49:02.000Z
src/cxx/include/common/CsvGrammar.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
1
2022-03-01T23:55:57.000Z
2022-03-01T23:57:15.000Z
src/cxx/include/common/CsvGrammar.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
null
null
null
/** * BCL to FASTQ file converter * Copyright (c) 2007-2017 Illumina, Inc. * * This software is covered by the accompanying EULA * and certain third party copyright/licenses, and any user of this * source file is bound by the terms therein. * * \file CsvGrammar.hh * * \brief Basic CSV grammar. * * \author R...
27.376
134
0.70602
sbooeshaghi
fec9aef4a9599924c45acdbc288d69a542843a71
685
cpp
C++
baekjoon/_dfs/11724.cpp
dailylucy/algorithm
c2b34660de57d5d71ddf27a4ed28054938dda32e
[ "MIT" ]
null
null
null
baekjoon/_dfs/11724.cpp
dailylucy/algorithm
c2b34660de57d5d71ddf27a4ed28054938dda32e
[ "MIT" ]
null
null
null
baekjoon/_dfs/11724.cpp
dailylucy/algorithm
c2b34660de57d5d71ddf27a4ed28054938dda32e
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include <queue> #include <algorithm> using namespace std; vector <vector<int>> map(1001); bool visited[1001] = { false }; int N = 0, M = 0; void input() { int n1, n2; for (int i = 0; i < M; i++){ cin >> n1 >> n2; map[n1].push_back(n2); map[n2].push_back(n1); } } void ...
15.568182
74
0.537226
dailylucy
fed096f45dfdfc6789070b3f92cd69621326b456
1,338
cpp
C++
cpp/ql/test/library-tests/classes/derivations/offsets/offsets.cpp
calumgrant/ql
3c0f04ac96da17456a2085ef11e05aca4632b986
[ "ECL-2.0", "Apache-2.0" ]
1
2021-07-05T13:02:34.000Z
2021-07-05T13:02:34.000Z
cpp/ql/test/library-tests/classes/derivations/offsets/offsets.cpp
calumgrant/ql
3c0f04ac96da17456a2085ef11e05aca4632b986
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cpp/ql/test/library-tests/classes/derivations/offsets/offsets.cpp
calumgrant/ql
3c0f04ac96da17456a2085ef11e05aca4632b986
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
struct Base { int b1; float b1f; }; struct SingleInheritance : Base { int si1; float si1f; }; struct Base2 { int b2; float b2f; }; struct MultipleInheritance : Base, Base2 { int mi1; float mi1f; }; struct DeepInheritance : MultipleInheritance, SingleInheritance { ...
15.741176
80
0.618834
calumgrant
fed2453568b1ca6c6afd65337b8dcdb37112b38b
703
cpp
C++
CSES/Dynamic Programming/RemoveDigits.cpp
ShraxO1/OneDayOneAlgo
68fe90f642985680e4014fdd1fe2ecd30097661d
[ "MIT" ]
32
2020-05-23T07:40:31.000Z
2021-02-02T18:14:30.000Z
CSES/Dynamic Programming/RemoveDigits.cpp
ShraxO1/OneDayOneAlgo
68fe90f642985680e4014fdd1fe2ecd30097661d
[ "MIT" ]
45
2020-05-22T10:30:51.000Z
2020-12-28T08:17:13.000Z
CSES/Dynamic Programming/RemoveDigits.cpp
ShraxO1/OneDayOneAlgo
68fe90f642985680e4014fdd1fe2ecd30097661d
[ "MIT" ]
31
2020-05-22T10:18:16.000Z
2020-10-23T07:52:35.000Z
#include <iostream> #include <vector> #include<string> #include <climits> #include<set> #include <algorithm> using namespace std; #define ll long long int #define OJ \ freopen("input.txt", "r", stdin); \ freopen("output.txt", "w", stdout); #define FIO \ ...
21.96875
54
0.472262
ShraxO1
fed8156b17b9a5026f014e6d9d86640c15507d83
860
hpp
C++
src/gameworld/gameworld/scene/teamkeyregister/teamkeyregister.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/scene/teamkeyregister/teamkeyregister.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/scene/teamkeyregister/teamkeyregister.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __TEAM_KEY_REGISTER_HPP__ #define __TEAM_KEY_REGISTER_HPP__ #include "servercommon/serverdef.h" #include <map> class TeamKeyRegister { public: static TeamKeyRegister & Instance(); void RegisterTeamKey(const UserID &user_id, int scene_id, int scene_key, unsigned int create_time); int GetTeamSceneKey(cons...
23.243243
132
0.773256
mage-game
feddc00f99d15c69e588c8739e706f881fb6d57a
1,957
cpp
C++
RPNCalculator/uipileview.cpp
pauljeannot/RPNCalculator
d13c50f0bf0e571c73e061f6369030cfa4210221
[ "MIT" ]
null
null
null
RPNCalculator/uipileview.cpp
pauljeannot/RPNCalculator
d13c50f0bf0e571c73e061f6369030cfa4210221
[ "MIT" ]
null
null
null
RPNCalculator/uipileview.cpp
pauljeannot/RPNCalculator
d13c50f0bf0e571c73e061f6369030cfa4210221
[ "MIT" ]
null
null
null
#include "uipileview.h" #include "ltprogramme.h" #include "ltexpression.h" void UIPileView::addItem(QTableWidgetItem* item) { int newRow = this->rowCount(); this->insertRow(newRow); item->setFlags(Qt::ItemIsSelectable|Qt::ItemIsEnabled); this->setItem(newRow, 0, item); items.append(item); thi...
26.808219
91
0.529382
pauljeannot
fee27a1cfb3c0d1c2d3fdf374647261942570eb8
1,165
cpp
C++
lib/minpart/src/context-literals.cpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
8
2018-07-13T07:07:08.000Z
2021-05-18T17:56:59.000Z
lib/minpart/src/context-literals.cpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
null
null
null
lib/minpart/src/context-literals.cpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <minpart-contexts/literals.hpp> #define LIB_CONTEXT_LITERALS_SRC using namespace minpart; using namespace minpart::literals; const PartitionGeneratorOptions LiteralProblemContext::generate_partition_options() const { PartitionGeneratorOptions result(opts.c_blocksize, ...
29.871795
92
0.643777
sellamiy
fee2eeaaa6b8d1af9143d6261716792337f481ea
115
hpp
C++
naos/includes/kernel/task/builtin/idle_task.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
14
2020-02-12T11:07:58.000Z
2022-02-02T00:05:08.000Z
naos/includes/kernel/task/builtin/idle_task.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
null
null
null
naos/includes/kernel/task/builtin/idle_task.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
4
2020-02-27T09:53:53.000Z
2021-11-07T17:43:44.000Z
#pragma once #include "common.hpp" namespace task::builtin::idle { void main(); } // namespace task::builtin::idle
16.428571
34
0.713043
kadds
fee3d365bdb02398a55ea89bbd9c3d7395efaa50
2,031
cc
C++
Core/DianYing/Source/Component/Widget/CWidgetScript.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
4
2019-03-17T19:46:54.000Z
2019-12-09T20:11:01.000Z
Core/DianYing/Source/Component/Widget/CWidgetScript.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
Core/DianYing/Source/Component/Widget/CWidgetScript.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
#include <precompiled.h> /// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL...
36.927273
109
0.74003
liliilli
fee486e223731bc23d264b2f2a12a8768c7f22b8
2,055
cpp
C++
Engine/PipelineCompiler/glsl/Gabor.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Engine/PipelineCompiler/glsl/Gabor.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Engine/PipelineCompiler/glsl/Gabor.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// This is generated file, don't change anything! #include "glsl_source_vfs.h" namespace glsl_vfs { extern void VFS_Noise_Gabor (OUT String &src) { src << R"#(/* Gabor noise */ #include <Common/Defines.glsl> real GaborNoise (in real2 point, int numBlobs, real blobSize); //------------------------------------...
23.895349
79
0.589781
azhirnov
feeafe7536e5ef6cc6fd3cb9a0fa4c9791b08925
243
cc
C++
chapter-06/6.21.cc
hongmi/cpp-primer-4-exercises
98ddb98b41d457a1caa525d246dfb7453be0c8d2
[ "MIT" ]
1
2017-04-01T06:57:30.000Z
2017-04-01T06:57:30.000Z
chapter-06/6.21.cc
hongmi/cpp-primer-4-exercises
98ddb98b41d457a1caa525d246dfb7453be0c8d2
[ "MIT" ]
null
null
null
chapter-06/6.21.cc
hongmi/cpp-primer-4-exercises
98ddb98b41d457a1caa525d246dfb7453be0c8d2
[ "MIT" ]
null
null
null
string last; string current; while (cin >> current) { if (!isupper(current[0])) continue; if (last == current) { cout << last << endl; break; } last = current; } if (last.empty()) cout << "no continue words." << endl;
15.1875
39
0.567901
hongmi
feee5663b8d463f4b3c5b30ec64356df3dc0e528
2,859
cpp
C++
SampleOSXCocoaPodsProject/Pods/BRCLucene/src/core/CLucene/search/spans/SpanScorer.cpp
zaubara/BRFullTextSearch
e742f223a1c203eacb576711dd57b1187aee3deb
[ "Apache-2.0" ]
151
2015-01-17T06:29:38.000Z
2022-02-17T11:27:38.000Z
SampleOSXCocoaPodsProject/Pods/BRCLucene/src/core/CLucene/search/spans/SpanScorer.cpp
yonglam/BRFullTextSearch
e742f223a1c203eacb576711dd57b1187aee3deb
[ "Apache-2.0" ]
28
2015-03-01T20:14:42.000Z
2019-07-22T09:23:54.000Z
SampleOSXCocoaPodsProject/Pods/BRCLucene/src/core/CLucene/search/spans/SpanScorer.cpp
yonglam/BRFullTextSearch
e742f223a1c203eacb576711dd57b1187aee3deb
[ "Apache-2.0" ]
28
2015-03-05T13:24:12.000Z
2022-03-26T09:16:29.000Z
/*------------------------------------------------------------------------------ * Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team * * Distributable under the terms of either the Apache License (Version 2.0) or * the GNU Lesser General Public License, as specified in the COPYING file. --------------...
23.243902
99
0.592865
zaubara
fef47c14c7e014e3d2ecd1836a24d43b0f4663b0
705
cpp
C++
Virtual Judge/Sheet ( Graph Representation )/A.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
Virtual Judge/Sheet ( Graph Representation )/A.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
Virtual Judge/Sheet ( Graph Representation )/A.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://vjudge.net/contest/372876#problem/A #include <bits/stdc++.h> using namespace std; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); int T; cin >> T; while (T--) { int N; cin >> N; vector<int> V(N, 0); cin.ignore(); for (int i = 0; ...
23.5
61
0.370213
MaGnsio
679710337078abc42555c66dee272e8d185821d0
3,915
cc
C++
examples/zurg/slave/AppManager.cc
xiaolangge/muduo-protorpc
22fff5e7d561f852ff816e48e2bcf0aaef49bfc5
[ "BSD-3-Clause" ]
138
2015-01-25T17:30:42.000Z
2022-03-05T02:10:59.000Z
examples/zurg/slave/AppManager.cc
xiaolangge/muduo-protorpc
22fff5e7d561f852ff816e48e2bcf0aaef49bfc5
[ "BSD-3-Clause" ]
3
2019-01-29T02:19:48.000Z
2022-02-25T04:33:10.000Z
examples/zurg/slave/AppManager.cc
xiaolangge/muduo-protorpc
22fff5e7d561f852ff816e48e2bcf0aaef49bfc5
[ "BSD-3-Clause" ]
102
2015-02-03T02:01:08.000Z
2022-03-18T04:51:04.000Z
#include <examples/zurg/slave/AppManager.h> #include <examples/zurg/slave/ChildManager.h> #include <examples/zurg/slave/Process.h> #include <muduo/base/Logging.h> #include <stdio.h> #include <sys/resource.h> #include <sys/wait.h> namespace zurg { struct Application { AddApplicationRequestPtr request; Applicati...
23.584337
91
0.65083
xiaolangge
679dee6622b0a8020c07fb60f29b11b2a519cd5f
423
hpp
C++
Firmware/MotorControl/pwm_input.hpp
deafloo/ODrive
bae459bb71b39c0169f4b8a322b7371eada58112
[ "MIT" ]
1,068
2016-05-31T22:39:08.000Z
2020-12-20T22:13:01.000Z
Firmware/MotorControl/pwm_input.hpp
deafloo/ODrive
bae459bb71b39c0169f4b8a322b7371eada58112
[ "MIT" ]
389
2017-10-16T09:44:20.000Z
2020-12-21T14:19:38.000Z
Firmware/MotorControl/pwm_input.hpp
deafloo/ODrive
bae459bb71b39c0169f4b8a322b7371eada58112
[ "MIT" ]
681
2016-06-12T01:41:00.000Z
2020-12-21T12:49:32.000Z
#ifndef __PWM_INPUT_HPP #define __PWM_INPUT_HPP #include <tim.h> #include <array> class PwmInput { public: PwmInput(TIM_HandleTypeDef* htim, std::array<uint16_t, 4> gpios) : htim_(htim), gpios_(gpios) {} void init(); void on_capture(); private: void on_capture(int channel, uint32_t times...
19.227273
68
0.685579
deafloo
679ecaceffcc8d9250413f72741cdbdf065fe133
560
cpp
C++
src/open.cpp
u3shit/stcm-editor
2bf6576ad4e86ef7cae602182b90cfe2246a1565
[ "WTFPL" ]
56
2016-03-20T19:44:55.000Z
2021-09-03T13:08:16.000Z
src/open.cpp
u3shit/stcm-editor
2bf6576ad4e86ef7cae602182b90cfe2246a1565
[ "WTFPL" ]
23
2016-06-09T21:09:28.000Z
2021-05-10T10:46:18.000Z
src/open.cpp
u3shit/stcm-editor
2bf6576ad4e86ef7cae602182b90cfe2246a1565
[ "WTFPL" ]
12
2016-09-12T11:03:15.000Z
2021-07-04T06:10:06.000Z
#include "open.hpp" #include <libshit/except.hpp> namespace Neptools { auto OpenFactory::Open(Source src) -> Libshit::NotNull<Ret> { for (auto& x : GetStore()) { auto ret = x(src); if (ret) return MakeNotNull(ret); } LIBSHIT_THROW(Libshit::DecodeError, "Unknown input file"); } au...
19.310345
62
0.633929
u3shit
67a41dee94d7c77baed969c7e80226714fb56f26
1,782
cpp
C++
src/objects/Coordinate.cpp
yinyangcoding/chess
50acfda16e65a1ab2427caa5e083a698c67375ef
[ "MIT" ]
1
2020-07-11T06:28:58.000Z
2020-07-11T06:28:58.000Z
src/objects/Coordinate.cpp
yinyangcoding/chess
50acfda16e65a1ab2427caa5e083a698c67375ef
[ "MIT" ]
8
2020-06-28T19:41:07.000Z
2020-07-13T17:06:50.000Z
src/objects/Coordinate.cpp
yinyangcoding/chess
50acfda16e65a1ab2427caa5e083a698c67375ef
[ "MIT" ]
null
null
null
#include "../../include/objects/Coordinate.hpp" // ================ Constructors ================ // Build coord from given x and y Coordinate::Coordinate(int y, int x) { this->y = y; this->x = x; } // Takes proper chess coord structure Coordinate::Coordinate(char c, int y) { // Process coords from standa...
22
60
0.54826
yinyangcoding
67b04f56b5e1dce61c99cadb1bc5198bf0bf38d4
8,274
hpp
C++
include/open-bo-api-news.hpp
sokoliko/open-bo-api
ddcad19163532543ad13a0398f0b0119e55d4c3d
[ "MIT" ]
6
2020-02-09T06:40:03.000Z
2021-09-08T09:38:19.000Z
include/open-bo-api-news.hpp
sokoliko/open-bo-api
ddcad19163532543ad13a0398f0b0119e55d4c3d
[ "MIT" ]
3
2020-02-28T11:30:43.000Z
2020-06-05T12:50:33.000Z
include/open-bo-api-news.hpp
sokoliko/open-bo-api
ddcad19163532543ad13a0398f0b0119e55d4c3d
[ "MIT" ]
7
2020-03-24T22:31:25.000Z
2021-11-24T17:13:56.000Z
/* * open-bo-api - C++ API for working with binary options brokers * * Copyright (c) 2020 Elektro Yar. Email: git.electroyar@gmail.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software withou...
43.777778
113
0.589316
sokoliko
67b156cf42907f41875bd19664a8f405d7559a50
29,876
cpp
C++
src/ptest/CIpo_tests.cpp
koalajack/koalachain
84b5d5351072947f79f982ca24666047e955df3d
[ "MIT" ]
null
null
null
src/ptest/CIpo_tests.cpp
koalajack/koalachain
84b5d5351072947f79f982ca24666047e955df3d
[ "MIT" ]
null
null
null
src/ptest/CIpo_tests.cpp
koalajack/koalachain
84b5d5351072947f79f982ca24666047e955df3d
[ "MIT" ]
null
null
null
/* * CAnony_tests.cpp * * Created on: 2015-04-24 * Author: frank */ #include "CIpo_tests.h" #include "CycleTestManger.h" #include <boost/assign/list_of.hpp> #include "json/json_spirit_utils.h" #include "json/json_spirit_value.h" #include "json/json_spirit_reader.h" using namespace std; using namespace boost...
40.264151
137
0.711708
koalajack
67b251192e2b57d85a8afc95d04bbaabf0b0c407
3,560
hpp
C++
lager/detail/lens_nodes.hpp
asa/lager
a7dc8329fbb82530a131c0973946b6c8b7fabbbf
[ "MIT" ]
null
null
null
lager/detail/lens_nodes.hpp
asa/lager
a7dc8329fbb82530a131c0973946b6c8b7fabbbf
[ "MIT" ]
null
null
null
lager/detail/lens_nodes.hpp
asa/lager
a7dc8329fbb82530a131c0973946b6c8b7fabbbf
[ "MIT" ]
null
null
null
// // lager - library for functional interactive c++ programs // Copyright (C) 2017 Juan Pedro Bolivar Puente // // This file is part of lager. // // lager is free software: you can redistribute it and/or modify // it under the terms of the MIT License, as detailed in the LICENSE // file located at the root of this sou...
29.180328
79
0.632303
asa
67b8178e95cbb771c3dbd5017789878d1d780e39
22,210
cpp
C++
HypoGraphics/src/Platform/OpenGL/OpenGLShader.cpp
TheodorLindberg/Hypo
67107bf14671711ab5979e2af8c7ead6ee043805
[ "Apache-2.0" ]
null
null
null
HypoGraphics/src/Platform/OpenGL/OpenGLShader.cpp
TheodorLindberg/Hypo
67107bf14671711ab5979e2af8c7ead6ee043805
[ "Apache-2.0" ]
null
null
null
HypoGraphics/src/Platform/OpenGL/OpenGLShader.cpp
TheodorLindberg/Hypo
67107bf14671711ab5979e2af8c7ead6ee043805
[ "Apache-2.0" ]
null
null
null
#include "graphicspch.h" #include "OpenGLShader.h" #include "Hypo/System/Util/Log.h" #include "glad/glad.h" #include <iostream> #include "Platform/OpenGL/OpenGLError.h" #include "Hypo/Graphics/Shader/UniformBinder.h" #include "Platform/OpenGL/OpenGLUniformBuffer.h" #include "Platform/OpenGL/OpenGLTexture.h" #include...
30.592287
226
0.724538
TheodorLindberg
67c576a4df33bb16dcc7f4549ae7584caea69319
14,812
cpp
C++
hphp/runtime/base/hhprof.cpp
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/runtime/base/hhprof.cpp
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/runtime/base/hhprof.cpp
elgenie/hiphop-php
23efadffa702cf296403a850e3500f91511258f7
[ "PHP-3.01", "Zend-2.0" ]
3
2018-01-23T20:44:59.000Z
2021-05-06T12:45:31.000Z
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
30.666667
80
0.627127
elgenie
67c743fd948e9146e9bc4bb632a937562f732bf6
440
cpp
C++
Code/TT1/ex1.cpp
huyhandes/huyhandes.github.io
6612b4fc67e6ee686833d28b28f89c4fa0c9917d
[ "MIT" ]
null
null
null
Code/TT1/ex1.cpp
huyhandes/huyhandes.github.io
6612b4fc67e6ee686833d28b28f89c4fa0c9917d
[ "MIT" ]
null
null
null
Code/TT1/ex1.cpp
huyhandes/huyhandes.github.io
6612b4fc67e6ee686833d28b28f89c4fa0c9917d
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; string add(string &a, string &b){ string c = a + b; return c; } int main(){ string a,b,c,d,*p1,*p2,*p; cout<<"Input string a: "; cin>>a; cout<<"\nInput string b: "; cin>>b; p1 = &a, p2= &b; c = add(a,b); d = *p1 + *p2; cout<<"\nThe ad...
20.952381
122
0.547727
huyhandes
67c7fd32b9d941c35ee1f04dccc215ec8c22c0aa
2,348
cpp
C++
limbo2/data/generator.cpp
csecutsc/utscode2
469367528cc5697e0c5c0ccee28420591335d899
[ "Unlicense" ]
4
2018-09-30T15:06:49.000Z
2020-12-09T06:50:25.000Z
limbo2/data/generator.cpp
csecutsc/utscode2
469367528cc5697e0c5c0ccee28420591335d899
[ "Unlicense" ]
null
null
null
limbo2/data/generator.cpp
csecutsc/utscode2
469367528cc5697e0c5c0ccee28420591335d899
[ "Unlicense" ]
1
2021-06-17T04:10:51.000Z
2021-06-17T04:10:51.000Z
#define DEBUG 0 #include <cassert> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iostream> #include <sstream> #include <vector> using namespace std; typedef pair<int, int> pii; // Random number in range [lo, hi] for nonnegative lo and hi. int rand(int lo, int h...
20.241379
98
0.496167
csecutsc
67cb9cc3f70dcb00099e3cc3057684e7d476310a
1,776
cpp
C++
src/sprite.cpp
baldinialberto/awiGame
88937014bcbacdac6766fad8696384fa84f91582
[ "Unlicense" ]
null
null
null
src/sprite.cpp
baldinialberto/awiGame
88937014bcbacdac6766fad8696384fa84f91582
[ "Unlicense" ]
null
null
null
src/sprite.cpp
baldinialberto/awiGame
88937014bcbacdac6766fad8696384fa84f91582
[ "Unlicense" ]
null
null
null
#include "../include/sprite.hpp" #include <SFML/Graphics/Rect.hpp> #include <SFML/Graphics/Texture.hpp> me::sprite::sprite(const char *filepath, sf::RenderWindow &parentWindow) : _id{0}, _png{filepath}, _win{parentWindow} { load_texture(filepath); _priority = 0; } me::sprite::~sprite() { } const me::spri...
18.309278
72
0.646396
baldinialberto
67d0a53de006fb7bcbaff2f981b4f9bcb6aef3b7
673
cpp
C++
sjx/calculator/Calc_main.cpp
shangjiaxuan/Simple-shell
6e6d15ef16ac5d651ba3f0db7bdbaf6556042243
[ "MIT" ]
7
2018-09-07T14:42:22.000Z
2020-02-17T15:43:55.000Z
sjx/calculator/Calc_main.cpp
shangjiaxuan/Simple-shell
6e6d15ef16ac5d651ba3f0db7bdbaf6556042243
[ "MIT" ]
3
2018-10-03T16:35:36.000Z
2018-12-20T17:12:47.000Z
sjx/calculator/Calc_main.cpp
shangjiaxuan/Simple-shell
6e6d15ef16ac5d651ba3f0db7bdbaf6556042243
[ "MIT" ]
3
2019-09-06T06:09:34.000Z
2019-09-06T15:07:21.000Z
#include "Calculator.h" using namespace std; #ifdef _WINDLL DLL_PORT #endif void calculator(istream& ist) { const string result{"= "}; cout << "Simple Calculator\n"; cout << "Version " << STRING(CALC_VERSION) << '\n' << endl; Calc::Token_stream ts; ts.init(ist); while(true) { try { init(ts); if(!on) { ...
17.25641
60
0.555721
shangjiaxuan
67d44c72613f1ecd9be4a3a140579ba8fd57fa22
5,206
cpp
C++
src/editor/panels/inspector_panel.cpp
Caravetta/Engine
6e2490a68727dc731b466335499f3204490acc5f
[ "MIT" ]
2
2018-05-21T02:12:50.000Z
2019-04-23T20:56:00.000Z
src/editor/panels/inspector_panel.cpp
Caravetta/Engine
6e2490a68727dc731b466335499f3204490acc5f
[ "MIT" ]
12
2018-05-30T13:15:25.000Z
2020-02-02T21:29:42.000Z
src/editor/panels/inspector_panel.cpp
Caravetta/Engine
6e2490a68727dc731b466335499f3204490acc5f
[ "MIT" ]
2
2018-06-14T19:03:29.000Z
2018-12-30T07:37:22.000Z
#include "inspector_panel.h" #include "gui.h" static bool _add_component; static char _ent_buffer[50]; int init_inspector_panel( void ) { _add_component = false; return 0; } void update_inspector_panel( Editor_Context& context ) { ImGui::SetNextWindowPos(ImVec2(context.panels.instector.x_position, co...
49.580952
148
0.515751
Caravetta
67d6a3ec5be09e0f3cdcf22f806514708da799b6
4,001
hpp
C++
rice/detail/object_call.hpp
jameskilton/rice
8f9093d758aa15ded2c112f6d3e3537cc968477d
[ "BSD-2-Clause" ]
11
2015-02-09T12:13:45.000Z
2019-11-25T01:14:31.000Z
rice/detail/object_call.hpp
Subv/rice
2086cffda7ff707571bb923ef9c7bd77ba11612a
[ "BSD-2-Clause" ]
null
null
null
rice/detail/object_call.hpp
Subv/rice
2086cffda7ff707571bb923ef9c7bd77ba11612a
[ "BSD-2-Clause" ]
2
2019-11-25T01:14:35.000Z
2021-09-29T04:57:36.000Z
// This is a generated file. DO NOT EDIT!! #ifdef DOXYGEN //! Call the Ruby method specified by 'id' on object 'obj'. /*! Pass in arguments (arg1, arg2, ...). The arguments will be converted to * Ruby objects with to_ruby<>. The return value will automatically be * converted to type Retval_T with from_ruby<>. ...
57.985507
208
0.733317
jameskilton
67d85ea901cc9a186c10db09fb6f117763d68c3f
20,690
cpp
C++
earth_enterprise/src/common/filebundle/cachedreadaccessor_unittest.cpp
seamusdunlop123/earthenterprise
a2651b1c00dd6230fd5d3d47502d228dbfca0f63
[ "Apache-2.0" ]
1
2019-09-10T04:02:45.000Z
2019-09-10T04:02:45.000Z
earth_enterprise/src/common/filebundle/cachedreadaccessor_unittest.cpp
seamusdunlop123/earthenterprise
a2651b1c00dd6230fd5d3d47502d228dbfca0f63
[ "Apache-2.0" ]
null
null
null
earth_enterprise/src/common/filebundle/cachedreadaccessor_unittest.cpp
seamusdunlop123/earthenterprise
a2651b1c00dd6230fd5d3d47502d228dbfca0f63
[ "Apache-2.0" ]
1
2020-06-21T09:36:13.000Z
2020-06-21T09:36:13.000Z
// Copyright 2017 Google 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 or agreed to in...
38.528864
87
0.665249
seamusdunlop123
67de8e7dd949ad4cfb9d639e3fdb5b8718941c14
8,142
cpp
C++
src/video_capture_params.cpp
thpryrchn/UltraGrid
f9fdd96ff73e05888d26c40aaaccdf4eb5fe7289
[ "BSD-3-Clause" ]
370
2016-10-05T15:19:00.000Z
2022-03-29T22:12:28.000Z
src/video_capture_params.cpp
thpryrchn/UltraGrid
f9fdd96ff73e05888d26c40aaaccdf4eb5fe7289
[ "BSD-3-Clause" ]
165
2016-11-21T13:01:36.000Z
2022-03-31T20:01:20.000Z
src/video_capture_params.cpp
thpryrchn/UltraGrid
f9fdd96ff73e05888d26c40aaaccdf4eb5fe7289
[ "BSD-3-Clause" ]
63
2016-10-13T12:07:45.000Z
2022-03-23T19:46:10.000Z
/** * @file video_capture_params.cpp * @author Martin Pulec <pulec@cesnet.cz> * * @ingroup vidcap */ /* * Copyright (c) 2013-2017 CESNET z.s.p.o. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted provided that the following conditi...
30.494382
106
0.622697
thpryrchn
67e411083e0559861de7389e44294c7b541b64ef
10,904
cpp
C++
src/csv.cpp
shanihsu/job-shop
57103b0dd38719cae622c1a1d8201f87dd6d4c8b
[ "Apache-2.0" ]
8
2021-06-14T10:29:39.000Z
2022-03-10T12:09:18.000Z
src/csv.cpp
shanihsu/job-shop
57103b0dd38719cae622c1a1d8201f87dd6d4c8b
[ "Apache-2.0" ]
null
null
null
src/csv.cpp
shanihsu/job-shop
57103b0dd38719cae622c1a1d8201f87dd6d4c8b
[ "Apache-2.0" ]
3
2021-09-01T08:40:54.000Z
2022-02-20T04:43:25.000Z
#include <private/csv.h> #include <sys/types.h> #include <clocale> #include <cstdint> #include <cstdio> #include <locale> #include <stdexcept> #include <private/common.h> csv_t::csv_t(csv_t &csv) { this->_file = NULL; this->_data = csv._data; this->_head = csv._head; this->_mode = csv._mode; this->...
23.859956
80
0.495139
shanihsu
67e558117edacf58e4df4e1db20dffc334a1ba6b
1,565
cc
C++
src/traffic/continuous/UniformRandomCTP.cc
codefan-byte/supersim
38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651
[ "Apache-2.0" ]
3
2020-02-23T02:08:18.000Z
2021-11-23T01:24:29.000Z
src/traffic/continuous/UniformRandomCTP.cc
codefan-byte/supersim
38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651
[ "Apache-2.0" ]
32
2020-02-26T00:02:29.000Z
2022-01-20T23:23:55.000Z
src/traffic/continuous/UniformRandomCTP.cc
codefan-byte/supersim
38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651
[ "Apache-2.0" ]
4
2020-01-28T21:45:16.000Z
2022-03-14T09:52:25.000Z
/* * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. You may obtain a copy of the License at * * http://www.apache.org/li...
37.261905
79
0.699042
codefan-byte
67e98c6af4b33aa0c2b5c86bb0eab1e38e29a679
24,037
cpp
C++
src/reyes/Debugger.cpp
cwbaker/reyes
76bd5ed7fde8be2c771536a73234e3a12b3cd6f7
[ "MIT" ]
9
2019-01-10T21:37:24.000Z
2021-05-26T23:59:05.000Z
src/reyes/Debugger.cpp
cwbaker/reyes
76bd5ed7fde8be2c771536a73234e3a12b3cd6f7
[ "MIT" ]
null
null
null
src/reyes/Debugger.cpp
cwbaker/reyes
76bd5ed7fde8be2c771536a73234e3a12b3cd6f7
[ "MIT" ]
1
2018-09-05T01:40:09.000Z
2018-09-05T01:40:09.000Z
#include "stdafx.hpp" #include "Debugger.hpp" #include "Symbol.hpp" #include "Value.hpp" #include "Grid.hpp" #include "SampleBuffer.hpp" #include "SyntaxNode.hpp" #include "Shader.hpp" #include <reyes/reyes_virtual_machine/Instruction.hpp> #include "ValueStorage.hpp" #include <math/vec3.ipp> #include <math...
35.50517
239
0.476474
cwbaker
67ebb9c42a309af1096021dd9d00e844fc74ffc0
3,371
hpp
C++
hpx/runtime/serialization/basic_archive.hpp
akemp/hpx
1ddf7282e322c30d82f2be044071aed14807ebe1
[ "BSL-1.0" ]
null
null
null
hpx/runtime/serialization/basic_archive.hpp
akemp/hpx
1ddf7282e322c30d82f2be044071aed14807ebe1
[ "BSL-1.0" ]
null
null
null
hpx/runtime/serialization/basic_archive.hpp
akemp/hpx
1ddf7282e322c30d82f2be044071aed14807ebe1
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2014 Thomas Heller // Copyright (c) 2015 Anton Bikineev // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef HPX_SERIALIZATION_BASIC_ARCHIVE_HPP #define HPX_SERIALIZATION_BASIC_ARCHIVE_HP...
24.97037
80
0.583506
akemp
67ec0ab752a9a27a0797d7898fc53771823a0462
3,035
hpp
C++
include/structures/cluster.hpp
eldariont/iGenVar
97aef1c9687ba9b051a57ae6cea0e0ad8ed9d0fa
[ "BSD-3-Clause" ]
null
null
null
include/structures/cluster.hpp
eldariont/iGenVar
97aef1c9687ba9b051a57ae6cea0e0ad8ed9d0fa
[ "BSD-3-Clause" ]
null
null
null
include/structures/cluster.hpp
eldariont/iGenVar
97aef1c9687ba9b051a57ae6cea0e0ad8ed9d0fa
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <vector> #include "structures/junction.hpp" // for class Junction class Cluster { private: std::vector<Junction> members{}; public: /*!\name Constructors, destructor and assignment * \{ */ constexpr Cluster() = default; //!< Defaulted. Cluster(Clus...
37.9375
120
0.653377
eldariont
67ee6b7a84df99578951236c0b95a6f5872e209a
11,124
cc
C++
test/ParserAction.cc
m-mizutani/argparse-cpp
585c0d89e8448c09f290048f80e442d512015d57
[ "BSD-2-Clause" ]
3
2017-07-09T20:23:29.000Z
2020-06-09T08:57:04.000Z
test/ParserAction.cc
m-mizutani/argparse-cpp
585c0d89e8448c09f290048f80e442d512015d57
[ "BSD-2-Clause" ]
2
2016-05-07T03:16:04.000Z
2018-04-10T20:52:36.000Z
test/ParserAction.cc
m-mizutani/argparse-cpp
585c0d89e8448c09f290048f80e442d512015d57
[ "BSD-2-Clause" ]
2
2018-04-10T20:49:05.000Z
2020-02-08T04:14:39.000Z
/* * Copyright 2016, Masayoshi Mizutani, mizutani@sfc.wide.ad.jp * 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 * n...
29.664
74
0.675117
m-mizutani
67ef6c4be8039cf96ef3efc519dfed55eded1c0f
726
cpp
C++
raytracer/src/Samplers/PureRandom.cpp
noahssarcastic/raytracer
672d9cd474a4ce1d5bf35f9612cf511eebc1113b
[ "MIT" ]
null
null
null
raytracer/src/Samplers/PureRandom.cpp
noahssarcastic/raytracer
672d9cd474a4ce1d5bf35f9612cf511eebc1113b
[ "MIT" ]
null
null
null
raytracer/src/Samplers/PureRandom.cpp
noahssarcastic/raytracer
672d9cd474a4ce1d5bf35f9612cf511eebc1113b
[ "MIT" ]
null
null
null
// // Created by ninig on 4/18/2020. // #include "PureRandom.h" PureRandom::PureRandom(): Sampler() {} PureRandom::PureRandom(const int num): Sampler(num) { generate_samples(); } PureRandom::PureRandom(const PureRandom& r): Sampler(r) { generate_samples(); } PureRandom::~PureRandom() {} PureRandom* PureR...
18.615385
67
0.637741
noahssarcastic
67f358e15984a16b2da1bc28253270c0977b62b5
1,458
hpp
C++
Test/PlayGround/Src/Struct2.hpp
draede/cx
f3ce4aec9b99095760481b1507e383975b2827e3
[ "MIT" ]
1
2016-08-28T18:29:17.000Z
2016-08-28T18:29:17.000Z
Test/PlayGround/Src/Struct2.hpp
draede/cx
f3ce4aec9b99095760481b1507e383975b2827e3
[ "MIT" ]
null
null
null
Test/PlayGround/Src/Struct2.hpp
draede/cx
f3ce4aec9b99095760481b1507e383975b2827e3
[ "MIT" ]
null
null
null
#pragma once #include "CX/Types.hpp" #include "CX/Status.hpp" #include "CX/CBuffers/Buffer.h" #include "CX/CBuffers/Environment.h" #include "CX/CBuffers/Types.h" #include "CX/CBuffers/Struct.h" #include "Struct1.hpp" namespace My { namespace Namespace { class Struct2 { public: Struct2(); ~Struct2(); static...
19.44
132
0.742112
draede
67f3f1208fb7cd8fb2d976af2f306e77ae8ac988
2,193
cpp
C++
ConvertTours/Set_Time.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ConvertTours/Set_Time.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ConvertTours/Set_Time.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Set_Time.cpp - set the trip time //********************************************************* #include "ConvertTours.hpp" #include "math.h" //--------------------------------------------------------- // Set_Time //-----------------------------------------...
22.377551
88
0.532148
kravitz
67f65129bee4ae2857d47d34f526336f9d3e0338
900
cpp
C++
Sem1/WDI/zielu c++/8.4.cpp
YuunOoO/Code
5e01c53ab54b4cd8e1694e5f343b012797805688
[ "MIT" ]
1
2021-06-03T14:54:30.000Z
2021-06-03T14:54:30.000Z
Sem1/WDI/zielu c++/8.4.cpp
YuunOoO/Code
5e01c53ab54b4cd8e1694e5f343b012797805688
[ "MIT" ]
null
null
null
Sem1/WDI/zielu c++/8.4.cpp
YuunOoO/Code
5e01c53ab54b4cd8e1694e5f343b012797805688
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main() { const int N = 1000; cout << "Blizniacze(1000) liczby przy uzucia algorytmu sita " << endl; bool tab[N]; int k; int t[N]; for(int i=0; i<N; i++) t[i]=0; //zerujemy i true'jemy tablice for(int i=3; i<1000;i++)...
24.324324
113
0.434444
YuunOoO
67f93543b8e9e9373fa99cd08fcdbea8df3484cb
3,952
cpp
C++
src/display.cpp
giovanniabbruzzo/M5_based_sensing-unit
493cb186bb52cc2ea59f696e74222366a26501d5
[ "MIT" ]
null
null
null
src/display.cpp
giovanniabbruzzo/M5_based_sensing-unit
493cb186bb52cc2ea59f696e74222366a26501d5
[ "MIT" ]
null
null
null
src/display.cpp
giovanniabbruzzo/M5_based_sensing-unit
493cb186bb52cc2ea59f696e74222366a26501d5
[ "MIT" ]
null
null
null
/** * @file display.cpp * @author Giovanni Abbruzzo * @brief * @version 0.1 * @date 2022-02-04 * * @copyright Copyright (c) 2022 * */ #include "display.h" #include "debug_utils.h" #include "alarm_hal.h" extern app_t app; TFT_eSprite disp(&M5.Lcd); /** * @brief Init display * */ void display_init(void...
26.346667
93
0.571103
giovanniabbruzzo
67ff68b69974c46f7676c7a34a8e7eeb90c2ffec
16,150
hpp
C++
bm/Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/external/catch/include/internal/catch_run_context.hpp
pavlem/TestBestM
ee61f6e4d58b759648d90f08a72da6620d83b5f9
[ "MIT" ]
15
2019-05-19T23:10:41.000Z
2021-08-06T14:02:09.000Z
bm/Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/external/catch/include/internal/catch_run_context.hpp
pavlem/TestBestM
ee61f6e4d58b759648d90f08a72da6620d83b5f9
[ "MIT" ]
3
2019-12-05T08:08:50.000Z
2020-05-14T20:31:39.000Z
bm/Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/external/catch/include/internal/catch_run_context.hpp
pavlem/TestBestM
ee61f6e4d58b759648d90f08a72da6620d83b5f9
[ "MIT" ]
9
2018-04-08T07:12:53.000Z
2022-01-04T20:50:39.000Z
/* * Created by Phil on 22/10/2010. * Copyright 2010 Two Blue Cubes Ltd. All rights reserved. * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef TWOBLUECUBES_CATCH_RUNNER_IMPL_HPP_INCLUDED #define...
38.452381
172
0.588483
pavlem
db008b1d97003f687cb479704fd4a63fa048167b
165
cpp
C++
system/ConsoleCreator.cpp
martonantoni/pixie
ab750d25d12f8420e68e1cb393a75b1f0a0c1056
[ "MIT" ]
null
null
null
system/ConsoleCreator.cpp
martonantoni/pixie
ab750d25d12f8420e68e1cb393a75b1f0a0c1056
[ "MIT" ]
null
null
null
system/ConsoleCreator.cpp
martonantoni/pixie
ab750d25d12f8420e68e1cb393a75b1f0a0c1056
[ "MIT" ]
null
null
null
#include "StdAfx.h" void CreateConsole() { ::AllocConsole(); freopen("CONOUT$", "w", stdout); freopen("CONOUT$", "w", stderr); freopen("CONIN$", "r", stdin); }
16.5
33
0.612121
martonantoni
db028780425eb904d52769b3144899d94f4e4ad1
1,685
cpp
C++
solved-uva/200.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2020-07-02T00:08:02.000Z
2020-07-02T00:08:02.000Z
solved-uva/200.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-uva/200.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
/** * @author : Maruf Tuhin * @School : CUET CSE 11 * @TOPCODER : the_redback * @CodeForces : the_redback * @UVA : the_redback * @link : http://www.fb.com/maruf.2hin */ #include<cstdio> #include<cstring> #include<cstdlib> #include<cctype> #include<cmath> #include<iostream...
17.736842
51
0.458754
Maruf-Tuhin
db0394b462d437331324a2167f40e6020f28c495
987
hpp
C++
AqooleEngine/src/main/cpp/boost/boost/math/tools/concepts.hpp
kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine-
72c8f34b6b6d507319069e681ff8c5008337b7c6
[ "Apache-2.0", "MIT" ]
null
null
null
AqooleEngine/src/main/cpp/boost/boost/math/tools/concepts.hpp
kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine-
72c8f34b6b6d507319069e681ff8c5008337b7c6
[ "Apache-2.0", "MIT" ]
null
null
null
AqooleEngine/src/main/cpp/boost/boost/math/tools/concepts.hpp
kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine-
72c8f34b6b6d507319069e681ff8c5008337b7c6
[ "Apache-2.0", "MIT" ]
null
null
null
// (C) Copyright Matt Borland 2022. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Macros that substitute for STL concepts or typename depending on availability of <con...
39.48
120
0.768997
kodai731
db07cd1ef45d0b26b4e087216c1bef3a6f58a833
2,879
cpp
C++
src/transactions/review_request/ReviewAssetCreationRequestOpFrame.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/transactions/review_request/ReviewAssetCreationRequestOpFrame.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/transactions/review_request/ReviewAssetCreationRequestOpFrame.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 Stellar Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include <transactions/manage_asset/ManageAssetHelper.h> #include "util/asio.h" #include "Revie...
39.438356
183
0.761028
RomanTkachenkoDistr
db15bd78c845a4b6a0e9e20e11c6d5f8f4f86280
2,858
cpp
C++
IndieLib/common/dependencies/SpriterParser/TimelineKey.cpp
DarthMike/indielib-crossplatform
473a589ae050b6d1c274cf58adf08731e63ae870
[ "Zlib" ]
29
2015-03-05T08:11:23.000Z
2020-11-11T08:27:22.000Z
IndieLib/common/dependencies/SpriterParser/TimelineKey.cpp
PowerOlive/indielib-crossplatform
473a589ae050b6d1c274cf58adf08731e63ae870
[ "Zlib" ]
1
2019-04-03T18:59:01.000Z
2019-04-14T11:46:45.000Z
IndieLib/common/dependencies/SpriterParser/TimelineKey.cpp
PowerOlive/indielib-crossplatform
473a589ae050b6d1c274cf58adf08731e63ae870
[ "Zlib" ]
9
2015-03-05T08:17:10.000Z
2021-08-09T07:15:37.000Z
/***************************************************************************************** * File: TimelineKey.cpp * Desc: Spriter entity's timeline's Key object *****************************************************************************************/ /*********************************** The zlib License *********...
40.253521
159
0.546886
DarthMike
db1a8539380ff42db81367902da5052cd713e276
10,716
cpp
C++
GUI/Tabs/HvHTabs/standinghvhtab.cpp
maikel233/X-HOOK-For-CS-GO
811bd67171ad48c44b9c5c05cc0fbb5fff4b3687
[ "MIT" ]
48
2018-11-10T06:39:17.000Z
2022-03-10T18:44:52.000Z
GUI/Tabs/HvHTabs/standinghvhtab.cpp
maikel233/X-HOOK-For-CS-GO
811bd67171ad48c44b9c5c05cc0fbb5fff4b3687
[ "MIT" ]
7
2018-01-04T15:10:41.000Z
2020-11-14T03:54:30.000Z
GUI/Tabs/HvHTabs/standinghvhtab.cpp
maikel233/X-HOOK-For-CS-GO
811bd67171ad48c44b9c5c05cc0fbb5fff4b3687
[ "MIT" ]
21
2018-11-23T23:13:09.000Z
2022-03-14T21:11:38.000Z
#include "../../../Settings.h" #include "../../../ImGui\imgui.h" #include "../../../ImGui\imgui_internal.h" #include "../../../Utils/Util_Items.h" #include "standinghvhtab.h" #include "../HvHTab.h" #include "../../../Utils/XorStr.hpp" #include "../../Menu.h" void Standing::RenderTab() { ImGui::Columns(2, NU...
34.127389
129
0.564856
maikel233
db20793b56448089ca89139bcd17357a891f3532
4,593
cpp
C++
ffl/source/pipeline/FFL_PipelineMessage.cpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
ffl/source/pipeline/FFL_PipelineMessage.cpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
ffl/source/pipeline/FFL_PipelineMessage.cpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
/* * This file is part of FFL project. * * The MIT License (MIT) * Copyright (C) 2017-2018 zhufeifei All rights reserved. * * FFL_PipelineMessage.cpp * Created by zhufeifei(34008081@qq.com) on 2017/12/23 * https://github.com/zhenfei2016/FFL-v2.git * * pipelineMessage消息 * */ #include <pipeline/FFL_PipelineMessag...
19.461864
124
0.612454
zhenfei2016
db20c479be1cecbec9455fac7bbacc5c9f704572
1,660
cpp
C++
105.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
105.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
105.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
/* struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; */ class Solution { public: TreeNode *buildTreeHelper(vector<int>& preorder, int pre_start, int pre_end, vector<int>& inorder, int in_start, int in_end) { // base case: the...
46.111111
147
0.672892
Alex-Amber
db24be37caffaa1fa479ef2bca301c81825da6fb
869
cpp
C++
practice/Question_paper.cpp
ANONYMOUS609/Competitive-Programming
d3753eeee24a660963f1d8911bf887c8f41f5677
[ "MIT" ]
2
2019-01-30T12:45:18.000Z
2021-05-06T19:02:51.000Z
practice/Question_paper.cpp
ANONYMOUS609/Competitive-Programming
d3753eeee24a660963f1d8911bf887c8f41f5677
[ "MIT" ]
null
null
null
practice/Question_paper.cpp
ANONYMOUS609/Competitive-Programming
d3753eeee24a660963f1d8911bf887c8f41f5677
[ "MIT" ]
3
2020-10-02T15:42:04.000Z
2022-03-27T15:14:16.000Z
// https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/practice-problems/algorithm/entrance-examination-01e4a1b9/description/ #include <bits/stdc++.h> using namespace std; bool hm[4000006]; int main() { int t; cin>>t; while(t--) { int n,a,b; cin>>n>>a>>b; // unordered_map<int,bool> hm;...
21.195122
149
0.524741
ANONYMOUS609
db2d274d501582751c8685cd0d9bb160a118a48a
3,486
cpp
C++
Testing/Interaction/albaAvatar2DTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Testing/Interaction/albaAvatar2DTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Testing/Interaction/albaAvatar2DTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaAvatar2DTest Authors: Stefano Perticoni Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; without even...
28.112903
78
0.699656
IOR-BIC
db3491720ca2870002ec973ea132362c1ced9bc3
11,849
cpp
C++
src/ScreenWithMenuElements.cpp
fpmuniz/stepmania
984dc8668f1fedacf553f279a828acdebffc5625
[ "MIT" ]
1,514
2015-01-02T17:00:28.000Z
2022-03-30T14:11:21.000Z
src/ScreenWithMenuElements.cpp
fpmuniz/stepmania
984dc8668f1fedacf553f279a828acdebffc5625
[ "MIT" ]
1,462
2015-01-01T10:53:29.000Z
2022-03-27T04:35:53.000Z
src/ScreenWithMenuElements.cpp
fpmuniz/stepmania
984dc8668f1fedacf553f279a828acdebffc5625
[ "MIT" ]
552
2015-01-02T05:34:41.000Z
2022-03-26T05:19:19.000Z
#include "global.h" #include "ScreenWithMenuElements.h" #include "MenuTimer.h" #include "RageLog.h" #include "ThemeManager.h" #include "GameState.h" #include "PrefsManager.h" #include "ScreenManager.h" #include "GameSoundManager.h" #include "MemoryCardDisplay.h" #include "InputEventPlus.h" #define TIMER_STEALTH THE...
27.052511
107
0.729935
fpmuniz
db393c48c16d1553921509248f0b8c11aaa499bb
29,309
cpp
C++
digitanks/src/digitanks/updates.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
5
2015-07-03T18:42:32.000Z
2017-08-25T10:28:12.000Z
digitanks/src/digitanks/updates.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
digitanks/src/digitanks/updates.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
#include "updates.h" #include <network/network.h> #include "digitanksgame.h" REGISTER_ENTITY(CUpdateGrid); NETVAR_TABLE_BEGIN(CUpdateGrid); NETVAR_TABLE_END(); SAVEDATA_TABLE_BEGIN(CUpdateGrid); SAVEDATA_DEFINE(CSaveData::DATA_COPYARRAY, CUpdateItem, m_aUpdates); SAVEDATA_DEFINE(CSaveData::DATA_COPYTYPE, int, m...
36.63625
283
0.760517
BSVino
db3b633466fab899918baec82e96004520f130c3
920
hpp
C++
include/bitwise.hpp
KVSablin/fixed_point
1292f9a7751947f64069d6ea6a80261a9b2a07c7
[ "MIT" ]
null
null
null
include/bitwise.hpp
KVSablin/fixed_point
1292f9a7751947f64069d6ea6a80261a9b2a07c7
[ "MIT" ]
null
null
null
include/bitwise.hpp
KVSablin/fixed_point
1292f9a7751947f64069d6ea6a80261a9b2a07c7
[ "MIT" ]
null
null
null
#pragma once #include "operation.hpp" // Template unary bitwise NOT template<size_t Fract, class T> constexpr fixed_point<Fract, T> operator~(const fixed_point<Fract, T>& Right) { fixed_point<Fract, T> Temp; Temp.value(~Right.value()); return Temp; } // Template binary bitwise AND template<class Lhs, class Rhs, cl...
32.857143
79
0.741304
KVSablin
db3be526ae6b28e7a1b0674ad4aca5f5986bc94c
8,928
cpp
C++
src/testutils.cpp
xaya/xayax
d3dc4f81a209c1f461217d0d5ea0640804b50100
[ "MIT" ]
null
null
null
src/testutils.cpp
xaya/xayax
d3dc4f81a209c1f461217d0d5ea0640804b50100
[ "MIT" ]
3
2021-08-28T07:59:19.000Z
2022-01-11T09:42:44.000Z
src/testutils.cpp
xaya/xayax
d3dc4f81a209c1f461217d0d5ea0640804b50100
[ "MIT" ]
2
2021-12-28T16:22:57.000Z
2022-03-16T13:59:50.000Z
// Copyright (C) 2021 The Xaya developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "testutils.hpp" #include <glog/logging.h> #include <gtest/gtest.h> #include <chrono> #include <sstream> namespace xayax { Jso...
21.722628
80
0.617159
xaya
db400f75b0b7f4e24195e11771cbae6fca87ca49
18,792
cpp
C++
Source/HeatCool/integrate_state_box_3d.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
6
2021-02-18T09:13:17.000Z
2022-03-22T21:27:46.000Z
Source/HeatCool/integrate_state_box_3d.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
1
2020-10-12T08:54:31.000Z
2020-10-12T08:54:31.000Z
Source/HeatCool/integrate_state_box_3d.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
3
2020-09-04T10:26:25.000Z
2022-03-14T23:51:51.000Z
#include <fstream> #include <iomanip> #include <AMReX_ParmParse.H> #include <AMReX_Geometry.H> #include <AMReX_MultiFab.H> #include <AMReX_Print.H> #include <AMReX_PlotFileUtil.H> #include <AMReX_BLFort.H> #include <Nyx.H> #include <Nyx_F.H> #include <cvode/cvode.h> /* prototypes for CVODE fcts., const...
37.887097
200
0.606748
Gosenca
db434e9f274c10e781c2b7ec8a27f6f48688350f
1,116
cpp
C++
UVaOnlineJudge/Problem_Set_Volumes_(100...1999)/Volume1(100-199)/156/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
3
2015-10-21T18:56:43.000Z
2017-06-06T10:44:22.000Z
UVaOnlineJudge/Problem_Set_Volumes_(100...1999)/Volume1(100-199)/156/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
null
null
null
UVaOnlineJudge/Problem_Set_Volumes_(100...1999)/Volume1(100-199)/156/code.cpp
luiscbr92/algorithmic-challenges
bc35729e54e4284e9ade1aa61b51a1c2d72aa62c
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <string> using namespace std; int main(){ ios_base::sync_with_stdio (false); string line, current_a, current_b; vector<string> words; int i, j, k; bool del; while(cin >> line && line != "#") words.push_back(line); i = 0; while(i < wo...
24.8
94
0.491039
luiscbr92
b9ce107c8a6ffc0dadcab6c3851080ae68030bde
3,284
cpp
C++
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 10 (Singly Linked List)/list(1).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 10 (Singly Linked List)/list(1).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 10 (Singly Linked List)/list(1).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
#include "list.h" template<class T> SinglyLinkedList<T>::SinglyLinkedList() { cout << "In SinglyLinkedList constructor" << endl; head = curPtr = NULL; length = 0; } template<class T> SinglyLinkedList<T>::~SinglyLinkedList() { cout << "In SinglyLinkedList destructor" << endl; while(!isEmpty()) { ...
21.605263
63
0.567905
diptu
b9ce524440085d4c6744ea6568c4564899af1367
2,319
cpp
C++
study/cyan/code-formula2014-C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
study/cyan/code-formula2014-C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
study/cyan/code-formula2014-C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#ifdef _DEBUG //#include "../../../library/src/debug_template.hpp" //#define DMP(...) dump(#__VA_ARGS__, __VA_ARGS__) //#else //#define DMP(...) ((void)0) //#endif // //#include <cassert> //#include <cstdio> //#include <cmath> //#include <iostream> //#include <iomanip> //#include <vector> //#include <set> //#include ...
19.008197
89
0.48771
rajyan
b9d1e6b746270728c3a826d4612f5f1bb0a5a064
971
cpp
C++
ExternalTests/MaxQ/Spice/USpice/conics.cpp
gamergenic/Spaceflight-Toolkit-For-Unreal-Engine-5
11d81127dd296595bca30cb1565ff3b813210230
[ "MIT" ]
6
2022-01-21T19:58:08.000Z
2022-03-28T12:32:24.000Z
ExternalTests/MaxQ/Spice/USpice/conics.cpp
gamergenic/Spaceflight-Toolkit-For-Unreal-Engine-5
11d81127dd296595bca30cb1565ff3b813210230
[ "MIT" ]
null
null
null
ExternalTests/MaxQ/Spice/USpice/conics.cpp
gamergenic/Spaceflight-Toolkit-For-Unreal-Engine-5
11d81127dd296595bca30cb1565ff3b813210230
[ "MIT" ]
4
2022-02-12T10:01:40.000Z
2022-03-28T14:28:52.000Z
// Copyright 2021 Gamergenic. See full copyright notice in Spice.h. // Author: chucknoble@gamergenic.com | https://www.gamergenic.com // // Project page: https://www.gamergenic.com/project/maxq/ // Documentation: https://maxq.gamergenic.com/ // GitHub: https://github.com/Gamergenic1/MaxQ/ #include "pch.h...
31.322581
68
0.714727
gamergenic
b9d4e235360637f123567e3fe7c352a351ed0bea
1,035
cc
C++
Plugins/MachOStaticPatcher/hookzz_static/ExecMemory/code-patch-tool-static.cc
calssion/HookZz
793b9c3bd11d7666eb8ca186e2ddea7072f92f73
[ "Apache-2.0" ]
4
2020-01-06T07:12:22.000Z
2022-03-30T03:48:34.000Z
Plugins/MachOStaticPatcher/hookzz_static/ExecMemory/code-patch-tool-static.cc
calssion/HookZz
793b9c3bd11d7666eb8ca186e2ddea7072f92f73
[ "Apache-2.0" ]
null
null
null
Plugins/MachOStaticPatcher/hookzz_static/ExecMemory/code-patch-tool-static.cc
calssion/HookZz
793b9c3bd11d7666eb8ca186e2ddea7072f92f73
[ "Apache-2.0" ]
1
2022-01-28T00:46:23.000Z
2022-01-28T00:46:23.000Z
#include "PlatformInterface/ExecMemory/CodePatchTool.h" #include "PlatformInterface/Common/Platform.h" #include "macros.h" #include <string.h> #include <stdlib.h> #if 0 #include <sys/mman.h> #endif #include "MachOManipulator/MachOManipulator.h" extern MachoManipulator *mm; extern void *TranslateVa2Rt(void *va, voi...
27.236842
109
0.74686
calssion
b9da38e1ec089e9b8b49ef657ff865c7d8d0ee3d
23,391
cpp
C++
Source/source/gameplay.cpp
ElatedEatrs/Pikifen
1e834d5241fc631f8dfc519c17358051e867164f
[ "MIT" ]
null
null
null
Source/source/gameplay.cpp
ElatedEatrs/Pikifen
1e834d5241fc631f8dfc519c17358051e867164f
[ "MIT" ]
null
null
null
Source/source/gameplay.cpp
ElatedEatrs/Pikifen
1e834d5241fc631f8dfc519c17358051e867164f
[ "MIT" ]
null
null
null
/* * Copyright (c) Andre 'Espyo' Silva 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Gameplay state class and * gameplay state-related func...
31.105053
100
0.607627
ElatedEatrs
b9da5a598f2f8980eeb3594ca139f32c8dd1a896
338
hpp
C++
src/lib/include/libKriging/utils/utils.hpp
MASCOTNUM/libKriging
634ccdc0e5fa0189c9128c926283f56cc83da554
[ "Apache-2.0" ]
8
2019-06-20T13:34:17.000Z
2020-04-28T07:23:16.000Z
src/lib/include/libKriging/utils/utils.hpp
MASCOTNUM/libKriging
634ccdc0e5fa0189c9128c926283f56cc83da554
[ "Apache-2.0" ]
27
2019-07-02T17:52:59.000Z
2020-05-06T15:56:48.000Z
src/lib/include/libKriging/utils/utils.hpp
MASCOTNUM/libKriging
634ccdc0e5fa0189c9128c926283f56cc83da554
[ "Apache-2.0" ]
5
2019-06-20T16:41:50.000Z
2020-02-26T08:22:32.000Z
#ifndef LIBKRIGING_UTILS_HPP #define LIBKRIGING_UTILS_HPP #include <ostringstream> #include <string> #include <utility> template <typename... Args> std::string asString(Args&&... args) { std::ostringstream oss; (void)(int[]){0, (void(oss << std::forward<Args>(args)), 0)...}; return oss.str(); }; #endif // LIB...
21.125
66
0.692308
MASCOTNUM
b9da9739b364cebddbee610a56d2e80bf83e406f
12,128
cpp
C++
util/base_type.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
util/base_type.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
util/base_type.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
/*******************************************************************\ Module: Base Type Computation Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include <assert.h> #include "std_types.h" #include "base_type.h" #include "union_find.h" void ba...
24.207585
77
0.633823
holao09
b9dc18ef74c9f159ab9ea1bcf53100c015ab6319
304
cpp
C++
LeetCode/0492.ConstructtheRectangle/ConstructtheRectangle.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
1
2017-12-24T07:51:07.000Z
2017-12-24T07:51:07.000Z
LeetCode/0492.ConstructtheRectangle/ConstructtheRectangle.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
LeetCode/0492.ConstructtheRectangle/ConstructtheRectangle.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
class Solution { public: vector<int> constructRectangle(int area) { vector<int> results; int sqrt_area = sqrt(area); while(area%sqrt_area) --sqrt_area; results.push_back(area/sqrt_area); results.push_back(sqrt_area); return results; } };
27.636364
47
0.601974
luspock
b9dc441f78c4a89a5977b69bf11d862c88109916
2,714
hpp
C++
include/motion_planning/RRTX_node.hpp
test-bai-cpu/optimized_motion_planner
fe6c62b285a8449b1c26ca2e8b4fa7fe57aa5f96
[ "MIT" ]
1
2021-11-17T00:46:59.000Z
2021-11-17T00:46:59.000Z
include/motion_planning/RRTX_node.hpp
test-bai-cpu/optimized_motion_planner
fe6c62b285a8449b1c26ca2e8b4fa7fe57aa5f96
[ "MIT" ]
null
null
null
include/motion_planning/RRTX_node.hpp
test-bai-cpu/optimized_motion_planner
fe6c62b285a8449b1c26ca2e8b4fa7fe57aa5f96
[ "MIT" ]
1
2021-09-24T07:58:59.000Z
2021-09-24T07:58:59.000Z
#pragma once #include <ros/ros.h> #include <Eigen/Dense> #include <iostream> #include <memory> #include <vector> #include <limits> #include <ompl/datastructures/BinaryHeap.h> namespace optimized_motion_planner { class RRTXNode { public: RRTXNode() = default; RRTXNode(const Eigen::Vector3d& state, double time_from...
22.616667
92
0.689757
test-bai-cpu
b9dcd7817591b5b4ff1fd97f8241f2ac1b7ddea7
128
cpp
C++
src/Texture.cpp
Lackym/demo-model-viewer
de9e2cf13e86c772102a164efbbd903951a0fadd
[ "MIT" ]
3
2021-03-09T11:52:31.000Z
2021-12-22T11:26:32.000Z
src/Texture.cpp
kmarkindev/demo-model-viewer
de9e2cf13e86c772102a164efbbd903951a0fadd
[ "MIT" ]
13
2021-02-15T12:30:25.000Z
2021-03-25T08:54:42.000Z
src/Texture.cpp
kmarkindev/demo-model-viewer
de9e2cf13e86c772102a164efbbd903951a0fadd
[ "MIT" ]
null
null
null
#include "Texture.h" void Texture::Unload() { if(id != 0) { glDeleteTextures(1, &id); id = 0; } }
11.636364
33
0.460938
Lackym
b9df81341bb6a3b6db8af5167e2e2ea82918d9ad
200
hpp
C++
base/std_output_stream.hpp
caitisgreat/jkgfxmod
f861441a751e438e6bb1b930fb611e728bd44b61
[ "MIT" ]
57
2019-03-11T20:29:42.000Z
2022-03-11T19:26:01.000Z
base/std_output_stream.hpp
caitisgreat/jkgfxmod
f861441a751e438e6bb1b930fb611e728bd44b61
[ "MIT" ]
71
2019-03-31T14:39:58.000Z
2022-02-12T05:25:39.000Z
base/std_output_stream.hpp
caitisgreat/jkgfxmod
f861441a751e438e6bb1b930fb611e728bd44b61
[ "MIT" ]
10
2019-05-14T21:02:57.000Z
2021-06-06T23:19:16.000Z
#pragma once #include "output_stream.hpp" namespace jkgm { extern output_stream &std_output; extern output_stream &std_error; void refresh_std_output(); void refresh_std_error(); }
16.666667
37
0.73
caitisgreat
b9e109bd5391ff620673bfaabb93d6b20c6ad544
5,380
cpp
C++
PowerballReader.cpp
SD-MotoRider/QTLottoTracker
4f89da612fc557b4bbb004ef7fafaf422a0a1eba
[ "MIT" ]
null
null
null
PowerballReader.cpp
SD-MotoRider/QTLottoTracker
4f89da612fc557b4bbb004ef7fafaf422a0a1eba
[ "MIT" ]
null
null
null
PowerballReader.cpp
SD-MotoRider/QTLottoTracker
4f89da612fc557b4bbb004ef7fafaf422a0a1eba
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2018 Michael Simpson // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, mod...
26.9
141
0.724164
SD-MotoRider
b9e49d73ed07e472de7280ce02b660b62d487925
3,179
cpp
C++
src/opendnp3/APL/Log.cpp
meaw/dnp3
662db361a96ef39c2b8e43da69f6f7994eb6446e
[ "ECL-2.0", "Apache-2.0" ]
51
2015-03-14T20:53:49.000Z
2022-01-03T17:00:46.000Z
src/opendnp3/APL/Log.cpp
meaw/dnp3
662db361a96ef39c2b8e43da69f6f7994eb6446e
[ "ECL-2.0", "Apache-2.0" ]
1
2017-08-15T15:04:06.000Z
2017-08-15T15:04:06.000Z
src/opendnp3/APL/Log.cpp
meaw/dnp3
662db361a96ef39c2b8e43da69f6f7994eb6446e
[ "ECL-2.0", "Apache-2.0" ]
33
2015-06-16T14:16:19.000Z
2022-03-19T23:41:41.000Z
// // Licensed to Green Energy Corp (www.greenenergycorp.com) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Green Enery Corp licenses this file // to you under the Apache License, Version 2.0 (the // "...
25.845528
96
0.716263
meaw
b9f2b9031b63e487e823b8aaa152c8fa8a97f6be
799
cpp
C++
qt/QTest/UnitTest_v3/atests.cpp
ArboreusSystems/arboreus_examples
17d39e18f4b2511c19f97d4e6c07ec9d7087fae8
[ "BSD-3-Clause" ]
17
2019-02-19T21:29:22.000Z
2022-01-29T11:03:45.000Z
qt/QTest/UnitTest_v3/atests.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
null
null
null
qt/QTest/UnitTest_v3/atests.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
9
2021-02-21T05:32:23.000Z
2022-02-26T07:51:52.000Z
// ---------------------------------------------------------- /*! \class ATests \title \brief Template file classes/cpp/file.cpp \list \li @notice Template file classes/file.h \li @copyright Arboreus (http://arboreus.systems) \li @author Alexandr Kirilov (http://alexandr.kirilov.me) \li @created 08/09/2020 at ...
14.267857
61
0.526909
ArboreusSystems
b9f3243ff9861c182a491c633e4fdfbd3ab2fcf2
2,814
cpp
C++
src/pass/analyze-usage/call.cpp
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
1
2017-05-02T14:13:51.000Z
2017-05-02T14:13:51.000Z
src/pass/analyze-usage/call.cpp
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
null
null
null
src/pass/analyze-usage/call.cpp
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
null
null
null
// Copyright (c) 2014-2015 Ryan Leckey, All Rights Reserved. // Distributed under the MIT License // See accompanying file LICENSE #include "arrow/pass/analyze-usage.hpp" #include "arrow/pass/resolve.hpp" #include "arrow/match.hpp" namespace arrow { namespace pass { void AnalyzeUsage::do_realize_function( ast::No...
29.010309
75
0.646411
arrow-lang
b9f3cebc812471fa85f1a9b55bee66d612a935f3
6,618
cpp
C++
src/InitializerChecker.cpp
nonelse/nullarihyon
ff23cc1f0fd98e09197f3ca228871a1f12c49182
[ "MIT" ]
null
null
null
src/InitializerChecker.cpp
nonelse/nullarihyon
ff23cc1f0fd98e09197f3ca228871a1f12c49182
[ "MIT" ]
null
null
null
src/InitializerChecker.cpp
nonelse/nullarihyon
ff23cc1f0fd98e09197f3ca228871a1f12c49182
[ "MIT" ]
null
null
null
#include "InitializerChecker.h" using namespace clang; using namespace std; weak_ptr<IvarInfo> findIvarInfo(set<shared_ptr<IvarInfo>> &set, const ObjCIvarDecl *ivarDecl) { weak_ptr<IvarInfo> result; if (ivarDecl) { for (auto &info : set) { if (info->getIvarDecl() == ivarDecl) { ...
33.938462
147
0.598066
nonelse
b9fa15e4dafdfe5be97f78dd51b30fe19b69a72b
5,067
cpp
C++
android-28/android/hardware/camera2/CameraDevice.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/hardware/camera2/CameraDevice.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-28/android/hardware/camera2/CameraDevice.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./CameraCaptureSession_StateCallback.hpp" #include "./CaptureRequest_Builder.hpp" #include "./TotalCaptureResult.hpp" #include "./params/InputConfiguration.hpp" #include "./params/SessionConfiguration.hpp" #include "../../os/Handler.hpp" #include "../../../JString.hpp" #include "./CameraDevice.hpp" namespace...
31.08589
246
0.756463
YJBeetle
6a01d2385fc6b7af559f420082a35fa7f5e8b7d7
511
cpp
C++
2021/day19/tests/TestClass.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
3
2021-07-01T14:31:06.000Z
2022-03-29T20:41:21.000Z
2021/day19/tests/TestClass.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
2021/day19/tests/TestClass.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
#include "TestClass.h" #include "../test.h" namespace aoc2021_day19 { TEST_F(Tests2021Day19, part_1_test) { ASSERT_EQ(part_1("../2021/day19/input_test.in"), 0); } TEST_F(Tests2021Day19, part_1_real_test) { ASSERT_EQ(part_1("../2021/day19/input.in"), 0); } TEST_F(Tests2021Day19, pa...
25.55
60
0.632094
alexandru-andronache
6a04e2c82a9afd3dab095d20ee724eed8281ceff
2,579
cpp
C++
Jurassic Pintball/ModuleFonts.cpp
polcamacho/Pintball-Game
f70ed30437c544ca78ff3cc50bffbb588f638fe3
[ "MIT" ]
null
null
null
Jurassic Pintball/ModuleFonts.cpp
polcamacho/Pintball-Game
f70ed30437c544ca78ff3cc50bffbb588f638fe3
[ "MIT" ]
null
null
null
Jurassic Pintball/ModuleFonts.cpp
polcamacho/Pintball-Game
f70ed30437c544ca78ff3cc50bffbb588f638fe3
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleTextures.h" #include "ModuleRender.h" #include "ModuleFonts.h" #include<string.h> // Constructor ModuleFonts::ModuleFonts(Application* app, bool start_enabled) : Module(app, start_enabled) {} // Destructor ModuleFonts::~ModuleFonts() {} // Load new textur...
25.038835
97
0.665762
polcamacho
6a08e7125b325873becbda163f226ae38d440887
348
cpp
C++
src/sink.cpp
ihor-drachuk/alog
d2601e8523612f5e6890dad5a7fbcc5424bd693b
[ "MIT" ]
null
null
null
src/sink.cpp
ihor-drachuk/alog
d2601e8523612f5e6890dad5a7fbcc5424bd693b
[ "MIT" ]
null
null
null
src/sink.cpp
ihor-drachuk/alog
d2601e8523612f5e6890dad5a7fbcc5424bd693b
[ "MIT" ]
null
null
null
#include <alog/sink.h> #include <alog/tools.h> #include <stdexcept> namespace ALog { namespace Sinks { void Chain::write(const Buffer& buffer, const Record& record) { for (auto& x : items()) x->write(buffer, record); } void Chain::flush() { for (auto& x : items()) x->flush(); } } // namespac...
15.818182
61
0.617816
ihor-drachuk
6a0d5e0af860ce45ee8bc8882bafa720c4af1cbb
10,775
hpp
C++
Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.hpp
azhirnov/DiligentCore
28ad08478938d8c910195eff169513cd4eef9e3e
[ "Apache-2.0" ]
null
null
null
Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.hpp
azhirnov/DiligentCore
28ad08478938d8c910195eff169513cd4eef9e3e
[ "Apache-2.0" ]
null
null
null
Graphics/GraphicsEngineD3D12/include/ShaderVariableD3D12.hpp
azhirnov/DiligentCore
28ad08478938d8c910195eff169513cd4eef9e3e
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2021 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
47.46696
144
0.620696
azhirnov
6a0e560a52da98cf9af819501a6e4845dfd53206
7,066
hpp
C++
include/boost/http_proto/fields_view_base.hpp
alandefreitas/http_proto
dc64cbdd44048a2c06671282b736f7edacb39a42
[ "BSL-1.0" ]
null
null
null
include/boost/http_proto/fields_view_base.hpp
alandefreitas/http_proto
dc64cbdd44048a2c06671282b736f7edacb39a42
[ "BSL-1.0" ]
null
null
null
include/boost/http_proto/fields_view_base.hpp
alandefreitas/http_proto
dc64cbdd44048a2c06671282b736f7edacb39a42
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2021 Vinnie Falco (vinnie dot falco at gmail dot 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) // // Official repository: https://github.com/CPPAlliance/http_proto // #ifndef BOOST_HTT...
22.503185
88
0.596519
alandefreitas
6a11c13804da201df01ac41b8a9505e83ab0da2d
534
hpp
C++
_engine/code/include/global/component/program_instances_communicator_client.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/program_instances_communicator_client.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/program_instances_communicator_client.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
#ifndef ENGINE_GLOBAL_COMPONENT_PROGRAM_INSTANCES_COMMUNICATOR_CLIENT_HPP #define ENGINE_GLOBAL_COMPONENT_PROGRAM_INSTANCES_COMMUNICATOR_CLIENT_HPP #pragma once #include "global/core/app.hpp" namespace engine { class program_instances_communicator_client_t { public: virtual ~program_instances_c...
19.777778
75
0.794007
Shelim
6a1613a056f61eef98ceba798e8db427150b17f0
1,312
cpp
C++
src/core/csr/facets/reads_summary.cpp
gunjanbaid/octopus
b19e825d10c16bc14565338aadf4aee63c8fe816
[ "MIT" ]
null
null
null
src/core/csr/facets/reads_summary.cpp
gunjanbaid/octopus
b19e825d10c16bc14565338aadf4aee63c8fe816
[ "MIT" ]
null
null
null
src/core/csr/facets/reads_summary.cpp
gunjanbaid/octopus
b19e825d10c16bc14565338aadf4aee63c8fe816
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2019 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #include "reads_summary.hpp" #include <utility> #include "utils/read_duplicates.hpp" namespace octopus { namespace csr { const std::string ReadsSummary::name_ {"ReadsSummary"}; ...
29.155556
123
0.684451
gunjanbaid
6a1bb4802630781f9edae00303a3492fb0a9efad
1,604
cpp
C++
mp/src/old/dlls/hl2_dll/item_longjump.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/old/dlls/hl2_dll/item_longjump.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/old/dlls/hl2_dll/item_longjump.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
/*** * * Copyright (c) 1999, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object co...
23.246377
110
0.669576
MaartenS11
6a20ee926aecf2c4b2858ecea789423ff42f9583
354
cpp
C++
Rocket/Render/Common/Render/RenderManager.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
Rocket/Render/Common/Render/RenderManager.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
Rocket/Render/Common/Render/RenderManager.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
#include "Render/RenderManager.h" namespace Rocket { int32_t RenderManager::Initialize() { return 0; } void RenderManager::Finalize() { } void RenderManager::Tick(TimeStep step) { } void RenderManager::InstallRenderDriver(RenderDriverPtr&& driver) { render_driver_.emplace...
19.666667
71
0.658192
rocketman123456
6a2159de121a7be9e52861f19efe07575b4bd268
372
hpp
C++
base/src/GameSparksRT/IRTCommand.hpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
7
2019-07-11T02:05:32.000Z
2020-11-01T18:57:51.000Z
base/src/GameSparksRT/IRTCommand.hpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
3
2019-02-26T15:59:03.000Z
2019-06-04T10:46:07.000Z
base/src/GameSparksRT/IRTCommand.hpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
6
2019-03-18T19:14:04.000Z
2019-06-25T11:55:44.000Z
#ifndef _GAMESPARKSRT_IRTCOMMAND_HPP_ #define _GAMESPARKSRT_IRTCOMMAND_HPP_ namespace GameSparks { namespace RT { class IRTCommand { public: virtual void Execute () =0; virtual ~IRTCommand() {} virtual class AbstractResult* asAbstractResult() { return nullptr; } private: }; }} /* namespace GameSpark...
19.578947
71
0.736559
djdron
6a22458a852983e3f5b960900eeb9757038f9f0d
648
hpp
C++
android-31/java/net/Proxy_Type.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/net/Proxy_Type.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/net/Proxy_Type.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../lang/Enum.hpp" class JArray; class JString; namespace java::net { class Proxy_Type : public java::lang::Enum { public: // Fields static java::net::Proxy_Type DIRECT(); static java::net::Proxy_Type HTTP(); static java::net::Proxy_Type SOCKS(); // QJniObject forward template...
21.6
160
0.679012
YJBeetle
6a2793f591da3b89dbf5fa700ea1d246a76de491
660
cpp
C++
dllmain.cpp
ReeceJones/csgomeme
5c9ffc9372232912e98080359fbca47350fa493f
[ "Unlicense" ]
null
null
null
dllmain.cpp
ReeceJones/csgomeme
5c9ffc9372232912e98080359fbca47350fa493f
[ "Unlicense" ]
null
null
null
dllmain.cpp
ReeceJones/csgomeme
5c9ffc9372232912e98080359fbca47350fa493f
[ "Unlicense" ]
null
null
null
// dllmain.cpp : Defines the entry point for the DLL application. #include <process.h> #include <iostream> #include "Setup.h" #include "Config.h" #include "Hooks.h" #pragma comment( lib, "wininet" ) void StartThread(LPVOID lpArgs) { Setup->Initialize(); } BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_...
22.758621
85
0.754545
ReeceJones
6a29b0acce95b14060942b6644974f086e19e478
619
cpp
C++
cpp/godot-cpp/src/gen/AnimationNodeTimeSeek.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/AnimationNodeTimeSeek.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/AnimationNodeTimeSeek.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "AnimationNodeTimeSeek.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" namespace godot { AnimationNodeTimeSeek::___method_bindings AnimationNodeTimeSeek::___mb = {}; void AnimationNodeTimeSeek::___init_method...
23.807692
223
0.799677
GDNative-Gradle
6a2dd311d16d62bfc7d48995343c2a6d080a54c6
552
cc
C++
test/task_test.cc
awong-dev/espcxx
9a80ec04a9bf9bbf75806d1f8c14303101f23a84
[ "BSD-3-Clause" ]
1
2020-11-09T01:00:07.000Z
2020-11-09T01:00:07.000Z
test/task_test.cc
awong-dev/espcxx
9a80ec04a9bf9bbf75806d1f8c14303101f23a84
[ "BSD-3-Clause" ]
null
null
null
test/task_test.cc
awong-dev/espcxx
9a80ec04a9bf9bbf75806d1f8c14303101f23a84
[ "BSD-3-Clause" ]
1
2020-11-09T01:00:12.000Z
2020-11-09T01:00:12.000Z
#include "esp_cxx/task.h" #include <atomic> #include <cstdio> #include "gtest/gtest.h" #include "gmock/gmock.h" using namespace esp_cxx; struct TaskData { std::atomic_bool flag{false}; TaskRef handle_ = Task::CreateForCurrent(); }; void TaskMain(void* param) { TaskData *data = static_cast<TaskData*>(param); ...
17.806452
49
0.668478
awong-dev
6a2e3f1d17e303aa8b5cb5091a51e06592795a63
674
hpp
C++
Dot++/lexer/TokenType.hpp
SenorAgosto/Dot-pp
21491dc17deb8c287bda93d27bb3d9c58844f3db
[ "BSD-4-Clause" ]
null
null
null
Dot++/lexer/TokenType.hpp
SenorAgosto/Dot-pp
21491dc17deb8c287bda93d27bb3d9c58844f3db
[ "BSD-4-Clause" ]
1
2017-01-15T04:49:51.000Z
2017-01-15T04:53:08.000Z
Dot++/lexer/TokenType.hpp
SenorAgosto/Dot-pp
21491dc17deb8c287bda93d27bb3d9c58844f3db
[ "BSD-4-Clause" ]
null
null
null
#pragma once #include <cstdint> #include <ostream> namespace dot_pp { namespace lexer { enum class TokenType : uint8_t { string, string_literal, keyword, // graph | digraph l_paren, // { r_paren, // } e...
23.241379
69
0.400593
SenorAgosto
6a303529c9ac5c177f448814c2903d3c68f3f56f
738
hpp
C++
include/Conveyor/FuncOperator.hpp
Megaxela/Conveyor
88c44b946ee4de94093b232c222074b3e14dab7e
[ "MIT" ]
2
2020-11-06T14:41:32.000Z
2020-11-06T15:17:05.000Z
include/Conveyor/FuncOperator.hpp
Megaxela/Conveyor
88c44b946ee4de94093b232c222074b3e14dab7e
[ "MIT" ]
null
null
null
include/Conveyor/FuncOperator.hpp
Megaxela/Conveyor
88c44b946ee4de94093b232c222074b3e14dab7e
[ "MIT" ]
null
null
null
// // Created by megaxela on 12/1/17. // #pragma once #include "Operator.hpp" #include <functional> #include <any> namespace Conveyor { class FuncOperator; using FuncOperatorPtr = std::shared_ptr<FuncOperator>; class FuncOperator : public Operator { public: using Function = std::functio...
18.45
70
0.578591
Megaxela
6a30837901325880df36dbcddbb0a8d35676f486
3,990
hpp
C++
src/bas_savegame.hpp
libtcod/pyromancer
ae4d4ad36246c0273fdc6e871e1f1bc72605dee4
[ "MIT" ]
null
null
null
src/bas_savegame.hpp
libtcod/pyromancer
ae4d4ad36246c0273fdc6e871e1f1bc72605dee4
[ "MIT" ]
null
null
null
src/bas_savegame.hpp
libtcod/pyromancer
ae4d4ad36246c0273fdc6e871e1f1bc72605dee4
[ "MIT" ]
null
null
null
/* * Copyright (c) 2009 Jice * 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 a...
35.945946
82
0.751128
libtcod
6a321eeea806548c9887175ad951cfa9dea5ab57
5,866
cpp
C++
Plugins/PLVolumeRenderer/src/ShaderCompositionID.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Plugins/PLVolumeRenderer/src/ShaderCompositionID.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Plugins/PLVolumeRenderer/src/ShaderCompositionID.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: ShaderCompositionID.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
36.209877
198
0.60058
ktotheoz
6a33a67ecf2eca0a9c4061eb3b90b30b475406ef
7,460
hxx
C++
include/graphics/nxwidgets/cprogressbar.hxx
normanr/incubator-nuttx-apps
b5128c401f5c65f44298f46c3887d6bb57bfb90b
[ "Apache-2.0" ]
132
2019-12-17T23:45:42.000Z
2022-03-30T11:58:30.000Z
include/graphics/nxwidgets/cprogressbar.hxx
normanr/incubator-nuttx-apps
b5128c401f5c65f44298f46c3887d6bb57bfb90b
[ "Apache-2.0" ]
443
2020-01-01T03:06:24.000Z
2022-03-31T08:57:35.000Z
include/graphics/nxwidgets/cprogressbar.hxx
normanr/incubator-nuttx-apps
b5128c401f5c65f44298f46c3887d6bb57bfb90b
[ "Apache-2.0" ]
232
2019-12-21T10:18:12.000Z
2022-03-30T07:42:13.000Z
/**************************************************************************** * apps/include/graphics/nxwidgets/cprogressbar.hxx * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information rega...
31.213389
85
0.612064
normanr