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
7ae81b78415046d120da9add591a41dd5c23c326
463
hpp
C++
src/renderpass.hpp
nicokoch/vkBasalt
39cec21d26e096f0dd4d0c3d446f82e20841d365
[ "Zlib" ]
null
null
null
src/renderpass.hpp
nicokoch/vkBasalt
39cec21d26e096f0dd4d0c3d446f82e20841d365
[ "Zlib" ]
null
null
null
src/renderpass.hpp
nicokoch/vkBasalt
39cec21d26e096f0dd4d0c3d446f82e20841d365
[ "Zlib" ]
null
null
null
#ifndef RENDERPASS_HPP_INCLUDED #define RENDERPASS_HPP_INCLUDED #include <vector> #include <fstream> #include <string> #include <iostream> #include <vector> #include "vulkan/vulkan.h" #include "vulkan/vk_layer.h" #include "vulkan/vk_layer_dispatch_table.h" namespace vkBasalt { void createRenderPass(const VkDevice...
22.047619
143
0.794816
nicokoch
7aeacb01491a4f23aa39b4ba127bef6c872744eb
14,682
hh
C++
net.ssa/xrLC/OpenMesh/Core/Mesh/Kernels/Common/AttribKernelT.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
xrLC/OpenMesh/Core/Mesh/Kernels/Common/AttribKernelT.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
xrLC/OpenMesh/Core/Mesh/Kernels/Common/AttribKernelT.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
/*===========================================================================*\ * * * OpenMesh * * Copyright (C) 2001-2003 by Computer Graphics Group, RWTH Aachen * ...
31.040169
80
0.551424
ixray-team
7aec20a3863be1448d380a37dd1ff7381a4ef18e
1,141
cpp
C++
test/0005_specifers.pp.cpp
WCIofQMandRA/global-variable
62e6b3f6e2f714f6e0de06027b2d48716635d109
[ "FSFAP" ]
4
2021-02-03T03:28:21.000Z
2021-12-08T05:39:53.000Z
test/0005_specifers.pp.cpp
WCIofQMandRA/global-variable
62e6b3f6e2f714f6e0de06027b2d48716635d109
[ "FSFAP" ]
null
null
null
test/0005_specifers.pp.cpp
WCIofQMandRA/global-variable
62e6b3f6e2f714f6e0de06027b2d48716635d109
[ "FSFAP" ]
null
null
null
//Author: 张子辰 //This file is in public domain. #include <fstream> #include <string> #include <vector> #include <algorithm> #include <random> using namespace std; int main() { vector<string> spec={"extern","static","const","volatile","thread_local"}; mt19937_64 rand64; rand64.seed(random_device()()); ofstream test(...
20.017544
83
0.606486
WCIofQMandRA
7aeeff2f924b6bb37decd3dab1920be1b084cf55
401
hpp
C++
include/amy/detail/mariadb_types.hpp
finito/amy
58d97d443a0dd3165da42e02b1608a52b874afa0
[ "MIT" ]
null
null
null
include/amy/detail/mariadb_types.hpp
finito/amy
58d97d443a0dd3165da42e02b1608a52b874afa0
[ "MIT" ]
null
null
null
include/amy/detail/mariadb_types.hpp
finito/amy
58d97d443a0dd3165da42e02b1608a52b874afa0
[ "MIT" ]
null
null
null
#ifndef __AMY_DETAIL_MARIADB_TYPES_HPP__ #define __AMY_DETAIL_MARIADB_TYPES_HPP__ #include <amy/detail/mysql_types.hpp> namespace amy { namespace detail { const int progress_callback = MYSQL_PROGRESS_CALLBACK; const int nonblock = MYSQL_OPT_NONBLOCK; } // namespace detail } // namespace a...
22.277778
63
0.745636
finito
7af045997ffc90272d7bb2c725cd29db3b211da8
760
cpp
C++
qt_course/examples/01_trivial/05_string/main.cpp
matus-chochlik/various
2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b
[ "MIT" ]
1
2020-10-25T12:28:50.000Z
2020-10-25T12:28:50.000Z
qt_course/examples/01_trivial/05_string/main.cpp
matus-chochlik/various
2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b
[ "MIT" ]
null
null
null
qt_course/examples/01_trivial/05_string/main.cpp
matus-chochlik/various
2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b
[ "MIT" ]
null
null
null
#include <QString> #include <QDebug> int main(void) { QString str("ABCDEFGHIJKL"); qDebug() << str; qDebug() << str.size(); qDebug() << str.capacity(); qDebug() << str.contains("XYZ"); qDebug() << str.contains("DEF"); qDebug() << str.indexOf("DEF"); qDebug() << str.indexOf("DEF", 4); qDebug() << str.startsW...
17.674419
64
0.551316
matus-chochlik
7af3e09b74f907712fbd78a40a5af788bf75162b
31,478
hpp
C++
include/sdsl/csa_alphabet_strategy.hpp
wolfee001/sdsl-lite
3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75
[ "BSD-3-Clause" ]
54
2017-03-23T23:10:40.000Z
2022-03-22T14:25:11.000Z
include/sdsl/csa_alphabet_strategy.hpp
wolfee001/sdsl-lite
3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75
[ "BSD-3-Clause" ]
65
2017-05-09T05:28:43.000Z
2021-12-16T13:02:25.000Z
include/sdsl/csa_alphabet_strategy.hpp
wolfee001/sdsl-lite
3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75
[ "BSD-3-Clause" ]
23
2017-03-23T23:11:44.000Z
2022-02-20T22:36:33.000Z
// Copyright (c) 2016, the SDSL Project Authors. All rights reserved. // Please see the AUTHORS file for details. Use of this source code is governed // by a BSD license that can be found in the LICENSE file. /*!\file csa_alphabet_strategy.hpp * \brief csa_alphabet_strategy.hpp includes different strategy classes fo...
31.446553
125
0.612904
wolfee001
7af466f9820e60fd0c05d3e29504c9955c7c9f57
1,947
hpp
C++
gui/include/windows/PokerWin.hpp
JMassing/Pokerbot
40b2e4756fc8ef1be4af4d649deb6035a9774bdc
[ "MIT" ]
1
2021-12-10T06:27:47.000Z
2021-12-10T06:27:47.000Z
gui/include/windows/PokerWin.hpp
JMassing/Pokerbot
40b2e4756fc8ef1be4af4d649deb6035a9774bdc
[ "MIT" ]
null
null
null
gui/include/windows/PokerWin.hpp
JMassing/Pokerbot
40b2e4756fc8ef1be4af4d649deb6035a9774bdc
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "IWindow.hpp" #include "Mapping.hpp" #include "LayoutConfig.hpp" #include "GuiPokerInterface.hpp" #include "PlaceBetWin.hpp" #include "WhoWonWin.hpp" #include "NextRoundWin.hpp" namespace gui { /** \ingroup gui * @class PokerWin * @author Julian Massing (julimassing@gmai...
27.422535
118
0.70416
JMassing
7af8fa1daa6a3d5140a6a87d1af39c6c630dd43b
18,881
cpp
C++
Server/Source/Worker.cpp
ppenguin/audiogridder
4b83a99618f35d7421cd3be36454fe397a5babd3
[ "MIT" ]
null
null
null
Server/Source/Worker.cpp
ppenguin/audiogridder
4b83a99618f35d7421cd3be36454fe397a5babd3
[ "MIT" ]
null
null
null
Server/Source/Worker.cpp
ppenguin/audiogridder
4b83a99618f35d7421cd3be36454fe397a5babd3
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Worker.hpp" #include "KeyAndMouse.hpp" #include "Defaults.hpp" #include "NumberConversion.hpp" #include "App.hpp" #include "CPUInfo.hpp" #ifdef JUCE_MAC #i...
35.827324
115
0.554949
ppenguin
bb03e1887066a1960615a1707d8aeed136896f60
245
hpp
C++
Sources/Dynamics/py_dynamics.hpp
tvieijra/netket
ef3ff32b242f25b6a6ae0f08db1aada85775a2ea
[ "Apache-2.0" ]
10
2019-11-29T02:51:53.000Z
2021-08-14T18:52:33.000Z
Sources/Dynamics/py_dynamics.hpp
tvieijra/netket
ef3ff32b242f25b6a6ae0f08db1aada85775a2ea
[ "Apache-2.0" ]
2
2018-11-04T14:38:01.000Z
2018-11-08T16:56:10.000Z
Sources/Dynamics/py_dynamics.hpp
tvieijra/netket
ef3ff32b242f25b6a6ae0f08db1aada85775a2ea
[ "Apache-2.0" ]
6
2019-12-02T07:29:01.000Z
2021-04-04T21:55:21.000Z
#ifndef NETKET_DYNAMICS_PY_DYNAMICS_HPP #define NETKET_DYNAMICS_PY_DYNAMICS_HPP #include <pybind11/pybind11.h> namespace netket { void AddDynamicsModule(pybind11::module m); } // namespace netket #endif // NETKET_DYNAMICS_PY_DYNAMICS_HPP
18.846154
43
0.816327
tvieijra
bb058adb6b8b268f2c74b06fa0dc1e3069839fc0
704
hpp
C++
pycppad/adfun.hpp
utke1/pycppad
0713cd0fbbce5f4475934adc55a42eac56e4fbb6
[ "Unlicense" ]
15
2015-09-09T04:50:57.000Z
2022-01-18T00:54:33.000Z
pycppad/adfun.hpp
utke1/pycppad
0713cd0fbbce5f4475934adc55a42eac56e4fbb6
[ "Unlicense" ]
1
2016-11-21T03:36:05.000Z
2016-11-23T14:10:46.000Z
pycppad/adfun.hpp
utke1/pycppad
0713cd0fbbce5f4475934adc55a42eac56e4fbb6
[ "Unlicense" ]
7
2016-11-13T02:43:59.000Z
2021-01-11T16:31:04.000Z
# ifndef PYCPPAD_ADFUN_INCLUDED # define PYCPPAD_ADFUN_INCLUDED # include "environment.hpp" namespace pycppad { // ------------------------------------------------------------- // class ADFun<Base> template <class Base> class ADFun{ private: CppAD::ADFun<Base> f_; public: // python constructor call ADFun(...
22
65
0.636364
utke1
bb079fa2509fe771a068f58806656df9f279ad0c
2,387
hpp
C++
exa/internal/exa/detail/io_task.hpp
chronos38/exa
96092b34eebecf55d3fe8280a86fbe63bf546af3
[ "MIT" ]
null
null
null
exa/internal/exa/detail/io_task.hpp
chronos38/exa
96092b34eebecf55d3fe8280a86fbe63bf546af3
[ "MIT" ]
null
null
null
exa/internal/exa/detail/io_task.hpp
chronos38/exa
96092b34eebecf55d3fe8280a86fbe63bf546af3
[ "MIT" ]
null
null
null
#pragma once #include <exa/task.hpp> #include <exa/enum_flag.hpp> #include <future> #include <any> #include <tuple> namespace exa { namespace detail { class io_task { public: template <class Result, class Function, class = std::enable_if_t<!std::is_void_v<Result>>> ...
28.759036
102
0.408463
chronos38
bb0b6025e027ae40999759fb880597e0c98f416a
15,325
cpp
C++
D&D Wrath of Silumgar/Motor2D/ctSettings.cpp
Wilhelman/DD-Shadow-over-Mystara
d4303ad87cc442414c0facb71ce9cd5564b51039
[ "MIT" ]
3
2019-06-21T04:40:16.000Z
2020-07-07T13:09:53.000Z
D&D Wrath of Silumgar/Motor2D/ctSettings.cpp
Wilhelman/DD-Shadow-over-Mystara
d4303ad87cc442414c0facb71ce9cd5564b51039
[ "MIT" ]
56
2018-05-07T10:30:08.000Z
2018-05-15T08:27:06.000Z
D&D Wrath of Silumgar/Motor2D/ctSettings.cpp
Wilhelman/DD-Shadow-over-Mystara
d4303ad87cc442414c0facb71ce9cd5564b51039
[ "MIT" ]
3
2019-01-03T17:24:57.000Z
2019-05-04T08:49:12.000Z
#include "ctDefs.h" #include "ctLog.h" #include "ctApp.h" #include "ctInput.h" #include "ctTextures.h" #include "ctAudio.h" #include "ctRender.h" #include "ctWindow.h" #include "ctEntities.h" #include "ctSettings.h" #include "ctFadeToBlack.h" #include "ctMainMenu.h" ctSettings::ctSettings() : ctModule() { name = "...
33.904867
205
0.697292
Wilhelman
bb119acc860c8087b6c7dfb2c2a44e333452c2a5
5,039
hpp
C++
Array/Array.hpp
PrathameshThorat008/Advance-ADT
d89ccc777624bf8cfcb7144980c14efce919084f
[ "MIT" ]
null
null
null
Array/Array.hpp
PrathameshThorat008/Advance-ADT
d89ccc777624bf8cfcb7144980c14efce919084f
[ "MIT" ]
1
2022-01-23T06:53:08.000Z
2022-03-18T06:41:02.000Z
Array/Array.hpp
PrathameshThorat008/Advance-ADT
d89ccc777624bf8cfcb7144980c14efce919084f
[ "MIT" ]
null
null
null
#pragma once #include <stdlib.h> #include <algorithm> #include <iostream> using namespace std; template <class T> class Array { private: T *arr; public: int length; Array() : length(0), arr((T *)malloc(sizeof(T) * length)){}; Array(Array<T> *arr2) : length(0), arr((T *)malloc(sizeof(T) * lengt...
18.732342
64
0.372495
PrathameshThorat008
bb144a48837ce3d7314a9db645fa243a4980301d
1,721
cpp
C++
test/local_search/2_local_search/2_local_search_test.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/local_search/2_local_search/2_local_search_test.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/local_search/2_local_search/2_local_search_test.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
1
2021-02-24T06:23:56.000Z
2021-02-24T06:23:56.000Z
//======================================================================= // Copyright (c) // // 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) //====================================================================...
28.683333
77
0.63742
Kommeren
bb1a1c710bace271469ed546b4ceb4e039e0539e
2,487
cpp
C++
framework/src/manager/TReadoutBoard.cpp
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
framework/src/manager/TReadoutBoard.cpp
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
framework/src/manager/TReadoutBoard.cpp
AudreyFrancisco/MultiLadderOperation
fd6fefd616d73487835c31bc9916bbd8490d1864
[ "BSD-4-Clause" ]
null
null
null
#include <exception> #include <stdexcept> #include "TChipConfig.h" #include "TBoardConfig.h" #include "TReadoutBoard.h" using namespace std; //___________________________________________________________________ TReadoutBoard::TReadoutBoard() : TVerbosity() { } //______________________________________________________...
31.481013
95
0.71532
AudreyFrancisco
bb1d10516e634fb98b369a62d7b4a3ed741e5018
40,219
cpp
C++
source/Library/System/Environment.cpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
source/Library/System/Environment.cpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
source/Library/System/Environment.cpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
// ------------------------------------------------------------------------------------------------ #include "Library/System/Environment.hpp" // ------------------------------------------------------------------------------------------------ #include <cctype> #include <cstdlib> #include <cstring> #include <utility> /...
33.266336
104
0.520823
dracc
bb32644997946e6a4025f9719b3aa0c385636be7
5,265
cpp
C++
source/GeomUtils.cpp
sindney/nest3d-cpp
033575364c14a48499ddbb0cbf489b7e72b0d9b7
[ "MIT" ]
2
2018-01-11T13:00:14.000Z
2018-01-12T02:02:16.000Z
source/GeomUtils.cpp
sindney/nest3d-cpp
033575364c14a48499ddbb0cbf489b7e72b0d9b7
[ "MIT" ]
null
null
null
source/GeomUtils.cpp
sindney/nest3d-cpp
033575364c14a48499ddbb0cbf489b7e72b0d9b7
[ "MIT" ]
null
null
null
#include "GeomUtils.h" namespace nest { using namespace std; bool GeomUtils::BSBS(Vector4 &center0, float radius0, Vector4 &center1, float radius1) { float x = center0.x - center1.x; float y = center0.y - center1.y; float z = center0.z - center1.z; return (x * x + y * y + z * z) <= (radius0 + radius1) * (...
21.577869
137
0.545109
sindney
bb3489a82893551a049dea1fc46cea0e9af79823
123
hpp
C++
addons/qstore/configs/CfgWeapons.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/qstore/configs/CfgWeapons.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/qstore/configs/CfgWeapons.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
class CfgWeapons { class Default; #include "weapons/ExtrasOptions.hpp" #include "weapons/GrenadeOptions.hpp" };
24.6
41
0.715447
SOCOMD
7d68c52fc885cd20e77dda22f02e1852a0bfd277
34
hpp
C++
src/boost_timer_config.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_timer_config.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_timer_config.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/timer/config.hpp>
17
33
0.764706
miathedev
7d6a10c32b20c50b10da41e4826aa291fdccfe00
1,833
cpp
C++
Real-Time Corruptor/BizHawk_RTC/waterbox/pcfx/input/gamepad.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
45
2017-07-24T05:31:06.000Z
2019-03-29T12:23:57.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/pcfx/input/gamepad.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
7
2019-01-14T14:46:46.000Z
2019-01-25T20:57:05.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/pcfx/input/gamepad.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
10
2017-07-24T02:11:43.000Z
2018-12-27T20:49:37.000Z
/******************************************************************************/ /* Mednafen NEC PC-FX Emulation Module */ /******************************************************************************/ /* gamepad.cpp: ** Copyright (C) 2006-2016 Mednafen Team ** ** This program ...
22.62963
80
0.637752
redscientistlabs
7d74521ae7f4718efcf775474f825c935ebbec25
5,312
cpp
C++
test/encoding/encoding_test.cpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
5
2016-04-07T19:49:39.000Z
2021-08-03T05:24:11.000Z
test/encoding/encoding_test.cpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
null
null
null
test/encoding/encoding_test.cpp
zmij/wire
9981eb9ea182fc49ef7243eed26b9d37be70a395
[ "Artistic-2.0" ]
1
2020-12-27T11:47:31.000Z
2020-12-27T11:47:31.000Z
/* * buffers_test.cpp * * Created on: Dec 14, 2015 * Author: zmij */ #include <gtest/gtest.h> #include <wire/encoding/buffers.hpp> #include <wire/encoding/detail/fixed_size_io.hpp> #include <vector> #include <type_traits> namespace wire { namespace encoding { namespace test { template< typename T > class...
32.193939
92
0.677711
zmij
7d7f3382877a0bc88ce686c957f828082adf235f
4,088
cpp
C++
engine/src/core/window.cpp
JackiBackiBoy/ox3d
a96e41b8a6886b0e8fa811e500718b6e457b162d
[ "Apache-2.0" ]
1
2022-02-24T21:19:25.000Z
2022-02-24T21:19:25.000Z
engine/src/core/window.cpp
JackiBackiBoy/ox3d
a96e41b8a6886b0e8fa811e500718b6e457b162d
[ "Apache-2.0" ]
null
null
null
engine/src/core/window.cpp
JackiBackiBoy/ox3d
a96e41b8a6886b0e8fa811e500718b6e457b162d
[ "Apache-2.0" ]
null
null
null
#include "window.h" #include <iostream> #include <vector> #include "rendering/model.h" #include "input/keyboard.h" #include "input/mouse.h" #include "ui/uiFont.h" using namespace ox; Window::Window(const uint32_t& width, const uint32_t& height, const std::string& title) : m_Width(width), m_Height(height), m_Title(t...
27.436242
87
0.705724
JackiBackiBoy
7d817da41723ebe764e2e9a007dd8fc31afdceae
834
hpp
C++
matrix/linear-equation.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
matrix/linear-equation.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
matrix/linear-equation.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#pragma once #include "gauss-elimination.hpp" template <typename mint> vector<vector<mint>> LinearEquation(vector<vector<mint>> a, vector<mint> b) { int H = a.size(), W = a[0].size(); for (int i = 0; i < H; i++) a[i].push_back(b[i]); auto p = GaussElimination(a, W, true); int rank = p.first; for (int i = ...
23.828571
77
0.492806
NachiaVivias
7d8289ffc393b5fbc3922f08f321372494bf5cd6
1,808
cpp
C++
breath/meta/test/is_2s_complement_test.cpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/meta/test/is_2s_complement_test.cpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/meta/test/is_2s_complement_test.cpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
// =========================================================================== // This is an open source non-commercial project. // Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: // http://www.viva64.c...
31.719298
78
0.522677
erez-o
7d82d7de9c6fd605a2ded04360c69ac156858fee
6,507
tcc
C++
flens/blas/closures/level2/mvswitch.tcc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
98
2015-01-26T20:31:37.000Z
2021-09-09T15:51:37.000Z
flens/blas/closures/level2/mvswitch.tcc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
16
2015-01-21T07:43:45.000Z
2021-12-06T12:08:36.000Z
flens/blas/closures/level2/mvswitch.tcc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
31
2015-01-05T08:06:45.000Z
2022-01-26T20:12:00.000Z
/* * Copyright (c) 2012, Michael Lehn * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1) Redistributions of source code must retain the above copyright * notice,...
31.897059
79
0.681113
stip
7d8416cc564537ada66cc5cd7a9ffb15664d331e
1,117
cpp
C++
108.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
1
2018-03-19T05:18:49.000Z
2018-03-19T05:18:49.000Z
108.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
null
null
null
108.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
null
null
null
//2012/03/22 //108.cpp //Run time: 0.008 #include <stdio.h> #define INF -2147483647 int sum[105][105]; int N; int Kadane(int *array){ static int i, max, sum; max = INF; for(sum=i=0; i<N; ++i){ sum += array[i]; if(sum < 0) sum = 0; else if(sum > max) max = sum; } return max; } int K...
16.426471
36
0.482543
abraxaslee
7d88a0fd2e1c42b149dbca54a32cda90d253b8ef
6,971
hpp
C++
sources/SoundSystem/spSoundEffect.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/SoundSystem/spSoundEffect.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/SoundSystem/spSoundEffect.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2020-02-15T09:17:41.000Z
2020-05-21T14:10:40.000Z
/* * Sound effect interface header * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #ifndef __SP_AUDIO_SOUNDEFFECT_H__ #define __SP_AUDIO_SOUNDEFFECT_H__ #include "Base/spStandard.hpp" namespace sp { namespace audio...
30.047414
111
0.744943
rontrek
7d88fb0477e803fc74bdf7a279d3d388c4238830
2,097
cc
C++
code/qttoolkit/qtaddons/attributecontrollerwidget/code/stringcontroller.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/qttoolkit/qtaddons/attributecontrollerwidget/code/stringcontroller.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/qttoolkit/qtaddons/attributecontrollerwidget/code/stringcontroller.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // stringcontroller.cc // (C) 2013-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "stringcontroller.h" #include "game/entity.h"...
27.592105
146
0.533619
gscept
7d8ae07cf9e3aa1686166fff377d61f1fc10dfb5
5,000
cpp
C++
src/detail/LuaPbIntfImpl.cpp
zhuyadong/LuaPbIntf
94b99ffececb455cc6483cfe897f3601d7bcf479
[ "MIT" ]
null
null
null
src/detail/LuaPbIntfImpl.cpp
zhuyadong/LuaPbIntf
94b99ffececb455cc6483cfe897f3601d7bcf479
[ "MIT" ]
null
null
null
src/detail/LuaPbIntfImpl.cpp
zhuyadong/LuaPbIntf
94b99ffececb455cc6483cfe897f3601d7bcf479
[ "MIT" ]
1
2018-09-10T10:26:38.000Z
2018-09-10T10:26:38.000Z
#include "LuaPbIntfImpl.h" #include "MessageSetter.h" #include "MsgToTbl.h" // for LuaException #include <LuaIntf/LuaIntf.h> #include <LuaIntf/LuaState.h> #include <google/protobuf/compiler/importer.h> // for DiskSourceTree #include <google/protobuf/descriptor.h> // for Descriptor #include <google/protobuf/dynamic...
30.674847
88
0.7212
zhuyadong
7d94b5c0e7b53664a967b5e0c84d8e9f59921dbe
737
cpp
C++
source/debugging_main.cpp
Arpit-Rulania/cpp_word_ladder
afa53979c53b6450a245b34fd32d3da41c332dbe
[ "Apache-2.0" ]
null
null
null
source/debugging_main.cpp
Arpit-Rulania/cpp_word_ladder
afa53979c53b6450a245b34fd32d3da41c332dbe
[ "Apache-2.0" ]
null
null
null
source/debugging_main.cpp
Arpit-Rulania/cpp_word_ladder
afa53979c53b6450a245b34fd32d3da41c332dbe
[ "Apache-2.0" ]
null
null
null
#include "comp6771/word_ladder.hpp" #include <iostream> // Please note: it's not good practice to test your code via a main function that does // printing. Instead, you should be using your test folder. This file should only really // be used for more "primitive" debugging as we know that playing solely with test //...
36.85
90
0.68114
Arpit-Rulania
7d96a801fdd861b7c68010bb53e59bc22b9d908b
2,539
cpp
C++
src/presentation/models/movedatamodel.cpp
karagog/GKChess
cda731f5a130255f00002ed9489cd8524ac3d863
[ "Apache-2.0" ]
null
null
null
src/presentation/models/movedatamodel.cpp
karagog/GKChess
cda731f5a130255f00002ed9489cd8524ac3d863
[ "Apache-2.0" ]
null
null
null
src/presentation/models/movedatamodel.cpp
karagog/GKChess
cda731f5a130255f00002ed9489cd8524ac3d863
[ "Apache-2.0" ]
null
null
null
/*Copyright 2014 George Karagoulis Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
26.447917
108
0.701063
karagog
7d99abc7f77057dcb7962a5203a13f669c0a0764
2,434
cpp
C++
auv_guidance/src/min_jerk_trajectory.cpp
osu-uwrt/auv_gnc
40dbe4bda0c00fd41ed714cc2ea82f0c319e5e46
[ "BSD-2-Clause" ]
31
2019-08-07T08:04:51.000Z
2022-03-19T10:03:42.000Z
auv_guidance/src/min_jerk_trajectory.cpp
Chandler-Xu/auv_gnc
9e9efb49fd2a88a76b97c2381bb6138ec7513520
[ "BSD-2-Clause" ]
null
null
null
auv_guidance/src/min_jerk_trajectory.cpp
Chandler-Xu/auv_gnc
9e9efb49fd2a88a76b97c2381bb6138ec7513520
[ "BSD-2-Clause" ]
11
2019-09-17T14:01:01.000Z
2022-03-16T11:45:33.000Z
#include "auv_guidance/min_jerk_trajectory.hpp" #include <iostream> namespace auv_guidance { /** * @param start Initial conditions of position, velocity, and acceleration. * @param end Final conditions of position, velocity, and acceleration * @param duration Duration for which trajectory will occur */ MinJerkTraje...
32.026316
147
0.576828
osu-uwrt
7d9b992cff65f8c1270b72673eb6b215169e04d7
21,873
cc
C++
arcane/ceapart/src/arcane/tests/AMRCartesianMeshTesterModule.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/ceapart/src/arcane/tests/AMRCartesianMeshTesterModule.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/ceapart/src/arcane/tests/AMRCartesianMeshTesterModule.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
34.445669
107
0.579756
JeromeDuboisPro
7da3965752d36faf440c4d8a7e04af250c85ecdd
5,217
cc
C++
rrd/src/factory.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
rrd/src/factory.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
rrd/src/factory.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* ** Copyright 2011-2015 Centreon ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed t...
28.664835
78
0.607437
centreon-lab
7da503332eb9c01fe8a27c3e8922159a23d89e29
752
cpp
C++
baekjoon/11727.cpp
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
baekjoon/11727.cpp
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
baekjoon/11727.cpp
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
/* 11727 : 2×n 타일링 2 URL : https://www.acmicpc.net/problem/11727 Input #1 : 2 Output #1 : 3 Input #2 : 8 Output #2 : 171 Input #3 : 12 Output #3 : 2731 */ #include <iostream> #include <cstring> #define MAX_N 1001 #define MOD 10007 using ...
13.192982
62
0.486702
GihwanKim
7da5cf270a212137dd4cf4cd4675ec43c6c03dec
10,982
hpp
C++
viennagrid/algorithm/geometry.hpp
viennagrid/viennagrid-dev
6e47c8d098a0b691d6b9988f2444cd11d440f4c2
[ "MIT" ]
7
2015-09-13T03:50:58.000Z
2019-06-27T14:24:49.000Z
viennagrid/algorithm/geometry.hpp
viennagrid/viennagrid-dev
6e47c8d098a0b691d6b9988f2444cd11d440f4c2
[ "MIT" ]
null
null
null
viennagrid/algorithm/geometry.hpp
viennagrid/viennagrid-dev
6e47c8d098a0b691d6b9988f2444cd11d440f4c2
[ "MIT" ]
5
2015-07-03T07:14:15.000Z
2021-05-20T00:51:58.000Z
#ifndef VIENNAGRID_ALGORITHM_GEOMETRY_HPP #define VIENNAGRID_ALGORITHM_GEOMETRY_HPP /* ======================================================================= Copyright (c) 2011-2014, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...
36.364238
205
0.664087
viennagrid
7da76807c52c0d703a05f4f77c3cb7c33747c03d
393
cpp
C++
Uva-494 - Kindergarten Counting Game.cpp
Samim-Arefin/UVa-Problem-Solution
8556639b9e718299f4a52920034dfa0264e06f8e
[ "MIT" ]
1
2020-11-02T22:18:22.000Z
2020-11-02T22:18:22.000Z
Uva-494 - Kindergarten Counting Game.cpp
Samim-Arefin/UVa-Problem-Solution
8556639b9e718299f4a52920034dfa0264e06f8e
[ "MIT" ]
null
null
null
Uva-494 - Kindergarten Counting Game.cpp
Samim-Arefin/UVa-Problem-Solution
8556639b9e718299f4a52920034dfa0264e06f8e
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<cstring> #include<cstdio> using namespace std; int main() { int count = 0,k=0; string str; while (getline(cin, str)) { for (int i = 0; i<str.length(); i++) { if ((str[i]>='a' && str[i]<='z') || (str[i]>='A' && str[i]<='Z')) { k = 1; } else { co...
14.035714
68
0.486005
Samim-Arefin
7da86fdc3a6b20c376e6cc5be514261b4b395669
2,448
cpp
C++
src/main.cpp
zhitko/speech-rate-meter
6414215f15c4c21bb5afe4bf16dcdbc4164d8f57
[ "MIT" ]
4
2021-03-14T09:47:58.000Z
2021-08-05T10:15:15.000Z
src/main.cpp
zhitko/speech-rate-meter
6414215f15c4c21bb5afe4bf16dcdbc4164d8f57
[ "MIT" ]
3
2021-05-21T09:39:16.000Z
2022-03-28T13:17:31.000Z
src/main.cpp
zhitko/speech-rate-meter
6414215f15c4c21bb5afe4bf16dcdbc4164d8f57
[ "MIT" ]
1
2021-05-05T21:07:32.000Z
2021-05-05T21:07:32.000Z
#include <QtWidgets/QApplication> #include <QQmlApplicationEngine> #include <QFileInfo> #include <QStringList> #include <QDirIterator> #include <QDir> #include <QDateTime> #include <QTextCodec> #include "backend.h" #include "settings.h" #include "applicationconfig.h" #include "qml/qmlfileinfo.h" #include "qml/qmlpoint...
26.608696
116
0.688725
zhitko
7dad3646cc4818631270df897879dca9c9f89008
288
cpp
C++
Core/Surface.cpp
zgub4/op3d
2a9a01b3b7666f4ef1afcb279530c57126e3baa8
[ "Apache-2.0" ]
2
2017-03-02T15:40:58.000Z
2017-05-19T07:58:05.000Z
Core/Surface.cpp
zgub4/op3d
2a9a01b3b7666f4ef1afcb279530c57126e3baa8
[ "Apache-2.0" ]
2
2017-04-05T01:50:36.000Z
2017-04-06T09:20:12.000Z
Core/Surface.cpp
zgub4/op3d
2a9a01b3b7666f4ef1afcb279530c57126e3baa8
[ "Apache-2.0" ]
null
null
null
#include "Surface.h" #include <stdexcept> void op3d::Surface::create(const VkInstance& instance, GLFWwindow* window) { if (glfwCreateWindowSurface(instance, window, nullptr, replace()) != VK_SUCCESS) { throw std::runtime_error("Failed to create VkSurfaceKHR!"); } }
24
84
0.697917
zgub4
7dafe8bed18d89d649b3d442050edc5458882964
3,276
cpp
C++
lab01/LoadedDie.cpp
jrgoldfinemiddleton/cs162
dea72d9219e748e15a5796177a6b018bcab7816e
[ "BSD-2-Clause" ]
3
2016-11-04T20:18:46.000Z
2019-04-22T05:00:03.000Z
lab01/LoadedDie.cpp
jrgoldfinemiddleton/cs162
dea72d9219e748e15a5796177a6b018bcab7816e
[ "BSD-2-Clause" ]
1
2016-11-04T20:23:25.000Z
2016-11-04T20:23:45.000Z
lab01/LoadedDie.cpp
jrgoldfinemiddleton/cs162
dea72d9219e748e15a5796177a6b018bcab7816e
[ "BSD-2-Clause" ]
6
2015-12-25T16:14:46.000Z
2019-04-22T05:00:04.000Z
/********************************************************************* ** Program Filename: LoadedDie.cpp ** Author: Jason Goldfine-Middleton ** Date: 09/26/15 ** Description: The LoadedDie class implementation file. ** Input: N/A ** Output: N/A *******************************************************************...
30.90566
71
0.502137
jrgoldfinemiddleton
7db68987b9886e429db35e11547376b8bfd58222
6,683
cpp
C++
plugins/src/amxinfo.cpp
SL-RP/PawnPlus
be9c7bf801d4338516f930817d295f2a51754bdc
[ "MIT" ]
79
2018-03-07T22:49:20.000Z
2022-03-31T04:55:30.000Z
plugins/src/amxinfo.cpp
SL-RP/PawnPlus
be9c7bf801d4338516f930817d295f2a51754bdc
[ "MIT" ]
45
2018-07-13T20:57:40.000Z
2022-02-01T17:55:34.000Z
plugins/src/amxinfo.cpp
SL-RP/PawnPlus
be9c7bf801d4338516f930817d295f2a51754bdc
[ "MIT" ]
29
2018-03-23T08:22:02.000Z
2022-02-13T22:59:50.000Z
#include "amxinfo.h" #include "natives.h" #include "modules/tags.h" #include "modules/amxutils.h" #include <unordered_map> #include "subhook/subhook.h" #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> #else #include <signal.h> #include <setjmp.h> #endif struct natives_extra : public amx::extra { nativ...
21.983553
130
0.679635
SL-RP
7dbc6963058fa5fddf6d30ec2fbcd352cf7c7db9
655
cpp
C++
qt-mvvm/source/libmvvm_model/mvvm/model/datarole.cpp
seaCheng/animation-
89a0cb0efbcfea202965a5851979ae6f1b67f8f0
[ "BSD-3-Clause" ]
6
2021-12-08T03:09:47.000Z
2022-02-24T03:51:14.000Z
qt-mvvm/source/libmvvm_model/mvvm/model/datarole.cpp
seaCheng/animation-
89a0cb0efbcfea202965a5851979ae6f1b67f8f0
[ "BSD-3-Clause" ]
null
null
null
qt-mvvm/source/libmvvm_model/mvvm/model/datarole.cpp
seaCheng/animation-
89a0cb0efbcfea202965a5851979ae6f1b67f8f0
[ "BSD-3-Clause" ]
null
null
null
// ************************************************************************** // // // Model-view-view-model framework for large GUI applications // //! @license GNU General Public License v3 or higher (see COPYING) //! @authors see AUTHORS // // ********************************************************************...
31.190476
85
0.540458
seaCheng
7dbe880049933ad81ebb8398d21d1dd1d6bf12ef
486
cpp
C++
Game/Source/GargoyleBattle_Dungeon_3.cpp
aNnAm2606/PROJECT-II-BAKARA-SAN
84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f
[ "MIT" ]
null
null
null
Game/Source/GargoyleBattle_Dungeon_3.cpp
aNnAm2606/PROJECT-II-BAKARA-SAN
84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f
[ "MIT" ]
7
2022-03-19T21:14:34.000Z
2022-03-19T21:53:13.000Z
Game/Source/GargoyleBattle_Dungeon_3.cpp
aNnAm2606/PROJECT-II-BAKARA-SAN
84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f
[ "MIT" ]
1
2022-03-08T12:25:02.000Z
2022-03-08T12:25:02.000Z
#include "GargoyleBattle_Dungeon_3.h" #include "App.h" #include "BattleScene.h" #include "TownScene.h" GargoyleBattle_Dungeon_3::GargoyleBattle_Dungeon_3() { } GargoyleBattle_Dungeon_3::~GargoyleBattle_Dungeon_3() { } void GargoyleBattle_Dungeon_3::SetBattlefield() { app->battleScene->SetNextScene(m_OriginScene); ...
25.578947
82
0.798354
aNnAm2606
7dc4808bd90cc71a1087549443b89edad2c30a9d
6,563
cpp
C++
Developments/solidity-develop/test/libsolidity/JSONCompiler.cpp
jansenbarabona/NFT-Game-Development
49bf6593925123f0212dac13badd609be3866561
[ "MIT" ]
null
null
null
Developments/solidity-develop/test/libsolidity/JSONCompiler.cpp
jansenbarabona/NFT-Game-Development
49bf6593925123f0212dac13badd609be3866561
[ "MIT" ]
null
null
null
Developments/solidity-develop/test/libsolidity/JSONCompiler.cpp
jansenbarabona/NFT-Game-Development
49bf6593925123f0212dac13badd609be3866561
[ "MIT" ]
null
null
null
/* This file is part of solidity. solidity 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 3 of the License, or (at your option) any later version. solidity is distributed in the hope that i...
31.401914
115
0.705622
jansenbarabona
7dc6130c25cc81c91c2ab47777fdc7ae10dee10c
308
cpp
C++
src/functions.cpp
fangzhou-xie/decimal
9439bffda0cc8bad18f0be971788516ff1f5520c
[ "MIT" ]
null
null
null
src/functions.cpp
fangzhou-xie/decimal
9439bffda0cc8bad18f0be971788516ff1f5520c
[ "MIT" ]
null
null
null
src/functions.cpp
fangzhou-xie/decimal
9439bffda0cc8bad18f0be971788516ff1f5520c
[ "MIT" ]
null
null
null
// define some functions #include <Rcpp.h> using namespace Rcpp; #include "utils.h" // [[Rcpp::export]] std::string sum_decimal_cpp(std::vector<std::string> s) { decimal<10> out; for (size_t i = 0; i < s.size(); i++) { auto t = read_decimal(s[i]); out += t; } return toString(out); }
17.111111
57
0.600649
fangzhou-xie
7dcd354881ba4f97eca8ca38363310105ce736b8
572
cpp
C++
string-algorithms/hashing/basic_string_hashing.cpp
dushimsam/deep-dive-in-algorithms
0c6a04b3115ba789ab4aca68cce51c9a3c3a075a
[ "MIT" ]
null
null
null
string-algorithms/hashing/basic_string_hashing.cpp
dushimsam/deep-dive-in-algorithms
0c6a04b3115ba789ab4aca68cce51c9a3c3a075a
[ "MIT" ]
null
null
null
string-algorithms/hashing/basic_string_hashing.cpp
dushimsam/deep-dive-in-algorithms
0c6a04b3115ba789ab4aca68cce51c9a3c3a075a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /*** source :-> * * https://cp-algorithms.com/string/string-hashing.html * * ***/ long long computer_hash(string str) { const int increase = 31; const int m = 1e9 + 9; long long hash_value = 0; long long p = 1; for (int i = 0; i < str.length();...
17.333333
56
0.534965
dushimsam
7dd2919f15af955fbc9110ac596633082ae5fa40
360
cpp
C++
utils/printVector.cpp
juangl/random-algorithms
0d5a934e8a3d23c410f6e72fb57ad5cb67d519da
[ "MIT" ]
1
2019-01-12T23:58:23.000Z
2019-01-12T23:58:23.000Z
utils/printVector.cpp
juangl/random-algorithms
0d5a934e8a3d23c410f6e72fb57ad5cb67d519da
[ "MIT" ]
null
null
null
utils/printVector.cpp
juangl/random-algorithms
0d5a934e8a3d23c410f6e72fb57ad5cb67d519da
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; template <class T> void printVector(const T& vec) { for (int i = 0; i < vec.size(); i++) { cout << vec[i]; if (i != vec.size() - 1) { cout << ", "; } } cout << endl; } template <class T> void printIter(const T& vec) { for (const auto& e : vec) { ...
15.652174
40
0.508333
juangl
7dd54c8d9c7f6ef4156ffc7006c10936f187e60a
328
cpp
C++
source/Item22_11/main.cpp
hakobyankhachatur/Scott-Meyers-Effective-Modern-C-
41e78619b9622ef7f01746fdebadb5e1da005157
[ "MIT" ]
null
null
null
source/Item22_11/main.cpp
hakobyankhachatur/Scott-Meyers-Effective-Modern-C-
41e78619b9622ef7f01746fdebadb5e1da005157
[ "MIT" ]
null
null
null
source/Item22_11/main.cpp
hakobyankhachatur/Scott-Meyers-Effective-Modern-C-
41e78619b9622ef7f01746fdebadb5e1da005157
[ "MIT" ]
null
null
null
#include <iostream> #include "Widget.h" int main() { std::cout << "Hello, World!" << std::endl; std::shared_ptr<Widget> p1(new Widget); std::cout<<p1.use_count()<<std::endl; std::shared_ptr<Widget> p2(p1); std::cout<<p1.use_count()<<std::endl; std::cout<<p2.use_count()<<std::endl; retu...
18.222222
46
0.594512
hakobyankhachatur
7dd8063423dfb331deaeb05626cca1af90f76db3
1,058
cc
C++
geometry/visualization/visualize_nullspace_demo.cc
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2019-04-14T11:40:28.000Z
2019-04-14T11:40:28.000Z
geometry/visualization/visualize_nullspace_demo.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
5
2018-04-18T13:54:29.000Z
2019-08-22T20:04:17.000Z
geometry/visualization/visualize_nullspace_demo.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
1
2018-12-24T03:45:47.000Z
2018-12-24T03:45:47.000Z
#include "eigen.hh" #include "geometry/visualization/visualize_nullspace.hh" #include "viewer/primitives/simple_geometry.hh" #include "viewer/window_3d.hh" namespace geometry { namespace visualization { using Vec3 = Eigen::Vector3d; void go() { const auto view = viewer::get_window3d("Mr. Demo"); view->set_targ...
27.128205
88
0.660681
jpanikulam
7ddbfacb89354b289ede7f6dd88e02e9cdcf382a
2,043
hpp
C++
include/locic/AST/PredicateDecl.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
80
2015-02-19T21:38:57.000Z
2016-05-25T06:53:12.000Z
include/locic/AST/PredicateDecl.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
8
2015-02-20T09:47:20.000Z
2015-11-13T07:49:17.000Z
include/locic/AST/PredicateDecl.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
6
2015-02-20T11:26:19.000Z
2016-04-13T14:30:39.000Z
#ifndef LOCIC_AST_PREDICATEDECL_HPP #define LOCIC_AST_PREDICATEDECL_HPP #include <string> #include <locic/AST/Node.hpp> #include <locic/AST/Symbol.hpp> #include <locic/Support/String.hpp> namespace locic { namespace AST { struct TypeDecl; class PredicateDecl { public: enum Kind { TRUE, ...
20.636364
84
0.639256
scross99
7de09a8863662ed3a96921dc1216de15d6dd9b56
593
cpp
C++
src/SML.cpp
aceoyale/SML
513d60be40f1e2629b4475cfdf1b4913c1a5154a
[ "MIT" ]
1
2020-10-08T09:31:54.000Z
2020-10-08T09:31:54.000Z
src/SML.cpp
aceoyale/SML
513d60be40f1e2629b4475cfdf1b4913c1a5154a
[ "MIT" ]
null
null
null
src/SML.cpp
aceoyale/SML
513d60be40f1e2629b4475cfdf1b4913c1a5154a
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> #include "SMLMath.h" #include "SMLMat1x3.h" #include "SMLMat3x1.h" #include "SMLMat4x4.h" #include "SMLDef.h" #include "SMLFunc.h" int main() { Vector a(1.345, 1.23, 3.556); SML::Vector b(2.145, 7.089, 0.0000156); SML::Vector result(a + b); Vector subresult(a - b); std::cout...
25.782609
83
0.598651
aceoyale
8fbe026b68b788da837502a350bcc2ecfd1d3335
5,780
inl
C++
unit_tests/api/cl_enqueue_svm_memcpy_tests.inl
PTS93/compute-runtime
0655045c7962d551e29008547a802e398b646c6e
[ "MIT" ]
null
null
null
unit_tests/api/cl_enqueue_svm_memcpy_tests.inl
PTS93/compute-runtime
0655045c7962d551e29008547a802e398b646c6e
[ "MIT" ]
null
null
null
unit_tests/api/cl_enqueue_svm_memcpy_tests.inl
PTS93/compute-runtime
0655045c7962d551e29008547a802e398b646c6e
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2018 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "cl_api_tests.h" #include "runtime/context/context.h" #include "runtime/command_queue/command_queue.h" #include "runtime/device/device.h" using namespace OCLRT; typedef api_tests clEnqueueSVMMemcpyTests; namespace ULT...
36.815287
113
0.61436
PTS93
8fc1074187b35be6b0b071e7e036c637dbf7da4e
290
cpp
C++
C++_Essential_Training/Chap02/pointers.cpp
MarkWMavis/developer_practice
a10a11874454eb805e4cea8cbbdbc315c9791996
[ "MIT" ]
1
2020-07-20T15:28:50.000Z
2020-07-20T15:28:50.000Z
C++_Essential_Training/Chap02/pointers.cpp
MarkWMavis/developer_practice
a10a11874454eb805e4cea8cbbdbc315c9791996
[ "MIT" ]
1
2022-03-02T13:16:03.000Z
2022-03-02T13:16:03.000Z
C++/LinkedInLearning/Exercise Files/Chap02/pointers.cpp
Youngermaster/Learning-Programming-Languages
b94d3d85abc6c107877b11b42a3862d4aae8e3ee
[ "MIT" ]
null
null
null
// pointers.cpp by Bill Weinman [bw.org] // updated 2020-06-24 #include <cstdio> int main() { int x = 7; int y = 42; int * ip = &x; printf("The value of x is %d\n", x); printf("The value of y is %d\n", y); printf("The value of *ip is %d\n", *ip); return 0; }
17.058824
44
0.537931
MarkWMavis
8fc6c424fbdf3c50b7127849b1ada2012ae4ffe2
11,060
cpp
C++
sdl/window_sdl.cpp
franko/elementary-plotlib
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
14
2020-04-03T02:14:08.000Z
2021-07-16T21:05:56.000Z
sdl/window_sdl.cpp
franko/elementary-plotlib
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
2
2020-04-22T15:40:42.000Z
2020-04-28T21:17:23.000Z
sdl/window_sdl.cpp
franko/libcanvas
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
1
2020-04-30T07:49:02.000Z
2020-04-30T07:49:02.000Z
#ifdef WIN32 #include <windows.h> #endif #include <stdint.h> #include "sdl/window_sdl.h" #include "complete_notify.h" struct window_create_message { const char *caption; unsigned width; unsigned height; unsigned flags; window_sdl *this_window; window_close_callback *callback; }; bool wind...
34.779874
170
0.655696
franko
8fc9e724a31df2a22f287ca6b0a7297dc0975dab
2,303
cpp
C++
SPOJ/FASHION - Fashion Shows.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
6
2018-11-26T02:38:07.000Z
2021-07-28T00:16:41.000Z
SPOJ/FASHION - Fashion Shows.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
1
2021-05-30T09:25:53.000Z
2021-06-05T08:33:56.000Z
SPOJ/FASHION - Fashion Shows.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
4
2020-04-16T07:15:01.000Z
2020-12-04T06:26:07.000Z
/*FASHION - Fashion Shows #ad-hoc-1 A fashion show rates participants according to their level of hotness. Two different fashion shows were organized, one for men and the other for women. A date for the third is yet to be decided ;) . Now the results of both fashion shows are out. The participants of both the fashion...
30.706667
330
0.680417
ravirathee
8fcea9f16a2ffc3d8b5979e99318ca31293cd384
1,049
cpp
C++
SDK/ARKSurvivalEvolved_DinoEntry_Allosaurus_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_DinoEntry_Allosaurus_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_DinoEntry_Allosaurus_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_DinoEntry_Allosaurus_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------------------...
26.225
143
0.655863
2bite
8fd269d39cade5864bc69bbb61750d8df7d2c949
4,572
hpp
C++
test/performance/alignment/edit_distance_benchmark_template.hpp
qPCR4vir/seqan3
67ebf427dc1d49fb55e684acc108ed75d224f5d4
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
test/performance/alignment/edit_distance_benchmark_template.hpp
qPCR4vir/seqan3
67ebf427dc1d49fb55e684acc108ed75d224f5d4
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
test/performance/alignment/edit_distance_benchmark_template.hpp
qPCR4vir/seqan3
67ebf427dc1d49fb55e684acc108ed75d224f5d4
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
45.72
117
0.615048
qPCR4vir
8fdd77884d513302f116b2b80b40fc88ef0aa37f
3,411
cc
C++
src/2lgc/pattern/publisher/publisher_ip.cc
Joyero/lib2lgc
5ef337ebe167fd68d2432b6297e25d4e533cb612
[ "Apache-2.0" ]
null
null
null
src/2lgc/pattern/publisher/publisher_ip.cc
Joyero/lib2lgc
5ef337ebe167fd68d2432b6297e25d4e533cb612
[ "Apache-2.0" ]
null
null
null
src/2lgc/pattern/publisher/publisher_ip.cc
Joyero/lib2lgc
5ef337ebe167fd68d2432b6297e25d4e533cb612
[ "Apache-2.0" ]
1
2019-04-23T14:53:34.000Z
2019-04-23T14:53:34.000Z
/* * Copyright 2018 LE GARREC Vincent * * 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...
28.663866
94
0.715919
Joyero
8fde7ac2661ec45703ac4816fbb5baa2b5199040
6,277
inl
C++
src/kernel/sched/pid.c.inl
GrieferAtWork/KOSmk2
446a982c7930eeb48710bcb234c4e4b15446b869
[ "Zlib" ]
1
2021-01-02T22:15:14.000Z
2021-01-02T22:15:14.000Z
src/kernel/sched/pid.c.inl
GrieferAtWork/KOSmk2
446a982c7930eeb48710bcb234c4e4b15446b869
[ "Zlib" ]
null
null
null
src/kernel/sched/pid.c.inl
GrieferAtWork/KOSmk2
446a982c7930eeb48710bcb234c4e4b15446b869
[ "Zlib" ]
1
2019-10-21T17:39:46.000Z
2019-10-21T17:39:46.000Z
/* Copyright (c) 2017 Griefer@Work * * * * This software is provided 'as-is', without any express or implied * * warranty. In no event will the authors be held liable for any damages * ...
35.067039
127
0.670065
GrieferAtWork
8fe5c3b8d48d0137830e12e0b5ae77aa5948f390
885
hpp
C++
sophus_ros_conversions/include/sophus_ros_conversions.hpp
mortaas/sophus_ros_toolkit
d803a2b9639033d7fc87a9454ae7824a5c1ef653
[ "BSD-2-Clause" ]
null
null
null
sophus_ros_conversions/include/sophus_ros_conversions.hpp
mortaas/sophus_ros_toolkit
d803a2b9639033d7fc87a9454ae7824a5c1ef653
[ "BSD-2-Clause" ]
null
null
null
sophus_ros_conversions/include/sophus_ros_conversions.hpp
mortaas/sophus_ros_toolkit
d803a2b9639033d7fc87a9454ae7824a5c1ef653
[ "BSD-2-Clause" ]
null
null
null
/** * @file /sophus_ros_conversions/include/sophus_ros_conversions/sophus_ros_conversions.hpp */ /***************************************************************************** ** Ifdefs *****************************************************************************/ #ifndef sophus_ros_conversions_SOPHUS_ROS_CONVERSION...
38.478261
90
0.39096
mortaas
8ff30c72198e4e0fa0117c6a222504a4dc19c4ad
1,356
cpp
C++
aplcore/src/utils/corelocalemethods.cpp
DamianMehers/apl-core-library
9c003dbfc8bc90709396c07179c523473d380db1
[ "Apache-2.0" ]
28
2019-11-05T12:23:01.000Z
2022-03-22T10:01:53.000Z
aplcore/src/utils/corelocalemethods.cpp
DamianMehers/apl-core-library
9c003dbfc8bc90709396c07179c523473d380db1
[ "Apache-2.0" ]
7
2020-03-28T12:44:08.000Z
2022-01-23T17:02:27.000Z
aplcore/src/utils/corelocalemethods.cpp
DamianMehers/apl-core-library
9c003dbfc8bc90709396c07179c523473d380db1
[ "Apache-2.0" ]
15
2019-12-25T10:15:52.000Z
2021-12-30T03:50:00.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" ...
29.478261
94
0.669617
DamianMehers
8ff4e14cb0d7d71254592165830773d2d85e93ed
2,541
cpp
C++
foobar2000/foobar2000/foo_vis_taskbar/main.cpp
vakuras/vis_taskbar
b11584ad6953ea0dc23e1ae2a30d9269a8134d42
[ "MIT" ]
null
null
null
foobar2000/foobar2000/foo_vis_taskbar/main.cpp
vakuras/vis_taskbar
b11584ad6953ea0dc23e1ae2a30d9269a8134d42
[ "MIT" ]
null
null
null
foobar2000/foobar2000/foo_vis_taskbar/main.cpp
vakuras/vis_taskbar
b11584ad6953ea0dc23e1ae2a30d9269a8134d42
[ "MIT" ]
null
null
null
#include "foo_vis_taskbar.h" #pragma comment(lib, "..\\shared\\shared.lib") // Foobar2K Component Variables #define COMPONENT_NAME "foo_vis_taskbar" #define COMPONENT_VERSION "0.1" #define COMPONENT_DESCRIPTION "foo_vis_taskbar (c) vDk. 2010.\n\nfoo_vis_taskbar displays a visualization behind MS Windows 7 task...
26.46875
136
0.74144
vakuras
8ff4ff69c86f9d8b38e7992f4e3dc8962a6a9424
282
hxx
C++
src/elle/reactor/http/Client.hxx
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
src/elle/reactor/http/Client.hxx
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
src/elle/reactor/http/Client.hxx
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
namespace elle { namespace reactor { namespace http { template <typename ... Args> Request Client::request(Args&& ... args) { Request res(std::forward<Args>(args)...); this->_register(res); return res; } } } }
15.666667
49
0.507092
infinitio
8ff5e2c9ec572fe7baa63217e1d767a11e1c32b8
1,969
cpp
C++
AtCoder/ABC/ABC-097/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-097/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-097/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long int; const int MAX = (int)(1e5 + 5); const ll INF = (ll)(1e10 + 5); const int MAX_N = (int)(1e5 + 5); const int MAX_M = (int)(1e5 + 5); ///////////////////////////////////////////////////////// // node in { 0, ... } class UnionFind { public: stat...
18.231481
73
0.476384
MonadicDavidHuang
8ffcbce1424bb74fb833809b0c3c9b3b43b1d3f3
6,470
cpp
C++
src/CameraComponent.cpp
southdy/platformer
9d794338ac4d18ac439b5b47bab3cfeb538f79bb
[ "Apache-2.0" ]
2
2019-08-24T08:51:44.000Z
2020-12-24T05:54:48.000Z
src/CameraComponent.cpp
southdy/platformer
9d794338ac4d18ac439b5b47bab3cfeb538f79bb
[ "Apache-2.0" ]
null
null
null
src/CameraComponent.cpp
southdy/platformer
9d794338ac4d18ac439b5b47bab3cfeb538f79bb
[ "Apache-2.0" ]
2
2019-08-24T08:51:45.000Z
2020-12-24T05:54:51.000Z
#include "CameraComponent.h" #include "Common.h" #include "GameObject.h" #include "GameObjectController.h" #include "Messages.h" #include "PlayerComponent.h" #include "Scene.h" namespace game { CameraComponent::CameraComponent() : _camera(nullptr) , _player(nullptr) , _previousZoom(0.0f) ...
32.84264
126
0.63864
southdy
8fffedffa30031bcd5c9d2496f82e13057beed6e
663
cpp
C++
Examen3PC/P6_OddManOut/OddManOut.cpp
VanessaMMH/ProgComp2021A
03a3e0394b26eb78801246c7d6b7888fe53141bd
[ "BSD-3-Clause" ]
null
null
null
Examen3PC/P6_OddManOut/OddManOut.cpp
VanessaMMH/ProgComp2021A
03a3e0394b26eb78801246c7d6b7888fe53141bd
[ "BSD-3-Clause" ]
null
null
null
Examen3PC/P6_OddManOut/OddManOut.cpp
VanessaMMH/ProgComp2021A
03a3e0394b26eb78801246c7d6b7888fe53141bd
[ "BSD-3-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* link: https://open.kattis.com/problems/oddmanout */ int N, n = 0, G, tmp, res; int main(int argc, char const *argv[]) { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); cin >> N; while(n++ < N){ unordered_map<int, int> odds...
19.5
60
0.446456
VanessaMMH
890cba4c34d8684ccc4c4aab3fb579aa858a534d
513
cpp
C++
examples/2_svg_parser.cpp
tyt2y3/tinybind
04a50a813521b468ae3994f848baac0c6f61e4dc
[ "Unlicense", "MIT" ]
18
2015-02-25T09:04:38.000Z
2021-06-10T13:57:20.000Z
examples/2_svg_parser.cpp
chinarouter/tinybind2
d4e898332cdfd1ecf47cee382ad1d8b3f0cabf11
[ "Unlicense", "MIT" ]
1
2016-03-18T11:03:31.000Z
2016-03-24T17:32:56.000Z
examples/2_svg_parser.cpp
tyt2y3/tinybind
04a50a813521b468ae3994f848baac0c6f61e4dc
[ "Unlicense", "MIT" ]
12
2015-04-09T06:34:49.000Z
2020-06-09T11:42:22.000Z
#include "../tinybind.h" //compile by g++ ../tinybind.cpp 2_svg_parser.cpp -o 2_svg_parser #include <string> #include <vector> #include <stdio.h> using namespace std; #include "../tinybind_struct.h" #include "2_svg.h" #include "../tinybind_xml.h" #include "2_svg.h" #include "../tinybind_clean.h" int main() { TiXmlD...
17.1
65
0.678363
tyt2y3
891218f5b98c4d19e6640485ac2923287aa810f8
1,738
cpp
C++
USACO/Bronze/2015Dec/ContaminatedMilk.cpp
polarr/competitive-programming
06e41fd72c785eb5621e20669d76ed99fafab901
[ "CC0-1.0" ]
1
2020-12-16T19:08:51.000Z
2020-12-16T19:08:51.000Z
USACO/Bronze/2015Dec/ContaminatedMilk.cpp
polarr/competitive-programming
06e41fd72c785eb5621e20669d76ed99fafab901
[ "CC0-1.0" ]
null
null
null
USACO/Bronze/2015Dec/ContaminatedMilk.cpp
polarr/competitive-programming
06e41fd72c785eb5621e20669d76ed99fafab901
[ "CC0-1.0" ]
null
null
null
/** Code by 1egend **/ // Problem: Contaminated Milk - USACO 2015 DEC BRONZE Q3 #include <bits/stdc++.h> using namespace std; #define pb push_back #define ull unsigned long long const int MAX_N = 1e5 + 1; const int MOD = 1e9 + 7; ifstream fin("badmilk.in"); ofstream fout("badmilk.out"); void solve(){ int n, m, d, s...
20.939759
125
0.547181
polarr
8913422715206f148300fbab514d5b1e42ffaf81
2,229
hpp
C++
cplusplus/src/Core/Input.hpp
TeodorVecerdi/saxion_cplusplus
5ffb57deb9d43b21cc72329d04f90185ecb858ad
[ "MIT" ]
1
2021-04-12T19:31:40.000Z
2021-04-12T19:31:40.000Z
cplusplus/src/Core/Input.hpp
TeodorVecerdi/saxion_cplusplus
5ffb57deb9d43b21cc72329d04f90185ecb858ad
[ "MIT" ]
null
null
null
cplusplus/src/Core/Input.hpp
TeodorVecerdi/saxion_cplusplus
5ffb57deb9d43b21cc72329d04f90185ecb858ad
[ "MIT" ]
null
null
null
#pragma once #include <SFML/Window/Event.hpp> class Input { public: inline static int mouseX; inline static int mouseY; static void setKey(int key, sf::Event::EventType mode) { bool press = mode == sf::Event::EventType::KeyPressed; if (press) { keydown[key] = true; lastKeyDown = key; } else { keyup...
21.228571
64
0.67878
TeodorVecerdi
89193cb00f97eeb6751f65cc98a72e4a64d03a7d
11,051
cpp
C++
packages/monte_carlo/core/src/MonteCarlo_SimulationElectronProperties.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/core/src/MonteCarlo_SimulationElectronProperties.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/core/src/MonteCarlo_SimulationElectronProperties.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_SimulationElectronProperties.cpp //! \author Alex Robinson, Luke Kersting //! \brief Simulation electron properties class def. //! //---------------------------------------------------------------------------// ...
30.78273
89
0.780472
bam241
891a87b669334eb055fc393403c19d7478e90287
7,076
cpp
C++
sw/src/skt.cpp
fpgasystems/SKT
828e32de9f344f53bbd061d2b8c7642164105e48
[ "BSD-3-Clause" ]
5
2021-07-25T14:53:20.000Z
2022-03-29T06:21:23.000Z
sw/src/skt.cpp
fpgasystems/SKT
828e32de9f344f53bbd061d2b8c7642164105e48
[ "BSD-3-Clause" ]
null
null
null
sw/src/skt.cpp
fpgasystems/SKT
828e32de9f344f53bbd061d2b8c7642164105e48
[ "BSD-3-Clause" ]
1
2021-10-01T10:55:29.000Z
2021-10-01T10:55:29.000Z
/** * Copyright (c) 2020, Systems Group, ETH Zurich * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this lis...
36.287179
104
0.615885
fpgasystems
891e32a7c8cc6b810d9135ddf7c1ef7f0606e031
1,733
cxx
C++
physics/neutron/nudy/src/TVNudyModelFile3.cxx
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
2
2016-10-16T14:37:42.000Z
2018-04-05T15:49:09.000Z
physics/neutron/nudy/src/TVNudyModelFile3.cxx
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
physics/neutron/nudy/src/TVNudyModelFile3.cxx
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "Geant/TVNudyModel.h" #include "TList.h" #include "Geant/TNudyEndfFile.h" #include "Geant/TNudyEndfTab1.h" #include "Geant/TNudyCore.h" using namespace Nudy; //______________________________________________________________________________ void TVNudyModel::ReadFile3(TNudyEndfFile *file) { TIter secIter(fil...
32.092593
103
0.633583
Geant-RnD
89213495e2dbbcbe313f141d110c7ea65a1fbbc4
5,557
cpp
C++
Src/Vessel/ShuttleA/mfdbutton.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Src/Vessel/ShuttleA/mfdbutton.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Src/Vessel/ShuttleA/mfdbutton.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
// Copyright (c) Martin Schweiger // Licensed under the MIT License // ============================================================== // ORBITER MODULE: ShuttleA // Part of the ORBITER SDK // // mfdbutton.cpp // User interface for MFD buttons // ========================================...
32.881657
145
0.502069
Ybalrid
8921c83c983eccabc8ad5fcc4c4c8b02c1a18638
2,947
cpp
C++
gui/ctrl/look/tree.cpp
r3dl3g/guipp
3d3179be3022935b46b59f1b988a029abeabfcbf
[ "MIT" ]
null
null
null
gui/ctrl/look/tree.cpp
r3dl3g/guipp
3d3179be3022935b46b59f1b988a029abeabfcbf
[ "MIT" ]
null
null
null
gui/ctrl/look/tree.cpp
r3dl3g/guipp
3d3179be3022935b46b59f1b988a029abeabfcbf
[ "MIT" ]
null
null
null
/** * @copyright (c) 2016-2021 Ing. Buero Rothfuss * Riedlinger Str. 8 * 70327 Stuttgart * Germany * http://www.rothfuss-web.de * * @author <a href="mailto:armin@rothfuss-web.de">Armin Rothfuss</a> * * Projec...
29.178218
99
0.531388
r3dl3g
892541845c98898efa6104b194f61390ac75ee4e
1,903
hpp
C++
tools/io.hpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
7
2019-01-20T08:36:51.000Z
2021-09-04T19:03:53.000Z
tools/io.hpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
9
2018-08-06T03:30:47.000Z
2022-03-08T17:28:07.000Z
tools/io.hpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
4
2019-08-22T21:03:59.000Z
2021-12-17T10:00:05.000Z
#pragma once #include "internal/sys.hpp" #include "io_interface.hpp" #include <cstdint> #include <string> namespace host_tool { class DevMemDevice : public HostIoInterface { public: explicit DevMemDevice(const internal::Sys* sys = &internal::sys_impl) : sys(sys) {} ~DevMemDevice() = default; ...
26.430556
75
0.663163
pzh2386034
8927c202b3b63c7628ad6fa8ee59673ad134e1ba
14,673
cpp
C++
DNN_Primitives/code/amd/eventGEMM.cpp
hpc-ulisboa/nonconventional-dvfs
e1a633e541be93da0b41d27047627116f902e3b8
[ "MIT" ]
1
2021-12-02T22:40:53.000Z
2021-12-02T22:40:53.000Z
DNN_Primitives/code/amd/eventGEMM.cpp
TheEmbbededCoder/GPU-Characterization
297031f6cd7008df62a7e37927308310daebe003
[ "MIT" ]
null
null
null
DNN_Primitives/code/amd/eventGEMM.cpp
TheEmbbededCoder/GPU-Characterization
297031f6cd7008df62a7e37927308310daebe003
[ "MIT" ]
1
2022-01-11T16:48:50.000Z
2022-01-11T16:48:50.000Z
#include <chrono> #include <iomanip> #include <iostream> #include <memory> #include <stdexcept> #include <tuple> #include <vector> #include <cmath> #include <rocblas.h> #include <cstdlib> #include "tensor.h" #include "gemm_problems.h" #include <limits> #include <unistd.h> #include <sys/wait.h> #include <signal.h> ...
31.691145
136
0.491311
hpc-ulisboa
893446b9fa99dbdb6046a924cf6fe20fb61cd374
11,760
cpp
C++
src/tests/test_observable.cpp
victimsnino/ReactivePlusPlus
bb187cc52936bce7c1ef4899d7dbb9c970cef291
[ "MIT" ]
1
2022-03-19T20:15:50.000Z
2022-03-19T20:15:50.000Z
src/tests/test_observable.cpp
victimsnino/ReactivePlusPlus
bb187cc52936bce7c1ef4899d7dbb9c970cef291
[ "MIT" ]
12
2022-03-22T21:18:14.000Z
2022-03-30T05:37:58.000Z
src/tests/test_observable.cpp
victimsnino/ReactivePlusPlus
bb187cc52936bce7c1ef4899d7dbb9c970cef291
[ "MIT" ]
null
null
null
// ReactivePlusPlus library // // Copyright Aleksey Loginov 2022 - present. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.com/victimsnin...
35.104478
152
0.596684
victimsnino
89372d171068edef7343e00f2ab26d18d94f848d
273
cpp
C++
LPI/aula18/src/Caixa.cpp
dayvisonmsilva/LPI
0e3186e03b0ed438795f513dd968911c6845f5e4
[ "Apache-2.0" ]
null
null
null
LPI/aula18/src/Caixa.cpp
dayvisonmsilva/LPI
0e3186e03b0ed438795f513dd968911c6845f5e4
[ "Apache-2.0" ]
null
null
null
LPI/aula18/src/Caixa.cpp
dayvisonmsilva/LPI
0e3186e03b0ed438795f513dd968911c6845f5e4
[ "Apache-2.0" ]
null
null
null
#include "../include/Caixa.hpp" Caixa::Caixa(string nome, double salario, double valor) : Funcionario(nome, salario), valor(valor){ } Caixa::Caixa(){} void Caixa::setValor(double valor){ this->valor = valor; } double Caixa::getValor(){ return this->valor; }
15.166667
99
0.673993
dayvisonmsilva
893930e5bcae774717a0c2d4e0fc5c9960449624
1,865
cpp
C++
blackscholes.cpp
TarekProjects/Monte-Carlo
46b7ad2ced2800b39d7d61101435335f0e36c87d
[ "MIT" ]
null
null
null
blackscholes.cpp
TarekProjects/Monte-Carlo
46b7ad2ced2800b39d7d61101435335f0e36c87d
[ "MIT" ]
null
null
null
blackscholes.cpp
TarekProjects/Monte-Carlo
46b7ad2ced2800b39d7d61101435335f0e36c87d
[ "MIT" ]
1
2019-01-12T10:15:35.000Z
2019-01-12T10:15:35.000Z
// Tarek Frahi #include <cmath> #include <numeric> #include "normal.hpp" #include "blackscholes.hpp" using namespace std; class BlackScholes { public: BlackScholes(void){} ~BlackScholes(void){} BS BSPrice( double S0, double K, double r, double q, double v, ...
30.080645
96
0.505094
TarekProjects
893af12217677fc2186eb76dfe27dbbdda00a52e
1,482
cpp
C++
date_input.cpp
Jonathan-Harty/Member-Management-System
65387cd8e786eebccb13b0d1d5da327bb43f7956
[ "MIT" ]
null
null
null
date_input.cpp
Jonathan-Harty/Member-Management-System
65387cd8e786eebccb13b0d1d5da327bb43f7956
[ "MIT" ]
null
null
null
date_input.cpp
Jonathan-Harty/Member-Management-System
65387cd8e786eebccb13b0d1d5da327bb43f7956
[ "MIT" ]
null
null
null
#include "date_input.h" DateInput::DateInput(QWidget *parent) : QWidget(parent) { dayInput = new QComboBox; fillDay(dayInput); monthInput = new QComboBox; fillMonth(monthInput); yearInput = new QComboBox; fillYear(yearInput); dateLayout = new QHBoxLayout; dateLayout->addWid...
21.794118
56
0.591093
Jonathan-Harty
9f13e5fa7d659beabe44f5099c35253a48976e44
6,882
cpp
C++
evie/utils.cpp
sni4ok/mgame
adda2a23055550ee2d992d3bd183e6983b52f395
[ "MIT" ]
null
null
null
evie/utils.cpp
sni4ok/mgame
adda2a23055550ee2d992d3bd183e6983b52f395
[ "MIT" ]
null
null
null
evie/utils.cpp
sni4ok/mgame
adda2a23055550ee2d992d3bd183e6983b52f395
[ "MIT" ]
null
null
null
/* author: Ilya Andronov <sni4ok@yandex.ru> */ #include "utils.hpp" #include "mlog.hpp" #include <errno.h> void throw_system_failure(const std::string& msg) { throw std::runtime_error(es() % (errno ? strerror(errno) : "") % ", " % msg); } std::string to_string(double value) { char buf[32]; uint32_t ...
26.988235
134
0.569021
sni4ok
9f13f58c75a24002b459deff3ea2256977bd615a
720
cpp
C++
urlRegex.cpp
StetsonMathCS/hint
a6aaa510eea0781c9f6c06252adae7a51d654eda
[ "MIT" ]
null
null
null
urlRegex.cpp
StetsonMathCS/hint
a6aaa510eea0781c9f6c06252adae7a51d654eda
[ "MIT" ]
null
null
null
urlRegex.cpp
StetsonMathCS/hint
a6aaa510eea0781c9f6c06252adae7a51d654eda
[ "MIT" ]
2
2020-04-23T20:29:37.000Z
2020-04-27T23:24:27.000Z
//Author: Cole Spitzer //Date 05-01-20 //Purpose: To go through the map and add all of the answers to the Data Structure #include "urls.cpp" //What this does is get the URL from the myMap. Which we are stroing as hint,URL, answer //it then runs it through the function answer //this gives us back the answer from the f...
34.285714
140
0.693056
StetsonMathCS
9f1ca8e28d6d309edd4af3418aeaf494633a98f4
425,806
cpp
C++
src/offset/profiles/win7_sp0_x86.cpp
MarkMankins/libosi
2d67ed8066098bc798a53c06dffb5ba257d89bde
[ "BSD-3-Clause" ]
3
2021-02-23T09:13:07.000Z
2021-08-13T14:15:06.000Z
src/offset/profiles/win7_sp0_x86.cpp
MarkMankins/libosi
2d67ed8066098bc798a53c06dffb5ba257d89bde
[ "BSD-3-Clause" ]
3
2021-12-02T17:51:48.000Z
2022-03-04T20:02:32.000Z
src/offset/profiles/win7_sp0_x86.cpp
MarkMankins/libosi
2d67ed8066098bc798a53c06dffb5ba257d89bde
[ "BSD-3-Clause" ]
2
2021-12-07T00:42:31.000Z
2022-03-04T15:42:12.000Z
#include "offset/offset.h" #include <map> #include <string> #define POINTER 0x80000000 #include "win7_sp0_x86.h" namespace windows_7sp0_x86 { enum Type : unsigned int { UNKNOWN, _WHEA_ERROR_RECORD_HEADER, _MMVAD_SHORT, _IO_WORKITEM, _WHEA_MEMORY_ERROR_SECTION, __unnamed_1c3f, _PROC_IDLE_S...
37.146122
90
0.570563
MarkMankins
9f1cb3ee3332a123f48ac49129aba3253e793b6c
3,057
cc
C++
puzzles/day_22/part2.cc
craig-chasseur/aoc2020
0174c04ba593d6bbc7b4e9bf57e31f46f76d8f06
[ "MIT" ]
2
2020-12-14T16:18:09.000Z
2020-12-17T10:42:17.000Z
puzzles/day_22/part2.cc
craig-chasseur/aoc2020
0174c04ba593d6bbc7b4e9bf57e31f46f76d8f06
[ "MIT" ]
null
null
null
puzzles/day_22/part2.cc
craig-chasseur/aoc2020
0174c04ba593d6bbc7b4e9bf57e31f46f76d8f06
[ "MIT" ]
1
2021-05-04T09:05:25.000Z
2021-05-04T09:05:25.000Z
#include <deque> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/strings/numbers.h" #include "absl/strings/string_view.h" #include "util/check.h" #include "util/io.h" namespace { enum class Player { kPlayer1, kPlayer2 }; struct Winner { Player player...
29.114286
76
0.636899
craig-chasseur
9f1de8cbaaf6cb7b22aad742bc9f0bdb9e08fd06
1,286
hpp
C++
include/WgUtils/camera.hpp
TheVaffel/Wingine
17d5bf19a9c56a0e3ae6a84df2332319d82e9493
[ "MIT" ]
2
2020-12-01T15:13:08.000Z
2021-11-11T16:10:10.000Z
include/WgUtils/camera.hpp
TheVaffel/Wingine
17d5bf19a9c56a0e3ae6a84df2332319d82e9493
[ "MIT" ]
null
null
null
include/WgUtils/camera.hpp
TheVaffel/Wingine
17d5bf19a9c56a0e3ae6a84df2332319d82e9493
[ "MIT" ]
null
null
null
#ifndef WGUT_CAMERA_HPP #define WGUT_CAMERA_HPP #include <FlatAlg.hpp> namespace wgut { class Camera{ const falg::Mat4 clip = {1.f, 0.f, 0.f, 0.f, 0.f, -1.f, 0.f, 0.f, 0.f, 0.f, 0.5f, 0.5f, 0.f, 0.f, 0.0f, 1...
28.577778
130
0.531104
TheVaffel
9f21a8214d428f2e6b81e4587ac90618eb62c19e
470
cc
C++
jax/training/21-05/21-05-30-weekly/c_caesar_cipher.cc
JaxVanYang/acm
ee41f1cbf692b7b1463a9467401bb6e7d38aecce
[ "MIT" ]
2
2022-01-01T16:55:02.000Z
2022-03-16T14:47:29.000Z
jax/training/21-05/21-05-30-weekly/c_caesar_cipher.cc
JaxVanYang/acm
ee41f1cbf692b7b1463a9467401bb6e7d38aecce
[ "MIT" ]
null
null
null
jax/training/21-05/21-05-30-weekly/c_caesar_cipher.cc
JaxVanYang/acm
ee41f1cbf692b7b1463a9467401bb6e7d38aecce
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const int maxn = 55; char s[3][maxn]; void solve() { int n, m; scanf("%d%d", &n, &m); for (int i = 0; i < 3; ++i) scanf("%s", s + i); int shift = (s[0][0] - s[1][0] + 26) % 26; for (int i = 0; i < m; ++i) s[2][i] = 'A' + (s[2][i] - 'A' + shift) % 26; pu...
20.434783
77
0.412766
JaxVanYang
9f253590aba3761bf8ce36cbc91226192ca096be
1,207
cc
C++
code30/cpp/20190816/bo_thread/Thread.cc
stdbilly/CS_Note
a8a87e135a525d53c283a4c70fb942c9ca59a758
[ "MIT" ]
2
2020-12-09T09:55:51.000Z
2021-01-08T11:38:22.000Z
mycode/cpp/0820/networklib/v4/Thread.cc
stdbilly/CS_Note
a8a87e135a525d53c283a4c70fb942c9ca59a758
[ "MIT" ]
null
null
null
mycode/cpp/0820/networklib/v4/Thread.cc
stdbilly/CS_Note
a8a87e135a525d53c283a4c70fb942c9ca59a758
[ "MIT" ]
null
null
null
/// /// @file Thread.cc /// @author lemon(haohb13@gmail.com) /// @date 2019-08-15 09:41:33 /// #include "Thread.h" #include <iostream> using std::cout; using std::endl; namespace wd { namespace current_thread { __thread const char * threadName = "wd thread"; } //end of namespace current_thread using ...
15.278481
77
0.656172
stdbilly
9f26daa7777bdcc0e95b682b3283246113ebf5fe
740
hpp
C++
include/libembeddedhal/input_pin/pin_resistors.hpp
MaliaLabor/libembeddedhal
9f40affd438602df7ad818a1573c51347fd753bd
[ "Apache-2.0" ]
1
2022-02-10T20:25:00.000Z
2022-02-10T20:25:00.000Z
include/libembeddedhal/input_pin/pin_resistors.hpp
MaliaLabor/libembeddedhal
9f40affd438602df7ad818a1573c51347fd753bd
[ "Apache-2.0" ]
null
null
null
include/libembeddedhal/input_pin/pin_resistors.hpp
MaliaLabor/libembeddedhal
9f40affd438602df7ad818a1573c51347fd753bd
[ "Apache-2.0" ]
null
null
null
#pragma once namespace embed { /** * @brief Set of possible pin mode resistor settings. * * See each enumeration to get more details about when and how these should be * used. * */ enum class pin_resistor { /// No pull up. This will cause the pin to float. This may be desirable if the /// pin has an external...
29.6
80
0.698649
MaliaLabor
9f2c414843dbe63a59b011a0fcde085232126728
459
cpp
C++
GUI.cpp
OUDON/etumble
bc522eaa75b861460a0a781bcd0c6b1cd6325c17
[ "MIT" ]
6
2018-07-11T07:11:24.000Z
2021-11-03T16:14:22.000Z
GUI.cpp
OUDON/etumble
bc522eaa75b861460a0a781bcd0c6b1cd6325c17
[ "MIT" ]
1
2019-02-28T14:55:49.000Z
2019-02-28T14:55:49.000Z
GUI.cpp
OUDON/etumble
bc522eaa75b861460a0a781bcd0c6b1cd6325c17
[ "MIT" ]
null
null
null
#include "GUI.hpp" #include "common.hpp" #include <QPushButton> GUI::GUI() : app(nullptr) {} int GUI::start(int *argcp, char *argv[]) { if (app != nullptr) { std::cerr << "This application is already started." << std::endl; return -1; } app = new QApplication(*argcp, argv); main_win...
17
73
0.592593
OUDON
9f330f70555bb8bbaa236f8dd8554c47ac9050cc
1,914
hpp
C++
Math/Include/Quaternion.hpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
Math/Include/Quaternion.hpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
Math/Include/Quaternion.hpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
#pragma once #ifndef _MATH_QUATERNION_HPP_ #define _MATH_QUATERNION_HPP_ #include <cmath> #include "Vector3.hpp" namespace Fnd { namespace Math { struct Quaternion { float x; float y; float z; float w; inline Quaternion() { } inline Quaternion( float x_, float y_, float z_, float w...
18.403846
84
0.524556
jordanlittlefair
9f3dd9e7dc58aa88167112f45b111e72d4469cdc
3,490
hpp
C++
Source/Utility/Calendar/kCalendarToString.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Utility/Calendar/kCalendarToString.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Utility/Calendar/kCalendarToString.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Date/kDate.hpp" #include "Time/kTime.hpp" #include "../String/kToString.hpp" namespace klib::kString::stringify { using namespace klib::kCalendar; ///////////////////////////////////////////////////////////////////////////////////////////////// // Date Components //////////////////////////...
26.439394
98
0.589685
KingKiller100
9f3e3b5270eb8ecbbdf4862ecdcfafdc6caef1bd
1,753
hpp
C++
AudioKit/AudioKitCore/Synth/VoiceBase.hpp
AudioKit/AudioKitNet
a6a367cb3fd2b0daac967a9d8c2f9807aa1184ed
[ "MIT" ]
28
2018-05-25T17:30:18.000Z
2020-08-05T01:56:57.000Z
AudioKit/AudioKitCore/Synth/VoiceBase.hpp
AudioKit/AudioKit-net
a6a367cb3fd2b0daac967a9d8c2f9807aa1184ed
[ "MIT" ]
2
2018-10-05T05:27:44.000Z
2020-03-20T17:05:44.000Z
AudioKit/AudioKitCore/Synth/VoiceBase.hpp
AudioKit/AudioKit-net
a6a367cb3fd2b0daac967a9d8c2f9807aa1184ed
[ "MIT" ]
2
2018-09-12T06:06:41.000Z
2020-05-20T15:12:09.000Z
// // VoiceBase.hpp // AudioKit Core // // Created by Shane Dunne, revision history on Github. // Copyright © 2018 AudioKit. All rights reserved. // #pragma once #include "VoiceBase.hpp" namespace AudioKitCore { struct VoiceBase { void* pTimbreParams; // pointer to a block of shared parameters...
38.108696
107
0.648032
AudioKit
9f3e68502b062b5c6be0cad399f716c0e4217f01
2,555
cpp
C++
GrannyViewer/iris/granny/grnbones.cpp
zerodowned/Iris1_DeveloperTools
0b5510bb46824d8939846f73c7e63ed7eecf827d
[ "DOC" ]
1
2019-02-08T18:03:28.000Z
2019-02-08T18:03:28.000Z
GrannyViewer/iris/granny/grnbones.cpp
SiENcE/Iris1_DeveloperTools
0b5510bb46824d8939846f73c7e63ed7eecf827d
[ "DOC" ]
null
null
null
GrannyViewer/iris/granny/grnbones.cpp
SiENcE/Iris1_DeveloperTools
0b5510bb46824d8939846f73c7e63ed7eecf827d
[ "DOC" ]
7
2015-03-11T22:06:23.000Z
2019-12-21T09:49:57.000Z
/***** * * 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 version. * * This program is distributed in the hope that it...
22.8125
84
0.64227
zerodowned
9f490601e6b3c5b143013344f59aaa4079a66c3b
13,215
cpp
C++
src/config.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
null
null
null
src/config.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
4
2020-12-22T17:48:49.000Z
2021-02-20T21:48:24.000Z
src/config.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Dmytro Shestakov * * 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, pu...
32.389706
115
0.530685
hrandib
9f4ee22bf3b076769425001d41005526fdc38834
1,512
cpp
C++
cpp/ast/LILVarName.cpp
veosotano/lil
da2d0774615827d521362ffb731e8abfa3887507
[ "MIT" ]
6
2021-01-02T16:36:28.000Z
2022-01-23T21:50:29.000Z
cpp/ast/LILVarName.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
cpp/ast/LILVarName.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
/******************************************************************** * * LIL Is a Language * * AUTHORS: Miro Keller * * COPYRIGHT: ©2020-today: All Rights Reserved * * LICENSE: see LICENSE file * * This file encapsulates the name of a property * ***********************************...
20.432432
70
0.615079
veosotano
9f4f361258bc74463142207f6a7c9e03a5290791
549
hpp
C++
telnetpp/include/telnetpp/detail/subnegotiation_router.hpp
CalielOfSeptem/septem
fe7a615eb6c279d3746ee78de8864b5e07bf7e3e
[ "MIT" ]
1
2017-03-30T14:31:33.000Z
2017-03-30T14:31:33.000Z
telnetpp/include/telnetpp/detail/subnegotiation_router.hpp
HoraceWeebler/septem
fe7a615eb6c279d3746ee78de8864b5e07bf7e3e
[ "MIT" ]
null
null
null
telnetpp/include/telnetpp/detail/subnegotiation_router.hpp
HoraceWeebler/septem
fe7a615eb6c279d3746ee78de8864b5e07bf7e3e
[ "MIT" ]
null
null
null
#pragma once #include "telnetpp/detail/router.hpp" #include "telnetpp/subnegotiation.hpp" #include "telnetpp/element.hpp" #include <vector> namespace telnetpp { namespace detail { struct subnegotiation_router_key_from_message_policy { static telnetpp::u8 key_from_message(subnegotiation const &sub) { ...
18.931034
67
0.708561
CalielOfSeptem
9f506f6cad187b349c6b766f8524df0dd96d2763
1,554
cc
C++
tests/test_transport.cc
phisixersai/ppapi
a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0
[ "BSD-3-Clause" ]
1
2015-07-03T13:18:34.000Z
2015-07-03T13:18:34.000Z
tests/test_transport.cc
rise-worlds/ppapi
a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0
[ "BSD-3-Clause" ]
null
null
null
tests/test_transport.cc
rise-worlds/ppapi
a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0
[ "BSD-3-Clause" ]
1
2020-01-16T01:46:31.000Z
2020-01-16T01:46:31.000Z
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ppapi/tests/test_transport.h" #include <string.h> #include <string> #include "ppapi/c/dev/ppb_testing_dev.h" #include "ppapi/c/dev/ppb_tr...
30.470588
79
0.743243
phisixersai
9f5141850f36a231c98af5f6e7f119d467c66d9c
3,200
cpp
C++
skye/ut_mock_template_function.cpp
coryan/Skye
cf02c2a37a3aa73bd0474f1068737b764f0a0c56
[ "Apache-2.0" ]
1
2017-07-17T12:36:34.000Z
2017-07-17T12:36:34.000Z
skye/ut_mock_template_function.cpp
coryan/Skye
cf02c2a37a3aa73bd0474f1068737b764f0a0c56
[ "Apache-2.0" ]
2
2016-10-30T13:46:59.000Z
2017-06-15T12:18:21.000Z
skye/ut_mock_template_function.cpp
coryan/Skye
cf02c2a37a3aa73bd0474f1068737b764f0a0c56
[ "Apache-2.0" ]
null
null
null
#include <skye/mock_template_function.hpp> #include <boost/test/unit_test.hpp> #include <sstream> /** * Define helper types for the tests. */ namespace { /// A non-copyable class struct test_no_copy { test_no_copy() : value(42) {} explicit test_no_copy(int x) : value(x) {} test_no_copy(test_...
23.529412
79
0.695313
coryan
9f52b781a7f5879c533c8a1408b524cf4890d8dc
2,026
cpp
C++
src/common/option.cpp
jdillenkofer/klong
b5aa9b5960f1d5398890f6fba0de6296ce405322
[ "MIT" ]
4
2018-10-11T19:59:07.000Z
2020-04-30T04:06:57.000Z
src/common/option.cpp
jdillenkofer/klong
b5aa9b5960f1d5398890f6fba0de6296ce405322
[ "MIT" ]
44
2018-10-09T16:21:14.000Z
2019-07-26T14:51:26.000Z
src/common/option.cpp
jdillenkofer/klong
b5aa9b5960f1d5398890f6fba0de6296ce405322
[ "MIT" ]
null
null
null
#include "common/option.h" namespace klong { Result<Option, std::string> parseOptions(int argc, char* argv[]) { Result<Option, std::string> optionResult; Option option; int c; while ((c = getopt(argc, argv, "hvcgdso:b:ip")) != -1) { switch (c) { c...
31.169231
70
0.459033
jdillenkofer
9f53c90f4b696d3007baee608c7f42749eab17ea
4,444
cpp
C++
src/visionaray/gl/debug_callback.cpp
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
416
2015-02-01T22:19:30.000Z
2022-03-29T10:48:00.000Z
src/visionaray/gl/debug_callback.cpp
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
24
2015-06-26T17:48:08.000Z
2021-11-06T00:20:58.000Z
src/visionaray/gl/debug_callback.cpp
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
39
2015-02-02T11:47:21.000Z
2022-03-29T10:44:43.000Z
// This file is distributed under the MIT license. // See the LICENSE file for details. #include <iostream> #include <ostream> #include <sstream> #include <stdexcept> #include <string> #include <visionaray/detail/platform.h> #if defined(VSNRAY_OS_DARWIN) || defined(VSNRAY_OS_LINUX) #include <execinfo.h> #include <si...
25.837209
111
0.564131
tjachmann