hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
8bae1e41ca23b4a31d54bdef6f8b78adebc70d22
9,234
cpp
C++
Source/UMod/Game/UModHUD.cpp
StoneLineDevTeam/UMod
e57e41b95d8cdcc4479965453ac86e5116178795
[ "BSD-4-Clause" ]
21
2015-09-03T13:17:55.000Z
2022-03-28T15:55:42.000Z
Source/UMod/Game/UModHUD.cpp
StoneLineDevTeam/UMod
e57e41b95d8cdcc4479965453ac86e5116178795
[ "BSD-4-Clause" ]
24
2015-09-19T18:03:30.000Z
2018-12-21T10:53:01.000Z
Source/UMod/Game/UModHUD.cpp
StoneLineDevTeam/UMod
e57e41b95d8cdcc4479965453ac86e5116178795
[ "BSD-4-Clause" ]
17
2015-09-03T13:18:04.000Z
2021-11-24T02:14:11.000Z
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "UMod.h" #include "UModHUD.h" #include "Engine/Canvas.h" #include "TextureResource.h" #include "CanvasItem.h" #include "Renderer/Render2D.h" #include "Player/UModCharacter.h" #include "Player/UModController.h" #include "UModGameInstance.h" const ...
32.286713
164
0.651614
StoneLineDevTeam
8baf823a8b4b357d2864b416a55be5c97654bc3d
3,974
cpp
C++
performance/module_perform.cpp
opensource000/cnblogs
31eaee01e150072f26ac50d43a740143016588ea
[ "Apache-2.0" ]
3
2017-08-30T07:12:28.000Z
2017-08-30T07:12:33.000Z
performance/module_perform.cpp
opensource000/cnblogs
31eaee01e150072f26ac50d43a740143016588ea
[ "Apache-2.0" ]
null
null
null
performance/module_perform.cpp
opensource000/cnblogs
31eaee01e150072f26ac50d43a740143016588ea
[ "Apache-2.0" ]
1
2019-04-18T02:37:20.000Z
2019-04-18T02:37:20.000Z
#include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <sys/time.h> #include <string> #include <vector> #include <stdint.h> #define rdtscll_64(val) do {\ unsigned int __a,__d; \ __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d)); \ (v...
20.806283
105
0.571213
opensource000
8bb00e73499a44f931cf8aaf20cc00f7c85d529b
26,106
hpp
C++
tiny_dnn/xtensor/xfunction.hpp
GitHubRepoDescription/tiny-dnn
9ddf6a0bf2f80f884f298b282a49e7bbb81a6adb
[ "BSD-3-Clause" ]
4,994
2016-08-07T16:45:10.000Z
2022-03-31T02:11:20.000Z
tiny_dnn/tiny_dnn/xtensor/xfunction.hpp
benldrmn/CPP_Learned_Index
62722d804d14d3bfa8e756987e05d55fa9032164
[ "MIT" ]
777
2016-08-08T02:17:01.000Z
2022-03-16T14:12:32.000Z
tiny_dnn/tiny_dnn/xtensor/xfunction.hpp
benldrmn/CPP_Learned_Index
62722d804d14d3bfa8e756987e05d55fa9032164
[ "MIT" ]
1,350
2016-08-08T09:56:28.000Z
2022-03-31T01:55:01.000Z
/*************************************************************************** * Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht * * * * Distributed under the terms of the BSD 3-Clause License. * * ...
31.415162
80
0.664675
GitHubRepoDescription
8bb2d7c04293c72e5b7569de8ac67feb2b3820b4
3,616
cc
C++
src/connector/native/ui_mac.cc
morethanyouknowltd/Lockpick
bfba2b91aabda88951f3ddf7aa564d040d2bb209
[ "MIT" ]
1
2021-11-25T02:11:13.000Z
2021-11-25T02:11:13.000Z
src/connector/native/ui_mac.cc
morethanyouknowltd/Lockpick
bfba2b91aabda88951f3ddf7aa564d040d2bb209
[ "MIT" ]
4
2021-04-24T11:28:38.000Z
2021-05-26T18:03:34.000Z
src/connector/native/ui_mac.cc
morethanyouknowltd/Lockpick
bfba2b91aabda88951f3ddf7aa564d040d2bb209
[ "MIT" ]
null
null
null
#include "ui.h" #include "string.h" #include "rect.h" #include <CoreGraphics/CoreGraphics.h> ImageDeets::ImageDeets(CGImageRef latestImage, WindowInfo frame) { this->frame = frame; this->imageRef = latestImage; CGDataProviderRef provider = CGImageGetDataProvider(latestImage); imageData = CGDataProvider...
35.45098
138
0.643252
morethanyouknowltd
8bb4677da8db4d383e50003f2e6f9e8ab9e7457d
12,356
cpp
C++
src/tests/testcase_file.cpp
jie-meng/Util
edf197b61f8606c72fc8f3b0bdbb46b57187b2ff
[ "MIT" ]
6
2017-07-16T17:55:54.000Z
2021-01-06T15:40:49.000Z
src/tests/testcase_file.cpp
joshua-meng/Util
edf197b61f8606c72fc8f3b0bdbb46b57187b2ff
[ "MIT" ]
30
2015-05-08T03:21:10.000Z
2017-05-07T12:37:06.000Z
src/tests/testcase_file.cpp
joshua-meng/Util
edf197b61f8606c72fc8f3b0bdbb46b57187b2ff
[ "MIT" ]
2
2017-03-16T08:48:34.000Z
2017-06-20T10:56:19.000Z
#include "testcase_file.hpp" #include "util/file.hpp" using namespace std; using namespace util; const string kTempFileName = "temp_file"; const string kTempDirName = "temp_dir"; void TestCaseFile::registerTestFunctions() { REGISTER_TEST_FUNCTION(TestCaseFile, testReadWrite) REGISTER_TEST_FUNCTION(TestCaseFi...
43.815603
110
0.715361
jie-meng
8bb7e5d203dc47fc67d32617cea00f460040e6ce
2,913
cpp
C++
CS106L/L8-functions/algorithms/main.cpp
chengliu1107/cracking-c-plus-plus
60174142559c1db3c56449f0cea1729bb38d7e0e
[ "MIT" ]
null
null
null
CS106L/L8-functions/algorithms/main.cpp
chengliu1107/cracking-c-plus-plus
60174142559c1db3c56449f0cea1729bb38d7e0e
[ "MIT" ]
1
2021-03-07T22:38:52.000Z
2021-03-07T22:44:18.000Z
CS106L/L8-functions/algorithms/main.cpp
chengliu1107/cracking-c-plus-plus
60174142559c1db3c56449f0cea1729bb38d7e0e
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <map> #include <set> #include <deque> #include <algorithm> #include <iostream> #include <iterator> #include <iomanip> #include <random> // We will represent a course on Carta/explorecourses with this struct. struct Course { std::string name; double rating; }; // Th...
31.322581
103
0.622726
chengliu1107
8bb838cd162bee3c52b0c45f6c566e51e8ec49db
968
cc
C++
GeeksForGeeks/Easy/SubStringRepetition.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
GeeksForGeeks/Easy/SubStringRepetition.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
GeeksForGeeks/Easy/SubStringRepetition.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
//Check is a string is a concatenation of some of its substring #include <iostream> #include <string> using namespace std; bool checkSubStr(int len, string s1, int factor) { bool r; string temp; string s; string::iterator itr; int index; for (index = 0, itr = s1.begin(); index < len; itr++, i...
17.925926
66
0.443182
ChakreshSinghUC
8bbab399c434494fcbb7c18008b1820cdf2bcbb9
336
cpp
C++
recipes/sentry-native/all/test_package/test_package.cpp
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
562
2019-09-04T12:23:43.000Z
2022-03-29T16:41:43.000Z
recipes/sentry-native/all/test_package/test_package.cpp
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
9,799
2019-09-04T12:02:11.000Z
2022-03-31T23:55:45.000Z
recipes/sentry-native/all/test_package/test_package.cpp
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
1,126
2019-09-04T11:57:46.000Z
2022-03-31T16:43:38.000Z
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "sentry.h" int main(int argc, char **argv) { sentry_options_t *options = sentry_options_new(); sentry_options_set_environment(options, "Production"); sentry_options_set_release(options, "test-example-release"); sentry_init(options); sentr...
19.764706
62
0.741071
rockandsalt
8bbc07b59f50bafbbfc8e9770234bcc1e6cbf895
837
hpp
C++
events/gamepad_hat_event.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
events/gamepad_hat_event.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
events/gamepad_hat_event.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
/** * * gamepad_hat_event.hpp * **/ #if !defined(AAB_EVENTS_GAMEPAD_HAT_EVENT_CLASS) #define AAB_EVENTS_GAMEPAD_HAT_EVENT_CLASS #include"event.hpp" #include"internal_event.hpp" #include"imports.hpp" #include"../input/hat_position.hpp" namespace aab { namespace events{ class GamepadHatEvent : public...
17.081633
55
0.701314
MrTAB
8bc08710c5006b7ff0339538008ae0dac04136dc
1,952
cpp
C++
aws-cpp-sdk-devops-guru/source/model/AnomalyStatus.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-devops-guru/source/model/AnomalyStatus.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-devops-guru/source/model/AnomalyStatus.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/devops-guru/model/AnomalyStatus.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Uti...
27.492958
92
0.610143
perfectrecall
8bc125966124cf32dca5629c8a243a93bb71f54f
610
cpp
C++
cpp_2018/Maximum_sum_of_digits.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
2
2020-08-27T18:21:04.000Z
2020-08-30T13:24:39.000Z
cpp_2018/Maximum_sum_of_digits.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
null
null
null
cpp_2018/Maximum_sum_of_digits.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
null
null
null
// https://codeforces.com/problemset/problem/1060/B // Maximum sum of digits #include<bits/stdc++.h> using namespace std; long long sumOfDigits(long long n) { long sum=0; while(n>0) { sum+=(n%10); n/=10; } return sum; } int main() { long long first,second; long long n; c...
17.941176
64
0.509836
Razdeep
8bc41b3f3f57ff6f530f5771537685ea2706a38e
3,905
hpp
C++
include/armnnTestUtils/MockBackend.hpp
Srivathsav-max/armnn-clone
af2daa6526623c91ee97f7141be4d1b07de92a48
[ "MIT" ]
1
2022-03-31T18:21:59.000Z
2022-03-31T18:21:59.000Z
include/armnnTestUtils/MockBackend.hpp
Elm8116/armnn
e571cde8411803aec545b1070ed677e481f46f3f
[ "MIT" ]
null
null
null
include/armnnTestUtils/MockBackend.hpp
Elm8116/armnn
e571cde8411803aec545b1070ed677e481f46f3f
[ "MIT" ]
null
null
null
// // Copyright © 2022 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include <armnn/backends/IBackendInternal.hpp> #include <armnn/backends/MemCopyWorkload.hpp> #include <armnnTestUtils/MockTensorHandle.hpp> namespace armnn { // A bare bones Mock backend to enable un...
33.663793
118
0.660435
Srivathsav-max
8bc97619a623c21a15589b6f64d9f45cc60abb0a
4,250
hh
C++
include/sot/torque_control/numerical-difference.hh
nim65s/sot-torque-control
0277baa065e6addf16df804676d47597cf1b4b06
[ "BSD-2-Clause" ]
6
2017-11-01T20:14:53.000Z
2020-04-03T04:51:07.000Z
include/sot/torque_control/numerical-difference.hh
nim65s/sot-torque-control
0277baa065e6addf16df804676d47597cf1b4b06
[ "BSD-2-Clause" ]
52
2017-03-31T21:24:38.000Z
2021-11-03T08:27:46.000Z
include/sot/torque_control/numerical-difference.hh
nim65s/sot-torque-control
0277baa065e6addf16df804676d47597cf1b4b06
[ "BSD-2-Clause" ]
14
2017-04-06T20:03:27.000Z
2020-07-28T14:20:42.000Z
/* * Copyright 2014, Andrea Del Prete, LAAS-CNRS * */ #ifndef __sot_torque_control_NumericalDifference_H__ #define __sot_torque_control_NumericalDifference_H__ /* --------------------------------------------------------------------- */ /* --- API ------------------------------------------------------------- */ /* -...
37.946429
108
0.661882
nim65s
8bd1556b376d79c61e0d75c7397741fb7a5d7c60
657
cpp
C++
Engine_Source/Source/Insight/Core/Log.cpp
GCourtney27/DirectX11RenderingEngine
ebbe470b697c6e5ab98502c0be4163500d91641a
[ "Apache-2.0" ]
2
2021-01-29T08:03:01.000Z
2021-04-10T19:18:54.000Z
Engine_Source/Source/Insight/Core/Log.cpp
GCourtney27/DirectX11RenderingEngine
ebbe470b697c6e5ab98502c0be4163500d91641a
[ "Apache-2.0" ]
3
2020-06-04T23:37:07.000Z
2020-06-04T23:39:04.000Z
Engine_Source/Source/Insight/Core/Log.cpp
GCourtney27/DirectX11RenderingEngine
ebbe470b697c6e5ab98502c0be4163500d91641a
[ "Apache-2.0" ]
1
2020-09-07T07:20:11.000Z
2020-09-07T07:20:11.000Z
#include <Engine_pch.h> #include "Log.h" #include "spdlog/sinks/stdout_color_sinks.h" namespace Insight { namespace Debug { std::shared_ptr<spdlog::logger> Logger::s_CoreLogger; std::shared_ptr<spdlog::logger> Logger::s_ClientLogger; #if defined IE_DEBUG && defined (IE_PLATFORM_BUILD_WIN32) ConsoleWindow Lo...
20.53125
57
0.712329
GCourtney27
8bd3c0d4d3ab847a6182ba73a369289a949364e3
22,000
cpp
C++
src/api/client/Blockchain.cpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/api/client/Blockchain.cpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/api/client/Blockchain.cpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include "stdafx.hpp" #include "Internal.hpp" #if OT_CRYPTO_...
28.608583
80
0.610227
nopdotcom
8bd64972c908cdcbc8259e2a7410a253a09d0a51
2,659
cpp
C++
esphome/components/sm2135/sm2135.cpp
OttoWinter/esphomeyaml
6a85259e4d6d1b0a0f819688b8e555efcb99ecb0
[ "MIT" ]
249
2018-04-07T12:04:11.000Z
2019-01-25T01:11:34.000Z
esphome/components/sm2135/sm2135.cpp
OttoWinter/esphomeyaml
6a85259e4d6d1b0a0f819688b8e555efcb99ecb0
[ "MIT" ]
243
2018-04-11T16:37:11.000Z
2019-01-25T16:50:37.000Z
esphome/components/sm2135/sm2135.cpp
OttoWinter/esphomeyaml
6a85259e4d6d1b0a0f819688b8e555efcb99ecb0
[ "MIT" ]
40
2018-04-10T05:50:14.000Z
2019-01-25T15:20:36.000Z
#include "sm2135.h" #include "esphome/core/log.h" // Tnx to the work of https://github.com/arendst (Tasmota) for making the initial version of the driver namespace esphome { namespace sm2135 { static const char *const TAG = "sm2135"; static const uint8_t SM2135_ADDR_MC = 0xC0; // Max current register static const ...
32.426829
103
0.694998
OttoWinter
8bd675a9aaf2799e379644e5f34f65e05c62abe8
405
cpp
C++
URI/2867-digits.cpp
SusmoySenGupta/online-judge-solutions
8735a1bc71a05dc46255664c3ec6f47f042bfa6c
[ "MIT" ]
null
null
null
URI/2867-digits.cpp
SusmoySenGupta/online-judge-solutions
8735a1bc71a05dc46255664c3ec6f47f042bfa6c
[ "MIT" ]
null
null
null
URI/2867-digits.cpp
SusmoySenGupta/online-judge-solutions
8735a1bc71a05dc46255664c3ec6f47f042bfa6c
[ "MIT" ]
null
null
null
/* problem no: 2867 problem name: Digits problem link: https://www.urionlinejudge.com.br/judge/en/problems/view/2867 author: Susmoy Sen Gupta Status: __Solved__ Solved at: 6/22/21, 6:39:09 PM */ #include <iostream> #include <math.h> using namespace std; int main() { int t, x, y; cin >> t; while(t--) ...
13.5
76
0.604938
SusmoySenGupta
8bd7a66b2aa3b8c8842762561616bdcc1f11a644
886
cpp
C++
examples/text/ascii-table.hybrid.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
3
2020-05-24T16:29:42.000Z
2021-09-10T13:33:15.000Z
examples/text/ascii-table.hybrid.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
examples/text/ascii-table.hybrid.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
#include <cppx-core-language/ascii/all.hpp> #include <iomanip> // std::setw #include <iostream> auto main() -> int { using std::cout, std::endl, std::left, std::setw; using cppx::hex_digit; namespace ascii = cppx::ascii; const auto field = setw( 4 ); // Column headers. cout <...
28.580645
88
0.506772
alf-p-steinbach
8bd7b64d646c0c836d6951b653007b1f33e31674
1,235
cc
C++
src/client/human/human.cc
TheBenPerson/Game
824b2240e95529b735b4d8055a541c77102bb5dc
[ "MIT" ]
null
null
null
src/client/human/human.cc
TheBenPerson/Game
824b2240e95529b735b4d8055a541c77102bb5dc
[ "MIT" ]
null
null
null
src/client/human/human.cc
TheBenPerson/Game
824b2240e95529b735b4d8055a541c77102bb5dc
[ "MIT" ]
null
null
null
#include <math.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include "gfx.hh" #include "human.hh" #include "world.hh" GFX::texture tex; static void create(uint8_t *data); extern "C" { bool init() { Entity::regEnt("human", &create); tex = GFX::loadTexture("villager_f.png"); return true; ...
12.474747
62
0.584615
TheBenPerson
8bd7c14e4aad14ff4b3d9fb4002978b6347b0b02
87
cpp
C++
VulkanEngine/code/cystring.cpp
schecko/VulkanEngine
88bc893311c18db81beca66a15f51fce52d064f1
[ "MIT" ]
null
null
null
VulkanEngine/code/cystring.cpp
schecko/VulkanEngine
88bc893311c18db81beca66a15f51fce52d064f1
[ "MIT" ]
null
null
null
VulkanEngine/code/cystring.cpp
schecko/VulkanEngine
88bc893311c18db81beca66a15f51fce52d064f1
[ "MIT" ]
null
null
null
#include "cystring.h" namespace Cy { String operator+(String s1, String s2) { } }
8.7
39
0.655172
schecko
8bd7f6cf7b64e57cf2e1328d6aa92fe575294744
847
cpp
C++
sensor/temperature.cpp
yan9a/rpi
eef334c8b61b5e32e7cf57e38f47236b8f483bfb
[ "MIT" ]
2
2019-07-02T06:27:25.000Z
2022-02-24T16:50:42.000Z
sensor/temperature.cpp
yan9a/rpi
eef334c8b61b5e32e7cf57e38f47236b8f483bfb
[ "MIT" ]
null
null
null
sensor/temperature.cpp
yan9a/rpi
eef334c8b61b5e32e7cf57e38f47236b8f483bfb
[ "MIT" ]
1
2021-12-25T11:52:03.000Z
2021-12-25T11:52:03.000Z
#include <stdio.h> #include <unistd.h> #include "ce_spi.h" using namespace std; int main() { CE_SPI tsensor; tsensor.Begin(); int n; float v, t; for(int i=0;i<10;i++){ tsensor.tx[0]=0x01;//Send start bit - 0000 0001 tsensor.tx[1]=0x80;//read channel 0 - | s/~d | d2 d1 d0 | x x x x | ...
29.206897
86
0.548996
yan9a
8bd919484fab1e1ecc7095de4b788278555b8a2e
3,587
hpp
C++
src/glfw/vk/soVkGLFWSurface.hpp
BenSolus/vulkan-engine
04a7114b7f9b2617cf6b5133e71190b1f48c0575
[ "MIT" ]
null
null
null
src/glfw/vk/soVkGLFWSurface.hpp
BenSolus/vulkan-engine
04a7114b7f9b2617cf6b5133e71190b1f48c0575
[ "MIT" ]
null
null
null
src/glfw/vk/soVkGLFWSurface.hpp
BenSolus/vulkan-engine
04a7114b7f9b2617cf6b5133e71190b1f48c0575
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2018 by Bennet Carstensen * * 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, ...
34.825243
79
0.68581
BenSolus
8bdc31d0ef68ae02e16281e4c5a8bf65c6f35f9e
1,248
cpp
C++
engine/Engine.cpp
shenchi/gllab
5d8fe33cd763d5fe5033da106b715751ae2e87ef
[ "MIT" ]
null
null
null
engine/Engine.cpp
shenchi/gllab
5d8fe33cd763d5fe5033da106b715751ae2e87ef
[ "MIT" ]
null
null
null
engine/Engine.cpp
shenchi/gllab
5d8fe33cd763d5fe5033da106b715751ae2e87ef
[ "MIT" ]
null
null
null
#include "Engine.hpp" EngineBase::~EngineBase() { } void EngineBase::run(int w, int h) { if (!glfwInit()) return; glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_C...
16.864865
63
0.684295
shenchi
8bdd8b6c0ae5f801651e5825fad97524ec28b936
130
hpp
C++
5.FIRMWARE/arch/x86_64/mach/include/mach.hpp
xivisi/MachineLearning
a213e18dfeb7b22ea4ea555696e4d7e7dddd16f1
[ "Apache-2.0" ]
null
null
null
5.FIRMWARE/arch/x86_64/mach/include/mach.hpp
xivisi/MachineLearning
a213e18dfeb7b22ea4ea555696e4d7e7dddd16f1
[ "Apache-2.0" ]
null
null
null
5.FIRMWARE/arch/x86_64/mach/include/mach.hpp
xivisi/MachineLearning
a213e18dfeb7b22ea4ea555696e4d7e7dddd16f1
[ "Apache-2.0" ]
null
null
null
/* 文件: mach.hpp 作者: Li Yong 电邮: xivisi@126.com 时间: 2018年9月11日 */ #ifndef MACH_HPP_ #define MACH_HPP_ #endif /* MACH_HPP_ */
8.125
22
0.669231
xivisi
8bddfd0cca46132af90dc57da322de32c3b976e4
2,244
cpp
C++
LinkList/p1list.cpp
imsanjayK/DataStructure
89ac5dc625d53653ea477071289c363024725ada
[ "Unlicense" ]
null
null
null
LinkList/p1list.cpp
imsanjayK/DataStructure
89ac5dc625d53653ea477071289c363024725ada
[ "Unlicense" ]
null
null
null
LinkList/p1list.cpp
imsanjayK/DataStructure
89ac5dc625d53653ea477071289c363024725ada
[ "Unlicense" ]
null
null
null
#include <iostream> #include <cstdlib> using namespace std; typedef struct list { int data; struct list *next; } linkList; linkList *start; void push(int value) { linkList *newNode = new linkList; if (newNode == NULL) { cout << "start NUll"; } else { n...
17.809524
41
0.414884
imsanjayK
8bdfd552b3997f3a34651a386df174551d9e3397
445
cpp
C++
Exercicios1/matriz.cpp
leandro-araujo-silva/Aprendendo-Cpp
09c5eb038ca62f46a694c4386b6d9e1e7d2cb8fc
[ "MIT" ]
null
null
null
Exercicios1/matriz.cpp
leandro-araujo-silva/Aprendendo-Cpp
09c5eb038ca62f46a694c4386b6d9e1e7d2cb8fc
[ "MIT" ]
null
null
null
Exercicios1/matriz.cpp
leandro-araujo-silva/Aprendendo-Cpp
09c5eb038ca62f46a694c4386b6d9e1e7d2cb8fc
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int matriz[2][3]; cout << "Digite os valores da matriz:\n"; for(int i = 0; i < 2; i++) { for (int j = 0; j < 3; j++) { cout << "Matriz[" << i << "][" << j << "] = "; cin >> matriz[i][j]; } } for(int i = 0; i < 2; i++) { for (i...
18.541667
76
0.395506
leandro-araujo-silva
8be03b2b7842e06885e63d6b260c38a228788528
2,700
cpp
C++
doc-src/samples/close-error.cpp
lsilvest/crpcut
e9d694fb04599b72ebdcf6fea7d6ad598807ff41
[ "BSD-2-Clause" ]
1
2019-04-09T12:48:41.000Z
2019-04-09T12:48:41.000Z
doc-src/samples/close-error.cpp
lsilvest/crpcut
e9d694fb04599b72ebdcf6fea7d6ad598807ff41
[ "BSD-2-Clause" ]
2
2020-05-06T16:22:07.000Z
2020-05-07T04:02:41.000Z
doc-src/samples/close-error.cpp
lsilvest/crpcut
e9d694fb04599b72ebdcf6fea7d6ad598807ff41
[ "BSD-2-Clause" ]
1
2019-04-10T12:47:11.000Z
2019-04-10T12:47:11.000Z
/* * Copyright 2009 Bjorn Fahller <bjorn@fahller.se> * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
27.272727
77
0.692963
lsilvest
8be1392b63d2029e04cac848b89ec2c65a7f80ed
1,937
cpp
C++
problemsets/UVA/UVA140.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/UVA140.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/UVA140.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> #include <cstdlib> #include <cstring> #include <cctype> #include <cmath> #include <string> #include <algorithm> #include <sstream> #include <map> #include <set> #include <queue> using namespace std; char S[300]; ...
25.155844
123
0.382034
juarezpaulino
8be169d158bd32af6b0cc1f85adb38b942308dbd
2,282
cpp
C++
drake/systems/plants/collisionRaycastmex.cpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
4
2018-04-16T09:54:52.000Z
2021-03-29T21:59:27.000Z
drake/systems/plants/collisionRaycastmex.cpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
null
null
null
drake/systems/plants/collisionRaycastmex.cpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
1
2017-08-24T20:32:03.000Z
2017-08-24T20:32:03.000Z
#include "mex.h" #include <iostream> #include "drakeMexUtil.h" #include "RigidBodyManipulator.h" #include "math.h" using namespace Eigen; using namespace std; /* * mex interface for bullet raycast detection */ void mexFunction( int nlhs, mxArray *plhs[],int nrhs, const mxArray *prhs[] ) { if (nrhs < 5) { ...
38.033333
171
0.744522
ericmanzi
8be2b2a326e5be01b5f5d2fdfad31b9ea867d030
1,103
hpp
C++
Kernel/Threads/Scheduler.hpp
asynts/picoos
5197f86ce1902fc6572cecd10f97ca68109f2f86
[ "MIT" ]
1
2021-08-24T05:59:32.000Z
2021-08-24T05:59:32.000Z
Kernel/Threads/Scheduler.hpp
asynts/picoos
5197f86ce1902fc6572cecd10f97ca68109f2f86
[ "MIT" ]
3
2021-03-31T15:36:01.000Z
2021-04-19T14:17:44.000Z
Kernel/Threads/Scheduler.hpp
asynts/picoos
5197f86ce1902fc6572cecd10f97ca68109f2f86
[ "MIT" ]
null
null
null
#pragma once #include <Std/Singleton.hpp> #include <Std/Vector.hpp> #include <Std/CircularQueue.hpp> #include <Kernel/Forward.hpp> #include <Kernel/Threads/Thread.hpp> #include <Kernel/SystemHandler.hpp> #include <Kernel/PageAllocator.hpp> namespace Kernel { constexpr bool debug_scheduler = false; constexpr ...
20.811321
59
0.618314
asynts
8be9d39fc4b9b10782990946969a98776321be2d
97
cpp
C++
src/entdlr/parser/grammar/generated/flatbuffers/FlatBuffersParserVisitor.cpp
tstraus/entdlr
d38f16c545873cde2d2e9a892cff6bf1f7ce803f
[ "MIT" ]
null
null
null
src/entdlr/parser/grammar/generated/flatbuffers/FlatBuffersParserVisitor.cpp
tstraus/entdlr
d38f16c545873cde2d2e9a892cff6bf1f7ce803f
[ "MIT" ]
null
null
null
src/entdlr/parser/grammar/generated/flatbuffers/FlatBuffersParserVisitor.cpp
tstraus/entdlr
d38f16c545873cde2d2e9a892cff6bf1f7ce803f
[ "MIT" ]
null
null
null
// Generated from FlatBuffersParser.g4 by ANTLR 4.9.3 #include "FlatBuffersParserVisitor.h"
12.125
53
0.762887
tstraus
8bef420924809a920949881929bec91863062bde
2,809
cc
C++
source/src/Objects/Track.cc
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
source/src/Objects/Track.cc
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
source/src/Objects/Track.cc
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
/// \file Track.cc /* * * Track.cc source template generated by fclass * Creation date : lun. avr. 29 2013 * Copyright (c) CNRS , IPNL * * All Right Reserved. * Use and copying of these libraries and preparation of derivative works * based upon these libraries are permitted. Any copy of these libraries * mus...
21.775194
149
0.644001
rete
8bef6194c19b70ad60f1b2599f56eb0f4cac1469
368
cpp
C++
src/stationchat/RegistrarNode.cpp
seefo/swg-stationapi
ae46b8a6177ea800b0dde00630051a19876cffae
[ "MIT" ]
null
null
null
src/stationchat/RegistrarNode.cpp
seefo/swg-stationapi
ae46b8a6177ea800b0dde00630051a19876cffae
[ "MIT" ]
null
null
null
src/stationchat/RegistrarNode.cpp
seefo/swg-stationapi
ae46b8a6177ea800b0dde00630051a19876cffae
[ "MIT" ]
1
2022-03-09T23:57:59.000Z
2022-03-09T23:57:59.000Z
#include "RegistrarNode.hpp" #include "StationChatConfig.hpp" RegistrarNode::RegistrarNode(StationChatConfig& config) : Node(this, config.registrarAddress, config.registrarPort, config.bindToIp) , config_{config} {} RegistrarNode::~RegistrarNode() {} StationChatConfig& RegistrarNode::GetConfig() { retu...
20.444444
80
0.75
seefo
8bf1eae24c25e7ec00c0d87aee060a990b1fc908
5,038
cpp
C++
include/types/operator.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-11T14:53:38.000Z
2020-07-11T14:53:38.000Z
include/types/operator.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-04T16:45:49.000Z
2020-07-04T16:45:49.000Z
include/types/operator.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
null
null
null
#include "operator.hpp" #include <cwctype> #include <string> #include <codecvt> #include <locale> namespace rhizome { namespace types { Thing * unit_dummy() { throw runtime_error(" is not a unit operator."); } Thing * unary_dummy(Thing *a) { (void)a; th...
31.685535
106
0.467844
nathanmullenax83
8bf2b14218141d2e155dcbc81bf7bb714c6d429c
1,119
cpp
C++
source/msynth/msynth/ui/dialog/MRecordDialog.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
1
2022-01-30T07:40:31.000Z
2022-01-30T07:40:31.000Z
source/msynth/msynth/ui/dialog/MRecordDialog.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
null
null
null
source/msynth/msynth/ui/dialog/MRecordDialog.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
null
null
null
#include "MRecordDialog.h" MRecordDialog::MRecordDialog() { MSaxTreeDocument doc; doc.parseResource( "resource/xml/recorddialog.xml" ); load( doc.getRoot() ); ivMode = RENDER; } MRecordDialog::~MRecordDialog() { } MRecordDialog::DlgResult MRecordDialog::onDlgCommand( unsigned int id ) { switch...
21.941176
93
0.670241
MRoc
8bf741dd5065ee7451bb49fe66b7956ef21a68b3
197
cpp
C++
30-app/viewdll/source/ctrlapp3.cpp
RealCrond/view
0a5f0b5d6e57d0d91f8b254ec9f3075e5185a34d
[ "MIT" ]
1
2020-03-27T09:37:18.000Z
2020-03-27T09:37:18.000Z
30-app/viewdll/source/ctrlapp3.cpp
RealCrond/view
0a5f0b5d6e57d0d91f8b254ec9f3075e5185a34d
[ "MIT" ]
null
null
null
30-app/viewdll/source/ctrlapp3.cpp
RealCrond/view
0a5f0b5d6e57d0d91f8b254ec9f3075e5185a34d
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ctrlapp3.h" CCtrlApp3::CCtrlApp3() { } CCtrlApp3::~CCtrlApp3() { } BEGIN_MSG_MAP(CCtrlApp3) //REG_MSG(emFistEventId, CCtrlApp1::OnCameraSelectCmd) END_MSG_MAP()
11.588235
55
0.736041
RealCrond
8bf92af64c8641e74ee9e0c325643f58bc5301d5
350
cpp
C++
CodeChef/Beginner/B0006.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
CodeChef/Beginner/B0006.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
CodeChef/Beginner/B0006.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
// Problem Code: TSORT #include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int T, N; vector<int> numbers; cin >> T; for(int i=1 ; i<=T ; i++){ cin >> N; numbers.push_back(N); } sort(numbers.begin(), numbers.end()); for(int i=0 ; i<numbers.size() ; i++) cout << nu...
15.909091
38
0.602857
Mohammed-Shoaib
8bf9baa09612c9b6ba0e39b5c17e1a12a80dc66e
740
cpp
C++
src/0039.cpp
shuihan0555/LeetCode-Solutions-in-Cpp17
8bb69fc546486c5e73839431204927626601dd18
[ "MIT" ]
null
null
null
src/0039.cpp
shuihan0555/LeetCode-Solutions-in-Cpp17
8bb69fc546486c5e73839431204927626601dd18
[ "MIT" ]
null
null
null
src/0039.cpp
shuihan0555/LeetCode-Solutions-in-Cpp17
8bb69fc546486c5e73839431204927626601dd18
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> combinationSum(vector<int>& candidates, int target) { vector<vector<int>> res; vector<int> tmp; dfs(res, tmp, candidates, 0, target); return res; } void dfs(vector<vector<int>>& res, vector<int>& tmp, vector<int>& candidates, int ...
27.407407
100
0.486486
shuihan0555
8bfa7858a0e5e4cac2701e40fee0b7790b94f730
14,133
hpp
C++
src/align_bench_seqan.hpp
rrahn/align_bench
eed206e113f2aa1a2ef7a2441f19e56ecafa23fc
[ "BSD-3-Clause" ]
2
2017-03-08T05:35:46.000Z
2019-08-21T16:09:18.000Z
src/align_bench_seqan.hpp
rrahn/align_bench
eed206e113f2aa1a2ef7a2441f19e56ecafa23fc
[ "BSD-3-Clause" ]
null
null
null
src/align_bench_seqan.hpp
rrahn/align_bench
eed206e113f2aa1a2ef7a2441f19e56ecafa23fc
[ "BSD-3-Clause" ]
null
null
null
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2018, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and us...
39.477654
152
0.574117
rrahn
8bfbdf50008464649c64cc0191c62685f48c9948
5,334
cc
C++
ProbTools/ConsistencySet.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
ProbTools/ConsistencySet.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
ProbTools/ConsistencySet.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: ConsistencySet.cc 704 2010-11-10 15:23:36Z stroili $ // // Description: // Class ConsistencySet -- see header // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory....
18.982206
78
0.587364
brownd1978
8bfe4b52ee3158d0b972817b2cb94736f6c76e16
2,238
cpp
C++
src/timer.cpp
ekera/qunundrum
deeed6779a5b0e69df9245024225b8a552c2179c
[ "MIT" ]
4
2020-12-09T10:57:05.000Z
2021-12-27T15:44:47.000Z
src/timer.cpp
ekera/qunundrum
deeed6779a5b0e69df9245024225b8a552c2179c
[ "MIT" ]
null
null
null
src/timer.cpp
ekera/qunundrum
deeed6779a5b0e69df9245024225b8a552c2179c
[ "MIT" ]
null
null
null
/*! * \file timer.cpp * \ingroup timer * * \brief The definition of functions for manipulating timers and collecting * timing statistics. */ #include "timer.h" #include <stdint.h> #include <string.h> #include <time.h> void timer_start( Timer * const timer) { clock_gettime(CLOCK_MONOTONIC_RAW,...
18.806723
78
0.592493
ekera
8bff10a8eb2d0d141b31ef1bf8b749a5fdf07ba2
18,242
cc
C++
third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "platform/scheduler/base/queueing_time_estimator.h" #include "base/logging.h" #include "platform/scheduler/base/test_time_source.h" #include "tes...
40.269316
80
0.633648
metux
bdd70b22c8427bd1b6a3dd13583f9f723a739e46
282
cc
C++
src/mob/friendly/Zeus.cc
kallentu/pathos
1914edbccc98baef79d98fb065119230072ac40d
[ "MIT" ]
7
2019-05-09T15:38:55.000Z
2021-12-07T03:13:29.000Z
src/mob/friendly/Zeus.cc
kallentu/pathos
1914edbccc98baef79d98fb065119230072ac40d
[ "MIT" ]
1
2019-06-20T03:01:18.000Z
2019-06-20T03:01:18.000Z
src/mob/friendly/Zeus.cc
kallentu/pathos
1914edbccc98baef79d98fb065119230072ac40d
[ "MIT" ]
null
null
null
#include "mob/friendly/Zeus.h" #include "request/TalkRequest.h" #include <memory> using namespace Pathos; std::unique_ptr<TalkRequest> Zeus::beTalkedToBy(Player &p) { (void)p; return std::make_unique<TalkRequest>( "When you need me, lightning will be by your side."); }
23.5
60
0.719858
kallentu
bdd7c99e4f0dfd095d69105db7b52ef047def2b6
406
cpp
C++
directfire_github/trunk/gameui/menuscene.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
1
2015-08-12T04:05:33.000Z
2015-08-12T04:05:33.000Z
directfire_github/trunk/gameui/menuscene.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
null
null
null
directfire_github/trunk/gameui/menuscene.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
null
null
null
#include "menuscene.h" #include "mainmenulayer.h" #include "gamecore/serverinterface.h" MenuScene::MenuScene() { ServerInterface::getInstance(); } MenuScene::~MenuScene() { } bool MenuScene::init() { bool ret = false; do { CC_BREAK_IF(!CCScene::init()); this->addChild(Ma...
16.24
49
0.583744
zhwsh00
bdd93f5b4e5df56b2800daa79defddf4def0946e
19,004
cpp
C++
Lab-7/CS20B1127_Inheritance.cpp
Hitesh1309/OOPS-Lab-Submissions
d5bc462686e328760ca6091c8fe3dcc514b98dd9
[ "MIT" ]
null
null
null
Lab-7/CS20B1127_Inheritance.cpp
Hitesh1309/OOPS-Lab-Submissions
d5bc462686e328760ca6091c8fe3dcc514b98dd9
[ "MIT" ]
null
null
null
Lab-7/CS20B1127_Inheritance.cpp
Hitesh1309/OOPS-Lab-Submissions
d5bc462686e328760ca6091c8fe3dcc514b98dd9
[ "MIT" ]
null
null
null
//CS20B1127 //Hitesh Gupta //Program for Inheritance. // NOTE : The credit and debit in checking account using option 2 and 3 respectively are done without cutting the transaction fee. #include <iostream> using namespace std; // Class for storing linked list of Saving Accounts. class SavingsLL { p...
34.615665
132
0.38634
Hitesh1309
bdd9566c7c7c27b024504adc9f03a650280012ef
707
cpp
C++
CodeForces/Complete/1-99/8B-ObsessionWithRobots.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/1-99/8B-ObsessionWithRobots.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/1-99/8B-ObsessionWithRobots.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <iostream> #include <vector> int main(){ const long N = 100; const long D = 2 * N + 7; std::vector<std::vector<long> > vis(D, std::vector<long>(D, 0)); long x(D / 2), y(D / 2); vis[x][y] = true; bool possible(true); std::string s; std::cin >> s; for(long p = 0; p < s.size();...
22.09375
108
0.442716
Ashwanigupta9125
bdd97fde6d869ffd1fd217943d5f215b6771a3c5
1,616
cpp
C++
solutions/codeforces/Medium/1500/park.cpp
TanishT/Competitive-Programming
b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0
[ "MIT" ]
2
2021-02-19T18:15:03.000Z
2021-03-27T20:26:55.000Z
solutions/codeforces/Medium/1500/park.cpp
TanishT/Comp-Programming
b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0
[ "MIT" ]
8
2021-01-17T16:39:08.000Z
2021-03-22T01:27:15.000Z
solutions/codeforces/Medium/1500/park.cpp
anaconda121/Competitive-Programming
b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0
[ "MIT" ]
null
null
null
#include <algorithm> #include <vector> #include <math.h> #include <iostream> #include <stdio.h> using namespace std; int n, catCount; vector<int> cats; vector<int> adj[100005]; bool visited[100005]; int res = 0; int prevNode = 0; void setIO(string name, bool includeout=false) { // name is nonempty for USACO file I/...
21.546667
87
0.475866
TanishT
bdd9b4727c6c765ecb698174af543ead9964f6d3
44,660
cpp
C++
bark_editor/src/GUIContext.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
50
2015-06-01T19:23:24.000Z
2021-12-22T02:14:23.000Z
bark_editor/src/GUIContext.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
109
2015-07-20T07:43:03.000Z
2021-01-31T21:52:36.000Z
bark_editor/src/GUIContext.cpp
Daivuk/onut
b02c5969b36897813de9c574a26d9437b67f189e
[ "MIT" ]
9
2015-07-02T21:36:20.000Z
2019-10-19T04:18:02.000Z
#include <sstream> #include <iomanip> #include <onut/ContentManager.h> #include <onut/Input.h> #include <onut/Log.h> #include <onut/Font.h> #include <onut/Renderer.h> #include <onut/SpriteBatch.h> #include <onut/Window.h> #include <onut/Strings.h> #include <onut/Texture.h> #include <onut/TiledMap.h> #include <onut/Soun...
30.236967
138
0.582871
Daivuk
bdda78c9751b6c324bf2f2c9d586b70e77a639d5
5,548
cc
C++
engine/discovery/register.cc
YaoPu2021/galileo
0ebee2052bf78205f93f8cbbe0e2884095dd7af7
[ "Apache-2.0" ]
115
2021-09-09T03:01:58.000Z
2022-03-30T10:46:26.000Z
engine/discovery/register.cc
Hacky-DH/galileo
e4d5021f0287dc879730dfa287b9a056f152f712
[ "Apache-2.0" ]
1
2021-12-09T07:34:41.000Z
2021-12-20T06:24:27.000Z
engine/discovery/register.cc
Hacky-DH/galileo
e4d5021f0287dc879730dfa287b9a056f152f712
[ "Apache-2.0" ]
28
2021-09-10T08:47:20.000Z
2022-03-17T07:29:26.000Z
// Copyright 2020 JD.com, Inc. Galileo Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
31.885057
81
0.612293
YaoPu2021
bddce3eb30c505dd6d8563f055d326168ee82e8b
432
hpp
C++
apps/interactive-calibration/rotationConverters.hpp
snosov1/opencv
ce05d6cb89450a5778f4c0169b5da5589798192a
[ "BSD-3-Clause" ]
3
2019-10-21T13:38:14.000Z
2020-10-12T21:34:50.000Z
apps/interactive-calibration/rotationConverters.hpp
snosov1/opencv
ce05d6cb89450a5778f4c0169b5da5589798192a
[ "BSD-3-Clause" ]
null
null
null
apps/interactive-calibration/rotationConverters.hpp
snosov1/opencv
ce05d6cb89450a5778f4c0169b5da5589798192a
[ "BSD-3-Clause" ]
2
2019-10-21T13:37:52.000Z
2020-10-13T08:43:38.000Z
#ifndef RAOTATION_CONVERTERS_HPP #define RAOTATION_CONVERTERS_HPP #include <opencv2/core.hpp> namespace calib { #define CALIB_RADIANS 0 #define CALIB_DEGREES 1 void Euler(const cv::Mat& src, cv::Mat& dst, int argType = CALIB_RADIANS); void RodriguesToEuler(const cv::Mat& src, cv::Mat& dst, int argType = CALI...
25.411765
89
0.743056
snosov1
bde2cdb1ff29141bd8a61024ac8e32ff7e8cb2b2
11,550
hpp
C++
lib/player.hpp
SailGame/ExplodingKittens
0bf2fa3d57accaef1e049122956b57b93a0cc810
[ "MIT" ]
null
null
null
lib/player.hpp
SailGame/ExplodingKittens
0bf2fa3d57accaef1e049122956b57b93a0cc810
[ "MIT" ]
null
null
null
lib/player.hpp
SailGame/ExplodingKittens
0bf2fa3d57accaef1e049122956b57b93a0cc810
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <boost/mpl/vector.hpp> #include <boost/msm/back/state_machine.hpp> #include <boost/msm/front/euml/common.hpp> #include <boost/msm/front/euml/operator.hpp> #include <boost/msm/front/functor_row.hpp> #include <boost/msm/front/state_machine_def.hpp> #include <iostream> #include <...
32.172702
109
0.542078
SailGame
bde5acd41dd65048f76860bf57303c4e780fd2eb
7,550
cc
C++
lattice-word-length-distribution.cc
jpuigcerver/lattice-expected-word-length
86b88832964c0101c9c9efb36b62537bf1e98b7a
[ "MIT" ]
null
null
null
lattice-word-length-distribution.cc
jpuigcerver/lattice-expected-word-length
86b88832964c0101c9c9efb36b62537bf1e98b7a
[ "MIT" ]
null
null
null
lattice-word-length-distribution.cc
jpuigcerver/lattice-expected-word-length
86b88832964c0101c9c9efb36b62537bf1e98b7a
[ "MIT" ]
null
null
null
// latbin/lattice-word-length-distribution.cc // MIT License // Copyright (c) 2017 Joan Puigcerver // 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...
37.562189
80
0.63457
jpuigcerver
bde89f13ddda00029239c5bba2d511c5130bac31
1,229
cpp
C++
src/reactor/application.cpp
victor-smirnov/dumbo
57fe7f765c69490a9bda6619bcab8fcca0e1d2d9
[ "BSL-1.0", "Apache-2.0" ]
6
2016-10-22T06:37:17.000Z
2019-05-09T06:12:48.000Z
src/reactor/application.cpp
victor-smirnov/dumbo
57fe7f765c69490a9bda6619bcab8fcca0e1d2d9
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/reactor/application.cpp
victor-smirnov/dumbo
57fe7f765c69490a9bda6619bcab8fcca0e1d2d9
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
// Copyright 2017 Victor Smirnov // // 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...
25.081633
75
0.662327
victor-smirnov
bdefba20106bd1f2b3d0dd812cee476ff1d42494
329
cpp
C++
11714.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
1
2018-03-19T05:18:49.000Z
2018-03-19T05:18:49.000Z
11714.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
null
null
null
11714.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
null
null
null
//2012/02/25 //11714.cpp //Run time: 0.024 #include <stdio.h> #include <math.h> int main(){ #ifndef ONLINE_JUDGE freopen("11714.in", "r", stdin); freopen("11714.out", "w", stdout); #endif unsigned int N; while(scanf("%u", &N) == 1) printf("%u\n", (N-1)+(unsigned int)(log(N-1)/log(2))); retur...
17.315789
57
0.56535
abraxaslee
bdf275538db438f88107062a42962b67fc870cb9
15,671
cpp
C++
class/RenderWorkManager.cpp
enjiushi/VulkanLearn
29fb429a3fb526f8de7406404a983685a7e87117
[ "MIT" ]
272
2019-06-27T12:21:49.000Z
2022-03-23T07:18:33.000Z
class/RenderWorkManager.cpp
enjiushi/VulkanLearn
29fb429a3fb526f8de7406404a983685a7e87117
[ "MIT" ]
9
2019-08-11T13:07:01.000Z
2022-01-26T12:30:24.000Z
class/RenderWorkManager.cpp
enjiushi/VulkanLearn
29fb429a3fb526f8de7406404a983685a7e87117
[ "MIT" ]
16
2019-09-29T01:41:02.000Z
2022-03-29T15:51:35.000Z
#include "RenderWorkManager.h" #include "ComputeMaterialFactory.h" #include "../vulkan/RenderPass.h" #include "../vulkan/GlobalDeviceObjects.h" #include "../vulkan/Framebuffer.h" #include "../vulkan/SwapChain.h" #include "../vulkan/Image.h" #include "../vulkan/GlobalVulkanStates.h" #include "../common/Util.h" #include ...
45.821637
246
0.793695
enjiushi
bdfbedfafa12f11704fa5bf7487cb1bd3c756c59
1,302
hpp
C++
src/include/parser/parsed_data/create_scalar_function_info.hpp
xhochy/duckdb
20ba65f96794ab53f7a66e22d9bc58d59d8bc623
[ "MIT" ]
null
null
null
src/include/parser/parsed_data/create_scalar_function_info.hpp
xhochy/duckdb
20ba65f96794ab53f7a66e22d9bc58d59d8bc623
[ "MIT" ]
null
null
null
src/include/parser/parsed_data/create_scalar_function_info.hpp
xhochy/duckdb
20ba65f96794ab53f7a66e22d9bc58d59d8bc623
[ "MIT" ]
1
2019-09-06T09:58:14.000Z
2019-09-06T09:58:14.000Z
//===----------------------------------------------------------------------===// // DuckDB // // parser/parsed_data/create_scalar_function_info.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "common/common.hpp" #include "functio...
30.27907
114
0.652074
xhochy
bdfe381530f4ce677794158a0cd0badd525ffc82
4,716
hpp
C++
src/TimeSeriesSet.hpp
ctring/konex
7bf55f68f9ddcba6e2007e9c8049899cdb707d69
[ "MIT" ]
null
null
null
src/TimeSeriesSet.hpp
ctring/konex
7bf55f68f9ddcba6e2007e9c8049899cdb707d69
[ "MIT" ]
null
null
null
src/TimeSeriesSet.hpp
ctring/konex
7bf55f68f9ddcba6e2007e9c8049899cdb707d69
[ "MIT" ]
null
null
null
#ifndef TIMESERIESSET_H #define TIMESERIESSET_H #include <string> #include <vector> #include "TimeSeries.hpp" #include "distance/Distance.hpp" using std::string; namespace konex { /** * @brief a TimeSeriesSet object contains values and information of a dataset * * Example: * TimeSeriesSet dataset("example...
28.932515
97
0.672392
ctring
da01c4ead75625a985f30c78bc154fe8e1aa533f
2,248
cpp
C++
Plugins/Savior/Source/Savior2Editor/Private/ISavior2Editor.cpp
Lawrence-JD/Space-Egypt
f8aa37f1fbd1a26b662bb59ed7a9580ef3853854
[ "MIT" ]
null
null
null
Plugins/Savior/Source/Savior2Editor/Private/ISavior2Editor.cpp
Lawrence-JD/Space-Egypt
f8aa37f1fbd1a26b662bb59ed7a9580ef3853854
[ "MIT" ]
null
null
null
Plugins/Savior/Source/Savior2Editor/Private/ISavior2Editor.cpp
Lawrence-JD/Space-Egypt
f8aa37f1fbd1a26b662bb59ed7a9580ef3853854
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////...
53.52381
150
0.262456
Lawrence-JD
da0599aadb1fac543995e083254c57fa13e7c23b
7,558
cpp
C++
src/zdownloader_net_lib/src/http/file_downloader2.cpp
ronioncloud/sin2000-zdownloader
cb18aa1150970983ee4c8bd3a2fe9843051480cf
[ "Apache-2.0" ]
98
2019-11-09T14:16:28.000Z
2022-02-02T20:15:16.000Z
src/zdownloader_net_lib/src/http/file_downloader2.cpp
ronioncloud/sin2000-zdownloader
cb18aa1150970983ee4c8bd3a2fe9843051480cf
[ "Apache-2.0" ]
21
2019-11-09T14:03:33.000Z
2021-05-29T09:49:16.000Z
src/zdownloader_net_lib/src/http/file_downloader2.cpp
ronioncloud/sin2000-zdownloader
cb18aa1150970983ee4c8bd3a2fe9843051480cf
[ "Apache-2.0" ]
16
2019-11-10T10:45:37.000Z
2022-03-01T12:59:07.000Z
#include "file_downloader2.h" #include <QElapsedTimer> #include <QTimer> #include <QFile> #include <qdebugex.h> file_downloader2::file_downloader2(QNetworkAccessManager * global_nam, QObject * parent) :abstract_get_request(global_nam, parent), bytes_received_last(0), bytes_received_and_on_disk(0), download_...
27.384058
147
0.735247
ronioncloud
da07a56b2e15c6cf716988935cff5d8e240d5259
15,781
cpp
C++
src/mame/drivers/amust.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/amust.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/amust.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Robbbert /***************************************************************************************** Amust Compak - also known as Amust Executive 816. 2014-03-21 Skeleton driver. [Robbbert] An unusual-looking CP/M computer. The screen is a tiny CRT not much bigger than a m...
29.062615
153
0.696344
Robbbert
da0be6cb8a9294384bc5c7743b2624315a53e9cc
2,269
hpp
C++
include/vif/test/unit_test.hpp
lmorabit/vif
459715c60e0ef6c83c7ebfb8741355d597dbc7aa
[ "Apache-2.0" ]
6
2018-09-04T10:57:00.000Z
2021-10-05T07:41:50.000Z
include/vif/test/unit_test.hpp
lmorabit/vif
459715c60e0ef6c83c7ebfb8741355d597dbc7aa
[ "Apache-2.0" ]
2
2019-05-22T02:59:46.000Z
2019-12-02T19:15:43.000Z
include/vif/test/unit_test.hpp
lmorabit/vif
459715c60e0ef6c83c7ebfb8741355d597dbc7aa
[ "Apache-2.0" ]
3
2019-05-01T10:20:47.000Z
2021-09-20T16:35:34.000Z
#ifndef VIF_TEST_UNIT_TEST_HPP #define VIF_TEST_UNIT_TEST_HPP #include "vif/core/vec.hpp" #include "vif/core/print.hpp" #include "vif/core/string_conversion.hpp" #include "vif/math/base.hpp" namespace vif { uint_t tested = 0u; uint_t failed = 0u; bool reduce_and(bool b) { return b; } tem...
28.012346
110
0.565888
lmorabit
da0c777b0bc29d4d49a90d04a0c52b64972e1373
155
hpp
C++
src/jk/cog/vm/restart_exception.hpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/jk/cog/vm/restart_exception.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/jk/cog/vm/restart_exception.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#pragma once namespace gorc { namespace cog { class restart_exception { public: restart_exception(); }; } }
11.923077
33
0.516129
jdmclark
da0d78eddc454659ae37a6b292f010a50e03e731
28,605
cpp
C++
Examples/SDKLibrary/interface/server/platform_specific/server_class/c_api/value_attribute_reader_writer_for_c_api.cpp
beeond/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
1
2018-03-29T21:03:31.000Z
2018-03-29T21:03:31.000Z
Examples/SDKLibrary/interface/server/platform_specific/server_class/c_api/value_attribute_reader_writer_for_c_api.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
null
null
null
Examples/SDKLibrary/interface/server/platform_specific/server_class/c_api/value_attribute_reader_writer_for_c_api.cpp
JayeshThamke/robot-examples
afc6b8b10809988b03663d703203625927e66e8f
[ "MIT" ]
4
2018-04-05T21:16:55.000Z
2019-10-15T19:01:46.000Z
/* ---------------------------------------------------------------------------------------- COPYRIGHT (c) 2009 - 2017 HONEYWELL INC., ALL RIGHTS RESERVED This software is a copyrighted w...
25.677738
181
0.703513
beeond
da0de7f78b4a0407e6d09e7e4abac305eb5be01d
12,199
cpp
C++
test/master-keys-test.cpp
1984not-GmbH/molch
c7f1f646c800ef3388f36e8805a3b94d33d85b12
[ "MIT" ]
15
2016-04-12T17:12:19.000Z
2019-08-14T17:46:17.000Z
test/master-keys-test.cpp
1984not-GmbH/molch
c7f1f646c800ef3388f36e8805a3b94d33d85b12
[ "MIT" ]
63
2016-03-22T14:35:31.000Z
2018-07-04T22:17:07.000Z
test/master-keys-test.cpp
1984not-GmbH/molch
c7f1f646c800ef3388f36e8805a3b94d33d85b12
[ "MIT" ]
1
2017-08-17T09:27:30.000Z
2017-08-17T09:27:30.000Z
/* * Molch, an implementation of the axolotl ratchet based on libsodium * * ISC License * * Copyright (C) 2015-2016 1984not Security GmbH * Author: Max Bruckner (FSMaxB) * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that t...
39.866013
157
0.774818
1984not-GmbH
da0eda4b7318eb4e4776d0e61b558b3db1fe1de2
442
cpp
C++
5-10-21/Odd_even_linked_list.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
null
null
null
5-10-21/Odd_even_linked_list.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
null
null
null
5-10-21/Odd_even_linked_list.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
1
2021-11-29T06:10:48.000Z
2021-11-29T06:10:48.000Z
// https://leetcode.com/problems/odd-even-linked-list/ class Solution { public: ListNode* oddEvenList(ListNode* head) { if(head==NULL) return head; ListNode* odd=head, *even=head->next, *even_start=head->next; while(even && even->next){ odd->next=odd->next->next; even->ne...
21.047619
65
0.588235
ahanavish
da11d5ef09f6fd569100633298f01892a9bd1bc1
36,037
cpp
C++
src/ImageProcessing/RoadSignDetection/RoadSignDetectionAdapter.cpp
FAUtonOHM/AADC_2016
ed00b45d53fadb58e26a6879a17eaf4c749da4a5
[ "BSD-4-Clause" ]
null
null
null
src/ImageProcessing/RoadSignDetection/RoadSignDetectionAdapter.cpp
FAUtonOHM/AADC_2016
ed00b45d53fadb58e26a6879a17eaf4c749da4a5
[ "BSD-4-Clause" ]
null
null
null
src/ImageProcessing/RoadSignDetection/RoadSignDetectionAdapter.cpp
FAUtonOHM/AADC_2016
ed00b45d53fadb58e26a6879a17eaf4c749da4a5
[ "BSD-4-Clause" ]
null
null
null
/** * Copyright (c) * Audi Autonomous Driving Cup. TEAM FAUtonOHM. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright no...
41.613164
730
0.72198
FAUtonOHM
da1230db24f52be5079b740947d52b7b5cc715b0
32
cpp
C++
src/BefungeInterpreter.cpp
lachlansneff/befunge
05cfc9d7ca20d06ed3d0dc09be76908199115eea
[ "MIT" ]
null
null
null
src/BefungeInterpreter.cpp
lachlansneff/befunge
05cfc9d7ca20d06ed3d0dc09be76908199115eea
[ "MIT" ]
null
null
null
src/BefungeInterpreter.cpp
lachlansneff/befunge
05cfc9d7ca20d06ed3d0dc09be76908199115eea
[ "MIT" ]
null
null
null
#include "BefungeInterpreter.h"
16
31
0.8125
lachlansneff
da12478710ee429c6e4978d98659d8fd96fba24b
1,449
cpp
C++
src/crosschain/interblockchain.cpp
BlockMechanic/rain
e8818b75240ff9277b0d14d38769378f05d0b525
[ "MIT" ]
null
null
null
src/crosschain/interblockchain.cpp
BlockMechanic/rain
e8818b75240ff9277b0d14d38769378f05d0b525
[ "MIT" ]
null
null
null
src/crosschain/interblockchain.cpp
BlockMechanic/rain
e8818b75240ff9277b0d14d38769378f05d0b525
[ "MIT" ]
null
null
null
// Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <crosschain/interblockchain.h> #include <protocol.h> #include <chainparams.h> #include <util/strencodings.h> #include <boost/foreach.hpp> void CIbtp::LoadMsgStart() ...
37.153846
108
0.68323
BlockMechanic
da12a6276249a1e2b1bbe1a6ccf43669ca6bc51e
568
hpp
C++
android-31/android/os/health/PidHealthStats.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/os/health/PidHealthStats.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/os/health/PidHealthStats.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../../JObject.hpp" namespace android::os::health { class PidHealthStats : public JObject { public: // Fields static jint MEASUREMENT_WAKE_NESTING_COUNT(); static jint MEASUREMENT_WAKE_START_MS(); static jint MEASUREMENT_WAKE_SUM_MS(); // QJniObject forward template<typename...
22.72
155
0.702465
YJBeetle
da12a7c5e63ae59962652ebedc1712f7cf326703
1,326
cpp
C++
Game/Colour.cpp
roooodcastro/gamedev-coursework
a4bfdbd8f68cb641c0025ec70270b0a17e2e237d
[ "MIT" ]
1
2019-10-05T23:31:00.000Z
2019-10-05T23:31:00.000Z
Game/Colour.cpp
roooodcastro/gamedev-coursework
a4bfdbd8f68cb641c0025ec70270b0a17e2e237d
[ "MIT" ]
null
null
null
Game/Colour.cpp
roooodcastro/gamedev-coursework
a4bfdbd8f68cb641c0025ec70270b0a17e2e237d
[ "MIT" ]
null
null
null
#include "Colour.h" Colour::Colour(void) { this->red = 255; this->green = 255; this->blue = 255; this->alpha = 255; } Colour::Colour(const Colour &copy) { this->red = copy.red; this->green = copy.green; this->blue = copy.blue; this->alpha = copy.alpha; } Colour::Colour(unsigned int colour) { this->red = 0; ...
21.047619
81
0.642534
roooodcastro
da1308de95dbfcc002e0fdf2829f885b5a409294
3,928
cpp
C++
Chapter11/SQL_Model_View/mainwindow.cpp
thacngoc/Qt5-CPP-GUI-Programming-Cookbook-Second-Edition
0c8ab6efb2c6c18782b2e85c6d8c7bbd22098bd8
[ "MIT" ]
94
2019-04-05T09:44:13.000Z
2022-03-29T04:04:37.000Z
Chapter11/SQL_Model_View/mainwindow.cpp
thacngoc/Qt5-CPP-GUI-Programming-Cookbook-Second-Edition
0c8ab6efb2c6c18782b2e85c6d8c7bbd22098bd8
[ "MIT" ]
5
2019-10-28T10:21:27.000Z
2020-08-18T05:42:04.000Z
Chapter11/SQL_Model_View/mainwindow.cpp
thacngoc/Qt5-CPP-GUI-Programming-Cookbook-Second-Edition
0c8ab6efb2c6c18782b2e85c6d8c7bbd22098bd8
[ "MIT" ]
54
2019-03-27T11:52:45.000Z
2022-03-24T09:21:51.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { hasInit = false; ui->setupUi(this); db = QSqlDatabase::addDatabase("QMYSQL"); db.setHostName("127.0.0.1"); db.setUserName("yourusername"); db.setP...
31.424
162
0.515784
thacngoc
da16f7fac40a68a32c7aa59a6988ef6676c9a4db
289
cpp
C++
MSVC/14.24.28314/crt/src/linkopts/commode.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
MSVC/14.24.28314/crt/src/linkopts/commode.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
MSVC/14.24.28314/crt/src/linkopts/commode.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// // commode.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // // A link option that defaults the global commit flag to true. // #include <vcruntime.h> #include <fcntl.h> extern "C" int __CRTDECL _get_startup_commit_mode() { return 0x0800; // _IOCOMMIT }
17
65
0.688581
825126369
da2a599cbd917908263cf2ea7417f1a3dae0d830
3,677
cpp
C++
Unrest-iOS/MapMarkerMenu.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
11
2020-08-04T08:37:46.000Z
2022-03-31T22:35:15.000Z
CRAB/MapMarkerMenu.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
1
2020-12-16T16:51:52.000Z
2020-12-18T06:35:38.000Z
Unrest-iOS/MapMarkerMenu.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
7
2020-08-04T09:34:20.000Z
2021-09-11T03:00:16.000Z
#include "stdafx.h" #include "MapMarkerMenu.h" using namespace pyrodactyl::ui; //------------------------------------------------------------------------ // Purpose: Load //------------------------------------------------------------------------ void MapMarkerMenu::Load(rapidxml::xml_node<char> *node) { if (NodeVali...
32.830357
131
0.550993
arvindrajayadav
da2c0286ecef15ca47f0bda12b81487783396216
4,318
cpp
C++
src/baxter_collaboration/baxter_collaboration_lib/src/robot_perception/cartesian_estimator_client.cpp
UCRoboticsLab/BaxterTictactoe
34e4761467af3dc7c9ad65726360e0d1f1923c51
[ "Apache-2.0" ]
1
2017-12-22T20:32:04.000Z
2017-12-22T20:32:04.000Z
src/baxter_collaboration/baxter_collaboration_lib/src/robot_perception/cartesian_estimator_client.cpp
u3099811/BaxterTictacToe
967ab0ea8496ca4ce54db41b20c05de68cfe1bb9
[ "Apache-2.0" ]
2
2017-08-16T00:18:52.000Z
2017-08-16T04:30:05.000Z
src/baxter_collaboration/baxter_collaboration_lib/src/robot_perception/cartesian_estimator_client.cpp
u3099811/BaxterTictacToe
967ab0ea8496ca4ce54db41b20c05de68cfe1bb9
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include "robot_perception/cartesian_estimator_client.h" using namespace std; CartesianEstimatorClient::CartesianEstimatorClient(string _name, string _limb) : nh(_name), limb(_limb), cartest_ok(false), objects_found(false), object_found(fa...
24.39548
109
0.56994
UCRoboticsLab
da2dddbfcdd1adf6919ed987747f1873ab2d37a0
2,387
cpp
C++
src/utils/saves/converter/save_converter.cpp
Blackhawk-TA/GateKeeper
49a260bf7ba2304f1649b5ed487bc1e55028e672
[ "MIT" ]
1
2021-12-31T23:52:57.000Z
2021-12-31T23:52:57.000Z
src/utils/saves/converter/save_converter.cpp
Blackhawk-TA/GateKeeper
49a260bf7ba2304f1649b5ed487bc1e55028e672
[ "MIT" ]
null
null
null
src/utils/saves/converter/save_converter.cpp
Blackhawk-TA/GateKeeper
49a260bf7ba2304f1649b5ed487bc1e55028e672
[ "MIT" ]
null
null
null
// // Created by daniel on 16.04.22. // #include "save_converter.hpp" #include "../save_types.hpp" #include "legacy_option_structs.hpp" #include "legacy_game_structs.hpp" #include "../options.hpp" namespace save_converter { /** * Updates the options save file by parsing the v0 into the v1 struct. * If no save is...
25.945652
73
0.705069
Blackhawk-TA
da31380df6cbe54c272f72e87fe827b2fb15bf91
1,431
cpp
C++
CUSTOM-LIB/jmri-adapter-lib/ExternalBoardAdapter.cpp
adarshkumarsingh83/jmri-cmri
ff4d29754fbf59112561fc898f7750d24bbe924b
[ "MIT" ]
2
2021-04-08T16:54:19.000Z
2021-08-19T18:53:46.000Z
CUSTOM-LIB/jmri-adapter-lib/ExternalBoardAdapter.cpp
adarshkumarsingh83/jmri-cmri
ff4d29754fbf59112561fc898f7750d24bbe924b
[ "MIT" ]
null
null
null
CUSTOM-LIB/jmri-adapter-lib/ExternalBoardAdapter.cpp
adarshkumarsingh83/jmri-cmri
ff4d29754fbf59112561fc898f7750d24bbe924b
[ "MIT" ]
null
null
null
/* Adarsh Model Trains Developed by Adarsh kumar Support adarshkumarsingh83@gmail.com */ #include <Arduino.h> #include "ExternalBoardAdapter.h" void ExternalBoardAdapter::initAdapter() { pca9685Board.initPca9685Boards(_turnoutCount); pcf8574Board.initPcf8574Boards(_signalCount + _lightCount); } void Ext...
24.672414
83
0.733753
adarshkumarsingh83
da3718d34cfb38b3868908628005de1046d83c5e
25,865
cc
C++
plugin/src/Modifier.cc
bneradt/txn_box
655f4c2bc2d963a11233cca71b313697853c2dc1
[ "Apache-2.0" ]
null
null
null
plugin/src/Modifier.cc
bneradt/txn_box
655f4c2bc2d963a11233cca71b313697853c2dc1
[ "Apache-2.0" ]
null
null
null
plugin/src/Modifier.cc
bneradt/txn_box
655f4c2bc2d963a11233cca71b313697853c2dc1
[ "Apache-2.0" ]
null
null
null
/** @file Feature modifiers. * * Copyright 2019, Oath Inc. * SPDX-License-Identifier: Apache-2.0 */ #include "txn_box/Modifier.h" #include "txn_box/Context.h" #include "txn_box/Config.h" #include "txn_box/Comparison.h" #include "txn_box/yaml_util.h" using swoc::TextView; using swoc::Errata; using swoc::Rv; using ...
27.341438
128
0.668471
bneradt
da388e1615ded3dedb83447e19c3edc16cb26a5a
1,574
hpp
C++
include/PathPlan/PathPlan.hpp
shanghaolong04/ROS-ME3243L2
47046804a432638f28689e1d32fd83b15693eeb4
[ "MIT" ]
null
null
null
include/PathPlan/PathPlan.hpp
shanghaolong04/ROS-ME3243L2
47046804a432638f28689e1d32fd83b15693eeb4
[ "MIT" ]
null
null
null
include/PathPlan/PathPlan.hpp
shanghaolong04/ROS-ME3243L2
47046804a432638f28689e1d32fd83b15693eeb4
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <std_msgs/Float32MultiArray.h> //input from range_finder #include <nav_msgs/Odometry.h> //input from odometry #include <geometry_msgs/Point.h> #include <armadillo> #include <math.h> #include <stdio.h> using namespace std; using namespace arma; class PathPlan{ private: ros::NodeHan...
25.387097
88
0.719822
shanghaolong04
da41858ebc75088435eb30326f25e21ef62df3ed
1,823
cpp
C++
app/src/main/jni/comitton/PdfFlate.cpp
mryp/ComittoNxA
9b46c267bff22c2090d75ac70b589f9a12d61457
[ "Unlicense" ]
14
2020-08-05T09:36:01.000Z
2022-02-23T01:48:18.000Z
app/src/main/jni/comitton/PdfFlate.cpp
yuma2a/ComittoNxA-Continued
9d85c4f5753e534c3ff0cf83fe53df588872c8ff
[ "Unlicense" ]
1
2020-11-17T12:55:17.000Z
2020-11-17T12:55:17.000Z
app/src/main/jni/comitton/PdfFlate.cpp
mryp/ComittoNxA
9b46c267bff22c2090d75ac70b589f9a12d61457
[ "Unlicense" ]
4
2021-04-21T02:56:50.000Z
2021-11-08T12:02:32.000Z
#include <android/log.h> #include "../zlib/zlib.h" #include "PdfCrypt.h" int FlateDecompress(BYTE *inbuf, int insize) { int result = 0; int count, status; BYTE *outbuf = init_buffer(); if (outbuf == NULL) { return -10; } /* すべてのメモリ管理をライブラリに任せる */ z_stream z; z.zalloc = Z_NULL; z.zfree = Z_NULL; z.opaque ...
20.255556
73
0.580362
mryp
da41f9f761a05bbed96caaf415e5b47a97f80768
331
hpp
C++
booleannetwork-code-66-trunk/booleannetwork-code-66-trunk/include/BnSimulator/lab/expression_based_distance.hpp
Markfrancisrogers/BooleanNetwork
62e755d938b70e5907e8561909a0637f0682b9b4
[ "Apache-2.0" ]
2
2017-07-04T14:57:48.000Z
2017-08-04T19:03:51.000Z
booleannetwork-code-66-trunk/booleannetwork-code-66-trunk/include/BnSimulator/lab/expression_based_distance.hpp
Markfrancisrogers/BooleanNetwork
62e755d938b70e5907e8561909a0637f0682b9b4
[ "Apache-2.0" ]
null
null
null
booleannetwork-code-66-trunk/booleannetwork-code-66-trunk/include/BnSimulator/lab/expression_based_distance.hpp
Markfrancisrogers/BooleanNetwork
62e755d938b70e5907e8561909a0637f0682b9b4
[ "Apache-2.0" ]
null
null
null
/* * expression_based_distance.hpp * * Created on: Aug 28, 2009 * Author: stewie */ #ifndef EXPRESSION_BASED_DISTANCE_HPP_ #define EXPRESSION_BASED_DISTANCE_HPP_ namespace bn { class Attractor; double expression_based_distance(const Attractor& a, const Attractor& b); } #endif /* EXPRESSION_BASED_DISTAN...
16.55
73
0.758308
Markfrancisrogers
da43dc3ef3f70832c233032dde35d8e4c056b28f
2,223
cpp
C++
src/pddl_solver_action.cpp
ysl208/iRoPro
72a8b023755b6396239c24fabef79458bcdc3215
[ "MIT" ]
5
2020-11-11T10:51:53.000Z
2022-01-13T01:32:11.000Z
src/pddl_solver_action.cpp
ysl208/rapid_pbd
72a8b023755b6396239c24fabef79458bcdc3215
[ "MIT" ]
24
2018-05-02T17:33:04.000Z
2018-12-19T13:06:52.000Z
src/pddl_solver_action.cpp
ysl208/rapid_pbd
72a8b023755b6396239c24fabef79458bcdc3215
[ "MIT" ]
2
2018-05-03T07:02:09.000Z
2018-05-03T11:36:53.000Z
#include "rapid_pbd/pddl_solver_action.h" #include "rapid_pbd/action_names.h" #include <sstream> #include <string> #include "actionlib/client/simple_action_client.h" #include "actionlib/server/simple_action_server.h" #include "pddl_msgs/PDDLPlannerAction.h" #include "ros/ros.h" using actionlib::SimpleClientGoalState...
31.309859
80
0.699955
ysl208
da4449ca7798451e0d7eaaedc2aea0d4026c2171
1,563
cpp
C++
multi_master_bridge/src/helpers/Int32Helper.cpp
CARMinesDouai/MutiRobotExplorationPackages
725f36eaa22adb33be7f5961db1a0f8e50fdadbd
[ "MIT" ]
7
2016-12-10T15:44:00.000Z
2020-08-27T17:40:11.000Z
multi_master_bridge/src/helpers/Int32Helper.cpp
CARMinesDouai/MutiRobotExplorationPackages
725f36eaa22adb33be7f5961db1a0f8e50fdadbd
[ "MIT" ]
2
2020-04-14T15:19:53.000Z
2021-01-26T21:26:47.000Z
multi_master_bridge/src/helpers/Int32Helper.cpp
CARMinesDouai/MutiRobotExplorationPackages
725f36eaa22adb33be7f5961db1a0f8e50fdadbd
[ "MIT" ]
2
2017-01-29T03:01:06.000Z
2021-12-15T14:59:10.000Z
/** Copyright (c) 2017 Xuan Sang LE <xsang.le@gmail.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 limitation the rights to use, copy, modify, merge, p...
35.522727
78
0.74856
CARMinesDouai
da496ddfe11844326936184872e597a7e8acc6e9
106
cpp
C++
benignware/1008.cpp
CodmingOut/SecretProjectAI
addc43117eab30a25453c18fa042739c33cc6cfb
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/1000/1008.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/1000/1008.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include <cstdio> int main() { long double a, b; scanf("%Lf %Lf", &a, &b); printf("%.10Lf", a / b); }
11.777778
26
0.518868
CodmingOut
da4ee826568cd2eef9efcdbee805c1fdf0dc5fe4
68,563
cpp
C++
Msg40.cpp
Acidburn0zzz/open-source-search-engine
73f00cbf0e946d22c827d463afba53052120cbfd
[ "Apache-2.0" ]
4
2017-08-31T05:35:05.000Z
2020-11-01T18:31:39.000Z
Msg40.cpp
acidburn0zzz/open-source-search-engine
73f00cbf0e946d22c827d463afba53052120cbfd
[ "Apache-2.0" ]
null
null
null
Msg40.cpp
acidburn0zzz/open-source-search-engine
73f00cbf0e946d22c827d463afba53052120cbfd
[ "Apache-2.0" ]
null
null
null
#include "gb-include.h" #include "Msg40.h" #include "Stats.h" // for timing and graphing time to get all summaries #include "Collectiondb.h" #include "sort.h" #include "matches2.h" #include "XmlDoc.h" // computeSimilarity() #include "Speller.h" #include "Wiki.h" #include "HttpServer.h" #include "PageResults.h" ...
32.742598
189
0.664265
Acidburn0zzz
da52f7c43b30304aa1d60684a79090a3fadf90ed
969
cpp
C++
Client/Code/Source/UnrealKnights/User/UserUI.cpp
HueyPark/Unreal-Knights
9a08dd15c65d8853f1322bf6de4b892cd88c571a
[ "MIT" ]
null
null
null
Client/Code/Source/UnrealKnights/User/UserUI.cpp
HueyPark/Unreal-Knights
9a08dd15c65d8853f1322bf6de4b892cd88c571a
[ "MIT" ]
null
null
null
Client/Code/Source/UnrealKnights/User/UserUI.cpp
HueyPark/Unreal-Knights
9a08dd15c65d8853f1322bf6de4b892cd88c571a
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "UnrealKnights.h" #include "UserUI.h" #include "Blueprint/WidgetTree.h" #include "Slate/SlateBrushAsset.h" #include "Components/ProgressBar.h" float MIN_POWER = 0.0f; float MAX_POWER = 1.0f; void UUserUI::NativeConstruct() { Pow...
20.617021
97
0.71001
HueyPark
da59addf353d403e89648d55b03105a2b42f6b9f
17,660
cpp
C++
native/svm_bench.cpp
PivovarA/scikit-learn_bench
52e96f28eda3ca25d0f51594041fd06ee3f8d4c2
[ "MIT" ]
null
null
null
native/svm_bench.cpp
PivovarA/scikit-learn_bench
52e96f28eda3ca25d0f51594041fd06ee3f8d4c2
[ "MIT" ]
null
null
null
native/svm_bench.cpp
PivovarA/scikit-learn_bench
52e96f28eda3ca25d0f51594041fd06ee3f8d4c2
[ "MIT" ]
2
2020-08-07T16:19:32.000Z
2020-08-07T16:22:12.000Z
/* * Copyright (C) 2018-2019 Intel Corporation * * SPDX-License-Identifier: MIT */ #include <algorithm> #include <cassert> #include <chrono> #include <cmath> #include <fstream> #include <iostream> #include <utility> #include <vector> #define DAAL_DATA_TYPE double #include "CLI11.hpp" #include "common.hpp" #includ...
33.320755
80
0.602661
PivovarA
da5e6e7047b2e62066e7b1d6664ca8b9c4503245
3,892
cpp
C++
sample/tutorial19.1/main.cpp
adi-g15/json_dto
62ce52bcf43eede144c99f74223ffb2aff4659c7
[ "BSD-3-Clause" ]
91
2018-05-02T08:31:07.000Z
2022-03-20T15:14:14.000Z
sample/tutorial19.1/main.cpp
adi-g15/json_dto
62ce52bcf43eede144c99f74223ffb2aff4659c7
[ "BSD-3-Clause" ]
16
2018-12-07T11:42:39.000Z
2022-03-29T13:55:33.000Z
sample/tutorial19.1/main.cpp
adi-g15/json_dto
62ce52bcf43eede144c99f74223ffb2aff4659c7
[ "BSD-3-Clause" ]
16
2018-08-11T12:55:44.000Z
2022-03-15T14:31:51.000Z
/* A sample using map<uint32_t, int> with several custom reader_writers. */ #include <cstdio> #include <iostream> #include <map> #include <json_dto/pub.hpp> // Basic functionality for (de)serializing of values. struct basic_reader_writer { void read( int & value, const rapidjson::Value & from ) const { // J...
23.877301
79
0.643114
adi-g15
da5efbed9701c6e6a86cf24d139afed676d95a9b
799
cpp
C++
Chapter06/Cpp_Js/mainwindow.cpp
Vaibhav-Kashyap/Hands-on-GUI-Programming-with-CPP-Qt5-pkt
4e964f0f4fc344fb7477c01cb22a04fabb5db965
[ "MIT" ]
87
2018-05-03T08:57:23.000Z
2022-03-25T03:35:56.000Z
Chapter06/Cpp_Js/mainwindow.cpp
brutspark/Hands-On-GUI-Programming-with-CPP-and-Qt5
4d488dd54734954b06842ea25a256e5e18c7b01c
[ "MIT" ]
null
null
null
Chapter06/Cpp_Js/mainwindow.cpp
brutspark/Hands-On-GUI-Programming-with-CPP-and-Qt5
4d488dd54734954b06842ea25a256e5e18c7b01c
[ "MIT" ]
51
2018-04-28T15:04:52.000Z
2022-03-07T13:20:30.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); webview = new QWebEngineView(ui->verticalFrame); webview->load(QUrl("qrc:///html/test.html")); QWebChannel* channel = new QWebChannel(this); ...
20.487179
68
0.692115
Vaibhav-Kashyap
da5fc57755d3454be71afc7d9d030a38d9527f67
2,172
cpp
C++
libs/rti/include/models/Topology.cpp
phpnerd/CoHLA
143263384623227e4cbe7abdf351514e3cd90f82
[ "MIT" ]
null
null
null
libs/rti/include/models/Topology.cpp
phpnerd/CoHLA
143263384623227e4cbe7abdf351514e3cd90f82
[ "MIT" ]
null
null
null
libs/rti/include/models/Topology.cpp
phpnerd/CoHLA
143263384623227e4cbe7abdf351514e3cd90f82
[ "MIT" ]
null
null
null
/* * Copyright (c) Thomas Nägele and contributors. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for details. */ // // Created by thomas on 16-11-17. // #include "Topology.h" Topology::Topology(string& topologyFile) { ifstream infile(topologyFile); parse(infile...
28.578947
93
0.68186
phpnerd
da63b2b8ddbccd81dfe95dc3ed91945146bb60e6
4,820
hpp
C++
h5cpp/H5Tall.hpp
ChrisDrozdowski/h5cpp
6e41361bf860610dcdaedb557d589af9371a7986
[ "BSD-3-Clause-LBNL", "MIT" ]
null
null
null
h5cpp/H5Tall.hpp
ChrisDrozdowski/h5cpp
6e41361bf860610dcdaedb557d589af9371a7986
[ "BSD-3-Clause-LBNL", "MIT" ]
null
null
null
h5cpp/H5Tall.hpp
ChrisDrozdowski/h5cpp
6e41361bf860610dcdaedb557d589af9371a7986
[ "BSD-3-Clause-LBNL", "MIT" ]
null
null
null
/* * Copyright (c) 2018 vargaconsulting, Toronto,ON Canada * Author: Varga, Steven <steven@vargaconsulting.ca> */ #ifndef H5CPP_TALL_HPP #define H5CPP_TALL_HPP namespace h5 { template<class T> hid_t register_struct(){ return H5I_UNINIT; } } /* template specialization from hid_t< .. > type which provides synt...
46.346154
118
0.586515
ChrisDrozdowski
da65e60a99e67ef44564296fea3a96b27adaee71
4,349
cc
C++
src/bringup/lib/mexec/testing/zbi-test-entry.cc
evanacox/fuchsia
5fb7a5aa2fedca4e44f264df04664b49883c6fe3
[ "BSD-2-Clause" ]
null
null
null
src/bringup/lib/mexec/testing/zbi-test-entry.cc
evanacox/fuchsia
5fb7a5aa2fedca4e44f264df04664b49883c6fe3
[ "BSD-2-Clause" ]
null
null
null
src/bringup/lib/mexec/testing/zbi-test-entry.cc
evanacox/fuchsia
5fb7a5aa2fedca4e44f264df04664b49883c6fe3
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <fcntl.h> #include <lib/fdio/io.h> #include <lib/zbitl/error-stdio.h> #include <lib/zbitl/items/bootfs.h> #include <lib/zbitl/view.h> #include <li...
33.453846
99
0.673488
evanacox
da6885df8ad245df3b075dd09ec996ebbdee8b8a
49,645
cpp
C++
src/functions.cpp
tbttfox/brSkinBrush
a6043016044198f24f49330012f413347a97e0de
[ "MIT" ]
null
null
null
src/functions.cpp
tbttfox/brSkinBrush
a6043016044198f24f49330012f413347a97e0de
[ "MIT" ]
null
null
null
src/functions.cpp
tbttfox/brSkinBrush
a6043016044198f24f49330012f413347a97e0de
[ "MIT" ]
null
null
null
#include "functions.h" #include <math.h> #include <limits> /* yourBiggestNumber * scaleFactor < cp */ double scaleFactor = 65530.0; double cp = 256.0 * 256.0; /* packs given two floats into one float */ float pack_float(float x, float y) { int x1 = (int)(x * scaleFactor); int y1 = (int)(y * sca...
41.062862
101
0.534575
tbttfox
da69db25860431cdbf826b6ce01d0eb048903918
1,287
cpp
C++
packrat/lib/x86_64-w64-mingw32/3.6.1/Rcpp/unitTests/cpp/table.cpp
Denia-Vargas-Araya/ApartamentosR
3e62de9946efb5b6545ce431972f5cc790dae673
[ "MIT" ]
113
2018-07-12T07:49:33.000Z
2021-04-16T12:41:53.000Z
packrat/lib/x86_64-w64-mingw32/3.6.1/Rcpp/unitTests/cpp/table.cpp
Denia-Vargas-Araya/ApartamentosR
3e62de9946efb5b6545ce431972f5cc790dae673
[ "MIT" ]
81
2018-03-01T18:05:41.000Z
2020-01-15T18:47:31.000Z
packrat/lib/x86_64-w64-mingw32/3.6.1/Rcpp/unitTests/cpp/table.cpp
Denia-Vargas-Araya/ApartamentosR
3e62de9946efb5b6545ce431972f5cc790dae673
[ "MIT" ]
55
2017-05-20T12:42:19.000Z
2019-03-26T16:38:16.000Z
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 8 -*- // // table.cpp: Rcpp R/C++ interface class library -- table<> unit tests // // Copyright (C) 2013 Dirk Eddelbuettel, Romain Francois, and Kevin Ushey // // This file is part of Rcpp. // // Rcpp is free software: you can redistribute it and/or mod...
33.868421
73
0.703186
Denia-Vargas-Araya
da6b766145ede47778135c7108608703c2474d4d
748
hpp
C++
include/wtf/policies/has_focus.hpp
ahunter-eyelock/wtf
c232d89cdf9817c28c4c4937300caf117bcb6876
[ "BSL-1.0" ]
5
2017-05-25T03:41:18.000Z
2021-06-05T14:04:30.000Z
include/wtf/policies/has_focus.hpp
ahunter-eyelock/wtf
c232d89cdf9817c28c4c4937300caf117bcb6876
[ "BSL-1.0" ]
null
null
null
include/wtf/policies/has_focus.hpp
ahunter-eyelock/wtf
c232d89cdf9817c28c4c4937300caf117bcb6876
[ "BSL-1.0" ]
3
2021-03-18T20:40:27.000Z
2021-04-02T11:46:25.000Z
/** @file @copyright David Mott (c) 2016. Distributed under the Boost Software License Version 1.0. See LICENSE.md or http://boost.org/LICENSE_1_0.txt for details. */ #pragma once #define DOXY_INHERIT_HAS_FOCUS namespace wtf{ namespace policy{ /** @class has_focus @brief Provides set_focus and got_focus ...
27.703704
153
0.679144
ahunter-eyelock
da6bbd48c47fdecd12e26dfed2675b33beaaa02f
1,728
cpp
C++
tightvnc/gui/drawing/DeviceContext.cpp
jjzhang166/qmlvncviewer2
b888c416ab88b81fe802ab0559bb87361833a0b5
[ "Apache-2.0" ]
47
2016-08-17T03:18:32.000Z
2022-01-14T01:33:15.000Z
tightvnc/gui/drawing/DeviceContext.cpp
jjzhang166/qmlvncviewer2
b888c416ab88b81fe802ab0559bb87361833a0b5
[ "Apache-2.0" ]
3
2018-06-29T06:13:28.000Z
2020-11-26T02:31:49.000Z
tightvnc/gui/drawing/DeviceContext.cpp
jjzhang166/qmlvncviewer2
b888c416ab88b81fe802ab0559bb87361833a0b5
[ "Apache-2.0" ]
15
2016-08-17T07:03:55.000Z
2021-08-02T14:42:02.000Z
// Copyright (C) 2009,2010,2011,2012 GlavSoft LLC. // All rights reserved. // //------------------------------------------------------------------------- // This file is part of the TightVNC software. Please visit our Web site: // // http://www.tightvnc.com/ // // This program is free software; y...
28.8
75
0.659144
jjzhang166
da6ef791e8c410c1681259e16e2b75dec4b5264c
10,325
hpp
C++
functions.hpp
lorycontixd/PNS
23f61833ae75a2425d05ca9757ef471aec930654
[ "MIT" ]
null
null
null
functions.hpp
lorycontixd/PNS
23f61833ae75a2425d05ca9757ef471aec930654
[ "MIT" ]
null
null
null
functions.hpp
lorycontixd/PNS
23f61833ae75a2425d05ca9757ef471aec930654
[ "MIT" ]
null
null
null
#ifndef __FUNCTIONS_HPP__ #define __FUNCTIONS_HPP__ #include <iostream> #include <string> #include <fstream> #include <sstream> #include <cstdlib> #include <set> #include <algorithm> #include <filesystem> #include <numeric> #include <cmath> #include <vector> #include <sys/stat.h> #include "ini_reader.hpp" #if __cplusp...
32.265625
122
0.531719
lorycontixd
da765bf582556d6392fd70776cbe7fd61cd980b0
2,545
cpp
C++
src/ui/stores/qplayer_rank.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
3
2019-04-26T17:48:24.000Z
2021-11-08T20:21:51.000Z
src/ui/stores/qplayer_rank.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
90
2019-04-25T17:23:10.000Z
2022-02-12T19:49:55.000Z
src/ui/stores/qplayer_rank.cpp
judoassistant/judoassistant
3b200d3e35d9aff16ba224e6071ee9d888a5a03c
[ "MIT" ]
null
null
null
#include "ui/stores/qplayer_rank.hpp" std::vector<QString> QPlayerRank::strings() const { switch (mValue) { case KYU_6: return {tr("6th kyu"), tr("6. kyu"), tr("white"), tr("6 kyu")}; case KYU_5: return {tr("5th kyu"), tr("5. kyu"), tr("yellow"), tr("5 kyu")}; case KYU_4: return {tr("5th ky...
41.721311
84
0.532417
svendcsvendsen
da784bcc1dd515f021e18bb856749093194c4d30
2,675
cpp
C++
dbms/src/AggregateFunctions/AggregateFunctionBitwise.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
85
2022-03-25T09:03:16.000Z
2022-03-25T09:45:03.000Z
dbms/src/AggregateFunctions/AggregateFunctionBitwise.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
7
2022-03-25T08:59:10.000Z
2022-03-25T09:40:13.000Z
dbms/src/AggregateFunctions/AggregateFunctionBitwise.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
11
2022-03-25T09:15:36.000Z
2022-03-25T09:45:07.000Z
// Copyright 2022 PingCAP, Ltd. // // 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...
43.145161
149
0.771589
solotzg
da789cc248715626d5e4ed39fbe5d801cb69759f
2,386
hxx
C++
main/sw/inc/IDocumentLayoutAccess.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/inc/IDocumentLayoutAccess.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/inc/IDocumentLayoutAccess.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
30.202532
89
0.663453
Grosskopf
da7a96d1e41616858a42a6325bcf59325b52bc38
129
hpp
C++
dependencies/glm/gtx/string_cast.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/glm/gtx/string_cast.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/glm/gtx/string_cast.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:aa5b82c1ae1426ef3e1db052e6372de0205b816a82ca1571604f565df8c4a55c size 1286
32.25
75
0.883721
realtehcman