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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73b3fc86c9007ebd69ba13e8d690860779f06a90 | 1,759 | hpp | C++ | src/library/hw_identifier/hw_identifier.hpp | extremoburo/open-license-manager | 555457c5d722885c03e63405dc186ca6ba62a0f1 | [
"BSD-3-Clause"
] | 316 | 2015-01-21T22:33:44.000Z | 2020-11-20T19:26:22.000Z | src/library/hw_identifier/hw_identifier.hpp | extremoburo/open-license-manager | 555457c5d722885c03e63405dc186ca6ba62a0f1 | [
"BSD-3-Clause"
] | 84 | 2015-06-09T21:17:09.000Z | 2020-11-19T08:45:33.000Z | src/library/hw_identifier/hw_identifier.hpp | ChrigiGee/open-license-manager | 555457c5d722885c03e63405dc186ca6ba62a0f1 | [
"BSD-3-Clause"
] | 141 | 2015-07-25T13:14:20.000Z | 2020-11-08T06:43:40.000Z | /*
* hw_identifier.h
*
* Created on: Dec 22, 2019
* Author: GC
*/
#ifndef SRC_LIBRARY_PC_IDENTIFIER_PC_IDENTIFIER_HPP_
#define SRC_LIBRARY_PC_IDENTIFIER_PC_IDENTIFIER_HPP_
#include <array>
#include <iostream>
#include <string>
#include <licensecc_properties.h>
#include "../../../include/licensecc/datatype... | 27.920635 | 88 | 0.754974 | extremoburo |
73b44558852cdcfe7f9cbed0f53502218eb17b2d | 24,103 | cc | C++ | source/SymWorld.test.cc | acameron13/SymbulationEmp | 76cba73b9728b72823f5d00081b1421e89ac7492 | [
"BSL-1.0"
] | 8 | 2020-06-16T22:51:20.000Z | 2021-11-15T20:18:54.000Z | source/SymWorld.test.cc | acameron13/SymbulationEmp | 76cba73b9728b72823f5d00081b1421e89ac7492 | [
"BSL-1.0"
] | 78 | 2020-05-26T20:51:34.000Z | 2022-03-31T19:42:55.000Z | source/SymWorld.test.cc | acameron13/SymbulationEmp | 76cba73b9728b72823f5d00081b1421e89ac7492 | [
"BSL-1.0"
] | 17 | 2017-09-14T17:09:14.000Z | 2022-02-01T19:27:37.000Z | #include "SymWorld.h"
#include "Symbiont.h"
#include "Phage.h"
#include "Host.h"
#include "Pgghost.h"
#include "Pggsym.h"
TEST_CASE("PullResources") {
GIVEN(" a world ") {
emp::Random random(19);
SymWorld world(random);
int full_share = 100;
WHEN(" the resources are unlimited ") {
world.SetLim... | 28.289906 | 116 | 0.559266 | acameron13 |
73b76337bb032ad17bd463c86c1c08c345f96f90 | 2,756 | hpp | C++ | Source/Common/Observer/observerDLL.hpp | weenchvd/Wasteland3 | e1d9b96f73b9d1901dfee61ec2d468e00560cb00 | [
"BSL-1.0"
] | null | null | null | Source/Common/Observer/observerDLL.hpp | weenchvd/Wasteland3 | e1d9b96f73b9d1901dfee61ec2d468e00560cb00 | [
"BSL-1.0"
] | null | null | null | Source/Common/Observer/observerDLL.hpp | weenchvd/Wasteland3 | e1d9b96f73b9d1901dfee61ec2d468e00560cb00 | [
"BSL-1.0"
] | null | null | null |
// Copyright (c) 2022 Vitaly Dikov
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
#ifndef OBSERVERDLL_HPP
#define OBSERVERDLL_HPP
#include"delegate.hpp"
#include<assert.h>
namespace game {
namespace common {
temp... | 23.965217 | 99 | 0.574383 | weenchvd |
73b77a85ec316b774bf17c54f44ac7803b520c2c | 238,199 | cpp | C++ | GodsEyeCollab/GodsEyeMain/App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_5Table.cpp | sarsiz/GodsEye | 68fc0abf6af534af87008ffa4c256f2fb0a28c58 | [
"MIT"
] | null | null | null | GodsEyeCollab/GodsEyeMain/App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_5Table.cpp | sarsiz/GodsEye | 68fc0abf6af534af87008ffa4c256f2fb0a28c58 | [
"MIT"
] | null | null | null | GodsEyeCollab/GodsEyeMain/App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_5Table.cpp | sarsiz/GodsEye | 68fc0abf6af534af87008ffa4c256f2fb0a28c58 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | 41.657747 | 255 | 0.842569 | sarsiz |
73b854d9fcc9ff309a1062627a57e94d07e6e477 | 5,145 | cpp | C++ | aws-cpp-sdk-dynamodb/source/model/ScanRequest.cpp | woohoou/aws-sdk-cpp | a42835a8aad2eac1e334d899a3fbfedcaa341d51 | [
"Apache-2.0"
] | 1 | 2020-07-16T19:03:13.000Z | 2020-07-16T19:03:13.000Z | aws-cpp-sdk-dynamodb/source/model/ScanRequest.cpp | woohoou/aws-sdk-cpp | a42835a8aad2eac1e334d899a3fbfedcaa341d51 | [
"Apache-2.0"
] | 18 | 2018-05-15T16:41:07.000Z | 2018-05-21T00:46:30.000Z | aws-cpp-sdk-dynamodb/source/model/ScanRequest.cpp | woohoou/aws-sdk-cpp | a42835a8aad2eac1e334d899a3fbfedcaa341d51 | [
"Apache-2.0"
] | 1 | 2021-10-01T15:29:44.000Z | 2021-10-01T15:29:44.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 27.367021 | 138 | 0.772012 | woohoou |
73bbce59197ff444af94fc8a693fd07b5df00fbc | 31 | cpp | C++ | src/shared/dummy.cpp | gtaisbetterthanfn/modloader | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | [
"MIT"
] | 186 | 2015-01-18T05:46:11.000Z | 2022-03-22T10:03:44.000Z | src/shared/dummy.cpp | AlisonMDL/modloader | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | [
"MIT"
] | 82 | 2015-01-14T01:02:04.000Z | 2022-03-20T23:55:59.000Z | src/shared/dummy.cpp | AlisonMDL/modloader | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | [
"MIT"
] | 34 | 2015-01-07T11:17:00.000Z | 2022-02-28T00:16:20.000Z | // see premake5.lua for details | 31 | 31 | 0.774194 | gtaisbetterthanfn |
73bf26d6175ebe32182ea88878751fdd729ad1d5 | 41,516 | cxx | C++ | markerset.cxx | chingchenn/DynEarthSol | 9ef99c68f2b70309b447da85fdcc4683f6c07f7d | [
"MIT"
] | null | null | null | markerset.cxx | chingchenn/DynEarthSol | 9ef99c68f2b70309b447da85fdcc4683f6c07f7d | [
"MIT"
] | null | null | null | markerset.cxx | chingchenn/DynEarthSol | 9ef99c68f2b70309b447da85fdcc4683f6c07f7d | [
"MIT"
] | null | null | null | #include <cstring>
#include <iostream> // for std::cerr
#include <time.h> // for time()
#include <assert.h>
#include <unordered_map>
#include <set>
#ifdef USE_NPROF
#include <nvToolsExt.h>
#endif
#include "ANN/ANN.h"
#include "constants.hpp"
#include "parameters.hpp"
#include "barycentric-fn.hpp"
#include "binaryio.h... | 32.485133 | 159 | 0.523846 | chingchenn |
73c0e0dd301a8c3dee9f26d3f16b6f8b16baf84a | 8,211 | cpp | C++ | src/history.cpp | mariusvniekerk/mamba | 77c0e3cf6284aa18be0d2bfbe5ef7c2de7b642d8 | [
"BSD-3-Clause"
] | null | null | null | src/history.cpp | mariusvniekerk/mamba | 77c0e3cf6284aa18be0d2bfbe5ef7c2de7b642d8 | [
"BSD-3-Clause"
] | null | null | null | src/history.cpp | mariusvniekerk/mamba | 77c0e3cf6284aa18be0d2bfbe5ef7c2de7b642d8 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <fstream>
#include "history.hpp"
#include "fsutil.hpp"
namespace mamba
{
History::History(const std::str... | 31.949416 | 117 | 0.459749 | mariusvniekerk |
73c861e3a6f9a0b817a366bcc9f938ed1aab7c81 | 2,524 | hpp | C++ | cpp/src/dotcpp/dot/system/reflection/member_info.hpp | dotcpp/dotcpp-mongo | e329e5a0523577b0d1f36c82d5caaac2e92e1023 | [
"Apache-2.0"
] | 1 | 2019-08-08T03:54:00.000Z | 2019-08-08T03:54:00.000Z | cpp/src/dotcpp/dot/system/reflection/member_info.hpp | compatibl/dotcpp-mongo | e329e5a0523577b0d1f36c82d5caaac2e92e1023 | [
"Apache-2.0"
] | null | null | null | cpp/src/dotcpp/dot/system/reflection/member_info.hpp | compatibl/dotcpp-mongo | e329e5a0523577b0d1f36c82d5caaac2e92e1023 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2015-present The DotCpp Authors.
This file is part of .C++, a native C++ implementation of
popular .NET class library APIs developed to facilitate
code reuse between C# and C++.
http://github.com/dotcpp/dotcpp (source)
http://dotcpp.org (documentation)
Licensed under the Apache License, Ver... | 31.55 | 100 | 0.690174 | dotcpp |
73c9a87f4a5cad4a609235af13e14704020b37ff | 2,793 | cpp | C++ | test/type-safety/Xform.cpp | mikosz/type-safety | c5d30e620246c357dd97a71adca0443cb01b7064 | [
"MIT"
] | 2 | 2019-08-19T10:17:50.000Z | 2019-08-26T12:57:04.000Z | test/type-safety/Xform.cpp | mikosz/type-safety | c5d30e620246c357dd97a71adca0443cb01b7064 | [
"MIT"
] | null | null | null | test/type-safety/Xform.cpp | mikosz/type-safety | c5d30e620246c357dd97a71adca0443cb01b7064 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <type_traits>
#include "type-safety/Xform.hpp"
using namespace type_safety;
namespace /* anonymous */
{
TEST(XformTest, XformEmptySpaceAccess) {
auto xform = Xform<space::World, space::Player>{};
auto from = xform.fromSpace();
auto to = xform.toSpace()... | 33.650602 | 89 | 0.765485 | mikosz |
73cc26201b5c55a803947866bb031c59e4988164 | 29,744 | cpp | C++ | modules/viz/src/cloud_widgets.cpp | Nerei/opencv | 92d5f8744c872ccf63b17334f018343973353e47 | [
"BSD-3-Clause"
] | 1 | 2015-04-22T14:10:46.000Z | 2015-04-22T14:10:46.000Z | modules/viz/src/cloud_widgets.cpp | ameydhar/opencv | 1c3bfae2121f689535ab1a17284f40f5d64e0927 | [
"BSD-3-Clause"
] | null | null | null | modules/viz/src/cloud_widgets.cpp | ameydhar/opencv | 1c3bfae2121f689535ab1a17284f40f5d64e0927 | [
"BSD-3-Clause"
] | 2 | 2018-05-03T21:08:19.000Z | 2020-09-26T06:27:08.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 38.428941 | 170 | 0.625639 | Nerei |
73cc491f241adb4c520e6b62fa6469d5c1346080 | 22,401 | cpp | C++ | IGC/AdaptorOCL/UnifyIROCL.cpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | IGC/AdaptorOCL/UnifyIROCL.cpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | IGC/AdaptorOCL/UnifyIROCL.cpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (c) 2000-2021 Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, inc... | 39.094241 | 144 | 0.732423 | bader |
73d6db04b1d74214f2eb5e128ffd3cc58e4cf7e3 | 117 | cpp | C++ | src/core/raiden.cpp | zq317157782/raiden | 09376a9499f8b86e86c3049b4e654957cb4dc29e | [
"BSD-2-Clause"
] | 21 | 2016-12-14T09:46:27.000Z | 2021-12-28T10:05:04.000Z | src/core/raiden.cpp | zq317157782/raiden | 09376a9499f8b86e86c3049b4e654957cb4dc29e | [
"BSD-2-Clause"
] | 2 | 2016-12-02T07:47:14.000Z | 2018-01-30T18:11:09.000Z | src/core/raiden.cpp | zq317157782/raiden | 09376a9499f8b86e86c3049b4e654957cb4dc29e | [
"BSD-2-Clause"
] | null | null | null | /*
* raiden.cpp
*
* Created on: 2016年11月15日
* Author: zhuqian
*/
#include "raiden.h"
#include "stats.h"
| 10.636364 | 27 | 0.589744 | zq317157782 |
73d81f6c5b8d82bce3491b6c43b9965a59c3e9a5 | 3,698 | cpp | C++ | test/function/scalar/erfc.cpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | test/function/scalar/erfc.cpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | test/function/scalar/erfc.cpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | //==================================================================================================
/*!
Copyright 2015 NumScale SAS
Copyright 2015 J.T. Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//=====... | 42.505747 | 100 | 0.636831 | yaeldarmon |
73d8fea35e43c210120d7c96ba5792ef26c59ba0 | 8,637 | cpp | C++ | BlockBreaker/Ball.cpp | Sherin192/BlockBreakr | 2e38d17e2d0501c31afc6b335798f522d39f4eef | [
"MIT"
] | null | null | null | BlockBreaker/Ball.cpp | Sherin192/BlockBreakr | 2e38d17e2d0501c31afc6b335798f522d39f4eef | [
"MIT"
] | null | null | null | BlockBreaker/Ball.cpp | Sherin192/BlockBreakr | 2e38d17e2d0501c31afc6b335798f522d39f4eef | [
"MIT"
] | null | null | null | #include "Ball.h"
Ball::Ball(): minVelocity(300.0f), maxVelocity(320.0f), velocity(300.0f), moveX(0.0f), moveY(0.0f), collision(false)
{
buffer.loadFromFile("Sounds/sound.wav");
sound.setBuffer(buffer);
losebuffer.loadFromFile("Sounds/losepoint.wav");
loseLive.setBuffer(losebuffer);
load("images/ballBlue.... | 26.412844 | 117 | 0.537339 | Sherin192 |
73d93fd5c22670d514b8c60576b0d1a09ff29152 | 1,791 | cpp | C++ | Gameboy/GameLink.cpp | boucha05/ManyEmu | 04828efdb3020e72e2a43f921b3e15c9e5f9b508 | [
"MIT"
] | 2 | 2015-12-08T04:35:00.000Z | 2016-05-17T03:36:46.000Z | Gameboy/GameLink.cpp | boucha05/ManyEmu | 04828efdb3020e72e2a43f921b3e15c9e5f9b508 | [
"MIT"
] | null | null | null | Gameboy/GameLink.cpp | boucha05/ManyEmu | 04828efdb3020e72e2a43f921b3e15c9e5f9b508 | [
"MIT"
] | null | null | null | #include <Core/Log.h>
#include <Core/Serializer.h>
#include "GameLink.h"
#include "CpuZ80.h"
namespace gb
{
GameLink::GameLink()
: mRegSB(0x00)
, mRegSC(0x00)
{
}
GameLink::~GameLink()
{
}
bool GameLink::create(emu::RegisterBank& registers)
{
EMU_VERIFY(mRegist... | 23.25974 | 99 | 0.584031 | boucha05 |
73da2c01f1430a7003f408c0f14f6abdbb6b8a4a | 4,474 | cpp | C++ | aws-cpp-sdk-appsync/source/model/Resolver.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-appsync/source/model/Resolver.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-appsync/source/model/Resolver.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"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/appsync/model/Resolver.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace Ap... | 21.004695 | 85 | 0.734466 | perfectrecall |
73dc7c34d3e6f6b76119b928d11b58419a674da7 | 2,099 | cpp | C++ | src/firmware/phoenix_pixy.cpp | EmanueleGiacomini/icaro-soccer-1819 | 05306ed7b8dc63ad5028b9c5cb96dacd076cfed6 | [
"Apache-2.0"
] | 1 | 2018-10-01T07:51:16.000Z | 2018-10-01T07:51:16.000Z | src/firmware/phoenix_pixy.cpp | EmanueleGiacomini/icaro-soccer-1819 | 05306ed7b8dc63ad5028b9c5cb96dacd076cfed6 | [
"Apache-2.0"
] | null | null | null | src/firmware/phoenix_pixy.cpp | EmanueleGiacomini/icaro-soccer-1819 | 05306ed7b8dc63ad5028b9c5cb96dacd076cfed6 | [
"Apache-2.0"
] | null | null | null | /**
* phoenix_pixy.cpp
**/
#include "phoenix_pixy.h"
// Oggetto Pixy privato (nascosto all'esterno della libreria)
static Pixy pixy;
/**
* Inizializza p (PhoenixCamera*) azzerando i valori
* ball_detection, ball_x, ball_y, ball_w e ball_h
* In oltre è necessario inizializzare
* l'oggetto pixy (Pixy) tramite i... | 23.852273 | 67 | 0.699857 | EmanueleGiacomini |
73e0040997a9a1cf4481211d4e4b36e0b4b3b711 | 163 | hpp | C++ | source/Graphics/IModel.hpp | NoxZet/OpenCooked | e12479bddd7d575ecd80733f9b642014fd6f3900 | [
"Apache-2.0"
] | null | null | null | source/Graphics/IModel.hpp | NoxZet/OpenCooked | e12479bddd7d575ecd80733f9b642014fd6f3900 | [
"Apache-2.0"
] | null | null | null | source/Graphics/IModel.hpp | NoxZet/OpenCooked | e12479bddd7d575ecd80733f9b642014fd6f3900 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <stdlib.h>
#include <string.h>
#include <gccore.h>
namespace Graphics {
class IModel {
public:
virtual void draw(Mtx view) = 0;
};
} | 13.583333 | 35 | 0.668712 | NoxZet |
73e10c31bd6b6bc1c50236248526de60dfa4d206 | 6,391 | cpp | C++ | Foundation/extensions/DataspaceLib/tests/SpeedDataspace.test.cpp | avilleret/JamomaCore | b09cfb684527980f30845f664e1f922005c24e60 | [
"BSD-3-Clause"
] | null | null | null | Foundation/extensions/DataspaceLib/tests/SpeedDataspace.test.cpp | avilleret/JamomaCore | b09cfb684527980f30845f664e1f922005c24e60 | [
"BSD-3-Clause"
] | null | null | null | Foundation/extensions/DataspaceLib/tests/SpeedDataspace.test.cpp | avilleret/JamomaCore | b09cfb684527980f30845f664e1f922005c24e60 | [
"BSD-3-Clause"
] | null | null | null | /** @file
*
* @ingroup foundationDataspaceLib
*
* @brief Unit tests for the #SpeedDataspace.
*
* @authors Trond Lossius, Tim Place, Nils Peters, ...
*
* @copyright Copyright © 2011 Trond Lossius @n
* This code is licensed under the terms of the "New BSD License" @n
* http://creativecommons.org/licenses/BSD/
... | 31.024272 | 92 | 0.5913 | avilleret |
73e406ef74b589588772690e4df0f8f65ed330cb | 722 | hpp | C++ | code/framework/types/Bool.hpp | TU-Berlin-CVRS/uipf | 57f4afcfdece904e82624453a938aafdfde8df41 | [
"BSD-2-Clause"
] | 8 | 2015-07-07T16:38:38.000Z | 2020-11-26T13:52:18.000Z | code/framework/types/Bool.hpp | TU-Berlin-CVRS/uipf | 57f4afcfdece904e82624453a938aafdfde8df41 | [
"BSD-2-Clause"
] | 129 | 2015-07-14T19:06:30.000Z | 2019-05-29T20:40:00.000Z | code/framework/types/Bool.hpp | TU-Berlin-CVRS/uipf | 57f4afcfdece904e82624453a938aafdfde8df41 | [
"BSD-2-Clause"
] | 6 | 2015-08-20T19:00:07.000Z | 2020-11-26T13:52:19.000Z | #ifndef BOOL_H
#define BOOL_H
#include "Data.hpp"
namespace uipf{
// Bool which is a specification of Data
class Bool : public Data {
public:
typedef SMARTPOINTER<Bool> ptr;
typedef const SMARTPOINTER<Bool> c_ptr;
public:
// default constructor
Bool() : b_(false) {};
// constructor
Bool(bool b) : b_(... | 17.190476 | 66 | 0.66482 | TU-Berlin-CVRS |
73e6521f3be585b0aee98951c055a2a21147c770 | 27,266 | cpp | C++ | thirdparty/vst3sdk/public.sdk/source/vst/vstpresetfile.cpp | jfrey-xx/ADLplug | 108944ab774d3bbcf5cfdc78e1df4e82a88ea522 | [
"BSL-1.0"
] | 316 | 2018-04-19T14:44:25.000Z | 2022-03-28T23:58:05.000Z | thirdparty/vst3sdk/public.sdk/source/vst/vstpresetfile.cpp | jfrey-xx/ADLplug | 108944ab774d3bbcf5cfdc78e1df4e82a88ea522 | [
"BSL-1.0"
] | 81 | 2018-04-21T11:04:46.000Z | 2022-02-22T19:51:08.000Z | thirdparty/vst3sdk/public.sdk/source/vst/vstpresetfile.cpp | jfrey-xx/ADLplug | 108944ab774d3bbcf5cfdc78e1df4e82a88ea522 | [
"BSL-1.0"
] | 23 | 2018-09-01T18:04:33.000Z | 2021-11-18T11:36:35.000Z | //------------------------------------------------------------------------
// Project : VST SDK
//
// Category : Helpers
// Filename : public.sdk/source/vst/vstpresetfile.cpp
// Created by : Steinberg, 03/2006
// Description : VST 3 Preset File Format
//
//----------------------------------------------------... | 29.130342 | 99 | 0.542947 | jfrey-xx |
73e73c00233e945585e309fc8daacee7c1796f04 | 64,255 | cpp | C++ | src/rschol/ordering/NestedDissection.cpp | jeffc71/rank_structured_cholesky | 1b5df69bd6b9187435897786e7461cdd341e8db0 | [
"Unlicense"
] | 3 | 2017-09-07T16:14:33.000Z | 2021-09-18T04:47:06.000Z | src/rschol/ordering/NestedDissection.cpp | jeffchadwick/rank_structured_cholesky | 1b5df69bd6b9187435897786e7461cdd341e8db0 | [
"Unlicense"
] | null | null | null | src/rschol/ordering/NestedDissection.cpp | jeffchadwick/rank_structured_cholesky | 1b5df69bd6b9187435897786e7461cdd341e8db0 | [
"Unlicense"
] | null | null | null | //////////////////////////////////////////////////////////////////////
// Copyright (c) 2015, Jeff Chadwick and David Bindel
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redis... | 33.379221 | 81 | 0.529935 | jeffc71 |
73e9753e4156a7d647b4d3b1f0754ed2a659e368 | 1,043 | hpp | C++ | include/archie/meta/is_distinct.hpp | attugit/archie | af89fe2d89af3b9d764837853ae9fb42d18cdeac | [
"MIT"
] | 3 | 2015-02-18T22:58:23.000Z | 2016-06-07T17:43:09.000Z | include/archie/meta/is_distinct.hpp | attugit/archie | af89fe2d89af3b9d764837853ae9fb42d18cdeac | [
"MIT"
] | null | null | null | include/archie/meta/is_distinct.hpp | attugit/archie | af89fe2d89af3b9d764837853ae9fb42d18cdeac | [
"MIT"
] | null | null | null | #pragma once
#include <type_traits>
#include <archie/meta/eval.hpp>
#include <archie/meta/logic.hpp>
#include <archie/boolean.hpp>
#include <archie/quote.hpp>
#include <archie/ignore.hpp>
#include <archie/type_list.hpp>
#include <archie/meta/well_formed.hpp>
namespace archie::meta
{
namespace detail
{
templat... | 26.075 | 96 | 0.615532 | attugit |
73eaeca019037ce6262ace31ef814ade4b245dea | 956 | cpp | C++ | D01 Demos/Inheritance/Solution/Cat.cpp | FeniulaPyra/DSA2 | bedaa6c11c7e248a936bf5c0f07a7cb763178ed7 | [
"MIT"
] | null | null | null | D01 Demos/Inheritance/Solution/Cat.cpp | FeniulaPyra/DSA2 | bedaa6c11c7e248a936bf5c0f07a7cb763178ed7 | [
"MIT"
] | null | null | null | D01 Demos/Inheritance/Solution/Cat.cpp | FeniulaPyra/DSA2 | bedaa6c11c7e248a936bf5c0f07a7cb763178ed7 | [
"MIT"
] | null | null | null | #include "Cat.h"
Cat::Cat(const char* a_sName) : m_sName(nullptr)
{
if(a_sName == nullptr)
return;
int nCount = 0;
char sTemp = a_sName[nCount];
while (sTemp != '\0')
{
sTemp = a_sName[nCount];
nCount++;
}
m_sName = new char[nCount];
for(int i = 0; i < nCount; i++)
{
m_sName[i] = a_sName[i];
}
}... | 15.174603 | 73 | 0.594142 | FeniulaPyra |
73ef66b5b3ee0d94f28ee71588cd01caeab7898c | 29,559 | cpp | C++ | common/thorhelper/roxierow.cpp | oxhead/HPCC-Platform | 62e092695542a9bbea1bb3672f0d1ff572666cfc | [
"Apache-2.0"
] | null | null | null | common/thorhelper/roxierow.cpp | oxhead/HPCC-Platform | 62e092695542a9bbea1bb3672f0d1ff572666cfc | [
"Apache-2.0"
] | null | null | null | common/thorhelper/roxierow.cpp | oxhead/HPCC-Platform | 62e092695542a9bbea1bb3672f0d1ff572666cfc | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 38.140645 | 220 | 0.644406 | oxhead |
73ef85cd0ad94b1c684219d133053924f22869f3 | 29,508 | cpp | C++ | modules/optflow/src/sparse_matching_gpc.cpp | pccvlab/opencv_contrib | f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93 | [
"Apache-2.0"
] | 7,158 | 2016-07-04T22:19:27.000Z | 2022-03-31T07:54:32.000Z | modules/optflow/src/sparse_matching_gpc.cpp | pccvlab/opencv_contrib | f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93 | [
"Apache-2.0"
] | 2,184 | 2016-07-05T12:04:14.000Z | 2022-03-30T19:10:12.000Z | modules/optflow/src/sparse_matching_gpc.cpp | pccvlab/opencv_contrib | f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93 | [
"Apache-2.0"
] | 5,535 | 2016-07-06T12:01:10.000Z | 2022-03-31T03:13:24.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, i... | 37.39924 | 154 | 0.614749 | pccvlab |
73f68736426b5cb6f6f7ff5ec965bc73422866ec | 4,202 | cpp | C++ | ManagedScripts/Mda_killmessages.cpp | mpforums/RenSharp | 5b3fb8bff2a1772a82a4148bcf3e1265a11aa097 | [
"Apache-2.0"
] | 1 | 2021-10-04T02:34:33.000Z | 2021-10-04T02:34:33.000Z | ManagedScripts/Mda_killmessages.cpp | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | 9 | 2019-07-03T19:19:59.000Z | 2020-03-02T22:00:21.000Z | ManagedScripts/Mda_killmessages.cpp | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | 2 | 2019-08-14T08:37:36.000Z | 2020-09-29T06:44:26.000Z | /*
Copyright 2020 Neijwiert
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
distr... | 27.285714 | 152 | 0.795098 | mpforums |
73fce85643660ae8308a0e9c57477e9a0a1181ef | 1,276 | cpp | C++ | source/CompilerGlsl/compileGlsl.cpp | DragonJoker/ShaderWriter | ef0f517d140597613521dc39cb5364a07b31cc8c | [
"MIT"
] | 148 | 2018-10-11T16:51:37.000Z | 2022-03-26T13:55:08.000Z | source/CompilerGlsl/compileGlsl.cpp | DragonJoker/ShaderWriter | ef0f517d140597613521dc39cb5364a07b31cc8c | [
"MIT"
] | 30 | 2019-11-30T11:43:07.000Z | 2022-01-25T21:09:47.000Z | source/CompilerGlsl/compileGlsl.cpp | DragonJoker/ShaderWriter | ef0f517d140597613521dc39cb5364a07b31cc8c | [
"MIT"
] | 8 | 2020-04-17T13:18:30.000Z | 2021-11-20T06:24:44.000Z | /*
See LICENSE file in root folder
*/
#include "CompilerGlsl/compileGlsl.hpp"
#include "GlslStmtAdapter.hpp"
#include "GlslStmtConfigFiller.hpp"
#include "GlslStmtVisitor.hpp"
#include <ShaderAST/Shader.hpp>
#include <ShaderAST/Visitors/StmtSpecialiser.hpp>
#include <ShaderAST/Visitors/StmtSimplifier.hpp>
#include <S... | 33.578947 | 108 | 0.746082 | DragonJoker |
73ff287e7ea22738d74ba2ed5912c933c2c87189 | 442 | hpp | C++ | src/armnn/backends/ClWorkloads/ClAdditionUint8Workload.hpp | KevinRodrigues05/armnn_caffe2_parser | c577f2c6a3b4ddb6ba87a882723c53a248afbeba | [
"MIT"
] | null | null | null | src/armnn/backends/ClWorkloads/ClAdditionUint8Workload.hpp | KevinRodrigues05/armnn_caffe2_parser | c577f2c6a3b4ddb6ba87a882723c53a248afbeba | [
"MIT"
] | null | null | null | src/armnn/backends/ClWorkloads/ClAdditionUint8Workload.hpp | KevinRodrigues05/armnn_caffe2_parser | c577f2c6a3b4ddb6ba87a882723c53a248afbeba | [
"MIT"
] | null | null | null | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
#include "ClAdditionBaseWorkload.hpp"
namespace armnn
{
class ClAdditionUint8Workload : public ClAdditionBaseWorkload<DataType::QuantisedAsymm8>
{
public:
using ClAdditionBa... | 21.047619 | 88 | 0.773756 | KevinRodrigues05 |
bab639771180722134bc2f43a4da79678c43aeb5 | 1,695 | cpp | C++ | src/game_objects/portal.cpp | TomSavas/ScrewGeometry | 396a6302220de2fcd7f9a947b5c5a508c28ded69 | [
"MIT"
] | null | null | null | src/game_objects/portal.cpp | TomSavas/ScrewGeometry | 396a6302220de2fcd7f9a947b5c5a508c28ded69 | [
"MIT"
] | null | null | null | src/game_objects/portal.cpp | TomSavas/ScrewGeometry | 396a6302220de2fcd7f9a947b5c5a508c28ded69 | [
"MIT"
] | null | null | null | #include "glm/glm.hpp"
#include "components/model.h"
#include "game_objects/camera.h"
#include "components/portal_camera_controller.h"
#include "game_objects/portal.h"
#include "renderer/texture.h"
//debug
#include "OBJ_Loader.h"
Portal::Portal(const char *name, GameObject *player, Framebuffer *framebuffer)
: Dr... | 25.681818 | 127 | 0.708555 | TomSavas |
bab67f24aac65aea11870c2042bcee7aa251a774 | 1,682 | hpp | C++ | src/geo/Vector3D.hpp | dholzmueller/sfcpp | b929419b13c35fff199c6c65e87ecffae9963cfc | [
"Apache-2.0"
] | 15 | 2017-10-20T07:53:03.000Z | 2021-09-23T15:54:54.000Z | src/geo/Vector3D.hpp | dholzmueller/sfcpp | b929419b13c35fff199c6c65e87ecffae9963cfc | [
"Apache-2.0"
] | null | null | null | src/geo/Vector3D.hpp | dholzmueller/sfcpp | b929419b13c35fff199c6c65e87ecffae9963cfc | [
"Apache-2.0"
] | 3 | 2017-10-20T20:02:29.000Z | 2020-12-02T12:47:53.000Z | /* Copyright 2017 The sfcpp Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | 31.735849 | 97 | 0.738407 | dholzmueller |
bab80e469085f6179d8e01156b489423f451b76a | 1,138 | cpp | C++ | benchmarks/DNN/blocks/Add-ReLU/cpu_32_64_16/add_relu_generator_tiramisu.cpp | reality95/tiramisu | 8d6f1053b0086f7e50ee56bf36c86d7cbf334e92 | [
"MIT"
] | 23 | 2017-05-03T13:06:34.000Z | 2018-06-07T07:12:43.000Z | benchmarks/DNN/blocks/Add-ReLU/cpu_32_64_16/add_relu_generator_tiramisu.cpp | reality95/tiramisu | 8d6f1053b0086f7e50ee56bf36c86d7cbf334e92 | [
"MIT"
] | 2 | 2017-04-25T08:59:09.000Z | 2017-05-11T16:41:55.000Z | benchmarks/DNN/blocks/Add-ReLU/cpu_32_64_16/add_relu_generator_tiramisu.cpp | reality95/tiramisu | 8d6f1053b0086f7e50ee56bf36c86d7cbf334e92 | [
"MIT"
] | 5 | 2017-02-16T14:26:40.000Z | 2018-05-30T16:49:27.000Z | #include <tiramisu/tiramisu.h>
#include <vector>
#include "configure.h"
using namespace tiramisu;
int main()
{
init("add_relu_inplace_32_64_16_block");
// -------------------------------------------------------
// Layer I
// -------------------------------------------------------
var i("i", 0, N*... | 25.863636 | 62 | 0.323374 | reality95 |
babaf9d5702dc42226975dc387e7aca7cc0868b1 | 11,290 | cpp | C++ | src/truthtable/TreeTruthTable.cpp | ryanberryhill/iimc | 2746410d283c53c494cc2389638bfd8c0a0b3404 | [
"BSD-3-Clause"
] | null | null | null | src/truthtable/TreeTruthTable.cpp | ryanberryhill/iimc | 2746410d283c53c494cc2389638bfd8c0a0b3404 | [
"BSD-3-Clause"
] | null | null | null | src/truthtable/TreeTruthTable.cpp | ryanberryhill/iimc | 2746410d283c53c494cc2389638bfd8c0a0b3404 | [
"BSD-3-Clause"
] | 2 | 2019-02-06T04:20:23.000Z | 2019-02-10T18:25:46.000Z | /********************************************************************
Copyright (c) 2010-2015, Regents of the University of Colorado
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of s... | 33.011696 | 171 | 0.609123 | ryanberryhill |
babfbbd86e70fc4cc55b049e2c7a09055a78367b | 4,422 | cpp | C++ | notebooks/test_eigen.cpp | itachi4869/sta-663-2021 | 6f7a50f4a95207a26b01afa4439d992d767a1387 | [
"MIT"
] | null | null | null | notebooks/test_eigen.cpp | itachi4869/sta-663-2021 | 6f7a50f4a95207a26b01afa4439d992d767a1387 | [
"MIT"
] | null | null | null | notebooks/test_eigen.cpp | itachi4869/sta-663-2021 | 6f7a50f4a95207a26b01afa4439d992d767a1387 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <random>
#include <Eigen/Dense>
#include <functional>
using std::cout;
using std::endl;
using std::ofstream;
using std::default_random_engine;
using std::normal_distribution;
using std::bind;
// start random number engine with fixed seed
default_random_... | 29.48 | 83 | 0.508593 | itachi4869 |
bac3b7037f31af79942a2dd99960254f2951cbc8 | 9,525 | hpp | C++ | Extensions/Editor/PreviewWidgets.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 52 | 2018-09-11T17:18:35.000Z | 2022-03-13T15:28:21.000Z | Extensions/Editor/PreviewWidgets.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 1,409 | 2018-09-19T18:03:43.000Z | 2021-06-09T08:33:33.000Z | Extensions/Editor/PreviewWidgets.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 26 | 2018-09-11T17:16:32.000Z | 2021-11-22T06:21:19.000Z | ///////////////////////////////////////////////////////////////////////////////
///
/// Authors: Chris Peters
/// Copyright 2015, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
namespace Zero
{
//----------------------------------------... | 27.688953 | 140 | 0.633806 | jodavis42 |
bac612d3a5530ce37ddb2e08421b05186a8c55c0 | 25,958 | hpp | C++ | libs/fnd/preprocessor/include/bksge/fnd/preprocessor/detail/auto_rec.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/preprocessor/include/bksge/fnd/preprocessor/detail/auto_rec.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/preprocessor/include/bksge/fnd/preprocessor/detail/auto_rec.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file auto_rec.hpp
*
* @brief
*
* @author myoukaku
*/
#ifndef BKSGE_FND_PREPROCESSOR_DETAIL_AUTO_REC_HPP
#define BKSGE_FND_PREPROCESSOR_DETAIL_AUTO_REC_HPP
#
# include <bksge/fnd/preprocessor/config/config.hpp>
#
# if BKSGE_PP_CONFIG_FLAGS() & BKSGE_PP_CONFIG_DMC()
# include <bksge/fnd/p... | 88.89726 | 112 | 0.603783 | myoukaku |
bac9c8a97a533050e4619ca7d12e54c0cf6f0a2c | 4,003 | cc | C++ | src/Query.cc | mnowotnik/fovris | 82f692743fa6c96fef05041e686d716b03c22f07 | [
"BSD-3-Clause"
] | 4 | 2017-01-04T17:22:55.000Z | 2018-12-08T02:10:18.000Z | src/Query.cc | Mike-Now/fovris | 82f692743fa6c96fef05041e686d716b03c22f07 | [
"BSD-3-Clause"
] | null | null | null | src/Query.cc | Mike-Now/fovris | 82f692743fa6c96fef05041e686d716b03c22f07 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T05:26:13.000Z | 2022-03-24T05:26:13.000Z | #include "Query.h"
#include "Module.h"
#include "Lexer.h"
#include "QlScanner.h"
#include "QlParse.h"
#include "UnsafeTerm.h"
namespace fovris {
namespace {
/* Parse string and create a Query.
*
* Example input: m.parent(X,Y).
*
*/
Query makeQueryFromRawString(const std::string &rawQuery) {
Lexer lexer(rawQu... | 29.218978 | 83 | 0.514864 | mnowotnik |
baca3264f0f7b09d9a1106925e88c67ccec1e1b0 | 28,479 | cpp | C++ | agent/xml_parser.cpp | MatthewPowley/cppagent | fccb7794723ba71025dfd1ea633332422f99a3dd | [
"Apache-2.0"
] | null | null | null | agent/xml_parser.cpp | MatthewPowley/cppagent | fccb7794723ba71025dfd1ea633332422f99a3dd | [
"Apache-2.0"
] | null | null | null | agent/xml_parser.cpp | MatthewPowley/cppagent | fccb7794723ba71025dfd1ea633332422f99a3dd | [
"Apache-2.0"
] | null | null | null | /*
* Copyright Copyright 2012, System Insights, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 29.390093 | 104 | 0.588539 | MatthewPowley |
bacd148d5149e08a7ccb207f1c0dbaa5235f202e | 807 | cpp | C++ | logdevice/common/AppendRequestBase.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | 1 | 2021-05-19T23:01:58.000Z | 2021-05-19T23:01:58.000Z | logdevice/common/AppendRequestBase.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | null | null | null | logdevice/common/AppendRequestBase.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "AppendRequestBase.h"
#include "logdevice/common/Worker.h"
namespace faceboo... | 27.827586 | 72 | 0.728625 | mickvav |
bad1320e8faf342d58ef0eb45bb27175bd2da44e | 1,881 | cpp | C++ | src/test/script_parse_tests.cpp | wilofice/dahomey | 5cbc2406a27e68bbe30f85a7162b86f4741effab | [
"MIT"
] | 1 | 2022-03-19T13:35:37.000Z | 2022-03-19T13:35:37.000Z | src/test/script_parse_tests.cpp | wilofice/danxome | 5cbc2406a27e68bbe30f85a7162b86f4741effab | [
"MIT"
] | null | null | null | src/test/script_parse_tests.cpp | wilofice/danxome | 5cbc2406a27e68bbe30f85a7162b86f4741effab | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The Danxome Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <core_io.h>
#include <script/script.h>
#include <util/strencodings.h>
#include <test/util/setup_common.h>
#include <boos... | 33.589286 | 190 | 0.574163 | wilofice |
bad2cc7359f840473c03a2e73086a1875ebaa47d | 1,490 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/world/SpeedSplineNode.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | include/RED4ext/Scripting/Natives/Generated/world/SpeedSplineNode.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | include/RED4ext/Scripting/Natives/Generated/world/SpeedSplineNode.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/DynArray.hpp>
#include <RED4ext/Scripting/Natives/Generated/world/SpeedSplineNodeOrientationChangeSection.hpp>
#include <RED4ext/Scripting/Natives/Generated/world/SpeedSplineNodeRo... | 41.388889 | 111 | 0.797987 | jackhumbert |
bad35606abae18346075d132b5c7b7aac8601caf | 5,047 | hpp | C++ | include/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Field.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Field.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Math/EC/Custom/Sec/SecP160R2Field.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Completed includes
// Begin forward declares
// Forward declaring namespace: Org::Bou... | 52.030928 | 140 | 0.668516 | darknight1050 |
bad49381ff3566333f5b8e5e946c296398c9b734 | 490 | hpp | C++ | src/font.hpp | MallikaPrabhakar/2100 | 0a5767171c16105cb6627380f41bd785a59dd2f9 | [
"MIT"
] | null | null | null | src/font.hpp | MallikaPrabhakar/2100 | 0a5767171c16105cb6627380f41bd785a59dd2f9 | [
"MIT"
] | null | null | null | src/font.hpp | MallikaPrabhakar/2100 | 0a5767171c16105cb6627380f41bd785a59dd2f9 | [
"MIT"
] | 1 | 2021-08-06T13:20:15.000Z | 2021-08-06T13:20:15.000Z | #ifndef FONT_H
#define FONT_H
#include <SDL.h>
#include <SDL_ttf.h>
#include "theme.hpp"
#define FONTSCOUNT 6
#define FONT_LIGHT "../assets/fonts/Roboto-Light.ttf"
#define FONT_MEDIUM "../assets/fonts/Roboto-Medium.ttf"
#define FONT_BOLD "../assets/fonts/Roboto-Bold.ttf"
struct Fonts
{
static TTF_Font *fonts[];
s... | 21.304348 | 134 | 0.732653 | MallikaPrabhakar |
bad57381d55bb27fcc796badc5daa533310c02be | 518 | cpp | C++ | core/unix/strerror.cpp | plonk/peercast-0.1218 | 30fc2401dc798336429a979fe7aaca8883e63ed9 | [
"PSF-2.0",
"Apache-2.0",
"OpenSSL",
"MIT"
] | 28 | 2017-04-30T13:56:13.000Z | 2022-03-20T06:54:37.000Z | core/unix/strerror.cpp | plonk/peercast-0.1218 | 30fc2401dc798336429a979fe7aaca8883e63ed9 | [
"PSF-2.0",
"Apache-2.0",
"OpenSSL",
"MIT"
] | 72 | 2017-04-25T03:42:58.000Z | 2021-12-04T06:35:28.000Z | core/unix/strerror.cpp | plonk/peercast-0.1218 | 30fc2401dc798336429a979fe7aaca8883e63ed9 | [
"PSF-2.0",
"Apache-2.0",
"OpenSSL",
"MIT"
] | 12 | 2017-04-16T06:25:24.000Z | 2021-07-07T13:28:27.000Z | #include <string.h>
#include "strerror.h"
namespace str {
std::string strerror(int errnum)
{
char buf[128];
#if !defined(__GLIBC__) || ((_POSIX_C_SOURCE >= 200112L) && ! _GNU_SOURCE)
// Using the XSI-compliant strerror_r.
if (strerror_r(errnum, buf, sizeof(buf)) != 0) {
return str::STR("Unknown er... | 21.583333 | 74 | 0.625483 | plonk |
bad583963c28fc7c71bafabeb946a94c48469511 | 1,845 | cpp | C++ | src/core/SkDeferredDisplayList.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | src/core/SkDeferredDisplayList.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | src/core/SkDeferredDisplayList.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkDeferredDisplayList.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "src/core/SkArenaAlloc.h"
#include <utility>
cla... | 27.954545 | 99 | 0.706775 | NearTox |
bad8c710768b95baabf40307903f0fee42d5af1f | 1,782 | cpp | C++ | code/117.connect.cpp | T1mzhou/LeetCode | 574540d30f5696e55799831dc3c8d8b7246b74f1 | [
"MIT"
] | 1 | 2020-10-04T13:39:34.000Z | 2020-10-04T13:39:34.000Z | code/117.connect.cpp | T1mzhou/LeetCode | 574540d30f5696e55799831dc3c8d8b7246b74f1 | [
"MIT"
] | null | null | null | code/117.connect.cpp | T1mzhou/LeetCode | 574540d30f5696e55799831dc3c8d8b7246b74f1 | [
"MIT"
] | null | null | null | class Solution {
public:
Node* connect(Node* root) {
return connect(root, NULL);
}
private:
Node* connect(Node* root, Node *sibling) {
if (root == nullptr) {
return root;
} else {
root->next = sibling;
}
connect(root->left, root->right);
... | 23.76 | 70 | 0.451178 | T1mzhou |
badef6964d8ec96e0e7722524181fb778385db55 | 231 | cpp | C++ | c++/preproc/define_args.cpp | mbr0wn/snippets | f8cc86d73cf3373348135be26c6478798a639a21 | [
"WTFPL"
] | null | null | null | c++/preproc/define_args.cpp | mbr0wn/snippets | f8cc86d73cf3373348135be26c6478798a639a21 | [
"WTFPL"
] | null | null | null | c++/preproc/define_args.cpp | mbr0wn/snippets | f8cc86d73cf3373348135be26c6478798a639a21 | [
"WTFPL"
] | null | null | null | #include <iostream>
// If you want to replace parts of strings use ##:
#define FOO(a) \
a##_1 + a##_2
int main()
{
int x_1 = 1, x_2 = 2;
// Replaces with x_1 + x_2 and prints 3
std::cout << FOO(x) << std::endl;
return 0;
}
| 15.4 | 50 | 0.593074 | mbr0wn |
bae09a81387aab1518f0e8a94ecd0399390b3cf5 | 2,537 | hpp | C++ | far/tracer.hpp | yogdg/FarManager | 9a08817a5ed6f64ae2c57886633ce60cabde2409 | [
"BSD-3-Clause"
] | null | null | null | far/tracer.hpp | yogdg/FarManager | 9a08817a5ed6f64ae2c57886633ce60cabde2409 | [
"BSD-3-Clause"
] | null | null | null | far/tracer.hpp | yogdg/FarManager | 9a08817a5ed6f64ae2c57886633ce60cabde2409 | [
"BSD-3-Clause"
] | null | null | null | #ifndef TRACER_HPP_AD7B9307_ECFD_46FC_B001_E48C9B89DE64
#define TRACER_HPP_AD7B9307_ECFD_46FC_B001_E48C9B89DE64
#pragma once
/*
tracer.hpp
*/
/*
Copyright © 2016 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following c... | 32.948052 | 159 | 0.763106 | yogdg |
bae18050fe1e308907b05511664009f2c42694b6 | 503 | cpp | C++ | snippets/cpp/VS_Snippets_CLR_Classic/classic EventLogTraceListener Example/CPP/source.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-03-12T19:26:36.000Z | 2022-01-10T21:45:33.000Z | snippets/cpp/VS_Snippets_CLR_Classic/classic EventLogTraceListener Example/CPP/source.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_CLR_Classic/classic EventLogTraceListener Example/CPP/source.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z | #using <System.dll>
using namespace System;
using namespace System::Diagnostics;
// <Snippet1>
int main()
{
#if defined(TRACE)
// Create a trace listener for the event log.
EventLogTraceListener^ myTraceListener =
gcnew EventLogTraceListener( "myEventLogSource" );
// Add the event log trace ... | 21.869565 | 57 | 0.677932 | BohdanMosiyuk |
bae403cb90128e143ae6518fa8a36ebccdbc0373 | 336 | cpp | C++ | ch08/ex8_02.cpp | yunongzhou/cppprimer | 331cdc69f9063fca3466fda994a06de12387d0b3 | [
"MIT"
] | 2 | 2018-08-22T15:04:17.000Z | 2018-08-26T16:05:59.000Z | ch08/ex8_02.cpp | yunongzhou/cppprimer | 331cdc69f9063fca3466fda994a06de12387d0b3 | [
"MIT"
] | null | null | null | ch08/ex8_02.cpp | yunongzhou/cppprimer | 331cdc69f9063fca3466fda994a06de12387d0b3 | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
using std::cout;
using std::cin;
using std::endl;
using std::istream;
using std::string;
istream &func(istream &is){
string str;
while(is >> str)
cout << str << endl;
is.clear();
return is;
}
int main(){
istream& is = func(cin);
cout << is.rdstate() << endl;
retu... | 14.608696 | 31 | 0.619048 | yunongzhou |
bae91d387e7fbb1219f9177f41efcbb8bb71f381 | 15,086 | cxx | C++ | VTK/Infovis/vtkGroupLeafVertices.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 1 | 2021-07-31T19:38:03.000Z | 2021-07-31T19:38:03.000Z | VTK/Infovis/vtkGroupLeafVertices.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | null | null | null | VTK/Infovis/vtkGroupLeafVertices.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 2 | 2019-01-22T19:51:40.000Z | 2021-07-31T19:38:05.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile$
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distrib... | 32.583153 | 106 | 0.599364 | matthb2 |
baec47ca9fd4179a41c1028a5df534c4a3c5da78 | 7,733 | cpp | C++ | multicastsdk/examples/msggen.cpp | marlinprotocol/OpenWeaver | 7a8c668cccc933d652fabe8a141e702b8a0fd066 | [
"MIT"
] | 60 | 2020-07-01T17:37:34.000Z | 2022-02-16T03:56:55.000Z | multicastsdk/examples/msggen.cpp | marlinpro/openweaver | 0aca30fbda3121a8e507f48a52b718b5664a5bbc | [
"MIT"
] | 5 | 2020-10-12T05:17:49.000Z | 2021-05-25T15:47:01.000Z | multicastsdk/examples/msggen.cpp | marlinpro/openweaver | 0aca30fbda3121a8e507f48a52b718b5664a5bbc | [
"MIT"
] | 18 | 2020-07-01T17:43:18.000Z | 2022-01-09T14:29:08.000Z | #include <marlin/multicast/DefaultMulticastClient.hpp>
#include <random>
#include <marlin/pubsub/attestation/SigAttester.hpp>
// #include <structopt/app.hpp>
#include <cryptopp/scrypt.h>
#include <cryptopp/modes.h>
#include <cryptopp/keccak.h>
#include <cryptopp/hex.h>
#include <cryptopp/aes.h>
#include <rapidjson/doc... | 30.565217 | 152 | 0.715505 | marlinprotocol |
baf2f7ca579382774ad1e84879ed3cf06829eab5 | 12,805 | cpp | C++ | src/meta_server/auto_incr_state_machine.cpp | raptium/BaikalDB | cbc306bf3a1c709a93f191fdd389fb14eac0952f | [
"Apache-2.0"
] | null | null | null | src/meta_server/auto_incr_state_machine.cpp | raptium/BaikalDB | cbc306bf3a1c709a93f191fdd389fb14eac0952f | [
"Apache-2.0"
] | null | null | null | src/meta_server/auto_incr_state_machine.cpp | raptium/BaikalDB | cbc306bf3a1c709a93f191fdd389fb14eac0952f | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018-present Baidu, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless require... | 43.85274 | 106 | 0.653573 | raptium |
baf577c858d6df4ef30f6ff073abe079c7778f4c | 6,559 | cpp | C++ | src/demo/pandora/gui/BillBoard.cpp | KCL-Planning/strategic-tactical-pandora | aa609af26a59e756b25212fa57fa72be937766e7 | [
"BSD-2-Clause"
] | 2 | 2019-01-27T05:17:06.000Z | 2020-10-06T15:25:31.000Z | src/demo/pandora/gui/BillBoard.cpp | KCL-Planning/strategic-tactical-pandora | aa609af26a59e756b25212fa57fa72be937766e7 | [
"BSD-2-Clause"
] | null | null | null | src/demo/pandora/gui/BillBoard.cpp | KCL-Planning/strategic-tactical-pandora | aa609af26a59e756b25212fa57fa72be937766e7 | [
"BSD-2-Clause"
] | null | null | null | #include "BillBoard.h"
#include <GLFW/glfw3.h>
#include "dpengine/entities/camera/Camera.h"
#include "dpengine/shaders/GUIShader.h"
#include "dpengine/texture/TargaTexture.h"
#include <dpengine/renderer/Window.h>
BillBoard::BillBoard(const DreadedPE::Theme& theme, DreadedPE::Font& font, DreadedPE::SceneNode& to_foll... | 41.251572 | 306 | 0.712456 | KCL-Planning |
baf88739784c62c69d824baf2eede69dba760a76 | 30,031 | cpp | C++ | istool/source/MyDoc.cpp | KrinkelsTeam/istool | 544cfb9c180cc746e90a9e5cc2e56b60f709ff82 | [
"BSD-3-Clause"
] | 3 | 2021-06-02T05:39:45.000Z | 2021-09-02T03:29:43.000Z | istool/source/MyDoc.cpp | YURSHAT/istool | 544cfb9c180cc746e90a9e5cc2e56b60f709ff82 | [
"BSD-3-Clause"
] | null | null | null | istool/source/MyDoc.cpp | YURSHAT/istool | 544cfb9c180cc746e90a9e5cc2e56b60f709ff82 | [
"BSD-3-Clause"
] | 1 | 2021-09-02T03:29:47.000Z | 2021-09-02T03:29:47.000Z | // MyDoc.cpp : implementation of the CMyDoc class
//
#include "stdafx.h"
#include "ISTool.h"
#include "MyDoc.h"
#include "SplitPath.h"
#include "StringToken.h"
#include "Registry.h"
#include "MainFrm.h"
#include "DlgCompile.h"
/////////////////////////////////////////////////////////////////////////////
// CMyDoc con... | 28.546578 | 198 | 0.700376 | KrinkelsTeam |
baf88a00403273ef4a39a7a7f1627584b507dc82 | 1,339 | hpp | C++ | modcc/io/ostream_wrappers.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 53 | 2018-10-18T12:08:21.000Z | 2022-03-26T22:03:51.000Z | modcc/io/ostream_wrappers.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 864 | 2018-10-01T08:06:00.000Z | 2022-03-31T08:06:48.000Z | modcc/io/ostream_wrappers.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 37 | 2019-03-03T16:18:49.000Z | 2022-03-24T10:39:51.000Z | #pragma once
// Convenience wrappers for ostream formatting.
#include <locale>
#include <ostream>
#include <string>
namespace io {
template <typename T>
struct quoted_item {
quoted_item(const T& item): item(item) {}
const T& item;
};
template <typename T>
std::ostream& operator<<(std::ostream& o, const quo... | 23.086207 | 74 | 0.651979 | kanzl |
bafb74a848e849aadf7b333146aae22da0334981 | 28,716 | cpp | C++ | lib/AST/UnqualifiedLookup.cpp | edias/swift | ce587f0a137bf18807a928e9f71d76f43c355007 | [
"Apache-2.0"
] | 1 | 2021-08-28T19:13:06.000Z | 2021-08-28T19:13:06.000Z | lib/AST/UnqualifiedLookup.cpp | edias/swift | ce587f0a137bf18807a928e9f71d76f43c355007 | [
"Apache-2.0"
] | null | null | null | lib/AST/UnqualifiedLookup.cpp | edias/swift | ce587f0a137bf18807a928e9f71d76f43c355007 | [
"Apache-2.0"
] | 1 | 2021-09-11T08:43:53.000Z | 2021-09-11T08:43:53.000Z | //===--- UnqualifiedLookup.cpp - Swift Name Lookup Routines ---------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 33.943262 | 82 | 0.695605 | edias |
bafe031862680a41d77cdd5b6e6fcdefcfc8a661 | 4,369 | hpp | C++ | framework/core/include/profiler/trace_serialize_helper.hpp | li624120638/EasySa | 5e5dc9f08570bafca1eb0c99ee81984ff1b546d9 | [
"Apache-2.0"
] | 2 | 2021-09-22T13:00:33.000Z | 2021-10-01T23:31:56.000Z | framework/core/include/profiler/trace_serialize_helper.hpp | li624120638/EasySa | 5e5dc9f08570bafca1eb0c99ee81984ff1b546d9 | [
"Apache-2.0"
] | null | null | null | framework/core/include/profiler/trace_serialize_helper.hpp | li624120638/EasySa | 5e5dc9f08570bafca1eb0c99ee81984ff1b546d9 | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
* 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
**********... | 31.431655 | 117 | 0.575189 | li624120638 |
240081a5e028fe6245ed1237a2285b2288b35410 | 724 | hpp | C++ | src/ball.hpp | amirh-z/SFML-Breakout | 785aa3dc1288a20624f2ab8b8fad98a243745378 | [
"MIT"
] | 1 | 2021-08-04T23:12:56.000Z | 2021-08-04T23:12:56.000Z | src/ball.hpp | amirh-z/SFML-Breakout | 785aa3dc1288a20624f2ab8b8fad98a243745378 | [
"MIT"
] | null | null | null | src/ball.hpp | amirh-z/SFML-Breakout | 785aa3dc1288a20624f2ab8b8fad98a243745378 | [
"MIT"
] | null | null | null | //amirh_z
#pragma once
#include<SFML/Graphics.hpp>
#include<iostream>
#include<math.h>
#include<time.h>
#include"paddle.hpp"
#include"brick.hpp"
using namespace sf;
using namespace std;
class Ball
{
public:
Ball();
~Ball();
bool is_moving_with_paddle;
RectangleShape ball;
... | 19.567568 | 51 | 0.64779 | amirh-z |
24022981cac79e63fe4384107c90804e5c154725 | 1,767 | cpp | C++ | dev/test/so_5_extra/async_op/time_limited/simple_no_user_default_timeout/main.cpp | Stiffstream/so5extra | 20f4c83ecde1509fbaf337dcf40f2f49dcf2690d | [
"BSD-3-Clause"
] | 12 | 2020-01-02T01:32:50.000Z | 2022-02-07T17:55:54.000Z | dev/test/so_5_extra/async_op/time_limited/simple_no_user_default_timeout/main.cpp | Stiffstream/so5extra | 20f4c83ecde1509fbaf337dcf40f2f49dcf2690d | [
"BSD-3-Clause"
] | 1 | 2019-09-04T12:33:35.000Z | 2020-01-15T15:22:20.000Z | dev/test/so_5_extra/async_op/time_limited/simple_no_user_default_timeout/main.cpp | Stiffstream/so5extra | 20f4c83ecde1509fbaf337dcf40f2f49dcf2690d | [
"BSD-3-Clause"
] | 3 | 2019-08-30T09:55:26.000Z | 2022-03-19T12:29:04.000Z | #include <so_5_extra/async_op/time_limited.hpp>
#include <so_5/all.hpp>
#include <test/3rd_party/various_helpers/time_limited_execution.hpp>
#include <test/3rd_party/various_helpers/ensure.hpp>
namespace asyncop = ::so_5::extra::async_op::time_limited;
class a_test_t final : public so_5::agent_t
{
struct timeout... | 23.25 | 68 | 0.610074 | Stiffstream |
2403789e8956535147b7da5b3f1f5fe229e74dc9 | 1,045 | cpp | C++ | TheGreatGameofGalia/TheGreatGameofGalia.cpp | HPCCS/Computation-Kernel-Dataset | 5a184c7846c1abff39426a7f53fb837de8ba36e3 | [
"MIT"
] | 1 | 2019-05-03T19:37:24.000Z | 2019-05-03T19:37:24.000Z | TheGreatGameofGalia/TheGreatGameofGalia.cpp | HPCCS/Computation-Kernel-Dataset | 5a184c7846c1abff39426a7f53fb837de8ba36e3 | [
"MIT"
] | null | null | null | TheGreatGameofGalia/TheGreatGameofGalia.cpp | HPCCS/Computation-Kernel-Dataset | 5a184c7846c1abff39426a7f53fb837de8ba36e3 | [
"MIT"
] | null | null | null | // the problem statement is in https://www.hackerrank.com/contests/morgan-stanley-codeathon-2017/challenges/the-great-game-of-galia/problem
#include <bits/stdc++.h>
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define MOD 1000000007
#define M(x) (x%MOD + MOD)%MOD
#define _pb push_back
#define ... | 16.076923 | 139 | 0.530144 | HPCCS |
2403dbd6d1863a2b3aac6b77b0d45e4d8f5fc9da | 116,146 | cpp | C++ | roo_material_icons/filled/36/notification.cpp | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | roo_material_icons/filled/36/notification.cpp | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | roo_material_icons/filled/36/notification.cpp | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | #include "notification.h"
using namespace roo_display;
// Image file ic_filled_36_notification_account_tree 36x36, 4-bit Alpha, RLE, 163 bytes.
static const uint8_t ic_filled_36_notification_account_tree_data[] PROGMEM = {
0x80, 0xA9, 0x70, 0x80, 0x67, 0x03, 0x71, 0x03, 0x80, 0x67, 0x6F, 0xB0, 0x77, 0x10, 0x7F, 0x... | 75.272845 | 110 | 0.694367 | dejwk |
240546b1e6098fe6d555ee114fd6c87699213975 | 892 | cc | C++ | src/Gcompute.cc | mhdeleglise/Gh | 21a0b9bd53ae9de17f8b99040cac95cd6e1897e4 | [
"MIT"
] | null | null | null | src/Gcompute.cc | mhdeleglise/Gh | 21a0b9bd53ae9de17f8b99040cac95cd6e1897e4 | [
"MIT"
] | null | null | null | src/Gcompute.cc | mhdeleglise/Gh | 21a0b9bd53ae9de17f8b99040cac95cd6e1897e4 | [
"MIT"
] | null | null | null | #include<gmpxx.h>
#include<cmath>
#include<vector>
#include<unistd.h>
#include"utilities.h"
#include"Gfunction.h"
#include"Nk.h"
int main(int argc, char* argv[]){
int Pplus, Log, Factors, Value;
const int maxdinit=500;
const int verbose=0;
Pplus=Log=Factors=Value=0;
int c;
while((c= getopt(argc, argv, "... | 16.218182 | 54 | 0.544843 | mhdeleglise |
2406a5d47258b3610e527e03068eac4ff1689b5a | 185 | cpp | C++ | Recursion/Recursion - 1 - Basics/07. SumOfDigits.cpp | sohamnandi77/Cpp-Data-Structures-And-Algorithm | f29a14760964103a5b58cfff925cd8f7ed5aa6c1 | [
"MIT"
] | 2 | 2021-05-21T17:10:02.000Z | 2021-05-29T05:13:06.000Z | Recursion/Recursion - 1 - Basics/07. SumOfDigits.cpp | sohamnandi77/Cpp-Data-Structures-And-Algorithm | f29a14760964103a5b58cfff925cd8f7ed5aa6c1 | [
"MIT"
] | null | null | null | Recursion/Recursion - 1 - Basics/07. SumOfDigits.cpp | sohamnandi77/Cpp-Data-Structures-And-Algorithm | f29a14760964103a5b58cfff925cd8f7ed5aa6c1 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int sumOfDigits(int n)
{
return n<10 ? n : n % 10 + sumOfDigits(n/10);
}
int main()
{
cout << sumOfDigits(152) << endl;
return 0;
}
| 15.416667 | 49 | 0.610811 | sohamnandi77 |
240807be2c3f103638e514a5870b4a6541bf04f0 | 4,272 | hpp | C++ | azureeyemodule/app/openpose/peak.hpp | c-tsai/azure-percept-advanced-development | 2651a6ec8a18d8fcbf6622d263046a4ad9e22e6e | [
"MIT"
] | 52 | 2021-03-02T14:28:37.000Z | 2022-02-07T20:27:52.000Z | azureeyemodule/app/openpose/peak.hpp | c-tsai/azure-percept-advanced-development | 2651a6ec8a18d8fcbf6622d263046a4ad9e22e6e | [
"MIT"
] | 29 | 2021-03-03T09:36:33.000Z | 2022-03-12T00:59:10.000Z | azureeyemodule/app/openpose/peak.hpp | c-tsai/azure-percept-advanced-development | 2651a6ec8a18d8fcbf6622d263046a4ad9e22e6e | [
"MIT"
] | 30 | 2021-03-02T14:09:14.000Z | 2022-03-11T05:58:54.000Z | /**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT license.
*
* Based on some code from Intel:
*
* Copyright (C) 2018-2019 Intel Corporation
* SPDX-License-Identifier: Apache-2.0
*
* A peak is a peak value in a heat map. A peak is a possible keypoint.
*/
#pragma once
// Standard library inc... | 38.142857 | 147 | 0.706695 | c-tsai |
24081d9ffafa693bf6766b4bf4b6c2e49353c1d9 | 3,754 | cpp | C++ | src/process.cpp | 1BADragon/lemons | 13a6af875fa306f20adc599d34e6e4ef001fc765 | [
"MIT"
] | null | null | null | src/process.cpp | 1BADragon/lemons | 13a6af875fa306f20adc599d34e6e4ef001fc765 | [
"MIT"
] | null | null | null | src/process.cpp | 1BADragon/lemons | 13a6af875fa306f20adc599d34e6e4ef001fc765 | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/prctl.h>
#include <signal.h>
#include "process.h"
Process::ProcessError::ProcessError(const std::string &s) :
_msg(s)
{
}
const char * Process::ProcessError::what() const noexcept
{
return _msg.c_str();
}
Process::Process(const ... | 19.552083 | 107 | 0.60016 | 1BADragon |
240ea9b2a5d3359cc124a18f9f765a8d707f52f0 | 5,702 | cpp | C++ | Test.cpp | YaliToledano/CPP-EX1-Snowman | 7293f519722142a2baee5993059ccdfc550cc88d | [
"MIT"
] | null | null | null | Test.cpp | YaliToledano/CPP-EX1-Snowman | 7293f519722142a2baee5993059ccdfc550cc88d | [
"MIT"
] | null | null | null | Test.cpp | YaliToledano/CPP-EX1-Snowman | 7293f519722142a2baee5993059ccdfc550cc88d | [
"MIT"
] | null | null | null | #include "doctest.h"
#include "snowman.hpp"
#include <string>
using namespace std;
TEST_CASE("lower-case snowman code") {
CHECK(ariel::snowman(11111111) == string("\n _===_ \n (.,.) \n<( : )>\n ( : ) "));
}
TEST_CASE("Good snowman code") {
CHECK(ariel::snowman(12341234) == string("\n _===_ \n (O.-)/\n<(> <) \... | 40.439716 | 114 | 0.576289 | YaliToledano |
241514abdeaf6f29cbb33d8164dc4593000b45e2 | 516 | cpp | C++ | source/engine/adl_math/adlVector.cpp | AtakanFire/adlGame | d617988b166c1cdd50dd7acb26507231a502a537 | [
"MIT"
] | 6 | 2018-08-28T19:52:03.000Z | 2020-12-02T13:59:00.000Z | source/engine/adl_math/adlVector.cpp | AtakanFire/adlGame | d617988b166c1cdd50dd7acb26507231a502a537 | [
"MIT"
] | 16 | 2019-03-01T09:37:33.000Z | 2019-05-13T13:10:54.000Z | source/engine/adl_math/adlVector.cpp | AtakanFire/adlGame | d617988b166c1cdd50dd7acb26507231a502a537 | [
"MIT"
] | 4 | 2018-10-29T18:04:18.000Z | 2021-02-05T13:13:00.000Z | #include "adlVector.h"
adlVec3 adlVec3::crossp(const adlVec3& vector)
{
adlVec3 result_vector;
result_vector.x = y * vector.z - z * vector.y;
result_vector.y = z * vector.x - x * vector.y;
result_vector.z = x * vector.y - y * vector.x;
return result_vector;
}
adlVec3 adlVec3::normalize()
{
float vector_length ... | 22.434783 | 47 | 0.724806 | AtakanFire |
24153a03671475a07eceb4b48efc766110ae4005 | 888 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR/Dir_SetLastAccess/CPP/dir_setlastaccess.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_CLR/Dir_SetLastAccess/CPP/dir_setlastaccess.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_CLR/Dir_SetLastAccess/CPP/dir_setlastaccess.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z |
// <Snippet1>
using namespace System;
using namespace System::IO;
int main()
{
try
{
String^ path = "c:\\MyDir";
if ( !Directory::Exists( path ) )
{
Directory::CreateDirectory( path );
}
Directory::SetLastAccessTime( path, DateTime(1985,5,4) );
... | 26.909091 | 83 | 0.577703 | hamarb123 |
2415a6522dc7a085d9d861ae3e9ea67b62148ba5 | 2,477 | hpp | C++ | src/Utils.hpp | ireina7/abyss | 643f69732b0464d223bc1aab28afb078e1e15a6e | [
"MIT"
] | null | null | null | src/Utils.hpp | ireina7/abyss | 643f69732b0464d223bc1aab28afb078e1e15a6e | [
"MIT"
] | null | null | null | src/Utils.hpp | ireina7/abyss | 643f69732b0464d223bc1aab28afb078e1e15a6e | [
"MIT"
] | null | null | null | #ifndef UTILS_HPP
#define UTILS_HPP
#include <string>
#include <iostream>
#include <cassert>
#include <stdexcept>
#include "Config.hpp"
namespace Show {
template<class T>
inline abyss::string show(const T &x) {
return std::to_string(x);
}
/*
template<class T>
abyss::string show(const ... | 22.724771 | 83 | 0.563989 | ireina7 |
241a52f62221d6d4375cade9fffc021339a6a79f | 3,703 | hpp | C++ | thirdparty/ChaiScript_Extras/include/chaiscript/extras/string_id.hpp | GPMueller/chaiscript-sandbox | 345f8fdd350f40207100a265932d25ee5d23554b | [
"MIT"
] | 29 | 2015-04-29T14:43:53.000Z | 2021-12-28T06:01:28.000Z | runtime/chaiscript/extras/string_id.hpp | ishani/markovich | 32c522ddbc53a3926a104abef7690294867f26d3 | [
"Zlib"
] | 13 | 2015-03-23T16:49:39.000Z | 2021-03-09T10:33:20.000Z | runtime/chaiscript/extras/string_id.hpp | ishani/markovich | 32c522ddbc53a3926a104abef7690294867f26d3 | [
"Zlib"
] | 13 | 2015-03-21T18:59:21.000Z | 2021-01-17T17:15:46.000Z | #ifndef CHAISCRIPT_EXTRAS_STRING_ID_HPP_
#define CHAISCRIPT_EXTRAS_STRING_ID_HPP_
#include <cmath>
#include <memory>
#include <chaiscript/chaiscript.hpp>
#include <string_id/string_id.hpp>
#include <string_id/database.hpp>
#include <string_id/basic_database.hpp>
namespace chaiscript {
namespace extras {
namesp... | 54.455882 | 237 | 0.678639 | GPMueller |
241e69df5d9fdeab523150b8fef61d2e08d37c90 | 4,756 | cpp | C++ | ConsoleApplicationRTree/ConsoleApplicationRTree/RTreeRenderer/Camera.cpp | sssr33/RTree | adb1c0b22b2a91c8ebdf2b6fa353d27514b33aa2 | [
"MIT"
] | 1 | 2020-02-24T22:21:04.000Z | 2020-02-24T22:21:04.000Z | ConsoleApplicationRTree/ConsoleApplicationRTree/RTreeRenderer/Camera.cpp | sssr33/RTree | adb1c0b22b2a91c8ebdf2b6fa353d27514b33aa2 | [
"MIT"
] | null | null | null | ConsoleApplicationRTree/ConsoleApplicationRTree/RTreeRenderer/Camera.cpp | sssr33/RTree | adb1c0b22b2a91c8ebdf2b6fa353d27514b33aa2 | [
"MIT"
] | 1 | 2019-10-11T12:48:44.000Z | 2019-10-11T12:48:44.000Z | #include "pch.h"
#include "Camera.h"
#include <cmath>
Camera::Camera()
: position(0.f, 0.f, 0.f), viewVec(0.f, 0.f, 1.f)
{}
const DirectX::XMFLOAT3 &Camera::GetPosition() const {
return this->position;
}
DirectX::XMVECTOR Camera::GetPositionVec() const {
auto pos = DirectX::XMLoadFloat3(&this->position)... | 27.976471 | 111 | 0.676198 | sssr33 |
2421cad5c18f634e0563fc80db72fa1015b45da9 | 4,231 | cpp | C++ | src/integrator/PathMISIntegrator.cpp | BlauHimmel/Hikari | 38746e5d03a8e106a346a6f792f3093034a576bb | [
"MIT"
] | 11 | 2018-11-22T03:07:10.000Z | 2022-03-31T15:51:29.000Z | src/integrator/PathMISIntegrator.cpp | BlauHimmel/Hikari | 38746e5d03a8e106a346a6f792f3093034a576bb | [
"MIT"
] | 2 | 2019-02-14T15:05:42.000Z | 2019-07-26T06:07:13.000Z | src/integrator/PathMISIntegrator.cpp | BlauHimmel/Hikari | 38746e5d03a8e106a346a6f792f3093034a576bb | [
"MIT"
] | 4 | 2018-12-18T12:40:07.000Z | 2022-03-31T15:51:31.000Z | #include <integrator\PathMISIntegrator.hpp>
#include <core\Scene.hpp>
#include <core\Mesh.hpp>
#include <core\Sampler.hpp>
#include <core\BSDF.hpp>
NAMESPACE_BEGIN
REGISTER_CLASS(PathMISIntegrator, XML_INTEGRATOR_PATH_MIS);
PathMISIntegrator::PathMISIntegrator(const PropertyList & PropList)
{
m_Depth = uint32_t(Pro... | 25.79878 | 177 | 0.691326 | BlauHimmel |
2421ceac4df15985560fd7109eb9505b9b1df27a | 139 | cpp | C++ | Restaurant/main.cpp | StiventoUser/Restaurant | c101c4497979cc50c8b615eddabd28344ab15976 | [
"MIT"
] | null | null | null | Restaurant/main.cpp | StiventoUser/Restaurant | c101c4497979cc50c8b615eddabd28344ab15976 | [
"MIT"
] | null | null | null | Restaurant/main.cpp | StiventoUser/Restaurant | c101c4497979cc50c8b615eddabd28344ab15976 | [
"MIT"
] | null | null | null | #include "Restaurant.h"
using Restaurant::RestaurantCore;
int main()
{
RestaurantCore restaurant;
restaurant.open();
return 0;
}
| 10.692308 | 33 | 0.71223 | StiventoUser |
24224856d860d1ec273657eefe2a448965244333 | 11,509 | cc | C++ | main/resource_fetcher.cc | BigMumf/display-keyboard | 17523752483d9d66e7d9bf0434957049be1e44d0 | [
"MIT"
] | 4 | 2020-12-20T18:55:42.000Z | 2022-02-18T23:55:57.000Z | main/resource_fetcher.cc | BigMumf/display-keyboard | 17523752483d9d66e7d9bf0434957049be1e44d0 | [
"MIT"
] | null | null | null | main/resource_fetcher.cc | BigMumf/display-keyboard | 17523752483d9d66e7d9bf0434957049be1e44d0 | [
"MIT"
] | 1 | 2021-02-12T19:04:00.000Z | 2021-02-12T19:04:00.000Z | #include "resource_fetcher.h"
#include <cstring>
#include <memory>
#ifdef LOG_LOCAL_LEVEL
// <ssd1306.h> defines this (incorrectly), so undefine.
#undef LOG_LOCAL_LEVEL
#endif
#define LOG_LOCAL_LEVEL ESP_LOG_VERBOSE
#include <esp_log.h>
#include <tjpgdec/src/tjpgd.h>
#include "http_client.h"
#include "main_screen.h"... | 31.531507 | 80 | 0.673386 | BigMumf |
2423d2685622a6d9f7ae973eaffca4b8707da241 | 4,194 | cpp | C++ | Polyhedron/demo/Polyhedron/Plugins/PMP/Triangulate_facets_plugin.cpp | brucerennie/cgal | 314b94aafa9b08a1d086accd2cadff1aae1b57a9 | [
"CC0-1.0"
] | 3,227 | 2015-03-05T00:19:18.000Z | 2022-03-31T08:20:35.000Z | Polyhedron/demo/Polyhedron/Plugins/PMP/Triangulate_facets_plugin.cpp | brucerennie/cgal | 314b94aafa9b08a1d086accd2cadff1aae1b57a9 | [
"CC0-1.0"
] | 5,574 | 2015-03-05T00:01:56.000Z | 2022-03-31T15:08:11.000Z | Polyhedron/demo/Polyhedron/Plugins/PMP/Triangulate_facets_plugin.cpp | brucerennie/cgal | 314b94aafa9b08a1d086accd2cadff1aae1b57a9 | [
"CC0-1.0"
] | 1,274 | 2015-03-05T00:01:12.000Z | 2022-03-31T14:47:56.000Z | #include <QApplication>
#include <QMainWindow>
#include <QAction>
#include "Messages_interface.h"
#include <CGAL/Three/Polyhedron_demo_plugin_helper.h>
#include <CGAL/Three/Three.h>
#include "Scene_surface_mesh_item.h"
#include "Scene_polyhedron_selection_item.h"
#include <CGAL/Polygon_mesh_processing/triangulate_face... | 32.015267 | 119 | 0.686218 | brucerennie |
2424fe57a9bb26d7fe4b25e5c2196da0744f3aca | 79,749 | cpp | C++ | src/SHADERed/UI/PipelineUI.cpp | billBbrown/SHADERed-PBR | 7e74cd8335b2f13d8e735ef2e92cefc725c25a5f | [
"MIT"
] | null | null | null | src/SHADERed/UI/PipelineUI.cpp | billBbrown/SHADERed-PBR | 7e74cd8335b2f13d8e735ef2e92cefc725c25a5f | [
"MIT"
] | null | null | null | src/SHADERed/UI/PipelineUI.cpp | billBbrown/SHADERed-PBR | 7e74cd8335b2f13d8e735ef2e92cefc725c25a5f | [
"MIT"
] | null | null | null | #include <SHADERed/Engine/GLUtils.h>
#include <SHADERed/Engine/GeometryFactory.h>
#include <SHADERed/GUIManager.h>
#include <SHADERed/Objects/Names.h>
#include <SHADERed/Objects/ShaderCompiler.h>
#include <SHADERed/Objects/SystemVariableManager.h>
#include <SHADERed/Objects/ThemeContainer.h>
#include <SHADERed/Options.... | 35.793986 | 264 | 0.665062 | billBbrown |
242733dd7251bc032b36dd584a54e1beaa92d78b | 305 | hh | C++ | build/ARM/params/VoltageDomain.hh | magnuram/edelsten5 | 63de812a22142f07fa48c253636e5c96156d4da9 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/X86/params/VoltageDomain.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 1 | 2020-08-20T05:53:30.000Z | 2020-08-20T05:53:30.000Z | build/X86/params/VoltageDomain.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __PARAMS__VoltageDomain__
#define __PARAMS__VoltageDomain__
class VoltageDomain;
#include <vector>
#include "params/SimObject.hh"
struct VoltageDomainParams
: public SimObjectParams
{
VoltageDomain * create();
std::vector< double > voltage;
};
#endif // __PARAMS__VoltageDomain__
| 16.944444 | 35 | 0.767213 | magnuram |
2428e3d96a71dfdb123ee864c33d37302e3f7ebc | 661 | hpp | C++ | cleDeviceManager.hpp | StRigaud/swig-sandbox | 27d3cb111201f333f2ba7d3be7b4cac2f9265244 | [
"Apache-2.0"
] | null | null | null | cleDeviceManager.hpp | StRigaud/swig-sandbox | 27d3cb111201f333f2ba7d3be7b4cac2f9265244 | [
"Apache-2.0"
] | null | null | null | cleDeviceManager.hpp | StRigaud/swig-sandbox | 27d3cb111201f333f2ba7d3be7b4cac2f9265244 | [
"Apache-2.0"
] | null | null | null | #ifndef __cleDeviceManager_h
#define __cleDeviceManager_h
#include "clic.hpp"
#include <vector>
namespace clic
{
class DeviceManager
{
private:
std::vector<cl::Device> m_DeviceList;
int m_DeviceId = 0;
public:
DeviceManager() = default;
DeviceManager(cl::Platform);
DeviceManager(std::vector... | 17.864865 | 45 | 0.685325 | StRigaud |
2429476dd3b42a7fb084e0e111088c55c5ca5f45 | 1,633 | hpp | C++ | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/file.hpp | WJaworskiRobotec/scenario_simulator_v2 | c23497ac8716dcefef20d4b5a4ff1185e01f48e6 | [
"Apache-2.0"
] | 45 | 2021-04-12T22:43:25.000Z | 2022-02-27T23:57:53.000Z | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/file.hpp | WJaworskiRobotec/scenario_simulator_v2 | c23497ac8716dcefef20d4b5a4ff1185e01f48e6 | [
"Apache-2.0"
] | 140 | 2021-04-13T04:28:19.000Z | 2022-03-30T12:44:32.000Z | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/file.hpp | WJaworskiRobotec/scenario_simulator_v2 | c23497ac8716dcefef20d4b5a4ff1185e01f48e6 | [
"Apache-2.0"
] | 13 | 2021-05-22T02:24:49.000Z | 2022-03-25T05:16:31.000Z | // Copyright 2015-2020 Tier IV, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | 30.240741 | 80 | 0.678506 | WJaworskiRobotec |
242a206e2138580836582e3e6638b8ee585d7b4d | 16,979 | cpp | C++ | src/planning/parking_planner/src/parking_planner.cpp | fanyu2021/fyAutowareAuto | 073661c0634de671ff01bda8a316a5ce10c96ca9 | [
"Apache-2.0"
] | 19 | 2021-05-28T06:14:21.000Z | 2022-03-10T10:03:08.000Z | src/planning/parking_planner/src/parking_planner.cpp | fanyu2021/fyAutowareAuto | 073661c0634de671ff01bda8a316a5ce10c96ca9 | [
"Apache-2.0"
] | 222 | 2021-10-29T22:00:27.000Z | 2022-03-29T20:56:34.000Z | src/planning/parking_planner/src/parking_planner.cpp | fanyu2021/fyAutowareAuto | 073661c0634de671ff01bda8a316a5ce10c96ca9 | [
"Apache-2.0"
] | 14 | 2021-05-29T14:59:17.000Z | 2022-03-10T10:03:09.000Z | // Copyright 2020 Embotech AG, Zurich, Switzerland. Arm Limited. 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
... | 39.12212 | 100 | 0.732257 | fanyu2021 |
242a2a0cbc14865a5d0d7b311769931b5277415a | 3,229 | cpp | C++ | artemis-modified/src/util/urlutil.cpp | sch8906/static-dom-anlaysis | 840109a582e044ff2a4b0ab70f50369941a3c09d | [
"MIT"
] | 7 | 2018-01-18T10:31:24.000Z | 2021-06-29T07:16:44.000Z | artemis-code/src/util/urlutil.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | 3 | 2016-06-29T20:53:52.000Z | 2017-05-14T06:01:20.000Z | artemis-code/src/util/urlutil.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | 1 | 2016-08-28T03:26:15.000Z | 2016-08-28T03:26:15.000Z | /*
* Copyright 2012 Aarhus University
*
* 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 agre... | 25.425197 | 109 | 0.655621 | sch8906 |
24310bd3b2e6a2763aafd0548b26ccbbccfed264 | 4,532 | cpp | C++ | aws-cpp-sdk-datasync/source/model/TaskExecutionResultDetail.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-datasync/source/model/TaskExecutionResultDetail.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-datasync/source/model/TaskExecutionResultDetail.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 24.630435 | 103 | 0.754192 | curiousjgeorge |
24311554ca7c0cc524d6ad0467b2551fbdfbf7ad | 3,573 | cpp | C++ | src-plugins/itkFilters/itkFiltersGaussianProcess.cpp | nebatmusic/medInria-public | 09000bd2f129692e42314a8eb1313d238603252e | [
"BSD-1-Clause"
] | 1 | 2020-11-16T13:55:45.000Z | 2020-11-16T13:55:45.000Z | src-plugins/itkFilters/itkFiltersGaussianProcess.cpp | nebatmusic/medInria-public | 09000bd2f129692e42314a8eb1313d238603252e | [
"BSD-1-Clause"
] | null | null | null | src-plugins/itkFilters/itkFiltersGaussianProcess.cpp | nebatmusic/medInria-public | 09000bd2f129692e42314a8eb1313d238603252e | [
"BSD-1-Clause"
] | null | null | null | /*=========================================================================
medInria
Copyright (c) INRIA 2013 - 2014. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE... | 29.528926 | 125 | 0.595018 | nebatmusic |
243192fd07a6180af2584ed280322f542e78ad54 | 2,176 | cpp | C++ | Vector3.cpp | Artars/WalkingGLSpider | d939a1f27730aaabdc36b01fd574351f967c08dd | [
"MIT"
] | null | null | null | Vector3.cpp | Artars/WalkingGLSpider | d939a1f27730aaabdc36b01fd574351f967c08dd | [
"MIT"
] | null | null | null | Vector3.cpp | Artars/WalkingGLSpider | d939a1f27730aaabdc36b01fd574351f967c08dd | [
"MIT"
] | null | null | null | #include "Vector3.h"
Vector3::Vector3(float newX, float newY, float newZ) {
x = newX;
y = newY;
z = newZ;
}
Vector3::Vector3(const Vector3& v) {
x = v.x;
y = v.y;
z = v.z;
}
Vector3::Vector3(){
x = y = z = 0;
}
ostream& operator<<(ostream& os, const Vector3& v) {
return os << ... | 21.544554 | 74 | 0.55239 | Artars |
24351e831af16ccd06425fa0c0f1a4a16cf7f9f2 | 924 | cpp | C++ | Yis/src/Yis/Renderer/Texture.cpp | alalba221/Yis | aac89d953e1edb558ec09dc73beecb05edc05c76 | [
"Apache-2.0"
] | null | null | null | Yis/src/Yis/Renderer/Texture.cpp | alalba221/Yis | aac89d953e1edb558ec09dc73beecb05edc05c76 | [
"Apache-2.0"
] | null | null | null | Yis/src/Yis/Renderer/Texture.cpp | alalba221/Yis | aac89d953e1edb558ec09dc73beecb05edc05c76 | [
"Apache-2.0"
] | null | null | null | #include "yspch.h"
#include "Texture.h"
#include "Yis/Renderer/RendererAPI.h"
#include "Yis/Platform/OpenGL/OpenGLTexture.h"
namespace Yis
{
Texture2D* Texture2D::Create(TextureFormat format, unsigned int width, unsigned int height)
{
switch (RendererAPI::Current())
{
case RendererAPIType::None: return nullptr... | 24.315789 | 92 | 0.732684 | alalba221 |
2437890f0ce9c4a84fff6c2a8ffce4aaebb8cdc9 | 463 | cpp | C++ | 1042.cpp | Graziele-Rodrigues/URI | bea5893eb2a378284e19fe3e187c4a94c4587c44 | [
"Apache-2.0"
] | null | null | null | 1042.cpp | Graziele-Rodrigues/URI | bea5893eb2a378284e19fe3e187c4a94c4587c44 | [
"Apache-2.0"
] | null | null | null | 1042.cpp | Graziele-Rodrigues/URI | bea5893eb2a378284e19fe3e187c4a94c4587c44 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
int main()
{
int a, b, c, g, m, s, temp;
scanf("%d %d %d", &a, &b, &c);
g = a;
m = b;
s = c;
if (g < m)
{
temp = g;
g = m;
m = temp;
}
if (m < s)
{
temp = m;
m = s;
s = temp;
}
if (g < ... | 8.122807 | 53 | 0.280778 | Graziele-Rodrigues |
2437a95338ac761caaee415e1e73025de0436bed | 339 | hpp | C++ | core/handler_by_id.hpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 7 | 2019-06-02T12:04:22.000Z | 2019-10-15T18:01:21.000Z | core/handler_by_id.hpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 26 | 2019-10-27T12:58:42.000Z | 2020-05-30T16:43:48.000Z | core/handler_by_id.hpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 1 | 2019-05-02T10:23:52.000Z | 2019-05-02T10:23:52.000Z | #pragma once
#include <cstdlib>
#include <cstdint>
enum class group_id_t : uint8_t {
system = 0,
dispatcher ,
database,
collection,
wal,
disk,
wasm
};
template <class T>
constexpr uint64_t handler_id(group_id_t group, T type) {
return 100 * static_cast<uint64_t>(group) + static_cast<... | 16.142857 | 76 | 0.669617 | jinntechio |
0f86b4a5a44c2aa95fa51207026366ea2d780504 | 13,956 | cpp | C++ | test/src/test_more.cpp | exodusdb/exodus | b99dd39e826d5a56b6a807c14994ee8fc8970ff8 | [
"MIT"
] | null | null | null | test/src/test_more.cpp | exodusdb/exodus | b99dd39e826d5a56b6a807c14994ee8fc8970ff8 | [
"MIT"
] | null | null | null | test/src/test_more.cpp | exodusdb/exodus | b99dd39e826d5a56b6a807c14994ee8fc8970ff8 | [
"MIT"
] | null | null | null | #undef NDEBUG //because we are using assert to check actual operations that cannot be skipped in release mode testing
#include <cassert>
#include <functional>
#include <limits>
#include <string> //for ""_s suffix
using namespace std::string_literals;
#include <exodus/program.h>
template <class A, class B>
bool less(... | 37.821138 | 149 | 0.553669 | exodusdb |
0f8a0bf14bd1be978b6b6b8335741d9ae567955d | 440 | cpp | C++ | test_programs/wchar/towlower.cpp | sodero/clib2-1 | f1f328909735c88ec2e1d4059d1b941ba859ba91 | [
"Unlicense",
"BSD-3-Clause"
] | null | null | null | test_programs/wchar/towlower.cpp | sodero/clib2-1 | f1f328909735c88ec2e1d4059d1b941ba859ba91 | [
"Unlicense",
"BSD-3-Clause"
] | null | null | null | test_programs/wchar/towlower.cpp | sodero/clib2-1 | f1f328909735c88ec2e1d4059d1b941ba859ba91 | [
"Unlicense",
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <cwctype>
#include <clocale>
int main()
{
wchar_t c = L'\u0190'; // Latin capital open E ('Ɛ')
std::cout << std::hex << std::showbase;
std::cout << "in the default locale, towlower(" << (std::wint_t)c << ") = " << std::towlower(c) << '\n';
std::setlocale(LC_ALL, ... | 33.846154 | 109 | 0.540909 | sodero |
0f8bd28c8bc1bb6b7b80593547d7f64b8a84361b | 12,262 | cpp | C++ | Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthPrototype.cpp | savary1/serenity | f2a77f0c2ce86584d6e2ef7f579ce77e916916bc | [
"BSD-2-Clause"
] | 2 | 2021-08-23T03:26:15.000Z | 2021-11-15T09:41:54.000Z | Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthPrototype.cpp | savary1/serenity | f2a77f0c2ce86584d6e2ef7f579ce77e916916bc | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthPrototype.cpp | savary1/serenity | f2a77f0c2ce86584d6e2ef7f579ce77e916916bc | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/TypeCasts.h>
#include <LibJS/Runtime/GlobalObject.h>
#include <LibJS/Runtime/Temporal/AbstractOperations.h>
#include <LibJS/Runtime/Temporal/Calendar.h>
#include <LibJS/Runtime/Temporal/PlainYearMo... | 43.024561 | 177 | 0.735443 | savary1 |
0f8be16acafac462c6771c45c8254c369c4a32cf | 1,510 | cpp | C++ | dbms/src/TableFunctions/TableFunctionNumbers.cpp | ArielLily/ClickHouse | 8f145da1e8056d21453149f436e2c5d87eb3294f | [
"Apache-2.0"
] | null | null | null | dbms/src/TableFunctions/TableFunctionNumbers.cpp | ArielLily/ClickHouse | 8f145da1e8056d21453149f436e2c5d87eb3294f | [
"Apache-2.0"
] | null | null | null | dbms/src/TableFunctions/TableFunctionNumbers.cpp | ArielLily/ClickHouse | 8f145da1e8056d21453149f436e2c5d87eb3294f | [
"Apache-2.0"
] | null | null | null | #include <TableFunctions/ITableFunction.h>
#include <TableFunctions/TableFunctionNumbers.h>
#include <TableFunctions/TableFunctionFactory.h>
#include <Parsers/ASTFunction.h>
#include <Parsers/ASTLiteral.h>
#include <Common/Exception.h>
#include <Storages/System/StorageSystemNumbers.h>
#include <Interpreters/evaluateCon... | 30.2 | 101 | 0.748344 | ArielLily |
0f8c3024c079a103905a6b98c8305f91720612ed | 2,247 | cpp | C++ | src/base/utils/MemoryPool.cpp | ysbing/voo | 329d6a72ede6dd5903ca4d824bb3c49a5502f5c3 | [
"Apache-2.0"
] | 56 | 2022-01-29T04:52:27.000Z | 2022-03-31T06:52:15.000Z | src/base/utils/MemoryPool.cpp | jumpingfrog0/VOO | af191ece986f997cf98f85016aa7288c323210c3 | [
"Apache-2.0"
] | null | null | null | src/base/utils/MemoryPool.cpp | jumpingfrog0/VOO | af191ece986f997cf98f85016aa7288c323210c3 | [
"Apache-2.0"
] | 16 | 2022-01-29T04:52:39.000Z | 2022-03-31T07:48:53.000Z | #include "MemoryPool.h"
#include <QDebug>
#include <mutex>
MemoryPool::MemoryPool() {
}
MemoryPool::~MemoryPool() {
clear();
}
MemoryPool *MemoryPool::instance() {
static MemoryPool s_instance;
return &s_instance;
}
unsigned char *MemoryPool::obtain(int size) {
std::lock_guard<QMutex> locker(m_mute... | 26.435294 | 89 | 0.5247 | ysbing |
0f8c3e4e5f17441b506abe834218878b79773631 | 568 | hpp | C++ | include/apphysics2d/transform.hpp | ruwix/apphysics2d | ed76a0e7d9ebd570646d7e5db33342c8d71bc82e | [
"MIT"
] | null | null | null | include/apphysics2d/transform.hpp | ruwix/apphysics2d | ed76a0e7d9ebd570646d7e5db33342c8d71bc82e | [
"MIT"
] | null | null | null | include/apphysics2d/transform.hpp | ruwix/apphysics2d | ed76a0e7d9ebd570646d7e5db33342c8d71bc82e | [
"MIT"
] | null | null | null | #ifndef H_TRANSFORM
#define H_TRANSFORM
#include <Box2D/Box2D.h>
#include "vector.hpp"
typedef struct Transform2D
{
VectorF2D pos;
float rot;
Transform2D(VectorF2D pos, float rot) : pos(pos), rot(rot) {}
Transform2D(b2Transform t) : pos(VectorF2D(t.p.x, t.p.y)), rot(t.q.GetAngle() * b2_pi / 180) {}
... | 24.695652 | 99 | 0.616197 | ruwix |
0f8dcda9fe9470e37cd6c8a291c9c03d26cec8e3 | 6,109 | cpp | C++ | Base/PLGraphics/src/Image/ImageToolsWindows.cpp | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 83 | 2015-01-08T15:06:14.000Z | 2021-07-20T17:07:00.000Z | Base/PLGraphics/src/Image/ImageToolsWindows.cpp | PixelLightFoundation/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 27 | 2019-06-18T06:46:07.000Z | 2020-02-02T11:11:28.000Z | Base/PLGraphics/src/Image/ImageToolsWindows.cpp | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 40 | 2015-02-25T18:24:34.000Z | 2021-03-06T09:01:48.000Z | /*********************************************************\
* File: ImageToolsWindows.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 25.885593 | 131 | 0.570797 | ktotheoz |
0f91b367227d9ca54c936135d06b6e2f62f63c12 | 3,134 | cpp | C++ | unittest/src/unittest_rgx.cpp | MoustaphaSaad/rgx | ab1e774c87e39ecc0505fffdf8322013b7866292 | [
"BSD-3-Clause"
] | 2 | 2017-12-20T20:57:42.000Z | 2017-12-21T00:32:36.000Z | unittest/src/unittest_rgx.cpp | MoustaphaSaad/rgx | ab1e774c87e39ecc0505fffdf8322013b7866292 | [
"BSD-3-Clause"
] | null | null | null | unittest/src/unittest_rgx.cpp | MoustaphaSaad/rgx | ab1e774c87e39ecc0505fffdf8322013b7866292 | [
"BSD-3-Clause"
] | null | null | null | #include <doctest/doctest.h>
#include <rgx/Compiler.h>
#include <rgx/VM.h>
#include <mn/Str.h>
#include <mn/IO.h>
#include <utf8proc/utf8proc.h>
using namespace rgx;
using namespace mn;
inline static bool
matched(const Buf<uint8_t>& prog, const char* s)
{
auto str = str_lit(s);
auto [it, ok] = match(prog, begin(s... | 22.22695 | 160 | 0.613593 | MoustaphaSaad |
0f995fefe40e3e8d62521ec497fb485fa8a7e841 | 10,003 | hpp | C++ | include/ev/EventLoop.hpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 2 | 2016-05-21T03:09:19.000Z | 2016-08-27T03:40:51.000Z | include/ev/EventLoop.hpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 75 | 2017-10-08T22:21:19.000Z | 2020-03-30T21:13:20.000Z | include/ev/EventLoop.hpp | StratifyLabs/StratifyLib | 975a5c25a84296fd0dec64fe4dc579cf7027abe6 | [
"MIT"
] | 5 | 2018-03-27T16:44:09.000Z | 2020-07-08T16:45:55.000Z | /*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights.
/* Copyright 2014-2018 Tyler Gilbert, Inc; All Rights Reserved
*
*/
#ifndef SAPI_EV_EVENTLOOP_HPP_
#define SAPI_EV_EVENTLOOP_HPP_
#include "../api/WorkObject.hpp"
#include "../chrono/Timer.hpp"
#include "EventHandle... | 34.256849 | 129 | 0.730481 | bander9289 |
0f9f1a63f9c443d19577e3f5f5bbbd72f8dc9fd6 | 2,289 | cpp | C++ | Chapter6/exercises/exercise_04.cpp | JohnWoods11/learning_c- | 094509a4e96518e1aa12205615ca50849932f9fa | [
"Apache-2.0"
] | null | null | null | Chapter6/exercises/exercise_04.cpp | JohnWoods11/learning_c- | 094509a4e96518e1aa12205615ca50849932f9fa | [
"Apache-2.0"
] | null | null | null | Chapter6/exercises/exercise_04.cpp | JohnWoods11/learning_c- | 094509a4e96518e1aa12205615ca50849932f9fa | [
"Apache-2.0"
] | null | null | null | #include "../stdlibfacilities.h"
class Person
{
public:
string name; //persons name
int score; //persons score
Person(string x, int y) //make Person token with name and score
:name (x), score (y){}
};
... | 31.791667 | 146 | 0.430319 | JohnWoods11 |
0fa0f7f16408d55dbb54bdc0b3b39f9b3fd16cc9 | 4,572 | cpp | C++ | src/AutoTextControl.cpp | fantoro/CapitalBe | 0d5f7056a61e71693b1ef85b5024c9ce0894ab2f | [
"MIT"
] | 2 | 2017-05-17T07:18:05.000Z | 2018-02-28T13:51:47.000Z | src/AutoTextControl.cpp | fantoro/CapitalBe | 0d5f7056a61e71693b1ef85b5024c9ce0894ab2f | [
"MIT"
] | 26 | 2016-12-20T12:28:52.000Z | 2022-03-30T06:00:03.000Z | src/AutoTextControl.cpp | fantoro/CapitalBe | 0d5f7056a61e71693b1ef85b5024c9ce0894ab2f | [
"MIT"
] | 13 | 2015-01-28T15:26:06.000Z | 2020-10-26T06:03:42.000Z | /*
AutoTextControl.cpp: A BTextControl which notifies on each keypress
Written by DarkWyrm <darkwyrm@earthlink.net>, Copyright 2007
Released under the MIT license.
*/
#include "AutoTextControl.h"
#include <Window.h>
#include <String.h>
#include <stdio.h>
#include <ctype.h>
#include <PropertyInfo.h>
static property_... | 20.502242 | 87 | 0.730534 | fantoro |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.