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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f68d414eff261ae76c536e71101d4d82cd2b25a2 | 2,112 | cpp | C++ | webRecognize/src/stream_content/Range.cpp | enzo418/Recognice-CCTV-c- | 15da07a559d6de611452df4d404a15d4551c3017 | [
"Apache-2.0"
] | 1 | 2020-09-06T21:44:56.000Z | 2020-09-06T21:44:56.000Z | webRecognize/src/stream_content/Range.cpp | enzo418/Recognice-CCTV-c- | 15da07a559d6de611452df4d404a15d4551c3017 | [
"Apache-2.0"
] | null | null | null | webRecognize/src/stream_content/Range.cpp | enzo418/Recognice-CCTV-c- | 15da07a559d6de611452df4d404a15d4551c3017 | [
"Apache-2.0"
] | null | null | null | #include "Range.hpp"
std::vector<std::string> splitString(const std::string& str, const std::string& delim) {
std::vector<std::string> tokens;
size_t prev = 0, pos = 0;
do {
pos = str.find(delim, prev);
if (pos == std::string::npos) pos = str.length();
std::string token = str.substr(prev, pos-prev);
i... | 34.622951 | 110 | 0.603693 | enzo418 |
f690cce2d92ecb4da8df26cf0e8651d82da41b70 | 42,166 | cpp | C++ | src/libawkward/array/RegularArray.cpp | nikoladze/awkward-1.0 | 7e1001b6ee59f1cba96cf57d144e7f2719f07e69 | [
"BSD-3-Clause"
] | null | null | null | src/libawkward/array/RegularArray.cpp | nikoladze/awkward-1.0 | 7e1001b6ee59f1cba96cf57d144e7f2719f07e69 | [
"BSD-3-Clause"
] | null | null | null | src/libawkward/array/RegularArray.cpp | nikoladze/awkward-1.0 | 7e1001b6ee59f1cba96cf57d144e7f2719f07e69 | [
"BSD-3-Clause"
] | null | null | null | // BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/master/LICENSE
#include <iomanip>
#include <sstream>
#include <stdexcept>
#include "awkward/cpu-kernels/identities.h"
#include "awkward/cpu-kernels/getitem.h"
#include "awkward/cpu-kernels/operations.h"
#include "awkward/type/RegularType.h"
#... | 33.950081 | 90 | 0.561614 | nikoladze |
f691e7f968538dcfc57ac4f022eeb336a5c7f0c6 | 909 | hpp | C++ | include/natalie/proc_value.hpp | watzon/natalie | d4013d99d1302944838293b26e54c866fb99bd32 | [
"MIT"
] | null | null | null | include/natalie/proc_value.hpp | watzon/natalie | d4013d99d1302944838293b26e54c866fb99bd32 | [
"MIT"
] | null | null | null | include/natalie/proc_value.hpp | watzon/natalie | d4013d99d1302944838293b26e54c866fb99bd32 | [
"MIT"
] | null | null | null | #pragma once
#include <assert.h>
#include "natalie/class_value.hpp"
#include "natalie/forward.hpp"
#include "natalie/global_env.hpp"
#include "natalie/macros.hpp"
#include "natalie/value.hpp"
namespace Natalie {
struct ProcValue : Value {
enum class ProcType {
Proc,
Lambda
};
ProcValue(... | 22.725 | 91 | 0.625963 | watzon |
f69289e8b6797b59b7c181c3868331d49db42cf1 | 15,302 | cpp | C++ | sdk/Windows/SMXDeviceConnection.cpp | steprevolution/stepmaniax-sdk | 60e84d3f80d36bf195aedd20335173022d678ca2 | [
"MIT"
] | 33 | 2017-12-31T17:50:09.000Z | 2022-03-10T01:21:56.000Z | sdk/Windows/SMXDeviceConnection.cpp | steprevolution/stepmaniax-sdk | 60e84d3f80d36bf195aedd20335173022d678ca2 | [
"MIT"
] | 2 | 2021-02-16T03:15:01.000Z | 2021-04-21T01:56:23.000Z | sdk/Windows/SMXDeviceConnection.cpp | steprevolution/stepmaniax-sdk | 60e84d3f80d36bf195aedd20335173022d678ca2 | [
"MIT"
] | 5 | 2018-01-11T17:18:08.000Z | 2020-07-06T07:32:50.000Z | #include "SMXDeviceConnection.h"
#include "Helpers.h"
#include <string>
#include <memory>
using namespace std;
using namespace SMX;
#include <hidsdi.h>
#include <SetupAPI.h>
SMX::SMXDeviceConnection::PendingCommandPacket::PendingCommandPacket()
{
}
SMXDeviceConnection::PendingCommand::PendingCommand()
{
memset(... | 34.936073 | 129 | 0.63874 | steprevolution |
f692fb51430b7f5773f596e9bd87068f645886c1 | 2,233 | hpp | C++ | src/composable_kernel/composable_kernel/include/utility/array_multi_index.hpp | j4yan/MIOpen | dc38f79bee97e047d866d9c1e25289cba86fab56 | [
"MIT"
] | 745 | 2017-07-01T22:03:25.000Z | 2022-03-26T23:46:27.000Z | src/composable_kernel/composable_kernel/include/utility/array_multi_index.hpp | j4yan/MIOpen | dc38f79bee97e047d866d9c1e25289cba86fab56 | [
"MIT"
] | 1,348 | 2017-07-02T12:37:48.000Z | 2022-03-31T23:45:51.000Z | src/composable_kernel/composable_kernel/include/utility/array_multi_index.hpp | j4yan/MIOpen | dc38f79bee97e047d866d9c1e25289cba86fab56 | [
"MIT"
] | 158 | 2017-07-01T19:37:04.000Z | 2022-03-30T11:57:04.000Z | #ifndef CK_ARRAY_MULTI_INDEX_HPP
#define CK_ARRAY_MULTI_INDEX_HPP
#include "common_header.hpp"
namespace ck {
template <index_t N>
using MultiIndex = Array<index_t, N>;
template <typename... Xs>
__host__ __device__ constexpr auto make_multi_index(Xs&&... xs)
{
return make_array<index_t>(index_t{xs}...);
}
temp... | 28.628205 | 84 | 0.652485 | j4yan |
f693dfb2236403c0e9e39be40fae6039d806a28c | 2,668 | cxx | C++ | Modules/Numerics/Optimizersv4/test/itkOptimizerParameterScalesEstimatorTest.cxx | ferdymercury/ITK | b0a86ded2edd698a6f4a3e58a9db23523a7eb871 | [
"Apache-2.0"
] | 2 | 2021-02-01T17:24:16.000Z | 2021-02-02T02:18:46.000Z | Modules/Numerics/Optimizersv4/test/itkOptimizerParameterScalesEstimatorTest.cxx | ferdymercury/ITK | b0a86ded2edd698a6f4a3e58a9db23523a7eb871 | [
"Apache-2.0"
] | 4 | 2019-02-08T21:13:11.000Z | 2019-02-18T20:57:34.000Z | Modules/Numerics/Optimizersv4/test/itkOptimizerParameterScalesEstimatorTest.cxx | ferdymercury/ITK | b0a86ded2edd698a6f4a3e58a9db23523a7eb871 | [
"Apache-2.0"
] | 4 | 2015-02-07T05:09:14.000Z | 2019-10-08T09:17:30.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | 29.318681 | 93 | 0.702774 | ferdymercury |
f695d4b11de5b86d50febfe9a805745deedb8bb9 | 2,338 | cc | C++ | example/publisher_raw.cc | pedro-salgueiro/ign-transport | 57558607ceb98dd4d90f6bb546a1fb70f85f78af | [
"ECL-2.0",
"Apache-2.0"
] | 21 | 2020-04-15T16:58:42.000Z | 2022-03-07T00:27:15.000Z | example/publisher_raw.cc | pedro-salgueiro/ign-transport | 57558607ceb98dd4d90f6bb546a1fb70f85f78af | [
"ECL-2.0",
"Apache-2.0"
] | 164 | 2020-04-29T23:29:49.000Z | 2022-03-25T22:30:10.000Z | example/publisher_raw.cc | pedro-salgueiro/ign-transport | 57558607ceb98dd4d90f6bb546a1fb70f85f78af | [
"ECL-2.0",
"Apache-2.0"
] | 23 | 2020-05-15T18:34:59.000Z | 2022-02-01T16:46:52.000Z | /*
* Copyright (C) 2018 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 29.594937 | 77 | 0.669376 | pedro-salgueiro |
f696667a5676aaf31905173455591049ba3883a0 | 7,209 | cpp | C++ | cpp/test/sync_comms_test.cpp | deHasara/cylon | f5e31a1191d6a30c0a8c5778a7db4a07c5802da8 | [
"Apache-2.0"
] | 229 | 2020-07-01T14:05:10.000Z | 2022-03-25T12:26:58.000Z | cpp/test/sync_comms_test.cpp | deHasara/cylon | f5e31a1191d6a30c0a8c5778a7db4a07c5802da8 | [
"Apache-2.0"
] | 261 | 2020-06-30T23:23:15.000Z | 2022-03-16T09:55:40.000Z | cpp/test/sync_comms_test.cpp | deHasara/cylon | f5e31a1191d6a30c0a8c5778a7db4a07c5802da8 | [
"Apache-2.0"
] | 36 | 2020-06-30T23:14:52.000Z | 2022-03-03T02:37:09.000Z | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 31.343478 | 93 | 0.582189 | deHasara |
f696a3d11829cd9aa1afd0c67c005b05862b6973 | 3,633 | cpp | C++ | common/operations/Reverse.cpp | riscv-android-src/platform-packages-modules-NeuralNetworks | 32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5 | [
"Apache-2.0"
] | null | null | null | common/operations/Reverse.cpp | riscv-android-src/platform-packages-modules-NeuralNetworks | 32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5 | [
"Apache-2.0"
] | null | null | null | common/operations/Reverse.cpp | riscv-android-src/platform-packages-modules-NeuralNetworks | 32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 36.69697 | 94 | 0.728599 | riscv-android-src |
f696d1f07c46cb92e6a7fd4d8f8d91ffb69f58da | 20,395 | cpp | C++ | src/intent/src/samples.cpp | ishine/clause | 293296f4af560bfb02a736d1fc2c82589d7d322e | [
"Apache-1.1"
] | 344 | 2019-09-09T11:23:43.000Z | 2022-03-25T17:36:33.000Z | src/intent/src/samples.cpp | forn-qsz/clause | 67737562f9f2ffc3d9c728eb7f3341099fbaf3f0 | [
"Apache-1.1"
] | 41 | 2019-09-05T02:16:46.000Z | 2021-12-13T10:49:10.000Z | src/intent/src/samples.cpp | forn-qsz/clause | 67737562f9f2ffc3d9c728eb7f3341099fbaf3f0 | [
"Apache-1.1"
] | 112 | 2019-09-11T07:20:06.000Z | 2022-03-17T07:03:30.000Z | /***************************************************************************
*
* Copyright (c) 2019 Chatopera.Inc, Inc. All Rights Reserved
*
**************************************************************************/
/**
* @file /Users/hain/chatopera/chatopera.io/clause/src/intent/src/samples.cpp
* @author Hai ... | 30.081121 | 129 | 0.531356 | ishine |
f699fdcf190556331e43d5bfbbc93d4a0cc33b38 | 935 | cpp | C++ | CCC/CCC17S3.cpp | Genius1506/Competitive-Programming | 0fcbd9cd1a2381cf6dcb6e31f4ad0afe7cb98947 | [
"MIT"
] | null | null | null | CCC/CCC17S3.cpp | Genius1506/Competitive-Programming | 0fcbd9cd1a2381cf6dcb6e31f4ad0afe7cb98947 | [
"MIT"
] | null | null | null | CCC/CCC17S3.cpp | Genius1506/Competitive-Programming | 0fcbd9cd1a2381cf6dcb6e31f4ad0afe7cb98947 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define all(x) x.begin(),x.end()
#define INF (0x3f3f3f3f)
#define ms(a,b) memset(a,b,sizeof(a));
int main(){
ios::sync_with_stdio(0); cin.tie(0);
int n;
cin >> n;
vector<int>miku(2005);
for(int i = 0; i < n; i++){
int x; cin ... | 23.974359 | 57 | 0.40107 | Genius1506 |
f69d0fc08d8fac28ef739becfca9e62b4e3e119b | 32 | cpp | C++ | tools/enum_parser/parse_enum/ut/stringlist.cpp | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | tools/enum_parser/parse_enum/ut/stringlist.cpp | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | tools/enum_parser/parse_enum/ut/stringlist.cpp | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | "qqqq\nqqqqqq", "test:\\string"
| 16 | 31 | 0.65625 | HeyLey |
f69e5920f1f019f6c6daa61a386d70ce091b57c5 | 53,236 | cpp | C++ | src/pairwise.cpp | toshihr/mtrap | e6001ef79c89bbb7c5b731fe6ade4659add5d1ea | [
"BSD-3-Clause"
] | null | null | null | src/pairwise.cpp | toshihr/mtrap | e6001ef79c89bbb7c5b731fe6ade4659add5d1ea | [
"BSD-3-Clause"
] | null | null | null | src/pairwise.cpp | toshihr/mtrap | e6001ef79c89bbb7c5b731fe6ade4659add5d1ea | [
"BSD-3-Clause"
] | null | null | null | #include <cstdlib>
#include <iostream>
#include <iomanip>
#include <cmath>
#include <Eigen/Dense>
#include <Eigen/StdVector>
#include <algorithm>
#include <string>
#include <fstream>
#include <map>
#include <set>
#include <cstdlib>
#include <cassert>
#include "scorematrix.h"
#include "tqmatrix.h"
#include "pairwise.h"... | 40.48365 | 168 | 0.520005 | toshihr |
f69ec16e8bd0c34cfab6ad6282716b787ad2592f | 15,306 | cc | C++ | src/vnsw/agent/kstate/test/test_kstate.cc | Juniper/contrail-dev-controller | d4fd8fa8e309fd6746c9998f7e8644c2910affbb | [
"Apache-2.0"
] | 5 | 2015-01-08T17:34:41.000Z | 2017-09-28T16:00:25.000Z | src/vnsw/agent/kstate/test/test_kstate.cc | Juniper/contrail-dev-controller | d4fd8fa8e309fd6746c9998f7e8644c2910affbb | [
"Apache-2.0"
] | null | null | null | src/vnsw/agent/kstate/test/test_kstate.cc | Juniper/contrail-dev-controller | d4fd8fa8e309fd6746c9998f7e8644c2910affbb | [
"Apache-2.0"
] | 2 | 2016-06-24T20:16:45.000Z | 2020-02-05T10:47:43.000Z | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include "test/test_init.h"
#include "test/test_cmn_util.h"
#include "kstate/test/test_kstate.h"
#include "oper/mirror_table.h"
#include "oper/tunnel_nh.h"
#include "xmpp/test/xmpp_test_util.h"
#include "ksync/ksync_sock_user.h"
#define vm1_ip "... | 32.705128 | 101 | 0.602574 | Juniper |
f69ec72ee80677404c8e4a4123e1c38e1de29936 | 4,144 | cpp | C++ | eagle_mpc_2_control/src/motor_test.cpp | PepMS/eagle_mpc_ros2 | 19f9d23606524960ef2d4ad2ccf609c91f813b2e | [
"MIT"
] | 5 | 2021-08-07T06:16:20.000Z | 2022-02-27T21:43:33.000Z | eagle_mpc_2_control/src/motor_test.cpp | PepMS/px4_mpc | 19f9d23606524960ef2d4ad2ccf609c91f813b2e | [
"MIT"
] | null | null | null | eagle_mpc_2_control/src/motor_test.cpp | PepMS/px4_mpc | 19f9d23606524960ef2d4ad2ccf609c91f813b2e | [
"MIT"
] | 2 | 2021-01-05T03:12:13.000Z | 2021-01-05T03:12:13.000Z | ////////////////////////////////////////////////////////////////////////////////////
// MIT License
//
// Copyright (c) 2020 Pep Martí Saumell
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Sof... | 37.333333 | 117 | 0.694981 | PepMS |
f6a043340753792232e2b08a3a5bc56d9b9184e9 | 2,732 | cpp | C++ | src/ensnare/private/config.cpp | dumjyl/cpp_interop | 87d2dd7cb9a00a46fb101677e633b706ffd5a46d | [
"MIT"
] | null | null | null | src/ensnare/private/config.cpp | dumjyl/cpp_interop | 87d2dd7cb9a00a46fb101677e633b706ffd5a46d | [
"MIT"
] | 4 | 2020-01-14T08:38:32.000Z | 2020-01-17T06:03:44.000Z | src/ensnare/private/config.cpp | dumjyl/clang-tooling-nim | 87d2dd7cb9a00a46fb101677e633b706ffd5a46d | [
"MIT"
] | null | null | null | #include "ensnare/private/config.hpp"
#include "llvm/Support/CommandLine.h"
namespace cl = llvm::cl;
using namespace ensnare;
cl::list<Str> syms("sym", cl::desc("specify specific symbols to bind. FIXME: not implimented"));
cl::list<Str> gensym_types("gensym-type", cl::desc("mangle a type symbol"));
cl::list<Str> incl... | 37.944444 | 99 | 0.654466 | dumjyl |
f6a1d5d6a9a8d4bedf8c6d357881f68c001b3104 | 987 | cpp | C++ | src/cpp/k273/parseargs.cpp | ggplib/k273 | 704c77cc3bdf72ccd43ec91a8693543887944e7d | [
"MIT"
] | 1 | 2019-05-15T15:27:22.000Z | 2019-05-15T15:27:22.000Z | src/cpp/k273/parseargs.cpp | ggplib/k273 | 704c77cc3bdf72ccd43ec91a8693543887944e7d | [
"MIT"
] | null | null | null | src/cpp/k273/parseargs.cpp | ggplib/k273 | 704c77cc3bdf72ccd43ec91a8693543887944e7d | [
"MIT"
] | 1 | 2018-12-16T12:36:32.000Z | 2018-12-16T12:36:32.000Z |
// local includes
#include "k273/parseargs.h"
#include "k273/strutils.h"
#include "k273/exception.h"
// std includes
#include <vector>
#include <string>
///////////////////////////////////////////////////////////////////////////////
using namespace std;
using namespace K273;
/////////////////////////////////////... | 19.352941 | 79 | 0.525836 | ggplib |
f6a2cb6dbeb1e50bf05847798c10116bc1c5f2b1 | 3,182 | cpp | C++ | Foundation/testsuite/src/HashSetTest.cpp | e0861280/poco | 961ca3e246f55646ab6e101e35e3ec0db359360f | [
"BSL-1.0"
] | null | null | null | Foundation/testsuite/src/HashSetTest.cpp | e0861280/poco | 961ca3e246f55646ab6e101e35e3ec0db359360f | [
"BSL-1.0"
] | null | null | null | Foundation/testsuite/src/HashSetTest.cpp | e0861280/poco | 961ca3e246f55646ab6e101e35e3ec0db359360f | [
"BSL-1.0"
] | 1 | 2019-09-13T16:32:18.000Z | 2019-09-13T16:32:18.000Z | //
// HashSetTest.cpp
//
// $Id: //poco/1.4/Foundation/testsuite/src/HashSetTest.cpp#1 $
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "HashSetTest.h"
#include "Poco/CppUnit/TestCaller.h"
#include "Poco/CppUnit/TestSuit... | 17.016043 | 76 | 0.589252 | e0861280 |
f6a498c11e32b886a6423d1143611a28c2a6c443 | 3,447 | cpp | C++ | osquery/tables/system/darwin/keychain_items.cpp | saydulk/osquery | 5789d889f421f6761ba7c600d7eaf8a3ba18ee82 | [
"BSD-3-Clause"
] | null | null | null | osquery/tables/system/darwin/keychain_items.cpp | saydulk/osquery | 5789d889f421f6761ba7c600d7eaf8a3ba18ee82 | [
"BSD-3-Clause"
] | null | null | null | osquery/tables/system/darwin/keychain_items.cpp | saydulk/osquery | 5789d889f421f6761ba7c600d7eaf8a3ba18ee82 | [
"BSD-3-Clause"
] | 16 | 2017-01-12T10:37:09.000Z | 2019-04-19T08:23:19.000Z | /*
* Copyright (c) 2014, 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.
*
*/
#include <o... | 29.973913 | 79 | 0.694517 | saydulk |
f6a4b2256caa16cc8318635c61ae1f5f11eb4278 | 8,614 | cpp | C++ | Fundamental/CCore/src/CharProp.cpp | SergeyStrukov/CCore-4-xx | 5faeadd50a24a7dbe18ffff8efe5f49212588637 | [
"BSL-1.0"
] | null | null | null | Fundamental/CCore/src/CharProp.cpp | SergeyStrukov/CCore-4-xx | 5faeadd50a24a7dbe18ffff8efe5f49212588637 | [
"BSL-1.0"
] | null | null | null | Fundamental/CCore/src/CharProp.cpp | SergeyStrukov/CCore-4-xx | 5faeadd50a24a7dbe18ffff8efe5f49212588637 | [
"BSL-1.0"
] | null | null | null | /* CharProp.cpp */
//----------------------------------------------------------------------------------------
//
// Project: CCore 4.01
//
// Tag: Fundamental Mini
//
// License: Boost Software License - Version 1.0 - August 17th, 2003
//
// see http://www.boost.org/LICENSE_1_0.txt or the local copy
//
//... | 48.943182 | 98 | 0.605642 | SergeyStrukov |
f6a4fed00c19f81901079427b00f265597f563dc | 41,230 | hpp | C++ | ros/src/computing/perception/localization/lib/fast_pcl/registration/include/fast_pcl/registration/impl/ndt.hpp | izeki/Autoware | 21dcd18c4166331c290bd573733e0b881ca29ad7 | [
"BSD-3-Clause"
] | 9 | 2019-09-02T06:24:54.000Z | 2021-09-21T08:25:54.000Z | ros/src/computing/perception/localization/lib/fast_pcl/registration/include/fast_pcl/registration/impl/ndt.hpp | izeki/Autoware | 21dcd18c4166331c290bd573733e0b881ca29ad7 | [
"BSD-3-Clause"
] | 1 | 2017-12-06T11:35:14.000Z | 2017-12-06T11:35:14.000Z | ros/src/computing/perception/localization/lib/fast_pcl/registration/include/fast_pcl/registration/impl/ndt.hpp | izeki/Autoware | 21dcd18c4166331c290bd573733e0b881ca29ad7 | [
"BSD-3-Clause"
] | 11 | 2019-09-02T06:25:13.000Z | 2022-03-25T00:45:21.000Z | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2011, Willow Garage, Inc.
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, ar... | 41.60444 | 196 | 0.598496 | izeki |
f6a54b27566969a2b093dedf6e8c51c5da871b60 | 4,434 | cpp | C++ | fhq-server/src.wsjcpp/wsjcpp_parse_conf/wsjcpp_parse_conf.cpp | MobyFS/fhq-server | aa2d8891b0c958ce74ae2a8bf2635c3683b368e0 | [
"MIT"
] | 28 | 2019-04-03T17:23:27.000Z | 2022-02-25T09:27:43.000Z | fhq-server/src.wsjcpp/wsjcpp_parse_conf/wsjcpp_parse_conf.cpp | MobyFS/fhq-server | aa2d8891b0c958ce74ae2a8bf2635c3683b368e0 | [
"MIT"
] | 194 | 2019-02-01T15:07:51.000Z | 2022-03-22T10:57:06.000Z | fhq-server/src.wsjcpp/wsjcpp_parse_conf/wsjcpp_parse_conf.cpp | MobyFS/fhq-server | aa2d8891b0c958ce74ae2a8bf2635c3683b368e0 | [
"MIT"
] | 12 | 2019-04-11T08:45:57.000Z | 2022-03-25T10:44:35.000Z |
#include "wsjcpp_parse_conf.h"
#include <wsjcpp_core.h>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <fstream>
// ---------------------------------------------------------------------
// WsjcppParseConf
WsjcppParseConf::WsjcppParseConf(const std::string &sFilepathConf) {
TAG = "WsjcppPars... | 37.260504 | 150 | 0.532476 | MobyFS |
f6a6bfc60c2aad74e263cffaab70ce32b2f85892 | 11,858 | cpp | C++ | src/openms/source/FORMAT/ProtXMLFile.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2021-07-06T09:15:10.000Z | 2021-07-06T09:15:10.000Z | src/openms/source/FORMAT/ProtXMLFile.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/FORMAT/ProtXMLFile.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 39.791946 | 176 | 0.650531 | andreott |
f6a93f99a48b3dd6c95d0d8ecb973fbc98934268 | 13,270 | cxx | C++ | Examples/DataRepresentation/Containers/TreeContainer.cxx | nalinimsingh/ITK_4D | 95a2eacaeaffe572889832ef0894239f89e3f303 | [
"Apache-2.0"
] | 3 | 2018-10-01T20:46:17.000Z | 2019-12-17T19:39:50.000Z | Examples/DataRepresentation/Containers/TreeContainer.cxx | nalinimsingh/ITK_4D | 95a2eacaeaffe572889832ef0894239f89e3f303 | [
"Apache-2.0"
] | null | null | null | Examples/DataRepresentation/Containers/TreeContainer.cxx | nalinimsingh/ITK_4D | 95a2eacaeaffe572889832ef0894239f89e3f303 | [
"Apache-2.0"
] | 4 | 2018-05-17T16:34:54.000Z | 2020-09-24T02:12:40.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
*
* ... | 32.444988 | 92 | 0.653278 | nalinimsingh |
f6a98500b67dc2f31b184f8cefae39eb70f08e4f | 1,071 | hh | C++ | DomainSpeech/coordination/src-gen/TTSCorrdinationService/TTSCorrdinationService.hh | Servicerobotics-Ulm/DomainModelsRepositories | 7cc2bd5d4f9a11275721e77b6bd5164b9ff2bb7b | [
"BSD-3-Clause"
] | null | null | null | DomainSpeech/coordination/src-gen/TTSCorrdinationService/TTSCorrdinationService.hh | Servicerobotics-Ulm/DomainModelsRepositories | 7cc2bd5d4f9a11275721e77b6bd5164b9ff2bb7b | [
"BSD-3-Clause"
] | 2 | 2020-08-20T14:49:47.000Z | 2020-10-07T16:10:07.000Z | DomainSpeech/coordination/src-gen/TTSCorrdinationService/TTSCorrdinationService.hh | Servicerobotics-Ulm/DomainModelsRepositories | 7cc2bd5d4f9a11275721e77b6bd5164b9ff2bb7b | [
"BSD-3-Clause"
] | 8 | 2018-06-25T08:41:28.000Z | 2020-08-13T10:39:30.000Z | #ifndef TTSCORRDINATIONSERVICE_H_
#define TTSCORRDINATIONSERVICE_H_
#include "aceSmartSoft.hh"
// include communication objects
#include <CommBasicObjects/CommPropertySet.hh>
#include <CommBasicObjects/CommPropertySetACE.hh>
#include <DomainSpeech/CommSpeechOutputMessage.hh>
#include <DomainSpeech/CommSpeechOutputMess... | 34.548387 | 139 | 0.852474 | Servicerobotics-Ulm |
f6a9e94ef3b59e7bf726be522560c8999a2e1f54 | 43,866 | cc | C++ | components/sessions/core/session_service_commands.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/sessions/core/session_service_commands.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/sessions/core/session_service_commands.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // 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 "components/sessions/core/session_service_commands.h"
#include <stdint.h>
#include <string.h>
#include <utility>
#include <vector>
#include "b... | 37.080304 | 80 | 0.679615 | Ron423c |
f6aa1aa345953311335d87118e4e38a8ce825313 | 12,312 | hpp | C++ | inference-engine/src/inference_engine/cpp_interfaces/impl/ie_infer_request_internal.hpp | undeadinu/dldt | fbc7a4a710c24def8ab199926a7da90a0394b87d | [
"Apache-2.0"
] | 1 | 2019-03-22T06:35:55.000Z | 2019-03-22T06:35:55.000Z | inference-engine/src/inference_engine/cpp_interfaces/impl/ie_infer_request_internal.hpp | undeadinu/dldt | fbc7a4a710c24def8ab199926a7da90a0394b87d | [
"Apache-2.0"
] | null | null | null | inference-engine/src/inference_engine/cpp_interfaces/impl/ie_infer_request_internal.hpp | undeadinu/dldt | fbc7a4a710c24def8ab199926a7da90a0394b87d | [
"Apache-2.0"
] | 1 | 2019-06-11T06:20:42.000Z | 2019-06-11T06:20:42.000Z | // Copyright (C) 2018 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <blob_factory.hpp>
#include <ie_input_info.hpp>
#include <ie_icnn_network.hpp>
#include "cpp_interfaces/interface/ie_iinfer_request_internal.... | 45.264706 | 131 | 0.56051 | undeadinu |
f6aae8b486cdbc4a42085f1efac0e8f67a656666 | 4,161 | cpp | C++ | source/gts/source/macro_scheduler/compute_resources/MicroScheduler_Workload.cpp | jeffhammond/GTS-GamesTaskScheduler | 70a3031268968c4bdec3189cfdd3795b22cadf4e | [
"MIT"
] | 1 | 2020-11-11T13:10:08.000Z | 2020-11-11T13:10:08.000Z | source/gts/source/macro_scheduler/compute_resources/MicroScheduler_Workload.cpp | JulianoCristian/GTS-GamesTaskScheduler | 269aaced42b111c32b1c15bd748ae2058a3dc10a | [
"MIT"
] | null | null | null | source/gts/source/macro_scheduler/compute_resources/MicroScheduler_Workload.cpp | JulianoCristian/GTS-GamesTaskScheduler | 269aaced42b111c32b1c15bd748ae2058a3dc10a | [
"MIT"
] | null | null | null | /*******************************************************************************
* Copyright 2019 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restrict... | 41.61 | 142 | 0.605624 | jeffhammond |
f6ab2ad17f4fbbd80e61208f14188f46366553c8 | 13,203 | cpp | C++ | Editor/SourceListView.cpp | ahwayakchih/Medo | acc34c189676544c092fbc6800c27a25d05de6dd | [
"MIT"
] | null | null | null | Editor/SourceListView.cpp | ahwayakchih/Medo | acc34c189676544c092fbc6800c27a25d05de6dd | [
"MIT"
] | null | null | null | Editor/SourceListView.cpp | ahwayakchih/Medo | acc34c189676544c092fbc6800c27a25d05de6dd | [
"MIT"
] | null | null | null | /* PROJECT: Medo
* AUTHORS: Zenja Solaja, Melbourne Australia
* COPYRIGHT: Zen Yes Pty Ltd, 2019-2021
* DESCRIPTION: Source item
*/
#include <cassert>
#include <InterfaceKit.h>
#include <support/String.h>
#include <ControlLook.h>
#ifndef _GRAPHICS_DEFS_H
#include <interface/GraphicsDefs.h>
#endif
#include "I... | 27.50625 | 161 | 0.713626 | ahwayakchih |
f6ac04042b5465189c53dd285b941eb2a801bd4d | 453 | hpp | C++ | OSXLabs/OSX_RenderWorld/OSX_RenderWorld/SpriteNode.hpp | aytona/MultimediaSystemsDevelopment | faf5d38c33f9bad1f0965c99851c5d184c244a87 | [
"MIT"
] | null | null | null | OSXLabs/OSX_RenderWorld/OSX_RenderWorld/SpriteNode.hpp | aytona/MultimediaSystemsDevelopment | faf5d38c33f9bad1f0965c99851c5d184c244a87 | [
"MIT"
] | null | null | null | OSXLabs/OSX_RenderWorld/OSX_RenderWorld/SpriteNode.hpp | aytona/MultimediaSystemsDevelopment | faf5d38c33f9bad1f0965c99851c5d184c244a87 | [
"MIT"
] | null | null | null | #ifndef SPRITENODE_HPP
#define SPRITENODE_HPP
#include <SceneNode.hpp>
#include <SFML/Graphics/Sprite.hpp>
class SpriteNode : public SceneNode
{
public:
explicit SpriteNode(const sf::Texture& texture);
SpriteNode(const sf::Texture& texture, const sf::IntRect& textureRect);
private:
virtual void dr... | 18.12 | 85 | 0.735099 | aytona |
f6ac8720c16708eb75fff333e6faee7b348e90e1 | 3,035 | cc | C++ | protobuf-2.2.0/src/google/protobuf/compiler/objectivec/objectivec_enum.cc | BADKOD/metasyntactic | cea5408f8c575aae4f280df983f511b5fa7ed541 | [
"Apache-2.0"
] | 1 | 2016-01-02T10:37:45.000Z | 2016-01-02T10:37:45.000Z | protobuf-2.2.0/src/google/protobuf/compiler/objectivec/objectivec_enum.cc | BADKOD/metasyntactic | cea5408f8c575aae4f280df983f511b5fa7ed541 | [
"Apache-2.0"
] | 1 | 2016-12-15T12:24:46.000Z | 2016-12-15T12:24:46.000Z | protobuf-2.2.0/src/google/protobuf/compiler/objectivec/objectivec_enum.cc | BADKOD/metasyntactic | cea5408f8c575aae4f280df983f511b5fa7ed541 | [
"Apache-2.0"
] | null | null | null | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc.
// http://code.google.com/p/protobuf/
//
// 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:... | 30.656566 | 83 | 0.647446 | BADKOD |
f6ad4d18b5631071947408dc5350d6e6aeee5066 | 4,658 | cc | C++ | test/syscalls/linux/madvise.cc | jmgao/gvisor | b915a25597a961311ceb57f89d18eaee9c9461d8 | [
"Apache-2.0"
] | null | null | null | test/syscalls/linux/madvise.cc | jmgao/gvisor | b915a25597a961311ceb57f89d18eaee9c9461d8 | [
"Apache-2.0"
] | null | null | null | test/syscalls/linux/madvise.cc | jmgao/gvisor | b915a25597a961311ceb57f89d18eaee9c9461d8 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 The gVisor Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 32.573427 | 78 | 0.711894 | jmgao |
f6af9e0f63fb0cd558edbadf9707a02274bb9a42 | 5,651 | hpp | C++ | set.hpp | user1095108/sg | 44c9d3a5351add4bfa39f472e1478a75f0519325 | [
"Unlicense"
] | 1 | 2021-09-27T11:51:19.000Z | 2021-09-27T11:51:19.000Z | set.hpp | user1095108/sg | 44c9d3a5351add4bfa39f472e1478a75f0519325 | [
"Unlicense"
] | null | null | null | set.hpp | user1095108/sg | 44c9d3a5351add4bfa39f472e1478a75f0519325 | [
"Unlicense"
] | null | null | null | #ifndef SG_SET_HPP
# define SG_SET_HPP
# pragma once
#include "utils.hpp"
#include "mapiterator.hpp"
namespace sg
{
template <typename Key, class Compare = std::compare_three_way>
class set
{
public:
struct node;
using key_type = Key;
using value_type = Key;
using difference_type = std::ptrdiff_t;
using... | 20.182143 | 77 | 0.511945 | user1095108 |
f6afe39638f9658003b3f627d8227bbb01cd1dd5 | 6,826 | hpp | C++ | tests/include/testing_ellmv.hpp | DevilInChina/aocl-sparse | d3f6fadfb0406ce124daae0456e09321a3019baf | [
"MIT"
] | null | null | null | tests/include/testing_ellmv.hpp | DevilInChina/aocl-sparse | d3f6fadfb0406ce124daae0456e09321a3019baf | [
"MIT"
] | null | null | null | tests/include/testing_ellmv.hpp | DevilInChina/aocl-sparse | d3f6fadfb0406ce124daae0456e09321a3019baf | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright (c) 2020 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without r... | 40.152941 | 105 | 0.490331 | DevilInChina |
f6b0ff8822edee3ba67df0f9bab88b4f38c87e8e | 334 | cpp | C++ | All Algorithms/Kadane's Algorithm/Kadane'sAlgorithm.cpp | ravimishra21/free-programming-books | e47f9eaa9a51723a097442673d86f1914768d581 | [
"CC-BY-4.0"
] | null | null | null | All Algorithms/Kadane's Algorithm/Kadane'sAlgorithm.cpp | ravimishra21/free-programming-books | e47f9eaa9a51723a097442673d86f1914768d581 | [
"CC-BY-4.0"
] | null | null | null | All Algorithms/Kadane's Algorithm/Kadane'sAlgorithm.cpp | ravimishra21/free-programming-books | e47f9eaa9a51723a097442673d86f1914768d581 | [
"CC-BY-4.0"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long int n,i;
cin>>n;
long long int arr[n];
for(int i=0;i<n;i++)
cin>>arr[i];
long long int cs=arr[0],ms=arr[0];
for(i=1;i<n;i++)
{
cs=max(cs+arr[i],arr[i]);
ms=max(ms,cs);
}
cout<< ms <<endl;
... | 13.916667 | 38 | 0.48503 | ravimishra21 |
f6b1b1e49799d699d070188407d86949d4f4cee5 | 298 | cpp | C++ | doc/examples/begin.cpp | Hexlord/json | 66869458b5227170e052d01aa65b47ee8350b666 | [
"MIT"
] | 23 | 2016-01-20T07:50:24.000Z | 2021-09-08T05:08:19.000Z | json-master/doc/examples/begin.cpp | bobismijnnaam/bobetex | 9960eafd31c73b4070b236d5dfafd5734492aaf5 | [
"MIT"
] | 18 | 2016-06-01T11:56:54.000Z | 2016-06-06T10:58:53.000Z | json-master/doc/examples/begin.cpp | bobismijnnaam/bobetex | 9960eafd31c73b4070b236d5dfafd5734492aaf5 | [
"MIT"
] | 19 | 2016-01-24T13:05:24.000Z | 2021-06-25T01:36:47.000Z | #include <json.hpp>
using namespace nlohmann;
int main()
{
// create an array value
json array = {1, 2, 3, 4, 5};
// get am iterator to the first element
json::iterator it = array.begin();
// serialize the element that the iterator points to
std::cout << *it << '\n';
}
| 18.625 | 56 | 0.607383 | Hexlord |
f6b3be12b47bf8994de8c2bd401a95fc1cea479d | 6,814 | cpp | C++ | src/kvstore/test/NebulaStoreTest.cpp | 0xflotus/nebula | 10faa87c83f66b62e0db493f958492afe8b569c8 | [
"Apache-2.0"
] | 1 | 2019-05-24T02:41:17.000Z | 2019-05-24T02:41:17.000Z | src/kvstore/test/NebulaStoreTest.cpp | steppenwolfyuetong/vgraph | b0d817fd151758d5ef788b2a26bc3e48a3fa4e18 | [
"Apache-2.0"
] | null | null | null | src/kvstore/test/NebulaStoreTest.cpp | steppenwolfyuetong/vgraph | b0d817fd151758d5ef788b2a26bc3e48a3fa4e18 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "base/Base.h"
#include <gtest/gtest.h>
#include <rocksdb/db.h>
#include <iostream>
#include "fs/TempDir.h"
#inc... | 33.732673 | 91 | 0.585119 | 0xflotus |
f6b5fd3a6465dda4620f207e14ca84cb2974ba62 | 449 | cpp | C++ | BAC/exercises/ch8/UVa10340.cpp | Anyrainel/aoapc-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 3 | 2017-08-15T06:00:01.000Z | 2018-12-10T09:05:53.000Z | BAC/exercises/ch8/UVa10340.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | BAC/exercises/ch8/UVa10340.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 2 | 2017-09-16T18:46:27.000Z | 2018-05-22T05:42:03.000Z | // UVa10340 All in All
// Rujia Liu
// 题意:输入两个字符串S和T,判断S是否为T的(不一定连续的)子串
#include<iostream>
#include<string>
using namespace std;
int main() {
string s, t;
while(cin >> s >> t) {
int n = s.length(), m = t.length();
bool ok = true;
int i, j;
for(i = j = 0; i < n; i++, j++) {
while(j < m && t[j]... | 19.521739 | 48 | 0.498886 | Anyrainel |
f6b86e26f21ab2e25e3351ce99200d1b1a963a37 | 505 | cpp | C++ | src/serialize19.lib/serialize19/serialize.std_tuple.test.cpp | Fettpet/co-cpp19 | 928a835c4f66032aa88ce01df7899da86d37df22 | [
"MIT"
] | 8 | 2020-05-31T16:13:13.000Z | 2022-01-12T08:52:42.000Z | src/serialize19.lib/serialize19/serialize.std_tuple.test.cpp | Fettpet/co-cpp19 | 928a835c4f66032aa88ce01df7899da86d37df22 | [
"MIT"
] | null | null | null | src/serialize19.lib/serialize19/serialize.std_tuple.test.cpp | Fettpet/co-cpp19 | 928a835c4f66032aa88ce01df7899da86d37df22 | [
"MIT"
] | 2 | 2020-07-21T10:58:28.000Z | 2021-07-26T06:52:05.000Z | #include "ReadArchive.h"
#include "dynamicWrite.h"
#include "serialize.std_string.h"
#include "serialize.std_tuple.h"
#include <gtest/gtest.h>
using namespace serialize19;
TEST(serialize, std_tuple) {
using T = std::tuple<int, float, std::string>;
auto input = T{23, 3.14f, std::string("glurbz")};
... | 22.954545 | 54 | 0.653465 | Fettpet |
f6bc3014e7cd46a2280478f72c5483bbc0cc08bd | 5,570 | cpp | C++ | ospray/embree-v2.7.1/kernels/xeon/bvh/bvh.cpp | mathstuf/ospray | 5c34884317b5bb84346e4e1e2e2bf8c7f50d307c | [
"Apache-2.0"
] | 1 | 2016-05-24T19:27:01.000Z | 2016-05-24T19:27:01.000Z | ospray/embree-v2.7.1/kernels/xeon/bvh/bvh.cpp | mathstuf/ospray | 5c34884317b5bb84346e4e1e2e2bf8c7f50d307c | [
"Apache-2.0"
] | null | null | null | ospray/embree-v2.7.1/kernels/xeon/bvh/bvh.cpp | mathstuf/ospray | 5c34884317b5bb84346e4e1e2e2bf8c7f50d307c | [
"Apache-2.0"
] | null | null | null | // ======================================================================== //
// Copyright 2009-2016 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 30.437158 | 163 | 0.540215 | mathstuf |
f6befdcf10baf52552d6c2e60814c1f4fe2b2725 | 1,207 | cc | C++ | UVa Online Judge/v129/12981.cc | mjenrungrot/algorithm | e0e8174eb133ba20931c2c7f5c67732e4cb2b703 | [
"MIT"
] | 1 | 2021-12-08T08:58:43.000Z | 2021-12-08T08:58:43.000Z | UVa Online Judge/v129/12981.cc | mjenrungrot/algorithm | e0e8174eb133ba20931c2c7f5c67732e4cb2b703 | [
"MIT"
] | null | null | null | UVa Online Judge/v129/12981.cc | mjenrungrot/algorithm | e0e8174eb133ba20931c2c7f5c67732e4cb2b703 | [
"MIT"
] | null | null | null | /*=============================================================================
# Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/
# FileName: 12981.cc
# Description: UVa Online Judge - 12981
=============================================================================*/
#include <bi... | 27.431818 | 79 | 0.311516 | mjenrungrot |
f6c05c96eb644ee7bad5df3a536c766ab5689011 | 1,914 | cpp | C++ | ui-qt/ToolLib/Measure/L2LDistance/FWL2LDistanceLabel.cpp | qianyongjun123/FPGA-Industrial-Smart-Camera | 54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32 | [
"MIT"
] | 1 | 2017-12-28T08:08:02.000Z | 2017-12-28T08:08:02.000Z | ui-qt/ToolLib/Measure/L2LDistance/FWL2LDistanceLabel.cpp | qianyongjun123/FPGA-Industrial-Smart-Camera | 54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32 | [
"MIT"
] | null | null | null | ui-qt/ToolLib/Measure/L2LDistance/FWL2LDistanceLabel.cpp | qianyongjun123/FPGA-Industrial-Smart-Camera | 54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32 | [
"MIT"
] | 3 | 2017-12-28T08:08:05.000Z | 2021-11-12T07:59:13.000Z | #include "FWL2LDistanceLabel.h"
#include "BasicDefine.h"
FWL2LDistanceLabel::FWL2LDistanceLabel(QWidget *parent) : QLabel(parent)
{
i_learn_result = 0;
m_Line1 = QLine(0,0,0,0);
m_Line2 = QLine(0,0,0,0);
m_samplint_line = QLine(0,0,0,0);
m_pen_color = NULL;
}
/**
* @brief FWL2LDistanceLabel::SetLi... | 21.505618 | 87 | 0.662487 | qianyongjun123 |
f6c294015ddda1b69d9b51f929f51a93f901ac3e | 977 | cpp | C++ | codeforces/C - Holidays/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/C - Holidays/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/C - Holidays/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Feb/15/2019 00:45
* solution_verdict: Accepted language: GNU C++14
* run... | 31.516129 | 111 | 0.360287 | kzvd4729 |
f6c37d0f48494b76d5bc71ef0b67de8f52d9abd8 | 1,047 | hpp | C++ | AqooleEngine/src/main/cpp/boost/boost/qvm/lite.hpp | kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine- | 72c8f34b6b6d507319069e681ff8c5008337b7c6 | [
"Apache-2.0",
"MIT"
] | null | null | null | AqooleEngine/src/main/cpp/boost/boost/qvm/lite.hpp | kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine- | 72c8f34b6b6d507319069e681ff8c5008337b7c6 | [
"Apache-2.0",
"MIT"
] | null | null | null | AqooleEngine/src/main/cpp/boost/boost/qvm/lite.hpp | kodai731/Aqoole-Engine-Android-Vulkan-Rendering-Engine- | 72c8f34b6b6d507319069e681ff8c5008337b7c6 | [
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/qvm/error.hpp>
#include <boost/qvm/mat_operations.hpp>
#include <boost/qvm/mat_acces... | 37.392857 | 79 | 0.78319 | kodai731 |
f6c3f03820f5d7e04fc9e16bd317002a7c5385e2 | 592 | cpp | C++ | CodeChef/LongChallenge/FebLongChallenge2018/feb_long_2018_chefchr.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | 1 | 2019-04-19T13:06:33.000Z | 2019-04-19T13:06:33.000Z | CodeChef/LongChallenge/FebLongChallenge2018/feb_long_2018_chefchr.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | CodeChef/LongChallenge/FebLongChallenge2018/feb_long_2018_chefchr.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin>>t;
while(t--)
{
string str,sub_str;
int count_chef = 0;
cin>>str;
if(str.length() < 4)
{
cout<<"normal"<<"\n";
continue;;
}
for (i... | 12.333333 | 40 | 0.54223 | ysumit99 |
f6c5f8384483625a419a24f5bbff86d7b56cb178 | 7,947 | cc | C++ | examples/cpp/infer_multiple_networks/inference_engine.cc | indie/ngraph-bridge | a702ee8294d0f24593ad0e9f63fe270a82d9c8b2 | [
"Apache-2.0"
] | 1 | 2019-10-10T06:03:52.000Z | 2019-10-10T06:03:52.000Z | examples/cpp/infer_multiple_networks/inference_engine.cc | indie/ngraph-bridge | a702ee8294d0f24593ad0e9f63fe270a82d9c8b2 | [
"Apache-2.0"
] | null | null | null | examples/cpp/infer_multiple_networks/inference_engine.cc | indie/ngraph-bridge | a702ee8294d0f24593ad0e9f63fe270a82d9c8b2 | [
"Apache-2.0"
] | 1 | 2019-10-10T06:03:40.000Z | 2019-10-10T06:03:40.000Z | /*******************************************************************************
* Copyright 2019 Intel 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
*
* http://www.a... | 35.477679 | 81 | 0.651567 | indie |
f6c7265b5c2473cb433dd2fc8584254fac28b53c | 28,502 | cpp | C++ | test/testchromalightnessdiagram.cpp | SammyEnigma/perceptualcolor | 58285ba09234a58a87724c8960c22e22518a5018 | [
"BSD-3-Clause",
"MIT"
] | 5 | 2020-10-08T06:33:50.000Z | 2022-03-08T18:20:29.000Z | test/testchromalightnessdiagram.cpp | SammyEnigma/perceptualcolor | 58285ba09234a58a87724c8960c22e22518a5018 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | test/testchromalightnessdiagram.cpp | SammyEnigma/perceptualcolor | 58285ba09234a58a87724c8960c22e22518a5018 | [
"BSD-3-Clause",
"MIT"
] | 2 | 2020-07-10T15:42:48.000Z | 2020-07-16T12:33:14.000Z | // SPDX-License-Identifier: MIT
/*
* Copyright (c) 2020 Lukas Sommer sommerluk@gmail.com
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limi... | 41.367199 | 114 | 0.65013 | SammyEnigma |
f6c7cf2d5a6a4bcaaf356762cb5494b72ae0ae8e | 2,442 | cpp | C++ | TritonCore/src/Triton2/Core/Extension/Text.cpp | nfwGytautas/Triton | aa4e586b1170a9bc5f63b4f15920b20e1d05e8f1 | [
"Apache-2.0"
] | 2 | 2019-10-17T15:47:54.000Z | 2019-10-17T15:47:56.000Z | TritonCore/src/Triton2/Core/Extension/Text.cpp | nfwGytautas/Triton | aa4e586b1170a9bc5f63b4f15920b20e1d05e8f1 | [
"Apache-2.0"
] | null | null | null | TritonCore/src/Triton2/Core/Extension/Text.cpp | nfwGytautas/Triton | aa4e586b1170a9bc5f63b4f15920b20e1d05e8f1 | [
"Apache-2.0"
] | 1 | 2019-10-07T08:19:28.000Z | 2019-10-07T08:19:28.000Z | #include "TRpch.h"
#include "Text.h"
#include "Triton2/Limits.h"
namespace Triton
{
namespace Extension
{
IO::Mesh buildVertexArray(reference<FontAsset> font, const std::string& text, float x, float y)
{
// Modifier for the final vertex vector length
unsigned int stride = Triton::Limits::VAO_2D_TEXT;
... | 23.941176 | 97 | 0.651106 | nfwGytautas |
f6c84d0a653e2ff6d51e89a938478889fe4916ea | 1,457 | cpp | C++ | codeforces/B - Steps/Wrong answer on test 3.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/B - Steps/Wrong answer on test 3.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/B - Steps/Wrong answer on test 3.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: May/07/2017 12:17
* solution_verdict: Wrong answer on test 3 language: GNU C++14
* run... | 26.017857 | 111 | 0.291695 | kzvd4729 |
f6c8d466e996c763d7a1e983f9f6a60bde44d124 | 440 | cpp | C++ | source/code/utilities/random/rand_impls/mwc1616.cpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/code/utilities/random/rand_impls/mwc1616.cpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/code/utilities/random/rand_impls/mwc1616.cpp | UniLang/compiler | c338ee92994600af801033a37dfb2f1a0c9ca897 | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | #include "code/utilities/random/rand_impls/mwc1616.hpp"
static ulong mwc1616_x = 1;
static ulong mwc1616_y = 2;
void seed_rand_mwc1616(ulong seed) {
mwc1616_x = seed | 1; /* Can't seed with 0 */
mwc1616_y = seed | 2;
}
ulong rand_mwc1616(void) {
mwc1616_x = 18000 * (mwc1616_x & 0xffff) + (mwc1616_x >> ... | 27.5 | 65 | 0.663636 | luxe |
f6ca39fbb207befce417aa7b2ff66961f668cf7b | 1,155 | cpp | C++ | test/che/ss.cpp | shze/biosim | e9e6d97de0ccf8067e1db15980eb600389fff6ca | [
"MIT"
] | null | null | null | test/che/ss.cpp | shze/biosim | e9e6d97de0ccf8067e1db15980eb600389fff6ca | [
"MIT"
] | null | null | null | test/che/ss.cpp | shze/biosim | e9e6d97de0ccf8067e1db15980eb600389fff6ca | [
"MIT"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include <boost/concept_check.hpp>
#include "che/ss.h" // header to test
using namespace biosim;
BOOST_AUTO_TEST_SUITE(suite_ss)
BOOST_AUTO_TEST_CASE(ss_ctor) {
che::ss s;
BOOST_CHECK(s.defined() == false);
BOOST_CHECK(s.get_length() == 0);
BOOST_CHECK(s.get_sequence().em... | 26.860465 | 113 | 0.673593 | shze |
f6ca420e99479cf72f5207334b1baa865fbae9c5 | 712 | cpp | C++ | DFNs/StereoRectification/StereoRectificationInterface.cpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 7 | 2019-02-26T15:09:50.000Z | 2021-09-30T07:39:01.000Z | DFNs/StereoRectification/StereoRectificationInterface.cpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | null | null | null | DFNs/StereoRectification/StereoRectificationInterface.cpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 1 | 2020-12-06T12:09:05.000Z | 2020-12-06T12:09:05.000Z | /**
* @addtogroup DFNs
* @{
*/
#include "StereoRectificationInterface.hpp"
namespace CDFF
{
namespace DFN
{
StereoRectificationInterface::StereoRectificationInterface()
: inOriginalStereoPair(),
outRectifiedStereoPair()
{
asn1SccFramePair_Initialize(& inOriginalStereoPair);
asn... | 18.25641 | 88 | 0.755618 | H2020-InFuse |
f6cade48f2bbf011f12e2d7e48286139b3c9a82f | 2,811 | cpp | C++ | src/jsonserializer/typeconverters/qjsonchronodurationconverter.cpp | cmguo/QtJsonSerializer | ae7f4df2cd38177b85cfe4c3a677180611bd904d | [
"BSD-3-Clause"
] | 1 | 2019-07-01T15:57:51.000Z | 2019-07-01T15:57:51.000Z | src/jsonserializer/typeconverters/qjsonchronodurationconverter.cpp | cmguo/QtJsonSerializer | ae7f4df2cd38177b85cfe4c3a677180611bd904d | [
"BSD-3-Clause"
] | 2 | 2019-10-24T12:30:44.000Z | 2020-07-08T16:07:48.000Z | src/jsonserializer/typeconverters/qjsonchronodurationconverter.cpp | cmguo/QtJsonSerializer | ae7f4df2cd38177b85cfe4c3a677180611bd904d | [
"BSD-3-Clause"
] | 3 | 2019-09-17T15:07:07.000Z | 2020-07-08T13:54:04.000Z | #include "qjsonchronodurationconverter_p.h"
#include "qjsonserializerexception.h"
#include <chrono>
using namespace std::chrono;
Q_DECLARE_METATYPE(std::chrono::nanoseconds)
Q_DECLARE_METATYPE(std::chrono::microseconds)
Q_DECLARE_METATYPE(std::chrono::milliseconds)
Q_DECLARE_METATYPE(std::chrono::seconds)
Q_DECLARE_M... | 43.921875 | 159 | 0.765564 | cmguo |
f6cb34cedc43ea44cf965ac5d462697f86374af2 | 4,348 | hpp | C++ | src/cpu/gemm/gemm_pack.hpp | JackAKirk/oneDNN | 432c3f0c1c265a0fa96aa46c256d150ea670eb5a | [
"Apache-2.0"
] | 1,327 | 2018-01-25T21:23:47.000Z | 2020-04-03T09:39:30.000Z | src/cpu/gemm/gemm_pack.hpp | JackAKirk/oneDNN | 432c3f0c1c265a0fa96aa46c256d150ea670eb5a | [
"Apache-2.0"
] | 583 | 2020-04-04T02:37:25.000Z | 2022-03-31T00:12:03.000Z | src/cpu/gemm/gemm_pack.hpp | JackAKirk/oneDNN | 432c3f0c1c265a0fa96aa46c256d150ea670eb5a | [
"Apache-2.0"
] | 365 | 2018-01-29T16:12:36.000Z | 2020-04-03T08:32:27.000Z | /*******************************************************************************
* Copyright 2019-2020 Intel 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
*
* http://www.apa... | 44.367347 | 80 | 0.678933 | JackAKirk |
f6cc5ae58a1f4457304d681f62627c6f33d32358 | 8,113 | hpp | C++ | include/GlobalNamespace/LevelSearchViewController_BeatmapLevelPackCollection.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/LevelSearchViewController_BeatmapLevelPackCollection.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/LevelSearchViewController_BeatmapLevelPackCollection.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: LevelSearchVie... | 67.608333 | 298 | 0.794651 | marksteward |
f6cdfd9deba1dd7d21b118ca2d4427fd90c9cd94 | 3,706 | cpp | C++ | test/tutorial_codeexamples/modelfittting.cpp | zhxinyu/cosan | ea93704782e6c66f6bcf65362c957d719e25b074 | [
"MIT"
] | null | null | null | test/tutorial_codeexamples/modelfittting.cpp | zhxinyu/cosan | ea93704782e6c66f6bcf65362c957d719e25b074 | [
"MIT"
] | null | null | null | test/tutorial_codeexamples/modelfittting.cpp | zhxinyu/cosan | ea93704782e6c66f6bcf65362c957d719e25b074 | [
"MIT"
] | 1 | 2021-04-13T05:56:38.000Z | 2021-04-13T05:56:38.000Z | //
// Created by Xinyu Zhang on 3/26/21.
//
#include <iostream>
#include <cosan/data/CosanData.h>
#include <cosan/base/CosanBO.h>
#include <cosan/preprocessing/overunderflow.h>
#include <cosan/preprocessing/missingvalues.h>
#include <cosan/preprocessing/normalizer.h>
#include <cosan/preprocessing/standardScaler.h>
#inc... | 40.282609 | 135 | 0.618457 | zhxinyu |
f6ce1cd52ece88a167039911c33da4eba64c9d10 | 8,056 | hpp | C++ | src/widget.hpp | gamobink/anura | 410721a174aae98f32a55d71a4e666ad785022fd | [
"CC0-1.0"
] | null | null | null | src/widget.hpp | gamobink/anura | 410721a174aae98f32a55d71a4e666ad785022fd | [
"CC0-1.0"
] | null | null | null | src/widget.hpp | gamobink/anura | 410721a174aae98f32a55d71a4e666ad785022fd | [
"CC0-1.0"
] | null | null | null | /*
Copyright (C) 2003-2014 by David White <davewx7@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
incl... | 32.095618 | 138 | 0.73076 | gamobink |
f6ce6cd0f4814cfea1b0ec889e96b0a9db85037b | 20,682 | cc | C++ | wrspice/devlib/bsim3.2.4/b3acld.cc | wrcad/xictools | f46ba6d42801426739cc8b2940a809b74f1641e2 | [
"Apache-2.0"
] | 73 | 2017-10-26T12:40:24.000Z | 2022-03-02T16:59:43.000Z | wrspice/devlib/bsim3.2.4/b3acld.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 12 | 2017-11-01T10:18:22.000Z | 2022-03-20T19:35:36.000Z | wrspice/devlib/bsim3.2.4/b3acld.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 (... | 43.358491 | 84 | 0.407359 | wrcad |
f6d0c09332080e0e583405c03d18cb3e5b963506 | 408 | cpp | C++ | codeforces/beta-round-4/div-2/watermelon.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-07-16T01:46:38.000Z | 2020-07-16T01:46:38.000Z | codeforces/beta-round-4/div-2/watermelon.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | null | null | null | codeforces/beta-round-4/div-2/watermelon.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-05-27T14:30:43.000Z | 2020-05-27T14:30:43.000Z | #include <iostream>
using namespace std;
inline void use_io_optimizations()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
int main()
{
use_io_optimizations();
unsigned int watermelon_weight;
cin >> watermelon_weight;
if (watermelon_weight > 2 && watermelon_weight % 2 == 0)
{
... | 14.068966 | 60 | 0.590686 | Rkhoiwal |
f6d0e6aedafdde0982e2a4a82633b42da85c5617 | 1,073 | cpp | C++ | DataSpec/DNACommon/STRG.cpp | RetroView/RetroCommon | a413a010b50a53ebc6b0c726203181fc179d3370 | [
"MIT"
] | 106 | 2021-04-09T19:42:56.000Z | 2022-03-30T09:13:28.000Z | DataSpec/DNACommon/STRG.cpp | Austint30/metaforce | a491e2e9f229c8db92544b275cd1baa80bacfd17 | [
"MIT"
] | 58 | 2021-04-09T12:48:58.000Z | 2022-03-22T00:11:42.000Z | DataSpec/DNACommon/STRG.cpp | Austint30/metaforce | a491e2e9f229c8db92544b275cd1baa80bacfd17 | [
"MIT"
] | 13 | 2021-04-06T23:23:20.000Z | 2022-03-16T02:09:48.000Z | #include "DataSpec/DNACommon/STRG.hpp"
#include "DataSpec/DNAMP1/STRG.hpp"
#include "DataSpec/DNAMP2/STRG.hpp"
#include "DataSpec/DNAMP3/STRG.hpp"
#include <logvisor/logvisor.hpp>
namespace DataSpec {
void ISTRG::gatherDependencies(std::vector<hecl::ProjectPath>& pathsOut) const { /* TODO: parse out resource tokens... | 24.386364 | 118 | 0.679404 | RetroView |
f6d1ce2a7d149a95999032ee6379f9b1d6e6f7e9 | 1,471 | cc | C++ | external_libs/pgenlib/pvar_ffi_support.cc | yujin2011/regenie | 7c379b5359cea7f56bea69576ce6c304555ccf51 | [
"MIT"
] | 89 | 2020-06-23T05:36:33.000Z | 2022-03-26T13:50:42.000Z | external_libs/pgenlib/pvar_ffi_support.cc | yujin2011/regenie | 7c379b5359cea7f56bea69576ce6c304555ccf51 | [
"MIT"
] | 254 | 2020-06-23T15:45:33.000Z | 2022-03-31T18:49:20.000Z | external_libs/pgenlib/pvar_ffi_support.cc | yujin2011/regenie | 7c379b5359cea7f56bea69576ce6c304555ccf51 | [
"MIT"
] | 36 | 2020-06-23T04:43:36.000Z | 2022-03-05T01:29:21.000Z | // This library is part of PLINK 2.00, copyright (C) 2005-2020 Shaun Purcell,
// Christopher Chang.
//
// This library is free software: you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published by the
// Free Software Foundation; either version 3 of the License, ... | 29.42 | 85 | 0.709041 | yujin2011 |
f6d2dfbfc2f90990b91ebccb326108f5a8981813 | 831 | cpp | C++ | 2019Homeworks/20191205_P4_Practice1/10.PaidRoads.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | 8 | 2019-10-09T14:33:42.000Z | 2020-12-03T00:49:29.000Z | 2019Homeworks/20191205_P4_Practice1/10.PaidRoads.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | 2019Homeworks/20191205_P4_Practice1/10.PaidRoads.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | #include<iostream>
#include<cstring>
using namespace std;
int n,m;
int visit[11];
int mmin=1<<30;
struct Road{
int u,v;
int c;
int p,r;
};
Road a[12];
void search(int s,int current){
if(s==n&¤t<mmin){
mmin=current;
return;
}
for(int i=1;i<=m;i++){
if(s==a[i].u&&visit[a[i].v]<=3){
int v=a[i].v;
i... | 16.62 | 52 | 0.471721 | Guyutongxue |
f6d44403c58e932fdeddece59837bfb7e787c1e2 | 7,801 | cpp | C++ | .vscode/insert.cpp | trialley/TASQL | d3813634ad0fcbe79e8d9112f476721c4da71be5 | [
"MIT"
] | null | null | null | .vscode/insert.cpp | trialley/TASQL | d3813634ad0fcbe79e8d9112f476721c4da71be5 | [
"MIT"
] | null | null | null | .vscode/insert.cpp | trialley/TASQL | d3813634ad0fcbe79e8d9112f476721c4da71be5 | [
"MIT"
] | null | null | null | // #include "BPtree.h"
// #include "declaration.h"
// #include "file_handler.h"
// int search_table(char tab_name[]) {
// //check if new table already exists in table list or not
// //use grep to search table_name string inside table_list
// // -F -> --fixed-strings ;intepret pattern as a list of fixed strings
// ... | 30.956349 | 120 | 0.511986 | trialley |
f6d4f75ed37514bf61d8253a8c0e1e206a9b7904 | 2,550 | cpp | C++ | 4course/modern_programming_tecs/other_labs/lab4/TestTPNumEditor.cpp | soul-catcher/sibsutis | 5d7d88ffabbe445052927eb6c6097697df672997 | [
"WTFPL"
] | 10 | 2021-08-28T08:44:57.000Z | 2022-03-06T16:29:51.000Z | 4course/modern_programming_tecs/other_labs/lab4/TestTPNumEditor.cpp | soul-catcher/sibsutis | 5d7d88ffabbe445052927eb6c6097697df672997 | [
"WTFPL"
] | null | null | null | 4course/modern_programming_tecs/other_labs/lab4/TestTPNumEditor.cpp | soul-catcher/sibsutis | 5d7d88ffabbe445052927eb6c6097697df672997 | [
"WTFPL"
] | 6 | 2021-09-06T07:26:18.000Z | 2021-12-16T16:11:10.000Z | #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "../doctest.h"
#include "TPNumEditor.h"
TEST_SUITE ("TPNumEditorTest") {
TEST_CASE ("CONSTR_1") {
CHECK("0" == TPNumEditor().getNumberString());
}
TEST_CASE ("EQ_ZERO_1") {
CHECK(true == TPNumEditor().equalsZero());
... | 23.181818 | 62 | 0.507059 | soul-catcher |
f6d69bbba3d0df26f01ce3c64c40e9713e54ee9b | 380 | cpp | C++ | ticket_window.cpp | NicholasWhit3/Tickets_System | 293e286ec0c71b3a56678fb41b3a58d87b4bfc42 | [
"MIT"
] | null | null | null | ticket_window.cpp | NicholasWhit3/Tickets_System | 293e286ec0c71b3a56678fb41b3a58d87b4bfc42 | [
"MIT"
] | null | null | null | ticket_window.cpp | NicholasWhit3/Tickets_System | 293e286ec0c71b3a56678fb41b3a58d87b4bfc42 | [
"MIT"
] | null | null | null | #include "ticket_window.h"
#include "ticketbase.h"
Ticket_Window::Ticket_Window(TicketBase &ticketBase) : _ticketBase(ticketBase)
{
std::cout << "Working in Ticket_Window::Ticket_Window..." << std::endl;
}
int Ticket_Window::getWindow_number() const
{
return window_number;
}
void Ticket_Window::set... | 21.111111 | 80 | 0.710526 | NicholasWhit3 |
f6d69cb0b20e0b82b9fd3bb227fb560026fbb0ea | 17,322 | hpp | C++ | lib/sept/NPTerm.hpp | vdods/sept | 08ee1faf1af4feb0dc440a3002eb8cc52681f946 | [
"Apache-2.0"
] | null | null | null | lib/sept/NPTerm.hpp | vdods/sept | 08ee1faf1af4feb0dc440a3002eb8cc52681f946 | [
"Apache-2.0"
] | null | null | null | lib/sept/NPTerm.hpp | vdods/sept | 08ee1faf1af4feb0dc440a3002eb8cc52681f946 | [
"Apache-2.0"
] | null | null | null | // 2020.04.16 - Victor Dods
#pragma once
#include <lvd/hash.hpp>
#include <lvd/static_if.hpp>
#include "sept/core.hpp"
#include "sept/Data.hpp"
#include <type_traits>
namespace sept {
using NPTermRepr = uint8_t;
// NPTerm is "NonParametricType", meaning types requiring no parameters to instantiate.
// Each Paramet... | 37.820961 | 179 | 0.719663 | vdods |
f6d6fb06ccf498cbe305d291c519446f20eaf81f | 2,138 | cpp | C++ | examples/daal/cpp/source/qr/qr_dense_batch.cpp | samir-nasibli/oneDAL | a8112a7a18ce1dba13b1a5751ced8ce2bc9f7382 | [
"Apache-2.0"
] | 188 | 2016-04-16T12:11:48.000Z | 2018-01-12T12:42:55.000Z | examples/daal/cpp/source/qr/qr_dense_batch.cpp | samir-nasibli/oneDAL | a8112a7a18ce1dba13b1a5751ced8ce2bc9f7382 | [
"Apache-2.0"
] | 350 | 2018-01-22T10:48:15.000Z | 2020-03-24T10:05:45.000Z | examples/daal/cpp/source/qr/qr_dense_batch.cpp | samir-nasibli/oneDAL | a8112a7a18ce1dba13b1a5751ced8ce2bc9f7382 | [
"Apache-2.0"
] | 93 | 2018-01-23T01:59:23.000Z | 2020-03-16T11:04:19.000Z | /* file: qr_dense_batch.cpp */
/*******************************************************************************
* Copyright 2014 Intel 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... | 32.892308 | 139 | 0.643124 | samir-nasibli |
f6d7b2ff98b2e0e900cb21499e127394549348d4 | 2,914 | cpp | C++ | Source/AllProjects/Drivers/UPnPMediaRend/Server/UPnPMediaRendS.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/UPnPMediaRend/Server/UPnPMediaRendS.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/UPnPMediaRend/Server/UPnPMediaRendS.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: UPnPMediaRendS.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 10/18/2011
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensour... | 29.734694 | 81 | 0.532601 | MarkStega |
f6db1e2b1b890d93973012680d216714e95b8894 | 1,433 | hpp | C++ | npy/NField3.hpp | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 11 | 2020-07-05T02:39:32.000Z | 2022-03-20T18:52:44.000Z | npy/NField3.hpp | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | null | null | null | npy/NField3.hpp | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 4 | 2020-09-03T20:36:32.000Z | 2022-01-19T07:42:21.000Z | /*
* Copyright (c) 2019 Opticks Team. All Rights Reserved.
*
* This file is part of Opticks
* (see https://bitbucket.org/simoncblyth/opticks).
*
* 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 ... | 26.537037 | 111 | 0.686671 | hanswenzel |
f6dbf256f173d2befe833824cf5eb35125e64716 | 2,650 | hpp | C++ | include/TMPro/CaretInfo.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/TMPro/CaretInfo.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/TMPro/CaretInfo.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ValueType
#include "... | 40.151515 | 129 | 0.683019 | RedBrumbler |
f6dc3039c129c70612c19f72a58cc7cccb61cbcf | 17,131 | cpp | C++ | 3rdParty/AlazarTech/ATS-SDK/5.8.2/Samples/ATS9462/DualPort/TS_DisableFileCache/AcqToDisk.cpp | TeravoxelTwoPhotonTomography/fetch | 9ae7082689e998050610311589de368d40b21cdc | [
"BSD-3-Clause"
] | 2 | 2015-08-18T18:07:32.000Z | 2016-03-24T23:07:18.000Z | 3rdParty/AlazarTech/ATS-SDK/5.8.2/Samples/ATS9462/DualPort/TS_DisableFileCache/AcqToDisk.cpp | TeravoxelTwoPhotonTomography/fetch | 9ae7082689e998050610311589de368d40b21cdc | [
"BSD-3-Clause"
] | null | null | null | 3rdParty/AlazarTech/ATS-SDK/5.8.2/Samples/ATS9462/DualPort/TS_DisableFileCache/AcqToDisk.cpp | TeravoxelTwoPhotonTomography/fetch | 9ae7082689e998050610311589de368d40b21cdc | [
"BSD-3-Clause"
] | 2 | 2017-10-21T20:17:50.000Z | 2019-12-29T16:27:04.000Z | //---------------------------------------------------------------------------
//
// Copyright (c) 2008-2010 AlazarTech, Inc.
//
// AlazarTech, Inc. licenses this software under specific terms and
// conditions. Use of any of the software or derviatives thereof in any
// product without an AlazarTech digitizer board is... | 28.647157 | 103 | 0.664351 | TeravoxelTwoPhotonTomography |
f6dc60900f2524d7d0f24c9bb20cee953ec4887e | 93,050 | cpp | C++ | scene/resources/material.cpp | etalot/godot | d4c810a4b6a1f74971e4d588db0b60640e38aebe | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2021-05-12T06:08:05.000Z | 2021-05-12T06:08:05.000Z | scene/resources/material.cpp | Abd-Elrazek/godot | 10e9221c49eddc05cb36c0b582060cac9e4c8cef | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | scene/resources/material.cpp | Abd-Elrazek/godot | 10e9221c49eddc05cb36c0b582060cac9e4c8cef | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | /*************************************************************************/
/* material.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 39.245044 | 215 | 0.75424 | etalot |
f6dd69da04cd2566f5d5204fac775a433b884129 | 231 | cpp | C++ | tests/007-argc-argv.cpp | yanlinlin82/icpp | 4e3127a87201aef6bf96b97082a23d35ca4fe230 | [
"MIT"
] | 1 | 2020-05-07T23:07:12.000Z | 2020-05-07T23:07:12.000Z | tests/007-argc-argv.cpp | yanlinlin82/icpp | 4e3127a87201aef6bf96b97082a23d35ca4fe230 | [
"MIT"
] | null | null | null | tests/007-argc-argv.cpp | yanlinlin82/icpp | 4e3127a87201aef6bf96b97082a23d35ca4fe230 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(int argc, const char** argv)
{
cout << "argc = " << argc << endl;
for (int i = 0; i < argc; ++i) {
cout << "argv[" << i << "] = \"" << argv[i] << "\"" << endl;
}
return 0;
}
| 19.25 | 62 | 0.493506 | yanlinlin82 |
f6ddecd89fdffa5fca2e93bfc7172d8c86ac2b75 | 1,433 | cpp | C++ | libcaf_core/test/optional.cpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | null | null | null | libcaf_core/test/optional.cpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | null | null | null | libcaf_core/test/optional.cpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | null | null | null | // This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE optional
#include "core-test.hpp"
#include "caf/optional.hpp"
using n... | 17.691358 | 77 | 0.597348 | seewpx |
f6de6a9317688df27141e919ac7dfead3f911666 | 6,379 | cpp | C++ | controls.extend/SGroupList.cpp | denphon/soui | 455909ede62a37ded1c1737c65c7cfbc29eae9bd | [
"MIT"
] | null | null | null | controls.extend/SGroupList.cpp | denphon/soui | 455909ede62a37ded1c1737c65c7cfbc29eae9bd | [
"MIT"
] | null | null | null | controls.extend/SGroupList.cpp | denphon/soui | 455909ede62a37ded1c1737c65c7cfbc29eae9bd | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "SGroupList.h"
namespace SOUI {
using namespace GroupListStuct;
SGroupList::SGroupList():m_pSelectedItem(NULL)
{
GetEventSet()->addEvent(EVENTID(EventGroupListInitGroup));
GetEventSet()->addEvent(EVENTID(EventGroupListInitItem));
GetEventSet()->addEvent(EVENTID(EventGro... | 28.477679 | 136 | 0.677536 | denphon |
f6debbca4f58108dfccb9dbe2bab1fd90b8803e1 | 7,655 | cpp | C++ | pxr/imaging/hdSt/drawItemsCache.cpp | yurivict/USD | 3b097e3ba8fabf1777a1256e241ea15df83f3065 | [
"Apache-2.0"
] | 1 | 2018-02-23T05:39:27.000Z | 2018-02-23T05:39:27.000Z | pxr/imaging/hdSt/drawItemsCache.cpp | yurivict/USD | 3b097e3ba8fabf1777a1256e241ea15df83f3065 | [
"Apache-2.0"
] | null | null | null | pxr/imaging/hdSt/drawItemsCache.cpp | yurivict/USD | 3b097e3ba8fabf1777a1256e241ea15df83f3065 | [
"Apache-2.0"
] | 1 | 2020-10-24T00:43:14.000Z | 2020-10-24T00:43:14.000Z | //
// Copyright 2021 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 35.276498 | 80 | 0.674984 | yurivict |
f6e014b66ab47d8aa7d46fc8a08212f071e52b77 | 1,426 | cpp | C++ | src/AST_Implementaciones/PosfijoDecremento.cpp | AlejandroRM94/Compilador_C_minimo | 6c69987749233876c9f7fc0cde9c479f0d3ba531 | [
"MIT"
] | null | null | null | src/AST_Implementaciones/PosfijoDecremento.cpp | AlejandroRM94/Compilador_C_minimo | 6c69987749233876c9f7fc0cde9c479f0d3ba531 | [
"MIT"
] | null | null | null | src/AST_Implementaciones/PosfijoDecremento.cpp | AlejandroRM94/Compilador_C_minimo | 6c69987749233876c9f7fc0cde9c479f0d3ba531 | [
"MIT"
] | null | null | null | #include "../AST_Tipos.h"
PosfijoDecremento::PosfijoDecremento( Identificador* exp ) {
this->exp = exp;
}
PosfijoDecremento::~PosfijoDecremento( ) {
delete exp;
}
TipoDato PosfijoDecremento::analizarTipo() {
return exp->analizarTipo();
}
string PosfijoDecremento::toString() {
stringstream ss;
ss... | 23 | 86 | 0.568724 | AlejandroRM94 |
f6e0b7340ff2e8f3a9489901707012c952e89505 | 27,380 | cpp | C++ | applesources/xnu-3789.41.3/iokit/Kernel/IOStateReporter.cpp | monkiyang/objc-runtime | 885582b6e59cc4c916cc96610f138611e7b14670 | [
"MIT"
] | null | null | null | applesources/xnu-3789.41.3/iokit/Kernel/IOStateReporter.cpp | monkiyang/objc-runtime | 885582b6e59cc4c916cc96610f138611e7b14670 | [
"MIT"
] | null | null | null | applesources/xnu-3789.41.3/iokit/Kernel/IOStateReporter.cpp | monkiyang/objc-runtime | 885582b6e59cc4c916cc96610f138611e7b14670 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2012-2013 Apple Computer, Inc. All Rights Reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use ... | 30.764045 | 114 | 0.602228 | monkiyang |
f6e0ecdfd7d63de8b8170cc1fc1152b5db51c739 | 1,681 | cc | C++ | src/lib/fsl/socket/blocking_drain.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/lib/fsl/socket/blocking_drain.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/lib/fsl/socket/blocking_drain.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2016 The Fuchsia 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 "src/lib/fsl/socket/blocking_drain.h"
#include <lib/fit/function.h>
#include <lib/syslog/cpp/macros.h>
#include <lib/zx/socket.h>
#include <vect... | 34.306122 | 96 | 0.607377 | allansrc |
f6e2f09d350e2f3d24e4d1d00da22b7980ea000c | 3,654 | cpp | C++ | src/main.cpp | Smorodov/SpatialSubspaceRotation | 41453a151b6e107b7177821bf84ef7d7b7be7f57 | [
"MIT"
] | 5 | 2019-11-18T11:05:00.000Z | 2021-11-25T14:14:13.000Z | src/main.cpp | Smorodov/SpatialSubspaceRotation | 41453a151b6e107b7177821bf84ef7d7b7be7f57 | [
"MIT"
] | null | null | null | src/main.cpp | Smorodov/SpatialSubspaceRotation | 41453a151b6e107b7177821bf84ef7d7b7be7f57 | [
"MIT"
] | 2 | 2019-11-18T11:05:53.000Z | 2019-11-18T14:56:49.000Z | #include <algorithm>
#include <set>
#include <opencv2/opencv.hpp>
#include "SpatialSubspaceRotation.h"
///
/// \brief generateSkinMap
/// \param src
/// \param dst
///
void generateSkinMap(cv::Mat& src, cv::Mat& dst)
{
cv::cvtColor(src, dst, cv::COLOR_BGR2YCrCb);
cv::Mat mask;
cv::inRange(dst, cv::Scalar(0... | 27.066667 | 121 | 0.527367 | Smorodov |
f6e4fad7328c6b6da14d36e4c75f0a1c85b1a283 | 3,506 | cc | C++ | mindspore/lite/src/common/graph_util.cc | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | mindspore/lite/src/common/graph_util.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/common/graph_util.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 34.712871 | 120 | 0.659156 | httpsgithu |
f6e968abb7b5415701ce5c9bf9462a454066e538 | 654 | hpp | C++ | assignment-8 Indexing/Range.hpp | Arda-Bati/RDBMS-Homeworks | e3b121b5d8587552cc7177228ba5a5bea5c2cf68 | [
"Apache-2.0"
] | 1 | 2021-04-01T23:45:48.000Z | 2021-04-01T23:45:48.000Z | assignment-8 Indexing/Range.hpp | Arda-Bati/Relational-Database | e3b121b5d8587552cc7177228ba5a5bea5c2cf68 | [
"Apache-2.0"
] | null | null | null | assignment-8 Indexing/Range.hpp | Arda-Bati/Relational-Database | e3b121b5d8587552cc7177228ba5a5bea5c2cf68 | [
"Apache-2.0"
] | null | null | null | //
// Range.hpp
// Database3
//
// Created by rick gessner on 4/12/19.
// Copyright © 2019 rick gessner. All rights reserved.
//
#ifndef Range_h
#define Range_h
namespace ECE141 {
template<class T>
struct Range {
T* b = nullptr; T* e = nullptr;
Range()=default;
Range(T* s, T* f):... | 21.096774 | 60 | 0.551988 | Arda-Bati |
f6ea2fe223e3a9301020646a079bf455d4552e9a | 9,379 | hxx | C++ | Modules/Core/GPUCommon/include/itkGPUReduction.hxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 1 | 2020-10-09T18:12:53.000Z | 2020-10-09T18:12:53.000Z | Modules/Core/GPUCommon/include/itkGPUReduction.hxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 1 | 2017-08-18T19:28:52.000Z | 2017-08-18T19:28:52.000Z | Modules/Core/GPUCommon/include/itkGPUReduction.hxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 1 | 2020-10-13T07:24:57.000Z | 2020-10-13T07:24:57.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... | 24.877984 | 116 | 0.665849 | floryst |
f6ead0147466a65a9b1bc333377caed1dee31f57 | 6,590 | cpp | C++ | src/backend/DepthCamera.cpp | maoLB/Kintinuous | e327d2ea06d04885f6d8f422ff95db2933f370d1 | [
"BSD-4-Clause-UC"
] | 854 | 2015-10-23T17:49:29.000Z | 2022-03-28T11:23:37.000Z | src/backend/DepthCamera.cpp | FranticPink/Kintinuous | 2043f5b85619f4cbd1c4404058dafc67d338af84 | [
"BSD-4-Clause-UC"
] | 63 | 2015-11-03T15:59:16.000Z | 2021-10-10T11:13:25.000Z | src/backend/DepthCamera.cpp | FranticPink/Kintinuous | 2043f5b85619f4cbd1c4404058dafc67d338af84 | [
"BSD-4-Clause-UC"
] | 303 | 2015-10-30T12:13:41.000Z | 2022-03-16T08:10:06.000Z | /*
* This file is part of Kintinuous.
*
* Copyright (C) 2015 The National University of Ireland Maynooth and
* Massachusetts Institute of Technology
*
* The use of the code within this file and all code within files that
* make up the software that is Kintinuous is permitted for
* non-commercial purposes onl... | 40.182927 | 135 | 0.606222 | maoLB |
f6ec5cf04d9a8356be51684364409d40028ab288 | 3,607 | cpp | C++ | Stp/Json/JsonValueTest.cpp | markazmierczak/Polonite | 240f099cafc5c38dc1ae1cc6fc5773e13f65e9de | [
"MIT"
] | 1 | 2019-07-11T12:47:52.000Z | 2019-07-11T12:47:52.000Z | Stp/Json/JsonValueTest.cpp | Polonite/Polonite | 240f099cafc5c38dc1ae1cc6fc5773e13f65e9de | [
"MIT"
] | null | null | null | Stp/Json/JsonValueTest.cpp | Polonite/Polonite | 240f099cafc5c38dc1ae1cc6fc5773e13f65e9de | [
"MIT"
] | 1 | 2019-07-11T12:47:53.000Z | 2019-07-11T12:47:53.000Z | // Copyright 2017 Polonite Authors. All rights reserved.
// Distributed under MIT license that can be found in the LICENSE file.
#include "Json/JsonValue.h"
#include "Base/Test/GTest.h"
#include "Json/JsonArray.h"
#include "Json/JsonObject.h"
namespace stp {
TEST(JsonValueTest, Basic) {
// Test basic object getti... | 34.682692 | 90 | 0.757693 | markazmierczak |
f6eca2630520edcef0dd554eef0443fc4715d904 | 12,295 | cpp | C++ | tests/cfloat/conversion/normalization.cpp | shikharvashistha/universal | 5c20504504f067412958fa61ea3839cf86c3d6f7 | [
"MIT"
] | null | null | null | tests/cfloat/conversion/normalization.cpp | shikharvashistha/universal | 5c20504504f067412958fa61ea3839cf86c3d6f7 | [
"MIT"
] | null | null | null | tests/cfloat/conversion/normalization.cpp | shikharvashistha/universal | 5c20504504f067412958fa61ea3839cf86c3d6f7 | [
"MIT"
] | null | null | null | // normalization.cpp: test suite runner for normalization tests of classic cfloats
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#include <universal/utility/directives.hpp>
// minimum set of in... | 52.097458 | 147 | 0.755754 | shikharvashistha |
f6ed6aa2ef053df1fef354dae9223128be09d326 | 295 | hpp | C++ | Source/Hyper/include/Hyper/Identifier.hpp | SkillerRaptor/HyperLang | c7bcabf90462247e388861b4255fe61e74c32fca | [
"MIT"
] | 13 | 2021-08-08T19:17:22.000Z | 2022-02-17T10:52:07.000Z | Source/Hyper/include/Hyper/Identifier.hpp | SkillerRaptor/HyperLang | c7bcabf90462247e388861b4255fe61e74c32fca | [
"MIT"
] | null | null | null | Source/Hyper/include/Hyper/Identifier.hpp | SkillerRaptor/HyperLang | c7bcabf90462247e388861b4255fe61e74c32fca | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020-2021, SkillerRaptor <skillerraptor@protonmail.com>
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#include "Hyper/SourceRange.hpp"
#include <string>
namespace Hyper
{
struct Identifier
{
std::string value;
SourceRange range = {};
};
} // namespace Hyper
| 14.047619 | 72 | 0.691525 | SkillerRaptor |
f6eea5b500cd524c8b06b779f0859fe398fce131 | 1,712 | cpp | C++ | Examples/ScalarField/Main_ScalarField.cpp | boxuange/GRChombo | 4baece8164eef6fae5e1b29d929ef324d9e8081b | [
"BSD-3-Clause"
] | 42 | 2018-02-01T20:58:05.000Z | 2022-03-20T07:26:31.000Z | Examples/ScalarField/Main_ScalarField.cpp | boxuange/GRChombo | 4baece8164eef6fae5e1b29d929ef324d9e8081b | [
"BSD-3-Clause"
] | 140 | 2018-02-12T13:43:13.000Z | 2022-03-23T14:56:19.000Z | Examples/ScalarField/Main_ScalarField.cpp | boxuange/GRChombo | 4baece8164eef6fae5e1b29d929ef324d9e8081b | [
"BSD-3-Clause"
] | 40 | 2018-01-29T15:36:52.000Z | 2022-03-30T02:45:54.000Z | /* GRChombo
* Copyright 2012 The GRChombo collaboration.
* Please refer to LICENSE in GRChombo's root directory.
*/
// Chombo includes
#include "parstream.H" //Gives us pout()
// System includes
#include <iostream>
// Our general includes
#include "DefaultLevelFactory.hpp"
#include "GRAMR.hpp"
#include "GRParmPar... | 26.338462 | 78 | 0.67465 | boxuange |
f6f21795f48b20138971572845720c78eee3fcaf | 521 | cpp | C++ | docs/assets/examples/bind-values.cpp | gkgoat1/lexy | 9c600fa906e81efbb3e34b8951ebc56809f2a0df | [
"BSL-1.0"
] | 527 | 2020-12-01T14:23:50.000Z | 2022-03-31T11:30:24.000Z | docs/assets/examples/bind-values.cpp | ExternalRepositories/lexy | edc6bd4aabd6f0ecbddba6f2bbf9bd2c6e4fa61d | [
"BSL-1.0"
] | 44 | 2020-12-01T18:39:38.000Z | 2022-03-08T00:22:39.000Z | docs/assets/examples/bind-values.cpp | ExternalRepositories/lexy | edc6bd4aabd6f0ecbddba6f2bbf9bd2c6e4fa61d | [
"BSL-1.0"
] | 24 | 2020-12-02T01:45:53.000Z | 2022-03-22T21:31:31.000Z | #include <cstdio>
#include <lexy/callback.hpp>
//{
constexpr auto my_callback
= lexy::callback<int>([](int factor, int i) { return factor * i; },
[](int factor, int a, int b) { return factor * (a + b); });
// Bind the first parameter and forward the rest unchanged.
constexpr auto bound =... | 27.421053 | 85 | 0.579655 | gkgoat1 |
f6f2233008c0b87ff57025fe9693118df8ec36d1 | 2,898 | cc | C++ | cinn/optim/transform_polyfor_to_for_test.cc | T8T9/CINN | 3d5641c4dea370c6666255bc517c56b826a62773 | [
"Apache-2.0"
] | null | null | null | cinn/optim/transform_polyfor_to_for_test.cc | T8T9/CINN | 3d5641c4dea370c6666255bc517c56b826a62773 | [
"Apache-2.0"
] | null | null | null | cinn/optim/transform_polyfor_to_for_test.cc | T8T9/CINN | 3d5641c4dea370c6666255bc517c56b826a62773 | [
"Apache-2.0"
] | null | null | null | #include "cinn/optim/transform_polyfor_to_for.h"
#include <gtest/gtest.h>
#include "cinn/cinn.h"
namespace cinn {
namespace optim {
TEST(Expr, basic) {
using namespace ir; // NOLINT
Expr M(512);
Expr K(200);
Expr N(500);
Placeholder<float> A("A", {M, K});
Placeholder<float> B("B", {K, N});
// C = A... | 28.98 | 253 | 0.584886 | T8T9 |
f6f28966d5e06b6075fdaec90220e59dbca05516 | 332 | cpp | C++ | C++/Introduction/ArraysIntroduction.cpp | pavstar619/HackerRank | 697ee46b6e621ad884a064047461d7707b1413cd | [
"MIT"
] | 61 | 2017-04-27T13:45:12.000Z | 2022-01-27T11:40:15.000Z | C++/Introduction/ArraysIntroduction.cpp | fahad0193/HackerRank | eb6c95e16688c02921c1df6b6ea613667a251457 | [
"MIT"
] | 1 | 2017-06-24T14:16:06.000Z | 2017-06-24T14:16:28.000Z | C++/Introduction/ArraysIntroduction.cpp | fahad0193/HackerRank | eb6c95e16688c02921c1df6b6ea613667a251457 | [
"MIT"
] | 78 | 2017-07-05T11:48:20.000Z | 2022-02-08T08:04:22.000Z | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main(void)
{
int N;
cin >> N;
int arr[N];
for(int i = 0; i < N; i++)
cin >> arr[i];
for(int i = N - 1; i >= 0; i--)
cout << arr[i] << " ";
cout << endl;
... | 14.434783 | 35 | 0.496988 | pavstar619 |
f6f3b455dd68126270bdd7e38b4c4907c196bcfe | 2,196 | cc | C++ | src/transport/FissionSource.cc | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | null | null | null | src/transport/FissionSource.cc | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | null | null | null | src/transport/FissionSource.cc | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
/**
* @file FissionSource.cc
* @author robertsj
* @date Apr 10, 2012
* @brief FissionSource class definition.
*/
//---------------------------------------------------------------------------//
#include "transport/FissionSource.hh... | 29.675676 | 79 | 0.489982 | RLReed |
f6f64413d6b12049850d4d147806c3555d1b6098 | 995 | cpp | C++ | hw4/src/lib/AST/VariableReference.cpp | idoleat/P-Language-Compiler-CourseProject | 57db735b349a0a3a30d78b927953e2d44b7c7d53 | [
"MIT"
] | 7 | 2020-09-10T16:54:49.000Z | 2022-03-15T12:39:23.000Z | hw4/src/lib/AST/VariableReference.cpp | idoleat/simple-P-compiler | 57db735b349a0a3a30d78b927953e2d44b7c7d53 | [
"MIT"
] | null | null | null | hw4/src/lib/AST/VariableReference.cpp | idoleat/simple-P-compiler | 57db735b349a0a3a30d78b927953e2d44b7c7d53 | [
"MIT"
] | null | null | null | #include "AST/VariableReference.hpp"
#include "visitor/AstNodeVisitor.hpp"
VariableReferenceNode::VariableReferenceNode(const uint32_t line,
const uint32_t col,
const char *p_name)
: ExpressionNode{line, col}, name(p_name) {}... | 35.535714 | 80 | 0.580905 | idoleat |
f6f6f5485d805595fb884e6b415b1b110ef6d243 | 982 | cpp | C++ | PTA/甲级/P1028.cpp | Seizzzz/DailyCodes | 9a617fb64ee27b9f254be161850e9c9a61747cb1 | [
"MIT"
] | null | null | null | PTA/甲级/P1028.cpp | Seizzzz/DailyCodes | 9a617fb64ee27b9f254be161850e9c9a61747cb1 | [
"MIT"
] | null | null | null | PTA/甲级/P1028.cpp | Seizzzz/DailyCodes | 9a617fb64ee27b9f254be161850e9c9a61747cb1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
using namespace std;
struct node
{
string id;
string name;
int score;
};
node* student;
int n, c;
bool func1(node a, node b)
{
return a.id < b.id;
}
bool func2(node a, node b)
{
if (a.name == b.name) return a.id < b.id;
return a.name < b.name;
}
bool func3(node a, nod... | 12.921053 | 62 | 0.560081 | Seizzzz |
f6f81d27fca34b6cd9e7f5210d2847622ad87a4d | 6,248 | cpp | C++ | modules/preprocessing/processors/glimageresampler.cpp | hmsgit/campvis | d97de6a86323866d6a8f81d2a641e3e0443a6b39 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2018-06-19T06:20:01.000Z | 2021-07-31T05:54:25.000Z | modules/preprocessing/processors/glimageresampler.cpp | hmsgit/campvis | d97de6a86323866d6a8f81d2a641e3e0443a6b39 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | modules/preprocessing/processors/glimageresampler.cpp | hmsgit/campvis | d97de6a86323866d6a8f81d2a641e3e0443a6b39 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // ================================================================================================
//
// This file is part of the CAMPVis Software Framework.
//
// If not explicitly stated otherwise: Copyright (C) 2012-2015, all rights reserved,
// Christian Schulte zu Berge <christian.szb@in.tum.de>
// ... | 43.388889 | 182 | 0.618918 | hmsgit |
f6f8e76b81aa6bccd97a2f568a866c6ed92c3333 | 816 | cc | C++ | src/longest-prefix/t.cc | thinkoid/hacks | 7c5887860bf9177e487e2f2f041629ddbd3c38fb | [
"MIT"
] | null | null | null | src/longest-prefix/t.cc | thinkoid/hacks | 7c5887860bf9177e487e2f2f041629ddbd3c38fb | [
"MIT"
] | null | null | null | src/longest-prefix/t.cc | thinkoid/hacks | 7c5887860bf9177e487e2f2f041629ddbd3c38fb | [
"MIT"
] | null | null | null | // -*- mode: c++ -*-
#include <cassert>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
#include <hacks/knuth-morris-pratt.hh>
using namespace std;
static inline size_t
longest_prefix (const string& s) {
const auto t (s + '$');
const auto kmp = knuth_morris_pratt< string::const... | 16.32 | 67 | 0.535539 | thinkoid |
f6f9beb1dbf89737dcec729f0e44ec3976e38652 | 8,561 | cpp | C++ | Engine/source/sfx/sfxBuffer.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 2,113 | 2015-01-01T11:23:01.000Z | 2022-03-28T04:51:46.000Z | Engine/source/sfx/sfxBuffer.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 948 | 2015-01-02T01:50:00.000Z | 2022-02-27T05:56:40.000Z | Engine/source/sfx/sfxBuffer.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 944 | 2015-01-01T09:33:53.000Z | 2022-03-15T22:23:03.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restrictio... | 29.318493 | 116 | 0.550403 | vbillet |
f6fa121f14b8d4e13dd6e38bdeb4aa4afc1722f0 | 12,311 | cc | C++ | third_party/blink/renderer/core/layout/layout_text_control_single_line.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/layout/layout_text_control_single_line.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/layout/layout_text_control_single_line.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | /**
* Copyright (C) 2006, 2007, 2010 Apple Inc. All rights reserved.
* (C) 2008 Torch Mobile Inc. All rights reserved.
* (http://www.torchmobile.com/)
* Copyright (C) 2010 Google Inc. All rights reserved.
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
*
* This library... | 41.312081 | 83 | 0.734709 | mghgroup |
f6fa8588f90f39e91f5cdeedfcb6a47f5f3194d7 | 886 | cpp | C++ | 1612.cpp | viniciusmalloc/uri | e9554669a50a6d392e3bce49fc21cbfaa353c85f | [
"MIT"
] | 1 | 2022-02-11T21:12:38.000Z | 2022-02-11T21:12:38.000Z | 1612.cpp | MuhtasimMahim/uri | 307a1dcfa764f5e1b30bfa87a691c4a03e36fcb9 | [
"MIT"
] | null | null | null | 1612.cpp | MuhtasimMahim/uri | 307a1dcfa764f5e1b30bfa87a691c4a03e36fcb9 | [
"MIT"
] | 1 | 2021-03-24T16:06:38.000Z | 2021-03-24T16:06:38.000Z | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_set>
#include <vector>
#define mp make_pair
#define pb push_back
#define MAXV 200100
using namespace st... | 17.72 | 69 | 0.577878 | viniciusmalloc |
f6fc221cbd0db245d84b04bbf998e51b7cd679ad | 107,768 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/seq/limits/fold_left_512.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 2,728 | 2015-01-01T10:06:45.000Z | 2022-03-30T18:12:58.000Z | ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/seq/limits/fold_left_512.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 1,192 | 2015-01-01T06:03:19.000Z | 2022-03-31T09:14:36.000Z | ReactNativeFrontend/ios/Pods/boost/boost/preprocessor/seq/limits/fold_left_512.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 334 | 2015-01-08T20:47:03.000Z | 2022-02-18T07:07:01.000Z | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | 136.588086 | 220 | 0.817627 | Harshitha91 |