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
4b78a561e47fe37063b4d7b32c57d9033532bfb0
1,415
cpp
C++
examples/EnsembledCrash.cpp
acpaquette/deepstate
6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e
[ "Apache-2.0" ]
684
2018-02-18T18:04:23.000Z
2022-03-26T06:18:39.000Z
examples/EnsembledCrash.cpp
acpaquette/deepstate
6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e
[ "Apache-2.0" ]
273
2018-02-18T04:01:36.000Z
2022-02-09T16:07:38.000Z
examples/EnsembledCrash.cpp
acpaquette/deepstate
6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e
[ "Apache-2.0" ]
77
2018-02-19T00:18:33.000Z
2022-03-16T04:12:09.000Z
/* * Copyright (c) 2019 Trail of Bits, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
28.877551
75
0.671378
acpaquette
4b7dbe4c07d1aea493805c6e9c7c0557ee55ed6c
1,898
hpp
C++
src/bindings/cpp/include/kdbplugin.hpp
pinotree/libelektra
77696c82bea2ca58ac1636df58f3dcb06b028228
[ "BSD-3-Clause" ]
null
null
null
src/bindings/cpp/include/kdbplugin.hpp
pinotree/libelektra
77696c82bea2ca58ac1636df58f3dcb06b028228
[ "BSD-3-Clause" ]
null
null
null
src/bindings/cpp/include/kdbplugin.hpp
pinotree/libelektra
77696c82bea2ca58ac1636df58f3dcb06b028228
[ "BSD-3-Clause" ]
null
null
null
/** * @file * * @brief Helpers for creating plugins * * Make sure to include kdberrors.h before including this file if you want * warnings/errors to be added. * * Proper usage: * @code using namespace ckdb; #include <kdberrors.h> #include <kdbplugin.hpp> typedef Delegator<elektra::YourPluginClass> YPC; // the...
21.325843
114
0.689146
pinotree
4b7ede277a45c884ce5e14d1107c6e531948d4ab
371
cpp
C++
C++ Contribution/Possible Combination Problem.cpp
katsuNakajima/Hacktoberfest
ecd09627c5ca2defd08d048d11b5660a78df481c
[ "MIT" ]
1
2021-10-31T11:28:29.000Z
2021-10-31T11:28:29.000Z
C++ Contribution/Possible Combination Problem.cpp
katsuNakajima/Hacktoberfest
ecd09627c5ca2defd08d048d11b5660a78df481c
[ "MIT" ]
1
2021-11-13T18:27:21.000Z
2021-11-13T18:27:21.000Z
C++ Contribution/Possible Combination Problem.cpp
katsuNakajima/Hacktoberfest
ecd09627c5ca2defd08d048d11b5660a78df481c
[ "MIT" ]
1
2021-10-31T11:28:31.000Z
2021-10-31T11:28:31.000Z
#include <iostream> using namespace std; int main() { int factorial = 1; int num1,num2,arrangements,i; cout<<"Enter Number of Guests: "; cin>>num1; cout<<"Enter Number of Chairs: "; cin>>num2; for (i = 1; i<=num1; i++) { factorial = factorial*i; } arrangements = factorial/(num1-num2); cout<<"Possib...
19.526316
51
0.638814
katsuNakajima
4b8a4fcb6b3238e3a5ba1d952f252cdb7c03851a
33,701
cpp
C++
export/release/macos/obj/src/FirstBootState.cpp
BushsHaxs/DOKIDOKI-MAC
22729124a0b7b637d56ff3b18acb555ec05934f1
[ "Apache-2.0" ]
null
null
null
export/release/macos/obj/src/FirstBootState.cpp
BushsHaxs/DOKIDOKI-MAC
22729124a0b7b637d56ff3b18acb555ec05934f1
[ "Apache-2.0" ]
null
null
null
export/release/macos/obj/src/FirstBootState.cpp
BushsHaxs/DOKIDOKI-MAC
22729124a0b7b637d56ff3b18acb555ec05934f1
[ "Apache-2.0" ]
1
2021-12-11T09:19:29.000Z
2021-12-11T09:19:29.000Z
#include <hxcpp.h> #ifndef INCLUDED_Controls #include <Controls.h> #endif #ifndef INCLUDED_CoolUtil #include <CoolUtil.h> #endif #ifndef INCLUDED_FirstBootState #include <FirstBootState.h> #endif #ifndef INCLUDED_LangUtil #include <LangUtil.h> #endif #ifndef INCLUDED_MusicBeatState #include <MusicBeatState.h> #endif #...
50.831071
387
0.68722
BushsHaxs
4b91b0f9fe178a22024479cf967d1b16dc4dbe2e
6,467
cpp
C++
OpenSimRoot/src/modules/WaterModule/WaterUptakeByRoots.cpp
nb-e/OpenRootSim
aaa1cd18e94ebf613c28737842401daba3b8d5ef
[ "BSD-3-Clause" ]
1
2021-08-03T00:52:58.000Z
2021-08-03T00:52:58.000Z
OpenSimRoot/src/modules/WaterModule/WaterUptakeByRoots.cpp
nb-e/OpenRootSim
aaa1cd18e94ebf613c28737842401daba3b8d5ef
[ "BSD-3-Clause" ]
null
null
null
OpenSimRoot/src/modules/WaterModule/WaterUptakeByRoots.cpp
nb-e/OpenRootSim
aaa1cd18e94ebf613c28737842401daba3b8d5ef
[ "BSD-3-Clause" ]
1
2021-08-03T00:52:59.000Z
2021-08-03T00:52:59.000Z
/* Copyright © 2016, The Pennsylvania State University All rights reserved. Copyright © 2016 Forschungszentrum Jülich GmbH All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted under the GNU General Public License v3 and provided that the following conditi...
37.381503
755
0.772692
nb-e
4b9572f3d61de9388831bfdd40a78ae7f07c14db
3,409
hpp
C++
external/boost_1_60_0/qsboost/smart_ptr/detail/sp_counted_base.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/smart_ptr/detail/sp_counted_base.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/smart_ptr/detail/sp_counted_base.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
#ifndef QSBOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED #define QSBOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // // detail/sp_counted_base.hpp // // Copyright 2005-2013 Peter Dimov // // D...
36.265957
144
0.779114
wouterboomsma
4b9e620559db53c441cff1aeaaf21b598bec79e3
13,715
cpp
C++
Code/Components/PlayerComponent.cpp
Battledrake/CryShooter
42184444606e1dfd41c963c87f8d16bfef8656a1
[ "MIT" ]
1
2021-10-11T12:46:59.000Z
2021-10-11T12:46:59.000Z
Code/Components/PlayerComponent.cpp
Battledrake/CryShooter
42184444606e1dfd41c963c87f8d16bfef8656a1
[ "MIT" ]
null
null
null
Code/Components/PlayerComponent.cpp
Battledrake/CryShooter
42184444606e1dfd41c963c87f8d16bfef8656a1
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "PlayerComponent.h" #include <CrySchematyc/Env/IEnvRegistrar.h> #include <CrySchematyc/Env/Elements/EnvComponent.h> #include <CryCore/StaticInstanceList.h> #include "Components/CharacterComponent.h" namespace { static void RegisterPlayerComponent(Schematyc::IEnvRegistrar& registrar) { ...
32.732697
192
0.741816
Battledrake
4b9f3cea2d12514a0b68770f7c965e39c90e1a91
2,838
cpp
C++
src/Adafruit_I2CRegister.cpp
nrobinson2000/Adafruit_VEML7700
ad29bfb331ad08ed6e40de68abae6455f99760bf
[ "BSD-3-Clause" ]
3
2019-07-19T23:47:53.000Z
2019-07-22T03:45:10.000Z
src/Adafruit_I2CRegister.cpp
nrobinson2000/Adafruit_VEML7700
ad29bfb331ad08ed6e40de68abae6455f99760bf
[ "BSD-3-Clause" ]
1
2019-11-15T22:59:55.000Z
2019-11-15T22:59:55.000Z
src/Adafruit_I2CRegister.cpp
nrobinson2000/Adafruit_VEML7700
ad29bfb331ad08ed6e40de68abae6455f99760bf
[ "BSD-3-Clause" ]
null
null
null
#include "Adafruit_I2CRegister.h" Adafruit_I2CRegister::Adafruit_I2CRegister(Adafruit_I2CDevice *device, uint16_t reg_addr, uint8_t width, uint8_t bitorder, uint8_t address_width) { _device = device; _addrwidth = address_width; _address = reg_addr; _bitorder = bitorder; _width = width; } bool Adafruit_I2CR...
22
147
0.634249
nrobinson2000
4ba1b62c5c53e99eaca43b4436efb9366426c299
4,566
cpp
C++
share/crts/plugins/Filters/readline.cpp
xywzwd/VT-Wireless
ec42e742e2be26310df4b25cef9cea873896890b
[ "MIT" ]
6
2019-01-05T08:30:32.000Z
2022-03-10T08:19:57.000Z
share/crts/plugins/Filters/readline.cpp
xywzwd/VT-Wireless
ec42e742e2be26310df4b25cef9cea873896890b
[ "MIT" ]
4
2019-10-18T14:31:04.000Z
2020-10-16T16:52:30.000Z
share/crts/plugins/Filters/readline.cpp
xywzwd/VT-Wireless
ec42e742e2be26310df4b25cef9cea873896890b
[ "MIT" ]
5
2017-05-12T21:24:18.000Z
2022-03-10T08:20:02.000Z
#include <stdio.h> #include <errno.h> #include <string.h> #include <stdlib.h> #include <readline/readline.h> #include <readline/history.h> #include "crts/debug.h" #include "crts/Filter.hpp" #include "crts/crts.hpp" // for: FILE *crtsOut #define BUFLEN 1024 class Readline : public CRTSFilter { public: ...
21.041475
82
0.529566
xywzwd
4baa902f1c857f5cf35594d184ad7999702e3e25
1,043
cpp
C++
terminal/connimpls/TextCodecsDialog.cpp
chivstyle/comxd
d3eb006f866faf22cc8e1524afa0d99ae2049f79
[ "MIT" ]
null
null
null
terminal/connimpls/TextCodecsDialog.cpp
chivstyle/comxd
d3eb006f866faf22cc8e1524afa0d99ae2049f79
[ "MIT" ]
null
null
null
terminal/connimpls/TextCodecsDialog.cpp
chivstyle/comxd
d3eb006f866faf22cc8e1524afa0d99ae2049f79
[ "MIT" ]
null
null
null
// // (c) 2020 chiv // #include "terminal_rc.h" #include "TextCodecsDialog.h" #include "CodecFactory.h" TextCodecsDialog::TextCodecsDialog(const char* name) { CtrlLayout(*this); // this->Title(t_("Select a text codec")); this->Icon(terminal::text_codec()); // auto codec_names = CodecFactory::I...
22.191489
70
0.610738
chivstyle
4baecd5806579f89491db2fd56bdba15f2b80c43
398
cc
C++
src/rpcz/singleton_service_factory.cc
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
4
2015-06-14T13:38:40.000Z
2020-11-07T02:29:59.000Z
src/rpcz/singleton_service_factory.cc
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
1
2015-06-19T07:54:53.000Z
2015-11-12T10:38:21.000Z
src/rpcz/singleton_service_factory.cc
jinq0123/rpcz
d273dc1a8de770cb4c2ddee98c17ce60c657d6ca
[ "Apache-2.0" ]
3
2015-06-15T02:28:39.000Z
2018-10-18T11:02:59.000Z
// Author: Jin Qing (http://blog.csdn.net/jq0123) #include <rpcz/singleton_service_factory.hpp> #include <boost/make_shared.hpp> #include <rpcz/mono_state_service.hpp> namespace rpcz { singleton_service_factory::singleton_service_factory(iservice& svc) : service_(svc) { } iservice* singleton_service_factory::...
18.952381
67
0.761307
jinq0123
4bb42b810567dbe097568b23e35fd8026be52179
332
hpp
C++
dynamic/wrappers/cell_based/AbstractCellPopulationBoundaryCondition3_3.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/cell_based/AbstractCellPopulationBoundaryCondition3_3.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/cell_based/AbstractCellPopulationBoundaryCondition3_3.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#ifndef AbstractCellPopulationBoundaryCondition3_3_hpp__pyplusplus_wrapper #define AbstractCellPopulationBoundaryCondition3_3_hpp__pyplusplus_wrapper namespace py = pybind11; void register_AbstractCellPopulationBoundaryCondition3_3_class(py::module &m); #endif // AbstractCellPopulationBoundaryCondition3_3_hpp__pyplusp...
47.428571
78
0.915663
jmsgrogan
4bb4d54b0dff96d9c2763aae213775de552d7c5c
4,830
cxx
C++
plugins/examples/noise.cxx
kahlertfr/cgv
a48139eb8af777ab63c78c09fc6aa44592908bc7
[ "BSD-3-Clause" ]
null
null
null
plugins/examples/noise.cxx
kahlertfr/cgv
a48139eb8af777ab63c78c09fc6aa44592908bc7
[ "BSD-3-Clause" ]
null
null
null
plugins/examples/noise.cxx
kahlertfr/cgv
a48139eb8af777ab63c78c09fc6aa44592908bc7
[ "BSD-3-Clause" ]
null
null
null
#include <cgv/gui/provider.h> #include <cgv/gui/dialog.h> #include <cgv/gui/file_dialog.h> #include <cgv/data/data_format.h> #include <cgv/os/clipboard.h> #include <cgv/data/data_view.h> #include <cgv/media/image/image_writer.h> #include <cgv/render/drawable.h> #include <cgv/render/context.h> #include <cgv/render/textu...
30.764331
131
0.68323
kahlertfr
4bb9ead4e506077a4414a01d0d8c39b7458eb9d3
1,508
cpp
C++
src/tests/src/loader/token-test.cpp
Penguin-Guru/imgbrd-grabber
69bdd5566dc2b2cb3a67456bf1a159d544699bc9
[ "Apache-2.0" ]
1,449
2015-03-16T02:21:41.000Z
2022-03-31T22:49:10.000Z
src/tests/src/loader/token-test.cpp
sisco0/imgbrd-grabber
89bf97ccab3df62286784baac242f00bf006d562
[ "Apache-2.0" ]
2,325
2015-03-16T02:23:30.000Z
2022-03-31T21:38:26.000Z
src/tests/src/loader/token-test.cpp
evanjs/imgbrd-grabber
491f8f3c05be3fc02bc10007735c5afa19d47449
[ "Apache-2.0" ]
242
2015-03-22T11:00:54.000Z
2022-03-31T12:37:15.000Z
#include "loader/token.h" #include "catch.h" TEST_CASE("Token") { SECTION("LazyNotCalled") { int callCount = 0; Token token([&callCount]() { return ++callCount; }); REQUIRE(callCount == 0); } SECTION("LazyWithCaching") { int callCount = 0; Token token([&callCount]() { return ++callCount; }, true); ...
19.842105
91
0.596154
Penguin-Guru
4bbedc44c3bc6733c71401f63541e7b6d10c51c7
7,795
cpp
C++
test/readme-example.cpp
gabrielheinrich/pure-cpp
c774b135745bbb8b47a5bdfd728063e4ea0268fb
[ "BSL-1.0" ]
8
2019-06-27T02:28:03.000Z
2021-12-16T17:57:22.000Z
test/readme-example.cpp
gabrielheinrich/pure-cpp
c774b135745bbb8b47a5bdfd728063e4ea0268fb
[ "BSL-1.0" ]
null
null
null
test/readme-example.cpp
gabrielheinrich/pure-cpp
c774b135745bbb8b47a5bdfd728063e4ea0268fb
[ "BSL-1.0" ]
null
null
null
#if defined(__GNUC__) #pragma GCC diagnostic ignored "-Wunused-comparison" #pragma GCC diagnostic ignored "-Wunused-variable" #endif #if defined (_MSC_VER) #pragma warning (disable : 4553 4834 4521) #endif #include <pure/core.hpp> // Not strictly necessary but highly recommended using namespace pure; int main() { ...
28.658088
82
0.515202
gabrielheinrich
4bbfdcd60fab0aa46b4517c697884bd31f954f5d
7,617
cpp
C++
gloom/src/Stars.cpp
DennisNTNU/TDT4230-Project
be84beb61c9e7dadf27b4b4752fa157e6843cf14
[ "MIT" ]
null
null
null
gloom/src/Stars.cpp
DennisNTNU/TDT4230-Project
be84beb61c9e7dadf27b4b4752fa157e6843cf14
[ "MIT" ]
null
null
null
gloom/src/Stars.cpp
DennisNTNU/TDT4230-Project
be84beb61c9e7dadf27b4b4752fa157e6843cf14
[ "MIT" ]
null
null
null
#include "Stars.h" #include <iostream> #include "Asterism.h" Stars::Stars(Gloom::Shader * shader, std::string starChartPath) { _shader = shader; _modelMatrix = glm::mat4(1.0f); if (readStarChart(starChartPath)) { std::cout << "Failed to read starchart file!" << std::endl; } initVAO_Stars(); ini...
29.183908
194
0.64251
DennisNTNU
4bc3323da969d2e0b764d6a19c6cf7cda8ac9f12
168
cpp
C++
demos/http_demo.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-11T14:53:38.000Z
2020-07-11T14:53:38.000Z
demos/http_demo.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-04T16:45:49.000Z
2020-07-04T16:45:49.000Z
demos/http_demo.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
null
null
null
#include "http_demo.hpp" namespace rhizome { namespace demo { void http_demo() { rn::HTTPServer server(8080,10); } } }
16.8
43
0.505952
nathanmullenax83
4bc55f3f6bb87df6369b1e16fd70729bbd6073e9
782
cpp
C++
src/resource/MemoryResource.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
src/resource/MemoryResource.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
src/resource/MemoryResource.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory // // Created by David Beckingsale, david@llnl.gov // LLNL-CODE-747640 // // All rights reserved. // // This file is ...
28.962963
78
0.588235
nanzifan
4bccfc4405c2707254a17efe77467f5d02c2b41d
1,664
cpp
C++
leetcode/medianoftwosortedarray.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
leetcode/medianoftwosortedarray.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
leetcode/medianoftwosortedarray.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
class Solution { public: double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) { int m=nums1.size(); int n=nums2.size(); int total = m+n; if(total & 0x1){ return find_kth(nums1,m,nums2,n,total/2+1); }else{ return (find...
29.714286
79
0.484375
WIZARD-CXY
4bd04aa516001a5c045a170b82b15a96af0ac994
655
hpp
C++
EngineBuilder/PolluxEngineSolution.hpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
3
2020-05-19T20:24:28.000Z
2020-09-27T11:28:42.000Z
EngineBuilder/PolluxEngineSolution.hpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
31
2020-05-27T11:01:27.000Z
2020-08-08T15:53:23.000Z
EngineBuilder/PolluxEngineSolution.hpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
null
null
null
/***************************************************************************************************************************** * Copyright 2020 Gabriel Gheorghe. All rights reserved. * This code is licensed under the BSD 3-Clause "New" or "Revised" License * License url: https://github.com/GabyForceQ/PolluxEngine/bl...
40.9375
127
0.470229
GabyForceQ
4bd14f533a2faca521e7265842253784514442c5
1,517
cc
C++
src/file.cc
cloudcosmonaut/Browser
4534b66266d73afdd8c80bea437a740b87e8c645
[ "MIT" ]
null
null
null
src/file.cc
cloudcosmonaut/Browser
4534b66266d73afdd8c80bea437a740b87e8c645
[ "MIT" ]
null
null
null
src/file.cc
cloudcosmonaut/Browser
4534b66266d73afdd8c80bea437a740b87e8c645
[ "MIT" ]
null
null
null
#include "file.h" #include <fstream> #include <sstream> #include <stdexcept> #ifdef LEGACY_CXX #include <experimental/filesystem> namespace n_fs = ::std::experimental::filesystem; #else #include <filesystem> namespace n_fs = ::std::filesystem; #endif /** * \brief Read file from disk * \param path File path location...
24.467742
86
0.685564
cloudcosmonaut
4bd282131724cd9b6e178bef15c75c41aef3c691
1,515
cpp
C++
engine/XML/custom_maps/source/XMLMapCoordinateReader.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/XML/custom_maps/source/XMLMapCoordinateReader.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/XML/custom_maps/source/XMLMapCoordinateReader.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "RNG.hpp" #include "XMLMapCoordinateReader.hpp" using namespace std; // Given a parent node, which may have either a Coord or a Random element (xs:choice), // parse it and return an engine Coordinate. Coordinate XMLMapCoordinateReader::parse_coordinate(const XMLNode& parent_node) { Coordinate c(0,0); XM...
25.677966
97
0.729373
sidav
4bd2b31960fe1d09770065136c147f3a38afa175
2,012
cpp
C++
the_concepts_and_practice_of_math_fin/Project5/ProjectB_7/test_framework/asian_ql.cpp
calvin456/intro_derivative_pricing
0841fbc0344bee00044d67977faccfd2098b5887
[ "MIT" ]
5
2016-12-28T16:07:38.000Z
2022-03-11T09:55:57.000Z
the_concepts_and_practice_of_math_fin/Project5/ProjectB_7/test_framework/asian_ql.cpp
calvin456/intro_derivative_pricing
0841fbc0344bee00044d67977faccfd2098b5887
[ "MIT" ]
null
null
null
the_concepts_and_practice_of_math_fin/Project5/ProjectB_7/test_framework/asian_ql.cpp
calvin456/intro_derivative_pricing
0841fbc0344bee00044d67977faccfd2098b5887
[ "MIT" ]
5
2017-06-04T04:50:47.000Z
2022-03-17T17:41:16.000Z
//asian_ql.cpp //Wrapper function. Computes semi-analytical heston w/ QuantLib //ref. quantlib asianoption.cpp #include "asian_ql.h" double asian_geo_call_ql(const Date& todaysDate_, const Date& settlementDate_, const Date& maturity_, Real spot_, Real strike, Size m, Spread dividendYield, Rate riskFreeRate, V...
28.742857
112
0.772366
calvin456
4bd36c6e161394eb98a9dd0788b28ef2dc4012aa
359
cpp
C++
src/Pizza/Americana.cpp
HugoPrat/Multi-process-threads-plazza-Cpp
ef97968a360e77ebeed69a96e44ed801c40e6509
[ "0BSD" ]
3
2019-12-01T10:18:12.000Z
2020-02-22T10:54:36.000Z
src/Pizza/Americana.cpp
HugoPrat/Multi-process-threads-plazza-Cpp
ef97968a360e77ebeed69a96e44ed801c40e6509
[ "0BSD" ]
null
null
null
src/Pizza/Americana.cpp
HugoPrat/Multi-process-threads-plazza-Cpp
ef97968a360e77ebeed69a96e44ed801c40e6509
[ "0BSD" ]
null
null
null
/* ** EPITECH PROJECT, 2019 ** CCP_plazza_2018 ** File description: ** Americana */ #include "Pizza/Americana.hpp" Americana_P::Americana_P(PizzaSize size, float multi) : Pizza(Americana, size, 2 * multi) { this->_recipe.push_back(DOE); this->_recipe.push_back(TOMATO); this->_recipe.push_back(GRUYERE)...
21.117647
55
0.699164
HugoPrat
4bd4766fdea5a1e9a5af3ed5e63601b099b16f0a
695
cpp
C++
ALGO-5/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
ALGO-5/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
ALGO-5/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int MAX = 99999999; int dis[20001] = {0}, u[200001] ,v[200001], l[200001]; fill(dis + 2, dis + 20001, MAX); int n, m; cin >> n >> m; for(int i=1;i<=m;i++) cin>>u[i]>>v[i]>>l[i]; for (int j = 1; j < n; j++) { ...
23.965517
59
0.392806
codexvn
4bd8db499766c3075b65e8a612ce49e294ac3f58
1,465
cpp
C++
String/prefix_function/Codeforces_432D.Prefixes_and_Suffixes_prefix.cpp
sheikh-arman/icpc_2021_template
2fc278576bb94ab3ee30a7e150b7b1f1b0e9c977
[ "MIT" ]
null
null
null
String/prefix_function/Codeforces_432D.Prefixes_and_Suffixes_prefix.cpp
sheikh-arman/icpc_2021_template
2fc278576bb94ab3ee30a7e150b7b1f1b0e9c977
[ "MIT" ]
null
null
null
String/prefix_function/Codeforces_432D.Prefixes_and_Suffixes_prefix.cpp
sheikh-arman/icpc_2021_template
2fc278576bb94ab3ee30a7e150b7b1f1b0e9c977
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long int ll; #define PB push_back #define VST(V) sort(V.begin(),V.end()) #define VSTrev(V) sort(V.begin(),V.end(),greater<long long int>()) #define fast ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0); #define base1 129 #define base2 137 #define MOD1 ...
21.544118
69
0.485324
sheikh-arman
4bd96fda5ba2095bb1cf532093b1ad7cd794cc04
518
hpp
C++
include/Utilities/TimeHelper.hpp
mmathys/blacksmith
6735c10519a6e15b3490b7c7927b3652db9c9ecc
[ "MIT" ]
1
2021-12-20T04:08:45.000Z
2021-12-20T04:08:45.000Z
include/Utilities/TimeHelper.hpp
iwangjye/blacksmith
01faacfaf9b619d5de9a8fcb9236f63510c7161d
[ "MIT" ]
null
null
null
include/Utilities/TimeHelper.hpp
iwangjye/blacksmith
01faacfaf9b619d5de9a8fcb9236f63510c7161d
[ "MIT" ]
null
null
null
#ifndef BLACKSMITH_INCLUDE_UTILITIES_TIMEHELPER_HPP_ #define BLACKSMITH_INCLUDE_UTILITIES_TIMEHELPER_HPP_ #include <chrono> inline int64_t get_timestamp_sec() { return std::chrono::duration_cast<std::chrono::seconds>( std::chrono::system_clock::now().time_since_epoch()).count(); } inline int64_t get_timestam...
30.470588
67
0.779923
mmathys
4bdc2aacd41ed2b2e6375f05dc56913a95edc115
18,710
cpp
C++
FaceRecognizer/seeta/FaceRecognizerPrivate.cpp
glcnzude126/SeetaFace2
1c8c20bf87e2d0a8f582a025869c184145a30b5d
[ "BSD-2-Clause" ]
null
null
null
FaceRecognizer/seeta/FaceRecognizerPrivate.cpp
glcnzude126/SeetaFace2
1c8c20bf87e2d0a8f582a025869c184145a30b5d
[ "BSD-2-Clause" ]
null
null
null
FaceRecognizer/seeta/FaceRecognizerPrivate.cpp
glcnzude126/SeetaFace2
1c8c20bf87e2d0a8f582a025869c184145a30b5d
[ "BSD-2-Clause" ]
null
null
null
#include "FaceRecognizerPrivate.h" #include <cmath> #include <string> #include <memory> #include <algorithm> #include <functional> #include <iostream> #include <SeetaNetForward.h> #include "SeetaModelHeader.h" #include "seeta/common_alignment.h" #include "seeta/ImageProcess.h" class FaceRecognizerPrivate::Recognizer ...
23.895275
156
0.708552
glcnzude126
4bdcbd3ca95c78dbc88ff627212e69599c9396f3
753
hpp
C++
IA-testing/IA/IA/ICromosomaObserver.hpp
alseether/GeneticGame
83bbdf926e6eb0974d9cacba7b315c91e59a1095
[ "MIT" ]
5
2017-07-08T18:26:31.000Z
2022-03-30T12:07:03.000Z
IA-testing/IA/IA/ICromosomaObserver.hpp
alseether/GeneticGame
83bbdf926e6eb0974d9cacba7b315c91e59a1095
[ "MIT" ]
null
null
null
IA-testing/IA/IA/ICromosomaObserver.hpp
alseether/GeneticGame
83bbdf926e6eb0974d9cacba7b315c91e59a1095
[ "MIT" ]
2
2017-07-08T18:26:33.000Z
2018-10-26T08:14:28.000Z
#ifndef ICROMOSOMAOBSERVER_HPP #define ICROMOSOMAOBSERVER_HPP #include "npc.hpp" #include "Mapa.hpp" #include "Cromosoma.hpp" class Cromosoma; class ICromosomaObserver{ public: virtual ~ICromosomaObserver() {}; virtual void onSimulacionIniciada(const Cromosoma*) = 0; virtual void onTurno(const Cromosoma*, npc,...
31.375
281
0.780876
alseether
4be266e5726c6be9d8b71d1f629dd07a6ebc567c
1,263
cc
C++
src/test/CppFile.cc
KomodoPlatform/marketmaker-cli
433199ecc26eaadfbeff50deebd6a16184fa4a12
[ "MIT" ]
5
2018-02-27T11:04:42.000Z
2018-09-28T20:49:01.000Z
src/test/CppFile.cc
KomodoPlatform/marketmaker-cli
433199ecc26eaadfbeff50deebd6a16184fa4a12
[ "MIT" ]
3
2018-02-27T14:07:14.000Z
2018-02-28T06:44:46.000Z
src/test/CppFile.cc
KomodoPlatform/marketmaker-cli
433199ecc26eaadfbeff50deebd6a16184fa4a12
[ "MIT" ]
6
2018-03-08T05:40:41.000Z
2018-12-31T11:09:29.000Z
#include "CppFile.h" static bool _open(AbstractFile *absFile, const char *pathname, const char *mode, err_t *errp); static long _size(AbstractFile *absFile, err_t *errp); static size_t _read(AbstractFile *absFile, void *ptr, size_t size, err_t *errp); static bool _write(AbstractFile *absFile, const void *ptr, size...
24.288462
94
0.679335
KomodoPlatform
4be337d8967c994ad318b65aa8c8187f5af3b338
841
hpp
C++
oms_small/include/okapi/api/control/async/asyncController.hpp
wanton-wind/oms-vex
d2eca00ccfefad5e2f85f8465837bd8a0710359c
[ "Apache-2.0" ]
1
2018-10-28T01:49:16.000Z
2018-10-28T01:49:16.000Z
oms_small/include/okapi/api/control/async/asyncController.hpp
wanton-wind/oms-vex
d2eca00ccfefad5e2f85f8465837bd8a0710359c
[ "Apache-2.0" ]
1
2018-10-28T01:40:00.000Z
2018-10-28T01:40:00.000Z
oms_small/include/okapi/api/control/async/asyncController.hpp
wanton-wind/oms-vex
d2eca00ccfefad5e2f85f8465837bd8a0710359c
[ "Apache-2.0" ]
3
2018-10-26T08:45:58.000Z
2018-10-27T13:36:37.000Z
/** * @author Ryan Benasutti, WPI * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef _OKAPI_ASYNCCONTROLLER_HPP_ #define _OKAPI_ASYNCCONTROLLER_HPP_ #in...
28.033333
97
0.740785
wanton-wind
4be6caed4bbeccc5bc193ed624b18fc98f56568c
3,048
cpp
C++
src/Plugins/MyPedestrianModel/MyModel.cpp
mfprado/Menge
75b1ebe91989c2a58073444fb2d5908644856372
[ "Apache-2.0" ]
null
null
null
src/Plugins/MyPedestrianModel/MyModel.cpp
mfprado/Menge
75b1ebe91989c2a58073444fb2d5908644856372
[ "Apache-2.0" ]
null
null
null
src/Plugins/MyPedestrianModel/MyModel.cpp
mfprado/Menge
75b1ebe91989c2a58073444fb2d5908644856372
[ "Apache-2.0" ]
null
null
null
/* License Menge Copyright � and trademark � 2012-14 University of North Carolina at Chapel Hill. All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and non-profit purposes, without fee, and without a written agreement is hereby gran...
38.582278
98
0.76542
mfprado
4bec35f22fa7f8a114901b8f4c8c5f038b9c9d66
3,901
cpp
C++
src/main_ds.cpp
MartinK84/riesling
3deb01ef6ec4a03ecbd5cf694d37f20de063dbae
[ "MIT" ]
null
null
null
src/main_ds.cpp
MartinK84/riesling
3deb01ef6ec4a03ecbd5cf694d37f20de063dbae
[ "MIT" ]
null
null
null
src/main_ds.cpp
MartinK84/riesling
3deb01ef6ec4a03ecbd5cf694d37f20de063dbae
[ "MIT" ]
null
null
null
#include "types.h" #include "filter.h" #include "io_hd5.h" #include "io_nifti.h" #include "log.h" #include "parse_args.h" #include "threads.h" using namespace std::complex_literals; constexpr float pi = M_PI; int main_ds(args::Subparser &parser) { args::Positional<std::string> iname(parser, "FILE", "Input radial ...
38.245098
97
0.558831
MartinK84
4bee5810032b2cabd5a11ada18849f0e7ab3ec95
13,234
cc
C++
pdlab/test/foo.pb.cc
SonuRex/Traffic-Management-System
afe7449790a06ca29dfa49552d2ec921b353238d
[ "MIT" ]
7
2018-12-21T13:38:43.000Z
2020-05-03T18:12:25.000Z
pdlab/test/foo.pb.cc
ujlive/Traffic-Management-system
afe7449790a06ca29dfa49552d2ec921b353238d
[ "MIT" ]
null
null
null
pdlab/test/foo.pb.cc
ujlive/Traffic-Management-system
afe7449790a06ca29dfa49552d2ec921b353238d
[ "MIT" ]
6
2021-03-15T23:08:16.000Z
2022-03-29T17:51:33.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: foo.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "foo.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #include <googl...
29.540179
104
0.65974
SonuRex
4bf154d0827bf541abc2907bc35ad102425df801
1,116
cpp
C++
src/falclib/msgsrc/sendteaminfomsg.cpp
Terebinth/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
117
2015-01-13T14:48:49.000Z
2022-03-16T01:38:19.000Z
src/falclib/msgsrc/sendteaminfomsg.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
4
2015-05-01T13:09:53.000Z
2017-07-22T09:11:06.000Z
src/falclib/msgsrc/sendteaminfomsg.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
78
2015-01-13T09:27:47.000Z
2022-03-18T14:39:09.000Z
/* * Machine Generated source file for message "Send Team Info". * NOTE: The functions here must be completed by hand. * Generated on 05-November-1996 at 17:39:12 * Generated from file EVENTS.XLS by Leon Rosenshein */ //sfr: took it out, not used!! /* #include "MsgInc/SendTeamInfoMsg.h" #include "mesg.h" #include ...
24.8
179
0.756272
Terebinth
4bf22fa119f3682697812926ff6de00193f14833
3,527
cpp
C++
variant.cpp
Yichen-Si/vt-topmed
e22e964a68e236b190b3038318ca9799f1922e0e
[ "MIT" ]
null
null
null
variant.cpp
Yichen-Si/vt-topmed
e22e964a68e236b190b3038318ca9799f1922e0e
[ "MIT" ]
1
2019-12-26T09:34:03.000Z
2019-12-26T09:34:03.000Z
variant.cpp
Yichen-Si/vt-topmed
e22e964a68e236b190b3038318ca9799f1922e0e
[ "MIT" ]
1
2021-09-18T18:23:00.000Z
2021-09-18T18:23:00.000Z
/* The MIT License Copyright (c) 2013 Adrian Tan <atks@umich.edu> 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 us...
22.464968
80
0.55146
Yichen-Si
4bf78b1cef8b89c8b600a967ed3610294c2d769d
4,398
cpp
C++
src/sfutil/blend-mode.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
2
2019-02-28T00:28:08.000Z
2019-10-20T14:39:48.000Z
src/sfutil/blend-mode.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
src/sfutil/blend-mode.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
// ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this file. As long as you retain this notice you // can do whatever you want with this stuff. If we meet some day, and you think // this stuff is worth it, you can bu...
29.125828
100
0.429286
tilnewman
4bf7f750e7993e8adee89375cef90d9d4af2ea1b
2,724
hpp
C++
include/eepp/audio/soundfilewriter.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
include/eepp/audio/soundfilewriter.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
include/eepp/audio/soundfilewriter.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef EE_AUDIO_SOUNDFILEWRITER_HPP #define EE_AUDIO_SOUNDFILEWRITER_HPP #include <eepp/config.hpp> #include <string> namespace EE { namespace Audio { /// \brief Abstract base class for sound file encoding class EE_API SoundFileWriter { public: virtual ~SoundFileWriter() {} ////////////////////////////////////...
30.954545
89
0.595815
jayrulez
4bfbb94537ea202cfdfba57084ed14ec13da51ca
13,090
hpp
C++
include/imgproc/laplace.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
include/imgproc/laplace.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
include/imgproc/laplace.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
35.283019
188
0.56906
waterben
4bfe429f97b49ba4a61fe07d03698b6291a2fd25
1,938
hpp
C++
app/bin/miner/xmr-stak/xmrstak/backend/miner_work.hpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
2
2018-01-25T04:29:57.000Z
2020-02-13T15:30:55.000Z
app/bin/miner/xmr-stak/xmrstak/backend/miner_work.hpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
1
2019-05-26T17:51:57.000Z
2019-05-26T17:51:57.000Z
app/bin/miner/xmr-stak/xmrstak/backend/miner_work.hpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
5
2018-02-17T11:32:37.000Z
2021-02-26T22:26:07.000Z
#pragma once #include <thread> #include <atomic> #include <mutex> #include <cstdint> #include <iostream> #include <cassert> #include <cstring> namespace xmrstak { struct miner_work { char sJobID[64]; uint8_t bWorkBlob[112]; uint32_t iWorkSize; uint64_t iTarget; bool bNiceHash; bo...
24.531646
83
0.684727
chrisknepper
ef02864b04104925cda2a3a4ce09fcac1c40a528
4,740
cpp
C++
MonoNative.Tests/SampleFixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/SampleFixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/SampleFixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
 #include <gtest/gtest.h> #include <mscorlib.h> using namespace mscorlib::System; using namespace mscorlib::System::Collections::Generic; extern "C" { MONO_API void* mono_delegate_to_ftnptr (MonoDelegate *delegate); MONO_API MonoDelegate* mono_ftnptr_to_delegate (MonoClass *klass, void* ftn); MONO_API void mono_dele...
32.027027
196
0.715401
brunolauze
ef0290a03a5005abce124c9cffb3bf7594a922a1
7,199
cpp
C++
brsdk/net/event/event_loop.cpp
JerryYu512/brsdk
b0bc4606a34e5d934db52b7b054f36c588b840f9
[ "MIT" ]
null
null
null
brsdk/net/event/event_loop.cpp
JerryYu512/brsdk
b0bc4606a34e5d934db52b7b054f36c588b840f9
[ "MIT" ]
null
null
null
brsdk/net/event/event_loop.cpp
JerryYu512/brsdk
b0bc4606a34e5d934db52b7b054f36c588b840f9
[ "MIT" ]
null
null
null
/** * MIT License * * Copyright © 2021 <Jerry.Yu>. * * 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,...
26.564576
100
0.681761
JerryYu512
ef056550a0ab7ebcf4496c64f27d7965838047b0
18,690
cc
C++
image_loader.cc
diixo/tensorflow_xla
f5a82ff203670103b6fd81b72682623123724ca1
[ "Apache-2.0" ]
3
2020-08-27T16:40:04.000Z
2021-05-12T13:31:05.000Z
image_loader.cc
diixo/tensorflow_xla
f5a82ff203670103b6fd81b72682623123724ca1
[ "Apache-2.0" ]
null
null
null
image_loader.cc
diixo/tensorflow_xla
f5a82ff203670103b6fd81b72682623123724ca1
[ "Apache-2.0" ]
2
2020-06-09T11:32:27.000Z
2021-04-04T18:41:11.000Z
#include "image_loader.h" namespace xla { std::unique_ptr<xla::Array4D <UChar8> > load_bmp(const std::string& file_name) { std::ifstream fin(file_name.c_str(), std::ios::in | std::ios::binary); if (!fin) { //throw image_load_error("Unable to open " + file_name + " for readin...
36.15087
118
0.410166
diixo
ef1740eaadc446c62f1b35e5919b6031f8113063
5,213
cpp
C++
plugins/gui/src/code_editor/code_editor_minimap.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
407
2019-04-26T10:45:52.000Z
2022-03-31T15:52:30.000Z
plugins/gui/src/code_editor/code_editor_minimap.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
219
2019-04-29T16:42:01.000Z
2022-03-11T22:57:41.000Z
plugins/gui/src/code_editor/code_editor_minimap.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
53
2019-05-02T21:23:35.000Z
2022-03-11T19:46:05.000Z
#include "gui/code_editor/code_editor_minimap.h" #include "gui/code_editor/code_editor.h" #include "gui/code_editor/minimap_scrollbar.h" #include <QPainter> #include <QStyleOption> #include <QTextBlock> #include <cmath> #include <math.h> #include <QDebug> namespace hal { CodeEditorMinimap::CodeEditorMinimap(Cod...
33.203822
180
0.656819
emsec
faa2d85910b3524ecbc8cf8e0bdce970b462431d
10,104
hpp
C++
Lib-ZeroG/src/d3d12/D3D12CommandQueue.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
2
2020-09-04T16:52:47.000Z
2021-04-21T18:30:25.000Z
Lib-ZeroG/src/d3d12/D3D12CommandQueue.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
Lib-ZeroG/src/d3d12/D3D12CommandQueue.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for ...
30.711246
101
0.665182
PetorSFZ
faaa4656d794e9965baf48a624ba27a09506fb94
214
cpp
C++
n.cpp
Parthiv-657/DSA
0923753218d934b728f6c44da0edb8af836bd1ab
[ "MIT" ]
null
null
null
n.cpp
Parthiv-657/DSA
0923753218d934b728f6c44da0edb8af836bd1ab
[ "MIT" ]
null
null
null
n.cpp
Parthiv-657/DSA
0923753218d934b728f6c44da0edb8af836bd1ab
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int n,x=0; cin>>n; while(n!=1) { x++; if(n%2==0) n=n/2; else if(n%2==1) n++; } cout<<x; }
13.375
23
0.373832
Parthiv-657
fab254641b537bd05e24cd02f58b582c0b0065c8
503
cpp
C++
AIC/AIC'20 - Level 1 Training Contests/Contest #6 (Online)/D.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
AIC/AIC'20 - Level 1 Training Contests/Contest #6 (Online)/D.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
AIC/AIC'20 - Level 1 Training Contests/Contest #6 (Online)/D.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://codeforces.com/group/aDFQm4ed6d/contest/274872/problem/D #include <bits/stdc++.h> using namespace std; #define F first #define S second typedef long long ll; typedef long double ld; ll mod = 1e9 + 7; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); ll N, p = 0, n = 0; cin ...
19.346154
66
0.520875
MaGnsio
fab82bd1c7e49cd9c8a2fb05076aaf9b2a7a93fb
566
cpp
C++
Codeforces/69A - Young Physicist.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/69A - Young Physicist.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/69A - Young Physicist.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; int main(void) { int numberOfVectors; cin >> numberOfVectors; int arr[numberOfVectors][3]; for (int i = 0; i < numberOfVectors; i++) cin >> arr[i][0] >> arr[i][1] >> arr[i][2]; int p = 0, q = 0, r = 0; for...
19.517241
51
0.462898
naimulcsx
fab89358f86040fb144db934d0e49926f6fdc6b0
1,761
cpp
C++
android-28/android/hardware/usb/UsbRequest.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/hardware/usb/UsbRequest.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/hardware/usb/UsbRequest.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./UsbDeviceConnection.hpp" #include "./UsbEndpoint.hpp" #include "../../../JObject.hpp" #include "../../../java/nio/ByteBuffer.hpp" #include "./UsbRequest.hpp" namespace android::hardware::usb { // Fields // QJniObject forward UsbRequest::UsbRequest(QJniObject obj) : JObject(obj) {} // Constructors ...
20.476744
130
0.667802
YJBeetle
fabe170f27fd07fce247851e8f736902c89a8b11
842
hpp
C++
include/svgpp/factory/unitless_angle.hpp
RichardCory/svgpp
801e0142c61c88cf2898da157fb96dc04af1b8b0
[ "BSL-1.0" ]
428
2015-01-05T17:13:54.000Z
2022-03-31T08:25:47.000Z
include/svgpp/factory/unitless_angle.hpp
andrew2015/svgpp
1d2f15ab5e1ae89e74604da08f65723f06c28b3b
[ "BSL-1.0" ]
61
2015-01-08T14:32:27.000Z
2021-12-06T16:55:11.000Z
include/svgpp/factory/unitless_angle.hpp
andrew2015/svgpp
1d2f15ab5e1ae89e74604da08f65723f06c28b3b
[ "BSL-1.0" ]
90
2015-05-19T04:56:46.000Z
2022-03-26T16:42:50.000Z
// Copyright Oleg Maximenko 2014. // 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) // // See http://github.com/svgpp/svgpp for library home page. #pragma once #include <svgpp/traits/angle_units.hpp> namespace s...
25.515152
120
0.74228
RichardCory
fac23cb256e165423d7d4342757c4467f0d43a71
10,693
cpp
C++
practicaIntegradoraPOO/src/main.cpp
JosueCano143/Object-oriented-programming
ab889d4b4eec5db75311d4700d11aacef53d23f9
[ "MIT" ]
1
2020-09-28T05:45:54.000Z
2020-09-28T05:45:54.000Z
practicaIntegradoraPOO/src/main.cpp
JosueCano143/Object-oriented-programming
ab889d4b4eec5db75311d4700d11aacef53d23f9
[ "MIT" ]
null
null
null
practicaIntegradoraPOO/src/main.cpp
JosueCano143/Object-oriented-programming
ab889d4b4eec5db75311d4700d11aacef53d23f9
[ "MIT" ]
null
null
null
// Josue Salvador Cano Martinez | A00829022 // Programación orientada a objetos (c++) // Proyecto integrador: Streaming // 05 Junio 2020 // Incluir librerías #include <iostream> #include <fstream> using namespace std; // Incluir clases #include "Pelicula.h" #include "Episodio.h" #include "Serie.h" #inc...
35.762542
154
0.576919
JosueCano143
fac3af94081f53f188a7c5fe1612555223b4e867
1,162
hpp
C++
fac/ASTs/Exprs/AstExpr_op1.hpp
fa-org/fa
13bba132b682554beccc25e6d016e04b7b67998f
[ "MIT" ]
20
2021-11-23T23:38:25.000Z
2022-03-13T04:39:24.000Z
fac/ASTs/Exprs/AstExpr_op1.hpp
fa-org/fa
13bba132b682554beccc25e6d016e04b7b67998f
[ "MIT" ]
5
2021-11-24T04:48:59.000Z
2022-01-02T15:27:12.000Z
fac/ASTs/Exprs/AstExpr_op1.hpp
fa-org/fa
13bba132b682554beccc25e6d016e04b7b67998f
[ "MIT" ]
10
2021-11-24T03:36:12.000Z
2022-03-06T19:13:10.000Z
#ifndef __AST_EXPR_OP1_HPP__ #define __AST_EXPR_OP1_HPP__ #include <memory> #include <string> #include "IAstExpr.hpp" struct AstExpr_op1: public IAstExpr { PAstExpr m_base; std::string m_op; bool m_prefix; AstExpr_op1 (antlr4::Token *_token, PAstExpr _base, std::string _op, bool _prefix): IAstExpr (_token...
21.924528
94
0.697935
fa-org
fad2f63dbe5ad48db907a1fbea67f15365082e58
2,587
cpp
C++
src/baseClasses/vrposrm.cpp
woodbri/vehicle-routing-problems
aae24d92f46a6b1d473ad8f4ec6db9c96742b708
[ "MIT" ]
16
2015-06-26T22:53:20.000Z
2021-03-09T22:54:33.000Z
src/baseClasses/vrposrm.cpp
woodbri/vehicle-routing-problems
aae24d92f46a6b1d473ad8f4ec6db9c96742b708
[ "MIT" ]
21
2015-01-29T14:16:19.000Z
2016-03-27T00:09:50.000Z
src/baseClasses/vrposrm.cpp
woodbri/vehicle-routing-problems
aae24d92f46a6b1d473ad8f4ec6db9c96742b708
[ "MIT" ]
10
2015-07-18T02:48:35.000Z
2019-12-25T11:04:17.000Z
/*VRP********************************************************************* * * vehicle routing problems * A collection of C++ classes for developing VRP solutions * and specific solutions developed using these classes. * * Copyright 2014 Stephen Woodbridge <woodbri@imaptools.com> * Copyright 2014 Vicky...
24.875
86
0.571318
woodbri
fad36d15b11d2511c2204fcc4605acc92a5a6b01
348
cpp
C++
example/example.cpp
ediston/BigNumberCalculator-Cpp
0d66daba5488e271d42cbb089aeec419ae95eba2
[ "Unlicense" ]
null
null
null
example/example.cpp
ediston/BigNumberCalculator-Cpp
0d66daba5488e271d42cbb089aeec419ae95eba2
[ "Unlicense" ]
null
null
null
example/example.cpp
ediston/BigNumberCalculator-Cpp
0d66daba5488e271d42cbb089aeec419ae95eba2
[ "Unlicense" ]
null
null
null
#include "../header/BigNumberCalculator.h" int main() { //Add cout << "Addition: " << add("19", "-22") << endl; //Subtract cout << "Subtract: " << subtract("122", "119") << endl; // Multiply cout << "Multiply: " << multiply("98", "-13") << endl; //103! cout << "Factorial: "<< fact(10...
24.857143
60
0.5
ediston
fad7a374495c9e62db142a538efd9ef4cb264647
8,964
hpp
C++
motion/src/objectdetector.hpp
yoosamui/secam
c709b106227e2c57105bc9013b4d622c87f099db
[ "MIT" ]
null
null
null
motion/src/objectdetector.hpp
yoosamui/secam
c709b106227e2c57105bc9013b4d622c87f099db
[ "MIT" ]
1
2022-02-11T11:41:21.000Z
2022-02-11T11:41:21.000Z
motion/src/objectdetector.hpp
yoosamui/secam
c709b106227e2c57105bc9013b4d622c87f099db
[ "MIT" ]
null
null
null
// // https://github.com/doleron/yolov5-opencv-cpp-python // https://github.com/doleron/yolov5-opencv-cpp-python.git // #pragma once #include <opencv2/dnn.hpp> #include <queue> #include "common.h" #include "config.h" #include "constants.h" #include "ofMain.h" #include "ofThread.h" #include "ofxCv.h" #include "ofxOpe...
25.109244
95
0.522311
yoosamui
fad82ddf69f224ff85fc9c42b44cbda8d8430dcf
322,286
cpp
C++
Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_32Table.cpp
bhuwanY-Hexaware/MapBox_ARKit
64edeb918b61c8d250ac8273253a065181de6c18
[ "Apache-2.0" ]
null
null
null
Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_32Table.cpp
bhuwanY-Hexaware/MapBox_ARKit
64edeb918b61c8d250ac8273253a065181de6c18
[ "Apache-2.0" ]
null
null
null
Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_32Table.cpp
bhuwanY-Hexaware/MapBox_ARKit
64edeb918b61c8d250ac8273253a065181de6c18
[ "Apache-2.0" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "il...
42.982929
235
0.826043
bhuwanY-Hexaware
fadb55b9cc81be894247c5eaaae33c2792389608
460
cpp
C++
720. Longest Word in Dictionary.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
720. Longest Word in Dictionary.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
720. Longest Word in Dictionary.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
class Solution { public: string longestWord(vector<string>& words) { string res = ""; unordered_map<int, unordered_set<string>>m; for(auto s: words) m[s.size()].insert(s); for(auto s: words){ int i = 1; while(i < s.size() && m[i].count(s.substr(0, i))) i++; ...
30.666667
102
0.482609
rajeev-ranjan-au6
fadb985dbc23fb7e6b54f8c12c427d8f939f8ee2
561
hpp
C++
src/standard/bits/DD_IsEnum.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
1
2018-06-01T03:29:34.000Z
2018-06-01T03:29:34.000Z
src/standard/bits/DD_IsEnum.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
null
null
null
src/standard/bits/DD_IsEnum.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
null
null
null
// DDCPP/standard/bits/DD_IsEnum.hpp #ifndef DD_IS_ENUM_HPP_INCLUDED_ # define DD_IS_ENUM_HPP_INCLUDED_ 1 # if __cplusplus < 201103L # error ISO/IEC 14882:2011 or a later version support is required for'DD::IsEnum'. # endif # include <type_traits> # include "DD_And.hpp" DD_DETAIL_BEGIN_ template <typename......
12.195652
83
0.743316
iDingDong
fadfcaec11730498729318661eb1452370c87d69
1,140
cpp
C++
examples/syntax/fp-values-in-string-assembly.using-specific-headers.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
3
2020-05-24T16:29:42.000Z
2021-09-10T13:33:15.000Z
examples/syntax/fp-values-in-string-assembly.using-specific-headers.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
examples/syntax/fp-values-in-string-assembly.using-specific-headers.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
#include <cppx-core-language/calc/floating-point-operations.hpp> // cppx::intpow #include <cppx-core-language/calc/named-numbers.hpp> // cppx::m::pi #include <cppx-core-language/calc/number-type-properties.hpp> // cppx::n_digits_ #include <cppx-core-language/syntax/types.hpp> ...
38
86
0.581579
alf-p-steinbach
fae164a1977e871c3a0651c73abedf09fde1bacd
1,094
cpp
C++
elenasrc2/ide/historylist.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
193
2015-07-03T22:23:27.000Z
2022-03-15T18:56:02.000Z
elenasrc2/ide/historylist.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
531
2015-05-07T09:39:42.000Z
2021-09-27T07:51:38.000Z
elenasrc2/ide/historylist.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
31
2015-09-30T13:07:36.000Z
2021-10-15T13:08:04.000Z
//--------------------------------------------------------------------------- // E L E N A P r o j e c t: ELENA IDE // MenuHistoryList class implementation // (C)2005-2018, by Alexei Rakov //---------------------------------------------------------------------------...
28.789474
77
0.535649
drkameleon
fae2e8971649ef29d954ba9d7e0e184037343fcd
491
cpp
C++
math/tetration_mod/gen/random.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
290
2019-06-06T22:20:36.000Z
2022-03-27T12:45:04.000Z
math/tetration_mod/gen/random.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
536
2019-06-06T18:25:36.000Z
2022-03-29T11:46:36.000Z
math/tetration_mod/gen/random.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
82
2019-06-06T18:17:55.000Z
2022-03-21T07:40:31.000Z
#include "random.h" #include <iostream> using namespace std; using ll = long long; int main(int, char* argv[]) { long long seed = atoll(argv[1]); auto gen = Random(seed); int t = gen.uniform(1, 1000); printf("%d\n", t); for (int i = 0; i < t; i++) { ll a = gen.uniform(0LL, 1'000'000'000L...
22.318182
49
0.543788
tko919
faea5af16d93a34b1c65f37d6648223a3ff22c70
9,788
hpp
C++
include/ironbeepp/connection.hpp
b1v1r/ironbee
97b453afd9c3dc70342c6183a875bde22c9c4a76
[ "Apache-2.0" ]
148
2015-01-10T01:53:39.000Z
2022-03-20T20:48:12.000Z
include/ironbeepp/connection.hpp
ErikHendriks/ironbee
97b453afd9c3dc70342c6183a875bde22c9c4a76
[ "Apache-2.0" ]
8
2015-03-09T15:50:36.000Z
2020-10-10T19:23:06.000Z
include/ironbeepp/connection.hpp
ErikHendriks/ironbee
97b453afd9c3dc70342c6183a875bde22c9c4a76
[ "Apache-2.0" ]
46
2015-03-08T22:45:42.000Z
2022-01-15T13:47:59.000Z
/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this file to You under ...
24.592965
78
0.631794
b1v1r
faeab71bf12d01b90741d85608c874526118d5fb
285
cpp
C++
src/dot.cpp
blauergrashalm/galaxy_server
762c7f939ed1675c1fdbde15c8d1dbada22cfbef
[ "MIT" ]
1
2020-04-07T17:35:31.000Z
2020-04-07T17:35:31.000Z
src/dot.cpp
blauergrashalm/galaxy_server
762c7f939ed1675c1fdbde15c8d1dbada22cfbef
[ "MIT" ]
12
2020-04-08T13:45:52.000Z
2020-06-02T09:45:42.000Z
src/dot.cpp
blauergrashalm/galaxy_server
762c7f939ed1675c1fdbde15c8d1dbada22cfbef
[ "MIT" ]
null
null
null
#include "dot.hpp" #include "field.hpp" json Dot::toJson() { json dot; dot["x"] = position.x; dot["y"] = position.y; for (auto it = fields.begin(); it != fields.end(); it++) { dot["fields"].push_back((*it)->id); } dot["id"] = id; return dot; }
17.8125
60
0.508772
blauergrashalm
faee715662cf26f2db0ab242376cf4af16425a18
1,165
cpp
C++
tests/RomanToIntegerTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
tests/RomanToIntegerTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
tests/RomanToIntegerTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "catch.hpp" #include "RomanToInteger.hpp" TEST_CASE("Roman To Integer") { RomanToInteger s; SECTION("Base tests") { REQUIRE(s.romanToInt("I") == 1); REQUIRE(s.romanToInt("II") == 2); REQUIRE(s.romanToInt("III") == 3); REQUIRE(s.romanToInt("XL") == 40); REQUIRE(...
33.285714
49
0.547639
yanzhe-chen
faefcee01eb2ab2ef48a0675776cb5f58042a766
1,720
hpp
C++
android-31/android/inputmethodservice/InputMethodService_InputMethodSessionImpl.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/inputmethodservice/InputMethodService_InputMethodSessionImpl.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/inputmethodservice/InputMethodService_InputMethodSessionImpl.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "./AbstractInputMethodService_AbstractInputMethodSessionImpl.hpp" class JArray; namespace android::graphics { class Rect; } namespace android::inputmethodservice { class InputMethodService; } namespace android::os { class Bundle; } namespace android::view::inputmethod { class CursorAnchorInf...
31.272727
261
0.797674
YJBeetle
faf0792514d28bfaa3975ccbb47597ba0a93f48e
4,542
cpp
C++
src/tracks/playabletrack/notetrack/ui/NoteTrackVZoomHandle.cpp
luoxiao/audacity
afdcded32d50ff1fd4ed6f736ab1824d540ae4d2
[ "CC-BY-3.0" ]
1
2019-08-05T09:19:46.000Z
2019-08-05T09:19:46.000Z
src/tracks/playabletrack/notetrack/ui/NoteTrackVZoomHandle.cpp
luoxiao/audacity
afdcded32d50ff1fd4ed6f736ab1824d540ae4d2
[ "CC-BY-3.0" ]
null
null
null
src/tracks/playabletrack/notetrack/ui/NoteTrackVZoomHandle.cpp
luoxiao/audacity
afdcded32d50ff1fd4ed6f736ab1824d540ae4d2
[ "CC-BY-3.0" ]
null
null
null
/********************************************************************** Audacity: A Digital Audio Editor NoteTrackVZoomHandle.cpp Paul Licameli split from TrackPanel.cpp **********************************************************************/ #include "../../../../Audacity.h" #include "NoteTrackVZoomHandle.h" #incl...
26.87574
99
0.649053
luoxiao
faf4f5193a1d42e7a3cb5250faf0843d2d05d2f1
6,736
cc
C++
examples/Cassie/osc_jump/convert_traj_for_sim.cc
hanliumaozhi/dairlib
a74ae5b24efe708b6723e778bea6f4bb038e2951
[ "BSD-3-Clause" ]
1
2021-04-20T11:29:23.000Z
2021-04-20T11:29:23.000Z
examples/Cassie/osc_jump/convert_traj_for_sim.cc
hanliumaozhi/dairlib
a74ae5b24efe708b6723e778bea6f4bb038e2951
[ "BSD-3-Clause" ]
null
null
null
examples/Cassie/osc_jump/convert_traj_for_sim.cc
hanliumaozhi/dairlib
a74ae5b24efe708b6723e778bea6f4bb038e2951
[ "BSD-3-Clause" ]
null
null
null
#include <drake/geometry/scene_graph.h> #include <drake/multibody/parsing/parser.h> #include <gflags/gflags.h> #include "examples/Cassie/cassie_utils.h" #include "multibody/multibody_utils.h" #include "lcm/lcm_trajectory.h" #include "drake/multibody/plant/multibody_plant.h" using drake::geometry::SceneGraph; using dra...
39.857988
80
0.729513
hanliumaozhi
faf515fa1845530f9b2d92b143d9a9b03bfa1a17
13,329
cpp
C++
winston/external/asio/src/tests/unit/compose.cpp
danie1kr/winston
18fe865dc59e8315cb1d85c6fa60c4ddeaf83202
[ "MIT" ]
172
2018-10-31T13:47:10.000Z
2022-02-21T12:08:20.000Z
winston/external/asio/src/tests/unit/compose.cpp
danie1kr/winston
18fe865dc59e8315cb1d85c6fa60c4ddeaf83202
[ "MIT" ]
51
2018-11-01T12:46:25.000Z
2021-12-14T15:16:15.000Z
winston/external/asio/src/tests/unit/compose.cpp
danie1kr/winston
18fe865dc59e8315cb1d85c6fa60c4ddeaf83202
[ "MIT" ]
72
2018-10-31T13:50:02.000Z
2022-03-14T09:10:35.000Z
// // compose.cpp // ~~~~~~~~~~~ // // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff 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) // // Disable autolinking for unit tests. #if !d...
24.016216
80
0.686548
danie1kr
fafa0ffbdd0a31cae636e9f4716305433a5b1a41
4,135
cpp
C++
include/utility/test/algorithm/sort.test.cpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
2
2017-12-10T10:59:48.000Z
2017-12-13T04:11:14.000Z
include/utility/test/algorithm/sort.test.cpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
include/utility/test/algorithm/sort.test.cpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
#define UTILITY_DEBUG #include<cstdlib> #include<cstdio> #include<cassert> #include<ctime> #include<utility/container/vector.hpp> #include<utility/algorithm/is_sorted.hpp> #include<utility/algorithm/sort.hpp> template< typename _Tag = utility::algorithm::sort_tag::introspective_sort_tag > void sort_test(utility::si...
28.321918
70
0.754051
SakuraLife
fafedb44c024c06ab46e9455b325a6456997bb17
659
cpp
C++
leetcode/problems/14.cpp
songhn233/ACM_Steps
6f2edeca9bf4fc999a8148bc90b2d8d0e59d48fe
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
leetcode/problems/14最长公共前缀.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
leetcode/problems/14最长公共前缀.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
class Solution { public: string longestCommonPrefix(vector<string>& strs) { if(!strs.size()) return ""; int lim=(int)strs[0].size(); int ans=0; for(int i=0;i<strs.size();i++) lim=min(lim,(int)strs[i].size()); for(int len=0;len<lim;len++) { int flag=1; ...
26.36
72
0.412747
songhn233
4f0437cb67266296fc7aefed3565e03c80990162
725
cpp
C++
src_smartcontract_db/trx/transaction/SchemaObjectIdPublisher.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_smartcontract_db/trx/transaction/SchemaObjectIdPublisher.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_smartcontract_db/trx/transaction/SchemaObjectIdPublisher.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * SchemaObjectIdPublisher.cpp * * Created on: 2020/05/14 * Author: iizuka */ #include "trx/transaction/SchemaObjectIdPublisher.h" #include "schema_table/schema/SchemaManager.h" namespace codablecash { SchemaObjectIdPublisher::SchemaObjectIdPublisher(SchemaManager* schema) { this->schema = schema; } ...
20.714286
77
0.761379
alinous-core
4f058587b050cb1a19c9a0f6beeb8e8d690c1ef0
2,093
cpp
C++
src/util/logger.cpp
neuromancer85/Rack
7e49a697d43bc204f68408779ac2015c66e7dd14
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2019-04-14T20:18:06.000Z
2019-04-14T20:18:06.000Z
src/util/logger.cpp
neuromancer85/Rack
7e49a697d43bc204f68408779ac2015c66e7dd14
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
src/util/logger.cpp
neuromancer85/Rack
7e49a697d43bc204f68408779ac2015c66e7dd14
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
#include "util/common.hpp" #include "asset.hpp" #include <stdarg.h> namespace rack { static FILE *logFile = NULL; static std::chrono::high_resolution_clock::time_point startTime; void loggerInit(bool devMode) { startTime = std::chrono::high_resolution_clock::now(); if (devMode) { logFile = stderr; } else { ...
20.722772
106
0.679408
neuromancer85
4f0952950e4f169a4926327a6061edbe93969fce
788
cpp
C++
142. Linked List Cycle II.cpp
corn1ng/LeetCode-Solution
e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95
[ "Apache-2.0" ]
6
2017-11-18T02:16:35.000Z
2017-12-17T06:30:40.000Z
142. Linked List Cycle II.cpp
corn1ng/LeetCode-Solution
e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95
[ "Apache-2.0" ]
null
null
null
142. Linked List Cycle II.cpp
corn1ng/LeetCode-Solution
e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95
[ "Apache-2.0" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode *detectCycle(ListNode *head) { if (head == NULL || head->next == NULL) { return NULL;...
21.297297
48
0.404822
corn1ng
4f0b8e3e0b239f3021682ecde241ec91de0c91ef
455
cpp
C++
src/iGPS/iGPSMain.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
9
2016-02-25T03:25:53.000Z
2022-03-27T09:47:50.000Z
src/iGPS/iGPSMain.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
null
null
null
src/iGPS/iGPSMain.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
4
2016-06-02T17:42:42.000Z
2021-12-15T09:37:55.000Z
// $Header: /raid/cvs-server/REPOSITORY/software/MOOS/interface/general/iGPS/iGPSMain.cpp,v 5.1 2005/04/27 20:41:40 anrp Exp $ // copyright (2001-2003) Massachusetts Institute of Technology (pnewman et al.) #include "GPSInstrument.h" int main(int argc , char * argv[]) { const char * sMissionFile = "Mission.moos"; ...
21.666667
126
0.70989
mandad
4f0dae6b71009e00599150edd26cf7a2a8e17a7d
1,168
cc
C++
src/preload/child/spawn_strategy/chroot_fake.cc
TheEvilSkeleton/zypak
51c8771bc6bb1f68e41663e01c487b414481c57e
[ "BSD-3-Clause" ]
49
2019-11-25T02:29:23.000Z
2022-03-31T05:28:18.000Z
src/preload/child/spawn_strategy/chroot_fake.cc
TheEvilSkeleton/zypak
51c8771bc6bb1f68e41663e01c487b414481c57e
[ "BSD-3-Clause" ]
21
2020-03-12T02:33:24.000Z
2022-03-30T14:00:16.000Z
src/preload/child/spawn_strategy/chroot_fake.cc
TheEvilSkeleton/zypak
51c8771bc6bb1f68e41663e01c487b414481c57e
[ "BSD-3-Clause" ]
5
2020-09-27T11:53:53.000Z
2022-03-23T19:20:07.000Z
// Copyright 2020 Endless Mobile, Inc. // Portions copyright 2015 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. // Pretend that /proc/self/exe isn't accessible due to sandboxing. #include <errno.h> #include <fcntl.h> ...
25.955556
95
0.699486
TheEvilSkeleton
4f10b650fd613a328f5facda87217c80389a95d8
54,793
cpp
C++
TelemetrySourcerer/TelemetrySourcerer.cpp
fcccode/TelemetrySourcerer
d90068aed05fb444b20de59c9935ba43f4daf0dc
[ "Apache-2.0" ]
1
2021-06-15T16:51:21.000Z
2021-06-15T16:51:21.000Z
TelemetrySourcerer/TelemetrySourcerer.cpp
W00t3k/TelemetrySourcerer
3c29c86f49eab9f7bd630b1b0741bdf6f9189b68
[ "Apache-2.0" ]
null
null
null
TelemetrySourcerer/TelemetrySourcerer.cpp
W00t3k/TelemetrySourcerer
3c29c86f49eab9f7bd630b1b0741bdf6f9189b68
[ "Apache-2.0" ]
1
2020-10-23T04:04:16.000Z
2020-10-23T04:04:16.000Z
#include <Windows.h> #include <stdlib.h> #include <string.h> #include <tchar.h> #include <commctrl.h> #include <windowsx.h> #include <strsafe.h> #include <TlHelp32.h> #include <string> #include "TelemetrySourcerer.h" #include "KmCallbacks.h" #include "UmHooks.h" #include "UmETW.h" using namespace std; // Global var...
33.82284
165
0.56447
fcccode
4f12a2671100892beca4832941ba211623aca4ab
1,538
hpp
C++
include/network/Client.hpp
raccoman/ft_irc
c510c70feeb193a7da6de995478bf75d25014f6e
[ "MIT" ]
2
2022-03-03T22:28:13.000Z
2022-03-09T10:17:16.000Z
include/network/Client.hpp
raccoman/ft_irc
c510c70feeb193a7da6de995478bf75d25014f6e
[ "MIT" ]
null
null
null
include/network/Client.hpp
raccoman/ft_irc
c510c70feeb193a7da6de995478bf75d25014f6e
[ "MIT" ]
null
null
null
#ifndef FT_IRC_CLIENT_HPP # define FT_IRC_CLIENT_HPP enum ClientState { HANDSHAKE, LOGIN, PLAY, DISCONNECTED }; class Client; #include <vector> #include <string> #include <sys/poll.h> #include <sys/socket.h> #include "utils.hpp" #include "Channel.hpp" class Client { typedef std::vector<pollfd>::iterator pollf...
18.756098
73
0.704811
raccoman
4f17469cfa992c7baf9e80d81660f488403846d1
33,733
cpp
C++
src/r_utility.cpp
protocultor/gzdoom
ec2c69e76abbd1eb48f2b7c5b1c0c1e22867f47c
[ "RSA-MD" ]
1
2020-09-22T22:34:00.000Z
2020-09-22T22:34:00.000Z
src/r_utility.cpp
protocultor/gzdoom
ec2c69e76abbd1eb48f2b7c5b1c0c1e22867f47c
[ "RSA-MD" ]
null
null
null
src/r_utility.cpp
protocultor/gzdoom
ec2c69e76abbd1eb48f2b7c5b1c0c1e22867f47c
[ "RSA-MD" ]
null
null
null
//----------------------------------------------------------------------------- // // Copyright 1993-1996 id Software // Copyright 1994-1996 Raven Software // Copyright 1999-2016 Randy Heit // Copyright 2002-2016 Christoph Oelckers // // This program is free software: you can redistribute it and/or modify // it under t...
27.358475
195
0.582041
protocultor
4f1c3eba82e7e3b0a78a6eb8bbf7a3ca78280a0e
1,686
cpp
C++
src/knMotor/WheelGroupSample.cpp
hhutz/kn_wheel_group
18ed3220bd46282ec9cbe38e8a573e6f2de49f05
[ "NASA-1.3" ]
null
null
null
src/knMotor/WheelGroupSample.cpp
hhutz/kn_wheel_group
18ed3220bd46282ec9cbe38e8a573e6f2de49f05
[ "NASA-1.3" ]
null
null
null
src/knMotor/WheelGroupSample.cpp
hhutz/kn_wheel_group
18ed3220bd46282ec9cbe38e8a573e6f2de49f05
[ "NASA-1.3" ]
null
null
null
/* -*- C++ -*- ***************************************************************** * Copyright (c) 2013 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * Licensed under the NASA Open Source Agreement, Version 1.3 (the "Lice...
33.058824
80
0.541518
hhutz
b7b4cc2ceeaca61f766274be7fbc063959f1fd1f
9,423
cpp
C++
src/plugins/opls/oplsatomtyper.cpp
quizzmaster/chemkit
803e4688b514008c605cb5c7790f7b36e67b68fc
[ "BSD-3-Clause" ]
34
2015-01-24T23:59:41.000Z
2020-11-12T13:48:01.000Z
src/plugins/opls/oplsatomtyper.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
4
2015-12-28T20:29:16.000Z
2016-01-26T06:48:19.000Z
src/plugins/opls/oplsatomtyper.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
17
2015-01-23T14:50:24.000Z
2021-06-10T15:43:50.000Z
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
38.304878
106
0.519898
quizzmaster
b7b8652b33682cdf1d93575f77c3fc2e073dd2ef
602
cpp
C++
DEMCUASO.cpp
phuongnam2002/testlib
a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa
[ "MIT" ]
2
2022-01-14T13:34:09.000Z
2022-02-21T07:27:29.000Z
DEMCUASO.cpp
phuongnam2002/testlib
a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa
[ "MIT" ]
null
null
null
DEMCUASO.cpp
phuongnam2002/testlib
a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main () { int n, m; cin>>m>>n; char Building[600][600]; for (int i=0; i<5*m+1; i++) { for (int j=0; j<5*n+1; j++) { cin>>Building[i][j]; } } int tt[]={0, 0, 0, 0, 0}; int t=0; int dauI=1, dauJ=1; for (int i=0; i<m; i++) { if (i!=0)...
15.05
43
0.405316
phuongnam2002
b7c0d771b0b5697979aaf28bc3fd464c46f851eb
954
cpp
C++
PrCmp/LeetCode/w3e2.cpp
ayhon/CPPWorkspace
57d6410236096ffa0bae20b88b3e330632edc928
[ "MIT" ]
null
null
null
PrCmp/LeetCode/w3e2.cpp
ayhon/CPPWorkspace
57d6410236096ffa0bae20b88b3e330632edc928
[ "MIT" ]
null
null
null
PrCmp/LeetCode/w3e2.cpp
ayhon/CPPWorkspace
57d6410236096ffa0bae20b88b3e330632edc928
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <stack> #include <queue> #include <string> using namespace std; bool checkValidString(string s) { stack<pair<char, int>> pila; deque<int> stars; for(int i = 0; i < s.size(); i++) { if(s[i] == '{') pila.push(make_pair(s[i], i)); else if (s[i] == '}') { if(!pila...
19.875
63
0.541929
ayhon
b7c825f624e2bd7eac8956f9f195c383a0d262cb
2,888
cpp
C++
modules/gapi/src/api/kernels_video.cpp
tailsu/opencv
743f1810c7ad4895b0df164395abfb54c9e8015d
[ "Apache-2.0" ]
3
2020-06-18T07:35:48.000Z
2021-06-14T15:34:25.000Z
modules/gapi/src/api/kernels_video.cpp
tailsu/opencv
743f1810c7ad4895b0df164395abfb54c9e8015d
[ "Apache-2.0" ]
3
2019-08-28T14:18:49.000Z
2020-02-11T10:02:57.000Z
modules/gapi/src/api/kernels_video.cpp
tailsu/opencv
743f1810c7ad4895b0df164395abfb54c9e8015d
[ "Apache-2.0" ]
1
2021-04-20T08:12:22.000Z
2021-04-20T08:12:22.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2020 Intel Corporation #include "precomp.hpp" #include <opencv2/gapi/video.hpp> namespace cv { namespa...
46.580645
90
0.441828
tailsu
b7cc715ec2ea825ba120709b548e5c4eb2a3696d
32,912
cpp
C++
csgocheat/hacks/c_ragebot.cpp
garryhvh420/e_xyz
668d8c8c2b7ccfc3bae9e321b1a50379a5e33ec9
[ "Apache-2.0" ]
null
null
null
csgocheat/hacks/c_ragebot.cpp
garryhvh420/e_xyz
668d8c8c2b7ccfc3bae9e321b1a50379a5e33ec9
[ "Apache-2.0" ]
null
null
null
csgocheat/hacks/c_ragebot.cpp
garryhvh420/e_xyz
668d8c8c2b7ccfc3bae9e321b1a50379a5e33ec9
[ "Apache-2.0" ]
null
null
null
#include "c_ragebot.h" #include "c_aimhelper.h" #include "c_trace_system.h" #include "../utils/math.h" #include "../sdk/c_weapon_system.h" #include "../sdk/c_debug_overlay.h" #include "c_prediction_system.h" #include "c_antiaim.h" #include "c_resolver.h" #include "../menu/c_menu.h" #include "../hacks/c_hitmarker.h" v...
31.953398
243
0.713934
garryhvh420
b7ce090af68997617309ec3bc87022de75d8d4c5
1,358
cpp
C++
Source/Renderer/Framebuffer.cpp
RichierichorgYoutube/First
e1908df3743683424a1bbe2275c54a9089f2a462
[ "Apache-2.0" ]
null
null
null
Source/Renderer/Framebuffer.cpp
RichierichorgYoutube/First
e1908df3743683424a1bbe2275c54a9089f2a462
[ "Apache-2.0" ]
null
null
null
Source/Renderer/Framebuffer.cpp
RichierichorgYoutube/First
e1908df3743683424a1bbe2275c54a9089f2a462
[ "Apache-2.0" ]
null
null
null
#include "Framebuffer.h" #include <iostream> GLuint g_FBO; GLuint g_Tex; GLuint g_RBO; bool setupFrameBuffers(){ glGenFramebuffers(1, &g_FBO); glBindFramebuffer(GL_FRAMEBUFFER, g_FBO); //Render texture glGenTextures(1, &g_Tex); glBindTexture(GL_TEXTURE_2D, g_Tex); glTexImage2D(GL_TEXT...
30.863636
99
0.731222
RichierichorgYoutube
b7ce28795d72c30bcd582da19ecfd2bbd99ee28f
15,428
cpp
C++
Engine/Source/Assets/Material.cpp
jkorn2324/jkornEngine
5822f2a311ed62e6ca495919872f0f436d300733
[ "MIT" ]
null
null
null
Engine/Source/Assets/Material.cpp
jkorn2324/jkornEngine
5822f2a311ed62e6ca495919872f0f436d300733
[ "MIT" ]
null
null
null
Engine/Source/Assets/Material.cpp
jkorn2324/jkornEngine
5822f2a311ed62e6ca495919872f0f436d300733
[ "MIT" ]
null
null
null
#include "EnginePCH.h" #include "Material.h" #include "JsonFileParser.h" #include "JsonUtils.h" #include "AssetSerializer.h" #include "AssetManager.h" #include "AssetCache.h" #include "AssetMapper.h" #include <rapidjson\stringbuffer.h> namespace Engine { static ConstantBuffer* s_internalMaterialConstantBuffer = nu...
26.692042
104
0.717332
jkorn2324
b7d25d4fdfd33fa8369a9adfdd25ea05cccce789
10,593
tcc
C++
src/flens/symmetricmatrix.tcc
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
src/flens/symmetricmatrix.tcc
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
src/flens/symmetricmatrix.tcc
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
/* * Copyright (c) 2007, Michael Lehn * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1) Redistributions of source code must retain the above copyright * notice,...
19.472426
82
0.608515
wmotte
b7da5088d7622a8874588da7d57077b61ee4e02d
205
hpp
C++
random/shuffle_container.hpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
20
2021-06-21T00:18:54.000Z
2022-03-17T17:45:44.000Z
random/shuffle_container.hpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
56
2021-06-03T14:42:13.000Z
2022-03-26T14:15:30.000Z
random/shuffle_container.hpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
3
2019-12-11T06:45:45.000Z
2020-09-07T13:45:32.000Z
#pragma once #include <algorithm> #include <chrono> #include <random> // CUT begin std::mt19937 rng(std::chrono::steady_clock::now().time_since_epoch().count()); // std::shuffle(v.begin(), v.end(), rng);
22.777778
78
0.687805
ankit6776
b7dc786a4ffac993a857123d5a525252eef56964
3,464
cpp
C++
lib/slikenet/Samples/CrashReporter/SendFileTo.cpp
TRUEPADDii/GothicMultiplayerLauncher
1ae083a62c083fc99bb9b1358a223ae02174af3f
[ "WTFPL" ]
2
2018-04-09T12:54:20.000Z
2018-12-07T20:34:53.000Z
lib/slikenet/Samples/CrashReporter/SendFileTo.cpp
TRUEPADDii/GothicMultiplayerLauncher
1ae083a62c083fc99bb9b1358a223ae02174af3f
[ "WTFPL" ]
4
2018-04-10T23:28:47.000Z
2021-05-16T20:35:21.000Z
lib/slikenet/Samples/CrashReporter/SendFileTo.cpp
TRUEPADDii/GothicMultiplayerLauncher
1ae083a62c083fc99bb9b1358a223ae02174af3f
[ "WTFPL" ]
3
2019-02-13T15:10:03.000Z
2021-07-12T19:24:07.000Z
/* * Original work: Copyright (c) 2014, Oculus VR, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * RakNet License.txt file in the licenses directory of this source tree. An additional grant * of patent rights can be found in the RakNet Patents.txt file...
28.393443
184
0.727771
TRUEPADDii
b7df2a6c877b4767b8bb6d2ddca849ced1e90ee1
3,909
cpp
C++
src/Event.cpp
irov/GOAP
f8d5f061537019fccdd143b232aa8a869fdb0b2d
[ "MIT" ]
14
2016-10-07T21:53:02.000Z
2021-12-13T02:57:19.000Z
src/Event.cpp
irov/GOAP
f8d5f061537019fccdd143b232aa8a869fdb0b2d
[ "MIT" ]
null
null
null
src/Event.cpp
irov/GOAP
f8d5f061537019fccdd143b232aa8a869fdb0b2d
[ "MIT" ]
4
2016-09-01T10:06:29.000Z
2021-12-13T02:57:20.000Z
/* * Copyright (C) 2017-2019, Yuriy Levchenko <irov13@mail.ru> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "Event.h" #include "GOAP/EventProviderInterface.h" #include "GOAP/StlAllocator.h" #include <algorithm> namespace GOAP...
26.06
163
0.458173
irov
b7e0f7e05b98aa6f773744013e4cf0c614dfe08c
2,670
cpp
C++
cpp/template_test.cpp
dibayendu/codekata
4055af08d3e8fd373e3dd8107f5bde82c74fe92f
[ "MIT" ]
null
null
null
cpp/template_test.cpp
dibayendu/codekata
4055af08d3e8fd373e3dd8107f5bde82c74fe92f
[ "MIT" ]
null
null
null
cpp/template_test.cpp
dibayendu/codekata
4055af08d3e8fd373e3dd8107f5bde82c74fe92f
[ "MIT" ]
null
null
null
// To run the program, try the command below: // g++ tempate_test.cpp -lgtest_main -lgtest // This is a template unit testing file using googletest. // This checks if the number is prime and its factorials. #include <iostream> #include <string> #include <limits.h> #include "gtest/gtest.h" // Returns n! (the factoria...
24.054054
75
0.657678
dibayendu
b7e6c12b01031b53dc9cd82ceabda05ae7eeee86
2,074
hpp
C++
client/systems/adminPanel/dialog/markerLog.hpp
Exonical/Vanguard_Wasteland.cup_chernarus_A3
ee8f51807847f35c924bb8bf701e863387b603b8
[ "MIT" ]
1
2020-07-23T13:49:05.000Z
2020-07-23T13:49:05.000Z
client/systems/adminPanel/dialog/markerLog.hpp
Exonical/Vanguard_Wasteland.cup_chernarus_A3
ee8f51807847f35c924bb8bf701e863387b603b8
[ "MIT" ]
null
null
null
client/systems/adminPanel/dialog/markerLog.hpp
Exonical/Vanguard_Wasteland.cup_chernarus_A3
ee8f51807847f35c924bb8bf701e863387b603b8
[ "MIT" ]
null
null
null
// ****************************************************************************************** // * This project is licensed under the GNU Affero GPL v3. Copyright © 2016 A3Wasteland.com * // ****************************************************************************************** // @file Name: markerLog.hpp #define ...
26.253165
102
0.563645
Exonical
b7ea14bebef43c6e0b4aae9f1f572d0768277454
6,589
hxx
C++
libbutl/char-scanner.hxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
6
2018-05-31T06:16:37.000Z
2021-03-19T10:37:11.000Z
libbutl/char-scanner.hxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
3
2020-06-19T05:08:42.000Z
2021-09-29T05:23:07.000Z
libbutl/char-scanner.hxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
1
2020-06-16T14:56:48.000Z
2020-06-16T14:56:48.000Z
// file : libbutl/char-scanner.hxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #pragma once #include <string> // char_traits #include <cassert> #include <cstddef> // size_t #include <cstdint> // uint64_t #include <climits> // INT_* #include <utility> // pair, make_pair() #include <istream> #i...
26.676113
79
0.615116
build2
b7f16117c343d641e1dc1375ef028ab26ede9c8f
1,131
hpp
C++
code/binary/include/binary/implementations/simple_heap_buffer.hpp
afxres/binary-cxx
ef84b0d5324c5add5ea8a09340471efc6221f91f
[ "MIT" ]
1
2019-11-21T06:37:04.000Z
2019-11-21T06:37:04.000Z
code/binary/include/binary/implementations/simple_heap_buffer.hpp
afxres/binary-cxx
ef84b0d5324c5add5ea8a09340471efc6221f91f
[ "MIT" ]
null
null
null
code/binary/include/binary/implementations/simple_heap_buffer.hpp
afxres/binary-cxx
ef84b0d5324c5add5ea8a09340471efc6221f91f
[ "MIT" ]
1
2019-11-26T16:47:56.000Z
2019-11-26T16:47:56.000Z
#pragma once #include "../abstract_buffer.hpp" namespace mikodev::binary::implementations { class simple_heap_buffer final : public abstract_buffer { private: byte_ptr buffer_; simple_heap_buffer(byte_ptr buffer, length_t length) : abstract_buffer(length), buffer_(buffer) {} public: ...
29.763158
106
0.617153
afxres
b7f779cc464e7d28a2721bad28df55d3bc650144
320
cpp
C++
VTable/Multiple_Inheritance/Child.cpp
PanagiotisDrakatos/Memory-Management-and-Advanced-Debugging-techniques
d0b9c6f6a43ba64781c859175a092d86f1ab784d
[ "MIT" ]
25
2019-02-01T00:57:50.000Z
2020-12-21T04:40:21.000Z
VTable/Multiple_Inheritance/Child.cpp
PanagiotisDrakatos/Memory-Management-and-Advanced-Debugging-techniques
d0b9c6f6a43ba64781c859175a092d86f1ab784d
[ "MIT" ]
null
null
null
VTable/Multiple_Inheritance/Child.cpp
PanagiotisDrakatos/Memory-Management-and-Advanced-Debugging-techniques
d0b9c6f6a43ba64781c859175a092d86f1ab784d
[ "MIT" ]
2
2019-02-01T04:08:01.000Z
2019-11-09T16:07:26.000Z
#include "Mother.cpp" #include "Father.cpp" class Child : public Mother, public Father { public: Child(){cout<<"Child constructor was called "<<endl<<endl;} virtual void ChildMethod() {cout<<"Child::ChildMethod()"<<endl;} void FatherFoo() override {cout<<"Child::FatherFoo()"<<endl;} int child_data; };
29.090909
68
0.675
PanagiotisDrakatos
b7f891a7ba52853c9a643b7027f065ab819ad0e3
7,570
cpp
C++
src/guidance/segregated_intersection_classification.cpp
aweatherlycap1/osrm-backend
31d6d74f90fa760aa8d1f312c2593dabcbc9a69b
[ "BSD-2-Clause" ]
null
null
null
src/guidance/segregated_intersection_classification.cpp
aweatherlycap1/osrm-backend
31d6d74f90fa760aa8d1f312c2593dabcbc9a69b
[ "BSD-2-Clause" ]
null
null
null
src/guidance/segregated_intersection_classification.cpp
aweatherlycap1/osrm-backend
31d6d74f90fa760aa8d1f312c2593dabcbc9a69b
[ "BSD-2-Clause" ]
1
2019-09-23T22:49:07.000Z
2019-09-23T22:49:07.000Z
#include "guidance/segregated_intersection_classification.hpp" #include "extractor/intersection/coordinate_extractor.hpp" #include "extractor/node_based_graph_factory.hpp" #include "util/coordinate_calculation.hpp" #include "util/name_table.hpp" namespace osrm { namespace guidance { namespace RoadPriorityClass = ext...
31.02459
100
0.561691
aweatherlycap1
b7fe36fbf03d79dc8d8d22506dc21257c2ac1cb6
1,669
inl
C++
Shared/Base/Serialize/SerializableFactory.inl
LukaszByczynski/tbl-4edges
11f8c2a1e40271c542321d9d4d0e4ed24cce92c8
[ "MIT" ]
21
2015-07-19T13:47:17.000Z
2022-03-13T11:13:28.000Z
Shared/Base/Serialize/SerializableFactory.inl
theblacklotus/4edges
11f8c2a1e40271c542321d9d4d0e4ed24cce92c8
[ "MIT" ]
1
2018-03-24T17:54:49.000Z
2018-03-24T17:57:01.000Z
Shared/Base/Serialize/SerializableFactory.inl
jsvennevid/tbl-4edges
11f8c2a1e40271c542321d9d4d0e4ed24cce92c8
[ "MIT" ]
2
2019-02-07T20:42:13.000Z
2021-02-10T07:09:47.000Z
inline SerializableFactory::SerializableFactory(Identifier host, Identifier type, u32 size) : m_host(host), m_type(type), m_size(size), m_next(ms_first), m_structures(0) { ms_first = this; } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// inline...
30.345455
169
0.388856
LukaszByczynski
4d0401bd5bb069de1dbc19d7e90723d4de2e9594
4,065
cpp
C++
build/cpp_test/src/haxe/CallStack.cpp
TomBebb/hxecs
80620512df7b32d70f1b59facdf8f6349192a166
[ "BSD-3-Clause" ]
null
null
null
build/cpp_test/src/haxe/CallStack.cpp
TomBebb/hxecs
80620512df7b32d70f1b59facdf8f6349192a166
[ "BSD-3-Clause" ]
null
null
null
build/cpp_test/src/haxe/CallStack.cpp
TomBebb/hxecs
80620512df7b32d70f1b59facdf8f6349192a166
[ "BSD-3-Clause" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_haxe_CallStack #include <haxe/CallStack.h> #endif #ifndef INCLUDED_haxe_StackItem #include <haxe/StackItem.h> #endif namespace haxe{ void CallStack_obj::__construct() { } Dynamic CallStack_obj::__CreateEmpty(...
28.626761
108
0.717835
TomBebb
4d056b04fd4b4676573d90552810a11c624bf9d8
28,547
cpp
C++
src/tpe_flow_sc.cpp
duxingyi-charles/repulsive-curves
a2e7729357cf25de4147fbfaa17a039c57b13a7a
[ "MIT" ]
null
null
null
src/tpe_flow_sc.cpp
duxingyi-charles/repulsive-curves
a2e7729357cf25de4147fbfaa17a039c57b13a7a
[ "MIT" ]
null
null
null
src/tpe_flow_sc.cpp
duxingyi-charles/repulsive-curves
a2e7729357cf25de4147fbfaa17a039c57b13a7a
[ "MIT" ]
null
null
null
#include "tpe_flow_sc.h" #include "utils.h" #include "product/dense_matrix.h" #include "circle_search.h" namespace LWS { TPEFlowSolverSC::TPEFlowSolverSC(PolyCurveNetwork* g, double a, double b) : constraint(g) { curveNetwork = g; alpha = a; beta = b; ls_step_threshold = 1e-15...
39.484094
148
0.600869
duxingyi-charles
4d09296eadfb85f15d7076cb51c4a1090d1933c6
316
cpp
C++
C++/house-robber.cpp
black-shadows/LeetCode-Solutions
b1692583f7b710943ffb19b392b8bf64845b5d7a
[ "Fair", "Unlicense" ]
1
2020-04-16T08:38:14.000Z
2020-04-16T08:38:14.000Z
house-robber.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
null
null
null
house-robber.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
1
2021-12-25T14:48:56.000Z
2021-12-25T14:48:56.000Z
// Time: O(n) // Space: O(1) class Solution { public: int rob(vector<int>& nums) { int last = 0, result = 0; for (const auto& i : nums) { auto tmp = result; result = max(last + i, result); last = tmp; } return result; } };
19.75
44
0.427215
black-shadows