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
b979860fb7be67c5d23a72c3138958deea1e5188
20,541
cpp
C++
sdk/modules/audio/components/decoder/decoder_component.cpp
zenglongGH/spresense
b17578aac9faa417b6f1a6d7ebf8f37c57c5ea68
[ "Apache-2.0" ]
1
2022-01-28T00:06:29.000Z
2022-01-28T00:06:29.000Z
sdk/modules/audio/components/decoder/decoder_component.cpp
zenglongGH/spresense
b17578aac9faa417b6f1a6d7ebf8f37c57c5ea68
[ "Apache-2.0" ]
null
null
null
sdk/modules/audio/components/decoder/decoder_component.cpp
zenglongGH/spresense
b17578aac9faa417b6f1a6d7ebf8f37c57c5ea68
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * modules/audio/components/decoder/decoder_component.cpp * * Copyright 2018 Sony Semiconductor Solutions Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
28.930986
99
0.626162
zenglongGH
b97b676ed4602aa2354800f363bcb22a24e05612
547
cpp
C++
boost/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/sample/src/examples/apple_example.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
1,155
2015-01-10T19:04:33.000Z
2022-03-30T12:30:30.000Z
boost/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/sample/src/examples/apple_example.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
623
2015-01-02T23:45:23.000Z
2022-03-09T11:15:23.000Z
boost/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/sample/src/examples/apple_example.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
228
2015-01-13T12:55:42.000Z
2022-03-30T11:11:05.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // doxygen_xml2qbk Example // Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands. // 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....
17.09375
79
0.683729
randolphwong
b97be874b857f111ffc17797c5a9d865a1b160ea
847
cpp
C++
tests-lit/tests/options/-strict/01-strict-mode/sample.cpp
OMantere/mull
0333c4ced2c407e6fffc48f5fda21dc10ab32c8b
[ "Apache-2.0" ]
null
null
null
tests-lit/tests/options/-strict/01-strict-mode/sample.cpp
OMantere/mull
0333c4ced2c407e6fffc48f5fda21dc10ab32c8b
[ "Apache-2.0" ]
null
null
null
tests-lit/tests/options/-strict/01-strict-mode/sample.cpp
OMantere/mull
0333c4ced2c407e6fffc48f5fda21dc10ab32c8b
[ "Apache-2.0" ]
null
null
null
int main() { return 0; } /** ; RUN: cd / && %CLANG_EXEC %s -o %s.exe ; RUN: cd %CURRENT_DIR ; RUN: (unset TERM; %MULL_EXEC -test-framework CustomTest %s.exe 2>&1; test $? = 0) | %FILECHECK_EXEC %s --strict-whitespace --match-full-lines --check-prefix=WITHOUT-OPTION ; RUN: (unset TERM; %MULL_EXEC -strict -test-framew...
44.578947
178
0.716647
OMantere
b97bf29096e378a5954bcb0cec657dfbe37a02f9
2,225
cpp
C++
tiled_resources/src/tiled_resources/free_camera.cpp
kingofthebongo2008/computer-games-sofia-univeristy
1d54a02a456b3dde5eb5793e01a99a76daf6f033
[ "Apache-2.0" ]
5
2019-03-29T16:47:47.000Z
2019-05-08T18:34:50.000Z
tiled_resources/src/tiled_resources/free_camera.cpp
kingofthebongo2008/computer-games-sofia-univeristy
1d54a02a456b3dde5eb5793e01a99a76daf6f033
[ "Apache-2.0" ]
3
2019-04-21T08:05:04.000Z
2019-04-21T08:05:44.000Z
tiled_resources/src/tiled_resources/free_camera.cpp
kingofthebongo2008/computer-games-sofia-univeristy
1d54a02a456b3dde5eb5793e01a99a76daf6f033
[ "Apache-2.0" ]
null
null
null
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch.h...
31.338028
172
0.69573
kingofthebongo2008
b97c88a0903d0939b4cfcd092ec6c84cb7a20a4d
13,357
cpp
C++
casablanca/Release/tests/functional/http/client/header_tests.cpp
mentionllc/traintracks-cpp-sdk
c294a463ef2d55bc7b27e35fe7f903d51104c6bd
[ "Apache-2.0" ]
null
null
null
casablanca/Release/tests/functional/http/client/header_tests.cpp
mentionllc/traintracks-cpp-sdk
c294a463ef2d55bc7b27e35fe7f903d51104c6bd
[ "Apache-2.0" ]
null
null
null
casablanca/Release/tests/functional/http/client/header_tests.cpp
mentionllc/traintracks-cpp-sdk
c294a463ef2d55bc7b27e35fe7f903d51104c6bd
[ "Apache-2.0" ]
null
null
null
/*** * ==++== * * Copyright (c) Microsoft 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 re...
34.514212
118
0.629558
mentionllc
b97ca4d4c04145b91be6af8b103c3074c841f10b
4,958
cpp
C++
tests/cplusplus/Common/RegStringMap.cpp
sagpant/OSVR-Core
495648e4c94d6e8a1ffb74aa00b69deada1a9b51
[ "Apache-2.0" ]
369
2015-03-08T03:12:41.000Z
2022-02-08T22:15:39.000Z
tests/cplusplus/Common/RegStringMap.cpp
sagpant/OSVR-Core
495648e4c94d6e8a1ffb74aa00b69deada1a9b51
[ "Apache-2.0" ]
486
2015-03-09T13:29:00.000Z
2020-10-16T00:41:26.000Z
tests/cplusplus/Common/RegStringMap.cpp
itguy327/OSVR-Core
495648e4c94d6e8a1ffb74aa00b69deada1a9b51
[ "Apache-2.0" ]
166
2015-03-08T12:03:56.000Z
2021-12-03T13:56:21.000Z
/** @file @brief Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, 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 L...
31.18239
80
0.705325
sagpant
b980d0bb1e9681aed2897bd6ab4d4309b537c5f9
414
cc
C++
cpp/src/day-19/main.cc
raphaelmeyer/advent-of-code-2021
bf6c03d3143e44e4568ce0fa5c694773b5b20972
[ "MIT" ]
null
null
null
cpp/src/day-19/main.cc
raphaelmeyer/advent-of-code-2021
bf6c03d3143e44e4568ce0fa5c694773b5b20972
[ "MIT" ]
null
null
null
cpp/src/day-19/main.cc
raphaelmeyer/advent-of-code-2021
bf6c03d3143e44e4568ce0fa5c694773b5b20972
[ "MIT" ]
null
null
null
#include <iostream> #include "scanner.h" int main() { auto const scanners = scanner::parse_file("data/day-19.txt"); auto const corrections = find_scanners(scanners); auto const beacons = scanner::number_of_beacons(scanners, corrections); auto const distance = scanner::max_manhatten_distance(corrections); ...
25.875
73
0.678744
raphaelmeyer
b98551ed73488f05e94e6dd62f57562b6462a12e
1,752
cpp
C++
IREMedia/examples/cpp/Example_2_1_SDK.cpp
i4Ds/IRE
0bb70ae24fd3ad79c9df6fc84b6087ce663624a7
[ "Apache-2.0" ]
13
2015-03-01T07:03:17.000Z
2021-11-03T06:33:31.000Z
IREMedia/examples/cpp/Example_2_1_SDK.cpp
i4Ds/IRE
0bb70ae24fd3ad79c9df6fc84b6087ce663624a7
[ "Apache-2.0" ]
null
null
null
IREMedia/examples/cpp/Example_2_1_SDK.cpp
i4Ds/IRE
0bb70ae24fd3ad79c9df6fc84b6087ce663624a7
[ "Apache-2.0" ]
3
2015-03-10T20:40:31.000Z
2020-07-16T08:05:42.000Z
#include "Common.h" #include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> using namespace cv; class Example_SdkInit { protected: float fps; public: virtual int run() { /*SAY("Initializing SDK"); ovr_Initialize(); SAY("De-initializing the SDK"); ovr_Shutdown(); SAY("Exiting");*/ ...
26.149254
80
0.697489
i4Ds
b9862267f72f660edbae79206a7407820cc6e9f5
1,081
hpp
C++
include/boost/safe_float/policy/check_division_underflow.hpp
aTom3333/safefloat
760a1fa243672d49271836e8c431f002a615eca5
[ "BSL-1.0" ]
1
2019-08-08T01:24:16.000Z
2019-08-08T01:24:16.000Z
include/boost/safe_float/policy/check_division_underflow.hpp
aTom3333/safefloat
760a1fa243672d49271836e8c431f002a615eca5
[ "BSL-1.0" ]
null
null
null
include/boost/safe_float/policy/check_division_underflow.hpp
aTom3333/safefloat
760a1fa243672d49271836e8c431f002a615eca5
[ "BSL-1.0" ]
2
2019-05-28T11:31:09.000Z
2019-10-12T21:55:25.000Z
#ifndef BOOST_SAFE_FLOAT_POLICY_CHECK_DIVISION_UNDERFLOW_HPP #define BOOST_SAFE_FLOAT_POLICY_CHECK_DIVISION_UNDERFLOW_HPP #include <boost/safe_float/policy/check_base_policy.hpp> #ifdef FENV_AVAILABLE #pragma STDC FENV_ACCESS ON #include <fenv.h> #endif namespace boost { namespace safe_float{ namespace policy{ temp...
21.62
62
0.723404
aTom3333
b98a990c934c3475c3f717c25434c26e3f732677
7,488
cpp
C++
AudioSources/AverageProcessor.cpp
MeijisIrlnd/airwindows
e2818f43711fa8b6f424d31824c35bb47bb82140
[ "MIT" ]
2
2021-03-02T05:14:39.000Z
2022-03-19T01:47:57.000Z
Examples/Average/Source/AverageProcessor.cpp
MeijisIrlnd/airwindows
e2818f43711fa8b6f424d31824c35bb47bb82140
[ "MIT" ]
null
null
null
Examples/Average/Source/AverageProcessor.cpp
MeijisIrlnd/airwindows
e2818f43711fa8b6f424d31824c35bb47bb82140
[ "MIT" ]
null
null
null
/* ======================================== * Average - Average.h * Copyright (c) 2016 airwindows, All rights reserved * ======================================== */ #include "AverageProcessor.h" AverageProcessor::AverageProcessor() { paramBindings = { {AVERAGE, &A}, {DRY_WET, &B} }; ...
34.666667
98
0.633948
MeijisIrlnd
b98b70d92418f5dfb400dec82d785426b7496e85
1,553
cpp
C++
runa/widgets/button_cfg.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
5
2017-12-28T08:22:20.000Z
2022-03-30T01:26:17.000Z
runa/widgets/button_cfg.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
runa/widgets/button_cfg.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
/** * Runa C++ Library * Copyright (c) 2017-2019 walkinsky:lyh6188(at)hotmail(dot)com * * 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) */ // Created on 2017/11/15 #include "stdafx.h" #ifndef __NANA_RUNNER_LIB_ALL_...
23.892308
75
0.600773
walkinsky8
b98d1e9d6beb6c36eaa318dbd39b9244d9b19e75
6,851
cpp
C++
src/gui/graphtitlebar.cpp
evoplex/evoplex
c6e78af5fb0d2fc5a5ce7b02e5e4ec61de8934b6
[ "Apache-2.0" ]
101
2018-06-21T04:29:18.000Z
2022-03-09T13:04:15.000Z
src/gui/graphtitlebar.cpp
ElsevierSoftwareX/SOFTX_2018_211
cbfac5af0ad76b7c88a7ea296d94785692da3048
[ "Apache-2.0" ]
30
2018-06-26T15:12:03.000Z
2019-10-10T04:02:13.000Z
src/gui/graphtitlebar.cpp
ElsevierSoftwareX/SOFTX_2018_211
cbfac5af0ad76b7c88a7ea296d94785692da3048
[ "Apache-2.0" ]
23
2018-06-23T16:10:24.000Z
2021-11-03T15:12:51.000Z
/** * This file is part of Evoplex. * * Evoplex is a multi-agent system for networks. * Copyright (C) 2018 - Marcos Cardinot <marcos@cardinot.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Soft...
34.60101
99
0.652897
evoplex
b98f9c6da292c86c57f277aa1f99a9aaf9c40ad0
2,683
cc
C++
src/instrumentation/converter/convert_to_string/convergence_to_string.cc
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
12
2018-03-14T12:30:53.000Z
2022-01-23T14:46:44.000Z
src/instrumentation/converter/convert_to_string/convergence_to_string.cc
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
194
2017-07-07T01:38:15.000Z
2021-05-19T18:21:19.000Z
src/instrumentation/converter/convert_to_string/convergence_to_string.cc
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
10
2017-07-06T22:58:59.000Z
2021-03-15T07:01:21.000Z
#include "instrumentation/converter/convert_to_string/convergence_to_string.h" #include <iomanip> #include <sstream> #include "instrumentation/converter/factory.hpp" namespace bart { namespace instrumentation { namespace converter { namespace convert_to_string { namespace { using OutputTerm = ConvergenceToStri...
33.5375
118
0.70369
SlaybaughLab
b99059c518d91f8ab07aefcbecc05c90d48b8346
4,843
cpp
C++
Eleusis_sln/Eleusis_UnitTests/tests/Test_Geometry.cpp
bognikol/Eleusis
ee518ede31893689eb6d3c5539e0bd757aeb0294
[ "MIT" ]
4
2019-05-31T19:55:23.000Z
2020-10-27T10:00:32.000Z
Eleusis_sln/Eleusis_UnitTests/tests/Test_Geometry.cpp
bognikol/Eleusis
ee518ede31893689eb6d3c5539e0bd757aeb0294
[ "MIT" ]
null
null
null
Eleusis_sln/Eleusis_UnitTests/tests/Test_Geometry.cpp
bognikol/Eleusis
ee518ede31893689eb6d3c5539e0bd757aeb0294
[ "MIT" ]
3
2019-04-29T14:09:38.000Z
2020-10-27T10:00:33.000Z
#include "gtest/gtest.h" #include "02_geometry/Geometry.h" #include <string> #include <iostream> #include <limits> #include "cairo.h" using namespace std; using namespace Eleusis; using namespace ::testing; class GeometryTest : public Test { protected: Geometry* _geometry; GeometryTest() { } ~Geometry...
28.656805
101
0.667561
bognikol
b991bf830eead48add504aeb397cee841497140e
175
cpp
C++
examples/assert/assert.cpp
NAzT/bluetoe
2348999825d5913e5e1001480a744ce72ad2bf79
[ "MIT" ]
138
2015-04-11T12:07:19.000Z
2022-02-11T13:22:36.000Z
examples/assert/assert.cpp
NAzT/bluetoe
2348999825d5913e5e1001480a744ce72ad2bf79
[ "MIT" ]
60
2015-08-29T12:32:56.000Z
2022-03-25T07:20:21.000Z
examples/assert/assert.cpp
NAzT/bluetoe
2348999825d5913e5e1001480a744ce72ad2bf79
[ "MIT" ]
34
2015-07-08T22:06:25.000Z
2021-12-15T13:17:42.000Z
#include <assert.h> extern "C" void HardFault_Handler() __attribute__ ((noreturn)); extern "C" void __assert_hash_func( assert_hash_type hash ) { HardFault_Handler(); }
19.444444
63
0.737143
NAzT
b991d542f132e27c5c1ea88b0b34c70584fac927
364
cpp
C++
source/scapes/foundation/shaders/Compiler.cpp
eZii-jester-data/pbr-sandbox
853aa023f063fd48760a8c3848687976189f3f98
[ "MIT" ]
null
null
null
source/scapes/foundation/shaders/Compiler.cpp
eZii-jester-data/pbr-sandbox
853aa023f063fd48760a8c3848687976189f3f98
[ "MIT" ]
null
null
null
source/scapes/foundation/shaders/Compiler.cpp
eZii-jester-data/pbr-sandbox
853aa023f063fd48760a8c3848687976189f3f98
[ "MIT" ]
null
null
null
#include "shaders/spirv/Compiler.h" #include <cassert> namespace scapes::foundation::shaders { Compiler *Compiler::create(ShaderILType type, io::FileSystem *file_system) { switch (type) { case ShaderILType::SPIRV: return new spirv::Compiler(file_system); } return nullptr; } void Compiler::destroy(Com...
16.545455
75
0.717033
eZii-jester-data
b999e370c4ca22535a5423fe1e490d2ab8140d49
22,847
cpp
C++
libvast/test/format/zeek.cpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
libvast/test/format/zeek.cpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
libvast/test/format/zeek.cpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
60.602122
205
0.689631
frerich
b99a8b7afd948032f12e2790e6f83c7eb328fbb1
1,696
hpp
C++
fwd_euler/adapt_euler.hpp
drreynolds/Math6321-codes
3cce53bbe70bdd00220b5d8888b00b20b4fd521b
[ "CC0-1.0" ]
null
null
null
fwd_euler/adapt_euler.hpp
drreynolds/Math6321-codes
3cce53bbe70bdd00220b5d8888b00b20b4fd521b
[ "CC0-1.0" ]
null
null
null
fwd_euler/adapt_euler.hpp
drreynolds/Math6321-codes
3cce53bbe70bdd00220b5d8888b00b20b4fd521b
[ "CC0-1.0" ]
1
2020-08-31T18:04:07.000Z
2020-08-31T18:04:07.000Z
/* Adaptive forward Euler time stepper class header file. D.R. Reynolds Math 6321 @ SMU Fall 2020 */ #ifndef ADAPT_EULER_DEFINED__ #define ADAPT_EULER_DEFINED__ // Inclusions #include <cmath> #include "rhs.hpp" // Adaptive forward Euler time stepper class class AdaptEuler { private: // private data ...
28.745763
89
0.681014
drreynolds
b99a9821cd922cb7c2721ce2bdc20592e18f56ab
6,173
cpp
C++
logdevice/server/IS_LOG_EMPTY_onReceived.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
1
2021-05-19T23:01:58.000Z
2021-05-19T23:01:58.000Z
logdevice/server/IS_LOG_EMPTY_onReceived.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
null
null
null
logdevice/server/IS_LOG_EMPTY_onReceived.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * 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. */ #include "IS_LOG_EMPTY_onReceived.h" #include "logdevice/common/Sender.h" #include "lo...
37.186747
80
0.658675
mickvav
b99c2b7c8182bc3db33337ca0001459f1af30a62
10,352
cpp
C++
Gems/Vegetation/Code/Source/Components/SurfaceSlopeFilterComponent.cpp
sandeel31/o3de
db88812d61eef77c6f4451b7f8c7605d6db07412
[ "Apache-2.0", "MIT" ]
1
2021-08-08T19:54:51.000Z
2021-08-08T19:54:51.000Z
Gems/Vegetation/Code/Source/Components/SurfaceSlopeFilterComponent.cpp
sandeel31/o3de
db88812d61eef77c6f4451b7f8c7605d6db07412
[ "Apache-2.0", "MIT" ]
2
2022-01-13T04:29:38.000Z
2022-03-12T01:05:31.000Z
Gems/Vegetation/Code/Source/Components/SurfaceSlopeFilterComponent.cpp
sandeel31/o3de
db88812d61eef77c6f4451b7f8c7605d6db07412
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <VegetationProfiler.h> #include "SurfaceSlopeFilterComponent.h" #include <AzCore/Componen...
45.403509
212
0.675328
sandeel31
b99c41002a5bcafde39a2413d21f54106e7e51aa
6,719
cpp
C++
svntrunk/src/BlueMatter/analysis/src/rdgdeviation.cpp
Bhaskers-Blu-Org1/BlueMatter
1ab2c41af870c19e2e1b1095edd1d5c85eeb9b5e
[ "BSD-2-Clause" ]
7
2020-02-25T15:46:18.000Z
2022-02-25T07:04:47.000Z
svntrunk/src/BlueMatter/analysis/src/rdgdeviation.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
null
null
null
svntrunk/src/BlueMatter/analysis/src/rdgdeviation.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
5
2019-06-06T16:30:21.000Z
2020-11-16T19:43:01.000Z
/* Copyright 2001, 2019 IBM Corporation * * 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 and the * following d...
30.680365
118
0.549338
Bhaskers-Blu-Org1
b99dfd6d63016ee46a62f42c622c79a4ef9f09d7
9,890
hpp
C++
src/xalanc/XPath/XPathExecutionContextDefault.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XPath/XPathExecutionContextDefault.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XPath/XPathExecutionContextDefault.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 1999-2004 The Apache Software 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 requir...
24.419753
198
0.718301
rherardi
b99f46cfe30482b2f31b95961356219d62c421e8
20,921
cpp
C++
src/nodes.cpp
TUM-I5/LinA
6834d7f0cc283b75c0569f01285ff4ccaa047b37
[ "BSD-3-Clause" ]
null
null
null
src/nodes.cpp
TUM-I5/LinA
6834d7f0cc283b75c0569f01285ff4ccaa047b37
[ "BSD-3-Clause" ]
null
null
null
src/nodes.cpp
TUM-I5/LinA
6834d7f0cc283b75c0569f01285ff4ccaa047b37
[ "BSD-3-Clause" ]
null
null
null
/** This file is generated. Do not edit. */ #include "nodes.h" namespace lina { #if !defined(CONVERGENCE_ORDER) #error CONVERGENCE_ORDER must be set. #elif CONVERGENCE_ORDER == 2 double const LGLNodes[] = {0.00000000000000000000000000000000, 1.00000000000000000000000000000000}; #elif CONVERGENCE_ORDER == 3 double const...
298.871429
1,179
0.898666
TUM-I5
b9a46e7464f3b553e1f6c8192ff9a1b876cc056a
12,021
cc
C++
MathUtils/src/Measurement_Arithmetic.cc
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
null
null
null
MathUtils/src/Measurement_Arithmetic.cc
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2021-12-10T15:04:04.000Z
2022-01-10T18:56:53.000Z
MathUtils/src/Measurement_Arithmetic.cc
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2018-06-05T14:08:08.000Z
2018-06-05T14:08:08.000Z
/** * @file Measurement_Arithmetic.cc * @brief Implementation of measurement arithetics methods * @author [Yi-Mu "Enoch" Chen](https://github.com/yimuchen) */ #ifdef CMSSW_GIT_HASH #include "UserUtils/MathUtils/interface/Measurement.hpp" #include "UserUtils/MathUtils/interface/StatisticsUtil.hpp" #else #inclu...
33.391667
81
0.602945
yimuchen
b9a4daf27f425972ca64b0bd2037ef91724c769b
4,255
hpp
C++
include/atl/detail/finite_automaton/copy.hpp
LoringHe/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
2
2020-09-02T05:04:52.000Z
2020-09-04T05:26:33.000Z
include/atl/detail/finite_automaton/copy.hpp
Jinlong-He/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
null
null
null
include/atl/detail/finite_automaton/copy.hpp
Jinlong-He/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
null
null
null
// // copy.hpp // atl // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // SPDX-License-Identifier: MIT // Copyright (c) 2020 Jinlong He. // #ifndef atl_detail_finite_automaton_copy_hpp #define atl_detail_finite_automaton_copy_hpp #include <atl/detail/finite_automaton/finite_automaton...
37.324561
94
0.5349
LoringHe
b9a5a0b27723eef5f93f494716089a20e1cd3a50
2,107
cpp
C++
rmw_coredx_cpp/src/rmw_destroy_wait_set.cpp
rupertholman/rmw_coredx
1c97655212bfa90b1353f019ae08e8b2c487db8d
[ "Apache-2.0" ]
null
null
null
rmw_coredx_cpp/src/rmw_destroy_wait_set.cpp
rupertholman/rmw_coredx
1c97655212bfa90b1353f019ae08e8b2c487db8d
[ "Apache-2.0" ]
null
null
null
rmw_coredx_cpp/src/rmw_destroy_wait_set.cpp
rupertholman/rmw_coredx
1c97655212bfa90b1353f019ae08e8b2c487db8d
[ "Apache-2.0" ]
null
null
null
// Copyright 2015 Twin Oaks Computing, Inc. // Modifications copyright (C) 2017-2018 Twin Oaks Computing, 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....
26.670886
91
0.714286
rupertholman
b9a67fb63c8d5d0fc0e03819a0e3d12ad282ee37
3,690
cpp
C++
tests/ablateLibrary/mathFunctions/functionPointerTests.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
3
2021-01-19T21:29:10.000Z
2021-08-20T19:54:49.000Z
tests/ablateLibrary/mathFunctions/functionPointerTests.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
124
2021-01-14T15:30:48.000Z
2022-03-28T14:44:31.000Z
tests/ablateLibrary/mathFunctions/functionPointerTests.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
17
2021-02-10T22:34:57.000Z
2022-03-21T18:46:06.000Z
#include <memory> #include "gtest/gtest.h" #include "mathFunctions/functionPointer.hpp" namespace ablateTesting::mathFunctions { TEST(FunctionPointerTests, ShouldEvalToScalarFromXYZ) { // arrange auto function = ablate::mathFunctions::FunctionPointer([](auto dim, auto time, auto loc, auto nf, auto u, auto ctx...
32.654867
121
0.582927
mtmcgurn-buffalo
b9abec4116c2ceaf0b8a1cff7580494bae07df7e
2,443
hpp
C++
include/vcrate/bytecode/Operations.hpp
VCrate/bytecode-description
c46f61fda817301b6705bc16654c634dc2c3212d
[ "MIT" ]
1
2018-04-14T14:04:39.000Z
2018-04-14T14:04:39.000Z
include/vcrate/bytecode/Operations.hpp
VCrate/bytecode-description
c46f61fda817301b6705bc16654c634dc2c3212d
[ "MIT" ]
null
null
null
include/vcrate/bytecode/Operations.hpp
VCrate/bytecode-description
c46f61fda817301b6705bc16654c634dc2c3212d
[ "MIT" ]
null
null
null
#pragma once #include <vcrate/Alias.hpp> #include <vector> #include <string> namespace vcrate { namespace bytecode { enum class Operations : ui8 { ADD, // Add (RRW) SUB, // Subtract (RRW) MOD, // Modulo (RRW) MUL, // Multiply (RRW) MULU, // Multiply unsigned (RRW) DIV, // Divide (RRW) ...
24.43
105
0.583299
VCrate
b9ac5d1dbe0d12ca27aad1c32e0e0b52d4c5c00a
74,278
cpp
C++
core/indigo-core/molecule/src/cml_loader.cpp
khyurri/Indigo
82f9ef9f43ca605f7265709e7a9256f1ff468d6c
[ "Apache-2.0" ]
null
null
null
core/indigo-core/molecule/src/cml_loader.cpp
khyurri/Indigo
82f9ef9f43ca605f7265709e7a9256f1ff468d6c
[ "Apache-2.0" ]
null
null
null
core/indigo-core/molecule/src/cml_loader.cpp
khyurri/Indigo
82f9ef9f43ca605f7265709e7a9256f1ff468d6c
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * Copyright (C) from 2009 to Present EPAM Systems. * * This file is part of Indigo toolkit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
37.916284
158
0.472037
khyurri
b9ad3fcd47fb8e11222cfb3a6931aa67f450eb3c
610
cc
C++
ports/www/chromium-legacy/newport/files/patch-chrome_test_chromedriver_server_chromedriver__server.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
31
2015-02-06T17:06:37.000Z
2022-03-08T19:53:28.000Z
ports/www/chromium-legacy/newport/files/patch-chrome_test_chromedriver_server_chromedriver__server.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
236
2015-06-29T19:51:17.000Z
2021-12-16T22:46:38.000Z
ports/www/chromium-legacy/newport/files/patch-chrome_test_chromedriver_server_chromedriver__server.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
52
2015-02-06T17:05:36.000Z
2021-10-21T12:13:06.000Z
--- chrome/test/chromedriver/server/chromedriver_server.cc.orig 2020-11-13 06:36:39 UTC +++ chrome/test/chromedriver/server/chromedriver_server.cc @@ -283,7 +283,7 @@ int main(int argc, char *argv[]) { base::AtExitManager at_exit; base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); -#if define...
50.833333
87
0.736066
liweitianux
b9ae8e66380bcd5f2f311589bf33dd45eb7fae9a
4,478
cpp
C++
examples/sys.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/sys.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/sys.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
#include <rudiments/sys.h> #include <rudiments/charstring.h> #include <rudiments/stdio.h> int main(int argc, const char **argv) { char *osname=sys::getOperatingSystemName(); stdoutput.printf("OS Name : %s\n",osname); delete[] osname; char *release=sys::getOperatingSystemRelease(); stdoutput.printf("OS Release ...
24.604396
58
0.667039
davidwed
b9af20942ea0eccde72856b692d6e54fbd3658c7
1,716
cpp
C++
test/pointsTest.cpp
bostonceltics20/phoebe
b7e6294ee32d7f94299cd027ba2e72c3552ab246
[ "MIT" ]
30
2020-08-24T03:51:05.000Z
2022-02-26T15:29:38.000Z
test/pointsTest.cpp
bostonceltics20/phoebe
b7e6294ee32d7f94299cd027ba2e72c3552ab246
[ "MIT" ]
43
2020-08-27T19:34:36.000Z
2022-02-25T14:09:39.000Z
test/pointsTest.cpp
bostonceltics20/phoebe
b7e6294ee32d7f94299cd027ba2e72c3552ab246
[ "MIT" ]
10
2020-10-14T23:15:01.000Z
2022-01-15T18:54:26.000Z
#include "points.h" #include "gtest/gtest.h" TEST(PointsTest, PointsHandling) { Eigen::Matrix3d directUnitCell; directUnitCell.row(0) << -5.1, 0., 5.1; directUnitCell.row(1) << 0., 5.1, 5.1; directUnitCell.row(2) << -5.1, 5.1, 0.; Eigen::MatrixXd atomicPositions(2, 3); atomicPositions.row(0) << 0., 0., 0.;...
28.6
76
0.630536
bostonceltics20
b9b7066a97c14ee8064df1578ad4c0e1c528d200
1,445
cpp
C++
208. Implement Trie (Prefix Tree).cpp
ivanilos/leetcode
6b13870a49180eed5c1548410f2c9cca219d1cab
[ "MIT" ]
null
null
null
208. Implement Trie (Prefix Tree).cpp
ivanilos/leetcode
6b13870a49180eed5c1548410f2c9cca219d1cab
[ "MIT" ]
null
null
null
208. Implement Trie (Prefix Tree).cpp
ivanilos/leetcode
6b13870a49180eed5c1548410f2c9cca219d1cab
[ "MIT" ]
null
null
null
class Trie { public: /** Initialize your data structure here. */ Trie() { trie.push_back(map<char, int>()); // root word_end.push_back(false); } /** Inserts a word into the trie. */ void insert(string word) { int pos = 0; for (char c : word) { if (!tr...
25.350877
86
0.491349
ivanilos
b9b91a8e68980c00f947366af39e4150cfc392f4
6,849
cpp
C++
icd/api/llpc/patch/llpcPatchPushConstOp.cpp
alan-baker/xgl
5c4a9497570200781d054416832f55e8b64d7e58
[ "MIT" ]
null
null
null
icd/api/llpc/patch/llpcPatchPushConstOp.cpp
alan-baker/xgl
5c4a9497570200781d054416832f55e8b64d7e58
[ "MIT" ]
null
null
null
icd/api/llpc/patch/llpcPatchPushConstOp.cpp
alan-baker/xgl
5c4a9497570200781d054416832f55e8b64d7e58
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2017-2018 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...
41.259036
120
0.528982
alan-baker
b9b9a4d4f5c2fcaed281f8b8123f3cd3cdd9f392
25,992
cpp
C++
src/Restart.cpp
allen-cell-animated/medyan
0b5ef64fb338c3961673361e5632980617937ee6
[ "BSD-4-Clause-UC" ]
null
null
null
src/Restart.cpp
allen-cell-animated/medyan
0b5ef64fb338c3961673361e5632980617937ee6
[ "BSD-4-Clause-UC" ]
null
null
null
src/Restart.cpp
allen-cell-animated/medyan
0b5ef64fb338c3961673361e5632980617937ee6
[ "BSD-4-Clause-UC" ]
null
null
null
//------------------------------------------------------------------ // **MEDYAN** - Simulation Package for the Mechanochemical // Dynamics of Active Networks, v4.0 // // Copyright (2015-2018) Papoian Lab, University of Maryland // // ALL RIGHTS RESERVED // // See the MEDYAN web page ...
44.354949
94
0.491882
allen-cell-animated
b9bc2c7f1ddda22d289596138bc7ee033922bc9a
2,677
cpp
C++
libs/kinematics/src/CVehicleSimul_Holo.cpp
zarmomin/mrpt
1baff7cf8ec9fd23e1a72714553bcbd88c201966
[ "BSD-3-Clause" ]
1
2021-12-10T06:24:08.000Z
2021-12-10T06:24:08.000Z
libs/kinematics/src/CVehicleSimul_Holo.cpp
gao-ouyang/mrpt
4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7
[ "BSD-3-Clause" ]
null
null
null
libs/kinematics/src/CVehicleSimul_Holo.cpp
gao-ouyang/mrpt
4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7
[ "BSD-3-Clause" ]
1
2019-09-11T02:55:04.000Z
2019-09-11T02:55:04.000Z
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
31.127907
80
0.617482
zarmomin
b9bd18a26cb2ea4e7ddbcc52ed0988ce10ed86d1
1,183
hpp
C++
src/app/preset-window.hpp
mimo31/fluid-sim
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
1
2020-11-26T17:20:28.000Z
2020-11-26T17:20:28.000Z
src/app/preset-window.hpp
mimo31/brandy0
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
null
null
null
src/app/preset-window.hpp
mimo31/brandy0
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
null
null
null
/** * preset-window.hpp * * Author: Viktor Fukala * Created on 2021/03/07 */ #ifndef PRESET_WINDOW_HPP #define PRESET_WINDOW_HPP #include "gtkmm/button.h" #include "gtkmm/comboboxtext.h" #include "gtkmm/grid.h" #include "gtkmm/label.h" #include "brandy-window.hpp" #include "config-state-abstr.hpp" namespace br...
23.66
96
0.748943
mimo31
b9c0186ff3a05cadadeb8ff336fdcbb6a8103d29
1,102
cpp
C++
基础算法/manacher算法/acw_3188_2.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
3
2020-11-16T08:58:30.000Z
2020-11-16T08:58:33.000Z
基础算法/manacher算法/acw_3188_2.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
基础算法/manacher算法/acw_3188_2.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* 复杂度O(N)的根本原因是最后的回文边界mr是单调递增的 从前往后计算每个位置为中心的回文串半径长度 然后用最右边的边界来更新mid */ const int N = 2e7 + 10; //double length of original string int n; char a[N], b[N]; int p[N]; //max radius of each mid void init() { int k = 0; b[k++] = '$', b[k++] = '#'; for (int i = ...
20.036364
71
0.465517
tempure
b9c4055c46bdfb8290f95d5459c93bdabdeffe4f
1,357
hpp
C++
libs/core/include/fcppt/symbol/class.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/symbol/class.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/symbol/class.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_SYMBOL_CLASS_HPP_INCLUDED #define FCPPT_SYMBOL_CLASS_HPP_INCLUDED #include <fcppt/co...
23.807018
78
0.778187
freundlich
b9c530d5c6d278efbacd6f3411dff1829cc0cd49
1,067
hpp
C++
atto/tests/opengl/2-quad/quad.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/tests/opengl/2-quad/quad.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/tests/opengl/2-quad/quad.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
/* * quad.hpp * * Copyright (c) 2020 Carlos Braga * * This program is free software; you can redistribute it and/or modify * it under the terms of the MIT License. * * See accompanying LICENSE.md or https://opensource.org/licenses/MIT. */ #ifndef TEST_ATTO_OPENGL_QUAD_H_ #define TEST_ATTO_OPENGL_QUAD_H_ #inc...
27.358974
71
0.648547
ubikoo
b9c5f5d8285d15d1b895b0401697eebc03f0fe60
6,809
hpp
C++
include/frg/variant.hpp
czapek1337/frigg
ad1b6947047f492ed42b189fb208e600d9ec6915
[ "MIT" ]
37
2018-11-05T19:15:46.000Z
2022-03-09T10:16:28.000Z
include/frg/variant.hpp
czapek1337/frigg
ad1b6947047f492ed42b189fb208e600d9ec6915
[ "MIT" ]
13
2020-01-05T13:32:27.000Z
2022-03-09T17:21:07.000Z
include/frg/variant.hpp
czapek1337/frigg
ad1b6947047f492ed42b189fb208e600d9ec6915
[ "MIT" ]
16
2020-01-01T15:45:02.000Z
2022-03-06T22:19:58.000Z
#pragma once #include <frg/eternal.hpp> #include <frg/macros.hpp> #include <type_traits> #include <stddef.h> namespace frg { namespace _variant { // check if S is one of the types T template<typename S, typename... T> struct exists : public std::false_type { }; template<typename S, typename... T> struct exists...
27.12749
88
0.66368
czapek1337
b9c8382f5af5e59c460f6945834add844ef15325
295
hpp
C++
AbstractFactory/AbstractProductA.hpp
colorhistory/design-patterns
854b07c786cc6ceb80b687ed933c6560c288215b
[ "MIT" ]
null
null
null
AbstractFactory/AbstractProductA.hpp
colorhistory/design-patterns
854b07c786cc6ceb80b687ed933c6560c288215b
[ "MIT" ]
null
null
null
AbstractFactory/AbstractProductA.hpp
colorhistory/design-patterns
854b07c786cc6ceb80b687ed933c6560c288215b
[ "MIT" ]
null
null
null
#ifndef ABSTRACTPRODUCTA_HPP #define ABSTRACTPRODUCTA_HPP namespace DP { class AbstractProductA { public: AbstractProductA(); virtual ~AbstractProductA() = 0; // ADT virtual void use() = 0; }; } // namespace DP #endif // ABSTRACTPRODUCTA_HPP
17.352941
40
0.623729
colorhistory
b9ca906a10d8183ecea31e49c6665bb968557a34
1,790
hpp
C++
parser.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
parser.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
parser.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
#ifndef PARSER_HPP #define PARSER_HPP #include <iostream> #include <string> #include <cstring> const int N = 9; typedef unsigned short int mask; class Parser { private: std::string inputString; mask unsolvedBoard[N*N]; public: /** * Returns integer if char is a digit, 0 ot...
24.189189
80
0.56257
ultinate
844d895ad5e0be173061f99795e753e96c4c03ef
6,588
cc
C++
cpp/src/arrow/tensor/coo_converter.cc
palmerlao/arrow
4e680c46ad5aa76ba1dc85574c4e96a51450364f
[ "Apache-2.0" ]
null
null
null
cpp/src/arrow/tensor/coo_converter.cc
palmerlao/arrow
4e680c46ad5aa76ba1dc85574c4e96a51450364f
[ "Apache-2.0" ]
2
2020-03-12T14:31:34.000Z
2020-03-26T22:46:19.000Z
cpp/src/arrow/tensor/coo_converter.cc
palmerlao/arrow
4e680c46ad5aa76ba1dc85574c4e96a51450364f
[ "Apache-2.0" ]
2
2020-12-28T16:59:24.000Z
2021-02-21T12:33:41.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 you under the Apache License, Version 2.0 (the // "License"); you may...
35.419355
89
0.653764
palmerlao
844ffcbf7bce6ec7d4cd785e9fbcf199bab776e1
1,602
cpp
C++
cpp/cpp1/staff/staff.cpp
AlexanderE12345/codeexamples
32a32a2512f781a90d737990462282ed35881607
[ "Apache-2.0" ]
6
2021-06-30T20:53:34.000Z
2022-03-03T04:08:47.000Z
cpp/cpp1/staff/staff.cpp
AlexanderE12345/codeexamples
32a32a2512f781a90d737990462282ed35881607
[ "Apache-2.0" ]
null
null
null
cpp/cpp1/staff/staff.cpp
AlexanderE12345/codeexamples
32a32a2512f781a90d737990462282ed35881607
[ "Apache-2.0" ]
11
2020-06-23T05:58:26.000Z
2022-01-22T01:26:49.000Z
// Adapted from an example from Java Foundations // by John Lewis, Peter DePasquale, & Joe Chase #include<iostream> #include<vector> #include"staffmember.hpp" #include"salaried.hpp" #include"hourly.hpp" #include"volunteer.hpp" using namespace std; void print_paystub(const StaffMember * s) { s->print(); cou...
29.127273
83
0.561798
AlexanderE12345
84519821fbf22ef34c7456d85b821515cc453270
204
hpp
C++
src/cpu.hpp
AsuMagic/fusiongb
b2b61ed3c14bc96d50216d07442a4d5c7c518f6e
[ "MIT" ]
null
null
null
src/cpu.hpp
AsuMagic/fusiongb
b2b61ed3c14bc96d50216d07442a4d5c7c518f6e
[ "MIT" ]
null
null
null
src/cpu.hpp
AsuMagic/fusiongb
b2b61ed3c14bc96d50216d07442a4d5c7c518f6e
[ "MIT" ]
null
null
null
#ifndef CPU_HPP #define CPU_HPP #include "register.hpp" #include <vector> namespace fusion { struct CPU { RegisterFile _regs; std::vector<uint8_t> _ram; CPU(); void loop(); }; } #endif // CPU_HPP
10.2
27
0.691176
AsuMagic
8453c5120cc662e441dc0623be23a50cc781afd8
7,137
cc
C++
chrome/browser/ash/login/ui/oobe_dialog_size_utils_unittest.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/ash/login/ui/oobe_dialog_size_utils_unittest.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/ash/login/ui/oobe_dialog_size_utils_unittest.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2019 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/ash/login/ui/oobe_dialog_size_utils.h" #include <stddef.h> #include "base/macros.h" #include "base/test/scoped_feature_list.h" ...
34.645631
80
0.71935
Yannic
8456d78544fc118b2adea2da78e6a41cef92e433
754
cpp
C++
PAT (Advanced Level) Practice/1002.cpp
geek-LHW/PAT
f128f5977569f73c3c0b59cf0397bd94f9dfb205
[ "Apache-2.0" ]
null
null
null
PAT (Advanced Level) Practice/1002.cpp
geek-LHW/PAT
f128f5977569f73c3c0b59cf0397bd94f9dfb205
[ "Apache-2.0" ]
null
null
null
PAT (Advanced Level) Practice/1002.cpp
geek-LHW/PAT
f128f5977569f73c3c0b59cf0397bd94f9dfb205
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<iomanip> using namespace std; int main(){ double Poly[1001] = {0}; //多项式A int k; scanf("%d", &k); for (int i = 0; i < k;i++){ int exp; double coef; scanf("%d%lf", &exp, &coef); Poly[exp] = coef; } //多项式B scanf("%d", &k); f...
19.333333
43
0.393899
geek-LHW
84593272e14b93a23e689a04a278d7fed7a0b512
24,379
cpp
C++
musicplayer/plugins/openmptplugin/openmpt/soundlib/tuning.cpp
Osmose/moseamp
8357daf2c93bc903c8041cc82bf3567e8d085a60
[ "MIT" ]
6
2017-04-19T19:06:03.000Z
2022-01-11T14:44:14.000Z
plugins/openmptplugin/openmpt/soundlib/tuning.cpp
sasq64/musicplayer
372852c2f4e3231a09db2628fc4b7e7c2bfeec67
[ "MIT" ]
4
2018-04-04T20:27:32.000Z
2020-04-25T10:46:21.000Z
musicplayer/plugins/openmptplugin/openmpt/soundlib/tuning.cpp
Osmose/moseamp
8357daf2c93bc903c8041cc82bf3567e8d085a60
[ "MIT" ]
2
2018-06-08T15:20:48.000Z
2020-08-19T14:24:21.000Z
/* * tuning.cpp * ---------- * Purpose: Alternative sample tuning. * Notes : (currently none) * Authors: OpenMPT Devs * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. */ #include "stdafx.h" #include "tuning.h" #include "../common/mptIO.h" #include "../common/seriali...
27.392135
156
0.696706
Osmose
845d3417b2378ac3b0e01da64d9a715a46e3fc65
2,957
hpp
C++
nvgl/appwindowprofiler_gl.hpp
theHamsta/nvpro_core
46d28f10aac7f951256ed759cf47fc44615a4f81
[ "Apache-2.0" ]
123
2015-01-06T17:03:34.000Z
2021-05-15T19:31:40.000Z
nvgl/appwindowprofiler_gl.hpp
theHamsta/nvpro_core
46d28f10aac7f951256ed759cf47fc44615a4f81
[ "Apache-2.0" ]
21
2015-04-26T11:41:58.000Z
2021-03-23T22:26:35.000Z
nvgl/appwindowprofiler_gl.hpp
theHamsta/nvpro_core
46d28f10aac7f951256ed759cf47fc44615a4f81
[ "Apache-2.0" ]
59
2015-04-26T05:37:10.000Z
2021-04-05T18:49:52.000Z
/* * Copyright (c) 2014-2021, 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 ...
31.126316
102
0.722354
theHamsta
846108268d520df9571e9f0d4b2f924875875a55
76,927
cpp
C++
dwarf/SB/Core/x/xLaserBolt.cpp
stravant/bfbbdecomp
2126be355a6bb8171b850f829c1f2731c8b5de08
[ "OLDAP-2.7" ]
1
2021-01-05T11:28:55.000Z
2021-01-05T11:28:55.000Z
dwarf/SB/Core/x/xLaserBolt.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
null
null
null
dwarf/SB/Core/x/xLaserBolt.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
1
2022-03-30T15:15:08.000Z
2022-03-30T15:15:08.000Z
typedef struct static_queue_0; typedef struct RwObjectHasFrame; typedef struct RxPipelineNode; typedef struct zEntHangable; typedef struct static_queue_1; typedef enum _zPlayerWallJumpState; typedef struct RpPolygon; typedef struct xVec3; typedef struct xLaserBoltEmitter; typedef struct xEnv; typedef struct bolt; typed...
21.469997
111
0.757497
stravant
8463bcfbe92f88665f6f45b4ad5b2c2d371da16f
3,669
c++
C++
07p/plaut04/src/createBoundingBox.c++
st970703/AUTO07P-Update-to-Python-3.0
fb2d2aebf2127fa914064d01ed62c0acb5f6421c
[ "Apache-2.0" ]
null
null
null
07p/plaut04/src/createBoundingBox.c++
st970703/AUTO07P-Update-to-Python-3.0
fb2d2aebf2127fa914064d01ed62c0acb5f6421c
[ "Apache-2.0" ]
null
null
null
07p/plaut04/src/createBoundingBox.c++
st970703/AUTO07P-Update-to-Python-3.0
fb2d2aebf2127fa914064d01ed62c0acb5f6421c
[ "Apache-2.0" ]
null
null
null
#include "createBoundingBox.h" #include <Inventor/So.h> /////////////////////////////////////////////////////////////////////////////// // SoSeparator * drawLine(SbVec3f pointS, SbVec3f pointE, SbVec3f color, float thickness, bool ticker, bool text, int dir) // /////////////////////////////////////////////////////////...
33.66055
105
0.611883
st970703
84665d3c2e7f8a41845f8a470cfb7131d230c737
212
cpp
C++
solutions/rjKdSzNl.cpp
luyencode/cpp-solutions
627397fb887654e9f5ee64cfb73d708f6f6706f7
[ "MIT" ]
60
2021-04-10T11:17:33.000Z
2022-03-23T06:15:42.000Z
solutions/rjKdSzNl.cpp
letuankiet-29-10-2002/cpp-solutions
7d9cddf211af54ff207da883b469f4ddd75d5916
[ "MIT" ]
1
2021-08-13T11:32:27.000Z
2021-08-13T11:32:27.000Z
solutions/rjKdSzNl.cpp
letuankiet-29-10-2002/cpp-solutions
7d9cddf211af54ff207da883b469f4ddd75d5916
[ "MIT" ]
67
2021-04-10T17:32:50.000Z
2022-03-23T15:50:17.000Z
/* Sưu tầm bởi @nguyenvanhieuvn Thực hành nhiều bài tập hơn tại https://luyencode.net/ */ void Xuat(LIST l) { for(NODE* p = l.pHead; p != NULL; p = p->pNext) { printf("%4d", p->info); } }
17.666667
56
0.556604
luyencode
8466a016fc3774145b4c54ea2b84665fea9d17ea
3,361
cpp
C++
searchcore/src/tests/proton/documentdb/move_operation_limiter/move_operation_limiter_test.cpp
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
searchcore/src/tests/proton/documentdb/move_operation_limiter/move_operation_limiter_test.cpp
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
searchcore/src/tests/proton/documentdb/move_operation_limiter/move_operation_limiter_test.cpp
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/searchcore/proton/server/i_blockable_maintenance_job.h> #include <vespa/searchcore/proton/server/move_operation_limiter.h> #include <vespa/vespalib/testkit/testapp.h> #include <queue> ...
28.483051
118
0.678667
kashiish
84680ee68589bc89dcfe67faceeb660016ab63f8
489
cpp
C++
test/is_unsigned.cpp
morrow1nd/mystd
77281d806c3cc2010b76e38ac236c4036a454d7e
[ "MIT" ]
null
null
null
test/is_unsigned.cpp
morrow1nd/mystd
77281d806c3cc2010b76e38ac236c4036a454d7e
[ "MIT" ]
null
null
null
test/is_unsigned.cpp
morrow1nd/mystd
77281d806c3cc2010b76e38ac236c4036a454d7e
[ "MIT" ]
null
null
null
#include "test.h" #include <inner/type_traits.h> class A {}; enum E : unsigned {}; enum class Ec : unsigned {}; enum Ecs : signed int {}; int main() { assert(is_unsigned_v<A> == false); assert(is_unsigned_v<float> == false); assert(is_unsigned_v<signed int> == false); assert(is_unsigned...
23.285714
49
0.619632
morrow1nd
846b5bfe272887a9ed614e4913e8b826c6e4a2cd
18,893
cc
C++
rest/testing/rest_collection_test.cc
kstepanmpmg/mldb
f78791cd34d01796705c0f173a14359ec1b2e021
[ "Apache-2.0" ]
1
2019-04-29T12:39:34.000Z
2019-04-29T12:39:34.000Z
rest/testing/rest_collection_test.cc
tomzhang/mldb
a09cf2d9ca454d1966b9e49ae69f2fe6bf571494
[ "Apache-2.0" ]
2
2021-03-20T05:52:26.000Z
2021-11-15T17:52:54.000Z
rest/testing/rest_collection_test.cc
matebestek/mldb
f78791cd34d01796705c0f173a14359ec1b2e021
[ "Apache-2.0" ]
1
2018-11-23T20:03:38.000Z
2018-11-23T20:03:38.000Z
// This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved. /* rest_collection_test.cc Jeremy Barnes, 25 March 2014 Copyright (c) 2014 mldb.ai inc. All rights reserved. */ #include "mldb/utils/runner.h" #include "mldb/utils/vector_utils.h" #include "mldb/rest/rest_collection.h" #include "ml...
29.11094
122
0.59313
kstepanmpmg
846b7788b1cbc490a2332944f7c5da71bb009b46
40,874
cc
C++
src/poly/isl_util.cc
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
286
2020-06-23T06:40:44.000Z
2022-03-30T01:27:49.000Z
src/poly/isl_util.cc
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
10
2020-07-31T03:26:59.000Z
2021-12-27T15:00:54.000Z
src/poly/isl_util.cc
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
30
2020-07-17T01:04:14.000Z
2021-12-27T14:05:19.000Z
/** * Copyright 2020-2021 Huawei Technologies 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 applicabl...
42.488565
120
0.659588
KnowingNothing
846b9f3f9bf7efb24aa2c15eea48bed5a40938e1
545
cpp
C++
owRenderNew/DX11_Creator.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owRenderNew/DX11_Creator.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owRenderNew/DX11_Creator.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
1
2020-05-11T13:32:49.000Z
2020-05-11T13:32:49.000Z
#include "stdafx.h" // General #include "DX11_Creator.h" // Additional #include "DX11\\RenderDeviceDX11.h" #include "DX11\\RenderWindowDX11.h" RenderDevice* DX11_Creator::CreateRenderDevice() { return new RenderDeviceDX11(); } RenderWindow* DX11_Creator::CreateRenderWindow(HWND hWnd, RenderDevice* device, cstring ...
25.952381
146
0.785321
adan830
846c94fb21cd5ee6524e9ae4b0c77e222305b806
1,883
cpp
C++
src/game/shared/neotokyo/neo_controlpoint.cpp
L-Leite/neotokyo-re
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
4
2017-08-29T15:39:53.000Z
2019-06-04T07:37:48.000Z
src/game/shared/neotokyo/neo_controlpoint.cpp
Ochii/neotokyo
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
null
null
null
src/game/shared/neotokyo/neo_controlpoint.cpp
Ochii/neotokyo
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
1
2021-08-10T20:01:00.000Z
2021-08-10T20:01:00.000Z
#include "cbase.h" #include "neo_controlpoint.h" #include "neo_gamerules.h" IMPLEMENT_NETWORKCLASS_ALIASED( NeoControlPoint, DT_NeoControlPoint ) BEGIN_NETWORK_TABLE( CNeoControlPoint, DT_NeoControlPoint ) #ifdef CLIENT_DLL //RecvPropStringT( RECVINFO( m_Name ) ), RecvPropInt( RECVINFO( m_ID ) ), RecvPropVector( ...
21.157303
81
0.713224
L-Leite
846d3f976ffdeb9e7c9ed90bc76d471e7f6317c3
836
hpp
C++
src/providers/ffz/FfzBadges.hpp
1xelerate/chatterino2
57783c7478a955f5224e5025653c0f8549df12fc
[ "MIT" ]
null
null
null
src/providers/ffz/FfzBadges.hpp
1xelerate/chatterino2
57783c7478a955f5224e5025653c0f8549df12fc
[ "MIT" ]
1
2022-01-03T14:43:35.000Z
2022-01-03T14:43:35.000Z
src/providers/ffz/FfzBadges.hpp
1xelerate/chatterino2
57783c7478a955f5224e5025653c0f8549df12fc
[ "MIT" ]
null
null
null
#pragma once #include <boost/optional.hpp> #include <common/Singleton.hpp> #include "common/Aliases.hpp" #include "util/QStringHash.hpp" #include <map> #include <memory> #include <shared_mutex> #include <unordered_map> #include <vector> #include <QColor> namespace chatterino { struct Emote; using EmotePtr = std::...
19.904762
71
0.726077
1xelerate
846e0bc7693650783f394d5b653d926124b654cf
4,728
hxx
C++
opencascade/StepBasic_ProductDefinitionReference.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/StepBasic_ProductDefinitionReference.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/StepBasic_ProductDefinitionReference.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 2016-03-30 // Created by: Irina KRYLOVA // Copyright (c) 2016 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as publ...
36.091603
119
0.769247
valgur
84706ba1a08ca20f636eaa48a5051da425d7af2e
3,047
cpp
C++
src/components/timer/timer.cpp
elmerucr/E64
1f7d57fadc6804948aa832d0f5f6800a8631f622
[ "MIT" ]
null
null
null
src/components/timer/timer.cpp
elmerucr/E64
1f7d57fadc6804948aa832d0f5f6800a8631f622
[ "MIT" ]
null
null
null
src/components/timer/timer.cpp
elmerucr/E64
1f7d57fadc6804948aa832d0f5f6800a8631f622
[ "MIT" ]
null
null
null
// timer.cpp // E64 // // Copyright © 2019-2022 elmerucr. All rights reserved. #include "timer.hpp" #include "common.hpp" E64::timer_ic::timer_ic(exceptions_ic *unit) { exceptions = unit; irq_number = exceptions->connect_device(); } void E64::timer_ic::reset() { registers[0] = 0x00; // No pending irq's regist...
23.083333
70
0.628159
elmerucr
84708ed239f1a74e5abb29675b2c7273a13354c2
1,459
cpp
C++
Windows_Project/Test2/CollideComponent.cpp
Torbjornsson/TDA572-2019
7e281b2ac72600db57e0f128eaedccea133f9701
[ "MIT" ]
null
null
null
Windows_Project/Test2/CollideComponent.cpp
Torbjornsson/TDA572-2019
7e281b2ac72600db57e0f128eaedccea133f9701
[ "MIT" ]
null
null
null
Windows_Project/Test2/CollideComponent.cpp
Torbjornsson/TDA572-2019
7e281b2ac72600db57e0f128eaedccea133f9701
[ "MIT" ]
null
null
null
#include "pch.h" #include "Component.h" #include "GameObject.h" #include "avancezlib.h" void CollideComponent::Create(AvancezLib* engine, GameObject* go, std::set<GameObject*>* game_objects, ObjectPool<GameObject>* coll_objects){ Component::Create(engine, go, game_objects); this->coll_objects = coll_objects; ...
36.475
141
0.627142
Torbjornsson
847189942b8ef8644dca43e701b77473773e9657
734
cpp
C++
src/blink.cpp
Tivian/micro-sci
dd2c1dca912218557c1143028696b844c5ec7578
[ "MIT" ]
null
null
null
src/blink.cpp
Tivian/micro-sci
dd2c1dca912218557c1143028696b844c5ec7578
[ "MIT" ]
null
null
null
src/blink.cpp
Tivian/micro-sci
dd2c1dca912218557c1143028696b844c5ec7578
[ "MIT" ]
null
null
null
#include "blink.hpp" #include "lcd.hpp" #include <avr/io.h> #include <avr/interrupt.h> namespace Blink { namespace { volatile bool blink = false; volatile uint8_t timeout = 0; volatile uint8_t delay = 0; } void init(uint8_t delay) { speed(delay); OCR0A = 0xFF; TCCR0A |= _BV(WG...
17.902439
55
0.559946
Tivian
8472164ceb9fd8bc264bbd92078d0f1576ca5c7f
511
cpp
C++
c10/ex10_24.cpp
qzhang0/CppPrimer
315ef879bd4d3b51d594e33b049adee0d47e4c11
[ "MIT" ]
null
null
null
c10/ex10_24.cpp
qzhang0/CppPrimer
315ef879bd4d3b51d594e33b049adee0d47e4c11
[ "MIT" ]
null
null
null
c10/ex10_24.cpp
qzhang0/CppPrimer
315ef879bd4d3b51d594e33b049adee0d47e4c11
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <string> #include <functional> using namespace std; using std::placeholders::_1; bool check_size(const string& s, int i) { return s.size() < i; } int main() { vector<int> ivec{0, 1, 2, 3, 4, 5, 6}; auto result = find_if(ivec.be...
19.653846
86
0.577299
qzhang0
84738694d917d7a2ef6d96b5653d1c4c68b9bb5d
24,101
cc
C++
Cxx11/transpose-vector-raja.cc
mjklemm/Kernels
0131ab2c0451d3fdd4237ed74efc49b85f6ab475
[ "BSD-3-Clause" ]
null
null
null
Cxx11/transpose-vector-raja.cc
mjklemm/Kernels
0131ab2c0451d3fdd4237ed74efc49b85f6ab475
[ "BSD-3-Clause" ]
null
null
null
Cxx11/transpose-vector-raja.cc
mjklemm/Kernels
0131ab2c0451d3fdd4237ed74efc49b85f6ab475
[ "BSD-3-Clause" ]
null
null
null
/// /// Copyright (c) 2013, Intel Corporation /// /// 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 conditions ...
37.30805
128
0.552218
mjklemm
8474504410cb26a18a9380bb02db4097e59b79c5
7,221
cc
C++
apps/metgram/metgramx.cc
dtip/magics
3247535760ca962f859c203295b508d442aca4ed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
apps/metgram/metgramx.cc
dtip/magics
3247535760ca962f859c203295b508d442aca4ed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
apps/metgram/metgramx.cc
dtip/magics
3247535760ca962f859c203295b508d442aca4ed
[ "ECL-2.0", "Apache-2.0" ]
1
2019-12-18T17:01:56.000Z
2019-12-18T17:01:56.000Z
/* * (C) Copyright 1996-2016 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 in...
29.473469
116
0.502147
dtip
847495be05b2fce27e6d132d7a4d4f249383a3cb
1,488
hxx
C++
Validator/GenICam/library/CPP/include/xsde/cxx/parser/validating/inheritance-map.hxx
genicam/GenICamXmlValidator
f3d0873dc2f39e09e98933aee927274a087a2a90
[ "Apache-2.0" ]
null
null
null
Validator/GenICam/library/CPP/include/xsde/cxx/parser/validating/inheritance-map.hxx
genicam/GenICamXmlValidator
f3d0873dc2f39e09e98933aee927274a087a2a90
[ "Apache-2.0" ]
2
2020-10-30T16:10:09.000Z
2020-11-09T01:55:49.000Z
Validator/GenICam/library/CPP/include/xsde/cxx/parser/validating/inheritance-map.hxx
genicam/GenICamXmlValidator
f3d0873dc2f39e09e98933aee927274a087a2a90
[ "Apache-2.0" ]
null
null
null
// file : xsde/cxx/parser/validating/inheritance-map.hxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file #ifndef XSDE_CXX_PARSER_VALIDATING_INHERITANCE_MAP_HXX #define XSDE...
23.619048
72
0.637097
genicam
8476cdb5bbab5f01c784b4f57571f2ead059dae0
34,900
cpp
C++
src/nids.cpp
alertflex/altprobe
1c9f256ef8aa4a015cac1b1c5f990f4c177c8b3d
[ "Apache-2.0" ]
31
2020-10-08T13:16:17.000Z
2022-03-18T06:38:31.000Z
src/nids.cpp
olegzhr/altprobe
da9597efcf0463f31ea38bf715ed8d5453dfc0e5
[ "Apache-2.0" ]
2
2020-09-17T15:54:58.000Z
2021-02-26T07:58:01.000Z
src/nids.cpp
alertflex/altprobe
1c9f256ef8aa4a015cac1b1c5f990f4c177c8b3d
[ "Apache-2.0" ]
8
2020-11-25T21:29:00.000Z
2022-02-21T01:37:20.000Z
/* * Copyright 2021 Oleg Zharkov * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in the "license" file accompanying ...
30.667838
115
0.460602
alertflex
84791dfe5d8cdbc4917e4d3e1a30a888b4ce0d9f
1,797
cpp
C++
src/GUI.cpp
montoyo/mgpcl
8e65d01e483124936de3650154e0e7e9586d27c0
[ "MIT" ]
null
null
null
src/GUI.cpp
montoyo/mgpcl
8e65d01e483124936de3650154e0e7e9586d27c0
[ "MIT" ]
2
2018-12-13T09:10:03.000Z
2018-12-22T13:52:00.000Z
src/GUI.cpp
montoyo/mgpcl
8e65d01e483124936de3650154e0e7e9586d27c0
[ "MIT" ]
null
null
null
/* Copyright (C) 2017 BARBOTIN Nicolas * * 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, publi...
24.958333
92
0.72621
montoyo
847a705867274c9681669a12d56da33ff156735a
408
cc
C++
atcoder/abc/079/a_good_integer.cc
boobam0618/competitive-programming
0341bd8bb240b1ed0d84cc60db91508242fc867b
[ "MIT" ]
null
null
null
atcoder/abc/079/a_good_integer.cc
boobam0618/competitive-programming
0341bd8bb240b1ed0d84cc60db91508242fc867b
[ "MIT" ]
32
2019-08-15T09:16:48.000Z
2020-02-09T16:23:30.000Z
atcoder/abc/079/a_good_integer.cc
boobam0618/competitive-programming
0341bd8bb240b1ed0d84cc60db91508242fc867b
[ "MIT" ]
null
null
null
#include <iostream> int main() { int n; std::cin >> n; int thousands = n / 1000; int hundreds = n / 100 % 10; int tens = n / 10 % 10; int ones = n % 10; std::string is_good_integer; if (thousands == hundreds && hundreds == tens || hundreds == tens && tens == ones) { is_good_integer = "Yes"; ...
20.4
50
0.568627
boobam0618
847aa6ce44bce9c20769e558f9fdb47ce6f63fb1
416
cpp
C++
CSES/Removing Digits.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
CSES/Removing Digits.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
CSES/Removing Digits.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define int long long #define M 1000000007 #define N 300010 signed main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin >> n; int dp[n+1]; for(int i=0;i<=n;i++) dp[i]=INT_MAX; dp[0]=0; for(int i=1;i<=n;i++){ int num=i; while(num>0){ ...
14.344828
34
0.572115
XitizVerma
847b4738437e4552f902362fe840355d554d98c4
1,985
cpp
C++
controllers/ControllerAdaugaRefill.cpp
xiofurry/magazin-manager-project
bb0c765f87c8f08493cefcaae39ed42639229585
[ "MIT" ]
null
null
null
controllers/ControllerAdaugaRefill.cpp
xiofurry/magazin-manager-project
bb0c765f87c8f08493cefcaae39ed42639229585
[ "MIT" ]
null
null
null
controllers/ControllerAdaugaRefill.cpp
xiofurry/magazin-manager-project
bb0c765f87c8f08493cefcaae39ed42639229585
[ "MIT" ]
null
null
null
// // Created by xiodine on 4/19/15. // #include <sstream> #include "ControllerAdaugaRefill.h" #include "../views/ViewConsole.h" ControllerAdaugaRefill::ControllerAdaugaRefill() : Controller() { } ControllerAdaugaRefill::~ControllerAdaugaRefill() { } std::size_t ControllerAdaugaRefill::showOptions(ModelStoc &stoc...
27.569444
98
0.559194
xiofurry
847bf32da15223813d7279e6e8226808fa6e626c
10,168
cpp
C++
Stars45/MsnPkgDlg.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
Stars45/MsnPkgDlg.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
4
2019-09-05T22:22:57.000Z
2021-03-28T02:09:24.000Z
Stars45/MsnPkgDlg.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
/* Starshatter OpenSource Distribution Copyright (c) 1997-2004, Destroyer Studios LLC. 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 t...
28.166205
100
0.511802
RogerioY
848263edc5cbcdd8136ec1387915b259fa9e0427
6,017
cc
C++
SimMuon/DTDigitizer/test/DTDigiAnalyzer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
13
2015-11-30T15:49:45.000Z
2022-02-08T16:11:30.000Z
SimMuon/DTDigitizer/test/DTDigiAnalyzer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
640
2015-02-11T18:55:47.000Z
2022-03-31T14:12:23.000Z
SimMuon/DTDigitizer/test/DTDigiAnalyzer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
51
2015-08-11T21:01:40.000Z
2022-03-30T07:31:34.000Z
/** \class DTDigiAnalyzer * Analyse the the muon-drift-tubes digitizer. * * \authors: R. Bellan */ #include "DataFormats/MuonDetId/interface/DTLayerId.h" #include "SimMuon/DTDigitizer/test/DTDigiAnalyzer.h" #include <DataFormats/DTDigi/interface/DTDigiCollection.h> #include <FWCore/Framework/interface/Event.h> ...
32.879781
119
0.619245
ckamtsikis
848317df56ef0f0347b205e49b6e0ac9e30efd4d
4,861
cpp
C++
EjercicioiPud/EjercicioiPud/mainApartadob17-18.cpp
gejors55/Algorithm
107d6cf4eb8fc7f4d0cebfe9b4e7b2811ac10533
[ "MIT" ]
null
null
null
EjercicioiPud/EjercicioiPud/mainApartadob17-18.cpp
gejors55/Algorithm
107d6cf4eb8fc7f4d0cebfe9b4e7b2811ac10533
[ "MIT" ]
null
null
null
EjercicioiPud/EjercicioiPud/mainApartadob17-18.cpp
gejors55/Algorithm
107d6cf4eb8fc7f4d0cebfe9b4e7b2811ac10533
[ "MIT" ]
null
null
null
// Examen junio 2016: Implementacion de un sistema de reproduccion de musica // APDO B: hay que reducir los costes de deleteSong y play #include "lista.h" #include "DiccionarioHash.h" #include <iostream> #include <string> using namespace std; typedef string Cancion; typedef string Artista; class SongInfo { public: ...
26.708791
123
0.67517
gejors55
848511b8fca7ca5773692746797029eb92023728
19,813
cpp
C++
ortc/services/cpp/services_STUNRequester.cpp
ortclib/ortclib-services-cpp
f770d97044b1ffbff04b61fa1488eedc8ddc66e4
[ "BSD-2-Clause" ]
2
2016-10-12T09:16:32.000Z
2016-10-13T03:49:47.000Z
ortc/services/cpp/services_STUNRequester.cpp
ortclib/ortclib-services-cpp
f770d97044b1ffbff04b61fa1488eedc8ddc66e4
[ "BSD-2-Clause" ]
2
2017-11-24T09:18:45.000Z
2017-11-24T09:20:53.000Z
ortc/services/cpp/services_STUNRequester.cpp
ortclib/ortclib-services-cpp
f770d97044b1ffbff04b61fa1488eedc8ddc66e4
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2014, Hookflash Inc. 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 and the fol...
41.976695
186
0.465704
ortclib
84883167c136c85e9d284932f1e8e047fa5e8c5e
190
cpp
C++
Cpp_Programs/races/luogu201809/U38228.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
2
2018-10-01T09:03:35.000Z
2019-05-24T08:53:06.000Z
Cpp_Programs/races/luogu201809/U38228.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
null
null
null
Cpp_Programs/races/luogu201809/U38228.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; long long t = 1, n = 1, m, k; int main(){ cin>>k>>m; while(t % m != k){ n++; t *= 10; t++; } cout<<n<<endl; return 0; }
10
29
0.463158
xiazeyu
848966765ddc582ef5ea38f66ad504d258158e2a
5,180
cc
C++
src/mpasjedi/TlmMPAS.cc
JCSDA/mpas-jedi
e0780d1fd295912ee4cfb758854c52b6764d4ab9
[ "Apache-2.0" ]
2
2021-09-25T01:20:10.000Z
2021-12-17T18:44:53.000Z
src/mpasjedi/TlmMPAS.cc
JCSDA/mpas-jedi
e0780d1fd295912ee4cfb758854c52b6764d4ab9
[ "Apache-2.0" ]
null
null
null
src/mpasjedi/TlmMPAS.cc
JCSDA/mpas-jedi
e0780d1fd295912ee4cfb758854c52b6764d4ab9
[ "Apache-2.0" ]
null
null
null
/* * (C) Copyright 2017 UCAR * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ #include "eckit/config/LocalConfiguration.h" #include "oops/util/abor1_cpp.h" #include "oops/util/DateTime.h" #include "oops/uti...
42.113821
87
0.520849
JCSDA
848aa9de0221912244032a4c0cda93accbe765f6
4,637
cpp
C++
src/winrt/projection_lib/MoObservableObjectClassAdapter.cpp
Bhaskers-Blu-Org2/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
19
2019-06-16T02:29:24.000Z
2022-03-01T23:20:25.000Z
src/winrt/projection_lib/MoObservableObjectClassAdapter.cpp
microsoft/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
null
null
null
src/winrt/projection_lib/MoObservableObjectClassAdapter.cpp
microsoft/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
5
2019-11-03T11:40:25.000Z
2020-08-05T14:56:13.000Z
/*** * Copyright (C) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. * * File:MoObservableObjectClassAdapter.cpp ****/ #include "pch.h" #include "MoObservableObjectClassAdapter.h" #include "MoObservableObjectFactory.h" ...
37.395161
143
0.717274
Bhaskers-Blu-Org2
848d3ca446afec18d09b4df45250d87f812141c1
10,758
hpp
C++
Systems/Engine/ComponentHierarchy.hpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
52
2018-09-11T17:18:35.000Z
2022-03-13T15:28:21.000Z
Systems/Engine/ComponentHierarchy.hpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
1,409
2018-09-19T18:03:43.000Z
2021-06-09T08:33:33.000Z
Systems/Engine/ComponentHierarchy.hpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
26
2018-09-11T17:16:32.000Z
2021-11-22T06:21:19.000Z
/////////////////////////////////////////////////////////////////////////////// /// /// \file ComponentHierarchy.cpp /// /// Authors: Joshua Claeys /// Copyright 2015, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #pragma once namespace Ze...
32.501511
89
0.602993
RachelWilSingh
848ec0cbce7a22f6d1758bd5042f902fdb55bf09
1,454
cc
C++
src/common/step/recovery/step_open_recovery_file.cc
tizenorg/platform.core.appfw.app-installers
54b7b4972c3ab9775856756a5d97220ef344f7e5
[ "Apache-2.0" ]
null
null
null
src/common/step/recovery/step_open_recovery_file.cc
tizenorg/platform.core.appfw.app-installers
54b7b4972c3ab9775856756a5d97220ef344f7e5
[ "Apache-2.0" ]
null
null
null
src/common/step/recovery/step_open_recovery_file.cc
tizenorg/platform.core.appfw.app-installers
54b7b4972c3ab9775856756a5d97220ef344f7e5
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved // Use of this source code is governed by an apache-2.0 license that can be // found in the LICENSE file. #include "common/step/recovery/step_open_recovery_file.h" #include <cassert> #include "common/recovery_file.h" namespace common_installer {...
30.291667
75
0.727648
tizenorg
848feca691f89f2c9ead66d1c27759fea7a4b7f7
1,602
cpp
C++
Chain/Info.cpp
matheuspercario/SI300-POO1
d071a8cd399e3e9e667c1ce295cbfdcfe4eef796
[ "MIT" ]
null
null
null
Chain/Info.cpp
matheuspercario/SI300-POO1
d071a8cd399e3e9e667c1ce295cbfdcfe4eef796
[ "MIT" ]
null
null
null
Chain/Info.cpp
matheuspercario/SI300-POO1
d071a8cd399e3e9e667c1ce295cbfdcfe4eef796
[ "MIT" ]
null
null
null
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ #include <iostream> #include "Info.hpp" using namespace std; const string Info::institution = "Unicamp - Universidade Estadual de Ca...
23.558824
117
0.59613
matheuspercario
84909bb095fa4784f86a33217cf7cd6983e89c45
388
cpp
C++
FATERUI/common/camera/bobcat/bobcat_gev/share/samples/eBUSPlayer/ChangeSourceTask.cpp
LynnChan706/Fater
dde8e3baaac7be8b0c1f8bee0da628f6e6f2b772
[ "MIT" ]
4
2018-12-07T02:17:26.000Z
2020-12-03T05:32:23.000Z
FATERUI/common/camera/bobcat/bobcat_gev/share/samples/eBUSPlayer/ChangeSourceTask.cpp
LynnChan706/Fater
dde8e3baaac7be8b0c1f8bee0da628f6e6f2b772
[ "MIT" ]
null
null
null
FATERUI/common/camera/bobcat/bobcat_gev/share/samples/eBUSPlayer/ChangeSourceTask.cpp
LynnChan706/Fater
dde8e3baaac7be8b0c1f8bee0da628f6e6f2b772
[ "MIT" ]
1
2021-12-30T12:14:52.000Z
2021-12-30T12:14:52.000Z
// ***************************************************************************** // // Copyright (c) 2013, Pleora Technologies Inc., All rights reserved. // // ***************************************************************************** #include "eBUSPlayerShared.h" #include "ChangeSourceTask.h" #ifdef _AFXDLL ...
24.25
80
0.414948
LynnChan706
84910428c956dcee2663eb045837180f46ac9b40
4,066
hpp
C++
src/ruby/ruby_observation.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/ruby/ruby_observation.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/ruby/ruby_observation.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
// // Copyright Copyright 2009-2022, AMT – The Association For Manufacturing Technology (“AMT”) // 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 // // ...
34.457627
95
0.615101
bburns
8496b23cf8e8b9c5e11e2c3a978e645b71bcecf9
3,341
cpp
C++
lists/four/spoj-setemar.cpp
joaovicentesouto/INE5452
4813630b303a9c6dbd4fb14fae0fb3b850e1aea3
[ "MIT" ]
null
null
null
lists/four/spoj-setemar.cpp
joaovicentesouto/INE5452
4813630b303a9c6dbd4fb14fae0fb3b850e1aea3
[ "MIT" ]
null
null
null
lists/four/spoj-setemar.cpp
joaovicentesouto/INE5452
4813630b303a9c6dbd4fb14fae0fb3b850e1aea3
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <vector> #include <unordered_map> using namespace std; #define MOVE(tx, ty, ch) (tabuleiro[tx][ty] = ch) //! Variáveis globais vector<pair<int, int>> inimigos; pair<int, int> jogador; char tabuleiro[9][8]; bool destroi_inimigos(int nivel) { if (nivel == 10 && inim...
27.841667
115
0.428315
joaovicentesouto
84977923e61ad88c5105008b8aec32f11b56b650
16,272
cpp
C++
test/unit/ResourceSerializationTest.cpp
dmitryvinn/redex
d5050fbfec8566687dc0f2c977b0aeec2bbc681b
[ "MIT" ]
null
null
null
test/unit/ResourceSerializationTest.cpp
dmitryvinn/redex
d5050fbfec8566687dc0f2c977b0aeec2bbc681b
[ "MIT" ]
null
null
null
test/unit/ResourceSerializationTest.cpp
dmitryvinn/redex
d5050fbfec8566687dc0f2c977b0aeec2bbc681b
[ "MIT" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <array> #include <fstream> #include <gtest/gtest.h> #include "ApkResources.h" #include "Debug.h" #include "RedexMappedF...
40.177778
80
0.688053
dmitryvinn
849b1e3e95867137ad36e2f1fdfd61ef035f2452
4,758
cc
C++
src/shared/ppapi_proxy/plugin_graphics_2d.cc
eseidel/native_client_patches
c699f77e085b91fcc1684ecb63e2e211733afbde
[ "BSD-3-Clause" ]
4
2015-10-27T04:43:02.000Z
2021-08-13T08:21:45.000Z
src/shared/ppapi_proxy/plugin_graphics_2d.cc
eseidel/native_client_patches
c699f77e085b91fcc1684ecb63e2e211733afbde
[ "BSD-3-Clause" ]
null
null
null
src/shared/ppapi_proxy/plugin_graphics_2d.cc
eseidel/native_client_patches
c699f77e085b91fcc1684ecb63e2e211733afbde
[ "BSD-3-Clause" ]
1
2015-11-08T10:18:42.000Z
2015-11-08T10:18:42.000Z
/* * Copyright 2010 The Native Client 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 "native_client/src/shared/ppapi_proxy/plugin_graphics_2d.h" #include <stdio.h> #include <string.h> #include "srpcgen/ppb_rpc.h" #inc...
32.589041
77
0.713535
eseidel
849b43732443fa7d940027619759988361f3cbfa
1,247
cpp
C++
test/nmea/Test_nmea_rot.cpp
mfkiwl/marnav
53a1c987bf72d48df134c12dd1edc44d7f230921
[ "BSD-4-Clause" ]
62
2015-07-20T03:24:21.000Z
2022-03-30T10:39:24.000Z
test/nmea/Test_nmea_rot.cpp
mfkiwl/marnav
53a1c987bf72d48df134c12dd1edc44d7f230921
[ "BSD-4-Clause" ]
37
2016-03-30T05:38:32.000Z
2021-12-26T18:11:38.000Z
test/nmea/Test_nmea_rot.cpp
mfkiwl/marnav
53a1c987bf72d48df134c12dd1edc44d7f230921
[ "BSD-4-Clause" ]
39
2015-07-20T03:15:44.000Z
2022-02-03T07:32:23.000Z
#include <marnav/nmea/rot.hpp> #include "type_traits_helper.hpp" #include <marnav/nmea/nmea.hpp> #include <gtest/gtest.h> namespace { using namespace marnav; class Test_nmea_rot : public ::testing::Test { }; TEST_F(Test_nmea_rot, contruction) { EXPECT_NO_THROW(nmea::rot rot); } TEST_F(Test_nmea_rot, properties) {...
19.184615
82
0.714515
mfkiwl
849d1a4611202993be04185a261a961e28f549bb
815
cpp
C++
bmc/version-handler/test/version_createhandler_unittest.cpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
7
2019-01-20T08:36:51.000Z
2021-09-04T19:03:53.000Z
bmc/version-handler/test/version_createhandler_unittest.cpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
9
2018-08-06T03:30:47.000Z
2022-03-08T17:28:07.000Z
bmc/version-handler/test/version_createhandler_unittest.cpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
4
2019-08-22T21:03:59.000Z
2021-12-17T10:00:05.000Z
#include "version_handler.hpp" #include "version_mock.hpp" #include <array> #include <utility> #include <gtest/gtest.h> namespace ipmi_flash { TEST(VersionHandlerCanHandleTest, VerifyGoodInfoMapPasses) { constexpr std::array blobs{"blob0", "blob1"}; VersionBlobHandler handler(createMockVersionConfigs(blobs)...
26.290323
64
0.741104
pzh2386034
849e873e41c7c54aa501e113692a1e59a073ebce
678
cpp
C++
real-app/src/OStreamSink.cpp
rasa/REAL
077e6fe2e6242f41bf401960562ccfecc6ca6a18
[ "MIT" ]
227
2018-08-18T00:02:49.000Z
2022-03-30T00:28:10.000Z
real-app/src/OStreamSink.cpp
rasa/REAL
077e6fe2e6242f41bf401960562ccfecc6ca6a18
[ "MIT" ]
16
2018-08-24T20:44:39.000Z
2021-08-24T20:05:06.000Z
real-app/src/OStreamSink.cpp
rasa/REAL
077e6fe2e6242f41bf401960562ccfecc6ca6a18
[ "MIT" ]
18
2018-12-02T16:44:21.000Z
2022-02-25T23:49:38.000Z
#include "OStreamSink.h" using namespace miniant::Spdlog; OStreamSink::OStreamSink(std::shared_ptr<std::ostream> outputStream, bool forceFlush): m_outputStream(std::move(outputStream)), m_forceFlush(forceFlush) {} std::mutex& OStreamSink::GetMutex() { return mutex_; } void OStreamSink::sink_it_(const sp...
28.25
106
0.733038
rasa
849ee3eb41d189b2cc0ad4597b63c4a8628ad4d2
2,883
cpp
C++
hands-on/architecture/pipeline.cpp
Hiigaran/esc21
d0d7f0fa7079edc124821e96ef677cda2a2235a1
[ "CC-BY-4.0" ]
1
2021-11-05T14:44:55.000Z
2021-11-05T14:44:55.000Z
hands-on/architecture/pipeline.cpp
Hiigaran/esc21
d0d7f0fa7079edc124821e96ef677cda2a2235a1
[ "CC-BY-4.0" ]
null
null
null
hands-on/architecture/pipeline.cpp
Hiigaran/esc21
d0d7f0fa7079edc124821e96ef677cda2a2235a1
[ "CC-BY-4.0" ]
null
null
null
#include <chrono> #include <array> #include <iostream> #include "benchmark.h" inline size_t fib(size_t n) { if (n == 0) return n; if (n == 1) return 1; return fib(n - 1) + fib(n - 2); } inline double perform_computation(int w) { return fib(w); } int main() { using namespace std; auto start = ...
25.741071
104
0.511967
Hiigaran
84a34f1d87359a057b4b7a372dfe0819cbcb3a64
55,419
cpp
C++
llvm/lib/MC/MCDwarf.cpp
clairechingching/ScaffCC
737ae90f85d9fe79819d66219747d27efa4fa5b9
[ "BSD-2-Clause" ]
3
2019-02-12T04:14:39.000Z
2020-11-05T08:46:20.000Z
llvm/lib/MC/MCDwarf.cpp
clairechingching/ScaffCC
737ae90f85d9fe79819d66219747d27efa4fa5b9
[ "BSD-2-Clause" ]
1
2020-02-22T09:59:21.000Z
2020-02-22T09:59:21.000Z
llvm/lib/MC/MCDwarf.cpp
clairechingching/ScaffCC
737ae90f85d9fe79819d66219747d27efa4fa5b9
[ "BSD-2-Clause" ]
1
2020-11-04T06:38:51.000Z
2020-11-04T06:38:51.000Z
//===- lib/MC/MCDwarf.cpp - MCDwarf implementation ------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
37.880383
80
0.67614
clairechingching
84a52c7a97a583936d15231606e92eca3fe64d19
824
cpp
C++
Geeks For Geeks Solutions/HashMap/Largest subarray with 0 sum.cpp
bilwa496/Placement-Preparation
bd32ee717f671d95c17f524ed28b0179e0feb044
[ "MIT" ]
169
2021-05-30T10:02:19.000Z
2022-03-27T18:09:32.000Z
Geeks For Geeks Solutions/HashMap/Largest subarray with 0 sum.cpp
bilwa496/Placement-Preparation
bd32ee717f671d95c17f524ed28b0179e0feb044
[ "MIT" ]
1
2021-10-02T14:46:26.000Z
2021-10-02T14:46:26.000Z
Geeks For Geeks Solutions/HashMap/Largest subarray with 0 sum.cpp
bilwa496/Placement-Preparation
bd32ee717f671d95c17f524ed28b0179e0feb044
[ "MIT" ]
44
2021-05-30T19:56:29.000Z
2022-03-17T14:49:00.000Z
#include <bits/stdc++.h> using namespace std; int maxLen(int A[], int n); int main() { int T; cin >> T; while (T--) { int N; cin >> N; int A[N]; for (int i = 0; i < N; i++) cin >> A[i]; cout << maxLen(A, N) << endl; } } // } Driver Code Ends ...
15.259259
46
0.368932
bilwa496
84a65e55f53fbee746130190840ca58cb8061132
1,923
cc
C++
src/fdb5/types/TypeTime.cc
dvuckovic/fdb
c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2
[ "Apache-2.0" ]
5
2020-01-03T10:23:05.000Z
2021-10-21T12:52:47.000Z
src/fdb5/types/TypeTime.cc
dvuckovic/fdb
c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2
[ "Apache-2.0" ]
null
null
null
src/fdb5/types/TypeTime.cc
dvuckovic/fdb
c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2
[ "Apache-2.0" ]
1
2021-07-08T16:26:06.000Z
2021-07-08T16:26:06.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...
28.279412
120
0.554862
dvuckovic
84a7ad34c1b7631dfbce902fcdddbbe570b70d38
19,099
cpp
C++
SoA/TestBiomeScreen.cpp
Revan1985/SoACode-Public
c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe
[ "MIT" ]
267
2018-06-03T23:05:05.000Z
2022-03-17T00:28:40.000Z
SoA/TestBiomeScreen.cpp
davidkestering/SoACode-Public
c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe
[ "MIT" ]
16
2018-06-05T18:59:11.000Z
2021-09-28T05:05:16.000Z
SoA/TestBiomeScreen.cpp
davidkestering/SoACode-Public
c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe
[ "MIT" ]
113
2018-06-03T23:56:13.000Z
2022-03-21T00:07:16.000Z
#include "stdafx.h" #include "TestBiomeScreen.h" #include <Vorb/ui/InputDispatcher.h> #include <Vorb/colors.h> #include "App.h" #include "ChunkRenderer.h" #include "DevConsole.h" #include "InputMapper.h" #include "Inputs.h" #include "LoadTaskBlockData.h" #include "RenderUtils.h" #include "ShaderLoader.h" #include "So...
36.941973
156
0.591392
Revan1985
84aa2b80d01d0db6875c37daed06be8580d112e4
73,265
cpp
C++
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs47.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs47.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs47.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Collections.Generic.IEqualityComparer`1<WindTurbineScriptableObject> struct IEqualityComparer_1_t754733F7B8BE7D6A4821...
47.025032
257
0.819969
JBrentJ
84ad32e1a1e176b44e4c9c1187af7f74d8f815c2
679
cpp
C++
solved-problems/google-coding-competitions/kick-start/2019/Practice-Round/B.Mural.cpp
developer4fun/competitive_programming
9e95945ae63d41696ca7b50f026b8fe05aec49de
[ "MIT" ]
1
2022-02-14T14:14:21.000Z
2022-02-14T14:14:21.000Z
solved-problems/google-coding-competitions/kick-start/2019/Practice-Round/B.Mural.cpp
developer4fun/competitiveProgramming
9e95945ae63d41696ca7b50f026b8fe05aec49de
[ "MIT" ]
6
2022-01-16T21:15:24.000Z
2022-03-04T15:59:28.000Z
kick-start/2019/Practice-Round/B.Mural.cpp
ggardusi/google-coding-competitions
878d0ad0a4abed6862d0667248e1008b8bb56fb5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; std::mt19937 rng(int(std::chrono::steady_clock::now().time_since_epoch().count())); int main() { std::ios_base::sync_with_stdio(0); std::cin.tie(0); std::cout.tie(0); int t; cin >> t; for (int test = 1; test <= t; test += 1) { int n; cin >> n; stri...
22.633333
83
0.46539
developer4fun
84adfe612e28a1f96e52258759f384640de582ba
277
cpp
C++
0383-Ransom-Note/cpp_0383/main.cpp
ooooo-youwillsee/leetcode
07b273f133c8cf755ea40b3ae9df242ce044823c
[ "MIT" ]
12
2020-03-18T14:36:23.000Z
2021-12-19T02:24:33.000Z
0383-Ransom-Note/cpp_0383/main.cpp
ooooo-youwillsee/leetcode
07b273f133c8cf755ea40b3ae9df242ce044823c
[ "MIT" ]
null
null
null
0383-Ransom-Note/cpp_0383/main.cpp
ooooo-youwillsee/leetcode
07b273f133c8cf755ea40b3ae9df242ce044823c
[ "MIT" ]
null
null
null
#include <iostream> //#include "Solution1.h" #include "Solution2.h" void test(string s1, string s2) { Solution solution; cout << solution.canConstruct(s1, s2) << endl; } int main() { test("a", "b"); // 0 test("aa", "ab"); // 0 test("aa", "aab"); // 1 return 0; }
17.3125
48
0.581227
ooooo-youwillsee
84aeafb91e3ce385a621876dfe0a650bb993fd00
6,310
cpp
C++
KEIHANNA_MAIN-teensy40/src/main.cpp
nakamoto800/Hercules_2022
e50347fdba847e81ffbc24f3e9a720c460e6b9f3
[ "MIT" ]
2
2022-03-03T13:51:09.000Z
2022-03-03T13:51:11.000Z
KEIHANNA_MAIN-teensy40/src/main.cpp
nakamoto800/Hercules_2022
e50347fdba847e81ffbc24f3e9a720c460e6b9f3
[ "MIT" ]
null
null
null
KEIHANNA_MAIN-teensy40/src/main.cpp
nakamoto800/Hercules_2022
e50347fdba847e81ffbc24f3e9a720c460e6b9f3
[ "MIT" ]
1
2022-01-29T22:19:49.000Z
2022-01-29T22:19:49.000Z
//ライブラリ読み込み #include <Arduino.h> #include <DSR1202.h> #include <U8g2lib.h> //ライブラリセットアップ DSR1202 dsr1202(1); //AQM1248Aは128 * 48 U8G2_ST7565_AK_AQM1248_F_4W_HW_SPI u8g2(U8G2_R0, 10, 34, 35); //CS, DC(RS), Reset(適当) //定数置き場 #define buzzer 33 //圧電ブザー #define button_LCD_R 27 //タクトスイッチ(右) #define button_LCD_L 32 //タクトスイ...
26.851064
105
0.538827
nakamoto800