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
1535b486ba4435dd7a498a04855bbcb01acdf90b
1,260
cpp
C++
Generator/Generator/Util.cpp
Snowapril/Procedural-Terrain-Estimator
b0eb13fd04e5f4c7d2ea73ca5fa9bd8a83cf2825
[ "MIT" ]
36
2018-08-14T13:40:19.000Z
2022-03-22T05:32:24.000Z
Generator/Generator/Util.cpp
Snowapril/Procedural-Terrain-Estimator
b0eb13fd04e5f4c7d2ea73ca5fa9bd8a83cf2825
[ "MIT" ]
3
2018-09-14T14:14:08.000Z
2021-03-14T16:05:31.000Z
Generator/Generator/Util.cpp
Snowapril/Procedural-Terrain-Estimator
b0eb13fd04e5f4c7d2ea73ca5fa9bd8a83cf2825
[ "MIT" ]
9
2018-08-26T04:14:17.000Z
2020-12-24T18:05:20.000Z
#include "Util.hpp" namespace Util { Rect::Rect() { } Rect::Rect(glm::vec2 lt, glm::vec2 rb) : leftTop(lt), rightBottom(rb) { } Rect::Rect(float left, float top, float right, float bottom) : leftTop(left, top), rightBottom(right, bottom) { } Rect::Rect(const Rect & other) { this->leftTop = other...
16.363636
61
0.646825
Snowapril
153b4d03588d0f7d218505b06ee88747a530261b
1,613
hpp
C++
src/algorithm/algorithmBase.hpp
TheSonOfDeimos/network-routing-optimization
7030b5cf333f19ab68952b6841463f4cfd664895
[ "MIT" ]
null
null
null
src/algorithm/algorithmBase.hpp
TheSonOfDeimos/network-routing-optimization
7030b5cf333f19ab68952b6841463f4cfd664895
[ "MIT" ]
null
null
null
src/algorithm/algorithmBase.hpp
TheSonOfDeimos/network-routing-optimization
7030b5cf333f19ab68952b6841463f4cfd664895
[ "MIT" ]
null
null
null
#ifndef ALGORITHM_BASE_HPP #define ALGORITHM_BASE_HPP #include <unordered_map> #include <vector> #include "types.hpp" struct Cell { // Relative values double ping; // ms double packetLoss; // amount of lost packets in % per 100 packets double speed; // Mbit/sec // Absolute values double band...
29.87037
233
0.748915
TheSonOfDeimos
153e6da54c1f05c705466f21ca50f1461c872217
3,066
cpp
C++
reader/android-reader/jni/NativeFormats/fbreader/src/formats/PluginCollection.cpp
liufeiit/itmarry
9d48eac9ebf02d857658b3c9f70dab2321a3362b
[ "MIT" ]
1
2015-01-22T19:51:03.000Z
2015-01-22T19:51:03.000Z
reader/android-reader/jni/NativeFormats/fbreader/src/formats/PluginCollection.cpp
liufeiit/itmarry
9d48eac9ebf02d857658b3c9f70dab2321a3362b
[ "MIT" ]
null
null
null
reader/android-reader/jni/NativeFormats/fbreader/src/formats/PluginCollection.cpp
liufeiit/itmarry
9d48eac9ebf02d857658b3c9f70dab2321a3362b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2004-2013 Geometer Plus <contact@geometerplus.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ver...
32.273684
115
0.742988
liufeiit
15408cbedb0f32036560f6b4a2ef5e0bb19323ab
8,233
cpp
C++
generated/src/DatabaseAsyncClient.cpp
automyinc/vnx-examples
492423bb8c8447f641e5691f45575056cab396df
[ "MIT" ]
null
null
null
generated/src/DatabaseAsyncClient.cpp
automyinc/vnx-examples
492423bb8c8447f641e5691f45575056cab396df
[ "MIT" ]
null
null
null
generated/src/DatabaseAsyncClient.cpp
automyinc/vnx-examples
492423bb8c8447f641e5691f45575056cab396df
[ "MIT" ]
null
null
null
// AUTO GENERATED by vnxcppcodegen #include <example/package.hxx> #include <example/DatabaseAsyncClient.hxx> #include <vnx/Input.h> #include <vnx/Output.h> namespace example { DatabaseAsyncClient::DatabaseAsyncClient(const std::string& service_name) : AsyncClient::AsyncClient(vnx::Hash64(service_name)) { } Datab...
35.951965
151
0.742014
automyinc
1541882e8f26b9db462bbbfd8af139cdfb2b074a
2,618
cpp
C++
graph-source-code/41-E/189438.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/41-E/189438.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/41-E/189438.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include<iostream> #include<sstream> #include<string> #include<cstdlib> #include<vector> #include<map> #include<queue> #include<stack> #include<cmath> #include<cctype> #include<set> #include<bitset> #include<algorithm> #include<list> #include<utility> #include<functional> #include ...
25.417476
66
0.52903
AmrARaouf
1543c74cb3eacc8e390d23bac942a89f68c54a53
2,118
cpp
C++
base-3.15.5-pre1/src/ca/legacy/pcas/generic/casAsyncPVAttachIOI.cpp
osteffen/epics
20556240f157c6b812d66e900d119e0db3bce391
[ "OML" ]
null
null
null
base-3.15.5-pre1/src/ca/legacy/pcas/generic/casAsyncPVAttachIOI.cpp
osteffen/epics
20556240f157c6b812d66e900d119e0db3bce391
[ "OML" ]
null
null
null
base-3.15.5-pre1/src/ca/legacy/pcas/generic/casAsyncPVAttachIOI.cpp
osteffen/epics
20556240f157c6b812d66e900d119e0db3bce391
[ "OML" ]
null
null
null
/*************************************************************************\ * Copyright (c) 2002 The University of Chicago, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. * EPICS BASE is distribute...
31.147059
82
0.617564
osteffen
1543f151890790f43a3431f95a01f790cc536799
4,869
hpp
C++
include/opengm/minimizer/to_quadratic_minimizer.hpp
DerThorsten/opengm3
23af324a0fde1357eb9745d69798686f0476e1f1
[ "MIT" ]
null
null
null
include/opengm/minimizer/to_quadratic_minimizer.hpp
DerThorsten/opengm3
23af324a0fde1357eb9745d69798686f0476e1f1
[ "MIT" ]
null
null
null
include/opengm/minimizer/to_quadratic_minimizer.hpp
DerThorsten/opengm3
23af324a0fde1357eb9745d69798686f0476e1f1
[ "MIT" ]
null
null
null
#pragma once #include <queue> #include <algorithm> #include "opengm/minimizer/minimizer_base.hpp" #include "opengm/minimizer/bp.hpp" #include "opengm/minimizer/utils/label_fuser.hpp" #include "opengm/factors_of_variables.hpp" namespace opengm{ template<class GM> class SelfFusion; namespace detail_self_fusion{ ...
27.201117
110
0.678168
DerThorsten
15461aed26d76d9755aa4d227a623daeb78f8290
1,895
cc
C++
src/player_mc.cc
tczajka/flippo-veoveo
6ebd612c4b85cb910264169164f1cdb1a2252a3d
[ "MIT" ]
5
2019-01-19T14:18:20.000Z
2022-01-23T16:58:45.000Z
src/player_mc.cc
tczajka/flippo-veoveo
6ebd612c4b85cb910264169164f1cdb1a2252a3d
[ "MIT" ]
null
null
null
src/player_mc.cc
tczajka/flippo-veoveo
6ebd612c4b85cb910264169164f1cdb1a2252a3d
[ "MIT" ]
null
null
null
#include "player_mc.h" #include "logging.h" #include <algorithm> Move PlayerMc::choose_move(const Position &position, const PlaySettings &settings) { const int rounds_left = (num_squares - position.move_number() + 1) / 2; const Timestamp end_time = settings.start_time + settings.time_lef...
30.564516
84
0.653298
tczajka
154632a790b78b66114a87c2d618220eabca37d4
2,019
cc
C++
tools/to_tuple_generator/to_tuple_generator.cc
cflaviu/cista
d7fab2dcfdf1b7665e9f8b4d6eeefa4a9f89046b
[ "MIT" ]
843
2019-01-03T11:33:00.000Z
2022-03-27T08:09:46.000Z
tools/to_tuple_generator/to_tuple_generator.cc
cflaviu/cista
d7fab2dcfdf1b7665e9f8b4d6eeefa4a9f89046b
[ "MIT" ]
58
2019-01-03T20:32:02.000Z
2022-01-31T17:25:42.000Z
tools/to_tuple_generator/to_tuple_generator.cc
cflaviu/cista
d7fab2dcfdf1b7665e9f8b4d6eeefa4a9f89046b
[ "MIT" ]
63
2019-01-04T03:00:04.000Z
2022-03-30T20:01:22.000Z
#include <iostream> #include <sstream> #include <string> std::string var_list(unsigned num, bool address_of) { std::stringstream ss; for (int i = 0; i < num; ++i) { if (address_of) { ss << "&"; } ss << "p" << (i + 1); if (i != num - 1) { ss << ", "; } } return ss.str(); } int m...
22.685393
77
0.500248
cflaviu
15493dd3688367e4c6172ace7644878b6bf49c85
362
cpp
C++
Email/Mapi/MapiGPF.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
67
2018-03-02T10:50:02.000Z
2022-03-23T18:20:29.000Z
Email/Mapi/MapiGPF.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
null
null
null
Email/Mapi/MapiGPF.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
9
2018-03-01T16:38:28.000Z
2021-03-02T16:17:09.000Z
// --------------------------- // (c) Reliable Software, 2005 // --------------------------- #include "precompiled.h" #include "MapiGPF.h" #include "OutputSink.h" char const Err [] = "Unexpected error in MAPI code during a call to "; void Mapi::HandleGPF (std::string const & where) { std::string msg = Err + where + ...
24.133333
70
0.560773
BartoszMilewski
15496d77cbaff3b88198a2bd763cc54cdfe91d50
5,292
cpp
C++
coast/modules/WorkerPoolManager/WorkerPoolManagerModulePoolManager.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/WorkerPoolManager/WorkerPoolManagerModulePoolManager.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/WorkerPoolManager/WorkerPoolManagerModulePoolManager.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the file license.txt....
31.879518
125
0.76455
zer0infinity
1549b420441803622cc3c33c638505f312d94f28
49,088
cpp
C++
src/3rdparty/khtml/src/css/css_renderstyledeclarationimpl.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/css/css_renderstyledeclarationimpl.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/css/css_renderstyledeclarationimpl.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
/** * css_renderstyledeclarationimpl.cpp * * Copyright 2004 Zack Rusin <zack@kde.org> * Copyright 2004,2005 Apple Computer, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation;...
35.90929
126
0.658939
afarcat
154c8ece419e263864e17e4c9f137c97bf481c64
1,955
cpp
C++
Source/Untitled_DeckRPG/Core/SummonerSaveData.cpp
JeffereyAEL/UntitledDeckRPG
e2935641957ba01645fdb0112eda5386b80fb919
[ "Artistic-2.0" ]
null
null
null
Source/Untitled_DeckRPG/Core/SummonerSaveData.cpp
JeffereyAEL/UntitledDeckRPG
e2935641957ba01645fdb0112eda5386b80fb919
[ "Artistic-2.0" ]
null
null
null
Source/Untitled_DeckRPG/Core/SummonerSaveData.cpp
JeffereyAEL/UntitledDeckRPG
e2935641957ba01645fdb0112eda5386b80fb919
[ "Artistic-2.0" ]
null
null
null
#include "SummonerSaveData.h" #include "Untitled_DeckRPG/Externals/DefinedDebugHelpers.h" #include "Untitled_DeckRPG/InstanceClasses/StorableInstanceClasses/ArmorInstance.h" #include "Untitled_DeckRPG/InstanceClasses/StorableInstanceClasses/SummonInstance.h" USummonerSaveData::USummonerSaveData() { Name = "UNINST...
32.04918
95
0.679795
JeffereyAEL
155143521decbd3e38477d5c3dec7bdc2dd834df
2,089
cpp
C++
Modules/ModelFit/src/Common/mitkModelGenerator.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/ModelFit/src/Common/mitkModelGenerator.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/ModelFit/src/Common/mitkModelGenerator.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
27.12987
160
0.696027
wyyrepo
1551a3b4d48a4f71fbfb4378aa467e1f43408517
14,407
cpp
C++
libraries/model/test/src/ModelTransformerTest.cpp
awf/ELL
25c94a1422efc41d5560db11b136f9d8f957ad41
[ "MIT" ]
2,094
2016-09-28T05:55:24.000Z
2019-05-04T19:06:36.000Z
libraries/model/test/src/ModelTransformerTest.cpp
awesomemachinelearning/ELL
cb897e3aec148a1e9bd648012b5f53ab9d0dd20c
[ "MIT" ]
213
2017-06-30T12:53:40.000Z
2019-05-03T06:35:38.000Z
libraries/model/test/src/ModelTransformerTest.cpp
awesomemachinelearning/ELL
cb897e3aec148a1e9bd648012b5f53ab9d0dd20c
[ "MIT" ]
301
2017-03-24T08:40:00.000Z
2019-05-02T21:22:28.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: ModelTransformerTest.cpp (model_test) // Authors: Chuck Jacobs // ////////////////////////////////////////////////////////////////////////////////////////...
34.549161
183
0.737905
awf
1553b6502b5cd6d959357abb9c636bef0377971d
3,206
cpp
C++
Vorlesungsbeispiele/MRT2_VL-8_Ampel_mit_OPC_UA/src/Ampel_Behaviors.cpp
zmanjiyani/PLT_MRT_ARM-RPi2
da77ab8ddf652a12ae6a6647c993daa2f94b39fb
[ "MIT" ]
4
2015-11-11T14:02:17.000Z
2021-11-29T16:07:38.000Z
Vorlesungsbeispiele/MRT2_VL-8_Ampel_mit_OPC_UA/src/Ampel_Behaviors.cpp
zmanjiyani/PLT_MRT_ARM-RPi2
da77ab8ddf652a12ae6a6647c993daa2f94b39fb
[ "MIT" ]
6
2019-04-20T14:48:58.000Z
2020-08-26T15:13:02.000Z
Vorlesungsbeispiele/MRT2_VL-8_Ampel_mit_OPC_UA/src/Ampel_Behaviors.cpp
zmanjiyani/PLT_MRT_ARM-RPi2
da77ab8ddf652a12ae6a6647c993daa2f94b39fb
[ "MIT" ]
9
2016-01-10T15:14:28.000Z
2021-10-13T22:45:19.000Z
/* * Copyright (c) 2018 <copyright holder> <email> * * 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, modi...
31.431373
82
0.720524
zmanjiyani
1554aa5fb694fc3d5d0af6be1c7a5efb573e25f1
3,530
cpp
C++
Program07/courseClassDriver.cpp
jeremysteph/pancake-day
8a875b8aa1e003493587a48056ee070285b966cf
[ "CC0-1.0" ]
1
2020-09-27T07:53:59.000Z
2020-09-27T07:53:59.000Z
Program07/courseClassDriver.cpp
jeremysteph/pancake-day
8a875b8aa1e003493587a48056ee070285b966cf
[ "CC0-1.0" ]
null
null
null
Program07/courseClassDriver.cpp
jeremysteph/pancake-day
8a875b8aa1e003493587a48056ee070285b966cf
[ "CC0-1.0" ]
null
null
null
#include "courseClassDriver.h" #include <fstream> int main(){ vector<Course> schedule; char cinput[512]; string input; cout << "Class Scheduler"; do{ cout << ': '; cin.getline(cinput, 512); input = cinput; size_t size = wordCount(input); if (size != 0){ string parsed[size]; parseInput...
27.795276
134
0.602266
jeremysteph
15570b15cfb1f385581154f9f946421bde72901b
81
cpp
C++
TinyEngine/src/Platform/OpenGL/ImGuiBuildOpenGL.cpp
LongerZrLong/TinyEngine
c5b0d57e9724c765967ce091c503f81673d74986
[ "Apache-2.0" ]
null
null
null
TinyEngine/src/Platform/OpenGL/ImGuiBuildOpenGL.cpp
LongerZrLong/TinyEngine
c5b0d57e9724c765967ce091c503f81673d74986
[ "Apache-2.0" ]
null
null
null
TinyEngine/src/Platform/OpenGL/ImGuiBuildOpenGL.cpp
LongerZrLong/TinyEngine
c5b0d57e9724c765967ce091c503f81673d74986
[ "Apache-2.0" ]
null
null
null
#define IMGUI_IMPL_OPENGL_LOADER_GLAD #include <backends/imgui_impl_opengl3.cpp>
27
42
0.876543
LongerZrLong
155b56a25b7e733e6451d8aac8f3dd63c9019ea8
30,956
cpp
C++
src/filesystemmodel.cpp
Jawez/FileManager
6d90f5f8b1757cd0d86ea0f81a7968b0dbb181aa
[ "MIT" ]
10
2021-09-10T02:07:50.000Z
2022-03-27T08:35:08.000Z
src/filesystemmodel.cpp
Jawez/FileManager
6d90f5f8b1757cd0d86ea0f81a7968b0dbb181aa
[ "MIT" ]
null
null
null
src/filesystemmodel.cpp
Jawez/FileManager
6d90f5f8b1757cd0d86ea0f81a7968b0dbb181aa
[ "MIT" ]
3
2021-09-15T14:05:16.000Z
2022-03-19T11:33:27.000Z
#include "filesystemmodel.h" #include "progressdialog.h" #include "settings.h" #include <QtDebug> #include <QFuture> #include <QFileInfo> #include <QModelIndex> #include <QApplication> #include <QProgressDialog> #include <QtConcurrent> #include <QMessageBox> #include <QPushButton> #include <QMimeData> #include <QUrl> ...
33.79476
147
0.579758
Jawez
155b65b8b11b38d1533ce920aa6cba640c56b6b0
1,555
cpp
C++
src/KthSmallestElementInABST.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
src/KthSmallestElementInABST.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
src/KthSmallestElementInABST.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "KthSmallestElementInABST.hpp" #include <stack> using namespace std; int KthSmallestElementInABST::kthSmallest(TreeNode *root, int k) { return kthSmallestRecursive(root, k); } int KthSmallestElementInABST::kthSmallestBinarySearch(TreeNode *root, int k) { int n = countNodes(root->left); if (k <...
24.68254
94
0.607717
yanzhe-chen
155e22c12319b959134dee88fd481c9bc4cecef7
84,027
cxx
C++
net/winnet/enum.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/winnet/enum.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/winnet/enum.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1991 Microsoft Corporation Module Name: enum.cxx Abstract: Contains the entry points for the WinNet Enum API supported by the Multi-Provider Router. The following functions are in this file: WNetOpenEnumW WNetEnumResourceW WNetCloseEnum ...
30.510893
99
0.542219
npocmaka
1560267c0994b59b55989bff706b1eb9fbdaaa4f
343
cpp
C++
_code/pack-indexing/benchmark_1.erb.cpp
ldionne/ldionne.github.io
9391dd54f00bd61046d60dbfeab31b13e8803d43
[ "MIT" ]
null
null
null
_code/pack-indexing/benchmark_1.erb.cpp
ldionne/ldionne.github.io
9391dd54f00bd61046d60dbfeab31b13e8803d43
[ "MIT" ]
null
null
null
_code/pack-indexing/benchmark_1.erb.cpp
ldionne/ldionne.github.io
9391dd54f00bd61046d60dbfeab31b13e8803d43
[ "MIT" ]
null
null
null
// Copyright Louis Dionne 2015 // Distributed under the Boost Software License, Version 1.0. #include <cstddef> #include <tuple> #include <utility> #include "<%= header %>" <% (0..input_size-1).each do |n| %> using T_<%= n %> = nth_element< <%= n %>, <%= (1..input_size).map { |i| "int" }.join(', ...
21.4375
61
0.55102
ldionne
156166db872cb216b7cb2401c9b9af4fb738f355
7,212
cpp
C++
engine/source/engine/core/file-system/FileSystem.cpp
yhyu13/Engine2021
6ded548caa45bf980d88e09bed59431b61f5337e
[ "MIT" ]
null
null
null
engine/source/engine/core/file-system/FileSystem.cpp
yhyu13/Engine2021
6ded548caa45bf980d88e09bed59431b61f5337e
[ "MIT" ]
null
null
null
engine/source/engine/core/file-system/FileSystem.cpp
yhyu13/Engine2021
6ded548caa45bf980d88e09bed59431b61f5337e
[ "MIT" ]
null
null
null
#include "engine-precompiled-header.h" #include "FileSystem.h" #include "../exception/EngineException.h" void longmarch::FileSystem::RegisterProtocol(const std::string& name, const fs::path& path) { s_pathProtocol[name] = path; } fs::path longmarch::FileSystem::ResolveSingleBackSlash(const std::string& path...
28.062257
109
0.660288
yhyu13
1561dfb9a7429631b23844559f81a32a111a73c8
7,259
cc
C++
mojo/public/cpp/bindings/lib/control_message_proxy.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
mojo/public/cpp/bindings/lib/control_message_proxy.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
mojo/public/cpp/bindings/lib/control_message_proxy.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2015 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 "mojo/public/cpp/bindings/lib/control_message_proxy.h" #include <stddef.h> #include <stdint.h> #include <utility> #include "base/bind.h" #inclu...
35.237864
80
0.754236
google-ar
1565deb91bc1982bd223bb56933b1b9c4ef510ca
2,438
cpp
C++
src/utilities_gui/dlgDeviceInfo.cpp
bastille-attic/LimeSuite
761805c75b1ae1e0ec9b8c6c182ebd058a088ab8
[ "Apache-2.0" ]
null
null
null
src/utilities_gui/dlgDeviceInfo.cpp
bastille-attic/LimeSuite
761805c75b1ae1e0ec9b8c6c182ebd058a088ab8
[ "Apache-2.0" ]
null
null
null
src/utilities_gui/dlgDeviceInfo.cpp
bastille-attic/LimeSuite
761805c75b1ae1e0ec9b8c6c182ebd058a088ab8
[ "Apache-2.0" ]
null
null
null
#include "dlgDeviceInfo.h" #include "IConnection.h" using namespace lime; dlgDeviceInfo::dlgDeviceInfo(wxWindow* parent, wxWindowID id, const wxString &title, const wxPoint& pos, const wxSize& size, long styles) : dlgDeviceInfo_view( parent, id, title, pos, size, styles) { ctrPort = nullptr; dataPort = nullpt...
34.828571
137
0.650123
bastille-attic
15666c1629f120c191effc359b9b9077625f9551
800
hpp
C++
src/Animation.hpp
darkbitsorg/db-08_green_grappler
f009228edb2eb1a943ab6d5801a78a5d00ac9e43
[ "BSD-2-Clause-NetBSD", "BSD-2-Clause", "BSD-3-Clause" ]
1
2018-06-12T13:35:31.000Z
2018-06-12T13:35:31.000Z
src/Animation.hpp
darkbitsorg/db-08_green_grappler
f009228edb2eb1a943ab6d5801a78a5d00ac9e43
[ "BSD-2-Clause-NetBSD", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
src/Animation.hpp
darkbitsorg/db-08_green_grappler
f009228edb2eb1a943ab6d5801a78a5d00ac9e43
[ "BSD-2-Clause-NetBSD", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
#pragma once #include "Blending.hpp" class Animation { public: Animation(const std::string& aFilename); Animation(const std::string& aFilename, int aNumberOfFrames); ~Animation(); BITMAP *getFrame(int aFrame) const; int getFrameCount() const; int getFrameWidth() const; int getFrameHeight() const; void drawFr...
30.769231
145
0.74875
darkbitsorg
d07e1c8ebab0aaa06780ab9769ca1e6429b57c7a
3,831
cpp
C++
test/test_service_script_runner.cpp
ProjectDecibel/open_sysadmin
beee92e72a0c3afa3aeb396855aa42c96e8989a8
[ "Apache-2.0" ]
14
2017-05-31T19:38:25.000Z
2022-01-19T20:56:32.000Z
test/test_service_script_runner.cpp
ProjectDecibel/open_sysadmin
beee92e72a0c3afa3aeb396855aa42c96e8989a8
[ "Apache-2.0" ]
26
2017-06-07T14:05:07.000Z
2020-01-29T20:06:34.000Z
test/test_service_script_runner.cpp
ProjectDecibel/open_sysadmin
beee92e72a0c3afa3aeb396855aa42c96e8989a8
[ "Apache-2.0" ]
9
2017-05-31T21:09:59.000Z
2021-05-14T15:11:18.000Z
#include <gtest/gtest.h> #include <gmock/gmock.h> #include <log4cxx/logger.h> #include <fstream> #include <string> #include "ServiceScriptRunner.h" #include "decibel/messaging/Reactor.h" namespace dm = decibel::messaging; namespace { log4cxx::LoggerPtr spLogger(log4cxx::Logger::getLogger("test_service_script_run...
27.170213
95
0.577656
ProjectDecibel
d07f1345f740ee7dc5b9c3cac249451815e8ef7f
884
cpp
C++
CCC/Stage1/01-Done/ccc01j4s2.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
CCC/Stage1/01-Done/ccc01j4s2.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
CCC/Stage1/01-Done/ccc01j4s2.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
#include <cstdio> using namespace std; int s[20][20]; int main() { int a,b; scanf("%d%d",&a,&b); int x=10,y=10; int sx,sy,bx,by; sx=sy=20; bx=by=0; char d='l'; for(int i=a;i!=b+1;i++) { if(x>bx) bx=x; if(x<sx) sx=x; if(y>by) by=y; if(y<sy) sy=y; s[x][y]=i; if(d=='d') { ...
11.945946
26
0.350679
zzh8829
d0845ae57df5832bf5abee62d80c587935440cdd
842
hpp
C++
src/PyOmega_h.hpp
overfelt/omega_h
dfc19cc3ea0e183692ca6c548dda39f7892301b5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/PyOmega_h.hpp
overfelt/omega_h
dfc19cc3ea0e183692ca6c548dda39f7892301b5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/PyOmega_h.hpp
overfelt/omega_h
dfc19cc3ea0e183692ca6c548dda39f7892301b5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#ifndef OMEGA_H_PY_HPP #define OMEGA_H_PY_HPP #include <Omega_h_config.h> #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow" #endif #include <pybind11/pybind11.h> #ifdef __GNUC__ #pragma GCC diagnostic pop #endif namespace py = pybind11; namespace Omega_h { class Library; extern...
22.756757
56
0.785036
overfelt
d08693adac956c086209f971c0833bea9b328291
709
cpp
C++
C++Codes/Reverse Stack.cpp
aardhyakumar/Hacktoberfest-20
20ae70f8b55cfe3130f16fa5a6b14996b6bb5f27
[ "MIT" ]
4
2020-10-16T05:53:21.000Z
2020-10-18T13:31:31.000Z
C++Codes/Reverse Stack.cpp
aardhyakumar/Hacktoberfest-20
20ae70f8b55cfe3130f16fa5a6b14996b6bb5f27
[ "MIT" ]
5
2020-09-20T14:46:05.000Z
2021-10-09T16:40:55.000Z
C++Codes/Reverse Stack.cpp
aardhyakumar/Hacktoberfest-20
20ae70f8b55cfe3130f16fa5a6b14996b6bb5f27
[ "MIT" ]
16
2020-10-16T05:53:24.000Z
2021-10-16T18:38:23.000Z
//C++ Program to reverse a stack without recursion #include<bits/stdc++.h> using namespace std; void insertatbottom (stack<int> &st,int ele){ if(st.empty()){ st.push(ele); return; } int topele=st.top(); st.pop(); insertatbottom(st,ele); st.push(topele); } void reverse(stac...
14.770833
50
0.503526
aardhyakumar
d08b8e2a8ad801809986736704fa00845719af08
651
cpp
C++
EU4toV2/Source/Mappers/FlagColorMapper.cpp
Clonefusion/EU4toVic2
d39157b8317152da4ca138a69d78b6335bb27eb3
[ "MIT" ]
2
2020-01-02T16:07:51.000Z
2020-01-12T17:55:13.000Z
EU4toV2/Source/Mappers/FlagColorMapper.cpp
Clonefusion/EU4toVic2
d39157b8317152da4ca138a69d78b6335bb27eb3
[ "MIT" ]
3
2020-01-12T19:44:56.000Z
2020-01-17T05:40:41.000Z
EU4toV2/Source/Mappers/FlagColorMapper.cpp
Clonefusion/EU4toVic2
d39157b8317152da4ca138a69d78b6335bb27eb3
[ "MIT" ]
1
2020-01-12T17:55:40.000Z
2020-01-12T17:55:40.000Z
#include "FlagColorMapper.h" #include "ParserHelpers.h" mappers::FlagColorMapper::FlagColorMapper(std::istream& theStream) { registerKeyword(std::regex("flag_color"), [this](const std::string& sourceGov, std::istream& theStream) { commonItems::Color theColor(theStream); flagColorMapping.push_back(theColor); })...
29.590909
104
0.746544
Clonefusion
d08bcbe2295669bca55f9ce7b4d73e403cb92586
5,437
cpp
C++
src/my_arm/RobotDartAdapter.cpp
Tadinu/my_arm
ac4fb295ddad7c7ee999a03d2e7d229802b64226
[ "BSD-3-Clause" ]
4
2021-02-20T15:59:42.000Z
2022-03-25T04:04:21.000Z
src/my_arm/RobotDartAdapter.cpp
Tadinu/my_arm
ac4fb295ddad7c7ee999a03d2e7d229802b64226
[ "BSD-3-Clause" ]
1
2021-04-14T04:12:48.000Z
2021-04-14T04:12:48.000Z
src/my_arm/RobotDartAdapter.cpp
Tadinu/my_arm
ac4fb295ddad7c7ee999a03d2e7d229802b64226
[ "BSD-3-Clause" ]
2
2019-10-29T12:41:16.000Z
2021-03-22T16:38:27.000Z
#include <functional> // std::bind #include <QThread> #include <QVector3D> #include "Rviz/VMarker.h" #include "RobotDartAdapter.h" RobotDartAdapter* RobotDartAdapter::_instance = nullptr; RobotDartAdapter* RobotDartAdapter::getInstance() { if(_instance == nullptr) { _instance = new RobotDartAdapter(); ...
33.770186
94
0.654405
Tadinu
d09770577356886cd5c4943211a2ffbd93526df9
8,231
cc
C++
onnxruntime/test/common/path_test.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
onnxruntime/test/common/path_test.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
onnxruntime/test/common/path_test.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/common/path.h" #include "gtest/gtest.h" #include "core/common/optional.h" #include "test/util/include/asserts.h" namespace onnxruntime { namespace test { TEST(PathTest, Parse) { auto check_parse = ...
32.027237
122
0.609039
lchang20
d0982a59d0d971819899a90827717e5692dc5c3d
4,353
cpp
C++
es-core/src/hardware/boards/odroidadvancego2/OdroidAdvanceGo2PowerEventReader.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
es-core/src/hardware/boards/odroidadvancego2/OdroidAdvanceGo2PowerEventReader.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
es-core/src/hardware/boards/odroidadvancego2/OdroidAdvanceGo2PowerEventReader.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
// // Created by bkg2k on 01/11/2020. // #include "OdroidAdvanceGo2PowerEventReader.h" #include <utils/Log.h> #include <linux/input.h> #include <fcntl.h> #include <poll.h> #include <utils/datetime/DateTime.h> #include <MainRunner.h> OdroidAdvanceGo2PowerEventReader::OdroidAdvanceGo2PowerEventReader(HardwareMessageSen...
30.229167
106
0.603032
AdoPi
d0984ce12fba9d44a5f9652de6f3ed8bf5961eea
180
cpp
C++
1-basic-env/test/main.cpp
OuyangWenyu/hydrocpp
9587e63c7125ee42b2523b361161876e8083be2e
[ "MIT" ]
null
null
null
1-basic-env/test/main.cpp
OuyangWenyu/hydrocpp
9587e63c7125ee42b2523b361161876e8083be2e
[ "MIT" ]
null
null
null
1-basic-env/test/main.cpp
OuyangWenyu/hydrocpp
9587e63c7125ee42b2523b361161876e8083be2e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { char a[10],b[10]; cin.getline(a,10,','); cin.getline(b,10,','); cout<<a<<endl; cout<<b<<endl; }
16.363636
27
0.516667
OuyangWenyu
d098be9aa5cc0bbae5d74812e0b06555c30a4f98
3,141
cpp
C++
dev/Gems/LmbrCentral/Code/Source/Audio/EditorAudioEnvironmentComponent.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/LmbrCentral/Code/Source/Audio/EditorAudioEnvironmentComponent.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/LmbrCentral/Code/Source/Audio/EditorAudioEnvironmentComponent.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
51.491803
255
0.638013
jeikabu
d09b484c3891610d00f88f07c71dd9ec2b30e928
1,456
hpp
C++
lib/hsa/hsaInputData.hpp
eschnett/kotekan
81918288147435cef8ad52db05da0988c999a7dd
[ "MIT" ]
19
2018-12-14T00:51:52.000Z
2022-02-20T02:43:50.000Z
lib/hsa/hsaInputData.hpp
eschnett/kotekan
81918288147435cef8ad52db05da0988c999a7dd
[ "MIT" ]
487
2018-12-13T00:59:53.000Z
2022-02-07T16:12:56.000Z
lib/hsa/hsaInputData.hpp
eschnett/kotekan
81918288147435cef8ad52db05da0988c999a7dd
[ "MIT" ]
5
2019-05-09T19:52:19.000Z
2021-03-27T20:13:21.000Z
#ifndef HSA_INPUT_DATA_H #define HSA_INPUT_DATA_H #include "Config.hpp" // for Config #include "buffer.h" // for Buffer #include "bufferContainer.hpp" // for bufferContainer #include "hsa/hsa.h" // for hsa_signal_t #include "hsaCommand.hpp" // for hsaCommand #include "...
29.12
85
0.719093
eschnett
d09b53ec757d32a45deced598650f5491bba8ebc
1,777
cpp
C++
aws-cpp-sdk-inspector2/source/model/FreeTrialInfoError.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-inspector2/source/model/FreeTrialInfoError.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-inspector2/source/model/FreeTrialInfoError.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/inspector2/model/FreeTrialInfoError.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws {...
19.527473
105
0.732696
perfectrecall
d09e5531a56c0a361bfc05b6729b921e25a84cc6
2,515
cpp
C++
tests/android/app/src/main/cpp/miniaudio_async_test.cpp
ondesly/audio_engine
37e68f9e5be3f36b77aac6574e90d2150aef0f6d
[ "BSD-2-Clause" ]
null
null
null
tests/android/app/src/main/cpp/miniaudio_async_test.cpp
ondesly/audio_engine
37e68f9e5be3f36b77aac6574e90d2150aef0f6d
[ "BSD-2-Clause" ]
null
null
null
tests/android/app/src/main/cpp/miniaudio_async_test.cpp
ondesly/audio_engine
37e68f9e5be3f36b77aac6574e90d2150aef0f6d
[ "BSD-2-Clause" ]
null
null
null
// // miniaudio_async_test.cpp // audio_engine // // Created by Dmitrii Torkhov <dmitriitorkhov@gmail.com> on 03.09.2021. // Copyright © 2021 Dmitrii Torkhov. All rights reserved. // #include <iostream> #include <miniaudio.h> #include "miniaudio_async_test.h" oo::audio::miniaudio_async_test::miniaudio_async_tes...
28.908046
72
0.496223
ondesly
d09f30e7fb44a15afb588553d1edd6613e1e65ec
942
cpp
C++
src/matrix.cpp
sraaphorst/nibac
288fcc4012065cf8b15dab4fc5f0c829b2b4a65c
[ "Apache-2.0" ]
null
null
null
src/matrix.cpp
sraaphorst/nibac
288fcc4012065cf8b15dab4fc5f0c829b2b4a65c
[ "Apache-2.0" ]
9
2018-05-06T20:27:49.000Z
2018-10-24T23:28:24.000Z
src/matrix.cpp
sraaphorst/nibac
288fcc4012065cf8b15dab4fc5f0c829b2b4a65c
[ "Apache-2.0" ]
null
null
null
/** * matrix.h * * By Sebastian Raaphorst, 2003 - 2018. */ #include "common.h" #include "matrix.h" namespace vorpal::nibac { template<class T> void matrix_2d(T ***matrix, int n, int m) { (*matrix) = new T *[n]; for (int i = 0; i < n; ++i) (*matrix)[i] = new T[m]; } tem...
23.55
60
0.46603
sraaphorst
d0a2185b3868089cf0490fa9942ed3649c49d8d9
3,749
hpp
C++
include/ouchilib/crypto/algorithm/mugi.hpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
1
2019-06-11T05:22:54.000Z
2019-06-11T05:22:54.000Z
include/ouchilib/crypto/algorithm/mugi.hpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
1
2019-10-30T14:33:37.000Z
2019-10-31T15:01:09.000Z
include/ouchilib/crypto/algorithm/mugi.hpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
null
null
null
#pragma once #include <type_traits> #include "ouchilib/math/gf.hpp" #include "ouchilib/math/matrix.hpp" #include "../common.hpp" #include "aes.hpp" namespace ouchi::crypto { struct mugi { static constexpr unsigned vec_size = 16; using result_type = std::uint64_t; mugi() = default; mugi(memory_view<ve...
32.042735
123
0.486263
ouchiminh
d0a23b9cbdba85704b8ff417427ebfafaf0b160e
1,289
cpp
C++
may20/pizzav2.cpp
HectorFuentes/COP1334C
1092278e1c6381d1e49a97a4065f2a2cd8b81e5d
[ "MIT" ]
null
null
null
may20/pizzav2.cpp
HectorFuentes/COP1334C
1092278e1c6381d1e49a97a4065f2a2cd8b81e5d
[ "MIT" ]
null
null
null
may20/pizzav2.cpp
HectorFuentes/COP1334C
1092278e1c6381d1e49a97a4065f2a2cd8b81e5d
[ "MIT" ]
null
null
null
/*pizza.cpp Michelle Levine May 20, 2015 This program prompts the user for some information about a pizza. The slice area and cost are calculated and displayed. */ //preprocessor directives #include<iostream> #include<iomanip> #include<cmath> //needed for the pow function using namespace std; int main() { //Declare ...
24.320755
88
0.683476
HectorFuentes
d0a6ee74af41a1e3569b0f16700d167741d4e428
48,868
cpp
C++
VirtualBox-5.0.0/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/* $Id: Framebuffer.cpp $ */ /** @file * * VBox frontends: VBoxSDL (simple frontend based on SDL): * Implementation of VBoxSDLFB (SDL framebuffer) class */ /* * Copyright (C) 2006-2012 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.or...
29.581114
106
0.622759
egraba
d0a7bec7424353250c0310a2f6ab72ef9d35ddb8
1,148
cpp
C++
PAT_A/PAT_A1070.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
3
2019-07-08T05:20:28.000Z
2021-09-22T10:53:26.000Z
PAT_A/PAT_A1070.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
PAT_A/PAT_A1070.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, d; double tempF, profit = 0; double amounts[1010], prices[1010], pricePerTon[1010]; struct item { double amount, prices, pricePerTon; item(double _amount, double _prices, double _pricePerTon) { amount = _amount; prices = _prices; ...
23.428571
80
0.515679
EnhydraGod
d0a96743b8e5ec7f9a0fc7cd18b9ece814290561
3,283
cpp
C++
src/Camera.cpp
hmkum/HMK-OpenGL-Demo
254f5814ed1c552dd0ab348cd3ab9332c9d1ef70
[ "MIT" ]
null
null
null
src/Camera.cpp
hmkum/HMK-OpenGL-Demo
254f5814ed1c552dd0ab348cd3ab9332c9d1ef70
[ "MIT" ]
null
null
null
src/Camera.cpp
hmkum/HMK-OpenGL-Demo
254f5814ed1c552dd0ab348cd3ab9332c9d1ef70
[ "MIT" ]
null
null
null
#include <cmath> #include "Camera.h" #include <thirdparty/glm/gtc/matrix_transform.hpp> using namespace hmk; static const float MaxVerticalAngle = 85.0f; //must be less than 90 to avoid gimbal lock Camera::Camera() : m_position(0.0f, 0.0f, 1.0f), m_horizontalAngle(0.0f), m_verticalAngle(0.0f), m_fov(...
22.798611
97
0.69601
hmkum
d0a987a31bf7d3d4181a725d0812bfb4c00305a2
8,851
cpp
C++
abclient/abclient/ClientPrediction.cpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
abclient/abclient/ClientPrediction.cpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
abclient/abclient/ClientPrediction.cpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
/** * Copyright 2017-2020 Stefan Ascher * * 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, pub...
35.123016
108
0.661055
pablokawan
d0a998f8d368a9dd4e71e0677cb0f552d3df8b2d
358
hpp
C++
libs/gfxtk_vulkan/src/gfxtk/backend/vulkan/TriangleFillMode.hpp
NostalgicGhoul/gfxtk
6662d6d1b285e20806ecfef3cdcb620d6605e478
[ "BSD-2-Clause" ]
null
null
null
libs/gfxtk_vulkan/src/gfxtk/backend/vulkan/TriangleFillMode.hpp
NostalgicGhoul/gfxtk
6662d6d1b285e20806ecfef3cdcb620d6605e478
[ "BSD-2-Clause" ]
null
null
null
libs/gfxtk_vulkan/src/gfxtk/backend/vulkan/TriangleFillMode.hpp
NostalgicGhoul/gfxtk
6662d6d1b285e20806ecfef3cdcb620d6605e478
[ "BSD-2-Clause" ]
null
null
null
#ifndef GFXTK_BACKEND_VULKAN_TRIANGLEFILLMODE_HPP #define GFXTK_BACKEND_VULKAN_TRIANGLEFILLMODE_HPP #include <vulkan/vulkan.h> #include <gfxtk/TriangleFillMode.hpp> namespace gfxtk::backend { struct TriangleFillMode { static VkPolygonMode convert(gfxtk::TriangleFillMode fillMode); }; } #endif //GFXT...
23.866667
71
0.807263
NostalgicGhoul
d0adf93377aa91b3c8b573a9192c780af827352c
271
cpp
C++
driver/src/exception/DriverException.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
86
2017-10-29T15:46:41.000Z
2022-01-17T07:18:16.000Z
driver/src/exception/DriverException.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
13
2020-09-27T03:31:57.000Z
2021-05-27T00:39:14.000Z
driver/src/exception/DriverException.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
12
2018-08-21T12:57:18.000Z
2021-05-26T18:41:50.000Z
/** * @file */ #include "src/exception/DriverException.hpp" birch::DriverException::DriverException() { // } birch::DriverException::DriverException(const std::string& msg) { std::stringstream base; base << "error: " << msg << '\n'; this->msg = base.str(); }
18.066667
65
0.642066
pranavsubramani
d0ae248d3cdab786948de9075956e0818d9fdf8d
5,734
cpp
C++
dlls/weapons/CShockBeam.cpp
Admer456/halflife-dnf01
a3cacddb5ff3dedfea2d157c72711ba1df429dac
[ "Unlicense" ]
null
null
null
dlls/weapons/CShockBeam.cpp
Admer456/halflife-dnf01
a3cacddb5ff3dedfea2d157c72711ba1df429dac
[ "Unlicense" ]
null
null
null
dlls/weapons/CShockBeam.cpp
Admer456/halflife-dnf01
a3cacddb5ff3dedfea2d157c72711ba1df429dac
[ "Unlicense" ]
null
null
null
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
22.311284
114
0.687129
Admer456
d0b6485309e26c3d7ebb0b31f6618b1e94507eae
8,190
hpp
C++
ql/math/statistics/histogram.hpp
markxio/Quantuccia
ebe71a1b9c2a9ee7fc4ea918a9602f100316869d
[ "BSD-3-Clause" ]
29
2017-03-20T14:17:39.000Z
2021-12-22T08:00:52.000Z
ql/math/statistics/histogram.hpp
markxio/Quantuccia
ebe71a1b9c2a9ee7fc4ea918a9602f100316869d
[ "BSD-3-Clause" ]
10
2017-04-02T14:34:07.000Z
2021-01-13T05:31:12.000Z
ql/math/statistics/histogram.hpp
markxio/Quantuccia
ebe71a1b9c2a9ee7fc4ea918a9602f100316869d
[ "BSD-3-Clause" ]
22
2017-03-19T05:56:19.000Z
2022-03-16T13:30:20.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2007 Gang Liang This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/or m...
27.029703
86
0.634554
markxio
d0b692c546d9197e18f0d44f1121b0946f313b90
829
hpp
C++
rj_param_utils/include/rj_param_utils/ros2_local_param_provider.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
200
2015-01-26T01:45:34.000Z
2022-03-19T13:05:31.000Z
rj_param_utils/include/rj_param_utils/ros2_local_param_provider.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
1,254
2015-01-03T01:57:35.000Z
2022-03-16T06:32:21.000Z
rj_param_utils/include/rj_param_utils/ros2_local_param_provider.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
206
2015-01-21T02:03:18.000Z
2022-02-01T17:57:46.000Z
#pragma once #include <rclcpp/rclcpp.hpp> #include "rj_param_utils/ros2_param_provider.hpp" namespace params { /** * */ class LocalROS2ParamProvider : public BaseROS2ParamProvider { public: explicit LocalROS2ParamProvider(rclcpp::Node* node, const std::string& module); protected: /** * @brief Calls ...
24.382353
87
0.714113
xiaoqingyu0113
d0bc88174c2d966482ab38237640f5e9872d8b6a
2,420
cpp
C++
Assigment 12/a12_p3/Tournamentmember.cpp
UrfanAlvany/Programming-in-C-and-Cpp
e23a485d5ce302cbbc14bd67a0f656797c3f6af1
[ "MIT" ]
1
2022-01-02T16:02:09.000Z
2022-01-02T16:02:09.000Z
Assigment 12/a12_p3/Tournamentmember.cpp
UrfanAlvany/Programming-in-C-and-Cpp
e23a485d5ce302cbbc14bd67a0f656797c3f6af1
[ "MIT" ]
null
null
null
Assigment 12/a12_p3/Tournamentmember.cpp
UrfanAlvany/Programming-in-C-and-Cpp
e23a485d5ce302cbbc14bd67a0f656797c3f6af1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include "TournamentMember.h" using namespace std; string TournamentMember::location; TournamentMember::TournamentMember() { strcpy(this->name,"Tournament"); strcpy(this->LastName,"Member"); strcpy(this->Bday,"2000-12-19"); cout << "Created with TournamentMembe...
25.744681
107
0.573554
UrfanAlvany
d0bd40ee95dab3b2589742b8a0c3a5de7918b5b9
1,804
cc
C++
paddle/operators/conv_op.cu.cc
boru-roylu/Paddle
b15c675530db541440ddb5b7e774d522ecaf1533
[ "ECL-2.0", "Apache-2.0" ]
1
2019-03-14T05:20:07.000Z
2019-03-14T05:20:07.000Z
paddle/operators/conv_op.cu.cc
boru-roylu/Paddle
b15c675530db541440ddb5b7e774d522ecaf1533
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
paddle/operators/conv_op.cu.cc
boru-roylu/Paddle
b15c675530db541440ddb5b7e774d522ecaf1533
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 ...
41
79
0.785477
boru-roylu
d0c02d240862c6c2988355a17767d2d13f3800e9
3,039
hpp
C++
src/e2/src/ASN1/lib/asn_x2ap.hpp
shadansari/onos-cu-cp
16cbf4828bd11e4c7319e7a009a26b6f39fde628
[ "Apache-2.0" ]
5
2020-08-31T08:27:42.000Z
2022-03-27T10:39:37.000Z
src/e2/src/ASN1/lib/asn_x2ap.hpp
shadansari/onos-cu-cp
16cbf4828bd11e4c7319e7a009a26b6f39fde628
[ "Apache-2.0" ]
1
2020-08-28T23:32:17.000Z
2020-08-28T23:32:17.000Z
src/e2/src/ASN1/lib/asn_x2ap.hpp
shadansari/onos-cu-cp
16cbf4828bd11e4c7319e7a009a26b6f39fde628
[ "Apache-2.0" ]
5
2020-08-27T23:04:34.000Z
2021-11-17T01:49:52.000Z
/***************************************************************************** # * # Copyright 2019 AT&T Intellectual Property * # Copyright 2019 Nokia * # ...
41.630137
83
0.421849
shadansari
d0c0a73862578660ce0414f2437415954263af52
1,458
hpp
C++
cpp/shared/tflite_micro_model/tflite_micro_model/tflite_micro_utils.hpp
SiliconLabs/mltk
56b19518187e9d1c8a0d275de137fc9058984a1f
[ "Zlib" ]
null
null
null
cpp/shared/tflite_micro_model/tflite_micro_model/tflite_micro_utils.hpp
SiliconLabs/mltk
56b19518187e9d1c8a0d275de137fc9058984a1f
[ "Zlib" ]
1
2021-11-19T20:10:09.000Z
2021-11-19T20:10:09.000Z
cpp/shared/tflite_micro_model/tflite_micro_model/tflite_micro_utils.hpp
sldriedler/mltk
d82a60359cf875f542a2257f1bc7d8eb4bdaa204
[ "Zlib" ]
null
null
null
#pragma once #include <cstdint> #include <cmath> namespace mltk { /** * @brief Scale the source buffer by the given scaler * * dst_float32 = src * scaler */ template<typename SrcType> void scale_tensor(float scaler, const SrcType* src, float* dst, uint32_t length) { for(; length > 0; --length) { ...
20.25
81
0.587791
SiliconLabs
d0c4474cbb478c62a17f5eb45c64593af819be2e
882
cpp
C++
CH17/COMPARE1/compare.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
CH17/COMPARE1/compare.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
CH17/COMPARE1/compare.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
#include <iostream> bool comparesGreater(int a, int b) { if (a > b) return true; return false; } bool comparesGreater(double a, double b) { if (a > b) return true; return false; } int main(int argc, char *argv[]) { using namespace std; cout << "1 (int) compares greater than 2 (int)? " << comparesG...
27.5625
142
0.61678
acastellanos95
d0c52e5448eb548e5699e99843f2f3b93659fb98
5,376
cpp
C++
tests/bin/test_two_sqz.cpp
YJieZhang/Tengine
f5cf2b4cecde412d9c9ae72c3278d9c65110e206
[ "Apache-2.0" ]
null
null
null
tests/bin/test_two_sqz.cpp
YJieZhang/Tengine
f5cf2b4cecde412d9c9ae72c3278d9c65110e206
[ "Apache-2.0" ]
null
null
null
tests/bin/test_two_sqz.cpp
YJieZhang/Tengine
f5cf2b4cecde412d9c9ae72c3278d9c65110e206
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
22.4
81
0.65718
YJieZhang
d0c816c7b64d46de21dbb5dc8c67cc9c9d0c6211
34,263
cc
C++
open/DellEMC/code/ssd-mobilenet/xilinx/include/object_detection/protos/graph_rewriter.pb.cc
fenz-org/mlperf_inference_results_v0.7
2e38bec7f8df806283802a69db3d0038a37d026e
[ "Apache-2.0" ]
19
2020-10-26T17:37:22.000Z
2022-01-20T09:32:38.000Z
open/DellEMC/code/ssd-mobilenet/xilinx/include/object_detection/protos/graph_rewriter.pb.cc
fenz-org/mlperf_inference_results_v0.7
2e38bec7f8df806283802a69db3d0038a37d026e
[ "Apache-2.0" ]
11
2020-10-21T19:18:48.000Z
2021-03-11T18:50:36.000Z
open/DellEMC/code/ssd-mobilenet/xilinx/include/object_detection/protos/graph_rewriter.pb.cc
fenz-org/mlperf_inference_results_v0.7
2e38bec7f8df806283802a69db3d0038a37d026e
[ "Apache-2.0" ]
19
2020-10-21T19:15:17.000Z
2022-01-04T08:32:08.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: object_detection/protos/graph_rewriter.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "object_detection/protos/graph_rewriter.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stub...
35.915094
169
0.734378
fenz-org
d0cbd4e80f26e7e85fcf16d32e8d80f7a872bb82
245
cpp
C++
source/automated-tests/boost-test/main.test.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
3
2020-05-24T16:29:42.000Z
2021-09-10T13:33:15.000Z
source/automated-tests/boost-test/main.test.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
source/automated-tests/boost-test/main.test.cpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
#define BOOST_TEST_MODULE cppx-core unit tests #include <_/test-framework.hpp> #ifdef _WIN32 # include <c/stdlib.hpp> // system const bool dummy = []() { return EXIT_SUCCESS == system( "chcp 65001 >nul" ); }(); #endif
22.272727
59
0.62449
alf-p-steinbach
d0cc1e55b47760d4df738d02ab8603975614ff1f
219
cpp
C++
test/scratch/test.scratch.temp_file/implicit_link.cpp
stlsoft/xTests
fa0a0315283f85f2b8c07a5ce9e5dce19127541a
[ "BSD-3-Clause" ]
1
2016-04-02T16:56:29.000Z
2016-04-02T16:56:29.000Z
test/scratch/test.scratch.temp_file/implicit_link.cpp
stlsoft/xTests
fa0a0315283f85f2b8c07a5ce9e5dce19127541a
[ "BSD-3-Clause" ]
1
2019-10-09T18:16:48.000Z
2019-10-09T18:16:48.000Z
test/scratch/test.scratch.temp_file/implicit_link.cpp
stlsoft/xTests
fa0a0315283f85f2b8c07a5ce9e5dce19127541a
[ "BSD-3-Clause" ]
2
2016-02-08T20:20:09.000Z
2021-03-31T10:37:23.000Z
#include <platformstl/platformstl.h> #if defined(PLATFORMSTL_OS_IS_UNIX) && \ defined(_WIN32) # include <unixem/implicit_link.h> #endif /* ///////////////////////////// end of file //////////////////////////// */
24.333333
76
0.525114
stlsoft
d0cc96f2d42506c592cd5a70db196590b758bcc8
2,559
cpp
C++
tcpserver.cpp
GSIO01/gsnet
3f073c82c41f3a5832d34ab5edfdbb935e844c05
[ "MIT" ]
null
null
null
tcpserver.cpp
GSIO01/gsnet
3f073c82c41f3a5832d34ab5edfdbb935e844c05
[ "MIT" ]
null
null
null
tcpserver.cpp
GSIO01/gsnet
3f073c82c41f3a5832d34ab5edfdbb935e844c05
[ "MIT" ]
null
null
null
/* * * The MIT License (MIT) * * Copyright (c) 2015 Walter Julius Hennecke * * 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 righ...
28.433333
99
0.684642
GSIO01
d0cd0bd45b34b913f96ff501a606f32db873c560
1,329
hpp
C++
sprout/weed/expr/make_terminal.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
1
2018-09-21T23:50:44.000Z
2018-09-21T23:50:44.000Z
sprout/weed/expr/make_terminal.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
sprout/weed/expr/make_terminal.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_WEED_EXPR_MAKE_TERMINAL_HPP #define SPROUT_WEED_EXPR_MAKE_TERMINAL_HPP #include <type_traits> #include <sprout/config.hpp> #include <sprout/string.hpp> #include <sprout/utility/forward.hpp> #include <sprout/weed/traits/type/is_c_str.hpp> #include <sprout/weed/traits/expr/terminal_of.hpp> #inclu...
30.906977
65
0.702032
jwakely
d0d0058950a4176a24de8d223669ec2d476de9d2
1,091
hpp
C++
include/Nyengine/geometry/Point.hpp
NyantasticUwU/nyengine
b6a47d2bfb101366eeda1b318e66f09d37317688
[ "MIT" ]
2
2021-12-26T05:10:41.000Z
2022-01-30T19:51:23.000Z
include/Nyengine/geometry/Point.hpp
NyantasticUwU/Nyengine
b6a47d2bfb101366eeda1b318e66f09d37317688
[ "MIT" ]
null
null
null
include/Nyengine/geometry/Point.hpp
NyantasticUwU/Nyengine
b6a47d2bfb101366eeda1b318e66f09d37317688
[ "MIT" ]
null
null
null
#ifndef NYENGINE_GEOMETRY_POINT_HPP_INCLUDED #define NYENGINE_GEOMETRY_POINT_HPP_INCLUDED #include "../type/types.hpp" /// Contains Nyengine geometry helpers. namespace nyengine::geometry { /// Represents a 2D point. template <typename T> struct Point2D { T x; T y; }; /// Point...
26.609756
54
0.678277
NyantasticUwU
d0d0670d1518e15449a7afd9df986fd1e2aa883c
17,088
cc
C++
modules/rtp_rtcp/source/rtp_depacketizer_av1_unittest.cc
gaoxiaoyang/webrtc
21021f022be36f5d04f8a3a309e345f65c8603a9
[ "BSD-3-Clause" ]
1
2020-07-31T06:11:36.000Z
2020-07-31T06:11:36.000Z
modules/rtp_rtcp/source/rtp_depacketizer_av1_unittest.cc
gaoxiaoyang/webrtc
21021f022be36f5d04f8a3a309e345f65c8603a9
[ "BSD-3-Clause" ]
null
null
null
modules/rtp_rtcp/source/rtp_depacketizer_av1_unittest.cc
gaoxiaoyang/webrtc
21021f022be36f5d04f8a3a309e345f65c8603a9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
45.087071
80
0.59691
gaoxiaoyang
d0d458081e465741613614c4084425fa51ef7a5b
491
hpp
C++
src/Engine/Scene/GeometrySystem.hpp
Yasoo31/Radium-Engine
e22754d0abe192207fd946509cbd63c4f9e52dd4
[ "Apache-2.0" ]
78
2017-12-01T12:23:22.000Z
2022-03-31T05:08:09.000Z
src/Engine/Scene/GeometrySystem.hpp
neurodiverseEsoteric/Radium-Engine
ebebc29d889a9d32e0637e425e589e403d8edef8
[ "Apache-2.0" ]
527
2017-09-25T13:05:32.000Z
2022-03-31T18:47:44.000Z
src/Engine/Scene/GeometrySystem.hpp
neurodiverseEsoteric/Radium-Engine
ebebc29d889a9d32e0637e425e589e403d8edef8
[ "Apache-2.0" ]
48
2018-01-04T22:08:08.000Z
2022-03-03T08:13:41.000Z
#pragma once #include <Engine/Scene/System.hpp> namespace Ra { namespace Engine { namespace Scene { class RA_ENGINE_API GeometrySystem : public System { public: GeometrySystem(); ~GeometrySystem() override = default; void handleAssetLoading( Entity* entity, const Ra::Core::Asset::FileData* fileData ) ...
21.347826
98
0.725051
Yasoo31
d0d750ac8d8d08fd75030c52baa1dadb284b7aef
31,939
cc
C++
io/reader_test.cc
chronos-tachyon/mojo
8d268932dd927a24a2b5de167d63869484e1433a
[ "MIT" ]
3
2017-04-24T07:00:59.000Z
2020-04-13T04:53:06.000Z
io/reader_test.cc
chronos-tachyon/mojo
8d268932dd927a24a2b5de167d63869484e1433a
[ "MIT" ]
1
2017-01-10T04:23:55.000Z
2017-01-10T04:23:55.000Z
io/reader_test.cc
chronos-tachyon/mojo
8d268932dd927a24a2b5de167d63869484e1433a
[ "MIT" ]
1
2020-04-13T04:53:07.000Z
2020-04-13T04:53:07.000Z
// Copyright © 2016 by Donald King <chronos@chronos-tachyon.net> // Available under the MIT License. See LICENSE for details. #include "gtest/gtest.h" #include <fcntl.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include <condition_variable> #include <mutex> #include <thread> #include "base...
23.96024
99
0.616832
chronos-tachyon
d0d849b10ed26b212ddc9b843f578b538bed3146
5,099
cpp
C++
launcher/src/launcher/ExecutableLoader.cpp
norelock/Project-MP-1
31dbb5c74b29a47df4cf41280887a66794fdc5ff
[ "MIT" ]
1
2022-02-19T15:52:29.000Z
2022-02-19T15:52:29.000Z
launcher/src/launcher/ExecutableLoader.cpp
cleoppa/norasa
6f8d697922dca2fcc42a5830a384e790c687833a
[ "MIT" ]
2
2020-11-08T08:12:41.000Z
2022-01-08T07:20:45.000Z
launcher/src/launcher/ExecutableLoader.cpp
cleoppa/norasa
6f8d697922dca2fcc42a5830a384e790c687833a
[ "MIT" ]
3
2020-03-23T06:56:35.000Z
2021-06-06T02:30:06.000Z
#include "stdafx.h" /* #pragma bss_seg(".cdummy") char dummy_seg[0x2500000]; #pragma data_seg(".zdata") char zdata[0x50000] = { 1 }; */ ExecutableLoader::ExecutableLoader(const BYTE* origBinary) { m_origBinary = origBinary; m_loadLimit = UINT_MAX; SetLibraryLoader([](const char* name) { return LoadLibraryA(name...
28.171271
147
0.741322
norelock
d0d92265f0023344ded77fb2b55cfca4787bf23e
1,427
cpp
C++
compiler-rt/test/asan/TestCases/invalid-pointer-pairs-compare-success.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
compiler-rt/test/asan/TestCases/invalid-pointer-pairs-compare-success.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
compiler-rt/test/asan/TestCases/invalid-pointer-pairs-compare-success.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// RUN: %clangxx_asan -O0 %s -o %t -mllvm -asan-detect-invalid-pointer-pair // RUN: %env_asan_opts=detect_invalid_pointer_pairs=2 %run %t #include <assert.h> #include <stdlib.h> int foo(char *p) { char *p2 = p + 20; return p > p2; } int bar(char *p, char *q) { return p <= q; } int baz(char *p, char *q) { r...
19.026667
75
0.533287
medismailben
d0d9f3b56c01c8c2e111ce19b00c4d2f25bea615
9,503
cxx
C++
modules/ITK/cli/statismo-build-shape-model.cxx
skn123/statismo
5998a32e1b1fd496f2703eea27dc143a6b3f8e1f
[ "BSD-3-Clause" ]
223
2015-02-02T18:50:07.000Z
2022-01-24T08:14:17.000Z
modules/ITK/cli/statismo-build-shape-model.cxx
skn123/statismo
5998a32e1b1fd496f2703eea27dc143a6b3f8e1f
[ "BSD-3-Clause" ]
84
2015-01-07T09:54:37.000Z
2020-03-05T17:17:05.000Z
modules/ITK/cli/statismo-build-shape-model.cxx
skn123/statismo
5998a32e1b1fd496f2703eea27dc143a6b3f8e1f
[ "BSD-3-Clause" ]
94
2015-01-14T20:02:17.000Z
2021-12-15T08:45:18.000Z
/* * Copyright (c) 2015 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 * are met: * * Redistributions of source code must retain the above copyright notice, * this list of con...
40.097046
297
0.716826
skn123
d0dd4f6265b888ac8b8da9558df840ec2de1453f
2,709
cpp
C++
Source/Arnoldi/Select_Shifts.cpp
evstigneevnm/NS3DPeriodic
094c168f153e36f00ac9103675416ddb9ee6b586
[ "BSD-3-Clause" ]
null
null
null
Source/Arnoldi/Select_Shifts.cpp
evstigneevnm/NS3DPeriodic
094c168f153e36f00ac9103675416ddb9ee6b586
[ "BSD-3-Clause" ]
null
null
null
Source/Arnoldi/Select_Shifts.cpp
evstigneevnm/NS3DPeriodic
094c168f153e36f00ac9103675416ddb9ee6b586
[ "BSD-3-Clause" ]
null
null
null
#include "Select_Shifts.h" #include "Products.h" #include "LAPACK_routines.h" void check_nans_H(int N, real *H){ for(int i=0;i<N;i++) if(H[i]!=H[i]){ printf("\nNANs in H-matrix detected!!!\n"); } } int struct_cmp_by_value(const void *a, const void *b) { struct sort_struct *ia = (struct sort_struct *...
20.216418
127
0.670727
evstigneevnm
d0e3f1cfbabbe3e3f5baa0e292ede09e18cea908
838
cpp
C++
Problems/0096. Unique Binary Search Trees.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
Problems/0096. Unique Binary Search Trees.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
Problems/0096. Unique Binary Search Trees.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
class Solution { vector<int> dp; public: int uniqueBST(int n) { // BASE CASE if (n == 0 or n == 1) return 1; // MEMOIZATION if (dp[n] != -1) return dp[n]; //RECURSIVE int res{0}; for (int i = 1; i <= n; i++) { // selecting each node one by one res += uniqueBST(i - 1) * uniqueBST(n - i); // wi...
22.648649
96
0.52148
KrKush23
d0e448ee9b1522ce62fe22ecd63f81b7c5e0bb82
14,803
cpp
C++
aspects/fluid/potential/GunnsFluidImpeller.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
aspects/fluid/potential/GunnsFluidImpeller.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
aspects/fluid/potential/GunnsFluidImpeller.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
/************************** TRICK HEADER ********************************************************** @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. PURPOSE: (Classes for the GUNNS Fluid Impe...
47.445513
146
0.49159
nasa
d0e4c044d23ff96422fd660b3405d7d58ee08fa7
4,733
cc
C++
src/limits/MemoryLimitListener.cc
NieDzejkob/sio2jail
8589541cfe11c68ce5ef13eb30a488b09ad3a139
[ "MIT" ]
14
2018-06-19T19:54:22.000Z
2021-09-16T18:03:40.000Z
src/limits/MemoryLimitListener.cc
NieDzejkob/sio2jail
8589541cfe11c68ce5ef13eb30a488b09ad3a139
[ "MIT" ]
16
2018-09-16T17:08:43.000Z
2022-01-19T15:43:41.000Z
src/limits/MemoryLimitListener.cc
NieDzejkob/sio2jail
8589541cfe11c68ce5ef13eb30a488b09ad3a139
[ "MIT" ]
6
2018-09-15T20:56:06.000Z
2022-03-05T09:27:22.000Z
#include "MemoryLimitListener.h" #include "common/ProcFS.h" #include "common/WithErrnoCheck.h" #include "logger/Logger.h" #include "seccomp/SeccompRule.h" #include "seccomp/action/ActionAllow.h" #include "seccomp/action/ActionTrace.h" #include "seccomp/filter/LibSeccompFilter.h" #include <sys/resource.h> #include <sy...
33.807143
80
0.597929
NieDzejkob
d0e8c437cc7f6fc0049650f97977094f121ea048
1,040
cpp
C++
CS Academy/Overlapping Matrices/28.57 points.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
CS Academy/Overlapping Matrices/28.57 points.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
CS Academy/Overlapping Matrices/28.57 points.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: * solution_verdict: 28.57 points language: C++ * run...
26.666667
111
0.35
kzvd4729
d0eb0778f46b42091d041d80c65db5dbed3348ba
545
cpp
C++
src/enclave/ServiceProvider/KeyGen.cpp
brucechin/opaque
29e1755078412c46706608b17b4932ebd92d34b2
[ "Apache-2.0" ]
null
null
null
src/enclave/ServiceProvider/KeyGen.cpp
brucechin/opaque
29e1755078412c46706608b17b4932ebd92d34b2
[ "Apache-2.0" ]
null
null
null
src/enclave/ServiceProvider/KeyGen.cpp
brucechin/opaque
29e1755078412c46706608b17b4932ebd92d34b2
[ "Apache-2.0" ]
1
2021-09-23T03:06:08.000Z
2021-09-23T03:06:08.000Z
#include "ServiceProvider.h" int main(int argc, char **argv) { if (argc < 2) { printf("Usage: ./keygen <public_key_cpp_file>\n"); return 1; } const char *private_key_path = "/home/lqp0562/opaque/private_key.pem"; if (!private_key_path) { printf("Set $PRIVATE_KEY_PATH to the file generated by opens...
27.25
94
0.695413
brucechin
d0ecd90e65a39df4df042ee391c3afe1a91f6e45
3,546
hpp
C++
Rx/v2/src/rxcpp/rx-test.hpp
guhwanbae/RxCpp
7f97aa901701343593869acad1ee5a02292f39cf
[ "Apache-2.0" ]
1
2022-02-20T18:08:22.000Z
2022-02-20T18:08:22.000Z
Rx/v2/src/rxcpp/rx-test.hpp
ivan-cukic/wip-fork-rxcpp
483963939e4a2adf674450dcb829005d84be1d59
[ "Apache-2.0" ]
null
null
null
Rx/v2/src/rxcpp/rx-test.hpp
ivan-cukic/wip-fork-rxcpp
483963939e4a2adf674450dcb829005d84be1d59
[ "Apache-2.0" ]
null
null
null
#pragma once #if !defined(RXCPP_RX_TEST_HPP) #define RXCPP_RX_TEST_HPP #include "rx-includes.hpp" namespace rxcpp { namespace test { namespace detail { template<class T> struct test_subject_base : public std::enable_shared_from_this<test_subject_base<T>> { using recorded_type = rxn::recorded<typename rxn:...
25.695652
138
0.688099
guhwanbae
d0ede1d40781c2931400b92d1159f53961e4f744
36,164
cc
C++
tests/core/test_core_focus_manager.cc
nugulinux/nugu-linux
c166d61b2037247d4574b7f791c31ba79ceb575e
[ "Apache-2.0" ]
null
null
null
tests/core/test_core_focus_manager.cc
nugulinux/nugu-linux
c166d61b2037247d4574b7f791c31ba79ceb575e
[ "Apache-2.0" ]
null
null
null
tests/core/test_core_focus_manager.cc
nugulinux/nugu-linux
c166d61b2037247d4574b7f791c31ba79ceb575e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir...
50.019364
209
0.808428
nugulinux
d0f48c9d8316176fa6633b420486642150f6f79e
1,009
hpp
C++
plugins/d3d9/include/sge/d3d9/state/core/depth_stencil/stencil/enabled_visitor.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/d3d9/include/sge/d3d9/state/core/depth_stencil/stencil/enabled_visitor.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/d3d9/include/sge/d3d9/state/core/depth_stencil/stencil/enabled_visitor.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_D3D9_STATE_CORE_DEPTH_STENCIL_STENCIL_ENABLED_VISITOR_HPP_INCLUDED #define SGE_D3D9_STA...
21.934783
89
0.77106
cpreh
d0f957374b6a73dd463c98489d59005bb92124e0
890
cpp
C++
COS1511/Part3/Lesson21/aii.cpp
GalliWare/UNISA-studies
32bab94930b176c4dfe943439781ef102896fab5
[ "Unlicense" ]
null
null
null
COS1511/Part3/Lesson21/aii.cpp
GalliWare/UNISA-studies
32bab94930b176c4dfe943439781ef102896fab5
[ "Unlicense" ]
null
null
null
COS1511/Part3/Lesson21/aii.cpp
GalliWare/UNISA-studies
32bab94930b176c4dfe943439781ef102896fab5
[ "Unlicense" ]
null
null
null
// compute the average of 3 marks for 2 students and display the better average // my code with the addition of the reference so input can be turned into a function. #include <iostream> using namespace std; float averageMark(float mark1, float mark2, float mark3) { float average = 0, divider = 3; average = (mark1 ...
23.421053
85
0.682022
GalliWare
d0fafcfdb8f8a6871c6e2180216b295eb5740119
630
cc
C++
sdk/src/http/HttpClient.cc
OpenInspur/inspur-oss-cpp-sdk
a0932232aaf46aab7c5a2079f72d80cc5d634ba2
[ "Apache-2.0" ]
null
null
null
sdk/src/http/HttpClient.cc
OpenInspur/inspur-oss-cpp-sdk
a0932232aaf46aab7c5a2079f72d80cc5d634ba2
[ "Apache-2.0" ]
null
null
null
sdk/src/http/HttpClient.cc
OpenInspur/inspur-oss-cpp-sdk
a0932232aaf46aab7c5a2079f72d80cc5d634ba2
[ "Apache-2.0" ]
null
null
null
#include "HttpClient.h" using namespace InspurCloud::OSS; HttpClient::HttpClient(): disable_(false) { } HttpClient::~HttpClient() { } bool HttpClient::isEnable() { return disable_.load() == false; } void HttpClient::disable() { disable_ = true; requestSignal_.notify_all(); } void HttpClient::enab...
16.153846
128
0.669841
OpenInspur
d0fbfe48bb505e758e1f3c5f0a1b864a86a1a6f2
330
cpp
C++
src/Common/DrvCppLib/cppstub_i386.cpp
apriorit/windows-process-monitor
97197b898555daebe7a2a4a68e373dc5bea6da6b
[ "MIT" ]
100
2017-04-14T01:02:10.000Z
2022-02-10T07:42:33.000Z
src/Common/DrvCppLib/cppstub_i386.cpp
apriorit/windows-process-monitor
97197b898555daebe7a2a4a68e373dc5bea6da6b
[ "MIT" ]
1
2021-05-30T20:19:07.000Z
2021-05-30T20:19:07.000Z
src/Common/DrvCppLib/cppstub_i386.cpp
apriorit/windows-process-monitor
97197b898555daebe7a2a4a68e373dc5bea6da6b
[ "MIT" ]
44
2017-05-04T12:55:36.000Z
2021-12-09T08:21:44.000Z
#ifndef _M_AMD64 void __stdcall _JumpToContinuation(void *,struct EHRegistrationNode *); struct EHRegistrationNode; extern "C" void CPPLIB_ThreadRelease(); _declspec(naked) void __stdcall _JumpToCONTINUATION(void *,struct EHRegistrationNode *) { __asm call CPPLIB_ThreadRelease __asm jmp _JumpToContinuation; ...
20.625
71
0.8
apriorit
d0fe07728ee8b80ba65061e3b9026b2b10473da7
1,294
hpp
C++
PSME/agent/network/include/api/lldp/exceptions/err_code.hpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
5
2021-10-07T15:36:37.000Z
2022-03-01T07:21:49.000Z
PSME/agent/network/include/api/lldp/exceptions/err_code.hpp
opencomputeproject/DM-Redfish-PSME
912f7b6abf5b5c2aae33c75497de4753281c6a51
[ "Apache-2.0" ]
null
null
null
PSME/agent/network/include/api/lldp/exceptions/err_code.hpp
opencomputeproject/DM-Redfish-PSME
912f7b6abf5b5c2aae33c75497de4753281c6a51
[ "Apache-2.0" ]
1
2021-03-24T19:37:58.000Z
2021-03-24T19:37:58.000Z
/*! * @copyright * Copyright (c) 2015-2017 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
19.907692
75
0.690108
opencomputeproject
d0fefaa5331178f857d00a53133e62e18b343b44
3,202
cpp
C++
bootloader/drivers/pci.cpp
mstniy/cerius
ac8a0e3e68243f3e38b2a259e7a7b6f87e6787e3
[ "MIT" ]
2
2018-01-28T19:04:56.000Z
2018-12-12T20:59:40.000Z
bootloader/drivers/pci.cpp
mstniy/cerius
ac8a0e3e68243f3e38b2a259e7a7b6f87e6787e3
[ "MIT" ]
null
null
null
bootloader/drivers/pci.cpp
mstniy/cerius
ac8a0e3e68243f3e38b2a259e7a7b6f87e6787e3
[ "MIT" ]
null
null
null
#include "pci.h" DWORD PciDevice::ConfigReadDword(BYTE reg) { if (reg > 15) { pstring("Invalid register given to PciDevice::ConfigReadDword!"); return 0; } DWORD lbus = (DWORD)bus; DWORD lslot = (DWORD)slot; DWORD lfunc = (DWORD)function; DWORD address = (DWORD)((lbus << 16) | (lslot << 11) |...
22.236111
106
0.624297
mstniy
cb9a373ec41f42ee378088a2ae8ce3a076652bbd
2,492
cpp
C++
NESting/APUNoise.cpp
Bindernews/NESting
dc1bf9c38dc814d554d85066cb75c5d68a5de74b
[ "MIT" ]
7
2020-07-30T18:07:07.000Z
2021-02-18T19:23:34.000Z
NESting/APUNoise.cpp
Bindernews/NESting
dc1bf9c38dc814d554d85066cb75c5d68a5de74b
[ "MIT" ]
null
null
null
NESting/APUNoise.cpp
Bindernews/NESting
dc1bf9c38dc814d554d85066cb75c5d68a5de74b
[ "MIT" ]
null
null
null
#include "APUNoise.h" #include "IPlugLogger.h" #include "math_utils.h" using iplug::sample; #define TIMER_PERIOD_SIZE (16) //static const int TIMER_PERIOD_TABLE[] = { 4, 8, 16, 32, 64, 96, 128, 160, 202, 254, 380, 508, 762, 1016, 2034, 4068 }; static const int TIMER_PERIOD_TABLE[] = { 4068, 2034, 1016, 762, 508, 380...
24.673267
120
0.591091
Bindernews
cb9c0d8189012fbe41d8ea09293342927a1b3d2e
1,707
cpp
C++
Barometer/src/main.cpp
michprev/drone
51c659cdd4e1d50446a563bb11e800defda9a298
[ "MIT" ]
2
2017-06-03T01:07:16.000Z
2017-07-14T17:49:16.000Z
Barometer/src/main.cpp
michprev/drone
51c659cdd4e1d50446a563bb11e800defda9a298
[ "MIT" ]
5
2017-04-24T20:29:04.000Z
2017-06-26T17:40:53.000Z
Barometer/src/main.cpp
michprev/drone
51c659cdd4e1d50446a563bb11e800defda9a298
[ "MIT" ]
null
null
null
/** ****************************************************************************** * @file main.c * @author Ac6 * @version V1.0 * @date 01-December-2013 * @brief Default main function. ****************************************************************************** */ #include "stm32f4...
23.383562
81
0.620972
michprev
cb9e0823aad36f6d2f7eef03549bbaa15a5f3002
514
hpp
C++
src/LovelaceConfig/FanCardConfig.hpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
2
2020-10-23T19:53:56.000Z
2020-11-06T08:59:48.000Z
src/LovelaceConfig/FanCardConfig.hpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
src/LovelaceConfig/FanCardConfig.hpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
#ifndef __FANCARDCONFIG_H__ #define __FANCARDCONFIG_H__ #include "BaseEntityCardConfig.hpp" #include <string.h> class FanCardConfig : public BaseEntityCardConfig { public: FanCardConfig(const char * entity, const char * title, const char * icon, const char * rowIcon, bool state_color); FanCardConfig(const c...
32.125
118
0.745136
RobinSinghNanda
cba0569739e874dce90f679b8584d0275a0621ed
1,482
cxx
C++
src/sdp_read/read_input/read_json/JSON_Parser/Key.cxx
ChrisPattison/sdpb
4668f72c935e7feba705dd8247d9aacb23185f1c
[ "MIT" ]
45
2015-02-10T15:45:22.000Z
2022-02-24T07:45:01.000Z
src/sdp_read/read_input/read_json/JSON_Parser/Key.cxx
ChrisPattison/sdpb
4668f72c935e7feba705dd8247d9aacb23185f1c
[ "MIT" ]
58
2015-02-27T10:03:18.000Z
2021-08-10T04:21:42.000Z
src/sdp_read/read_input/read_json/JSON_Parser/Key.cxx
ChrisPattison/sdpb
4668f72c935e7feba705dd8247d9aacb23185f1c
[ "MIT" ]
38
2015-02-10T11:11:27.000Z
2022-02-11T20:59:42.000Z
#include "../JSON_Parser.hxx" bool JSON_Parser::Key(const Ch *str, rapidjson::SizeType length, bool) { std::string key(str, length); if(inside) { if(parsing_objective) { throw std::runtime_error("Invalid input file. Found the key '" + key + "' inside ...
30.244898
79
0.503374
ChrisPattison
cba0791f5eca806f6815df559074a9506c725ba3
1,681
cc
C++
src/codegen/query/header.cc
viyadb/viyadb
56d9b9836a57a36483bee98e6bc79f79e2f5c772
[ "Apache-2.0" ]
109
2017-10-03T06:52:30.000Z
2022-03-22T18:38:48.000Z
src/codegen/query/header.cc
b-xiang/viyadb
b72f9cabacb4b24bd2192ed824d930ccb73d3609
[ "Apache-2.0" ]
26
2017-10-15T19:45:18.000Z
2019-10-18T09:55:54.000Z
src/codegen/query/header.cc
viyadb/viyadb
56d9b9836a57a36483bee98e6bc79f79e2f5c772
[ "Apache-2.0" ]
7
2017-10-03T09:37:36.000Z
2020-12-15T01:04:45.000Z
/* * Copyright (c) 2017-present ViyaDB Group * * 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 ...
32.326923
79
0.64188
viyadb
cba22ffe23f9fd59bebeae414c33b8a77daec1dd
199
hpp
C++
src/modules/osg/generated_code/Sequence.pypp.hpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osg/generated_code/Sequence.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osg/generated_code/Sequence.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
// This file has been generated by Py++. #ifndef Sequence_hpp__pyplusplus_wrapper #define Sequence_hpp__pyplusplus_wrapper void register_Sequence_class(); #endif//Sequence_hpp__pyplusplus_wrapper
22.111111
40
0.844221
JaneliaSciComp
cba39c9fe3964e17c3fbaba4964ab89d280b3acb
3,915
cpp
C++
EulerRender/src/graphics/Skybox.cpp
jjovanovski/eulerrender
9ef87b4c0c3667414edc8104c84d3ac08aa2303d
[ "MIT" ]
null
null
null
EulerRender/src/graphics/Skybox.cpp
jjovanovski/eulerrender
9ef87b4c0c3667414edc8104c84d3ac08aa2303d
[ "MIT" ]
null
null
null
EulerRender/src/graphics/Skybox.cpp
jjovanovski/eulerrender
9ef87b4c0c3667414edc8104c84d3ac08aa2303d
[ "MIT" ]
null
null
null
#include "Skybox.h" #include <stb_image.h> #include <iostream> using namespace Euler; Skybox::Skybox(std::vector<std::string> textures) { // create texture glGenTextures(1, &id); glBindTexture(GL_TEXTURE_CUBE_MAP, id); int width, height, channels; for (int i = 0; i < textures.size(); i++) { unsigned char* da...
24.936306
115
0.592848
jjovanovski
cba42f85d77a37f23b5b06b555e43d2c6793f139
1,068
hpp
C++
include/stl2/detail/concepts/urng.hpp
melton1968/cmcstl2
15052dda39c93c460b8e0e16fff62d8eb4388627
[ "MIT" ]
null
null
null
include/stl2/detail/concepts/urng.hpp
melton1968/cmcstl2
15052dda39c93c460b8e0e16fff62d8eb4388627
[ "MIT" ]
null
null
null
include/stl2/detail/concepts/urng.hpp
melton1968/cmcstl2
15052dda39c93c460b8e0e16fff62d8eb4388627
[ "MIT" ]
null
null
null
// cmcstl2 - A concept-enabled C++ standard library // // Copyright Casey Carter 2015 // Copyright Eric Niebler 2015 // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // /...
29.666667
68
0.725655
melton1968
cba740176da8f44f6f7564be03e6518f8eb042e9
2,042
cpp
C++
libhpx/gas/affinity/CuckooHash.cpp
luglio/hpx5
6cbeebb8e730ee9faa4487dba31a38e3139e1ce7
[ "BSD-3-Clause" ]
1
2019-11-05T21:11:32.000Z
2019-11-05T21:11:32.000Z
libhpx/gas/affinity/CuckooHash.cpp
ldalessa/hpx
c8888c38f5c12c27bfd80026d175ceb3839f0b40
[ "BSD-3-Clause" ]
null
null
null
libhpx/gas/affinity/CuckooHash.cpp
ldalessa/hpx
c8888c38f5c12c27bfd80026d175ceb3839f0b40
[ "BSD-3-Clause" ]
3
2019-06-21T07:05:43.000Z
2020-11-21T15:24:04.000Z
// ============================================================================= // High Performance ParalleX Library (libhpx) // // Copyright (c) 2013-2017, Trustees of Indiana University, // All rights reserved. // // This software may be modified and distributed under the terms of the BSD // license. See the C...
28.361111
80
0.618022
luglio
cba7aac455f42b3c965db0784984de83aab58298
5,002
cpp
C++
mcu/timer/LPTimer.cpp
sourcebox/mcu_stm32l4xx
509433f5fbbd6f3238b1694b681d21241412a400
[ "MIT" ]
null
null
null
mcu/timer/LPTimer.cpp
sourcebox/mcu_stm32l4xx
509433f5fbbd6f3238b1694b681d21241412a400
[ "MIT" ]
null
null
null
mcu/timer/LPTimer.cpp
sourcebox/mcu_stm32l4xx
509433f5fbbd6f3238b1694b681d21241412a400
[ "MIT" ]
null
null
null
/** * @file LPTimer.cpp * * Driver for low power timer peripherals on STM32L4xx * * @author: Oliver Rockstedt <info@sourcebox.de> * @license MIT */ // Corresponding header #include "LPTimer.h" // This component #include "../core/NVIC.h" #include "../rcc/RCC.h" #include "../rcc/RCC_Registers.h" ...
18.594796
82
0.570972
sourcebox
cba7e87ac1438fe9452d7660e49845d7e8ea457c
1,253
cpp
C++
problems/triangle/src/Solution.cpp
bbackspace/leetcode
bc3f235fcd42c37800e6ef7eefab4c826d70f3d3
[ "CC0-1.0" ]
null
null
null
problems/triangle/src/Solution.cpp
bbackspace/leetcode
bc3f235fcd42c37800e6ef7eefab4c826d70f3d3
[ "CC0-1.0" ]
null
null
null
problems/triangle/src/Solution.cpp
bbackspace/leetcode
bc3f235fcd42c37800e6ef7eefab4c826d70f3d3
[ "CC0-1.0" ]
null
null
null
class Solution { public: int minimumTotal(vector<vector<int>>& triangle) { vector<vector<int>> dp(triangle.size(), vector<int>(triangle.size(), 0)); dp[0][0] = triangle[0][0]; for (int i = 1; i < triangle.size(); i++) { dp[i][0] = dp[i - 1][0] + triangle[i][0]; for (i...
29.139535
84
0.365523
bbackspace
cbab0365253e5ebe740a9bce439976463500b347
2,702
cpp
C++
easter/easter.cpp
mika314/simuleios
0b05660c7df0cd6e31eb5e70864cbedaec29b55a
[ "MIT" ]
197
2015-07-26T02:04:17.000Z
2022-01-21T11:53:33.000Z
easter/easter.cpp
shiffman/simuleios
57239350d2cbed10893483bda65fa323e5e3a06d
[ "MIT" ]
18
2015-08-04T22:55:46.000Z
2020-11-06T02:33:48.000Z
easter/easter.cpp
shiffman/simuleios
57239350d2cbed10893483bda65fa323e5e3a06d
[ "MIT" ]
55
2015-08-02T21:43:18.000Z
2021-12-13T18:25:08.000Z
/*-------------easter.cpp-----------------------------------------------------// * * Purpose: To calculate the date of easter, based on Gauss's algotihm (~1816) * *-----------------------------------------------------------------------------*/ #include <iostream> #include "../visualization/cairo/cairo_vis.h" // Funct...
26.752475
80
0.439304
mika314
cbb1da2c040116cf0d8da2745d2ead7a5ff1b427
9,025
cpp
C++
src/client/SkinnedGUI/CGuiSkin.cpp
JiPRA/openlierox
1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc
[ "CECILL-B" ]
192
2015-02-13T14:53:59.000Z
2022-03-29T11:18:58.000Z
src/client/SkinnedGUI/CGuiSkin.cpp
JiPRA/openlierox
1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc
[ "CECILL-B" ]
48
2015-01-06T22:00:53.000Z
2022-01-15T18:22:46.000Z
src/client/SkinnedGUI/CGuiSkin.cpp
JiPRA/openlierox
1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc
[ "CECILL-B" ]
51
2015-01-16T00:55:16.000Z
2022-02-05T03:09:30.000Z
///////////////////////////////////////// // // OpenLieroX // // code under LGPL, based on JasonBs work, // enhanced by Dark Charlie and Albert Zeyer // // ///////////////////////////////////////// #include "SkinnedGUI/CGuiSkin.h" #include "FindFile.h" #include "StringUtils.h" #include "AuxLib.h" #include...
30.697279
127
0.72277
JiPRA
cbb9c7d5b8a43f68400e32fa296212b8bcc0b56b
1,620
cpp
C++
AtCoder/dwango6/B.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
1
2018-11-25T04:15:45.000Z
2018-11-25T04:15:45.000Z
AtCoder/dwango6/B.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
null
null
null
AtCoder/dwango6/B.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
2
2018-08-08T13:01:14.000Z
2018-11-25T12:38:36.000Z
#include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; using Graph = vector<vector<ll>>; #define rep(i, n) for(ll i=0;i<(ll)(n);i++) #define rep2(i, m, n) for(ll i=m;i<(ll)(n);i++) #define rrep(i, n, m) for(ll i=n;i>=(ll)(m);i--) const int dx[4] = {1, 0, -1, 0}; const int dy[4] = ...
19.756098
68
0.491975
takaaki82
cbbb20203048656dfd071519280ec9992fd02140
1,678
cpp
C++
src/distance_functions.cpp
ChristianDueben/conleyreg
73d71fa50b02adcd8dae3b8b407db50403d8017b
[ "MIT" ]
3
2021-11-03T12:35:58.000Z
2022-03-30T11:21:42.000Z
src/distance_functions.cpp
ChristianDueben/conleyreg
73d71fa50b02adcd8dae3b8b407db50403d8017b
[ "MIT" ]
2
2021-04-19T17:32:47.000Z
2021-11-29T21:13:14.000Z
src/distance_functions.cpp
ChristianDueben/conleyreg
73d71fa50b02adcd8dae3b8b407db50403d8017b
[ "MIT" ]
null
null
null
#include <RcppArmadillo.h> // [[Rcpp::depends(RcppArmadillo)]] // [[Rcpp::plugins(cpp11)]] #ifdef _OPENMP #include <omp.h> #else #define omp_get_num_threads() 1 #define omp_get_thread_num() 0 #define omp_get_max_threads() 1 #define omp_get_thread_limit() 1 #define omp_get_num_procs() 1 #endif // [[Rc...
38.136364
143
0.68534
ChristianDueben
cbbb2c1c702f560230f2291b6406139381713261
3,327
cc
C++
lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/elementwise.cc
PaddleLite-EB/Paddle-Lite
40cae8672712552de5eb0894d0b5316ae89d3c17
[ "Apache-2.0" ]
6
2020-07-01T02:52:16.000Z
2021-06-22T12:15:59.000Z
lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/elementwise.cc
PaddleLite-EB/Paddle-Lite
40cae8672712552de5eb0894d0b5316ae89d3c17
[ "Apache-2.0" ]
null
null
null
lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/elementwise.cc
PaddleLite-EB/Paddle-Lite
40cae8672712552de5eb0894d0b5316ae89d3c17
[ "Apache-2.0" ]
1
2021-07-24T15:30:46.000Z
2021-07-24T15:30:46.000Z
// Copyright (c) 2019 PaddlePaddle Authors. 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...
41.5875
75
0.733093
PaddleLite-EB
cbbc838b43269f4e27c7ac866427322f0dd802df
40,733
hpp
C++
SDK/ARKSurvivalEvolved_GiantTurtle_Character_BP_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_GiantTurtle_Character_BP_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_GiantTurtle_Character_BP_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_GiantTurtle_Character_BP_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //------------------------------------------------...
137.611486
270
0.558859
2bite