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
eb4b97d71c86688601b74083737469271df482bd
2,152
cpp
C++
auxiliaryEffectSlot.cpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
1
2019-07-19T03:37:33.000Z
2019-07-19T03:37:33.000Z
auxiliaryEffectSlot.cpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
null
null
null
auxiliaryEffectSlot.cpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
null
null
null
#include "auxiliaryEffectSlot.hpp" #include "effect.hpp" #include "wrapException.hpp" auxiliaryEffectSlot_t* auxiliaryEffectSlot_set(alure::AuxiliaryEffectSlot effectSlot) { auxiliaryEffectSlot_t* dm; dm = new auxiliaryEffectSlot(effectSlot); return dm; } alure::AuxiliaryEffectSlot auxiliaryEffectSlot_get(aux...
23.911111
107
0.712361
LAGonauta
eb4bde6b2d7865d2f35f7c9bae148719879dbb66
8,260
cpp
C++
Projects/Editor/Source/GUI/Controls/CListBox.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
null
null
null
Projects/Editor/Source/GUI/Controls/CListBox.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
null
null
null
Projects/Editor/Source/GUI/Controls/CListBox.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
null
null
null
/* !@ MIT License Copyright (c) 2020 Skylicht Technology CO., LTD 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, modify...
22.81768
141
0.590436
tsukoyumi
eb4c2d416ebbd1cc8b237720d1b7f69a5f0b2b92
2,798
hpp
C++
benchmark/bm_algorithm.hpp
matazure/mtensor
4289284b201cb09ed1dfc49f44d6738751affd63
[ "MIT" ]
82
2020-04-11T09:33:36.000Z
2022-03-23T03:47:25.000Z
benchmark/bm_algorithm.hpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
28
2017-04-26T17:12:35.000Z
2019-04-08T04:05:24.000Z
benchmark/bm_algorithm.hpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
22
2017-01-10T14:57:29.000Z
2019-12-17T08:55:59.000Z
#pragma once #include <array> #include "bm_config.hpp" template <typename tensor_type> inline void bm_tensor_fill(benchmark::State& state) { int ts_size = state.range(0); constexpr int_t rank = tensor_type::rank; pointi<rank> shape; fill(shape, ts_size); auto v = zero<typename tensor_type::value_...
31.088889
96
0.662974
matazure
eb4e3f5f83bd7f1d64970db3f870746388e7101b
3,512
cpp
C++
scripts/pycsw/geos-3.3.3/tests/unit/geos_unit.cpp
Dan-Eli/FGP_Docs
4486a7052863f3ad9c4eb6dfc3a6c6e117bdabe7
[ "MIT" ]
18
2019-05-31T14:18:54.000Z
2022-03-21T11:30:32.000Z
scripts/pycsw/geos-3.3.3/tests/unit/geos_unit.cpp
Dan-Eli/FGP_Docs
4486a7052863f3ad9c4eb6dfc3a6c6e117bdabe7
[ "MIT" ]
9
2019-05-31T14:19:43.000Z
2021-10-16T16:09:52.000Z
scripts/pycsw/geos-3.3.3/tests/unit/geos_unit.cpp
Dan-Eli/FGP_Docs
4486a7052863f3ad9c4eb6dfc3a6c6e117bdabe7
[ "MIT" ]
5
2020-05-29T12:44:31.000Z
2021-03-16T17:16:24.000Z
// $Id: geos_unit.cpp 2796 2009-12-04 15:58:41Z mloskot $ // // Test Suite Runner // #ifdef _MSC_VER #ifdef GEOS_DEBUG_MSVC_USE_VLD #include <vld.h> #endif #endif // tut #include <tut.hpp> #include <tut_reporter.hpp> // geos #include <geos/unload.h> // std #include <cstdlib> #include <iomanip> #include <iostream> n...
29.266667
105
0.474089
Dan-Eli
eb516fc15de0887e21c2b8d2d3a5e8a39b12004a
47,783
hpp
C++
PD_Filter/HashTables/packed_spare_DB.hpp
TheHolyJoker/Comparing-Filters
2c65a4bb2b788b5f0ecbaea33962e26c0c0b0301
[ "Apache-2.0" ]
7
2021-01-04T12:26:45.000Z
2022-02-07T18:41:04.000Z
PD_Filter/HashTables/packed_spare_DB.hpp
TheHolyJoker/Comparing_Filters
2e8ac44163847a09beaa72e4f399291907a96891
[ "Apache-2.0" ]
1
2021-03-15T03:21:30.000Z
2021-09-08T15:06:22.000Z
PD_Filter/HashTables/packed_spare_DB.hpp
TheHolyJoker/Comparing-Filters
2c65a4bb2b788b5f0ecbaea33962e26c0c0b0301
[ "Apache-2.0" ]
1
2021-07-06T08:38:42.000Z
2021-07-06T08:38:42.000Z
// // Created by tomer on 8/18/20. // /* This implementation rely on * 1) Every element in the hashTable consists of three parts (msb to lsb) pd_index, spare_quot, rem. * 2) spare_quot is an integer in range [0,51). More specificity, spare_quot != 63. * 3) number of bits for rem is 8. (not a must). * 4) The empty s...
40.391378
140
0.576251
TheHolyJoker
eb51c2b4bbbf0719f03ca96aa27a19e3b25115d5
3,665
hpp
C++
reto_parte_4.hpp
Ignacio-Moral-22/TC1031_Reto
5a7fe2400e8235d0868bd33c80359f43dfc4b23f
[ "MIT" ]
null
null
null
reto_parte_4.hpp
Ignacio-Moral-22/TC1031_Reto
5a7fe2400e8235d0868bd33c80359f43dfc4b23f
[ "MIT" ]
null
null
null
reto_parte_4.hpp
Ignacio-Moral-22/TC1031_Reto
5a7fe2400e8235d0868bd33c80359f43dfc4b23f
[ "MIT" ]
null
null
null
#ifndef reto_parte_4_hpp #define reto_parte_4_hpp #include <vector> #include <map> #include "clase_archivo.hpp" #include "read_csv_2.hpp" #include "bst.hpp" std::map<std::string, int, std::greater<>> conexionesPorDia(std::string fecha) { //Gererar vector para poder hacer el mapa con los valores std::vector<cl...
30.798319
113
0.604366
Ignacio-Moral-22
eb57b2849b769f0269460977b9591ef10aef4777
935
cc
C++
extern/glow-extras/camera/glow-extras/camera/Lens.cc
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow-extras/camera/glow-extras/camera/Lens.cc
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow-extras/camera/glow-extras/camera/Lens.cc
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#include "Lens.hh" #include <typed-geometry/tg.hh> void glow::camera::Lens::setViewportSize(int w, int h) { mViewportSize.width = w; mViewportSize.height = h; mAspectRatio = static_cast<float>(w) / static_cast<float>(h); } tg::mat4 glow::camera::Lens::getProjectionMatrix() const { if (std::isinf(mFar...
27.5
123
0.592513
rovedit
eb5d2eb221c090927a86275db747da964619319a
473
hpp
C++
src/CountMinSketch.hpp
a1sabau/bloomstream
9195e3dea4bc7321a9dbf7a968d9c66285e38f7a
[ "MIT" ]
null
null
null
src/CountMinSketch.hpp
a1sabau/bloomstream
9195e3dea4bc7321a9dbf7a968d9c66285e38f7a
[ "MIT" ]
null
null
null
src/CountMinSketch.hpp
a1sabau/bloomstream
9195e3dea4bc7321a9dbf7a968d9c66285e38f7a
[ "MIT" ]
1
2020-01-08T00:38:28.000Z
2020-01-08T00:38:28.000Z
#ifndef _SBC_COUNTMIN_H_ #define _SBC_COUNTMIN_H_ #include <limits> #include <vector> #include <cmath> #include <iostream> #include "commons.h" #include "FlatBloofi.hpp" class CountMinSketch { public: CountMinSketch(int wSize_, int bitNo_, int densityThreshold_); bool update(int pos, std::vector<int> idxs); void ...
17.518519
63
0.7463
a1sabau
eb5de862f0520152c5a4b863e0feb43029ea0e2b
2,429
cpp
C++
src/FastqExtract/main.cpp
BeneKenobi/ngs-bits
cf849deb1c80e87b734d748f37f5878536277386
[ "MIT" ]
85
2016-04-26T17:24:20.000Z
2022-03-11T12:33:39.000Z
src/FastqExtract/main.cpp
BeneKenobi/ngs-bits
cf849deb1c80e87b734d748f37f5878536277386
[ "MIT" ]
104
2016-08-09T22:18:32.000Z
2022-03-31T12:39:12.000Z
src/FastqExtract/main.cpp
BeneKenobi/ngs-bits
cf849deb1c80e87b734d748f37f5878536277386
[ "MIT" ]
28
2016-05-10T14:34:20.000Z
2021-10-14T07:22:39.000Z
#include "ToolBase.h" #include "Helper.h" #include "FastqFileStream.h" #include <QSet> #include <QFile> class ConcreteTool : public ToolBase { Q_OBJECT public: ConcreteTool(int& argc, char *argv[]) : ToolBase(argc, argv) { } virtual void setup() { setDescription("Extracts reads from a FASTQ file accordin...
24.535354
139
0.656649
BeneKenobi
eb65fb1f0962cd74df69ae647637d992431a52f4
5,585
cpp
C++
mariongiciel/core/iomanagement.cpp
auzou/mariongiciel
bf5679d7218e39ffef52eea483a9742a35334f2e
[ "Unlicense" ]
null
null
null
mariongiciel/core/iomanagement.cpp
auzou/mariongiciel
bf5679d7218e39ffef52eea483a9742a35334f2e
[ "Unlicense" ]
null
null
null
mariongiciel/core/iomanagement.cpp
auzou/mariongiciel
bf5679d7218e39ffef52eea483a9742a35334f2e
[ "Unlicense" ]
null
null
null
#include "iomanagement.h" /********************DirManagement********************/ void mariongiciel::core::DirManagement::initDirsEnv() { // check if env exist run QMESSAGEBOX ERROR QVector<QString> dirs { mariongiciel::global::rcs::_LOCATION_, mariongiciel::global::rcs::css::_LOCATION_, ...
24.495614
125
0.589436
auzou
eb68a9bd680b579ae6ec7f3c7a13e6e645f31299
1,812
cpp
C++
src/hwcomponents/caros_netft/src/netft/netftsim_main.cpp
tlund80/MARVIN
9fddfd4c8e298850fc8ce49c02ff437f139309d0
[ "Apache-2.0" ]
null
null
null
src/hwcomponents/caros_netft/src/netft/netftsim_main.cpp
tlund80/MARVIN
9fddfd4c8e298850fc8ce49c02ff437f139309d0
[ "Apache-2.0" ]
null
null
null
src/hwcomponents/caros_netft/src/netft/netftsim_main.cpp
tlund80/MARVIN
9fddfd4c8e298850fc8ce49c02ff437f139309d0
[ "Apache-2.0" ]
1
2021-11-03T09:10:44.000Z
2021-11-03T09:10:44.000Z
/* */ /** * Simple stand-alone ROS node that takes data from NetFT sensor and * Publishes it ROS topic */ #include "ros/ros.h" #include "marvin_common/WrenchData.h" #include "marvin_common/TimeRequest.h" #include "marvin_common/MarvinUtils.hpp" #include <rw/common/PropertyMap.hpp> #include <rw/common/TimerUtil.hpp>...
25.885714
165
0.665011
tlund80
eb6d6bd1204deb5e1454d666f05674d4a75b6afe
1,864
hpp
C++
src/utility/FunctionHook.hpp
praydog/dx11_mod_base
cfbce80313b782813a959c2d2ceb69705643a6cd
[ "MIT" ]
1
2022-03-26T22:57:55.000Z
2022-03-26T22:57:55.000Z
src/utility/FunctionHook.hpp
praydog/dx11_mod_base
cfbce80313b782813a959c2d2ceb69705643a6cd
[ "MIT" ]
null
null
null
src/utility/FunctionHook.hpp
praydog/dx11_mod_base
cfbce80313b782813a959c2d2ceb69705643a6cd
[ "MIT" ]
null
null
null
#pragma once #include <mutex> #include <windows.h> #include <cstdint> #include "Address.hpp" class FunctionHook { public: FunctionHook() = delete; FunctionHook(const FunctionHook& other) = delete; FunctionHook(FunctionHook&& other) = delete; FunctionHook(Address target, Address destination); virt...
27.411765
107
0.689914
praydog
eb6eb4894bd2c1e9bbc71f9d4e9b4fc811162983
2,792
cpp
C++
android-ndk-r10b/sources/android/crazy_linker/src/crazy_linker_line_reader_unittest.cpp
perezite/Boost4Android
9ed03a45815aead156c129da1927cc04b8caa6a3
[ "BSL-1.0" ]
1
2019-07-10T15:21:02.000Z
2019-07-10T15:21:02.000Z
android-ndk-r10b/sources/android/crazy_linker/src/crazy_linker_line_reader_unittest.cpp
perezite/Boost4Android
9ed03a45815aead156c129da1927cc04b8caa6a3
[ "BSL-1.0" ]
null
null
null
android-ndk-r10b/sources/android/crazy_linker/src/crazy_linker_line_reader_unittest.cpp
perezite/Boost4Android
9ed03a45815aead156c129da1927cc04b8caa6a3
[ "BSL-1.0" ]
1
2019-02-25T11:55:44.000Z
2019-02-25T11:55:44.000Z
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "crazy_linker_line_reader.h" #include <minitest/minitest.h> #include "crazy_linker_system_mock.h" namespace crazy { static const char kFi...
30.021505
80
0.707736
perezite
eb6f2bf9b90e08242a69ff650a9e034e4d0d8ba3
7,725
cpp
C++
Source/Core/Visualization/Mapper/QuadraticHexahedralCell.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Visualization/Mapper/QuadraticHexahedralCell.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Visualization/Mapper/QuadraticHexahedralCell.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /** * @file HexahedralCell.cpp * @author Takuma Kawamura, Naohisa Sakamoto */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All rig...
37.867647
91
0.43301
CCSEPBVR
eb700dc121d997738d687fa67da4c8cf791f8579
987
cxx
C++
cpp_fund/const.cxx
jsrdzhk/algo_snippet
a929f73db1ad14468f12ee45d503cdba8ed12f40
[ "MIT" ]
null
null
null
cpp_fund/const.cxx
jsrdzhk/algo_snippet
a929f73db1ad14468f12ee45d503cdba8ed12f40
[ "MIT" ]
null
null
null
cpp_fund/const.cxx
jsrdzhk/algo_snippet
a929f73db1ad14468f12ee45d503cdba8ed12f40
[ "MIT" ]
null
null
null
/* * @title: todo * @author: Rodney Cheung * @date: 2021-07-15 09:10:44 * @last_author: Rodney Cheung * @last_edit_time: 2021-07-15 10:56:09 */ #include "precompiled_headers.h" class TestConst { private: int a; int b; public: TestConst(int a1) : a(a1) {} int getA() { return a; } int g...
21.456522
47
0.573455
jsrdzhk
eb73e864ebadf1ed7c4fdc1d51bd8a76f53f8098
1,988
cc
C++
uri.cc
insufficientchocolate/github-client-cpp
2ee89c6bc20f8e05f18699a6017b0926f27c6c2f
[ "MIT" ]
null
null
null
uri.cc
insufficientchocolate/github-client-cpp
2ee89c6bc20f8e05f18699a6017b0926f27c6c2f
[ "MIT" ]
3
2019-03-04T07:22:12.000Z
2019-03-04T07:23:04.000Z
uri.cc
insufficientchocolate/github-client-cpp
2ee89c6bc20f8e05f18699a6017b0926f27c6c2f
[ "MIT" ]
null
null
null
#include <github-client/errors/illegal_uri_exception.hpp> #include <github-client/uri.hpp> #include <regex> #include <sstream> static const std::string kUriPattern = "^([a-z]+):\\/\\/([A-Za-z0-9]+(?:\\.[A-Za-z0-9]+)+)(?:\\:([0-9]+))?(?:\\/" "(.*))?"; namespace GithubClient { static std::string inferPortBySche...
24.54321
78
0.595573
insufficientchocolate
eb7a2b2a4aa85aee50ab9f700a67c776038ae919
1,858
cpp
C++
server/src/beast_server.cpp
courtarro/beefweb
879f68d8be5339c73b02bf32c9fa39027cd66fab
[ "MIT" ]
148
2017-08-25T13:32:05.000Z
2022-03-17T18:40:49.000Z
server/src/beast_server.cpp
courtarro/beefweb
879f68d8be5339c73b02bf32c9fa39027cd66fab
[ "MIT" ]
160
2017-08-16T19:58:53.000Z
2022-02-26T09:57:38.000Z
server/src/beast_server.cpp
courtarro/beefweb
879f68d8be5339c73b02bf32c9fa39027cd66fab
[ "MIT" ]
24
2018-05-23T18:59:47.000Z
2022-03-23T17:25:01.000Z
#include "beast_server.hpp" #include "beast_listener.hpp" #include "log.hpp" namespace msrv { namespace { template<typename Address> asio::ip::tcp::endpoint makeEndpoint(int port, bool allowRemote) { return asio::ip::tcp::endpoint( allowRemote ? Address::any() : Address::loopback(), static_cast<u...
21.604651
90
0.637783
courtarro
eb7d09f37e54e71f3fa306baef0efef663c4cef7
1,830
hpp
C++
external/vsomeip/implementation/plugin/include/plugin_manager_impl.hpp
lixiaolia/ndk-someip-lib
f4088e87f07e3a6bcec402514bb7ebb77ec946ce
[ "Apache-2.0" ]
3
2021-06-17T14:01:04.000Z
2022-03-18T09:22:44.000Z
external/vsomeip/implementation/plugin/include/plugin_manager_impl.hpp
lixiaolia/ndk-someip-lib
f4088e87f07e3a6bcec402514bb7ebb77ec946ce
[ "Apache-2.0" ]
1
2022-03-15T06:21:33.000Z
2022-03-28T06:31:12.000Z
external/vsomeip/implementation/plugin/include/plugin_manager_impl.hpp
lixiaolia/ndk-someip-lib
f4088e87f07e3a6bcec402514bb7ebb77ec946ce
[ "Apache-2.0" ]
4
2021-06-17T14:12:18.000Z
2021-12-13T11:53:10.000Z
// Copyright (C) 2016-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) // 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 VSOMEIP_V3_PLUGIN_MANAGER_IMP...
31.016949
98
0.713115
lixiaolia
eb7e7082dcbab2256837a9ef98f637c2fb01062f
7,343
cpp
C++
src/episode/episodeclass.cpp
carstene1ns/pekka-kana-2
89e9eccf267ad40773af3717b8d93b3acf783a97
[ "MIT" ]
null
null
null
src/episode/episodeclass.cpp
carstene1ns/pekka-kana-2
89e9eccf267ad40773af3717b8d93b3acf783a97
[ "MIT" ]
null
null
null
src/episode/episodeclass.cpp
carstene1ns/pekka-kana-2
89e9eccf267ad40773af3717b8d93b3acf783a97
[ "MIT" ]
1
2020-04-26T19:09:09.000Z
2020-04-26T19:09:09.000Z
//######################### //Pekka Kana 2 //Copyright (c) 2003 Janne Kivilahti //######################### #include "episode/episodeclass.hpp" #include "episode/mapstore.hpp" #include "game/mapclass.hpp" #include "language.hpp" #include "system.hpp" #include "save.hpp" #include "engine/PLog.hpp" #include "engine/PUt...
20.626404
111
0.629988
carstene1ns
eb7f4466712aa9e1690917f021de17c8e0dc8edc
21,611
cpp
C++
src/gpio_pin_data.cpp
yukimakura/JetsonGPIO
06f7eb5882aacbcd0395410fd09a1c9c7745a89b
[ "MIT" ]
null
null
null
src/gpio_pin_data.cpp
yukimakura/JetsonGPIO
06f7eb5882aacbcd0395410fd09a1c9c7745a89b
[ "MIT" ]
null
null
null
src/gpio_pin_data.cpp
yukimakura/JetsonGPIO
06f7eb5882aacbcd0395410fd09a1c9c7745a89b
[ "MIT" ]
null
null
null
/* Copyright (c) 2012-2017 Ben Croston ben@croston.org. Copyright (c) 2019, NVIDIA CORPORATION. Copyright (c) 2019 Jueon Park(pjueon) bluegbg@gmail.com. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft...
49.909931
117
0.535283
yukimakura
eb7fbcd63898c9e8d31f1dcf09857bd25d0cc660
1,770
hh
C++
include/WCSimRandomParameters.hh
chipsneutrino/chips-sim
19d3f2d75c674c06d2f27b9a344b70ca53e672c5
[ "MIT" ]
null
null
null
include/WCSimRandomParameters.hh
chipsneutrino/chips-sim
19d3f2d75c674c06d2f27b9a344b70ca53e672c5
[ "MIT" ]
null
null
null
include/WCSimRandomParameters.hh
chipsneutrino/chips-sim
19d3f2d75c674c06d2f27b9a344b70ca53e672c5
[ "MIT" ]
null
null
null
#pragma once #include "WCSimRandomMessenger.hh" #include "CLHEP/Random/Random.h" #include "CLHEP/Random/RanluxEngine.h" #include "CLHEP/Random/JamesRandom.h" #include "CLHEP/Random/RanecuEngine.h" typedef enum { RANDOM_E_RANLUX = 1, RANDOM_E_RANECU = 2, RANDOM_E_HEPJAMES = 3 } WCSimRandomGenerator; class WCSimRan...
21.325301
97
0.724294
chipsneutrino
eb810d0dfd3de95cdd86db9060b5e81efca81c83
5,921
cpp
C++
game_shared/shared_util.cpp
QuakeEngines/halflife-sdk-2019
10b494deaef5433245213851634db1361f1ba4ce
[ "Unlicense" ]
2,144
2015-01-01T10:11:49.000Z
2022-03-31T17:47:43.000Z
game_shared/shared_util.cpp
QuakeEngines/halflife-sdk-2019
10b494deaef5433245213851634db1361f1ba4ce
[ "Unlicense" ]
1,879
2015-01-01T15:58:04.000Z
2022-03-28T11:49:20.000Z
game_shared/shared_util.cpp
QuakeEngines/halflife-sdk-2019
10b494deaef5433245213851634db1361f1ba4ce
[ "Unlicense" ]
625
2015-01-03T12:54:23.000Z
2022-03-30T20:17:05.000Z
//========= Copyright � 1996-2002, Valve LLC, All rights reserved. ============ // // Purpose: dll-agnostic routines (no dll dependencies here) // // $NoKeywords: $ //============================================================================= // Author: Matthew D. Campbell (matt@turtlerockstudios.com), 2003 #includ...
22.599237
112
0.489782
QuakeEngines
eb820a46dc4a6067f3587e35189f6a3adaac49de
8,657
cpp
C++
test/test_functional.cpp
fractalembedded/etl
0754b3380e07b7b0eca4d6f1c26efc9eab0c7ce7
[ "MIT" ]
1,159
2015-01-05T13:18:58.000Z
2022-03-31T16:43:48.000Z
test/test_functional.cpp
fractalembedded/etl
0754b3380e07b7b0eca4d6f1c26efc9eab0c7ce7
[ "MIT" ]
383
2015-04-26T08:04:40.000Z
2022-03-31T09:25:56.000Z
test/test_functional.cpp
fractalembedded/etl
0754b3380e07b7b0eca4d6f1c26efc9eab0c7ce7
[ "MIT" ]
248
2015-01-13T07:50:30.000Z
2022-03-31T21:55:37.000Z
/****************************************************************************** The MIT License(MIT) Embedded Template Library. https://github.com/ETLCPP/etl https://www.etlcpp.com Copyright(c) 2014 jwellbelove Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associat...
30.590106
82
0.442763
fractalembedded
eb836778c2f9c07b4cdf9d6518d01d42545d0969
225
cpp
C++
runtime/helpers/abort.cpp
PTS93/compute-runtime
0655045c7962d551e29008547a802e398b646c6e
[ "MIT" ]
null
null
null
runtime/helpers/abort.cpp
PTS93/compute-runtime
0655045c7962d551e29008547a802e398b646c6e
[ "MIT" ]
null
null
null
runtime/helpers/abort.cpp
PTS93/compute-runtime
0655045c7962d551e29008547a802e398b646c6e
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2018 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/helpers/abort.h" #include <cstdlib> namespace OCLRT { void abortExecution() { abort(); } } // namespace OCLRT
13.235294
44
0.666667
PTS93
eb83fe9fdebc46c9a82adc365bf5504d3815299f
6,023
cpp
C++
Tests/DiligentCoreTest/src/Common/StringToolsTest.cpp
Zone-organization/DiligentCore
a9091a1848492ae1aecece3a955badf9367b189f
[ "Apache-2.0" ]
398
2016-04-21T03:38:50.000Z
2022-03-23T15:27:31.000Z
Tests/DiligentCoreTest/src/Common/StringToolsTest.cpp
Zone-organization/DiligentCore
a9091a1848492ae1aecece3a955badf9367b189f
[ "Apache-2.0" ]
275
2017-12-27T04:11:55.000Z
2022-03-30T07:35:11.000Z
Tests/DiligentCoreTest/src/Common/StringToolsTest.cpp
Zone-organization/DiligentCore
a9091a1848492ae1aecece3a955badf9367b189f
[ "Apache-2.0" ]
139
2017-09-13T06:19:49.000Z
2022-03-28T15:01:20.000Z
/* * Copyright 2019-2021 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2....
45.977099
89
0.70181
Zone-organization
eb84b4d3c4ee846e506eae8983c52c63fd4de7bd
2,460
cpp
C++
ColladaConversion/DLLInterface.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
3
2015-12-04T09:16:53.000Z
2021-05-28T23:22:49.000Z
ColladaConversion/DLLInterface.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
null
null
null
ColladaConversion/DLLInterface.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
2
2015-03-03T05:32:39.000Z
2015-12-04T09:16:54.000Z
// Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "ColladaConversion.h" #include "../Assets/ICompileOperation.h" #include "../Assets/CompilerLibrary.h" #include "../ConsoleRig/AttachableLibrary.h" #include "../Console...
31.948052
147
0.723984
djewsbury
eb85ae315c346bc06113bdc4ed64432f9a7531db
1,452
hpp
C++
src/hid/keyboard.hpp
alexhuntley/GameplayFootball
67a3c123e31384b757b1d223c53acf9f7fcb8b41
[ "Apache-2.0" ]
56
2020-07-22T22:11:06.000Z
2022-03-09T08:11:43.000Z
src/hid/keyboard.hpp
alexhuntley/GameplayFootball
67a3c123e31384b757b1d223c53acf9f7fcb8b41
[ "Apache-2.0" ]
9
2021-04-22T07:06:25.000Z
2022-01-22T12:54:52.000Z
src/hid/keyboard.hpp
alexhuntley/GameplayFootball
67a3c123e31384b757b1d223c53acf9f7fcb8b41
[ "Apache-2.0" ]
18
2020-10-15T08:11:07.000Z
2022-03-23T14:49:46.000Z
// written by bastiaan konings schuiling 2008 - 2015 // this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important. // i do not offer support, so don't ask. to be used for inspiration :) #ifndef _HPP_HIDKEYBOARD #define _HPP_HIDKEYBOARD #include "b...
27.923077
132
0.752755
alexhuntley
eb863702679b016818c2a49a9d8cfc568eeb84eb
1,116
cpp
C++
leetcode/leetcode_543.cpp
kongshuiJ/practice_algorithm
be850ff29eaea1d07d6750d3a4068acd76a4954c
[ "MIT" ]
null
null
null
leetcode/leetcode_543.cpp
kongshuiJ/practice_algorithm
be850ff29eaea1d07d6750d3a4068acd76a4954c
[ "MIT" ]
null
null
null
leetcode/leetcode_543.cpp
kongshuiJ/practice_algorithm
be850ff29eaea1d07d6750d3a4068acd76a4954c
[ "MIT" ]
null
null
null
#include <iostream> struct treeNode { int key; treeNode *lchild; treeNode *rchild; treeNode(int tempKey) { key = tempKey; lchild = nullptr; rchild = nullptr; } }; int max_diameter = 0; // 计算二叉树的最大深度 int maxDepth(treeNode *root) { if (root == nullptr) { ...
18.295082
61
0.613799
kongshuiJ
eb879f4cfa1a7d876b67ecc8dcdf7a752b37aba6
4,399
cpp
C++
test/unit/models/WalletTest.cpp
enjin/enjin-cpp-sdk
2779d4117dabbfe1cfc07ae43e064ab0494ea769
[ "Apache-2.0" ]
12
2021-09-28T14:37:22.000Z
2022-03-04T17:54:11.000Z
test/unit/models/WalletTest.cpp
enjin/enjin-cpp-sdk
2779d4117dabbfe1cfc07ae43e064ab0494ea769
[ "Apache-2.0" ]
null
null
null
test/unit/models/WalletTest.cpp
enjin/enjin-cpp-sdk
2779d4117dabbfe1cfc07ae43e064ab0494ea769
[ "Apache-2.0" ]
8
2021-11-05T18:56:55.000Z
2022-01-10T11:14:24.000Z
/* Copyright 2021 Enjin Pte. Ltd. * * 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...
29.326667
140
0.723801
enjin
eb8f295b4f2a3d7c9401e4003d4800a7c926ffc3
454
cpp
C++
main.cpp
Algorithms-and-Data-Structures-2022/linear-data-structures-assignment-MihailLovch
b79165b8ff4450e146102cf9b5aa246397f9cf24
[ "MIT" ]
null
null
null
main.cpp
Algorithms-and-Data-Structures-2022/linear-data-structures-assignment-MihailLovch
b79165b8ff4450e146102cf9b5aa246397f9cf24
[ "MIT" ]
null
null
null
main.cpp
Algorithms-and-Data-Structures-2022/linear-data-structures-assignment-MihailLovch
b79165b8ff4450e146102cf9b5aa246397f9cf24
[ "MIT" ]
null
null
null
#include <iostream> // cout #include "assignment/dynamic_array.hpp" // DynamicArray #include "assignment/linked_list.hpp" // LinkedList #include "assignment/array_stack.hpp" // ArrayStack #include "assignment/linked_queue.hpp" // LinkedQueue using std::cout; int main(int argc, char **argv) { // Пример. ...
23.894737
56
0.715859
Algorithms-and-Data-Structures-2022
eb930ca6a63165ef823f2c8b6658ca761838d788
1,119
hpp
C++
src/DnnLayerSoftmax.hpp
barrettd/tfs_dnn
80e53e61291d63ab4d70301f34798dc83ea1cbf5
[ "MIT" ]
3
2017-03-01T20:30:39.000Z
2020-08-29T17:48:30.000Z
src/DnnLayerSoftmax.hpp
barrettd/tfs_dnn
80e53e61291d63ab4d70301f34798dc83ea1cbf5
[ "MIT" ]
null
null
null
src/DnnLayerSoftmax.hpp
barrettd/tfs_dnn
80e53e61291d63ab4d70301f34798dc83ea1cbf5
[ "MIT" ]
null
null
null
// -------------------------------------------------------------------- // DnnLayerSoftmax.hpp // // Created by Barrett Davis on 5/8/16. // Copyright © 2016 Tree Frog Software. All rights reserved. // -------------------------------------------------------------------- #ifndef DnnLayerSoftmax_hpp #define DnnLayerSof...
29.447368
93
0.554066
barrettd
eb93a87f64d64528f1476304f7970846bc6fa881
1,130
cpp
C++
src/editor/dialog/build_dialog.cpp
alicerunsonfedora/godot-kotlin-jvm
5ffb1f95540282b702677272343d42005da220d0
[ "MIT" ]
141
2021-03-05T03:29:01.000Z
2022-03-31T18:16:05.000Z
src/editor/dialog/build_dialog.cpp
alicerunsonfedora/godot-kotlin-jvm
5ffb1f95540282b702677272343d42005da220d0
[ "MIT" ]
142
2021-03-04T07:11:19.000Z
2022-03-19T10:05:45.000Z
src/editor/dialog/build_dialog.cpp
alicerunsonfedora/godot-kotlin-jvm
5ffb1f95540282b702677272343d42005da220d0
[ "MIT" ]
12
2021-03-06T23:06:29.000Z
2022-03-15T02:38:06.000Z
#ifdef TOOLS_ENABLED #include "build_dialog.h" #include <editor/editor_scale.h> #include <modules/kotlin_jvm/src/editor/build/build_manager.h> BuildDialog::BuildDialog(): scroll_container(memnew(ScrollContainer)), log_label(memnew(Label)) { ClassDB::bind_method(D_METHOD("on_build_dialog_hide"), &BuildDialog::on...
31.388889
115
0.740708
alicerunsonfedora
eb949bae8acb6f32e314119e2b7d9a9b67071e1d
12,952
hpp
C++
dependencies/berkelium/include/berkelium/Window.hpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
8
2015-06-02T20:57:55.000Z
2020-02-09T21:50:34.000Z
dependencies/berkelium/include/berkelium/Window.hpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2016-02-11T15:23:41.000Z
2017-03-16T13:35:11.000Z
dependencies/berkelium/include/berkelium/Window.hpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/* Berkelium - Embedded Chromium * Window.hpp * * Copyright (c) 2009, Daniel Reiter Horn * 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 ...
36.691218
101
0.675571
amvb
eb94dd8d1ffbd829bbb47f92bbefb1e3390f9526
863
cpp
C++
client/TracyAlloc.cpp
FilippoLeon/tracy
ca72f2c2fde1b6591dcdbe2b8eeadb8068450248
[ "BSD-3-Clause" ]
null
null
null
client/TracyAlloc.cpp
FilippoLeon/tracy
ca72f2c2fde1b6591dcdbe2b8eeadb8068450248
[ "BSD-3-Clause" ]
null
null
null
client/TracyAlloc.cpp
FilippoLeon/tracy
ca72f2c2fde1b6591dcdbe2b8eeadb8068450248
[ "BSD-3-Clause" ]
null
null
null
#ifdef TRACY_ENABLE #include <atomic> #include "../common/TracyAlloc.hpp" #include "../common/TracyYield.hpp" namespace tracy { extern std::atomic<int> RpInitDone; extern std::atomic<int> RpInitLock; TRACY_API void InitRpmallocPlumbing() { const auto done = RpInitDone.load( std::memory_order_acquire ); if(...
23.972222
152
0.658169
FilippoLeon
eb95630e2103a424128d0653fad90e775a6e815b
20,092
cpp
C++
src/extern/inventor/lib/database/src/so/nodes/SoNurbsCurve.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/inventor/lib/database/src/so/nodes/SoNurbsCurve.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/inventor/lib/database/src/so/nodes/SoNurbsCurve.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library 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 2.1 of the License, or (at your opti...
31.198758
79
0.577294
OpenXIP
eb9690cfd0a599c6d518fd01d6fed86fcf2803db
23,570
hpp
C++
src/libs/fileext/excel/sheet.hpp
dmryutov/document2html
753d37a42a7c9e9daeb33183228ac5bf0df87295
[ "MIT" ]
7
2018-01-18T05:39:53.000Z
2020-05-25T10:16:44.000Z
src/libs/fileext/excel/sheet.hpp
dmryutov/document2html
753d37a42a7c9e9daeb33183228ac5bf0df87295
[ "MIT" ]
1
2018-02-07T11:04:23.000Z
2018-02-10T18:16:02.000Z
src/libs/fileext/excel/sheet.hpp
dmryutov/document2html
753d37a42a7c9e9daeb33183228ac5bf0df87295
[ "MIT" ]
4
2018-06-27T23:53:46.000Z
2021-09-22T05:38:39.000Z
/** * @brief Excel files (xls/xlsx) into HTML сonverter * @package excel * @file sheet.hpp * @author dmryutov (dmryutov@gmail.com) * @copyright python-excel (https://github.com/python-excel/xlrd) * @date 02.12.2016 -- 28.01.2018 */ #pragma once #include <map> #include <string> #include <vecto...
30.61039
108
0.663004
dmryutov
eb98eb8244670a0921bee1446be51be8cf932707
988
hpp
C++
frontend/scanner.hpp
mark-sed/ebe
6280704e377e55b89aa5125942cc710b5e73209e
[ "MIT" ]
1
2022-02-22T21:42:28.000Z
2022-02-22T21:42:28.000Z
frontend/scanner.hpp
mark-sed/ebe
6280704e377e55b89aa5125942cc710b5e73209e
[ "MIT" ]
null
null
null
frontend/scanner.hpp
mark-sed/ebe
6280704e377e55b89aa5125942cc710b5e73209e
[ "MIT" ]
null
null
null
/** * @file scanner.hpp * @author Marek Sedlacek * @date July 2021 * @copyright Copyright 2021 Marek Sedlacek. All rights reserved. * * @brief Syntactical analysis * * Handles scanning of input example files and ebel code as well * Each file type can have its own scanner which extends base Scanner class */ ...
24.7
82
0.701417
mark-sed
eb9b8f4b04f885183cb72ce5cc4e53d8b6415649
16,908
cpp
C++
icd/layers/vk_layer_switchable_graphics.cpp
Zakhrov/xgl
724acd3f2ad451151ef24e5107feb8b0ddefa01c
[ "MIT" ]
null
null
null
icd/layers/vk_layer_switchable_graphics.cpp
Zakhrov/xgl
724acd3f2ad451151ef24e5107feb8b0ddefa01c
[ "MIT" ]
null
null
null
icd/layers/vk_layer_switchable_graphics.cpp
Zakhrov/xgl
724acd3f2ad451151ef24e5107feb8b0ddefa01c
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2015-2019 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
45.451613
120
0.567897
Zakhrov
eb9c08e76a30a5c5a972b4b1200094867e49c6dd
15,485
cpp
C++
src/hdk/graphics/hdTGALoader.cpp
cdave1/hdk
7c00dcbb255a48ab4a77d808cda0096c7e0a0fa6
[ "Zlib" ]
2
2016-06-15T17:47:50.000Z
2019-07-29T10:33:05.000Z
src/hdk/graphics/hdTGALoader.cpp
cdave1/hdk
7c00dcbb255a48ab4a77d808cda0096c7e0a0fa6
[ "Zlib" ]
null
null
null
src/hdk/graphics/hdTGALoader.cpp
cdave1/hdk
7c00dcbb255a48ab4a77d808cda0096c7e0a0fa6
[ "Zlib" ]
null
null
null
/* * Copyright (c) 2014 Hackdirt Ltd. * Author: David Petrie (david@davidpetrie.com) * * 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 so...
26.335034
127
0.528253
cdave1
eb9caa40876e149727f9f55e036c0098aea2994e
3,225
cpp
C++
hackerrank/contests/hack-the-interview-iv-apac/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
hackerrank/contests/hack-the-interview-iv-apac/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
hackerrank/contests/hack-the-interview-iv-apac/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Hack the Interview IV (Asia Pacific) - Arrange Students https://www.hackerrank.com/contests/hack-the-interview-iv-apac/challenges/arrange-students */ #include <bits/stdc++.h> using namespace std; string ltrim(const string &); string rtrim(const string &); vector<string> split(const string &); /* * Complete the ...
20.941558
90
0.542326
wingkwong
eba042e6e380221a73d1a5aa2a26ba3febdc47d0
117
cpp
C++
tests/functional_tests/solvers/test_solver_ddm_symmetric_multi_rhs.cpp
htool-ddm/htool
e4dbec7c08c5008e62344fd0d5ebfdf95ef8863f
[ "MIT" ]
15
2020-05-06T15:20:42.000Z
2022-03-15T10:27:56.000Z
tests/functional_tests/solvers/test_solver_ddm_symmetric_multi_rhs.cpp
htool-ddm/htool
e4dbec7c08c5008e62344fd0d5ebfdf95ef8863f
[ "MIT" ]
14
2020-05-25T13:59:11.000Z
2022-03-02T16:40:45.000Z
tests/functional_tests/solvers/test_solver_ddm_symmetric_multi_rhs.cpp
PierreMarchand20/htool
b6e91690f8d7c20d67dfb3b8db2e7ea674405a37
[ "MIT" ]
2
2018-04-25T07:44:35.000Z
2019-11-05T16:57:00.000Z
#include "test_solver_ddm.hpp" int main(int argc, char *argv[]) { return test_solver_ddm(argc, argv, 10, 'S'); }
23.4
48
0.675214
htool-ddm
eba34fa0c236a06b55368da16d920cdd29b4b0b8
2,103
hh
C++
moc/generate/source.hh
marcellfischbach/SpiceEngine
e25e1e4145b7afaea9179bb8e33e4d184bd407c4
[ "BSD-3-Clause" ]
null
null
null
moc/generate/source.hh
marcellfischbach/SpiceEngine
e25e1e4145b7afaea9179bb8e33e4d184bd407c4
[ "BSD-3-Clause" ]
1
2021-09-09T12:51:56.000Z
2021-09-09T12:51:56.000Z
moc/generate/source.hh
marcellfischbach/SpiceEngine
e25e1e4145b7afaea9179bb8e33e4d184bd407c4
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <generate/generator.hh> #include <vector> #include <list> namespace spc::moc { struct iOutput; class CSMetaNode; class Argument; class ClassNode; class FunctionNode; class MemberNode; class TypeDef; class SourceGenerator : public Generator { public: SourceGenerator(); void Output(iOutpu...
31.863636
167
0.792677
marcellfischbach
eba709ee902db2a8428fd22ae44cf0e160ed1197
3,438
hpp
C++
ble-cpp/src/map/CoordinateSystem.hpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
null
null
null
ble-cpp/src/map/CoordinateSystem.hpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
null
null
null
ble-cpp/src/map/CoordinateSystem.hpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
null
null
null
/******************************************************************************* * Copyright (c) 2014, 2015 IBM Corporation and others * * 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 ...
37.78022
134
0.662885
harsh-agarwal
eba9338b349e4e29057042fcc40ea1683fb704ff
527
cpp
C++
cpp/grains/grains.cpp
syohex/exercism
b27046bc0b202aea3bbc4b909e9ff91530b69bce
[ "MIT" ]
null
null
null
cpp/grains/grains.cpp
syohex/exercism
b27046bc0b202aea3bbc4b909e9ff91530b69bce
[ "MIT" ]
null
null
null
cpp/grains/grains.cpp
syohex/exercism
b27046bc0b202aea3bbc4b909e9ff91530b69bce
[ "MIT" ]
null
null
null
#include "grains.h" namespace grains { unsigned long long square(int n) { const auto power = [](int n) -> unsigned long long { if (n == 1) { return 1; } unsigned long long value = 2; for (int i = 2; i < n; ++i) { value *= 2ULL; } return val...
16.46875
56
0.478178
syohex
ebb2e5fc9197c292a1cde2d41354f0567704f575
1,964
hpp
C++
Engine/Controller/NavBody.hpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
Engine/Controller/NavBody.hpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
Engine/Controller/NavBody.hpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
// // NavBody.hpp // EnginePrototype // // Created by Samir Sinha on 2/16/16. // // #ifndef Overview_Controller_NavBody_hpp #define Overview_Controller_NavBody_hpp #include "ControllerTypes.hpp" #include "Engine/Path/NavPath.hpp" #include <vector> namespace cinek { namespace ove { class NavBody { C...
22.574713
74
0.652749
samkusin
ebb3b6c4464b76dc93475a7413eb9e971b714c7a
5,470
hpp
C++
ros/catkin_ws/src/ecl/ecl_lite/ecl_sigslots_lite/include/ecl/sigslots_lite/signal.hpp
Kanaderu/spiking-ddpg-mapless-navigation
2b5e7e67385dee4428b8036bc4ffe95e812b34e0
[ "MIT" ]
null
null
null
ros/catkin_ws/src/ecl/ecl_lite/ecl_sigslots_lite/include/ecl/sigslots_lite/signal.hpp
Kanaderu/spiking-ddpg-mapless-navigation
2b5e7e67385dee4428b8036bc4ffe95e812b34e0
[ "MIT" ]
null
null
null
ros/catkin_ws/src/ecl/ecl_lite/ecl_sigslots_lite/include/ecl/sigslots_lite/signal.hpp
Kanaderu/spiking-ddpg-mapless-navigation
2b5e7e67385dee4428b8036bc4ffe95e812b34e0
[ "MIT" ]
null
null
null
/** * @file /ecl_sigslots_lite/include/ecl/sigslots_lite/signal.hpp * * @brief Simple signal interface. * * Could probably set up a signal base for these, but its ok as is. * * @date Feb, 2011 **/ /***************************************************************************** ** Ifdefs **************************...
24.096916
78
0.560146
Kanaderu
ebbb4b52ad9bee5994ca05fd99a1d0e355ead9f1
307
hpp
C++
sdk/wpp7/include/xdouble.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/wpp7/include/xdouble.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/wpp7/include/xdouble.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
#ifndef WPP7_TYPE_DOUBLE_H #define WPP7_TYPE_DOUBLE_H #include "vlang7.h" namespace xlang { class VLANG_API xdouble { private: double v; public: static wchar_t* toString(double v); static wchar_t* toStringex(float v); static int toInt(double v); }; } //namespace xlang #endif //WPP7_TYPE_DOUBLE_H
13.347826
37
0.7557
qianxj
ebbdc913c3654ea1c435f95d43afc83f349841d6
766
cpp
C++
test/networks/mainnet.cpp
kalgoop/cpp-crypto
b0cc3aad88d0900014c134e0adbb5e6c4d353d7b
[ "MIT" ]
null
null
null
test/networks/mainnet.cpp
kalgoop/cpp-crypto
b0cc3aad88d0900014c134e0adbb5e6c4d353d7b
[ "MIT" ]
null
null
null
test/networks/mainnet.cpp
kalgoop/cpp-crypto
b0cc3aad88d0900014c134e0adbb5e6c4d353d7b
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "networks/mainnet.h" using namespace Ark::Crypto::Networks; TEST(networks, mainnet_base58_prefix_get) { ASSERT_EQ(0x17, Mainnet.getBase58Prefix(BASE58_ADDRESS_P2PKH)); ASSERT_EQ(0x00, Mainnet.getBase58Prefix(BASE58_ADDRESS_P2SH)); ASSERT_EQ(0xaa, Mainnet.getBase58Prefix(B...
23.212121
67
0.761097
kalgoop
ebbdf3306ea79fff0f79f6f4563651ce670c533e
17,777
cpp
C++
Samples/DeviceEnumerationAndPairing/cppwinrt/Scenario9_CustomPairDevice.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/DeviceEnumerationAndPairing/cppwinrt/Scenario9_CustomPairDevice.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/DeviceEnumerationAndPairing/cppwinrt/Scenario9_CustomPairDevice.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
40.310658
219
0.654779
dujianxin
ebc3f0cd4d2b9dfabf6aaa70c65a80e866bc549d
674
hpp
C++
Board.hpp
ItayHasidi/cpp_messageboard-b
5f51f6d4d6d2df3f50d1d87a116844716596c362
[ "MIT" ]
null
null
null
Board.hpp
ItayHasidi/cpp_messageboard-b
5f51f6d4d6d2df3f50d1d87a116844716596c362
[ "MIT" ]
null
null
null
Board.hpp
ItayHasidi/cpp_messageboard-b
5f51f6d4d6d2df3f50d1d87a116844716596c362
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <iterator> #include <map> #include "Direction.hpp" using ariel::Direction; using namespace std; // #define LEN 10000 namespace ariel{ struct Board{ struct newChar{ char c = '_'; }; // char mat[LEN][LEN]; map<unsigned int, m...
24.071429
99
0.5727
ItayHasidi
1b0b3e468c221cc2f50056c731fe20278dab3f22
1,083
cpp
C++
regression/esbmc-cpp/try_catch/try-catch_simple_03_bug/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/try_catch/try-catch_simple_03_bug/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/try_catch/try-catch_simple_03_bug/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
#include <iostream> #include <cassert> using std::cout; using std::cin; using std::endl; #include <exception> using std::exception; class DivideByZeroException : public exception { public: DivideByZeroException() : message("attempted to divide by zero"){/*assert(0);*/} const char *whato() const {return messa...
20.055556
60
0.634349
shmarovfedor
1b0d4ec8ab6eab45d43ea8199d57727d37946755
2,905
cpp
C++
src/pal/tests/palsuite/exception_handling/RaiseException/test3/test.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
10
2015-11-03T16:35:25.000Z
2021-07-31T16:36:29.000Z
src/pal/tests/palsuite/exception_handling/RaiseException/test3/test.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
1
2019-03-05T18:50:09.000Z
2019-03-05T18:50:09.000Z
src/pal/tests/palsuite/exception_handling/RaiseException/test3/test.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
4
2015-10-28T12:26:26.000Z
2021-09-04T11:36:04.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*============================================================= ** ** Source: test.c (exception_handling\raiseexception\test3) ** ** Purpose: Tests that the corr...
24.82906
102
0.55938
CyberSys
1b0f3d53cf6783b28944c67b12b31436add9b6fd
848
cpp
C++
MayLeetCodingChallenge/May 24th 2020/Construct Binary Search Tree from Preorder Traversal.cpp
SAITARUN55/100DaysofCodeinC-
d52e683f52abc9bc633af7e15bb970882efc3788
[ "MIT" ]
4
2020-05-18T05:12:36.000Z
2020-08-28T07:16:41.000Z
MayLeetCodingChallenge/May 24th 2020/Construct Binary Search Tree from Preorder Traversal.cpp
SAITARUN55/100DaysofCodeinC-
d52e683f52abc9bc633af7e15bb970882efc3788
[ "MIT" ]
null
null
null
MayLeetCodingChallenge/May 24th 2020/Construct Binary Search Tree from Preorder Traversal.cpp
SAITARUN55/100DaysofCodeinC-
d52e683f52abc9bc633af7e15bb970882efc3788
[ "MIT" ]
5
2020-05-01T04:56:26.000Z
2022-02-02T15:37:53.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: TreeNode* bstFromPreorder(vector<int>& preorder) { int index = 0; return bstFrom...
32.615385
92
0.617925
SAITARUN55
1b0f49707b43965b504cb3013e98027164a6100a
5,587
cpp
C++
src/file_processor/parser/header_helpers.cpp
Childcity/copyright_notice
3f343d42bc47a1d48a945ceb214ca9aa5da7ed69
[ "MIT" ]
null
null
null
src/file_processor/parser/header_helpers.cpp
Childcity/copyright_notice
3f343d42bc47a1d48a945ceb214ca9aa5da7ed69
[ "MIT" ]
null
null
null
src/file_processor/parser/header_helpers.cpp
Childcity/copyright_notice
3f343d42bc47a1d48a945ceb214ca9aa5da7ed69
[ "MIT" ]
null
null
null
#include "header_helpers.h" #include <mutex> #include <QRegularExpression> #include <QStringBuilder> #include "src/file_processor/git/GitBlameLine.h" #include "src/logger/log.h" namespace { std::unique_ptr<std::set<QString>> gBrokenCommitsInstance; std::once_flag create; } // namespace namespace header_helpers {...
30.2
99
0.706819
Childcity
1b10c501ba1a1bd4f9187b16886eb03928e3e44a
14,310
cpp
C++
source/solver/grid_printer.cpp
antoine-trux/regex-crossword-solver
3d4cfe3b973e44f5250f5438ce6b4b696ecd3cd7
[ "MIT" ]
6
2016-10-28T10:24:47.000Z
2021-02-23T00:44:02.000Z
source/solver/grid_printer.cpp
antoine-trux/regex-crossword-solver
3d4cfe3b973e44f5250f5438ce6b4b696ecd3cd7
[ "MIT" ]
null
null
null
source/solver/grid_printer.cpp
antoine-trux/regex-crossword-solver
3d4cfe3b973e44f5250f5438ce6b4b696ecd3cd7
[ "MIT" ]
2
2017-03-09T09:19:29.000Z
2021-02-23T00:44:13.000Z
// Copyright (c) 2016 Antoine Trux // // The original version is available at // http://solving-regular-expression-crosswords.blogspot.com // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Softwar...
28.058824
80
0.661146
antoine-trux
1b12cbd0e43a52dce335a87024dc0ce29c4c5995
284
cpp
C++
cpp/081-090/Gray Code.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/081-090/Gray Code.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/081-090/Gray Code.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: vector<int> grayCode(int n) { vector<int> v{0}; for (int i = 0; i < n; i++) { int len = v.size(); for (int j = len-1; j >= 0; j--) v.push_back(v[j] | (1 << i) ); } return v; } };
21.846154
46
0.380282
KaiyuWei
1b16a65f409238206a5582d7fd58b59dfe20acf4
603
cpp
C++
problems/atcoder/abc209/b---can-you-buy-them-all/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/atcoder/abc209/b---can-you-buy-them-all/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/atcoder/abc209/b---can-you-buy-them-all/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #ifdef LOCAL #include "code/formatting.hpp" #else #define debug(...) (void)0 #endif using namespace std; static_assert(sizeof(int) == 4 && sizeof(long) == 8); int main() { ios::sync_with_stdio(false), cin.tie(nullptr); int N, X; cin >> N >> X; vector<int> A(N); for (int i ...
18.272727
53
0.452736
brunodccarvalho
1b2a6d48dbdcfd9a3f6da49a43c74472de13ed5f
25,274
cpp
C++
firmware/grbl-ctrl.cpp
yroffin/grbl-cnc32
c604e59eb13dedd2debaf2e2d14eabd00407cb97
[ "MIT" ]
5
2019-10-13T16:43:26.000Z
2021-04-12T17:53:49.000Z
firmware/grbl-ctrl.cpp
yroffin/grbl-cnc32
c604e59eb13dedd2debaf2e2d14eabd00407cb97
[ "MIT" ]
17
2019-06-08T06:57:22.000Z
2022-03-02T08:35:10.000Z
firmware/grbl-ctrl.cpp
yroffin/grbl-cnc32
c604e59eb13dedd2debaf2e2d14eabd00407cb97
[ "MIT" ]
3
2019-10-12T18:41:57.000Z
2020-10-02T07:56:08.000Z
#include "ui.hpp" #include "i18n-ctrl.hpp" #include "grbl-ctrl.hpp" #include "storage-ctrl.hpp" #include "json-config.hpp" #include "utils.hpp" // GRBL controller GrblCtrl *__instance_grbl = 0; // singleton GrblCtrl *GrblCtrl::instance() { if (__instance_grbl == 0) { __instance_grbl = new GrblCtrl(); ...
26.05567
168
0.544868
yroffin
1b2adc9419a6da8495d112134f0562c3392dfa3f
2,594
cpp
C++
core/src/MultiVoteEvidence.cpp
chain2future-os/future-core
030a2be7be92f205439334bd9a848843b0922cb0
[ "MIT" ]
null
null
null
core/src/MultiVoteEvidence.cpp
chain2future-os/future-core
030a2be7be92f205439334bd9a848843b0922cb0
[ "MIT" ]
null
null
null
core/src/MultiVoteEvidence.cpp
chain2future-os/future-core
030a2be7be92f205439334bd9a848843b0922cb0
[ "MIT" ]
null
null
null
#include "core/MultiVoteEvidence.h" #include <fc/variant.hpp> #include <fc/io/json.hpp> #include <crypto/Validator.h> #include "core/SerializedEchoMsg.h" #include "core/types.h" namespace futureio { const std::string MultiVoteEvidence::kA = "a"; const std::string MultiVoteEvidence::kB = "b"; MultiVote...
32.835443
135
0.589437
chain2future-os
1b2b5298b3678ccecba86b022cdec3af7535e42d
4,604
cpp
C++
core/src/wallet/stellar/factories/StellarLikeWalletFactory.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
92
2016-11-13T01:28:34.000Z
2022-03-25T01:11:37.000Z
core/src/wallet/stellar/factories/StellarLikeWalletFactory.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
242
2016-11-28T11:13:09.000Z
2022-03-04T13:02:53.000Z
core/src/wallet/stellar/factories/StellarLikeWalletFactory.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
91
2017-06-20T10:35:28.000Z
2022-03-09T14:15:40.000Z
/* * * StellarLikeWalletFactory.cpp * ledger-core * * Created by Pierre Pollastri on 21/02/2019. * * The MIT License (MIT) * * Copyright (c) 2019 Ledger * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to...
47.958333
202
0.709818
RomanWlm
1b2d4925c47b7e8dace8c204e8052b01b09b9fd4
6,562
cpp
C++
src/server/scripts/Kalimdor/HallsOfOrigination/boss_rajh.cpp
Frankenhooker/ArkCORE
0a7be7fc0b67e9ef3de421ab5de6012eac7dec6d
[ "OpenSSL" ]
1
2020-03-27T15:13:49.000Z
2020-03-27T15:13:49.000Z
src/server/scripts/Kalimdor/HallsOfOrigination/boss_rajh.cpp
Frankenhooker/ArkCORE
0a7be7fc0b67e9ef3de421ab5de6012eac7dec6d
[ "OpenSSL" ]
null
null
null
src/server/scripts/Kalimdor/HallsOfOrigination/boss_rajh.cpp
Frankenhooker/ArkCORE
0a7be7fc0b67e9ef3de421ab5de6012eac7dec6d
[ "OpenSSL" ]
null
null
null
/* * Copyright (C) 2005 - 2011 MaNGOS <http://www.getmangos.org/> * * Copyright (C) 2008 - 2011 TrinityCore <http://www.trinitycore.org/> * * Copyright (C) 2011 - 2012 ArkCORE <http://www.arkania.net/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Gener...
28.655022
90
0.541298
Frankenhooker
1b2fbcc08f2eeebb773842705185e27a06336ba8
5,322
cpp
C++
sal/intrusive_stack.test.cpp
svens/sal.lib
8dee6a0ace5a5e4e8616f9cff98ea86ee8c4761c
[ "MIT" ]
3
2017-03-21T20:39:25.000Z
2018-03-27T10:45:45.000Z
sal/intrusive_stack.test.cpp
svens/sal.lib
8dee6a0ace5a5e4e8616f9cff98ea86ee8c4761c
[ "MIT" ]
49
2016-04-17T10:48:35.000Z
2018-12-29T10:00:55.000Z
sal/intrusive_stack.test.cpp
svens/sal.lib
8dee6a0ace5a5e4e8616f9cff98ea86ee8c4761c
[ "MIT" ]
1
2017-03-21T20:48:24.000Z
2017-03-21T20:48:24.000Z
#include <sal/intrusive_stack.hpp> #include <sal/common.test.hpp> namespace { struct intrusive_stack : public sal_test::fixture { struct foo_t { sal::intrusive_stack_hook_t<foo_t> hook; }; using stack_t = sal::intrusive_stack_t<&foo_t::hook>; stack_t stack{}; }; TEST_F(intrusive_stack, ctor) { E...
17.003195
55
0.657272
svens
1b3284abb704a4e8fc42c99013e6f8789ddc43ee
8,716
cpp
C++
i2c_bmp280/src/BMP280.cpp
git-aniket/my_pico_projects
daebb290d6f9a24d555d842f1739135ae7a612b6
[ "MIT" ]
null
null
null
i2c_bmp280/src/BMP280.cpp
git-aniket/my_pico_projects
daebb290d6f9a24d555d842f1739135ae7a612b6
[ "MIT" ]
null
null
null
i2c_bmp280/src/BMP280.cpp
git-aniket/my_pico_projects
daebb290d6f9a24d555d842f1739135ae7a612b6
[ "MIT" ]
null
null
null
/** * @file BMP280.cpp * @author Aniket Mazumder(mazumder_aniket@hotmail.com) * @brief Class file for BMP280 to be used with raspberry pi pico * @version 0.1 * @date 2021-08-27 * * @copyright Copyright (c) 2021 Aniket Mazumder * BSD license, all text above must be included in any redistribution */ /*! * ...
30.369338
119
0.715581
git-aniket
1b35efe5cb28cfd0dc54910a3960249d56ac7c5f
34,711
cpp
C++
earth_enterprise/src/fusion/gst/gstGDTFormat.cpp
seamusdunlop123/earthenterprise
a2651b1c00dd6230fd5d3d47502d228dbfca0f63
[ "Apache-2.0" ]
3
2017-12-21T05:40:09.000Z
2018-05-16T11:18:25.000Z
earth_enterprise/src/fusion/gst/gstGDTFormat.cpp
seamusdunlop123/earthenterprise
a2651b1c00dd6230fd5d3d47502d228dbfca0f63
[ "Apache-2.0" ]
null
null
null
earth_enterprise/src/fusion/gst/gstGDTFormat.cpp
seamusdunlop123/earthenterprise
a2651b1c00dd6230fd5d3d47502d228dbfca0f63
[ "Apache-2.0" ]
1
2020-06-21T09:36:13.000Z
2020-06-21T09:36:13.000Z
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
39.897701
102
0.58892
seamusdunlop123
1b36a09cddd621f6b83c7bf9efdbde3b0d3ef8d8
10,804
hpp
C++
application/input/input.hpp
schwa423/Granite
b609789ccfea07f9ca47ea1758411acd760ba757
[ "MIT" ]
1
2018-03-27T03:06:13.000Z
2018-03-27T03:06:13.000Z
application/input/input.hpp
schwa423/Granite
b609789ccfea07f9ca47ea1758411acd760ba757
[ "MIT" ]
null
null
null
application/input/input.hpp
schwa423/Granite
b609789ccfea07f9ca47ea1758411acd760ba757
[ "MIT" ]
null
null
null
/* Copyright (c) 2017-2018 Hans-Kristian Arntzen * * 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, modify, me...
17.682488
122
0.719271
schwa423
1b391650d8941e681b278c2f991688e52641dc3b
2,054
cpp
C++
AComponent.cpp
Baptiste-Martinet/NanoTekSpice
a0b434abfb655a0de71878f6d171d0f54f70a183
[ "MIT" ]
null
null
null
AComponent.cpp
Baptiste-Martinet/NanoTekSpice
a0b434abfb655a0de71878f6d171d0f54f70a183
[ "MIT" ]
null
null
null
AComponent.cpp
Baptiste-Martinet/NanoTekSpice
a0b434abfb655a0de71878f6d171d0f54f70a183
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** name ** File description: ** desc */ #include "components/Output.hpp" #include "AComponent.hpp" nts::AComponent::AComponent(const std::string &name) { this->_name = name; } nts::AComponent::~AComponent() { } nts::Pin *nts::AComponent::getPin(size_t indxPin) const { indxPin--; ...
26.333333
193
0.582278
Baptiste-Martinet
1b42de38fab71c87412148039aa85bb078fa0089
4,527
cpp
C++
wbt-translator/src/webots_parser.cpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
null
null
null
wbt-translator/src/webots_parser.cpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
6
2019-11-14T13:49:39.000Z
2019-12-04T09:36:21.000Z
wbt-translator/src/webots_parser.cpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
2
2019-11-20T18:01:34.000Z
2020-05-05T07:18:37.000Z
/*Copyright 2019 Anders Madsen, Emil Jørgensen Njor, Emil Stenderup Bækdahl, Frederik Baymler *Mathiesen, Nikolaj Jensen Ulrik, Simon Mejlby Virenfeldt * *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 th...
31.657343
100
0.62801
DEIS-Tools
1b43aaa5d9d115d9f15c4a1082920def2e00f2ff
36,521
cxx
C++
src/engine/ivp/ivp_utility/ivu_linear.cxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/ivp/ivp_utility/ivu_linear.cxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/ivp/ivp_utility/ivu_linear.cxx
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved. #ifndef WIN32 # pragma implementation "ivu_linear.hxx" # pragma implementation "ivu_linear_software.hxx" # pragma implementation "ivu_linear_double.hxx" # pragma implementation "ivu_linear_ps2.hxx" # pragma implementation "ivu_linear_macros.hxx" # pr...
28.576682
121
0.580433
cstom4994
1b47ccd38461d82485ed1aac41ebffc284f88175
1,942
cpp
C++
c++/effectivecpp/decltype.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
c++/effectivecpp/decltype.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
c++/effectivecpp/decltype.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
// created by Kona @VSCode // rule 3: 理解decltype // 与模板和auto相反,decltype通常返回是给定名字或表达式的确切类型 const int i = 0; // decltype(i): const int decltype(i) j = i; bool f(const char* s); // decltype(f): bool (const char *) // decltype(s): const char* s decltype(f) g; // bool g(const char*) struct O { ...
22.847059
89
0.644181
K-ona
1b4837891959c12c48bff388d80fa8838478592a
13,023
cpp
C++
src/sviewer/main.cpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
23
2019-07-11T14:47:39.000Z
2021-12-24T09:56:24.000Z
src/sviewer/main.cpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
null
null
null
src/sviewer/main.cpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
4
2021-04-06T18:20:43.000Z
2022-01-15T09:20:45.000Z
#include <tkn/singlePassApp.hpp> #include <tkn/bits.hpp> #include <tkn/formats.hpp> #include <tkn/render.hpp> #include <tkn/ccam.hpp> #include <tkn/pipeline.hpp> #include <tkn/types.hpp> #include <tkn/shader.hpp> #include <tkn/image.hpp> #include <tkn/util.hpp> #include <tkn/fswatch.hpp> #include <argagg.hpp> #include...
24.948276
80
0.666743
nyorain
1b4a3fc5d1c9ff5485af599b4af44a08a27dc26a
1,286
cpp
C++
judges/uva/What_Goes_Up/481.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
null
null
null
judges/uva/What_Goes_Up/481.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T11:53:02.000Z
2018-10-17T11:54:42.000Z
judges/uva/What_Goes_Up/481.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T12:14:04.000Z
2018-10-17T12:14:04.000Z
#include <bits/stdc++.h> #define MAX 6000 using namespace std; vector<long long int> sequence; vector<long long int> lis_seq; vector<long long int> lis_seq_i; vector<long long int> lis_parents; long long int lis_max_i = -1; int lis(int N){ long long int lis_size = 0; for(int i = 0; i < N; ++i){ ...
18.112676
101
0.522551
eduardonunes2525
1b4e2b0ec79e05761147daba9ac6b4dd1eef621b
33,154
cpp
C++
Test/UnitTests/IPAddressTests.cpp
Colorfingers/QuantumGate
e183e02464859f4ca486999182c4c41221f3261a
[ "MIT" ]
87
2018-09-01T05:29:22.000Z
2022-03-13T17:44:00.000Z
Test/UnitTests/IPAddressTests.cpp
Colorfingers/QuantumGate
e183e02464859f4ca486999182c4c41221f3261a
[ "MIT" ]
6
2019-01-30T14:48:17.000Z
2022-03-14T21:10:56.000Z
Test/UnitTests/IPAddressTests.cpp
Colorfingers/QuantumGate
e183e02464859f4ca486999182c4c41221f3261a
[ "MIT" ]
16
2018-11-25T23:09:47.000Z
2022-02-01T22:14:11.000Z
// This file is part of the QuantumGate project. For copyright and // licensing information refer to the license file(s) in the project root. #include "pch.h" #include "Network\IPAddress.h" #include "Common\Endian.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; using namespace QuantumGate::Implement...
52.625397
156
0.67283
Colorfingers
1b50a991b60a1ce88880455420153b04b4832737
11,486
hpp
C++
hpx/runtime/threads/detail/thread_pool_base.hpp
atrantan/hpx
6c214b2f3e3fc58648513c9f1cfef37fde59333c
[ "BSL-1.0" ]
1
2019-09-26T09:10:13.000Z
2019-09-26T09:10:13.000Z
hpx/runtime/threads/detail/thread_pool_base.hpp
atrantan/hpx
6c214b2f3e3fc58648513c9f1cfef37fde59333c
[ "BSL-1.0" ]
null
null
null
hpx/runtime/threads/detail/thread_pool_base.hpp
atrantan/hpx
6c214b2f3e3fc58648513c9f1cfef37fde59333c
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2017 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(HPX_RUNTIME_THREADS_DETAIL_THREAD_POOL_JUN_11_2015_1137AM) #define HPX_RUNTIME_THREADS_DETAIL_THREAD_POOL...
36.814103
81
0.639909
atrantan
1b5118b5d64a3d7c254abd24d1c6d4c0666c6b30
9,653
hpp
C++
c++/cpp2py/converters/function.hpp
TRIQS/cpp2y
a54c23606abe4e19da8f370b9c3faed0fb3ec5ca
[ "Apache-2.0" ]
19
2017-10-16T13:54:56.000Z
2022-01-29T10:34:07.000Z
c++/cpp2py/converters/function.hpp
TRIQS/cpp2y
a54c23606abe4e19da8f370b9c3faed0fb3ec5ca
[ "Apache-2.0" ]
38
2017-11-08T10:26:16.000Z
2022-03-04T19:09:47.000Z
c++/cpp2py/converters/function.hpp
TRIQS/cpp2y
a54c23606abe4e19da8f370b9c3faed0fb3ec5ca
[ "Apache-2.0" ]
12
2017-11-09T12:28:35.000Z
2022-03-04T18:54:48.000Z
// Copyright (c) 2017 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) // Copyright (c) 2017 Centre national de la recherche scientifique (CNRS) // Copyright (c) 2019-2020 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in c...
44.483871
152
0.552782
TRIQS
1b54e30eb08dc0135df8fd10382154542aaf9df9
129
cpp
C++
dpdemo/jd.cpp
warjiang/leetcode
2c00b1406fc3680a7a0ecf1842b3544a0ca28185
[ "MIT" ]
null
null
null
dpdemo/jd.cpp
warjiang/leetcode
2c00b1406fc3680a7a0ecf1842b3544a0ca28185
[ "MIT" ]
null
null
null
dpdemo/jd.cpp
warjiang/leetcode
2c00b1406fc3680a7a0ecf1842b3544a0ca28185
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int num_customer,num_product; cin >> num_customer >> num_product; }
18.428571
39
0.705426
warjiang
1b55d67d79bbba257ee362114a42b76c09404114
576
cpp
C++
Rot13.cpp
EdvinAlvarado/Code-Wars
a3a06a44cda004052b5c0930f3693678c5c92e21
[ "BSD-2-Clause" ]
null
null
null
Rot13.cpp
EdvinAlvarado/Code-Wars
a3a06a44cda004052b5c0930f3693678c5c92e21
[ "BSD-2-Clause" ]
null
null
null
Rot13.cpp
EdvinAlvarado/Code-Wars
a3a06a44cda004052b5c0930f3693678c5c92e21
[ "BSD-2-Clause" ]
null
null
null
#include <string> #include <iostream> using namespace std; string rot13(string msg) { string rotmsg = ""; for (const char& c: msg ) { char rotc = c + 13; cout << c << "\t" << rotc << endl; if (isupper(c)) { if (isupper(rotc)) { rotmsg.push_back(rotc); } else { rotmsg.push_back(rotc - 26); ...
17.454545
42
0.552083
EdvinAlvarado
1b57e87eb604bd17a1a32abcd43bb7d455902cd9
858
cpp
C++
src/pattern/ecs/coComponent.cpp
smogpill/core
56ef53fda4582d7d4c1ade17e90e24d0a5128a8d
[ "MIT" ]
1
2016-06-23T07:02:30.000Z
2016-06-23T07:02:30.000Z
src/pattern/ecs/coComponent.cpp
smogpill/core
56ef53fda4582d7d4c1ade17e90e24d0a5128a8d
[ "MIT" ]
null
null
null
src/pattern/ecs/coComponent.cpp
smogpill/core
56ef53fda4582d7d4c1ade17e90e24d0a5128a8d
[ "MIT" ]
null
null
null
// Copyright(c) 2020 Jounayd Id Salah // Distributed under the MIT License (See accompanying file LICENSE.md file or copy at http://opensource.org/licenses/MIT). #include "pattern/pch.h" #include "coComponent.h" #include "coEntity.h" #include "lang/result/coResult_f.h" #include "lang/reflect/coTypeDecl_f.h" coDEFINE_T...
17.16
123
0.740093
smogpill
1b5830cf69d75b903d057931471033e0a1fd05d7
31,945
cpp
C++
fbs_dienste/source/fb_scanner_for_eh.cpp
acplt/dbcommands
545c4f827c6ebc9f30cfc06a3b8ab39a9ee252b3
[ "Artistic-1.0-cl8", "Apache-2.0" ]
null
null
null
fbs_dienste/source/fb_scanner_for_eh.cpp
acplt/dbcommands
545c4f827c6ebc9f30cfc06a3b8ab39a9ee252b3
[ "Artistic-1.0-cl8", "Apache-2.0" ]
null
null
null
fbs_dienste/source/fb_scanner_for_eh.cpp
acplt/dbcommands
545c4f827c6ebc9f30cfc06a3b8ab39a9ee252b3
[ "Artistic-1.0-cl8", "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include "ks/ks.h" #include "par_param.h" typedef union { KS_VAR_TYPE datatype; char* string; VariableItem* var_item; Variables* variable; Dienst_param* pa...
26.665275
160
0.484364
acplt
1b5a471f3304479c6573b341b90d268e40a00b2f
648
cpp
C++
android-31/android/media/MediaPlayer_ProvisioningNetworkErrorException.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/media/MediaPlayer_ProvisioningNetworkErrorException.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/media/MediaPlayer_ProvisioningNetworkErrorException.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JString.hpp" #include "./MediaPlayer_ProvisioningNetworkErrorException.hpp" namespace android::media { // Fields // QJniObject forward MediaPlayer_ProvisioningNetworkErrorException::MediaPlayer_ProvisioningNetworkErrorException(QJniObject obj) : android::media::MediaDrmException(obj) {} // Cons...
29.454545
153
0.787037
YJBeetle
1b5aaf2d710c9c8f2228359dbc043dac5d9df838
9,291
cpp
C++
src/TressetteCore/TraceService.cpp
aaaasmile/tressettecpp
0f06a3d5eee6b5aa7e9a099652da548213d07f21
[ "MIT" ]
null
null
null
src/TressetteCore/TraceService.cpp
aaaasmile/tressettecpp
0f06a3d5eee6b5aa7e9a099652da548213d07f21
[ "MIT" ]
null
null
null
src/TressetteCore/TraceService.cpp
aaaasmile/tressettecpp
0f06a3d5eee6b5aa7e9a099652da548213d07f21
[ "MIT" ]
null
null
null
// TraceService.cpp #include "StdAfx.h" #include "win_type_global.h" #include <iostream> #include <fstream> #include "AlgPlayerInterface.h" #include "TraceService.h" /////////////////////////////////////////////////////// //// class EntryTraceDetail /////////////////////////// //////////////////////////////////////...
27.488166
104
0.562587
aaaasmile
1b5b67e9be7c02c0fd25cff908df4ee8ee980998
15,494
cpp
C++
src/phase_cong/lowpassfilter.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
src/phase_cong/lowpassfilter.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
src/phase_cong/lowpassfilter.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
// // Academic License - for use in teaching, academic research, and meeting // course requirements at degree granting institutions only. Not for // government, commercial, or other organizational use. // File: lowpassfilter.cpp // // MATLAB Coder version : 3.0 // C/C++ source code generated on : 27...
26.621993
85
0.447657
waterben
1b5f29d259f48282c770a7755a773e96276bca4d
2,210
cpp
C++
src/gfx_helpers.cpp
user030276/shiromino
09a2659810774fb226971557111960ed2fc1871b
[ "CC-BY-4.0", "MIT" ]
1
2020-08-17T21:02:30.000Z
2020-08-17T21:02:30.000Z
src/gfx_helpers.cpp
user030276/shiromino
09a2659810774fb226971557111960ed2fc1871b
[ "CC-BY-4.0", "MIT" ]
null
null
null
src/gfx_helpers.cpp
user030276/shiromino
09a2659810774fb226971557111960ed2fc1871b
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "gfx_helpers.hpp" #include <vector> #include "SDL.h" using namespace Shiro; using namespace std; void gfx_drawCodedGrid(SDL_Renderer *renderer, Grid *cells, SDL_Texture *paletteTex, SDL_Point position, int cellW, int cellH, vector<paletteMapEntry>& paletteValMap) { for(int i = 0; i < cells->getWidth...
27.283951
104
0.366063
user030276
1b63cd4c5f0c4931f8a98468027587b244d95ea8
3,683
hpp
C++
include/astra/streams/DebugHand.hpp
mucks/astra-sdk
810fc9ad62167baee6326de2549c583d0d54d424
[ "Apache-2.0" ]
1
2019-11-22T05:36:21.000Z
2019-11-22T05:36:21.000Z
include/astra/streams/DebugHand.hpp
mucks/astra-sdk
810fc9ad62167baee6326de2549c583d0d54d424
[ "Apache-2.0" ]
null
null
null
include/astra/streams/DebugHand.hpp
mucks/astra-sdk
810fc9ad62167baee6326de2549c583d0d54d424
[ "Apache-2.0" ]
null
null
null
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com] // Copyright (c) 2015-2017 Orbbec 3D // // 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/licens...
26.120567
90
0.615802
mucks
1b63d5ba0c621832ddab107f3e1f11a2810d59dd
47,861
cc
C++
dash/test/pattern/BlockPatternTest.cc
anonymousbitcoin/dash
e549524f25998f9fe2a5ecae240f5ef054a168c0
[ "BSD-3-Clause" ]
null
null
null
dash/test/pattern/BlockPatternTest.cc
anonymousbitcoin/dash
e549524f25998f9fe2a5ecae240f5ef054a168c0
[ "BSD-3-Clause" ]
null
null
null
dash/test/pattern/BlockPatternTest.cc
anonymousbitcoin/dash
e549524f25998f9fe2a5ecae240f5ef054a168c0
[ "BSD-3-Clause" ]
2
2019-10-02T23:19:22.000Z
2020-06-27T09:23:31.000Z
#include "BlockPatternTest.h" #include "../TestBase.h" #include <gtest/gtest.h> #include <dash/Types.h> #include <dash/Distribution.h> #include <dash/TeamSpec.h> #include <dash/Pattern.h> TEST_F(BlockPatternTest, SimpleConstructor) { DASH_TEST_LOCAL_ONLY(); int extent_x = 21; int extent_y = 37; int exten...
39.685738
101
0.611855
anonymousbitcoin
1b6959b299881e62f9d65b1bf51160f7208abbc1
50,095
cpp
C++
simcore/simulation/library/filament.cpp
lamsoa729/simcore
daf7056cb0c17563ed0f6bdee343fa1f6cd59729
[ "MIT" ]
null
null
null
simcore/simulation/library/filament.cpp
lamsoa729/simcore
daf7056cb0c17563ed0f6bdee343fa1f6cd59729
[ "MIT" ]
null
null
null
simcore/simulation/library/filament.cpp
lamsoa729/simcore
daf7056cb0c17563ed0f6bdee343fa1f6cd59729
[ "MIT" ]
null
null
null
#include "filament.hpp" Filament::Filament() : Mesh() { SetParameters(); } void Filament::SetParameters() { /* Read parameters from filament parameters */ color_ = params_->filament.color; draw_ = draw_type::_from_string(params_->filament.draw_type.c_str()); length_ = params_->filament.length; persistence_l...
37.107407
81
0.610221
lamsoa729
1b6b3a9dee75b4a95c2d7e19cb0d36f0ca140173
914
cpp
C++
src/acme/DNS.cpp
yirainsuen/AcmeCat
90265b0b693fc1259b21dc3c90adc9e05bf33896
[ "MIT" ]
6
2020-11-09T07:26:14.000Z
2020-12-17T03:25:48.000Z
src/acme/DNS.cpp
yirainsuen/AcmeCat
90265b0b693fc1259b21dc3c90adc9e05bf33896
[ "MIT" ]
null
null
null
src/acme/DNS.cpp
yirainsuen/AcmeCat
90265b0b693fc1259b21dc3c90adc9e05bf33896
[ "MIT" ]
null
null
null
// // Created by nova on 8/2/20. // #include "DNS.h" #include "CloudflareImpl.h" const std::vector<std::string>& DNS::SupportedProviders() { static std::vector<std::string> providers { "cloudflare" }; return providers; } bool DNS::ProviderIsSupported(const std::string& providerName) { std::string copy = Utils...
24.052632
105
0.715536
yirainsuen
1b6b734f662cfcdb1f74c832d922be39c07e1e7c
3,082
cpp
C++
liste.cpp
gurujam/Picross
60ce0394e6286cd4125a7375aaecf932de0da1f0
[ "MIT" ]
1
2015-01-28T18:05:07.000Z
2015-01-28T18:05:07.000Z
liste.cpp
gurujam/Picross
60ce0394e6286cd4125a7375aaecf932de0da1f0
[ "MIT" ]
null
null
null
liste.cpp
gurujam/Picross
60ce0394e6286cd4125a7375aaecf932de0da1f0
[ "MIT" ]
null
null
null
#include "liste.h" Liste::Liste():tete(NULL), longueur(0), fini(false){} Liste::~Liste() { Cell* ptr=tete; while(!isnull(tete)) { ptr=ptr->getSuiv(); delete tete; tete=ptr; } longueur=0; fini=false; } bool Liste::isnull(Cell* p) const { return !p; } Cell* Liste::getPremier() const { retu...
14.073059
58
0.546074
gurujam
1b6d8f4ee6915cfe34aae8409fd9f971c405acaa
15,089
cpp
C++
src/plugins/legacy/polygonRoi/data/polygonRoi.cpp
aarrieul/medInria-public
0cd113a6b41e40497f1472630e9afa8e688ba85a
[ "BSD-4-Clause", "BSD-1-Clause" ]
61
2015-04-14T13:00:50.000Z
2022-03-09T22:22:18.000Z
src/plugins/legacy/polygonRoi/data/polygonRoi.cpp
aarrieul/medInria-public
0cd113a6b41e40497f1472630e9afa8e688ba85a
[ "BSD-4-Clause", "BSD-1-Clause" ]
510
2016-02-03T13:28:18.000Z
2022-03-23T10:23:44.000Z
src/plugins/legacy/polygonRoi/data/polygonRoi.cpp
mathildemerle/medInria-public
e8c517ef6263c1d98a62b79ca7aad30a21b61094
[ "BSD-4-Clause", "BSD-1-Clause" ]
36
2015-03-03T22:58:19.000Z
2021-12-28T18:19:23.000Z
/*========================================================================= medInria Copyright (c) INRIA 2013 - 2019. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE....
28.151119
137
0.658824
aarrieul
1b75dcaef1b9549ddfe6dab9fefddd2e521950c8
12,353
cpp
C++
third_party/misc/blobb_compass/BloBB/datastrst.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
1
2022-03-09T23:29:29.000Z
2022-03-09T23:29:29.000Z
third_party/misc/blobb_compass/BloBB/datastrst.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
null
null
null
third_party/misc/blobb_compass/BloBB/datastrst.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** *** *** Copyright (c) 2003 Regents of the University of Michigan, *** Hayward H. Chan and Igor L. Markov *** *** Contact author(s): hhchan@umich.edu, imarkov@umich.edu *** Original Affiliation: EECS Department, *** ...
28.86215
78
0.521331
milad621
1b78af83815a0e57e1da1ed5114d25a2a3835ea3
227
cpp
C++
test/miscellaneousTest.cpp
jxx-project/JXXON
313bb4e5ab42385741a41fb4032585159c8721c6
[ "BSL-1.0" ]
null
null
null
test/miscellaneousTest.cpp
jxx-project/JXXON
313bb4e5ab42385741a41fb4032585159c8721c6
[ "BSL-1.0" ]
null
null
null
test/miscellaneousTest.cpp
jxx-project/JXXON
313bb4e5ab42385741a41fb4032585159c8721c6
[ "BSL-1.0" ]
null
null
null
// // Copyright (C) 2018 Dr. Michael Steffens // // SPDX-License-Identifier: BSL-1.0 // #include "Testee/MiscellaneousTestSuite.h" int main(int argc, char* argv[]) { return Testee::MiscellaneousTestSuite().run() ? 0 : 1; }
16.214286
55
0.678414
jxx-project
1b7d67555783d98fea89c024c5f3adff6e30a5cb
1,486
cpp
C++
New_Scripts/Examples_of_classes/Shape_int/Shape_first.cpp
Erickdrakus93/New_Scripts
c47c9481f8a89c9264a635c1107a4878fddf606c
[ "MIT" ]
1
2020-03-27T06:29:38.000Z
2020-03-27T06:29:38.000Z
New_Scripts/Examples_of_classes/Shape_int/Shape_first.cpp
Erickdrakus93/New_Scripts
c47c9481f8a89c9264a635c1107a4878fddf606c
[ "MIT" ]
null
null
null
New_Scripts/Examples_of_classes/Shape_int/Shape_first.cpp
Erickdrakus93/New_Scripts
c47c9481f8a89c9264a635c1107a4878fddf606c
[ "MIT" ]
null
null
null
#include <iostream.h> #include <exception> #include <csignal> using namespace std; // Here we define a inner exceptions // The last is the extension of the exception struct My_exception: public exception{ const char* what() const throw(){ return "This is a new C++ exceptions"; } }; class Shape throw My_...
23.21875
111
0.606999
Erickdrakus93
1b7db08243ba70cb7b927f696f5fb46683fb837e
3,175
hpp
C++
openstudiocore/src/model/CoilSystemCoolingWaterHeatExchangerAssisted.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
4
2015-05-02T21:04:15.000Z
2015-10-28T09:47:22.000Z
openstudiocore/src/model/CoilSystemCoolingWaterHeatExchangerAssisted.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
null
null
null
openstudiocore/src/model/CoilSystemCoolingWaterHeatExchangerAssisted.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
1
2020-11-12T21:52:36.000Z
2020-11-12T21:52:36.000Z
/********************************************************************** * Copyright (c) 2008-2015, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
32.397959
163
0.753071
BIMDataHub
1b7db6cb8d40e5a96e8af90a8edb649a05f63aa4
3,791
hpp
C++
azureeyemodule/app/util/helper.hpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
52
2021-03-02T14:28:37.000Z
2022-02-07T20:27:52.000Z
azureeyemodule/app/util/helper.hpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
29
2021-03-03T09:36:33.000Z
2022-03-12T00:59:10.000Z
azureeyemodule/app/util/helper.hpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
30
2021-03-02T14:09:14.000Z
2022-03-11T05:58:54.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #pragma once // Standard library includes #include <chrono> #include <ctime> #include <cstdlib> #include <string> #include <tuple> #include <unordered_map> #include <vector> // Third party includes #include <opencv2/core/utility.hpp> #include ...
33.254386
154
0.722501
hogaku
1b837d728552768ececdf5ec8d911afc3ab93ca3
2,985
cpp
C++
Source/ThirdPersonMP/Base/Time/Timestamp.cpp
sbfhy/client1
7c8766f98f81a069bb4d2455fe90989e4129811a
[ "BSD-3-Clause" ]
null
null
null
Source/ThirdPersonMP/Base/Time/Timestamp.cpp
sbfhy/client1
7c8766f98f81a069bb4d2455fe90989e4129811a
[ "BSD-3-Clause" ]
null
null
null
Source/ThirdPersonMP/Base/Time/Timestamp.cpp
sbfhy/client1
7c8766f98f81a069bb4d2455fe90989e4129811a
[ "BSD-3-Clause" ]
null
null
null
//// Use of this source code is governed by a BSD-style license //// that can be found in the License file. //// //// Author: Shuo Chen (chenshuo at chenshuo dot com) // //#include "Timestamp.h" // //#include <windows.h> //#include <stdio.h> // //#ifndef __STDC_FORMAT_MACROS //#define __STDC_FORMAT_MACROS //#endif //...
34.709302
105
0.657956
sbfhy
1b84516bfc363f4dbbb0421f948cf8bc7205561b
4,879
cpp
C++
silkopter/libs/utils/hw/SPI_Dev.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
36
2015-03-09T16:47:14.000Z
2021-02-04T08:32:04.000Z
silkopter/libs/utils/hw/SPI_Dev.cpp
jeanlemotan/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
42
2017-02-11T11:15:51.000Z
2019-12-28T16:00:44.000Z
silkopter/libs/utils/hw/SPI_Dev.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
5
2015-10-15T05:46:48.000Z
2020-05-11T17:40:36.000Z
#include "SPI_Dev.h" #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/ioctl.h> namespace util { namespace hw { SPI_Dev::SPI_Dev() { memset(m_spi_transfers.data(), 0, sizeof(spi_ioc_transfer) * m_spi_transfers.size()); } SPI_Dev::~SPI_Dev() { if (m_fd >= 0) { ::clos...
24.273632
132
0.577372
jeanleflambeur
b84306ad4f4e5cd7d85b0e4c4b1a6ff5c74db74e
10,902
cc
C++
test/extensions/filters/http/ratelimit/config_test.cc
kh-chang/envoy
dde79aea0ee6e069530a85c0fa43dcb977fd1c6f
[ "Apache-2.0" ]
null
null
null
test/extensions/filters/http/ratelimit/config_test.cc
kh-chang/envoy
dde79aea0ee6e069530a85c0fa43dcb977fd1c6f
[ "Apache-2.0" ]
null
null
null
test/extensions/filters/http/ratelimit/config_test.cc
kh-chang/envoy
dde79aea0ee6e069530a85c0fa43dcb977fd1c6f
[ "Apache-2.0" ]
null
null
null
#include "envoy/config/filter/http/rate_limit/v2/rate_limit.pb.validate.h" #include "common/config/filter_json.h" #include "extensions/filters/common/ratelimit/ratelimit_registration.h" #include "extensions/filters/http/ratelimit/config.h" #include "test/mocks/server/mocks.h" #include "gmock/gmock.h" #include "gtes...
39.934066
100
0.751238
kh-chang
b844cb61547ec50594dc6d25e4e9f6f0fb8f40d2
988
cpp
C++
tests/math_unit/math/prim/scal/prob/bernoulli_logit_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
tests/math_unit/math/prim/scal/prob/bernoulli_logit_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
tests/math_unit/math/prim/scal/prob/bernoulli_logit_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/scal.hpp> #include <gtest/gtest.h> #include <boost/random/mersenne_twister.hpp> #include <math/prim/scal/prob/util.hpp> #include <vector> TEST(ProbDistributionsBernoulliLogit, error_check) { boost::random::mt19937 rng; EXPECT_NO_THROW(stan::math::bernoulli_logit_rng(-3.5, rng)); EXPECT_...
26.702703
76
0.705466
alashworth
b847837d46f581887eb3705b62d21d8536f15c0d
2,789
cpp
C++
Multimon/Multimon.cpp
SergeyMakeev/FixMultimonWindows
f4c2c05f207e97b9631a2296d4ba1578b90da7b7
[ "MIT" ]
2
2021-02-15T13:04:30.000Z
2021-02-16T18:38:05.000Z
Multimon/Multimon.cpp
SergeyMakeev/FixMultimonWindows
f4c2c05f207e97b9631a2296d4ba1578b90da7b7
[ "MIT" ]
null
null
null
Multimon/Multimon.cpp
SergeyMakeev/FixMultimonWindows
f4c2c05f207e97b9631a2296d4ba1578b90da7b7
[ "MIT" ]
null
null
null
#include <windows.h> #include <stdio.h> #include <tchar.h> #include <vector> static TCHAR title[2048]; static std::vector<HWND> windows; static BOOL CALLBACK enumWindowCallback(HWND hWnd, LPARAM lparam) { windows.emplace_back(hWnd); return TRUE; } int main() { POINT pt; GetCursorPos(&pt); HMONIT...
22.860656
111
0.531732
SergeyMakeev
b84c943e317127551acc13b745c899265128d135
3,044
cpp
C++
src/constraints/rotation_constraint.cpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
139
2020-08-17T20:10:24.000Z
2022-03-28T12:22:44.000Z
src/constraints/rotation_constraint.cpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
89
2020-08-28T16:41:01.000Z
2022-03-28T19:10:49.000Z
src/constraints/rotation_constraint.cpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
19
2020-10-19T00:54:40.000Z
2022-02-28T05:34:17.000Z
#include "rive/constraints/rotation_constraint.hpp" #include "rive/transform_component.hpp" #include "rive/math/mat2d.hpp" #include <cmath> using namespace rive; void RotationConstraint::constrain(TransformComponent* component) { const Mat2D& transformA = component->worldTransform(); Mat2D transformB; Mat2D::decom...
26.938053
71
0.689553
kariem2k
b8547a683eae5bd2ec1780a897ad213481154158
571
cpp
C++
misc/tar/src/TarCommon.cpp
frankencode/fluxkit
0436454f0791d8fddf8e0adc383ef7c54080245d
[ "BSD-3-Clause" ]
3
2016-02-10T04:58:32.000Z
2020-09-15T06:39:43.000Z
misc/tar/src/TarCommon.cpp
frankencode/fluxkit
0436454f0791d8fddf8e0adc383ef7c54080245d
[ "BSD-3-Clause" ]
null
null
null
misc/tar/src/TarCommon.cpp
frankencode/fluxkit
0436454f0791d8fddf8e0adc383ef7c54080245d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2007-2015 Frank Mertens. * * Use of this source is governed by a BSD-style license that can be * found in the LICENSE file. * */ #include <flux/tar/TarCommon> namespace flux { namespace tar { unsigned tarHeaderSum(ByteArray *data) { unsigned sum = 0; for (int i = 0; i < 148 && ...
23.791667
84
0.57268
frankencode