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
108
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
67k
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
aabcaa409c50b922c940044845f7282aba871d3f
11,251
cpp
C++
QtOpenGLDB/prism.cpp
as-i-see/OOPFundamentals2sem
a859001fba5e81446edf1e272909991fa2bfbd81
[ "MIT" ]
null
null
null
QtOpenGLDB/prism.cpp
as-i-see/OOPFundamentals2sem
a859001fba5e81446edf1e272909991fa2bfbd81
[ "MIT" ]
null
null
null
QtOpenGLDB/prism.cpp
as-i-see/OOPFundamentals2sem
a859001fba5e81446edf1e272909991fa2bfbd81
[ "MIT" ]
null
null
null
#include "prism.h" #include <QOpenGLFunctions> void Prism::reconstruct() { Vertex BA(this->dots[0].position()); Vertex BB(this->dots[1].position()); Vertex BC(this->dots[2].position()); Vertex BD(this->dots[3].position()); Vertex BE(this->dots[4].position()); Vertex BF(this->dots[5].position()); Vertex T...
39.616197
80
0.483513
as-i-see
aabe0f77f24de2d84727e21fdbde6daa6501ff11
4,052
hpp
C++
addons/briefing/CfgDiary.hpp
YonVclaw/6sfdgdemo
f09b4ed8569cd0fcbca4c634aa79289f1ca84014
[ "MIT" ]
null
null
null
addons/briefing/CfgDiary.hpp
YonVclaw/6sfdgdemo
f09b4ed8569cd0fcbca4c634aa79289f1ca84014
[ "MIT" ]
null
null
null
addons/briefing/CfgDiary.hpp
YonVclaw/6sfdgdemo
f09b4ed8569cd0fcbca4c634aa79289f1ca84014
[ "MIT" ]
null
null
null
class CfgDiary { class FixedPages { class Diary { text = "%TEXT"; }; class Tasks { text = "%LINK_SET_CURRENT_TASK<br /><br />%TASK_DESCRIPTION"; }; }; }; class RscHTML; class RscControlsGroup; class RscDisplayMainMap { class controls { cla...
37.518519
97
0.449161
YonVclaw
aac15adf50b4c9b80b307e9fbc15ee51f86bc62b
847
cpp
C++
problems21ruse/robot/1.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
null
null
null
problems21ruse/robot/1.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
null
null
null
problems21ruse/robot/1.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main () { int K; cin >> K; string directions; cin >> directions; // well to work out the number of moves, let's just make the robot go backwards! string reverse_directions(K, '-'); for (int i = 0; i < K; i++) { if (directions[i] == ...
30.25
84
0.57379
Gomango999
aac258ecf21af6accf3dfd66fb591ef2fcd4856f
628
hpp
C++
Fusion/src/Fusion/Audio/Buffer.hpp
WhoseTheNerd/Fusion
35ab536388392b3ba2e14f288eecbc292abd7dea
[ "Apache-2.0" ]
4
2018-11-12T18:43:02.000Z
2020-02-02T10:18:56.000Z
Fusion/src/Fusion/Audio/Buffer.hpp
WhoseTheNerd/Fusion
35ab536388392b3ba2e14f288eecbc292abd7dea
[ "Apache-2.0" ]
2
2018-12-22T13:18:05.000Z
2019-07-24T20:15:45.000Z
Fusion/src/Fusion/Audio/Buffer.hpp
WhoseTheNerd/Fusion
35ab536388392b3ba2e14f288eecbc292abd7dea
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cinttypes> #include <vector> #include "Common.hpp" namespace Fusion { namespace Audio { class Buffer { public: Buffer(); Buffer(uint32_t id); /* The class doesn't store buffer data and we can't query it from OpenAL so it cannot be copied. */ Buffer(const Buffer& other) = delete; ...
17.942857
101
0.69586
WhoseTheNerd
aac413e5574a6891287bff955bc123b8de305b5e
16,038
cpp
C++
rmf_traffic/src/rmf_traffic/blockade/Constraint.cpp
0to1/rmf_traffic
0e641f779e9c7e6d69c316e905df5a51a2c124e1
[ "Apache-2.0" ]
10
2021-04-14T07:01:56.000Z
2022-02-21T02:26:58.000Z
rmf_traffic/src/rmf_traffic/blockade/Constraint.cpp
0to1/rmf_traffic
0e641f779e9c7e6d69c316e905df5a51a2c124e1
[ "Apache-2.0" ]
63
2021-03-10T06:06:13.000Z
2022-03-25T08:47:07.000Z
rmf_traffic/src/rmf_traffic/blockade/Constraint.cpp
0to1/rmf_traffic
0e641f779e9c7e6d69c316e905df5a51a2c124e1
[ "Apache-2.0" ]
10
2021-03-17T02:52:14.000Z
2022-02-21T02:27:02.000Z
/* * Copyright (C) 2020 Open Source Robotics 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 appl...
23.76
80
0.563599
0to1
aac499dbfd84c5e8199bf8a5811a0056d1d7bdd4
3,161
cpp
C++
Hashing/Maths and hashing/Grid Illumination.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
7
2019-06-29T08:57:07.000Z
2021-02-13T06:43:40.000Z
Hashing/Maths and hashing/Grid Illumination.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
null
null
null
Hashing/Maths and hashing/Grid Illumination.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
3
2020-06-17T04:26:26.000Z
2021-02-12T04:51:40.000Z
int dx[] = {-1, -1, 1, 1, -1, 0, 0, 0, 1}; int dy[] = {-1, 1, -1, 1, 0, -1, 0, 1, 0}; struct line{ int x1,y1,x2,y2; int ass(int a, int b, int c, int d ){ x1 = a; y1 = b; x2 = c; y2 = d; } }; line left(int x, int y, int A){ int top_x, top_y; int sub = min(x-1, y-1); ...
28.223214
86
0.412528
cenation092
aac5f875f4abdf1245ad33f3d1c7dd52277d7295
18,950
cc
C++
src/neo.cc
Quicr/qmedia
96408d740bf35e6a845f61c40cc9f9ff859a9955
[ "BSD-2-Clause" ]
null
null
null
src/neo.cc
Quicr/qmedia
96408d740bf35e6a845f61c40cc9f9ff859a9955
[ "BSD-2-Clause" ]
1
2021-12-29T03:37:51.000Z
2022-03-16T05:59:11.000Z
src/neo.cc
Quicr/qmedia
96408d740bf35e6a845f61c40cc9f9ff859a9955
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include "neo.hh" #include "h264_encoder.hh" namespace neo_media { Neo::Neo(const LoggerPointer &parent_logger) : log(std::make_shared<Logger>("NEO", parent_logger)), metrics(std::make_shared<Metrics>(MetricsConfig::URL, MetricsConfig::ORG, ...
33.718861
80
0.539947
Quicr
aac62f3744b21b2b66d38fdafafb663b04c60f20
724
cc
C++
ui/compositor/test/throughput_report_checker.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ui/compositor/test/throughput_report_checker.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
ui/compositor/test/throughput_report_checker.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/compositor/test/throughput_report_checker.h" #include "base/time/time.h" #include "ui/compositor/test/animation_throughput_reporter_test_bas...
26.814815
73
0.752762
zealoussnow
aac76e242e4ada48bd710fe049d969d1360c9be6
3,814
cpp
C++
virtualbox/hgcm-oob/source/pwn2ownuser/service_inf.cpp
niklasb/sploits
af232ec45dc60ef9597149e5f29164dad2f45473
[ "BSD-2-Clause-FreeBSD" ]
415
2018-11-23T01:51:57.000Z
2022-02-17T05:55:00.000Z
virtualbox/hgcm-oob/source/pwn2ownuser/service_inf.cpp
niklasb/sploits
af232ec45dc60ef9597149e5f29164dad2f45473
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
virtualbox/hgcm-oob/source/pwn2ownuser/service_inf.cpp
niklasb/sploits
af232ec45dc60ef9597149e5f29164dad2f45473
[ "BSD-2-Clause-FreeBSD" ]
74
2018-11-23T01:50:37.000Z
2022-02-23T23:48:05.000Z
#include "stdafx.h" #include <Windows.h> #include "common.h" #include "debug.h" #include "service.h" #include "service_inf.h" /* Format string arguments: #1 - Source binary path #2, #3 - Service name */ #define INF_DATA \ ...
36.673077
90
0.405087
niklasb
aac7aa7ee563ffb6904482b84dc7ad5fc5cecc85
526
cpp
C++
11_10/11_10.cpp
wjingzhe/CPP_lab
081ba3612c2d96ffd074061ca1800b7f31486c37
[ "MIT" ]
null
null
null
11_10/11_10.cpp
wjingzhe/CPP_lab
081ba3612c2d96ffd074061ca1800b7f31486c37
[ "MIT" ]
null
null
null
11_10/11_10.cpp
wjingzhe/CPP_lab
081ba3612c2d96ffd074061ca1800b7f31486c37
[ "MIT" ]
null
null
null
#include<iostream> #include<fstream> using namespace std; int main() { int value[]={ 3, 7, 0, 5, 4 }; ofstream os("intergers",ios_base::out|ios_base::binary); os.write(reinterpret_cast<char*>(&value),sizeof(value)); os.close(); ifstream is("intergers",ios_base::in|ios_base::binary); if(is) { is.seekg(3*sizeo...
21.04
63
0.659696
wjingzhe
aac7d13eded9ad84c4984a36a7e4f0a561e5c490
11,421
cpp
C++
DEM/Low/src/Animation/AnimationController.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
DEM/Low/src/Animation/AnimationController.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
DEM/Low/src/Animation/AnimationController.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
#include "AnimationController.h" #include <Animation/Graph/AnimGraphNode.h> #include <Animation/SkeletonInfo.h> #include <Animation/Skeleton.h> namespace DEM::Anim { CAnimationController::CAnimationController() = default; CAnimationController::CAnimationController(CAnimationController&&) noexcept = default; CAnimation...
31.902235
135
0.66404
niello
aacc1ea577716f75ada3aacb0e7a4f38ea6bf962
6,802
cpp
C++
blades/xbmc/xbmc/video/VideoLibraryQueue.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/video/VideoLibraryQueue.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/video/VideoLibraryQueue.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2014 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This ...
27.99177
191
0.7192
krattai
aacd3557b80b70df994458a9fd7e0f18c8833abf
682
cpp
C++
main.cpp
Zermil/mathEval
b49016bd21b787364c53b1fe6444d17366a838d7
[ "MIT" ]
null
null
null
main.cpp
Zermil/mathEval
b49016bd21b787364c53b1fe6444d17366a838d7
[ "MIT" ]
null
null
null
main.cpp
Zermil/mathEval
b49016bd21b787364c53b1fe6444d17366a838d7
[ "MIT" ]
null
null
null
#include <iostream> #include "MathEval.hpp" int main(int argc, char* argv[]) { std::string EXPRESSIONS[] = { " -123 + 12 * 3 \t", "(2 * 3) + 1\n\r", "(-1 + 2) * 3", " 3 + 4 * 2/(1-5)^2^3", "5 * 3 + (4 + 2 % 2 * 8)", "-Pi + 3.2 - 4 + (-3 + 2)-E*3", "2.398+14.23+3-e*3+(-3)", "-123 ...
24.357143
63
0.409091
Zermil
aace9f423d7a4dfaaf366da679a6d04e0150d58c
3,493
hpp
C++
src/Externals/spire/var-buffer/VarBuffer.hpp
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
null
null
null
src/Externals/spire/var-buffer/VarBuffer.hpp
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
null
null
null
src/Externals/spire/var-buffer/VarBuffer.hpp
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 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 (the ...
31.468468
83
0.72631
Haydelj
aad0411c3c5470b87627b25488cd2b13710ec204
3,600
cpp
C++
test/StorageCacheNoneRuntimeTests.cpp
fsaporito/KVCache
4d4402396426c1ca25e7fb9ae5f4fb181a0fa1f2
[ "BSL-1.0" ]
null
null
null
test/StorageCacheNoneRuntimeTests.cpp
fsaporito/KVCache
4d4402396426c1ca25e7fb9ae5f4fb181a0fa1f2
[ "BSL-1.0" ]
null
null
null
test/StorageCacheNoneRuntimeTests.cpp
fsaporito/KVCache
4d4402396426c1ca25e7fb9ae5f4fb181a0fa1f2
[ "BSL-1.0" ]
null
null
null
#include "KVCache/StorageCache/StorageCacheNone.h" #include <catch2/catch.hpp> TEST_CASE("Put 1 KV Pair into StorageCacheNone", "[runtime],[Put],[Singlepair],[StorageCacheNone][SingleThread]") { // Initialize StorageCache auto storageType = KVCache::Interface::StorageCacheType::NONE; auto storagePath = K...
42.352941
141
0.640556
fsaporito
aad07a1cc8faae3d30a3de302637b907c3a25f0b
1,446
cpp
C++
src/mc_control/fsm/states/Posture.cpp
fkanehiro/mc_rtc
776017e46c1a4626c1d8f1fb7d51675a9b9b9cad
[ "BSD-2-Clause" ]
44
2019-12-13T08:48:02.000Z
2022-03-24T03:11:25.000Z
src/mc_control/fsm/states/Posture.cpp
fkanehiro/mc_rtc
776017e46c1a4626c1d8f1fb7d51675a9b9b9cad
[ "BSD-2-Clause" ]
160
2020-01-17T20:46:23.000Z
2022-03-31T01:32:42.000Z
src/mc_control/fsm/states/Posture.cpp
fkanehiro/mc_rtc
776017e46c1a4626c1d8f1fb7d51675a9b9b9cad
[ "BSD-2-Clause" ]
20
2019-12-20T04:34:00.000Z
2022-03-24T01:31:27.000Z
/* * Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL */ #include <mc_control/fsm/Controller.h> #include <mc_control/fsm/states/Posture.h> #include <mc_rbdyn/configuration_io.h> #include <mc_tasks/MetaTaskLoader.h> namespace mc_control { namespace fsm { void PostureState::configure(const mc_rtc::Configuration & c...
21.264706
119
0.661826
fkanehiro
aad0d3b5437124698528b3ee345606ecbfa51cfd
16,739
cpp
C++
apiwznm/PnlWznmChkDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
apiwznm/PnlWznmChkDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
apiwznm/PnlWznmChkDetail.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file PnlWznmChkDetail.cpp * API code for job PnlWznmChkDetail (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #include "PnlWznmChkDetail.h" using namespace std; using namespace Sbec...
29.944544
197
0.656849
mpsitech
aad0dc0b0a6f3ecabd8fb02405516b86e6eda6e3
339
cpp
C++
00_cpp_beginners/04_pointers_memory/00_pointers/pointers.cpp
ganesh737/cfl-cpp
b1b9cff137897accca0f93a2d6f54129e5b9d19d
[ "MIT" ]
null
null
null
00_cpp_beginners/04_pointers_memory/00_pointers/pointers.cpp
ganesh737/cfl-cpp
b1b9cff137897accca0f93a2d6f54129e5b9d19d
[ "MIT" ]
null
null
null
00_cpp_beginners/04_pointers_memory/00_pointers/pointers.cpp
ganesh737/cfl-cpp
b1b9cff137897accca0f93a2d6f54129e5b9d19d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int nVal = 10; int* pVal = &nVal; cout << "nVal=" << nVal << endl; cout << "pVal=" << pVal << endl; cout << "*pVal=" << *pVal << endl; cout << "sizeof(pVal)=" << sizeof(pVal) << endl; cout << "sizeof(*pVal)=" << sizeof(*pVal) << en...
22.6
54
0.501475
ganesh737
aad1719583164cf3767724b1362548d81cc3228a
1,218
cpp
C++
aws-cpp-sdk-chime/source/model/CreateSipMediaApplicationCallRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-chime/source/model/CreateSipMediaApplicationCallRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-chime/source/model/CreateSipMediaApplicationCallRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/chime/model/CreateSipMediaApplicationCallRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Chime::Model; using namespace Aws::Utils::Js...
21.75
79
0.761084
perfectrecall
aad1825460a7c417420398c215fefd9529353a97
1,214
cpp
C++
GuiLib/GuiButtonDoc.cpp
imxingquan/hotelMIS
f0da91dd5b4ffbe7d69a7038206a329e065d4c94
[ "MIT" ]
9
2019-11-28T02:42:01.000Z
2021-12-25T08:32:02.000Z
GuiLib/GuiButtonDoc.cpp
imxingquan/hotelMIS
f0da91dd5b4ffbe7d69a7038206a329e065d4c94
[ "MIT" ]
null
null
null
GuiLib/GuiButtonDoc.cpp
imxingquan/hotelMIS
f0da91dd5b4ffbe7d69a7038206a329e065d4c94
[ "MIT" ]
2
2021-01-07T10:00:07.000Z
2021-11-01T11:18:37.000Z
// GuiButtonDoc.cpp : implementation file // #include "stdafx.h" #include "GuiButtonDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CGuiButtonDoc CGuiButtonDoc::CGuiButtonDoc() { }...
19.901639
81
0.636738
imxingquan
aad2b51453302c5c467561dfd882137c374c187c
815
cc
C++
src/somadicom/Dicom/CRImageStorageReader.cc
charbeljc/soma-io
17548eb8eafdcb82d20ea6fba760856f279d7424
[ "CECILL-B" ]
3
2020-05-13T04:15:29.000Z
2021-08-28T18:13:35.000Z
src/somadicom/Dicom/CRImageStorageReader.cc
charbeljc/soma-io
17548eb8eafdcb82d20ea6fba760856f279d7424
[ "CECILL-B" ]
15
2018-10-30T16:52:14.000Z
2022-02-15T12:34:00.000Z
src/somadicom/Dicom/CRImageStorageReader.cc
charbeljc/soma-io
17548eb8eafdcb82d20ea6fba760856f279d7424
[ "CECILL-B" ]
3
2019-12-15T07:23:16.000Z
2021-10-05T14:09:09.000Z
#ifdef SOMA_IO_DICOM #include <soma-io/Dicom/CRImageStorageReader.h> #else #include <Dicom/CRImageStorageReader.h> #endif #include <dcmtk/config/osconfig.h> #include <dcmtk/dcmdata/dcdatset.h> #include <dcmtk/dcmdata/dcdeftag.h> #include <dcmtk/dcmdata/dcuid.h> dcm::CRImageStorageReader::CRImageStorageReader() ...
19.404762
77
0.730061
charbeljc
aad443b0febfc28694d99b2f0a2e2f887b32d0f3
2,768
cpp
C++
src/Test/TestMain.cpp
travelping/libamqp
afd15eec16bab7be4da9e4cc371392ea3f1a881e
[ "Apache-2.0" ]
6
2015-11-05T10:28:59.000Z
2021-05-06T03:50:12.000Z
src/Test/TestMain.cpp
travelping/libamqp
afd15eec16bab7be4da9e4cc371392ea3f1a881e
[ "Apache-2.0" ]
2
2015-04-21T09:57:43.000Z
2015-04-21T10:00:46.000Z
src/Test/TestMain.cpp
travelping/libamqp
afd15eec16bab7be4da9e4cc371392ea3f1a881e
[ "Apache-2.0" ]
4
2016-09-14T08:01:24.000Z
2021-06-15T11:24:14.000Z
/* Copyright 2011-2012 StormMQ 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 License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
27.68
89
0.600434
travelping
aad457b42fbf4047458cbbacbfeadf42145e5c43
10,436
cpp
C++
src/gba/ppu/sprite.cpp
destoer/destoer-emu
2a7941b175126e998eed2df8df87ee382c43d0b1
[ "BSD-3-Clause" ]
20
2020-01-19T21:54:23.000Z
2021-11-28T17:27:15.000Z
src/gba/ppu/sprite.cpp
destoer/destoer-emu
2a7941b175126e998eed2df8df87ee382c43d0b1
[ "BSD-3-Clause" ]
3
2020-05-01T07:46:10.000Z
2021-09-18T13:50:18.000Z
src/gba/ppu/sprite.cpp
destoer/destoer-emu
2a7941b175126e998eed2df8df87ee382c43d0b1
[ "BSD-3-Clause" ]
null
null
null
#include <gba/gba.h> namespace gameboyadvance { void Display::render_sprites(int mode) { const TileData lose_bg(read_bg_palette(0,0),pixel_source::bd); // make all of the line lose // until something is rendred over it std::fill(sprite_line.begin(),sprite_line.end(),lose_bg); std::fill(sprite_semi...
30.425656
105
0.489651
destoer
aad4ab0111b41f4c4709b51a73a308d801926c59
39,701
cc
C++
project/c++/mri/src/iwf/src/manual_parser.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/iwf/src/manual_parser.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/iwf/src/manual_parser.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
/** * Copyright (2012-2014) JSU Uniphase. All rights reserved. * * Author: LIM Fung Chai */ #include "xtreme/iwf/manual_parser.h" #include "xtreme/iwf/internal/manual_parser_telemetry.h" #include <sstream> #include <iomanip> #include <boost/format.hpp> #include "arpa/inet.h" #include "log4cxx/logger.h" #include "...
37.560076
105
0.589003
jia57196
aad5874acdd66e9037de46edf6f39957d593bd74
4,776
cpp
C++
src/system_model/system_model.cpp
ibrahimkakbar/ros-system_model
0bf91e6bf2f6208d260319543b6407be3a48c217
[ "MIT" ]
null
null
null
src/system_model/system_model.cpp
ibrahimkakbar/ros-system_model
0bf91e6bf2f6208d260319543b6407be3a48c217
[ "MIT" ]
null
null
null
src/system_model/system_model.cpp
ibrahimkakbar/ros-system_model
0bf91e6bf2f6208d260319543b6407be3a48c217
[ "MIT" ]
null
null
null
#include "system_model/system_model.hpp" #include <system_model_msgs/variable.h> #include <ros/console.h> #include <ros/names.h> #include <dlfcn.h> using namespace system_model; // CONSTRUCTORS system_model_t::system_model_t(uint32_t n_variables, uint32_t n_observers) : ukf_t(n_variables, n_observers) { //...
30.420382
122
0.639866
ibrahimkakbar
aad5fd8e304fb6426b06815722533ea84cee1950
2,479
cpp
C++
Software/LautIO/src/driver/amp.cpp
olell/LautIO
3f3d597898e63726776e36444001607660b2d9c7
[ "MIT" ]
3
2021-04-19T16:21:47.000Z
2021-07-09T18:26:39.000Z
Software/LautIO/src/driver/amp.cpp
olell/LautIO
3f3d597898e63726776e36444001607660b2d9c7
[ "MIT" ]
8
2021-03-16T20:57:51.000Z
2021-07-15T21:37:17.000Z
Software/LautIO/src/driver/amp.cpp
olell/LautIO
3f3d597898e63726776e36444001607660b2d9c7
[ "MIT" ]
null
null
null
/* * * This file is part of LautIO * * Copyright 2021 - olel * LautIO is licensed under MIT License * See LICENSE file for more information * */ #include "stdint.h" #include "Arduino.h" #include "sys_config.h" #include "util/log.h" #include "driver/amp.h" bool amp_ab_reset_state = 0; bool amp_cd_reset_sta...
24.303922
88
0.638161
olell
aad807720f53c483f3f535c63dab83810cdc2e2c
644
cpp
C++
API/source/src/WektorC.cpp
HPytkiewicz/DronPodwodny
b63feaca2abb268ef0ab6e831bed663608fadcbb
[ "MIT" ]
null
null
null
API/source/src/WektorC.cpp
HPytkiewicz/DronPodwodny
b63feaca2abb268ef0ab6e831bed663608fadcbb
[ "MIT" ]
null
null
null
API/source/src/WektorC.cpp
HPytkiewicz/DronPodwodny
b63feaca2abb268ef0ab6e831bed663608fadcbb
[ "MIT" ]
null
null
null
#include "Wektor.cpp" #include <iostream> #include <iomanip> template class Wektor<double, 2>; template Wektor<double,2> operator *(double a, const Wektor<double,2> &Wektor2); template std::ostream & operator <<(std::ostream &Strm, const Wektor<double, 2> &wektor); template std::istream & operator >>(std::istream &St...
37.882353
89
0.72205
HPytkiewicz
aadbe9c297dcf14b54d8ec30efc511e5f34e7c1c
3,097
cpp
C++
TestConditionCode.cpp
andkrau/nuance
32b9d6b9257c6c51944727456fce2e7caf074182
[ "W3C" ]
null
null
null
TestConditionCode.cpp
andkrau/nuance
32b9d6b9257c6c51944727456fce2e7caf074182
[ "W3C" ]
null
null
null
TestConditionCode.cpp
andkrau/nuance
32b9d6b9257c6c51944727456fce2e7caf074182
[ "W3C" ]
null
null
null
#include "mpe.h" bool MPE::TestConditionCode(const uint32 whichCondition) const { //This sequencing is correct for 32/64 bit ECU instructions. The decode //handler for 16/48 bit ECU instructions converts the extracted condition //to this sequence. VMLabs must die. Mission accomplished! switch(which...
26.930435
118
0.55247
andkrau
aadf7e152155b081274583b31025f99ca823fb6e
5,510
cpp
C++
src/UI/SettingsDlg.cpp
ShiraNai7/rstpad
754e6b34229585946c9238350ca1d94f17ea2678
[ "MIT" ]
44
2017-02-13T18:56:55.000Z
2021-12-28T09:45:09.000Z
src/UI/SettingsDlg.cpp
ShiraNai7/rstpad
754e6b34229585946c9238350ca1d94f17ea2678
[ "MIT" ]
2
2017-08-01T22:56:58.000Z
2019-07-15T21:28:29.000Z
src/UI/SettingsDlg.cpp
ShiraNai7/rstpad
754e6b34229585946c9238350ca1d94f17ea2678
[ "MIT" ]
8
2017-10-31T15:08:01.000Z
2022-02-24T05:05:19.000Z
#include "SettingsDlg.h" #include "ui_SettingsDlg.h" #include "../App.h" #include <Qt> #include <QLineEdit> #include <QTextOption> #include <QCheckBox> #include <QComboBox> namespace RstPad { SettingsDlg::SettingsDlg(QWidget *parent) : QDialog(parent), ui(new Ui::SettingsDlg) { ...
43.730159
142
0.647731
ShiraNai7
aae0cb37ec13ed23db0eda82896fe2487f52025a
508
cpp
C++
honours_project/main.cpp
alexbarker/soc10101_honours_project
c29c10f0e5d7bed50819c948f841dd97e7d68809
[ "MIT" ]
null
null
null
honours_project/main.cpp
alexbarker/soc10101_honours_project
c29c10f0e5d7bed50819c948f841dd97e7d68809
[ "MIT" ]
null
null
null
honours_project/main.cpp
alexbarker/soc10101_honours_project
c29c10f0e5d7bed50819c948f841dd97e7d68809
[ "MIT" ]
null
null
null
#include "engine.h" #include "app.h" #include "scenes/scene_splash.h" #include <SFML/Audio.hpp> // SOC10101 - Honours Project (40 Credits) // Snake Prototype 3 // Version 0.x.x // Alexander Barker // 40333139 // Last Updated on 19th March 2019 // main.cpp - This file is used to start the engine with predefined size a...
20.32
82
0.730315
alexbarker
aae28e821c18fa9345b0ea45a42436cc109d76cf
3,517
cpp
C++
tests/array/test_array_single_index_operator.cpp
BenKoehler/ndcontainer
07cda63f8193425d4e6654eb72fd003a55ebf434
[ "MIT" ]
null
null
null
tests/array/test_array_single_index_operator.cpp
BenKoehler/ndcontainer
07cda63f8193425d4e6654eb72fd003a55ebf434
[ "MIT" ]
null
null
null
tests/array/test_array_single_index_operator.cpp
BenKoehler/ndcontainer
07cda63f8193425d4e6654eb72fd003a55ebf434
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018-2020 Benjamin Köhler * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
36.257732
89
0.571794
BenKoehler
aae4515bfba3d58c6dee873b8193419328a64e0b
3,528
cpp
C++
components/common/sources/file_system/core/fs_crypto_parameters.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/common/sources/file_system/core/fs_crypto_parameters.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/common/sources/file_system/core/fs_crypto_parameters.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" using namespace common; /* Описание реализации параметров шифрования */ struct FileCryptoParameters::Impl: public xtl::reference_counter { stl::string read_method; stl::string write_method; unsigned short key_bits; ...
26.931298
137
0.686224
untgames
aae473c31447e2409e148edb1b2efd10e4ad59e2
3,629
hpp
C++
Opal Prospect/OpenGL/ArrayTextureAtlas.hpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
2
2018-06-06T02:01:08.000Z
2020-07-25T18:10:32.000Z
Opal Prospect/OpenGL/ArrayTextureAtlas.hpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
10
2018-07-27T01:56:45.000Z
2019-02-23T01:49:36.000Z
Opal Prospect/OpenGL/ArrayTextureAtlas.hpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
null
null
null
#pragma once //std lib includes #include <string> #include <vector> //other includes /* MIT License Copyright (c) 2018 Scott Bengs 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 restr...
41.712644
243
0.751171
swbengs
aaeb66ff725b18134cbc4740e9fdcff2c5ffd85f
2,175
cc
C++
third-party/qthread/qthread-src/test/benchmarks/finepoints/partSendPrototype/mpiBaseTest1.cc
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
1,602
2015-01-06T11:26:31.000Z
2022-03-30T06:17:21.000Z
third-party/qthread/qthread-src/test/benchmarks/finepoints/partSendPrototype/mpiBaseTest1.cc
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
11,789
2015-01-05T04:50:15.000Z
2022-03-31T23:39:19.000Z
third-party/qthread/qthread-src/test/benchmarks/finepoints/partSendPrototype/mpiBaseTest1.cc
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
498
2015-01-08T18:58:18.000Z
2022-03-20T15:37:45.000Z
//#include <omp.h> #include <mpi.h> #include <qthread/qthread.h> #include <qthread/barrier.h> #include <qthread/qloop.h> #include <assert.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> typedef struct args { int rank; int numIterations; char* sendBuf; char* recvBuf; int numThread...
24.715909
130
0.682759
jhh67
aaf3d1f5fb113b051f372b00669f0e9c677b2907
13,803
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/corelib/io/qsavefile.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/corelib/io/qsavefile.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/corelib/io/qsavefile.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2012 David Faure <faure@kde.org> ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid...
32.554245
113
0.683475
GrinCash
aaf75fdb1ea2ae1d25317dd54f71fe36a26d5ee8
9,991
cpp
C++
Battle.cpp
Ricecrackie/Fantasy-Battle
058dc323101d405e222e9c8f135500044ce6e180
[ "Apache-2.0" ]
null
null
null
Battle.cpp
Ricecrackie/Fantasy-Battle
058dc323101d405e222e9c8f135500044ce6e180
[ "Apache-2.0" ]
null
null
null
Battle.cpp
Ricecrackie/Fantasy-Battle
058dc323101d405e222e9c8f135500044ce6e180
[ "Apache-2.0" ]
null
null
null
#include "Battle.h" #include "Tower.h" #include "Character/Boss.h" #include "Character/StrongEnemy.h" #include "Character/WeakEnemy.h" #include <random> #include "QRandomGenerator" extern int random_number(const int&, const int&); extern const int BossATK; extern const int BossDEF; extern const int StrongEnemyATK; ext...
44.404444
167
0.635172
Ricecrackie
aafb5597cd8fc9e872eee0246773aa0a3fd3d72e
10,324
cpp
C++
render.cpp
darkoppressor/huberts-island-level-editor
a1d7b0ccc20b8d463b7c26886349e5f0b0ee0d8c
[ "MIT" ]
null
null
null
render.cpp
darkoppressor/huberts-island-level-editor
a1d7b0ccc20b8d463b7c26886349e5f0b0ee0d8c
[ "MIT" ]
null
null
null
render.cpp
darkoppressor/huberts-island-level-editor
a1d7b0ccc20b8d463b7c26886349e5f0b0ee0d8c
[ "MIT" ]
null
null
null
/* Copyright (c) 2012-2013 Cheese and Bacon Games, LLC */ /* See the file docs/COPYING.txt for copying permission. */ #include "render.h" #include "world.h" using namespace std; SDL_Surface* optimize_image_opengl(SDL_Surface* surface){ SDL_PixelFormat RGBAFormat; RGBAFormat.palette=0; RGBAFormat.colorkey...
27.384615
131
0.663696
darkoppressor
aafccea20f3d3ed3259de1bdc59dfce3e7078bba
2,041
cpp
C++
test/test_ekf.cpp
Amit10311/robot_localization
7a2219c0579cfcad27fb59f1a7650bdc26f8ff72
[ "BSD-3-Clause" ]
null
null
null
test/test_ekf.cpp
Amit10311/robot_localization
7a2219c0579cfcad27fb59f1a7650bdc26f8ff72
[ "BSD-3-Clause" ]
null
null
null
test/test_ekf.cpp
Amit10311/robot_localization
7a2219c0579cfcad27fb59f1a7650bdc26f8ff72
[ "BSD-3-Clause" ]
null
null
null
#include "robot_localization/ekf.h" #include <gtest/gtest.h> TEST (EkfTest, Measurements) { RobotLocalization::Ekf ekf; Eigen::VectorXd measurement(12); for(size_t i = 0; i < 12; ++i) { measurement[i] = i; } Eigen::MatrixXd measurementCovariance(12, 12); for(size_t i = 0; i < 12; ++i) { meas...
25.197531
69
0.603626
Amit10311
c903f80e9487e23ffb635ef1feb8fe82732a6364
34,819
cpp
C++
src/ogeScript.cpp
suxinde2009/oge2d
8386762bed546db083f77736e7da0010cdd0082b
[ "MIT" ]
null
null
null
src/ogeScript.cpp
suxinde2009/oge2d
8386762bed546db083f77736e7da0010cdd0082b
[ "MIT" ]
null
null
null
src/ogeScript.cpp
suxinde2009/oge2d
8386762bed546db083f77736e7da0010cdd0082b
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- This source file is part of Open Game Engine 2D. It is licensed under the terms of the MIT license. For the latest info, see http://oge2d.sourceforge.net Copyright (c) 2010-2012 Lin Jia Jun (Joe Lam) Permission is hereby granted,...
26.062126
148
0.615325
suxinde2009
c90519cdacb02dd5b87932dacb0744d245efcb82
2,970
cpp
C++
functions/wrapper.cpp
nrandell/mlx90640-library
84ec44a16dea57305cd744532123f208e1a06a46
[ "Apache-2.0" ]
null
null
null
functions/wrapper.cpp
nrandell/mlx90640-library
84ec44a16dea57305cd744532123f208e1a06a46
[ "Apache-2.0" ]
null
null
null
functions/wrapper.cpp
nrandell/mlx90640-library
84ec44a16dea57305cd744532123f208e1a06a46
[ "Apache-2.0" ]
null
null
null
#include "MLX90640_I2C_Driver.h" #include "MLX90640_API.h" extern "C" { void WRAP_MLX90640_I2CInit() { MLX90640_I2CInit(); } int WRAP_MLX90640_I2CRead(uint8_t slaveAddr, uint16_t startAddress, uint16_t nMemAddressRead, uint16_t *data) { return MLX90640_I2CRead(slaveAddr...
33
131
0.707744
nrandell
c90577a0fb4c50e8650c8032cb1cf8a08e936173
6,285
cpp
C++
Chapter_14/src/Gui.cpp
9ndres/Ray-Tracing-Gems-II
5fef3b49375c823431ef06f8c67d1b44b432304a
[ "MIT" ]
603
2021-08-04T11:46:33.000Z
2022-03-28T12:12:31.000Z
Chapter_14/src/Gui.cpp
9ndres/Ray-Tracing-Gems-II
5fef3b49375c823431ef06f8c67d1b44b432304a
[ "MIT" ]
4
2021-07-09T09:00:43.000Z
2021-07-20T09:44:54.000Z
Chapter_14/src/Gui.cpp
9ndres/Ray-Tracing-Gems-II
5fef3b49375c823431ef06f8c67d1b44b432304a
[ "MIT" ]
45
2021-08-04T18:57:37.000Z
2022-03-11T11:33:49.000Z
/* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
33.790323
110
0.760223
9ndres
c90fe1fe059e66be2d19893cc552b95727357d11
6,428
cpp
C++
lib/targets/cuda/comm_target.cpp
Marcogarofalo/quda
7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda
[ "MIT" ]
null
null
null
lib/targets/cuda/comm_target.cpp
Marcogarofalo/quda
7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda
[ "MIT" ]
null
null
null
lib/targets/cuda/comm_target.cpp
Marcogarofalo/quda
7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda
[ "MIT" ]
null
null
null
#include <comm_quda.h> #include <quda_api.h> #include <quda_cuda_api.h> #include <algorithm> #include <shmem_helper.cuh> #define CHECK_CUDA_ERROR(func) \ quda::target::cuda::set_runtime_error(func, #func, __func__, __FILE__, __ST...
37.156069
121
0.671437
Marcogarofalo
c910eea999b17044cd9f674f2095ae6742803d40
682
cpp
C++
cards/WymianaKart.cpp
programistagd/TrachOnline
2acd9ffac0add87fd0f1824ae2b75132933496c7
[ "MIT" ]
3
2016-06-07T11:55:23.000Z
2016-06-09T17:17:52.000Z
cards/WymianaKart.cpp
radeusgd/TrachOnline
2acd9ffac0add87fd0f1824ae2b75132933496c7
[ "MIT" ]
25
2016-06-13T16:14:18.000Z
2017-07-29T08:12:23.000Z
cards/WymianaKart.cpp
radeusgd/TrachOnline
2acd9ffac0add87fd0f1824ae2b75132933496c7
[ "MIT" ]
null
null
null
#include "cards/WymianaKart.hpp" #include "GameServer.hpp" using namespace Cards; string WymianaKart::getName(){ return "wymiana_kart"; } bool WymianaKart::canBePlayedAt(CardPtr card, GameServer* game){ if(card==nullptr) return true; return false; } CardPtr WymianaKart::makeNew(){ return make_shared...
22.733333
65
0.71261
programistagd
c9114b64a479bbb8f2ae530ee6235965133f18e4
1,440
cpp
C++
cpp/MergekSortedLists.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
12
2015-03-12T03:27:26.000Z
2021-03-11T09:26:16.000Z
cpp/MergekSortedLists.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
null
null
null
cpp/MergekSortedLists.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
11
2015-01-28T16:45:40.000Z
2017-03-28T20:01:38.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ struct ListNodeWrapper{ ListNode* node; int listIndex; }; bool Compare(ListNodeWrapper lw1, ListNodeWrapper lw2) { return lw1.node->val > lw2.node...
26.666667
127
0.509722
thinksource
c913e129515426561924bec1f5f394858259527f
7,579
hpp
C++
include/GlobalNamespace/Levenshtein.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/Levenshtein.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/Levenshtein.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.MonoBehaviour #include ...
43.809249
170
0.727537
RedBrumbler
c9157ede81b6c55289ae23dd53dd870006d85b88
385
hpp
C++
core/code/core/LanguageTypes.hpp
iboB/word-grid
d1029323d5c51499298f3ed19390928371cb70a6
[ "MIT" ]
2
2019-07-01T00:10:43.000Z
2019-09-18T19:37:38.000Z
core/code/core/LanguageTypes.hpp
iboB/word-grid
d1029323d5c51499298f3ed19390928371cb70a6
[ "MIT" ]
null
null
null
core/code/core/LanguageTypes.hpp
iboB/word-grid
d1029323d5c51499298f3ed19390928371cb70a6
[ "MIT" ]
2
2019-07-17T17:44:16.000Z
2020-12-21T07:56:11.000Z
// word-grid // Copyright (c) 2019-2021 Borislav Stanimirov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // #pragma once #include "GridElement.hpp" #include <vector> namespace core { using Alphabet = std::vector<GridElement>;...
18.333333
47
0.735065
iboB
c9217162272e6f713c48fdf56e5724b5dfc7ca21
227,750
cpp
C++
test/grapheme_iterator_05.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
test/grapheme_iterator_05.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
test/grapheme_iterator_05.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
// Warning! This file is autogenerated. #include <boost/text/grapheme_iterator.hpp> #include <boost/text/utf8.hpp> #include <gtest/gtest.h> #include <algorithm> TEST(grapheme, iterator_05_0_fwd) { // ÷ 0600 × 1F1E6 ÷ // ÷ [0.2] ARABIC NUMBER SIGN (Prepend) × [9.2] REGIONAL INDICATOR SYMBOL LETTER A (RI) ÷...
28.723673
157
0.506828
jan-moeller
c922cf0de9e9e884099c3aebf660c3b338e6381d
8,126
cpp
C++
libs2eplugins/src/s2e/Plugins/StaticAnalysis/EdgeDetector.cpp
sebastianpoeplau/s2e
995cac6126e7d80337e8c4a72bfa9a87eea7eb68
[ "MIT" ]
55
2019-12-20T03:25:14.000Z
2022-01-16T07:19:47.000Z
libs2eplugins/src/s2e/Plugins/StaticAnalysis/EdgeDetector.cpp
Moirai7/s2e
5a321f76d1a862c3898b9d24de621109b0c12b7d
[ "MIT" ]
2
2020-11-02T08:01:00.000Z
2022-03-27T02:59:18.000Z
libs2eplugins/src/s2e/Plugins/StaticAnalysis/EdgeDetector.cpp
Moirai7/s2e
5a321f76d1a862c3898b9d24de621109b0c12b7d
[ "MIT" ]
11
2020-08-06T03:59:45.000Z
2022-02-25T02:31:59.000Z
/// /// Copyright (C) 2013-2015, Dependable Systems Laboratory, EPFL /// /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation files (the "Software"), to deal /// in the Software without restriction, including without limitation the rights ///...
40.63
120
0.643367
sebastianpoeplau
c92480fa8879802d00dcbe63a09107d642d6ef25
2,672
hpp
C++
inst/include/dust/gpu/cuda.hpp
mrc-ide/dust
24f843d3af30ccd14c233c2db8bcd03bfc42369b
[ "MIT" ]
14
2020-06-02T00:29:43.000Z
2021-06-20T06:46:33.000Z
inst/include/dust/gpu/cuda.hpp
mrc-ide/dust
24f843d3af30ccd14c233c2db8bcd03bfc42369b
[ "MIT" ]
350
2020-06-01T18:05:42.000Z
2022-03-24T17:06:21.000Z
inst/include/dust/gpu/cuda.hpp
mrc-ide/dust
24f843d3af30ccd14c233c2db8bcd03bfc42369b
[ "MIT" ]
1
2021-09-13T15:25:39.000Z
2021-09-13T15:25:39.000Z
#ifndef DUST_GPU_CUDA_HPP #define DUST_GPU_CUDA_HPP // Important: some key defines occur in // dust/random/cuda_compatibility.hpp rather than here; they need to // be there so that the standalone random library will work. #ifdef __NVCC__ #include <device_launch_parameters.h> #include <cooperative_groups.h> #include <...
22.266667
80
0.685629
mrc-ide
c926667f12ee50afa92b001e20f68d2a8a57af74
5,457
cpp
C++
src/FSString.cpp
pperehozhih/transform-cxx
f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48
[ "BSD-3-Clause" ]
4
2018-09-16T09:55:22.000Z
2020-12-19T02:02:40.000Z
src/FSString.cpp
pperehozhih/transform-cxx
f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48
[ "BSD-3-Clause" ]
null
null
null
src/FSString.cpp
pperehozhih/transform-cxx
f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48
[ "BSD-3-Clause" ]
2
2015-11-24T20:27:35.000Z
2019-06-04T15:23:30.000Z
/* * FSString.cpp * Transform SWF * * Created by Stuart MacKay on Thu Feb 13 2003. * Copyright (c) 2003 Flagstone Software Ltd. All rights reserved. * * This file contains Original Code and/or Modifications of Original Code as defined in * and that are subject to the Flagstone Software Source Lice...
28.873016
117
0.575591
pperehozhih
c92766fe41b83766d8d2e2aefa3d6df894063e7e
8,728
hpp
C++
matrix.hpp
ArvinSKushwaha/moldyn
cef3a3545c0975742c0786916b6d40a9f199b281
[ "MIT" ]
null
null
null
matrix.hpp
ArvinSKushwaha/moldyn
cef3a3545c0975742c0786916b6d40a9f199b281
[ "MIT" ]
null
null
null
matrix.hpp
ArvinSKushwaha/moldyn
cef3a3545c0975742c0786916b6d40a9f199b281
[ "MIT" ]
null
null
null
#ifndef MOLDYN_MATRIX_HPP #define MOLDYN_MATRIX_HPP #include <algorithm> #include <cmath> #include <initializer_list> #include <vector> #include <iostream> #include <functional> #include <ostream> #include <numeric> #include <string> #include <memory> template <typename T, size_t M, size_t N> class Matrix; template ...
35.052209
192
0.438932
ArvinSKushwaha
c928cb81ac5116527c878624f2755360f848dd59
4,075
hpp
C++
lib/rtos_data/include/rtos_file.hpp
kdeoliveira/coen320
4c788b3c2544e57e27bac8a59232f06c7a04d67a
[ "MIT" ]
null
null
null
lib/rtos_data/include/rtos_file.hpp
kdeoliveira/coen320
4c788b3c2544e57e27bac8a59232f06c7a04d67a
[ "MIT" ]
null
null
null
lib/rtos_data/include/rtos_file.hpp
kdeoliveira/coen320
4c788b3c2544e57e27bac8a59232f06c7a04d67a
[ "MIT" ]
null
null
null
#pragma once #include <stdio.h> #include <fstream> #include <cstring> #include <memory> #include <utility> #include <deque> #include <sys/stat.h> #include <rtos_common.hpp> namespace rtos { /** * @brief Input stream for files. Alternative C implementation of ifstream provided by the std library * File ...
23.970588
113
0.488834
kdeoliveira
c92a8e7de43c3a0a61cb0a545237b0433e6152cc
134
cc
C++
tests/CompileTests/ElsaTestCases/t0519.cc
maurizioabba/rose
7597292cf14da292bdb9a4ef573001b6c5b9b6c0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
tests/CompileTests/ElsaTestCases/t0519.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
tests/CompileTests/ElsaTestCases/t0519.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
// t0519.cc // raise xfailure, but a preceding error reduces severity void foo() { x; // preceding error __cause_xfailure(); }
14.888889
57
0.679104
maurizioabba
c92b3231c39474501554b944ab16de72607e034b
18,453
cpp
C++
IGC/DebugInfo/VISAModule.cpp
intel/intelgraphicscompiler
f7a20c6e6bed56933cfbb910a01da77a1d6ae6e4
[ "Intel", "MIT" ]
3
2017-09-29T20:02:18.000Z
2017-11-01T17:33:57.000Z
IGC/DebugInfo/VISAModule.cpp
intel/intelgraphicscompiler
f7a20c6e6bed56933cfbb910a01da77a1d6ae6e4
[ "Intel", "MIT" ]
null
null
null
IGC/DebugInfo/VISAModule.cpp
intel/intelgraphicscompiler
f7a20c6e6bed56933cfbb910a01da77a1d6ae6e4
[ "Intel", "MIT" ]
null
null
null
/*========================== begin_copyright_notice ============================ Copyright (C) 2017-2021 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ /*========================== begin_copyright_notice ============================ T...
33.069892
80
0.632363
intel
c92d479a517780a1c04d34b12e83a6d5821280d1
2,928
hpp
C++
Paper/Curve.hpp
mokafolio/Paper
d7e9c1450b29b1d3d8873de4f959bffa02232055
[ "MIT" ]
20
2016-12-13T22:34:35.000Z
2021-09-20T12:44:56.000Z
Paper/Curve.hpp
mokafolio/Paper
d7e9c1450b29b1d3d8873de4f959bffa02232055
[ "MIT" ]
null
null
null
Paper/Curve.hpp
mokafolio/Paper
d7e9c1450b29b1d3d8873de4f959bffa02232055
[ "MIT" ]
null
null
null
#ifndef PAPER_CURVE_HPP #define PAPER_CURVE_HPP #include <Paper/Path.hpp> namespace paper { class CurveLocation; class Segment; class STICK_API Curve { friend class Path; friend class Segment; public: Curve(); Curve(const Path & _path, stick::Size _segmentA, sti...
21.372263
81
0.635929
mokafolio
c92e15e6011444b62e2084bf8b7b9f2ce6012528
3,642
cpp
C++
3.三维空间刚体运动/useGeometry/eigenGeometry_test.cpp
HustRobot/VSLAM
e6759dc3769b3cca6ecf551a3bf120b0edeaeaa3
[ "MIT" ]
24
2019-03-14T06:00:15.000Z
2022-03-04T06:35:49.000Z
3.三维空间刚体运动/useGeometry/eigenGeometry_test.cpp
HustRobot/VSLAM
e6759dc3769b3cca6ecf551a3bf120b0edeaeaa3
[ "MIT" ]
null
null
null
3.三维空间刚体运动/useGeometry/eigenGeometry_test.cpp
HustRobot/VSLAM
e6759dc3769b3cca6ecf551a3bf120b0edeaeaa3
[ "MIT" ]
13
2018-09-17T15:56:51.000Z
2022-03-03T07:27:34.000Z
/*================================================================================= * Copyleft! 2018 William Yu * Some rights reserved:CC(creativecommons.org)BY-NC-SA * Copyleft! 2018 William Yu * 版权部分所有,遵循CC(creativecommons.org)BY-NC-SA协议授权方式使用 * * Filename ...
36.787879
100
0.494509
HustRobot
c9315d56f9441080a8b66650198537cc54ca3647
758
cpp
C++
code/select.cpp
ldionne/cppnow-2016-metaprogramming-for-the-brave
580f900d778553b8a7affc1dd02bbc597f992df6
[ "MIT" ]
6
2016-05-25T08:10:50.000Z
2017-09-14T14:36:48.000Z
code/select.cpp
ldionne/cppnow-2016-metaprogramming-for-the-brave
580f900d778553b8a7affc1dd02bbc597f992df6
[ "MIT" ]
null
null
null
code/select.cpp
ldionne/cppnow-2016-metaprogramming-for-the-brave
580f900d778553b8a7affc1dd02bbc597f992df6
[ "MIT" ]
null
null
null
// Copyright Louis Dionne 2016 // Distributed under the Boost Software License, Version 1.0. #include <cassert> #include <cstddef> #include <tuple> #include <utility> // sample(main) template <typename Tuple, std::size_t ...i> auto select(Tuple&& tuple, std::index_sequence<i...> const&) { using Result = std::tup...
26.137931
66
0.624011
ldionne
c934276b0a48baf1042071193079a10853d017ed
3,507
cpp
C++
src/realm/sync/object_id.cpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
977
2016-09-27T12:54:24.000Z
2022-03-29T08:08:47.000Z
src/realm/sync/object_id.cpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
2,265
2016-09-27T13:01:26.000Z
2022-03-31T17:55:37.000Z
src/realm/sync/object_id.cpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
154
2016-09-27T14:02:56.000Z
2022-03-27T14:51:00.000Z
#include <realm/sync/object_id.hpp> #include <realm/util/backtrace.hpp> #include <realm/util/overload.hpp> #include <sstream> #include <iomanip> #include <ostream> #include <cctype> // std::isxdigit #include <stdlib.h> // strtoull using namespace realm; using namespace realm::sync; std::ostream& realm::sync::opera...
29.225
104
0.611064
aleyooop
c935e0e85242912c0782350958aa0f76a4104813
1,163
cpp
C++
online_judges/cf/4/d/d.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
2
2018-02-20T14:44:57.000Z
2018-02-20T14:45:03.000Z
online_judges/cf/4/d/d.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
online_judges/cf/4/d/d.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef pair<int,int> pii; const int N = 5 * 1e3 + 100; struct dta { int w, h, i; dta() : w(0), h(0), i(0) {} dta(int w, int h, int i) : w(w), h(h), i(i) {} }; dta arr[N]; bool cmp(dta lh, dta rh) { if (lh.w == rh.w) return lh.h < rh.h; return lh.w < rh.w; ...
18.460317
55
0.395529
miaortizma
c93666f2e7be1e981a70a41062f5d15214e678d2
15,842
cpp
C++
trunk/win/Source/BT_MouseEventManager.cpp
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
460
2016-01-13T12:49:34.000Z
2022-02-20T04:10:40.000Z
trunk/win/Source/BT_MouseEventManager.cpp
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
24
2016-11-07T04:59:49.000Z
2022-03-14T06:34:12.000Z
trunk/win/Source/BT_MouseEventManager.cpp
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
148
2016-01-17T03:16:43.000Z
2022-03-17T12:20:36.000Z
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
29.391466
127
0.666646
dyzmapl
c938029b54fb586fd362b694813273e28d0a692d
336
hpp
C++
test/qsbr_test_utils.hpp
laurynas-biveinis/unodb
4865a2c5ca97a93e8d4e3e7c990ebb7be12371b9
[ "Apache-2.0" ]
24
2019-11-26T09:31:31.000Z
2022-03-27T16:31:45.000Z
test/qsbr_test_utils.hpp
laurynas-biveinis/unodb
4865a2c5ca97a93e8d4e3e7c990ebb7be12371b9
[ "Apache-2.0" ]
222
2019-10-26T12:50:54.000Z
2022-03-31T10:29:50.000Z
test/qsbr_test_utils.hpp
laurynas-biveinis/unodb
4865a2c5ca97a93e8d4e3e7c990ebb7be12371b9
[ "Apache-2.0" ]
1
2021-03-10T14:55:48.000Z
2021-03-10T14:55:48.000Z
// Copyright 2021 Laurynas Biveinis #ifndef UNODB_DETAIL_QSBR_TEST_UTILS_HPP #define UNODB_DETAIL_QSBR_TEST_UTILS_HPP #include "global.hpp" // IWYU pragma: keep #include <gtest/gtest.h> // IWYU pragma: keep namespace unodb::test { void expect_idle_qsbr(); } // namespace unodb::test #endif // UNODB_DETAIL_QSBR...
21
46
0.77381
laurynas-biveinis
c9388c8f6896d675fca4a4d0aab9748d13d5832c
5,184
cpp
C++
kratos/tests/cpp_tests/processes/test_structured_mesh_generator_process.cpp
lcirrott/Kratos
8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea
[ "BSD-4-Clause" ]
2
2020-04-30T19:13:08.000Z
2021-04-14T19:40:47.000Z
kratos/tests/cpp_tests/processes/test_structured_mesh_generator_process.cpp
lcirrott/Kratos
8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea
[ "BSD-4-Clause" ]
13
2019-10-07T12:06:51.000Z
2020-02-18T08:48:33.000Z
kratos/tests/cpp_tests/processes/test_structured_mesh_generator_process.cpp
lcirrott/Kratos
8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea
[ "BSD-4-Clause" ]
1
2020-06-12T08:51:24.000Z
2020-06-12T08:51:24.000Z
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: Pooyan Dadvand // // // System includes // Ext...
40.186047
135
0.652971
lcirrott
c9459f2c2d895101891d127fb9a4f3022d8dcb6b
8,309
hpp
C++
include/HMUI/HierarchyManager.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HMUI/HierarchyManager.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HMUI/HierarchyManager.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.MonoBehaviour #...
48.876471
237
0.73282
RedBrumbler
c94c406b00cf49bf343116eabc871095a1580203
2,425
cpp
C++
SkyBox.cpp
soleilgames/Zinc
af34cd2698a8d392d266802a67b4607df6a79033
[ "MIT" ]
null
null
null
SkyBox.cpp
soleilgames/Zinc
af34cd2698a8d392d266802a67b4607df6a79033
[ "MIT" ]
null
null
null
SkyBox.cpp
soleilgames/Zinc
af34cd2698a8d392d266802a67b4607df6a79033
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017 Florian GOLESTIN * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, p...
43.303571
80
0.715052
soleilgames
c9559c08c8c8f002b7c3cf0e5c6d0a0ff30d6d02
703
hpp
C++
include/htool/types/virtual_generator.hpp
htool-ddm/htool
e4dbec7c08c5008e62344fd0d5ebfdf95ef8863f
[ "MIT" ]
15
2020-05-06T15:20:42.000Z
2022-03-15T10:27:56.000Z
include/htool/types/virtual_generator.hpp
htool-ddm/htool
e4dbec7c08c5008e62344fd0d5ebfdf95ef8863f
[ "MIT" ]
14
2020-05-25T13:59:11.000Z
2022-03-02T16:40:45.000Z
include/htool/types/virtual_generator.hpp
PierreMarchand20/htool
b6e91690f8d7c20d67dfb3b8db2e7ea674405a37
[ "MIT" ]
2
2018-04-25T07:44:35.000Z
2019-11-05T16:57:00.000Z
#ifndef HTOOL_GENERATOR_HPP #define HTOOL_GENERATOR_HPP #include "vector.hpp" #include <cassert> #include <iterator> namespace htool { template <typename T> class VirtualGenerator { protected: // Data members int nr; int nc; int dimension; public: VirtualGenerator(int nr0, int nc0, int dimen...
20.676471
110
0.672831
htool-ddm
c958cb28035ae321dea1795ba9e70317e2d1b435
4,797
cpp
C++
src/Walker.cpp
SrinidhiSreenath/turtlebot-roomba
ec8d80c70ce077a8d2891557fbe9fa65f4f58bcc
[ "BSD-3-Clause" ]
null
null
null
src/Walker.cpp
SrinidhiSreenath/turtlebot-roomba
ec8d80c70ce077a8d2891557fbe9fa65f4f58bcc
[ "BSD-3-Clause" ]
null
null
null
src/Walker.cpp
SrinidhiSreenath/turtlebot-roomba
ec8d80c70ce077a8d2891557fbe9fa65f4f58bcc
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************************ * BSD 3-Clause License * Copyright (c) 2018, Srinidhi Sreenath * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ar...
36.618321
86
0.693767
SrinidhiSreenath
c95c16202557ff8003219858c01790821bc06a4f
348,708
cc
C++
iWorkFileInspector/iWorkFileInspector/Messages/TSKArchives.pb.cc
obriensp/iWorkFileFormat
8575e441beaaaa56f480fdd91721f5bb06d07d43
[ "MIT" ]
151
2015-01-07T01:39:17.000Z
2022-01-05T22:46:02.000Z
iWorkFileInspector/iWorkFileInspector/Messages/TSKArchives.pb.cc
Zearin/iWorkFileFormat
8575e441beaaaa56f480fdd91721f5bb06d07d43
[ "MIT" ]
5
2015-06-29T14:34:38.000Z
2022-03-25T20:55:38.000Z
iWorkFileInspector/iWorkFileInspector/Messages/TSKArchives.pb.cc
Zearin/iWorkFileFormat
8575e441beaaaa56f480fdd91721f5bb06d07d43
[ "MIT" ]
28
2015-01-09T01:45:20.000Z
2022-03-23T13:33:19.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: TSKArchives.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "TSKArchives.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h>...
36.709969
148
0.701114
obriensp
c95c9d295d62bbc0622c60ec9b1c4dd0ff4cb26b
2,655
tpp
C++
core/include/jiminy/core/TelemetryData.tpp
matthieuvigne/jiminy
f893b2254a9e695a4154b941b599536756ea3d8b
[ "MIT" ]
null
null
null
core/include/jiminy/core/TelemetryData.tpp
matthieuvigne/jiminy
f893b2254a9e695a4154b941b599536756ea3d8b
[ "MIT" ]
null
null
null
core/include/jiminy/core/TelemetryData.tpp
matthieuvigne/jiminy
f893b2254a9e695a4154b941b599536756ea3d8b
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// /// \brief Manage the data structures of the telemetry. /// /////////////////////////////////////////////////////////////////////////////// #ifndef JIMINY_TELEMETRY_DATA_TPP #define JIMINY_TELEMETRY_DATA_TPP #include <iostream> #inc...
39.626866
123
0.576271
matthieuvigne
c95d1f32a126e87c0bd04e977e216963c3f79924
21,858
hpp
C++
src/localizer/data_loader.hpp
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-05-22T12:47:34.000Z
2019-05-23T15:43:47.000Z
src/localizer/data_loader.hpp
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/localizer/data_loader.hpp
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
[ "Apache-2.0", "BSD-3-Clause" ]
1
2019-08-09T06:50:46.000Z
2019-08-09T06:50:46.000Z
#ifndef __DATA_LOADER_HPP__ #define __DATA_LOADER_HPP__ #include "core/basic_type.hpp" #include "utils/opencx.hpp" namespace dg { /** * @brief Type definitions of observed data */ enum { /** GPS data (time, lat, lon) */ DATA_GPS = 0, /** IMU data (time, w, x, y, z) */ DATA_IMU = 1, /** POI da...
34.640254
330
0.566566
deepguider
c960bc4204cf3b5412b1a4dfcab2a738dbb8c815
3,442
cpp
C++
Course_2_Ordered Data Structures/Week_3_Advanced Tree Structures/Week3_Challenge_implementation.cpp
pgautam8601/Accelerated_Computer_Science_Fundamentals_Specialization
2c11f943ab1f7e41e374f10708cf7b357979d5c3
[ "MIT" ]
37
2020-01-04T08:27:54.000Z
2022-03-28T07:37:16.000Z
Course_2_Ordered Data Structures/Week_3_Advanced Tree Structures/Week3_Challenge_implementation.cpp
pgautam8601/Accelerated_Computer_Science_Fundamentals_Specialization
2c11f943ab1f7e41e374f10708cf7b357979d5c3
[ "MIT" ]
null
null
null
Course_2_Ordered Data Structures/Week_3_Advanced Tree Structures/Week3_Challenge_implementation.cpp
pgautam8601/Accelerated_Computer_Science_Fundamentals_Specialization
2c11f943ab1f7e41e374f10708cf7b357979d5c3
[ "MIT" ]
25
2020-04-29T18:37:01.000Z
2022-03-20T13:15:34.000Z
// The height of a node is the number of edges in // its longest chain of descendants. // Implement computeHeight to compute the height // of the subtree rooted at the node n. Note that // this function does not return a value. You should // store the calculated height in that node's own // height member variable. Yo...
23.256757
73
0.626089
pgautam8601
c9616b0871dbbf789c73c33b7865c497f13e351a
1,199
cpp
C++
src/dynarmic/frontend/A32/translate/impl/a32_exception_generating.cpp
liushuyu/dynarmic
40afbe19279820e59382b7460643c62398ba0fb8
[ "0BSD" ]
77
2021-09-03T09:40:01.000Z
2022-03-30T05:18:36.000Z
src/dynarmic/frontend/A32/translate/impl/a32_exception_generating.cpp
xerpi/dynarmic
bcfe377aaa5138af740e90af5be7a7dff7b62a52
[ "0BSD" ]
16
2021-09-03T13:13:54.000Z
2022-03-30T20:07:38.000Z
src/dynarmic/frontend/A32/translate/impl/a32_exception_generating.cpp
xerpi/dynarmic
bcfe377aaa5138af740e90af5be7a7dff7b62a52
[ "0BSD" ]
15
2021-09-01T11:19:26.000Z
2022-03-27T09:19:14.000Z
/* This file is part of the dynarmic project. * Copyright (c) 2016 MerryMage * SPDX-License-Identifier: 0BSD */ #include "dynarmic/frontend/A32/translate/impl/a32_translate_impl.h" #include "dynarmic/interface/A32/config.h" namespace Dynarmic::A32 { // BKPT #<imm16> bool TranslatorVisitor::arm_BKPT(Cond cond, Imm...
26.644444
81
0.681401
liushuyu
c961f1b6fca899f8e3f4c2719f1970f98b1a52b7
4,399
cpp
C++
framework/src/manager/TBoardConfigDAQ.cpp
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
framework/src/manager/TBoardConfigDAQ.cpp
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
framework/src/manager/TBoardConfigDAQ.cpp
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
#include "TBoardConfigDAQ.h" using namespace std; // default values for config parameters; less important ones are set in the TBoardConfig constructor //---- ADC module const int TBoardConfigDAQ::LIMIT_DIGITAL = 300; const int TBoardConfigDAQ::LIMIT_IO = 50; const int TBoardConfigDAQ::LIMIT_ANALOGUE = 300...
34.912698
105
0.663333
AudreyFrancisco
e920f92bb9bfd1a82b823b0637f22f25a8417780
2,286
cpp
C++
src/Pannah.cpp
kant/MockbaModular
bd40171f426c00e0fcfae2720a02d4acb4f877a9
[ "MIT" ]
null
null
null
src/Pannah.cpp
kant/MockbaModular
bd40171f426c00e0fcfae2720a02d4acb4f877a9
[ "MIT" ]
null
null
null
src/Pannah.cpp
kant/MockbaModular
bd40171f426c00e0fcfae2720a02d4acb4f877a9
[ "MIT" ]
null
null
null
// Simple stereo panner by Mockba the Borg #include "plugin.hpp" #include "MockbaModular.hpp" struct Pannah : Module { enum ParamIds { _KNOB_PARAM, NUM_PARAMS }; enum InputIds { _MOD_INPUT, _VOLTAGE_INPUT, NUM_INPUTS }; enum OutputIds { _VOLTAGEL_OUTPUT, _VOLTAGER_OUTPUT, NUM_OUTPUTS }; enum Li...
29.307692
104
0.712598
kant
e92273b438aa4442908b613347623338887019ab
737
cc
C++
net/third_party/quic/core/frames/quic_ietf_blocked_frame.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
net/third_party/quic/core/frames/quic_ietf_blocked_frame.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
net/third_party/quic/core/frames/quic_ietf_blocked_frame.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/third_party/quic/core/frames/quic_ietf_blocked_frame.h" namespace net { QuicIetfBlockedFrame::QuicIetfBlockedFrame() {} QuicIetfBlock...
33.5
79
0.697422
zipated
e92295708437fbcded2658bb4649c80893391e51
6,798
cpp
C++
src/core/audio/pulseChannel.cpp
Amathlog/nes-emulator
e36682959e963827744631c73caa0df7f83d5853
[ "MIT" ]
null
null
null
src/core/audio/pulseChannel.cpp
Amathlog/nes-emulator
e36682959e963827744631c73caa0df7f83d5853
[ "MIT" ]
null
null
null
src/core/audio/pulseChannel.cpp
Amathlog/nes-emulator
e36682959e963827744631c73caa0df7f83d5853
[ "MIT" ]
null
null
null
#include <core/audio/pulseChannel.h> #include <core/constants.h> #include <cstdint> #include <string> using NesEmulator::PulseChannel; using NesEmulator::Sweep; using NesEmulator::PulseRegister; ////////////////////////////////////////////////////////////// // PULSE REGISTER //////////////////////////////////////////...
25.271375
121
0.62489
Amathlog
e922ce532dda6f1f4fac7a3faf31f6add14d9b5b
8,808
cpp
C++
tams_ur5_bartender_image_processing/src/demo_bottle_publisher.cpp
TAMS-Group/tams_ur5_bartender
36b5eeb97d8e00003c9a8a868431e97a4788d7de
[ "BSD-3-Clause" ]
4
2018-01-23T22:04:25.000Z
2020-10-25T03:57:16.000Z
tams_ur5_bartender_image_processing/src/demo_bottle_publisher.cpp
TAMS-Group/tams_ur5_bartender
36b5eeb97d8e00003c9a8a868431e97a4788d7de
[ "BSD-3-Clause" ]
1
2018-04-24T20:14:29.000Z
2018-04-26T17:34:02.000Z
tams_ur5_bartender_image_processing/src/demo_bottle_publisher.cpp
TAMS-Group/tams_ur5_bartender
36b5eeb97d8e00003c9a8a868431e97a4788d7de
[ "BSD-3-Clause" ]
1
2018-01-09T13:53:55.000Z
2018-01-09T13:53:55.000Z
/* Copyright (c) 2017, Daniel Ahlers, Lars Henning Kayser, Jeremias Hartz, Maham Tanveer, Oke Martensen All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain th...
36.547718
163
0.651567
TAMS-Group
e924bdd69f856700621cadaa1efb7e8713947fef
641
cpp
C++
Uva/Egypt.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
Uva/Egypt.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
Uva/Egypt.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int median(int x,int y,int z) { if((x<=y and x>=z) or (x>=y and x<=z)) return x; else if((y<=x and y>=z) or (x<=y and y<=z)) return y; else if((z>=x and z<=y) or (z<=x and z>=y)) return z; } int main() { int a,b,c,x,y,z; while(scanf("%d%d%d",&x,&y,&z)==3) { if(...
18.852941
55
0.4961
Sowmik23
e92794daae21721d34adbe55ca34f6ed6a7850e4
10,320
cc
C++
views/controls/textfield/textfield.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
views/controls/textfield/textfield.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
views/controls/textfield/textfield.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "views/controls/textfield/textfield.h" #if defined(OS_LINUX) #include <gdk/gdkkeysyms.h> #endif #include <string> #include "app/keyboard_c...
26.875
80
0.714147
Gitman1989
e927eab2aea1e5c562de11ca6fb068d95fede3b5
10,913
cpp
C++
implementations/ugene/src/plugins/CoreTests/src/GUrlTests.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/CoreTests/src/GUrlTests.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/CoreTests/src/GUrlTests.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
33.069697
135
0.591863
r-barnes
e92b5390f10ade81dcdfd118507231b5b1fd91db
3,983
hpp
C++
engine/include/engine/Model.hpp
vscav/contemplative-game
cadf92c1b44d226bf97a87f738ea3aad3e7dd376
[ "MIT" ]
null
null
null
engine/include/engine/Model.hpp
vscav/contemplative-game
cadf92c1b44d226bf97a87f738ea3aad3e7dd376
[ "MIT" ]
null
null
null
engine/include/engine/Model.hpp
vscav/contemplative-game
cadf92c1b44d226bf97a87f738ea3aad3e7dd376
[ "MIT" ]
1
2021-12-24T08:13:21.000Z
2021-12-24T08:13:21.000Z
#pragma once #ifndef _Model_HPP_ #define _Model_HPP_ #include <engine/Camera.hpp> #include <engine/Shader.hpp> #include <engine/Collider.hpp> #include <engine/VertexArrayObject.hpp> #include <engine/utils/filesystem.hpp> #include <engine/dependencies/tiny_gltf.h> #include <GL/glew.h> #include <memory> namespace eng...
47.416667
148
0.654532
vscav
e92e0960cf571d07187d5c035243bf4c8fbda2ee
240
cpp
C++
Item.cpp
stephens2633/CppPractice
05e886885466bc0fd43957c887c19545678e9230
[ "MIT" ]
null
null
null
Item.cpp
stephens2633/CppPractice
05e886885466bc0fd43957c887c19545678e9230
[ "MIT" ]
null
null
null
Item.cpp
stephens2633/CppPractice
05e886885466bc0fd43957c887c19545678e9230
[ "MIT" ]
null
null
null
#include "Item.h" #include<iostream> using namespace std; Item::Item() { //ctor } Item::~Item() { //dtor } void Item::getWriting(){ if(!writing.compare("")) cout << "Nothing written" << endl; else cout << writing <<endl; }
11.428571
36
0.595833
stephens2633
e933ed10a9d7f4451080ef6f860b247fd56af44a
683
hpp
C++
src/common/legacy/include/legacy/ngraph_ops/selu_ie.hpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
1
2021-11-24T08:40:13.000Z
2021-11-24T08:40:13.000Z
src/common/legacy/include/legacy/ngraph_ops/selu_ie.hpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
58
2020-11-06T12:13:45.000Z
2022-03-28T13:20:11.000Z
src/common/legacy/include/legacy/ngraph_ops/selu_ie.hpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
2
2021-07-14T07:40:50.000Z
2021-07-27T01:40:03.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <ie_api.h> #include "ngraph/op/op.hpp" namespace ngraph { namespace op { class SeluIE : public Op { public: OPENVINO_OP("SeluIE", "legacy"); BWDCMP_RTTI_DECLARATION; SeluIE(c...
20.088235
93
0.698389
pazamelin
e93467516f91cd1e05f524991d849423a251e41a
1,302
hpp
C++
tools/profiler/gui/include/treeitem.hpp
00-01/gap_sdk
25444d752b26ccf0b848301c381692d77172852c
[ "Apache-2.0" ]
118
2018-05-22T08:45:59.000Z
2022-03-30T07:00:45.000Z
tools/profiler/gui/include/treeitem.hpp
00-01/gap_sdk
25444d752b26ccf0b848301c381692d77172852c
[ "Apache-2.0" ]
213
2018-07-25T02:37:32.000Z
2022-03-30T18:04:01.000Z
tools/profiler/gui/include/treeitem.hpp
00-01/gap_sdk
25444d752b26ccf0b848301c381692d77172852c
[ "Apache-2.0" ]
76
2018-07-04T08:19:27.000Z
2022-03-24T09:58:05.000Z
/* * Copyright (C) 2020 GreenWaves Technologies, SAS * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * ...
27.125
85
0.715822
00-01
e9352f717a0cf9277d2af3df76fac7a65f958819
1,040
cpp
C++
snippets/cpp/VS_Snippets_CLR_System/system.IO.TextReaderWriter/CPP/textrw.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-02-22T09:30:21.000Z
2021-08-02T23:44:31.000Z
snippets/cpp/VS_Snippets_CLR_System/system.IO.TextReaderWriter/CPP/textrw.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_CLR_System/system.IO.TextReaderWriter/CPP/textrw.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <Snippet1> using namespace System; using namespace System::IO; // <Snippet4> void WriteText( TextWriter^ textWriter ) { textWriter->Write( "Invalid file path characters are: " ); textWriter->Write( Path::InvalidPathChars ); textWriter->Write( Char::Parse( "." ) ); } // </Snippet4> // <Snippet5> void Re...
22.12766
96
0.661538
BohdanMosiyuk
e938acd34564df6e26baa94ee69d6e654d7b2123
1,842
cpp
C++
apps/myApps/idolHackerthon/src/Scenes/SquareRippleScene.cpp
marble-seijin/idolHackerthon
a1f1312f4a9a4b1dc25eea94ee496088490f5cfc
[ "MIT" ]
null
null
null
apps/myApps/idolHackerthon/src/Scenes/SquareRippleScene.cpp
marble-seijin/idolHackerthon
a1f1312f4a9a4b1dc25eea94ee496088490f5cfc
[ "MIT" ]
null
null
null
apps/myApps/idolHackerthon/src/Scenes/SquareRippleScene.cpp
marble-seijin/idolHackerthon
a1f1312f4a9a4b1dc25eea94ee496088490f5cfc
[ "MIT" ]
null
null
null
// // SquareRipple.cpp // idolHackerthon // // Created by NAMBU AKIFUMI on 2015/09/12. // // #include "SquareRippleScene.h" SquareRippleScene::SquareRippleScene(){ ofBackground(255); } void SquareRippleScene::update(){ for (vector<SquareRipple>::iterator it = ripples.begin(); it != ripples.end(); ++i...
23.615385
90
0.449511
marble-seijin
e939008e50edd11d330217bc598402b9eca5c7e9
1,113
cpp
C++
src/ConcoleGame/clock.cpp
Aswiz/C_Plus_Plus
6768a67e821a444383232c41915fb9b6d81ceac4
[ "MIT" ]
null
null
null
src/ConcoleGame/clock.cpp
Aswiz/C_Plus_Plus
6768a67e821a444383232c41915fb9b6d81ceac4
[ "MIT" ]
null
null
null
src/ConcoleGame/clock.cpp
Aswiz/C_Plus_Plus
6768a67e821a444383232c41915fb9b6d81ceac4
[ "MIT" ]
null
null
null
//пример использования функции clock #include <iostream> // для оператора cout #include <ctime> // для функции clock #include <cmath> // для функции sqrt int frequencyPrimes (int n) ...
34.78125
105
0.446541
Aswiz
e93b15a3e3a00f4029aeda5835da7457c4e386a1
1,148
cpp
C++
tool/rokko_solvers.cpp
t-sakashita/rokko
ebd49e1198c4ec9e7612ad4a9806d16a4ff0bdc9
[ "BSL-1.0" ]
16
2015-01-31T18:57:48.000Z
2022-03-18T19:04:49.000Z
tool/rokko_solvers.cpp
t-sakashita/rokko
ebd49e1198c4ec9e7612ad4a9806d16a4ff0bdc9
[ "BSL-1.0" ]
514
2015-02-05T14:56:54.000Z
2021-06-25T09:29:52.000Z
tool/rokko_solvers.cpp
t-sakashita/rokko
ebd49e1198c4ec9e7612ad4a9806d16a4ff0bdc9
[ "BSL-1.0" ]
2
2015-06-16T04:22:23.000Z
2019-06-01T07:10:01.000Z
/***************************************************************************** * * Rokko: Integrated Interface for libraries of eigenvalue decomposition * * Copyright (C) 2012-2019 by Rokko Developers https://github.com/t-sakashita/rokko * * Distributed under the Boost Software License, Version 1.0. (See accompanying *...
31.888889
82
0.595819
t-sakashita
e93dfb562dc983971f42a200a07b431647652436
95
cpp
C++
contracts/test.inline/test.inline.cpp
TP-Lab/enumivo
76d81a36d2db8cea93fb54cd95a6ec5f6c407f97
[ "MIT" ]
8
2018-08-02T02:31:19.000Z
2018-08-16T03:31:02.000Z
contracts/test.inline/test.inline.cpp
TP-Lab/enumivo
76d81a36d2db8cea93fb54cd95a6ec5f6c407f97
[ "MIT" ]
null
null
null
contracts/test.inline/test.inline.cpp
TP-Lab/enumivo
76d81a36d2db8cea93fb54cd95a6ec5f6c407f97
[ "MIT" ]
null
null
null
#include <test.inline/test.inline.hpp> ENUMIVO_ABI( enumivo::testinline, (reqauth)(forward) )
23.75
54
0.757895
TP-Lab
e940a1521fe800f6b9c0031a8587612926a5d3f7
507
cpp
C++
src/vjudge/CodeForces/1A/24160288_AC_15ms_0kB.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/vjudge/CodeForces/1A/24160288_AC_15ms_0kB.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/vjudge/CodeForces/1A/24160288_AC_15ms_0kB.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
#include <cstdio> #include <cctype> #define int long long int read() { int ret, f = 1; char ch; while(!isdigit(ch = getchar())) (ch == '-') && (f = -1); for(ret = ch - '0'; isdigit(ch = getchar()); ret *= 10, ret += ch - '0'); return ret * f; } void print(int x) { if(x < 0) putchar('-'), x = -...
22.043478
77
0.457594
lnkkerst
e940c26ed9a92c15255d1b8e3017b811662e8893
69,542
cpp
C++
src/plugProjectEbisawaU/ebiCardMgr_Load.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/plugProjectEbisawaU/ebiCardMgr_Load.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/plugProjectEbisawaU/ebiCardMgr_Load.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_80497118 lbl_80497118: .4byte 0x65626943 .4byte 0x6172644D .4byte 0x67725F4C .4byte 0x6F61642E .4byte 0x63707000 .global lbl_8049712C lbl_8049712C: ...
24.256017
97
0.672845
projectPiki
e942f0a147ac55f005dd5ff7d2c9306a4e155173
1,514
cpp
C++
stacks_queues/queue_using_ll.cpp
ramchandra94/datastructures_in_cpp
28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7
[ "MIT" ]
null
null
null
stacks_queues/queue_using_ll.cpp
ramchandra94/datastructures_in_cpp
28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7
[ "MIT" ]
null
null
null
stacks_queues/queue_using_ll.cpp
ramchandra94/datastructures_in_cpp
28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7
[ "MIT" ]
null
null
null
/************************************************************ Following is the structure of the node class class Node { public : int data; Node *next; Node(int data) { this->data = data; next = NULL; } }; ********************************************************...
19.921053
66
0.423382
ramchandra94
e943e557728193cb6a24d56e908d51244119978e
9,622
cpp
C++
vm/instruments/profiler.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
1
2016-05-09T10:45:38.000Z
2016-05-09T10:45:38.000Z
vm/instruments/profiler.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
null
null
null
vm/instruments/profiler.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
null
null
null
#include "instruments/profiler.hpp" #include "vm/object_utils.hpp" #include "builtin/array.hpp" #include "builtin/class.hpp" #include "builtin/compiledmethod.hpp" #include "builtin/integer.hpp" #include "builtin/lookuptable.hpp" #include "builtin/module.hpp" #include "builtin/string.hpp" #include "builtin/symbol.hpp"...
27.104225
88
0.585429
samleb
e9470c962dfb222d6d049f4ae0f01c8ed0117873
1,960
hpp
C++
source/backend/cuda/core/BufferConvertor.hpp
zjd1988/mnn_cuda
d487534a2f6ffb0b98e3070a74682348e46ec4d1
[ "Apache-2.0" ]
1
2020-10-04T04:40:38.000Z
2020-10-04T04:40:38.000Z
source/backend/cuda/core/BufferConvertor.hpp
zjd1988/mnn_cuda
d487534a2f6ffb0b98e3070a74682348e46ec4d1
[ "Apache-2.0" ]
null
null
null
source/backend/cuda/core/BufferConvertor.hpp
zjd1988/mnn_cuda
d487534a2f6ffb0b98e3070a74682348e46ec4d1
[ "Apache-2.0" ]
null
null
null
// // ImageBufferConvertor.hpp // MNN // // Created by MNN on 2019/01/31. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef BufferConvertor_hpp #define BufferConvertor_hpp #include "core/Macro.h" #include <MNN/Tensor.hpp> #include "backend/cuda/core/runtime/CUDARuntime.hpp" #include "backend/cuda/core...
33.220339
100
0.715816
zjd1988
e94d1e020929f6c4c5f17fcd54f16ba1cadd18cf
147
cpp
C++
test/CompileVariableTest.cpp
hzx/mutant2
5029d4ef59dca55819a98975b47554110913d62e
[ "MIT" ]
1
2016-08-03T13:15:05.000Z
2016-08-03T13:15:05.000Z
test/CompileVariableTest.cpp
hzx/mutant2
5029d4ef59dca55819a98975b47554110913d62e
[ "MIT" ]
null
null
null
test/CompileVariableTest.cpp
hzx/mutant2
5029d4ef59dca55819a98975b47554110913d62e
[ "MIT" ]
null
null
null
#include <gmock/gmock.h> class CompileVariableTest: public ::testing::Test { public: }; TEST_F(CompileVariableTest, declaration) { FAIL(); }
12.25
51
0.714286
hzx
e94e5a06f97fe5c203caaf0c930b74c4042a9d3d
418
cpp
C++
07.connect/connect.cpp
JackeyLea/Wayland_Freshman
e6467ad05642d433bcff252c14507b52e199835f
[ "MIT" ]
7
2022-01-14T14:58:47.000Z
2022-03-10T07:19:24.000Z
07.connect/connect.cpp
JackeyLea/Wayland_Freshman
e6467ad05642d433bcff252c14507b52e199835f
[ "MIT" ]
1
2022-01-28T03:14:03.000Z
2022-01-28T03:14:03.000Z
07.connect/connect.cpp
JackeyLea/Wayland_Freshman
e6467ad05642d433bcff252c14507b52e199835f
[ "MIT" ]
2
2022-01-01T23:51:54.000Z
2022-02-02T08:35:07.000Z
///////////////////// // \author JackeyLea // \date // \note 测试能否正常链接wayland server ///////////////////// #include <wayland-client.h> #include <iostream> using namespace std; int main() { wl_display *display = wl_display_connect(0); if (!display) { std::cout << "Unable to connect to wayland composi...
17.416667
76
0.57177
JackeyLea
e9549399459a47c49e73042e2a7f3a4bbca0f452
5,726
cpp
C++
code/scripting/api/objs/particle.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
null
null
null
code/scripting/api/objs/particle.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
null
null
null
code/scripting/api/objs/particle.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
null
null
null
// // #include "particle.h" #include "vecmath.h" #include "object.h" namespace scripting { namespace api { particle_h::particle_h() { } particle_h::particle_h(const particle::WeakParticlePtr& part_p) { this->part = part_p; } particle::WeakParticlePtr particle_h::Get() { return this->part; } bool particle_h::isVali...
26.757009
244
0.66591
trgswe
e95541392cebc174ee7327107474cd9537ad9f6c
29,193
cpp
C++
src/evm/src/instructions.cpp
Rayshard/ede-pl
73298e21128ec4f5941c374bf7ebcd7f636e1c59
[ "MIT" ]
2
2021-10-17T07:10:00.000Z
2021-10-17T09:38:57.000Z
src/evm/src/instructions.cpp
Rayshard/ede-pl
73298e21128ec4f5941c374bf7ebcd7f636e1c59
[ "MIT" ]
null
null
null
src/evm/src/instructions.cpp
Rayshard/ede-pl
73298e21128ec4f5941c374bf7ebcd7f636e1c59
[ "MIT" ]
null
null
null
#include "instructions.h" #include <iostream> #include "thread.h" #include "vm.h" namespace Instructions { namespace Error { std::runtime_error CompilationNotImplemented(const vm_byte* _instr) { return std::runtime_error("Instruction compilation not implemented: " + ToString(_instr)); } } void...
50.858885
170
0.609153
Rayshard
e959cabacfd844292fb49a13e989bebb56ff73ab
2,536
hpp
C++
irohad/simulator/impl/simulator.hpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
1
2017-01-15T08:47:16.000Z
2017-01-15T08:47:16.000Z
irohad/simulator/impl/simulator.hpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
1
2017-11-08T02:34:24.000Z
2017-11-08T02:34:24.000Z
irohad/simulator/impl/simulator.hpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved. * http://soramitsu.co.jp * * 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...
34.27027
75
0.733438
laSinteZ
e95fe8742377c9e199a0879f3de49ca9187d874a
4,657
hpp
C++
SRA/LIB/SHELL/LIB/hls/NAL/src/hss.hpp
cloudFPGA/cFDK
9f52e5073391bd436284b285c58907d7ba35f955
[ "Apache-2.0" ]
2
2022-01-03T21:03:43.000Z
2022-01-22T21:36:04.000Z
SRA/LIB/SHELL/LIB/hls/NAL/src/hss.hpp
cloudFPGA/cFDK
9f52e5073391bd436284b285c58907d7ba35f955
[ "Apache-2.0" ]
null
null
null
SRA/LIB/SHELL/LIB/hls/NAL/src/hss.hpp
cloudFPGA/cFDK
9f52e5073391bd436284b285c58907d7ba35f955
[ "Apache-2.0" ]
1
2022-01-28T08:37:03.000Z
2022-01-28T08:37:03.000Z
/******************************************************************************* * Copyright 2016 -- 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
35.549618
85
0.579987
cloudFPGA
e9605dde96f17d5d1f28fae32ccb8114647a6658
2,958
hpp
C++
src/cpu/x64/jit_uni_quantization_injector.hpp
IvanNovoselov/oneDNN
aa47fcd2a03ee5caac119b6417bc66abe3154aab
[ "Apache-2.0" ]
null
null
null
src/cpu/x64/jit_uni_quantization_injector.hpp
IvanNovoselov/oneDNN
aa47fcd2a03ee5caac119b6417bc66abe3154aab
[ "Apache-2.0" ]
null
null
null
src/cpu/x64/jit_uni_quantization_injector.hpp
IvanNovoselov/oneDNN
aa47fcd2a03ee5caac119b6417bc66abe3154aab
[ "Apache-2.0" ]
1
2021-03-10T17:25:36.000Z
2021-03-10T17:25:36.000Z
/******************************************************************************* * Copyright 2019-2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
36.975
150
0.7167
IvanNovoselov