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
d712631bb86c39a708c33bec414463a620d052fe
505
hpp
C++
include/X-GSD-Example-Game/Controllers/EnemyController.hpp
iPruch/X-GSD
1f0b294e27f5aee0fb0448207cd1091c9d42ae44
[ "Zlib" ]
2
2015-01-04T22:17:23.000Z
2017-04-28T14:19:56.000Z
include/X-GSD-Example-Game/Controllers/EnemyController.hpp
iPruch/X-GSD
1f0b294e27f5aee0fb0448207cd1091c9d42ae44
[ "Zlib" ]
null
null
null
include/X-GSD-Example-Game/Controllers/EnemyController.hpp
iPruch/X-GSD
1f0b294e27f5aee0fb0448207cd1091c9d42ae44
[ "Zlib" ]
null
null
null
#pragma once #include <X-GSD/ControllerHeaders.hpp> using namespace xgsd; /* Controller for the logic of the enemy asteroids. */ class EnemyController : public Component { // Methods public: EnemyController(); ~EnemyController(); void onEntityAttach() override; void update(const HiResDu...
20.2
84
0.718812
iPruch
d71c72cdea1cd53b24cc1fdc52f49331be190b10
13,131
hpp
C++
libs/executors/include/hpx/executors/service_executors.hpp
picanumber/hpx
76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d
[ "BSL-1.0" ]
null
null
null
libs/executors/include/hpx/executors/service_executors.hpp
picanumber/hpx
76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d
[ "BSL-1.0" ]
null
null
null
libs/executors/include/hpx/executors/service_executors.hpp
picanumber/hpx
76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2016 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // 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) /// \file parallel/executors/service_executors.hpp #if !defined(HPX_PARALLEL_EXE...
33.159091
85
0.553576
picanumber
d71e1197bcb79f85bbe7dfe2dfbe2a61884d50fa
1,406
cpp
C++
sp/src/game/server/info_overlay_accessor.cpp
tingtom/Fodder
3250572dbc56547709f564ba68e451b21660cdb4
[ "Unlicense" ]
15
2016-04-07T21:29:55.000Z
2022-03-18T08:03:31.000Z
sp/src/game/server/info_overlay_accessor.cpp
tingtom/Fodder
3250572dbc56547709f564ba68e451b21660cdb4
[ "Unlicense" ]
31
2016-11-27T14:38:02.000Z
2020-06-03T11:11:29.000Z
sp/src/game/server/info_overlay_accessor.cpp
tingtom/Fodder
3250572dbc56547709f564ba68e451b21660cdb4
[ "Unlicense" ]
6
2015-02-20T06:11:13.000Z
2018-11-15T08:22:01.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// #include "cbase.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" ...
27.568627
87
0.586771
tingtom
d720b02c505b10839ca609f36db789f2973a0a58
417
cpp
C++
StudentExercise6104.cpp
Rajkamalyadav707/cpp
bc5877c3cde70f7466851d9fc2b7e79ea256c767
[ "MIT" ]
null
null
null
StudentExercise6104.cpp
Rajkamalyadav707/cpp
bc5877c3cde70f7466851d9fc2b7e79ea256c767
[ "MIT" ]
null
null
null
StudentExercise6104.cpp
Rajkamalyadav707/cpp
bc5877c3cde70f7466851d9fc2b7e79ea256c767
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int n, i; float num[100], sum=0.0, average; cout << "Enter the Numbers of Element: "; cin >> n; for(i = 0; i < n; ++i) { cout << i + 1 << ". Enter number: "; cin >> num[i]; sum += num[i]; } ...
16.038462
46
0.417266
Rajkamalyadav707
d720e610b77c5072e34698099b586099cdb28be4
194,203
cpp
C++
src/jrd/btr.cpp
stbergmann/firebird
bfabbd020f00fc40a3155799ccb3caac2642504f
[ "Condor-1.1" ]
1
2021-05-25T09:15:39.000Z
2021-05-25T09:15:39.000Z
src/jrd/btr.cpp
stbergmann/firebird
bfabbd020f00fc40a3155799ccb3caac2642504f
[ "Condor-1.1" ]
null
null
null
src/jrd/btr.cpp
stbergmann/firebird
bfabbd020f00fc40a3155799ccb3caac2642504f
[ "Condor-1.1" ]
null
null
null
/* * PROGRAM: JRD Access Method * MODULE: btr.cpp * DESCRIPTION: B-tree management code * * The contents of this file are subject to the Interbase Public * License Version 1.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://ww...
29.731017
107
0.672461
stbergmann
d72155585d762eb949ff46a2b2781f226854f1e3
1,221
cpp
C++
day06/test.cpp
YigitDincer/aoc21
2e0cad537a58d97994b5f07d6cc84d371bd812c6
[ "Unlicense" ]
null
null
null
day06/test.cpp
YigitDincer/aoc21
2e0cad537a58d97994b5f07d6cc84d371bd812c6
[ "Unlicense" ]
null
null
null
day06/test.cpp
YigitDincer/aoc21
2e0cad537a58d97994b5f07d6cc84d371bd812c6
[ "Unlicense" ]
null
null
null
#include <gtest/gtest.h> #include "solution.h" static const std::vector<size_t> input = {3,4,3,1,2}; TEST(Day06, extract_initial_fish_counts) { std::vector<std::string> input_line {"3,1,2,3,4"}; std::vector<size_t> const expectation{3,1,2,3,4}; EXPECT_EQ(Day06::extract_initial_fish_counts(input_line), expectat...
31.307692
78
0.733006
YigitDincer
d72621b78b389f041ed9c11adf605800b8fd2cb7
312
cpp
C++
src/multiprocesssystem/qmpsapplicationplugin.cpp
task-jp/qtmultiprocesssystem
697af92672a4b413a1db1b50aeb779a1837d8077
[ "BSD-3-Clause" ]
null
null
null
src/multiprocesssystem/qmpsapplicationplugin.cpp
task-jp/qtmultiprocesssystem
697af92672a4b413a1db1b50aeb779a1837d8077
[ "BSD-3-Clause" ]
null
null
null
src/multiprocesssystem/qmpsapplicationplugin.cpp
task-jp/qtmultiprocesssystem
697af92672a4b413a1db1b50aeb779a1837d8077
[ "BSD-3-Clause" ]
null
null
null
#include "qmpsapplicationplugin.h" QMpsApplicationPlugin::QMpsApplicationPlugin(QObject *parent) : QObject(parent) {} #include <QDebug> QObject *QMpsApplicationPlugin::create(const QString &key, QObject *parent) { qDebug() << key << parent; Q_UNUSED(key); Q_UNUSED(parent); return this; }
19.5
75
0.711538
task-jp
d726223624ec29d1ab63f292b4ee4fcb2bbbe6a4
325
cpp
C++
cheat/mysudo/test.cpp
alyapunov/tests
fb7dd00ecb4edaf8d40207ec8e3a00dd942e5483
[ "BSD-2-Clause" ]
null
null
null
cheat/mysudo/test.cpp
alyapunov/tests
fb7dd00ecb4edaf8d40207ec8e3a00dd942e5483
[ "BSD-2-Clause" ]
null
null
null
cheat/mysudo/test.cpp
alyapunov/tests
fb7dd00ecb4edaf8d40207ec8e3a00dd942e5483
[ "BSD-2-Clause" ]
null
null
null
#include <stdlib.h> #include <string> #include <iostream> using namespace std; int main(int n, const char** p) { if (n < 2) { cout << "args?" << endl; return 0; } string str = p[1]; for (int i = 2; i < n; i++) { string arg = p[i]; if (i > 1) str += " "; str += '\"' + arg + '\"'; } system(str.c_str(...
15.47619
31
0.501538
alyapunov
d72784488f1d76e3b6afbe9498b83a2819d3ac18
1,255
cpp
C++
Codeup/P1934|找X|.cpp
FunamiYui/PAT_Code_Akari
52e06689b6bf8177c43ab9256719258c47e80b25
[ "MIT" ]
null
null
null
Codeup/P1934|找X|.cpp
FunamiYui/PAT_Code_Akari
52e06689b6bf8177c43ab9256719258c47e80b25
[ "MIT" ]
null
null
null
Codeup/P1934|找X|.cpp
FunamiYui/PAT_Code_Akari
52e06689b6bf8177c43ab9256719258c47e80b25
[ "MIT" ]
null
null
null
#include <cstdio> int main() { int n, a[210] = {0}; int find; //要找的 bool flag; //用于判断是否找到 while (scanf("%d", &n) != EOF) { //这样写用于多点测试,一次运行测多组实验数据 flag = false; for (int i = 0; i < n; i++) { scanf("%d", a + i); } ...
22.818182
63
0.310757
FunamiYui
d727bc0e3a21e383f37a63630f9d6b90b7825e8a
1,217
cpp
C++
TDEngine2/plugins/WindowsInputContext/source/CBaseInputDevice.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-15T01:14:15.000Z
2019-07-15T01:14:15.000Z
TDEngine2/plugins/WindowsInputContext/source/CBaseInputDevice.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
76
2018-10-27T16:59:36.000Z
2022-03-30T17:40:39.000Z
TDEngine2/plugins/WindowsInputContext/source/CBaseInputDevice.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-29T02:02:08.000Z
2019-07-29T02:02:08.000Z
#include "./../include/CBaseInputDevice.h" #include <core/IInputContext.h> #if defined (TDE2_USE_WIN32PLATFORM) namespace TDEngine2 { CBaseInputDevice::CBaseInputDevice() : CBaseObject() { } E_RESULT_CODE CBaseInputDevice::Init(IInputContext* pInputContext) { if (mIsInitialized) { return RC_FAIL; } ...
15.602564
94
0.703369
bnoazx005
c01750f066de923cbc3b719580e78dec637edece
516
cpp
C++
Questions Level-Wise/Easy/maximum-population-year.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Easy/maximum-population-year.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Easy/maximum-population-year.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: int maximumPopulation(vector<vector<int>>& logs) { int alive=0,index=0; vector<int> x(101); sort(logs.begin(),logs.end()); for(int i=0;i<logs.size();i++) { for(int j=logs[i][0]-1950;j<logs[i][1]-1950;++j) { ...
23.454545
60
0.372093
PrakharPipersania
c01928787b47502a2ed3206f0f5be0948f4e9ce0
1,464
hpp
C++
lab04/solution.hpp
laurocruz/MC458
b8208aa022a6cb482d45426a9bb77f55da0ba4d0
[ "MIT" ]
null
null
null
lab04/solution.hpp
laurocruz/MC458
b8208aa022a6cb482d45426a9bb77f55da0ba4d0
[ "MIT" ]
null
null
null
lab04/solution.hpp
laurocruz/MC458
b8208aa022a6cb482d45426a9bb77f55da0ba4d0
[ "MIT" ]
null
null
null
// Lauro Cruz e Souza - 156175 // laurocruzsouza@gmail.com #include <vector> #include <iostream> #include <utility> #include <stdlib.h> using namespace std; int predioMinimo(vector<int> & emp, int S, int n, vector<int> & predio) { vector<vector<int> > z(n+1, vector<int>(S+1)); int d, k, novo; for (d...
23.612903
113
0.460383
laurocruz
c01a6126716a9d433265468d72ed01ea4286c530
8,277
cpp
C++
sdk/storage/src/blobs/page_blob_client.cpp
gilbertw/azure-sdk-for-cpp
692cab5651b47b6a3a9ea2b7930848451dd89d85
[ "MIT" ]
null
null
null
sdk/storage/src/blobs/page_blob_client.cpp
gilbertw/azure-sdk-for-cpp
692cab5651b47b6a3a9ea2b7930848451dd89d85
[ "MIT" ]
null
null
null
sdk/storage/src/blobs/page_blob_client.cpp
gilbertw/azure-sdk-for-cpp
692cab5651b47b6a3a9ea2b7930848451dd89d85
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include "blobs/page_blob_client.hpp" #include "common/storage_common.hpp" namespace Azure { namespace Storage { namespace Blobs { PageBlobClient PageBlobClient::CreateFromConnectionString( const std::string& connec...
42.015228
100
0.765011
gilbertw
c01c7d5e1a4936845ad452bbcb730fa8b3bee00d
2,890
cpp
C++
sources/gui.cpp
ucpu/cragsman
47c9d23c38d19350490ea1a8b76ecc1a2bca7aa2
[ "MIT" ]
null
null
null
sources/gui.cpp
ucpu/cragsman
47c9d23c38d19350490ea1a8b76ecc1a2bca7aa2
[ "MIT" ]
1
2019-01-12T21:39:11.000Z
2020-02-29T16:31:40.000Z
sources/gui.cpp
ucpu/cragsman
47c9d23c38d19350490ea1a8b76ecc1a2bca7aa2
[ "MIT" ]
null
null
null
#include "common.h" #include <cage-core/entities.h> #include <cage-core/hashString.h> #include <cage-engine/scene.h> #include <cage-engine/guiComponents.h> #include <cage-simple/engine.h> namespace { sint32 bestScore; sint32 texts[2]; bool engineUpdate() { sint32 currentScore = numeric_cast<sint32>(playerPosi...
26.513761
73
0.664706
ucpu
c02317bb9fc50f1a3f649075e94ffc04f41fea93
7,151
hh
C++
cxx/include/ora/daytime_type.hh
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
10
2018-03-03T02:02:19.000Z
2020-04-02T22:47:55.000Z
cxx/include/ora/daytime_type.hh
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
13
2018-01-28T15:20:55.000Z
2022-01-27T23:32:41.000Z
cxx/include/ora/daytime_type.hh
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
null
null
null
/* * Template daytime (time of day) class. */ #pragma once #include <cstddef> #include "ora/daytime_math.hh" #include "ora/exceptions.hh" #include "ora/types.hh" namespace ora { namespace daytime { //------------------------------------------------------------------------------ // Forward declarations //--------...
24.658621
90
0.600196
alexhsamuel
c026667452072fa666fe83793aaf0a53cab9d3f0
8,749
cc
C++
src/_MCLib/examples/trans_test.cc
asminer/smart
269747c4578b670e5c3973f93a1e6ec71d95be78
[ "Apache-2.0" ]
6
2018-05-30T23:02:14.000Z
2022-01-19T07:30:46.000Z
src/_MCLib/examples/trans_test.cc
asminer/smart
269747c4578b670e5c3973f93a1e6ec71d95be78
[ "Apache-2.0" ]
null
null
null
src/_MCLib/examples/trans_test.cc
asminer/smart
269747c4578b670e5c3973f93a1e6ec71d95be78
[ "Apache-2.0" ]
2
2018-07-13T18:53:27.000Z
2021-04-12T17:54:02.000Z
/* Tests for "steady state" computation */ #include <iostream> #include <string.h> #include "mcbuilder.h" // #define VERBOSE using namespace GraphLib; using namespace std; using namespace MCLib; // ==============================> Graph 1 <============================== /* Land of oz. */ const edge graph1[] ...
23.710027
82
0.545091
asminer
c026694409b9db2ffdd85067b7b390af97164f4d
161
cpp
C++
src/plugins/getabout.cpp
A29586a/Kirikiroid2
7871cf9b393453f4b8c8b6f0e6ac1f3c24cdcf7f
[ "BSD-3-Clause" ]
22
2020-01-14T19:19:05.000Z
2021-09-11T14:06:56.000Z
src/plugins/getabout.cpp
A29586a/Kirikiroid2
7871cf9b393453f4b8c8b6f0e6ac1f3c24cdcf7f
[ "BSD-3-Clause" ]
3
2020-06-07T16:28:26.000Z
2021-11-11T09:31:27.000Z
src/plugins/getabout.cpp
A29586a/Kirikiroid2
7871cf9b393453f4b8c8b6f0e6ac1f3c24cdcf7f
[ "BSD-3-Clause" ]
6
2020-10-11T13:36:56.000Z
2021-11-13T06:32:14.000Z
#include "ncbind/ncbind.hpp" #include "MsgIntf.h" #define NCB_MODULE_NAME TJS_W("getabout.dll") NCB_ATTACH_FUNCTION(getAboutString, System, TVPGetAboutString);
26.833333
63
0.807453
A29586a
c0267a6f7107f5f75092f8643af125bbbd84d2e0
3,401
hpp
C++
libs/oef-base/include/oef-base/conversation/IOutboundConversationCreator.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
1
2019-09-11T09:46:04.000Z
2019-09-11T09:46:04.000Z
libs/oef-base/include/oef-base/conversation/IOutboundConversationCreator.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
libs/oef-base/include/oef-base/conversation/IOutboundConversationCreator.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
1
2019-09-19T12:38:46.000Z
2019-09-19T12:38:46.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 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...
30.918182
96
0.624522
devjsc
c0279597a2524c70efd7a9f82b0413e02e462da6
193
cpp
C++
4-scope/4-1-local2.cpp
tanle8/cdope
2218cb2ece25b2d7bd47c3f06384302c300957f3
[ "MIT" ]
1
2018-04-04T13:43:28.000Z
2018-04-04T13:43:28.000Z
4-scope/4-1-local2.cpp
tanle8/cdope
2218cb2ece25b2d7bd47c3f06384302c300957f3
[ "MIT" ]
null
null
null
4-scope/4-1-local2.cpp
tanle8/cdope
2218cb2ece25b2d7bd47c3f06384302c300957f3
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void func1 () { int x = 4; cout << x << endl; } void func2 () { int x = 5; cout << x << endl; } int main () { func1(); func2(); return 0; }
8.041667
20
0.528497
tanle8
c02c24049fd6f1768e78a41e42cfbf44b08404b5
1,505
cpp
C++
Topicwise_Standards/graphs/DFS_Applications/tarjans_algorithm_scc.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
2
2018-06-26T09:52:14.000Z
2018-07-12T15:02:01.000Z
Topicwise_Standards/graphs/DFS_Applications/tarjans_algorithm_scc.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
Topicwise_Standards/graphs/DFS_Applications/tarjans_algorithm_scc.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; stack<int> st; int in_stack[100005]; void dfs_tarjan(vector<int> *G, int *visited, int *low, int *disc, int u){ static int time = 0; visited[u] = 1; disc[u] = low[u] = ++time; st.push(u); in_stack[u] = 1; //printf("%d\n", u); int sz = G[u]....
17.298851
74
0.425914
sidgairo18
c02d1c0da19434b1d6d67c1b527b55ed78327e62
3,033
hpp
C++
src/mlpack/methods/ann/layer/relu6.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4,216
2015-01-01T02:06:12.000Z
2022-03-31T19:12:06.000Z
src/mlpack/methods/ann/layer/relu6.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,621
2015-01-01T01:41:47.000Z
2022-03-31T19:01:26.000Z
src/mlpack/methods/ann/layer/relu6.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1,972
2015-01-01T23:37:13.000Z
2022-03-28T06:03:41.000Z
/** * @file methods/ann/layer/relu6.hpp * @author Aakash kaushik * * For more information, kindly refer to the following paper. * * @code * @article{Andrew G2017, * author = {Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, * Weijun Wang, Tobias Weyand, Marco Andreetto, Hartwig Adam}, * ti...
29.163462
79
0.698978
florian-rosenthal
c0370c280427bdc8ed6a720db90e11e8478d976b
5,305
cpp
C++
src/rwrappers.cpp
rhyswhitley/climvelope
7dcde9d999811f8275abf873d0bc820f45112ad8
[ "CC0-1.0" ]
null
null
null
src/rwrappers.cpp
rhyswhitley/climvelope
7dcde9d999811f8275abf873d0bc820f45112ad8
[ "CC0-1.0" ]
null
null
null
src/rwrappers.cpp
rhyswhitley/climvelope
7dcde9d999811f8275abf873d0bc820f45112ad8
[ "CC0-1.0" ]
null
null
null
#include "energy.hh" RcppExport SEXP sunshine( const SEXP r_sun ) { // Calculates the total radiation at the top of the atmosphere based on // latitude and day of the year and the consequent monthly sunshine hours. // -- used for gridded datasets NumericMatrix swr(r_sun); const int mdays[] = {31,28,31,30,...
38.722628
155
0.492366
rhyswhitley
c037cdf4e2a3f37dfcba99da3345c56a49ad63ac
3,321
cpp
C++
src/io/network/streamSocket.cpp
edave64/SeriousProton
99dff093952fe6e8d38a40b887302f97c9b9535d
[ "MIT" ]
null
null
null
src/io/network/streamSocket.cpp
edave64/SeriousProton
99dff093952fe6e8d38a40b887302f97c9b9535d
[ "MIT" ]
null
null
null
src/io/network/streamSocket.cpp
edave64/SeriousProton
99dff093952fe6e8d38a40b887302f97c9b9535d
[ "MIT" ]
null
null
null
#include <io/network/streamSocket.h> #include <logging.h> namespace sp { namespace io { namespace network { StreamSocket::~StreamSocket() { } void StreamSocket::send(const void* data, size_t size) { if (getState() != State::Connected) return; if (sendSendQueue()) { queue(data, size); ...
24.783582
145
0.604938
edave64
c038fab7eaf9c550dd87b0249e9c70431f28ff8c
1,956
cpp
C++
src/Models/Connection.cpp
BerryTrucks/beRail
ad356113f88fabd02e0e157da4bf3d9d51161c07
[ "Unlicense" ]
2
2019-10-27T12:10:07.000Z
2021-05-20T03:49:25.000Z
src/Models/Connection.cpp
BerryTrucks/beRail
ad356113f88fabd02e0e157da4bf3d9d51161c07
[ "Unlicense" ]
1
2016-05-13T13:45:03.000Z
2016-05-13T13:45:03.000Z
src/Models/Connection.cpp
BerryTrucks/beRail
ad356113f88fabd02e0e157da4bf3d9d51161c07
[ "Unlicense" ]
3
2015-09-09T05:29:55.000Z
2021-06-02T15:37:04.000Z
/* * Connection.cpp * * Created on: 16-feb.-2013 * Author: Sam Verschueren <sam.verschueren@gmail.com> */ #include <QDebug> #include "Connection.hpp" Connection::Connection(const QTime &duration, Station *departure, Station *arrival) : duration(duration), departure(departure), arrival(arrival) { } Con...
23.566265
117
0.656953
BerryTrucks
c03c1a7e89675c765b51fc6edf80187ecc2d5779
1,604
cpp
C++
examples/IPC_SAP/SPIPE_SAP/NPClient.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
16
2015-05-11T04:33:44.000Z
2022-02-15T04:28:39.000Z
examples/IPC_SAP/SPIPE_SAP/NPClient.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
null
null
null
examples/IPC_SAP/SPIPE_SAP/NPClient.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
7
2015-01-08T16:11:34.000Z
2021-07-04T16:04:40.000Z
// $Id$ #include "ace/OS_main.h" #include "ace/SPIPE_Addr.h" #include "ace/SPIPE_Connector.h" #include "ace/Log_Msg.h" #include "ace/Truncate.h" #include "ace/OS_NS_string.h" #include "ace/OS_NS_stdlib.h" #include "ace/OS_Memory.h" #if defined (ACE_WIN32) #define MAKE_PIPE_NAME(X) ACE_TEXT ("\\\\.\\pipe\\") ACE_TEX...
25.0625
70
0.552369
BeiJiaan
c03c9de682137f4d0e4f2f0368591cee1b8c807f
1,441
cpp
C++
src/cpp/strings/15_countmin.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
1
2021-02-08T14:50:50.000Z
2021-02-08T14:50:50.000Z
src/cpp/strings/15_countmin.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
src/cpp/strings/15_countmin.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
#include<iostream> #include<string.h> #include<climits> using namespace std; void minLengthWord(char input[], char output[]) { int i=0,j=0; int count=0; int minn = INT_MAX; char temp[10000]; if(strlen(input) == 0) return; while(input[i]!='\0') { if(input[i] == ' ' && c...
19.213333
48
0.344205
ajaybiswas22
c0440531f014706fcd60743427c2c68dabda8d29
2,563
cpp
C++
Searching in an Array/main.cpp
javedmirjeetu/Data-Structure-Km-hasan-sir-H-W
ed0f87fe5dfb85035c68eeeedba809808efd9cc7
[ "MIT" ]
null
null
null
Searching in an Array/main.cpp
javedmirjeetu/Data-Structure-Km-hasan-sir-H-W
ed0f87fe5dfb85035c68eeeedba809808efd9cc7
[ "MIT" ]
null
null
null
Searching in an Array/main.cpp
javedmirjeetu/Data-Structure-Km-hasan-sir-H-W
ed0f87fe5dfb85035c68eeeedba809808efd9cc7
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int linearSearch(int a[], int numberOfElements, int key) { int index = -1; for (int i = 0; i < numberOfElements; i++) if (a[i] == key) { index = i; break; } return index; } // Task 1 int countFrequency(int a[...
24.644231
72
0.546235
javedmirjeetu
c0445ff62f4bf7015fce2c575fd5992a4d4ad2f1
518
hpp
C++
Missionframework/SPEC/other_missions/fnc/script_component.hpp
Reidond/KP-Liberation
9931534e5c7c958d75086d89733d7d60090e6cf7
[ "MIT" ]
null
null
null
Missionframework/SPEC/other_missions/fnc/script_component.hpp
Reidond/KP-Liberation
9931534e5c7c958d75086d89733d7d60090e6cf7
[ "MIT" ]
3
2021-03-17T20:12:44.000Z
2021-03-17T20:30:39.000Z
Missionframework/SPEC/other_missions/fnc/script_component.hpp
Reidond/KP-Liberation
9931534e5c7c958d75086d89733d7d60090e6cf7
[ "MIT" ]
1
2021-02-24T11:19:51.000Z
2021-02-24T11:19:51.000Z
/* File: script_component.hpp Author: KP Liberation Dev Team - https://github.com/KillahPotatoes Date: 2019-06-13 Last Update: 2019-06-13 License: GNU General Public License v3.0 - https://www.gnu.org/licenses/gpl-3.0.html Description: Defines for mission module scripts */ // Mission ge...
34.533333
88
0.700772
Reidond
c045201eed090418c2ae5a9787a593609fb18f95
1,474
cpp
C++
monitor/ActionMonitor/ActionVersion.cpp
FFMG/myoddweb.piger
6c5e9dff6ab8e2e02d6990c1959450f087acf371
[ "MIT" ]
18
2016-03-04T15:44:24.000Z
2021-12-31T11:06:25.000Z
monitor/ActionMonitor/ActionVersion.cpp
FFMG/myoddweb.piger
6c5e9dff6ab8e2e02d6990c1959450f087acf371
[ "MIT" ]
49
2016-02-29T17:59:52.000Z
2019-05-05T04:59:26.000Z
monitor/ActionMonitor/ActionVersion.cpp
FFMG/myoddweb.piger
6c5e9dff6ab8e2e02d6990c1959450f087acf371
[ "MIT" ]
2
2016-07-30T10:17:12.000Z
2016-08-11T20:31:46.000Z
//This file is part of Myoddweb.Piger. // // Myoddweb.Piger is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Myo...
32.043478
155
0.729986
FFMG
c04c37bfd42829a8da0c49844aa5894eb0c519b4
6,925
cxx
C++
Common/ExecutionModel/vtkSimpleReader.cxx
DmitrySemikin/vtk-mirror
7e70ac8c84797c7603686bd9bf8030c2ad8f101f
[ "BSD-3-Clause" ]
1
2021-07-21T07:15:44.000Z
2021-07-21T07:15:44.000Z
Common/ExecutionModel/vtkSimpleReader.cxx
DmitrySemikin/vtk-mirror
7e70ac8c84797c7603686bd9bf8030c2ad8f101f
[ "BSD-3-Clause" ]
null
null
null
Common/ExecutionModel/vtkSimpleReader.cxx
DmitrySemikin/vtk-mirror
7e70ac8c84797c7603686bd9bf8030c2ad8f101f
[ "BSD-3-Clause" ]
2
2020-03-24T14:09:05.000Z
2021-09-17T09:30:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkSimpleReader.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software ...
27.923387
100
0.551625
DmitrySemikin
c0533ff718bebfd5e021730372ec6d9c5507a573
11,379
cpp
C++
Source/Features.cpp
Galenika/RedDeadRedemption2-Cheat
057f34e17de875a8a669cd2d123339613e8b718a
[ "Unlicense" ]
4
2021-05-23T03:20:19.000Z
2021-09-22T10:39:57.000Z
Source/Features.cpp
Galenika/RedDeadRedemption2-Cheat
057f34e17de875a8a669cd2d123339613e8b718a
[ "Unlicense" ]
null
null
null
Source/Features.cpp
Galenika/RedDeadRedemption2-Cheat
057f34e17de875a8a669cd2d123339613e8b718a
[ "Unlicense" ]
1
2020-10-25T00:09:56.000Z
2020-10-25T00:09:56.000Z
#include "stdafx.h" bool Cheat::CheatFeatures::AutoSaveConfigBool = true; bool Cheat::CheatFeatures::TriggerbotShootPlayersBool = false; int Cheat::CheatFeatures::OnlineSelectedPlayer; double AutoSaveConfig_startTime = GetTickCount64(); void Cheat::CheatFeatures::Loop() { //Auto Save Config - every 10 minutes doubl...
32.418803
177
0.746023
Galenika
c05633f75ddbc334272dff16497fe16dc7dc0e3e
4,051
cpp
C++
cocos2d-x-2.2/cocos2dx/platform/winrt/CCAccelerometer.cpp
centrallydecentralized/ufo
29e8f9ce4ce92635ed22f8a051c917cfe6e0313d
[ "BSD-3-Clause" ]
58
2015-01-05T04:40:48.000Z
2021-12-17T06:01:28.000Z
cocos2d-x-2.2/cocos2dx/platform/winrt/CCAccelerometer.cpp
centrallydecentralized/ufo
29e8f9ce4ce92635ed22f8a051c917cfe6e0313d
[ "BSD-3-Clause" ]
4
2021-04-29T06:20:51.000Z
2021-04-29T15:20:13.000Z
cocos2d-x-2.2/cocos2dx/platform/winrt/CCAccelerometer.cpp
centrallydecentralized/ufo
29e8f9ce4ce92635ed22f8a051c917cfe6e0313d
[ "BSD-3-Clause" ]
46
2015-01-03T06:20:54.000Z
2020-04-18T13:32:52.000Z
/**************************************************************************** Copyright (c) 2011 cocos2d-x.org http://cocos2d-x.org Copyright (c) 2012 Rocco Loscalzo (Wartortle) Copyright (c) Microsoft Open Technologies, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy ...
34.042017
89
0.670452
centrallydecentralized
c056b5b9386d48963a55b089b2cdfe48ced1acce
2,841
cpp
C++
Code/CoreLibs/Application/ShApplication.cpp
agh2OEb/ShareHouseEngine
9b83d120fee82522f9078801f27b0a54167c6207
[ "MIT" ]
3
2021-05-31T11:10:05.000Z
2021-10-19T07:55:18.000Z
Code/CoreLibs/Application/ShApplication.cpp
agh2OEb/ShareHouseEngine
9b83d120fee82522f9078801f27b0a54167c6207
[ "MIT" ]
null
null
null
Code/CoreLibs/Application/ShApplication.cpp
agh2OEb/ShareHouseEngine
9b83d120fee82522f9078801f27b0a54167c6207
[ "MIT" ]
1
2021-07-04T08:06:06.000Z
2021-07-04T08:06:06.000Z
#include "ShApplication.h" #include "Foundation/ShLog.h" SH_NAMESPACE_BEGIN Application::Settings* Application::StartUpSettings; /// <summary> /// Launcher /// </summary> void Application::PrepareLaunch() { } void Application::SetupLaunch(Settings* settings, const char* title, int32 argc, char* const argv[]) { Sta...
17.981013
100
0.703625
agh2OEb
c057e502419622312fc94c4f26e66ddf4b6bcc6b
3,890
cpp
C++
ares/sfc/controller/super-scope/super-scope.cpp
Kawa-oneechan/ares
764a881d36a5561a30d9c27d75b9ab0e4f565ea1
[ "0BSD" ]
2
2021-06-28T06:04:56.000Z
2021-06-28T11:30:20.000Z
ares/sfc/controller/super-scope/super-scope.cpp
jbo-85/ares
8a7ac00d033e9dc3ebc145b4253dd0f289c783e1
[ "0BSD" ]
null
null
null
ares/sfc/controller/super-scope/super-scope.cpp
jbo-85/ares
8a7ac00d033e9dc3ebc145b4253dd0f289c783e1
[ "0BSD" ]
1
2021-06-28T06:05:04.000Z
2021-06-28T06:05:04.000Z
//The Super Scope is a light-gun: it detects the CRT beam cannon position, //and latches the counters by toggling iobit. This only works on controller //port 2, as iobit there is connected to the PPU H/V counter latch. //(PIO $4201.d7) //It is obviously not possible to perfectly simulate an IR light detecting //a CRT ...
29.923077
85
0.633676
Kawa-oneechan
c057f30ad75c4ccda7e540190209cef7f5911058
8,473
cpp
C++
elevation_mapping/src/sensor_processors/SensorProcessorBase.cpp
WangGY-Pro/elevation_mapping
e5f9b88434c829184de580e0c82afa077e17be5d
[ "BSD-3-Clause" ]
null
null
null
elevation_mapping/src/sensor_processors/SensorProcessorBase.cpp
WangGY-Pro/elevation_mapping
e5f9b88434c829184de580e0c82afa077e17be5d
[ "BSD-3-Clause" ]
null
null
null
elevation_mapping/src/sensor_processors/SensorProcessorBase.cpp
WangGY-Pro/elevation_mapping
e5f9b88434c829184de580e0c82afa077e17be5d
[ "BSD-3-Clause" ]
3
2016-09-18T12:31:34.000Z
2018-07-05T10:32:26.000Z
/* * SensorProcessorBase.cpp * * Created on: Jun 6, 2014 * Author: Péter Fankhauser, Hannes Keller * Institute: ETH Zurich, ANYbotics */ #include <elevation_mapping/sensor_processors/SensorProcessorBase.hpp> // PCL #include <pcl/common/io.h> #include <pcl/common/transforms.h> #include <pcl/filters/extra...
42.154229
134
0.75062
WangGY-Pro
c05a532ea8b66a47f2c6d7c24c62d781c1616293
750
cpp
C++
Class 11 - different sorting algorithms, greedy and ad-hoc problems/insertion sort.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
4
2020-07-10T06:37:52.000Z
2022-01-03T17:14:21.000Z
Class 11 - different sorting algorithms, greedy and ad-hoc problems/insertion sort.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
null
null
null
Class 11 - different sorting algorithms, greedy and ad-hoc problems/insertion sort.cpp
pioneerAlpha/CP_Beginner_B1
fd743b956188e927ac999e108df2f081d4f5fcb2
[ "Apache-2.0" ]
4
2020-11-23T16:58:45.000Z
2021-01-06T20:20:57.000Z
#include<bits/stdc++.h> #define ll long long #define N ((int)2e6 + 5) #define MOD ((int)1e9 + 7) using namespace std; void insertion(int arr[],int l,int r) { /// 1 2 3 3 4 3 5 /// 1 2 3 4 5 6 7 (position) for(int i = l ; i<=r ; i++){ int tmp = arr[i]; /// tmp = 3 for(int j = i-1 ; j>0 ; j--)...
16.304348
37
0.393333
pioneerAlpha
c05f0dcbc0a0156dc6cdc69f5b09ac72cb74343a
1,532
hpp
C++
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/JSONParseResult.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
5
2021-05-27T21:50:33.000Z
2022-01-28T11:54:32.000Z
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/JSONParseResult.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
null
null
null
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/JSONParseResult.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
1
2021-01-04T21:12:05.000Z
2021-01-04T21:12:05.000Z
#ifndef GODOT_CPP_JSONPARSERESULT_HPP #define GODOT_CPP_JSONPARSERESULT_HPP #include <gdnative_api_struct.gen.h> #include <stdint.h> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include "Reference.hpp" namespace godot { class JSONParseResult : public Reference { struct ___method_bindings { godot_meth...
26.877193
245
0.787859
jerry871002
c062ae66dc0a96f851943ceb0731f06b602885a0
4,104
cpp
C++
tests/TestBasics.cpp
a1sabau/bloomstream
9195e3dea4bc7321a9dbf7a968d9c66285e38f7a
[ "MIT" ]
null
null
null
tests/TestBasics.cpp
a1sabau/bloomstream
9195e3dea4bc7321a9dbf7a968d9c66285e38f7a
[ "MIT" ]
null
null
null
tests/TestBasics.cpp
a1sabau/bloomstream
9195e3dea4bc7321a9dbf7a968d9c66285e38f7a
[ "MIT" ]
1
2020-01-08T00:38:28.000Z
2020-01-08T00:38:28.000Z
#define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include "Grid.hpp" #include "SketchUtils.hpp" #include "CountMinSketch.hpp" BOOST_AUTO_TEST_CASE( GridTest_PositiveDimRanges ) { float gridSize = 0.2; Grid* grid = new Grid(gridSize); std::vector<double> point = { 0.1, 0.1 }; std::vector<int> coor...
34.487395
84
0.692982
a1sabau
c064f86694152ca0813fa72f71c5f83ddc148c7c
553
hpp
C++
hiro/cocoa/widget/radio-label.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
hiro/cocoa/widget/radio-label.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
hiro/cocoa/widget/radio-label.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
#if defined(Hiro_RadioLabel) @interface CocoaRadioLabel : NSButton { @public hiro::mRadioLabel* radioLabel; } -(id) initWith:(hiro::mRadioLabel&)radioLabel; -(IBAction) activate:(id)sender; @end namespace hiro { struct pRadioLabel : pWidget { Declare(RadioLabel, Widget) auto minimumSize() const -> Size overri...
19.75
55
0.725136
CasualPokePlayer
c0666c0c8fc51b6075938c77b7b8e5563335cf67
876
cpp
C++
Chapter0/0_7.cpp
GeertArien/c-accelerated
c0ae9f66b1733de04f3133db2e9d8af6d555fe6e
[ "MIT" ]
27
2019-03-12T02:24:43.000Z
2022-02-18T22:49:00.000Z
Chapter0/0_7.cpp
GeertArien/C-Accelerated
c0ae9f66b1733de04f3133db2e9d8af6d555fe6e
[ "MIT" ]
1
2020-06-24T18:34:45.000Z
2020-06-28T12:55:05.000Z
Chapter0/0_7.cpp
GeertArien/c-accelerated
c0ae9f66b1733de04f3133db2e9d8af6d555fe6e
[ "MIT" ]
12
2019-04-22T03:49:19.000Z
2021-08-31T17:39:35.000Z
/** Accelerated C++, Exercise 0-7, 0_7.cpp What about this one? #include <iostream> int main() { /* This is a comment that extends over several lines because it uses /* and *(/) as its starting and ending delimiters * / std::cout << "Does this work?" << std::endl; r...
22.461538
79
0.592466
GeertArien
c072ec0df4995deb95e16569762c7ec645962d2e
1,048
hpp
C++
abcd/WalletPaths.hpp
Airbitz/airbitz-core-private
dc6742a5622f6d8bae750e60fcee3bb473bc67ce
[ "BSD-2-Clause-FreeBSD" ]
1
2021-05-28T02:52:00.000Z
2021-05-28T02:52:00.000Z
abcd/WalletPaths.hpp
Airbitz/airbitz-core-private
dc6742a5622f6d8bae750e60fcee3bb473bc67ce
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
abcd/WalletPaths.hpp
Airbitz/airbitz-core-private
dc6742a5622f6d8bae750e60fcee3bb473bc67ce
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* * Copyright (c) 2016, AirBitz, Inc. * All rights reserved. * * See the LICENSE file for more information. */ #ifndef ABCD_WALLET_PATHS_HPP #define ABCD_WALLET_PATHS_HPP #include "util/Status.hpp" #include <list> namespace abcd { /** * Knows how to calculate paths within a wallet directory. */ class Wall...
24.372093
76
0.663168
Airbitz
c074df8706e852cf2d1242656470121bb2906053
2,028
cpp
C++
app/src/main/cpp/sample_jni.cpp
nb7123/GvrSample
c1283f70a2b9d353185c7d40efa234fad14335b4
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/sample_jni.cpp
nb7123/GvrSample
c1283f70a2b9d353185c7d40efa234fad14335b4
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/sample_jni.cpp
nb7123/GvrSample
c1283f70a2b9d353185c7d40efa234fad14335b4
[ "Apache-2.0" ]
null
null
null
// // Created by michael on 17-4-17. // #include <jni.h> #include <android/asset_manager_jni.h> #include "gl/GLHelper.h" #include "Renderer.h" static Renderer *renderer; extern "C" { JNIEXPORT void JNICALL Java_com_example_michael_gvrsamples_renderer_NativeRenderer_nativeOnSurfaceCreated(JNIEnv *env, ...
33.8
102
0.560651
nb7123
c07e9b420345b9cdaae23cdb61040ccb47a610d2
530
hpp
C++
IcarusDetector/Modules/CRCTool.hpp
RoboPioneers/ProjectIcarus
85328c0206d77617fe7fbb81b2ca0cda805de849
[ "MIT" ]
1
2021-10-05T03:43:57.000Z
2021-10-05T03:43:57.000Z
SignalSender/CRCTool.hpp
RoboPioneers/ProjectIcarus
85328c0206d77617fe7fbb81b2ca0cda805de849
[ "MIT" ]
null
null
null
SignalSender/CRCTool.hpp
RoboPioneers/ProjectIcarus
85328c0206d77617fe7fbb81b2ca0cda805de849
[ "MIT" ]
null
null
null
#pragma once #include <array> namespace Gaia::Modules { class CRCTool { public: static std::array<unsigned char, 256> CRC8Table; static std::array<unsigned short, 256> CRC16Table; static unsigned char GetCRC8(unsigned char* data, unsigned int length, ...
26.5
80
0.590566
RoboPioneers
c080eee8961259061b01ebe9a644b37abaca5a81
2,016
cpp
C++
Windows/Lab9/D03/E03A.cpp
lucagiommoni/System-And-Device-Programming
f8c7c2b85167fe735211fedebe55c787165c6c9e
[ "MIT" ]
null
null
null
Windows/Lab9/D03/E03A.cpp
lucagiommoni/System-And-Device-Programming
f8c7c2b85167fe735211fedebe55c787165c6c9e
[ "MIT" ]
null
null
null
Windows/Lab9/D03/E03A.cpp
lucagiommoni/System-And-Device-Programming
f8c7c2b85167fe735211fedebe55c787165c6c9e
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_WARNINGS #define _CRT_NON_CONFORMING_SWPRINTFS #include <windows.h> #include <tchar.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #ifndef UNICODE #define UNICODE #define _UNICODE #endif #include "conio.h" #define TYPE_FILE 1 #define TYPE_DIR 2 #de...
21.446809
81
0.703869
lucagiommoni
c08174726625dbd52db9c045109b81e161428126
811
hpp
C++
reader/src/tab/tab.hpp
alanwoolley/ThemeParkReader
d687ce404d6213392a7d6e10aa072d4b89f66af0
[ "MIT" ]
1
2018-05-14T11:18:33.000Z
2018-05-14T11:18:33.000Z
reader/src/tab/tab.hpp
alanwoolley/ThemeParkReader
d687ce404d6213392a7d6e10aa072d4b89f66af0
[ "MIT" ]
null
null
null
reader/src/tab/tab.hpp
alanwoolley/ThemeParkReader
d687ce404d6213392a7d6e10aa072d4b89f66af0
[ "MIT" ]
null
null
null
#ifndef TAB_H_ #define TAB_H_ #include <vector> #include <string> namespace reader { template <class T> class Tab { public: Tab(std::vector<T>& e) : entries_(e) {} const std::vector<T> & entries() { return entries_; }; private: const std::vector<T> entries_; }; typedef struct { uint32_t dataoffset; ...
18.022222
58
0.729963
alanwoolley
c083481ee56d1ef604554f9e9fbb2cbc23fb4555
49,906
cpp
C++
lib/src/EBTools/_higher_order_eb/EBData.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
10
2018-02-01T20:57:36.000Z
2022-03-17T02:57:49.000Z
lib/src/EBTools/_higher_order_eb/EBData.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
19
2018-10-04T21:37:18.000Z
2022-02-25T16:20:11.000Z
lib/src/EBTools/_higher_order_eb/EBData.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
11
2019-01-12T23:33:32.000Z
2021-08-09T15:19:50.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif // ANAG, LBNL #include <cmath> #include "EBData.H" #include "VoFIterator.H...
31.807521
150
0.593235
rmrsk
c0875e61865326bb5364c86257051f6e300ed0ce
241
cpp
C++
lua_call_cppclass/Student.cpp
lizhenghn123/lua_study
8421d583523cdcbe63d093301329b63aad722ef7
[ "MIT" ]
2
2019-01-15T07:00:54.000Z
2019-11-27T09:28:56.000Z
lua_call_cppclass/Student.cpp
lizhenghn123/lua_study
8421d583523cdcbe63d093301329b63aad722ef7
[ "MIT" ]
null
null
null
lua_call_cppclass/Student.cpp
lizhenghn123/lua_study
8421d583523cdcbe63d093301329b63aad722ef7
[ "MIT" ]
3
2019-01-14T15:18:02.000Z
2021-02-01T09:49:29.000Z
#include "Student.h" #include <stdio.h> Student::Student() { printf("Student ctor\n"); } Student::~Student() { printf("Student dtor\n"); } void Student::print() { printf("student name = %s, age = %d\n", name_.c_str(), age_); }
14.176471
65
0.60166
lizhenghn123
c089ef42b7de4d3758d322b3c05caf501399ee68
767
cc
C++
POJ/1442_Black Box/1442.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
1
2019-05-05T03:51:20.000Z
2019-05-05T03:51:20.000Z
POJ/1442_Black Box/1442.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
null
null
null
POJ/1442_Black Box/1442.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include <vector> using namespace std; int num[30001]; int main() { cin.tie(0); ios::sync_with_stdio(false); priority_queue<int, vector<int>, less<int> > maxHeap; priority_queue<int, vector<int>, greater<int> > minHeap; int m, n; cin >> m >> n; ...
18.261905
60
0.477184
pdszhh
c08a222c1bd26b4cb06488da7365b398e84808bf
1,712
cpp
C++
src/core/conjugate_gradient.cpp
ngrigorieff/cisTEM_downstream_ng
8cf890cc5d8d9eec874e9d7897da51ed0419251c
[ "BSD-3-Clause" ]
7
2020-09-09T10:59:59.000Z
2020-11-19T15:26:53.000Z
src/core/conjugate_gradient.cpp
ngrigorieff/cisTEM_downstream_ng
8cf890cc5d8d9eec874e9d7897da51ed0419251c
[ "BSD-3-Clause" ]
85
2020-09-11T15:07:02.000Z
2021-02-08T20:38:13.000Z
src/core/conjugate_gradient.cpp
ngrigorieff/cisTEM_downstream_ng
8cf890cc5d8d9eec874e9d7897da51ed0419251c
[ "BSD-3-Clause" ]
6
2021-03-26T13:04:10.000Z
2021-11-18T19:28:16.000Z
#include "core_headers.h" ConjugateGradient::ConjugateGradient() { is_in_memory = false; n = 0; num_function_calls = 0; best_values = NULL; e = NULL; escale = 0; best_score = std::numeric_limits<float>::max(); target_function = NULL; parameters = NULL; } ConjugateGradient::~ConjugateGradient() { if (is_in_m...
21.948718
170
0.719042
ngrigorieff
c08b5e107efa1eef353a40ca9d8ceefbce826cf2
955
hpp
C++
include/sim0mqpp/array.hpp
riebl/sim0mqpp
d888777db7fa76b6d624d1d161038ccc278192ab
[ "BSD-3-Clause" ]
null
null
null
include/sim0mqpp/array.hpp
riebl/sim0mqpp
d888777db7fa76b6d624d1d161038ccc278192ab
[ "BSD-3-Clause" ]
null
null
null
include/sim0mqpp/array.hpp
riebl/sim0mqpp
d888777db7fa76b6d624d1d161038ccc278192ab
[ "BSD-3-Clause" ]
2
2020-04-17T15:11:04.000Z
2021-11-15T10:22:24.000Z
#pragma once #include "field_type.hpp" #include "serialization.hpp" #include <iterator> #include <type_traits> namespace sim0mqpp { template<typename T> void serialize(SerializationOutput& out, T begin, T end) { out.write(get_field_type<typename std::iterator_traits<T>::value_type>::value); out.write(static_...
24.487179
109
0.668063
riebl
c08b5e21567cb7484b91540d92dfae7308ad50c9
3,668
hpp
C++
python/iboost/src/InitModule.hpp
mrpPhys/Isis
0322a660e75f13605b0e6fc9688b0ca99b72999d
[ "MIT" ]
null
null
null
python/iboost/src/InitModule.hpp
mrpPhys/Isis
0322a660e75f13605b0e6fc9688b0ca99b72999d
[ "MIT" ]
null
null
null
python/iboost/src/InitModule.hpp
mrpPhys/Isis
0322a660e75f13605b0e6fc9688b0ca99b72999d
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // // Python wrappers // // ----------------------------------------------------------------------- // // AUTHOR: Miguel Ramos Pernas // e-mail: miguel.ramos.pernas@cern.ch // // Last update: 20/09/2017 // // --------------------------------...
26.970588
76
0.584242
mrpPhys
c08bbe6a0a561058bba8439b57f106ff099048a4
3,460
hpp
C++
src/Evolution/Systems/Cce/Actions/UpdateGauge.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Evolution/Systems/Cce/Actions/UpdateGauge.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Evolution/Systems/Cce/Actions/UpdateGauge.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <cstddef> #include <tuple> #include <utility> #include "DataStructures/DataBox/DataBox.hpp" #include "Evolution/Systems/Cce/GaugeTransformBoundaryData.hpp" #include "Evolution/Systems/Cce/OptionTags.hpp" #include "Parallel/Gl...
41.190476
80
0.716763
nilsvu
c08efdc40a0fc8b724f529ed049b0077faa3d7d6
1,215
cpp
C++
src/Game/zNPCGoalDuplotron.cpp
stravant/bfbbdecomp
2126be355a6bb8171b850f829c1f2731c8b5de08
[ "OLDAP-2.7" ]
1
2021-01-05T11:28:55.000Z
2021-01-05T11:28:55.000Z
src/Game/zNPCGoalDuplotron.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
null
null
null
src/Game/zNPCGoalDuplotron.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
1
2022-03-30T15:15:08.000Z
2022-03-30T15:15:08.000Z
#include "zNPCGoalDuplotron.h" #include <types.h> // func_80129FB4 #pragma GLOBAL_ASM("asm/Game/zNPCGoalDuplotron.s", "GOALCreate_Duplotron__FiP10RyzMemGrowPv") // func_8012A060 #pragma GLOBAL_ASM("asm/Game/zNPCGoalDuplotron.s", "Enter__17zNPCGoalDuploLiveFfPv") // func_8012A090 #pragma GLOBAL_ASM("asm/Game/zNPCGoa...
34.714286
100
0.776132
stravant
c0904f3c0b51643484a23064df7d6c0c44b133ce
4,773
cpp
C++
Robocup/Thread/Mutex/Mutex.cpp
MaximV88/RoboCup
7066f3f1370145cf0a7bad06a7774716cb0b4573
[ "MIT" ]
null
null
null
Robocup/Thread/Mutex/Mutex.cpp
MaximV88/RoboCup
7066f3f1370145cf0a7bad06a7774716cb0b4573
[ "MIT" ]
null
null
null
Robocup/Thread/Mutex/Mutex.cpp
MaximV88/RoboCup
7066f3f1370145cf0a7bad06a7774716cb0b4573
[ "MIT" ]
null
null
null
/************************************************************ * Student Name: Maxim Vainshtein * * Exercise Name: Ex3 * * File description: Implementation of Mutex Class * ***********************************************************/ #include...
44.607477
97
0.327257
MaximV88
6a561d28a6650b914e40b310be5c29df6ca67286
5,365
cpp
C++
src/cpp/Framework/Managers/Graphics Manager/Toolkit/DirectX 12/Light.cpp
MeepSplize/Uniquis-Framework
1ab8049fdbe1c9dfa2676ce6380940bfb0e1dff6
[ "BSD-3-Clause" ]
null
null
null
src/cpp/Framework/Managers/Graphics Manager/Toolkit/DirectX 12/Light.cpp
MeepSplize/Uniquis-Framework
1ab8049fdbe1c9dfa2676ce6380940bfb0e1dff6
[ "BSD-3-Clause" ]
null
null
null
src/cpp/Framework/Managers/Graphics Manager/Toolkit/DirectX 12/Light.cpp
MeepSplize/Uniquis-Framework
1ab8049fdbe1c9dfa2676ce6380940bfb0e1dff6
[ "BSD-3-Clause" ]
null
null
null
#include "pch.h" #include "Framework\\Managers\\Graphics Manager\\Toolkit\\DirectX 12\\Light.h" Uniquis::DirectX12::Light<Uniquis::DirectX12::LightType::Ambient>::Light(const float intensity, const float color[3]...
42.244094
144
0.506803
MeepSplize
6a56c1e5f08bd95b31e6dc492b8c9da34cc642f8
1,385
cpp
C++
unit-tests/func/presets/regular/mode-change/test-values.cpp
rocket-kaya/librealsense
4663fe85b5177b5ac19834f115400fb1d5368e14
[ "Apache-2.0" ]
1
2021-06-24T13:44:22.000Z
2021-06-24T13:44:22.000Z
unit-tests/func/presets/regular/mode-change/test-values.cpp
rocket-kaya/librealsense
4663fe85b5177b5ac19834f115400fb1d5368e14
[ "Apache-2.0" ]
1
2021-07-07T08:10:40.000Z
2021-07-07T08:10:40.000Z
unit-tests/func/presets/regular/mode-change/test-values.cpp
Dancho80/librealsense
40b4abb6fb8d830fe4f8219df64a3f5bbb6fb6cf
[ "Apache-2.0" ]
2
2021-01-25T01:18:47.000Z
2021-03-18T06:44:07.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2020 Intel Corporation. All Rights Reserved. //#cmake: static! //#test:device L500* #include "../../../func-common.h" #include "../../presets-common.h" #include <l500/l500-options.h> using namespace rs2; // This test checks that after chang...
35.512821
96
0.747292
rocket-kaya
6a5725b0e543f45e3b908a13a5f88a5cd93940b7
4,626
cpp
C++
source/tests/LinkedListTests/ConstructorTest.cpp
BrayonCrayon/LinkedList
bfcb9ec053dc10a0a9f8dd04b81e50deac3f3d40
[ "MIT" ]
null
null
null
source/tests/LinkedListTests/ConstructorTest.cpp
BrayonCrayon/LinkedList
bfcb9ec053dc10a0a9f8dd04b81e50deac3f3d40
[ "MIT" ]
null
null
null
source/tests/LinkedListTests/ConstructorTest.cpp
BrayonCrayon/LinkedList
bfcb9ec053dc10a0a9f8dd04b81e50deac3f3d40
[ "MIT" ]
null
null
null
// // Created by Brayon on 2020-11-11. // TEST(ConstructorTest, TestDefaultConstructor) { EXPECT_NO_THROW(LinkedList<int> list); LinkedList<int> list; ASSERT_EQ(nullptr, list.head().get()); ASSERT_EQ(0, list.size()); } TEST(ConstructorTest, TestOneArgConstructor) { EXPECT_NO_THROW(LinkedList<int> ...
29.09434
76
0.613273
BrayonCrayon
6a5b20918cd348a5eeda82701c6bb148c8903385
5,396
cpp
C++
SupergodCore/Math/Matrices/Matrix2x2.cpp
OrAviram/Supergod-Engine
554759486872620a812c742e1a6124def136cd6e
[ "Apache-2.0" ]
1
2017-09-07T16:20:22.000Z
2017-09-07T16:20:22.000Z
SupergodCore/Math/Matrices/Matrix2x2.cpp
OrAviram/Supergod-Engine
554759486872620a812c742e1a6124def136cd6e
[ "Apache-2.0" ]
1
2017-09-24T15:13:49.000Z
2017-09-24T15:29:51.000Z
SupergodCore/Math/Matrices/Matrix2x2.cpp
OrAviram/Supergod-Engine
554759486872620a812c742e1a6124def136cd6e
[ "Apache-2.0" ]
null
null
null
#include "Matrix2x2.h" #include "Matrix3x3.h" #include "../Angle.h" namespace SupergodCore { namespace Math { Matrix2x2::Matrix2x2() : r0c0(0), r0c1(0), r1c0(0), r1c1(0) { } Matrix2x2::Matrix2x2(float r0c0, float r0c1, float r1c0, float r1c1) : r0c0(r0c0), r0c1(r0c1), r1c0(r1c0), r1c1(r1c1) { } Matrix2x2:...
21.160784
104
0.674944
OrAviram
6a5d523a23f5e6abcdcb3f1ec3fb32c48b758394
6,467
cc
C++
src/sdk/test/global_txn_testutils.cc
cuisonghui/tera
99a3f16de13dd454a64d64e938fcfeb030674d5f
[ "Apache-2.0", "BSD-3-Clause" ]
2,003
2015-07-13T08:36:45.000Z
2022-03-26T02:10:07.000Z
src/sdk/test/global_txn_testutils.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
981
2015-07-14T00:03:24.000Z
2021-05-10T09:50:01.000Z
src/sdk/test/global_txn_testutils.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
461
2015-07-14T02:53:35.000Z
2022-03-10T10:31:49.000Z
// Copyright (c) 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. #include <gflags/gflags.h> #include <glog/logging.h> #include "common/base/string_ext.h" #include "common/this_thread.h" #include "sdk/test/global_txn_testu...
37.166667
100
0.652389
cuisonghui
6a60a1efa211f3377a6ad8f6f0044309e9734e28
1,317
cpp
C++
lib/graph/tree/binaryLifting.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
null
null
null
lib/graph/tree/binaryLifting.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
null
null
null
lib/graph/tree/binaryLifting.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
1
2021-09-03T16:52:21.000Z
2021-09-03T16:52:21.000Z
#include <bits/stdc++.h> #define pb push_back using namespace std; const int maxN = 2e5 + 5; int n; vector<int> adj[maxN]; int dfsCnt; int in[maxN], out[maxN]; int jump[maxN][22]; int h[maxN]; void dfs(int u, int p) { in[u] = dfsCnt++; jump[u][0] = p; for(int i = 1; i < 20; i++) jump[u][i] = jump[jump[u...
15.494118
71
0.482916
howdepressingitistoloveyou
6a64450f5556d64009a73f21034f39d851ed8c17
537
cxx
C++
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmEnableTestingCommand.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
2
2019-02-08T08:45:27.000Z
2020-09-07T05:55:18.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmEnableTestingCommand.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmEnableTestingCommand.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
1
2021-11-03T12:55:47.000Z
2021-11-03T12:55:47.000Z
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmEnableTestingCommand.h" #include "cmMakefile.h" class cmExecutionStatus; // we do this in the final pass so that we now the subdirs have all // been defined ...
31.588235
77
0.702048
duonglvtnaist
6a645757e6d4400a93154e650705725a024f2131
5,291
cpp
C++
Blocks/Core/WorldFileHandler.cpp
swr06/Block
5eca9caa18ba7c296955d6a718f3f9311c3a0351
[ "MIT" ]
8
2020-11-18T12:04:32.000Z
2021-07-15T08:19:42.000Z
Blocks/Core/WorldFileHandler.cpp
swr06/Block
5eca9caa18ba7c296955d6a718f3f9311c3a0351
[ "MIT" ]
null
null
null
Blocks/Core/WorldFileHandler.cpp
swr06/Block
5eca9caa18ba7c296955d6a718f3f9311c3a0351
[ "MIT" ]
2
2021-03-27T15:26:39.000Z
2021-06-06T16:57:15.000Z
#include "WorldFileHandler.h" #include <sstream> #include <filesystem> #include "Application/Logger.h" #define _CRT_SECURE_NO_WARNINGS extern bool _WORLD_GEN_TYPE; namespace Blocks { static std::string save_dir = "Saves/"; static World* load_world = nullptr; void ExtendString(std::string& str, int ex_amt, std:...
24.382488
107
0.651484
swr06
6a6b5bb0abf14c24b0e82a6566480a8c6f588aba
7,701
cpp
C++
Modules/Segmentation/Interactions/mitkOtsuTool3D.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Modules/Segmentation/Interactions/mitkOtsuTool3D.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Modules/Segmentation/Interactions/mitkOtsuTool3D.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
33.776316
116
0.749643
rfloca
6a6dce59f6038c15810b9477fc52014b196150d3
5,095
hpp
C++
math/convolution.hpp
fumiphys/programming_contest
b9466e646045e1c64571af2a1e64813908e70841
[ "MIT" ]
7
2019-04-30T14:25:40.000Z
2020-12-19T17:38:11.000Z
math/convolution.hpp
fumiphys/programming_contest
b9466e646045e1c64571af2a1e64813908e70841
[ "MIT" ]
46
2018-09-19T16:42:09.000Z
2020-05-07T09:05:08.000Z
math/convolution.hpp
fumiphys/programming_contest
b9466e646045e1c64571af2a1e64813908e70841
[ "MIT" ]
null
null
null
/* * Library for Convolution */ #ifndef _CONVOLUTION_H_ #define _CONVOLUTION_H_ #include <complex> #include <vector> #include "power.hpp" #include "algebra.hpp" using namespace std; // begin library fft here // usage of this library: fft(f); const long double m_pi = acosl(-1.); template <typename T> struct custom_c...
24.73301
101
0.528361
fumiphys
6a6dd101d4ea5f228add2e6a3e265d23db3dcce0
619
hpp
C++
include/ebiten/graphics/detail/opengl/macosx_opengl_initializer.hpp
hajimehoshi/ebiten-suspended
36337fe80870053dcdb582e7e92e050cbaaff8b6
[ "MIT" ]
1
2020-09-22T00:56:51.000Z
2020-09-22T00:56:51.000Z
include/ebiten/graphics/detail/opengl/macosx_opengl_initializer.hpp
hajimehoshi/ebiten-suspended
36337fe80870053dcdb582e7e92e050cbaaff8b6
[ "MIT" ]
null
null
null
include/ebiten/graphics/detail/opengl/macosx_opengl_initializer.hpp
hajimehoshi/ebiten-suspended
36337fe80870053dcdb582e7e92e050cbaaff8b6
[ "MIT" ]
null
null
null
#ifndef EBITEN_GRAPHICS_DETAIL_OPENGL_MACOSX_OPENGL_INITIALIZER_HPP #define EBITEN_GRAPHICS_DETAIL_OPENGL_MACOSX_OPENGL_INITIALIZER_HPP #include "ebiten/graphics/native_view.hpp" #include "ebiten/noncopyable.hpp" #include <functional> namespace ebiten { namespace graphics { namespace detail { class opengl_initialize...
20.633333
67
0.79483
hajimehoshi
6a6e2fbf1af426ee22fe07653580787570d418bd
1,456
cpp
C++
Old/wv_Plugin/WVDecoderPlugin.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
3
2022-01-05T08:47:51.000Z
2022-01-06T12:42:18.000Z
Old/wv_Plugin/WVDecoderPlugin.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
null
null
null
Old/wv_Plugin/WVDecoderPlugin.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
1
2022-01-06T16:12:58.000Z
2022-01-06T16:12:58.000Z
#include "StdAfx.h" #include "wvdecoderplugin.h" #include "WVDecoder.h" CWVDecoderPlugin::CWVDecoderPlugin(void) { } CWVDecoderPlugin::~CWVDecoderPlugin(void) { } void CWVDecoderPlugin::Destroy(void) { delete this; } void CWVDecoderPlugin::SetHelper(IAudioSourceHelper * pHelper) { } LPTSTR CWVDecoderPlugin:...
17.333333
126
0.723901
Harteex
6a72f7f4d63993411d0ccafa1f13d2d225435b0d
25,415
hpp
C++
bsengine/src/bstorm/node.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/node.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/node.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <memory> #include <unordered_map> #include <cstdint> namespace bstorm { struct NodeNum; struct NodeChar; struct NodeStr; struct NodeArray; struct NodeNeg; struct NodeNot; struct NodeAbs; struct NodeAdd; struct NodeSub; struct NodeMul; struct NodeDiv; struct N...
33.396846
250
0.685776
At-sushi
6a73c77c2b66cfc26865a013655d978265d272c9
132
cpp
C++
deprecated_examples/motor/hal.cpp
SlimTim10/arduino-props
7c60db028905bd0bd83d2324530197ab4d14ee00
[ "MIT" ]
1
2020-05-17T22:43:55.000Z
2020-05-17T22:43:55.000Z
deprecated_examples/motor/hal.cpp
SlimTim10/ArduinoProps
7c60db028905bd0bd83d2324530197ab4d14ee00
[ "MIT" ]
null
null
null
deprecated_examples/motor/hal.cpp
SlimTim10/ArduinoProps
7c60db028905bd0bd83d2324530197ab4d14ee00
[ "MIT" ]
null
null
null
#include "hal.h" #include <Arduino.h> void initializeHAL(void) { pinMode(MOTOR_RELAY, OUTPUT); digitalWrite(MOTOR_RELAY, LOW); }
16.5
32
0.734848
SlimTim10
6a7be252856235e346041b7b09c16788e077c361
2,019
hpp
C++
include/spl/effects.hpp
momokrono/spl
36c2e2ceb6c0d51a57423e5422054aae09c58f83
[ "MIT" ]
5
2020-04-25T15:42:31.000Z
2022-03-31T09:11:45.000Z
include/spl/effects.hpp
momokrono/spl
36c2e2ceb6c0d51a57423e5422054aae09c58f83
[ "MIT" ]
6
2020-04-24T17:09:22.000Z
2020-07-31T13:43:09.000Z
include/spl/effects.hpp
momokrono/spl
36c2e2ceb6c0d51a57423e5422054aae09c58f83
[ "MIT" ]
null
null
null
/** * @author : rbrugo, momokrono * @file : effects.hpp * @created : Monday May 4, 2021 23:33:07 CEST * @license : MIT */ #ifndef EFFECTS_HPP #define EFFECTS_HPP #include <algorithm> #include "spl/viewport.hpp" #include "spl/image.hpp" namespace spl::graphics { // blur // bloom // grayscale...
24.621951
91
0.668153
momokrono
6a7c54bc587e4766d7a9b1bbc629a06d22116859
342
cpp
C++
Chapter10/dial/Dial.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
4
2020-03-11T13:38:25.000Z
2021-12-25T00:48:53.000Z
Chapter10/dial/Dial.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
null
null
null
Chapter10/dial/Dial.cpp
valeriyvan/LinuxProgrammingWithRaspberryPi
7c57afcf2cbfc8e0486c78aa75b361fd712a136f
[ "MIT" ]
8
2020-07-10T22:02:05.000Z
2021-12-15T02:11:44.000Z
#include <QApplication> #include <QDial> int main(int argc, char **argv) { QApplication app(argc, argv); QDial *dl = new QDial(); /* 다이얼 객체 생성 */ dl->setNotchesVisible(true); /* 노치 표시 설정 */ dl->setNotchTarget(10); /* 노치 타겟 설정 */ dl->setWrapping(true); /* 원형 순환 설정 */ dl->show(); ...
21.375
47
0.564327
valeriyvan
6a7f387626fe96d19ceff30d660f0294aef736df
2,869
hpp
C++
control/mpc_follower/include/mpc_follower/vehicle_model/vehicle_model_interface.hpp
KevinXie86/AutowareArchitectureProposal.iv
28c8c367652bcc5c2548abdab732e0fea7302653
[ "Apache-2.0" ]
88
2021-01-16T20:05:40.000Z
2022-03-21T05:40:35.000Z
control/mpc_follower/include/mpc_follower/vehicle_model/vehicle_model_interface.hpp
KevinXie86/AutowareArchitectureProposal.iv
28c8c367652bcc5c2548abdab732e0fea7302653
[ "Apache-2.0" ]
271
2021-01-13T16:54:09.000Z
2022-02-25T16:26:07.000Z
control/mpc_follower/include/mpc_follower/vehicle_model/vehicle_model_interface.hpp
KevinXie86/AutowareArchitectureProposal.iv
28c8c367652bcc5c2548abdab732e0fea7302653
[ "Apache-2.0" ]
68
2021-01-14T09:16:40.000Z
2022-03-29T02:15:36.000Z
// Copyright 2018-2019 Autoware Foundation // // 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 ...
28.127451
91
0.691182
KevinXie86
6a879b8adbf9e5fe98dcc483492cc7dc242028ba
101
hpp
C++
test/type_lists.hpp
ChasingCarrots/vmath
06cc93e0d3d152306dbd63b60fa7cc4761f331bb
[ "MIT" ]
1
2018-09-15T13:56:26.000Z
2018-09-15T13:56:26.000Z
test/type_lists.hpp
kernan/math
6c28e7e731a2ea47a7b66b5dd4170283e84f1e02
[ "MIT" ]
7
2016-07-05T19:11:09.000Z
2017-05-08T21:19:58.000Z
test/type_lists.hpp
kernan/vmath
6c28e7e731a2ea47a7b66b5dd4170283e84f1e02
[ "MIT" ]
1
2018-11-06T21:00:34.000Z
2018-11-06T21:00:34.000Z
#include <boost/mpl/list.hpp> typedef boost::mpl::list< float, double, long double> float_types;
14.428571
29
0.722772
ChasingCarrots
6a87aca76f650455a92c4fe5feae0eedf140d0f6
7,259
cpp
C++
src/tables/audisp/processeventstableplugin.cpp
1wilkens/zeek-agent
175e06bb60cb3f8c18ee880764eb19d96d324f92
[ "BSD-3-Clause" ]
1
2020-06-05T11:52:09.000Z
2020-06-05T11:52:09.000Z
src/tables/audisp/processeventstableplugin.cpp
1wilkens/zeek-agent
175e06bb60cb3f8c18ee880764eb19d96d324f92
[ "BSD-3-Clause" ]
null
null
null
src/tables/audisp/processeventstableplugin.cpp
1wilkens/zeek-agent
175e06bb60cb3f8c18ee880764eb19d96d324f92
[ "BSD-3-Clause" ]
null
null
null
#include "tables/audisp/processeventstableplugin.h" #include "configuration.h" #include "logger.h" #include <chrono> #include <mutex> namespace zeek { struct ProcessEventsTablePlugin::PrivateData final { RowList row_list; std::mutex row_list_mutex; std::size_t max_queued_row_count{0U}; }; Status ProcessEventsT...
28.6917
80
0.660008
1wilkens
6a8ab192414853e4077a0cf74392c8665c782caf
1,429
cpp
C++
src/renderprogram.cpp
namelessvoid/nparticles
6a113d201b726c7f06eae1ffd965f8b2041a683d
[ "Zlib" ]
1
2016-05-31T11:29:18.000Z
2016-05-31T11:29:18.000Z
src/renderprogram.cpp
namelessvoid/nparticles
6a113d201b726c7f06eae1ffd965f8b2041a683d
[ "Zlib" ]
1
2016-09-03T13:18:53.000Z
2016-09-03T13:18:53.000Z
src/renderprogram.cpp
namelessvoid/nparticles
6a113d201b726c7f06eae1ffd965f8b2041a683d
[ "Zlib" ]
null
null
null
/* * Copyright (C) 2015 Simon Kerler * * This file is part of the "Nameless Particle Engine". * For conditions of distribution and use, see the copyright notice you should * have recievied with this software. I not, see: * http://opensource.org/licenses/Zlib */ #include "renderprogram.hpp" namespace nparticles...
25.981818
130
0.713086
namelessvoid
6a8b732ad2d6270ec3c38ba434052daf4ad44fed
1,663
cpp
C++
unit-test/server/PushThread.cpp
cSingleboy/TarsCpp
17b228b660d540baa1a93215fc007c5131a2fc68
[ "BSD-3-Clause" ]
386
2018-09-11T06:17:10.000Z
2022-03-31T05:59:41.000Z
unit-test/server/PushThread.cpp
cSingleboy/TarsCpp
17b228b660d540baa1a93215fc007c5131a2fc68
[ "BSD-3-Clause" ]
128
2018-09-12T03:43:33.000Z
2022-03-24T10:03:54.000Z
unit-test/server/PushThread.cpp
cSingleboy/TarsCpp
17b228b660d540baa1a93215fc007c5131a2fc68
[ "BSD-3-Clause" ]
259
2018-09-19T08:50:37.000Z
2022-03-11T07:17:56.000Z
#include "PushThread.h" // #include <arpa/inet.h> map<string, CurrentPtr> PushUser::pushUser; TC_ThreadMutex PushUser::mapMutex; PushInfoThread::~PushInfoThread() { PushUser::pushUser.clear(); } void PushInfoThread::terminate(void) { tars::TC_ThreadLock::Lock sync(*this); _bTerminate = true; notifyAll(); } vo...
20.7875
76
0.602526
cSingleboy
6a8ca275c9c05b84651e6c8ab8999f19bb562b5a
24,008
cpp
C++
thcrap_update/src/loader_update.cpp
DoremyR3d/thcrap
b934d16fb8b5015d280b0b9764d3fa179d1b10f9
[ "Unlicense" ]
null
null
null
thcrap_update/src/loader_update.cpp
DoremyR3d/thcrap
b934d16fb8b5015d280b0b9764d3fa179d1b10f9
[ "Unlicense" ]
null
null
null
thcrap_update/src/loader_update.cpp
DoremyR3d/thcrap
b934d16fb8b5015d280b0b9764d3fa179d1b10f9
[ "Unlicense" ]
null
null
null
/** * Touhou Community Reliant Automatic Patcher * Update module * * ---- * * Update the patches before running the game */ #include <thcrap.h> #include "update.h" #include "notify.h" #include "self.h" enum { HWND_MAIN, HWND_LABEL_STATUS, HWND_PROGRESS1, HWND_PROGRESS2, HWND_PROGRESS3, HWND_CHECKB...
35.673105
224
0.727757
DoremyR3d
6a8cde8e8ce6fd1f0c15f5de860c61d1a6f5730c
238
hpp
C++
ai/bt.hpp
AKuHAK/mrboom-libretro
7aa1fc48b77bb67c4100b11993e4bfa190b00cf5
[ "MIT" ]
150
2017-04-17T15:17:42.000Z
2022-03-24T20:26:15.000Z
ai/bt.hpp
AKuHAK/mrboom-libretro
7aa1fc48b77bb67c4100b11993e4bfa190b00cf5
[ "MIT" ]
72
2017-04-20T05:08:28.000Z
2021-10-07T21:41:12.000Z
ai/bt.hpp
AKuHAK/mrboom-libretro
7aa1fc48b77bb67c4100b11993e4bfa190b00cf5
[ "MIT" ]
48
2017-04-17T08:15:05.000Z
2022-03-25T01:52:33.000Z
#pragma once #pragma GCC diagnostic ignored "-Wunused-function" #include "bt/BehaviorTree.hpp" #include "bt/Composite.hpp" #include "bt/Node.hpp" // composites #include "bt/composites/Selector.hpp" #include "bt/composites/Sequence.hpp"
21.636364
50
0.764706
AKuHAK
6a98822805bf60bfd1a652608240b42aab823e06
9,970
cc
C++
src/xenia/kernel/xboxkrnl_modules.cc
hlide/xenia
a5dbec2f02f07cb9038317a5f275c6fe073d7f65
[ "BSD-3-Clause" ]
1
2016-11-18T23:13:21.000Z
2016-11-18T23:13:21.000Z
src/xenia/kernel/xboxkrnl_modules.cc
hlide/xenia
a5dbec2f02f07cb9038317a5f275c6fe073d7f65
[ "BSD-3-Clause" ]
null
null
null
src/xenia/kernel/xboxkrnl_modules.cc
hlide/xenia
a5dbec2f02f07cb9038317a5f275c6fe073d7f65
[ "BSD-3-Clause" ]
null
null
null
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
27.01897
85
0.687563
hlide
6a9cb3160c22f262f72a27e8b2d740787a92cf02
10,366
cpp
C++
Engine/Source/Utilities/src/ResCache.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/Utilities/src/ResCache.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/Utilities/src/ResCache.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
#include "stdafx.h" #include "ResCache.h" #include "ZipFile.hxx" #include "Optional.h" #include "FileIO.hxx" using namespace Utilities; using namespace Base; // ******************************************************************************************************************** cResCache::cResCache(unsigned int iCache...
31.317221
289
0.508296
AnkurSheel
6a9d553d9be18fc5b6ce069c2638ae83ea42d3a2
981
hpp
C++
libs/render/include/hamon/render/d3d12/primitive_topology_type.hpp
shibainuudon/HamonEngine
508a69b0cf589ccb2e5d403ce9e78ff2b85cc058
[ "MIT" ]
null
null
null
libs/render/include/hamon/render/d3d12/primitive_topology_type.hpp
shibainuudon/HamonEngine
508a69b0cf589ccb2e5d403ce9e78ff2b85cc058
[ "MIT" ]
21
2022-03-02T13:11:59.000Z
2022-03-30T15:12:41.000Z
libs/render/include/hamon/render/d3d12/primitive_topology_type.hpp
shibainuudon/HamonEngine
508a69b0cf589ccb2e5d403ce9e78ff2b85cc058
[ "MIT" ]
null
null
null
/** * @file primitive_topology_type.hpp * * @brief PrimitiveTopologyType */ #ifndef HAMON_RENDER_D3D12_PRIMITIVE_TOPOLOGY_TYPE_HPP #define HAMON_RENDER_D3D12_PRIMITIVE_TOPOLOGY_TYPE_HPP #include <hamon/render/primitive_topology.hpp> #include <hamon/render/d3d/d3d12.hpp> namespace hamon { inline ...
23.926829
94
0.793068
shibainuudon
6aaa90eae7b63755a91a24d555b2f5122349313f
190
cpp
C++
src/desktop/Excelsior/MainWindow.cpp
TO85/OttoCODE
48f0ea1be3c55cf63f508db93a2794b10bc346c8
[ "MIT" ]
null
null
null
src/desktop/Excelsior/MainWindow.cpp
TO85/OttoCODE
48f0ea1be3c55cf63f508db93a2794b10bc346c8
[ "MIT" ]
8
2022-01-19T08:18:51.000Z
2022-03-13T14:45:03.000Z
src/desktop/Excelsior/MainWindow.cpp
TO85/OttoCODE
48f0ea1be3c55cf63f508db93a2794b10bc346c8
[ "MIT" ]
null
null
null
#include "MainWindow.h" #include <QtDebug> MainWindow::MainWindow(QApplication *pApp) : MdiMainWindow(pApp) { setObjectName("Excelsior:MainWindow"); qDebug() << Q_FUNC_INFO; }
17.272727
42
0.705263
TO85
6aae71ec4b238a312f284a3c6886d3ad838930b1
4,497
hpp
C++
joueur/src/unix_connection.hpp
KendallHarter/Joueur.cpp
587da7acc4db650a1c347c6e3d6226b23071d8f4
[ "MIT" ]
9
2015-12-09T18:49:55.000Z
2021-01-08T21:45:54.000Z
joueur/src/unix_connection.hpp
KendallHarter/Joueur.cpp
587da7acc4db650a1c347c6e3d6226b23071d8f4
[ "MIT" ]
14
2015-11-06T19:26:56.000Z
2019-10-19T07:45:11.000Z
joueur/src/unix_connection.hpp
KendallHarter/Joueur.cpp
587da7acc4db650a1c347c6e3d6226b23071d8f4
[ "MIT" ]
21
2015-10-16T03:57:23.000Z
2020-11-08T16:48:16.000Z
#ifndef UNIX_CONNECTION_HPP #define UNIX_CONNECTION_HPP #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <unistd.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <string> #include <array> #include <cstring> namespace cpp_client { class Connection_internal { public: Connectio...
29.201299
95
0.567045
KendallHarter
6ab92217922a6870a3b4086e36a384d711bdb460
1,263
hpp
C++
Include/xsim/generated/PID.hpp
raving-bots/expansim-sdk
22f5c794523abbe9c27688963b607b13671ff118
[ "BSL-1.0" ]
1
2020-01-17T14:10:22.000Z
2020-01-17T14:10:22.000Z
Include/xsim/generated/PID.hpp
raving-bots/expansim-sdk
22f5c794523abbe9c27688963b607b13671ff118
[ "BSL-1.0" ]
null
null
null
Include/xsim/generated/PID.hpp
raving-bots/expansim-sdk
22f5c794523abbe9c27688963b607b13671ff118
[ "BSL-1.0" ]
null
null
null
// Copyright Raving Bots 2018-2021 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file SDK-LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt) // <auto-generated> // WARNING: This file has been generated automatically. Do not edit manually, changes will be lost. ...
22.963636
104
0.661916
raving-bots
6abcae1f3e90174a110590a85012f323cee913dc
9,822
hpp
C++
mjolnir/forcefield/global/HardCoreExcludedVolumePotential.hpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
null
null
null
mjolnir/forcefield/global/HardCoreExcludedVolumePotential.hpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
2
2020-04-07T11:41:45.000Z
2020-04-08T10:01:38.000Z
mjolnir/forcefield/global/HardCoreExcludedVolumePotential.hpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
null
null
null
#ifndef MJOLNIR_POTENTIAL_GLOBAL_HARD_CORE_EXCLUDED_VOLUME_POTENTIAL_HPP #define MJOLNIR_POTENTIAL_GLOBAL_HARD_CORE_EXCLUDED_VOLUME_POTENTIAL_HPP #include <mjolnir/core/ExclusionList.hpp> #include <mjolnir/core/System.hpp> #include <vector> #include <algorithm> #include <numeric> #include <cmath> #include <limits> nam...
40.755187
105
0.681124
yutakasi634
6abd462cdc6cc8a23654d64a695e2a316411a2b6
16,684
cpp
C++
Code/Core/Net/ConnectPacket.cpp
NathanSaidas/LiteForgeMirror
84068b62bff6e443b53c46107a3946e2645e4447
[ "MIT" ]
null
null
null
Code/Core/Net/ConnectPacket.cpp
NathanSaidas/LiteForgeMirror
84068b62bff6e443b53c46107a3946e2645e4447
[ "MIT" ]
null
null
null
Code/Core/Net/ConnectPacket.cpp
NathanSaidas/LiteForgeMirror
84068b62bff6e443b53c46107a3946e2645e4447
[ "MIT" ]
null
null
null
// ******************************************************************** // Copyright (c) 2019 Nathan Hanlan // // 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, includ...
31.360902
148
0.680352
NathanSaidas
6abd9e734952065c6ac8d472184bb4333218ae88
1,758
cpp
C++
mordencpp/rvalue.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
47
2016-05-20T08:49:47.000Z
2022-01-03T01:17:07.000Z
mordencpp/rvalue.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
null
null
null
mordencpp/rvalue.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
37
2016-07-25T04:52:08.000Z
2022-02-14T03:55:08.000Z
// Copyright (c) 2016 // Author: Chrono Law #include <std.hpp> using namespace std; #include <boost/core/ignore_unused.hpp> /////////////////////////////////////// void case1() { int x = 0; int* p = &++x; assert(p); ++x = 10; //p = &x++; } /////////////////////////////////////// void case2() {...
13.84252
54
0.435154
MaxHonggg
6abe60bd4881e0d86265488d7bf55fc7c4def67e
8,832
cpp
C++
android-31/java/nio/CharBuffer.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/nio/CharBuffer.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/nio/CharBuffer.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JCharArray.hpp" #include "../../JString.hpp" #include "../../JObject.hpp" #include "../../JString.hpp" #include "./Buffer.hpp" #include "./ByteOrder.hpp" #include "./CharBuffer.hpp" namespace java::nio { // Fields // QJniObject forward CharBuffer::CharBuffer(QJniObject obj) : java::nio::Buffer(obj...
19.368421
105
0.647871
YJBeetle
6ac6ee49e7d6d456187de73c982de8a5f745fb71
866
cpp
C++
examples/light_sandbox.cpp
Tomasu/LuaGlue
9db477ef1447048822042164445c2f5d027b37d8
[ "Zlib" ]
36
2015-01-19T09:31:42.000Z
2021-06-16T02:52:31.000Z
examples/light_sandbox.cpp
Tomasu/LuaGlue
9db477ef1447048822042164445c2f5d027b37d8
[ "Zlib" ]
3
2015-01-13T01:29:56.000Z
2017-05-25T14:55:18.000Z
examples/light_sandbox.cpp
Tomasu/LuaGlue
9db477ef1447048822042164445c2f5d027b37d8
[ "Zlib" ]
5
2015-08-23T05:33:07.000Z
2017-09-21T19:36:40.000Z
#include <LuaGlue/LuaGlue.h> class Sandboxed { public: int test_c() { printf("in Sandboxed::test_c\n"); return 1; } }; int main(int, char **) { LuaGlue state; state.Class<Sandboxed>("Sandboxed"). ctor("new"). method("test_c", &Sandboxed::test_c); state.open().glue(); printf("running lua script!\n")...
21.65
77
0.670901
Tomasu
6ac760b236f5f76ed4184a357ef27702b39c1445
805
cpp
C++
src/DescentEngine/src/EntityEngine/Entity.cpp
poseidn/KungFoo-legacy
9b79d65b596acc9dff4725ef5bfab8ecc4164afb
[ "MIT" ]
1
2017-11-24T03:01:31.000Z
2017-11-24T03:01:31.000Z
src/DescentEngine/src/EntityEngine/Entity.cpp
poseidn/KungFoo-legacy
9b79d65b596acc9dff4725ef5bfab8ecc4164afb
[ "MIT" ]
null
null
null
src/DescentEngine/src/EntityEngine/Entity.cpp
poseidn/KungFoo-legacy
9b79d65b596acc9dff4725ef5bfab8ecc4164afb
[ "MIT" ]
null
null
null
#include "Entity.h" #include "../Engines.h" #include "../Physics/PhysicsEngine.h" #include "../Visuals/SpriteVisual.h" #include <btBulletDynamicsCommon.h> void Entity::unregister(Engines & engines) { if (getRigidBody() != nullptr) { engines.physicsEngine().unregisterEntity(this); } } Entity::~Entity() { if (g...
24.393939
70
0.722981
poseidn
6acd1e53d4611a551bd99445eaf66213b84a2ac0
69,357
cpp
C++
src/utils/gl_quadrature.cpp
lucyundead/athena--fork
04a4027299145f61bdc08528548e0b1b398ba0a6
[ "BSD-3-Clause" ]
null
null
null
src/utils/gl_quadrature.cpp
lucyundead/athena--fork
04a4027299145f61bdc08528548e0b1b398ba0a6
[ "BSD-3-Clause" ]
null
null
null
src/utils/gl_quadrature.cpp
lucyundead/athena--fork
04a4027299145f61bdc08528548e0b1b398ba0a6
[ "BSD-3-Clause" ]
2
2020-11-21T18:35:02.000Z
2021-03-03T01:08:19.000Z
//======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors // Licensed under the 3-clause BSD License, see LICENSE file for details //===============================...
53.433744
90
0.811511
lucyundead
6acd3ce045a40d0eb27585e8b68e2f6a99236a6f
4,323
cpp
C++
device/usbsensor/src/uio_sensor.cpp
nvitya/univio_projects
c1cbfba800b2a360a4daff787a997ee17f6c10a9
[ "MIT" ]
null
null
null
device/usbsensor/src/uio_sensor.cpp
nvitya/univio_projects
c1cbfba800b2a360a4daff787a997ee17f6c10a9
[ "MIT" ]
null
null
null
device/usbsensor/src/uio_sensor.cpp
nvitya/univio_projects
c1cbfba800b2a360a4daff787a997ee17f6c10a9
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- * This file is a part of the UNIVIO projects: https://github.com/nvitya/univio_projects * Copyright (c) 2022 Viktor Nagy, nvitya * * This software is provided 'as-is', without any express or implied warranty. * In no event will the au...
29.813793
111
0.679158
nvitya
6acede795d62df09e7835ef1090d696269374d1c
1,844
cpp
C++
Payroll/PayrollSystem_UnitTests/test_TimeCardTransaction.cpp
SonicYeager/CppPractice
05b80ac918648ba733ec5fce969eac4b2ae79b58
[ "MIT" ]
null
null
null
Payroll/PayrollSystem_UnitTests/test_TimeCardTransaction.cpp
SonicYeager/CppPractice
05b80ac918648ba733ec5fce969eac4b2ae79b58
[ "MIT" ]
9
2020-10-26T10:14:46.000Z
2020-10-27T12:13:51.000Z
Payroll/PayrollSystem_UnitTests/test_TimeCardTransaction.cpp
SonicYeager/CppPractice
05b80ac918648ba733ec5fce969eac4b2ae79b58
[ "MIT" ]
null
null
null
#include "gmock/gmock.h" #include "../PayrollSystem/TimeCardTransaction.h" #include "../PayrollSystem/HourlyClassification.h" namespace Payroll { bool operator== (const TimeCard& left, const TimeCard& right) { return left.GetDate() == right.GetDate() && left.GetHours() == right.GetHours(); } } TEST(TestTimeCardT...
34.148148
111
0.748915
SonicYeager
6ad56c5dff600151f10808afee99f0cbd3478994
22,460
cpp
C++
WRK-V1.2/clr/src/vm/genericdict.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/genericdict.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/genericdict.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to b...
41.515712
220
0.545948
intj-t
6ad700a918999f459615daba44883d6225c6556b
11,193
cpp
C++
src/master_smooth_online.cpp
despargy/KukaImplementation-kinetic
3a9ab106b117acfc6478fbf3e60e49b7e94b2722
[ "MIT" ]
1
2021-08-21T12:49:27.000Z
2021-08-21T12:49:27.000Z
src/master_smooth_online.cpp
despargy/KukaImplementation-kinetic
3a9ab106b117acfc6478fbf3e60e49b7e94b2722
[ "MIT" ]
null
null
null
src/master_smooth_online.cpp
despargy/KukaImplementation-kinetic
3a9ab106b117acfc6478fbf3e60e49b7e94b2722
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <armadillo> #include <stdio.h> #include <stdlib.h> #include "CanonicalStructure.cpp" #include "dataFormer.cpp" #include "GDMP.cpp" #include "loadData.cpp" #include "loadTime.cpp" #include "LowPassFilter.hpp" #include "readQ.cpp" #include <ros/ros.h> #include "diff.cpp" #in...
27.233577
118
0.575985
despargy
6ad9a232f90863ac0544600f05658fbf02ddc0e7
8,028
hpp
C++
src/sweepers/mc/particle_pusher.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
11
2016-03-31T17:46:15.000Z
2022-02-14T01:07:56.000Z
src/sweepers/mc/particle_pusher.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2016-04-04T16:40:47.000Z
2019-10-16T22:22:54.000Z
src/sweepers/mc/particle_pusher.hpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2019-10-16T22:20:15.000Z
2019-11-28T11:59:03.000Z
/* Copyright 2016 Mitchell Young 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 ...
30.876923
80
0.678127
tp-ntouran
6adc5b0b08f97cd50b901075ea02d490feddd8cd
827
cpp
C++
regression/esbmc-cpp/algorithm/algorithm115/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/algorithm/algorithm115/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/algorithm/algorithm115/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
// range heap example #include <cassert> #include <iostream> #include <algorithm> #include <vector> using namespace std; int main () { int myints[] = {10,20,30,5,15}; vector<int> v(myints,myints+5); vector<int>::iterator it; // 30 20 10 5 15 make_heap (v.begin(),v.end()); cout << "initial max heap : " << ...
22.351351
58
0.561064
shmarovfedor
6add1cfa9bddccc701d4d63712331b1431b32574
1,357
cpp
C++
401 Palindromes.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
401 Palindromes.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
401 Palindromes.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> #include <string> #include <map> using namespace std; int main() { map<char, char> reverse; reverse['A'] = 'A'; reverse['E'] = '3'; reverse['H'] = 'H'; reverse['I'] = 'I'; reverse['J'] = 'L'; reverse['L'] = 'J'; reverse['M'] = 'M'; reverse['O'] = 'O'; reverse['S'] = '2'; reverse['T'] =...
30.155556
103
0.445099
zihadboss
6ae1f2c2d39874d8ef850b92a413d04c0183426d
9,310
cpp
C++
src/algorithm/cell.cpp
simonraschke/vesicle2
14aa0b2c7a7f587a861c67ba736e2047faecc0e0
[ "Apache-2.0" ]
1
2019-03-15T15:27:28.000Z
2019-03-15T15:27:28.000Z
src/algorithm/cell.cpp
simonraschke/vesicle2
14aa0b2c7a7f587a861c67ba736e2047faecc0e0
[ "Apache-2.0" ]
null
null
null
src/algorithm/cell.cpp
simonraschke/vesicle2
14aa0b2c7a7f587a861c67ba736e2047faecc0e0
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Simon Raschke * * 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...
30.325733
163
0.633835
simonraschke
6ae4dbbea09372236cfc770cd67f29f4823e6179
2,492
hpp
C++
include/canard/net/ofp/v13/message/port_status.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
include/canard/net/ofp/v13/message/port_status.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
include/canard/net/ofp/v13/message/port_status.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#ifndef CANARD_NET_OFP_V13_MESSAGES_PORT_STATUS_HPP #define CANARD_NET_OFP_V13_MESSAGES_PORT_STATUS_HPP #include <cstdint> #include <canard/net/ofp/get_xid.hpp> #include <canard/net/ofp/v13/common/port.hpp> #include <canard/net/ofp/v13/detail/basic_fixed_length_message.hpp> #include <canard/net/ofp/v13/detail/byteorde...
22.654545
74
0.655297
amedama41
6ae623ebc661f7d3c7baa6a7f78d4bc12b2f0f8a
2,364
cpp
C++
ogsCore/GeoLib/SimplePolygonTree.cpp
Yonghui56/NCP
29680706b7d8dd9b78d51c10d4a36799eb24c38f
[ "BSD-4-Clause" ]
null
null
null
ogsCore/GeoLib/SimplePolygonTree.cpp
Yonghui56/NCP
29680706b7d8dd9b78d51c10d4a36799eb24c38f
[ "BSD-4-Clause" ]
1
2016-07-08T03:44:02.000Z
2016-07-08T08:59:45.000Z
ogsCore/GeoLib/SimplePolygonTree.cpp
Yonghui56/NCP
29680706b7d8dd9b78d51c10d4a36799eb24c38f
[ "BSD-4-Clause" ]
null
null
null
/** * Copyright (c) 2012, OpenGeoSys Community (http://www.opengeosys.com) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.com/LICENSE.txt * * * \file SimplePolygonTree.cpp * * Created on 2010-06-22 by Thomas Fische...
29.924051
90
0.628596
Yonghui56