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
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
67k
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
d48ceb23fd98de8284939f8d83ea8f14ebbb5d01
26,327
cpp
C++
blast/src/serial/datatool/aliasstr.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/serial/datatool/aliasstr.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/serial/datatool/aliasstr.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* $Id: aliasstr.cpp 539688 2017-06-26 16:58:28Z gouriano $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" un...
34.459424
121
0.512326
mycolab
d48e6d4501bd9a61aedb5138d3e0d499ed60ec4e
356
cpp
C++
libs/libc/unistd.cpp
jasonwer/WingOS
1e3b8b272bc93542fda48ed1cf3226e63c923f39
[ "BSD-2-Clause" ]
null
null
null
libs/libc/unistd.cpp
jasonwer/WingOS
1e3b8b272bc93542fda48ed1cf3226e63c923f39
[ "BSD-2-Clause" ]
null
null
null
libs/libc/unistd.cpp
jasonwer/WingOS
1e3b8b272bc93542fda48ed1cf3226e63c923f39
[ "BSD-2-Clause" ]
null
null
null
#include "unistd.h" #include <kern/syscall.h> unsigned int sleep(unsigned int sec) { timespec time = {0, 0}; time.tv_sec = sec; return sys::sys$nano_sleep(&time, nullptr); } suseconds_t usleep(suseconds_t sec) { timespec time = {0, 0}; time.tv_sec = 0; time.tv_nsec = sec * 1000; return sys...
19.777778
47
0.646067
jasonwer
d491235b19967c3e37bae70df66dc0064295c7ca
6,351
cpp
C++
VirtualBox-5.0.0/src/VBox/Main/webservice/split-soapC.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/Main/webservice/split-soapC.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/Main/webservice/split-soapC.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/** @file * File splitter: splits soapC.cpp into manageable pieces. It is somewhat * intelligent and avoids splitting inside functions or similar places. */ /* * Copyright (C) 2009-2010 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.or...
31.597015
118
0.471894
egraba
d491564c71c02486d74c18544dd6e9165346ab3f
6,337
hpp
C++
include/dragon/graph/graph.hpp
parth-07/dragon
2e771d698398303c8ae6d603d28bc3acfa116181
[ "MIT" ]
1
2021-02-24T17:51:32.000Z
2021-02-24T17:51:32.000Z
include/dragon/graph/graph.hpp
parth-07/dragon
2e771d698398303c8ae6d603d28bc3acfa116181
[ "MIT" ]
1
2021-02-24T17:57:04.000Z
2021-05-17T11:09:40.000Z
include/dragon/graph/graph.hpp
parth-07/ds-and-algos
2e771d698398303c8ae6d603d28bc3acfa116181
[ "MIT" ]
null
null
null
#ifndef DRAGON_GRAPH_GRAPH_HPP #define DRAGON_GRAPH_GRAPH_HPP #include <limits> #include <map> #include <vector> namespace dragon { /** * `Graph` is an efficient, easy to use generic implementation of the basic * graph data structure. * * @param ValueT type of value of graph nodes. * @param EdgeValueT type of wei...
29.751174
79
0.666246
parth-07
d4920a50c87fa9d13beb31e4dc100568b5c133c4
15,448
cpp
C++
Classes/GameLayer.cpp
NeilKleistGao/Zelda-External-Assassin-Plan
e172b181ffc04a78d4ce14ca75fc09049bc3c70a
[ "MIT" ]
1
2019-07-01T13:44:25.000Z
2019-07-01T13:44:25.000Z
Classes/GameLayer.cpp
NeilKleistGao/Zelda-External-Assassin-Plan
e172b181ffc04a78d4ce14ca75fc09049bc3c70a
[ "MIT" ]
3
2019-07-06T14:32:56.000Z
2019-07-11T05:57:43.000Z
Classes/GameLayer.cpp
NeilKleistGao/Zelda-External-Assassin-Plan
e172b181ffc04a78d4ce14ca75fc09049bc3c70a
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include "GameLayer.h" #include "Player.h" #include "MapManager.h" #include "PauseScene.h" #include "Config.h" #include "Enemy.h" #include "SelectScene.h" #include "Bullet.h" #include "GameVictoryScene.h" #include "GameProcess.h" #include "PauseUILayer.h" #include "audio/include/A...
30.054475
157
0.669666
NeilKleistGao
d49271aab644f8d38800109d637721cba882a027
11,956
cpp
C++
cmd/silkrpc_toolbox.cpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
null
null
null
cmd/silkrpc_toolbox.cpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
null
null
null
cmd/silkrpc_toolbox.cpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020-2021 The Silkrpc Authors 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 agr...
41.513889
134
0.640683
enriavil1
d49658b46836b6b2620117739b0a4e5e9eb6a2cb
836
cpp
C++
tests/math_unit/math/rev/scal/fun/digamma_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
tests/math_unit/math/rev/scal/fun/digamma_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
tests/math_unit/math/rev/scal/fun/digamma_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/rev/scal.hpp> #include <gtest/gtest.h> #include <math/rev/scal/fun/nan_util.hpp> #include <math/rev/scal/util.hpp> #include <boost/math/special_functions/digamma.hpp> #include <boost/math/special_functions/zeta.hpp> TEST(AgradRev, digamma) { AVAR a = 0.5; AVAR f = digamma(a); EXPECT_FLOAT_EQ(...
22.594595
54
0.704545
alashworth
d4982752bd910ed943446ff44ad77194d44a0566
208
cpp
C++
LeetCode/9.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
LeetCode/9.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
LeetCode/9.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { public: bool isPalindrome(int x) { string s = to_string(x); int len = s.size(); for(int i=0;i<len/2;i++){ if(s[i]!=s[len-i-1]) return false; } return true; } };
17.333333
32
0.538462
LauZyHou
d49a88af357d8cbe7924edd00ab4b2f556ee786b
2,238
tcc
C++
phpcxx/fcall.tcc
sjinks/php-cxx
c519f841c2d7122bcf02db7d43a109a6ec818e1d
[ "MIT" ]
5
2017-02-26T23:55:20.000Z
2019-10-12T04:04:38.000Z
phpcxx/fcall.tcc
sjinks/php-cxx
c519f841c2d7122bcf02db7d43a109a6ec818e1d
[ "MIT" ]
25
2017-03-18T07:03:42.000Z
2018-03-28T21:33:57.000Z
phpcxx/fcall.tcc
sjinks/php-cxx
c519f841c2d7122bcf02db7d43a109a6ec818e1d
[ "MIT" ]
1
2017-03-18T07:27:25.000Z
2017-03-18T07:27:25.000Z
#ifndef PHPCXX_FCALL_TCC #define PHPCXX_FCALL_TCC #ifndef PHPCXX_FCALL_H #error "Please do not include this file directly, use fcall.h instead" #endif #include "array.h" #include "value.h" #include "bailoutrestorer.h" namespace { /** * @internal * @brief Helper function for codecov (`_zend_bailout` is for some re...
24.064516
133
0.628686
sjinks
d49dad27fbea319edc48a645c96ae9e0fae77241
2,839
cpp
C++
src/Game/main.cpp
Gegel85/THFgame
89b2508ac8564274c26db0f45f7fab4876badb5d
[ "MIT" ]
null
null
null
src/Game/main.cpp
Gegel85/THFgame
89b2508ac8564274c26db0f45f7fab4876badb5d
[ "MIT" ]
null
null
null
src/Game/main.cpp
Gegel85/THFgame
89b2508ac8564274c26db0f45f7fab4876badb5d
[ "MIT" ]
1
2019-11-18T22:05:10.000Z
2019-11-18T22:05:10.000Z
#include "../Core/Resources/Game.hpp" #include "../Core/Resources/Logger.hpp" #include "../Core/Loading/Loader.hpp" #include "../Core/Menus/MenuMgr.hpp" #include "../Core/Exceptions.hpp" #include "../Core/Utils/Utils.hpp" #include "Menus/MainMenu.hpp" #include "Menus/InGameMenu.hpp" #include "Menus/InventoryMenu.hpp" ...
24.474138
144
0.682987
Gegel85
d49f7b41346bf9acb7b3d683c824f176ca38aca6
1,481
cpp
C++
set1/repeat_key_xor_test.cpp
guzhoucan/cryptopals
a45280158867a86b5d8c61bf7194277d05abdf14
[ "MIT" ]
1
2020-08-07T22:38:27.000Z
2020-08-07T22:38:27.000Z
set1/repeat_key_xor_test.cpp
guzhoucan/cryptopals
a45280158867a86b5d8c61bf7194277d05abdf14
[ "MIT" ]
null
null
null
set1/repeat_key_xor_test.cpp
guzhoucan/cryptopals
a45280158867a86b5d8c61bf7194277d05abdf14
[ "MIT" ]
null
null
null
#include "repeat_key_xor.h" #include <fstream> #include "absl/strings/escaping.h" #include "gtest/gtest.h" namespace cryptopals { namespace { TEST(RepeatKeyXorTest, RepeatKeyXorEncode) { std::string key = "ICE"; std::string plaintext = "Burning 'em, if you ain't quick and nimble\nI go crazy when I hear a ...
30.854167
80
0.713032
guzhoucan
d4a03b833995edadf3870c0ab6fb12ddb9534388
1,151
hpp
C++
src/Logic/JFIFRewriter.hpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
16
2015-03-26T02:32:43.000Z
2021-10-18T16:34:31.000Z
src/Logic/JFIFRewriter.hpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
7
2019-02-21T06:07:09.000Z
2022-01-01T10:00:50.000Z
src/Logic/JFIFRewriter.hpp
vividos/RemotePhotoTool
d17ae2abbda531acbd0ec8e90ddc4856c4fdfa00
[ "BSD-2-Clause" ]
6
2019-05-07T09:21:15.000Z
2021-09-01T06:36:24.000Z
// // RemotePhotoTool - remote camera control software // Copyright (C) 2008-2018 Michael Fink // /// \file JFIFRewriter.hpp JFIF (JPEG File Interchange Format) rewriter // #pragma once // includes #include <ulib/stream/IStream.hpp> /// \brief JFIF rewriter /// Loads JFIF data stream (used internally by JPEG images) ...
23.979167
96
0.658558
vividos
d4a0b39ea7a1e18149b9e420fe6231854b636669
8,625
cpp
C++
examples/ota-provider-app/ota-provider-common/OTAProviderExample.cpp
jimlyall-q/connectedhomeip
e4d15a802e663f1f2ed7b8205f027d30e447eb0e
[ "Apache-2.0" ]
19
2021-02-17T12:31:28.000Z
2022-03-24T09:15:43.000Z
examples/ota-provider-app/ota-provider-common/OTAProviderExample.cpp
jimlyall-q/connectedhomeip
e4d15a802e663f1f2ed7b8205f027d30e447eb0e
[ "Apache-2.0" ]
18
2021-06-01T20:01:19.000Z
2022-03-11T09:43:52.000Z
examples/ota-provider-app/ota-provider-common/OTAProviderExample.cpp
jimlyall-q/connectedhomeip
e4d15a802e663f1f2ed7b8205f027d30e447eb0e
[ "Apache-2.0" ]
14
2020-12-14T11:05:45.000Z
2022-03-29T08:42:30.000Z
/* * * Copyright (c) 2021 Project CHIP Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
46.621622
131
0.69971
jimlyall-q
d4a57b90242ad005cd0d4e131c51c569828f1b18
1,155
cpp
C++
01-list/LinkList/LinkListTest.cpp
lcl0512/cs_kaoyan
4ff5aa32fc7c91bea29504664e5498f166bc5e4d
[ "MIT" ]
3
2021-03-31T08:22:16.000Z
2021-07-12T01:25:46.000Z
01-list/LinkList/LinkListTest.cpp
lcl0512/cs_kaoyan
4ff5aa32fc7c91bea29504664e5498f166bc5e4d
[ "MIT" ]
null
null
null
01-list/LinkList/LinkListTest.cpp
lcl0512/cs_kaoyan
4ff5aa32fc7c91bea29504664e5498f166bc5e4d
[ "MIT" ]
null
null
null
#include "LinkList.h" #include <cstdio> int main() { LinkList L1,L2; List_HeadInsert(L1); printf("-------头插法-------\n"); Print_LinkList(L1); printf("\n"); List_TrailInsert(L2); printf("-------尾插法-------\n"); Print_LinkList(L2); printf("\n"); /*按序号查找结点值*/ LNode* p = GetElem(L...
20.625
42
0.49697
lcl0512
d4a81fdf75a61d38c73dcd454e601354f1b4ac0e
461
cpp
C++
sqrt.cpp
LiFengcheng01/CPP-Homework
192766b689996b166a394ceb4e9b256fa39e54e0
[ "Apache-2.0" ]
1
2018-10-12T05:00:45.000Z
2018-10-12T05:00:45.000Z
sqrt.cpp
LiFengcheng01/CPP-Homework
192766b689996b166a394ceb4e9b256fa39e54e0
[ "Apache-2.0" ]
null
null
null
sqrt.cpp
LiFengcheng01/CPP-Homework
192766b689996b166a394ceb4e9b256fa39e54e0
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int int_sqrt(int x); int Mypow(int di,int mi); int main() { int i; for(i=0;i<=100;i++) cout<<i<<" "<<int_sqrt(i)<<endl; system("pause"); return 0; } int int_sqrt(int x) { int i; for(i=0;;i++) { if(x>=Mypow(i,2)&&x<Mypow(i+1...
14.40625
39
0.518438
LiFengcheng01
d4aa0ce1738e379af3688b811645da90f4788173
12,682
hpp
C++
sdk/core/azure-core/inc/azure/core/http/http.hpp
ahsonkhan/azure-sdk-for-cpp
ae612c5db562bb2176bdbc3cc1550a2ed835d553
[ "MIT" ]
null
null
null
sdk/core/azure-core/inc/azure/core/http/http.hpp
ahsonkhan/azure-sdk-for-cpp
ae612c5db562bb2176bdbc3cc1550a2ed835d553
[ "MIT" ]
null
null
null
sdk/core/azure-core/inc/azure/core/http/http.hpp
ahsonkhan/azure-sdk-for-cpp
ae612c5db562bb2176bdbc3cc1550a2ed835d553
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT /** * @file * @brief HTTP request and response functionality. */ #pragma once #include "azure/core/case_insensitive_containers.hpp" #include "azure/core/dll_import_export.hpp" #include "azure/core/exception.hpp" #include ...
32.025253
100
0.6607
ahsonkhan
d4ab86cf288932c410245fa10b850737c2b5514f
635
cpp
C++
kernel/src/syscall/task.cpp
unixpickle/alux
662c656775f8bae3e043f6a8e78982e9ca8e48e7
[ "BSD-2-Clause" ]
11
2015-04-25T20:44:17.000Z
2020-04-07T08:53:30.000Z
kernel/src/syscall/task.cpp
unixpickle/alux
662c656775f8bae3e043f6a8e78982e9ca8e48e7
[ "BSD-2-Clause" ]
null
null
null
kernel/src/syscall/task.cpp
unixpickle/alux
662c656775f8bae3e043f6a8e78982e9ca8e48e7
[ "BSD-2-Clause" ]
4
2015-09-09T14:21:40.000Z
2021-06-07T18:19:34.000Z
#include "task.hpp" #include "../tasks/hold-scope.hpp" #include <anarch/critical> namespace Alux { void ExitSyscall(anarch::SyscallArgs & args) { bool aborted = args.PopBool(); HoldScope scope; scope.ExitTask(aborted ? Task::KillReasonAbort : Task::KillReasonNormal); } anarch::SyscallRet GetPidSyscall() { As...
24.423077
75
0.716535
unixpickle
d4b0bab70e7733bfaad73c2d425ee6c49a6c298f
4,308
cc
C++
lib-opencc-android/src/main/jni/OpenCC/deps/google-benchmark/test/donotoptimize_assembly_test.cc
huxiaomao/android-opencc
a251591316323151a97d977c39c85e0571c60971
[ "MIT" ]
13,885
2018-08-03T17:46:24.000Z
2022-03-31T14:26:19.000Z
lib-opencc-android/src/main/jni/OpenCC/deps/google-benchmark/test/donotoptimize_assembly_test.cc
huxiaomao/android-opencc
a251591316323151a97d977c39c85e0571c60971
[ "MIT" ]
11,789
2015-01-05T04:50:15.000Z
2022-03-31T23:39:19.000Z
lib-opencc-android/src/main/jni/OpenCC/deps/google-benchmark/test/donotoptimize_assembly_test.cc
huxiaomao/android-opencc
a251591316323151a97d977c39c85e0571c60971
[ "MIT" ]
2,543
2015-01-01T11:18:36.000Z
2022-03-22T21:32:36.000Z
#include <benchmark/benchmark.h> #ifdef __clang__ #pragma clang diagnostic ignored "-Wreturn-type" #endif extern "C" { extern int ExternInt; extern int ExternInt2; extern int ExternInt3; inline int Add42(int x) { return x + 42; } struct NotTriviallyCopyable { NotTriviallyCopyable(); explicit NotTriviallyCopyab...
26.268293
69
0.620938
huxiaomao
d4b2857d7e43f3df5940f9ce8957ab4b55689a01
8,497
cpp
C++
thrift/test/UnionFieldRefTest.cpp
sakibguy/fbthrift
8123a9192519072e119ac9817c6b59a35b98b81c
[ "Apache-2.0" ]
2,112
2015-01-02T11:34:27.000Z
2022-03-31T16:30:42.000Z
thrift/test/UnionFieldRefTest.cpp
sakibguy/fbthrift
8123a9192519072e119ac9817c6b59a35b98b81c
[ "Apache-2.0" ]
372
2015-01-05T10:40:09.000Z
2022-03-31T20:45:11.000Z
thrift/test/UnionFieldRefTest.cpp
sakibguy/fbthrift
8123a9192519072e119ac9817c6b59a35b98b81c
[ "Apache-2.0" ]
582
2015-01-03T01:51:56.000Z
2022-03-31T02:01:09.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
30.238434
75
0.679887
sakibguy
d4b3374b4b1df7c566c469a3bdc0f1e5d48352cc
1,336
cpp
C++
src/cmd_context/tactic_manager.cpp
jar-ben/z3
7baa4f88b0cb4458461596d147e1f71853d77126
[ "MIT" ]
7,746
2015-03-26T18:59:33.000Z
2022-03-31T15:34:48.000Z
src/cmd_context/tactic_manager.cpp
jar-ben/z3
7baa4f88b0cb4458461596d147e1f71853d77126
[ "MIT" ]
5,162
2015-03-27T01:12:48.000Z
2022-03-31T14:56:16.000Z
src/cmd_context/tactic_manager.cpp
jar-ben/z3
7baa4f88b0cb4458461596d147e1f71853d77126
[ "MIT" ]
1,529
2015-03-26T18:45:30.000Z
2022-03-31T15:35:16.000Z
/*++ Copyright (c) 2012 Microsoft Corporation Module Name: tactic_manager.cpp Abstract: Collection of tactics & probes Author: Leonardo (leonardo) 2012-03-06 Notes: --*/ #include "cmd_context/tactic_manager.h" tactic_manager::~tactic_manager() { finalize_tactic_cmds(); finalize_probes(); } ...
21.206349
81
0.683383
jar-ben
d4b5aeb0f9810540c1045c1d3ba442176dab49a7
1,549
cpp
C++
_investigacion/contests/un_marzo/prime_gap.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
1
2016-02-11T21:28:22.000Z
2016-02-11T21:28:22.000Z
_investigacion/contests/un_marzo/prime_gap.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
_investigacion/contests/un_marzo/prime_gap.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <ctime> #include <cctype> #include <cassert> #include <iostream> #include <sstream> #include <iomanip> #include <string> #include <vector> #include <stack> #include <queue> #include <deque> #include <list> #include <set> #include <map> #i...
21.219178
84
0.621691
civilian
d4b604ba4e9830111aac0f0aa9f91986efd8a541
2,005
cpp
C++
AtCoder/E_CoinsRespawn.cpp
davimedio01/competitive-programming
e2a90f0183c11a90a50738a9a690efe03773d43f
[ "MIT" ]
2
2020-09-10T15:48:02.000Z
2020-09-12T00:05:35.000Z
AtCoder/E_CoinsRespawn.cpp
davimedio01/competitive-programming
e2a90f0183c11a90a50738a9a690efe03773d43f
[ "MIT" ]
null
null
null
AtCoder/E_CoinsRespawn.cpp
davimedio01/competitive-programming
e2a90f0183c11a90a50738a9a690efe03773d43f
[ "MIT" ]
2
2020-09-09T17:01:05.000Z
2020-09-09T17:02:27.000Z
#include <bits/stdc++.h> using namespace std; int N, M, P; vector<tuple<int, int, long long>> grafo; long long resp; void BellmanFord(int inicio) { vector<long long> distancia(N + 1, LONG_LONG_MAX); distancia[inicio] = 0; //Verifica o looping negativo (não há máximo) vector<bool> v...
25.0625
71
0.4798
davimedio01
d4b7acfb32f080d3f7986adf3300da9d34419eb3
12,490
cpp
C++
Backends/Graphics4/OpenGL/Sources/Kore/RenderTargetImpl.cpp
varomix/Kore
fca273e3d865898e87bebd9ee58b13635bcdfd5c
[ "Zlib" ]
null
null
null
Backends/Graphics4/OpenGL/Sources/Kore/RenderTargetImpl.cpp
varomix/Kore
fca273e3d865898e87bebd9ee58b13635bcdfd5c
[ "Zlib" ]
null
null
null
Backends/Graphics4/OpenGL/Sources/Kore/RenderTargetImpl.cpp
varomix/Kore
fca273e3d865898e87bebd9ee58b13635bcdfd5c
[ "Zlib" ]
null
null
null
#include "pch.h" #include "RenderTargetImpl.h" #include "ogl.h" #include <Kore/Graphics4/Graphics.h> #include <Kore/Log.h> #include <Kore/System.h> #ifdef KORE_ANDROID #include <GLContext.h> #endif using namespace Kore; #ifndef GL_RGBA16F_EXT #define GL_RGBA16F_EXT 0x881A #endif #ifndef GL_RGBA32F_EXT #define GL_RG...
31.700508
159
0.766453
varomix
d4b9a9a7f341c505aef9f2b9e908a91ef4a6d1b8
473
cpp
C++
firmware/examples/Delay/source/main.cpp
znic1967/Khalils-Kids
4e8d744837c1ba63adf3ec3ec317a40860b463aa
[ "Apache-2.0" ]
null
null
null
firmware/examples/Delay/source/main.cpp
znic1967/Khalils-Kids
4e8d744837c1ba63adf3ec3ec317a40860b463aa
[ "Apache-2.0" ]
null
null
null
firmware/examples/Delay/source/main.cpp
znic1967/Khalils-Kids
4e8d744837c1ba63adf3ec3ec317a40860b463aa
[ "Apache-2.0" ]
null
null
null
#include <inttypes.h> #include <cstdint> #include "utility/log.hpp" #include "utility/time.hpp" int main(void) { LOG_INFO("Delay Application Starting..."); LOG_INFO( "This example merely prints a statement every second using the delay " "function."); uint32_t counter = 0; while (true) { LO...
19.708333
76
0.634249
znic1967
d4c55a7e113d024fbee6fc0f65a32863cc3dac2a
268
cpp
C++
chapter_8/section_x/q_4/main.cpp
martindes01/learncpp
50c500b0cf03c9520eab0a6bdeb4556da7d13bbf
[ "MIT" ]
4
2020-08-03T15:00:00.000Z
2022-01-08T20:22:55.000Z
chapter_8/section_x/q_4/main.cpp
martindes01/learncpp
50c500b0cf03c9520eab0a6bdeb4556da7d13bbf
[ "MIT" ]
null
null
null
chapter_8/section_x/q_4/main.cpp
martindes01/learncpp
50c500b0cf03c9520eab0a6bdeb4556da7d13bbf
[ "MIT" ]
null
null
null
#include "deck.h" #include "game.h" #include <iostream> int main() { // create and shuffle deck game::Deck deck{ }; deck.shuffle(); // play a single game of blackjack std::cout << (game::playBlackjack(deck) ? "You win!\n" : "You lose!\n"); return 0; }
15.764706
74
0.615672
martindes01
d4cb4d5e46c607312b1d1c274f5280a31eb5ad58
2,145
hpp
C++
tiffconvert/Font.hpp
Imagine-Programming/tiffconvert
1eba05f3f876ac669d28ab9309326376bef61ef1
[ "MIT" ]
null
null
null
tiffconvert/Font.hpp
Imagine-Programming/tiffconvert
1eba05f3f876ac669d28ab9309326376bef61ef1
[ "MIT" ]
3
2021-02-15T08:10:59.000Z
2021-03-13T10:52:47.000Z
tiffconvert/Font.hpp
Imagine-Programming/tiffconvert
1eba05f3f876ac669d28ab9309326376bef61ef1
[ "MIT" ]
null
null
null
#pragma once #ifndef libtiffconvert_font_h #define libtiffconvert_font_h #include "libtiffconvert.h" #include <string> #include <cstdint> #include <Windows.h> namespace TiffConvert { /// <summary> /// Flags that specify how a font should be loaded. /// </summary> enum FontConfig : uint32_t { FONT_BOLD = (1 <<...
28.986486
91
0.644755
Imagine-Programming
d4cec0522b84a09c904aa4bb7f30637fcf727dac
3,702
cpp
C++
libs/multi_array/test/storage_order.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/multi_array/test/storage_order.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/multi_array/test/storage_order.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// Copyright 2002 The Trustees of Indiana University. // Use, modification and distribution is subject to 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) // Boost.MultiArray Library // Authors: Ronald Garcia // ...
23.1375
75
0.551053
zyiacas
d4d0b9fee2d7ed1f42eb4d27c4fcd094a91bfb9b
519
cpp
C++
Qt-Tetris-cmake/GUI/ResetButton.cpp
Life4gal/CPP-EASY-PROJECT
4bf66284b4990e6d7b3ab74ce15fe72fb52b5a41
[ "MIT" ]
null
null
null
Qt-Tetris-cmake/GUI/ResetButton.cpp
Life4gal/CPP-EASY-PROJECT
4bf66284b4990e6d7b3ab74ce15fe72fb52b5a41
[ "MIT" ]
null
null
null
Qt-Tetris-cmake/GUI/ResetButton.cpp
Life4gal/CPP-EASY-PROJECT
4bf66284b4990e6d7b3ab74ce15fe72fb52b5a41
[ "MIT" ]
null
null
null
#include "ResetButton.h" using namespace GUI; ResetButton::ResetButton(QWidget *parent) : QLabel(parent) { setAttribute(Qt::WA_StyledBackground, true); setProperty("class", "ResetButton"); setText("Try again!"); setAlignment(Qt::AlignCenter); setStyleSheet(".ResetButton { backgrou...
24.714286
121
0.684008
Life4gal
d4d5327d65ef40c29aae7e101fbddffeef313076
2,560
cpp
C++
Leetcode/0355. Design Twitter/0355.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0355. Design Twitter/0355.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0355. Design Twitter/0355.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
struct Tweet { int id; int time; Tweet* next = nullptr; Tweet(int id, int time) : id(id), time(time) {} }; struct User { int id; unordered_set<int> followeeIds; Tweet* tweetHead = nullptr; User() {} User(int id) : id(id) { follow(id); // follow himself } void follow(int followeeId) { ...
24.150943
80
0.629688
Next-Gen-UI
d4d6c86fbc8fe8dc720abba88f7ddf72d7917792
7,897
cpp
C++
all/native/renderers/NMLModelRenderer.cpp
mostafa-j13/mobile-sdk
60d51e4d37c7fb9558b1310345083c7f7d6b79e7
[ "BSD-3-Clause" ]
null
null
null
all/native/renderers/NMLModelRenderer.cpp
mostafa-j13/mobile-sdk
60d51e4d37c7fb9558b1310345083c7f7d6b79e7
[ "BSD-3-Clause" ]
null
null
null
all/native/renderers/NMLModelRenderer.cpp
mostafa-j13/mobile-sdk
60d51e4d37c7fb9558b1310345083c7f7d6b79e7
[ "BSD-3-Clause" ]
null
null
null
#include "NMLModelRenderer.h" #include "components/ThreadWorker.h" #include "datasources/VectorDataSource.h" #include "graphics/Shader.h" #include "graphics/ShaderManager.h" #include "graphics/ViewState.h" #include "graphics/utils/GLContext.h" #include "layers/VectorLayer.h" #include "projections/Projection.h" #include...
39.288557
214
0.635431
mostafa-j13
d4d79367344f71a353f13de4f5760670a4a04c53
490
hpp
C++
include/depthai-shared/pipeline/NodeConnectionSchema.hpp
kamleshbhalui/depthai-shared
28da84fc8a81b8d692d801924598ce9cb34ac761
[ "MIT" ]
null
null
null
include/depthai-shared/pipeline/NodeConnectionSchema.hpp
kamleshbhalui/depthai-shared
28da84fc8a81b8d692d801924598ce9cb34ac761
[ "MIT" ]
null
null
null
include/depthai-shared/pipeline/NodeConnectionSchema.hpp
kamleshbhalui/depthai-shared
28da84fc8a81b8d692d801924598ce9cb34ac761
[ "MIT" ]
null
null
null
#pragma once #include "depthai-shared/utility/Serialization.hpp" namespace dai { /** * Specifies a connection between nodes IOs */ struct NodeConnectionSchema { int64_t node1Id = -1; std::string node1OutputGroup; std::string node1Output; int64_t node2Id = -1; std::string node2InputGroup; st...
22.272727
122
0.740816
kamleshbhalui
d4d91b4b152a3967a3741925b6f9fb3e2e869c9a
466
cpp
C++
contributors/nikolai_chernyshov/logger.cpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
1
2022-02-07T15:52:51.000Z
2022-02-07T15:52:51.000Z
contributors/nikolai_chernyshov/logger.cpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
null
null
null
contributors/nikolai_chernyshov/logger.cpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
2
2022-02-07T15:53:00.000Z
2022-02-12T13:31:36.000Z
#include "logger.hpp" #include <iostream> #include "config.hpp" namespace uni_course_cpp { void Logger::log(const std::string& string) { std::cout << string; file_stream_ << string; } Logger::~Logger() { if (file_stream_.is_open()) file_stream_.close(); } Logger::Logger() : file_stream_(std::ofstream(conf...
21.181818
73
0.693133
AxoyTO
d4d989943cc7f3ea91b3aa28139e790d5e4b652d
1,219
hpp
C++
source/graphs/depth_first_search.hpp
pawel-kieliszczyk/algorithms
0703ec99ce9fb215709b56fb0eefbdd576c71ed2
[ "MIT" ]
null
null
null
source/graphs/depth_first_search.hpp
pawel-kieliszczyk/algorithms
0703ec99ce9fb215709b56fb0eefbdd576c71ed2
[ "MIT" ]
null
null
null
source/graphs/depth_first_search.hpp
pawel-kieliszczyk/algorithms
0703ec99ce9fb215709b56fb0eefbdd576c71ed2
[ "MIT" ]
null
null
null
#ifndef PK_GRAPHS_DEPTHFIRSTSEARCH_HPP #define PK_GRAPHS_DEPTHFIRSTSEARCH_HPP #include "stack.hpp" #include "vector.hpp" namespace pk { namespace graphs { class depth_first_search { public: template< class graph_type, class visitor_type> static void run( const graph_typ...
19.66129
98
0.541427
pawel-kieliszczyk
d4d98ae4a5a7b0a378fc0783f1409b9d0246eed3
1,547
hpp
C++
include/help_line.hpp
matt-harvey/swx
e7b10fe7d4bf0bd6581ceada53ad14b08bc1d852
[ "Apache-2.0" ]
7
2017-10-08T08:08:25.000Z
2020-04-27T09:25:00.000Z
include/help_line.hpp
matt-harvey/swx
e7b10fe7d4bf0bd6581ceada53ad14b08bc1d852
[ "Apache-2.0" ]
null
null
null
include/help_line.hpp
matt-harvey/swx
e7b10fe7d4bf0bd6581ceada53ad14b08bc1d852
[ "Apache-2.0" ]
1
2020-04-27T09:24:42.000Z
2020-04-27T09:24:42.000Z
/* * Copyright 2014 Matthew Harvey * * 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 agre...
27.140351
75
0.740142
matt-harvey
d4da5e2271d4defc822bb600d756a6ff27a0535e
214
hpp
C++
include/transactions/entities/BillGates.hpp
perriera/blockchain
2c89ecc110dcc9c042bdb919c7cf3017a43d4ce8
[ "MIT" ]
null
null
null
include/transactions/entities/BillGates.hpp
perriera/blockchain
2c89ecc110dcc9c042bdb919c7cf3017a43d4ce8
[ "MIT" ]
null
null
null
include/transactions/entities/BillGates.hpp
perriera/blockchain
2c89ecc110dcc9c042bdb919c7cf3017a43d4ce8
[ "MIT" ]
null
null
null
#ifndef _BILLGATES_HPP #define _BILLGATES_HPP #include <iostream> #include "../../../extra/include/Definitions.hpp" #include "../Entity.hpp" class BillGates extends Entity { public: }; #endif // _BILLGATES_HPP
15.285714
49
0.728972
perriera
d4dc6e15a639a65d420fa629c3ea962a0daa2b07
5,268
hpp
C++
src/sdglib/readers/FileReader.hpp
KatOfCats/sdg
1916e5c86dd88e601ab7476f38daef2bd3b3b6fc
[ "MIT" ]
null
null
null
src/sdglib/readers/FileReader.hpp
KatOfCats/sdg
1916e5c86dd88e601ab7476f38daef2bd3b3b6fc
[ "MIT" ]
null
null
null
src/sdglib/readers/FileReader.hpp
KatOfCats/sdg
1916e5c86dd88e601ab7476f38daef2bd3b3b6fc
[ "MIT" ]
null
null
null
// // Created by Luis Yanes (EI) on 15/09/2017. // #ifndef SEQSORTER_FILEREADER_H #define SEQSORTER_FILEREADER_H #include <cstring> #include <fstream> #include <iostream> #include <fcntl.h> #include <sdglib/readers/Common.hpp> #include <sdglib/utilities/OutputLog.hpp> #include "kseq.hpp" struct FastxReaderParams { ...
29.931818
138
0.598899
KatOfCats
d4deb6b981b269ca0640f61198ac0b4a875d4c86
491
cpp
C++
components/scene_graph/tests/serialization/scene_context3.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/scene_graph/tests/serialization/scene_context3.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/scene_graph/tests/serialization/scene_context3.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" bool check_exception (const char* message) { printf ("check_exception(%s)\n", message); return true; } int main () { printf ("Results of scene_context3_test:\n"); try { SceneContext context; context.RegisterErrorHandler ("error:*", &check_exception); ...
16.931034
69
0.572301
untgames
d4dff52a394af88ac0a4c7adf5509891fdc9bf38
1,761
cpp
C++
LeetCode/617. Merge Two Binary Trees.cpp
shamiul94/Problem-Solving-Online-Judges
0387ccd02cc692c70429b4683311070dc9d69b28
[ "MIT" ]
2
2019-11-10T18:42:11.000Z
2020-07-04T07:05:22.000Z
LeetCode/617. Merge Two Binary Trees.cpp
shamiul94/Problem-Solving-Online-Judges
0387ccd02cc692c70429b4683311070dc9d69b28
[ "MIT" ]
null
null
null
LeetCode/617. Merge Two Binary Trees.cpp
shamiul94/Problem-Solving-Online-Judges
0387ccd02cc692c70429b4683311070dc9d69b28
[ "MIT" ]
1
2019-11-04T11:05:17.000Z
2019-11-04T11:05:17.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ // my original solution // 96%, 80% class Solution1 { public: TreeNode *mergeTrees(TreeNode *t1, TreeNode *t2) { ...
23.797297
59
0.451448
shamiul94
d4e1aecf20faef926ca29686f1962cabc17116de
5,299
cpp
C++
ReferenceDesign/SampleQTHMI/SDLApps/Templates/ChoiceSet/test/ChoiceSetTest.cpp
zenghuan1/HMI_SDK_LIB
d0d03af04abe07f5ca087cabcbb1e4f4858f266a
[ "BSD-3-Clause" ]
8
2019-01-04T10:08:39.000Z
2021-12-13T16:34:08.000Z
ReferenceDesign/SampleQTHMI/SDLApps/Templates/ChoiceSet/test/ChoiceSetTest.cpp
zenghuan1/HMI_SDK_LIB
d0d03af04abe07f5ca087cabcbb1e4f4858f266a
[ "BSD-3-Clause" ]
33
2017-07-27T09:51:59.000Z
2018-07-13T09:45:52.000Z
ReferenceDesign/SampleQTHMI/SDLApps/Templates/ChoiceSet/test/ChoiceSetTest.cpp
JH-G/HMI_SDK_LIB
caa4eac66d1f3b76349ef5d6ca5cf7dd69fcd760
[ "BSD-3-Clause" ]
12
2017-07-28T02:54:53.000Z
2022-02-20T15:48:24.000Z
#include "ChoiceSetTest.h" using namespace test; using namespace hmi_sdk; using namespace rpc_test; CChoiceSetTest::CChoiceSetTest() { } void CChoiceSetTest::SetUpTestCase() { } void CChoiceSetTest::TearDownTestCase() { } void CChoiceSetTest::SetUp() { } void CChoiceSetTest::TearDown() { } TEST_F(CChoiceSetT...
27.743455
106
0.727873
zenghuan1
d4e2dd83c76f0b0a14894f820e24dfbe83c08613
5,574
cpp
C++
src/bitwise-cpp/main_unopt.cpp
rogerdahl/cuda-bitwise
4fc1576ecafc6521cc02b5ffd5a1ae7e6feb1ea0
[ "MIT" ]
null
null
null
src/bitwise-cpp/main_unopt.cpp
rogerdahl/cuda-bitwise
4fc1576ecafc6521cc02b5ffd5a1ae7e6feb1ea0
[ "MIT" ]
1
2018-02-22T02:14:41.000Z
2018-02-22T04:07:37.000Z
src/bitwise-cpp/main_unopt.cpp
rogerdahl/cuda-bitwise
4fc1576ecafc6521cc02b5ffd5a1ae7e6feb1ea0
[ "MIT" ]
null
null
null
// Style: http://geosoft.no/development/cppstyle.html #include <chrono> #include <iostream> #include <stack> #include <vector> #include <cppformat/format.h> #include "int_types.h" using namespace std; using namespace fmt; // The first version of this program would take 2500 hours to run. This was reduced to 250 ho...
32.034483
150
0.61446
rogerdahl
d4e7f73096ec165db0e99002e18f0747627aea84
15,597
cc
C++
src/driver/tcp/TcpConnection.cc
lsgw/longd
31caabd42a47c05857ae98716ef877052092aabe
[ "MIT" ]
null
null
null
src/driver/tcp/TcpConnection.cc
lsgw/longd
31caabd42a47c05857ae98716ef877052092aabe
[ "MIT" ]
null
null
null
src/driver/tcp/TcpConnection.cc
lsgw/longd
31caabd42a47c05857ae98716ef877052092aabe
[ "MIT" ]
null
null
null
#include "driver.h" #include "Buffer.h" #include "sockets.h" #include "tcp.h" #include <strings.h> #include <unistd.h> #include <stdio.h> #include <fcntl.h> #include <errno.h> class TcpConnnection : public driver<TcpConnnection> { public: void init(PortPtr port, MessagePtr& message) override { assert(message->type...
31.509091
120
0.623838
lsgw
d4e812eef103969aebf1cacaaa70cb49ecaaf4be
534
cpp
C++
path_planning/a_star/main.cpp
EatAllBugs/cpp_robotics
f0ee1b936f8f3d40ec78c30846cd1fbdf72ef27c
[ "MIT" ]
1
2022-01-23T13:17:28.000Z
2022-01-23T13:17:28.000Z
path_planning/a_star/main.cpp
yinflight/cpp_robotics
f0ee1b936f8f3d40ec78c30846cd1fbdf72ef27c
[ "MIT" ]
null
null
null
path_planning/a_star/main.cpp
yinflight/cpp_robotics
f0ee1b936f8f3d40ec78c30846cd1fbdf72ef27c
[ "MIT" ]
1
2022-01-23T13:17:16.000Z
2022-01-23T13:17:16.000Z
#include <iostream> #include "a_star.hpp" using namespace cpp_robotics::path_planning; int main() { std::cout << "Hello, World!" << std::endl; //! load map data cv::Mat map_data = cv::imread("../maps/map2.png", CV_8UC1); if (map_data.empty()) { std::cerr << "load map image fail." << std::endl; return...
25.428571
61
0.625468
EatAllBugs
d4e918042e1f759e3b539c2da88ba2899876459b
797
cpp
C++
20. valid-parentheses.cpp
dipta007/leetcode-solutions-dipta007
0454ad24ce686a37fab8025c75efb7d857985f29
[ "MIT" ]
null
null
null
20. valid-parentheses.cpp
dipta007/leetcode-solutions-dipta007
0454ad24ce686a37fab8025c75efb7d857985f29
[ "MIT" ]
null
null
null
20. valid-parentheses.cpp
dipta007/leetcode-solutions-dipta007
0454ad24ce686a37fab8025c75efb7d857985f29
[ "MIT" ]
null
null
null
class Solution { public: bool isValid(string s) { stack <char> st; int flg = 1; for(int i=0; i<s.size(); i++) { if(s[i]=='(' || s[i]=='{' || s[i]=='[') st.push(s[i]); else { if(st.size()==0) ...
24.151515
51
0.250941
dipta007
d4efde9b136113af189a2a5097ff79e210b5f240
872
cc
C++
zircon/system/ulib/lockdep/lock_dep.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
zircon/system/ulib/lockdep/lock_dep.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
2
2021-09-19T21:55:09.000Z
2021-12-19T03:34:53.000Z
zircon/system/ulib/lockdep/lock_dep.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
1
2021-08-23T11:33:57.000Z
2021-08-23T11:33:57.000Z
// Copyright 2018 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. // // Default weak implementation of integration routines appropriate for // userspace. The kernel has its own versions of these symbols that // override t...
30.068966
80
0.78555
allansrc
d4f027e29b231c1032a15d9481272ce7db913a8a
791
cpp
C++
LeetCode/ThousandOne/0287-find_duplicated_num.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0287-find_duplicated_num.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0287-find_duplicated_num.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 287. 寻找重复数 给定一个包含 n + 1 个整数的数组 nums,其数字都在 1 到 n 之间(包括 1 和 n),可知至少存在一个重复的整数。 假设只有一个重复的整数,找出这个重复的数。 示例 1: 输入: [1,3,4,2,2] 输出: 2 示例 2: 输入: [3,1,3,4,2] 输出: 3 说明: 不能更改原数组(假设数组是只读的)。 只能使用额外的 O(1) 的空间。 时间复杂度小于 O(n^2) 。 数组中只有一个重复的数字,但它可能不止重复出现一次。 */ int findDuplicate(vector<int>& A) { i...
14.125
64
0.529709
Ginkgo-Biloba
d4f1e66d9a1adde53e06f995979180dcd749f5d0
2,467
cpp
C++
firmware/main/TimeService.cpp
opiopan/elflet
78a8a38f552d12d812f50d6b13b4db6110020211
[ "Apache-2.0" ]
6
2019-01-09T15:01:32.000Z
2020-12-30T20:39:02.000Z
firmware/main/TimeService.cpp
opiopan/elflet
78a8a38f552d12d812f50d6b13b4db6110020211
[ "Apache-2.0" ]
1
2019-04-08T02:56:27.000Z
2019-04-22T06:31:43.000Z
firmware/main/TimeService.cpp
opiopan/elflet
78a8a38f552d12d812f50d6b13b4db6110020211
[ "Apache-2.0" ]
2
2020-12-30T20:39:07.000Z
2021-09-27T19:23:29.000Z
#include <esp_log.h> #include <esp_system.h> #include <string.h> #include <GeneralUtils.h> #include <Task.h> #include <freertos/event_groups.h> #include "Mutex.h" #include "Config.h" #include "TimeObj.h" #include "SensorService.h" #include "TimeService.h" #include "Stat.h" #include "WatchDog.h" #include "boardconfig.h...
23.951456
79
0.528172
opiopan
d4f2f70717ce542d8b524f37266924a3ed61637b
19,726
cpp
C++
Backends/Graphics5/Vulkan/Sources/Kore/PipelineState5Impl.cpp
hyperluminality/Kinc
f1802becc92e9a9eaa2e13b205d6a18eb58359a3
[ "Zlib" ]
null
null
null
Backends/Graphics5/Vulkan/Sources/Kore/PipelineState5Impl.cpp
hyperluminality/Kinc
f1802becc92e9a9eaa2e13b205d6a18eb58359a3
[ "Zlib" ]
null
null
null
Backends/Graphics5/Vulkan/Sources/Kore/PipelineState5Impl.cpp
hyperluminality/Kinc
f1802becc92e9a9eaa2e13b205d6a18eb58359a3
[ "Zlib" ]
null
null
null
#include "pch.h" #include "Vulkan.h" #include <kinc/graphics5/shader.h> #include <kinc/graphics5/pipeline.h> #include <assert.h> #include <malloc.h> #include <map> #include <string> #include <string.h> extern VkDevice device; extern VkRenderPass render_pass; extern VkDescriptorSet desc_set; bool memory_type_from_p...
34.913274
166
0.759302
hyperluminality
d4f4cbcd7969a06acff1d1c8ab2470fb19d63bc9
4,297
cpp
C++
src/object.cpp
ghewgill/neon-lang
e9bd686a6c566dc6e40f2816cab34c24725847c7
[ "MIT" ]
74
2016-01-18T12:20:53.000Z
2022-01-16T10:26:29.000Z
src/object.cpp
ghewgill/neon-lang
e9bd686a6c566dc6e40f2816cab34c24725847c7
[ "MIT" ]
197
2015-01-02T03:50:59.000Z
2022-01-24T05:40:39.000Z
src/object.cpp
ghewgill/neon-lang
e9bd686a6c566dc6e40f2816cab34c24725847c7
[ "MIT" ]
2
2015-04-01T03:54:19.000Z
2021-11-29T08:27:12.000Z
#include "object.h" #include <iso646.h> #include "rtl_exec.h" #include "intrinsic.h" bool ObjectString::invokeMethod(const utf8string &name, const std::vector<std::shared_ptr<Object>> &args, std::shared_ptr<Object> &result) const { std::string method = name.str(); if (method == "length") { if (args.s...
34.653226
153
0.633698
ghewgill
d4f9674fffe5843af74927bd7aa16b04bacf6351
947
cpp
C++
C++/Core/stb_image.cpp
Ninjacoderhsi/ps3-emu-for-android
cc20876f56cf7d1d66be0f85d7f160acd574a97d
[ "Apache-2.0" ]
1
2021-11-06T12:08:57.000Z
2021-11-06T12:08:57.000Z
C++/Core/stb_image.cpp
Ninjacoderhsi/ps3-emu-for-android
cc20876f56cf7d1d66be0f85d7f160acd574a97d
[ "Apache-2.0" ]
null
null
null
C++/Core/stb_image.cpp
Ninjacoderhsi/ps3-emu-for-android
cc20876f56cf7d1d66be0f85d7f160acd574a97d
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" // Defines STB_IMAGE_IMPLEMENTATION *once* for stb_image.h includes (Should this be placed somewhere else?) #define STB_IMAGE_IMPLEMENTATION // Sneak in truetype as well. #define STB_TRUETYPE_IMPLEMENTATION // This header generates lots of errors, so we ignore those (not rpcs3 code) #ifdef _MSC_VE...
31.566667
107
0.786695
Ninjacoderhsi
d4fb32a3368516c4389196164784c0c4f0f1a07e
2,481
cc
C++
parallel_clustering/clustering/util/dynamic_weight_threshold.cc
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-19T04:26:12.000Z
2022-03-19T04:26:12.000Z
parallel_clustering/clustering/util/dynamic_weight_threshold.cc
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
null
null
null
parallel_clustering/clustering/util/dynamic_weight_threshold.cc
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-30T07:20:29.000Z
2022-03-30T07:20:29.000Z
// Copyright 2022 The Google Research Authors. // // 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...
36.485294
79
0.693672
gunpowder78
d4fdbce446a6b7ad858c4027acf861aa891d4bfb
2,449
cpp
C++
lib/bmm_lib.cpp
pkarakal/sparse-boolean-matrix-multiplication
3384bf2dd2b86537177c1e91540ce2c77e95c785
[ "MIT" ]
null
null
null
lib/bmm_lib.cpp
pkarakal/sparse-boolean-matrix-multiplication
3384bf2dd2b86537177c1e91540ce2c77e95c785
[ "MIT" ]
1
2021-10-10T21:16:26.000Z
2021-10-10T21:16:26.000Z
lib/bmm_lib.cpp
pkarakal/sparse-boolean-matrix-multiplication
3384bf2dd2b86537177c1e91540ce2c77e95c785
[ "MIT" ]
null
null
null
#include "bmm_lib.h" namespace po = boost::program_options; template<class T> std::ostream& operator<<(std::ostream& os, const std::vector<T>& v) { copy(v.begin(), v.end(), std::ostream_iterator<T>(os, " ")); return os; } void bmm_lib::parse_cli(int nargs, char** args, std::vector<std::string>& paths) { p...
28.811765
78
0.604737
pkarakal
be025071df5eb19bb70f7c95c89c893d6bbd04e7
5,309
hpp
C++
deps/boost/include/boost/geometry/formulas/meridian_direct.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
995
2018-06-22T10:39:18.000Z
2022-03-25T01:22:14.000Z
deps/boost/include/boost/geometry/formulas/meridian_direct.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
32
2018-06-23T14:19:37.000Z
2022-03-29T10:20:37.000Z
deps/boost/include/boost/geometry/formulas/meridian_direct.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
172
2018-06-22T11:12:00.000Z
2022-03-29T07:44:33.000Z
// Boost.Geometry // Copyright (c) 2018 Oracle and/or its affiliates. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Use, modification and distribution is subject to the Boost Software License, // Version...
31.046784
97
0.556602
kindlychung
be02da1e4682e055e9bd49fd7c5f526f8bf1be96
2,031
cpp
C++
src/Graphics/Camera.cpp
khskarl/tori
52e07e7b8bdbab7b46c4565a6be9353c0ce59422
[ "MIT" ]
2
2018-07-05T23:50:20.000Z
2020-02-07T12:34:05.000Z
src/Graphics/Camera.cpp
khskarl/tori
52e07e7b8bdbab7b46c4565a6be9353c0ce59422
[ "MIT" ]
null
null
null
src/Graphics/Camera.cpp
khskarl/tori
52e07e7b8bdbab7b46c4565a6be9353c0ce59422
[ "MIT" ]
null
null
null
#include "Camera.hpp" #include <glm/gtx/rotate_vector.hpp> #include <glm/gtc/matrix_transform.hpp> Camera::Camera () { this->BuildProjectionMatrix(); } Camera::Camera (const glm::vec3 pos, const glm::vec3 direction, const float width, const float height) { m_position = pos; m_direction = direction; m_width = w...
24.178571
104
0.641556
khskarl
be066596eff08a474ecdb5dcd894bb7059ccebf7
2,428
cc
C++
src/generate_A440.cc
mpoullet/audio-tools
b7cb54ec16f2845830ab6168d8e6992124c98a75
[ "MIT" ]
null
null
null
src/generate_A440.cc
mpoullet/audio-tools
b7cb54ec16f2845830ab6168d8e6992124c98a75
[ "MIT" ]
null
null
null
src/generate_A440.cc
mpoullet/audio-tools
b7cb54ec16f2845830ab6168d8e6992124c98a75
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <iostream> #include <numeric> #include <vector> #include <sndfile.hh> int main () { const auto pi{3.14159265358979323846264338}; const auto freq{440.0}; const auto duration{1.0}; const auto samplerate{48000}; const auto sample_duration{1.0 / samplerat...
45.811321
102
0.570016
mpoullet
be0680ddc3b048ce58713361bf085c95624875ae
2,402
cpp
C++
spawner.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
spawner.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
spawner.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
/* Copyright (c) 2012-2013 Cheese and Bacon Games, LLC */ /* See the file docs/COPYING.txt for copying permission. */ #include "spawner.h" #include "world.h" #include "collision.h" using namespace std; Spawner::Spawner(short get_spawner_type,short get_type,double get_x,double get_y,bool get_disallow_doubles,bool get...
33.361111
128
0.556203
darkoppressor
be07628f4cf1c892299c014a9e0346b5e18eb045
2,661
cpp
C++
outputDialogs/signaldata.cpp
kerdemdemir/sharpEar
6193fad5a776b246caed72d89009d64afc1db5a0
[ "BSD-4-Clause" ]
5
2016-04-27T08:01:06.000Z
2021-12-21T07:07:14.000Z
outputDialogs/signaldata.cpp
kerdemdemir/sharpEar
6193fad5a776b246caed72d89009d64afc1db5a0
[ "BSD-4-Clause" ]
3
2016-04-27T08:02:17.000Z
2017-04-18T18:46:40.000Z
outputDialogs/signaldata.cpp
kerdemdemir/sharpEar
6193fad5a776b246caed72d89009d64afc1db5a0
[ "BSD-4-Clause" ]
null
null
null
#include "signaldata.h" #include <qvector.h> #include <qmutex.h> #include <qreadwritelock.h> class SignalData::PrivateData { public: PrivateData(): boundingRect( 1.0, 1.0, -2.0, -2.0 ) // invalid { values.reserve( 1000 ); } inline void append( const QPointF &sample ) { valu...
20.469231
69
0.585118
kerdemdemir
be08114dfb3bf0b9017071cc557cbd331a3a6b43
7,445
cpp
C++
src/crypto/scrypt/crypto_scrypt_smix_sse2.cpp
orobio/gulden-official
a329faf163b15eabc7ff1d9f07ea87f66df8d27d
[ "MIT" ]
158
2016-01-08T10:38:37.000Z
2022-02-01T06:28:05.000Z
src/crypto/scrypt/crypto_scrypt_smix_sse2.cpp
orobio/gulden-official
a329faf163b15eabc7ff1d9f07ea87f66df8d27d
[ "MIT" ]
196
2015-11-19T10:59:24.000Z
2021-10-07T14:52:13.000Z
src/crypto/scrypt/crypto_scrypt_smix_sse2.cpp
orobio/gulden-official
a329faf163b15eabc7ff1d9f07ea87f66df8d27d
[ "MIT" ]
71
2016-06-25T23:29:04.000Z
2022-03-14T10:57:19.000Z
// - // Copyright 2009 Colin Percival // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditi...
30.387755
115
0.570047
orobio
be089947172f9410e10fb07cb376d3c43383fa65
5,762
hpp
C++
code/path_marker.hpp
LoginLEE/HKUST-COMP2012h-2D-Shooting-Game
d03812a4a8cba8d31873157d71818b8c67d495fd
[ "MIT" ]
null
null
null
code/path_marker.hpp
LoginLEE/HKUST-COMP2012h-2D-Shooting-Game
d03812a4a8cba8d31873157d71818b8c67d495fd
[ "MIT" ]
null
null
null
code/path_marker.hpp
LoginLEE/HKUST-COMP2012h-2D-Shooting-Game
d03812a4a8cba8d31873157d71818b8c67d495fd
[ "MIT" ]
null
null
null
#pragma once #include <SFML/Graphics.hpp> #include "global_defines.hpp" #include "game_entity.hpp" #include "collision_box.hpp" #include "textured_block.hpp" class Enemy; /** * @brief Class for Enemy Path Markers * * This class represents a invisible Entity that guides the Enemy and controls their pathing ar...
29.548718
109
0.660708
LoginLEE
be0bab1063aa9afa00fc47702ebc5681dae32f10
129
hpp
C++
Blob_Lib/Include/glm/detail/type_float.hpp
antholuo/Blob_Traffic
5d6acf88044e9abc63c0ff356714179eaa4b75bf
[ "MIT" ]
null
null
null
Blob_Lib/Include/glm/detail/type_float.hpp
antholuo/Blob_Traffic
5d6acf88044e9abc63c0ff356714179eaa4b75bf
[ "MIT" ]
null
null
null
Blob_Lib/Include/glm/detail/type_float.hpp
antholuo/Blob_Traffic
5d6acf88044e9abc63c0ff356714179eaa4b75bf
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:a62772f6d894faf1b10bfe5468fe32accdfecae65e88b1d03150d1f60896ad1d size 1642
32.25
75
0.883721
antholuo
be0bcd0be50d923bb67c41601580f594205e393a
1,665
cpp
C++
aws-cpp-sdk-codecommit/source/model/ListAssociatedApprovalRuleTemplatesForRepositoryResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2021-12-06T20:36:35.000Z
2021-12-06T20:36:35.000Z
aws-cpp-sdk-codecommit/source/model/ListAssociatedApprovalRuleTemplatesForRepositoryResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-codecommit/source/model/ListAssociatedApprovalRuleTemplatesForRepositoryResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/codecommit/model/ListAssociatedApprovalRuleTemplatesForRepositoryResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core...
33.3
176
0.810811
lintonv
be13231a3b636e9dcc87646a88cf80a8fa8dc09b
1,942
cpp
C++
Source/VoxelEditor/Private/EdMode/VoxelEdModeToolkit.cpp
ADMTec/VoxelPlugin
db3c94fd8140d27671b9e80f09c47b28d02a6096
[ "MIT" ]
998
2018-03-20T06:46:08.000Z
2022-03-31T11:45:38.000Z
Source/VoxelEditor/Private/EdMode/VoxelEdModeToolkit.cpp
B0B-100/VoxelPlugin
cd331027eff6bee027101af355408c165d07d1b8
[ "MIT" ]
408
2018-03-19T20:43:19.000Z
2022-03-10T23:02:25.000Z
Source/VoxelEditor/Private/EdMode/VoxelEdModeToolkit.cpp
B0B-100/VoxelPlugin
cd331027eff6bee027101af355408c165d07d1b8
[ "MIT" ]
205
2018-03-19T12:14:19.000Z
2022-03-30T16:29:42.000Z
// Copyright 2021 Phyronnaz #include "VoxelEdModeToolkit.h" #include "VoxelEdMode.h" #include "VoxelEditorToolsPanel.h" #include "EditorModeManager.h" void FVoxelEdModeToolkit::Init(const TSharedPtr<IToolkitHost>& InitToolkitHost) { FModeToolkit::Init(InitToolkitHost); } FName FVoxelEdModeToolkit::GetTo...
27.742857
95
0.569516
ADMTec
be142be23774b71c652228c325e18379295532cc
15,173
cpp
C++
src/HighGoal/HighGoal.cpp
team3130/Harriet
5fc9ecfe7c94b954e2f5ea21df056fe35a3fcb34
[ "Apache-2.0" ]
2
2017-06-20T15:15:27.000Z
2017-09-05T02:04:33.000Z
src/HighGoal/HighGoal.cpp
team3130/Harriet
5fc9ecfe7c94b954e2f5ea21df056fe35a3fcb34
[ "Apache-2.0" ]
null
null
null
src/HighGoal/HighGoal.cpp
team3130/Harriet
5fc9ecfe7c94b954e2f5ea21df056fe35a3fcb34
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <memory> #include <chrono> #include <thread> #include <ctime> #include "networktables/NetworkTable.h" #include "opencv2/opencv.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/cudaarithm.hpp" #include "opencv2/cudaimgproc.hpp" #include "opencv2/cudafilters.hpp" static cons...
39.513021
172
0.667831
team3130
be157d8576d9ca5d82098886d9298f0c468cfbd9
1,553
cpp
C++
IntervalsList.cpp
alechh/test-opencv
ab82723e4f9dda88a63add60d5f28dda5a22bc73
[ "Apache-2.0" ]
1
2022-03-24T08:05:22.000Z
2022-03-24T08:05:22.000Z
IntervalsList.cpp
alechh/test-opencv
ab82723e4f9dda88a63add60d5f28dda5a22bc73
[ "Apache-2.0" ]
null
null
null
IntervalsList.cpp
alechh/test-opencv
ab82723e4f9dda88a63add60d5f28dda5a22bc73
[ "Apache-2.0" ]
null
null
null
#include "IntervalsList.h" #include <iostream> /** * Default constructor */ IntervalsList::IntervalsList() { head = nullptr; tail = nullptr; next = nullptr; } /** * Destructor */ IntervalsList::~IntervalsList() { while (head != nullptr) { Interval* oldHead = head; head = head->...
19.17284
86
0.59369
alechh
be15ae8b056357a1e3842f6e767273f5e01852bd
4,342
hpp
C++
nucleo-g431-akashi04-i2s/Core/Inc/murasaki_platform.hpp
suikan4github/murasaki_samples_audio
30ce5bc821e529e3415c7983ed435dbacc9b1126
[ "MIT" ]
12
2019-02-24T05:22:37.000Z
2021-10-01T05:56:59.000Z
nucleo-g431-akashi04-i2s/Core/Inc/murasaki_platform.hpp
suikan4github/murasaki_samples_audio
30ce5bc821e529e3415c7983ed435dbacc9b1126
[ "MIT" ]
122
2019-02-23T13:51:42.000Z
2021-11-13T01:24:34.000Z
nucleo-l412-64/Inc/murasaki_platform.hpp
suikan4github/murasaki_samples
f339c1bf555035f4416797e3938fbe25cc82414c
[ "MIT" ]
3
2019-02-24T16:38:25.000Z
2022-03-22T15:25:09.000Z
/** * @file murasaki_platform.hpp * * @date 2017/11/12 * @author Seiichi "Suikan" Horie * @brief An interface for the applicaiton from murasaki library to main.c * @details * The resources below are impremented in the murasaki_platform.cpp and serve as glue to the main.c. */ #ifndef MURASAKI_PLATFORM_HPP_ #def...
30.363636
100
0.739982
suikan4github
be16f13425dc340b268540882541197a0db249a2
343
cpp
C++
src/filter_cells.cpp
LTLA/diet.scran
c274bf058e10c174a06a409af50fcad225d40f0d
[ "MIT" ]
null
null
null
src/filter_cells.cpp
LTLA/diet.scran
c274bf058e10c174a06a409af50fcad225d40f0d
[ "MIT" ]
null
null
null
src/filter_cells.cpp
LTLA/diet.scran
c274bf058e10c174a06a409af50fcad225d40f0d
[ "MIT" ]
null
null
null
#include "tatamize.h" #include "scran/quality_control/FilterCells.hpp" #include "Rcpp.h" //[[Rcpp::export(rng=false)]] SEXP filter_cells(SEXP x, Rcpp::LogicalVector discard) { scran::FilterCells qc; auto y = qc.run(extract_NumericMatrix_shared(x), static_cast<const int*>(discard.begin())); return new_Matri...
31.181818
95
0.723032
LTLA
be18722437b404c2701a0321ff7f681cac1ac88a
1,777
cpp
C++
Prim's_Algorithm _for_MST.cpp
taareek/c-plus-plus
b9d04f710e9b2e65786618f8bbced4a56c149444
[ "Unlicense" ]
null
null
null
Prim's_Algorithm _for_MST.cpp
taareek/c-plus-plus
b9d04f710e9b2e65786618f8bbced4a56c149444
[ "Unlicense" ]
null
null
null
Prim's_Algorithm _for_MST.cpp
taareek/c-plus-plus
b9d04f710e9b2e65786618f8bbced4a56c149444
[ "Unlicense" ]
null
null
null
#include<iostream> #include<cstdlib> #define a 9 using namespace std; struct prims { int cost; int parent; bool visited; }; void printGraph(int graph[a][a]){ for(int i=0; i<a; i++){ for(int j=0; j<a; j++){ cout<<graph[i][j]<<" "; } cout<<endl; ...
20.662791
66
0.420934
taareek
be1aa88cce90ce63ac8cd0d78f3045ee6dd9cdf8
12,230
hpp
C++
framework/areg/base/RuntimeClassID.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
framework/areg/base/RuntimeClassID.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
framework/areg/base/RuntimeClassID.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
#pragma once /************************************************************************ * This file is part of the AREG SDK core engine. * AREG SDK is dual-licensed under Free open source (Apache version 2.0 * License) and Commercial (with various pricing models) licenses, depending * on the nature of the project (c...
35.865103
107
0.553802
Ali-Nasrolahi
be1bb2e706b7d4485d8d48b4f2d049421bf5275b
6,764
cc
C++
chrome/browser/component_updater/component_patcher_operation_browsertest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/component_updater/component_patcher_operation_browsertest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/component_updater/component_patcher_operation_browsertest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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 "base/base_paths.h" #include "base/bind.h" #include "base/callback.h" #include "base/files/file.h" #include "base/files/file_path.h" #include "ba...
34.161616
79
0.714666
sarang-apps
be1ec1f0e46485e8f7775cc784e8d2d64e8b2c98
1,200
cpp
C++
RLSimion/CNTKWrapper/InputData.cpp
xcillero001/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
1
2019-02-21T10:40:28.000Z
2019-02-21T10:40:28.000Z
RLSimion/CNTKWrapper/InputData.cpp
JosuGom3z/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
null
null
null
RLSimion/CNTKWrapper/InputData.cpp
JosuGom3z/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
null
null
null
#include "InputData.h" #include "xmltags.h" #include "ParameterValues.h" #include "CNTKWrapperInternals.h" #include "Exceptions.h" InputData::InputData(tinyxml2::XMLElement * pParentNode) { m_id = pParentNode->Attribute(XML_ATTRIBUTE_Id); if (m_id.empty()) throw ProblemParserElementNotFound(XML_ATTRIBUTE_Id); ...
22.222222
132
0.758333
xcillero001
be2028dd6194d28f16be8bda33256e006569f045
14,138
cpp
C++
private/src/diagnostic/IasDiagnosticStream.cpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
5
2018-11-05T07:37:58.000Z
2022-03-04T06:40:09.000Z
private/src/diagnostic/IasDiagnosticStream.cpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
null
null
null
private/src/diagnostic/IasDiagnosticStream.cpp
juimonen/SmartXbar
033f521a5dba5bce5e097df9c98af5b2cc2636dd
[ "BSD-3-Clause" ]
7
2018-12-04T07:32:19.000Z
2021-02-17T11:28:28.000Z
/* * Copyright (C) 2018 Intel Corporation.All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * File: IasDiagnosticStream.cpp */ #include <assert.h> #include <ctime> #include <cstdio> #include <algorithm> #include <chrono> #include "diagnostic/IasDiagnosticStream.hpp" #include "diagnostic/Ias...
33.742243
302
0.698331
juimonen
be252a88b5fdcdffbe0c7deef9a4179ac1b916d9
1,874
cpp
C++
算法学习/第三章 分治法/00004H_选择最大最小元素/code.cpp
gaowanlu/LearnAlgorithm_2021
7e8f50d98a04a5820147d3cc1c2e84ccf9f0cb7e
[ "MIT" ]
1
2021-01-16T04:13:12.000Z
2021-01-16T04:13:12.000Z
算法学习/第三章 分治法/00004H_选择最大最小元素/code.cpp
gaowanlu/LearnAlgorithm_2021
7e8f50d98a04a5820147d3cc1c2e84ccf9f0cb7e
[ "MIT" ]
null
null
null
算法学习/第三章 分治法/00004H_选择最大最小元素/code.cpp
gaowanlu/LearnAlgorithm_2021
7e8f50d98a04a5820147d3cc1c2e84ccf9f0cb7e
[ "MIT" ]
null
null
null
/* 在第一章中,我们用迭代枚举求解了,寻找最大最小元素 学了分治思想算法,我们能否利用分治的思想 来解决,在数字序列中寻找 最大元素 与 最小元素呢 let's we get start 算法步骤 1 2 3 4 5 分为两部分 1 2 3 4 5 min=1 max=2 3 4 5 min=3 max=3 min=4 max=5 min=3 max=5 min=1 max=2 min=3 max=5 result=...
22.309524
54
0.478655
gaowanlu
be25620a6c09d51fbd97664e0d6e263b4fb04e7f
130
cpp
C++
src/modules/vmount/vmount.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
src/modules/vmount/vmount.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
src/modules/vmount/vmount.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:c3585e2db12c3926546d8188a694cd568aa96746e1589110d909fb4649296d1f size 18247
32.5
75
0.884615
Diksha-agg
be2927dafaa6379e3f2fe1a3f64700e9781ce4ed
981
cpp
C++
examples/gpds/main.cpp
Tectu/cpp-properties
b56a5ae13a21a3d8569cce9290d8d8befae15f3f
[ "MIT" ]
9
2021-01-08T11:44:14.000Z
2021-09-05T13:48:35.000Z
examples/gpds/main.cpp
Tectu/cpp-properties
b56a5ae13a21a3d8569cce9290d8d8befae15f3f
[ "MIT" ]
4
2021-01-07T22:32:41.000Z
2021-09-14T20:08:04.000Z
examples/gpds/main.cpp
Tectu/cpp-properties
b56a5ae13a21a3d8569cce9290d8d8befae15f3f
[ "MIT" ]
1
2021-03-04T06:28:20.000Z
2021-03-04T06:28:20.000Z
#include <iostream> #include <gpds/container.hpp> #include <gpds/archiver_xml.hpp> #include "cppproperties/properties.hpp" #include "cppproperties/archiver_gpds.hpp" struct shape : tct::properties::properties { MAKE_PROPERTY(locked, bool); MAKE_PROPERTY(x, int); MAKE_PROPERTY(y, int); MAKE_PROPER...
20.87234
50
0.610601
Tectu
be2c2fafa2b3aed8c193c6c1bf55d2fdb5f05f13
965
cpp
C++
Medium/19_Remove_Nth_Node_From_End_of_List.cpp
Napolean28/leet
80854c24a9549cc665bddc8e87489bd4b550a00d
[ "MIT" ]
1
2019-12-24T19:41:34.000Z
2019-12-24T19:41:34.000Z
Medium/19_Remove_Nth_Node_From_End_of_List.cpp
Napolean28/leet
80854c24a9549cc665bddc8e87489bd4b550a00d
[ "MIT" ]
null
null
null
Medium/19_Remove_Nth_Node_From_End_of_List.cpp
Napolean28/leet
80854c24a9549cc665bddc8e87489bd4b550a00d
[ "MIT" ]
1
2019-12-23T10:20:00.000Z
2019-12-23T10:20:00.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: int getLen(ListNode* head){ int len = 0; while(head != NULL){ len++; head = head->next;...
22.44186
56
0.448705
Napolean28
be2e6b23a9304f8649854777c544bf9a789b482d
63,382
cpp
C++
libpdgl/rift/OculusSDK/Samples/OculusWorldDemo/OculusWorldDemo.cpp
cr88192/bgbtech_engine
03869a92fbf3197dd176d311f3b917f4f4e88d1a
[ "MIT" ]
1
2019-07-02T22:53:52.000Z
2019-07-02T22:53:52.000Z
libpdgl/rift/OculusSDK/Samples/OculusWorldDemo/OculusWorldDemo.cpp
cr88192/bgbtech_engine
03869a92fbf3197dd176d311f3b917f4f4e88d1a
[ "MIT" ]
5
2015-11-17T05:45:50.000Z
2015-11-26T18:36:51.000Z
libpdgl/rift/OculusSDK/Samples/OculusWorldDemo/OculusWorldDemo.cpp
cr88192/bgbtech_engine
03869a92fbf3197dd176d311f3b917f4f4e88d1a
[ "MIT" ]
null
null
null
/************************************************************************************ Filename : OculusWorldDemo.cpp Content : First-person view test application for Oculus Rift Created : October 4, 2012 Authors : Michael Antonov, Andrew Reisse, Steve LaValle Peter Hoff, Dan Goodman, Bryan C...
32.959958
138
0.565176
cr88192
be3001675b70a04f35feab7ee872b2a8bbfadc18
7,011
cpp
C++
src/core/postprocessing/backbuffer_resolver.cpp
SleepKiller/swbfii-shaderpatch
b49ce3349d4dd09b19237ff4766652166ba1ffd4
[ "MIT" ]
5
2018-03-02T04:02:39.000Z
2018-08-07T19:36:50.000Z
src/core/postprocessing/backbuffer_resolver.cpp
SleepKiller/swbfii-shaderpatch
b49ce3349d4dd09b19237ff4766652166ba1ffd4
[ "MIT" ]
27
2018-03-10T20:37:38.000Z
2018-10-08T11:10:34.000Z
src/core/postprocessing/backbuffer_resolver.cpp
SleepKiller/swbfii-shaderpatch
b49ce3349d4dd09b19237ff4766652166ba1ffd4
[ "MIT" ]
null
null
null
#include "backbuffer_resolver.hpp" #include "../d3d11_helpers.hpp" #include <DirectXTex.h> namespace sp::core::postprocessing { Backbuffer_resolver::Backbuffer_resolver(Com_ptr<ID3D11Device5> device, shader::Database& shaders) : _resolve_vs{std::get<0>( shaders.ve...
36.326425
89
0.607046
SleepKiller
be336e816c8b899a7c976e3e9a0ac37c4b723b66
4,465
cpp
C++
armm/STM32/src/hwi2cslave_stm32_v1.cpp
Bergi84/vihal
7c139b544bb5ed5a27088bbb6b993f061e055ce8
[ "BSD-2-Clause" ]
13
2018-02-26T14:56:02.000Z
2022-03-31T06:01:56.000Z
armm/STM32/src/hwi2cslave_stm32_v1.cpp
Bergi84/vihal
7c139b544bb5ed5a27088bbb6b993f061e055ce8
[ "BSD-2-Clause" ]
2
2022-03-12T10:18:07.000Z
2022-03-14T20:06:26.000Z
armm/STM32/src/hwi2cslave_stm32_v1.cpp
Bergi84/vihal
7c139b544bb5ed5a27088bbb6b993f061e055ce8
[ "BSD-2-Clause" ]
3
2020-11-04T09:15:01.000Z
2021-07-06T09:42:00.000Z
/* ----------------------------------------------------------------------------- * This file is a part of the NVCM project: https://github.com/nvitya/nvcm * Copyright (c) 2018 Viktor Nagy, nvitya * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be held ...
20.864486
97
0.618365
Bergi84
be33f928b091cb9843bd6739b8f6114c9175140f
591
cpp
C++
test/language/enumeration_types/cpp/EnumDefinedByConstantTest.cpp
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
86
2018-09-06T09:30:53.000Z
2022-03-27T01:12:36.000Z
test/language/enumeration_types/cpp/EnumDefinedByConstantTest.cpp
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
362
2018-09-04T20:21:24.000Z
2022-03-30T15:14:38.000Z
test/language/enumeration_types/cpp/EnumDefinedByConstantTest.cpp
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
20
2018-09-10T15:59:02.000Z
2021-12-01T15:38:22.000Z
#include "gtest/gtest.h" #include "enumeration_types/enum_defined_by_constant/Colors.h" #include "enumeration_types/enum_defined_by_constant/WHITE_COLOR.h" namespace enumeration_types { namespace enum_defined_by_constant { class EnumDefinedByConstant : public ::testing::Test { }; TEST_F(EnumDefinedByConstant, light...
24.625
90
0.788494
dkBrazz
be341e8d65a3a103c2400bd43d9009349a22888d
6,052
hxx
C++
Common/OpenCL/Filters/itkGPUTranslationTransformBase.hxx
squll1peter/elastix
e58c831a91df6233605f96ad060119439756ca90
[ "Apache-2.0" ]
1
2020-11-12T12:17:02.000Z
2020-11-12T12:17:02.000Z
Common/OpenCL/Filters/itkGPUTranslationTransformBase.hxx
squll1peter/elastix
e58c831a91df6233605f96ad060119439756ca90
[ "Apache-2.0" ]
null
null
null
Common/OpenCL/Filters/itkGPUTranslationTransformBase.hxx
squll1peter/elastix
e58c831a91df6233605f96ad060119439756ca90
[ "Apache-2.0" ]
1
2021-01-16T08:59:39.000Z
2021-01-16T08:59:39.000Z
/*========================================================================= * * Copyright UMC Utrecht and contributors * * 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...
28.413146
94
0.660278
squll1peter
be393597aafda60712bc16de7518b01a798ee7c3
449
hpp
C++
iOS/G3MiOSSDK/Commons/Rendererers/VisibleSectorListener.hpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
1
2016-08-23T10:29:44.000Z
2016-08-23T10:29:44.000Z
iOS/G3MiOSSDK/Commons/Rendererers/VisibleSectorListener.hpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MiOSSDK/Commons/Rendererers/VisibleSectorListener.hpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
null
null
null
// // VisibleSectorListener.hpp // G3MiOSSDK // // Created by Diego Gomez Deck on 1/17/13. // // #ifndef __G3MiOSSDK__VisibleSectorListener__ #define __G3MiOSSDK__VisibleSectorListener__ #include "Sector.hpp" class VisibleSectorListener { public: virtual ~VisibleSectorListener() { } virtual void onVisibleS...
17.96
75
0.699332
restjohn
be3944e34edde676ff4d93b9d326f3e846e7198f
5,877
cpp
C++
src/globalsearch/http/httprequestmanager.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
23
2017-09-01T04:35:02.000Z
2022-01-16T13:51:17.000Z
src/globalsearch/http/httprequestmanager.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
20
2017-08-29T15:29:46.000Z
2022-01-20T09:10:59.000Z
src/globalsearch/http/httprequestmanager.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
21
2017-06-15T03:11:34.000Z
2022-02-28T05:20:44.000Z
/********************************************************************** HttpRequestManager - Submit http 'get' and 'post' requests with a QNetworkAccessManager and receive the results Copyright (C) 2017-2018 by Patrick Avery This source code is released under the New BSD License, (the "Li...
30.931579
80
0.674153
lilithean
be3a0c39567c62c15320c7468a85fb540c600e45
2,056
cpp
C++
WiXCustomActions/CustomAction.cpp
droobah/privacyidea-credential-provider
275ce8ba8852716eeadc67d264802d697d46816a
[ "Apache-2.0" ]
null
null
null
WiXCustomActions/CustomAction.cpp
droobah/privacyidea-credential-provider
275ce8ba8852716eeadc67d264802d697d46816a
[ "Apache-2.0" ]
null
null
null
WiXCustomActions/CustomAction.cpp
droobah/privacyidea-credential-provider
275ce8ba8852716eeadc67d264802d697d46816a
[ "Apache-2.0" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * ** ** Copyright 2012 Dominik Pretzsch ** ** 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/LICEN...
25.7
78
0.693093
droobah
be3d407877150ee39192f8a603838808f55b3bec
1,558
cpp
C++
test/windows_on_apc_known.cpp
lanza/coroutine
c90caab988f96997f5bc1bd6f1958b80524fa14a
[ "CC-BY-4.0" ]
368
2018-11-22T22:57:04.000Z
2022-03-31T04:04:54.000Z
test/windows_on_apc_known.cpp
lanza/coroutine
c90caab988f96997f5bc1bd6f1958b80524fa14a
[ "CC-BY-4.0" ]
35
2018-11-09T04:38:20.000Z
2022-01-27T01:10:02.000Z
test/windows_on_apc_known.cpp
lanza/coroutine
c90caab988f96997f5bc1bd6f1958b80524fa14a
[ "CC-BY-4.0" ]
29
2018-12-26T14:03:47.000Z
2022-02-11T17:36:55.000Z
/** * @author github.com/luncliff (luncliff@gmail.com) */ #undef NDEBUG #include <atomic> #include <cassert> #include <iostream> #include <gsl/gsl> #include <coroutine/return.h> #include <coroutine/windows.h> using namespace std; using namespace coro; auto procedure_call_on_known_thread(HANDLE thread, HANDLE eve...
28.851852
77
0.673941
lanza
be3deb80e8531487df0b431d675cadcadfb98212
3,633
hpp
C++
Periapsis/src/game/main_window.hpp
kulibali/periapsis
8a8588caff526d3b17604c96338145329be160b8
[ "MIT" ]
null
null
null
Periapsis/src/game/main_window.hpp
kulibali/periapsis
8a8588caff526d3b17604c96338145329be160b8
[ "MIT" ]
null
null
null
Periapsis/src/game/main_window.hpp
kulibali/periapsis
8a8588caff526d3b17604c96338145329be160b8
[ "MIT" ]
null
null
null
#ifndef PERIAPSIS_MAIN_WINDOW_H #define PERIAPSIS_MAIN_WINDOW_H // // $Id$ // // Copyright (c) 2008, The Periapsis Project. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // ...
35.271845
109
0.674649
kulibali
be3e65e07c3fcb64b7a52b965e48bccb6d9f8577
340
cpp
C++
src/patternMatchValidator/AnyPatternMatchValidator.cpp
sroehling/ChartPatternRecognitionLib
d9bd25c0fc5a8942bb98c74c42ab52db80f680c1
[ "MIT" ]
9
2019-07-15T19:10:07.000Z
2021-12-14T12:16:18.000Z
src/patternMatchValidator/AnyPatternMatchValidator.cpp
sroehling/ChartPatternRecognitionLib
d9bd25c0fc5a8942bb98c74c42ab52db80f680c1
[ "MIT" ]
null
null
null
src/patternMatchValidator/AnyPatternMatchValidator.cpp
sroehling/ChartPatternRecognitionLib
d9bd25c0fc5a8942bb98c74c42ab52db80f680c1
[ "MIT" ]
2
2020-05-23T03:25:25.000Z
2021-11-19T16:41:44.000Z
/* * AnyPatternMatchValidator.cpp * * Created on: Jun 18, 2014 * Author: sroehling */ #include <AnyPatternMatchValidator.h> AnyPatternMatchValidator::AnyPatternMatchValidator() { } bool AnyPatternMatchValidator::validPattern(const PatternMatch &) { return true; } AnyPatternMatchValidator::~AnyPatternMa...
15.454545
65
0.75
sroehling
be41f1e87de4fe59078b694951cb90900698e62d
826
cpp
C++
src/gamelib/components/CollisionComponent.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
1
2020-02-17T09:53:36.000Z
2020-02-17T09:53:36.000Z
src/gamelib/components/CollisionComponent.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
null
null
null
src/gamelib/components/CollisionComponent.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
null
null
null
#include "gamelib/components/CollisionComponent.hpp" #include "gamelib/core/geometry/CollisionSystem.hpp" namespace gamelib { CollisionComponent::CollisionComponent() { _props.registerProperty("flags", flags, 0, num_colflags, str_colflags); } CollisionComponent::~CollisionComponent() { ...
20.146341
79
0.623487
mall0c
be42554cbc4e5b35acaf0ad990cbef4e0da7c9dd
514
cpp
C++
tableinfo.cpp
santomet/JustOneMoreBeerPlease
af22e68ea2a964b7b9d70d43b81f708df9446a9b
[ "WTFPL" ]
null
null
null
tableinfo.cpp
santomet/JustOneMoreBeerPlease
af22e68ea2a964b7b9d70d43b81f708df9446a9b
[ "WTFPL" ]
null
null
null
tableinfo.cpp
santomet/JustOneMoreBeerPlease
af22e68ea2a964b7b9d70d43b81f708df9446a9b
[ "WTFPL" ]
1
2019-06-15T20:01:47.000Z
2019-06-15T20:01:47.000Z
#include "tableinfo.h" TableInfo::TableInfo(QObject *parent) : QObject(parent) { } QString TableInfo::name() { return mName; } int TableInfo::id() { return mId; } bool TableInfo::isWaitingOrder() { return waitingOrder; } void TableInfo::setName(const QString &name) { mName = name; emit nameCha...
12.85
55
0.669261
santomet
be45a5d04efd03001b7ea061367aba467b00b7ba
349
cpp
C++
library/succinct/main.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
40
2017-11-26T05:29:18.000Z
2020-11-13T00:29:26.000Z
library/succinct/main.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
101
2019-02-09T06:06:09.000Z
2021-12-25T16:55:37.000Z
library/succinct/main.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
6
2017-01-03T14:17:58.000Z
2021-01-22T10:37:04.000Z
#include <iostream> using namespace std; #define TEST(ModuleName) extern void test##ModuleName(void); \ test##ModuleName() int main(void) { TEST(BitVectorRank); TEST(WaveletTree); TEST(WaveletTreeBitVector); TEST(WaveletMatrix); TEST(WaveletMatrixArray); TEST(Wa...
21.8125
65
0.659026
bluedawnstar
be46616bf23901fa75ab08931a99583b1bce52bd
530
hpp
C++
unit_tests/classgenerator.hpp
julienlopez/CppDependencyAnalyzer
d29065e7988ef7f553785ce7cb8bf2bb03097c66
[ "MIT" ]
null
null
null
unit_tests/classgenerator.hpp
julienlopez/CppDependencyAnalyzer
d29065e7988ef7f553785ce7cb8bf2bb03097c66
[ "MIT" ]
7
2019-12-10T12:59:20.000Z
2020-07-01T14:13:44.000Z
unit_tests/classgenerator.hpp
julienlopez/CppDependencyAnalyzer
d29065e7988ef7f553785ce7cb8bf2bb03097c66
[ "MIT" ]
null
null
null
#pragma once #include "class.hpp" namespace Testing { class ClassGenerator { public: explicit ClassGenerator(std::wstring class_name = L"A", std::wstring header_file_name = L"a.hpp"); ~ClassGenerator() = default; operator Cda::ClassFiles() const; ClassGenerator& addLine(std::wstring line); privat...
18.928571
102
0.713208
julienlopez
be4723f5197a44609d384533bee263f0f7a7494d
4,825
cpp
C++
demo/sdk_demo_v2/SETTINGS_virtualBG_workflow.cpp
j421037/zoom
3ba230a3ace50b7b8d722550eb320011a374f90d
[ "RSA-MD" ]
null
null
null
demo/sdk_demo_v2/SETTINGS_virtualBG_workflow.cpp
j421037/zoom
3ba230a3ace50b7b8d722550eb320011a374f90d
[ "RSA-MD" ]
null
null
null
demo/sdk_demo_v2/SETTINGS_virtualBG_workflow.cpp
j421037/zoom
3ba230a3ace50b7b8d722550eb320011a374f90d
[ "RSA-MD" ]
3
2020-11-04T08:51:33.000Z
2020-11-06T04:49:07.000Z
#include "stdafx.h" #include "SETTINGS_virtualBG_workflow.h" CSDKVirtualBGSettingsWorkFlow::CSDKVirtualBGSettingsWorkFlow() { m_pSettingService = NULL; m_pVBGSettingContext = NULL; m_pVideoSettingsContext = NULL; m_pTestVideoDeviceHelper = NULL; Init(); } CSDKVirtualBGSettingsWorkFlow::~CSDKVirtualBGSettingsWorkF...
28.382353
144
0.813886
j421037
be47515f112bca48f2482eaa5053e10ae7164f0a
18,152
cpp
C++
external/vulkancts/modules/vulkan/memory_model/vktMemoryModelSharedLayoutCase.cpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
354
2017-01-24T17:12:38.000Z
2022-03-30T07:40:19.000Z
external/vulkancts/modules/vulkan/memory_model/vktMemoryModelSharedLayoutCase.cpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
275
2017-01-24T20:10:36.000Z
2022-03-24T16:24:50.000Z
external/vulkancts/modules/vulkan/memory_model/vktMemoryModelSharedLayoutCase.cpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
190
2017-01-24T18:02:04.000Z
2022-03-27T13:11:23.000Z
/*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2021 The Khronos Group Inc. * Copyright (c) 2021 Google LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except i...
34.707457
149
0.687032
iabernikhin
be487eca0271cd5326b4063632b42274629692ef
1,363
hpp
C++
source/URI/Query.hpp
kurocha/uri
b920d01de5323126eaf539d4217d357b47fde64e
[ "Unlicense", "MIT" ]
2
2018-07-06T19:43:16.000Z
2018-07-06T19:44:46.000Z
source/URI/Query.hpp
kurocha/uri
b920d01de5323126eaf539d4217d357b47fde64e
[ "Unlicense", "MIT" ]
null
null
null
source/URI/Query.hpp
kurocha/uri
b920d01de5323126eaf539d4217d357b47fde64e
[ "Unlicense", "MIT" ]
null
null
null
// // Query.hpp // File file is part of the "URI" project and released under the MIT License. // // Created by Samuel Williams on 17/7/2017. // Copyright, 2017, by Samuel Williams. All rights reserved. // #pragma once #include "Encoding.hpp" #include <string> #include <map> namespace URI { /// Assumes applicat...
28.395833
86
0.685253
kurocha
be4a2a539596993af1f41b575016539abd897ef6
1,109
hpp
C++
icarus/socketsfunc.hpp
Jusot/icarus
1b908b0d7ff03d6ee088c94730acfef36101ef32
[ "MIT" ]
4
2019-04-01T10:49:54.000Z
2020-12-24T11:46:45.000Z
icarus/socketsfunc.hpp
Jusot/Icarus
1b908b0d7ff03d6ee088c94730acfef36101ef32
[ "MIT" ]
null
null
null
icarus/socketsfunc.hpp
Jusot/Icarus
1b908b0d7ff03d6ee088c94730acfef36101ef32
[ "MIT" ]
1
2019-04-04T02:36:29.000Z
2019-04-04T02:36:29.000Z
#ifndef ICARUS_SOCKHELPER_HPP #define ICARUS_SOCKHELPER_HPP #include <cstdint> #include <sys/uio.h> namespace icarus { namespace sockets { int create_nonblocking_or_die(); int connect(int sockfd, const struct sockaddr* addr); void bind_or_die(int sockfd, const struct sockaddr* addr); void listen_or_die(int sockfd);...
25.790698
63
0.808837
Jusot
be5105142969bbb610f8de19362de4913e4e2930
4,986
cpp
C++
Aula 4/a4ex1.cpp
LuisEduardoR/SCC0210-Advanced-Algorithms
714670e87b56fcfe6f850d826a5cdd38ec7e0603
[ "MIT" ]
null
null
null
Aula 4/a4ex1.cpp
LuisEduardoR/SCC0210-Advanced-Algorithms
714670e87b56fcfe6f850d826a5cdd38ec7e0603
[ "MIT" ]
null
null
null
Aula 4/a4ex1.cpp
LuisEduardoR/SCC0210-Advanced-Algorithms
714670e87b56fcfe6f850d826a5cdd38ec7e0603
[ "MIT" ]
null
null
null
/* In this problem we will be considering a game played with four wheels. Digits ranging from 0 to 9 are printed consecutively (clockwise) on the periphery of each wheel. The topmost digits of the wheels form a four-digit integer. For example, in the following figure the wheels form the integer 8056. Each wheel has tw...
21.678261
104
0.529884
LuisEduardoR
be56e60561f98ff854f29f7a4636fda78b0f6ce8
647
hpp
C++
src/Cell.hpp
JaroslawWiosna/nonogram-solver
5d6f9eec5b56700e2930478e67bc99b7b8951664
[ "MIT" ]
null
null
null
src/Cell.hpp
JaroslawWiosna/nonogram-solver
5d6f9eec5b56700e2930478e67bc99b7b8951664
[ "MIT" ]
null
null
null
src/Cell.hpp
JaroslawWiosna/nonogram-solver
5d6f9eec5b56700e2930478e67bc99b7b8951664
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <cassert> #include <functional> #include <iostream> #include <memory> #include <vector> enum class Cell_type { unfilled = -1, empty, one, }; struct Cell { Cell_type type = Cell_type::unfilled; void print() const { switch (type) { case Cel...
18.485714
41
0.446677
JaroslawWiosna
be57434d352eadefc22396c8caa40c1f7027e55d
807
cc
C++
src/.unfinished/_89-gray-code.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
2
2018-07-28T06:11:30.000Z
2019-01-15T15:16:54.000Z
src/.unfinished/_89-gray-code.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
null
null
null
src/.unfinished/_89-gray-code.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
null
null
null
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the sequence of gray code. A gray code sequence must begin with 0. Example 1: Input: 2 Output: [0,1,3,2] Explanation: 00 - 0 01 - 1 11 -...
20.692308
116
0.677819
q191201771
be586aef943398347d424720037eeb46d868e3a7
632
cpp
C++
FlightComputerV2/src/Mount.cpp
jowallace1/FlightComputerV2
b8ea60bd370243ef05611267cba214bf72c34f9b
[ "MIT" ]
null
null
null
FlightComputerV2/src/Mount.cpp
jowallace1/FlightComputerV2
b8ea60bd370243ef05611267cba214bf72c34f9b
[ "MIT" ]
null
null
null
FlightComputerV2/src/Mount.cpp
jowallace1/FlightComputerV2
b8ea60bd370243ef05611267cba214bf72c34f9b
[ "MIT" ]
null
null
null
#include "Mount.h" Mount::Mount(double yawRatio, unsigned int yawOffset, unsigned int yawPin, double pitchRatio, unsigned int pitchOffset, unsigned int pitchPin) : yawRatio(yawRatio), pitchRatio(pitchRatio) { yawServo.offset = yawOffset; yawServo.pin = yawPin; pitchServo.offset = pitchOffset; pitc...
19.151515
142
0.683544
jowallace1
be58abfad3ffe9229687fbb04fe0b7dae8b45799
511
cpp
C++
Basic/Calculate Nth Fibonacci Number/SolutionByRamneek.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
261
2019-09-30T19:47:29.000Z
2022-03-29T18:20:07.000Z
Basic/Calculate Nth Fibonacci Number/SolutionByRamneek.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
647
2019-10-01T16:51:29.000Z
2021-12-16T20:39:44.000Z
Basic/Calculate Nth Fibonacci Number/SolutionByRamneek.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
383
2019-09-30T19:32:07.000Z
2022-03-24T16:18:26.000Z
#include <iostream> using namespace std; int fibonacci(int x) { int a, b, c, i; a = 0; b = 1; if (x == 1) { return 0; } else if (x == 2) { return 1; } else { for (i = 3; i <= x; i++) { c = a + b; a = b; b = c; } ...
12.166667
69
0.379648
Mdanish777
be6002255810de8e91e64153bd1592890cfe773b
1,815
cpp
C++
code_reading/oceanbase-master/deps/oblib/src/lib/ob_name_id_def.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/deps/oblib/src/lib/ob_name_id_def.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/deps/oblib/src/lib/ob_name_id_def.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
29.274194
88
0.720661
wangcy6
41534a336201e5b58c51aa778b08dc92074aa99a
21,709
cpp
C++
bindings/cpp/opencv_4/superres.cpp
bamorim/opencv-rust
d83ac457cea9540f2d535bc6158e1910ba887eea
[ "MIT" ]
null
null
null
bindings/cpp/opencv_4/superres.cpp
bamorim/opencv-rust
d83ac457cea9540f2d535bc6158e1910ba887eea
[ "MIT" ]
null
null
null
bindings/cpp/opencv_4/superres.cpp
bamorim/opencv-rust
d83ac457cea9540f2d535bc6158e1910ba887eea
[ "MIT" ]
null
null
null
#include "common.hpp" #include <opencv2/superres.hpp> #include "superres_types.hpp" extern "C" { Result<cv::Ptr<cv::superres::FrameSource>*> cv_superres_createFrameSource_Camera_int(int deviceId) { try { cv::Ptr<cv::superres::FrameSource> ret = cv::superres::createFrameSource_Camera(deviceId); return Ok(new c...
34.845907
298
0.752591
bamorim