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
9f5a92cc43c0f35a7101f046a633ed4529fe8c27
1,506
cpp
C++
src/lua/script.cpp
FiniteReality/SourceLua
41ced5fb3c80376cac012c0dab1f9f2f39400e40
[ "MIT" ]
7
2017-08-27T08:11:48.000Z
2022-03-06T06:20:02.000Z
src/lua/script.cpp
FiniteReality/SourceLua
41ced5fb3c80376cac012c0dab1f9f2f39400e40
[ "MIT" ]
7
2017-08-18T14:17:09.000Z
2018-04-17T15:26:22.000Z
src/lua/script.cpp
FiniteReality/SourceLua
41ced5fb3c80376cac012c0dab1f9f2f39400e40
[ "MIT" ]
3
2017-10-04T03:35:58.000Z
2020-11-25T13:48:44.000Z
#include <stdexcept> #include <common/logging.hpp> #include <lua/error_handler.hpp> #include <lua/script.hpp> #include <thread/scheduler.hpp> namespace SourceLua { namespace Lua { Script::Script(lua_State* L) : _L{L}, _name{"=unknown"} { if (_L == nullptr) throw new std::runtime_error("L must not be ...
20.351351
72
0.64741
FiniteReality
9f5d67a3ac7adb976fd04e35059068de30813ffd
8,526
cpp
C++
src/Visual/EntityComponent.cpp
Kanma/Athena-Graphics
7e531c404ee55ca8f1ca39e94b55c3d505a2901f
[ "MIT" ]
1
2016-10-30T07:34:29.000Z
2016-10-30T07:34:29.000Z
src/Visual/EntityComponent.cpp
Kanma/Athena-Graphics
7e531c404ee55ca8f1ca39e94b55c3d505a2901f
[ "MIT" ]
null
null
null
src/Visual/EntityComponent.cpp
Kanma/Athena-Graphics
7e531c404ee55ca8f1ca39e94b55c3d505a2901f
[ "MIT" ]
null
null
null
/** @file EntityComponent.cpp @author Philip Abbet Implementation of the class 'Athena::Graphics::Visual::EntityComponent' */ #include <Athena-Graphics/Visual/EntityComponent.h> #include <Athena-Graphics/Conversions.h> #include <Athena-Entities/Transforms.h> #include <Athena-Entities/Scene.h> #include <Athe...
30.234043
93
0.612949
Kanma
9f5de0c64add9d5db02e91744023085e65f3f36b
1,956
cpp
C++
src/platformspecifics/u32/u32backend.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
16
2020-01-22T04:52:46.000Z
2022-02-22T09:53:39.000Z
src/platformspecifics/u32/u32backend.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
15
2020-02-16T01:12:42.000Z
2021-05-03T21:51:26.000Z
src/platformspecifics/u32/u32backend.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
3
2020-04-03T22:20:14.000Z
2020-09-23T07:58:09.000Z
#include "u32backend.hpp" #include <Lmcons.h> #include <QCursor> #include <QtWin> #include <windows.h> std::tuple<QPoint, QPixmap> PlatformBackend::getCursor() { CURSORINFO cursorInfo; cursorInfo.cbSize = sizeof(cursorInfo); if (GetCursorInfo(&cursorInfo)) { if (cursorInfo.flags == CURSOR_SHOWING)...
33.724138
117
0.596115
mightybruno
9f611a6e82a27d5ad177ea13f9ba57ac4311b7de
1,332
cpp
C++
DataStructures/lg_P1827_tree.cpp
Yurzi/Jlu-C-OJ
1bbf0532ded06b31e6516f90270760f11ccb1b3c
[ "MIT" ]
7
2020-11-02T13:15:36.000Z
2021-07-06T05:09:55.000Z
DataStructures/lg_P1827_tree.cpp
Yurzi/Jlu-C-OJ
1bbf0532ded06b31e6516f90270760f11ccb1b3c
[ "MIT" ]
null
null
null
DataStructures/lg_P1827_tree.cpp
Yurzi/Jlu-C-OJ
1bbf0532ded06b31e6516f90270760f11ccb1b3c
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; struct node { char info; int left; int right; node(char _c,int _left, int _right){ info=_c; left=_left; right=_right; } }; vector<node> postOrder; vector<node> inOrder; int count=-1; int createTreebyPostAndIn(int l...
18.246575
64
0.545045
Yurzi
9f6582ee72bd887fccf911c2093a149b631e3e6d
914
cpp
C++
src/ROCInterpolator.cpp
timosachsenberg/Fido
e46bb879d3405dc7a63ad5c4188f0734a2a7ef82
[ "MIT" ]
null
null
null
src/ROCInterpolator.cpp
timosachsenberg/Fido
e46bb879d3405dc7a63ad5c4188f0734a2a7ef82
[ "MIT" ]
null
null
null
src/ROCInterpolator.cpp
timosachsenberg/Fido
e46bb879d3405dc7a63ad5c4188f0734a2a7ef82
[ "MIT" ]
null
null
null
#include "ROCInterpolator.h" double ROCInterpolator::interpolate(const Array<double> & fps, const Array<double> & tps, double fpVal) { bool success = false; int k; for (k=0; k<fps.size(); k++) { if ( fps[k] > fpVal ) { success = true; break; } } if ( ! success ) { cerr << "Pro...
21.761905
147
0.592998
timosachsenberg
9f674ff79f625a217de65b4e7b20161653915228
13,236
cpp
C++
src/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.java #include <org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.hpp> #include <java/io/ByteArrayOutputStream.hpp> #include <java/io/EOFException.hpp> #include <java/io/IOException.hpp> #include <java/io/InputStream.hpp> #include...
43.396721
286
0.681399
pebble2015
9f68aa95585aa41d77e0ed106d383dd597cbf049
247
cpp
C++
matu379.cpp
NewtonVan/Fxxk_Y0u_m47u
d303c7f13c074b5462ac8390a9ff94e546099fac
[ "MIT" ]
1
2020-09-26T16:47:16.000Z
2020-09-26T16:47:16.000Z
matu379.cpp
NewtonVan/Fxxk_Y0u_m47u
d303c7f13c074b5462ac8390a9ff94e546099fac
[ "MIT" ]
null
null
null
matu379.cpp
NewtonVan/Fxxk_Y0u_m47u
d303c7f13c074b5462ac8390a9ff94e546099fac
[ "MIT" ]
1
2020-09-26T16:47:40.000Z
2020-09-26T16:47:40.000Z
class CNumber : public CNumberFactory { int num; public: CNumber(){} void Add(int number) { num+= number; } void Sub(int number) { num-= number; } int GetValue() { return num; } void SetValue(int number) { num= number; } };
9.88
26
0.611336
NewtonVan
9f68f9c4a02e34a149a3938ce62b0ad322608fc9
1,526
cpp
C++
libs/numeric/mtl/test/forms_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
libs/numeric/mtl/test/forms_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
libs/numeric/mtl/test/forms_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and And...
26.77193
127
0.607471
lit-uriy
9f69caee1f05d4fe28323644c0d7adb9982389e5
33,406
cpp
C++
sources/unittests/HJIPDE_solve/UTest_HJIPDE_solve.cpp
mdoshi96/beacls
860426ed1336d9539dea195987efcdd8a8276a1c
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
30
2017-12-17T22:57:50.000Z
2022-01-30T17:06:34.000Z
sources/unittests/HJIPDE_solve/UTest_HJIPDE_solve.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
2
2017-03-24T06:18:16.000Z
2017-04-04T16:16:06.000Z
sources/unittests/HJIPDE_solve/UTest_HJIPDE_solve.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
8
2018-07-06T01:47:21.000Z
2021-07-23T15:50:34.000Z
#define _USE_MATH_DEFINES #include <levelset/levelset.hpp> #include <helperOC/helperOC.hpp> #include <helperOC/DynSys/DynSys/DynSysSchemeData.hpp> #include <helperOC/DynSys/DubinsCar/DubinsCar.hpp> #include <helperOC/DynSys/DubinsCarCAvoid/DubinsCarCAvoid.hpp> #include <helperOC/DynSys/Air3D/Air3D.hpp> #include <sstrea...
32.464529
171
0.719003
mdoshi96
9f6bda2090fbcd47d68a98af00d6bad5ebee2d66
1,086
cpp
C++
SVIEngine/jni/SVI/Utils/SVITime.cpp
Samsung/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
27
2015-04-24T07:14:55.000Z
2020-01-24T16:16:37.000Z
SVIEngine/jni/SVI/Utils/SVITime.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
null
null
null
SVIEngine/jni/SVI/Utils/SVITime.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
15
2015-12-08T14:46:19.000Z
2020-01-21T19:26:41.000Z
#include "SVITime.h" #include "../SVICores.h" #include <time.h> #include <stdarg.h> #define SEC_A_DAY 86400 SVIUInt SVITime::currentTimeMillis() { struct timeval t; gettimeofday(&t, NULL); //time is measured as millisecond. SVIUInt currentTime = (SVIUInt)((t.tv_sec % SEC_A_DAY)*1000 + (t.tv_usec / 1000)); retu...
19.392857
83
0.676796
Samsung
9f6e094119dce5e24805e7862a497143e0b0f38e
35
cpp
C++
library/text_processing/dictionary/serialization_helpers.cpp
ibr11/catboost
842a25b4fb856a61564b163b16a3f49ba35fdc14
[ "Apache-2.0" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
library/cpp/text_processing/dictionary/serialization_helpers.cpp
birichie/catboost
de75c6af12cf490700e76c22072fbdc15b35d679
[ "Apache-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
library/cpp/text_processing/dictionary/serialization_helpers.cpp
birichie/catboost
de75c6af12cf490700e76c22072fbdc15b35d679
[ "Apache-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
#include "serialization_helpers.h"
17.5
34
0.828571
ibr11
9f6e36adaf6b346d9611e7844be006a208a6b40d
5,855
cpp
C++
src/MainFrame.cpp
senfti/Kacarsonne
f2e3cbd7fd80bd1c9a6e41f03544b1e0718c0bd2
[ "MIT" ]
4
2020-04-10T19:11:28.000Z
2020-05-01T11:25:46.000Z
src/MainFrame.cpp
senfti/Kacarsonne
f2e3cbd7fd80bd1c9a6e41f03544b1e0718c0bd2
[ "MIT" ]
2
2020-05-07T17:34:40.000Z
2020-06-05T18:53:29.000Z
src/MainFrame.cpp
senfti/Kacarsonne
f2e3cbd7fd80bd1c9a6e41f03544b1e0718c0bd2
[ "MIT" ]
2
2020-04-10T19:11:34.000Z
2020-12-08T19:12:31.000Z
// // Created by ts on 24.03.20. // #include <filesystem> #include <MainFrame.h> #include <IdsDialog.h> #include <PointEntryDialog.h> #include <PointHistoryWindow.h> #include <SettingsWindow.h> #include "main.h" MainFrame::MainFrame(MyApp* app) : MainFrame_B(nullptr), app_(app), timer_(this){ } MainFrame::~MainFra...
29.129353
134
0.680956
senfti
9f6e3ccc836d8100125140af85d9da02f09743dc
1,725
hpp
C++
inference-engine/tests/unit/inference_engine_tests/cpp_interfaces/task_tests_utils.hpp
zhoub/dldt
e42c01cf6e1d3aefa55e2c5df91f1054daddc575
[ "Apache-2.0" ]
3
2020-02-09T23:25:37.000Z
2021-01-19T09:44:12.000Z
inference-engine/tests/unit/inference_engine_tests/cpp_interfaces/task_tests_utils.hpp
zhoub/dldt
e42c01cf6e1d3aefa55e2c5df91f1054daddc575
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/unit/inference_engine_tests/cpp_interfaces/task_tests_utils.hpp
zhoub/dldt
e42c01cf6e1d3aefa55e2c5df91f1054daddc575
[ "Apache-2.0" ]
2
2020-04-18T16:24:39.000Z
2021-01-19T09:42:19.000Z
// Copyright (C) 2018-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <gtest/gtest.h> #include <gmock/gmock-spec-builders.h> #include <thread> #include <mutex> #include <condition_variable> using namespace InferenceEngine; using namespace ::testing; using namespace std; class ...
26.136364
113
0.643478
zhoub
9f720605a730030172b5aaa721d170d2a2e21961
1,595
cpp
C++
December-07/cpp_aw3someone.cpp
Aw3someOne/A-December-of-Algorithms-2019
0b17b3a0360d1906babc141dd8a4b9ac67d1b609
[ "MIT" ]
null
null
null
December-07/cpp_aw3someone.cpp
Aw3someOne/A-December-of-Algorithms-2019
0b17b3a0360d1906babc141dd8a4b9ac67d1b609
[ "MIT" ]
null
null
null
December-07/cpp_aw3someone.cpp
Aw3someOne/A-December-of-Algorithms-2019
0b17b3a0360d1906babc141dd8a4b9ac67d1b609
[ "MIT" ]
null
null
null
#include <deque> #include <iostream> #include <sstream> #include <string> #include <vector> struct Patient { int token; std::string id; Patient(int token, std::string id) : token(token), id(id) {} }; std::ostream& operator<<(std::ostream& os, const Patient* p) { os << '(' << p->token << ", " << p->id << ')'; ret...
21.849315
79
0.574295
Aw3someOne
9f7448a96bda92e791f828209cc2f66e2af10444
4,328
cxx
C++
modules/core/tests/basicStatismoTest.cxx
skn123/statismo-1
a380f33cf070d1c4ba624db8b0c6d946d2aecabf
[ "BSD-3-Clause" ]
14
2020-04-28T17:24:01.000Z
2021-07-20T11:54:59.000Z
modules/core/tests/basicStatismoTest.cxx
latimagine/statismo
a380f33cf070d1c4ba624db8b0c6d946d2aecabf
[ "BSD-3-Clause" ]
8
2020-01-22T09:05:00.000Z
2021-06-29T10:10:24.000Z
modules/core/tests/basicStatismoTest.cxx
latimagine/statismo
a380f33cf070d1c4ba624db8b0c6d946d2aecabf
[ "BSD-3-Clause" ]
6
2020-03-11T19:41:06.000Z
2021-09-07T12:57:20.000Z
/* * This file is part of the statismo library. * * Author: Marcel Luethi (marcel.luethi@unibas.ch) * * Copyright (c) 2011 University of Basel * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ar...
40.448598
116
0.753928
skn123
9f7553ebf2a7873002ca73d4855aed08e888f059
654
cpp
C++
examples/stream1.cpp
mjcaisse/cppnow-2017-network-ts-material
128bcf2a718e8f13c2991520a56ddc41b3ccb28b
[ "BSL-1.0" ]
5
2017-05-19T23:03:26.000Z
2021-05-03T13:40:19.000Z
examples/stream1.cpp
mjcaisse/cppnow-2017-network-ts-material
128bcf2a718e8f13c2991520a56ddc41b3ccb28b
[ "BSL-1.0" ]
1
2018-05-15T18:40:33.000Z
2018-05-15T18:40:33.000Z
examples/stream1.cpp
mjcaisse/cppnow-2017-network-ts-material
128bcf2a718e8f13c2991520a56ddc41b3ccb28b
[ "BSL-1.0" ]
2
2017-10-03T13:23:34.000Z
2018-04-23T16:19:11.000Z
#include <experimental/net> #include <chrono> #include <string> #include <iostream> using namespace std::chrono_literals; namespace net = std::experimental::net; int main() { net::ip::tcp::iostream s; s.expires_after(5s); s.connect("www.boost.org", "https"); if(!s) { std::cout << "error: " <...
19.818182
65
0.553517
mjcaisse
9f76ed3dc86b8f58ae5eedad16f2b785be9667fc
1,436
cpp
C++
v1/CException.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
v1/CException.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
v1/CException.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
#pragma once #include "stdafx.h" #include "CException.h" CException::CException(const char* msg) { this->name = "CException"; this->msg = msg; } void CException::printMsg() { printf("%s:\n\t%s\n", name, msg); exit(-1); } CIndexOutOfBoundsException::CIndexOutOfBoundsException(int index, int bounds, const char* ...
27.09434
114
0.738162
lanyj
9f7901d59f0ddbf3055760fc61e3e2286a327708
405
cpp
C++
bazaar/Scatter/PopUpText.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
bazaar/Scatter/PopUpText.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
bazaar/Scatter/PopUpText.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include "PopUpText.h" void PopUpInfo::Paint(Draw& w) { Size sz = GetSize(); if(!IsTransparent()) w.DrawRect(0, 0, sz.cx, sz.cy, color); PaintLabel(w, 0, 0, sz.cx, sz.cy, !IsShowEnabled(), false, false, VisibleAccessKeys()); } PopUpInfo::PopUpInfo(): color(SColorInfo()) { Transparent(false); NoWantFocus(); ...
17.608696
88
0.674074
dreamsxin
9f8051bad0fe0c00f7db199c573544ea0e8626da
5,058
cc
C++
components/password_manager/ios/test_helpers.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/password_manager/ios/test_helpers.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/password_manager/ios/test_helpers.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright (c) 2018 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 "components/password_manager/ios/test_helpers.h" #include "base/strings/utf_string_conversions.h" #include "components/autofill/core/common/...
40.142857
79
0.704033
mghgroup
9f80bd6eeaad3f9add9d3e97470aba3629a4297a
11,605
cpp
C++
editor/renderer/src/Material.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
editor/renderer/src/Material.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
editor/renderer/src/Material.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
/*************************************************************************** * Copyright (C) 2006-07 by Reinhard Jeschull * rjeschu@fh-landshut.de * * 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 * th...
27.963855
85
0.650754
lizardkinger
9f85c9364e622713b8b8b52534e5febe4b3d3d1a
80
cpp
C++
src/enum-enhanced.cpp
zzlc/cxx11tests
d471b3f8b96548c762be6b7e410abe56a57811ae
[ "MIT" ]
48
2015-01-06T20:50:45.000Z
2021-02-15T02:48:32.000Z
src/enum-enhanced.cpp
zzlc/cxx11tests
d471b3f8b96548c762be6b7e410abe56a57811ae
[ "MIT" ]
3
2016-01-19T15:02:19.000Z
2019-04-29T08:51:13.000Z
src/enum-enhanced.cpp
zzlc/cxx11tests
d471b3f8b96548c762be6b7e410abe56a57811ae
[ "MIT" ]
24
2015-02-13T17:40:04.000Z
2019-12-03T06:59:03.000Z
// Check if enhanced enums are supported enum Days: unsigned short {Odd, Even};
26.666667
40
0.75
zzlc
9f89f4742acbce21760b5f7c242fea151b304b5f
1,629
cpp
C++
server/modules/FileReader/FileReaderManager.cpp
hotgloupi/zhttpd
0437ac2e34dde89abab26665df9cbee1777f1d44
[ "BSD-3-Clause" ]
2
2015-01-29T17:23:23.000Z
2015-09-21T17:45:22.000Z
server/modules/FileReader/FileReaderManager.cpp
hotgloupi/zhttpd
0437ac2e34dde89abab26665df9cbee1777f1d44
[ "BSD-3-Clause" ]
null
null
null
server/modules/FileReader/FileReaderManager.cpp
hotgloupi/zhttpd
0437ac2e34dde89abab26665df9cbee1777f1d44
[ "BSD-3-Clause" ]
null
null
null
#include "utils/Logger.hpp" #include "utils/Path.hpp" #include "FileReaderManager.hpp" using namespace zhttpd::mod; FileReaderManager::FileReaderManager() : StatefullManager<FileReader>("mod_filereader"), _delay(0) { this->_defaultMimeType = ""; } FileReaderManager::~FileReaderManager() { } unsigned int FileR...
23.271429
98
0.63229
hotgloupi
9f8a9bdb1a6199734132cece4919fd93acfc166f
1,269
cpp
C++
examples/complex-multiple.cpp
tibbetts/inside-c
a72f6d44f15343e81b35da8edadd0e9c63315d40
[ "MIT" ]
18
2015-01-19T04:18:49.000Z
2022-03-04T06:22:44.000Z
examples/complex-multiple.cpp
tibbetts/inside-c
a72f6d44f15343e81b35da8edadd0e9c63315d40
[ "MIT" ]
null
null
null
examples/complex-multiple.cpp
tibbetts/inside-c
a72f6d44f15343e81b35da8edadd0e9c63315d40
[ "MIT" ]
4
2020-02-19T22:29:23.000Z
2021-09-22T16:45:52.000Z
#include <stdio.h> class baseA2 { int dataA; public: void setDataA(int a); virtual int getDataA() const; }; class baseB2 { int dataB; public: void setDataB(int b); virtual int getDataB() const; }; class subBoth2 : public baseA2, public baseB2 { public: virtual int getSum() const; ...
16.269231
50
0.600473
tibbetts
9f906a21c2240b9698af3b573e97a36b17ec10f5
694
hpp
C++
graphics-library/include/engine/buffer.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/include/engine/buffer.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/include/engine/buffer.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <GL/glew.h> namespace gl::engine { template <class T> class Buffer { public: Buffer(GLuint mode); Buffer(const std::vector<T> &data, GLuint mode); ~Buffer(); void transferBuffer(); void useBuffer(); voi...
22.387097
57
0.538905
thetorine
9f958685b1a07c29dbdb337111f211b76513a1ed
1,791
cc
C++
Code/0023-merge-k-sorted-lists.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
2
2019-12-06T14:08:57.000Z
2020-01-15T15:25:32.000Z
Code/0023-merge-k-sorted-lists.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
1
2020-01-15T16:29:16.000Z
2020-01-26T12:40:13.000Z
Code/0023-merge-k-sorted-lists.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: // devide and conquer ListNode* mergeKLists(vector<ListNode*>& lists) { if (lists.size() == 0) return NULL; if (...
28.428571
79
0.463987
SMartQi
7a074a79f6a0c65079215508acdd207f8326c2e3
6,880
cpp
C++
src/mongo/db/repl/repl_client_info.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/repl/repl_client_info.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/repl/repl_client_info.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
47.448276
100
0.680814
benety
7a0c22249608e06bf74446b494022b691247e020
3,225
cpp
C++
MonoNative.Tests/mscorlib/System/Runtime/Remoting/Channels/mscorlib_System_Runtime_Remoting_Channels_BaseChannelWithProperties_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Runtime/Remoting/Channels/mscorlib_System_Runtime_Remoting_Channels_BaseChannelWithProperties_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Runtime/Remoting/Channels/mscorlib_System_Runtime_Remoting_Channels_BaseChannelWithProperties_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Runtime.Remoting.Channels // Name: BaseChannelWithProperties // C++ Typed Name: mscorlib::System::Runtime::Remoting::Channels::BaseChannelWithProperties #include <gtest/gtest.h> #includ...
25.393701
122
0.694264
brunolauze
7a0c778cf62781d9395276c59eb7535998023619
1,655
cpp
C++
src/common/SettingsAPI/FileWatcher.cpp
tameemzabalawi/PowerToys
5c6f7b1aea90ecd9ebe5cb8c7ddf82f8113fcb45
[ "MIT" ]
76,518
2019-05-06T22:50:10.000Z
2022-03-31T22:20:54.000Z
src/common/SettingsAPI/FileWatcher.cpp
Nakatai-0322/PowerToys
1f64c1cf837ca958ad14dc3eb7887f36220a1ef9
[ "MIT" ]
15,530
2019-05-07T01:10:24.000Z
2022-03-31T23:48:46.000Z
src/common/SettingsAPI/FileWatcher.cpp
Nakatai-0322/PowerToys
1f64c1cf837ca958ad14dc3eb7887f36220a1ef9
[ "MIT" ]
5,184
2019-05-06T23:32:32.000Z
2022-03-31T15:43:25.000Z
#include "pch.h" #include "FileWatcher.h" std::optional<FILETIME> FileWatcher::MyFileTime() { HANDLE hFile = CreateFileW(m_path.c_str(), FILE_READ_ATTRIBUTES, FILE_SHARE_DELETE | FILE_SHARE_READ | FILE_SHARE_WRITE, nullptr, OPEN_EXISTING, 0, nullptr); std::optional<FILETIME> result; if (hFile != INVALID_HA...
23.985507
161
0.587311
tameemzabalawi
7a0dbe3744ce2ca50f734d850a0889314ee4abe4
396
cpp
C++
C++/Introduction/functions.cpp
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
C++/Introduction/functions.cpp
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
C++/Introduction/functions.cpp
abivilion/Hackerank-Solutions-
e195fb1fce1588171cf12d99d38da32ca5c8276a
[ "MIT" ]
null
null
null
#include <iostream> // #include<bits/stdc++.h> #include <algorithm> using namespace std; int max_of_four(int a,int b,int c,int d) { return((a>b?a:b)>(c>d?c:d)?(a>b?a:b):(c>d?c:d)); } /* Add `int max_of_four(int a, int b, int c, int d)` here. */ int main() { int a, b, c, d; cin>>a>>b>>c>>d; ...
18.857143
56
0.527778
abivilion
7a119a2a1f728861dc65230064dc8d0d8916cc26
1,053
hpp
C++
include/entity.hpp
alsymd/BreakOut
055befbb61b0a3080b9a7d67359c0dbaf13eb596
[ "WTFPL" ]
null
null
null
include/entity.hpp
alsymd/BreakOut
055befbb61b0a3080b9a7d67359c0dbaf13eb596
[ "WTFPL" ]
null
null
null
include/entity.hpp
alsymd/BreakOut
055befbb61b0a3080b9a7d67359c0dbaf13eb596
[ "WTFPL" ]
null
null
null
#ifndef ALS_ENTITY_HPP #define ALS_ENTITY_HPP #include"rect_shape.hpp" #include<memory> #include<libguile.h> namespace als { class texture; class renderer; class moving_entity; class entity { public: entity(); entity(const rect_shape &shape, const std::string &texture_path); virtual ~entity()=de...
28.459459
69
0.733143
alsymd
7a1254581b03595c27d4a4b5c40b45818d71b741
219
cpp
C++
most_significant_bit.cpp
WizArdZ3658/Data-Structures-and-Algorithms
4098c0680c13127473d7ce6a41ead519559ff962
[ "MIT" ]
3
2020-09-14T04:50:13.000Z
2021-04-17T06:42:43.000Z
most_significant_bit.cpp
WizArdZ3658/Data-Structures-and-Algorithms
4098c0680c13127473d7ce6a41ead519559ff962
[ "MIT" ]
null
null
null
most_significant_bit.cpp
WizArdZ3658/Data-Structures-and-Algorithms
4098c0680c13127473d7ce6a41ead519559ff962
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> using namespace std; int setBit(int n) { int k = (int)(log2(n)); return 1<<k; } int main() { int n; cin >> n; cout << "Most significant bits : " << setBit(n) << '\n'; return 0; }
14.6
57
0.593607
WizArdZ3658
7a127378c9db1bbd9fe4acd3311449e774f65633
5,339
cpp
C++
csv/applications/csv-from-columns.cpp
mission-systems-pty-ltd/comma
3ccec0b206fb15a8c048358a7fc01be61a7e4f1e
[ "BSD-3-Clause" ]
21
2015-05-07T06:11:09.000Z
2022-02-01T09:55:46.000Z
csv/applications/csv-from-columns.cpp
mission-systems-pty-ltd/comma
3ccec0b206fb15a8c048358a7fc01be61a7e4f1e
[ "BSD-3-Clause" ]
17
2015-01-16T01:38:08.000Z
2020-03-30T09:05:01.000Z
csv/applications/csv-from-columns.cpp
mission-systems-pty-ltd/comma
3ccec0b206fb15a8c048358a7fc01be61a7e4f1e
[ "BSD-3-Clause" ]
13
2016-01-13T01:29:29.000Z
2022-02-01T09:55:49.000Z
// This file is part of comma, a generic and flexible library // Copyright (c) 2011 The University of Sydney // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source cod...
46.025862
140
0.575763
mission-systems-pty-ltd
7a12ec057d99a8474bb33f0fa20104b8d2b0179f
345
hpp
C++
include/lexer_helpers.hpp
mujido/moove
380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b
[ "Apache-2.0" ]
null
null
null
include/lexer_helpers.hpp
mujido/moove
380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b
[ "Apache-2.0" ]
null
null
null
include/lexer_helpers.hpp
mujido/moove
380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b
[ "Apache-2.0" ]
null
null
null
#pragma once #include "moove.tab.h" namespace Moove { using symbol_type = BisonParser::parser::symbol_type; symbol_type parseInteger(const char* text); symbol_type parseReal(const char* text); symbol_type parseObjnum(const char* text); symbol_type parseID(const char* text); symbol_type parse...
23
57
0.727536
mujido
7a1334af9489800ebd8c62b4c5832e4b35a1dee8
2,220
cpp
C++
DBProCompiler/DBPCompiler/InstructionTableEntry.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
231
2018-01-28T00:06:56.000Z
2022-03-31T21:39:56.000Z
DBProCompiler/DBPCompiler/InstructionTableEntry.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
9
2016-02-10T10:46:16.000Z
2017-12-06T17:27:51.000Z
DBProCompiler/DBPCompiler/InstructionTableEntry.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
66
2018-01-28T21:54:52.000Z
2022-02-16T22:50:57.000Z
// InstructionTableEntry.cpp: implementation of the CInstructionTableEntry class. // ////////////////////////////////////////////////////////////////////// // Common Includes #include "macros.h" // Custom Includes #include "Declaration.h" #include "InstructionTableEntry.h" ///////////////////////////////////////////...
24.130435
188
0.704054
domydev
7a14cd7ade6abe83b56b75484e0090df4165b121
6,085
cc
C++
arc-networkd/manager.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
arc-networkd/manager.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
arc-networkd/manager.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
2
2021-01-26T12:37:19.000Z
2021-05-18T13:37:57.000Z
// Copyright 2016 The Chromium OS 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 "arc-networkd/manager.h" #include <arpa/inet.h> #include <stdint.h> #include <utility> #include <base/bind.h> #include <base/logging.h> #in...
32.367021
78
0.63106
doitmovin
7a18901031429e80fb30b9c521ca5a276b2c08d3
21,358
hpp
C++
test/gemm/gemm_config.hpp
mkarunan/rocWMMA
390a2e793699a1e17c18e46d7fe51e245907f012
[ "MIT" ]
null
null
null
test/gemm/gemm_config.hpp
mkarunan/rocWMMA
390a2e793699a1e17c18e46d7fe51e245907f012
[ "MIT" ]
null
null
null
test/gemm/gemm_config.hpp
mkarunan/rocWMMA
390a2e793699a1e17c18e46d7fe51e245907f012
[ "MIT" ]
null
null
null
/******************************************************************************* * * MIT License * * Copyright 2021-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal *...
48.651481
93
0.374895
mkarunan
7a195c898295ad1c74cdb666dafbe6a68f74e2f2
3,745
cpp
C++
src/wrappers/win32/BHAPI_wrapper_os.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
3
2018-05-21T15:32:32.000Z
2019-03-21T13:34:55.000Z
src/wrappers/win32/BHAPI_wrapper_os.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/wrappers/win32/BHAPI_wrapper_os.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* -------------------------------------------------------------------------- * * BHAPI++ Copyright (C) 2017, Stanislaw Stasiak, based on Haiku & ETK++, The Easy Toolkit for C++ programing * Copyright (C) 2004-2006, Anthony Lee, All Rights Reserved * * BHAPI++ library is a freeware; it may be used and distributed ...
29.031008
109
0.683311
stasinek
7a19ab9e1a905b3159798b8bbdf07c38900fe58b
4,128
hpp
C++
src/game/asteroid.hpp
Abergard/PMC_Asteroids
0df023381430a1fd5ec2675a9b1882da63a85bc5
[ "MIT" ]
1
2019-08-29T15:07:50.000Z
2019-08-29T15:07:50.000Z
src/game/asteroid.hpp
Abergard/PMC_Asteroids
0df023381430a1fd5ec2675a9b1882da63a85bc5
[ "MIT" ]
null
null
null
src/game/asteroid.hpp
Abergard/PMC_Asteroids
0df023381430a1fd5ec2675a9b1882da63a85bc5
[ "MIT" ]
1
2017-09-29T14:41:37.000Z
2017-09-29T14:41:37.000Z
#pragma once #include <cassert> #include "game/game_entity.hpp" static bool is_object_inside_screen(const component::transform& transform) { if (transform.position.x > 400 + 50 || transform.position.x < -400 - 50 || transform.position.y > 300 + 50 || transform.position.y < -300 - 50) { return...
30.80597
79
0.507267
Abergard
7a19cdddd4a92e0c135cc4a773994d3cf8b3bef8
2,801
cpp
C++
project/drivers/iOSAudioDriver.cpp
MattTuttle/Audaxe
fa327e4ac959f5bd528bff626ccb005f395ad2f3
[ "Unlicense" ]
2
2015-02-25T14:31:40.000Z
2016-04-05T16:59:01.000Z
project/drivers/iOSAudioDriver.cpp
MattTuttle/Audaxe
fa327e4ac959f5bd528bff626ccb005f395ad2f3
[ "Unlicense" ]
null
null
null
project/drivers/iOSAudioDriver.cpp
MattTuttle/Audaxe
fa327e4ac959f5bd528bff626ccb005f395ad2f3
[ "Unlicense" ]
null
null
null
// // iOSAudioDriver.cpp // // Created by Matt Tuttle on 5/31/13. // Copyright (c) 2013 Matt Tuttle. All rights reserved. // #include <iostream> #include "iOSAudioDriver.h" #include "AudioEngine.h" namespace Audaxe { // passes buffer callback to driver void tick(void *userData, AudioQueueRef inAQ, AudioQu...
31.122222
133
0.645127
MattTuttle
7a1bb7096617842b43d7158d7ad2ed239ef3146a
2,355
cpp
C++
src/builtin/btrc/builtin/renderer/wavefront/soa_buffer.cpp
AirGuanZ/Btrc
8865eb1506f96fb0230fb394b9fadb1e38f2b9d8
[ "MIT" ]
17
2022-02-03T09:35:14.000Z
2022-03-28T04:27:05.000Z
src/builtin/btrc/builtin/renderer/wavefront/soa_buffer.cpp
AirGuanZ/Btrc
8865eb1506f96fb0230fb394b9fadb1e38f2b9d8
[ "MIT" ]
1
2022-02-09T15:11:55.000Z
2022-02-09T15:11:55.000Z
src/builtin/btrc/builtin/renderer/wavefront/soa_buffer.cpp
AirGuanZ/Btrc
8865eb1506f96fb0230fb394b9fadb1e38f2b9d8
[ "MIT" ]
null
null
null
#include <random> #include <btrc/builtin/renderer/wavefront/soa_buffer.h> BTRC_WFPT_BEGIN RayBuffer::RayBuffer(int state_count) { o_medium_id_.initialize(state_count); d_t1_.initialize(state_count); } RayBuffer::operator RaySOA() { return RaySOA{ .o_med_id_buffer = o_medium_id_, .d_t1_bu...
22.644231
76
0.722718
AirGuanZ
7a22d71bc92698580142f8a3b961c631c8587a82
871
cpp
C++
ACM-ICPC/5014.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/5014.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/5014.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
#include <cstdio> #include <queue> using namespace std; #define MAX 1000001 int f, s, g, u, d; int building[MAX]; queue<int> q; void bfs() { while (!q.empty()) { int here = q.front(); q.pop(); // 올라간다 int next = here + u; if (next <= f && building[next] ...
18.934783
49
0.41217
KimBoWoon
7a28f8aa3d5b9f460887a91155b581d17f9ced68
1,771
cpp
C++
1400/60/1467b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
1400/60/1467b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
1400/60/1467b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <vector> template <typename T> std::istream& operator >>(std::istream& input, std::vector<T>& v) { for (T& a : v) input >> a; return input; } void answer(unsigned v) { std::cout << v << '\n'; } void solve(const std::vector<unsigned>& a) { const size_t n = a.size(...
19.677778
65
0.36646
actium
7a2b5d78e4e25a66205637bf85cacceef9423f98
10,513
cpp
C++
Source/McRave/Resources.cpp
Cmccrave/CMProtoBot
220cddaf41724004daf5aace5b48a07e28931279
[ "MIT" ]
32
2017-03-04T19:38:13.000Z
2022-03-16T02:03:01.000Z
Source/McRave/Resources.cpp
Cmccrave/CMProtoBot
220cddaf41724004daf5aace5b48a07e28931279
[ "MIT" ]
2
2017-02-25T02:43:01.000Z
2017-02-27T00:14:55.000Z
Source/McRave/Resources.cpp
Cmccrave/CMProtoBot
220cddaf41724004daf5aace5b48a07e28931279
[ "MIT" ]
8
2017-06-28T23:58:10.000Z
2021-04-20T16:56:08.000Z
#include "McRave.h" using namespace BWAPI; using namespace std; using namespace UnitTypes; namespace McRave::Resources { namespace { set<shared_ptr<ResourceInfo>> myMinerals; set<shared_ptr<ResourceInfo>> myGas; set<shared_ptr<ResourceInfo>> myBoulders; bool mineralSat, gasSat, h...
36.503472
219
0.512889
Cmccrave
7a2f74f47f3d04dae04872ee49ced59efeacb96e
1,213
cpp
C++
NFComm/NFNoSqlPlugin/NFNoSqlPlugin.cpp
sosan/NoahGameFrame
38c54014c5c4620b784b2c1d2cab256f42bae186
[ "Apache-2.0" ]
null
null
null
NFComm/NFNoSqlPlugin/NFNoSqlPlugin.cpp
sosan/NoahGameFrame
38c54014c5c4620b784b2c1d2cab256f42bae186
[ "Apache-2.0" ]
null
null
null
NFComm/NFNoSqlPlugin/NFNoSqlPlugin.cpp
sosan/NoahGameFrame
38c54014c5c4620b784b2c1d2cab256f42bae186
[ "Apache-2.0" ]
1
2020-04-23T21:57:32.000Z
2020-04-23T21:57:32.000Z
//------------------------------------------------------------------------ - // @FileName : NFNoSqlPlugin.cpp // @Author : LvSheng.Huang // @Date : 2017-02-08 // @Module : NFNoSqlPlugin // // ----------------------------------------------------------------------...
25.270833
76
0.597692
sosan
7a3235f7d878f261d4a83da097559338c9f3878c
370
cpp
C++
A2OJ/A/035. Lunch Rush.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
A2OJ/A/035. Lunch Rush.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
A2OJ/A/035. Lunch Rush.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define lli long long int #define endl "\n" using namespace std; int main() { lli n,k,data1,data2, maxjoy = INT_MIN; cin>>n>>k; vector <lli> f,t; for(int i=0; i<n; i++) { cin>>data1>>data2; lli joy; if(data2 <= k) joy = data1; else joy = data1 - (data2-k); if(joy> maxjoy) ...
14.230769
39
0.583784
XitizVerma
7a35846d51af6e973f4bf11d436d5eeebdc7fe25
471
cpp
C++
PDU-MonitorTest/cores/test_object.cpp
ChinaClever/PDU-MonitorTool
0ac0322d2e6ca2757fcbfdab838e6318161b1458
[ "Apache-2.0" ]
null
null
null
PDU-MonitorTest/cores/test_object.cpp
ChinaClever/PDU-MonitorTool
0ac0322d2e6ca2757fcbfdab838e6318161b1458
[ "Apache-2.0" ]
null
null
null
PDU-MonitorTest/cores/test_object.cpp
ChinaClever/PDU-MonitorTool
0ac0322d2e6ca2757fcbfdab838e6318161b1458
[ "Apache-2.0" ]
null
null
null
/* * * Created on: 2021年1月1日 * Author: Lzy */ #include "test_object.h" Test_Object::Test_Object(QObject *parent) : QThread(parent) { isRun = false; mPacket = sDataPacket::bulid(); mItem = Cfg::bulid()->item; mPro = mPacket->getPro(); mDev = mPacket->getDev(); mSour = mPacket->getDev(0...
18.84
59
0.605096
ChinaClever
7a38ba054d4fc794e2a2e0b58610fa7013927869
3,253
cpp
C++
test/miscellaneous/style_parser.cpp
donpark/mapbox-gl-native
efa7dad89c61fe0fcc01a492e8db8e36b8f27f53
[ "BSD-2-Clause" ]
1
2015-07-01T21:59:13.000Z
2015-07-01T21:59:13.000Z
test/miscellaneous/style_parser.cpp
donpark/mapbox-gl-native
efa7dad89c61fe0fcc01a492e8db8e36b8f27f53
[ "BSD-2-Clause" ]
null
null
null
test/miscellaneous/style_parser.cpp
donpark/mapbox-gl-native
efa7dad89c61fe0fcc01a492e8db8e36b8f27f53
[ "BSD-2-Clause" ]
null
null
null
#include "../fixtures/util.hpp" #include <mbgl/style/style_parser.hpp> #include <mbgl/util/io.hpp> #include <rapidjson/document.h> #include "../fixtures/fixture_log_observer.hpp" #include <iostream> #include <fstream> #include <dirent.h> using namespace mbgl; typedef std::pair<uint32_t, std::string> Message; typ...
34.978495
130
0.608362
donpark
7a3905913bc7ab9af7618154cfda716d3ef6b1af
2,883
cpp
C++
Siv3D/src/Siv3D/Script/Bind/Script_WaveSample.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Script/Bind/Script_WaveSample.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Script/Bind/Script_WaveSample.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/Script.hpp> # include <Siv3D/...
42.397059
193
0.701006
Fuyutsubaki
7a3a661eb0cb66b1614ba001791e400cabb2acd2
4,120
cpp
C++
raytracer/features/Matrix/Transform.cpp
Max135/Raytracer
4679da74d27cc2b6199f7a177ac9e08fe673c0c9
[ "MIT" ]
3
2021-02-27T02:28:02.000Z
2021-03-02T13:45:11.000Z
raytracer/features/Matrix/Transform.cpp
Max135/Raytracer
4679da74d27cc2b6199f7a177ac9e08fe673c0c9
[ "MIT" ]
1
2021-02-03T20:37:42.000Z
2021-02-04T02:46:06.000Z
raytracer/features/Matrix/Transform.cpp
Max135/Raytracer
4679da74d27cc2b6199f7a177ac9e08fe673c0c9
[ "MIT" ]
null
null
null
// // Created by Max on 2021-01-05. // #include "Transform.h" Transform Transform::viewTransform(const Point& from, const Point& to, const Vector& up) { Tuple forward = (to - from).normalize(); Tuple left = forward.cross(up.normalize()); Tuple trueUp = left.cross(forward); Transform orientation; ...
27.466667
109
0.645388
Max135
7a3b3a1bf901347e386b7bf100bb81fe8bdb0d3a
2,530
cpp
C++
source/assets/font.cpp
xeek-pro/isometric
6f7d05ce597683552d5dc3078a1634fddd41092b
[ "MIT" ]
1
2021-08-02T04:49:44.000Z
2021-08-02T04:49:44.000Z
source/assets/font.cpp
xeek-pro/isometric
6f7d05ce597683552d5dc3078a1634fddd41092b
[ "MIT" ]
null
null
null
source/assets/font.cpp
xeek-pro/isometric
6f7d05ce597683552d5dc3078a1634fddd41092b
[ "MIT" ]
1
2021-09-09T16:49:53.000Z
2021-09-09T16:49:53.000Z
#include <SDL.h> #include <SDL_ttf.h> #include "font.h" #include "../source/application/application.h" #include <algorithm> using namespace isometric::assets; font::font(const std::string& name) : asset(name) { } font::~font() { clear(); } std::unique_ptr<font> font::load(const std::string& name, const std...
24.563107
160
0.630435
xeek-pro
7a3b5fa521f65db58c34e584942079488b9ce37a
9,798
cpp
C++
lab07/src/GUI.cpp
Shaid3r/PKG
1eb5f5a9b1bf395821da385b075f2097801d130a
[ "MIT" ]
null
null
null
lab07/src/GUI.cpp
Shaid3r/PKG
1eb5f5a9b1bf395821da385b075f2097801d130a
[ "MIT" ]
null
null
null
lab07/src/GUI.cpp
Shaid3r/PKG
1eb5f5a9b1bf395821da385b075f2097801d130a
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version Dec 8 2017) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #include "GUI.h" //////...
58.670659
178
0.747091
Shaid3r
7a3c7167e30b51be47f1e749053a155d80fd741c
1,811
cpp
C++
13- Linked Lists/palindrome_ll.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
21
2020-10-03T03:57:19.000Z
2022-03-25T22:41:05.000Z
13- Linked Lists/palindrome_ll.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
40
2020-10-02T07:02:34.000Z
2021-10-30T16:00:07.000Z
13- Linked Lists/palindrome_ll.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
90
2020-10-02T07:06:22.000Z
2022-03-25T22:41:17.000Z
// in this program we check if the given LL is a palindrome or not and return 1 for Palindrome and 0 for not palindrome #include <iostream> #include <stack> using namespace std; // linked list structure struct Node { int data; struct Node *next; Node(int x) { data = x; next = NULL; } }; // function t...
18.479592
119
0.500276
ShreyashRoyzada
7a3de087e3b0a72a0b09de3724cad297b9c30ba7
527
hpp
C++
.experimentals/include/amtrs/compati-stl/.inc/filesystem-def.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
1
2019-12-10T02:12:49.000Z
2019-12-10T02:12:49.000Z
.experimentals/include/amtrs/compati-stl/.inc/filesystem-def.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
.experimentals/include/amtrs/compati-stl/.inc/filesystem-def.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* Copyright (c) 2019, isaponsoft (Isao Shibuya) All rights reserved. * * Use of this source code is governed by a BSD-style license that * * can be found in the LICENSE file. */ #ifndef __libamtrs__filesystem__stdfs__def__hpp #define __libamtrs__filesystem__stdfs__def__hpp #defin...
52.7
89
0.772296
isaponsoft
7a459a6aa8578e9217608a55f34eff6e335dfbb4
520
cpp
C++
pgm16_01.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
1
2021-07-13T03:58:36.000Z
2021-07-13T03:58:36.000Z
pgm16_01.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
pgm16_01.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
// // This file contains the C++ code from Program 16.1 of // "Data Structures and Algorithms // with Object-Oriented Design Patterns in C++" // by Bruno R. Preiss. // // Copyright (c) 1998 by Bruno R. Preiss, P.Eng. All rights reserved. // // http://www.pads.uwaterloo.ca/Bruno.Preiss/books/opus4/programs...
23.636364
80
0.663462
neharkarvishal
7a464efdc20b7ed15edd2e2fb26ef66710b8d364
972
cpp
C++
hdu/1000/13/1335.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2020-07-22T16:54:07.000Z
2020-07-22T16:54:07.000Z
hdu/1000/13/1335.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2018-05-12T12:53:06.000Z
2018-05-12T12:53:06.000Z
hdu/1000/13/1335.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; #define N 20 char s[N], w[N]; char y[N]; int a, b; int T(int x, int n) { int s = 1; for (int i = 1; i <= n; i++) { s *= x; } return s; } int main() { while (scanf("%s%d%d", s, &a, &b) != EOF) { int i, sum = 0, l; l = strlen(s); ...
17.357143
49
0.371399
TheBadZhang
7a47e89d4b622154aa5985afbedfcf5ac7491df7
1,504
cpp
C++
0463 - Island Perimeter/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
5
2018-10-18T06:47:19.000Z
2020-06-19T09:30:03.000Z
0463 - Island Perimeter/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
0463 - Island Perimeter/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
// // main.cpp // 463 - Island Perimeter // // Created by ynfMac on 2019/11/26. // Copyright © 2019 ynfMac. All rights reserved. // #include <iostream> #include <vector> using namespace std; class Solution { private: int d[4][2] = {{1,0},{-1,0},{0,1},{0, -1}}; int C,R; bool isInArea(int x, ...
20.60274
59
0.40891
xiaoswu
7a4816c8482dc04dc8afed51bbe499600a23b979
457,727
cpp
C++
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs198.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs198.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs198.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" template <typename R> struct VirtFuncInvoker0 { typedef R (*Func)(void*, const RuntimeMethod*); static inline R Invoke (Il2Cp...
47.580769
600
0.841349
JBrentJ
7a485db2e1678c0e06a1bbfa4a4f9ba6adadb7a9
589
cpp
C++
DataStructure/c++/heap/loveBabbarDsSheet/BST-to-Maxheap.cpp
subhamengine/DataStructures-and-Algorithm
582f2f724a8dd5b42703c9f02d3934a85679c9b7
[ "MIT" ]
17
2021-09-13T14:50:29.000Z
2022-01-07T10:53:35.000Z
DataStructure/c++/heap/loveBabbarDsSheet/BST-to-Maxheap.cpp
subhamengine/DataStructures-and-Algorithm
582f2f724a8dd5b42703c9f02d3934a85679c9b7
[ "MIT" ]
15
2021-10-01T04:13:32.000Z
2021-11-05T07:49:55.000Z
DataStructure/c++/heap/loveBabbarDsSheet/BST-to-Maxheap.cpp
subhamengine/DataStructures-and-Algorithm
582f2f724a8dd5b42703c9f02d3934a85679c9b7
[ "MIT" ]
11
2021-09-23T14:37:03.000Z
2021-11-04T13:22:17.000Z
class Solution{ queue<int>q; public: void dfs(Node* root){ if(root==NULL) return; dfs(root->right); q.push(root->data); // storing in descending order dfs(root->left); } void solver(Node* root){ if(root==NULL) return; int val=q.fro...
22.653846
83
0.519525
subhamengine
7a4f1987cc45d811df02e14c08a30b9e23a9a866
29,931
cpp
C++
inetsrv/iis/svcs/cmp/asp/server.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/svcs/cmp/asp/server.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/svcs/cmp/asp/server.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*=================================================================== Microsoft Denali Microsoft Confidential. Copyright 1996 Microsoft Corporation. All Rights Reserved. Component: Server object File: Server.cpp Owner: CGrant This file contains the code for the implementation of the Server object. ===...
25.494889
116
0.563062
npocmaka
7a4f99dbb5cc0b08cdf058310b14b611e46ae0b6
36,478
hpp
C++
cpp/common/bypshttp/include/platform/qt/QTHttpClient.hpp
teberhardt/byps
6587cc804b95404a4fb0e1cd9f0f799388608bfc
[ "MIT" ]
4
2018-10-19T08:50:40.000Z
2021-03-22T14:39:40.000Z
cpp/common/bypshttp/include/platform/qt/QTHttpClient.hpp
teberhardt/byps
6587cc804b95404a4fb0e1cd9f0f799388608bfc
[ "MIT" ]
null
null
null
cpp/common/bypshttp/include/platform/qt/QTHttpClient.hpp
teberhardt/byps
6587cc804b95404a4fb0e1cd9f0f799388608bfc
[ "MIT" ]
4
2015-07-17T16:31:10.000Z
2022-01-28T14:43:07.000Z
/* USE THIS FILE ACCORDING TO THE COPYRIGHT RULES IN LICENSE.TXT WHICH IS PART OF THE SOURCE CODE PACKAGE */ #ifndef QTHTTPCLIENT_HPP #define QTHTTPCLIENT_HPP #include "QTHttpClient.h" #include "QTHttpClientI.h" #include <QStack> namespace byps { namespace http { namespace qthttp { using namespace byps; ...
33.964618
159
0.60409
teberhardt
7a53aaf90b9f479f1539dc464d81281928ebccff
240
cpp
C++
delete/main.cpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
null
null
null
delete/main.cpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
null
null
null
delete/main.cpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
null
null
null
#include <memory> #include <iostream> class Man { public: Man() = default; // ~Man() = delete; // error: use of deleted function ‘Man::~Man()’ int age; }; int main() { { auto man = std::make_shared<Man>(); } }
13.333333
71
0.5375
mamil
7a5b9ac7204db2f5a306c83e336d67510bbb8faf
5,711
cc
C++
testdata/fuzzer_binary.cc
DaryaShirokova/lldb-eval
114625c28f5aa8fafda4d49d9dbb0e6fd2b16d20
[ "Apache-2.0" ]
null
null
null
testdata/fuzzer_binary.cc
DaryaShirokova/lldb-eval
114625c28f5aa8fafda4d49d9dbb0e6fd2b16d20
[ "Apache-2.0" ]
null
null
null
testdata/fuzzer_binary.cc
DaryaShirokova/lldb-eval
114625c28f5aa8fafda4d49d9dbb0e6fd2b16d20
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Google LLC * * 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 ...
26.938679
80
0.696726
DaryaShirokova
7a5e493193012d1eddb6252c4ecdc4ca47989b12
824
cpp
C++
841.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
841.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
841.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
class Solution { public: bool canVisitAllRooms(vector<vector<int>>& rooms) { int N = rooms.size(); vector<bool> vis(N, false); queue<int> tovis; // start from room #0, until we cannot visit any new room tovis.push(0); while(tovis.size()){ int cur_room = t...
29.428571
65
0.475728
zfang399
7a623886125636aeab1f41f9f90e52d5838f8c8d
5,112
cpp
C++
B2G/gecko/dom/mobilemessage/src/MobileMessageService.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/dom/mobilemessage/src/MobileMessageService.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/dom/mobilemessage/src/MobileMessageService.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "SmsMessage.h" #include "MmsMessage.h" #include "MobileMessageThread.h" #include "MobileMessageService.h"...
40.251969
84
0.430751
wilebeast
7a623faa989e4f1123ac07e2c079ecb7ae20b16c
81
cpp
C++
src/SystemQ/Tests/TestString.cpp
BclEx/GpuStructs
b93acb1c7196477d1d023453a75b480f75cdd29a
[ "MIT" ]
null
null
null
src/SystemQ/Tests/TestString.cpp
BclEx/GpuStructs
b93acb1c7196477d1d023453a75b480f75cdd29a
[ "MIT" ]
null
null
null
src/SystemQ/Tests/TestString.cpp
BclEx/GpuStructs
b93acb1c7196477d1d023453a75b480f75cdd29a
[ "MIT" ]
null
null
null
#include "..\..\System\System.h" using namespace Sys; void TestString() { }
13.5
33
0.62963
BclEx
7a64a80c254b19d758af298820082f7908506da9
2,927
hpp
C++
include/yymp/tuple_traits.hpp
surrealwaffle/yymp
662def34a298bf2992bf429e26bc35605906897b
[ "BSL-1.0" ]
1
2020-04-02T12:37:58.000Z
2020-04-02T12:37:58.000Z
include/yymp/tuple_traits.hpp
surrealwaffle/yymp
662def34a298bf2992bf429e26bc35605906897b
[ "BSL-1.0" ]
null
null
null
include/yymp/tuple_traits.hpp
surrealwaffle/yymp
662def34a298bf2992bf429e26bc35605906897b
[ "BSL-1.0" ]
1
2018-11-22T10:36:37.000Z
2018-11-22T10:36:37.000Z
// SPDX-License-Identifier: BSL-1.0 #ifndef YYMP_TUPLE_TRAITS_HPP #define YYMP_TUPLE_TRAITS_HPP #include <type_traits> #include <utility> #include <yymp/dtl/piecewise_reinitializable.hpp> namespace yymp { /** * \brief Determines if all the element types of a \a Tuple have a * constructor that...
36.135802
80
0.648446
surrealwaffle
7a64f04ef2624374202d9ca9d502f5ef86067df8
2,533
cpp
C++
firmware/remote_logger/src/envsensor.cpp
oxullo/envlogger
736efd5dfe74fd62bc3ae18a04f73dbf5c4402cf
[ "MIT" ]
null
null
null
firmware/remote_logger/src/envsensor.cpp
oxullo/envlogger
736efd5dfe74fd62bc3ae18a04f73dbf5c4402cf
[ "MIT" ]
null
null
null
firmware/remote_logger/src/envsensor.cpp
oxullo/envlogger
736efd5dfe74fd62bc3ae18a04f73dbf5c4402cf
[ "MIT" ]
null
null
null
// Copyright (c) 2020 OXullo Intersecans <x@brainrapers.org> // // 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...
27.532609
81
0.705488
oxullo
7a6676d207ea7e25a296d3e59a3aa340d66d3755
2,319
cpp
C++
src/c++/test-blackbox/test_grm.cpp
vb-wayne/paragraph
3f6f6f7a2a3ac209c7dbb21487ca4d9eaed5c14c
[ "Apache-2.0" ]
111
2017-11-24T18:22:50.000Z
2022-02-25T07:55:31.000Z
src/c++/test-blackbox/test_grm.cpp
vb-wayne/paragraph
3f6f6f7a2a3ac209c7dbb21487ca4d9eaed5c14c
[ "Apache-2.0" ]
61
2018-01-01T19:58:06.000Z
2022-03-09T12:01:17.000Z
src/c++/test-blackbox/test_grm.cpp
vb-wayne/paragraph
3f6f6f7a2a3ac209c7dbb21487ca4d9eaed5c14c
[ "Apache-2.0" ]
30
2018-03-01T04:41:15.000Z
2022-03-11T14:52:03.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Paragraph // Copyright (c) 2016-2019 Illumina, 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:...
34.61194
119
0.70332
vb-wayne
7a67766090afef799d346fdab933e2ea72ebe750
5,253
cpp
C++
examples/imageblit/src/main.cpp
mmertama/Telex-framework
289b04794baaa0c37e909e50bc0989d806797e1c
[ "MIT" ]
1
2020-07-01T20:34:34.000Z
2020-07-01T20:34:34.000Z
examples/imageblit/src/main.cpp
mmertama/Telex-framework
289b04794baaa0c37e909e50bc0989d806797e1c
[ "MIT" ]
null
null
null
examples/imageblit/src/main.cpp
mmertama/Telex-framework
289b04794baaa0c37e909e50bc0989d806797e1c
[ "MIT" ]
1
2020-03-24T14:12:39.000Z
2020-03-24T14:12:39.000Z
#include "gempyre_graphics.h" #include "gempyre_utils.h" #include "imageblit_resource.h" #include <iostream> using namespace std::chrono_literals; void writeText(int x, int y, const std::string& text, Gempyre::CanvasElement& el) { el.ui().beginBatch(); const auto width = 1000. / 9.; const auto height = 10...
35.979452
140
0.50276
mmertama
7a6ab24202add7216e055b462904e1b4dd699bfb
836
hpp
C++
include/md/potential/constant_potential.hpp
snsinfu/micromd
a886d68d5452800bf342f0db8b477979f9f10a04
[ "BSL-1.0" ]
3
2018-12-06T11:45:56.000Z
2020-10-09T08:23:03.000Z
include/md/potential/constant_potential.hpp
snsinfu/micromd
a886d68d5452800bf342f0db8b477979f9f10a04
[ "BSL-1.0" ]
14
2018-12-02T08:16:16.000Z
2020-09-29T18:19:35.000Z
include/md/potential/constant_potential.hpp
snsinfu/micromd
a886d68d5452800bf342f0db8b477979f9f10a04
[ "BSL-1.0" ]
null
null
null
// Copyright snsinfu 2018. // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef MD_POTENTIAL_CONSTANT_POTENTIAL_HPP #define MD_POTENTIAL_CONSTANT_POTENTIAL_HPP // This module provides constant_potential. Used as de...
22
79
0.625598
snsinfu
7a717471d064720669aca5be2b84a34764adc364
1,725
cpp
C++
Visual Mercutio/zModel/PSS_SymbolObserverMsg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zModel/PSS_SymbolObserverMsg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zModel/PSS_SymbolObserverMsg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_SymbolObserverMsg -----------------------------------------------* **************************************************************************** * Description : Provides a symbol observer message * * Devel...
42.073171
95
0.364638
Jeanmilost
7a72a854df113bfab1fc07c9d37e2fe616621124
4,648
cp
C++
Win32/Sources/Application/Search/CSearchBase.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Win32/Sources/Application/Search/CSearchBase.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Win32/Sources/Application/Search/CSearchBase.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 ...
24.335079
125
0.68395
mulberry-mail
7a7b9a40f3d5ad192a99cd40f36478213ba5e945
1,166
cpp
C++
4-Array/06.cpp
chshzhe/CppReference
f67c50696ad0f4874f23659cab72f25ca989f614
[ "Unlicense" ]
4
2021-12-03T06:26:06.000Z
2022-01-15T12:15:23.000Z
4-Array/06.cpp
chshzhe/CppReference
f67c50696ad0f4874f23659cab72f25ca989f614
[ "Unlicense" ]
null
null
null
4-Array/06.cpp
chshzhe/CppReference
f67c50696ad0f4874f23659cab72f25ca989f614
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main() { int B; cin >> B; for (int i = 1; i <= 200; i++) { int temp = i * i; int top = 0; int a[20]; while (temp) { a[top++] = temp % B; temp /= B; } bool flag = true; fo...
22.423077
50
0.264151
chshzhe
7a7b9e35307bee0c3702690909989691ff8058f8
438
hpp
C++
src/libs/input/bound/keyboard_button_binding.hpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/libs/input/bound/keyboard_button_binding.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/libs/input/bound/keyboard_button_binding.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#pragma once #include "input_binding.hpp" #include "button_bindable_command.hpp" namespace gorc { class keyboard_button_binding : public input_binding { private: keyboard_key bound_key; button_bindable_command &command; public: keyboard_button_binding(button_bindable_command &com...
21.9
90
0.73516
jdmclark
7a7e96866bdfc540dc1382f581a7870b8c8d9a41
220
cpp
C++
app/main.cpp
ChinYing-Li/OpenGL-cart
2625dfb194a65d6b277f6c3c57602319000bce16
[ "MIT" ]
2
2021-06-03T03:36:35.000Z
2021-09-18T07:25:24.000Z
app/main.cpp
ChinYing-Li/OpenGL-cart
2625dfb194a65d6b277f6c3c57602319000bce16
[ "MIT" ]
null
null
null
app/main.cpp
ChinYing-Li/OpenGL-cart
2625dfb194a65d6b277f6c3c57602319000bce16
[ "MIT" ]
null
null
null
#include <memory> #include "app.h" int main(int argc, char **argv) { App application; bool init_success = application.begin(argc, argv); if(!init_success) return 1; application.loop(); return 0; }
15.714286
54
0.65
ChinYing-Li
7a8652c4bc66d131a5e3809f07d917a863f956fd
3,675
cpp
C++
src/Source/DxbcContainer.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
20
2015-03-29T02:14:03.000Z
2021-11-14T12:27:02.000Z
src/Source/DxbcContainer.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
null
null
null
src/Source/DxbcContainer.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
12
2015-05-04T06:39:10.000Z
2022-02-23T06:48:04.000Z
#include "PCH.h" #include "DxbcContainer.h" #include "DxbcChunk.h" #include "InputSignatureChunk.h" #include "InterfacesChunk.h" #include "OutputSignatureChunk.h" #include "PatchConstantSignatureChunk.h" #include "ResourceDefinitionChunk.h" #include "ShaderProgramChunk.h" #include "StatisticsChunk.h" using namespace ...
29.166667
130
0.742041
tgjones
185205a9384f4ed3f355c5971d862b49d88d9f77
283
cxx
C++
src/sort_and_index/ext_sort/mrg_npasses.cxx
Caltech-IPAC/libtinyhtm
abc3394f3d37b3729a625989d2fc144f14a7d208
[ "BSD-3-Clause" ]
1
2019-06-17T21:56:31.000Z
2019-06-17T21:56:31.000Z
src/sort_and_index/ext_sort/mrg_npasses.cxx
Caltech-IPAC/libtinyhtm
abc3394f3d37b3729a625989d2fc144f14a7d208
[ "BSD-3-Clause" ]
null
null
null
src/sort_and_index/ext_sort/mrg_npasses.cxx
Caltech-IPAC/libtinyhtm
abc3394f3d37b3729a625989d2fc144f14a7d208
[ "BSD-3-Clause" ]
null
null
null
/* Computes the number of k-way merge passes required to sort n items, i.e. the ceiling of the base-k logarithm of n. */ #include <cstddef> int mrg_npasses (size_t n, size_t k) { int m = 1; size_t b = k; while (b < n) { b *= k; ++m; } return m; }
15.722222
71
0.565371
Caltech-IPAC
185332dd40e3656bccc9b216e5b36d096882b5ad
473
cpp
C++
cpp14faqs/code/c++14/product_vector3.cpp
ancientscience/ancientscience.github.io
2c8e3c6a8017164fd86fabaaa3343257cea54405
[ "MIT" ]
null
null
null
cpp14faqs/code/c++14/product_vector3.cpp
ancientscience/ancientscience.github.io
2c8e3c6a8017164fd86fabaaa3343257cea54405
[ "MIT" ]
null
null
null
cpp14faqs/code/c++14/product_vector3.cpp
ancientscience/ancientscience.github.io
2c8e3c6a8017164fd86fabaaa3343257cea54405
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> #include <iostream> constexpr struct { template< class X, class Y > auto operator () ( X x, Y y ) -> decltype(x*y) { return x * y; } } multOp{}; int main() { std::vector<int> v{1, 2, 3, 4, 5}; auto prod = std::accumulate(v.begin...
18.192308
51
0.437632
ancientscience
185775db6e36148ae69ca118bcc60ec1aad7f6b7
2,430
cpp
C++
Week02/src/Graph.cpp
exp-3/ArtificialIntelligence
7edb258a00998181426906c9276afe09ce91ad9d
[ "MIT" ]
null
null
null
Week02/src/Graph.cpp
exp-3/ArtificialIntelligence
7edb258a00998181426906c9276afe09ce91ad9d
[ "MIT" ]
null
null
null
Week02/src/Graph.cpp
exp-3/ArtificialIntelligence
7edb258a00998181426906c9276afe09ce91ad9d
[ "MIT" ]
null
null
null
#include "Graph.hpp" #include <random> #include <iostream> Graph::Graph() { ; } void Graph::set(vector<Point> &virtices, vector<vector<int>> &adjacency) { Graph::virtices_num = virtices.size(); Graph::virtices = virtices; Graph::adjacency = adjacency; } void Graph::set_random(int virtices_num) { Graph::vi...
25.851064
79
0.537037
exp-3
1857ad89bf1290ff8d86c8522e191f543c622fcd
4,643
cpp
C++
CanadianExperience/CanadianExperience/CanadianExperience/HeadTop.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
CanadianExperience/CanadianExperience/CanadianExperience/HeadTop.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
CanadianExperience/CanadianExperience/CanadianExperience/HeadTop.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
#include "pch.h" #include "HeadTop.h" #include "Actor.h" #include "Timeline.h" #include <sstream> #include <iomanip> using namespace Gdiplus; using namespace std; /// Constant ratio to convert radians to degrees const double RtoD = 57.295779513; /** Constructor for a top of the head object * \param name The drawab...
25.938547
163
0.673702
NicholsTyler
185ae531b8f50cb0038dac353c219b93ec2a00c1
11,858
cpp
C++
src/ngraph/pattern/matcher.cpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
src/ngraph/pattern/matcher.cpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
src/ngraph/pattern/matcher.cpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-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://w...
29.351485
100
0.642182
pqLee
185eb811b951605f459d79fe797e58d3432aedde
1,120
cpp
C++
source/orzTest/test_streamconv.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
73
2015-01-19T17:38:26.000Z
2022-02-15T06:16:08.000Z
source/orzTest/test_streamconv.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
75
2015-01-01T17:32:24.000Z
2018-10-18T08:19:08.000Z
source/orzTest/test_streamconv.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
18
2015-01-05T04:57:18.000Z
2022-03-06T01:35:10.000Z
#include "orz/streamconv.h" #include "main.h" #include "orz/file_reader.h" #include "orz/types.h" #include <UnitTest++/UnitTest++.h> SUITE(StreamConverter) { TEST(Defaults) { Util::StreamConverter sc; // Should default to empty with wordsize 8 CHECK(sc.CurrentWordSize() == 8); CHECK(sc.IsWordsLeft() == fals...
18.666667
68
0.644643
poppeman
185ef91df49a724eb68581351e21b214ebfd9eb1
4,109
cpp
C++
src/app/input/input_manager.cpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
2
2020-10-27T00:16:18.000Z
2021-03-29T12:59:48.000Z
src/app/input/input_manager.cpp
JacobDomagala/DEngine
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
58
2020-08-23T21:38:21.000Z
2021-08-05T16:12:31.000Z
src/app/input/input_manager.cpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
null
null
null
#include "input_manager.hpp" #include "event.hpp" #include "trace/logger.hpp" #include <GLFW/glfw3.h> #include <iostream> namespace shady::app::input { void InputManager::InternalKeyCallback(GLFWwindow* /* window */, int32_t key, int32_t scancode, int32_t action, int32_t ...
25.364198
107
0.666099
JacobDomagala
18612f1a957d88caaaabcca573098411fd17e931
2,116
cc
C++
base/parsers/character_set_tests.cc
dimhotepus/whitebox
03902b15b03ae0bfe6db5dc12d91ce49c576ac97
[ "BSD-3-Clause" ]
1
2022-01-16T15:01:42.000Z
2022-01-16T15:01:42.000Z
base/parsers/character_set_tests.cc
dimhotepus/whitebox
03902b15b03ae0bfe6db5dc12d91ce49c576ac97
[ "BSD-3-Clause" ]
5
2021-08-11T22:04:28.000Z
2022-01-10T11:18:56.000Z
base/parsers/character_set_tests.cc
dimhotepus/whitebox
03902b15b03ae0bfe6db5dc12d91ce49c576ac97
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2021 The WhiteBox Authors. All rights reserved. // Use of this source code is governed by a 3-Clause BSD license that can be // found in the LICENSE file. // // Character set for parsers. #include "character_set.h" // #include "base/deps/googletest/gtest/gtest.h" // NOLINTNEXTLINE(cert-err58-cpp,cpp...
32.553846
116
0.648393
dimhotepus
186aba9728bc54e6f2236322cde1aad2ddcb639c
663
cpp
C++
GameEngine/Sources/GLFW_Init.cpp
GPUWorks/OpenGL-Mini-CAD-2D
fedb903302f82a1d1ff0ca6776687a60a237008a
[ "MIT" ]
1
2021-08-10T02:48:57.000Z
2021-08-10T02:48:57.000Z
GameEngine/Sources/GLFW_Init.cpp
GPUWorks/OpenGL-Mini-CAD-2D
fedb903302f82a1d1ff0ca6776687a60a237008a
[ "MIT" ]
null
null
null
GameEngine/Sources/GLFW_Init.cpp
GPUWorks/OpenGL-Mini-CAD-2D
fedb903302f82a1d1ff0ca6776687a60a237008a
[ "MIT" ]
null
null
null
#include "GLFW_Init.h" core::GLFW_Init::GLFW_Init() { } core::GLFW_Init::GLFW_Init(int major_version, int minor_version, int opengl_profile, int msaa_factor) { this->major_context_version = major_version; this->minor_context_version = minor_version; this->opengl_profile = opengl_profile; this...
22.862069
102
0.761689
GPUWorks
186feedf62975ca20b669a846171be662ad04f28
1,227
cpp
C++
src/utils/CursorHelper.cpp
oclero/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
5
2021-07-19T19:57:41.000Z
2021-09-25T01:41:13.000Z
src/utils/CursorHelper.cpp
chiefstone/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
2
2021-09-25T08:35:49.000Z
2021-09-25T11:14:49.000Z
src/utils/CursorHelper.cpp
chiefstone/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
3
2021-08-20T10:19:12.000Z
2021-09-25T10:46:40.000Z
#include <luna/utils/CursorHelper.hpp> #include <QCursor> #include <QGuiApplication> namespace luna::utils { CursorHelper::CursorHelper(QObject* parent) : QObject(parent) {} CursorHelper::~CursorHelper() { QGuiApplication::restoreOverrideCursor(); } Qt::CursorShape CursorHelper::cursor() const { return QGuiAppli...
22.722222
69
0.742461
oclero
18712c56bf3e1f0651dd1d542d78f433ce5660e8
795
hpp
C++
include/mitama/dimensional/systems/si/derived_units/heat.hpp
LoliGothick/mitama-dimensional
46b9ae3764bd472da9ed5372afd82e6b5d542543
[ "MIT" ]
34
2019-01-18T11:51:02.000Z
2021-09-17T02:46:43.000Z
include/mitama/dimensional/systems/si/derived_units/heat.hpp
LoliGothick/mitama-dimensional
46b9ae3764bd472da9ed5372afd82e6b5d542543
[ "MIT" ]
11
2019-02-10T23:12:07.000Z
2019-05-06T21:05:09.000Z
include/mitama/dimensional/systems/si/derived_units/heat.hpp
LoliGothick/mitama-dimensional
46b9ae3764bd472da9ed5372afd82e6b5d542543
[ "MIT" ]
5
2019-02-27T11:53:20.000Z
2021-03-20T21:59:59.000Z
#ifndef MITAMA_DIMENSIONAL_DERIVED_UNITS_HEAT_HPP #define MITAMA_DIMENSIONAL_DERIVED_UNITS_HEAT_HPP #include <mitama/dimensional/systems/si/all.hpp> #include <mitama/dimensional/quantity.hpp> #include <mitama/dimensional/io.hpp> namespace mitama::systems::si { template<class> struct heat_synonym{}; using heat_t = ma...
31.8
112
0.803774
LoliGothick
1874ab136870b4eb334cbde189625fd573772ac5
5,731
cpp
C++
test/test_list.cpp
kophy/TinySTL
366c2f585344a249846f4087904d509fa71e419e
[ "MIT" ]
5
2017-05-04T12:21:09.000Z
2019-03-28T09:29:50.000Z
test/test_list.cpp
kophy/TinySTL
366c2f585344a249846f4087904d509fa71e419e
[ "MIT" ]
null
null
null
test/test_list.cpp
kophy/TinySTL
366c2f585344a249846f4087904d509fa71e419e
[ "MIT" ]
null
null
null
#include <cstdlib> #include "list.hpp" #include "catch.hpp" using TinySTL::List; TEST_CASE("front and back") { SECTION("empty list") { List<int> l; CHECK_THROWS_AS(l.front(), std::out_of_range); CHECK_THROWS_AS(l.back(), std::out_of_range); } } TEST_CASE("push front") { SECTION("...
24.079832
62
0.424184
kophy
1875115aa1c9cadda5ec3c931eeb1c67a5047cda
398
hpp
C++
gtk/gtk.hpp
klada/online
3c1185aca331222fefcc7a55c8d30064e2ef0a58
[ "BSD-2-Clause" ]
1
2021-07-25T06:22:35.000Z
2021-07-25T06:22:35.000Z
gtk/gtk.hpp
klada/online
3c1185aca331222fefcc7a55c8d30064e2ef0a58
[ "BSD-2-Clause" ]
1
2022-02-24T13:46:43.000Z
2022-02-24T13:46:43.000Z
gtk/gtk.hpp
klada/online
3c1185aca331222fefcc7a55c8d30064e2ef0a58
[ "BSD-2-Clause" ]
1
2022-01-20T03:10:13.000Z
2022-01-20T03:10:13.000Z
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ extern int c...
36.181818
97
0.68593
klada
18770ff3124b3f7c22f268506d0dfe3d91497cd2
2,774
hpp
C++
citadel_lib/include/citadel/character.hpp
myddrin/citadel
f7f00e81154b1ac5e0442e1cfcef402f9e92887d
[ "MIT" ]
null
null
null
citadel_lib/include/citadel/character.hpp
myddrin/citadel
f7f00e81154b1ac5e0442e1cfcef402f9e92887d
[ "MIT" ]
null
null
null
citadel_lib/include/citadel/character.hpp
myddrin/citadel
f7f00e81154b1ac5e0442e1cfcef402f9e92887d
[ "MIT" ]
null
null
null
/** * Copyright (c) 2016 Thomas Richard * * Following MIT license (see copying.txt) * * The software is provided "as is", without warranty of any kind, express or * implied, including but not limited to the warranties of merchantability, * fitness for a particular purpose and noninfringement. */ #ifndef CITADEL...
30.483516
77
0.603461
myddrin
18771a185896ed2cf4c7b04b0e8bff3abf66617b
944
cpp
C++
src/core/platform/Process.cpp
TheJelmega/engine
39778e153a3214fb54d7c88295289a5128cd248f
[ "0BSD" ]
3
2021-09-04T20:36:23.000Z
2022-01-20T14:16:43.000Z
src/core/platform/Process.cpp
TheJelmega/engine
39778e153a3214fb54d7c88295289a5128cd248f
[ "0BSD" ]
1
2021-11-02T23:26:26.000Z
2021-11-02T23:26:26.000Z
src/core/platform/Process.cpp
TheJelmega/engine
39778e153a3214fb54d7c88295289a5128cd248f
[ "0BSD" ]
null
null
null
#include "Process.h" namespace Core { auto Process::GetPath() const noexcept -> const FileSystem::Path& { return m_path; } auto Process::GetCmdLine() const noexcept -> const String& { return m_cmdLine; } auto Process::GetEnvironment() const noexcept -> const String& { return m_environme...
18.88
77
0.684322
TheJelmega
18797a8a106c2dafd1386df0110f53de65436f6c
1,991
cc
C++
src/itensor/util/args.h.cc
kyungminlee/PiTensor
f206fe5a384b52336e9f406c11dc492ff129791b
[ "MIT" ]
10
2019-01-25T03:21:49.000Z
2020-01-19T04:42:32.000Z
src/itensor/util/args.h.cc
kyungminlee/PiTensor
f206fe5a384b52336e9f406c11dc492ff129791b
[ "MIT" ]
null
null
null
src/itensor/util/args.h.cc
kyungminlee/PiTensor
f206fe5a384b52336e9f406c11dc492ff129791b
[ "MIT" ]
2
2018-04-10T05:11:30.000Z
2018-09-14T08:16:07.000Z
#include "../../pitensor.h" #include "itensor/util/args.h" #include <pybind11/embed.h> namespace py = pybind11; using namespace itensor; // TODO: Implement python version altogether? static inline auto initArgs(pybind11::module& module) { py::class_<Args> type(module, "Args"); using namespace pybind11::literals;...
32.112903
101
0.500753
kyungminlee
1879f70ef792663254581d4d79df1fb7693ba8ca
4,671
cpp
C++
src/plugins/legacy/polygonRoi/polygonRoiPlugin.cpp
jnietol/medInria-public
727ba130afdc2f5ff046a936e2a24d920a413c77
[ "BSD-4-Clause" ]
null
null
null
src/plugins/legacy/polygonRoi/polygonRoiPlugin.cpp
jnietol/medInria-public
727ba130afdc2f5ff046a936e2a24d920a413c77
[ "BSD-4-Clause" ]
null
null
null
src/plugins/legacy/polygonRoi/polygonRoiPlugin.cpp
jnietol/medInria-public
727ba130afdc2f5ff046a936e2a24d920a413c77
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013 - 2019. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE....
40.973684
135
0.669878
jnietol
1880424f60d56103a862c1621422485c864059af
12,962
cpp
C++
sta-src/Loitering/loiteringTLE.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
sta-src/Loitering/loiteringTLE.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
sta-src/Loitering/loiteringTLE.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/* This program is free software; you can redistribute it and/or modify it under the terms of the European Union Public Licence - EUPL v.1.1 as published by the European Commission. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCH...
27.935345
145
0.704212
hoehnp
1881eee331797c9274dd9381422225cbcb31e705
1,913
hpp
C++
lib/dmitigr/net/client.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
121
2018-05-23T19:51:00.000Z
2022-03-12T13:05:34.000Z
lib/dmitigr/net/client.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
36
2019-11-11T03:25:10.000Z
2022-03-28T21:54:07.000Z
lib/dmitigr/net/client.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
17
2018-05-24T04:01:28.000Z
2022-01-16T13:22:26.000Z
// -*- C++ -*- // Copyright (C) Dmitry Igrishin // For conditions of distribution and use, see files LICENSE.txt or net.hpp #ifndef DMITIGR_NET_CLIENT_HPP #define DMITIGR_NET_CLIENT_HPP #include "dmitigr/net/descriptor.hpp" #include "dmitigr/net/endpoint.hpp" #include "dmitigr/net/socket.hpp" #include <cassert> #inc...
22.77381
118
0.70413
dmitigr
18832373562193ffa9ddb902e43c611ce75a84dc
6,186
cpp
C++
packages/Adapters/C_API/src/DTK_POD_PointCloudEntityImpl.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
1
2020-07-26T03:50:31.000Z
2020-07-26T03:50:31.000Z
packages/Adapters/C_API/src/DTK_POD_PointCloudEntityImpl.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
null
null
null
packages/Adapters/C_API/src/DTK_POD_PointCloudEntityImpl.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
1
2018-07-09T18:39:38.000Z
2018-07-09T18:39:38.000Z
//---------------------------------------------------------------------------// /* Copyright (c) 2012, Stuart R. Slattery 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 o...
37.26506
79
0.54882
chiao45
1884a96f39c161d0349b994cbd34a098c2a047f4
21,721
cpp
C++
cvrin.cpp
AlexeyAkhunov/espresso
5c7a57ad6fde2fb3af46171ca1a5c78d250716e9
[ "MIT" ]
null
null
null
cvrin.cpp
AlexeyAkhunov/espresso
5c7a57ad6fde2fb3af46171ca1a5c78d250716e9
[ "MIT" ]
null
null
null
cvrin.cpp
AlexeyAkhunov/espresso
5c7a57ad6fde2fb3af46171ca1a5c78d250716e9
[ "MIT" ]
null
null
null
/* module: cvrin.c purpose: cube and cover input routines */ #include <iostream> #include <cmath> #include "espresso.h" static bool line_length_error; static int lineno; void skip_line(std::istream& fpin, std::ostream& fpout, bool echo) { int ch; while ((ch=fpin.get()) != EOF && ch != '\n') if (echo...
27.494937
157
0.560471
AlexeyAkhunov
1887c9c86d79dc7f4ae0b85942b5592702355350
595
cpp
C++
test/typelist/reverse_test.cpp
matrixjoeq/candy
53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc
[ "MIT" ]
null
null
null
test/typelist/reverse_test.cpp
matrixjoeq/candy
53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc
[ "MIT" ]
null
null
null
test/typelist/reverse_test.cpp
matrixjoeq/candy
53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc
[ "MIT" ]
null
null
null
#include <type_traits> #include "typelist/reverse.hpp" namespace candy { namespace test { namespace { struct FirstType; struct SecondType; using EmptyTL = Typelist<>; using FirstTL = Typelist<FirstType>; using SecondTL = Typelist<FirstType, SecondType>; using ReverseTL = Typelist<SecondType, FirstType>; static_ass...
24.791667
77
0.736134
matrixjoeq
188bc5cba1cf322fc84b0d05875369ffe79abcc6
2,772
cpp
C++
Source/Scene/node_layer.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Scene/node_layer.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Scene/node_layer.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2007, 2008, CerroKai Development * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribu...
30.130435
101
0.650072
neonkingfr
188c09ac36619ddff05d88bd1808e911fc078ed1
7,356
cpp
C++
Plugins/org.mitk.gui.qt.radiomics/src/internal/QmitkRadiomicsMaskProcessingView.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.mitk.gui.qt.radiomics/src/internal/QmitkRadiomicsMaskProcessingView.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.gui.qt.radiomics/src/internal/QmitkRadiomicsMaskProcessingView.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
36.415842
157
0.73192
zhaomengxiao