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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c6ceaa6dffd92a6e6e6872fa7f65eff67f214a42 | 2,387 | cpp | C++ | examples/ofxEasingAnimation/src/ofApp.cpp | davidbeermann/timely-matter | fca86fb5b48766c5371677a90ac5149c1b071149 | [
"MIT"
] | 2 | 2016-09-03T17:49:30.000Z | 2016-12-20T18:12:58.000Z | examples/ofxEasingAnimation/src/ofApp.cpp | davidbeermann/timely-matter | fca86fb5b48766c5371677a90ac5149c1b071149 | [
"MIT"
] | null | null | null | examples/ofxEasingAnimation/src/ofApp.cpp | davidbeermann/timely-matter | fca86fb5b48766c5371677a90ac5149c1b071149 | [
"MIT"
] | null | null | null | #include "ofApp.h"
#define PADDING 30
void ofApp::reset() {
m_rect.set(PADDING, PADDING, 0, 0);
m_color.set(0, ofRandom(255.f), ofRandom(255.f));
m_start = 0.f;
m_end = 0.f;
m_progress = 0.f;
m_animating = false;
m_running = false;
}
void ofApp::setup() {
ofBack... | 21.899083 | 79 | 0.513615 | davidbeermann |
c6d01cab0dc1f3d4b29f9eee79ae02505f45e945 | 54,590 | cpp | C++ | PrecompiledExp.cpp | BalazsJako/LSystem | 571aeec8e00c50cffead24caaafe9c6d2f798547 | [
"MIT"
] | null | null | null | PrecompiledExp.cpp | BalazsJako/LSystem | 571aeec8e00c50cffead24caaafe9c6d2f798547 | [
"MIT"
] | null | null | null | PrecompiledExp.cpp | BalazsJako/LSystem | 571aeec8e00c50cffead24caaafe9c6d2f798547 | [
"MIT"
] | 1 | 2020-12-11T05:13:17.000Z | 2020-12-11T05:13:17.000Z |
#include <assert.h>
#include <iostream>
#include <sstream>
#include <algorithm>
#define GLM_ENABLE_EXPERIMENTAL 1
#include "GLM/gtx/norm.hpp"
#include "PrecompiledExp.h"
#include "LSystem.h"
using namespace std;
namespace LSystem
{
PrecompiledExp::PrecompiledExp(LSystem &aLSystem)
: mLSystem(aLSystem)
, mRes... | 48.012313 | 177 | 0.643341 | BalazsJako |
c6d0ee41acd735f39f88bce469b9b7ba6379e18d | 1,107 | cpp | C++ | aat/cpp/src/core/models/trade.cpp | ryuuni/aat | 1a46d21463f8e080c389d1011b35d6a3fd036545 | [
"Apache-2.0"
] | null | null | null | aat/cpp/src/core/models/trade.cpp | ryuuni/aat | 1a46d21463f8e080c389d1011b35d6a3fd036545 | [
"Apache-2.0"
] | null | null | null | aat/cpp/src/core/models/trade.cpp | ryuuni/aat | 1a46d21463f8e080c389d1011b35d6a3fd036545 | [
"Apache-2.0"
] | null | null | null | #include <sstream>
#include <aat/common.hpp>
#include <aat/config/enums.hpp>
#include <aat/core/models/trade.hpp>
using namespace aat::common;
namespace aat {
namespace core {
str_t
Trade::toString() const {
sstream_t ss;
ss << "Trade+( id=" << id << ", timestamp=" << format_timestamp(timestamp) << volum... | 21.705882 | 105 | 0.585366 | ryuuni |
c6d0f559171397e1543ba799dcca7fb25ce0b662 | 7,601 | hpp | C++ | src/pnp2/include/pnp2/receiver.hpp | rosmod/lib-pnp2 | e4087177952a4ddb5413b95efbd65821e725e083 | [
"MIT"
] | null | null | null | src/pnp2/include/pnp2/receiver.hpp | rosmod/lib-pnp2 | e4087177952a4ddb5413b95efbd65821e725e083 | [
"MIT"
] | null | null | null | src/pnp2/include/pnp2/receiver.hpp | rosmod/lib-pnp2 | e4087177952a4ddb5413b95efbd65821e725e083 | [
"MIT"
] | null | null | null | /** \file receiver.hpp
*
* This file declares the Network::receiver class
*/
#ifndef NETWORK_RECEIVER_HPP
#define NETWORK_RECEIVER_HPP
#include "ros/ros.h"
#include <boost/thread/thread.hpp>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include "network/NetworkProfile.hpp"
#include "network/buffer.hpp"
... | 29.122605 | 116 | 0.641363 | rosmod |
c6d0fd6c55045844b6e757d3a9bb3720660312f6 | 1,832 | cpp | C++ | Plugins/ShowtimeUnreal/Source/ShowtimeRuntime/Private/Tests/ShowtimeClientTest.cpp | straycatss/NectoXR | c7d00fe5070cfd1d94aa9401bb7ef66238d4cae7 | [
"MIT"
] | null | null | null | Plugins/ShowtimeUnreal/Source/ShowtimeRuntime/Private/Tests/ShowtimeClientTest.cpp | straycatss/NectoXR | c7d00fe5070cfd1d94aa9401bb7ef66238d4cae7 | [
"MIT"
] | null | null | null | Plugins/ShowtimeUnreal/Source/ShowtimeRuntime/Private/Tests/ShowtimeClientTest.cpp | straycatss/NectoXR | c7d00fe5070cfd1d94aa9401bb7ef66238d4cae7 | [
"MIT"
] | null | null | null | #include "Misc/AutomationTest.h"
#include "ShowtimeClient.h"
#include "ShowtimeServer.h"
using namespace showtime;
BEGIN_DEFINE_SPEC(ShowtimeClientSpec, "ShowtimeRuntimeModule.UShowtimeClient", EAutomationTestFlags::ProductFilter | EAutomationTestFlags::ApplicationContextMask)
UShowtimeClient* client;
UShowtimeServer... | 32.140351 | 162 | 0.615175 | straycatss |
c6d632f520f712ecea4ff6bc54e8ed18bc6f2906 | 7,444 | cpp | C++ | installer/dev/install.cpp | mrlacey/ProjectReunion | 1714557cad5e740c0153e451fbf0311c8e5bdfc1 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | installer/dev/install.cpp | mrlacey/ProjectReunion | 1714557cad5e740c0153e451fbf0311c8e5bdfc1 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | installer/dev/install.cpp | mrlacey/ProjectReunion | 1714557cad5e740c0153e451fbf0311c8e5bdfc1 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-03-10T22:19:06.000Z | 2021-03-10T22:19:06.000Z | #include "pch.h"
#include "packages.h"
#include "install.h"
using namespace winrt;
using namespace Windows::ApplicationModel;
using namespace Windows::Foundation;
using namespace Windows::Management::Deployment;
using namespace Windows::System;
namespace ProjectReunionInstaller {
winrt::hresult AddP... | 39.595745 | 182 | 0.650591 | mrlacey |
c6d67777260dd4575bcbe420163e2ab249931c60 | 15,948 | cpp | C++ | source/location/City.cpp | Tomash667/carpg | 7e89d83f51cb55a89baf509915a9a9f8c642825f | [
"MIT"
] | 19 | 2015-05-30T12:14:07.000Z | 2021-05-26T19:17:21.000Z | source/location/City.cpp | Tomash667/carpg | 7e89d83f51cb55a89baf509915a9a9f8c642825f | [
"MIT"
] | 402 | 2016-02-26T08:39:21.000Z | 2021-07-06T16:47:16.000Z | source/location/City.cpp | Tomash667/carpg | 7e89d83f51cb55a89baf509915a9a9f8c642825f | [
"MIT"
] | 21 | 2015-07-28T14:11:39.000Z | 2020-12-11T07:54:09.000Z | #include "Pch.h"
#include "City.h"
#include "BitStreamFunc.h"
#include "BuildingScript.h"
#include "Content.h"
#include "GameCommon.h"
#include "GroundItem.h"
#include "Level.h"
#include "Object.h"
#include "Unit.h"
#include "World.h"
#include <ResourceManager.h>
#include <Terrain.h>
//==============================... | 23.591716 | 117 | 0.57468 | Tomash667 |
c6d7392e21965efda5c3c8f814ec2e5932d5726f | 2,793 | cpp | C++ | WebKit2-7534.57.7/WebKit2-7534.57.7/UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | 1 | 2021-05-27T07:29:31.000Z | 2021-05-27T07:29:31.000Z | WebKit2-7534.57.7/WebKit2-7534.57.7/UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | WebKit2-7534.57.7/WebKit2-7534.57.7/UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2010 Apple Inc. All rights reserved.
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code mus... | 33.650602 | 93 | 0.758324 | mlcldh |
c6d8fe023ee8b7cc93adbf56dc053594520b514f | 34 | hpp | C++ | Blik2D/addon/blik_addon_zip.hpp | BonexGu/Blik2D | 8e0592787e5c8e8a28682d0e1826b8223eae5983 | [
"MIT"
] | 13 | 2017-02-22T02:20:06.000Z | 2018-06-06T04:18:03.000Z | Blik2D/addon/blik_addon_zip.hpp | BonexGu/Blik2D | 8e0592787e5c8e8a28682d0e1826b8223eae5983 | [
"MIT"
] | null | null | null | Blik2D/addon/blik_addon_zip.hpp | BonexGu/Blik2D | 8e0592787e5c8e8a28682d0e1826b8223eae5983 | [
"MIT"
] | null | null | null | #pragma once
#include <blik.hpp>
| 11.333333 | 19 | 0.705882 | BonexGu |
c6d926c83c98c23c7e224343eb3578e79193f343 | 15,018 | hpp | C++ | include/flusspferd/object.hpp | Flusspferd/flusspferd | f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5 | [
"MIT"
] | 7 | 2015-06-08T09:59:36.000Z | 2021-02-27T18:45:17.000Z | include/flusspferd/object.hpp | Flusspferd/flusspferd | f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5 | [
"MIT"
] | null | null | null | include/flusspferd/object.hpp | Flusspferd/flusspferd | f2a070c4805e0bdbae4b5f528e94a9a36ceb80c5 | [
"MIT"
] | 3 | 2016-07-06T20:47:01.000Z | 2021-06-30T19:09:47.000Z | // vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
The MIT License
Copyright (c) 2008, 2009 Flusspferd contributors (see "CONTRIBUTORS" or
http://flusspferd.org/contributors.txt)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software an... | 23.914013 | 101 | 0.657811 | Flusspferd |
c6de1a1d53d1bc5743f253b22849aa0c1993565b | 2,649 | cpp | C++ | sp/src/game/server/hl2/grenade_frag.cpp | 95Navigator/insolence-2013 | d6f75214602a4e14b51a5abf8af0355f679ae94d | [
"Unlicense"
] | 11 | 2018-11-04T16:19:35.000Z | 2020-11-21T22:03:16.000Z | sp/src/game/server/hl2/grenade_frag.cpp | 95Navigator/insolence-2013 | d6f75214602a4e14b51a5abf8af0355f679ae94d | [
"Unlicense"
] | null | null | null | sp/src/game/server/hl2/grenade_frag.cpp | 95Navigator/insolence-2013 | d6f75214602a4e14b51a5abf8af0355f679ae94d | [
"Unlicense"
] | null | null | null | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "basegrenade_shared.h"
#include "grenade_frag.h"
ConVar sk_plr_dmg_fraggrenade ( "sk_plr_dmg_f... | 26.49 | 173 | 0.718384 | 95Navigator |
c6e6afe9f878920511da2aa0c613f196fb9b4732 | 7,565 | hpp | C++ | mcppalloc_sparse/mcppalloc_sparse/include/mcppalloc/mcppalloc_sparse/allocator_block.hpp | garyfurnish/mcppalloc | 5a6dfc99bab23e7f6aba8d20919d71a6e31c38bf | [
"MIT"
] | null | null | null | mcppalloc_sparse/mcppalloc_sparse/include/mcppalloc/mcppalloc_sparse/allocator_block.hpp | garyfurnish/mcppalloc | 5a6dfc99bab23e7f6aba8d20919d71a6e31c38bf | [
"MIT"
] | null | null | null | mcppalloc_sparse/mcppalloc_sparse/include/mcppalloc/mcppalloc_sparse/allocator_block.hpp | garyfurnish/mcppalloc | 5a6dfc99bab23e7f6aba8d20919d71a6e31c38bf | [
"MIT"
] | null | null | null | #pragma once
#include "sparse_allocator_block_base.hpp"
#include <algorithm>
#include <mcppalloc/block.hpp>
#include <mcppalloc/default_allocator_policy.hpp>
#include <mcpputil/mcpputil/boost/property_tree/ptree_fwd.hpp>
#include <mcpputil/mcpputil/container.hpp>
#include <mcpputil/mcpputil/make_unique.hpp>
#include <s... | 38.207071 | 121 | 0.665169 | garyfurnish |
c6e6aff7b869e946e8ce197c512959410aa8f360 | 2,344 | hpp | C++ | LAStools/LASlib/inc/lasreaderstored.hpp | RohitDhankar/dcGIS | 835c66edd319372b590c0c7b92450694ff8920cd | [
"MIT"
] | null | null | null | LAStools/LASlib/inc/lasreaderstored.hpp | RohitDhankar/dcGIS | 835c66edd319372b590c0c7b92450694ff8920cd | [
"MIT"
] | null | null | null | LAStools/LASlib/inc/lasreaderstored.hpp | RohitDhankar/dcGIS | 835c66edd319372b590c0c7b92450694ff8920cd | [
"MIT"
] | null | null | null | /*
===============================================================================
FILE: lasreaderstored.hpp
CONTENTS:
Reads LiDAR points from another LASreader and stores them in compressed form
so they can be read from memory on the second read. This is especially used
for piping LiDA... | 29.3 | 93 | 0.671928 | RohitDhankar |
c6e769d7965258076e7d507f9d20465a263dfad2 | 1,926 | cc | C++ | bench/x16-transpose.cc | arkhadem/XNNPACK | 276871c0d32e2779e485af07fbdeda565d8794ed | [
"BSD-3-Clause"
] | null | null | null | bench/x16-transpose.cc | arkhadem/XNNPACK | 276871c0d32e2779e485af07fbdeda565d8794ed | [
"BSD-3-Clause"
] | null | null | null | bench/x16-transpose.cc | arkhadem/XNNPACK | 276871c0d32e2779e485af07fbdeda565d8794ed | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <xnnpack/AlignedAllocator.h>
#include <xnnpack/common.h>
#include <xnnpack/params.h>
#include <xnnpack/transpose.h>
#include <algorithm>
#include... | 31.064516 | 86 | 0.727414 | arkhadem |
c6e9aad65719f1f86f7426a63249dd3065a42239 | 6,016 | cpp | C++ | src/receptor.cpp | annanguyen99/FixedRandom_idock | 5e4a7705836e22da93bf9962ba5ea4092a08a05d | [
"Apache-2.0"
] | 37 | 2015-02-11T02:24:36.000Z | 2022-01-19T13:41:25.000Z | src/receptor.cpp | annanguyen99/FixedRandom_idock | 5e4a7705836e22da93bf9962ba5ea4092a08a05d | [
"Apache-2.0"
] | 30 | 2015-02-01T07:21:24.000Z | 2021-03-27T12:27:28.000Z | src/receptor.cpp | annanguyen99/FixedRandom_idock | 5e4a7705836e22da93bf9962ba5ea4092a08a05d | [
"Apache-2.0"
] | 23 | 2017-04-02T20:16:38.000Z | 2022-03-30T13:21:20.000Z | #include <cmath>
#include <boost/filesystem/fstream.hpp>
#include "array.hpp"
#include "scoring_function.hpp"
#include "receptor.hpp"
receptor::receptor(const path& p, const array<float, 3>& center, const array<float, 3>& size, const float granularity) : center(center), size(size), corner0(center - 0.5f * size),... | 35.597633 | 616 | 0.610539 | annanguyen99 |
c6ed6c668c7966dd0052b64c22c541f2127ba936 | 2,935 | cpp | C++ | kernel/thor/generic/fiber.cpp | avdgrinten/managarm | 4c4478cbde21675ca31e65566f10e1846b268bd5 | [
"MIT"
] | 13 | 2017-02-13T23:29:44.000Z | 2021-09-30T05:41:21.000Z | kernel/thor/generic/fiber.cpp | avdgrinten/managarm | 4c4478cbde21675ca31e65566f10e1846b268bd5 | [
"MIT"
] | 12 | 2016-12-03T13:06:13.000Z | 2018-05-04T15:49:17.000Z | kernel/thor/generic/fiber.cpp | avdgrinten/managarm | 4c4478cbde21675ca31e65566f10e1846b268bd5 | [
"MIT"
] | 1 | 2021-12-01T19:01:53.000Z | 2021-12-01T19:01:53.000Z |
#include "kernel.hpp"
#include "fiber.hpp"
namespace thor {
void KernelFiber::blockCurrent(FiberBlocker *blocker) {
auto this_fiber = thisFiber();
while(true) {
// Run the WQ outside of the locks.
this_fiber->_associatedWorkQueue.run();
StatelessIrqLock irq_lock;
auto lock = frigg::guard(&this_fiber->_mut... | 24.872881 | 84 | 0.720613 | avdgrinten |
c6ee2f9ebe0f6cebd85327fae888484e4d978d04 | 8,802 | hpp | C++ | VTIL-Architecture/routine/serialization.hpp | wallds/VTIL-Core | 8ca24f7b4b4bdd918bfe6ae084fe408984634fa2 | [
"BSD-3-Clause"
] | 906 | 2020-05-04T01:45:29.000Z | 2022-03-31T21:45:05.000Z | VTIL-Architecture/routine/serialization.hpp | wallds/VTIL-Core | 8ca24f7b4b4bdd918bfe6ae084fe408984634fa2 | [
"BSD-3-Clause"
] | 44 | 2020-05-04T22:33:21.000Z | 2022-03-30T08:52:34.000Z | VTIL-Architecture/routine/serialization.hpp | wallds/VTIL-Core | 8ca24f7b4b4bdd918bfe6ae084fe408984634fa2 | [
"BSD-3-Clause"
] | 131 | 2020-05-02T17:27:03.000Z | 2022-03-28T16:50:01.000Z | // Copyright (c) 2020 Can Boluk and contributors of the VTIL Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain... | 37.139241 | 159 | 0.676096 | wallds |
c6f09efecc6a375cacf8f116d3b90cffdb5b17d9 | 3,582 | cpp | C++ | test/KOMO/factored/main.cpp | Jung-Su/rai | 8bd074ab933692815f0f2e19c5593625cdc364cb | [
"MIT"
] | null | null | null | test/KOMO/factored/main.cpp | Jung-Su/rai | 8bd074ab933692815f0f2e19c5593625cdc364cb | [
"MIT"
] | null | null | null | test/KOMO/factored/main.cpp | Jung-Su/rai | 8bd074ab933692815f0f2e19c5593625cdc364cb | [
"MIT"
] | null | null | null | #include <KOMO/komo.h>
#include <Kin/TM_default.h>
#include <Kin/F_collisions.h>
#include <Kin/viewer.h>
#include <Kin/F_pose.h>
#include <Optim/MP_Solver.h>
//===========================================================================
void testFactored(){
rai::Configuration C("../switches/model2.g");
rai::Frame... | 27.136364 | 109 | 0.585427 | Jung-Su |
c6f1ec5756a982a0c4cad44ac739391d4c1af330 | 33,301 | cc | C++ | wise/src/node/application/wiseMultiCameraPeriodicApp_ICF/WiseMultiCameraPeriodicApp_ICF.cc | qwertyh26/wisemnet | 1d8269d141be255642ca36dbff8b594892085685 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 6 | 2017-12-07T05:33:01.000Z | 2021-02-20T21:15:48.000Z | wise/src/node/application/wiseMultiCameraPeriodicApp_ICF/WiseMultiCameraPeriodicApp_ICF.cc | MultiCameraNetworks/wisemnet | 1d8269d141be255642ca36dbff8b594892085685 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | wise/src/node/application/wiseMultiCameraPeriodicApp_ICF/WiseMultiCameraPeriodicApp_ICF.cc | MultiCameraNetworks/wisemnet | 1d8269d141be255642ca36dbff8b594892085685 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 4 | 2018-09-17T14:01:11.000Z | 2020-05-28T15:47:01.000Z | // *****************************************************************************************
// Copyright (C) 2017 Juan C. SanMiguel and Andrea Cavallaro
// You may use, distribute and modify this code under the terms of the ACADEMIC PUBLIC
// license (see the attached LICENSE_WISE file).
//
// This file is part of the... | 43.587696 | 289 | 0.646647 | qwertyh26 |
c6f61fe935245587970f19d399b9f0041beffed1 | 707 | cpp | C++ | Controls/Label.cpp | Carson-Shook/Winclipper | b8b0e7d1a1755f095df974d3eafa8f0fdb5c60f4 | [
"MIT"
] | 6 | 2018-06-19T15:50:24.000Z | 2022-01-13T09:28:07.000Z | Controls/Label.cpp | Carson-Shook/Winclipper | b8b0e7d1a1755f095df974d3eafa8f0fdb5c60f4 | [
"MIT"
] | 7 | 2018-01-07T21:07:55.000Z | 2021-12-16T18:55:12.000Z | Controls/Label.cpp | Carson-Shook/Winclipper | b8b0e7d1a1755f095df974d3eafa8f0fdb5c60f4 | [
"MIT"
] | null | null | null | #include "Label.h"
bool Controls::Label::Create()
{
RECT boxsize = { 0, 0, 0, 0 };
int finalWidth = 0;
int finalHeight = 0;
if (AutoSize)
{
MeasureString(text, font, &boxsize);
finalWidth = boxsize.right;
finalHeight = boxsize.bottom;
}
else
{
finalWidth = DpiScaleX(width);
finalHeight = DpiScaleX(h... | 16.833333 | 67 | 0.673267 | Carson-Shook |
05038a7d89c57c565c22429e2cba171f62597b70 | 1,128 | cpp | C++ | codeforces/A - Business trip/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/A - Business trip/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/A - Business trip/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Feb/16/2018 18:01
* solution_verdict: Accepted language: GNU C++14
* run... | 28.2 | 111 | 0.356383 | kzvd4729 |
0503f4e26fc826777334b7eb4a6ab9b97768c2b5 | 5,573 | cpp | C++ | aws-cpp-sdk-elasticbeanstalk/source/model/CPUUtilization.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-elasticbeanstalk/source/model/CPUUtilization.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-elasticbeanstalk/source/model/CPUUtilization.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... | 28.28934 | 129 | 0.656379 | woohoou |
050974096f41be59440c679d1dac374fd28d1e0a | 7,948 | inl | C++ | include/voxigen/volume/regionHandle.inl | caseymcc/voxigen | cfb7c7e999a02cdf40fd7344b2d744bf9446837c | [
"MIT"
] | 38 | 2017-05-13T20:14:18.000Z | 2022-01-20T12:39:59.000Z | include/voxigen/volume/regionHandle.inl | caseymcc/voxigen | cfb7c7e999a02cdf40fd7344b2d744bf9446837c | [
"MIT"
] | null | null | null | include/voxigen/volume/regionHandle.inl | caseymcc/voxigen | cfb7c7e999a02cdf40fd7344b2d744bf9446837c | [
"MIT"
] | 6 | 2018-01-04T23:59:27.000Z | 2021-02-19T03:48:50.000Z | namespace voxigen
{
template<typename _Region>
RegionHandle<_Region>::RegionHandle(RegionHash regionHash, IGridDescriptors *descriptors/*, GeneratorQueue<_Grid> *generatorQueue, DataStore<_Grid> *dataStore, UpdateQueue *updateQueue*/):
//m_status(Unknown),
m_state(HandleState::Unknown),
m_action(HandleAction::Idle),
m... | 27.50173 | 188 | 0.641042 | caseymcc |
050a78a0320b2da22e02cee94aa29d21fa760a53 | 28,442 | cpp | C++ | src/neuralnet/tally.cpp | theMarix/Gridcoin-Research | 19e30fa7e4591a423aacb20c6e7824131aefd596 | [
"MIT"
] | null | null | null | src/neuralnet/tally.cpp | theMarix/Gridcoin-Research | 19e30fa7e4591a423aacb20c6e7824131aefd596 | [
"MIT"
] | null | null | null | src/neuralnet/tally.cpp | theMarix/Gridcoin-Research | 19e30fa7e4591a423aacb20c6e7824131aefd596 | [
"MIT"
] | null | null | null | #include "main.h"
#include "neuralnet/accrual/newbie.h"
#include "neuralnet/accrual/null.h"
#include "neuralnet/accrual/research_age.h"
#include "neuralnet/accrual/snapshot.h"
#include "neuralnet/claim.h"
#include "neuralnet/cpid.h"
#include "neuralnet/quorum.h"
#include "neuralnet/superblock.h"
#include "neuralnet/tal... | 30.714903 | 90 | 0.62587 | theMarix |
050a7f611711a8241488923681e602b91680ae66 | 2,337 | hpp | C++ | include/eve/arch/expected_cardinal.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | include/eve/arch/expected_cardinal.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | include/eve/arch/expected_cardinal.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... | 32.458333 | 100 | 0.563971 | orao |
050c358474303c62e21d1235654cc73d78715399 | 482 | hh | C++ | dune/gdt/spaces/continuouslagrange.hh | ftalbrecht/dune-gdt | 574bc4a3b28d2a6a6195a6b4df6727c61f0d73c9 | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/spaces/continuouslagrange.hh | ftalbrecht/dune-gdt | 574bc4a3b28d2a6a6195a6b4df6727c61f0d73c9 | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/spaces/continuouslagrange.hh | ftalbrecht/dune-gdt | 574bc4a3b28d2a6a6195a6b4df6727c61f0d73c9 | [
"BSD-2-Clause"
] | 1 | 2018-08-13T11:51:27.000Z | 2018-08-13T11:51:27.000Z | // This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_GDT_SPACES_CONTINUOUSLAGRANGE_HH
#define DUNE_GDT_SPACES_CONTINUOUSLAGRANGE_HH
#warning T... | 37.076923 | 89 | 0.788382 | ftalbrecht |
050eb0549e2f8900c0aeb8ef37b0697eb790d62a | 4,921 | cpp | C++ | SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_PathMap.cpp | ErwanLegrand/Arduino-Source | 21dd2087b3941db10542ab5858663d07ca0de751 | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_PathMap.cpp | ErwanLegrand/Arduino-Source | 21dd2087b3941db10542ab5858663d07ca0de751 | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_PathMap.cpp | ErwanLegrand/Arduino-Source | 21dd2087b3941db10542ab5858663d07ca0de751 | [
"MIT"
] | null | null | null | /* Max Lair Detect Path Map
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include "CommonFramework/Tools/ErrorDumper.h"
#include "CommonFramework/Inference/ImageTools.h"
#include "NintendoSwitch/Commands/NintendoSwitch_PushButtons.h"
#include "PokemonSwSh/Inference/PokemonSwSh_Type... | 28.281609 | 111 | 0.606178 | ErwanLegrand |
0510e34a6bfe0d0dc2394103bf669939942b44fc | 4,243 | cpp | C++ | source/webserver.cpp | martin-juul/greenhouse | 31ddd9e37dd92d0be22c1a41cd84a5e7e45710ff | [
"Apache-2.0"
] | null | null | null | source/webserver.cpp | martin-juul/greenhouse | 31ddd9e37dd92d0be22c1a41cd84a5e7e45710ff | [
"Apache-2.0"
] | null | null | null | source/webserver.cpp | martin-juul/greenhouse | 31ddd9e37dd92d0be22c1a41cd84a5e7e45710ff | [
"Apache-2.0"
] | null | null | null | #include "http/http_response_builder.h"
#include "webserver.h"
#include "EthernetInterface.h"
#include "mbed.h"
#include "website.h"
#include <cstring>
#include <string>
#define IP "192.168.1.100"
#define GATEWAY "192.168.1.1"
#define NETMASK "255.255.255.0"
#define PORT 80
Database *db;
EthernetInterface *net;
TCP... | 25.715152 | 79 | 0.605232 | martin-juul |
0515c6c4967582ad580d47c8cbd5b4faa862daa8 | 952 | cpp | C++ | codeforces/1408B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1408B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1408B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | // B. Arrays Sum
#include <iostream>
#include <set>
using namespace std;
int main(){
int t;
cin >> t;
while (t--){
int n, k;
cin >> n >> k;
set<int> st;
int tmp;
for (int i=0; i<n; ++i){
cin >> tmp;
st.insert(tmp);
}
i... | 16.135593 | 103 | 0.392857 | sgrade |
05162d4e4ecefcbe8121d9ce2d4723fd18a4357a | 601 | cpp | C++ | prime_factor.cpp | fastestmk/Competitive-Programming-Algorithms | 45ecdfadb070659bcdd4c007205a785442ffe7f1 | [
"MIT"
] | null | null | null | prime_factor.cpp | fastestmk/Competitive-Programming-Algorithms | 45ecdfadb070659bcdd4c007205a785442ffe7f1 | [
"MIT"
] | null | null | null | prime_factor.cpp | fastestmk/Competitive-Programming-Algorithms | 45ecdfadb070659bcdd4c007205a785442ffe7f1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
using namespace std;
// A function to print all prime factors of a given number n
void primeFactor(int n){
// Print the number of 2s that divide n
while(n%2 == 0){
cout << 2 << " ";
n = n/2;
}
// // Print the number of other prime(3, 5, .....) that divide n
for(int i = ... | 17.171429 | 65 | 0.560732 | fastestmk |
051969b5127e23b415713ed19592072d50df4047 | 2,743 | cpp | C++ | test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 32.270588 | 80 | 0.575283 | K-Wu |
0519ca19d336fb508420d08db88d6b43f60eb97c | 3,574 | cpp | C++ | algorithms/graph_algorithms/traversal/advanced/dfs_general.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 24 | 2017-12-21T13:57:34.000Z | 2021-12-08T01:12:32.000Z | algorithms/graph_algorithms/traversal/advanced/dfs_general.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 28 | 2018-11-01T23:34:08.000Z | 2019-10-07T17:42:54.000Z | algorithms/graph_algorithms/traversal/advanced/dfs_general.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 4 | 2018-04-24T19:28:51.000Z | 2020-07-19T14:06:23.000Z | /*******************************************************************************
* This file is part of the "Data structures and algorithms" course. FMI 2018/19
*******************************************************************************/
/**
* @file dfs_general.cpp
* @author Ivan Filipov
* @date 01.2019
... | 28.365079 | 81 | 0.619194 | kruztev |
05205ab806326da52b1ffd661aa9403c1f0d654e | 170 | cpp | C++ | main.cpp | Orikson/Custom-3D-Physics-Engine | 245bdaef7608d06545f54a29200ba3754480b5bf | [
"MIT"
] | null | null | null | main.cpp | Orikson/Custom-3D-Physics-Engine | 245bdaef7608d06545f54a29200ba3754480b5bf | [
"MIT"
] | null | null | null | main.cpp | Orikson/Custom-3D-Physics-Engine | 245bdaef7608d06545f54a29200ba3754480b5bf | [
"MIT"
] | null | null | null | #include "Engine/Kernel/kernel.h"
int main(int argc, char* argv[])
{
Kernel* kernel;
kernel->start("3D Rendering", 700, 700);//argc, argv);
return 0;
} | 18.888889 | 59 | 0.605882 | Orikson |
0521d0b883edce2d9225412f281780f758ffb8c7 | 980 | cpp | C++ | examples/meme_likes/main.cpp | nzikic/lru_cache | 74913307bf712f94bf1f9eaff1397d0ac0c91372 | [
"MIT"
] | 2 | 2019-10-03T20:00:04.000Z | 2020-08-12T07:42:46.000Z | examples/meme_likes/main.cpp | nzikic/lru_cache | 74913307bf712f94bf1f9eaff1397d0ac0c91372 | [
"MIT"
] | null | null | null | examples/meme_likes/main.cpp | nzikic/lru_cache | 74913307bf712f94bf1f9eaff1397d0ac0c91372 | [
"MIT"
] | null | null | null | #include "cache.h"
#include <iostream>
int main()
{
using namespace cache;
MemeProvider provider{new MemeDataBase, 4};
auto doge = provider.get("Doge");
auto girlfriend = provider.get("Girlfriend");
auto derpina = provider.get("Derpina");
//
std::cout << "I like doggos\n";
doge->like(... | 23.902439 | 72 | 0.508163 | nzikic |
0523a5ddb1a60da941f4ce7fdddd6b8b352ba398 | 296 | cxx | C++ | test/input/Class-template-recurse.cxx | radoslawcybulski/CastXML | 7d8d719fdea8cad7702e62b6174b2665a4bf2ca5 | [
"Apache-2.0"
] | 428 | 2015-01-06T17:01:38.000Z | 2022-03-22T12:34:03.000Z | test/input/Class-template-recurse.cxx | radoslawcybulski/CastXML | 7d8d719fdea8cad7702e62b6174b2665a4bf2ca5 | [
"Apache-2.0"
] | 175 | 2015-01-06T17:07:37.000Z | 2022-03-07T23:06:02.000Z | test/input/Class-template-recurse.cxx | radoslawcybulski/CastXML | 7d8d719fdea8cad7702e62b6174b2665a4bf2ca5 | [
"Apache-2.0"
] | 101 | 2015-01-25T14:18:42.000Z | 2022-02-05T08:56:06.000Z | template <typename T>
struct A;
template <typename T>
struct C;
template <typename T>
struct B
{
typedef C<T> type;
};
template <typename T>
struct C
{
C()
{
/* clang-format off */
static_cast<void>(sizeof(typename B< A<T> >::type));
/* clang-format on */
}
};
C<void> start;
| 14.095238 | 56 | 0.618243 | radoslawcybulski |
0524df31e203cdd8a198b77a0c11e540738b5690 | 950 | cpp | C++ | backup/2/codesignal/c++/longest-word.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 21 | 2019-11-16T19:08:35.000Z | 2021-11-12T12:26:01.000Z | backup/2/codesignal/c++/longest-word.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 1 | 2022-02-04T16:02:53.000Z | 2022-02-04T16:02:53.000Z | backup/2/codesignal/c++/longest-word.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 4 | 2020-05-15T19:39:41.000Z | 2021-10-30T06:40:31.000Z | // Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)... | 45.238095 | 345 | 0.668421 | yangyanzhan |
0527053a95db27eea4c3da0542103e5a146f0f09 | 1,172 | cpp | C++ | src/Date.cpp | Abdsaddik/Hotel-Reservation-System | f376a7134de634b4912c5bd5bc00dcf655c40cd8 | [
"MIT"
] | null | null | null | src/Date.cpp | Abdsaddik/Hotel-Reservation-System | f376a7134de634b4912c5bd5bc00dcf655c40cd8 | [
"MIT"
] | null | null | null | src/Date.cpp | Abdsaddik/Hotel-Reservation-System | f376a7134de634b4912c5bd5bc00dcf655c40cd8 | [
"MIT"
] | null | null | null | #include "Date.hpp"
constexpr int Date::monthDays[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
Date::Date(std::string day, std::string month, std::string year)
: day_{ day }
, month_{ month }
, year_{ year }
{
}
std::istream& operator>>(std::istream& i, Date& d)
{
std::string ... | 25.478261 | 87 | 0.494027 | Abdsaddik |
05272089ea5994c4f2b46068472150a76ccb8328 | 274 | hpp | C++ | include/exotico.hpp | fernandocunhapereira/petfera | 6c1a3661df2561f53691abc548b1ce4202a3ba1e | [
"MIT"
] | null | null | null | include/exotico.hpp | fernandocunhapereira/petfera | 6c1a3661df2561f53691abc548b1ce4202a3ba1e | [
"MIT"
] | null | null | null | include/exotico.hpp | fernandocunhapereira/petfera | 6c1a3661df2561f53691abc548b1ce4202a3ba1e | [
"MIT"
] | 1 | 2020-11-18T21:06:29.000Z | 2020-11-18T21:06:29.000Z | #pragma once
#include <iostream>
using std::string;
class Exotico{
protected:
string origem;
public:
Exotico(string origem);
virtual ~Exotico();
string getOrigem() const;
void setOrigem(string origem);
}; | 15.222222 | 38 | 0.569343 | fernandocunhapereira |
052844a514dcef38eb18e20de165e6fdd03ede7e | 3,844 | cpp | C++ | Code/Applications/ResourceServer/ResourceServerWorker.cpp | JuanluMorales/KRG | f3a11de469586a4ef0db835af4bc4589e6b70779 | [
"MIT"
] | 419 | 2022-01-27T19:37:43.000Z | 2022-03-31T06:14:22.000Z | Code/Applications/ResourceServer/ResourceServerWorker.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 2 | 2022-01-28T20:35:33.000Z | 2022-03-13T17:42:52.000Z | Code/Applications/ResourceServer/ResourceServerWorker.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 20 | 2022-01-27T20:41:02.000Z | 2022-03-26T16:16:57.000Z | #include "ResourceServerWorker.h"
//-------------------------------------------------------------------------
namespace KRG::Resource
{
ResourceServerWorker::ResourceServerWorker( TaskSystem* pTaskSystem, String const& workerFullPath )
: m_pTaskSystem( pTaskSystem )
, m_workerFullPath( wor... | 35.925234 | 195 | 0.513528 | JuanluMorales |
0529bd4ec8c30aaca5480ce9d84e4aebd5a7c387 | 4,070 | cpp | C++ | snippets/cpp/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/CPP/source.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-02-22T09:30:21.000Z | 2021-08-02T23:44:31.000Z | snippets/cpp/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder 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_System/system.Reflection.Emit.CustomAttributeBuilder 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 |
// <Snippet1>
using namespace System;
using namespace System::Threading;
using namespace System::Reflection;
using namespace System::Reflection::Emit;
// We will apply this custom attribute to our dynamic type.
public ref class ClassCreator: public Attribute
{
private:
String^ creator;
public:
property String... | 34.201681 | 126 | 0.69656 | BohdanMosiyuk |
053033c2002f1ab5f2544a96ffce27294f95f20d | 7,788 | cpp | C++ | Compiler/Types/Class.cpp | rozaxe/emojicode | de62ef1871859429e569e4275c38c18bd43c5271 | [
"Artistic-2.0"
] | 1 | 2018-12-31T03:57:28.000Z | 2018-12-31T03:57:28.000Z | Compiler/Types/Class.cpp | rozaxe/emojicode | de62ef1871859429e569e4275c38c18bd43c5271 | [
"Artistic-2.0"
] | null | null | null | Compiler/Types/Class.cpp | rozaxe/emojicode | de62ef1871859429e569e4275c38c18bd43c5271 | [
"Artistic-2.0"
] | 1 | 2019-01-01T13:34:14.000Z | 2019-01-01T13:34:14.000Z | //
// Class.c
// EmojicodeCompiler
//
// Created by Theo Weidmann on 05.01.15.
// Copyright (c) 2015 Theo Weidmann. All rights reserved.
//
#include "Class.hpp"
#include "Analysis/SemanticAnalyser.hpp"
#include "Compiler.hpp"
#include "CompilerError.hpp"
#include "Functions/Initializer.hpp"
#include "Package/Packa... | 37.990244 | 121 | 0.616975 | rozaxe |
053217b95f12febd1949efc0ffc8b93b18464f22 | 5,026 | cpp | C++ | general/toaster/toastDrv/umdf/func/Driver.cpp | ixjf/Windows-driver-samples | 38985ba91feb685095754775e101389ad90c2aa6 | [
"MS-PL"
] | 3,084 | 2015-03-18T04:40:32.000Z | 2019-05-06T17:14:33.000Z | general/toaster/toastDrv/umdf/func/Driver.cpp | ixjf/Windows-driver-samples | 38985ba91feb685095754775e101389ad90c2aa6 | [
"MS-PL"
] | 275 | 2015-03-19T18:44:41.000Z | 2019-05-06T14:13:26.000Z | general/toaster/toastDrv/umdf/func/Driver.cpp | ixjf/Windows-driver-samples | 38985ba91feb685095754775e101389ad90c2aa6 | [
"MS-PL"
] | 3,091 | 2015-03-19T00:08:54.000Z | 2019-05-06T16:42:01.000Z | /*++
Copyright (c) Microsoft Corporation, All Rights Reserved
Module Name:
Driver.cpp
Abstract:
This file contains the implementation for the driver object.
Environment:
Windows User-Mode Driver Framework (WUDF)
--*/
#include "stdafx.h"
#include "Driver.h"
#include "Devi... | 24.398058 | 100 | 0.557302 | ixjf |
05363fc8590c06573c0d400b25235f9b3f18c209 | 525 | hpp | C++ | cpp/subprojects/common/include/common/pruning/pruning_no.hpp | Waguy02/Boomer-Scripted | b06bb9213d64dca0c05d41701dea12666931618c | [
"MIT"
] | 8 | 2020-06-30T01:06:43.000Z | 2022-03-14T01:58:29.000Z | cpp/subprojects/common/include/common/pruning/pruning_no.hpp | Waguy02/Boomer-Scripted | b06bb9213d64dca0c05d41701dea12666931618c | [
"MIT"
] | 3 | 2020-12-14T11:30:18.000Z | 2022-02-07T06:31:51.000Z | cpp/subprojects/common/include/common/pruning/pruning_no.hpp | Waguy02/Boomer-Scripted | b06bb9213d64dca0c05d41701dea12666931618c | [
"MIT"
] | 4 | 2020-06-24T08:45:00.000Z | 2021-12-23T21:44:51.000Z | /*
* @author Michael Rapp (michael.rapp.ml@gmail.com)
*/
#pragma once
#include "common/pruning/pruning.hpp"
/**
* An implementation of the class `IPruning` that does not actually perform any pruning, but retains all conditions.
*/
class NoPruning final : public IPruning {
public:
std::unique_ptr<IC... | 26.25 | 120 | 0.68 | Waguy02 |
053cac8555a52c5d303f05bea5abd07e57ea494c | 795 | cpp | C++ | test/integral/literals.cpp | rbock/hana | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | [
"BSL-1.0"
] | 2 | 2015-05-07T14:29:13.000Z | 2015-07-04T10:59:46.000Z | test/integral/literals.cpp | rbock/hana | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | [
"BSL-1.0"
] | null | null | null | test/integral/literals.cpp | rbock/hana | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | [
"BSL-1.0"
] | null | null | null | /*
@copyright Louis Dionne 2014
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/integral.hpp>
#include <boost/hana/detail/assert.hpp>
#include <boost/hana/type.hpp>
using namespace boost::hana;
using nam... | 30.576923 | 78 | 0.740881 | rbock |
053d7cdb82041c46ca7dc354a4de7257d9276c88 | 3,881 | cpp | C++ | origin/math/matrix/matrix.test/solver.cpp | asutton/origin-google | 516482c081a357a06402e5f288d645d3e18f69fa | [
"MIT"
] | 7 | 2017-11-22T19:11:00.000Z | 2020-08-16T15:53:10.000Z | origin/math/matrix/matrix.test/solver.cpp | asutton/origin-google | 516482c081a357a06402e5f288d645d3e18f69fa | [
"MIT"
] | null | null | null | origin/math/matrix/matrix.test/solver.cpp | asutton/origin-google | 516482c081a357a06402e5f288d645d3e18f69fa | [
"MIT"
] | 1 | 2020-08-07T12:31:36.000Z | 2020-08-07T12:31:36.000Z | // Copyright (c) 2008-2010 Kent State University
// Copyright (c) 2011-2012 Texas A&M University
//
// This file is distributed under the MIT License. See the accompanying file
// LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
// and conditions.
#include <random>
#include <stdexcept>
#incl... | 20.643617 | 78 | 0.580005 | asutton |
053e63782c7595b71d7c08a91405a9a19c3b3f8e | 6,230 | hpp | C++ | include/Awl/boost/date_time/special_values_parser.hpp | Yalir/Awl | 92ef5996d8933bf92ceb37357d8cd2b169cb788e | [
"BSL-1.0"
] | 4 | 2016-07-01T02:33:28.000Z | 2020-03-03T17:52:54.000Z | include/Awl/boost/date_time/special_values_parser.hpp | Yalir/Awl | 92ef5996d8933bf92ceb37357d8cd2b169cb788e | [
"BSL-1.0"
] | null | null | null | include/Awl/boost/date_time/special_values_parser.hpp | Yalir/Awl | 92ef5996d8933bf92ceb37357d8cd2b169cb788e | [
"BSL-1.0"
] | null | null | null |
#ifndef DATE_TIME_SPECIAL_VALUES_PARSER_HPP__
#define DATE_TIME_SPECIAL_VALUES_PARSER_HPP__
/* Copyright (c) 2005 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.t... | 38.9375 | 105 | 0.676886 | Yalir |
0544eda20f5f7285577ee539f59054822bcab601 | 5,777 | cpp | C++ | MC/MC/mcPhaseSpaceIO.cpp | RadOncSys/MC | 0d39cb744b16d3bc522032483ff7fbd25dbc8b5e | [
"MIT"
] | 5 | 2018-04-14T07:55:04.000Z | 2020-10-28T09:07:09.000Z | MC/MC/mcPhaseSpaceIO.cpp | RadOncSys/MC | 0d39cb744b16d3bc522032483ff7fbd25dbc8b5e | [
"MIT"
] | 3 | 2021-11-21T06:12:17.000Z | 2021-11-21T06:31:02.000Z | MC/MC/mcPhaseSpaceIO.cpp | RadOncSys/MC | 0d39cb744b16d3bc522032483ff7fbd25dbc8b5e | [
"MIT"
] | 2 | 2017-10-05T14:59:40.000Z | 2021-08-02T07:24:55.000Z | #include "mcPhaseSpaceIO.h"
#include "mcParticle.h"
#include "mcDefs.h"
#include <float.h>
const unsigned int mcPhaseSpaceIO::PHOTON_LATCH = 0x00000000;
const unsigned int mcPhaseSpaceIO::NEGATRON_LATCH = 0x40000000;
const unsigned int mcPhaseSpaceIO::POSITRON_LATCH = 0x20000000;
const unsigned int mcPhaseSpaceIO::BUF... | 23.871901 | 115 | 0.684265 | RadOncSys |
054755c22682a3c6976221f944effa18f11dbd72 | 5,285 | cpp | C++ | src/lib/statement/class_constant.cpp | paramah/hiphop-php-osx | 5ed8c24abe8ad9fd7bc6dd4c28b4ffff23e54362 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2015-11-05T21:45:07.000Z | 2015-11-05T21:45:07.000Z | src/lib/statement/class_constant.cpp | brion/hiphop-php | df70a236e6418d533ac474be0c01f0ba87034d7f | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | src/lib/statement/class_constant.cpp | brion/hiphop-php | df70a236e6418d533ac474be0c01f0ba87034d7f | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
+---------... | 32.030303 | 79 | 0.56878 | paramah |
0549a80584768f18ad8ff1efd614446145abba17 | 3,012 | cpp | C++ | Problem Solving Paradigm/Complete Search/Iterative (Three or more Loops, Harder)/296.cpp | joe-stifler/uHunt | 02465ea9868403691e4f0aaa6ddde730afa11f47 | [
"MIT"
] | 3 | 2019-05-22T00:36:23.000Z | 2021-03-22T12:23:18.000Z | Problem Solving Paradigm/Complete Search/Iterative (Three or more Loops, Harder)/296.cpp | joe-stifler/uHunt | 02465ea9868403691e4f0aaa6ddde730afa11f47 | [
"MIT"
] | null | null | null | Problem Solving Paradigm/Complete Search/Iterative (Three or more Loops, Harder)/296.cpp | joe-stifler/uHunt | 02465ea9868403691e4f0aaa6ddde730afa11f47 | [
"MIT"
] | null | null | null | /*------------------------------------------------*/
// Uva Problem No: 296
// Problem Name: Safebreaker
// Type: Iterative (Three or More Nested Loops, Harder) (Complete Search)
// Autor: Joe Stifler
// Data: 2018-01-14 05:35:27
// Runtime: 0.180s
// Universidade: Unicamp
/*--------------------------------------------... | 36.731707 | 114 | 0.290837 | joe-stifler |
d728ea6005676b445529f6f305aab773d5b11308 | 2,095 | cpp | C++ | dm-heom/src/heom/observation_type.cpp | noma/dm-heom | 85c94f947190064d21bd38544094731113c15412 | [
"BSD-3-Clause"
] | 7 | 2019-07-28T01:02:52.000Z | 2021-11-09T04:01:36.000Z | dm-heom/src/heom/observation_type.cpp | noma/dm-heom | 85c94f947190064d21bd38544094731113c15412 | [
"BSD-3-Clause"
] | null | null | null | dm-heom/src/heom/observation_type.cpp | noma/dm-heom | 85c94f947190064d21bd38544094731113c15412 | [
"BSD-3-Clause"
] | 2 | 2020-04-04T15:20:30.000Z | 2021-08-24T15:16:40.000Z | // This file is part of DM-HEOM (https://github.com/noma/dm-heom)
//
// Copyright (c) 2015-2019 Matthias Noack, Zuse Institute Berlin
//
// Licensed under the 3-clause BSD License, see accompanying LICENSE,
// CONTRIBUTORS.md, and README.md for further information.
#include "heom/observation_type.hpp"
#include <strin... | 25.864198 | 158 | 0.698329 | noma |
d729e393137633f1999b0872e797fb5877075b4d | 1,189 | cpp | C++ | Source/Bots/Bot/MortarBot.cpp | thatguyabass/Kill-O-Byte-Source | 0d4dfea226514161bb9799f55359f91da0998256 | [
"Apache-2.0"
] | 2 | 2016-12-13T19:13:10.000Z | 2017-08-14T04:46:52.000Z | Source/Bots/Bot/MortarBot.cpp | thatguyabass/Kill-O-Byte-Source | 0d4dfea226514161bb9799f55359f91da0998256 | [
"Apache-2.0"
] | null | null | null | Source/Bots/Bot/MortarBot.cpp | thatguyabass/Kill-O-Byte-Source | 0d4dfea226514161bb9799f55359f91da0998256 | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "Snake_Project.h"
#include "MortarBot.h"
#include "Bots/Controller/MortarAI.h"
#include "Powers/Weapons/Weapon.h"
#include "Powers/Weapons/Weapon_Single.h"
#include "Bots/Misc/RocketTankTargetDecal.h"
AMortarBot::AMortarBot()
: S... | 24.770833 | 84 | 0.747687 | thatguyabass |
d734610af85ea9d5c3a6ecb10388d3d9e28e765b | 265 | hpp | C++ | Hyades/src/Logger.hpp | nbrockett/hyades | 18d2218501d1352a88df187efec282174c46d3e0 | [
"MIT"
] | null | null | null | Hyades/src/Logger.hpp | nbrockett/hyades | 18d2218501d1352a88df187efec282174c46d3e0 | [
"MIT"
] | null | null | null | Hyades/src/Logger.hpp | nbrockett/hyades | 18d2218501d1352a88df187efec282174c46d3e0 | [
"MIT"
] | null | null | null | #pragma once
#include "spdlog/spdlog.h"
namespace Hyades
{
class Logger
{
public:
// define static pointer to logger
static std::shared_ptr<spdlog::logger> s_logger;
static void init();
};
} // namespace Hyades
| 13.947368 | 56 | 0.592453 | nbrockett |
d7357d8f45dc24e26fba58419f5ad171a51d9d2a | 2,231 | cpp | C++ | aws-cpp-sdk-sagemaker/source/model/DescribeEndpointConfigResult.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-sagemaker/source/model/DescribeEndpointConfigResult.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-sagemaker/source/model/DescribeEndpointConfigResult.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... | 28.602564 | 138 | 0.765128 | curiousjgeorge |
d737459ecfb299cc1bc4ce00c1c05707d075375a | 19,198 | cxx | C++ | PWGPP/TPC/AliPerformanceDEdx.cxx | benjaminaudurier/AliPhysics | c6af480ee4c8139c820cc7effb44e2e5bfdfaa28 | [
"BSD-3-Clause"
] | null | null | null | PWGPP/TPC/AliPerformanceDEdx.cxx | benjaminaudurier/AliPhysics | c6af480ee4c8139c820cc7effb44e2e5bfdfaa28 | [
"BSD-3-Clause"
] | null | null | null | PWGPP/TPC/AliPerformanceDEdx.cxx | benjaminaudurier/AliPhysics | c6af480ee4c8139c820cc7effb44e2e5bfdfaa28 | [
"BSD-3-Clause"
] | null | null | null | //------------------------------------------------------------------------------
// Implementation of AliPerformanceDEdx class. It keeps information from
// comparison of reconstructed and MC particle tracks. In addtion,
// it keeps selection cuts used during comparison. The comparison
// information is stored in th... | 32.050083 | 205 | 0.669653 | benjaminaudurier |
d73792f1e7c58b7301d2e0eca1a73591b7bbb8fa | 8,120 | cpp | C++ | CSB/csb_spmv_test.cpp | sc2020user/jstream | 7ee3dfcacfe7a72d37dca53615066a5f8f33ad3a | [
"BSD-4-Clause"
] | 1 | 2021-02-12T01:36:09.000Z | 2021-02-12T01:36:09.000Z | CSB/csb_spmv_test.cpp | HPCRL/jstream_SC2020_AE | 8b23036f01a46af426dba5bff78548cb0351161d | [
"BSD-4-Clause"
] | null | null | null | CSB/csb_spmv_test.cpp | HPCRL/jstream_SC2020_AE | 8b23036f01a46af426dba5bff78548cb0351161d | [
"BSD-4-Clause"
] | 1 | 2021-05-27T04:58:14.000Z | 2021-05-27T04:58:14.000Z | #define NOMINMAX
#include <iostream>
#include <algorithm>
#include <numeric>
#include <functional>
#include <fstream>
#include <ctime>
#include <cmath>
#include <string>
#include "timer.gettimeofday.c"
#include "cilk_util.h"
#include "utility.h"
#include "triple.h"
#include "csc.h"
#include "bicsb.h"
#include "bmcsb... | 26.79868 | 126 | 0.613054 | sc2020user |
d73d60d77332286dbe2b55775484566f46a515e6 | 18,451 | cpp | C++ | app/sys/sys_cli/src/ecalsys_cli.cpp | tcoyvwac/ecal | 2e2e446004e306d48e98620208085fd52d35b90b | [
"Apache-2.0"
] | null | null | null | app/sys/sys_cli/src/ecalsys_cli.cpp | tcoyvwac/ecal | 2e2e446004e306d48e98620208085fd52d35b90b | [
"Apache-2.0"
] | 1 | 2022-02-22T00:37:20.000Z | 2022-02-22T01:02:08.000Z | app/sys/sys_cli/src/ecalsys_cli.cpp | tcoyvwac/ecal | 2e2e446004e306d48e98620208085fd52d35b90b | [
"Apache-2.0"
] | 1 | 2022-02-28T10:28:36.000Z | 2022-02-28T10:28:36.000Z | /* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2020 Continental Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 37.199597 | 486 | 0.572923 | tcoyvwac |
d74104ce2b5ef55aa8c52cf408379f0c9769c90c | 1,341 | hpp | C++ | doc/quickbook/oglplus/quickref/context/clip_control.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 364 | 2015-01-01T09:38:23.000Z | 2022-03-22T05:32:00.000Z | doc/quickbook/oglplus/quickref/context/clip_control.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 55 | 2015-01-06T16:42:55.000Z | 2020-07-09T04:21:41.000Z | doc/quickbook/oglplus/quickref/context/clip_control.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 57 | 2015-01-07T18:35:49.000Z | 2022-03-22T05:32:04.000Z | /*
* Copyright 2014-2019 Matus Chochlik. 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)
*/
//[oglplus_context_ClipControlParams
namespace context {
struct ClipControlParams {
ClipControlParams() noexcept... | 25.301887 | 76 | 0.712901 | matus-chochlik |
d74156e48e65274f0c99260ad4003f67edf7f09b | 6,230 | cpp | C++ | src/common/channel/signal/signal_channel.cpp | masterve/test | 87a06f974ddc0ca7baf0ca082d7ae8999d9a4196 | [
"BSD-3-Clause"
] | 1,513 | 2015-01-02T17:36:20.000Z | 2022-03-21T00:10:17.000Z | src/common/channel/signal/signal_channel.cpp | masterve/test | 87a06f974ddc0ca7baf0ca082d7ae8999d9a4196 | [
"BSD-3-Clause"
] | 335 | 2015-01-02T21:48:21.000Z | 2022-01-31T23:10:46.000Z | src/common/channel/signal/signal_channel.cpp | masterve/test | 87a06f974ddc0ca7baf0ca082d7ae8999d9a4196 | [
"BSD-3-Clause"
] | 281 | 2015-01-08T01:23:41.000Z | 2022-03-26T12:31:41.000Z | /*
*Copyright (c) 2013-2013, yinqiwen <yinqiwen@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 notice,
* ... | 30.390244 | 80 | 0.635474 | masterve |
d742b6120d31bef3329f0faa09cedd603aa3325e | 23,708 | cpp | C++ | src/library/tactic/tactic_state.cpp | soonhokong/lean-windows | 06dff344c8e0e3876b56294c8443a3b17c26dd48 | [
"Apache-2.0"
] | null | null | null | src/library/tactic/tactic_state.cpp | soonhokong/lean-windows | 06dff344c8e0e3876b56294c8443a3b17c26dd48 | [
"Apache-2.0"
] | null | null | null | src/library/tactic/tactic_state.cpp | soonhokong/lean-windows | 06dff344c8e0e3876b56294c8443a3b17c26dd48 | [
"Apache-2.0"
] | 1 | 2018-09-22T14:28:09.000Z | 2018-09-22T14:28:09.000Z | /*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "util/fresh_name.h"
#include "util/sexpr/option_declarations.h"
#include "kernel/type_checker.h"
#include "library/constants.h"
#include "library/t... | 39.447587 | 125 | 0.681162 | soonhokong |
d742e11d0b9576ea4c2c155aaf805608361d3437 | 58,555 | cpp | C++ | src/axom/sidre/interface/c_fortran/wrapGroup.cpp | raineyeh/axom | 57a6ef7ab50e113e4cf4b639657eb84ff10789c0 | [
"BSD-3-Clause"
] | null | null | null | src/axom/sidre/interface/c_fortran/wrapGroup.cpp | raineyeh/axom | 57a6ef7ab50e113e4cf4b639657eb84ff10789c0 | [
"BSD-3-Clause"
] | null | null | null | src/axom/sidre/interface/c_fortran/wrapGroup.cpp | raineyeh/axom | 57a6ef7ab50e113e4cf4b639657eb84ff10789c0 | [
"BSD-3-Clause"
] | null | null | null | // wrapGroup.cpp
// This file is generated by Shroud 0.12.2. Do not edit.
//
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and
// other Axom Project Developers. See the top-level LICENSE file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
#include "wrapGroup.h"
#include <cstring>
#in... | 37.439258 | 87 | 0.628845 | raineyeh |
d7517e797ca26e3570dd03a5bf26b6b77eb568c4 | 16,188 | cpp | C++ | modules/multiresvolume/rendering/errorhistogrammanager.cpp | scivis-exhibitions/OpenSpace | 5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e | [
"MIT"
] | 489 | 2015-07-14T22:23:10.000Z | 2022-03-30T07:59:47.000Z | modules/multiresvolume/rendering/errorhistogrammanager.cpp | scivis-exhibitions/OpenSpace | 5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e | [
"MIT"
] | 1,575 | 2016-07-12T18:10:22.000Z | 2022-03-31T20:12:55.000Z | modules/multiresvolume/rendering/errorhistogrammanager.cpp | scivis-exhibitions/OpenSpace | 5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e | [
"MIT"
] | 101 | 2016-03-01T02:22:01.000Z | 2022-02-25T15:36:27.000Z | /*****************************************************************************************
* *
* OpenSpace *
* ... | 40.47 | 90 | 0.597109 | scivis-exhibitions |
d754f406c4bf120d82a0079c3ac1dc57d6730e54 | 554 | cpp | C++ | lab/lab3/ex2/main.cpp | YZL24/SUSTech-CS205 | c15e4055b3e260e84e94c8db46b4180448c3619f | [
"MIT"
] | null | null | null | lab/lab3/ex2/main.cpp | YZL24/SUSTech-CS205 | c15e4055b3e260e84e94c8db46b4180448c3619f | [
"MIT"
] | null | null | null | lab/lab3/ex2/main.cpp | YZL24/SUSTech-CS205 | c15e4055b3e260e84e94c8db46b4180448c3619f | [
"MIT"
] | null | null | null | #include <regex>
#include "fac.hpp"
using namespace std;
const regex pattern("^[1-9]+[0-9]*");
int main() {
string num;
int tar = 0;
int64_t f = 1;
do {
cout << "Please input a positive integer: ";
cin >> num;
try {
tar = stoi(num);
} catch (...) {
... | 18.466667 | 58 | 0.462094 | YZL24 |
d7559762fb5c203b8e547632285a8bdb393909d2 | 881 | cpp | C++ | UVA/661.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | UVA/661.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | UVA/661.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define f first
#define s second
using namespace std;
int main(){
//freopen("in.txt", "r", stdin);
//freopen("out.txt", "w", stdout);
int n, m, c;
int cases=1;
while((cin >> n >> m >> c) && n!=0 && m!=0 && c!=0){
cout << "Sequence " << cases++ << "\n";
vector<pair<bool, int>> vec(... | 18.744681 | 69 | 0.503973 | DT3264 |
d75d70c97843a9982cc163efc1ad8d80b852fb1a | 1,427 | cpp | C++ | cpp/new_features/cpp17/filesystem/file_size.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | 2 | 2019-12-21T00:53:47.000Z | 2020-01-01T10:36:30.000Z | cpp/new_features/cpp17/filesystem/file_size.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | cpp/new_features/cpp17/filesystem/file_size.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | //
// Created by kaiser on 19-3-22.
//
#include <cmath>
#include <cstddef>
#include <cstdlib>
#include <filesystem>
#include <iostream>
#include <numeric>
#include <sstream>
#include <string>
#include <fmt/core.h>
namespace fs = std::filesystem;
std::string size_string(std::size_t size) {
std::stringstream ss;
... | 23.783333 | 65 | 0.573931 | KaiserLancelot |
d75e053dcc105ad880b6c3c61e490822b6ee8c5c | 1,827 | hpp | C++ | atcoder/persistentsegtree.hpp | habara-k/ac-library | c48e576430c335d7037fa88e9fa5f6a61858e68a | [
"Unlicense"
] | null | null | null | atcoder/persistentsegtree.hpp | habara-k/ac-library | c48e576430c335d7037fa88e9fa5f6a61858e68a | [
"Unlicense"
] | null | null | null | atcoder/persistentsegtree.hpp | habara-k/ac-library | c48e576430c335d7037fa88e9fa5f6a61858e68a | [
"Unlicense"
] | null | null | null | #ifndef ATCODER_PERSISTENTSEGTREE_HPP
#define ATCODER_PERSISTENTSEGTREE 1
#include <cassert>
#include <vector>
namespace atcoder {
template<class S, S (*op)(S, S), S (*e)()>
struct PersistentSegmentTree {
struct Node;
using ptr = Node*;
struct Node {
ptr l=nullptr, r=nullptr;
S x;
... | 25.732394 | 70 | 0.477833 | habara-k |
d76160a9912e6582aebf9408bbb84bf8af5e2876 | 2,105 | cpp | C++ | CursedHeaven/Motor2D/Lines.cpp | golden-rhino-studio/CursedHeaven | 16e7bd3e82b64302564251d4856be570add0f98e | [
"MIT"
] | null | null | null | CursedHeaven/Motor2D/Lines.cpp | golden-rhino-studio/CursedHeaven | 16e7bd3e82b64302564251d4856be570add0f98e | [
"MIT"
] | 1 | 2019-03-05T18:25:36.000Z | 2019-03-05T18:26:39.000Z | CursedHeaven/Motor2D/Lines.cpp | golden-rhino-studio/CursedHeaven | 16e7bd3e82b64302564251d4856be570add0f98e | [
"MIT"
] | null | null | null | #include "j1Render.h"
#include "Lines.h"
#include "j1Scene1.h"
#include "j1App.h"
#include "j1Window.h"
Lines::Lines(SCENE scene_to_remove, SCENE scene_to_appear, j1Color color, float time) : j1Transitions(time) {
this->color = color;
scene1 = scene_to_remove;
scene2 = scene_to_appear;
App->win->GetWindowSize(w, ... | 23.651685 | 109 | 0.638955 | golden-rhino-studio |
d762d5fb0bd16a6bef55238b663a37f957338bbe | 5,976 | cpp | C++ | Applications/MainApplication/Gui/MaterialEditor.cpp | nmellado/Radium-Engine | 6e42e4be8d14bcd496371a5f58d483f7d03f9cf4 | [
"Apache-2.0"
] | null | null | null | Applications/MainApplication/Gui/MaterialEditor.cpp | nmellado/Radium-Engine | 6e42e4be8d14bcd496371a5f58d483f7d03f9cf4 | [
"Apache-2.0"
] | null | null | null | Applications/MainApplication/Gui/MaterialEditor.cpp | nmellado/Radium-Engine | 6e42e4be8d14bcd496371a5f58d483f7d03f9cf4 | [
"Apache-2.0"
] | null | null | null | #include <Gui/MaterialEditor.hpp>
#include <Engine/RadiumEngine.hpp>
#include <Engine/Renderer/RenderObject/RenderObject.hpp>
#include <Engine/Renderer/RenderObject/RenderObjectManager.hpp>
#include <Engine/Renderer/Material/BlinnPhongMaterial.hpp>
#include <Engine/Renderer/RenderTechnique/RenderTechnique.hpp>
#inclu... | 33.762712 | 148 | 0.536145 | nmellado |
d7654e4f53245ac61b9d54508798063aa849a222 | 5,777 | cpp | C++ | Controller.cpp | capiaghi/GoTender | 539dc075b5e6ec5ee97a4e1400f2c0d17c0dd65d | [
"Apache-2.0"
] | null | null | null | Controller.cpp | capiaghi/GoTender | 539dc075b5e6ec5ee97a4e1400f2c0d17c0dd65d | [
"Apache-2.0"
] | 33 | 2017-05-02T05:53:36.000Z | 2018-04-23T16:27:53.000Z | Controller.cpp | capiaghi/GoTender | 539dc075b5e6ec5ee97a4e1400f2c0d17c0dd65d | [
"Apache-2.0"
] | null | null | null | // ****************************************************************************
/// \file Controller.cpp
///
/// \brief Main Controller for the heater
///
/// \details Controller for the run state
///
/// \author Christoph Capiaghi
///
/// \version 0.1
///
/// \date 20170509
///
/// \copyright Lic... | 23.579592 | 79 | 0.464601 | capiaghi |
d7682d25c6ec6edaa58463c496012d51458582d2 | 4,337 | cpp | C++ | oxui/objects/dropdown.cpp | amizu03/oxui | 2ffcd7259eff8b783a70c56ca5f348e784fb5a87 | [
"MIT"
] | null | null | null | oxui/objects/dropdown.cpp | amizu03/oxui | 2ffcd7259eff8b783a70c56ca5f348e784fb5a87 | [
"MIT"
] | null | null | null | oxui/objects/dropdown.cpp | amizu03/oxui | 2ffcd7259eff8b783a70c56ca5f348e784fb5a87 | [
"MIT"
] | null | null | null | #include "dropdown.hpp"
#include "../panels/panel.hpp"
#include "shapes.hpp"
#include "../themes/purple.hpp"
void oxui::dropdown::think( ) {
auto& parent_window = find_parent< window >( object_window );
auto& cursor_pos = parent_window.cursor_pos;
animate( rect( cursor_pos.x, cursor_pos.y, area.w, area.h ) );
if ... | 33.361538 | 224 | 0.649988 | amizu03 |
d769f1c865a4c0de350af72e8ad7693888a6a177 | 65,136 | cpp | C++ | source/GTest/Game/GMain.cpp | paradoxnj/Genesis3D | 272fc6aa2580de4ee223274ea04a101199c535a1 | [
"Condor-1.1",
"Unlicense"
] | 3 | 2020-04-29T03:17:50.000Z | 2021-05-26T19:53:46.000Z | source/GTest/Game/GMain.cpp | paradoxnj/Genesis3D | 272fc6aa2580de4ee223274ea04a101199c535a1 | [
"Condor-1.1",
"Unlicense"
] | 1 | 2020-04-29T03:12:47.000Z | 2020-04-29T03:12:47.000Z | source/GTest/Game/GMain.cpp | paradoxnj/Genesis3D | 272fc6aa2580de4ee223274ea04a101199c535a1 | [
"Condor-1.1",
"Unlicense"
] | null | null | null | /****************************************************************************************/
/* GMain.c */
/* */
/* Author: John Pollard ... | 28.063766 | 143 | 0.598333 | paradoxnj |
d76b2436653e0b1c717997efa36db65f71b1e2e7 | 983 | cpp | C++ | chapter-07/screen.cpp | aufziehvogel/cpp-primer | 1ae8fdcda8580ea5d646a725fbb76110f138dbc8 | [
"MIT"
] | null | null | null | chapter-07/screen.cpp | aufziehvogel/cpp-primer | 1ae8fdcda8580ea5d646a725fbb76110f138dbc8 | [
"MIT"
] | null | null | null | chapter-07/screen.cpp | aufziehvogel/cpp-primer | 1ae8fdcda8580ea5d646a725fbb76110f138dbc8 | [
"MIT"
] | null | null | null | #include "screen.h"
#include <stdexcept>
Window_mgr::Window_mgr()
{
screens = {Screen(24, 80, ' ')};
}
Screen Window_mgr::get(ScreenIdx idx) const
{
if (screens.size() <= idx)
throw std::runtime_error("Trying to access invalid screen, actual size: " + screens.size());
return screens[idx];
}
void... | 22.340909 | 100 | 0.649034 | aufziehvogel |
d76f7d40e7de3541ba27cd42060688c0efc4757c | 3,068 | hpp | C++ | include/seqan3/alignment/matrix/detail/alignment_trace_matrix_base.hpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 283 | 2017-03-14T23:43:33.000Z | 2022-03-28T02:30:02.000Z | include/seqan3/alignment/matrix/detail/alignment_trace_matrix_base.hpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 2,754 | 2017-03-21T18:39:02.000Z | 2022-03-31T13:26:15.000Z | include/seqan3/alignment/matrix/detail/alignment_trace_matrix_base.hpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 88 | 2017-03-20T12:43:42.000Z | 2022-03-17T08:56:13.000Z | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 43.211268 | 117 | 0.676988 | joergi-w |
d7733136bff8161c2876c70bb24915465ddf0b5c | 217 | cpp | C++ | Runtime/Collision/CCollisionEdge.cpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | 267 | 2016-03-10T21:59:16.000Z | 2021-03-28T18:21:03.000Z | Runtime/Collision/CCollisionEdge.cpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 129 | 2016-03-12T10:17:32.000Z | 2021-04-05T20:45:19.000Z | Runtime/Collision/CCollisionEdge.cpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 31 | 2016-03-20T00:20:11.000Z | 2021-03-10T21:14:11.000Z | #include "Runtime/Collision/CCollisionEdge.hpp"
namespace metaforce {
CCollisionEdge::CCollisionEdge(CInputStream& in) {
x0_index1 = in.readUint16Big();
x2_index2 = in.readUint16Big();
}
} // namespace metaforce
| 24.111111 | 50 | 0.764977 | Jcw87 |
d7759e6eddbe3820cfd6c5d605415de59210ef0b | 5,855 | hpp | C++ | AVL & BST/avl.hpp | gch144/Data-Structures | 462cb009eebc7259409d44b9b5c62c9fd9051d48 | [
"MIT"
] | null | null | null | AVL & BST/avl.hpp | gch144/Data-Structures | 462cb009eebc7259409d44b9b5c62c9fd9051d48 | [
"MIT"
] | null | null | null | AVL & BST/avl.hpp | gch144/Data-Structures | 462cb009eebc7259409d44b9b5c62c9fd9051d48 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
template <typename Key, typename Info>
class AVLTree
{
// Node of the AVL tree
struct Node
{
public:
Key key;
Info info;
Node *left;
Node *right;
int height;
Node(const Key &key, const Info &info)
{
... | 18.41195 | 82 | 0.523997 | gch144 |
d7777457bca06068d235a8522f6f391f74e9c2ef | 873 | cpp | C++ | Coursework 1/MultiThreading/MultiThreading/main.cpp | BarrySoap/Concurrent-Parallel-Systems | 628b84c7a7a8ef01b5f58216e35e74f03d066d95 | [
"MIT"
] | 1 | 2018-11-05T15:05:02.000Z | 2018-11-05T15:05:02.000Z | Coursework 1/MultiThreading/MultiThreading/main.cpp | BarrySoap/Concurrent-Parallel-Systems | 628b84c7a7a8ef01b5f58216e35e74f03d066d95 | [
"MIT"
] | null | null | null | Coursework 1/MultiThreading/MultiThreading/main.cpp | BarrySoap/Concurrent-Parallel-Systems | 628b84c7a7a8ef01b5f58216e35e74f03d066d95 | [
"MIT"
] | null | null | null | #include <chrono>
#include <fstream>
#include "block_chain.h"
using namespace std;
using namespace chrono;
int main()
{
block_chain bchain;
// Open a file in the root folder,
bchain.results.open("MultiThreading.csv", ofstream::out);
// And add the headings for average block time and difficulty.
bchain.results <<... | 26.454545 | 93 | 0.672394 | BarrySoap |
d77d7a87c950369f5b31f1c9220c5f503a2af38d | 1,797 | hpp | C++ | apps/router/api/assfire/router/api/RouteDetails.hpp | Eaglegor/assfire-suite | 6c8140e848932b6ce22b6addd07a93abba652c01 | [
"MIT"
] | null | null | null | apps/router/api/assfire/router/api/RouteDetails.hpp | Eaglegor/assfire-suite | 6c8140e848932b6ce22b6addd07a93abba652c01 | [
"MIT"
] | null | null | null | apps/router/api/assfire/router/api/RouteDetails.hpp | Eaglegor/assfire-suite | 6c8140e848932b6ce22b6addd07a93abba652c01 | [
"MIT"
] | null | null | null | #pragma once
#include <utility>
#include <vector>
#include "assfire/concepts/Location.hpp"
#include "RouteInfo.hpp"
namespace assfire::router {
class RouteDetails {
public:
using Waypoint = Location;
using Waypoints = std::vector<Waypoint>;
RouteDetails() :
summary(Rou... | 26.426471 | 86 | 0.554257 | Eaglegor |
d784cf0da031e7f68610edb83169de9c657102de | 9,275 | cpp | C++ | src/gpre/pat.cpp | aafemt/firebird | 6f5617524996a8ef6eb721cc782d7fa3513b7d3b | [
"Condor-1.1"
] | null | null | null | src/gpre/pat.cpp | aafemt/firebird | 6f5617524996a8ef6eb721cc782d7fa3513b7d3b | [
"Condor-1.1"
] | null | null | null | src/gpre/pat.cpp | aafemt/firebird | 6f5617524996a8ef6eb721cc782d7fa3513b7d3b | [
"Condor-1.1"
] | null | null | null | //____________________________________________________________
//
// PROGRAM: Language Preprocessor
// MODULE: pat.cpp
// DESCRIPTION: Code generator pattern generator
//
// The contents of this file are subject to the Interbase Public
// License Version 1.0 (the "License"); you may not use this file
// except i... | 19.734043 | 88 | 0.612183 | aafemt |
d78cf77ec801ae1619175bab3bcd12fd09dade2a | 10,541 | cc | C++ | xtcdata/xtcdata/app/amiwriter.cc | AntoineDujardin/lcls2 | 8b9d2815497fbbabb4d37800fd86a7be1728b552 | [
"BSD-3-Clause-LBNL"
] | null | null | null | xtcdata/xtcdata/app/amiwriter.cc | AntoineDujardin/lcls2 | 8b9d2815497fbbabb4d37800fd86a7be1728b552 | [
"BSD-3-Clause-LBNL"
] | null | null | null | xtcdata/xtcdata/app/amiwriter.cc | AntoineDujardin/lcls2 | 8b9d2815497fbbabb4d37800fd86a7be1728b552 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "xtcdata/xtc/DescData.hh"
#include "xtcdata/xtc/Dgram.hh"
#include "xtcdata/xtc/VarDef.hh"
#include "xtcdata/xtc/NamesLookup.hh"
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <unistd.h>
#include <stdint.h>
#include <sys/time.h>
using namespace XtcData;
#define BUFSIZE 0x4000000
class... | 32.838006 | 116 | 0.625652 | AntoineDujardin |
d78d273df487de6baa7bd73cebfb9d65870e363c | 2,317 | cpp | C++ | test/BytesTest.cpp | TheOsch2/boolinq | 5464cf801b046026e8d32cb37d9985fd672a34ec | [
"MIT"
] | 473 | 2015-01-03T03:58:48.000Z | 2022-03-18T19:27:09.000Z | test/BytesTest.cpp | TheOsch2/boolinq | 5464cf801b046026e8d32cb37d9985fd672a34ec | [
"MIT"
] | 58 | 2015-01-13T14:43:35.000Z | 2022-03-02T16:48:55.000Z | test/BytesTest.cpp | TheOsch2/boolinq | 5464cf801b046026e8d32cb37d9985fd672a34ec | [
"MIT"
] | 71 | 2015-02-17T20:30:50.000Z | 2022-03-21T00:56:54.000Z | #include <vector>
#include <string>
#include <gtest/gtest.h>
#include "CommonTests.h"
#include "boolinq.h"
using namespace boolinq;
//////////////////////////////////////////////////////////////////////////
TEST(Bytes, OneByteDefault)
{
unsigned char src[] = {0xAA};
int ans[] = {0xAA};
auto rng = from... | 18.244094 | 74 | 0.540354 | TheOsch2 |
d78eadf35b3641381ed81b8e9eb92a3a5f3153e8 | 1,607 | cpp | C++ | test/metafunctions.cpp | GuapoTaco/Modular-ECS | 479114936eba14fa701787d67de147c19bd6ce04 | [
"MIT"
] | null | null | null | test/metafunctions.cpp | GuapoTaco/Modular-ECS | 479114936eba14fa701787d67de147c19bd6ce04 | [
"MIT"
] | null | null | null | test/metafunctions.cpp | GuapoTaco/Modular-ECS | 479114936eba14fa701787d67de147c19bd6ce04 | [
"MIT"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include <ecs/manager.hpp>
#define GET_HANA_CONSTANT_VALUE(name) ::std::decay_t<decltype(name)>::value
using namespace ecs;
BOOST_AUTO_TEST_CASE(get_index_of_first_matching_test)
{
auto tup = make_type_tuple<int, char, double>;
BOOST_TEST(
GET_HANA_CONSTANT_VALUE(get_index_o... | 33.479167 | 96 | 0.766646 | GuapoTaco |
d78f71aee3d4008daa43d9d4e16c196dd271b699 | 3,212 | cpp | C++ | 11. DP 2/Practice/4_Square_brackets.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | 11. DP 2/Practice/4_Square_brackets.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | 11. DP 2/Practice/4_Square_brackets.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | /* Square Brackets
Send Feedback
You are given:
a positive integer n,
an integer k, 1<=k<=n,
an increasing sequence of k integers 0 < s1 < s2 < ... < sk <= 2n.
What is the number of proper bracket expressions of length 2n with opening brackets appearing in positions s1, s2,...,sk?
Illustration
Several proper bracket ex... | 25.291339 | 146 | 0.562578 | bhavinvirani |
d79317ca2c74ce53b6fd74b8d6a2b56ca19e0b1b | 13,880 | cpp | C++ | src/VK/PostProc/BlurPS.cpp | whatevermarch/Cauldron | b3a4f62bf79034240b979d575e67ee51790ab435 | [
"MIT"
] | 1 | 2021-10-13T06:15:46.000Z | 2021-10-13T06:15:46.000Z | src/VK/PostProc/BlurPS.cpp | whatevermarch/Cauldron | b3a4f62bf79034240b979d575e67ee51790ab435 | [
"MIT"
] | null | null | null | src/VK/PostProc/BlurPS.cpp | whatevermarch/Cauldron | b3a4f62bf79034240b979d575e67ee51790ab435 | [
"MIT"
] | null | null | null | // AMD Cauldron code
//
// Copyright(c) 2018 Advanced Micro Devices, Inc.All rights reserved.
// 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 limitat... | 45.064935 | 186 | 0.637896 | whatevermarch |
d7965ae5f13da7506c2a6bd89f02667f04f807c9 | 3,242 | cpp | C++ | client/include/samp/CActor.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 97 | 2019-01-13T20:19:19.000Z | 2022-02-27T18:47:11.000Z | client/include/samp/CActor.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 92 | 2019-01-23T23:02:31.000Z | 2022-03-23T19:59:40.000Z | client/include/samp/CActor.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 69 | 2019-01-13T22:01:40.000Z | 2022-03-09T00:55:49.000Z | /*
This is a SAMP (0.3.7-R1/R3) API project file.
Developer: LUCHARE <luchare.dev@gmail.com>
See more here https://github.com/LUCHARE/SAMP-API
Copyright (c) 2018 BlastHack Team <BlastHack.Net>. All rights reserved.
*/
#include "CActor.h"
#if defined(SAMP_R1)
SAMP::CActor::CActor(int nSkin, CVectorSA vPos, fl... | 32.09901 | 183 | 0.713757 | MayconFelipeA |
d796fb41d4cb992c1d40777d98cb8b76a56b8d11 | 619 | cpp | C++ | Siv3D/src/Siv3D/BoolFormat/SivBoolFormat.cpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D/BoolFormat/SivBoolFormat.cpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D/BoolFormat/SivBoolFormat.cpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | 1 | 2019-10-06T17:09:26.000Z | 2019-10-06T17:09:26.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2018 Ryo Suzuki
// Copyright (c) 2016-2018 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/BoolFormat.hpp>
# include <Siv... | 23.807692 | 73 | 0.589661 | Fuyutsubaki |
d798a82e4f7ba69b2133203e210918f14b22002e | 1,604 | cpp | C++ | firmware/src/views/menu.cpp | brianpepin/lpm | 969105a6374fa65c2de4e74a119d614b32e6ea2c | [
"MIT"
] | 3 | 2020-06-02T01:23:18.000Z | 2022-02-25T22:20:24.000Z | firmware/src/views/menu.cpp | brianpepin/lpm | 969105a6374fa65c2de4e74a119d614b32e6ea2c | [
"MIT"
] | null | null | null | firmware/src/views/menu.cpp | brianpepin/lpm | 969105a6374fa65c2de4e74a119d614b32e6ea2c | [
"MIT"
] | null | null | null | #include <globals.h>
#include <views/menu.h>
#include <adc.h>
#include <power.h>
#include <logger.h>
#define MI_CLEAR 0
#define MI_LOGGING 1
#define MI_CALIBRATION 2
#define MI_POWER_OFF 3
const char PROGMEM _menuTitle[] = "Menu";
const char PROGMEM _miClear[] = "Clear";
const char PROGMEM _... | 19.095238 | 68 | 0.589776 | brianpepin |
d79e6c7bc79b39e41e70ca3a4aad12d7772a9bfe | 1,976 | cpp | C++ | winshell/src/echo/main.cpp | ZhangShuaiH/demos | 8e4926e6fb40de54d9b50b9e36e3e90ea541e719 | [
"Apache-2.0"
] | 1 | 2021-05-18T14:07:05.000Z | 2021-05-18T14:07:05.000Z | winshell/src/echo/main.cpp | ZhangShuaiH/demos | 8e4926e6fb40de54d9b50b9e36e3e90ea541e719 | [
"Apache-2.0"
] | null | null | null | winshell/src/echo/main.cpp | ZhangShuaiH/demos | 8e4926e6fb40de54d9b50b9e36e3e90ea541e719 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <sstream>
#include <ctype.h>
using namespace std;
char newLine = '\n';
void noNewLine()
{
newLine = 0;
}
void help()
{
string command = "echo ";
cout<<command<<"[option].. [msg].."<<endl;
cout<<endl;
cout<<"options:"<<endl;
cout<<'\t'<<"-n --nonewline\t... | 19.564356 | 78 | 0.423583 | ZhangShuaiH |
d79fd6cd08a4cd2b58ea37a6ad691db9fa661f0c | 1,750 | hpp | C++ | consolemgr/include/Client.hpp | maximaximal/piga | 54530c208e59eaaf8d44c1f8d640f5ec028d4126 | [
"Zlib"
] | 2 | 2015-01-07T18:36:39.000Z | 2015-01-08T13:54:43.000Z | consolemgr/include/Client.hpp | maximaximal/piga | 54530c208e59eaaf8d44c1f8d640f5ec028d4126 | [
"Zlib"
] | null | null | null | consolemgr/include/Client.hpp | maximaximal/piga | 54530c208e59eaaf8d44c1f8d640f5ec028d4126 | [
"Zlib"
] | null | null | null | #ifndef CLIENT_HPP
#define CLIENT_HPP
#include <memory>
#include <QObject>
#include <Player.hpp>
namespace NetworkedClient
{
class PlayerManager;
class Client;
}
class Client : public QObject
{
Q_OBJECT
Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
Q_PROPERTY(Sta... | 25.362319 | 81 | 0.633143 | maximaximal |
d7a8f19b10136dcfc8ebc24eda6273e5e3c66c32 | 599 | cpp | C++ | cwsdk/cube.cpp | Andoryuuta/cwsdk | a3672e9c9645e6a0de388e07483e4f8bf22eb7fb | [
"MIT"
] | 2 | 2019-07-08T13:55:13.000Z | 2021-05-06T23:35:46.000Z | cwsdk/cube.cpp | Andoryuuta/cwsdk | a3672e9c9645e6a0de388e07483e4f8bf22eb7fb | [
"MIT"
] | 4 | 2018-11-09T12:18:17.000Z | 2019-07-08T19:16:24.000Z | cwsdk/cube.cpp | Andoryuuta/cwsdk | a3672e9c9645e6a0de388e07483e4f8bf22eb7fb | [
"MIT"
] | 1 | 2019-07-07T10:05:56.000Z | 2019-07-07T10:05:56.000Z | #include "cube.h"
#include <iostream>
#include <Windows.h>
#include "msvc_bincompat.h"
#include "cube_funcs.h"
#include "globals.h"
namespace cube {
GameController* BusywaitForGameController() {
auto imageBase = (uint32_t)GetModuleHandleA(NULL);
GameController** gcp = (GameController**)(imageBase + 0x36B1C8);
... | 21.392857 | 66 | 0.699499 | Andoryuuta |
92e4e69ee851faaa71edec6736ccd4fc7cafacd5 | 3,006 | hpp | C++ | src/Controller/PhysicsFacade/RigidBody.hpp | MajorArkwolf/Project-Blue-Engine | e5fc6416d0a41a1251f1b369047e0ea1097775da | [
"MIT"
] | 1 | 2021-04-18T09:49:38.000Z | 2021-04-18T09:49:38.000Z | src/Controller/PhysicsFacade/RigidBody.hpp | MajorArkwolf/ICT397-Project-Blue | e5fc6416d0a41a1251f1b369047e0ea1097775da | [
"MIT"
] | null | null | null | src/Controller/PhysicsFacade/RigidBody.hpp | MajorArkwolf/ICT397-Project-Blue | e5fc6416d0a41a1251f1b369047e0ea1097775da | [
"MIT"
] | 2 | 2020-06-13T15:24:01.000Z | 2021-04-15T20:25:49.000Z | #pragma once
#include <glm/gtc/quaternion.hpp>
#include <glm/vec3.hpp>
namespace Physics {
enum class RigidBodyType { Static, Kinematic, Dynamic };
/**
* @class RigidBody
* A pure virtual class that represents a RigidBody for use within a dynamics world
*/
class RigidBody {
public:
... | 40.08 | 98 | 0.50998 | MajorArkwolf |
92ea347cd955ba757106ded405f52df63d42ac5e | 7,158 | hpp | C++ | ivarp/include/ivarp/bound_dependency_analysis.hpp | phillip-keldenich/squares-in-disk | 501ebeb00b909b9264a9611fd63e082026cdd262 | [
"MIT"
] | null | null | null | ivarp/include/ivarp/bound_dependency_analysis.hpp | phillip-keldenich/squares-in-disk | 501ebeb00b909b9264a9611fd63e082026cdd262 | [
"MIT"
] | null | null | null | ivarp/include/ivarp/bound_dependency_analysis.hpp | phillip-keldenich/squares-in-disk | 501ebeb00b909b9264a9611fd63e082026cdd262 | [
"MIT"
] | null | null | null | // The code is open source under the MIT license.
// Copyright 2019-2020, Phillip Keldenich, TU Braunschweig, Algorithms Group
// https://ibr.cs.tu-bs.de/alg
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to de... | 44.185185 | 114 | 0.674211 | phillip-keldenich |
92ea4394d365ff9f627d7ee8e30f27b0c7b570c2 | 4,025 | cpp | C++ | YareEngine/Source/Utilities/IOHelper.cpp | Resoona/Yare | fc94403575285099ce93ef556f68c77b815577d9 | [
"MIT"
] | 2 | 2020-03-01T13:56:45.000Z | 2020-03-06T01:41:00.000Z | YareEngine/Source/Utilities/IOHelper.cpp | Riyusuna/Yare | fc94403575285099ce93ef556f68c77b815577d9 | [
"MIT"
] | null | null | null | YareEngine/Source/Utilities/IOHelper.cpp | Riyusuna/Yare | fc94403575285099ce93ef556f68c77b815577d9 | [
"MIT"
] | null | null | null | #include "Utilities/IOHelper.h"
#include "Utilities/Logger.h"
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#define GLM_ENABLE_EXPERIMENTAL
#include <tinyobjloader/tiny_obj_loader.h>
#include <glm/glm.hpp>
#include <glm/gtx/hash.hpp>
#include <glm/gtx/string_cast.hpp>
#include <unordered_map>
namesp... | 37.616822 | 111 | 0.529193 | Resoona |
92ef8c3f89eb39202e5a05268a98f797da5dd951 | 8,950 | cpp | C++ | src/renderer/surface/swapchain.cpp | LwRuan/RainEngine | 0bf3c009190e86cf1b81a692ce26eb26646aca3c | [
"MIT"
] | null | null | null | src/renderer/surface/swapchain.cpp | LwRuan/RainEngine | 0bf3c009190e86cf1b81a692ce26eb26646aca3c | [
"MIT"
] | null | null | null | src/renderer/surface/swapchain.cpp | LwRuan/RainEngine | 0bf3c009190e86cf1b81a692ce26eb26646aca3c | [
"MIT"
] | null | null | null | #include "swapchain.h"
#include "device/device.h"
namespace Rain {
VkResult SwapChain::Init(Device* device, PhysicalDevice* physical_device,
GLFWwindow* window, VkSurfaceKHR surface) {
device_ = device;
VkSurfaceFormatKHR surface_format = physical_device->ChooseSurfaceFormat();
... | 42.018779 | 85 | 0.707039 | LwRuan |
92efbf827dfc576b2d9a57cc6331941ac50b24ae | 488 | cpp | C++ | 1200/00/1209.cpp | actium/timus | 6231d9e7fd325cae36daf5ee2ec7e61381f04003 | [
"Unlicense"
] | null | null | null | 1200/00/1209.cpp | actium/timus | 6231d9e7fd325cae36daf5ee2ec7e61381f04003 | [
"Unlicense"
] | null | null | null | 1200/00/1209.cpp | actium/timus | 6231d9e7fd325cae36daf5ee2ec7e61381f04003 | [
"Unlicense"
] | null | null | null | #include <iostream>
unsigned search(unsigned k)
{
unsigned lb = 0, ub = 92682;
while (lb + 1 < ub) {
const unsigned mid = (lb + ub) / 2;
const auto x = mid * (mid + 1ull) / 2 + 1;
if (x == k)
return 1;
(x < k ? lb : ub) = mid;
}
return k == 1;
}
int main()... | 15.25 | 50 | 0.418033 | actium |
92f26f31af131f2dc41f9a10919861e7af80e1c8 | 3,701 | cpp | C++ | prophy_cpp/test/test_generated_unions.cpp | florczakraf/prophy | a42a6151a77b31afa05300fc2e1f52cc15a298cf | [
"MIT"
] | 14 | 2015-02-19T22:00:37.000Z | 2020-11-30T03:03:55.000Z | prophy_cpp/test/test_generated_unions.cpp | florczakraf/prophy | a42a6151a77b31afa05300fc2e1f52cc15a298cf | [
"MIT"
] | 31 | 2015-06-22T11:11:10.000Z | 2021-05-12T06:35:47.000Z | prophy_cpp/test/test_generated_unions.cpp | florczakraf/prophy | a42a6151a77b31afa05300fc2e1f52cc15a298cf | [
"MIT"
] | 16 | 2015-06-12T06:48:06.000Z | 2019-11-26T22:48:13.000Z | #include <vector>
#include <gtest/gtest.h>
#include "Unions.ppf.hpp"
#include "util.hpp"
using namespace testing;
using namespace prophy::generated;
TEST(generated_unions, Union)
{
std::vector<char> data(1024);
Union x{Union::discriminator_a_t, 1};
size_t size = x.encode(data.data());
/// encoding
... | 25.701389 | 66 | 0.546339 | florczakraf |
92f7f0a9398dc2e0219401564a70be07672b339f | 1,087 | hpp | C++ | Programming Guide/Headers/Siv3D/Spline.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | 38 | 2016-01-14T13:51:13.000Z | 2021-12-29T01:49:30.000Z | Programming Guide/Headers/Siv3D/Spline.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | null | null | null | Programming Guide/Headers/Siv3D/Spline.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | 16 | 2016-01-15T11:07:51.000Z | 2021-12-29T01:49:37.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (C) 2008-2016 Ryo Suzuki
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
namespace s3d
{
/// <summary>
/// スプライン
/// </summary>
namespace Spline
... | 27.871795 | 132 | 0.533579 | Reputeless |
92f8015caf1e67ea934f7faf81467cc17cd343b9 | 3,000 | cpp | C++ | src/old/src/pmca.cpp | anupgp/astron | 5ef1b113b5025f5e0477a1fb2b5202fadbc5335c | [
"MIT"
] | null | null | null | src/old/src/pmca.cpp | anupgp/astron | 5ef1b113b5025f5e0477a1fb2b5202fadbc5335c | [
"MIT"
] | null | null | null | src/old/src/pmca.cpp | anupgp/astron | 5ef1b113b5025f5e0477a1fb2b5202fadbc5335c | [
"MIT"
] | null | null | null | // Time-stamp: <2017-09-21 17:59:25 anup>
// Units: all SI units - seconds, Volts, Ampere, Meters, Simenes, Farads
// Ref:bartol2015
#include <vector>
#include <iostream>
#include <cmath>
#include "insilico/core.hpp"
#include "data_types.hpp"
#include "physical_constants.hpp"
#include "pmca.hpp"
namespace consts=a... | 44.117647 | 124 | 0.726333 | anupgp |
92f808d6eaf2f84a6521df39b1e29a9b335ca967 | 3,762 | hpp | C++ | proj/KSP/src/SerialComs.hpp | bananu7/Arduino | 56769c0850a6da873c29a0ac78fa2e1133bb7cc7 | [
"MIT"
] | 1 | 2020-02-24T09:14:02.000Z | 2020-02-24T09:14:02.000Z | proj/KSP/src/SerialComs.hpp | bananu7/Arduino | 56769c0850a6da873c29a0ac78fa2e1133bb7cc7 | [
"MIT"
] | 2 | 2016-11-20T18:43:59.000Z | 2016-11-20T18:44:11.000Z | proj/KSP/src/SerialComs.hpp | bananu7/Arduino | 56769c0850a6da873c29a0ac78fa2e1133bb7cc7 | [
"MIT"
] | null | null | null | #pragma once
#include "Structure.h"
class SerialComs {
public:
struct ReadResult {
bool status;
enum class TypeOfPacket {
HandShakePacket,
VesselData
} typeOfPacket;
union {
HandShakePacket handShakePacket;
VesselData vesselData;
... | 28.938462 | 87 | 0.468634 | bananu7 |
92f8c60874f25595b4cdfb3e210a9ed34e23604d | 5,960 | cc | C++ | test/intersectionface.cc | untaugh/geotree | 4600a1cb4115094ed5c4c1500c6221a458e68be8 | [
"MIT"
] | 2 | 2018-07-27T00:58:07.000Z | 2021-11-20T22:26:10.000Z | test/intersectionface.cc | untaugh/geotree | 4600a1cb4115094ed5c4c1500c6221a458e68be8 | [
"MIT"
] | null | null | null | test/intersectionface.cc | untaugh/geotree | 4600a1cb4115094ed5c4c1500c6221a458e68be8 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include <Eigen/Core>
#include <vector>
#include "MeshIntersection.h"
#include "IntersectionFace.h"
#include "MeshFactory.h"
#include "Face.h"
namespace {
using namespace Geotree;
class IntersectionFaceTest : public ::testing::Test {
};
TEST_F(IntersectionFaceTest, basic)
... | 25.147679 | 68 | 0.500168 | untaugh |
92fb903178035aa80b5092cd78999ddcaf4d2e15 | 3,773 | cpp | C++ | arcc/Listing.cpp | zethon/yarc | 37bd8d780689f262315f590d3dc354a9a147d296 | [
"MIT"
] | 5 | 2017-12-17T19:21:20.000Z | 2022-02-26T01:11:18.000Z | arcc/Listing.cpp | zethon/yarc | 37bd8d780689f262315f590d3dc354a9a147d296 | [
"MIT"
] | 22 | 2017-12-13T10:51:32.000Z | 2019-11-28T16:20:26.000Z | arcc/Listing.cpp | zethon/yarc | 37bd8d780689f262315f590d3dc354a9a147d296 | [
"MIT"
] | null | null | null | // Another Reddit Console Client
// Copyright (c) 2017-2019, Adalid Claure <aclaure@gmail.com>
#include <boost/algorithm/string.hpp>
#include <nlohmann/json.hpp>
#include "RedditSession.h"
#include "Listing.h"
namespace arcc
{
Listing::Listing(RedditSessionPtr session,
const std::string& endpoint,... | 24.5 | 112 | 0.572754 | zethon |
92fcd40c24decc57806b41372a0eb24b1b9ffe72 | 11,907 | hpp | C++ | include/codegen/include/UnityEngine/ProBuilder/PreferenceDictionary.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/ProBuilder/PreferenceDictionary.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/ProBuilder/PreferenceDictionary.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:21 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: UnityEngine.ScriptableObject
#include "UnityEngine/Scriptabl... | 51.103004 | 166 | 0.738809 | Futuremappermydud |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.