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
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
562b25a64afde4a9b394ceca85f455b4793da1de
24,899
cpp
C++
pmdb_python_interface.cpp
mariusei/pmdb
eeb56311765dee83bf49c99d5921e83f3f177ab8
[ "BSD-3-Clause" ]
null
null
null
pmdb_python_interface.cpp
mariusei/pmdb
eeb56311765dee83bf49c99d5921e83f3f177ab8
[ "BSD-3-Clause" ]
null
null
null
pmdb_python_interface.cpp
mariusei/pmdb
eeb56311765dee83bf49c99d5921e83f3f177ab8
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2015-2017, Intel Corporation * Copyright 2018, Marius Berge Eide * * 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 * ...
27.271632
145
0.59412
562dd6271c974c01c0876e325eb533931807e451
159
cpp
C++
CPP_Projects/Studying/ConsoleApplication1/ConsoleApplication1/pr1.cpp
GUNU-GO/SNUPI
a73137699d9fc6ae8fa3d1522f341c04d8d43052
[ "MIT" ]
null
null
null
CPP_Projects/Studying/ConsoleApplication1/ConsoleApplication1/pr1.cpp
GUNU-GO/SNUPI
a73137699d9fc6ae8fa3d1522f341c04d8d43052
[ "MIT" ]
null
null
null
CPP_Projects/Studying/ConsoleApplication1/ConsoleApplication1/pr1.cpp
GUNU-GO/SNUPI
a73137699d9fc6ae8fa3d1522f341c04d8d43052
[ "MIT" ]
null
null
null
#include <stdio.h> int main() { int num; scanf_s("%d", &num); for(int i = 1; i <= num; i++) { if (num % i == 0) { printf("%d, ",i); } } }W
9.9375
32
0.415094
562f2b292e7b632be0821c80de2481a80dc30153
3,701
hpp
C++
include/haz/Tools/EnumFlag.hpp
Hazurl/Framework-haz
370348801cd969ce8521264653069923a255e0b0
[ "MIT" ]
null
null
null
include/haz/Tools/EnumFlag.hpp
Hazurl/Framework-haz
370348801cd969ce8521264653069923a255e0b0
[ "MIT" ]
null
null
null
include/haz/Tools/EnumFlag.hpp
Hazurl/Framework-haz
370348801cd969ce8521264653069923a255e0b0
[ "MIT" ]
null
null
null
#ifndef __HAZ_ENUM_FLAG #define __HAZ_ENUM_FLAG #include <haz/Tools/Macro.hpp> #include <type_traits> #define ENUM_FLAG(name, bloc_enum...)\ BEG_NAMESPACE_HAZ_HIDDEN namespace enumFlagNamespace { \ enum class UNIQUE_NAME(name) \ bloc_enum; \ } END_NAMESPACE_HAZ_HIDDEN \ typedef haz::__hide::en...
31.905172
102
0.663334
5631846960b9848c74957911364c8b9b629890bf
13,072
cc
C++
google/cloud/apigateway/api_gateway_client.cc
jmouradi-google/google-cloud-cpp
7bd738251a80e9520d7a7de4cc14558f161c8edc
[ "Apache-2.0" ]
null
null
null
google/cloud/apigateway/api_gateway_client.cc
jmouradi-google/google-cloud-cpp
7bd738251a80e9520d7a7de4cc14558f161c8edc
[ "Apache-2.0" ]
null
null
null
google/cloud/apigateway/api_gateway_client.cc
jmouradi-google/google-cloud-cpp
7bd738251a80e9520d7a7de4cc14558f161c8edc
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
38.789318
79
0.746558
56323b24a47b69b41fa0fd4d8431e279aaebc438
6,614
hpp
C++
OcularCore/include/Math/Bounds/BoundsOBB.hpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
8
2017-01-27T01:06:06.000Z
2020-11-05T20:23:19.000Z
OcularCore/include/Math/Bounds/BoundsOBB.hpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
39
2016-06-03T02:00:36.000Z
2017-03-19T17:47:39.000Z
OcularCore/include/Math/Bounds/BoundsOBB.hpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
4
2019-05-22T09:13:36.000Z
2020-12-01T03:17:45.000Z
/** * Copyright 2014-2017 Steven T Sell (ssell@vertexfragment.com) * * 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 requir...
33.40404
137
0.508164
563304c25502d7cd748cd4959b1f93f90fe0b31d
2,867
cpp
C++
src/common/file-lock.cpp
Samsung/security-manager
10b062f317d5d5a7b88ed13242540e9034fd019f
[ "Apache-2.0" ]
14
2015-09-17T19:30:34.000Z
2021-11-11T14:10:43.000Z
src/common/file-lock.cpp
Samsung/security-manager
10b062f317d5d5a7b88ed13242540e9034fd019f
[ "Apache-2.0" ]
5
2015-09-17T13:33:39.000Z
2015-11-12T21:37:09.000Z
src/common/file-lock.cpp
Samsung/security-manager
10b062f317d5d5a7b88ed13242540e9034fd019f
[ "Apache-2.0" ]
14
2015-06-08T07:40:24.000Z
2020-01-20T18:58:13.000Z
/* * Copyright (c) 2000 - 2017 Samsung Electronics Co., Ltd All Rights Reserved * * Contact: Rafal Krypa <r.krypa@samsung.com> * * 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 * ...
26.063636
78
0.611789
5635d1b5960254c4c718c1bc639529e28924c81b
4,878
cpp
C++
system/apps/test45_simcom/main.cpp
tomwei7/LA104
fdf04061f37693d37e2812ed6074348e65d7e5f9
[ "MIT" ]
336
2018-11-23T23:54:15.000Z
2022-03-21T03:47:05.000Z
system/apps/test45_simcom/main.cpp
203Null/LA104
b8ae9413d01ea24eafb9fdb420c97511287cbd99
[ "MIT" ]
56
2019-02-01T05:01:07.000Z
2022-03-26T16:00:24.000Z
system/apps/test45_simcom/main.cpp
203Null/LA104
b8ae9413d01ea24eafb9fdb420c97511287cbd99
[ "MIT" ]
52
2019-02-06T17:05:04.000Z
2022-03-04T12:30:53.000Z
#include <library.h> #include "../../os_host/source/framework/Console.h" using namespace BIOS; #include "simcom.h" // https://dweet.io/follow/la104simcom900 // https://dweet.io/dweet/for/la104simcom900?counter=10123 // https://dweet.io/get/latest/dweet/for/la104simcom900 int gReset = 0; class CMyHttpReceiver : pub...
23.118483
102
0.555351
563b8cea31f72e9688e73cb8ae99652284e35afc
8,870
hpp
C++
roller_eye/test/bist/BistNode.hpp
lorenzo-bianchi/Scout-open-source
ca20d3112388f47a36a245de5de1a35673afd260
[ "MIT" ]
35
2022-03-12T01:36:17.000Z
2022-03-28T14:56:13.000Z
roller_eye/test/bist/BistNode.hpp
lorenzo-bianchi/Scout-open-source
ca20d3112388f47a36a245de5de1a35673afd260
[ "MIT" ]
null
null
null
roller_eye/test/bist/BistNode.hpp
lorenzo-bianchi/Scout-open-source
ca20d3112388f47a36a245de5de1a35673afd260
[ "MIT" ]
9
2022-03-12T01:39:43.000Z
2022-03-31T20:54:19.000Z
#include <iostream> #include <cstdlib> #include <thread> // std::thread #include <mutex> // std::mutex, std::unique_lock #include <condition_variable> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #i...
29.177632
123
0.700225
563bce5a28baa6518a4d23f7c19f34b17e37eea5
1,843
cpp
C++
src/arduino_signalbox.cpp
dniklaus/arduino-signalbox
8c4a2be46b69cb1d74278f8c76690a531fec4776
[ "MIT" ]
null
null
null
src/arduino_signalbox.cpp
dniklaus/arduino-signalbox
8c4a2be46b69cb1d74278f8c76690a531fec4776
[ "MIT" ]
null
null
null
src/arduino_signalbox.cpp
dniklaus/arduino-signalbox
8c4a2be46b69cb1d74278f8c76690a531fec4776
[ "MIT" ]
null
null
null
// Do not remove the include below #include "arduino_signalbox.h" #include "Timer.h" // https://github.com/dniklaus/arduino-utils-timer #include "ToggleButton.h" // https://github.com/dniklaus/arduino-toggle-button #include "Blanking.h" // https://github.com/dniklaus/arduino-utils-blanking #include "P...
27.507463
92
0.705372
563fb5522362017893114feea9c10dd8d3558c7b
999
hpp
C++
src/image.hpp
robotjandal/image_processor
02eb861082212249e958acf0dbd2ac0144cac458
[ "BSD-3-Clause" ]
null
null
null
src/image.hpp
robotjandal/image_processor
02eb861082212249e958acf0dbd2ac0144cac458
[ "BSD-3-Clause" ]
null
null
null
src/image.hpp
robotjandal/image_processor
02eb861082212249e958acf0dbd2ac0144cac458
[ "BSD-3-Clause" ]
null
null
null
#ifndef CMAKE_IMAGE_H #define CMAKE_IMAGE_H #include <string> #include <opencv4/opencv2/opencv.hpp> #include <boost/filesystem.hpp> namespace ImageProcessor { struct Image { Image(){}; Image(cv::Mat const image, std::string const filename, std::string const output_folder) : image_{image}, filename_...
30.272727
79
0.707708
5641c03f6019abd5d472656ac044d16f49b21347
252
cpp
C++
tests/main.cpp
mincardona/cppscratch
159e3757bc373245defc77c34930c0d7b1d925de
[ "MIT" ]
null
null
null
tests/main.cpp
mincardona/cppscratch
159e3757bc373245defc77c34930c0d7b1d925de
[ "MIT" ]
null
null
null
tests/main.cpp
mincardona/cppscratch
159e3757bc373245defc77c34930c0d7b1d925de
[ "MIT" ]
null
null
null
#include <iostream> #include <mji/algorithm.hpp> #include <mji/math.hpp> #include <mji/memory.hpp> #include <mji/xplat.hpp> int main(int argc, char** argv) { (void)argc; (void)argv; std::cout << "tests passed!" << '\n'; return 0; }
15.75
41
0.615079
5641da34fc830fd337d475424076c9acdb665662
708
cpp
C++
main.cpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
15
2020-07-20T12:32:38.000Z
2022-03-24T19:24:02.000Z
main.cpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
null
null
null
main.cpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
5
2020-07-20T12:42:58.000Z
2021-01-16T10:13:39.000Z
#include <future> #include <iostream> #include "api.hpp" int main(int argc, char* argv[]) { auto stack = std::async(std::launch::async, mstack::init_stack, argc, argv); int fd = mstack::socket(0x06, mstack::ipv4_addr_t("192.168.1.1"), 30000); mstack::listen(fd); char buf[2000]; ...
33.714286
85
0.461864
564274f3fdb5851743ed4756bdc8bf7224735d77
63
cpp
C++
src/Utility_Test.cpp
AlbertoLeonardi/Open_SXD_Absorption
3d0353676dada2e6826de583355c5e35a93fa791
[ "BSD-3-Clause" ]
null
null
null
src/Utility_Test.cpp
AlbertoLeonardi/Open_SXD_Absorption
3d0353676dada2e6826de583355c5e35a93fa791
[ "BSD-3-Clause" ]
null
null
null
src/Utility_Test.cpp
AlbertoLeonardi/Open_SXD_Absorption
3d0353676dada2e6826de583355c5e35a93fa791
[ "BSD-3-Clause" ]
null
null
null
// Utility Functions :: Test // #include "Utility_Test.h"
12.6
29
0.634921
5643c15740cf50743bd304baf9cba340d7f98edd
3,656
cpp
C++
beerocks/bwl/dummy/base_wlan_hal_dummy.cpp
prplfoundation/prplMesh-common
96574a27695d2b6d3d610e680d8faaa52f0635d7
[ "BSD-2-Clause-Patent" ]
1
2019-05-01T14:45:31.000Z
2019-05-01T14:45:31.000Z
beerocks/bwl/dummy/base_wlan_hal_dummy.cpp
prplfoundation/prplMesh-common
96574a27695d2b6d3d610e680d8faaa52f0635d7
[ "BSD-2-Clause-Patent" ]
2
2019-05-22T15:32:59.000Z
2019-05-27T14:15:55.000Z
beerocks/bwl/dummy/base_wlan_hal_dummy.cpp
prplfoundation/prplMesh-common
96574a27695d2b6d3d610e680d8faaa52f0635d7
[ "BSD-2-Clause-Patent" ]
1
2019-05-13T09:51:20.000Z
2019-05-13T09:51:20.000Z
/* SPDX-License-Identifier: BSD-2-Clause-Patent * * Copyright (c) 2016-2019 Intel Corporation * * This code is subject to the terms of the BSD+Patent license. * See LICENSE file for more details. */ #include "base_wlan_hal_dummy.h" #include <beerocks/bcl/beerocks_string_utils.h> #include <beerocks/bcl/beerocks_...
30.466667
99
0.596827
56462c507604830c90548b7dd8baeb644686fd66
6,490
cpp
C++
Core/STL/OS/Posix/PosixSyncPrimitives.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Core/STL/OS/Posix/PosixSyncPrimitives.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Core/STL/OS/Posix/PosixSyncPrimitives.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Core/STL/Common/Platforms.h" #if defined( PLATFORM_BASE_POSIX ) and defined( GX_USE_NATIVE_API ) #include "Core/STL/OS/Posix/SyncPrimitives.h" namespace GX_STL { namespace OS { /* ================================================= c...
20.868167
79
0.362096
5646b3b326d2c2b9566bf4b7824be6668dd58e77
1,078
cpp
C++
examples/tutorial/hello_job_world.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
examples/tutorial/hello_job_world.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
examples/tutorial/hello_job_world.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2011 Ole Weidner, Louisiana State University // // This is part of the code examples on the SAGA website: // http://saga-project.org/documentation/tutorials/job-api #include <saga/saga.hpp> int main(int argc, char* argv[]) { try { // create an "echo 'hello, world' job" saga::job::des...
24.5
62
0.611317
56498b71024b3b090fb1cdb71ccf3e66e649ba7a
19,728
cpp
C++
src/mongo/db/query/cursor_response_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/cursor_response_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/cursor_response_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
46.748815
100
0.589822
5649ef306425c4e66478968eedf4b5296864a7e2
8,692
cpp
C++
src/lock_free_set.cpp
cconklin/nonblocking-tables
82acacbb16342ad36156931b9969674d85114d21
[ "MIT" ]
null
null
null
src/lock_free_set.cpp
cconklin/nonblocking-tables
82acacbb16342ad36156931b9969674d85114d21
[ "MIT" ]
null
null
null
src/lock_free_set.cpp
cconklin/nonblocking-tables
82acacbb16342ad36156931b9969674d85114d21
[ "MIT" ]
null
null
null
#include <lock_free_set.hpp> namespace nonblocking { template<> versioned<lock_free_set::bucket_state>::versioned(unsigned int version, lock_free_set::bucket_state value) : _version{version} { switch (value) { case lock_free_set::bucket_state::empty: _value = 0; break; c...
41.788462
200
0.554648
5649f39794bcb8d696576f12970d330136ab6d9e
955
cpp
C++
src/CaseCreator/UIComponents/CharacterTab/CharacterDialogSpritesPage.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
41
2015-01-24T17:33:16.000Z
2022-01-08T19:36:40.000Z
src/CaseCreator/UIComponents/CharacterTab/CharacterDialogSpritesPage.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
15
2015-01-05T21:00:41.000Z
2016-10-18T14:37:03.000Z
src/CaseCreator/UIComponents/CharacterTab/CharacterDialogSpritesPage.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
6
2016-01-14T21:07:22.000Z
2020-11-28T09:51:15.000Z
#include "CharacterDialogSpritesPage.h" #include <QVBoxLayout> CharacterDialogSpritesPage::CharacterDialogSpritesPage(QWidget *parent) : Page<Character>(parent) { isActive = false; QVBoxLayout *pMainLayout = new QVBoxLayout(); pEmotionManipulator = new ListManipulator<Character::DialogEmotion>(); ...
20.319149
74
0.71623
871cfb6e6280a3cc476906643eb4d3e0a1ce5d5a
36,782
cxx
C++
libbuild2/cc/module.cxx
build2/build2
af662849b756ef2ff0f3d5148a6771acab78fd80
[ "MIT" ]
422
2018-05-30T12:00:00.000Z
2022-03-29T07:29:56.000Z
libbuild2/cc/module.cxx
build2/build2
af662849b756ef2ff0f3d5148a6771acab78fd80
[ "MIT" ]
183
2018-07-02T20:38:30.000Z
2022-03-31T09:54:35.000Z
libbuild2/cc/module.cxx
build2/build2
af662849b756ef2ff0f3d5148a6771acab78fd80
[ "MIT" ]
14
2019-01-09T12:34:02.000Z
2021-03-16T09:10:53.000Z
// file : libbuild2/cc/module.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #include <libbuild2/cc/module.hxx> #include <iomanip> // left, setw() #include <libbuild2/scope.hxx> #include <libbuild2/function.hxx> #include <libbuild2/diagnostics.hxx> #include <libbuild2/bin/target.hxx> #inclu...
32.958781
81
0.520635
8721d1a22273035cf5721033a04becee7caa421b
1,068
cc
C++
libs/crypto/legacy-test-pkcs5.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/crypto/legacy-test-pkcs5.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/crypto/legacy-test-pkcs5.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
//========================================================================== // ObTools::Crypto: test-pkcs5.cc // // Test harness for Crypto library PKCS5 padding functions // // Copyright (c) 2006 Paul Clark. All rights reserved // This code comes with NO WARRANTY and is subject to licence agreement //===============...
24.837209
77
0.481273
87232c2882af6dadaade39d821c6436e24b74a84
577
cpp
C++
cap03/cap03-01-01-test_search_value.cpp
ggaaaff/think_like_a_programmer--test_code
fb081d24d70db6dd503608562625b84607c7a3ab
[ "MIT" ]
1
2020-12-08T10:54:39.000Z
2020-12-08T10:54:39.000Z
cap03/cap03-01-01-test_search_value.cpp
ggaaaff/think_like_a_programmer--test_code
fb081d24d70db6dd503608562625b84607c7a3ab
[ "MIT" ]
null
null
null
cap03/cap03-01-01-test_search_value.cpp
ggaaaff/think_like_a_programmer--test_code
fb081d24d70db6dd503608562625b84607c7a3ab
[ "MIT" ]
null
null
null
//2014.02.09 Gustaf - CTG. #include <iostream> #include <string> using namespace std; int main() { cout << "TEST Searching for a Specific Value \n"; const int ARRAY_SIZE = 10; int intArray[ARRAY_SIZE] = {4, 5, 9, 12, -4, 0, -57, 30987, -287, 1}; int targetValue = 12; int targetPos = 0; while ((intArr...
17.484848
74
0.613518
872b2005306393fab82c78a2703a3027748461a7
2,358
cpp
C++
tutorial/test_async_stop_token.cpp
tearshark/librf
4299e2ff264aac9bcd9e4788e528de80044252c8
[ "Apache-2.0" ]
434
2017-09-24T06:41:06.000Z
2022-03-29T10:24:14.000Z
tutorial/test_async_stop_token.cpp
tearshark/librf
4299e2ff264aac9bcd9e4788e528de80044252c8
[ "Apache-2.0" ]
7
2017-12-06T13:08:33.000Z
2021-12-01T07:46:12.000Z
tutorial/test_async_stop_token.cpp
tearshark/librf
4299e2ff264aac9bcd9e4788e528de80044252c8
[ "Apache-2.0" ]
95
2017-09-24T06:14:04.000Z
2022-03-22T06:23:14.000Z
#include <chrono> #include <iostream> #include <string> #include <thread> #include "librf.h" using namespace resumef; using namespace std::chrono; //_Ctype签名:void(bool, int64_t) template<class _Ctype, typename=std::enable_if_t<std::is_invocable_v<_Ctype, bool, int64_t>>> static void callback_get_long_with_stop(stop...
22.673077
93
0.719254
872bcde54549bdee3ba77e4d5909035efc2bb063
34,879
cpp
C++
PVPersonal.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
PVPersonal.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
PVPersonal.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
/* PSYCHO GAMES(C) STUDIOS - 2007 www.psychogames.net * Project: Vulture(c) * Author : Andrea Nardinocchi * eMail : andrea@nardinan.it * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ...
50.918248
229
0.579718
872d353085923567ca1f97e3c39511c08b594fde
5,076
cpp
C++
csapex_sample_consensus/src/nodes/ransac.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
2
2016-09-02T15:33:22.000Z
2019-05-06T22:09:33.000Z
csapex_sample_consensus/src/nodes/ransac.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
1
2021-02-14T19:53:30.000Z
2021-02-14T19:53:30.000Z
csapex_sample_consensus/src/nodes/ransac.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
6
2016-10-12T00:55:23.000Z
2021-02-10T17:49:25.000Z
/// PROJECT #include "sample_consensus.hpp" namespace csapex { using namespace connection_types; class Ransac : public SampleConsensus { public: Ransac() = default; void setupParameters(Parameterizable& parameters) override { SampleConsensus::setupParameters(parameters); parameters.addPa...
40.608
182
0.635737
873048c42c07552f2c28839f97f603836ea52a78
1,362
cc
C++
chromecast/android/cast_jni_registrar.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromecast/android/cast_jni_registrar.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromecast/android/cast_jni_registrar.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 "chromecast/android/cast_jni_registrar.h" #include "base/android/jni_android.h" #include "base/android/jni_registrar.h" #include "base/macros.h"...
31.674419
84
0.792217
8730b3d7ae083b97f36ae568df4cb7d400b15331
6,147
cpp
C++
src/sylvaneth/DrychaHamadreth.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/sylvaneth/DrychaHamadreth.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/sylvaneth/DrychaHamadreth.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <algorithm> #include <sylvaneth/DrychaHamadreth.h> #include <UnitFactory.h> #include <spells/MysticSh...
38.660377
147
0.626647
873294da4f704846cd5adfaf011522e881ea2829
4,418
cpp
C++
pymaplib_cpp/src/pixelbuf.cpp
Grk0/MapsEvolved
e058a324e7d3c9b4c9b7e00d65b6f9da029fc7de
[ "PSF-2.0" ]
3
2015-06-09T10:41:15.000Z
2021-05-22T07:42:19.000Z
pymaplib_cpp/src/pixelbuf.cpp
Grk0/MapsEvolved
e058a324e7d3c9b4c9b7e00d65b6f9da029fc7de
[ "PSF-2.0" ]
null
null
null
pymaplib_cpp/src/pixelbuf.cpp
Grk0/MapsEvolved
e058a324e7d3c9b4c9b7e00d65b6f9da029fc7de
[ "PSF-2.0" ]
null
null
null
#include "pixelbuf.h" #include <assert.h> #include "util.h" #include "coordinates.h" PixelBuf::PixelBuf(int width, int height) // Zero-initialize the memory block (notice the parentheses). : m_data(std::shared_ptr<unsigned int>(new unsigned int[width*height](), Arra...
29.651007
76
0.549796
87333c57e10f31f952c2db09e68af7fde29094ba
1,514
hpp
C++
commands.hpp
openbmc/google-ipmi-sys
f647e99165065feabb35aa744059cf6a2af46f1e
[ "Apache-2.0" ]
2
2020-01-16T02:04:13.000Z
2021-01-13T21:47:30.000Z
commands.hpp
openbmc/google-ipmi-sys
f647e99165065feabb35aa744059cf6a2af46f1e
[ "Apache-2.0" ]
null
null
null
commands.hpp
openbmc/google-ipmi-sys
f647e99165065feabb35aa744059cf6a2af46f1e
[ "Apache-2.0" ]
3
2019-12-10T21:56:33.000Z
2021-03-02T23:56:06.000Z
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
30.28
75
0.702774
873b2b9ba23dd7eaec97f9dbf040f79215dfd8a4
3,904
hpp
C++
kernel/integration/x64/amd/arch_support.hpp
lusceu/hypervisor
012a2d16f96dcfc256a3cac9aa22e238c8160a0c
[ "MIT" ]
null
null
null
kernel/integration/x64/amd/arch_support.hpp
lusceu/hypervisor
012a2d16f96dcfc256a3cac9aa22e238c8160a0c
[ "MIT" ]
null
null
null
kernel/integration/x64/amd/arch_support.hpp
lusceu/hypervisor
012a2d16f96dcfc256a3cac9aa22e238c8160a0c
[ "MIT" ]
null
null
null
/// @copyright /// Copyright (C) 2020 Assured Information Security, Inc. /// /// @copyright /// 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 limita...
36.148148
100
0.649078
873caa37bbce2f14d1786d96714d740dd2881fc6
3,233
cpp
C++
Problems/LongestSubstringWithoutRepeatingCharacters/LongestSubstringWithoutRepeatingCharacters.cpp
avramidis/leetcode-problems
66bf8eecdebe8d2b6bb45a23897a0c1938725116
[ "BSL-1.0" ]
null
null
null
Problems/LongestSubstringWithoutRepeatingCharacters/LongestSubstringWithoutRepeatingCharacters.cpp
avramidis/leetcode-problems
66bf8eecdebe8d2b6bb45a23897a0c1938725116
[ "BSL-1.0" ]
null
null
null
Problems/LongestSubstringWithoutRepeatingCharacters/LongestSubstringWithoutRepeatingCharacters.cpp
avramidis/leetcode-problems
66bf8eecdebe8d2b6bb45a23897a0c1938725116
[ "BSL-1.0" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <iostream> #include "catch.hpp" class Solution { public: bool uniquestring(std::string s, int start, int end) { for (int i = start; i < end; i++) { for (int j = i + 1; j <= end; j++) { if (s[i] == s[j]) { return false; } } } return true; } int lengthOfLo...
20.993506
79
0.63656
873d5ba06c2499a76b4caaa26d68da4ab04e88e0
4,161
cxx
C++
Modules/Nonunit/Review/test/itkValuedRegionalMinimaImageFilterTest.cxx
eile/ITK
2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1
[ "Apache-2.0" ]
4
2015-05-22T03:47:43.000Z
2016-06-16T20:57:21.000Z
Modules/Nonunit/Review/test/itkValuedRegionalMinimaImageFilterTest.cxx
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
null
null
null
Modules/Nonunit/Review/test/itkValuedRegionalMinimaImageFilterTest.cxx
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
9
2016-06-23T16:03:12.000Z
2022-03-31T09:25:08.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
39.628571
79
0.681086
8741c16bd32064b343cce9ecb937c002335fe039
10,584
cpp
C++
src/GCloudIoTMqtt.cpp
ferlipaz/google-cloud-iot-arduino
5693e520a6331e52c3ef654fc8ebca0c4179bcb2
[ "Apache-2.0" ]
null
null
null
src/GCloudIoTMqtt.cpp
ferlipaz/google-cloud-iot-arduino
5693e520a6331e52c3ef654fc8ebca0c4179bcb2
[ "Apache-2.0" ]
null
null
null
src/GCloudIoTMqtt.cpp
ferlipaz/google-cloud-iot-arduino
5693e520a6331e52c3ef654fc8ebca0c4179bcb2
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2019 Google * 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...
30.326648
102
0.705593
874365d921d57769ce83eae4b8a2a5f3cfdd58e2
763
cpp
C++
src/Boring32/src/Guid/Guid.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
3
2021-11-25T13:44:57.000Z
2022-02-22T05:50:34.000Z
src/Boring32/src/Guid/Guid.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
3
2021-10-13T10:58:30.000Z
2021-12-21T05:46:41.000Z
src/Boring32/src/Guid/Guid.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
null
null
null
#include "pch.hpp" #include "Objbase.h" #include "include/Error/Error.hpp" #include "include/Guid/Guid.hpp" namespace Boring32::Guid { // Adapted from https://stackoverflow.com/a/19941516/7448661 std::wstring GetGuidAsWString(const GUID& guid) { wchar_t rawGuid[64] = { 0 }; HRESULT result = StringFro...
28.259259
79
0.70249
87448d25f36aecf10d18da35b06ac2ad09acc6df
6,583
cc
C++
StRoot/StTrsMaker/src/StTpcDbElectronics.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StTrsMaker/src/StTpcDbElectronics.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StTrsMaker/src/StTpcDbElectronics.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/***************************************************************** * * $Id: StTpcDbElectronics.cc,v 1.7 2008/08/02 14:33:09 fisyak Exp $ * * Author: Manuel Calderon de la Barca Sanchez & Brian Lasiuk Sept 13, 1999 * ***************************************************************** * Description: Electronics para...
36.572222
108
0.588789
87457da4b1247ff3584eeeccebd30216871749ea
1,586
cpp
C++
tests/unit/countersignature.cpp
LaudateCorpus1/authenticode-parser
7653bb1c60b9eed74613dceb84b61ddd7b5127a1
[ "MIT" ]
4
2022-01-10T09:44:47.000Z
2022-03-15T11:50:46.000Z
tests/unit/countersignature.cpp
LaudateCorpus1/authenticode-parser
7653bb1c60b9eed74613dceb84b61ddd7b5127a1
[ "MIT" ]
1
2022-01-20T04:14:24.000Z
2022-01-22T16:51:07.000Z
tests/unit/countersignature.cpp
LaudateCorpus1/authenticode-parser
7653bb1c60b9eed74613dceb84b61ddd7b5127a1
[ "MIT" ]
2
2022-02-02T13:36:09.000Z
2022-03-15T11:50:48.000Z
#include "../../src/countersignature.h" #include <cstdint> #include <cstring> #include <gtest/gtest.h> TEST(CountersignatureModule, countersignature_array_insert) { CountersignatureArray array; array.counters = nullptr; array.count = 0; Countersignature countersig1 = {}; int res = countersignatu...
24.78125
67
0.710593
8750c0266c8d52d61c41c50a4592b2709ca57cc0
27,434
cpp
C++
experiment.cpp
ChristophKuhfuss/stneatexperiment
ca754fb679658072f4dacc4354a319db3faf660b
[ "BSD-3-Clause" ]
null
null
null
experiment.cpp
ChristophKuhfuss/stneatexperiment
ca754fb679658072f4dacc4354a319db3faf660b
[ "BSD-3-Clause" ]
null
null
null
experiment.cpp
ChristophKuhfuss/stneatexperiment
ca754fb679658072f4dacc4354a319db3faf660b
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string.h> #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/filesystem.hpp> #include <sstream> #include <algorithm> #include <vector> #include <stdlib.h> #include <sstream> #include <stdio.h> #include <string> #include <math.h> #include <chrono> #include <sys/stat.h> #...
30.516129
357
0.640082
875281638813f52013ee2ac0ad9bab0cc0c37e9e
10,910
cpp
C++
src/core/Film.cpp
IDragnev/pbrt
0eef2a23fb840a73d70c888b4eb2ad5caa278d63
[ "MIT" ]
null
null
null
src/core/Film.cpp
IDragnev/pbrt
0eef2a23fb840a73d70c888b4eb2ad5caa278d63
[ "MIT" ]
null
null
null
src/core/Film.cpp
IDragnev/pbrt
0eef2a23fb840a73d70c888b4eb2ad5caa278d63
[ "MIT" ]
null
null
null
#include "pbrt/core/Film.hpp" #include "pbrt/core/geometry/Utility.hpp" #include "pbrt/memory/Memory.hpp" namespace idragnev::pbrt { Film::Film(const Point2i& resolution, const Bounds2f& cropWindow, std::unique_ptr<const Filter> filt, Float diagonal, cons...
36.366667
97
0.528323
875325064a37bb256fef9507b5a7598a2bfe6fe6
2,824
cc
C++
UX/src/LogView.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
UX/src/LogView.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
UX/src/LogView.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
/* * Copyright (C) 2022 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/LogView> #include <cc/Text> #include <cc/LineSource> #include <cc/Format> namespace cc { struct LogView::State final: public ListView::State { State() ...
18.337662
73
0.56551
8755e97bf465d7b049f60568f861e6be78a58164
5,944
cc
C++
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie/pcie_bus.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie/pcie_bus.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie/pcie_bus.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia 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 "src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie/pcie_bus.h" #include <zircon/errors.h> #include <algorithm> #include <string> #i...
36.024242
100
0.677995
875bdcc9c2e25b38fd819a6bff10e7a0970c52a1
10,674
cpp
C++
src/libc9/loader.cpp
stormbrew/channel9
626b42c208ce1eb54fff09ebd9f9e9fd0311935d
[ "MIT" ]
1
2015-02-13T02:03:29.000Z
2015-02-13T02:03:29.000Z
src/libc9/loader.cpp
stormbrew/channel9
626b42c208ce1eb54fff09ebd9f9e9fd0311935d
[ "MIT" ]
null
null
null
src/libc9/loader.cpp
stormbrew/channel9
626b42c208ce1eb54fff09ebd9f9e9fd0311935d
[ "MIT" ]
null
null
null
#include <fstream> #include <algorithm> #include <stdlib.h> #include <dlfcn.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include "json/json.h" #include "json/reader.h" #include "c9/loader.hpp" #include "c9/script.hpp" #include "c9/istream.hpp" #include "c9/variable_frame.hpp" #include "c9/cont...
28.089474
116
0.643152
875d513837ce2208a4dbad201f5696b50d67f6b7
2,279
hpp
C++
library/L1_Peripheral/lpc17xx/i2c.hpp
SJSURoboticsTeam/urc-control_systems-2020
35dff34c1bc0beecc94ad6b8f2d4b551969c6854
[ "Apache-2.0" ]
1
2020-02-22T20:26:41.000Z
2020-02-22T20:26:41.000Z
library/L1_Peripheral/lpc17xx/i2c.hpp
SJSURoboticsTeam/urc-control_systems-2020
35dff34c1bc0beecc94ad6b8f2d4b551969c6854
[ "Apache-2.0" ]
null
null
null
library/L1_Peripheral/lpc17xx/i2c.hpp
SJSURoboticsTeam/urc-control_systems-2020
35dff34c1bc0beecc94ad6b8f2d4b551969c6854
[ "Apache-2.0" ]
4
2019-10-17T03:42:03.000Z
2020-05-23T20:32:03.000Z
#pragma once #include "L1_Peripheral/lpc17xx/pin.hpp" #include "L1_Peripheral/lpc17xx/system_controller.hpp" #include "L1_Peripheral/lpc40xx/i2c.hpp" namespace sjsu { namespace lpc17xx { // Bring in and using the LPC40xx driver as it is compatible with the lpc17xx // peripheral. using ::sjsu::lpc40xx::I2c; /// Struc...
33.028986
77
0.69197
876034cd377244f6c74963ed63ac430e03463d8b
477
cpp
C++
src/exchange/offer.cpp
cvauclair/marketsim
3ce669716a7c061fe05a6e4765c07808f4a89138
[ "MIT" ]
null
null
null
src/exchange/offer.cpp
cvauclair/marketsim
3ce669716a7c061fe05a6e4765c07808f4a89138
[ "MIT" ]
1
2021-02-10T14:12:34.000Z
2021-02-10T22:42:57.000Z
src/exchange/offer.cpp
cvauclair/marketsim
3ce669716a7c061fe05a6e4765c07808f4a89138
[ "MIT" ]
null
null
null
#include "offer.h" unsigned int Offer::offerCounter = 0; Offer::Offer(OfferType type, const std::string &symbol, unsigned int quantity, float price, unsigned int accountId) { this->offerId = ++offerCounter; this->symbol_ = symbol; this->quantity = quantity; this->price = Offer::round(price); this->accountId_ = ...
21.681818
115
0.704403
8761aee44c3de02b1b13cbb08869509837aaaf6d
435
hpp
C++
Quasar/src/Quasar/Renderer/Camera.hpp
rvillegasm/Quasar
69a3e518030b52502bd1bf700cd6a44dc104d697
[ "Apache-2.0" ]
null
null
null
Quasar/src/Quasar/Renderer/Camera.hpp
rvillegasm/Quasar
69a3e518030b52502bd1bf700cd6a44dc104d697
[ "Apache-2.0" ]
null
null
null
Quasar/src/Quasar/Renderer/Camera.hpp
rvillegasm/Quasar
69a3e518030b52502bd1bf700cd6a44dc104d697
[ "Apache-2.0" ]
null
null
null
#pragma once #include <glm/glm.hpp> namespace Quasar { class Camera { protected: glm::mat4 m_Projection = glm::mat4(1.0f); public: Camera() = default; Camera(const glm::mat4 &projection) : m_Projection(projection) { } virtual ~Camera()...
16.730769
71
0.556322
876250b484f53bcb46a7ba99c24475a765debd41
6,897
cpp
C++
data/haptic_teleoperation/src/robotteleop_keyboard.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
data/haptic_teleoperation/src/robotteleop_keyboard.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
data/haptic_teleoperation/src/robotteleop_keyboard.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
/* * Copyright (c) 2011, Willow Garage, Inc. * 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 l...
29.101266
119
0.627954
87688dec8b9c4eeed4df313af29a91625230542b
5,642
cpp
C++
cpp/Combinatorial-search/TSP-branch-and-bound.cpp
fossabot/a-grim-loth
a6c8d549289a39ec981c1e0d0c754bb2708dfff9
[ "MIT" ]
4
2021-06-26T17:18:47.000Z
2022-02-02T15:02:27.000Z
cpp/Combinatorial-search/TSP-branch-and-bound.cpp
fossabot/a-grim-loth
a6c8d549289a39ec981c1e0d0c754bb2708dfff9
[ "MIT" ]
8
2021-06-29T07:00:32.000Z
2021-12-01T11:26:22.000Z
cpp/Combinatorial-search/TSP-branch-and-bound.cpp
fossabot/a-grim-loth
a6c8d549289a39ec981c1e0d0c754bb2708dfff9
[ "MIT" ]
3
2021-07-14T14:42:08.000Z
2021-12-07T19:36:53.000Z
/** * @file travelling-salesman-problem.cpp * @author prakash (prakashsellathurai@gmail.com) * @brief travelling-salesman-problem using branch and bound * @version 0.1 * @date 2021-08-01 * * @copyright Copyright (c) 2021 * */ #include <algorithm> #include <cstring> #include <iostream> #include <vector> usin...
30.010638
78
0.584722
876d9e91896597ba1c37b8d358f5bb55e9636321
421
cpp
C++
intersection_of_sorted_arrays.cpp
muskanverma/coding-problems-solved
3df460e79ed7fb8044fb3ef4b6fe84ef5444dd20
[ "MIT" ]
null
null
null
intersection_of_sorted_arrays.cpp
muskanverma/coding-problems-solved
3df460e79ed7fb8044fb3ef4b6fe84ef5444dd20
[ "MIT" ]
null
null
null
intersection_of_sorted_arrays.cpp
muskanverma/coding-problems-solved
3df460e79ed7fb8044fb3ef4b6fe84ef5444dd20
[ "MIT" ]
null
null
null
vector<int> Solution::intersect(const vector<int> &a, const vector<int> &b) { int i = 0, j = 0; vector<int>c; int x = a.size(); int y = b.size(); while(i<x && j<y){ if(a[i]<b[j]){ i++; } else if(b[j]<a[i]){ j++; } else{ ...
20.047619
78
0.339667
876e12e9bc37d8d8578cac74f6219d8163bd2b5e
398
cpp
C++
Firmware/AnalogInput.cpp
RauBurger/SuperSled
e2f8a1e4c5d3a001a613a83f495e8c9289601dc4
[ "MIT" ]
null
null
null
Firmware/AnalogInput.cpp
RauBurger/SuperSled
e2f8a1e4c5d3a001a613a83f495e8c9289601dc4
[ "MIT" ]
null
null
null
Firmware/AnalogInput.cpp
RauBurger/SuperSled
e2f8a1e4c5d3a001a613a83f495e8c9289601dc4
[ "MIT" ]
null
null
null
#include "AnalogInput.h" #include "Debug.h" AnalogInput::AnalogInput(uint32_t instance, uint32_t channelGroup, adc16_chn_config_t channelConfig) : mInstance(instance), mChannelConfig(channelConfig), mChannelGroup(channelGroup) { ADC16_DRV_ConfigConvChn(mInstance, mChannelGroup, &mChannelConfig); } uint16_t Analog...
26.533333
102
0.816583
87722eeb4905a7d547f6a2faaecd8eb968ada488
1,281
cc
C++
leetcode/1300-critical-connections-in-a-network.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
leetcode/1300-critical-connections-in-a-network.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
leetcode/1300-critical-connections-in-a-network.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
#include <vector> class Solution { public: int currentDfn; vector<vector<int>> answer; void dfs(int start, const vector<vector<int>>& graph, vector<int>& dfn, vector<int>& low, int parent) { for (const auto& v : graph[start]) { if (v == parent) {...
26.6875
78
0.489461
87736715930f209007aa2a51c75f7a44eba804d7
7,927
cc
C++
components/page_load_metrics/browser/responsiveness_metrics_normalization_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/page_load_metrics/browser/responsiveness_metrics_normalization_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/page_load_metrics/browser/responsiveness_metrics_normalization_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "components/page_load_metrics/browser/responsiveness_metrics_normalization.h" #include "base/test/scoped_feature_list.h" #include "components/pag...
48.042424
86
0.799167
8776383a5697804b88328a7a61733778662837a1
1,400
hpp
C++
src/cf_libs/dskcf/ScaleChangeObserver.hpp
liguanqun/Test_code
523f4ed4c29b2b2092b40a8c9c3ce1ddbcf0737b
[ "Apache-2.0" ]
null
null
null
src/cf_libs/dskcf/ScaleChangeObserver.hpp
liguanqun/Test_code
523f4ed4c29b2b2092b40a8c9c3ce1ddbcf0737b
[ "Apache-2.0" ]
null
null
null
src/cf_libs/dskcf/ScaleChangeObserver.hpp
liguanqun/Test_code
523f4ed4c29b2b2092b40a8c9c3ce1ddbcf0737b
[ "Apache-2.0" ]
null
null
null
#ifndef _SCALECHANGEOBSERVER_HPP_ #define _SCALECHANGEOBSERVER_HPP_ /* This class represents a C++ implementation of the DS-KCF Tracker [1]. In particular the scaling system presented in [1] is implemented within this class References: [1] S. Hannuna, M. Camplani, J. Hall, M. Mirmehdi, D. Damen, T. Burghardt, A. ...
36.842105
137
0.738571
8778b21cc3238d4b53bd280e8c3e1765e1cd28c2
1,879
cpp
C++
src/tools/dnd/targets/ContainerFileTransitiveDataTarget.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
2
2016-03-21T10:48:34.000Z
2017-03-17T19:50:34.000Z
src/tools/dnd/targets/ContainerFileTransitiveDataTarget.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
null
null
null
src/tools/dnd/targets/ContainerFileTransitiveDataTarget.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
null
null
null
/*************************************************************** * Name: ContainerFileTransitiveDataTarget.cpp * Purpose: Code for Fu(X) 2.0 * Author: David Lecoconnier (david.lecoconnier@free.fr) * Created: 2015-06-26 * Copyright: David Lecoconnier (http://www.getfux.fr) * License: *****************...
33.553571
152
0.717935
877bdeb46a7ef2936fac4605fbf5b303b6eb9e14
1,734
hpp
C++
headers/lagrangian.hpp
bluemner/scientific_computing
db7c2d2372e7b493feece406de21f091369bbc0b
[ "MIT" ]
null
null
null
headers/lagrangian.hpp
bluemner/scientific_computing
db7c2d2372e7b493feece406de21f091369bbc0b
[ "MIT" ]
null
null
null
headers/lagrangian.hpp
bluemner/scientific_computing
db7c2d2372e7b493feece406de21f091369bbc0b
[ "MIT" ]
null
null
null
/** MIT License Copyright (c) 2017 Brandon Bluemner 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, merge, ...
33.346154
79
0.711649
877e5cb185a7fc44f80c03ed816965492643bb6a
3,555
hpp
C++
frame/object.hpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
frame/object.hpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
frame/object.hpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
// frame/object.hpp // // Copyright (c) 2007, 2008 Valentin Palade (vipalade @ gmail . com) // // This file is part of SolidFrame framework. // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt. // #ifndef SOLID_FRAME_...
20.084746
89
0.719269
8781a3e7aec776a34a38c7f30aac146996651ab0
53
cpp
C++
xperf/vc_parallel_compiles/Group1_A.cpp
ariccio/main
c1dce7b2f4b2682a984894cce995fadee0fe717a
[ "MIT" ]
17
2015-03-02T18:19:24.000Z
2021-07-26T11:20:24.000Z
xperf/vc_parallel_compiles/Group1_A.cpp
ariccio/main
c1dce7b2f4b2682a984894cce995fadee0fe717a
[ "MIT" ]
3
2015-03-02T04:14:25.000Z
2015-09-05T23:04:42.000Z
xperf/vc_parallel_compiles/Group1_B.cpp
randomascii/main
e5c3a1f84922b912edc1f859c455e1f80a9b0f83
[ "MIT" ]
6
2015-02-08T04:19:57.000Z
2016-04-22T11:34:26.000Z
#include "stdafx.h" static int s_value = CALC_FIB1;
13.25
31
0.735849
8781f7120eeb763696c4e9a344e0b5c1ec458bba
12,049
cpp
C++
MediaCodecRT/DllLoader.cpp
gaobowen/MediaCodecRT
8c0136eaf9c6cec50c9e4106d60988bdd0957e59
[ "MIT" ]
2
2019-02-18T09:25:46.000Z
2019-04-19T08:05:58.000Z
MediaCodecRT/DllLoader.cpp
gaobowen/MediaCodecRT
8c0136eaf9c6cec50c9e4106d60988bdd0957e59
[ "MIT" ]
null
null
null
MediaCodecRT/DllLoader.cpp
gaobowen/MediaCodecRT
8c0136eaf9c6cec50c9e4106d60988bdd0957e59
[ "MIT" ]
null
null
null
#include "pch.h" #include "DllLoader.h" using namespace MediaCodecRT; HMODULE avutil_55_mod; HMODULE avcodec_57_mod; HMODULE avformat_57_mod; HMODULE swscale_4_mod; HMODULE swresample_2_mod; HMODULE avdevice_57_mod; HMODULE avfilter_6_mod; HMODULE kernelAddr; def_av_register_all * m_av_register_al...
54.768182
144
0.822226
8784146ac13d6b974322b8364facab1e6964f0b1
2,947
cpp
C++
actividades/sesion4/OSalvador/Actividad1/Vectores final.cpp
gsosad/Programacion-I
16bba6989fa09f6c9801a1092cf4ab4a2833876e
[ "MIT" ]
1
2019-01-12T18:13:54.000Z
2019-01-12T18:13:54.000Z
actividades/sesion4/OSalvador/Actividad1/Vectores final.cpp
gsosad/Programacion-I
16bba6989fa09f6c9801a1092cf4ab4a2833876e
[ "MIT" ]
1
2018-10-14T18:12:28.000Z
2018-10-14T18:12:28.000Z
actividades/sesion4/OSalvador/Actividad1/Vectores final.cpp
gsosad/Programacion-I
16bba6989fa09f6c9801a1092cf4ab4a2833876e
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; class Vector3D{ private: float x,y,z; float a,b,c; public: Vector3D(float _x, float _y, float _z){ x = _x; y = _y; z = _z; } void getCoordinates(float &a, float &b, float &c){ a = x; b = y; c = z; } ...
27.287037
130
0.556159
8784aced478528d638b9691c26e77057c0b11a1f
10,048
cpp
C++
editor/src/window/window.cpp
TSAVideoGame/Skidibidipop
62a8f949266df13cd759e3b98e36e16e05aabd11
[ "Zlib" ]
1
2020-12-26T21:52:59.000Z
2020-12-26T21:52:59.000Z
editor/src/window/window.cpp
TSAVideoGame/Skidibidipop
62a8f949266df13cd759e3b98e36e16e05aabd11
[ "Zlib" ]
2
2021-01-15T04:05:00.000Z
2021-03-03T18:37:08.000Z
editor/src/window/window.cpp
TSAVideoGame/Skidibidipop
62a8f949266df13cd759e3b98e36e16e05aabd11
[ "Zlib" ]
null
null
null
#include "window.h" #include "constants.h" #include <ctime> #include <SDL2/SDL_ttf.h> bool Editor::Window::running = true; SDLW::Window* Editor::Window::window; SDLW::Renderer* Editor::Window::renderer; Editor::Inputs Editor::Window::inputs; Editor::Tool::Manager* Editor::Window::tool_manager; std::string Editor::Wind...
31.012346
259
0.670681
8788aefd5cb7545ca8a430ef9120d41c793624b2
13,725
cpp
C++
groups/bdl/bdlb/bdlb_indexspanutil.t.cpp
seanbaxter/bde-1
149176ebc2ae49c3b563895a7332fe638a760782
[ "Apache-2.0" ]
1
2020-02-03T17:15:53.000Z
2020-02-03T17:15:53.000Z
groups/bdl/bdlb/bdlb_indexspanutil.t.cpp
seanbaxter/bde-1
149176ebc2ae49c3b563895a7332fe638a760782
[ "Apache-2.0" ]
2
2020-11-05T15:20:55.000Z
2021-01-05T19:38:43.000Z
groups/bdl/bdlb/bdlb_indexspanutil.t.cpp
seanbaxter/bde-1
149176ebc2ae49c3b563895a7332fe638a760782
[ "Apache-2.0" ]
2
2020-01-16T17:58:12.000Z
2020-08-11T20:59:30.000Z
// bdlb_indexspanutil.t.cpp -*-C++-*- #include <bdlb_indexspanutil.h> #include <bdlb_indexspan.h> #include <bslim_testutil.h> #include <bsls_asserttest.h> #include <bsls_buildtarget.h> #include <bsl_cstdlib.h> #include <bsl_cstring.h> #include <bsl_iostream.h> #include <bsl...
38.771186
79
0.485173
8789af36f68930966569f8a4ba7668be18f31c53
1,601
cpp
C++
src/main.cpp
JOwens-RTT/Teensy_Debugger
c7ced1f70913be8ea379740de78d9d6e29df9590
[ "MIT" ]
null
null
null
src/main.cpp
JOwens-RTT/Teensy_Debugger
c7ced1f70913be8ea379740de78d9d6e29df9590
[ "MIT" ]
null
null
null
src/main.cpp
JOwens-RTT/Teensy_Debugger
c7ced1f70913be8ea379740de78d9d6e29df9590
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <string> #include <Metro.h> //#define DEBUG #define LED_PIN 13 #define COMPUTER Serial #define DUT Serial7 //Metro dutTimeout(100); //Metro compTimeout(100); Metro ledTimer(250); bool ledEnable = false; bool ledStatus = true; #if defined(DEBUG) void debugPrintout(); Metro d...
18.616279
46
0.640225
878a5b9179b13aeab45163038d767f436d87e349
2,140
cpp
C++
Algorithms Design and Analysis II/knapsack.cpp
cbrghostrider/Coursera
0b509adb57f2e96e0d7b4119d50cdf2e555abafe
[ "MIT" ]
null
null
null
Algorithms Design and Analysis II/knapsack.cpp
cbrghostrider/Coursera
0b509adb57f2e96e0d7b4119d50cdf2e555abafe
[ "MIT" ]
null
null
null
Algorithms Design and Analysis II/knapsack.cpp
cbrghostrider/Coursera
0b509adb57f2e96e0d7b4119d50cdf2e555abafe
[ "MIT" ]
null
null
null
// ------------------------------------------------------------------------------------- // Author: Sourabh S Joshi (cbrghostrider); Copyright - All rights reserved. // For email, run on linux (perl v5.8.5): // perl -e 'print pack "H*","736f75726162682e732e6a6f73686940676d61696c2e636f6d0...
30.571429
121
0.55
878abcf148a3850557bb810a51b4c8dc7ddef060
2,372
cpp
C++
src/main.cpp
mystery124/MilestoneRoomController
1101c110f25d1cc348cf7da304dd9fe5d33a5876
[ "MIT" ]
null
null
null
src/main.cpp
mystery124/MilestoneRoomController
1101c110f25d1cc348cf7da304dd9fe5d33a5876
[ "MIT" ]
7
2020-03-23T17:48:57.000Z
2020-04-21T19:48:20.000Z
src/main.cpp
mystery124/MilestoneRoomController
1101c110f25d1cc348cf7da304dd9fe5d33a5876
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <Ticker.h> #define LOGGING_SERIAL #include "Logger.h" #include "WifiManager.h" #include "BME280Sensor.h" /* #include <ESP8266WebServer.h> #include <WiFiClient.h> #include <ArduinoJson.h> #include <Adafruit_Sensor.h> #include <Adafruit_BME280.h> //local #include <OTAHandler.h> #d...
20.448276
82
0.673693
878dfa2d8a0a9c3551d0a33681169ff2e5e67e79
311
cpp
C++
solutions/1550. Three Consecutive Odds.cpp
MayThirtyOne/Practice-Problems
fe945742d6bc785fffcb29ce011251406ba7c695
[ "MIT" ]
1
2020-09-27T17:36:58.000Z
2020-09-27T17:36:58.000Z
solutions/1550. Three Consecutive Odds.cpp
MayThirtyOne/Practice-Problems
fe945742d6bc785fffcb29ce011251406ba7c695
[ "MIT" ]
null
null
null
solutions/1550. Three Consecutive Odds.cpp
MayThirtyOne/Practice-Problems
fe945742d6bc785fffcb29ce011251406ba7c695
[ "MIT" ]
1
2020-09-21T15:16:24.000Z
2020-09-21T15:16:24.000Z
class Solution { public:    bool threeConsecutiveOdds(vector<int>& arr) {        if(arr.size()<3) return false;        for(int i=0;i<arr.size()-2;i++){            if(arr[i]%2==1 && arr[i+1]%2==1 && arr[i+2]%2==1){                return true;           }       }        return false;           } };
22.214286
62
0.440514
878e3776a8d736c0b3088de2e71b503a645511ae
1,652
cpp
C++
examples/matrices/Walsh.cpp
pjt1988/Elemental
71d3e2b98829594e9f52980a8b1ef7c1e99c724b
[ "Apache-2.0" ]
473
2015-01-11T03:22:11.000Z
2022-03-31T05:28:39.000Z
examples/matrices/Walsh.cpp
pjt1988/Elemental
71d3e2b98829594e9f52980a8b1ef7c1e99c724b
[ "Apache-2.0" ]
205
2015-01-10T20:33:45.000Z
2021-07-25T14:53:25.000Z
examples/matrices/Walsh.cpp
pjt1988/Elemental
71d3e2b98829594e9f52980a8b1ef7c1e99c724b
[ "Apache-2.0" ]
109
2015-02-16T14:06:42.000Z
2022-03-23T21:34:26.000Z
/* Copyright (c) 2009-2016, 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 */ #include <El.hpp> int main( int argc, char* argv[] ) { ...
28
77
0.502421
8791dc97f1c0913b534a4bd6811d48e963ade9d0
264
cc
C++
construct-the-rectangle.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
construct-the-rectangle.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
construct-the-rectangle.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
#include <vector> #include <cmath> class Solution { public: std::vector<int> constructRectangle(int area) { for (int i = std::sqrt(area); i >= 1; i--) if (area % i == 0) return {area / i, i}; return {}; } };
18.857143
50
0.484848
8795e7062a08e8ba4e21ec9886cc1e776040e0b9
6,251
cpp
C++
unzipdirs.cpp
yk-szk/szkzip
042227351539fc6d2c1937cc97cb3177c659dbd0
[ "MIT" ]
null
null
null
unzipdirs.cpp
yk-szk/szkzip
042227351539fc6d2c1937cc97cb3177c659dbd0
[ "MIT" ]
1
2022-01-20T01:23:39.000Z
2022-01-20T01:23:39.000Z
unzipdirs.cpp
yk-szk/szkzip
042227351539fc6d2c1937cc97cb3177c659dbd0
[ "MIT" ]
null
null
null
#include <filesystem> #include <iostream> #include <vector> #include <numeric> #include <thread> #include <exception> #include <mz.h> #include <mz_os.h> #include <mz_strm.h> #include <mz_strm_os.h> #include <mz_zip.h> #include <mz_zip_rw.h> #include <tclap/CmdLine.h> #include <indicators/progress_bar.hpp> #include <con...
31.892857
159
0.610622
87999efbe681268cd7a72ca49fd41f6ead2cd9e6
2,542
cxx
C++
Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmUUIDGenerator.cxx
nalinimsingh/ITK_4D
95a2eacaeaffe572889832ef0894239f89e3f303
[ "Apache-2.0" ]
3
2018-10-01T20:46:17.000Z
2019-12-17T19:39:50.000Z
Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmUUIDGenerator.cxx
nalinimsingh/ITK_4D
95a2eacaeaffe572889832ef0894239f89e3f303
[ "Apache-2.0" ]
null
null
null
Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmUUIDGenerator.cxx
nalinimsingh/ITK_4D
95a2eacaeaffe572889832ef0894239f89e3f303
[ "Apache-2.0" ]
4
2018-05-17T16:34:54.000Z
2020-09-24T02:12:40.000Z
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed W...
25.42
84
0.643588
879b1cf03bb04a7572a7dc1a8fdf103e28db55be
16,426
cpp
C++
src/xmol/io/pdb/BundledPDBRecordTypesBaseInit.cpp
sizmailov/pyxmolpp2
9395ba1b1ddc957e0b33dc6decccdb711e720764
[ "MIT" ]
4
2020-06-24T11:07:57.000Z
2022-01-15T23:00:30.000Z
src/xmol/io/pdb/BundledPDBRecordTypesBaseInit.cpp
sizmailov/pyxmolpp2
9395ba1b1ddc957e0b33dc6decccdb711e720764
[ "MIT" ]
84
2018-04-22T12:29:31.000Z
2020-06-17T15:03:37.000Z
src/xmol/io/pdb/BundledPDBRecordTypesBaseInit.cpp
sizmailov/pyxmolpp2
9395ba1b1ddc957e0b33dc6decccdb711e720764
[ "MIT" ]
6
2018-06-04T09:16:26.000Z
2022-03-12T11:05:54.000Z
#include "xmol/io/pdb/PdbRecord.h" using namespace xmol::io::pdb; std::map<RecordName,PdbRecordType> detail::get_bundled_records() { auto as_field = [](const std::string& fieldName, std::vector<int> colons){ auto shortend = fieldName.substr(0,std::min(size_t(FieldName::max_length),fieldName.size())); retur...
35.708696
115
0.479362
879c83b5fd1a9a0bb93c7d4ff07905c6adc1dcd2
672
cpp
C++
marsyas-vamp/marsyas/src/qt5apps/common/realvec_table_widget.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/qt5apps/common/realvec_table_widget.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/qt5apps/common/realvec_table_widget.cpp
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
#include "realvec_table_widget.h" #include <QtAlgorithms> #include <QKeyEvent> #include <QApplication> #include <QClipboard> namespace MarsyasQt { void RealvecTableWidget::keyPressEvent(QKeyEvent *event) { if (event == QKeySequence::Copy) { QModelIndexList selection = selectedIndexes(); qSort...
21.677419
72
0.635417
879f573b97bc57846b43a90f84ea7574c8208275
561
cpp
C++
codeforces/1385C.cpp
mhilmyh/algo-data-struct
6a9b1e5220e3c4e4a41200a09cb27f3f55560693
[ "MIT" ]
null
null
null
codeforces/1385C.cpp
mhilmyh/algo-data-struct
6a9b1e5220e3c4e4a41200a09cb27f3f55560693
[ "MIT" ]
null
null
null
codeforces/1385C.cpp
mhilmyh/algo-data-struct
6a9b1e5220e3c4e4a41200a09cb27f3f55560693
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int solve(int n, vector<int> &a) { if (n == 1) return 0; bool asc = true; int i; for (i = n - 1; i > 0; i--) { if (asc && a[i] > a[i - 1]) asc = false; else if (!asc && a[i] < a[i - 1]) break; } r...
15.583333
41
0.367201
87a4484cf38bc3b272462cb5a146491658546250
1,971
hpp
C++
board.hpp
Zilleplus/Cpp8Queen
52adc77f6e657881eb1b9360c235b677b263dcfa
[ "MIT" ]
null
null
null
board.hpp
Zilleplus/Cpp8Queen
52adc77f6e657881eb1b9360c235b677b263dcfa
[ "MIT" ]
null
null
null
board.hpp
Zilleplus/Cpp8Queen
52adc77f6e657881eb1b9360c235b677b263dcfa
[ "MIT" ]
null
null
null
struct Queen { int x; int y; }; bool hasHorizonalClash(const Queen& q1, const Queen& q2) { return q1.y == q2.y; } bool hasVerticalClash(const Queen& q1, const Queen& q2) { return q1.x == q2.x; } bool hasDiagonalClash(const Queen& q1, const Queen& q2) { return (q1.x - q1.y) == (q1.x - q1.y) || (q1.x +...
23.746988
80
0.559107
87a449e86ce31e79d5d47b50629b9ec2f6f62f4d
4,934
cpp
C++
src/main.cpp
jonco3/dynamic
76d10b012a7860595c7d9abbdf542c7d8f2a4d53
[ "MIT" ]
1
2020-11-26T23:37:19.000Z
2020-11-26T23:37:19.000Z
src/main.cpp
jonco3/dynamic
76d10b012a7860595c7d9abbdf542c7d8f2a4d53
[ "MIT" ]
null
null
null
src/main.cpp
jonco3/dynamic
76d10b012a7860595c7d9abbdf542c7d8f2a4d53
[ "MIT" ]
null
null
null
#include "common.h" #include "block.h" #include "builtin.h" #include "compiler.h" #include "dict.h" #include "interp.h" #include "input.h" #include "list.h" #include "module.h" #include "string.h" #include "sysexits.h" #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #define Function Read...
25.045685
78
0.556749
87a4b78e9d2044e990eec03989d946dad3d6c1eb
312
cpp
C++
homework6/merge_sort/readFile.cpp
mxprshn/homework
809635858a5bf01af7f63f398fe47fba7c688ecc
[ "Apache-2.0" ]
null
null
null
homework6/merge_sort/readFile.cpp
mxprshn/homework
809635858a5bf01af7f63f398fe47fba7c688ecc
[ "Apache-2.0" ]
null
null
null
homework6/merge_sort/readFile.cpp
mxprshn/homework
809635858a5bf01af7f63f398fe47fba7c688ecc
[ "Apache-2.0" ]
2
2018-11-06T19:31:20.000Z
2018-12-17T19:39:07.000Z
#include "list.h" #include <fstream> #include <string> bool readFile(std::ifstream &file, List *list) { if (!file.is_open()) { return false; } while (!file.eof()) { std::string name; std::string number; getline(file, name); getline(file, number); add(list, name, number); } return true; }
13
46
0.63141
87a5035a692af7645d12a631dbfcea1fd8c2ebbb
1,086
hpp
C++
.sandbox/hybrid-daes/dae-drumboiler/src/discrete_system.hpp
vacary/siconos-tutorials
93c0158321077a313692ed52fed69ff3c256ae32
[ "Apache-2.0" ]
6
2017-01-12T23:09:28.000Z
2021-03-20T17:03:58.000Z
.sandbox/hybrid-daes/dae-drumboiler/src/discrete_system.hpp
vacary/siconos-tutorials
93c0158321077a313692ed52fed69ff3c256ae32
[ "Apache-2.0" ]
3
2019-01-14T13:44:51.000Z
2021-05-17T13:57:27.000Z
.sandbox/hybrid-daes/dae-drumboiler/src/discrete_system.hpp
vacary/siconos-tutorials
93c0158321077a313692ed52fed69ff3c256ae32
[ "Apache-2.0" ]
2
2019-10-22T13:30:39.000Z
2020-10-06T10:19:57.000Z
#ifndef DISCRETE_SYSTEM_HPP #define DISCRETE_SYSTEM_HPP #include "model_common.hpp" #include "model.hpp" /* Information needed for the numerical simulation*/ typedef struct { int nb_eqs; // square system assumed int nb_diff_eqs; int nb_compl_eqs; // TODO extended to double** (NumericsMatrix**) i...
31.028571
183
0.732965
87a6137215523a94877098b08bedb8addcdd866b
1,086
hpp
C++
bg/curves/euriborcurve.hpp
bondgeek/pybg
046a25074b78409c6d29302177aeac581ade90d1
[ "Unlicense", "MIT" ]
1
2017-03-14T05:39:15.000Z
2017-03-14T05:39:15.000Z
bg/curves/euriborcurve.hpp
bondgeek/pybg
046a25074b78409c6d29302177aeac581ade90d1
[ "Unlicense", "MIT" ]
null
null
null
bg/curves/euriborcurve.hpp
bondgeek/pybg
046a25074b78409c6d29302177aeac581ade90d1
[ "Unlicense", "MIT" ]
null
null
null
/* * euriborcurve.hpp * pybg * * Created by Bart Mosley on 7/2/12. * Copyright 2012 BG Research LLC. All rights reserved. * */ #ifndef EURIBORCURVE_HPP #define EURIBORCURVE_HPP #include <bg/curvebase.hpp> #include <bg/date_utilities.hpp> using namespace QuantLib; namespace bondgeek { class EURiborCur...
24.133333
79
0.54512
87a79139386d672e8b4c8a45dbdb6efffa951bca
3,398
cpp
C++
RUNETag/hirestimer.cpp
GeReV/RUNEtag
e8319a132e325d73cdd7759a0d8a5f45f26dd129
[ "MIT" ]
31
2017-12-29T16:39:07.000Z
2022-03-25T03:26:29.000Z
RUNETag/hirestimer.cpp
GeReV/RUNEtag
e8319a132e325d73cdd7759a0d8a5f45f26dd129
[ "MIT" ]
7
2018-06-29T07:30:14.000Z
2021-02-16T23:19:20.000Z
RUNETag/hirestimer.cpp
GeReV/RUNEtag
e8319a132e325d73cdd7759a0d8a5f45f26dd129
[ "MIT" ]
13
2018-09-27T13:19:12.000Z
2022-03-02T08:48:42.000Z
/** * RUNETag fiducial markers library * * ----------------------------------------------------------------------------- * The MIT License (MIT) * * Copyright (c) 2015 Filippo Bergamasco * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated docume...
24.985294
147
0.685992
87a95e3db8fcbb1816a328097c375065212d8b99
24,965
cpp
C++
api/src/SAM_Windpower.cpp
nickdiorio/SAM
4288d4261f4f88f44106867b561b81c2ba480c85
[ "BSD-3-Clause" ]
null
null
null
api/src/SAM_Windpower.cpp
nickdiorio/SAM
4288d4261f4f88f44106867b561b81c2ba480c85
[ "BSD-3-Clause" ]
null
null
null
api/src/SAM_Windpower.cpp
nickdiorio/SAM
4288d4261f4f88f44106867b561b81c2ba480c85
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <utility> #include <vector> #include <memory> #include <iostream> #include <ssc/sscapi.h> #include "SAM_api.h" #include "ErrorHandler.h" #include "SAM_Windpower.h" SAM_EXPORT SAM_Windpower SAM_Windpower_construct(const char* def, SAM_error* err){ SAM_Windpower result = nullptr; translate...
28.995354
141
0.779852
87ab8ec991ad3bfaf9c59a402180820e98d05ecc
5,853
hpp
C++
Include/FishEngine/Serialization/CloneArchive.hpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
1
2018-12-20T02:38:44.000Z
2018-12-20T02:38:44.000Z
Include/FishEngine/Serialization/CloneArchive.hpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
null
null
null
Include/FishEngine/Serialization/CloneArchive.hpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
1
2018-10-25T19:40:22.000Z
2018-10-25T19:40:22.000Z
#pragma once #include <FishEngine/Serialization/Archive.hpp> #include <set> #include <vector> #include <FishEngine/Prefab.hpp> namespace FishEngine { class CollectObjectsArchive : public OutputArchive { public: void Collect(Object* obj) { if (obj->Is<Prefab>()) return; this->SerializeObject(obj); }...
34.429412
129
0.718606
87b089091f45aaf7a85fa23dfb980553b5aeff5b
1,138
cpp
C++
UVA/10189.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/10189.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/10189.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
#include<stdio.h> int x, y; int i, j; char t; char arr[100][100]; int prob[100][100]; void mine(){ if(i-1>=0 && j-1>=0) prob[i-1][j-1]++; if(i-1>=0) prob[i-1][j]++; if(i-1>=0 && j+1<y) prob[i-1][j+1]++; /// if(j-1>=0) prob[i][j-1]++; if(j+1<y) prob[i][j+1]++; /// if(i+1<x && j-1>=0) pro...
21.074074
50
0.339192
87b235e46241c19f5544be53b2589737713ffef8
1,403
cpp
C++
friend.cpp
OmairK/OOP_LAB
2cf73a7764529a68e210f2f8c9b65c441577a670
[ "MIT" ]
null
null
null
friend.cpp
OmairK/OOP_LAB
2cf73a7764529a68e210f2f8c9b65c441577a670
[ "MIT" ]
null
null
null
friend.cpp
OmairK/OOP_LAB
2cf73a7764529a68e210f2f8c9b65c441577a670
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> using namespace std; void readName(string filename){ ifstream file; file.open(filename, ios::in); string line; if (file.is_open()) { while (getline(file, line)) { cout << line << endl; } } file.close(); } clas...
21.257576
118
0.568068
87b455f92a2a238c2f2a245f15e6126c6553e68b
18,473
cpp
C++
LibCarla/source/carla/trafficmanager/CollisionStage.cpp
pirate-lofy/carla
b46117685e2e037dd6c0e6246998e5988bdc2bfb
[ "MIT" ]
1
2019-12-17T12:28:57.000Z
2019-12-17T12:28:57.000Z
LibCarla/source/carla/trafficmanager/CollisionStage.cpp
Tarfand123/carla
b46117685e2e037dd6c0e6246998e5988bdc2bfb
[ "MIT" ]
null
null
null
LibCarla/source/carla/trafficmanager/CollisionStage.cpp
Tarfand123/carla
b46117685e2e037dd6c0e6246998e5988bdc2bfb
[ "MIT" ]
null
null
null
// Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "CollisionStage.h" namespace carla { namespace traffic_manager { namespace Collision...
41.419283
115
0.69469
87b4ac8c46deb92a0c290e44da493eee0e0aee0d
2,633
hpp
C++
src/base/LifeCycleComponent.hpp
inexorgame/entity-system
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
19
2018-10-11T09:19:48.000Z
2020-04-19T16:36:58.000Z
src/base/LifeCycleComponent.hpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
132
2018-07-28T12:30:54.000Z
2020-04-25T23:05:33.000Z
src/base/LifeCycleComponent.hpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
3
2019-03-02T16:19:23.000Z
2020-02-18T05:15:29.000Z
#pragma once #include <cstdint> #include <memory> #include <tuple> #include <vector> #include <boost/range/adaptor/reversed.hpp> #include <spdlog/spdlog.h> namespace inexor { /** * Derived classes profits from automatic initialization and destruction * of the sub components. */ class LifeCycleComponent { pr...
28.010638
117
0.651348
87b4fff92f1e8214a275f1a0536a306b57c090b5
796
cpp
C++
Array/Move_Even_Odd_Numbers.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
19
2018-12-02T05:59:44.000Z
2021-07-24T14:11:54.000Z
Array/Move_Even_Odd_Numbers.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
null
null
null
Array/Move_Even_Odd_Numbers.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
13
2019-04-25T16:20:00.000Z
2021-09-06T19:50:04.000Z
//given an array.Arrange the elements st even nos. are at the begining and //the odd nos. are the end #include<iostream> #include<vector> using namespace std; //moves the even and odd nums void moveEvenOddNums(vector<int> &arr){ int i = 0; //this is for keeping track of even numbers int j = arr.size()-1; //for kee...
20.410256
74
0.626884
87b695cf0ca441f75eb5d6ab731d9e0eed4e9e06
3,886
cc
C++
src/audio/synthesizer.cc
stanford-stagecast/pancake
e9cfd547edf2dd797f324b159252757190211ff2
[ "Apache-2.0" ]
2
2022-01-05T08:58:11.000Z
2022-01-06T05:33:14.000Z
src/audio/synthesizer.cc
stanford-stagecast/pancake
e9cfd547edf2dd797f324b159252757190211ff2
[ "Apache-2.0" ]
null
null
null
src/audio/synthesizer.cc
stanford-stagecast/pancake
e9cfd547edf2dd797f324b159252757190211ff2
[ "Apache-2.0" ]
null
null
null
#include "synthesizer.hh" #include <cmath> #include <iostream> constexpr unsigned int NUM_KEYS = 88; constexpr unsigned int KEY_OFFSET = 21; constexpr unsigned int KEY_DOWN = 144; constexpr unsigned int KEY_UP = 128; constexpr unsigned int SUSTAIN = 176; using namespace std; Synthesizer::Synthesizer( const string& ...
33.791304
150
0.617859
87b870a79ffa203ac6f3a4eeceb49a047389ebab
56,469
cc
C++
src/client/client.cc
Caesar-github/rkmedia
953f22f7a5965a04ca2688d251ccce9683ce993c
[ "BSD-3-Clause" ]
2
2021-07-01T00:51:48.000Z
2022-03-01T23:46:02.000Z
src/client/client.cc
Caesar-github/rkmedia
953f22f7a5965a04ca2688d251ccce9683ce993c
[ "BSD-3-Clause" ]
2
2021-02-03T12:47:35.000Z
2021-12-12T13:30:00.000Z
src/client/client.cc
Caesar-github/rkmedia
953f22f7a5965a04ca2688d251ccce9683ce993c
[ "BSD-3-Clause" ]
2
2020-11-02T09:13:23.000Z
2021-07-07T11:29:24.000Z
#include <assert.h> #include <drm_fourcc.h> #include <fcntl.h> #include <malloc.h> #include <pthread.h> #include <signal.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/poll.h> #include <sys/shm.h> #include <sys/socket.h> #include <...
25.030585
81
0.630452
87b8a0aa6812d30e13c12400662c46eea59acae6
3,018
cpp
C++
Frameworks/Starboard/dlfcn.cpp
Art52123103/WinObjC
5672d1c99851b6125514381c39f4243692514b0b
[ "MIT" ]
null
null
null
Frameworks/Starboard/dlfcn.cpp
Art52123103/WinObjC
5672d1c99851b6125514381c39f4243692514b0b
[ "MIT" ]
null
null
null
Frameworks/Starboard/dlfcn.cpp
Art52123103/WinObjC
5672d1c99851b6125514381c39f4243692514b0b
[ "MIT" ]
null
null
null
//****************************************************************************** // // Copyright (c) 2016 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LI...
34.295455
83
0.66004
87bddd84c173926dd88f416cdc59985934e6e6da
906
cpp
C++
test/logger_test.cpp
OpenWinch/OpenWinch-C
efbce8f0c892927560f6b719d347578c85babade
[ "Apache-2.0" ]
1
2020-11-23T23:52:19.000Z
2020-11-23T23:52:19.000Z
test/logger_test.cpp
OpenWinch/OpenWinch-C
efbce8f0c892927560f6b719d347578c85babade
[ "Apache-2.0" ]
3
2020-11-24T22:00:01.000Z
2021-02-23T22:32:31.000Z
test/logger_test.cpp
OpenWinch/OpenWinch-C
efbce8f0c892927560f6b719d347578c85babade
[ "Apache-2.0" ]
null
null
null
/** * @file logger_test.cpp * @author Mickael GAILLARD (mick.gaillard@gmail.com) * @brief OpenWinch Project * * @copyright Copyright © 2020-2021 */ #include "logger.hpp" #include "gmock/gmock.h" #include "gtest/gtest.h" class LoggerTest : public ::testing::Test { protected: Logger *logger = nullptr; Logg...
18.489796
53
0.664459
87c3980da828df91b88b169e33fcd02054647039
1,061
cpp
C++
Stack/parenthesis_matching.cpp
ahanavish/DSA-using-CPP
cc96ae5cabef1dfa4ac183c1ea1510f74e3f42d9
[ "MIT" ]
null
null
null
Stack/parenthesis_matching.cpp
ahanavish/DSA-using-CPP
cc96ae5cabef1dfa4ac183c1ea1510f74e3f42d9
[ "MIT" ]
null
null
null
Stack/parenthesis_matching.cpp
ahanavish/DSA-using-CPP
cc96ae5cabef1dfa4ac183c1ea1510f74e3f42d9
[ "MIT" ]
1
2021-11-29T06:12:05.000Z
2021-11-29T06:12:05.000Z
#include <iostream> #include <string.h> using namespace std; class stack { int size; int top; char *sta; char *str; public: stack(char *s) { str = s; size = strlen(s); top = -1; sta = new char[size]; } ~stack() { delete []sta; st...
15.157143
34
0.356268
87cb31bab04de90272a7997507279300aa184c70
1,532
cpp
C++
Display.cpp
mmiecz/chip8
2e0710547ef44a04846db16c58930f64ec0777a0
[ "MIT" ]
null
null
null
Display.cpp
mmiecz/chip8
2e0710547ef44a04846db16c58930f64ec0777a0
[ "MIT" ]
null
null
null
Display.cpp
mmiecz/chip8
2e0710547ef44a04846db16c58930f64ec0777a0
[ "MIT" ]
null
null
null
// // Created by mhl on 19.10.16. // #include "Display.h" #include <string> #include <iostream> #include <SDL2/SDL_ttf.h> Display::Display() : m_window(nullptr), m_surface(nullptr) { } bool Display::init(const std::string &title, int width, int height) { if( SDL_Init( SDL_INIT_VIDEO) < 0 ) { std::c...
28.37037
135
0.671671
d7acb86feb64b28b4c6bd8012f4577137f0defb3
1,450
hpp
C++
test/timer/classes.hpp
smart-cloud/actor-zeta
9597d6c21843a5e24a7998d09ff041d2f948cc63
[ "BSD-3-Clause" ]
20
2016-01-07T07:37:52.000Z
2019-06-02T12:04:25.000Z
test/timer/classes.hpp
smart-cloud/actor-zeta
9597d6c21843a5e24a7998d09ff041d2f948cc63
[ "BSD-3-Clause" ]
30
2017-03-10T14:47:46.000Z
2019-05-09T19:23:25.000Z
test/timer/classes.hpp
jinncrafters/actor-zeta
9597d6c21843a5e24a7998d09ff041d2f948cc63
[ "BSD-3-Clause" ]
6
2017-03-10T14:06:01.000Z
2018-08-13T18:19:37.000Z
#pragma once #include <cassert> #include <chrono> #include <memory> #include <vector> #include <actor-zeta.hpp> #include <actor-zeta/detail/memory_resource.hpp> #include "tooltestsuites/scheduler_test.hpp" #include "tooltestsuites/clock_test.hpp" static std::atomic<uint64_t> alarm_counter{0}; using actor_zeta::det...
29
105
0.696552
d7ad55b4b9ea461df80b04f74b7d2b28f7565485
2,185
cpp
C++
bcos-gateway/bcos-gateway/protocol/GatewayNodeStatus.cpp
contropist/FISCO-BCOS
1605c371448b410674559bb1c9e98bab722f036b
[ "Apache-2.0" ]
null
null
null
bcos-gateway/bcos-gateway/protocol/GatewayNodeStatus.cpp
contropist/FISCO-BCOS
1605c371448b410674559bb1c9e98bab722f036b
[ "Apache-2.0" ]
null
null
null
bcos-gateway/bcos-gateway/protocol/GatewayNodeStatus.cpp
contropist/FISCO-BCOS
1605c371448b410674559bb1c9e98bab722f036b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 FISCO BCOS. * SPDX-License-Identifier: Apache-2.0 * 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 * * Unl...
35.819672
85
0.722197
d7afdb497afd4db9747e33ac791f78e58c0dcd1b
77,409
cpp
C++
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/CarouselMenu/st_menu_button_pressed.cpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/CarouselMenu/st_menu_button_pressed.cpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/CarouselMenu/st_menu_button_pressed.cpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
// Generated by imageconverter. Please, do not edit! #include <touchgfx/hal/Config.hpp> LOCATION_EXTFLASH_PRAGMA KEEP extern const unsigned char _st_menu_button_pressed[] LOCATION_EXTFLASH_ATTRIBUTE = { // 62x62 ARGB8888 pixels. 0x18,0x0c,0x00,0x00,0x18,0x0c,0x00,0x00,0x18,0x10,0x00,0x00,0x18,0x0c,0x00,0x00,0x18,0x10...
254.634868
320
0.796949
d7b22815eee156cd9b13741615d7f4d43ffe1b30
7,417
cpp
C++
ds/adsi/oledsvw/qstatus.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/oledsvw/qstatus.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/oledsvw/qstatus.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// QueryStatus.cpp : implementation file // #include "stdafx.h" #include "viewex.h" #include "qstatus.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CQueryStatus dialog ...
23.178125
78
0.443171
d7b77646f63e6a8074b6bf09160e7b8297afa4d4
1,376
cpp
C++
src/semana-10/Range-Minimum-Query.cpp
RicardoLopes1/desafios-prog-2021-1
1e698f0696b5636fa5608d669dd58d170f8049ea
[ "MIT" ]
null
null
null
src/semana-10/Range-Minimum-Query.cpp
RicardoLopes1/desafios-prog-2021-1
1e698f0696b5636fa5608d669dd58d170f8049ea
[ "MIT" ]
null
null
null
src/semana-10/Range-Minimum-Query.cpp
RicardoLopes1/desafios-prog-2021-1
1e698f0696b5636fa5608d669dd58d170f8049ea
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // https://practice.geeksforgeeks.org/problems/range-minimum-query/1/ // Range Minimum Query // Not completed class SegmentTree{ private: int n, t[4*10000]; map <string, int> rmq; public: SegmentTree( int * arr, int sz){ n = sz; build(arr, 1, 0, n-1); ...
23.724138
69
0.494913
d7b806c937b4cbda5936c0e2d330a4a136c7d835
1,647
cpp
C++
Assignments/homework_03/main.cpp
Landon-Brown1/1063-DS-Brown
64220948fbc69f7bfbd1ab234fe22da5de97fa6e
[ "MIT" ]
1
2019-12-23T16:26:20.000Z
2019-12-23T16:26:20.000Z
Assignments/homework_03/main.cpp
Landon-Brown1/1063-DS-Brown
64220948fbc69f7bfbd1ab234fe22da5de97fa6e
[ "MIT" ]
null
null
null
Assignments/homework_03/main.cpp
Landon-Brown1/1063-DS-Brown
64220948fbc69f7bfbd1ab234fe22da5de97fa6e
[ "MIT" ]
null
null
null
/*AUTHOR: Landon M. Brown *ASSIGNMENT TITLE: homework_03 *ASSIGNMENT DESCRIPTION: Edit the ListStack and main so that the * overloaded constructor is used instead of the default one. *DUE DATE: 10/15/2019 *DATE CREATED: 10/12/2019 *DATE LAST MODIFIED: 10/12/2019 */ #include <iostream> #include <fstream> #include ...
31.673077
97
0.549484
d7b9aadbf4f61c98406583b50fd3f0881c6aeaf5
37,820
cpp
C++
framegraph/Vulkan/CommandBuffer/VCmdBatch.cpp
zann1x/FrameGraph
ea06e28147a51f6d7cab219b4d8f30428a539faa
[ "BSD-2-Clause" ]
null
null
null
framegraph/Vulkan/CommandBuffer/VCmdBatch.cpp
zann1x/FrameGraph
ea06e28147a51f6d7cab219b4d8f30428a539faa
[ "BSD-2-Clause" ]
null
null
null
framegraph/Vulkan/CommandBuffer/VCmdBatch.cpp
zann1x/FrameGraph
ea06e28147a51f6d7cab219b4d8f30428a539faa
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2018-2019, Zhirnov Andrey. For more information see 'LICENSE' #include "VCmdBatch.h" #include "VFrameGraph.h" namespace FG { /* ================================================= constructor ================================================= */ VCmdBatch::VCmdBatch (VFrameGraph &fg, uint indexInPo...
30.722989
158
0.6266
d7b9c3af34674fcfe0367e66b87fbf1bd1209ed3
939
cpp
C++
leetcode-cn/cpp/Decode String.cpp
MU001999/codeex
23e300f9121a8d6bf4f4c9ec103510193808e9ba
[ "MIT" ]
2
2019-01-27T14:16:09.000Z
2019-05-25T10:05:24.000Z
leetcode-cn/cpp/Decode String.cpp
MU001999/codeex
23e300f9121a8d6bf4f4c9ec103510193808e9ba
[ "MIT" ]
null
null
null
leetcode-cn/cpp/Decode String.cpp
MU001999/codeex
23e300f9121a8d6bf4f4c9ec103510193808e9ba
[ "MIT" ]
1
2020-11-05T05:17:28.000Z
2020-11-05T05:17:28.000Z
/* Q-URL: https://leetcode-cn.com/problems/decode-string/ # BEATS 100% */ class Solution { private: string helper(string &s, string::iterator &it) { if (it == s.end()) return ""; string pre1, pre2, res, ens; while (isalpha(*it)) pre1 += *it++; if (it =...
19.5625
54
0.407881
d7ba6a5cc53bc9abc7ffa4a01147e332e4679947
973
cpp
C++
Volume102/10281 - Average Speed/10281.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
1
2017-01-25T18:07:49.000Z
2017-01-25T18:07:49.000Z
Volume102/10281 - Average Speed/10281.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
Volume102/10281 - Average Speed/10281.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
// Author: Stancioiu Nicu Razvan // Problem: http://uva.onlinejudge.org/external/102/10281.html #include <string> #include <iostream> #include <sstream> #include <cstdio> using namespace std; int main() { int speed,currentSpeed=0; int hour,min,sec; int currentHour=0; int prevHour=0; string s; double km=0; whil...
16.775862
62
0.579651
d7bad70d390416bbdc5854f14fe5275cebb5a585
2,089
cpp
C++
Raven.CppClient.Tests/PutDocumentCommandTest.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-04-24T02:34:53.000Z
2019-08-01T08:22:26.000Z
Raven.CppClient.Tests/PutDocumentCommandTest.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
2
2019-03-21T09:00:02.000Z
2021-02-28T23:49:26.000Z
Raven.CppClient.Tests/PutDocumentCommandTest.cpp
mlawsonca/ravendb-cpp-client
c3a3d4960c8b810156547f62fa7aeb14a121bf74
[ "MIT" ]
3
2019-03-04T11:58:54.000Z
2021-03-01T00:25:49.000Z
#include "pch.h" #include "RavenTestDriver.h" #include "raven_test_definitions.h" #include "DocumentSession.h" #include "AdvancedSessionOperations.h" #include "RequestExecutor.h" #include "User.h" #include "PutDocumentCommand.h" namespace ravendb::client::tests::client::documents::commands { class PutDocumentCommandT...
27.853333
97
0.721398
d7bd45c05e0eec748467f5543c97fbf349a019c8
3,375
hpp
C++
examples/CBuilder/Compound/Locking/Server/comserv.hpp
LenakeTech/BoldForDelphi
3ef25517d5c92ebccc097c6bc2f2af62fc506c71
[ "MIT" ]
121
2020-09-22T10:46:20.000Z
2021-11-17T12:33:35.000Z
examples/CBuilder/Compound/Locking/Server/comserv.hpp
LenakeTech/BoldForDelphi
3ef25517d5c92ebccc097c6bc2f2af62fc506c71
[ "MIT" ]
8
2020-09-23T12:32:23.000Z
2021-07-28T07:01:26.000Z
examples/CBuilder/Compound/Locking/Server/comserv.hpp
LenakeTech/BoldForDelphi
3ef25517d5c92ebccc097c6bc2f2af62fc506c71
[ "MIT" ]
42
2020-09-22T14:37:20.000Z
2021-10-04T10:24:12.000Z
// Borland C++ Builder // Copyright (c) 1995, 1999 by Borland International // All rights reserved // (DO NOT EDIT: machine generated header) 'ComServ.pas' rev: 5.00 #ifndef ComServHPP #define ComServHPP #pragma delphiheader begin #pragma option push -w- #pragma option push -Vx #include <ComObj.hpp> // Pascal unit #...
34.793814
98
0.740741