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
c7f72e6d15db91277c9f4fb1210e6213dd14a20e
791
cpp
C++
Codeforces/1618A-polycarp-and-sums-of-subsequences.cpp
SusmoySenGupta/online-judge-solutions
8735a1bc71a05dc46255664c3ec6f47f042bfa6c
[ "MIT" ]
null
null
null
Codeforces/1618A-polycarp-and-sums-of-subsequences.cpp
SusmoySenGupta/online-judge-solutions
8735a1bc71a05dc46255664c3ec6f47f042bfa6c
[ "MIT" ]
null
null
null
Codeforces/1618A-polycarp-and-sums-of-subsequences.cpp
SusmoySenGupta/online-judge-solutions
8735a1bc71a05dc46255664c3ec6f47f042bfa6c
[ "MIT" ]
null
null
null
/* author: Susmoy Sen Gupta email: susmoy.cse@gmail.com github: github.com/SusmoySenGupta Judge: Codeforces problem no: 1618A problem name: Polycarp and Sums of Subsequences problem link: https://codeforces.com/problemset/problem/1618/A Status: ____ Solved at: __ */ #include <iost...
16.142857
100
0.60177
SusmoySenGupta
c7fbd92e7d4db60613a9ef434077b074ab2335ca
37,463
hpp
C++
include/tao/algorithm/adjacent_swap.hpp
tao-cpp/algorithm
156655aed1c522a3386cb82fb4aa2b3a302ee7e8
[ "MIT" ]
2
2017-01-13T09:20:58.000Z
2019-06-28T15:27:13.000Z
include/tao/algorithm/adjacent_swap.hpp
tao-cpp/algorithm
156655aed1c522a3386cb82fb4aa2b3a302ee7e8
[ "MIT" ]
null
null
null
include/tao/algorithm/adjacent_swap.hpp
tao-cpp/algorithm
156655aed1c522a3386cb82fb4aa2b3a302ee7e8
[ "MIT" ]
2
2017-05-31T12:05:26.000Z
2019-10-13T22:36:32.000Z
//! \file tao/algorithm/adjacent_swap.hpp // Tao.Algorithm // // Copyright (c) 2016-2021 Fernando Pelliccioni. // // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef TAO_ALGORITHM_ADJACENT_SWAP_HPP_ #define TAO_ALGORITHM_ADJ...
36.90936
117
0.564077
tao-cpp
c7fde809d3cae6496f625738bb68bf5e73b9de03
4,318
hpp
C++
src/game_api/savedata.hpp
estebanfer/overlunky
ffc41e7cc9bb6345942ed346f1a65a966fd0f39d
[ "MIT" ]
null
null
null
src/game_api/savedata.hpp
estebanfer/overlunky
ffc41e7cc9bb6345942ed346f1a65a966fd0f39d
[ "MIT" ]
null
null
null
src/game_api/savedata.hpp
estebanfer/overlunky
ffc41e7cc9bb6345942ed346f1a65a966fd0f39d
[ "MIT" ]
1
2020-11-15T05:43:12.000Z
2020-11-15T05:43:12.000Z
#pragma once #include <array> #include <cstdint> #include "state_structs.hpp" #pragma pack(push, 1) struct SaveGameArenaRuleset { uint8_t unknown1; uint8_t unknown12; uint8_t timer; uint8_t timer_ending; uint8_t wins; uint8_t lives; uint8_t unknown7; uint8_t unknown8; std::array<...
30.195804
189
0.695924
estebanfer
c7ff8d1ca5558b155a60f714ab2ab389ad30bd33
614
hpp
C++
include/boost/sml/policies.hpp
GuiCodron/sml
2dab1265f87f70a2941af9de8f3f157df9a6a53f
[ "BSL-1.0" ]
320
2020-07-03T18:58:34.000Z
2022-03-31T05:31:44.000Z
include/boost/sml/policies.hpp
GuiCodron/sml
2dab1265f87f70a2941af9de8f3f157df9a6a53f
[ "BSL-1.0" ]
106
2020-06-30T15:03:00.000Z
2022-03-31T10:42:38.000Z
include/boost/sml/policies.hpp
GuiCodron/sml
2dab1265f87f70a2941af9de8f3f157df9a6a53f
[ "BSL-1.0" ]
55
2020-07-10T12:32:49.000Z
2022-03-14T07:12:28.000Z
#include "boost/sml/back/policies.hpp" #include "boost/sml/front/actions/defer.hpp" template <class T> struct thread_safe : aux::pair<back::thread_safety_policy__, thread_safe<T>> { using type = T; }; template <template <class...> class T> struct defer_queue : aux::pair<back::defer_queue_policy__, defer_queue<T>> {...
25.583333
78
0.701954
GuiCodron
2a04f476927a2787f725f277f6e2177e7981b46d
772
hpp
C++
include/networking/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/networking/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/networking/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#ifndef NETWORK_EVENT_H_ #define NETWORK_EVENT_H_ #include <vector> #include "Types.hpp" #include "ClientHandle.hpp" #include "ServerHandle.hpp" #include "RemoteConnectionHandle.hpp" namespace ice_engine { namespace networking { enum EventType { UNKNOWN = 0, SERVERDISCONNECT, CLIENTDISCONNECT, SERVERCONNEC...
13.310345
47
0.774611
icebreakersentertainment
2a05993080fc16187d08ec6cef2e7ff66e2d0ac3
4,031
cpp
C++
test/test_client.cpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
60
2015-06-23T12:36:33.000Z
2022-03-09T01:27:14.000Z
test/test_client.cpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
1
2021-12-21T11:23:04.000Z
2021-12-21T11:23:04.000Z
test/test_client.cpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
30
2015-08-03T07:22:04.000Z
2022-01-13T08:49:48.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * _______ _ * * ( ____ \ ( \ |\ /| * * | ( \/ | ( ( \ / ) * * | (__ ...
41.556701
132
0.354999
lichuan
2a0e0b31f8896732621146f8c97e7bdbbad7ea87
5,637
hpp
C++
nvidia_flex/common/helpers.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
4
2018-09-15T20:30:38.000Z
2022-02-13T19:41:00.000Z
nvidia_flex/common/helpers.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
4
2017-09-05T15:18:40.000Z
2018-08-27T01:15:46.000Z
nvidia_flex/common/helpers.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
null
null
null
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
35.904459
120
0.659038
bluekyu
2a0f6d0725d97dc1332a8ce9872eb32a43402f73
33,384
cpp
C++
lipton-tarjan.cpp
jeffythedragonslayer/lipton-tarjan
d6f43395ca9d5a459c61cd55ccac6ed6295bc1dd
[ "BSL-1.0" ]
8
2017-05-20T11:20:39.000Z
2020-11-10T15:50:33.000Z
lipton-tarjan.cpp
jeffythedragonslayer/lipton-tarjan
d6f43395ca9d5a459c61cd55ccac6ed6295bc1dd
[ "BSL-1.0" ]
14
2017-12-02T06:35:48.000Z
2020-04-12T19:58:56.000Z
lipton-tarjan.cpp
jeffythedragonslayer/lipton-tarjan
d6f43395ca9d5a459c61cd55ccac6ed6295bc1dd
[ "BSL-1.0" ]
3
2017-04-19T16:37:32.000Z
2022-03-19T04:29:33.000Z
//======================================================================= // Copyright 2015 - 2020 Jeff Linahan // // 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) //===============================================...
49.311669
224
0.603672
jeffythedragonslayer
2a11bad50ddeed1c4d00966be02e838f549793ce
9,417
cpp
C++
Meteorites.Tests/GoldSolverTests.cpp
m-krivov/MeteoriteSimulator
a60cdef30ffff0bfab11ee8db799b41b3cdee452
[ "MIT" ]
null
null
null
Meteorites.Tests/GoldSolverTests.cpp
m-krivov/MeteoriteSimulator
a60cdef30ffff0bfab11ee8db799b41b3cdee452
[ "MIT" ]
null
null
null
Meteorites.Tests/GoldSolverTests.cpp
m-krivov/MeteoriteSimulator
a60cdef30ffff0bfab11ee8db799b41b3cdee452
[ "MIT" ]
null
null
null
#include "TestDefs.h" #include "Meteorites.CpuSolvers/GoldSolver.h" TEST_CLASS(GoldSolverTests) { public: TEST_METHOD(Vacuum_VerticalSpeed) { GoldSolver solver(GoldSolver::ONE_STEP_ADAMS); solver.Configure(dt_sim, 3600.0f); Case problem(1.0f, 0.0f, 2000.0f, 0.0f, 0.0f, 1....
35.007435
92
0.520442
m-krivov
2a135182bcd849349aba93fed5d88b57833f0d87
21,399
cpp
C++
src/core/graph/internal/GraphInternal.cpp
alexbatashev/athena
eafbb1e16ed0b273a63a20128ebd4882829aa2db
[ "MIT" ]
2
2020-07-16T06:42:27.000Z
2020-07-16T06:42:28.000Z
src/core/graph/internal/GraphInternal.cpp
PolarAI/polarai-framework
c5fd886732afe787a06ebf6fb05fc38069257457
[ "MIT" ]
null
null
null
src/core/graph/internal/GraphInternal.cpp
PolarAI/polarai-framework
c5fd886732afe787a06ebf6fb05fc38069257457
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // Copyright (c) 2020 PolarAI. All rights reserved. // // Licensed under MIT license. // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT //...
44.030864
196
0.672415
alexbatashev
2a1d93449690fe46cc10bdc1c70c04897ee65cd5
351
hpp
C++
include/Client/Vector.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
include/Client/Vector.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
include/Client/Vector.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2019 ** OOP_arcade_2019 ** File description: ** Vector.hpp */ #ifndef _VECTOR_HPP_ # define _VECTOR_HPP_ struct posVector { posVector() = default; posVector(const posVector& other) = default; posVector& operator=(const posVector& other) = default; ~posVector() = default; fl...
15.954545
59
0.669516
semper24
2a204353dfa4eebda8b2d6a97be2c9cffc287f6f
1,331
cpp
C++
linux/Chess/Player.cpp
bricsi0000000000000/Chess
f1d93153bc7d2f25a117cdc81c69ac23b6407f87
[ "MIT" ]
null
null
null
linux/Chess/Player.cpp
bricsi0000000000000/Chess
f1d93153bc7d2f25a117cdc81c69ac23b6407f87
[ "MIT" ]
null
null
null
linux/Chess/Player.cpp
bricsi0000000000000/Chess
f1d93153bc7d2f25a117cdc81c69ac23b6407f87
[ "MIT" ]
null
null
null
#include "Player.h" Player::Player(std::string name, Color color, bool is_bot) : name(name), points(0), color(color), is_bot(is_bot) {} std::string Player::GetName() { return name; } int Player::GetPoints() { return points; } void Player::AddPoints(int point) { points += point; } Color Player::GetColor() { ...
19.573529
131
0.676935
bricsi0000000000000
2a20c70f99f9eb70be02ee9758619655be7e7d70
14,820
cpp
C++
sources/Engine/Modules/Graphics/OpenGL/GLGraphicsContext.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
22
2017-07-26T17:42:56.000Z
2022-03-21T22:12:52.000Z
sources/Engine/Modules/Graphics/OpenGL/GLGraphicsContext.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
50
2017-08-02T19:37:48.000Z
2020-07-24T21:10:38.000Z
sources/Engine/Modules/Graphics/OpenGL/GLGraphicsContext.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
4
2018-08-20T08:12:48.000Z
2020-07-19T14:10:05.000Z
#include "precompiled.h" #pragma hdrstop #include "GLGraphicsContext.h" #include <spdlog/spdlog.h> #include "Modules/Graphics/GraphicsSystem/FrameStats.h" #include "Exceptions/exceptions.h" #include "options.h" GLGraphicsContext::GLGraphicsContext(SDL_Window* window) : m_window(window) { spdlog::info("Creating...
28.33652
120
0.741768
n-paukov
2a264dbac30dca8a07343598e64714d01853f644
2,516
cpp
C++
Sources/Core/cpp/NdxDataStorage/IndexStorage_test.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
2
2021-07-07T19:39:11.000Z
2021-12-02T15:54:15.000Z
Sources/Core/cpp/NdxDataStorage/IndexStorage_test.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
null
null
null
Sources/Core/cpp/NdxDataStorage/IndexStorage_test.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
1
2021-12-01T17:48:20.000Z
2021-12-01T17:48:20.000Z
#include "StdAfx.h" #ifdef _SS_UNITTESTS #include ".\indexstorage_test.h" #include ".\test_const.h" #include ".\console.h" #include ".\index_storage.h" #include ".\data_storages_factory.h" CPPUNIT_TEST_SUITE_REGISTRATION(SS::UnitTests::NdxSE::NdxDataStorage::CIndexStorage_test); typedef HRESULT (*CREATE_INSTANCE)(c...
23.514019
99
0.736089
elzin
2a26cb3bbb819a3fe4e2ef314cb4739c7b0cc715
9,142
cpp
C++
Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
// Copyright (c) 2018 - 2019 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. #include "Api/AccelByteItemApi.h" #include "Core/AccelByteError.h" #include "JsonUtilities.h" #include "Core/AccelByteRegistry.h" ...
32.077193
231
0.692299
leowind
2a2aee399852bfcadf84621b8ed8c3ba630b1f54
153
hh
C++
CppPool/cpp_d07m/ex04/Destination.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
40
2018-01-28T14:23:27.000Z
2022-03-05T15:57:47.000Z
CppPool/cpp_d07m/ex04/Destination.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
1
2021-10-05T09:03:51.000Z
2021-10-05T09:03:51.000Z
CppPool/cpp_d07m/ex04/Destination.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
73
2019-01-07T18:47:00.000Z
2022-03-31T08:48:38.000Z
#ifndef _DESTINATION_ #define _DESTINATION_ enum Destination { EARTH, VULCAN, ROMULUS, REMUS, UNICOMPLEX, JUPITER, BABEL }; #endif
10.2
22
0.673203
667MARTIN
2a31ff4194392d7dcf31835486fdf10f91d81e13
15,956
cpp
C++
tests/MetadataEngine/tst_metadataenginetest.cpp
DatabasesWorks/passiflora-symphytum-configurable-fields
6128d0391fe33438250efad4398d65c5982b005b
[ "BSD-2-Clause" ]
374
2015-01-03T17:25:16.000Z
2022-03-04T07:58:07.000Z
tests/MetadataEngine/tst_metadataenginetest.cpp
DatabasesWorks/symphytum-configurable-fields
187b72e9ff758bd207a415cb3fc9e2d97889996c
[ "BSD-2-Clause" ]
133
2015-01-03T17:28:29.000Z
2020-09-22T11:44:14.000Z
tests/MetadataEngine/tst_metadataenginetest.cpp
DatabasesWorks/symphytum-configurable-fields
187b72e9ff758bd207a415cb3fc9e2d97889996c
[ "BSD-2-Clause" ]
78
2015-01-19T13:26:07.000Z
2022-03-21T00:02:55.000Z
#include <QString> #include <QtTest> #include <QSqlQuery> #include "../../components/metadataengine.h" #include "../../components/databasemanager.h" class MetadataEngineTest : public QObject { Q_OBJECT public: MetadataEngineTest(); ~MetadataEngineTest(); private Q_SLOTS: void testCollectionI...
34.686957
85
0.635435
DatabasesWorks
2a340eedb70e93dbac2193f8b0125757e80a0feb
4,051
cpp
C++
sdk/core/azure-core/test/ut/http.cpp
JasonYang-MSFT/azure-sdk-for-cpp
c0faea5f90c0d78f088f8c049353a2ee66ba3930
[ "MIT" ]
null
null
null
sdk/core/azure-core/test/ut/http.cpp
JasonYang-MSFT/azure-sdk-for-cpp
c0faea5f90c0d78f088f8c049353a2ee66ba3930
[ "MIT" ]
1
2021-02-23T00:43:57.000Z
2021-02-23T00:49:17.000Z
sdk/core/azure-core/test/ut/http.cpp
JasonYang-MSFT/azure-sdk-for-cpp
c0faea5f90c0d78f088f8c049353a2ee66ba3930
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include "gtest/gtest.h" #include <http/http.hpp> #include <string> #include <vector> using namespace Azure::Core; TEST(Http_Request, getters) { Http::HttpMethod httpMethod = Http::HttpMethod::Get; std::string url = "htt...
34.042017
99
0.662552
JasonYang-MSFT
2a35ba2c64c78650b483bb976d85e5603b77018b
258
cpp
C++
Cpp_primer_5th/code_part9/prog9_34.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part9/prog9_34.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part9/prog9_34.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main(){ vector<int> vi{1,2,3,4,5}; auto iter = vi.begin(); while(iter != vi.end() ){ //endless loo iter = vi.insert(iter, *iter); cout << *iter << endl; } ++iter; return 0; }
14.333333
40
0.581395
Links789
2a3664d0d70d55544f209d77704c0f9a57ddff24
1,116
cpp
C++
mp/src/old/cl_dll/vgui_consolepanel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/old/cl_dll/vgui_consolepanel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/old/cl_dll/vgui_consolepanel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
//======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of // Valve, L.L.C., or in accordance with the terms and conditions stipulated in // the ...
20.666667
79
0.543011
MaartenS11
2a3b854022134ea7d90ee72dcb8b39a2cad1e4a5
11,860
cpp
C++
src/native_extensions/process_manager_win.cpp
devcxx/zephyros
3ba2c63c5d11bfab66b896e8e09287e222f645a2
[ "Unlicense", "MIT" ]
null
null
null
src/native_extensions/process_manager_win.cpp
devcxx/zephyros
3ba2c63c5d11bfab66b896e8e09287e222f645a2
[ "Unlicense", "MIT" ]
null
null
null
src/native_extensions/process_manager_win.cpp
devcxx/zephyros
3ba2c63c5d11bfab66b896e8e09287e222f645a2
[ "Unlicense", "MIT" ]
null
null
null
/******************************************************************************* * Copyright (c) 2015-2017 Vanamco AG, http://www.vanamco.com * * The MIT License (MIT) * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
30.101523
128
0.626391
devcxx
2a3cc5850d3a481d73bb75f09bc6c57020260f4a
614
hpp
C++
AdenitaCoreSE/include/SEDSDNACreatorEditorDescriptor.hpp
edellano/Adenita-SAMSON-Edition-Win-
6df8d21572ef40fe3fc49165dfaa1d4318352a69
[ "BSD-3-Clause" ]
2
2020-09-07T20:48:43.000Z
2021-09-03T05:49:59.000Z
AdenitaCoreSE/include/SEDSDNACreatorEditorDescriptor.hpp
edellano/Adenita-SAMSON-Edition-Linux
a7e267e5dd37e0073f4d1e3e603c5fb1c69a350a
[ "BSD-3-Clause" ]
6
2020-04-05T18:39:28.000Z
2022-01-11T14:28:55.000Z
AdenitaCoreSE/include/SEDSDNACreatorEditorDescriptor.hpp
edellano/Adenita-SAMSON-Edition-Linux
a7e267e5dd37e0073f4d1e3e603c5fb1c69a350a
[ "BSD-3-Clause" ]
2
2021-07-13T12:58:13.000Z
2022-01-11T13:52:00.000Z
/// \headerfile SBProxy.hpp "SBProxy.hpp" #include "SBProxy.hpp" /// \headerfile SEDSDNACreatorEditor.hpp "SEDSDNACreatorEditor.hpp" #include "SEDSDNACreatorEditor.hpp" // Class descriptor // SAMSON Element generator pro tip: complete this descriptor to expose this class to SAMSON and other SAMSON Elements SB_CLAS...
21.172414
118
0.788274
edellano
2a3f479e43bd5d826b012ae081234b5767e0c106
881
cpp
C++
src/c_handshake.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
null
null
null
src/c_handshake.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
null
null
null
src/c_handshake.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
5
2017-07-09T12:03:19.000Z
2022-02-09T09:37:36.000Z
#include "dd3d.h" #include "connection.h" #include "crypt.h" #include "m_user.h" #include "log.h" #include "c_handshake.h" bool c_handshake_handler(void* message, uint32_t message_size) { bool rv = false; if (message_size == 4 + RSA_SIZE) { uint8_t key[RSA_SIZE]; int key_size = crypt_rsa_private_decrypt(utils_p...
28.419355
100
0.687855
DreamHacks
2a45f8f0806cb2aa41ad4988c5b187d4881018d1
1,300
hpp
C++
libs/core/include/fcppt/math/matrix/has_dim.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/has_dim.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/has_dim.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_MATRIX_HAS_DIM_HPP_INCLUDED #define FCPPT_MATH_MATRIX_HAS_DIM_HPP_INCLUDED #in...
16.25
76
0.719231
pmiddend
2a4634de99fe9c2e51c1b7786e27d524d5bf7fe6
6,482
cpp
C++
test/stream.cpp
jspaaks/cuda-wrapper
66262b819d55814d35cdb88a7eb9ab3b67fadaf0
[ "BSD-3-Clause" ]
null
null
null
test/stream.cpp
jspaaks/cuda-wrapper
66262b819d55814d35cdb88a7eb9ab3b67fadaf0
[ "BSD-3-Clause" ]
null
null
null
test/stream.cpp
jspaaks/cuda-wrapper
66262b819d55814d35cdb88a7eb9ab3b67fadaf0
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2020 Jaslo Ziska * * This file is part of cuda-wrapper. * * This software may be modified and distributed under the terms of the * 3-clause BSD license. See accompanying file LICENSE for details. */ #define BOOST_TEST_MODULE stream #include <boost/test/unit_test.hpp> #include <algorithm> #i...
30.28972
93
0.655199
jspaaks
2a46e9dac0560f9dbb529cb6ed9db8b91bb34790
44,789
cpp
C++
src/AM/CatalogInstance.cpp
fsaintjacques/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
14
2016-07-11T04:08:09.000Z
2022-03-11T05:56:59.000Z
src/AM/CatalogInstance.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
null
null
null
src/AM/CatalogInstance.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
13
2016-06-01T10:41:15.000Z
2022-01-06T09:01:15.000Z
/* Copyright (c) 2005, Regents of Massachusetts Institute of Technology, * Brandeis University, Brown University, and University of Massachusetts * Boston. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
33.549813
330
0.666458
fsaintjacques
2a513e5ab77fc89931a095b7e07b743e045f68ce
2,807
hpp
C++
src/sprite.hpp
gulrak/lostcolonies
ba47bbb3b642fbde9c87670666d02f288cfe7984
[ "MIT" ]
1
2022-02-03T20:42:24.000Z
2022-02-03T20:42:24.000Z
src/sprite.hpp
gulrak/lostcolonies
ba47bbb3b642fbde9c87670666d02f288cfe7984
[ "MIT" ]
null
null
null
src/sprite.hpp
gulrak/lostcolonies
ba47bbb3b642fbde9c87670666d02f288cfe7984
[ "MIT" ]
null
null
null
#pragma once #include <raylib.h> #include <algorithm> #include <vector> #include "raymath.hpp" struct Sprite { enum Type { Unused, Alien, Player, ColonyShip, AlienShot, AlienBomb, PlayerShot, DotParticle }; Type _type{Unused}; Vector2 _pos{}; Vector2 _velocity{}; Rectangle _sprite{}; Rectangle...
32.639535
156
0.576772
gulrak
2a55eca06e121661d59d4d4095424ee625cddfb3
6,514
cpp
C++
source/console/Console.cpp
mkapusnik/duel6r
1e5ed50035b1c2878622c9129ee8255a5abf9227
[ "BSD-3-Clause" ]
12
2015-06-21T14:57:53.000Z
2021-11-30T23:32:27.000Z
source/console/Console.cpp
mkapusnik/duel6r
1e5ed50035b1c2878622c9129ee8255a5abf9227
[ "BSD-3-Clause" ]
37
2015-01-04T18:21:13.000Z
2020-11-02T15:50:38.000Z
source/console/Console.cpp
mkapusnik/duel6r
1e5ed50035b1c2878622c9129ee8255a5abf9227
[ "BSD-3-Clause" ]
10
2015-03-12T23:31:31.000Z
2020-02-25T23:19:44.000Z
/* * Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net) * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, ...
32.08867
119
0.558336
mkapusnik
3987183d1e817ce5ac116084fdd44af061869c3d
4,342
cpp
C++
DTLiving/core/effect/video_two_pass_effect.cpp
danjiang/DTLiving
c0008b7b7f94a392a514b112c0b97564d7d8f12a
[ "MIT" ]
21
2020-04-04T13:41:45.000Z
2022-02-19T23:38:36.000Z
DTLiving/core/effect/video_two_pass_effect.cpp
danjiang/DTLiving
c0008b7b7f94a392a514b112c0b97564d7d8f12a
[ "MIT" ]
9
2020-02-02T10:42:05.000Z
2022-02-28T18:50:48.000Z
DTLiving/core/effect/video_two_pass_effect.cpp
danjiang/DTLiving
c0008b7b7f94a392a514b112c0b97564d7d8f12a
[ "MIT" ]
3
2020-10-19T08:28:38.000Z
2021-11-29T09:24:42.000Z
// // video_two_pass_effect.cpp // DTLiving // // Created by Dan Jiang on 2020/4/15. // Copyright © 2020 Dan Thought Studio. All rights reserved. // #include "video_two_pass_effect.h" #include "video_texture_cache.h" namespace dtliving { namespace effect { VideoTwoPassEffect::VideoTwoPassEffect(std::string name...
34.460317
156
0.647167
danjiang
3987220c58035f6fabb2b13fb7b7bb47751ddbf7
3,962
cpp
C++
src/ffmpeg_io/avio_reading.cpp
zzu-andrew/ffmpeg_doc
dd9c3333b2aa00cf57e55fe2bd0d29503f16ab55
[ "Apache-2.0" ]
null
null
null
src/ffmpeg_io/avio_reading.cpp
zzu-andrew/ffmpeg_doc
dd9c3333b2aa00cf57e55fe2bd0d29503f16ab55
[ "Apache-2.0" ]
null
null
null
src/ffmpeg_io/avio_reading.cpp
zzu-andrew/ffmpeg_doc
dd9c3333b2aa00cf57e55fe2bd0d29503f16ab55
[ "Apache-2.0" ]
null
null
null
// // Created by andrew on 2020/12/13. // #include <iostream> extern "C" { #include <libavformat/avformat.h> #include <libavutil/log.h> #include <libavcodec/avcodec.h> #include <libavformat/avio.h> #include <libavutil/file.h> #include <cstdio> } using namespace std; // 为mmap buffer定义一个结构体指针用户管理数据 struct buffer_data...
31.444444
199
0.636295
zzu-andrew
39873ae8de1ba67e9cd7c929aa0bbd5fd8502ba5
13,585
hpp
C++
include/poplar/compact_bonsai_trie.hpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
47
2018-02-24T09:56:24.000Z
2022-02-13T12:10:00.000Z
include/poplar/compact_bonsai_trie.hpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
4
2018-03-08T03:28:05.000Z
2021-09-29T06:38:25.000Z
include/poplar/compact_bonsai_trie.hpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
5
2018-03-07T06:34:43.000Z
2022-02-12T19:54:18.000Z
/** * MIT License * * Copyright (c) 2018–2019 Shunsuke Kanda * * 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, c...
31.666667
113
0.583585
MatsuTaku
39892cdc51302fced93a48a78ea60f237a0e6159
926
cpp
C++
C++/1663.SmallestStringWithAGivenNumericValue.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
C++/1663.SmallestStringWithAGivenNumericValue.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
C++/1663.SmallestStringWithAGivenNumericValue.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
class Solution { public: string getSmallestString(int n, int k) { //initialising a string of length n and filling it with 'a' string result(n, 'a'); //numeric value of 'a' = 1, the numeric value of the resulting string will become k-n as we have //filled all with 'a', so k = k - (1...
29.870968
130
0.587473
SSKale1
399484533e6c99bd21e5f923282e780ad8129dac
4,076
hpp
C++
code/dtslam/ReprojectionError3DImpl.hpp
luoyongheng/dtslam
d3c2230d45db14c811eff6fd43e119ac39af1352
[ "BSD-3-Clause" ]
144
2015-01-15T03:38:44.000Z
2022-02-17T09:07:52.000Z
code/dtslam/ReprojectionError3DImpl.hpp
luoyongheng/dtslam
d3c2230d45db14c811eff6fd43e119ac39af1352
[ "BSD-3-Clause" ]
9
2015-09-09T06:51:46.000Z
2020-06-17T14:10:10.000Z
code/dtslam/ReprojectionError3DImpl.hpp
luoyongheng/dtslam
d3c2230d45db14c811eff6fd43e119ac39af1352
[ "BSD-3-Clause" ]
58
2015-01-14T23:43:49.000Z
2021-11-15T05:19:08.000Z
/* * ReprojectionError3DImpl.hpp * * Copyright(C) 2014, University of Oulu, all rights reserved. * Copyright(C) 2014, NVIDIA Corporation, all rights reserved. * Third party copyrights are property of their respective owners. * Contact: Daniel Herrera C. (dherrera@ee.oulu.fi), * Kihwan Kim(kihwank@nvidia...
25.31677
146
0.717125
luoyongheng
399670d626858db8cc6a3719e993b1bbe73c3d4d
10,258
cpp
C++
src/common/BitBuffer.cpp
AllMethodGrind/bmxlib
9480bdec14c082f9b121b7a6102461b05bdea547
[ "BSD-3-Clause" ]
4
2015-02-24T23:55:07.000Z
2021-04-13T20:48:45.000Z
src/common/BitBuffer.cpp
AllMethodGrind/bmxlib
9480bdec14c082f9b121b7a6102461b05bdea547
[ "BSD-3-Clause" ]
null
null
null
src/common/BitBuffer.cpp
AllMethodGrind/bmxlib
9480bdec14c082f9b121b7a6102461b05bdea547
[ "BSD-3-Clause" ]
3
2019-03-20T18:34:45.000Z
2020-10-04T20:37:52.000Z
/* * Copyright (C) 2013, British Broadcasting Corporation * All Rights Reserved. * * Author: Philip de Nier * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain t...
25.26601
111
0.649834
AllMethodGrind
399a60eb69b17fbcb51cc18fee6538f34f8feef9
28,716
cpp
C++
mtp/ffs/mtp_MtpDatabase.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
95
2018-10-31T12:12:01.000Z
2022-03-20T21:30:48.000Z
mtp/ffs/mtp_MtpDatabase.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
34
2018-10-22T11:01:15.000Z
2021-11-21T14:10:26.000Z
mtp/ffs/mtp_MtpDatabase.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
81
2018-10-23T08:37:20.000Z
2022-03-20T00:27:08.000Z
/* * 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 applic...
33.743831
98
0.746309
imranpopz
399b5fe9995c29421efdc58b92713c79652f4502
292
cc
C++
storage/sharding/sharding.cc
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
264
2015-01-03T11:50:17.000Z
2022-03-17T02:38:34.000Z
storage/sharding/sharding.cc
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
12
2015-04-27T15:17:34.000Z
2021-05-01T04:31:18.000Z
storage/sharding/sharding.cc
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
128
2015-02-07T18:13:10.000Z
2022-02-21T14:24:14.000Z
// Copyright (c) 2013, The Toft Authors. // All rights reserved. // // Author: Ye Shunping <yeshunping@gmail.com> #include "toft/storage/sharding/sharding.h" namespace toft { ShardingPolicy::ShardingPolicy() : shard_num_(1) { } ShardingPolicy::~ShardingPolicy() { } } // namespace util
17.176471
50
0.708904
hjinlin
399b7ec3c214faa112b544b4bb526a1dde110857
387
cpp
C++
recursion/6.cpp
ChiragLohani/Dsa-placement
be68273528283c41f7598169425b1e731d0eacb9
[ "Apache-2.0" ]
null
null
null
recursion/6.cpp
ChiragLohani/Dsa-placement
be68273528283c41f7598169425b1e731d0eacb9
[ "Apache-2.0" ]
null
null
null
recursion/6.cpp
ChiragLohani/Dsa-placement
be68273528283c41f7598169425b1e731d0eacb9
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; double sum_recursive(int n) { if (n <= 0) { return 0.0; } else { cout << "1/" << n << (n!=1 ? " + " : " = "); // just for debugging return (1.0 / double(n)) + sum_recursive(n-1); } } int main() { int x; cin>>x; cout...
18.428571
75
0.459948
ChiragLohani
399f3ab199b29023dc728aec59c3b2639f73c2b5
392
cpp
C++
demo/main.cpp
IonkinaM/lab2
aa06f0430b589b8720bdf883925b4538de395045
[ "MIT" ]
null
null
null
demo/main.cpp
IonkinaM/lab2
aa06f0430b589b8720bdf883925b4538de395045
[ "MIT" ]
null
null
null
demo/main.cpp
IonkinaM/lab2
aa06f0430b589b8720bdf883925b4538de395045
[ "MIT" ]
null
null
null
#include <header.hpp> int main() { const int L1 = 128; const int L2 = 12288; int *values = new int(9); int k = 16; filling_arr(values, count(L1, L2), k); values[8] = pow(2, 20)*3; print(values, count(L1, L2), std::cout); delete(values); // apple silicon 2 уровня кэша, первый = 128кб, второй = 8мб ...
23.058824
70
0.589286
IonkinaM
39a30b122ce0e19281d620512e0297bd264d747e
161
cpp
C++
LuoguCodes/AT3918.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/AT3918.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/AT3918.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
//【AT3918】Infinite Coins - 洛谷 - Wa #include <iostream> int main() { int n, m; std::cin >> n >> m; std::cout << (n % 500 <= m ? "Yes" : "No") << std::endl; }
20.125
57
0.509317
Anguei
39a32f5be200a05c51505a5fcb4cc8b85c8aa370
7,389
cpp
C++
src/irt/translator/expr.cpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
2
2019-11-17T22:54:16.000Z
2020-08-07T20:53:25.000Z
src/irt/translator/expr.cpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
null
null
null
src/irt/translator/expr.cpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
null
null
null
#include "type/comparison.hpp" #include "irt/size-analyser.hpp" #include "irt/translator/utils.hpp" #include "irt/translator/expr.hpp" #include "irt/translator/bool-expr.hpp" #include "irt/translator/lvalue.hpp" ExprTranslator::ExprTranslator(Generator& gen, Map<IRTStruct>& structs) : gen(gen), structs(structs), r...
25.926316
107
0.68223
martinogden
39aca69969eed09551e2ce784791eeac654e9393
135
cpp
C++
unix/reverse.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
unix/reverse.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
unix/reverse.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
#include "everything.h" using namespace diy; int main(int argc, char* argv[]) { // // reverse the stream of numbers coming in.. }
16.875
46
0.666667
kybr
39b2fc3009e1ef4d429390a9b45e43976ae93d52
1,002
cpp
C++
private/LoadedSQLData.cpp
Izowiuz/iz-sql-utilities
307a5c791f4e83b13e9a54dfec60fcd4c24b2ca3
[ "MIT" ]
1
2019-07-11T07:05:03.000Z
2019-07-11T07:05:03.000Z
private/LoadedSQLData.cpp
Izowiuz/iz-sql-utilities
307a5c791f4e83b13e9a54dfec60fcd4c24b2ca3
[ "MIT" ]
null
null
null
private/LoadedSQLData.cpp
Izowiuz/iz-sql-utilities
307a5c791f4e83b13e9a54dfec60fcd4c24b2ca3
[ "MIT" ]
null
null
null
#include "LoadedSQLData.h" QMap<int, QString> IzSQLUtilities::LoadedSQLData::indexColumnMap() const { return m_indexColumnMap; } void IzSQLUtilities::LoadedSQLData::setIndexColumnMap(const QMap<int, QString>& indexColumnMap) { m_indexColumnMap = indexColumnMap; } void IzSQLUtilities::LoadedSQLData::addRow(s...
23.857143
96
0.769461
Izowiuz
39b490bf22346d620848c16c8a008b0d0fb681d5
409
cpp
C++
PAT/PAT Basic/1010.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:27.000Z
2019-09-18T23:45:27.000Z
PAT/PAT Basic/1010.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
null
null
null
PAT/PAT Basic/1010.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:28.000Z
2019-09-18T23:45:28.000Z
#include <iostream> using namespace std; //PAT Advanced No.1010 “一元多项式求导” int main() { int c, i; bool flag = false; //利用输入动作触发输入循环 while (cin >> c >> i) { if (c != 0 && i != 0) { if (flag) cout << ' '; else flag = true; cout << c * i << ' ' << i - 1; } //注意题设中的指数递降,也就是如果第一次就输入指数为0即触发零多项式判断 ...
15.730769
39
0.511002
Accelerator404
39b77990f6b48c3cd3807cdf1c80cb9066de238f
317
cpp
C++
sonar_control/src/SonarControl.cpp
g4idrijs/underwater_map_construction
04c4ebbc094449994f53e280b85db604b468019b
[ "MIT" ]
null
null
null
sonar_control/src/SonarControl.cpp
g4idrijs/underwater_map_construction
04c4ebbc094449994f53e280b85db604b468019b
[ "MIT" ]
null
null
null
sonar_control/src/SonarControl.cpp
g4idrijs/underwater_map_construction
04c4ebbc094449994f53e280b85db604b468019b
[ "MIT" ]
1
2020-06-28T09:45:26.000Z
2020-06-28T09:45:26.000Z
#include "SonarControl.h" SonarControl::SonarControl(ros::NodeHandle* n){ ros::NodeHandle nh("~"); nh.param("cloudSubscribeTopic_", cloudSubscribeTopic_, string("/Sonar/Scan/SonarCloud")); nh.param("cloudPublishTopic_", cloudPublishTopic_, string("/SonarControl/Cloud")); } int main (int argc, char** argv){ }
24.384615
90
0.735016
g4idrijs
39b8ae6a3265c4a39077cb71a6ff1392672ebffd
3,780
cpp
C++
DEM/Low/src/UI/CEGUI/DEMRenderTarget.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
DEM/Low/src/UI/CEGUI/DEMRenderTarget.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
DEM/Low/src/UI/CEGUI/DEMRenderTarget.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
#if defined(_MSC_VER) # pragma warning(push) # pragma warning(disable : 4530) // C++ exception handler used, but unwind semantics not enabled #endif #include "DEMRenderTarget.h" #include <Render/GPUDriver.h> #include <UI/CEGUI/DEMGeometryBuffer.h> #include <glm/gtc/matrix_transform.hpp> namespace CEGUI { CDEMRen...
33.75
112
0.682804
niello
39bd410749a02210b06bcdb9f71d74595f086d29
4,367
cpp
C++
read_rope_shared_library/test/test.cpp
adct-the-experimenter/read-rope
0f8603cf8d6c197266bcaa447cd3ed92714a5b9d
[ "BSD-3-Clause" ]
2
2019-12-27T19:41:27.000Z
2019-12-27T19:41:38.000Z
read_rope_shared_library/test/test.cpp
adct-the-experimenter/read-rope
0f8603cf8d6c197266bcaa447cd3ed92714a5b9d
[ "BSD-3-Clause" ]
null
null
null
read_rope_shared_library/test/test.cpp
adct-the-experimenter/read-rope
0f8603cf8d6c197266bcaa447cd3ed92714a5b9d
[ "BSD-3-Clause" ]
null
null
null
#include "readrope.h" int main(int argc, char** argv) { /* ************************************************************ Initialize read rope system ************************************************************* */ //initialize read rope system ReadRope::InitReadRopeSystem(); /* ****************...
29.113333
127
0.531257
adct-the-experimenter
39c39a66067ff8660dbe12126e281a7095d38236
63
hpp
C++
src/boost_mpl_aux__preprocessed_dmc_advance_forward.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_dmc_advance_forward.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_dmc_advance_forward.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp>
31.5
62
0.825397
miathedev
39c899021bc217a26f65a5a907d6aba381dcfb57
75
cpp
C++
dev/premake/premake/samples/project/CppConsoleApp/CppConsoleApp.cpp
gdewald/Spacefrog
eae9bd5c91670f7d13442740b5d801286ba41e5e
[ "BSD-2-Clause" ]
94
2015-04-02T05:41:21.000Z
2021-11-14T18:30:12.000Z
dev/premake/premake/samples/project/CppConsoleApp/CppConsoleApp.cpp
gdewald/Spacefrog
eae9bd5c91670f7d13442740b5d801286ba41e5e
[ "BSD-2-Clause" ]
18
2015-06-16T16:57:14.000Z
2021-04-06T18:35:40.000Z
dev/premake/premake/samples/project/CppConsoleApp/CppConsoleApp.cpp
gdewald/Spacefrog
eae9bd5c91670f7d13442740b5d801286ba41e5e
[ "BSD-2-Clause" ]
33
2015-04-07T05:43:54.000Z
2021-08-21T22:13:03.000Z
#include "stdafx.h" int main() { printf("CppConsoleApp\n"); return 0; }
9.375
27
0.64
gdewald
39ceba325ee4ff5066f63d189511d29caafabce4
351
cpp
C++
Userland/Libraries/LibWeb/DOM/DOMEventListener.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
2
2022-02-16T02:12:38.000Z
2022-02-20T18:40:41.000Z
Userland/Libraries/LibWeb/DOM/DOMEventListener.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibWeb/DOM/DOMEventListener.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2022, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibWeb/DOM/AbortSignal.h> #include <LibWeb/DOM/DOMEventListener.h> #include <LibWeb/DOM/IDLEventListener.h> namespace Web::DOM { DOMEventListener::DOMEventListener() = default; DOMEventListener::~D...
23.4
59
0.746439
densogiaichned
39cf381804f87c2540f96d09de47f01591f1f485
3,195
hpp
C++
include/metrics/m_psnr.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/m_psnr.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/m_psnr.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
/* PICCANTE The hottest HDR imaging library! http://vcg.isti.cnr.it/piccante Copyright (C) 2014 Visual Computing Laboratory - ISTI CNR http://vcg.isti.cnr.it First author: Francesco Banterle 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 ...
24.767442
109
0.57903
ecarpita93
39cf9236712bfa5b82bcf8db2a7f5e9f71783921
2,155
cc
C++
AbsEnv/AbsDetEnv.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
AbsEnv/AbsDetEnv.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
AbsEnv/AbsDetEnv.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: AbsDetEnv.cc 483 2010-01-13 14:03:08Z stroili $ // // Description: // Class AbsDetEnv // // Abstract class for detector envirnoments. Individual // detectors' environment classes will inheri...
22.925532
76
0.488631
brownd1978
39d2feb01906c3ba9ce50d4527fd3a718f70cf2f
2,256
cpp
C++
src/OpenGL/entrypoints/GL3.0/gl_uniform_2ui.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
114
2018-08-05T16:26:53.000Z
2021-12-30T07:28:35.000Z
src/OpenGL/entrypoints/GL3.0/gl_uniform_2ui.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
5
2018-08-18T21:16:58.000Z
2018-11-22T21:50:48.000Z
src/OpenGL/entrypoints/GL3.0/gl_uniform_2ui.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
6
2018-08-05T22:32:28.000Z
2021-10-04T15:39:53.000Z
/* VKGL (c) 2018 Dominik Witczak * * This code is licensed under MIT license (see LICENSE.txt for details) */ #include "OpenGL/entrypoints/GL3.0/gl_uniform_2ui.h" #include "OpenGL/context.h" #include "OpenGL/globals.h" static bool validate(OpenGL::Context* in_context_ptr, const GLint& in_lo...
30.90411
76
0.449025
kbiElude
39d72a4f6b8217868560200043da064b13b4df0c
430
cpp
C++
day19/main.cpp
wuggy-ianw/AoC2017
138c66bdd407e76f6ad71c9d68df50e0afa2251a
[ "Unlicense" ]
null
null
null
day19/main.cpp
wuggy-ianw/AoC2017
138c66bdd407e76f6ad71c9d68df50e0afa2251a
[ "Unlicense" ]
null
null
null
day19/main.cpp
wuggy-ianw/AoC2017
138c66bdd407e76f6ad71c9d68df50e0afa2251a
[ "Unlicense" ]
null
null
null
#include "day19.h" #include "../utils/aocutils.h" #include <iostream> #include <fstream> int main(void) { std::ifstream ifs("input.txt"); std::vector<std::string> path = AOCUtils::parseByLines<std::string>(ifs, [](const std::string& s) -> std::string {return s;}); std::pair<std::string, int> result = Day19::so...
25.294118
128
0.646512
wuggy-ianw
39d7cbb0fba3bbfe79ad50d547f17fe04df866c2
286
cpp
C++
22.09.2021-Homework/Task8/Task8.cpp
Enigma1123/programming-c-2021-autumn-1course
b7c5400298bd9a3e346940e14c4025c954db90aa
[ "Apache-2.0" ]
null
null
null
22.09.2021-Homework/Task8/Task8.cpp
Enigma1123/programming-c-2021-autumn-1course
b7c5400298bd9a3e346940e14c4025c954db90aa
[ "Apache-2.0" ]
null
null
null
22.09.2021-Homework/Task8/Task8.cpp
Enigma1123/programming-c-2021-autumn-1course
b7c5400298bd9a3e346940e14c4025c954db90aa
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int h1 = 0; int m1 = 0; int s1 = 0; int h2 = 0; int m2 = 0; int s2 = 0; int a = 0; cin >> h1 >> m1 >> s1 >> h2 >> m2 >> s2; a = abs((h1 * 3600 + m1 * 60 + s1) - (h2 * 3600 + m2 * 60 + s2)); cout << a; }
16.823529
67
0.447552
Enigma1123
39d7ccd9b2ba51737016e43eb3e9b9671da3994c
29,668
cpp
C++
src/treecore/File.cpp
jiandingzhe/treecore
0a2a23dce68dbb55174569ec9cff64faeaac4a31
[ "MIT" ]
2
2017-10-14T23:13:37.000Z
2019-11-18T16:23:49.000Z
src/treecore/File.cpp
jiandingzhe/treecore
0a2a23dce68dbb55174569ec9cff64faeaac4a31
[ "MIT" ]
null
null
null
src/treecore/File.cpp
jiandingzhe/treecore
0a2a23dce68dbb55174569ec9cff64faeaac4a31
[ "MIT" ]
null
null
null
/* ============================================================================== This file is part of the juce_core module of the JUCE library. Copyright (c) 2013 - Raw Material Software Ltd. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is...
32.424044
133
0.555413
jiandingzhe
39db3e42db98fa485f60ffb204a13dbd0786931b
258
cpp
C++
c++/Project/project6-3/main.cpp
roostaa/cpp_archive
41e58a8c1e9cb7b4400fa4f5e5aa05df923fd872
[ "MIT" ]
null
null
null
c++/Project/project6-3/main.cpp
roostaa/cpp_archive
41e58a8c1e9cb7b4400fa4f5e5aa05df923fd872
[ "MIT" ]
null
null
null
c++/Project/project6-3/main.cpp
roostaa/cpp_archive
41e58a8c1e9cb7b4400fa4f5e5aa05df923fd872
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int x; for (x = 1; x <=20; x++) { if (x == 3 || x == 11 || x == 16) { continue; } cout << x << endl; } return 0; }
12.285714
42
0.333333
roostaa
39dff968cb27b359b4c831bedb91c94bbe28945b
4,241
hpp
C++
Crowdflower Search Results Relevance/rgf1.2/src/tet/AzTET_Eval_Dflt.hpp
Tuanlase02874/Machine-Learning-Kaggle
c31651acd8f2407d8b60774e843a2527ce19b013
[ "MIT" ]
1
2018-07-11T16:20:43.000Z
2018-07-11T16:20:43.000Z
Crowdflower Search Results Relevance/rgf1.2/src/tet/AzTET_Eval_Dflt.hpp
Tuanlase02874/Machine-Learning-Kaggle
c31651acd8f2407d8b60774e843a2527ce19b013
[ "MIT" ]
null
null
null
Crowdflower Search Results Relevance/rgf1.2/src/tet/AzTET_Eval_Dflt.hpp
Tuanlase02874/Machine-Learning-Kaggle
c31651acd8f2407d8b60774e843a2527ce19b013
[ "MIT" ]
null
null
null
/* * * * * * AzTET_Eval_Dflt.hpp * Copyright (C) 2011, 2012 Rie Johnson * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
26.50625
77
0.603867
Tuanlase02874
39e055bceb1e414cb1b1f47a2fef97e2844cf7f0
8,559
cpp
C++
export/release/windows/obj/src/openfl/ui/Keyboard.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/openfl/ui/Keyboard.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/openfl/ui/Keyboard.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_openfl_ui_Keyboard #include <openfl/ui/Keyboard.h> #endif HX_LOCAL_STACK_FRAME(_hx_pos_410ccb691917537a_815___getCharCode,"openfl.ui.Keyboard","__getCharCode",0x5c5ae14e,"openfl.ui.Keyboard.__getCharCode","openfl/ui/Keyboard.hx",815,0x5fb867bb) namespace ...
26.830721
186
0.468746
bobisdabbing
39e063360296154fe53e3414e2779cf32e99311c
939
cpp
C++
LeetCode/Problems/Algorithms/#203_RemoveLinkedListElements_sol2_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#203_RemoveLinkedListElements_sol2_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#203_RemoveLinkedListElements_sol2_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ListNode*...
26.828571
63
0.467519
Tudor67
39e2c8de74e7882f16e38daa31a1cf9845f5ea05
5,158
cpp
C++
test/util/testMath.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
2
2021-08-31T12:43:16.000Z
2021-12-13T13:49:19.000Z
test/util/testMath.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
3
2021-09-09T17:23:31.000Z
2021-09-09T19:14:50.000Z
test/util/testMath.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
null
null
null
#include <pch_test.h> #include <util/math.h> using namespace msdb::core; TEST(util_math, msb_char) { // 0111 1000 EXPECT_EQ(msb<char>(120, 1), 7); EXPECT_EQ(msb<char>(120, 2), 6); EXPECT_EQ(msb<char>(120, 3), 5); EXPECT_EQ(msb<char>(120, 4), 4); EXPECT_EQ(msb<char>(120, 5), 0); // 0101 0101 EXPECT_EQ(msb<cha...
29.988372
56
0.642691
KUDB
39e31ff5d9cf5478fc0183ec4f1664a9ad4218e9
31,717
inl
C++
engine/xboxsystem.xsessioncallstack.inl
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/engine/xboxsystem.xsessioncallstack.inl
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/engine/xboxsystem.xsessioncallstack.inl
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
#define HELPER_OVERLAPPED_SESSION_CALL_C_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_A_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_P_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_I_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_M_0( ) #define DECLARE_OVERLAPPED_SESSION_CALL_0( XCallNameFN_T ) \ struct XCallNameFN...
90.361823
459
0.784437
DannyParker0001
39e32bb345f24ec8e744b243f14681b715305457
7,905
cpp
C++
Source/AllProjects/Tests/TestCIDLib/TestCIDLib_PerThreadData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/Tests/TestCIDLib/TestCIDLib_PerThreadData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/Tests/TestCIDLib/TestCIDLib_PerThreadData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: TestCIDLib_PerThreadData.cpp // // AUTHOR: Dean Roddey // // CREATED: 01/29/1998 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This file is part of a demonstration program of the CIDLib C++ // Frameworks. Its contents are distributed 'as is', to provide guidance on // the use of the CIDLi...
31.494024
95
0.588362
eudora-jia
39e48bf081d40ec8db3df48831bb390e76566619
6,256
cpp
C++
UnitTest/AlgorismTest/vertex_delaunay_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
UnitTest/AlgorismTest/vertex_delaunay_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
UnitTest/AlgorismTest/vertex_delaunay_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
#include "Log/Log.h" #include "Window/DesktopWindow.h" #include "Render/SoftRasterizer.h" #include "Render/SoftTriangle.h" #include "Geometry/Vertex.h" #include "Geometry/Triangle.h" #include "Geometry/Sphere.h" #include "Geometry/Tetrahedra.h" #include "Geometry/MeshOperation/Delaunay3D.h" using namespace Rocket; #...
34
126
0.556426
rocketman123456
39ee791e1476915f2238a14bb8473981b6f899bc
7,082
cpp
C++
image_common/image_transport/src/image_transport.cpp
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
null
null
null
image_common/image_transport/src/image_transport.cpp
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
null
null
null
image_common/image_transport/src/image_transport.cpp
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2009, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
33.093458
129
0.741175
zhj-buffer
39f29b35292f353d7248f2c14e87aa69ce48235a
2,824
cpp
C++
salmap_rv/src/salmap_rv_interface.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
1
2022-02-17T03:05:40.000Z
2022-02-17T03:05:40.000Z
salmap_rv/src/salmap_rv_interface.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
salmap_rv/src/salmap_rv_interface.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
#include <salmap_rv/include/salmap_rv_interface.hpp> #include <salmap_rv/include/salmap.hpp> #include <salmap_rv/include/itti_salmap.hpp> #include <salmap_rv/include/param_set.hpp> #include <salmap_rv/include/util_functs.hpp> using namespace salmap_rv; int salmap_vers( ) { return salmap_rv::SalMap::VERSION; } vo...
25.214286
199
0.661827
flyingfalling
39fa8414a7efdd1a3993b0b3a31cad00cf0e31c9
10,880
hpp
C++
include/ripple/utility/memory.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
4
2021-04-25T16:38:12.000Z
2021-12-23T08:32:15.000Z
include/ripple/utility/memory.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
include/ripple/utility/memory.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
/**=--- ripple/utility/memory.hpp -------------------------- -*- C++ -*- ---==** * * Ripple * * Copyright (c) 2019 - 2021 Rob Clucas. * * This file is distributed under the MIT License. See LICENSE for details. * *==-----------------------------------------...
34.983923
80
0.688879
robclu
2603f24fa10bb207b89b226b36885e6a30549682
5,911
hpp
C++
include/graphics.hpp
a276me/MilSim
b3ba8ef8cc46b6ae9cc7befece6cd00b016038ea
[ "MIT" ]
null
null
null
include/graphics.hpp
a276me/MilSim
b3ba8ef8cc46b6ae9cc7befece6cd00b016038ea
[ "MIT" ]
null
null
null
include/graphics.hpp
a276me/MilSim
b3ba8ef8cc46b6ae9cc7befece6cd00b016038ea
[ "MIT" ]
null
null
null
#pragma once #include "raylib.h" #include "main.hpp" #include "Division.hpp" const int SCREEN_WIDTH = 1280*1.5; const int SCREEN_HEIGHT = 960*1.2; Texture2D natoTest; Texture2D natoInf; Texture2D natoArmor; Texture2D natoMechInf; Texture2D hostileInf; Texture2D hostileArmor; Texture2D hostileMechInf; void initRL()...
34.366279
246
0.630012
a276me
26060c9cd453f6eb01ded7d869aafb8e9c4fb67d
997
hpp
C++
RayTracer/core/source/RTweekend.hpp
ZFhuang/AmbiRenderer
d223e1c4d947872c9011c1cba6a8f498ebbaf3b7
[ "Apache-2.0" ]
null
null
null
RayTracer/core/source/RTweekend.hpp
ZFhuang/AmbiRenderer
d223e1c4d947872c9011c1cba6a8f498ebbaf3b7
[ "Apache-2.0" ]
null
null
null
RayTracer/core/source/RTweekend.hpp
ZFhuang/AmbiRenderer
d223e1c4d947872c9011c1cba6a8f498ebbaf3b7
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cmath> #include <limits> #include <memory> #include <random> // 保存Ray Tracing in One Weekend项目所需的基本常量和函数 using std::shared_ptr; using std::make_shared; using std::sqrt; const double infinity = std::numeric_limits<double>::infinity(); const double pi = 3.1415926535897932385; // 角度转弧度 inline ...
20.346939
70
0.706118
ZFhuang
2609c25feca6969e8f9c31b3be4f6301848dc8dc
3,645
cpp
C++
2017-09-10-practice/E.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
3
2018-04-02T06:00:51.000Z
2018-05-29T04:46:29.000Z
2017-09-10-practice/E.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-03-31T17:54:30.000Z
2018-05-02T11:31:06.000Z
2017-09-10-practice/E.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-10-07T00:08:06.000Z
2021-06-28T11:02:59.000Z
#include <bits/stdc++.h> using namespace std; typedef long long LL; typedef long double DB; const int maxn = 500001, INF = 0x3f3f3f3f; int rad, n, totL, totR; struct Query { int typ, x, y; } que[maxn]; struct Fraction { LL x, y; Fraction() {} Fraction(LL _x, LL _y) { // _y > 0 LL r = __gcd(abs(_x), _y); x = _x ...
28.476563
101
0.494925
tangjz
260e864a1f93c48554bc7ee15e6a536d28c1bc43
5,340
hpp
C++
include/GTGE/Editor/ParticleEditor/ParticleEditor.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
include/GTGE/Editor/ParticleEditor/ParticleEditor.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
include/GTGE/Editor/ParticleEditor/ParticleEditor.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. #ifndef GT_ParticleEditor #define GT_ParticleEditor #include "../SubEditor.hpp" #include "../Editor3DViewportEventHandler.hpp" #include "../EditorGrid.hpp" #include "../EditorAxisArrows.hpp" #include "../../ParticleSystem.hpp" #include "../../Scene.hpp" ...
27.525773
145
0.603933
mackron
260fbcac89d9c171b877e48c878a90c4994a737c
1,586
hpp
C++
legacy/galaxy/meta/UniqueId.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
6
2018-07-21T20:37:01.000Z
2018-10-31T01:49:35.000Z
legacy/galaxy/meta/UniqueId.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
legacy/galaxy/meta/UniqueId.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
/// /// UniqueId.hpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #ifndef GALAXY_META_UNIQUEID_HPP_ #define GALAXY_META_UNIQUEID_HPP_ #include "galaxy/meta/Concepts.hpp" namespace galaxy { namespace meta { /// /// Generates a unique id for a type for each type of specialization. /// And the ...
19.341463
75
0.628625
reworks
2613106580d834e6f6c23229ec8e14b28bab861e
1,837
cpp
C++
cpp/Maya Calendar/Maya Calendar.cpp
xuzishan/Algorithm-learning-through-Problems
4aee347af6fd7fd935838e1cbea57c197e88705c
[ "MIT" ]
27
2016-11-04T09:18:25.000Z
2022-02-12T12:34:01.000Z
cpp/Maya Calendar/Maya Calendar.cpp
Der1128/Algorithm-learning-through-Problems
4aee347af6fd7fd935838e1cbea57c197e88705c
[ "MIT" ]
1
2016-11-05T02:30:24.000Z
2016-11-16T10:21:09.000Z
cpp/Maya Calendar/Maya Calendar.cpp
Der1128/Algorithm-learning-through-Problems
4aee347af6fd7fd935838e1cbea57c197e88705c
[ "MIT" ]
20
2016-11-04T10:26:02.000Z
2021-09-25T05:41:21.000Z
// // Maya Calendar.cpp // laboratory // // Created by 徐子珊 on 16/4/4. // Copyright (c) 2016年 xu_zishan. All rights reserved. // #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <string> #include <hash_map> using namespace std; pair<string, int> a[]={make_pair("pop...
32.22807
107
0.62221
xuzishan
2622eab5a23a648711817362a3f70a54c2c7b51c
10,696
hpp
C++
src/core/ArrayTraits.hpp
gyzhangqm/overkit-1
490aa77a79bd9708d7f2af0f3069b86545a2cebc
[ "MIT" ]
null
null
null
src/core/ArrayTraits.hpp
gyzhangqm/overkit-1
490aa77a79bd9708d7f2af0f3069b86545a2cebc
[ "MIT" ]
null
null
null
src/core/ArrayTraits.hpp
gyzhangqm/overkit-1
490aa77a79bd9708d7f2af0f3069b86545a2cebc
[ "MIT" ]
1
2021-07-21T06:48:19.000Z
2021-07-21T06:48:19.000Z
// Copyright (c) 2020 Matthew J. Smith and Overkit contributors // License: MIT (http://opensource.org/licenses/MIT) #ifndef OVK_CORE_ARRAY_TRAITS_HPP_INCLUDED #define OVK_CORE_ARRAY_TRAITS_HPP_INCLUDED #include <ovk/core/ArrayTraitsBase.hpp> #include <ovk/core/Elem.hpp> #include <ovk/core/Global.hpp> #include <ovk/c...
45.130802
100
0.755984
gyzhangqm
2626448ee8c472a55023f86a2caaea7f08d76247
158
cpp
C++
old/Codeforces/466/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
old/Codeforces/466/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
old/Codeforces/466/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "template.hpp" int main() { int n, m, a, b; cin >> n >> m >> a >> b; cout << min(n * a, min(n / m * b + n % m * a, n / m * b + b)) << endl; }
19.75
72
0.411392
not522
262cab7befc0663f26883159779c9a7d1d2edb3a
4,246
hpp
C++
include/gamma/basis.hpp
robashaw/gamma
26fba31be640c9bc429f8c22d5c61c0f8e9215e6
[ "MIT" ]
8
2019-09-13T10:35:26.000Z
2022-03-26T13:20:54.000Z
include/gamma/basis.hpp
robashaw/gamma
26fba31be640c9bc429f8c22d5c61c0f8e9215e6
[ "MIT" ]
null
null
null
include/gamma/basis.hpp
robashaw/gamma
26fba31be640c9bc429f8c22d5c61c0f8e9215e6
[ "MIT" ]
null
null
null
/* * * PURPOSE: To define the class Basis representing a * basis set. * * class Basis: * owns: bfs - a set of BFs * data: name - the name of the basis set, needed for file io * charges - a list of atomic numbers corresponding to * ...
38.252252
79
0.567358
robashaw
262e2c6360952d755e2279fb0b1cfb7972446d70
1,348
cpp
C++
Kattis/Week0/Wk0j_interpreter.cpp
Frodocz/CS2040C
d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5
[ "MIT" ]
null
null
null
Kattis/Week0/Wk0j_interpreter.cpp
Frodocz/CS2040C
d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5
[ "MIT" ]
null
null
null
Kattis/Week0/Wk0j_interpreter.cpp
Frodocz/CS2040C
d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; #define MEMORY_SIZE 1000 #define REGISTER_NUM 10 int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int i, cnt = 0, idx = 0; vector<int> registers(REGISTER_NUM), ram(MEMORY_SIZE); while (cin >> i) { ram[idx++] ...
24.962963
64
0.432493
Frodocz
262e2d197cb7945f4341134e31eac2a8530912dd
1,966
cpp
C++
AMM/multiPage.cpp
CatOfBlades/ArbitraryMemoryMapper
ef49c548b6171ca1b3cac61c5cb6366ca6039abc
[ "MIT" ]
null
null
null
AMM/multiPage.cpp
CatOfBlades/ArbitraryMemoryMapper
ef49c548b6171ca1b3cac61c5cb6366ca6039abc
[ "MIT" ]
null
null
null
AMM/multiPage.cpp
CatOfBlades/ArbitraryMemoryMapper
ef49c548b6171ca1b3cac61c5cb6366ca6039abc
[ "MIT" ]
null
null
null
#include "multiPage.h" #include "../Defines.h" #ifdef WINBUILD #include <windows.h> #endif // WINBUILD unsigned long int multiPage::_size() { if(!bankList.size()){return 0;} return bankList[_bankNum]->_size(); } bool multiPage::_is_free() { if(!bankList.size()){return 0;} return bankList[_bankNum]->_...
22.860465
96
0.685656
CatOfBlades
1c7a23c69da6a8ca7bcfc1c13c3afcd7d8b5ab15
11,114
cpp
C++
src/EBV_Triangulator.cpp
fdebrain/Stereo-Event-Based-Reconstruction-with-Active-Laser-Features
9e63a5d15edffba65d6e6ab521c5f6413832a97c
[ "MIT" ]
4
2021-08-10T17:35:35.000Z
2021-12-06T08:43:07.000Z
src/EBV_Triangulator.cpp
fdebrain/Stereo-Event-Based-Reconstruction-with-Active-Laser-Features
9e63a5d15edffba65d6e6ab521c5f6413832a97c
[ "MIT" ]
null
null
null
src/EBV_Triangulator.cpp
fdebrain/Stereo-Event-Based-Reconstruction-with-Active-Laser-Features
9e63a5d15edffba65d6e6ab521c5f6413832a97c
[ "MIT" ]
null
null
null
#include <EBV_Triangulator.h> #include <EBV_Benchmarking.h> void Triangulator::switchMode() { m_mode = static_cast<Triangulator::StereoPair>((m_mode+1)%3); std::cout << "Switch triangulation mode to: " << stereoPairNames[m_mode] << "\n\r"; } void Triangulator::resetCalibration() { for (auto &k : m_K) { k ...
31.936782
99
0.520875
fdebrain
1c888ffbcbdae678e1772280f72ea0065ce94d34
3,040
cpp
C++
2018/0804_mujin-pc-2018/E.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
7
2019-03-24T14:06:29.000Z
2020-09-17T21:16:36.000Z
2018/0804_mujin-pc-2018/E.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
null
null
null
2018/0804_mujin-pc-2018/E.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
1
2020-07-22T17:27:09.000Z
2020-07-22T17:27:09.000Z
/** * File : E.cpp * Author : Kazune Takahashi * Created : 2018-8-4 22:09:58 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) ...
22.189781
116
0.464474
kazunetakahashi
1c88b3e9ef72afba9c9d5b45ba8a309c3ef87f97
1,032
hpp
C++
src/emp_dist.hpp
dcjones/isolator
24bafc0a102dce213bfc2b5b9744136ceadaba03
[ "MIT" ]
33
2015-07-13T03:00:01.000Z
2021-03-20T08:49:07.000Z
src/emp_dist.hpp
dcjones/isolator
24bafc0a102dce213bfc2b5b9744136ceadaba03
[ "MIT" ]
9
2016-11-29T00:04:30.000Z
2020-02-10T17:46:01.000Z
src/emp_dist.hpp
dcjones/isolator
24bafc0a102dce213bfc2b5b9744136ceadaba03
[ "MIT" ]
6
2015-09-10T15:49:34.000Z
2017-03-09T05:14:06.000Z
#ifndef ISOLATOR_EMP_DIST #define ISOLATOR_EMP_DIST #include <climits> #include <vector> class EmpDist { public: EmpDist(EmpDist&); /* Construct a emperical distribution from n observations stored in xs. * * Input in run-length encoded samples, which must be in sorted order. ...
21.061224
79
0.573643
dcjones
1c93f82b414d383676dcdfc79956b5141e8135b4
1,104
hxx
C++
tests/cvinvaffine.hxx
zardchim/opencvx
f3727c9be5532f9a41c29f558e72aa19b6db97a4
[ "Unlicense" ]
10
2015-01-29T23:21:06.000Z
2019-07-05T06:27:16.000Z
tests/cvinvaffine.hxx
zardchim/opencvx
f3727c9be5532f9a41c29f558e72aa19b6db97a4
[ "Unlicense" ]
null
null
null
tests/cvinvaffine.hxx
zardchim/opencvx
f3727c9be5532f9a41c29f558e72aa19b6db97a4
[ "Unlicense" ]
13
2015-04-13T20:50:36.000Z
2022-03-20T16:06:05.000Z
#ifdef _MSC_VER #pragma warning(disable:4996) #pragma comment(lib, "cv.lib") #pragma comment(lib, "cxcore.lib") #pragma comment(lib, "cvaux.lib") #pragma comment(lib, "highgui.lib") #endif #include <stdio.h> #include <stdlib.h> #include "cv.h" #include "cvaux.h" #include "cxcore.h" #include "highgui.h" #include "cvcre...
26.926829
91
0.577899
zardchim
1c9b1e3e468091ba85c0dae6153ff9f95968ca8b
1,604
hpp
C++
tainthlp.hpp
yqw1212/demovfuscator
d27dd1c87ba6956dae4a3003497fe8760b7299f9
[ "BSD-2-Clause" ]
614
2016-06-19T21:39:02.000Z
2022-03-27T06:07:53.000Z
tainthlp.hpp
yqw1212/demovfuscator
d27dd1c87ba6956dae4a3003497fe8760b7299f9
[ "BSD-2-Clause" ]
20
2016-06-19T21:44:20.000Z
2022-03-31T05:21:34.000Z
tainthlp.hpp
yqw1212/demovfuscator
d27dd1c87ba6956dae4a3003497fe8760b7299f9
[ "BSD-2-Clause" ]
54
2016-06-20T07:01:22.000Z
2021-12-14T13:34:56.000Z
#ifndef TAINTHLP_H #define TAINTHLP_H #include <map> #include <unordered_map> #include <capstone/x86.h> class tainthlp{ public: /** * Adds taint to a specified address and (len - 1) subsequent addresses * @param base base address to taint * @param len length of the area to taint * @param ref the taint...
26.733333
91
0.69015
yqw1212
1cb443b558689eb8476d57651ccbc56b0b20d513
4,703
inl
C++
matlab_code/jjcao_code-head/toolbox/jjcao_mesh/geodesic/mex/gw/gw_core/GW_SmartCounter.inl
joycewangsy/normals_pointnet
fc74a8ed1a009b18785990b1b4c20eda0549721c
[ "MIT" ]
null
null
null
matlab_code/jjcao_code-head/toolbox/jjcao_mesh/geodesic/mex/gw/gw_core/GW_SmartCounter.inl
joycewangsy/normals_pointnet
fc74a8ed1a009b18785990b1b4c20eda0549721c
[ "MIT" ]
null
null
null
matlab_code/jjcao_code-head/toolbox/jjcao_mesh/geodesic/mex/gw/gw_core/GW_SmartCounter.inl
joycewangsy/normals_pointnet
fc74a8ed1a009b18785990b1b4c20eda0549721c
[ "MIT" ]
null
null
null
/*------------------------------------------------------------------------------*/ /** * \file GW_SmartCounter.inl * \brief Inlined methods for \c GW_SmartCounter * \author Gabriel Peyr?2001-09-12 */ /*------------------------------------------------------------------------------*/ #include "GW_SmartCounter.h...
29.21118
96
0.402296
joycewangsy
1cb60bcb0a7f2747bb34edc4ffef8a1ae21c6fac
415
cpp
C++
src/1064b/emm.cpp
lifeich1/play-cf
7eb6dbb290fcf7935e88d3f090d4af79e7308773
[ "WTFPL" ]
null
null
null
src/1064b/emm.cpp
lifeich1/play-cf
7eb6dbb290fcf7935e88d3f090d4af79e7308773
[ "WTFPL" ]
8
2018-10-15T06:47:19.000Z
2019-02-15T09:58:02.000Z
src/1064b/emm.cpp
lifeich1/play-cf
7eb6dbb290fcf7935e88d3f090d4af79e7308773
[ "WTFPL" ]
null
null
null
//-[ #include "type.h" //-] namespace licf { namespace emm_1064b { // placeholder } } using namespace licf::emm_1064b; int emm_1064b(const _in_t & in_, _out_t & out_) { int n; while (in_.read(&n)) { LL res = 1; for (; n > 0; n >>= 1) { if (n & 1) { ...
12.96875
47
0.414458
lifeich1
1cb6b50ac4e909f6822ded0ee163ee38682adb8b
1,093
cpp
C++
src/lib/cert/cvc/cvc_req.cpp
el-forkorama/botan
4ad555977b03cb92dfac0b87a00febe4d8e7ff5e
[ "BSD-2-Clause" ]
null
null
null
src/lib/cert/cvc/cvc_req.cpp
el-forkorama/botan
4ad555977b03cb92dfac0b87a00febe4d8e7ff5e
[ "BSD-2-Clause" ]
null
null
null
src/lib/cert/cvc/cvc_req.cpp
el-forkorama/botan
4ad555977b03cb92dfac0b87a00febe4d8e7ff5e
[ "BSD-2-Clause" ]
null
null
null
/* * (C) 2007 FlexSecure GmbH * 2008-2010 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/cvc_req.h> #include <botan/cvc_cert.h> #include <botan/ber_dec.h> namespace Botan { bool EAC1_1_Req::operator==(EAC1_1_Req const& rhs) const { return (this->tbs_d...
20.240741
70
0.651418
el-forkorama
1cc2c32fe849253ec5bcaa89abc100f454914d6b
6,048
cpp
C++
code/source/thread_capture.cpp
DEAKSoftware/KFX
8a759d21a651d9f8acbfef2e3d19b1e8580a74b5
[ "MIT" ]
null
null
null
code/source/thread_capture.cpp
DEAKSoftware/KFX
8a759d21a651d9f8acbfef2e3d19b1e8580a74b5
[ "MIT" ]
null
null
null
code/source/thread_capture.cpp
DEAKSoftware/KFX
8a759d21a651d9f8acbfef2e3d19b1e8580a74b5
[ "MIT" ]
null
null
null
/*=========================================================================== Video Capture Thread Dominik Deak ===========================================================================*/ #ifndef ___THREAD_CAPTURE_CPP___ #define ___THREAD_CAPTURE_CPP___ /*----------------------------------------...
31.175258
144
0.430556
DEAKSoftware
1cd27e671a0ca1a0581041df32c1c948f55e5809
4,119
cpp
C++
src/tanktextures.cpp
Eae02/tank-game
0c526b177ccc15dd49e3228489163f13335040db
[ "Zlib" ]
null
null
null
src/tanktextures.cpp
Eae02/tank-game
0c526b177ccc15dd49e3228489163f13335040db
[ "Zlib" ]
null
null
null
src/tanktextures.cpp
Eae02/tank-game
0c526b177ccc15dd49e3228489163f13335040db
[ "Zlib" ]
null
null
null
#include "tanktextures.h" #include "exceptions/invalidstateexception.h" #include "utils/utils.h" #include "utils/ioutils.h" #include "graphics/textureloadoperation.h" namespace TankGame { static std::unique_ptr<TankTextures> instance; class TankTexturesLoadOperation : public IASyncOperation { public: TankTextu...
49.035714
105
0.646759
Eae02
1cd2b5bee1b0b729cf337ab461287ad15a9185f9
46,483
cpp
C++
external/vsomeip/implementation/endpoints/src/tcp_server_endpoint_impl.cpp
lixiaolia/ndk-someip-lib
f4088e87f07e3a6bcec402514bb7ebb77ec946ce
[ "Apache-2.0" ]
3
2021-06-17T14:01:04.000Z
2022-03-18T09:22:44.000Z
external/vsomeip/implementation/endpoints/src/tcp_server_endpoint_impl.cpp
lixiaolia/ndk-someip-lib
f4088e87f07e3a6bcec402514bb7ebb77ec946ce
[ "Apache-2.0" ]
1
2022-03-15T06:21:33.000Z
2022-03-28T06:31:12.000Z
external/vsomeip/implementation/endpoints/src/tcp_server_endpoint_impl.cpp
lixiaolia/ndk-someip-lib
f4088e87f07e3a6bcec402514bb7ebb77ec946ce
[ "Apache-2.0" ]
4
2021-06-17T14:12:18.000Z
2021-12-13T11:53:10.000Z
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) // 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 <iomanip> #include <boost/...
47.383282
148
0.553557
lixiaolia
1cdb59d29336c26315412dcf45704dbc2251c68b
4,803
cc
C++
deps/smmr/example/client_server/client_server.cc
xflagstudio/network-bfd-sample
89a21dd7ff195527fd8c3ce811ed0520acaac6b5
[ "MIT" ]
6
2017-03-24T08:37:39.000Z
2020-07-24T08:08:30.000Z
deps/smmr/example/client_server/client_server.cc
xflagstudio/network-bfd-sample
89a21dd7ff195527fd8c3ce811ed0520acaac6b5
[ "MIT" ]
null
null
null
deps/smmr/example/client_server/client_server.cc
xflagstudio/network-bfd-sample
89a21dd7ff195527fd8c3ce811ed0520acaac6b5
[ "MIT" ]
2
2017-07-17T03:25:34.000Z
2019-06-09T18:14:15.000Z
#include "smmr_pagedbuffer.h" #include "smmr_categories.h" #include "smmr_memory.h" #include "smmr_database.h" #include "smmr_tree.h" #include <sys/types.h> #include <sys/wait.h> #define UNUSED(x) (void)(x) const char *SERVER_MSGKEY = "from_server_to_client"; char SERVER_HELLOW[] = "hellow client."; const char *CLI...
34.804348
142
0.634812
xflagstudio
1cdd107e2bbce48e8df7103aa1c0817e30708734
985
cpp
C++
09_QueueWithTwoStacks/main09.cpp
HaoliangLi/CodingInterviewChinese2
c3ae0d7bec404d92dc3f5f395ccefb5455d08eb3
[ "BSD-3-Clause" ]
null
null
null
09_QueueWithTwoStacks/main09.cpp
HaoliangLi/CodingInterviewChinese2
c3ae0d7bec404d92dc3f5f395ccefb5455d08eb3
[ "BSD-3-Clause" ]
null
null
null
09_QueueWithTwoStacks/main09.cpp
HaoliangLi/CodingInterviewChinese2
c3ae0d7bec404d92dc3f5f395ccefb5455d08eb3
[ "BSD-3-Clause" ]
null
null
null
/*** * @Date: 2021-11-27 17:36:41 * @LastEditors: zjulhl * @LastEditTime: 2021-11-28 13:25:47 * @Description: * @FilePath: /CodingInterviewChinese2/09_QueueWithTwoStacks/main09.cpp */ #include <stack> using namespace std; class CQueue { stack<int> stack1, stack2; public: CQueue() { while (...
17.589286
71
0.447716
HaoliangLi
1cde2492418251c053d007af77a2e1f334cd06e9
228
hpp
C++
include/FindTheDifference.hpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
include/FindTheDifference.hpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
include/FindTheDifference.hpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#ifndef FIND_THE_DIFFERENCE_HPP_ #define FIND_THE_DIFFERENCE_HPP_ #include <string> using namespace std; class FindTheDifference { public: char findTheDifference(string s, string t); }; #endif // FIND_THE_DIFFERENCE_HPP_
17.538462
47
0.798246
yanzhe-chen
1ce098a977b00d0e57343ab54ff9a2978c182aec
1,218
cpp
C++
Solutions/Longest Valid Parentheses/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
1
2015-04-13T10:58:30.000Z
2015-04-13T10:58:30.000Z
Solutions/Longest Valid Parentheses/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
Solutions/Longest Valid Parentheses/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int longestValidParentheses(string s) { int s_size = s.size(); if (s_size <= 1) { return 0; } int *dp = new int [s_size]; for(int i = 0; i < s_size; i++) { dp[i] = 0;...
23.882353
61
0.325123
Crayzero
1ce568a02137152b50ce38760832e528aa88db29
3,318
cpp
C++
examples/rara.cpp
rodriguescr/libfastlib
b89172ae727cd36f84d0d02359ce635eb11b8472
[ "BSD-3-Clause-LBNL" ]
null
null
null
examples/rara.cpp
rodriguescr/libfastlib
b89172ae727cd36f84d0d02359ce635eb11b8472
[ "BSD-3-Clause-LBNL" ]
null
null
null
examples/rara.cpp
rodriguescr/libfastlib
b89172ae727cd36f84d0d02359ce635eb11b8472
[ "BSD-3-Clause-LBNL" ]
null
null
null
// $Id$ // Author: John Wu <John.Wu at ACM.org> Lawrence Berkeley National Laboratory // Copyright (c) 2008-2017 the Regents of the University of California /** @file rara.cpp This is meant to be the simplest test program for the querying functions of ibis::query and ibis::part. It accepts the following f...
35.677419
85
0.570223
rodriguescr
1ce9df55b36a4a6a72489cde35526546cb787727
1,236
hpp
C++
src/shuffler.hpp
nikolaimerkel/edgepart
58b3d57eebd850dfdd7016e90352bddcf840e1f5
[ "MIT" ]
21
2018-04-19T07:27:18.000Z
2022-02-23T19:33:04.000Z
src/shuffler.hpp
nikolaimerkel/edgepart
58b3d57eebd850dfdd7016e90352bddcf840e1f5
[ "MIT" ]
1
2020-12-30T01:40:51.000Z
2021-02-20T03:36:17.000Z
src/shuffler.hpp
nikolaimerkel/edgepart
58b3d57eebd850dfdd7016e90352bddcf840e1f5
[ "MIT" ]
9
2019-06-19T13:40:57.000Z
2021-12-09T19:30:50.000Z
#pragma once #include <string> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "util.hpp" #include "conversions.hpp" class Shuffler : public Converter { private: struct work_t { Shuffler *shuffler; int nchunks; std::vector<edge_t> chunk_buf; void opera...
26.297872
80
0.618123
nikolaimerkel
1ced0d82f1e0edc30c2e913f425fbac2084d7fd7
1,858
cpp
C++
Source/Game/MainMenuScene.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
Source/Game/MainMenuScene.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
Source/Game/MainMenuScene.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
#include "CommonHeader.h" MainMenuScene::MainMenuScene() { } MainMenuScene::~MainMenuScene() { } void MainMenuScene::OnSurfaceChanged(unsigned int aWidth, unsigned int aHeight) { Scene::OnSurfaceChanged(aWidth, aHeight); } void MainMenuScene::LoadContent() { Scene::LoadContent(); CreateCameraObject(); ...
28.151515
213
0.684069
nathanlink169
1cf05e916039a1c77ac99a82b67ece7c35271c0c
756
cpp
C++
cpp/bjyd/06/TestGeometricObject2.cpp
skyofsmith/servePractice
d143497ec7c13dcbb55354c9050fd48e5b1c7b51
[ "MIT" ]
null
null
null
cpp/bjyd/06/TestGeometricObject2.cpp
skyofsmith/servePractice
d143497ec7c13dcbb55354c9050fd48e5b1c7b51
[ "MIT" ]
18
2020-07-16T21:36:57.000Z
2022-03-25T18:59:38.000Z
cpp/bjyd/06/TestGeometricObject2.cpp
skyofsmith/servePractice
d143497ec7c13dcbb55354c9050fd48e5b1c7b51
[ "MIT" ]
null
null
null
#include <iostream> //#include "AbstractGeometricObject.h" #include "DerivedCircle2.h" #include "Rectangle2.h" using namespace std; bool equalArea(GeometricObject &object1, GeometricObject &object2) { return object1.getArea() == object2.getArea(); } void displayGeometricObject(GeometricObject &object) { cout << "Th...
22.909091
66
0.691799
skyofsmith
7f33db92718d0e225f767b59142b526a75fdc42c
605
cpp
C++
tests/unit/appc/util/test_option.cpp
cdaylward/libappc
4f7316b584d92a110198a3f1573c170e5492194c
[ "Apache-2.0" ]
63
2015-01-20T18:35:27.000Z
2021-11-16T10:53:40.000Z
tests/unit/appc/util/test_option.cpp
Manu343726/libappc
8d181ef4ee80c8f1bcbf6ca04cf66e04e5e5bc8a
[ "Apache-2.0" ]
5
2015-01-20T17:28:54.000Z
2015-02-09T17:36:54.000Z
tests/unit/appc/util/test_option.cpp
cdaylward/libappc
4f7316b584d92a110198a3f1573c170e5492194c
[ "Apache-2.0" ]
12
2015-01-26T04:37:08.000Z
2020-11-14T02:19:13.000Z
#include "gtest/gtest.h" #include "appc/util/option.h" TEST(Option, none_is_false) { auto none = None<int>(); ASSERT_FALSE(none); } TEST(Option, some_is_true) { auto some = Some(std::string{""}); ASSERT_TRUE(some); } TEST(Option, some_is_shared_ptr) { auto some = Some(std::string("")); std::shared_ptr<...
21.607143
58
0.669421
cdaylward
7f344ec08e017dcdf3c41926a1d07bd06a239b8b
757
hpp
C++
bia/memory/gc/root.hpp
bialang/bia
b54fff096b4fe91ddb0b1d509ea828daa11cee7e
[ "BSD-3-Clause" ]
2
2017-09-09T17:03:18.000Z
2018-03-02T20:02:02.000Z
bia/memory/gc/root.hpp
terrakuh/Bia
412b7e8aeb259f4925c3b588f6025760a43cd0b7
[ "BSD-3-Clause" ]
7
2018-10-11T18:14:19.000Z
2018-12-26T15:31:04.000Z
bia/memory/gc/root.hpp
terrakuh/Bia
412b7e8aeb259f4925c3b588f6025760a43cd0b7
[ "BSD-3-Clause" ]
null
null
null
#ifndef BIA_MEMORY_GC_ROOT_HPP_ #define BIA_MEMORY_GC_ROOT_HPP_ #include <bia/util/gsl.hpp> #include <cstddef> #include <memory> #include <mutex> namespace bia { namespace memory { namespace gc { class GC; /// Defines the root for the search tree for the marking phase during garbage collection. This class is not //...
18.02381
107
0.712021
bialang
7f379093ec9f642f9797b97b5696ef29a2f9e7dc
469
hpp
C++
archive/stan/src/stan/model/standalone_functions_header.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
archive/stan/src/stan/model/standalone_functions_header.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/stan/src/stan/model/standalone_functions_header.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MODEL_STANDALONE_FUNCTIONS_HEADER_HPP #define STAN_MODEL_STANDALONE_FUNCTIONS_HEADER_HPP #include <stan/math.hpp> #include <boost/random/additive_combine.hpp> #include <stan/io/program_reader.hpp> #include <stan/lang/rethrow_located.hpp> #include <stan/model/indexing.hpp> #include <cmath> #in...
22.333333
51
0.763326
alashworth
7f5039992eb67ceedc2414dfed8e29ad0caf0b2e
109
cpp
C++
sources/shared_ptr.cpp
Denis-Gorbachev/lab-03-shared-ptr
555967045a5893a0f79507e60e5ccf386335fbe6
[ "MIT" ]
null
null
null
sources/shared_ptr.cpp
Denis-Gorbachev/lab-03-shared-ptr
555967045a5893a0f79507e60e5ccf386335fbe6
[ "MIT" ]
null
null
null
sources/shared_ptr.cpp
Denis-Gorbachev/lab-03-shared-ptr
555967045a5893a0f79507e60e5ccf386335fbe6
[ "MIT" ]
null
null
null
// Copyright 2021 Denis <denis.gorbachev2002@yandex.ru> //#include <stdexcept> //#include <shared_ptr.hpp>
18.166667
55
0.733945
Denis-Gorbachev