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
591d267b6213c0d548dcdb9ae73eb3f6530a54cb
9,198
cpp
C++
rede/newtonSolver.cpp
BigsonLvrocha/NeuralPowerFlow
3d64078b5d1053cd521318229b69592acab6582a
[ "MIT" ]
null
null
null
rede/newtonSolver.cpp
BigsonLvrocha/NeuralPowerFlow
3d64078b5d1053cd521318229b69592acab6582a
[ "MIT" ]
null
null
null
rede/newtonSolver.cpp
BigsonLvrocha/NeuralPowerFlow
3d64078b5d1053cd521318229b69592acab6582a
[ "MIT" ]
null
null
null
/** * @brief defines newton raphman power flow solver * * @file newtonSolver.cpp * @author Luiz Victor Linhares Rocha * @date 2018-09-22 * @copyright 2018 */ #include <cmath> #include "newtonSolver.hpp" #include "barra.hpp" #include "branch.hpp" #include "powerNet.hpp" namespace neuralFlux { NewtonSolver::N...
31.82699
94
0.570885
BigsonLvrocha
591d7427025f92f487dd1cd6bfc5e6d107749604
1,425
cpp
C++
test/concurrency/thread_pool_test.cpp
glensand/hope
775286ad6abb5c7ff3e05ba09c5a429a7b9c0c02
[ "MIT" ]
10
2020-08-15T16:30:30.000Z
2021-09-02T04:04:27.000Z
test/concurrency/thread_pool_test.cpp
glensand/hope
775286ad6abb5c7ff3e05ba09c5a429a7b9c0c02
[ "MIT" ]
null
null
null
test/concurrency/thread_pool_test.cpp
glensand/hope
775286ad6abb5c7ff3e05ba09c5a429a7b9c0c02
[ "MIT" ]
null
null
null
/* Copyright (C) 2021 Gleb Bezborodov - All Rights Reserved * You may use, distribute and modify this code under the * terms of the MIT license. * * You should have received a copy of the MIT license with * this file. If not, please write to: bezborodoff.gleb@gmail.com, or visit : https://github.com/glensand/hope ...
22.983871
110
0.593684
glensand
591dbdd8142961e203d2483bc0f8f69e7c53d8b8
680
hpp
C++
module-apps/apps-common/popups/data/BluetoothModeParams.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
module-apps/apps-common/popups/data/BluetoothModeParams.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
module-apps/apps-common/popups/data/BluetoothModeParams.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include "popups/Popups.hpp" #include <service-appmgr/Actions.hpp> #include <PhoneModes/Common.hpp> namespace gui { class BluetoothModeParams : public app::manager:...
24.285714
94
0.667647
bitigchi
591ead5f05ce505f1761f2c20a818b612ecd25aa
414
cpp
C++
share/src/util/getuniquepath.cpp
MrCryptoBeast/WWW
857e860df0aa1bc7fde2ee6f5918ff32933beeb3
[ "MIT" ]
null
null
null
share/src/util/getuniquepath.cpp
MrCryptoBeast/WWW
857e860df0aa1bc7fde2ee6f5918ff32933beeb3
[ "MIT" ]
null
null
null
share/src/util/getuniquepath.cpp
MrCryptoBeast/WWW
857e860df0aa1bc7fde2ee6f5918ff32933beeb3
[ "MIT" ]
null
null
null
// Copyright (c) 2021 The worldwideweb Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <random.h> #include <fs.h> #include <util/strencodings.h> fs::path GetUniquePath(const fs::path& base) { FastRa...
29.571429
70
0.731884
MrCryptoBeast
591f2e18b9be255023a45a51f9e176edd6da3ce8
4,240
cc
C++
test/libponyc/compiler_serialisation.cc
rtpax/ponyc
5af6626fcc894ef201bebfac712c454e6c8b14c9
[ "BSD-2-Clause" ]
4,304
2016-02-01T14:46:51.000Z
2022-03-29T15:17:15.000Z
test/libponyc/compiler_serialisation.cc
rtpax/ponyc
5af6626fcc894ef201bebfac712c454e6c8b14c9
[ "BSD-2-Clause" ]
2,889
2016-02-01T11:11:07.000Z
2022-03-31T20:59:39.000Z
test/libponyc/compiler_serialisation.cc
rtpax/ponyc
5af6626fcc894ef201bebfac712c454e6c8b14c9
[ "BSD-2-Clause" ]
534
2016-02-01T12:42:45.000Z
2022-03-22T16:45:45.000Z
#include <gtest/gtest.h> #include <platform.h> #include <../libponyrt/mem/pool.h> #include <../libponyrt/sched/scheduler.h> #include "util.h" #include <memory> #define TEST_COMPILE(src, pass) DO(test_compile(src, pass)) #define TEST_COMPILE_RESUME(pass) DO(test_compile_resume(pass)) class CompilerSerialisationTes...
19.62963
81
0.713915
rtpax
591fadfaf96f3d07e889163a3d389b5223c7d722
39
hpp
C++
src/boost_asio_system_timer.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_asio_system_timer.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_asio_system_timer.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/asio/system_timer.hpp>
19.5
38
0.794872
miathedev
59204a0c83d260e99bb08a6a6cb71fe598368a59
3,912
cpp
C++
VC2010Samples/ATL/General/ATLCollections/Client/Client.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/ATL/General/ATLCollections/Client/Client.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/ATL/General/ATLCollections/Client/Client.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// This is a part of the Active Template Library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Active Template Library Reference and related // electronic documentation provided with the library. // See these sources for detailed inform...
26.08
90
0.67638
alonmm
59205bfad8fb6a196846490756e581670a362340
3,221
cc
C++
src/lib/schwa/third-party/re2/testing/exhaustive3_test.cc
schwa-lab/libschwa
dc3546bde9d52255491873e5a4505ca2da88f012
[ "MIT" ]
7
2015-03-23T17:17:11.000Z
2020-06-01T11:37:05.000Z
src/lib/schwa/third-party/re2/testing/exhaustive3_test.cc
schwa-lab/libschwa
dc3546bde9d52255491873e5a4505ca2da88f012
[ "MIT" ]
null
null
null
src/lib/schwa/third-party/re2/testing/exhaustive3_test.cc
schwa-lab/libschwa
dc3546bde9d52255491873e5a4505ca2da88f012
[ "MIT" ]
1
2018-07-26T03:32:28.000Z
2018-07-26T03:32:28.000Z
// Copyright 2008 The RE2 Authors. All Rights Reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Exhaustive testing of regular expression matching. #include <schwa/third-party/re2/util/test.h> #include <schwa/third-party/re2/testing/exhaustive_tester....
33.905263
74
0.57063
schwa-lab
5923a4647afae175e045a7ec96bd97975c593a29
13,848
cpp
C++
automated-tests/src/dali/utc-Dali-Shader.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
automated-tests/src/dali/utc-Dali-Shader.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-03-22T10:19:17.000Z
2020-03-22T10:19:17.000Z
automated-tests/src/dali/utc-Dali-Shader.cpp
fayhot/dali-core
a69ea317f30961164520664a645ac36c387055ef
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * 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...
32.204651
118
0.737363
vcebollada
59254d576bf9a2162a693904ee0576cc2eae7992
25,309
cpp
C++
Qt Source Code/opencv_.cpp
GorkemTok33/Temel-Resim-Islemleri
197fa4f5eeb1194f27800e2ebc1c08fcad275df1
[ "MIT" ]
null
null
null
Qt Source Code/opencv_.cpp
GorkemTok33/Temel-Resim-Islemleri
197fa4f5eeb1194f27800e2ebc1c08fcad275df1
[ "MIT" ]
null
null
null
Qt Source Code/opencv_.cpp
GorkemTok33/Temel-Resim-Islemleri
197fa4f5eeb1194f27800e2ebc1c08fcad275df1
[ "MIT" ]
null
null
null
/**************************************************************************************** Program: PictureDesigner Author: Görkem Tok Language: C++ Platform: Qt Creator Contact: ceng.gorkem.tok@gmail.com License: MIT ****************************************************************************************/ #...
32.572716
200
0.608716
GorkemTok33
59264ede404d20daf02b4b2d53ae543df9c017d7
220
hxx
C++
src/lib/ui/widgets/label.hxx
johanneslochmann/cppprojecttemplate
28f1bd4dd1bc414ed38c8a739e33974f65891f83
[ "BSD-3-Clause" ]
null
null
null
src/lib/ui/widgets/label.hxx
johanneslochmann/cppprojecttemplate
28f1bd4dd1bc414ed38c8a739e33974f65891f83
[ "BSD-3-Clause" ]
null
null
null
src/lib/ui/widgets/label.hxx
johanneslochmann/cppprojecttemplate
28f1bd4dd1bc414ed38c8a739e33974f65891f83
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <ui/widgets/config.hxx> #include <QLabel> PRAM_NS_BEGIN WIDGETS_NAMESPACE_BEGIN class Label: public QLabel { Q_OBJECT public: using QLabel::QLabel; }; PRAM_NS_END WIDGETS_NAMESPACE_END
11.578947
32
0.768182
johanneslochmann
59274351d802839b10cd13fc322f83b28799931f
2,567
hpp
C++
src/xrt/auxiliary/tracking/t_helper_debug_sink.hpp
mateosss/monado
5c6158cc8bbd92add1aa38bf44164cd9d0386900
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSL-1.0", "BSD-3-Clause" ]
1
2021-02-25T19:36:30.000Z
2021-02-25T19:36:30.000Z
src/xrt/auxiliary/tracking/t_helper_debug_sink.hpp
mateosss/monado
5c6158cc8bbd92add1aa38bf44164cd9d0386900
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/xrt/auxiliary/tracking/t_helper_debug_sink.hpp
mateosss/monado
5c6158cc8bbd92add1aa38bf44164cd9d0386900
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
// Copyright 2019, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file * @brief Small helper struct that for debugging views. * @author Jakob Bornecrantz <jakob@collabora.com> * @ingroup aux_tracking */ #pragma once #ifndef __cplusplus #error "This header is C++-only." #endif #include <opencv2/open...
20.212598
67
0.613946
mateosss
592bd95a74c9a08b03b2d079850914ccca204634
14,141
cpp
C++
wifi-x-nucleo-idw01m1/SpwfSAInterface.cpp
rmikio/STM32L475_Ubidots_LCF
1d9fd282969d035680de2ff42a97389ce831711a
[ "MIT" ]
null
null
null
wifi-x-nucleo-idw01m1/SpwfSAInterface.cpp
rmikio/STM32L475_Ubidots_LCF
1d9fd282969d035680de2ff42a97389ce831711a
[ "MIT" ]
null
null
null
wifi-x-nucleo-idw01m1/SpwfSAInterface.cpp
rmikio/STM32L475_Ubidots_LCF
1d9fd282969d035680de2ff42a97389ce831711a
[ "MIT" ]
null
null
null
/* mbed Microcontroller Library * Copyright (c) 20015 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
27.565302
154
0.655753
rmikio
592c133b276684d0c8e4ad2e04426e3d55f461cc
333
hpp
C++
Classifier/TransformerBuilder.hpp
TomaszRewak/Classifiers
35f383b4a87d905f9c15dfdec88a94ea9f8b1abb
[ "MIT" ]
null
null
null
Classifier/TransformerBuilder.hpp
TomaszRewak/Classifiers
35f383b4a87d905f9c15dfdec88a94ea9f8b1abb
[ "MIT" ]
null
null
null
Classifier/TransformerBuilder.hpp
TomaszRewak/Classifiers
35f383b4a87d905f9c15dfdec88a94ea9f8b1abb
[ "MIT" ]
null
null
null
#pragma once #include "Transformer.hpp" namespace Classifier::Data::Transformation { class TransformerBuilder { public: template<typename ...Ts> static Transformer<InputFeatures<Ts...>, OutputFeatures<Ts...>> from(FeatureSet<Ts...>& set) { return Transformer<InputFeatures<Ts...>, OutputFeatures<Ts...>>(se...
20.8125
94
0.6997
TomaszRewak
592e9ae42ef83ac29643bd7f3a4159072f665245
12,177
cpp
C++
src/helics/application_api/Filters.cpp
bmkelley/HELICS
742383907e5ad8af25a97d17a60985976af7c2e1
[ "BSD-3-Clause" ]
null
null
null
src/helics/application_api/Filters.cpp
bmkelley/HELICS
742383907e5ad8af25a97d17a60985976af7c2e1
[ "BSD-3-Clause" ]
null
null
null
src/helics/application_api/Filters.cpp
bmkelley/HELICS
742383907e5ad8af25a97d17a60985976af7c2e1
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017-2020, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #include "Filters.hpp" #include "CoreApp.hpp" #include "FilterOperat...
30.984733
100
0.625113
bmkelley
59321cdd7d6a326585aeb4c8a569604af1105e15
10,369
cc
C++
ecs/src/model/DescribeDedicatedHostsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
ecs/src/model/DescribeDedicatedHostsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
ecs/src/model/DescribeDedicatedHostsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
56.048649
130
0.806346
aliyun
5932560724f312a4b6110af9eddff9da97581ad6
7,373
cpp
C++
src/Cello/control_stopping.cpp
TrevorMcCrary/enzo-e
abeb5d73d6ff210fc6cd675c25430cfb93c374ac
[ "BSD-3-Clause" ]
null
null
null
src/Cello/control_stopping.cpp
TrevorMcCrary/enzo-e
abeb5d73d6ff210fc6cd675c25430cfb93c374ac
[ "BSD-3-Clause" ]
null
null
null
src/Cello/control_stopping.cpp
TrevorMcCrary/enzo-e
abeb5d73d6ff210fc6cd675c25430cfb93c374ac
[ "BSD-3-Clause" ]
null
null
null
// See LICENSE_CELLO file for license and copyright information /// @file control_stopping.cpp /// @author James Bordner (jobordner@ucsd.edu) /// @date 2013-04-26 /// @brief Charm-related functions associated with initialization /// @ingroup Control /// /// STOPPING /// /// Block::stopping(...
25.77972
86
0.607351
TrevorMcCrary
593354c5453f53ade53e9f4dc05587e3b13ff53a
2,178
cc
C++
src/common/chemistry/base_chemistry/ion_exchange_site.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
1
2021-02-23T18:34:47.000Z
2021-02-23T18:34:47.000Z
src/common/chemistry/base_chemistry/ion_exchange_site.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
src/common/chemistry/base_chemistry/ion_exchange_site.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
/* Chemistry Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Ben Andre Base class for ion exchange sites (e.g. X- in s...
27.225
88
0.653352
ajkhattak
5934cba98b73e262663e0266c928b8eeb4c52487
1,714
hpp
C++
include/RadonFramework/System/Hardware/ProcessorFeatures.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
3
2015-09-15T06:57:50.000Z
2021-03-16T19:05:02.000Z
include/RadonFramework/System/Hardware/ProcessorFeatures.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
2
2015-09-26T12:41:10.000Z
2015-12-08T08:41:37.000Z
include/RadonFramework/System/Hardware/ProcessorFeatures.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
1
2015-07-09T02:56:34.000Z
2015-07-09T02:56:34.000Z
#ifndef RF_SYSTEM_HARDWARE_PROCESSORFEATURES_HPP #define RF_SYSTEM_HARDWARE_PROCESSORFEATURES_HPP #if _MSC_VER > 1000 #pragma once #endif #include <RadonFramework/Collections/BitSet.hpp> namespace RadonFramework::System::Hardware::ProcessorFeatures { enum Type { AES, // Advanced Encryption Standard instruction s...
31.163636
78
0.717036
tak2004
5936007faa16db0979bf1d9f8890a54cbc714efc
13,966
cpp
C++
NorthstarDedicatedTest/logging.cpp
r-ex/NorthstarLauncher
14bc1b6ac7425934cb9fdfbcc522c720d512b370
[ "MIT" ]
186
2021-12-24T01:36:12.000Z
2022-03-29T04:39:24.000Z
NorthstarDedicatedTest/logging.cpp
r-ex/NorthstarLauncher
14bc1b6ac7425934cb9fdfbcc522c720d512b370
[ "MIT" ]
101
2021-12-24T04:00:40.000Z
2022-03-29T22:37:39.000Z
NorthstarDedicatedTest/logging.cpp
r-ex/NorthstarLauncher
14bc1b6ac7425934cb9fdfbcc522c720d512b370
[ "MIT" ]
94
2021-12-24T02:09:45.000Z
2022-03-29T22:49:40.000Z
#include "pch.h" #include "logging.h" #include "sourceconsole.h" #include "spdlog/sinks/basic_file_sink.h" #include "hookutils.h" #include "dedicated.h" #include "convar.h" #include <iomanip> #include <sstream> #include <Psapi.h> #include <minidumpapiset.h> #include "configurables.h" // This needs to be called after h...
28.677618
134
0.718674
r-ex
5936b8427d03384772e56818fe99645f19183040
9,210
cc
C++
libview/reparenter.cc
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
2
2020-10-22T22:02:52.000Z
2021-12-13T18:07:16.000Z
libview/reparenter.cc
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
libview/reparenter.cc
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
/* ************************************************************************* * Copyright (c) 2005 VMware, Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, incl...
28.079268
79
0.577742
libview
59375df6c25cb3aba0a331c1eeb286a06cfaaa25
5,096
hpp
C++
RobWork/src/rw/geometry/analytic/Face.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rw/geometry/analytic/Face.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rw/geometry/analytic/Face.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2018 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
33.30719
100
0.593995
ZLW07
5938d8e8df67ea55f5b7833204be14d1dae7e922
1,387
hpp
C++
search/model.hpp
ToshUxanoff/omim
a8acb5821c72bd78847d1c49968b14d15b1e06ee
[ "Apache-2.0" ]
1
2021-07-02T08:45:02.000Z
2021-07-02T08:45:02.000Z
search/model.hpp
ToshUxanoff/omim
a8acb5821c72bd78847d1c49968b14d15b1e06ee
[ "Apache-2.0" ]
1
2020-06-15T15:16:23.000Z
2020-06-15T15:59:19.000Z
search/model.hpp
maksimandrianov/omim
cbc5a80d09d585afbda01e471887f63b9d3ab0c2
[ "Apache-2.0" ]
1
2018-10-01T10:27:21.000Z
2018-10-01T10:27:21.000Z
#pragma once #include "indexer/ftypes_matcher.hpp" #include "std/string.hpp" #include "std/vector.hpp" #include "base/macros.hpp" class FeatureType; namespace search { /// Describes 2-level POI-exception types that don't belong to any POI-common classes /// (amenity, shop, tourism, ...). Used in search algo and se...
22.737705
94
0.715934
ToshUxanoff
5939c7490936115355a20cc9059ad82539d2160f
5,007
cc
C++
Data-Structures/Tree/GeneralTree/BinaryTree/BST/main.cc
aniruddha0pandey/Code-Archive
f347aa17ef3f43d6b5a3ce95f9be25d2a6cb6965
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
Data-Structures/Tree/GeneralTree/BinaryTree/BST/main.cc
aniruddha0pandey/Code-Archive
f347aa17ef3f43d6b5a3ce95f9be25d2a6cb6965
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
Data-Structures/Tree/GeneralTree/BinaryTree/BST/main.cc
aniruddha0pandey/Code-Archive
f347aa17ef3f43d6b5a3ce95f9be25d2a6cb6965
[ "Apache-2.0", "CC-BY-4.0" ]
1
2020-08-16T05:48:55.000Z
2020-08-16T05:48:55.000Z
// clear && make main && ./main < in > out && subl ./out #include <bits/stdc++.h> template<typename T> struct Node { T data; std::shared_ptr<Node> parent; std::shared_ptr<Node> left; std::shared_ptr<Node> right; Node( T data = -1 ) : data ( data ), parent ( nullptr ), left ( nullptr ), right ( nullptr )...
23.842857
174
0.618734
aniruddha0pandey
593b3a4f9051ebca909b9cf72a4578b31374eeba
2,770
cpp
C++
editor/utils/assets.cpp
gan74/yave
c71b5dd7c05b1aa39c59a8071fc243c1472e71d1
[ "MIT" ]
null
null
null
editor/utils/assets.cpp
gan74/yave
c71b5dd7c05b1aa39c59a8071fc243c1472e71d1
[ "MIT" ]
null
null
null
editor/utils/assets.cpp
gan74/yave
c71b5dd7c05b1aa39c59a8071fc243c1472e71d1
[ "MIT" ]
null
null
null
/******************************* Copyright (c) 2016-2022 Grégoire Angerand 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...
29.784946
80
0.62852
gan74
593b872a7cfd628d62724c84aa2511b3fd841687
52
cpp
C++
src/kernel/dev/Mouse.cpp
jameskingstonclarke/arctic
6fec04809d6175689477abfe21416f33e63cb177
[ "MIT" ]
1
2021-02-01T19:28:02.000Z
2021-02-01T19:28:02.000Z
src/kernel/dev/Mouse.cpp
jameskingstonclarke/arctic
6fec04809d6175689477abfe21416f33e63cb177
[ "MIT" ]
9
2021-02-07T15:46:11.000Z
2021-02-18T08:25:42.000Z
src/kernel/dev/Mouse.cpp
jameskingstonclarke/arctic
6fec04809d6175689477abfe21416f33e63cb177
[ "MIT" ]
null
null
null
#include "Mouse.h" namespace Dev::Mouse{ }
10.4
22
0.576923
jameskingstonclarke
593bd25ac5a25fecf5736831b3397f22b9c6b303
441
hpp
C++
core/test/tu-PRNG.hpp
iboB/word-grid
d1029323d5c51499298f3ed19390928371cb70a6
[ "MIT" ]
2
2019-07-01T00:10:43.000Z
2019-09-18T19:37:38.000Z
core/test/tu-PRNG.hpp
iboB/word-grid
d1029323d5c51499298f3ed19390928371cb70a6
[ "MIT" ]
null
null
null
core/test/tu-PRNG.hpp
iboB/word-grid
d1029323d5c51499298f3ed19390928371cb70a6
[ "MIT" ]
2
2019-07-17T17:44:16.000Z
2020-12-21T07:56:11.000Z
// word-grid // Copyright (c) 2019-2021 Borislav Stanimirov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // #pragma once #include <core/PRNG.hpp> #include <iostream> namespace test { core::PRNG makePrng() { auto seed = cor...
18.375
61
0.673469
iboB
593ce0ae6b27decfe7326e9ab2ed779c5757f99d
15,118
cc
C++
courgette/disassembler_elf_32_arm.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-16T03:57:28.000Z
2021-01-23T15:29:45.000Z
courgette/disassembler_elf_32_arm.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
courgette/disassembler_elf_32_arm.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-03-15T13:21:38.000Z
2017-03-15T13:21:38.000Z
// Copyright 2013 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 "courgette/disassembler_elf_32_arm.h" #include <algorithm> #include <string> #include <vector> #include "base/basictypes.h" #include "base/logg...
30.916155
79
0.579508
shaochangbin
86ca97038a9f2204c4a6c18c843ccc41cb98f527
1,967
cpp
C++
modules/task_1/butescu_v_vector_average/butescu_v_vector_average.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/butescu_v_vector_average/butescu_v_vector_average.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/butescu_v_vector_average/butescu_v_vector_average.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 Butescu Vladimir #include <mpi.h> #include <vector> #include <random> #include <algorithm> #include"./butescu_v_vector_average.h" std::vector<int> getRandomPositiveVector(int size) { std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> dist(1, 100); if (si...
24.898734
96
0.591764
Gurgen-Arm
86cac429332810b3c115d63bf553ce073b22505e
4,507
cc
C++
src/CollectionIdentifier.cc
sschaal2/ign-fuel-tools
c0ec7e960fa87ba90690774bebd478acaaaff7bc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/CollectionIdentifier.cc
sschaal2/ign-fuel-tools
c0ec7e960fa87ba90690774bebd478acaaaff7bc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/CollectionIdentifier.cc
sschaal2/ign-fuel-tools
c0ec7e960fa87ba90690774bebd478acaaaff7bc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 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.16875
80
0.575327
sschaal2
86cc96fe7beff3d56461edab56c4714a561fd4c9
3,104
cxx
C++
Rendering/OpenGL/Testing/Cxx/TestMultiblockDisplayProperties.cxx
jasper-yeh/VtkDotNet
84b56f781cb511694e4380cebfb245bbefe2560b
[ "BSD-3-Clause" ]
3
2020-06-20T23:31:06.000Z
2021-01-11T02:17:16.000Z
Rendering/OpenGL/Testing/Cxx/TestMultiblockDisplayProperties.cxx
jasper-yeh/VtkDotNet
84b56f781cb511694e4380cebfb245bbefe2560b
[ "BSD-3-Clause" ]
1
2020-12-01T23:21:02.000Z
2020-12-02T23:44:43.000Z
Rendering/OpenGL/Testing/Cxx/TestMultiblockDisplayProperties.cxx
jasper-yeh/VtkDotNet
84b56f781cb511694e4380cebfb245bbefe2560b
[ "BSD-3-Clause" ]
5
2015-10-09T04:12:29.000Z
2021-12-15T16:57:11.000Z
/*========================================================================= Program: Visualization Toolkit Module: TestMultiblockDisplayProperties.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
29.846154
75
0.698776
jasper-yeh
86cd13bd7e401e2b40b318f2e0361212ebac93f6
641
cpp
C++
C++ Practicals/binary_search.cpp
Atithi360/CodingPracticals
fa0254dde389c18bb3af03613c4863667c76965b
[ "MIT" ]
null
null
null
C++ Practicals/binary_search.cpp
Atithi360/CodingPracticals
fa0254dde389c18bb3af03613c4863667c76965b
[ "MIT" ]
null
null
null
C++ Practicals/binary_search.cpp
Atithi360/CodingPracticals
fa0254dde389c18bb3af03613c4863667c76965b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int binarysearch(int arr[], int l,int r, int x); int main() { int array[] = {1,2,3,4,5,6,7,9}; int n = sizeof(array)/sizeof(array[0]); int x = 2; int result = binarysearch(array,0,n-1,x); if (result==-1) cout<<x<<" is not present in the array"<<endl; else...
24.653846
66
0.578783
Atithi360
86cf793fb525484b6d499bbac649abb54da73c0c
609
cpp
C++
src/Functions/JSONPath/Parsers/ParserJSONPathRoot.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
15,577
2019-09-23T11:57:53.000Z
2022-03-31T18:21:48.000Z
src/Functions/JSONPath/Parsers/ParserJSONPathRoot.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
16,476
2019-09-23T11:47:00.000Z
2022-03-31T23:06:01.000Z
src/Functions/JSONPath/Parsers/ParserJSONPathRoot.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
3,633
2019-09-23T12:18:28.000Z
2022-03-31T15:55:48.000Z
#include <Functions/JSONPath/ASTs/ASTJSONPathRoot.h> #include <Functions/JSONPath/Parsers/ParserJSONPathRoot.h> #include <Parsers/Lexer.h> namespace DB { /** * * @param pos token iterator * @param node node of ASTJSONPathRoot * @param expected stuff for logging * @return was parse successful */ bool ParserJSONP...
21.75
81
0.681445
pdv-ru
86cff7f73bc393ed074e048e25d8fe6bad06cbbd
10,748
hh
C++
mcg/src/external/BSR/include/mlearning/clustering/clusterers/graph/tree_clusterer.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
392
2015-01-14T13:19:40.000Z
2022-02-12T08:47:33.000Z
mcg/src/external/BSR/include/mlearning/clustering/clusterers/graph/tree_clusterer.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
45
2015-02-03T12:16:10.000Z
2022-03-07T00:25:09.000Z
mcg/src/external/BSR/include/mlearning/clustering/clusterers/graph/tree_clusterer.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
168
2015-01-05T02:29:53.000Z
2022-02-22T04:32:04.000Z
/* * Clusterer on undirected graphs that produces an agglomeration tree. * * Graph vertices are initialized to each be a single element tree. Each * step of the agglomeration merges the vertices at the ends of the highest * priority edge and updates the costs of the edges connected to the merged * vertex. Th...
29.206522
79
0.640026
mouthwater
86d0ee63a3f8f9afd860dca3becca6d1988d40d4
4,217
cpp
C++
UVa/UVA - 116/Wrong answer (3).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
UVa/UVA - 116/Wrong answer (3).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
UVa/UVA - 116/Wrong answer (3).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2017-08-07 23:11:59 * solution_verdict: Wrong answer language: C++ * run...
27.927152
111
0.311359
kzvd4729
86d3a42632747ee3ca59b603153f0e44e6e7a540
6,503
cpp
C++
export/debug/windows/obj/src/openfl/ui/Multitouch.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/debug/windows/obj/src/openfl/ui/Multitouch.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/debug/windows/obj/src/openfl/ui/Multitouch.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_openfl__Vector_IVector #include <openfl/_Vector/IVector.h> #endif #ifndef INCLUDED_openfl__Vector_ObjectVector #include <openfl/_Vector/ObjectVector.h> #endif #ifndef INCLUDED_openfl_ui_Multitouch #include <openfl/ui/Multitouch.h> #endif HX_LOCAL_STACK_FR...
36.127778
222
0.761495
bobisdabbing
86d6e76649ac6d14901abb13bb7455e00c8a3e4d
3,049
cpp
C++
volume_rendering/src/renderer.cpp
yuehaowang/learn_openGL
1fdd0d4aea6196e272e8eea8459cfd371e98831a
[ "MIT" ]
3
2019-02-05T15:03:42.000Z
2020-04-09T06:33:38.000Z
volume_rendering/src/renderer.cpp
yuehaowang/lets_CG
1fdd0d4aea6196e272e8eea8459cfd371e98831a
[ "MIT" ]
null
null
null
volume_rendering/src/renderer.cpp
yuehaowang/lets_CG
1fdd0d4aea6196e272e8eea8459cfd371e98831a
[ "MIT" ]
null
null
null
#include "renderer.h" #include "config.hpp" extern Config conf; void Renderer::setCamera(Camera *cam) { this->camera = cam; }; void Renderer::addLight(Light *light) { this->lights.push_back(light); }; void Renderer::setVolume(Volume *vol) { this->volume = vol; }; void Renderer::setClassifier(Classifier *classifier...
34.258427
117
0.588062
yuehaowang
86d707a3bafd5ecafa36b28ebd7ecb1eb91813ae
3,482
cpp
C++
accelerator/thread/Futex.cpp
Yeolar/accelerator
04d36eac69490df9ae71c7cfd71481d83ca51914
[ "Apache-2.0" ]
2
2019-05-13T02:34:51.000Z
2019-11-14T06:52:44.000Z
accelerator/thread/Futex.cpp
Yeolar/accelerator
04d36eac69490df9ae71c7cfd71481d83ca51914
[ "Apache-2.0" ]
null
null
null
accelerator/thread/Futex.cpp
Yeolar/accelerator
04d36eac69490df9ae71c7cfd71481d83ca51914
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017 Facebook, Inc. * Copyright 2017 Yeolar * * 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 ...
33.480769
75
0.602527
Yeolar
86d778d2d6be5813d42614667288244af76b752b
4,354
cpp
C++
day8.cpp
Daria2002/AoC2019
5389f2463c38ca448b3c18ca67d90609f175b636
[ "MIT" ]
null
null
null
day8.cpp
Daria2002/AoC2019
5389f2463c38ca448b3c18ca67d90609f175b636
[ "MIT" ]
null
null
null
day8.cpp
Daria2002/AoC2019
5389f2463c38ca448b3c18ca67d90609f175b636
[ "MIT" ]
null
null
null
#include <sstream> #include <fstream> #include <iostream> #include <vector> #include <string> #include <algorithm> #define PIXELS_WIDE 25 #define PIXELS_TALL 6 #define ASCII_ZERO 48 template <class T> std::vector<T> extract_subvector(std::vector<T> v, int begin_index, int end_index) { auto begin = v.begin() + beg...
27.043478
113
0.516766
Daria2002
86d7b3b0f7f87ff0fb02c368306cbc2041e986db
3,534
cc
C++
src/sandbox/shmem_ipc.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
10
2018-03-01T22:11:10.000Z
2021-05-17T14:13:58.000Z
src/sandbox/shmem_ipc.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
43
2018-04-11T11:13:44.000Z
2022-03-31T15:28:03.000Z
src/sandbox/shmem_ipc.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
20
2018-03-07T21:36:50.000Z
2022-03-30T13:25:25.000Z
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
22.8
120
0.602151
dvuckovic
86da8fb4899c1fbda2d748079cee5fddd67ce0d5
294,519
cc
C++
extra/tensorflow-r1.4/tensorflow/core/protobuf/meta_graph.pb.cc
langsunny/DEye
dba4b297fff71c72d28e2b48eeb7d447066a32ce
[ "Apache-2.0" ]
850
2018-01-18T05:56:02.000Z
2022-03-31T08:17:34.000Z
extra/tensorflow-r1.4/tensorflow/core/protobuf/meta_graph.pb.cc
langsunny/DEye
dba4b297fff71c72d28e2b48eeb7d447066a32ce
[ "Apache-2.0" ]
11
2018-03-14T02:49:04.000Z
2021-03-09T02:06:00.000Z
extra/tensorflow-r1.4/tensorflow/core/protobuf/meta_graph.pb.cc
langsunny/DEye
dba4b297fff71c72d28e2b48eeb7d447066a32ce
[ "Apache-2.0" ]
364
2018-01-22T02:11:16.000Z
2022-03-27T12:58:47.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/protobuf/meta_graph.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "tensorflow/core/protobuf/meta_graph.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port...
38.72193
143
0.724483
langsunny
86dc14fa56d3ed07953dcfd7230caa1ac1ba9818
17,404
cpp
C++
Source/AllProjects/CIDLib/CIDLib_SharedMemory.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/CIDLib/CIDLib_SharedMemory.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/CIDLib/CIDLib_SharedMemory.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDLib_SharedMemory.cpp // // AUTHOR: Dean Roddey // // CREATED: 02/28/1997 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opens...
30.006897
84
0.529476
eudora-jia
86dcd2a60ef8348ab2a45806d45fa70ccba91c59
55,364
cpp
C++
Code/Engine/Texture/Image/Implementation/ImageUtils.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Engine/Texture/Image/Implementation/ImageUtils.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Engine/Texture/Image/Implementation/ImageUtils.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
#include <TexturePCH.h> #include <Texture/Image/ImageUtils.h> #include <Foundation/SimdMath/SimdVec4f.h> #include <Texture/Image/ImageConversion.h> #include <Texture/Image/ImageEnums.h> #include <Texture/Image/ImageFilter.h> template <typename TYPE> static void SetDiff( const ezImageView& ImageA, const ...
34.689223
148
0.653511
fereeh
86dd0965c7f295025f900d8c7ad993a50a0217d2
1,081
cpp
C++
PROVAS/prova_1_2019_1/q2/pessoa.cpp
EduFreit4s/Tecnicas-de-Program
360a2addabe8226b4abc78b26fd6ece0297892f4
[ "MIT" ]
5
2019-10-03T22:14:13.000Z
2020-02-18T00:23:55.000Z
PROVAS/prova_1_2019_1/q2/pessoa.cpp
EduFreit4s/Tecnicas-de-Program
360a2addabe8226b4abc78b26fd6ece0297892f4
[ "MIT" ]
null
null
null
PROVAS/prova_1_2019_1/q2/pessoa.cpp
EduFreit4s/Tecnicas-de-Program
360a2addabe8226b4abc78b26fd6ece0297892f4
[ "MIT" ]
2
2019-10-24T21:32:53.000Z
2019-12-05T18:36:56.000Z
#include "pessoa.h" bool Pessoa::setCodigo(string c){ codigo = c; return 1; } bool Pessoa::setNome(string n){ if(n.size() > 5){ nome = n; return 1; }else{ cout << endl << "Nome muito curto! Escolha um nome com 5 ou mais letras. Tente novamente: "; nome = ...
18.322034
101
0.511563
EduFreit4s
86deaba0824aecd4531d149f85eff70553b6afaa
309
hpp
C++
include/grl/concepts/DeviceCommand.hpp
hany606/grl
b99ee6fa72163f22dddc5547a09a461a914889ac
[ "BSD-2-Clause", "Apache-2.0" ]
140
2015-03-28T21:30:26.000Z
2022-03-16T18:43:11.000Z
include/grl/concepts/DeviceCommand.hpp
hany606/grl
b99ee6fa72163f22dddc5547a09a461a914889ac
[ "BSD-2-Clause", "Apache-2.0" ]
173
2015-03-28T21:56:54.000Z
2020-06-25T17:29:02.000Z
include/grl/concepts/DeviceCommand.hpp
hany606/grl
b99ee6fa72163f22dddc5547a09a461a914889ac
[ "BSD-2-Clause", "Apache-2.0" ]
68
2015-04-03T20:37:12.000Z
2022-02-02T20:59:11.000Z
#ifndef DEVICE_COMMAND_HPP_ #define DEVICE_COMMAND_HPP_ namespace grl { namespace concept { template<typename Device> class DeviceCommand { #ifndef DOXYGEN_NO_CONCEPT_MEMBERS #endif }; template<typename Device> class ConstDeviceCommand { #ifndef DOXYGEN_NO_CONCEPT_MEMBERS #endif }; }} #endif
10.655172
34
0.783172
hany606
86e0cf795a13b903eba4a242a0b35c2ebe240c54
3,589
cpp
C++
third_party/mesa/src/src/glsl/ir_basic_block.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/glsl/ir_basic_block.cpp
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/mesa/src/src/glsl/ir_basic_block.cpp
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/* * Copyright © 2010 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.542056
77
0.697966
zipated
86e0f09299846a4f5fe2ef5ce22148c03461df8f
1,649
cpp
C++
Training/PosStreamer.cpp
CheckersGuy/DarkHorse
f5e763536508770a336d099af7ac4d0a7b2f72a0
[ "MIT" ]
1
2020-04-03T01:20:36.000Z
2020-04-03T01:20:36.000Z
Training/PosStreamer.cpp
CheckersGuy/DarkHorse
f5e763536508770a336d099af7ac4d0a7b2f72a0
[ "MIT" ]
2
2018-10-30T13:46:19.000Z
2019-11-04T20:46:25.000Z
Training/PosStreamer.cpp
CheckersGuy/DarkHorse
f5e763536508770a336d099af7ac4d0a7b2f72a0
[ "MIT" ]
null
null
null
// // Created by robin on 06.10.21. // #include <sys/stat.h> #include "PosStreamer.h" Sample PosStreamer::get_next() { if (ptr >= buffer_size) { ptr = 0; //if we reached the end of our file //we have to wrap around size_t read_elements = 0; do { if (stream.peek...
25.369231
78
0.562765
CheckersGuy
86e2383ed549929989f3d9a2d9c0e43dca471f4a
5,694
cpp
C++
Tests/AK/TestGenericLexer.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
19,438
2019-05-20T15:11:11.000Z
2022-03-31T23:31:32.000Z
Tests/AK/TestGenericLexer.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
7,882
2019-05-20T01:03:52.000Z
2022-03-31T23:26:31.000Z
Tests/AK/TestGenericLexer.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
2,721
2019-05-23T00:44:57.000Z
2022-03-31T22:49:34.000Z
/* * Copyright (c) 2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibTest/TestCase.h> #include <AK/GenericLexer.h> #include <AK/StringView.h> TEST_CASE(should_constexpr_construct_from_empty_string_view) { constexpr GenericLexer sut(StringView {}); static_assert(su...
27.507246
130
0.654373
r00ster91
86e4e3725e3309f19d1a72bb92b4230aee8f5a29
1,796
cpp
C++
Engine/Graphics/Texture.cpp
Antd23rus/S2DE_DirectX11
4f729278e6c795f7d606afc70a292c6501b0cafd
[ "MIT" ]
null
null
null
Engine/Graphics/Texture.cpp
Antd23rus/S2DE_DirectX11
4f729278e6c795f7d606afc70a292c6501b0cafd
[ "MIT" ]
null
null
null
Engine/Graphics/Texture.cpp
Antd23rus/S2DE_DirectX11
4f729278e6c795f7d606afc70a292c6501b0cafd
[ "MIT" ]
1
2021-09-06T08:30:20.000Z
2021-09-06T08:30:20.000Z
#include "Texture.h" #include "Base/Engine.h" #include "Graphics/Renderer.h" #include <D3DX11tex.h> namespace S2DE::Render { Texture::Texture() { m_type = "Texture"; m_ex = { ".dds", ".png", ".tga", ".jpg" }; } Texture::~Texture() { } void Texture::Cleanup() { Core::Release(m_resource); Core::Rele...
24.60274
165
0.732183
Antd23rus
86e89e3d6ff08f50ac78ce7a36e218df72e0eb03
6,499
cpp
C++
Engine/source/forest/editor/forestBrushElement.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
2,113
2015-01-01T11:23:01.000Z
2022-03-28T04:51:46.000Z
Engine/source/forest/editor/forestBrushElement.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
948
2015-01-02T01:50:00.000Z
2022-02-27T05:56:40.000Z
Engine/source/forest/editor/forestBrushElement.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
944
2015-01-01T09:33:53.000Z
2022-03-15T22:23:03.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
32.495
107
0.634251
vbillet
86e99399ef083cc3001424ee0adfa0d08ac07561
195
cpp
C++
tests/example.cpp
marshal2111/lab-03-shared-ptr
ad6aabcd088250ae2cc5b44932ee1b7f17fa5aa3
[ "MIT" ]
null
null
null
tests/example.cpp
marshal2111/lab-03-shared-ptr
ad6aabcd088250ae2cc5b44932ee1b7f17fa5aa3
[ "MIT" ]
null
null
null
tests/example.cpp
marshal2111/lab-03-shared-ptr
ad6aabcd088250ae2cc5b44932ee1b7f17fa5aa3
[ "MIT" ]
null
null
null
// Copyright 2021 Your Name <your_email> #include <stdexcept> #include <gtest/gtest.h> #include <shared_ptr.hpp> TEST(Example, EmptyTest) { EXPECT_THROW(example(), std::runtime_error); }
16.25
48
0.717949
marshal2111
86eac7b4eea603d977b95fd7f7d3329c23cd6ffb
866
cpp
C++
kernel/src/IO.cpp
pradosh-arduino/pradoshOS
b7c2a8b238261fc61460e609fd8352aa62b5f32e
[ "MIT" ]
9
2021-11-17T10:27:18.000Z
2022-03-16T09:43:24.000Z
kernel/src/IO.cpp
pradosh-arduino/pradoshOS
b7c2a8b238261fc61460e609fd8352aa62b5f32e
[ "MIT" ]
1
2022-03-17T08:31:05.000Z
2022-03-28T02:50:59.000Z
kernel/src/IO.cpp
pradosh-arduino/pradoshOS
b7c2a8b238261fc61460e609fd8352aa62b5f32e
[ "MIT" ]
1
2021-12-21T09:49:02.000Z
2021-12-21T09:49:02.000Z
#include "IO.h" void outb(uint16_t port, uint8_t value){ asm volatile ("outb %0, %1" : : "a"(value), "Nd"(port)); } uint8_t inb(uint16_t port){ uint8_t returnVal; asm volatile ("inb %1, %0" : "=a"(returnVal) : "Nd"(port)); return returnVal; } void outw(uint16_t portNumber, uint16_t data) { ...
22.789474
69
0.598152
pradosh-arduino
86ed87b7c84cdf660c025eb101606b6ffd26b38d
9,281
cc
C++
test/syscalls/linux/timerfd.cc
Simon-Zh-0409/gvisor
c619cc59c2e826ef1168259287023de198e3e2aa
[ "Apache-2.0" ]
2
2021-02-23T03:14:54.000Z
2021-04-16T08:46:24.000Z
test/syscalls/linux/timerfd.cc
Simon-Zh-0409/gvisor
c619cc59c2e826ef1168259287023de198e3e2aa
[ "Apache-2.0" ]
12
2020-09-20T00:41:11.000Z
2022-03-31T01:29:24.000Z
test/syscalls/linux/timerfd.cc
Simon-Zh-0409/gvisor
c619cc59c2e826ef1168259287023de198e3e2aa
[ "Apache-2.0" ]
3
2021-02-08T17:44:27.000Z
2022-01-14T16:48:26.000Z
// Copyright 2018 The gVisor 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 obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
36.11284
79
0.696261
Simon-Zh-0409
86ee1b4d5de3d8099e6d50cdfad2b11c728d1d32
19,971
cpp
C++
pehlaschool/Classes/Games/EggQuiz/FishQuizPopup.cpp
maqsoftware/Pehla-School-Hindi
61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43
[ "Apache-2.0" ]
2
2019-11-06T23:06:22.000Z
2019-12-08T09:10:19.000Z
pehlaschool/Classes/Games/EggQuiz/FishQuizPopup.cpp
maqsoftware/GLEXP-Team-KitkitSchool-Hindi
61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43
[ "Apache-2.0" ]
123
2019-05-28T14:03:04.000Z
2019-07-12T04:23:26.000Z
pehlaschool/Classes/Games/EggQuiz/FishQuizPopup.cpp
maqsoftware/Pehla-School-Hindi
61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43
[ "Apache-2.0" ]
5
2019-07-25T09:46:07.000Z
2020-12-22T06:37:40.000Z
// // FishQuizPopup.cpp // PehlaSchool // // Created by YongSoo Hong on 9/3/18. // // #include <Menu/CoopScene.hpp> #include "FishQuizPopup.hpp" #include "ui/CocosGUI.h" #include "Managers/UserManager.hpp" #include "Managers/LanguageManager.hpp" #include "Managers/GameSoundManager.h" #include "Utils/TodoUtil.h" ...
34.551903
195
0.594863
maqsoftware
86ef26ab391ea5c06399ae63690852994153de6d
6,152
cpp
C++
tests/src/test_FastqReader.cpp
PacificBiosciences/pbbam
5ab9230d36daf29be8a9d4d8c645307c2c193e32
[ "BSD-3-Clause-Clear" ]
21
2016-04-26T20:46:41.000Z
2022-03-01T01:55:55.000Z
tests/src/test_FastqReader.cpp
PacificBiosciences/pbbam
5ab9230d36daf29be8a9d4d8c645307c2c193e32
[ "BSD-3-Clause-Clear" ]
25
2015-09-03T22:18:01.000Z
2019-08-27T14:47:39.000Z
tests/src/test_FastqReader.cpp
PacificBiosciences/pbbam
5ab9230d36daf29be8a9d4d8c645307c2c193e32
[ "BSD-3-Clause-Clear" ]
20
2015-11-24T15:54:26.000Z
2022-03-14T03:49:18.000Z
#include <pbbam/FastqReader.h> #include <cstddef> #include <cstdint> #include <gtest/gtest.h> #include <pbbam/BamFileMerger.h> #include <pbbam/EntireFileQuery.h> #include <pbbam/FastqSequence.h> #include <pbbam/FastqWriter.h> #include "FastxTests.h" #include "PbbamTestData.h" using namespace PacBio; using namespac...
32.550265
93
0.751625
PacificBiosciences
86f1178a1ea6ec2cc2f4c9b5b26cc480a2c3f0a3
2,643
cpp
C++
src/AppLines/PageScaling.cpp
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
null
null
null
src/AppLines/PageScaling.cpp
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
null
null
null
src/AppLines/PageScaling.cpp
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
1
2022-01-07T15:58:38.000Z
2022-01-07T15:58:38.000Z
/* ** ** $Filename: PageScaling.cpp $ ** $Release: Dortmund 2004 $ ** $Revision$ ** $Date$ ** $Author$ ** $Developer: Steffen A. Mork $ ** ** Blizzard III - Scaling properties ** ** (C) Copyright 2004 Steffen A. Mork ** All Rights Reserved ** ** */ /****************************************************************...
27.821053
83
0.534241
stmork
86fa0a49c1a26158bf1267fea7c429e4c2c7c9ca
283
cpp
C++
find_duplicate_number.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
find_duplicate_number.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
find_duplicate_number.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: int findDuplicate(vector<int>& nums) { vector<bool> values(nums.size(), false); for (int i : nums) if (not values[i]) values[i] = true; else return i; return -1; } };
18.866667
44
0.572438
Surya-06
86fc3374d9749a2b1d69301e0005897f90ab1902
9,485
cpp
C++
src/unity/toolkits/ml_data_2/metadata.cpp
LeeCenY/turicreate
fb2f3bf313e831ceb42a2e10aacda6e472ea8d93
[ "BSD-3-Clause" ]
null
null
null
src/unity/toolkits/ml_data_2/metadata.cpp
LeeCenY/turicreate
fb2f3bf313e831ceb42a2e10aacda6e472ea8d93
[ "BSD-3-Clause" ]
null
null
null
src/unity/toolkits/ml_data_2/metadata.cpp
LeeCenY/turicreate
fb2f3bf313e831ceb42a2e10aacda6e472ea8d93
[ "BSD-3-Clause" ]
null
null
null
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include <unity/toolkits/ml_data_2/metadata.hpp> #include <unity/lib/variant_deep_serialize.hpp> na...
29.095092
98
0.628044
LeeCenY
86fe9c368588062ca9065046400e9f313dab4ce6
687
cpp
C++
ReactUbuntu/runtime/src/reactevents.cpp
Abdulhafiz-Yusuf/react-native
98e0ce38cdcb8c489a064c436a353be754e95f89
[ "CC-BY-4.0", "BSD-3-Clause" ]
1,079
2016-08-02T16:20:28.000Z
2022-03-22T20:40:37.000Z
ReactUbuntu/runtime/src/reactevents.cpp
daisty/react-native-1
98e0ce38cdcb8c489a064c436a353be754e95f89
[ "CC-BY-4.0", "BSD-3-Clause" ]
3
2016-08-04T07:57:48.000Z
2020-05-21T05:02:52.000Z
ReactUbuntu/runtime/src/reactevents.cpp
daisty/react-native-1
98e0ce38cdcb8c489a064c436a353be754e95f89
[ "CC-BY-4.0", "BSD-3-Clause" ]
80
2016-08-03T09:34:32.000Z
2021-04-22T16:57:11.000Z
/** * Copyright (C) 2016, Canonical Ltd. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * Author: Justin M...
22.16129
78
0.676856
Abdulhafiz-Yusuf
86ff579f1e379b8c89bf9070251ee65897ea27d1
11,077
cpp
C++
ROS/image_pipeline/depth_image_proc/src/nodelets/point_cloud_xyzi_radial.cpp
Beam-create/S4_projet_QUADRUS_V2
304b434b552a4a5377dd2f49c4bb4c8e9fcb714b
[ "MIT" ]
null
null
null
ROS/image_pipeline/depth_image_proc/src/nodelets/point_cloud_xyzi_radial.cpp
Beam-create/S4_projet_QUADRUS_V2
304b434b552a4a5377dd2f49c4bb4c8e9fcb714b
[ "MIT" ]
52
2022-02-12T17:12:17.000Z
2022-03-30T00:39:18.000Z
ROS/image_pipeline/depth_image_proc/src/nodelets/point_cloud_xyzi_radial.cpp
Beam-create/S4_projet_QUADRUS_V2
304b434b552a4a5377dd2f49c4bb4c8e9fcb714b
[ "MIT" ]
2
2022-01-19T15:44:53.000Z
2022-01-20T21:44:41.000Z
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
34.724138
129
0.712648
Beam-create
86ff8e340289cd82061077f230923a8a3f332e98
2,609
cpp
C++
dev/spark/Gem/Code/Utils/DynamicSliceWrapper.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
2
2020-08-20T03:40:24.000Z
2021-02-07T20:31:43.000Z
dev/spark/Gem/Code/Utils/DynamicSliceWrapper.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
null
null
null
dev/spark/Gem/Code/Utils/DynamicSliceWrapper.cpp
chrisinajar/spark
3c6b30592c00bc38738cc3aaca2144edfc6cc8b2
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.000Z
#include "spark_precompiled.h" #include "DynamicSliceWrapper.h" using namespace spark; using namespace AzFramework; //DynamicSliceWrapper implementation bool DynamicSliceWrapper::IsReady() const { return m_id.IsValid(); } AZ::EntityId DynamicSliceWrapper::GetId() const { return m_id; } AZ::Data::AssetId Dynami...
31.059524
146
0.77271
chrisinajar
8100336759d6ac7951978a3dfa16586a294103a1
2,480
cpp
C++
lab02/src/Delegates/moviesdelegate.cpp
actpohabtNS/oop_labs
0284dc3b494e5b1246e8b4956d92ea659e6c00a9
[ "CC0-1.0" ]
null
null
null
lab02/src/Delegates/moviesdelegate.cpp
actpohabtNS/oop_labs
0284dc3b494e5b1246e8b4956d92ea659e6c00a9
[ "CC0-1.0" ]
null
null
null
lab02/src/Delegates/moviesdelegate.cpp
actpohabtNS/oop_labs
0284dc3b494e5b1246e8b4956d92ea659e6c00a9
[ "CC0-1.0" ]
null
null
null
#include "moviesdelegate.h" #include <QApplication> #include <QPainter> MoviesDelegate::MoviesDelegate(QObject *parent, MovieTypes type) : HoverRowDelegate(parent) { setMovieType(type); } void MoviesDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const { H...
26.105263
113
0.550806
actpohabtNS
81029074d7005145fda75df656d536967a004aca
3,187
cpp
C++
src/tx/coinminttx.cpp
xiaoyu1998/wasm.bitcoin
0fbd7bdc4555382abca64b5df33e8aec7a65ff3b
[ "MIT" ]
1,313
2018-01-09T01:49:01.000Z
2022-02-26T11:10:40.000Z
src/tx/coinminttx.cpp
linnbenton/WaykiChain
91dc0aa5b28b63f00ea71c57f065e1b4ad4b124a
[ "MIT" ]
32
2018-06-07T10:21:21.000Z
2021-12-07T06:53:42.000Z
src/tx/coinminttx.cpp
linnbenton/WaykiChain
91dc0aa5b28b63f00ea71c57f065e1b4ad4b124a
[ "MIT" ]
322
2018-02-26T03:41:36.000Z
2022-02-08T08:12:16.000Z
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2017-2019 The WaykiChain Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "coinminttx.h" #include "main.h" bool CCoinMintTx::CheckTx(CTxExecu...
43.657534
120
0.655789
xiaoyu1998
810584ef27d56bab85b46a33d4aef97f3d928134
5,303
cpp
C++
samples/MainMenu.cpp
codingwatching/ouzel
07f09aefd3832801826441cd049b149c24a06b58
[ "Unlicense" ]
1
2021-11-08T09:49:10.000Z
2021-11-08T09:49:10.000Z
samples/MainMenu.cpp
codingwatching/ouzel
07f09aefd3832801826441cd049b149c24a06b58
[ "Unlicense" ]
null
null
null
samples/MainMenu.cpp
codingwatching/ouzel
07f09aefd3832801826441cd049b149c24a06b58
[ "Unlicense" ]
null
null
null
// Ouzel by Elviss Strazdins #include "core/Engine.hpp" #include "MainMenu.hpp" #include "SpritesSample.hpp" #include "GUISample.hpp" #include "RTSample.hpp" #include "AnimationsSample.hpp" #include "InputSample.hpp" #include "SoundSample.hpp" #include "PerspectiveSample.hpp" using namespace ouzel; using namespace in...
43.826446
173
0.569866
codingwatching
81079f1336bc1082602510f7d28acdb994e9b368
2,910
hpp
C++
tools/utils/common/source_provider.hpp
intel/qpl
cdc8442f7a5e7a6ff6eea39c69665e0c5034d85d
[ "MIT" ]
11
2022-02-25T08:20:23.000Z
2022-03-25T08:36:19.000Z
tools/utils/common/source_provider.hpp
intel/qpl
cdc8442f7a5e7a6ff6eea39c69665e0c5034d85d
[ "MIT" ]
null
null
null
tools/utils/common/source_provider.hpp
intel/qpl
cdc8442f7a5e7a6ff6eea39c69665e0c5034d85d
[ "MIT" ]
null
null
null
/******************************************************************************* * Copyright (C) 2022 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ #ifndef QPL_TEST_SOURCE_PROVIDER_HPP #define QPL_TEST_SOURCE_PROVIDER_HPP /* Must...
31.290323
91
0.582818
intel
810b9821a00bebbacc16c206e73ba65fd8169d04
17,995
cpp
C++
AppCUI/src/Utils/String.cpp
agschipor/AppCUI
914e101470bee2c85c32b64e4714fd85f4899486
[ "MIT" ]
null
null
null
AppCUI/src/Utils/String.cpp
agschipor/AppCUI
914e101470bee2c85c32b64e4714fd85f4899486
[ "MIT" ]
null
null
null
AppCUI/src/Utils/String.cpp
agschipor/AppCUI
914e101470bee2c85c32b64e4714fd85f4899486
[ "MIT" ]
null
null
null
#include "AppCUI.h" #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> const unsigned char __lower_case_table__[256] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59...
31.625659
989
0.62434
agschipor
810d2c649bc1a5b4ec94aed5466424cb78a8c16d
4,542
cpp
C++
src/infra/command_manager.cpp
zoumingzhe/OpenEDA
e87867044b495e40d4276756a6cb13bb38fe49a9
[ "BSD-3-Clause" ]
1
2021-01-01T23:39:02.000Z
2021-01-01T23:39:02.000Z
src/infra/command_manager.cpp
zoumingzhe/OpenEDA
e87867044b495e40d4276756a6cb13bb38fe49a9
[ "BSD-3-Clause" ]
null
null
null
src/infra/command_manager.cpp
zoumingzhe/OpenEDA
e87867044b495e40d4276756a6cb13bb38fe49a9
[ "BSD-3-Clause" ]
null
null
null
/* @file command_manager.h * @date <date> * @brief <Descriptions> * * Copyright (C) 2020 NIIC EDA * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include <stdlib.h> #include <stdio.h> #include <string.h> #i...
30.07947
130
0.625055
zoumingzhe
810d894066c7bbf59457253e8aa0e124894d1ae2
2,990
hpp
C++
depends/boost/intrusive/detail/tree_value_compare.hpp
mistydew/RSSearch
52e597aeb495fe35f2f6069741ef19c9d0bfe2bb
[ "MIT" ]
471
2019-06-26T09:59:09.000Z
2022-03-30T04:59:42.000Z
depends/boost/intrusive/detail/tree_value_compare.hpp
mistydew/RSSearch
52e597aeb495fe35f2f6069741ef19c9d0bfe2bb
[ "MIT" ]
39
2019-07-06T02:51:39.000Z
2022-02-18T11:48:33.000Z
depends/boost/intrusive/detail/tree_value_compare.hpp
mistydew/RSSearch
52e597aeb495fe35f2f6069741ef19c9d0bfe2bb
[ "MIT" ]
151
2019-06-26T14:21:49.000Z
2022-03-24T10:10:18.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2015-2015. 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) // // See http://www.boost.org/libs/contain...
32.857143
96
0.684281
mistydew
810e0701e6bf1c6fd167c5b4a0d7fafc24d146dc
71,550
cpp
C++
src/runtime/agas/addressing_service.cpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
src/runtime/agas/addressing_service.cpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
src/runtime/agas/addressing_service.cpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011 Bryce Adelstein-Lelbach // Copyright (c) 2011-2013 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_...
30.240913
91
0.6058
andreasbuhr
810f92a261d4901690f29a2ecf0db00f31d6fa31
473
cc
C++
kernel/mutex.cc
PoisonNinja/quark
0cc2b8191f0c5cbd856caac688bfdac54a7d3369
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
3
2019-08-01T03:16:31.000Z
2022-02-17T06:52:26.000Z
kernel/mutex.cc
PoisonNinja/quark
0cc2b8191f0c5cbd856caac688bfdac54a7d3369
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
32
2018-03-26T20:10:44.000Z
2020-07-13T03:01:42.000Z
kernel/mutex.cc
PoisonNinja/quark
0cc2b8191f0c5cbd856caac688bfdac54a7d3369
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
1
2018-08-29T21:31:06.000Z
2018-08-29T21:31:06.000Z
#include <kernel/mutex.h> mutex::mutex() : locked(ATOMIC_FLAG_INIT) { } void mutex::lock() { // For now we have no way to tell, so keep this in. if (locked.test_and_set(std::memory_order_acquire)) { // We'd rather not be woken up by a signal queue.wait(0, [&]() { return !locked...
19.708333
67
0.610994
PoisonNinja
810ff6ac8839742cfa9828e92b5b8108b247bf72
2,576
cpp
C++
CORE/Source/Subsystems/CORE_Audio.cpp
pike4/CORE-Dev-Build-1.0
08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3
[ "MIT" ]
3
2016-10-06T22:42:50.000Z
2016-10-14T16:04:46.000Z
CORE/Source/Subsystems/CORE_Audio.cpp
pike4/CORE-Dev-Build-1.0
08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3
[ "MIT" ]
null
null
null
CORE/Source/Subsystems/CORE_Audio.cpp
pike4/CORE-Dev-Build-1.0
08376bae09a8bb3598f4aa8edfacd1ca1c45eaa3
[ "MIT" ]
null
null
null
#include "CORE_Audio.h" #include "CORE_Resources.h" #include "SDL_Mixer.h" #include <string> std::map<std::string, Mix_Chunk*> sounds; std::map<std::string, Mix_Music*> music; namespace CORE_Audio { Mix_Chunk* getSound(std::string name) { Mix_Chunk* ret = NULL; if (sounds.find(name) != sounds.e...
17.52381
67
0.607143
pike4
811193d92558c6272487e5fdd8c188ddf74e4e09
17,742
hpp
C++
src/vlCore/Transform.hpp
zpc930/visualizationlibrary
c81fa75c720a3d04d295b977a1f5dc4624428b53
[ "BSD-2-Clause" ]
null
null
null
src/vlCore/Transform.hpp
zpc930/visualizationlibrary
c81fa75c720a3d04d295b977a1f5dc4624428b53
[ "BSD-2-Clause" ]
null
null
null
src/vlCore/Transform.hpp
zpc930/visualizationlibrary
c81fa75c720a3d04d295b977a1f5dc4624428b53
[ "BSD-2-Clause" ]
null
null
null
/**************************************************************************************/ /* */ /* Visualization Library */ /* http://www.visualizationlibrary.org ...
41.069444
158
0.598129
zpc930
8111d829fadf5948e6885bb96ffe9522e09ab82b
1,911
cpp
C++
SerialPrograms/Source/PokemonLA/Programs/PokemonLA_OverworldWatcher.cpp
BlizzardHero/Arduino-Source
bc4ce6433651b0feef488735098900f8bf4144f8
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonLA/Programs/PokemonLA_OverworldWatcher.cpp
BlizzardHero/Arduino-Source
bc4ce6433651b0feef488735098900f8bf4144f8
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonLA/Programs/PokemonLA_OverworldWatcher.cpp
BlizzardHero/Arduino-Source
bc4ce6433651b0feef488735098900f8bf4144f8
[ "MIT" ]
null
null
null
/* Shiny Hunt - Legendary Reset * * From: https://github.com/PokemonAutomation/Arduino-Source * */ //#include "CommonFramework/InferenceInfra/VisualInferenceRoutines.h" #include "CommonFramework/InferenceInfra/VisualInferenceSession.h" #include "PokemonLA/Inference/Objects/PokemonLA_BubbleDetector.h" #include "P...
25.48
94
0.703297
BlizzardHero
8112331311d7e9f097dfb765c2aa3cd53ff4e6cc
5,357
cxx
C++
Programs/scancodump.cxx
malaterre/vtk-dicom
4ff52c33ed88b8bdd6c142ccaf8ac0578cfd84d5
[ "BSD-3-Clause" ]
null
null
null
Programs/scancodump.cxx
malaterre/vtk-dicom
4ff52c33ed88b8bdd6c142ccaf8ac0578cfd84d5
[ "BSD-3-Clause" ]
null
null
null
Programs/scancodump.cxx
malaterre/vtk-dicom
4ff52c33ed88b8bdd6c142ccaf8ac0578cfd84d5
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: DICOM for VTK Copyright (c) 2012-2015 David Gobbi All rights reserved. See Copyright.txt or http://dgobbi.github.io/bsd3.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied ...
36.195946
78
0.573642
malaterre
8113077e52eecb30d51aadbdbb27af088d03533b
12,992
cpp
C++
SDKs/CryCode/3.6.15/CryEngine/CryEntitySystem/EntityObject.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.6.15/CryEngine/CryEntitySystem/EntityObject.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.6.15/CryEngine/CryEntitySystem/EntityObject.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
//////////////////////////////////////////////////////////////////////////// // // Crytek Engine Source File. // Copyright (C), Crytek Studios, 2001-2004. // ------------------------------------------------------------------------- // File name: EntityObject.cpp // Version: v1.00 // Created: 18/5/2004 by...
26.036072
164
0.613608
amrhead
8113082dbc1de1cae459ebf81d010993382e9a9e
1,688
cpp
C++
Core/Material/BSDF/DiffuseBSDF.cpp
Witek902/Raytracer
3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d
[ "MIT" ]
101
2018-11-11T23:58:14.000Z
2022-03-20T01:09:18.000Z
Core/Material/BSDF/DiffuseBSDF.cpp
Witek902/Raytracer
3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d
[ "MIT" ]
null
null
null
Core/Material/BSDF/DiffuseBSDF.cpp
Witek902/Raytracer
3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d
[ "MIT" ]
7
2018-12-31T09:42:00.000Z
2021-04-26T14:55:23.000Z
#include "PCH.h" #include "DiffuseBSDF.h" #include "Math/SamplingHelpers.h" namespace rt { using namespace math; const char* DiffuseBSDF::GetName() const { return "diffuse"; } bool DiffuseBSDF::Sample(SamplingContext& ctx) const { const float NdotV = ctx.outgoingDir.z; if (NdotV < CosEpsilon) { ...
21.922078
117
0.626777
Witek902
8115ec2d48c7acf61b22fdfcc663e8c9b4b1a097
844,873
cpp
C++
MRBasics/App/Il2CppOutputProject/Source/il2cppOutput/Unity.XR.WindowsMR.cpp
helenchg/LearnHololensDevUnity
88fd113ba10150c96b018474c7ed4ae68e6ce357
[ "MIT" ]
null
null
null
MRBasics/App/Il2CppOutputProject/Source/il2cppOutput/Unity.XR.WindowsMR.cpp
helenchg/LearnHololensDevUnity
88fd113ba10150c96b018474c7ed4ae68e6ce357
[ "MIT" ]
1
2019-12-08T01:51:15.000Z
2019-12-08T01:51:15.000Z
MRBasics/App/Il2CppOutputProject/Source/il2cppOutput/Unity.XR.WindowsMR.cpp
helenchg/LearnHololensDevUnity
88fd113ba10150c96b018474c7ed4ae68e6ce357
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" template ...
59.397708
556
0.85588
helenchg
8116917d295839056760121833fb24df9da26bde
587
hpp
C++
pythran/pythonic/__builtin__/str/startswith.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/str/startswith.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/str/startswith.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
1
2017-03-12T20:32:36.000Z
2017-03-12T20:32:36.000Z
#ifndef PYTHONIC_STR_STARTSWITH_HPP #define PYTHONIC_STR_STARTSWITH_HPP #include "pythonic/utils/proxy.hpp" #include "pythonic/types/str.hpp" namespace pythonic { namespace __builtin__ { namespace str { bool startswith(types::str const& s, types::str const& prefix, long start=0, size_t end=std::string::...
24.458333
116
0.635434
Pikalchemist
81169223eefcf79d0dd3c76c611547a51587916b
866
cpp
C++
1.6/src/main.cpp
ckilimci/Questions
1d9ffaccd96c9ad2d7fa5e6c88e1c729b255d54a
[ "MIT" ]
null
null
null
1.6/src/main.cpp
ckilimci/Questions
1d9ffaccd96c9ad2d7fa5e6c88e1c729b255d54a
[ "MIT" ]
null
null
null
1.6/src/main.cpp
ckilimci/Questions
1d9ffaccd96c9ad2d7fa5e6c88e1c729b255d54a
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> using namespace std; string shrinkString(string s) { stringstream ss; int count=0; char current=0, reg=0; for(int i=0; i<s.length(); i++) { current = s[i]; if (current == reg) { count++; continue; } else if (reg != ...
22.205128
63
0.518476
ckilimci
811afd2702651d93ded2d6997e8ce546af8a7855
347
cpp
C++
mgasa.cpp
jhembe/cp_111_assignments
415dc777d8e4704485b5c5092b56726a1ab063ae
[ "MIT" ]
null
null
null
mgasa.cpp
jhembe/cp_111_assignments
415dc777d8e4704485b5c5092b56726a1ab063ae
[ "MIT" ]
null
null
null
mgasa.cpp
jhembe/cp_111_assignments
415dc777d8e4704485b5c5092b56726a1ab063ae
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ int numb1; int numb2; int numb3; int sum; cout<<"Enter numb1"<<endl; cin>>numb1; cout<<"Enter numb2"<<endl; cin>>numb2; cout<<"Enter numb3"<<endl; cin>>numb3; sum=(numb1+numb2+numb3); cout<<"the value of sum:"<<s...
14.458333
42
0.564841
jhembe
811e07cccc871690b1448bf2b7bb7c27fdd7dd15
11,473
cc
C++
chrome/browser/ui/app_list/app_list_client_impl.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/ui/app_list/app_list_client_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/ui/app_list/app_list_client_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/app_list/app_list_client_impl.h" #include <stddef.h> #include <utility> #include <vector> #include "ash/public/cpp/menu_uti...
32.873926
98
0.743921
zipated
81230662ad67feb5f68974392aceb162c4a7bf77
1,299
cpp
C++
src/engine/ResultTable.cpp
Tobias-Buerger/QLever
6376b0e2022da702417e15bbc9701fedf35c31d0
[ "Apache-2.0" ]
6
2016-12-22T12:45:22.000Z
2018-01-11T05:40:39.000Z
src/engine/ResultTable.cpp
Tobias-Buerger/QLever
6376b0e2022da702417e15bbc9701fedf35c31d0
[ "Apache-2.0" ]
24
2017-01-03T00:01:37.000Z
2018-03-05T09:03:11.000Z
src/engine/ResultTable.cpp
Tobias-Buerger/QLever
6376b0e2022da702417e15bbc9701fedf35c31d0
[ "Apache-2.0" ]
5
2017-04-27T07:19:05.000Z
2018-03-08T10:43:35.000Z
// Copyright 2015, University of Freiburg, // Chair of Algorithms and Data Structures. // Author: Björn Buchhold (buchhold@informatik.uni-freiburg.de) #include "./ResultTable.h" #include <cassert> // _____________________________________________________________________________ ResultTable::ResultTable() : _sorted...
32.475
80
0.732102
Tobias-Buerger
8124ef82aea1bec48968752c59b8c5f796046319
2,035
cpp
C++
ParamedicCommander.cpp
yarden7696/wargame
03f9b0b61388c99790a6ef188777fbca75de29ae
[ "MIT" ]
null
null
null
ParamedicCommander.cpp
yarden7696/wargame
03f9b0b61388c99790a6ef188777fbca75de29ae
[ "MIT" ]
null
null
null
ParamedicCommander.cpp
yarden7696/wargame
03f9b0b61388c99790a6ef188777fbca75de29ae
[ "MIT" ]
null
null
null
#include "ParamedicCommander.hpp" using namespace std; // .כמו חובש, אבל כשהוא זז, כל החובשים של אותו שחקן מרפאים את החיילים שנמצאים לידם void ParamedicCommander :: attack(vector<vector<Soldier *>> &board, pair<int, int> location) { Soldier *prmdComndr_src = board[location.first][locati...
50.875
195
0.499754
yarden7696
81258ce8d398c47b1ced3a83fc9996396df76a3e
11,331
cc
C++
source/mutableSources32/marbles/ramp/ramp_extractor.cc
v7b1/vb.mi-dev
af141104699fba2aa35938f33300f5e3b42dffb4
[ "MIT" ]
47
2020-05-11T09:45:44.000Z
2022-03-17T22:12:53.000Z
source/mutableSources32/marbles/ramp/ramp_extractor.cc
robtherich/vb.mi-dev
4497b5917ed9680a170d3c9b87ac34e525e65978
[ "MIT" ]
2
2021-04-07T09:14:37.000Z
2022-01-25T09:00:07.000Z
source/mutableSources32/marbles/ramp/ramp_extractor.cc
robtherich/vb.mi-dev
4497b5917ed9680a170d3c9b87ac34e525e65978
[ "MIT" ]
6
2020-08-06T11:09:18.000Z
2021-12-10T14:37:02.000Z
// Copyright 2015 Emilie Gillet. // // Author: Emilie Gillet (emilie.o.gillet@gmail.com) // // 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 limitatio...
35.857595
83
0.639043
v7b1
81259d02f302215e3b7c4124436ddb712fd48748
257
cpp
C++
deps/unrar/smallfn.cpp
Masha/hashcat
178003d692ab72abfd9588fdce9e4f569d2b1aa7
[ "MIT" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
deps/unrar/smallfn.cpp
Masha/hashcat
178003d692ab72abfd9588fdce9e4f569d2b1aa7
[ "MIT" ]
2,014
2015-12-04T16:45:36.000Z
2022-03-31T21:02:58.000Z
deps/unrar/smallfn.cpp
Masha/hashcat
178003d692ab72abfd9588fdce9e4f569d2b1aa7
[ "MIT" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
#include "rar.hpp" int ToPercent(int64 N1,int64 N2) { if (N2<N1) return 100; return ToPercentUnlim(N1,N2); } // Allows the percent larger than 100. int ToPercentUnlim(int64 N1,int64 N2) { if (N2==0) return 0; return (int)(N1*100/N2); }
12.85
38
0.645914
Masha
81280d632353b1e8418ffcab4c954f356fe2a864
5,716
cpp
C++
Game Engine/src/NetworkManager.cpp
aprithul/Prengine
7aff20bb73ab21e9e11dda1985e6b22992479f0d
[ "BSD-3-Clause" ]
1
2019-10-08T05:20:30.000Z
2019-10-08T05:20:30.000Z
Game Engine/src/NetworkManager.cpp
aprithul/PrEngine
7aff20bb73ab21e9e11dda1985e6b22992479f0d
[ "BSD-3-Clause" ]
null
null
null
Game Engine/src/NetworkManager.cpp
aprithul/PrEngine
7aff20bb73ab21e9e11dda1985e6b22992479f0d
[ "BSD-3-Clause" ]
null
null
null
#if PLATFORM != PLATFORM_WINDOWS #include "NetworkManager.hpp" namespace PrEngine { bool InitializeSockets() { #if PLATFORM == PLATFORM_WINDOWS WSADATA WsaData; return WSAStartup( MAKEWORD(2,2), &WsaData ) == NO_ERROR; #else ...
24.960699
133
0.455913
aprithul
81285d1a83485d388a7d0290e843707c3fad95c6
1,421
hpp
C++
boost/test/utils/runtime/cla/fwd.hpp
UnPourTous/boost-159-for-rn
47e2c37fcbd5e1b25561e5a4fc81bc4f31d2cbf4
[ "BSL-1.0" ]
2
2021-08-08T02:06:56.000Z
2021-12-20T02:16:44.000Z
include/boost/test/utils/runtime/cla/fwd.hpp
Acidburn0zzz/PopcornTorrent-1
c12a30ef9e971059dae5f7ce24a8c37fef83c0c4
[ "MIT" ]
null
null
null
include/boost/test/utils/runtime/cla/fwd.hpp
Acidburn0zzz/PopcornTorrent-1
c12a30ef9e971059dae5f7ce24a8c37fef83c0c4
[ "MIT" ]
1
2017-04-09T17:04:14.000Z
2017-04-09T17:04:14.000Z
// (C) Copyright Gennadiy Rozental 2005-2014. // Use, modification, and distribution are 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) // See http://www.boost.org/libs/test for the library home page. // // ...
25.375
79
0.707248
UnPourTous
81286c5917949f306b692bbb8a3480c22ae85764
36,470
cc
C++
examples/cpp/multi_gpu_gpt/multi_gpu_gpt_async_example.cc
hieuhoang/FasterTransformer
440695ccac874574b1d2e1121788e8fa674b4381
[ "Apache-2.0" ]
null
null
null
examples/cpp/multi_gpu_gpt/multi_gpu_gpt_async_example.cc
hieuhoang/FasterTransformer
440695ccac874574b1d2e1121788e8fa674b4381
[ "Apache-2.0" ]
null
null
null
examples/cpp/multi_gpu_gpt/multi_gpu_gpt_async_example.cc
hieuhoang/FasterTransformer
440695ccac874574b1d2e1121788e8fa674b4381
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021-2022, NVIDIA CORPORATION. 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 ...
38.922092
120
0.588347
hieuhoang
81298752bb342266d70c836cee1f7ade6e06e026
66,373
cpp
C++
Polyhedron/demo/Polyhedron/Scene_triangulation_3_item.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Polyhedron/demo/Polyhedron/Scene_triangulation_3_item.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Polyhedron/demo/Polyhedron/Scene_triangulation_3_item.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
#include "config.h" #include "Scene_triangulation_3_item.h" #include "Scene_surface_mesh_item.h" #include "Scene_spheres_item.h" #include <QVector> #include <QColor> #include <QPixmap> #include <QApplication> #include <QPainter> #include <QtCore/qglobal.h> #include <QGuiApplication> #include <QSlider> #include <QWidge...
32.219903
152
0.677218
ffteja
812c39fc7afee61f2f54bd8815b5a4a0fed9cd6c
4,843
cpp
C++
src/cli/cmd_option_value.cpp
tangzhenquan/atframe_utils
94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef
[ "MIT" ]
null
null
null
src/cli/cmd_option_value.cpp
tangzhenquan/atframe_utils
94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef
[ "MIT" ]
null
null
null
src/cli/cmd_option_value.cpp
tangzhenquan/atframe_utils
94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef
[ "MIT" ]
null
null
null
/* * cmd_option_value.cpp * * Created on: 2011-12-29 * Author: OWenT * * 应用程序命令处理 * */ #include "cli/cmd_option_value.h" #include <algorithm> namespace util { namespace cli { namespace detail { static char tolower(char c) { if (c >= 'A' && c <= 'Z') { ...
41.042373
130
0.604584
tangzhenquan
812c78dc52bb86c8cd58daecf8540e270255a980
12,929
cpp
C++
qcom/wlan/qcwcn/wifi_hal/ifaceeventhandler.cpp
OpenSource-Infinix/android_hardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
1
2017-09-22T01:41:30.000Z
2017-09-22T01:41:30.000Z
qcom/wlan/qcwcn/wifi_hal/ifaceeventhandler.cpp
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
null
null
null
qcom/wlan/qcwcn/wifi_hal/ifaceeventhandler.cpp
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
1
2018-02-24T19:09:04.000Z
2018-02-24T19:09:04.000Z
/* Copyright (c) 2014, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of con...
34.569519
90
0.607472
OpenSource-Infinix
812d4827f4ecc97274ec8637d697331f3810a84b
11,784
cc
C++
engine/source/game/gameConnection.cc
Sednari/twitch-tutorial-flappy-birds
9aaed1cea2ef24ef6a5212c3350db17a017142fe
[ "MIT" ]
1,309
2015-01-01T02:46:14.000Z
2022-03-14T04:56:02.000Z
engine/source/game/gameConnection.cc
Sednari/twitch-tutorial-flappy-birds
9aaed1cea2ef24ef6a5212c3350db17a017142fe
[ "MIT" ]
155
2015-01-11T19:26:32.000Z
2021-11-22T04:08:55.000Z
engine/source/game/gameConnection.cc
Sednari/twitch-tutorial-flappy-birds
9aaed1cea2ef24ef6a5212c3350db17a017142fe
[ "MIT" ]
1,595
2015-01-01T23:19:48.000Z
2022-02-17T07:00:52.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restr...
28.395181
108
0.583333
Sednari
812d64a7944482bf656ee29bc1d2b756da5a9b66
5,719
cpp
C++
src/Frameworks/Gleam/Gleam_Buffer_Direct3D11.cpp
Connway/Shibboleth
23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35
[ "MIT" ]
1
2020-04-06T17:35:47.000Z
2020-04-06T17:35:47.000Z
src/Frameworks/Gleam/Gleam_Buffer_Direct3D11.cpp
Connway/Shibboleth
23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35
[ "MIT" ]
null
null
null
src/Frameworks/Gleam/Gleam_Buffer_Direct3D11.cpp
Connway/Shibboleth
23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35
[ "MIT" ]
null
null
null
/************************************************************************************ Copyright (C) 2021 by Nicholas LaCroix 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 restrictio...
33.444444
138
0.728274
Connway
812ec70286cabb777a033c0e67f5e672843eecf7
5,514
hxx
C++
src/unisock.hxx
re-Isearch/re-Isearch
f2a2012c1814b0940a6004b6186a5e6896c1135a
[ "BSD-4-Clause-UC", "Apache-2.0" ]
2
2022-02-05T17:48:29.000Z
2022-02-06T15:25:04.000Z
src/unisock.hxx
re-Isearch/re-Isearch
f2a2012c1814b0940a6004b6186a5e6896c1135a
[ "BSD-4-Clause-UC", "Apache-2.0" ]
null
null
null
src/unisock.hxx
re-Isearch/re-Isearch
f2a2012c1814b0940a6004b6186a5e6896c1135a
[ "BSD-4-Clause-UC", "Apache-2.0" ]
1
2022-03-30T20:14:00.000Z
2022-03-30T20:14:00.000Z
/* Copyright (c) 2020-21 Project re-Isearch and its contributors: See CONTRIBUTORS. It is made available and licensed under the Apache 2.0 license: see LICENSE */ /*@@@ File: unisock.hxx Version: 1.02 Description: Multiplatform TCP/IP socket code. Author: Kevin Gamiel, kevin.gamiel@cnidr.org Edward C. Zimmer...
22.785124
108
0.725608
re-Isearch
812f1d44b15512a5117871d1b0eb4e1741ae868d
2,034
cpp
C++
mustProbs@XO/array@24/20.Sort an array according to the order defined by another array.cpp
xoraus/Code-Sprint
cb91ee1e8bddbbaf32d2ce22e17750657206f223
[ "MIT" ]
null
null
null
mustProbs@XO/array@24/20.Sort an array according to the order defined by another array.cpp
xoraus/Code-Sprint
cb91ee1e8bddbbaf32d2ce22e17750657206f223
[ "MIT" ]
null
null
null
mustProbs@XO/array@24/20.Sort an array according to the order defined by another array.cpp
xoraus/Code-Sprint
cb91ee1e8bddbbaf32d2ce22e17750657206f223
[ "MIT" ]
null
null
null
// A C++ program to sort an array according to the order defined // by another array #include <iostream> #include <algorithm> using namespace std; /* A Binary Search based function to find index of FIRST occurrence of x in arr[]. If x is not present, then it returns -1 */ int first(int arr[], int low, int high, int x...
23.929412
67
0.579646
xoraus
81307b2fdebed24c309989f8233a1c7466c6fc1a
5,577
cpp
C++
android/src/main/cpp/NativeRendererInterface.cpp
wangrl2016/Skia
494a5018428b6beec5a20885782bef1620e3a821
[ "BSD-3-Clause" ]
3
2019-10-14T06:36:32.000Z
2021-02-20T10:55:14.000Z
android/src/main/cpp/NativeRendererInterface.cpp
wangrl2016/Skia
494a5018428b6beec5a20885782bef1620e3a821
[ "BSD-3-Clause" ]
null
null
null
android/src/main/cpp/NativeRendererInterface.cpp
wangrl2016/Skia
494a5018428b6beec5a20885782bef1620e3a821
[ "BSD-3-Clause" ]
null
null
null
// // Created by wangrl on 20-6-2. // #include <jni.h> #include <string> #include "entt/entt.hpp" #include <android/log.h> #include <android/asset_manager.h> #include <unistd.h> #define TAG "Renderer" extern "C" { #include "libavformat/avformat.h" #include "libavcodec/avcodec.h" #include "libavutil/avutil.h" #includ...
33
99
0.655012
wangrl2016
813372c9ddb35276cd4bd5371f3f2ee4e0c87dcc
1,508
cpp
C++
UVA/11926 - Multitasking.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
UVA/11926 - Multitasking.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
UVA/11926 - Multitasking.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> /* Problem: 11926 - Multitasking Link : https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=3077 Solution by: Mohamed Hisham El-Banna Gmail : Mohamed00Hisham@Gmail.com Github : www.github.com/Mhmd-Hisham LinkedIn: www.linkedin.com/i...
19.333333
121
0.529841
Mhmd-Hisham
8134a77ab597dce053369caf5455287331b84cb2
1,505
cpp
C++
Example/TRLSL_Example/Main.cpp
morrow1nd/TRL
24023dc0a1c227c8987a484aed68fbc1775d8d0a
[ "MIT" ]
null
null
null
Example/TRLSL_Example/Main.cpp
morrow1nd/TRL
24023dc0a1c227c8987a484aed68fbc1775d8d0a
[ "MIT" ]
null
null
null
Example/TRLSL_Example/Main.cpp
morrow1nd/TRL
24023dc0a1c227c8987a484aed68fbc1775d8d0a
[ "MIT" ]
null
null
null
#include <iostream> #include "ToyUtility/Prerequisites/PreDefine.h" #include "ToyUtility/DataStream/MemoryDataStream.h" #include "ToyUtility/DataStream/FileDataStream.h" #include "TRL/details/TRLSL/TRLSLParser.h" #include "TRL/details/TRLSL/TRLSLTokener.h" using namespace ToyUtility; using namespace TRL; int main(...
22.132353
96
0.581395
morrow1nd
8137c708a4c945b7b68d252dc36837fceac76f24
5,148
cpp
C++
source/worksheet/range_reference.cpp
Polymedia/xlnt
c214c6ca0b2533a799c8d788c8697d69639a224f
[ "Unlicense" ]
null
null
null
source/worksheet/range_reference.cpp
Polymedia/xlnt
c214c6ca0b2533a799c8d788c8697d69639a224f
[ "Unlicense" ]
null
null
null
source/worksheet/range_reference.cpp
Polymedia/xlnt
c214c6ca0b2533a799c8d788c8697d69639a224f
[ "Unlicense" ]
1
2019-03-05T01:07:08.000Z
2019-03-05T01:07:08.000Z
// Copyright (c) 2014-2017 Thomas Fussell // // 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...
28.285714
89
0.744367
Polymedia
81380f348e5cc814a292724967b2b4e1d9b149db
11,088
cpp
C++
Elit3d/src/Resources/r1Model.cpp
christt105/Elit3D
06e3fbab04df54c63057a3e85823a9c5e439e4ec
[ "BSD-2-Clause" ]
26
2021-05-25T05:16:28.000Z
2022-03-20T12:55:07.000Z
Elit3d/src/Resources/r1Model.cpp
christt105/Elit3D
06e3fbab04df54c63057a3e85823a9c5e439e4ec
[ "BSD-2-Clause" ]
1
2021-05-25T18:48:17.000Z
2021-06-07T19:21:13.000Z
Elit3d/src/Resources/r1Model.cpp
christt105/TileMapEditor3D
70b5e168c1b9c5b9882cabbb5ac3ed6890a87eef
[ "BSD-2-Clause" ]
5
2021-04-16T12:18:05.000Z
2021-11-24T13:59:46.000Z
#include "r1Model.h" #include "ExternalTools/Assimp/include/Importer.hpp" #include "ExternalTools/Assimp/include/scene.h" #include "ExternalTools/Assimp/include/postprocess.h" #include "ExternalTools/MathGeoLib/include/Math/Quat.h" #include "Modules/m1Objects.h" #include "Objects/Object.h" #include "Objects/Componen...
27.513648
125
0.643128
christt105