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
166105a97ff91cbb044ee888afb4df5c166e95ce
1,196
cpp
C++
HDOJ/Traffic.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
HDOJ/Traffic.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
HDOJ/Traffic.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; #define inf 1e9+7 #define ffr(i,a,b) for(int i=a;i<b;i++) #define mem(a,b) memset( a,b,sizeof a) #define Max(x,y) y>x?x=y:x=x const int maxn=1e3+7; int n,m; int a[maxn],b[maxn],f[maxn][maxn]; int main() { std::ios::sync_with_stdio(false); whil...
22.148148
42
0.34699
PIPIKAI
1664d4f04f48b898b9049393f315ba93c8751f96
4,567
hpp
C++
Keys.hpp
KookiesGH/ctrcdnfetch
a8090ef0ffb59dbf013e0e135d70abe1809bc0fb
[ "MIT" ]
38
2018-10-03T17:30:57.000Z
2022-03-30T08:21:04.000Z
Keys.hpp
KookiesGH/ctrcdnfetch
a8090ef0ffb59dbf013e0e135d70abe1809bc0fb
[ "MIT" ]
6
2018-10-07T14:29:57.000Z
2019-09-07T17:20:18.000Z
Keys.hpp
KookiesGH/ctrcdnfetch
a8090ef0ffb59dbf013e0e135d70abe1809bc0fb
[ "MIT" ]
8
2018-10-11T06:12:37.000Z
2022-03-26T02:58:13.000Z
#pragma once #include "types.h" namespace NintendoData { namespace KeyUtils { namespace Storage { enum KeyType { KeyX = 0, KeyY, KeyNormal }; bool ReloadStorage(); u8* GetKey(u8* outkey, int keyslot, KeyType type = KeyX, bool retail = true); u8* GetCommonKey(u8* outkey, int index, bool re...
37.434426
122
0.680753
KookiesGH
166514f5aed7a7606d1fa6089e7873ad01640931
3,168
cpp
C++
codeforces/D - Fuzzy Search/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/D - Fuzzy Search/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/D - Fuzzy Search/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Jul/23/2019 10:53 * solution_verdict: Accepted language: GNU C++14 * run...
27.076923
111
0.483586
kzvd4729
16651956024ad1a6bc4e5450f67befe17a16482a
611
hpp
C++
src/configure/bind/environ_utils.hpp
hotgloupi/configure
888cf725c93df5a1cf01794cc0a581586a82855c
[ "BSD-3-Clause" ]
1
2015-11-13T10:37:35.000Z
2015-11-13T10:37:35.000Z
src/configure/bind/environ_utils.hpp
hotgloupi/configure
888cf725c93df5a1cf01794cc0a581586a82855c
[ "BSD-3-Clause" ]
19
2015-02-10T17:18:58.000Z
2015-07-11T11:31:08.000Z
src/configure/bind/environ_utils.hpp
hotgloupi/configure
888cf725c93df5a1cf01794cc0a581586a82855c
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <configure/fwd.hpp> #include <configure/lua/fwd.hpp> #include <configure/Environ.hpp> namespace configure { namespace utils { int env_get(lua_State* state, Environ& self, int index = 2); int env_set(lua_State* state, Environ& self, int index = 2); int env_set_default(lua_State* state, Envi...
22.62963
69
0.733224
hotgloupi
16690bb51fdca8cf2d439256dad85f39d6a473dc
4,795
cpp
C++
src/comms/clientheartbeat.cpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
7
2015-01-04T13:50:24.000Z
2022-01-22T01:03:57.000Z
src/comms/clientheartbeat.cpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
1
2018-08-16T00:46:58.000Z
2018-08-16T00:46:58.000Z
src/comms/clientheartbeat.cpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
9
2016-08-31T05:42:00.000Z
2022-01-21T21:37:47.000Z
//! //! Implementation of heartbeat routers that deal with client heartbeating //! sending and receiving. //! //! \file comms/clientheartbeat.cpp //! \author Lachlan McCalman //! \date 2014 //! \license Affero General Public License version 3 or later //! \copyright (c) 2014, NICTA //! #include "comms/clientheartbeat....
36.603053
120
0.678832
divad-nhok
16694ce8b46e114152fdac3e6e185112963c3115
692
cpp
C++
_includes/leet408/leet408.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet408/leet408.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet408/leet408.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
class Solution { public: bool validWordAbbreviation(string word, string abbr) { int i=0; int j=0; int m = word.length(); int n = abbr.length(); while(i<n){ if(abbr[i]=='0' ) return false; if(isdigit(abbr[i])){ int temp = 0; ...
25.62963
60
0.362717
mingdaz
1669d8144968928cffc4e14d93132191d8a95cb8
38,828
cpp
C++
SceneEngine/VegetationSpawn.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
3
2018-05-17T08:39:39.000Z
2020-12-09T13:20:26.000Z
SceneEngine/VegetationSpawn.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
null
null
null
SceneEngine/VegetationSpawn.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
1
2021-11-14T08:50:15.000Z
2021-11-14T08:50:15.000Z
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #if 0 #include "VegetationSpawn.h" #include "SceneEngineUtils.h" #include "LightingParserContext.h" #include "LightingParser.h" #include "Sce...
46.724428
171
0.656717
pocketgems
166be5a3d0696fca56211b549fb0b58f0ba3b96b
1,615
hpp
C++
include/gridtools/meta/drop_front.hpp
afanfa/gridtools
6b1fd1f916d291f9a1cab1d27b48aa0282097d68
[ "BSD-3-Clause" ]
36
2019-04-05T15:54:48.000Z
2022-03-31T13:25:40.000Z
include/gridtools/meta/drop_front.hpp
afanfa/gridtools
6b1fd1f916d291f9a1cab1d27b48aa0282097d68
[ "BSD-3-Clause" ]
411
2019-04-05T18:51:57.000Z
2022-03-28T11:52:40.000Z
include/gridtools/meta/drop_front.hpp
afanfa/gridtools
6b1fd1f916d291f9a1cab1d27b48aa0282097d68
[ "BSD-3-Clause" ]
23
2019-04-05T15:48:26.000Z
2021-09-28T16:54:24.000Z
/* * GridTools * * Copyright (c) 2014-2021, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include <cstddef> #include "id.hpp" #include "list.hpp" #include "macros.hpp" #include "repeat.hpp" namespace gri...
32.3
117
0.58452
afanfa
16767de0e2f177edf8d9a3828295413b33613ca7
860
cpp
C++
tests/gtest/tests/routedmessagetests.cpp
jimmytaker/qmqtt
e52296a93c6adca0b4221d7b1aee05d358720616
[ "BSD-3-Clause" ]
1
2021-12-23T01:05:35.000Z
2021-12-23T01:05:35.000Z
tests/gtest/tests/routedmessagetests.cpp
jimmytaker/qmqtt
e52296a93c6adca0b4221d7b1aee05d358720616
[ "BSD-3-Clause" ]
1
2020-07-07T09:43:20.000Z
2020-07-07T09:43:20.000Z
tests/gtest/tests/routedmessagetests.cpp
jimmytaker/qmqtt
e52296a93c6adca0b4221d7b1aee05d358720616
[ "BSD-3-Clause" ]
3
2021-08-30T07:23:55.000Z
2021-12-23T01:06:06.000Z
#include <qmqtt_routedmessage.h> #include <QTest> #include <QScopedPointer> class RoutedMessageTests : public QObject { Q_OBJECT public: explicit RoutedMessageTests(); virtual ~RoutedMessageTests(); QScopedPointer<QMQTT::RoutedMessage> _uut; private slots: void init(); void cleanup(); vo...
17.55102
59
0.718605
jimmytaker
167e7efbc4bf75b0175c874f45231f7db2608540
2,685
cpp
C++
test/strongly_connected_components_test.cpp
hec12/nocow_library
1993006627bc0f1d1e9d4678a00685ca6bd5e611
[ "MIT" ]
null
null
null
test/strongly_connected_components_test.cpp
hec12/nocow_library
1993006627bc0f1d1e9d4678a00685ca6bd5e611
[ "MIT" ]
null
null
null
test/strongly_connected_components_test.cpp
hec12/nocow_library
1993006627bc0f1d1e9d4678a00685ca6bd5e611
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define _overload(_1,_2,_3,name,...) name #define _rep(i,n) _range(i,0,n) #define _range(i,a,b) for(int i=int(a);i<int(b);++i) #define rep(...) _overload(__VA_ARGS__,_range,_rep,)(__VA_ARGS__) #define _rrep(i,n) _rrange(i,n,0) #define _rrange(i,a,b) for(int i=int(a)-1;i>=int(b);--i) #define r...
26.85
73
0.563128
hec12
167f65bd487a072a3d3370ed364545b2f7c5736c
154
cpp
C++
Engine/src/test_game/Main.cpp
ilkp/IlkanPelimoottori
3bdff04b057f479a3539d2ad9ff7651455693162
[ "MIT" ]
null
null
null
Engine/src/test_game/Main.cpp
ilkp/IlkanPelimoottori
3bdff04b057f479a3539d2ad9ff7651455693162
[ "MIT" ]
null
null
null
Engine/src/test_game/Main.cpp
ilkp/IlkanPelimoottori
3bdff04b057f479a3539d2ad9ff7651455693162
[ "MIT" ]
null
null
null
#define SDL_MAIN_HANDLED #include "Game.h" #include <iostream> int main() { Game game; if (game.Init(100) != 0) return 1; game.Start(); return 0; }
12.833333
25
0.655844
ilkp
1685a7826edc4c9a3f0ea7bc41cc5292cc45c8ad
5,922
cpp
C++
GameEngine/GameEngine/TransformComponent.cpp
MrMaguila/SelfMadeGameEngine
c941ea122ec25c1130f113e64c05b2a6a90e9f65
[ "Apache-2.0" ]
null
null
null
GameEngine/GameEngine/TransformComponent.cpp
MrMaguila/SelfMadeGameEngine
c941ea122ec25c1130f113e64c05b2a6a90e9f65
[ "Apache-2.0" ]
null
null
null
GameEngine/GameEngine/TransformComponent.cpp
MrMaguila/SelfMadeGameEngine
c941ea122ec25c1130f113e64c05b2a6a90e9f65
[ "Apache-2.0" ]
null
null
null
//############################################################################################# /* Copyright[2020][Gabriel G. Fernandes] 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....
27.672897
111
0.539851
MrMaguila
168e08e27ae93ca8e7723623ab8b46a111518918
1,711
hpp
C++
src/lib/statistics/statistics_objects/min_max_filter.hpp
XPerianer/hyrise
29b47d5bee4ff3950b72048a22f3263e2197e0f5
[ "MIT" ]
null
null
null
src/lib/statistics/statistics_objects/min_max_filter.hpp
XPerianer/hyrise
29b47d5bee4ff3950b72048a22f3263e2197e0f5
[ "MIT" ]
null
null
null
src/lib/statistics/statistics_objects/min_max_filter.hpp
XPerianer/hyrise
29b47d5bee4ff3950b72048a22f3263e2197e0f5
[ "MIT" ]
1
2020-11-17T19:18:58.000Z
2020-11-17T19:18:58.000Z
#pragma once #include <iostream> #include <memory> #include <optional> #include "abstract_statistics_object.hpp" #include "all_type_variant.hpp" #include "types.hpp" namespace opossum { /** * Filter that stores a segment's minimum and maximum value */ template <typename T> class MinMaxFilter : public AbstractStat...
33.54902
117
0.739918
XPerianer
168eac001351af984f9e0ede5c66c52c7bf7e34a
7,023
cpp
C++
dev/Tools/Wwise/SDK/samples/IntegrationDemo/UWP/InputMgr.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
2
2020-08-20T03:40:24.000Z
2021-02-07T20:31:43.000Z
dev/Tools/Wwise/SDK/samples/IntegrationDemo/UWP/InputMgr.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
null
null
null
dev/Tools/Wwise/SDK/samples/IntegrationDemo/UWP/InputMgr.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.000Z
/******************************************************************************* The content of this file includes portions of the AUDIOKINETIC Wwise Technology released in source code form as part of the SDK installer package. Commercial License Usage Licensees holding valid commercial licenses to the AUDIOKINETIC W...
28.901235
166
0.697565
chrisinajar
16930923c823e78d0e941c99f81914dd5a3197fb
421
cpp
C++
homework/money_inheritance/CanadianMoney.cpp
coderica/effective_cpp
456d30cf42c6c71dc7187d88e362651dd79ac3fe
[ "MIT" ]
null
null
null
homework/money_inheritance/CanadianMoney.cpp
coderica/effective_cpp
456d30cf42c6c71dc7187d88e362651dd79ac3fe
[ "MIT" ]
null
null
null
homework/money_inheritance/CanadianMoney.cpp
coderica/effective_cpp
456d30cf42c6c71dc7187d88e362651dd79ac3fe
[ "MIT" ]
null
null
null
// // Created by prenga on 11/6/16. // #include "CanadianMoney.h" CanadianMoney::CanadianMoney(const USMoney &m) { set(m.total() / exchangeRate); } // copy constructor void CanadianMoney::display() const { cout << "C$" << total(); } // Override to display symbol CanadianMoney::operator USMoney() const { ...
19.136364
49
0.672209
coderica
1698e1c7ab39da145722eb967509e09187fb3684
21,831
cpp
C++
games/varooom-3d/src/fr_title_scene.cpp
taellinglin/butano
13b93c1296970262e047b728496908c036f7e789
[ "Zlib" ]
571
2020-11-09T10:23:43.000Z
2022-03-29T05:03:53.000Z
games/varooom-3d/src/fr_title_scene.cpp
OQUENDOMAN/butano
01a0f3a57d60b44b402095eb5a04707b33437a81
[ "Zlib" ]
18
2020-11-12T03:17:48.000Z
2022-02-16T12:25:14.000Z
games/varooom-3d/src/fr_title_scene.cpp
OQUENDOMAN/butano
01a0f3a57d60b44b402095eb5a04707b33437a81
[ "Zlib" ]
23
2020-11-12T01:23:02.000Z
2022-02-06T11:24:15.000Z
/* * Copyright (c) 2020-2021 Gustavo Valiente gustavo.valiente@protonmail.com * zlib License, see LICENSE file. */ #include "fr_title_scene.h" #include "bn_colors.h" #include "bn_display.h" #include "bn_blending.h" #include "bn_regular_bg_map_ptr.h" #include "fr_sin_cos.h" #include "fr_scene_type.h" #include "fr_...
27.634177
122
0.62851
taellinglin
169a71b98074ea22edb0d27005d6b97a999a64e6
711
cpp
C++
src/features.cpp
Poofjunior/ParticleFilter
5e61871378e20ffb6c7a7e15c487fe2d8555e7a6
[ "MIT" ]
1
2021-04-01T01:01:06.000Z
2021-04-01T01:01:06.000Z
src/features.cpp
Poofjunior/ParticleFilter
5e61871378e20ffb6c7a7e15c487fe2d8555e7a6
[ "MIT" ]
null
null
null
src/features.cpp
Poofjunior/ParticleFilter
5e61871378e20ffb6c7a7e15c487fe2d8555e7a6
[ "MIT" ]
1
2021-04-01T01:01:07.000Z
2021-04-01T01:01:07.000Z
/** * features.cpp * \author Joshua Vasquez * \date June 7, 2014 */ #include "features.hpp" Feature::Feature(char *filepath) { std::ifstream infile(filepath); // Format is x, y, forwardConnected float x, y; bool forwardConnected; std::cout << "Creating feature from " << filepath << std::endl;...
25.392857
77
0.583685
Poofjunior
169c6219d46ca119c3cb2fcde7f31ee698a780d1
10,169
cpp
C++
main.cpp
tsuki9999/MchBattleSimulator
0b4a064a886ecb6a8034f880667260fffd406558
[ "MIT" ]
3
2020-01-27T04:42:05.000Z
2022-02-23T09:50:10.000Z
main.cpp
tsuki9999/MchBattleSimulator
0b4a064a886ecb6a8034f880667260fffd406558
[ "MIT" ]
null
null
null
main.cpp
tsuki9999/MchBattleSimulator
0b4a064a886ecb6a8034f880667260fffd406558
[ "MIT" ]
1
2020-01-27T04:42:33.000Z
2020-01-27T04:42:33.000Z
#include <iostream> #include "common.hpp" #include "Hero.hpp" #include "Battle.hpp" using namespace std; #if 1 int main() { init(); ifstream ifs( "heroes.txt" ); if ( !ifs ) { cout << "cannot open heroes.txt" << endl; return 0; } Battle battle; ...
23.111364
106
0.497296
tsuki9999
169cbf74be6a776598626230e7e9bc452292787b
9,579
cpp
C++
LongUI/src/interface/ui_default_config.cpp
hempflower/RedstoneLauncher
7a00c61d8f197c2a9f8d8309e86baa5bf9cb4b70
[ "MIT" ]
174
2015-05-30T08:02:19.000Z
2022-03-12T12:23:46.000Z
LongUI/src/interface/ui_default_config.cpp
hempflower/RedstoneLauncher
7a00c61d8f197c2a9f8d8309e86baa5bf9cb4b70
[ "MIT" ]
6
2017-09-16T07:30:57.000Z
2021-07-25T01:39:35.000Z
LongUI/src/interface/ui_default_config.cpp
hempflower/RedstoneLauncher
7a00c61d8f197c2a9f8d8309e86baa5bf9cb4b70
[ "MIT" ]
44
2016-03-14T03:19:51.000Z
2022-02-21T01:10:58.000Z
#include <interface/ui_default_config.h> #include <core/ui_manager.h> #include <cassert> #include <cstdlib> // atomic //#include <atomic> #ifndef NDEBUG #include <core/ui_string.h> /// <summary> /// Gets the name of the simple log file. /// </summary> /// <returns></returns> auto LongUI::CUIDefaultConfigure::GetSimp...
26.907303
101
0.653722
hempflower
169d2be87be004e7fb4d4f77dcab51b626ff3344
309
cpp
C++
src/codechef/contests/LTIME106D/SPLITPAIR.cpp
tllaw/cp
91c131792cd00ebd12f7a2dddb26a863970b00ce
[ "MIT" ]
null
null
null
src/codechef/contests/LTIME106D/SPLITPAIR.cpp
tllaw/cp
91c131792cd00ebd12f7a2dddb26a863970b00ce
[ "MIT" ]
null
null
null
src/codechef/contests/LTIME106D/SPLITPAIR.cpp
tllaw/cp
91c131792cd00ebd12f7a2dddb26a863970b00ce
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { long long t, n, l; cin >> t; while(t--) { string r = "NO"; cin >> n; l = (n % 10) % 2; while(n /= 10) { if((n % 10) % 2 == l) { r = "YES"; break; } } cout << r << endl; } return 0; }
12.36
29
0.385113
tllaw
169dbf9e854b1c4a6fa9addea5ff9aa916611f37
9,351
cc
C++
build/X86_MESI_Two_Level/python/m5/internal/param_X86IntSourcePin.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/python/m5/internal/param_X86IntSourcePin.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/m5/internal/param_X86IntSourcePin.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_param_X86IntSourcePin[] = { 120,156,197,88,109,111,219,200,17,158,37,41,201,146,45,91, 142,223,242,226,171,217,54,110,212,151,216,109,15,110,175,189, 52,184,92,144,43,2,220,57,1,125,64,18,181,0,65,147, 43,121,29,137,20,200,181,29,29,228...
58.080745
96
0.666667
hoho20000000
16a114c4c6055d25f69ac79c053ab52952b2ddbd
4,664
cpp
C++
source/Quizmaster.cpp
lancaster-university/quiz-bit
86cb67165437c66d96efedd000c46a80465d1fba
[ "MIT" ]
null
null
null
source/Quizmaster.cpp
lancaster-university/quiz-bit
86cb67165437c66d96efedd000c46a80465d1fba
[ "MIT" ]
3
2016-07-22T17:19:22.000Z
2017-10-03T15:05:53.000Z
source/Quizmaster.cpp
lancaster-university/quiz-bit
86cb67165437c66d96efedd000c46a80465d1fba
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2016 Lancaster University, UK. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
30.684211
126
0.71205
lancaster-university
16a3202e214a6f28db03dea62e78fcba92edeb2c
4,553
cpp
C++
src/Core/TensorShape.cpp
roman-ellerbrock/QuTree
28c5b4eddf20e41cd015a03d33f31693eff17839
[ "MIT" ]
6
2020-04-24T09:58:23.000Z
2022-02-06T03:40:55.000Z
src/Core/TensorShape.cpp
roman-ellerbrock/QuTree
28c5b4eddf20e41cd015a03d33f31693eff17839
[ "MIT" ]
1
2020-06-18T11:33:14.000Z
2020-06-18T11:35:23.000Z
src/Core/TensorShape.cpp
roman-ellerbrock/QuTree
28c5b4eddf20e41cd015a03d33f31693eff17839
[ "MIT" ]
1
2020-12-26T15:23:21.000Z
2020-12-26T15:23:21.000Z
#include"Core/TensorShape.h" size_t ContractDimensionsBefore(const vector<size_t>& dim, size_t k) { size_t bef = 1; for (size_t i = 0; i < k; i++) { bef *= dim[i]; } return bef; } vector<size_t> ContractDimensionsBefore(const vector<size_t>& dim) { vector<size_t> befores(dim.size()); for (size_t k = 0; k < di...
22.879397
86
0.654514
roman-ellerbrock
16a5862ea035ccb95b0a0d80673dd2a38177aec6
167
cpp
C++
Cpp_primer_5th/code_part1_copy/prog1_9.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part1_copy/prog1_9.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part1_copy/prog1_9.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include<iostream> int main(){ int i = 50,n = 0; while(i<=100){ n = n + i; i++; } std::cout << "The sum of 50 to 100 is " << n << std::endl; return 0; }
10.4375
59
0.491018
Links789
16a984a086f46d18151d009ecbfb6124b2171d11
2,718
cpp
C++
graph-source-code/545-E/11259314.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/545-E/11259314.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/545-E/11259314.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <iostream> #include <cstdio> #include <vector> #include <queue> using namespace std; #define FOR(i,a,b) for (int (i) = (a), _b = (b); (i) <= _b; ++(i) ) #define FORD(i,a,b) for (int (i) = (a), _b = (b); (i) >= _b; --(i) ) #define mp make_pair #define pb push_back #define X fi...
23.842105
91
0.402502
AmrARaouf
16aa47eabe04ed778564cc21d607abc33fb3a3bd
8,056
cpp
C++
src/modules/SD2/scripts/outland/auchindoun/sethekk_halls/boss_darkweaver_syth.cpp
Zilvereyes/ServerThree
b61c215b000f199eb884ebc39844ebbbd0703a1b
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/outland/auchindoun/sethekk_halls/boss_darkweaver_syth.cpp
Zilvereyes/ServerThree
b61c215b000f199eb884ebc39844ebbbd0703a1b
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/outland/auchindoun/sethekk_halls/boss_darkweaver_syth.cpp
Zilvereyes/ServerThree
b61c215b000f199eb884ebc39844ebbbd0703a1b
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
34.724138
125
0.619538
Zilvereyes
16af3b02ba47edccf07700dde10fbf77a9720b6d
5,396
cpp
C++
tests/decisionMaker/unit_test_decision_maker_v2/main.cpp
SimulationEverywhere/NEP_DAM
bc8cdf661c4a4e050abae12fb756f41ec6240e6b
[ "BSD-2-Clause" ]
null
null
null
tests/decisionMaker/unit_test_decision_maker_v2/main.cpp
SimulationEverywhere/NEP_DAM
bc8cdf661c4a4e050abae12fb756f41ec6240e6b
[ "BSD-2-Clause" ]
null
null
null
tests/decisionMaker/unit_test_decision_maker_v2/main.cpp
SimulationEverywhere/NEP_DAM
bc8cdf661c4a4e050abae12fb756f41ec6240e6b
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <chrono> #include <assert.h> #include <algorithm> #include <limits> #include <cadmium/modeling/coupled_model.hpp> #include <cadmium/modeling/ports.hpp> #include <cadmium/concept/coupled_model_assert.hpp> #include <cadmium/engine/pdevs_runner.hpp> #incl...
39.97037
130
0.750741
SimulationEverywhere
16b2414223c2d44b70ed482b1730ea15dc1da6b0
443
cpp
C++
Challenge-2021-01/11_merge_sorted_array.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-01/11_merge_sorted_array.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-01/11_merge_sorted_array.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include "../header.h" class Solution { public: void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) { int i = m + n - 1; int j = m - 1, k = n - 1; while (i >= 0 && j >= 0 && k >= 0) { if (nums1[j] > nums2[k]) { nums1[i--] = nums1[j--]; } else { nums1[i--] = nums2[...
21.095238
68
0.388262
qiufengyu
16b99ff5b61efe017cde65d52500aab1ed815726
14,593
cpp
C++
ik_bone_chain.cpp
godot-extended-libraries/ewbik
4cdaf0cb82727e536c953e2847392bcda13ca300
[ "MIT" ]
9
2021-02-15T21:15:01.000Z
2022-02-09T22:01:03.000Z
ik_bone_chain.cpp
godot-extended-libraries/ewbik
4cdaf0cb82727e536c953e2847392bcda13ca300
[ "MIT" ]
4
2021-01-26T17:09:58.000Z
2021-05-05T16:59:58.000Z
ik_bone_chain.cpp
godot-extended-libraries/ewbik
4cdaf0cb82727e536c953e2847392bcda13ca300
[ "MIT" ]
1
2021-03-09T20:03:44.000Z
2021-03-09T20:03:44.000Z
/*************************************************************************/ /* ik_bone_chain.cpp */ /*************************************************************************/ /* This file is part of: */ /* G...
34.745238
132
0.688138
godot-extended-libraries
16bb2d4bad776edf1612a29301db079b8a64122c
305
cpp
C++
d/d587.cpp
mirkat1206/zerojudge_cpp
263cd51f4eee4acec8396f6c069bba540ac15e96
[ "BSD-2-Clause" ]
1
2019-12-27T03:03:50.000Z
2019-12-27T03:03:50.000Z
d/d587.cpp
mirkat1206/zerojudge_cpp
263cd51f4eee4acec8396f6c069bba540ac15e96
[ "BSD-2-Clause" ]
null
null
null
d/d587.cpp
mirkat1206/zerojudge_cpp
263cd51f4eee4acec8396f6c069bba540ac15e96
[ "BSD-2-Clause" ]
null
null
null
// d587 : 參貳壹真好吃 #include <cstdio> int main() { int n; while( scanf("%d", &n )!=EOF ) { int cnt[5] = {0}, buf ; while( n-- ) { scanf("%d", &buf ); cnt[buf]++ ; } for( int i=1 ; i<=3 ; i++ ) while( cnt[i]-- ) printf("%d ", i ); printf("\n"); } return 0; }
14.52381
32
0.403279
mirkat1206
16be5092b5d8df055551d884e2cf7809d1ebd4f0
1,533
cpp
C++
sliding_window/plots.cpp
kaushikbalasundar/cpp_dsa_solutions
6a74bd6d114a882b5c95c5e4cc74447d58bbae7b
[ "MIT" ]
null
null
null
sliding_window/plots.cpp
kaushikbalasundar/cpp_dsa_solutions
6a74bd6d114a882b5c95c5e4cc74447d58bbae7b
[ "MIT" ]
null
null
null
sliding_window/plots.cpp
kaushikbalasundar/cpp_dsa_solutions
6a74bd6d114a882b5c95c5e4cc74447d58bbae7b
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<vector> using namespace std; //Given an array, return the indices of a contiguous sub-array whose sum equals k. void printVectorPairs(vector<pair <int,int> >vec){ for(int i=0; i<vec.size(); i++){ cout << vec.at(i).first << " " << vec.at(i).second; ...
21
96
0.467058
kaushikbalasundar
16c5c12c8476694728ac69c142ae7e1e7aa8a8df
1,559
cpp
C++
VGP332/04_HelloPerception/GameState.cpp
amyrhzhao/CooEngine
8d467cc53fd8fe3806d726cfe4d7482ad0aca06a
[ "MIT" ]
3
2020-07-23T02:50:11.000Z
2020-10-20T14:49:40.000Z
VGP332/04_HelloPerception/GameState.cpp
amyrhzhao/CooEngine
8d467cc53fd8fe3806d726cfe4d7482ad0aca06a
[ "MIT" ]
null
null
null
VGP332/04_HelloPerception/GameState.cpp
amyrhzhao/CooEngine
8d467cc53fd8fe3806d726cfe4d7482ad0aca06a
[ "MIT" ]
null
null
null
#include "GameState.h" static int obstacleNum = 20; static float obstacleMin = 20.0f; static float obstacleMax = 40.0f; using namespace Coo::Input; void GameState::Initialize() { Coo::Graphics::GraphicsSystem::Get()->SetClearColor(Coo::Graphics::Colors::Black); GenrateRandomObstacles(); Coo::Graphics:...
26.87931
183
0.703015
amyrhzhao
16c951f25dd3285ffea7ad4e969b69fcf1c4cdc6
1,123
cpp
C++
book-01/Assembly.Test/core_cpuid.cpp
gfurtadoalmeida/study-assembly-x64
4acdefb015d44706c60bd7ea5d94f726c4dbcbb4
[ "MIT" ]
2
2021-02-27T04:50:26.000Z
2022-03-15T23:27:12.000Z
book-01/Assembly.Test/core_cpuid.cpp
gfurtadoalmeida/study-assembly-x64
4acdefb015d44706c60bd7ea5d94f726c4dbcbb4
[ "MIT" ]
null
null
null
book-01/Assembly.Test/core_cpuid.cpp
gfurtadoalmeida/study-assembly-x64
4acdefb015d44706c60bd7ea5d94f726c4dbcbb4
[ "MIT" ]
null
null
null
#include "pch.h" #include "CppUnitTest.h" #include "../Assembly/asm-headers/core_cpuid.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; using namespace Assembly::Core::CPUID; using namespace std; namespace Assembly { namespace Test { namespace Core { TEST_CLASS(CPUID) { public: TEST_M...
28.075
62
0.688335
gfurtadoalmeida
16c9dd92c5bafedbdac617bd24a0de45d46ff5f7
660
hpp
C++
inc/mapper.hpp
bergentroll/otus-cpp-14
7f9c429c94ca97f6213a52f9a34aed43bff406d4
[ "CC0-1.0" ]
null
null
null
inc/mapper.hpp
bergentroll/otus-cpp-14
7f9c429c94ca97f6213a52f9a34aed43bff406d4
[ "CC0-1.0" ]
null
null
null
inc/mapper.hpp
bergentroll/otus-cpp-14
7f9c429c94ca97f6213a52f9a34aed43bff406d4
[ "CC0-1.0" ]
null
null
null
#pragma once #include <algorithm> #include <fstream> #include <string> #include <utility> #include <vector> #include "utilities.hpp" namespace otus { class Mapper { public: using MappingResult = std::pair<std::string, std::vector<std::string>>; Mapper( std::string const &filename, PosTyp...
19.411765
75
0.636364
bergentroll
16cb197f74b65aa9b6dc6e74f419d6912f57a8a9
2,387
cpp
C++
ecs/src/v2/model/GetServerRemoteConsoleOption.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
ecs/src/v2/model/GetServerRemoteConsoleOption.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
ecs/src/v2/model/GetServerRemoteConsoleOption.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/ecs/v2/model/GetServerRemoteConsoleOption.h" namespace HuaweiCloud { namespace Sdk { namespace Ecs { namespace V2 { namespace Model { GetServerRemoteConsoleOption::GetServerRemoteConsoleOption() { protocol_ = ""; protocolIsSet_ = false; type_ = ""; typeIsSet_ = false; } Get...
20.401709
99
0.673649
yangzhaofeng
16cfe1742d37f781aa2e7c35d72108d18b7d6d43
136
cpp
C++
Globals.cpp
FreezingSnail/Fight
9f3a5a2d6e7f4bcd89d660cf10268a1ada364559
[ "MIT" ]
null
null
null
Globals.cpp
FreezingSnail/Fight
9f3a5a2d6e7f4bcd89d660cf10268a1ada364559
[ "MIT" ]
null
null
null
Globals.cpp
FreezingSnail/Fight
9f3a5a2d6e7f4bcd89d660cf10268a1ada364559
[ "MIT" ]
1
2018-03-20T23:37:11.000Z
2018-03-20T23:37:11.000Z
#include "Globals.h" Arduboy2 arduboy; GameStatus gameStatus; int menuCase; uint16_t turnState; uint16_t menuNum; uint16_t state = 0;
13.6
22
0.786765
FreezingSnail
16d13a3d1ad0fe7080af59a2e4bddcea069e8026
12,160
cpp
C++
src/proposals/referendums_settings.cpp
shakhruz/seeds-smart-contracts
14423aa5901379f7a273536db4a93bf1da996f21
[ "MIT" ]
13
2020-04-05T15:26:58.000Z
2022-03-24T07:29:45.000Z
src/proposals/referendums_settings.cpp
shakhruz/seeds-smart-contracts
14423aa5901379f7a273536db4a93bf1da996f21
[ "MIT" ]
318
2020-03-09T14:56:45.000Z
2022-03-29T18:26:24.000Z
src/proposals/referendums_settings.cpp
chuck-h/seeds-smart-contracts
98f8279c52c607e0e3f697f125fcf43980402f27
[ "MIT" ]
3
2021-04-03T04:44:55.000Z
2021-12-15T16:22:03.000Z
#include <proposals/referendum_settings.hpp> void ReferendumSettings::create_impl (std::map<std::string, VariantValue> & args) { // check the fund? name setting_name = std::get<name>(args["setting_name"]); std::unique_ptr<SettingInfo> s_info = std::unique_ptr<SettingInfo>(get_setting_info(setting_name)); d...
36.516517
144
0.701645
shakhruz
16d1476c0d50bb3cb3fd3bd58c7fbd9666d224b7
1,189
cpp
C++
C++/char.cpp
lozenia64/C-
802a0bf521c4c6f63dd566a88bf28a92014e4ff7
[ "MIT" ]
null
null
null
C++/char.cpp
lozenia64/C-
802a0bf521c4c6f63dd566a88bf28a92014e4ff7
[ "MIT" ]
null
null
null
C++/char.cpp
lozenia64/C-
802a0bf521c4c6f63dd566a88bf28a92014e4ff7
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; void upperToLower(char* _str, int _strSize) { printf("upper to lower : "); for (int i = 0; i < _strSize; i++) printf("%c", _str[i] + 32); printf("\n"); } void lowerToUpper(char* _str, int _strSize) { printf("lower to upper : "); for (in...
24.265306
49
0.585366
lozenia64
16d50c877ad364606b49387a9071a4acebeb22ec
23,202
cpp
C++
src/Sprite.cpp
texus/TGUI
87042f5dfafe9421d8a916b23ce7575d16f06d4c
[ "Zlib" ]
543
2015-01-03T22:53:59.000Z
2022-03-25T08:55:45.000Z
src/Sprite.cpp
texus/TGUI
87042f5dfafe9421d8a916b23ce7575d16f06d4c
[ "Zlib" ]
118
2015-01-21T12:22:58.000Z
2022-03-31T17:05:33.000Z
src/Sprite.cpp
texus/TGUI
87042f5dfafe9421d8a916b23ce7575d16f06d4c
[ "Zlib" ]
111
2015-02-02T13:22:13.000Z
2022-03-31T08:09:40.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2021 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. /...
41.358289
236
0.431816
texus
16d8fd1d0f320fc211135d2fb9a5965a3b8338fe
3,304
cpp
C++
src/modes/templatefsm.cpp
Molegvas/MORO2020_D21
67bacf343be67541f41cdf2b9e2b24595d250ac4
[ "MIT" ]
null
null
null
src/modes/templatefsm.cpp
Molegvas/MORO2020_D21
67bacf343be67541f41cdf2b9e2b24595d250ac4
[ "MIT" ]
null
null
null
src/modes/templatefsm.cpp
Molegvas/MORO2020_D21
67bacf343be67541f41cdf2b9e2b24595d250ac4
[ "MIT" ]
null
null
null
/* * templatefsm.cpp – шаблон конечного автомата. * На дисплее при выборе режима отображается как " Пример FSM ", которое * надо указать в диспетчере выбора режима, как и его позицию в меню. * Выбор режима производится коротким нажатием на "В" – "Выбор" */ #include "modes/templatefsm.h" #include "measure/mkeyb...
42.358974
108
0.586864
Molegvas
16db737c93cd3f8e2bdf2c23568a0f0a000bdc62
2,782
cpp
C++
dep/include/yse/dsp/ADSRenvelope.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
2
2015-10-27T21:36:59.000Z
2017-03-17T21:52:19.000Z
dep/include/yse/dsp/ADSRenvelope.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
dep/include/yse/dsp/ADSRenvelope.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
/* ============================================================================== ADSRenvelope.cpp Created: 26 Jul 2015 3:25:02pm Author: yvan ============================================================================== */ #include "ADSRenvelope.hpp" #include "sample_functions.hpp" #include <cmath...
27.544554
81
0.597052
ChrSacher
16e3a483cd685e2c0b30ec934535d5316ee41f86
9,088
cpp
C++
examples/poc.cpp
dan-42/fingo
be0a8770b371fcb33fb63e6e934972cb08ace2a6
[ "BSL-1.0" ]
4
2017-08-19T09:08:10.000Z
2018-07-15T11:09:50.000Z
examples/poc.cpp
dan-42/spoon
be0a8770b371fcb33fb63e6e934972cb08ace2a6
[ "BSL-1.0" ]
null
null
null
examples/poc.cpp
dan-42/spoon
be0a8770b371fcb33fb63e6e934972cb08ace2a6
[ "BSL-1.0" ]
null
null
null
/** * Copyright (C) 2017 by dan (Daniel Friedrich) * * This file is part of project spoon * a c++14 (de)serialization library for (binary) protocols * * 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) */ #inclu...
27.963077
143
0.515295
dan-42
16eb86e7cb0f32bd9ca32c3537e3f82a34d6a217
1,177
cpp
C++
SDL2Cpp/SDL2Cpp/src/Timer.cpp
jasonwnorris/SDL2Cpp
ece3bc247adab1b127303340d8463cb19d585d81
[ "MIT" ]
3
2015-02-04T20:35:10.000Z
2015-10-26T16:45:27.000Z
SDL2Cpp/SDL2Cpp/src/Timer.cpp
jasonwnorris/SDL2Cpp
ece3bc247adab1b127303340d8463cb19d585d81
[ "MIT" ]
null
null
null
SDL2Cpp/SDL2Cpp/src/Timer.cpp
jasonwnorris/SDL2Cpp
ece3bc247adab1b127303340d8463cb19d585d81
[ "MIT" ]
null
null
null
// Timer.cpp // Project Includes #include <SDL2Cpp\Timer.hpp> namespace SDL2 { Timer::Timer() { Stop(); } Timer::~Timer() { } float Timer::GetDeltaTime() { if(!mStarted || mPaused) return 0.0f; Uint32 current = SDL_GetTicks(); Uint32 difference = current - mLastTicks; mLastTicks = current; ...
13.847059
60
0.627018
jasonwnorris
16ebcb93280e1142f256afa8cef259977a517378
3,297
cc
C++
src/Quaternion.cc
DrScKAWAMOTO/FullereneViewer
8ddbbf337610e85825735481ee7dd549357f4f02
[ "Apache-2.0" ]
null
null
null
src/Quaternion.cc
DrScKAWAMOTO/FullereneViewer
8ddbbf337610e85825735481ee7dd549357f4f02
[ "Apache-2.0" ]
10
2015-01-01T02:56:26.000Z
2015-09-18T19:10:55.000Z
src/Quaternion.cc
DrScKAWAMOTO/FullereneViewer
8ddbbf337610e85825735481ee7dd549357f4f02
[ "Apache-2.0" ]
1
2018-11-20T06:00:21.000Z
2018-11-20T06:00:21.000Z
/* * Project: FullereneViewer * Version: 1.0 * Copyright: (C) 2011-15 Dr.Sc.KAWAMOTO,Takuji (Ext) */ #include <math.h> #include <float.h> #include <stdio.h> #include "Quaternion.h" #include "Vector3.h" #include "Utils.h" void Quaternion::p_initialize_from_axis_and_degree(const Vector3& axis, double degree) { if...
24.977273
86
0.539885
DrScKAWAMOTO
16f1698868b8346fabbcd9a5256272bc6fc16ab2
1,699
cpp
C++
adoc/code/lambdaNameExamples.cpp
nliber/SYCL-Docs
608ff30931bde093789d9c63f857c004a4eb1eb7
[ "Apache-2.0", "CC-BY-4.0" ]
58
2019-05-14T19:02:09.000Z
2022-03-30T15:57:12.000Z
adoc/code/lambdaNameExamples.cpp
nliber/SYCL-Docs
608ff30931bde093789d9c63f857c004a4eb1eb7
[ "Apache-2.0", "CC-BY-4.0" ]
180
2019-06-04T23:23:34.000Z
2022-03-31T16:36:37.000Z
adoc/code/lambdaNameExamples.cpp
nliber/SYCL-Docs
608ff30931bde093789d9c63f857c004a4eb1eb7
[ "Apache-2.0", "CC-BY-4.0" ]
37
2019-05-14T18:26:04.000Z
2022-02-21T13:35:39.000Z
// Copyright (c) 2011-2021 The Khronos Group, Inc. // SPDX-License-Identifier: Apache-2.0 // Explicit kernel names can be optionally forward declared at namespace scope class MyForwardDeclName; template <typename T> class MyTemplatedKernelName; // Define and launch templated kernel template <typename T> void templat...
29.293103
80
0.636845
nliber
16f324ffa11154d2d6039711e6cbcbca72d3a0ad
4,729
cpp
C++
Plugins/Developer/RiderLink/Source/RiderLoggingExtension/Private/RiderLoggingExtension.cpp
mrbandler/SpaceJanitor
8996e813ec6370c18cacfcabdd3235ee9dcb5072
[ "MIT" ]
null
null
null
Plugins/Developer/RiderLink/Source/RiderLoggingExtension/Private/RiderLoggingExtension.cpp
mrbandler/SpaceJanitor
8996e813ec6370c18cacfcabdd3235ee9dcb5072
[ "MIT" ]
null
null
null
Plugins/Developer/RiderLink/Source/RiderLoggingExtension/Private/RiderLoggingExtension.cpp
mrbandler/SpaceJanitor
8996e813ec6370c18cacfcabdd3235ee9dcb5072
[ "MIT" ]
null
null
null
#include "RiderLoggingExtension.hpp" #include "BlueprintProvider.hpp" #include "IRiderLink.hpp" #include "Model/Library/UE4Library/LogMessageInfo.Generated.h" #include "Model/Library/UE4Library/StringRange.Generated.h" #include "Model/Library/UE4Library/UnrealLogEvent.Generated.h" #include "Internationalization/Regex...
33.539007
117
0.75682
mrbandler
a84ae833390834e2cf834dd7d1e7bbe1bef8889c
10,685
cpp
C++
external/assimp/test/unit/utMaterialSystem.cpp
Grim-Rose/Learnopengl-class-project
4d7f841905075843a944ca3e4dd1107d981073ea
[ "MIT" ]
3
2018-05-29T12:18:08.000Z
2018-06-20T16:14:13.000Z
external/assimp/test/unit/utMaterialSystem.cpp
Grim-Rose/Learnopengl-class-project
4d7f841905075843a944ca3e4dd1107d981073ea
[ "MIT" ]
null
null
null
external/assimp/test/unit/utMaterialSystem.cpp
Grim-Rose/Learnopengl-class-project
4d7f841905075843a944ca3e4dd1107d981073ea
[ "MIT" ]
1
2022-03-23T23:38:26.000Z
2022-03-23T23:38:26.000Z
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2022, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, w...
38.297491
135
0.593823
Grim-Rose
a84c95752fb705291a2915c9a9cb09ed1de4ecab
2,471
cpp
C++
source/bfilter.cpp
AramisHM/Skin-Smoother-Filter
6e881ee57536d36ff60a7244251ac5ce20d49d7f
[ "MIT" ]
7
2019-09-08T10:06:39.000Z
2021-09-27T05:12:29.000Z
source/bfilter.cpp
AramisHM/Morfameba
cab4ee5cab9aa443d9cb5e63a5dc63d1251925a3
[ "MIT" ]
null
null
null
source/bfilter.cpp
AramisHM/Morfameba
cab4ee5cab9aa443d9cb5e63a5dc63d1251925a3
[ "MIT" ]
null
null
null
/* Simple Bilateral Filter copyright (c) 2017 by Aramis Hornung Moraes This file is part of the ahmBitmap project read ahmbmp.h for copying conditions. */ #ifdef __cplusplus extern "C" { #endif #ifdef WIN32 #include "windows.h" #endif #include <stdlib.h> #include <stdio.h> #include <math.h> #include "ahmbmp.h...
25.739583
131
0.642655
AramisHM
a84d66892f235bc2bc11bfa7221d17818612ae90
190
hpp
C++
include/CPPML/useful.hpp
popwser/CPPModel
cc1a5ebe9018ec779f9339791c122adbde9df4cf
[ "MIT" ]
1
2019-07-27T16:28:00.000Z
2019-07-27T16:28:00.000Z
include/CPPML/useful.hpp
popwser/CPPModel
cc1a5ebe9018ec779f9339791c122adbde9df4cf
[ "MIT" ]
null
null
null
include/CPPML/useful.hpp
popwser/CPPModel
cc1a5ebe9018ec779f9339791c122adbde9df4cf
[ "MIT" ]
2
2020-07-20T20:43:24.000Z
2020-12-07T06:02:14.000Z
#ifndef USEFUL_HPP #define USEFUL_HPP #include <memory> #include <stdio.h> /* Scans FILE till newline, does nothing with any scanned information */ int ScanTillNewline(FILE* file); #endif
19
72
0.763158
popwser
a855a3d43452cbd875a6ed9928ce61ce40316a30
3,373
cpp
C++
src/coremods/core_operations/cmd_commands.cpp
BerilBBJ/beryldb
6569b568796e4cea64fe7f42785b0319541a0284
[ "BSD-3-Clause" ]
206
2021-04-27T21:44:24.000Z
2022-02-23T12:01:20.000Z
src/coremods/core_operations/cmd_commands.cpp
BerilBBJ/beryldb
6569b568796e4cea64fe7f42785b0319541a0284
[ "BSD-3-Clause" ]
10
2021-05-04T19:46:59.000Z
2021-10-01T23:43:07.000Z
src/coremods/core_operations/cmd_commands.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...
26.984
80
0.585829
BerilBBJ
a85feab0803fd71fb3b322103c1097b2070d6084
411
hpp
C++
wav2midi/fft/fft.hpp
mrk21/wav2midi
01b7667c2fd7e18893a5cc97069aabc9397126e6
[ "MIT" ]
29
2018-11-14T04:46:38.000Z
2022-01-04T13:28:38.000Z
wav2midi/fft/fft.hpp
mrk21/wav2midi
01b7667c2fd7e18893a5cc97069aabc9397126e6
[ "MIT" ]
1
2019-01-12T21:40:34.000Z
2019-01-12T22:06:01.000Z
wav2midi/fft/fft.hpp
mrk21/wav2midi
01b7667c2fd7e18893a5cc97069aabc9397126e6
[ "MIT" ]
8
2018-07-04T14:34:41.000Z
2021-07-30T13:38:35.000Z
#ifndef WAV2MIDI_FFT_FFT_HPP #define WAV2MIDI_FFT_FFT_HPP #include <wav2midi/fft/window.hpp> #include <vector> #include <complex> namespace wav2midi::fft { class fft { public: fft(const std::vector<double> & samplings, window::window_t window); const std::vector<std::complex<double>> & execute...
20.55
76
0.676399
mrk21
a861d7c0d4b86a023672d14ee1ac3de7f4aea679
11,714
cpp
C++
source/backend/vulkan/execution/VulkanLSTM.cpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
null
null
null
source/backend/vulkan/execution/VulkanLSTM.cpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
1
2021-09-07T09:13:03.000Z
2021-09-07T09:13:03.000Z
source/backend/vulkan/execution/VulkanLSTM.cpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
1
2020-03-10T02:17:47.000Z
2020-03-10T02:17:47.000Z
// // VulkanLSTM.cpp // MNN // // Created by MNN on 2019/01/31. // Copyright © 2018, Alibaba Group Holding Limited // #include "VulkanLSTM.hpp" #include "Macro.h" namespace MNN { struct GpuParam { ivec4 shape; }; static void _setGPUParam(std::shared_ptr<VulkanBuffer>& paramBuffer, int i1, int i2, int i3, int...
44.371212
164
0.611832
z415073783
a862e8421172a91f2525bab8486221f9ee2468d9
1,239
cpp
C++
src/tilemap/tiles/Tile.cpp
complementaries/complementary
862307e236246c6cd51b018163ada1329454c03d
[ "BSD-3-Clause" ]
1
2021-12-23T07:00:45.000Z
2021-12-23T07:00:45.000Z
src/tilemap/tiles/Tile.cpp
complementaries/complementary
862307e236246c6cd51b018163ada1329454c03d
[ "BSD-3-Clause" ]
160
2021-06-09T14:29:14.000Z
2022-01-14T09:55:48.000Z
src/tilemap/tiles/Tile.cpp
complementaries/complementary
862307e236246c6cd51b018163ada1329454c03d
[ "BSD-3-Clause" ]
null
null
null
#include "Tile.h" #include "player/Player.h" Tile::Tile(Color color, bool solid, const char* editorGroup) : id(-1), color(color), solid(solid), editorGroup(editorGroup) { } Color Tile::getColor() const { if (Player::invertColors()) { return ColorUtils::invert(color); } return color; } char Ti...
18.772727
79
0.628733
complementaries
a8632123b313033241e3c72a62a2f2f936280a1a
2,402
cpp
C++
src/saiga/opengl/ffmpeg/videoEncoder.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
src/saiga/opengl/ffmpeg/videoEncoder.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
src/saiga/opengl/ffmpeg/videoEncoder.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
/** * Copyright (c) 2017 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #include "saiga/config.h" #if defined(SAIGA_USE_OPENGL) && defined(SAIGA_USE_FFMPEG) # include "saiga/core/imgui/imgui.h" # include "saiga/opengl/window/OpenGLWindow.h" # include "saiga/...
25.020833
110
0.572023
SimonMederer
a863425b63ad8f5b19f104df6ccfb7cd1cf0edcc
8,918
cpp
C++
Samples/D2DPhotoAdjustment/cpp/DirectXPage.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/D2DPhotoAdjustment/cpp/DirectXPage.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/D2DPhotoAdjustment/cpp/DirectXPage.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A P...
32.907749
118
0.723817
dujianxin
a869ea134edb917f52d0183ddae740285d44e0d3
517
hpp
C++
lib/test/DummyLink.hpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
lib/test/DummyLink.hpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
lib/test/DummyLink.hpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
#pragma once #include "CommLink.hpp" class DummyLink : public CommLink { public: DummyLink(SpiPtrT sharedSPI, PinName nCs, PinName intPin); virtual int32_t sendPacket(const rtp::Packet* pkt) override { return 0; } virtual BufferT getData() override { return BufferT{0}; } virtual void reset() overri...
24.619048
77
0.702128
CollinAvidano
a86b5f123ce2cbfd47ef39df3880f07493095d32
643
hpp
C++
src/SymbolTableEntry.hpp
graypilgrim/list-language
b6b1de0dd3bdd625c6973f5624240f8fac97331d
[ "MIT" ]
null
null
null
src/SymbolTableEntry.hpp
graypilgrim/list-language
b6b1de0dd3bdd625c6973f5624240f8fac97331d
[ "MIT" ]
null
null
null
src/SymbolTableEntry.hpp
graypilgrim/list-language
b6b1de0dd3bdd625c6973f5624240f8fac97331d
[ "MIT" ]
null
null
null
#ifndef SYMBOL_TABLE_ENTRY_HPP #define SYMBOL_TABLE_ENTRY_HPP #include "Value.hpp" #include <memory> #include <string> class SymbolTableEntry { public: SymbolTableEntry(); bool isFunction(); void setFunction(bool flag); bool isList(); void setList(bool flag); void setValue(const std::shared_ptr<Value> &value...
16.487179
52
0.752722
graypilgrim
a86beb2cdc1b7941c8f84a0a9648d5974daf518f
3,226
cpp
C++
libs/mrwebrtc/src/utils.cpp
Terricide/MixedReality-WebRTC
02253e760299eada01b08fd6cf58434c819245c8
[ "MIT" ]
null
null
null
libs/mrwebrtc/src/utils.cpp
Terricide/MixedReality-WebRTC
02253e760299eada01b08fd6cf58434c819245c8
[ "MIT" ]
null
null
null
libs/mrwebrtc/src/utils.cpp
Terricide/MixedReality-WebRTC
02253e760299eada01b08fd6cf58434c819245c8
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "pch.h" #include "interop_api.h" #include "mrs_errors.h" #include "result.h" #include "utils.h" namespace Microsoft { namespace MixedReality { namespace WebRTC { Result ResultFromRTCErrorType(webrtc::RTCErrorType type) { using nam...
29.59633
80
0.710167
Terricide
a86e58af4699f53deb7ed923a0976a9b1557970b
1,090
cpp
C++
sources/Dwarf/AST/AstNode.cpp
KonstantinTomashevich/dwarf-scripting-language
1cb7e2719ee66c77172d647f33052358dfe36be3
[ "MIT" ]
null
null
null
sources/Dwarf/AST/AstNode.cpp
KonstantinTomashevich/dwarf-scripting-language
1cb7e2719ee66c77172d647f33052358dfe36be3
[ "MIT" ]
null
null
null
sources/Dwarf/AST/AstNode.cpp
KonstantinTomashevich/dwarf-scripting-language
1cb7e2719ee66c77172d647f33052358dfe36be3
[ "MIT" ]
null
null
null
#include "AstNode.hpp" #include <assert.h> namespace Dwarf { AstNode::AstNode () : childValues_ () { } AstNode::~AstNode () { if (!childValues_.empty ()) for (int index = 0; index < childValues_.size (); index++) delete childValues_.at (index); childValues_.clear (); } void AstNode::...
21.372549
86
0.624771
KonstantinTomashevich
a8774ecf73d8f1730486bda843c56ec4dadf895d
11,870
cpp
C++
flashsim/bast_ftl.cpp
praneethyerramothu/AOSPROJECT1
1792b1c484bc35e334093b9a5c2fb4d20b3f4452
[ "BSD-4-Clause-UC" ]
6
2015-05-31T15:28:30.000Z
2022-02-10T04:39:18.000Z
flashsim/bast_ftl.cpp
praneethyerramothu/AOSPROJECT1
1792b1c484bc35e334093b9a5c2fb4d20b3f4452
[ "BSD-4-Clause-UC" ]
null
null
null
flashsim/bast_ftl.cpp
praneethyerramothu/AOSPROJECT1
1792b1c484bc35e334093b9a5c2fb4d20b3f4452
[ "BSD-4-Clause-UC" ]
6
2015-03-23T02:49:28.000Z
2018-10-30T06:44:40.000Z
/* Copyright 2011 Matias Bjørling */ /* bast_ftl.cpp */ /* FlashSim is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. */ /* FlashSim is distributed...
28.880779
160
0.723926
praneethyerramothu
a878266c1700028edfd5748cc7364d07ccf74659
1,937
cpp
C++
et-demo/scene-rendering/source/DemoSceneLoader.cpp
sergeyreznik/et-demo
d20a05c9ed088bac7f27c00184c596d226f063c7
[ "MIT" ]
null
null
null
et-demo/scene-rendering/source/DemoSceneLoader.cpp
sergeyreznik/et-demo
d20a05c9ed088bac7f27c00184c596d226f063c7
[ "MIT" ]
null
null
null
et-demo/scene-rendering/source/DemoSceneLoader.cpp
sergeyreznik/et-demo
d20a05c9ed088bac7f27c00184c596d226f063c7
[ "MIT" ]
null
null
null
#include <et/rendering/base/primitives.h> #include <et/rendering/rendercontext.h> #include <et/scene3d/objloader.h> #include <et/app/application.h> #include "DemoSceneLoader.h" using namespace et; using namespace demo; void SceneLoader::init(et::RenderContext* rc) { _rc = rc; } et::s3d::Scene::Pointer SceneLoader:...
28.910448
108
0.700568
sergeyreznik
a879ed12ff5f360cd669f8f7e0e53f342c014b4d
2,285
cpp
C++
software/scale/analog.cpp
cs2dsb/coffee_assisstant
c3686ec60d00b50722f99ca435fbda3733bba5dd
[ "Apache-2.0", "MIT" ]
4
2021-06-15T01:47:21.000Z
2022-02-21T14:39:25.000Z
software/scale/analog.cpp
cs2dsb/coffee_assisstant
c3686ec60d00b50722f99ca435fbda3733bba5dd
[ "Apache-2.0", "MIT" ]
5
2021-07-13T14:08:48.000Z
2021-07-13T15:26:53.000Z
software/scale/analog.cpp
cs2dsb/coffee_assistant
c3686ec60d00b50722f99ca435fbda3733bba5dd
[ "Apache-2.0", "MIT" ]
null
null
null
#include "analog.h" #include "board.h" #include "utils.h" esp_adc_cal_characteristics_t adc_characteristics; Filter batt_filter = Filter(); Filter vbus_filter = Filter(); void configure_and_calibrate_adc1(void) { esp_adc_cal_value_t val_type = esp_adc_cal_characterize(unit, ADC_ATTEN_DB_11, ADC_WIDTH_BIT_12, DEFA...
25.965909
137
0.702845
cs2dsb
a87c894a8b8dcbc31e7da8de00754b6095dbc350
2,008
cpp
C++
main.cpp
6arek212/cpp-Assignemt2
79581029e8a96b789bf7b1ef70265a65e07d6083
[ "MIT" ]
null
null
null
main.cpp
6arek212/cpp-Assignemt2
79581029e8a96b789bf7b1ef70265a65e07d6083
[ "MIT" ]
null
null
null
main.cpp
6arek212/cpp-Assignemt2
79581029e8a96b789bf7b1ef70265a65e07d6083
[ "MIT" ]
null
null
null
#include "Notebook.hpp" #include "Direction.hpp" using ariel::Direction; #include <iostream> #include <stdexcept> using namespace std; const int exitNubmer = 5; void printChoices() { cout << endl << endl << "@@@@@@@@@@@@@@@@@@"<< endl << "Enter your choice" << endl << "1- wirt...
20.701031
73
0.468127
6arek212
a88057dbbd57899467530dfbf7fa5e86a4e42af8
609
hpp
C++
alpaka/include/alpaka/meta/Void.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
6
2021-02-01T09:01:39.000Z
2021-11-14T17:09:03.000Z
alpaka/include/alpaka/meta/Void.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
17
2020-11-09T14:13:50.000Z
2021-11-03T11:54:54.000Z
alpaka/include/alpaka/meta/Void.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
null
null
null
/* Copyright 2020 Sergei Bastrakov * * This file is part of alpaka. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once namespace alpaka { nam...
27.681818
87
0.558292
alpaka-group
a8816f8988a3c2f74882dbea373c9a3da1a1c5f7
1,032
cpp
C++
test/PooledObject.cpp
SonnyRajagopalan/TimerAndCallback
c36a0f7144631ea77848a0fb88857c8c15e07e29
[ "BSD-3-Clause" ]
4
2020-04-07T03:03:00.000Z
2022-02-07T03:58:21.000Z
test/PooledObject.cpp
SonnyRajagopalan/TimerAndCallback
c36a0f7144631ea77848a0fb88857c8c15e07e29
[ "BSD-3-Clause" ]
null
null
null
test/PooledObject.cpp
SonnyRajagopalan/TimerAndCallback
c36a0f7144631ea77848a0fb88857c8c15e07e29
[ "BSD-3-Clause" ]
5
2015-06-15T12:12:53.000Z
2022-02-06T14:32:50.000Z
#include <sys/mman.h> #include <sys/types.h> #include <fcntl.h> #include "test/PooledObject.h" #include "common/Debug.h" MemoryPool* PooledObject::pool = new MemoryPool ((char*) "pooledObject", (char*) "/pooledObject", O_RDWR | O_CREAT | O_EXCL, PROT_READ | PROT_WRITE, 0666, sizeof (PooledObject)...
27.157895
109
0.667636
SonnyRajagopalan
a881a265947cd59cc5df006cd9776853a0f5cc13
1,926
cpp
C++
test/old_tests/UnitTests/constexpr.cpp
sylveon/cppwinrt
4d5c5ae3de386ce1f18c3410a27b9ceb40aa524d
[ "MIT" ]
859
2016-10-13T00:11:52.000Z
2019-05-06T15:45:46.000Z
test/old_tests/UnitTests/constexpr.cpp
sylveon/cppwinrt
4d5c5ae3de386ce1f18c3410a27b9ceb40aa524d
[ "MIT" ]
655
2019-10-08T12:15:16.000Z
2022-03-31T18:26:40.000Z
test/old_tests/UnitTests/constexpr.cpp
sylveon/cppwinrt
4d5c5ae3de386ce1f18c3410a27b9ceb40aa524d
[ "MIT" ]
137
2016-10-13T04:19:59.000Z
2018-11-09T05:08:03.000Z
#include "pch.h" #include "catch.hpp" #include "string_view_compare.h" #pragma warning(disable:4471) // a forward declaration of an unscoped enumeration must have an underlying type #include <Windows.Applicationmodel.Activation.h> using namespace std::string_view_literals; namespace winrt { using namespace Windo...
38.52
140
0.745067
sylveon
a883439766835f0b59b992622cfa4a7303c9a358
2,260
cpp
C++
grav2d-cube/src/main.cpp
YiZhangCUG/MyTools
e31fa0885fad72c0fce2f2b622cc8f056d3c8965
[ "MIT" ]
6
2019-01-22T23:35:11.000Z
2021-01-28T03:21:23.000Z
grav2d-cube/src/main.cpp
YiZhangCUG/MyTools
e31fa0885fad72c0fce2f2b622cc8f056d3c8965
[ "MIT" ]
null
null
null
grav2d-cube/src/main.cpp
YiZhangCUG/MyTools
e31fa0885fad72c0fce2f2b622cc8f056d3c8965
[ "MIT" ]
1
2020-09-13T03:44:20.000Z
2020-09-13T03:44:20.000Z
#include "grav2d_cube.h" #include "dispHelp.h" void disp_help(char* proname) { string exName = proname; string exUsage = proname; exUsage += " -r<y-start>/<y-step>/<y-end>/<x-start>/<x-step>/<x-end>/<elevation>|<filename> \ -c<y-cen>/<x-cen>/<z-cen>/<dy>/<dx>/<dz>/<density>|<filename> -tgravity|gx|gy|gz > out-file...
27.560976
147
0.606637
YiZhangCUG
a883eb518b665227d37e7962611027e136ca9498
948
cpp
C++
src/rws.cpp
herrvonregen/abb_librws
a34f824b76b7a63b41f53054f1d0588535aa6b39
[ "BSD-3-Clause" ]
null
null
null
src/rws.cpp
herrvonregen/abb_librws
a34f824b76b7a63b41f53054f1d0588535aa6b39
[ "BSD-3-Clause" ]
5
2021-11-25T09:24:05.000Z
2022-02-21T13:41:14.000Z
src/rws.cpp
NoMagicAi/abb_librws
a34f824b76b7a63b41f53054f1d0588535aa6b39
[ "BSD-3-Clause" ]
2
2021-03-20T09:30:53.000Z
2022-01-02T13:13:30.000Z
#include <abb_librws/rws.h> #include <boost/throw_exception.hpp> #include <stdexcept> #include <iostream> namespace abb :: rws { std::ostream& operator<<(std::ostream& os, StopMode stopmode) { switch (stopmode) { case StopMode::cycle: os << "cycle"; break; case StopMode::inst...
18.588235
75
0.549578
herrvonregen
a885b171f4b53c75b2572bceb5224b140f9b8390
442
hpp
C++
library/ATF/tagWINDOWPOS.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/tagWINDOWPOS.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/tagWINDOWPOS.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <HWND__.hpp> START_ATF_NAMESPACE #pragma pack(push, 8) struct tagWINDOWPOS { HWND__ *hwnd; HWND__ *hwndInsertAfter; int x; ...
20.090909
108
0.628959
lemkova
a88714af428556ca71134d224e9b214cb3bb560a
598
cpp
C++
core/src/index/BitmapStream.cpp
hexrain/utymap
39cb7684bf014ecc770ed1c46d953f13e103f3f5
[ "Apache-2.0" ]
946
2016-03-13T23:00:37.000Z
2022-03-29T08:35:30.000Z
core/src/index/BitmapStream.cpp
hexrain/utymap
39cb7684bf014ecc770ed1c46d953f13e103f3f5
[ "Apache-2.0" ]
136
2016-03-30T11:54:45.000Z
2020-10-31T13:05:27.000Z
core/src/index/BitmapStream.cpp
hexrain/utymap
39cb7684bf014ecc770ed1c46d953f13e103f3f5
[ "Apache-2.0" ]
168
2016-05-02T15:04:53.000Z
2022-03-28T17:23:26.000Z
#include "index/BitmapStream.hpp" using namespace utymap::index; void BitmapStream::read(std::istream &in, BitmapIndex::Bitmap &bitmap) { std::uint32_t key; BitmapIndex::Bitset bitset; in.seekg(0, std::ios::beg); do { in.read(reinterpret_cast<char *>(&key), sizeof(key)); bitset.read(in); bitmap....
24.916667
80
0.670569
hexrain
a88bcb977c08789f2eac5363cf8638411eb70df6
1,716
cpp
C++
custom_widgets/colored_legend_graphics_view.cpp
GPUOpen-Tools/qt_common
db1e003df850e7790586bf62237623a80dcc222b
[ "MIT" ]
3
2020-10-07T20:40:41.000Z
2022-03-19T01:39:42.000Z
custom_widgets/colored_legend_graphics_view.cpp
GPUOpen-Tools/qt_common
db1e003df850e7790586bf62237623a80dcc222b
[ "MIT" ]
null
null
null
custom_widgets/colored_legend_graphics_view.cpp
GPUOpen-Tools/qt_common
db1e003df850e7790586bf62237623a80dcc222b
[ "MIT" ]
2
2020-10-07T20:40:42.000Z
2020-10-28T22:18:49.000Z
//============================================================================= /// Copyright (c) 2016-2020 Advanced Micro Devices, Inc. All rights reserved. /// \author AMD Developer Tools Team /// \file /// \brief Implementation of a graphics view that is aware of the size /// requirements of a ColoredLegendScene. //...
28.131148
83
0.631702
GPUOpen-Tools
a88dba84ae0961a8434f25df5cb536e413c35767
51,485
cc
C++
proxy/mgmt2/Main.cc
ibrezac/trafficserver
640c4f738b7858f93069f987ea141e0cafae72da
[ "Apache-2.0" ]
null
null
null
proxy/mgmt2/Main.cc
ibrezac/trafficserver
640c4f738b7858f93069f987ea141e0cafae72da
[ "Apache-2.0" ]
null
null
null
proxy/mgmt2/Main.cc
ibrezac/trafficserver
640c4f738b7858f93069f987ea141e0cafae72da
[ "Apache-2.0" ]
null
null
null
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you und...
33.003205
125
0.633583
ibrezac
a88fe7e0ccd662fb854dafb47be0062ad8d21846
3,339
cc
C++
src/benchmark/tpcc/tera_txn/order_status_txn.cc
sallon88/tera
ab6f3d15981b1744bba75a94ca85a97a9fdf2767
[ "BSD-3-Clause" ]
null
null
null
src/benchmark/tpcc/tera_txn/order_status_txn.cc
sallon88/tera
ab6f3d15981b1744bba75a94ca85a97a9fdf2767
[ "BSD-3-Clause" ]
null
null
null
src/benchmark/tpcc/tera_txn/order_status_txn.cc
sallon88/tera
ab6f3d15981b1744bba75a94ca85a97a9fdf2767
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015-2017, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: baorenyi@baidu.com #include "benchmark/tpcc/tera_tpccdb.h" #include <gflags/gflags.h> #include <glog/logging.h> #include "sdk/client_im...
37.1
86
0.597484
sallon88
a8911f85e8428a28fc3fc05179127c186e5bc12a
334
hpp
C++
include/keyboard.hpp
atlz253/engine
5e0564debbaedb70dc2bd099e294d64a66fee56c
[ "MIT" ]
null
null
null
include/keyboard.hpp
atlz253/engine
5e0564debbaedb70dc2bd099e294d64a66fee56c
[ "MIT" ]
null
null
null
include/keyboard.hpp
atlz253/engine
5e0564debbaedb70dc2bd099e294d64a66fee56c
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2021 Fedor Alekseev For more information check LICENSE */ #ifndef KEYBORAD #define KEYBORAD #include <iostream> typedef enum { SCANCODE_Q = 20, SCANCODE_RIGHTBRACKET = 48 } scancode; typedef const uint8_t *keys; namespace keyboard { keys state(int *numkeys); } #end...
12.37037
36
0.706587
atlz253
a89242f5d73cee434db0a2ef21c35033b9b8ad64
5,258
cc
C++
ruy/tune.cc
bjacob/ruy
c1dd3e0038584ce44390dad95ed2fec1bb07ff30
[ "Apache-2.0" ]
1
2021-02-01T05:22:05.000Z
2021-02-01T05:22:05.000Z
ruy/tune.cc
bjacob/ruy
c1dd3e0038584ce44390dad95ed2fec1bb07ff30
[ "Apache-2.0" ]
2
2021-04-18T14:03:05.000Z
2021-07-28T13:55:58.000Z
ruy/tune.cc
bjacob/ruy
c1dd3e0038584ce44390dad95ed2fec1bb07ff30
[ "Apache-2.0" ]
1
2020-09-27T03:08:17.000Z
2020-09-27T03:08:17.000Z
/* Copyright 2019 Google LLC. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
32.45679
80
0.618296
bjacob
a892b6151a5fe6b610eaad64aa01c39234f65b1a
2,115
cc
C++
src/transport/Equation_DD_3D.cc
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/transport/Equation_DD_3D.cc
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/transport/Equation_DD_3D.cc
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*----------------------------------// /** * @file Equation_DD_3D.cc * @author Jeremy Roberts * @date Mar 31, 2012 * @brief Equation_DD_3D member definitions. */ //---------------------------------------------------------------------------// #include "Equation_DD_...
30.214286
79
0.421749
RLReed
a8945f436f0f1116ed6a9390348eb9421a639060
7,710
cpp
C++
aws-cpp-sdk-opsworks/source/model/InstancesCount.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-opsworks/source/model/InstancesCount.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-opsworks/source/model/InstancesCount.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
20.505319
78
0.709857
ambasta
a897fc3d92d3747462bd8bfbf26fc258c3e944b9
1,580
cpp
C++
homework3/ex8/array_ver/matrix.cpp
codeworm96/SE105-Programming-1
9b82316d33779befcef8c641a85df7137006450a
[ "MIT" ]
4
2015-08-04T03:37:16.000Z
2016-10-11T06:50:24.000Z
homework3/ex8/array_ver/matrix.cpp
codeworm96/SE105-Programming-1
9b82316d33779befcef8c641a85df7137006450a
[ "MIT" ]
null
null
null
homework3/ex8/array_ver/matrix.cpp
codeworm96/SE105-Programming-1
9b82316d33779befcef8c641a85df7137006450a
[ "MIT" ]
null
null
null
#include "matrix.h" #include <iostream> #include <stdexcept> using namespace std; namespace math{ Matrix::Matrix() //default constructor { row = 0; column = 0; } Matrix::Matrix(const Matrix& mat) //constructor { row = mat.row; column = mat.column; //copy array; for (int i = 0; i < row; ++i){ for (i...
21.066667
61
0.539241
codeworm96
a8998daf8d06d05351a6787bc066faba755708fc
204
cpp
C++
code/cpp/SwapUsingBitWise.cpp
analgorithmaday/analgorithmaday.github.io
d43f98803bc673f61334bff54eed381426ee902e
[ "MIT" ]
null
null
null
code/cpp/SwapUsingBitWise.cpp
analgorithmaday/analgorithmaday.github.io
d43f98803bc673f61334bff54eed381426ee902e
[ "MIT" ]
null
null
null
code/cpp/SwapUsingBitWise.cpp
analgorithmaday/analgorithmaday.github.io
d43f98803bc673f61334bff54eed381426ee902e
[ "MIT" ]
null
null
null
void swap(int *a, int *b) { *a ^= *b; // a ^ b *b ^= *a; // b ^ a *a ^= *b; // a ^ b } void main() { int a=5, b=8; int c=10, d=10; swap(&a,&b); swap(&c, &d); // it works }
12.75
29
0.348039
analgorithmaday
a89d2614adca492515424944bbc4a74de62e2de3
2,001
cc
C++
paragraph/graph/graph_data_parallel_extender.cc
paragraph-sim/paragraph-core
0d0f9e76c474f5ed08ec5c1f7acc672444270727
[ "Apache-2.0" ]
null
null
null
paragraph/graph/graph_data_parallel_extender.cc
paragraph-sim/paragraph-core
0d0f9e76c474f5ed08ec5c1f7acc672444270727
[ "Apache-2.0" ]
1
2021-11-23T17:17:57.000Z
2021-11-23T17:17:57.000Z
paragraph/graph/graph_data_parallel_extender.cc
paragraph-sim/paragraph-core
0d0f9e76c474f5ed08ec5c1f7acc672444270727
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 NVIDIA CORPORATION * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
35.732143
78
0.741129
paragraph-sim
a89e7543effe5a4c69aa6b8c269f535f7281c8cd
1,488
cpp
C++
util.cpp
Alpana07/phosphor-logging
1be39849bd974c2f7df7fa932edcd7f71a2c6d59
[ "Apache-2.0" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
util.cpp
Alpana07/phosphor-logging
1be39849bd974c2f7df7fa932edcd7f71a2c6d59
[ "Apache-2.0" ]
26
2017-02-02T08:20:10.000Z
2021-11-16T18:28:44.000Z
util.cpp
Alpana07/phosphor-logging
1be39849bd974c2f7df7fa932edcd7f71a2c6d59
[ "Apache-2.0" ]
28
2016-07-20T16:46:54.000Z
2022-03-16T11:20:03.000Z
/** * Copyright © 2020 IBM Corporation * * 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 agr...
31.659574
75
0.651882
Alpana07
a89f16fa2c16975d1e5c90eb7c462bde91db488e
1,065
hpp
C++
uv/include/Udp.hpp
newspacer/uv-cpp
71f1b936ef50a20bfc90d3469c8a45f9d3e979b4
[ "MIT" ]
587
2019-06-27T11:12:35.000Z
2022-03-31T05:01:37.000Z
uv/include/Udp.hpp
newspacer/uv-cpp
71f1b936ef50a20bfc90d3469c8a45f9d3e979b4
[ "MIT" ]
38
2019-06-27T02:21:25.000Z
2021-11-17T02:27:02.000Z
uv/include/Udp.hpp
anrongwn/libuv_cpp11
66edeed6abd25778a409f257641078a378723572
[ "MIT" ]
161
2019-06-27T18:29:57.000Z
2022-03-31T12:28:48.000Z
/* Copyright © 2017-2019, orcaer@yeah.net All rights reserved. Author: orcaer@yeah.net Last modified: 2019-10-20 Description: https://github.com/wlgq2/uv-cpp */ #ifndef UV_UDP_HPP #define UV_UDP_HPP #include <functional> #include "EventLoop.hpp" #include "SocketAddr.hpp" namespace uv { class Udp ...
20.882353
131
0.723005
newspacer
a8a164a02e76cad28f12735206c9107bf6e9481a
2,691
cpp
C++
src/main.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
47
2016-07-27T07:22:06.000Z
2021-08-17T13:08:19.000Z
src/main.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
1
2016-09-24T06:04:39.000Z
2016-09-25T10:34:19.000Z
src/main.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
13
2016-07-27T10:44:35.000Z
2020-07-01T21:08:33.000Z
/************************************************************************** ** This file is a part of our work (Siggraph'16 paper, binary, code and dataset): ** ** Roto++: Accelerating Professional Rotoscoping using Shape Manifolds ** Wenbin Li, Fabio Viola, Jonathan Starck, Gabriel J. Brostow and Neill D.F. Campbell *...
41.4
86
0.6767
vinben
a8a2d689efe1bc25bb0bb16da8d6584671c00410
7,950
cpp
C++
Code/Engine/Math/Rigidbody2D.cpp
pronaypeddiraju/Engine
0ca9720a00f51340c6eb6bba07d70972489663e8
[ "Unlicense" ]
1
2021-01-25T23:53:44.000Z
2021-01-25T23:53:44.000Z
Code/Engine/Math/Rigidbody2D.cpp
pronaypeddiraju/Engine
0ca9720a00f51340c6eb6bba07d70972489663e8
[ "Unlicense" ]
null
null
null
Code/Engine/Math/Rigidbody2D.cpp
pronaypeddiraju/Engine
0ca9720a00f51340c6eb6bba07d70972489663e8
[ "Unlicense" ]
1
2021-01-25T23:53:46.000Z
2021-01-25T23:53:46.000Z
//------------------------------------------------------------------------------------------------------------------------------ #include "Engine/Core/VertexUtils.hpp" #include "Engine/Math/Collider2D.hpp" #include "Engine/Math/MathUtils.hpp" #include "Engine/Math/PhysicsSystem.hpp" #include "Engine/Math/Rigidbody2D.hp...
32.716049
196
0.516352
pronaypeddiraju
a8ac79205dcfa129b367660960c8099cb58c705e
7,175
cpp
C++
roxe.cdt/roxe_llvm/tools/clang/unittests/AST/StructuralEquivalenceTest.cpp
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
5
2021-01-13T03:34:00.000Z
2021-09-09T05:42:18.000Z
roxe.cdt/roxe_llvm/tools/clang/unittests/AST/StructuralEquivalenceTest.cpp
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
1
2020-05-16T06:30:28.000Z
2020-05-16T06:37:55.000Z
roxe.cdt/roxe_llvm/tools/clang/unittests/AST/StructuralEquivalenceTest.cpp
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
6
2020-01-06T11:18:54.000Z
2020-01-07T09:32:18.000Z
#include "clang/AST/ASTContext.h" #include "clang/ASTMatchers/ASTMatchers.h" #include "clang/AST/ASTStructuralEquivalence.h" #include "clang/Frontend/ASTUnit.h" #include "clang/Tooling/Tooling.h" #include "Language.h" #include "DeclMatcher.h" #include "gtest/gtest.h" namespace clang { namespace ast_matchers { using...
34.495192
82
0.687247
APFDev
a8ade626d0ed3f684d0c102cd73d5a2949254e73
7,029
cpp
C++
Core/albaViewHTML.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Core/albaViewHTML.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Core/albaViewHTML.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaViewHTML Authors: Paolo Quadrani Silvano Imboden Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; ...
30.428571
114
0.512733
IOR-BIC
a8b0591635451a75f6c9f715a6a8349bf28382f7
448
hpp
C++
Kernel/include/Kernel/Common/IoService.hpp
SkillerRaptor/HyperOS
6dcb82508791ec9d83885429de770d43e74b4eb6
[ "MIT" ]
12
2020-10-24T13:44:02.000Z
2021-11-13T15:53:54.000Z
Kernel/include/Kernel/Common/IoService.hpp
SkillerRaptor/HyperOS
6dcb82508791ec9d83885429de770d43e74b4eb6
[ "MIT" ]
null
null
null
Kernel/include/Kernel/Common/IoService.hpp
SkillerRaptor/HyperOS
6dcb82508791ec9d83885429de770d43e74b4eb6
[ "MIT" ]
1
2021-06-25T17:22:31.000Z
2021-06-25T17:22:31.000Z
/* * Copyright (c) 2020-2021, SkillerRaptor <skillerraptor@protonmail.com> * * SPDX-License-Identifier: MIT */ #pragma once #include <stdint.h> namespace Kernel::IoService { void outb(uint16_t port, uint8_t value); uint8_t inb(uint16_t port); void outw(uint16_t port, uint16_t value); uint16_t inw(uint16_t p...
18.666667
72
0.729911
SkillerRaptor
a8b8107c6ac7369432e91c7635de75ce99b916bd
781
hpp
C++
include/eigenml/core/types.hpp
guillempalou/eigenml
3991ddbfd01032cbbe698f6ec35eecbfe127e9b4
[ "Apache-2.0" ]
null
null
null
include/eigenml/core/types.hpp
guillempalou/eigenml
3991ddbfd01032cbbe698f6ec35eecbfe127e9b4
[ "Apache-2.0" ]
null
null
null
include/eigenml/core/types.hpp
guillempalou/eigenml
3991ddbfd01032cbbe698f6ec35eecbfe127e9b4
[ "Apache-2.0" ]
null
null
null
#ifndef TYPES_HPP #define TYPES_HPP #include <Eigen/Dense> #include <Eigen/Sparse> namespace eigenml { // general type of matrices typedef Eigen::MatrixXd Matrix; typedef Eigen::VectorXd Vector; // integer type of matrices typedef Eigen::MatrixXi MatrixI; typedef Eigen::VectorXi VectorI; ...
21.694444
59
0.695262
guillempalou
a8ba2aafe2cc9115caf2632ef3d5b6c18c39ab7a
4,676
cpp
C++
unit_test/write_job_info.cpp
Youhichka/Microphysics
6f28333d40c9e15fdfbb1c4dc208e887fb5549c3
[ "BSD-3-Clause" ]
1
2021-01-12T23:41:54.000Z
2021-01-12T23:41:54.000Z
unit_test/write_job_info.cpp
Youhichka/Microphysics
6f28333d40c9e15fdfbb1c4dc208e887fb5549c3
[ "BSD-3-Clause" ]
null
null
null
unit_test/write_job_info.cpp
Youhichka/Microphysics
6f28333d40c9e15fdfbb1c4dc208e887fb5549c3
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <unistd.h> #include <iomanip> #include <string> #include <cstring> #include <AMReX_Utility.H> #include <AMReX_buildInfo.H> #include <extern_parameters.H> #include <network.H> #include <unit_test.H> #ifdef _OPENMP #include <omp.h> #endif using namespace std; using namespace amrex; void w...
27.833333
89
0.624038
Youhichka
a8bb065cf2739a2f119757af42f678d989e14b85
4,333
cpp
C++
gate/network/from_client_session.cpp
xgm-skywave/xgs
d75f3f44ca7f9a5e633f5e14330e84a0fa2777ef
[ "MIT" ]
3
2019-11-05T16:33:21.000Z
2020-10-27T10:28:36.000Z
gate/network/from_client_session.cpp
langxgm/xgs
d75f3f44ca7f9a5e633f5e14330e84a0fa2777ef
[ "MIT" ]
null
null
null
gate/network/from_client_session.cpp
langxgm/xgs
d75f3f44ca7f9a5e633f5e14330e84a0fa2777ef
[ "MIT" ]
2
2020-10-27T10:25:07.000Z
2020-11-10T05:36:33.000Z
 #include "from_client_session.h" #include "to_ws_session.h" #include "to_gs_session.h" #include "gate/logic/HandleMsgMacros.h" #include "gate/logic/PlayerManager.h" #include "gate/logic/Player.h" #include "gate/logic/LoginHandler.h" #include "gate/config/GameConfig.h" #include "gate/pbconfig/msginfo.conf.pb.h" #inc...
26.582822
136
0.655897
xgm-skywave
a8bd35816b6b175ef511a16e01f24ab60063b95b
47,285
cpp
C++
src/caffe/solvers/sgd_solver.cpp
zhangnju/GSL
9354765ce76d209715f5673e753a94f9eaf41007
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/solvers/sgd_solver.cpp
zhangnju/GSL
9354765ce76d209715f5673e753a94f9eaf41007
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/solvers/sgd_solver.cpp
zhangnju/GSL
9354765ce76d209715f5673e753a94f9eaf41007
[ "Intel", "BSD-2-Clause" ]
null
null
null
#include <string> #include <vector> #include "caffe/sgd_solvers.hpp" #include "caffe/util/hdf5.hpp" #include "caffe/util/io.hpp" #include "caffe/util/upgrade_proto.hpp" namespace caffe { // Return the current learning rate. The currently implemented learning rate // policies are as follows: // - fixed: always retu...
37.379447
157
0.611103
zhangnju
a8c099e7ea859865e773ab6ddf845992ae969dae
20,389
cpp
C++
DCM/tcpip/src/tcp.cpp
cxdcxd/sepanta3
a65a3415f046631ac4d6b91f9342966b0c030226
[ "MIT" ]
null
null
null
DCM/tcpip/src/tcp.cpp
cxdcxd/sepanta3
a65a3415f046631ac4d6b91f9342966b0c030226
[ "MIT" ]
null
null
null
DCM/tcpip/src/tcp.cpp
cxdcxd/sepanta3
a65a3415f046631ac4d6b91f9342966b0c030226
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <stdio.h> #include <boost/thread.hpp> #include <boost/algorithm/string.hpp> #include <boost/lexical_cast.hpp> #include "std_msgs/String.h" #include "std_msgs/Int32.h" #include <ros/package.h> #include <stdio.h> #include <stdlib.h> #include <tcpacceptor.h> #include <tcpacceptor.hpp> #inc...
26.722149
141
0.492766
cxdcxd
a8c2c6132dda61ef57123f327cb37ac3a8645301
8,007
hpp
C++
src/crt/path_trace.hpp
ceres-navigation/ceres-raytracer
84f29fc147982574c16c0b7e9925d6a0a3f03eea
[ "MIT" ]
1
2022-02-02T21:54:53.000Z
2022-02-02T21:54:53.000Z
src/crt/path_trace.hpp
ceres-navigation/ceres-raytracer
84f29fc147982574c16c0b7e9925d6a0a3f03eea
[ "MIT" ]
8
2022-02-06T19:37:00.000Z
2022-02-14T00:01:50.000Z
src/crt/path_trace.hpp
ceres-navigation/ceres-raytracer
84f29fc147982574c16c0b7e9925d6a0a3f03eea
[ "MIT" ]
1
2022-02-04T01:57:09.000Z
2022-02-04T01:57:09.000Z
#ifndef __TRACE_H #define __TRACE_H #include <chrono> #include "bvh/bvh.hpp" #include "bvh/single_ray_traverser.hpp" #include "bvh/primitive_intersectors.hpp" #include "bvh/triangle.hpp" #include "lighting.hpp" #include "cameras.hpp" template <typename Scalar> std::vector<uint8_t> path_trace(std::unique_ptr<CameraMo...
43.994505
157
0.509179
ceres-navigation
a8c413b1c72b5bf99375c6c67ef79514f3c4d9fd
3,983
hpp
C++
libraries/protocol/include/crea/protocol/legacy_asset.hpp
fgallaire/crea
4b06773487f3cefc2442aa59a959952de238f040
[ "MIT" ]
6
2018-10-08T09:30:39.000Z
2021-08-16T00:16:49.000Z
libraries/protocol/include/crea/protocol/legacy_asset.hpp
fgallaire/crea
4b06773487f3cefc2442aa59a959952de238f040
[ "MIT" ]
1
2019-03-10T08:07:46.000Z
2019-04-03T19:32:08.000Z
libraries/protocol/include/crea/protocol/legacy_asset.hpp
fgallaire/crea
4b06773487f3cefc2442aa59a959952de238f040
[ "MIT" ]
4
2019-02-25T03:56:50.000Z
2020-03-20T07:03:35.000Z
#pragma once #include <crea/protocol/asset.hpp> #define CREA_SYMBOL_LEGACY_SER_1 (uint64_t(1) | (CREA_SYMBOL_U64 << 8)) #define CREA_SYMBOL_LEGACY_SER_2 (uint64_t(2) | (CREA_SYMBOL_U64 << 8)) #define CREA_SYMBOL_LEGACY_SER_3 (uint64_t(5) | (CREA_SYMBOL_U64 << 8)) #define CREA_SYMBOL_LEGACY_SER_4 (uint64_t(3) ...
28.654676
167
0.62591
fgallaire
a8cf4fa7873952fb3b28b8116c52bb7e43447e7e
271
cpp
C++
Example_Array_Pointer.cpp
sinarashidiazar/cpp
97ff3b6821efb3857b7a1a4cc24a6294e7279e75
[ "MIT" ]
null
null
null
Example_Array_Pointer.cpp
sinarashidiazar/cpp
97ff3b6821efb3857b7a1a4cc24a6294e7279e75
[ "MIT" ]
null
null
null
Example_Array_Pointer.cpp
sinarashidiazar/cpp
97ff3b6821efb3857b7a1a4cc24a6294e7279e75
[ "MIT" ]
null
null
null
// pointeres and arrays #include <iostream> #include <conio.h> using namespace std; main() { int a[]={4,2,3,10,1,6,3}; int *p,*q; p=a; q=a+6; do{ cout<<*p+*q<<endl; // 7 8 4 p++; q--; } while(p!=q); getch(); }
8.741935
39
0.435424
sinarashidiazar
a8d0922fbda905c33e6f830f946a59c3de8b0ab1
1,082
hh
C++
src/pn/unit.hh
tic-toc/caesar.sdd
fa152df96bde9d7babbdffbd5b082d53b3f25e0c
[ "BSD-2-Clause" ]
1
2020-04-21T20:49:11.000Z
2020-04-21T20:49:11.000Z
src/pn/unit.hh
tic-toc/caesar.sdd
fa152df96bde9d7babbdffbd5b082d53b3f25e0c
[ "BSD-2-Clause" ]
4
2017-11-14T10:10:44.000Z
2019-08-09T22:01:22.000Z
src/pn/unit.hh
tic-toc/caesar.sdd
fa152df96bde9d7babbdffbd5b082d53b3f25e0c
[ "BSD-2-Clause" ]
1
2019-08-09T20:14:33.000Z
2019-08-09T20:14:33.000Z
#pragma once #include <functional> #include <iosfwd> #include <vector> #include "pn/place.hh" namespace caesar { namespace pn { /*------------------------------------------------------------------------------------------------*/ /// @brief A BPN unit. struct unit { /// @brief This unit's id. const unsigned int...
24.590909
100
0.478743
tic-toc
a8d4612a25524cb2b1bbdaf729fb08f7533af3d4
132
cpp
C++
test/driver.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
test/driver.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
test/driver.cpp
amedama41/write_queue_stream
2ec1078218890e33d2192c1aa59786e63e8bd375
[ "BSL-1.0" ]
null
null
null
#define BOOST_TEST_DYN_LINK #ifndef BOOST_TEST_MODULE #define BOOST_TEST_MODULE all_test #endif #include <boost/test/unit_test.hpp>
22
35
0.848485
amedama41
a8d4ada7735f8aa7dfaf51491e36010bd4a15bc8
16,891
cpp
C++
src/Utility/ISA.cpp
ucam-comparch-loki/lokisim
3641e01d6173d448a8bd9d62c3cc9664d05e442d
[ "MIT" ]
null
null
null
src/Utility/ISA.cpp
ucam-comparch-loki/lokisim
3641e01d6173d448a8bd9d62c3cc9664d05e442d
[ "MIT" ]
2
2020-04-06T14:22:31.000Z
2020-06-01T09:33:37.000Z
src/Utility/ISA.cpp
ucam-comparch-loki/lokisim
3641e01d6173d448a8bd9d62c3cc9664d05e442d
[ "MIT" ]
null
null
null
/* * ISA.cpp * * Automatically generated by update_isa.py on 2015-06-03. * */ #include "ISA.h" #include <assert.h> #include <iostream> #include <map> bool ISA::storesResult(opcode_t opcode) {return hasDestReg(opcode);} // remove? bool ISA::hasDestReg(opcode_t opcode) { static const bool _hasDestReg[] = {1, 1...
91.798913
2,027
0.57581
ucam-comparch-loki
a8d7a95e1bde0993c385f84949e2a1b550884721
6,200
cpp
C++
pugixml-1.8/Storage.cpp
librastar1985/Yeast_Budding_20200214
cfdd434f4643b0ac0800d00ec56d53a888bec990
[ "MIT" ]
null
null
null
pugixml-1.8/Storage.cpp
librastar1985/Yeast_Budding_20200214
cfdd434f4643b0ac0800d00ec56d53a888bec990
[ "MIT" ]
null
null
null
pugixml-1.8/Storage.cpp
librastar1985/Yeast_Budding_20200214
cfdd434f4643b0ac0800d00ec56d53a888bec990
[ "MIT" ]
null
null
null
#include "System.h" #include "Storage.h" Storage::Storage( std::weak_ptr<System> system_) { //std::cout << "FDM constructor" << std::endl; system = system_; std::ofstream statesOutput("Temp.sta"); std::shared_ptr<System> SYSTEM = system.lock();//upgrades weak to shared if (SYSTEM) { ...
32.291667
175
0.609194
librastar1985
a8d890d5ab0fd887a15e5b2309e6a03a75bf3e2a
7,440
cpp
C++
arangod/Replication2/ReplicatedLog/types.cpp
kapahimansi123/arangodb
66e4b96ab21baf0a857fd50bb6916e71c0defc06
[ "Apache-2.0" ]
null
null
null
arangod/Replication2/ReplicatedLog/types.cpp
kapahimansi123/arangodb
66e4b96ab21baf0a857fd50bb6916e71c0defc06
[ "Apache-2.0" ]
null
null
null
arangod/Replication2/ReplicatedLog/types.cpp
kapahimansi123/arangodb
66e4b96ab21baf0a857fd50bb6916e71c0defc06
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2021-2021 ArangoDB GmbH, Cologne, Germany /// /// 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 co...
37.959184
121
0.71129
kapahimansi123