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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a9918e4f7a72bf0be080b310ff028b658ad8ef5e | 8,353 | cpp | C++ | build/linux-build/Sources/src/zpp_nape/util/ZNPNode_ZPP_Constraint.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/zpp_nape/util/ZNPNode_ZPP_Constraint.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/zpp_nape/util/ZNPNode_ZPP_Constraint.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | // Generated by Haxe 4.0.0-preview.5
#include <hxcpp.h>
#ifndef INCLUDED_zpp_nape_constraint_ZPP_Constraint
#include <hxinc/zpp_nape/constraint/ZPP_Constraint.h>
#endif
#ifndef INCLUDED_zpp_nape_util_ZNPNode_ZPP_Constraint
#include <hxinc/zpp_nape/util/ZNPNode_ZPP_Constraint.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_98... | 36.960177 | 203 | 0.774213 | HedgehogFog |
a9920d621af1be84ba993ce5ef5078ca74ef1c23 | 4,331 | hpp | C++ | cell_based/test/simulation/Test2dVertexBasedSimulationWithFreeBoundary.hpp | mdp19pn/Chaste | f7b6bafa64287d567125b587b29af6d8bd7aeb90 | [
"Apache-2.0",
"BSD-3-Clause"
] | 100 | 2015-02-23T08:32:23.000Z | 2022-02-25T11:39:26.000Z | cell_based/test/simulation/Test2dVertexBasedSimulationWithFreeBoundary.hpp | mdp19pn/Chaste | f7b6bafa64287d567125b587b29af6d8bd7aeb90 | [
"Apache-2.0",
"BSD-3-Clause"
] | 11 | 2017-06-14T13:48:43.000Z | 2022-03-10T10:42:07.000Z | cell_based/test/simulation/Test2dVertexBasedSimulationWithFreeBoundary.hpp | mdp19pn/Chaste | f7b6bafa64287d567125b587b29af6d8bd7aeb90 | [
"Apache-2.0",
"BSD-3-Clause"
] | 53 | 2015-02-23T13:52:44.000Z | 2022-02-28T18:57:35.000Z | /*
Copyright (c) 2005-2021, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | 37.991228 | 100 | 0.758947 | mdp19pn |
a9931a90720b29f85ceec2f45caa1693d9b75a25 | 291 | cpp | C++ | 1-6-6z.cpp | Kaermor/stepik-course363-cpp | 7df3381ee5460565754745b6d48ed3f1324e73ef | [
"Apache-2.0"
] | null | null | null | 1-6-6z.cpp | Kaermor/stepik-course363-cpp | 7df3381ee5460565754745b6d48ed3f1324e73ef | [
"Apache-2.0"
] | null | null | null | 1-6-6z.cpp | Kaermor/stepik-course363-cpp | 7df3381ee5460565754745b6d48ed3f1324e73ef | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main() {
double n, sum, k;
cin >> n;
while (n != 0){
sum = sum + n;
k++;
cin >> n;
}
cout << setprecision(11) << fixed;
cout << sum/k << endl;
return 0;
}
| 14.55 | 38 | 0.484536 | Kaermor |
a9943c77e79fd002974dacddcc2ee90d6d34ea9c | 3,921 | cpp | C++ | vm/objects.cpp | dch/factor | faacbb58e0738a0612a04b792a3f6ff4929134ff | [
"BSD-2-Clause"
] | null | null | null | vm/objects.cpp | dch/factor | faacbb58e0738a0612a04b792a3f6ff4929134ff | [
"BSD-2-Clause"
] | null | null | null | vm/objects.cpp | dch/factor | faacbb58e0738a0612a04b792a3f6ff4929134ff | [
"BSD-2-Clause"
] | null | null | null | #include "master.hpp"
namespace factor {
void factor_vm::primitive_special_object() {
fixnum n = untag_fixnum(ctx->peek());
ctx->replace(special_objects[n]);
}
void factor_vm::primitive_set_special_object() {
fixnum n = untag_fixnum(ctx->pop());
cell value = ctx->pop();
special_objects[n] = value;
}
void ... | 27.229167 | 78 | 0.680949 | dch |
a9978a041f6824ddab4134a91bc9b57c1b799da7 | 4,167 | cpp | C++ | unittests/tdfs.cpp | hungptit/graph | 8f39e8af1ea3bd3ad36190559553da5c55648aae | [
"MIT"
] | null | null | null | unittests/tdfs.cpp | hungptit/graph | 8f39e8af1ea3bd3ad36190559553da5c55648aae | [
"MIT"
] | null | null | null | unittests/tdfs.cpp | hungptit/graph | 8f39e8af1ea3bd3ad36190559553da5c55648aae | [
"MIT"
] | null | null | null | #include <iostream>
#include <tuple>
#include <vector>
#include "fmt/format.h"
#include "graph/graph.hpp"
#include "Data.hpp"
#include "cereal/archives/binary.hpp"
#include "cereal/archives/json.hpp"
#include "cereal/archives/portable_binary.hpp"
#include "cereal/archives/xml.hpp"
#include "cereal/types/array.hpp"
#... | 29.764286 | 90 | 0.658987 | hungptit |
a9986869f1116f9bdfa4c7d1f673bba821397e21 | 884 | hpp | C++ | src/include/duckdb/planner/operator/logical_filter.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | 2 | 2020-01-07T17:19:02.000Z | 2020-01-09T22:04:04.000Z | src/include/duckdb/planner/operator/logical_filter.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | src/include/duckdb/planner/operator/logical_filter.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// DuckDB
//
// planner/operator/logical_filter.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/planner/logical_operator.hpp"
namespace duc... | 26.787879 | 80 | 0.602941 | RelationalAI-oss |
a99b9072f61187f3b72202784af1d6be9ffcb9ca | 1,006 | hpp | C++ | core/network/grandpa_transmitter.hpp | soramitsu/kagome | d66755924477f2818fcae30ba2e65681fce34264 | [
"Apache-2.0"
] | 110 | 2019-04-03T13:39:39.000Z | 2022-03-09T11:54:42.000Z | core/network/grandpa_transmitter.hpp | soramitsu/kagome | d66755924477f2818fcae30ba2e65681fce34264 | [
"Apache-2.0"
] | 890 | 2019-03-22T21:33:30.000Z | 2022-03-31T14:31:22.000Z | core/network/grandpa_transmitter.hpp | soramitsu/kagome | d66755924477f2818fcae30ba2e65681fce34264 | [
"Apache-2.0"
] | 27 | 2019-06-25T06:21:47.000Z | 2021-11-01T14:12:10.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_NETWORK_GRANDPATRANSMITTER
#define KAGOME_NETWORK_GRANDPATRANSMITTER
#include <libp2p/peer/peer_id.hpp>
#include "network/types/grandpa_message.hpp"
namespace kagome::network {
/**
* Send/broadc... | 29.588235 | 75 | 0.695825 | soramitsu |
a99bae105113f72886b8e3cdefc10d046f88b6d7 | 676 | hh | C++ | src/plugin/input/input/api/bugengine/plugin.input.input/controllers/wincontrol.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | src/plugin/input/input/api/bugengine/plugin.input.input/controllers/wincontrol.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | null | null | null | src/plugin/input/input/api/bugengine/plugin.input.input/controllers/wincontrol.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | /* BugEngine <bugengine.devel@gmail.com>
see LICENSE for detail */
#ifndef BE_INPUT_CONTROLLERS_WINCONTROL_HH_
#define BE_INPUT_CONTROLLERS_WINCONTROL_HH_
/**************************************************************************************************/
#include <bugengine/plugin.input.input/stdafx.h>
#include <b... | 27.04 | 100 | 0.535503 | bugengine |
a99d47c3839c2f8354c85adb473725281fe17ebc | 5,251 | cc | C++ | stack/mcap/mca_dact.cc | digi-embedded/android_platform_system_bt | 635ddc5671274697ecfc9d4d44881f23d73a4cd0 | [
"Apache-2.0"
] | null | null | null | stack/mcap/mca_dact.cc | digi-embedded/android_platform_system_bt | 635ddc5671274697ecfc9d4d44881f23d73a4cd0 | [
"Apache-2.0"
] | null | null | null | stack/mcap/mca_dact.cc | digi-embedded/android_platform_system_bt | 635ddc5671274697ecfc9d4d44881f23d73a4cd0 | [
"Apache-2.0"
] | 2 | 2019-05-30T08:37:28.000Z | 2019-10-01T16:39:33.000Z | /******************************************************************************
*
* Copyright (C) 2009-2012 Broadcom Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
... | 33.44586 | 80 | 0.496477 | digi-embedded |
a99e0afd23777c3561f350d3aceb141b1c9b3664 | 72,093 | cc | C++ | chrome/browser/predictors/resource_prefetch_predictor_unittest.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | chrome/browser/predictors/resource_prefetch_predictor_unittest.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/predictors/resource_prefetch_predictor_unittest.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 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/predictors/resource_prefetch_predictor.h"
#include <iostream>
#include <memory>
#include <utility>
#include "base/memory/ptr_ut... | 46.391892 | 80 | 0.693022 | xzhan96 |
a99e0b809be646f6f08f77c79fc13623288e49ee | 1,115 | cpp | C++ | tmp/binary_value.cpp | Ahmed-Zamouche/cpp | 73136b5a350d3b95f0ae7e9ff007402e8f8214df | [
"MIT"
] | null | null | null | tmp/binary_value.cpp | Ahmed-Zamouche/cpp | 73136b5a350d3b95f0ae7e9ff007402e8f8214df | [
"MIT"
] | null | null | null | tmp/binary_value.cpp | Ahmed-Zamouche/cpp | 73136b5a350d3b95f0ae7e9ff007402e8f8214df | [
"MIT"
] | null | null | null | #include <iostream>
#include <type_traits>
#include <vector>
#define NDEBUG
template <bool a_0>
int reversed_binary_value() {
#ifndef NDEBUG
std::cout << __PRETTY_FUNCTION__ << ": " << a_0 << std::endl;
#endif
return a_0;
}
template <bool a_n_minus_1, bool a_n_minus_2, bool... digits>
int reversed_binary_value()... | 23.229167 | 78 | 0.647534 | Ahmed-Zamouche |
a9a13018a1376f05beec1401a95ea8ad5a6be308 | 11,688 | cpp | C++ | src/jbdl/experimental/cuosqp/osqp_sources/src/util.cpp | yz-mao/jbdl | a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb | [
"MIT"
] | 21 | 2021-08-29T06:59:18.000Z | 2022-01-13T22:53:02.000Z | src/jbdl/experimental/cuosqp/osqp_sources/src/util.cpp | yz-mao/jbdl | a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb | [
"MIT"
] | 2 | 2021-08-31T08:34:09.000Z | 2021-09-06T07:40:51.000Z | src/jbdl/experimental/cuosqp/osqp_sources/src/util.cpp | yz-mao/jbdl | a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb | [
"MIT"
] | 4 | 2021-08-29T06:59:22.000Z | 2021-10-04T05:59:41.000Z | #include "osqp.h"
#include "util.h"
#include "algebra_vector.h"
/************************************
* Printing Constants to set Layout *
************************************/
#ifdef PRINTING
# define HEADER_LINE_LEN 65
#endif /* ifdef PRINTING */
/**********************
* Utility Functions *
*********************... | 24.710359 | 84 | 0.590178 | yz-mao |
a9a17d3ffdc8214ced17d14a2f2323433b90dba8 | 12,372 | cpp | C++ | tdmq/src/v20200217/model/AMQPQueueDetail.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tdmq/src/v20200217/model/AMQPQueueDetail.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tdmq/src/v20200217/model/AMQPQueueDetail.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 28.974239 | 154 | 0.696492 | suluner |
a9a3e31e8459ce3f87fb327f70d7c40e297d4d6c | 880 | cpp | C++ | 18_List_Kullanimi/src/main.cpp | KMACEL/TR-Cpp | dac7bebd1d5fd2d69a76be5a9809417333f01817 | [
"Apache-2.0"
] | 1 | 2021-05-25T22:11:13.000Z | 2021-05-25T22:11:13.000Z | 18_List_Kullanimi/src/main.cpp | KMACEL/TR-Cpp | dac7bebd1d5fd2d69a76be5a9809417333f01817 | [
"Apache-2.0"
] | null | null | null | 18_List_Kullanimi/src/main.cpp | KMACEL/TR-Cpp | dac7bebd1d5fd2d69a76be5a9809417333f01817 | [
"Apache-2.0"
] | null | null | null | //============================================================================
// İsim : 18_List_Kullanımı
// Yazan : Mert AceL
// Version : 1.0
// Copyright : AceL
// Açıklama : Listelere Giriş
//============================================================================
#include <iostream>
#inc... | 22.564103 | 78 | 0.421591 | KMACEL |
a9a66f8e56e123a1234a549f9e95dce921456214 | 1,764 | cpp | C++ | src/section.cpp | YureiResearchInstitute/Yo-kai_Editor_B2 | 990809487492a95dec388ee04d2eab80e190c88d | [
"MIT"
] | 2 | 2021-06-21T21:42:30.000Z | 2021-06-21T21:42:33.000Z | src/section.cpp | YureiResearchInstitute/Yo-kai_Editor_B2 | 990809487492a95dec388ee04d2eab80e190c88d | [
"MIT"
] | null | null | null | src/section.cpp | YureiResearchInstitute/Yo-kai_Editor_B2 | 990809487492a95dec388ee04d2eab80e190c88d | [
"MIT"
] | 4 | 2019-11-07T04:23:58.000Z | 2021-08-29T01:17:21.000Z | #include "section.h"
Section::Section(QTreeWidget* parent, quint32 id, quint32 size, quint32 offset)
: QTreeWidgetItem(parent, Section::Type)
, id(id)
, size(size)
, offset(offset)
{
this->setText(0, QString::number(id));
}
Section::~Section()
{
}
quint32 Section::getId() const
{
return id;
}... | 20.045455 | 90 | 0.630385 | YureiResearchInstitute |
a9a6b4e487a279ddea9a36cfeca9790624b3242c | 4,424 | cpp | C++ | main.cpp | budacalorin/BomberMan | 715aeaa0d43b1f887ddd8202c75e7f5380657ff8 | [
"Apache-2.0"
] | null | null | null | main.cpp | budacalorin/BomberMan | 715aeaa0d43b1f887ddd8202c75e7f5380657ff8 | [
"Apache-2.0"
] | null | null | null | main.cpp | budacalorin/BomberMan | 715aeaa0d43b1f887ddd8202c75e7f5380657ff8 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <cstdlib>
#include "init.h"
//#include "scena_meniu.h"
//#include "scena_joc.h"
//#include "player.h"
using namespace std;
/////////////////////////////////////////////////////////////
int latime_pereti_exterior=30;
int hight=510+lat... | 26.812121 | 105 | 0.676085 | budacalorin |
a9a6f3cec6bc5f7f3e2f303a0fa454bd91800561 | 6,823 | hpp | C++ | alpaka/include/alpaka/meta/CudaVectorArrayWrapper.hpp | ComputationalRadiationPhysics/mallocMC | bb2b32a4a56f7c892e14454bf6aa373a4870c32c | [
"MIT"
] | 25 | 2015-01-30T12:19:48.000Z | 2020-10-30T07:52:45.000Z | alpaka/include/alpaka/meta/CudaVectorArrayWrapper.hpp | ComputationalRadiationPhysics/mallocMC | bb2b32a4a56f7c892e14454bf6aa373a4870c32c | [
"MIT"
] | 101 | 2015-01-06T11:31:26.000Z | 2020-11-09T13:51:19.000Z | alpaka/include/alpaka/meta/CudaVectorArrayWrapper.hpp | ComputationalRadiationPhysics/mallocMC | bb2b32a4a56f7c892e14454bf6aa373a4870c32c | [
"MIT"
] | 10 | 2015-06-10T07:54:30.000Z | 2020-05-06T10:07:39.000Z | /* Copyright 2022 Jiří Vyskočil, Jan Stephan, Bernhard Manfred Gruber
*
* This file is part of alpaka.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#prag... | 28.548117 | 115 | 0.56163 | ComputationalRadiationPhysics |
a9a7979da7f2ac3c8fb0c5591875f08c287659ef | 2,173 | cpp | C++ | deps/src/boost_1_65_1/libs/type_traits/test/is_volatile_test.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2018-12-15T20:03:51.000Z | 2018-12-15T20:03:51.000Z | deps/src/boost_1_65_1/libs/type_traits/test/is_volatile_test.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 3 | 2021-09-08T02:18:00.000Z | 2022-03-12T00:39:44.000Z | deps/src/boost_1_65_1/libs/type_traits/test/is_volatile_test.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2020-10-21T17:46:28.000Z | 2020-10-21T17:46:28.000Z |
// (C) Copyright John Maddock 2000.
// 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)
#include "test.hpp"
#include "check_integral_constant.hpp"
#ifdef TEST_STD
# include <typ... | 50.534884 | 85 | 0.790612 | shreyasvj25 |
a9a89923e3ebcf662babeca9efe65b59f738bb96 | 47,495 | cc | C++ | camera/features/hdrnet/hdrnet_stream_manipulator.cc | ascii33/platform2 | b78891020724e9ff26b11ca89c2a53f949e99748 | [
"BSD-3-Clause"
] | null | null | null | camera/features/hdrnet/hdrnet_stream_manipulator.cc | ascii33/platform2 | b78891020724e9ff26b11ca89c2a53f949e99748 | [
"BSD-3-Clause"
] | null | null | null | camera/features/hdrnet/hdrnet_stream_manipulator.cc | ascii33/platform2 | b78891020724e9ff26b11ca89c2a53f949e99748 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2021 The Chromium OS 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 "features/hdrnet/hdrnet_stream_manipulator.h"
#include <algorithm>
#include <optional>
#include <string>
#include <utility>
#include ... | 38.08741 | 80 | 0.696789 | ascii33 |
a9a93353a3714a7d91319cba525ccf23fcded2fc | 6,778 | hpp | C++ | Nacro/SDK/FN_GameplayTasks_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_GameplayTasks_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_GameplayTasks_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function GameplayTasks... | 59.982301 | 173 | 0.537179 | Milxnor |
a9a9d46b58bdec91c41d4ec820adf91b9dc9f15a | 2,622 | cpp | C++ | COGengine/src/Behaviors/Slider.cpp | dodoknight/CogEngine | fda1193c2d1258ba9780e1025933d33a8dce2284 | [
"MIT"
] | 3 | 2016-06-01T10:14:00.000Z | 2016-10-11T15:53:45.000Z | COGengine/src/Behaviors/Slider.cpp | dormantor/ofxCogEngine | fda1193c2d1258ba9780e1025933d33a8dce2284 | [
"MIT"
] | null | null | null | COGengine/src/Behaviors/Slider.cpp | dormantor/ofxCogEngine | fda1193c2d1258ba9780e1025933d33a8dce2284 | [
"MIT"
] | 1 | 2020-08-15T17:01:00.000Z | 2020-08-15T17:01:00.000Z |
#include "Slider.h"
#include "MsgPayloads.h"
#include "ofxCogEngine.h"
#include "Scene.h"
#include "Node.h"
namespace Cog {
Slider::Slider(Node* body, Node* text) :body(body), text(text) {
}
void Slider::Load(Setting& setting) {
this->bodyNodeTag = setting.GetItemVal("body");
this->textNodeTag = setting.Get... | 30.847059 | 132 | 0.681159 | dodoknight |
a9aaf8fa812fa1b5d662cf452122ccc7c4e2502a | 1,065 | cpp | C++ | 2524/5364663_AC_329MS_448K.cpp | vandreas19/POJ_sol | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 18 | 2017-08-14T07:34:42.000Z | 2022-01-29T14:20:29.000Z | 2524/5364663_AC_329MS_448K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | null | null | null | 2524/5364663_AC_329MS_448K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 14 | 2016-12-21T23:37:22.000Z | 2021-07-24T09:38:57.000Z | #include<cstdio>
int GetRoot(int ID,int *father){
if(father[ID]==ID)
return ID;
return father[ID]=GetRoot(father[ID],father);
}
int main(){
const int STUDENT_MAX=50000;
int studentNum,pairNum,caseID=1;
int father[STUDENT_MAX];
bool religionRoot[STUDENT_MAX];
while(true){
scanf("%d%d",&student... | 24.767442 | 50 | 0.635681 | vandreas19 |
a9afacebb66aa4577dfe6c76d84fcddfdd9d3529 | 16,503 | cpp | C++ | src/framework/shared/irphandlers/pnp/notpowerpolicyownerstatemachine.cpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 994 | 2015-03-18T21:37:07.000Z | 2019-04-26T04:04:14.000Z | src/framework/shared/irphandlers/pnp/notpowerpolicyownerstatemachine.cpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 13 | 2019-06-13T15:58:03.000Z | 2022-02-18T22:53:35.000Z | src/framework/shared/irphandlers/pnp/notpowerpolicyownerstatemachine.cpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 350 | 2015-03-19T04:29:46.000Z | 2019-05-05T23:26:50.000Z | /*++
Copyright (c) Microsoft. All rights reserved.
Module Name:
NotPowerPolicyOwnerStateMachine.cpp
Abstract:
This module implements the Not Power Policy Owner state machine for the driver
framework. This code was split out from PowerPolicyStateMachine.cpp
Author:
Environment:
Both kernel an... | 27.782828 | 108 | 0.722535 | IT-Enthusiast-Nepal |
a9b2b139c0e272b416107068aacde7049df4e8de | 4,599 | hpp | C++ | include/System/Xml/Serialization/SerializationSource.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/Xml/Serialization/SerializationSource.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/Xml/Serialization/SerializationSource.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils-met... | 49.451613 | 244 | 0.736682 | v0idp |
a9b3ad1226ae42c3627be2ad3e8576037e005f94 | 1,778 | cpp | C++ | GAMES/SFZ/font.cpp | prashantkamdar/ESPboy_Arduboy2_lib | ee0483c84c21a235e6930597f7839be30fd7a7b1 | [
"MIT"
] | 16 | 2020-03-03T12:58:41.000Z | 2022-03-21T06:56:48.000Z | GAMES/SFZ/font.cpp | prashantkamdar/ESPboy_Arduboy2_lib | ee0483c84c21a235e6930597f7839be30fd7a7b1 | [
"MIT"
] | 1 | 2021-04-25T19:38:21.000Z | 2021-04-25T19:38:21.000Z | GAMES/SFZ/font.cpp | prashantkamdar/ESPboy_Arduboy2_lib | ee0483c84c21a235e6930597f7839be30fd7a7b1 | [
"MIT"
] | 5 | 2020-03-18T13:56:02.000Z | 2021-11-23T08:16:02.000Z | // font.chr
//
#include "font.h"
const unsigned char fontTable[] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00,
0x03, 0x00, 0x03, 0x00, 0x1f, 0x0a, 0x1f, 0x00,
0x16, 0x1f, 0x0d, 0x00, 0x0b, 0x04, 0x1a, 0x00,
0x0a, 0x15, 0x1a, 0x00, 0x00, 0x03, 0x00, 0x00,
0x00, 0x0e, 0x11, 0x00, 0x... | 44.45 | 52 | 0.605174 | prashantkamdar |
a9b5fe775435d0edad617bf0759c549a9ed39bbe | 3,743 | hpp | C++ | src/game/sys/physics/physics_comp.hpp | lowkey42/BanishedBlaze | 71e66f444a84bea1eca3639de3f3ff1f79e385d1 | [
"MIT"
] | null | null | null | src/game/sys/physics/physics_comp.hpp | lowkey42/BanishedBlaze | 71e66f444a84bea1eca3639de3f3ff1f79e385d1 | [
"MIT"
] | null | null | null | src/game/sys/physics/physics_comp.hpp | lowkey42/BanishedBlaze | 71e66f444a84bea1eca3639de3f3ff1f79e385d1 | [
"MIT"
] | null | null | null | /** An entity that participates in collision resolution **********************
* *
* Copyright (c) 2016 Florian Oetke *
* This file is distributed under the MIT License *
* ... | 30.680328 | 99 | 0.64841 | lowkey42 |
a9b71c5db9af607c9172b0124ecd1f6ccd9bc67a | 41,251 | cc | C++ | src/tensorflow/ops/image/image.cc | MartinR20/tensorflow.nim | 081f558396461bd57d55c00cda91e8dfc339c09c | [
"Apache-2.0"
] | 8 | 2019-11-26T20:50:46.000Z | 2021-02-21T18:20:00.000Z | src/tensorflow/ops/image/image.cc | MartinR20/tensorflow.nim | 081f558396461bd57d55c00cda91e8dfc339c09c | [
"Apache-2.0"
] | 3 | 2019-11-07T15:16:06.000Z | 2020-03-11T21:42:59.000Z | src/tensorflow/ops/image/image.cc | MartinR20/tensorflow.nim | 081f558396461bd57d55c00cda91e8dfc339c09c | [
"Apache-2.0"
] | 2 | 2019-11-07T15:18:56.000Z | 2020-10-09T13:51:41.000Z | #include "tensorflow/cc/ops/const_op.h"
#include "image.h"
AdjustContrast::AdjustContrast(tensorflow::Scope& scope,
tensorflow::Input images,
tensorflow::Input contrast_factor,
tensorflow::Input min_value,
tensorflow::Input max_value) {
if (!scope.ok())
r... | 43.104493 | 106 | 0.562992 | MartinR20 |
a9b7813b425d9cfc2d027aa6221036a6f67f63e9 | 4,767 | cpp | C++ | src/mame/drivers/ymdx100.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/ymdx100.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/ymdx100.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:AJR
/*******************************************************************************
Skeleton driver for Yamaha DX100 & DX27 FM synthesizers.
The main differences between DX100 and DX27 are that DX27 has 61 keys
rather than 49, but DX100 is portable and can run... | 32.875862 | 152 | 0.7103 | Robbbert |
a9b7dddb9080c4466de6e20a251b538f9ee83caa | 2,717 | cpp | C++ | Public/src/Sandbox/MacOs/BuildXLSandbox/Src/Kauth/TrustedBsdHandler.cpp | blufugen/BuildXL | b7f33c72a3c9a8463fc6d656214a5c5dfccac7ad | [
"MIT"
] | null | null | null | Public/src/Sandbox/MacOs/BuildXLSandbox/Src/Kauth/TrustedBsdHandler.cpp | blufugen/BuildXL | b7f33c72a3c9a8463fc6d656214a5c5dfccac7ad | [
"MIT"
] | null | null | null | Public/src/Sandbox/MacOs/BuildXLSandbox/Src/Kauth/TrustedBsdHandler.cpp | blufugen/BuildXL | b7f33c72a3c9a8463fc6d656214a5c5dfccac7ad | [
"MIT"
] | null | null | null | //
// TrustedBsdHandler.cpp
//
// Copyright © 2018 Microsoft. All rights reserved.
//
#include "TrustedBsdHandler.hpp"
#include "OpNames.hpp"
int TrustedBsdHandler::HandleLookup(const char *path)
{
PolicyResult policyResult = PolicyForPath(path);
AccessCheckResult checkResult = policyResult.CheckReadAccess... | 31.593023 | 111 | 0.67869 | blufugen |
a9b804d9bfb232dbdb24136e837d2fced7982b89 | 10,643 | cpp | C++ | examples/as_game/scriptmgr.cpp | PleXone2019/ProDBG | c7042f32da9e54662c3c575725c4cd24a878a2de | [
"MIT"
] | 445 | 2015-01-04T16:30:56.000Z | 2022-03-30T02:27:05.000Z | examples/as_game/scriptmgr.cpp | PleXone2019/ProDBG | c7042f32da9e54662c3c575725c4cd24a878a2de | [
"MIT"
] | 305 | 2015-01-04T09:20:03.000Z | 2020-10-01T08:45:45.000Z | examples/as_game/scriptmgr.cpp | PleXone2019/ProDBG | c7042f32da9e54662c3c575725c4cd24a878a2de | [
"MIT"
] | 49 | 2015-02-14T01:43:38.000Z | 2022-02-15T17:03:55.000Z | #include "scriptmgr.h"
#include "gamemgr.h"
#include "gameobj.h"
#include <iostream> // cout
#include <stdio.h> // fopen, fclose
#include <string.h> // strcmp
#include <assert.h>
#include <add_on/scriptstdstring/scriptstdstring.h>
#include <add_on/scriptbuilder/scriptbuilder.h>
#include <add_on/weakref/weakref.h>
us... | 32.647239 | 178 | 0.703937 | PleXone2019 |
a9b877861437253e1b573acee3a83ae4784a75fb | 1,745 | hpp | C++ | src/org/apache/poi/ss/formula/SheetNameFormatter.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/formula/SheetNameFormatter.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/formula/SheetNameFormatter.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/ss/formula/SheetNameFormatter.java
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <java/util/regex/fwd-POI.hpp>
#include <org/apache/poi/ss/formula/fwd-POI.hpp>
#include <java/lang/Object.hpp>
struct default_init_tag;
class poi::ss::formula::... | 30.614035 | 134 | 0.714613 | pebble2015 |
a9b8f12283b6c49465c6aaa36c89acd50148f3b0 | 8,135 | cc | C++ | wrspice/src/cp/backq.cc | wrcad/xictools | f46ba6d42801426739cc8b2940a809b74f1641e2 | [
"Apache-2.0"
] | 73 | 2017-10-26T12:40:24.000Z | 2022-03-02T16:59:43.000Z | wrspice/src/cp/backq.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 12 | 2017-11-01T10:18:22.000Z | 2022-03-20T19:35:36.000Z | wrspice/src/cp/backq.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 34 | 2017-10-06T17:04:21.000Z | 2022-02-18T16:22:03.000Z |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | 34.914163 | 77 | 0.440688 | wrcad |
a9bc315f64584fde916e9dae2b253b071fad43d2 | 69,802 | cc | C++ | be/src/exec/partitioned_aggregation_node.cc | shengyunyao/incubator-doris | 036ef5bcb991658bb5187e81d91a66dfeaeddda3 | [
"Apache-2.0"
] | 1 | 2020-04-04T08:45:42.000Z | 2020-04-04T08:45:42.000Z | be/src/exec/partitioned_aggregation_node.cc | songenjie/incubator-doris | 7f148c188efcefd816ab299aa65526207ea05c8f | [
"Apache-2.0"
] | null | null | null | be/src/exec/partitioned_aggregation_node.cc | songenjie/incubator-doris | 7f148c188efcefd816ab299aa65526207ea05c8f | [
"Apache-2.0"
] | 1 | 2020-01-06T08:25:22.000Z | 2020-01-06T08:25:22.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... | 44.403308 | 111 | 0.636114 | shengyunyao |
a9bdf9cfefc18b5ef3c2b65a86839bc1d4a4ab51 | 3,533 | hpp | C++ | src/AFQMC/Utilities/hdf5_consistency_helper.hpp | Hyeondeok-Shin/qmcpack | 2b853b6eaa15a795eee9d92085e74b97bd69abc7 | [
"NCSA"
] | null | null | null | src/AFQMC/Utilities/hdf5_consistency_helper.hpp | Hyeondeok-Shin/qmcpack | 2b853b6eaa15a795eee9d92085e74b97bd69abc7 | [
"NCSA"
] | 11 | 2020-05-09T20:57:21.000Z | 2020-06-10T00:00:17.000Z | src/AFQMC/Utilities/hdf5_consistency_helper.hpp | Hyeondeok-Shin/qmcpack | 2b853b6eaa15a795eee9d92085e74b97bd69abc7 | [
"NCSA"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source
// License. See LICENSE file in top directory for details.
//
// Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
//
// File developed by:
// Miguel Mora... | 26.365672 | 99 | 0.636003 | Hyeondeok-Shin |
a9be040ed0bd726478b0faf3fe0c1ef9101ecdc6 | 14,829 | cpp | C++ | PostGL/GLVolumeFlowPlot.cpp | EMinsight/FEBioStudio | d3e6485610d19217550fb94cb22180bc4bda45f9 | [
"MIT"
] | null | null | null | PostGL/GLVolumeFlowPlot.cpp | EMinsight/FEBioStudio | d3e6485610d19217550fb94cb22180bc4bda45f9 | [
"MIT"
] | null | null | null | PostGL/GLVolumeFlowPlot.cpp | EMinsight/FEBioStudio | d3e6485610d19217550fb94cb22180bc4bda45f9 | [
"MIT"
] | null | null | null | /*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2021 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any pers... | 26.815552 | 132 | 0.576978 | EMinsight |
a9c0133b9f104104cb5810785435ad255377e0cf | 1,284 | hpp | C++ | include/cpp/reproc/error.hpp | jetm/reproc | 8289864d73172fba063078549b6e37369c6ecae7 | [
"MIT"
] | 1 | 2020-01-13T12:52:19.000Z | 2020-01-13T12:52:19.000Z | include/cpp/reproc/error.hpp | jetm/reproc | 8289864d73172fba063078549b6e37369c6ecae7 | [
"MIT"
] | null | null | null | include/cpp/reproc/error.hpp | jetm/reproc | 8289864d73172fba063078549b6e37369c6ecae7 | [
"MIT"
] | null | null | null | /*! \file error.hpp */
#ifndef REPROC_ERROR_HPP
#define REPROC_ERROR_HPP
#include "export.hpp"
#include <system_error>
/*! \namespace reproc */
namespace reproc
{
/*! \see REPROC_ERROR */
// When editing make sure to change the corresponding enum in error.h as well.
enum class errc {
// reproc errors
/*! #REP... | 19.454545 | 78 | 0.713396 | jetm |
a9c1cbb631d3b337281c74fa3054015f79e45fdc | 2,500 | cpp | C++ | StockCommission/StockCommission.cpp | wof8317/StockCommission | cd1bad666a3f64132d1a10da9ee5b8ea5e19d48e | [
"WTFPL"
] | 1 | 2021-09-16T23:44:04.000Z | 2021-09-16T23:44:04.000Z | StockCommission/StockCommission.cpp | wof8317/StockCommission | cd1bad666a3f64132d1a10da9ee5b8ea5e19d48e | [
"WTFPL"
] | null | null | null | StockCommission/StockCommission.cpp | wof8317/StockCommission | cd1bad666a3f64132d1a10da9ee5b8ea5e19d48e | [
"WTFPL"
] | null | null | null | #include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double stockShares = 200; //Total stock shares
double sharePrice = 21.77; //Share Price
double brokerPercentage = 2; //Brokerage percentage
double totalStockPrice = stockShares * sharePrice; //Total Stock price calculation
double brokerCommi... | 58.139535 | 148 | 0.6288 | wof8317 |
a9c3814409cd06cf64948a035e7e27ed364d05b4 | 6,199 | cpp | C++ | streets_utils/streets_api/intersection_client_api/OAIIntersection_info.cpp | arseniy-sonar/carma-streets | 394fc3609d417d92180c6b6c88e57d2edda9f854 | [
"Apache-2.0"
] | 3 | 2021-09-04T16:25:47.000Z | 2022-03-09T20:24:30.000Z | streets_utils/streets_api/intersection_client_api/OAIIntersection_info.cpp | arseniy-sonar/carma-streets | 394fc3609d417d92180c6b6c88e57d2edda9f854 | [
"Apache-2.0"
] | 85 | 2021-07-07T16:58:46.000Z | 2022-03-31T15:35:26.000Z | streets_utils/streets_api/intersection_client_api/OAIIntersection_info.cpp | arseniy-sonar/carma-streets | 394fc3609d417d92180c6b6c88e57d2edda9f854 | [
"Apache-2.0"
] | 4 | 2021-05-20T23:12:03.000Z | 2021-09-08T15:33:42.000Z | /**
* Intersection Model API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
... | 28.049774 | 117 | 0.71447 | arseniy-sonar |
a9c4e7a00217091cbc1972484e70d13ba715c3a8 | 3,606 | cpp | C++ | src/qt/qtwebkit/Source/WebKit2/UIProcess/qt/QtPanGestureRecognizer.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2021-02-09T10:24:31.000Z | 2021-02-09T10:24:31.000Z | src/qt/qtwebkit/Source/WebKit2/UIProcess/qt/QtPanGestureRecognizer.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebKit2/UIProcess/qt/QtPanGestureRecognizer.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | /*
* Copyright (C) 2011 Benjamin Poulain <benjamin@webkit.org>
*
* 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 condi... | 37.5625 | 159 | 0.731559 | viewdy |
a9c55865bdeb54accb31a401f036bce5d36b1ab2 | 1,172 | cc | C++ | scann/scann/oss_wrappers/scann_status.cc | DionysisChristopoulos/google-research | 7f59ef421beef32ca16c2a7215be74f7eba01a0f | [
"Apache-2.0"
] | 23,901 | 2018-10-04T19:48:53.000Z | 2022-03-31T21:27:42.000Z | scann/scann/oss_wrappers/scann_status.cc | davidfitzek/google-research | eb2b142f26e39aac1dcbb768417465ae9d4e5af6 | [
"Apache-2.0"
] | 891 | 2018-11-10T06:16:13.000Z | 2022-03-31T10:42:34.000Z | scann/scann/oss_wrappers/scann_status.cc | davidfitzek/google-research | eb2b142f26e39aac1dcbb768417465ae9d4e5af6 | [
"Apache-2.0"
] | 6,047 | 2018-10-12T06:31:02.000Z | 2022-03-31T13:59:28.000Z | // Copyright 2021 The Google Research 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... | 30.842105 | 75 | 0.722696 | DionysisChristopoulos |
a9c682341093b34c121737d721ee2285de10f303 | 2,503 | cpp | C++ | lib/vdc/KDTreeRG.cpp | RemiLacroix-IDRIS/VAPOR | 33c787b6089ad845f6f989176d839e117fcdb03f | [
"BSD-3-Clause"
] | 1 | 2021-04-13T07:18:55.000Z | 2021-04-13T07:18:55.000Z | lib/vdc/KDTreeRG.cpp | RemiLacroix-IDRIS/VAPOR | 33c787b6089ad845f6f989176d839e117fcdb03f | [
"BSD-3-Clause"
] | null | null | null | lib/vdc/KDTreeRG.cpp | RemiLacroix-IDRIS/VAPOR | 33c787b6089ad845f6f989176d839e117fcdb03f | [
"BSD-3-Clause"
] | 1 | 2021-01-07T03:09:10.000Z | 2021-01-07T03:09:10.000Z | #include <iostream>
#include <vector>
#include "vapor/VAssert.h"
#include <cmath>
#include <vapor/utils.h>
#include <vapor/KDTreeRG.h>
#include "kdtree.h"
using namespace std;
using namespace VAPoR;
KDTreeRG::KDTreeRG( const Grid &xg,
const Grid &yg )
: _points( xg, yg ),
... | 25.282828 | 121 | 0.624451 | RemiLacroix-IDRIS |
a9c81c266fbf5f9b4acf3d55eb925409b2743e22 | 1,337 | cpp | C++ | TAO/DevGuideExamples/Messaging/AMIcallback/MessengerHandler.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/DevGuideExamples/Messaging/AMIcallback/MessengerHandler.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/DevGuideExamples/Messaging/AMIcallback/MessengerHandler.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: MessengerHandler.cpp 85583 2009-06-09 13:47:38Z calabrese_p $
#include "MessengerHandler.h"
#include "ace/OS_NS_time.h"
#include <iostream>
// Implementation skeleton constructor
MessengerHandler::MessengerHandler (CORBA::ORB_ptr orb)
: time_(0)
, orb_(CORBA::ORB::_duplicate(orb))
{
}
// Implementation skele... | 23.45614 | 84 | 0.666417 | cflowe |
a9cf13ee2272c8935d174539f8fb3bfa94d8e657 | 5,064 | cpp | C++ | src/components/src/core/attack/KeyboardMeleeAttackComponentTest.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | null | null | null | src/components/src/core/attack/KeyboardMeleeAttackComponentTest.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | null | null | null | src/components/src/core/attack/KeyboardMeleeAttackComponentTest.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | null | null | null | #include "KeyboardMeleeAttackComponent.h"
#include "gtest/gtest.h"
#include "AnimatorMock.h"
#include "FriendlyFireValidatorMock.h"
#include "InputMock.h"
#include "RayCastMock.h"
#include "RendererPoolMock.h"
#include "exceptions/DependentComponentNotFound.h"
using namespace ::testing;
using namespace components::... | 45.621622 | 152 | 0.7656 | walter-strazak |
a9d1a70c991d68b9fe3d0aa3d9af89318f5d5957 | 362 | cpp | C++ | 2022/code chef/CodeChef Starters 24 (Rated for Div-2 & Div-3)/Yet Another Constructive Problem.cpp | Yashdew/Data-structure | ae9cd759f4f62b8b524061c47dd59e30c1b69f5f | [
"MIT"
] | 1 | 2020-09-16T03:57:40.000Z | 2020-09-16T03:57:40.000Z | 2022/code chef/CodeChef Starters 24 (Rated for Div-2 & Div-3)/Yet Another Constructive Problem.cpp | Yashdew/Data-structure | ae9cd759f4f62b8b524061c47dd59e30c1b69f5f | [
"MIT"
] | null | null | null | 2022/code chef/CodeChef Starters 24 (Rated for Div-2 & Div-3)/Yet Another Constructive Problem.cpp | Yashdew/Data-structure | ae9cd759f4f62b8b524061c47dd59e30c1b69f5f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
void solve()
{
int X;
cin>>X;
cout<< (X^1);
cout<<" ";
cout<< (X^2);
cout<<" "<<X<<endl;
}
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int testCases;
cin >> testCases;
while (testCases--)
{
... | 13.407407 | 37 | 0.477901 | Yashdew |
a9d51610294a58cbd708d5155eaaeac9b21fbad3 | 2,095 | cpp | C++ | boost/libs/type_traits/test/add_volatile_test.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 3 | 2019-06-25T23:20:19.000Z | 2021-03-14T19:38:34.000Z | boost/libs/type_traits/test/add_volatile_test.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 1 | 2018-01-17T10:11:43.000Z | 2018-01-17T10:11:43.000Z | boost/libs/type_traits/test/add_volatile_test.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 3 | 2016-07-26T08:07:09.000Z | 2019-06-25T23:20:21.000Z |
// (C) Copyright John Maddock 2000.
// 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.tt.org/LICENSE_1_0.txt)
#include "test.hpp"
#include "check_type.hpp"
#ifdef TEST_STD
# include <type_traits>
#el... | 34.916667 | 97 | 0.785203 | randolphwong |
a9dc791f2ff6d477391fe1e44f17828fd4c659c6 | 5,487 | cpp | C++ | libs/log/example/doc/extension_stat_collector.cpp | HelloSunyi/boost_1_54_0 | 429fea793612f973d4b7a0e69c5af8156ae2b56e | [
"BSL-1.0"
] | 7 | 2015-03-03T15:45:12.000Z | 2021-04-25T03:37:17.000Z | libs/log/example/doc/extension_stat_collector.cpp | graehl/boost | 37cc4ca77896a86ad10e90dc03e1e825dc0d5492 | [
"BSL-1.0"
] | 1 | 2015-09-05T12:23:01.000Z | 2015-09-05T12:23:01.000Z | libs/log/example/doc/extension_stat_collector.cpp | graehl/boost | 37cc4ca77896a86ad10e90dc03e1e825dc0d5492 | [
"BSL-1.0"
] | 2 | 2018-06-21T15:08:14.000Z | 2021-04-25T03:37:22.000Z | /*
* Copyright Andrey Semashev 2007 - 2013.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
#include <string>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <boost... | 31.901163 | 194 | 0.69692 | HelloSunyi |
a9ddbab5bf1fb4deca3be377f9454a1f8cf6d1d9 | 1,483 | cpp | C++ | TrackAlgTLD/src/tld/VarianceFilter.cpp | RayanWang/CameraTrackingFramework | 1ab2f7289cd000a4baa584bca469744a5486610f | [
"MIT"
] | 3 | 2016-11-05T03:31:48.000Z | 2016-12-07T05:57:28.000Z | TrackAlgTLD/src/tld/VarianceFilter.cpp | RayanWang/CameraTrackingFramework | 1ab2f7289cd000a4baa584bca469744a5486610f | [
"MIT"
] | null | null | null | TrackAlgTLD/src/tld/VarianceFilter.cpp | RayanWang/CameraTrackingFramework | 1ab2f7289cd000a4baa584bca469744a5486610f | [
"MIT"
] | 3 | 2018-11-10T17:19:49.000Z | 2020-04-11T16:30:26.000Z | #include "VarianceFilter.h"
#include "IntegralImage.h"
#include "DetectorCascade.h"
using namespace cv;
namespace tld
{
VarianceFilter::VarianceFilter()
{
enabled = true;
minVar = 0;
integralImg = NULL;
integralImg_squared = NULL;
}
VarianceFilter::~VarianceFilter()
{
release();
}
void Varianc... | 19.513158 | 119 | 0.656777 | RayanWang |
a9deb353db8fc5d30f5b4f7b0b1f3a8963dcec3c | 1,440 | hpp | C++ | code/client/src/sdk/ue/sys/math/utils.hpp | mufty/MafiaMP | 2dc0e3362c505079e26e598bd4a7f4b5de7400bc | [
"OpenSSL"
] | 16 | 2021-10-08T17:47:04.000Z | 2022-03-28T13:26:37.000Z | code/client/src/sdk/ue/sys/math/utils.hpp | mufty/MafiaMP | 2dc0e3362c505079e26e598bd4a7f4b5de7400bc | [
"OpenSSL"
] | 4 | 2022-01-19T08:11:57.000Z | 2022-01-29T19:02:24.000Z | code/client/src/sdk/ue/sys/math/utils.hpp | mufty/MafiaMP | 2dc0e3362c505079e26e598bd4a7f4b5de7400bc | [
"OpenSSL"
] | 4 | 2021-10-09T11:15:08.000Z | 2022-01-27T22:42:26.000Z | #pragma once
#include <algorithm>
#include <chrono>
namespace SDK {
namespace ue::sys::math {
template <class T>
T Lerp(const T &from, const T &to, float fAlpha) {
return (T)((to - from) * fAlpha + from);
}
// Find the relative position of Pos between From and To
... | 38.918919 | 151 | 0.579167 | mufty |
a9df1b2ab510da473615f0d4e30847f91ecc016a | 808 | cpp | C++ | 0628-Maximum Product of Three Numbers/0628-Maximum Product of Three Numbers.cpp | zhuangli1987/LeetCode-1 | e81788abf9e95e575140f32a58fe983abc97fa4a | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 0601-0700/0628-Maximum Product of Three Numbers/0628-Maximum Product of Three Numbers.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 0601-0700/0628-Maximum Product of Three Numbers/0628-Maximum Product of Three Numbers.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | class Solution {
public:
int maximumProduct(vector<int>& nums) {
int max1 = INT_MIN, max2 = INT_MIN, max3 = INT_MIN;
int min1 = INT_MAX, min2 = INT_MAX;
for (int num : nums) {
if (num > max1) {
max3 = max2;
max2 = max1;
max1 = num;
... | 25.25 | 59 | 0.346535 | zhuangli1987 |
a9e1598a57924d76b824131c3f84fe4f6fc8e22e | 6,924 | inl | C++ | Base/PLCore/include/PLCore/Xml/XmlNode.inl | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 83 | 2015-01-08T15:06:14.000Z | 2021-07-20T17:07:00.000Z | Base/PLCore/include/PLCore/Xml/XmlNode.inl | PixelLightFoundation/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 27 | 2019-06-18T06:46:07.000Z | 2020-02-02T11:11:28.000Z | Base/PLCore/include/PLCore/Xml/XmlNode.inl | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 40 | 2015-02-25T18:24:34.000Z | 2021-03-06T09:01:48.000Z | /*********************************************************\
* File: XmlNode.inl *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 25.362637 | 106 | 0.656557 | ktotheoz |
a9e198693653c41b6af3f15700fb519cbf552555 | 5,588 | cpp | C++ | tests/unit/weightedgraph_test.cpp | hyunsukimsokcho/libdai | 52c0b51823724f02c7a268e6af6db72dc3324385 | [
"BSD-2-Clause"
] | 11 | 2018-01-31T16:14:28.000Z | 2021-06-22T03:45:11.000Z | tests/unit/weightedgraph_test.cpp | flurischt/libDAI | 20683a222e2ef307209290f79081fe428d9c5050 | [
"BSD-2-Clause"
] | 1 | 2019-05-25T08:20:58.000Z | 2020-02-17T10:58:55.000Z | tests/unit/weightedgraph_test.cpp | flurischt/libDAI | 20683a222e2ef307209290f79081fe428d9c5050 | [
"BSD-2-Clause"
] | 3 | 2018-12-13T11:49:22.000Z | 2021-12-31T03:19:26.000Z | /* This file is part of libDAI - http://www.libdai.org/
*
* Copyright (c) 2006-2011, The libDAI 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 <dai/weightedgraph.h>
#include <dai/exceptions.h>
#include <strstream>... | 25.87037 | 101 | 0.549571 | hyunsukimsokcho |
a9e69fca7b101add965ea2fc385fbff4c246eab5 | 20,100 | cpp | C++ | dcgmi/tests/TestDiag.cpp | deepio/DCGM | d10273f18fb3d425da752ab6bb7e07af3d18caec | [
"Apache-2.0"
] | 85 | 2021-02-03T19:58:50.000Z | 2022-03-21T08:00:11.000Z | dcgmi/tests/TestDiag.cpp | deepio/DCGM | d10273f18fb3d425da752ab6bb7e07af3d18caec | [
"Apache-2.0"
] | 19 | 2021-03-19T08:13:58.000Z | 2022-03-17T02:50:41.000Z | dcgmi/tests/TestDiag.cpp | deepio/DCGM | d10273f18fb3d425da752ab6bb7e07af3d18caec | [
"Apache-2.0"
] | 17 | 2021-02-04T06:47:30.000Z | 2022-03-21T22:14:03.000Z | /*
* Copyright (c) 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 requi... | 30.781011 | 120 | 0.57791 | deepio |
a9e78ea74bc4acba6164bd009514a281a592a07b | 1,149 | cpp | C++ | src/_leetcode/leet_989.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | src/_leetcode/leet_989.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | src/_leetcode/leet_989.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | /*
* ====================== leet_989.cpp ==========================
* -- tpr --
* CREATE -- 2020.05.27
* MODIFY --
* ----------------------------------------------------------
* 989. 数组形式的整数加法
*/
#include "inn... | 20.890909 | 65 | 0.369887 | turesnake |
a9e9f922330e0e1e94d484150355aba412b97d56 | 60 | cpp | C++ | libconfig/Config.cpp | qiu708/libconfig | 24e79f923c96a5210a1dc5603000d90b56b13318 | [
"MIT"
] | null | null | null | libconfig/Config.cpp | qiu708/libconfig | 24e79f923c96a5210a1dc5603000d90b56b13318 | [
"MIT"
] | null | null | null | libconfig/Config.cpp | qiu708/libconfig | 24e79f923c96a5210a1dc5603000d90b56b13318 | [
"MIT"
] | null | null | null | //
// Created by qiu on 2021/12/20.
//
#include "Config.h"
| 10 | 32 | 0.6 | qiu708 |
a9eb9702fdc558d395e6efbad594284a0e382c88 | 423 | cc | C++ | c11/day01/4.1for.cc | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | 7 | 2017-07-16T15:09:26.000Z | 2021-09-01T02:13:15.000Z | c11/day01/4.1for.cc | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | null | null | null | c11/day01/4.1for.cc | hankai17/test | 8f38d999a7c6a92eac94b4d9dc8e444619d2144f | [
"MIT"
] | 3 | 2017-09-13T09:54:49.000Z | 2019-03-18T01:29:15.000Z | #include<iostream>
#include<vector>
int main() {
for ( int i : { 1, 2, 3, 4, 5, 6 } ) {
std::cout<< i <<std::endl;
}
std::vector<int> v { 1, 2, 3, 4, 5, 6 };
for (auto& elem : v ) { //非只读方式 可以修改原来值
//for ( auto elem : v ) { //拷贝成临时变量 即只读的方式即做任何操作都不会改变原来的值
elem *= 3;
}
//for (auto elem : v) { //效率低
... | 19.227273 | 61 | 0.527187 | hankai17 |
a9f538cd9584ce5af910730b2aa11d007ed6dbf8 | 11,104 | cpp | C++ | app/hpocommand.cpp | pnrobinson/phenopacketpp | f710b408d86f94b7a0c6c734a1a65890226bc7b6 | [
"MIT"
] | 1 | 2019-06-14T17:46:17.000Z | 2019-06-14T17:46:17.000Z | app/hpocommand.cpp | pnrobinson/phenopacketpp | f710b408d86f94b7a0c6c734a1a65890226bc7b6 | [
"MIT"
] | 20 | 2019-06-18T10:24:20.000Z | 2019-11-03T15:35:30.000Z | app/hpocommand.cpp | pnrobinson/phenotools | f710b408d86f94b7a0c6c734a1a65890226bc7b6 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <optional>
#include <sstream>
#include <fstream>
#include "hpocommand.h"
#include "../lib/jsonobo.h"
#include "../lib/property.h"
#define EMPTY_STRING ""
using namespace phenotools;
using std::string;
using std::cout;
using std::cerr;
using std::stringstream;
using st... | 29.068063 | 130 | 0.521524 | pnrobinson |
a9f867f9cc8f26e44f516e481f2f1cf203fac7a4 | 2,915 | cpp | C++ | WorkScript/Type/FloatType.cpp | jingjiajie/WorkScript | 6b80932fcdbae0e915c37bac19d262025234074b | [
"MIT"
] | 3 | 2018-07-23T10:59:00.000Z | 2019-04-05T04:57:19.000Z | WorkScript/Type/FloatType.cpp | jingjiajie/WorkScript | 6b80932fcdbae0e915c37bac19d262025234074b | [
"MIT"
] | null | null | null | WorkScript/Type/FloatType.cpp | jingjiajie/WorkScript | 6b80932fcdbae0e915c37bac19d262025234074b | [
"MIT"
] | 1 | 2019-06-28T05:57:47.000Z | 2019-06-28T05:57:47.000Z | #include "Type.h"
#include "Function.h"
#include "Module.h"
#include "Utils.h"
#include "FloatType.h"
#include "Exception.h"
using namespace std;
using namespace WorkScript;
std::unordered_map<std::wstring, FloatType*> FloatType::types;
Finalizer FloatType::staticFinalizer(&FloatType::releaseTypes);
FloatType::Float... | 25.347826 | 108 | 0.726244 | jingjiajie |
a9fa3855607f9553d22d6f2d658479e71e61d5ea | 26,353 | cpp | C++ | src/hotspot/share/ci/ciInstanceKlass.cpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2020-12-26T04:52:15.000Z | 2020-12-26T04:52:15.000Z | src/hotspot/share/ci/ciInstanceKlass.cpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2020-12-26T04:57:19.000Z | 2020-12-26T04:57:19.000Z | src/hotspot/share/ci/ciInstanceKlass.cpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2021-12-06T01:13:18.000Z | 2021-12-06T01:13:18.000Z | /*
* Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 33.316056 | 120 | 0.634235 | 1690296356 |
a9fb12b3adb18fd085f45d92ae9eb6fb1bbce2a6 | 2,820 | cpp | C++ | src/utilities/QrDefinitions.cpp | jce-caba/gtkQRmm | 0a6f46bdbbc30195c2ddf993be43d218dbc2c47a | [
"MIT"
] | 1 | 2022-03-13T14:21:23.000Z | 2022-03-13T14:21:23.000Z | src/utilities/QrDefinitions.cpp | jce-caba/gtkQRmm | 0a6f46bdbbc30195c2ddf993be43d218dbc2c47a | [
"MIT"
] | null | null | null | src/utilities/QrDefinitions.cpp | jce-caba/gtkQRmm | 0a6f46bdbbc30195c2ddf993be43d218dbc2c47a | [
"MIT"
] | null | null | null | #include "QrDefinitions.hpp"
using namespace GtkQR;
QRDataContainer::QRDataContainer()
{
correction_level = QRErrorCorrectionLevel ::QR_ERROR_CORRECTION_LEVEL_MEDIUM;
isMicro=false;
enable_UTF8=true;
qrversion_number = QR_NO_VERSION;
qrversion = QRVersion::QR_VERSION_NULL;
mask = QR_NO_MASK;... | 20.735294 | 105 | 0.697163 | jce-caba |
a9ff6b9a7748e61e7aefed30a0a8c592e913db79 | 891 | cpp | C++ | STACK/Reverse a string using stack.cpp | snanacha/Coding-questions | 18c4b5a23fc3da5c419d2ec69fbf13b7b4ecee0d | [
"MIT"
] | null | null | null | STACK/Reverse a string using stack.cpp | snanacha/Coding-questions | 18c4b5a23fc3da5c419d2ec69fbf13b7b4ecee0d | [
"MIT"
] | 1 | 2021-03-30T14:00:56.000Z | 2021-03-30T14:00:56.000Z | STACK/Reverse a string using stack.cpp | snanacha/Coding-questions | 18c4b5a23fc3da5c419d2ec69fbf13b7b4ecee0d | [
"MIT"
] | null | null | null | /*
Reverse a string using Stack
----------------------------
Easy Accuracy: 54.33% Submissions: 27645 Points: 2
You are given a string S, the task is to reverse the string using stack.
Example 1:
Input: S="GeeksforGeeks"
Output: skeeGrofskeeG
Your Task:
You don't need to read input or print anything. Y... | 21.214286 | 127 | 0.590348 | snanacha |
e7001d3cbe9d9c9a755e7c74634c4bccdd3eef33 | 726 | cpp | C++ | arm9/source/lz77.cpp | RocketRobz/RocketVideoPlayer | be4a671078dbad2f4e7224418a8ee21e5b0fca86 | [
"MIT"
] | 20 | 2019-05-20T16:40:30.000Z | 2022-02-21T09:35:41.000Z | arm9/source/lz77.cpp | RocketRobz/RocketVideoPlayer | be4a671078dbad2f4e7224418a8ee21e5b0fca86 | [
"MIT"
] | 1 | 2020-11-21T22:54:23.000Z | 2020-11-21T23:21:26.000Z | arm9/source/lz77.cpp | RocketRobz/RocketVideoPlayer | be4a671078dbad2f4e7224418a8ee21e5b0fca86 | [
"MIT"
] | 2 | 2019-09-02T02:16:32.000Z | 2019-09-06T14:01:52.000Z | #include <nds.h>
#include "tonccpy.h"
#define __itcm __attribute__((section(".itcm")))
void __itcm
lzssDecompress(u8* source, u8* destination) {
u32 leng = (source[1] | (source[2] << 8) | (source[3] << 16));
int Offs = 4;
int dstoffs = 0;
while (true)
{
u8 header = source[Offs++];
for (int i = 0; i < 8; i++)... | 21.352941 | 69 | 0.528926 | RocketRobz |
e7049e1031d9b0d372d672491c1106c643fe3fa4 | 922 | cpp | C++ | oskar/settings/test/Test_Int.cpp | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 46 | 2015-12-15T14:24:16.000Z | 2022-01-24T16:54:49.000Z | oskar/settings/test/Test_Int.cpp | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 37 | 2016-08-04T17:53:03.000Z | 2022-03-10T10:22:01.000Z | oskar/settings/test/Test_Int.cpp | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 32 | 2016-05-09T10:30:11.000Z | 2022-01-26T07:55:27.000Z | /*
* Copyright (c) 2015-2021, The OSKAR Developers.
* See the LICENSE file at the top-level directory of this distribution.
*/
#include <gtest/gtest.h>
#include "settings/oskar_settings_types.h"
using namespace oskar;
TEST(settings_types, Int)
{
Int i;
ASSERT_TRUE(i.set_default("1"));
ASSERT_STREQ("1"... | 24.918919 | 72 | 0.617137 | happyseayou |
e70a6facbf9bd6f8f86c7ebac1a7667ba4081c16 | 4,377 | hpp | C++ | Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/vecidx.hpp | RemiArnaud/The-Forge | 70f5f4b544831ea3a51de2ad4a7f341fb1b971c5 | [
"Apache-2.0"
] | 29 | 2019-02-17T08:17:41.000Z | 2022-03-06T17:46:55.000Z | Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/vecidx.hpp | guillaumeblanc/The-Forge | 0df6d608ed7ec556f17b91a749e2f19d75973dc9 | [
"Apache-2.0"
] | 1 | 2019-06-11T08:35:32.000Z | 2019-06-11T08:35:32.000Z | Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/vecidx.hpp | guillaumeblanc/The-Forge | 0df6d608ed7ec556f17b91a749e2f19d75973dc9 | [
"Apache-2.0"
] | 6 | 2019-05-06T07:54:58.000Z | 2021-09-29T00:25:11.000Z | /*
Copyright (C) 2006, 2007 Sony Computer Entertainment 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:
* Redistributions of source code must retain the above copyright
noti... | 36.475 | 121 | 0.673749 | RemiArnaud |
e70a72bed0953718953972932757a0c3b10e4592 | 18,816 | cpp | C++ | software/motion_estimate/vo_estimate/src/fovision/fovision_simple_odometry.cpp | liangfok/oh-distro | eeee1d832164adce667e56667dafc64a8d7b8cee | [
"BSD-3-Clause"
] | 92 | 2016-01-14T21:03:50.000Z | 2021-12-01T17:57:46.000Z | software/motion_estimate/vo_estimate/src/fovision/fovision_simple_odometry.cpp | liangfok/oh-distro | eeee1d832164adce667e56667dafc64a8d7b8cee | [
"BSD-3-Clause"
] | 62 | 2016-01-16T18:08:14.000Z | 2016-03-24T15:16:28.000Z | software/motion_estimate/vo_estimate/src/fovision/fovision_simple_odometry.cpp | liangfok/oh-distro | eeee1d832164adce667e56667dafc64a8d7b8cee | [
"BSD-3-Clause"
] | 41 | 2016-01-14T21:26:58.000Z | 2022-03-28T03:10:39.000Z | // simple test program:
// se-simple-vo -L ~/drc-testing-data/state_est/run1_field_camera_snippet.lcmlog -P drc_robot.cfg -p
// Just do VO, not do any imu integration, dont correct for any urdf/cfg offsets
// Output motion in x forward, z up frame
#include <zlib.h>
#include <lcm/lcm-cpp.hpp>
#include <bot_param/param... | 38.243902 | 165 | 0.69425 | liangfok |
e70a92fb8b8356ece812a1476295215c9640eb30 | 6,597 | cxx | C++ | sw/3rd_party/VTK-7.1.0/Filters/SMP/Testing/Cxx/TestSMPContour.cxx | esean/stl_voro_fill | c569a4019ff80afbf85482c7193711ea85a7cafb | [
"MIT"
] | 4 | 2019-05-30T01:52:12.000Z | 2021-09-29T21:12:13.000Z | sw/3rd_party/VTK-7.1.0/Filters/SMP/Testing/Cxx/TestSMPContour.cxx | esean/stl_voro_fill | c569a4019ff80afbf85482c7193711ea85a7cafb | [
"MIT"
] | null | null | null | sw/3rd_party/VTK-7.1.0/Filters/SMP/Testing/Cxx/TestSMPContour.cxx | esean/stl_voro_fill | c569a4019ff80afbf85482c7193711ea85a7cafb | [
"MIT"
] | 2 | 2019-08-30T23:36:13.000Z | 2019-11-08T16:52:01.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: TestCutter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softw... | 29.850679 | 89 | 0.636805 | esean |
e70b9ecabb0cc3dc198982df5a473950788726d5 | 565 | cc | C++ | src/cymoca/util.cc | jgoppert/cymoca | 45a991f56a397a7fea3429eacad6f33dfbf5a6d4 | [
"BSD-3-Clause"
] | 6 | 2018-06-24T17:49:33.000Z | 2020-06-13T20:43:20.000Z | src/cymoca/util.cc | jgoppert/cymoca | 45a991f56a397a7fea3429eacad6f33dfbf5a6d4 | [
"BSD-3-Clause"
] | 3 | 2018-07-01T10:15:00.000Z | 2018-07-09T21:35:18.000Z | src/cymoca/util.cc | jgoppert/cymoca | 45a991f56a397a7fea3429eacad6f33dfbf5a6d4 | [
"BSD-3-Clause"
] | 1 | 2018-07-01T10:10:31.000Z | 2018-07-01T10:10:31.000Z | //
// Created by jgoppert on 3/23/21.
//
#include "util.h"
#ifdef __GNUG__
#include <cxxabi.h>
#include <cstdlib>
#include <memory>
std::string demangle(const char* name) {
int status = -4; // some arbitrary value to eliminate the compiler warning
// enable c++11 by passing the flag -std=c++11 to g++
std::uniq... | 22.6 | 77 | 0.654867 | jgoppert |
e70c2ef5786889df55c9b27b07c30810347deedd | 9,832 | cpp | C++ | src/vulkan/VulkanContext.cpp | choiip/fui | dc54b2d29c423a5b257dd7d812e5d5f52a10ba8a | [
"Zlib"
] | null | null | null | src/vulkan/VulkanContext.cpp | choiip/fui | dc54b2d29c423a5b257dd7d812e5d5f52a10ba8a | [
"Zlib"
] | null | null | null | src/vulkan/VulkanContext.cpp | choiip/fui | dc54b2d29c423a5b257dd7d812e5d5f52a10ba8a | [
"Zlib"
] | null | null | null | #include "vulkan/VulkanContext.hpp"
#include "vku.hpp"
#define NANOVG_VULKAN_IMPLEMENTATION
#include "nanovg_vk.h"
#include "core/Log.hpp"
#include "core/MathDef.hpp"
#include "core/Status.hpp"
namespace fui {
struct VulkanContext::Private {
std::shared_ptr<vk::UniqueInstance> instance;
vk::SurfaceKHR surface;
... | 37.96139 | 117 | 0.710537 | choiip |
e70c2f82e1106fd4437a6d6209dacdba5d81c43f | 8,463 | cc | C++ | biosig4octmat-3.2.0/biosig/maybe-missing/regexprep.cc | TianGL/CNN-MI-BCI | 788493ffc954df153cd928d84090d9625ff357d4 | [
"MIT"
] | 41 | 2018-10-30T07:40:11.000Z | 2022-02-25T13:37:40.000Z | biosig4octmat-3.2.0/biosig/maybe-missing/regexprep.cc | TianGL/CNN-SAE-MI-BCI- | 788493ffc954df153cd928d84090d9625ff357d4 | [
"MIT"
] | 2 | 2018-11-30T17:47:07.000Z | 2022-02-22T22:45:17.000Z | biosig4octmat-2.90/biosig/maybe-missing/regexprep.cc | wilkesk/cSPider | 89db77e3f534decc37b01d47dff37f576f4725a1 | [
"BSD-2-Clause"
] | 13 | 2018-12-18T13:54:01.000Z | 2022-03-08T13:03:28.000Z | // This code is public domain.
// Author: Paul Kienzle
#ifdef HAVE_CONFIG_H
# include <config.h>
#else
# include <octave/config.h>
#endif
#include "defun-dld.h"
#include "error.h"
#include "parse.h"
#include "quit.h"
#include "Cell.h"
DEFUN_DLD(regexprep,args,nargout,"\
-*- texinfo -*-\n\
@deftypefn {Function File} ... | 28.785714 | 109 | 0.581827 | TianGL |
e70c974e0ad39a424c776064f17d7982ee43c141 | 53,764 | cpp | C++ | win32/src/win32security_sspi.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | 3 | 2020-06-18T16:57:44.000Z | 2020-07-21T17:52:06.000Z | win32/src/win32security_sspi.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | null | null | null | win32/src/win32security_sspi.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | null | null | null | // SSPI objects for the win32security module, by Roger Upole
// $Id$
// Currently this file contains only object definitions - the SSPI methods
// themselves are defined in win32security.i. In the future this may change.
// @doc - This file contains autoduck documentation
#include "PyWinTypes.h"
#include "structmembe... | 44.728785 | 120 | 0.641321 | huanyin88 |
e70defc77324a44a3c116a3d5fe07b70951abb2b | 20,149 | cpp | C++ | dev/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Search/Filter.cpp | crazyskateface/lumberyard | 164512f8d415d6bdf37e195af319ffe5f96a8f0b | [
"AML"
] | 1 | 2020-03-24T04:54:22.000Z | 2020-03-24T04:54:22.000Z | dev/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Search/Filter.cpp | santosh90n/lumberyard-1 | 9608bcf905bb60e9f326bd3fe8297381c22d83a6 | [
"AML"
] | null | null | null | dev/Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Search/Filter.cpp | santosh90n/lumberyard-1 | 9608bcf905bb60e9f326bd3fe8297381c22d83a6 | [
"AML"
] | 2 | 2019-07-09T00:03:08.000Z | 2020-03-24T04:54:27.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 32.762602 | 145 | 0.475954 | crazyskateface |
e714bdb1b5f51ce212a87506c8a3fefea6ceb4ae | 1,129 | cpp | C++ | DOJ/#699.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | null | null | null | DOJ/#699.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | 1 | 2021-11-18T15:10:29.000Z | 2021-11-20T07:13:31.000Z | DOJ/#699.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | null | null | null | /*
* @author Nickel_Angel (1239004072@qq.com)
* @copyright Copyright (c) 2022
*/
#include <algorithm>
#include <cstdio>
#include <cstring>
const int maxn = 1e6 + 10;
int n, a[maxn];
class BIT
{
private:
int v[maxn], bound;
inline int lowbit(int x)
{
return x & -x;
}
public:
inline v... | 16.602941 | 53 | 0.457927 | Nickel-Angel |
e71577990644b7ee9ca979e097096d87022d85f4 | 4,365 | cpp | C++ | Examples/PBD/PBDDeformableObject/PBD3DDeformableObject.cpp | quantingxie/vibe | 965a79089ac3ec821ad65c45ac50e69bf32dc92f | [
"Apache-2.0"
] | 2 | 2020-08-14T07:21:30.000Z | 2021-08-30T09:39:09.000Z | Examples/PBD/PBDDeformableObject/PBD3DDeformableObject.cpp | quantingxie/vibe | 965a79089ac3ec821ad65c45ac50e69bf32dc92f | [
"Apache-2.0"
] | null | null | null | Examples/PBD/PBDDeformableObject/PBD3DDeformableObject.cpp | quantingxie/vibe | 965a79089ac3ec821ad65c45ac50e69bf32dc92f | [
"Apache-2.0"
] | 1 | 2020-08-14T07:00:31.000Z | 2020-08-14T07:00:31.000Z | /*=========================================================================
Library: iMSTK
Copyright (c) Kitware, Inc. & Center for Modeling, Simulation,
& Imaging in Medicine, Rensselaer Polytechnic Institute.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file e... | 38.628319 | 140 | 0.705155 | quantingxie |
e71641642715a9a22f578b6d93a04bc9bc1280e4 | 8,458 | cpp | C++ | QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/EnclaveIdentityParserUT.cpp | fqiu1/SGXDataCenterAttestationPrimitives | 19483cca7b924f89ecfdb89e675d34d6a6d4b9dd | [
"BSD-3-Clause"
] | null | null | null | QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/EnclaveIdentityParserUT.cpp | fqiu1/SGXDataCenterAttestationPrimitives | 19483cca7b924f89ecfdb89e675d34d6a6d4b9dd | [
"BSD-3-Clause"
] | null | null | null | QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/EnclaveIdentityParserUT.cpp | fqiu1/SGXDataCenterAttestationPrimitives | 19483cca7b924f89ecfdb89e675d34d6a6d4b9dd | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2011-2020 Intel Corporation. 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 li... | 30.868613 | 101 | 0.72594 | fqiu1 |
e7188320a896d638c6c7d376cdcebf593b1ff6c9 | 1,527 | cc | C++ | tensorflow/core/lib/core/refcount.cc | deepakmuralidharan/tensorflow | f40e41f9c71ef2865f96f3db3cea2909797fe2a3 | [
"Apache-2.0"
] | 23 | 2016-02-04T21:08:43.000Z | 2022-01-14T13:22:33.000Z | tensorflow/core/lib/core/refcount.cc | deepakmuralidharan/tensorflow | f40e41f9c71ef2865f96f3db3cea2909797fe2a3 | [
"Apache-2.0"
] | 2 | 2016-05-31T16:38:55.000Z | 2018-12-30T20:17:05.000Z | tensorflow/core/lib/core/refcount.cc | deepakmuralidharan/tensorflow | f40e41f9c71ef2865f96f3db3cea2909797fe2a3 | [
"Apache-2.0"
] | 20 | 2016-02-15T17:31:02.000Z | 2020-01-12T08:18:48.000Z | /* Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 29.941176 | 80 | 0.681074 | deepakmuralidharan |
e71aba9f8bab732ff313e39ab5ad7e5b11169912 | 3,128 | cpp | C++ | src/core/errfloat.cpp | zq317157782/raiden | 09376a9499f8b86e86c3049b4e654957cb4dc29e | [
"BSD-2-Clause"
] | 21 | 2016-12-14T09:46:27.000Z | 2021-12-28T10:05:04.000Z | src/core/errfloat.cpp | zq317157782/raiden | 09376a9499f8b86e86c3049b4e654957cb4dc29e | [
"BSD-2-Clause"
] | 2 | 2016-12-02T07:47:14.000Z | 2018-01-30T18:11:09.000Z | src/core/errfloat.cpp | zq317157782/raiden | 09376a9499f8b86e86c3049b4e654957cb4dc29e | [
"BSD-2-Clause"
] | null | null | null | /*
* errfloat.cpp
*
* Created on: 2016年11月15日
* Author: zhuqian
*/
#include "errfloat.h"
#include "mmath.h"
EFloat::EFloat(float v, float err) :
_value(v) {
Assert(!std::isnan(v));
Assert(!std::isnan(err));
if (err == 0.0f) {
_low = _high = v;
} else {
//这里调用NextFloatUp和NextFloatDown是为了做保守的边界
_... | 24.061538 | 74 | 0.691176 | zq317157782 |
e71c1cc68f3ca93d3f5b0f0f3751f4ddd64da9b8 | 2,048 | hpp | C++ | src/utils/argvec.hpp | Thanduriel/func-renderer | 99582272d8e34cb6e2f6bc9735c8eba5076bb29c | [
"MIT"
] | 1 | 2019-01-27T17:54:45.000Z | 2019-01-27T17:54:45.000Z | src/utils/argvec.hpp | Thanduriel/func-renderer | 99582272d8e34cb6e2f6bc9735c8eba5076bb29c | [
"MIT"
] | null | null | null | src/utils/argvec.hpp | Thanduriel/func-renderer | 99582272d8e34cb6e2f6bc9735c8eba5076bb29c | [
"MIT"
] | null | null | null | #pragma once
#include "glm.hpp"
namespace Math{
/* Vector with template specified dimension.
* For operations on vectors use glm::vec
*/
template<typename _ValT, int _D>
struct Component
{
_ValT data[_D];
};
// specializations for named access of the first 3 dimensions
template<typename _ValT>
struc... | 21.333333 | 93 | 0.625 | Thanduriel |
e71d768557ac348bb29d36f057abba6652af6877 | 1,299 | cpp | C++ | C++/Stack/421 Simplify Path.cpp | MuteMeteor/LintCode | 8c73aa71fbd70409b9fc636a13a3fd6c4a387f62 | [
"MIT"
] | null | null | null | C++/Stack/421 Simplify Path.cpp | MuteMeteor/LintCode | 8c73aa71fbd70409b9fc636a13a3fd6c4a387f62 | [
"MIT"
] | null | null | null | C++/Stack/421 Simplify Path.cpp | MuteMeteor/LintCode | 8c73aa71fbd70409b9fc636a13a3fd6c4a387f62 | [
"MIT"
] | null | null | null | /*
Given an absolute path for a file (Unix-style), simplify it.
Example
"/home/", => "/home"
"/a/./b/../../c/", => "/c"
Challenge
Did you consider the case where path = "/../"?
In this case, you should return "/".
Another corner case is the path might contain multiple slashes '/' together, such as "/home//foo... | 25.98 | 100 | 0.470362 | MuteMeteor |
e72417f0a9cdfe753b1446becbcedd40d511174c | 639 | cpp | C++ | externals/skia/third_party/externals/angle2/src/tests/deqp_support/angle_deqp_gtest_main.cpp | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | externals/skia/third_party/externals/angle2/src/tests/deqp_support/angle_deqp_gtest_main.cpp | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | externals/skia/third_party/externals/angle2/src/tests/deqp_support/angle_deqp_gtest_main.cpp | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | //
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// angle_deqp_gtest_main:
// Entry point for standalone dEQP tests.
#include <gtest/gtest.h>
// Defined in angle_deqp_gtest.cpp. Declared he... | 25.56 | 98 | 0.710485 | terrajobst |
e7269d982ca2357e03ac7932a0de9d38272a32e2 | 8,394 | cpp | C++ | Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/contacts/common/util/LocalizedNameResolver.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/contacts/common/util/LocalizedNameResolver.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/contacts/common/util/LocalizedNameResolver.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 38.504587 | 120 | 0.626519 | jingcao80 |
e7285f475dc936124bd14ec0c0c44ce03387048d | 386 | cc | C++ | poj/1/1969.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | 1 | 2015-04-17T09:54:23.000Z | 2015-04-17T09:54:23.000Z | poj/1/1969.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | null | null | null | poj/1/1969.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
int term;
while (cin >> term) {
int a = (1 + sqrt(1 + 8*(term-1))) / 2.0;
int b = term - (1+a*(a-1)/2);
if (a % 2 == 0) {
cout << "TERM " << term << " IS " << b+1 << '/' << a-b << endl;
} else {
cout << "TERM " << te... | 21.444444 | 69 | 0.417098 | eagletmt |
e72996c8acd1f0e35eaea01887fcdf9e397e6190 | 2,400 | cpp | C++ | D#0003-optimizing_cosine_distance_searching_in_a_million_feature-set/code/main.cpp | awesome-archive/CaptainBlackboard | c8ec5f1adf2301724a3a864890df6c0bcb598505 | [
"MIT"
] | 961 | 2019-01-30T01:46:26.000Z | 2022-03-31T01:09:39.000Z | D#0003-optimizing_cosine_distance_searching_in_a_million_feature-set/code/main.cpp | zhangshaokun999/CaptainBlackboard | f0f6781f55cf24d2bcb28cb65ef124505d411e27 | [
"MIT"
] | 125 | 2019-02-20T14:24:17.000Z | 2021-04-22T12:33:08.000Z | D#0003-optimizing_cosine_distance_searching_in_a_million_feature-set/code/main.cpp | zhangshaokun999/CaptainBlackboard | f0f6781f55cf24d2bcb28cb65ef124505d411e27 | [
"MIT"
] | 171 | 2019-09-30T01:36:18.000Z | 2022-03-23T06:37:02.000Z | //main.cpp
#include <iostream>
#include <malloc.h>
#include "timer.h"
#include "search_best.h"
#define ALGIN (32) // 使用SIMD需要内存对齐,128bit的指令需要16位对齐,256bit的指令需要32位对齐
#define FACENUM (1000*1000) // 底库中存有100万张人脸特征向量
//#define FEATSIZE (512) // 每个人脸特征向量的维度是512维,每一维是一个DType类型的浮点数
//Step 11,用PCA做... | 28.915663 | 138 | 0.612083 | awesome-archive |
e729f8341e231d6e07305b516881ce334028c83c | 5,431 | cpp | C++ | src/core/formula.cpp | Jetpie/OpenLinear | c501ab26bd53bcfd781d0aae22bb75392629000f | [
"BSD-2-Clause"
] | 3 | 2015-04-07T12:37:50.000Z | 2015-07-02T01:38:30.000Z | src/core/formula.cpp | Jetpie/OpenLinear | c501ab26bd53bcfd781d0aae22bb75392629000f | [
"BSD-2-Clause"
] | null | null | null | src/core/formula.cpp | Jetpie/OpenLinear | c501ab26bd53bcfd781d0aae22bb75392629000f | [
"BSD-2-Clause"
] | null | null | null | // Problem formulations
//
// Naming Convention:
// 1.solver classes are named by all capital letter denote type and a
// "Solver" prefix separated by underscore.
// 2.some math notation like w^t by x will be denoted as wTx,
// which big T means transpose. For the same style, other name
// convention can be deduc... | 28.584211 | 105 | 0.558829 | Jetpie |
e72aca89b87268a17a8f791c42d63f1b9d5bbc03 | 5,650 | cpp | C++ | cctbx/geometry_restraints/bond_similarity_bpl.cpp | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | cctbx/geometry_restraints/bond_similarity_bpl.cpp | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | cctbx/geometry_restraints/bond_similarity_bpl.cpp | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | #include <cctbx/boost_python/flex_fwd.h>
#include <boost/python/def.hpp>
#include <boost/python/class.hpp>
#include <boost/python/args.hpp>
#include <boost/python/return_value_policy.hpp>
#include <boost/python/copy_const_reference.hpp>
#include <boost/python/return_by_value.hpp>
#include <scitbx/array_family/boost_py... | 33.431953 | 69 | 0.622124 | rimmartin |
e72ae859303167117e22f572d0c08297d96afdbf | 3,062 | cpp | C++ | fboss/agent/hw/bcm/tests/QsetCmpTests.cpp | midopooler/fboss | c8d08dd4255e97e5977f53712e7c91a7d045a0cb | [
"BSD-3-Clause"
] | 1 | 2020-03-20T22:47:21.000Z | 2020-03-20T22:47:21.000Z | fboss/agent/hw/bcm/tests/QsetCmpTests.cpp | phshaikh/fboss | 05e6ed1e9d62bf7db45a770886b1761e046c1722 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/hw/bcm/tests/QsetCmpTests.cpp | phshaikh/fboss | 05e6ed1e9d62bf7db45a770886b1761e046c1722 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2004-present, Facebook, Inc.
* 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.
*
*/
#inc... | 35.195402 | 79 | 0.714892 | midopooler |
e72e0d148ad4d79d9545f1c981711da1b115c2a6 | 1,215 | hpp | C++ | GC/VectorProtocol.hpp | GnarlyMshtep/DORAM | c78f7d516b52046b3105e8b967f048faea6c6fed | [
"BSD-2-Clause"
] | null | null | null | GC/VectorProtocol.hpp | GnarlyMshtep/DORAM | c78f7d516b52046b3105e8b967f048faea6c6fed | [
"BSD-2-Clause"
] | 3 | 2022-02-22T16:14:53.000Z | 2022-02-22T16:37:41.000Z | GC/VectorProtocol.hpp | GnarlyMshtep/DORAM | c78f7d516b52046b3105e8b967f048faea6c6fed | [
"BSD-2-Clause"
] | null | null | null | /*
* VectorProtocol.cpp
*
*/
#ifndef GC_VECTORPROTOCOL_HPP_
#define GC_VECTORPROTOCOL_HPP_
#include "VectorProtocol.h"
namespace GC
{
template<class T>
VectorProtocol<T>::VectorProtocol(Player& P) :
part_protocol(P), P(P)
{
}
template<class T>
void VectorProtocol<T>::init(Preprocessing<T>& prep,
... | 17.357143 | 65 | 0.640329 | GnarlyMshtep |
e73058b8cd3a4db02c4a4933d85a04c56cc58f80 | 6,017 | cpp | C++ | Online Judges/Toph/J. Smart Feature Phone - 2.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/Toph/J. Smart Feature Phone - 2.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/Toph/J. Smart Feature Phone - 2.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
#define rep(i,p,n) for( i = p; i<n;i++)
#define ll long long int
#define pb push_back
#define VI vector<int>
#define VL vector<long long int>
#define VD vector<double>
#define pi pair<int,int>
#define mp(a,b) make_pair(a,b)
#define eps 1e-9
#define PI ... | 22.040293 | 430 | 0.414492 | akazad13 |
e7323fe3658eb1d900cb28be8435b97fc523aad1 | 325 | hxx | C++ | src/copy.hxx | puzzlef/pagerank-monolithic-vs-levelwise | f0402ce161e43d403919f8804b0752c5781778b8 | [
"MIT"
] | null | null | null | src/copy.hxx | puzzlef/pagerank-monolithic-vs-levelwise | f0402ce161e43d403919f8804b0752c5781778b8 | [
"MIT"
] | null | null | null | src/copy.hxx | puzzlef/pagerank-monolithic-vs-levelwise | f0402ce161e43d403919f8804b0752c5781778b8 | [
"MIT"
] | null | null | null | #pragma once
template <class H, class G>
void copy(H& a, const G& x) {
for (int u : x.vertices())
a.addVertex(u, x.vertexData(u));
for (int u : x.vertices()) {
for (int v : x.edges(u))
a.addEdge(u, v, x.edgeData(u, v));
}
}
template <class G>
auto copy(const G& x) {
G a; copy(a, x);
return ... | 15.47619 | 40 | 0.556923 | puzzlef |
e7332dc50cb9f2f686f40329593a8f1d5d09c6b5 | 1,625 | cpp | C++ | src/main/cpp/subsystems/Turret.cpp | ZairaV4/Rapid-React | 7eb2cfee3849ffdc1dec62aa6da986c9ceb6aaac | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/subsystems/Turret.cpp | ZairaV4/Rapid-React | 7eb2cfee3849ffdc1dec62aa6da986c9ceb6aaac | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/subsystems/Turret.cpp | ZairaV4/Rapid-React | 7eb2cfee3849ffdc1dec62aa6da986c9ceb6aaac | [
"BSD-3-Clause"
] | null | null | null | #include "subsystems/Turret.h"
#include "Constants.h"
#include "frc/smartdashboard/Smartdashboard.h"
#include "networktables/NetworkTable.h"
#include "networktables/NetworkTableInstance.h"
#include "networktables/NetworkTableEntry.h"
#include "networktables/NetworkTableValue.h"
#include "wpi/span.h"
using namespace f... | 22.569444 | 101 | 0.738462 | ZairaV4 |
e733c2f5d296bf2d4b307a8439e43962dbe21d64 | 271 | cpp | C++ | lang/C++/window-creation-2.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:38.000Z | 2018-11-09T22:08:38.000Z | lang/C++/window-creation-2.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C++/window-creation-2.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | #include <iostream>
#include <gtkmm.h>
int
main( int argc, char* argv[] )
{
try
{
Gtk::Main m( argc, argv ) ;
Gtk::Window win ;
m.run( win ) ;
}
catch( std::exception const & exc )
{
std::cout << exc.what() << std::endl ;
exit( -1 ) ;
}
exit( 0 ) ;
}
| 12.318182 | 40 | 0.531365 | ethansaxenian |
e73657ba950bf255ff3e10060dde68d9afe78a20 | 2,189 | cpp | C++ | Engine/src/Engine/Core/Application.cpp | CodePYJ/Engine | d1d481581eb6373ddf0935f11f62842c0781aafd | [
"Apache-2.0"
] | null | null | null | Engine/src/Engine/Core/Application.cpp | CodePYJ/Engine | d1d481581eb6373ddf0935f11f62842c0781aafd | [
"Apache-2.0"
] | null | null | null | Engine/src/Engine/Core/Application.cpp | CodePYJ/Engine | d1d481581eb6373ddf0935f11f62842c0781aafd | [
"Apache-2.0"
] | null | null | null | #include "Application.h"
#include "Engine/Renderer/Renderer.h"
#include <GLFW/glfw3.h>
#include <glad/glad.h>
namespace EE {
Application* Application::s_app = nullptr;
Application::Application()
{
m_Window = std::unique_ptr<Window>(Window::Create(1600, 900));
m_Window->SetEventCallbackFun(std::bind(&Applicat... | 21.048077 | 111 | 0.686158 | CodePYJ |
e73a0aaac98a626500254efdfc57da5c6002f425 | 3,290 | hpp | C++ | include/Pyramid.hpp | SudoCpp/Pyramid | 97180840f05bab5f76dd183e09e93218579d7a80 | [
"BSD-3-Clause"
] | null | null | null | include/Pyramid.hpp | SudoCpp/Pyramid | 97180840f05bab5f76dd183e09e93218579d7a80 | [
"BSD-3-Clause"
] | null | null | null | include/Pyramid.hpp | SudoCpp/Pyramid | 97180840f05bab5f76dd183e09e93218579d7a80 | [
"BSD-3-Clause"
] | null | null | null | /*
BSD 3-Clause License
Copyright (c) 2022, SudoCpp
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,... | 36.153846 | 82 | 0.71307 | SudoCpp |
e73bc683da3d4d41a3f3b6f29634e01c07905989 | 1,324 | cpp | C++ | ParticleEngine/ParticleForceRegistry.cpp | bernhardrieder/Particle-Engine | ea5885f2ee2446426b6ae93ce687802ef922fb29 | [
"Unlicense"
] | null | null | null | ParticleEngine/ParticleForceRegistry.cpp | bernhardrieder/Particle-Engine | ea5885f2ee2446426b6ae93ce687802ef922fb29 | [
"Unlicense"
] | null | null | null | ParticleEngine/ParticleForceRegistry.cpp | bernhardrieder/Particle-Engine | ea5885f2ee2446426b6ae93ce687802ef922fb29 | [
"Unlicense"
] | 2 | 2019-05-09T05:27:18.000Z | 2020-02-11T18:04:56.000Z | #include "pch.h"
#include "ParticleForceRegistry.h"
ParticleForceRegistry::ParticleForceRegistry()
{
}
ParticleForceRegistry::~ParticleForceRegistry()
{
}
void ParticleForceRegistry::Add(Particle* particle, ParticleForceGenerator* forceGenerator)
{
ParticleForceRegistration registration;
registration.Particle = ... | 22.827586 | 114 | 0.761329 | bernhardrieder |
e73be63b5db357a85cf7f19520727ac5d50dff16 | 847 | cpp | C++ | Strings/reverse_words.cpp | khushisinha20/Data-Structures-and-Algorithms | 114d365d03f7ba7175eefeace281972820a7fc76 | [
"Apache-2.0"
] | null | null | null | Strings/reverse_words.cpp | khushisinha20/Data-Structures-and-Algorithms | 114d365d03f7ba7175eefeace281972820a7fc76 | [
"Apache-2.0"
] | null | null | null | Strings/reverse_words.cpp | khushisinha20/Data-Structures-and-Algorithms | 114d365d03f7ba7175eefeace281972820a7fc76 | [
"Apache-2.0"
] | null | null | null | //leetcode.com/problems/reverse-words-in-a-string/
#include <bits/stdc++.h>
using namespace std;
class Solution {
public:
string reverseWords(string s) {
string reverse_order_words = "";
int i = 0;
int n = s.length();
while (i < n) {
while (i < n && s[i] == ' '... | 24.911765 | 71 | 0.399055 | khushisinha20 |
e741113c455830abce4a05b912e7c3ad295ea415 | 1,997 | cpp | C++ | src/Engine.cpp | Spooky309/Minecrap | bf30839bf4a80bf71340e7cf1af1f952599329de | [
"MIT"
] | 1 | 2020-01-02T23:45:00.000Z | 2020-01-02T23:45:00.000Z | src/Engine.cpp | Spooky309/Minecrap | bf30839bf4a80bf71340e7cf1af1f952599329de | [
"MIT"
] | null | null | null | src/Engine.cpp | Spooky309/Minecrap | bf30839bf4a80bf71340e7cf1af1f952599329de | [
"MIT"
] | null | null | null | #include "Engine.h"
#include "SpriteElement2D.h"
#include "FileSystem.h"
#include "FontManager.h"
#include "TextElement2D.h"
#include <iostream>
// PERFORMANCE IMPROVEMENTS TO MAKE:
// 1. Broadphase on vs. AABB Tests
// 2. Keep a list of active AABBs to avoid needless testing against AABB::alive
Engine::Engine() :
... | 35.660714 | 151 | 0.662494 | Spooky309 |
8d451901383a043d62cdc80e5fb6fda54d59fc55 | 3,103 | cpp | C++ | src/config_loader.cpp | oeone/ClashSubGenerator | 3188f336a4388ed304c82d2d24b9ef69f21f32d5 | [
"MIT"
] | 2 | 2021-12-16T11:20:00.000Z | 2021-12-16T11:20:11.000Z | src/config_loader.cpp | oeone/ClashSubGenerator | 3188f336a4388ed304c82d2d24b9ef69f21f32d5 | [
"MIT"
] | 1 | 2020-08-04T02:09:40.000Z | 2020-08-04T02:09:40.000Z | src/config_loader.cpp | oeone/ClashSubGenerator | 3188f336a4388ed304c82d2d24b9ef69f21f32d5 | [
"MIT"
] | 3 | 2020-08-01T07:06:07.000Z | 2021-12-14T12:33:36.000Z | //
// Created by Kotarou on 2020/8/7.
//
#include <fstream>
#include <fmt/format.h>
#include <yaml-cpp/yaml.h>
#include <spdlog/spdlog.h>
#include "config_loader.h"
#include "uri.h"
#include "hash.h"
#include "httpclient.h"
#include "filesystem.h"
#include "exception/invalid_uri_exception.h"
std::shared_ptr<ConfigLoa... | 31.663265 | 108 | 0.617145 | oeone |
8d4753a57f45e5e2681497ef18b41ef86c7aaa30 | 813 | cpp | C++ | kernel/posix/string.cpp | mschwartz/amos | 345a4f8f52b9805722c10ac4cedb24b480fe2dc7 | [
"MIT"
] | 4 | 2020-08-18T00:11:09.000Z | 2021-04-05T11:16:32.000Z | kernel/posix/string.cpp | mschwartz/amos | 345a4f8f52b9805722c10ac4cedb24b480fe2dc7 | [
"MIT"
] | 1 | 2020-08-15T20:39:13.000Z | 2020-08-15T20:39:13.000Z | kernel/posix/string.cpp | mschwartz/amos | 345a4f8f52b9805722c10ac4cedb24b480fe2dc7 | [
"MIT"
] | null | null | null | #include <posix.h>
#include <posix/string.h>
size_t strlen(char *s) {
int count = 0;
while (*s++) {
count++;
}
return count;
}
void strcpy(char *dst, const char *src) {
while ((*dst++ = *src++));
}
void reverse(char *src) {
int l = strlen(src);
char work[l+1];
char *dst = work,
*end_ptr = ... | 16.9375 | 49 | 0.499385 | mschwartz |
8d481bc1adad90985207ec3cbeae0668734d7fa6 | 1,519 | cpp | C++ | 3666 THE MATRIX PROBLEM/main.cpp | sqc1999-oi/HDU | 5583755c5b7055e4a7254b2124f67982cc49b72d | [
"MIT"
] | 1 | 2016-07-18T12:05:44.000Z | 2016-07-18T12:05:44.000Z | 3666 THE MATRIX PROBLEM/main.cpp | sqc1999-oi/HDU | 5583755c5b7055e4a7254b2124f67982cc49b72d | [
"MIT"
] | null | null | null | 3666 THE MATRIX PROBLEM/main.cpp | sqc1999-oi/HDU | 5583755c5b7055e4a7254b2124f67982cc49b72d | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <stack>
#include <cstring>
#include <cmath>
using namespace std;
struct Edge
{
int To, Next;
double Pow;
Edge(int to, double pow, int next) :
To(to), Pow(pow), Next(next) { }
Edge() { }
} E[1000001];
int G[1001], cnt, Cnt[1001];
double dis[... | 18.301205 | 45 | 0.463463 | sqc1999-oi |
8d483cf84c2d917421a4f571992670461a8aef81 | 4,814 | cxx | C++ | Modules/Video/Filtering/test/itkDecimateFramesVideoFilterTest.cxx | lassoan/ITK | 4634cb0490934f055065230e3db64df8f546b72a | [
"Apache-2.0"
] | 2 | 2019-09-15T10:17:06.000Z | 2019-09-15T10:19:06.000Z | Modules/Video/Filtering/test/itkDecimateFramesVideoFilterTest.cxx | lassoan/ITK | 4634cb0490934f055065230e3db64df8f546b72a | [
"Apache-2.0"
] | null | null | null | Modules/Video/Filtering/test/itkDecimateFramesVideoFilterTest.cxx | lassoan/ITK | 4634cb0490934f055065230e3db64df8f546b72a | [
"Apache-2.0"
] | 1 | 2021-09-23T08:33:37.000Z | 2021-09-23T08:33:37.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | 29.175758 | 107 | 0.672829 | lassoan |
8d4a3845d214351923034701112e23037b6b129f | 1,847 | cpp | C++ | cpp/thread_thread_thread_2.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | cpp/thread_thread_thread_2.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | cpp/thread_thread_thread_2.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | /*
g++ --std=c++20 -pthread -o ../_build/cpp/thread_thread_thread_2.exe ./cpp/thread_thread_thread_2.cpp && (cd ../_build/cpp/;./thread_thread_thread_2.exe)
https://en.cppreference.com/w/cpp/thread/thread/thread
*/
#include <iostream>
#include <utility>
#include <thread>
#include <chrono>
void f1(int n)
{
for (int ... | 26.014085 | 153 | 0.525176 | rpuntaie |
8d4a5ff37dbf9d49be0181b68162842065d0664f | 2,140 | hpp | C++ | Sources/SF2Lib/include/SF2Lib/Render/LowPassFilter.hpp | bradhowes/SF2Lib | 766c38c9c49e3cf66f4161edc1695e071c345b63 | [
"MIT"
] | null | null | null | Sources/SF2Lib/include/SF2Lib/Render/LowPassFilter.hpp | bradhowes/SF2Lib | 766c38c9c49e3cf66f4161edc1695e071c345b63 | [
"MIT"
] | null | null | null | Sources/SF2Lib/include/SF2Lib/Render/LowPassFilter.hpp | bradhowes/SF2Lib | 766c38c9c49e3cf66f4161edc1695e071c345b63 | [
"MIT"
] | null | null | null | // Copyright © 2022 Brad Howes. All rights reserved.
#pragma once
#include <cassert>
#include <iostream>
#include "SF2Lib/DSP/DSP.hpp"
#include "DSPHeaders/Biquad.hpp"
namespace SF2::Render {
class LowPassFilter
{
public:
using Coefficients = DSPHeaders::Biquad::Coefficients<Float>;
inline static Float defaul... | 29.315068 | 110 | 0.732243 | bradhowes |