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
f3db8aea81d9a96c8a550530e5560543ee84cc16
4,899
hpp
C++
source/exec/global_executor.hpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
51
2019-05-06T01:33:34.000Z
2021-11-17T11:44:54.000Z
source/exec/global_executor.hpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
191
2019-05-06T18:31:24.000Z
2020-06-19T06:48:06.000Z
source/exec/global_executor.hpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
3
2019-10-12T21:03:29.000Z
2020-06-19T06:22:25.000Z
#pragma once #include "common/strings_container_impl.hpp" #include "decl_sema/declarative_import_handler.hpp" #include "errors/errors_observer.hpp" #include "exec/builtin_identifiers_observer.hpp" #include "exec/cross_translation_unit_static_variables.hpp" #include "exec/module_sema_tree_provider.hpp" #include "sema/a...
32.230263
79
0.782609
stryku
f3de13873c49699a7ae1ca5db0f98bc74488c409
355
cpp
C++
Program's_Contributed_By_Contributors/Dynamic Programming/ClimbingStairs.cpp
shreyukashid/Hacktoberfest2k21
2aecacacc4719bbde253b35361a4bd5956d48ab2
[ "MIT" ]
1
2021-10-02T05:59:49.000Z
2021-10-02T05:59:49.000Z
Program's_Contributed_By_Contributors/Dynamic Programming/ClimbingStairs.cpp
shreyukashid/Hacktoberfest2k21
2aecacacc4719bbde253b35361a4bd5956d48ab2
[ "MIT" ]
null
null
null
Program's_Contributed_By_Contributors/Dynamic Programming/ClimbingStairs.cpp
shreyukashid/Hacktoberfest2k21
2aecacacc4719bbde253b35361a4bd5956d48ab2
[ "MIT" ]
1
2021-10-06T12:27:26.000Z
2021-10-06T12:27:26.000Z
#include<iostream> using namespace std; int climbStairs(int n) { int dp[n + 2]; dp[0] = 0; dp[1] = 1; dp[2] = 2; for (int i = 3; i <= n; i++) { dp[i] = dp[i - 1] + dp[i - 2]; } return dp[n]; } int main(int n) { int n; //Enter Number of Stairs cin>>n; int ans=cli...
14.791667
38
0.470423
shreyukashid
f3e05c2f925333d6d2e5b6775536f789737f798d
512
hpp
C++
spec/headers/namespaces.hpp
floomby/rbgccxml
f7085e2ae1847452c137c7b9ce6686111a7e6960
[ "MIT" ]
6
2015-11-05T05:13:49.000Z
2020-01-07T14:06:19.000Z
spec/headers/namespaces.hpp
floomby/rbgccxml
f7085e2ae1847452c137c7b9ce6686111a7e6960
[ "MIT" ]
4
2017-03-29T21:56:58.000Z
2020-10-29T13:33:38.000Z
spec/headers/namespaces.hpp
floomby/rbgccxml
f7085e2ae1847452c137c7b9ce6686111a7e6960
[ "MIT" ]
3
2017-10-11T07:34:57.000Z
2022-03-03T20:50:06.000Z
/** * File for testing the ability to find namespaces */ namespace upper { void method1() { } namespace inner1 { void method2() { } } namespace inner2 { void method3() { } namespace nested { void method4() { } } class NamespacedClass { }; } } // Namespace Aliases nam...
14.628571
60
0.632813
floomby
f3e15a8a436acd9de0d08c5f292d6a69b82a1158
2,452
hpp
C++
src/ReconnectTimer.hpp
cs-software-gmbh/mq-cph
74210fcc7dd8f0c89a99d769bfa0ef1f12336d02
[ "Apache-2.0" ]
10
2017-09-05T08:47:11.000Z
2021-08-02T15:41:54.000Z
src/ReconnectTimer.hpp
cs-software-gmbh/mq-cph
74210fcc7dd8f0c89a99d769bfa0ef1f12336d02
[ "Apache-2.0" ]
5
2018-08-22T13:14:28.000Z
2022-02-22T08:30:53.000Z
src/ReconnectTimer.hpp
cs-software-gmbh/mq-cph
74210fcc7dd8f0c89a99d769bfa0ef1f12336d02
[ "Apache-2.0" ]
3
2017-02-13T16:23:48.000Z
2021-11-09T10:47:08.000Z
/*<copyright notice="lm-source" pids="" years="2014,2020">*/ /******************************************************************************* * Copyright (c) 2014,2020 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
32.693333
89
0.573002
cs-software-gmbh
f3e244359a4ee1455ed9f802b6f3a56e34f1ac98
532
cpp
C++
cppp/src/15-oop/text-query-again.cpp
ahxxm/cpp-exercise
abbe530770d49843ceaf706fb55b91ef100b1162
[ "WTFPL" ]
2
2016-12-06T00:49:35.000Z
2017-01-15T07:00:24.000Z
cppp/src/15-oop/text-query-again.cpp
ahxxm/cpp-exercise
abbe530770d49843ceaf706fb55b91ef100b1162
[ "WTFPL" ]
5
2016-05-02T13:52:52.000Z
2016-09-28T07:57:09.000Z
cppp/src/15-oop/text-query-again.cpp
ahxxm/cpp-exercise
abbe530770d49843ceaf706fb55b91ef100b1162
[ "WTFPL" ]
null
null
null
#include <string> #include <vector> #include "gtest/gtest.h" class QueryResult; class TextQuery; class Query_base { friend class Query; protected: using line_no = std::vector<std::string>::size_type; virtual ~Query_base() = default; private: virtual QueryResult eval(const TextQuery &) const = 0; virtual st...
18.344828
56
0.695489
ahxxm
f3e5b53d846e86130e5be7ed68d6923fcd7bb93d
192
hpp
C++
callback.hpp
serpapi/serpapi-search-cpp
fc1cafc05d3e2c2b1661789d96f916441d33ecd3
[ "MIT" ]
null
null
null
callback.hpp
serpapi/serpapi-search-cpp
fc1cafc05d3e2c2b1661789d96f916441d33ecd3
[ "MIT" ]
null
null
null
callback.hpp
serpapi/serpapi-search-cpp
fc1cafc05d3e2c2b1661789d96f916441d33ecd3
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> #include <memory> #include <string> using namespace std; namespace serpapi { size_t callback(const char* in, size_t size, size_t num, string* out); }
16
71
0.734375
serpapi
f3e8402b4b8c5a223e1965dabfa934344fbcbc72
152
hpp
C++
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/ext/gui.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/ext/gui.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/ext/gui.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
#ifndef SVL_EXT_GUI_HPP #define SVL_EXT_GUI_HPP #include <svl/ext/phase_diagram.hpp> #include <svl/ext/phase_diagram3d.hpp> #endif // SVL_EXT_GUI_HPP
19
38
0.802632
yklishevich
f3e8ffec313c08389b7d7496bb7b9922e406f5ae
1,897
cpp
C++
eventHandle.cpp
EnoshWang/ADFServer
bcffbbad45d4b5ca149e81eee2d4c0bd3c8a4a09
[ "MIT" ]
null
null
null
eventHandle.cpp
EnoshWang/ADFServer
bcffbbad45d4b5ca149e81eee2d4c0bd3c8a4a09
[ "MIT" ]
null
null
null
eventHandle.cpp
EnoshWang/ADFServer
bcffbbad45d4b5ca149e81eee2d4c0bd3c8a4a09
[ "MIT" ]
null
null
null
/* * @Author: enosh.wang * @Date: 2021-06-27 16:08:39 * @Last Modified by: enosh.wang * @Last Modified time: 2021-06-27 16:12:01 */ #ifdef __linux__ #include "eventHandle.hpp" #include "reactor.hpp" #define MAX_BUF_LEN 1024 void EventHandle::handAccept(int fd, int events, void *arg) noexcept {...
22.05814
79
0.549815
EnoshWang
f3ef260da0aecfc9b12b30e98f9e2687560e6461
857
cpp
C++
Problemas Resolvidos/Code Forces/cforces1236C.cpp
medeiroslucas/lo-and-behold-pp
d2be16f9b108b501fd9fccf173e741c93350cee4
[ "MIT" ]
2
2019-09-09T00:34:40.000Z
2019-09-09T17:35:19.000Z
lucas/codeforces/1236/cforces1236C.cpp
medeiroslucas/lo-and-behold-pp
d2be16f9b108b501fd9fccf173e741c93350cee4
[ "MIT" ]
null
null
null
lucas/codeforces/1236/cforces1236C.cpp
medeiroslucas/lo-and-behold-pp
d2be16f9b108b501fd9fccf173e741c93350cee4
[ "MIT" ]
null
null
null
/* * author: lucas_medeiros - github.com/medeiroslucas * team: Lo and Behold ++ * created: 17-10-2019 11:58:55 * contest: 1236 * problem: C * solved: True */ #include <bits/stdc++.h> #define DEBUG false #define coutd if(DEBUG) cout #define debugf if(DEBUG) printf #define ff first #define ss second #define ...
14.525424
53
0.586931
medeiroslucas
f3efb435e25a1d46b7dd48d33d6b8a6a965e5f48
24,366
cpp
C++
src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp
Arkania/ArkCORE
2484554a7b54be0b652f9dc3c5a8beba79df9fbf
[ "OpenSSL" ]
42
2015-01-05T10:00:07.000Z
2022-02-18T14:51:33.000Z
src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp
superllout/WOW
3d0eeb940cccf8ab7854259172c6d75a85ee4f7d
[ "OpenSSL" ]
null
null
null
src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp
superllout/WOW
3d0eeb940cccf8ab7854259172c6d75a85ee4f7d
[ "OpenSSL" ]
31
2015-01-09T02:04:29.000Z
2021-09-01T13:20:20.000Z
/* * Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/> * * Copyright (C) 2010 - 2013 ProjectSkyfire <http://www.projectskyfire.org/> * * Copyright (C) 2011 - 2013...
30.419476
115
0.537388
Arkania
f3f0e64285ed75254eb1fc8077b454b871140bc2
4,573
cxx
C++
Devices/igtlioTransformDevice.cxx
adamrankin/OpenIGTLinkIO
9d0b1010be7b92947dbd461dc5298c320dfc00e4
[ "Apache-2.0" ]
7
2016-02-02T19:03:33.000Z
2021-07-31T19:12:03.000Z
Devices/igtlioTransformDevice.cxx
adamrankin/OpenIGTLinkIO
9d0b1010be7b92947dbd461dc5298c320dfc00e4
[ "Apache-2.0" ]
61
2016-02-01T21:47:49.000Z
2022-03-15T16:12:31.000Z
Devices/igtlioTransformDevice.cxx
adamrankin/OpenIGTLinkIO
9d0b1010be7b92947dbd461dc5298c320dfc00e4
[ "Apache-2.0" ]
20
2016-02-01T22:24:52.000Z
2021-07-31T19:12:04.000Z
/*========================================================================== Portions (c) Copyright 2008-2009 Brigham and Women's Hospital (BWH) All Rights Reserved. See Doc/copyright/copyright.txt or http://www.slicer.org/copyright/copyright.txt for details. Program: 3D Slicer Module: $HeadURL: http:...
30.898649
111
0.561338
adamrankin
f3f36f403063127d626f7a8c031a9e6a989b8174
1,519
cpp
C++
Character/StrongEnemy.cpp
Ricecrackie/Fantasy-Battle
058dc323101d405e222e9c8f135500044ce6e180
[ "Apache-2.0" ]
null
null
null
Character/StrongEnemy.cpp
Ricecrackie/Fantasy-Battle
058dc323101d405e222e9c8f135500044ce6e180
[ "Apache-2.0" ]
null
null
null
Character/StrongEnemy.cpp
Ricecrackie/Fantasy-Battle
058dc323101d405e222e9c8f135500044ce6e180
[ "Apache-2.0" ]
null
null
null
#include "StrongEnemy.h" #include "../Skill/Regular_attack.h" #include "../Skill/Defence.h" #include "../Skill/Strengthen.h" #include "../Skill/Sharp_attack.h" // call constructor to create a StrongEnemy Object using default values StrongEnemy::StrongEnemy() : Enemy(StrongEnemyHPmax, StrongEnemyHPmax, StrongEnemyMPmax...
42.194444
106
0.756419
Ricecrackie
f3f642385fc8483881e9771772314d888b30d767
8,476
cc
C++
QedisCore/QSet.cc
Myicefrog/Qedis
692f0584dad8f5d80c55ec19b217f0777156f719
[ "MIT" ]
1
2019-12-26T07:03:34.000Z
2019-12-26T07:03:34.000Z
QedisCore/QSet.cc
Myicefrog/Qedis
692f0584dad8f5d80c55ec19b217f0777156f719
[ "MIT" ]
null
null
null
QedisCore/QSet.cc
Myicefrog/Qedis
692f0584dad8f5d80c55ec19b217f0777156f719
[ "MIT" ]
null
null
null
#include "QSet.h" #include "QStore.h" #include "QClient.h" #include <cassert> namespace qedis { QObject QObject::CreateSet() { QObject set(QType_set); set.Reset(new QSet); return set; } #define GET_SET(setname) \ QObject* value; \ QError err = QSTORE.GetValueByType(setname, value, QType_set); ...
22.246719
89
0.575743
Myicefrog
f3fcf5da364b4c84111901aa038c841a0649c138
4,248
hpp
C++
libs/core/serialization/include/hpx/serialization/tuple.hpp
sithhell/hpx
fa6e4df704bf5f81ddc0f4e09716bd11ff8724c8
[ "BSL-1.0" ]
null
null
null
libs/core/serialization/include/hpx/serialization/tuple.hpp
sithhell/hpx
fa6e4df704bf5f81ddc0f4e09716bd11ff8724c8
[ "BSL-1.0" ]
null
null
null
libs/core/serialization/include/hpx/serialization/tuple.hpp
sithhell/hpx
fa6e4df704bf5f81ddc0f4e09716bd11ff8724c8
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2011-2013 Thomas Heller // Copyright (c) 2011-2013 Hartmut Kaiser // Copyright (c) 2013-2015 Agustin Berge // Copyright (c) 2019 Mikael Simberg // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or c...
34.536585
80
0.631591
sithhell
6d0102336eda88378dbcb0e4d8452f213d6a579d
239
cpp
C++
WinLib/WinTest/AccelTable.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
67
2018-03-02T10:50:02.000Z
2022-03-23T18:20:29.000Z
WinLib/WinTest/AccelTable.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
null
null
null
WinLib/WinTest/AccelTable.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
9
2018-03-01T16:38:28.000Z
2021-03-02T16:17:09.000Z
//---------------------------- // (c) Reliable Software, 2004 //---------------------------- #include "precompiled.h" #include "AccelTable.h" #include <Win/Keyboard.h> namespace Accel { const Accel::Item Keys [] = { { 0, 0, 0 } }; }
15.933333
30
0.468619
BartoszMilewski
6d03211e6106e170972ac9f1bc24d0a39504c4f0
961
cc
C++
src/find_the_distance_value_between_two_arrays/find_the_distance_value_between_two_arrays.cc
cuprumz/LeetCode
5c57b0ab45e691e8d7750f531b29a25a19472d23
[ "MIT" ]
null
null
null
src/find_the_distance_value_between_two_arrays/find_the_distance_value_between_two_arrays.cc
cuprumz/LeetCode
5c57b0ab45e691e8d7750f531b29a25a19472d23
[ "MIT" ]
null
null
null
src/find_the_distance_value_between_two_arrays/find_the_distance_value_between_two_arrays.cc
cuprumz/LeetCode
5c57b0ab45e691e8d7750f531b29a25a19472d23
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; class Solution { public: int findTheDistanceValue(vector<int> &arr1, vector<int> &arr2, int d); }; int main(int argc, char **argv) { Solution s; vector<int> arr1 = {4, 5, 8}, arr2 = {10, 9, 1, 8}; int d = 2; ...
23.439024
101
0.552549
cuprumz
6d03c83c39a77193b5e1697c2d220eec19833cd4
785
hpp
C++
include/ReversingSpace/GameFileSystem.hpp
awstanley/cpp-gamefilesystem
fc06cf5f2b4f873846677f45fa5480a69cdd91df
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2021-07-12T19:25:29.000Z
2021-07-12T19:25:29.000Z
include/ReversingSpace/GameFileSystem.hpp
awstanley/cpp-gamefilesystem
fc06cf5f2b4f873846677f45fa5480a69cdd91df
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
6
2017-10-16T19:30:25.000Z
2018-10-06T23:55:19.000Z
include/ReversingSpace/GameFileSystem.hpp
awstanley/cpp-gamefilesystem
fc06cf5f2b4f873846677f45fa5480a69cdd91df
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
3
2017-10-14T10:21:44.000Z
2021-07-12T19:25:39.000Z
/* * Copyright 2017-2018 ReversingSpace. See the COPYRIGHT file at the * top-level directory of this distribution and in the repository: * https://github.com/ReversingSpace/cpp-gamefilesystem * * Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or * http://www.apache.org/licenses/LICENSE-2.0> or the...
37.380952
68
0.784713
awstanley
6d069d2ab7cae05a38b678fe17508190feedbb0f
1,547
cpp
C++
src/kriti/math/ViewGenerator.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
2
2015-10-05T19:33:19.000Z
2015-12-08T08:39:17.000Z
src/kriti/math/ViewGenerator.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
1
2017-04-30T16:26:08.000Z
2017-05-01T03:00:42.000Z
src/kriti/math/ViewGenerator.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
null
null
null
#include <cmath> #include "ViewGenerator.h" namespace Kriti { namespace Math { Matrix ViewGenerator::frustum(double left, double right, double top, double bottom, double near, double far) { Matrix result; result(3,3) = 0.0; result(0,0) = (2 * near) / (right - left); result(1,1) = (2 * near)...
24.555556
74
0.605042
etherealvisage
6d0b8412da7c93f9c10836aa99f9736e894e4cef
8,512
cc
C++
src/MainActivity.cc
ilariom/wildcat
814f054e0cf3ef0def1f6481005ffd3f0ac42d1b
[ "MIT" ]
11
2018-11-07T08:54:21.000Z
2022-02-20T22:40:47.000Z
src/MainActivity.cc
ilariom/wildcat
814f054e0cf3ef0def1f6481005ffd3f0ac42d1b
[ "MIT" ]
null
null
null
src/MainActivity.cc
ilariom/wildcat
814f054e0cf3ef0def1f6481005ffd3f0ac42d1b
[ "MIT" ]
1
2020-07-24T09:18:48.000Z
2020-07-24T09:18:48.000Z
#include "MainActivity.h" #include <s2x/basics.h> #include <globals/Scene.h> #include <globals/SceneGraph.h> #include <ecs/Entity.h> #include <components/Node.h> #include <components/Sprite.h> #include <components/Transform.h> #include <components/Script.h> #include <components/KeyboardEventReceiver.h> #include <system...
23.513812
108
0.549695
ilariom
6d0bd7ffc12c222a787490b1fafba9d3352f0a6b
1,334
cpp
C++
MyGame/Main.cpp
codeart1st/EDEN3D
b39b0fbf3220320b58843990155ffd8173d8f4ef
[ "MIT" ]
null
null
null
MyGame/Main.cpp
codeart1st/EDEN3D
b39b0fbf3220320b58843990155ffd8173d8f4ef
[ "MIT" ]
null
null
null
MyGame/Main.cpp
codeart1st/EDEN3D
b39b0fbf3220320b58843990155ffd8173d8f4ef
[ "MIT" ]
null
null
null
#include <GameApplication.hpp> #include <PerspectiveCamera.hpp> #include <DefaultRenderer.hpp> #include <WavefrontLoader.hpp> #include <MouseControls.hpp> #include <thread> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { EDEN3D::GameApplication game(hInstance, L"fa...
25.653846
120
0.7009
codeart1st
6d11ec583e000373a68b73b63781bca01eb134f1
1,503
cpp
C++
hr/easy/string_reduction.cpp
gnom1gnom/cpp-algorithms
e460c0d1720acf0e0548452dfba05651e4868120
[ "Unlicense" ]
null
null
null
hr/easy/string_reduction.cpp
gnom1gnom/cpp-algorithms
e460c0d1720acf0e0548452dfba05651e4868120
[ "Unlicense" ]
null
null
null
hr/easy/string_reduction.cpp
gnom1gnom/cpp-algorithms
e460c0d1720acf0e0548452dfba05651e4868120
[ "Unlicense" ]
null
null
null
/* Given a string, reduce it in such a way that all of its substrings are distinct. To do so, you may delete any characters at any index. What is the minimum number of deletions needed?Note: A substring is a contiguous group of 1 or more characters within a string. Example s = "abab" Substrings in s are { 'a', 'b', ...
25.913793
262
0.666001
gnom1gnom
6d1b649a073bbae366441c25eb39767fb3e2f9f6
1,015
cpp
C++
Memory_Management_Algorithms/Best_fit.cpp
Siddhartha-Dhar/Operating_System_Programs
5bbfa8f82e270bef1e0511e82b3678de6b42d713
[ "MIT" ]
1
2021-07-21T07:04:08.000Z
2021-07-21T07:04:08.000Z
Memory_Management_Algorithms/Best_fit.cpp
Siddhartha-Dhar/Operating_System_Programs
5bbfa8f82e270bef1e0511e82b3678de6b42d713
[ "MIT" ]
1
2021-08-07T12:46:32.000Z
2021-08-15T13:19:33.000Z
Memory_Management_Algorithms/Best_fit.cpp
Siddhartha-Dhar/Operating_System_Programs
5bbfa8f82e270bef1e0511e82b3678de6b42d713
[ "MIT" ]
1
2021-08-07T13:05:33.000Z
2021-08-07T13:05:33.000Z
#include<iostream> #include"Query.cpp" #include<cstdlib> using namespace std; //................................................Input Array void inut_arr(int n, int *A, string s){ for(int i=0; i<n; i++){ cout << "\n" << s; cin >> A[i]; getchar(); } return; } //.........
24.756098
64
0.442365
Siddhartha-Dhar
6d22021288a99674246cd819e33aace0150e3182
1,324
cpp
C++
C or C++/rock_lever.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
3
2020-11-01T05:48:04.000Z
2021-04-25T05:33:47.000Z
C or C++/rock_lever.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
null
null
null
C or C++/rock_lever.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
3
2020-10-31T05:29:55.000Z
2021-06-19T09:33:53.000Z
#include <bits/stdc++.h> #define lli long long int #define ull unsigned long long #define MX 100000 using std::cin; using std::cout; using std::cerr; using std::floor; using std::ceil; using std::vector; using std::ios_base; using std::unordered_map; using std::map; using std::endl; using std::stack; using std::queue...
15.951807
47
0.539275
amitShindeGit
6d2525c07aa7bfcd5c277a2547fbbaa952e666d4
5,859
cpp
C++
vpc/src/v2/model/SecurityGroup.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
vpc/src/v2/model/SecurityGroup.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
vpc/src/v2/model/SecurityGroup.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/vpc/v2/model/SecurityGroup.h" namespace HuaweiCloud { namespace Sdk { namespace Vpc { namespace V2 { namespace Model { SecurityGroup::SecurityGroup() { name_ = ""; nameIsSet_ = false; description_ = ""; descriptionIsSet_ = false; id_ = ""; idIsSet_ = false; vpcId...
22.886719
114
0.659669
yangzhaofeng
6d26c8fc1fc99738bc73b07105a53d111b13b756
7,266
cpp
C++
Test.cpp
EylonNaamat/SS_b_Ex2_b
a5c00142f74b734d5deff4fa11eec0afb6885241
[ "MIT" ]
null
null
null
Test.cpp
EylonNaamat/SS_b_Ex2_b
a5c00142f74b734d5deff4fa11eec0afb6885241
[ "MIT" ]
null
null
null
Test.cpp
EylonNaamat/SS_b_Ex2_b
a5c00142f74b734d5deff4fa11eec0afb6885241
[ "MIT" ]
null
null
null
// #include "doctest.h" // #include "Notebook.hpp" // #include "Direction.hpp" // #include <string> // using namespace std; // TEST_CASE("Good input"){ // ariel::Notebook book; // book.write(3, 5, 5, ariel::Direction::Horizontal, "my name is eylon"); // CHECK(book.read(3, 5, 5, ariel::Direction::Horizont...
49.428571
97
0.64561
EylonNaamat
6d272867cecbf019f6866a501ee198f710c21e31
12,082
cpp
C++
src/modules/mpd/mpd.cpp
mazunki/Waybar
2301788a810b64be9361b15fbd8f510002c74cc4
[ "MIT" ]
null
null
null
src/modules/mpd/mpd.cpp
mazunki/Waybar
2301788a810b64be9361b15fbd8f510002c74cc4
[ "MIT" ]
null
null
null
src/modules/mpd/mpd.cpp
mazunki/Waybar
2301788a810b64be9361b15fbd8f510002c74cc4
[ "MIT" ]
null
null
null
#include "modules/mpd/mpd.hpp" #include <fmt/chrono.h> #include <spdlog/spdlog.h> #include <glibmm/ustring.h> #include "modules/mpd/state.hpp" #if defined(MPD_NOINLINE) namespace waybar::modules { #include "modules/mpd/state.inl.hpp" } // namespace waybar::modules #endif waybar::modules::MPD::MPD(const std::string& ...
36.282282
118
0.602218
mazunki
6d2a3daaea0cbdf5a139f2bbf8619593245f5b49
847
hpp
C++
experimental/Pomdog.Experimental/Rendering/RenderCommandProcessor.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Rendering/RenderCommandProcessor.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Rendering/RenderCommandProcessor.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #pragma once #include "Pomdog.Experimental/Rendering/RenderCommand.hpp" #include "Pomdog/Graphics/detail/ForwardDeclarations.hpp" #include "Pomdog/Math/Matrix4x4.hpp" #include <typeindex> namespace Pomdog { class RenderCommandProcessor { public...
24.911765
71
0.720189
ValtoForks
6d2da2ff2e845b520516b038e9dd2c2c4dcedb7e
23,627
cpp
C++
src/modules/processes/contrib/gviehoever/GradientDomain/GradientsHdrCompositionInterface.cpp
kkretzschmar/PCL
6354627260482afcb278a3f3a2bf30c26210d4fa
[ "JasPer-2.0" ]
null
null
null
src/modules/processes/contrib/gviehoever/GradientDomain/GradientsHdrCompositionInterface.cpp
kkretzschmar/PCL
6354627260482afcb278a3f3a2bf30c26210d4fa
[ "JasPer-2.0" ]
null
null
null
src/modules/processes/contrib/gviehoever/GradientDomain/GradientsHdrCompositionInterface.cpp
kkretzschmar/PCL
6354627260482afcb278a3f3a2bf30c26210d4fa
[ "JasPer-2.0" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 02.01.11.0938 // ---------------------------------------------------------------------------- // Standard GradientDomain Process Module Version 00.06.04.0240 // -----...
40.666093
160
0.708765
kkretzschmar
6d35050ec88a2f695294c9421d6faa5217142410
18
cpp
C++
Mint/src/mtpch.cpp
orenccl/MintGameEngine
45f4aa0e926f798448b53680ca5b31a83abf2522
[ "Apache-2.0" ]
null
null
null
Mint/src/mtpch.cpp
orenccl/MintGameEngine
45f4aa0e926f798448b53680ca5b31a83abf2522
[ "Apache-2.0" ]
3
2019-11-04T03:30:11.000Z
2019-11-04T16:13:46.000Z
Mint/src/mtpch.cpp
orenccl/Mint
45f4aa0e926f798448b53680ca5b31a83abf2522
[ "Apache-2.0" ]
null
null
null
#include "mtpch.h"
18
18
0.722222
orenccl
6d37910e5638aca73e1133de3350b3cc1ee3465f
432
hpp
C++
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/file/format.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/file/format.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/file/format.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
#pragma once #include <string> namespace msw { namespace file { enum class format { bin , ips , pcap , pcapng }; inline std::string format_to_string(format fmt) { if (fmt == format::ips ) return "ips" ; else if (fmt == format::pcap ...
16.615385
58
0.493056
yklishevich
6d386bc9b54f55ed9941f19ea5ef9527a88f3764
3,593
cpp
C++
src/ai/neural/neuralnet.cpp
FuSoftware/QOsuBut
cf89ee66a23efcddf94b6e38b7c708059e026995
[ "MIT" ]
null
null
null
src/ai/neural/neuralnet.cpp
FuSoftware/QOsuBut
cf89ee66a23efcddf94b6e38b7c708059e026995
[ "MIT" ]
null
null
null
src/ai/neural/neuralnet.cpp
FuSoftware/QOsuBut
cf89ee66a23efcddf94b6e38b7c708059e026995
[ "MIT" ]
null
null
null
#include "neuralnet.h" NeuralNet::NeuralNet(std::vector<int> topology) { this->init(topology); } void NeuralNet::init(std::vector<int> topology) { this->topology = topology; this->node_count = 0; this->weight_count = 0; //Nodes initialization this->nodes.clear(); this->weights.clear(); ...
23.331169
118
0.555525
FuSoftware
6d3e3e04457f3ddd0f7978af9ad850f68fb8c470
3,243
cc
C++
t/logical_expressions_simple/src/generator/rule/terminal_rule.cc
coppit/yagg
8fd076d817f28ed6739e6ba0cd246e37e96fc00c
[ "FSFAP" ]
4
2016-07-22T03:28:21.000Z
2020-08-20T23:38:36.000Z
t/logical_expressions_simple/src/generator/rule/terminal_rule.cc
coppit/yagg
8fd076d817f28ed6739e6ba0cd246e37e96fc00c
[ "FSFAP" ]
null
null
null
t/logical_expressions_simple/src/generator/rule/terminal_rule.cc
coppit/yagg
8fd076d817f28ed6739e6ba0cd246e37e96fc00c
[ "FSFAP" ]
null
null
null
#include "generator/rule/terminal_rule.h" #include <cassert> #ifdef SHORT_RULE_TRACE #include <iostream> #include "generator/utility/utility.h" using namespace Utility; #endif // SHORT_RULE_TRACE using namespace std; Terminal_Rule::Terminal_Rule() { m_string_count = 0; m_terminals.push_back(this); } // ------...
23.671533
98
0.570768
coppit
6d3f81dc443d1f2457db3666892bdd24743d246f
8,313
hpp
C++
libs/dmlf/include/dmlf/colearn/muddle_learner_networker_impl.hpp
vhavrylov-ncube/ledger
1e216c304aea344e8ef88e1954658ff665f4f4ac
[ "Apache-2.0" ]
1
2019-09-30T12:22:46.000Z
2019-09-30T12:22:46.000Z
libs/dmlf/include/dmlf/colearn/muddle_learner_networker_impl.hpp
EVSmithFetchAI/ledger
c1f904a23a8c431a86b6610bb528f38f2e2c3ad5
[ "Apache-2.0" ]
null
null
null
libs/dmlf/include/dmlf/colearn/muddle_learner_networker_impl.hpp
EVSmithFetchAI/ledger
c1f904a23a8c431a86b6610bb528f38f2e2c3ad5
[ "Apache-2.0" ]
1
2021-05-04T11:37:20.000Z
2021-05-04T11:37:20.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2020 Fetch.AI Limited // // 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 Licen...
39.028169
98
0.63527
vhavrylov-ncube
6d417c215f5630de542e49b9711d5fc258e0b32a
197
hpp
C++
objdatatypes.hpp
phkeese/objimport
59fc3bb8287874b8b93d6c5ffc123f5fb10e8aa3
[ "MIT" ]
null
null
null
objdatatypes.hpp
phkeese/objimport
59fc3bb8287874b8b93d6c5ffc123f5fb10e8aa3
[ "MIT" ]
null
null
null
objdatatypes.hpp
phkeese/objimport
59fc3bb8287874b8b93d6c5ffc123f5fb10e8aa3
[ "MIT" ]
null
null
null
#pragma once /** * Datatype Definitions used by both the OBJ and MTL format */ namespace objimport { struct Vector3 { float x, y, z; }; using index = unsigned int; } // namespace objimport
12.3125
59
0.685279
phkeese
6d41a50b4965d9d935aa6fa841c656c9265d61ec
2,016
cpp
C++
sources/modules/helperOC/ValFuncs/rotateData.cpp
mdoshi96/beacls
860426ed1336d9539dea195987efcdd8a8276a1c
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
30
2017-12-17T22:57:50.000Z
2022-01-30T17:06:34.000Z
sources/modules/helperOC/ValFuncs/rotateData.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
2
2017-03-24T06:18:16.000Z
2017-04-04T16:16:06.000Z
sources/modules/helperOC/ValFuncs/rotateData.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
8
2018-07-06T01:47:21.000Z
2021-07-23T15:50:34.000Z
#include <helperOC/helperOC_type.hpp> #include <helperOC/ValFuncs/rotateData.hpp> #include <helperOC/ValFuncs/eval_u.hpp> #include <levelset/Grids/HJI_Grid.hpp> #include <vector> #include <iostream> #include <algorithm> bool helperOC::rotateData( beacls::FloatVec& dataOut, const levelset::HJI_Grid* g, const beacls:...
38.037736
145
0.686012
mdoshi96
6d43b6f2613163a2bf25f0bbff73584fcfd6f96c
88,441
cpp
C++
src/core/tools/vargen/utils/assembler.cpp
Schaudge/octopus
d0cc5d0840aefdfefae5af8595e3330620106054
[ "MIT" ]
278
2016-10-03T16:30:49.000Z
2022-03-25T05:59:32.000Z
src/core/tools/vargen/utils/assembler.cpp
Schaudge/octopus
d0cc5d0840aefdfefae5af8595e3330620106054
[ "MIT" ]
229
2016-10-13T14:07:35.000Z
2022-03-19T18:59:58.000Z
src/core/tools/vargen/utils/assembler.cpp
Schaudge/octopus
d0cc5d0840aefdfefae5af8595e3330620106054
[ "MIT" ]
37
2016-10-28T22:47:54.000Z
2022-03-20T07:28:43.000Z
// Copyright (c) 2015-2021 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #include "assembler.hpp" #include <iterator> #include <algorithm> #include <array> #include <cmath> #include <numeric> #include <limits> #include <cassert> #include <iostream> #inc...
39.324589
138
0.600954
Schaudge
6d44e96700a7f0444704bd6eef5380e1b426b2cf
604
cpp
C++
src/main/driver/cpp/adiIMUJNI.cpp
juchong/adi_frc_imu
1558fdecb5b3f1fb721a01832dcfbf15a69c4161
[ "MIT" ]
1
2021-02-05T05:44:39.000Z
2021-02-05T05:44:39.000Z
src/main/driver/cpp/adiIMUJNI.cpp
juchong/adi_frc_imu
1558fdecb5b3f1fb721a01832dcfbf15a69c4161
[ "MIT" ]
null
null
null
src/main/driver/cpp/adiIMUJNI.cpp
juchong/adi_frc_imu
1558fdecb5b3f1fb721a01832dcfbf15a69c4161
[ "MIT" ]
null
null
null
#include "jni.h" #include "com_analogdevices_jni_adiIMUJNI.h" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved) { // Check to ensure the JNI version is valid JNIEnv* env; if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) return JNI_ERR; // In here is also ...
26.26087
78
0.72351
juchong
6d47aa5057d2788d2549fcf98748fef0ff03e7b0
595
hpp
C++
src/Evolution/Systems/NewtonianEuler/Sources/NoSource.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
2
2021-04-11T04:07:42.000Z
2021-04-11T05:07:54.000Z
src/Evolution/Systems/NewtonianEuler/Sources/NoSource.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
4
2018-06-04T20:26:40.000Z
2018-07-27T14:54:55.000Z
src/Evolution/Systems/NewtonianEuler/Sources/NoSource.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
1
2019-01-03T21:47:04.000Z
2019-01-03T21:47:04.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include "Utilities/TMPL.hpp" /// \cond namespace PUP { class er; } // namespace PUP /// \endcond namespace NewtonianEuler { namespace Sources { /*! * \brief Used to mark that the initial data do not require source * terms in the...
20.517241
66
0.694118
macedo22
6d47da4f8881a41c3345d4108f5037603516e42a
697
cpp
C++
leetcode/557.cpp
lizheng3401/ALG
55d1da810c627b3a23652423c35ef6baa7bfad41
[ "MIT" ]
null
null
null
leetcode/557.cpp
lizheng3401/ALG
55d1da810c627b3a23652423c35ef6baa7bfad41
[ "MIT" ]
null
null
null
leetcode/557.cpp
lizheng3401/ALG
55d1da810c627b3a23652423c35ef6baa7bfad41
[ "MIT" ]
null
null
null
#include <string> #include <algorithm> #include <iostream> string reverseWords(string s) { string S, temp; for(int i = 0; i < s.size(); ++i) { if(s[i] == ' ' || i == s.size() - 1) { if(i != s.size() - 1) { reverse(temp.begin(), temp.end()); ...
20.5
56
0.377331
lizheng3401
6d49f7b5bcd462bde57e362a57672d9f0683f151
1,748
hpp
C++
source/bounded/string_view.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
44
2020-10-03T21:37:52.000Z
2022-03-26T10:08:46.000Z
source/bounded/string_view.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
1
2021-01-01T23:22:39.000Z
2021-01-01T23:22:39.000Z
source/bounded/string_view.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
null
null
null
// Copyright David Stone 2017. // 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 <bounded/detail/comparison.hpp> #include "../test_assert.hpp" namespace bounded_test { // Add in some asserts and manual...
24.619718
84
0.689359
davidstone
6d4b1d5bde216d4f953728feb9acd59a7d10fa89
378
hpp
C++
src/motorcycle.hpp
TralahM/ParkingLotSystem
0add5d8581505a086f1eee4074dac1c377fd07fd
[ "MIT" ]
null
null
null
src/motorcycle.hpp
TralahM/ParkingLotSystem
0add5d8581505a086f1eee4074dac1c377fd07fd
[ "MIT" ]
null
null
null
src/motorcycle.hpp
TralahM/ParkingLotSystem
0add5d8581505a086f1eee4074dac1c377fd07fd
[ "MIT" ]
null
null
null
#ifndef __MOTORCYCLE #define __MOTORCYCLE #include "vehicle.hpp" /*! \class Motorcycle : public Vehicle * \brief Brief class description * * Detailed description */ class Motorcycle : public Vehicle { public: Motorcycle(const std::string& plate, Color color):Vehicle{plate,color}{} ~Motorcycle(){} protec...
18.9
76
0.706349
TralahM
6d4c10e41dea9747d048487c426d0f3976b904ae
1,647
cpp
C++
src/syntax/AST/Equals.cpp
pougetat/decacompiler
3181c87fce7c28d742f372300daabeb9f9f8d3c6
[ "MIT" ]
null
null
null
src/syntax/AST/Equals.cpp
pougetat/decacompiler
3181c87fce7c28d742f372300daabeb9f9f8d3c6
[ "MIT" ]
null
null
null
src/syntax/AST/Equals.cpp
pougetat/decacompiler
3181c87fce7c28d742f372300daabeb9f9f8d3c6
[ "MIT" ]
null
null
null
#include "Equals.h" Equals::Equals(AbstractExpr * e1, AbstractExpr * e2) { m_left_operand = e1; m_right_operand = e2; } AbstractExpr * Equals::Clone() { return new Equals( m_left_operand->Clone(), m_right_operand->Clone() ); } void Equals::Display(string tab) { cout << tab << ">"...
27.915254
77
0.592593
pougetat
6d4d162d11686fb958bece3cb012243925b451a1
1,046
cpp
C++
parkgates.cpp
whit1206/Themepark-Animation
2167b698e3b86273d6c2ec03cb1ed0d70e4f01d0
[ "Unlicense" ]
null
null
null
parkgates.cpp
whit1206/Themepark-Animation
2167b698e3b86273d6c2ec03cb1ed0d70e4f01d0
[ "Unlicense" ]
null
null
null
parkgates.cpp
whit1206/Themepark-Animation
2167b698e3b86273d6c2ec03cb1ed0d70e4f01d0
[ "Unlicense" ]
null
null
null
#include "parkgates.h" #include "eventscheduler.h" #include "globals.h" ParkGates::ParkGates() { visitorCount = 0; } void ParkGates::open() { // create a kick-off event generateNewEvent(1); // go! scheduler->run(); } void ParkGates::paint(GP142Display& display) const { display.write(-2...
18.350877
73
0.664436
whit1206
6d4f87e32ba23587f8382c9a055ae4af79ea382b
4,403
cpp
C++
igl/isolines.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
2,392
2016-12-17T14:14:12.000Z
2022-03-30T19:40:40.000Z
igl/isolines.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
106
2018-04-19T17:47:31.000Z
2022-03-01T19:44:11.000Z
igl/isolines.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
184
2017-11-15T09:55:37.000Z
2022-02-21T16:30:46.000Z
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2017 Oded Stein <oded.stein@columbia.edu> // // 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://mo...
37.632479
579
0.53509
aviadtzemah
6d4fb23ff4fdea206d4effd547e8f27dc2d5bb16
1,131
hpp
C++
ODFAEG/extlibs/headers/MySQL/conncpp/compat/Array.hpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
null
null
null
ODFAEG/extlibs/headers/MySQL/conncpp/compat/Array.hpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
1
2020-02-14T14:19:44.000Z
2020-12-04T17:39:17.000Z
ODFAEG/extlibs/headers/MySQL/conncpp/compat/Array.hpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
2
2021-05-23T13:45:28.000Z
2021-07-24T13:36:13.000Z
/* * * MariaDB C++ Connector * * Copyright (c) 2020 MariaDB Ab. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any l...
29.763158
105
0.721485
Mechap
6d4fcca6ae7254b98ab1e7db63f9ddf6aa8f7077
7,268
hpp
C++
include/System/Resources/ManifestBasedResourceGroveler.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/System/Resources/ManifestBasedResourceGroveler.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/System/Resources/ManifestBasedResourceGroveler.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Resources.IResourceGroveler ...
60.566667
289
0.780545
RedBrumbler
6d504cce8af2f9b1d71156ebebbb2898eeaedca5
1,835
cpp
C++
3D Engine/Inspector.cpp
ofaura/Resonance-Engine
129b94d38f32b3b34a9dd95c5ee5a2adf064da92
[ "MIT" ]
null
null
null
3D Engine/Inspector.cpp
ofaura/Resonance-Engine
129b94d38f32b3b34a9dd95c5ee5a2adf064da92
[ "MIT" ]
null
null
null
3D Engine/Inspector.cpp
ofaura/Resonance-Engine
129b94d38f32b3b34a9dd95c5ee5a2adf064da92
[ "MIT" ]
null
null
null
#include "Inspector.h" #include "Application.h" #include "ModuleWindow.h" #include "ModuleSceneIntro.h" #include "GameObject.h" #include "mmgr/mmgr.h" Inspector::Inspector(bool is_visible) : EditorElement(is_visible) {} Inspector::~Inspector() {} void Inspector::Start() { } void Inspector::Draw() { if (!active) r...
21.588235
112
0.633787
ofaura
6d5218c045ba2eb49984a3a28abdbe905c3186ac
7,498
cpp
C++
EvtGen1_06_00/src/EvtGenModels/EvtBtoXsgammaFermiUtil.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
EvtGen1_06_00/src/EvtGenModels/EvtBtoXsgammaFermiUtil.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
EvtGen1_06_00/src/EvtGenModels/EvtBtoXsgammaFermiUtil.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------- // // // Copyright Information: See EvtGen/COPYRIGHT // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an ...
35.535545
261
0.631368
klendathu2k
6d56961d84a3db32a3779437e2bc90ed51fafb72
3,421
cc
C++
test/core/client_channel/parse_address_test.cc
wangzihust/gRPC
123547c9625c56fdf5cb4ddd1df55ae0c785fa60
[ "Apache-2.0" ]
null
null
null
test/core/client_channel/parse_address_test.cc
wangzihust/gRPC
123547c9625c56fdf5cb4ddd1df55ae0c785fa60
[ "Apache-2.0" ]
null
null
null
test/core/client_channel/parse_address_test.cc
wangzihust/gRPC
123547c9625c56fdf5cb4ddd1df55ae0c785fa60
[ "Apache-2.0" ]
1
2018-03-01T07:37:08.000Z
2018-03-01T07:37:08.000Z
/* * * Copyright 2017 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
33.213592
80
0.708272
wangzihust
6d5c798ad9895ef1d38b81ea9517683a84a6ee8e
16,771
hpp
C++
include/Awl/boost/detail/ob_compressed_pair.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
4
2016-07-01T02:33:28.000Z
2020-03-03T17:52:54.000Z
include/Awl/boost/detail/ob_compressed_pair.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
null
null
null
include/Awl/boost/detail/ob_compressed_pair.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
null
null
null
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. // Use, modification and distribution are subject to 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). // // See http://www.boost.org/libs/utility fo...
32.819961
116
0.667104
Yalir
6d5ce775736d3b41f9f6012a1d3c63da8cc43597
1,128
cpp
C++
pgm10_21.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
1
2021-07-13T03:58:36.000Z
2021-07-13T03:58:36.000Z
pgm10_21.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
pgm10_21.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
// // This file contains the C++ code from Program 10.21 of // "Data Structures and Algorithms // with Object-Oriented Design Patterns in C++" // by Bruno R. Preiss. // // Copyright (c) 1998 by Bruno R. Preiss, P.Eng. All rights reserved. // // http://www.pads.uwaterloo.ca/Bruno.Preiss/books/opus4/program...
28.923077
80
0.616135
neharkarvishal
6d6590c1f8fa236149ada09bc7fbad031b0c344f
1,761
hpp
C++
Quiz4/figure.hpp
deror1869107/yypoop
f3605961787610bf08f8a9ea2afb905d1af3c5c0
[ "MIT" ]
null
null
null
Quiz4/figure.hpp
deror1869107/yypoop
f3605961787610bf08f8a9ea2afb905d1af3c5c0
[ "MIT" ]
null
null
null
Quiz4/figure.hpp
deror1869107/yypoop
f3605961787610bf08f8a9ea2afb905d1af3c5c0
[ "MIT" ]
null
null
null
#include <string> #include <iostream> using namespace std; namespace figure{ //You can add member function in this class class BasePoint{ public: BasePoint(int px, int py):x(px),y(py){} virtual ~BasePoint(){} void settype(string s){ type = s; } ...
25.897059
86
0.454287
deror1869107
6d665fe66e2e9576b3ec710c575ad4aec6f363a7
2,190
cpp
C++
src/LoboFEM/LoboDynamic/LoboDynamicSolver/LoboOptimizationSolver/Dense/NewtonDense.cpp
lrquad/LoboFEM2
4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5
[ "MIT" ]
5
2020-05-09T12:33:08.000Z
2021-12-17T08:07:29.000Z
src/LoboFEM/LoboDynamic/LoboDynamicSolver/LoboOptimizationSolver/Dense/NewtonDense.cpp
FYTalon/LoboFEM2
4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5
[ "MIT" ]
null
null
null
src/LoboFEM/LoboDynamic/LoboDynamicSolver/LoboOptimizationSolver/Dense/NewtonDense.cpp
FYTalon/LoboFEM2
4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5
[ "MIT" ]
2
2021-02-11T10:00:37.000Z
2021-04-18T02:08:11.000Z
#include "NewtonDense.h" #include "LoboDynamic/LoboDynamic.h" #include <fstream> #include <iostream> Lobo::NewtonDense::NewtonDense(DynamicModel *model_, int maxiter, double tol) : LoboOptimizationSolver(model_, maxiter, tol) { q.resize(r); q.setZero(); } Lobo::NewtonDense::~NewtonDense() { } void Lobo::...
26.071429
124
0.618721
lrquad
6d67e0363661e1d539e79d0f973a30d700353c89
2,135
cpp
C++
src/c++/methods/ModfileInstanceMethods.cpp
TestingTravis/modioSDK
b15c4442a8acdb4bf690a846232399eaf9fe18f6
[ "MIT" ]
null
null
null
src/c++/methods/ModfileInstanceMethods.cpp
TestingTravis/modioSDK
b15c4442a8acdb4bf690a846232399eaf9fe18f6
[ "MIT" ]
null
null
null
src/c++/methods/ModfileInstanceMethods.cpp
TestingTravis/modioSDK
b15c4442a8acdb4bf690a846232399eaf9fe18f6
[ "MIT" ]
null
null
null
#include "c++/ModIOInstance.h" namespace modio { void Instance::getModfile(u32 mod_id, u32 modfile_id, const std::function<void(const modio::Response &response, const modio::Modfile &modfile)> &callback) { const struct GetModfileCall *get_modfile_call = new GetModfileCall{callback}; get_modfile_calls[this->current...
42.7
194
0.783607
TestingTravis
6d704b1040852473351adb33515a52ba58481a7f
1,625
hpp
C++
Framework/[C++ Core]/[[Tools]]/UISegment.hpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
3
2019-10-10T19:25:42.000Z
2019-12-17T10:51:23.000Z
Framework/[C++ Core]/[[Tools]]/UISegment.hpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
null
null
null
Framework/[C++ Core]/[[Tools]]/UISegment.hpp
nraptis/Metal_OpenGL_MobileGameEngine
cc36682676a9797df8b3a7ee235b99be3ae2f666
[ "MIT" ]
1
2021-11-16T15:29:40.000Z
2021-11-16T15:29:40.000Z
// // UISegment.hpp // DigMMMac // // Created by Raptis, Nicholas on 7/4/18. // Copyright © 2018 Darkswarm LLC. All rights reserved. // #ifndef UISegment_hpp #define UISegment_hpp #include "ToolMenuSectionRow.hpp" #include "UISegmentButton.hpp" class UISegment : public ToolMenuSectionRow { public: UISeg...
38.690476
383
0.521231
nraptis
6d7189c225fbad52339e579835965c13a10a89dc
4,881
cpp
C++
HelloCocos/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.cpp
l-le/git-centos
8479f0342d3d48df1ee7d0db4eafa96a0d151f43
[ "MIT" ]
34
2017-08-16T13:58:24.000Z
2022-03-31T11:50:25.000Z
HelloCocos/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.cpp
l-le/git-centos
8479f0342d3d48df1ee7d0db4eafa96a0d151f43
[ "MIT" ]
null
null
null
HelloCocos/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.cpp
l-le/git-centos
8479f0342d3d48df1ee7d0db4eafa96a0d151f43
[ "MIT" ]
17
2017-08-18T07:42:44.000Z
2022-01-02T02:43:06.000Z
#include "tinyxml2/tinyxml2.h" #include "flatbuffers/flatbuffers.h" #include "cocostudio/WidgetReader/NodeReader/NodeReader.h" #include "cocostudio/CSParseBinary_generated.h" #include "CSArmatureNode_generated.h" #include "cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.h" #include "cocostudio/CCArmature....
25.689474
102
0.686949
l-le
6d71bafb84372bfc6627297c7930573a2f711fbc
2,670
cpp
C++
p4/CheckerRunner.cpp
sabrina-enriquez/ECS36c
e0b9f8128a086973c7c98e900ed2ceee7ce40a65
[ "MIT" ]
null
null
null
p4/CheckerRunner.cpp
sabrina-enriquez/ECS36c
e0b9f8128a086973c7c98e900ed2ceee7ce40a65
[ "MIT" ]
null
null
null
p4/CheckerRunner.cpp
sabrina-enriquez/ECS36c
e0b9f8128a086973c7c98e900ed2ceee7ce40a65
[ "MIT" ]
null
null
null
#include <fstream> #include <cstring> #include <cstdlib> #include <iostream> #include "CheckerRunner.h" #include "checker.h" #include "CPUTimer.h" using namespace std; MatchingWords* readTesterFile(const char *filename, int *numWords) { char line[1000], *ptr; ifstream inf(filename); inf >> *numWords; Matchin...
27.244898
75
0.597753
sabrina-enriquez
6d71bd48ffadd52eb0761454f9b6a0a9e2bc660b
1,391
cpp
C++
lib/bigssMath/bigssKinematicsUtils.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
13
2021-11-16T08:17:39.000Z
2022-02-11T11:08:55.000Z
lib/bigssMath/bigssKinematicsUtils.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
null
null
null
lib/bigssMath/bigssKinematicsUtils.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
1
2021-11-16T08:17:42.000Z
2021-11-16T08:17:42.000Z
#include "bigssKinematicsUtils.h" vctMatrix4x4 FrameInverse(const vctMatrix4x4& f) { vctMatrix4x4 f_inv = vctMatrix4x4::Eye(); vctDynamicConstMatrixRef<double> R(f, 0, 0, 3, 3); vctDynamicMatrixRef<double> R_T(f_inv, 0, 0, 3, 3); R_T = R.Transpose(); vctDynamicConstMatrixRef<double> trans(f, 0, 3, ...
23.183333
95
0.64486
gaocong13
6d7441e1dc2584b849f2a329b5d78eee5efaff4f
3,904
cpp
C++
517-13-C.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
517-13-C.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
517-13-C.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
/* * Author: xiaohei_AWM * Date:11.1 * Motto: Face to the weakness, expect for the strength. */ #include<cstdio> #include<cstring> #include<algorithm> #include<iostream> #include<cstdlib> #include<ctime> #include<utility> #include<functional> #include<map> #include<cmath> #include<vector> #include<assert.h> #include...
25.025641
81
0.460553
AndrewWayne
6d7a5d7ca8fb3a98fc62d1b31e80fe8379e22aea
2,624
hxx
C++
src/weapon/plasma_burst.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/weapon/plasma_burst.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/weapon/plasma_burst.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
1
2022-01-29T11:54:41.000Z
2022-01-29T11:54:41.000Z
/** * @file * @author Jason Lingle * @brief Contains the PlasmaBurst weapon */ #ifndef PLASMA_BURST_HXX_ #define PLASMA_BURST_HXX_ #include <vector> #include "src/sim/game_object.hxx" #include "src/sim/objdl.hxx" #include "explode_listener.hxx" class Ship; #define PLASMA_BURST_RADIUS 0.005f ///< Radius of Plas...
27.914894
87
0.728277
AltSysrq
6d7a7281785338e4e117a613d7e16f2e6693e57c
2,127
cpp
C++
src/MEL/Communications/MelNet.cpp
mahilab/MEL
b877b2ed9cd265b1ee3c1cc623a339ec1dc73185
[ "Zlib" ]
6
2018-09-14T05:07:03.000Z
2021-09-30T17:15:11.000Z
src/MEL/Communications/MelNet.cpp
mahilab/MEL
b877b2ed9cd265b1ee3c1cc623a339ec1dc73185
[ "Zlib" ]
null
null
null
src/MEL/Communications/MelNet.cpp
mahilab/MEL
b877b2ed9cd265b1ee3c1cc623a339ec1dc73185
[ "Zlib" ]
3
2018-09-20T00:58:31.000Z
2022-02-09T06:02:56.000Z
#include <MEL/Communications/MelNet.hpp> #include <MEL/Core/Console.hpp> namespace mel { //============================================================================== // CLASS DEFINITIONS //============================================================================== MelNet::MelNet(unsigned short local_port, uns...
26.924051
80
0.606488
mahilab
6d7c083d95397910ceb0f10e4e0938a20472ddb4
4,982
cc
C++
examples/BasisConstruction.cc
edoars/latticetester
980179abe2da78b8a13d2b912d2215b97509c528
[ "Apache-2.0" ]
null
null
null
examples/BasisConstruction.cc
edoars/latticetester
980179abe2da78b8a13d2b912d2215b97509c528
[ "Apache-2.0" ]
2
2018-07-27T15:41:06.000Z
2019-06-05T17:41:14.000Z
examples/BasisConstruction.cc
edoars/latticetester
980179abe2da78b8a13d2b912d2215b97509c528
[ "Apache-2.0" ]
1
2021-03-24T01:11:53.000Z
2021-03-24T01:11:53.000Z
/** * This example showcases the usage of the BasisConstruction module. This reads * matrices from files and builds a basis and a dual for an `IntLatticeBasis` * object. The files this is set to use are in the `bench.zip` archive. To * execute the program, the archive should be unziped and the `bench` folder * sho...
35.841727
100
0.639101
edoars
6d7c92142604f62e5fd6bd3eef052833313fcabe
1,575
cpp
C++
hackerrank/30.days.of.code.2016.01/18/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
13
2015-06-07T09:26:26.000Z
2019-05-01T13:23:38.000Z
hackerrank/30.days.of.code.2016.01/18/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
null
null
null
hackerrank/30.days.of.code.2016.01/18/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
4
2016-03-05T06:21:05.000Z
2017-02-17T15:34:18.000Z
// hackerrank 30 Days of Code // https://www.hackerrank.com/contests/30-days-of-code/challenges/day-18-queues-stacks // Day 18: Queues & Stacks! #include <iostream> #include <string> #include <stack> #include <queue> using namespace std; class Palindrome { public: Palindrome() {} void pushCharacter(char c) {...
21.283784
86
0.545397
seirion
6d80f76dc0278e4c0b9eb70de9b7aac5878be607
2,044
cc
C++
src/Core/Datatypes/Datatype.cc
damu1000/Uintah
0c768664c1fe0a80eff2bbbd9b837e27f281f0a5
[ "MIT" ]
2
2021-12-17T05:50:44.000Z
2021-12-22T21:37:32.000Z
src/Core/Datatypes/Datatype.cc
damu1000/Uintah
0c768664c1fe0a80eff2bbbd9b837e27f281f0a5
[ "MIT" ]
null
null
null
src/Core/Datatypes/Datatype.cc
damu1000/Uintah
0c768664c1fe0a80eff2bbbd9b837e27f281f0a5
[ "MIT" ]
1
2020-11-30T04:46:05.000Z
2020-11-30T04:46:05.000Z
/* * The MIT License * * Copyright (c) 1997-2020 The University of Utah * * 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 * right...
24.926829
79
0.734834
damu1000
6d841ced44f8ed4ce512ffca9d898fc30825bf86
676
cpp
C++
samples/01_programming 101/2016/nestedcycles/nestedcycles.cpp
code-hunger/lecture-notes
0200c57a4c2539b4d8b7cb172c2b6e4f5c689268
[ "MIT" ]
32
2016-11-24T01:40:21.000Z
2021-11-01T19:24:22.000Z
samples/01_programming 101/2016/nestedcycles/nestedcycles.cpp
code-hunger/lecture-notes
0200c57a4c2539b4d8b7cb172c2b6e4f5c689268
[ "MIT" ]
6
2016-10-15T05:57:00.000Z
2021-08-13T12:29:24.000Z
samples/01_programming 101/2016/nestedcycles/nestedcycles.cpp
code-hunger/lecture-notes
0200c57a4c2539b4d8b7cb172c2b6e4f5c689268
[ "MIT" ]
49
2016-01-26T13:36:02.000Z
2022-03-16T10:24:41.000Z
#include <iostream> using namespace std; int main () { double doubleM[5][5]={-1,-1,-1,-1,-1, -1,-1,-1,-1,-1, -1,-1,-1,-1,-1, -1,-1,-1,-1,-1, -1,-1,-1,-1,-1}; cin >> doubleM[0][0]; cin >> doubleM[1][1]; cin >> doubleM[2][2]; cin >> doubleM[3][3]; cin >> doubleM[4][4]...
17.789474
46
0.519231
code-hunger
6d84c3ce7fb3a332a742716b8b567c901e1e67b3
1,848
hpp
C++
Nacro/SDK/FN_LobbyTimer_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_LobbyTimer_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_LobbyTimer_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function LobbyTimer.Lo...
28
152
0.577922
Milxnor
6d89a10fcd8756b6c37a65374296790657a488d3
64,107
cpp
C++
0.55.402/graysvr/CChar.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
2
2020-12-22T17:03:14.000Z
2021-07-31T23:59:05.000Z
0.55.402/graysvr/CChar.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
null
null
null
0.55.402/graysvr/CChar.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
4
2021-04-21T19:43:48.000Z
2021-10-07T00:38:23.000Z
// // CChar.cpp // Copyright Menace Software (www.menasoft.com). // CChar is either an NPC or a Player. // #include "graysvr.h" // predef header. #include "CClient.h" LPCTSTR const CChar::sm_szTrigName[CTRIG_QTY+1] = // static { _TEXT("@AAAUNUSED"), _TEXT("@Attack"), // I am attacking someone (SRC) _TEXT("@Call...
22.541139
199
0.640944
Jhobean
6d8a765baa7362b2798093330359711daa77da74
2,630
cpp
C++
list/138 CopyListwithRandomPointer.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
list/138 CopyListwithRandomPointer.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
list/138 CopyListwithRandomPointer.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
// // Copy List with Random Pointer.cpp // Leetcode // // Created by Quinn on 2020/7/15. // Copyright © 2020 Quinn. All rights reserved. // #include <stdio.h> #include <map> #include <unordered_map> using namespace std; // Definition for a Node. class Node { public: int val; Node* next; Node* random; ...
21.735537
64
0.490875
CoderQuinnYoung
6d8b4261bd7dc7fb9d4598f984fa2b17c6d5ff19
4,850
cpp
C++
07. Raytracing */Old_version/main.cpp
Hollbrok/Ilab-2020-21
819a30dc4485ad874c273e9a01ca4adcf8bb2ea0
[ "MIT" ]
3
2021-12-06T20:39:29.000Z
2022-02-04T14:59:33.000Z
07. Raytracing */Old_version/main.cpp
Hollbrok/Ilab-2020-21
819a30dc4485ad874c273e9a01ca4adcf8bb2ea0
[ "MIT" ]
null
null
null
07. Raytracing */Old_version/main.cpp
Hollbrok/Ilab-2020-21
819a30dc4485ad874c273e9a01ca4adcf8bb2ea0
[ "MIT" ]
null
null
null
#include "vector.h" #include "Header.h" bool UseTxPixel = false; int main() { Vector vec1(1, 1, 1); Vector vec2(23, -1, 0); Vector vec3 = vec1 ^ vec2; Vector vec4 = vec1 - vec2; PRINT_VEC(vec3); PRINT_VEC(vec4); vec1.print(); vec1 += vec2; vec1.print(); double r = 200; txCreateWindow(800, 600); txT...
24.744898
108
0.539175
Hollbrok
6d8e89c686387fcf2dcceae129fe11fc3de109d9
3,245
cpp
C++
Sources/simdlib/SimdNeonStretchGray2x2.cpp
aestesis/Csimd
b333a8bb7e7f2707ed6167badb8002cfe3504bbc
[ "Apache-2.0" ]
6
2017-10-13T04:29:38.000Z
2018-05-10T13:52:20.000Z
Sources/simdlib/SimdNeonStretchGray2x2.cpp
aestesis/Csimd
b333a8bb7e7f2707ed6167badb8002cfe3504bbc
[ "Apache-2.0" ]
null
null
null
Sources/simdlib/SimdNeonStretchGray2x2.cpp
aestesis/Csimd
b333a8bb7e7f2707ed6167badb8002cfe3504bbc
[ "Apache-2.0" ]
null
null
null
/* * Simd Library (http://ermig1979.github.io/Simd). * * Copyright (c) 2011-2017 Yermalayeu Ihar. * * 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 with...
43.266667
113
0.634206
aestesis
6d902353e7eb14530215ac2d514319281e8a8c5c
2,846
cpp
C++
server/src/streams/tests/ServerTestsWriter.cpp
PolyProgrammist/UTBotCpp
4886622f21c92e3b73daa553008e541be9d82f21
[ "Apache-2.0" ]
null
null
null
server/src/streams/tests/ServerTestsWriter.cpp
PolyProgrammist/UTBotCpp
4886622f21c92e3b73daa553008e541be9d82f21
[ "Apache-2.0" ]
null
null
null
server/src/streams/tests/ServerTestsWriter.cpp
PolyProgrammist/UTBotCpp
4886622f21c92e3b73daa553008e541be9d82f21
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Huawei Technologies Co., Ltd. 2012-2021. All rights reserved. */ #include "ServerTestsWriter.h" #include <utils/FileSystemUtils.h> void ServerTestsWriter::writeTestsWithProgress(tests::TestsMap &testMap, std::string const &message, ...
37.946667
95
0.601546
PolyProgrammist
6d9139e3c5860296da18e7907059fbfc9d0aef8c
6,965
cpp
C++
Algorithms on Strings/Suffix tree/non_shared_substring.cpp
OssamaEls/Data-Structures-and-Algorithms
b6affc28a792f577010e666d565ec6cc7f0ecbfa
[ "MIT" ]
null
null
null
Algorithms on Strings/Suffix tree/non_shared_substring.cpp
OssamaEls/Data-Structures-and-Algorithms
b6affc28a792f577010e666d565ec6cc7f0ecbfa
[ "MIT" ]
null
null
null
Algorithms on Strings/Suffix tree/non_shared_substring.cpp
OssamaEls/Data-Structures-and-Algorithms
b6affc28a792f577010e666d565ec6cc7f0ecbfa
[ "MIT" ]
null
null
null
//Input Format.Strings Text1and Text2. //Constraints. 1 ≤ | Text1 | , | Text2 | ≤ 2 000; strings have equal length(| Text1 | = | Text2 | ), are not equal //(Text1 ̸ = Text2), and contain symbols A, C, G, T only. //Output Format.The shortest(non - empty) substring of Text1 that does not appear in Text2. (Multiple /...
30.151515
115
0.429146
OssamaEls
6d9924a06208b34422676369dbb5715a16f0e7d0
830
hpp
C++
projects/engine/extern/rendering/opengl/ri_opengl4.hpp
zCubed3/Tilt
e9c68b96eb8dea47b70ba734bc2ef4cffc30a2af
[ "MIT" ]
null
null
null
projects/engine/extern/rendering/opengl/ri_opengl4.hpp
zCubed3/Tilt
e9c68b96eb8dea47b70ba734bc2ef4cffc30a2af
[ "MIT" ]
null
null
null
projects/engine/extern/rendering/opengl/ri_opengl4.hpp
zCubed3/Tilt
e9c68b96eb8dea47b70ba734bc2ef4cffc30a2af
[ "MIT" ]
null
null
null
#ifndef TILT_OPENGL_INTERFACE_HPP #define TILT_OPENGL_INTERFACE_HPP #include "../render_interface.hpp" class RI_OpenGL4 : public RI_Impl { public: // // Metadata // const char * get_ApiName() override; const char * get_Signature() override; // // Setup // void setup_Initial() over...
20.75
62
0.678313
zCubed3
6d9abe0bf8bd4827fc3a7d53cbd28ec73702d748
310
cpp
C++
src/JumpGameII.cpp
harborn/LeetCode
8488c0bcf306b8672492fd6220e496e335e2b9fe
[ "MIT" ]
null
null
null
src/JumpGameII.cpp
harborn/LeetCode
8488c0bcf306b8672492fd6220e496e335e2b9fe
[ "MIT" ]
1
2021-12-14T15:56:11.000Z
2021-12-14T15:56:11.000Z
src/JumpGameII.cpp
harborn/LeetCode
8488c0bcf306b8672492fd6220e496e335e2b9fe
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int jump(int A[], int n) { int maxPos = 0, lastMaxPos = 0; int res = 0; for (int i = 0; i < n; i++) { if (i > lastMaxPos) { res++; lastMaxPos = maxPos; } if (i + A[i] > maxPos) maxPos = i + A[i]; } return res; } int main(void) { return 0; }
11.923077
32
0.532258
harborn
6d9b5206c1ca53bcdb0d51e417b69f5fd8ecf432
8,528
cpp
C++
src/Core/Input/InputXML.cpp
tgcy210/cyclus
b9402710be94403d33aa5a9b9aa546cdcca1cb86
[ "Unlicense" ]
1
2018-07-29T16:10:02.000Z
2018-07-29T16:10:02.000Z
src/Core/Input/InputXML.cpp
tgcy210/cyclus
b9402710be94403d33aa5a9b9aa546cdcca1cb86
[ "Unlicense" ]
null
null
null
src/Core/Input/InputXML.cpp
tgcy210/cyclus
b9402710be94403d33aa5a9b9aa546cdcca1cb86
[ "Unlicense" ]
null
null
null
// InputXML.cpp // Implements XML input handling class #include <iostream> #include <string> #include <sys/stat.h> #include "InputXML.h" #include "Timer.h" #include "Env.h" #include "RecipeLibrary.h" #include "CycException.h" #include "Model.h" //#include "Material.h" #include "Logger.h" InputXML* InputXML::instance...
29.006803
91
0.576923
tgcy210
6d9da3bc285ea7c86bd981949c817d65a5b6c9e5
7,980
cpp
C++
TerraFighterDev/2DFont.cpp
cjburchell/terrafighter
debc9b7563de05263d9159fbff15407a2dcb0fe9
[ "Apache-2.0" ]
null
null
null
TerraFighterDev/2DFont.cpp
cjburchell/terrafighter
debc9b7563de05263d9159fbff15407a2dcb0fe9
[ "Apache-2.0" ]
null
null
null
TerraFighterDev/2DFont.cpp
cjburchell/terrafighter
debc9b7563de05263d9159fbff15407a2dcb0fe9
[ "Apache-2.0" ]
null
null
null
// 2DFont.cpp: implementation of the C2DFont class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "2DFont.h" #include "dxutil.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction /////////////////////////////////...
31.666667
168
0.629699
cjburchell
6d9e9ae225f903da0f3266f456b0ad7c1f3ee6b2
7,532
tcc
C++
include/DataFrame/Vectors/HeteroPtrView.tcc
wtom76/DataFrame
5302254fab329310b09d1efcb2e860c71e25b5c3
[ "BSD-3-Clause" ]
null
null
null
include/DataFrame/Vectors/HeteroPtrView.tcc
wtom76/DataFrame
5302254fab329310b09d1efcb2e860c71e25b5c3
[ "BSD-3-Clause" ]
null
null
null
include/DataFrame/Vectors/HeteroPtrView.tcc
wtom76/DataFrame
5302254fab329310b09d1efcb2e860c71e25b5c3
[ "BSD-3-Clause" ]
null
null
null
// Hossein Moein // June 24, 2019 // Copyright (C) 2018-2019 Hossein Moein // Distributed under the BSD Software License (see file License) #include <algorithm> // ---------------------------------------------------------------------------- namespace hmdf { template<typename T> HeteroPtrView::HeteroPtrView(T *begin...
30.742857
79
0.471588
wtom76
6da02d37893ff3aa0535cfe25955cb53af692d44
11,794
hpp
C++
include/caffe/data_layers.hpp
xiaomi646/caffe_2d_mlabel
912c92d6f3ba530e1abea79fb1ab2cb34aa5bd65
[ "BSD-2-Clause" ]
1
2015-07-08T15:30:06.000Z
2015-07-08T15:30:06.000Z
include/caffe/data_layers.hpp
xiaomi646/caffe_2d_mlabel
912c92d6f3ba530e1abea79fb1ab2cb34aa5bd65
[ "BSD-2-Clause" ]
null
null
null
include/caffe/data_layers.hpp
xiaomi646/caffe_2d_mlabel
912c92d6f3ba530e1abea79fb1ab2cb34aa5bd65
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2014 BVLC and contributors. #ifndef CAFFE_DATA_LAYERS_HPP_ #define CAFFE_DATA_LAYERS_HPP_ #include <string> #include <utility> #include <vector> #include "leveldb/db.h" #include "lmdb.h" #include "pthread.h" #include "hdf5.h" #include "boost/scoped_ptr.hpp" #include "caffe/blob.hpp" #include "caffe/com...
33.410765
77
0.731643
xiaomi646
6da09a04593bd6e18afd7ad1b3f79b8d5d0e9e27
3,261
hpp
C++
xlib/include/Host/Classes/impl/Collection.i.hpp
divyegala/hornet
7c4cbc3b9a56ce208e35d7733aeeda18d0c9ff93
[ "BSD-3-Clause" ]
61
2017-10-09T01:26:35.000Z
2022-03-18T12:39:18.000Z
xlib/include/Host/Classes/impl/Collection.i.hpp
divyegala/hornet
7c4cbc3b9a56ce208e35d7733aeeda18d0c9ff93
[ "BSD-3-Clause" ]
37
2017-10-18T14:01:57.000Z
2022-02-18T18:23:30.000Z
xlib/include/Host/Classes/impl/Collection.i.hpp
divyegala/hornet
7c4cbc3b9a56ce208e35d7733aeeda18d0c9ff93
[ "BSD-3-Clause" ]
32
2017-10-11T15:33:01.000Z
2020-12-11T17:41:19.000Z
/*------------------------------------------------------------------------------ Copyright © 2016 by Nicola Bombieri XLib is provided under the terms of 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 "Softwar...
32.287129
80
0.681079
divyegala
6da5cde680606e912901fc8ffe79da6cba576d61
12,225
cpp
C++
3rdparty/opencl-miner/ufoStratum.cpp
XziimP/ufochain
d6cda5b6df82c7ef662a780dc8b918c1ca7f9d4c
[ "MIT" ]
38
2020-02-16T02:06:50.000Z
2021-07-14T04:49:10.000Z
3rdparty/opencl-miner/ufoStratum.cpp
XziimP/ufochain
d6cda5b6df82c7ef662a780dc8b918c1ca7f9d4c
[ "MIT" ]
21
2020-03-02T08:33:12.000Z
2020-05-26T04:07:25.000Z
3rdparty/opencl-miner/ufoStratum.cpp
XziimP/ufochain
d6cda5b6df82c7ef662a780dc8b918c1ca7f9d4c
[ "MIT" ]
12
2020-01-16T09:32:53.000Z
2021-04-16T15:54:18.000Z
// UFO OpenCL Miner // Stratum interface class // Copyright 2018 The Ufo Team // Copyright 2018 Wilke Trei #include "ufoStratum.h" #include "crypto/sha256.c" namespace ufoMiner { // This one ensures that the calling thread can work on immediately void ufoStratum::queueDataSend(string data) { io_service.post(boost...
30.5625
148
0.657505
XziimP
6da8e81c069b82cab547e818fb4212f135ae64d6
436
cpp
C++
strings/redundantBraces.cpp
archit-1997/InterviewB
6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7
[ "MIT" ]
1
2021-01-27T16:37:38.000Z
2021-01-27T16:37:38.000Z
strings/redundantBraces.cpp
archit-1997/InterviewBit
6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7
[ "MIT" ]
null
null
null
strings/redundantBraces.cpp
archit-1997/InterviewBit
6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7
[ "MIT" ]
null
null
null
int Solution::braces(string A) { stack<char> s; auto size = A.length(); int i = 0; while (i < size) { char c = A[i]; if (c == '(' || c == '+' || c == '*' || c == '-' || c == '/') { s.push(c); } else if (c == ')') { if (s.top() == '(') { return 1; } else { while (!s....
18.956522
67
0.318807
archit-1997
6daf5f6f42a2749c5d7f78cc9186486563fb7282
4,356
cpp
C++
src/managers/keys.cpp
BerilBBJ/beryldb
6569b568796e4cea64fe7f42785b0319541a0284
[ "BSD-3-Clause" ]
206
2021-04-27T21:44:24.000Z
2022-02-23T12:01:20.000Z
src/managers/keys.cpp
BerilBBJ/beryldb
6569b568796e4cea64fe7f42785b0319541a0284
[ "BSD-3-Clause" ]
10
2021-05-04T19:46:59.000Z
2021-10-01T23:43:07.000Z
src/managers/keys.cpp
berylcorp/beryl
6569b568796e4cea64fe7f42785b0319541a0284
[ "BSD-3-Clause" ]
7
2021-04-28T16:17:56.000Z
2021-12-10T01:14:42.000Z
/* * BerylDB - A lightweight database. * http://www.beryldb.com * * Copyright (C) 2021 - Carlos F. Ferry <cferry@beryldb.com> * * This file is part of BerylDB. BerylDB is free software: you can * redistribute it and/or modify it under the terms of the BSD License * version 3. * * More information about our l...
32.029412
173
0.652893
BerilBBJ
6db098004a6bfc479175022e182c8676d3d42ba8
2,662
hpp
C++
ScrPlayer/Decoder.hpp
darrennong/scrcpy
1f205369d8af6133f6787c7c9314f8885c353c6f
[ "Apache-2.0" ]
null
null
null
ScrPlayer/Decoder.hpp
darrennong/scrcpy
1f205369d8af6133f6787c7c9314f8885c353c6f
[ "Apache-2.0" ]
null
null
null
ScrPlayer/Decoder.hpp
darrennong/scrcpy
1f205369d8af6133f6787c7c9314f8885c353c6f
[ "Apache-2.0" ]
null
null
null
#pragma once #include "ScrPlayer.h" #include <libavformat/avformat.h> #include <libavutil/time.h> #include "compat.h" #include "events.h" #include "videoBuffer.hpp" #include "util/buffer_util.h" #include "util/log.h" #define EVENT_NEW_SESSION SDL_USEREVENT #define EVENT_NEW_FRAME (SDL_USEREVENT + 1) #define ...
28.623656
107
0.581142
darrennong
6db36bf248c4e9af168fdd1ffd4894219327bc1c
1,303
cpp
C++
equalize.cpp
mtctr/ufrn-pdi
55c2de9d6ad574d50d05b864b85acf253c4048cf
[ "MIT" ]
null
null
null
equalize.cpp
mtctr/ufrn-pdi
55c2de9d6ad574d50d05b864b85acf253c4048cf
[ "MIT" ]
null
null
null
equalize.cpp
mtctr/ufrn-pdi
55c2de9d6ad574d50d05b864b85acf253c4048cf
[ "MIT" ]
null
null
null
#include <iostream> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; int main(int argc, char** argv){ Mat image, equalized; int width, height; vector<Mat> planes; Mat hist; int nbins = 256; float range[] = {0, 256}; const float *histrange = { range }; bool uniform = true; bool ...
22.465517
82
0.61627
mtctr
6db690ee60364436c175690f01d1ec4ccfb8d611
61,738
cpp
C++
Source/CQOR/math.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/CQOR/math.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/CQOR/math.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//math.cpp // Copyright Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit the Software, ...
22.450182
89
0.462632
mfaithfull
6db98c69314e0e13ee71fbced033b38e07882615
1,147
cpp
C++
legion/engine/physics/physx/data/physx_wrapper_container.cpp
Rythe-Interactive/Rythe-Engine.rythe-legacy
c119c494524b069a73100b12dc3d8b898347830d
[ "MIT" ]
2
2022-03-08T09:46:17.000Z
2022-03-28T08:07:05.000Z
legion/engine/physics/physx/data/physx_wrapper_container.cpp
Rythe-Interactive/Rythe-Engine.rythe-legacy
c119c494524b069a73100b12dc3d8b898347830d
[ "MIT" ]
3
2022-03-02T13:49:10.000Z
2022-03-22T11:54:06.000Z
legion/engine/physics/physx/data/physx_wrapper_container.cpp
Rythe-Interactive/Rythe-Engine.rythe-legacy
c119c494524b069a73100b12dc3d8b898347830d
[ "MIT" ]
null
null
null
#include "physx_wrapper_container.hpp" namespace legion::physics { PhysxInternalWrapper& PhysxWrapperContainer::createPhysxWrapper(physics_component& unregisteredPhysXWrapper) { unregisteredPhysXWrapper.physicsComponentID = nextID; m_wrapperIDSet.insert(nextID); m_physxWrappers.emplace...
29.410256
112
0.665214
Rythe-Interactive
6dbae9f7c2946d9c02138867a02ad2e8d9c507d1
3,972
cpp
C++
rviz_common/src/rviz_common/viewport_mouse_event.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
5
2020-01-14T06:45:59.000Z
2021-03-11T11:22:35.000Z
rviz_common/src/rviz_common/viewport_mouse_event.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
2
2019-02-12T21:55:08.000Z
2019-02-20T01:01:24.000Z
rviz_common/src/rviz_common/viewport_mouse_event.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
9
2018-09-09T20:48:17.000Z
2021-03-11T11:22:52.000Z
/* * Copyright (c) 2017, Open Source Robotics Foundation, Inc. * 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 * ...
30.090909
88
0.737412
romi2002
6dc4a97c1fae289eba081b444e8f22d9cb96b016
7,923
cpp
C++
mailbox_base_station/src/RadioManager.cpp
mattheweshleman/mailbox-event-driven-demo
68775613f7af22d52600b258680ba265578242b8
[ "Unlicense" ]
3
2018-02-21T18:36:48.000Z
2020-04-04T04:51:56.000Z
mailbox_base_station/src/RadioManager.cpp
mattheweshleman/mailbox-event-driven-demo
68775613f7af22d52600b258680ba265578242b8
[ "Unlicense" ]
null
null
null
mailbox_base_station/src/RadioManager.cpp
mattheweshleman/mailbox-event-driven-demo
68775613f7af22d52600b258680ba265578242b8
[ "Unlicense" ]
null
null
null
/* * RadioManager.cpp * * Created on: May 28, 2016 * Author: Matthew Eshleman */ #include "RadioManager.h" #include <cstdint> #include "FreeRTOS.h" #include "task.h" #include "queue.h" #include "mbed.h" #include "sx1276-inAir.h" #include "myDebug.h" #include "app_config_data_types.hpp" #include "radio_setti...
21.471545
85
0.654424
mattheweshleman
6dd15b3fcf648fd857cb5a70bd4dff49e1cb3465
1,330
hpp
C++
tlib/include/tlib/print.hpp
osstudy/thor-os
9b5793da647a27d7a6de2e48f6dd39dca0313d2b
[ "BSL-1.0" ]
null
null
null
tlib/include/tlib/print.hpp
osstudy/thor-os
9b5793da647a27d7a6de2e48f6dd39dca0313d2b
[ "BSL-1.0" ]
null
null
null
tlib/include/tlib/print.hpp
osstudy/thor-os
9b5793da647a27d7a6de2e48f6dd39dca0313d2b
[ "BSL-1.0" ]
1
2020-02-04T16:36:51.000Z
2020-02-04T16:36:51.000Z
//======================================================================= // Copyright Baptiste Wicht 2013-2016. // 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) //================================================...
20.78125
73
0.658647
osstudy
6dd3142759f66b0b5eb6af52307768fab1a3d002
113
hxx
C++
src/Providers/UNIXProviders/Directory/UNIX_Directory_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/Directory/UNIX_Directory_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/Directory/UNIX_Directory_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_STUB #ifndef __UNIX_DIRECTORY_PRIVATE_H #define __UNIX_DIRECTORY_PRIVATE_H #endif #endif
9.416667
34
0.831858
brunolauze
6dd54260043d8016f283e6e1487c35b4c634129e
661
hpp
C++
src/background/RoadGenerator.hpp
AgaBuu/TankBotFight
154b176b697b5d88fffb4b0c9c9c2f8dac334afb
[ "MIT" ]
10
2021-08-06T13:07:01.000Z
2022-02-03T20:28:11.000Z
src/background/RoadGenerator.hpp
AgaBuu/TankBotFight
154b176b697b5d88fffb4b0c9c9c2f8dac334afb
[ "MIT" ]
29
2021-08-06T12:47:25.000Z
2022-03-01T13:35:41.000Z
src/background/RoadGenerator.hpp
AgaBuu/TankBotFight
154b176b697b5d88fffb4b0c9c9c2f8dac334afb
[ "MIT" ]
10
2021-08-06T13:07:03.000Z
2022-02-09T12:26:52.000Z
#pragma once #include <SFML/Graphics.hpp> #include <background/Ground.hpp> class TextureStore; class RoadGenerator { public: using RoadVec = std::vector<std::vector<bool>>; using GroundTypeVec = std::vector<std::vector<GroundType>>; static RoadVec generate(); }; namespace RoadPattern { enum Pattern { /* * ...
15.022727
61
0.429652
AgaBuu
6dd67b7706bb01e6cf2a651e17a06faecc4838f8
13,722
cpp
C++
dependencies/TinyTest/TinyLib.cpp
bmharper/xo
575429591c166cc70db60385d2a6563d0f9bc9ed
[ "Unlicense" ]
7
2015-12-18T04:17:29.000Z
2020-03-13T15:38:54.000Z
dependencies/TinyTest/TinyLib.cpp
benharper123/xo
575429591c166cc70db60385d2a6563d0f9bc9ed
[ "Unlicense" ]
null
null
null
dependencies/TinyTest/TinyLib.cpp
benharper123/xo
575429591c166cc70db60385d2a6563d0f9bc9ed
[ "Unlicense" ]
4
2016-09-18T13:16:02.000Z
2022-03-23T11:33:53.000Z
/* This file contains the utility functions that are used by testing code. */ #ifdef _WIN32 #include <direct.h> #include <VersionHelpers.h> #include <tchar.h> #pragma warning(push) // TinyLib-TOP #pragma warning(disable: 6387) #pragma warning(disable: 28204) #include "StackWalker.h" #else #include <unistd.h> #includ...
23.781629
153
0.683865
bmharper
6dd704aef7d847fa4387f612abd9ce17ce995973
2,848
cpp
C++
liblava-extras/liblava-extras/fbx/fbx_loader.cpp
Cons-Cat/lava-fbx
266a52bc5616abd38a1b72086809521caff41971
[ "MIT" ]
null
null
null
liblava-extras/liblava-extras/fbx/fbx_loader.cpp
Cons-Cat/lava-fbx
266a52bc5616abd38a1b72086809521caff41971
[ "MIT" ]
null
null
null
liblava-extras/liblava-extras/fbx/fbx_loader.cpp
Cons-Cat/lava-fbx
266a52bc5616abd38a1b72086809521caff41971
[ "MIT" ]
null
null
null
#include <liblava-extras/fbx/fbx_glm.hpp> #include <liblava-extras/fbx/fbx_loader.hpp> namespace lava::extras { auto load_fbx_scene(lava::name filename) -> ofbx::IScene* { std::string target_file = filename; // lava::cdata const file_data = lava::file_data(filename); // TODO(conscat): Modernize C-style casts. ...
37.973333
79
0.625351
Cons-Cat
6ddf6156d6075b439a93ac137a6c23e8da335f9b
1,028
hpp
C++
src/ida_cnv_utils.hpp
obaby/ida_key_checker
f31315e0d29d1e02362c3f870245d2d8873271bb
[ "MIT" ]
1
2021-11-19T13:11:56.000Z
2021-11-19T13:11:56.000Z
src/ida_cnv_utils.hpp
obaby/ida_key_checker
f31315e0d29d1e02362c3f870245d2d8873271bb
[ "MIT" ]
null
null
null
src/ida_cnv_utils.hpp
obaby/ida_key_checker
f31315e0d29d1e02362c3f870245d2d8873271bb
[ "MIT" ]
1
2021-11-19T13:12:00.000Z
2021-11-19T13:12:00.000Z
/* * Some conversion utils header * * RnD, 2021 */ #ifdef _MSC_VER #pragma once #endif #ifndef _IDA_CONVERSION_UTILS_HPP_ #define _IDA_CONVERSION_UTILS_HPP_ #include <cstdint> #include <iostream> #include <iomanip> #include <sstream> #include "ida_license.hpp" #include "ida_key.hpp" using namespace std; namespace...
20.56
69
0.724708
obaby
6de0021626771d7b428cf23078f5bcf3a5838a0e
7,072
cpp
C++
JEngine/src/Platform/OpenGL/OpenGLShader.cpp
peter-819/JEngine
f4362cdaa5e781e3a973cf84b604bd055b1b3880
[ "Apache-2.0" ]
1
2020-06-01T05:24:16.000Z
2020-06-01T05:24:16.000Z
JEngine/src/Platform/OpenGL/OpenGLShader.cpp
peter-819/JEngine
f4362cdaa5e781e3a973cf84b604bd055b1b3880
[ "Apache-2.0" ]
null
null
null
JEngine/src/Platform/OpenGL/OpenGLShader.cpp
peter-819/JEngine
f4362cdaa5e781e3a973cf84b604bd055b1b3880
[ "Apache-2.0" ]
null
null
null
#include "JEpch.h" #include "OpenGLShader.h" #include "glad/glad.h" #include "gtc/type_ptr.hpp" namespace JEngine { static GLenum ShaderTypeFromString(const std::string& type) { if (type == "vertex") return GL_VERTEX_SHADER; if (type == "fragment" || type == "pixel") return GL_FRAGMENT_SHADER; JE_CORE_A...
33.67619
150
0.711538
peter-819
6de0a964aa479015f01f1facb00db4ca2b058f26
2,136
cpp
C++
tbaas/src/v20180416/model/PeerDetailForUser.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tbaas/src/v20180416/model/PeerDetailForUser.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tbaas/src/v20180416/model/PeerDetailForUser.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
27.74026
138
0.718633
sinjoywong
6de56421c8e677f857ef2ed30b996838c97996bf
891
cpp
C++
Havtorn/Source/Engine/Core/MathTypes/Curve.cpp
AxelSavage/NewEngine
cd86b4ff19d97f69b0f2ffb16343722885898424
[ "MIT" ]
null
null
null
Havtorn/Source/Engine/Core/MathTypes/Curve.cpp
AxelSavage/NewEngine
cd86b4ff19d97f69b0f2ffb16343722885898424
[ "MIT" ]
null
null
null
Havtorn/Source/Engine/Core/MathTypes/Curve.cpp
AxelSavage/NewEngine
cd86b4ff19d97f69b0f2ffb16343722885898424
[ "MIT" ]
1
2022-01-09T12:01:24.000Z
2022-01-09T12:01:24.000Z
// Copyright 2022 Team Havtorn. All Rights Reserved. #include "hvpch.h" #include "Curve.h" namespace Havtorn { SVector SCatmullRom::GetPoint(F32 t) { F32 tt = t * t; F32 ttt = t * t * t; return (P3 * (-tt + ttt) + P2 * (t + 4.0f * tt - 3.0f * ttt) + P1 * (2.0f - 5.0f * tt + 3.0f * ttt) + P0 * ...
20.25
101
0.542088
AxelSavage
6de660aa4d47fbee24ea72d3a4c40bd782b45bec
3,485
cpp
C++
libnaucrates/src/parser/CParseHandlerScalarPartBoundOpen.cpp
hsyuan/gporca
793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad
[ "ECL-2.0", "Apache-2.0" ]
466
2016-01-26T18:07:03.000Z
2022-03-30T06:08:55.000Z
libnaucrates/src/parser/CParseHandlerScalarPartBoundOpen.cpp
hsyuan/gporca
793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad
[ "ECL-2.0", "Apache-2.0" ]
463
2016-01-26T19:13:02.000Z
2022-03-24T03:08:13.000Z
libnaucrates/src/parser/CParseHandlerScalarPartBoundOpen.cpp
hsyuan/gporca
793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad
[ "ECL-2.0", "Apache-2.0" ]
203
2016-01-26T13:46:35.000Z
2022-03-22T03:17:06.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2014 Pivotal, Inc. // // @filename: // CParseHandlerScalarPartBoundOpen.cpp // // @doc: // Implementation of the SAX parse handler class for parsing part bound openness //------------------------------...
32.570093
81
0.643042
hsyuan
6df03fb545e337ff07d06e36ec8ed24e62c3b79b
7,480
cpp
C++
SSW/main.cpp
qq456cvb/SSW
65c5d4d782330e6d87531dab759baff9d4d7104b
[ "MIT" ]
null
null
null
SSW/main.cpp
qq456cvb/SSW
65c5d4d782330e6d87531dab759baff9d4d7104b
[ "MIT" ]
null
null
null
SSW/main.cpp
qq456cvb/SSW
65c5d4d782330e6d87531dab759baff9d4d7104b
[ "MIT" ]
null
null
null
// // main.cpp // SSW // // Created by Neil on 16/05/2018. // Copyright © 2018 Neil. All rights reserved. // #include <iostream> #include <opencv2/opencv.hpp> #include <vector> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <cmath> #include "unionset.hpp" using namespace cv; using ...
34
141
0.504011
qq456cvb
6df4642fad4bd0d1a0539e5584fc6111a57541aa
2,658
cpp
C++
modules/gin_network/3rdparty/liboauthcpp/src/urlencode.cpp
christofmuc/Gin
8bedff1fd4db8452c56e220dcfae17dfae8825ac
[ "BSD-3-Clause" ]
112
2018-01-29T09:36:00.000Z
2022-03-30T21:27:56.000Z
modules/gin_network/3rdparty/liboauthcpp/src/urlencode.cpp
christofmuc/Gin
8bedff1fd4db8452c56e220dcfae17dfae8825ac
[ "BSD-3-Clause" ]
19
2018-02-09T22:27:50.000Z
2022-01-31T22:43:53.000Z
modules/gin_network/3rdparty/liboauthcpp/src/urlencode.cpp
christofmuc/Gin
8bedff1fd4db8452c56e220dcfae17dfae8825ac
[ "BSD-3-Clause" ]
20
2018-05-03T03:10:00.000Z
2022-03-24T12:12:36.000Z
#include "urlencode.h" #include <cassert> #include <sstream> #include <iomanip> inline bool isUnreserved(char c) { switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'A': case 'B': case 'C': case 'D': case 'E': ...
25.557692
72
0.455606
christofmuc