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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4e979f24e2c715dcba264b2ff125d9451d2b639c | 10,083 | cpp | C++ | webkit/WebCore/platform/win/ScrollbarThemeSafari.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/platform/win/ScrollbarThemeSafari.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/platform/win/ScrollbarThemeSafari.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (C) 2008 Apple Inc. 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 the above copyright
* notice, this list of conditions a... | 39.081395 | 174 | 0.725181 | s1rcheese |
4e97f27364ddf98cc18a4ebbb9ae22072736a4eb | 858 | cxx | C++ | src/pipeline/lexical_analysis/symbols-vector.cxx | arazeiros/prevc | 378f045f57b2e1c9460ac1699951291ac055c078 | [
"MIT"
] | 3 | 2018-10-30T20:33:45.000Z | 2019-03-06T11:46:31.000Z | src/pipeline/lexical_analysis/symbols-vector.cxx | arazeiros/prevc | 378f045f57b2e1c9460ac1699951291ac055c078 | [
"MIT"
] | null | null | null | src/pipeline/lexical_analysis/symbols-vector.cxx | arazeiros/prevc | 378f045f57b2e1c9460ac1699951291ac055c078 | [
"MIT"
] | null | null | null | #include <prevc/pipeline/lexical_analysis/symbols-vector.hxx>
#include <iostream>
#include <sstream>
namespace prevc
{
namespace pipeline
{
namespace lexical_analysis
{
util::String SymbolsVector::to_string() const noexcept
{
std::stringbuf buffer;
... | 24.514286 | 66 | 0.370629 | arazeiros |
4e9955a358f75425ea8e0e3c212b86c24fce4155 | 1,923 | cpp | C++ | algorithmforcpp/backtracking/n_queens.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | algorithmforcpp/backtracking/n_queens.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | algorithmforcpp/backtracking/n_queens.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
> File Name: n_queens.cpp
> Author: yoghourt->ilvcr
> Mail: liyaoliu@foxmail.com @@ ilvcr@outlook.com
> Created Time: 2018年07月18日 星期三 14时11分46秒
> Description:
************************************************************************/
#incl... | 21.131868 | 80 | 0.425897 | ilvcr |
4e9f30ffa80c9b10e6b62819f00cba70cef407d3 | 1,328 | cpp | C++ | Cpp/2-Types/IntegerTypes.cpp | M1412/high-in-my-tuxedo | 9bd324b80d3b54cdf4c7b5c0f7988d21e27e8a5a | [
"Unlicense"
] | null | null | null | Cpp/2-Types/IntegerTypes.cpp | M1412/high-in-my-tuxedo | 9bd324b80d3b54cdf4c7b5c0f7988d21e27e8a5a | [
"Unlicense"
] | null | null | null | Cpp/2-Types/IntegerTypes.cpp | M1412/high-in-my-tuxedo | 9bd324b80d3b54cdf4c7b5c0f7988d21e27e8a5a | [
"Unlicense"
] | null | null | null | /**
* @file IntegerTypes.cpp
* @author Mohamed Ishmael (magic.moha@outlook.com)
* @version 0.1
* @date 2020-10-28
*
* @copyright Copyright (c) 2020
*
*/
/**
* @brief
* Type | Signed | Size in bytes | printf format
* specifier
*
* short | Yes | 2 | 2 | 2 ... | 30.181818 | 76 | 0.462349 | M1412 |
4ea3a33fdc0e212cd0df8bb1979ee91743fd375d | 16,681 | cpp | C++ | src/ofxWarp/WarpBase.cpp | radamchin/ofxWarp | a4f5c2f06393841fbe79462d9ee2b1d6ec1ffa73 | [
"MIT"
] | 1 | 2019-08-06T15:46:59.000Z | 2019-08-06T15:46:59.000Z | src/ofxWarp/WarpBase.cpp | radamchin/ofxWarp | a4f5c2f06393841fbe79462d9ee2b1d6ec1ffa73 | [
"MIT"
] | null | null | null | src/ofxWarp/WarpBase.cpp | radamchin/ofxWarp | a4f5c2f06393841fbe79462d9ee2b1d6ec1ffa73 | [
"MIT"
] | 2 | 2020-03-03T18:28:48.000Z | 2022-01-17T22:12:39.000Z | #include "WarpBase.h"
#include "ofPolyline.h"
namespace ofxWarp
{
//--------------------------------------------------------------
std::filesystem::path WarpBase::shaderPath = std::filesystem::path("shaders") / "ofxWarp";
//--------------------------------------------------------------
void WarpBase::setShaderPa... | 27.526403 | 169 | 0.521971 | radamchin |
4ea551ce36d6b28bc50a54540c941fb057c2f627 | 8,820 | cpp | C++ | Source/General/Driver/Image/FreeImage/ZImageFreeImage.cpp | paintdream/paintsnow | 3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781 | [
"MIT"
] | null | null | null | Source/General/Driver/Image/FreeImage/ZImageFreeImage.cpp | paintdream/paintsnow | 3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781 | [
"MIT"
] | null | null | null | Source/General/Driver/Image/FreeImage/ZImageFreeImage.cpp | paintdream/paintsnow | 3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781 | [
"MIT"
] | null | null | null | #include "ZImageFreeImage.h"
#define FREEIMAGE_LIB
#include "Core/Source/FreeImage.h"
#include <cassert>
#include <algorithm>
using namespace PaintsNow;
class InitFreeImage {
public:
InitFreeImage() {
FreeImage_Initialise(true);
}
~InitFreeImage() {
FreeImage_DeInitialise();
}
};
class FreeImageImpl : pu... | 29.597315 | 220 | 0.710544 | paintdream |
4ea7b966258a8375e38e4912a43e20772df43bcc | 1,172 | cpp | C++ | Source/LucifersHordes/FlickeringLight.cpp | jdsilv17/LucifersHordes | c10e6dba0c3fcbfe83b28e3dc5eb3a09d2d5ab96 | [
"MIT"
] | null | null | null | Source/LucifersHordes/FlickeringLight.cpp | jdsilv17/LucifersHordes | c10e6dba0c3fcbfe83b28e3dc5eb3a09d2d5ab96 | [
"MIT"
] | null | null | null | Source/LucifersHordes/FlickeringLight.cpp | jdsilv17/LucifersHordes | c10e6dba0c3fcbfe83b28e3dc5eb3a09d2d5ab96 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "FlickeringLight.h"
// Sets default values
AFlickeringLight::AFlickeringLight()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick ... | 27.255814 | 115 | 0.770478 | jdsilv17 |
4eb186ebc58133ff2324ee53dba1f48aa976e136 | 2,339 | cpp | C++ | Src/Assist/Color.cpp | bnagybalint/BoloDemoEngine | 845fc669e0b37bfbffce7aa3d02364d6e715779e | [
"MIT"
] | null | null | null | Src/Assist/Color.cpp | bnagybalint/BoloDemoEngine | 845fc669e0b37bfbffce7aa3d02364d6e715779e | [
"MIT"
] | null | null | null | Src/Assist/Color.cpp | bnagybalint/BoloDemoEngine | 845fc669e0b37bfbffce7aa3d02364d6e715779e | [
"MIT"
] | null | null | null | #include "Color.h"
/*static*/ Color Color::BLACK = Color(0,0,0,1);
/*static*/ Color Color::RED = Color(1,0,0,1);
/*static*/ Color Color::GREEN = Color(0,1,0,1);
/*static*/ Color Color::BLUE = Color(0,0,1,1);
/*static*/ Color Color::WHITE = Color(1,1,1,1);
/*static*/ Color Col... | 28.52439 | 145 | 0.616075 | bnagybalint |
4eb41d58d8619887a7f56792de0a1de645aaed62 | 2,912 | hpp | C++ | upload_controller.hpp | descent/feather | f1aba4c98a9749f5f8dabfede73895596cd667fb | [
"MIT"
] | null | null | null | upload_controller.hpp | descent/feather | f1aba4c98a9749f5f8dabfede73895596cd667fb | [
"MIT"
] | null | null | null | upload_controller.hpp | descent/feather | f1aba4c98a9749f5f8dabfede73895596cd667fb | [
"MIT"
] | 1 | 2018-09-15T01:33:17.000Z | 2018-09-15T01:33:17.000Z | //
// Created by root on 4/26/18.
//
#ifndef FEATHER_UPLOAD_CONTROLLER_HPP
#define FEATHER_UPLOAD_CONTROLLER_HPP
namespace feather{
class upload_controller{
public:
void upload(const request& req,response &res)
{
assert(req.get_http_type() == content_type::multipart);
au... | 37.818182 | 119 | 0.464973 | descent |
4eb61c4a1d43dd772a6d900c00de346d5c706e0a | 1,898 | cpp | C++ | Customized-Build/il2cpp/Il2CppOutputProject/IL2CPP/libil2cpp/os/c-api/Event.cpp | cqtd/custom-il2cpp-build-pipeline-example | 9ec4973d98ddfcefee72b01225a3b7613312096b | [
"MIT"
] | 1 | 2022-03-28T07:59:17.000Z | 2022-03-28T07:59:17.000Z | Customized-Build/il2cpp/Il2CppOutputProject/IL2CPP/libil2cpp/os/c-api/Event.cpp | cqtd/custom-il2cpp-build-pipeline-example | 9ec4973d98ddfcefee72b01225a3b7613312096b | [
"MIT"
] | null | null | null | Customized-Build/il2cpp/Il2CppOutputProject/IL2CPP/libil2cpp/os/c-api/Event.cpp | cqtd/custom-il2cpp-build-pipeline-example | 9ec4973d98ddfcefee72b01225a3b7613312096b | [
"MIT"
] | 2 | 2022-03-24T19:58:31.000Z | 2022-03-24T22:55:43.000Z | #include "il2cpp-config.h"
#if !RUNTIME_TINY
#include "os/c-api/Event-c-api.h"
#include "os/Event.h"
extern "C"
{
UnityPalEvent* UnityPalEventNew(int32_t manualReset, int32_t signaled)
{
return new il2cpp::os::Event(manualReset, signaled);
}
void UnityPalEventDelete(UnityPalEvent* event)
... | 22.86747 | 100 | 0.659115 | cqtd |
4ebcf610ccfb4f3b8b0325d38c61aaf2c6a0e9ea | 33,224 | cpp | C++ | plugins/ExtendedKalmanFilterPlugin/src/base/EKF/ExtendedKalmanFilter.cpp | supalogix/GMAT | eea9987ef0978b3e6702e70b587a098b2cbce14e | [
"Apache-2.0"
] | null | null | null | plugins/ExtendedKalmanFilterPlugin/src/base/EKF/ExtendedKalmanFilter.cpp | supalogix/GMAT | eea9987ef0978b3e6702e70b587a098b2cbce14e | [
"Apache-2.0"
] | null | null | null | plugins/ExtendedKalmanFilterPlugin/src/base/EKF/ExtendedKalmanFilter.cpp | supalogix/GMAT | eea9987ef0978b3e6702e70b587a098b2cbce14e | [
"Apache-2.0"
] | null | null | null | //$Id: ExtendedKalmanFilter.cpp 1398 2011-04-21 20:39:37Z $
//------------------------------------------------------------------------------
// ExtendedKalmanFilter
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copy... | 31.225564 | 161 | 0.519504 | supalogix |
4ebf359d30adba27b67b0c6267b03cb696c01d84 | 3,163 | cpp | C++ | ch15/ex15_26.cpp | sanerror/sanerror-s-Cpp-Primer-Answers | 1e14c4789cacf03050c0aec93eb2e3a12010a77a | [
"MIT"
] | null | null | null | ch15/ex15_26.cpp | sanerror/sanerror-s-Cpp-Primer-Answers | 1e14c4789cacf03050c0aec93eb2e3a12010a77a | [
"MIT"
] | null | null | null | ch15/ex15_26.cpp | sanerror/sanerror-s-Cpp-Primer-Answers | 1e14c4789cacf03050c0aec93eb2e3a12010a77a | [
"MIT"
] | null | null | null | #include "ex15_26.h"
// FOR QUOTE
Quote::Quote(const std::string &book, double sales_price) :
bookNo(book), price(sales_price) {}
double Quote::net_price(std::size_t n) const
{
return n * price;
}
void Quote::debug() const {
std::cout << "bookNo = " << bookNo
<< ", price = " << price << std::endl;... | 27.504348 | 91 | 0.656339 | sanerror |
4eca9b94f17b9133777423501cf3020ac3bc1011 | 9,436 | cpp | C++ | Ambit/Source/Ambit/Utils/AmbitSpawnerCollisionHelpers.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/Ambit/Utils/AmbitSpawnerCollisionHelpers.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/Ambit/Utils/AmbitSpawnerCollisionHelpers.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | // Copyright 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//... | 43.685185 | 155 | 0.703264 | brhook-aws |
4ed131cd8d315f29fc964b01b07129f9f72bb77f | 1,074 | cpp | C++ | crystal/memory/test/ChunkedMemoryTest.cpp | crystal-dataop/crystal | 128e1dcde1ef68cabadab9b16d45f5199f0afe5c | [
"Apache-2.0"
] | 2 | 2020-10-02T03:31:50.000Z | 2020-12-31T09:41:48.000Z | crystal/memory/test/ChunkedMemoryTest.cpp | crystal-dataop/crystal | 128e1dcde1ef68cabadab9b16d45f5199f0afe5c | [
"Apache-2.0"
] | null | null | null | crystal/memory/test/ChunkedMemoryTest.cpp | crystal-dataop/crystal | 128e1dcde1ef68cabadab9b16d45f5199f0afe5c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017-present Yeolar
*
* 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... | 29.027027 | 75 | 0.716946 | crystal-dataop |
4ed14e827114920b0b382134e482049abe886e0f | 1,190 | hpp | C++ | engine/include/scene.hpp | Eduardolimr/JogoIndividual | 8671dcf2622e31df91802b7390ed0e2be84ca574 | [
"MIT"
] | null | null | null | engine/include/scene.hpp | Eduardolimr/JogoIndividual | 8671dcf2622e31df91802b7390ed0e2be84ca574 | [
"MIT"
] | null | null | null | engine/include/scene.hpp | Eduardolimr/JogoIndividual | 8671dcf2622e31df91802b7390ed0e2be84ca574 | [
"MIT"
] | null | null | null | #ifndef __ENGINE_SCENE__
#define __ENGINE_SCENE__
#include <string>
#include <unordered_map>
#include <vector>
#include "gameobject.hpp"
#include "assets_manager.hpp"
namespace engine {
class Scene {
public:
enum class State {
created,
loaded,
playing,
invalid
};
const s... | 21.636364 | 72 | 0.644538 | Eduardolimr |
4ed2c3dcfaa24c39e0fa0d50f24c1348b2877149 | 672 | cpp | C++ | src/0.3.7-R1/CAudio.cpp | DarkP1xel/SAMP-API | 0d43a3603239f2f4bc65b8305ffc72177386cc29 | [
"MIT"
] | 7 | 2019-09-23T10:19:40.000Z | 2021-07-25T06:17:27.000Z | src/0.3.7-R1/CAudio.cpp | DarkP1xel/SAMP-API | 0d43a3603239f2f4bc65b8305ffc72177386cc29 | [
"MIT"
] | null | null | null | src/0.3.7-R1/CAudio.cpp | DarkP1xel/SAMP-API | 0d43a3603239f2f4bc65b8305ffc72177386cc29 | [
"MIT"
] | 1 | 2021-04-11T17:13:00.000Z | 2021-04-11T17:13:00.000Z | /*
This is a SAMP (0.3.7-R1) 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 "CAudio.h"
void SAMP::CAudio::Play(int nSound, CVector location) {
((void... | 30.545455 | 93 | 0.691964 | DarkP1xel |
4de6ef9292547a470d7ffbd59dcc599f2d477016 | 9,883 | cpp | C++ | src/fl2d/ui/flCircleColorPicker.cpp | selflash/ofxSelflash | 087a263b2d4de970edd75ecab2c2a48b7b58e62d | [
"MIT"
] | 19 | 2015-05-14T09:57:38.000Z | 2022-01-10T23:32:28.000Z | src/fl2d/ui/flCircleColorPicker.cpp | selflash/ofxSelflash | 087a263b2d4de970edd75ecab2c2a48b7b58e62d | [
"MIT"
] | 3 | 2015-08-04T09:07:26.000Z | 2018-01-18T07:14:35.000Z | src/fl2d/ui/flCircleColorPicker.cpp | selflash/ofxSelflash | 087a263b2d4de970edd75ecab2c2a48b7b58e62d | [
"MIT"
] | 1 | 2015-08-04T09:05:22.000Z | 2015-08-04T09:05:22.000Z | #include "flCircleColorPicker.h"
namespace fl2d {
//==============================================================
// Constructor / Destructor
//==============================================================
//--------------------------------------------------------------
flCircleColorPic... | 37.014981 | 117 | 0.449762 | selflash |
4de97571268eb5da8fced10cfae76eb20d3c2654 | 5,288 | cpp | C++ | BehaviourTree/BehaviourTreeOOTests.cpp | rhm/VM-Patterns-Samples | 69a60dd63b4f4cd5ba82022e0068b2f6ae57150a | [
"MIT"
] | 7 | 2015-12-06T22:04:10.000Z | 2016-01-07T21:52:54.000Z | BehaviourTree/BehaviourTreeOOTests.cpp | rhm/VM-Patterns-Samples | 69a60dd63b4f4cd5ba82022e0068b2f6ae57150a | [
"MIT"
] | null | null | null | BehaviourTree/BehaviourTreeOOTests.cpp | rhm/VM-Patterns-Samples | 69a60dd63b4f4cd5ba82022e0068b2f6ae57150a | [
"MIT"
] | null | null | null | /*
* Unit tests for the Expresion system
*/
#include "stdafx.h"
#include <iostream>
#include <memory>
#include "BehaviourTreeTests.h"
#include "TestRunner.h"
#include "BehaviourTreeOO.h"
namespace BehaviourTreeOO
{
class BTWorldDataTest : public BTWorldData
{
public:
struct Entry
{
Name name;
uint3... | 20.496124 | 105 | 0.671899 | rhm |
4df45f77e1c0c83e21049fc124e91a8351d2ab17 | 5,470 | hpp | C++ | src/matcher.hpp | dns-stats/dns-stats-compactor | 8f4c9b8614e5da40f51f028de40f113ec4bcb27f | [
"BSD-3-Clause"
] | 26 | 2017-06-21T04:15:31.000Z | 2022-03-07T10:46:09.000Z | src/matcher.hpp | Acidburn0zzz/compactor | 47e649064652525e0eebc188f092589bb1594c1e | [
"BSD-3-Clause"
] | 45 | 2017-06-15T17:44:15.000Z | 2022-03-23T16:27:07.000Z | src/matcher.hpp | Acidburn0zzz/compactor | 47e649064652525e0eebc188f092589bb1594c1e | [
"BSD-3-Clause"
] | 11 | 2017-06-23T10:14:18.000Z | 2021-11-12T10:34:16.000Z | /*
* Copyright 2016-2017, 2019, 2021 Internet Corporation for Assigned Names and Numbers.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*/
/*
* Developed by... | 29.728261 | 109 | 0.637843 | dns-stats |
4df5a348d1d7696db1d4fa2c993d8dd11e492c31 | 845 | cpp | C++ | OSX/xcode/ags/plugin_registration.cpp | monkey0506/ags | 2f96ddf47e944efea2534386a4004849eb71372b | [
"Artistic-2.0"
] | 1 | 2019-01-24T13:47:57.000Z | 2019-01-24T13:47:57.000Z | OSX/xcode/ags/plugin_registration.cpp | monkey0506/ags | 2f96ddf47e944efea2534386a4004849eb71372b | [
"Artistic-2.0"
] | null | null | null | OSX/xcode/ags/plugin_registration.cpp | monkey0506/ags | 2f96ddf47e944efea2534386a4004849eb71372b | [
"Artistic-2.0"
] | 1 | 2019-08-01T20:32:35.000Z | 2019-08-01T20:32:35.000Z | //
// plugin_registration.cpp
// Shivah
//
// Created by Nick Sonneveld on 26/06/2016.
//
//
#include "plugin_registration.hpp"
#include "plugin/agsplugin.h"
//#include "example.h"
typedef void (*t_engine_pre_init_callback)(void);
extern void engine_set_pre_init_callback(t_engine_pre_init_callback callback);
sta... | 24.142857 | 78 | 0.749112 | monkey0506 |
4df5e6374da4c0eff35ca1fea19098400db0ee34 | 1,068 | cpp | C++ | src/Engine/Component/Camera.cpp | Chainsawkitten/test-dev | 7b2e1bf4bac48b17a92c2ef60a56d0248947ee83 | [
"MIT"
] | null | null | null | src/Engine/Component/Camera.cpp | Chainsawkitten/test-dev | 7b2e1bf4bac48b17a92c2ef60a56d0248947ee83 | [
"MIT"
] | null | null | null | src/Engine/Component/Camera.cpp | Chainsawkitten/test-dev | 7b2e1bf4bac48b17a92c2ef60a56d0248947ee83 | [
"MIT"
] | null | null | null | #include "Camera.hpp"
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/matrix_inverse.hpp>
#include <Engine/Util/Json.hpp>
using namespace Component;
Camera::Camera() {}
Json::Value Camera::Save() const {
Json::Value component;
component["fieldOfView"] = fieldOfView;
component["zNear"] = zNear;... | 31.411765 | 97 | 0.720974 | Chainsawkitten |
4df76ab4e4ee8632b4f5de75098ecdb0c76aabc9 | 1,796 | cpp | C++ | PTMSSNG.cpp | ankiiitraj/questionsSolved | 8452b120935a9c3d808b45f27dcdc05700d902fc | [
"MIT"
] | null | null | null | PTMSSNG.cpp | ankiiitraj/questionsSolved | 8452b120935a9c3d808b45f27dcdc05700d902fc | [
"MIT"
] | 1 | 2020-02-24T19:45:57.000Z | 2020-02-24T19:45:57.000Z | PTMSSNG.cpp | ankiiitraj/questionsSolved | 8452b120935a9c3d808b45f27dcdc05700d902fc | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
void __print(int x) {cerr << x;}
void __print(long x) {cerr << x;}
void __print(long long x) {cerr << x;}
void __print(unsigned x) {cerr << x;}
void __print(unsigned long x) {cerr << x;}
void __print(unsigned long long x) {cerr << x;}
void __print(float x) {cerr << x;}
void ... | 26.80597 | 118 | 0.556793 | ankiiitraj |
4dfa682df77726ac0ed3729cbe55c41ec56ef451 | 4,817 | cpp | C++ | Engine/_Source/UI/Elements/ZUILabeledElement.cpp | gitbetter/Zenith | 62092062cad4dda588bfd699185d6ce9be294e63 | [
"MIT"
] | 15 | 2019-04-06T15:45:24.000Z | 2021-02-01T08:04:10.000Z | Engine/_Source/UI/Elements/ZUILabeledElement.cpp | gitbetter/Zenith | 62092062cad4dda588bfd699185d6ce9be294e63 | [
"MIT"
] | 1 | 2021-02-03T17:55:07.000Z | 2021-02-18T09:14:09.000Z | Engine/_Source/UI/Elements/ZUILabeledElement.cpp | gitbetter/Zenith | 62092062cad4dda588bfd699185d6ce9be294e63 | [
"MIT"
] | null | null | null | /*
______ ______ __ __ __ ______ __ __
/\___ \ /\ ___\ /\ "-.\ \ /\ \ /\__ _\ /\ \_\ \
\/_/ /__ \ \ __\ \ \ \-. \ \ \ \ \/_/\ \/ \ \ __ \
/\_____\ \ \_____\ \ \_\" \_\ \ \_\ \ \_\ \ \_\ \_\
\/_____/ \/_____/ \/_/ \/_/ \/_/ \/_/ \/_/\/_/
ZU... | 29.734568 | 130 | 0.680507 | gitbetter |
4dfefb1b35e8e2724644db3d9c071537c29d2b9d | 2,026 | cpp | C++ | param_test/src/main.cpp | HarvestX/ros2_tutorials | 997953efef242fefbb581a05054463ec97d3c0d9 | [
"Apache-2.0"
] | null | null | null | param_test/src/main.cpp | HarvestX/ros2_tutorials | 997953efef242fefbb581a05054463ec97d3c0d9 | [
"Apache-2.0"
] | null | null | null | param_test/src/main.cpp | HarvestX/ros2_tutorials | 997953efef242fefbb581a05054463ec97d3c0d9 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 HarvestX 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 i... | 25.012346 | 75 | 0.644126 | HarvestX |
1500e647a630ea4ff85dadba64db965912dd74c2 | 64 | cpp | C++ | html_with_C++.cpp | Ewooral/C- | fcf8d0f91f5ad657e83ca067739a7989e72a86e4 | [
"MIT"
] | null | null | null | html_with_C++.cpp | Ewooral/C- | fcf8d0f91f5ad657e83ca067739a7989e72a86e4 | [
"MIT"
] | null | null | null | html_with_C++.cpp | Ewooral/C- | fcf8d0f91f5ad657e83ca067739a7989e72a86e4 | [
"MIT"
] | null | null | null | #include <iostream>
int main()
{
printf("Hello World\n");
} | 10.666667 | 28 | 0.609375 | Ewooral |
150352a51085a49fd1623f52ce37a9b071bbedac | 8,566 | cpp | C++ | src/execution_tree/primitives/node_data_helpers1d.cpp | Yeahhhh/phylanx | b6b0843f9b2e54c6d0abea24c04321414d2b67b9 | [
"BSL-1.0"
] | 1 | 2019-08-17T21:19:57.000Z | 2019-08-17T21:19:57.000Z | src/execution_tree/primitives/node_data_helpers1d.cpp | tapaswenipathak/phylanx | 62859f2b25d31ba469df64801401c996261163a9 | [
"BSL-1.0"
] | null | null | null | src/execution_tree/primitives/node_data_helpers1d.cpp | tapaswenipathak/phylanx | 62859f2b25d31ba469df64801401c996261163a9 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017-2018 Hartmut Kaiser
//
// 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 <phylanx/config.hpp>
#include <phylanx/execution_tree/compiler/primitive_name.hpp>
#include <phylanx/execution_t... | 37.243478 | 81 | 0.528134 | Yeahhhh |
15078ac95537468cee1324add729db9819069ffb | 709 | cpp | C++ | mavic_interface_pkgs/mavic_interface_ros/src/mavic_send_waypoints_free_bot/mavic_send_waypoints_free_bot_node.cpp | madswamp/Mavic_Warehouse_Autonomous | 07377dbb61072223699420aa978d7848b17f272d | [
"BSD-3-Clause"
] | null | null | null | mavic_interface_pkgs/mavic_interface_ros/src/mavic_send_waypoints_free_bot/mavic_send_waypoints_free_bot_node.cpp | madswamp/Mavic_Warehouse_Autonomous | 07377dbb61072223699420aa978d7848b17f272d | [
"BSD-3-Clause"
] | null | null | null | mavic_interface_pkgs/mavic_interface_ros/src/mavic_send_waypoints_free_bot/mavic_send_waypoints_free_bot_node.cpp | madswamp/Mavic_Warehouse_Autonomous | 07377dbb61072223699420aa978d7848b17f272d | [
"BSD-3-Clause"
] | 1 | 2021-04-20T16:28:18.000Z | 2021-04-20T16:28:18.000Z | //
// Created by madswamp on 30/04/21.
//
#include "../../mavic_interface_ros/mavic_send_waypoints_free_bot/mavic_send_waypoints_free_bot.h"
int main(int argc,char **argv)
{
ros::init(argc, argv, "mavic_optimized_localization");
mavic_send_waypoints_free_bot mavic_send_tag;
ros::Rate r(30);
while(ros:... | 25.321429 | 98 | 0.633286 | madswamp |
150b9c825c7148613b5b207c41ff7c04e278f646 | 71,353 | cpp | C++ | sunvox_engine/sunvox_engine.cpp | Sound-Linux-More/sunvox | 7376fbe9f9bca92be1e17aefaac2e68b558d8357 | [
"BSD-3-Clause"
] | 100 | 2016-01-15T02:43:07.000Z | 2022-03-16T14:02:38.000Z | sunvox_engine/sunvox_engine.cpp | Sound-Linux-More/sunvox | 7376fbe9f9bca92be1e17aefaac2e68b558d8357 | [
"BSD-3-Clause"
] | 2 | 2018-01-10T18:21:37.000Z | 2021-12-05T01:48:08.000Z | sunvox_engine/sunvox_engine.cpp | Sound-Linux-More/sunvox | 7376fbe9f9bca92be1e17aefaac2e68b558d8357 | [
"BSD-3-Clause"
] | 17 | 2016-05-16T19:48:19.000Z | 2022-03-23T10:59:42.000Z | /*
sunvox_engine.cpp.
This file is part of the SunVox.
Copyright (C) 2002 - 2008 Alex Zolotov <nightradio@gmail.com>
*/
#include "filesystem/v3nus_fs.h"
#include "time/timemanager.h"
#include "sound/sound.h"
#include "core/debug.h"
#include "utils/utils.h"
#include "sunvox_engine.h"
#ifdef SUNVOX_GUI
#in... | 27.61339 | 123 | 0.571483 | Sound-Linux-More |
150c4365e0369376b02d8c662c141182cf63a232 | 338 | hpp | C++ | src/Griddly/Core/Observers/Vulkan/VulkanPhysicalDeviceInfo.hpp | DavidSlayback/Griddly | b97866905fd897f5e8d4c36e1f0cf48893b1fff6 | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/Vulkan/VulkanPhysicalDeviceInfo.hpp | DavidSlayback/Griddly | b97866905fd897f5e8d4c36e1f0cf48893b1fff6 | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/Vulkan/VulkanPhysicalDeviceInfo.hpp | DavidSlayback/Griddly | b97866905fd897f5e8d4c36e1f0cf48893b1fff6 | [
"MIT"
] | null | null | null | #include <vulkan/vulkan.h>
#include <string>
#include "VulkanQueueFamilyIndices.hpp"
namespace vk {
struct VulkanPhysicalDeviceInfo {
VkPhysicalDevice physicalDevice;
std::string deviceName;
bool isGpu;
bool isSupported;
uint8_t gpuIdx;
uint8_t pciBusId;
VulkanQueueFamilyIndices queueFamilyIndices;
};
... | 19.882353 | 46 | 0.775148 | DavidSlayback |
1510ac59b20808a714c62e74422f93dda1cfe2f1 | 1,947 | cxx | C++ | linux_usr/vnc/Image.cxx | PeterDinda/palacios | b8836aa7353bf563bf26fdbc6ef3344eb108181c | [
"BSD-3-Clause"
] | 2 | 2019-01-09T00:01:42.000Z | 2019-09-14T00:11:42.000Z | linux_usr/vnc/Image.cxx | PrescienceLab/palacios | b8836aa7353bf563bf26fdbc6ef3344eb108181c | [
"BSD-3-Clause"
] | 1 | 2019-09-14T00:49:35.000Z | 2019-09-14T00:49:35.000Z | linux_usr/vnc/Image.cxx | PrescienceLab/palacios | b8836aa7353bf563bf26fdbc6ef3344eb108181c | [
"BSD-3-Clause"
] | 1 | 2020-04-28T16:25:05.000Z | 2020-04-28T16:25:05.000Z | /* Copyright (C) 2002-2003 RealVNC Ltd. All Rights Reserved.
*
* This 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 Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* ... | 22.905882 | 73 | 0.627632 | PeterDinda |
1511e5542261628874a87cc4da831dcf3fb9d2c7 | 33,765 | cxx | C++ | osprey/common/com/x8664/targ_sim.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/common/com/x8664/targ_sim.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/common/com/x8664/targ_sim.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2009-2010 Advanced Micro Devices, Inc. All Rights Reserved.
*/
/*
* Copyright (C) 2007, 2008 PathScale, LLC. All rights reserved.
*/
/*
* Copyright (C) 2007. QLogic Corporation. All Rights Reserved.
*/
/*
* Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved.
*/
/*
... | 29.854111 | 87 | 0.639508 | sharugupta |
151b60e717985c88f4cfdb756a004fe6f644bd50 | 1,841 | hpp | C++ | source/backend/opencl/execution/image/ConvWinograd.hpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 6,958 | 2019-05-06T02:38:02.000Z | 2022-03-31T18:08:48.000Z | source/backend/opencl/execution/image/ConvWinograd.hpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 1,775 | 2019-05-06T04:40:19.000Z | 2022-03-30T15:39:24.000Z | source/backend/opencl/execution/image/ConvWinograd.hpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 1,511 | 2019-05-06T02:38:05.000Z | 2022-03-31T16:59:39.000Z | //
// ConvWinograd.hpp
// MNN
//
// Created by MNN on 2019/02/01.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef conv_winograd_hpp
#define conv_winograd_hpp
#include "core/Execution.hpp"
#include <array>
#include <memory>
#include <vector>
#include "backend/opencl/execution/image/ConvExecution.hpp... | 26.681159 | 114 | 0.701249 | JujuDel |
151c0c3a91f263f528909852d097a9d33c0a1b87 | 2,072 | cpp | C++ | bindings/python/py_maat.cpp | hobama/maat | 3f0a7d3ef90fff3f1c465d0ae155488b245981b4 | [
"MIT"
] | 2 | 2020-03-23T06:47:19.000Z | 2021-03-07T21:14:24.000Z | bindings/python/py_maat.cpp | hobama/maat | 3f0a7d3ef90fff3f1c465d0ae155488b245981b4 | [
"MIT"
] | null | null | null | bindings/python/py_maat.cpp | hobama/maat | 3f0a7d3ef90fff3f1c465d0ae155488b245981b4 | [
"MIT"
] | null | null | null | #include "Python.h"
#include "python_bindings.hpp"
/* Module methods */
PyMethodDef module_methods[] = {
/* Expr */
{"Cst", (PyCFunction)maat_Cst, METH_VARARGS | METH_KEYWORDS, "Create a constant expression"},
{"Var", (PyCFunction)maat_Var, METH_VARARGS | METH_KEYWORDS, "Create a symbolic variable"},
{... | 33.419355 | 117 | 0.701737 | hobama |
151d2528df74a58bf12fb773c26a461e28082849 | 671 | cpp | C++ | plugin_III/game_III/CColSphere.cpp | Aleksandr-Belousov/plugin-sdk | 5ca5f7d5575ae4138a4f165410a1acf0ae922260 | [
"Zlib"
] | 1 | 2020-10-06T21:10:27.000Z | 2020-10-06T21:10:27.000Z | plugin_III/game_III/CColSphere.cpp | Aleksandr-Belousov/plugin-sdk | 5ca5f7d5575ae4138a4f165410a1acf0ae922260 | [
"Zlib"
] | null | null | null | plugin_III/game_III/CColSphere.cpp | Aleksandr-Belousov/plugin-sdk | 5ca5f7d5575ae4138a4f165410a1acf0ae922260 | [
"Zlib"
] | 3 | 2020-10-03T21:34:05.000Z | 2020-12-19T01:52:38.000Z | /*
Plugin-SDK (Grand Theft Auto 3) source file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "CColSphere.h"
PLUGIN_SOURCE_FILE
int addrof(CColSphere::Set) = ADDRESS_BY_VERSION(0x411E40, 0x411E40, 0x411E40... | 39.470588 | 158 | 0.754098 | Aleksandr-Belousov |
151f77c5e50aabc341854075b2eae21310db0e07 | 1,065 | hpp | C++ | src/include/migraphx/requires.hpp | krishnateja95/AMDMIGraphX | dcbc9255328d9b1f4b303bb8299a0e24bf112206 | [
"MIT"
] | null | null | null | src/include/migraphx/requires.hpp | krishnateja95/AMDMIGraphX | dcbc9255328d9b1f4b303bb8299a0e24bf112206 | [
"MIT"
] | null | null | null | src/include/migraphx/requires.hpp | krishnateja95/AMDMIGraphX | dcbc9255328d9b1f4b303bb8299a0e24bf112206 | [
"MIT"
] | null | null | null | #ifndef MIGRAPHX_GUARD_MIGRAPHLIB_REQUIRES_HPP
#define MIGRAPHX_GUARD_MIGRAPHLIB_REQUIRES_HPP
#include <type_traits>
#include <migraphx/config.hpp>
namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {
template <bool... Bs>
struct and_ : std::is_same<and_<Bs...>, and_<(Bs || true)...>> // NOLINT
{
};
template ... | 29.583333 | 96 | 0.644131 | krishnateja95 |
1523a1b7d7fba34455f0f081a09b2e7f6edb28b1 | 2,014 | hpp | C++ | byteio.hpp | mrdcvlsc/bethela | b0da8ac4af3b1dcee6840162f33dc7f8f783dc4b | [
"MIT"
] | 1 | 2021-11-02T14:44:51.000Z | 2021-11-02T14:44:51.000Z | byteio.hpp | mrdcvlsc/bethela | b0da8ac4af3b1dcee6840162f33dc7f8f783dc4b | [
"MIT"
] | 1 | 2022-01-01T12:01:17.000Z | 2022-01-01T12:01:17.000Z | byteio.hpp | mrdcvlsc/bethela | b0da8ac4af3b1dcee6840162f33dc7f8f783dc4b | [
"MIT"
] | null | null | null | #ifndef BETHELA_BYTEIO_HPP
#define BETHELA_BYTEIO_HPP
#include <iostream>
#include <fstream>
#include <vector>
#include <utility>
#include <algorithm>
#include "constants.hpp"
namespace byteio
{
/// First = path, Second = filename
std::pair<std::string,std::string> getfilepath(const std::string& fullFilePath... | 31.968254 | 99 | 0.641013 | mrdcvlsc |
153294b9e596f8dfcf0bffa2a49ba6da9909c9d8 | 152 | cpp | C++ | test/test-main.cpp | rpetrano/libndef-lite | 6df1d55bd525bb00e7242979b8e7e3422375f643 | [
"MIT"
] | null | null | null | test/test-main.cpp | rpetrano/libndef-lite | 6df1d55bd525bb00e7242979b8e7e3422375f643 | [
"MIT"
] | null | null | null | test/test-main.cpp | rpetrano/libndef-lite | 6df1d55bd525bb00e7242979b8e7e3422375f643 | [
"MIT"
] | 1 | 2021-03-08T20:46:28.000Z | 2021-03-08T20:46:28.000Z | // Tell doctest library to create a main for this file - only include this line once!
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.hpp" | 38 | 85 | 0.802632 | rpetrano |
1533dfd7e4203f554fb58bcff727f6d18069e02e | 3,672 | cpp | C++ | himan-plugins/source/icing.cpp | jrintala/fmi-data | 625f0a44919e6406440349425ee0b3f1a64a923d | [
"MIT"
] | null | null | null | himan-plugins/source/icing.cpp | jrintala/fmi-data | 625f0a44919e6406440349425ee0b3f1a64a923d | [
"MIT"
] | null | null | null | himan-plugins/source/icing.cpp | jrintala/fmi-data | 625f0a44919e6406440349425ee0b3f1a64a923d | [
"MIT"
] | null | null | null | /**
* @file icing.cpp
*
*/
#include "icing.h"
#include "forecast_time.h"
#include "level.h"
#include "logger.h"
using namespace std;
using namespace himan::plugin;
icing::icing()
{
itsLogger = logger("icing");
}
void icing::Process(std::shared_ptr<const plugin_configuration> conf)
{
Init(conf);
SetParams({pa... | 19.025907 | 113 | 0.574619 | jrintala |
153b36726603bf1b1485f13c8001c25d14274b86 | 5,896 | cpp | C++ | src/asuraLogger.cpp | ProjectAsura/adk | 12021ee25dd050e33bdcb652c5a4da28e11eefc9 | [
"MIT"
] | null | null | null | src/asuraLogger.cpp | ProjectAsura/adk | 12021ee25dd050e33bdcb652c5a4da28e11eefc9 | [
"MIT"
] | null | null | null | src/asuraLogger.cpp | ProjectAsura/adk | 12021ee25dd050e33bdcb652c5a4da28e11eefc9 | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
// File : asuraLogger.h
// Desc : Logger Module.
// Copyright(c) Project Asura. All right reserved.
//-----------------------------------------------------------------------------
//--------------------------------------------------------... | 32.755556 | 99 | 0.312076 | ProjectAsura |
153f4f01a304d1bfce6b1f5cecb3dbdf584326d8 | 4,349 | cpp | C++ | gui/TrigModels.cpp | tay10r/terrain_generator | 12c005aee267d212bb6c29bb695c0368323b3fe9 | [
"MIT"
] | 2 | 2021-05-09T10:58:46.000Z | 2021-05-20T18:32:44.000Z | gui/TrigModels.cpp | tay10r/terrain_generator | 12c005aee267d212bb6c29bb695c0368323b3fe9 | [
"MIT"
] | 1 | 2021-05-13T00:45:47.000Z | 2021-05-13T00:47:27.000Z | gui/TrigModels.cpp | tay10r/terrain_generator | 12c005aee267d212bb6c29bb695c0368323b3fe9 | [
"MIT"
] | null | null | null | #include "TrigModels.h"
#include "core/IR.h"
#include "gui/ExprNodeData.h"
#include <nodes/DataModelRegistry>
#include <nodes/NodeDataModel>
namespace {
class UnaryTrigModel : public QtNodes::NodeDataModel
{
public:
virtual ~UnaryTrigModel() = default;
virtual ir::UnaryTrigExpr::ID GetID() const = 0;
ir::E... | 23.38172 | 71 | 0.682226 | tay10r |
1541b250473798465aeae7880073919dd085b917 | 29 | cpp | C++ | TwoDacConsistencyLogger/RecordingResult.cpp | AVLatency/Latency-Measurement | a85b8d0dbfa7eb79a8858936f0313a272726f35c | [
"MIT"
] | 4 | 2022-02-17T20:09:30.000Z | 2022-03-28T22:34:43.000Z | TwoDacConsistencyLogger/RecordingResult.cpp | AVLatency/Latency-Measurement | a85b8d0dbfa7eb79a8858936f0313a272726f35c | [
"MIT"
] | 2 | 2022-02-17T20:16:22.000Z | 2022-02-18T15:42:28.000Z | TwoDacConsistencyLogger/RecordingResult.cpp | AVLatency/Latency-Measurement | a85b8d0dbfa7eb79a8858936f0313a272726f35c | [
"MIT"
] | 1 | 2022-03-24T12:10:38.000Z | 2022-03-24T12:10:38.000Z | #include "RecordingResult.h"
| 14.5 | 28 | 0.793103 | AVLatency |
1541f4ec32ef0bb35c53242a7576e351da010723 | 569 | cpp | C++ | src/Networking/Base/src/UnstableConnection.cpp | Megaxela/HGEngineReloaded | 62d319308c2d8a62f6854721c31afc4981aa13df | [
"MIT"
] | 2 | 2021-02-26T05:25:48.000Z | 2021-09-16T22:30:41.000Z | src/Networking/Base/src/UnstableConnection.cpp | Megaxela/HGEngineReloaded | 62d319308c2d8a62f6854721c31afc4981aa13df | [
"MIT"
] | 1 | 2019-10-19T10:36:43.000Z | 2019-10-19T10:36:43.000Z | src/Networking/Base/src/UnstableConnection.cpp | Megaxela/HGEngineReloaded | 62d319308c2d8a62f6854721c31afc4981aa13df | [
"MIT"
] | 2 | 2019-10-22T18:56:59.000Z | 2020-03-12T04:38:31.000Z | // HG::Networking::Base
#include <HG/Networking/Base/AbstractInternalData.hpp>
#include <HG/Networking/Base/UnstableConnection.hpp>
namespace HG::Networking::Base
{
UnstableConnection::UnstableConnection(HG::Networking::Base::AddressIPv4 address) :
m_address(address),
m_connectionController(),
m_internalDa... | 23.708333 | 83 | 0.757469 | Megaxela |
1545dfbf782a5fd11bf175407f00d7824a0be638 | 5,538 | cpp | C++ | webkit/WebCore/platform/haiku/PlatformKeyboardEventHaiku.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/platform/haiku/PlatformKeyboardEventHaiku.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/platform/haiku/PlatformKeyboardEventHaiku.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (C) 2007 Ryan Leavengood <leavengood@gmail.com>
* Copyright (C) 2008 Andrea Anzani <andrea.anzani@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:
* 1. Redist... | 28.546392 | 109 | 0.635247 | s1rcheese |
154820a26b88dda9a54ce3af1b7104cb8a76b4dd | 471 | cpp | C++ | node_modules/gl/angle/src/tests/deqp_support/angle_deqp_gtest_main.cpp | aaverty/editly | 71bccaf91f8d68609c80ba59425b79e3f94579ad | [
"MIT"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | node_modules/gl/angle/src/tests/deqp_support/angle_deqp_gtest_main.cpp | aaverty/editly | 71bccaf91f8d68609c80ba59425b79e3f94579ad | [
"MIT"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | node_modules/gl/angle/src/tests/deqp_support/angle_deqp_gtest_main.cpp | aaverty/editly | 71bccaf91f8d68609c80ba59425b79e3f94579ad | [
"MIT"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.000Z | //
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// angle_deqp_gtest_main:
// Entry point for standalone dEQP tests.
#include <gtest/gtest.h>
#include "angle_deqp_libtester.h"
int main(int... | 23.55 | 73 | 0.715499 | aaverty |
15489276aa0ddfa26845aea15f7e606ed50dc758 | 10,709 | hpp | C++ | Base/include/Framework/Memory/ObjectPtr.hpp | BlockProject3D/Framework | 1c27ef19d9a12d158a2b53f6bd28dd2d8e678912 | [
"BSD-3-Clause"
] | 2 | 2019-02-02T20:48:17.000Z | 2019-02-22T09:59:40.000Z | Base/include/Framework/Memory/ObjectPtr.hpp | BlockProject3D/Framework | 1c27ef19d9a12d158a2b53f6bd28dd2d8e678912 | [
"BSD-3-Clause"
] | 125 | 2020-01-14T18:26:38.000Z | 2021-02-23T15:33:55.000Z | Base/include/Framework/Memory/ObjectPtr.hpp | BlockProject3D/Framework | 1c27ef19d9a12d158a2b53f6bd28dd2d8e678912 | [
"BSD-3-Clause"
] | 1 | 2020-05-26T08:55:10.000Z | 2020-05-26T08:55:10.000Z | // Copyright (c) 2020, BlockProject 3D
//
// 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,
// this list ... | 34.656958 | 120 | 0.487814 | BlockProject3D |
154c45cda0530c56c02332b5e8abd582284c99e5 | 2,657 | cpp | C++ | src/parser_config.cpp | K1ngmar/Plebserv | c23596eb3c3b729d19f1f1016eb7403926a5493d | [
"MIT"
] | 5 | 2021-05-17T19:25:26.000Z | 2022-02-16T12:06:42.000Z | src/parser_config.cpp | K1ngmar/Plebserv | c23596eb3c3b729d19f1f1016eb7403926a5493d | [
"MIT"
] | 1 | 2021-12-24T12:43:36.000Z | 2021-12-24T12:43:36.000Z | src/parser_config.cpp | K1ngmar/Plebserv | c23596eb3c3b729d19f1f1016eb7403926a5493d | [
"MIT"
] | 6 | 2021-05-17T19:14:53.000Z | 2022-01-26T11:03:27.000Z | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* _ (`-. ('-. .-. .-') .-') ('-. _ .-') (`-. */
/* ( (OO ) _( OO)\ ( OO ) ( OO ). _( OO)( \( -O ) _(OO )_ */
/* _.` \ ,--. (,----... | 33.632911 | 101 | 0.360557 | K1ngmar |
1558f2b11c585f1b02acd58343e71706b1bf1ff8 | 997 | cc | C++ | leetcode/169_majority_element.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | leetcode/169_majority_element.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | leetcode/169_majority_element.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | /*
* =====================================================================================
*
* Filename: 169_majority_element.cc
*
* Description:
*
* Version: 1.0
* Created: 08/02/2015 10:33:02 PM
* Revision: none
* Compiler: gcc
*
* Author: (Qi Liu), liuq... | 21.673913 | 88 | 0.461384 | norlanliu |
155bcb5e04f37d08ac60d10e5fa0aafba3c80a7a | 7,360 | cpp | C++ | TimeLineBar.cpp | LucianoLeiteFabris/InsTimeMachine | 2d190a7215828a85b8c78c324c0373dfa3284e7e | [
"MIT"
] | null | null | null | TimeLineBar.cpp | LucianoLeiteFabris/InsTimeMachine | 2d190a7215828a85b8c78c324c0373dfa3284e7e | [
"MIT"
] | 1 | 2018-09-07T18:32:42.000Z | 2018-09-07T18:34:50.000Z | TimeLineBar.cpp | LucianoLeiteFabris/InsTimeMachine | 2d190a7215828a85b8c78c324c0373dfa3284e7e | [
"MIT"
] | null | null | null | #include "TimeLineBar.h"
#include <QPainter>
#include <QRect>
#include <QFont>
#include <QDebug>
#include <MQTTAsync.h>
#include <MQTTClient.h>
#include <MQTTClientPersistence.h>
const int TIME_TO_PERCURR_BAR = 80000;
TimeLineBar::TimeLineBar(QWidget *parent) :
QFrame(parent),
mMargin(16),
mCurrentTime(0... | 34.232558 | 159 | 0.72269 | LucianoLeiteFabris |
155bccb87c9cfde13b2b4370a13eb509d9515713 | 574 | hpp | C++ | tests/unit/queueing/test_header.hpp | alexsavulescu/CoreNeuron | af7e95d98819c052b07656961d20de6a71b70740 | [
"BSD-3-Clause"
] | 109 | 2016-04-08T09:27:54.000Z | 2022-03-15T02:10:47.000Z | tests/unit/queueing/test_header.hpp | alexsavulescu/CoreNeuron | af7e95d98819c052b07656961d20de6a71b70740 | [
"BSD-3-Clause"
] | 595 | 2016-04-01T09:12:47.000Z | 2022-03-31T23:44:58.000Z | tests/unit/queueing/test_header.hpp | alexsavulescu/CoreNeuron | af7e95d98819c052b07656961d20de6a71b70740 | [
"BSD-3-Clause"
] | 52 | 2016-03-29T08:11:35.000Z | 2022-03-11T07:37:38.000Z | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#ifndef test_header_hpp
#define test_header_hpp
#includ... | 22.076923 | 80 | 0.510453 | alexsavulescu |
155e9443673ccca8733c1c54f32d13df73559c80 | 43 | cc | C++ | src/base/base.cc | hash-roar/ForwardNet | 2b4686f406b7ed368c56a2bd9e5f9ac5bf9671f5 | [
"Apache-2.0"
] | null | null | null | src/base/base.cc | hash-roar/ForwardNet | 2b4686f406b7ed368c56a2bd9e5f9ac5bf9671f5 | [
"Apache-2.0"
] | null | null | null | src/base/base.cc | hash-roar/ForwardNet | 2b4686f406b7ed368c56a2bd9e5f9ac5bf9671f5 | [
"Apache-2.0"
] | null | null | null | #include "base.h"
using namespace base;
| 7.166667 | 21 | 0.697674 | hash-roar |
155fd59b393410f3f568b6e33a341c566b755e14 | 10,682 | hpp | C++ | chratos/lib/blocks.hpp | chratos-system/chratos | caf1b608a21ccc7b13726a64497036ab53f837b3 | [
"BSD-2-Clause"
] | 2 | 2018-09-10T16:28:16.000Z | 2020-02-13T17:44:43.000Z | chratos/lib/blocks.hpp | chratos-system/chratos | caf1b608a21ccc7b13726a64497036ab53f837b3 | [
"BSD-2-Clause"
] | null | null | null | chratos/lib/blocks.hpp | chratos-system/chratos | caf1b608a21ccc7b13726a64497036ab53f837b3 | [
"BSD-2-Clause"
] | 2 | 2018-08-27T13:00:56.000Z | 2018-10-16T21:54:13.000Z | #pragma once
#include <chratos/lib/numbers.hpp>
#include <assert.h>
#include <blake2/blake2.h>
#include <boost/property_tree/json_parser.hpp>
#include <streambuf>
namespace chratos
{
std::string to_string_hex (uint64_t);
bool from_string_hex (std::string const &, uint64_t &);
// We operate on streams of uint8_t by c... | 45.262712 | 259 | 0.749766 | chratos-system |
1564f7de3758436c2a8fee8c673a52080ca206aa | 226 | hh | C++ | src/Titon/Intl/locales/hy/locale.hh | ciklon-z/framework | cbf44729173d3a83b91a2b0a217c6b3827512e44 | [
"BSD-2-Clause"
] | 206 | 2015-01-02T20:01:12.000Z | 2021-04-15T09:49:56.000Z | src/Titon/Intl/locales/hy/locale.hh | ciklon-z/framework | cbf44729173d3a83b91a2b0a217c6b3827512e44 | [
"BSD-2-Clause"
] | 44 | 2015-01-02T06:03:43.000Z | 2017-11-20T18:29:06.000Z | src/Titon/Intl/locales/hy/locale.hh | titon/framework | cbf44729173d3a83b91a2b0a217c6b3827512e44 | [
"BSD-2-Clause"
] | 27 | 2015-01-03T05:51:29.000Z | 2022-02-21T13:50:40.000Z | <?hh
// Armenian
return Map {
'code' => 'hy',
'iso2' => 'hy',
'iso3' => Vector {'arm', 'hye'},
'timezone' => 'Asia/Yerevan',
'title' => 'Armenian',
'plural' => Titon\Intl\PluralRule::RULE_1 // TODO
};
| 18.833333 | 53 | 0.504425 | ciklon-z |
d0807685078054bdc658e5435cd2ba029569cda4 | 6,724 | cpp | C++ | csi_kafka/lowlevel_producer.cpp | bitbouncer/csi-kafka | f8374b4e9ae278d0166c43614dbd8beafa14bb09 | [
"BSL-1.0"
] | 25 | 2015-03-25T14:25:28.000Z | 2019-07-24T07:28:12.000Z | csi_kafka/lowlevel_producer.cpp | bitbouncer/csi-kafka | f8374b4e9ae278d0166c43614dbd8beafa14bb09 | [
"BSL-1.0"
] | 5 | 2015-02-19T06:55:15.000Z | 2017-07-19T18:07:31.000Z | csi_kafka/lowlevel_producer.cpp | bitbouncer/csi-kafka | f8374b4e9ae278d0166c43614dbd8beafa14bb09 | [
"BSL-1.0"
] | 5 | 2016-07-05T08:09:58.000Z | 2019-03-08T15:58:16.000Z | #ifdef WIN32
#define BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT noexcept(true)
#endif
#include <thread>
#include <boost/bind.hpp>
#include <boost/log/core.hpp>
#include <boost/log/trivial.hpp>
#include "lowlevel_producer.h"
namespace csi {
namespace kafka {
lowlevel_producer::lowlevel_producer(boost::asio::io_service& io_se... | 36.150538 | 224 | 0.680101 | bitbouncer |
d0826921229ed5e31e8081bcd12c606e6828c461 | 48,322 | cpp | C++ | fboss/agent/hw/sai/fake/FakeSaiAcl.cpp | rsunkad/fboss | 760255f88fdaeb7f12d092a41362acf1e9a45bbb | [
"BSD-3-Clause"
] | 1 | 2021-08-21T08:14:07.000Z | 2021-08-21T08:14:07.000Z | fboss/agent/hw/sai/fake/FakeSaiAcl.cpp | baby636/fboss | c4d2665d968aba66d633f54506e79fb93f699f05 | [
"BSD-3-Clause"
] | 1 | 2021-08-21T07:48:15.000Z | 2021-08-21T07:48:15.000Z | fboss/agent/hw/sai/fake/FakeSaiAcl.cpp | baby636/fboss | c4d2665d968aba66d633f54506e79fb93f699f05 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | 37.899608 | 80 | 0.704234 | rsunkad |
d0849af1997ad06cb94a92188b320189740d5163 | 124 | hxx | C++ | src/Providers/UNIXProviders/iSCSIConnection/UNIX_iSCSIConnection_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/iSCSIConnection/UNIX_iSCSIConnection_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/iSCSIConnection/UNIX_iSCSIConnection_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_AIX
#ifndef __UNIX_ISCSICONNECTION_PRIVATE_H
#define __UNIX_ISCSICONNECTION_PRIVATE_H
#endif
#endif
| 10.333333 | 40 | 0.846774 | brunolauze |
d085cf4385f596fd4a0ac9a37d1519c4bca63198 | 4,440 | cpp | C++ | QuantExt/qle/termstructures/immfraratehelper.cpp | nvolfango/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | 1 | 2021-03-30T17:24:17.000Z | 2021-03-30T17:24:17.000Z | QuantExt/qle/termstructures/immfraratehelper.cpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | null | null | null | QuantExt/qle/termstructures/immfraratehelper.cpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:04:10.000Z | 2022-02-07T02:04:10.000Z | /*
Copyright (C) 2017 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 39.642857 | 119 | 0.639414 | nvolfango |
d087388ff7892365bc29aaf5b533770fe1db2b9a | 14,280 | cpp | C++ | cpp/icub/gazebo-yarp-plugins/plugins/depthCamera/src/DepthCameraDriver.cpp | BrunoDaCosta/NL_limit_cycles | 62c8c93d8ca9d6c7442154c467cd0f9e27329871 | [
"RSA-MD"
] | 2 | 2019-07-26T08:51:15.000Z | 2020-10-16T09:52:58.000Z | cpp/icub/gazebo-yarp-plugins/plugins/depthCamera/src/DepthCameraDriver.cpp | BrunoDaCosta/NL_limit_cycles | 62c8c93d8ca9d6c7442154c467cd0f9e27329871 | [
"RSA-MD"
] | null | null | null | cpp/icub/gazebo-yarp-plugins/plugins/depthCamera/src/DepthCameraDriver.cpp | BrunoDaCosta/NL_limit_cycles | 62c8c93d8ca9d6c7442154c467cd0f9e27329871 | [
"RSA-MD"
] | 1 | 2021-01-26T14:34:05.000Z | 2021-01-26T14:34:05.000Z | /*
* Copyright (C) 2013-2015 Fondazione Istituto Italiano di Tecnologia RBCS & iCub Facility & ADVR
* Authors: Enrico Mingo, Alessio Rocchi, Mirko Ferrati, Silvio Traversaro, Alessandro Settimi and Marco Randazzo
* CopyPolicy: Released under the terms of the LGPLv2.1 or any later version, see LGPL.TXT or LGPL3.TXT
... | 32.234763 | 151 | 0.693067 | BrunoDaCosta |
d0877f28c7cfa6afb787dca2722e4ba16c7126e2 | 1,251 | hpp | C++ | src/model/model.hpp | TiWinDeTea/NinjaClown | fdd48e62466f11036fa0360fad2bcb182d6d3352 | [
"MIT"
] | 2 | 2020-04-10T14:39:00.000Z | 2021-02-11T15:52:16.000Z | src/model/model.hpp | TiWinDeTea/NinjaClown | fdd48e62466f11036fa0360fad2bcb182d6d3352 | [
"MIT"
] | 2 | 2019-12-17T08:50:20.000Z | 2020-02-03T09:37:56.000Z | src/model/model.hpp | TiWinDeTea/NinjaClown | fdd48e62466f11036fa0360fad2bcb182d6d3352 | [
"MIT"
] | 1 | 2020-08-19T03:06:52.000Z | 2020-08-19T03:06:52.000Z | #ifndef NINJACLOWN_MODEL_MODEL_HPP
#define NINJACLOWN_MODEL_MODEL_HPP
#include <atomic>
#include <condition_variable>
#include <mutex>
#include <optional>
#include "bot/bot_dll.hpp"
#include "model/world.hpp"
#include "view/fps_limiter.hpp"
namespace state {
class holder;
}
namespace model {
class model {
enum cla... | 21.20339 | 60 | 0.749001 | TiWinDeTea |
d093c7a6afa6037a0c1bf0dac89a2361b4b2797b | 1,205 | cpp | C++ | kernel/hw/pc/cgaterm/cgaterm.cpp | MTGos/mtgos | 270f4932565eb3fe074cacc8c55c41103fa0a371 | [
"BSD-2-Clause"
] | 2 | 2018-01-04T18:11:39.000Z | 2020-03-12T17:54:13.000Z | kernel/hw/pc/cgaterm/cgaterm.cpp | MTGos/kernel | 270f4932565eb3fe074cacc8c55c41103fa0a371 | [
"BSD-2-Clause"
] | 10 | 2017-02-05T11:09:45.000Z | 2017-02-08T13:42:14.000Z | kernel/hw/pc/cgaterm/cgaterm.cpp | MTGos/kernel | 270f4932565eb3fe074cacc8c55c41103fa0a371 | [
"BSD-2-Clause"
] | null | null | null | #include "cgaterm.hpp"
#include "cp437.hpp"
CGATerm::CGATerm() : TTY(80, 25) {}
CGATerm::~CGATerm() {}
auto CGATerm::rgbSupport() -> bool { return false; }
struct ScreenChar {
unsigned char ch;
char fgcolor : 4;
char bgcolor : 4;
} __attribute__((packed));
ScreenChar *scr = (ScreenChar *)0xB8000;
auto CGATe... | 32.567568 | 53 | 0.607469 | MTGos |
d095193c6ad233ed9d28a0a3732b8293928d503b | 1,909 | cpp | C++ | plugins/opengl/src/xrandr/display_modes.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/opengl/src/xrandr/display_modes.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/opengl/src/xrandr/display_modes.cpp | 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)
#include <sge/opengl/xrandr/configuration_fwd.hpp>
#include <sge/opengl/xrandr/display_modes.hpp>
#... | 40.617021 | 87 | 0.719225 | cpreh |
d0969a8fade0df8a7726368898f85813ef8b3715 | 2,084 | cpp | C++ | dbms/src/Interpreters/InterpreterManageQuery.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 4 | 2022-03-25T21:34:15.000Z | 2022-03-25T21:35:12.000Z | dbms/src/Interpreters/InterpreterManageQuery.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | null | null | null | dbms/src/Interpreters/InterpreterManageQuery.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 8 | 2022-03-25T10:20:08.000Z | 2022-03-31T10:17:25.000Z | // Copyright 2022 PingCAP, Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 28.944444 | 92 | 0.683301 | solotzg |
d09ac93da6f84ffaf7bb4b90d653baddc1692505 | 627 | cpp | C++ | src/gamebase/src/impl/audio/ActiveAudio.cpp | TheMrButcher/opengl_lessons | 76ac96c45773a54a85d49c6994770b0c3496303f | [
"MIT"
] | 1 | 2016-10-25T21:15:16.000Z | 2016-10-25T21:15:16.000Z | src/gamebase/src/impl/audio/ActiveAudio.cpp | TheMrButcher/gamebase | 76ac96c45773a54a85d49c6994770b0c3496303f | [
"MIT"
] | 375 | 2016-06-04T11:27:40.000Z | 2019-04-14T17:11:09.000Z | src/gamebase/src/impl/audio/ActiveAudio.cpp | TheMrButcher/gamebase | 76ac96c45773a54a85d49c6994770b0c3496303f | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2018 Slavnejshev Filipp
* This file is licensed under the terms of the MIT license.
*/
#include <stdafx.h>
#include <gamebase/impl/audio/ActiveAudio.h>
namespace gamebase { namespace impl {
void ActiveAudio::step()
{
m_curAudioList.insert(m_curAudioList.end(), m_audioSet.begin(), m_audioSe... | 19.59375 | 86 | 0.676236 | TheMrButcher |
d0a27aad1e3d0ec9acfc25197833799aa0f66bd7 | 3,556 | hpp | C++ | src/expquat.hpp | degarashi/frea | bb598245c2ab710cc816e98d7361e5863af5fd7e | [
"MIT"
] | null | null | null | src/expquat.hpp | degarashi/frea | bb598245c2ab710cc816e98d7361e5863af5fd7e | [
"MIT"
] | null | null | null | src/expquat.hpp | degarashi/frea | bb598245c2ab710cc816e98d7361e5863af5fd7e | [
"MIT"
] | null | null | null | #pragma once
#include "vector.hpp"
#include "angle.hpp"
#include "quaternion.hpp"
#include "fwd.hpp"
namespace frea {
template <class T, bool A>
struct ExpQuatT : Data<T,3,A>, lubee::op::Operator_Ne<ExpQuatT<T,A>> {
using op_t = lubee::op::Operator_Ne<ExpQuatT<T,A>>;
using base_t = Data<T,3,A>;
using base_t::b... | 26.340741 | 78 | 0.632171 | degarashi |
d0a47aef572c3d74dd9af1e9159884339e70d27d | 5,032 | cpp | C++ | examples/ex_udp.cpp | chip5441/mahi-com | fc7efcc5d7e9ff995303bbc162e694f25f47d6dd | [
"MIT"
] | 1 | 2021-09-22T08:37:01.000Z | 2021-09-22T08:37:01.000Z | examples/ex_udp.cpp | chip5441/mahi-com | fc7efcc5d7e9ff995303bbc162e694f25f47d6dd | [
"MIT"
] | 1 | 2020-11-16T04:05:47.000Z | 2020-11-16T04:05:47.000Z | examples/ex_udp.cpp | chip5441/mahi-com | fc7efcc5d7e9ff995303bbc162e694f25f47d6dd | [
"MIT"
] | 2 | 2020-12-21T09:28:26.000Z | 2021-09-17T03:08:19.000Z | // MIT License
//
// MEL - Mechatronics Engine & Library
// Copyright (c) 2019 Mechatronics and Haptic Interfaces Lab - Rice University
//
// 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 w... | 33.105263 | 116 | 0.621224 | chip5441 |
d0a914e1631efa8b56528241004a2933d1fd4ed7 | 48 | hpp | C++ | libraries/protocol/include/core/protocol/protocol.hpp | LadderToday/core | 3a652ad41ab184040782de1bb8798fb7f4f2a5ad | [
"MIT"
] | null | null | null | libraries/protocol/include/core/protocol/protocol.hpp | LadderToday/core | 3a652ad41ab184040782de1bb8798fb7f4f2a5ad | [
"MIT"
] | null | null | null | libraries/protocol/include/core/protocol/protocol.hpp | LadderToday/core | 3a652ad41ab184040782de1bb8798fb7f4f2a5ad | [
"MIT"
] | null | null | null | #pragma once
#include <core/protocol/block.hpp>
| 16 | 34 | 0.770833 | LadderToday |
d0abceea4c7bdea5323d8fc13c9a0f4bbd4e01ba | 942 | cpp | C++ | src/roq/algo/strategies/factory.cpp | roq-trading/examples | 1e8ac9f5a960378ae4dc4d4a6b83f8daf6a65cba | [
"BSD-3-Clause"
] | null | null | null | src/roq/algo/strategies/factory.cpp | roq-trading/examples | 1e8ac9f5a960378ae4dc4d4a6b83f8daf6a65cba | [
"BSD-3-Clause"
] | null | null | null | src/roq/algo/strategies/factory.cpp | roq-trading/examples | 1e8ac9f5a960378ae4dc4d4a6b83f8daf6a65cba | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2017-2022, Hans Erik Thrane */
#include "roq/algo/strategies/factory.hpp"
#include <memory>
#include "roq/algo/strategies/spread.hpp"
using namespace std::literals;
namespace roq {
namespace algo {
namespace strategies {
Factory::Factory(
const std::string_view &type,
const std::span<cons... | 28.545455 | 109 | 0.718684 | roq-trading |
d0b12e5240b10178aa38e9b66bb2718db56c0cd8 | 9,077 | cpp | C++ | source/PreviewViewer.cpp | xzrunner/shaderlab | c70a05d478a971eb228998b0f8d2f9d6cbd0fedd | [
"MIT"
] | 2 | 2016-11-16T16:32:18.000Z | 2017-04-18T13:28:11.000Z | source/PreviewViewer.cpp | xzrunner/shaderlab | c70a05d478a971eb228998b0f8d2f9d6cbd0fedd | [
"MIT"
] | null | null | null | source/PreviewViewer.cpp | xzrunner/shaderlab | c70a05d478a971eb228998b0f8d2f9d6cbd0fedd | [
"MIT"
] | 1 | 2016-11-16T16:32:21.000Z | 2016-11-16T16:32:21.000Z | #include "shaderlab/PreviewViewer.h"
#include <SM_Vector.h>
#include <unirender/Device.h>
#include <unirender/Context.h>
#include <unirender/IndexBuffer.h>
#include <unirender/VertexBuffer.h>
#include <unirender/VertexArray.h>
#include <unirender/VertexInputAttribute.h>
#include <unirender/ComponentDataType.h>
#includ... | 27.176647 | 145 | 0.60163 | xzrunner |
d0b532155fd476f5a04772f29634e19a90508b89 | 3,352 | cpp | C++ | Algorithms/dynamic_programming/build_bridge.cpp | Divide-et-impera-11/AlgorithmWord | a78bb9272b59df5d16fdc0af565391ef2ac20117 | [
"MIT"
] | null | null | null | Algorithms/dynamic_programming/build_bridge.cpp | Divide-et-impera-11/AlgorithmWord | a78bb9272b59df5d16fdc0af565391ef2ac20117 | [
"MIT"
] | null | null | null | Algorithms/dynamic_programming/build_bridge.cpp | Divide-et-impera-11/AlgorithmWord | a78bb9272b59df5d16fdc0af565391ef2ac20117 | [
"MIT"
] | null | null | null | using namespace std;
#include <iostream>
#include <string>
//------------Build Bridge------------
inline bool find_cross(uint32_t **cty, const uint32_t &len,uint32_t trg) {
for (uint32_t crs(0); crs < len; ++crs)
if (cty[2][crs] && (cty[0][crs] < cty[0][trg] && cty[1][crs] > cty[1][trg] || cty[0... | 39.435294 | 175 | 0.414678 | Divide-et-impera-11 |
d0b681cf314c08c2ac43e9d6f044b27cd94516a8 | 5,214 | cc | C++ | src/libtools/linalg/gsl/qrsolve.cc | vaidyanathanms/votca.tools | 62f9070f6b65c5bfd1227d61cddd2c5c29bcb8d4 | [
"Apache-2.0"
] | null | null | null | src/libtools/linalg/gsl/qrsolve.cc | vaidyanathanms/votca.tools | 62f9070f6b65c5bfd1227d61cddd2c5c29bcb8d4 | [
"Apache-2.0"
] | null | null | null | src/libtools/linalg/gsl/qrsolve.cc | vaidyanathanms/votca.tools | 62f9070f6b65c5bfd1227d61cddd2c5c29bcb8d4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2015 The VOTCA Development Team (http://www.votca.org)
*
* 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
*
* Unl... | 28.80663 | 128 | 0.602033 | vaidyanathanms |
d0b71a279f3b52b3d6d6e01ce648d5b965bdab88 | 5,393 | cc | C++ | ns-allinone-2.35/tclcl-1.20/iohandler.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2020-05-29T13:04:42.000Z | 2020-05-29T13:04:42.000Z | ns-allinone-2.35/tclcl-1.20/iohandler.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | null | null | null | ns-allinone-2.35/tclcl-1.20/iohandler.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2022-02-26T05:49:26.000Z | 2022-02-26T05:49:26.000Z | /*
* Copyright (c) 1993-1994 Regents of the University of California.
* 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 the above copyright
... | 28.088542 | 105 | 0.649917 | nitishk017 |
d0bc9bdd58745cbf8162e43ec822a4ee1a2b1724 | 1,079 | cpp | C++ | src/Editor/WorldEditor/CScriptEditSidebar.cpp | liakman/PrimeWorldEditor | 483184719701fbc59ad66212afcade9488956186 | [
"MIT"
] | 32 | 2018-12-17T20:22:32.000Z | 2019-06-14T06:48:25.000Z | src/Editor/WorldEditor/CScriptEditSidebar.cpp | liakman/PrimeWorldEditor | 483184719701fbc59ad66212afcade9488956186 | [
"MIT"
] | 10 | 2019-11-25T04:54:05.000Z | 2022-02-12T20:20:56.000Z | src/Editor/WorldEditor/CScriptEditSidebar.cpp | liakman/PrimeWorldEditor | 483184719701fbc59ad66212afcade9488956186 | [
"MIT"
] | 10 | 2019-11-22T09:16:00.000Z | 2021-11-21T22:55:54.000Z | #include "CScriptEditSidebar.h"
#include "WEditorProperties.h"
#include "WCreateTab.h"
#include "WModifyTab.h"
#include "WInstancesTab.h"
#include "CWorldEditor.h"
CScriptEditSidebar::CScriptEditSidebar(CWorldEditor *pEditor)
: CWorldEditorSidebar(pEditor)
{
QVBoxLayout *pLayout = new QVBoxLayout(this);
pL... | 35.966667 | 92 | 0.733086 | liakman |
d0bea718f19fbe797b9496a6255866fc2503f0f2 | 779 | cpp | C++ | Jacobsthal and Jacobsthal-Lucas numbers/code_1.cpp | Jatin-Goyal5/Data-Structures-and-Algorithms | f6bd0f77e5640c2e0568f3fffc4694758e77af96 | [
"MIT"
] | 27 | 2019-01-31T10:22:29.000Z | 2021-08-29T08:25:12.000Z | Jacobsthal and Jacobsthal-Lucas numbers/code_1.cpp | Jatin-Goyal5/Data-Structures-and-Algorithms | f6bd0f77e5640c2e0568f3fffc4694758e77af96 | [
"MIT"
] | 6 | 2020-09-30T19:01:49.000Z | 2020-12-17T15:10:54.000Z | Jacobsthal and Jacobsthal-Lucas numbers/code_1.cpp | Jatin-Goyal5/Data-Structures-and-Algorithms | f6bd0f77e5640c2e0568f3fffc4694758e77af96 | [
"MIT"
] | 27 | 2019-09-21T14:19:32.000Z | 2021-09-15T03:06:41.000Z | //
// code_1.cpp
// Algorithm
//
// Created by Mohd Shoaib Rayeen on 13/11/18.
// Copyright © 2018 Shoaib Rayeen. All rights reserved.
//
#include <bits/stdc++.h>
using namespace std;
int Jacobsthal(int n) {
if (n == 0) {
return 0;
}
if (n == 1) {
return 1;
}
return Jacobs... | 19.475 | 77 | 0.521181 | Jatin-Goyal5 |
d0c366c68939ff99670634e196d50733dee86ae0 | 88 | cpp | C++ | src/Cell.cpp | LucidSigma/GameOfLife | 4611e9c83137dfac1a3c10b007d14fe46210b31b | [
"MIT"
] | null | null | null | src/Cell.cpp | LucidSigma/GameOfLife | 4611e9c83137dfac1a3c10b007d14fe46210b31b | [
"MIT"
] | null | null | null | src/Cell.cpp | LucidSigma/GameOfLife | 4611e9c83137dfac1a3c10b007d14fe46210b31b | [
"MIT"
] | null | null | null | #include "Cell.h"
Cell::Cell(unsigned int x, unsigned int y) noexcept
: x(x), y(y)
{ } | 17.6 | 51 | 0.636364 | LucidSigma |
d0c75e23ebd4c5c0505eeefbbf81e5bdee3881c8 | 1,420 | cpp | C++ | test/test_util_hex/test_util_hex.cpp | gustavosinbandera1/turpial-test-tarvis | e2f404913d7fdbd19de320172d01044ad2570fbb | [
"Apache-2.0"
] | null | null | null | test/test_util_hex/test_util_hex.cpp | gustavosinbandera1/turpial-test-tarvis | e2f404913d7fdbd19de320172d01044ad2570fbb | [
"Apache-2.0"
] | null | null | null | test/test_util_hex/test_util_hex.cpp | gustavosinbandera1/turpial-test-tarvis | e2f404913d7fdbd19de320172d01044ad2570fbb | [
"Apache-2.0"
] | null | null | null | /**
* @file test_util_hex.cpp
* @author Locha Mesh Developers (contact@locha.io)
* @brief
* @version 0.1
* @date 2019-12-02
*
* @copyright Copyright (c) 2019 Locha Mesh project developers
* @license Apache 2.0, see LICENSE file for details
*/
#include "Hex.h"
#include <freertos/FreeRTOS.h>
#include <freert... | 20.882353 | 74 | 0.617606 | gustavosinbandera1 |
d0c8a5c04c2e10b6319685aef9c700516c834d40 | 549 | hpp | C++ | libs/fnd/units/include/bksge/fnd/units/lux.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/units/include/bksge/fnd/units/lux.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/units/include/bksge/fnd/units/lux.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file lux.hpp
*
* @brief lux の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_UNITS_LUX_HPP
#define BKSGE_FND_UNITS_LUX_HPP
#include <bksge/fnd/units/lumen.hpp>
#include <bksge/fnd/units/metre.hpp>
#include <bksge/fnd/units/detail/si_prefix.hpp>
namespace bksge
{
namespace units
{
//... | 17.15625 | 83 | 0.664845 | myoukaku |
d0c982418f39b47a09c5fb2b024501b82c96b064 | 908 | cpp | C++ | StorageInputStream.cpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 26 | 2015-04-22T05:25:25.000Z | 2020-11-15T11:07:56.000Z | StorageInputStream.cpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 2 | 2015-01-05T10:41:27.000Z | 2015-01-06T20:46:11.000Z | StorageInputStream.cpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 5 | 2016-08-02T11:13:57.000Z | 2018-10-26T11:19:27.000Z | #include "StorageInputStream.hpp"
#include "Storage.hpp"
#include <algorithm>
BEGIN_INANITY
StorageInputStream::StorageInputStream(ptr<Storage> storage, bigsize_t offset)
: storage(storage), offset(offset), endOffset(storage->GetBigSize()) {}
StorageInputStream::StorageInputStream(ptr<Storage> storage, bigsize_t off... | 23.894737 | 96 | 0.748899 | quyse |
d0cd5798eb0febc829f208075b2bb242915a0269 | 130 | cc | C++ | Pods/BoringSSL-GRPC/ssl/t1_enc.cc | MrsTrier/RememberArt | 90314d1f05a1d63b9885ebb17d37bab5134a24f3 | [
"MIT"
] | null | null | null | Pods/BoringSSL-GRPC/ssl/t1_enc.cc | MrsTrier/RememberArt | 90314d1f05a1d63b9885ebb17d37bab5134a24f3 | [
"MIT"
] | null | null | null | Pods/BoringSSL-GRPC/ssl/t1_enc.cc | MrsTrier/RememberArt | 90314d1f05a1d63b9885ebb17d37bab5134a24f3 | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:ddb8d509d87090e878cb63698adc70f5cad0c8ce871f4839c3bfda69661aac19
size 18058
| 32.5 | 75 | 0.884615 | MrsTrier |
d0e000700c25d7961726d6aa578bf2e1de759375 | 1,906 | hpp | C++ | include/foonathan/tiny/detail/select_integer.hpp | foonathan/tiny | 1fb39508d0320c61be5a0ecb670d55b889d7dc87 | [
"BSL-1.0"
] | 96 | 2018-11-09T13:29:02.000Z | 2022-02-13T21:20:36.000Z | include/foonathan/tiny/detail/select_integer.hpp | foonathan/tiny | 1fb39508d0320c61be5a0ecb670d55b889d7dc87 | [
"BSL-1.0"
] | 1 | 2018-11-09T17:03:14.000Z | 2018-11-09T18:12:10.000Z | include/foonathan/tiny/detail/select_integer.hpp | foonathan/tiny | 1fb39508d0320c61be5a0ecb670d55b889d7dc87 | [
"BSL-1.0"
] | 6 | 2019-01-04T13:02:27.000Z | 2021-06-01T03:56:52.000Z | // Copyright (C) 2018 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#ifndef FOONATHAN_TINY_DETAIL_SELECT_INTEGER_HPP_INCLUDED
#define FOONATHAN_TINY_DETAIL_SELECT_INTEGER_HPP_INCLUDED
#include ... | 38.12 | 100 | 0.56978 | foonathan |
d0e02a666efba59cae5cde42bdaa8bba20b26b28 | 203 | cpp | C++ | day-12-23-2.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | day-12-23-2.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | day-12-23-2.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | //技巧性的东西
#include <stdio.h>
int num1;
int num2; //在这个设置变量的时候,不一定一定在函数内,
int main(void)
{
printf("请输入两个数");
scanf_s("%d %d", &num1, &num2);
printf("两个数的和是%d", num1 + num2);
return 0;
} | 18.454545 | 40 | 0.591133 | duasong111 |
d0e06dce1f7ec527f67105b40a55b5006074546f | 1,123 | cpp | C++ | capstonebundle/plugin/capstone.cpp | REDasmOrg/REDasm-Assemblers | 695a0d870b458f4ea5d413a1aa9c9ad25e8ad69c | [
"MIT"
] | 8 | 2019-06-09T10:22:26.000Z | 2021-03-17T02:43:15.000Z | capstonebundle/plugin/capstone.cpp | REDasmOrg/REDasm-Assemblers | 695a0d870b458f4ea5d413a1aa9c9ad25e8ad69c | [
"MIT"
] | 2 | 2019-07-15T13:55:57.000Z | 2019-07-15T13:56:18.000Z | capstonebundle/plugin/capstone.cpp | REDasmOrg/REDasm-Assemblers | 695a0d870b458f4ea5d413a1aa9c9ad25e8ad69c | [
"MIT"
] | 9 | 2019-10-13T19:09:41.000Z | 2021-09-10T22:35:13.000Z | #include "capstone.h"
Capstone::Capstone(RDContext* ctx, cs_arch arch, cs_mode mode): m_context(ctx)
{
auto err = cs_open(arch, mode, &m_handle);
if(err)
{
rd_log(cs_strerror(err));
return;
}
cs_option(m_handle, CS_OPT_DETAIL, CS_OPT_ON);
m_insn = cs_malloc(m_handle);
}
Capst... | 31.194444 | 140 | 0.696349 | REDasmOrg |
d0e3fc344335b280175de255d60a3b7b221d8054 | 475 | cpp | C++ | src/TileWall.cpp | KABoissonneault/INF4215_TP3 | 8f9ba892bb13091cf1e957fcb0df01a987ba51ae | [
"Unlicense"
] | null | null | null | src/TileWall.cpp | KABoissonneault/INF4215_TP3 | 8f9ba892bb13091cf1e957fcb0df01a987ba51ae | [
"Unlicense"
] | null | null | null | src/TileWall.cpp | KABoissonneault/INF4215_TP3 | 8f9ba892bb13091cf1e957fcb0df01a987ba51ae | [
"Unlicense"
] | null | null | null | #include "TileWall.h"
#include <mutex>
namespace INF4215_TP3
{
namespace
{
std::once_flag s_flagLoad;
}
sf::Texture TileWall::s_texture;
TileWall::TileWall(const Room& room, const sf::Vector2i& pos)
: ITile(GetTexture(), room, pos, TileType::Wall)
{
}
sf::Texture& ... | 17.592593 | 91 | 0.602105 | KABoissonneault |
d0e58d48aa317ffbe560573832a6c5c6be215c4d | 479 | cpp | C++ | src/misc/join_binary_directory.cpp | Damdoshi/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 38 | 2016-07-30T09:35:19.000Z | 2022-03-04T10:13:48.000Z | src/misc/join_binary_directory.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 15 | 2017-02-12T19:20:52.000Z | 2021-06-09T09:30:52.000Z | src/misc/join_binary_directory.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 12 | 2016-10-06T09:06:59.000Z | 2022-03-04T10:14:00.000Z | // Jason Brillante "Damdoshi"
// Hanged Bunny Studio 2014-2018
//
// Lapin Library
#include <string.h>
#include <libgen.h>
#include "lapin_private.h"
#ifdef __GNUC__
# include <unistd.h>
# define change_directory chdir
#else
# define change_directory _chdir
#endif
bool bunny_join_binary_directory(const char *argv0... | 17.740741 | 52 | 0.697286 | Damdoshi |
d0eea48da9a73f95a3e89094edd5ab38c0a14e00 | 1,017 | cpp | C++ | namedList.cpp | HxHexa/spring2019-spendings-tracker | 5ba3e39d316ad12cceaddad9a30403c01d964509 | [
"MIT"
] | null | null | null | namedList.cpp | HxHexa/spring2019-spendings-tracker | 5ba3e39d316ad12cceaddad9a30403c01d964509 | [
"MIT"
] | null | null | null | namedList.cpp | HxHexa/spring2019-spendings-tracker | 5ba3e39d316ad12cceaddad9a30403c01d964509 | [
"MIT"
] | null | null | null | /* namedList.cpp - implementation of namedList.h functions
* Quang Tran - 5/27/2019
* */
#include <string>
#include <iostream>
#include "linkedList.h"
#include "namedList.h"
using namespace std;
//very basic implementations
//there might be some work needed to be done in regards to special characters
//or empty str... | 23.651163 | 79 | 0.715831 | HxHexa |
d0f018ca5906c7adef5b116e021001d97d48a1d5 | 208 | cpp | C++ | src/testAstronometry.cpp | GernotMaier/Eventdisplay | b244d65856ddc26ea8ef88af53d2b247e8d5936c | [
"BSD-3-Clause"
] | 11 | 2019-12-10T13:34:46.000Z | 2021-08-24T15:39:35.000Z | src/testAstronometry.cpp | Eventdisplay/Eventdisplay | 01ef380cf53a44f95351960a297a2d4f271a4160 | [
"BSD-3-Clause"
] | 53 | 2019-11-19T13:14:36.000Z | 2022-02-16T14:22:27.000Z | src/testAstronometry.cpp | pivosb/Eventdisplay | 6b299a1d3f77ddb641f98a511a37a5045ddd6b47 | [
"BSD-3-Clause"
] | 3 | 2020-05-07T13:52:46.000Z | 2021-06-25T09:49:21.000Z | /*! \file testAstronometry
* \brief test astronomy routines
*
*/
#include <stdlib.h>
#include "VAstronometry.h"
using namespace std;
int main( int argc, char* argv[] )
{
VAstronometry::test();
}
| 13 | 34 | 0.658654 | GernotMaier |
d0f0e98a9a8d23d75062076a6e59e8d86d59fbed | 1,431 | cc | C++ | A4/q2.cc | daniRiesgo/cs343 | 814938b9c2e4b4041815a6ab38680102fb10213e | [
"MIT"
] | null | null | null | A4/q2.cc | daniRiesgo/cs343 | 814938b9c2e4b4041815a6ab38680102fb10213e | [
"MIT"
] | null | null | null | A4/q2.cc | daniRiesgo/cs343 | 814938b9c2e4b4041815a6ab38680102fb10213e | [
"MIT"
] | null | null | null | #if defined( IMPLTYPE_MC ) // mutex/condition solution
// includes for this kind of vote-tallier
class TallyVotes {
// private declarations for this kind of vote-tallier
#elif defined( IMPLTYPE_SEM ) // semaphore solution
// includes for this kind of vote-tallier
class TallyVotes {
// private... | 38.675676 | 87 | 0.665269 | daniRiesgo |
d0f1f4c30d681d2688de888cc21f4b84c40cfb4f | 5,399 | cpp | C++ | data_structures/trie_modern.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | data_structures/trie_modern.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | data_structures/trie_modern.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | /**
* @file
*
* @author Anmol3299
* \brief A basic implementation of trie class to store only lower-case strings.
*/
#include <iostream> // for io operations
#include <memory> // for std::shared_ptr<>
#include <string> // for std::string class
/**
* A basic implementation of trie class to store only lower... | 27.545918 | 80 | 0.612706 | dvijaymanohar |
d0f3c3f61773f2e8a8f0e22c6c9bffc392f0adcb | 821 | hpp | C++ | Freeverb/comb.hpp | AlbertJean/highlife | f5bc66b5d5b8e7f9108ca251e8eb4567624b7a96 | [
"Unlicense"
] | 4 | 2018-10-29T08:36:56.000Z | 2021-04-16T17:42:54.000Z | Freeverb/comb.hpp | AlbertJean/highlife | f5bc66b5d5b8e7f9108ca251e8eb4567624b7a96 | [
"Unlicense"
] | null | null | null | Freeverb/comb.hpp | AlbertJean/highlife | f5bc66b5d5b8e7f9108ca251e8eb4567624b7a96 | [
"Unlicense"
] | 4 | 2019-06-16T14:56:58.000Z | 2022-03-18T21:23:37.000Z | // Comb filter class declaration
//
// Written by Jezar at Dreampoint, June 2000
// http://www.dreampoint.co.uk
// This code is public domain
#ifndef _comb_
#define _comb_
class comb
{
public:
comb();
void setbuffer(float *buf, int size);
inline float process(float inp);
void mute();
void setdamp(floa... | 17.468085 | 48 | 0.702801 | AlbertJean |
d0f3e61c17014e11cf4e220699a0f4f8ad0b5be0 | 13,202 | cpp | C++ | src/scripts/scripts/kalimdor/azuremyst_isle.cpp | Subv/diamondcore | e11891587736b6308e554f71cb56e8df1a1812ad | [
"OpenSSL"
] | 1 | 2018-01-17T08:11:17.000Z | 2018-01-17T08:11:17.000Z | src/scripts/scripts/kalimdor/azuremyst_isle.cpp | Subv/diamondcore | e11891587736b6308e554f71cb56e8df1a1812ad | [
"OpenSSL"
] | null | null | null | src/scripts/scripts/kalimdor/azuremyst_isle.cpp | Subv/diamondcore | e11891587736b6308e554f71cb56e8df1a1812ad | [
"OpenSSL"
] | null | null | null | /* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* 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 Software Foundation; either version 2 of the License, or
* (at your option) any l... | 28.391398 | 132 | 0.626344 | Subv |
cb9aa97df407442bdc959e3aa18867163980cd51 | 714 | cpp | C++ | LeetCode/ThousandTwo/1663-smallest_string_with_given_num.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandTwo/1663-smallest_string_with_given_num.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandTwo/1663-smallest_string_with_given_num.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | #include "leetcode.hpp"
/* 1663. 具有给定数值的最小字符串
小写字符 的 数值 是它在字母表中的位置(从 1 开始),因此 a 的数值为 1 ,b 的数值为 2 ,c 的数值为 3 ,以此类推。
字符串由若干小写字符组成,字符串的数值 为各字符的数值之和。
例如,字符串 "abe" 的数值等于 1 + 2 + 5 = 8 。
给你两个整数 n 和 k 。
返回 长度 等于 n 且 数值 等于 k 的 字典序最小 的字符串。
注意,如果字符串 x 在字典排序中位于 y 之前,就认为 x 字典序比 y 小,有以下两种情况:
x 是 y 的一个前缀;
如果 i 是 x[i] != y[i] ... | 14.875 | 67 | 0.570028 | Ginkgo-Biloba |
cb9aeac4fade578819faf767e589848061981f82 | 54 | hpp | C++ | addons/zeus/functions/script_component.hpp | Crowdedlight/Crows-Electronic-Warfare | 25efec706168ef26f369ab0e360aa55f74caebb1 | [
"CC0-1.0"
] | 5 | 2021-06-17T00:40:18.000Z | 2022-02-10T11:47:02.000Z | addons/zeus/functions/script_component.hpp | Crowdedlight/Crows-Electronic-Warfare | 25efec706168ef26f369ab0e360aa55f74caebb1 | [
"CC0-1.0"
] | 36 | 2021-06-13T15:17:02.000Z | 2022-03-23T12:37:48.000Z | addons/zeus/functions/script_component.hpp | Crowdedlight/Crows-Electronic-Warfare | 25efec706168ef26f369ab0e360aa55f74caebb1 | [
"CC0-1.0"
] | null | null | null | #include "\z\CrowsEW\addons\zeus\script_component.hpp" | 54 | 54 | 0.814815 | Crowdedlight |
cb9c2823d5bab891c2e59ae296d946c5ce44d502 | 5,016 | cpp | C++ | EterPack API/EterPack API/src/CRC32.cpp | christian-roggia/metin2-eternexus | 99d239e33733ae777822e0ea86ab5b437e010b64 | [
"MIT"
] | 13 | 2017-01-23T01:55:12.000Z | 2020-09-10T12:13:59.000Z | EterPack API/EterPack API/src/CRC32.cpp | Christian-Roggia/metin2-eternexus | 99d239e33733ae777822e0ea86ab5b437e010b64 | [
"MIT"
] | 1 | 2020-09-13T19:42:31.000Z | 2020-09-17T21:22:02.000Z | EterPack API/EterPack API/src/CRC32.cpp | Christian-Roggia/metin2-eternexus | 99d239e33733ae777822e0ea86ab5b437e010b64 | [
"MIT"
] | 28 | 2017-02-25T18:50:58.000Z | 2022-02-17T12:19:38.000Z | #include "CRC32.h"
DWORD CRCTable[256] =
{
0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,
0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,
0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B55... | 59.011765 | 147 | 0.719099 | christian-roggia |
cb9d762650b8051caf5dc33e2ae28096526adb9b | 878 | cpp | C++ | practisingTest1(24-27)/practisingTest1(24-27)/13371(25).cpp | albarkan/school.tests | 07861b884f1bc6ccf852ac60074afaeeccf40ef2 | [
"Apache-2.0"
] | null | null | null | practisingTest1(24-27)/practisingTest1(24-27)/13371(25).cpp | albarkan/school.tests | 07861b884f1bc6ccf852ac60074afaeeccf40ef2 | [
"Apache-2.0"
] | null | null | null | practisingTest1(24-27)/practisingTest1(24-27)/13371(25).cpp | albarkan/school.tests | 07861b884f1bc6ccf852ac60074afaeeccf40ef2 | [
"Apache-2.0"
] | null | null | null | //
// 13371(25).cpp
// practisingTest1(24-27)
//
// Created by barkanoid on 09.03.2020.
// Copyright © 2020 barkanoid. All rights reserved.
//
#include <stdio.h>
/* Дан целочисленный массив из 20 элементов. Элементы массива могут принимать целые значения от 0 до 10 000 включительно. Опишите на естественном языке ... | 26.606061 | 382 | 0.612756 | albarkan |
cb9f2a4605d6d6ad4862ffd169dccf141aa070c3 | 1,826 | cpp | C++ | Cpp/fost-sinks/panoptes.pathname.tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 2 | 2016-05-25T22:17:38.000Z | 2019-04-02T08:34:17.000Z | Cpp/fost-sinks/panoptes.pathname.tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 5 | 2018-07-13T10:43:05.000Z | 2019-09-02T14:54:42.000Z | Cpp/fost-sinks/panoptes.pathname.tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 1 | 2020-10-22T20:44:24.000Z | 2020-10-22T20:44:24.000Z | /**
Copyright 2016-2020, Red Anchor Trading Co. Ltd.
Copyright 2012-2015, Proteus Technologies Co. Ltd.
Distributed under the Boost Software License, Version 1.0.
See <http://www.boost.org/LICENSE_1_0.txt>
*/
#include <fost/sinks>
#include <fost/test>
namespace {
const fostlib::module c_fost_s... | 30.949153 | 75 | 0.63965 | KayEss |
cbaca215290599b1ed6b94c579d6f392751264a7 | 2,467 | cpp | C++ | alakajam13_game/Game.ActorTypes.cpp | playdeezgames/tggd_alakajam13 | e4433a14d4e74cc4f711c7bb6610c87e2fd9b377 | [
"MIT"
] | null | null | null | alakajam13_game/Game.ActorTypes.cpp | playdeezgames/tggd_alakajam13 | e4433a14d4e74cc4f711c7bb6610c87e2fd9b377 | [
"MIT"
] | null | null | null | alakajam13_game/Game.ActorTypes.cpp | playdeezgames/tggd_alakajam13 | e4433a14d4e74cc4f711c7bb6610c87e2fd9b377 | [
"MIT"
] | null | null | null | #include "Game.ActorTypes.h"
#include <map>
namespace game
{
static const std::map<ActorType, ActorTypeDescriptor> descriptors =
{
{ActorType::ROBOT_1, { "Robot1", true, "MiniRobot", "Battery1", false}},
{ActorType::ROBOT_2, { "Robot2", true, "MiniRobot", "Battery2", false }},
{ActorType::ROBOT_3, { "Robot3", t... | 61.675 | 87 | 0.667612 | playdeezgames |
cbacf133489883610d46a39a204f79de587f7aaa | 549 | cpp | C++ | basics/calculator.cpp | riti2409/forplacements | 9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04 | [
"MIT"
] | 5 | 2021-12-03T14:29:16.000Z | 2022-02-04T09:06:37.000Z | basics/calculator.cpp | riti2409/forplacements | 9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04 | [
"MIT"
] | null | null | null | basics/calculator.cpp | riti2409/forplacements | 9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04 | [
"MIT"
] | 2 | 2022-01-16T14:20:42.000Z | 2022-01-17T06:49:01.000Z | #include<bits/stdc++.h>
using namespace std;
int main(){
int n1,n2;
cout<<"enter the numbers: "<<endl;
cin>>n1>>n2;
char op;
cout<<"enter the operation:";
cin>>op;
switch(op){
case '+':
cout<<n1+n2<<endl;
break;
case '-':
cout<<n1-n2<<en... | 20.333333 | 39 | 0.431694 | riti2409 |
cbad56ebb25e5a1ba6b7fc02b89b47c51612df8d | 848 | cpp | C++ | pepcoding_problem/sum_two_array.cpp | sahilduhan/Learn-C-plus-plus | 80dba2ee08b36985deb297293a0318da5d6ace94 | [
"RSA-MD"
] | null | null | null | pepcoding_problem/sum_two_array.cpp | sahilduhan/Learn-C-plus-plus | 80dba2ee08b36985deb297293a0318da5d6ace94 | [
"RSA-MD"
] | null | null | null | pepcoding_problem/sum_two_array.cpp | sahilduhan/Learn-C-plus-plus | 80dba2ee08b36985deb297293a0318da5d6ace94 | [
"RSA-MD"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
int arr_1[] = {1, 2, 3, 4, 5};
int arr_2[] = {1, 2, 3, 4, 5, 5, 6};
int sum_array[] = {0};
int size_1 = sizeof(arr_1) / sizeof(arr_1[0]);
int size_2 = sizeof(arr_2) / sizeof(arr_2[0]);
int size_sum = sizeof(sum_array) / sizeof(sum_array[... | 19.272727 | 60 | 0.392689 | sahilduhan |
cbb1c241580a194c6e81419da9e4533412b42d47 | 477 | hpp | C++ | CSV_Parser/CSV_Header/CSV_Header_Methods/CSV_Header_Finders.hpp | NeuronEnix/CSV-Parser | 51f6474ea77e76d22f35aa009d53e8805df63d41 | [
"MIT"
] | 1 | 2020-11-21T05:27:35.000Z | 2020-11-21T05:27:35.000Z | CSV_Parser/CSV_Header/CSV_Header_Methods/CSV_Header_Finders.hpp | NeuronEnix/CSV-Parser-CPP | 51f6474ea77e76d22f35aa009d53e8805df63d41 | [
"MIT"
] | null | null | null | CSV_Parser/CSV_Header/CSV_Header_Methods/CSV_Header_Finders.hpp | NeuronEnix/CSV-Parser-CPP | 51f6474ea77e76d22f35aa009d53e8805df63d41 | [
"MIT"
] | null | null | null | #pragma once
#include "../CSV_Header.hpp"
std::string CSV_Header::at( int pos ) {
if( !this->isValied( pos ) )
throw std::out_of_range( "CSV_Header::at( " + std::to_string( pos ) + " ): Available range: min:0, max:" + std::to_string( this->header.size() - 1 ) );
return this->header[ pos ];
}
int... | 29.8125 | 159 | 0.603774 | NeuronEnix |
cbb2133d173581725a329315cc48535ddf07a82b | 1,250 | hxx | C++ | experimental/experimental/allocators/memory_resource_statistics.hxx | Dllieu/experimental | 05a32a786d541b5560f713e2cf87e147142999cb | [
"MIT"
] | null | null | null | experimental/experimental/allocators/memory_resource_statistics.hxx | Dllieu/experimental | 05a32a786d541b5560f713e2cf87e147142999cb | [
"MIT"
] | 26 | 2017-10-10T18:02:16.000Z | 2019-08-12T03:06:39.000Z | experimental/experimental/allocators/memory_resource_statistics.hxx | Dllieu/experimental | 05a32a786d541b5560f713e2cf87e147142999cb | [
"MIT"
] | null | null | null | #include <allocators/memory_resource_memory_pool_fixed_size.h>
namespace experimental
{
template <typename StatisticsHandler>
MemoryResourceStatistics<StatisticsHandler>::MemoryResourceStatistics(StatisticsHandler& iStatisticsHandler, pmr::memory_resource* iDefaultResource)
: m_StatisticsHandler(iStati... | 36.764706 | 152 | 0.7624 | Dllieu |
cbb27ad34c02896b263783d264fa73946b6ea215 | 302 | cpp | C++ | src/prod/ktl/src/tools/tests/kstream/KStreamTestCases.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/ktl/src/tools/tests/kstream/KStreamTestCases.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/ktl/src/tools/tests/kstream/KStreamTestCases.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | #pragma once
#include "KStreamTests.h"
//
// A table containing information of all test cases.
//
const KU_TEST_ENTRY gs_KuTestCases[] =
{
{ L"KStreamTest", KStreamTest, L"BVT", L"KStream implementation tests"},
};
const ULONG gs_KuTestCasesSize = ARRAYSIZE(gs_KuTestCases);
| 23.230769 | 97 | 0.688742 | vishnuk007 |
cbb390008c1d42671a34b2ab5348eadfef65a1a6 | 2,614 | hpp | C++ | API/Driver/OpenGL/include/GL/Pipeline/InputAssemblyState.hpp | Gpinchon/OCRA | 341bb07facc616f1f8a27350054d1e86f022d7c6 | [
"Apache-2.0"
] | null | null | null | API/Driver/OpenGL/include/GL/Pipeline/InputAssemblyState.hpp | Gpinchon/OCRA | 341bb07facc616f1f8a27350054d1e86f022d7c6 | [
"Apache-2.0"
] | null | null | null | API/Driver/OpenGL/include/GL/Pipeline/InputAssemblyState.hpp | Gpinchon/OCRA | 341bb07facc616f1f8a27350054d1e86f022d7c6 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <Pipeline/InputAssemblyState.hpp>
#include <Primitive/Topology.hpp>
#include <Pipeline/DynamicState.hpp>
#include <GL/Command/ExecutionState.hpp>
#include <GL/glew.h>
namespace OCRA::Pipeline::InputAssemblyState {
inline auto GetGLTopology(const Primitive::Topology& a_Topology)
{
switch (a_... | 39.606061 | 133 | 0.74101 | Gpinchon |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.