hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
e7725820b336f5c2d2dcccdc4b86929b54c3b06f
6,350
cpp
C++
src/plugin.cpp
mattcomeback/samp-plugin-crashdetect
4bd4052ff8001e1b30875aceaf06b49f51479a07
[ "BSD-2-Clause" ]
null
null
null
src/plugin.cpp
mattcomeback/samp-plugin-crashdetect
4bd4052ff8001e1b30875aceaf06b49f51479a07
[ "BSD-2-Clause" ]
1
2018-07-14T14:10:19.000Z
2018-07-14T18:05:34.000Z
src/plugin.cpp
Zeex/crashdetect
4bd4052ff8001e1b30875aceaf06b49f51479a07
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2011-2021 Zeex // 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 list of conditions an...
30.676329
79
0.725984
mattcomeback
e772893fc5df04ff6ece99cb16228f16145e700a
17,450
cpp
C++
src/windows/iosystem_win32.cpp
kfrolov/netcoredbg
84f51b95d0eb4a087ce2a068d4474895e44e3f97
[ "MIT" ]
null
null
null
src/windows/iosystem_win32.cpp
kfrolov/netcoredbg
84f51b95d0eb4a087ce2a068d4474895e44e3f97
[ "MIT" ]
null
null
null
src/windows/iosystem_win32.cpp
kfrolov/netcoredbg
84f51b95d0eb4a087ce2a068d4474895e44e3f97
[ "MIT" ]
null
null
null
// Copyright (C) 2020 Samsung Electronics Co., Ltd. // See the LICENSE file in the project root for more information. /// \file iosystem_win32.cpp This file contains windows-specific definitions of /// IOSystem class members (see iosystem.h). #ifdef WIN32 #include <io.h> #include <fcntl.h> #include <ws2tcpip.h> #inc...
31.90128
129
0.618166
kfrolov
e7730d74ff4bf71713040b668f595157af49f731
325
cpp
C++
test/incrementalTest/tasks/legacy_namespace/tasklegacynamespacea.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
16
2019-05-23T08:10:39.000Z
2021-12-21T11:20:37.000Z
test/incrementalTest/tasks/legacy_namespace/tasklegacynamespacea.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
null
null
null
test/incrementalTest/tasks/legacy_namespace/tasklegacynamespacea.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
2
2019-05-23T18:37:43.000Z
2021-08-24T21:29:40.000Z
#include "tasklegacynamespacea.h" #include "factory.h" #include <QDebug> using namespace LegacyNamespaceA; REGISTER_CLASS(TaskLegacyNamespaceA) void TaskLegacyNamespaceA::Exec() { qDebug() << metaObject()->className() << ", namespace " << NamespaceName(); } QString LegacyNamespaceA::NamespaceName() { return "A...
20.3125
79
0.732308
JamesMBallard
e7769f9453db407449a7908a8235f33db40e876c
3,749
cpp
C++
backends/graphs/parsers.cpp
hesingh/emit-struct
5002445545178cfeefe78220186a5d8a3081eea3
[ "Apache-2.0" ]
22
2020-08-03T18:28:39.000Z
2021-09-27T00:25:26.000Z
backends/graphs/parsers.cpp
hesingh/emit-struct
5002445545178cfeefe78220186a5d8a3081eea3
[ "Apache-2.0" ]
8
2019-03-03T20:26:46.000Z
2019-04-26T16:16:16.000Z
backends/graphs/parsers.cpp
hesingh/emit-struct
5002445545178cfeefe78220186a5d8a3081eea3
[ "Apache-2.0" ]
5
2020-08-20T02:53:31.000Z
2021-04-13T23:43:12.000Z
/* * Copyright (c) 2017 VMware Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 * * 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/LI...
35.367925
87
0.612163
hesingh
e77b8636d6063fa039fc98b9cc07a44610d67a4e
2,745
cxx
C++
pandatool/src/flt/fltMesh.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/flt/fltMesh.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/flt/fltMesh.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file fltMesh.cxx * @author ...
24.72973
78
0.710747
cmarshall108
e77c09b2864b2912994d8cc3873b25da9258c655
4,515
cpp
C++
src/DiffEq/Beta/MixNumberFractionBetaCoeffPolicy.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/DiffEq/Beta/MixNumberFractionBetaCoeffPolicy.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/DiffEq/Beta/MixNumberFractionBetaCoeffPolicy.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
// ***************************************************************************** /*! \file src/DiffEq/Beta/MixNumberFractionBetaCoeffPolicy.cpp \copyright 2012-2015 J. Bakosi, 2016-2018 Los Alamos National Security, LLC., 2019 Triad National Security, LLC. All rights rese...
46.071429
80
0.609302
franjgonzalez
e77c25351f0670ee9de9221feb6001eed90efe52
2,896
cc
C++
opti/save/OptiParams/OptiParams_toes.cc
mharding01/augmented-neuromuscular-RT-running
7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834
[ "MIT" ]
null
null
null
opti/save/OptiParams/OptiParams_toes.cc
mharding01/augmented-neuromuscular-RT-running
7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834
[ "MIT" ]
null
null
null
opti/save/OptiParams/OptiParams_toes.cc
mharding01/augmented-neuromuscular-RT-running
7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834
[ "MIT" ]
null
null
null
#include "OPTI_NAME.hh" #include "StimGeyerCtrl.hh" #include "StimWangCtrl.hh" #include "StimWalkCtrl.hh" #include "ImpedanceCtrlInit.hh" /*! \brief constructor */ OPTI_NAME::OPTI_NAME() { } /*! \brief destructor */ OPTI_NAME::~OPTI_NAME() { } /*! \brief set optimization parameters */ void OPTI_NAME::set_opti()...
32.909091
65
0.602555
mharding01
e77f3fdb59a06222792b9637025d84c0e09e310b
19,667
cc
C++
src/intel/ds/intel_driver_ds.cc
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
src/intel/ds/intel_driver_ds.cc
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
src/intel/ds/intel_driver_ds.cc
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
/* * Copyright © 2021 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, pub...
33.504259
132
0.648548
SoftReaper
e784d5471a0b3b67eec5f4c866591677d95c504c
2,633
hpp
C++
tests/unit/math/rect.test.hpp
purpurina-engine/purpurina-frwk
1df6fc2768f346fd47fd5cc3dd05daa59dea3726
[ "MIT" ]
null
null
null
tests/unit/math/rect.test.hpp
purpurina-engine/purpurina-frwk
1df6fc2768f346fd47fd5cc3dd05daa59dea3726
[ "MIT" ]
null
null
null
tests/unit/math/rect.test.hpp
purpurina-engine/purpurina-frwk
1df6fc2768f346fd47fd5cc3dd05daa59dea3726
[ "MIT" ]
null
null
null
#include <doctest.h> #include <ct/math/detail/trect.hpp> typedef ct::trect<ct::f32> rect; typedef ct::trect<ct::i32> recti; TEST_CASE("math/rect") { SUBCASE("default constructors") { rect rect0; CHECK(rect0.x == 0.f); CHECK(rect0.y == 0.f); CHECK(rect0.width == 0.f); CHECK(rect0.height == 0.f); rect ...
26.867347
74
0.620965
purpurina-engine
e787aa536d6b30cabdd88dd115592a1e75083630
234
hpp
C++
include/main.hpp
jskyzero/Cplusplus.SFINAE
e3fea80904aabb4de3a0a1d27ab553ecce6c8239
[ "MIT" ]
null
null
null
include/main.hpp
jskyzero/Cplusplus.SFINAE
e3fea80904aabb4de3a0a1d27ab553ecce6c8239
[ "MIT" ]
null
null
null
include/main.hpp
jskyzero/Cplusplus.SFINAE
e3fea80904aabb4de3a0a1d27ab553ecce6c8239
[ "MIT" ]
null
null
null
#ifndef __MAIN_HPP__ #define __MAIN_HPP__ #include "types.example.hpp" #include "add.universal.hpp" void SFINAE(); template <typename ReturnType, typename...A> ReturnType GetReturnType(ReturnType(*)(A...)); #endif // __MAIN_HPP__
18
46
0.752137
jskyzero
e787bfbdb4fc243dc6edfe3b841d6cd684a735aa
2,464
hpp
C++
src/nchip8/gui.hpp
ocanty/nchip8
05735e1d1273afccccf0b3cc84a620cf360a388b
[ "MIT" ]
5
2019-01-08T17:55:12.000Z
2021-05-02T07:47:08.000Z
src/nchip8/gui.hpp
ocanty/nchip8
05735e1d1273afccccf0b3cc84a620cf360a388b
[ "MIT" ]
null
null
null
src/nchip8/gui.hpp
ocanty/nchip8
05735e1d1273afccccf0b3cc84a620cf360a388b
[ "MIT" ]
1
2019-03-02T12:18:08.000Z
2019-03-02T12:18:08.000Z
// // Created by ocanty on 26/09/18. // #ifndef CHIP8_NCURSES_GUI_HPP #define CHIP8_NCURSES_GUI_HPP #include <curses.h> #include <sstream> #include <vector> #include <memory> #include <unordered_map> #include "cpu_daemon.hpp" namespace nchip8 { class gui { public: //! @brief Constructor //! //! @param ...
27.685393
95
0.669237
ocanty
e788ed7666b15a8c7f5a5a6f3388160651f7f517
822
cpp
C++
foundation/cpp/1_basics_of_programming/1_getting_started/4_print_all_prime_till_N.cpp
vikaskbm/pepcoding
fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1
[ "MIT" ]
2
2021-03-16T08:56:46.000Z
2021-03-17T05:37:21.000Z
foundation/cpp/1_basics_of_programming/1_getting_started/4_print_all_prime_till_N.cpp
vikaskbm/pepcoding
fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1
[ "MIT" ]
null
null
null
foundation/cpp/1_basics_of_programming/1_getting_started/4_print_all_prime_till_N.cpp
vikaskbm/pepcoding
fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1
[ "MIT" ]
null
null
null
// Print All Primes Till N // 1. You've to print all prime numbers between a range. // 2. Take as input "low", the lower limit of range. // 3. Take as input "high", the higher limit of range. // 4. For the range print all the primes numbers between low and high (both included). #include <iostream> using namespace std...
22.833333
86
0.568127
vikaskbm
e789048757007522202c9026ec4b0ecec30e46a2
314
cpp
C++
Choinon8.cpp
huynhminhtruong/learningcourses
7df63773abf3e56bb4a5367fe08c7afa91b2e474
[ "MIT" ]
null
null
null
Choinon8.cpp
huynhminhtruong/learningcourses
7df63773abf3e56bb4a5367fe08c7afa91b2e474
[ "MIT" ]
null
null
null
Choinon8.cpp
huynhminhtruong/learningcourses
7df63773abf3e56bb4a5367fe08c7afa91b2e474
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int isMin(int a, int b) { if (a < b) { return a; } return b; } int main() { int a, b, c, r; cin >> a >> b >> c; if (isMin(a, b) - a == 0) { r = b; } else { r = a; } cout << isMin(isMin(a, b), c) << " " << isMin(a, b) << " " << r << endl; return 0; }
11.62963
73
0.449045
huynhminhtruong
e78d448e3c899b49c4ec887e0e3e65ee1cf86981
11,732
cpp
C++
src/framework/graphics/drawpool.cpp
Mrpox/otclient
2df4c8c6c87ab3d0cbeedf62091690837e14f2eb
[ "MIT" ]
null
null
null
src/framework/graphics/drawpool.cpp
Mrpox/otclient
2df4c8c6c87ab3d0cbeedf62091690837e14f2eb
[ "MIT" ]
null
null
null
src/framework/graphics/drawpool.cpp
Mrpox/otclient
2df4c8c6c87ab3d0cbeedf62091690837e14f2eb
[ "MIT" ]
null
null
null
/* * Copyright (c) 2010-2020 OTClient <https://github.com/edubart/otclient> * * 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...
32.862745
157
0.65658
Mrpox
e78db12f77c8f1945ee32304d102d3419e0bab6d
2,412
cpp
C++
src/Cursor.actor.cpp
kolesa-team/fdb-document-layer
d556bbf1a8f7cd3fd382943eb1694599b0bf15b3
[ "Apache-2.0" ]
null
null
null
src/Cursor.actor.cpp
kolesa-team/fdb-document-layer
d556bbf1a8f7cd3fd382943eb1694599b0bf15b3
[ "Apache-2.0" ]
null
null
null
src/Cursor.actor.cpp
kolesa-team/fdb-document-layer
d556bbf1a8f7cd3fd382943eb1694599b0bf15b3
[ "Apache-2.0" ]
null
null
null
/* * Cursor.actor.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2018 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
31.324675
106
0.705224
kolesa-team
e79285db69f4ad768afe21bbec32498678f7f1d3
23,569
hpp
C++
libraries/chain/include/golos/chain/steem_objects.hpp
1aerostorm/golos
06105e960537347bee7c4657e0b63c85adfff26f
[ "MIT" ]
null
null
null
libraries/chain/include/golos/chain/steem_objects.hpp
1aerostorm/golos
06105e960537347bee7c4657e0b63c85adfff26f
[ "MIT" ]
null
null
null
libraries/chain/include/golos/chain/steem_objects.hpp
1aerostorm/golos
06105e960537347bee7c4657e0b63c85adfff26f
[ "MIT" ]
null
null
null
#pragma once #include <golos/protocol/authority.hpp> #include <golos/protocol/steem_operations.hpp> #include <golos/chain/steem_object_types.hpp> #include <boost/multi_index/composite_key.hpp> #include <boost/multiprecision/cpp_int.hpp> #include <boost/interprocess/containers/flat_set.hpp> namespace golos { na...
38.701149
152
0.630532
1aerostorm
e795e8270aab6ef47720f6c0e9ec3d14b2cdf946
11,405
hpp
C++
src/copy.hpp
snake0/upcxx-2020.10.0
dcd313a65587efcdefdb4fdfb197389a0e390ccd
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/copy.hpp
snake0/upcxx-2020.10.0
dcd313a65587efcdefdb4fdfb197389a0e390ccd
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/copy.hpp
snake0/upcxx-2020.10.0
dcd313a65587efcdefdb4fdfb197389a0e390ccd
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifndef _f42075e8_08a8_4472_8972_3919ea92e6ff #define _f42075e8_08a8_4472_8972_3919ea92e6ff #include <upcxx/backend.hpp> #include <upcxx/cuda.hpp> #include <upcxx/completion.hpp> #include <upcxx/global_ptr.hpp> #include <upcxx/rput.hpp> #include <functional> namespace upcxx { namespace detail { void rma_copy_g...
39.058219
143
0.571416
snake0
e7961eb256a32a00d30e7e4bde693cb3cc88d4c5
5,069
cc
C++
runtime/gc/space/space.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
20
2021-06-24T16:38:42.000Z
2022-01-20T16:15:57.000Z
runtime/gc/space/space.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
null
null
null
runtime/gc/space/space.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
4
2021-11-03T06:01:12.000Z
2022-02-24T02:57:31.000Z
/* * Copyright (C) 2011 The Android Open Source Project * * 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 app...
33.793333
100
0.719077
Paschalis
e79701c6c68a0f5ffb35063a0458e989eea949b5
5,602
cpp
C++
src/orocos_kinematics_dynamics/python_orocos_kdl/pybind11/tests/pybind11_cross_module_tests.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
15
2020-04-17T17:25:47.000Z
2022-02-02T09:28:56.000Z
src/orocos_kinematics_dynamics/python_orocos_kdl/pybind11/tests/pybind11_cross_module_tests.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
84
2020-04-29T17:22:04.000Z
2022-02-14T12:24:59.000Z
src/orocos_kinematics_dynamics/python_orocos_kdl/pybind11/tests/pybind11_cross_module_tests.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
2
2021-03-02T04:15:05.000Z
2022-01-15T11:59:22.000Z
/* tests/pybind11_cross_module_tests.cpp -- contains tests that require multiple modules Copyright (c) 2017 Jason Rhinelander <jason@imaginary.ca> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #include "pybind11_tests.h" #inc...
40.594203
131
0.650303
matchRos
e7973b06cb60cec789733ecb028636b04ea10f0c
693
cpp
C++
src/constraint/DefaultTestableOutcome.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
src/constraint/DefaultTestableOutcome.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
src/constraint/DefaultTestableOutcome.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
#include <aikido/constraint/DefaultTestableOutcome.hpp> namespace aikido { namespace constraint { //============================================================================== bool DefaultTestableOutcome::isSatisfied() const { return mSatisfiedFlag; } //==========================================================...
23.896552
80
0.497835
usc-csci-545
e79b2729f263c7f0728590d71f85e51c27469101
7,003
cpp
C++
src/uMOOSArduinoLib/NetUtil/tcpblockio.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
9
2016-02-25T03:25:53.000Z
2022-03-27T09:47:50.000Z
src/uMOOSArduinoLib/NetUtil/tcpblockio.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
null
null
null
src/uMOOSArduinoLib/NetUtil/tcpblockio.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
4
2016-06-02T17:42:42.000Z
2021-12-15T09:37:55.000Z
/* tcpblockio.c - a set of functions that define a block i/o interface to TCP. * These functions encapsulate all the steps needed to: * - read and write blocks of a specified size * - open clients and listeners * must be linked with -lnsl and -lsocket on solaris */ #define _POSIX_C_SOURCE 2008...
30.986726
89
0.648865
mandad
e79c69c6d4b7747f914d3d648c456479df815140
861
cpp
C++
Code/Marching_Cubes/src/Editing/Actions/DigSphereAction.cpp
JC-G/Marching-Cubes
e51f3f842cc1505020aa24446614821dd3b5c14e
[ "MIT" ]
null
null
null
Code/Marching_Cubes/src/Editing/Actions/DigSphereAction.cpp
JC-G/Marching-Cubes
e51f3f842cc1505020aa24446614821dd3b5c14e
[ "MIT" ]
null
null
null
Code/Marching_Cubes/src/Editing/Actions/DigSphereAction.cpp
JC-G/Marching-Cubes
e51f3f842cc1505020aa24446614821dd3b5c14e
[ "MIT" ]
null
null
null
#include "DigSphereAction.h" #include "Editing.h" #include "Preview.h" #include "Window.h" #include "EllipsoidBrush.h" DigSphereAction::DigSphereAction(float r) :radius(r) { } void DigSphereAction::onMouseDown(glm::vec3 pos){}; void DigSphereAction::onMouseUp(glm::vec3 pos){}; void DigSphereAction::onMouseHold(glm...
22.076923
69
0.718931
JC-G
e7a1e5ffa070b8adec7e1ce8c972268aaaad3a45
778
cpp
C++
pulsar/util/Mangle.cpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/util/Mangle.cpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/util/Mangle.cpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
/*! \file * * \brief Mangling/Demangling helpers (source) * \author Benjamin Pritchard (ben@bennyp.org) */ #include <cxxabi.h> #include "pulsar/util/Mangle.hpp" namespace pulsar{ std::string demangle_cpp(const char * typestr) { // taken from https://gcc.gnu.org/onlinedocs/libstdc++/manual/ext_demangling.ht...
18.97561
85
0.664524
pulsar-chem
e7a1e75a6190370a596c247d9280f0e87289ebb0
426
cc
C++
P1-Introduction/P42042.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
P1-Introduction/P42042.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
P1-Introduction/P42042.cc
srmeeseeks/PRO1-jutge-FIB
3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1
[ "MIT" ]
null
null
null
//Classificació de caràcters (1) #include <iostream> using namespace std; int main() { char c; cin >> c; if (c >= 'A' and c <= 'Z') cout << "majuscula"; else cout << "minuscula"; cout << endl; if (c == 'a' or c == 'e' or c == 'i' or c == 'o' or c == 'u' or c == 'A' or c == 'E...
23.666667
80
0.455399
srmeeseeks
e7a32d80887bdb61105720ef8702a3e7e2637109
168
cpp
C++
GameEngine/src/GameEngine/Renderer/RenderCommand.cpp
josh-teichro/game-engine
be016e1a5d58b01255093bb08926969706f3e69a
[ "Apache-2.0" ]
null
null
null
GameEngine/src/GameEngine/Renderer/RenderCommand.cpp
josh-teichro/game-engine
be016e1a5d58b01255093bb08926969706f3e69a
[ "Apache-2.0" ]
null
null
null
GameEngine/src/GameEngine/Renderer/RenderCommand.cpp
josh-teichro/game-engine
be016e1a5d58b01255093bb08926969706f3e69a
[ "Apache-2.0" ]
null
null
null
#include "gepch.h" #include "GameEngine/Renderer/RenderCommand.h" namespace GameEngine { Scope<RendererAPI> RenderCommand::s_RendererAPI = RendererAPI::Create(); }
18.666667
73
0.77381
josh-teichro
e7a478ec621ec8190b9ab35c27f9a0b20b3d5db7
10,632
cxx
C++
AD/ADrec/AliADDecision.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
AD/ADrec/AliADDecision.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
2
2016-11-25T08:40:56.000Z
2019-10-11T12:29:29.000Z
AD/ADrec/AliADDecision.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
35.918919
106
0.663469
AllaMaevskaya
e7a494567e6b999256efdcdf9381f7b987d81a12
1,013
hpp
C++
libautom8/include/autom8/device/null_device_system.hpp
clangen/autom8
69db4176fecd133fc352a95176dbc812d43e128f
[ "Artistic-2.0", "Apache-2.0", "BSD-3-Clause" ]
3
2019-03-02T03:48:28.000Z
2022-03-28T10:54:54.000Z
libautom8/include/autom8/device/null_device_system.hpp
clangen/autom8
69db4176fecd133fc352a95176dbc812d43e128f
[ "Artistic-2.0", "Apache-2.0", "BSD-3-Clause" ]
1
2020-07-15T21:42:11.000Z
2020-07-15T21:42:11.000Z
libautom8/include/autom8/device/null_device_system.hpp
clangen/autom8
69db4176fecd133fc352a95176dbc812d43e128f
[ "Artistic-2.0", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#ifndef __C_AUTOM8_NULL_DEVICE_SYSTEM_HPP__ #define __C_AUTOM8_NULL_DEVICE_SYSTEM_HPP__ #include <autom8/util/signal_handler.hpp> #include <autom8/device/device_system.hpp> namespace autom8 { class null_device_system: public device_system, public signal_handler { public: null_device_system(); ...
26.657895
75
0.627838
clangen
e7a9922d223075b89e6e1363c58fa1e98a059e4f
484
hpp
C++
OGL TLM on GPU/Mesh/PlaneMesh.hpp
bobvodka/TransmissionLineMatrixTheoryOnGPU
6db9eb97c7af88969a8bec102e8c55dec48ed8e9
[ "MIT" ]
null
null
null
OGL TLM on GPU/Mesh/PlaneMesh.hpp
bobvodka/TransmissionLineMatrixTheoryOnGPU
6db9eb97c7af88969a8bec102e8c55dec48ed8e9
[ "MIT" ]
null
null
null
OGL TLM on GPU/Mesh/PlaneMesh.hpp
bobvodka/TransmissionLineMatrixTheoryOnGPU
6db9eb97c7af88969a8bec102e8c55dec48ed8e9
[ "MIT" ]
null
null
null
/************************************************************************/ /* Plane implementation of the Base interface */ /* */ /************************************************************************/ #ifndef TLM_PLANEMEHS_HPP #define TLM_PLANEMEHS_HPP #include "IMesh.hpp...
24.2
74
0.429752
bobvodka
e7ab13af6430551112ffc00a4a11a2b3fbe1c0c6
2,750
cc
C++
server/modules/filter/cache/test/keycheck.cc
mariadb-corporation/MaxScale
e18ccc287d7714165479992f5214aacc7486048d
[ "BSD-3-Clause" ]
1,157
2015-01-06T15:44:47.000Z
2022-03-28T02:52:37.000Z
server/modules/filter/cache/test/keycheck.cc
mariadb-corporation/MaxScale
e18ccc287d7714165479992f5214aacc7486048d
[ "BSD-3-Clause" ]
80
2015-02-13T11:49:05.000Z
2022-01-17T09:00:11.000Z
server/modules/filter/cache/test/keycheck.cc
mariadb-corporation/MaxScale
e18ccc287d7714165479992f5214aacc7486048d
[ "BSD-3-Clause" ]
361
2015-01-14T03:01:00.000Z
2022-03-28T00:14:04.000Z
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-10-11 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
23.504274
76
0.549818
mariadb-corporation
e7aba3f304fc7b6bd45061dc507d3cfbdc498932
5,860
cpp
C++
src/net/NetClient.cpp
levyhoo/netwb
2d00398ca5b8cd69e94e986822b98733b3780d57
[ "Apache-2.0" ]
null
null
null
src/net/NetClient.cpp
levyhoo/netwb
2d00398ca5b8cd69e94e986822b98733b3780d57
[ "Apache-2.0" ]
null
null
null
src/net/NetClient.cpp
levyhoo/netwb
2d00398ca5b8cd69e94e986822b98733b3780d57
[ "Apache-2.0" ]
null
null
null
#include "common/Stdafx.h" #include "net/NetClient.h" #include "stream.h" #include "net/ProxyHelper.h" #include "net/NetSocket.h" using namespace net; NetClient::NetClient(io_service& ioservice, string serverIp, unsigned short serverPort) : m_ioservice(ioservice), m_reconnectTimer(ioservice) { m_serverIp = serve...
26.278027
191
0.642491
levyhoo
e7aeb938fcc9ef3d757463ed1053f5c83aae420f
12,418
cpp
C++
test_conformance/gles/main.cpp
gwawiork/OpenCL-CTS
de6c3db41ba3dfc345321afe2612d0d99a16c7f3
[ "Apache-2.0" ]
1
2020-06-05T04:01:03.000Z
2020-06-05T04:01:03.000Z
test_conformance/gles/main.cpp
gwawiork/OpenCL-CTS
de6c3db41ba3dfc345321afe2612d0d99a16c7f3
[ "Apache-2.0" ]
null
null
null
test_conformance/gles/main.cpp
gwawiork/OpenCL-CTS
de6c3db41ba3dfc345321afe2612d0d99a16c7f3
[ "Apache-2.0" ]
3
2020-10-26T02:53:08.000Z
2021-02-12T14:59:41.000Z
// // Copyright (c) 2017 The Khronos Group 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
30.890547
134
0.629167
gwawiork
e7b01259b8c76a98b0edb2aaa5785ccb0fd30d45
704
hpp
C++
include/RED4ext/Scripting/Natives/Generated/audio/VehicleEngageMovingFasterInterpolationData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/audio/VehicleEngageMovingFasterInterpolationData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/audio/VehicleEngageMovingFasterInterpolationData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/audio/ESoundCurveType.hpp> namespace RED4ext { namespace audio { struct VehicleEngageMovingFasterInterpolationData { static constexpr const char* ...
28.16
90
0.776989
jackhumbert
e7b0c03dcc39f982abb3f221338b12f530543be8
989
hpp
C++
src/data_query.hpp
CESNET/netconf-cli
a1b52a032703e57e7fe9204573efc65be3488ac8
[ "Apache-2.0" ]
4
2020-03-12T02:31:30.000Z
2022-02-11T17:27:22.000Z
src/data_query.hpp
CESNET/netconf-cli
a1b52a032703e57e7fe9204573efc65be3488ac8
[ "Apache-2.0" ]
null
null
null
src/data_query.hpp
CESNET/netconf-cli
a1b52a032703e57e7fe9204573efc65be3488ac8
[ "Apache-2.0" ]
1
2020-08-12T09:46:36.000Z
2020-08-12T09:46:36.000Z
/* * Copyright (C) 2019 CESNET, https://photonics.cesnet.cz/ * * Written by Václav Kubernát <kubernat@cesnet.cz> * */ #pragma once #include <boost/optional.hpp> #include <map> #include <memory> #include <set> #include "ast_values.hpp" #include "datastore_access.hpp" #include "schema.hpp" /*! \class DataQuery *...
27.472222
162
0.71183
CESNET
e7b141d56b570e9418e21a39f1a0b23dd24bdbbd
354
hh
C++
deps.win32/include/live555/BasicUsageEnvironment_version.hh
wongdu/refGaming-anywhere
471f23ff402f9b31e743062d897a05b6a672ba5c
[ "BSD-3-Clause" ]
null
null
null
deps.win32/include/live555/BasicUsageEnvironment_version.hh
wongdu/refGaming-anywhere
471f23ff402f9b31e743062d897a05b6a672ba5c
[ "BSD-3-Clause" ]
null
null
null
deps.win32/include/live555/BasicUsageEnvironment_version.hh
wongdu/refGaming-anywhere
471f23ff402f9b31e743062d897a05b6a672ba5c
[ "BSD-3-Clause" ]
null
null
null
// Version information for the "BasicUsageEnvironment" library // Copyright (c) 1996-2020 Live Networks, Inc. All rights reserved. #ifndef _BASICUSAGEENVIRONMENT_VERSION_HH #define _BASICUSAGEENVIRONMENT_VERSION_HH #define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2020.03.06" #define BASICUSAGEENVIRONMENT_LIBRAR...
32.181818
68
0.847458
wongdu
e7b22032610b875bd680726c975c4256f498069c
3,451
cpp
C++
src/http.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
16
2016-03-16T22:16:18.000Z
2021-04-05T04:46:38.000Z
src/http.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
11
2016-03-16T22:02:26.000Z
2021-04-04T02:20:51.000Z
src/http.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
5
2016-03-22T14:03:34.000Z
2021-01-06T18:08:46.000Z
#include "native/http.hpp" #include <cctype> #include <iomanip> #include <sstream> #include <string> namespace { int hexValue(const char c) { if (c >= '0' && c <= '9') { return c - '0'; } if (c >= 'A' && c <= 'F') { return c - 'A' + 10; } if (c >= 'a' && c <= 'f') { return c - 'a' + 10; } ...
26.546154
104
0.534338
nodenative
e7b695eaadbd1fc90e9aea7ca3b0acd28a852b1d
1,219
cpp
C++
examples/hotplug.cpp
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
null
null
null
examples/hotplug.cpp
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
null
null
null
examples/hotplug.cpp
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
null
null
null
// Simple example demonstrating hotplug support. #include <chrono> #include <iostream> #include <thread> #include <libsmu/libsmu.hpp> using std::cout; using std::cerr; using std::endl; using namespace smu; int main(int argc, char **argv) { // Create session object and add all compatible devices them to the // se...
27.088889
69
0.675964
damercer
e7b90fb45bdc1b73b77b4341ad155c32cd3273e5
3,937
cpp
C++
test/core/image_view/dynamic_step.cpp
sdebionne/gil-reformated
7065d600d7f84d9ef2ed4df9862c596ff7e8a8c2
[ "BSL-1.0" ]
null
null
null
test/core/image_view/dynamic_step.cpp
sdebionne/gil-reformated
7065d600d7f84d9ef2ed4df9862c596ff7e8a8c2
[ "BSL-1.0" ]
null
null
null
test/core/image_view/dynamic_step.cpp
sdebionne/gil-reformated
7065d600d7f84d9ef2ed4df9862c596ff7e8a8c2
[ "BSL-1.0" ]
null
null
null
// // Copyright 2019 Mateusz Loskot <mateusz at loskot dot net> // // 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 <boost/gil/dynamic_step.hpp> #include <boost/gil/image_view.hpp> #include <boost/gil/typ...
31
79
0.709931
sdebionne
e7b987be450ccccd164443e0f0cdfee7f4d16395
3,305
cpp
C++
Nov-9-Comp-Code/First_Comp/src/main.cpp
TonyCha3713/VEX_Robotics_TowerTakeOver
92c0dc4349ee4c7112a41f641a0335cfec87cd50
[ "MIT" ]
null
null
null
Nov-9-Comp-Code/First_Comp/src/main.cpp
TonyCha3713/VEX_Robotics_TowerTakeOver
92c0dc4349ee4c7112a41f641a0335cfec87cd50
[ "MIT" ]
null
null
null
Nov-9-Comp-Code/First_Comp/src/main.cpp
TonyCha3713/VEX_Robotics_TowerTakeOver
92c0dc4349ee4c7112a41f641a0335cfec87cd50
[ "MIT" ]
null
null
null
#include "main.h" /** * A callback function for LLEMU's center button. * * When this callback is fired, it will toggle line 2 of the LCD text between * "I was pressed!" and nothing. */ /** * Runs initialization code. This occurs as soon as the program is started. * * All other competition modes are blocked ...
22.636986
80
0.71528
TonyCha3713
e7bdeec5efb9b007c9932d1d47a45cdeeb1614bc
11,106
cpp
C++
third_party/p7zip/CPP/7zip/Q7Zip/util7zip/util7zip.cpp
VirtualLib/juice
3d5912059f3a80ec1fef5c5031a395578904fe9c
[ "MIT" ]
4
2017-03-02T10:19:03.000Z
2020-03-05T03:29:28.000Z
jni/CPP/7zip/Q7Zip/util7zip/util7zip.cpp
Searcher23/Searcher
ff0ea913d791e7245f4e8da6958de41a8efe62bf
[ "Apache-2.0" ]
null
null
null
jni/CPP/7zip/Q7Zip/util7zip/util7zip.cpp
Searcher23/Searcher
ff0ea913d791e7245f4e8da6958de41a8efe62bf
[ "Apache-2.0" ]
2
2021-12-04T06:44:33.000Z
2021-12-08T15:14:42.000Z
#include "StdAfx.h" // #include "../../../../C/Alloc.h" #include <stdio.h> #include <time.h> #include <locale.h> #include "Common/MyWindows.h" #include "Common/MyTypes.h" typedef long LONG_PTR; // FIXME 64 bits ? typedef LONG_PTR LRESULT; // typedef long DWORD_PTR; // FIXME 64 bits ? #include "C...
23.832618
120
0.636683
VirtualLib
e7bf25f7531e4361db2c38ab6761b430eea9e0b9
1,788
cpp
C++
corelib/core_instance.cpp
SammyEnigma/im-desktop
d93c1c335c8290b21b69c578c399edf61cb899e8
[ "Apache-2.0" ]
2
2020-10-23T06:27:27.000Z
2021-11-12T12:06:12.000Z
corelib/core_instance.cpp
john-preston/im-desktop
271e42db657bdaa8e261f318c627ca5414e0dd87
[ "Apache-2.0" ]
null
null
null
corelib/core_instance.cpp
john-preston/im-desktop
271e42db657bdaa8e261f318c627ca5414e0dd87
[ "Apache-2.0" ]
1
2022-03-25T16:10:33.000Z
2022-03-25T16:10:33.000Z
#include "stdafx.h" #include "core_instance.h" #include "../core/core.h" #include "collection.h" #include "collection_helper.h" using namespace core; core::core_instance::core_instance() { ref_count_ = 1; gui_connector_ = nullptr; if (g_core) { assert(!"core must be single"...
18.43299
99
0.631432
SammyEnigma
e7c09f65c8b98be297245ff3ad44b2ca65434ec1
3,719
cc
C++
src/meili/map_matcher_factory.cc
sinabakh/valhalla
4f93590bca142330ae0ce34e6a614144aef57254
[ "MIT" ]
1
2019-10-25T06:16:27.000Z
2019-10-25T06:16:27.000Z
src/meili/map_matcher_factory.cc
sinabakh/valhalla
4f93590bca142330ae0ce34e6a614144aef57254
[ "MIT" ]
null
null
null
src/meili/map_matcher_factory.cc
sinabakh/valhalla
4f93590bca142330ae0ce34e6a614144aef57254
[ "MIT" ]
1
2019-10-25T06:16:29.000Z
2019-10-25T06:16:29.000Z
#include <string> #include "baldr/graphreader.h" #include "baldr/tilehierarchy.h" #include "sif/autocost.h" #include "sif/bicyclecost.h" #include "sif/costconstants.h" #include "sif/motorscootercost.h" #include "sif/pedestriancost.h" #include "meili/candidate_search.h" #include "meili/map_matcher.h" #include "meili/...
34.119266
100
0.718204
sinabakh
e7c1553efc1f5106dded1bd74bca0ab8670fd355
533
cpp
C++
validation_tests/llvm/fjit/basic/mt1.cpp
brugger1/testsuite
9b504db668cdeaf7c561f15b76c95d05bfdd1517
[ "MIT" ]
12
2019-02-12T18:20:29.000Z
2021-12-09T19:46:19.000Z
validation_tests/llvm/fjit/basic/mt1.cpp
brugger1/testsuite
9b504db668cdeaf7c561f15b76c95d05bfdd1517
[ "MIT" ]
24
2020-08-31T22:05:07.000Z
2022-02-21T18:30:03.000Z
validation_tests/llvm/fjit/basic/mt1.cpp
brugger1/testsuite
9b504db668cdeaf7c561f15b76c95d05bfdd1517
[ "MIT" ]
19
2020-08-31T21:59:10.000Z
2022-02-23T22:06:46.000Z
// RUN: %clangxx -o %t %s -fjit -std=c++11 -O0 // RUN: %t | FileCheck %s #include <iostream> class Test { private: int x; public: Test(); template<int val> int getResult(); }; Test::Test() : x(2) {} template <int val> [[clang::jit]] int Test::getResult() { return val * x; } int main() { std::cout <<...
14.405405
57
0.545966
brugger1
e7c2e151246bad859eb05e25aed02268fcb166ac
9,091
cpp
C++
android-project/jni/libtesseract/src/ccmain/recogtraining.cpp
pixelsquare/tesseract-ocr-unity
f5f16c3d77cb4898f3fa96aed4abd82817de39fd
[ "MIT" ]
6
2019-08-22T11:42:27.000Z
2021-12-24T09:23:23.000Z
android-project/jni/libtesseract/src/ccmain/recogtraining.cpp
pixelsquare/tesseract-ocr-unity
f5f16c3d77cb4898f3fa96aed4abd82817de39fd
[ "MIT" ]
1
2018-11-30T15:53:24.000Z
2020-01-23T16:46:24.000Z
android-project/jni/libtesseract/src/ccmain/recogtraining.cpp
pixelsquare/tesseract-ocr-unity
f5f16c3d77cb4898f3fa96aed4abd82817de39fd
[ "MIT" ]
3
2019-05-30T04:13:56.000Z
2021-12-24T09:23:26.000Z
/////////////////////////////////////////////////////////////////////// // File: recogtraining.cpp // Description: Functions for ambiguity and parameter training. // Author: Daria Antonova // // (C) Copyright 2009, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you ...
39.69869
98
0.647344
pixelsquare
b10d104abeba0880c1e6d84cbc75634fc900eb3a
2,178
cpp
C++
libs/units/example/tutorial.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
11
2015-07-12T13:04:52.000Z
2021-05-30T23:23:46.000Z
libs/units/example/tutorial.cpp
boost-cmake/vintage
dcfb7da3177134eddaee6789d6f582259cb0d6ee
[ "BSL-1.0" ]
null
null
null
libs/units/example/tutorial.cpp
boost-cmake/vintage
dcfb7da3177134eddaee6789d6f582259cb0d6ee
[ "BSL-1.0" ]
3
2015-12-23T01:51:57.000Z
2019-08-25T04:58:32.000Z
// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel // Copyright (C) 2008 Steven Watanabe // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.tx...
24.47191
80
0.598255
zyiacas
b10d2cb094f15d118417f04a05cdd14bd85f729a
832
cpp
C++
Exams/bcp-2022-02/PBQ1.cpp
dbilovd/compeng-sem1-cpp
136c89ec63b65e4bc7fba07a45f29dc0c9de56e6
[ "Apache-2.0" ]
1
2018-12-03T10:06:06.000Z
2018-12-03T10:06:06.000Z
Exams/bcp-2022-02/PBQ1.cpp
dbilovd/compeng-sem1-cpp
136c89ec63b65e4bc7fba07a45f29dc0c9de56e6
[ "Apache-2.0" ]
null
null
null
Exams/bcp-2022-02/PBQ1.cpp
dbilovd/compeng-sem1-cpp
136c89ec63b65e4bc7fba07a45f29dc0c9de56e6
[ "Apache-2.0" ]
1
2018-12-03T10:23:55.000Z
2018-12-03T10:23:55.000Z
#include<iostream> using namespace std; int addFiveNumbers () { double results = 0; for (int i = 0; i < 5; i++) { double currentNumber; cout << "Enter a number:\n"; cin >> currentNumber; results += (double) currentNumber; } cout << "The result is: " + to_string(results) + "\n"; return 0;...
17.702128
100
0.602163
dbilovd
b10ff608257821c5b4cfe8496c1a5f5917fbb108
571
cpp
C++
program9/program9/Source.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
program9/program9/Source.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
program9/program9/Source.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
//Author: michael lapan //assignment: program9 /* *this program reads two files, loads both into BST *and then allows the user to search for a user on a certin date */ #include <fstream> #include <iostream> using namespace std; #include "wrap.h" int main() { //vars to hold user input. int custID = 0; string date...
20.392857
82
0.676007
hurnhu
b110cee854f2750143ec0a482a471191a6a117ce
167
hpp
C++
include/MemeEditor/ImGui.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
include/MemeEditor/ImGui.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
include/MemeEditor/ImGui.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
#ifndef _ML_IMGUI_HPP_ #define _ML_IMGUI_HPP_ #include <imgui/imgui.h> #include <imgui/imgui_internal.h> #include <imgui/imgui_impl_ml.hpp> #endif // !_ML_IMGUI_HPP_
20.875
34
0.790419
Gurman8r
b113279b41355c1596d28a4bb777921d1a8575a4
8,562
cpp
C++
perf/sort_patterns.cpp
memsharded/range-v3
30a4dc8ef723a6db95d80f6bba3d6d5e9af0eadd
[ "MIT" ]
null
null
null
perf/sort_patterns.cpp
memsharded/range-v3
30a4dc8ef723a6db95d80f6bba3d6d5e9af0eadd
[ "MIT" ]
null
null
null
perf/sort_patterns.cpp
memsharded/range-v3
30a4dc8ef723a6db95d80f6bba3d6d5e9af0eadd
[ "MIT" ]
1
2021-10-02T08:03:49.000Z
2021-10-02T08:03:49.000Z
/// \file // Range v3 library // // Copyright Eric Niebler 2013-2015 // Copyright Gonzalo Brito Gadeschi 2015 // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Proje...
33.315175
101
0.629292
memsharded
b1154b1d629a2dd57afaed2489dc182e248c79b1
5,449
cpp
C++
1052_Seminar14/Source.cpp
catalinboja/sdd_2019
b5238e718b3e4a88091cea007a9b873d638570f0
[ "MIT" ]
4
2019-04-11T11:14:10.000Z
2021-05-18T22:05:24.000Z
1052_Seminar14/Source.cpp
MikyPopescu/sdd_2019
b5238e718b3e4a88091cea007a9b873d638570f0
[ "MIT" ]
null
null
null
1052_Seminar14/Source.cpp
MikyPopescu/sdd_2019
b5238e718b3e4a88091cea007a9b873d638570f0
[ "MIT" ]
2
2019-06-15T17:17:08.000Z
2021-05-10T11:06:31.000Z
#include <stdio.h> #include <malloc.h> #include <string.h> #include <stdlib.h> struct linkedNode; struct mainNode{ char cityName[100]; linkedNode* linkedNodes; mainNode* next; }; struct linkedNode { //char cityName[100]; //another way of implementing it mainNode* destination; linkedNode* next; int travelTime;...
22.060729
69
0.652597
catalinboja
b11c5ec8a59a1b8f7fcf6723bc7c9ca17ef11600
2,130
cpp
C++
aspirant_application/Context.Editor.NewRoom.cpp
playdeezgames/Aspirant
a907475fefb58d766a103324e65317613831561b
[ "MIT" ]
null
null
null
aspirant_application/Context.Editor.NewRoom.cpp
playdeezgames/Aspirant
a907475fefb58d766a103324e65317613831561b
[ "MIT" ]
null
null
null
aspirant_application/Context.Editor.NewRoom.cpp
playdeezgames/Aspirant
a907475fefb58d766a103324e65317613831561b
[ "MIT" ]
null
null
null
#include "Context.Editor.NewRoom.h" #include "Game.Descriptors.h" #include <vector> #include "Common.Finisher.h" #include "Game.Object.Common.h" namespace context::editor::NewRoom { const std::string DEFAULT_ROOM_NAME = "<replace me>"; const size_t DEFAULT_ROOM_COLUMNS = 10; const size_t DEFAULT_ROOM_ROWS = 10; con...
18.684211
110
0.688263
playdeezgames
b11ca6a084503cd41e4b54966586d42f08c9504b
72
cpp
C++
for python/auto.cpp
aerolalit/Auto-Testing-Python-Programs
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
4
2019-10-03T21:16:51.000Z
2019-10-04T01:28:08.000Z
for python/auto.cpp
aerolalit/Auto-Testing
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
null
null
null
for python/auto.cpp
aerolalit/Auto-Testing
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
null
null
null
#include <stdlib.h> int main(){ system("bash auto.sh"); return 0; }
9
24
0.611111
aerolalit
b1220927511b94729061114e75381c7312a43051
5,841
cc
C++
tensorflow/c/eager/unified_api_testutil.cc
EricRemmerswaal/tensorflow
141ff27877579c81a213fa113bd1b474c1749aca
[ "Apache-2.0" ]
190,993
2015-11-09T13:17:30.000Z
2022-03-31T23:05:27.000Z
tensorflow/c/eager/unified_api_testutil.cc
EricRemmerswaal/tensorflow
141ff27877579c81a213fa113bd1b474c1749aca
[ "Apache-2.0" ]
48,461
2015-11-09T14:21:11.000Z
2022-03-31T23:17:33.000Z
tensorflow/c/eager/unified_api_testutil.cc
EricRemmerswaal/tensorflow
141ff27877579c81a213fa113bd1b474c1749aca
[ "Apache-2.0" ]
104,981
2015-11-09T13:40:17.000Z
2022-03-31T19:51:54.000Z
/* Copyright 2020 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...
40.5625
80
0.69423
EricRemmerswaal
b1223c7357635c357b5606d3457e3a6b0d8f9c9f
3,712
hpp
C++
source/Expected.hpp
CyberSys/vaultmp
341d62202eb47c5f8795c3b93391fd799c6a4ca8
[ "MIT" ]
67
2015-01-08T10:40:31.000Z
2022-03-29T21:16:51.000Z
source/Expected.hpp
CyberSys/vaultmp
341d62202eb47c5f8795c3b93391fd799c6a4ca8
[ "MIT" ]
20
2015-01-05T21:04:05.000Z
2018-04-15T11:50:37.000Z
source/Expected.hpp
CyberSys/vaultmp
341d62202eb47c5f8795c3b93391fd799c6a4ca8
[ "MIT" ]
60
2015-02-17T00:12:11.000Z
2021-08-21T22:16:58.000Z
#ifndef EXPECTED_H #define EXPECTED_H #include "vaultmp.hpp" #include "VaultException.hpp" /** * \brief http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C */ template<typename T> class Expected { private: union { T value; std::exception_ptr exc...
26.705036
170
0.658405
CyberSys
b12306a388689a36c34321782d6f893044cb4346
1,754
hpp
C++
lib/grid/concrete_domain_index.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
lib/grid/concrete_domain_index.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
lib/grid/concrete_domain_index.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2011-2012 by the BEM++ Authors // // 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...
41.761905
80
0.734892
mdavezac
b124f967865c5a926cc8cac6d7d1b463dd88ab16
14,225
cpp
C++
libraries/disp/plots/imagesc.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
libraries/disp/plots/imagesc.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
libraries/disp/plots/imagesc.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file imagesc.cpp * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Daniel Strohmeier <daniel.strohmeier@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu...
38.445946
135
0.506573
MagCPP
b1253235548a7f2582bf992212f074994a19274e
527
cpp
C++
src/noflash.cpp
danielkrupinski/csgo-champion
25874f21c005ea3da1b35812e928e5b01d625c37
[ "MIT" ]
21
2018-03-30T20:28:32.000Z
2022-03-05T16:18:21.000Z
src/noflash.cpp
danielkrupinski/csgo-champion
25874f21c005ea3da1b35812e928e5b01d625c37
[ "MIT" ]
2
2018-04-12T21:20:44.000Z
2018-12-04T14:52:59.000Z
src/noflash.cpp
danielkrupinski/csgo-champion
25874f21c005ea3da1b35812e928e5b01d625c37
[ "MIT" ]
3
2018-05-14T01:36:36.000Z
2020-04-29T14:17:05.000Z
#include "noflash.h" NoFlash::NoFlash(remote::Handle* csgo, remote::MapModuleMemoryRegion* client) { if(!csgo || !client) return; if(!csgo->NoFlashEnabled) return; csgo->Read((void*) csgo->m_addressOfLocalPlayer, &localPlayer, sizeof(long)); if(!localPlayer) return; csgo->Read((void*) (localPlayer + ...
25.095238
91
0.711575
danielkrupinski
b127ae51dba4bcfebab75cc7694d3fee6a25e032
3,070
cpp
C++
src/tools/modbus_qt_serialport.cpp
paopaol/modbus
558036099f3c41c03c1b8658bc26c9adfa271c48
[ "MIT" ]
3
2020-02-11T03:47:42.000Z
2022-01-21T03:10:09.000Z
src/tools/modbus_qt_serialport.cpp
paopaol/modbus
558036099f3c41c03c1b8658bc26c9adfa271c48
[ "MIT" ]
null
null
null
src/tools/modbus_qt_serialport.cpp
paopaol/modbus
558036099f3c41c03c1b8658bc26c9adfa271c48
[ "MIT" ]
1
2022-01-21T03:10:11.000Z
2022-01-21T03:10:11.000Z
#include <QtSerialPort/QSerialPort> #include <modbus/tools/modbus_client.h> namespace modbus { class QtSerialPort : public AbstractIoDevice { Q_OBJECT public: explicit QtSerialPort(QObject *parent = nullptr) : AbstractIoDevice(parent) { setupEnvironment(); } ~QtSerialPort() override = default; ...
29.519231
81
0.643974
paopaol
b12f8a141966b9742981dad33a8dbc78af318416
7,308
cpp
C++
test/unit/reactor/math/ArithmeticTest.cpp
reactor-engine/reactor-math
599b7074a8f4a5e620f49dea8dd5e36f22cf79a3
[ "CC0-1.0" ]
null
null
null
test/unit/reactor/math/ArithmeticTest.cpp
reactor-engine/reactor-math
599b7074a8f4a5e620f49dea8dd5e36f22cf79a3
[ "CC0-1.0" ]
null
null
null
test/unit/reactor/math/ArithmeticTest.cpp
reactor-engine/reactor-math
599b7074a8f4a5e620f49dea8dd5e36f22cf79a3
[ "CC0-1.0" ]
null
null
null
#include "catch.hpp" #include "reactor/common/type/types.hpp" #include "reactor/math/Arithmetic.hpp" using namespace reactor::common::type; using namespace reactor::math; TEST_CASE("Arithmetic abs-operation is correct", "[Arithmetic.abs]") { int attempts[][2] = {{0, 0}, {1, 1}, {-1, 1}, {-25, 25}, {-120, 120}, {1...
44.024096
133
0.541735
reactor-engine
b12fa0181df2b05eb8d7823c9acfc1454cb5a766
19,879
cpp
C++
kits/rosie/rosie_demo.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
7
2018-03-31T06:52:08.000Z
2022-02-24T21:27:09.000Z
kits/rosie/rosie_demo.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
34
2018-06-03T17:28:08.000Z
2021-05-29T01:15:25.000Z
kits/rosie/rosie_demo.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
9
2018-02-08T22:50:58.000Z
2021-03-30T08:07:35.000Z
#define PI 3.141592653592 #include <iostream> #include <chrono> #include <thread> #include <iomanip> #include "util/grav_comp.hpp" #include "util/vector_utils.h" #include "lookup.hpp" #include "group_feedback.hpp" #include "group_command.hpp" #include "robot_model.hpp" #include "trajectory.hpp" using namespace hebi...
41.072314
188
0.620806
HebiRobotics
b132bb417c4150775cff2e79ccefa108fabaeff5
339
cpp
C++
Camp_1-2562/06 Function/Sport.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/06 Function/Sport.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/06 Function/Sport.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
#include<stdio.h> char a[30000011]; int k; void play(int state,int w,int l){ int i; if(w==k||l==k){ for(i=0;i<state;i++){ printf("%c ",a[i]); } printf("\n"); return; } a[state]='W'; play(state+1,w+1,l); a[state]='L'; play(state+1,w,l+1); } int main (){ int w,l; scanf("%d %d %d",&k,&w,&l); play(0,...
13.038462
33
0.516224
MasterIceZ
b133e2da0b07725a24dc57e3b2a9ff5d9635dda6
2,289
cpp
C++
SFGE_lib/MemoryInputStream.cpp
DonRumata710/SFGE
9b42f2335b62be089046593cd84f265412e2792d
[ "MIT" ]
null
null
null
SFGE_lib/MemoryInputStream.cpp
DonRumata710/SFGE
9b42f2335b62be089046593cd84f265412e2792d
[ "MIT" ]
null
null
null
SFGE_lib/MemoryInputStream.cpp
DonRumata710/SFGE
9b42f2335b62be089046593cd84f265412e2792d
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////// // // SFGE - Simple and Fast Game Engine // // Copyright (c) 2016-2017 DonRumata710 // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to de...
30.118421
110
0.677588
DonRumata710
b134b1da6a47eecc8f246d7e21105bc938470a8c
13,635
cpp
C++
PortableExecutable.cpp
jseursing/VMLock
1e12dc86c1a4aeddf37a830100a35c7d8b9f7648
[ "MIT" ]
null
null
null
PortableExecutable.cpp
jseursing/VMLock
1e12dc86c1a4aeddf37a830100a35c7d8b9f7648
[ "MIT" ]
null
null
null
PortableExecutable.cpp
jseursing/VMLock
1e12dc86c1a4aeddf37a830100a35c7d8b9f7648
[ "MIT" ]
null
null
null
#include "PortableExecutable.h" #include <fstream> ///////////////////////////////////////////////////////////////////////////////////////// // // Function: BackupFile // ///////////////////////////////////////////////////////////////////////////////////////// void PortableExecutable::BackupFile(std::string path, st...
35.600522
89
0.535387
jseursing
b1353d6ed885f22bc74f03f024458f75f53ff393
1,550
cpp
C++
problem12.cpp
Nadesri/my-project-euler-solutions
a37472d99704e4e80d7344ead3bb250debff52eb
[ "MIT" ]
null
null
null
problem12.cpp
Nadesri/my-project-euler-solutions
a37472d99704e4e80d7344ead3bb250debff52eb
[ "MIT" ]
null
null
null
problem12.cpp
Nadesri/my-project-euler-solutions
a37472d99704e4e80d7344ead3bb250debff52eb
[ "MIT" ]
null
null
null
// Highly divisible triangular number // The sequence of triangle numbers is generated by adding the natural numbers. // So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: // 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... // Let us list the factors of the first seven triangle...
22.794118
100
0.605161
Nadesri
b136fcd139b6f64c110ffa150cebe8130ed0d739
13,399
cc
C++
sniper/common/core/syscall_model.cc
kleberkruger/donuts
99a7c5885fcb6d252a47a4cb74ca714f8ba12ca6
[ "MIT" ]
null
null
null
sniper/common/core/syscall_model.cc
kleberkruger/donuts
99a7c5885fcb6d252a47a4cb74ca714f8ba12ca6
[ "MIT" ]
null
null
null
sniper/common/core/syscall_model.cc
kleberkruger/donuts
99a7c5885fcb6d252a47a4cb74ca714f8ba12ca6
[ "MIT" ]
1
2021-10-04T13:53:51.000Z
2021-10-04T13:53:51.000Z
#include "syscall_model.h" #include "config.h" #include "simulator.h" #include "syscall_server.h" #include "thread.h" #include "core.h" #include "core_manager.h" #include "thread_manager.h" #include "performance_model.h" #include "instruction.h" #include "pthread_emu.h" #include "scheduler.h" #include "hooks_manager.h"...
33.330846
158
0.621539
kleberkruger
b1378c85e33bfdc9e3b0a183b1a4344519611a0c
2,408
hpp
C++
src/metaspades/src/common/modules/alignment/long_read_mapper.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/common/modules/alignment/long_read_mapper.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/common/modules/alignment/long_read_mapper.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
2
2021-06-05T07:40:20.000Z
2021-06-05T08:02:58.000Z
//*************************************************************************** //* Copyright (c) 2015 Saint Petersburg State University //* Copyright (c) 2011-2014 Saint Petersburg Academic University //* All Rights Reserved //* See file LICENSE for details. //************************************************************...
33.444444
109
0.665282
STRIDES-Codes
b13876e99afa06b4b50ac9e5ba9a521fa6ddb357
41,853
cpp
C++
src/ir/node_data.cpp
weilewei/phylanx
db9049dc1696e4f1f2090dd830803cf892a122e5
[ "BSL-1.0" ]
null
null
null
src/ir/node_data.cpp
weilewei/phylanx
db9049dc1696e4f1f2090dd830803cf892a122e5
[ "BSL-1.0" ]
null
null
null
src/ir/node_data.cpp
weilewei/phylanx
db9049dc1696e4f1f2090dd830803cf892a122e5
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2018 Hartmut Kaiser // Copyright (c) 2017 Parsa Amini // Copyright (c) 2018 Tianyi Zhang // // 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 <phylanx/config.hpp> #include <phylanx...
27.390707
87
0.518195
weilewei
b13a03ab2c246191aefc6477322944d7ea4d8e47
728
cpp
C++
src/NullOutput.cpp
9elements/pwrseqd
fa435d8fed2de2c7948cbc1f0e55f9257786c907
[ "Apache-2.0" ]
null
null
null
src/NullOutput.cpp
9elements/pwrseqd
fa435d8fed2de2c7948cbc1f0e55f9257786c907
[ "Apache-2.0" ]
null
null
null
src/NullOutput.cpp
9elements/pwrseqd
fa435d8fed2de2c7948cbc1f0e55f9257786c907
[ "Apache-2.0" ]
null
null
null
#include "NullOutput.hpp" #include "Config.hpp" #include "SignalProvider.hpp" using namespace std; // Name returns the instance name string NullOutput::Name(void) { return this->name; } void NullOutput::Apply(void) { if (this->newLevel != this->active) { this->active = this->newLevel; } } ...
16.545455
70
0.660714
9elements
b13b02531d45ef8917795560ce0a69e11e6b3747
10,791
hpp
C++
include/OVRSimpleJSON/JSONLazyCreator.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/OVRSimpleJSON/JSONLazyCreator.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/OVRSimpleJSON/JSONLazyCreator.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: OVRSimpleJSON.JSONNode #include "OVRSimpleJSON/JSONNode.hpp" #include...
52.639024
260
0.721064
darknight1050
b13b1398503ff027aa1141c40fc44ac1a56f9463
510
cpp
C++
Tefnout/src/Tefnout/ECS/Entity.cpp
JeremyBois/Tefnout
3e0d79c96857a395d2f00a61bb25a49ce39c8c89
[ "Apache-2.0", "MIT" ]
null
null
null
Tefnout/src/Tefnout/ECS/Entity.cpp
JeremyBois/Tefnout
3e0d79c96857a395d2f00a61bb25a49ce39c8c89
[ "Apache-2.0", "MIT" ]
null
null
null
Tefnout/src/Tefnout/ECS/Entity.cpp
JeremyBois/Tefnout
3e0d79c96857a395d2f00a61bb25a49ce39c8c89
[ "Apache-2.0", "MIT" ]
null
null
null
#include "TefnoutPCH.hpp" #include "Entity.hpp" #include "Tefnout/Core/Debug.hpp" #include <limits> namespace Tefnout { namespace ECS { Entity::Entity() : m_id(std::numeric_limits<entity_type>::max()) { } Entity::Entity(entity_type id) : m_id(id) { TEFNOUT_ASSERT(id != std::numeric_limits<entity_type>::max(), ...
20.4
89
0.647059
JeremyBois
b13b2ef5cbd9d6f0bfc3b68102d01661da6d0400
8,196
cpp
C++
src/sim/cgi/sim_Effects.cpp
marek-cel/fightersfs
5511162726861fee17357f39274461250370c224
[ "MIT" ]
4
2021-01-28T17:39:38.000Z
2022-02-11T20:13:46.000Z
src/sim/cgi/sim_Effects.cpp
marek-cel/fightersfs
5511162726861fee17357f39274461250370c224
[ "MIT" ]
null
null
null
src/sim/cgi/sim_Effects.cpp
marek-cel/fightersfs
5511162726861fee17357f39274461250370c224
[ "MIT" ]
3
2021-02-22T21:22:30.000Z
2022-01-10T19:32:12.000Z
/****************************************************************************//* * Copyright (C) 2021 Marek M. Cel * * 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, ...
43.136842
104
0.63165
marek-cel
b13cd8d904973e42b59c7bb26dd28527e3b9d850
53,320
cpp
C++
src/uti_image/NewRechPH/Match_Binaire_Compact.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
src/uti_image/NewRechPH/Match_Binaire_Compact.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
src/uti_image/NewRechPH/Match_Binaire_Compact.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
28.241525
142
0.548575
kikislater
b13ee17d32a1d6f3a464ff363b000779e2f96e90
6,376
cpp
C++
gen/windows/kin/eigen/src/H_hip_flexion_left.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
26
2018-07-20T15:20:19.000Z
2022-03-14T07:12:12.000Z
gen/windows/kin/eigen/src/H_hip_flexion_left.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
2
2019-04-19T22:57:00.000Z
2022-01-11T12:46:20.000Z
gen/windows/kin/eigen/src/H_hip_flexion_left.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
10
2018-07-29T08:05:14.000Z
2022-02-03T08:48:11.000Z
/* * Automatically Generated from Mathematica. * Thu 23 May 2019 13:09:17 GMT-04:00 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "H_hip_flexion_left.h" #ifdef _MSC_VER #define INLINE __forceinline /* use __forceinline (VC++ specific) */ #else #define INLINE static inline ...
25.102362
216
0.651506
UMich-BipedLab
b13f444050bb72ab9d40e7fde57021f7ad8fa4f8
34,102
cxx
C++
main/sc/source/ui/view/gridwin2.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sc/source/ui/view/gridwin2.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sc/source/ui/view/gridwin2.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
31.693309
141
0.647117
Grosskopf
b13f80d074f238e9d01d7d526af4de597ac5e1c0
1,821
hpp
C++
lib/boost_1.78.0/libs/wave/tool/stop_watch.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
106
2015-08-07T04:23:50.000Z
2020-12-27T18:25:15.000Z
lib/boost_1.78.0/libs/wave/tool/stop_watch.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
130
2016-06-22T22:11:25.000Z
2020-11-29T20:24:09.000Z
Libs/boost_1_76_0/libs/wave/tool/stop_watch.hpp
Antd23rus/S2DE
47cc7151c2934cd8f0399a9856c1e54894571553
[ "MIT" ]
41
2015-07-08T19:18:35.000Z
2021-01-14T16:39:56.000Z
/*============================================================================= Boost.Wave: A Standard compliant C++ preprocessor library http://www.boost.org/ Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt o...
34.358491
79
0.500824
LaudateCorpus1
b1406a118d4e588aa9b38f18bcb133cc88cd732b
494
hpp
C++
source/URI/QueryParser.hpp
kurocha/uri
b920d01de5323126eaf539d4217d357b47fde64e
[ "Unlicense", "MIT" ]
2
2018-07-06T19:43:16.000Z
2018-07-06T19:44:46.000Z
source/URI/QueryParser.hpp
kurocha/uri
b920d01de5323126eaf539d4217d357b47fde64e
[ "Unlicense", "MIT" ]
null
null
null
source/URI/QueryParser.hpp
kurocha/uri
b920d01de5323126eaf539d4217d357b47fde64e
[ "Unlicense", "MIT" ]
null
null
null
// // QueryParser.hpp // File file is part of the "URI" project and released under the MIT License. // // Created by Samuel Williams on 17/7/2017. // Copyright, 2017, by Samuel Williams. All rights reserved. // #pragma once #include <string> #include <map> namespace URI { namespace QueryParser { using Byte =...
20.583333
86
0.696356
kurocha
b141254e5d28b6a5d6576ae766e2d7516156720d
1,978
hpp
C++
liblava/util/thread.hpp
torss/liblava
1e7dc2a9e645107e1fa842182986f6307d79c4b1
[ "MIT" ]
null
null
null
liblava/util/thread.hpp
torss/liblava
1e7dc2a9e645107e1fa842182986f6307d79c4b1
[ "MIT" ]
null
null
null
liblava/util/thread.hpp
torss/liblava
1e7dc2a9e645107e1fa842182986f6307d79c4b1
[ "MIT" ]
null
null
null
// file : liblava/util/thread.hpp // copyright : Copyright (c) 2018-present, Lava Block OÜ // license : MIT; see accompanying LICENSE file #pragma once #include <liblava/core/id.hpp> #include <liblava/core/time.hpp> #include <condition_variable> #include <deque> #include <mutex> #include <thread> namespace l...
19.203883
71
0.526289
torss
b142e71ee8eade50fd18f4b483022876d232d313
6,560
cpp
C++
lgc/patch/PatchPeepholeOpt.cpp
yukli-amd/llpc
9ad8550a09fe6616f5eff53d6c3688a8bf43b465
[ "MIT" ]
112
2018-07-02T06:56:25.000Z
2022-02-08T12:07:19.000Z
lgc/patch/PatchPeepholeOpt.cpp
yukli-amd/llpc
9ad8550a09fe6616f5eff53d6c3688a8bf43b465
[ "MIT" ]
1,612
2018-07-04T19:08:21.000Z
2022-03-31T23:24:55.000Z
lgc/patch/PatchPeepholeOpt.cpp
vettoreldaniele/llpc
41fd5608f7b697c1416b983b89b2f62f0907d4a3
[ "MIT" ]
114
2018-07-04T18:47:13.000Z
2022-03-30T19:53:19.000Z
/* *********************************************************************************************************************** * * Copyright (c) 2018-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
46.197183
120
0.61189
yukli-amd
b1434856b16663d60bb262eefb469fe6bbb6a009
1,011
cpp
C++
src/third_party/skia/docs/examples/Pixmap_reset_2.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
54
2016-04-05T17:45:19.000Z
2022-01-31T06:27:33.000Z
src/third_party/skia/docs/examples/Pixmap_reset_2.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
25
2016-03-18T04:01:06.000Z
2020-06-27T15:39:35.000Z
src/third_party/skia/docs/examples/Pixmap_reset_2.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
50
2016-03-03T20:31:58.000Z
2022-03-31T18:26:13.000Z
// Copyright 2019 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "tools/fiddle/examples.h" // HASH=9a392b753167cfa849cebeefd5a6e07d REG_FIDDLE(Pixmap_reset_2, 256, 64, false, 4) { void draw(SkCanvas* canvas) { std::vector<int32_t> pixels; ...
43.956522
100
0.650841
rhencke
b143961dcb092abe46045bbee7b1220ddad288d9
12,471
cpp
C++
libs/maps/src/opengl/CAngularObservationMesh.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
2
2017-03-25T18:09:17.000Z
2017-05-22T08:14:48.000Z
libs/maps/src/opengl/CAngularObservationMesh.cpp
shivangag/mrpt
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
null
null
null
libs/maps/src/opengl/CAngularObservationMesh.cpp
shivangag/mrpt
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
1
2017-06-30T18:23:45.000Z
2017-06-30T18:23:45.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
34.641667
186
0.675567
feroze
b143e171d020e8b6675fa2b92ccbef44b1dfa3e3
1,564
hpp
C++
engine/src/engine/input/Keyboard.hpp
CaptureTheBanana/CaptureTheBanana
1398bedc80608e502c87b880c5b57d272236f229
[ "MIT" ]
1
2018-08-14T05:45:29.000Z
2018-08-14T05:45:29.000Z
engine/src/engine/input/Keyboard.hpp
CaptureTheBanana/CaptureTheBanana
1398bedc80608e502c87b880c5b57d272236f229
[ "MIT" ]
null
null
null
engine/src/engine/input/Keyboard.hpp
CaptureTheBanana/CaptureTheBanana
1398bedc80608e502c87b880c5b57d272236f229
[ "MIT" ]
null
null
null
// This file is part of CaptureTheBanana++. // // Copyright (c) 2018 the CaptureTheBanana++ contributors (see CONTRIBUTORS.md) // This file is licensed under the MIT license; see LICENSE file in the root of this // project for details. #ifndef _ENGINE_INPUT_KEYBOARD_HPP #define _ENGINE_INPUT_KEYBOARD_HPP #include <ma...
25.639344
84
0.674552
CaptureTheBanana
b1453bb481803cf6d05191f4e2e885c87fc9447b
21,835
cpp
C++
tracking/src/track.cpp
aaramirezd/open_ptrack_v2
2c4c29ee72450f67a9f4ea777d1f4b8e3dad7358
[ "BSD-3-Clause" ]
218
2017-07-13T06:14:57.000Z
2022-02-21T06:53:45.000Z
tracking/src/track.cpp
aaramirezd/open_ptrack_v2
2c4c29ee72450f67a9f4ea777d1f4b8e3dad7358
[ "BSD-3-Clause" ]
135
2017-07-23T17:41:00.000Z
2022-03-09T17:15:19.000Z
tracking/src/track.cpp
aaramirezd/open_ptrack_v2
2c4c29ee72450f67a9f4ea777d1f4b8e3dad7358
[ "BSD-3-Clause" ]
73
2017-11-08T15:30:24.000Z
2022-03-17T12:23:34.000Z
/* * Software License Agreement (BSD License) * * Copyright (c) 2011-2012, Matteo Munaro [matteo.munaro@dei.unipd.it], Filippo Basso [filippo.basso@dei.unipd.it] * Copyright (c) 2013-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modifi...
33.592308
152
0.631097
aaramirezd
b14b78e560febd405419c52194930fdc606bc1fa
373
hpp
C++
test/test_Defs.hpp
ToruNiina/AX
c99ddaa683dc94c7ec856a7cf1e10c0a6189951a
[ "MIT" ]
1
2017-01-16T13:56:31.000Z
2017-01-16T13:56:31.000Z
test/test_Defs.hpp
ToruNiina/AX
c99ddaa683dc94c7ec856a7cf1e10c0a6189951a
[ "MIT" ]
null
null
null
test/test_Defs.hpp
ToruNiina/AX
c99ddaa683dc94c7ec856a7cf1e10c0a6189951a
[ "MIT" ]
null
null
null
#ifndef AX_TEST_DEFINITIONS #define AX_TEST_DEFINITIONS #include <cstddef> namespace ax { namespace test { constexpr static double tolerance = 1e-12; constexpr static unsigned seed = 10; constexpr static std::size_t Dim_N = 10; constexpr static std::size_t Dim_M...
21.941176
55
0.635389
ToruNiina
b14f7dc2b0b2397a6057c0287cb5467c2ac1d9fc
3,077
hpp
C++
frida/frida-cycript/src/Exception.hpp
bzxy/cydia
f8c838cdbd86e49dddf15792e7aa56e2af80548d
[ "MIT" ]
678
2017-11-17T08:33:19.000Z
2022-03-26T10:40:20.000Z
frida/frida-cycript/src/Exception.hpp
chenfanfang/Cydia
5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0
[ "MIT" ]
22
2019-04-16T05:51:53.000Z
2021-11-08T06:18:45.000Z
frida/frida-cycript/src/Exception.hpp
chenfanfang/Cydia
5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0
[ "MIT" ]
170
2018-06-10T07:59:20.000Z
2022-03-22T16:19:33.000Z
/* Cycript - The Truly Universal Scripting Language * Copyright (C) 2009-2016 Jay Freeman (saurik) */ /* GNU Affero General Public License, Version 3 {{{ */ /* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
29.028302
124
0.634384
bzxy
b151458cab7ed9a120ef68029ed8fb0bc5ad80aa
1,352
hpp
C++
Include/Graphics/BackgroundPixelFetcher.hpp
ShannonHG/Modest-GB
f39851cd36bf0c752ce56c60783035e2bf2fd19c
[ "MIT" ]
6
2022-01-25T06:55:00.000Z
2022-01-25T18:39:25.000Z
Include/Graphics/BackgroundPixelFetcher.hpp
ShannonHG/Modest-GB
f39851cd36bf0c752ce56c60783035e2bf2fd19c
[ "MIT" ]
null
null
null
Include/Graphics/BackgroundPixelFetcher.hpp
ShannonHG/Modest-GB
f39851cd36bf0c752ce56c60783035e2bf2fd19c
[ "MIT" ]
1
2022-01-25T08:09:54.000Z
2022-01-25T08:09:54.000Z
#pragma once #include "Graphics/PixelFetcher.hpp" #include "Memory/Register8.hpp" namespace ModestGB { enum class BackgroundPixelFetcherMode { Background, Window }; enum class BackgroundPixelFetcherState { FetchingTileIndex, FetchingLowTileData, FetchingHighTileData, Sleeping, PushingPixelsToQueue ...
25.509434
118
0.775888
ShannonHG
b151bbf2073058974c3b3533eec78d77a8e848c3
751
cpp
C++
synth-mini-EQ.cpp
visualizersdotnl/FM-BISON
d212ab65bae16e208c4f67a38a63d0af44931cad
[ "MIT" ]
null
null
null
synth-mini-EQ.cpp
visualizersdotnl/FM-BISON
d212ab65bae16e208c4f67a38a63d0af44931cad
[ "MIT" ]
null
null
null
synth-mini-EQ.cpp
visualizersdotnl/FM-BISON
d212ab65bae16e208c4f67a38a63d0af44931cad
[ "MIT" ]
null
null
null
/* FM. BISON hybrid FM synthesis -- Mini EQ (3-band). (C) njdewit technologies (visualizers.nl) & bipolaraudio.nl MIT license applies, please see https://en.wikipedia.org/wiki/MIT_License or LICENSE in the project root! */ #include "synth-mini-EQ.h" namespace SFM { void MiniEQ::SetTargetdBs(float bassdB, float t...
26.821429
106
0.689747
visualizersdotnl
b15428c60d3d3b946774fc3d2b75850afb491b65
3,975
cpp
C++
test/functions.cpp
vincent-picaud/MissionImpossible
e21119b4ac42d2a6e914978aa91ba666611b42f8
[ "MIT" ]
15
2020-01-12T16:23:46.000Z
2022-01-19T15:26:52.000Z
test/functions.cpp
vincent-picaud/MissionImpossible
e21119b4ac42d2a6e914978aa91ba666611b42f8
[ "MIT" ]
null
null
null
test/functions.cpp
vincent-picaud/MissionImpossible
e21119b4ac42d2a6e914978aa91ba666611b42f8
[ "MIT" ]
2
2020-02-11T00:24:32.000Z
2020-02-11T14:19:42.000Z
#include "MissionImpossible/functions.hpp" #include "MissionImpossible/derivatives.hpp" #include <gtest/gtest.h> #include <cmath> #include <vector> using namespace MissionImpossible; TEST(Function, abs) { AD<double> x = 3, y; y = abs(2 * x); auto grad = gradient(y); ASSERT_DOUBLE_EQ(y.value(), 6); ...
22.206704
84
0.535094
vincent-picaud
b1554488d5d872149cbccb8aa2ee46bdabe076ee
5,469
cc
C++
gazebo/common/Battery_TEST.cc
shyamalschandra/gazebo-official
0b2d72d8ad7ef17c0b3e5aea627c3ec1753310c5
[ "ECL-2.0", "Apache-2.0" ]
1
2015-04-06T16:17:36.000Z
2015-04-06T16:17:36.000Z
gazebo/common/Battery_TEST.cc
shyamalschandra/gazebo-official
0b2d72d8ad7ef17c0b3e5aea627c3ec1753310c5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/common/Battery_TEST.cc
shyamalschandra/gazebo-official
0b2d72d8ad7ef17c0b3e5aea627c3ec1753310c5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
28.336788
75
0.668678
shyamalschandra
b1588675eab1627748553109e2d07ee4643059e3
4,441
cpp
C++
src/modules/uavcan/libuavcan/libuavcan/test/helpers/heap_based_pool_allocator.cpp
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
25
2016-09-04T18:29:15.000Z
2022-01-10T16:52:42.000Z
src/modules/uavcan/libuavcan/libuavcan/test/helpers/heap_based_pool_allocator.cpp
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
9
2016-08-24T18:17:12.000Z
2021-08-25T14:28:29.000Z
src/modules/uavcan/libuavcan/libuavcan/test/helpers/heap_based_pool_allocator.cpp
shening/PX4-1.34-Vision-Fix
1e696bc1c2dae71ba7b277d40106a5b6c0a1a050
[ "BSD-3-Clause" ]
142
2016-03-27T14:58:48.000Z
2022-01-14T17:25:14.000Z
/* * Copyright (C) 2015 Pavel Kirienko <pavel.kirienko@gmail.com> */ #include <gtest/gtest.h> #include <uavcan/helpers/heap_based_pool_allocator.hpp> #include <malloc.h> TEST(HeapBasedPoolAllocator, Basic) { std::cout << ">>> HEAP BEFORE:" << std::endl; malloc_stats(); uavcan::HeapBasedPoolAllocator<u...
24.672222
116
0.625985
shening
b15c5f4324e695b7db2e7ebc8dc2d552fc37b758
980
cc
C++
src/perf_to_profile.cc
cervantesyu/perf_data_converter
5fe21942c1db6625963e657f458fea5c30af40e2
[ "BSD-3-Clause" ]
null
null
null
src/perf_to_profile.cc
cervantesyu/perf_data_converter
5fe21942c1db6625963e657f458fea5c30af40e2
[ "BSD-3-Clause" ]
1
2019-10-18T07:50:07.000Z
2019-10-19T02:14:40.000Z
src/perf_to_profile.cc
cervantesyu/perf_data_converter
5fe21942c1db6625963e657f458fea5c30af40e2
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2016, Google Inc. * All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/perf_to_profile_lib.h" #include "src/quipper/base/logging.h" #include "src/perf_data_converter.h" int main(int argc, char** argv) { ...
28
76
0.689796
cervantesyu
b15d898ea01665787619e582cd8e55a21ca087af
16,675
hxx
C++
include/itkVariationalRegistrationFastNCCFunction.hxx
mseng10/ITKVariationalRegistration
707e773a97a1ca268c367a774cbee1df9a1d14c9
[ "Apache-2.0" ]
null
null
null
include/itkVariationalRegistrationFastNCCFunction.hxx
mseng10/ITKVariationalRegistration
707e773a97a1ca268c367a774cbee1df9a1d14c9
[ "Apache-2.0" ]
null
null
null
include/itkVariationalRegistrationFastNCCFunction.hxx
mseng10/ITKVariationalRegistration
707e773a97a1ca268c367a774cbee1df9a1d14c9
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
38.77907
120
0.684018
mseng10
b15de914bdee652baa0d944113947a99f62db45c
2,641
cpp
C++
src/futz/platforms/FutzGlut.cpp
zibas/futz
83fc0e1a7489940bb55e2db6ccc8ca7d1ac0719f
[ "MIT" ]
4
2019-01-30T00:14:29.000Z
2020-05-15T01:14:28.000Z
src/futz/platforms/FutzGlut.cpp
zibas/futz
83fc0e1a7489940bb55e2db6ccc8ca7d1ac0719f
[ "MIT" ]
null
null
null
src/futz/platforms/FutzGlut.cpp
zibas/futz
83fc0e1a7489940bb55e2db6ccc8ca7d1ac0719f
[ "MIT" ]
null
null
null
/* * FutzGlut.cpp * * Created on: Nov 3, 2010 * Author: ziba */ #if FUTZ_PLATFORM_GLUT #ifdef _WIN32 #include <Windows.h> #endif #ifdef OSX #include <OpenGL/gl.h> #include <OpenGL/glu.h> #include <GLUT/glut.h> #else #include <GL/gl.h> #include <GL/glu.h> #ifdef _WIN32 #include <glut.h> #else #include <GL/gl...
21.471545
87
0.706172
zibas
b15fb4e8d875d609ff4b5cbe70684ba1eba8eee8
3,085
cpp
C++
demos/dox/basic/metaprogramming_switch.cpp
h-2/SeqAnHTS
a1923897fe1bd359136cfd09f0d4c245978c0fce
[ "BSD-3-Clause" ]
2
2016-10-28T07:43:39.000Z
2018-01-02T17:54:33.000Z
demos/dox/basic/metaprogramming_switch.cpp
h-2/SeqAnHTS
a1923897fe1bd359136cfd09f0d4c245978c0fce
[ "BSD-3-Clause" ]
1
2018-01-15T20:15:35.000Z
2018-01-15T20:15:35.000Z
demos/dox/basic/metaprogramming_switch.cpp
h-2/SeqAnHTS
a1923897fe1bd359136cfd09f0d4c245978c0fce
[ "BSD-3-Clause" ]
2
2015-06-17T11:44:36.000Z
2015-11-20T13:09:16.000Z
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2015, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and us...
34.277778
78
0.582172
h-2
b1613bae1ecfdc4f880b98c4a372c4239a7d9013
9,964
cpp
C++
ui_components/comboex/CheckCombo.cpp
l619534951/monitor_helper_duilib
a0df2a0285bdd37b77a611fba080dee0e55bda4f
[ "BSD-2-Clause", "MIT" ]
null
null
null
ui_components/comboex/CheckCombo.cpp
l619534951/monitor_helper_duilib
a0df2a0285bdd37b77a611fba080dee0e55bda4f
[ "BSD-2-Clause", "MIT" ]
null
null
null
ui_components/comboex/CheckCombo.cpp
l619534951/monitor_helper_duilib
a0df2a0285bdd37b77a611fba080dee0e55bda4f
[ "BSD-2-Clause", "MIT" ]
null
null
null
#include "stdafx.h" #include "CheckCombo.h" namespace nim_comp { class CCheckComboWnd : public Window { public: void Init(CheckCombo* pOwner); virtual std::wstring GetWindowClassName() const override; virtual void OnFinalMessage(HWND hWnd) override; virtual LRESULT HandleMessage(UINT uMsg, WPARAM wParam, L...
26.92973
101
0.691389
l619534951
b161ae5e22605317290fd30b79ce84565cc1f983
25,206
cpp
C++
src/universal_robot/ur_modern_driver/src/ur_ros_wrapper.cpp
Slifer64/ur5_test_delay
c7e8460a89d967615592471ad5d196900c5e89df
[ "MIT" ]
null
null
null
src/universal_robot/ur_modern_driver/src/ur_ros_wrapper.cpp
Slifer64/ur5_test_delay
c7e8460a89d967615592471ad5d196900c5e89df
[ "MIT" ]
null
null
null
src/universal_robot/ur_modern_driver/src/ur_ros_wrapper.cpp
Slifer64/ur5_test_delay
c7e8460a89d967615592471ad5d196900c5e89df
[ "MIT" ]
null
null
null
#include "ur_modern_driver/ur_ros_wrapper.h" namespace ur_ { RosWrapper::RosWrapper(const std::string &robot_ip_address, int reverse_port): spinner(3), as_(nh_, "follow_joint_trajectory", boost::bind(&RosWrapper::goalCB, this, _1), boost::bind(&RosWrapper::cancelCB, this, _1), false) { keep_alive = true; bool use...
34.576132
159
0.719829
Slifer64
b164263b8fa41df24a95c0f5b681d3479845b03c
10,925
cpp
C++
gtdynamics/universal_robot/sdf.cpp
mfkiwl/GTDynamics
e5121e6a7ba5f8b5778f8934631bd99ea0946997
[ "BSD-2-Clause" ]
null
null
null
gtdynamics/universal_robot/sdf.cpp
mfkiwl/GTDynamics
e5121e6a7ba5f8b5778f8934631bd99ea0946997
[ "BSD-2-Clause" ]
null
null
null
gtdynamics/universal_robot/sdf.cpp
mfkiwl/GTDynamics
e5121e6a7ba5f8b5778f8934631bd99ea0946997
[ "BSD-2-Clause" ]
null
null
null
/* ---------------------------------------------------------------------------- * GTDynamics Copyright 2020, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * See LICENSE for the license information * -------------------------------------------------------------------------- ...
38.741135
112
0.668375
mfkiwl
b166721bf12e3b6ccbe1eb1686e37e9d06544244
3,783
cc
C++
application/tools/tizen/xwalk_backend.cc
fujunwei/crosswalk
7ea0d3c6a6dc2744e94bd42c23317bfe55699eed
[ "BSD-3-Clause" ]
null
null
null
application/tools/tizen/xwalk_backend.cc
fujunwei/crosswalk
7ea0d3c6a6dc2744e94bd42c23317bfe55699eed
[ "BSD-3-Clause" ]
null
null
null
application/tools/tizen/xwalk_backend.cc
fujunwei/crosswalk
7ea0d3c6a6dc2744e94bd42c23317bfe55699eed
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdlib.h> #include <stdbool.h> #include <stdio.h> #include <glib.h> #inc...
31.525
76
0.70949
fujunwei
b167d62fa0aa0d830c4676b2ebc8896999cf5c78
106,791
cpp
C++
third_party/mesa/src/src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/mesa/src/src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/mesa/src/src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
//===-- AMDILCFGStructurizer.cpp - CFG Structurizer -----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //==--------------------------------------------------------...
32.627864
118
0.629538
zipated
b1697a54662ee5755011deb48e5524f09cfcbb2c
458
cpp
C++
Dataset/Leetcode/test/6/548.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/6/548.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/6/548.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: string XXX(string s, int numRows) { int k = numRows == 1 ? 1 : (2 * numRows - 2); int n = s.length(); string str = ""; int t = 0; while (t < numRows) { int tmp = t; while (tmp < n) { str += s[tmp]; if ((tmp % k) != 0 && (tmp % k) != (numRows - 1) && tmp + 2 * ((numRows...
19.913043
100
0.432314
kkcookies99
b16a24468a2a1321b48701381e8ee37fa4eda76a
3,264
cpp
C++
getic/ProgressDlg.cpp
circinusX1/getic3d
a9c54c977f2f4fef8bc3a5f91f9d8e99684e5eb5
[ "BSD-4-Clause" ]
null
null
null
getic/ProgressDlg.cpp
circinusX1/getic3d
a9c54c977f2f4fef8bc3a5f91f9d8e99684e5eb5
[ "BSD-4-Clause" ]
1
2020-09-01T15:02:02.000Z
2020-09-01T16:11:07.000Z
getic/ProgressDlg.cpp
circinusX1/getic3d
a9c54c977f2f4fef8bc3a5f91f9d8e99684e5eb5
[ "BSD-4-Clause" ]
1
2020-09-08T19:14:57.000Z
2020-09-08T19:14:57.000Z
// ProgressDlg.cpp: implementation of the ProgressDlg class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "z-edmap.h" #include "ProgressDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ////...
21.90604
91
0.553002
circinusX1
b16b49bc8d49d5edd6e5b61b162e26652c379ab6
2,291
cc
C++
tests/functional_small/expressions/eigen_diag.cc
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
29
2019-11-11T13:17:57.000Z
2022-03-16T01:31:31.000Z
tests/functional_small/expressions/eigen_diag.cc
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
303
2019-09-30T10:15:41.000Z
2022-03-30T08:24:04.000Z
tests/functional_small/expressions/eigen_diag.cc
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
4
2020-07-07T03:32:36.000Z
2022-03-10T05:21:42.000Z
#include <gtest/gtest.h> #include "pressio/expressions.hpp" namespace{ template <typename T> void test1(T & A) { { const auto diagvals = pressio::diag(A); EXPECT_EQ( diagvals.extent(0), 4 ); EXPECT_DOUBLE_EQ( diagvals(0), 1.2 ); EXPECT_DOUBLE_EQ( diagvals(1), 6.2 ); EXPECT_DOU...
26.034091
66
0.539939
Pressio