hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
7945a84d9a2c62378e2471d1edfb16dfbf3fdc95
819
cpp
C++
cpp1st/week07/byongmin/01.constexpr.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
2
2022-03-10T10:18:23.000Z
2022-03-16T15:37:22.000Z
cpp1st/week07/byongmin/01.constexpr.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
8
2022-03-09T16:14:47.000Z
2022-03-28T15:35:17.000Z
cpp1st/week07/byongmin/01.constexpr.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
4
2022-03-08T00:22:29.000Z
2022-03-12T13:22:43.000Z
#include <iostream> using namespace std; class RectConst { public: constexpr RectConst(size_t width, size_t height) : myWidth(width), myHeight(height) { } constexpr size_t getArea() const { return myWidth * myHeight; } private: int myWidth; int myHeight; }; class Rec...
15.75
93
0.600733
th4inquiry
794a1568ac8c9fa554b21ebbbf04ecf8e77adaec
25,708
cpp
C++
fhq-jury-ad/src/core/light_http_server.cpp
SibirCTF/2019-jury-system
bbd09c36b325ba1b616abfeca147ca1d113a2e97
[ "MIT" ]
null
null
null
fhq-jury-ad/src/core/light_http_server.cpp
SibirCTF/2019-jury-system
bbd09c36b325ba1b616abfeca147ca1d113a2e97
[ "MIT" ]
null
null
null
fhq-jury-ad/src/core/light_http_server.cpp
SibirCTF/2019-jury-system
bbd09c36b325ba1b616abfeca147ca1d113a2e97
[ "MIT" ]
null
null
null
#include "light_http_server.h" #include <utils_logger.h> #include <sstream> #include <iostream> #include <vector> #include <sys/stat.h> #include <sys/time.h> #include <fstream> #include <regex> // regex, sregex_token_iterator #include <stdio.h> #include <math.h> #include <thread> #include <algorithm> #include <f...
32.707379
137
0.512603
SibirCTF
794eabe2a177cfb60461b8cfdd4cc07673433e37
3,416
cpp
C++
c++/serial2com/v0.2/serial_write.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
c++/serial2com/v0.2/serial_write.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
c++/serial2com/v0.2/serial_write.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <string> #include <sys/types.h> #include <errno.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <termios.h> //#include <stdlib.h> int open_port(int fd,int comport); int set_opt(int fd,int nSpeed,int nBits,char nEvent,int nStop); int main(int argc,char * argv[]) { ...
19.745665
82
0.619145
BoKoIsMe
7951c2099d2a2305c69ec684eb3cd8f04736fdcd
3,107
cpp
C++
Legacy/PrintBotDevelopmentEnvironment/Dialog.cpp
reghrafa/PrintBot
fb6b8e5dcb5cbf2c1b80ae89635e09081fff1617
[ "MIT" ]
null
null
null
Legacy/PrintBotDevelopmentEnvironment/Dialog.cpp
reghrafa/PrintBot
fb6b8e5dcb5cbf2c1b80ae89635e09081fff1617
[ "MIT" ]
null
null
null
Legacy/PrintBotDevelopmentEnvironment/Dialog.cpp
reghrafa/PrintBot
fb6b8e5dcb5cbf2c1b80ae89635e09081fff1617
[ "MIT" ]
null
null
null
#include "Dialog.h" #include "ProgramBlock.h" Dialog::Dialog(ProgramBlock *newProgramBlock, QWidget *parent) : programBlock(newProgramBlock), QWidget(parent) { // qDebug() << "neuer Dialog, this: " << this; qGridGroupBox.setFixedSize(DIALOG_WIDTH,DIALOG_HEIGHT); if (programBlock) { // ...
25.260163
117
0.646283
reghrafa
7959fe8af057f9068966bdfb0e40465848e2d815
1,249
cpp
C++
src/common/ServiceThread.cpp
kangliqiang/rocketmq-client4cpp
ebea2464f769f24f60206e998411f65c53f87b01
[ "Apache-2.0" ]
12
2016-01-07T07:24:05.000Z
2021-02-03T08:03:20.000Z
src/common/ServiceThread.cpp
yaosiming/vesselmq-client4c
a7af22d83c2e8cd27346940cd7215c7fe2918961
[ "Apache-2.0" ]
1
2016-12-27T07:45:14.000Z
2018-03-21T05:09:51.000Z
src/common/ServiceThread.cpp
yaosiming/vesselmq-client4c
a7af22d83c2e8cd27346940cd7215c7fe2918961
[ "Apache-2.0" ]
4
2016-01-14T11:10:22.000Z
2018-01-16T02:16:59.000Z
/** * Copyright (C) 2013 kangliqiang ,kangliq@163.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 required by applicable law ...
18.101449
74
0.705364
kangliqiang
79627c204104b1e470dac018c9aa33a0dc3dc6d0
11,414
hpp
C++
qmath/include/qmath/mat3.hpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
36
2015-03-09T16:47:14.000Z
2021-02-04T08:32:04.000Z
qmath/include/qmath/mat3.hpp
jeanlemotan/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
42
2017-02-11T11:15:51.000Z
2019-12-28T16:00:44.000Z
qmath/include/qmath/mat3.hpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
5
2015-10-15T05:46:48.000Z
2020-05-11T17:40:36.000Z
namespace math { template<typename T> mat3<T> const mat3<T>::zero(0); \ template<typename T> mat3<T> const mat3<T>::one(1); \ template<typename T> mat3<T> const mat3<T>::identity; \ /////////////////////////////////////////////////////////////////////...
26.482599
137
0.545733
jeanleflambeur
7966b213fa4cf117f76763778ebf11d519786445
11,667
hpp
C++
falcon/algorithm/recursive_for_each.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/algorithm/recursive_for_each.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/algorithm/recursive_for_each.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_ALGORITHM_RECURSIVE_FOR_EACH_HPP #define FALCON_ALGORITHM_RECURSIVE_FOR_EACH_HPP #include <falcon/c++/reference.hpp> #include <falcon/c++/conditional_cpp.hpp> #include <falcon/iterator/subrange_access_iterator.hpp> #include <falcon/type_traits/dimension.hpp> #include <falcon/type_traits/ignore.hpp> #inc...
29.240602
103
0.719294
jonathanpoelen
7967f4030b153b6da525d91f34be03b3ee49bf48
12,242
cpp
C++
platform/windows/Corona.Simulator/Rtt/Rtt_WinPlatformServices.cpp
sekodev/corona
b9a559d0cc68f5d9048444d710161fc5b778d981
[ "MIT" ]
null
null
null
platform/windows/Corona.Simulator/Rtt/Rtt_WinPlatformServices.cpp
sekodev/corona
b9a559d0cc68f5d9048444d710161fc5b778d981
[ "MIT" ]
null
null
null
platform/windows/Corona.Simulator/Rtt/Rtt_WinPlatformServices.cpp
sekodev/corona
b9a559d0cc68f5d9048444d710161fc5b778d981
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // ////////////////////////...
25.772632
101
0.689103
sekodev
7969faa8338352043414df4fa2fec8467422614b
20,523
cc
C++
src/asn1/oidc.cc
1computerguy/mercury
193bf6432e4f53f1253965f5ca8634bd6ca69136
[ "BSD-2-Clause" ]
null
null
null
src/asn1/oidc.cc
1computerguy/mercury
193bf6432e4f53f1253965f5ca8634bd6ca69136
[ "BSD-2-Clause" ]
null
null
null
src/asn1/oidc.cc
1computerguy/mercury
193bf6432e4f53f1253965f5ca8634bd6ca69136
[ "BSD-2-Clause" ]
null
null
null
// // oidc.cc - ASN.1 Object IDentifier Compiler // #include <string> #include <vector> #include <list> #include <iostream> #include <sstream> #include <iterator> #include <regex> #include <unordered_map> #include <map> #include <set> #include <algorithm> void oid_print(std::vector<uint32_t> oid, const char *label) ...
28.036885
117
0.489694
1computerguy
796c39e81409a53f2ec85d3123a382684bb29c4b
907
cpp
C++
src/medTest/medTestApplication.cpp
papadop/medInria-public
fd8bec14c97bb95bf4d58a60741ef3b7c159f757
[ "BSD-4-Clause" ]
null
null
null
src/medTest/medTestApplication.cpp
papadop/medInria-public
fd8bec14c97bb95bf4d58a60741ef3b7c159f757
[ "BSD-4-Clause" ]
null
null
null
src/medTest/medTestApplication.cpp
papadop/medInria-public
fd8bec14c97bb95bf4d58a60741ef3b7c159f757
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ====...
23.868421
118
0.585447
papadop
79711981a6ebb023671dcaad360a7ecd25dc4056
3,995
cpp
C++
speedcc/stage/SCBehaviorCocos.cpp
kevinwu1024/SpeedCC
7b32e3444236d8aebf8198ebc3fede8faf201dee
[ "MIT" ]
7
2018-03-10T02:01:49.000Z
2021-09-14T15:42:10.000Z
speedcc/stage/SCBehaviorCocos.cpp
kevinwu1024/SpeedCC
7b32e3444236d8aebf8198ebc3fede8faf201dee
[ "MIT" ]
null
null
null
speedcc/stage/SCBehaviorCocos.cpp
kevinwu1024/SpeedCC
7b32e3444236d8aebf8198ebc3fede8faf201dee
[ "MIT" ]
1
2018-03-10T02:01:58.000Z
2018-03-10T02:01:58.000Z
/**************************************************************************** Copyright (c) 2017-2020 Kevin Wu (Wu Feng) github: http://github.com/kevinwu1024 Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a...
27.176871
108
0.690363
kevinwu1024
7971b7f0d66aee308f86c5e4f098c13ae18881ff
2,189
cpp
C++
examples/pangomm/measure-text-pixel-size-simple-example.cpp
zhanglin-wu/cairomm-pangomm-on-linux-docker
aaec738fdd35c4540173e40d8203c022d36155d2
[ "BSD-3-Clause" ]
null
null
null
examples/pangomm/measure-text-pixel-size-simple-example.cpp
zhanglin-wu/cairomm-pangomm-on-linux-docker
aaec738fdd35c4540173e40d8203c022d36155d2
[ "BSD-3-Clause" ]
null
null
null
examples/pangomm/measure-text-pixel-size-simple-example.cpp
zhanglin-wu/cairomm-pangomm-on-linux-docker
aaec738fdd35c4540173e40d8203c022d36155d2
[ "BSD-3-Clause" ]
null
null
null
// apt-get install libpangomm-1.4-dev -y // mkdir -p build && cd build // g++ -g -Wall -o measure-text-pixel-size-simple-example `pkg-config --cflags cairomm-1.0 pangomm-1.4` ../measure-text-pixel-size-simple-example.cpp `pkg-config --libs cairomm-1.0 pangomm-1.4` #include <sstream> #include <iostream> #include <gl...
32.671642
193
0.669255
zhanglin-wu
7974ef528620669111c7a8fd717287e38ccbdd65
51,002
hpp
C++
dsp/L1/include/aie/fir_interpolate_asym.hpp
dycz0fx/Vitis_Libraries
d3fc414b552493657101ddb5245f24528720823d
[ "Apache-2.0" ]
1
2021-09-11T01:05:01.000Z
2021-09-11T01:05:01.000Z
dsp/L1/include/aie/fir_interpolate_asym.hpp
maxpark/Vitis_Libraries
4bd100518d93a8842d1678046ad7457f94eb355c
[ "Apache-2.0" ]
null
null
null
dsp/L1/include/aie/fir_interpolate_asym.hpp
maxpark/Vitis_Libraries
4bd100518d93a8842d1678046ad7457f94eb355c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Xilinx, Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
48.619638
120
0.463707
dycz0fx
7976518cf1e1d347ad3a55b752376b017a912b9f
234
cpp
C++
RandomQuestions/001.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
RandomQuestions/001.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
RandomQuestions/001.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
// 1. Round a number to the next largest multiple of 16 #include <iostream> int round_to_largest_16(int x) { return (x & 0xF) ? ((x >> 4 << 4) + 16) : x; } int main () { std::cout<<round_to_largest_16(30)<<std::endl; return 0; }
19.5
55
0.628205
harveyc95
797c72447f93a0bbddb17cc3907cd1059127dff0
2,420
cpp
C++
m07/Pr16-1a_catch_types.cpp
dvcchern/CS200
333df210e70757da7cec481314b1a1e734fd03ed
[ "MIT" ]
4
2020-02-14T23:54:05.000Z
2022-01-30T18:29:06.000Z
m07/Pr16-1a_catch_types.cpp
dvcchern/CS200
333df210e70757da7cec481314b1a1e734fd03ed
[ "MIT" ]
null
null
null
m07/Pr16-1a_catch_types.cpp
dvcchern/CS200
333df210e70757da7cec481314b1a1e734fd03ed
[ "MIT" ]
6
2020-02-24T07:06:47.000Z
2022-02-03T02:46:46.000Z
//__________________________________________ // throw primitive types ... #include <iostream> #include <stdexcept> // for runtime_error #include <string> using namespace std; int main() { string choice, word, text; // User input for choices and input auto menu = [] ( ) { cout << "_______ Throw Primiti...
31.025641
67
0.416116
dvcchern
797d6cc72e76b9b5dfdfa7de28f480987c8a673d
206
cpp
C++
CppStrangeIoC/framework/context/icontext.cpp
AndreySkyFoxSidorov/CppStrangeIoC
cae0953ec4a1fce838d7c138153d4279d3fb2c4b
[ "Apache-2.0" ]
2
2018-06-06T11:26:48.000Z
2019-04-11T14:05:42.000Z
CppStrangeIoC/framework/context/icontext.cpp
AndreySkyFoxSidorov/CppStrangeIoC
cae0953ec4a1fce838d7c138153d4279d3fb2c4b
[ "Apache-2.0" ]
null
null
null
CppStrangeIoC/framework/context/icontext.cpp
AndreySkyFoxSidorov/CppStrangeIoC
cae0953ec4a1fce838d7c138153d4279d3fb2c4b
[ "Apache-2.0" ]
2
2018-06-06T11:26:49.000Z
2021-07-26T03:43:16.000Z
#include "IContext.h" using namespace strange::framework::api; using namespace strange::extensions::dispatcher::api; namespace strange { namespace extensions { namespace context { namespace api { } } } }
12.117647
53
0.757282
AndreySkyFoxSidorov
797f505532498773f395f24d9b664e3b2fd4cfbd
1,016
hpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/Defines.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/Defines.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/Defines.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * @attention * * Copyright (c) 2018 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file ...
20.734694
80
0.526575
ramkumarkoppu
7982bc247455564c345cae3863b9ae57b12b7957
9,354
cpp
C++
OverlordEngine/DebugRenderer.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
1
2018-11-28T12:30:13.000Z
2018-11-28T12:30:13.000Z
OverlordEngine/DebugRenderer.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
null
null
null
OverlordEngine/DebugRenderer.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
2
2019-12-28T12:34:51.000Z
2021-03-08T08:37:33.000Z
#include "stdafx.h" #include "DebugRenderer.h" #include "Logger.h" #include "ContentManager.h" ID3DX11Effect* DebugRenderer::m_pEffect = nullptr; ID3DX11EffectTechnique* DebugRenderer::m_pTechnique = nullptr; unsigned int DebugRenderer::m_BufferSize = 100; ID3D11Buffer* DebugRenderer::m_pVertexBuffer = nullptr; physx:...
34.773234
183
0.770579
Ruvah
798316b442b839d46205c4851fa721d580d0d971
4,737
cpp
C++
cpdp/src/v20190820/model/QueryOpenBankDailyReceiptDownloadUrlResult.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cpdp/src/v20190820/model/QueryOpenBankDailyReceiptDownloadUrlResult.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cpdp/src/v20190820/model/QueryOpenBankDailyReceiptDownloadUrlResult.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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-2.0 ...
32.22449
174
0.735487
suluner
798556c70d2ecd19f9baafd5d61c3e305160d27f
2,469
cpp
C++
Compra-venda-produtos/Projeto Integrador/pessoafisica.cpp
CaioMS2000/Meus-projetos
190c987514503125a36d688302eaa738b5f346e4
[ "MIT" ]
null
null
null
Compra-venda-produtos/Projeto Integrador/pessoafisica.cpp
CaioMS2000/Meus-projetos
190c987514503125a36d688302eaa738b5f346e4
[ "MIT" ]
null
null
null
Compra-venda-produtos/Projeto Integrador/pessoafisica.cpp
CaioMS2000/Meus-projetos
190c987514503125a36d688302eaa738b5f346e4
[ "MIT" ]
null
null
null
#include "pessoafisica.h" namespace Caio{ PessoaFisica::PessoaFisica(): Cliente(), cpf(""), nome(""), celular("") { } PessoaFisica::PessoaFisica(QString &log, QString &s, QString &c, QString &e, QString &t, QString &em, QString &cpf, QString &nome, QString &celular): Cliente(log, s, c,...
28.709302
242
0.45565
CaioMS2000
798b9477c4b0b8495021039105638641728d73fa
18,531
hpp
C++
include/pfs/io/unix_socket.hpp
semenovf/io-lib
6e008d0eac584194333f055c90d4810f0bbb74f6
[ "MIT" ]
null
null
null
include/pfs/io/unix_socket.hpp
semenovf/io-lib
6e008d0eac584194333f055c90d4810f0bbb74f6
[ "MIT" ]
null
null
null
include/pfs/io/unix_socket.hpp
semenovf/io-lib
6e008d0eac584194333f055c90d4810f0bbb74f6
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2019 Vladislav Trifochkin // // This file is part of [pfs-io](https://github.com/semenovf/pfs-io) library. // // Changelog: // 2019.10.16 Initial version ///////////////////////////////////////////////////////////////...
28.034796
90
0.480114
semenovf
7998f624a2a44372107a1e2f6da492cdcc072ca5
29,661
cpp
C++
TestMac/cpp/network_service.cpp
tinyvpn/tvpn_mac
5bb67c8874a05561a05f87e5a9c3470471e5301b
[ "MIT" ]
null
null
null
TestMac/cpp/network_service.cpp
tinyvpn/tvpn_mac
5bb67c8874a05561a05f87e5a9c3470471e5301b
[ "MIT" ]
null
null
null
TestMac/cpp/network_service.cpp
tinyvpn/tvpn_mac
5bb67c8874a05561a05f87e5a9c3470471e5301b
[ "MIT" ]
null
null
null
#include "network_service.h" #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <sys/ioctl.h> #include <arpa/inet.h> #include <memory.h> #include <time.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/types.h> #include <sys/socket.h> ...
34.73185
238
0.605677
tinyvpn
799affc25619cf70aca038f6e678b55d4664b2e7
1,194
cpp
C++
king/src/king/Utils/FileUtils.cpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
3
2017-03-10T13:57:25.000Z
2017-05-31T19:05:35.000Z
king/src/king/Utils/FileUtils.cpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
null
null
null
king/src/king/Utils/FileUtils.cpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
null
null
null
#include <king\Utils\FileUtils.hpp> namespace king { std::string FileUtils::getFileName(std::string path) { int i = path.find_last_of('\\'); if (i != std::string::npos) return path.substr(i + 1); // f contains the result :) else { i = path.find_last_of('/'); return path.substr(i + 1); } ...
16.135135
72
0.571189
tobiasbu
799b1829f213293f3f5ef9a602f1c5f05003bf8e
239
cpp
C++
model/variable.cpp
kalanzun/fire
5a7f6ca413efa2c64109d36be9db0ca050a076cd
[ "MIT" ]
null
null
null
model/variable.cpp
kalanzun/fire
5a7f6ca413efa2c64109d36be9db0ca050a076cd
[ "MIT" ]
null
null
null
model/variable.cpp
kalanzun/fire
5a7f6ca413efa2c64109d36be9db0ca050a076cd
[ "MIT" ]
null
null
null
#include "variable.h" Variable::Variable(QString label, int index, QObject *parent) : QObject(parent) , label(label) , index(index) { } QString Variable::getLabel() { return QString("<big><b>%1</b></big>").arg(label); }
15.933333
61
0.631799
kalanzun
799fae5dabdccb69e094ad56a358f312baf8dfe2
3,636
cpp
C++
active_3d_planning_core/src/module/trajectory_evaluator/next_selector/subsequent_best_complete.cpp
danielduberg/mav_active_3d_planning
0790e7d26175bf7d315975a4d91548b56f9ee877
[ "BSD-3-Clause" ]
1
2021-01-05T10:17:04.000Z
2021-01-05T10:17:04.000Z
active_3d_planning_core/src/module/trajectory_evaluator/next_selector/subsequent_best_complete.cpp
danielduberg/mav_active_3d_planning
0790e7d26175bf7d315975a4d91548b56f9ee877
[ "BSD-3-Clause" ]
null
null
null
active_3d_planning_core/src/module/trajectory_evaluator/next_selector/subsequent_best_complete.cpp
danielduberg/mav_active_3d_planning
0790e7d26175bf7d315975a4d91548b56f9ee877
[ "BSD-3-Clause" ]
null
null
null
#include "active_3d_planning_core/module/trajectory_evaluator/next_selector/subsequent_best_complete.h" #include <algorithm> #include <vector> namespace active_3d_planning { namespace next_selector { // SubsequentBestComplete ModuleFactoryRegistry::Registration<SubsequentBestComplete> ...
45.45
116
0.59516
danielduberg
79a2c818f616bfa0ca48bae2e45f77a8c0fe8d76
1,470
cpp
C++
CPP.Part_2/week_3/algorithms/count_permutations.cpp
DGolgovsky/Courses
01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0
[ "Unlicense" ]
4
2017-11-17T12:02:21.000Z
2021-02-08T11:24:16.000Z
CPP.Part_2/week_3/algorithms/count_permutations.cpp
DGolgovsky/Courses
01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0
[ "Unlicense" ]
null
null
null
CPP.Part_2/week_3/algorithms/count_permutations.cpp
DGolgovsky/Courses
01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0
[ "Unlicense" ]
null
null
null
#include <deque> #include <array> #include <iostream> #include <algorithm> /* template<class Iterator> size_t count_permutations(Iterator p1, Iterator q1) { if (p1 == q1) return 1; auto p = *reinterpret_cast<Iterator*>(&p1); auto q = *reinterpret_cast<Iterator*>(&q1); size_t count = 0; std::sort(p,...
24.5
84
0.565306
DGolgovsky
79a9ff1cce485f56e1fbebcfe5df11990b15dfd1
11,661
hh
C++
include/click/flow/level/flow_level.hh
MassimoGirondi/fastclick
71b9a3392c2e847a22de3c354be1d9f61216cb5b
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
include/click/flow/level/flow_level.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
include/click/flow/level/flow_level.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
#ifndef CLICK_FLOWLEVEL_HH #define CLICK_FLOWLEVEL_HH 1 #include <click/packet.hh> #if HAVE_DPDK #include <rte_flow.h> #endif #include "../common.hh" #define FLOW_LEVEL_DEFINE(T,fnt) \ static FlowNodeData get_data_ptr(void* thunk, Packet* p) {\ return static_cast<T*>(thunk)->fnt(p);\ } cla...
23.462777
206
0.632364
MassimoGirondi
79ab026f56ed8d11e90f8f9e5beb32fb37518e9b
220
cpp
C++
Tests/test2Flow.cpp
ZakosDryiakk/SystemsModel
20906b4a32405fa7e6a90321a977142e471fc04f
[ "MIT" ]
null
null
null
Tests/test2Flow.cpp
ZakosDryiakk/SystemsModel
20906b4a32405fa7e6a90321a977142e471fc04f
[ "MIT" ]
3
2019-09-04T17:16:28.000Z
2019-09-04T17:18:23.000Z
Tests/test2Flow.cpp
ZakosDryiakk/SystemsModel
20906b4a32405fa7e6a90321a977142e471fc04f
[ "MIT" ]
null
null
null
#include "test2Flow.h" using namespace std; LogFlow::LogFlow() {} LogFlow::LogFlow(string name):Flow(name) {} LogFlow::~LogFlow() {} void LogFlow::execute() { change = 0.01*s2->getEnergy()*(1-s2->getEnergy()/70); }
15.714286
54
0.663636
ZakosDryiakk
79ac28ac1a8fe33b6f9f66a2726c9f49604b030b
33,869
cpp
C++
src/org/apache/poi/ss/format/CellNumberFormatter.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/format/CellNumberFormatter.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/format/CellNumberFormatter.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/format/CellNumberFormatter.java #include <org/apache/poi/ss/format/CellNumberFormatter.hpp> #include <java/lang/Appendable.hpp> #include <java/lang/ArrayStoreException.hpp> #include <java/lang/CharSequence.hpp> #include <java/lang/Character.hpp> #include <java/lang/Class.h...
41.557055
278
0.597685
pebble2015
79ade633f77a3915e418479db88f5a8d8db54a74
523
cpp
C++
7.06/7_06.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
null
null
null
7.06/7_06.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
null
null
null
7.06/7_06.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
1
2018-08-29T07:40:20.000Z
2018-08-29T07:40:20.000Z
#include<iostream> const int arsize=8; int sum_arr(int arr[],int n); int main() { using namespace std; int cookies[arsize]={1,2,4,8,13,32,64,128}; cout<<cookies<<endl; cout<<sizeof cookies<<endl; int sum=sum_arr(cookies,arsize); cout<<sum<<endl; sum=sum_arr(cookies,3); cout<<sum<<endl; sum=sum_arr(cookies+4,4)...
19.37037
44
0.67304
dengxianglong
79ae5370f0233194782d48bd327f2802cebb3302
1,120
cpp
C++
Chapter-5-Loops-and-Files/Review Questions and Exercises/Programming Challenges/003.cpp
jesushilarioh/C-Plus-Plus
bbff921460ac4267af48558f040c7d82ccf42d5e
[ "MIT" ]
3
2019-10-28T01:12:46.000Z
2021-10-16T09:16:31.000Z
Chapter-5-Loops-and-Files/Review Questions and Exercises/Programming Challenges/003.cpp
jesushilariohernandez/DelMarCSi.cpp
6dd7905daea510452691fd25b0e3b0d2da0b06aa
[ "MIT" ]
null
null
null
Chapter-5-Loops-and-Files/Review Questions and Exercises/Programming Challenges/003.cpp
jesushilariohernandez/DelMarCSi.cpp
6dd7905daea510452691fd25b0e3b0d2da0b06aa
[ "MIT" ]
4
2020-04-10T17:22:17.000Z
2021-11-04T14:34:00.000Z
/******************************************************************** * * 003. Ocean Levels * * Assuming the ocean’s level is currently rising at * about 1.5 millimeters per year, write a program that * displays a table showing the number of * millimeters that the ocean will ha...
28.717949
72
0.460714
jesushilarioh
79b1e0f70579f6379503877afa7a459c78651cb5
3,236
cpp
C++
studio/src/sequence/key_item.cpp
blagodarin/aulos
c78ec06fd812c889ec618ac2e9f0cab9ad9db756
[ "Apache-2.0" ]
null
null
null
studio/src/sequence/key_item.cpp
blagodarin/aulos
c78ec06fd812c889ec618ac2e9f0cab9ad9db756
[ "Apache-2.0" ]
null
null
null
studio/src/sequence/key_item.cpp
blagodarin/aulos
c78ec06fd812c889ec618ac2e9f0cab9ad9db756
[ "Apache-2.0" ]
null
null
null
// This file is part of the Aulos toolkit. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include "key_item.hpp" #include "../theme.hpp" #include <QPainter> namespace { enum class KeyStyle : size_t { White, Black, }; } struct KeyItem::StyleInfo { struct Colors { QColor _norm...
33.020408
202
0.680779
blagodarin
79bbe8c0ca5fcfa0a553799eeb1b7d7702cd4a8d
305
cpp
C++
src/parser_brute_force.cpp
Auterion/mavlink-fuzz-testing
9de6a4aa78b27e3ccc18b313c3b79ccbe3a09cb1
[ "BSD-3-Clause" ]
9
2019-08-20T17:04:28.000Z
2021-06-29T11:28:29.000Z
src/parser_brute_force.cpp
Auterion/mavlink-fuzz-testing
9de6a4aa78b27e3ccc18b313c3b79ccbe3a09cb1
[ "BSD-3-Clause" ]
null
null
null
src/parser_brute_force.cpp
Auterion/mavlink-fuzz-testing
9de6a4aa78b27e3ccc18b313c3b79ccbe3a09cb1
[ "BSD-3-Clause" ]
2
2020-08-03T04:57:13.000Z
2022-03-25T02:51:04.000Z
#include <common/mavlink.h> extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { for (size_t i = 0; i < Size; ++i) { mavlink_message_t message; mavlink_status_t status; mavlink_parse_char(MAVLINK_COMM_0, Data[i], &message, &status); } return 0; }
27.727273
73
0.652459
Auterion
79c1204b5529a04cc26832618439aab55b99d7f6
13,071
cpp
C++
diamond-dpct/masking.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
diamond-dpct/masking.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
diamond-dpct/masking.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
/**** DIAMOND protein aligner Copyright (C) 2013-2017 Benjamin Buchfink <buchfink@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
29.439189
119
0.638742
jchlanda
79c4b094e8b2c96e913d2b959c1499addf6b865c
6,511
cc
C++
cpp/core/internal/wifi_lan_service_info_test.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
cpp/core/internal/wifi_lan_service_info_test.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
cpp/core/internal/wifi_lan_service_info_test.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 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 ...
39.222892
78
0.762402
jdapena
79c8029e5cfc8810f496c4c017a5f35d9ef79287
2,051
hpp
C++
kernel/eir/arch/arm/eir-internal/arch/pl011.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
935
2018-05-23T14:56:18.000Z
2022-03-29T07:27:20.000Z
kernel/eir/arch/arm/eir-internal/arch/pl011.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
314
2018-05-04T15:58:06.000Z
2022-03-30T16:24:17.000Z
kernel/eir/arch/arm/eir-internal/arch/pl011.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
65
2019-04-21T14:26:51.000Z
2022-03-12T03:16:41.000Z
#pragma once #include <stdint.h> #include <arch/mem_space.hpp> #include <arch/register.hpp> namespace eir { namespace pl011_reg { static constexpr arch::scalar_register<uint32_t> data{0x00}; static constexpr arch::bit_register<uint32_t> status{0x18}; static constexpr arch::scalar_register<uint32_t> i_baud{0x24}; ...
26.636364
75
0.7255
kITerE
79cc8462db5e2701abb1256d516c7d0ccc627ab3
1,330
cpp
C++
code/components/net/src/NetBuffer.cpp
antonand03/hello-my-friend
fb4e225a75aea3007a391ccc4dcda3eda65c2142
[ "MIT" ]
6
2019-01-30T14:33:30.000Z
2021-07-21T18:06:52.000Z
code/components/net/src/NetBuffer.cpp
antonand03/hello-my-friend
fb4e225a75aea3007a391ccc4dcda3eda65c2142
[ "MIT" ]
6
2021-05-11T09:09:11.000Z
2022-03-23T18:34:23.000Z
code/components/net/src/NetBuffer.cpp
antonand03/hello-my-friend
fb4e225a75aea3007a391ccc4dcda3eda65c2142
[ "MIT" ]
22
2018-11-17T17:19:01.000Z
2021-05-22T09:51:07.000Z
/* * This file is part of the CitizenFX project - http://citizen.re/ * * See LICENSE and MENTIONS in the root of the source tree for information * regarding licensing. */ #include "StdInc.h" #include "NetBuffer.h" NetBuffer::NetBuffer(const char* bytes, size_t length) : m_bytesManaged(false), m_bytes...
19
105
0.63609
antonand03
79d68d05282cb4ad32b0827ca13108ef551b0748
1,358
cc
C++
sources/utility/misc.cc
jujudusud/gmajctl
b15466168b94ee6bc4731fc77d2b2dd0e36dc995
[ "BSL-1.0" ]
4
2018-11-01T23:38:33.000Z
2021-04-22T11:29:07.000Z
sources/utility/misc.cc
jujudusud/gmajctl
b15466168b94ee6bc4731fc77d2b2dd0e36dc995
[ "BSL-1.0" ]
10
2018-10-17T21:16:01.000Z
2019-09-29T21:51:58.000Z
sources/utility/misc.cc
linuxmao-org/FreeMajor
41bca20fce919e63a918aa472411652031e19ec5
[ "BSL-1.0" ]
1
2018-10-03T22:31:34.000Z
2018-10-03T22:31:34.000Z
// Copyright Jean Pierre Cimalando 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "misc.h" bool starts_with(const char *x, const char *s) { size_t nx = strlen(x), ns = strlen(s)...
23.824561
76
0.574374
jujudusud
79d6c4ed083b737e8231c8bc457bdee982554ed1
391
hpp
C++
lib/rendering/ray.hpp
julienlopez/Raytracer
35fa5a00e190592a8780971fcbd2936a54e06d3a
[ "MIT" ]
null
null
null
lib/rendering/ray.hpp
julienlopez/Raytracer
35fa5a00e190592a8780971fcbd2936a54e06d3a
[ "MIT" ]
2
2017-06-01T16:43:37.000Z
2017-06-07T16:17:51.000Z
lib/rendering/ray.hpp
julienlopez/Raytracer
35fa5a00e190592a8780971fcbd2936a54e06d3a
[ "MIT" ]
null
null
null
#pragma once #include "math/types.hpp" namespace Rendering { class Ray { public: Ray(const Math::Point3d& origin_, const Math::Vector3d& direction_); ~Ray() = default; const Math::Point3d& origin() const; const Math::Vector3d& direction() const; Math::Vector3d& direction(); private: Math...
14.481481
72
0.667519
julienlopez
79df904e6678cf595472d70326b9395ee90aa4ed
937
cpp
C++
Factorio-Imitation/DeactiveButtonUI.cpp
JiokKae/Factorio-Imitation
06b6328a48926e64b376ff8e985eedef22f06c14
[ "MIT" ]
2
2020-12-24T10:38:46.000Z
2021-04-23T11:44:48.000Z
Factorio-Imitation/DeactiveButtonUI.cpp
JiokKae/Factorio-Imitation
06b6328a48926e64b376ff8e985eedef22f06c14
[ "MIT" ]
null
null
null
Factorio-Imitation/DeactiveButtonUI.cpp
JiokKae/Factorio-Imitation
06b6328a48926e64b376ff8e985eedef22f06c14
[ "MIT" ]
null
null
null
#include "DeactiveButtonUI.h" #include "GLImage.h" HRESULT DeactiveButtonUI::Init() { image = new GLImage(); image->Init("UI/DeactiveButtonUI", 3, 1); onMouse = false; return S_OK; } void DeactiveButtonUI::Release() { } void DeactiveButtonUI::Update() { if (active) { if (PtInFRect(GetFrect(), { g_ptMouse.x,...
16.155172
86
0.640342
JiokKae
0763c29128af9170301bb0fc5996c9ce36f327b0
5,936
hpp
C++
testing_utilities/discrete_trajectory_factories_body.hpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
null
null
null
testing_utilities/discrete_trajectory_factories_body.hpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
null
null
null
testing_utilities/discrete_trajectory_factories_body.hpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
null
null
null
#pragma once #include "testing_utilities/discrete_trajectory_factories.hpp" #include "base/status_utilities.hpp" #include "physics/degrees_of_freedom.hpp" #include "physics/discrete_trajectory_segment.hpp" #include "physics/discrete_trajectory_segment_iterator.hpp" #include "quantities/elementary_functions.hpp" #inc...
35.12426
80
0.60091
net-lisias-ksp
076581d0398811b88e5e93ac46448596bd777e94
15,188
cpp
C++
src/test-rhi.cpp
sgorsten/workbench
5209bb405e0e0f4696b36684bbd1d7ecff7daa2f
[ "Unlicense" ]
16
2015-12-15T17:17:37.000Z
2021-12-07T20:19:38.000Z
src/test-rhi.cpp
sgorsten/workbench
5209bb405e0e0f4696b36684bbd1d7ecff7daa2f
[ "Unlicense" ]
null
null
null
src/test-rhi.cpp
sgorsten/workbench
5209bb405e0e0f4696b36684bbd1d7ecff7daa2f
[ "Unlicense" ]
1
2016-03-25T08:04:58.000Z
2016-03-25T08:04:58.000Z
#include "engine/pbr.h" #include "engine/mesh.h" #include "engine/sprite.h" #include "engine/camera.h" #include <chrono> #include <iostream> struct common_assets { coord_system game_coords; shader_compiler compiler; pbr::shaders standard; rhi::shader_desc vs, lit_fs, unlit_fs, skybox_vs, skybox_fs; ...
47.021672
269
0.659139
sgorsten
07674e39420d832e82b3eaa032f85a1268b4f0b6
12,085
cpp
C++
Libraries/Audio/input_adcs.cpp
InspiredChaos/New_Visualizer_Skeleton
97967caa3cd74a3ea7a2727f9e886cadc44e8451
[ "MIT" ]
18
2020-04-15T11:58:46.000Z
2022-02-06T19:09:51.000Z
src/lib/Audio/input_adcs.cpp
ARSFI/HFSimulator
b6a5b32ea7bf45bc37c6ec74c55167bb2479d5ac
[ "MIT" ]
1
2018-12-07T01:38:43.000Z
2018-12-07T01:38:43.000Z
src/lib/Audio/input_adcs.cpp
ARSFI/HFSimulator
b6a5b32ea7bf45bc37c6ec74c55167bb2479d5ac
[ "MIT" ]
7
2020-05-09T19:53:34.000Z
2021-09-04T21:39:28.000Z
/* Audio Library for Teensy 3.X * Copyright (c) 2014, Paul Stoffregen, paul@pjrc.com * * Development of this audio library was funded by PJRC.COM, LLC by sales of * Teensy and Audio Adaptor boards. Please support PJRC's efforts to develop * open source software by purchasing Teensy or other PJRC products. * * P...
32.226667
94
0.659247
InspiredChaos
0767d5a2a29a50e096bbb849b5c876dab5329a7f
30,872
cpp
C++
dlls/Game/scene/MainMenu.cpp
Mynsu/sirtet_SFML
ad1b64597868959d96d27fcb73fd272f41b21e16
[ "MIT" ]
null
null
null
dlls/Game/scene/MainMenu.cpp
Mynsu/sirtet_SFML
ad1b64597868959d96d27fcb73fd272f41b21e16
[ "MIT" ]
null
null
null
dlls/Game/scene/MainMenu.cpp
Mynsu/sirtet_SFML
ad1b64597868959d96d27fcb73fd272f41b21e16
[ "MIT" ]
null
null
null
#include "../pch.h" #include "MainMenu.h" #include "../ServiceLocatorMirror.h" bool ::scene::MainMenu::IsInstantiated = false; ::scene::MainMenu::MainMenu( const sf::RenderWindow& window ) : mIsCursorOnButton( false ), mNextSceneID( ::scene::ID::AS_IS ) { ASSERT_TRUE( false == IsInstantiated ); loadResources( wi...
30.089669
113
0.616611
Mynsu
07692fe54f3ed175bee0929e758ecff96029093e
4,724
cpp
C++
addons/a3/language_f_tank/config.cpp
GoldJohnKing/Arma-III-Chinese-Localization-Enhanced
6ce8a75d1176adc2f1d5f4e9abd5dd2a1c581222
[ "MIT" ]
23
2017-07-13T16:15:55.000Z
2022-01-06T04:56:34.000Z
addons/a3/language_f_tank/config.cpp
GoldJohnKing/Arma-III-Chinese-Localization-Enhanced
6ce8a75d1176adc2f1d5f4e9abd5dd2a1c581222
[ "MIT" ]
3
2017-07-14T10:34:25.000Z
2021-02-28T18:42:43.000Z
addons/a3/language_f_tank/config.cpp
GoldJohnKing/Arma-III-Chinese-Localization-Enhanced
6ce8a75d1176adc2f1d5f4e9abd5dd2a1c581222
[ "MIT" ]
13
2017-07-14T04:13:43.000Z
2021-11-27T04:45:29.000Z
//////////////////////////////////////////////////////////////////// //DeRap: 新增資料夾\language_f_tank\config.bin //Produced from mikero's Dos Tools Dll version 6.80 //'now' is Sun Mar 31 23:01:41 2019 : 'file' last modified on Tue Jan 29 22:16:12 2019 //http://dev-heaven.net/projects/list_files/mikero-pbodll ////////////...
26.689266
196
0.652413
GoldJohnKing
0769876a45ca80bd2103ecc61d3775b7d9233c98
5,013
cpp
C++
zc702/GEMM_Hardware_NoInterrupt/matrix_mult_accel.cpp
kranik/ENEAC
8faceedf89f598f7fab728ee94341a47c8976830
[ "BSD-3-Clause" ]
null
null
null
zc702/GEMM_Hardware_NoInterrupt/matrix_mult_accel.cpp
kranik/ENEAC
8faceedf89f598f7fab728ee94341a47c8976830
[ "BSD-3-Clause" ]
null
null
null
zc702/GEMM_Hardware_NoInterrupt/matrix_mult_accel.cpp
kranik/ENEAC
8faceedf89f598f7fab728ee94341a47c8976830
[ "BSD-3-Clause" ]
null
null
null
/* File: matrix_mult_accel.cpp * Copyright (c) [2016] [Mohammad Hosseinabady (mohammad@hosseinabady.com)] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without l...
30.944444
126
0.678436
kranik
076b03748bc3d9cc6143c38672765a2dd2224054
5,069
cpp
C++
Code/Tools/FBuild/FBuildTest/Data/TestFastCancel/Cancel/main.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
30
2020-07-15T06:16:55.000Z
2022-02-10T21:37:52.000Z
Code/Tools/FBuild/FBuildTest/Data/TestFastCancel/Cancel/main.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
1
2020-11-23T13:35:00.000Z
2020-11-23T13:35:00.000Z
Code/Tools/FBuild/FBuildTest/Data/TestFastCancel/Cancel/main.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
12
2020-09-16T17:39:34.000Z
2021-08-17T11:32:37.000Z
// main.cpp //------------------------------------------------------------------------------ // Includes //------------------------------------------------------------------------------ // system #if defined( __WINDOWS__ ) #include <Windows.h> #endif #if defined( __LINUX__ ) || defined( __APPLE__ ) #include <e...
28.005525
80
0.459262
qq573011406
076e92c8b7854650814222dd5b7dc9efebcc42eb
21,717
cpp
C++
src/marchingcubes.cpp
menonon/SimpleGLWrapper
a99af4ee9b0e9fef8ac1ffe3b01aef32157929bb
[ "MIT" ]
null
null
null
src/marchingcubes.cpp
menonon/SimpleGLWrapper
a99af4ee9b0e9fef8ac1ffe3b01aef32157929bb
[ "MIT" ]
null
null
null
src/marchingcubes.cpp
menonon/SimpleGLWrapper
a99af4ee9b0e9fef8ac1ffe3b01aef32157929bb
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2013-2018 menonon 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, ...
47.940397
162
0.411014
menonon
07715ce23d6844d2351a29ecad1fa9a664ef5748
162
cpp
C++
CH1/Bookexamples/1.5.2.cpp
Alfredo-Palace/C
cb1ef3386e9d7ab817ee4906d9db05ea1afd551f
[ "Apache-2.0" ]
null
null
null
CH1/Bookexamples/1.5.2.cpp
Alfredo-Palace/C
cb1ef3386e9d7ab817ee4906d9db05ea1afd551f
[ "Apache-2.0" ]
null
null
null
CH1/Bookexamples/1.5.2.cpp
Alfredo-Palace/C
cb1ef3386e9d7ab817ee4906d9db05ea1afd551f
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> int main() { long nc = 0; while (getchar() != EOF) { ++nc; } printf("A total of %ld characters.\n", nc); return 1; }
14.727273
47
0.493827
Alfredo-Palace
0773f46d11490956c1372859aead18e87ec8637a
361
cpp
C++
SimpleInterest/Main.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
4
2020-05-14T04:41:04.000Z
2021-06-13T06:42:03.000Z
SimpleInterest/Main.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
null
null
null
SimpleInterest/Main.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
null
null
null
#include<iostream> using namespace std ; class Main { private: int rate = 8.9 ; public: int interest(int ammount, double time) { return (ammount * rate * time)/100 ; } }; int main(int argc, char const *argv[]) { Main obj ; int r = obj.interest(20000, 2) ; cout << ...
15.695652
45
0.523546
sounishnath003
07752c7ae25b64365e655df3ca9d4493556e85ad
1,540
cpp
C++
Practice/2018/2018.12.16/UOJ188.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.12.16/UOJ188.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.12.16/UOJ188.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<cmath> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxN=705000; const int inf=2147483647; ll n,srt; bool notprime[maxN]; int pcnt,P[maxN]; ll num,Num[maxN+maxN],Id...
20.533333
57
0.569481
SYCstudio
07801b4f11a045b8238458093cf635e90d02a917
483
cpp
C++
test/test_common.cpp
jhigginbotham64/Telescope
ef82f388934549e33d5fb21838d408c373b066e5
[ "MIT" ]
null
null
null
test/test_common.cpp
jhigginbotham64/Telescope
ef82f388934549e33d5fb21838d408c373b066e5
[ "MIT" ]
null
null
null
test/test_common.cpp
jhigginbotham64/Telescope
ef82f388934549e33d5fb21838d408c373b066e5
[ "MIT" ]
null
null
null
// // Copyright (c) Joshua Higginbotham, 2022 // #include <test/test.hpp> #include <telescope.hpp> int main() { Test::initialize(); Test::testset("CLAMP", [](){ }); Test::testset("TS_NDCX", [](){ }); Test::testset("TS_NDCY", [](){ }); Test::testset("TS_NDCRect", [](){ }); ...
13.416667
42
0.492754
jhigginbotham64
078ece8917fdd195baf28dd28d9ee2f1b32fa277
2,082
hpp
C++
shared/storage/option.hpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
shared/storage/option.hpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
shared/storage/option.hpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
#pragma once #include <windows.h> #include <string> #include <vector> #include "shared/imgui/imgui.hpp" #include "shared/memory/procedure.hpp" namespace shared::option { struct VisualData { // core int m_box = 0; // 0 - 3 | off, normal, corners, 3d bool m_drop = false; // bool m_drop_we...
24.785714
59
0.599424
jrnh
0791bfdcf36a4fbb31345108c4cf6c86ab27bd51
9,351
cpp
C++
libraries/zmusic/midisources/midisource_mus.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
2
2020-04-19T13:37:34.000Z
2021-06-09T04:26:25.000Z
libraries/zmusic/midisources/midisource_mus.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
4
2021-09-02T00:05:17.000Z
2021-09-07T14:56:12.000Z
libraries/zmusic/midisources/midisource_mus.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
1
2021-09-28T19:03:39.000Z
2021-09-28T19:03:39.000Z
/* ** music_mus_midiout.cpp ** Code to let ZDoom play MUS music through the MIDI streaming API. ** **--------------------------------------------------------------------------- ** Copyright 1998-2008 Randy Heit ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modificat...
25.54918
104
0.52465
351ELEC
07960f8068d9496d940b689a9d3458617fa16024
3,071
cpp
C++
src/gui/GuiText.cpp
Eyadplayz/Project-Architesis
89c44d3e35604c1fb9a3f0b3635620e3e6241025
[ "MIT" ]
null
null
null
src/gui/GuiText.cpp
Eyadplayz/Project-Architesis
89c44d3e35604c1fb9a3f0b3635620e3e6241025
[ "MIT" ]
null
null
null
src/gui/GuiText.cpp
Eyadplayz/Project-Architesis
89c44d3e35604c1fb9a3f0b3635620e3e6241025
[ "MIT" ]
2
2021-11-20T01:39:37.000Z
2021-11-28T00:06:19.000Z
/**************************************************************************** * Copyright (C) 2015 Dimok * * 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, either version 3 of the License, o...
31.659794
148
0.622924
Eyadplayz
0796e351bc1d6a4c6b27bb20ea45638c6839f61b
2,537
cpp
C++
GoogleServiceServer/recommit.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
GoogleServiceServer/recommit.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
GoogleServiceServer/recommit.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
#include "recommit.h" #include "FileOperator.h" #include "FileWriter.h" #include <iostream> #include "DataProcess.h" #include "PublicFunction.h" #include <string> using namespace std; #define BUF_SIZE 4096 #define ENTERLN "\r\n" int commit(string path) { WIN32_FIND_DATAA fd = { 0 }; string fn = path + "*.*";...
18.932836
98
0.553015
satadriver
0798aa108bfb952eb527c60bb0a61482f2a7ba6f
2,128
cpp
C++
project-2/CS248/examples/event.cpp
JRBarreraM/CI4321_COMPUTACION_GRAFICA_I
8d5aaa536fdfe0e2e678bc9b7abb613e33057b07
[ "MIT" ]
1
2022-02-08T10:39:40.000Z
2022-02-08T10:39:40.000Z
project-2/CS248/examples/event.cpp
JRBarreraM/CI4321_COMPUTACION_GRAFICA_I
8d5aaa536fdfe0e2e678bc9b7abb613e33057b07
[ "MIT" ]
null
null
null
project-2/CS248/examples/event.cpp
JRBarreraM/CI4321_COMPUTACION_GRAFICA_I
8d5aaa536fdfe0e2e678bc9b7abb613e33057b07
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include "CS248/viewer.h" #include "CS248/renderer.h" using namespace std; using namespace CS248; class EventDisply : public Renderer { public: ~EventDisply() { } string name() { return "Event handling example"; } string info() { return "Event handling exampl...
16.496124
83
0.578477
JRBarreraM
079af748c512aa6b318e54268f5cdba8e013efdb
102
hpp
C++
addons/heavylifter/XEH_PREP.hpp
Task-Force-Dagger/Dagger
56b9ffe3387f74830419a987eed5a0f386674331
[ "MIT" ]
null
null
null
addons/heavylifter/XEH_PREP.hpp
Task-Force-Dagger/Dagger
56b9ffe3387f74830419a987eed5a0f386674331
[ "MIT" ]
7
2021-11-22T04:36:52.000Z
2021-12-13T18:55:24.000Z
addons/heavylifter/XEH_PREP.hpp
Task-Force-Dagger/Dagger
56b9ffe3387f74830419a987eed5a0f386674331
[ "MIT" ]
null
null
null
PREP(canAttach); PREP(canDetach); PREP(exportConfig); PREP(prepare); PREP(progress); PREP(unprepare);
14.571429
19
0.764706
Task-Force-Dagger
07a400ed2d86ebf50b74d52f1df9936fdaa6f027
7,809
cc
C++
rl_agent/src/Agent/Sarsa.cc
utexas-rl-texplore/rl_suite
73b5c3cdeaa2397cef6758dad8275193e7b0019a
[ "BSD-3-Clause" ]
1
2015-07-23T21:14:56.000Z
2015-07-23T21:14:56.000Z
rl_agent/src/Agent/Sarsa.cc
utexas-rl-texplore/rl_suite
73b5c3cdeaa2397cef6758dad8275193e7b0019a
[ "BSD-3-Clause" ]
null
null
null
rl_agent/src/Agent/Sarsa.cc
utexas-rl-texplore/rl_suite
73b5c3cdeaa2397cef6758dad8275193e7b0019a
[ "BSD-3-Clause" ]
1
2018-03-01T05:54:44.000Z
2018-03-01T05:54:44.000Z
#include <rl_agent/Sarsa.hh> #include <algorithm> Sarsa::Sarsa(int numactions, float gamma, float initialvalue, float alpha, float ep, float lambda, Random rng): numactions(numactions), gamma(gamma), initialvalue(initialvalue), alpha(alpha), epsilon(ep), lambda(lambda), rng(rng) { ...
25.271845
144
0.548214
utexas-rl-texplore
07a67fd2461a8d8e01d2b350f64f3c0edfe0e718
8,240
cpp
C++
WGLTest/main.cpp
yorung/WGLGrabber
8887cfc95d2f2040205a084473b96f53f46cf591
[ "MIT" ]
null
null
null
WGLTest/main.cpp
yorung/WGLGrabber
8887cfc95d2f2040205a084473b96f53f46cf591
[ "MIT" ]
null
null
null
WGLTest/main.cpp
yorung/WGLGrabber
8887cfc95d2f2040205a084473b96f53f46cf591
[ "MIT" ]
null
null
null
// WGLTest.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #pragma comment(lib, "opengl32.lib") HGLRC hglrc; static void err(char *msg) { puts(msg); } #ifdef _DEBUG static void DumpInfo() { puts((char*)glGetString(GL_VERSION)); puts((char*)glGetString(GL_RENDERER)...
22.391304
158
0.706917
yorung
07ac87d095f48234a6849915afbc8c7e4e8c70db
1,836
cpp
C++
alignment/algorithms/alignment/ExtendAlign.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
alignment/algorithms/alignment/ExtendAlign.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
alignment/algorithms/alignment/ExtendAlign.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#include <alignment/algorithms/alignment/ExtendAlign.hpp> RCToIndex::RCToIndex() { qStart = 0; tStart = 0; band = middleCol = nCols = 0; } int RCToIndex::operator()(int r, int c, int &index) { // // First do some error checking on the row and column to see if it // is within the band. // ...
23.240506
97
0.622549
ggraham
07b0343ec381a5f865f7373ac985c3dd1909dbbe
1,258
hpp
C++
contrib/autoboost/autoboost/asio/detail/cstdint.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
contrib/autoboost/autoboost/asio/detail/cstdint.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
contrib/autoboost/autoboost/asio/detail/cstdint.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// // detail/cstdint.hpp // ~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef AUTOBOOST_ASIO_DETAIL_C...
25.673469
79
0.762321
CaseyCarter
07b0d35926409ab1270cf5db627937bb6d690ab4
2,991
cpp
C++
src/pd/fireball.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
src/pd/fireball.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
src/pd/fireball.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
#include "../engine/stdafx.h" #include "fireball.h" #include "../pd/define.h" #include "../engine/util.h" #include "../engine/game.h" #include "../engine/pixelparticle.h" float Flame::LIFESPAN = 1.0f; float Flame::SPEED = -40.0f; float Flame::ACC = -20.0f; Flame::Flame() { init(); tag = "Flame"; } ...
22.488722
90
0.598462
mtribiere
07b1511a2e57346c6ea7ccea6c9cefb6cda5eb0b
2,880
hpp
C++
include/dtc/utility/lexical_cast.hpp
tsung-wei-huang/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
69
2019-03-16T20:13:26.000Z
2022-03-24T14:12:19.000Z
include/dtc/utility/lexical_cast.hpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2017-12-02T05:38:30.000Z
2019-02-08T11:16:12.000Z
include/dtc/utility/lexical_cast.hpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2019-04-13T16:27:29.000Z
2022-01-07T14:42:46.000Z
/****************************************************************************** * * * Copyright (c) 2018, Tsung-Wei Huang and Martin D. F. Wong, * * University of Illinois at Urbana-Champaign (UIUC), IL, USA. * ...
26.666667
99
0.514236
tsung-wei-huang
07bb133c50e133d17bddf58d15a7b25f9eb6fb7a
6,886
hpp
C++
library/include/slonczewski2.hpp
xfong/sycl
405397e7bd030d104c5c88f403a617b6e8c3429a
[ "MIT" ]
1
2021-06-15T02:42:29.000Z
2021-06-15T02:42:29.000Z
library/include/slonczewski2.hpp
xfong/sycl
405397e7bd030d104c5c88f403a617b6e8c3429a
[ "MIT" ]
null
null
null
library/include/slonczewski2.hpp
xfong/sycl
405397e7bd030d104c5c88f403a617b6e8c3429a
[ "MIT" ]
null
null
null
#ifndef RUNTIME_INCLUDE_SYCL_SYCL_HPP_ #define RUNTIME_INCLUDE_SYCL_SYCL_HPP_ #include <CL/sycl.hpp> namespace sycl = cl::sycl; #endif // RUNTIME_INCLUDE_SYCL_SYCL_HPP_ #include "amul.hpp" #include "constants.hpp" // Original implementation by Mykola Dvornik for mumax2 // Modified for mumax3 by Arne Vansteenkiste, 2...
38.685393
108
0.60456
xfong
07be85a0d07b42bcce7185e3727e05f66421b709
5,501
cpp
C++
test/json_parser_tests.cpp
Malibushko/yatgbotlib
a5109c36c9387aef0e6d15e303d2f3753eef9aac
[ "MIT" ]
3
2020-04-05T23:51:09.000Z
2020-08-14T07:24:45.000Z
test/json_parser_tests.cpp
Malibushko/yatgbotlib
a5109c36c9387aef0e6d15e303d2f3753eef9aac
[ "MIT" ]
1
2020-07-24T19:46:28.000Z
2020-07-31T14:49:28.000Z
test/json_parser_tests.cpp
Malibushko/yatgbotlib
a5109c36c9387aef0e6d15e303d2f3753eef9aac
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <memory> #include "telegram_bot.h" using namespace telegram; struct Small { declare_struct declare_field(bool,test); }; TEST(JsonParser,to_json_small_structure) { std::string json = JsonParser::i().toJson(Small{false}); std::string expected_json = "{\"test\":false}"; ...
30.561111
130
0.52954
Malibushko
07bf4da729fee2acecdbde117105c397b5a6f1e3
108
cc
C++
15/17/17.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
5
2019-08-01T07:52:27.000Z
2022-03-27T08:09:35.000Z
15/17/17.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
1
2020-10-03T17:29:59.000Z
2020-11-17T10:03:10.000Z
15/17/17.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
6
2019-08-24T08:55:56.000Z
2022-02-09T08:41:44.000Z
#include <iostream> #include "quote.h" int main() { Disc_quote *dq = new Disc_quote(); return 0; }
12
38
0.62037
williamgherman
07bfa487955b94af69270d30843ef63cdab3b98c
565
hpp
C++
include/render_objects/materials.hpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
include/render_objects/materials.hpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
include/render_objects/materials.hpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
#pragma once #include <render_objects/textures.hpp> #include <util/numeric.hpp> enum class material_type { none, dielectric, diffuse, emit_light, reflect, }; struct material { material_type type; array_index index; invalidable_array_index normals_index = -1; }; struct dielectric_mate...
13.139535
47
0.699115
Adanos020
07bfa6f58fb68fda020022bc25a05be5ec795fdd
3,232
cpp
C++
src/plugins/snails/certificateverifier.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/snails/certificateverifier.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/snails/certificateverifier.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
33.666667
107
0.70854
Maledictus
07c332a9ae226d86b1e4bd084ebfb7c05934abd2
3,769
hpp
C++
core/unit_test/TestCompilerMacros.hpp
Char-Aznable/kokkos
2983b80d9aeafabb81f2c8c1c5a49b40cc0856cb
[ "BSD-3-Clause" ]
2
2019-12-18T20:37:06.000Z
2020-04-07T00:44:39.000Z
core/unit_test/TestCompilerMacros.hpp
Char-Aznable/kokkos
2983b80d9aeafabb81f2c8c1c5a49b40cc0856cb
[ "BSD-3-Clause" ]
1
2019-09-25T15:41:23.000Z
2019-09-25T15:41:23.000Z
core/unit_test/TestCompilerMacros.hpp
Char-Aznable/kokkos
2983b80d9aeafabb81f2c8c1c5a49b40cc0856cb
[ "BSD-3-Clause" ]
2
2020-04-01T19:16:16.000Z
2022-02-09T21:45:19.000Z
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2014) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
31.940678
80
0.69541
Char-Aznable
07c6da4c0d86010f51fdce92114fe99aaffbe8c5
7,727
cpp
C++
rfm69.cpp
wintersteiger/wlmcd
7bdc184b875a0be652a0dd346fd9a598c14181d8
[ "MIT" ]
4
2021-01-11T13:50:25.000Z
2021-01-24T19:34:47.000Z
rfm69.cpp
wintersteiger/wlmcd
7bdc184b875a0be652a0dd346fd9a598c14181d8
[ "MIT" ]
1
2021-02-12T15:49:18.000Z
2021-02-12T16:50:55.000Z
rfm69.cpp
wintersteiger/wlmcd
7bdc184b875a0be652a0dd346fd9a598c14181d8
[ "MIT" ]
2
2021-01-11T13:53:18.000Z
2021-03-01T10:22:46.000Z
// Copyright (c) Christoph M. Wintersteiger // Licensed under the MIT License. #include <cstring> #include <cmath> #include <unistd.h> #include <vector> #include <fstream> #include <iomanip> #include <gpiod.h> #include "json.hpp" #include "sleep.h" #include "rfm69.h" #include "rfm69_rt.h" using json = nlohmann::js...
23.134731
84
0.599974
wintersteiger
07c6df38e78c2ba8e1c5f41cee29d99d1074be13
668
cpp
C++
tests/game_of_life.cpp
omrisim210/cellular-
e2e02a6577c6ffa015a2873817c5761e5e6835a5
[ "MIT" ]
1
2020-06-29T19:04:06.000Z
2020-06-29T19:04:06.000Z
tests/game_of_life.cpp
omrisim210/cellularpp
e2e02a6577c6ffa015a2873817c5761e5e6835a5
[ "MIT" ]
null
null
null
tests/game_of_life.cpp
omrisim210/cellularpp
e2e02a6577c6ffa015a2873817c5761e5e6835a5
[ "MIT" ]
null
null
null
#include "game_of_life.hpp" #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include <iostream> #include "doctest.h" using namespace gol; GameOfLife automaton("./spinner.txt"); TEST_CASE("generation 0") { // for (auto i = 0; i < automaton.width(); ++i) { // for (auto j = 0; j < automaton.height(); ++j) { // INFO(...
23.034483
53
0.615269
omrisim210
07c7f5d56e10be6c309887917a06cc6db95c4ab0
907
cpp
C++
code/quick sort/quick-sort.cpp
logancrocker/interview-toolkit
e33e4ba0c76f0bcbd831d2955095ad3325569388
[ "MIT" ]
null
null
null
code/quick sort/quick-sort.cpp
logancrocker/interview-toolkit
e33e4ba0c76f0bcbd831d2955095ad3325569388
[ "MIT" ]
null
null
null
code/quick sort/quick-sort.cpp
logancrocker/interview-toolkit
e33e4ba0c76f0bcbd831d2955095ad3325569388
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void swap(int* a, int* b) { int t = *a; *a = *b; *b = t; } int partition(int arr[], int left, int right) { int pivot = arr[right]; int i = left - 1; for (int j = left; j <= right - 1; ++j) { if (arr[j] <= pivot) { i++; ...
19.297872
54
0.486218
logancrocker
07caf422ce8171d0f42f20409396239b0dd3e0a1
353
cpp
C++
src/sprite/SpriteBatch.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
src/sprite/SpriteBatch.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
src/sprite/SpriteBatch.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
#include "../../include/kit2d/sprite/SpriteBatch.hpp" #include "../../include/kit2d/core/Renderer.hpp" namespace kit2d { void SpriteBatch::add(Sprite& sprite) { sprites.push_back(&sprite); } void SpriteBatch::process(Renderer& renderer) { for (auto sprite : sprites) { sprite->draw(renderer); ...
19.611111
53
0.651558
deianvn
07ceced65e6b956fe2e59db1d341d5f56ffaf56c
88,134
cpp
C++
floatnuc.cpp
rainoverme002/FloatNuc
ee0206f3f54cbc2a93ac88fc27116a10375db701
[ "MIT" ]
1
2021-03-29T03:59:18.000Z
2021-03-29T03:59:18.000Z
floatnuc.cpp
rainoverme002/FloatNuc
ee0206f3f54cbc2a93ac88fc27116a10375db701
[ "MIT" ]
null
null
null
floatnuc.cpp
rainoverme002/FloatNuc
ee0206f3f54cbc2a93ac88fc27116a10375db701
[ "MIT" ]
null
null
null
#include "floatnuc.h" #include "ui_floatnuc.h" #include "fixeditem.h" #include "movingitem.h" #include "corebackground.h" #include "qcustomplot.h" #include "videoplayer.h" #include <QApplication> #include <QTimer> #include <QtCore> #include <QtGui> #include <valarray> #include <chrono> #include <thread> #include <cmath...
37.841992
167
0.549833
rainoverme002
07d4775dcd775f15558c912809dde9cfa138fac7
6,791
cpp
C++
source/solution_zoo/common/xproto_plugins/iotvioplugin/src/iotviomanager/camera/camera_ov10635.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
98
2020-09-11T13:52:44.000Z
2022-03-23T11:52:02.000Z
source/solution_zoo/common/xproto_plugins/iotvioplugin/src/iotviomanager/camera/camera_ov10635.cpp
HorizonRobotics-Platform/ai-express
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
8
2020-10-19T14:23:30.000Z
2022-03-16T01:00:07.000Z
source/solution_zoo/common/xproto_plugins/iotvioplugin/src/iotviomanager/camera/camera_ov10635.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
28
2020-09-17T14:20:35.000Z
2022-01-10T16:26:00.000Z
/*************************************************************************** * COPYRIGHT NOTICE * Copyright 2020 Horizon Robotics, Inc. * All rights reserved. ***************************************************************************/ #include "iotviomanager/vinparams.h" namespace horizon { namespace vision { nam...
19.973529
77
0.537329
HorizonRobotics-Platform
07d6a85081e2f35a2f51806f61a606750c1a47a3
5,906
cc
C++
apps/grid.cc
CS126SP20/Game-of-Life
a626f94ccd5ab1f93cefa2c37fc4868fbc0ba6bd
[ "MIT" ]
null
null
null
apps/grid.cc
CS126SP20/Game-of-Life
a626f94ccd5ab1f93cefa2c37fc4868fbc0ba6bd
[ "MIT" ]
null
null
null
apps/grid.cc
CS126SP20/Game-of-Life
a626f94ccd5ab1f93cefa2c37fc4868fbc0ba6bd
[ "MIT" ]
null
null
null
// Copyright (c) 2020 [Swathi Ram]. All rights reserved. #include "../include/mylibrary/grid.h" namespace mylibrary { /* * Overridden function that does not take in a parameter if the grid has * stabilized. Used if the user has chosen to pause the automaton or if it * is the first call to the calculation of the c...
35.365269
80
0.655943
CS126SP20
07d9bcaf73944e3fb39ad3e8ff64dbd5a386d785
258
cpp
C++
Core/Event/Event.cpp
digital7-code/gaps_engine
43e2ed7c8cc43800c8815d68ab22963a773f0c5f
[ "Apache-2.0" ]
null
null
null
Core/Event/Event.cpp
digital7-code/gaps_engine
43e2ed7c8cc43800c8815d68ab22963a773f0c5f
[ "Apache-2.0" ]
null
null
null
Core/Event/Event.cpp
digital7-code/gaps_engine
43e2ed7c8cc43800c8815d68ab22963a773f0c5f
[ "Apache-2.0" ]
1
2021-10-16T14:11:00.000Z
2021-10-16T14:11:00.000Z
#include <gapspch.hpp> #include <Core/Event/Event.hpp> namespace gaps { EventId Event::GetId() const noexcept { return id; } Event::Event(const EventId id) noexcept : id{ id } { } void Event::OnCreate() { } void Event::OnRelease() { } }
10.75
40
0.631783
digital7-code
07da80fff5916e196089971a4998c90c9cc20b37
532
cpp
C++
src/systems/sources/type.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
2
2021-03-18T16:25:04.000Z
2021-11-13T00:29:27.000Z
src/systems/sources/type.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
null
null
null
src/systems/sources/type.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
1
2021-11-13T00:29:30.000Z
2021-11-13T00:29:30.000Z
/** * @file * @author __AUTHOR_NAME__ <mail@host.com> * @copyright 2021 __COMPANY_LTD__ * @license <a href="https://opensource.org/licenses/MIT">MIT License</a> */ #include "../type.hpp" #include "../../components/type.hpp" #include "../../utils/assert.hpp" namespace Zen { extern entt::registry g_registry; s...
21.28
74
0.695489
hexoctal
07dd5260fe7a319e58385b38ffc31bad2d689dbb
29,107
hpp
C++
System.Core/include/Switch/System/Threading/Monitor.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
4
2021-10-14T01:43:00.000Z
2022-03-13T02:16:08.000Z
System.Core/include/Switch/System/Threading/Monitor.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
null
null
null
System.Core/include/Switch/System/Threading/Monitor.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
2
2022-03-13T02:16:06.000Z
2022-03-14T14:32:57.000Z
/// @file /// @brief Contains Switch::System::Threading::Monitor class. #pragma once #include <map> #include "../../RefPtr.hpp" #include "../../Static.hpp" #include "../IntPtr.hpp" #include "../Object.hpp" #include "../Nullable.hpp" #include "../TimeSpan.hpp" #include "AutoResetEvent.hpp" #include "Mutex.hpp" #includ...
113.699219
689
0.738448
kkptm
07e204bb40e36c20f9a8052d0c265e6bee08baf0
719
cc
C++
cartographer/cloud/map_builder_server_interface.cc
laotie/cartographer
b8228ee6564f5a7ad0d6d0b9a30516521cff2ee9
[ "Apache-2.0" ]
5,196
2016-08-04T14:52:31.000Z
2020-04-02T18:30:00.000Z
cartographer/cloud/map_builder_server_interface.cc
laotie/cartographer
b8228ee6564f5a7ad0d6d0b9a30516521cff2ee9
[ "Apache-2.0" ]
1,206
2016-08-03T14:27:00.000Z
2020-03-31T21:14:18.000Z
cartographer/cloud/map_builder_server_interface.cc
laotie/cartographer
b8228ee6564f5a7ad0d6d0b9a30516521cff2ee9
[ "Apache-2.0" ]
1,810
2016-08-03T05:45:02.000Z
2020-04-02T03:44:18.000Z
#include "cartographer/cloud/map_builder_server_interface.h" #include "absl/memory/memory.h" #include "cartographer/cloud/internal/map_builder_server.h" namespace cartographer { namespace cloud { void RegisterMapBuilderServerMetrics(metrics::FamilyFactory* factory) { MapBuilderServer::RegisterMetrics(factory); } ...
32.681818
72
0.76217
laotie
07e298c33ca879800b5608f5928da1363551daeb
11,964
cxx
C++
Packages/java/io/PrintStream.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/io/PrintStream.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/io/PrintStream.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
// // PrintStream.cxx // Aries // // Created by Brandon on 2017-08-26. // Copyright © 2017 Brandon. All rights reserved. // #include "PrintStream.hxx" #include "FilterOutputStream.hxx" #include "File.hxx" #include "OutputStream.hxx" #include "CharSequence.hxx" #include "Object.hxx" #include "String.hxx" #include "...
38.346154
167
0.666499
Brandon-T
07e3a9a55b3f4af4ca2d096594e4c06beca81467
6,729
cpp
C++
HelperFunctions/getVkPhysicalDeviceLineRasterizationFeaturesEXT.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/getVkPhysicalDeviceLineRasterizationFeaturesEXT.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/getVkPhysicalDeviceLineRasterizationFeaturesEXT.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Douglas Kaip * * 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 ...
38.895954
140
0.585674
dkaip
07e3b5d7056376be055dad6e9850772b35e89d49
2,468
cpp
C++
Source/Runtime/Foundation/Filesystem/FileSystem.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
Source/Runtime/Foundation/Filesystem/FileSystem.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
Source/Runtime/Foundation/Filesystem/FileSystem.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
// Copyright 2008-2014 Simon Ekström #include "Common.h" #include "FileSystem.h" #include "FileSource.h" #include "File.h" #include "FileUtil.h" namespace sb { //------------------------------------------------------------------------------- FileSystem::FileSystem(const char* base_path) { _base_path = base_pat...
20.566667
98
0.623987
simeks
2e38e61fc47051fc67aa6e8ef6969c2539e90b68
952
cpp
C++
D3D12Backend/APIWrappers/CommandQueue/GraphicQueue.cpp
bestdark/BoolkaEngine
35ae68dedb42baacb19908c0aaa047fe7f71f6b2
[ "MIT" ]
27
2021-02-12T10:13:55.000Z
2022-03-24T14:44:06.000Z
D3D12Backend/APIWrappers/CommandQueue/GraphicQueue.cpp
bestdark/BoolkaEngine
35ae68dedb42baacb19908c0aaa047fe7f71f6b2
[ "MIT" ]
null
null
null
D3D12Backend/APIWrappers/CommandQueue/GraphicQueue.cpp
bestdark/BoolkaEngine
35ae68dedb42baacb19908c0aaa047fe7f71f6b2
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "GraphicQueue.h" #include "APIWrappers/CommandList/GraphicCommandListImpl.h" #include "APIWrappers/Device.h" namespace Boolka { bool GraphicQueue::Initialize(Device& device) { ID3D12CommandQueue* commandQueue = nullptr; D3D12_COMMAND_QUEUE_DESC desc = {}; ...
28.848485
84
0.70063
bestdark
2e3a71e3282033c5a3b41c23659a1f6082156d82
1,135
cc
C++
2020/PTA/Contest/1.cc
slowbear/TrainingCode
688872b9dab784a410069b787457f8c0871648aa
[ "CC0-1.0" ]
null
null
null
2020/PTA/Contest/1.cc
slowbear/TrainingCode
688872b9dab784a410069b787457f8c0871648aa
[ "CC0-1.0" ]
null
null
null
2020/PTA/Contest/1.cc
slowbear/TrainingCode
688872b9dab784a410069b787457f8c0871648aa
[ "CC0-1.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using LL = long long; using Pii = pair<int, int>; using Pll = pair<LL, LL>; using VI = vector<int>; using VP = vector<pair<int, int>>; #define rep(i, a, b) for (auto i = (a); i < (b); ++i) #define rev(i, a, b) for (auto i = (b - 1); i >= (a); --i) #define grep(i, u) for (au...
22.7
59
0.533921
slowbear
2e3dd45c74178ada77a28f0951aee800499e7b43
1,930
cpp
C++
engine/plugins/files/file_reader_class.cpp
dmpas/e8engine
27390fa096fa721be5f8a868a844fbb20f6ebc9c
[ "MIT" ]
1
2017-11-17T07:28:02.000Z
2017-11-17T07:28:02.000Z
engine/plugins/files/file_reader_class.cpp
dmpas/e8engine
27390fa096fa721be5f8a868a844fbb20f6ebc9c
[ "MIT" ]
null
null
null
engine/plugins/files/file_reader_class.cpp
dmpas/e8engine
27390fa096fa721be5f8a868a844fbb20f6ebc9c
[ "MIT" ]
null
null
null
#include "file_reader_class.hpp" #include <boost/filesystem.hpp> #include "e8core/env/_array.h" #include <sys/types.h> #include <sys/stat.h> namespace fs = boost::filesystem; using namespace std; void FileReaderClass::Close() { stream.close(); } void FileReaderClass::Open(E8_IN FileName, E8_IN Exclusive) { ...
20.104167
79
0.615026
dmpas
2e41354ef0b892b7060c8aa8342a25d837b4f2fb
130
hpp
C++
cinemagraph_editor/opencv2.framework/Versions/A/Headers/core/base.hpp
GeonHyeongKim/cinemagraph_editor
20639c63a5a3cf55267fb5f68f56a74da5820652
[ "MIT" ]
null
null
null
cinemagraph_editor/opencv2.framework/Versions/A/Headers/core/base.hpp
GeonHyeongKim/cinemagraph_editor
20639c63a5a3cf55267fb5f68f56a74da5820652
[ "MIT" ]
null
null
null
cinemagraph_editor/opencv2.framework/Versions/A/Headers/core/base.hpp
GeonHyeongKim/cinemagraph_editor
20639c63a5a3cf55267fb5f68f56a74da5820652
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:bb04bec725a144a389cb9e9109385e3d4e78b260c95a9d3196603a4ce28457ab size 26499
32.5
75
0.884615
GeonHyeongKim
2e48e9bbb8a00ab2769fdb376785d8e647aa0fc4
496
cpp
C++
code/engine/input.cpp
ugozapad/g-ray-engine
6a28c26541a6f4d50b0ca666375ab45f815c9299
[ "BSD-2-Clause" ]
1
2021-11-18T15:13:30.000Z
2021-11-18T15:13:30.000Z
code/engine/input.cpp
ugozapad/g-ray-engine
6a28c26541a6f4d50b0ca666375ab45f815c9299
[ "BSD-2-Clause" ]
null
null
null
code/engine/input.cpp
ugozapad/g-ray-engine
6a28c26541a6f4d50b0ca666375ab45f815c9299
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "input.h" Input Input::ms_Singleton; Input* Input::Instance() { return &ms_Singleton; } void Input::KeyAction(uint32_t keyid, bool state) { if (keyid >= m_kMaxmimumKeys) return; m_Keys[keyid] = state; } void Input::MousePosAction(float x, float y) { m_MousePos.x = x; m_MousePos.y =...
13.052632
49
0.693548
ugozapad
2e491c2d707e27e7a1f347b14cbea8e2f59cb88c
3,342
cpp
C++
backends/dpdk/printUtils.cpp
st22nestrel/p4c
5285887bd4f6fcf6fd40b27e58291f647583f3b1
[ "Apache-2.0" ]
null
null
null
backends/dpdk/printUtils.cpp
st22nestrel/p4c
5285887bd4f6fcf6fd40b27e58291f647583f3b1
[ "Apache-2.0" ]
5
2022-02-11T09:23:13.000Z
2022-03-29T12:03:35.000Z
backends/dpdk/printUtils.cpp
st22nestrel/p4c
5285887bd4f6fcf6fd40b27e58291f647583f3b1
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 Intel Corporation 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 writing, softwa...
26.736
75
0.650509
st22nestrel
2e4a2b9f781e62b5ea931bc46f0f26c60195585e
7,956
cpp
C++
RenderSystems/GLES2/src/OgreGLES2Support.cpp
MrTypename/ogre-code
b755e3884aa3b3a5fb37b2b2a75a8e44e70bcd56
[ "MIT" ]
null
null
null
RenderSystems/GLES2/src/OgreGLES2Support.cpp
MrTypename/ogre-code
b755e3884aa3b3a5fb37b2b2a75a8e44e70bcd56
[ "MIT" ]
null
null
null
RenderSystems/GLES2/src/OgreGLES2Support.cpp
MrTypename/ogre-code
b755e3884aa3b3a5fb37b2b2a75a8e44e70bcd56
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
49.111111
155
0.734917
MrTypename
2e4d2e09f38fe2cc1d1902a1c02eb7b9f4ce4204
1,534
hpp
C++
assembler/inc/symtable.hpp
miledevv/GNU-assembler-linker
98b3df7f0b920e86ff8ad76981ed45a1f4639f27
[ "MIT" ]
null
null
null
assembler/inc/symtable.hpp
miledevv/GNU-assembler-linker
98b3df7f0b920e86ff8ad76981ed45a1f4639f27
[ "MIT" ]
null
null
null
assembler/inc/symtable.hpp
miledevv/GNU-assembler-linker
98b3df7f0b920e86ff8ad76981ed45a1f4639f27
[ "MIT" ]
null
null
null
#ifndef _SYMTABLE_H #define _SYMTABLE_H #include <iostream> #include <string> #include <sstream> #include <list> using namespace std; #define UND -2 #define LOCAL 0 #define GLOBAL 1 #define IS_EQU 1 #define R_VN_PC16 0 #define R_VN_16 1 typedef struct { int id; string name; int value; short bind; ...
19.417722
106
0.651239
miledevv
2e519b4b635eae79996faec251229134c54cba03
18,250
hpp
C++
machine_learning/vector_ops.hpp
icbdubey/C-Plus-Plus
d51947a9d5a96695ea52db4394db6518d777bddf
[ "MIT" ]
20,295
2016-07-17T06:29:04.000Z
2022-03-31T23:32:16.000Z
machine_learning/vector_ops.hpp
icbdubey/C-Plus-Plus
d51947a9d5a96695ea52db4394db6518d777bddf
[ "MIT" ]
1,399
2017-06-02T05:59:45.000Z
2022-03-31T00:55:00.000Z
machine_learning/vector_ops.hpp
icbdubey/C-Plus-Plus
d51947a9d5a96695ea52db4394db6518d777bddf
[ "MIT" ]
5,775
2016-10-14T08:10:18.000Z
2022-03-31T18:26:39.000Z
/** * @file vector_ops.hpp * @author [Deep Raval](https://github.com/imdeep2905) * * @brief Various functions for vectors associated with [NeuralNetwork (aka * Multilayer Perceptron)] * (https://en.wikipedia.org/wiki/Multilayer_perceptron). * */ #ifndef VECTOR_OPS_FOR_NN #define VECTOR_OPS_FOR_NN #include <alg...
35.436893
80
0.599068
icbdubey
2e54bdaebcea8214fdac807bd1f2f72d9d4c377a
5,705
cpp
C++
tests/cthread/test_cthread_sel_bit.cpp
rseac/systemc-compiler
ad1c68054467ed8db1c4e9b8f63eda092945d56d
[ "Apache-2.0" ]
null
null
null
tests/cthread/test_cthread_sel_bit.cpp
rseac/systemc-compiler
ad1c68054467ed8db1c4e9b8f63eda092945d56d
[ "Apache-2.0" ]
null
null
null
tests/cthread/test_cthread_sel_bit.cpp
rseac/systemc-compiler
ad1c68054467ed8db1c4e9b8f63eda092945d56d
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ #include "sct_assert.h" #include ...
23.004032
79
0.408063
rseac
2e5515112fa86ff46a1d3b8a190d567f110fbc29
3,415
cpp
C++
image/shifted_interp2_mex.cpp
ojwoodford/ojwul
fe8b45ee0c74ecdff2b6f832cde1b9c31f30e022
[ "BSD-2-Clause" ]
8
2017-03-13T01:20:50.000Z
2020-09-08T12:34:28.000Z
image/shifted_interp2_mex.cpp
ojwoodford/ojwul
fe8b45ee0c74ecdff2b6f832cde1b9c31f30e022
[ "BSD-2-Clause" ]
null
null
null
image/shifted_interp2_mex.cpp
ojwoodford/ojwul
fe8b45ee0c74ecdff2b6f832cde1b9c31f30e022
[ "BSD-2-Clause" ]
1
2017-03-13T01:20:51.000Z
2017-03-13T01:20:51.000Z
#include <mex.h> #include <math.h> #ifdef _OPENMP #include <omp.h> #endif #include <stdint.h> #include "interp2_methods.hpp" #include "../utils/private/class_handle.hpp" typedef IM_SHIFT<uint8_t, double, double> shiftIm_t; #if _MATLAB_ < 805 // R2015a extern "C" mxArray *mxCreateUninitNumericArray(mwSize nd...
35.947368
147
0.610835
ojwoodford
2e64db339c81803ee0fa08e3ac751b3266b9fe97
8,945
cpp
C++
OpenGLTraining/src/1.Start/CoordinateSystemDepth.cpp
NewBediver/OpenGLTraining
caf38b9601544e3145b9d2995d9bd28558bf3d11
[ "Apache-2.0" ]
null
null
null
OpenGLTraining/src/1.Start/CoordinateSystemDepth.cpp
NewBediver/OpenGLTraining
caf38b9601544e3145b9d2995d9bd28558bf3d11
[ "Apache-2.0" ]
null
null
null
OpenGLTraining/src/1.Start/CoordinateSystemDepth.cpp
NewBediver/OpenGLTraining
caf38b9601544e3145b9d2995d9bd28558bf3d11
[ "Apache-2.0" ]
null
null
null
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <stb/stb_image.h> #include "Shader/Shader.h" #include <iostream> // Callback for resizing void framebufferSizeCallback(GLFWwindow* window, int width, int height); ...
30.738832
138
0.633091
NewBediver
2e66057a57e98c17598d363186ff6c09c768c0b3
3,326
cpp
C++
src/types/Categories.cpp
Mostah/parallel-pymcda
d5f5bb0de95dec90b88be9d00a3860e52eed4003
[ "MIT" ]
2
2020-12-12T22:48:57.000Z
2021-02-24T09:37:40.000Z
src/types/Categories.cpp
Mostah/parallel-pymcda
d5f5bb0de95dec90b88be9d00a3860e52eed4003
[ "MIT" ]
5
2021-01-07T19:34:24.000Z
2021-03-17T13:52:22.000Z
src/types/Categories.cpp
Mostah/parallel-pymcda
d5f5bb0de95dec90b88be9d00a3860e52eed4003
[ "MIT" ]
3
2020-12-12T22:49:56.000Z
2021-09-08T05:26:38.000Z
#include "../../include/types/Categories.h" #include "../../include/utils.h" #include <iostream> #include <ostream> #include <string.h> #include <vector> Categories::Categories(int number_of_categories, std::string prefix) { for (int i = 0; i < number_of_categories; i++) { std::string id = prefix + std::to_strin...
29.696429
80
0.678894
Mostah
2e678131155f7b22525a6341caec35ed9dd8edc9
2,310
cpp
C++
Svc/TlmChan/test/perf/TelemChanImplTester.cpp
AlperenCetin0/fprime
7e20febd34019c730da1358567e7a512592de4d8
[ "Apache-2.0" ]
9,182
2017-07-06T15:51:35.000Z
2022-03-30T11:20:33.000Z
Svc/TlmChan/test/perf/TelemChanImplTester.cpp
AlperenCetin0/fprime
7e20febd34019c730da1358567e7a512592de4d8
[ "Apache-2.0" ]
719
2017-07-14T17:56:01.000Z
2022-03-31T02:41:35.000Z
Svc/TlmChan/test/perf/TelemChanImplTester.cpp
AlperenCetin0/fprime
7e20febd34019c730da1358567e7a512592de4d8
[ "Apache-2.0" ]
1,216
2017-07-12T15:41:08.000Z
2022-03-31T21:44:37.000Z
/* * PrmDbImplTester.cpp * * Created on: Mar 18, 2015 * Author: tcanham */ #include <Svc/TlmChan/test/ut/TelemChanImplTester.hpp> #include <Fw/Com/FwComBuffer.hpp> #include <Fw/Com/FwComPacket.hpp> #include <Os/IntervalTimer.hpp> #include <cstdio> namespace Svc { TelemStoreComponentBaseFriend::Telem...
28.170732
156
0.628571
AlperenCetin0
2e687517f1bae373b295ae672fba6fb05fa50aeb
398
hpp
C++
include/lol/def/LcdsSummoner.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/LcdsSummoner.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/LcdsSummoner.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" namespace lol { struct LcdsSummoner { uint64_t sumId; std::string name; }; inline void to_json(json& j, const LcdsSummoner& v) { j["sumId"] = v.sumId; j["name"] = v.name; } inline void from_json(const json& j, LcdsSummoner& v) { v.sumId = j.at("...
24.875
57
0.595477
Maufeat
2e6dfda112f1d2c91261561e0c813d3e05d8dfb3
52
hpp
C++
src/boost_fusion_include_iterator_facade.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_include_iterator_facade.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_include_iterator_facade.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/include/iterator_facade.hpp>
26
51
0.826923
miathedev