hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
b4bd7b2898a364459917651140396212213c1234
17,964
hpp
C++
include/universal/verification/bfloat_test_suite.hpp
jtodd440/universal
3d8c946691be0dca091579da34f91ced82e1136a
[ "MIT" ]
null
null
null
include/universal/verification/bfloat_test_suite.hpp
jtodd440/universal
3d8c946691be0dca091579da34f91ced82e1136a
[ "MIT" ]
null
null
null
include/universal/verification/bfloat_test_suite.hpp
jtodd440/universal
3d8c946691be0dca091579da34f91ced82e1136a
[ "MIT" ]
null
null
null
#pragma once // real_test_helpers.hpp : arbitrary real verification functions // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <vector> #include <iostream> #include <typeinfo> #include <r...
48.948229
150
0.488032
jtodd440
b4c0c367220e00b5bd7deb307dddbb7b3c46d97f
3,403
cpp
C++
src/picotorrent/mainmenu.cpp
kk7945287/pictorr
09bf9ccbd89f0b459cb07e3012ced9c35bea005c
[ "MIT" ]
null
null
null
src/picotorrent/mainmenu.cpp
kk7945287/pictorr
09bf9ccbd89f0b459cb07e3012ced9c35bea005c
[ "MIT" ]
null
null
null
src/picotorrent/mainmenu.cpp
kk7945287/pictorr
09bf9ccbd89f0b459cb07e3012ced9c35bea005c
[ "MIT" ]
null
null
null
#include "mainmenu.hpp" #include "addtorrentdlg.hpp" #include "addtorrentproc.hpp" #include "applicationupdater.hpp" #include "buildinfo.hpp" #include "config.hpp" #include "environment.hpp" #include "preferencesdlg.hpp" #include "sessionstate.hpp" #include "taskbaricon.hpp" #include "translator.hpp" #include "http/h...
29.850877
84
0.727887
kk7945287
b4c1cd8abe323938cc2d3cf894217390128fccb6
7,726
cpp
C++
src/pitts_tensortrain_operator_pybind.cpp
melven/pitts
491f503a99a7d1161a27672955ae53ca6b5d3412
[ "BSD-3-Clause" ]
2
2021-12-31T08:28:17.000Z
2022-01-12T14:48:49.000Z
src/pitts_tensortrain_operator_pybind.cpp
melven/pitts
491f503a99a7d1161a27672955ae53ca6b5d3412
[ "BSD-3-Clause" ]
null
null
null
src/pitts_tensortrain_operator_pybind.cpp
melven/pitts
491f503a99a7d1161a27672955ae53ca6b5d3412
[ "BSD-3-Clause" ]
null
null
null
/*! @file pitts_tensortrain_operator_pybind.cpp * @brief python binding for PITTS::TensorTrainOperator * @author Melven Roehrig-Zoellner <Melven.Roehrig-Zoellner@DLR.de> * @date 2021-02-12 * @copyright Deutsches Zentrum fuer Luft- und Raumfahrt e. V. (DLR), German Aerospace Center * **/ // includes #include <pybind11/...
49.845161
201
0.631504
melven
b4c2f78c5fba2ddf48c12f86064df1daf823b796
322
cpp
C++
CookieEngine/src/ECS/ComponentScript.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/src/ECS/ComponentScript.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/src/ECS/ComponentScript.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
#include "ECS/ComponentScript.hpp" using namespace Cookie::ECS; void ComponentScript::ToDefault() { scripts.clear(); } void ComponentScript::Start() { for (int i = 0; i < scripts.size(); ++i) scripts[i].Start(); } void ComponentScript::Update() { for (int i = 0; i < scripts.size(); ++i) scripts[i].Update(); }...
16.947368
41
0.649068
qbleuse
b4c4a9dd0fb9cab56374be204c37ac7a7600943d
14,129
cpp
C++
Extensions/ZilchShaders/ArithmeticInstructions.cpp
jayrulez/ZeroCore
5da0e2537bc520c3b7ad461e676482382dd5a3e8
[ "MIT" ]
1
2022-03-26T21:08:19.000Z
2022-03-26T21:08:19.000Z
Extensions/ZilchShaders/ArithmeticInstructions.cpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
null
null
null
Extensions/ZilchShaders/ArithmeticInstructions.cpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// /// Authors: Joshua Davis /// Copyright 2018, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #include "Precompiled.hpp" namespace Zero { // Resolves a bin...
59.868644
195
0.774011
jayrulez
b4c66782bb52ce3940309a465d2528c56109347a
19,490
hpp
C++
sources/Common/Xml.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Common/Xml.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Common/Xml.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * Created: 2007/10/29 13:38 * Author: Eugene V. Palchukovsky * E-mail: eugene@palchukovsky.com * ------------------------------------------------------------------- * Project: TunnelEx * URL: http://tunnelex.net ********...
26.091031
94
0.659877
palchukovsky
b4c7daef89d1e3a7b5d3138023e1f9173c0681a0
6,554
cc
C++
engines/ep/src/connmap.cc
paolococchi/kv_engine
40256dca6bf77fb4bcc18e8ef7d9b8f991bf4e45
[ "BSD-3-Clause" ]
1
2019-06-13T07:33:09.000Z
2019-06-13T07:33:09.000Z
engines/ep/src/connmap.cc
paolococchi/kv_engine
40256dca6bf77fb4bcc18e8ef7d9b8f991bf4e45
[ "BSD-3-Clause" ]
null
null
null
engines/ep/src/connmap.cc
paolococchi/kv_engine
40256dca6bf77fb4bcc18e8ef7d9b8f991bf4e45
[ "BSD-3-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2010 Couchbase, Inc * * 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 * * h...
31.509615
80
0.632438
paolococchi
b4c82553d1ae5d3f4e0fd9a708b68d10df9a68cc
11,595
cpp
C++
LifeBrush/Source/LifeBrush/Visualization/EventVisualizationTool.cpp
timdecode/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
33
2019-04-23T23:00:09.000Z
2021-11-09T11:44:09.000Z
LifeBrush/Source/LifeBrush/Visualization/EventVisualizationTool.cpp
MyelinsheathXD/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
1
2019-10-09T15:57:56.000Z
2020-03-05T20:01:01.000Z
LifeBrush/Source/LifeBrush/Visualization/EventVisualizationTool.cpp
MyelinsheathXD/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
6
2019-04-25T00:10:55.000Z
2021-04-12T05:16:28.000Z
// Copyright (c) 2018 Timothy Davison. All rights reserved. #include "LifeBrush.h" #include "Simulation/FlexElements.h" #include "Visualization/Timeline.h" #include "EventVisualizationTool.h" void UEventVisualizationTool::gainFocus() { Super::gainFocus(); UTimelineSimulation * timeline = _flexSimulation->simu...
27.091121
151
0.759983
timdecode
b4cbdb72b04e32b49b299cd8c896f7555ce9d822
59,458
cpp
C++
src/Core/BlockChain.cpp
VaultB/vaultb
de41b954ea4d8a4f54a5ab95adf14af85809f55e
[ "MIT" ]
null
null
null
src/Core/BlockChain.cpp
VaultB/vaultb
de41b954ea4d8a4f54a5ab95adf14af85809f55e
[ "MIT" ]
null
null
null
src/Core/BlockChain.cpp
VaultB/vaultb
de41b954ea4d8a4f54a5ab95adf14af85809f55e
[ "MIT" ]
null
null
null
<<<<<<< HEAD // Copyright (c) 2012-2018, The CryptoNote developers, The Bytecoin developers, [ ] developers. // Licensed under the GNU Lesser General Public License. See LICENSE for details. #include "BlockChain.hpp" #include <boost/lexical_cast.hpp> #include <chrono> #include <iostream> #include "CryptoNoteT...
38.114103
119
0.690874
VaultB
b4ce0fb6e22ba67e30700744a0a1cc7076f8171f
323
cpp
C++
08_abstract_class/main.cpp
acc-cosc-1337-spring-2019/final-exam-spring-2019-carolinekim510
78f4b05d76feaa9d2dba9af2c457ea5c15654057
[ "MIT" ]
null
null
null
08_abstract_class/main.cpp
acc-cosc-1337-spring-2019/final-exam-spring-2019-carolinekim510
78f4b05d76feaa9d2dba9af2c457ea5c15654057
[ "MIT" ]
null
null
null
08_abstract_class/main.cpp
acc-cosc-1337-spring-2019/final-exam-spring-2019-carolinekim510
78f4b05d76feaa9d2dba9af2c457ea5c15654057
[ "MIT" ]
null
null
null
#include "08_abstract_class/checking_account.h" #include "08_abstract_class/savings_account.h" #include<vector> #include<iostream> int main() { std::vector<Account*> accounts = { new CheckingAccount(50), new SavingsAccount(100) }; for (auto& a : accounts) { std::cout << a->get_balance() << "\n"; } return 0...
19
60
0.690402
acc-cosc-1337-spring-2019
b4d5877b5a40c89db6a1b395035e4b1408f99e63
2,605
hpp
C++
src/holosuite-lib/holoutils/HoloUtils.hpp
itsermo/holosuite
16659efec910a4050ddd6548b1310e3ed09636e0
[ "BSD-3-Clause" ]
null
null
null
src/holosuite-lib/holoutils/HoloUtils.hpp
itsermo/holosuite
16659efec910a4050ddd6548b1310e3ed09636e0
[ "BSD-3-Clause" ]
null
null
null
src/holosuite-lib/holoutils/HoloUtils.hpp
itsermo/holosuite
16659efec910a4050ddd6548b1310e3ed09636e0
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "../holocommon/CommonDefs.hpp" namespace holo { namespace utils { //converts rgba + z pictures into a point cloud and reprojects to real-world coordinates quickly void ReprojectToRealWorld(HoloCloudPtr& cloudOut, HoloRGBAZMat& rgbaz, holo::capture::WorldConvertCache& worldConvertCache); ...
31.768293
126
0.714012
itsermo
b4d6910812849c32f57cf07f6bbf3711ca2f0fcf
13,957
cc
C++
src/atlas/redistribution/detail/StructuredColumnsToStructuredColumns.cc
wdeconinck/atlas
8949d2b362b9b5431023a967bcf4ca84f6b8ce05
[ "Apache-2.0" ]
null
null
null
src/atlas/redistribution/detail/StructuredColumnsToStructuredColumns.cc
wdeconinck/atlas
8949d2b362b9b5431023a967bcf4ca84f6b8ce05
[ "Apache-2.0" ]
null
null
null
src/atlas/redistribution/detail/StructuredColumnsToStructuredColumns.cc
wdeconinck/atlas
8949d2b362b9b5431023a967bcf4ca84f6b8ce05
[ "Apache-2.0" ]
null
null
null
/* * (C) Crown Copyright 2021 Met Office * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ #include <algorithm> #include <numeric> #include "atlas/array/MakeView.h" #include "atlas/field.h" #include "atlas/fie...
38.769444
120
0.643978
wdeconinck
b4d6ee1e5b1961d1aa0c6c0fdf106d3db28ee615
15,867
hpp
C++
vertex/test/TestOffLatticeSimulationWithMinimumMaximumCellCount.hpp
ThomasPak/cell-competition
bb058d67e297d95c4c8ff2a0aea5b1fe5a82be09
[ "BSD-3-Clause" ]
null
null
null
vertex/test/TestOffLatticeSimulationWithMinimumMaximumCellCount.hpp
ThomasPak/cell-competition
bb058d67e297d95c4c8ff2a0aea5b1fe5a82be09
[ "BSD-3-Clause" ]
null
null
null
vertex/test/TestOffLatticeSimulationWithMinimumMaximumCellCount.hpp
ThomasPak/cell-competition
bb058d67e297d95c4c8ff2a0aea5b1fe5a82be09
[ "BSD-3-Clause" ]
null
null
null
#ifndef TESTOFFLATTICESIMULATIONWITHCELLCOUNTLIMIT_HPP #define TESTOFFLATTICESIMULATIONWITHCELLCOUNTLIMIT_HPP #include <cxxtest/TestSuite.h> #include <cstdio> #include <cmath> #include <unordered_map> #include "CheckpointArchiveTypes.hpp" #include "OffLatticeSimulation.hpp" #include "HoneycombVertexMeshGenerator.hp...
36.559908
102
0.659671
ThomasPak
b4d7a12efbbaada1e8d1842b602c2236557a9e63
4,304
cpp
C++
sources/middle_layer/dispatcher/hw_dispatcher.cpp
jinjunzh/DML
0c5103dce053fc75f007bc4761359b03cff0c1dc
[ "MIT" ]
null
null
null
sources/middle_layer/dispatcher/hw_dispatcher.cpp
jinjunzh/DML
0c5103dce053fc75f007bc4761359b03cff0c1dc
[ "MIT" ]
null
null
null
sources/middle_layer/dispatcher/hw_dispatcher.cpp
jinjunzh/DML
0c5103dce053fc75f007bc4761359b03cff0c1dc
[ "MIT" ]
null
null
null
/* * Copyright 2021 Intel Corporation. * * This software and the related documents are Intel copyrighted materials, * and your use of them is governed by the express license under which they * were provided to you ("License"). Unless the License provides otherwise, * you may not use, modify, copy, publish, distri...
26.9
105
0.701208
jinjunzh
b4d921f31528318194bea3a8a82fea4b174ff952
12,241
cpp
C++
backend/applications/utilities/sheep-cl.cpp
vkurilin/SHEEP
2ccaef32c16efcf5dbc8eefd1dc243bed4ac2fbb
[ "MIT" ]
40
2018-12-03T13:01:06.000Z
2022-02-23T13:04:12.000Z
backend/applications/utilities/sheep-cl.cpp
vkurilin/SHEEP
2ccaef32c16efcf5dbc8eefd1dc243bed4ac2fbb
[ "MIT" ]
63
2018-09-11T14:13:31.000Z
2020-01-14T16:12:39.000Z
backend/applications/utilities/sheep-cl.cpp
vkurilin/SHEEP
2ccaef32c16efcf5dbc8eefd1dc243bed4ac2fbb
[ "MIT" ]
7
2019-07-10T14:48:31.000Z
2022-03-23T09:12:11.000Z
//////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// /// This is the main executable that is used by the frontend to: /// 1) run a benchmark test on a specified circuit file /// ./benchmark <circuit_file> <context_n...
36.870482
81
0.642921
vkurilin
b4d9434d4fdd48b603a27783dfe62abcd8a8af45
5,273
cc
C++
tensorflow/core/util/util.cc
massimobernava/tensorflow
0a68ff9a205e14dd80fa0c51a0f6954d965f825e
[ "Apache-2.0" ]
1
2022-03-29T11:36:50.000Z
2022-03-29T11:36:50.000Z
tensorflow/core/util/util.cc
massimobernava/tensorflow
0a68ff9a205e14dd80fa0c51a0f6954d965f825e
[ "Apache-2.0" ]
1
2020-08-01T05:40:12.000Z
2020-08-01T05:40:12.000Z
tensorflow/core/util/util.cc
massimobernava/tensorflow
0a68ff9a205e14dd80fa0c51a0f6954d965f825e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2015 The TensorFlow 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 by applicable law or a...
29.623596
80
0.626019
massimobernava
b4db6998ace96669f00f870874526c7c12a44618
164
cpp
C++
GraphicsProject/main.cpp
JosephPena1/BootstrapPhysics
ce8d9ed1a7bcbc7160c37c41f9033eb68ba3acd6
[ "MIT" ]
null
null
null
GraphicsProject/main.cpp
JosephPena1/BootstrapPhysics
ce8d9ed1a7bcbc7160c37c41f9033eb68ba3acd6
[ "MIT" ]
null
null
null
GraphicsProject/main.cpp
JosephPena1/BootstrapPhysics
ce8d9ed1a7bcbc7160c37c41f9033eb68ba3acd6
[ "MIT" ]
null
null
null
#include "Application.h" int main() { Application* game = new Application(1280,720,"Graphics"); int exitCode = game->run(); delete game; return exitCode; }
12.615385
58
0.682927
JosephPena1
b4ddf5c63f0ac5b0157cee68dd6db431040e5d7b
2,621
cc
C++
elements/grid/lirmetric.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/grid/lirmetric.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/grid/lirmetric.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
/* * lirmetric.{cc,hh} -- end-to-end delivery ratio metric * * Copyright (c) 2003 Massachusetts Institute of Technology * * 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 restri...
28.48913
107
0.716139
MacWR
b4dfc211b6432a00e68ea5c188b80cdde97333b6
5,112
cpp
C++
deploy_test/road_finder_dlcrf/src/DlcrfCore.cpp
caolele/road-discovery
9f810dd9fe876369a86a3ba4897595579ad6d3c3
[ "MIT" ]
10
2018-06-04T20:59:11.000Z
2021-12-24T09:34:02.000Z
deploy_test/road_finder_dlcrf/src/DlcrfCore.cpp
caolele/road-discovery
9f810dd9fe876369a86a3ba4897595579ad6d3c3
[ "MIT" ]
1
2021-05-27T11:30:40.000Z
2021-05-27T11:30:40.000Z
deploy_test/road_finder_dlcrf/src/DlcrfCore.cpp
caolele/road-discovery
9f810dd9fe876369a86a3ba4897595579ad6d3c3
[ "MIT" ]
1
2021-09-01T12:05:10.000Z
2021-09-01T12:05:10.000Z
// // DlcrfCore.cpp // road-discovery: deploy_test // // Created by Larry Cao on 18/3/8. // #include "DlcrfCore.hpp" const UInt DlcrfCore::channels = 3; const float DlcrfCore::meanval_ch1 = 104.008; const float DlcrfCore::meanval_ch2 = 116.669; const float DlcrfCore::meanval_ch3 = 122.675; DlcrfCore::DlcrfCore(c...
29.894737
81
0.581182
caolele
b4e0263378b26ddfa369ef18a1ebc80bdb59ba6a
6,328
hpp
C++
Lib/Chip/CM4/Freescale/MK21D5WS/RFVBAT.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/CM4/Freescale/MK21D5WS/RFVBAT.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/CM4/Freescale/MK21D5WS/RFVBAT.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //VBAT register file namespace RfvbatReg0{ ///<VBAT register file register using Addr = Register::Address<0x4003e000,0x00000000,0x00000000,std::uint32_t>; ///no description available constexpr Register::FieldLocation<Addr,Re...
67.319149
120
0.719659
operativeF
b4e0e92d35ddb386fcbe11133539c4c69aab2f81
1,037
hpp
C++
lib/lib/iterator.hpp
XzoRit/cpp_test_eq_op
32abe7949499fd81bd82aefccc6b4ccf550f0628
[ "BSL-1.0" ]
null
null
null
lib/lib/iterator.hpp
XzoRit/cpp_test_eq_op
32abe7949499fd81bd82aefccc6b4ccf550f0628
[ "BSL-1.0" ]
null
null
null
lib/lib/iterator.hpp
XzoRit/cpp_test_eq_op
32abe7949499fd81bd82aefccc6b4ccf550f0628
[ "BSL-1.0" ]
null
null
null
#pragma once #include <lib/tuple.hpp> #include <iterator> #include <utility> namespace xzr { namespace iterator { template <typename Container> class back_emplace_iterator : public std::iterator<std::output_iterator_tag, void, void, void, void> { public: using container_type = Container; explicit back_emp...
18.517857
100
0.66731
XzoRit
b4e223452d6207add24ef4824e8b8ed3c12cb40b
12,212
hpp
C++
src/ArraySlice.hpp
GEOSX/LvArray
3ad0795f10023bd9a2fd8a41f0de0caa376845c0
[ "BSD-3-Clause" ]
16
2020-07-10T00:04:08.000Z
2022-03-28T03:59:51.000Z
src/ArraySlice.hpp
GEOSX/LvArray
3ad0795f10023bd9a2fd8a41f0de0caa376845c0
[ "BSD-3-Clause" ]
55
2020-06-30T06:26:49.000Z
2022-03-29T18:21:47.000Z
src/ArraySlice.hpp
GEOSX/LvArray
3ad0795f10023bd9a2fd8a41f0de0caa376845c0
[ "BSD-3-Clause" ]
5
2021-02-03T02:00:20.000Z
2022-03-21T20:37:51.000Z
/* * Copyright (c) 2021, Lawrence Livermore National Security, LLC and LvArray contributors. * All rights reserved. * See the LICENSE file for details. * SPDX-License-Identifier: (BSD-3-Clause) */ /** * @file ArraySlice.hpp * @brief Contains the implementation of LvArray::ArraySlice */ #pragma once #if !defi...
32.221636
141
0.674746
GEOSX
b4e2b4390f6b6396c9073c43a39b3ced7f504869
774
cc
C++
test/main.cc
asia-lab-sustech/ScaleSim
614869fe9ff2092e6c1f219cbcf44391118517d5
[ "MIT" ]
3
2019-06-26T15:11:26.000Z
2022-03-29T14:38:47.000Z
test/main.cc
asia-lab-sustech/ScaleSim
614869fe9ff2092e6c1f219cbcf44391118517d5
[ "MIT" ]
null
null
null
test/main.cc
asia-lab-sustech/ScaleSim
614869fe9ff2092e6c1f219cbcf44391118517d5
[ "MIT" ]
3
2019-05-02T12:21:25.000Z
2022-02-16T07:45:07.000Z
/* * main.cc * * Copyright (c) 2015 Masatoshi Hanai * * This software is released under MIT License. * See LICENSE. * */ #include "glog/logging.h" #include "gflags/gflags.h" #include "gtest/gtest.h" #include "leveldb/db.h" #include "leveldb/options.h" /* test files */ #include "medium/com_test.cc" #include ...
22.114286
52
0.717054
asia-lab-sustech
b4e46e911df7ab00f710bf1f391e4aecbd1445c7
15,361
cpp
C++
src/vidhrdw/atarisy2.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
33
2015-08-10T11:13:47.000Z
2021-08-30T10:00:46.000Z
src/vidhrdw/atarisy2.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
13
2015-08-25T03:53:08.000Z
2022-03-30T18:02:35.000Z
src/vidhrdw/atarisy2.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
40
2015-08-25T05:09:21.000Z
2022-02-08T05:02:30.000Z
/*************************************************************************** Atari System 2 hardware ****************************************************************************/ #include "driver.h" #include "machine/atarigen.h" #include "vidhrdw/generic.h" #define XCHARS 64 #define YCHARS 48 #define XDIM (XCHAR...
25.601667
153
0.605429
gameblabla
b4e6a57cffeb9caa6d6bb1b159a47c73eb4e7afe
535
hpp
C++
interp/InterpMakedata.hpp
cjang/chai
7faba752cc4491d1b30590abef21edc4efffa0f6
[ "Unlicense" ]
11
2015-06-12T19:54:14.000Z
2021-11-26T10:45:18.000Z
interp/InterpMakedata.hpp
cjang/chai
7faba752cc4491d1b30590abef21edc4efffa0f6
[ "Unlicense" ]
null
null
null
interp/InterpMakedata.hpp
cjang/chai
7faba752cc4491d1b30590abef21edc4efffa0f6
[ "Unlicense" ]
null
null
null
// Copyright 2011 Chris Jang (fastkor@gmail.com) under The Artistic License 2.0 #ifndef _CHAI_INTERP_MAKEDATA_HPP_ #define _CHAI_INTERP_MAKEDATA_HPP_ #include "BaseInterp.hpp" namespace chai_internal { //////////////////////////////////////// // make1_u32, make1_i64 // make1_f32, make1_f64 // make2_u32, make2_i64 /...
19.107143
79
0.695327
cjang
b4ed3adfd1126b7428ed5e56ddcae59232575366
22,991
cpp
C++
src/transaction.cpp
AlphaX-Projects/swippcore-2.1.7
4e1aee2154999ec896a3d3db9f117cd33b29a748
[ "MIT" ]
8
2017-12-31T13:41:49.000Z
2022-01-23T07:31:25.000Z
src/transaction.cpp
AlphaX-Projects/swippcore-2.1.7
4e1aee2154999ec896a3d3db9f117cd33b29a748
[ "MIT" ]
16
2017-11-19T22:57:50.000Z
2019-01-21T01:20:07.000Z
src/transaction.cpp
AlphaX-Projects/swippcore-2.1.7
4e1aee2154999ec896a3d3db9f117cd33b29a748
[ "MIT" ]
11
2018-01-07T13:55:23.000Z
2020-06-17T18:44:31.000Z
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2017-2018 The Swipp developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "checkpoints.h" #include ...
36.149371
129
0.594667
AlphaX-Projects
b4ed3fe52706d6534d0c446b78ba020dbf81fd34
260
cpp
C++
Labs/4/test 1/hello.cpp
HudaFiqri/belajarCPP
cf4d50115d18ecc16244ca7da98febbd8591a0e2
[ "Apache-2.0" ]
null
null
null
Labs/4/test 1/hello.cpp
HudaFiqri/belajarCPP
cf4d50115d18ecc16244ca7da98febbd8591a0e2
[ "Apache-2.0" ]
null
null
null
Labs/4/test 1/hello.cpp
HudaFiqri/belajarCPP
cf4d50115d18ecc16244ca7da98febbd8591a0e2
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; class Main_Class_1{ void func1( string str1, string str2){ string str3 = str1 + str2; cout << str3; } }; int main(){ Main_Class_1 class_Obj; class_Obj.func1("hello ", "world"); }
12.380952
42
0.6
HudaFiqri
b4eec4bc1007d6a7da65ef112a73aa9bf5c0b22e
91,930
cpp
C++
examples/example2/templated/gen-cpp2/file29_types.cpp
eduardo-elizondo/cppcon2017
8c8f09799af398ecdeca5a38ce6430d9f9db2b0e
[ "MIT" ]
29
2017-09-29T17:38:09.000Z
2021-05-03T03:34:28.000Z
examples/example2/templated/gen-cpp2/file29_types.cpp
eduardo-elizondo/cppcon2017
8c8f09799af398ecdeca5a38ce6430d9f9db2b0e
[ "MIT" ]
2
2017-11-05T11:36:59.000Z
2018-01-03T00:38:34.000Z
examples/example2/templated/gen-cpp2/file29_types.cpp
eduardo-elizondo/cppcon2017
8c8f09799af398ecdeca5a38ce6430d9f9db2b0e
[ "MIT" ]
4
2017-09-30T14:52:45.000Z
2017-11-05T10:44:42.000Z
/** * Autogenerated by Thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "file29_types.h" #include "file29_types.tcc" #include <algorithm> #include <folly/Indestructible.h> #include "file29_data.h" namespace example { namespace thrift29 { void Struct0::__clea...
25.961593
174
0.643283
eduardo-elizondo
b4ef7c031157588e415f48dafcc37be25e029c67
17,337
cpp
C++
ALIZE_3.0/src/ViterbiAccum.cpp
ibillxia/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
83
2015-01-18T01:20:37.000Z
2022-03-02T20:15:27.000Z
ALIZE_3.0/src/ViterbiAccum.cpp
Dystopiaz/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
4
2016-03-03T08:43:00.000Z
2019-03-08T06:20:56.000Z
ALIZE_3.0/src/ViterbiAccum.cpp
Dystopiaz/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
59
2015-02-02T03:07:37.000Z
2021-11-22T12:05:42.000Z
/* This file is part of ALIZE which is an open-source tool for speaker recognition. ALIZE 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, either version 3 of the License, or any later ...
32.588346
106
0.515314
ibillxia
b4f20f4cad28d63a0bc2a8eb9a9607e32b4e31a4
625
cpp
C++
Project_GPS/parametres.cpp
yoannvigolo/Genetique_GPS
05f70d3a3eadc14eb6e653d29bfbf03767f01eb6
[ "BSD-3-Clause" ]
null
null
null
Project_GPS/parametres.cpp
yoannvigolo/Genetique_GPS
05f70d3a3eadc14eb6e653d29bfbf03767f01eb6
[ "BSD-3-Clause" ]
null
null
null
Project_GPS/parametres.cpp
yoannvigolo/Genetique_GPS
05f70d3a3eadc14eb6e653d29bfbf03767f01eb6
[ "BSD-3-Clause" ]
null
null
null
#include "parametres.h" using namespace std; Parametres::Parametres() { } int Parametres::individualsNb = 200; int Parametres::generationsMaxNb = 3; int Parametres::initialGenesNb = 5; int Parametres::minFitness = 15; double Parametres::mutationRate = 1; double Parametres::mutationAddRate = 0.2; double...
23.148148
54
0.7072
yoannvigolo
b4f2dd27f34b09ef67816532815f861b6bcd0b0c
11,255
hpp
C++
src/asm.hpp
Azegor/mjc
8b7eaca7e2079378d99a2a6fc7f6076976922dab
[ "MIT" ]
3
2019-08-09T00:57:22.000Z
2020-06-18T23:03:05.000Z
src/asm.hpp
Azegor/mjc
8b7eaca7e2079378d99a2a6fc7f6076976922dab
[ "MIT" ]
null
null
null
src/asm.hpp
Azegor/mjc
8b7eaca7e2079378d99a2a6fc7f6076976922dab
[ "MIT" ]
null
null
null
#ifndef ASM_H #define ASM_H #include <memory> #include <ostream> #include <iostream> #include <sstream> #include <string> #include <typeinfo> #include <vector> #include <unordered_map> #include <cassert> #include <cstdint> #include <cstring> #include <libfirm/firm.h> namespace Asm { using namespace std::string_lite...
21.644231
90
0.608885
Azegor
b4f2e18ffdcfe20549f8547ce881728eca9ee584
10,697
cpp
C++
native/PNG.cpp
Regal-Internet-Brothers/imageencoder
4b116d8ccedf9a5e29810eaa21985f6ff3b711b6
[ "MIT" ]
1
2015-02-10T21:08:19.000Z
2015-02-10T21:08:19.000Z
native/PNG.cpp
Regal-Internet-Brothers/imageencoder
4b116d8ccedf9a5e29810eaa21985f6ff3b711b6
[ "MIT" ]
null
null
null
native/PNG.cpp
Regal-Internet-Brothers/imageencoder
4b116d8ccedf9a5e29810eaa21985f6ff3b711b6
[ "MIT" ]
null
null
null
// Preprocessor related: // Libraries (MSVC): /* This is mainly for MSVC, the needed libraries have already been added for GCC/MinGW via 'CC_LIBS' in Monkey. Change the names of these libraries to reflect the versions you decide to use. */ #pragma comment(lib, "libpng16.lib") #pragma comment(lib, "zlib.lib") ...
35.42053
319
0.713191
Regal-Internet-Brothers
b4f6033c1c70c9a4ac302fe3121b058954e22f83
1,759
cpp
C++
图论/负环/acwing_904.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
3
2020-11-16T08:58:30.000Z
2020-11-16T08:58:33.000Z
图论/负环/acwing_904.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
图论/负环/acwing_904.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cstring> #include <cstdio> using namespace std; //常用2种spfa求负环的方法,常用的是第二种 //统计每个点入队的次数 如果某个点入队n次 那么存在负环 //统计当前每个点的最短路中所包含的边数 如果某个点的 最短路包含的边数>=n 那么有能说明存在负环 //注意虫洞是单向边 const int N = 510, M = 5500; int n, m1, m2; //m1 双向边和单向边的数量 int h[N], ne[M], w[M], e[M], idx; int d...
21.192771
71
0.409892
tempure
b4f9c57442c3251c15ea0df5ebccfe73e446086b
2,734
cpp
C++
src/algo/shortest_path.cpp
setyolegowo/ITB-IF5111-2019
4b53c9a69e49bb801fa65b633689670bf2edf4ff
[ "MIT" ]
null
null
null
src/algo/shortest_path.cpp
setyolegowo/ITB-IF5111-2019
4b53c9a69e49bb801fa65b633689670bf2edf4ff
[ "MIT" ]
null
null
null
src/algo/shortest_path.cpp
setyolegowo/ITB-IF5111-2019
4b53c9a69e49bb801fa65b633689670bf2edf4ff
[ "MIT" ]
null
null
null
/** * shortest_path.cpp file. * Implementation. * * @author Setyo Legowo <gw.tio145@gmail.com> * @since 2019.02.18 */ #include <iostream> #include <string> #include <stdexcept> #include "shortest_path.hpp" ShortestPath::ShortestPath(uint32_t _index) { this->start_index = _index; } ShortestPath* ShortestPa...
26.803922
136
0.662034
setyolegowo
b4faa19e20f2cb1be5d0641b21663c7f847d1964
3,442
cpp
C++
speexbuild/AGC.cpp
main--/mumble
e1bdd6564bb0445c535d3c711e5142d9bafa13d8
[ "BSD-3-Clause" ]
2
2019-09-10T18:12:41.000Z
2020-07-04T23:57:45.000Z
speexbuild/AGC.cpp
main--/mumble
e1bdd6564bb0445c535d3c711e5142d9bafa13d8
[ "BSD-3-Clause" ]
null
null
null
speexbuild/AGC.cpp
main--/mumble
e1bdd6564bb0445c535d3c711e5142d9bafa13d8
[ "BSD-3-Clause" ]
null
null
null
#include <QtCore> #ifdef Q_OS_WIN #define _WIN32_IE 0x0600 #include <windows.h> #include <shellapi.h> #define CALLGRIND_START_INSTRUMENTATION #define CALLGRIND_STOP_INSTRUMENTATION #define CALLGRIND_ZERO_STATS #else #include <valgrind/callgrind.h> #endif #include <math.h> #include <speex/speex.h> #include <speex/spee...
22.350649
104
0.669378
main--
b4fbb8e0a7741b3d4a46fd64a84a40bf0344578d
672
cpp
C++
hackerrank/data_structures/linked_list/print_list_in_reverse.cpp
sohilladhani/programming
f9a63532013c0ef81679eb922e8ec66d3daf2518
[ "MIT" ]
null
null
null
hackerrank/data_structures/linked_list/print_list_in_reverse.cpp
sohilladhani/programming
f9a63532013c0ef81679eb922e8ec66d3daf2518
[ "MIT" ]
null
null
null
hackerrank/data_structures/linked_list/print_list_in_reverse.cpp
sohilladhani/programming
f9a63532013c0ef81679eb922e8ec66d3daf2518
[ "MIT" ]
null
null
null
/* Question at https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list-in-reverse */ Node* reverse_list(Node *head) { Node* prev = NULL; Node* next = NULL; while(head) { next = head->next; head->next = prev; prev = head; head = next; } head = prev; ...
21.677419
102
0.528274
sohilladhani
b4fbf10dd813e1c528252b267906a3ecc428402d
62,052
cpp
C++
lib/Runtime/Language/JavascriptStackWalker.cpp
paolosevMSFT/ChakraCore
e381509ce04eaee0517a668d5002d3eedf582b8b
[ "MIT" ]
3
2018-08-08T03:36:56.000Z
2019-05-24T08:45:30.000Z
lib/Runtime/Language/JavascriptStackWalker.cpp
paolosevMSFT/ChakraCore
e381509ce04eaee0517a668d5002d3eedf582b8b
[ "MIT" ]
null
null
null
lib/Runtime/Language/JavascriptStackWalker.cpp
paolosevMSFT/ChakraCore
e381509ce04eaee0517a668d5002d3eedf582b8b
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
38.517691
236
0.623364
paolosevMSFT
b4fceca31c3cab9e14129ce8c2214ec2e3de9182
3,652
cpp
C++
core/tcp_mailbox.cpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
null
null
null
core/tcp_mailbox.cpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
null
null
null
core/tcp_mailbox.cpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 Husky Data Lab, CUHK Authors: Changji Li (cjli@cse.cuhk.edu.hk) */ #include "core/tcp_mailbox.hpp" using namespace std; TCPMailbox::~TCPMailbox() { for (auto &r : receivers_) if (r != NULL) delete r; for (auto &s : senders_) { if (s.second != NULL) { delete s....
31.756522
131
0.590635
BowenforGit
3705f38a7e270ef44de9ebb1fc16ffb0d6256bb6
8,109
cpp
C++
tests/test_liststorage.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
20
2018-10-17T21:39:40.000Z
2021-11-10T11:07:23.000Z
tests/test_liststorage.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
5
2020-07-06T22:50:04.000Z
2022-03-17T10:34:15.000Z
tests/test_liststorage.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
9
2018-09-18T11:37:35.000Z
2022-03-29T07:46:41.000Z
#include <iostream> #include <chrono> #include <cstdlib> #include "../src/kb/kb.h" #include "../src/kb/inserter.h" #include "../src/kb/querier.h" #include "../src/utils/propertymap.h" #include <sstream> #include <fstream> using namespace std; namespace timens = std::chrono; class MyTreeInserter: public TreeInserter {...
21.97561
70
0.504378
dkw-aau
3705f507602c85b6e3150414f860120d5dd8ec8b
606
cpp
C++
src/api/cpp/util.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-06-14T23:49:18.000Z
2018-06-14T23:49:18.000Z
src/api/cpp/util.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2015-07-02T15:53:02.000Z
2015-07-02T15:53:02.000Z
src/api/cpp/util.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-02-26T17:11:03.000Z
2018-02-26T17:11:03.000Z
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
23.307692
58
0.531353
JuliaComputing
370735f38fcb85decac68789dc4a5ae4b5220564
1,373
cpp
C++
demo/enable/qt/main.cpp
ricardocosme/saci
2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4
[ "BSL-1.0" ]
1
2020-07-29T20:42:58.000Z
2020-07-29T20:42:58.000Z
demo/enable/qt/main.cpp
ricardocosme/saci
2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4
[ "BSL-1.0" ]
null
null
null
demo/enable/qt/main.cpp
ricardocosme/saci
2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4
[ "BSL-1.0" ]
null
null
null
// Copyright Ricardo Calheiros de Miranda Cosme 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <QtGui/QApplication> #include <QtGui/QDialog> #include <QtGui/QVBoxLayout> #include <coruja/object/object...
26.403846
84
0.651857
ricardocosme
370caf375423fb0162eb213407ee40f6b2f944d8
2,609
cpp
C++
Codility/generate_string2.cpp
SadiHassan/leet
0adc41d89c3e63a7a78d47dcd7eabeefe14972d6
[ "MIT" ]
1
2019-12-24T19:41:34.000Z
2019-12-24T19:41:34.000Z
Codility/generate_string2.cpp
SadiHassan/leet
0adc41d89c3e63a7a78d47dcd7eabeefe14972d6
[ "MIT" ]
null
null
null
Codility/generate_string2.cpp
SadiHassan/leet
0adc41d89c3e63a7a78d47dcd7eabeefe14972d6
[ "MIT" ]
1
2019-12-23T10:20:00.000Z
2019-12-23T10:20:00.000Z
#include <bits/stdc++.h> using namespace std; string generate_string(int A, int B, int C){ if(A + B + C == 0) return ""; string s = ""; if( A + B == 0){ for(int i = 1; i <= min(2,C); i++) s += 'c'; return s; } if( A + C == 0){ for(int i = 1; i <= min(2,B); i++) s += 'b'; ...
26.09
116
0.377539
SadiHassan
37135548258fe56d855aeb2cd8734811708f4539
5,265
cpp
C++
timer.cpp
AngularsCoding/Timer
949e9b65a665fe69cec2822e508727828633fdbe
[ "CC0-1.0" ]
1
2021-05-21T05:51:38.000Z
2021-05-21T05:51:38.000Z
timer.cpp
AngularsCoding/Timer
949e9b65a665fe69cec2822e508727828633fdbe
[ "CC0-1.0" ]
null
null
null
timer.cpp
AngularsCoding/Timer
949e9b65a665fe69cec2822e508727828633fdbe
[ "CC0-1.0" ]
2
2021-04-18T07:36:15.000Z
2022-01-04T14:44:49.000Z
#include<iostream> #include<conio.h> #include<dos.h> #include <windows.h> #include <time.h> using namespace std; char d0[5][3] = { 178,178,178, 178,' ',178, 178,' ',178, 178,' ',178, 178,178,178 }; char d1[5][3] = { ' ',' ',178, ' ',' ',178, ' ',' ',178, ' ',...
20.566406
70
0.447483
AngularsCoding
37153e87eecf7221a4529aaef208c21b6ecde840
1,769
cpp
C++
codelib/huffman_coding.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/huffman_coding.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/huffman_coding.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <queue> #include <string> #include <vector> #include <cstring> #include <utility> #include <map> typedef std::pair<int, int> ii; const int MAXN = 1000; std::string huffman_codes[MAXN]; std::vector<int> adj[MAXN]; std::string seq; void dfs(int u) { if (adj[u].size() ...
21.313253
83
0.568683
TissueRoll
371556693e55cba56c46e6aef434fe69c28613b3
6,890
hpp
C++
mjolnir/forcefield/local/BondLengthGoContactInteraction.hpp
ToruNiina/Mjolnir
44435dd3afc12f5c8ea27a66d7ab282df3e588ff
[ "MIT" ]
12
2017-02-01T08:28:38.000Z
2018-08-25T15:47:51.000Z
mjolnir/forcefield/local/BondLengthGoContactInteraction.hpp
Mjolnir-MD/Mjolnir
043df4080720837042c6b67a5495ecae198bc2b3
[ "MIT" ]
60
2019-01-14T08:11:33.000Z
2021-07-29T08:26:36.000Z
mjolnir/forcefield/local/BondLengthGoContactInteraction.hpp
Mjolnir-MD/Mjolnir
043df4080720837042c6b67a5495ecae198bc2b3
[ "MIT" ]
8
2019-01-13T11:03:31.000Z
2021-08-01T11:38:00.000Z
#ifndef MJOLNIR_INTERACTION_BOND_LENGTH_GO_CONTACT_INTERACTION_HPP #define MJOLNIR_INTERACTION_BOND_LENGTH_GO_CONTACT_INTERACTION_HPP #include <mjolnir/forcefield/local/BondLengthInteraction.hpp> #include <mjolnir/forcefield/local/GoContactPotential.hpp> namespace mjolnir { // It is a specialization of BondLengthInte...
35.515464
123
0.651814
ToruNiina
7dec0f68c58b5959660a5c56b6c704de6e673133
768
cpp
C++
Card/Capacity.cpp
GP-S/HOTS
85903015033184694e3b2b70af401a0ea5de11b7
[ "Unlicense", "MIT" ]
1
2021-05-30T02:13:37.000Z
2021-05-30T02:13:37.000Z
Card/Capacity.cpp
GP-S/HOTS
85903015033184694e3b2b70af401a0ea5de11b7
[ "Unlicense", "MIT" ]
null
null
null
Card/Capacity.cpp
GP-S/HOTS
85903015033184694e3b2b70af401a0ea5de11b7
[ "Unlicense", "MIT" ]
null
null
null
#include "Capacity.h" Capacity::Capacity() { } Capacity::Capacity(std::string type,int durabilty) { this->type=type; this->durabilty=durabilty; } Capacity::~Capacity() { } std::string Capacity::getType() { return type; } int Capacity::getDurabilty() { return durabilty; } void Capacity::setTy...
11.294118
50
0.666667
GP-S
7ded9d03e247477b501dffca22b3b13b0bae1e58
2,440
hpp
C++
include/asioext/impl/file_handle_win.hpp
zweistein-frm2/asio-extensions
bafea77c48d674930405cb7f93bdfe65539abc39
[ "BSL-1.0" ]
17
2018-04-13T00:38:55.000Z
2022-01-21T08:38:36.000Z
include/asioext/impl/file_handle_win.hpp
zweistein-frm2/asio-extensions
bafea77c48d674930405cb7f93bdfe65539abc39
[ "BSL-1.0" ]
4
2017-03-16T03:34:38.000Z
2020-05-08T00:05:51.000Z
include/asioext/impl/file_handle_win.hpp
zweistein-frm2/asio-extensions
bafea77c48d674930405cb7f93bdfe65539abc39
[ "BSL-1.0" ]
5
2017-09-06T15:56:04.000Z
2021-09-14T07:38:02.000Z
/// @copyright Copyright (c) 2015 Tim Niederhausen (tim@rnc-ag.de) /// 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 ASIOEXT_IMPL_FILEHANDLE_WIN_HPP #define ASIOEXT_IMPL_FILEHANDLE_WIN_HPP #include "asioex...
38.125
91
0.706967
zweistein-frm2
7def13f11c951427394d6b51cffee9e0b0b764bd
595
hpp
C++
Blast2D/core/ecs/type_info.hpp
daethalus/Blast2D
f8063a298d0f4059435d13e9390def3ebf62be5f
[ "MIT" ]
null
null
null
Blast2D/core/ecs/type_info.hpp
daethalus/Blast2D
f8063a298d0f4059435d13e9390def3ebf62be5f
[ "MIT" ]
null
null
null
Blast2D/core/ecs/type_info.hpp
daethalus/Blast2D
f8063a298d0f4059435d13e9390def3ebf62be5f
[ "MIT" ]
null
null
null
#ifndef BLAST2D_TYPE_INFO_HPP #define BLAST2D_TYPE_INFO_HPP #include <string> #include <iostream> #include <vector> namespace Blast2D{ using Index = std::size_t; template<typename Type> struct TypeInfo { static Index index(Index index) { static const Index constIndex = index; ...
17.5
56
0.601681
daethalus
7df5a1f6d3c8bbe89c9c71591f5fe533d9086486
2,628
ipp
C++
include/stats_incl/dens/dinvwish.ipp
davidnsw/sss
8ca2e4c28027e62ca1238724dc2912d2205e16b6
[ "Apache-2.0" ]
null
null
null
include/stats_incl/dens/dinvwish.ipp
davidnsw/sss
8ca2e4c28027e62ca1238724dc2912d2205e16b6
[ "Apache-2.0" ]
null
null
null
include/stats_incl/dens/dinvwish.ipp
davidnsw/sss
8ca2e4c28027e62ca1238724dc2912d2205e16b6
[ "Apache-2.0" ]
null
null
null
/*################################################################################ ## ## Copyright (C) 2011-2020 Keith O'Hara ## ## This file is part of the StatsLib C++ library. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance...
30.206897
118
0.624429
davidnsw
7df6ebead745d69a55fa21c29fdaf2a2abdcada9
1,163
hpp
C++
MEX/src/cpp/body_pose/body_pose_types.hpp
umariqb/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
47
2016-07-25T00:48:59.000Z
2021-02-17T09:19:03.000Z
MEX/src/cpp/body_pose/body_pose_types.hpp
umariqb/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
5
2016-09-17T19:40:46.000Z
2018-11-07T06:49:02.000Z
MEX/src/cpp/body_pose/body_pose_types.hpp
iqbalu/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
35
2016-07-21T09:13:15.000Z
2019-05-13T14:11:37.000Z
#ifndef BODY_POSE_TYPES_HH #define BODY_POSE_TYPES_HH /* * body_pose_types.hpp * * Created on: Oct 15, 2014 * Author: Umar Iqbal */ namespace body_pose{ // TYPE_BODY_J[Number of Joints] // pose style enum BodyPoseTypes { FULL_BODY_J13 = 13, /* /\ ...
40.103448
185
0.504729
umariqb
7df7454f92487cda17f4e025b9d377b7ff960792
2,363
cpp
C++
general/sets.cpp
benzwick/mfem
4d5fdfd553b24ff37716f736f83df2d238d9a696
[ "BSD-3-Clause" ]
1
2020-08-15T07:00:22.000Z
2020-08-15T07:00:22.000Z
general/sets.cpp
benzwick/mfem
4d5fdfd553b24ff37716f736f83df2d238d9a696
[ "BSD-3-Clause" ]
1
2019-04-24T21:18:24.000Z
2019-04-25T18:00:45.000Z
general/sets.cpp
benzwick/mfem
4d5fdfd553b24ff37716f736f83df2d238d9a696
[ "BSD-3-Clause" ]
1
2021-09-15T14:14:29.000Z
2021-09-15T14:14:29.000Z
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
17.123188
80
0.547609
benzwick
7dfc182c5e772de58ddce7507e1a8f9a84f7d863
1,088
hpp
C++
src/engine/texturesystem.hpp
Spirrwell/Mod-Engine
9b9c7e3d6e14450d8a3f807bca8a9244f6e8b23d
[ "MIT" ]
2
2020-03-19T14:13:07.000Z
2020-09-07T07:26:23.000Z
src/engine/texturesystem.hpp
Spirrwell/Mod-Engine
9b9c7e3d6e14450d8a3f807bca8a9244f6e8b23d
[ "MIT" ]
3
2020-03-28T04:05:04.000Z
2020-05-08T06:38:18.000Z
src/engine/texturesystem.hpp
Spirrwell/Mod-Engine
9b9c7e3d6e14450d8a3f807bca8a9244f6e8b23d
[ "MIT" ]
null
null
null
#ifndef TEXTURESYSTEM_HPP #define TEXTURESYSTEM_HPP #include <unordered_map> #include <string> #include <mutex> #include "engine/itexturesystem.hpp" #include "enginesystem.hpp" #include "filesystem.hpp" #include "memory.hpp" #include "vulkansystem.hpp" class Texture; class TextureSystem : public ITextureSystem, pub...
24.727273
131
0.779412
Spirrwell
b40123b2a4275eebc30ce29d3b8c8f7208bc4534
4,197
cpp
C++
graph-source-code/362-E/5897240.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/362-E/5897240.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/362-E/5897240.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <cstdio> #include <iostream> #include <vector> #include <list> #include <queue> #include <map> #include <set> #include <utility> #include <functional> #include <string> #include <algorithm> #include <cmath> #include <cstdlib> #include <ctime> using namespace std; typede...
22.686486
109
0.599952
AmrARaouf
b402e9753323e8d5da494e526f7e22814080c8af
156,561
cpp
C++
cstrike15_src/particles/particles.cpp
5R33CH4/-5R33CH4-CSGO-Source-Code
dafb3cafa88f37cd405df3a9ffbbcdcb1dba8f63
[ "MIT" ]
4
2020-11-25T11:45:10.000Z
2021-03-17T15:22:01.000Z
cstrike15_src/particles/particles.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
null
null
null
cstrike15_src/particles/particles.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
7
2021-08-22T11:29:02.000Z
2022-03-29T11:59:15.000Z
//===== Copyright � 1996-2007, Valve Corporation, All rights reserved. ======// // // Purpose: particle system code // //===========================================================================// #include "tier0/platform.h" #include "particles/particles.h" #include "bitmap/psheet.h" #include "filesystem.h" #include...
32.200946
192
0.665881
5R33CH4
b4035ea351e968f72b6ced4e27302e44d72e9521
18,436
cpp
C++
qmlui/fixtureutils.cpp
prozessorkern/qlcplus
e8be5b1a99eaad4c409aca14ae0f93f7fed84480
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
qmlui/fixtureutils.cpp
prozessorkern/qlcplus
e8be5b1a99eaad4c409aca14ae0f93f7fed84480
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
qmlui/fixtureutils.cpp
prozessorkern/qlcplus
e8be5b1a99eaad4c409aca14ae0f93f7fed84480
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* Q Light Controller Plus fixtureutils.cpp Copyright (c) Massimo Callegari 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.txt Unle...
34.077634
118
0.598503
prozessorkern
b405922ec15ab35a4c770376ec46e00d3ba6369f
1,199
hpp
C++
subprojects/libusbcpp/include/libusbcpp/error.hpp
mmmspatz/wumbo_mr
7dfecd4cb824ad2268f6f9208e3fe6c9510fb097
[ "BSL-1.0" ]
1
2021-02-12T06:54:53.000Z
2021-02-12T06:54:53.000Z
subprojects/libusbcpp/include/libusbcpp/error.hpp
mmmspatz/wumbo_mr
7dfecd4cb824ad2268f6f9208e3fe6c9510fb097
[ "BSL-1.0" ]
null
null
null
subprojects/libusbcpp/include/libusbcpp/error.hpp
mmmspatz/wumbo_mr
7dfecd4cb824ad2268f6f9208e3fe6c9510fb097
[ "BSL-1.0" ]
null
null
null
// Copyright Mark H. Spatz 2021-present // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // https://www.boost.org/LICENSE_1_0.txt) #pragma once #include <stdexcept> #include "core.hpp" namespace libusbcpp { template <c::libusb_error error_code> struct Error...
25.510638
86
0.729775
mmmspatz
b405d83ba3e02315ea4a54738bbca4f5dd4d29d8
5,037
cpp
C++
tests/test_record_format.cpp
pthis/CppLogging
5c76bceef12eec705bf07b28c09d74023c1c3bb0
[ "MIT" ]
97
2016-10-09T04:10:25.000Z
2022-03-30T21:23:25.000Z
tests/test_record_format.cpp
pthis/CppLogging
5c76bceef12eec705bf07b28c09d74023c1c3bb0
[ "MIT" ]
4
2019-10-25T01:45:13.000Z
2021-12-15T04:09:58.000Z
tests/test_record_format.cpp
pthis/CppLogging
5c76bceef12eec705bf07b28c09d74023c1c3bb0
[ "MIT" ]
34
2018-12-28T14:01:46.000Z
2021-11-24T17:22:09.000Z
// // Created by Ivan Shynkarenka on 18.09.2016 // #include "test.h" #include "logging/record.h" using namespace CppLogging; namespace { class Date { public: Date(int year, int month, int day) : _year(year), _month(month), _day(day) {} friend std::ostream& operator<<(std::ostream& os, const Date& date) ...
43.422414
132
0.542585
pthis
b408af44dddc358ee3b0ba4091d9e7a884b3143e
785
cpp
C++
chapter-15/Program pg 464.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
chapter-15/Program pg 464.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
chapter-15/Program pg 464.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
/* cunstructor with parameters */ #include<iostream> using namespace std; class A { private: int a; public: A() { a=0; } A(int n) { a=n; } void showA() { cout<<"A = "<<a<<endl; } }; class B { private: int b; public: B() { ...
10.608108
39
0.346497
JahanzebNawaz
b40ebb6b1148e194d1577fd72c361b7f57503c32
706
cpp
C++
solutions/URI_1061 - (2303944) - Accepted.cpp
KelwinKomka/URI-Online-Judge-1
3d6e37ebe3aa145f47dfcad8b219e53c3cae50f6
[ "MIT" ]
null
null
null
solutions/URI_1061 - (2303944) - Accepted.cpp
KelwinKomka/URI-Online-Judge-1
3d6e37ebe3aa145f47dfcad8b219e53c3cae50f6
[ "MIT" ]
null
null
null
solutions/URI_1061 - (2303944) - Accepted.cpp
KelwinKomka/URI-Online-Judge-1
3d6e37ebe3aa145f47dfcad8b219e53c3cae50f6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, const char * argv[]) { int i, dia1, h1, m1, s1, dia2, h2, m2, s2, seg1, seg; string c; cin >> c >> dia1 >> h1 >> c >> m1 >> c >> s1 >> c >> dia2 >> h2 >> c >> m2 >> c >> s2; seg1 = 3600*h1 + 60*m1 + s1; if(dia2-di...
28.24
91
0.46034
KelwinKomka
b40ef601ea2f2ca96d4a3f84e1b3f7b9b3e811ba
105,976
cpp
C++
interface/src/avatar/MyAvatar.cpp
trentpolack/hifi
3b8636b75c3df242c0aeecbca6e01f386e238f45
[ "Apache-2.0" ]
null
null
null
interface/src/avatar/MyAvatar.cpp
trentpolack/hifi
3b8636b75c3df242c0aeecbca6e01f386e238f45
[ "Apache-2.0" ]
null
null
null
interface/src/avatar/MyAvatar.cpp
trentpolack/hifi
3b8636b75c3df242c0aeecbca6e01f386e238f45
[ "Apache-2.0" ]
null
null
null
// // MyAvatar.cpp // interface/src/avatar // // Created by Mark Peng on 8/16/13. // Copyright 2012 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <algorithm> #include <vector> #incl...
40.279742
167
0.689014
trentpolack
b4110b5b9acf31ce7ea2d61b82540806dc7e077e
30,969
cc
C++
test/extensions/filters/http/grpc_json_transcoder/grpc_json_transcoder_integration_test.cc
guowendev/envoy
59c15a07ffe742c2101c3803b0f5909cb35a2afc
[ "Apache-2.0" ]
null
null
null
test/extensions/filters/http/grpc_json_transcoder/grpc_json_transcoder_integration_test.cc
guowendev/envoy
59c15a07ffe742c2101c3803b0f5909cb35a2afc
[ "Apache-2.0" ]
30
2022-02-17T02:28:37.000Z
2022-03-31T02:31:02.000Z
test/extensions/filters/http/grpc_json_transcoder/grpc_json_transcoder_integration_test.cc
cpakulski/envoy
8bbec6dc213fc99f181589cf6099aadacb2a8923
[ "Apache-2.0" ]
null
null
null
#include "common/grpc/codec.h" #include "common/grpc/common.h" #include "common/http/message_impl.h" #include "common/protobuf/protobuf.h" #include "test/integration/http_integration.h" #include "test/mocks/http/mocks.h" #include "test/proto/bookstore.pb.h" #include "test/test_common/utility.h" #include "absl/strings...
46.922727
111
0.597533
guowendev
b41171d4071a6577b8f894f025d471eda1cc5533
8,775
cpp
C++
DLLInterface/PluginDLL.cpp
basic4gl-guy/basic4gl
5d4da444d36cdd5e020062adb02373e3efb21303
[ "BSD-3-Clause" ]
1
2020-01-14T11:25:00.000Z
2020-01-14T11:25:00.000Z
DLLInterface/PluginDLL.cpp
basic4gl-guy/basic4gl
5d4da444d36cdd5e020062adb02373e3efb21303
[ "BSD-3-Clause" ]
null
null
null
DLLInterface/PluginDLL.cpp
basic4gl-guy/basic4gl
5d4da444d36cdd5e020062adb02373e3efb21303
[ "BSD-3-Clause" ]
null
null
null
//--------------------------------------------------------------------------- #pragma hdrstop #include "PluginDLL.h" #ifdef VM_STATE_STREAMING #include "streaming.h" #endif #include <windows.h> #define BASIC4GL_DLL_MIN_VERSION 3 // Minimum plugin version Basic4GL is compatible with. // (DJLinux's exten...
27.857143
128
0.607066
basic4gl-guy
b415e9a7298b93e130d7bfd7225442e1ef69108a
3,341
cpp
C++
src/cbag/layout/path_util.cpp
ayan-biswas/cbag
0d08394cf39e90bc3acb4a94fd7b5a6560cf103c
[ "BSD-3-Clause" ]
1
2020-01-07T04:44:17.000Z
2020-01-07T04:44:17.000Z
src/cbag/layout/path_util.cpp
skyworksinc/cbag
0d08394cf39e90bc3acb4a94fd7b5a6560cf103c
[ "BSD-3-Clause" ]
null
null
null
src/cbag/layout/path_util.cpp
skyworksinc/cbag
0d08394cf39e90bc3acb4a94fd7b5a6560cf103c
[ "BSD-3-Clause" ]
1
2020-01-07T04:45:13.000Z
2020-01-07T04:45:13.000Z
#include <fmt/core.h> #include <fmt/ostream.h> #include <cbag/layout/path_util.h> namespace cbag { namespace layout { void add_path_points(pt_vector &vec, coord_t x, coord_t y, const vector45 &p, const vector45 &n, bool is_45, end_style style, offset_t w_main, offset_t w_norm) { switch (styl...
32.125
96
0.575875
ayan-biswas
b419bcb4f302ee1d0d3fdf1514b5ac1068e2b061
9,430
cpp
C++
main_d1/config.cpp
ziplantil/CacaoticusDescent
b4299442bc43310690a666e181dd983c1491dce1
[ "MIT" ]
null
null
null
main_d1/config.cpp
ziplantil/CacaoticusDescent
b4299442bc43310690a666e181dd983c1491dce1
[ "MIT" ]
null
null
null
main_d1/config.cpp
ziplantil/CacaoticusDescent
b4299442bc43310690a666e181dd983c1491dce1
[ "MIT" ]
null
null
null
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, A...
32.743056
132
0.693001
ziplantil
b41a44a15d91852df05b71d086861bd560862cc5
2,770
cpp
C++
ekbase/plaza/connection.cpp
artintexo/exkit
18d71e84d688060f0c30af456dcbec5252ebbdac
[ "MIT" ]
2
2019-05-20T10:02:16.000Z
2021-01-04T06:18:55.000Z
ekbase/plaza/connection.cpp
artintexo/exkit
18d71e84d688060f0c30af456dcbec5252ebbdac
[ "MIT" ]
null
null
null
ekbase/plaza/connection.cpp
artintexo/exkit
18d71e84d688060f0c30af456dcbec5252ebbdac
[ "MIT" ]
3
2020-09-07T06:44:54.000Z
2022-01-01T11:52:33.000Z
#include "connection.h" #include "utils.h" #include "base/context.h" #include "base/holder.h" #include <thread> Connection::Connection(Plaza *plz, std::string name, std::string settings) : plz(plz), hld(plz->GetHolder()), name(name), settings(settings), state(0) { P2ERR(cg_conn_new(settings.c_str(), &conn));...
21.307692
79
0.577978
artintexo
b41b08ea7e9549c680ea9cfd58afa9a3ec58de9b
4,031
cc
C++
mascot_examples/safety/dcdc/LazySafe/dcdc.cc
hsukyle/mascot
510193eaf9bb4d478677ad1b24d2ef9344ee40b0
[ "Apache-2.0" ]
1
2017-08-19T03:24:09.000Z
2017-08-19T03:24:09.000Z
mascot_examples/safety/dcdc/LazySafe/dcdc.cc
hsukyle/mascot
510193eaf9bb4d478677ad1b24d2ef9344ee40b0
[ "Apache-2.0" ]
null
null
null
mascot_examples/safety/dcdc/LazySafe/dcdc.cc
hsukyle/mascot
510193eaf9bb4d478677ad1b24d2ef9344ee40b0
[ "Apache-2.0" ]
null
null
null
#include <array> #include <iostream> #include <cmath> #define _USE_MATH_DEFINES #include <string> #include "AdaptAbsSafe.hh" using namespace scots; /* dimensions */ #define dimX 2 #define dimU 1 /* data types for the ode solver */ typedef std::array<double, dimX> X_type; typedef std::array<double, dimU> U_type; c...
29.639706
133
0.46713
hsukyle
b41cc24918e165800a367cf5e773e8ad4baee4c7
1,262
hh
C++
src/utils/CppPyWrapper.hh
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
17
2018-02-09T23:39:06.000Z
2022-03-04T16:27:04.000Z
src/utils/CppPyWrapper.hh
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
22
2017-05-31T19:40:14.000Z
2021-09-24T22:07:47.000Z
src/utils/CppPyWrapper.hh
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
37
2016-12-08T19:39:35.000Z
2022-02-11T19:59:34.000Z
//////////////////////////////// -*- C++ -*- ////////////////////////////// // // FILE NAME // CppPyWrapper.hh // // CREATED // 04/22/2003 // // DESCRIPTION // The base class that provides capability to keep the reference to // the Python class instance that is wrapping the c++ subclassing // this class...
22.945455
88
0.593502
LeoRya
b41d52f3cd2dc5693ba3f850ae5794895b7b18e5
3,581
cpp
C++
dynamic_vino_lib/src/models/head_pose_detection_model.cpp
ahuizxc/ros2_openvino_toolkit
ce28271e62fc6e1ad028137d0b6882eb9f7bdf6d
[ "Apache-2.0" ]
4
2018-11-21T14:17:28.000Z
2021-03-14T23:02:13.000Z
dynamic_vino_lib/src/models/head_pose_detection_model.cpp
ahuizxc/ros2_openvino_toolkit
ce28271e62fc6e1ad028137d0b6882eb9f7bdf6d
[ "Apache-2.0" ]
2
2020-11-25T08:47:42.000Z
2020-12-29T02:10:08.000Z
dynamic_vino_lib/src/models/head_pose_detection_model.cpp
ahuizxc/ros2_openvino_toolkit
ce28271e62fc6e1ad028137d0b6882eb9f7bdf6d
[ "Apache-2.0" ]
2
2020-09-09T06:34:49.000Z
2020-11-02T05:58:21.000Z
/* * Copyright (c) 2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
38.923913
79
0.66406
ahuizxc
b41da17f244423956469703d0640b94cb00de083
13,311
cpp
C++
src/Magnum/Trade/AnimationData.cpp
hsdk123/magnum
806e0800083020eaeee2a4d7d96f2991f4b51f15
[ "MIT" ]
null
null
null
src/Magnum/Trade/AnimationData.cpp
hsdk123/magnum
806e0800083020eaeee2a4d7d96f2991f4b51f15
[ "MIT" ]
null
null
null
src/Magnum/Trade/AnimationData.cpp
hsdk123/magnum
806e0800083020eaeee2a4d7d96f2991f4b51f15
[ "MIT" ]
null
null
null
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
63.688995
405
0.75246
hsdk123
b41f5ac04fa4a55b5b7ab06bba5daff418dab115
4,398
hh
C++
twilio.hh
esemeniuc/twilioTest
7c3b88ff1b0fb36b000a9e1806d0c35d20492a89
[ "MIT" ]
null
null
null
twilio.hh
esemeniuc/twilioTest
7c3b88ff1b0fb36b000a9e1806d0c35d20492a89
[ "MIT" ]
null
null
null
twilio.hh
esemeniuc/twilioTest
7c3b88ff1b0fb36b000a9e1806d0c35d20492a89
[ "MIT" ]
null
null
null
#include <sstream> #include <curl/curl.h> #include "twilio.hh" namespace twilio { Twilio::Twilio( const std::string& accound_sid_in, const std::string& auth_token_in ) { account_sid = accound_sid_in; auth_token = auth_token_in; } void Twilio::set_account_sid(const std::string& accound_sid_...
30.971831
79
0.599818
esemeniuc
b41f5ae6d34f190145a97e41938a8701e5bbaa87
5,966
cpp
C++
tests/unit/helpers/src/Comparators.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
43
2020-09-04T15:21:40.000Z
2022-03-23T03:53:02.000Z
tests/unit/helpers/src/Comparators.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
15
2020-09-17T18:06:15.000Z
2022-01-24T17:14:36.000Z
tests/unit/helpers/src/Comparators.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
23
2020-09-04T15:50:09.000Z
2022-03-25T13:38:25.000Z
/* * Copyright 2016 - 2019 Angelo Matni, Simone Campanoni * * 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, ...
34.888889
435
0.688066
SusanTan
b41fb469c5f099b67984302efaac01fa39b3663e
1,459
hh
C++
src/phantasm-hardware-interface/limits.hh
project-arcana/phantasm-hardware-interface
d75e23b0ac46efb304246930d680851bbe7f6561
[ "MIT" ]
6
2020-12-09T13:53:26.000Z
2021-12-24T14:13:17.000Z
src/phantasm-hardware-interface/limits.hh
project-arcana/phantasm-hardware-interface
d75e23b0ac46efb304246930d680851bbe7f6561
[ "MIT" ]
5
2020-01-29T09:46:36.000Z
2020-09-04T16:15:53.000Z
src/phantasm-hardware-interface/limits.hh
project-arcana/phantasm-hardware-interface
d75e23b0ac46efb304246930d680851bbe7f6561
[ "MIT" ]
null
null
null
#pragma once namespace phi::limits { enum limits_e : unsigned { /// the maximum amount of render targets per render pass, excluding the depthstencil target /// NOTE: D3D12 only supports up to 8 render targets max_render_targets = 8u, /// the maximum amount of resource transitions per transition comman...
31.042553
95
0.707334
project-arcana
b4215cca9af8f0956e18c4f637e9c18770245e9c
1,050
hpp
C++
emp/base/_is_streamable.hpp
mercere99/Wordle
cbfc104f049f0737422d3f90e3decfb96df8e8e0
[ "MIT" ]
null
null
null
emp/base/_is_streamable.hpp
mercere99/Wordle
cbfc104f049f0737422d3f90e3decfb96df8e8e0
[ "MIT" ]
null
null
null
emp/base/_is_streamable.hpp
mercere99/Wordle
cbfc104f049f0737422d3f90e3decfb96df8e8e0
[ "MIT" ]
null
null
null
/** * @note This file is part of Empirical, https://github.com/devosoft/Empirical * @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md * @date 2020. * * @file _is_streamable.hpp * @brief Test at compile time whether a type can be streamed. * @note This header is fo...
26.923077
96
0.725714
mercere99
b421d792460897c394a715f50735223bf1b207ff
3,608
hpp
C++
src/Switch.Core/include/Switch/System/ConsoleCancelEventArgs.hpp
victor-timoshin/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
4
2020-02-11T13:22:58.000Z
2022-02-24T00:37:43.000Z
src/Switch.Core/include/Switch/System/ConsoleCancelEventArgs.hpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
null
null
null
src/Switch.Core/include/Switch/System/ConsoleCancelEventArgs.hpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
2
2020-02-01T02:19:01.000Z
2021-12-30T06:44:00.000Z
/// @file /// @brief Contains Switch::System::ConsoleCancelEventArgs class. #pragma once #include "ConsoleSpecialKey.hpp" #include "EventArgs.hpp" #include "../Property.hpp" /// @brief The Switch namespace contains all fundamental classes to access Hardware, Os, System, and more. namespace Switch { /// @brief The S...
62.206897
394
0.75
victor-timoshin
b42474870b89178710a8a1df6156ce4f99d654e2
3,335
cpp
C++
Code/EditorPlugins/Assets/EnginePluginAssets/MeshAsset/MeshView.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/EditorPlugins/Assets/EnginePluginAssets/MeshAsset/MeshView.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/EditorPlugins/Assets/EnginePluginAssets/MeshAsset/MeshView.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
#include <EnginePluginAssets/EnginePluginAssetsPCH.h> #include <EnginePluginAssets/MeshAsset/MeshContext.h> #include <EnginePluginAssets/MeshAsset/MeshView.h> #include <RendererCore/Debug/DebugRenderer.h> #include <RendererCore/RenderWorld/RenderWorld.h> #include <RendererFoundation/Resources/Buffer.h> ezMeshViewCont...
37.47191
147
0.746327
Tekh-ops
b42643e05a858492cc25fc3056cb58f131dbc0d1
7,111
cpp
C++
Sources/Tools/EPI/Document/DocumentModel.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
Sources/Tools/EPI/Document/DocumentModel.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
Sources/Tools/EPI/Document/DocumentModel.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * 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 ...
42.580838
189
0.61651
benkaraban
b42af4eb28253ed0b82ea16a766861c58fb13614
3,387
cpp
C++
Code/GraphMol/FileParsers/testExtendedStereoParsing.cpp
jungb-basf/rdkit
5d0eb77c655b6ba91f0891e7dc51e658aced3d00
[ "BSD-3-Clause" ]
4
2020-12-29T14:52:15.000Z
2021-08-28T08:12:45.000Z
Code/GraphMol/FileParsers/testExtendedStereoParsing.cpp
jungb-basf/rdkit
5d0eb77c655b6ba91f0891e7dc51e658aced3d00
[ "BSD-3-Clause" ]
9
2016-08-08T13:53:40.000Z
2020-03-08T05:52:07.000Z
Code/GraphMol/FileParsers/testExtendedStereoParsing.cpp
bp-kelley/rdkit
e0de7c9622ce73894b1e7d9568532f6d5638058a
[ "BSD-3-Clause" ]
4
2020-03-30T04:00:53.000Z
2021-02-25T23:11:52.000Z
// // Copyright (C) 2018 T5 Informatics GmbH // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // #include <RDGeneral/RDLog.h> #include <GraphMol/...
31.361111
86
0.674343
jungb-basf
b42cde325aa346417b0947f8751ccdc30ea6d230
11,898
cpp
C++
Sources/UI/Controller/window_manager.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
Sources/UI/Controller/window_manager.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
Sources/UI/Controller/window_manager.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
/* ** ClanLib SDK ** Copyright (c) 1997-2016 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
31.39314
151
0.726425
ValtoFrameworks
b4329ed890ebebfbb0ee4738c654c77080fe7027
25,786
cpp
C++
_studio/shared/umc/codec/mpeg2_dec/src/umc_mpeg2_dec.cpp
TianmiChen/MediaSDK-1
cff8ca88a06609685d37d86d47a31777448aaad8
[ "MIT" ]
1
2019-09-26T23:47:58.000Z
2019-09-26T23:47:58.000Z
_studio/shared/umc/codec/mpeg2_dec/src/umc_mpeg2_dec.cpp
TianmiChen/MediaSDK-1
cff8ca88a06609685d37d86d47a31777448aaad8
[ "MIT" ]
null
null
null
_studio/shared/umc/codec/mpeg2_dec/src/umc_mpeg2_dec.cpp
TianmiChen/MediaSDK-1
cff8ca88a06609685d37d86d47a31777448aaad8
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2018 Intel Corporation // // 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...
27.608137
118
0.65202
TianmiChen
b43513f0f0e91788d1f66ddd4b5ffaa59094f6a0
1,313
hpp
C++
src/Window.hpp
DomRe/eBookReaderNX
991121aa7c9ee508496f7c75fb7a8a0965b7b28b
[ "Apache-2.0" ]
14
2019-02-10T12:18:44.000Z
2021-03-29T04:24:55.000Z
src/Window.hpp
DomRe/eBookReaderNX
991121aa7c9ee508496f7c75fb7a8a0965b7b28b
[ "Apache-2.0" ]
1
2018-09-18T17:56:16.000Z
2018-09-19T02:47:06.000Z
src/Window.hpp
reworks/eBookReaderNX
991121aa7c9ee508496f7c75fb7a8a0965b7b28b
[ "Apache-2.0" ]
5
2019-05-21T19:15:58.000Z
2021-03-16T15:49:24.000Z
/// /// eBookReaderNX /// reworks /// Apache 2.0 License. /// #ifndef EBRNX_WINDOW_HPP_ #define EBRNX_WINDOW_HPP_ #include <SDL2/SDL_video.h> #include <SDL2/SDL_render.h> /// /// The Window class to hold data about /// an SDL_Window object. /// class Window { public: /// /// \brief Default constructor. /// /// m...
16.209877
112
0.635187
DomRe
b438acae0c9ead6ca468b517c90c915689f526a1
2,897
cc
C++
libs/quadwild/libs/CoMISo/Solver/UMFPACKSolverT.cc
Pentacode-IAFA/Quad-Remeshing
f8fd4c10abf1c54656b38a00b8a698b952a85fe2
[ "Apache-2.0" ]
29
2019-11-27T00:43:07.000Z
2020-02-25T14:35:54.000Z
libs/quadwild/libs/CoMISo/Solver/UMFPACKSolverT.cc
Pentacode-IAFA/Quad-Remeshing
f8fd4c10abf1c54656b38a00b8a698b952a85fe2
[ "Apache-2.0" ]
1
2018-11-14T23:14:58.000Z
2018-11-14T23:14:58.000Z
libs/quadwild/libs/CoMISo/Solver/UMFPACKSolverT.cc
Pentacode-IAFA/Quad-Remeshing
f8fd4c10abf1c54656b38a00b8a698b952a85fe2
[ "Apache-2.0" ]
4
2019-11-27T05:19:03.000Z
2020-03-23T22:49:53.000Z
/*===========================================================================*\ * * * CoMISo * * Copyright (C) 2008-2009 by Computer Graphics Group, RWTH Aachen * * ...
35.765432
81
0.409734
Pentacode-IAFA
b4393706b290aa03365cdc16b6bc7c82636511e6
11,804
cpp
C++
src/graphics/ModelIO.cpp
caseymcc/Vorb
a2782bbff662c226002fa69bae688a44770deaf4
[ "MIT" ]
1
2018-10-17T06:37:17.000Z
2018-10-17T06:37:17.000Z
src/graphics/ModelIO.cpp
caseymcc/Vorb
a2782bbff662c226002fa69bae688a44770deaf4
[ "MIT" ]
null
null
null
src/graphics/ModelIO.cpp
caseymcc/Vorb
a2782bbff662c226002fa69bae688a44770deaf4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "graphics/ModelIO.h" namespace vorb { namespace graphics { namespace impl { static const cString traverseWhitespace(const cString s) { while (true) { switch (*s) { case 0: return nullptr...
32.698061
138
0.439851
caseymcc
b4397660f7c8d9836e9f032121cc4919240858ac
1,842
cpp
C++
src/engine/components/vgui2/dme_controls/AttributeMDLPickerPanel.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/components/vgui2/dme_controls/AttributeMDLPickerPanel.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/components/vgui2/dme_controls/AttributeMDLPickerPanel.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //===========================================================================// #include "dme_controls/AttributeMDLPickerPanel.h" #include "filesystem.h" #include "vgui_controls/Button.h" #include "vgu...
32.315789
108
0.494571
cstom4994
b43ade6a4c58e29260b9245364e029d2d35704ca
5,574
hpp
C++
include/htcw_data.hpp
codewitch-honey-crisis/htcw_data
2cbbc318441a7380f31e60adbf3e1cf994034e5b
[ "MIT" ]
null
null
null
include/htcw_data.hpp
codewitch-honey-crisis/htcw_data
2cbbc318441a7380f31e60adbf3e1cf994034e5b
[ "MIT" ]
null
null
null
include/htcw_data.hpp
codewitch-honey-crisis/htcw_data
2cbbc318441a7380f31e60adbf3e1cf994034e5b
[ "MIT" ]
null
null
null
#pragma once #include <stdlib.h> namespace data { // dynamic vector of scalar (constructorless) data template <typename T> class simple_vector final { void* (*m_allocator)(size_t); void* (*m_reallocator)(void*, size_t); void (*m_deallocator)(void*); size_t m_size; // size in...
34.196319
103
0.468425
codewitch-honey-crisis
b44449bef010ac258d84c8d0dca4ff34c38743ee
5,369
cpp
C++
tests/ocltst/module/gl/OCLGLTexture.cpp
RadeonOpenCompute/ROCm-OpenCL-Runtime
12d926d06d36fe74876a82f8f8e1ce8ce7902728
[ "MIT" ]
137
2017-05-12T14:49:38.000Z
2022-02-21T06:46:40.000Z
tests/ocltst/module/gl/OCLGLTexture.cpp
RadeonOpenCompute/ROCm-OpenCL-Runtime
12d926d06d36fe74876a82f8f8e1ce8ce7902728
[ "MIT" ]
103
2017-05-12T23:07:28.000Z
2022-03-31T14:49:32.000Z
tests/ocltst/module/gl/OCLGLTexture.cpp
RadeonOpenCompute/ROCm-OpenCL-Runtime
12d926d06d36fe74876a82f8f8e1ce8ce7902728
[ "MIT" ]
53
2017-05-13T11:36:32.000Z
2022-03-27T09:29:42.000Z
/* Copyright (c) 2010 - 2021 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 in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
37.027586
80
0.57683
RadeonOpenCompute
b445868c69249d83885c0cb2a3f46d8d4d99c876
83,691
cpp
C++
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_MethodImpl.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_MethodImpl.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_MethodImpl.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDMacroEng_MethodImpl.cpp // // AUTHOR: Dean Roddey // // CREATED: 01/12/2003 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://op...
36.562254
99
0.455294
eudora-jia
b445e2dc9ca4ec109952580e39c90db270548522
2,410
cpp
C++
Exams/Regular Exam - 12 September 2021/03. Diablo/Barbarian.cpp
AleksievAleksandar/Cpp-OOP
03b95e8378cc64e52bf49b4c719b5b1f2cd332a1
[ "MIT" ]
null
null
null
Exams/Regular Exam - 12 September 2021/03. Diablo/Barbarian.cpp
AleksievAleksandar/Cpp-OOP
03b95e8378cc64e52bf49b4c719b5b1f2cd332a1
[ "MIT" ]
null
null
null
Exams/Regular Exam - 12 September 2021/03. Diablo/Barbarian.cpp
AleksievAleksandar/Cpp-OOP
03b95e8378cc64e52bf49b4c719b5b1f2cd332a1
[ "MIT" ]
null
null
null
#include "Barbarian.h" #include <iostream> #include <sstream> #include <string> Barbarian::Barbarian(const VitalData& vitalData) : defendsTurns(1) { this->_name = BARBARIAN_NAME; this->_vitalData = vitalData; } void Barbarian::readSpellFromInput(SpellType spellType) { switch (spellType) { cas...
26.777778
138
0.679253
AleksievAleksandar
b447d6c8653f4c4434ae41d81964325f6c402d0f
3,561
cpp
C++
src/presolve/PresolveAnalysis.cpp
ogmundur/HiGHS
ed3a64f589b3a1962783caef793dc20b158210d4
[ "MIT" ]
null
null
null
src/presolve/PresolveAnalysis.cpp
ogmundur/HiGHS
ed3a64f589b3a1962783caef793dc20b158210d4
[ "MIT" ]
null
null
null
src/presolve/PresolveAnalysis.cpp
ogmundur/HiGHS
ed3a64f589b3a1962783caef793dc20b158210d4
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the HiGHS linear optimization suite */ /* */ /* Written an...
46.246753
79
0.625948
ogmundur
b448d6988070721fc195dbe00ce828972096cdeb
1,307
cpp
C++
src/ColumnsImpl.cpp
zhangf911/SPLib
57ae498f61abe9c14670a974340251cd67ca99fb
[ "BSD-2-Clause" ]
1
2015-11-06T03:40:44.000Z
2015-11-06T03:40:44.000Z
src/ColumnsImpl.cpp
amyvmiwei/SPLib
57ae498f61abe9c14670a974340251cd67ca99fb
[ "BSD-2-Clause" ]
null
null
null
src/ColumnsImpl.cpp
amyvmiwei/SPLib
57ae498f61abe9c14670a974340251cd67ca99fb
[ "BSD-2-Clause" ]
1
2020-12-16T03:20:45.000Z
2020-12-16T03:20:45.000Z
// File: ColumnsImpl.cpp // ColumnsImpl implementation file // #include "ColumnsImpl.h" #include "IndexLimits.h" #include "Util.h" #include "splibint.h" namespace splib { Column& ColumnsImpl::get(int index) { if (!IndexLimits::validateColumn(index)) { throw IllegalArgumentException(); }...
21.080645
49
0.648049
zhangf911
b4506fd678ceca1db0f7d07f686bafc87d988133
6,542
cpp
C++
src/plugins_pkgs/car_plugin/src/carlikerobot.cpp
ZeroTheRed/Simulator
d3e05cfe9cb8ac33abcfb4b501f1b8da2ff5ed67
[ "BSD-3-Clause" ]
1
2021-11-16T16:53:25.000Z
2021-11-16T16:53:25.000Z
src/plugins_pkgs/car_plugin/src/carlikerobot.cpp
ZeroTheRed/Simulator
d3e05cfe9cb8ac33abcfb4b501f1b8da2ff5ed67
[ "BSD-3-Clause" ]
4
2021-11-12T09:06:19.000Z
2021-12-09T14:35:38.000Z
src/plugins_pkgs/car_plugin/src/carlikerobot.cpp
ZeroTheRed/Simulator
d3e05cfe9cb8ac33abcfb4b501f1b8da2ff5ed67
[ "BSD-3-Clause" ]
10
2021-11-25T10:39:51.000Z
2022-03-09T10:21:26.000Z
#include "carlikerobot.hpp" #define DEBUG false namespace gazebo{ namespace carlikerobot{ /* axletrack : the distance between the wheels as you look the car frontal wheelbase : the distance between the wheels as you look the car from side */ /// FRONT CFrontWheelsSpee...
45.430556
155
0.503821
ZeroTheRed
b4530107b7876bf81974cc75b2e58f5fa33d34ca
3,469
cpp
C++
SpaceFighter/main.cpp
issuran/SpaceFighter
d0ff09bcb4d91b003d9dba3a7386e39d5471bc00
[ "MIT" ]
7
2017-11-10T13:04:24.000Z
2019-06-04T19:11:26.000Z
SpaceFighter/main.cpp
issuran/SpaceFighter
d0ff09bcb4d91b003d9dba3a7386e39d5471bc00
[ "MIT" ]
null
null
null
SpaceFighter/main.cpp
issuran/SpaceFighter
d0ff09bcb4d91b003d9dba3a7386e39d5471bc00
[ "MIT" ]
null
null
null
#include "SDL.h" #include "Game.h" #include "Splash.h" #include "MainMenu.h" #include "GameOver.h" Game *game = nullptr; Splash *splash = nullptr; MainMenu *main_menu = nullptr; GameOver *game_over = nullptr; SDL_Window *window = nullptr; SDL_Renderer* renderer = nullptr; SDL_Surface* surfaces = nullptr; SDL_Window...
18.550802
106
0.6806
issuran
b45538c27aeaa03dfbc5201dddd787f282ae999f
1,201
hpp
C++
api-cpp-grpc/src/CloudGRPCMacros.hpp
nuralogix/dfx-api-client-cpp
6b45307ddf4b0036c107eebd7e8915f6c501c3b0
[ "MIT" ]
null
null
null
api-cpp-grpc/src/CloudGRPCMacros.hpp
nuralogix/dfx-api-client-cpp
6b45307ddf4b0036c107eebd7e8915f6c501c3b0
[ "MIT" ]
null
null
null
api-cpp-grpc/src/CloudGRPCMacros.hpp
nuralogix/dfx-api-client-cpp
6b45307ddf4b0036c107eebd7e8915f6c501c3b0
[ "MIT" ]
null
null
null
// Copyright (c) Nuralogix. All rights reserved. Licensed under the MIT license. // See LICENSE.txt in the project root for license information. #ifndef DFX_API_CLOUD_GRPC_MACROS_H #define DFX_API_CLOUD_GRPC_MACROS_H #else // This header should ONLY be used from source files and is not included from headers // So this...
60.05
120
0.422981
nuralogix
b45c624a480605f419d51f6820c67637dc6fb2da
16,961
cpp
C++
src/tools/wasm-ctor-eval.cpp
brion/binaryen
977aa84f357d051b0ddc60f204c6b743463c3c6f
[ "Apache-2.0" ]
null
null
null
src/tools/wasm-ctor-eval.cpp
brion/binaryen
977aa84f357d051b0ddc60f204c6b743463c3c6f
[ "Apache-2.0" ]
null
null
null
src/tools/wasm-ctor-eval.cpp
brion/binaryen
977aa84f357d051b0ddc60f204c6b743463c3c6f
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017 WebAssembly Community Group participants * * 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...
34.473577
80
0.638347
brion
b45c76c159dde7b08904e8bde372584caa32f7ef
270
cpp
C++
Command/InputHandler.cpp
Notidman/DesignPatterns
85f51dccde0f435b8837a6e985f16bbbe6165317
[ "MIT" ]
null
null
null
Command/InputHandler.cpp
Notidman/DesignPatterns
85f51dccde0f435b8837a6e985f16bbbe6165317
[ "MIT" ]
1
2022-02-02T13:09:27.000Z
2022-02-02T13:09:27.000Z
Command/InputHandler.cpp
Notidman/DesignPatterns
85f51dccde0f435b8837a6e985f16bbbe6165317
[ "MIT" ]
null
null
null
#include "InputHandler.hpp" void InputHandler::handleInput() { if(isPressed(BUTTON_X)) buttonX_->execute(); else if(isPressed(BUTTON_Y)) buttonY_->execute(); else if(isPressed(BUTTON_B)) buttonB_->execute(); else if(isPressed(BUTTON_A)) buttonA_->execute(); }
27
51
0.72963
Notidman
b45ea1aa735dad2ca78b59ed4def5f3f36398ef4
637
hpp
C++
impl/inc/defs.hpp
HMNoureldin/EmbeddedIntentRecognizer
6684a6724c982299973f4f29673915b261803a07
[ "Unlicense" ]
null
null
null
impl/inc/defs.hpp
HMNoureldin/EmbeddedIntentRecognizer
6684a6724c982299973f4f29673915b261803a07
[ "Unlicense" ]
null
null
null
impl/inc/defs.hpp
HMNoureldin/EmbeddedIntentRecognizer
6684a6724c982299973f4f29673915b261803a07
[ "Unlicense" ]
null
null
null
#ifndef _DEFS_H_ #define _DEFS_H_ #include<string> /// Different types of intents that system can recognize. enum IntentType { NONE, WEATHER, FACT}; /// Command for clearing the CMD. namespace Cmd{ const std::string clear_cmd = "\033[2J\033[1;1H"; } /// Different types of intents messages. namespace Intents { ...
27.695652
75
0.67033
HMNoureldin
b45eb090c56ac8649c230f76dba61ee9dd102455
3,176
hpp
C++
src/xray/Luabind/luabind/error.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/xray/Luabind/luabind/error.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/xray/Luabind/luabind/error.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
// Copyright (c) 2003 Daniel Wallin and Arvid Norberg // 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,...
34.150538
77
0.759446
OLR-xray
b4621d86929f24ee2360a3f9732f587d50f0d0f4
39,981
cpp
C++
tests/SelfTest/UsageTests/Matchers.tests.cpp
kjx98/Catch2
e0808bd18607ccfc14f48eab8044e1bb877bb7cc
[ "BSL-1.0" ]
1
2020-11-10T20:19:01.000Z
2020-11-10T20:19:01.000Z
tests/SelfTest/UsageTests/Matchers.tests.cpp
kjx98/Catch2
e0808bd18607ccfc14f48eab8044e1bb877bb7cc
[ "BSL-1.0" ]
null
null
null
tests/SelfTest/UsageTests/Matchers.tests.cpp
kjx98/Catch2
e0808bd18607ccfc14f48eab8044e1bb877bb7cc
[ "BSL-1.0" ]
null
null
null
/* * 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) */ #include <catch2/catch_test_macros.hpp> #include <catch2/matchers/catch_matchers_exception.hpp> #include <catch2/matchers/catch_matchers_floating.hpp> #inclu...
38.741279
127
0.563017
kjx98
b463cfb4943abd37ed0ec839760eb7b1e73428d3
2,567
cpp
C++
codeforces/E - Kefa and Watch/Wrong answer on test 7 (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/E - Kefa and Watch/Wrong answer on test 7 (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/E - Kefa and Watch/Wrong answer on test 7 (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Nov/16/2018 17:20 * solution_verdict: Wrong answer on test 7 language: GNU C++14 * run...
25.67
111
0.479548
kzvd4729
b46631edc9d66ac6944cd72ecfd73627d081e267
8,628
hpp
C++
include/primer/bound_function.hpp
cbeck88/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
14
2016-07-27T18:14:47.000Z
2018-06-15T19:54:10.000Z
include/primer/bound_function.hpp
garbageslam/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
5
2016-11-01T23:20:35.000Z
2016-11-29T21:09:53.000Z
include/primer/bound_function.hpp
cbeck88/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
2
2021-02-07T03:42:22.000Z
2021-02-10T14:12:00.000Z
// (C) Copyright 2015 - 2018 Christopher Beck // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once /*** * A bound_function is a reference to an object of function type in a lua VM. * * This is a safe and co...
34.374502
80
0.642211
cbeck88
b4665e38ca3d59babe575d1a6fb6e462c5de443c
5,120
cc
C++
cpp/Closest_pair_points.cc
iskhanba/epicode
fda752e5e016ab64011083450be91bec9ee8358a
[ "MIT" ]
null
null
null
cpp/Closest_pair_points.cc
iskhanba/epicode
fda752e5e016ab64011083450be91bec9ee8358a
[ "MIT" ]
null
null
null
cpp/Closest_pair_points.cc
iskhanba/epicode
fda752e5e016ab64011083450be91bec9ee8358a
[ "MIT" ]
null
null
null
// Copyright (c) 2015 Elements of Programming Interviews. All rights reserved. #include <algorithm> #include <cassert> #include <cmath> #include <iostream> #include <limits> #include <random> #include <utility> #include <vector> using std::cout; using std::default_random_engine; using std::endl; using std::get; using...
31.411043
81
0.606836
iskhanba