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
507cf54fd6b8673f28eb25fa25ff15526f5595f4
941
hpp
C++
tests/Unit/Helpers/Evolution/Systems/CurvedScalarWave/TestHelpers.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/Helpers/Evolution/Systems/CurvedScalarWave/TestHelpers.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/Helpers/Evolution/Systems/CurvedScalarWave/TestHelpers.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. /// \file /// Defines functions useful for testing curved scalar wave #pragma once #include <cstddef> #include "DataStructures/Tensor/Tensor.hpp" template <typename DataType> Scalar<DataType> make_pi(const DataType& used_for_size); template <si...
28.515152
71
0.791711
nilsvu
507e4ea1138e941e97d229dddd9e71849329b1a5
360,332
hpp
C++
NWNXLib/API/FunctionsMac.hpp
4NN3CK73/nwnxee-server
1b4f19eecaa939e9e269546ae7570ca19b327431
[ "MIT" ]
null
null
null
NWNXLib/API/FunctionsMac.hpp
4NN3CK73/nwnxee-server
1b4f19eecaa939e9e269546ae7570ca19b327431
[ "MIT" ]
null
null
null
NWNXLib/API/FunctionsMac.hpp
4NN3CK73/nwnxee-server
1b4f19eecaa939e9e269546ae7570ca19b327431
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> namespace NWNXLib { namespace API { namespace Functions { NWNX_EXPECT_VERSION(8176); constexpr uintptr_t C2DA__C2DACtor__0 = 0x00087FE0; constexpr uintptr_t C2DA__C2DACtor__2 = 0x00087C90; constexpr uintptr_t C2DA__C2DADtor__0 = 0x00088150; constexpr uintptr_t C2DA__GetCExoStringEn...
68.687
132
0.902079
4NN3CK73
5080804035e8d1abe47c6bbca7c1843845ae5cbf
881
cpp
C++
Projects/VacuumWorld/src/SimpleReflexVacuumAgent.cpp
GlobeOfGeek/modern_ai
d2f2e02b89b35cec00021732d57f99e078972342
[ "MIT" ]
5
2016-04-01T02:10:46.000Z
2016-10-24T19:07:07.000Z
Projects/VacuumWorld/src/SimpleReflexVacuumAgent.cpp
GlobeOfGeek/morris_aima
d2f2e02b89b35cec00021732d57f99e078972342
[ "MIT" ]
null
null
null
Projects/VacuumWorld/src/SimpleReflexVacuumAgent.cpp
GlobeOfGeek/morris_aima
d2f2e02b89b35cec00021732d57f99e078972342
[ "MIT" ]
null
null
null
#include <VacuumPercept.h> #include <iostream> #include "SimpleVacuumAction.h" #include "SimpleReflexVacuumAgent.h" std::string SimpleReflexVacuumAgent::toString() { return "SimpleReflexVacuumAgent"; } Action *SimpleReflexVacuumAgent::think(Percept *given) { VacuumPercept *percept = dynamic_cast<VacuumPercept *>...
27.53125
77
0.660613
GlobeOfGeek
5092b9153d2a0259cd313a5d8eba0e41150af787
642
cpp
C++
atcoder/unrated/dp/a/main.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
atcoder/unrated/dp/a/main.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
atcoder/unrated/dp/a/main.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n; int a[100005]; int memo[100005]; int sol(int i) { if (i == n - 1) { return 0; } if (memo[i] != -1) { return memo[i]; } int ans1{INT_MAX}; int ans2{INT_MAX}; if (n > i + 1) { ans1 = sol(i + 1) + abs(a[i] - a[i +...
16.894737
49
0.448598
Yash-Singh1
5099c9ebebfb9bbf1b728ca72ad20a673d9cd0a1
398
cpp
C++
AtCoder/abc216/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc216/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc216/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { long long int n; cin >> n; string ans = ""; while (n > 0) { if (n % 2 == 0) { n /= 2; ans += 'B'; } else { n--; ans += 'A'; ...
18.090909
36
0.41206
H-Tatsuhiro
50a0f99d8d5ff4212f0e1c38f4261f9d3080439c
18,668
cxx
C++
modules/scene_manager/include/test_msgs/msg/dds_connext/StaticArrayNested_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/test_msgs/msg/dds_connext/StaticArrayNested_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/test_msgs/msg/dds_connext/StaticArrayNested_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/* WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY. This file was generated from StaticArrayNested_.idl using "rtiddsgen". The rtiddsgen tool is part of the RTI Connext distribution. For more information, type 'rtiddsgen -help' at a command shell or consult the RTI Connext manual. */ #ifndef NDDS_STANDALONE_TYP...
40.319654
215
0.565513
Omnirobotic
50a8406a03d0a0ff4d2c75de71846accc84f8f67
1,769
cpp
C++
Examples/Code/SaintsWoods/menu.cpp
survivalizeed/CppRawEnginePrototype
2aa87c4b09771ea252583cc0c6f6566b90f1bead
[ "MIT" ]
5
2021-04-18T11:07:54.000Z
2021-06-11T08:16:29.000Z
Examples/Code/SaintsWoods/menu.cpp
survivalizeed/CppRawEnginePrototype
2aa87c4b09771ea252583cc0c6f6566b90f1bead
[ "MIT" ]
null
null
null
Examples/Code/SaintsWoods/menu.cpp
survivalizeed/CppRawEnginePrototype
2aa87c4b09771ea252583cc0c6f6566b90f1bead
[ "MIT" ]
2
2021-02-25T08:48:33.000Z
2021-03-02T12:20:24.000Z
#include "../C++/Functional/includes.h" #include "../C++/Functional/functional.h" #include "../C++/Functional/TemporaryObjects.h" #include "Game.h" extern sur::Map_Analyses _Amap; extern sur::Input _input; void Menu(sur::Render& renderer) { using namespace sur::Instancer; sur::SetVolume(0x88888888)...
24.915493
99
0.603166
survivalizeed
50a8fcfe79c162dbc62c2c910151ea84ea248801
1,638
cpp
C++
Ch03D/03-Calculator.cpp
tjwieg/LearnCPP
bf078de46a1deae8c2562ec91a3f636788eb1470
[ "MIT" ]
null
null
null
Ch03D/03-Calculator.cpp
tjwieg/LearnCPP
bf078de46a1deae8c2562ec91a3f636788eb1470
[ "MIT" ]
null
null
null
Ch03D/03-Calculator.cpp
tjwieg/LearnCPP
bf078de46a1deae8c2562ec91a3f636788eb1470
[ "MIT" ]
null
null
null
#include <iostream> double getUserNumber() { double userNumber{}; std::cout << "Enter a double value: "; std::cin >> userNumber; //if user enters a non-double here then segfault lol return userNumber; } char getUserOperation() { char userOperation{}; std::cout << "Enter one of the following: +...
32.76
80
0.62149
tjwieg
2703e9930951d52f8b31bdbc9d3d80278b7bba03
1,116
cpp
C++
aws-cpp-sdk-connect/source/model/AssociateQueueQuickConnectsRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-connect/source/model/AssociateQueueQuickConnectsRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-connect/source/model/AssociateQueueQuickConnectsRequest.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/connect/model/AssociateQueueQuickConnectsRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Connect::Model; using namespace Aws::Utils::...
25.953488
125
0.778674
perfectrecall
270b896b46668513a3c2698279c980ecab57d3b6
767
cpp
C++
Codeforces/Math/1278B.cpp
LzyRapx/Competitive-Programming
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
81
2018-06-03T04:27:45.000Z
2020-09-13T09:04:12.000Z
Codeforces/Math/1278B.cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
null
null
null
Codeforces/Math/1278B.cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
21
2018-07-11T04:02:38.000Z
2020-07-18T20:31:14.000Z
/* * @Author: zhaoyang.liang * @Github: https://github.com/LzyRapx * @Date: 2019-12-22 02:49:30 */ #include <cstdio> #include <iostream> #include <algorithm> #include <cstring> #include <map> #include <vector> #include <set> #include <unordered_map> using namespace std; typedef long long ll; const ll mod = 99824...
19.666667
54
0.456323
LzyRapx
270d8c678410bfc490e52f9d19c18ff7fc8a40e1
602
cpp
C++
source/uwp/Renderer/lib/AdaptiveCardGetResourceStreamArgs.cpp
ricardo-espinoza/AdaptiveCards
56f032f66561ad1b6c19c3431a7efc9c2806a6ac
[ "MIT" ]
1
2019-07-14T04:08:23.000Z
2019-07-14T04:08:23.000Z
source/uwp/Renderer/lib/AdaptiveCardGetResourceStreamArgs.cpp
ricardo-espinoza/AdaptiveCards
56f032f66561ad1b6c19c3431a7efc9c2806a6ac
[ "MIT" ]
null
null
null
source/uwp/Renderer/lib/AdaptiveCardGetResourceStreamArgs.cpp
ricardo-espinoza/AdaptiveCards
56f032f66561ad1b6c19c3431a7efc9c2806a6ac
[ "MIT" ]
1
2018-11-08T03:15:42.000Z
2018-11-08T03:15:42.000Z
#include "pch.h" #include "AdaptiveCardGetResourceStreamArgs.h" using namespace Microsoft::WRL; using namespace ABI::AdaptiveNamespace; using namespace ABI::Windows::Foundation; namespace AdaptiveNamespace { _Use_decl_annotations_ HRESULT AdaptiveCardGetResourceStreamArgs::RuntimeClassInitialize(IUriRuntimeClass*...
26.173913
115
0.73588
ricardo-espinoza
270e0c25b2838fa20e1ec36d9c8fd6cde29936cd
620
hpp
C++
behavioral/mediator/chat_room/chat_room.hpp
stefanpantic/cpp-design-patterns
887f9ddebbb99a773ba132c6298fee37eec25609
[ "MIT" ]
2
2021-01-21T11:03:08.000Z
2021-01-31T17:47:12.000Z
behavioral/mediator/chat_room/chat_room.hpp
stefanpantic/cpp-design-patterns
887f9ddebbb99a773ba132c6298fee37eec25609
[ "MIT" ]
null
null
null
behavioral/mediator/chat_room/chat_room.hpp
stefanpantic/cpp-design-patterns
887f9ddebbb99a773ba132c6298fee37eec25609
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <vector> #include <memory> #include "person.hpp" class ChatRoom { std::vector<std::shared_ptr<Person>> m_people; class PersonReference { std::shared_ptr<Person> m_ptr; public: PersonReference(std::shared_ptr<Person> ptr); Person& operator*(); const Person& ope...
21.37931
94
0.714516
stefanpantic
2714496c8e5c0a40d0ec7b04738f5691e7f7e72d
169
cpp
C++
Arrays-DS.cpp
Yuvrajchandra/HackerRank-Problem-Solving
9032492850fc1295af322cab570c1ed3d2b9c7dd
[ "MIT" ]
null
null
null
Arrays-DS.cpp
Yuvrajchandra/HackerRank-Problem-Solving
9032492850fc1295af322cab570c1ed3d2b9c7dd
[ "MIT" ]
null
null
null
Arrays-DS.cpp
Yuvrajchandra/HackerRank-Problem-Solving
9032492850fc1295af322cab570c1ed3d2b9c7dd
[ "MIT" ]
null
null
null
vector<int> reverseArray(vector<int> a) { for(int i=0, j=a.size()-1; i<a.size()/2 ; i++,j--) { a[i]=a[i]+a[j]; a[j]=a[i]-a[j]; a[i]=a[i]-a[j]; } return a; }
16.9
50
0.473373
Yuvrajchandra
27149126fb543631da398b8d7f0ca726838d6ff2
71
cpp
C++
3DEngine/Math/MatrixUtil.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
5
2019-07-23T03:21:04.000Z
2020-08-28T09:09:08.000Z
3DEngine/Math/MatrixUtil.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
null
null
null
3DEngine/Math/MatrixUtil.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
3
2019-07-25T01:36:02.000Z
2020-02-15T08:11:19.000Z
#include "MatrixUtil.h" ENGINE_NAMESPACE_START ENGINE_NAMESPACE_END
10.142857
23
0.84507
EricDDK
2715ac10e6926e853cd4e38ba1efdb7fe3d8fa67
913
cpp
C++
src/Ancilla/Sword.cpp
zachtepper/project-awful
59e2e9261100a2b4449022725435d21b17c6f5b4
[ "MIT" ]
4
2021-05-12T15:02:40.000Z
2021-06-04T23:01:16.000Z
src/Ancilla/Sword.cpp
jmielc2/project-awful
a328346d0e0ddf8419b85c2eec7674ca39acd2a6
[ "MIT" ]
null
null
null
src/Ancilla/Sword.cpp
jmielc2/project-awful
a328346d0e0ddf8419b85c2eec7674ca39acd2a6
[ "MIT" ]
9
2021-05-13T21:54:52.000Z
2021-12-11T01:55:55.000Z
#include "Sword.hpp" void Sword::initVariables() { } void Sword::initComponents() { this->createHitboxComponent(this->sprite, 0.f, 0.f, 15.f, 45.f); } Sword::Sword( const float x, const float y, sf::Texture& texture_sheet) { this->setPosition( x, y ); this->setTexture( texture_sheet );...
19.020833
85
0.593647
zachtepper
27266731c1d336e0670ab4974b430429d024c1b8
52,587
cpp
C++
KnightmareRemake/CGameCore.cpp
pdpdds/knightmare
25323acb23a0af326cebb6f342e30ccbfe0c2f0d
[ "BSD-2-Clause" ]
null
null
null
KnightmareRemake/CGameCore.cpp
pdpdds/knightmare
25323acb23a0af326cebb6f342e30ccbfe0c2f0d
[ "BSD-2-Clause" ]
null
null
null
KnightmareRemake/CGameCore.cpp
pdpdds/knightmare
25323acb23a0af326cebb6f342e30ccbfe0c2f0d
[ "BSD-2-Clause" ]
null
null
null
#include "CGameCore.h" #include "CGameMusicManager.h" #include "CDirectDrawMethod.h" #include "CInputManager.h" CGameCore* CGameCore::m_pGameCore = NULL; BOOL CGameCore::m_bPaused = FALSE; HWND CGameCore::m_hWnd = NULL; BOOL CGameCore::m_bLevelReset = FALSE; INT CGameCore::iStageNum = 1; CGameCore::CGameCore(void) { ...
32.642458
326
0.556031
pdpdds
272748789b49453b80216faad95bd91c62bad806
593
hpp
C++
plugins/x11input/include/sge/x11input/xim/get_supported_styles.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/x11input/include/sge/x11input/xim/get_supported_styles.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/x11input/include/sge/x11input/xim/get_supported_styles.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_X11INPUT_XIM_GET_SUPPORTED_STYLES_HPP_INCLUDED #define SGE_X11INPUT_XIM_GET_SUPPORTED_S...
28.238095
61
0.775717
cpreh
2728fb5cea74b41b198b90ed9c1af3136f1dee80
229
hpp
C++
include/radix/Viewport.hpp
atkurtul/RadixEngine
0eb1c176a25aa9430f54d5a20ce5749360c51381
[ "Zlib" ]
163
2016-08-28T23:24:05.000Z
2022-03-31T04:51:51.000Z
include/radix/Viewport.hpp
atkurtul/RadixEngine
0eb1c176a25aa9430f54d5a20ce5749360c51381
[ "Zlib" ]
144
2016-09-10T08:40:06.000Z
2020-12-03T17:20:03.000Z
include/radix/Viewport.hpp
atkurtul/RadixEngine
0eb1c176a25aa9430f54d5a20ce5749360c51381
[ "Zlib" ]
88
2016-02-22T08:34:49.000Z
2022-03-05T12:29:19.000Z
#ifndef RADIX_VIEWPORT_HPP #define RADIX_VIEWPORT_HPP namespace radix { struct Viewport { virtual ~Viewport() {} virtual void getSize(int *w, int *h) const = 0; }; } /* namespace radix */ #endif /* RADIX_VIEWPORT_HPP */
15.266667
49
0.69869
atkurtul
2729074174b26dbebc45d045121808b00da1c13d
4,824
cpp
C++
GTE/Graphics/Texture.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
null
null
null
GTE/Graphics/Texture.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-18T00:34:13.000Z
2022-03-18T00:34:13.000Z
GTE/Graphics/Texture.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-17T21:54:55.000Z
2022-03-17T21:54:55.000Z
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2022 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 6.0.2022.01.06 #include <Graphics/GTGraphicsPCH.h> #include <M...
29.595092
91
0.586443
lakinwecker
272fa5bf12098e2ce98b57fef52b12b424a3cff8
2,910
hpp
C++
modules/runtime/public/bp/resource_pointers.hpp
giranath/BoredPlatypus
ab464863af0105bdeb2062468e14fb3411650072
[ "MIT" ]
null
null
null
modules/runtime/public/bp/resource_pointers.hpp
giranath/BoredPlatypus
ab464863af0105bdeb2062468e14fb3411650072
[ "MIT" ]
null
null
null
modules/runtime/public/bp/resource_pointers.hpp
giranath/BoredPlatypus
ab464863af0105bdeb2062468e14fb3411650072
[ "MIT" ]
null
null
null
#ifndef BOREDPLATYPUS_RESOURCE_POINTERS_HPP #define BOREDPLATYPUS_RESOURCE_POINTERS_HPP #include "resource.hpp" #include "resource_archive.hpp" namespace bp { /** * Strong pointer on a resource */ template<typename Resource> class BP_RUNTIME_API resource_ptr { Resource* res_; public: using pointer = Resour...
18.301887
81
0.587285
giranath
2730ca78e40de4b19953b810114b07683ec979bb
2,252
hpp
C++
include/identity.hpp
mthom/unmanaged-ctrie
300df5a9468ffb996e267a7e44400f8ca67625c0
[ "MIT" ]
8
2017-02-14T16:13:15.000Z
2020-10-21T06:23:25.000Z
include/identity.hpp
mthom/unmanaged-ctrie
300df5a9468ffb996e267a7e44400f8ca67625c0
[ "MIT" ]
1
2019-08-14T21:04:52.000Z
2019-08-14T21:04:52.000Z
include/identity.hpp
mthom/unmanaged-ctrie
300df5a9468ffb996e267a7e44400f8ca67625c0
[ "MIT" ]
1
2019-03-03T15:27:13.000Z
2019-03-03T15:27:13.000Z
#ifndef IDENTITY_HPP_INCLUDED #define IDENTITY_HPP_INCLUDED #include "simple_vector.hpp" namespace kl_ctrie { template <class T> class identity { T data; public: template <typename... Ts> identity(Ts&&... items) : data(std::forward<Ts>(items)...) {} inline operator const T&() con...
18.016
79
0.57238
mthom
273674ce78ff8498c9c3ecc0d9a725248a78bd6a
4,941
cpp
C++
src/mm.cpp
julitopower/MindMap
f1042e6824e9518cdb8427d9b5c6fc16ea5ff5eb
[ "MIT" ]
null
null
null
src/mm.cpp
julitopower/MindMap
f1042e6824e9518cdb8427d9b5c6fc16ea5ff5eb
[ "MIT" ]
null
null
null
src/mm.cpp
julitopower/MindMap
f1042e6824e9518cdb8427d9b5c6fc16ea5ff5eb
[ "MIT" ]
null
null
null
#include "mindmap/mm.hpp" #include "mindmap/cmm.h" #include <sstream> #include <stdexcept> int mm_add_node(MM_HDL mm, int level, char *content) { mm::MindMapBuilder *mm_builder = static_cast<mm::MindMapBuilder *>(mm); try { mm_builder->add_node(level, content); } catch (const std::invalid_argument &ex) { ...
34.3125
80
0.515483
julitopower
2744c3814940ea3dbd38396a767c828c13223d66
2,092
cpp
C++
docs/trainings/2018-Multi-University-Trainings/Contest-7/solutions/a.cpp
Dup4/TI1050
4534909ef9a3b925d556d341ea5e2629357f68e6
[ "MIT" ]
null
null
null
docs/trainings/2018-Multi-University-Trainings/Contest-7/solutions/a.cpp
Dup4/TI1050
4534909ef9a3b925d556d341ea5e2629357f68e6
[ "MIT" ]
null
null
null
docs/trainings/2018-Multi-University-Trainings/Contest-7/solutions/a.cpp
Dup4/TI1050
4534909ef9a3b925d556d341ea5e2629357f68e6
[ "MIT" ]
1
2022-03-03T13:33:48.000Z
2022-03-03T13:33:48.000Z
#include <bits/stdc++.h> using namespace std; const int INF = 0x3f3f3f3f; const int maxn = 2e5 + 10; struct Edge { int to, nxt, val; Edge() {} Edge(int to, int nxt, int val) : to(to), nxt(nxt), val(val){}; } edge[maxn << 1]; set<int> s[maxn]; int head[maxn], tot; void Init(int n) { for (int i = 0; ...
22.73913
74
0.407266
Dup4
2749bdb4480b923ebee0b9be54ea0e0717fc512d
2,599
hpp
C++
src/adp_parsing_errors.hpp
jose-navarro/ASTROLABE
95482bf4ecd7c22e0bcef18aeae0d8b828b3327c
[ "MIT" ]
null
null
null
src/adp_parsing_errors.hpp
jose-navarro/ASTROLABE
95482bf4ecd7c22e0bcef18aeae0d8b828b3327c
[ "MIT" ]
3
2019-05-28T05:34:50.000Z
2019-12-09T12:58:22.000Z
src/adp_parsing_errors.hpp
jose-navarro/astrolabe
95482bf4ecd7c22e0bcef18aeae0d8b828b3327c
[ "MIT" ]
null
null
null
/** \file adp_parsing_errors.hpp \brief Implementation of a list of parsing errors, accesible by index. \ingroup adp_DOMparser_group */ #ifndef __ADP_PARSING_ERRORS_HPP__ #define __ADP_PARSING_ERRORS_HPP__ #include "astrolabe_exceptions.hpp" #include <vector> using namespace std; /// \brief List of parsing erro...
26.520408
76
0.664871
jose-navarro
274c360ec73cf365925ffbce4e5e218246876eb1
608
cpp
C++
silk_engine/src/scene/meshes/triangle_mesh.cpp
GeorgeAzma/VulkanEngine
0c2279682f526f428b44eae2a82be6933c74320d
[ "MIT" ]
1
2022-02-11T12:49:49.000Z
2022-02-11T12:49:49.000Z
silk_engine/src/scene/meshes/triangle_mesh.cpp
GeorgeAzma/VulkanEngine
0c2279682f526f428b44eae2a82be6933c74320d
[ "MIT" ]
null
null
null
silk_engine/src/scene/meshes/triangle_mesh.cpp
GeorgeAzma/VulkanEngine
0c2279682f526f428b44eae2a82be6933c74320d
[ "MIT" ]
null
null
null
#include "triangle_mesh.h" TriangleMesh::TriangleMesh() : TriangleMesh(-0.5f, -sqrt(3.0f) * 0.25f, 0.0f, sqrt(3.0f) * 0.25f, 0.5f, -sqrt(3.0f) * 0.25f) { } TriangleMesh::TriangleMesh(float x1, float y1, float x2, float y2, float x3, float y3) { resizeVertices(3); resizeIndices(3); getVertex(0).position = { x1, y1...
26.434783
124
0.644737
GeorgeAzma
274dd0ab00a1993ccf563f208b7901972abb8178
3,498
hpp
C++
core/env/gcc/src/cogs/env/mem/bit_scan.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
5
2019-02-08T15:59:14.000Z
2022-01-22T19:12:33.000Z
core/env/gcc/src/cogs/env/mem/bit_scan.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
1
2019-12-03T03:11:34.000Z
2019-12-03T03:11:34.000Z
core/env/gcc/src/cogs/env/mem/bit_scan.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
null
null
null
// // Copyright (C) 2000-2020 - Colen M. Garoutte-Carson <colen at cogmine.com>, Cog Mine LLC // // Status: Good #ifndef COGS_HEADER_ENV_MEM_BIT_SCAN #define COGS_HEADER_ENV_MEM_BIT_SCAN #include <type_traits> #include "cogs/load.hpp" #include "cogs/env.hpp" namespace cogs { // env/bit_scan.hpp provides env l...
21.329268
95
0.714694
cogmine
275e06fb4dbe028655d23b836b42e7137fd5b353
1,397
cpp
C++
src/colorpicker/colorpickerscene.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
16
2020-01-22T04:52:46.000Z
2022-02-22T09:53:39.000Z
src/colorpicker/colorpickerscene.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
15
2020-02-16T01:12:42.000Z
2021-05-03T21:51:26.000Z
src/colorpicker/colorpickerscene.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
3
2020-04-03T22:20:14.000Z
2020-09-23T07:58:09.000Z
#include "colorpickerscene.hpp" #include <QApplication> #include <QClipboard> #include <QGraphicsEllipseItem> #include <QGraphicsPixmapItem> #include <QGraphicsTextItem> #include <QTimer> #include <logger.hpp> #include <screenoverlay/screenoverlayview.hpp> #include <settings.hpp> ColorPickerScene::ColorPickerScene(QPi...
32.488372
103
0.712241
mightybruno
275e5f60f842aa8cf379411e15dd5933e339d609
295
cpp
C++
section-work/11_4_hours_minutes.cpp
robmcdonald5/UTD-CS-1336
c971ab0bc8b8c05acbf1271a4f9cd45cc9c6be8e
[ "MIT" ]
null
null
null
section-work/11_4_hours_minutes.cpp
robmcdonald5/UTD-CS-1336
c971ab0bc8b8c05acbf1271a4f9cd45cc9c6be8e
[ "MIT" ]
null
null
null
section-work/11_4_hours_minutes.cpp
robmcdonald5/UTD-CS-1336
c971ab0bc8b8c05acbf1271a4f9cd45cc9c6be8e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { for (int hour = 0; hour < 12; hour++) { for(int minute = 0; minute < 60; minute++) { cout << "Time is " << hour << ":" << minute << endl; } } return 0; }
17.352941
51
0.4
robmcdonald5
2762311b1da31782dc5c33fc53c50193888f4bf5
1,111
cpp
C++
Sources/Shadows/RendererShadows.cpp
hhYanGG/Acid
f5543e9290aee5e25c6ecdafe8a3051054b203c0
[ "MIT" ]
1
2019-03-13T08:26:38.000Z
2019-03-13T08:26:38.000Z
Sources/Shadows/RendererShadows.cpp
hhYanGG/Acid
f5543e9290aee5e25c6ecdafe8a3051054b203c0
[ "MIT" ]
null
null
null
Sources/Shadows/RendererShadows.cpp
hhYanGG/Acid
f5543e9290aee5e25c6ecdafe8a3051054b203c0
[ "MIT" ]
null
null
null
#include "RendererShadows.hpp" #include "Models/VertexModel.hpp" #include "Scenes/Scenes.hpp" #include "ShadowRender.hpp" namespace acid { RendererShadows::RendererShadows(const GraphicsStage &graphicsStage) : IRenderer(graphicsStage), m_pipeline(Pipeline(graphicsStage, PipelineCreate({"Shaders/Shadows/Shadow.ve...
30.861111
118
0.774977
hhYanGG
27721d1d3fcca01249afa9d8d705bc2c34768304
2,416
cpp
C++
proj/spotibox/src/main.cpp
bananu7/Arduino
56769c0850a6da873c29a0ac78fa2e1133bb7cc7
[ "MIT" ]
1
2020-02-24T09:14:02.000Z
2020-02-24T09:14:02.000Z
proj/spotibox/src/main.cpp
bananu7/Arduino
56769c0850a6da873c29a0ac78fa2e1133bb7cc7
[ "MIT" ]
2
2016-11-20T18:43:59.000Z
2016-11-20T18:44:11.000Z
proj/spotibox/src/main.cpp
bananu7/Arduino
56769c0850a6da873c29a0ac78fa2e1133bb7cc7
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <USBSerial.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> #include <algorithm> #include <array> #define Serial SerialUSB #define COLUMS 20 #define ROWS 4 #define LCD_SPACE_SYMBOL 0x20 LiquidCrystal_I2C lcd(PCF8574A_ADDR_A21_A11_A01, 4, 5, 6, 16,...
21.765766
89
0.557119
bananu7
2774d58a87cb76515efabf20debfa96d80460524
906
cpp
C++
BOJ_solve/18444.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/18444.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
BOJ_solve/18444.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #define x first #define y second using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<int,int> pi; int n,m; ll a[8005],cnt[8005]; ll d[805][8005],ans = 5e18; ll cost(int l,int r) { return (cnt[r]-cnt[l...
21.069767
50
0.543046
python-programmer1512
27763f130775bea9058c13958711130119e3a53b
7,045
cpp
C++
src/Shaders/Shader.cpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
6
2019-06-30T20:20:52.000Z
2022-01-07T06:31:18.000Z
src/Shaders/Shader.cpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
null
null
null
src/Shaders/Shader.cpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
3
2020-10-08T16:37:07.000Z
2022-01-07T06:31:22.000Z
#include "Shader.hpp" #include <fstream> #include <vector> Shader::Shader(const std::string &res, const std::string &v, const std::string &f) : Shader(res, v, f, "") { } Shader::Shader(const std::string &res, const std::string &vName, const std::string &fName, const std::string &gName) { pid = glCreateProgram()...
32.767442
173
0.615046
jaafersheriff
277abc4333fae9ad584f9941e11a89d8f50b2995
1,201
cpp
C++
src/coeus/client/img_config.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
1
2020-06-22T01:54:17.000Z
2020-06-22T01:54:17.000Z
src/coeus/client/img_config.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
null
null
null
src/coeus/client/img_config.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
null
null
null
/* ------------------------------------------------------------------------- // File : img_config.cpp // Author : // Datet : 2014/3/2 21:02 // Brief : // // -----------------------------------------------------------------------*/ // #include "stdafx.h" #include "img_config.h" #inc...
25.020833
76
0.47627
lib1256
277ce2789e52b9a9b10a5cbcef1d16be8678a2a2
275
cpp
C++
TouchGFX/generated/fonts/src/Kerning_Asap_Bold_12_4bpp.cpp
robinpipirs/stm32f746-canbus-display
5d5b94202476e1ab889fe79eeee5934d8421ed40
[ "MIT" ]
6
2020-05-11T11:51:07.000Z
2022-03-17T08:33:59.000Z
TouchGFX/generated/fonts/src/Kerning_Asap_Bold_12_4bpp.cpp
robinpipirs/stm32f746-canbus-display
5d5b94202476e1ab889fe79eeee5934d8421ed40
[ "MIT" ]
null
null
null
TouchGFX/generated/fonts/src/Kerning_Asap_Bold_12_4bpp.cpp
robinpipirs/stm32f746-canbus-display
5d5b94202476e1ab889fe79eeee5934d8421ed40
[ "MIT" ]
1
2021-03-10T15:56:40.000Z
2021-03-10T15:56:40.000Z
#include <touchgfx/Font.hpp> FONT_KERNING_LOCATION_FLASH_PRAGMA KEEP extern const touchgfx::KerningNode kerning_Asap_Bold_12_4bpp[] FONT_KERNING_LOCATION_FLASH_ATTRIBUTE = { { 0x004C, -1 }, // (First char = [0x004C, L], Second char = [0x0054, T], Kerning dist = -1) };
34.375
107
0.741818
robinpipirs
277e7d10338fd74d6d4feffc8099dfa926bafbca
4,374
cpp
C++
lib/test/BoxTools/timedDataIteratorTest.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
10
2018-02-01T20:57:36.000Z
2022-03-17T02:57:49.000Z
lib/test/BoxTools/timedDataIteratorTest.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
19
2018-10-04T21:37:18.000Z
2022-02-25T16:20:11.000Z
lib/test/BoxTools/timedDataIteratorTest.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
11
2019-01-12T23:33:32.000Z
2021-08-09T15:19:50.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif // dtgraves, Monday, April 23, 2007 #include <cmath> #include "Misc.H" #incl...
24.573034
72
0.557613
rmrsk
2783c01e733bdb65bbf2edd98eb60c6c1b41e57e
62
cpp
C++
docs/data/oledb/codesnippet/CPP/cdataconnection-operator-csession-amp_2.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/data/oledb/codesnippet/CPP/cdataconnection-operator-csession-amp_2.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/data/oledb/codesnippet/CPP/cdataconnection-operator-csession-amp_2.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
CDataConnection dc; dc.Open(szInit); SessionFunc(dc);
20.666667
22
0.677419
bobbrow
95987ec503ca935deb84626f63cae4b4e37732ca
3,211
cxx
C++
libbutl/sha256.cxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
6
2018-05-31T06:16:37.000Z
2021-03-19T10:37:11.000Z
libbutl/sha256.cxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
3
2020-06-19T05:08:42.000Z
2021-09-29T05:23:07.000Z
libbutl/sha256.cxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
1
2020-06-16T14:56:48.000Z
2020-06-16T14:56:48.000Z
// file : libbutl/sha256.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #include <libbutl/sha256.hxx> // C interface for sha256c. // #include <stdint.h> #include <stddef.h> // size_t struct SHA256_CTX { uint32_t state[8]; uint64_t count; uint8_t buf[64]; }; extern "C" { static void S...
18.348571
76
0.508876
build2
95a04a09baad452850b01938046c35fe07f4c133
1,264
cpp
C++
online_judges/ac/486/c/c.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
2
2018-02-20T14:44:57.000Z
2018-02-20T14:45:03.000Z
online_judges/ac/486/c/c.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
online_judges/ac/486/c/c.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int N = 1e5 + 10; int arr[N]; int vis[N]; int n, p, S, flag, left_, right_; int steps(int side, int direction) { int cS = 0; int i = p; ++flag; int ans = 0; int cleanLeft = left_, cleanRight = right_; if (side) { cleanRight = n - 1 - left_; clean...
17.315068
77
0.463608
miaortizma
95a0c0f96e86db59542df4aa1800b28b7132cf61
236
cpp
C++
bank-system/bank.cpp
azharjk/real-thing
368ae8dea73e77ae3fe50bd2eb11cbf2e8df9229
[ "MIT" ]
null
null
null
bank-system/bank.cpp
azharjk/real-thing
368ae8dea73e77ae3fe50bd2eb11cbf2e8df9229
[ "MIT" ]
null
null
null
bank-system/bank.cpp
azharjk/real-thing
368ae8dea73e77ae3fe50bd2eb11cbf2e8df9229
[ "MIT" ]
null
null
null
#include "bank.h" namespace bs { void Bank::withdraw(int value) { balance_ -= value; } void Bank::deposit(int value) { balance_ += value; } int Bank::get_balance() const { return balance_; } } // namespace bs
14.75
34
0.610169
azharjk
95a4605fa5a90f9d897edbb497f7ca463ef2b672
10,951
cpp
C++
AdditiveSynth/Source/PluginEditor.cpp
fedden/juceSynths
d1fb8fcd4143d74d889626f71ed3cbb8e0aebb1c
[ "MIT" ]
87
2017-03-13T20:49:49.000Z
2022-03-29T23:33:59.000Z
AdditiveSynth/Source/PluginEditor.cpp
JWBverheesen/juceSynths
d1fb8fcd4143d74d889626f71ed3cbb8e0aebb1c
[ "MIT" ]
5
2017-03-02T01:41:07.000Z
2021-01-05T02:29:51.000Z
AdditiveSynth/Source/PluginEditor.cpp
JWBverheesen/juceSynths
d1fb8fcd4143d74d889626f71ed3cbb8e0aebb1c
[ "MIT" ]
19
2017-03-28T09:28:05.000Z
2022-03-11T12:35:33.000Z
/* ============================================================================== This file was auto-generated! It contains the basic framework code for a JUCE plugin editor. ============================================================================== */ #include "PluginProcessor.h" #includ...
37.503425
113
0.654096
fedden
95b17ea06c0adc429fa140658709c966fe100e21
2,070
hh
C++
src/private/matrix.hh
rotiv123/circuitsim
8ced9f40c7b476f7dc4b4a8669d5962b06ccc041
[ "MIT" ]
null
null
null
src/private/matrix.hh
rotiv123/circuitsim
8ced9f40c7b476f7dc4b4a8669d5962b06ccc041
[ "MIT" ]
null
null
null
src/private/matrix.hh
rotiv123/circuitsim
8ced9f40c7b476f7dc4b4a8669d5962b06ccc041
[ "MIT" ]
null
null
null
// // Created by vitor on 15-08-2018. // #ifndef CIRCUITSIM_MATRIX_HH #define CIRCUITSIM_MATRIX_HH #include <vector> #include <algorithm> #include <cmath> namespace circuitsim { struct matrix { matrix(std::size_t m, std::size_t n) noexcept : storage_{}, M{m}, N{n} { storage_.reserve(M * N);...
23
80
0.415459
rotiv123
95b271b48a61e349e151324e4a6245b7e2e27bf3
142
hpp
C++
addons/zeus/configs/CfgFactionClasses.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/zeus/configs/CfgFactionClasses.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/zeus/configs/CfgFactionClasses.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
class CfgFactionClasses { class NO_CATEGORY; class SOCOMD_Zeus_Modules : NO_CATEGORY { displayName = "SOCOMD"; }; };
17.75
43
0.633803
SOCOMD
95b3b5625237a5db7af97e4c4bb683c357ba220f
1,706
cpp
C++
TotalSTL/src/iterator/user_defined_iterator.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
15
2015-11-04T12:53:23.000Z
2021-08-10T09:53:12.000Z
TotalSTL/src/iterator/user_defined_iterator.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
null
null
null
TotalSTL/src/iterator/user_defined_iterator.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
6
2015-11-13T10:17:01.000Z
2020-05-14T07:25:48.000Z
#include "gtest/gtest.h" #include "inc.h" #include "stl_headers.h" #include <functional> #include <unordered_set> #include <algorithm> #include <array> #include <iterator> NS_BEGIN(elloop); using namespace std; using namespace std::placeholders; using std::for_each; //----------------------- associative container ...
19.609195
80
0.658265
elloop
95b9de649bea84ade9956391958c8494ca4e5e38
927
cpp
C++
RawScript/Function.cpp
danzhu/RawScript
4e447dc7e7237ece7a68891b8cb1d339c79fb637
[ "MIT" ]
null
null
null
RawScript/Function.cpp
danzhu/RawScript
4e447dc7e7237ece7a68891b8cb1d339c79fb637
[ "MIT" ]
null
null
null
RawScript/Function.cpp
danzhu/RawScript
4e447dc7e7237ece7a68891b8cb1d339c79fb637
[ "MIT" ]
null
null
null
#include "Function.h" #include "Type.h" #include "Library.h" #include "Runtime.h" #include "String.h" using namespace RawScript; RawScript::Function::Function(Type * t, CFunction fn, std::string name) : Object(t), function(fn), name(name) { } Object * RawScript::Function::Invoke(Runtime * rt, Object * obj, Args & ...
23.769231
79
0.676375
danzhu
95bef21048b8faa4fa385f30079dcdf913351a3a
13,921
cpp
C++
src/Game/Playground/Playground.cpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/Game/Playground/Playground.cpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/Game/Playground/Playground.cpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
#include "core.hpp" #include "Playground.hpp" #include "AI.hpp" #include "AiControl.hpp" #include "Context.hpp" #include "Details.hpp" #include "Effects.hpp" #include "FrameTime.hpp" #include "GBufferSampler.hpp" #include "GraphicEngine.hpp" #include "LightRendering.hpp" #include "NoPathfinder.hpp" #include "Pathfinder...
42.966049
120
0.666547
LazyFalcon
95c0960bafaf88856f352cfcbd24d4989fe4c58e
4,953
cc
C++
ns-allinone-2.35/ns-2.35/mcast/rcvbuf.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2020-05-29T13:04:42.000Z
2020-05-29T13:04:42.000Z
ns-allinone-2.35/ns-2.35/mcast/rcvbuf.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/ns-2.35/mcast/rcvbuf.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
/* * rcvbuf.cc * Copyright (C) 2001 by the University of Southern California * $Id: rcvbuf.cc,v 1.2 2005/08/25 18:58:08 johnh Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License, * version 2, as published by the Free Software Foun...
22.111607
74
0.639007
nitishk017
95c36d63fb06e643099d71689f62140210712ce7
1,484
cpp
C++
c++/convert-sorted-array-to-binary-search-tree/main.cpp
matteougolotti/exercises
0ad1db8f75e1ee4e76727a430e1cc32e438cb918
[ "MIT" ]
null
null
null
c++/convert-sorted-array-to-binary-search-tree/main.cpp
matteougolotti/exercises
0ad1db8f75e1ee4e76727a430e1cc32e438cb918
[ "MIT" ]
null
null
null
c++/convert-sorted-array-to-binary-search-tree/main.cpp
matteougolotti/exercises
0ad1db8f75e1ee4e76727a430e1cc32e438cb918
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/ #include <iostream> #include <vector> struct TreeNode { int val; TreeNode* left; TreeNode* right; TreeNode(int x) : val{ x }, left{ nullptr }, right{ nullptr } {} }; TreeNode* insert(std::vector<int>& nums,int start,int end) { if(...
20.901408
76
0.600404
matteougolotti
95c725db6567efb8d35ff6567baa8d199ea9b5b3
3,339
cpp
C++
tests/Basic/P2pConnectionProxy/main.cpp
cash2/cash2
6ac125db7002d8b04232750e7bf8b46b46f6481f
[ "BSD-3-Clause" ]
5
2018-12-29T11:47:17.000Z
2021-04-30T11:40:15.000Z
tests/Basic/P2pConnectionProxy/main.cpp
aphivantrakul/cash2
6ac125db7002d8b04232750e7bf8b46b46f6481f
[ "BSD-3-Clause" ]
2
2019-07-10T15:53:44.000Z
2021-06-26T17:41:46.000Z
tests/Basic/P2pConnectionProxy/main.cpp
aphivantrakul/cash2
6ac125db7002d8b04232750e7bf8b46b46f6481f
[ "BSD-3-Clause" ]
10
2018-11-25T18:45:50.000Z
2022-03-21T17:19:42.000Z
// Copyright (c) 2018-2021 The Cash2 developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "gtest/gtest.h" #include "helperFunctions.h" #include "P2p/P2pConnectionProxy.h" #include "P2p/P2pContext.h" #include "...
29.034783
124
0.75322
cash2
95ccf160dabd84f7024606edfa0f3b53b73afbef
3,696
hpp
C++
DemoFramework/FslDemoHost/Base/include/FslDemoHost/Base/Service/Graphics/GraphicsService.hpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoFramework/FslDemoHost/Base/include/FslDemoHost/Base/Service/Graphics/GraphicsService.hpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslDemoHost/Base/include/FslDemoHost/Base/Service/Graphics/GraphicsService.hpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
1
2021-08-10T02:11:33.000Z
2021-08-10T02:11:33.000Z
#ifndef FSLDEMOHOST_BASE_SERVICE_GRAPHICS_GRAPHICSSERVICE_HPP #define FSLDEMOHOST_BASE_SERVICE_GRAPHICS_GRAPHICSSERVICE_HPP /**************************************************************************************************************************************************** * Copyright (c) 2014 Freescale Semiconductor, ...
47.384615
149
0.724026
alejandrolozano2
95cdba8a54b97a708dc530618f37cb0107c4be31
221
hpp
C++
src/definitions.hpp
egomeh/floaty-boaty-go-go
a011db6f1f8712bf3caa85becc1fd83ac5bf1996
[ "MIT" ]
2
2018-01-12T10:26:07.000Z
2018-02-02T19:03:00.000Z
src/definitions.hpp
egomeh/floaty-boaty-go-go
a011db6f1f8712bf3caa85becc1fd83ac5bf1996
[ "MIT" ]
null
null
null
src/definitions.hpp
egomeh/floaty-boaty-go-go
a011db6f1f8712bf3caa85becc1fd83ac5bf1996
[ "MIT" ]
null
null
null
#pragma once #ifndef UNICODE #define UNICODE #endif #include <windows.h> #ifndef DEFAULT_WINDOW_WIDTH #define DEFAULT_WINDOW_WIDTH 640 #endif #ifndef DEFAULT_WINDOW_HEIGHT #define DEFAULT_WINDOW_HEIGHT 480 #endif
13.8125
33
0.80543
egomeh
95d1942839779d1eab8b5ec1dca7b9e33920e13c
461
cpp
C++
cli/gasparize.cpp
johnnymac647/humlib
c67954045fb5570915d6a1c75d9a1e36cc9bdf93
[ "BSD-2-Clause" ]
19
2016-06-18T02:03:56.000Z
2022-02-23T17:26:32.000Z
cli/gasparize.cpp
johnnymac647/humlib
c67954045fb5570915d6a1c75d9a1e36cc9bdf93
[ "BSD-2-Clause" ]
43
2017-03-09T07:32:12.000Z
2022-03-23T20:18:35.000Z
cli/gasparize.cpp
johnnymac647/humlib
c67954045fb5570915d6a1c75d9a1e36cc9bdf93
[ "BSD-2-Clause" ]
5
2019-11-14T22:24:02.000Z
2021-09-07T18:27:21.000Z
// // Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Creation Date: Thu Jul 29 09:44:58 CEST 2021 // Last Modified: Thu Jul 29 09:45:00 CEST 2021 // Filename: gasparize.cpp // URL: https://github.com/craigsapp/humlib/blob/master/cli/gasparize.cpp // Syntax: C++11 // vim: ...
24.263158
83
0.663774
johnnymac647
95d35b955d826a19be5c058a0432bf606f95b37b
650
cpp
C++
src/shaders.cpp
Sirithang/alfodr
0fd3ee214d2964f8d702ecf2ffd66fdf3c1ec7ee
[ "MIT" ]
null
null
null
src/shaders.cpp
Sirithang/alfodr
0fd3ee214d2964f8d702ecf2ffd66fdf3c1ec7ee
[ "MIT" ]
null
null
null
src/shaders.cpp
Sirithang/alfodr
0fd3ee214d2964f8d702ecf2ffd66fdf3c1ec7ee
[ "MIT" ]
1
2018-07-19T14:39:01.000Z
2018-07-19T14:39:01.000Z
#include "shaders.h" #include "renderer.h" using namespace alfodr; alfar::Vector4 sampler2d::sample(Renderer& renderer, uint32 sampler, alfar::Vector4 uv) { int x,y; Texture2D& tex = renderer._textures2D.lookup(renderer.samplers[sampler].texture); x = ((int)(uv.x * tex._width)) % tex._width; y = ((int)((1.0f-uv...
32.5
123
0.707692
Sirithang
95e399ac536795d9951690050dd3ae655b7b942a
1,324
cpp
C++
Homework_3/bubblesort_vector.cpp
ankitpatel9300/ece2025
569bfbd759b9070b9bbf0ae2924e16fa76999824
[ "MIT" ]
null
null
null
Homework_3/bubblesort_vector.cpp
ankitpatel9300/ece2025
569bfbd759b9070b9bbf0ae2924e16fa76999824
[ "MIT" ]
null
null
null
Homework_3/bubblesort_vector.cpp
ankitpatel9300/ece2025
569bfbd759b9070b9bbf0ae2924e16fa76999824
[ "MIT" ]
1
2020-03-12T03:23:30.000Z
2020-03-12T03:23:30.000Z
/* * bubblesort_vector.cpp * * Created on: Jul. 2, 2019 * Author: ankit */ #include <iostream> #include <vector> //function to swap values //need to pass by reference to sort the original values and not just these copies void swap (int *a, int *b) { int copy = *a; *a = *b; *b = copy; } void b...
19.470588
81
0.530211
ankitpatel9300
95e92c6989d4b3b81705ceb33214e694212dcd29
3,972
cpp
C++
src/tests/class_tests/openms/source/MSRunIMSplitter_test.cpp
Togepitsch/OpenMS
b4bd89fbbcc0d56143eb5a0145ba847210fb3aaa
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
src/tests/class_tests/openms/source/MSRunIMSplitter_test.cpp
Togepitsch/OpenMS
b4bd89fbbcc0d56143eb5a0145ba847210fb3aaa
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
src/tests/class_tests/openms/source/MSRunIMSplitter_test.cpp
Togepitsch/OpenMS
b4bd89fbbcc0d56143eb5a0145ba847210fb3aaa
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
37.121495
102
0.624874
Togepitsch
95ec98a24718516de24b16884ac037087bf69ff6
742
cpp
C++
dpd_test/build/BuiltinConnections.cpp
susanalainez/ADPD_LimeSDR-QPCIe_USB3
1701f81d30e57dc81f3b017f1031139783dd67f7
[ "Apache-2.0" ]
null
null
null
dpd_test/build/BuiltinConnections.cpp
susanalainez/ADPD_LimeSDR-QPCIe_USB3
1701f81d30e57dc81f3b017f1031139783dd67f7
[ "Apache-2.0" ]
null
null
null
dpd_test/build/BuiltinConnections.cpp
susanalainez/ADPD_LimeSDR-QPCIe_USB3
1701f81d30e57dc81f3b017f1031139783dd67f7
[ "Apache-2.0" ]
1
2020-08-03T08:25:06.000Z
2020-08-03T08:25:06.000Z
/*********************************************************************** * This is a collection of all built-in connections that are included * with the library. Additional connections can be added dynamically. **********************************************************************/ #define ENABLE_EVB7COM #define EN...
26.5
72
0.62938
susanalainez
95efffe6d4e201e49a50d540c1024eadbb1f032f
654
hpp
C++
server/src/objects/deposit.hpp
p-mercury/gridlock
d3c458fa0c74fe776df489ed82a860eaf5dc1abe
[ "MIT" ]
1
2020-06-11T13:28:32.000Z
2020-06-11T13:28:32.000Z
server/src/objects/deposit.hpp
JustinZal/gridlock
d3c458fa0c74fe776df489ed82a860eaf5dc1abe
[ "MIT" ]
1
2020-06-14T07:54:53.000Z
2020-06-14T07:54:53.000Z
server/src/objects/deposit.hpp
JustinZal/gridlock
d3c458fa0c74fe776df489ed82a860eaf5dc1abe
[ "MIT" ]
1
2021-08-24T09:22:18.000Z
2021-08-24T09:22:18.000Z
#ifndef GRIDLOCK_DEPOSIT_HPP #define GRIDLOCK_DEPOSIT_HPP #include <stdexcept> #include <vector> #include "constants.hpp" #include "material.hpp" #include "nonPhysicsObject.hpp" #include "deposit.hpp" class Deposit:public NonPhysicsObject{ private: //Material contained std::shared_ptr<Material> material; //How...
17.210526
38
0.764526
p-mercury
95f05338c9c9ca182759867f2965c6b9d2b28d85
454
hpp
C++
mllib/DataPreprocessor.hpp
Christina-hshi/Boosting-with-Husky
1744f0c90567a969d3e50d19f27f358f5865d2f6
[ "Apache-2.0" ]
1
2019-01-23T02:10:10.000Z
2019-01-23T02:10:10.000Z
mllib/DataPreprocessor.hpp
Christina-hshi/Boosting-with-Husky
1744f0c90567a969d3e50d19f27f358f5865d2f6
[ "Apache-2.0" ]
null
null
null
mllib/DataPreprocessor.hpp
Christina-hshi/Boosting-with-Husky
1744f0c90567a969d3e50d19f27f358f5865d2f6
[ "Apache-2.0" ]
null
null
null
#pragma once #include "mllib/Instances.hpp" namespace husky{ namespace mllib{ class DataPreprocessor { public: DataPreprocessor(){}; virtual void fit(const Instances& instances) = 0; virtual void fit_transform(Instances& instances) = 0; virtua...
26.705882
70
0.599119
Christina-hshi
95f1766333cb0d7838e4e4f28f08dbe9c8dfb3c8
1,226
cc
C++
Stack_Queue/1_Implement_Stack_Using_Queues/method3/solution.cc
sheriby/DandAInLeetCode
dd7f5029aa0c297ea82bb20f882b524789f35c96
[ "MIT" ]
1
2020-02-07T12:25:56.000Z
2020-02-07T12:25:56.000Z
Stack_Queue/1_Implement_Stack_Using_Queues/method3/solution.cc
sheriby/DandAInLeetCode
dd7f5029aa0c297ea82bb20f882b524789f35c96
[ "MIT" ]
null
null
null
Stack_Queue/1_Implement_Stack_Using_Queues/method3/solution.cc
sheriby/DandAInLeetCode
dd7f5029aa0c297ea82bb20f882b524789f35c96
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> class MyStack { private: // method1 use a simple array int Capacity; int *element; int size; bool isPushOk() { return size < Capacity; } void grow() { Capacity = Capacity + (Capacity >> 1); int *newEle = new int[Capacity]; std::cop...
23.576923
76
0.54894
sheriby
95f26b89ccbf037c054437181262dc100caffa33
977
cc
C++
Code/0982-minimum-increment-to-make-array-unique.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
2
2019-12-06T14:08:57.000Z
2020-01-15T15:25:32.000Z
Code/0982-minimum-increment-to-make-array-unique.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
1
2020-01-15T16:29:16.000Z
2020-01-26T12:40:13.000Z
Code/0982-minimum-increment-to-make-array-unique.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
null
null
null
class Solution { public: int minIncrementForUnique(vector<int>& A) { if (A.size() < 2) { return 0; } int count[40000]; memset(count, 0, sizeof(count)); int maxValue = A[0]; int minValue = A[0]; for (auto a : A) { count[a]++; ...
27.138889
65
0.404299
SMartQi
95fb66ade01a2b15e83f3a3a6e0fd3c78bfad528
11,572
cpp
C++
tests/unit/unit_tests/server/router_test.cpp
PascalMarechal/cpphttp
7cf0a95cf46cf496b096c3c3ae6af55f66baa582
[ "MIT" ]
null
null
null
tests/unit/unit_tests/server/router_test.cpp
PascalMarechal/cpphttp
7cf0a95cf46cf496b096c3c3ae6af55f66baa582
[ "MIT" ]
null
null
null
tests/unit/unit_tests/server/router_test.cpp
PascalMarechal/cpphttp
7cf0a95cf46cf496b096c3c3ae6af55f66baa582
[ "MIT" ]
null
null
null
/** * Copyright (c) 2020 Pascal Marechal * * Distributed under the MIT License. (See accompanying file LICENSE) */ #include <gtest/gtest.h> #include <gmock/gmock.h> #include <filesystem> #include "server/router.h" #include "common/requests.h" using namespace cpphttp::server; using namespace cpphttp::request; us...
34.440476
202
0.715866
PascalMarechal
95feb1f9d1e59b5c0fea766a1706d80e022deea3
9,529
cpp
C++
source/libgui/MYGUI/mygui_texture.cpp
Lauvak/ray
906d3991ddd232a7f78f0e51f29aeead008a139a
[ "BSD-3-Clause" ]
113
2015-06-25T06:24:59.000Z
2021-09-26T02:46:02.000Z
source/libgui/MYGUI/mygui_texture.cpp
Lauvak/ray
906d3991ddd232a7f78f0e51f29aeead008a139a
[ "BSD-3-Clause" ]
2
2015-05-03T07:22:49.000Z
2017-12-11T09:17:20.000Z
source/libgui/MYGUI/mygui_texture.cpp
Lauvak/ray
906d3991ddd232a7f78f0e51f29aeead008a139a
[ "BSD-3-Clause" ]
17
2015-11-10T15:07:15.000Z
2021-01-19T15:28:16.000Z
// +---------------------------------------------------------------------- // | Project : ray. // | All rights reserved. // +---------------------------------------------------------------------- // | Copyright (c) 2013-2015. // +---------------------------------------------------------------------- // | * Redistributi...
27.148148
156
0.7346
Lauvak
95ffbc333ed5f68407631881724730755ac3b613
17,928
cxx
C++
StatNonParamTestPDM/shapeAnalysisMANCOVA.cxx
slicersalt/shapeAnalysisMANCOVA
7f36668b481876b7b0f8fbfafde7b93b3cb9a333
[ "Apache-2.0" ]
null
null
null
StatNonParamTestPDM/shapeAnalysisMANCOVA.cxx
slicersalt/shapeAnalysisMANCOVA
7f36668b481876b7b0f8fbfafde7b93b3cb9a333
[ "Apache-2.0" ]
1
2021-09-02T17:58:35.000Z
2021-09-02T17:58:35.000Z
shapeAnalysisMANCOVA/shapeAnalysisMANCOVA.cxx
slicersalt/shapeAnalysisMANCOVA
7f36668b481876b7b0f8fbfafde7b93b3cb9a333
[ "Apache-2.0" ]
3
2018-08-28T15:33:38.000Z
2021-09-02T17:57:32.000Z
/*********************************** *** Written by Marc Macenko *** *** 09/25/2008 *** *** Modified by Marc Niethammer *** *** 05/2009 *** *** Modified by Beatriz Paniagua *** *** 08/2009 and 09/2009 *** ************************************/ #include "MANCOVA.h" #...
34.148571
322
0.651885
slicersalt
2502eed2a5f2bac260af88478b1dd51d478322ed
2,257
cpp
C++
edison_gpu/thirdparty/cl_utils/src/cl/Platform.cpp
PolarNick239/OpenMeanShift
fa61d3e6f0ce93c46f8a1247a8d8ef6f541965ec
[ "MIT" ]
4
2018-04-25T07:53:13.000Z
2021-03-26T14:31:57.000Z
edison_gpu/thirdparty/cl_utils/src/cl/Platform.cpp
PolarNick239/OpenMeanShift
fa61d3e6f0ce93c46f8a1247a8d8ef6f541965ec
[ "MIT" ]
null
null
null
edison_gpu/thirdparty/cl_utils/src/cl/Platform.cpp
PolarNick239/OpenMeanShift
fa61d3e6f0ce93c46f8a1247a8d8ef6f541965ec
[ "MIT" ]
3
2019-07-23T20:24:17.000Z
2019-12-04T06:09:26.000Z
#include "cl/Platform.h" #include <sstream> #include <algorithm> #define CHECKED_NULL(call) if (!OK(call)) return nullptr; using namespace cl; using std::string; using std::vector; std::vector<Platform_ptr> cl::getPlatforms() { cl_uint platforms_num; CHECKED(clGetPlatformIDs(0, NULL, &platforms_num)); ...
31.788732
116
0.677891
PolarNick239
250afe711913b4c9482c169d79a369d8f5adf82e
6,598
cpp
C++
BinarySearchTree/BinarySearchTree/main.cpp
destiny0114/Source-Code-for-Data-Structures-and-Algorithm-Analysis-in-C-Cpp
4ece235bb37256a796685beaed629bebbfa085cd
[ "MIT" ]
null
null
null
BinarySearchTree/BinarySearchTree/main.cpp
destiny0114/Source-Code-for-Data-Structures-and-Algorithm-Analysis-in-C-Cpp
4ece235bb37256a796685beaed629bebbfa085cd
[ "MIT" ]
null
null
null
BinarySearchTree/BinarySearchTree/main.cpp
destiny0114/Source-Code-for-Data-Structures-and-Algorithm-Analysis-in-C-Cpp
4ece235bb37256a796685beaed629bebbfa085cd
[ "MIT" ]
null
null
null
// // main.cpp // BinarySearchTree // // Created by Rockabye Saw on 21/01/2021. // Copyright © 2021 Rockabye Saw. All rights reserved. // // 查找树(BST)主要是左边要小过与父母,而右边则大过。 // https://www.geeksforgeeks.org/binary-search-tree-data-structure/ // https://www.geeksforgeeks.org/binary-search-tree-set-3-iterative-delete/ ...
23.150877
88
0.521976
destiny0114
250b25d0764b278bf4ba53197cd9b2cd7631ecf4
856
cc
C++
src/utils/pdlfs_crc32c_internal.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
1
2021-01-11T14:19:51.000Z
2021-01-11T14:19:51.000Z
src/utils/pdlfs_crc32c_internal.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
src/utils/pdlfs_crc32c_internal.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015-2017 Carnegie Mellon University. * * All rights reserved. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. See the AUTHORS file for names of contributors. */ // pdlfs-common/src/crc32c_internal.cc #include "utils/pdlfs_crc32c_intern...
30.571429
80
0.742991
pengdu
251623d948813e8f0acae70405b413433b3f05ad
1,146
hpp
C++
src/benchmarks/cusparse-bench/include/io-exception.hpp
xfong/clSPARSE
fa026dcb99a374678624530dff041322d67e0630
[ "Apache-2.0" ]
164
2015-08-03T21:53:40.000Z
2022-03-31T14:58:11.000Z
src/benchmarks/cusparse-bench/include/io-exception.hpp
xfong/clSPARSE
fa026dcb99a374678624530dff041322d67e0630
[ "Apache-2.0" ]
94
2015-08-04T15:49:30.000Z
2021-02-01T14:28:35.000Z
src/benchmarks/cusparse-bench/include/io-exception.hpp
xfong/clSPARSE
fa026dcb99a374678624530dff041322d67e0630
[ "Apache-2.0" ]
76
2015-08-04T00:00:44.000Z
2021-09-17T17:53:06.000Z
/* ************************************************************************ * Copyright 2015 Vratis, 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/lice...
26.045455
78
0.645724
xfong
2519b33e728ea5525e97b181a9c9cfc59ceb140d
382
hpp
C++
include/usage_sec.hpp
rxnew/Ecc
23901045f851d7349e616e4f66bd5fd2f35a16f7
[ "MIT" ]
2
2016-11-25T18:36:55.000Z
2016-11-26T01:24:00.000Z
include/usage_sec.hpp
rxnew/ecc
23901045f851d7349e616e4f66bd5fd2f35a16f7
[ "MIT" ]
null
null
null
include/usage_sec.hpp
rxnew/ecc
23901045f851d7349e616e4f66bd5fd2f35a16f7
[ "MIT" ]
null
null
null
#ifndef __USAGESEC_HPP__ #define __USAGESEC_HPP__ #include <iostream> #include <iomanip> #include <sys/time.h> #include <sys/resource.h> class UsageSec { private: double start_time_; double stop_time_; double getSec() const; public: UsageSec(); ~UsageSec(); void start(); void stop(); double getUsage...
15.916667
37
0.704188
rxnew
251dca17c6c9e2390bdc72deeefcacf59b0ecebe
2,528
hpp
C++
SDK/ARKSurvivalEvolved_Buff_RiderFlyingWindWoosh_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Buff_RiderFlyingWindWoosh_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Buff_RiderFlyingWindWoosh_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Buff_RiderFlyingWindWoosh_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------...
42.847458
173
0.594146
2bite
251e3ce68f4ccf1fb194da92105624fa984fdf21
1,644
cpp
C++
src/jippi/jippi.cpp
kmichalak/jippi
99f9012caff01d519f29fbe8ecc38fa01fd28676
[ "Apache-2.0" ]
1
2018-03-20T20:34:15.000Z
2018-03-20T20:34:15.000Z
src/jippi/jippi.cpp
kmichalak/jippi
99f9012caff01d519f29fbe8ecc38fa01fd28676
[ "Apache-2.0" ]
null
null
null
src/jippi/jippi.cpp
kmichalak/jippi
99f9012caff01d519f29fbe8ecc38fa01fd28676
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014 Kamil Michalak <kmichalak8@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
27.4
119
0.751825
kmichalak
252302aa5d935b3d2b13fc36a2a77e33b3c70f72
440
cpp
C++
abs.cpp
Cinkye/NumberExerciseThree
a1c37e9a82eff7797997b524cbf185149f0449c0
[ "MIT" ]
null
null
null
abs.cpp
Cinkye/NumberExerciseThree
a1c37e9a82eff7797997b524cbf185149f0449c0
[ "MIT" ]
null
null
null
abs.cpp
Cinkye/NumberExerciseThree
a1c37e9a82eff7797997b524cbf185149f0449c0
[ "MIT" ]
null
null
null
#include "abs.h" #include <iostream> using namespace std; AbstractNumber* AbstractNumber::operator+(AbstractNumber& a) { return &a; } AbstractNumber* AbstractNumber::operator*(AbstractNumber& a) { return &a; } void AbstractNumber::print() { } void AbstractNumber::SetNumber(double i) { } double AbstractNumber::...
11.891892
60
0.722727
Cinkye
2536b1fe6f4dc9b30e419bba27f2c33cc5b42098
676
cpp
C++
leetcode/list/lc206.cpp
fethx/CS-Notes
9316231404ea7fc57748ce13675f390abef9e436
[ "MIT" ]
null
null
null
leetcode/list/lc206.cpp
fethx/CS-Notes
9316231404ea7fc57748ce13675f390abef9e436
[ "MIT" ]
null
null
null
leetcode/list/lc206.cpp
fethx/CS-Notes
9316231404ea7fc57748ce13675f390abef9e436
[ "MIT" ]
null
null
null
//206. Reverse Linked List // solution 1. recursive class Solution { public: ListNode* reverseList(ListNode* head) { if(!head || head -> next == NULL) return head; ListNode* last = reverseList(head -> next); head -> next -> next = head; head -> next = NULL; return last; ...
23.310345
54
0.511834
fethx
25403e46c331f5073b7ed9bf4b46151d5945144b
328
hpp
C++
falcon/type_traits/add_n_pointer.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/type_traits/add_n_pointer.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/type_traits/add_n_pointer.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_TYPE_TRAITS_ADD_N_POINTER_HPP #define FALCON_TYPE_TRAITS_ADD_N_POINTER_HPP #include <cstddef> namespace falcon { template<typename T, std::size_t N> struct add_n_pointer { typedef typename add_n_pointer<T*, N-1>::type type; }; template<typename T> struct add_n_pointer<T, 0> { typedef T type; }; } ...
14.26087
52
0.771341
jonathanpoelen
254368d4292f0aa4a44d2d70a6426538145633cc
382
cpp
C++
src/Core/Subsystems/Renderer/world/Texture.cpp
tmarrec/vulkan-testings
954421ca5365c9b509b0bd3765c9b804201d0df5
[ "MIT" ]
null
null
null
src/Core/Subsystems/Renderer/world/Texture.cpp
tmarrec/vulkan-testings
954421ca5365c9b509b0bd3765c9b804201d0df5
[ "MIT" ]
null
null
null
src/Core/Subsystems/Renderer/world/Texture.cpp
tmarrec/vulkan-testings
954421ca5365c9b509b0bd3765c9b804201d0df5
[ "MIT" ]
null
null
null
#include "Texture.h" Texture::Texture(const tinygltf::Texture& gltfTexture, tinygltf::Model& model) : _image{std::make_shared<tinygltf::Image>(model.images[gltfTexture.source])} , _img { .width = _image->width, .height = _image->height, .data = _image->image } { std::cout << "Texture !" << std::endl; }...
20.105263
78
0.662304
tmarrec
254396cfc966b13d0716fdf9116e3cc3a2cd779a
1,033
cpp
C++
code/Divide-a-String-Into-Groups-of-Size-k.cpp
Asit0007/DSA-problems
4caccca49209710ac8d859e0ac867d5551f064dc
[ "MIT" ]
null
null
null
code/Divide-a-String-Into-Groups-of-Size-k.cpp
Asit0007/DSA-problems
4caccca49209710ac8d859e0ac867d5551f064dc
[ "MIT" ]
null
null
null
code/Divide-a-String-Into-Groups-of-Size-k.cpp
Asit0007/DSA-problems
4caccca49209710ac8d859e0ac867d5551f064dc
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> using namespace std; class Solution { public: vector<string> divideString(string s, int k, char fill) { //variable space vector<string> result; string temp=""; int l = s.length(); int count=0; int rem =...
22.955556
75
0.424008
Asit0007
8588c9dacb10e37daca2c9ad21673f5a71e41759
2,097
cpp
C++
src/environ.cpp
terrywh/libphpext
6f41d4d8f4ba373c4b1e5173f9145a2bc409fe8c
[ "MIT" ]
6
2018-05-29T13:42:14.000Z
2020-12-23T16:04:43.000Z
src/environ.cpp
terrywh/libphpext
6f41d4d8f4ba373c4b1e5173f9145a2bc409fe8c
[ "MIT" ]
1
2019-08-20T10:07:30.000Z
2019-08-20T10:07:30.000Z
src/environ.cpp
terrywh/libphpext
6f41d4d8f4ba373c4b1e5173f9145a2bc409fe8c
[ "MIT" ]
5
2017-07-20T06:08:32.000Z
2021-05-21T17:10:43.000Z
#include "environ.h" #include "util.h" PHPAPI extern char *php_ini_opened_path; namespace php { // 文本常量:方法名称 static const char* method_name_cstr[] = { ZEND_CLONE_FUNC_NAME, ZEND_CONSTRUCTOR_FUNC_NAME, ZEND_DESTRUCTOR_FUNC_NAME, ZEND_GET_FUNC_NAME, ZEND_SET_FUNC_NAME, ...
35.542373
121
0.650453
terrywh
858a9eb94aa673386c84dea9b3ed466dda5d0ac3
551
cpp
C++
src/Engine/src/Engine.cpp
sole2me/sole
1a77736702dd9692f5bef1e3572db16d5415d6f3
[ "MIT" ]
1
2022-03-10T08:28:34.000Z
2022-03-10T08:28:34.000Z
src/Engine/src/Engine.cpp
sole2me/sole
1a77736702dd9692f5bef1e3572db16d5415d6f3
[ "MIT" ]
null
null
null
src/Engine/src/Engine.cpp
sole2me/sole
1a77736702dd9692f5bef1e3572db16d5415d6f3
[ "MIT" ]
null
null
null
#include "Engine.h" #include "Actuator.h" namespace sole{ void Engine::exec(sole::Data & d,sole::Data & v) { shared_ptr<Actuator> actPtr = std::make_shared<Actuator>(); m_tp.exec(std::bind(&Actuator::doContext, actPtr.get(), std::placeholders::_1, std::placeholders::_2) ,ref(d), ref...
20.407407
109
0.551724
sole2me
858bcbd1ece530d1f8c66637e0f819e32690666b
680
cpp
C++
Examenes/2ExamenPracticasJavi/VectotDinamico.cpp
JArandaIzquierdo/FP
a38e711c89c82c70aadafb79687a06b66fca5dcb
[ "Apache-2.0" ]
null
null
null
Examenes/2ExamenPracticasJavi/VectotDinamico.cpp
JArandaIzquierdo/FP
a38e711c89c82c70aadafb79687a06b66fca5dcb
[ "Apache-2.0" ]
null
null
null
Examenes/2ExamenPracticasJavi/VectotDinamico.cpp
JArandaIzquierdo/FP
a38e711c89c82c70aadafb79687a06b66fca5dcb
[ "Apache-2.0" ]
null
null
null
/* Crear un vector de enteros en memoria dinamica de n elementos y rellenarlo (tod en el main). Crear una funcion (en la que los parametros sean punteros), y que devuelva la media de los datos del vector y el valor maximo. */ #include<iostream> using namespace std; int main(){ int n;//Numero de elementos que quere...
21.935484
79
0.675
JArandaIzquierdo
859a9e618304e56d4c541b7c9169593e5cc6cc7e
2,405
cpp
C++
src/View/GridDisplay.cpp
KieraG/A-Test
22c2de3b8765fa25a6c4f063cda4e33f58b11ea8
[ "MIT" ]
null
null
null
src/View/GridDisplay.cpp
KieraG/A-Test
22c2de3b8765fa25a6c4f063cda4e33f58b11ea8
[ "MIT" ]
null
null
null
src/View/GridDisplay.cpp
KieraG/A-Test
22c2de3b8765fa25a6c4f063cda4e33f58b11ea8
[ "MIT" ]
null
null
null
#pragma once #include "GridDisplay.hpp" #include "Engine/OpenGL.hpp" namespace GridDisplay { void displayGrid(Grid &grid) { for (int x = 0; x < grid.gridSizeX; x++) { for (int y = 0; y < grid.gridSizeY; y++) { glPushMatrix(); glTranslatef(x - 0.5f * grid.gridS...
33.402778
77
0.430353
KieraG
859c7e078183e4b6309eb717b019980869f10365
3,691
cpp
C++
android-31/android/net/Uri_Builder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/net/Uri_Builder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/net/Uri_Builder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./Uri.hpp" #include "../../JString.hpp" #include "./Uri_Builder.hpp" namespace android::net { // Fields // QJniObject forward Uri_Builder::Uri_Builder(QJniObject obj) : JObject(obj) {} // Constructors Uri_Builder::Uri_Builder() : JObject( "android.net.Uri$Builder", "()V" ) {} // Methods...
23.660256
94
0.694121
YJBeetle
85a50d3308d769b13fcf9a6cfa18f07f8d0b6b57
2,429
cpp
C++
test/vector_algorithm_suite.cpp
breese/trial.circular
8b8269c1ba90f1cb3c7a8970a27ccb149069ed24
[ "BSL-1.0" ]
5
2020-06-06T20:33:43.000Z
2020-11-03T01:21:20.000Z
test/vector_algorithm_suite.cpp
breese/trial.circular
8b8269c1ba90f1cb3c7a8970a27ccb149069ed24
[ "BSL-1.0" ]
null
null
null
test/vector_algorithm_suite.cpp
breese/trial.circular
8b8269c1ba90f1cb3c7a8970a27ccb149069ed24
[ "BSL-1.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2019 Bjorn Reese <breese@users.sourceforge.net> // // 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) /...
27.602273
85
0.509675
breese
85a8a343b5108c853f22271899403170652a61a9
428
cpp
C++
Array/interseccao-listas.cpp
leandro-araujo-silva/Estrutura-de-dados
62acf3eb42f6ea495d94808ad3d5593b5513cea4
[ "MIT" ]
null
null
null
Array/interseccao-listas.cpp
leandro-araujo-silva/Estrutura-de-dados
62acf3eb42f6ea495d94808ad3d5593b5513cea4
[ "MIT" ]
null
null
null
Array/interseccao-listas.cpp
leandro-araujo-silva/Estrutura-de-dados
62acf3eb42f6ea495d94808ad3d5593b5513cea4
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int vet1[20]; int vet2[20]; int cont = 0; for(int i =0; i < 20; i++) { cin >> vet1[i]; } for (int i =0; i < 20; i++) { cin >> vet2[i]; } for (int i =0; i < 20; i++) { for(int j = 0; j < 20; j++) if (vet1[i] == vet2[j]) { co...
13.806452
31
0.425234
leandro-araujo-silva
85af789e27e24f9c5fb6347363f98514902d0efc
82
cpp
C++
src/rdf4cpp/rdf/storage/node/identifier/LiteralType.cpp
kaimal11/rdf4cpp
c6c38937dc004ecd459ef881dc2cf6217d1cfeae
[ "MIT" ]
null
null
null
src/rdf4cpp/rdf/storage/node/identifier/LiteralType.cpp
kaimal11/rdf4cpp
c6c38937dc004ecd459ef881dc2cf6217d1cfeae
[ "MIT" ]
null
null
null
src/rdf4cpp/rdf/storage/node/identifier/LiteralType.cpp
kaimal11/rdf4cpp
c6c38937dc004ecd459ef881dc2cf6217d1cfeae
[ "MIT" ]
null
null
null
#include "LiteralType.hpp" namespace rdf4cpp::rdf::storage::node::identifier { }
16.4
51
0.743902
kaimal11
85b256f5d9fe6b965da108604e93233b45562ce6
771
cc
C++
洛谷/入门/P2651.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
67
2019-07-14T05:38:41.000Z
2021-12-23T11:52:51.000Z
洛谷/入门/P2651.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
null
null
null
洛谷/入门/P2651.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
12
2020-01-16T10:48:01.000Z
2021-06-11T16:49:04.000Z
/* * Author : OFShare * E-mail : OFShare@outlook.com * Created Time : 2020-02-27 22:00:43 PM * File Name : P2651.cc */ #include <bits/stdc++.h> #define ll long long void debug() { #ifdef Acui freopen("data.in", "r", stdin); freopen("data.out", "w", stdout); #endif } const int N = ...
17.930233
41
0.460441
OFShare
85c28af92d39844066d9dc7fcfdab9bebfce2f57
741
cpp
C++
GatewayServer/Source/Net/PacketHandlerCG.cpp
KaleoFeng/MetazionWorld
2790ef2cdef2e698687725d816e2f490da5150e0
[ "MIT" ]
4
2019-08-30T22:58:41.000Z
2020-10-20T06:27:08.000Z
GatewayServer/Source/Net/PacketHandlerCG.cpp
KaleoFeng/MetazionWorld
2790ef2cdef2e698687725d816e2f490da5150e0
[ "MIT" ]
null
null
null
GatewayServer/Source/Net/PacketHandlerCG.cpp
KaleoFeng/MetazionWorld
2790ef2cdef2e698687725d816e2f490da5150e0
[ "MIT" ]
1
2020-02-29T02:50:31.000Z
2020-02-29T02:50:31.000Z
#include "PacketHandlerCG.hpp" #include "Common/Packet/PacketCG.hpp" #include "Common/Packet/PacketGC.hpp" void PacketHandlerCG::Handle(ServerSocketCG* socket , int command, const void* data, int length) { ::printf("Command[%d] data[%p] length[%d]\n", command, data, length); switch (command) { case C...
26.464286
73
0.690958
KaleoFeng
85c4c63297a7e3e3ea176046eeefe7ffcc5022c6
359
cpp
C++
moe-converter/src/converter.cpp
yichiuan/Moedict-Android
f88e02cd6f6f77f03ea5b4f23124da09ad48b940
[ "Apache-2.0" ]
null
null
null
moe-converter/src/converter.cpp
yichiuan/Moedict-Android
f88e02cd6f6f77f03ea5b4f23124da09ad48b940
[ "Apache-2.0" ]
null
null
null
moe-converter/src/converter.cpp
yichiuan/Moedict-Android
f88e02cd6f6f77f03ea5b4f23124da09ad48b940
[ "Apache-2.0" ]
null
null
null
#include "converter.h" #include <fstream> namespace moe { void Converter::save(FlatBufferBuilder& builder, const string& output) { uint8_t* buffer_point = builder.GetBufferPointer(); auto size = builder.GetSize(); std::ofstream of(output, std::ios::binary); of.write(reinterpret_cast<const char*>(buff...
22.4375
72
0.699164
yichiuan
85c9aa3b9ae9cec2d843c3cb5d2eb16f3186b185
1,527
hpp
C++
libs/opencl/include/sge/opencl/memory_object/buffer.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/opencl/include/sge/opencl/memory_object/buffer.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/opencl/include/sge/opencl/memory_object/buffer.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_OPENCL_MEMORY_OBJECT_BUFFER_HPP_INCLUDED #define SGE_OPENCL_MEMORY_OBJECT_BUFFER_HPP_IN...
28.811321
97
0.763589
cpreh
85d35a64ca2c4d48662784a555df9726c579f00c
3,110
cpp
C++
deadjustice/GameMusic.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
deadjustice/GameMusic.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
deadjustice/GameMusic.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "GameMusic.h" #include "ScriptUtil.h" #include <util/ExProperties.h> #include <music/MusicManager.h> #include <script/ScriptException.h> #include "config.h" //----------------------------------------------------------------------------- using namespace io; using namespace sg; using namespace lang;...
30.194175
156
0.633762
Andrewich
85d367c6b24e856515baa38a31e8310376e862de
6,252
cpp
C++
source/AttribEraser.cpp
thaflo/Becasso
9a1411913ee46f4dfa5116def50ebc41495dad28
[ "MIT" ]
2
2020-10-05T14:18:09.000Z
2021-08-05T02:56:43.000Z
source/AttribEraser.cpp
thaflo/Becasso
9a1411913ee46f4dfa5116def50ebc41495dad28
[ "MIT" ]
26
2017-01-10T19:54:10.000Z
2020-12-17T07:28:57.000Z
source/AttribEraser.cpp
thaflo/Becasso
9a1411913ee46f4dfa5116def50ebc41495dad28
[ "MIT" ]
5
2017-12-14T18:46:08.000Z
2020-12-13T18:22:34.000Z
#include "AttribEraser.h" #include "Slider.h" #include "Colors.h" #include <Box.h> #include <Window.h> #include <string.h> #include <stdio.h> #include "Settings.h" static property_info prop_list[] = { {"XSize|Width|HSize", SET, DIRECT, "float: 1 .. 50"}, {"YSize|Height|VSize", SET, DIRECT, "float: 1 .. 50"}, {"Shap...
24.711462
131
0.631478
thaflo
85dcf48303676683969803995e129d32d28a07b5
4,401
cpp
C++
test/dimension.cpp
bebuch/disposer
8d065cb5cdcbeaecdbe457f5e4e60ff1ecc84105
[ "BSL-1.0" ]
null
null
null
test/dimension.cpp
bebuch/disposer
8d065cb5cdcbeaecdbe457f5e4e60ff1ecc84105
[ "BSL-1.0" ]
24
2017-03-10T10:45:36.000Z
2018-07-05T19:38:58.000Z
test/dimension.cpp
bebuch/disposer
8d065cb5cdcbeaecdbe457f5e4e60ff1ecc84105
[ "BSL-1.0" ]
2
2017-02-21T06:45:42.000Z
2020-04-18T11:22:33.000Z
#include <disposer/core/dimension.hpp> template < std::size_t DI, std::size_t I > using ic = disposer::ct_index_component< DI, I >; int main(){ using namespace disposer; // dimension construtors { constexpr dimension< int, char, float > default_constructed; constexpr auto copy_constructed = default_construc...
29.938776
72
0.678937
bebuch
85df95213d16df39c03b8cedeb587a1220bfd20f
790
cpp
C++
libs/fontbitmap/impl/src/font/bitmap/impl/position.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/fontbitmap/impl/src/font/bitmap/impl/position.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/fontbitmap/impl/src/font/bitmap/impl/position.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #include <sge/font/vector.hpp> #include <sge/font/bitmap/impl/char_metric_fwd.hpp> #include <sge/fo...
32.916667
93
0.702532
cpreh
85e5b48de8cadfa59c71db1cda579bd0daa71571
4,721
cpp
C++
src/runtime/c4g_utils.cpp
slightech/c4gpu
82dda2014fd2ae5c745ebdc6a797bb5f87793816
[ "MIT" ]
7
2019-04-26T20:25:53.000Z
2022-02-08T06:48:35.000Z
src/runtime/c4g_utils.cpp
c4gpu/c4gpu_runtime
82dda2014fd2ae5c745ebdc6a797bb5f87793816
[ "MIT" ]
null
null
null
src/runtime/c4g_utils.cpp
c4gpu/c4gpu_runtime
82dda2014fd2ae5c745ebdc6a797bb5f87793816
[ "MIT" ]
3
2021-12-22T02:02:42.000Z
2022-02-08T06:48:38.000Z
/* ** C4GPU. ** ** For the latest info, see https://github.com/c4gpu/c4gpu_runtime/ ** ** Copyright (C) 2017 Wang Renxin. All rights reserved. */ #include "c4g_utils.hpp" #ifdef C4G_RUNTIME_OS_WIN # include <GL/glew.h> #elif defined C4G_RUNTIME_OS_APPLE # if defined C4G_RUNTIME_OS_IOS || defined C4G_RUNTIM...
18.586614
68
0.641178
slightech
85e7345a70ea174d30ae02ccc3b63c5d4002088d
1,009
cpp
C++
test.cpp
AlexanderHaase/rtci_erasure
42d7cb8e4fe9e71d6c9582203b5eb8f2943e5e84
[ "BSD-3-Clause" ]
null
null
null
test.cpp
AlexanderHaase/rtci_erasure
42d7cb8e4fe9e71d6c9582203b5eb8f2943e5e84
[ "BSD-3-Clause" ]
null
null
null
test.cpp
AlexanderHaase/rtci_erasure
42d7cb8e4fe9e71d6c9582203b5eb8f2943e5e84
[ "BSD-3-Clause" ]
null
null
null
#include "Erasure.hpp" #include <iostream> template < int index > struct Hint{}; RTCI_MIXIN_METHOD( Callable, operator() ); RTCI_MIXIN_METHOD( Fooable, foo ); using ImmutableObject = rtci_erasure::Immutable<Callable<int(int) const, int(Hint<1>,int) const>,Fooable<void()>>; //using MutableObject = rtci_erasure::Mutab...
27.27027
144
0.610505
AlexanderHaase
85ef36fe18fe3d117218699188e4d5bc2a7f2b7e
5,725
hpp
C++
lib/ast/SereExpr.hpp
craft095/sere
b7ce9aafe5390a0bf48ade7ebe0a1a09bf0396b9
[ "MIT" ]
null
null
null
lib/ast/SereExpr.hpp
craft095/sere
b7ce9aafe5390a0bf48ade7ebe0a1a09bf0396b9
[ "MIT" ]
null
null
null
lib/ast/SereExpr.hpp
craft095/sere
b7ce9aafe5390a0bf48ade7ebe0a1a09bf0396b9
[ "MIT" ]
null
null
null
#ifndef AST_SEREEXPR_HPP #define AST_SEREEXPR_HPP #include <string> #include <memory> #include <boost/format.hpp> #include "Located.hpp" #include "BoolExpr.hpp" class SereExpr; class SereBool; class SereEmpty; class Union; class Intersect; class Concat; class Fusion; class KleeneStar; class KleenePlus; class Complem...
25.788288
112
0.673362
craft095
85f32c0b0b6defb45b69fd2342cc889b8fb1c04f
4,014
hpp
C++
inference-engine/thirdparty/clDNN/runtime/ocl/ocl_base_event.hpp
pmishanina/openvino
f9771253ae3de75bb666f8b6c2d82b542080861f
[ "Apache-2.0" ]
null
null
null
inference-engine/thirdparty/clDNN/runtime/ocl/ocl_base_event.hpp
pmishanina/openvino
f9771253ae3de75bb666f8b6c2d82b542080861f
[ "Apache-2.0" ]
15
2021-06-23T06:52:10.000Z
2022-02-21T13:09:31.000Z
inference-engine/thirdparty/clDNN/runtime/ocl/ocl_base_event.hpp
cshubhamrao/openvino
337abf1458ac7c7b349798a2e358f8eb784c1d6d
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "ocl_common.hpp" #include "cldnn/runtime/event.hpp" #include "cldnn/runtime/utils.hpp" #include <vector> #include <memory> #include <list> namespace cldnn { namespace ocl { struct profiling_period_ocl_start...
31.116279
124
0.613104
pmishanina
85f6839ee6fae27e4845d6d32cb6a4386e3872e1
1,484
hpp
C++
src/caffe/test/test_caffe_main.hpp
ashen7/SimpleCaffe
224d666687de79b1d201a280e42b27a97d662654
[ "Apache-2.0" ]
1
2020-03-24T05:22:06.000Z
2020-03-24T05:22:06.000Z
src/caffe/test/test_caffe_main.hpp
ashen7/SimpleCaffe
224d666687de79b1d201a280e42b27a97d662654
[ "Apache-2.0" ]
null
null
null
src/caffe/test/test_caffe_main.hpp
ashen7/SimpleCaffe
224d666687de79b1d201a280e42b27a97d662654
[ "Apache-2.0" ]
1
2020-05-04T08:58:32.000Z
2020-05-04T08:58:32.000Z
// // Created by yipeng on 2020/3/23. // #ifndef SIMPLE_CAFFE_TEST_CAFFE_MAIN_HPP_ #define SIMPLE_CAFFE_TEST_CAFFE_MAIN_HPP_ #include <gtest/gtest.h> #include <glog/logging.h> #include <cstdio> #include <cstdlib> #include "caffe/common.hpp" //::func() 表示调用的是全局函数 而不是类中的函数 如果在类中调用同名函数 会调用全局的 namespace caffe { //模板类型...
22.149254
83
0.741914
ashen7
85fac077844cbe7efdd79c07702c8e6295afbbaa
3,100
hpp
C++
libs/fnd/type_traits/include/bksge/fnd/type_traits/inl/is_convertible_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/type_traits/include/bksge/fnd/type_traits/inl/is_convertible_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/type_traits/include/bksge/fnd/type_traits/inl/is_convertible_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file is_convertible_inl.hpp * * @brief is_convertible の実装 * * @author myoukaku */ #ifndef BKSGE_FND_TYPE_TRAITS_INL_IS_CONVERTIBLE_INL_HPP #define BKSGE_FND_TYPE_TRAITS_INL_IS_CONVERTIBLE_INL_HPP #include <bksge/fnd/type_traits/is_convertible.hpp> #include <bksge/fnd/config.hpp> #if defin...
24.603175
63
0.736452
myoukaku
c800b13467ed9fab862b90ec71d98ec6c63a89d9
4,508
cpp
C++
samples/core/class/Object.cpp
aphenriques/integral
157b1e07905a88f7786d8823bde19a3546502912
[ "MIT" ]
40
2015-01-18T19:03:12.000Z
2022-03-06T19:16:16.000Z
samples/core/class/Object.cpp
aphenriques/integral
157b1e07905a88f7786d8823bde19a3546502912
[ "MIT" ]
7
2019-06-25T20:53:27.000Z
2021-01-16T14:14:52.000Z
samples/core/class/Object.cpp
aphenriques/integral
157b1e07905a88f7786d8823bde19a3546502912
[ "MIT" ]
7
2015-05-13T12:31:15.000Z
2019-07-23T20:22:50.000Z
// // Object.cpp // integral // // MIT License // // Copyright (c) 2014, 2015, 2016, 2017, 2019, 2020 André Pereira Henriques (aphenriques (at) outlook (dot) com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"),...
42.933333
161
0.68079
aphenriques
c801091b79d1d8ee25bec92edc353e418612fa18
4,307
cpp
C++
mav_nonlinear_mpc/solver_made_from_cpp/nmpc_solver_setup.cpp
caomuqing/mav_control_rw
207058d78428b944fb8afe51cde06bf9629d8d7a
[ "Apache-2.0" ]
230
2016-11-11T01:48:43.000Z
2022-03-27T13:56:13.000Z
mav_nonlinear_mpc/solver_made_from_cpp/nmpc_solver_setup.cpp
caomuqing/mav_control_rw
207058d78428b944fb8afe51cde06bf9629d8d7a
[ "Apache-2.0" ]
40
2017-01-22T16:27:40.000Z
2022-01-28T03:41:13.000Z
mav_nonlinear_mpc/solver_made_from_cpp/nmpc_solver_setup.cpp
caomuqing/mav_control_rw
207058d78428b944fb8afe51cde06bf9629d8d7a
[ "Apache-2.0" ]
142
2016-12-04T03:32:39.000Z
2022-03-14T12:23:21.000Z
/* * file: nmpc_solver_setup.cpp * author: Oskar Ljungqvist * date: 2017-12-21 * * Comment: modified version of the nmpc_solver_setup.m works directly in ubutu. */ #include <acado_code_generation.hpp> #include <acado_toolkit.hpp> #include <acado_optimal_control.hpp> #include <acado_gnuplot.hpp> ...
34.456
129
0.657766
caomuqing
c801f93da2759a8c5baea27130570eca48f5f1ae
1,079
cpp
C++
VFrame/VRandom.cpp
gamepopper/Vigilante-Game-Framework
72db889de7d41c331b484f7bb230f78096bde2c5
[ "MIT" ]
80
2017-04-05T19:55:31.000Z
2022-02-08T18:28:48.000Z
VFrame/VRandom.cpp
gamepopper/Vigilante-Game-Framework
72db889de7d41c331b484f7bb230f78096bde2c5
[ "MIT" ]
2
2017-04-09T13:11:28.000Z
2018-06-04T19:46:08.000Z
VFrame/VRandom.cpp
gamepopper/Vigilante-Game-Framework
72db889de7d41c331b484f7bb230f78096bde2c5
[ "MIT" ]
5
2017-04-05T19:55:38.000Z
2020-11-08T08:13:15.000Z
#include "VRandom.h" using std::uniform_int_distribution; using std::uniform_real_distribution; float VRandom::GetFloat(float max, float min) { return uniform_real_distribution<float>(min, max)(engine); } int VRandom::GetInt(int max, int min) { return uniform_int_distribution<int>(min, max)(engine); } bool VRando...
22.957447
69
0.699722
gamepopper
c802ac2f50faa9e32cd524b3fd4bc7dbfa65df56
2,421
cpp
C++
gbawj2021_mksgame/src/enemy_tank.cpp
Hairein/gba-winter-jam-2021
3322df86ed9416dcfbfe90604e737a492680d508
[ "MIT" ]
null
null
null
gbawj2021_mksgame/src/enemy_tank.cpp
Hairein/gba-winter-jam-2021
3322df86ed9416dcfbfe90604e737a492680d508
[ "MIT" ]
null
null
null
gbawj2021_mksgame/src/enemy_tank.cpp
Hairein/gba-winter-jam-2021
3322df86ed9416dcfbfe90604e737a492680d508
[ "MIT" ]
null
null
null
#include "vector_helper.h" #include "ingame.h" #include "explosion_handler.h" #include "crater_handler.h" #include "enemy_tank.h" namespace mks { EnemyTank::EnemyTank(Ingame* ingame_ptr) : MultiMapEntity(2) { ingame = ingame_ptr; } EnemyTank::~EnemyTank() { } void...
29.168675
188
0.640644
Hairein