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
90b7cf73014c89386e1f2b3e5c621b7c1a71aa97
1,521
hpp
C++
stan/math/prim/fun/cholesky_factor_free.hpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-06-14T14:33:37.000Z
2020-06-14T14:33:37.000Z
stan/math/prim/fun/cholesky_factor_free.hpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/fun/cholesky_factor_free.hpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-05-10T12:55:07.000Z
2020-05-10T12:55:07.000Z
#ifndef STAN_MATH_PRIM_FUN_CHOLESKY_FACTOR_FREE_HPP #define STAN_MATH_PRIM_FUN_CHOLESKY_FACTOR_FREE_HPP #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/Eigen.hpp> #include <stan/math/prim/fun/log.hpp> #include <stan/math/prim/fun/to_ref.hpp> #include <cmath> #include <stdexcept> namespace stan { namesp...
27.654545
71
0.65023
bayesmix-dev
90baa84da4756fa85fdad554d3cacbf79297bd7a
10,257
cpp
C++
Modules/planning/local_planner/src/local_planning.cpp
alip990/Prometheus
ea3b6d1ad8bce9d51e53620169c71efbbfb3395c
[ "BSD-3-Clause" ]
1
2021-09-14T05:34:57.000Z
2021-09-14T05:34:57.000Z
Modules/planning/local_planner/src/local_planning.cpp
JcZou/Prometheus
480aa66a140053cafd736e83b6d947fc13b3684f
[ "BSD-3-Clause" ]
null
null
null
Modules/planning/local_planner/src/local_planning.cpp
JcZou/Prometheus
480aa66a140053cafd736e83b6d947fc13b3684f
[ "BSD-3-Clause" ]
null
null
null
// // Created by taojiang on 2019/12/9. // #include "local_planning.h" namespace local_planner { void PotentialFiledPlanner::init(ros::NodeHandle& nh){ // global variable message_pub = node_.advertise<prometheus_msgs::Message>("prometheus/message/local_planner", 10); // set mode flight_type_ = FLIG...
32.980707
222
0.569367
alip990
90bd754ed9d8df370b3873a4dbaa335daea16044
171
hpp
C++
documentation/src/hierarchy/diagrams_c.hpp
fekir/samples-cpp
e08c7cc5f156e08a1a9657d6c635f7363e62a623
[ "MIT" ]
null
null
null
documentation/src/hierarchy/diagrams_c.hpp
fekir/samples-cpp
e08c7cc5f156e08a1a9657d6c635f7363e62a623
[ "MIT" ]
null
null
null
documentation/src/hierarchy/diagrams_c.hpp
fekir/samples-cpp
e08c7cc5f156e08a1a9657d6c635f7363e62a623
[ "MIT" ]
null
null
null
#ifndef _DIAGRAMS_C_H #define _DIAGRAMS_C_H #include "diagrams_a.hpp" #include <memory> class D; class C : public A { public: std::unique_ptr<D> m_d; }; #endif
10.6875
26
0.690058
fekir
90be627838dd12d85238a00841a6fbab676d8782
328
hpp
C++
include/pichi/crypto/key.hpp
imuzi/pichi
5ad1372bff4c3bffd201ccfb41df6c839c83c506
[ "BSD-3-Clause" ]
164
2018-09-28T09:41:05.000Z
2021-11-13T09:17:07.000Z
include/pichi/crypto/key.hpp
imuzi/pichi
5ad1372bff4c3bffd201ccfb41df6c839c83c506
[ "BSD-3-Clause" ]
5
2018-12-21T13:40:02.000Z
2021-07-24T04:23:44.000Z
include/pichi/crypto/key.hpp
imuzi/pichi
5ad1372bff4c3bffd201ccfb41df6c839c83c506
[ "BSD-3-Clause" ]
14
2018-12-18T09:35:42.000Z
2021-07-06T12:16:34.000Z
#ifndef PICHI_CRYPTO_KEY_HPP #define PICHI_CRYPTO_KEY_HPP #include <pichi/common/buffer.hpp> #include <pichi/crypto/method.hpp> #include <stdint.h> namespace pichi::crypto { extern size_t generateKey(CryptoMethod, ConstBuffer<uint8_t>, MutableBuffer<uint8_t>); } // namespace pichi::crypto #endif // PICHI_CRYPTO_...
21.866667
86
0.786585
imuzi
90c13a6cdc0e74e15788ac1a65ae723237beadd8
20,269
cpp
C++
Genesis3D/v120/OpenSource/Tools/Fusion2/group.cpp
dumpinfo/WinMasterGame
59d300ec77c46fec2a821b4cfa095af0c21e434c
[ "Unlicense" ]
null
null
null
Genesis3D/v120/OpenSource/Tools/Fusion2/group.cpp
dumpinfo/WinMasterGame
59d300ec77c46fec2a821b4cfa095af0c21e434c
[ "Unlicense" ]
null
null
null
Genesis3D/v120/OpenSource/Tools/Fusion2/group.cpp
dumpinfo/WinMasterGame
59d300ec77c46fec2a821b4cfa095af0c21e434c
[ "Unlicense" ]
null
null
null
/****************************************************************************************/ /* Group.cpp */ /* */ /* Author: Jim Mischel, Ken Baird, Je...
19.583575
108
0.568306
dumpinfo
90c48d39bade8241108a13c1f58a856bc7f5d57d
18,259
cpp
C++
Source/AllProjects/Drivers/JRDiskRepo/Server/JRDiskRepoS_DriverImpl.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Drivers/JRDiskRepo/Server/JRDiskRepoS_DriverImpl.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Drivers/JRDiskRepo/Server/JRDiskRepoS_DriverImpl.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: JRDiskRepoS_DriverImpl.cpp // // AUTHOR: Dean Roddey // // CREATED: 06/04/2005 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://...
30.635906
92
0.54072
MarkStega
90c73c5edfc9f612df354a7ce9900a2deb96df8f
1,191
cpp
C++
LeetCode0020.cpp
chibai/LeetCodeInCPP
f5001ed6a186497d425a5c9e5d600da40a77e3fb
[ "Unlicense" ]
1
2016-12-05T07:22:12.000Z
2016-12-05T07:22:12.000Z
LeetCode0020.cpp
chibai/LeetCodeInCPP
f5001ed6a186497d425a5c9e5d600da40a77e3fb
[ "Unlicense" ]
null
null
null
LeetCode0020.cpp
chibai/LeetCodeInCPP
f5001ed6a186497d425a5c9e5d600da40a77e3fb
[ "Unlicense" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <algorithm> #include <vector> #include <map> #include <queue> #include <set> #include <stack> using namespace std; //Definition for singly linked list struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(...
19.209677
57
0.575147
chibai
90cbf50ec44dcedbf1e695945149c875e5553de2
461
cpp
C++
examples/return_tuple.cpp
ppete/clippy-cpp
8ce86a2bcd8084a80f01c8bdee640a1f434bb52a
[ "MIT" ]
1
2021-12-29T13:50:36.000Z
2021-12-29T13:50:36.000Z
examples/return_tuple.cpp
ppete/clippy-cpp
8ce86a2bcd8084a80f01c8bdee640a1f434bb52a
[ "MIT" ]
null
null
null
examples/return_tuple.cpp
ppete/clippy-cpp
8ce86a2bcd8084a80f01c8bdee640a1f434bb52a
[ "MIT" ]
2
2021-03-06T09:12:00.000Z
2021-06-10T19:00:44.000Z
// Copyright 2020 Lawrence Livermore National Security, LLC and other CLIPPy Project Developers. // See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: MIT #include <tuple> #include <clippy/clippy.hpp> #include <typeinfo> int main(int argc, char **argv) { clippy::clippy clip("return_tuple",...
24.263158
96
0.707158
ppete
90d5ee1173463e420f90aad18d2e5b2283ff7de4
3,145
cpp
C++
USACO/solutions/maze1.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
USACO/solutions/maze1.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
USACO/solutions/maze1.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
/* ID: ivan.bu1 PROG: maze1 LANG: C++ */ #include <iostream> #include <iterator> #include <fstream> #include <string> #include <vector> #include <algorithm> #include <cstdio> #include <cctype> #include <cstring> #include <queue> #include <utility> using namespace std; char A[256][256]; bool done[2...
27.112069
92
0.284261
ibudiselic
90de0620d85030ab26b0bf89c8335a8065a9f514
1,055
cpp
C++
geometry/int/convex/GetTangent.cpp
searchstar2017/acmtool
03392b8909a3d45f10c2711ca4ad9ba69f64a481
[ "MIT" ]
null
null
null
geometry/int/convex/GetTangent.cpp
searchstar2017/acmtool
03392b8909a3d45f10c2711ca4ad9ba69f64a481
[ "MIT" ]
null
null
null
geometry/int/convex/GetTangent.cpp
searchstar2017/acmtool
03392b8909a3d45f10c2711ca4ad9ba69f64a481
[ "MIT" ]
null
null
null
//If p is in the convex, L = -1 && R = -1 //sp is the index of the top right point. (split) void GetTangent(VEC ps[], int sp, int n, const VEC& p, int& L, int& R) { ps[n] = ps[0]; L = R = -1; if (SEG(ps[0], ps[1]).OnSeg(p) || SEG(ps[sp], ps[sp+1]).OnSeg(p)) return; if (p.y <= ps[0].y) { L = Find...
42.2
77
0.48436
searchstar2017
90de7704c818a96c7db8291e9357b4b7ff479b5c
711
cc
C++
current/euclideanTsp.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
current/euclideanTsp.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
current/euclideanTsp.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
#include <iomanip> #include <cmath> #include <iostream> using namespace std; long double calc(long double n,long double p,long double s,long double v,long double c){ long double compute = n*pow(log2(n),M_SQRT2*c)/p/1000000000; long double flight = s*(1+1/c)/v; return compute+flight; } int main(){ lon...
20.314286
88
0.541491
danzel-py
90e2efe80e42377972092938cc8b5d81781ffe34
2,815
cxx
C++
plugins/source/modules/logarithmic_spiral/logarithmic_spiral.cxx
moritz-h/ParaView-Plugins
b32e5dc4e710b25dc3f00b87a616e954d8549002
[ "MIT" ]
null
null
null
plugins/source/modules/logarithmic_spiral/logarithmic_spiral.cxx
moritz-h/ParaView-Plugins
b32e5dc4e710b25dc3f00b87a616e954d8549002
[ "MIT" ]
null
null
null
plugins/source/modules/logarithmic_spiral/logarithmic_spiral.cxx
moritz-h/ParaView-Plugins
b32e5dc4e710b25dc3f00b87a616e954d8549002
[ "MIT" ]
1
2021-02-22T16:27:28.000Z
2021-02-22T16:27:28.000Z
#include "logarithmic_spiral.h" #include "vtkCellArray.h" #include "vtkDataObject.h" #include "vtkIdTypeArray.h" #include "vtkInformation.h" #include "vtkInformationVector.h" #include "vtkObjectFactory.h" #include "vtkPoints.h" #include "vtkPolyData.h" #include "vtkSmartPointer.h" #include "vtkStreamingDemandDrivenPip...
29.631579
120
0.678153
moritz-h
90e5d2a82baa5322fa98a0596d329bcddc6382d5
4,681
cpp
C++
src/Protocol/HTTP/DeveloperHandler.cpp
Loki-Astari/ThorsNisse
75fd6891959d6e9deb7c07cb26660e65ba7f51bd
[ "MIT" ]
6
2017-08-07T07:01:48.000Z
2022-02-27T20:58:44.000Z
src/Protocol/HTTP/DeveloperHandler.cpp
Loki-Astari/ThorsNisse
75fd6891959d6e9deb7c07cb26660e65ba7f51bd
[ "MIT" ]
18
2017-08-10T20:34:50.000Z
2017-09-05T19:48:52.000Z
src/Protocol/HTTP/DeveloperHandler.cpp
Loki-Astari/ThorsNisse
75fd6891959d6e9deb7c07cb26660e65ba7f51bd
[ "MIT" ]
1
2019-02-20T19:06:13.000Z
2019-02-20T19:06:13.000Z
#include "DeveloperHandler.h" #include "ThorsNisseCoreSocket/SocketStream.h" #if HAVE_DEVLOADER #include "ThorSerialize/Traits.h" #include "ThorSerialize/JsonThor.h" #endif #include <iostream> using namespace ThorsAnvil::Nisse::Protocol::HTTP; DeveloperHandler::DeveloperHandler(Core::Service::Server& parent, Core::So...
32.061644
326
0.577013
Loki-Astari
90e5d516f79b716df48250c5e42c58f5a7164c8a
2,437
cc
C++
cpp_src/core/storage/basestorage.cc
SolovyovAlexander/reindexer
2c6fcd957c1743b57a4ce9a7963b52dffc13a519
[ "Apache-2.0" ]
null
null
null
cpp_src/core/storage/basestorage.cc
SolovyovAlexander/reindexer
2c6fcd957c1743b57a4ce9a7963b52dffc13a519
[ "Apache-2.0" ]
null
null
null
cpp_src/core/storage/basestorage.cc
SolovyovAlexander/reindexer
2c6fcd957c1743b57a4ce9a7963b52dffc13a519
[ "Apache-2.0" ]
null
null
null
#include "basestorage.h" #include "tools/fsops.h" #include "tools/logger.h" namespace reindexer { namespace datastorage { const std::string kShutdownPlaceholderName = ".rdx_shutdown"; constexpr auto kLostDirName = "lost"_sv; BaseStorage::~BaseStorage() { std::lock_guard<std::mutex> lck(mtx_); if (info_ && info_.u...
25.925532
103
0.695527
SolovyovAlexander
90e79a4a71dd2044491f924a6b384d44b057d5ce
328
cpp
C++
opencl/test/unit_test/aub/aub_helper_tests.cpp
wmouse/compute-runtime
ad315c6169bf1e7e244507bba4b119a1a81fb148
[ "MIT" ]
1
2019-03-01T13:54:45.000Z
2019-03-01T13:54:45.000Z
opencl/test/unit_test/aub/aub_helper_tests.cpp
wmouse/compute-runtime
ad315c6169bf1e7e244507bba4b119a1a81fb148
[ "MIT" ]
5
2019-03-26T17:26:07.000Z
2021-03-30T12:17:10.000Z
opencl/test/unit_test/aub/aub_helper_tests.cpp
wmouse/compute-runtime
ad315c6169bf1e7e244507bba4b119a1a81fb148
[ "MIT" ]
4
2018-05-09T10:04:27.000Z
2018-07-12T13:33:31.000Z
/* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/test/unit_test/aub/aub_helper_tests.inl" TEST(AubHelper, GivenHwInfoWhenGetMemBankSizeIsCalledThenItReturnsCorrectValue) { EXPECT_EQ(2 * MemoryConstants::gigaByte, AubHelper::getMemBankSize(defaultHwInfo.get...
25.230769
93
0.771341
wmouse
90e86d7ec14e5c9938dda9446dad0802135866c5
632
cpp
C++
class/app/input/recogedor_input.cpp
TheMarlboroMan/winter-fgj5
28cd4bd4ae37230e51c1a9963bcd293e674cdc3c
[ "Beerware" ]
null
null
null
class/app/input/recogedor_input.cpp
TheMarlboroMan/winter-fgj5
28cd4bd4ae37230e51c1a9963bcd293e674cdc3c
[ "Beerware" ]
null
null
null
class/app/input/recogedor_input.cpp
TheMarlboroMan/winter-fgj5
28cd4bd4ae37230e51c1a9963bcd293e674cdc3c
[ "Beerware" ]
null
null
null
#include "recogedor_input.h" using namespace App_Input; Input_usuario Recogedor_input::recoger_input_usuario(Input_base& input) const { auto proc=[&input](Input_usuario::t_estados& e, int t) { if(input.es_input_down(t)) e=Input_usuario::t_estados::down; else if(input.es_input_pulsado(t)) e=Input_usuario::t_e...
27.478261
81
0.775316
TheMarlboroMan
90e9146f3dec26a525ca8e88a119cfaef1a8f144
20,088
cc
C++
icing/legacy/index/icing-filesystem.cc
PixelPlusUI-SnowCone/external_icing
206a7d6b4ab83c6acdb8b14565e2431751c9e4cf
[ "Apache-2.0" ]
null
null
null
icing/legacy/index/icing-filesystem.cc
PixelPlusUI-SnowCone/external_icing
206a7d6b4ab83c6acdb8b14565e2431751c9e4cf
[ "Apache-2.0" ]
null
null
null
icing/legacy/index/icing-filesystem.cc
PixelPlusUI-SnowCone/external_icing
206a7d6b4ab83c6acdb8b14565e2431751c9e4cf
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2019 Google LLC // // 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...
31.338534
80
0.63625
PixelPlusUI-SnowCone
90eb862af6bbdf8f2633667f8ed5852ace212a85
1,575
cpp
C++
tests/driver.cpp
dunkyp/liblava
fc99b62dea91eca15505152bdd5acaf14e0523b8
[ "MIT" ]
null
null
null
tests/driver.cpp
dunkyp/liblava
fc99b62dea91eca15505152bdd5acaf14e0523b8
[ "MIT" ]
null
null
null
tests/driver.cpp
dunkyp/liblava
fc99b62dea91eca15505152bdd5acaf14e0523b8
[ "MIT" ]
null
null
null
// file : tests/driver.cpp // copyright : Copyright (c) 2018-present, Lava Block OÜ // license : MIT; see accompanying LICENSE file #include <tests/driver.hpp> #include <iostream> using namespace lava; int run(int argc, char** argv) { auto& tests = driver::instance().get(); argh::parser cmd_line(ar...
23.161765
85
0.554286
dunkyp
90f9fbd9aacf4e561bd95dc943428b3db0291a82
9,186
hpp
C++
include/sick_safetyscanners_base/data_processing/ReadWriteHelper.hpp
SICKAG/sick_safetyscanners_base-release
e93b8e26d72b062c6eacacc7ac53d93c9ad7b4f5
[ "Apache-2.0" ]
1
2020-03-05T14:08:01.000Z
2020-03-05T14:08:01.000Z
include/sick_safetyscanners_base/data_processing/ReadWriteHelper.hpp
SICKAG/sick_safetyscanners_base-release
e93b8e26d72b062c6eacacc7ac53d93c9ad7b4f5
[ "Apache-2.0" ]
null
null
null
include/sick_safetyscanners_base/data_processing/ReadWriteHelper.hpp
SICKAG/sick_safetyscanners_base-release
e93b8e26d72b062c6eacacc7ac53d93c9ad7b4f5
[ "Apache-2.0" ]
null
null
null
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*- // -- BEGIN LICENSE BLOCK ---------------------------------------------- /*! * Copyright (C) 2018, SICK AG, Waldkirch * Copyright (C) 2018, FZI Forschungszentrum Informatik, Karlsruhe, Germany * * * Licensed under the Apache License, Versio...
25.375691
92
0.671348
SICKAG
90fbbc69c27f38ebb4ea2af63dd9a81e8d805d92
22,092
cpp
C++
src/closures.cpp
infphilo/tophat
37540ce3f0c10e0f0bfafa2f29450055fc5da384
[ "BSL-1.0" ]
113
2015-04-07T13:21:43.000Z
2021-08-20T01:52:43.000Z
src/closures.cpp
infphilo/tophat
37540ce3f0c10e0f0bfafa2f29450055fc5da384
[ "BSL-1.0" ]
47
2015-04-09T09:37:59.000Z
2018-12-12T11:49:30.000Z
src/closures.cpp
infphilo/tophat
37540ce3f0c10e0f0bfafa2f29450055fc5da384
[ "BSL-1.0" ]
59
2015-04-01T13:48:59.000Z
2021-11-15T09:27:30.000Z
/* * closures.cpp * TopHat * * Created by Cole Trapnell on 1/15/09. * Copyright 2009 Cole Trapnell. All rights reserved. * */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <iostream> #include <fstream> #include <getopt.h> #include <seqan/sequence.h> #include <seqan/file.h> #include "bwt_map.h" ...
26.681159
122
0.647655
infphilo
90fdc93b66e463d6ad2f776110203b5bfe5e97f4
1,033
cpp
C++
engine/src/graphics/buffer/frame_buffer.cpp
StuartDAdams/neon
d08a63b853801aec94390e50f2988d0217438061
[ "MIT" ]
1
2019-08-22T14:43:18.000Z
2019-08-22T14:43:18.000Z
engine/src/graphics/buffer/frame_buffer.cpp
StuartDAdams/neon
d08a63b853801aec94390e50f2988d0217438061
[ "MIT" ]
null
null
null
engine/src/graphics/buffer/frame_buffer.cpp
StuartDAdams/neon
d08a63b853801aec94390e50f2988d0217438061
[ "MIT" ]
null
null
null
#include <graphics/buffer/frame_buffer_handle.hpp> #include <graphics/device/graphics_device.hpp> namespace moka { bool frame_buffer_handle::operator==(const frame_buffer_handle& rhs) const { return id == rhs.id; } bool frame_buffer_handle::operator!=(const frame_buffer_handle& rhs) const ...
24.595238
78
0.660213
StuartDAdams
90fed83c62a7fd24d1a321b183b65ffa0b1e92f3
8,919
cpp
C++
source/app/ImGuiRenderer.cpp
aviktorov/pbr-sandbox
66a71c741dac2d2dd46668a506d02de88f05e399
[ "MIT" ]
19
2020-02-11T19:57:41.000Z
2022-02-20T14:11:33.000Z
source/app/ImGuiRenderer.cpp
aviktorov/pbr-sandbox
66a71c741dac2d2dd46668a506d02de88f05e399
[ "MIT" ]
null
null
null
source/app/ImGuiRenderer.cpp
aviktorov/pbr-sandbox
66a71c741dac2d2dd46668a506d02de88f05e399
[ "MIT" ]
5
2019-11-05T17:38:33.000Z
2022-03-04T12:49:58.000Z
#include "ImGuiRenderer.h" #include <scapes/visual/API.h> #include <scapes/visual/Resources.h> #include <common/Math.h> #include "imgui.h" #include <string> /* */ static std::string vertex_shader_source = "#version 450 core\n" "#pragma shader_stage(vertex)\n" "layout(location = 0) in vec2 aPos;\n" "layout(location...
30.440273
142
0.730351
aviktorov
2901579702dae5dcd15a872f02f68cee2a44fc16
471
hpp
C++
avoidthebug-android/app/deps/include/small3d/BasePath.hpp
dimi309/small3d-samples
8cccf40eb75782806fa7b9006a1cb43233ce54af
[ "BSD-3-Clause" ]
143
2016-10-09T22:38:31.000Z
2022-03-26T15:20:20.000Z
avoidthebug-ios/deps/include/small3d/BasePath.hpp
dimi309/gloom
8c1d8600c316384d005c226f0b27af4072bce5ac
[ "BSD-3-Clause" ]
34
2016-09-25T16:51:43.000Z
2022-01-31T03:53:41.000Z
avoidthebug-ios/deps/include/small3d/BasePath.hpp
dimi309/gloom
8c1d8600c316384d005c226f0b27af4072bce5ac
[ "BSD-3-Clause" ]
11
2016-09-25T10:07:17.000Z
2021-12-16T13:13:51.000Z
/** * @file BasePath.hpp * @brief Single function to return the base path on any platform * * Created on: 31 Jan 2020 * Author: Dimitri Kourkoulis * License: BSD 3-Clause License (see LICENSE file) */ #pragma once #include <string> /** * @brief Helper function that returns the path of the directory wh...
23.55
76
0.66879
dimi309
2904b5df6130b947bc0b4e07ac7ce84d4d5f22ab
3,421
hpp
C++
addons/gear/aceActions.hpp
61st-Cavalry-Regiment/61st-aux
bc6e956553fba774881c682a3f12c1b426256a30
[ "MIT" ]
2
2020-05-25T20:29:29.000Z
2020-05-26T21:11:23.000Z
addons/gear/aceActions.hpp
61st-Cavalry-Regiment/61st-aux
bc6e956553fba774881c682a3f12c1b426256a30
[ "MIT" ]
3
2020-06-02T07:38:40.000Z
2021-11-13T04:54:28.000Z
addons/gear/aceActions.hpp
61st-Cavalry-Regiment/61st-aux
bc6e956553fba774881c682a3f12c1b426256a30
[ "MIT" ]
1
2020-05-26T21:11:28.000Z
2020-05-26T21:11:28.000Z
class ACE_SelfActions { class ACE_Equipment { class GVAR(helmet) { displayName = "Helmet"; condition = "(getText (configFile >> 'CfgWeapons' >> headgear _player >> 'displayName') find 'HGU-56/P' != -1)"; statement = ""; class raiseVisor { displayName = "Visor"; condition = "(getText (configFile >...
76.022222
233
0.671149
61st-Cavalry-Regiment
2906265a9ffa297ba7570a4314e0df7b0654d782
1,002
hpp
C++
include/Combatant.hpp
LibreGames/monster-rpg-2
456acd1e5ba13c5544c1d9b48f245143746244f9
[ "Zlib" ]
3
2019-04-11T07:10:48.000Z
2021-11-14T18:32:08.000Z
include/Combatant.hpp
LibreGames/monster-rpg-2
456acd1e5ba13c5544c1d9b48f245143746244f9
[ "Zlib" ]
1
2019-06-22T19:39:34.000Z
2019-06-22T19:39:34.000Z
include/Combatant.hpp
LibreGames/monster-rpg-2
456acd1e5ba13c5544c1d9b48f245143746244f9
[ "Zlib" ]
3
2019-04-11T07:10:49.000Z
2020-09-09T08:19:30.000Z
#ifndef COMBATANT_HPP #define COMBATANT_HPP #include "CombatEntity.hpp" class Combatant : public CombatEntity { public: AnimationSet *animSet; CombatantInfo &getInfo() { return info; } int getDirection(); AnimationSet *getAnimationSet(); AnimationSet *getWhiteAnimationSet(); CombatLocation getLocation(); Comb...
20.04
46
0.758483
LibreGames
290a395b5309c7373b66cce91c02c1aa60a29f07
3,478
cpp
C++
2DGame/terrainComponent.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
3
2015-08-18T12:59:29.000Z
2015-12-15T08:11:10.000Z
2DGame/terrainComponent.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
2DGame/terrainComponent.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
#include "terrainComponent.h" #include "loader.h" #include "logger.h" #include "noise.h" ComponentID TerrainComponent::ID; TerrainComponent::TerrainComponent(){vanityName = "Terrain Component";} TerrainComponent::~TerrainComponent() { glDeleteVertexArrays(1, &VAO); glDeleteBuffers(1, &vertexBuffer)...
35.131313
123
0.673376
Cimera42
291195898e441f85a135151d12e710e3052b7735
5,161
cpp
C++
MonoNative.Tests/mscorlib/System/Runtime/Remoting/Messaging/mscorlib_System_Runtime_Remoting_Messaging_ConstructionResponse_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Runtime/Remoting/Messaging/mscorlib_System_Runtime_Remoting_Messaging_ConstructionResponse_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Runtime/Remoting/Messaging/mscorlib_System_Runtime_Remoting_Messaging_ConstructionResponse_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Runtime.Remoting.Messaging // Name: ConstructionResponse // C++ Typed Name: mscorlib::System::Runtime::Remoting::Messaging::ConstructionResponse #include <gtest/gtest.h> #include <mscor...
27.747312
171
0.704321
brunolauze
291508c56be7c5f64261b08cf1ed5443e3811805
3,023
cpp
C++
src/console.cpp
gorilux/expresscpp
1b676215bbc48afd3990c385970bfbc14a026b2c
[ "MIT" ]
61
2019-11-16T17:17:10.000Z
2022-01-25T23:53:21.000Z
src/console.cpp
gorilux/expresscpp
1b676215bbc48afd3990c385970bfbc14a026b2c
[ "MIT" ]
8
2019-11-18T19:35:01.000Z
2021-09-15T16:03:40.000Z
src/console.cpp
gorilux/expresscpp
1b676215bbc48afd3990c385970bfbc14a026b2c
[ "MIT" ]
12
2020-02-18T20:01:00.000Z
2022-01-26T08:13:03.000Z
#include "expresscpp/console.hpp" #include <iostream> #ifdef EXPRESSCPP_USE_STACKTRACE #include "boost/stacktrace.hpp" #endif #include "expresscpp/date.hpp" #include "expresscpp/impl/utils.hpp" namespace expresscpp { std::mutex Console::mutex_; LogLevel Console::log_level_ = LogLevel::kError; #if defined(__cpp_l...
30.23
119
0.685412
gorilux
291c0698648c344e49e75f416560211fbd36741e
4,943
cpp
C++
Game/Source/Props.cpp
Vinskky/PlatformerGame
e1d6c2db6bd812b95b8f2e44386be3e625cb82fa
[ "MIT" ]
null
null
null
Game/Source/Props.cpp
Vinskky/PlatformerGame
e1d6c2db6bd812b95b8f2e44386be3e625cb82fa
[ "MIT" ]
null
null
null
Game/Source/Props.cpp
Vinskky/PlatformerGame
e1d6c2db6bd812b95b8f2e44386be3e625cb82fa
[ "MIT" ]
null
null
null
#include "App.h" #include "Props.h" #include "EntityManager.h" #include "Defs.h" #include "Log.h" Props::Props() : Entity() { enName.Create("props"); type = PROPS; } Props::~Props() { } bool Props::Awake(pugi::xml_node& config) { config = app->scene->sceneConf; pugi::xml_node cp = config.child("checkpoints"); ...
28.906433
121
0.680761
Vinskky
2920e2e9633d19aeec2b47b40ca6780a28943a02
487
cpp
C++
test/unit/linearalgebra/matrices/test_compressedmatrix.cpp
WesleyCeraso/algorithms
280f10ed12e66a84154f7e541ad1e58683703eb1
[ "MIT" ]
null
null
null
test/unit/linearalgebra/matrices/test_compressedmatrix.cpp
WesleyCeraso/algorithms
280f10ed12e66a84154f7e541ad1e58683703eb1
[ "MIT" ]
null
null
null
test/unit/linearalgebra/matrices/test_compressedmatrix.cpp
WesleyCeraso/algorithms
280f10ed12e66a84154f7e541ad1e58683703eb1
[ "MIT" ]
null
null
null
#include "test_matrix.h" #include <src/linearalgebra/matrices/compressedmatrix.h> typedef ::testing::Types<CompressedMatrix<int>, CompressedMatrix<double>> CompressedMatrixTests; INSTANTIATE_TYPED_TEST_CASE_P(CompressedMatrix, MatrixTest, CompressedMatrixTests); TEST(CompressedMatrix, CopyCo...
24.35
83
0.689938
WesleyCeraso
2924146d9852fb8aa81c7aaf643a9a51b7d2d8a0
130
cpp
C++
Chapter 1/1.14.cpp
shane1595042264/cpp_practice
75e2937eba1ee74cd3a7553c5ee3ab7d1774c898
[ "MIT" ]
null
null
null
Chapter 1/1.14.cpp
shane1595042264/cpp_practice
75e2937eba1ee74cd3a7553c5ee3ab7d1774c898
[ "MIT" ]
null
null
null
Chapter 1/1.14.cpp
shane1595042264/cpp_practice
75e2937eba1ee74cd3a7553c5ee3ab7d1774c898
[ "MIT" ]
null
null
null
// for has a scope for variable, while "while" is easy to use when the loop time is unknown. // Created by m1595 on 5/4/2022. //
26
92
0.692308
shane1595042264
2929ce58e4bc86a26ab4e453a3cc435b4d8be325
13,475
hpp
C++
libs/boost/boost/bimap/bimap.hpp
creatologist/openFrameworks0084
aa74f188f105b62fbcecb7baf2b41d56d97cf7bc
[ "MIT" ]
133
2018-04-20T14:09:40.000Z
2021-08-15T11:51:25.000Z
libs/boost/boost/bimap/bimap.hpp
creatologist/openFrameworks0084
aa74f188f105b62fbcecb7baf2b41d56d97cf7bc
[ "MIT" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
libs/boost/boost/bimap/bimap.hpp
creatologist/openFrameworks0084
aa74f188f105b62fbcecb7baf2b41d56d97cf7bc
[ "MIT" ]
83
2018-04-27T03:58:02.000Z
2022-01-11T09:23:40.000Z
// Boost.Bimap // // Copyright (c) 2006-2007 Matias Capeletto // // 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 bimap.hpp /// \brief Includes the basic bimap container /** \mainpage notitle \n \image...
30.417607
87
0.649573
creatologist
292bff454d88ff9c1b003a10c784f551d7a243c7
759
cpp
C++
p2228.cpp
sjnov11/Baekjoon-Online-Judge
a95df8a62e181d86a97d0e8969d139a3dae2be74
[ "MIT" ]
null
null
null
p2228.cpp
sjnov11/Baekjoon-Online-Judge
a95df8a62e181d86a97d0e8969d139a3dae2be74
[ "MIT" ]
null
null
null
p2228.cpp
sjnov11/Baekjoon-Online-Judge
a95df8a62e181d86a97d0e8969d139a3dae2be74
[ "MIT" ]
null
null
null
#include <iostream> #include <limits.h> #include <algorithm> using namespace std; #define IMP -4000000 int A[101]; int sum[101]; int dp[101][51]; int main() { int N, M; cin >> N >> M; for (int i = 1; i <= N; i++) { int next; cin >> next; sum[i] = sum[i - 1] + next; } for (int i = 0; i <= N; i++) { for ...
17.25
65
0.418972
sjnov11
292c4ff18fa3e5fad513d42c8625a7864001c0c6
20,778
cpp
C++
Max3D/hoa.3d.scope_gui_tilde.cpp
CICM/HoaLibrary-Max
cfe110ff040cfda0dd3547ee7e9ec7c11d6dd3b6
[ "Naumen", "Condor-1.1", "MS-PL" ]
71
2015-02-23T12:24:05.000Z
2022-02-15T00:18:30.000Z
Max3D/hoa.3d.scope_gui_tilde.cpp
pb5/HoaLibrary-Max
cfe110ff040cfda0dd3547ee7e9ec7c11d6dd3b6
[ "Naumen", "Condor-1.1", "MS-PL" ]
13
2015-04-22T17:13:53.000Z
2020-11-12T10:54:29.000Z
Max3D/hoa.3d.scope_gui_tilde.cpp
pb5/HoaLibrary-Max
cfe110ff040cfda0dd3547ee7e9ec7c11d6dd3b6
[ "Naumen", "Condor-1.1", "MS-PL" ]
8
2015-04-11T21:34:51.000Z
2020-02-29T14:37:53.000Z
/* // Copyright (c) 2012-2013 Eliott Paris & Pierre Guillot, CICM, Universite Paris 8. // For information on usage and redistribution, and for a DISCLAIMER OF ALL // WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ /** @file hoa.3d.scope~.cpp @name hoa.3d.scope~ @realname hoa.3d.scop...
38.124771
167
0.567186
CICM
2931f0a06813d5f7b848727069eb555cb6b4683d
904
cpp
C++
src/ast/Pragma.cpp
sharon-wang/souffle
64be3b32a29affed6f5f2cafee0071c599ad3be0
[ "UPL-1.0" ]
2
2022-01-02T16:20:38.000Z
2022-01-09T09:50:03.000Z
src/ast/Pragma.cpp
sharon-wang/souffle
64be3b32a29affed6f5f2cafee0071c599ad3be0
[ "UPL-1.0" ]
1
2016-10-09T23:13:26.000Z
2016-10-09T23:13:26.000Z
src/ast/Pragma.cpp
sharon-wang/souffle
64be3b32a29affed6f5f2cafee0071c599ad3be0
[ "UPL-1.0" ]
null
null
null
/* * Souffle - A Datalog Compiler * Copyright (c) 2020, The Souffle Developers. All rights reserved. * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ #include "ast/Pragma.h" #include "souffle/utility/MiscUt...
27.393939
79
0.663717
sharon-wang
2933ccf1f1258e733fcc82b7b323e451f03ddb2b
1,294
cpp
C++
geos-3.7.0beta1/src/geomgraph/Position.cpp
litbangbungamayang/SIMTR
23435e829f6c766ec8483c88005daac654de4057
[ "MIT" ]
null
null
null
geos-3.7.0beta1/src/geomgraph/Position.cpp
litbangbungamayang/SIMTR
23435e829f6c766ec8483c88005daac654de4057
[ "MIT" ]
null
null
null
geos-3.7.0beta1/src/geomgraph/Position.cpp
litbangbungamayang/SIMTR
23435e829f6c766ec8483c88005daac654de4057
[ "MIT" ]
null
null
null
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2001-2002 Vivid Solutions Inc. * Copyright (C) 2005 Refractions Research Inc. * * This is free software; you can redistribute and/or modify it under * the ter...
26.958333
122
0.5966
litbangbungamayang
a0975e6599149ba64abbddd4b5512188cf5d9bb6
5,501
cpp
C++
modules/importancesamplingcl/importancesamplingclmodule.cpp
danjobanjo/Correlated-Photon-Mapping-for-Interactive-Global-Illumination-of-Time-Varying-Volumetric-Data
bb9bd0a79b111a609e4548326d64aede07fd3a5e
[ "MIT" ]
14
2016-10-27T12:42:25.000Z
2021-05-24T08:14:24.000Z
modules/importancesamplingcl/importancesamplingclmodule.cpp
danjobanjo/Correlated-Photon-Mapping-for-Interactive-Global-Illumination-of-Time-Varying-Volumetric-Data
bb9bd0a79b111a609e4548326d64aede07fd3a5e
[ "MIT" ]
7
2017-09-07T08:36:08.000Z
2019-12-06T16:02:16.000Z
modules/importancesamplingcl/importancesamplingclmodule.cpp
danjobanjo/Correlated-Photon-Mapping-for-Interactive-Global-Illumination-of-Time-Varying-Volumetric-Data
bb9bd0a79b111a609e4548326d64aede07fd3a5e
[ "MIT" ]
5
2016-10-30T05:16:15.000Z
2020-03-10T10:52:19.000Z
/********************************************************************************* * * Copyright (c) 2016, Daniel Jönsson * All rights reserved. * * This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. * http://creativecommons.org/licenses/by-nc/4.0/ * * You are ...
42.643411
228
0.687511
danjobanjo
a097b5b439fbf883958b2eeea9897ffe4f1530d7
116
cpp
C++
tests/Issue223_2.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
1,853
2018-05-13T21:49:17.000Z
2022-03-30T10:34:45.000Z
tests/Issue223_2.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
398
2018-05-15T14:48:51.000Z
2022-03-24T12:14:33.000Z
tests/Issue223_2.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
104
2018-05-15T04:00:59.000Z
2022-03-17T02:04:15.000Z
// cmdlineinsights:-show-all-implicit-casts #include <cstdio> int main() { float f = (float)(3.0); return f; }
12.888889
43
0.646552
galorojo
a098d09718ae75b165569bcc87bd8e36ab51a2bb
7,400
cc
C++
lib/Fabrique.cc
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
2
2018-11-12T22:51:37.000Z
2019-03-13T12:46:03.000Z
lib/Fabrique.cc
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
23
2015-03-06T16:14:49.000Z
2019-04-04T18:08:52.000Z
lib/Fabrique.cc
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
null
null
null
//! @file Fabrique.cc Definition of the top-level Fabrique type /* * Copyright (c) 2018 Jonathan Anderson * All rights reserved. * * This software was developed by SRI International and the University of * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) * ("CTSRD"), as part of the DA...
27.715356
91
0.712568
fabriquer
a09a22d5ced10af77c2e1cff8007b0800256b6a1
3,531
cpp
C++
Terum/MapBuilder.cpp
pzebadua/Terum
fa0475042dcf4d504c2d4663bad7e27de99d95a8
[ "MIT" ]
null
null
null
Terum/MapBuilder.cpp
pzebadua/Terum
fa0475042dcf4d504c2d4663bad7e27de99d95a8
[ "MIT" ]
null
null
null
Terum/MapBuilder.cpp
pzebadua/Terum
fa0475042dcf4d504c2d4663bad7e27de99d95a8
[ "MIT" ]
null
null
null
/* Map: Terum Scenes: [0] Eyrie_Town Paths: tavern, smith [1] Eyrie_Tavern Paths: back [2] Eyrie_Smith Paths: back [3] Eyrie_Bridge Paths: back [4] Eyrie_Forest Paths: back */ #include "MapBuilder.h" Ma...
22.207547
87
0.582271
pzebadua
a09a290abefa4646822bd296b90e3f5b1444080d
1,001
cpp
C++
Algorithms and Data Structures/Homework 8/StringSort.cpp
Tewodros00/CS-Jacobs
5876decf6aa6f612dc5569e50e6e5a9eb768d78b
[ "MIT" ]
4
2021-04-09T08:14:58.000Z
2021-05-17T10:42:11.000Z
Algorithms and Data Structures/Homework 8/StringSort.cpp
Tewodros00/Jacobs-Coursework
5876decf6aa6f612dc5569e50e6e5a9eb768d78b
[ "MIT" ]
null
null
null
Algorithms and Data Structures/Homework 8/StringSort.cpp
Tewodros00/Jacobs-Coursework
5876decf6aa6f612dc5569e50e6e5a9eb768d78b
[ "MIT" ]
null
null
null
#include <vector> #include <string> bool compareStringAt(std::string first_word, std::string second_word, unsigned int index) { if (index < first_word.length() and index < second_word.length()) return first_word[index] > second_word[index]; else return first_word.length() > second_...
28.6
70
0.564436
Tewodros00
a09dc140fe2e8c8222841d0021ed1259d1494af3
14,879
cpp
C++
SuperNova/Engine/source/Assets/AssetDatabase.cpp
Artificial-Selection/Supernova-Engine
ed4861274e52118aecf262d790530af6ec97203e
[ "MIT" ]
null
null
null
SuperNova/Engine/source/Assets/AssetDatabase.cpp
Artificial-Selection/Supernova-Engine
ed4861274e52118aecf262d790530af6ec97203e
[ "MIT" ]
null
null
null
SuperNova/Engine/source/Assets/AssetDatabase.cpp
Artificial-Selection/Supernova-Engine
ed4861274e52118aecf262d790530af6ec97203e
[ "MIT" ]
null
null
null
#include <Engine/Assets/AssetDatabase.hpp> #include <Engine/Assets/Model.hpp> #include <Engine/Assets/Mesh.hpp> #include <Engine/Assets/Material.hpp> #include <Engine/Assets/Texture.hpp> #include <Engine/Assets/Shader.hpp> #include <Engine/Components/MeshRenderer.hpp> #include <Engine/Core/Assert.hpp> #include <Engine...
37.384422
127
0.66698
Artificial-Selection
a0a487efbf50ba3231f01d925dfc4c96797a5b2f
4,139
cpp
C++
test/scoped_allocator.cpp
graphicsMan/cxx_function
2d14cdf05fea6257ce9a4fcd7f925d15c679ca3f
[ "MIT" ]
52
2015-06-08T09:36:41.000Z
2022-02-08T23:22:20.000Z
test/scoped_allocator.cpp
graphicsMan/cxx_function
2d14cdf05fea6257ce9a4fcd7f925d15c679ca3f
[ "MIT" ]
21
2015-06-12T05:49:06.000Z
2020-04-27T13:27:32.000Z
test/scoped_allocator.cpp
graphicsMan/cxx_function
2d14cdf05fea6257ce9a4fcd7f925d15c679ca3f
[ "MIT" ]
9
2015-06-06T11:09:04.000Z
2020-03-31T10:40:39.000Z
#include "cxx_function.hpp" #include <cassert> #include <forward_list> #include <map> #include <scoped_allocator> #include <string> std::map< int, std::size_t > pool; template< typename t > struct pool_alloc : std::allocator< t > { int id; template< typename u > pool_alloc( pool_alloc< u > const & o ) ...
31.59542
142
0.575018
graphicsMan
a0a4a0cc4942d3d0323119ac9a8a2423bd1ca921
2,863
cpp
C++
src/pointer.cpp
kaereshi/steeljson
ff236a5fba6714d13f4303421d907eb796c80535
[ "MIT" ]
1
2020-10-06T13:50:21.000Z
2020-10-06T13:50:21.000Z
src/pointer.cpp
kaereshi/steeljson
ff236a5fba6714d13f4303421d907eb796c80535
[ "MIT" ]
null
null
null
src/pointer.cpp
kaereshi/steeljson
ff236a5fba6714d13f4303421d907eb796c80535
[ "MIT" ]
null
null
null
#include "pointer.h" #include <sstream> using namespace steeljson; // splits an input string into tokens // that are separated by '/' character; // returns vector that contains tokens std::vector<std::string> tokenize(const std::string& path) { std::vector<std::string> tokens; char delimiter{ '/' }; if (path.empt...
26.266055
96
0.677262
kaereshi
a0a749f3e3ee12407d5d59685cfc302d15d26e24
680
cpp
C++
src/solvers.cpp
LoganBarnes/ltb-geom
d3cc3449883d53f06fef09e53948e4825a7ffcfe
[ "MIT" ]
null
null
null
src/solvers.cpp
LoganBarnes/ltb-geom
d3cc3449883d53f06fef09e53948e4825a7ffcfe
[ "MIT" ]
null
null
null
src/solvers.cpp
LoganBarnes/ltb-geom
d3cc3449883d53f06fef09e53948e4825a7ffcfe
[ "MIT" ]
null
null
null
// /////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2021 Logan Barnes - All Rights Reserved // /////////////////////////////////////////////////////////////////////////////////////// #include "ltb/geom/solvers.hpp" namespace ltb::geom { auto is_zero(float) -> bo...
37.777778
90
0.516176
LoganBarnes
a0ad391fba56cceed9a07aea5d97612c544aec9e
5,599
cpp
C++
cfw/src/v20190904/model/DescribeSecurityGroupListRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
cfw/src/v20190904/model/DescribeSecurityGroupListRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
cfw/src/v20190904/model/DescribeSecurityGroupListRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
25.45
96
0.725308
suluner
a0bb5f0e2b4e906bdf0f751cbf6e19915b295643
18,905
cpp
C++
src/plug/gui/midi_config.cpp
ompu/ompu
c45d292a0af1b50039db9aa79e444fb7019615e9
[ "MIT" ]
4
2017-09-28T13:53:32.000Z
2018-02-14T21:29:25.000Z
src/plug/gui/midi_config.cpp
ompu/ompu
c45d292a0af1b50039db9aa79e444fb7019615e9
[ "MIT" ]
null
null
null
src/plug/gui/midi_config.cpp
ompu/ompu
c45d292a0af1b50039db9aa79e444fb7019615e9
[ "MIT" ]
null
null
null
/* ============================================================================== This is an automatically generated GUI class created by the Projucer! Be careful when adding custom code to these files, as only the code within the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loade...
43.965116
129
0.627982
ompu
a0c5411720b1d50554650d5592470a1542687918
647
cpp
C++
tools/converter/source/torch/GatherTorch.cpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
1
2021-09-17T03:22:16.000Z
2021-09-17T03:22:16.000Z
tools/converter/source/torch/GatherTorch.cpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
null
null
null
tools/converter/source/torch/GatherTorch.cpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
null
null
null
// // GatherTorch.cpp // MNNConverter // // Created by MNN on 2021/05/12. // Copyright © 2018, Alibaba Group Holding Limited // #include <stdio.h> #include "torchOpConverter.hpp" DECLARE_OP_CONVERTER(GatherTorch); MNN::OpType GatherTorch::opType() { return MNN::OpType_Gather; } MNN::OpParameter GatherTorch::...
21.566667
93
0.704791
JujuDel
a0cb6917f00e0cb2ec9aac4e6d544e93183822bf
50,977
cpp
C++
PTW-Arduino-Assert.cpp
njh/PTW-Arduino-Assert
44de8c2d23da27e65ed3cb1bec482f2ce446693d
[ "MIT" ]
null
null
null
PTW-Arduino-Assert.cpp
njh/PTW-Arduino-Assert
44de8c2d23da27e65ed3cb1bec482f2ce446693d
[ "MIT" ]
null
null
null
PTW-Arduino-Assert.cpp
njh/PTW-Arduino-Assert
44de8c2d23da27e65ed3cb1bec482f2ce446693d
[ "MIT" ]
null
null
null
/** * @abstract This library was created so I, AJ Keller, could do Test Driven * Development (TDD) eaiser across the several different libraries I am working * on and maintaing. * @author AJ Keller * @license MIT * @version 0.3.2 */ #include "PTW-Arduino-Assert.h" #include "HardwareSerial.h" PTW_Arduino_Assert::PTW...
31.351169
192
0.716107
njh
a0d7351a8caf7a6d7d27b965191445d9176e3990
675
cpp
C++
Day_86.cpp
iamakkkhil/DailyCoding
8422ddbcc2a179f3fd449871e2241ad94a845efb
[ "MIT" ]
8
2021-02-07T16:31:28.000Z
2021-06-11T18:53:23.000Z
Day_86.cpp
iamakkkhil/DailyCoding
8422ddbcc2a179f3fd449871e2241ad94a845efb
[ "MIT" ]
null
null
null
Day_86.cpp
iamakkkhil/DailyCoding
8422ddbcc2a179f3fd449871e2241ad94a845efb
[ "MIT" ]
1
2021-05-25T17:17:58.000Z
2021-05-25T17:17:58.000Z
/* DAY 86: Queue Push & Pop. QUESTION : Given an array arr[] of size N, enqueue the elements of the array into a queue and then dequeue them. Example 1: Input: N = 5 arr[] = 1 2 3 4 5 Output: 1 2 3 4 5 Example 2: Input: N = 7 arr[] = 1 6 43 1 2 0 5 Output: 1 6 43 1 2 0 5 Expected Time Comple...
15.340909
91
0.521481
iamakkkhil
a0da60303206b20a07ba782a978e6f63621c1d85
808
cpp
C++
Engine/src/Updater/FSystemRecord.cpp
LexSheyn/Trick3DEngine
1547a56639ffa424b10e97ee7039b88f43e228cb
[ "CC0-1.0" ]
null
null
null
Engine/src/Updater/FSystemRecord.cpp
LexSheyn/Trick3DEngine
1547a56639ffa424b10e97ee7039b88f43e228cb
[ "CC0-1.0" ]
null
null
null
Engine/src/Updater/FSystemRecord.cpp
LexSheyn/Trick3DEngine
1547a56639ffa424b10e97ee7039b88f43e228cb
[ "CC0-1.0" ]
null
null
null
#include "../PCH/t3dpch.h" #include "FSystemRecord.h" namespace t3d { // Constructors and Destructor: FSystemRecord::FSystemRecord(ISystem* System, Callback_Type UpdateCallback, Callback_Type FixedUpdateCallback, Callback_Type LateUpdateCallback) : System (System), UpdateCallback (UpdateCallb...
17.955556
145
0.715347
LexSheyn
a0debdac92978ea6616f4265c48f2ad52b08981d
7,595
hpp
C++
include/apex/core/span.hpp
slurps-mad-rips/apex
8d88e6167e460a74e2c42a4d11d7f8e70adb5102
[ "Apache-2.0" ]
4
2020-12-14T18:07:28.000Z
2021-04-21T18:10:26.000Z
include/apex/core/span.hpp
slurps-mad-rips/apex
8d88e6167e460a74e2c42a4d11d7f8e70adb5102
[ "Apache-2.0" ]
11
2020-07-21T03:27:10.000Z
2021-03-22T20:24:44.000Z
include/apex/core/span.hpp
slurps-mad-rips/apex
8d88e6167e460a74e2c42a4d11d7f8e70adb5102
[ "Apache-2.0" ]
3
2020-12-14T17:40:07.000Z
2022-03-18T15:43:10.000Z
#ifndef APEX_CORE_SPAN_HPP #define APEX_CORE_SPAN_HPP #include <apex/core/concepts.hpp> #include <apex/core/memory.hpp> #include <apex/core/array.hpp> #include <apex/core/prelude.hpp> #include <iterator> #include <limits> #include <cassert> #if __has_include(<span>) #include <span> #endif /* __has_include(<span>)...
29.211538
82
0.678999
slurps-mad-rips
a0decc93691de488425a4f494d992573fd4a4012
4,205
cpp
C++
examples/RPG/Character.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
examples/RPG/Character.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
examples/RPG/Character.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
#include "Base.h" #include "Character.h" #include "CharacterEnum.h" #include "CA_Assert.h" #include "PlayerController.h" #include "Log\LogManager.h" #include "Entities\Events\BaseEntityEvents.h" #include "EventHandler\Event.h" #include "MessageType.h" #include "Assets\AssetManager.h" #include "Entities\Physics\Physical...
26.118012
112
0.776932
xcasadio
a0e00ad5343fb294db8842609a08e88df37687fb
5,005
cpp
C++
src/lower/lower_string_ops.cpp
BillXu2000/simit
bfdb5f5d558a4ea2decf642e8e3e3854deddb5ed
[ "MIT" ]
496
2016-06-10T04:16:47.000Z
2022-01-24T19:37:03.000Z
src/lower/lower_string_ops.cpp
BillXu2000/simit
bfdb5f5d558a4ea2decf642e8e3e3854deddb5ed
[ "MIT" ]
91
2016-07-26T13:18:48.000Z
2021-08-10T08:54:18.000Z
src/lower/lower_string_ops.cpp
BillXu2000/simit
bfdb5f5d558a4ea2decf642e8e3e3854deddb5ed
[ "MIT" ]
63
2016-07-22T17:15:46.000Z
2021-08-20T03:18:42.000Z
#include "lower_string_ops.h" #include "intrinsics.h" #include "ir_rewriter.h" #include "ir_transforms.h" #include "types.h" #include <vector> #include <stack> #include <set> namespace simit { namespace ir { class LowerStringOps : public IRRewriter { std::stack<std::set<Var>> stringVars; using IRRewriter::vi...
23.947368
80
0.570829
BillXu2000
a0e22a6b7c071bdaf85ba07f714893f84b8eed95
3,279
cpp
C++
VoDPlayer/playvideo.cpp
ckaraca/VoD
415590649053eb560ef094768bec210c4c0fe19f
[ "MIT" ]
3
2021-11-26T21:26:32.000Z
2022-01-09T20:54:49.000Z
VoDPlayer/playvideo.cpp
ckaraca/VoD
415590649053eb560ef094768bec210c4c0fe19f
[ "MIT" ]
null
null
null
VoDPlayer/playvideo.cpp
ckaraca/VoD
415590649053eb560ef094768bec210c4c0fe19f
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <dshow.h> #include "playvideo.h" HRESULT RunMedia() { HRESULT hr=S_OK; if (!pMC) return S_OK; // Start playback hr = pMC->Run(); if (FAILED(hr)) { TCHAR text[1024]; wsprintf(text,"Failed(%08lx) in Run()!",hr); MessageBox(NULL,text,"Warning",MB_IC...
18.844828
62
0.58341
ckaraca
a0e25729e02988bcc214b0de543ef707fe97c625
2,755
hpp
C++
src/feeless/Feework.hpp
johngreyland262/Stealth
0df75295fcc2c91ab591a4f1aaf6ba3d4cddc652
[ "MIT" ]
null
null
null
src/feeless/Feework.hpp
johngreyland262/Stealth
0df75295fcc2c91ab591a4f1aaf6ba3d4cddc652
[ "MIT" ]
null
null
null
src/feeless/Feework.hpp
johngreyland262/Stealth
0df75295fcc2c91ab591a4f1aaf6ba3d4cddc652
[ "MIT" ]
null
null
null
// Copyright (c) 2021 The Stealth Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "FeeworkBuffer.hpp" #include "script.h" #include "serialize.h" #include "json/json_spirit_utils.h" #ifndef _FEEWORK_H_...
28.697917
73
0.585481
johngreyland262
a0ef7c2b77ce7a048818c5222241feb77dbce8b1
111
cpp
C++
shaders/BlinnPhong.cpp
DomRe/3DRenderer
a43230704889e03206638f6bb74509541a610677
[ "MIT" ]
19
2020-02-02T16:36:46.000Z
2021-12-25T07:02:28.000Z
shaders/BlinnPhong.cpp
DomRe/3DRenderer
a43230704889e03206638f6bb74509541a610677
[ "MIT" ]
103
2020-10-13T09:03:42.000Z
2022-03-26T03:41:50.000Z
shaders/BlinnPhong.cpp
DomRe/3DRenderer
a43230704889e03206638f6bb74509541a610677
[ "MIT" ]
5
2020-03-13T06:14:37.000Z
2021-12-12T02:13:46.000Z
/// /// BlinnPhong.cpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #include "BlinnPhong.hpp"
13.875
42
0.630631
DomRe
a0f068c2def18eefcb8c1671e1cb6933b3982bcb
8,058
cpp
C++
src/Old/BSP.cpp
warzes/MicroDungeons
0df770288b3a16031434361e94c1d88413f84486
[ "MIT" ]
1
2022-03-15T22:29:07.000Z
2022-03-15T22:29:07.000Z
src/Old/BSP.cpp
warzes/MicroDungeons
0df770288b3a16031434361e94c1d88413f84486
[ "MIT" ]
null
null
null
src/Old/BSP.cpp
warzes/MicroDungeons
0df770288b3a16031434361e94c1d88413f84486
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "BSP.h" float planeDistance(const Vector3& normal, const float offset, const Vector3& point) { return point.x * normal.x + point.y * normal.y + point.z * normal.z + offset; } float planeDistance(const Vector4& plane, const Vector3& point) { return point.x * plane.x + point.y * plane.y +...
23.561404
133
0.604865
warzes
a0f0eaa9c386d3d81834d1ffef6f7571a5e1e94a
1,167
cc
C++
src/shared/network/TcpConnection.cc
PetrusZ/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
1
2021-07-28T11:02:46.000Z
2021-07-28T11:02:46.000Z
src/shared/network/TcpConnection.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
null
null
null
src/shared/network/TcpConnection.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
2
2016-02-25T12:49:14.000Z
2017-07-06T14:00:54.000Z
/* * ===================================================================================== * * Filename: TcpConnection.cc * * Description: TcpConnection * * Version: 1.0 * Created: 04/09/2015 10:58:36 AM * Revision: none * Compiler: gcc * * Author: Petrus ()...
24.3125
120
0.545844
PetrusZ
a0f10bdec479794cdf01861728d856006becb7dc
1,169
hpp
C++
include/nodamushi/svd/svd_printer.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
include/nodamushi/svd/svd_printer.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
include/nodamushi/svd/svd_printer.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
/*! @brief svd printer @file svd_printer.hpp */ /* * These codes are licensed under CC0. * http://creativecommons.org/publicdomain/zero/1.0/ */ #ifndef NODAMUSHI_SVD_SVD_PRINTER_HPP #define NODAMUSHI_SVD_SVD_PRINTER_HPP # include <ostream> # include <type_traits> # include <vector> # include <memory> # includ...
20.155172
88
0.719418
nodamushi
a0f464a418ab0949dab7b8c3a4c60a01a46b20cd
536
cc
C++
3_MoreBasics/Array.cc
p62jired/UdemyC
306abc808e90027b33cc9592bc973511028047cd
[ "MIT" ]
null
null
null
3_MoreBasics/Array.cc
p62jired/UdemyC
306abc808e90027b33cc9592bc973511028047cd
[ "MIT" ]
null
null
null
3_MoreBasics/Array.cc
p62jired/UdemyC
306abc808e90027b33cc9592bc973511028047cd
[ "MIT" ]
null
null
null
#include <iostream> int main() { float vector1[3]{}; float vector2[3]{}; std::cout << "Enter values for vector 1: " << std::endl; for (unsigned int i = 0; i < 3; i++) { std::cin >> vector1[i]; } std::cout << "Enter values for vector 2: " << std::endl; for (unsigned int i = 0; i ...
21.44
90
0.477612
p62jired
a0feb86e86c3f1e72a8157702df32cd2fa465618
1,780
hpp
C++
control/pure_pursuit/include/pure_pursuit/pure_pursuit_viz.hpp
KevinXie86/AutowareArchitectureProposal.iv
28c8c367652bcc5c2548abdab732e0fea7302653
[ "Apache-2.0" ]
88
2021-01-16T20:05:40.000Z
2022-03-21T05:40:35.000Z
control/pure_pursuit/include/pure_pursuit/pure_pursuit_viz.hpp
KevinXie86/AutowareArchitectureProposal.iv
28c8c367652bcc5c2548abdab732e0fea7302653
[ "Apache-2.0" ]
271
2021-01-13T16:54:09.000Z
2022-02-25T16:26:07.000Z
control/pure_pursuit/include/pure_pursuit/pure_pursuit_viz.hpp
KevinXie86/AutowareArchitectureProposal.iv
28c8c367652bcc5c2548abdab732e0fea7302653
[ "Apache-2.0" ]
68
2021-01-14T09:16:40.000Z
2022-03-29T02:15:36.000Z
// Copyright 2020 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...
39.555556
91
0.769101
KevinXie86
a0fecf6154d7f9cc4b5df0d690fc1632a4725a79
345
cpp
C++
chapter-6/6.18.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-6/6.18.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-6/6.18.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// a: bool compare(matrix &m1, matrix &m2); compare two matrix object, return true if the same, else false // b: vector<int>::iterator change_val(int i; vector<int>::iterator iter); change the element pointed by iter which is the second parameter, change the value of this element to i which is the first paremeter, retu...
115
237
0.762319
zero4drift
9d01c4fc3bae51c8efcf67b2796d44c882c961dd
9,306
cpp
C++
src/source/TMC2130Stepper.cpp
ManuelMcLure/TMCStepper
c425c40f0adfa24c1c21ce7d6428bcffc2c921ae
[ "MIT" ]
336
2018-03-26T13:51:46.000Z
2022-03-21T21:58:47.000Z
src/source/TMC2130Stepper.cpp
ManuelMcLure/TMCStepper
c425c40f0adfa24c1c21ce7d6428bcffc2c921ae
[ "MIT" ]
218
2017-07-28T06:13:53.000Z
2022-03-26T16:41:21.000Z
src/source/TMC2130Stepper.cpp
ManuelMcLure/TMCStepper
c425c40f0adfa24c1c21ce7d6428bcffc2c921ae
[ "MIT" ]
176
2018-09-11T22:16:27.000Z
2022-03-26T13:04:03.000Z
#include "TMCStepper.h" #include "TMC_MACROS.h" int8_t TMC2130Stepper::chain_length = 0; uint32_t TMC2130Stepper::spi_speed = 16000000/8; TMC2130Stepper::TMC2130Stepper(uint16_t pinCS, float RS, int8_t link) : TMCStepper(RS), _pinCS(pinCS), link_index(link) { defaults(); if (link > chain_length) ...
30.019355
133
0.645068
ManuelMcLure
9d02dcba37a0dcaaedbcb6d74e5e1acf0f49f9d3
6,216
cpp
C++
launcher/src/launcher/CInjector.cpp
norelock/Project-MP-1
31dbb5c74b29a47df4cf41280887a66794fdc5ff
[ "MIT" ]
1
2022-02-19T15:52:29.000Z
2022-02-19T15:52:29.000Z
launcher/src/launcher/CInjector.cpp
cleoppa/norasa
6f8d697922dca2fcc42a5830a384e790c687833a
[ "MIT" ]
2
2020-11-08T08:12:41.000Z
2022-01-08T07:20:45.000Z
launcher/src/launcher/CInjector.cpp
cleoppa/norasa
6f8d697922dca2fcc42a5830a384e790c687833a
[ "MIT" ]
3
2020-03-23T06:56:35.000Z
2021-06-06T02:30:06.000Z
#include "stdafx.h" static LONG NTAPI HandleVariant(PEXCEPTION_POINTERS exceptionInfo) { SetForegroundWindow(GetDesktopWindow()); return (exceptionInfo->ExceptionRecord->ExceptionCode == STATUS_INVALID_HANDLE) ? EXCEPTION_CONTINUE_EXECUTION : EXCEPTION_CONTINUE_SEARCH; } void InvokeEntryPoint(void(*entryPoint)()) {...
28
208
0.703507
norelock
9d09d7c85abdcb94da7757f19adf28a2b0649dbc
3,252
cpp
C++
src/contour.cpp
harry830622/fixed-outline-floorplanning
8fc1fc91f0e3329c6369c8b1f863bcce31465430
[ "MIT" ]
4
2019-07-02T18:15:01.000Z
2021-12-22T06:09:35.000Z
src/contour.cpp
harry830622/fixed-outline-floorplanning
8fc1fc91f0e3329c6369c8b1f863bcce31465430
[ "MIT" ]
null
null
null
src/contour.cpp
harry830622/fixed-outline-floorplanning
8fc1fc91f0e3329c6369c8b1f863bcce31465430
[ "MIT" ]
1
2016-12-07T15:13:07.000Z
2016-12-07T15:13:07.000Z
#include "./contour.hpp" using namespace std; Contour::Contour() : max_y_(0.0), coordinates_(1, Point(0.0, 0.0)) {} void Contour::Print(ostream& os, int indent_level) const { const int indent_size = 2; os << string(indent_level * indent_size, ' ') << "Contour:" << endl; ++indent_level; os << string(indent_le...
28.778761
80
0.609164
harry830622
9d0a5c1eb3fedf773cca9977047429dafb68b5a2
4,653
cpp
C++
src/cpp/pattern.cpp
stephenvrice/fuzzion2
84e146e1c2c57808c139da0a3286c61023ade2db
[ "Apache-2.0" ]
null
null
null
src/cpp/pattern.cpp
stephenvrice/fuzzion2
84e146e1c2c57808c139da0a3286c61023ade2db
[ "Apache-2.0" ]
null
null
null
src/cpp/pattern.cpp
stephenvrice/fuzzion2
84e146e1c2c57808c139da0a3286c61023ade2db
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------------ // // pattern.cpp - module supporting pattern sequences // // Author: Stephen V. Rice, Ph.D. // // Copyright 2021 St. Jude Children's Research Hospital // //----------------------------------------------------------------------------...
30.611842
86
0.585644
stephenvrice
9d0fd733e76327c3da08a2accade8de5cdb261ef
16,194
cpp
C++
src/oven/ovenProg.cpp
karwler/Thrones
75a8dd5abb7998c4ae86d34f470f532b387a35df
[ "WTFPL" ]
null
null
null
src/oven/ovenProg.cpp
karwler/Thrones
75a8dd5abb7998c4ae86d34f470f532b387a35df
[ "WTFPL" ]
null
null
null
src/oven/ovenProg.cpp
karwler/Thrones
75a8dd5abb7998c4ae86d34f470f532b387a35df
[ "WTFPL" ]
null
null
null
#include "oven.h" #include "utils/text.h" #include <iostream> #ifndef GL_BGR #define GL_BGR 0x80E0 #endif #ifndef GL_BGRA #define GL_BGRA 0x80E1 #endif constexpr char mtlKeywordNewmtl[] = "newmtl"; constexpr char argAudio = 'a'; constexpr char argMaterial = 'm'; constexpr char argObject = 'o'; constexpr char argShade...
29.659341
256
0.63715
karwler
9d118358c837793159452954f3d5cc18e83c62b4
1,493
cpp
C++
kernel/tasking/Task-Directory.cpp
harsh-kakasaniya55/skift
79ccaf5398cfb7921599105607ad6688ece452d8
[ "MIT" ]
null
null
null
kernel/tasking/Task-Directory.cpp
harsh-kakasaniya55/skift
79ccaf5398cfb7921599105607ad6688ece452d8
[ "MIT" ]
null
null
null
kernel/tasking/Task-Directory.cpp
harsh-kakasaniya55/skift
79ccaf5398cfb7921599105607ad6688ece452d8
[ "MIT" ]
null
null
null
#include "kernel/filesystem/Filesystem.h" #include "kernel/tasking/Task.h" Path *task_resolve_directory_internal(Task *task, const char *buffer) { lock_assert(task->directory_lock); Path *path = path_create(buffer); if (path_is_relative(path)) { Path *combined = path_combine(task->directory, ...
21.028169
69
0.674481
harsh-kakasaniya55
1dd7c55c54f15c4f4406de616e60768d61c25d48
324
cpp
C++
lib/src/auth/oauth2-auth.cpp
BramboraSK/imgbrd-grabber
ef718d4f7df7843f03f058959fbcc72e2ba54457
[ "Apache-2.0" ]
1
2019-08-03T13:11:11.000Z
2019-08-03T13:11:11.000Z
lib/src/auth/oauth2-auth.cpp
AtlasJan/imgbrd-grabber
89c1425a7d1340d99b98e3121ef981ed27c4ee9c
[ "Apache-2.0" ]
null
null
null
lib/src/auth/oauth2-auth.cpp
AtlasJan/imgbrd-grabber
89c1425a7d1340d99b98e3121ef981ed27c4ee9c
[ "Apache-2.0" ]
null
null
null
#include "auth/oauth2-auth.h" OAuth2Auth::OAuth2Auth(QString type, QString authType, QString tokenUrl) : Auth(std::move(type)), m_authType(std::move(authType)), m_tokenUrl(std::move(tokenUrl)) {} QString OAuth2Auth::authType() const { return m_authType; } QString OAuth2Auth::tokenUrl() const { return m_tokenUrl...
18
90
0.740741
BramboraSK
1ddb10f8fdf5da80a62e9c5274760ad0ca434da6
609
cpp
C++
PwnAdventure3/CWndProc.cpp
vm-enter/PwnAdventure3
579956d935bb8adc802281dd6df2050c3b4afb28
[ "MIT" ]
1
2021-02-24T03:52:56.000Z
2021-02-24T03:52:56.000Z
PwnAdventure3/CWndProc.cpp
vm-enter/PwnAdventure3
579956d935bb8adc802281dd6df2050c3b4afb28
[ "MIT" ]
null
null
null
PwnAdventure3/CWndProc.cpp
vm-enter/PwnAdventure3
579956d935bb8adc802281dd6df2050c3b4afb28
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CWndProc.hpp" CWndProc::CWndProc() { } CWndProc::~CWndProc() { } bool CWndProc::nativeEventFilter(const QByteArray &eventType, void *message, long *result) { MSG* msg = static_cast<MSG*>(message); if (this->m_handlers[msg->message]) return this->m_handlers[msg->message](msg->hwnd,...
19.645161
92
0.745484
vm-enter
1de098e2d7a1c14c15a12985fac9148f2d197c3b
2,189
hpp
C++
code/lock_free_stack.hpp
YXDsimon/Cpp-Concurrency-in-Action-2ed
1996091cd979fdd315edba5dc18ffa48d9f68961
[ "Apache-2.0" ]
1
2020-10-21T02:38:44.000Z
2020-10-21T02:38:44.000Z
code/lock_free_stack.hpp
YXDsimon/Cpp-Concurrency-in-Action-2ed
1996091cd979fdd315edba5dc18ffa48d9f68961
[ "Apache-2.0" ]
null
null
null
code/lock_free_stack.hpp
YXDsimon/Cpp-Concurrency-in-Action-2ed
1996091cd979fdd315edba5dc18ffa48d9f68961
[ "Apache-2.0" ]
null
null
null
#include <atomic> #include <memory> template<typename T> class lock_free_stack { struct node { std::shared_ptr<T> val; node* next; node(const T& x) : val(std::make_shared<T>(x)) {} }; std::atomic<node*> head; std::atomic<unsigned> cnt; // 调用pop的线程数 std::atomic<node*> toDel; ...
29.186667
84
0.544998
YXDsimon
1de766a772bee111233d86fe829a2514bef8acd6
345
cpp
C++
src/si_base/gpu/gfx_fence.cpp
acuvue1102/si_graphics
f285a5358fdb8f5b831fba0d7cae423ee79b36c5
[ "MIT" ]
null
null
null
src/si_base/gpu/gfx_fence.cpp
acuvue1102/si_graphics
f285a5358fdb8f5b831fba0d7cae423ee79b36c5
[ "MIT" ]
null
null
null
src/si_base/gpu/gfx_fence.cpp
acuvue1102/si_graphics
f285a5358fdb8f5b831fba0d7cae423ee79b36c5
[ "MIT" ]
null
null
null
#include "gfx_fence.h" namespace SI { GfxFenceEvent::GfxFenceEvent(BaseFenceEvent* base) : m_base(base) { } GfxFenceEvent::~GfxFenceEvent() { } ////////////////////////////////////////////////////////////////////////// GfxFence::GfxFence(BaseFence* base) : m_base(base) { } GfxFence::~GfxFence() ...
12.321429
75
0.504348
acuvue1102
1de8713e69d12cf845e1243dc3db28a36c157269
7,297
cc
C++
src/ranked_match.cc
ekie/kakoune
eace7e04246c6b56aed1edd78c3f8c9fb7cf4853
[ "Unlicense" ]
null
null
null
src/ranked_match.cc
ekie/kakoune
eace7e04246c6b56aed1edd78c3f8c9fb7cf4853
[ "Unlicense" ]
1
2017-03-01T03:51:43.000Z
2017-08-10T22:32:47.000Z
src/ranked_match.cc
ekie/kakoune
eace7e04246c6b56aed1edd78c3f8c9fb7cf4853
[ "Unlicense" ]
null
null
null
#include "ranked_match.hh" #include "flags.hh" #include "unit_tests.hh" #include "utf8_iterator.hh" #include <algorithm> namespace Kakoune { template<> struct WithBitOps<RankedMatch::Flags> : std::true_type {}; UsedLetters used_letters(StringView str) { UsedLetters res = 0; for (auto c : str) { ...
30.919492
95
0.592709
ekie
1de98eef4c955638c659874fb799b92e2cc31a9f
674
cpp
C++
snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.Contains Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.Contains Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.Contains Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
#using <System.Xml.dll> #using <System.Drawing.dll> #using <System.dll> #using <System.Windows.Forms.dll> #using <System.Data.dll> using namespace System; using namespace System::Data; using namespace System::Windows::Forms; public ref class Form1: public Form { protected: TextBox^ textBox1; // <Snippet1> priv...
24.071429
109
0.676558
BohdanMosiyuk
1ded817cdd0b5498dd8bfd7b1cd465ea88a5ab22
653
hpp
C++
include/RED4ext/Scripting/Natives/Generated/CParticleModificatorColorOverLife.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/CParticleModificatorColorOverLife.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/CParticleModificatorColorOverLife.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Handle.hpp> #include <RED4ext/Scripting/Natives/Generated/IParticleModificator.hpp> namespace RED4ext { struct IEvaluatorColor; struct CParticleModificatorColorOverLife : IPartic...
26.12
76
0.770291
jackhumbert
1df1776df3b13c82d2f34fb3362ac131ae063fae
2,346
cpp
C++
gmtl-0.6.1/python/src/gmtl/_AxisAngle_float.cpp
Glitch0011/QuadTree-Example
3558c999f68475bc98b8fa33b0f6d14076c9ec48
[ "MIT" ]
null
null
null
gmtl-0.6.1/python/src/gmtl/_AxisAngle_float.cpp
Glitch0011/QuadTree-Example
3558c999f68475bc98b8fa33b0f6d14076c9ec48
[ "MIT" ]
null
null
null
gmtl-0.6.1/python/src/gmtl/_AxisAngle_float.cpp
Glitch0011/QuadTree-Example
3558c999f68475bc98b8fa33b0f6d14076c9ec48
[ "MIT" ]
null
null
null
// GMTL is (C) Copyright 2001-2010 by Allen Bierbaum // Distributed under the GNU Lesser General Public License 2.1 with an // addendum covering inlined code. (See accompanying files LICENSE and // LICENSE.addendum or http://www.gnu.org/copyleft/lesser.txt) // This file was originally part of PyJuggler. // PyJuggler ...
46
144
0.595055
Glitch0011
1df251ac88934a99ca09a687bf7c4954e1d44292
15,423
cpp
C++
src/FreeStream.cpp
chunshen1987/freestream-milne
66a1b5e89e98df1dbbbd00c01f8466c50fa6bef6
[ "MIT" ]
1
2020-06-06T00:23:57.000Z
2020-06-06T00:23:57.000Z
src/FreeStream.cpp
chunshen1987/freestream-milne
66a1b5e89e98df1dbbbd00c01f8466c50fa6bef6
[ "MIT" ]
2
2018-06-25T21:39:07.000Z
2019-11-21T17:14:30.000Z
src/FreeStream.cpp
chunshen1987/freestream-milne
66a1b5e89e98df1dbbbd00c01f8466c50fa6bef6
[ "MIT" ]
2
2021-07-01T15:27:49.000Z
2021-07-09T22:50:22.000Z
#pragma once #include <math.h> #include "Parameter.h" #include "FSConfig.h" #include <iostream> #include <gsl/gsl_math.h> #include <gsl/gsl_interp2d.h> #include <gsl/gsl_spline2d.h> #include <gsl/gsl_errno.h> #ifdef _OPENACC #include <accelmath.h> #endif float getX(int is, parameters params) { int DIM_X = params.D...
36.897129
161
0.585943
chunshen1987
1df47f505274f6b641f4917d66d198dbe8076327
1,157
cpp
C++
src/note_event.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
1
2021-12-23T21:14:37.000Z
2021-12-23T21:14:37.000Z
src/note_event.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
src/note_event.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
#include "note_event.hpp" #include <iostream> #include <sstream> std::string noteString(uint8_t value) { std::ostringstream oss; const int note = value % 12; const int octave = value / 12; switch (note) { case 0: oss << "C"; break; case 1: oss << "Db"; break; case 2: oss << "D"; break; case 3: oss << "Eb...
22.25
92
0.583405
aalin
1dffbdd965ba555d344b22109b5990eb06e0d9c8
4,796
cpp
C++
src/obstruction_free_set.cpp
cconklin/nonblocking-tables
82acacbb16342ad36156931b9969674d85114d21
[ "MIT" ]
null
null
null
src/obstruction_free_set.cpp
cconklin/nonblocking-tables
82acacbb16342ad36156931b9969674d85114d21
[ "MIT" ]
null
null
null
src/obstruction_free_set.cpp
cconklin/nonblocking-tables
82acacbb16342ad36156931b9969674d85114d21
[ "MIT" ]
null
null
null
#include <obstruction_free_set.hpp> namespace nonblocking { obstruction_free_set::bucket::bucket(unsigned int k, bucket_state s) : key{k} { switch (s) { case empty: _state = 0; break; case busy: _state = 1; break; case inserting: _state = 2; break; ...
34.503597
170
0.535446
cconklin
3800db9462bd1a79b037a03e312688d396a94c93
1,099
cpp
C++
project/source/main.cpp
zeroZshadow/rehover
5219658b9877a9ea032a588aa95a6881ac37e92e
[ "Zlib", "CC-BY-4.0", "MIT" ]
12
2017-12-01T17:39:27.000Z
2021-06-24T10:46:38.000Z
project/source/main.cpp
hoverguys/rehover
5219658b9877a9ea032a588aa95a6881ac37e92e
[ "Zlib", "CC-BY-4.0", "MIT" ]
18
2017-11-25T20:30:44.000Z
2020-05-19T05:37:12.000Z
project/source/main.cpp
zeroZshadow/rehover
5219658b9877a9ea032a588aa95a6881ac37e92e
[ "Zlib", "CC-BY-4.0", "MIT" ]
1
2017-11-15T10:41:15.000Z
2017-11-15T10:41:15.000Z
#include "pchheader.h" #include <fat.h> #include <ogc/lwp_watchdog.h> #include "rendering/Graphics.h" #include "resources/MeshResource.h" #include "resources/ResourceLoader.h" #include "resources/TextureResource.h" #include "Game.h" int main() { // DEBUG: Enable USBGecko CON_EnableGecko(1, 0); // Initialize gra...
19.981818
79
0.706096
zeroZshadow
38039324eb48b34dfd0b4ddab097a50e0593669e
612
tpp
C++
src/hypro/algorithms/reachability/handlers/firstSegmentHandlers/timedElapseFirstSegmentHandler.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
22
2016-10-05T12:19:01.000Z
2022-01-23T09:14:41.000Z
src/hypro/algorithms/reachability/handlers/firstSegmentHandlers/timedElapseFirstSegmentHandler.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
23
2017-05-08T15:02:39.000Z
2021-11-03T16:43:39.000Z
src/hypro/algorithms/reachability/handlers/firstSegmentHandlers/timedElapseFirstSegmentHandler.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
12
2017-06-07T23:51:09.000Z
2022-01-04T13:06:21.000Z
#include "timedElapseFirstSegmentHandler.h" namespace hypro { template <typename State> void timedElapseFirstSegmentHandler<State>::handle() { assert( !this->mState->getTimestamp().isEmpty() ); // check if initial Valuation fulfills Invariant assert( this->mState->getLocation() != nullptr ); // set trafo and tran...
38.25
109
0.720588
hypro
38098d72dcd17a6ade69bd7828f3f93f0731be24
289
hpp
C++
include/constants/AttributeClassFile.hpp
vieiramanoel/SB_JVM_2019_1
779d080eeab258dad61bcee27dae92aa46ff0dec
[ "MIT" ]
null
null
null
include/constants/AttributeClassFile.hpp
vieiramanoel/SB_JVM_2019_1
779d080eeab258dad61bcee27dae92aa46ff0dec
[ "MIT" ]
5
2019-05-13T00:33:51.000Z
2019-07-09T12:10:12.000Z
include/constants/AttributeClassFile.hpp
vieiramanoel/SB_JVM_2019_1
779d080eeab258dad61bcee27dae92aa46ff0dec
[ "MIT" ]
null
null
null
#ifndef _AttributeClassFile_H_ #define _AttributeClassFile_H_ #include <string> struct AttributeClassFile { unsigned short int attribute_name_index; unsigned int attribute_length; unsigned short int sourcefile_index; std::string name; std::string sourcefile; }; #endif
24.083333
44
0.778547
vieiramanoel
380d5b4733eff0d227b82f3dfc41002e125e3796
11,180
cpp
C++
src/omnicore/rpcrequirements.cpp
TradeLayer/TradeLayer
2f1ea1d64870a34703d2f5d230830238c3923691
[ "MIT" ]
8
2018-11-27T15:43:22.000Z
2020-04-27T08:53:49.000Z
src/omnicore/rpcrequirements.cpp
TradeLayer/TradeLayer
2f1ea1d64870a34703d2f5d230830238c3923691
[ "MIT" ]
null
null
null
src/omnicore/rpcrequirements.cpp
TradeLayer/TradeLayer
2f1ea1d64870a34703d2f5d230830238c3923691
[ "MIT" ]
null
null
null
#include "omnicore/rpcrequirements.h" #include "omnicore/dex.h" #include "omnicore/mdex.h" #include "omnicore/omnicore.h" #include "omnicore/sp.h" #include "omnicore/utilsbitcoin.h" #include "omnicore/uint256_extensions.h" #include "arith_uint256.h" #include "amount.h" #include "validation.h" #include "rpc/protocol.h...
34.4
148
0.697585
TradeLayer
3811614c70e1229d3e10e94865bca17a7b30342d
5,302
hpp
C++
admm_anderson_xzu/src/PassiveObject.hpp
bldeng/AA-ADMM
d954518e8e379c378fd40ac72e2bcc64ff01cc57
[ "BSD-3-Clause" ]
21
2019-11-07T15:05:32.000Z
2021-11-07T00:40:12.000Z
admm_anderson_xzu/src/PassiveObject.hpp
wangxihao/AA-ADMM
d954518e8e379c378fd40ac72e2bcc64ff01cc57
[ "BSD-3-Clause" ]
null
null
null
admm_anderson_xzu/src/PassiveObject.hpp
wangxihao/AA-ADMM
d954518e8e379c378fd40ac72e2bcc64ff01cc57
[ "BSD-3-Clause" ]
5
2019-11-29T02:47:26.000Z
2022-03-08T07:00:44.000Z
// Original work Copyright (c) 2016, University of Minnesota // Modified work Copyright 2019, Yue Peng // // ADMM-Elastic Uses the BSD 2-Clause License (http://www.opensource.org/licenses/BSD-2-Clause) // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the...
34.206452
110
0.690117
bldeng
3817166aa422e1ba2b4d5b5e202b9fb0c080de96
1,116
cpp
C++
thread_base.cpp
MaciekMr/raspi-alarm
afb737dff7bb761c76496a7a1a2530bbc7b05969
[ "Apache-2.0" ]
null
null
null
thread_base.cpp
MaciekMr/raspi-alarm
afb737dff7bb761c76496a7a1a2530bbc7b05969
[ "Apache-2.0" ]
null
null
null
thread_base.cpp
MaciekMr/raspi-alarm
afb737dff7bb761c76496a7a1a2530bbc7b05969
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <pthread.h> #include <unistd.h> #include "thread_base.h" int CThreadBase::m_counter = 0; CThreadBase::CThreadBase(){ } CThreadBase::~CThreadBase(){ m_counter--; printf("thread counter=%d\n", m_counter); } template<class T> int CThreadBase::addNewThread(T * t){ return 0; } ...
21.882353
134
0.662186
MaciekMr
3817a0470fcf71361c0d06fc18442a0b43fade31
5,368
hpp
C++
modules/scene_manager/include/sensor_msgs/msg/magnetic_field__struct.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/sensor_msgs/msg/magnetic_field__struct.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/sensor_msgs/msg/magnetic_field__struct.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
// generated from rosidl_generator_cpp/resource/msg__struct.hpp.em // generated code does not contain a copyright notice #ifndef SENSOR_MSGS__MSG__MAGNETIC_FIELD__STRUCT_HPP_ #define SENSOR_MSGS__MSG__MAGNETIC_FIELD__STRUCT_HPP_ // Protect against ERROR being predefined on Windows, in case somebody defines a // const...
32.143713
162
0.755402
Omnirobotic
381c8c8b502d63608c75b2857ee17ce21100ac3a
22
cpp
C++
orion/SIM_link_wrapper.cpp
TomGlint/ANSim
f02edc65a80fbbcf3bc812f4f6841658571c2024
[ "MIT" ]
null
null
null
orion/SIM_link_wrapper.cpp
TomGlint/ANSim
f02edc65a80fbbcf3bc812f4f6841658571c2024
[ "MIT" ]
null
null
null
orion/SIM_link_wrapper.cpp
TomGlint/ANSim
f02edc65a80fbbcf3bc812f4f6841658571c2024
[ "MIT" ]
null
null
null
#include "SIM_link.c"
11
21
0.727273
TomGlint
381d49ca24dff0841fb92988abcf78c606fbf668
697
hpp
C++
trainer/igame.hpp
julienlopez/Aronda-RL
d93602d2ebab0a099f16d316b488f2d4a6713aaf
[ "MIT" ]
null
null
null
trainer/igame.hpp
julienlopez/Aronda-RL
d93602d2ebab0a099f16d316b488f2d4a6713aaf
[ "MIT" ]
1
2018-04-04T08:45:24.000Z
2018-04-04T08:45:24.000Z
trainer/igame.hpp
julienlopez/Aronda-RL
d93602d2ebab0a099f16d316b488f2d4a6713aaf
[ "MIT" ]
null
null
null
#pragma once #include "types.hpp" #include <boost/optional.hpp> namespace Aronda::Trainer { class IGame { public: using GameState = Aronda::State::GameState; /** * if s_ == boost::none, game is done */ struct MoveResult { boost::optional<GameState> new_state; double reward...
17
83
0.626973
julienlopez
381e8521ba4cdb56a0dab63f9a1b39a154394dee
3,306
hpp
C++
include/parse_ll/support/text_location_range.hpp
rogiervd/parse_ll
48969116f36f7c455e6f7e7cd64d273d7b6ec24e
[ "Apache-2.0" ]
1
2016-07-07T06:48:02.000Z
2016-07-07T06:48:02.000Z
include/parse_ll/support/text_location_range.hpp
rogiervd/parse_ll
48969116f36f7c455e6f7e7cd64d273d7b6ec24e
[ "Apache-2.0" ]
null
null
null
include/parse_ll/support/text_location_range.hpp
rogiervd/parse_ll
48969116f36f7c455e6f7e7cd64d273d7b6ec24e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2012, 2015 Rogier van Dalen. 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 writing, ...
32.732673
76
0.677556
rogiervd
382189ffd3be71a77a21e0e7686ce35ab4d04007
905
cpp
C++
solutions/AtCoder/agc033/B.cpp
yumeno-ukihashi/competitive-programming
5cc3a7938b62133d8dc71a179cb11dfe985315d3
[ "Unlicense" ]
null
null
null
solutions/AtCoder/agc033/B.cpp
yumeno-ukihashi/competitive-programming
5cc3a7938b62133d8dc71a179cb11dfe985315d3
[ "Unlicense" ]
null
null
null
solutions/AtCoder/agc033/B.cpp
yumeno-ukihashi/competitive-programming
5cc3a7938b62133d8dc71a179cb11dfe985315d3
[ "Unlicense" ]
null
null
null
#include<bits/stdc++.h> #define REP(x,y,z) for(int x=y;x<=z;x++) #define MSET(x,y) memset(x,y,sizeof(x)) #define M 200005 using namespace std; int n,m,q,sx,sy; char s[M], t[M]; int main() { while (~scanf("%d %d %d",&n,&m,&q)) { scanf("%d %d",&sx,&sy); scanf("%s", s+1); scanf("%s", t+1); ...
23.815789
75
0.38011
yumeno-ukihashi
3823001e720332f8be12930b99d8f8efba1eab84
5,685
cpp
C++
diagnostic.cpp
LarryTheKing/G8
36f4d90769359b6d5e28b67700957b3e79a457c3
[ "Apache-2.0" ]
null
null
null
diagnostic.cpp
LarryTheKing/G8
36f4d90769359b6d5e28b67700957b3e79a457c3
[ "Apache-2.0" ]
6
2015-03-03T05:37:21.000Z
2015-03-30T01:07:38.000Z
diagnostic.cpp
LarryTheKing/G8
36f4d90769359b6d5e28b67700957b3e79a457c3
[ "Apache-2.0" ]
null
null
null
#include "diagnostic.h" #include "ui.h" #include "global.h" #include "robot.h" #include "devices.h" #include <FEHBuzzer.h> #include <FEHServo.h> #include <new> namespace G8 { namespace Tasks { #define TASK_RESULT_QUIT 0x20000000 TASK_RESULT Quit(Robot * const pRob) { return TASK_RESULT_SUCCESS | TASK_RESULT_...
25.840909
122
0.594371
LarryTheKing
3824d63b2b48d7b09e5ba9505e2e56d2eeb66c6d
3,978
cpp
C++
Marlin/src/lcd/e3v2/enhanced/meshviewer.cpp
tom-2273/Tronxy_SKR_mini_E3_V20
bc4a8dc2c6c627e4bd7aa423794246f5b051448d
[ "CC0-1.0" ]
null
null
null
Marlin/src/lcd/e3v2/enhanced/meshviewer.cpp
tom-2273/Tronxy_SKR_mini_E3_V20
bc4a8dc2c6c627e4bd7aa423794246f5b051448d
[ "CC0-1.0" ]
null
null
null
Marlin/src/lcd/e3v2/enhanced/meshviewer.cpp
tom-2273/Tronxy_SKR_mini_E3_V20
bc4a8dc2c6c627e4bd7aa423794246f5b051448d
[ "CC0-1.0" ]
null
null
null
/** * DWIN Mesh Viewer * Author: Miguel A. Risco-Castillo * version: 3.8.1 * Date: 2021/11/06 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the License, or...
38.621359
125
0.620664
tom-2273
3826e20fdfad22e3f28b2c694277c22dd57dce0a
110
cpp
C++
src/server/module_version.cpp
mvolosin/kurento-module-sampleplugin-js-MV
5caf3931e1c0d11676ec580e3db374185444aff7
[ "MIT" ]
null
null
null
src/server/module_version.cpp
mvolosin/kurento-module-sampleplugin-js-MV
5caf3931e1c0d11676ec580e3db374185444aff7
[ "MIT" ]
null
null
null
src/server/module_version.cpp
mvolosin/kurento-module-sampleplugin-js-MV
5caf3931e1c0d11676ec580e3db374185444aff7
[ "MIT" ]
null
null
null
extern "C" {const char * getModuleVersion ();} const char * getModuleVersion () {return "0.0.1-dev";}
36.666667
58
0.627273
mvolosin
38290813d441d36df71959baaf0b954b1e90c4d1
68,941
cc
C++
libs/tensorflow/include/tensorflow/core/protobuf/config.pb_text.cc
federicohyo/ofxTensorFlow
517d38e67bf12b5439468d5320c998f0714caaac
[ "Apache-2.0" ]
null
null
null
libs/tensorflow/include/tensorflow/core/protobuf/config.pb_text.cc
federicohyo/ofxTensorFlow
517d38e67bf12b5439468d5320c998f0714caaac
[ "Apache-2.0" ]
null
null
null
libs/tensorflow/include/tensorflow/core/protobuf/config.pb_text.cc
federicohyo/ofxTensorFlow
517d38e67bf12b5439468d5320c998f0714caaac
[ "Apache-2.0" ]
null
null
null
// GENERATED FILE - DO NOT MODIFY #include <algorithm> #include "tensorflow/core/protobuf/config.pb_text-impl.h" using ::tensorflow::strings::Scanner; using ::tensorflow::strings::StrCat; namespace tensorflow { string ProtoDebugString( const ::tensorflow::GPUOptions_Experimental_VirtualDevices& msg) { string...
34.505005
139
0.658244
federicohyo
3829853774baf123933a029694165975c5f1743b
3,393
cpp
C++
tests/src/ipc/hipMultiProcIpcMem.cpp
keryell/HIP
a296100da7bb61ae4fcf3195558b3b7c2e435124
[ "MIT" ]
null
null
null
tests/src/ipc/hipMultiProcIpcMem.cpp
keryell/HIP
a296100da7bb61ae4fcf3195558b3b7c2e435124
[ "MIT" ]
null
null
null
tests/src/ipc/hipMultiProcIpcMem.cpp
keryell/HIP
a296100da7bb61ae4fcf3195558b3b7c2e435124
[ "MIT" ]
null
null
null
/* Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc. All rights reserved. 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, c...
32.625
100
0.717359
keryell
382a5eaf127ba3cb291180a668c455d5340bedb3
78
hpp
C++
include/difficulty.hpp
joshua-kent/guessmynumber
a908db14a9869c1c4c66241e72907a755fa839d8
[ "MIT" ]
null
null
null
include/difficulty.hpp
joshua-kent/guessmynumber
a908db14a9869c1c4c66241e72907a755fa839d8
[ "MIT" ]
null
null
null
include/difficulty.hpp
joshua-kent/guessmynumber
a908db14a9869c1c4c66241e72907a755fa839d8
[ "MIT" ]
null
null
null
#ifndef DIFFICULTY_HPP #define DIFFICULTY_HPP int difficultyPrompt(); #endif
13
23
0.820513
joshua-kent
382c28ab8a513f45e9ae830949841ff4f16c033f
5,460
cc
C++
src/elle/reactor/rw-mutex.cc
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
src/elle/reactor/rw-mutex.cc
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
src/elle/reactor/rw-mutex.cc
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
#include <elle/assert.hh> #include <elle/log.hh> #include <elle/reactor/rw-mutex.hh> #include <elle/reactor/scheduler.hh> #include <elle/reactor/Thread.hh> ELLE_LOG_COMPONENT("elle.reactor.RWMutex"); namespace elle { namespace reactor { /*-------. | Signal | `-------*/ Thread* RWMutex::WriteM...
25.045872
75
0.521612
infinitio
38319d18fe53353554daa2677cf52ab0bb4f231b
10,735
cpp
C++
master/core/third/libtorrent/src/natpmp.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/libtorrent/src/natpmp.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/libtorrent/src/natpmp.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:49.000Z
2018-12-27T03:20:31.000Z
/* Copyright (c) 2007, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
26.904762
97
0.69306
importlib
3833f7e3656e4bdbc0a4a1dfeeaa51d4be2b06d3
1,325
cc
C++
code/addons/audio2/fmodcoreaudio/fmoderror.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/addons/audio2/fmodcoreaudio/fmoderror.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/addons/audio2/fmodcoreaudio/fmoderror.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // fmoderror.cc // (C) 2009 Radon Labs GmbH // (C) 2013-2014 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "audio2/fmodcoreaudio/f...
32.317073
125
0.504151
gscept