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
040ba98d9766871e116a3362d484b066a11fd83d
282
cpp
C++
Basic-Programming/Recursion/variable 2.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Basic-Programming/Recursion/variable 2.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Basic-Programming/Recursion/variable 2.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int x=1; void myfunc(int y) { y = y * 2; x = x + 10; printf("Value inside myfunc,x:%d and y:%d\n",x,y); } int main() { int y=5; x=10; myfunc(y); printf("Value inside main,x:%d and y:%d",x,y); return 0; }
14.842105
54
0.535461
arifparvez14
040f916f455594c396309ad8c777580543648548
8,934
cpp
C++
src/apps/network/main.cpp
inviwo/sgct
1b81860af3d8493526fe03343cfc49218830c9ef
[ "libpng-2.0" ]
null
null
null
src/apps/network/main.cpp
inviwo/sgct
1b81860af3d8493526fe03343cfc49218830c9ef
[ "libpng-2.0" ]
null
null
null
src/apps/network/main.cpp
inviwo/sgct
1b81860af3d8493526fe03343cfc49218830c9ef
[ "libpng-2.0" ]
null
null
null
/***************************************************************************************** * SGCT * * Simple Graphics Cluster Toolkit * * ...
27.831776
90
0.573763
inviwo
04119933a8ffff68b1ebbbfee2b0c6812d42b967
24,325
cc
C++
crv/crvQuality.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
138
2015-01-05T15:50:20.000Z
2022-02-25T01:09:58.000Z
crv/crvQuality.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
337
2015-08-07T18:24:58.000Z
2022-03-31T14:39:03.000Z
crv/crvQuality.cc
cwsmith/core
840fbf6ec49a63aeaa3945f11ddb224f6055ac9f
[ "BSD-3-Clause" ]
70
2015-01-17T00:58:41.000Z
2022-02-13T04:58:20.000Z
/* * Copyright 2015 Scientific Computation Research Center * * This work is open source software, licensed under the terms of the * BSD license as described in the LICENSE file in the top-level directory. */ #include "crv.h" #include "crvBezier.h" #include "crvBezierShapes.h" #include "crvMath.h" #include "crvTabl...
31.468305
82
0.61073
cwsmith
041313275ba2334ac0cbe059dc09eb138a69087e
1,623
cpp
C++
Game/Source/Game/src/MY_ResourceManager.cpp
PureBread/Game
957dd9f9450f0576ec5cc73c13525f5f47a9c4c9
[ "MIT" ]
null
null
null
Game/Source/Game/src/MY_ResourceManager.cpp
PureBread/Game
957dd9f9450f0576ec5cc73c13525f5f47a9c4c9
[ "MIT" ]
67
2015-10-14T12:15:52.000Z
2021-08-06T07:20:42.000Z
Game/Source/Game/src/MY_ResourceManager.cpp
PureBread/Game
957dd9f9450f0576ec5cc73c13525f5f47a9c4c9
[ "MIT" ]
null
null
null
#pragma once #include <MY_ResourceManager.h> Scenario * MY_ResourceManager::scenario = nullptr; std::vector<Scenario *> MY_ResourceManager::randomEvents; std::vector<Scenario *> MY_ResourceManager::lossEvents; std::vector<Scenario *> MY_ResourceManager::destinationEvents; void MY_ResourceManager::init(){ Json::Valu...
39.585366
110
0.707948
PureBread
041365df87c48879c21861554c04f58cc97b0376
2,722
cpp
C++
ZOJ/4102/greedy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
ZOJ/4102/greedy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
ZOJ/4102/greedy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 100010 #define DIGIT_SIZE 10 int arr[SIZE], orig[SIZE], ava[SIZE]; int ans[SIZE], ansPt; bool lazy[SIZE]; priority_queue<pair<int, int> > pq; set<int> avaList; void updatePq() { int cntPt = pq.top().second; pq.pop(); if (ava[cntPt] > 0) p...
27.22
73
0.3964
codgician
04161e31d1c66952000bf55e21753351563b674b
96
hpp
C++
src/scenes/scenes.hpp
seanbutler/engine
7fa38f43f61c97fc1df28f3a666d90628b699e91
[ "MIT" ]
null
null
null
src/scenes/scenes.hpp
seanbutler/engine
7fa38f43f61c97fc1df28f3a666d90628b699e91
[ "MIT" ]
null
null
null
src/scenes/scenes.hpp
seanbutler/engine
7fa38f43f61c97fc1df28f3a666d90628b699e91
[ "MIT" ]
null
null
null
#pragma once #include "./mainmenu.hpp" #include "./splashscene.hpp" #include "./testscene.hpp"
16
28
0.708333
seanbutler
041771075e4012550ddbdc91e23f392324821fbd
595
hpp
C++
Engine/Src/Ancona/Platformer/Actions/ScaleAction.hpp
ild-games/Ancona
6a4f520f97d17648a6dd3ba0582cd51da4f9e809
[ "MIT" ]
11
2018-04-15T21:00:48.000Z
2021-12-30T20:55:21.000Z
Engine/Src/Ancona/Platformer/Actions/ScaleAction.hpp
tlein/Ancona
6a4f520f97d17648a6dd3ba0582cd51da4f9e809
[ "MIT" ]
58
2016-04-17T20:41:25.000Z
2017-02-27T01:21:46.000Z
Engine/Src/Ancona/Platformer/Actions/ScaleAction.hpp
ild-games/Ancona
6a4f520f97d17648a6dd3ba0582cd51da4f9e809
[ "MIT" ]
4
2018-05-04T17:03:20.000Z
2021-02-12T21:26:57.000Z
#ifndef Ancona_Platformer_Action_ScaleAction_hpp #define Ancona_Platformer_Action_ScaleAction_hpp #include <SFML/System.hpp> #include "ValueAction.hpp" namespace ild { template<typename T> class ScaleAction : public ValueAction<T> { public: ScaleAction(std::string drawableKey = "") : _drawableKey(drawab...
20.517241
87
0.685714
ild-games
042199996e136c4076f552e7e928272b94ec1ecc
16,917
cpp
C++
physically-based-cloud-rendering/clouds/main.cpp
markomijolovic/physically-based-cloud-rendering
a8f9b3e11d6c2f744a45a598b872afb45ff8756c
[ "BSD-3-Clause" ]
3
2021-05-25T13:58:22.000Z
2022-02-21T11:53:26.000Z
physically-based-cloud-rendering/clouds/main.cpp
markomijolovic/physically-based-cloud-rendering
a8f9b3e11d6c2f744a45a598b872afb45ff8756c
[ "BSD-3-Clause" ]
null
null
null
physically-based-cloud-rendering/clouds/main.cpp
markomijolovic/physically-based-cloud-rendering
a8f9b3e11d6c2f744a45a598b872afb45ff8756c
[ "BSD-3-Clause" ]
null
null
null
#define GLFW_INCLUDE_NONE #include "GLFW/glfw3.h" #include "camera.hpp" #include "framebuffer.hpp" #include "glbinding/gl/gl.h" #include "glbinding/glbinding.h" #include "imgui/imgui.h" #include "imgui/imgui_impl_glfw.h" #include "imgui/imgui_impl_opengl3.h" #include "input.hpp" #include "mesh.hpp" #include "preetham....
40.471292
120
0.612106
markomijolovic
54bd7b9f769501f46b5c842b931f46d1f551a22f
911
cpp
C++
built_in_translation-31533019/main.cpp
kay54068/qt-snippets
1af5b41599d469cf3e9ccce267f4721fad1e169e
[ "Apache-2.0" ]
10
2016-04-07T07:10:42.000Z
2021-12-08T19:57:45.000Z
built_in_translation-31533019/main.cpp
kay54068/qt-snippets
1af5b41599d469cf3e9ccce267f4721fad1e169e
[ "Apache-2.0" ]
null
null
null
built_in_translation-31533019/main.cpp
kay54068/qt-snippets
1af5b41599d469cf3e9ccce267f4721fad1e169e
[ "Apache-2.0" ]
3
2017-01-26T13:58:20.000Z
2020-02-04T22:12:19.000Z
#include <QDebug> #include <QtWidgets/QApplication> #include <QMessageBox> #include <QTranslator> #include <QLibraryInfo> int main(int argc, char *argv[]) { QApplication app(argc, argv); QTranslator qtTranslator; if (qtTranslator.load(QLocale::system(), "qt", "_", QLibraryInfo::location(QLibraryInfo::Tran...
23.358974
64
0.711306
kay54068
54bf8f716cc6ef9e5331c44b3e06e1537f53f941
10,375
hpp
C++
src/dtl/bitmap/uah_skip.hpp
harald-lang/tree-encoded-bitmaps
a4ab056f2cefa7843b27c736833b08977b56649c
[ "Apache-2.0" ]
29
2020-06-18T12:51:42.000Z
2022-02-22T07:38:24.000Z
src/dtl/bitmap/uah_skip.hpp
marcellus-saputra/Thuja
8443320a6d0e9a20bb6b665f0befc6988978cafd
[ "Apache-2.0" ]
null
null
null
src/dtl/bitmap/uah_skip.hpp
marcellus-saputra/Thuja
8443320a6d0e9a20bb6b665f0befc6988978cafd
[ "Apache-2.0" ]
2
2021-04-07T13:43:34.000Z
2021-06-09T04:49:39.000Z
#pragma once //===----------------------------------------------------------------------===// #include "uah.hpp" #include <dtl/bitmap/util/plain_bitmap.hpp> #include <dtl/bitmap/util/plain_bitmap_iter.hpp> #include <dtl/dtl.hpp> #include <boost/dynamic_bitset.hpp> #include <algorithm> #include <cstddef> #include <ty...
29.30791
95
0.525783
harald-lang
54c0c3aeee1752643ec38d00020ae44d6ee4a79f
325
cpp
C++
All_code/73.cpp
jnvshubham7/cpp-programming
7d00f4a3b97b9308e337c5d3547fd3edd47c5e0b
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
All_code/73.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
All_code/73.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); int N; cin>>N; for(int i=0;i<N;i++){ cin>>i; if(i%2!=0){ cout<<i<<" "<<endl; } } // YOUR CODE GOES HERE return ...
12.5
38
0.443077
jnvshubham7
54c35c93dac2804d9b04f7392759251ee6147a8d
654
hpp
C++
source/parser/parser_content.hpp
octopus-prime/hessian_x3
f0cf0f7a334efb8ba434ac87370814561e033ea0
[ "BSL-1.0" ]
3
2016-12-10T15:01:11.000Z
2019-11-25T14:03:49.000Z
source/parser/parser_content.hpp
octopus-prime/hessian_x3
f0cf0f7a334efb8ba434ac87370814561e033ea0
[ "BSL-1.0" ]
null
null
null
source/parser/parser_content.hpp
octopus-prime/hessian_x3
f0cf0f7a334efb8ba434ac87370814561e033ea0
[ "BSL-1.0" ]
null
null
null
/* * parser_content.hpp * * Created on: 25.02.2016 * Author: mike_gresens */ #pragma once using namespace std::literals; namespace hessian { namespace parser { namespace content { const x3::rule<class content_rule, content_t> content_rule; const x3::rule<class reply_rule, reply_t> reply_rule; const x3::r...
20.4375
81
0.730887
octopus-prime
54c45bc46cce1b65b021b01bfa42d8b83b5c86cf
10,722
cpp
C++
src/mod/visualize/flamethrower.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
7
2021-03-02T02:27:18.000Z
2022-02-18T00:56:28.000Z
src/mod/visualize/flamethrower.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
3
2021-11-29T15:53:02.000Z
2022-02-21T13:09:22.000Z
src/mod/visualize/flamethrower.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
5
2021-03-04T20:26:11.000Z
2021-11-26T07:09:24.000Z
#include "mod.h" #include "stub/entities.h" #include "stub/tfplayer.h" // adapted from Debug:Flamethrower_Mojo namespace Mod::Visualize::Flamethrower { Color RainbowGenerator() { static long i = 0; switch ((i++) % 8) { case 0: return Color(0xff, 0x00, 0x00, 0xff); // red case 1: retur...
34.475884
207
0.650159
fugueinheels
54c5674d3497c353587118936250be8331eb1d14
3,785
cpp
C++
src/blinkit/blink/renderer/core/loader/CookieJar.cpp
titilima/blink
2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad
[ "MIT" ]
13
2020-04-21T13:14:00.000Z
2021-11-13T14:55:12.000Z
src/blinkit/blink/renderer/core/loader/CookieJar.cpp
titilima/blink
2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad
[ "MIT" ]
null
null
null
src/blinkit/blink/renderer/core/loader/CookieJar.cpp
titilima/blink
2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad
[ "MIT" ]
4
2020-04-21T13:15:43.000Z
2021-11-13T14:55:00.000Z
// ------------------------------------------------- // BlinKit - BlinKit Library // ------------------------------------------------- // File Name: CookieJar.cpp // Description: CookieJar Class // Author: Ziming Li // Created: 2021-07-26 // ------------------------------------------------- // Copyright (C) ...
36.047619
117
0.689828
titilima
54c5714add2bb96b302e54b6841d006eb13a76f3
1,412
cpp
C++
Talg/Test/testErase.cpp
doside/Tiny-C---Template-Algorithm-Library
9aea047659fedb273abca960b8501a4297829a2b
[ "MIT" ]
null
null
null
Talg/Test/testErase.cpp
doside/Tiny-C---Template-Algorithm-Library
9aea047659fedb273abca960b8501a4297829a2b
[ "MIT" ]
null
null
null
Talg/Test/testErase.cpp
doside/Tiny-C---Template-Algorithm-Library
9aea047659fedb273abca960b8501a4297829a2b
[ "MIT" ]
null
null
null
#include <Talg/core.h> #include "test_suits.h" #include <tuple> #include <Talg/seqop.h> #include <Talg/find_val.h> using namespace Talg; namespace { void f() { testSame( Seq<int,double,char>, Reverse<std::tuple<char,double,int>>, Seq<int, int, int, int>, Erase_front<Seq<int, double, float>, Seq<in...
17.65
72
0.628187
doside
54c8d87c22a2d2d0f4c418b7e79e3135505f72d4
2,153
cpp
C++
src/mode/network_config.cpp
FissionAndFusion/FnFnMvWallet-Pre
80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032
[ "MIT" ]
22
2018-08-17T07:05:56.000Z
2019-09-16T09:22:32.000Z
src/mode/network_config.cpp
FissionAndFusion/FnFnMvWallet-Pre
80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032
[ "MIT" ]
23
2018-08-18T11:09:42.000Z
2019-04-22T10:02:02.000Z
src/mode/network_config.cpp
FissionAndFusion/FnFnMvWallet-Pre
80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032
[ "MIT" ]
13
2018-08-17T01:12:58.000Z
2019-09-16T09:05:31.000Z
// Copyright (c) 2017-2019 The Multiverse developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "mode/network_config.h" #include "mode/config_macro.h" namespace multiverse { namespace po = boost::program_opti...
21.53
71
0.619601
FissionAndFusion
54c9ef8bf0099d1ee734be0129b5affc826504eb
3,997
cc
C++
server/modules/routing/pinloki/gtid.cc
2733284198/MaxScale
b921dddbf06fcce650828ca94a3d715012b7072f
[ "BSD-3-Clause" ]
1
2020-10-29T07:39:00.000Z
2020-10-29T07:39:00.000Z
server/modules/routing/pinloki/gtid.cc
2733284198/MaxScale
b921dddbf06fcce650828ca94a3d715012b7072f
[ "BSD-3-Clause" ]
null
null
null
server/modules/routing/pinloki/gtid.cc
2733284198/MaxScale
b921dddbf06fcce650828ca94a3d715012b7072f
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2024-10-14 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
22.84
104
0.585689
2733284198
54cb8da02e65d1ad7fa65c1d58dcd1114f576909
280
cpp
C++
cpcli/templates/template.cpp
EricLiclair/CPCLI
0b03a5f07348c4522e06bd77d5579fa6321277ff
[ "MIT" ]
null
null
null
cpcli/templates/template.cpp
EricLiclair/CPCLI
0b03a5f07348c4522e06bd77d5579fa6321277ff
[ "MIT" ]
7
2021-12-21T10:50:28.000Z
2022-01-01T20:08:59.000Z
cpcli/templates/template.cpp
EricLiclair/CPCLI
0b03a5f07348c4522e06bd77d5579fa6321277ff
[ "MIT" ]
1
2022-03-31T10:34:27.000Z
2022-03-31T10:34:27.000Z
#include <bits/stdc++.h> typedef long long ll; using namespace std; int main() { cout << "[Algorithm Name] - Algorithm for [Algorithm Usage]\n" << "Time Complexity - O(1)\n" << "Space Complexity - O(1)\n" << "Ref Link - [LINK]\n"; return 0; }
20
66
0.553571
EricLiclair
54cdc3fc3d06c3b29ac643bc6f2e9d4e57758dbd
19,734
cpp
C++
src/gse/src/gs_serializer.cpp
RichLogan/gse
9243166142d8f1500df13b57ca0985105d334d83
[ "BSD-2-Clause" ]
null
null
null
src/gse/src/gs_serializer.cpp
RichLogan/gse
9243166142d8f1500df13b57ca0985105d334d83
[ "BSD-2-Clause" ]
null
null
null
src/gse/src/gs_serializer.cpp
RichLogan/gse
9243166142d8f1500df13b57ca0985105d334d83
[ "BSD-2-Clause" ]
1
2022-03-28T15:37:40.000Z
2022-03-28T15:37:40.000Z
/* * gs_serializer.cpp * * Copyright (C) 2022 * Cisco Systems, Inc. * All Rights Reserved * * Description: * The Game State Serializer is an object used by the Game State Encoder * to serialize data into a given buffer. * * Portability Issues: * The C++ float and double types are assume...
28.435159
80
0.631144
RichLogan
54ce01688c93bc76dcbc66d229cf6c5a6dd60dce
1,307
cpp
C++
7/E.cpp
CovarianceMomentum/dm-itmo
b87b65727d376895e23f9f2317c8e930dd420c5a
[ "MIT" ]
null
null
null
7/E.cpp
CovarianceMomentum/dm-itmo
b87b65727d376895e23f9f2317c8e930dd420c5a
[ "MIT" ]
null
null
null
7/E.cpp
CovarianceMomentum/dm-itmo
b87b65727d376895e23f9f2317c8e930dd420c5a
[ "MIT" ]
null
null
null
// // Created by covariance on 26.12.2020. // #include <bits/stdc++.h> using namespace std; unordered_set<bitset<20>> dependent; void bitmask_dfs(bitset<20> mask) { dependent.insert(mask); if (mask.count() != 20) { for (uint32_t i = 0; i != 20u; ++i) { if (!mask.test(i)) { mask.set(i); ...
19.80303
54
0.54935
CovarianceMomentum
54d08a888ae124a9b2fb0f7acdd84b2019606de3
816
cpp
C++
13- Linked Lists/findmidPoint.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
21
2020-10-03T03:57:19.000Z
2022-03-25T22:41:05.000Z
13- Linked Lists/findmidPoint.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
40
2020-10-02T07:02:34.000Z
2021-10-30T16:00:07.000Z
13- Linked Lists/findmidPoint.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
90
2020-10-02T07:06:22.000Z
2022-03-25T22:41:17.000Z
#include<iostream> using namespace std; class node{ public: int data; node*next; node(int d){ data=d; node*next=NULL; } }; void insertAtBeginning(node*&head, int data){ node*n= new node(data); n->next= head; head=n; } void printNode(node*head){ while(head!=NULL){ cout<<head->data<<"->"; head= head->next...
15.396226
45
0.655637
ShreyashRoyzada
54d22e29fabfff883297742c415d9a11e5a1862b
932
cpp
C++
Engine/src/model.cpp
julienbernat/dmri-explorer
32639916b0a95ecc2ae7484f9e1a084f84c3035a
[ "MIT" ]
null
null
null
Engine/src/model.cpp
julienbernat/dmri-explorer
32639916b0a95ecc2ae7484f9e1a084f84c3035a
[ "MIT" ]
null
null
null
Engine/src/model.cpp
julienbernat/dmri-explorer
32639916b0a95ecc2ae7484f9e1a084f84c3035a
[ "MIT" ]
null
null
null
#include <model.h> #include <utils.hpp> #include <iostream> namespace Slicer { Model::Model(const std::shared_ptr<ApplicationState>& state) :mState(state) ,mTransformGPUData(GPU::Binding::modelTransform) ,mCoordinateSystem() ,mIsInit(false) { } Model::~Model() { } void Model::initializeModel() { updateApplicatio...
18.64
82
0.698498
julienbernat
54d3a3eb3e6202b452e200ad5ccdbc9e4bc865b5
581
cpp
C++
Kawakawa/PhysicTest/Physic/ForceGenerator/ParticleForceGenerator/ForceGenerationRegistry.cpp
JiaqiJin/KawaiiDesune
e5c3031898f96f1ec5370b41371b2c1cf22c3586
[ "MIT" ]
null
null
null
Kawakawa/PhysicTest/Physic/ForceGenerator/ParticleForceGenerator/ForceGenerationRegistry.cpp
JiaqiJin/KawaiiDesune
e5c3031898f96f1ec5370b41371b2c1cf22c3586
[ "MIT" ]
null
null
null
Kawakawa/PhysicTest/Physic/ForceGenerator/ParticleForceGenerator/ForceGenerationRegistry.cpp
JiaqiJin/KawaiiDesune
e5c3031898f96f1ec5370b41371b2c1cf22c3586
[ "MIT" ]
null
null
null
#include "../PrecompiledHeader.h" #include "ForceGenerationRegistry.h" namespace Physic { void ForceGenerationRegistry::RemoveForceGenerator(const IParticleForceGenerator* forceGenerator) { for (auto iter = forceGenerators.begin(); iter != forceGenerators.end(); ++iter) { if (*iter == forceGenerator) { ...
23.24
98
0.707401
JiaqiJin
54d521b3fe10fa2cd5a115f25348ec29ee237a8a
852
cpp
C++
201703/2.cpp
qzylalala/CSP
8bd474b0cb70b90c41e3fb87452724c5a2bc14fa
[ "Apache-2.0" ]
23
2021-03-01T07:07:48.000Z
2022-03-19T12:49:14.000Z
201703/2.cpp
qzylalala/CSP
8bd474b0cb70b90c41e3fb87452724c5a2bc14fa
[ "Apache-2.0" ]
null
null
null
201703/2.cpp
qzylalala/CSP
8bd474b0cb70b90c41e3fb87452724c5a2bc14fa
[ "Apache-2.0" ]
2
2021-08-30T09:35:17.000Z
2021-09-10T12:26:13.000Z
#include <iostream> #include <cstring> #include <algorithm> using namespace std; int n, m; int a[1010]; int main() { cin >> n; cin >> m; for (int i = 1; i <= n; i++) a[i] = i; while(m --) { int p, q; cin >> p >> q; int idx; for (int i = 1; i <= n; i++) { ...
18.933333
53
0.308685
qzylalala
54de68a0ba2a5cb767507d12925fd930b9eaf435
3,780
cc
C++
src/Modules/Legacy/DataIO/ReadMatrix.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Modules/Legacy/DataIO/ReadMatrix.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Modules/Legacy/DataIO/ReadMatrix.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2009 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
28.421053
83
0.692328
benjaminlarson
54e001bb8984467c6e695ea4fb4b844c42bb16fd
59,348
tcc
C++
include/solvers/mpm_base.tcc
jgiven100/mpm-1
adc83ab57782874d4dce1ac13be46bca1754a0fe
[ "MIT" ]
null
null
null
include/solvers/mpm_base.tcc
jgiven100/mpm-1
adc83ab57782874d4dce1ac13be46bca1754a0fe
[ "MIT" ]
null
null
null
include/solvers/mpm_base.tcc
jgiven100/mpm-1
adc83ab57782874d4dce1ac13be46bca1754a0fe
[ "MIT" ]
null
null
null
//! Constructor template <unsigned Tdim> mpm::MPMBase<Tdim>::MPMBase(const std::shared_ptr<IO>& io) : mpm::MPM(io) { //! Logger console_ = spdlog::get("MPMBase"); // Create a mesh with global id 0 const mpm::Index id = 0; // Set analysis step to start at 0 step_ = 0; // Set mesh as isoparametric bool...
37.255493
80
0.634967
jgiven100
54e372d63f2884a1d9cc555ce2b3aa6387125a89
2,190
cpp
C++
bbs/exec_os2.cpp
RPTST/wwiv_dietpi
202177393778e809ffe657095c1f77aa8f404651
[ "Apache-2.0" ]
157
2015-07-08T18:29:22.000Z
2022-03-10T10:22:58.000Z
bbs/exec_os2.cpp
RPTST/wwiv_dietpi
202177393778e809ffe657095c1f77aa8f404651
[ "Apache-2.0" ]
1,037
2015-07-18T03:09:12.000Z
2022-03-13T17:39:55.000Z
bbs/exec_os2.cpp
RPTST/wwiv_dietpi
202177393778e809ffe657095c1f77aa8f404651
[ "Apache-2.0" ]
74
2015-07-08T19:42:19.000Z
2021-12-22T06:15:46.000Z
/**************************************************************************/ /* */ /* WWIV Version 5.x */ /* Copyright (C)1998-2021, WWIV Software Services */ /* ...
41.320755
76
0.440639
RPTST
54f0ef86df8ebf9356f2995d7a7bee04ef3e64e2
1,740
hpp
C++
mesk-installer/Pages/bootloaderPage.hpp
aaly/Mesk-Installer
a3e07318c9bb08d02a7adfdda380eee5c829bab2
[ "BSD-3-Clause" ]
2
2019-01-12T06:20:38.000Z
2019-02-05T06:20:58.000Z
mesk-installer/Pages/bootloaderPage.hpp
aaly/Mesk-Installer
a3e07318c9bb08d02a7adfdda380eee5c829bab2
[ "BSD-3-Clause" ]
null
null
null
mesk-installer/Pages/bootloaderPage.hpp
aaly/Mesk-Installer
a3e07318c9bb08d02a7adfdda380eee5c829bab2
[ "BSD-3-Clause" ]
null
null
null
/****************************************************** * copyright 2011, 2012, 2013 AbdAllah Aly Saad , aaly90[@]gmail.com * Part of Mesklinux Installer * See LICENSE file for more info ******************************************************/ #ifndef BOOTLOADERPAGE_HPP #define BOOTLOADERPAGE_HPP #include <QtWidgets/Q...
16.571429
67
0.651149
aaly
54f101c539ee0891520d0b6610dbd5206de89e62
2,863
hpp
C++
libcore/include/sirikata/core/transfer/OAuthHttpManager.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
1
2016-05-09T03:34:51.000Z
2016-05-09T03:34:51.000Z
libcore/include/sirikata/core/transfer/OAuthHttpManager.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
libcore/include/sirikata/core/transfer/OAuthHttpManager.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2011 Sirikata Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can // be found in the LICENSE file. #ifndef _SIRIKATA_LIBCORE_OAUTH_HTTP_MANAGER_HPP_ #define _SIRIKATA_LIBCORE_OAUTH_HTTP_MANAGER_HPP_ #include <sirikata/core/transfer/HttpManager.hpp> #in...
41.492754
182
0.735592
pathorn
54f3d12579cb8e2a9b2145b2a85f0a84efd66f75
27,871
cpp
C++
libs2eplugins/src/s2e/Plugins/Checkers/MemoryBugChecker.cpp
trusslab/mousse
eb6ac492b15e2ca416a3b23bd4c4d115ae83b606
[ "MIT" ]
7
2020-04-27T03:53:16.000Z
2021-12-31T02:04:48.000Z
libs2eplugins/src/s2e/Plugins/Checkers/MemoryBugChecker.cpp
trusslab/mousse
eb6ac492b15e2ca416a3b23bd4c4d115ae83b606
[ "MIT" ]
null
null
null
libs2eplugins/src/s2e/Plugins/Checkers/MemoryBugChecker.cpp
trusslab/mousse
eb6ac492b15e2ca416a3b23bd4c4d115ae83b606
[ "MIT" ]
1
2020-07-15T05:19:28.000Z
2020-07-15T05:19:28.000Z
/// Copyright (C) 2010-2015, Dependable Systems Laboratory, EPFL /// Copyright (C) 2020, TrussLab@University of California, Irvine. /// Authors: Hsin-Wei Hung<hsinweih@uci.edu> /// All rights reserved. /// /// Licensed under the Cyberhaven Research License Agreement. /// #include "MemoryBugChecker.h" #include <s2e/S2...
38.495856
167
0.559757
trusslab
54f5801d9388ffab36e8d18a91e7f7804e4b564e
463
cpp
C++
leetcode/problems/easy/504-base-7.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/easy/504-base-7.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/easy/504-base-7.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Base 7 https://leetcode.com/problems/base-7/ Given an integer num, return a string of its base 7 representation. Example 1: Input: num = 100 Output: "202" Example 2: Input: num = -7 Output: "-10" Constraints: -107 <= num <= 107 */ class Solution { public: string convertToBase7(int n) { if (n ...
14.935484
67
0.609071
wingkwong
54f642de2d6c37b21f4bbf4a19b278b1e07e7524
3,999
cpp
C++
emf_core_bindings/src/emf_event.cpp
GabeRealB/emf
a233edaed7ed99948b0a935e6378bac131fdf4c2
[ "Apache-2.0", "MIT" ]
null
null
null
emf_core_bindings/src/emf_event.cpp
GabeRealB/emf
a233edaed7ed99948b0a935e6378bac131fdf4c2
[ "Apache-2.0", "MIT" ]
null
null
null
emf_core_bindings/src/emf_event.cpp
GabeRealB/emf
a233edaed7ed99948b0a935e6378bac131fdf4c2
[ "Apache-2.0", "MIT" ]
1
2021-01-10T15:00:08.000Z
2021-01-10T15:00:08.000Z
#include <emf_core/emf_event.h> #include <emf_core_bindings/emf_core_bindings.h> using namespace EMF::Core::C; namespace EMF::Core::Bindings::C { extern "C" { emf_event_handle_t EMF_CALL_C emf_event_create( const emf_event_name_t* EMF_NOT_NULL event_name, emf_event_handler_fn_t EMF_MAYBE_NULL event_handler) EMF...
43
128
0.829457
GabeRealB
54f8453c90ce9688988ec717ad5a17241d7ee8d8
180
cpp
C++
Landlords/Player.cpp
jie65535/Landlords
cb0cbae732af868c34fb66e01a7159dfc90992ee
[ "MIT" ]
null
null
null
Landlords/Player.cpp
jie65535/Landlords
cb0cbae732af868c34fb66e01a7159dfc90992ee
[ "MIT" ]
null
null
null
Landlords/Player.cpp
jie65535/Landlords
cb0cbae732af868c34fb66e01a7159dfc90992ee
[ "MIT" ]
1
2019-05-19T15:12:30.000Z
2019-05-19T15:12:30.000Z
#include "stdafx.h" #include "Player.h" Player::Player(playerID_t id): m_id(id), m_name(), m_integral(0), m_currRoom(0), isReady(false) { } Player::~Player() { }
12.857143
66
0.611111
jie65535
54fe6917cba19e2966b310eb77007a25e7d3dbf1
22,871
cc
C++
GRPC/grpc.pb.cc
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
150
2015-01-14T15:06:38.000Z
2018-08-28T09:34:17.000Z
GRPC/grpc.pb.cc
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
28
2015-05-11T02:45:39.000Z
2018-08-24T11:43:17.000Z
GRPC/grpc.pb.cc
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
91
2015-05-04T09:52:41.000Z
2018-08-18T13:02:15.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: grpc.proto #include "grpc.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/descriptor.h> #include <google/pr...
38.374161
162
0.738883
SoftlySpoken
0701c19396d73fb85d535bbc66f42e8da46a8c49
2,033
cpp
C++
Source/Qurses/Windows/WinQCgetsc.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/Qurses/Windows/WinQCgetsc.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/Qurses/Windows/WinQCgetsc.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
// Public Domain Curses #include "Qurses/Windows/pdcwin.h" #include "WinQL/Application/Console/WinQLConsoleScreenBuffer.h" #include "WinQL/Application/WinQLApplication.h" RCSID("$Id: pdcgetsc.c,v 1.36 2008/07/14 04:24:52 wmcbrine Exp $") //-----------------------------------------------------------------------------...
31.765625
85
0.614855
mfaithfull
07042b5ff176afe9602386c4bb725084db362100
1,720
cpp
C++
ewk/unittest/utc_blink_ewk_custom_handlers_data_url_get_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
9
2015-04-09T20:22:08.000Z
2021-03-17T08:34:56.000Z
ewk/unittest/utc_blink_ewk_custom_handlers_data_url_get_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
2
2015-02-04T13:41:12.000Z
2015-05-25T14:00:40.000Z
ewk/unittest/utc_blink_ewk_custom_handlers_data_url_get_func.cpp
isabella232/chromium-efl
db2d09aba6498fb09bbea1f8440d071c4b0fde78
[ "BSD-3-Clause" ]
14
2015-02-12T16:20:47.000Z
2022-01-20T10:36:26.000Z
// Copyright 2014 Samsung Electronics. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "utc_blink_ewk_base.h" class utc_blink_ewk_custom_handlers_data_url_get: public utc_blink_ewk_base { protected: void PostSetUp() { evas_o...
33.076923
152
0.764535
Jabawack
07043bd8b9db17683fd695131cccbf06e343a650
41,075
cpp
C++
src/gfx/conetracing_utils.cpp
scanberg/viamd
2e5330fad35f7c2116e15b4a538d5c4a5a18ca59
[ "MIT" ]
11
2018-06-04T14:51:32.000Z
2021-12-21T13:35:08.000Z
src/gfx/conetracing_utils.cpp
scanberg/viamd
2e5330fad35f7c2116e15b4a538d5c4a5a18ca59
[ "MIT" ]
19
2019-03-03T14:42:03.000Z
2022-03-01T19:09:49.000Z
src/gfx/conetracing_utils.cpp
scanberg/viamd
2e5330fad35f7c2116e15b4a538d5c4a5a18ca59
[ "MIT" ]
1
2020-06-08T15:56:57.000Z
2020-06-08T15:56:57.000Z
#include "conetracing_utils.h" #include <core/md_allocator.h> #include <core/md_log.h> #include <core/md_vec_math.h> #include <core/md_sync.h> #include "gfx/gl_utils.h" #include "gfx/immediate_draw_utils.h" #include "color_utils.h" #include "task_system.h" #include <atomic> namespace cone_trace { static GLuint va...
38.859981
152
0.642045
scanberg
0705ded8c58594566fd83efaab62fd5ad440f7fa
734
cpp
C++
src/DonePullBackTransition.cpp
songchaow/starcrat2-ai
ac6fbdb0e3d7839a76addea4e6aa50a4545841f3
[ "MIT" ]
3
2020-12-19T01:00:33.000Z
2021-12-01T01:13:21.000Z
src/DonePullBackTransition.cpp
songchaow/starcrat2-ai
ac6fbdb0e3d7839a76addea4e6aa50a4545841f3
[ "MIT" ]
null
null
null
src/DonePullBackTransition.cpp
songchaow/starcrat2-ai
ac6fbdb0e3d7839a76addea4e6aa50a4545841f3
[ "MIT" ]
2
2021-02-22T18:50:38.000Z
2022-03-21T17:37:24.000Z
#pragma once #include "DonePullBackTransition.h" #include "Util.h" DonePullBackTransition::DonePullBackTransition(const sc2::Unit * unit, sc2::Point2D position, FocusFireFSMState* nextState) { m_unit = unit; m_nextState = nextState; m_position = position; } bool DonePullBackTransition::isValid(const sc2::...
23.677419
154
0.70436
songchaow
070deed25ac1f79f3c817fa7d40653f414f79cd1
79,397
cc
C++
src/CoordinatorServerList.cc
taschik/ramcloud
6ef2e1cd61111995881d54bda6f9296b4777b928
[ "0BSD" ]
1
2016-01-18T12:41:28.000Z
2016-01-18T12:41:28.000Z
src/CoordinatorServerList.cc
taschik/ramcloud
6ef2e1cd61111995881d54bda6f9296b4777b928
[ "0BSD" ]
null
null
null
src/CoordinatorServerList.cc
taschik/ramcloud
6ef2e1cd61111995881d54bda6f9296b4777b928
[ "0BSD" ]
null
null
null
/* Copyright (c) 2011-2012 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(...
35.381907
81
0.658199
taschik
070e227492af93823042ca32da4c98d057bebc36
1,155
cpp
C++
d639.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
d639.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
d639.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <stdint.h> #define IOS {cin.tie(0); ios_base::sync_with_stdio(false);} using namespace std; #define MOD 10007 int in[3][1] = {1,1,1}; int a[3][3] = { {1,1,1}, {1,0,0}, {0,1,0} }; int ans[3][3]; void smul(int cmd,int n){ int c[n][n]; memset(c,0,sizeof(c)); if(c...
15.608108
60
0.415584
puyuliao
0718c00818e0f711b465c54464e451619c0c61d2
30,427
cpp
C++
src/zimg/graph/filtergraph.cpp
dubhater/zimg
59ca0556789656a439f32b4cdfc8e26db32b8252
[ "WTFPL" ]
null
null
null
src/zimg/graph/filtergraph.cpp
dubhater/zimg
59ca0556789656a439f32b4cdfc8e26db32b8252
[ "WTFPL" ]
null
null
null
src/zimg/graph/filtergraph.cpp
dubhater/zimg
59ca0556789656a439f32b4cdfc8e26db32b8252
[ "WTFPL" ]
null
null
null
#include <algorithm> #include <cmath> #include <cstdint> #include <vector> #include "common/align.h" #include "common/alloc.h" #include "common/except.h" #include "common/make_unique.h" #include "common/pixel.h" #include "common/zassert.h" #include "basic_filter.h" #include "filtergraph.h" #include "image_filter.h" na...
27.166964
155
0.717685
dubhater
071acf7b15d940c30e26b7e142a93f1d516e8f91
2,272
hpp
C++
android-28/android/widget/NumberPicker.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/widget/NumberPicker.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-28/android/widget/NumberPicker.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "./LinearLayout.hpp" class JArray; namespace android::content { class Context; } namespace android::graphics { class Canvas; } namespace android::view { class KeyEvent; } namespace android::view { class MotionEvent; } namespace android::view::accessibility { class AccessibilityNodeProvider;...
30.293333
175
0.766285
YJBeetle
071ca975acd4d8f19bb9c6e09446bbd8b9f07cc6
3,285
hh
C++
packages/Alea/mc_solvers/ForwardMcKernel.hh
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
19
2015-06-04T09:02:41.000Z
2021-04-27T19:32:55.000Z
packages/Alea/mc_solvers/ForwardMcKernel.hh
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
null
null
null
packages/Alea/mc_solvers/ForwardMcKernel.hh
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
5
2016-10-05T20:48:28.000Z
2021-06-21T12:00:54.000Z
//----------------------------------*-C++-*----------------------------------// /*! * \file Alea/mc_solvers/ForwardMcKernel.hh * \author Steven Hamilton * \brief Perform adjoint MC histories to solve linear system. */ //---------------------------------------------------------------------------// #ifndef Alea_m...
33.865979
88
0.620091
GCZhang
071d364afaa90c88adc4731ad4709eb2f3b9a775
9,643
cpp
C++
SinkTheFleet/SinkTheFleet/CPlayer.cpp
MJBrune/RandomProjects
c24d8aa78aa9d5a6df8ae186a92a82165a96c50c
[ "WTFPL" ]
null
null
null
SinkTheFleet/SinkTheFleet/CPlayer.cpp
MJBrune/RandomProjects
c24d8aa78aa9d5a6df8ae186a92a82165a96c50c
[ "WTFPL" ]
null
null
null
SinkTheFleet/SinkTheFleet/CPlayer.cpp
MJBrune/RandomProjects
c24d8aa78aa9d5a6df8ae186a92a82165a96c50c
[ "WTFPL" ]
null
null
null
#include "CPlayer.h" using namespace JP_CSHIPINFO; CPlayer::CPlayer(unsigned short whichPlayer, char gridSize) :m_whichPlayer(whichPlayer), m_gridSize(gridSize) { for (short i = 0; i < 2; i++) m_gameGrid[i] = NULL; allocateMemory(); for (short j = 0; j < 6; j++)//SHIP_SIZE_ARRAYSIZE { m_ships[j].setName((...
24.1075
100
0.619724
MJBrune
072745020649226af6dd2f0f5e63cc5cd212aab1
1,420
cpp
C++
src/queries/model/not.cpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
src/queries/model/not.cpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
src/queries/model/not.cpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
#include "not.hpp" #include "../../queries/builders/ast.hpp" using namespace std; using namespace indexes; namespace queries::model { void NotModel::execute(queries::builders::AST *ast) { if (exprList.size() != 1) { Log::error(ast->getQueryStatus(),"SQL query NOT should have 1 children. "+ast->getSaveqQu...
34.634146
104
0.602113
enerc
072e60f746552c111c7bc04bf4cb3d53b3ca989a
5,018
cpp
C++
test/test_mrt.cpp
balsini/FREDSim
720dc30d4c2f8a51a05ec74584aef352f029c19f
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-05-24T15:20:53.000Z
2020-05-24T15:20:53.000Z
test/test_mrt.cpp
balsini/rtlib2.0
720dc30d4c2f8a51a05ec74584aef352f029c19f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
test/test_mrt.cpp
balsini/rtlib2.0
720dc30d4c2f8a51a05ec74584aef352f029c19f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#include "catch.hpp" #include <metasim.hpp> #include <rttask.hpp> #include <mrtkernel.hpp> #include <edfsched.hpp> #include <cbserver.hpp> using namespace MetaSim; using namespace RTSim; TEST_CASE("multicore") { EDFScheduler sched; MRTKernel kern(&sched, 2); PeriodicTask t1(10, 10, 0, "task 1"); t1.i...
29.174419
61
0.624352
balsini
073004cd565b9f199516972e25a6a3aba0258f63
2,800
cpp
C++
src/speedex/LiquidityPoolSetFrame.cpp
sandymule/stellar-core
d5f0abf8d78770aec1f6d0b8f3718f4dc0462a13
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
4
2021-11-05T07:18:21.000Z
2021-12-13T01:16:25.000Z
src/speedex/LiquidityPoolSetFrame.cpp
sandymule/stellar-core
d5f0abf8d78770aec1f6d0b8f3718f4dc0462a13
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
1
2021-12-09T04:33:19.000Z
2021-12-09T04:33:19.000Z
src/speedex/LiquidityPoolSetFrame.cpp
sandymule/stellar-core
d5f0abf8d78770aec1f6d0b8f3718f4dc0462a13
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
1
2021-12-08T23:16:19.000Z
2021-12-08T23:16:19.000Z
#include "speedex/LiquidityPoolSetFrame.h" #include "ledger/LedgerTxn.h" #include "speedex/DemandUtils.h" #include "speedex/sim_utils.h" #include <utility> #include "util/types.h" namespace stellar { LiquidityPoolSetFrame::LiquidityPoolSetFrame(std::vector<Asset> const& assets, AbstractLedgerTxn& ltx) { for (aut...
27.184466
140
0.735714
sandymule
0730fb13c4c0c48914c88c97430ecfff43d01c53
657
cpp
C++
src/cpp/2016-12-3/Code9-240-SearchA2DMatrix2.cpp
spurscoder/forTest
2ab069d6740f9d7636c6988a5a0bd3825518335d
[ "MIT" ]
null
null
null
src/cpp/2016-12-3/Code9-240-SearchA2DMatrix2.cpp
spurscoder/forTest
2ab069d6740f9d7636c6988a5a0bd3825518335d
[ "MIT" ]
1
2018-10-24T05:48:27.000Z
2018-10-24T05:52:14.000Z
src/cpp/2016-12-3/Code9-240-SearchA2DMatrix2.cpp
spurscoder/forTest
2ab069d6740f9d7636c6988a5a0bd3825518335d
[ "MIT" ]
null
null
null
/* Description: Write an efficient algorithm that searches for a value in an m*n matrix, this matrix has the following properties: * integers in each row are sorted in ascending from left to right; * integers in each column are sorted in ascending from top to bottom. */ // O(M+N) class Solution { public: bool ...
24.333333
73
0.613394
spurscoder
0732a25a1d8aa2ecb1706820e779cf60b1e30811
116,763
cpp
C++
ToolKit/SyntaxEdit/XTPSyntaxEditLexParser.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
2
2018-03-30T06:40:08.000Z
2022-02-23T12:40:13.000Z
ToolKit/SyntaxEdit/XTPSyntaxEditLexParser.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
null
null
null
ToolKit/SyntaxEdit/XTPSyntaxEditLexParser.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
1
2020-08-11T05:48:02.000Z
2020-08-11T05:48:02.000Z
// XTPSyntaxEditLexParser.cpp : implementation file // // This file is a part of the XTREME TOOLKIT PRO MFC class library. // (c)1998-2011 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED ...
25.126533
141
0.668491
11Zero
0733f85dcd68299e7d441edff00d18c459dddfab
5,888
cpp
C++
DynacoeSrc/srcs/Dynacoe/Image.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
1
2015-11-06T18:10:11.000Z
2015-11-06T18:10:11.000Z
DynacoeSrc/srcs/Dynacoe/Image.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
8
2018-01-25T03:54:32.000Z
2018-09-17T01:55:35.000Z
DynacoeSrc/srcs/Dynacoe/Image.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2018, Johnathan Corkery. (jcorkery@umich.edu) All rights reserved. This file is part of the Dynacoe project (https://github.com/jcorks/Dynacoe) Dynacoe was released under the MIT License, as detailed below. Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
26.763636
118
0.633492
jcorks
0734ddf23edf805925573bd9f0ad8fbd88c8ffe2
295
cpp
C++
src/common/copypaste_obj.cpp
krogenth/G2DataGUI
6bf4ef7bc90e72cf8fd33b9028cf00859dd8aa28
[ "MIT" ]
1
2021-04-20T04:34:59.000Z
2021-04-20T04:34:59.000Z
src/common/copypaste_obj.cpp
krogenth/G2DataGUI
6bf4ef7bc90e72cf8fd33b9028cf00859dd8aa28
[ "MIT" ]
3
2020-05-22T12:34:35.000Z
2021-07-02T15:46:42.000Z
src/common/copypaste_obj.cpp
krogenth/G2DataGUI
6bf4ef7bc90e72cf8fd33b9028cf00859dd8aa28
[ "MIT" ]
1
2020-05-20T00:29:38.000Z
2020-05-20T00:29:38.000Z
#include "..\include\common\copypaste_obj.h" void* clipboard = nullptr; std::string objType = ""; void copyObj(void* obj, std::string type) { clipboard = obj; objType = type; } void* pasteObj() { return clipboard; } bool checkObjType(std::string type) { return (objType == type); }
12.826087
44
0.667797
krogenth
0752246cd28c89516c6ed24d8a75050699115d71
1,186
hpp
C++
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/CurveTexture.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/CurveTexture.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
null
null
null
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/CurveTexture.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
1
2021-01-04T21:12:05.000Z
2021-01-04T21:12:05.000Z
#ifndef GODOT_CPP_CURVETEXTURE_HPP #define GODOT_CPP_CURVETEXTURE_HPP #include <gdnative_api_struct.gen.h> #include <stdint.h> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include "Texture.hpp" namespace godot { class Curve; class CurveTexture : public Texture { struct ___method_bindings { godot_meth...
23.72
245
0.766442
jerry871002
07540d3da3c2bc6c01f7efbae4a369df0b7a4229
1,919
cpp
C++
FSE/PhysContactListener.cpp
Alia5/FSE
e53565aa1bbf0235dfcd2c3209d18b64c1fb2df1
[ "MIT" ]
17
2017-04-02T00:17:47.000Z
2021-11-23T21:42:48.000Z
FSE/PhysContactListener.cpp
Alia5/FSE
e53565aa1bbf0235dfcd2c3209d18b64c1fb2df1
[ "MIT" ]
null
null
null
FSE/PhysContactListener.cpp
Alia5/FSE
e53565aa1bbf0235dfcd2c3209d18b64c1fb2df1
[ "MIT" ]
5
2017-08-06T12:47:18.000Z
2020-08-14T14:16:22.000Z
#include "PhysContactListener.h" #include "FSEObject/FSEObject.h" namespace fse { PhysContactListener::PhysContactListener() { } PhysContactListener::~PhysContactListener() { } void PhysContactListener::BeginContact(b2Contact* contact) { FSEObject * objectA = static_cast<FSEObject*>(contact->GetFixtureA...
29.523077
98
0.712871
Alia5
075a2e0253776a5cfbfa84b5f98579518e184fc8
221
hpp
C++
lbench/include/likely.hpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
115
2019-09-28T13:39:41.000Z
2022-03-24T11:08:53.000Z
lbench/include/likely.hpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
120
2018-05-16T23:11:09.000Z
2019-09-25T18:52:49.000Z
lbench/include/likely.hpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
44
2019-09-28T07:53:21.000Z
2022-02-13T23:21:12.000Z
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #ifndef likely #define likely(x) __builtin_expect((x), 1) #endif #ifndef unlikely #define unlikely(x) __builtin_expect((x), 0) #endif
24.555556
85
0.751131
milad621
075b5f156f565a1f9be5c2700c0f2b8a57985269
1,610
cpp
C++
pochi_libs_and_includes/include/fastinterp/fastinterp_tpl_throw_exception.cpp
dghosef/taco
c5074c359af51242d76724f97bb5fe7d9b638658
[ "MIT" ]
null
null
null
pochi_libs_and_includes/include/fastinterp/fastinterp_tpl_throw_exception.cpp
dghosef/taco
c5074c359af51242d76724f97bb5fe7d9b638658
[ "MIT" ]
null
null
null
pochi_libs_and_includes/include/fastinterp/fastinterp_tpl_throw_exception.cpp
dghosef/taco
c5074c359af51242d76724f97bb5fe7d9b638658
[ "MIT" ]
null
null
null
#define POCHIVM_INSIDE_FASTINTERP_TPL_CPP #include "fastinterp_tpl_common.hpp" #include "fastinterp_function_alignment.h" #include "fastinterp_tpl_return_type.h" namespace PochiVM { struct FIThrowExceptionImpl { template<bool isQuickAccess> static constexpr bool cond() { return true; } /...
25.555556
79
0.685093
dghosef
075fb5c1655e594d033995cff4bcc35fb672c506
681
cpp
C++
1027.cpp
gysss/PAT
1652927317b35f86eb10d399042c2289e65d8d70
[ "Apache-2.0" ]
null
null
null
1027.cpp
gysss/PAT
1652927317b35f86eb10d399042c2289e65d8d70
[ "Apache-2.0" ]
null
null
null
1027.cpp
gysss/PAT
1652927317b35f86eb10d399042c2289e65d8d70
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <stdio.h> #include <cmath> #include <string> using namespace std; int main(int argc, char * argv[]){ int N; char t; cin>>N>>t; int i=sqrt((N+1)/2); for (int j = 0;j<i;j++) { for (int n = 0; n < j; ++n) { cout<<" "; } for (int m = 0; m < 2*i-1-2*j-1; ++m) { cout<<t<<"...
14.1875
39
0.422907
gysss
79e32a9967b1821e49733abcbbc72c012d7dc10f
1,205
cpp
C++
esp32s-wroom/Webthings-Controller/src/main.cpp
raushanraja/IOTExmaples
1973381b99e4a4bd3303b9e3c2739c7482b27ea4
[ "Unlicense" ]
null
null
null
esp32s-wroom/Webthings-Controller/src/main.cpp
raushanraja/IOTExmaples
1973381b99e4a4bd3303b9e3c2739c7482b27ea4
[ "Unlicense" ]
null
null
null
esp32s-wroom/Webthings-Controller/src/main.cpp
raushanraja/IOTExmaples
1973381b99e4a4bd3303b9e3c2739c7482b27ea4
[ "Unlicense" ]
null
null
null
#include <Arduino.h> #include <WiFi.h> #include <ArduinoHttpClient.h> const char *ssid = "dlink_DWR-920V_7EE5"; const char *password = "nhaza95645"; const int hostPort = 80; const char *hostAddress = "192.168.0.24"; WiFiClient wifi; HttpClient client = HttpClient(wifi, hostAddress, hostPort); int touchInput; int val...
21.140351
76
0.661411
raushanraja
79ebf4f7fc80fba0e2ea0599a01d1ef57f8b53a6
5,109
cpp
C++
Engine/Src/Memory/MemoryProfiler.cpp
felipegodias/PlutoEngine
0ee5304b35f8b5edb0cb6d2635285daff9e35b21
[ "MIT" ]
null
null
null
Engine/Src/Memory/MemoryProfiler.cpp
felipegodias/PlutoEngine
0ee5304b35f8b5edb0cb6d2635285daff9e35b21
[ "MIT" ]
5
2021-12-10T23:27:43.000Z
2021-12-23T00:49:04.000Z
Engine/Src/Memory/MemoryProfiler.cpp
felipegodias/PlutoEngine
0ee5304b35f8b5edb0cb6d2635285daff9e35b21
[ "MIT" ]
null
null
null
#include "Pluto/Engine/Memory/MemoryProfiler.h" #include <algorithm> #include <iostream> #include <map> #include <unordered_map> #include <vector> namespace Pluto::Engine { namespace { size_t totalUsedBytes = 0; template <class Ty> class MPAllocator { public: ...
31.732919
118
0.557056
felipegodias
79ed0d94f4ce09d7aca47bbd4d52f7e72f5778b8
6,335
hpp
C++
vox_nav_planning/include/vox_nav_planning/planner_core.hpp
NMBURobotics/vox_nav
7d71c97166ce57680bf2e637cca7c745d55b045a
[ "Apache-2.0" ]
47
2021-06-03T08:46:51.000Z
2022-03-31T08:07:09.000Z
vox_nav_planning/include/vox_nav_planning/planner_core.hpp
BADAL244/vox_nav
cd88c8a921feed65a92355d6246cf6cb8dd27939
[ "Apache-2.0" ]
6
2021-06-06T01:17:38.000Z
2022-01-06T10:01:53.000Z
vox_nav_planning/include/vox_nav_planning/planner_core.hpp
BADAL244/vox_nav
cd88c8a921feed65a92355d6246cf6cb8dd27939
[ "Apache-2.0" ]
10
2021-06-03T08:46:53.000Z
2022-03-04T00:57:51.000Z
// Copyright (c) 2020 Fetullah Atas, Norwegian University of Life Sciences // // 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 // // Unles...
34.807692
117
0.74412
NMBURobotics
79f1d251fe95783f271c6f7de50452135402a571
2,439
cpp
C++
source/geom/border.cpp
taogashi/mlib
56d0ac08205b3a09cac7ed97209454cc6262c924
[ "Unlicense", "MIT" ]
12
2020-07-08T04:21:44.000Z
2022-03-24T10:02:03.000Z
source/geom/border.cpp
taogashi/mlib
56d0ac08205b3a09cac7ed97209454cc6262c924
[ "Unlicense", "MIT" ]
null
null
null
source/geom/border.cpp
taogashi/mlib
56d0ac08205b3a09cac7ed97209454cc6262c924
[ "Unlicense", "MIT" ]
2
2020-07-22T09:00:40.000Z
2021-06-29T13:54:10.000Z
/*! \file border.cpp Implementation of Border object (c) Mircea Neacsu 2017 */ #include <mlib/border.h> #include <stdio.h> #include <algorithm> #include <utf8/utf8.h> using namespace std; /*! \defgroup geom Geometry \brief Geometry concepts and algorithms */ namespace mlib { /*! \class Border \ingro...
19.991803
81
0.633046
taogashi
79f856cdd4b92251b567035ef65143e58204e868
8,330
cpp
C++
Simulation/src/manipulator/src/RobotHWInterface.cpp
Cinek28/Manipulator
de42d956edb9c5a26f61cee605023cd71bddc581
[ "MIT" ]
null
null
null
Simulation/src/manipulator/src/RobotHWInterface.cpp
Cinek28/Manipulator
de42d956edb9c5a26f61cee605023cd71bddc581
[ "MIT" ]
null
null
null
Simulation/src/manipulator/src/RobotHWInterface.cpp
Cinek28/Manipulator
de42d956edb9c5a26f61cee605023cd71bddc581
[ "MIT" ]
null
null
null
#include <sstream> #include <std_msgs/Float64.h> #include "RobotHWInterface.h" using namespace hardware_interface; using joint_limits_interface::JointLimits; using joint_limits_interface::PositionJointSoftLimitsHandle; using joint_limits_interface::PositionJointSoftLimitsInterface; using joint_limits_interface::SoftJo...
37.522523
116
0.685714
Cinek28
0302acb3cb76ec9f92d2dce3bd8efdd63ce082c2
2,065
cpp
C++
wpilibc/src/main/native/cpp/Compressor.cpp
lhvy/allwpilib
cc31079a1123498faf1acfb7f12b5976c6a686af
[ "BSD-3-Clause" ]
39
2021-06-18T03:22:30.000Z
2022-03-21T15:23:43.000Z
wpilibc/src/main/native/cpp/Compressor.cpp
lhvy/allwpilib
cc31079a1123498faf1acfb7f12b5976c6a686af
[ "BSD-3-Clause" ]
10
2021-06-18T03:22:19.000Z
2022-03-18T22:14:15.000Z
wpilibc/src/main/native/cpp/Compressor.cpp
lhvy/allwpilib
cc31079a1123498faf1acfb7f12b5976c6a686af
[ "BSD-3-Clause" ]
4
2021-08-19T19:20:04.000Z
2022-03-08T07:33:18.000Z
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "frc/Compressor.h" #include <hal/FRCUsageReporting.h> #include <hal/Ports.h> #include <wpi/sendable/SendableBu...
28.287671
78
0.743341
lhvy
03033a70d7d6c863f038d38a0f8745b2ede7df17
4,817
hpp
C++
query_optimizer/logical/TableReference.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
query_optimizer/logical/TableReference.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
query_optimizer/logical/TableReference.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.000Z
/** * 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 under the Apache License, Version 2.0 (the * "License"); you...
33.451389
97
0.744032
Hacker0912
03059a397b411fb7e5880a29eb03be4cbaefedf9
2,601
hpp
C++
libs/pika/async_cuda/include/pika/async_cuda/cuda_event.hpp
pika-org/pika
c80f542b2432a7f108fcfba31a5fe5073ad2b3e1
[ "BSL-1.0" ]
13
2022-01-17T12:01:48.000Z
2022-03-16T10:03:14.000Z
libs/pika/async_cuda/include/pika/async_cuda/cuda_event.hpp
pika-org/pika
c80f542b2432a7f108fcfba31a5fe5073ad2b3e1
[ "BSL-1.0" ]
163
2022-01-17T17:36:45.000Z
2022-03-31T17:42:57.000Z
libs/pika/async_cuda/include/pika/async_cuda/cuda_event.hpp
pika-org/pika
c80f542b2432a7f108fcfba31a5fe5073ad2b3e1
[ "BSL-1.0" ]
4
2022-01-19T08:44:22.000Z
2022-01-31T23:16:21.000Z
// Copyright (c) 2020 John Biddiscombe // Copyright (c) 2020 Teodor Nikolov // // 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) #pragma once #include <pika/async_cuda/cuda_e...
29.896552
81
0.576701
pika-org
0306b8266d2e2748f1549e9e751e5f9551a5fa87
1,091
hpp
C++
AudioKit/Core/Devoloop/FFTReal/FFTRealSelect.hpp
ethi1989/AudioKit
97acc8da6dfb75408b2276998073de7a4511d480
[ "MIT" ]
206
2020-10-28T12:47:49.000Z
2022-03-26T14:09:30.000Z
AudioKit/Core/Devoloop/FFTReal/FFTRealSelect.hpp
ethi1989/AudioKit
97acc8da6dfb75408b2276998073de7a4511d480
[ "MIT" ]
7
2020-10-29T10:29:23.000Z
2021-08-07T00:22:03.000Z
AudioKit/Core/Devoloop/FFTReal/FFTRealSelect.hpp
ethi1989/AudioKit
97acc8da6dfb75408b2276998073de7a4511d480
[ "MIT" ]
30
2020-10-28T16:11:40.000Z
2021-12-28T01:15:23.000Z
/***************************************************************************** FFTRealSelect.hpp By Laurent de Soras --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of...
24.795455
79
0.662695
ethi1989
0307638490f51f2f3ee12d67be17b4211ab1146f
6,917
cpp
C++
uwsim_resources/uwsim_osgworks/src/osgwTools/CameraConfigObject.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
1
2020-11-30T09:55:33.000Z
2020-11-30T09:55:33.000Z
uwsim_resources/uwsim_osgworks/src/osgwTools/CameraConfigObject.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
null
null
null
uwsim_resources/uwsim_osgworks/src/osgwTools/CameraConfigObject.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
2
2020-11-21T19:50:54.000Z
2020-12-27T09:35:29.000Z
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * osgWorks is (C) Copyright 2009-2012 by Kenneth Mark Bryden * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1 as published by the Fr...
30.879464
179
0.649414
epsilonorion
030eafb0b7ac23687c5efb8afc68be333019151f
157
hpp
C++
examples/Basics/Objects/MultipleConstructors/Spot.hpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
12
2015-01-12T07:43:22.000Z
2022-03-08T06:43:20.000Z
examples/Basics/Objects/MultipleConstructors/Spot.hpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
null
null
null
examples/Basics/Objects/MultipleConstructors/Spot.hpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
7
2015-02-09T15:44:10.000Z
2019-07-07T11:48:10.000Z
#ifndef SPOT_H_ #define SPOT_H_ class Spot { public: float x, y, radius; Spot(); Spot(float xpos, float ypos, float r); void display(); }; #endif
11.214286
40
0.649682
RedErr404
030efcd4bd56bbf3445de59d7ef7886102b22d89
4,502
cpp
C++
Source/FieldSolver/SpectralSolver/WrapCuFFT.cpp
hklion/WarpX
3c2d0ee2815ab1df21b9f78d899fe7b1a9651758
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/FieldSolver/SpectralSolver/WrapCuFFT.cpp
hklion/WarpX
3c2d0ee2815ab1df21b9f78d899fe7b1a9651758
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/FieldSolver/SpectralSolver/WrapCuFFT.cpp
hklion/WarpX
3c2d0ee2815ab1df21b9f78d899fe7b1a9651758
[ "BSD-3-Clause-LBNL" ]
null
null
null
/* Copyright 2019-2020 * * This file is part of WarpX. * * License: BSD-3-Clause-LBNL */ #include "AnyFFT.H" #include "Utils/TextMsg.H" namespace AnyFFT { #ifdef AMREX_USE_FLOAT cufftType VendorR2C = CUFFT_R2C; cufftType VendorC2R = CUFFT_C2R; #else cufftType VendorR2C = CUFFT_D2Z; cufftType Ve...
34.106061
100
0.585962
hklion
03175d0092112734f5bb759fc792973c9de43d16
6,356
cpp
C++
Core/PawnEngine/engine/data/AssimpLoader.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Core/PawnEngine/engine/data/AssimpLoader.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Core/PawnEngine/engine/data/AssimpLoader.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
#include "AssimpLoader.h" #include "MeshNodeData.h" #include "assimp/Importer.hpp" #include "assimp/scene.h" #include "assimp/postprocess.h" #include "PawnGraphics/graphics/GraphicsBuffer.h" #include "PawnGraphics/graphics/GraphicsInputLayout.h" #include "PawnGraphics/graphics/GraphicsShader.h" #include "...
33.989305
171
0.689899
obivan43
0317628ab7974cb8dc9f3e4d1c23ad6aea2bd20d
2,975
cpp
C++
src/base/CollisionManager.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/base/CollisionManager.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/base/CollisionManager.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
/* * Copyright 2018 <copyright holder> <email> * * 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 la...
35.416667
154
0.631933
serserar
03190068520782c4c3c2e061e34bad33800edf0d
1,110
hpp
C++
src/server/server.hpp
TheSonOfDeimos/TCP-File-Transfer
1bd258e05767cb96a6b8d9739ff319a328f7198b
[ "MIT" ]
null
null
null
src/server/server.hpp
TheSonOfDeimos/TCP-File-Transfer
1bd258e05767cb96a6b8d9739ff319a328f7198b
[ "MIT" ]
8
2020-05-21T22:03:27.000Z
2020-06-28T20:30:03.000Z
src/server/server.hpp
TheSonOfDeimos/TCP-File-Transfer
1bd258e05767cb96a6b8d9739ff319a328f7198b
[ "MIT" ]
null
null
null
#ifndef SERVER_H #define SERVER_H #include <boost/asio.hpp> class Session { public: Session(boost::asio::io_service& t_io_service, const std::string& t_file_dir_path); boost::asio::ip::tcp::socket& socket(); void start(); private: void handleReadFileSize(const boost::system::error_code& t_error, const s...
25.813953
178
0.741441
TheSonOfDeimos
031a9cb64baaba5ba400c78f1bc822396b90ae90
1,993
cpp
C++
lib/bson/src/Element/Timestamp.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/bson/src/Element/Timestamp.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/bson/src/Element/Timestamp.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
#include "astateful/bson/Element/Timestamp.hpp" namespace astateful { namespace bson { ElementTimestamp::ElementTimestamp( const std::string& key, int32_t increment, int32_t second ) : m_increment( increment ), m_second( second ), Element( key ) {} ElementTimestam...
29.308824
75
0.545409
astateful
03247edd45d05df98526828eed142e8e0b145d84
221
cpp
C++
Cplusplus/week_four/homework/inventory.cpp
nexusstar/SoftUni
b97bdb08a227fd335df5b7869940c14717f760f2
[ "MIT" ]
1
2016-12-20T19:53:03.000Z
2016-12-20T19:53:03.000Z
Cplusplus/week_four/homework/inventory.cpp
nexusstar/SoftUni
b97bdb08a227fd335df5b7869940c14717f760f2
[ "MIT" ]
null
null
null
Cplusplus/week_four/homework/inventory.cpp
nexusstar/SoftUni
b97bdb08a227fd335df5b7869940c14717f760f2
[ "MIT" ]
null
null
null
#include "inventory.h" #include <iostream> Inventory::Inventory() { } Inventory::~Inventory(){ for(Item* item : items){ delete item; } } void Inventory::addItem(Item* item){ items.push_back(item); }
14.733333
36
0.633484
nexusstar
0326e70b4dcd95027a0fdc621d549570f737347e
978
cpp
C++
solutions/1286.iterator-for-combination.326123792.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/1286.iterator-for-combination.326123792.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/1286.iterator-for-combination.326123792.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class CombinationIterator { string s; int l; vector<int> indices; bool _hasNext = true; void _setNext() { for (int i = l - 1; i >= 0; i--) { if (indices[i] != s.size() - (l - i)) { indices[i]++; for (int j = i + 1; j < l; j++) { indices[j] = indices[j - 1] + 1; } ...
22.227273
75
0.562372
satu0king
0331df4b05dfecb4d359fe750865eedf6597cebe
7,322
cpp
C++
src/storage/page/hash_table_directory_page.cpp
epis2048/cmu_15445_2021
48b56b2e139facfbad99b45fca3e26f3aef9cf72
[ "MIT" ]
3
2022-02-18T04:38:40.000Z
2022-03-22T12:40:51.000Z
src/storage/page/hash_table_directory_page.cpp
epis2048/cmu_15445_2021
48b56b2e139facfbad99b45fca3e26f3aef9cf72
[ "MIT" ]
null
null
null
src/storage/page/hash_table_directory_page.cpp
epis2048/cmu_15445_2021
48b56b2e139facfbad99b45fca3e26f3aef9cf72
[ "MIT" ]
3
2022-03-06T18:31:28.000Z
2022-03-27T13:16:05.000Z
//===----------------------------------------------------------------------===// // // BusTub // // hash_table_header_page.cpp // // Identification: src/storage/page/hash_table_header_page.cpp // // Copyright (c) 2015-2021, Carnegie Mellon University Database Group // //===----------------------...
32.834081
111
0.699399
epis2048
033a15ef7f18cd379dae8b94658905a468f855e2
97
cpp
C++
Foundation/Test/TestFixture.cpp
cristian-szabo/benchmark-numeric-conversion
837c9a483b18523e2660a4102ba714c0ff1bf16e
[ "MIT" ]
null
null
null
Foundation/Test/TestFixture.cpp
cristian-szabo/benchmark-numeric-conversion
837c9a483b18523e2660a4102ba714c0ff1bf16e
[ "MIT" ]
null
null
null
Foundation/Test/TestFixture.cpp
cristian-szabo/benchmark-numeric-conversion
837c9a483b18523e2660a4102ba714c0ff1bf16e
[ "MIT" ]
null
null
null
#include "TestFixture.hpp" void TestFixture::Setup() {} void TestFixture::Teardown() {}
12.125
29
0.659794
cristian-szabo
033a2824770e7f6bc1e873ae1d4f35cd7fbb0af0
1,448
hpp
C++
sycl/include/CL/sycl/detail/event_info.hpp
jcranmer-intel/llvm-sycl
45dbbd128e4793681ed9d40a3c018f44c17449ec
[ "Apache-2.0" ]
1
2020-09-25T23:33:05.000Z
2020-09-25T23:33:05.000Z
sycl/include/CL/sycl/detail/event_info.hpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
sycl/include/CL/sycl/detail/event_info.hpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
//==---------------- event_info.hpp - SYCL event ---------------------------==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
31.478261
80
0.654006
jcranmer-intel
033ffddc8db4e8d377d0c608147e51769606973d
4,908
cpp
C++
utils/vvcompose/lua_tvec3d.cpp
rosik/vvflow
87caadf3973b31058a16a1372365ae8a7a157cdb
[ "MIT" ]
29
2020-08-05T16:08:35.000Z
2022-02-21T06:43:01.000Z
utils/vvcompose/lua_tvec3d.cpp
rosik/vvflow
87caadf3973b31058a16a1372365ae8a7a157cdb
[ "MIT" ]
6
2021-01-07T21:29:57.000Z
2021-06-28T20:54:04.000Z
utils/vvcompose/lua_tvec3d.cpp
rosik/vvflow
87caadf3973b31058a16a1372365ae8a7a157cdb
[ "MIT" ]
6
2020-07-24T06:53:54.000Z
2022-01-06T06:12:45.000Z
#include "lua_tvec3d.h" #include "lua_tvec.h" #include "getset.h" #include "elementary.h" // #include <cstdio> #include <cstring> static int tvec3d_tostring(lua_State *L) { TVec3D* vec = lua_checkTVec3D(L, 1); lua_pushfstring(L, "TVec3D(%f,%f,%f)", vec->r.x, vec->r.y, vec->o); return 1; } static int tve...
25.696335
85
0.582315
rosik
03403139a85d8ec489c4ed2463b6797e8d9a66d5
8,111
cpp
C++
Tests/DiligentCoreAPITest/src/D3D11/DrawCommandReferenceD3D11.cpp
AndreyMlashkin/DiligentCore
20d5d7d2866e831a73437db2dec16bdc61413eb0
[ "Apache-2.0" ]
null
null
null
Tests/DiligentCoreAPITest/src/D3D11/DrawCommandReferenceD3D11.cpp
AndreyMlashkin/DiligentCore
20d5d7d2866e831a73437db2dec16bdc61413eb0
[ "Apache-2.0" ]
null
null
null
Tests/DiligentCoreAPITest/src/D3D11/DrawCommandReferenceD3D11.cpp
AndreyMlashkin/DiligentCore
20d5d7d2866e831a73437db2dec16bdc61413eb0
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2021 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
39.373786
180
0.707311
AndreyMlashkin
03403507413db328a98871561454d7721cef3ae8
2,654
cpp
C++
src/tracer/render_task.cpp
JakMobius/zeta_path_tracer
f17ac4e882319c6dd7dff545f7f1e1bf9cb045e1
[ "MIT" ]
3
2021-09-13T14:41:22.000Z
2021-09-18T07:59:15.000Z
src/tracer/render_task.cpp
JakMobius/zeta_path_tracer
f17ac4e882319c6dd7dff545f7f1e1bf9cb045e1
[ "MIT" ]
2
2021-03-26T15:04:54.000Z
2021-09-13T13:20:59.000Z
src/tracer/render_task.cpp
JakMobius/zeta_path_tracer
f17ac4e882319c6dd7dff545f7f1e1bf9cb045e1
[ "MIT" ]
3
2021-03-23T22:42:43.000Z
2021-12-18T21:58:58.000Z
#include "render_task.h" RenderTask::RenderTask(): id(0), min_x(0), max_x(0), min_y(0), max_y(0) {} RenderTask::RenderTask(const int min_x_, const int max_x_, const int min_y_, const int max_y_, const int id_): id(id_), min_x(min_x_), max_x(max_x_), min_y(min_y_), max_y(max_y_) {} int RenderTask::width() const { r...
24.574074
128
0.661643
JakMobius
034253fd6e198f6d89a9511f173043d70f8263b0
1,416
cpp
C++
code/mdma_c++98/src/objects/eventmanager.cpp
Amxx/MDMA
3be4269e252712081c70522f2af56463da5ac868
[ "CECILL-B" ]
1
2022-01-17T06:39:22.000Z
2022-01-17T06:39:22.000Z
code/mdma_c++98/src/objects/eventmanager.cpp
Amxx/MDMA
3be4269e252712081c70522f2af56463da5ac868
[ "CECILL-B" ]
null
null
null
code/mdma_c++98/src/objects/eventmanager.cpp
Amxx/MDMA
3be4269e252712081c70522f2af56463da5ac868
[ "CECILL-B" ]
null
null
null
#include "eventmanager.h" EventManager::EventManager(QObject* parent) : QObject(parent) { } void EventManager::run_messages(EventZone& evz, QList<MDMA::event> msgs) { //for(MDMA::event msg: msgs) for(QList<MDMA::event>::Iterator it = msgs.begin() ; it != msgs.end() ; ++it) { switch(evz.active[*it...
25.745455
147
0.622175
Amxx
0347800199d44960f266096d0a62b989232a1432
57,150
cpp
C++
beam/node.cpp
akhavr/beam
99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62
[ "Apache-2.0" ]
null
null
null
beam/node.cpp
akhavr/beam
99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62
[ "Apache-2.0" ]
null
null
null
beam/node.cpp
akhavr/beam
99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam Team // // 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...
22.823482
187
0.684934
akhavr
034bab886bab27c6d6d9d0eb41429f083ce419b8
771,638
cc
C++
cpp/pdpb.pb.cc
Xavier1994/kvproto
cd1e088a4e0452ffb021b8985a4fca8dad48120a
[ "Apache-2.0" ]
null
null
null
cpp/pdpb.pb.cc
Xavier1994/kvproto
cd1e088a4e0452ffb021b8985a4fca8dad48120a
[ "Apache-2.0" ]
null
null
null
cpp/pdpb.pb.cc
Xavier1994/kvproto
cd1e088a4e0452ffb021b8985a4fca8dad48120a
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: pdpb.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "pdpb.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <google/p...
34.149318
143
0.720905
Xavier1994
03554db1d88a8c08e0932d8cc0824f1e60253b65
11,985
cc
C++
hackt_docker/hackt/src/misc/sudoku.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/misc/sudoku.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/misc/sudoku.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "sudoku.cc" $Id: sudoku.cc,v 1.3 2006/04/03 19:36:24 fang Exp $ */ #include <iostream> #include <iomanip> #include <algorithm> #include "misc/sudoku.hh" // some handy compile-switches #define DEBUG_LOAD 0 #define STEP_SOLVE 0 #define DEBUG_SOLVE 0 #define REVEAL_SOLUTION 1 // print as they are found ...
23.454012
79
0.48761
broken-wheel
03579941da381427fecd548493e09e3e3a4b4501
2,613
cpp
C++
editor.cpp
erikbryant/mines
bd27ca7775581dab769a27f90dd88d965392886e
[ "MIT" ]
null
null
null
editor.cpp
erikbryant/mines
bd27ca7775581dab769a27f90dd88d965392886e
[ "MIT" ]
null
null
null
editor.cpp
erikbryant/mines
bd27ca7775581dab769a27f90dd88d965392886e
[ "MIT" ]
null
null
null
// // Copyright Erik Bryant (erikbryantology@gmail.com) // GPLv2 http://www.gnu.org/licenses/gpl-2.0.html // #include <iostream> #include <stdio.h> #include <unistd.h> #include <termios.h> #include <stdlib.h> #include <string.h> #include "board.hpp" using namespace std; // // Copied from the web. // Write your own...
19.355556
52
0.420972
erikbryant
0357dad3c38b2e3d4b4bd5aed5332716affbbe0b
1,356
cpp
C++
POJ/3304/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
POJ/3304/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
POJ/3304/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cmath> #define maxn 110 #define eps 1e-8 #define abs(x) ((x)<0?(-(x)):(x)) #define sqr(x) ((x)*(x)) using namespace std; int n; struct Point{ double x,y; Point(double _x=0,double _y=0){x=_x;y=_y;} }a[maxn],b[maxn]; Point operator-(Point a,Point b){return Point(a.x-b.x,a....
27.12
77
0.594395
sjj118
0359da506f3ffaf34921342d9c06ef6fe0c598d0
14,127
cpp
C++
llvm/tools/clang/test/CM_diagnostics/member_functions/select.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
115
2018-02-01T18:56:44.000Z
2022-03-21T13:23:00.000Z
llvm/tools/clang/test/CM_diagnostics/member_functions/select.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
27
2018-09-17T17:49:49.000Z
2021-11-03T04:31:51.000Z
llvm/tools/clang/test/CM_diagnostics/member_functions/select.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
// RUN: %cmc -ferror-limit=99 %w 2>&1 | FileCheck %w #include <cm/cm.h> vector<int,16> v1; vector<short,15> v2; matrix<int,16,4> m1; struct S1 { int a; } s1; struct S2 { int select; } s2; int i, j; const int two = 2; const int minus_two = -2; _GENX_MAIN_ void test() { vector_ref<int,8> r1 = v1.select; ...
78.049724
140
0.560487
dmitryryintel
035cb2cbbc514dfc7f704158894b86c17b2d7897
5,094
hpp
C++
include/exchcxx/util/param_macros.hpp
ValeevGroup/ExchCXX
7a8f7ac8d2e9384706975b8fa02d23770c20aa44
[ "BSD-3-Clause-LBNL" ]
16
2020-08-26T00:40:50.000Z
2022-03-05T01:16:43.000Z
include/exchcxx/util/param_macros.hpp
ValeevGroup/ExchCXX
7a8f7ac8d2e9384706975b8fa02d23770c20aa44
[ "BSD-3-Clause-LBNL" ]
6
2020-10-13T22:14:57.000Z
2021-09-15T19:59:19.000Z
include/exchcxx/util/param_macros.hpp
ValeevGroup/ExchCXX
7a8f7ac8d2e9384706975b8fa02d23770c20aa44
[ "BSD-3-Clause-LBNL" ]
5
2019-05-09T21:03:17.000Z
2020-10-09T16:55:03.000Z
#pragma once #ifdef EXCHCXX_HAS_CONFIG_H #include <exchcxx/exchcxx_config.hpp> #endif namespace ExchCXX { using host_buffer_type = double*; using const_host_buffer_type = const double*; #ifdef EXCHCXX_ENABLE_CUDA using device_buffer_type = double*; using const_device_buffer_type = const double*...
44.295652
81
0.832744
ValeevGroup
035d29f268c6ad436cca792c7ab87ef8c5cd9e1c
4,506
hpp
C++
include/HMUI/HierarchyManager.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/HMUI/HierarchyManager.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/HMUI/HierarchyManager.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBehaviour.hpp" #i...
45.515152
296
0.723924
darknight1050
035f33ef7770e1a320dcc898718632cadb45c099
1,326
hpp
C++
datastructures/datastructures/is_iterator.hpp
mraasvel/data_structures_cpp
4324d103c46c6e29ee37a4c0e681f1468e90364f
[ "MIT" ]
null
null
null
datastructures/datastructures/is_iterator.hpp
mraasvel/data_structures_cpp
4324d103c46c6e29ee37a4c0e681f1468e90364f
[ "MIT" ]
null
null
null
datastructures/datastructures/is_iterator.hpp
mraasvel/data_structures_cpp
4324d103c46c6e29ee37a4c0e681f1468e90364f
[ "MIT" ]
null
null
null
#pragma once #include <type_traits> #include <iterator> namespace DS { namespace Detail { template <typename T> struct MakeType { using type = void; }; template <typename Iterator> struct _IsIterator { using valid = char[1]; using invalid = char[2]; template <typename T> static valid& test( ty...
24.555556
117
0.72549
mraasvel
0362b152aec9bc475555a3547584ff04528d7995
779
hpp
C++
include/eosio/float.hpp
swang-b1/abieos
52ea28c0c2d771d101a2fe0ae4d176bb35a2f0cb
[ "MIT" ]
40
2018-07-19T02:40:21.000Z
2022-03-31T19:30:52.000Z
include/eosio/float.hpp
swang-b1/abieos
52ea28c0c2d771d101a2fe0ae4d176bb35a2f0cb
[ "MIT" ]
36
2018-06-30T14:06:01.000Z
2022-01-22T05:21:33.000Z
include/eosio/float.hpp
swang-b1/abieos
52ea28c0c2d771d101a2fe0ae4d176bb35a2f0cb
[ "MIT" ]
36
2018-07-19T02:40:22.000Z
2022-03-14T13:51:59.000Z
#pragma once #ifdef __eosio_cdt__ namespace eosio { using float32 = float; using float64 = double; using float128 = long double; } // namespace eosio #else # include <eosio/fixed_bytes.hpp> # include <limits> namespace eosio { using float32 = float; using float64 = double; using float128 = fixed_bytes<1...
21.638889
80
0.667522
swang-b1
24e9961a20b65ad7cfaf9c45bbeeb1af676b94dd
2,394
hh
C++
CosmicRayShieldGeom/inc/CRSScintillatorLayer.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-05-25T19:10:10.000Z
2021-05-25T19:10:10.000Z
CosmicRayShieldGeom/inc/CRSScintillatorLayer.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
CosmicRayShieldGeom/inc/CRSScintillatorLayer.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
#ifndef CosmicRayShieldGeom_CRSScintillatorLayer_hh #define CosmicRayShieldGeom_CRSScintillatorLayer_hh // // Representation of one Scintillator Layer in CosmicRayShield // // $Id: CRSScintillatorLayer.hh,v 1.10 2014/02/10 14:23:03 ehrlich Exp $ // $Author: ehrlich $ // $Date: 2014/02/10 14:23:03 $ // // Original auth...
29.555556
95
0.703425
bonventre
24ed1deb54775af6eaa3378f80fd930767955237
39,996
cpp
C++
Cpp/SDK/UISettingsWindow_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
1
2020-08-15T08:31:55.000Z
2020-08-15T08:31:55.000Z
Cpp/SDK/UISettingsWindow_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-15T08:43:56.000Z
2021-01-15T05:04:48.000Z
Cpp/SDK/UISettingsWindow_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-10T12:05:42.000Z
2021-02-12T19:56:10.000Z
// Name: S, Version: b #include "../SDK.h" #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Functions //--------------------------------------------------------------------------- // ...
47.727924
196
0.806431
MrManiak
24eec7547221dd877c40c009cdbfe807097b3cb8
954
cpp
C++
test/plugin/dynlib_A.cpp
ggerganov/dynamix
7530d2d6a39a0824410f2535ab5fc95d3821488f
[ "MIT" ]
580
2016-06-26T20:44:17.000Z
2022-03-30T01:26:51.000Z
test/plugin/dynlib_A.cpp
ggerganov/dynamix
7530d2d6a39a0824410f2535ab5fc95d3821488f
[ "MIT" ]
35
2016-06-28T11:15:49.000Z
2022-01-28T14:03:30.000Z
test/plugin/dynlib_A.cpp
ggerganov/dynamix
7530d2d6a39a0824410f2535ab5fc95d3821488f
[ "MIT" ]
52
2016-06-26T19:49:24.000Z
2022-01-25T18:18:31.000Z
// DynaMix // Copyright (c) 2013-2019 Borislav Stanimirov, Zahary Karadjov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // #define DYNLIB_A_SRC #include "dynlib_A.hpp" #include <dynamix/define_message.hpp> #include <dynamix/defin...
19.469388
97
0.726415
ggerganov
24ef90aab4b6b24bf0ce801d8b4668e34c83f89b
3,947
hpp
C++
tcob/include/tcob/script/LuaFunction.hpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
2
2021-08-18T19:14:35.000Z
2021-12-01T14:14:49.000Z
tcob/include/tcob/script/LuaFunction.hpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
tcob/include/tcob/script/LuaFunction.hpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Tobias Bohnen // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include <tcob/tcob_config.hpp> #include <future> #include <tcob/core/io/Logger.hpp> #include <tcob/script/LuaRef.hpp> namespace tcob::script::lua::detail { ////////////////...
26.139073
105
0.496073
TobiasBohnen
24f02e37fe84002cf445f55f23f2427a6e77677a
4,571
cc
C++
wayland/shell/xdg_shell_surface.cc
kalyankondapally/ozone-wayland
f4f72d4e5ba932c04ec714942f9e75ed5b54d271
[ "BSD-3-Clause" ]
1
2016-05-20T09:52:27.000Z
2016-05-20T09:52:27.000Z
wayland/shell/xdg_shell_surface.cc
rakuco/ozone-wayland
4a1ab0b14bc63752e2b303a5098758d48f0fe49e
[ "BSD-3-Clause" ]
null
null
null
wayland/shell/xdg_shell_surface.cc
rakuco/ozone-wayland
4a1ab0b14bc63752e2b303a5098758d48f0fe49e
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ozone/wayland/shell/xdg_shell_surface.h" #include "base/logging.h" #include "base/strings/utf_string_conversions.h" #include "ozone/wayland/displ...
32.190141
76
0.607088
kalyankondapally
24fdca8dad7b7db2c4853ca3a19a760854a4c1e3
1,573
cpp
C++
Source/ActionsLib/SpecialPurposeActions.cpp
hawkjk/AI
9386b8d310f75779d75376bc25c7db810ef77c8e
[ "RSA-MD" ]
1
2021-07-06T02:57:10.000Z
2021-07-06T02:57:10.000Z
Source/ActionsLib/SpecialPurposeActions.cpp
hawkjk/AI
9386b8d310f75779d75376bc25c7db810ef77c8e
[ "RSA-MD" ]
null
null
null
Source/ActionsLib/SpecialPurposeActions.cpp
hawkjk/AI
9386b8d310f75779d75376bc25c7db810ef77c8e
[ "RSA-MD" ]
null
null
null
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // // EsotericActions.cpp -- CNTK actions that are deprecated // #define _CRT_NONSTDC_NO_DEPRECATE // make VS accept POSIX functions without _ #include "stdafx.h...
28.6
104
0.691672
hawkjk
700077c83373c659d0a93ed2267e139f241b01d0
68,824
hpp
C++
src/core/exact_m3ig_encoder.hpp
xianghex/also
b223adc430de0ca04e16699e8f8295e4a4cb366c
[ "MIT" ]
48
2019-02-24T07:22:23.000Z
2022-03-18T05:42:18.000Z
src/core/exact_m3ig_encoder.hpp
xianghex/also
b223adc430de0ca04e16699e8f8295e4a4cb366c
[ "MIT" ]
10
2020-03-07T01:39:28.000Z
2022-02-22T12:57:18.000Z
src/core/exact_m3ig_encoder.hpp
xianghex/also
b223adc430de0ca04e16699e8f8295e4a4cb366c
[ "MIT" ]
38
2019-02-24T07:10:57.000Z
2022-03-27T08:44:28.000Z
/* also: Advanced Logic Synthesis and Optimization tool * Copyright (C) 2019- Ningbo University, Ningbo, China */ /** * @file mig_three_encoder.hpp * * @brief enonde SAT formulation to construct a MIG * * @author Zhufei Chu * @since 0.1 */ #ifndef MIG_THREE_ENCODER_HPP #define MIG_THREE_ENCODER_HPP #include...
30.876626
150
0.442883
xianghex
7001434bcbafac90ebad440de2c7b993523f8dc4
867
hpp
C++
SDK/ARKSurvivalEvolved_BossTeleporter_Dragon_Easy_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_BossTeleporter_Dragon_Easy_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_BossTeleporter_Dragon_Easy_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_BossTeleporter_Dragon_Easy_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //----------------------------------------------...
21.675
122
0.659746
2bite
700d31a9a5fe181e314f009049413c1a206ca5d7
54
cpp
C++
Atropos/source/engine/IEngine.cpp
redagito/Atropos
eaf926d5826fd5d5d38a7f8e6aceda64808ba27d
[ "MIT" ]
null
null
null
Atropos/source/engine/IEngine.cpp
redagito/Atropos
eaf926d5826fd5d5d38a7f8e6aceda64808ba27d
[ "MIT" ]
null
null
null
Atropos/source/engine/IEngine.cpp
redagito/Atropos
eaf926d5826fd5d5d38a7f8e6aceda64808ba27d
[ "MIT" ]
null
null
null
#include "IEngine.h" IEngine::~IEngine() { return; }
9
20
0.648148
redagito