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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c8927c18f5977dcb15ba381097976bc40aaf67d7 | 937,028 | cpp | C++ | src/main_4600.cpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | src/main_4600.cpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | src/main_4600.cpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppSourceCreator
// Created by Sc2ad
// =========================================================================
// Begin includes
// Including type: OVRInput/HapticInfo
#include "GlobalNamespace/OVRInput_HapticInfo.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils.hpp"
#include "beatsaber-... | 81.445285 | 963 | 0.794514 | v0idp |
c892a5ea84bf123380b6a9d6e2f5b2796453eeb1 | 21,490 | cpp | C++ | Bullet/src/BulletDynamics/Vehicle/btRaycastVehicle.cpp | jordanlittlefair/Foundation | ab737b933ea5bbe2be76133ed78c8e882f072fd0 | [
"BSL-1.0"
] | null | null | null | Bullet/src/BulletDynamics/Vehicle/btRaycastVehicle.cpp | jordanlittlefair/Foundation | ab737b933ea5bbe2be76133ed78c8e882f072fd0 | [
"BSL-1.0"
] | null | null | null | Bullet/src/BulletDynamics/Vehicle/btRaycastVehicle.cpp | jordanlittlefair/Foundation | ab737b933ea5bbe2be76133ed78c8e882f072fd0 | [
"BSL-1.0"
] | null | null | null | /*
* Copyright (c) 2005 Erwin Coumans http://continuousphysics.com/Bullet/
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies.
* Erwin Coumans makes no represe... | 27.836788 | 243 | 0.746766 | jordanlittlefair |
c898840aab140f7a723ae51cc5861d554e5675ba | 755 | cpp | C++ | artifact/storm/src/storm/solver/SolverRequirement.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/solver/SolverRequirement.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/solver/SolverRequirement.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | 1 | 2022-02-05T12:39:53.000Z | 2022-02-05T12:39:53.000Z | #include "storm/solver/SolverRequirement.h"
#include <vector>
#include "storm/utility/vector.h"
namespace storm {
namespace solver {
SolverRequirement::SolverRequirement() : enabled(false), critical(false) {
// Intentionally left empty
}
SolverRequirement::operator bo... | 22.878788 | 82 | 0.544371 | glatteis |
c89a82fadf86675ffe11c2b7f756f95e4610a023 | 3,482 | cpp | C++ | src/cpu-kernels/awkward_ListArray_getitem_jagged_apply.cpp | jpivarski/awkward-1.0 | 49a3ff13ef90b8778a80573211d58c544729eaa5 | [
"BSD-3-Clause"
] | 2 | 2019-09-12T03:07:23.000Z | 2019-09-27T05:32:07.000Z | src/cpu-kernels/awkward_ListArray_getitem_jagged_apply.cpp | jpivarski/awkward-1.0 | 49a3ff13ef90b8778a80573211d58c544729eaa5 | [
"BSD-3-Clause"
] | 1 | 2019-09-26T17:57:45.000Z | 2019-09-26T17:57:45.000Z | src/cpu-kernels/awkward_ListArray_getitem_jagged_apply.cpp | jpivarski/awkward-1.0 | 49a3ff13ef90b8778a80573211d58c544729eaa5 | [
"BSD-3-Clause"
] | null | null | null | // BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
#define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListArray_getitem_jagged_apply.cpp", line)
#include "awkward/kernels.h"
template <typename C, typename T>
ERROR awkward_ListArray_getitem_jagged_apply(
... | 27.856 | 116 | 0.680069 | jpivarski |
c8a027417a3db3a410ecc34fd1221759e4f1e946 | 5,815 | cpp | C++ | openstudiocore/src/model/LightingSimulationZone.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | 4 | 2015-05-02T21:04:15.000Z | 2015-10-28T09:47:22.000Z | openstudiocore/src/model/LightingSimulationZone.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | null | null | null | openstudiocore/src/model/LightingSimulationZone.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | 1 | 2020-11-12T21:52:36.000Z | 2020-11-12T21:52:36.000Z | /**********************************************************************
* Copyright (c) 2008-2015, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publishe... | 33.228571 | 127 | 0.68822 | BIMDataHub |
c8a4cf33ea94791c0f9abb1a86dc22350c74b004 | 4,709 | cpp | C++ | thirdparty/eigen3.2.10/test/product_trsolve.cpp | rgijsen/opengl_tmp_poc | 93e3a08e30ed100475034281208200ed724db5d9 | [
"Apache-2.0"
] | null | null | null | thirdparty/eigen3.2.10/test/product_trsolve.cpp | rgijsen/opengl_tmp_poc | 93e3a08e30ed100475034281208200ed724db5d9 | [
"Apache-2.0"
] | null | null | null | thirdparty/eigen3.2.10/test/product_trsolve.cpp | rgijsen/opengl_tmp_poc | 93e3a08e30ed100475034281208200ed724db5d9 | [
"Apache-2.0"
] | 1 | 2022-03-31T01:49:42.000Z | 2022-03-31T01:49:42.000Z | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file... | 50.095745 | 164 | 0.692716 | rgijsen |
c8a4f279c4dc96b0817e53ddfce2db005ef7004f | 5,502 | hpp | C++ | clients/include/rocsparse_datatype2string.hpp | pruthvistony/rocSPARSE | 1fc7393da273d7bc3260345a40b32824fc59a9ad | [
"MIT"
] | null | null | null | clients/include/rocsparse_datatype2string.hpp | pruthvistony/rocSPARSE | 1fc7393da273d7bc3260345a40b32824fc59a9ad | [
"MIT"
] | null | null | null | clients/include/rocsparse_datatype2string.hpp | pruthvistony/rocSPARSE | 1fc7393da273d7bc3260345a40b32824fc59a9ad | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright (c) 2019 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 re... | 27.103448 | 85 | 0.673937 | pruthvistony |
c8a53a1c888731294bbe5307e44389281555cb5d | 3,962 | cpp | C++ | aws-cpp-sdk-ec2/source/model/PrivateDnsNameOptionsOnLaunch.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-ec2/source/model/PrivateDnsNameOptionsOnLaunch.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-ec2/source/model/PrivateDnsNameOptionsOnLaunch.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ec2/model/PrivateDnsNameOptionsOnLaunch.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#... | 35.693694 | 190 | 0.761232 | perfectrecall |
c8ab5fa3bdd5be80deda5e311ea1cc617b56363f | 13,558 | cpp | C++ | inference-engine/src/multi_device/multi_device_plugin.cpp | XinWangIntel/openvino | fd3338b41ae067d99e131afc6406313e8bdc3c39 | [
"Apache-2.0"
] | null | null | null | inference-engine/src/multi_device/multi_device_plugin.cpp | XinWangIntel/openvino | fd3338b41ae067d99e131afc6406313e8bdc3c39 | [
"Apache-2.0"
] | null | null | null | inference-engine/src/multi_device/multi_device_plugin.cpp | XinWangIntel/openvino | fd3338b41ae067d99e131afc6406313e8bdc3c39 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
///////////////////////////////////////////////////////////////////////////////////////////////////
#include <string>
#include <vector>
#include <memory>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <i... | 45.344482 | 132 | 0.622511 | XinWangIntel |
c8acd20585b4342966df0c6e5d19ba0b431b3873 | 1,627 | cpp | C++ | Lab_2/Ex_2/Ex_2/main.cpp | SilitraG/oop-2022 | 04ad2febaaedc37d907ba0745c9cdf86618e1333 | [
"MIT"
] | null | null | null | Lab_2/Ex_2/Ex_2/main.cpp | SilitraG/oop-2022 | 04ad2febaaedc37d907ba0745c9cdf86618e1333 | [
"MIT"
] | null | null | null | Lab_2/Ex_2/Ex_2/main.cpp | SilitraG/oop-2022 | 04ad2febaaedc37d907ba0745c9cdf86618e1333 | [
"MIT"
] | null | null | null | #include "Global_functions.h"
#include "Students.h"
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
int main()
{
Students student_1, student_2;
while (1)
{
student_1.set_name("Luca");
student_1.set_math_grade(3.14);
student_1.set_english_grade(4.44);
student_1.set_history_grade(7.12);
student... | 21.986486 | 95 | 0.658881 | SilitraG |
c8ad7e35f526d117a09cd01a26a263689b1dcd48 | 327 | hpp | C++ | include/tiva/gpio/pin-functions.hpp | akowalew/tivapp | ba69d4aa0de2aac69881b7ee7b05cd4211304b99 | [
"MIT"
] | null | null | null | include/tiva/gpio/pin-functions.hpp | akowalew/tivapp | ba69d4aa0de2aac69881b7ee7b05cd4211304b99 | [
"MIT"
] | null | null | null | include/tiva/gpio/pin-functions.hpp | akowalew/tivapp | ba69d4aa0de2aac69881b7ee7b05cd4211304b99 | [
"MIT"
] | null | null | null | #pragma once
namespace tiva {
namespace gpio {
struct PinFunctionBase {};
struct InputFunction : public PinFunctionBase {};
struct OutputFunction : public PinFunctionBase {};
struct InputOutputFunction : public PinFunctionBase {};
struct HardwareFunction : public PinFunctionBase {};
} // namespace gpio
} // namespac... | 23.357143 | 55 | 0.7737 | akowalew |
c8bd198161cb225081a601e317a173780c54ca90 | 6,139 | hpp | C++ | opt/nomad/src/Algos/Iteration.hpp | scikit-quant/scikit-quant | 397ab0b6287f3815e9bcadbfadbe200edbee5a23 | [
"BSD-3-Clause-LBNL"
] | 31 | 2019-02-05T16:39:18.000Z | 2022-03-11T23:14:11.000Z | opt/nomad/src/Algos/Iteration.hpp | scikit-quant/scikit-quant | 397ab0b6287f3815e9bcadbfadbe200edbee5a23 | [
"BSD-3-Clause-LBNL"
] | 20 | 2020-04-13T09:22:53.000Z | 2021-08-16T16:14:13.000Z | opt/nomad/src/Algos/Iteration.hpp | scikit-quant/scikit-quant | 397ab0b6287f3815e9bcadbfadbe200edbee5a23 | [
"BSD-3-Clause-LBNL"
] | 6 | 2020-04-21T17:43:47.000Z | 2021-03-10T04:12:34.000Z | /*---------------------------------------------------------------------------------*/
/* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct Search - */
/* */
/* NOMAD - Version 4 has been created by ... | 47.960938 | 184 | 0.466688 | scikit-quant |
c8be46c604a835a0a2df769820617fed2ea04ab0 | 28,081 | cpp | C++ | apps/line_analyzer/precisionoptimizer.cpp | waterben/LineExtraction | d247de45417a1512a3bf5d0ffcd630d40ffb8798 | [
"MIT"
] | 1 | 2020-06-12T13:30:56.000Z | 2020-06-12T13:30:56.000Z | apps/line_analyzer/precisionoptimizer.cpp | waterben/LineExtraction | d247de45417a1512a3bf5d0ffcd630d40ffb8798 | [
"MIT"
] | null | null | null | apps/line_analyzer/precisionoptimizer.cpp | waterben/LineExtraction | d247de45417a1512a3bf5d0ffcd630d40ffb8798 | [
"MIT"
] | null | null | null | #include "precisionoptimizer.h"
using namespace lsfm;
using namespace std;
PrecisionOptimizer::PrecisionOptimizer(QWidget *parent) : LATool("Precision Optimizer", parent), ui(new Ui::PrecisionOptimizer), sources(0), lines(0), lineSel(-1)
{
setWindowTitle("Precision Optimizer");
ui->setupUi(this);
... | 60.913232 | 187 | 0.587159 | waterben |
c8c0a83419f8393fef4162840ef435a9e4211d95 | 35,657 | cc | C++ | examples/cpp/network_routing.cc | aribiswas/ortools | 1db7d3f16aed6590e21fda053c390b7c5e1b7b11 | [
"Apache-2.0"
] | 3 | 2021-12-11T12:30:09.000Z | 2021-12-30T09:49:45.000Z | examples/cpp/network_routing.cc | aribiswas/ortools | 1db7d3f16aed6590e21fda053c390b7c5e1b7b11 | [
"Apache-2.0"
] | null | null | null | examples/cpp/network_routing.cc | aribiswas/ortools | 1db7d3f16aed6590e21fda053c390b7c5e1b7b11 | [
"Apache-2.0"
] | null | null | null | // Copyright 2010-2017 Google
// 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 wri... | 38.217578 | 80 | 0.639846 | aribiswas |
c8c2d1fac2fd615b50a3374f77bc74ea4b26952b | 33 | hpp | C++ | src/config.hpp | baabelfish/luabinds | 1700d32d10257bd2d69b8431c7a9ad633524a07a | [
"MIT"
] | 4 | 2015-03-25T10:24:36.000Z | 2020-10-21T07:49:48.000Z | src/config.hpp | baabelfish/luabinds | 1700d32d10257bd2d69b8431c7a9ad633524a07a | [
"MIT"
] | null | null | null | src/config.hpp | baabelfish/luabinds | 1700d32d10257bd2d69b8431c7a9ad633524a07a | [
"MIT"
] | null | null | null | #pragma once
#include <lua.hpp>
| 8.25 | 18 | 0.69697 | baabelfish |
c8c3fe52d0392dbdf4fe026bb2eb01af6d5def7c | 2,160 | cp | C++ | Win32/Sources/Application/Windows/CSimpleTitleTable.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | Win32/Sources/Application/Windows/CSimpleTitleTable.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | Win32/Sources/Application/Windows/CSimpleTitleTable.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
... | 25.116279 | 102 | 0.703704 | mulberry-mail |
c8c6f1911e4fa0dc68f1ccdd719a5f977c842b0b | 1,310 | cpp | C++ | 2. Classes/Task 1/Task 1/BankAccount.cpp | Ignatoff/FMI-OOP-2018 | a84c250e4b6d2df3135708a2fbe0447b9533858a | [
"MIT"
] | 3 | 2018-03-20T18:28:53.000Z | 2018-06-06T17:29:13.000Z | 2. Classes/Task 1/Task 1/BankAccount.cpp | Ignatoff/FMI-OOP-2018 | a84c250e4b6d2df3135708a2fbe0447b9533858a | [
"MIT"
] | null | null | null | 2. Classes/Task 1/Task 1/BankAccount.cpp | Ignatoff/FMI-OOP-2018 | a84c250e4b6d2df3135708a2fbe0447b9533858a | [
"MIT"
] | null | null | null | #include "BankAccount.h"
#include <iostream>
#include <cstring>
BankAccount::BankAccount() : availabilityCash(0.), name("N/A"), bankAccountNumber("N/A") {}
BankAccount::BankAccount(const char * _name, const char * IBAN, const float & cash) : availabilityCash(cash)
{
strcpy_s(name, _name);
strcpy_s(bankAccountNumber... | 21.129032 | 131 | 0.709924 | Ignatoff |
c8c74f52bf024c8689e84a0e6e9998d25686a23c | 2,751 | cpp | C++ | CWin/CWin/ui/ui_text_content.cpp | benbraide/CWin | 0441b48a71fef0dbddabf61033d7286669772c1e | [
"MIT"
] | null | null | null | CWin/CWin/ui/ui_text_content.cpp | benbraide/CWin | 0441b48a71fef0dbddabf61033d7286669772c1e | [
"MIT"
] | null | null | null | CWin/CWin/ui/ui_text_content.cpp | benbraide/CWin | 0441b48a71fef0dbddabf61033d7286669772c1e | [
"MIT"
] | null | null | null | #include "../app/app_object.h"
#include "ui_text_content.h"
SIZE cwin::ui::text_content_helper::measure_themed_text(const std::wstring &value, const wchar_t *theme_name, int part, int state, HDC device, DWORD format_flags){
return measure_themed_text(value, app::object::get_thread().get_theme(theme_name), part, stat... | 37.684932 | 163 | 0.752817 | benbraide |
c8c8085665f4815afbe1e001cc627fb910e999c3 | 1,249 | cpp | C++ | design_pattern/2_Structural_Patterns/2.5_FacadePattern/computer_facade.cpp | guangjung/linux_cplusplus | 3000303c6680db17715c4802fd05c84a4ce84c1e | [
"MIT"
] | null | null | null | design_pattern/2_Structural_Patterns/2.5_FacadePattern/computer_facade.cpp | guangjung/linux_cplusplus | 3000303c6680db17715c4802fd05c84a4ce84c1e | [
"MIT"
] | null | null | null | design_pattern/2_Structural_Patterns/2.5_FacadePattern/computer_facade.cpp | guangjung/linux_cplusplus | 3000303c6680db17715c4802fd05c84a4ce84c1e | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
const long BOOT_ADDRESS = 0x123456;
const long BOOT_SECTOR = 0x345678;
const int SECTOR_SIZE = 0x9000;
class CPU
{
public:
void freeze() { cout << "freezing ..." << endl; }
void jump(long position) { cout << "jumping ..." << endl;}
void excute() { cout << ... | 17.347222 | 87 | 0.622098 | guangjung |
c8c8d132ef56ecd207bdce2822716daff086ebcd | 64 | cpp | C++ | examples/mpark_variant/main.cpp | sanblch/hunter | a21edf8a43f567d2ae60ea1acdaab7d4facf3db7 | [
"BSD-2-Clause"
] | 2,146 | 2015-01-10T07:26:58.000Z | 2022-03-21T02:28:01.000Z | examples/mpark_variant/main.cpp | koinos/hunter | fc17bc391210bf139c55df7f947670c5dff59c57 | [
"BSD-2-Clause"
] | 1,778 | 2015-01-03T11:50:30.000Z | 2019-12-26T05:31:20.000Z | examples/mpark_variant/main.cpp | koinos/hunter | fc17bc391210bf139c55df7f947670c5dff59c57 | [
"BSD-2-Clause"
] | 734 | 2015-03-05T19:52:34.000Z | 2022-02-22T23:18:54.000Z | #include "mpark/variant.hpp"
int main (void)
{
return 0;
}
| 9.142857 | 28 | 0.625 | sanblch |
c8c983d65c36e7211bfd91735d79dd1270a90794 | 6,030 | inl | C++ | args/core/math/glm/detail/func_common_simd.inl | Algo-ryth-mix/Args-Engine | cc5084c5060ff071602cc9e2fdfb52791e65ca5b | [
"MIT"
] | null | null | null | args/core/math/glm/detail/func_common_simd.inl | Algo-ryth-mix/Args-Engine | cc5084c5060ff071602cc9e2fdfb52791e65ca5b | [
"MIT"
] | null | null | null | args/core/math/glm/detail/func_common_simd.inl | Algo-ryth-mix/Args-Engine | cc5084c5060ff071602cc9e2fdfb52791e65ca5b | [
"MIT"
] | null | null | null | /// @ref core
/// @file glm/detail/func_common_simd.inl
#if GLM_ARCH & GLM_ARCH_SSE2_BIT
#include "../simd/common.h"
#include <immintrin.h>
namespace args::core::math{
namespace detail
{
template<qualifier Q>
struct compute_abs_vector<4, float, Q, true>
{
GLM_FUNC_QUALIFIER static vec<4, float, Q> call(vec<4, ... | 25.991379 | 140 | 0.659204 | Algo-ryth-mix |
c8ccd9dcf42989cd994cf0acd5713b9b0cdf0602 | 6,547 | cpp | C++ | Tudat/Astrodynamics/Ephemerides/UnitTests/unitTestFrameManager.cpp | ViktorJordanov/tudat | 069ceeab8f12405c356e19f50d6df037914df85c | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/Ephemerides/UnitTests/unitTestFrameManager.cpp | ViktorJordanov/tudat | 069ceeab8f12405c356e19f50d6df037914df85c | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/Ephemerides/UnitTests/unitTestFrameManager.cpp | ViktorJordanov/tudat | 069ceeab8f12405c356e19f50d6df037914df85c | [
"BSD-3-Clause"
] | null | null | null | <<<<<<< HEAD
/* Copyright (c) 2010-2018, Delft University of Technology
=======
/* Copyright (c) 2010-2019, Delft University of Technology
>>>>>>> origin/master
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modif... | 43.072368 | 129 | 0.683825 | ViktorJordanov |
c8cd0782327626be507627ca1c29f93964d57da5 | 312 | cpp | C++ | 洛谷/线性表/P3156.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | 洛谷/线性表/P3156.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | 洛谷/线性表/P3156.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int arr[2000010];
int main(){
ll n, m;
cin >> n >> m;
for(int i = 1; i <= n; i++){
cin >> arr[i];
}
for(int i = 1; i <= m; i++){
ll num;
cin >> num;
cout<<arr[num]<<endl;
}
return 0;
} | 17.333333 | 32 | 0.448718 | codehuanglei |
c8ce15404f254f188fc8c7c51b273c0f93163ada | 10,423 | cpp | C++ | src/qt/guapcoin/governancemodel.cpp | raininfotech/Guapcoin | 3df58f6d5ffab0d6c4c97fb79ad9722891fad528 | [
"MIT"
] | null | null | null | src/qt/guapcoin/governancemodel.cpp | raininfotech/Guapcoin | 3df58f6d5ffab0d6c4c97fb79ad9722891fad528 | [
"MIT"
] | null | null | null | src/qt/guapcoin/governancemodel.cpp | raininfotech/Guapcoin | 3df58f6d5ffab0d6c4c97fb79ad9722891fad528 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The PIVX developers
// Copyright (c) 2021 The Guapcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or https://www.opensource.org/licenses/mit-license.php.
#include "qt/guapcoin/governancemodel.h"
#include "budget/budgetmanager.h"
#include "budge... | 32.369565 | 128 | 0.735393 | raininfotech |
c8cfc75fd8f73b0a3a2c07d4de0aa7028403c556 | 34 | cpp | C++ | UOJ/8/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | UOJ/8/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | UOJ/8/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | int main(){printf("int main()");}
| 17 | 33 | 0.588235 | sjj118 |
c8d05392198a2bfbc88fb71340f4a293e13a0e94 | 4,003 | cpp | C++ | modules/base/src/io/ivfvolumewriter.cpp | krisgun/inviwo | fccf8301ff18a0fe8e791de8ee26b177b9b5570b | [
"BSD-2-Clause"
] | null | null | null | modules/base/src/io/ivfvolumewriter.cpp | krisgun/inviwo | fccf8301ff18a0fe8e791de8ee26b177b9b5570b | [
"BSD-2-Clause"
] | null | null | null | modules/base/src/io/ivfvolumewriter.cpp | krisgun/inviwo | fccf8301ff18a0fe8e791de8ee26b177b9b5570b | [
"BSD-2-Clause"
] | null | null | null | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2013-2019 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | 44.977528 | 97 | 0.674994 | krisgun |
c8d235ee9f2b6c70114e10b3a7bdcd2071e51594 | 219 | cpp | C++ | src/TsMsg.cpp | Strefa35/TsReader | 64787741d59672d67420fdc5f21923f59bc48bd1 | [
"MIT"
] | null | null | null | src/TsMsg.cpp | Strefa35/TsReader | 64787741d59672d67420fdc5f21923f59bc48bd1 | [
"MIT"
] | null | null | null | src/TsMsg.cpp | Strefa35/TsReader | 64787741d59672d67420fdc5f21923f59bc48bd1 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2019, 4Embedded.Systems all rights reserved.
*/
#include "TsMsg.hpp"
#include "options.dbg"
#ifdef DBG_LVL_TSMSG
#define DBG_LEVEL DBG_LVL_TSMSG
#endif // DBG_LVL_TSMSG
#include "TsDbg.hpp"
| 15.642857 | 61 | 0.721461 | Strefa35 |
c8d30276476da3bc310f1b27316b4b4e3b11fe3c | 2,353 | cpp | C++ | newton-3.14/sdk/dScene/dGeometryNodeInfo.cpp | execomrt/newton-dynamics | b38363000bed09cf514cdad92013b0c0b4c48f3f | [
"Zlib"
] | 1,031 | 2015-01-02T14:08:47.000Z | 2022-03-29T02:25:27.000Z | newton-3.14/sdk/dScene/dGeometryNodeInfo.cpp | execomrt/newton-dynamics | b38363000bed09cf514cdad92013b0c0b4c48f3f | [
"Zlib"
] | 240 | 2015-01-11T04:27:19.000Z | 2022-03-30T00:35:57.000Z | newton-3.14/sdk/dScene/dGeometryNodeInfo.cpp | execomrt/newton-dynamics | b38363000bed09cf514cdad92013b0c0b4c48f3f | [
"Zlib"
] | 224 | 2015-01-05T06:13:54.000Z | 2022-02-25T14:39:51.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: dGeometryNodeInfo.h
// Purpose:
// Author: Julio Jerez
// Modified by:
// Created: 22/05/2010 08:02:08
// RCS-ID:
// Copyright: Copyright (c) <2010> <Newton Game Dynamics>
// License:
// This softwa... | 25.301075 | 93 | 0.677858 | execomrt |
c8d48c874d574f1b02fa1cd7d08005a602102029 | 127 | hxx | C++ | src/Providers/UNIXProviders/AssociatedAlarm/UNIX_AssociatedAlarm_DARWIN.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/AssociatedAlarm/UNIX_AssociatedAlarm_DARWIN.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/AssociatedAlarm/UNIX_AssociatedAlarm_DARWIN.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_DARWIN
#ifndef __UNIX_ASSOCIATEDALARM_PRIVATE_H
#define __UNIX_ASSOCIATEDALARM_PRIVATE_H
#endif
#endif
| 10.583333 | 40 | 0.850394 | brunolauze |
c8d695e7aa68c7e534ebd2aa9ee4b954e443fac3 | 3,697 | hpp | C++ | src/include/bwt.hpp | TNishimoto/rlbwt_iterator | f2a4ae0276cb756d2724570def84641449da2f87 | [
"MIT"
] | null | null | null | src/include/bwt.hpp | TNishimoto/rlbwt_iterator | f2a4ae0276cb756d2724570def84641449da2f87 | [
"MIT"
] | null | null | null | src/include/bwt.hpp | TNishimoto/rlbwt_iterator | f2a4ae0276cb756d2724570def84641449da2f87 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <string>
#include <memory>
namespace stool
{
namespace rlbwt{
class SuffixArrayConstructor
{
public:
//static std::vector<uint64_t> construct_sa(std::string &text);
//static std::string construct_bwt(std::string &text);
//static std::vector<uint64_t> construct_lcp(std::st... | 25.14966 | 121 | 0.503111 | TNishimoto |
c8d78d160421fd451181b2d0c7742ce6ecd68da8 | 3,045 | cc | C++ | zkPoD-lib/pod_core/scheme_vrfq_bob.cc | Jackieyewang/Spicy-strips | bd9f7800f0bf321d91e5ae00a033756cbdd32818 | [
"MIT"
] | 20 | 2019-06-26T11:37:46.000Z | 2021-01-12T02:46:26.000Z | zkPoD-lib/pod_core/scheme_vrfq_bob.cc | Jackieyewang/Spicy-strips | bd9f7800f0bf321d91e5ae00a033756cbdd32818 | [
"MIT"
] | 2 | 2020-04-06T18:00:43.000Z | 2021-11-04T02:04:01.000Z | zkPoD-lib/pod_core/scheme_vrfq_bob.cc | Jackieyewang/Spicy-strips | bd9f7800f0bf321d91e5ae00a033756cbdd32818 | [
"MIT"
] | 6 | 2019-06-28T08:24:44.000Z | 2020-09-10T09:27:45.000Z | #include "scheme_vrfq_bob.h"
#include "public.h"
#include "scheme_table.h"
#include "scheme_table_bob_data.h"
#include "scheme_vrfq_notary.h"
namespace scheme::table::vrfq {
Bob::Bob(BobDataPtr b, h256_t const& self_id, h256_t const& peer_id,
std::string const& query_key,
std::vector<std::... | 30.45 | 80 | 0.633498 | Jackieyewang |
c8d9a04660193a55ff9a1fc3a8aa13f66306af60 | 5,384 | cpp | C++ | infer_server/tests/unit/test_env.cpp | zhn6818/Cambricon_easydk | e696bda55c32d5b569afbd0b3869198b9ec9160e | [
"Apache-2.0"
] | 2 | 2021-09-14T09:00:35.000Z | 2021-09-16T01:34:35.000Z | infer_server/tests/unit/test_env.cpp | zhn6818/Cambricon_easydk | e696bda55c32d5b569afbd0b3869198b9ec9160e | [
"Apache-2.0"
] | null | null | null | infer_server/tests/unit/test_env.cpp | zhn6818/Cambricon_easydk | e696bda55c32d5b569afbd0b3869198b9ec9160e | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
* Copyright (C) [2020] by Cambricon, Inc. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License a... | 35.655629 | 95 | 0.703752 | zhn6818 |
c8dbc03ba84a40167de29bf2e3e9185d81990f6b | 7,021 | hh | C++ | src/OpenVolumeMesh/Core/SerializersT_impl.hh | Rupemgera/VtkMeshFrame | abcaf84639d186756c06de73f1d6b4664566da14 | [
"MIT"
] | null | null | null | src/OpenVolumeMesh/Core/SerializersT_impl.hh | Rupemgera/VtkMeshFrame | abcaf84639d186756c06de73f1d6b4664566da14 | [
"MIT"
] | null | null | null | src/OpenVolumeMesh/Core/SerializersT_impl.hh | Rupemgera/VtkMeshFrame | abcaf84639d186756c06de73f1d6b4664566da14 | [
"MIT"
] | null | null | null | /*===========================================================================*\
* *
* OpenVolumeMesh *
* Copyright (C) 2011 by Computer Graphics Group, RWTH Aachen *
* ... | 36.567708 | 134 | 0.523857 | Rupemgera |
c8de8e60c11296c2199a012b28d4605e90769e4d | 652 | hpp | C++ | ambience/modules/tup_airtraffic/params.hpp | beocom/dhqlax_mso.fallujah | 81217510ee2b66afbbef72c5ee3f9e4b3b7eff7f | [
"Apache-2.0"
] | null | null | null | ambience/modules/tup_airtraffic/params.hpp | beocom/dhqlax_mso.fallujah | 81217510ee2b66afbbef72c5ee3f9e4b3b7eff7f | [
"Apache-2.0"
] | null | null | null | ambience/modules/tup_airtraffic/params.hpp | beocom/dhqlax_mso.fallujah | 81217510ee2b66afbbef72c5ee3f9e4b3b7eff7f | [
"Apache-2.0"
] | null | null | null | class tup_airtraffic_factions {
title = " Enable Ambient Air Factions";
values[]= {0,1,2};
texts[]= {"All Factions","Civilian Only","None"};
default = 2;
};
class tup_airtraffic_intensity {
title = " Ambient Air Intensity";
values[]= {0, 1, 2, 3};
tex... | 34.315789 | 132 | 0.535276 | beocom |
c8df82697dbbccb25ab2f2de00937b0da3851739 | 1,645 | cpp | C++ | test/vector_adapter.cpp | bloomen/densitas | ede7f20ca40609c7991aed5bc39ed1f2ca85b62a | [
"MIT"
] | 3 | 2017-05-04T20:34:28.000Z | 2018-05-20T17:04:39.000Z | test/vector_adapter.cpp | bloomen/densitas | ede7f20ca40609c7991aed5bc39ed1f2ca85b62a | [
"MIT"
] | null | null | null | test/vector_adapter.cpp | bloomen/densitas | ede7f20ca40609c7991aed5bc39ed1f2ca85b62a | [
"MIT"
] | null | null | null | #include "utils.hpp"
class mock_vector {
public:
const std::size_t size_;
std::size_t index_used_;
double value_;
explicit
mock_vector(std::size_t size)
: size_(size), index_used_(0), value_(0)
{}
std::size_t size() const
{
return size_;
}
double operator()(... | 23.84058 | 93 | 0.680243 | bloomen |
c8e020170ca941a5e61aeba6b6fe034b9f148566 | 8,133 | cpp | C++ | test/test_utility_regions.cpp | amessing/HFSM2 | 419c6847adcc644cabb6634757ec1b403bf2e192 | [
"MIT"
] | 221 | 2018-10-17T09:30:15.000Z | 2022-03-17T17:41:03.000Z | test/test_utility_regions.cpp | amessing/HFSM2 | 419c6847adcc644cabb6634757ec1b403bf2e192 | [
"MIT"
] | 32 | 2019-06-17T09:16:07.000Z | 2022-03-13T13:47:04.000Z | test/test_utility_regions.cpp | amessing/HFSM2 | 419c6847adcc644cabb6634757ec1b403bf2e192 | [
"MIT"
] | 38 | 2019-03-16T12:57:37.000Z | 2022-03-10T22:05:16.000Z | // HFSM2 (hierarchical state machine for games and interactive applications)
// Created by Andrew Gresyk
#define HFSM2_ENABLE_UTILITY_THEORY
#define HFSM2_ENABLE_VERBOSE_DEBUG_LOG
#include "tools.hpp"
namespace test_utility_regions {
////////////////////////////////////////////////////////////////////////////////
u... | 28.840426 | 80 | 0.502275 | amessing |
c8e43916cfb0588d91de212170e6de23b9480cf1 | 4,611 | cpp | C++ | source/network/http.cpp | zhiayang/ikurabot | 051042ec85bcbee3f4b8888138a46c37396a2daa | [
"Apache-2.0"
] | 5 | 2020-07-21T20:29:10.000Z | 2021-12-06T15:17:46.000Z | source/network/http.cpp | NrdyBhu1/ikurabot | 051042ec85bcbee3f4b8888138a46c37396a2daa | [
"Apache-2.0"
] | null | null | null | source/network/http.cpp | NrdyBhu1/ikurabot | 051042ec85bcbee3f4b8888138a46c37396a2daa | [
"Apache-2.0"
] | 1 | 2021-02-07T08:41:45.000Z | 2021-02-07T08:41:45.000Z | // http.cpp
// Copyright (c) 2020, zhiayang
// Licensed under the Apache License Version 2.0.
#include "defs.h"
#include "network.h"
#include <unordered_map>
namespace ikura
{
static std::unordered_map<std::string, uint16_t> default_ports = {
{ "http", 80 },
{ "https", 443 },
{ "ws", 80 },
{ "wss", 443 },
... | 20.584821 | 101 | 0.589026 | zhiayang |
c8e474e366fb9768317b94aee2f5582daafc80e8 | 20,768 | cpp | C++ | src/platform/win/run_as_service.cpp | MikeCharikov/vsm-cpp-sdk | 966dfe7cd3a436f8452e16c97328e720f882c484 | [
"BSD-3-Clause"
] | 1 | 2020-04-24T17:50:56.000Z | 2020-04-24T17:50:56.000Z | src/platform/win/run_as_service.cpp | AlexandreBorowczyk/vsm-cpp-sdk | 234be1fc05697b79b88398b2c425a5b35d6e3ffb | [
"BSD-3-Clause"
] | null | null | null | src/platform/win/run_as_service.cpp | AlexandreBorowczyk/vsm-cpp-sdk | 234be1fc05697b79b88398b2c425a5b35d6e3ffb | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2018, Smart Projects Holdings Ltd
// All rights reserved.
// See LICENSE file for license details.
#include <iostream>
#include <vector>
#include <string>
#include <windows.h>
#include <tchar.h>
#include <strsafe.h>
#ifdef ERROR
#undef ERROR
#endif
#include <ugcs/vsm/log.h>
#include <ugcs/vsm/file_p... | 33.282051 | 124 | 0.562596 | MikeCharikov |
c8e4e756af52ded88baa48ab9fd93b850d861568 | 3,392 | cpp | C++ | example/03a.texture_atlas/03a.texture_atlas.cpp | lenamueller/glpp | f7d29e5924537fd405a5bb409d67e65efdde8d9e | [
"MIT"
] | 16 | 2019-12-10T19:44:17.000Z | 2022-01-04T03:16:19.000Z | example/03a.texture_atlas/03a.texture_atlas.cpp | lenamueller/glpp | f7d29e5924537fd405a5bb409d67e65efdde8d9e | [
"MIT"
] | null | null | null | example/03a.texture_atlas/03a.texture_atlas.cpp | lenamueller/glpp | f7d29e5924537fd405a5bb409d67e65efdde8d9e | [
"MIT"
] | 3 | 2021-06-04T21:56:55.000Z | 2022-03-03T06:47:56.000Z | #include <glpp/system/window.hpp>
#include <glpp/core.hpp>
#include <fstream>
#include <string_view>
#include <unordered_map>
#include <chrono>
#include <iostream>
struct scene_uniform_description_t{
float tex_id;
};
struct vertex_description_t {
glm::vec2 position;
glm::vec2 tex;
};
class model_t : public glpp:... | 32 | 107 | 0.728774 | lenamueller |
c8e54593b7a74adeb90293f1822c1e804e5fe1f2 | 157 | cpp | C++ | vm/testdata/float_global.cpp | PeaStew/contentos-go | dc6029153cda3969d4879f0af5e6c9407d33b031 | [
"MIT"
] | 50 | 2018-10-22T08:12:35.000Z | 2022-01-31T10:28:10.000Z | vm/testdata/float_global.cpp | hassoon1986/contentos-go | 5810123c4b353c8733e3b6fd2bb11229bc17bf6b | [
"MIT"
] | 12 | 2019-01-04T03:06:33.000Z | 2022-01-05T09:42:17.000Z | vm/testdata/float_global.cpp | hassoon1986/contentos-go | 5810123c4b353c8733e3b6fd2bb11229bc17bf6b | [
"MIT"
] | 19 | 2019-04-28T04:46:28.000Z | 2022-03-21T09:50:51.000Z | extern "C" {
float a = 3.14;
int sub(int b) {
return int(a)-b;
}
int main() {
float c = sub(1);
return 0;
}
} | 12.076923 | 25 | 0.388535 | PeaStew |
c8e74600f90aec23e828fca53eba167fdfed3115 | 2,553 | cpp | C++ | Headless/Chunk.cpp | MichealEButler/TreeABM | f5bca9d0fb4cc6b2100295d6f252a771b398477a | [
"MIT"
] | null | null | null | Headless/Chunk.cpp | MichealEButler/TreeABM | f5bca9d0fb4cc6b2100295d6f252a771b398477a | [
"MIT"
] | null | null | null | Headless/Chunk.cpp | MichealEButler/TreeABM | f5bca9d0fb4cc6b2100295d6f252a771b398477a | [
"MIT"
] | null | null | null | #include "Chunk.h"
Chunk::Chunk()
{
}
Chunk::Chunk(int id)
{
_id = id;
cout << "Chunk with ID = " << id << " created!" << endl;
}
Chunk::~Chunk()
{
}
void Chunk::setX1(int x1)
{
_x1 = x1;
}
void Chunk::setX2(int x2)
{
_x2 = x2;
}
void Chunk::setY1(int y1)
{
_y1 = y1;
}
void Chunk::setY2(int y2)
{
_... | 13.436842 | 103 | 0.504113 | MichealEButler |
c8e8d8099b1f6ecd21c8d0bacf330b2d8ad8073f | 691 | cpp | C++ | archive/1/haft.cpp | Aleshkev/algoritmika | fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189 | [
"MIT"
] | 2 | 2019-05-04T09:37:09.000Z | 2019-05-22T18:07:28.000Z | archive/1/haft.cpp | Aleshkev/algoritmika | fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189 | [
"MIT"
] | null | null | null | archive/1/haft.cpp | Aleshkev/algoritmika | fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef int I;
int main()
{
cout.sync_with_stdio(false);
string s; cin >> s;
I r; cin >> r;
string z;
for(I i = 0; i < r; ++i) {
z += s;
}
static char t[5001][5001];
I n = z.size() * 2;
for(I i = 0; i < z.size(); ++i) {
... | 17.717949 | 67 | 0.360347 | Aleshkev |
c8ebc9ee4a59b41f4185ee86f6e7f2bdb66b9da1 | 2,668 | hpp | C++ | libs/testing/src/main/cpp/neurodidactic/testing/MdArrayVerification.hpp | tomault/neurodidactic | c2641d65ebe191667f945817227319f48388c55b | [
"Apache-2.0"
] | null | null | null | libs/testing/src/main/cpp/neurodidactic/testing/MdArrayVerification.hpp | tomault/neurodidactic | c2641d65ebe191667f945817227319f48388c55b | [
"Apache-2.0"
] | null | null | null | libs/testing/src/main/cpp/neurodidactic/testing/MdArrayVerification.hpp | tomault/neurodidactic | c2641d65ebe191667f945817227319f48388c55b | [
"Apache-2.0"
] | null | null | null | #ifndef __NEURODIDACTIC__TESTING__MDARRAYVERIFICATION_HPP__
#define __NEURODIDACTIC__TESTING__MDARRAYVERIFICATION_HPP__
#include <gtest/gtest.h>
#include <sstream>
namespace neurodidactic {
namespace testing {
template <typename Array>
std::string mdArrayDataToString(const Array& a, size_t index = -1) {
... | 30.318182 | 74 | 0.596702 | tomault |
c8ef286547c1c467ac734b159ffb64bfe4191b8f | 124,383 | cpp | C++ | APEX_1.4/module/clothing/src/ClothingAssetImpl.cpp | DoubleTT-Changan/0715 | acbd071531ca4f3e2a82525b92f60824178c39fa | [
"Unlicense"
] | null | null | null | APEX_1.4/module/clothing/src/ClothingAssetImpl.cpp | DoubleTT-Changan/0715 | acbd071531ca4f3e2a82525b92f60824178c39fa | [
"Unlicense"
] | null | null | null | APEX_1.4/module/clothing/src/ClothingAssetImpl.cpp | DoubleTT-Changan/0715 | acbd071531ca4f3e2a82525b92f60824178c39fa | [
"Unlicense"
] | null | null | null | //
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in bin... | 32.156929 | 286 | 0.726217 | DoubleTT-Changan |
c8f091a11a7758956def881793d9cc47595c7f57 | 3,993 | hpp | C++ | 3rdparty/yas/detail/tools/variant_element_switch.hpp | hadescoincom/hds-core | 383a38da9a5e40de66ba2277b54fea41b7c32537 | [
"Apache-2.0"
] | null | null | null | 3rdparty/yas/detail/tools/variant_element_switch.hpp | hadescoincom/hds-core | 383a38da9a5e40de66ba2277b54fea41b7c32537 | [
"Apache-2.0"
] | null | null | null | 3rdparty/yas/detail/tools/variant_element_switch.hpp | hadescoincom/hds-core | 383a38da9a5e40de66ba2277b54fea41b7c32537 | [
"Apache-2.0"
] | null | null | null |
// Copyright (c) 2010-2020 niXman (i dot nixman dog gmail dot com). All
// rights reserved.
//
// This file is part of YAS(https://github.com/niXman/yas) project.
//
// 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)
... | 36.3 | 102 | 0.649386 | hadescoincom |
c8f5852126498f25802a734301abbc9dc36e6575 | 142,882 | cpp | C++ | OGDF/src/ogdf/orthogonal/EdgeRouter.cpp | shahnidhi/MetaCarvel | f3bea5fdbbecec4c9becc6bbdc9585a939eb5481 | [
"MIT"
] | 13 | 2017-12-21T03:35:41.000Z | 2022-01-31T13:45:25.000Z | OGDF/src/ogdf/orthogonal/EdgeRouter.cpp | shahnidhi/MetaCarvel | f3bea5fdbbecec4c9becc6bbdc9585a939eb5481 | [
"MIT"
] | 7 | 2017-09-13T01:31:24.000Z | 2021-12-14T00:31:50.000Z | OGDF/src/ogdf/orthogonal/EdgeRouter.cpp | shahnidhi/MetaCarvel | f3bea5fdbbecec4c9becc6bbdc9585a939eb5481 | [
"MIT"
] | 15 | 2017-09-07T18:28:55.000Z | 2022-01-18T14:17:43.000Z | /** \file
* \brief Edge routing and node placement implementation.
*
* \author Karsten Klein
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.txt in the root directory of the OGDF installation for details.
*
* \par
* This program is... | 34.705368 | 149 | 0.609293 | shahnidhi |
c8f5db96e09d68ec8532a0da27e7178bd233374b | 10,746 | cpp | C++ | Source/RuntimeEditor/CLightMenu.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 3 | 2019-04-12T15:22:53.000Z | 2022-01-05T02:59:56.000Z | Source/RuntimeEditor/CLightMenu.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | null | null | null | Source/RuntimeEditor/CLightMenu.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 2 | 2019-04-10T22:46:21.000Z | 2020-05-27T16:21:37.000Z | #include "CLightMenu.h"
#include "CGameObject.h"
#include "CGameManager.h"
// MyGUI specific plugin
#include "../PluginMyGui/CGuiStrategy_MyGui.h"
#include "CMenuDirector.h"
#include "EditorObjects.h"
#include "CEditorHelper.h"
#include "OgreLight.h"
#include "OgreSceneManager.h"
#include "OgreStringConverter.h"
us... | 36.55102 | 103 | 0.775265 | shanefarris |
c8f775bc6a7335c3cb601da3cf1987eacec8efff | 87 | cpp | C++ | packages/cython/feedback/core.cpp | alexjball/video-feedback | a8254290ed5eda3db875d18fa850153510b3e4ca | [
"MIT"
] | 9 | 2017-08-17T12:30:14.000Z | 2022-01-18T16:02:00.000Z | packages/cython/feedback/core.cpp | alexjball/video-feedback | a8254290ed5eda3db875d18fa850153510b3e4ca | [
"MIT"
] | 4 | 2022-02-12T17:40:46.000Z | 2022-02-12T17:43:36.000Z | packages/cython/feedback/core.cpp | alexjball/video-feedback | a8254290ed5eda3db875d18fa850153510b3e4ca | [
"MIT"
] | 4 | 2018-09-26T12:12:18.000Z | 2022-01-18T06:53:17.000Z | #include <stdio.h>
static void print_core() { printf("core\n"); }
/**
* Contains
*/ | 12.428571 | 46 | 0.597701 | alexjball |
c8fa20edcd9d6982635251c9854b5c5f3eb38361 | 164 | hpp | C++ | include/utility.hpp | josephnoir/caf-reliable-messages | 9e9db89af3fbed93aa126c5c492f6420616661ea | [
"MIT"
] | null | null | null | include/utility.hpp | josephnoir/caf-reliable-messages | 9e9db89af3fbed93aa126c5c492f6420616661ea | [
"MIT"
] | null | null | null | include/utility.hpp | josephnoir/caf-reliable-messages | 9e9db89af3fbed93aa126c5c492f6420616661ea | [
"MIT"
] | null | null | null | #pragma once
#include <chrono>
#include <caf/all.hpp>
namespace relm {
void print_on_exit(const caf::actor& hdl, const std::string& name);
} // namespace relm
| 13.666667 | 67 | 0.707317 | josephnoir |
c8fa8273fb13ab80b3cd9213d0509978209e2334 | 23,828 | cpp | C++ | src/platform/tests/TestConfigurationMgr.cpp | clapre/connectedhomeip | 30732ad8f5a0e5f909a1b27f14946d355db89ec7 | [
"Apache-2.0"
] | 14 | 2021-06-23T19:52:29.000Z | 2022-03-31T14:14:03.000Z | src/platform/tests/TestConfigurationMgr.cpp | clapre/connectedhomeip | 30732ad8f5a0e5f909a1b27f14946d355db89ec7 | [
"Apache-2.0"
] | 40 | 2021-05-04T20:37:25.000Z | 2022-01-25T22:25:40.000Z | src/platform/tests/TestConfigurationMgr.cpp | clapre/connectedhomeip | 30732ad8f5a0e5f909a1b27f14946d355db89ec7 | [
"Apache-2.0"
] | 7 | 2021-08-14T04:36:31.000Z | 2022-03-31T10:39:09.000Z | /*
*
* Copyright (c) 2020 Project CHIP 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 requir... | 47.371769 | 127 | 0.694477 | clapre |
c8fe614b7deb0f88f3d28f50de34bd7d10f90045 | 10,660 | hpp | C++ | src/libclipper/include/clipper/redis.hpp | yujialuo/Clipper | 7269521f003b542b60d13f3a69276b62f610ef33 | [
"Apache-2.0"
] | 2 | 2017-12-28T14:23:19.000Z | 2018-01-30T23:37:27.000Z | src/libclipper/include/clipper/redis.hpp | yujialuo/Clipper | 7269521f003b542b60d13f3a69276b62f610ef33 | [
"Apache-2.0"
] | null | null | null | src/libclipper/include/clipper/redis.hpp | yujialuo/Clipper | 7269521f003b542b60d13f3a69276b62f610ef33 | [
"Apache-2.0"
] | 3 | 2018-01-30T23:40:27.000Z | 2018-09-19T21:07:51.000Z | #ifndef CLIPPER_LIB_REDIS_HPP
#define CLIPPER_LIB_REDIS_HPP
#include <iostream>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include <boost/optional.hpp>
#include <redox.hpp>
#include "constants.hpp"
#include "datatypes.hpp"
// a collection of redis utilities for common operations... | 37.801418 | 79 | 0.713321 | yujialuo |
c8ffe98c64ad2aae89936683975c995609164f76 | 17,582 | cpp | C++ | src/textord/textord.cpp | JieveLiu/tesseract | 0f680e2038e04ccc4d2adbf35b5d96914d8b7ee1 | [
"Apache-2.0"
] | 37 | 2019-01-21T08:03:35.000Z | 2022-03-26T08:42:19.000Z | src/textord/textord.cpp | lokesh-stack/tesseract | 54690d6535958ff738de38fc02d0180ece166291 | [
"Apache-2.0"
] | 8 | 2019-01-28T14:03:29.000Z | 2020-06-08T02:56:03.000Z | src/textord/textord.cpp | lokesh-stack/tesseract | 54690d6535958ff738de38fc02d0180ece166291 | [
"Apache-2.0"
] | 14 | 2019-01-24T13:46:03.000Z | 2020-01-03T11:29:13.000Z | ///////////////////////////////////////////////////////////////////////
// File: textord.cpp
// Description: The top-level text line and word finding functionality.
// Author: Ray Smith
// Created: Fri Mar 13 14:43:01 PDT 2009
//
// (C) Copyright 2009, Google Inc.
// Licensed under the Apache License, V... | 49.666667 | 80 | 0.622625 | JieveLiu |
74022f170ed59a8b18f7a755c06fa8a889e8cf44 | 1,980 | cc | C++ | src/q_2151_2200/q2200.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | src/q_2151_2200/q2200.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-12-15T10:51:15.000Z | 2022-01-26T17:03:16.000Z | src/q_2151_2200/q2200.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <iostream>
#include <unordered_set>
#include <vector>
using namespace std;
/**
* This file is generated by leetcode_add.py
*
* 2200.
* Find All K-Distant Indices in an Array
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* You are given ... | 26.052632 | 87 | 0.537374 | vNaonLu |
7404d6985770b7c42004215d06b9c42e624bd0a9 | 50,098 | cpp | C++ | amdocl/cl_svm.cpp | RadeonOpenCompute/ROCm-OpenCL-Runtime | 12d926d06d36fe74876a82f8f8e1ce8ce7902728 | [
"MIT"
] | 137 | 2017-05-12T14:49:38.000Z | 2022-02-21T06:46:40.000Z | amdocl/cl_svm.cpp | RadeonOpenCompute/ROCm-OpenCL-Runtime | 12d926d06d36fe74876a82f8f8e1ce8ce7902728 | [
"MIT"
] | 103 | 2017-05-12T23:07:28.000Z | 2022-03-31T14:49:32.000Z | amdocl/cl_svm.cpp | RadeonOpenCompute/ROCm-OpenCL-Runtime | 12d926d06d36fe74876a82f8f8e1ce8ce7902728 | [
"MIT"
] | 53 | 2017-05-13T11:36:32.000Z | 2022-03-27T09:29:42.000Z | /* Copyright (c) 2009 - 2021 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 restriction, including without limitation the rights
to use, copy, modify, mer... | 41.131363 | 112 | 0.712424 | RadeonOpenCompute |
740552022e25a1d1093f2678492a7f241dce7692 | 4,516 | cpp | C++ | api/python/MachO/objects/pyHeader.cpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | api/python/MachO/objects/pyHeader.cpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | api/python/MachO/objects/pyHeader.cpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 - 2022 R. Thomas
* Copyright 2017 - 2022 Quarkslab
*
* 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 req... | 33.954887 | 85 | 0.644376 | ahawad |
740767fd7b807b481f7fb87f2fb46db648ff1e7e | 557 | hpp | C++ | src/types/amfbool.hpp | Ventero/amf-cpp | e49c308e79e4467ccc42b42995ef2979ff5232e9 | [
"MIT"
] | 39 | 2015-03-20T16:40:01.000Z | 2021-06-07T21:24:40.000Z | src/types/amfbool.hpp | Ventero/amf-cpp | e49c308e79e4467ccc42b42995ef2979ff5232e9 | [
"MIT"
] | 5 | 2015-01-03T14:50:27.000Z | 2022-02-28T22:22:21.000Z | src/types/amfbool.hpp | Ventero/amf-cpp | e49c308e79e4467ccc42b42995ef2979ff5232e9 | [
"MIT"
] | 9 | 2015-03-24T03:55:46.000Z | 2020-11-17T09:23:41.000Z | #pragma once
#ifndef AMFBOOL_HPP
#define AMFBOOL_HPP
#include "types/amfitem.hpp"
namespace amf {
class SerializationContext;
class AmfBool : public AmfItem {
public:
AmfBool(bool v) : value(v) { }
operator bool() const { return value; }
bool operator==(const AmfItem& other) const;
std::vector<u8> serialize(S... | 18.566667 | 99 | 0.72711 | Ventero |
740864b6bd7cf9e1b5e9e3459429fabb75f40d1c | 4,319 | cpp | C++ | fdbserver/workloads/KillRegion.actor.cpp | timansky/foundationdb | 97dd83d94060145687395fe1fa440b88aaa078a8 | [
"Apache-2.0"
] | 1 | 2019-10-10T03:50:16.000Z | 2019-10-10T03:50:16.000Z | fdbserver/workloads/KillRegion.actor.cpp | timansky/foundationdb | 97dd83d94060145687395fe1fa440b88aaa078a8 | [
"Apache-2.0"
] | 2 | 2019-03-15T22:23:06.000Z | 2019-03-17T18:45:04.000Z | fdbserver/workloads/KillRegion.actor.cpp | timansky/foundationdb | 97dd83d94060145687395fe1fa440b88aaa078a8 | [
"Apache-2.0"
] | 1 | 2019-03-12T20:17:26.000Z | 2019-03-12T20:17:26.000Z | /*
* KillRegion.actor.cpp
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 38.5625 | 159 | 0.739523 | timansky |
7408d36da8494848f968d1678a6d7d5f3914c981 | 10,011 | cpp | C++ | src/ripple/app/ledger/impl/LedgerToJson.cpp | ChainSQL/chainsqld | 6af7eb0624c67776098250a39eae9f195d8a473a | [
"BSL-1.0"
] | 211 | 2017-12-11T03:11:37.000Z | 2022-03-15T12:38:19.000Z | src/ripple/app/ledger/impl/LedgerToJson.cpp | ChainSQL/chainsqld | 6af7eb0624c67776098250a39eae9f195d8a473a | [
"BSL-1.0"
] | 17 | 2017-12-18T07:22:06.000Z | 2022-02-15T10:24:29.000Z | src/ripple/app/ledger/impl/LedgerToJson.cpp | ChainSQL/chainsqld | 6af7eb0624c67776098250a39eae9f195d8a473a | [
"BSL-1.0"
] | 81 | 2017-12-11T03:09:21.000Z | 2022-03-20T09:42:42.000Z | //------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012-2015 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby g... | 29.883582 | 80 | 0.614524 | ChainSQL |
740b4ba1d3b1f11eaebbdd3b920f763bb351ffd7 | 284 | cpp | C++ | src/configuration/get_parent.cpp | TetraSomia/liblapin | f5ee3ce9b0fff8459ec15d5e24287f2c16e5ae35 | [
"BSD-3-Clause"
] | 1 | 2021-06-14T19:26:42.000Z | 2021-06-14T19:26:42.000Z | src/configuration/get_parent.cpp | TetraSomia/liblapin | f5ee3ce9b0fff8459ec15d5e24287f2c16e5ae35 | [
"BSD-3-Clause"
] | null | null | null | src/configuration/get_parent.cpp | TetraSomia/liblapin | f5ee3ce9b0fff8459ec15d5e24287f2c16e5ae35 | [
"BSD-3-Clause"
] | null | null | null | // Jason Brillante "Damdoshi"
// Hanged Bunny Studio 2014-2016
//
// Lapin library
#include "lapin_private.h"
t_bunny_configuration *bunny_configuration_get_parent(t_bunny_configuration *conf)
{
SmallConf *c = (SmallConf*)conf;
return ((t_bunny_configuration*)c->father);
}
| 18.933333 | 82 | 0.75 | TetraSomia |
740bea3bd54a4c344226660f4adcd83d403eadd2 | 1,151 | hpp | C++ | include/tikpp/data/model.hpp | aymanalqadhi/tikpp | 8e94abdc4ac8c85dd893780ad4256cdd6690a758 | [
"Apache-2.0"
] | 4 | 2021-02-07T08:21:10.000Z | 2022-01-16T04:33:18.000Z | include/tikpp/data/model.hpp | xSHAD0Wx/tikpp | 8e94abdc4ac8c85dd893780ad4256cdd6690a758 | [
"Apache-2.0"
] | null | null | null | include/tikpp/data/model.hpp | xSHAD0Wx/tikpp | 8e94abdc4ac8c85dd893780ad4256cdd6690a758 | [
"Apache-2.0"
] | 3 | 2020-10-18T20:00:38.000Z | 2022-03-22T09:04:46.000Z | #ifndef TIKPP_DATA_MODEL_HPP
#define TIKPP_DATA_MODEL_HPP
#include "tikpp/data/types/identity.hpp"
#include "tikpp/data/types/wrapper.hpp"
#include "tikpp/request.hpp"
#include <string>
#include <type_traits>
namespace tikpp::data {
struct model {
/*!
* \brief A constant that contains an empty string liter... | 20.553571 | 62 | 0.646394 | aymanalqadhi |
740c588a0eed42ceb05ff612abe172feed2d581f | 6,276 | cpp | C++ | src/hfs/hfsWorkingdir.cpp | galaxor/executor | 4cfafb4584816ef8b9e226242680afc46779388f | [
"MIT"
] | 96 | 2017-10-27T10:55:21.000Z | 2022-01-04T12:56:26.000Z | src/hfs/hfsWorkingdir.cpp | galaxor/executor | 4cfafb4584816ef8b9e226242680afc46779388f | [
"MIT"
] | 30 | 2018-01-28T11:02:45.000Z | 2021-05-12T22:50:09.000Z | src/hfs/hfsWorkingdir.cpp | galaxor/executor | 4cfafb4584816ef8b9e226242680afc46779388f | [
"MIT"
] | 5 | 2019-03-26T17:59:34.000Z | 2020-05-20T16:48:40.000Z | /* Copyright 1992 by Abacus Research and
* Development, Inc. All rights reserved.
*/
#include <base/common.h>
#include <OSUtil.h>
#include <FileMgr.h>
#include <hfs/hfs.h>
#include <file/file.h>
#include <MemoryMgr.h>
using namespace Executor;
/*
* TODO: use this working directory stuff in ROMlib
*/
OSErr Exec... | 26.15 | 99 | 0.530593 | galaxor |
74106fa3a5be70a811aa120b19ee645b3bbdf5ee | 697 | hpp | C++ | include/vsim/env/node.hpp | malasiot/vsim | 2a69e27364bab29194328af3d050e34f907e226b | [
"MIT"
] | null | null | null | include/vsim/env/node.hpp | malasiot/vsim | 2a69e27364bab29194328af3d050e34f907e226b | [
"MIT"
] | null | null | null | include/vsim/env/node.hpp | malasiot/vsim | 2a69e27364bab29194328af3d050e34f907e226b | [
"MIT"
] | null | null | null | #ifndef __VSIM_NODE_HPP__
#define __VSIM_NODE_HPP__
#include <string>
#include <vector>
#include <memory>
#include <map>
#include <Eigen/Core>
#include <vsim/env/scene_fwd.hpp>
#include <vsim/env/pose.hpp>
#include <vsim/env/base_element.hpp>
namespace vsim {
// a hieracrchy of nodes. each node applies a transformat... | 22.483871 | 105 | 0.711621 | malasiot |
74115608f7a9e840563f269fb490b627b9b5c20a | 1,556 | cpp | C++ | src/shgen_opt.cpp | pperehozhih/shgen | 28482dfcf95999bb4d38fe2ac235f13bf2436ef4 | [
"MIT"
] | 10 | 2016-04-17T13:19:39.000Z | 2018-10-24T11:17:19.000Z | src/shgen_opt.cpp | pperehozhih/shgen | 28482dfcf95999bb4d38fe2ac235f13bf2436ef4 | [
"MIT"
] | null | null | null | src/shgen_opt.cpp | pperehozhih/shgen | 28482dfcf95999bb4d38fe2ac235f13bf2436ef4 | [
"MIT"
] | 2 | 2016-08-23T18:20:45.000Z | 2018-10-20T16:03:30.000Z | //
// shgen_opt.cpp
// shgen
//
// Created by Paul Perekhozhikh on 01.04.16.
//
//
#include "shgen.h"
#include "shgen_private.h"
#include "glsl_optimizer.h"
glslopt_target get_version(GLSLTarget version) {
if (version == GLSLTarget100)
return kGlslTargetOpenGL;
if (version <= GLSLTarget140)
retur... | 31.12 | 122 | 0.682519 | pperehozhih |
741880b254edf81dc4d5f3a852d14312e89c0ab5 | 1,621 | cpp | C++ | test/base_table.cpp | jacquelinekay/petra | 7db7eef381a20c91664553c28f57dfed96e32a50 | [
"MIT"
] | 118 | 2017-06-02T06:39:34.000Z | 2022-01-05T07:34:10.000Z | test/base_table.cpp | jacquelinekay/petra | 7db7eef381a20c91664553c28f57dfed96e32a50 | [
"MIT"
] | 1 | 2017-10-11T05:31:15.000Z | 2017-11-04T17:05:02.000Z | test/base_table.cpp | jacquelinekay/petra | 7db7eef381a20c91664553c28f57dfed96e32a50 | [
"MIT"
] | 6 | 2017-06-09T21:04:42.000Z | 2019-12-25T10:47:37.000Z | // Copyright Jacqueline Kay 2017
// Distributed under the MIT License.
// See accompanying LICENSE.md or https://opensource.org/licenses/MIT
#include "petra/base_table.hpp"
#include "utilities.hpp"
#include "petra/utilities.hpp"
#include <array>
#include <iostream>
template<auto Size>
struct test {
using Integral ... | 25.328125 | 77 | 0.641579 | jacquelinekay |
741a1f6ca19d1af01f126c43269f48caa316ba02 | 4,756 | cpp | C++ | 3/Graph/Graph/modules/object/viewport/viewport.cpp | i582/HLProgramming | 4d2da80c69f8e1014cbf7be9087bdec6b2c05d45 | [
"MIT"
] | null | null | null | 3/Graph/Graph/modules/object/viewport/viewport.cpp | i582/HLProgramming | 4d2da80c69f8e1014cbf7be9087bdec6b2c05d45 | [
"MIT"
] | null | null | null | 3/Graph/Graph/modules/object/viewport/viewport.cpp | i582/HLProgramming | 4d2da80c69f8e1014cbf7be9087bdec6b2c05d45 | [
"MIT"
] | null | null | null | #include "viewport.h"
Viewport::Viewport(HWND hwnd, HDC parent_hdc, Rect size)
: Object(hwnd, parent_hdc, size)
{
this->scale = 1;
this->setup();
}
Viewport::~Viewport()
{
NIA::Font::close(font);
}
void Viewport::render()
{
NIA::Draw::fillRect(hdc, { 0, 0, size.w, size.h }, 0x282828);
SetTextColor(hdc, 0xfff... | 18.08365 | 100 | 0.622792 | i582 |
741c5997654d71972bdbe2766dc6cd70714ebd9e | 11,457 | cpp | C++ | src/map.cpp | team-cringe/graphs | f84e2a4c3cae3b5c2493926c84536b9f81b1ed22 | [
"MIT"
] | null | null | null | src/map.cpp | team-cringe/graphs | f84e2a4c3cae3b5c2493926c84536b9f81b1ed22 | [
"MIT"
] | null | null | null | src/map.cpp | team-cringe/graphs | f84e2a4c3cae3b5c2493926c84536b9f81b1ed22 | [
"MIT"
] | null | null | null | #include "map.hpp"
#include <unordered_map>
#include <unordered_set>
#include <functional>
#include <numeric>
#include <random>
#include <filesystem>
#include <boost/iostreams/stream.hpp>
#include <boost/serialization/unordered_map.hpp>
#include <boost/serialization/vector.hpp>
#include <osmium/osm/types.hpp>
#inclu... | 32.182584 | 99 | 0.53583 | team-cringe |
741c990a43e0d9aaf853dcf67d71897b8c159cbb | 116,343 | cpp | C++ | coldwar/src/glad.cpp | PICOVERAVR/opengl-demos | b012e798219343158c25e05ebff295ca5afba541 | [
"MIT"
] | null | null | null | coldwar/src/glad.cpp | PICOVERAVR/opengl-demos | b012e798219343158c25e05ebff295ca5afba541 | [
"MIT"
] | null | null | null | coldwar/src/glad.cpp | PICOVERAVR/opengl-demos | b012e798219343158c25e05ebff295ca5afba541 | [
"MIT"
] | null | null | null | /*
OpenGL loader generated by glad 0.1.33 on Sun Jan 26 21:23:13 2020.
Language/Generator: C/C++
Specification: gl
APIs: gl=4.6
Profile: core
Extensions:
GL_ARB_bindless_texture,
GL_EXT_texture_compression_s3tc
Loader: True
Local files: False
Omit khrplatform: False... | 62.082711 | 172 | 0.853683 | PICOVERAVR |
741e924537f941ae19d93ce97fb85a888df014b4 | 1,934 | cpp | C++ | src/main/esl/com/basic/client/ConnectionFactory.cpp | SLukasDE/esl | 05f443d28fad37f3e9f0b0e8a27a16b842a0e3b8 | [
"MIT"
] | null | null | null | src/main/esl/com/basic/client/ConnectionFactory.cpp | SLukasDE/esl | 05f443d28fad37f3e9f0b0e8a27a16b842a0e3b8 | [
"MIT"
] | null | null | null | src/main/esl/com/basic/client/ConnectionFactory.cpp | SLukasDE/esl | 05f443d28fad37f3e9f0b0e8a27a16b842a0e3b8 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2019-2021 Sven Lukas
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish,... | 36.490566 | 111 | 0.785936 | SLukasDE |
741f89760a3b0cb1b2a7283044db4aa0a9433878 | 2,600 | cpp | C++ | aws-cpp-sdk-medialive/source/model/HlsCdnSettings.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-medialive/source/model/HlsCdnSettings.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-medialive/source/model/HlsCdnSettings.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/medialive/model/HlsCdnSettings.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
name... | 21.666667 | 82 | 0.755769 | perfectrecall |
74222f0fcda166e090b9bbca02ad6681cc8b066a | 4,589 | cpp | C++ | src/game.cpp | uoysip/GrandmasterPi | 5115f8a28f9bafe62f3f654c59c26871b596e529 | [
"MIT"
] | 1 | 2020-01-08T23:34:04.000Z | 2020-01-08T23:34:04.000Z | src/game.cpp | uoysip/GrandmasterPi | 5115f8a28f9bafe62f3f654c59c26871b596e529 | [
"MIT"
] | null | null | null | src/game.cpp | uoysip/GrandmasterPi | 5115f8a28f9bafe62f3f654c59c26871b596e529 | [
"MIT"
] | null | null | null | #include "Game.h"
#include <stdio.h>
using namespace std;
using namespace cv;
/** @file Game.cpp
* @brief This file is a helper file for Driver to process the CPU logic
* @author dmerkhai
* @author fbrown5
* @bugs no known bugs
*/
/**
* @brief constructor, connects to server for computer logic
*/
Game::Game()... | 24.805405 | 96 | 0.700806 | uoysip |
74253efc0e379e1142e96d85646891964c6a3aa1 | 433 | cpp | C++ | src/apps/stateMachine/states/Standing.cpp | johnlaidlaw/CANOpenRobotController | 36e163a0107ba7e6781af4b78f73a96d2c5db92e | [
"Apache-2.0"
] | 1 | 2020-05-11T00:20:25.000Z | 2020-05-11T00:20:25.000Z | src/apps/stateMachine/states/Standing.cpp | Willcampbellmelb/RobotCANControl | 36e163a0107ba7e6781af4b78f73a96d2c5db92e | [
"Apache-2.0"
] | null | null | null | src/apps/stateMachine/states/Standing.cpp | Willcampbellmelb/RobotCANControl | 36e163a0107ba7e6781af4b78f73a96d2c5db92e | [
"Apache-2.0"
] | 2 | 2020-05-25T05:06:27.000Z | 2021-10-19T10:18:18.000Z | ////////// STATE ////////////////////
//------- Standing ------------/////
////////////////////////////////////
#include "Standing.h"
void Standing::entry(void) {
std::cout
<< "======================" << endl
<< " HIT W -> Sit DOWN" << endl
<< "======================" << endl;
}
void Sta... | 20.619048 | 44 | 0.351039 | johnlaidlaw |
742ddcc92d55bfbe46b33285d55d27dd47782e3e | 115 | cpp | C++ | 441-Arranging_Coins.cpp | elsdrium/LeetCode-practice | a3b1fa5dd200155a636d36cd570e2454f7194e10 | [
"MIT"
] | null | null | null | 441-Arranging_Coins.cpp | elsdrium/LeetCode-practice | a3b1fa5dd200155a636d36cd570e2454f7194e10 | [
"MIT"
] | null | null | null | 441-Arranging_Coins.cpp | elsdrium/LeetCode-practice | a3b1fa5dd200155a636d36cd570e2454f7194e10 | [
"MIT"
] | null | null | null | class Solution {
public:
int arrangeCoins(int n) {
return int( (sqrt(1+8*double(n))-1) / 2 );
}
};
| 16.428571 | 50 | 0.53913 | elsdrium |
7431555d915b9d0925977f4d57a2cf00da4de19d | 882 | cpp | C++ | cpp/euler028/euler028.cpp | marvins/ProjectEuler | 55a377bb9702067bac6908c1316c578498402668 | [
"MIT"
] | null | null | null | cpp/euler028/euler028.cpp | marvins/ProjectEuler | 55a377bb9702067bac6908c1316c578498402668 | [
"MIT"
] | null | null | null | cpp/euler028/euler028.cpp | marvins/ProjectEuler | 55a377bb9702067bac6908c1316c578498402668 | [
"MIT"
] | 1 | 2020-12-16T09:25:19.000Z | 2020-12-16T09:25:19.000Z | /**
* @file euler028.cpp
* @author Marvin Smith
* @date 5/2/2015
*
* @note{ My solution to this problem is to create
* an equation to describe the repeating pattern.
*
* see euler028-estimation.m for how I compute the equation using GNU octave.
*
*/
// C++ Standard Libraries
#include <cintt... | 19.173913 | 82 | 0.592971 | marvins |
743178b51be24d50a99f17a3d6b0014439b6dd44 | 8,454 | cc | C++ | node-v5.6.0/deps/v8/src/snapshot/snapshot-common.cc | galeniumsysdev/g-order2 | 960796bbcec62e2df375d74ddc97d4cf49573ca8 | [
"MIT"
] | null | null | null | node-v5.6.0/deps/v8/src/snapshot/snapshot-common.cc | galeniumsysdev/g-order2 | 960796bbcec62e2df375d74ddc97d4cf49573ca8 | [
"MIT"
] | null | null | null | node-v5.6.0/deps/v8/src/snapshot/snapshot-common.cc | galeniumsysdev/g-order2 | 960796bbcec62e2df375d74ddc97d4cf49573ca8 | [
"MIT"
] | 1 | 2020-01-22T23:05:38.000Z | 2020-01-22T23:05:38.000Z | // Copyright 2006-2008 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// The common functionality when building with or without snapshots.
#include "src/v8.h"
#include "src/api.h"
#include "src/base/platform/platfor... | 36.439655 | 80 | 0.718476 | galeniumsysdev |
74340a490384a3743b25ae9e163953227f167d63 | 3,672 | cpp | C++ | src/util/sll/tests/stlizetest.cpp | rayslava/leechcraft | 4ecc8aa56dc6030d2593922ff41b00ff50902db8 | [
"BSL-1.0"
] | 1 | 2017-01-12T07:05:45.000Z | 2017-01-12T07:05:45.000Z | src/util/sll/tests/stlizetest.cpp | ForNeVeR/leechcraft | 384d041d23b1cdb7cc3c758612ac8d68d3d3d88c | [
"BSL-1.0"
] | null | null | null | src/util/sll/tests/stlizetest.cpp | ForNeVeR/leechcraft | 384d041d23b1cdb7cc3c758612ac8d68d3d3d88c | [
"BSL-1.0"
] | null | null | null | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | 26.228571 | 112 | 0.640795 | rayslava |
293a5def886e4e0f9bda955def06252ab8750e18 | 7,596 | cpp | C++ | drivers/png/png_driver_common.cpp | mehdigoom/ValjangEngine4.0.x | 30e9e5a6dfa92306b16aba39753d07addc57a93b | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 2 | 2021-02-10T07:16:37.000Z | 2021-06-25T17:13:06.000Z | drivers/png/png_driver_common.cpp | mehdigoom/ValjangEngine4.0.x | 30e9e5a6dfa92306b16aba39753d07addc57a93b | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | drivers/png/png_driver_common.cpp | mehdigoom/ValjangEngine4.0.x | 30e9e5a6dfa92306b16aba39753d07addc57a93b | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | /*************************************************************************/
/* png_driver_common.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 36.519231 | 101 | 0.65653 | mehdigoom |
293f2482eb634a2ae6a540cb3c0d863385a205d4 | 1,284 | cpp | C++ | account_create.cpp | kcoms555/bithumb-api-trader | 2403ee4bffd43860672eb429770edb546df6e8bb | [
"MIT"
] | null | null | null | account_create.cpp | kcoms555/bithumb-api-trader | 2403ee4bffd43860672eb429770edb546df6e8bb | [
"MIT"
] | null | null | null | account_create.cpp | kcoms555/bithumb-api-trader | 2403ee4bffd43860672eb429770edb546df6e8bb | [
"MIT"
] | null | null | null | #include "mysqlhandler.h"
int main(void){
_Mysqlhandler mysqlhandler;
int selection, count, owner, brain, deal;
double KRW;
char query[1024];
printf("select action : 1(CREATE TEST_ACCOUNT); 2(DELETE TEST_ACCOUNT); 3(CREATE ACCOUNT); 4(DELETE ACCOUNT);\n");
scanf("%d", &selection);
fflush(stdin);
switch(selec... | 27.319149 | 118 | 0.650312 | kcoms555 |
294064e946d5dd4c04f8c5fe14ed5fe5904f1bce | 7,438 | cpp | C++ | tests/utils/range_tests.cpp | Andrik-555/retdec | 1ac63a520da02912daf836b924f41d95b1b5fa10 | [
"MIT",
"BSD-3-Clause"
] | 521 | 2019-03-29T15:44:08.000Z | 2022-03-22T09:46:19.000Z | tests/utils/range_tests.cpp | Andrik-555/retdec | 1ac63a520da02912daf836b924f41d95b1b5fa10 | [
"MIT",
"BSD-3-Clause"
] | 30 | 2019-06-04T17:00:49.000Z | 2021-09-08T20:44:19.000Z | tests/utils/range_tests.cpp | Andrik-555/retdec | 1ac63a520da02912daf836b924f41d95b1b5fa10 | [
"MIT",
"BSD-3-Clause"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z | /**
* @file tests/utils/range_tests.cpp
* @brief Tests for the @c address module.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include <gtest/gtest.h>
#include "retdec/utils/address.h"
#include "retdec/utils/range.h"
using namespace ::testing;
namespace retdec {
namespace utils {
namespa... | 23.17134 | 68 | 0.696827 | Andrik-555 |
294111126b271b137f9cd786dfe0b35de2c0a813 | 3,114 | inl | C++ | code/szen/thirdparty/Thor/Vectors/Detail/VectorAlgebra3D.inl | Sonaza/scyori | a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf | [
"BSD-3-Clause"
] | null | null | null | code/szen/thirdparty/Thor/Vectors/Detail/VectorAlgebra3D.inl | Sonaza/scyori | a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf | [
"BSD-3-Clause"
] | null | null | null | code/szen/thirdparty/Thor/Vectors/Detail/VectorAlgebra3D.inl | Sonaza/scyori | a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf | [
"BSD-3-Clause"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////
//
// Thor C++ Library
// Copyright (c) 2011-2013 Jan Haller
//
// 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... | 29.657143 | 126 | 0.595697 | Sonaza |
2942cd438255a3a469fbe70ccd2aed0176df5574 | 4,972 | cxx | C++ | ITS/ITSrec/AliITSOnlineCalibrationSPD.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | ITS/ITSrec/AliITSOnlineCalibrationSPD.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | ITS/ITSrec/AliITSOnlineCalibrationSPD.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | #include "AliITSOnlineCalibrationSPD.h"
///////////////////////////////////////////////////////////////////////
// Author: Henrik Tydesjo //
// Implementation of the online container for dead and noisy pixels. //
// ... | 34.769231 | 96 | 0.717015 | AllaMaevskaya |
2943092ddf4c9a0c8e3ac5234ede7be51c46a978 | 471 | cpp | C++ | Wonderland/Wonderland/Editor/Modules/VulkanWrapper/Resource/Texture/Texture Backup/VWTexture.cpp | RodrigoHolztrattner/Wonderland | ffb71d47c1725e7cd537e2d1380962b5dfdc3d75 | [
"MIT"
] | 3 | 2018-04-09T13:01:07.000Z | 2021-03-18T12:28:48.000Z | Wonderland/Wonderland/Editor/Modules/VulkanWrapper/Resource/Texture/Texture Backup/VWTexture.cpp | RodrigoHolztrattner/Wonderland | ffb71d47c1725e7cd537e2d1380962b5dfdc3d75 | [
"MIT"
] | null | null | null | Wonderland/Wonderland/Editor/Modules/VulkanWrapper/Resource/Texture/Texture Backup/VWTexture.cpp | RodrigoHolztrattner/Wonderland | ffb71d47c1725e7cd537e2d1380962b5dfdc3d75 | [
"MIT"
] | 1 | 2021-03-18T12:28:50.000Z | 2021-03-18T12:28:50.000Z | ////////////////////////////////////////////////////////////////////////////////
// Filename: FluxMyWrapper.cpp
////////////////////////////////////////////////////////////////////////////////
#include "VWTexture.h"
#include "..\..\VWContext.h"
VulkanWrapper::VWTexture::VWTexture()
{
// Set the initial data
m_Initia... | 23.55 | 92 | 0.488323 | RodrigoHolztrattner |
29436e33c88ffa00a16d60e00876c1edaf79dc64 | 3,596 | cpp | C++ | framework/tarscpp/unittest/testcode/source/testcase/TupProxyTest.cpp | hfcrwx/Tars-v2.4.20 | b0782b3fad556582470cddaa4416874126bd105c | [
"BSD-3-Clause"
] | null | null | null | framework/tarscpp/unittest/testcode/source/testcase/TupProxyTest.cpp | hfcrwx/Tars-v2.4.20 | b0782b3fad556582470cddaa4416874126bd105c | [
"BSD-3-Clause"
] | null | null | null | framework/tarscpp/unittest/testcode/source/testcase/TupProxyTest.cpp | hfcrwx/Tars-v2.4.20 | b0782b3fad556582470cddaa4416874126bd105c | [
"BSD-3-Clause"
] | null | null | null | /**
* Tencent is pleased to support the open source community by making Tars
* available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this
* file except in compliance with the License. You may obtain a... | 23.973333 | 80 | 0.617909 | hfcrwx |
2944eb83934205217d5a04a901230b20a5607de3 | 3,187 | cpp | C++ | Base/albaReferenceCounted.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2018-11-19T10:15:29.000Z | 2021-08-30T11:52:07.000Z | Base/albaReferenceCounted.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Base/albaReferenceCounted.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-06-10T22:56:29.000Z | 2019-12-12T06:22:56.000Z | /*=========================================================================
Program: ALBA (Agile Library for Biomedical Applications)
Module: albaReferenceCounted
Authors: based on vtkObjectBase (www.vtk.org), adapted Marco Petrone
Copyright (c) BIC
All rights reserved. See Copyright.txt or
This software is ... | 30.644231 | 80 | 0.469721 | IOR-BIC |
294d71c6d53114ea295d1abab593f95f10950e32 | 3,521 | hpp | C++ | include/pion/http/reader.hpp | mkm85/pion | 83d18542659cb0c782a495594d53644a79ffd6c6 | [
"BSL-1.0"
] | 200 | 2015-01-14T05:51:04.000Z | 2022-02-06T03:09:26.000Z | include/pion/http/reader.hpp | mkm85/pion | 83d18542659cb0c782a495594d53644a79ffd6c6 | [
"BSL-1.0"
] | 72 | 2015-01-05T03:49:28.000Z | 2021-01-11T16:27:49.000Z | include/pion/http/reader.hpp | mkm85/pion | 83d18542659cb0c782a495594d53644a79ffd6c6 | [
"BSL-1.0"
] | 69 | 2015-01-18T07:51:12.000Z | 2022-03-27T09:20:20.000Z | // ---------------------------------------------------------------------
// pion: a Boost C++ framework for building lightweight HTTP interfaces
// ---------------------------------------------------------------------
// Copyright (C) 2007-2014 Splunk Inc. (https://github.com/splunk/pion)
//
// Distributed under the ... | 30.885965 | 82 | 0.644987 | mkm85 |
294d7f04fb7ba704e0397c6f3a67a7698b767a62 | 547 | cpp | C++ | src/Logger.cpp | ChepChaf/TwoDE | f1dddc6522dd60b47c905c1441eb033de79f8a8d | [
"MIT"
] | null | null | null | src/Logger.cpp | ChepChaf/TwoDE | f1dddc6522dd60b47c905c1441eb033de79f8a8d | [
"MIT"
] | null | null | null | src/Logger.cpp | ChepChaf/TwoDE | f1dddc6522dd60b47c905c1441eb033de79f8a8d | [
"MIT"
] | null | null | null | #include "Logger.h"
#include <spdlog/sinks/stdout_color_sinks.h>
namespace TwoDE
{
std::shared_ptr<spdlog::logger> Logger::s_CoreLogger;
std::shared_ptr<spdlog::logger> Logger::s_ClientLogger;
void TwoDE::Logger::init()
{
spdlog::set_pattern("%^[%T] %n: %v%$");
s_CoreLog... | 24.863636 | 60 | 0.628885 | ChepChaf |
294e9aed763a50e237d6a26efda90f7727f77139 | 664 | tcc | C++ | include/meta/caching/no_evict_cache.tcc | Lolik111/meta | c7019401185cdfa15e1193aad821894c35a83e3f | [
"MIT"
] | 615 | 2015-01-31T17:14:03.000Z | 2022-03-27T03:03:02.000Z | include/meta/caching/no_evict_cache.tcc | Lolik111/meta | c7019401185cdfa15e1193aad821894c35a83e3f | [
"MIT"
] | 167 | 2015-01-20T17:48:16.000Z | 2021-12-20T00:15:29.000Z | include/meta/caching/no_evict_cache.tcc | Lolik111/meta | c7019401185cdfa15e1193aad821894c35a83e3f | [
"MIT"
] | 264 | 2015-01-30T00:08:01.000Z | 2022-03-02T17:19:11.000Z | #include "meta/caching/no_evict_cache.h"
namespace meta
{
namespace caching
{
template <class Key, class Value>
void no_evict_cache<Key, Value>::insert(const Key& key, const Value& value)
{
std::lock_guard<std::mutex> lock{*mutables_};
if (key >= values_.size())
values_.resize(key + 1);
values_[ke... | 20.75 | 76 | 0.674699 | Lolik111 |
29503ce4fe8822b019d34379e56e9df18172d71f | 2,198 | cpp | C++ | Engine/Source/Render/Camera.cpp | TzuChieh/XenoGameEngine | 69d7524ee05491c8e6f8c45fdb6a12bfcecb4731 | [
"MIT"
] | 4 | 2016-09-04T12:58:44.000Z | 2020-11-11T15:48:41.000Z | Engine/Source/Render/Camera.cpp | TzuChieh/VirtualGameEngine | 69d7524ee05491c8e6f8c45fdb6a12bfcecb4731 | [
"MIT"
] | 1 | 2016-07-16T15:46:32.000Z | 2016-08-05T11:01:16.000Z | Engine/Source/Render/Camera.cpp | TzuChieh/VirtualGameEngine | 69d7524ee05491c8e6f8c45fdb6a12bfcecb4731 | [
"MIT"
] | null | null | null | #include "Camera.h"
#include "Render/Component/CCamera.h"
#include "Physics/Component/CTransform.h"
#include "Resource/World/Entity/Entity.h"
#include "Resource/World/Entity/EntityFunctionality.h"
#include <iostream>
using namespace ve;
Camera::Camera()
{
m_viewMatrix.initIdentity();
m_projectionMatrix.initIdentit... | 26.481928 | 101 | 0.695177 | TzuChieh |
295055ab676989ace70141059f12bfd7b55f38cd | 4,807 | cpp | C++ | gtk/src/gtk_sound_driver_portaudio.cpp | a7omic/snes9x-pb | 1b97b6e853e696e472058a5fd505648b3a49c6f5 | [
"Unlicense"
] | 2 | 2015-10-03T18:38:58.000Z | 2022-03-02T17:05:42.000Z | gtk/src/gtk_sound_driver_portaudio.cpp | a7omic/snes9x-pb | 1b97b6e853e696e472058a5fd505648b3a49c6f5 | [
"Unlicense"
] | 2 | 2015-05-13T10:06:29.000Z | 2016-04-18T12:09:59.000Z | gtk/src/gtk_sound_driver_portaudio.cpp | a7omic/snes9x-pb | 1b97b6e853e696e472058a5fd505648b3a49c6f5 | [
"Unlicense"
] | null | null | null | #include "gtk_s9x.h"
#include "gtk_sound_driver_portaudio.h"
static int
port_audio_callback (const void *input,
void *output,
unsigned long frameCount,
const PaStreamCallbackTimeInfo* timeInfo,
PaStreamCallbackFlags statusFlags,
... | 21.459821 | 152 | 0.55336 | a7omic |
29514d8fe31a5ec383bb033ffdb713160552e51a | 3,069 | cpp | C++ | src/easy/fdpass.cpp | stnuessl/fdcpp | 9400466f2c5e71ff9885d4ee114b326d721f9c47 | [
"MIT"
] | 8 | 2016-07-22T10:10:27.000Z | 2021-02-13T04:41:32.000Z | src/easy/fdpass.cpp | un1tz3r0/fdcpp | 9400466f2c5e71ff9885d4ee114b326d721f9c47 | [
"MIT"
] | null | null | null | src/easy/fdpass.cpp | un1tz3r0/fdcpp | 9400466f2c5e71ff9885d4ee114b326d721f9c47 | [
"MIT"
] | 4 | 2019-04-04T22:35:32.000Z | 2021-05-27T02:16:43.000Z | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Steffen Nuessle
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to u... | 24.95122 | 81 | 0.648746 | stnuessl |
29531f603fbabffaccc3d4b43c388ea6c75857f8 | 2,982 | cpp | C++ | src/main.cpp | MilesChing/hybrid_astar_path_planner | 2e6994302fc244ccf9f67ea337bf84981b9cf63b | [
"BSD-3-Clause"
] | 6 | 2020-03-24T12:23:46.000Z | 2021-08-20T00:38:51.000Z | src/main.cpp | MilesChing/hybrid_astar_path_planner | 2e6994302fc244ccf9f67ea337bf84981b9cf63b | [
"BSD-3-Clause"
] | null | null | null | src/main.cpp | MilesChing/hybrid_astar_path_planner | 2e6994302fc244ccf9f67ea337bf84981b9cf63b | [
"BSD-3-Clause"
] | 2 | 2020-03-26T01:41:45.000Z | 2020-12-14T07:30:09.000Z | #include "algorithm.h"
#include <iostream>
#include "opencv2/opencv.hpp"
#include <ctime>
#include <stdint.h>
#include <chrono>
#include <ctime>
using namespace std;
using namespace HybridAStar;
using namespace cv;
void setColor(cv::Mat& mat, int row, int col, u_char r, u_char g, u_char b){
mat.at<cv::Vec3b>(row, ... | 37.275 | 142 | 0.639504 | MilesChing |
29548c70790cee5143525b2f2d497f21315e8e56 | 5,053 | hpp | C++ | krabs/krabs/testing/synth_record.hpp | jdu2600/krabsetw | 4ae6e5b01c1ae2d7621e942f7c76449a1b36a3b1 | [
"MIT"
] | 1,847 | 2020-03-24T19:01:42.000Z | 2022-03-31T13:18:57.000Z | krabs/krabs/testing/synth_record.hpp | jdu2600/krabsetw | 4ae6e5b01c1ae2d7621e942f7c76449a1b36a3b1 | [
"MIT"
] | 1,100 | 2020-03-24T19:41:13.000Z | 2022-03-31T14:27:09.000Z | krabs/krabs/testing/synth_record.hpp | jdu2600/krabsetw | 4ae6e5b01c1ae2d7621e942f7c76449a1b36a3b1 | [
"MIT"
] | 228 | 2020-03-25T05:32:08.000Z | 2022-03-31T11:27:39.000Z | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma once
#define INITGUID
#include <vector>
#include <algorithm>
#include "../compiler_check.hpp"
#include "../guid.hpp"
#include "../schema.hpp"
#include "../pa... | 29.549708 | 101 | 0.572531 | jdu2600 |
29631afdf28e15ce960007cccba14149086ce86c | 39,152 | cpp | C++ | lib/Analysis/Utils.cpp | Prakhar998/mlir | b4593d2d84747346b1dbafafe54cad42c5ffa91b | [
"Apache-2.0"
] | null | null | null | lib/Analysis/Utils.cpp | Prakhar998/mlir | b4593d2d84747346b1dbafafe54cad42c5ffa91b | [
"Apache-2.0"
] | null | null | null | lib/Analysis/Utils.cpp | Prakhar998/mlir | b4593d2d84747346b1dbafafe54cad42c5ffa91b | [
"Apache-2.0"
] | null | null | null | //===- Utils.cpp ---- Misc utilities for analysis -------------------------===//
//
// Copyright 2019 The MLIR 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.... | 39.348744 | 80 | 0.668829 | Prakhar998 |
29643906900d6256d83e60c7a477c067fd2dd21a | 17,500 | cc | C++ | src/core/waflz/wafl_filter.cc | vikasphonsa/waflz | 966ca5ddcce0841c48d6b3101526e231aec68f4d | [
"Apache-2.0"
] | 1 | 2020-05-09T10:04:10.000Z | 2020-05-09T10:04:10.000Z | src/core/waflz/wafl_filter.cc | vikasphonsa/waflz | 966ca5ddcce0841c48d6b3101526e231aec68f4d | [
"Apache-2.0"
] | null | null | null | src/core/waflz/wafl_filter.cc | vikasphonsa/waflz | 966ca5ddcce0841c48d6b3101526e231aec68f4d | [
"Apache-2.0"
] | 1 | 2020-05-09T10:04:11.000Z | 2020-05-09T10:04:11.000Z | //: ----------------------------------------------------------------------------
//: Copyright (C) 2015 Verizon. All Rights Reserved.
//: All Rights Reserved
//:
//: \file: wafl_filter.cc
//: \details: TODO
//: \author: Reed P. Morrison
//: \date: 09/30/2015
//:
//: Licensed under the Apache License, Version ... | 36.382536 | 128 | 0.372571 | vikasphonsa |
29644e0ee483d46d3af737e7aa42de4b3e911a19 | 1,192 | cpp | C++ | src/Hashes/Hashes.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 99 | 2015-01-06T01:53:26.000Z | 2022-01-31T18:18:27.000Z | src/Hashes/Hashes.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 27 | 2015-03-09T05:46:53.000Z | 2020-05-06T02:52:18.000Z | src/Hashes/Hashes.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 42 | 2015-03-18T03:44:43.000Z | 2022-03-31T21:34:06.000Z | #include "Hashes/Hashes.h"
namespace OpenPGP {
namespace Hash {
bool valid(const uint8_t alg) {
return (NAME.find(alg) != NAME.end());
}
std::string use(const uint8_t alg, const std::string & data) {
return get_instance(alg, data) -> digest();
}
Instance get_instance(const uint8_t alg, const std::string & d... | 24.833333 | 83 | 0.53104 | httese |
29645895d1e834f014079507db28d1d5cbd0b7bb | 543 | cpp | C++ | codility/max_double_slice_sum.cpp | bananaappletw/online-judge | aa5606ecce1b29bf071ec682ea152b1ee4417958 | [
"MIT"
] | null | null | null | codility/max_double_slice_sum.cpp | bananaappletw/online-judge | aa5606ecce1b29bf071ec682ea152b1ee4417958 | [
"MIT"
] | null | null | null | codility/max_double_slice_sum.cpp | bananaappletw/online-judge | aa5606ecce1b29bf071ec682ea152b1ee4417958 | [
"MIT"
] | null | null | null | // you can use includes, for example:
// #include <algorithm>
// you can write to stdout for debugging purposes, e.g.
// cout << "this is a debug message" << endl;
int solution(vector<int> &A) {
int N=A.size();
int max_val=0;
static int X[100000];
static int Z[100000];
for(int i=1; i<N-1; i++)
... | 20.884615 | 55 | 0.511971 | bananaappletw |
29703dff4d3a43c006758b4d9d024fa6cc0d265b | 6,643 | cpp | C++ | FEBioMix/FEMassActionReversible.cpp | wzaylor/FEBio | 5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6 | [
"MIT"
] | null | null | null | FEBioMix/FEMassActionReversible.cpp | wzaylor/FEBio | 5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6 | [
"MIT"
] | null | null | null | FEBioMix/FEMassActionReversible.cpp | wzaylor/FEBio | 5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6 | [
"MIT"
] | null | null | null | /*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2020 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining ... | 30.195455 | 103 | 0.658437 | wzaylor |
29726d521d38e8a2de9c5b0a87ac877049832340 | 1,183 | cpp | C++ | typed_python/all.cpp | braxtonmckee/nativepython | 5c64e91eb959fcd1c2c42655b40c7cceb3436f1d | [
"Apache-2.0"
] | 7 | 2018-08-07T15:41:54.000Z | 2019-02-19T12:47:57.000Z | typed_python/all.cpp | braxtonmckee/nativepython | 5c64e91eb959fcd1c2c42655b40c7cceb3436f1d | [
"Apache-2.0"
] | 38 | 2018-10-17T13:37:46.000Z | 2019-04-11T20:50:14.000Z | typed_python/all.cpp | braxtonmckee/nativepython | 5c64e91eb959fcd1c2c42655b40c7cceb3436f1d | [
"Apache-2.0"
] | 4 | 2019-02-11T17:44:55.000Z | 2019-03-20T07:38:18.000Z | /*****
a .cpp file that includes all the other .cpp files associated
with the project implementation.
So much code overlaps between the various translation units
that there's no point splitting them up - its faster to just
compile the entire group all at once.
******/
#include "_types.cpp"
#include "_runtime.cpp"
#in... | 26.886364 | 61 | 0.788673 | braxtonmckee |
2975059c10d274fe4d2ca7d9ad9b3a44f771f796 | 3,073 | cpp | C++ | Source/FPS/Private/TriangleActor.cpp | asia-lab-sustech/Visibility-IM | 9f730f1ec2e33b0f85b32bdb82712a29dcee3263 | [
"MIT"
] | null | null | null | Source/FPS/Private/TriangleActor.cpp | asia-lab-sustech/Visibility-IM | 9f730f1ec2e33b0f85b32bdb82712a29dcee3263 | [
"MIT"
] | null | null | null | Source/FPS/Private/TriangleActor.cpp | asia-lab-sustech/Visibility-IM | 9f730f1ec2e33b0f85b32bdb82712a29dcee3263 | [
"MIT"
] | 2 | 2019-05-28T04:48:31.000Z | 2019-05-28T04:56:21.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "TriangleActor.h"
#include "ConstructorHelpers.h"
#include "Components/LineBatchComponent.h"
#include "UnrealNetwork.h"
#pragma optimize( "", off )
// Sets default values
ATriangleActor::ATriangleActor()
{
// Set this actor to ... | 28.192661 | 161 | 0.731858 | asia-lab-sustech |
297589a472bca9b9e8099c9d6ef2b9593a8e6c00 | 601 | cc | C++ | klm/lm/config.cc | jhclark/cdec | 237ddc67ffa61da310e19710f902d4771dc323c2 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 1 | 2019-06-03T00:44:01.000Z | 2019-06-03T00:44:01.000Z | klm/lm/config.cc | jhclark/cdec | 237ddc67ffa61da310e19710f902d4771dc323c2 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | null | null | null | klm/lm/config.cc | jhclark/cdec | 237ddc67ffa61da310e19710f902d4771dc323c2 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | null | null | null | #include "lm/config.hh"
#include <iostream>
namespace lm {
namespace ngram {
Config::Config() :
messages(&std::cerr),
enumerate_vocab(NULL),
unknown_missing(COMPLAIN),
sentence_marker_missing(THROW_UP),
positive_log_probability(THROW_UP),
unknown_missing_logprob(-100.0),
probing_multiplier(1.5),
buil... | 21.464286 | 41 | 0.740433 | jhclark |
29795dc2fc13d0376545d47d213be80786c897bb | 597 | hpp | C++ | include/yorel/yomm2/cute.hpp | derpda/yomm2 | 07a1b6b20604c6867e12d2886af8730cfa8c0d2e | [
"BSL-1.0"
] | null | null | null | include/yorel/yomm2/cute.hpp | derpda/yomm2 | 07a1b6b20604c6867e12d2886af8730cfa8c0d2e | [
"BSL-1.0"
] | null | null | null | include/yorel/yomm2/cute.hpp | derpda/yomm2 | 07a1b6b20604c6867e12d2886af8730cfa8c0d2e | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2018-2020 Jean-Louis Leroy
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef YOREL_YOMM2_CUTE_INCLUDED
#define YOREL_YOMM2_CUTE_INCLUDED
#include <yorel/yomm2.hpp>
#define register_class ... | 27.136364 | 61 | 0.835846 | derpda |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.