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
ecc90a195b2c23533e38ab29f2058fc49afa0c10
14,279
cpp
C++
MongoDB/samples/SQLToMongo/src/SQLToMongo.cpp
abyss7/poco
a651a78c76eebd414b37745f7dd8539460154cab
[ "BSL-1.0" ]
null
null
null
MongoDB/samples/SQLToMongo/src/SQLToMongo.cpp
abyss7/poco
a651a78c76eebd414b37745f7dd8539460154cab
[ "BSL-1.0" ]
3
2021-06-02T02:59:06.000Z
2021-09-16T04:35:06.000Z
MongoDB/samples/SQLToMongo/src/SQLToMongo.cpp
abyss7/poco
a651a78c76eebd414b37745f7dd8539460154cab
[ "BSL-1.0" ]
6
2021-06-02T02:39:34.000Z
2022-03-29T05:51:57.000Z
// // main.cpp // // $Id$ // // This sample shows SQL to mongo Shell to C++ examples. // // Copyright (c) 2013, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/MongoDB/MongoDB.h" #include "Poco/MongoDB/Connection.h" #include "Poco/MongoDB/Da...
29.810021
159
0.663702
abyss7
ecca2c85028fc214c245c0c32dc1e89412bb87c1
594
cc
C++
test/asan/TestCases/use-after-poison.cc
crystax/android-toolchain-compiler-rt-3-7
6b848d1e7d55df3227b212aa229f8b60b16bdd5d
[ "MIT" ]
21
2015-04-19T20:47:50.000Z
2019-03-08T18:39:41.000Z
test/asan/TestCases/use-after-poison.cc
crystax/android-toolchain-compiler-rt-3-7
6b848d1e7d55df3227b212aa229f8b60b16bdd5d
[ "MIT" ]
1
2016-02-10T15:40:03.000Z
2016-02-10T15:40:03.000Z
test/asan/TestCases/use-after-poison.cc
crystax/android-toolchain-compiler-rt-3-7
6b848d1e7d55df3227b212aa229f8b60b16bdd5d
[ "MIT" ]
12
2019-06-21T03:33:51.000Z
2021-12-13T09:08:31.000Z
// Check that __asan_poison_memory_region works. // RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s // // Check that we can disable it // RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:allow_user_poisoning=0 %run %t #include <stdlib.h> extern "C" void __asan_poison_memory_region(void *, size_t); int main(int...
28.285714
69
0.6633
crystax
ecd362a4100bf815d2c2b50f074575bd8f6cff07
4,365
cpp
C++
source/Reeval/MMASib_experiments.cpp
fq00/noisyLandscapes
5866a6f523e4e99f9b1ab68b08b2443821ec10dd
[ "MIT" ]
null
null
null
source/Reeval/MMASib_experiments.cpp
fq00/noisyLandscapes
5866a6f523e4e99f9b1ab68b08b2443821ec10dd
[ "MIT" ]
null
null
null
source/Reeval/MMASib_experiments.cpp
fq00/noisyLandscapes
5866a6f523e4e99f9b1ab68b08b2443821ec10dd
[ "MIT" ]
null
null
null
// // rAnalysis.cpp // Reeval // // Created by Francesco Quinzan on 26.11.15. // Copyright © 2015 Francesco Quinzan. All rights reserved. // #include "MMASib_experiments.hpp" void MMASib_experiments::parameter_calibration(string dir, int seed){ randomEngine::set_seed(seed); int sample_size = 100; typ...
26.779141
95
0.529439
fq00
ecd3aae26ea04430c1ff48dcc3b931f294fa0f57
915
cpp
C++
Backends/System/Windows/Sources/Kore/Input/Mouse.cpp
psmtec/Kore
3665641e1c411bfafbf55aa946dc8636eb379a12
[ "Zlib" ]
null
null
null
Backends/System/Windows/Sources/Kore/Input/Mouse.cpp
psmtec/Kore
3665641e1c411bfafbf55aa946dc8636eb379a12
[ "Zlib" ]
null
null
null
Backends/System/Windows/Sources/Kore/Input/Mouse.cpp
psmtec/Kore
3665641e1c411bfafbf55aa946dc8636eb379a12
[ "Zlib" ]
null
null
null
#include "../pch.h" #include <Kore/Input/Mouse.h> #include <Kore/System.h> #include <Kore/Window.h> #include <Windows.h> using namespace Kore; void Mouse::_lock(int windowId, bool truth) { show(!truth); if (truth) { HWND handle = Kore::Window::get(windowId)->_data.handle; SetCapture(handle); RECT rect; Ge...
18.673469
61
0.68306
psmtec
ecd6361fb7eb8012b86da23f244376a3df282638
3,958
cpp
C++
engine/utils/grabfont.cpp
jpmorris33/ire
d6a0a9468c1f98010c5959be301b717f02336895
[ "BSD-3-Clause" ]
null
null
null
engine/utils/grabfont.cpp
jpmorris33/ire
d6a0a9468c1f98010c5959be301b717f02336895
[ "BSD-3-Clause" ]
8
2020-03-29T21:03:23.000Z
2020-04-11T23:28:14.000Z
engine/utils/grabfont.cpp
jpmorris33/ire
d6a0a9468c1f98010c5959be301b717f02336895
[ "BSD-3-Clause" ]
1
2020-06-11T16:54:37.000Z
2020-06-11T16:54:37.000Z
#include <stdio.h> #include <stdlib.h> #include <string.h> #define IRE_FNT1 0x31544e46 #define IRE_FNT2 0x32544e46 int Getpixel(int x, int y); int FindNextRow(int start, int *height); int FindNextCharacter(int x, int y, int *width); int W,H; int nullcolour=0; unsigned char buffer[131072]; int main(int argc, char *...
15.281853
85
0.602072
jpmorris33
ecd9dde3446b314caf24c7374a0cbd70cf1a7f97
1,366
cpp
C++
soil.cpp
ZacharyWesterman/pico-sandbox
4ab83b7a52242a6a684bf5aef3cd39fb1b4d9c30
[ "Unlicense" ]
null
null
null
soil.cpp
ZacharyWesterman/pico-sandbox
4ab83b7a52242a6a684bf5aef3cd39fb1b4d9c30
[ "Unlicense" ]
null
null
null
soil.cpp
ZacharyWesterman/pico-sandbox
4ab83b7a52242a6a684bf5aef3cd39fb1b4d9c30
[ "Unlicense" ]
null
null
null
#include "soil.hpp" #include "pico/stdlib.h" soil::soil(i2c_inst_t* i2c_instance, uint i2c_address) noexcept { i2c = i2c_instance; address = i2c_address; } float soil::temperature(char degrees) const noexcept { //Request temperature const uint8_t txdata[2] = { 0x00, 0x04 }; i2c_write_blocking(i2c, address, txdat...
27.32
125
0.688141
ZacharyWesterman
ecdbd986f8b950e695d4919071ecaa7cd73a1e7c
1,919
hpp
C++
include/elemental/matrices/Identity.hpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
include/elemental/matrices/Identity.hpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
include/elemental/matrices/Identity.hpp
ahmadia/Elemental-1
f9a82c76a06728e9e04a4316e41803efbadb5a19
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2013, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #pragma once #ifndef MATRICES_IDENTITY_HPP #define MATR...
23.120482
73
0.647733
ahmadia
ecdcd7a2bf47ea5e9081e0e6b305cd7101aeb747
1,603
hpp
C++
third_party/boost/simd/constant/signmask.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/constant/signmask.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/constant/signmask.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //===========================...
30.826923
100
0.547723
SylvainCorlay
ecde0c61eed21d8e946bb7adf80b461bab2844d0
935
hpp
C++
src/Enums.hpp
jason-markham/pinchot-c-api
6b28f2b021a249e02b0a9ac87abad4e289cfbd9e
[ "BSD-3-Clause" ]
null
null
null
src/Enums.hpp
jason-markham/pinchot-c-api
6b28f2b021a249e02b0a9ac87abad4e289cfbd9e
[ "BSD-3-Clause" ]
null
null
null
src/Enums.hpp
jason-markham/pinchot-c-api
6b28f2b021a249e02b0a9ac87abad4e289cfbd9e
[ "BSD-3-Clause" ]
2
2020-11-24T00:56:02.000Z
2021-12-07T04:12:53.000Z
/** * Copyright (c) JoeScan Inc. All Rights Reserved. * * Licensed under the BSD 3 Clause License. See LICENSE.txt in the project * root for license information. */ #ifndef JOESCAN_ENUMS_H #define JOESCAN_ENUMS_H #include "enum.h" namespace joescan { // This enum has to agree with the `ConnectionType` enum in t...
30.16129
77
0.59893
jason-markham
ecde30044bc1faec52caa12086edf74dc8236e7f
2,683
cpp
C++
tests/Waves/SignerTests.cpp
Khaos-Labs/khaos-wallet-core
2c06d49fddf978e0815b208dddef50ee2011c551
[ "MIT" ]
2
2020-11-16T08:06:30.000Z
2021-06-18T03:21:44.000Z
tests/Waves/SignerTests.cpp
Khaos-Labs/khaos-wallet-core
2c06d49fddf978e0815b208dddef50ee2011c551
[ "MIT" ]
null
null
null
tests/Waves/SignerTests.cpp
Khaos-Labs/khaos-wallet-core
2c06d49fddf978e0815b208dddef50ee2011c551
[ "MIT" ]
null
null
null
// Copyright © 2017-2020 Khaos Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "HexCoding.h" #include "PublicKey.h" #include "Wav...
43.274194
106
0.740962
Khaos-Labs
ecde5f4777f94c406c33ef92760ed81620808356
5,497
cpp
C++
FKCore/FKServerConnectionManager.cpp
FajraKatviro/FKFramework2
0b55b402c255b50fe07ee568bbf46acd6617a6e4
[ "MIT" ]
2
2015-10-01T07:25:36.000Z
2015-11-02T23:14:10.000Z
FKCore/FKServerConnectionManager.cpp
FajraKatviro/FKFramework2
0b55b402c255b50fe07ee568bbf46acd6617a6e4
[ "MIT" ]
13
2015-11-02T22:15:14.000Z
2015-11-03T21:08:51.000Z
FKCore/FKServerConnectionManager.cpp
FajraKatviro/FKFramework2
0b55b402c255b50fe07ee568bbf46acd6617a6e4
[ "MIT" ]
null
null
null
#include "FKServerConnectionManager.h" #include "FKServerInfrastructure.h" #include "FKClientInfrastructureReferent.h" #include "FKMessage.h" #include "FKBasicEvent.h" #include "FKEventObject.h" #include "FKLogger.h" #include "FKBasicEventSubjects.h" /*! \class FKServerConnectionManager \brief This class used to pro...
30.038251
138
0.744588
FajraKatviro
ecde884684663576fef3f92ae1d4f7a5c2ffc33e
4,811
hpp
C++
core/lgraphbase.hpp
MikeAnj/LiveHD_clone
d725a3bebc04457be7eb356f27e3b93969ee8d60
[ "BSD-3-Clause" ]
1
2022-01-30T03:06:22.000Z
2022-01-30T03:06:22.000Z
core/lgraphbase.hpp
MikeAnj/LiveHD_clone
d725a3bebc04457be7eb356f27e3b93969ee8d60
[ "BSD-3-Clause" ]
null
null
null
core/lgraphbase.hpp
MikeAnj/LiveHD_clone
d725a3bebc04457be7eb356f27e3b93969ee8d60
[ "BSD-3-Clause" ]
null
null
null
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #pragma once #include <iostream> #include <map> #include <type_traits> #include <vector> #include "absl/container/flat_hash_map.h" #include "iassert.hpp" #include "lgedge.hpp" #include "lgraph_base_core.hpp" #include "mmap_vector.hp...
31.03871
127
0.717314
MikeAnj
ece1eff65c6bb09da113047b761b6e7f13020cf3
13,135
cpp
C++
src/dedicated/console/TextConsoleWin32.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/dedicated/console/TextConsoleWin32.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/dedicated/console/TextConsoleWin32.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// // CTextConsoleWin32.cpp: Win32 implementation of the TextConsole class. // /////////////////////////////////////////////...
20.364341
140
0.659536
DeadZoneLuna
ece3bc32ec565796b3f4da56d7fe87f6c8c112bd
974
cpp
C++
src/engine/EngineInterface.cpp
Arkshine/PrototypeEngine
6833b931ca02934dd5f68377fc8c486f01103841
[ "Unlicense" ]
2
2018-10-09T14:42:39.000Z
2021-02-07T21:41:00.000Z
src/engine/EngineInterface.cpp
Arkshine/PrototypeEngine
6833b931ca02934dd5f68377fc8c486f01103841
[ "Unlicense" ]
null
null
null
src/engine/EngineInterface.cpp
Arkshine/PrototypeEngine
6833b931ca02934dd5f68377fc8c486f01103841
[ "Unlicense" ]
1
2018-10-09T14:42:41.000Z
2018-10-09T14:42:41.000Z
#include "Platform.h" #include "Engine.h" #include "FilePaths.h" #include "EngineInterface.h" #ifdef WIN32 //See post VS 2015 update 3 delayimp.h for the reason why this has to be defined. - Solokiller #define DELAYIMP_INSECURE_WRITABLE_HOOKS #include <delayimp.h> FARPROC WINAPI DelayHook( unsigned dliNotify...
22.136364
130
0.693018
Arkshine
ece5c5993b62ac96455e64e2039b2e4f929ea31d
6,340
hpp
C++
esp/logging/logginglib/logconfigptree.hpp
asselitx/HPCC-Platform
b13c1a368d132f0282323667313afd647ede63c9
[ "Apache-2.0" ]
null
null
null
esp/logging/logginglib/logconfigptree.hpp
asselitx/HPCC-Platform
b13c1a368d132f0282323667313afd647ede63c9
[ "Apache-2.0" ]
null
null
null
esp/logging/logginglib/logconfigptree.hpp
asselitx/HPCC-Platform
b13c1a368d132f0282323667313afd647ede63c9
[ "Apache-2.0" ]
null
null
null
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2021 HPCC Systems®. 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...
35.617978
99
0.579653
asselitx
ece61a786b25557969da5a4009fa858ce8754175
5,197
cpp
C++
src/config/TOMLConfigBuilder.cpp
smangano/theoria
216c3edb5973cee60d3381881071e0a32428fee5
[ "Apache-2.0" ]
null
null
null
src/config/TOMLConfigBuilder.cpp
smangano/theoria
216c3edb5973cee60d3381881071e0a32428fee5
[ "Apache-2.0" ]
1
2016-10-09T15:40:16.000Z
2016-10-20T03:11:38.000Z
src/config/TOMLConfigBuilder.cpp
smangano/theoria
216c3edb5973cee60d3381881071e0a32428fee5
[ "Apache-2.0" ]
null
null
null
#include <theoria/config/TOMLConfigBuilder.h> #include <theoria/config/Config.h> #include <theoria/except/except.h> #include <utility> #include <cpptoml.h> #include <iostream> using namespace theoria ; using namespace config ; TOMLConfigBuilder::~TOMLConfigBuilder() { } std::unique_ptr<const Config> TOMLConfigBuilde...
32.48125
132
0.552242
smangano
ecef06aa5811d7e2a8dc5e6fe6a6e2de24bc04c8
3,872
cpp
C++
libs/network/src/muddle/muddle_register.cpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/network/src/muddle/muddle_register.cpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/network/src/muddle/muddle_register.cpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 // // ...
25.642384
95
0.684401
devjsc
ecf282b05d74a86c9e9ab28fa8f37754ea41f60a
745
cpp
C++
Test/Expect/test046.cpp
archivest/spin2cpp
8541238366076777717e683efac35458e3796859
[ "MIT" ]
2
2021-05-27T18:22:01.000Z
2021-05-29T13:40:38.000Z
Test/Expect/test046.cpp
archivest/spin2cpp
8541238366076777717e683efac35458e3796859
[ "MIT" ]
1
2020-10-24T22:25:37.000Z
2020-10-24T22:25:37.000Z
Test/Expect/test046.cpp
archivest/spin2cpp
8541238366076777717e683efac35458e3796859
[ "MIT" ]
null
null
null
#include <propeller.h> #include "test046.h" void test046::Fun(int32_t X, int32_t Y) { int32_t _tmp__0000, _tmp__0001; _tmp__0001 = X; if (_tmp__0001 == 0) { goto _case__0005; } if ((_tmp__0001 >= 10) && (_tmp__0001 <= 12)) { goto _case__0006; } goto _case__0007; _case__0005: ; _tmp__0000 = Y...
18.170732
49
0.64698
archivest
ecf63bfdab2b037a2d5f8534c38e4858a146a757
7,584
cpp
C++
shared/lib_pv_incidence_modifier.cpp
JordanMalan/ssc
cadb7a9f3183d63c600b5c33f53abced35b6b319
[ "BSD-3-Clause" ]
61
2017-08-09T15:10:59.000Z
2022-02-15T21:45:31.000Z
shared/lib_pv_incidence_modifier.cpp
JordanMalan/ssc
cadb7a9f3183d63c600b5c33f53abced35b6b319
[ "BSD-3-Clause" ]
462
2017-07-31T21:26:46.000Z
2022-03-30T22:53:50.000Z
shared/lib_pv_incidence_modifier.cpp
JordanMalan/ssc
cadb7a9f3183d63c600b5c33f53abced35b6b319
[ "BSD-3-Clause" ]
73
2017-08-24T17:39:31.000Z
2022-03-28T08:37:47.000Z
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met : 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
47.698113
174
0.734045
JordanMalan
ecf8754e50232012c40a4cf5311e853562ff70f0
2,251
cpp
C++
src/ripple_websocket/autosocket/LogWebsockets.cpp
latcoin/rippled
ca0740de23ec4366d53b0d3770d9a05fc83072db
[ "BSL-1.0" ]
null
null
null
src/ripple_websocket/autosocket/LogWebsockets.cpp
latcoin/rippled
ca0740de23ec4366d53b0d3770d9a05fc83072db
[ "BSL-1.0" ]
null
null
null
src/ripple_websocket/autosocket/LogWebsockets.cpp
latcoin/rippled
ca0740de23ec4366d53b0d3770d9a05fc83072db
[ "BSL-1.0" ]
null
null
null
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
33.102941
95
0.627721
latcoin
a601d99ec6c3fd43f4caf1cfde442e51d739667d
2,642
cpp
C++
src/core/visual/win32/krmovie/ogg/iBE_Math.cpp
miahmie/krkrz
e4948f61393ca4a2acac0301a975165dd4efc643
[ "Unlicense", "Apache-2.0", "Libpng", "FTL", "IJG" ]
null
null
null
src/core/visual/win32/krmovie/ogg/iBE_Math.cpp
miahmie/krkrz
e4948f61393ca4a2acac0301a975165dd4efc643
[ "Unlicense", "Apache-2.0", "Libpng", "FTL", "IJG" ]
null
null
null
src/core/visual/win32/krmovie/ogg/iBE_Math.cpp
miahmie/krkrz
e4948f61393ca4a2acac0301a975165dd4efc643
[ "Unlicense", "Apache-2.0", "Libpng", "FTL", "IJG" ]
null
null
null
//=========================================================================== //Copyright (C) 2003, 2004 Zentaro Kavanagh // //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 ret...
38.852941
91
0.700227
miahmie
a607057f41683c7a0b919ac86a7b44c3ee7a58f7
11,127
cpp
C++
sdk/storage/azure-storage-files-datalake/src/datalake_directory_client.cpp
RickWinter/azure-sdk-for-cpp
b4fe751310f53669a941e00aa93072f2d10a4eba
[ "MIT" ]
96
2020-03-19T07:49:39.000Z
2022-03-20T14:22:41.000Z
sdk/storage/azure-storage-files-datalake/src/datalake_directory_client.cpp
RickWinter/azure-sdk-for-cpp
b4fe751310f53669a941e00aa93072f2d10a4eba
[ "MIT" ]
2,572
2020-03-18T22:54:53.000Z
2022-03-31T22:09:59.000Z
sdk/storage/azure-storage-files-datalake/src/datalake_directory_client.cpp
RickWinter/azure-sdk-for-cpp
b4fe751310f53669a941e00aa93072f2d10a4eba
[ "MIT" ]
81
2020-03-19T09:42:00.000Z
2022-03-24T05:11:05.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include "azure/storage/files/datalake/datalake_directory_client.hpp" #include <azure/core/http/policies/policy.hpp> #include <azure/storage/common/crypt.hpp> #include <azure/storage/common/internal/constants.hpp> #include <a...
43.127907
100
0.764986
RickWinter
a611437d2f6c1d9a6d439591540f5a3692af13c9
540
hpp
C++
Sources/OskGadgetCWrap/include/OskGadgetCWrap.hpp
opensmartkitchen/OSK-Bridge
42bb222f6db74dda43ea86849862f338efb72339
[ "Apache-2.0" ]
null
null
null
Sources/OskGadgetCWrap/include/OskGadgetCWrap.hpp
opensmartkitchen/OSK-Bridge
42bb222f6db74dda43ea86849862f338efb72339
[ "Apache-2.0" ]
null
null
null
Sources/OskGadgetCWrap/include/OskGadgetCWrap.hpp
opensmartkitchen/OSK-Bridge
42bb222f6db74dda43ea86849862f338efb72339
[ "Apache-2.0" ]
null
null
null
#ifndef OSK_GADGET_CWRAP_ #define OSK_GADGET_CWRAP_ #include <stddef.h> #include <stdint.h> #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif // Class Memory Management void * oskGadgetCreate(); void oskGadgetDestroy(void* oskGadget); bool oskGadgetInit(void* oskGadget); void o...
18.62069
53
0.716667
opensmartkitchen
a611e4e2ae22cbdbe3729bf20d7e9959001ca527
1,789
cpp
C++
solid/utility/test/test_workpool_context.cpp
solidoss/solidframe
92fa8ce5737b9e88f3df3f549a38e9df79b7bf96
[ "BSL-1.0" ]
4
2020-12-05T23:33:32.000Z
2021-10-04T02:59:41.000Z
solid/utility/test/test_workpool_context.cpp
solidoss/solidframe
92fa8ce5737b9e88f3df3f549a38e9df79b7bf96
[ "BSL-1.0" ]
1
2020-03-22T20:38:05.000Z
2020-03-22T20:38:05.000Z
solid/utility/test/test_workpool_context.cpp
solidoss/solidframe
92fa8ce5737b9e88f3df3f549a38e9df79b7bf96
[ "BSL-1.0" ]
2
2021-01-30T09:08:52.000Z
2021-02-20T03:33:33.000Z
#include "solid/system/exception.hpp" #include "solid/system/log.hpp" #include "solid/utility/function.hpp" #include "solid/utility/workpool.hpp" #include <atomic> #include <future> #include <iostream> using namespace solid; using namespace std; namespace { const LoggerT logger("test_context"); struct Context { s...
24.506849
85
0.515931
solidoss
a6140feaed8ba2fb2b40bedf8c886301415d5aa3
668
cpp
C++
DSA1_gfg/05_insertion_sort.cpp
yashlad27/codeforce-codechef-problems
4223dccb668e1d9ecabce4740178bc1bfe468023
[ "MIT" ]
null
null
null
DSA1_gfg/05_insertion_sort.cpp
yashlad27/codeforce-codechef-problems
4223dccb668e1d9ecabce4740178bc1bfe468023
[ "MIT" ]
null
null
null
DSA1_gfg/05_insertion_sort.cpp
yashlad27/codeforce-codechef-problems
4223dccb668e1d9ecabce4740178bc1bfe468023
[ "MIT" ]
null
null
null
// INSERTION SORT:- #include<bits/stdc++.h> using namespace std; void insertion_sort(int arr[], int n) { int i, key, j; for (i = 0; i < n; i++) { key = arr[i]; j=i-1; while(j>=0 && arr[j] > key) { arr[j+1] = arr[j]; j=j-1; }...
15.904762
40
0.399701
yashlad27
a614cafd6c222ddcd37f6c1322341ba447edfa48
686
cpp
C++
common.cpp
FrozenCow/nzbtotar
c9760337c8cb690608149d71c107bebccad3dabc
[ "MIT" ]
null
null
null
common.cpp
FrozenCow/nzbtotar
c9760337c8cb690608149d71c107bebccad3dabc
[ "MIT" ]
null
null
null
common.cpp
FrozenCow/nzbtotar
c9760337c8cb690608149d71c107bebccad3dabc
[ "MIT" ]
null
null
null
#include "common.h" #define PRINTFILE "/tmp/trace2" void printrarread(const char *buf,size_t size, size_t offset) { FILE *f = fopen(PRINTFILE,"a"); fprintf(f,"RAR_READ %lld @ %lld\n",size,offset); for(int i=0;i<size;i++) { fprintf(f,"%02x ", buf[i] & 0xff); } fprintf(f,"\n"); fclose(f); sleep(1); } ...
26.384615
68
0.632653
FrozenCow
a619763bda3f8ac8dd0bc1c935305855eafc0d91
3,527
hpp
C++
src/lib/driver/Driver.hpp
psrebniak/css-preprocessor
7b54fe3d47c22039239e0690eab39f5ebf027b83
[ "MIT" ]
null
null
null
src/lib/driver/Driver.hpp
psrebniak/css-preprocessor
7b54fe3d47c22039239e0690eab39f5ebf027b83
[ "MIT" ]
null
null
null
src/lib/driver/Driver.hpp
psrebniak/css-preprocessor
7b54fe3d47c22039239e0690eab39f5ebf027b83
[ "MIT" ]
null
null
null
#ifndef __DRIVER_HPP__ #define __DRIVER_HPP__ #include <string> #include <cstddef> #include <istream> #include <iostream> #include <utility> #include <map> #include <queue> #include "lib/types.hpp" #include "lib/lexer/Lexer.hpp" #include "lib/logger/Logger.hpp" #include "lib/ast/node/Node.hpp" #include "lib/generator...
22.322785
85
0.516019
psrebniak
a619981023bae18c2816d723dde2a121c4af02a8
3,246
cpp
C++
Codeforces/Codeforces Round #492 (Div. 2)/C. Tesla.cpp
edwinsun98/Competitive-Programming-Solutions
67d79a2193e6912a644d27b9a399ba02a60766b7
[ "MIT" ]
null
null
null
Codeforces/Codeforces Round #492 (Div. 2)/C. Tesla.cpp
edwinsun98/Competitive-Programming-Solutions
67d79a2193e6912a644d27b9a399ba02a60766b7
[ "MIT" ]
null
null
null
Codeforces/Codeforces Round #492 (Div. 2)/C. Tesla.cpp
edwinsun98/Competitive-Programming-Solutions
67d79a2193e6912a644d27b9a399ba02a60766b7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #define f first #define s second #define all(vec) begin(vec), end(vec) #define pf push_front #define pb push_back #define lb lower_bound #define ub upper_bound #define mk make_pair using namespace std; using namespace __gnu_pbds; typedef long long ll; ty...
26.826446
68
0.331793
edwinsun98
a61dc97200203ca53ebbdc1b2128cf2b22fcedb3
1,596
cpp
C++
test/test_ultrasonic_sensor.cpp
nr-parikh/acme_robotics_perception_module
c681454b8b77c5e0aa7f990cc1fd6345f717920f
[ "MIT" ]
null
null
null
test/test_ultrasonic_sensor.cpp
nr-parikh/acme_robotics_perception_module
c681454b8b77c5e0aa7f990cc1fd6345f717920f
[ "MIT" ]
null
null
null
test/test_ultrasonic_sensor.cpp
nr-parikh/acme_robotics_perception_module
c681454b8b77c5e0aa7f990cc1fd6345f717920f
[ "MIT" ]
2
2017-10-16T03:16:35.000Z
2020-12-12T20:18:20.000Z
/** * @file test_ultrasonic_sensor.cpp * @author nrparikh * @copyright MIT license * * @brief DESCRIPTION * Testing file for the UltrasonicSensor. */ #include <gtest/gtest.h> #include <stdlib.h> #include <ctime> #include <iostream> #include "ultrasonic_sensor.hpp" /** * @brief Class to test the worki...
29.555556
73
0.714912
nr-parikh
a61f93b8b0f87f7c287a1b62cb396dfac256b0ec
269
cpp
C++
problems/problem152/main.cpp
PoH314/Algorithms-and-Data-Structures
b295379d6b6515921702e2dc358b02680df3960a
[ "MIT" ]
1
2022-03-01T15:47:08.000Z
2022-03-01T15:47:08.000Z
problems/problem152/main.cpp
PoH314/Algorithms-and-Data-Structures
b295379d6b6515921702e2dc358b02680df3960a
[ "MIT" ]
1
2022-03-21T20:01:08.000Z
2022-03-21T20:01:08.000Z
problems/problem152/main.cpp
PoH314/Algorithms-and-Data-Structures
b295379d6b6515921702e2dc358b02680df3960a
[ "MIT" ]
1
2022-03-21T17:53:34.000Z
2022-03-21T17:53:34.000Z
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; int v[3]; cin >> a >> b >> c; v[0] = b*2 + c*4; v[1] = a*2 + c*2; v[2] = b*2 + a*4; sort(v, v + 3); cout << v[0] << endl; return 0; }
12.809524
25
0.36803
PoH314
98ae9b01ba3e47e3f7efdb0c534d05cdfaf7b976
3,832
hpp
C++
libstm/algs/RedoRAWUtils.hpp
nmadduri/rstm
5f4697f987625379d99bca1f32b33ee8e821c8a5
[ "BSD-3-Clause" ]
8
2016-12-05T19:39:55.000Z
2021-07-22T07:00:40.000Z
libstm/algs/RedoRAWUtils.hpp
hlitz/rstm_zsim_tm
1c66824b124f84c8812ca25f4a9aa225f9f1fa34
[ "BSD-3-Clause" ]
null
null
null
libstm/algs/RedoRAWUtils.hpp
hlitz/rstm_zsim_tm
1c66824b124f84c8812ca25f4a9aa225f9f1fa34
[ "BSD-3-Clause" ]
2
2018-06-02T07:46:33.000Z
2020-06-26T02:12:34.000Z
/** * Copyright (C) 2011 * University of Rochester Department of Computer Science * and * Lehigh University Department of Computer Science and Engineering * * License: Modified BSD * Please see the file LICENSE.RSTM for licensing information */ #ifndef STM_REDO_RAW_CHECK_HPP #define STM_REDO_RAW...
36.495238
79
0.634656
nmadduri
98af66ad112c887b8ceae40f93ebf51354227d01
1,045
cpp
C++
src/widget-wifi-signal.cpp
9ae8sdf76/odbii-pilot
8ea5ba7c7001d5b9c293ab4d3a375d44bfd2d145
[ "MIT" ]
null
null
null
src/widget-wifi-signal.cpp
9ae8sdf76/odbii-pilot
8ea5ba7c7001d5b9c293ab4d3a375d44bfd2d145
[ "MIT" ]
1
2021-05-11T16:04:44.000Z
2021-05-11T16:04:44.000Z
src/widget-wifi-signal.cpp
9ae8sdf76/odbii-pilot
8ea5ba7c7001d5b9c293ab4d3a375d44bfd2d145
[ "MIT" ]
2
2021-01-31T13:04:05.000Z
2022-01-12T12:01:17.000Z
#include "widget-wifi-signal.h" using namespace dbuddy; extern "C" void cb_time_change_task_handler(lv_task_t *); void WifiSignal::init() { Widget * time_container = get_ui()->get_widget(WIDGET_TIME_CONTAINER); Widget * time_label = get_ui()->get_widget(WIDGET_TIME_LABEL); set_self(lv_label_create(time_...
34.833333
108
0.742584
9ae8sdf76
98b18d6b66815637b76fe5242075360f32657839
2,365
cpp
C++
DistributedTrees/ForestManager.cpp
palvaradomoya/forests
eec6a5e003a2849367fdeef18b7b5340b6d0e480
[ "BSD-3-Clause" ]
null
null
null
DistributedTrees/ForestManager.cpp
palvaradomoya/forests
eec6a5e003a2849367fdeef18b7b5340b6d0e480
[ "BSD-3-Clause" ]
null
null
null
DistributedTrees/ForestManager.cpp
palvaradomoya/forests
eec6a5e003a2849367fdeef18b7b5340b6d0e480
[ "BSD-3-Clause" ]
null
null
null
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: TreeManager.cpp * Author: gabo * * Created on May 17, 2018, 4:24 PM */ #include "ForestManager.h" rdf::ForestMan...
25.430108
79
0.645666
palvaradomoya
98be8a2b186d1c350434bba3bbef42aee864e222
4,770
cpp
C++
applicationsSrc/simpleCatoms3D/simpleCatom3DBlockCode.cpp
claytronics/visiblesim
2762a88a23e50516d0f166dd9629f1ac7290fded
[ "Apache-2.0" ]
4
2016-08-18T03:19:49.000Z
2020-09-20T03:29:26.000Z
applicationsSrc/simpleCatoms3D/simpleCatom3DBlockCode.cpp
claytronics/visiblesim
2762a88a23e50516d0f166dd9629f1ac7290fded
[ "Apache-2.0" ]
2
2016-08-18T03:25:07.000Z
2016-08-29T17:51:50.000Z
applicationsSrc/simpleCatoms3D/simpleCatom3DBlockCode.cpp
claytronics/visiblesim
2762a88a23e50516d0f166dd9629f1ac7290fded
[ "Apache-2.0" ]
3
2015-05-14T07:29:55.000Z
2021-07-18T23:45:36.000Z
/* * catom2D1BlockCode.cpp * * Created on: 12 avril 2013 * Author: ben */ #include <iostream> #include <sstream> #include "catoms3DWorld.h" #include "simpleCatom3DBlockCode.h" #include "scheduler.h" #include "events.h" #include <memory> #define verbose 1 using namespace std; using namespace Catoms3D; Sim...
32.896552
123
0.621593
claytronics
98bf4134e6cd2192628fcc10118ac305f981d354
3,085
cpp
C++
local.1.genesis/app.loaderTest/c_getopt.cpp
manxinator/aok
b8d7908dec4c04508f6eabf252684b105c14608b
[ "MIT" ]
null
null
null
local.1.genesis/app.loaderTest/c_getopt.cpp
manxinator/aok
b8d7908dec4c04508f6eabf252684b105c14608b
[ "MIT" ]
null
null
null
local.1.genesis/app.loaderTest/c_getopt.cpp
manxinator/aok
b8d7908dec4c04508f6eabf252684b105c14608b
[ "MIT" ]
null
null
null
/*------------------------------------------------------------------------------ Copyright (c) 2015 manxinator 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, includin...
31.161616
80
0.544246
manxinator
98c05af6895832daab7d7259165ff6ad855e7bec
1,196
cxx
C++
all-tests/test-dblbuff.cxx
Hungerarray/winbgim
4a0bc7da71cacba61bcf6dcb7d3e2ad1ef8ebb82
[ "MIT" ]
null
null
null
all-tests/test-dblbuff.cxx
Hungerarray/winbgim
4a0bc7da71cacba61bcf6dcb7d3e2ad1ef8ebb82
[ "MIT" ]
null
null
null
all-tests/test-dblbuff.cxx
Hungerarray/winbgim
4a0bc7da71cacba61bcf6dcb7d3e2ad1ef8ebb82
[ "MIT" ]
null
null
null
// FILE: dblbuff.cpp // Demostrates double-buffering with the winbgim library. // Michael Main -- Nov 25, 1998 #include <stdio.h> // Provides sprintf function #include "winbgim.h" // Provides Windows BGI functions int main( ) { const int COLUMNS = 8; const int ROWS = 16; int x, y; // x and y pix...
28.47619
63
0.620401
Hungerarray
98c2f3d6736670bb307f7d0dda5a6ad941ba850f
10,524
cpp
C++
FamilyTree.cpp
TomerDvir123/ancestor-tree-b
013b89ae3c47408f177abf6fa94de53a01a8013e
[ "MIT" ]
null
null
null
FamilyTree.cpp
TomerDvir123/ancestor-tree-b
013b89ae3c47408f177abf6fa94de53a01a8013e
[ "MIT" ]
null
null
null
FamilyTree.cpp
TomerDvir123/ancestor-tree-b
013b89ae3c47408f177abf6fa94de53a01a8013e
[ "MIT" ]
null
null
null
//#include "FamilyTree.hpp" //#include <iostream> //#include <string> // // // //using namespace std; //using namespace family; #include "FamilyTree.hpp" #include <string> #include <stdexcept> #include <iostream> #include <cstring> using namespace std; using namespace family; Tree::Tree(string name) { this->MyNa...
22.779221
90
0.418757
TomerDvir123
98c3b175988236bcb60c1ce5cf9f831b9a1788ba
1,614
cpp
C++
thrift/lib/cpp2/protocol/nimble/EncodeNimbleBlock.cpp
andywei/fbthrift
59330df4969ecde98c09a5e2ae6e78a31735418f
[ "Apache-2.0" ]
null
null
null
thrift/lib/cpp2/protocol/nimble/EncodeNimbleBlock.cpp
andywei/fbthrift
59330df4969ecde98c09a5e2ae6e78a31735418f
[ "Apache-2.0" ]
null
null
null
thrift/lib/cpp2/protocol/nimble/EncodeNimbleBlock.cpp
andywei/fbthrift
59330df4969ecde98c09a5e2ae6e78a31735418f
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-present Facebook, 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 a...
28.821429
77
0.737299
andywei
98c48edaf8079e3633fca88e0dac2b69c771448a
6,349
cc
C++
src/post.cc
smirolo/tero
8db171a22e6723bc1eed0b235f17cc962528b93d
[ "BSD-3-Clause" ]
1
2020-06-27T00:27:10.000Z
2020-06-27T00:27:10.000Z
src/post.cc
smirolo/tero
8db171a22e6723bc1eed0b235f17cc962528b93d
[ "BSD-3-Clause" ]
null
null
null
src/post.cc
smirolo/tero
8db171a22e6723bc1eed0b235f17cc962528b93d
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2013, Fortylines LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condi...
28.34375
80
0.606867
smirolo
98c5aa208506bbc593f4d18ce839c305dc7ab179
10,983
cpp
C++
src/3rdparty/qt-components/src/mx/qmxtoplevelitem.cpp
qtmediahub/qtmediahub-ruins
844c71dbd7bcbd94a6ba76b952b7d1850e3ddc67
[ "BSD-3-Clause" ]
null
null
null
src/3rdparty/qt-components/src/mx/qmxtoplevelitem.cpp
qtmediahub/qtmediahub-ruins
844c71dbd7bcbd94a6ba76b952b7d1850e3ddc67
[ "BSD-3-Clause" ]
null
null
null
src/3rdparty/qt-components/src/mx/qmxtoplevelitem.cpp
qtmediahub/qtmediahub-ruins
844c71dbd7bcbd94a6ba76b952b7d1850e3ddc67
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Components project on Qt Labs. ** ** No Commercial Usage ** Th...
35.201923
111
0.688792
qtmediahub
98c9dd552d306a0b0642eff4e09097777e3a0f7e
1,729
hpp
C++
include/Utilities/MoveList.hpp
NicolasAlmerge/chess_game
5f10d911cea40ac8d09cf418bdc14facaa1ecd4e
[ "MIT" ]
1
2022-02-05T10:38:48.000Z
2022-02-05T10:38:48.000Z
include/Utilities/MoveList.hpp
NicolasAlmerge/chess_game
5f10d911cea40ac8d09cf418bdc14facaa1ecd4e
[ "MIT" ]
null
null
null
include/Utilities/MoveList.hpp
NicolasAlmerge/chess_game
5f10d911cea40ac8d09cf418bdc14facaa1ecd4e
[ "MIT" ]
null
null
null
#pragma once #include <list> #include <iterator> #include <SFML/Graphics.hpp> #include "../Components/Board.hpp" #include "Move.hpp" #include "PieceTransition.hpp" using namespace sf; class MoveList { public: MoveList(Board&, PieceTransition&); list<shared_ptr<Move>>::iterator getNewIterator() { return m_mov...
39.295455
114
0.716021
NicolasAlmerge
98cb18f4fa2d6fe4ee76e9133bf2eecbdb51b72c
3,337
cpp
C++
MineFLTKDRM/Minesweeper.cpp
i-anton/MineFLTK
70e268b5559f982e666c63bfae808e3476c9b503
[ "Unlicense" ]
1
2019-12-01T20:23:05.000Z
2019-12-01T20:23:05.000Z
MineFLTKDRM/Minesweeper.cpp
i-anton/MineFLTK
70e268b5559f982e666c63bfae808e3476c9b503
[ "Unlicense" ]
null
null
null
MineFLTKDRM/Minesweeper.cpp
i-anton/MineFLTK
70e268b5559f982e666c63bfae808e3476c9b503
[ "Unlicense" ]
null
null
null
#include "Minesweeper.h" #include <queue> #include "Vector2i.h" Cell::Cell() : marked(false), opened(false), neighbours(0) {} Minesweeper::Minesweeper() : current_state(GameState::Playing), unmarked_mines(0), not_mined(TABLE_ROWS*TABLE_ROWS), total_cells(not_mined) {} Minesweeper::~Minesweeper(...
23.666667
85
0.611328
i-anton
98cd6c7f68e741510ffc669f2385e806cdeb8e0c
83
cpp
C++
raygame/Condition.cpp
MatthewRagas/AI_Agents
7c513fe63956929bb55ee1f5e6fdf756422497fc
[ "MIT" ]
null
null
null
raygame/Condition.cpp
MatthewRagas/AI_Agents
7c513fe63956929bb55ee1f5e6fdf756422497fc
[ "MIT" ]
null
null
null
raygame/Condition.cpp
MatthewRagas/AI_Agents
7c513fe63956929bb55ee1f5e6fdf756422497fc
[ "MIT" ]
null
null
null
#include "Condition.h" Condition::Condition() { } Condition::~Condition() { }
6.384615
23
0.638554
MatthewRagas
98d24ada6d0581a80f79fa313d4ebafb8cb975c0
1,348
cpp
C++
system/zombie/backup_dancer.cpp
dnartz/PvZ-Emulator
3954f36f4e0f22cee07d6a86003d3892f0938b8b
[ "BSD-2-Clause" ]
1
2022-03-29T23:49:55.000Z
2022-03-29T23:49:55.000Z
system/zombie/backup_dancer.cpp
dnartz/PvZ-Emulator
3954f36f4e0f22cee07d6a86003d3892f0938b8b
[ "BSD-2-Clause" ]
2
2021-03-10T18:17:07.000Z
2021-05-11T13:59:22.000Z
system/zombie/backup_dancer.cpp
dnartz/PvZ-Emulator
3954f36f4e0f22cee07d6a86003d3892f0938b8b
[ "BSD-2-Clause" ]
1
2021-10-18T18:29:47.000Z
2021-10-18T18:29:47.000Z
#include <cmath> #include "zombie.h" namespace pvz_emulator::system { using namespace pvz_emulator::object; void zombie_backup_dancer::update(zombie& z) { if (z.is_eating) { return; } if (z.status == zombie_status::backup_spawning) { z.dy = static_cast<float>(round(z.countdown.action * (...
24.962963
86
0.626113
dnartz
98d8e2d19b2350c7ebdbcdfa7c1a74983942dfea
21,492
cpp
C++
Info/Info/Quests/QuestsInfo.cpp
Teles1/LuniaAsio
62e404442cdb6e5523fc6e7a5b0f64a4471180ed
[ "MIT" ]
null
null
null
Info/Info/Quests/QuestsInfo.cpp
Teles1/LuniaAsio
62e404442cdb6e5523fc6e7a5b0f64a4471180ed
[ "MIT" ]
null
null
null
Info/Info/Quests/QuestsInfo.cpp
Teles1/LuniaAsio
62e404442cdb6e5523fc6e7a5b0f64a4471180ed
[ "MIT" ]
null
null
null
#include <Info/Info/Quests/QuestsInfo.h> namespace Lunia { namespace XRated { namespace Database { namespace Info { const int QuestInfo::Condition::NonUseGuildLevel = -1; QuestInfo::QuestInfo() { } void QuestInfo::Serialize(Serializer::IStreamWriter& out) const { out.Begin(L"AllM::XR...
35.348684
149
0.640238
Teles1
98daca3368b733539d9fab918f657c1c1c477cf7
1,015
cpp
C++
p173_Binary_Search_Tree_Iterator/p173.cpp
Song1996/Leetcode
ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb
[ "MIT" ]
null
null
null
p173_Binary_Search_Tree_Iterator/p173.cpp
Song1996/Leetcode
ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb
[ "MIT" ]
null
null
null
p173_Binary_Search_Tree_Iterator/p173.cpp
Song1996/Leetcode
ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <vector> #include <stack> #include <map> #include <string> #include <assert.h> #include <stdlib.h> #include <fstream> #include <algorithm> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL)...
19.150943
57
0.529064
Song1996
98dd474cc006efd11bf59e94f1eefd4b99d8da0c
1,818
cpp
C++
Graph/GetPath_BFS.cpp
ayushhsinghh/DSASolutions
f898b35484b86519f73fdca969f7d579be98804e
[ "MIT" ]
null
null
null
Graph/GetPath_BFS.cpp
ayushhsinghh/DSASolutions
f898b35484b86519f73fdca969f7d579be98804e
[ "MIT" ]
null
null
null
Graph/GetPath_BFS.cpp
ayushhsinghh/DSASolutions
f898b35484b86519f73fdca969f7d579be98804e
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> #include<queue> #include<vector> #include<utility> #include<map> using namespace std; vector<int> getPath(int **edges , int nVertex , int start , int end){ bool *visited = new bool[nVertex]; for(int i = 0 ; i < nVertex ; i++){ visited[i] = false; } map<in...
20.659091
69
0.459296
ayushhsinghh
98e43dc5cec0add6ee5418aa39dc5042224c1779
871
hpp
C++
test/mock/core/consensus/grandpa/chain_mock.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
test/mock/core/consensus/grandpa/chain_mock.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
test/mock/core/consensus/grandpa/chain_mock.hpp
FlorianFranzen/kagome
27ee11c78767e72f0ecd2c515c77bebc2ff5758d
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_TEST_MOCK_CORE_CONSENSUS_GRANDPA_CHAIN_MOCK_HPP #define KAGOME_TEST_MOCK_CORE_CONSENSUS_GRANDPA_CHAIN_MOCK_HPP #include <gmock/gmock.h> #include "consensus/grandpa/chain.hpp" namespace kagome::consensu...
30.034483
75
0.692308
FlorianFranzen
98e486358337d37f335709045df2b528399ecccc
3,511
hpp
C++
sdk/cpp/core/src/netconf_provider.hpp
YDK-Solutions/ydk
7ab961284cdc82de8828e53fa4870d3204d7730e
[ "ECL-2.0", "Apache-2.0" ]
125
2016-03-15T17:04:13.000Z
2022-03-22T02:46:17.000Z
sdk/cpp/core/src/netconf_provider.hpp
YDK-Solutions/ydk
7ab961284cdc82de8828e53fa4870d3204d7730e
[ "ECL-2.0", "Apache-2.0" ]
818
2016-03-17T17:06:00.000Z
2022-03-28T03:56:17.000Z
sdk/cpp/core/src/netconf_provider.hpp
YDK-Solutions/ydk
7ab961284cdc82de8828e53fa4870d3204d7730e
[ "ECL-2.0", "Apache-2.0" ]
93
2016-03-15T19:18:55.000Z
2022-02-24T13:55:07.000Z
/* ---------------------------------------------------------------- Copyright 2016 Cisco Systems 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 ...
42.817073
170
0.522928
YDK-Solutions
98e6387f57e12ab0a0cd9d3adaba20e2137c9c5a
297
cpp
C++
src/Support/ContextTransition.cpp
G-o-T-o/CircuitOS
383bd4794b4f3f55f8249d602f1f7bd10b336a84
[ "MIT" ]
14
2020-03-22T13:21:46.000Z
2021-12-10T04:28:44.000Z
src/Support/ContextTransition.cpp
G-o-T-o/CircuitOS
383bd4794b4f3f55f8249d602f1f7bd10b336a84
[ "MIT" ]
5
2020-04-14T19:35:16.000Z
2021-08-30T03:02:36.000Z
src/Support/ContextTransition.cpp
G-o-T-o/CircuitOS
383bd4794b4f3f55f8249d602f1f7bd10b336a84
[ "MIT" ]
5
2021-02-10T09:02:43.000Z
2021-08-24T04:56:04.000Z
#include "../../Setup.hpp" #include "ContextTransition.h" bool ContextTransition::transitionRunning = false; bool ContextTransition::isRunning(){ return transitionRunning; } #ifdef CIRCUITOS_LOWRAM #include "LowRamContextTransition.impl" #else #include "StandardContextTransition.impl" #endif
22.846154
50
0.794613
G-o-T-o
98e691599abd777f53fa861969a4e6c64dec5037
790
cpp
C++
src/cxx11-detection-idiom.cpp
mariokonrad/cppug-sfinae-concepts
aeb633261d15fe5f63bf36c79e30247c8db88cfc
[ "CC-BY-4.0" ]
null
null
null
src/cxx11-detection-idiom.cpp
mariokonrad/cppug-sfinae-concepts
aeb633261d15fe5f63bf36c79e30247c8db88cfc
[ "CC-BY-4.0" ]
null
null
null
src/cxx11-detection-idiom.cpp
mariokonrad/cppug-sfinae-concepts
aeb633261d15fe5f63bf36c79e30247c8db88cfc
[ "CC-BY-4.0" ]
1
2019-05-29T05:08:30.000Z
2019-05-29T05:08:30.000Z
#include <iostream> #include <type_traits> namespace cxx11_detection_idom { template <class T> struct has_add { template <class U> static constexpr decltype(std::declval<U>().add(int(), int()), bool()) test(int) { return true; } template <class U> static constexpr bool test(...) { return false; } static const...
22.571429
81
0.634177
mariokonrad
98eeaee5dbb9d6687efcf9789bd08c67f5654c54
1,058
hpp
C++
makepad/ChakraCore/pal/src/include/pal/event.hpp
makepaddev/makepad
25d2f18c8a7c190fd1b199762817b6514118e045
[ "MIT" ]
8,664
2016-01-13T17:33:19.000Z
2019-05-06T19:55:36.000Z
makepad/ChakraCore/pal/src/include/pal/event.hpp
makepaddev/makepad
25d2f18c8a7c190fd1b199762817b6514118e045
[ "MIT" ]
5,058
2016-01-13T17:57:02.000Z
2019-05-04T15:41:54.000Z
makepad/ChakraCore/pal/src/include/pal/event.hpp
makepaddev/makepad
25d2f18c8a7c190fd1b199762817b6514118e045
[ "MIT" ]
1,367
2016-01-13T17:54:57.000Z
2019-04-29T18:16:27.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*++ Module Name: event.hpp Abstract: Event object structure definition. --*/ #ifndef _PAL_EVENT_H...
15.114286
71
0.646503
makepaddev
98eefbe0c57de60318f9579bd07ee5dfe66172c8
930
hpp
C++
source/quantum-script.lib/quantum-script-iterator.hpp
g-stefan/quantum-script
479c7c9bc3831ecafa79071c40fa766985130b59
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script.lib/quantum-script-iterator.hpp
g-stefan/quantum-script
479c7c9bc3831ecafa79071c40fa766985130b59
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script.lib/quantum-script-iterator.hpp
g-stefan/quantum-script
479c7c9bc3831ecafa79071c40fa766985130b59
[ "MIT", "Unlicense" ]
null
null
null
// // Quantum Script // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #ifndef QUANTUM_SCRIPT_ITERATOR_HPP #define QUANTUM_SCRIPT_ITERATOR_HPP #ifndef QUANTUM_SCRIPT_VARIABLE_H...
16.909091
63
0.673118
g-stefan
98f00cbc4f5031658cec1d50210652783d5be6fc
10,343
cpp
C++
src/exactextract/test/test_raster_cell_intersection.cpp
dbaston/exactextractr
15ec58e8b40d5ea84752e51d0b914376b5122d5d
[ "Apache-2.0" ]
null
null
null
src/exactextract/test/test_raster_cell_intersection.cpp
dbaston/exactextractr
15ec58e8b40d5ea84752e51d0b914376b5122d5d
[ "Apache-2.0" ]
null
null
null
src/exactextract/test/test_raster_cell_intersection.cpp
dbaston/exactextractr
15ec58e8b40d5ea84752e51d0b914376b5122d5d
[ "Apache-2.0" ]
null
null
null
#include <geos_c.h> #include "catch.hpp" #include "geos_utils.h" #include "raster_cell_intersection.h" using namespace exactextract; void check_cell_intersections(const RasterCellIntersection & rci, const std::vector<std::vector<float>> & v) { const Matrix<float>& actual = rci.overlap_areas(); Matrix<float>...
30.510324
916
0.580102
dbaston
98f371c857935fc189e6b85e571ea24df47ec046
9,706
cpp
C++
src/Library/Core/FileSystem/Path.cpp
cowlicks/library-core
9a872ab7aa6bc4aba22734705b72dc22ea35ee77
[ "Apache-2.0" ]
null
null
null
src/Library/Core/FileSystem/Path.cpp
cowlicks/library-core
9a872ab7aa6bc4aba22734705b72dc22ea35ee77
[ "Apache-2.0" ]
null
null
null
src/Library/Core/FileSystem/Path.cpp
cowlicks/library-core
9a872ab7aa6bc4aba22734705b72dc22ea35ee77
[ "Apache-2.0" ]
1
2020-12-01T14:50:50.000Z
2020-12-01T14:50:50.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Library ▸ Core /// @file Library/Core/FileSystem/Path.cpp /// @author Lucas Brémond <lucas@loftorbital.com> /// @license...
26.961111
170
0.360396
cowlicks
98f6b6d9e5042144e5430e5364c8dae30a9ce48c
827
hpp
C++
alignment/datastructures/anchoring/AnchorParameters.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
alignment/datastructures/anchoring/AnchorParameters.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
alignment/datastructures/anchoring/AnchorParameters.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#ifndef _BLASR_ANCHOR_PARAMETERS_HPP_ #define _BLASR_ANCHOR_PARAMETERS_HPP_ #include <fstream> #include <iostream> #include <pbdata/DNASequence.hpp> #include <pbdata/qvs/QualityValue.hpp> class AnchorParameters { public: QualityValue branchQualityThreshold; DNALength minMatchLength; int maxMatchScore; ...
22.351351
61
0.76179
ggraham
98f8a704a0b525a01c23915877bac44396e8be00
2,523
cpp
C++
src/MentalMux8.cpp
CommanderAsdasd/asdasd_modules
b3270044623430f3a5e5565327b89296bcbfd181
[ "BSD-3-Clause" ]
null
null
null
src/MentalMux8.cpp
CommanderAsdasd/asdasd_modules
b3270044623430f3a5e5565327b89296bcbfd181
[ "BSD-3-Clause" ]
null
null
null
src/MentalMux8.cpp
CommanderAsdasd/asdasd_modules
b3270044623430f3a5e5565327b89296bcbfd181
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////// // // 8 to 1 Mux with Binary Decoder selector VCV Module // // Strum 2017 // /////////////////////////////////////////////////// #include "mental.hpp" struct MentalMux8 : Module { enum ParamIds { NUM_PARAMS }; enum InputIds { INPUT_1, INPUT_2, ...
23.579439
139
0.584621
CommanderAsdasd
98fa4ff52209303b062549ba0ae526fc9d2dcbe8
7,261
cpp
C++
Test/PikeVM.cpp
AirGuanZ/Utils
6ededbd838697682430a2c0746bfd3b36ff14a5b
[ "MIT" ]
10
2018-10-30T14:19:57.000Z
2021-12-06T07:46:59.000Z
Test/PikeVM.cpp
AirGuanZ/Utils
6ededbd838697682430a2c0746bfd3b36ff14a5b
[ "MIT" ]
null
null
null
Test/PikeVM.cpp
AirGuanZ/Utils
6ededbd838697682430a2c0746bfd3b36ff14a5b
[ "MIT" ]
3
2019-04-24T13:42:02.000Z
2021-06-28T08:17:28.000Z
#include <AGZUtils/Utils/String.h> #include "Catch.hpp" using namespace AGZ; void P8(const WStr &str) { (void)StrImpl::PikeVM::Parser<WUTF>().Parse(str); } void Gen(const WStr &str) { size_t slotCount; (void)StrImpl::PikeVM::Backend<WUTF>().Generate( StrImpl::PikeVM::Parser<WUTF>().Parse(str), ...
37.045918
94
0.519488
AirGuanZ
c70026920b9b42ade4db1c9d68a1fba2d951e98f
3,190
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/fwd/mat/fun/array_builder_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/fwd/mat/fun/array_builder_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/fwd/mat/fun/array_builder_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/fwd/mat.hpp> #include <gtest/gtest.h> using stan::math::fvar; TEST(AgradFwdMatrixArrayBuilder,fvar_double) { using std::vector; using stan::math::array_builder; EXPECT_EQ(0U, array_builder<fvar<double> >().array().size()); vector<fvar<double> > x = array_builder<fvar<double> >() ...
30.09434
70
0.600627
yizhang-cae
c7009a6717d265862759f97ad4eae6dd772e7109
1,954
hpp
C++
src/para/peak_tolerance.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
8
2018-05-23T14:37:31.000Z
2022-02-04T23:48:38.000Z
src/para/peak_tolerance.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
9
2019-08-31T08:17:45.000Z
2022-02-11T20:58:06.000Z
src/para/peak_tolerance.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
4
2018-04-25T01:39:38.000Z
2020-05-20T19:25:07.000Z
//Copyright (c) 2014 - 2020, The Trustees of Indiana University. // //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 a...
27.138889
74
0.759468
toppic-suite
c7078a5b9c0dc68041b4e5bba29763e76c8c7cfc
1,185
cpp
C++
31_Next_Permutation.cpp
AvadheshChamola/LeetCode
b0edabfa798c4e204b015f4c367bfc5acfbd8277
[ "MIT" ]
null
null
null
31_Next_Permutation.cpp
AvadheshChamola/LeetCode
b0edabfa798c4e204b015f4c367bfc5acfbd8277
[ "MIT" ]
null
null
null
31_Next_Permutation.cpp
AvadheshChamola/LeetCode
b0edabfa798c4e204b015f4c367bfc5acfbd8277
[ "MIT" ]
null
null
null
/* 31. Next Permutation Medium Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such an arrangement is not possible, it must rearrange it as the lowest possible order (i.e., sorted in ascending order). The replacement must be in place and use onl...
17.954545
124
0.521519
AvadheshChamola
c71370c682704f2c244defe01bae201aacb14251
4,263
cpp
C++
test/impl/UniqueTokenStorage_test.cpp
mark-grimes/Communique
969a2a8851ac2eb9dfc0d5c4fdd8669073ad882a
[ "Apache-2.0" ]
null
null
null
test/impl/UniqueTokenStorage_test.cpp
mark-grimes/Communique
969a2a8851ac2eb9dfc0d5c4fdd8669073ad882a
[ "Apache-2.0" ]
1
2015-11-25T09:48:34.000Z
2015-11-25T09:48:34.000Z
test/impl/UniqueTokenStorage_test.cpp
mark-grimes/Communique
969a2a8851ac2eb9dfc0d5c4fdd8669073ad882a
[ "Apache-2.0" ]
null
null
null
#include <communique/impl/UniqueTokenStorage.h> #include "../catch.hpp" #include <iostream> #include <map> SCENARIO( "Test that UniqueTokenStorage behaves as expected", "[UniqueTokenStorage][tools]" ) { GIVEN( "A UniqueTokenStorage<uint64_t,uint32_t> instance" ) { // Use a 32 bit unsigned int as the tokens, and a...
34.658537
107
0.71757
mark-grimes
c7171eaca46d7e99f6636ad5a650731d17054c21
2,108
cpp
C++
game/main.cpp
geoffwhitehead/moonbase-commander-game
8eb3664e1275e9f0d22fe22d25d334654a57a949
[ "MIT" ]
1
2017-09-30T21:16:35.000Z
2017-09-30T21:16:35.000Z
game/main.cpp
geoffwhitehead/moonbase-commander-game
8eb3664e1275e9f0d22fe22d25d334654a57a949
[ "MIT" ]
null
null
null
game/main.cpp
geoffwhitehead/moonbase-commander-game
8eb3664e1275e9f0d22fe22d25d334654a57a949
[ "MIT" ]
null
null
null
#include "../nclgl/OGLRenderer.h" #include "../engine-base/Camera.h" #include "../engine-base/GameManager.h" #include "../engine-audio/AudioManager.h" #include "../engine-input/InputManager.h" #include "../engine-base/GameLogicManager.h" #include "../engine-physics/PhysicsManager.h" #include "ContactListener.h" #incl...
28.106667
130
0.711575
geoffwhitehead
c71a59e885c1226bb0817675657235af87c80a5f
1,987
cpp
C++
ports/esp32/src/OTA.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
33
2017-07-03T22:49:30.000Z
2022-03-31T19:32:55.000Z
ports/esp32/src/OTA.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
6
2017-07-13T13:23:22.000Z
2019-10-25T17:51:28.000Z
ports/esp32/src/OTA.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
17
2017-07-01T05:35:47.000Z
2022-03-22T23:33:00.000Z
#include <hFramework.h> #include <cstring> #include <utility> #include "esp_ota_ops.h" namespace hFramework { namespace OTA { const esp_partition_t* getOtaPartition() { const esp_partition_t* bootPartition = esp_ota_get_boot_partition(); const char* newname; if (bootPartition == nullptr || strcmp("ota_0"...
27.985915
96
0.630096
ygjukim
c72191e3edc2be1cb12de94a53cd84a52c58176d
215
cpp
C++
8_bit_manipulation/5_even_odd.cpp
ShyamNandanKumar/coding-ninja2
a43a21575342261e573f71f7d8eff0572f075a17
[ "MIT" ]
11
2021-01-02T10:07:17.000Z
2022-03-16T00:18:06.000Z
8_bit_manipulation/5_even_odd.cpp
meyash/cp_master
316bf47db2a5b40891edd73cff834517993c3d2a
[ "MIT" ]
null
null
null
8_bit_manipulation/5_even_odd.cpp
meyash/cp_master
316bf47db2a5b40891edd73cff834517993c3d2a
[ "MIT" ]
5
2021-05-19T11:17:18.000Z
2021-09-16T06:23:31.000Z
// check if num is even or odd // just check last bit #include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if((n&1)==1){ cout<<"Odd"; }else{ cout<<"Even"; } }
14.333333
30
0.506977
ShyamNandanKumar
d17703ec69b9fc6ccbe5af7df0e6d0b9c75a85fa
2,918
hpp
C++
Safety/Libraries/Drivers/Inc/PPM.hpp
YashrajN/ZeroPilot-SW
3418f7050443af86bc0e7cc8e58177a95adc40eb
[ "BSD-4-Clause" ]
15
2017-09-12T14:54:16.000Z
2021-09-21T23:28:57.000Z
Safety/Libraries/Drivers/Inc/PPM.hpp
YashrajN/ZeroPilot-SW
3418f7050443af86bc0e7cc8e58177a95adc40eb
[ "BSD-4-Clause" ]
67
2017-10-31T02:04:44.000Z
2022-03-28T01:02:25.000Z
Safety/Libraries/Drivers/Inc/PPM.hpp
YashrajN/ZeroPilot-SW
3418f7050443af86bc0e7cc8e58177a95adc40eb
[ "BSD-4-Clause" ]
48
2017-09-28T23:47:17.000Z
2022-01-08T18:30:40.000Z
/** * Implements PPM driver. Support variable PPM, where the input can be * from 8-12 channels. Note that the assumption is that we're going to be * reading signals that range from 1-2ms. If you're trying to read outside of this range, * modify the prescaler in the implementation, as we may get a timer overflow or ...
29.77551
111
0.724469
YashrajN
d17fd6d9180a3debe969e442111c13bb948ef421
9,853
cpp
C++
Src/Core/DeviceBridge.cpp
chowdaryd/C3
118a35f88d0cf3ca526af5052b1140f1b7d3ff4b
[ "BSD-3-Clause" ]
null
null
null
Src/Core/DeviceBridge.cpp
chowdaryd/C3
118a35f88d0cf3ca526af5052b1140f1b7d3ff4b
[ "BSD-3-Clause" ]
1
2020-05-05T21:25:16.000Z
2020-05-05T21:25:16.000Z
Src/Core/DeviceBridge.cpp
CX-4/C3
da84536f229999fb5cba43fe7d983dcc8f80b830
[ "BSD-3-Clause" ]
null
null
null
#include "StdAfx.h" #include "DeviceBridge.h" #include "Relay.h" //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// FSecure::C3::Core::DeviceBridge::DeviceBridge(std::sh...
46.042056
222
0.383538
chowdaryd
d1830235551238a11afab51cc05d4121d8aa5921
3,168
cpp
C++
DigDuck/source/ipinfo.cpp
mickelfeng/qt_learning
1f565754c36f0c09888cf4fbffa6271298d0678b
[ "Apache-2.0" ]
1
2016-01-05T07:24:32.000Z
2016-01-05T07:24:32.000Z
DigDuck/source/ipinfo.cpp
mickelfeng/qt_learning
1f565754c36f0c09888cf4fbffa6271298d0678b
[ "Apache-2.0" ]
null
null
null
DigDuck/source/ipinfo.cpp
mickelfeng/qt_learning
1f565754c36f0c09888cf4fbffa6271298d0678b
[ "Apache-2.0" ]
null
null
null
#include "ipinfo.h" #include <QDebug> ipInfo::ipInfo() { } //返回字符串数组 QStringList ipInfo::ipAddr (const QString &ip) { QStringList address = ip.split ("."); return address; } //判断是否为IP格式 bool ipInfo::isIP (const QString &ip ) { QStringList address = ip.split ("."); int num = 0; ...
28.035398
133
0.554924
mickelfeng
d18cea7cecb037520353bed7d78354a36a16e22e
1,094
cpp
C++
src/tile/Recovery.cpp
rbtnn/tile
8b0b896b6e69128e68a4b134d7b0fbf617894fb1
[ "MIT" ]
1
2015-01-08T21:58:32.000Z
2015-01-08T21:58:32.000Z
src/tile/Recovery.cpp
rbtnn/tile
8b0b896b6e69128e68a4b134d7b0fbf617894fb1
[ "MIT" ]
null
null
null
src/tile/Recovery.cpp
rbtnn/tile
8b0b896b6e69128e68a4b134d7b0fbf617894fb1
[ "MIT" ]
null
null
null
#include <tile/common_headers.h> #include <tile/common_functions.h> #include <tile/wndproc_functions.h> #include <tile/Recovery.h> namespace Tile{ void Recovery::save(HWND const& hwnd_){ auto it = rects.find(hwnd_); if(it == std::end(rects)){ RECT rect; ::GetWindowRect(hwnd_, &rect); rects...
35.290323
100
0.662706
rbtnn
d18d8dd0c5dde502ca871623aaa726f80e9494c6
681
cpp
C++
src/game/client/hl2/c_basehlcombatweapon.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/hl2/c_basehlcombatweapon.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/hl2/c_basehlcombatweapon.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "c_basehlcombatweapon.h" #include "igamemovement.h" // memdbgon must be the last include file in a .cpp file!!!...
32.428571
104
0.687225
cstom4994
d18dad187d1681d93bb60d9045bcfcc87ecc5f3d
14,175
cpp
C++
Source/Structures/ModeMapper.cpp
vsicurella/SuperVirtualKeyboard
b59549281ea16b70f94b3136fe0b9a1f9fc355e2
[ "Unlicense" ]
22
2019-06-26T12:41:49.000Z
2022-02-11T14:48:18.000Z
Source/Structures/ModeMapper.cpp
vsicurella/SuperVirtualKeyboard
b59549281ea16b70f94b3136fe0b9a1f9fc355e2
[ "Unlicense" ]
18
2019-06-22T21:49:21.000Z
2021-05-15T01:33:57.000Z
Source/Structures/ModeMapper.cpp
vsicurella/SuperVirtualKeyboard
b59549281ea16b70f94b3136fe0b9a1f9fc355e2
[ "Unlicense" ]
null
null
null
/* ============================================================================== ModeMapper.cpp Created: 30 May 2019 8:02:42pm Author: Vincenzo ============================================================================== */ #include "ModeMapper.h" ModeMapper::ModeMapper() { mappingNode = Val...
29.106776
220
0.621869
vsicurella
d18dfda5a300940a36a693815729262068d573ec
519
cpp
C++
golang/guess_number_higher_or_lower/guess_number_higher_or_lower.cpp
Hubstation/100challenges
68189cde28cadc91bcabe2d12a68703ce913099f
[ "MIT" ]
43
2020-08-30T18:12:35.000Z
2022-03-08T05:03:05.000Z
golang/guess_number_higher_or_lower/guess_number_higher_or_lower.cpp
sangam14/challenges
d71cbb3960bc3adb43311959ca5694c1de63401c
[ "MIT" ]
15
2020-08-30T18:12:24.000Z
2020-10-08T17:02:50.000Z
golang/guess_number_higher_or_lower/guess_number_higher_or_lower.cpp
sangam14/challenges
d71cbb3960bc3adb43311959ca5694c1de63401c
[ "MIT" ]
24
2020-08-31T15:07:24.000Z
2021-02-28T09:56:46.000Z
// Forward declaration of guess API. // @param num, your guess // @return -1 if my number is lower, 1 if my number is higher, otherwise return 0 int guess(int num); class Solution { public: int guessNumber(int n) { int left = 1, right = n; int mid; while (left <= right) { mid = lef...
25.95
81
0.535645
Hubstation
d19131e69731fa7a7bc8d6efc64169f17569cc7a
445
cpp
C++
oclint-rules/lib/util/StdUtil.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
3,128
2015-01-01T06:00:31.000Z
2022-03-29T23:43:20.000Z
oclint-rules/lib/util/StdUtil.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
432
2015-01-03T15:43:08.000Z
2022-03-29T02:32:48.000Z
oclint-rules/lib/util/StdUtil.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
454
2015-01-06T03:11:12.000Z
2022-03-22T05:49:38.000Z
#include "oclint/util/StdUtil.h" #include <algorithm> bool isUnderscore(char aChar) { return aChar == '_'; } std::string removeUnderscores(std::string str) { str.erase(remove_if(str.begin(), str.end(), &::isUnderscore), str.end()); return str; } std::string capitalizeFirstLetter(std::string str) { i...
21.190476
77
0.631461
BGU-AiDnD
d19c8a04153b320011d0028c51e948cd0d6faf8c
2,575
hpp
C++
modules/core/base/include/nt2/predicates/functions/scalar/isequaln.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/base/include/nt2/predicates/functions/scalar/isequaln.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/base/include/nt2/predicates/functions/scalar/isequaln.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
32.1875
80
0.503689
psiha
d19d1daa41c2ed4687505e33e53667bf6024f8a9
416
cpp
C++
p1918_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
p1918_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
p1918_1.cpp
Alex-Amber/LuoguAlgorithmProblems
ae8abdb6110badc9faf03af1af42ea562ca1170c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; unordered_map<int, int> um; int main() { ios::sync_with_stdio(false); cin.tie(0); int N; cin >> N; for (int i = 1; i <= N; i++) { int a; cin >> a; um[a] = i; } int Q; cin >> Q; while (Q) { Q--; i...
16
50
0.40625
Alex-Amber
d1aef86ac4f6edd736f8f5c751f8ff3a63dc34e2
1,845
cpp
C++
util_file.cpp
blu/hello-chromeos-gles2
6ab863b734e053eef3b0185d17951353a49db359
[ "MIT" ]
3
2018-09-03T20:55:24.000Z
2020-10-04T04:36:30.000Z
util_file.cpp
blu/hello-chromeos-gles2
6ab863b734e053eef3b0185d17951353a49db359
[ "MIT" ]
4
2018-09-06T04:12:41.000Z
2020-10-06T14:43:14.000Z
util_file.cpp
blu/hello-chromeos-gles2
6ab863b734e053eef3b0185d17951353a49db359
[ "MIT" ]
null
null
null
#include <sys/types.h> #include <sys/stat.h> #include <assert.h> #include <stdio.h> #include <stdlib.h> #include "scoped.hpp" #include "util_file.hpp" namespace util { template < typename T > class generic_free { public: void operator()(T* arg) { free(arg); } }; template <> class scoped_functor< FILE > { publi...
19.62766
87
0.669919
blu
d1af1a5e3aced8e32979c69a0efe799f4aa4d042
31
hpp
C++
src/boost_units_pow.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_units_pow.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_units_pow.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/units/pow.hpp>
15.5
30
0.741935
miathedev
d1b9533804319bacf4c4605fe212b515b0d9d8da
824
hpp
C++
libs/fnd/cmath/include/bksge/fnd/cmath/is_negative.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/cmath/include/bksge/fnd/cmath/is_negative.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/cmath/include/bksge/fnd/cmath/is_negative.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file is_negative.hpp * * @brief is_negative 関数の定義 * * @author myoukaku */ #ifndef BKSGE_FND_CMATH_IS_NEGATIVE_HPP #define BKSGE_FND_CMATH_IS_NEGATIVE_HPP #include <bksge/fnd/cmath/detail/is_negative_impl.hpp> #include <bksge/fnd/concepts/arithmetic.hpp> #include <bksge/fnd/concepts/detail/r...
19.619048
63
0.703883
myoukaku
d1bad56dc0c7b3921031748396f21510c7980f94
5,139
hh
C++
include/seastar/util/std-compat.hh
elazarl/seastar
a79d4b337a5229b4ba4a1613a6436627ed67b03d
[ "Apache-2.0" ]
6
2020-03-23T03:22:58.000Z
2021-05-12T11:42:16.000Z
include/seastar/util/std-compat.hh
elazarl/seastar
a79d4b337a5229b4ba4a1613a6436627ed67b03d
[ "Apache-2.0" ]
null
null
null
include/seastar/util/std-compat.hh
elazarl/seastar
a79d4b337a5229b4ba4a1613a6436627ed67b03d
[ "Apache-2.0" ]
1
2021-06-17T10:14:17.000Z
2021-06-17T10:14:17.000Z
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
26.626943
101
0.70792
elazarl
d1bbc53a1160a3a001ca9b527334240a5478f9a4
2,802
cpp
C++
src/handler/list.cpp
npolar/reshp
6389f48a1bd745c2c0e9ef485bf6d163d73416a3
[ "MIT" ]
null
null
null
src/handler/list.cpp
npolar/reshp
6389f48a1bd745c2c0e9ef485bf6d163d73416a3
[ "MIT" ]
1
2015-01-13T10:15:56.000Z
2015-01-13T10:15:56.000Z
src/handler/list.cpp
npolar/reshp
6389f48a1bd745c2c0e9ef485bf6d163d73416a3
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * *\ |* ╔═╗ v0.4 *| |* ╔═╦═╦═══╦═══╣ ╚═╦═╦═╗ *| |* ║ ╔═╣ '╔╬═╗╚╣ ║ ║ '║ *| |* ╚═╝ ╚═══╩═══╩═╩═╣ ╔═╝ *| |* * * * * * * * * ╚═╝ * *| |* Manipulation tool for *| |* ESRI Shapefiles *| |* * * * * * * * * * * * *| |* http://www.npolar.no/ *| \* * * * * * * * * * * * */ #include "....
38.916667
215
0.390079
npolar
d1bfa1f4463cb16e84bb1b2a8c7f2058dbcaf576
207
cpp
C++
src/player.cpp
warlord500/space_invaders2
71d5acc30f95352b325ada61cb9b1389c9732961
[ "MIT" ]
null
null
null
src/player.cpp
warlord500/space_invaders2
71d5acc30f95352b325ada61cb9b1389c9732961
[ "MIT" ]
1
2015-05-29T04:49:09.000Z
2015-05-29T04:49:09.000Z
src/player.cpp
warlord500/space_invaders2
71d5acc30f95352b325ada61cb9b1389c9732961
[ "MIT" ]
null
null
null
#include "player.h" player::player(int lives,const sf::Texture& texture,const sf::Vector2f& pos) : sprite(texture), lives(lives) { this->sprite.setPosition(pos); } player::~player() { //dtor }
15.923077
95
0.657005
warlord500
d1c04c48d1e548478df18de8485b93004cf294d0
533
cpp
C++
recursion/pailndrome.cpp
AyushVerma-code/DSA-in-C-
4694ad771a1cff8dd81cb127887804d7c67fcb83
[ "MIT" ]
1
2021-06-01T03:20:42.000Z
2021-06-01T03:20:42.000Z
recursion/pailndrome.cpp
AyushVerma-code/DSA-in-C-
4694ad771a1cff8dd81cb127887804d7c67fcb83
[ "MIT" ]
null
null
null
recursion/pailndrome.cpp
AyushVerma-code/DSA-in-C-
4694ad771a1cff8dd81cb127887804d7c67fcb83
[ "MIT" ]
null
null
null
bool checkPalindrome(char input[]) { bool check =1; int c; for(int i=0;input[i]!='\0';i++) { c=c+1; } int arr[100]; for(int i=0;i<c;i++) { arr[i]=input[i]; } for(int i=0;i<c;i++) { ...
18.37931
39
0.281426
AyushVerma-code
d1c2db20771197a50b5e506ad1f77be20d10b5fc
697
cpp
C++
uri/beginner/sum_of_consecutive_odd_numbers_2.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
uri/beginner/sum_of_consecutive_odd_numbers_2.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
uri/beginner/sum_of_consecutive_odd_numbers_2.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <iostream> #include <utility> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); unsigned int test_cases; cin >> test_cases; for (unsigned int i {0}; i < test_cases; ++i) { ...
14.22449
50
0.460545
Rkhoiwal
d1c5ac82de2e5da13eeca1b4598d12470b6f2ed3
3,636
cpp
C++
TA.NexDome.Rotator/HomeSensor.cpp
morzineIT/DomeProjectESP8266
c18ff2ee27ad3b38ce1bcc271369438f830eafd7
[ "MIT" ]
3
2019-08-27T02:11:00.000Z
2021-01-16T16:31:52.000Z
TA.NexDome.Rotator/HomeSensor.cpp
thegrapesofwrath/Firmware
162cc2cdf081e26d0d6f3235b953f99edf01a982
[ "MIT" ]
41
2019-08-28T21:32:18.000Z
2022-03-02T13:42:19.000Z
TA.NexDome.Rotator/HomeSensor.cpp
thegrapesofwrath/Firmware
162cc2cdf081e26d0d6f3235b953f99edf01a982
[ "MIT" ]
4
2020-03-18T16:06:17.000Z
2021-06-15T04:29:42.000Z
/* * Provides interrupt processing for the home sensor. * * The home sensor synchronizes the dome rotation step position when it is triggered. * When rotating in the positive direction, we synchronise to the falling edge. * When rotating in the negative direction, we synchronise to the rising edge. * When not rot...
26.347826
121
0.738999
morzineIT
d1c8c85928668b948689ab36bb95a7bca28b20b4
3,425
cpp
C++
src/main.cpp
Rocik/btree-file-index
04cb787c903a18e606b2f03f0cce345d879086f5
[ "MIT" ]
null
null
null
src/main.cpp
Rocik/btree-file-index
04cb787c903a18e606b2f03f0cce345d879086f5
[ "MIT" ]
null
null
null
src/main.cpp
Rocik/btree-file-index
04cb787c903a18e606b2f03f0cce345d879086f5
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include "btree.h" using namespace std; static bool running = true; static void printDiskStats() { int reads = DiskFile::getStatReads(); int writes = DiskFile::getStatWrites(); char const* plurarReads = reads == 1 ? "" : "s"; char const* plurarWrites = writes == 1 ? "" :...
19.241573
78
0.585109
Rocik
d1c9774c9ec0af6b432f98e28d681408c664d91e
1,430
hpp
C++
src/converter_omerc.hpp
barendgehrels/tissot
b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f
[ "BSL-1.0" ]
1
2015-05-17T11:15:43.000Z
2015-05-17T11:15:43.000Z
src/converter_omerc.hpp
barendgehrels/tissot
b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f
[ "BSL-1.0" ]
null
null
null
src/converter_omerc.hpp
barendgehrels/tissot
b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f
[ "BSL-1.0" ]
null
null
null
#ifndef TISSOT_CONVERTER_OMERC_HPP #define TISSOT_CONVERTER_OMERC_HPP // Tissot, converts projecton source code (Proj4) to Boost.Geometry // (or potentially other source code) // // Copyright (c) 2015 Barend Gehrels, Amsterdam, the Netherlands. // // Use, modification and distribution is subject to the Boost Software ...
26.981132
79
0.65035
barendgehrels
d1cd2c3833c6c157b12421690df1a2082416f76a
2,779
cpp
C++
clever_algorithms/demos/compact_genetic_algorithm.cpp
GreatV/CleverAlgorithms
4cda9e3469a6076128dfbbb62c6f82d3a1f12746
[ "MIT" ]
2
2021-11-08T00:26:09.000Z
2021-12-21T08:16:43.000Z
clever_algorithms/demos/compact_genetic_algorithm.cpp
GreatV/CleverAlgorithms
4cda9e3469a6076128dfbbb62c6f82d3a1f12746
[ "MIT" ]
null
null
null
clever_algorithms/demos/compact_genetic_algorithm.cpp
GreatV/CleverAlgorithms
4cda9e3469a6076128dfbbb62c6f82d3a1f12746
[ "MIT" ]
null
null
null
#include <iostream> #include <random> #include <vector> #include <string> #include <algorithm> #include <cfloat> std::random_device rd; std::mt19937 generator(rd()); std::uniform_real_distribution<> distribution(0.0, 1.0); auto random_ = []() { return distribution(generator); }; using candidate_solution = struct ca...
19.992806
89
0.627204
GreatV
d1cedcdd1430101a4631874c7807cefb6dae37d4
14,948
cpp
C++
main/pod_archiver.cpp
an-erd/blePOD
2f56763487b485b61d87e600e8b095702851b078
[ "MIT" ]
null
null
null
main/pod_archiver.cpp
an-erd/blePOD
2f56763487b485b61d87e600e8b095702851b078
[ "MIT" ]
2
2019-04-04T11:51:37.000Z
2019-04-04T11:52:20.000Z
main/pod_archiver.cpp
an-erd/blePOD
2f56763487b485b61d87e600e8b095702851b078
[ "MIT" ]
1
2020-04-02T13:43:27.000Z
2020-04-02T13:43:27.000Z
#include <string.h> #include "esp_vfs_fat.h" #include "driver/sdmmc_host.h" #include "driver/sdspi_host.h" #include "sdmmc_cmd.h" #include "pod_main.h" static const char* TAG = "POD_ARCHIVER"; // data buffers to keep in RAM // => CONFIG_SDCARD_NUM_BUFFERS=4 and CONFIG_SDCARD_BUFFER_SIZE=65536 static buffer_element_...
38.230179
151
0.640888
an-erd
d1cf8b2fa29cd7c71130d8327c1348a397e69437
3,063
cpp
C++
server/homeserver/network/json/JsonApi.Scripting.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
1
2021-07-05T21:11:59.000Z
2021-07-05T21:11:59.000Z
server/homeserver/network/json/JsonApi.Scripting.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
server/homeserver/network/json/JsonApi.Scripting.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
#include "JsonApi.hpp" #include "../../scripting/ScriptManager.hpp" #include "../../scripting/Script.hpp" namespace server { // Scripting void JsonApi::BuildJsonScriptSources(rapidjson::Value& output, rapidjson::Document::AllocatorType& allocator) { assert(output.IsObject()); Ref<ScriptManager> scriptManager =...
36.035294
139
0.738818
williamkoehler
d1dc4cac45a41455171ed2735fe0ccb3d0328347
198
hpp
C++
lib/src/include/deskgap/shell.hpp
perjonsson/DeskGap
5e74de37c057de3bac3ac16b3fabdb79b934d21e
[ "MIT" ]
1,910
2019-02-08T05:41:48.000Z
2022-03-24T23:41:33.000Z
lib/src/include/deskgap/shell.hpp
perjonsson/DeskGap
5e74de37c057de3bac3ac16b3fabdb79b934d21e
[ "MIT" ]
73
2019-02-13T02:58:20.000Z
2022-03-02T05:49:34.000Z
lib/src/include/deskgap/shell.hpp
ci010/DeskGap
b3346fea3dd3af7df9a0420131da7f4ac1518092
[ "MIT" ]
88
2019-02-13T12:41:00.000Z
2022-03-25T05:04:31.000Z
#ifndef DESKGAP_SHELL_HPP #define DESKGAP_SHELL_HPP #include <string> namespace DeskGap { class Shell { public: static bool OpenExternal(const std::string& path); }; } #endif
14.142857
58
0.686869
perjonsson
d1e19fa80bce25417580c52feb9e6f87d52b607d
550
hpp
C++
src/Test.hpp
Vasile2k/ImageSubjectFocus
0eed32df07b74eb89a1e1130975aa4ddec2adf32
[ "Apache-2.0" ]
3
2020-01-02T23:35:01.000Z
2021-01-25T11:02:06.000Z
src/Test.hpp
Vasile2k/ImageSubjectFocus
0eed32df07b74eb89a1e1130975aa4ddec2adf32
[ "Apache-2.0" ]
null
null
null
src/Test.hpp
Vasile2k/ImageSubjectFocus
0eed32df07b74eb89a1e1130975aa4ddec2adf32
[ "Apache-2.0" ]
null
null
null
#pragma once #include "ImageColor.hpp" namespace isf { /** * In order to perform the tests include this file somewhere in the project * This never gets executed but is evaluated at compile time * If everything is good it will do nothing * Else it will throw a compile-time error */ class Test { private: Test() ...
23.913043
104
0.72
Vasile2k
d1e2fa5a6f899afe2a0fdfe5d080d379d34a43a8
375
cpp
C++
src/io/github/technicalnotes/programming/examples/3-even.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/examples/3-even.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/examples/3-even.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <numeric> using namespace std; int main() { vector<int> myVec(10); // initialize the vector with 1 to 10 sequence iota(begin(myVec), end(myVec), 1); for (auto i : myVec) { if (i % 2 == 0) { cout << i << " ";...
17.857143
51
0.477333
chiragbhatia94
d1e58215c9eb14c35c07f401f88efa685b16fd25
1,039
hpp
C++
src/Filesystem/File.hpp
tomas-krupa/ansi_iso_accuracy_test
a87600c1ff8997cd689539432e5badaa1bf8a776
[ "Apache-2.0" ]
null
null
null
src/Filesystem/File.hpp
tomas-krupa/ansi_iso_accuracy_test
a87600c1ff8997cd689539432e5badaa1bf8a776
[ "Apache-2.0" ]
null
null
null
src/Filesystem/File.hpp
tomas-krupa/ansi_iso_accuracy_test
a87600c1ff8997cd689539432e5badaa1bf8a776
[ "Apache-2.0" ]
null
null
null
/** * @file File.hpp * * @copyright Copyright (c) 2020 Innovatrics s.r.o. All rights reserved. * * @maintainer Tomas Krupa <tomas.krupa@innovatrics.com> * @created 10.08.2020 * */ #pragma once #include <fstream> #include <utility> #include <vector> class Path; /** * @brief File * * Defines basic file ope...
19.980769
84
0.655438
tomas-krupa
d1e9946bba956b1a55af9c44e4b10e9978e5179a
1,045
cpp
C++
models/memory/CaffDRAM/Dreq.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
8
2016-01-22T18:28:48.000Z
2021-05-07T02:27:21.000Z
models/memory/CaffDRAM/Dreq.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
3
2016-04-15T02:58:58.000Z
2017-01-19T17:07:34.000Z
models/memory/CaffDRAM/Dreq.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
10
2015-12-11T04:16:55.000Z
2019-05-25T20:58:13.000Z
/* * Dreq.cpp * * Created on: Jun 14, 2011 * Author: rishirajbheda */ #include "Dreq.h" #include "math.h" namespace manifold { namespace caffdram { Dreq::Dreq(unsigned long int reqAddr, unsigned long int currentTime, const Dsettings* dramSetting) { // TODO Auto-generated constructor stub this->generat...
22.234043
100
0.711005
Basseuph
d1f3be2f98486c2cc6ab4f353a2938953e2c009b
6,293
cpp
C++
tests/network/ipv6_address_tests.cpp
miraiworks/url
515c6d3f27cabe9fdb6718da82927c3f019d899c
[ "BSL-1.0" ]
null
null
null
tests/network/ipv6_address_tests.cpp
miraiworks/url
515c6d3f27cabe9fdb6718da82927c3f019d899c
[ "BSL-1.0" ]
null
null
null
tests/network/ipv6_address_tests.cpp
miraiworks/url
515c6d3f27cabe9fdb6718da82927c3f019d899c
[ "BSL-1.0" ]
null
null
null
// Copyright 2018-20 Glyn Matthews. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt of copy at // http://www.boost.org/LICENSE_1_0.txt) #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <skyr/network/ipv6_address.hpp> TEST_CASE("ipv6_address_tests",...
35.156425
82
0.679485
miraiworks
d1fbe1ce96c03f1bf73fcda3db546b6e4f91947a
889
cpp
C++
leetcode.com/0650 2 Keys Keyboard/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0650 2 Keys Keyboard/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0650 2 Keys Keyboard/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; // key is know how to prune // no, 1000*1000 dp, no need to prune? class Solution { private: int dfs(int n, int cur_n, int clip_len, vector<vector<int>>& dp) { if (n == cur_n) return 0; if (~dp[clip_len][cur_n]) return dp[clip_len][cur_n]; int ...
24.694444
68
0.526434
sky-bro
d1fd6d3f89f18b58f12ed9b004c44644edaee289
12,127
hpp
C++
SDK/PUBG_WeaponAttachmentSlotWidget_parameters.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_WeaponAttachmentSlotWidget_parameters.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_WeaponAttachmentSlotWidget_parameters.hpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
#pragma once // PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_WeaponAttachmentSlotWidget_classes.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //---------------------...
52.497835
173
0.590336
realrespecter
06005216a53a429e6deabb7ea0a7de2f3c21ec9d
12,374
cpp
C++
src/sound/k054539.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
33
2015-08-10T11:13:47.000Z
2021-08-30T10:00:46.000Z
src/sound/k054539.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
13
2015-08-25T03:53:08.000Z
2022-03-30T18:02:35.000Z
src/sound/k054539.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
40
2015-08-25T05:09:21.000Z
2022-02-08T05:02:30.000Z
/********************************************************* Konami 054539 PCM Sound Chip A lot of information comes from Amuse. Big thanks to them. *********************************************************/ #include "driver.h" #include "k054539.h" #include <math.h> /* Registers: 00..ff: 20 bytes/channel, 8 ch...
25.725572
111
0.61702
gameblabla
0603be8069b9d685151cfed0143520a6a8e5c200
16,343
cpp
C++
Documents/RacimoAire/Libreria/ADS1115/ads1115.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/Libreria/ADS1115/ads1115.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
Documents/RacimoAire/Libreria/ADS1115/ads1115.cpp
JoseSalamancaCoy/RACIMO_AIRE
628d6ff184a30af0efd25bff675b0006500d4ba2
[ "MIT" ]
null
null
null
/**************************************************************************/ /* Distributed with a free-will license. Use it any way you want, profit or free, provided it fits in the licenses of its associated works. ADS1115 This code is designed to work with the ADS1115_I2CADC I2C Mini Module available from Contro...
29.76867
111
0.478248
JoseSalamancaCoy
060bf33a5baa649811745c1a7cd1363a608a57e5
1,744
hpp
C++
src/gui/MissionView/MissionView.hpp
tomcreutz/planning-templ
55e35ede362444df9a7def6046f6df06851fe318
[ "BSD-3-Clause" ]
1
2022-03-31T12:15:15.000Z
2022-03-31T12:15:15.000Z
src/gui/MissionView/MissionView.hpp
tomcreutz/planning-templ
55e35ede362444df9a7def6046f6df06851fe318
[ "BSD-3-Clause" ]
null
null
null
src/gui/MissionView/MissionView.hpp
tomcreutz/planning-templ
55e35ede362444df9a7def6046f6df06851fe318
[ "BSD-3-Clause" ]
1
2021-12-29T10:38:07.000Z
2021-12-29T10:38:07.000Z
#ifndef TEMPL_GUI_MISSION_VIEW_HPP #define TEMPL_GUI_MISSION_VIEW_HPP #include <QTreeWidget> #include <QWidget> #include <QProcess> #include <QGraphicsView> #include <QGraphicsScene> #include <QGraphicsGridLayout> #include <QTreeView> #include <QStandardItem> #include <QDomNode> #include <graph_analysis/Graph.hpp> #i...
23.567568
94
0.71961
tomcreutz