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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
818d40bac2211b2ba0b2f731a2404dc5c9412b75 | 2,092 | hpp | C++ | openstudiocore/src/pat_app/MeasuresView.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/pat_app/MeasuresView.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/pat_app/MeasuresView.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2013, 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 publ... | 27.168831 | 83 | 0.6826 | bobzabcik |
818e049e019bdbfa726960380cc2eacd9a89dba6 | 4,354 | cpp | C++ | trunk/ProjectFootball/src/singlePlayer/db/bean/CPfRolesByTeamPlayers.cpp | dividio/projectfootball | 3c0b94937de2e3cd6e7daf9d3b4942fda974f20c | [
"Zlib"
] | null | null | null | trunk/ProjectFootball/src/singlePlayer/db/bean/CPfRolesByTeamPlayers.cpp | dividio/projectfootball | 3c0b94937de2e3cd6e7daf9d3b4942fda974f20c | [
"Zlib"
] | null | null | null | trunk/ProjectFootball/src/singlePlayer/db/bean/CPfRolesByTeamPlayers.cpp | dividio/projectfootball | 3c0b94937de2e3cd6e7daf9d3b4942fda974f20c | [
"Zlib"
] | null | null | null | /******************************************************************************
* Copyright (C) 2009 - Ikaro Games www.ikarogames.com *
* *
* This program is free software; you can redistribute it and/or *
... | 28.457516 | 90 | 0.578089 | dividio |
818eac0399269244bbccf0bff26ed92450907168 | 54,542 | cpp | C++ | source/system/UnitLoader.cpp | Leinnan/carpg | ff484f094abe381b0deec3c52ef33725f765ff1f | [
"MIT"
] | null | null | null | source/system/UnitLoader.cpp | Leinnan/carpg | ff484f094abe381b0deec3c52ef33725f765ff1f | [
"MIT"
] | null | null | null | source/system/UnitLoader.cpp | Leinnan/carpg | ff484f094abe381b0deec3c52ef33725f765ff1f | [
"MIT"
] | null | null | null | #include "Pch.h"
#include "UnitLoader.h"
#include "Ability.h"
#include "Content.h"
#include "UnitData.h"
#include "UnitGroup.h"
#include "GameDialog.h"
#include "GameResources.h"
#include "Item.h"
#include "ItemScript.h"
#include "QuestScheme.h"
#include "Stock.h"
#include <Mesh.h>
#include <ResourceManager.h>
enum ... | 23.209362 | 155 | 0.57288 | Leinnan |
818f35ff51a92376f12447206f9fb2e6b12ca5dd | 4,355 | cpp | C++ | SerialPrograms/Source/PokemonSwSh/Programs/ShinyHuntUnattended/PokemonSwSh_ShinyHuntUnattended-Regi.cpp | pifopi/Arduino-Source | e926d9f9154a27a33d976240ae956c9460e64cf9 | [
"MIT"
] | 9 | 2021-03-06T20:37:22.000Z | 2022-03-09T02:34:47.000Z | SerialPrograms/Source/PokemonSwSh/Programs/ShinyHuntUnattended/PokemonSwSh_ShinyHuntUnattended-Regi.cpp | pifopi/Arduino-Source | e926d9f9154a27a33d976240ae956c9460e64cf9 | [
"MIT"
] | 44 | 2021-05-31T21:33:14.000Z | 2022-02-25T17:40:50.000Z | SerialPrograms/Source/PokemonSwSh/Programs/ShinyHuntUnattended/PokemonSwSh_ShinyHuntUnattended-Regi.cpp | pifopi/Arduino-Source | e926d9f9154a27a33d976240ae956c9460e64cf9 | [
"MIT"
] | 16 | 2021-03-21T16:00:21.000Z | 2022-03-26T08:02:11.000Z | /* ShinyHuntUnattended-Regi
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include "Common/Cpp/PrettyPrint.h"
#include "NintendoSwitch/Commands/NintendoSwitch_Commands_Device.h"
#include "NintendoSwitch/Commands/NintendoSwitch_Commands_PushButtons.h"
#include "NintendoSwitch/Nintend... | 34.563492 | 129 | 0.683582 | pifopi |
818f6f436a01f5df3c746986f81fe484e1862aec | 116,762 | cc | C++ | src/game/Strategic/Auto_Resolve.cc | hb029/JA-2-Stracciatella | e5f1d65359e6dfd4109cc8c04b1917ddd4a1f156 | [
"BSD-Source-Code"
] | null | null | null | src/game/Strategic/Auto_Resolve.cc | hb029/JA-2-Stracciatella | e5f1d65359e6dfd4109cc8c04b1917ddd4a1f156 | [
"BSD-Source-Code"
] | null | null | null | src/game/Strategic/Auto_Resolve.cc | hb029/JA-2-Stracciatella | e5f1d65359e6dfd4109cc8c04b1917ddd4a1f156 | [
"BSD-Source-Code"
] | null | null | null | #include "Directories.h"
#include "Font.h"
#include "HImage.h"
#include "Isometric_Utils.h"
#include "MercPortrait.h"
#include "MessageBoxScreen.h"
#include "Timer.h"
#include "Timer_Control.h"
#include "Types.h"
#include "Auto_Resolve.h"
#include "Local.h"
#include "Strategic_Movement.h"
#include "Queen_Command.h"
#in... | 29.10319 | 186 | 0.691346 | hb029 |
8191151e3df89a93b3de15cd72aba9bbe5fd6d17 | 1,794 | cpp | C++ | FT/Shader.cpp | arturnista/glfwstudy | fa24539c88149d388aebada68e6e10b862e19829 | [
"MIT"
] | null | null | null | FT/Shader.cpp | arturnista/glfwstudy | fa24539c88149d388aebada68e6e10b862e19829 | [
"MIT"
] | null | null | null | FT/Shader.cpp | arturnista/glfwstudy | fa24539c88149d388aebada68e6e10b862e19829 | [
"MIT"
] | null | null | null | #include "Shader.h"
Shader::Shader (string shaderName) {
const char* vertex_shader_program = readFile("assets/shaders/" + shaderName + ".shader");
const char* fragment_shader_program = readFile("assets/shaders/" + shaderName + ".frag");
GLuint vertexShader = glCreateShader(GL_VERTEX_SHADER);
glShaderS... | 29.9 | 93 | 0.740245 | arturnista |
81955d581fd1b4f652f1cecce1b855b938edceae | 10,780 | cpp | C++ | iceoryx_posh/test/moduletests/test_mepoo_handler.cpp | bishibashiB/iceoryx | a626ed05504b098da9bbc063f652f2ab463e9250 | [
"Apache-2.0"
] | null | null | null | iceoryx_posh/test/moduletests/test_mepoo_handler.cpp | bishibashiB/iceoryx | a626ed05504b098da9bbc063f652f2ab463e9250 | [
"Apache-2.0"
] | null | null | null | iceoryx_posh/test/moduletests/test_mepoo_handler.cpp | bishibashiB/iceoryx | a626ed05504b098da9bbc063f652f2ab463e9250 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 by Robert Bosch GmbH. 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... | 32.765957 | 92 | 0.693692 | bishibashiB |
81960e6452ac58ed4ba16b19c16ad287e833049b | 1,020 | hh | C++ | LibLow/LibLow/Object.hh | kmc7468/Lowscript | 2d49dd6d2b3ed340ec3cff8a5f5e0f6b241fe9f3 | [
"MIT"
] | 5 | 2017-04-16T10:37:17.000Z | 2020-03-23T19:05:37.000Z | LibLow/LibLow/Object.hh | kmc7468/Lowscript | 2d49dd6d2b3ed340ec3cff8a5f5e0f6b241fe9f3 | [
"MIT"
] | null | null | null | LibLow/LibLow/Object.hh | kmc7468/Lowscript | 2d49dd6d2b3ed340ec3cff8a5f5e0f6b241fe9f3 | [
"MIT"
] | null | null | null | #ifndef LIBLOW_HEADER_OBJECT_HH
#define LIBLOW_HEADER_OBJECT_HH
#include <cstddef>
#include <memory>
namespace LibLow
{
enum class Type
{
Void,
Bool,
Int,
Double,
};
constexpr std::size_t TypeSize[] =
{
0, // Void
1, // Bool
4, // Int
8, // Double
};
enum class SignedOption
{
Unsigned,
S... | 15.9375 | 64 | 0.665686 | kmc7468 |
819870f2f1a118b8eec8bd3cda389866102a0774 | 918 | hh | C++ | cardenc/ptypes.hh | brandhsn/pysat | 95f2dd9760091bf3453ba6c0c7c12172cffefbb7 | [
"MIT"
] | 267 | 2018-05-03T11:52:29.000Z | 2022-03-24T15:04:01.000Z | cardenc/ptypes.hh | brandhsn/pysat | 95f2dd9760091bf3453ba6c0c7c12172cffefbb7 | [
"MIT"
] | 98 | 2018-08-24T17:28:41.000Z | 2022-03-24T11:38:13.000Z | cardenc/ptypes.hh | brandhsn/pysat | 95f2dd9760091bf3453ba6c0c7c12172cffefbb7 | [
"MIT"
] | 57 | 2018-06-15T16:59:02.000Z | 2022-03-24T22:43:43.000Z | /*
* ptypes.hh (based on the 'card' library from BOLT)
*
* Created on: Sep 25, 2017
* Author: aign
*/
#ifndef PTYPES_HH_
#define PTYPES_HH_
#include <unordered_map>
using namespace std;
//
//=============================================================================
typedef pair<int, int> IntPair;
//
... | 20.863636 | 79 | 0.441176 | brandhsn |
819934a03c5a4e1f48636bbbbdc18b35fa51ef80 | 3,665 | cpp | C++ | sources/DbActions.cpp | Kondr11/LABA10 | a72283cd1bc18345e551426419c319fbf601388d | [
"MIT"
] | null | null | null | sources/DbActions.cpp | Kondr11/LABA10 | a72283cd1bc18345e551426419c319fbf601388d | [
"MIT"
] | null | null | null | sources/DbActions.cpp | Kondr11/LABA10 | a72283cd1bc18345e551426419c319fbf601388d | [
"MIT"
] | null | null | null | // Copyright 2020 <Kondr11>
#include "DbActions.h"
DbActions::DbActions(std::string path)
: path_(std::move(path))
{}
DbActions::FamilyDescriptorContainer DbActions::getFamilyDescriptorList()
{
rocksdb::Options options;
options.create_if_missing = true;
std::vector<std::string> families;
rocksdb::... | 30.798319 | 79 | 0.572169 | Kondr11 |
819a96d46f59dabdf2e269fa450356b0246d81a6 | 1,525 | cc | C++ | INET_EC/physicallayer/base/packetlevel/AnalogModelBase.cc | LarryNguyen/ECSim- | 0d3f848642e49845ed7e4c7b97dd16bd3d65ede5 | [
"Apache-2.0"
] | 12 | 2020-11-30T08:04:23.000Z | 2022-03-23T11:49:26.000Z | Simulation/OMNeT++/inet/src/inet/physicallayer/base/packetlevel/AnalogModelBase.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | 1 | 2021-01-26T10:49:56.000Z | 2021-01-31T16:58:52.000Z | Simulation/OMNeT++/inet/src/inet/physicallayer/base/packetlevel/AnalogModelBase.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | 8 | 2021-03-15T02:05:51.000Z | 2022-03-21T13:14:02.000Z | //
// Copyright (C) 2013 OpenSim Ltd.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program i... | 38.125 | 123 | 0.770492 | LarryNguyen |
819d052ae8f6638c441bd631ab546f398bbd5360 | 109 | cpp | C++ | tests/ProcessPool.cpp | orofarne/lutop | 760591687dd5d633ead9513e24d9ffa33b86523a | [
"BSD-3-Clause"
] | 1 | 2017-09-30T08:22:22.000Z | 2017-09-30T08:22:22.000Z | tests/ProcessPool.cpp | orofarne/lutop | 760591687dd5d633ead9513e24d9ffa33b86523a | [
"BSD-3-Clause"
] | null | null | null | tests/ProcessPool.cpp | orofarne/lutop | 760591687dd5d633ead9513e24d9ffa33b86523a | [
"BSD-3-Clause"
] | 1 | 2021-07-05T10:13:04.000Z | 2021-07-05T10:13:04.000Z | #include <gtest/gtest.h>
#include "ProcessPool.hpp"
using namespace lutop;
TEST(ProcessPool, Create) {
}
| 10.9 | 27 | 0.724771 | orofarne |
819d20b6594ebb84a480295e639a828ae2ff8605 | 1,084 | cpp | C++ | src/MorseCoder.cpp | SuniTheFish/SquishedMorse | c25db839ae3d7024ff1c7ab9f1ddc252ea116d1b | [
"MIT"
] | null | null | null | src/MorseCoder.cpp | SuniTheFish/SquishedMorse | c25db839ae3d7024ff1c7ab9f1ddc252ea116d1b | [
"MIT"
] | null | null | null | src/MorseCoder.cpp | SuniTheFish/SquishedMorse | c25db839ae3d7024ff1c7ab9f1ddc252ea116d1b | [
"MIT"
] | null | null | null | #include "MorseCoder.h"
MorseCoder::MorseCoder()
{
const std::string morseStr{
".- -... -.-. -.. . ..-. --. .... .. .--- -.- .-.. -- -. --- .--. "
"--.- .-. ... - ..- ...- .-- -..- -.-- --.."
};
const std::string alphabet{ "abcdefghijklmnopqrstuvwxyz" };
std::vector <std::string> morseParts{};
boost::algorit... | 22.583333 | 70 | 0.583948 | SuniTheFish |
819df04ae20cc559b4b5c48088122d3d7a920118 | 489 | cpp | C++ | src/game/client/tf2/c_order_resupply.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/game/client/tf2/c_order_resupply.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/game/client/tf2/c_order_resupply.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "c_order_resupply.h"
IMPLEMENT_CLIENTCLASS_DT( C_OrderResupply, DT_OrderResupply, COrderResup... | 24.45 | 81 | 0.588957 | cstom4994 |
81a1a8a7f4cee6edc43525bc9e6b3a79d96e4c87 | 16,299 | cc | C++ | test/gemm/test_gemm_kernel.cc | Dr-Noob/marlin | c77c8556d90abd52e5401922273c4ad3ec2656dc | [
"BSD-3-Clause"
] | 9 | 2021-03-07T22:52:35.000Z | 2022-03-21T23:37:48.000Z | test/gemm/test_gemm_kernel.cc | Dr-Noob/marlin | c77c8556d90abd52e5401922273c4ad3ec2656dc | [
"BSD-3-Clause"
] | 1 | 2021-04-27T10:04:53.000Z | 2021-04-27T10:04:53.000Z | test/gemm/test_gemm_kernel.cc | Dr-Noob/marlin | c77c8556d90abd52e5401922273c4ad3ec2656dc | [
"BSD-3-Clause"
] | 1 | 2021-04-27T12:40:35.000Z | 2021-04-27T12:40:35.000Z | /*******************************************************************************
* Copyright (c) Malith Jayaweera - All rights reserved. *
* This file is part of the MARLIN library. *
* ... | 27.957118 | 80 | 0.493098 | Dr-Noob |
81a2ef5fb33fd3d773ab3985651d541c0d8a2a45 | 908 | hpp | C++ | src/Compromutator.hpp | IPetr0v/compromutator | 6e1c34b5238a78f7f2f1628504103edfcb145523 | [
"Apache-2.0"
] | null | null | null | src/Compromutator.hpp | IPetr0v/compromutator | 6e1c34b5238a78f7f2f1628504103edfcb145523 | [
"Apache-2.0"
] | null | null | null | src/Compromutator.hpp | IPetr0v/compromutator | 6e1c34b5238a78f7f2f1628504103edfcb145523 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Types.hpp"
#include "ConcurrencyPrimitives.hpp"
#include "proxy/Event.hpp"
#include "proxy/Proxy.hpp"
#include "pipeline/Pipeline.hpp"
#include "NetworkSpace.hpp"
#include "Detector.hpp"
#include "Controller.hpp"
#include <fluid/ofcommon/msg.hh>
#include <fluid/of10msg.hh>
#include <fluid/of13m... | 21.619048 | 61 | 0.698238 | IPetr0v |
81a535f27db654cc21e7ef8f3243e8ca59b6fb20 | 880 | cpp | C++ | UnitTest/Source/ProximityHelperTesting.cpp | meraz/doremi | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:05.000Z | 2020-03-23T15:42:05.000Z | UnitTest/Source/ProximityHelperTesting.cpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | null | null | null | UnitTest/Source/ProximityHelperTesting.cpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:06.000Z | 2020-03-23T15:42:06.000Z | #include <ProximityHelperTesting.hpp>
#include <DirectXMath.h>
ProximityHelperTest::ProximityHelperTest() {}
ProximityHelperTest::~ProximityHelperTest() {}
void ProximityHelperTest::SetUp() {}
void ProximityHelperTest::TearDown() {}
TEST_F(ProximityHelperTest, proximityTest)
{
using namespace DirectX;
EXPECT_... | 51.764706 | 140 | 0.746591 | meraz |
81a75bb7d64751b10c343c3a5e767a663f5b547b | 380 | hpp | C++ | src/components/rotation.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 2 | 2021-03-18T16:25:04.000Z | 2021-11-13T00:29:27.000Z | src/components/rotation.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | null | null | null | src/components/rotation.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 1 | 2021-11-13T00:29:30.000Z | 2021-11-13T00:29:30.000Z | /**
* @file
* @author __AUTHOR_NAME__ <mail@host.com>
* @copyright 2021 __COMPANY_LTD__
* @license <a href="https://opensource.org/licenses/MIT">MIT License</a>
*/
#ifndef ZEN_COMPONENTS_ROTATION_HPP
#define ZEN_COMPONENTS_ROTATION_HPP
namespace Zen {
namespace Components {
struct Rotation
{
double value = 0... | 16.521739 | 74 | 0.723684 | hexoctal |
81a8a09d331a1fff479b7ee35bcc96995b9001cf | 8,387 | cpp | C++ | src/packet/superpacket.cpp | kaiyuhou/nprint | 958d4de772edda003d475e41a51acc9d86aadd0c | [
"Apache-2.0"
] | 54 | 2020-08-06T19:52:07.000Z | 2022-03-26T02:34:55.000Z | src/packet/superpacket.cpp | kaiyuhou/nprint | 958d4de772edda003d475e41a51acc9d86aadd0c | [
"Apache-2.0"
] | 23 | 2020-08-04T08:51:11.000Z | 2021-12-06T17:35:42.000Z | src/packet/superpacket.cpp | kaiyuhou/nprint | 958d4de772edda003d475e41a51acc9d86aadd0c | [
"Apache-2.0"
] | 7 | 2020-08-06T19:21:52.000Z | 2022-01-12T12:54:20.000Z | /*
* Copyright 2020 nPrint
* 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 https://www.apache.org/licenses/LICENSE-2.0
*/
#include "superpacket.hpp"
void SuperPacket::print_packet(FILE *... | 30.609489 | 96 | 0.591749 | kaiyuhou |
81b13b3f10da7143168c5d6160730ef76950e61a | 13,943 | cpp | C++ | src/io/controller.cpp | nadult/FreeFT | f0f63951632d06dd4f6d24ca76b03f38b995cd78 | [
"Unlicense"
] | 118 | 2015-01-26T12:49:58.000Z | 2022-03-19T00:02:01.000Z | src/io/controller.cpp | nadult/FreeFT | f0f63951632d06dd4f6d24ca76b03f38b995cd78 | [
"Unlicense"
] | 6 | 2015-03-29T14:59:40.000Z | 2020-08-14T22:04:48.000Z | src/io/controller.cpp | nadult/FreeFT | f0f63951632d06dd4f6d24ca76b03f38b995cd78 | [
"Unlicense"
] | 14 | 2015-01-18T13:55:13.000Z | 2021-11-30T06:56:58.000Z | // Copyright (C) Krzysztof Jakubowski <nadult@fastmail.fm>
// This file is part of FreeFT. See license.txt for details.
#include "io/controller.h"
#include "game/actor.h"
#include "game/item.h"
#include "game/visibility.h"
#include "game/game_mode.h"
#include "game/pc_controller.h"
#include "game/all_orders.h"
#inclu... | 33.436451 | 103 | 0.678979 | nadult |
81b205e18a8ae7c1aa985369f8157ef42402fd4e | 1,094 | cpp | C++ | examples/text-statistics.cpp | wolfee001/sdsl-lite | 3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75 | [
"BSD-3-Clause"
] | 54 | 2017-03-23T23:10:40.000Z | 2022-03-22T14:25:11.000Z | examples/text-statistics.cpp | wolfee001/sdsl-lite | 3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75 | [
"BSD-3-Clause"
] | 65 | 2017-05-09T05:28:43.000Z | 2021-12-16T13:02:25.000Z | examples/text-statistics.cpp | wolfee001/sdsl-lite | 3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75 | [
"BSD-3-Clause"
] | 23 | 2017-03-23T23:11:44.000Z | 2022-02-20T22:36:33.000Z | #include <iostream>
#include <sdsl/suffix_trees.hpp>
using namespace std;
using namespace sdsl;
typedef cst_sct3<> cst_t;
typedef cst_t::char_type char_type;
int main(int argc, char * argv[])
{
if (argc < 2)
{
cout << "Usage: " << argv[0] << " file" << endl;
cout << "(1) Generates the CST of... | 26.682927 | 98 | 0.501828 | wolfee001 |
81b2f1ca1f42362d12038ffa878a1846d131c719 | 1,533 | cpp | C++ | source/Transcript.cpp | Gavin-Lijy/STAR | 4571190968fc134aa4bd0d4d7065490253b1a4c5 | [
"MIT"
] | 1,315 | 2015-01-07T02:03:15.000Z | 2022-03-30T09:48:17.000Z | source/Transcript.cpp | Gavin-Lijy/STAR | 4571190968fc134aa4bd0d4d7065490253b1a4c5 | [
"MIT"
] | 1,429 | 2015-01-08T00:09:17.000Z | 2022-03-31T08:12:14.000Z | source/Transcript.cpp | Gavin-Lijy/STAR | 4571190968fc134aa4bd0d4d7065490253b1a4c5 | [
"MIT"
] | 495 | 2015-01-23T20:00:45.000Z | 2022-03-31T13:24:50.000Z | #include "Transcript.h"
Transcript::Transcript()
{
reset();
};
void Transcript::reset() {
extendL=0;
// for (uint ii=0;ii<4;ii++) {
// polyXlength[ii]=0;
// polyXnMM[ii]=0;
// };
primaryFlag=false;
rStart=0; roStart=0; rLength=0; gStart=0; gLength=0; //read and genomic coordi... | 25.55 | 109 | 0.589041 | Gavin-Lijy |
81b3c1bd7c71590c365e1205a10df98633718a66 | 7,078 | hpp | C++ | tpls/pressio/include/pressio/ops/eigen/ops_rank1_update.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 29 | 2019-11-11T13:17:57.000Z | 2022-03-16T01:31:31.000Z | tpls/pressio/include/pressio/ops/eigen/ops_rank1_update.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 303 | 2019-09-30T10:15:41.000Z | 2022-03-30T08:24:04.000Z | tpls/pressio/include/pressio/ops/eigen/ops_rank1_update.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 4 | 2020-07-07T03:32:36.000Z | 2022-03-10T05:21:42.000Z | /*
//@HEADER
// ************************************************************************
//
// ops_rank1_update.hpp
// Pressio
// Copyright 2019
// National Technology & Engineering Solutions of Sandia, LLC (NTESS)
//
// Under the terms of Contract DE-NA0003525 wit... | 39.541899 | 75 | 0.608223 | fnrizzi |
81b56e02c0e4b7c7b4dd823ffbf1935f13f98577 | 23,511 | cpp | C++ | Core/MAGESLAM/Source/BoW/OnlineBow.cpp | syntheticmagus/mageslam | ba79a4e6315689c072c29749de18d70279a4c5e4 | [
"MIT"
] | 70 | 2020-05-07T03:09:09.000Z | 2022-02-11T01:04:54.000Z | Core/MAGESLAM/Source/BoW/OnlineBow.cpp | syntheticmagus/mageslam | ba79a4e6315689c072c29749de18d70279a4c5e4 | [
"MIT"
] | 3 | 2020-06-01T00:34:01.000Z | 2020-10-08T07:43:32.000Z | Core/MAGESLAM/Source/BoW/OnlineBow.cpp | syntheticmagus/mageslam | ba79a4e6315689c072c29749de18d70279a4c5e4 | [
"MIT"
] | 16 | 2020-05-07T03:09:13.000Z | 2022-03-31T15:36:49.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "OnlineBow.h"
#include "OnlineBowFeatureMatcher.h"
#include "Tracking\FeatureMatcher.h"
#include <arcana\iterators.h>
#include <arcana\threading\cancellation.h>
#include <random>
#include <memory>
using namespace std;
namespace ma... | 36.004594 | 200 | 0.57186 | syntheticmagus |
81b7b3ff02eb44303f9eeb562275d862ec5f44c1 | 1,717 | hpp | C++ | include/soralog/impl/sink_to_file.hpp | GeniusVentures/soralog | 53bc6eeba84ad35e018fe4e94f6a8cc74284aa44 | [
"Apache-2.0"
] | 2 | 2022-03-12T14:30:07.000Z | 2022-03-12T21:16:20.000Z | include/soralog/impl/sink_to_file.hpp | GeniusVentures/soralog | 53bc6eeba84ad35e018fe4e94f6a8cc74284aa44 | [
"Apache-2.0"
] | 6 | 2021-03-17T13:24:01.000Z | 2022-03-09T12:52:27.000Z | include/soralog/impl/sink_to_file.hpp | GeniusVentures/soralog | 53bc6eeba84ad35e018fe4e94f6a8cc74284aa44 | [
"Apache-2.0"
] | 4 | 2021-03-15T09:06:43.000Z | 2022-03-12T14:04:42.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef SORALOG_SINKTOFILE
#define SORALOG_SINKTOFILE
#include <soralog/sink.hpp>
#include <condition_variable>
#include <filesystem>
#include <fstream>
#include <memory>
#include <mutex>
#include <thread>
namespace... | 26.415385 | 68 | 0.676179 | GeniusVentures |
81bb5ada91ecd6f31fd6229b76c125d966dfedd4 | 5,220 | hpp | C++ | libs/boost_1_72_0/boost/core/alloc_construct.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/core/alloc_construct.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/core/alloc_construct.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright 2019 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_CORE_ALLOC_CONSTRUCT_HPP
#define BOOST_CORE_ALLOC_CONSTRUCT_HPP
#include <boost/core/noinit_adaptor.hpp>
namespace boost {
#if !defined(BOOS... | 27.473684 | 78 | 0.625862 | henrywarhurst |
81bccc3796bbe799227132a6fef9ba8f10cb6325 | 4,898 | cpp | C++ | src/Script/json/json_colorTable.cpp | FraMecca/Coccode | e302c400e0bff40859c65ccefac923133c770861 | [
"BSD-3-Clause"
] | null | null | null | src/Script/json/json_colorTable.cpp | FraMecca/Coccode | e302c400e0bff40859c65ccefac923133c770861 | [
"BSD-3-Clause"
] | null | null | null | src/Script/json/json_colorTable.cpp | FraMecca/Coccode | e302c400e0bff40859c65ccefac923133c770861 | [
"BSD-3-Clause"
] | null | null | null | /*
* ================= json_colorTable.cpp =====================
* -- tpr --
* CREATE -- 2019.09.23
* MODIFY --
* ----------------------------------------------------------
*/
#include "pch.h"
//---------------... | 35.751825 | 107 | 0.464884 | FraMecca |
81bffdc6e1af81844b28ecdf51bb7826de52fa9a | 6,243 | cpp | C++ | src/arraytexture.cpp | sgynn/worldeditor | 7c26359d3083631477049dda3427b91ccd6e65e6 | [
"MIT"
] | null | null | null | src/arraytexture.cpp | sgynn/worldeditor | 7c26359d3083631477049dda3427b91ccd6e65e6 | [
"MIT"
] | null | null | null | src/arraytexture.cpp | sgynn/worldeditor | 7c26359d3083631477049dda3427b91ccd6e65e6 | [
"MIT"
] | null | null | null | #include "arraytexture.h"
#include <base/dds.h>
#include <base/png.h>
#include <base/opengl.h>
#include <cstring>
#include <cstdio>
// OprnGL extension stuff
#ifdef WIN32
//#define APIENTRYP __stdcall *
#define GL_TEXTURE_2D_ARRAY 0x8C1A
typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, ... | 30.905941 | 235 | 0.663303 | sgynn |
81c262cbf80f3ac94349919c58d74dd09fd05ba1 | 2,674 | hpp | C++ | Source/CpuTimer.hpp | jebreimo/MathPlayground | 49570a869cfd1d3057f905e3bb82348681e97f36 | [
"BSD-2-Clause"
] | null | null | null | Source/CpuTimer.hpp | jebreimo/MathPlayground | 49570a869cfd1d3057f905e3bb82348681e97f36 | [
"BSD-2-Clause"
] | null | null | null | Source/CpuTimer.hpp | jebreimo/MathPlayground | 49570a869cfd1d3057f905e3bb82348681e97f36 | [
"BSD-2-Clause"
] | null | null | null | /* JEBDebug: C++ macros and functions for debugging and profiling
* Copyright 2014 Jan Erik Breimo
* All rights reserved.
*
* This file is distributed under the BSD License.
* License text is included with the source distribution.
*/
#pragma once
#include <chrono>
#include <ostream>
#include <string>
namespace ... | 24.309091 | 74 | 0.599476 | jebreimo |
81c326702024b5ca741e36c7735d6b3177b53b10 | 2,336 | cc | C++ | src/q_851_900/q0875.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | src/q_851_900/q0875.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-12-15T10:51:15.000Z | 2022-01-26T17:03:16.000Z | src/q_851_900/q0875.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <iostream>
#include <vector>
using namespace std;
/**
* This file is generated by leetcode_add.py
*
* 875.
* Koko Eating Bananas
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* Koko loves to eat bananas. There are ‘n’ piles of bananas, t... | 25.391304 | 74 | 0.565925 | vNaonLu |
81c54d7a7927f72858519b64b50fb9bc85cfd158 | 7,070 | cc | C++ | modules/sqlite/ici-sqlite.cc | atrn/ici | 7e796a2198282da3a8dec831740460e74374264d | [
"MIT"
] | 1 | 2021-05-13T18:11:31.000Z | 2021-05-13T18:11:31.000Z | modules/sqlite/ici-sqlite.cc | atrn/ici | 7e796a2198282da3a8dec831740460e74374264d | [
"MIT"
] | null | null | null | modules/sqlite/ici-sqlite.cc | atrn/ici | 7e796a2198282da3a8dec831740460e74374264d | [
"MIT"
] | 2 | 2019-02-01T10:37:55.000Z | 2021-04-12T10:48:55.000Z | /*
* sqlite module.
* Copyright (C) 2019 A.Newman.
*
* This is a module that provides access to SQLite (v3). The module
* defines a handful of native code functions to access the core
* SQLite features and uses ICI code to extend that access.
*
* The module's primary interface is the sqlite.open() functi... | 21.753846 | 86 | 0.569307 | atrn |
81c753e75cbe02fc3ff494a5480814c34847d50d | 3,195 | cpp | C++ | Graphics/tutorials/TexturedOBJApplication.cpp | LoganPletcher/Year-2 | 827d46ace6230225e2cd5638266f10296d410d77 | [
"MIT"
] | null | null | null | Graphics/tutorials/TexturedOBJApplication.cpp | LoganPletcher/Year-2 | 827d46ace6230225e2cd5638266f10296d410d77 | [
"MIT"
] | null | null | null | Graphics/tutorials/TexturedOBJApplication.cpp | LoganPletcher/Year-2 | 827d46ace6230225e2cd5638266f10296d410d77 | [
"MIT"
] | null | null | null | #include "TexturedOBJApplication.h"
#include "gl_core_4_4.h"
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include "Camera.h"
#include "Gizmos.h"
#include "Shader.h"
#include "Mesh.h"
using glm::vec3;
using glm::vec4;
using glm::mat4;
TexturedOBJApplication::TexturedOBJApplication()
: m_ca... | 24.389313 | 84 | 0.693271 | LoganPletcher |
81ca8950503ecc62db0226eab3bc22a6ad48cca6 | 1,373 | cpp | C++ | src/gfxtk/Pipeline.cpp | NostalgicGhoul/gfxtk | 6662d6d1b285e20806ecfef3cdcb620d6605e478 | [
"BSD-2-Clause"
] | null | null | null | src/gfxtk/Pipeline.cpp | NostalgicGhoul/gfxtk | 6662d6d1b285e20806ecfef3cdcb620d6605e478 | [
"BSD-2-Clause"
] | null | null | null | src/gfxtk/Pipeline.cpp | NostalgicGhoul/gfxtk | 6662d6d1b285e20806ecfef3cdcb620d6605e478 | [
"BSD-2-Clause"
] | null | null | null | #include "Pipeline.hpp"
#ifdef GFXTK_GRAPHICS_BACKEND_VULKAN
#include <gfxtk/backend/vulkan/Pipeline.hpp>
#elif GFXTK_GRAPHICS_BACKEND_METAL
#include <gfxtk/backend/metal/Pipeline.hpp>
#else
#error target OS is not supported by any existing graphics backend!
#endif
gfxtk::Pipeline gfxtk::Pipeline::createRenderPipelin... | 37.108108 | 80 | 0.656956 | NostalgicGhoul |
81ceb3fdb278b9ef260a05015140af7f73633bc4 | 969 | cpp | C++ | raytracer/Szene.cpp | KonradHoeffner/raytracer | 0d91a3e3fc338877ca3e747527028581e9ccd6c2 | [
"MIT"
] | null | null | null | raytracer/Szene.cpp | KonradHoeffner/raytracer | 0d91a3e3fc338877ca3e747527028581e9ccd6c2 | [
"MIT"
] | null | null | null | raytracer/Szene.cpp | KonradHoeffner/raytracer | 0d91a3e3fc338877ca3e747527028581e9ccd6c2 | [
"MIT"
] | null | null | null | export module Szene;
import Farbe;
import Kamera;
import BoundingBox;
import Lichtquelle;
import Dreieck;
import Material;
import <list>;
import <string>;
import <map>;
import <list>;
using std::string;
using std::map;
using std::list;
namespace std _GLIBCXX_VISIBILITY(default){} // gcc 11 and 12 bug workaround, see h... | 19.77551 | 185 | 0.77193 | KonradHoeffner |
81d24c7b737a157f0a403a9ba4daabe66c0f476c | 17,208 | cpp | C++ | Source/Frustum.cpp | Myles-Trevino/Frustum | b5faea151d68996378eb485dc6a5bbd788b0fd22 | [
"Apache-2.0"
] | 2 | 2020-08-10T23:26:24.000Z | 2020-08-20T02:10:47.000Z | Source/Frustum.cpp | Myles-Trevino/Frustum | b5faea151d68996378eb485dc6a5bbd788b0fd22 | [
"Apache-2.0"
] | 1 | 2021-03-10T15:39:44.000Z | 2021-03-11T15:44:43.000Z | Source/Frustum.cpp | Myles-Trevino/Frustum | b5faea151d68996378eb485dc6a5bbd788b0fd22 | [
"Apache-2.0"
] | null | null | null | /*
Copyright Myles Trevino
Licensed under the Apache License, Version 2.0
https://www.apache.org/licenses/LICENSE-2.0
*/
#include "Frustum.hpp"
#include <iostream>
#include <fstream>
#include <sstream>
#include <filesystem>
#include <glm/gtc/reciprocal.hpp>
#include <glm/gtx/transform.hpp>
#include <nlohmann/json... | 28.72788 | 87 | 0.698047 | Myles-Trevino |
81d5f90cd2dec452431be5b3117be2c531719711 | 5,237 | cpp | C++ | old/src/camera/Camera.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | 5 | 2018-08-16T00:55:33.000Z | 2020-06-19T14:30:17.000Z | old/src/camera/Camera.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | old/src/camera/Camera.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | #include "camera/Camera.hpp"
#include "math/MatrixUtils.hpp"
#include "glm/gtx/rotate_vector.hpp"
#include "glm/gtx/rotate_normalized_axis.hpp"
#include "glm/gtx/quaternion.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/matrix_access.hpp"
#include "imgui/imgui.h"
#include "scene/InputHandler.hpp"
namesp... | 35.62585 | 111 | 0.59156 | fuchstraumer |
81d61c5b0c34c8db0e9f3bf1fbd0dde9b5ae7e82 | 2,468 | cpp | C++ | examples/hpx/jacobi_smp/jacobi.cpp | tianyi93/hpxMP_mirror | 668e8881a6f2f437a614ae92e205ae49f083691e | [
"BSL-1.0"
] | 22 | 2018-07-16T14:39:17.000Z | 2021-11-08T11:25:09.000Z | examples/hpx/jacobi_smp/jacobi.cpp | tianyi93/hpxMP_mirror | 668e8881a6f2f437a614ae92e205ae49f083691e | [
"BSL-1.0"
] | 25 | 2018-06-18T14:59:09.000Z | 2019-10-16T20:43:57.000Z | examples/hpx/jacobi_smp/jacobi.cpp | tianyi93/hpxMP_mirror | 668e8881a6f2f437a614ae92e205ae49f083691e | [
"BSL-1.0"
] | 8 | 2018-06-22T18:44:35.000Z | 2021-01-21T11:17:28.000Z |
// Copyright (c) 2011-2013 Thomas Heller
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <hpx/hpx_fwd.hpp>
#include <hpx/hpx_init.hpp>
#include <boost/program_options.hpp>
#include <boost/assign.hp... | 26.255319 | 80 | 0.615478 | tianyi93 |
81dba0df98a40bf94d10d6edd4536c488329fc5c | 5,005 | cpp | C++ | examples/retroMenu/OneLoneCoder_PGE_RetroMenu.cpp | Di4l/olcPixelGameEngine | 7dc7f7b9abb64dad670eba421177bb29112786d4 | [
"BSD-3-Clause"
] | null | null | null | examples/retroMenu/OneLoneCoder_PGE_RetroMenu.cpp | Di4l/olcPixelGameEngine | 7dc7f7b9abb64dad670eba421177bb29112786d4 | [
"BSD-3-Clause"
] | null | null | null | examples/retroMenu/OneLoneCoder_PGE_RetroMenu.cpp | Di4l/olcPixelGameEngine | 7dc7f7b9abb64dad670eba421177bb29112786d4 | [
"BSD-3-Clause"
] | null | null | null | /*
Easy To Use "Retro Pop-Up Menu System"
"There's a storm comin'......" - javidx9
License (OLC-3)
~~~~~~~~~~~~~~~
Copyright 2018-2020 OneLoneCoder.com
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributio... | 32.083333 | 96 | 0.708492 | Di4l |
81e44c75bb57694d726351a4c0e96814ef38398f | 31,544 | cpp | C++ | modules/ReplayInputView+/ReplayInputView.cpp | enebe-nb/SokuMods | efe85122aa5532aaad0215d23b2544925d7f4bd6 | [
"Unlicense"
] | 8 | 2021-03-06T08:32:37.000Z | 2022-02-13T16:00:50.000Z | modules/ReplayInputView+/ReplayInputView.cpp | enebe-nb/SokuMods | efe85122aa5532aaad0215d23b2544925d7f4bd6 | [
"Unlicense"
] | 17 | 2020-11-29T12:10:47.000Z | 2022-02-21T23:28:35.000Z | modules/ReplayInputView+/ReplayInputView.cpp | enebe-nb/SokuMods | efe85122aa5532aaad0215d23b2544925d7f4bd6 | [
"Unlicense"
] | 3 | 2021-03-05T13:43:58.000Z | 2021-11-19T15:49:32.000Z | #include <windows.h>
#include "List.h"
#include "common.h"
#include "fields.h"
#include "flags.h"
#include <cstdio>
#include <d3d9.h>
#include <dinput.h>
#include <iostream>
#include <shlwapi.h>
#define SWRS_USES_HASH
#include "swrs.h"
struct Keys {
UINT display_boxes;
UINT display_info;
UINT display_inputs;
UINT... | 31.387065 | 156 | 0.687072 | enebe-nb |
81e8f84931a930c1d9724f5b595aa05175c876f4 | 2,270 | cpp | C++ | graph-source-code/129-B/872119.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/129-B/872119.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/129-B/872119.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: GNU C++
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int n, m, answer = 0;
vector <vector <int> > im;
vector <pair <int, int> > to_ban;
bool delta;
int main(void)
{
#ifdef CUCUMBER
freopen("input.txt", "r", stdin)... | 27.349398 | 79 | 0.386344 | AmrARaouf |
81e9a17394e93a69702d22e00d8fa42d793ab811 | 11,315 | cpp | C++ | Engine/source/afx/ui/afxGuiTextHud.cpp | John3/faustlogic_Torque3D-plus-AFX | 45ea3c81707c944792cd785f87e86bc8085f654a | [
"Unlicense"
] | 13 | 2015-04-13T21:46:01.000Z | 2017-11-20T22:12:04.000Z | Engine/source/afx/ui/afxGuiTextHud.cpp | John3/faustlogic_Torque3D-plus-AFX | 45ea3c81707c944792cd785f87e86bc8085f654a | [
"Unlicense"
] | 1 | 2015-11-16T23:57:12.000Z | 2015-12-01T03:24:08.000Z | Engine/source/afx/ui/afxGuiTextHud.cpp | John3/faustlogic_Torque3D-plus-AFX | 45ea3c81707c944792cd785f87e86bc8085f654a | [
"Unlicense"
] | 7 | 2015-04-14T23:27:16.000Z | 2022-03-29T00:45:37.000Z |
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
// Copyright (C) 2015 Faust Logic, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and ... | 34.392097 | 111 | 0.613345 | John3 |
81f0f8dc0cdb44a848f99052bd19dfc7f3e7ca83 | 7,887 | hpp | C++ | src/NodeId.hpp | JanitzaElectronics/umg801-recordings | 39b39bcbe9dfcf1e7c5b31726951e5d00f2ba63a | [
"MIT"
] | null | null | null | src/NodeId.hpp | JanitzaElectronics/umg801-recordings | 39b39bcbe9dfcf1e7c5b31726951e5d00f2ba63a | [
"MIT"
] | null | null | null | src/NodeId.hpp | JanitzaElectronics/umg801-recordings | 39b39bcbe9dfcf1e7c5b31726951e5d00f2ba63a | [
"MIT"
] | null | null | null | /**
* NodeId
*
* C++ Wrapper Class für UA_NodeId to handle NodeIds in STL-Containers
*
* @file NodeId.hpp
* @namespace
* @copyright 2017 by Janitza electronics GmbH
* @date 24.08.2017
* @note This example misses Node-ID Types GUID and String/ByteString
*
*/
#ifndef NODEID_HPP_
#define NODEID_HPP_
... | 23.684685 | 112 | 0.674908 | JanitzaElectronics |
81f842f2ccc675e916d0d7168ea0e9178caab61d | 3,823 | cpp | C++ | Marcinolaga/ships/Player.cpp | GeNicram/MarciEngine | aca38cd815f5d61de6e6291e10472aee7a8389d8 | [
"MIT"
] | null | null | null | Marcinolaga/ships/Player.cpp | GeNicram/MarciEngine | aca38cd815f5d61de6e6291e10472aee7a8389d8 | [
"MIT"
] | null | null | null | Marcinolaga/ships/Player.cpp | GeNicram/MarciEngine | aca38cd815f5d61de6e6291e10472aee7a8389d8 | [
"MIT"
] | null | null | null | #include "Player.h"
#include "../scene/CurrentScene.h"
#include "../scene/GameplayScene.h"
#include "ShipSettings.h"
#include <EngineObject.h>
#include <MarciEngine.h>
#include <entity/EntityBuilder.h>
#include <entity/PositionComponent.h>
#include <entity/ControlComponent.h>
#include <SFML/Graphics.hpp>
... | 26.006803 | 116 | 0.675647 | GeNicram |
3b484653c2f1859b1c24bc784a68d1ac7b669cc3 | 9,465 | cpp | C++ | csapex_math/tests/src/linear_matrix_test.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 2 | 2016-09-02T15:33:22.000Z | 2019-05-06T22:09:33.000Z | csapex_math/tests/src/linear_matrix_test.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 1 | 2021-02-14T19:53:30.000Z | 2021-02-14T19:53:30.000Z | csapex_math/tests/src/linear_matrix_test.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 6 | 2016-10-12T00:55:23.000Z | 2021-02-10T17:49:25.000Z | #include <csapex_testing/stepping_test.h>
#include <csapex/core/core_plugin.h>
#include <csapex/core/csapex_core.h>
#include <csapex/core/graphio.h>
#include <csapex/core/settings/settings_impl.h>
#include <csapex/factory/node_wrapper.hpp>
#include <csapex/model/graph/graph_impl.h>
#include <csapex/model/io.h>
#includ... | 28.169643 | 132 | 0.684416 | AdrianZw |
3b4900d36851155a30dbba3ebc3f789690819c23 | 8,117 | cc | C++ | src/Camera.cc | markgosling/3D_Platformer | 8a56960fc1c562c80a8b5ec221b776cff812020b | [
"BSD-2-Clause"
] | null | null | null | src/Camera.cc | markgosling/3D_Platformer | 8a56960fc1c562c80a8b5ec221b776cff812020b | [
"BSD-2-Clause"
] | null | null | null | src/Camera.cc | markgosling/3D_Platformer | 8a56960fc1c562c80a8b5ec221b776cff812020b | [
"BSD-2-Clause"
] | null | null | null | #include "Camera.h"
#include <glm/ext.hpp>
#include <iostream>
#include "GameAsset.h"
/**
* @file Camera.cc
* @version 1.0
*
* @section Description
*
* The Camera class is used to store the position of the camera and define a
* boundary box around it. It is also used to generate a view matrix based on
* the ca... | 33.541322 | 151 | 0.741407 | markgosling |
3b4bceb69486176c3353c79a9a5a32dab0c4c8d0 | 16,727 | cc | C++ | Engine/app/terrainfeature/components/TerrainRenderComponentSerialization.cc | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | 26 | 2015-01-15T12:57:40.000Z | 2022-02-16T10:07:12.000Z | Engine/app/terrainfeature/components/TerrainRenderComponentSerialization.cc | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | null | null | null | Engine/app/terrainfeature/components/TerrainRenderComponentSerialization.cc | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | 17 | 2015-02-18T07:51:31.000Z | 2020-06-01T01:10:12.000Z | /****************************************************************************
Copyright (c) 2011-2013,WebJet Business Division,CYOU
http://www.genesis-3d.com.cn
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... | 31.560377 | 171 | 0.673582 | BikkyS |
3b4becab854aae33d3d009003ad1fcb05f3752c0 | 1,118 | cpp | C++ | data/dailyCodingProblem449.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | 2 | 2020-09-04T20:56:23.000Z | 2021-06-11T07:42:26.000Z | data/dailyCodingProblem449.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | null | null | null | data/dailyCodingProblem449.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*
Given an even number (greater than 2), return two prime numbers whose sum will be equal to the given number.
A solution will always exist. See Goldbach’s conjecture.
Example:
Input: 4
Output: 2 + 2 = 4
If there are more than one solution possible, return the lexicogr... | 19.614035 | 108 | 0.618962 | vidit1999 |
3b4d9a1ceb34cda9298af73b5111b4f4a142f686 | 76,865 | cc | C++ | Linux_x86/c/hfcore.cc | umn-cris/TraceRAR | ae16542e65effcb064b86cb95db2d379be01547f | [
"BSD-4-Clause-UC"
] | 4 | 2019-10-14T11:43:47.000Z | 2021-04-28T16:48:16.000Z | Linux_x86/c/hfcore.cc | umn-cris/TraceRAR | ae16542e65effcb064b86cb95db2d379be01547f | [
"BSD-4-Clause-UC"
] | null | null | null | Linux_x86/c/hfcore.cc | umn-cris/TraceRAR | ae16542e65effcb064b86cb95db2d379be01547f | [
"BSD-4-Clause-UC"
] | null | null | null | /* TraceRAR Source Code
© Regents of the University of Minnesota.
This software is licensed under GPL version 3.0 (https://www.gnu.org/licenses/gpl-3.0.en.html).
** File: hfcore.cc
** Authors: Sai Susarla, Weiping He, Jerry Fredin, Ibra Fall,Nikhil Sharma
** Alireza Haghdoost, Bingzh... | 33.624234 | 308 | 0.541742 | umn-cris |
3b4dc93c14ecf63e2735100c5bd8e179000871ea | 776 | cpp | C++ | test/unittests/utils_test.cpp | ILCOINDevelopmentTeam/ivmone | e9ce7ace918567acbd06a8b7f4e83a0f8f27bf49 | [
"Apache-2.0"
] | 7 | 2021-11-06T15:24:44.000Z | 2022-03-10T02:11:27.000Z | test/unittests/utils_test.cpp | vetran86/ivmone | 0c2fd89880b0527a600293e4e96ad93e8831084b | [
"Apache-2.0"
] | null | null | null | test/unittests/utils_test.cpp | vetran86/ivmone | 0c2fd89880b0527a600293e4e96ad93e8831084b | [
"Apache-2.0"
] | 1 | 2021-11-06T15:24:49.000Z | 2021-11-06T15:24:49.000Z | // ivmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The ivmone Authors.
// SPDX-License-Identifier: Apache-2.0
#include <gtest/gtest.h>
#include <test/utils/utils.hpp>
TEST(utils, from_hexx)
{
EXPECT_EQ(hex(from_hexx("")), "");
EXPECT_EQ(hex(from_hexx("(0xca)")), "");
EXPECT_EQ(hex(... | 31.04 | 79 | 0.666237 | ILCOINDevelopmentTeam |
3b4f2ee46943fae17d6db4c3169f3d2604e7b4c2 | 7,452 | ipp | C++ | include/External/stlib/packages/mst/triangulateAtomBot.ipp | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/External/stlib/packages/mst/triangulateAtomBot.ipp | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/External/stlib/packages/mst/triangulateAtomBot.ipp | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | // -*- C++ -*-
#if !defined(__mst_triangulateAtomBot_ipp__)
#error This file is an implementation detail of triangulateAtomBot.
#endif
namespace mst {
// Clip the triangle.
template<typename T, typename Triangle, typename TriangleOutputIterator>
inline
bool
clipTriangle(const geom::Ball<T, 3>& atom, co... | 31.846154 | 81 | 0.56146 | bxl295 |
3b5349dd3f736e5281cb6492ae40a51b0d613afa | 1,790 | cpp | C++ | src/message/MessageV1.cpp | flingone/frameworks_base_cmds_configd | 37e8939072b818ea798c722a95bdb931f67b7325 | [
"Apache-2.0"
] | null | null | null | src/message/MessageV1.cpp | flingone/frameworks_base_cmds_configd | 37e8939072b818ea798c722a95bdb931f67b7325 | [
"Apache-2.0"
] | null | null | null | src/message/MessageV1.cpp | flingone/frameworks_base_cmds_configd | 37e8939072b818ea798c722a95bdb931f67b7325 | [
"Apache-2.0"
] | null | null | null | /*
* Message.cpp
*
* Created on: 2014-7-1
* Author: manson
*/
#include "message/MessageV1.h"
#include "common/Logger.h"
using namespace std;
MessageV1::MessageV1() {
m_Owner = NULL;
}
MessageV1::~MessageV1() {
}
void MessageV1::SetMessageType(string type) {
m_Root[KEY_MESSAGE_TYPE] = type;
}
string M... | 18.842105 | 64 | 0.691061 | flingone |
3b55492563255718f8d8c7247fb2194cdd90e351 | 470 | hpp | C++ | Assignment6/Intersection.hpp | fuzhanzhan/Games101 | 9345d70283c44649e0fd99975361a2909ef4bdbe | [
"MIT"
] | 9 | 2020-07-27T12:03:38.000Z | 2021-11-01T09:26:31.000Z | Assignment6/Intersection.hpp | fuzhanzhan/Games101 | 9345d70283c44649e0fd99975361a2909ef4bdbe | [
"MIT"
] | null | null | null | Assignment6/Intersection.hpp | fuzhanzhan/Games101 | 9345d70283c44649e0fd99975361a2909ef4bdbe | [
"MIT"
] | 8 | 2020-08-20T02:56:56.000Z | 2022-03-06T12:09:35.000Z | #ifndef RAYTRACING_INTERSECTION_H
#define RAYTRACING_INTERSECTION_H
#include "Vector.hpp"
#include "Material.hpp"
class Object;
class Sphere;
struct Intersection
{
Intersection()
{
happened = false;
coords = Vector3f();
normal = Vector3f();
distance = std::numeric_limits<double>::max();
obj = nullptr;
m ... | 17.407407 | 48 | 0.729787 | fuzhanzhan |
3b56c61927f7e4304ab0965ac589d9d7bc11c7c3 | 995 | hpp | C++ | libs/projectile/include/sge/projectile/ghost/scoped.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/projectile/include/sge/projectile/ghost/scoped.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/projectile/include/sge/projectile/ghost/scoped.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// 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 SGE_PROJECTILE_GHOST_SCOPED_HPP_INCLUDED
#define SGE_PROJECTILE_GHOST_SCOPED_HPP_INCLUDED
... | 23.690476 | 61 | 0.748744 | cpreh |
3b573de217694ee4c4ce704b750b5b812c801271 | 916 | cpp | C++ | root/dir.cpp | thunguyen83/watchman | 10e44569d542ac9a06c13d99133394cd376cdabf | [
"Apache-2.0"
] | 1 | 2021-08-10T05:51:00.000Z | 2021-08-10T05:51:00.000Z | root/dir.cpp | thunguyen83/watchman | 10e44569d542ac9a06c13d99133394cd376cdabf | [
"Apache-2.0"
] | null | null | null | root/dir.cpp | thunguyen83/watchman | 10e44569d542ac9a06c13d99133394cd376cdabf | [
"Apache-2.0"
] | null | null | null | /* Copyright 2012-present Facebook, Inc.
* Licensed under the Apache License, Version 2.0 */
#include "watchman.h"
void watchman_dir::Deleter::operator()(watchman_file* file) const {
free_file_node(file);
}
watchman_dir::watchman_dir(w_string name, watchman_dir* parent)
: name(name), parent(parent) {}
watchm... | 22.341463 | 67 | 0.689956 | thunguyen83 |
3b577ee7fb0c3212177e182f503c46fc36da38a2 | 741 | cpp | C++ | LeetcodeProblems/989E_Add_to_Array_Form_of_Integer.cpp | dimabreeze/Interview | 72959c660c242dd22f456b24d8426c448bd1d5e9 | [
"MIT"
] | null | null | null | LeetcodeProblems/989E_Add_to_Array_Form_of_Integer.cpp | dimabreeze/Interview | 72959c660c242dd22f456b24d8426c448bd1d5e9 | [
"MIT"
] | null | null | null | LeetcodeProblems/989E_Add_to_Array_Form_of_Integer.cpp | dimabreeze/Interview | 72959c660c242dd22f456b24d8426c448bd1d5e9 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "989E_Add_to_Array_Form_of_Integer.h"
using namespace Leetcode::LC989E;
using namespace std;
vector<int> Solution::addToArrayForm( vector<int> A, int k ) {
using VI = vector<int>;
int carry = 0;
auto i = A.rbegin();
for (auto rend = A.rend(); i != rend; ++i)
{
*i += carry + k % 10;
... | 14.529412 | 62 | 0.527665 | dimabreeze |
3b578e8e7d0a5afa7588aa60534935e080013495 | 905 | hpp | C++ | include/flectron/utils/vertex.hpp | morswin22/flectron | 33f81d1f6f968a2c11030d696da6db556b77e6d9 | [
"MIT"
] | 1 | 2022-03-16T21:12:41.000Z | 2022-03-16T21:12:41.000Z | include/flectron/utils/vertex.hpp | morswin22/flectron | 33f81d1f6f968a2c11030d696da6db556b77e6d9 | [
"MIT"
] | null | null | null | include/flectron/utils/vertex.hpp | morswin22/flectron | 33f81d1f6f968a2c11030d696da6db556b77e6d9 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <flectron/physics/vector.hpp>
namespace flectron
{
enum WindingOrder : short;
std::vector<size_t> trianglesFromVertices(std::vector<Vector>& vertices);
int getIndex(int index, int length);
bool isPointInTriangle(const Vector& point, const Vector& a, const Vector& b, c... | 36.2 | 97 | 0.749171 | morswin22 |
3b58bc46c1297fe7425d735ec7dfe4a7e9d519c9 | 1,393 | cc | C++ | src/quantsystem/compression/test/compression_test.cc | ydxt25/QuantSystem | b4298121ce8fbe13d8fe7fcaf502565736df9bfe | [
"Apache-2.0"
] | 49 | 2016-11-03T20:51:45.000Z | 2022-03-30T22:34:25.000Z | src/quantsystem/compression/test/compression_test.cc | seepls/QuantSystem | b4298121ce8fbe13d8fe7fcaf502565736df9bfe | [
"Apache-2.0"
] | null | null | null | src/quantsystem/compression/test/compression_test.cc | seepls/QuantSystem | b4298121ce8fbe13d8fe7fcaf502565736df9bfe | [
"Apache-2.0"
] | 33 | 2016-07-17T05:19:59.000Z | 2022-03-07T17:45:57.000Z | #include <string>
using std::string;
#include <iostream> // NOLINT
using std::istream;
#include "quantsystem/common/strings/strcat.h"
#include "quantsystem/common/util/file.h"
#include "quantsystem/common/util/curl_processor.h"
#include "quantsystem/compression/compression.h"
#include "quantsystem/configuration/test/q... | 30.282609 | 72 | 0.740129 | ydxt25 |
3b59b69e9a6a8937aab7939eda9fdfd1579ad28b | 19,088 | cxx | C++ | ParaViewCore/VTKExtensions/Default/vtkGridAxes3DActor.cxx | vbnhfylbh/ParaViewRUS | e65ea0edc5d23e593afecd623cbd047282f4c834 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2019-04-22T09:09:18.000Z | 2019-04-22T09:09:18.000Z | ParaViewCore/VTKExtensions/Default/vtkGridAxes3DActor.cxx | vbnhfylbh/ParaViewRUS | e65ea0edc5d23e593afecd623cbd047282f4c834 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ParaViewCore/VTKExtensions/Default/vtkGridAxes3DActor.cxx | vbnhfylbh/ParaViewRUS | e65ea0edc5d23e593afecd623cbd047282f4c834 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-06-23T09:05:08.000Z | 2020-06-23T09:05:08.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkGridAxes3DActor.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softwa... | 30.012579 | 110 | 0.532534 | vbnhfylbh |
3b5f32c39cbaf8db799d0a91f1e561697cb45b0b | 43,803 | inl | C++ | Library/Sources/Stroika/Frameworks/Led/WordProcessor.inl | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Library/Sources/Stroika/Frameworks/Led/WordProcessor.inl | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Library/Sources/Stroika/Frameworks/Led/WordProcessor.inl | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /*
* Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved
*/
#ifndef _Stroika_Framework_Led_WordProcessor_inl_
#define _Stroika_Framework_Led_WordProcessor_inl_ 1
/*
********************************************************************************
***************************** Implementation Details... | 39.074933 | 229 | 0.596831 | SophistSolutions |
3b628750e488bc1fa6003568167868b5618d0584 | 6,559 | cpp | C++ | src/cfg.cpp | Tsunamods/FFNx | 46652a1e6184fbe7b058fdc8bdaa45867c345bba | [
"MIT"
] | null | null | null | src/cfg.cpp | Tsunamods/FFNx | 46652a1e6184fbe7b058fdc8bdaa45867c345bba | [
"MIT"
] | null | null | null | src/cfg.cpp | Tsunamods/FFNx | 46652a1e6184fbe7b058fdc8bdaa45867c345bba | [
"MIT"
] | null | null | null | /*
* FFNx - Complete OpenGL replacement of the Direct3D renderer used in
* the original ports of Final Fantasy VII and Final Fantasy VIII for the PC.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwar... | 38.810651 | 133 | 0.786095 | Tsunamods |
3b6328b38481c052383524bd577c2ab32daca9d4 | 4,352 | cpp | C++ | src/Blocks/BlockBed.cpp | planetx/MCServer | 4e119b522409af682e62ed38f4d22ddd9da40170 | [
"Apache-2.0"
] | null | null | null | src/Blocks/BlockBed.cpp | planetx/MCServer | 4e119b522409af682e62ed38f4d22ddd9da40170 | [
"Apache-2.0"
] | null | null | null | src/Blocks/BlockBed.cpp | planetx/MCServer | 4e119b522409af682e62ed38f4d22ddd9da40170 | [
"Apache-2.0"
] | null | null | null | #include "Globals.h"
#include "BlockBed.h"
#include "BroadcastInterface.h"
#include "ChunkInterface.h"
#include "Entities/../World.h"
#include "Entities/Player.h"
#include "WorldInterface.h"
void cBlockBedHandler::OnPlacedByPlayer(
cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlaye... | 25.6 | 231 | 0.734145 | planetx |
3b65ea1d36be4cc22683ec95bb7798e15065c641 | 442 | cpp | C++ | doc/cppnow-2016/example/ctor2.cpp | szigetics/di | 48eccb76aee03f0eceafe9bf47a713a8c0e7d810 | [
"BSL-1.0"
] | 531 | 2016-01-28T21:51:28.000Z | 2020-06-23T10:59:52.000Z | doc/cppnow-2016/example/ctor2.cpp | szigetics/di | 48eccb76aee03f0eceafe9bf47a713a8c0e7d810 | [
"BSL-1.0"
] | 243 | 2016-02-11T14:28:01.000Z | 2020-06-22T08:53:13.000Z | doc/cppnow-2016/example/ctor2.cpp | szigetics/di | 48eccb76aee03f0eceafe9bf47a713a8c0e7d810 | [
"BSL-1.0"
] | 86 | 2016-02-01T21:49:15.000Z | 2020-06-17T14:38:53.000Z | //
// Copyright (c) 2012-2020 Kris Jusiak (kris at jusiak dot net)
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <type_traits>
struct any_type {
template<class T>
operator T();
};
int main() ... | 20.090909 | 90 | 0.69457 | szigetics |
3b6d687a5bf739a3b95081c587f6004f769bfe7c | 19,388 | cpp | C++ | Source/AliveLibAO/DDCheat.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | 1 | 2021-04-11T23:44:43.000Z | 2021-04-11T23:44:43.000Z | Source/AliveLibAO/DDCheat.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | Source/AliveLibAO/DDCheat.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | #include "stdafx_ao.h"
#include "DDCheat.hpp"
#include "PsxDisplay.hpp"
#include "Psx.hpp"
#include "ResourceManager.hpp"
#include "ScreenManager.hpp"
#include "Function.hpp"
#include "PathData.hpp"
#include "Abe.hpp"
#include "Map.hpp"
#include "Slig.hpp"
#include "Input.hpp"
#include "Elum.hpp"
#include "Game.hpp"
#i... | 31.679739 | 177 | 0.571126 | THEONLYDarkShadow |
3b6daf9898d099a72b5c89d377e144d1c51f6608 | 935 | cpp | C++ | src/asio_executor/asio_executor.cpp | florianbehrens/DeCoF2 | 7d7c0e62c1773fe9fc6d245301fa28eb7e9c7865 | [
"Apache-2.0"
] | 2 | 2015-08-05T02:02:00.000Z | 2020-12-10T05:51:10.000Z | src/asio_executor/asio_executor.cpp | florianbehrens/DeCoF2 | 7d7c0e62c1773fe9fc6d245301fa28eb7e9c7865 | [
"Apache-2.0"
] | 33 | 2015-07-29T12:11:17.000Z | 2020-07-11T13:16:00.000Z | src/asio_executor/asio_executor.cpp | florianbehrens/DeCoF2 | 7d7c0e62c1773fe9fc6d245301fa28eb7e9c7865 | [
"Apache-2.0"
] | 6 | 2016-03-08T14:41:46.000Z | 2020-07-09T12:56:52.000Z | /*
* Copyright (c) 2017 Florian Behrens
*
* 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 ag... | 22.804878 | 75 | 0.726203 | florianbehrens |
3b6f881c121666f3abd97ea0c319904fdbad07ac | 1,313 | cpp | C++ | test/3rdparty/rapidcheck/test/detail/Base64Tests.cpp | tov/xxint | 7b825d0f04eb85f69d48a0e3a32b8ee57c306e64 | [
"MIT"
] | null | null | null | test/3rdparty/rapidcheck/test/detail/Base64Tests.cpp | tov/xxint | 7b825d0f04eb85f69d48a0e3a32b8ee57c306e64 | [
"MIT"
] | null | null | null | test/3rdparty/rapidcheck/test/detail/Base64Tests.cpp | tov/xxint | 7b825d0f04eb85f69d48a0e3a32b8ee57c306e64 | [
"MIT"
] | null | null | null | #include <catch.hxx>
#include <rapidcheck/catch.h>
#include "detail/Base64.h"
#include "detail/ParseException.h"
using namespace rc;
using namespace rc::detail;
TEST_CASE("base64") {
prop("base64Decode(base64Encode(data)) == data",
[](const std::vector<std::uint8_t> &data) {
RC_ASSERT(base64Decode(... | 32.825 | 76 | 0.606245 | tov |
3b704813ec8ec4af166f2cddfa505594395b87be | 3,038 | cc | C++ | p4_pdpi/pdgen.cc | fichtl/sonic-pins | 60d2467b03cf67b9a61be5be7b6840b63dbb9c5b | [
"Apache-2.0"
] | 6 | 2021-12-08T17:29:38.000Z | 2022-02-17T20:36:54.000Z | p4_pdpi/pdgen.cc | fichtl/sonic-pins | 60d2467b03cf67b9a61be5be7b6840b63dbb9c5b | [
"Apache-2.0"
] | 2 | 2022-01-20T08:55:05.000Z | 2022-03-08T18:30:11.000Z | p4_pdpi/pdgen.cc | fichtl/sonic-pins | 60d2467b03cf67b9a61be5be7b6840b63dbb9c5b | [
"Apache-2.0"
] | 5 | 2021-12-10T02:41:52.000Z | 2022-03-03T06:59:23.000Z | // Copyright 2020 Google LLC
//
// 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 ... | 31.319588 | 79 | 0.676761 | fichtl |
3b71b7b76f94b6f28bd9dbce368bc25da59f2056 | 3,287 | cpp | C++ | server/CoordinateTimeTracking.cpp | goreacraft/OneLife | 53897c580b97ed72013a59e52925953256b96175 | [
"Linux-OpenIB"
] | 69 | 2018-10-05T23:29:10.000Z | 2022-03-29T22:34:24.000Z | server/CoordinateTimeTracking.cpp | goreacraft/OneLife | 53897c580b97ed72013a59e52925953256b96175 | [
"Linux-OpenIB"
] | 62 | 2018-11-08T14:14:40.000Z | 2022-03-01T20:38:01.000Z | server/CoordinateTimeTracking.cpp | goreacraft/OneLife | 53897c580b97ed72013a59e52925953256b96175 | [
"Linux-OpenIB"
] | 24 | 2018-10-11T09:20:27.000Z | 2021-11-06T19:23:17.000Z | #include "CoordinateTimeTracking.h"
CoordinateTimeTracking::CoordinateTimeTracking()
:mNextIndex( 0 ) {
}
char CoordinateTimeTracking::checkExists( int inX, int inY,
timeSec_t inCurTime ) {
int dir = 1;
int numRecords = mRecords.size();
... | 24.529851 | 76 | 0.401886 | goreacraft |
3b74fa1da51d42d9786a711f1f658d44240ae82d | 2,637 | cpp | C++ | jbmc/src/java_bytecode/code_with_references.cpp | jimgrundy/cbmc | 8d314eb3448e63d9baf2430ba42326b67f830b92 | [
"BSD-4-Clause"
] | 412 | 2016-04-02T01:14:27.000Z | 2022-03-27T09:24:09.000Z | jbmc/src/java_bytecode/code_with_references.cpp | jimgrundy/cbmc | 8d314eb3448e63d9baf2430ba42326b67f830b92 | [
"BSD-4-Clause"
] | 4,671 | 2016-02-25T13:52:16.000Z | 2022-03-31T22:14:46.000Z | jbmc/src/java_bytecode/code_with_references.cpp | jimgrundy/cbmc | 8d314eb3448e63d9baf2430ba42326b67f830b92 | [
"BSD-4-Clause"
] | 266 | 2016-02-23T12:48:00.000Z | 2022-03-22T18:15:51.000Z | /*******************************************************************\
Module: Java bytecode
Author: Romain Brenguier, romain.brenguier@diffblue.com
\*******************************************************************/
#include "code_with_references.h"
#include "java_types.h"
#include <goto-programs/goto_instructio... | 32.9625 | 80 | 0.733788 | jimgrundy |
3b7cf1732e11aa6398057f8b692de3fa7131495e | 291 | cpp | C++ | ekbase/plaza/heartbeatdesc.cpp | artintexo/exkit | 18d71e84d688060f0c30af456dcbec5252ebbdac | [
"MIT"
] | 2 | 2019-05-20T10:02:16.000Z | 2021-01-04T06:18:55.000Z | ekbase/plaza/heartbeatdesc.cpp | artintexo/exkit | 18d71e84d688060f0c30af456dcbec5252ebbdac | [
"MIT"
] | null | null | null | ekbase/plaza/heartbeatdesc.cpp | artintexo/exkit | 18d71e84d688060f0c30af456dcbec5252ebbdac | [
"MIT"
] | 3 | 2020-09-07T06:44:54.000Z | 2022-01-01T11:52:33.000Z | #include "heartbeatdesc.h"
HeartbeatDesc::HeartbeatDesc()
: Description("heartbeat")
{
Push(FieldDesc("replID", "i8", &replId));
Push(FieldDesc("replRev", "i8", &replRev));
Push(FieldDesc("replAct", "i8", &replAct));
Push(FieldDesc("server_time", "t", &serverTime));
}
| 24.25 | 53 | 0.642612 | artintexo |
3b8322984edcd97d992f63e4e0258b12b985e105 | 4,729 | cpp | C++ | tests/stms/async_test.cpp | RotartsiORG/StoneMason | 0f6efefad68b29e7e82524e705ce47606ba53665 | [
"Apache-2.0"
] | 1 | 2021-10-02T19:31:14.000Z | 2021-10-02T19:31:14.000Z | tests/stms/async_test.cpp | RotartsiORG/StoneMason | 0f6efefad68b29e7e82524e705ce47606ba53665 | [
"Apache-2.0"
] | 1 | 2020-06-17T01:15:45.000Z | 2020-06-17T01:16:08.000Z | tests/stms/async_test.cpp | RotartsiORG/StoneMason | 0f6efefad68b29e7e82524e705ce47606ba53665 | [
"Apache-2.0"
] | 1 | 2020-10-17T23:57:27.000Z | 2020-10-17T23:57:27.000Z | //
// Created by grant on 1/2/20.
//
#include <utility>
#include "gtest/gtest.h"
#include "stms/async.hpp"
#include "stms/scheduler.hpp"
#include "stms/logging.hpp"
namespace {
const int numTasks = 8;
struct WorkArgs {
unsigned wait;
std::string *pStr;
std::mutex *pStrMtx;
st... | 27.33526 | 134 | 0.510679 | RotartsiORG |
3b85241a1fcc23a02e342f0a6ba5b8a33bb70f93 | 3,151 | cpp | C++ | modules/ti.UI/gtk/gtk_tray_item.cpp | pjunior/titanium | 2d5846849fb33291afd73d79c117ea990b54db77 | [
"Apache-2.0"
] | 3 | 2016-03-15T23:50:35.000Z | 2016-05-09T09:36:10.000Z | modules/ti.UI/gtk/gtk_tray_item.cpp | pjunior/titanium | 2d5846849fb33291afd73d79c117ea990b54db77 | [
"Apache-2.0"
] | null | null | null | modules/ti.UI/gtk/gtk_tray_item.cpp | pjunior/titanium | 2d5846849fb33291afd73d79c117ea990b54db77 | [
"Apache-2.0"
] | null | null | null | /**
* Appcelerator Titanium - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved.
*/
#include "../ui_module.h"
namespace ti
{
void tray_click_callback(GtkStatusIcon*, gpointer);
void tray_menu_callb... | 18.535294 | 71 | 0.67312 | pjunior |
3b8906329179894dce5d207f4d8e3fed4f09ae55 | 1,177 | cpp | C++ | Infrastructure/KEI.Infrastructure.CLR/MessageBoxService.cpp | athulrajts/Resusables | 0ef297ab0501b305589402d0aec0c1da80313b04 | [
"MIT"
] | null | null | null | Infrastructure/KEI.Infrastructure.CLR/MessageBoxService.cpp | athulrajts/Resusables | 0ef297ab0501b305589402d0aec0c1da80313b04 | [
"MIT"
] | null | null | null | Infrastructure/KEI.Infrastructure.CLR/MessageBoxService.cpp | athulrajts/Resusables | 0ef297ab0501b305589402d0aec0c1da80313b04 | [
"MIT"
] | null | null | null | #pragma once
#include "pch.h"
#include "MessageBoxService.h"
using namespace System;
void MessageBoxService::ErrorDialog(std::string message)
{
System::Windows::MessageBox::Show(gcnew String(message.c_str()),
gcnew String("Error"),
System::Windows::MessageBoxButton::OK,
System::Windows::MessageBoxImage::Erro... | 28.707317 | 108 | 0.762957 | athulrajts |
3b8b6dacb4fcb866f9b6a9e2f81588aab108c762 | 1,029 | ipp | C++ | src/Arguments.ipp | Xeth/libabi | b0100834ad6ba9de6bf8a158acfb9e50865d5b59 | [
"MIT"
] | 2 | 2016-07-01T10:23:15.000Z | 2016-09-12T19:40:11.000Z | src/Arguments.ipp | BitProfile/libabi | b0100834ad6ba9de6bf8a158acfb9e50865d5b59 | [
"MIT"
] | null | null | null | src/Arguments.ipp | BitProfile/libabi | b0100834ad6ba9de6bf8a158acfb9e50865d5b59 | [
"MIT"
] | null | null | null |
namespace Ethereum{namespace ABI{
template<class T>
Arguments & Arguments::operator()(const T &val)
{
add(val);
return *this;
}
template<size_t size>
void Arguments::add(const boost::array<unsigned char, size> &val)
{
addFixedVar(_serializer.serializeFixedData(val.data(), val.size()));
}
template<cl... | 19.788462 | 94 | 0.663751 | Xeth |
3b8b97e0db8ce8b774afe153530f2419b56b67f5 | 299 | hpp | C++ | src/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Solutions.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | 2 | 2021-04-11T04:07:42.000Z | 2021-04-11T05:07:54.000Z | src/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Solutions.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | 1 | 2022-03-25T18:26:16.000Z | 2022-03-25T19:30:39.000Z | src/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Solutions.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | 1 | 2019-01-03T21:47:04.000Z | 2019-01-03T21:47:04.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
/// \file
/// Defines gr::Solutions
#pragma once
namespace gr {
/*!
* \ingroup AnalyticSolutionsGroup
* \brief Classes which implement analytic solutions to Einstein's equations
*/
namespace Solutions {}
} // namespace gr
| 18.6875 | 76 | 0.722408 | marissawalker |
3b8cfa2c5400a30ca8c9b214ff1cb9e739f102f5 | 9,443 | cpp | C++ | src/core/tree/process.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | src/core/tree/process.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | src/core/tree/process.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | /*
* djnn v2
*
* The copyright holders for the contents of this file are:
* Ecole Nationale de l'Aviation Civile, France (2018)
* See file "license.terms" for the rights and conditions
* defined by copyright holders.
*
*
* Contributors:
* Mathieu Magnaudet <mathieu.magnaudet@enac.fr>
*
*/
#i... | 22.536993 | 138 | 0.595997 | alicemona |
3b8f155b2af5bc0b54be8e57227fbfa5b50ca703 | 2,835 | cpp | C++ | test/CircularBufferLoggerTests.cpp | pearlfact/arduino-logger-sdfat | dc184682440570036c9af3f1532253bb5e4bc7cc | [
"MIT"
] | 23 | 2020-01-12T17:51:59.000Z | 2022-01-06T21:10:35.000Z | test/CircularBufferLoggerTests.cpp | pearlfact/arduino-logger-sdfat | dc184682440570036c9af3f1532253bb5e4bc7cc | [
"MIT"
] | 20 | 2019-10-09T22:24:38.000Z | 2021-10-10T16:45:50.000Z | test/CircularBufferLoggerTests.cpp | pearlfact/arduino-logger-sdfat | dc184682440570036c9af3f1532253bb5e4bc7cc | [
"MIT"
] | 6 | 2019-10-24T19:46:58.000Z | 2021-04-28T12:44:26.000Z | #include <CircularBufferLogger.h>
#include <catch.hpp>
#include <string>
#include <test_helper.hpp>
TEST_CASE("CB: Create a logger", "[CircularBufferLogger]")
{
CircularLogBufferLogger<1024> logger;
// Check default values
CHECK(0 == logger.size());
CHECK(1024 == logger.capacity());
CHECK(true == logger.enabled(... | 28.636364 | 91 | 0.737919 | pearlfact |
3b959e4297082f187474833921abac01e7d5c10d | 1,089 | cpp | C++ | codeforces/B - Weird Rounding/Time limit exceeded on test 1.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/B - Weird Rounding/Time limit exceeded on test 1.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/B - Weird Rounding/Time limit exceeded on test 1.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Feb/26/2017 18:20
* solution_verdict: Time limit exceeded on test 1 language: GNU C++11
* run... | 27.225 | 111 | 0.330579 | kzvd4729 |
3b96b7a6c128872ff6451c1cbce59f08e73f897f | 6,046 | cpp | C++ | src/oxtra/dispatcher/syscalls.cpp | oxtra/oxtra | cd538062869bfe68fc8552604c22334589d7380c | [
"BSD-3-Clause"
] | 9 | 2019-10-22T19:44:25.000Z | 2021-05-02T17:47:14.000Z | src/oxtra/dispatcher/syscalls.cpp | oxtra/oxtra | cd538062869bfe68fc8552604c22334589d7380c | [
"BSD-3-Clause"
] | 1 | 2020-11-16T20:06:14.000Z | 2020-11-16T20:06:14.000Z | src/oxtra/dispatcher/syscalls.cpp | oxtra/oxtra | cd538062869bfe68fc8552604c22334589d7380c | [
"BSD-3-Clause"
] | 2 | 2020-11-16T17:05:47.000Z | 2021-05-02T17:47:16.000Z | #include "syscalls.h"
#include "dispatcher.h"
#include "execution_context.h"
#include "oxtra/logger/logger.h"
#include <cstring>
#include <fcntl.h>
#include <sys/stat.h>
#undef st_atime
#undef st_mtime
#undef st_ctime
void dispatcher::syscalls::open(dispatcher::ExecutionContext* context) {
const auto file = reinte... | 32.505376 | 122 | 0.724446 | oxtra |
3b9951dd799e1f4f1b19a12a96073b3cb1e43ef1 | 7,028 | cpp | C++ | FrameTL/tests/test_frame_index.cpp | kedingagnumerikunimarburg/Marburg_Software_Library | fe53c3ae9db23fc3cb260a735b13a1c6d2329c17 | [
"MIT"
] | 3 | 2018-05-20T15:25:58.000Z | 2021-01-19T18:46:48.000Z | FrameTL/tests/test_frame_index.cpp | agnumerikunimarburg/Marburg_Software_Library | fe53c3ae9db23fc3cb260a735b13a1c6d2329c17 | [
"MIT"
] | null | null | null | FrameTL/tests/test_frame_index.cpp | agnumerikunimarburg/Marburg_Software_Library | fe53c3ae9db23fc3cb260a735b13a1c6d2329c17 | [
"MIT"
] | 2 | 2019-04-24T18:23:26.000Z | 2020-09-17T10:00:27.000Z |
#include <iostream>
#include <frame_index.h>
#include <time.h>
#include <interval/ds_basis.h>
#include <interval/p_basis.h>
#include <cube/cube_basis.h>
using std::cout;
using std::endl;
using FrameTL::FrameIndex;
using FrameTL::AggregatedFrame;
using WaveletTL::CubeIndex;
using namespace FrameTL;
using namespac... | 24.746479 | 125 | 0.564172 | kedingagnumerikunimarburg |
3b9ec0c4d6d98b1b8d7f1830f8572177cedb5932 | 6,043 | cpp | C++ | tools/caffeine/main.cpp | Phantomical/caffeine | c8b1b6cee4c7c34bb0574b57cbd213472b2f477b | [
"MIT"
] | null | null | null | tools/caffeine/main.cpp | Phantomical/caffeine | c8b1b6cee4c7c34bb0574b57cbd213472b2f477b | [
"MIT"
] | null | null | null | tools/caffeine/main.cpp | Phantomical/caffeine | c8b1b6cee4c7c34bb0574b57cbd213472b2f477b | [
"MIT"
] | null | null | null |
#include "caffeine/Interpreter/CaffeineContext.h"
#include "caffeine/Interpreter/Context.h"
#include "caffeine/Interpreter/Interpreter.h"
#include "caffeine/Interpreter/Policy.h"
#include "caffeine/Interpreter/Store.h"
#include "caffeine/Interpreter/ThreadQueueStore.h"
#include "caffeine/Solver/LoggingSolver.h"
#inclu... | 33.203297 | 80 | 0.674996 | Phantomical |
3ba0d7d65aeac370b4f8540545ba06374d2832e6 | 1,302 | cpp | C++ | Modules/Math/Source/Core/Angle.cpp | larsoad/pargon-framework | 0f616c889c329d66ea89a6358ccb0ce1efe13c41 | [
"MIT"
] | null | null | null | Modules/Math/Source/Core/Angle.cpp | larsoad/pargon-framework | 0f616c889c329d66ea89a6358ccb0ce1efe13c41 | [
"MIT"
] | null | null | null | Modules/Math/Source/Core/Angle.cpp | larsoad/pargon-framework | 0f616c889c329d66ea89a6358ccb0ce1efe13c41 | [
"MIT"
] | null | null | null | #include "Pargon/Math/Angle.h"
#include "Pargon/Serialization/BufferReader.h"
#include "Pargon/Serialization/BufferWriter.h"
#include "Pargon/Serialization/StringReader.h"
#include "Pargon/Serialization/StringWriter.h"
using namespace Pargon;
void Angle::ToBuffer(BufferWriter& writer) const
{
writer.Write(_radians);... | 24.566038 | 148 | 0.725038 | larsoad |
3ba2f37f822a5530a26790992986a5d29984458b | 5,696 | cpp | C++ | piel/gavcversionscomparator.cpp | diakovliev/pie | eb957a5e44496ba802d8b4fcace64ad48be16871 | [
"BSD-3-Clause"
] | null | null | null | piel/gavcversionscomparator.cpp | diakovliev/pie | eb957a5e44496ba802d8b4fcace64ad48be16871 | [
"BSD-3-Clause"
] | null | null | null | piel/gavcversionscomparator.cpp | diakovliev/pie | eb957a5e44496ba802d8b4fcace64ad48be16871 | [
"BSD-3-Clause"
] | 1 | 2017-12-28T11:37:42.000Z | 2017-12-28T11:37:42.000Z | /*
* Copyright (c) 2017, Dmytro Iakovliev daemondzk@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* no... | 30.956522 | 133 | 0.632022 | diakovliev |
3ba3bb84a838077cd4de1a3d8f6075bd413f7e7b | 2,196 | cpp | C++ | src/mongocxx/private/conversions.cpp | oledahle/mongo-cxx-driver | 60509b2d430b94d8e52d05502fb60e7b91c63cba | [
"Apache-2.0"
] | 934 | 2015-01-02T14:49:43.000Z | 2022-03-16T01:21:42.000Z | src/mongocxx/private/conversions.cpp | oledahle/mongo-cxx-driver | 60509b2d430b94d8e52d05502fb60e7b91c63cba | [
"Apache-2.0"
] | 533 | 2015-01-07T18:45:30.000Z | 2022-03-23T00:44:26.000Z | src/mongocxx/private/conversions.cpp | PiratesOnlineClassic/mongo-cxx-driver | 8371f2ea47b24fe1eebd89131d35b1f42e50777d | [
"Apache-2.0"
] | 570 | 2015-01-04T05:47:04.000Z | 2022-03-28T11:12:38.000Z | // Copyright 2017 MongoDB 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 required by applicable law or agreed to in wri... | 35.419355 | 85 | 0.73816 | oledahle |
3ba58770a060acadc0d108636e91afaa201f9a25 | 2,911 | hpp | C++ | concurrent.hpp | ralphtandetzky/cpp_utils | 3adfed125db6fccd7478385544b96ceecdf435e7 | [
"MIT"
] | 3 | 2018-01-04T18:07:32.000Z | 2021-09-01T14:19:43.000Z | concurrent.hpp | ralphtandetzky/cpp_utils | 3adfed125db6fccd7478385544b96ceecdf435e7 | [
"MIT"
] | null | null | null | concurrent.hpp | ralphtandetzky/cpp_utils | 3adfed125db6fccd7478385544b96ceecdf435e7 | [
"MIT"
] | null | null | null | /** @file Defines the class cu::Concurrent.
* @author Ralph Tandetzky
*/
#pragma once
#include "functors.hpp"
#include <memory>
#include <utility>
namespace cu
{
/// Wraps the type T, so that all accesses are asynchroneous.
///
/// The @c Executor template argument should be a class that implements
/// an @c ope... | 30.322917 | 77 | 0.663346 | ralphtandetzky |
3ba9429508a2c6c9f0c9e854ee7d8360fe44e60e | 29,363 | cpp | C++ | test/old-tests/unit/test-sharedmem.cpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | 1 | 2020-04-28T20:35:12.000Z | 2020-04-28T20:35:12.000Z | test/old-tests/unit/test-sharedmem.cpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | null | null | null | test/old-tests/unit/test-sharedmem.cpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | 1 | 2020-06-07T13:26:40.000Z | 2020-06-07T13:26:40.000Z | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2016-20, Lawrence Livermore National Security, LLC
// and RAJA project contributors. See the RAJA/COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | 30.271134 | 130 | 0.594864 | ggeorgakoudis |
3bac09b25444929bb3e89d2dccf7168150020fc3 | 2,559 | cpp | C++ | testing/parser/css/tokenizer_consumeescapedcodepoint.cpp | usadson/WebEngine | 73f436535a70c6c9d7f3a5c565650b6152effd8d | [
"BSD-2-Clause"
] | 3 | 2020-03-28T01:36:44.000Z | 2020-06-19T23:55:08.000Z | testing/parser/css/tokenizer_consumeescapedcodepoint.cpp | usadson/WebEngine | 73f436535a70c6c9d7f3a5c565650b6152effd8d | [
"BSD-2-Clause"
] | null | null | null | testing/parser/css/tokenizer_consumeescapedcodepoint.cpp | usadson/WebEngine | 73f436535a70c6c9d7f3a5c565650b6152effd8d | [
"BSD-2-Clause"
] | null | null | null | /**
* Copyright (C) 2020 Tristan. All Rights Reserved.
* This file is licensed under the BSD 2-Clause license.
* See the COPYING file for licensing information.
*/
namespace CSS {
class TokenizerConsumeEscapedCodePointTest : public ::testing::Test {
public:
Context context {&ParseErrorTester::ReporterEndpoint... | 38.19403 | 106 | 0.780383 | usadson |
3bac35b967e931b90b0e7e5fbda3db7d2cfdb69d | 853 | cpp | C++ | src/ui/primitives2d.cpp | rotiv123/circuitsim | 8ced9f40c7b476f7dc4b4a8669d5962b06ccc041 | [
"MIT"
] | null | null | null | src/ui/primitives2d.cpp | rotiv123/circuitsim | 8ced9f40c7b476f7dc4b4a8669d5962b06ccc041 | [
"MIT"
] | null | null | null | src/ui/primitives2d.cpp | rotiv123/circuitsim | 8ced9f40c7b476f7dc4b4a8669d5962b06ccc041 | [
"MIT"
] | null | null | null | //
// Created by vitor on 25-08-2018.
//
#include "primitives2d.hpp"
#include "circuit2d.hpp"
#include "../primitives.hpp"
namespace circuitsim::ui {
std::string add_resistor(circuit2d &c, double v, point2d p) {
return add_resistor(c, v, p, 0);
}
std::string add_resistor(circuit2d &c, double v,... | 23.694444 | 78 | 0.581477 | rotiv123 |
3bb4d812bfdb2f1b54e862cbf02871ad7b8e25e3 | 1,310 | hpp | C++ | include/window.hpp | lahwran/Rack | d63e23b2b64cdad54da7609ee8e018d9f45ced2f | [
"Zlib",
"BSD-3-Clause"
] | 84 | 2018-05-02T13:15:42.000Z | 2019-11-25T15:53:59.000Z | include/window.hpp | lahwran/Rack | d63e23b2b64cdad54da7609ee8e018d9f45ced2f | [
"Zlib",
"BSD-3-Clause"
] | 17 | 2018-05-02T13:18:44.000Z | 2019-10-29T00:16:56.000Z | include/window.hpp | lahwran/Rack | d63e23b2b64cdad54da7609ee8e018d9f45ced2f | [
"Zlib",
"BSD-3-Clause"
] | 9 | 2018-05-06T18:39:58.000Z | 2019-10-03T15:15:26.000Z | #pragma once
#include "widgets.hpp"
#ifdef ARCH_WIN
#include <GL/glew.h>
#else
#define GL_GLEXT_PROTOTYPES 1
#define GLFW_INCLUDE_GLEXT
#endif
#if (defined(__arm__) || defined(__aarch64__))
#define GLFW_INCLUDE_ES2
#endif
#include <GLFW/glfw3.h>
#ifdef ARCH_MAC
#define WINDOW_MOD_KEY_NAME "Cmd"
#else
#define ... | 22.586207 | 81 | 0.780153 | lahwran |
3bb91411c8ca724f72df9bb14589b44adc040cef | 970 | cpp | C++ | source/location/OffscreenLocation.cpp | Tomash667/carpg | 7e89d83f51cb55a89baf509915a9a9f8c642825f | [
"MIT"
] | 19 | 2015-05-30T12:14:07.000Z | 2021-05-26T19:17:21.000Z | source/location/OffscreenLocation.cpp | Tomash667/carpg | 7e89d83f51cb55a89baf509915a9a9f8c642825f | [
"MIT"
] | 402 | 2016-02-26T08:39:21.000Z | 2021-07-06T16:47:16.000Z | source/location/OffscreenLocation.cpp | Tomash667/carpg | 7e89d83f51cb55a89baf509915a9a9f8c642825f | [
"MIT"
] | 21 | 2015-07-28T14:11:39.000Z | 2020-12-11T07:54:09.000Z | #include "Pch.h"
#include "OffscreenLocation.h"
#include "Unit.h"
//=================================================================================================
OffscreenLocation::OffscreenLocation() : Location(false), LocationPart(LocationPart::Type::Outside, LocationPart::OUTSIDE_ID, false)
{
}
//============... | 28.529412 | 132 | 0.427835 | Tomash667 |
3bbdaa95201861885fc8248405c489f8dc97bd32 | 167 | cpp | C++ | questao2.cpp | Jairfsj/learning_C | 8c876059132ca19bcf55ac1a0c81d97a3d175e95 | [
"MIT"
] | null | null | null | questao2.cpp | Jairfsj/learning_C | 8c876059132ca19bcf55ac1a0c81d97a3d175e95 | [
"MIT"
] | null | null | null | questao2.cpp | Jairfsj/learning_C | 8c876059132ca19bcf55ac1a0c81d97a3d175e95 | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <math.h>
using namespace std;
int main()
{
int a=3, b=2;
cout<<pow((a/b),a-b);
system("pause");
return 0;
}
| 11.133333 | 23 | 0.598802 | Jairfsj |
3bc245aafdf43f7d751e788b955dce621e9364b4 | 2,953 | cpp | C++ | db/additions/model/yas_db_attribute.cpp | objective-audio/db | 9c3dc90558d1f0c39aa392dfc151ade1f000f9fa | [
"MIT"
] | null | null | null | db/additions/model/yas_db_attribute.cpp | objective-audio/db | 9c3dc90558d1f0c39aa392dfc151ade1f000f9fa | [
"MIT"
] | null | null | null | db/additions/model/yas_db_attribute.cpp | objective-audio/db | 9c3dc90558d1f0c39aa392dfc151ade1f000f9fa | [
"MIT"
] | null | null | null | //
// yas_db_attribute.cpp
//
#include "yas_db_attribute.h"
#include <sstream>
#include "yas_db_additional_protocol.h"
#include "yas_db_object.h"
using namespace yas;
using namespace yas::db;
namespace yas {
static std::string to_string(attribute_type const &type) {
switch (type) {
case attribute_type... | 31.414894 | 119 | 0.632916 | objective-audio |
3bc3dea16e0b0676eac1c70321eb5af9afcc1ad0 | 1,967 | hpp | C++ | include/System/Runtime/InteropServices/ErrorWrapper.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Runtime/InteropServices/ErrorWrapper.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Runtime/InteropServices/ErrorWrapper.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Completed includes
// Type namespace: Syste... | 36.425926 | 125 | 0.697509 | RedBrumbler |
3bc5e0cf1339d17a95bb915279bc07270cc1af9c | 448 | cc | C++ | freud-pin/logger.cc | rishabh246/freud | 8c55dea15e080f466b54353adf4f72e3d1f34e20 | [
"Apache-2.0"
] | 22 | 2020-04-30T11:38:52.000Z | 2022-03-22T09:03:29.000Z | freud-pin/logger.cc | rishabh246/freud | 8c55dea15e080f466b54353adf4f72e3d1f34e20 | [
"Apache-2.0"
] | 1 | 2021-06-18T09:40:59.000Z | 2021-06-18T09:40:59.000Z | freud-pin/logger.cc | rishabh246/freud | 8c55dea15e080f466b54353adf4f72e3d1f34e20 | [
"Apache-2.0"
] | 5 | 2020-05-04T15:51:43.000Z | 2021-08-18T09:56:17.000Z | enum verbosity_levels {
VL_ERROR = 0,
VL_QUIET,
VL_INFO,
VL_DEBUG
};
enum verbosity_levels vl = VL_DEBUG;
std::string log_label(enum verbosity_levels vl) {
if (vl == VL_ERROR) {
return "ERR: ";
} else if (vl == VL_INFO) {
return "INFO: ";
} else if (vl == VL_DEBUG) {
return "DBG: ";
}
return "UNK: ";
}... | 16.592593 | 58 | 0.622768 | rishabh246 |
3bc88d51b4f08aa6b7e29e6b0ef0694f5ecf584e | 12,086 | cpp | C++ | projects/2_alg_dan/asd_lab_3/test.cpp | GodBastardNeil/somethings | 56a25ab2a3150658356924b00fed7d97ad76a9cb | [
"BSD-3-Clause"
] | null | null | null | projects/2_alg_dan/asd_lab_3/test.cpp | GodBastardNeil/somethings | 56a25ab2a3150658356924b00fed7d97ad76a9cb | [
"BSD-3-Clause"
] | null | null | null | projects/2_alg_dan/asd_lab_3/test.cpp | GodBastardNeil/somethings | 56a25ab2a3150658356924b00fed7d97ad76a9cb | [
"BSD-3-Clause"
] | null | null | null | #include "catch.hpp"
#include "realty.h"
#include "realty2.h"
TEST_CASE("Проверка работы методов класса realty", "[realty]")
{
// -- тестовые методы --
SECTION("Тестироавние инициализации класса realty")
{
realty zero;
CHECK(zero.toString() == "Контора: \nДата создания: \nНет Информации");... | 42.111498 | 183 | 0.557008 | GodBastardNeil |
3bd55c306b015c056086a156485d51659c24cd72 | 1,860 | hpp | C++ | src/main/cpp/inverted_penguin/core/dictionary/detail/ValueDictionaryConstIterator.hpp | tomault/inverted_penguin | 0cd939de38d860d32194203048d0a70a34fcca75 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/inverted_penguin/core/dictionary/detail/ValueDictionaryConstIterator.hpp | tomault/inverted_penguin | 0cd939de38d860d32194203048d0a70a34fcca75 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/inverted_penguin/core/dictionary/detail/ValueDictionaryConstIterator.hpp | tomault/inverted_penguin | 0cd939de38d860d32194203048d0a70a34fcca75 | [
"Apache-2.0"
] | null | null | null | #ifndef __INVERTED_PENGUIN__CORE__DICTIONARY__DETAIL__VALUEDICTIONARYCONSTITERATOR_HPP__
#define __INVERTED_PENGUIN__CORE__DICTIONARY__DETAIL__VALUEDICTIONARYCONSTITERATOR_HPP__
#include <inverted_penguin/core/dictionary/detail/ValueDictionaryBaseIterator.hpp>
#include <inverted_penguin/core/dictionary/detail/ValueDic... | 25.135135 | 88 | 0.722581 | tomault |
3bdb40b2b9a87dc14a6596a7889b138e4e223e2d | 11,832 | hpp | C++ | third_party/xsimd/types/xsimd_avx_int16.hpp | PierreBlancfat/pythran2 | 37869bc73aae1054253c2b1643aee5c63f11b7e8 | [
"BSD-3-Clause"
] | null | null | null | third_party/xsimd/types/xsimd_avx_int16.hpp | PierreBlancfat/pythran2 | 37869bc73aae1054253c2b1643aee5c63f11b7e8 | [
"BSD-3-Clause"
] | null | null | null | third_party/xsimd/types/xsimd_avx_int16.hpp | PierreBlancfat/pythran2 | 37869bc73aae1054253c2b1643aee5c63f11b7e8 | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
* Copyright (c) 2016, Wolf Vollprecht, Johan Mabille and Sylvain Corlay *
* *
* Distributed under the terms of the BSD 3-Clause License. *
* ... | 32.595041 | 112 | 0.579023 | PierreBlancfat |
3bddfb53bae6f07a26713ed9737f1d592f84d410 | 2,162 | cc | C++ | core/ray_tracer.cc | kwanmacher/tinyrt | ae9ab926a5912ce21ce0842a9b17dd975b73ba8e | [
"MIT"
] | null | null | null | core/ray_tracer.cc | kwanmacher/tinyrt | ae9ab926a5912ce21ce0842a9b17dd975b73ba8e | [
"MIT"
] | null | null | null | core/ray_tracer.cc | kwanmacher/tinyrt | ae9ab926a5912ce21ce0842a9b17dd975b73ba8e | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2020 Kaikai Wang
//
// 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,... | 42.392157 | 80 | 0.69334 | kwanmacher |
3bde2dca2513bb79f29f66cb238d95f4fdd0d8c9 | 2,331 | cpp | C++ | gui/core/event_container.cpp | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | gui/core/event_container.cpp | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | gui/core/event_container.cpp | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | /**
* @copyright (c) 2016-2021 Ing. Buero Rothfuss
* Riedlinger Str. 8
* 70327 Stuttgart
* Germany
* http://www.rothfuss-web.de
*
* @author <a href="mailto:armin@rothfuss-web.de">Armin Rothfuss</a>
*
* Projec... | 28.777778 | 103 | 0.574861 | r3dl3g |
3be3f920a220cdad158a56b59800a215bf8b3bd2 | 1,315 | cpp | C++ | Tests/src/testPersistSave.cpp | ipab-slmc/RhIO | 45f5440a745d5ae9b256335a78ded799d3a02d4d | [
"MIT"
] | null | null | null | Tests/src/testPersistSave.cpp | ipab-slmc/RhIO | 45f5440a745d5ae9b256335a78ded799d3a02d4d | [
"MIT"
] | 1 | 2018-12-11T18:36:07.000Z | 2018-12-11T18:36:07.000Z | Tests/src/testPersistSave.cpp | ipab-slmc/RhIO | 45f5440a745d5ae9b256335a78ded799d3a02d4d | [
"MIT"
] | null | null | null | #include <iostream>
#include <cassert>
#include "RhIO.hpp"
#include "rhio_server/Filesystem.hpp"
int main()
{
RhIO::Root.newChild("test");
RhIO::Root.newChild("test2/test3");
RhIO::Root.newChild("test6/test7");
RhIO::Root.newBool("paramBool")
->comment("bool parameter")
->persisted(tr... | 28.586957 | 79 | 0.613688 | ipab-slmc |
3be98c211c271959a359e8ef025899747f71bf3a | 23,263 | cpp | C++ | src/Engine/Shader.cpp | ennis/autograph-pipelines | afc66ef60bf99fca26d200bd7739528e1bf3ed8c | [
"MIT"
] | 1 | 2021-04-24T12:29:42.000Z | 2021-04-24T12:29:42.000Z | src/Engine/Shader.cpp | ennis/autograph-pipelines | afc66ef60bf99fca26d200bd7739528e1bf3ed8c | [
"MIT"
] | null | null | null | src/Engine/Shader.cpp | ennis/autograph-pipelines | afc66ef60bf99fca26d200bd7739528e1bf3ed8c | [
"MIT"
] | null | null | null | #include "ShaderPreprocessor.h"
#include <autograph/Core/Support/Debug.h>
#include <autograph/Core/Support/md5.h>
#include <autograph/Engine/ResourceManager.h>
#include <autograph/Engine/Shader.h>
#include <autograph/Gfx/GfxContext.h>
#include <autograph/Gfx/VertexArray.h>
#include <fstream>
#include <iostream>
#includ... | 37.280449 | 80 | 0.670851 | ennis |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.