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
10fcb69233b3531647312d2f824d66dcc1921eda
337
hpp
C++
source/ashes/renderer/GlRenderer/Command/Commands/GlDrawIndirectCommand.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/GlRenderer/Command/Commands/GlDrawIndirectCommand.hpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/GlRenderer/Command/Commands/GlDrawIndirectCommand.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/* This file belongs to Ashes. See LICENSE file in root folder */ #pragma once #include "renderer/GlRenderer/Command/Commands/GlCommandBase.hpp" namespace ashes::gl { void buildDrawIndirectCommand( VkBuffer buffer , VkDeviceSize offset , uint32_t drawCount , uint32_t stride , VkPrimitiveTopology mode , Cmd...
18.722222
65
0.756677
DragonJoker
10fd90847f0149ef1041ca034a8751cf0bc4150d
599
cc
C++
pixel-standalone/main_cuda.cc
lauracappelli/pixeltrack-standalone-test-oneapi
5832b6680ea0327f124afcfac801addbea458203
[ "Apache-2.0" ]
null
null
null
pixel-standalone/main_cuda.cc
lauracappelli/pixeltrack-standalone-test-oneapi
5832b6680ea0327f124afcfac801addbea458203
[ "Apache-2.0" ]
null
null
null
pixel-standalone/main_cuda.cc
lauracappelli/pixeltrack-standalone-test-oneapi
5832b6680ea0327f124afcfac801addbea458203
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <memory> #include "analyzer_cuda.h" #include "input.h" #include "modules.h" #include "output.h" int main(int argc, char** argv) { Input input = read_input(); std::cout << "Got " << input.cablingMap.size << " for cabling, wordCounter " << input.wordCounter << std::endl; std::unique_...
27.227273
119
0.647746
lauracappelli
800b89559fa8c25641afa66383c52d14fd764e4c
6,134
hpp
C++
firmware/library/L2_HAL/displays/oled/ssd1306.hpp
Adam-D-Sanchez/SJSU-Dev2
ecb5bb01912f6f85a76b6715d0e72f2d3062ceed
[ "Apache-2.0" ]
null
null
null
firmware/library/L2_HAL/displays/oled/ssd1306.hpp
Adam-D-Sanchez/SJSU-Dev2
ecb5bb01912f6f85a76b6715d0e72f2d3062ceed
[ "Apache-2.0" ]
null
null
null
firmware/library/L2_HAL/displays/oled/ssd1306.hpp
Adam-D-Sanchez/SJSU-Dev2
ecb5bb01912f6f85a76b6715d0e72f2d3062ceed
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstddef> #include <cstdint> #include "config.hpp" #include "L1_Drivers/gpio.hpp" #include "L1_Drivers/ssp.hpp" #include "L2_HAL/displays/pixel_display.hpp" #include "utility/log.hpp" class Ssd1306 : public PixelDisplayInterface { public: static constexpr size_t kColumns = 128; static...
26.669565
80
0.610205
Adam-D-Sanchez
800dde40d565d7c0a93918f0b54ebdc223576c86
864
cpp
C++
source/FAST/Examples/DataImport/clariusStreaming.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Examples/DataImport/clariusStreaming.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Examples/DataImport/clariusStreaming.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
/** * @example clariusStreaming.cpp */ #include <FAST/Streamers/ClariusStreamer.hpp> #include <FAST/Visualization/SimpleWindow.hpp> #include <FAST/Visualization/ImageRenderer/ImageRenderer.hpp> #include <FAST/Tools/CommandLineParser.hpp> using namespace fast; int main(int argc, char**argv) { CommandLineParser p...
33.230769
87
0.701389
andreped
801015bf1c7bc7153e57400a0fa9be4abb286cd6
4,199
cc
C++
plugins/src/PairConvFilter.cc
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
plugins/src/PairConvFilter.cc
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
plugins/src/PairConvFilter.cc
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "PairConvFilter.hh" //------------// // Geant4 // //------------// #include "G4RunManager.hh" namespace slic { G4ClassificationOfNewTrack PairConvFilter::stackingClassifyNewTrack( const G4Track *track, const G4ClassificationOfNewTrack &currentTrackClass) { if (track == currentTrack_) { current...
34.418033
80
0.618242
omar-moreno
80113427fd80ee179df6ecd8a9649896a9ca6f07
413
cc
C++
sentinel-core/test/mock/flow/mock.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
121
2019-02-22T06:50:31.000Z
2022-01-22T23:23:42.000Z
sentinel-core/test/mock/flow/mock.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
24
2019-05-07T08:58:38.000Z
2022-01-26T02:36:06.000Z
sentinel-core/test/mock/flow/mock.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
36
2019-03-19T09:46:08.000Z
2021-11-24T13:20:56.000Z
#include "sentinel-core/test/mock/flow/mock.h" namespace Sentinel { namespace Flow { MockTrafficShapingChecker::MockTrafficShapingChecker() = default; MockTrafficShapingChecker::~MockTrafficShapingChecker() = default; MockTrafficShapingCalculator::MockTrafficShapingCalculator() = default; MockTrafficShapingCalculato...
29.5
72
0.813559
windrunner123
80135360f9ed8dac2676aee65e4550af78b0ca6b
6,104
cpp
C++
build/qCC/CloudCompare_autogen/include_Debug/EWIEGA46WW/moc_ccOverlayDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/qCC/CloudCompare_autogen/include_Debug/EWIEGA46WW/moc_ccOverlayDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/qCC/CloudCompare_autogen/include_Debug/EWIEGA46WW/moc_ccOverlayDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'ccOverlayDialog.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.1) ** ** WARNING! All changes made in this file will be lost! **********************************************...
33.723757
106
0.589613
ohanlonl
8015799e7c2ea7a9160385aaf2808ed69370238e
1,708
cpp
C++
jni/application/Crosshair.cpp
clarkdonald/eecs494explore3d
fd4086d2c5482a289d51ef71c5f1ae20347db80a
[ "BSD-2-Clause" ]
null
null
null
jni/application/Crosshair.cpp
clarkdonald/eecs494explore3d
fd4086d2c5482a289d51ef71c5f1ae20347db80a
[ "BSD-2-Clause" ]
null
null
null
jni/application/Crosshair.cpp
clarkdonald/eecs494explore3d
fd4086d2c5482a289d51ef71c5f1ae20347db80a
[ "BSD-2-Clause" ]
null
null
null
// // Crosshair.cpp // game // // Created by Donald Clark on 10/27/13. // // #include "Crosshair.h" #include "Utility.h" #include "Player.h" #include <zenilib.h> using namespace Zeni; Crosshair::Crosshair() : radius(25.0f) {} Crosshair::~Crosshair() {} void Crosshair::render(const bool &is_wielding_weapon, Play...
26.276923
86
0.641101
clarkdonald
801ff9d16ae2b4b5dc73660bd69ff45251b5c18d
93
cpp
C++
keyword/extern/main.cpp
learnMachining/cplus2test
8cc0048627724bb967f27d5cd9860dbb5804a7d9
[ "Apache-2.0" ]
null
null
null
keyword/extern/main.cpp
learnMachining/cplus2test
8cc0048627724bb967f27d5cd9860dbb5804a7d9
[ "Apache-2.0" ]
null
null
null
keyword/extern/main.cpp
learnMachining/cplus2test
8cc0048627724bb967f27d5cd9860dbb5804a7d9
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; extern double PI; int main() { cout<<PI<<endl; }
10.333333
20
0.677419
learnMachining
80218a628bb37821b34b2d14050b4b3d67a7a68e
8,076
cpp
C++
Code/WolfEngine/Math/Matrix.cpp
Wolfos/WolfEngine
8034c2f5456c34b59be68f2855d4a6cab3b829f2
[ "Apache-2.0" ]
4
2015-01-09T00:11:54.000Z
2021-03-29T13:17:24.000Z
Code/WolfEngine/Math/Matrix.cpp
Wolfos/WolfEngine
8034c2f5456c34b59be68f2855d4a6cab3b829f2
[ "Apache-2.0" ]
2
2015-01-28T14:06:39.000Z
2017-08-02T06:54:34.000Z
Code/WolfEngine/Math/Matrix.cpp
Wolfos/WolfEngine
8034c2f5456c34b59be68f2855d4a6cab3b829f2
[ "Apache-2.0" ]
null
null
null
// // Created by Robin on 01/01/2018. // #include "Matrix.h" #include <cstring> #include "WolfMath.h" Matrix::Matrix() { SetIdentity(); } const float* Matrix::GetData() const { return data; } void Matrix::SetIdentity() { memset(data, 0, sizeof(float) * 16); data[0] = 1; data[5] = 1; data[10] = 1; data[15] = ...
29.911111
106
0.516097
Wolfos
8022e8f3acdb43eec1bf00a7fdde581e3651bf66
3,544
cpp
C++
tests/nameof.cpp
RodrigoHolztrattner/ctti
b4d5dc59a412c1dc28dd4480df28cb20e7fffcb1
[ "MIT" ]
471
2015-08-05T04:20:11.000Z
2022-03-17T10:10:28.000Z
tests/nameof.cpp
RodrigoHolztrattner/ctti
b4d5dc59a412c1dc28dd4480df28cb20e7fffcb1
[ "MIT" ]
31
2015-08-05T18:35:17.000Z
2021-07-09T13:13:39.000Z
tests/nameof.cpp
RodrigoHolztrattner/ctti
b4d5dc59a412c1dc28dd4480df28cb20e7fffcb1
[ "MIT" ]
51
2015-08-05T13:43:46.000Z
2021-11-30T13:09:25.000Z
#include <ctti/nameof.hpp> #include "catch.hpp" using namespace ctti; namespace foo { struct Foo {}; namespace bar { struct Bar {}; } inline namespace inline_quux { struct Quux {}; } } namespace bar { struct Bar {}; constexpr ctti::detail::cstring ctti_nameof(ct...
23.012987
96
0.55474
RodrigoHolztrattner
8028d2add352db7f39ceccb7f5d3a8e9f0ead6d7
4,904
hpp
C++
samples/golf/src/icon.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
41
2017-08-29T12:14:36.000Z
2022-02-04T23:49:48.000Z
samples/golf/src/icon.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
11
2017-09-02T15:32:45.000Z
2021-12-27T13:34:56.000Z
samples/golf/src/icon.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
5
2020-01-25T17:51:45.000Z
2022-03-01T05:20:30.000Z
static const unsigned char icon[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xf8, 0xe1,...
272.444444
360
0.576468
fallahn
802af22302204a6bf086d0dffd01d52ed60258c0
3,300
cpp
C++
xyuv/src/config-parser/minicalc/operations.cpp
stian-svedenborg/xyuv
c725b4f926ef3c5311878b0b8b9c4dacbbf0db34
[ "MIT" ]
5
2015-08-13T18:46:45.000Z
2018-04-18T18:51:43.000Z
xyuv/src/config-parser/minicalc/operations.cpp
stian-svedenborg/xyuv
c725b4f926ef3c5311878b0b8b9c4dacbbf0db34
[ "MIT" ]
18
2015-08-19T13:25:30.000Z
2017-05-08T10:55:48.000Z
xyuv/src/config-parser/minicalc/operations.cpp
stian-svedenborg/xyuv
c725b4f926ef3c5311878b0b8b9c4dacbbf0db34
[ "MIT" ]
3
2016-07-21T12:18:06.000Z
2018-05-19T05:32:32.000Z
/* * The MIT License (MIT) * * Copyright (c) 2015 Stian Valentin Svedenborg * * 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 righ...
25.984252
80
0.662727
stian-svedenborg
802e48289708f2cf57236d5b295089aef1c3bf34
1,293
hh
C++
include/WCSimFitterInterface.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
include/WCSimFitterInterface.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
include/WCSimFitterInterface.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
/* * WCSimFitterInterface.hh * * Created on: 31 Oct 2014 * Author: andy */ #pragma once #include <TString.h> #include "WCSimTrackParameterEnums.hh" class WCSimLikelihoodFitter; class WCSimFitterConfig; class WCSimFitterPlots; class WCSimOutputTree; class WCSimPiZeroFitter; class WCSimCosmicFitter; class W...
19.892308
69
0.78809
chipsneutrino
803423d1e5c719bda57888babcca905836a0c056
2,334
cpp
C++
src/main.cpp
Embedded-AMS/EmbeddedProto_Example_Makefile
4e8440c887835f27b8343baa95193618eaf9b6c7
[ "CECILL-B" ]
4
2020-11-11T15:17:28.000Z
2021-06-12T10:25:10.000Z
src/main.cpp
Embedded-AMS/EmbeddedProto_Example_Makefile
4e8440c887835f27b8343baa95193618eaf9b6c7
[ "CECILL-B" ]
null
null
null
src/main.cpp
Embedded-AMS/EmbeddedProto_Example_Makefile
4e8440c887835f27b8343baa95193618eaf9b6c7
[ "CECILL-B" ]
1
2020-11-11T17:16:25.000Z
2020-11-11T17:16:25.000Z
// Includes #include <stm32f4xx.h> #include <main.h> #include <reply.h> #include <request.h> #include <DemoWriteBuffer.h> #include <DemoReadBuffer.h> // Construction of the messages. demo::reply reply_msg; demo::request request_msg; // Construction of the write and read buffer objects. demo::WriteBuffer<50> send_...
26.224719
98
0.606255
Embedded-AMS
8036fc4b63770a35dee077bfd84863330de05316
413
cpp
C++
Chapter 9. Sequential Containers/Codes/9.31_1 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 9. Sequential Containers/Codes/9.31_1 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 9. Sequential Containers/Codes/9.31_1 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
1
2021-09-30T14:08:03.000Z
2021-09-30T14:08:03.000Z
#include <iostream> #include <list> int main() { std::list<int> myList{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; auto iter = myList.begin(); while (iter != myList.end()) { if (*iter % 2) { iter = myList.insert(iter, *iter); std::advance(iter, 2); } else { iter = myList.erase(iter); } }...
17.208333
55
0.510896
Yunxiang-Li
80384bdac5914041b43cdf7a3d960e6ad18d31c1
368
cpp
C++
Pbinfo/cifra_control_comuna.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
7
2019-01-06T19:10:14.000Z
2021-10-16T06:41:23.000Z
Pbinfo/cifra_control_comuna.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
null
null
null
Pbinfo/cifra_control_comuna.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
6
2019-01-06T19:17:30.000Z
2020-02-12T22:29:17.000Z
#include <iostream> using namespace std; int sum_cifra_control(int a, int b){ int k=0; if(a>b) swap(b, a); if(a==9){ for(int i=a; i<=b; i++) if(i%9==0) k++; } else for(int i=a; i<=b; i++) if(i%9==a) k++; return k; } int main() { int a, b; cin>>a>>b; ...
13.142857
36
0.464674
Al3x76
8039a5613e3d99d4b6c17c084c5b584c0c66a22e
231
hpp
C++
packets/PKT_SPM_RemoveListener.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
1
2022-03-27T10:21:41.000Z
2022-03-27T10:21:41.000Z
packets/PKT_SPM_RemoveListener.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
null
null
null
packets/PKT_SPM_RemoveListener.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
3
2019-07-20T03:59:10.000Z
2022-03-27T10:20:09.000Z
#ifndef HPP_110_PKT_SPM_RemoveListener_HPP #define HPP_110_PKT_SPM_RemoveListener_HPP #include "base.hpp" #pragma pack(push, 1) struct PKT_SPM_RemoveListener_s : DefaultPacket<PKT_SPM_RemoveListener> { }; #pragma pack(pop) #endif
21
71
0.831169
HoDANG
d9a2d2d4c3d82150466ecd93f0e234bbe514155f
5,494
cpp
C++
AndroidClient/math/collision/BoundingBox.cpp
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
77
2015-01-28T17:21:49.000Z
2022-02-17T17:59:21.000Z
AndroidClient/math/collision/BoundingBox.cpp
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
5
2015-03-22T23:14:54.000Z
2020-09-18T13:26:03.000Z
AndroidClient/math/collision/BoundingBox.cpp
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
24
2015-02-12T04:34:37.000Z
2021-06-19T17:05:23.000Z
/* Copyright 2011 Aevum Software aevum @ aevumlab.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 app...
28.915789
135
0.626866
aviskumar
d9a3207d357980280637637846369c3263cc35a9
22
cpp
C++
src/Game/zNPCGlyph.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
null
null
null
src/Game/zNPCGlyph.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
6
2022-01-16T05:29:01.000Z
2022-01-18T01:10:29.000Z
src/Game/zNPCGlyph.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
1
2022-01-16T00:04:23.000Z
2022-01-16T00:04:23.000Z
#include "zNPCGlyph.h"
22
22
0.772727
DarkRTA
d9a5f9e8791b9e4055bc100df05bf5a4cc14875a
1,346
cpp
C++
luves/buffer.cpp
Leviathan1995/Luves
c8c64faf7130cd0dc58a1ffd2c7be24caedecbd2
[ "MIT" ]
19
2016-07-27T14:23:17.000Z
2021-03-14T08:10:45.000Z
luves/buffer.cpp
Leviathan1995/Luves
c8c64faf7130cd0dc58a1ffd2c7be24caedecbd2
[ "MIT" ]
1
2016-09-25T18:03:24.000Z
2016-10-01T06:29:59.000Z
luves/buffer.cpp
Leviathan1995/Luves
c8c64faf7130cd0dc58a1ffd2c7be24caedecbd2
[ "MIT" ]
5
2016-08-02T06:55:19.000Z
2021-05-05T14:15:20.000Z
// // Buffer.cpp // Luves // // Created by leviathan on 16/6/1. // Copyright © 2016年 leviathan. All rights reserved. // #include "buffer.h" namespace luves { // //Buffer // void Buffer::Append(Buffer & buffer) { buffer_.insert(buffer_.end(), buffer.buffer_[buffer.GetReadIndex()], buff...
21.709677
96
0.52526
Leviathan1995
d9a7a5ffc12d6c001e55bfbef3eeddee1a46f3d6
2,993
hpp
C++
INCLUDE/Vcl/httputil.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
1
2022-01-13T01:03:55.000Z
2022-01-13T01:03:55.000Z
INCLUDE/Vcl/httputil.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
INCLUDE/Vcl/httputil.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
// Borland C++ Builder // Copyright (c) 1995, 2002 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'HTTPUtil.pas' rev: 6.00 #ifndef HTTPUtilHPP #define HTTPUtilHPP #pragma delphiheader begin #pragma option push -w- #pragma option push -Vx #include <Classe...
42.757143
111
0.709322
earthsiege2
d9b000386041b16f5b4c6c1b773db1722d224b75
2,758
cpp
C++
src/parser.cpp
hanilr/ed
38c66d2376aa08fe20686d129cd901423aad1a46
[ "MIT" ]
1
2021-12-22T07:30:05.000Z
2021-12-22T07:30:05.000Z
src/parser.cpp
hanilr/ed
38c66d2376aa08fe20686d129cd901423aad1a46
[ "MIT" ]
null
null
null
src/parser.cpp
hanilr/ed
38c66d2376aa08fe20686d129cd901423aad1a46
[ "MIT" ]
null
null
null
// PARSER MAIN FILE // // STANDARD LIBRARY #include <iostream> #include <algorithm> // DIY LIBRARY #include "lib/parser.hpp" #include "lib/util.hpp" #include "lib/config.hpp" std::string parser_term(std::string term) { std::replace(term.begin(), term.end(), 46, 13); return term; } int parse...
34.475
88
0.573604
hanilr
d9b3f8c78faec9e298ccbd90b4008ac908dbd36a
13,758
cpp
C++
src/frameworks/wilhelm/src/ThreadPool.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/wilhelm/src/ThreadPool.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/wilhelm/src/ThreadPool.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
34.918782
96
0.619567
dAck2cC2
d9b6b0ce1b6f9e664e1e8f739cd8375097c6b43c
4,102
cpp
C++
projects/Test_ComputeShader/src/main.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
11
2016-08-30T12:01:35.000Z
2021-12-29T15:34:03.000Z
projects/Test_ComputeShader/src/main.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
9
2016-05-19T03:14:22.000Z
2021-01-17T05:45:52.000Z
projects/Test_ComputeShader/src/main.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
null
null
null
#include "pathos/core_minimal.h" #include "pathos/shader/shader.h" using namespace pathos; #include <stdio.h> void initComputeShader(); int main(int argc, char** argv) { EngineConfig config; config.windowWidth = 800; config.windowHeight = 600; config.rendererType = ERendererType::Deferred; config.title ...
29.092199
131
0.720868
codeonwort
d9b881e155db767076c9396697b46290c9f2ff5b
291
cpp
C++
arduino-libs/Pacman/src/IGameState.cpp
taylorsmithatnominet/BSidesCBR-2021-Badge
df3f13d780d6fb1b6d03d08e9bdd72f507f69aa6
[ "MIT" ]
null
null
null
arduino-libs/Pacman/src/IGameState.cpp
taylorsmithatnominet/BSidesCBR-2021-Badge
df3f13d780d6fb1b6d03d08e9bdd72f507f69aa6
[ "MIT" ]
null
null
null
arduino-libs/Pacman/src/IGameState.cpp
taylorsmithatnominet/BSidesCBR-2021-Badge
df3f13d780d6fb1b6d03d08e9bdd72f507f69aa6
[ "MIT" ]
null
null
null
#include "IGameState.h" #include "ServiceLocator.h" #include "DrawManager.h" namespace pacman { IGameState::IGameState(GameStateData * p_data) : m_datawPtr(p_data) { m_drawManagerwPtr = ServiceLocator<DrawManager>::GetService(); } IGameState::~IGameState() { } }; // namespace pacman
15.315789
63
0.742268
taylorsmithatnominet
d9b9c31e843efbbd08c65d935240a4df46964f82
2,873
cpp
C++
Game/Client/CEGUIFalagardEx/FalImageListProperties.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/CEGUIFalagardEx/FalImageListProperties.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/CEGUIFalagardEx/FalImageListProperties.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "falagardimagelistitem.h" #include "FalImageListProperties.h" #include "CEGUIPropertyHelper.h" #include <stdio.h> namespace CEGUI { namespace FalagardImageListBoxProperties { ////////////////////////////////////////////////////////////////////////////////////// String ImageNormal::get(const PropertyRecei...
37.311688
115
0.626523
hackerlank
d9bb54e82f921ac2851cf90c1629d9e1fcdb21e6
5,147
cpp
C++
src/RenderFarmUI/RF_TerraTool.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
71
2015-12-15T19:32:27.000Z
2022-02-25T04:46:01.000Z
src/RenderFarmUI/RF_TerraTool.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
19
2016-07-09T19:08:15.000Z
2021-07-29T10:30:20.000Z
src/RenderFarmUI/RF_TerraTool.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
42
2015-12-14T19:13:02.000Z
2022-03-01T15:15:03.000Z
/* * Copyright (c) 2004, Laminar Research. * * 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, ...
23.395455
133
0.642704
rromanchuk
d9bd35e18e8d8d40091d67985382764a270e1a65
1,359
cpp
C++
src/pacman/EventRunner.cpp
197708156EQUJ5/pac-man
30501ac43b9bcdd94b3cbb848c597882fc268492
[ "MIT" ]
null
null
null
src/pacman/EventRunner.cpp
197708156EQUJ5/pac-man
30501ac43b9bcdd94b3cbb848c597882fc268492
[ "MIT" ]
null
null
null
src/pacman/EventRunner.cpp
197708156EQUJ5/pac-man
30501ac43b9bcdd94b3cbb848c597882fc268492
[ "MIT" ]
null
null
null
#include "pacman/EventRunner.hpp" namespace pacman { EventRunner::~EventRunner() { board->release(); release(); } bool EventRunner::init() { board = std::make_unique<Board>(); if (board->init()) { renderer = board->getRenderer(); return true; } return true; } void Ev...
19.985294
65
0.486387
197708156EQUJ5
d9be3f062da62c24c3c0cfeb3347895b14b38587
436
hpp
C++
library/ATF/$012304FDD17B496AFBE8BAC81FBABAAE.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/$012304FDD17B496AFBE8BAC81FBABAAE.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/$012304FDD17B496AFBE8BAC81FBABAAE.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <tagBinaryParam.hpp> START_ATF_NAMESPACE union $012304FDD17B496AFBE8BAC81FBABAAE { char *AnsiString; wchar_t *UnicodeString; i...
21.8
108
0.690367
lemkova
d9cf293f3eab99383b4ccc21d94936107c4d39fe
582
cpp
C++
_includes/leet638/leet638_1.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet638/leet638_1.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet638/leet638_1.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
class Solution { public: int shoppingOffers(vector<int>& price, vector<vector<int>>& special, vector<int>& needs) { int res = 0; int n = needs.size(); for (int i = 0; i < n; i++) { res += price[i] * needs[i]; } for (int i = 0; i < special.size(); i++) { bool ok = true; for (int j = 0; j < n; j++)...
26.454545
94
0.517182
mingdaz
d9cfd8789dbfee41741e5eddd84bcf31bc4e77a6
3,023
cpp
C++
src/transactions/test/test_helper/SetOptionsTestHelper.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/transactions/test/test_helper/SetOptionsTestHelper.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/transactions/test/test_helper/SetOptionsTestHelper.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
#include "SetOptionsTestHelper.h" #include "ledger/ReviewableRequestHelper.h" #include "transactions/SetOptionsOpFrame.h" #include "test/test_marshaler.h" namespace stellar { namespace txtest { SetOptionsTestHelper::SetOptionsTestHelper(TestManager::pointer testManager) : TxHelper(testManager) { } Tr...
37.320988
116
0.640754
RomanTkachenkoDistr
d9d1072c6cab88f061fe52382162364f6575baa1
849
cpp
C++
src/libais/ais10.cpp
SkyTruth/libais
b9e10156d99994d18ce11c43ec04e7b0875db135
[ "Apache-2.0" ]
null
null
null
src/libais/ais10.cpp
SkyTruth/libais
b9e10156d99994d18ce11c43ec04e7b0875db135
[ "Apache-2.0" ]
null
null
null
src/libais/ais10.cpp
SkyTruth/libais
b9e10156d99994d18ce11c43ec04e7b0875db135
[ "Apache-2.0" ]
null
null
null
// : UTC and date query #include "ais.h" namespace libais { Ais10::Ais10(const char *nmea_payload, const size_t pad) : AisMsg(nmea_payload, pad), spare(0), dest_mmsi(0), spare2(0) { assert(message_id == 10); if (pad != 0 || num_chars != 12) { status = AIS_ERR_BAD_BIT_COUNT; return; } AisBitset...
20.707317
68
0.599529
SkyTruth
d9d2b75dc44d2ea053bfdb7994f68aaefe1503a4
5,316
cpp
C++
test/src/test_csv_line_reader.cpp
mguid65/csvio
933c11e71d3f796932808da879c89524688b3895
[ "MIT" ]
null
null
null
test/src/test_csv_line_reader.cpp
mguid65/csvio
933c11e71d3f796932808da879c89524688b3895
[ "MIT" ]
3
2019-07-16T23:53:29.000Z
2019-09-20T03:28:13.000Z
test/src/test_csv_line_reader.cpp
mguid65/csvio
933c11e71d3f796932808da879c89524688b3895
[ "MIT" ]
3
2019-07-10T20:09:28.000Z
2019-07-16T21:00:46.000Z
/* * MIT License * * Copyright (c) 2019 Matthew Guidry * * 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, m...
30.906977
100
0.626223
mguid65
d9d68dc37e878c506047a12804f6c23a03ac6c95
4,319
cpp
C++
service/nametag/piles.cpp
zostay/Mysook
3611ddf0a116d18ebc58a3050f9fe35c2684c906
[ "Artistic-2.0" ]
3
2019-06-30T04:15:18.000Z
2019-12-19T17:32:07.000Z
service/nametag/piles.cpp
zostay/Mysook
3611ddf0a116d18ebc58a3050f9fe35c2684c906
[ "Artistic-2.0" ]
null
null
null
service/nametag/piles.cpp
zostay/Mysook
3611ddf0a116d18ebc58a3050f9fe35c2684c906
[ "Artistic-2.0" ]
null
null
null
#include <inttypes.h> #include "ops.h" #define PILES 6 #define UPDATE_PIXEL 1 uint32_t program[] = { OP_SUB, 1, OP_PUSH, 3, OP_READARG, OP_PUSH, 0, OP_EQ, OP_NOT, OP_PUSH, 2, OP_CMP, OP_PUSH, 0, OP_FOREGROUND, OP_SUB, 2, OP_PUSH, 3, OP_READARG, OP_PUSH, 1, OP_EQ, OP_NOT, OP_PUSH, 3, OP_CMP, OP_PUSH, 255, ...
65.439394
78
0.686038
zostay
d9da38530ac9b7e28f6f2a4f4907aaedebe8ecae
6,299
cpp
C++
src/renderer-backend-egl.cpp
ceyusa/WPEBackend-fdo
e4c578f23359dba4d5abbd14b108f59e1b0701c1
[ "BSD-2-Clause" ]
16
2018-06-26T13:37:04.000Z
2022-03-11T14:08:22.000Z
src/renderer-backend-egl.cpp
ceyusa/WPEBackend-fdo
e4c578f23359dba4d5abbd14b108f59e1b0701c1
[ "BSD-2-Clause" ]
118
2018-03-07T11:01:45.000Z
2022-02-01T19:44:14.000Z
src/renderer-backend-egl.cpp
ceyusa/WPEBackend-fdo
e4c578f23359dba4d5abbd14b108f59e1b0701c1
[ "BSD-2-Clause" ]
16
2018-02-20T19:31:13.000Z
2021-02-23T21:10:57.000Z
/* * Copyright (C) 2017, 2018 Igalia S.L. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the followi...
29.995238
110
0.650897
ceyusa
d9defd706fc158d22c70ec08eb89617f14f9cd4b
35,644
cpp
C++
Nana.Cpp03/source/gui/programming_interface.cpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
1
2018-02-09T21:25:13.000Z
2018-02-09T21:25:13.000Z
Nana.Cpp03/source/gui/programming_interface.cpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
Nana.Cpp03/source/gui/programming_interface.cpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
/* * Nana GUI Programming Interface Implementation * Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.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) * * @file: nana/gui/programming_interface.cpp */ #...
27.229947
165
0.70441
gfannes
d9e6fa82ad49f15ac3fddfc821eb45cf42bf2d37
132
cc
C++
udemy/modern_cpp/06-more-bazel-concepts/e01/src/Main.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
udemy/modern_cpp/06-more-bazel-concepts/e01/src/Main.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
udemy/modern_cpp/06-more-bazel-concepts/e01/src/Main.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
#include "e01/Greeter.h" #include <iostream> int main() { Greeter greeter; greeter.sayHello(); return EXIT_SUCCESS; }
11
24
0.659091
e-dnx
d9e803ff49925b27ef8ec609f69a9a2a79ba81e5
3,056
cpp
C++
core123/ut/ut_datetimeutils.cpp
fennm/fs123
559b97659352620ce16030824f9acd26f590f4e1
[ "BSD-3-Clause" ]
22
2019-04-10T18:05:35.000Z
2021-12-30T12:26:39.000Z
core123/ut/ut_datetimeutils.cpp
fennm/fs123
559b97659352620ce16030824f9acd26f590f4e1
[ "BSD-3-Clause" ]
13
2019-04-09T00:19:29.000Z
2021-11-04T15:57:13.000Z
core123/ut/ut_datetimeutils.cpp
fennm/fs123
559b97659352620ce16030824f9acd26f590f4e1
[ "BSD-3-Clause" ]
4
2019-04-07T16:33:44.000Z
2020-07-02T02:58:51.000Z
#include "core123/sew.hpp" #include "core123/datetimeutils.hpp" #include "core123/strutils.hpp" #include <iostream> #include <vector> #include <utility> using core123::str; using core123::timet_to_httpdate; using core123::httpdate_to_timet; namespace sew = core123::sew; int main(int, char **) { struct timespec no...
36.380952
102
0.531741
fennm
d9ef562f5553a943567d02dd8e10f99dcfaef609
209
cpp
C++
src/netlist/gate_library/enums/pin_direction.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
407
2019-04-26T10:45:52.000Z
2022-03-31T15:52:30.000Z
src/netlist/gate_library/enums/pin_direction.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
219
2019-04-29T16:42:01.000Z
2022-03-11T22:57:41.000Z
src/netlist/gate_library/enums/pin_direction.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
53
2019-05-02T21:23:35.000Z
2022-03-11T19:46:05.000Z
#include "hal_core/netlist/gate_library/enums/pin_direction.h" namespace hal { template<> std::vector<std::string> EnumStrings<PinDirection>::data = {"none", "input", "output", "inout", "internal"}; }
29.857143
112
0.698565
emsec
d9f1d5d53ef635cbc1830031389a67d30b6146e9
1,167
cxx
C++
painty/core/test/src/ThreadPoolTest.cxx
lindemeier/painty
792cac6655b3707805ffc68d902f0e675a7770b8
[ "MIT" ]
15
2020-04-22T15:18:28.000Z
2022-03-24T07:48:28.000Z
painty/core/test/src/ThreadPoolTest.cxx
lindemeier/painty
792cac6655b3707805ffc68d902f0e675a7770b8
[ "MIT" ]
25
2020-04-18T18:55:50.000Z
2021-05-30T21:26:39.000Z
painty/core/test/src/ThreadPoolTest.cxx
lindemeier/painty
792cac6655b3707805ffc68d902f0e675a7770b8
[ "MIT" ]
2
2020-09-16T05:55:54.000Z
2021-01-09T12:09:43.000Z
/** * @file ThreadPoolTest.cxx * @author thomas lindemeier * * @brief * * @date 2020-10-20 * */ #include "gtest/gtest.h" #include "painty/core/ThreadPool.hxx" TEST(ThreadPoolTest, Construct) { { painty::ThreadPool singleThread(1U); std::cout << "Hello World from main thread: " << std::this_thread::...
22.018868
79
0.538132
lindemeier
d9f52f06a2cef864a54e8a7fe3d34112f354a7ae
318
cpp
C++
Ass3/Q4.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
Ass3/Q4.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
Ass3/Q4.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int factorial(int n){ if (n == 0) return 1; return n * factorial(n - 1); } int nCr(int n,int r){ return factorial(n) / (factorial(r) * factorial(n - r)); } int main() { int n,r; cin>>n>>r; if(n>=r){ cout<<nCr(n,r); } else { cout<<"Invalid values"; } }
14.454545
57
0.562893
nitishgarg2002
d9f5dac229134746071f859ba31ca5650c3c6390
2,558
cpp
C++
firmware/robot2015/hw-test/i2c-test.cpp
JNeiger/robocup-firmware
c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e
[ "Apache-2.0" ]
1
2018-09-25T20:28:58.000Z
2018-09-25T20:28:58.000Z
firmware/robot2015/hw-test/i2c-test.cpp
JNeiger/robocup-firmware
c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e
[ "Apache-2.0" ]
null
null
null
firmware/robot2015/hw-test/i2c-test.cpp
JNeiger/robocup-firmware
c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e
[ "Apache-2.0" ]
null
null
null
#include <mbed.h> #include <rtos.h> #include <vector> #include <algorithm> #include <helper-funcs.hpp> #include "robot-devices.hpp" DigitalOut good(LED1, 0); DigitalOut bad1(LED2, 0); DigitalOut bad2(LED3, 0); DigitalOut pwr(LED4, 1); Serial pc(RJ_SERIAL_RXTX); I2C i2c(RJ_I2C_BUS); bool testPass = false; bool batc...
24.834951
75
0.543002
JNeiger
d9f8e71da0995d3e41d80a2ba36c51c5d7e6c6f1
831
cpp
C++
BaekJoon/14569.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/14569.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/14569.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
/*14569*/ /*Got it!*/ /*39:42*/ #include <iostream> using namespace std; typedef unsigned long long ull; int main(){ ios_base::sync_with_stdio(false); cin.tie(0); ull sub[1001] = {0, }; ull student[10001] = {0, }; int n; cin >> n; for(int i = 0; i < n; i++){ int num; cin >> num; fo...
22.459459
54
0.391095
falconlee236
d9f9d9d60882dde41977388426afaf1aadf52383
1,285
cpp
C++
PRACTICE/KPRIME.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
PRACTICE/KPRIME.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
PRACTICE/KPRIME.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /* OBJECTIVE:- The game is called Count K-Primes. A number is a k-prime if it has exactly k distinct prime factors. The game is quite simple. Alice will give three numbers A, B & K to Bob. Bob needs to tell Alice the number of K-prime numbers between A & B (both inclusive). ...
23.796296
101
0.557198
prasantmahato
d9fa353463b6068760b36ddb7ff99c0df133ebca
1,956
cpp
C++
src/apps/orbiter/orbiter.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/apps/orbiter/orbiter.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/apps/orbiter/orbiter.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
// orbiter.cpp // // by Anton Betten // // started: 4/3/2020 // #include "orbiter.h" using namespace std; using namespace orbiter; using namespace orbiter::top_level; int build_number = #include "../../../build_number" ; int main(int argc, const char **argv) { //cout << "orbiter.out main" << endl; orbiter_top...
21.494505
96
0.692229
abetten
d9faa845153642cf03657a1c95a0f4b2ae74fe51
516
cpp
C++
src/drawablecomponentmanager.cpp
sch-gamedev/hentes
7381ebc25d0db4ad528deb876afe81059d7e2118
[ "Zlib" ]
1
2018-08-01T12:16:45.000Z
2018-08-01T12:16:45.000Z
src/drawablecomponentmanager.cpp
sch-gamedev/hentes
7381ebc25d0db4ad528deb876afe81059d7e2118
[ "Zlib" ]
null
null
null
src/drawablecomponentmanager.cpp
sch-gamedev/hentes
7381ebc25d0db4ad528deb876afe81059d7e2118
[ "Zlib" ]
null
null
null
/* Copyright (C) 2012 KSZK GameDev * For conditions of distribution and use, see copyright notice in main.cpp */ #include "drawablecomponentmanager.h" void DrawableComponentManager::Update() { RemoveMarkedComponents(); for( std::list<DrawableComponent*>::iterator i = Components.begin(); i != Components.end(); i...
22.434783
98
0.676357
sch-gamedev
8a0293953680b037cfdd3de5074709eab487e381
294
cpp
C++
QuickPushQuizWin/MouseController.cpp
AinoMegumi/QuickPushQuiz
7fc858d898001b2ac31e9c1e4778c4dc548430d9
[ "MIT" ]
null
null
null
QuickPushQuizWin/MouseController.cpp
AinoMegumi/QuickPushQuiz
7fc858d898001b2ac31e9c1e4778c4dc548430d9
[ "MIT" ]
null
null
null
QuickPushQuizWin/MouseController.cpp
AinoMegumi/QuickPushQuiz
7fc858d898001b2ac31e9c1e4778c4dc548430d9
[ "MIT" ]
null
null
null
#include "MouseController.hpp" #include "DxLib.h" void MouseController::UpdateCurrentPos() { GetMousePoint(&this->Current.x, &this->Current.y); } bool MouseController::Clicked() { return Core::LeftHandMouse ? GetMouseInput() & MOUSE_INPUT_RIGHT : GetMouseInput() & MOUSE_INPUT_LEFT; }
22.615385
51
0.741497
AinoMegumi
8a052f0375fdd07c275f90c44e76293d0eedc7dd
1,281
cpp
C++
src/clipMaker/src/main.cpp
kothiga/Embodied-Social-Interface
4545e07b3d575f48dea5b42cde93ef81484e9567
[ "MIT" ]
null
null
null
src/clipMaker/src/main.cpp
kothiga/Embodied-Social-Interface
4545e07b3d575f48dea5b42cde93ef81484e9567
[ "MIT" ]
null
null
null
src/clipMaker/src/main.cpp
kothiga/Embodied-Social-Interface
4545e07b3d575f48dea5b42cde93ef81484e9567
[ "MIT" ]
null
null
null
/* ================================================================================ * Copyright: (C) 2022, SIRRL Social and Intelligent Robotics Research Laboratory, * University of Waterloo, All rights reserved. * * Authors: * Austin Kothig <austin.kothig@uwaterloo.ca> * * CopyPolicy: Released under...
29.113636
83
0.587041
kothiga
8a084ae985f5aecf82771e2f66800875a29f1b6c
2,251
cpp
C++
ProblemSum/Problem_Time.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ProblemSum/Problem_Time.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ProblemSum/Problem_Time.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Problem_Time.cpp - write the problem time file //********************************************************* #include "ProblemSum.hpp" //--------------------------------------------------------- // Problem_Time //--------------------------------------------...
24.204301
71
0.557086
kravitz
8a092f62819ba59c2f2fb5cbedc7dff5b916f172
6,573
hpp
C++
src/impl/meta_utils.hpp
thequickf/graph
fff8f514b3cb3e48f4b6dfd1dd4679bcf102e7de
[ "MIT" ]
3
2021-01-26T08:42:17.000Z
2021-02-15T11:55:05.000Z
src/impl/meta_utils.hpp
thequickf/graph
fff8f514b3cb3e48f4b6dfd1dd4679bcf102e7de
[ "MIT" ]
5
2021-01-23T20:44:39.000Z
2021-02-18T08:09:12.000Z
src/impl/meta_utils.hpp
thequickf/graph
fff8f514b3cb3e48f4b6dfd1dd4679bcf102e7de
[ "MIT" ]
null
null
null
#ifndef IMPL_META_UTILS_HPP #define IMPL_META_UTILS_HPP #include <graph_traits.hpp> #include <impl/graph_traits.hpp> #include <concepts> #include <type_traits> namespace graph_meta { template<typename...> struct list; template<typename Node> using abstract_trait_replacements = list< list<graph::Net, graph_impl...
29.742081
80
0.726761
thequickf
8a0a7d33d2fdce20335c993ef4ee73f18de6b426
4,382
cpp
C++
source/rt_stark.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/rt_stark.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/rt_stark.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
/* This file is part of Cloudy and is copyright (C)1978-2019 by Gary J. Ferland and * others. For conditions of distribution and use see copyright notice in license.txt */ /*RT_stark compute stark broadening escape probabilities using Puetter formalism */ #include "cddefines.h" #include "iso.h" #include "dense.h" #in...
29.019868
89
0.606801
cloudy-astrophysics
8a0aad71238b49ec961a34ce84ac3b43ead05882
3,211
cpp
C++
SeqScript.cpp
Sgw32/R3E
8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd
[ "MIT" ]
7
2017-11-27T15:15:08.000Z
2021-03-29T16:53:22.000Z
SeqScript.cpp
Sgw32/R3E
8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd
[ "MIT" ]
null
null
null
SeqScript.cpp
Sgw32/R3E
8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd
[ "MIT" ]
4
2017-11-28T02:53:19.000Z
2021-01-29T10:37:52.000Z
///////////////////////////////////////////////////////////////////// ///////////////Original file by:Fyodor Zagumennov aka Sgw32////////// ///////////////Copyright(c) 2010 Fyodor Zagumennov ////////// ///////////////////////////////////////////////////////////////////// #include "SeqScript.h" //#include "Event.h" ...
16.723958
126
0.580193
Sgw32
8a0ea18187e60ea7f6ee587e479ce6ef684cdab2
1,594
hpp
C++
include/visualization/scorep_substrate_rrl.hpp
umbreensabirmain/readex-rrl
0cb73b3a3c6948a8dbdce96c240b24d8e992c2fe
[ "BSD-3-Clause" ]
1
2019-10-09T09:15:47.000Z
2019-10-09T09:15:47.000Z
include/visualization/scorep_substrate_rrl.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
null
null
null
include/visualization/scorep_substrate_rrl.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
1
2018-07-13T11:31:05.000Z
2018-07-13T11:31:05.000Z
/* * scorep_substrate_rrl.hpp * * Created on: Feb 21, 2017 * Author: mian */ #ifndef INCLUDE_VISUALIZATION_SCOREP_SUBSTRATE_RRL_HPP_ #define INCLUDE_VISUALIZATION_SCOREP_SUBSTRATE_RRL_HPP_ #include <scorep/plugin/plugin.hpp> namespace spp = scorep::plugin::policy; using scorep_clock = scorep::chrono::measu...
31.88
94
0.69197
umbreensabirmain
8a18f59907a1f99ab38f599025f1ddd08fa8e14b
11,693
cpp
C++
src/core/OTData.cpp
grealish/opentxs
614999063079f5843428abcaa62974f5f19f88a1
[ "Apache-2.0" ]
1
2015-01-23T13:24:07.000Z
2015-01-23T13:24:07.000Z
src/core/OTData.cpp
grealish/opentxs
614999063079f5843428abcaa62974f5f19f88a1
[ "Apache-2.0" ]
null
null
null
src/core/OTData.cpp
grealish/opentxs
614999063079f5843428abcaa62974f5f19f88a1
[ "Apache-2.0" ]
null
null
null
/************************************************************ * * OTData.cpp * */ /************************************************************ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * OPEN TRANSACTIONS * * Financial Cryptography and Digital Cash * Library, Protocol, API,...
29.829082
78
0.635252
grealish
8a1f108fb7792e52e56938e92c576707b6dd88aa
674
cpp
C++
examples/TailExample.cpp
sbeanie/Glasgow-MicroStream
eb0e214b0c16b22ff59b1633db4f76be380948d4
[ "Apache-2.0" ]
1
2019-06-17T20:52:56.000Z
2019-06-17T20:52:56.000Z
examples/TailExample.cpp
sbeanie/Glasgow-MicroStream
eb0e214b0c16b22ff59b1633db4f76be380948d4
[ "Apache-2.0" ]
null
null
null
examples/TailExample.cpp
sbeanie/Glasgow-MicroStream
eb0e214b0c16b22ff59b1633db4f76be380948d4
[ "Apache-2.0" ]
null
null
null
#include "Stream.hpp" using namespace glasgow_ustream; int main (int, char**) { void (*print_int_list) (std::list<int>) = [] (std::list<int> values) { std::cout << "Tail stream outputted: ["; for (auto &val : values) { std::cout << val << ","; } std::cout << "]" << std...
28.083333
94
0.60089
sbeanie
8a1fdcc115ffb19336a2570347aa0ceb87fbdb93
1,296
cpp
C++
cpp/library/benchmark/main.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
2
2019-12-21T00:53:47.000Z
2020-01-01T10:36:30.000Z
cpp/library/benchmark/main.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
cpp/library/benchmark/main.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdint> #include <random> #include <vector> #include <benchmark/benchmark.h> void dense_range(benchmark::State& state) { for (auto _ : state) { std::vector<int> v(state.range(0), state.range(0)); // 下面两个防止优化 benchmark::DoNotOptimize(v.data()); // TODO ClobberMemory ??...
24
55
0.660494
KaiserLancelot
8a21344249d71c7972478fc4dfe504ab2b43f7f2
653
hpp
C++
include/yukihttp/mime.hpp
Yuki-cpp/yuki-http
07fc0d194ab528f4554aef25813c565a9fce6542
[ "MIT" ]
null
null
null
include/yukihttp/mime.hpp
Yuki-cpp/yuki-http
07fc0d194ab528f4554aef25813c565a9fce6542
[ "MIT" ]
null
null
null
include/yukihttp/mime.hpp
Yuki-cpp/yuki-http
07fc0d194ab528f4554aef25813c565a9fce6542
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <memory> namespace yuki::http { class part; class mime { friend class request; public: mime() = default; mime(const mime&) = delete; mime& operator=(const mime&) = delete; mime(mime&&) = default; mime& operator=(mime && ) = default; ~mime() = defaul...
17.648649
106
0.684533
Yuki-cpp
8a257902f7bf9c601eaabe904b47d194e7b42e7d
989
hh
C++
include/rediswraps/utils.hh
woldaker/hiredis-cpp
545c8479944a678777c17a39614cecfa1dc35cd8
[ "BSD-3-Clause" ]
1
2020-07-04T23:35:59.000Z
2020-07-04T23:35:59.000Z
include/rediswraps/utils.hh
woldaker/hiredis-cpp
545c8479944a678777c17a39614cecfa1dc35cd8
[ "BSD-3-Clause" ]
null
null
null
include/rediswraps/utils.hh
woldaker/hiredis-cpp
545c8479944a678777c17a39614cecfa1dc35cd8
[ "BSD-3-Clause" ]
null
null
null
#ifndef REDISWRAPS_UTILS_HH #define REDISWRAPS_UTILS_HH #include <string> #include <type_traits> namespace rediswraps { namespace utils { template<typename Token, typename ArgConstructibleFromString = typename std::enable_if< std::is_constructible<std::string, Token>::value >::type, typename Dummy...
23.547619
74
0.741153
woldaker
8a264ac95f1ea7e968c72bea81e7155e5b33fa58
1,736
cc
C++
descriptor/tunnel_desc.cc
chris-nada/simutrans-extended
71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f
[ "Artistic-1.0" ]
38
2017-07-26T14:48:12.000Z
2022-03-24T23:48:55.000Z
descriptor/tunnel_desc.cc
chris-nada/simutrans-extended
71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f
[ "Artistic-1.0" ]
74
2017-03-15T21:07:34.000Z
2022-03-18T07:53:11.000Z
descriptor/tunnel_desc.cc
chris-nada/simutrans-extended
71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f
[ "Artistic-1.0" ]
43
2017-03-10T15:27:28.000Z
2022-03-05T10:55:38.000Z
/* * This file is part of the Simutrans-Extended project under the Artistic License. * (see LICENSE.txt) */ #include <stdio.h> #include "../dataobj/ribi.h" #include "tunnel_desc.h" #include "../network/checksum.h" int tunnel_desc_t::slope_indices[81] = { -1, // 0: -1, // 1: -1, // 2: -1, // 3: 1, // 4:north...
15.63964
99
0.46947
chris-nada
8a26b9b2b384b4431ec6210bbb1ae9c7a87225ef
2,089
cpp
C++
1304-D.cpp
ankiiitraj/questionsSolved
8452b120935a9c3d808b45f27dcdc05700d902fc
[ "MIT" ]
null
null
null
1304-D.cpp
ankiiitraj/questionsSolved
8452b120935a9c3d808b45f27dcdc05700d902fc
[ "MIT" ]
1
2020-02-24T19:45:57.000Z
2020-02-24T19:45:57.000Z
1304-D.cpp
ankiiitraj/questionsSolved
8452b120935a9c3d808b45f27dcdc05700d902fc
[ "MIT" ]
null
null
null
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Author : Ankit Raj // Problem Name : Cow and Secret Message // Problem Link : https://codeforces.com/contest/1304/problem/D // * * * * * * * * * * * * * * *...
23.738636
91
0.471996
ankiiitraj
8a2804ac58cb8794eb53f820c2a1f78af57ae4c9
1,696
cpp
C++
October 2021/October 4, 2021/max_and_min_mileage_of_cars/main.cpp
thismrojek/hard_school_exercises
1108b5e5c67625ad95b04c9390d05c334c601218
[ "MIT" ]
null
null
null
October 2021/October 4, 2021/max_and_min_mileage_of_cars/main.cpp
thismrojek/hard_school_exercises
1108b5e5c67625ad95b04c9390d05c334c601218
[ "MIT" ]
null
null
null
October 2021/October 4, 2021/max_and_min_mileage_of_cars/main.cpp
thismrojek/hard_school_exercises
1108b5e5c67625ad95b04c9390d05c334c601218
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char** argv) { int carsMileage[3][4] = { { 35000, 22145, 45981, 31012 }, { 26771, 34121, 36900, 22096 }, { 45...
27.803279
178
0.482311
thismrojek
8a2835f30a01491588b28b84034e9507c3c5dfce
3,559
hpp
C++
src/wrapper/AmxInstanceManager.hpp
eupedroosouza/ShoebillPlugin
49bc98348061f08c8ec6e1ce9919d6736656bee9
[ "Apache-2.0" ]
6
2016-06-18T02:06:02.000Z
2020-10-17T12:25:54.000Z
src/wrapper/AmxInstanceManager.hpp
eupedroosouza/ShoebillPlugin
49bc98348061f08c8ec6e1ce9919d6736656bee9
[ "Apache-2.0" ]
13
2015-11-13T13:00:33.000Z
2021-12-09T13:49:52.000Z
src/wrapper/AmxInstanceManager.hpp
eupedroosouza/ShoebillPlugin
49bc98348061f08c8ec6e1ce9919d6736656bee9
[ "Apache-2.0" ]
7
2017-03-01T15:02:34.000Z
2022-03-13T16:22:21.000Z
/** * Copyright (C) 2014 MK124 * * 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 i...
27.589147
94
0.615341
eupedroosouza
8a2a9b91a6b38fbe768b27a6744e9f288061e93f
389
cpp
C++
WaveSabreCore/src/AllPassDelay.cpp
LeStahL/WaveSabre
2a603ac1b3e9c30390a977f5bfb71766552e9c62
[ "MIT" ]
228
2019-02-18T19:13:31.000Z
2022-03-30T00:52:55.000Z
WaveSabreCore/src/AllPassDelay.cpp
LeStahL/WaveSabre
2a603ac1b3e9c30390a977f5bfb71766552e9c62
[ "MIT" ]
64
2019-02-20T17:38:47.000Z
2022-01-25T20:21:00.000Z
WaveSabreCore/src/AllPassDelay.cpp
thijskruithof/WaveSabre
d2d0c76432284a86780deda45b35a9aa9377d79e
[ "MIT" ]
31
2019-02-20T14:16:40.000Z
2022-01-05T11:25:52.000Z
#include <WaveSabreCore/AllPassDelay.h> #include <WaveSabreCore/Helpers.h> #include <math.h> namespace WaveSabreCore { AllPassDelay::AllPassDelay() { a1 = 0.0f; zm1 = 0.0f; } void AllPassDelay::Delay(float delay) { a1 = (1.f - delay) / (1.f + delay); } float AllPassDelay::Update(float inSamp) { floa...
14.407407
41
0.634961
LeStahL
8a2d5f60a15ee8f2c3ceba648e815e7427209038
1,012
cpp
C++
0600/00/602a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
0600/00/602a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
0600/00/602a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <vector> using integer = unsigned long long; template <typename T> std::istream& operator >>(std::istream& input, std::vector<T>& v) { for (T& a : v) input >> a; return input; } void answer(char v) { std::cout << v << '\n'; } integer convert(const std::vector<unsign...
15.333333
100
0.527668
actium
8a308f674be5fcc99893e10bec4f21f21e7219f3
3,352
cpp
C++
rom.cpp
PJBoy/Fusion-level-editor
bf2779f5ab634fb6a3d499ee9c220c8d77992478
[ "0BSD" ]
4
2018-09-27T17:31:33.000Z
2021-12-24T12:46:14.000Z
rom.cpp
PJBoy/Metroid-level-editor
bf2779f5ab634fb6a3d499ee9c220c8d77992478
[ "0BSD" ]
null
null
null
rom.cpp
PJBoy/Metroid-level-editor
bf2779f5ab634fb6a3d499ee9c220c8d77992478
[ "0BSD" ]
null
null
null
//#include "sm.h" #include "global.h" import rom; import mf; import mzm; import Sm; Rom::Reader::Reader(std::filesystem::path filepath, index_t address /* = 0*/) try : f(filepath, std::ios::binary) { f.exceptions(std::ios::badbit | std::ios::failbit); seek(address); } LOG_RETHROW Rom::Rom(std::filesys...
22.052632
113
0.660203
PJBoy
8a321b59d767b2421bed5ffe12cd0fcf4dcae987
7,448
hpp
C++
Tests/TaskTypeTests.hpp
iarebwan/TaskScheduler
f21a7c1823f9dfe1e495596666d072ca08b234b7
[ "MIT" ]
null
null
null
Tests/TaskTypeTests.hpp
iarebwan/TaskScheduler
f21a7c1823f9dfe1e495596666d072ca08b234b7
[ "MIT" ]
null
null
null
Tests/TaskTypeTests.hpp
iarebwan/TaskScheduler
f21a7c1823f9dfe1e495596666d072ca08b234b7
[ "MIT" ]
1
2022-01-27T05:15:36.000Z
2022-01-27T05:15:36.000Z
#ifndef __TASK_TYPE_TESTS_HPP__ #define __TASK_TYPE_TESTS_HPP__ #include "../OrderTasks.hpp" #include "../OrderByTaskType.hpp" #include <vector> #include <iostream> #include "gtest/gtest.h" using namespace std; void printTasks(vector<Task*>& ListOfTasks, OrderTasks* orderType, string classification = "") { orderType...
32.242424
541
0.692132
iarebwan
8a3582f6d37055f6fdaf63fdced671951853af76
160
hpp
C++
src/libmlog/global.hpp
publiqnet/mesh.pp
a85e393c0de82b5b477b48bf23f0b89f6ac82c26
[ "MIT" ]
1
2020-02-22T16:50:11.000Z
2020-02-22T16:50:11.000Z
src/libmlog/global.hpp
publiqnet/mesh.pp
a85e393c0de82b5b477b48bf23f0b89f6ac82c26
[ "MIT" ]
null
null
null
src/libmlog/global.hpp
publiqnet/mesh.pp
a85e393c0de82b5b477b48bf23f0b89f6ac82c26
[ "MIT" ]
null
null
null
#pragma once #include <mesh.pp/global.hpp> #if defined(LOG_LIBRARY) #define MLOGSHARED_EXPORT MESH_EXPORT #else #define MLOGSHARED_EXPORT MESH_IMPORT #endif
14.545455
37
0.80625
publiqnet
8a37d15e458aa1e8e9e37c6141d85242a84e8b03
6,530
cpp
C++
Dynamic Programming/576. Out of Boundary Paths.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Dynamic Programming/576. Out of Boundary Paths.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Dynamic Programming/576. Out of Boundary Paths.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
class Solution { public: int findPaths(int m, int n, int N, int i, int j) { static const long long M = 1000000007; vector<vector<long long>>table(m, vector<long long>(n,0)); table[i][j] = 1; long long res = 0; for(long long k = 0; k<N; k++){ vector<vector<long long>>newta...
32.009804
116
0.35758
beckswu
8a406738a4aaae078f2ac1eb3c0b61a583180d8c
742
hpp
C++
src/MainWindow.hpp
ricardobtez/gtkmm-application
6af746c11f6577cfd12d93fa692c2fad548de538
[ "MIT" ]
null
null
null
src/MainWindow.hpp
ricardobtez/gtkmm-application
6af746c11f6577cfd12d93fa692c2fad548de538
[ "MIT" ]
1
2020-10-22T20:37:33.000Z
2020-10-22T20:40:12.000Z
src/MainWindow.hpp
ricardobtez/gtkmm-application
6af746c11f6577cfd12d93fa692c2fad548de538
[ "MIT" ]
null
null
null
#ifndef MAIN_WINDOW_H #define MAIN_WINDOW_H #include <gtkmm/applicationwindow.h> #include <gtkmm/box.h> #include <gtkmm/builder.h> class MainWindow : public Gtk::ApplicationWindow { public: MainWindow(void); virtual ~MainWindow(); protected: // Signal handlers void on_menu_others(void); void on_m...
20.054054
53
0.715633
ricardobtez
8a52281d0d28206e88109bb087e388cbf970c4f5
1,024
cpp
C++
TimeEntry.cpp
ChristianLightServices/ClockifyTrayIcons
568f9635ff1b304773e7fe8f143c1044c7b94ad4
[ "MIT" ]
1
2021-09-17T08:09:32.000Z
2021-09-17T08:09:32.000Z
TimeEntry.cpp
ChristianLightServices/ClockifyTrayIcons
568f9635ff1b304773e7fe8f143c1044c7b94ad4
[ "MIT" ]
null
null
null
TimeEntry.cpp
ChristianLightServices/ClockifyTrayIcons
568f9635ff1b304773e7fe8f143c1044c7b94ad4
[ "MIT" ]
null
null
null
#include "TimeEntry.h" #include "ClockifyManager.h" #include "JsonHelper.h" TimeEntry::TimeEntry(nlohmann::json entry, QObject *parent) : QObject{parent} { try { m_id = entry["id"].get<QString>(); auto projectId = entry["projectId"].get<QString>(); m_project = {projectId, ClockifyManager::instance()->project...
20.897959
116
0.6875
ChristianLightServices
8a524ae537a83365004b3acc5b57c39dd2b3b14e
422
hpp
C++
plugin-sdk/include/piga/daemon/sdk/AppManager.hpp
Pigaco/daemon
df28306a7f8cdd2d263ab8f5663eefc1aabe876f
[ "Apache-2.0" ]
1
2016-11-17T07:13:18.000Z
2016-11-17T07:13:18.000Z
plugin-sdk/include/piga/daemon/sdk/AppManager.hpp
Pigaco/daemon
df28306a7f8cdd2d263ab8f5663eefc1aabe876f
[ "Apache-2.0" ]
null
null
null
plugin-sdk/include/piga/daemon/sdk/AppManager.hpp
Pigaco/daemon
df28306a7f8cdd2d263ab8f5663eefc1aabe876f
[ "Apache-2.0" ]
null
null
null
#pragma once #include <unordered_map> #include <memory> #include <string> #include <piga/daemon/sdk/App.hpp> namespace piga { namespace daemon { namespace sdk { class AppManager { public: typedef std::shared_ptr<App> AppPtr; typedef std::unordered_map<std::string, AppPtr> AppMap; virtual AppPtr oper...
15.62963
59
0.696682
Pigaco
8a529df2caf2691ea9692c833b11885976700c0d
659
cpp
C++
Clases Virtuales.cpp
monicastle/C_PDC_06
e5447d853ae2702341a33cec1448ac500a356540
[ "MIT" ]
null
null
null
Clases Virtuales.cpp
monicastle/C_PDC_06
e5447d853ae2702341a33cec1448ac500a356540
[ "MIT" ]
null
null
null
Clases Virtuales.cpp
monicastle/C_PDC_06
e5447d853ae2702341a33cec1448ac500a356540
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class B{ public: void fun1(){ cout << "base-2\n"; } virtual void fun2() { cout << "base-2\n"; } virtual void fun3() { cout << "base-3\n"; } virtual void fun4() { cout << "base-4\n"; } }; class D: public B{ publ...
16.475
33
0.427921
monicastle
a43a82d7fb087d35421c8b56b8b3d1f3cff6ccbb
3,229
hpp
C++
Tests/kext/FromEvent/ParamsUnion.hpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
3,405
2015-01-01T04:57:52.000Z
2022-03-24T06:05:30.000Z
Tests/kext/FromEvent/ParamsUnion.hpp
Hasimir/Karabiner
6181ef9c9a6aeecd4162720884fbbaa2596ee03a
[ "Unlicense" ]
606
2015-01-04T03:21:16.000Z
2020-10-09T23:55:10.000Z
Tests/kext/FromEvent/ParamsUnion.hpp
Hasimir/Karabiner
6181ef9c9a6aeecd4162720884fbbaa2596ee03a
[ "Unlicense" ]
335
2015-01-06T16:43:16.000Z
2022-02-13T11:12:52.000Z
#ifndef PARAMSUNION_HPP #define PARAMSUNION_HPP #include "CallBackWrapper.hpp" namespace org_pqrs_KeyRemap4MacBook { class ParamsUnion { public: explicit ParamsUnion(const Params_KeyboardEventCallBack& p); explicit ParamsUnion(const Params_UpdateEventFlagsCallback& p); explicit ParamsUnion(const Param...
30.752381
94
0.690307
gkb
a43c69b1e413f9bd56c76b3af84396d0c9fb1618
10,720
cpp
C++
common/src/utils/IntCodeMachine.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
common/src/utils/IntCodeMachine.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
common/src/utils/IntCodeMachine.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
#include <stdexcept> #include <utils/IntCodeMachine.h> #include <utils/utils.h> #define DEBUG_LEVEL 5 #include "common/debug.h" IntCodeMachine::IntCodeMachine(const std::vector<int64_t> &program) : memory(program), program(program) { this->pc = 0; this->eop = false; this->relativeBase = 0; t...
20.037383
206
0.553918
bielskij
a443ffec551c537c2fb926db12254f23c465a34d
4,832
cpp
C++
socketio/client/src/rtsp/ffmpeg/mpegaudiodata.cpp
eagle3dstreaming/webrtc
fef9b3652f7744f722785fc1f4cc6b099f4c7aa7
[ "BSD-3-Clause" ]
null
null
null
socketio/client/src/rtsp/ffmpeg/mpegaudiodata.cpp
eagle3dstreaming/webrtc
fef9b3652f7744f722785fc1f4cc6b099f4c7aa7
[ "BSD-3-Clause" ]
null
null
null
socketio/client/src/rtsp/ffmpeg/mpegaudiodata.cpp
eagle3dstreaming/webrtc
fef9b3652f7744f722785fc1f4cc6b099f4c7aa7
[ "BSD-3-Clause" ]
null
null
null
/* * MPEG Audio common tables * copyright (c) 2002 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Licens...
32.42953
80
0.457161
eagle3dstreaming
a448dbe327562ef0827330e5e6811a52a3a6e8eb
5,568
cpp
C++
src/event_base_tests.cpp
Lizb3th/rpt
edd5e3055ee2fbad03c92900aa8e9cec6c0d2ee4
[ "MIT" ]
null
null
null
src/event_base_tests.cpp
Lizb3th/rpt
edd5e3055ee2fbad03c92900aa8e9cec6c0d2ee4
[ "MIT" ]
null
null
null
src/event_base_tests.cpp
Lizb3th/rpt
edd5e3055ee2fbad03c92900aa8e9cec6c0d2ee4
[ "MIT" ]
null
null
null
// This is a part of the RPT (Realy Poor Tech) Framework. // Copyright (C) Elizabeth Williams // All rights reserved. #include "pch.h" #include "detail/event_base.hpp" #include <vector> #include <future> #include <optional> using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace rpt::event_detail_...
22.361446
117
0.668822
Lizb3th
a44bd8fdbd3e5b4ddcb338a00d63eb81b28af541
967
cpp
C++
Engine2D/TestCameraScript.cpp
FroKCreativeTM/FroKEngine
a1e61a0982919efa42bfcbd1e93aacc049966afd
[ "BSD-3-Clause" ]
1
2022-01-10T13:00:27.000Z
2022-01-10T13:00:27.000Z
Engine2D/TestCameraScript.cpp
FroKCreativeTM/FroKEngine
a1e61a0982919efa42bfcbd1e93aacc049966afd
[ "BSD-3-Clause" ]
null
null
null
Engine2D/TestCameraScript.cpp
FroKCreativeTM/FroKEngine
a1e61a0982919efa42bfcbd1e93aacc049966afd
[ "BSD-3-Clause" ]
null
null
null
#include "pch.h" #include "TestCameraScript.h" #include "Transform.h" #include "Camera.h" #include "GameObject.h" #include "Input.h" #include "Timer.h" #include "SceneManager.h" #include "CollisionManager.h" TestCameraScript::TestCameraScript() { } TestCameraScript::~TestCameraScript() { } void TestCameraScript::Lat...
22.488372
61
0.711479
FroKCreativeTM
a44be3be92826e920fd75ce827b41170f0f8b49a
2,148
cpp
C++
Train/El_Sageer/El_Sageer_Pupil/08 - 14 - [SP]/11 - 12 - [SP] Greedy/12 - [SP] Greedy/onTopic/4.UVa [11157].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
1
2019-12-19T06:51:20.000Z
2019-12-19T06:51:20.000Z
Train/El_Sageer/El_Sageer_Pupil/08 - 14 - [SP]/11 - 12 - [SP] Greedy/12 - [SP] Greedy/onTopic/4.UVa [11157].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
Train/El_Sageer/El_Sageer_Pupil/08 - 14 - [SP]/11 - 12 - [SP] Greedy/12 - [SP] Greedy/onTopic/4.UVa [11157].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // input handle #define iln() scanf("\n") //scan new line #define in(n) scanf("%d",&n) //scan int #define ins(n) scanf("%s",n) //scan char[] #define inc(n) scanf("%c ",&n) //scan char #define inf(n) scanf("%lf",&n) //scan double/float #define inl(n) scanf("%lld",&n) //scan...
29.027027
91
0.562849
mohamedGamalAbuGalala
a45797c83e6a8429b39081fcae5a55821ce06a4d
3,325
cpp
C++
test/context.cpp
selfienetworks/COSE-C
97d1805e71b7a6770093c5e6790d46611680d563
[ "BSD-3-Clause" ]
25
2016-07-15T12:11:42.000Z
2021-11-19T20:52:46.000Z
test/context.cpp
selfienetworks/COSE-C
97d1805e71b7a6770093c5e6790d46611680d563
[ "BSD-3-Clause" ]
96
2015-09-04T05:12:01.000Z
2021-12-30T08:39:56.000Z
test/context.cpp
selfienetworks/COSE-C
97d1805e71b7a6770093c5e6790d46611680d563
[ "BSD-3-Clause" ]
21
2015-05-27T03:27:21.000Z
2021-08-10T15:10:10.000Z
#include <stdlib.h> #ifdef _MSC_VER #endif #include <stdio.h> #include <memory.h> #include <assert.h> #include <cn-cbor/cn-cbor.h> #include <cose/cose.h> #ifdef USE_CBOR_CONTEXT #include "context.h" typedef struct { cn_cbor_context context; byte *pFirst; int iFailLeft; int allocCount; } MyContext; typedef struc...
19.219653
76
0.628271
selfienetworks
a45a5498565e04e84c82759356634ba7a02f1d32
3,074
cpp
C++
NostaleLogin/dllmain.cpp
hatz02/NostaleLogin
3961be0622d4621af7a95a6a8864ca90ab5ba6c8
[ "MIT" ]
null
null
null
NostaleLogin/dllmain.cpp
hatz02/NostaleLogin
3961be0622d4621af7a95a6a8864ca90ab5ba6c8
[ "MIT" ]
null
null
null
NostaleLogin/dllmain.cpp
hatz02/NostaleLogin
3961be0622d4621af7a95a6a8864ca90ab5ba6c8
[ "MIT" ]
null
null
null
#include "NewServerSelectWidget.h" #include <string> int main() { const int BUFFER_SIZE = 2; const char* pipeName = "\\\\.\\pipe\\GflessClient"; int language, server, channel; HANDLE hPipe; DWORD dwMode; BOOL fSuccess; std::string message; char readBuffer[BUFFER_SIZE]; NewServerSele...
25.831933
97
0.672414
hatz02
a4676837163ed602733b36b27d3fd29ba3bf4f1d
647
cpp
C++
src/ui/ScrollBar.cpp
alikins/Rack
614c6d09883569563bc8a7c41513390babf2cabb
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
src/ui/ScrollBar.cpp
alikins/Rack
614c6d09883569563bc8a7c41513390babf2cabb
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
src/ui/ScrollBar.cpp
alikins/Rack
614c6d09883569563bc8a7c41513390babf2cabb
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
#include "ui.hpp" #include "window.hpp" namespace rack { void ScrollBar::draw(NVGcontext *vg) { bndScrollBar(vg, 0.0, 0.0, box.size.x, box.size.y, state, offset, size); } void ScrollBar::onDragStart(EventDragStart &e) { state = BND_ACTIVE; windowCursorLock(); } void ScrollBar::onDragMove(EventDragMove &e) { S...
19.606061
73
0.718702
alikins
a46d0c80798e7154762f31345a834ab66e790d40
1,935
cpp
C++
test.cpp
wisd0me/plog-converter
e534fa5873c9036f5193a28be19e1ded9738586a
[ "Apache-2.0" ]
null
null
null
test.cpp
wisd0me/plog-converter
e534fa5873c9036f5193a28be19e1ded9738586a
[ "Apache-2.0" ]
null
null
null
test.cpp
wisd0me/plog-converter
e534fa5873c9036f5193a28be19e1ded9738586a
[ "Apache-2.0" ]
null
null
null
// 2006-2008 (c) Viva64.com Team // 2008-2020 (c) OOO "Program Verification Systems" // 2020 (c) PVS-Studio LLC #define CATCH_CONFIG_MAIN #include <catch.hpp> #include "warning.h" #include "application.h" using namespace PlogConverter; TEST_CASE("Warning::GetErrorCode") { Warning msg; msg.code = "V112"; REQ...
26.148649
74
0.668217
wisd0me
a46d47446e8c45c95d951bd91a24368a7ba08853
415
cpp
C++
trabalhos/trab1/paises.cpp
senapk/fup_2014_2
5fc2986724f2e5fb912524b6208744b7295c6347
[ "Apache-2.0" ]
null
null
null
trabalhos/trab1/paises.cpp
senapk/fup_2014_2
5fc2986724f2e5fb912524b6208744b7295c6347
[ "Apache-2.0" ]
null
null
null
trabalhos/trab1/paises.cpp
senapk/fup_2014_2
5fc2986724f2e5fb912524b6208744b7295c6347
[ "Apache-2.0" ]
null
null
null
/* Faça um código que receba um dos países abaixo e retorne o continente em que ele se encontra. Use o comando switch. */ #include <iostream> using namespace std; enum Pais { Brasil, Italia, EUA, Japao, Australia}; enum Continente { AmericaSul, AmericaNorte, Europa, Asia, Australia }; Continente acharLocalizacao( Pai...
20.75
70
0.715663
senapk
a46fb1e2117cae5873e3a18f93694220ac78f257
1,782
cpp
C++
src/ScreenCaptureLib/ScreenCapture.cpp
Postrediori/OceanSimulation
ff836f9c92f43e62a3e5c2befc065784d3c36ce0
[ "MIT" ]
14
2017-12-18T08:22:12.000Z
2021-04-12T13:05:42.000Z
src/ScreenCaptureLib/ScreenCapture.cpp
Postrediori/OceanSimulation
ff836f9c92f43e62a3e5c2befc065784d3c36ce0
[ "MIT" ]
4
2017-12-20T09:41:15.000Z
2020-06-26T10:56:48.000Z
src/ScreenCaptureLib/ScreenCapture.cpp
Postrediori/OceanSimulation
ff836f9c92f43e62a3e5c2befc065784d3c36ce0
[ "MIT" ]
2
2018-01-31T13:11:28.000Z
2019-05-20T04:04:28.000Z
#define STB_IMAGE_WRITE_IMPLEMENTATION #include <stb_image_write.h> #include "stdafx.h" #include "ScreenCapture.h" std::string ScreenCapture::GetNextFileName(ScreenCaptureFormat format) { static int counter = 0; std::stringstream s; s << "capture" << (counter++); if (format == ScreenCaptureFormat::Pn...
33.622642
126
0.673962
Postrediori
a4707414405f82069bd4a6783a2f0f6b0c55b20a
252
hpp
C++
Examples/ViewFactor/ViewFactorProcessData.hpp
FilipovicLado/ViennaLS
39d97c2fc0d36f250bebaaa6879747eb9a7ed23a
[ "MIT" ]
null
null
null
Examples/ViewFactor/ViewFactorProcessData.hpp
FilipovicLado/ViennaLS
39d97c2fc0d36f250bebaaa6879747eb9a7ed23a
[ "MIT" ]
null
null
null
Examples/ViewFactor/ViewFactorProcessData.hpp
FilipovicLado/ViennaLS
39d97c2fc0d36f250bebaaa6879747eb9a7ed23a
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <limits> template <class T> struct ViewFactorProcessDataType { double gridDelta = 0.; T trenchDiameter; T trenchDepth; T topRate; T processTime; T timeStep; hrleVectorType<double, 2> taperAngle; };
18
53
0.72619
FilipovicLado
a475881ea7a61bde038340060a7786eb7384cbd2
318
cc
C++
tests/ManufacturerTest.cc
martind1111/wifi_pi_survey
9a28f47a6096df2f596b9e62bb984a0922712cf8
[ "MIT" ]
null
null
null
tests/ManufacturerTest.cc
martind1111/wifi_pi_survey
9a28f47a6096df2f596b9e62bb984a0922712cf8
[ "MIT" ]
null
null
null
tests/ManufacturerTest.cc
martind1111/wifi_pi_survey
9a28f47a6096df2f596b9e62bb984a0922712cf8
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <netinet/ether.h> #include "HardwareHelper.h" // Test the manufacturer API. TEST(ManufacturerTest, GetManufacturer) { ether_addr addr = { 0x00, 0x03, 0x93, 0x01, 0x02, 0x03 }; const char* manuf = HardwareHelper::GetManufacturer(&addr); EXPECT_STREQ(manuf, "Apple"); }
22.714286
63
0.704403
martind1111
a47f0a07dd3e298d314efa97b9c94980000b7248
10,653
cpp
C++
src/physics/bullet/bullet_physics_system.cpp
irisengine/iris
0deb12f5d00c67bf0dde1a702344a2cf73925db6
[ "BSL-1.0" ]
85
2021-10-16T14:58:23.000Z
2022-03-26T11:05:37.000Z
src/physics/bullet/bullet_physics_system.cpp
MaximumProgrammer/iris
cbc2f571bd8d485cdd04f903dcb867e699314682
[ "BSL-1.0" ]
null
null
null
src/physics/bullet/bullet_physics_system.cpp
MaximumProgrammer/iris
cbc2f571bd8d485cdd04f903dcb867e699314682
[ "BSL-1.0" ]
2
2021-10-17T16:57:13.000Z
2021-11-14T19:11:30.000Z
//////////////////////////////////////////////////////////////////////////////// // Distributed under the Boost Software License, Version 1.0. // // (See accompanying file LICENSE or copy at // // https://www.boost.org/LICENSE_1_0.txt) ...
31.705357
118
0.673989
irisengine
a48173204e89a9dc161c13550ce8b842efe3ae8c
2,821
hpp
C++
android-31/java/io/PrintStream.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/io/PrintStream.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/io/PrintStream.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "./FilterOutputStream.hpp" class JByteArray; class JCharArray; class JObjectArray; namespace java::io { class BufferedWriter; } namespace java::io { class File; } namespace java::io { class OutputStream; } namespace java::io { class OutputStreamWriter; } class JString; class JObject; class J...
28.21
173
0.734491
YJBeetle
a482833e6c7c6f5ca5abb6619aef6deb3578a372
7,794
cpp
C++
tsf/src/v20180326/model/MonitorOverview.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tsf/src/v20180326/model/MonitorOverview.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tsf/src/v20180326/model/MonitorOverview.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "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 ...
30.928571
148
0.715679
sinjoywong
a4830eed7cacc0372727720736166d2bb897188c
13,846
cpp
C++
PlatformIO/esp32-r4ge-pro-prong/src/main.cpp
DigiTorus86/ESP32-R4ge-Pro
786127b87491dcdd2bbc928b1a68968a97038aac
[ "MIT" ]
1
2021-01-08T23:09:58.000Z
2021-01-08T23:09:58.000Z
PlatformIO/esp32-r4ge-pro-prong/src/main.cpp
DigiTorus86/ESP32-R4ge-Pro
786127b87491dcdd2bbc928b1a68968a97038aac
[ "MIT" ]
null
null
null
PlatformIO/esp32-r4ge-pro-prong/src/main.cpp
DigiTorus86/ESP32-R4ge-Pro
786127b87491dcdd2bbc928b1a68968a97038aac
[ "MIT" ]
2
2021-06-28T06:27:04.000Z
2022-01-11T12:57:55.000Z
/*************************************************** ESP32 R4ge Prong Requires: - ESP32 R4ge Pro Copyright (c) 2020 Paul Pagel This is free software; see the license.txt file for more information. There is no warranty; not even for merchantability or fitness for a particular purpose. ********************************...
22.296296
123
0.664524
DigiTorus86
a4872d9a660d3f47f1c639a2a71dd46c6679986c
5,289
cpp
C++
evolutionary_prototype(final code)/collision_controller.cpp
egeorgiev1/UR10_motion_planner
e51228f88626eb4be8d9d98c25b37050dc9c8b31
[ "Apache-2.0" ]
1
2021-11-17T01:02:05.000Z
2021-11-17T01:02:05.000Z
evolutionary_prototype(final code)/collision_controller.cpp
egeorgiev1/UR10_motion_planner
e51228f88626eb4be8d9d98c25b37050dc9c8b31
[ "Apache-2.0" ]
null
null
null
evolutionary_prototype(final code)/collision_controller.cpp
egeorgiev1/UR10_motion_planner
e51228f88626eb4be8d9d98c25b37050dc9c8b31
[ "Apache-2.0" ]
null
null
null
#include "test_fcl_utility.h" #include "collision_controller.h" #include <iostream> using namespace std; CollisionController::CollisionController( CollisionModel* robot_collision_model, PointCloudView* point_cloud_view, fcl::BroadPhaseCollisionManager<double>* scene_collision_manager ) : _robot_colli...
37.778571
103
0.619966
egeorgiev1
a4878ef2f2de4abfd9cb382340719f9b4f1d0ba4
805
cpp
C++
Queue/InbuiltQueue.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
2
2021-05-21T17:10:02.000Z
2021-05-29T05:13:06.000Z
Queue/InbuiltQueue.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
Queue/InbuiltQueue.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> using namespace std; // # Application of Queue // -> Single Resource and Multiple Consumers // -> Synchronization between slow and fast devices // -> In Operating System (Semaphores, FCFS Sheduling,Spooling, buffers for devices like Keyboard) // -> In computer Networks (Routers/Swi...
21.184211
98
0.590062
sohamnandi77
a493ba13372e556f1a83390d71e5ef075334c55c
4,846
cxx
C++
plugins/cg_fltk/fltk_layout_group.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
plugins/cg_fltk/fltk_layout_group.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
plugins/cg_fltk/fltk_layout_group.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
#include "fltk_layout_group.h" #include <cgv/utils/scan.h> #include <cgv/gui/provider.h> using namespace cgv::base; using namespace cgv::gui; #ifdef WIN32 #pragma warning (disable:4311) #endif #include <fltk/Group.h> #include <fltk/draw.h> #include <fltk/Cursor.h> #include <fltk/events.h> #include <...
25.640212
130
0.677466
MarioHenze
a49b585d1de37a01b3dce14c750ecb09dcbeec0d
155
hh
C++
include/cppti/Utils.hh
Ethiraric/cpptalksindex
0f342f944d3da6d456694bee199e89570b07588f
[ "MIT" ]
4
2020-10-06T10:12:59.000Z
2021-05-22T07:41:29.000Z
include/cppti/Utils.hh
Ethiraric/cpptalksindex
0f342f944d3da6d456694bee199e89570b07588f
[ "MIT" ]
null
null
null
include/cppti/Utils.hh
Ethiraric/cpptalksindex
0f342f944d3da6d456694bee199e89570b07588f
[ "MIT" ]
null
null
null
#ifndef CPPTI_UTILS_HH_ #define CPPTI_UTILS_HH_ #include <string> namespace cppti { void toSnakeCase(std::string& str); } #endif /* !CPPTI_UTILS_HH_ */
12.916667
35
0.748387
Ethiraric
a49ca13224da26d48fc919448637421a355fa7fc
10,177
cpp
C++
utils/preprocess/beer.cpp
charlespnh/shortest-beer-path
c133969bbfd977498623f39e665e60e66890b998
[ "MIT" ]
1
2021-09-13T04:01:12.000Z
2021-09-13T04:01:12.000Z
utils/preprocess/beer.cpp
Phuc2002/shortest-beer-path
c133969bbfd977498623f39e665e60e66890b998
[ "MIT" ]
null
null
null
utils/preprocess/beer.cpp
Phuc2002/shortest-beer-path
c133969bbfd977498623f39e665e60e66890b998
[ "MIT" ]
null
null
null
#include <algorithm> #include <utility> #include <cstdio> #include <iostream> using namespace std; #include "../../include/preprocess/beer.h" #include "../../include/outerplanar.h" #include "../../include/graph/dcel.h" double beer::weightB(struct halfedge* e) { return dcel::edgeB(e)->distB; } do...
34.498305
132
0.606466
charlespnh
a49faf9c953fe1d6822b9a12c44d27de9e4c127c
49
cpp
C++
SFINAE/Foo.cpp
dave-c/workspace-snippets
f1ace623023f185f972fa35ac57c9fe8a651ffae
[ "MIT" ]
null
null
null
SFINAE/Foo.cpp
dave-c/workspace-snippets
f1ace623023f185f972fa35ac57c9fe8a651ffae
[ "MIT" ]
null
null
null
SFINAE/Foo.cpp
dave-c/workspace-snippets
f1ace623023f185f972fa35ac57c9fe8a651ffae
[ "MIT" ]
null
null
null
#include "Foo.h" Foo::Foo() {} Foo::~Foo() {}
5.444444
16
0.469388
dave-c
a4a033c6333d8f5f3e2c8352e30ad9a27b386729
1,043
hpp
C++
src/controllers/npc_controller.hpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
1
2020-09-23T11:17:35.000Z
2020-09-23T11:17:35.000Z
src/controllers/npc_controller.hpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
src/controllers/npc_controller.hpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
#pragma once #include <queue> #include <memory> #include <SFML/System.hpp> #include "character_controller.hpp" #include "npc_needs.hpp" #include "actions/npc_action.hpp" namespace space { class Dialogue; class Interaction; class NpcController : public CharacterController { public: ...
23.704545
73
0.598274
astrellon
a4a3913af3c0ffda6de292fffe348340d1e9e651
24,242
cpp
C++
src/org/apache/poi/sl/draw/SLGraphics.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/sl/draw/SLGraphics.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/sl/draw/SLGraphics.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/sl/draw/SLGraphics.java #include <org/apache/poi/sl/draw/SLGraphics.hpp> #include <java/awt/BasicStroke.hpp> #include <java/awt/Color.hpp> #include <java/awt/Font.hpp> #include <java/awt/FontMetrics.hpp> #include <java/awt/Graphics.hpp> #include <java/awt/GraphicsConfiguratio...
37.067278
248
0.671397
pebble2015
a4a3ad70c3c2f5b520fa2905d19efaea8f3b71f7
3,399
cpp
C++
uart.cpp
jekhor/pneumatic-tc-firmware
a532d78a154cc963d98c239c916485f5383f3dcf
[ "CC-BY-3.0" ]
1
2018-10-08T13:28:32.000Z
2018-10-08T13:28:32.000Z
uart.cpp
jekhor/pneumatic-tc-firmware
a532d78a154cc963d98c239c916485f5383f3dcf
[ "CC-BY-3.0" ]
9
2019-08-21T18:07:49.000Z
2019-09-30T19:48:28.000Z
uart.cpp
jekhor/pneumatic-tc-firmware
a532d78a154cc963d98c239c916485f5383f3dcf
[ "CC-BY-3.0" ]
null
null
null
#include <stdio.h> #include "uart.h" #include <HardwareSerial.h> //#define FULL_TERM_SUPPORT FILE uartstream; #define RX_BUFSIZE 80 int uart_putchar(char c, FILE *stream) { if (c == '\n') Serial.write('\r'); Serial.write(c); return 0; } #ifdef FULL_TERM_SUPPORT /* * Receive a character from the UART Rx. *...
20.72561
76
0.594881
jekhor