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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eb3c5ade1f7ba50efaa0e32632d449bb834bca13 | 20,526 | cpp | C++ | Source/Plugins/UIPlugins/QtPlugin/source/propertybrowser/moc_qtvariantproperty.cpp | OscarGame/blade | 6987708cb011813eb38e5c262c7a83888635f002 | [
"MIT"
] | 146 | 2018-12-03T08:08:17.000Z | 2022-03-21T06:04:06.000Z | Source/Plugins/UIPlugins/QtPlugin/source/propertybrowser/moc_qtvariantproperty.cpp | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 1 | 2019-01-18T03:35:49.000Z | 2019-01-18T03:36:08.000Z | Source/Plugins/UIPlugins/QtPlugin/source/propertybrowser/moc_qtvariantproperty.cpp | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 31 | 2018-12-03T10:32:43.000Z | 2021-10-04T06:31:44.000Z | /****************************************************************************
** Meta object code from reading C++ file 'qtvariantproperty.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
**
** WARNING! All changes made in this file will be lost!
***************************************************... | 55.029491 | 199 | 0.625743 | OscarGame |
eb3e12a28cc12e2f2d4af3f2ee4bc06ecb0e15b4 | 480 | hpp | C++ | optionals/medical/configs/weapons/Bandages.hpp | Task-Force-Dagger/Dagger | 56b9ffe3387f74830419a987eed5a0f386674331 | [
"MIT"
] | null | null | null | optionals/medical/configs/weapons/Bandages.hpp | Task-Force-Dagger/Dagger | 56b9ffe3387f74830419a987eed5a0f386674331 | [
"MIT"
] | null | null | null | optionals/medical/configs/weapons/Bandages.hpp | Task-Force-Dagger/Dagger | 56b9ffe3387f74830419a987eed5a0f386674331 | [
"MIT"
] | null | null | null |
// class ACE_fieldDressing: ACE_ItemCore {
// scope=2;
// picture="\z\tfd\addons\media\images\icon\IB.paa";
// // displayName="Israeli Bandage";
// descriptionShort="Quickly stanches haemorrhaging from injuries";
// descriptionUse="Quickly stanches haemorrhaging from injuries";
// };
// class ... | 34.285714 | 71 | 0.666667 | Task-Force-Dagger |
eb3e3af860c226182e04657b9520203b56f4e782 | 6,959 | cpp | C++ | All Project/Project_08.cpp | jaibae21/CPE211_S2021_UAH | 9e8e5452526288699e0d7ee22ed393857233501e | [
"MIT"
] | null | null | null | All Project/Project_08.cpp | jaibae21/CPE211_S2021_UAH | 9e8e5452526288699e0d7ee22ed393857233501e | [
"MIT"
] | null | null | null | All Project/Project_08.cpp | jaibae21/CPE211_S2021_UAH | 9e8e5452526288699e0d7ee22ed393857233501e | [
"MIT"
] | 1 | 2022-03-26T08:52:00.000Z | 2022-03-26T08:52:00.000Z | // ****************************************
// Program Title: Project_08
// Project File: Project_08.cpp
// Name: Jaiden Gann
// Course Section: CPE-211-02
// Lab Section: 2
// Due Date: 03/28/21
// program description: Read records of
// subscribers for a magazine. Practice with
// structs and more functions... | 30.388646 | 210 | 0.651387 | jaibae21 |
eb3e4625d894475d880bb4cd80b587b7076f0a55 | 16,603 | cpp | C++ | DesktopPony/ui/plugin/uipluginfilter.cpp | WisteFinch/DesktopPony | 846499169164779b04118f5637d1e71c98c212ad | [
"MIT"
] | 2 | 2020-10-02T03:45:57.000Z | 2020-10-02T03:46:12.000Z | DesktopPony/ui/plugin/uipluginfilter.cpp | WisteFinch/DesktopPony | 846499169164779b04118f5637d1e71c98c212ad | [
"MIT"
] | null | null | null | DesktopPony/ui/plugin/uipluginfilter.cpp | WisteFinch/DesktopPony | 846499169164779b04118f5637d1e71c98c212ad | [
"MIT"
] | 2 | 2021-04-04T11:53:44.000Z | 2021-07-07T01:35:50.000Z | #include "uipluginfilter.h"
UiPluginFilter::UiPluginFilter(QWidget *parent) : QWidget(parent)
{
this->m_p_hide_timer = new QTimer;
this->m_p_hide_timer->setInterval(50);
this->setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
connect(this->m_p_hide_timer, &QTimer::timeout, this, &UiPluginFilter::ti... | 44.872973 | 104 | 0.723423 | WisteFinch |
eb407b8f411e4f601273b2dd867805a51526bda1 | 400 | cpp | C++ | src/dxvk/dxvk_data.cpp | notaz/dxvk | 93348731880b6764464c1fbc0d5fe92f47b053fe | [
"Zlib"
] | null | null | null | src/dxvk/dxvk_data.cpp | notaz/dxvk | 93348731880b6764464c1fbc0d5fe92f47b053fe | [
"Zlib"
] | null | null | null | src/dxvk/dxvk_data.cpp | notaz/dxvk | 93348731880b6764464c1fbc0d5fe92f47b053fe | [
"Zlib"
] | 2 | 2019-08-10T07:38:07.000Z | 2019-11-09T14:06:29.000Z | #include <cstring>
#include "dxvk_data.h"
namespace dxvk {
DxvkDataBuffer:: DxvkDataBuffer() { }
DxvkDataBuffer::~DxvkDataBuffer() { }
DxvkDataBuffer::DxvkDataBuffer(
size_t size) {
m_data.resize(size);
}
DxvkDataBuffer::DxvkDataBuffer(
const void* data,
size_t size)... | 18.181818 | 43 | 0.62 | notaz |
eb422102cd381f9af351ac4b8870cfb81a1812de | 639 | cpp | C++ | src/piece.cpp | hallur/boardgame | 374fd1366cbae785bc40ba24403d50e36b2a3637 | [
"MIT"
] | null | null | null | src/piece.cpp | hallur/boardgame | 374fd1366cbae785bc40ba24403d50e36b2a3637 | [
"MIT"
] | 1 | 2018-04-09T19:08:41.000Z | 2018-04-09T19:08:41.000Z | src/piece.cpp | hallur/boardgame | 374fd1366cbae785bc40ba24403d50e36b2a3637 | [
"MIT"
] | null | null | null | #include "piece.h"
#include <iostream>
boardgame::Piece::Piece(boardgame::Player* player, const char& marker) : marker_(marker), player_(player) {}
boardgame::Piece::~Piece() {}
char boardgame::Piece::getMarker() const {
return marker_;
}
boardgame::Player* boardgame::Piece::getPlayer() const {
return playe... | 23.666667 | 108 | 0.694836 | hallur |
eb47dc856e2d386b34c596e3da6fd623d91dcce1 | 2,976 | cpp | C++ | src/extern/inventor/lib/database/src/so/nodes/nurbs/libnurbs/maplist.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/extern/inventor/lib/database/src/so/nodes/nurbs/libnurbs/maplist.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/extern/inventor/lib/database/src/so/nodes/nurbs/libnurbs/maplist.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... | 25.220339 | 79 | 0.654234 | OpenXIP |
eb4873c22694abe76642c9974c96c5a2ab3d4d97 | 3,065 | cpp | C++ | aws-cpp-sdk-networkmanager/source/model/NetworkRoute.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-networkmanager/source/model/NetworkRoute.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-networkmanager/source/model/NetworkRoute.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/networkmanager/model/NetworkRoute.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
n... | 23.576923 | 114 | 0.741272 | perfectrecall |
eb4c0f236e261e5b57e31d49d5ed99837c6ce2bd | 1,181 | cpp | C++ | src/proto/codec/AFCodecProto.cpp | ArkGame/ArkGameFrame | a7f8413dd416cd1ac5b12adbdd84f010f59f11e2 | [
"Apache-2.0"
] | 168 | 2016-08-18T07:24:48.000Z | 2018-02-06T06:40:45.000Z | src/proto/codec/AFCodecProto.cpp | Mu-L/ARK | a7f8413dd416cd1ac5b12adbdd84f010f59f11e2 | [
"Apache-2.0"
] | 11 | 2019-05-27T12:26:02.000Z | 2021-05-12T02:45:16.000Z | src/proto/codec/AFCodecProto.cpp | ArkGame/ArkGameFrame | a7f8413dd416cd1ac5b12adbdd84f010f59f11e2 | [
"Apache-2.0"
] | 51 | 2016-09-01T10:17:38.000Z | 2018-02-06T10:45:25.000Z | /*
* This source file is part of ArkNX
* For the latest info, see https://github.com/ArkNX
*
* Copyright (c) 2013-2020 ArkNX authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 24.604167 | 75 | 0.730737 | ArkGame |
eb5904afccf94f616edb8a35c4cc9b44f10aacc8 | 771 | cc | C++ | caffe2/operators/replace_nan_op_hip.cc | rohithkrn/rocm_caffe2 | c21a1f0b8607a681cedb923b2013804d31d529a4 | [
"Apache-2.0"
] | null | null | null | caffe2/operators/replace_nan_op_hip.cc | rohithkrn/rocm_caffe2 | c21a1f0b8607a681cedb923b2013804d31d529a4 | [
"Apache-2.0"
] | null | null | null | caffe2/operators/replace_nan_op_hip.cc | rohithkrn/rocm_caffe2 | c21a1f0b8607a681cedb923b2013804d31d529a4 | [
"Apache-2.0"
] | null | null | null | #include "hip/hip_runtime.h"
#include "caffe2/core/context_hip.h"
#include "caffe2/operators/replace_nan_op.h"
namespace caffe2 {
namespace {
template <typename T>
__global__ void
replace_nan_kernel(const T value, const TIndex size, const T* X, T* Y) {
HIP_1D_KERNEL_LOOP(i, size) {
if (isnan(X[i])) {
Y[i]... | 24.09375 | 147 | 0.688716 | rohithkrn |
eb5f96e9f816a33293716c1e21ce30c359ed042f | 1,970 | cpp | C++ | Source/DarkLab/ExitVolume.cpp | rinial/DarkLab | 82d29368d8b009eec02522706f368c1545fa3514 | [
"MIT"
] | 6 | 2020-09-05T02:25:37.000Z | 2022-02-07T02:05:57.000Z | Source/DarkLab/ExitVolume.cpp | Ziririn/DarkLab | 82d29368d8b009eec02522706f368c1545fa3514 | [
"MIT"
] | null | null | null | Source/DarkLab/ExitVolume.cpp | Ziririn/DarkLab | 82d29368d8b009eec02522706f368c1545fa3514 | [
"MIT"
] | 1 | 2020-09-05T02:25:56.000Z | 2020-09-05T02:25:56.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "ExitVolume.h"
#include "Components/ArrowComponent.h"
#include "Components/BoxComponent.h"
#include "Components/PointLightComponent.h"
#include "MainCharacter.h"
#include "MainGameMode.h"
// Activates volume's light
void AExitVolu... | 28.550725 | 195 | 0.76802 | rinial |
eb60467a51bceeb4946f62c2d169192b594f8061 | 622 | hpp | C++ | src/zookeeper/authentication.hpp | clearstorydata/mesos | 4164125048c6635a4d0dbe72daf243457b0f325b | [
"Apache-2.0"
] | null | null | null | src/zookeeper/authentication.hpp | clearstorydata/mesos | 4164125048c6635a4d0dbe72daf243457b0f325b | [
"Apache-2.0"
] | null | null | null | src/zookeeper/authentication.hpp | clearstorydata/mesos | 4164125048c6635a4d0dbe72daf243457b0f325b | [
"Apache-2.0"
] | 1 | 2022-02-19T10:59:37.000Z | 2022-02-19T10:59:37.000Z | #ifndef __ZOOKEEPER_AUTHENTICATION_HPP__
#define __ZOOKEEPER_AUTHENTICATION_HPP__
#include <zookeeper.h>
#include <string>
namespace zookeeper {
struct Authentication
{
Authentication(
const std::string& _scheme,
const std::string& _credentials)
: scheme(_scheme),
credentials(_credentials) {... | 20.733333 | 70 | 0.754019 | clearstorydata |
eb6330a03a2357147b9780f4e7fd1d6cc53275b3 | 784 | cpp | C++ | C++/single-number-iii.cpp | burneychen/LintCode | babd95aca1fa7540e75b1d3b4d458971ebbe6bcb | [
"Unlicense"
] | null | null | null | C++/single-number-iii.cpp | burneychen/LintCode | babd95aca1fa7540e75b1d3b4d458971ebbe6bcb | [
"Unlicense"
] | null | null | null | C++/single-number-iii.cpp | burneychen/LintCode | babd95aca1fa7540e75b1d3b4d458971ebbe6bcb | [
"Unlicense"
] | null | null | null | // Time: O(n)
// Space: O(1)
class Solution {
public:
/**
* @param A : An integer array
* @return : Two integers
*/
vector<int> singleNumberIII(vector<int> &A) {
// Xor all the elements to get x ^ y.
int x_xor_y = 0;
for (const auto& i : A) {
x_xor_y ^= i;
... | 23.757576 | 71 | 0.47449 | burneychen |
eb6383f8d05cf1e2c368dbf8b09706cf2fdcfaa3 | 9,928 | cpp | C++ | Uber_Duper_Simulation_Haxe/bin/windows/cpp/obj/src/haxe/Int64.cpp | as3boyan/Uber-Duper-Simulation | a3942831a1acf08479f06fd8cfe8896ec00ac32c | [
"MIT"
] | null | null | null | Uber_Duper_Simulation_Haxe/bin/windows/cpp/obj/src/haxe/Int64.cpp | as3boyan/Uber-Duper-Simulation | a3942831a1acf08479f06fd8cfe8896ec00ac32c | [
"MIT"
] | null | null | null | Uber_Duper_Simulation_Haxe/bin/windows/cpp/obj/src/haxe/Int64.cpp | as3boyan/Uber-Duper-Simulation | a3942831a1acf08479f06fd8cfe8896ec00ac32c | [
"MIT"
] | null | null | null | #include <hxcpp.h>
#ifndef INCLUDED_haxe_Int64
#include <haxe/Int64.h>
#endif
namespace haxe{
Void Int64_obj::__construct(int high,int low)
{
HX_STACK_FRAME("haxe.Int64","new",0xf44bbaf7,"haxe.Int64.new","D:\\Denis\\PortableSoft\\HaxeToolkit\\haxe\\std/haxe/Int64.hx",29,0x8ed75308)
HX_STACK_THIS(this)
HX_STACK_ARG(hi... | 26.905149 | 154 | 0.67224 | as3boyan |
eb6d1b7f7459ee7406048837a293be48ed03ad0b | 1,045 | cpp | C++ | examples/cancel.cpp | drobison00/taskflow | 9415c3b68fd050889f57412394933e94b74755e0 | [
"MIT"
] | 3,337 | 2020-06-02T02:04:17.000Z | 2022-03-31T19:12:03.000Z | examples/cancel.cpp | drobison00/taskflow | 9415c3b68fd050889f57412394933e94b74755e0 | [
"MIT"
] | 235 | 2020-06-02T01:26:49.000Z | 2022-03-31T01:35:31.000Z | examples/cancel.cpp | drobison00/taskflow | 9415c3b68fd050889f57412394933e94b74755e0 | [
"MIT"
] | 414 | 2020-06-02T16:25:23.000Z | 2022-03-30T09:17:19.000Z | // The program demonstrates how to cancel a submitted taskflow
// graph and wait until the cancellation completes.
#include <taskflow/taskflow.hpp>
int main() {
tf::Executor executor;
tf::Taskflow taskflow("cancel");
// We create a taskflow graph of 1000 tasks each of 1 second.
// Ideally, the taskflow ... | 26.125 | 85 | 0.654545 | drobison00 |
eb6eb6a938770cbcec77c90a3e80c07c2173fe77 | 5,173 | cpp | C++ | src/openms_gui/source/VISUAL/MISC/FilterableList.cpp | vmusch/OpenMS | 3c4a078ad4687677393c138d4acb91bb444a7c7b | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 348 | 2015-01-17T16:50:12.000Z | 2022-03-30T22:55:39.000Z | src/openms_gui/source/VISUAL/MISC/FilterableList.cpp | vmusch/OpenMS | 3c4a078ad4687677393c138d4acb91bb444a7c7b | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 4,259 | 2015-01-01T14:07:54.000Z | 2022-03-31T16:49:14.000Z | src/openms_gui/source/VISUAL/MISC/FilterableList.cpp | vmusch/OpenMS | 3c4a078ad4687677393c138d4acb91bb444a7c7b | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 266 | 2015-01-24T14:56:14.000Z | 2022-03-30T12:32:35.000Z | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 36.687943 | 167 | 0.639861 | vmusch |
eb6fc6c492274d8f92c5f9a551cad0bf3b7016df | 13,140 | cc | C++ | src/instructions.cc | DouglasRMiles/QuProlog | 798d86f87fb4372b8918ef582ef2f0fc0181af2d | [
"Apache-2.0"
] | 5 | 2019-11-20T02:05:31.000Z | 2022-01-06T18:59:16.000Z | src/instructions.cc | logicmoo/QuProlog | 798d86f87fb4372b8918ef582ef2f0fc0181af2d | [
"Apache-2.0"
] | null | null | null | src/instructions.cc | logicmoo/QuProlog | 798d86f87fb4372b8918ef582ef2f0fc0181af2d | [
"Apache-2.0"
] | 2 | 2022-01-08T13:52:24.000Z | 2022-03-07T17:41:37.000Z | //
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT!
//
//##Qu-Prolog Copyright.abst##
//
// $Id: MkInstructions.in,v 1.3 2005/04/12 04:02:48 qp Exp n
#include "code.h"
#include "defs.h"
#include "instructions.h"
// Opcode names
const char *opnames[] = {
/* EMPTY ENTRY */ 0,
"put_x_variable",
"put_y_variable",... | 40.934579 | 196 | 0.708828 | DouglasRMiles |
eb74302c7bdaa43e9a64f240e5e5f0ddd222b000 | 2,389 | cpp | C++ | src/user.cpp | hvlds/bgmaker | a815d1bff9ccd3082497eae13352663817aff10a | [
"MIT"
] | null | null | null | src/user.cpp | hvlds/bgmaker | a815d1bff9ccd3082497eae13352663817aff10a | [
"MIT"
] | null | null | null | src/user.cpp | hvlds/bgmaker | a815d1bff9ccd3082497eae13352663817aff10a | [
"MIT"
] | null | null | null | #include "user.hpp"
#include <iostream>
#include <string>
#include <toml.hpp>
#include <vector>
#include "lsystem.hpp"
UserInfo::UserInfo() {
this->general_info.height = 1080;
this->general_info.width = 1920;
this->is_preview = false;
this->stroke_color = "#FFFFFF";
this->general_info.background_c... | 32.283784 | 89 | 0.611134 | hvlds |
eb76b2ec86edd840107d37bf541e66cc9c3f4937 | 427 | cpp | C++ | src/simple_psh/main/cpp/main.cpp | jmprathab/pshell | 8b9955c96b9c185a6d66314e6b692d932e535109 | [
"Apache-2.0"
] | null | null | null | src/simple_psh/main/cpp/main.cpp | jmprathab/pshell | 8b9955c96b9c185a6d66314e6b692d932e535109 | [
"Apache-2.0"
] | null | null | null | src/simple_psh/main/cpp/main.cpp | jmprathab/pshell | 8b9955c96b9c185a6d66314e6b692d932e535109 | [
"Apache-2.0"
] | null | null | null | #define SIMPLEPSH_MODULE_EXPORT
#include <simplepsh.hpp>
#include <cstdlib>
#include <memory>
#include <simple_psh/main/headers/noopinterpreter.hpp>
class PSH;
int main(int argc, char **argv) {
std::unique_ptr<Interpreter> interpreter(new NoOpInterpreter());
std::unique_ptr<PSH> psh(new SimplePSH(std::move(... | 23.722222 | 68 | 0.716628 | jmprathab |
eb7b35ba781b293e0ed315a1680fa5c4270528e6 | 621 | cpp | C++ | Source-simplified/Computational Geometry/Two-dimension/Graham Scanning Algorithm.cpp | lmxyy/Code-Library-for-lmxyy | e7740402076588624e2fb3dff7ed916851b2eb76 | [
"MIT"
] | 3 | 2019-06-27T14:14:32.000Z | 2021-01-11T11:36:47.000Z | Source-simplified/Computational Geometry/Two-dimension/Graham Scanning Algorithm.cpp | lmxyy/Code-Library-for-lmxyy | e7740402076588624e2fb3dff7ed916851b2eb76 | [
"MIT"
] | null | null | null | Source-simplified/Computational Geometry/Two-dimension/Graham Scanning Algorithm.cpp | lmxyy/Code-Library-for-lmxyy | e7740402076588624e2fb3dff7ed916851b2eb76 | [
"MIT"
] | 1 | 2021-04-27T00:26:54.000Z | 2021-04-27T00:26:54.000Z | //凸包上最大四边形面积
int N,M; double ans;
struct Point { double x,y; }P[maxn],convex[maxn];
inline void Graham()
{
ConvexHull();
for (int i = 1;i <= M;++i) convex[i+M] = convex[i];
int p1,p2,p3,p4;
for (p1 = 1;p1 <= M;++p1)
{
p2 = p1+1; p3 = p2+1; p4 = p3+1;
for (;p3 < p1+M-1;++p3)
{
Point v = convex[p3]-convex[... | 27 | 95 | 0.558776 | lmxyy |
eb7b4e40248e7269f950ece536e2b5c4896a2e4b | 1,213 | hpp | C++ | src/sdl2/sdl.hpp | fl4shk/liborangepower | a2aa99a7f9b35cc06ad78976406432913718800b | [
"MIT"
] | 2 | 2019-01-02T02:07:44.000Z | 2022-03-21T10:22:18.000Z | src/sdl2/sdl.hpp | fl4shk/liborangepower | a2aa99a7f9b35cc06ad78976406432913718800b | [
"MIT"
] | null | null | null | src/sdl2/sdl.hpp | fl4shk/liborangepower | a2aa99a7f9b35cc06ad78976406432913718800b | [
"MIT"
] | 1 | 2019-01-01T02:51:25.000Z | 2019-01-01T02:51:25.000Z | #ifndef liborangepower_sdl2_sdl_hpp
#define liborangepower_sdl2_sdl_hpp
#include "../misc/misc_includes.hpp"
#include "../gen_class_innards_defines.hpp"
#include <algorithm>
#include <SDL.h>
namespace liborangepower
{
namespace sdl
{
//template<typename Type>
//class StructWrapper
//{
//public: // typedefs
// usi... | 17.838235 | 62 | 0.694971 | fl4shk |
eb7b79a45bd23a062fb0939d98e0c4b3dbffc214 | 9,418 | cpp | C++ | coopserver/CoopMgr/Event.cpp | vinthewrench/chickencoop | 7338f0e800db7e1379bf15f0f2750c0959b2a641 | [
"MIT"
] | 1 | 2022-02-03T21:33:30.000Z | 2022-02-03T21:33:30.000Z | coopserver/CoopMgr/Event.cpp | vinthewrench/chickencoop | 7338f0e800db7e1379bf15f0f2750c0959b2a641 | [
"MIT"
] | null | null | null | coopserver/CoopMgr/Event.cpp | vinthewrench/chickencoop | 7338f0e800db7e1379bf15f0f2750c0959b2a641 | [
"MIT"
] | null | null | null | //
// Event.cpp
// coopserver
//
// Created by Vincent Moscaritolo on 12/29/21.
//
#include "Event.hpp"
#include "TimeStamp.hpp"
using namespace nlohmann;
constexpr string_view JSON_ARG_ACTION = "action";
constexpr string_view JSON_ARG_TRIGGER = "trigger";
constexpr string_view JSON_ARG_EVENTID = "eventID";... | 21.069351 | 95 | 0.673285 | vinthewrench |
eb8000383b8fa8044f48e03041fbca5dd4591579 | 5,341 | cpp | C++ | vpr/src/place/compressed_grid.cpp | dpbaines/vtr-verilog-to-routing | cea4b63689db11816027aea23b6690af1c384f2d | [
"MIT"
] | 32 | 2018-01-10T11:47:44.000Z | 2022-03-18T15:17:36.000Z | vpr/src/place/compressed_grid.cpp | dpbaines/vtr-verilog-to-routing | cea4b63689db11816027aea23b6690af1c384f2d | [
"MIT"
] | 179 | 2018-08-22T22:48:59.000Z | 2021-10-10T10:00:56.000Z | vpr/src/place/compressed_grid.cpp | dpbaines/vtr-verilog-to-routing | cea4b63689db11816027aea23b6690af1c384f2d | [
"MIT"
] | 25 | 2019-02-10T16:55:40.000Z | 2021-08-29T05:28:47.000Z | #include "compressed_grid.h"
#include "arch_util.h"
#include "globals.h"
std::vector<t_compressed_block_grid> create_compressed_block_grids() {
auto& device_ctx = g_vpr_ctx.device();
auto& grid = device_ctx.grid;
//Collect the set of x/y locations for each instace of a block type
std::vector<std::vect... | 42.055118 | 139 | 0.661299 | dpbaines |
eb83cd51ea2785478bd632024f02f068fff82b0d | 2,585 | cpp | C++ | src/the_framework/unittest/utest_utility_fct.cpp | schnedann/linebuffer | 494745a6d83eef1adebf9a6e30c636a8edd5f0c2 | [
"BSD-3-Clause"
] | null | null | null | src/the_framework/unittest/utest_utility_fct.cpp | schnedann/linebuffer | 494745a6d83eef1adebf9a6e30c636a8edd5f0c2 | [
"BSD-3-Clause"
] | null | null | null | src/the_framework/unittest/utest_utility_fct.cpp | schnedann/linebuffer | 494745a6d83eef1adebf9a6e30c636a8edd5f0c2 | [
"BSD-3-Clause"
] | null | null | null | /****************************************
* Includes
****************************************/
#include <iostream>
#include <iomanip>
#include <random>
#include <cmath>
#include "catch.hpp"
#include "dtypes.h"
#include "utility_fct.h"
/****************************************
* Defines
**************************... | 33.141026 | 71 | 0.543133 | schnedann |
eb851c5766b50948429d1676c386f2daec39f294 | 13,551 | cpp | C++ | chapter03/resolve/resolver.cpp | caigen/windows-network-programming | 367abd891203528a1405012df0551e21a239f131 | [
"MIT"
] | null | null | null | chapter03/resolve/resolver.cpp | caigen/windows-network-programming | 367abd891203528a1405012df0551e21a239f131 | [
"MIT"
] | null | null | null | chapter03/resolve/resolver.cpp | caigen/windows-network-programming | 367abd891203528a1405012df0551e21a239f131 | [
"MIT"
] | null | null | null | //
// Sample: Illustrates getaddrinfo and getnameinfo
//
// Files:
// resolver.cpp - this file
//
// Description:
// This sample illustrates how to use the new name resolution APIs:
// getaddrinfo and getnameinfo. This sample takes a hostname or address
// and performs an address res... | 34.306329 | 110 | 0.468157 | caigen |
eb8a8f5f3311f49ff06f3af84722286b57e72ad0 | 403 | cpp | C++ | Codechef/PieceOfCake.cpp | MartinAparicioPons/Competitive-Programming | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | [
"Apache-2.0"
] | 1 | 2019-09-29T03:58:35.000Z | 2019-09-29T03:58:35.000Z | Codechef/PieceOfCake.cpp | MartinAparicioPons/Competitive-Programming | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | [
"Apache-2.0"
] | null | null | null | Codechef/PieceOfCake.cpp | MartinAparicioPons/Competitive-Programming | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
int i, m, mi, n, a[5000], T;
string s;
cin >> T;
while(T--){
cin >> s;
n = s.size();
memset(a, 0, sizeof a);
for(i = 0; i < n; i++){
a[s[i]]++;
}
m = -1;
for(i = 0; i < 500; i++){
if(m < a[i]){
m = a[i... | 15.5 | 42 | 0.441687 | MartinAparicioPons |
eb8b3b7562777d0e49e67edf216045052c73aaae | 3,011 | hpp | C++ | src/sfizz/WindowedSinc.hpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 281 | 2019-06-06T05:58:59.000Z | 2022-03-06T12:20:09.000Z | src/sfizz/WindowedSinc.hpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 590 | 2019-09-22T00:26:10.000Z | 2022-03-31T19:21:58.000Z | src/sfizz/WindowedSinc.hpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 44 | 2019-10-08T08:24:20.000Z | 2022-02-26T04:21:44.000Z | // SPDX-License-Identifier: BSD-2-Clause
// This code is part of the sfizz library and is licensed under a BSD 2-clause
// license. You should have receive a LICENSE.md file along with the code.
// If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz
#pragma once
#include "WindowedSinc.h"
#inclu... | 37.6375 | 97 | 0.713384 | michaelwillis |
eb8f47b9a3853c564e99cab0ce8cf6562d734067 | 1,270 | cpp | C++ | Little Panda Power.cpp | michaelarakel/hackerrank-solutions | 77ba66a5d81c53b32c59d7547eba67a12349a2f0 | [
"Unlicense"
] | null | null | null | Little Panda Power.cpp | michaelarakel/hackerrank-solutions | 77ba66a5d81c53b32c59d7547eba67a12349a2f0 | [
"Unlicense"
] | null | null | null | Little Panda Power.cpp | michaelarakel/hackerrank-solutions | 77ba66a5d81c53b32c59d7547eba67a12349a2f0 | [
"Unlicense"
] | 1 | 2020-11-24T19:22:02.000Z | 2020-11-24T19:22:02.000Z | //
// Little Panda Power.cpp
// Hackerrank
//
// Created by Mikael Arakelian on 6/11/17.
// Copyright © 2017 Mikael Arakelian. All rights reserved.
//
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int bin_pow(int a, int n, int mod) {
if (n =... | 19.538462 | 66 | 0.46063 | michaelarakel |
eb906b68c09739fec5f46a90d4ebff2ad6377ed0 | 14,191 | cpp | C++ | unit/engine/unittest_layouts.cpp | DamianMehers/apl-core-library | 9c003dbfc8bc90709396c07179c523473d380db1 | [
"Apache-2.0"
] | null | null | null | unit/engine/unittest_layouts.cpp | DamianMehers/apl-core-library | 9c003dbfc8bc90709396c07179c523473d380db1 | [
"Apache-2.0"
] | null | null | null | unit/engine/unittest_layouts.cpp | DamianMehers/apl-core-library | 9c003dbfc8bc90709396c07179c523473d380db1 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019 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 "lice... | 26.826087 | 97 | 0.394053 | DamianMehers |
eb9a912b4da2a95de67cbe47dee1b711cfff5743 | 4,688 | cpp | C++ | tests/test-allflags.cpp | lcapaldo/c-server-sdk | 87edbe872b5f5fa6e797a6e26e89faf941958679 | [
"Apache-2.0"
] | 5 | 2019-10-08T05:05:40.000Z | 2022-03-23T10:46:27.000Z | tests/test-allflags.cpp | lcapaldo/c-server-sdk | 87edbe872b5f5fa6e797a6e26e89faf941958679 | [
"Apache-2.0"
] | 8 | 2020-01-18T02:16:27.000Z | 2022-02-23T21:28:07.000Z | tests/test-allflags.cpp | lcapaldo/c-server-sdk | 87edbe872b5f5fa6e797a6e26e89faf941958679 | [
"Apache-2.0"
] | 6 | 2019-12-13T21:00:11.000Z | 2021-06-09T09:55:13.000Z | #include "gtest/gtest.h"
#include "commonfixture.h"
extern "C" {
#include <string.h>
#include <launchdarkly/api.h>
#include "client.h"
#include "config.h"
#include "evaluate.h"
#include "store.h"
#include "utility.h"
#include "test-utils/client.h"
#include "test-utils/flags.h"
}
// Inherit from the CommonFixture to... | 32.555556 | 99 | 0.694326 | lcapaldo |
eb9c1dbc2600e452d1aa03f872b7b8611001d3bb | 820 | cpp | C++ | src/Stages/ObstacleMaker.cpp | lucashflores/jogo-tecprog | 21b114f21b933247a321e17905338a4f51620d2a | [
"MIT"
] | null | null | null | src/Stages/ObstacleMaker.cpp | lucashflores/jogo-tecprog | 21b114f21b933247a321e17905338a4f51620d2a | [
"MIT"
] | null | null | null | src/Stages/ObstacleMaker.cpp | lucashflores/jogo-tecprog | 21b114f21b933247a321e17905338a4f51620d2a | [
"MIT"
] | null | null | null | #include "Stages/ObstacleMaker.h"
using namespace Stages;
ObstacleMaker::ObstacleMaker() {
}
ObstacleMaker::~ObstacleMaker() {
}
Entities::Barrel* ObstacleMaker::makeBarrel(Coordinates::Vector<float> pos) {
Entities::Barrel* barrel = NULL;
barrel = new Entities::Barrel(pos);
return barrel;
}
Entities::... | 23.428571 | 79 | 0.7 | lucashflores |
eba0caae28ebe220f16ce3e5677abf1a8cc9ed25 | 2,108 | hpp | C++ | src/marnav/nmea/rte.hpp | ShadowTeolog/marnav | 094dd06a2b9e52591bc9c3879ea4b5cf34a92192 | [
"BSD-4-Clause"
] | null | null | null | src/marnav/nmea/rte.hpp | ShadowTeolog/marnav | 094dd06a2b9e52591bc9c3879ea4b5cf34a92192 | [
"BSD-4-Clause"
] | null | null | null | src/marnav/nmea/rte.hpp | ShadowTeolog/marnav | 094dd06a2b9e52591bc9c3879ea4b5cf34a92192 | [
"BSD-4-Clause"
] | null | null | null | #ifndef MARNAV__NMEA__RTE__HPP
#define MARNAV__NMEA__RTE__HPP
#include "sentence.hpp"
#include "waypoint.hpp"
#include "../utils/optional.hpp"
namespace marnav
{
namespace nmea
{
/// @brief RTE - Routes
///
/// @code
/// 1 2 3 4 5 x
/// | | | | | |
/// $--RTE,x.x,x.x,a,... | 28.876712 | 87 | 0.694972 | ShadowTeolog |
eba10adf7c5e6d4ee5736e8b1f05fc2a1c7f3ad9 | 33,209 | hxx | C++ | header/rsfe_splitbregman.hxx | marco-fedele/3dimagetoolkit | c58db95c52e7d434080e0de28f3b9ce519d7ad3f | [
"BSD-3-Clause"
] | 11 | 2016-02-26T17:33:13.000Z | 2021-01-20T12:52:15.000Z | header/rsfe_splitbregman.hxx | marco-fedele/3dimagetoolkit | c58db95c52e7d434080e0de28f3b9ce519d7ad3f | [
"BSD-3-Clause"
] | null | null | null | header/rsfe_splitbregman.hxx | marco-fedele/3dimagetoolkit | c58db95c52e7d434080e0de28f3b9ce519d7ad3f | [
"BSD-3-Clause"
] | 3 | 2016-03-16T17:01:50.000Z | 2018-05-05T02:57:55.000Z | /*
=========================================================================================
3D Image Toolkit
Copyright 2013:
Marco Fedele, Luca Barbarotta, Francesco Cremonesi, Elena Faggiano.
All rights reserved.
Read details of the license in the file license.txt provided with the library.
=========================... | 36.857936 | 93 | 0.66762 | marco-fedele |
eba5e1b421fbc33309d9083debfed0a0cd79c7ab | 535 | hpp | C++ | Krakoa/Source/UI/ImGui/TextUI.hpp | KingKiller100/Krakoa-Engine | 0f2a5a5109e256a384abe8dc21eacaa45c1de610 | [
"Apache-2.0"
] | 1 | 2020-04-05T13:37:48.000Z | 2020-04-05T13:37:48.000Z | Krakoa/Source/UI/ImGui/TextUI.hpp | KingKiller100/Krakoa-Engine | 0f2a5a5109e256a384abe8dc21eacaa45c1de610 | [
"Apache-2.0"
] | null | null | null | Krakoa/Source/UI/ImGui/TextUI.hpp | KingKiller100/Krakoa-Engine | 0f2a5a5109e256a384abe8dc21eacaa45c1de610 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "../UITypes.hpp"
#include "../Flags/InputTextFlags.hpp"
#include <Utility/String/kToString.hpp>
namespace krakoa::ui
{
void DrawRawText(const std::string_view& text);
template<typename T, typename ...Ts>
void DrawRawText(const std::string_view& fmt, const T& arg, const Ts& ...args)
{
D... | 25.47619 | 117 | 0.723364 | KingKiller100 |
eba8b6f107ceb9665f0d2eefe8eac3cb16f20a98 | 25,032 | cc | C++ | tensorflow_recommenders_addons/embedding_variable/core/kernels/ev_ops.cc | cockroachzl/recommenders-addons | 94886fa490a0042190579375cbacde947026115c | [
"Apache-2.0"
] | 584 | 2020-11-20T01:45:05.000Z | 2022-03-29T12:33:03.000Z | tensorflow_recommenders_addons/embedding_variable/core/kernels/ev_ops.cc | cockroachzl/recommenders-addons | 94886fa490a0042190579375cbacde947026115c | [
"Apache-2.0"
] | 141 | 2021-01-06T14:43:14.000Z | 2022-03-31T07:32:40.000Z | tensorflow_recommenders_addons/embedding_variable/core/kernels/ev_ops.cc | cockroachzl/recommenders-addons | 94886fa490a0042190579375cbacde947026115c | [
"Apache-2.0"
] | 138 | 2020-12-16T10:09:31.000Z | 2022-03-27T13:30:41.000Z | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 39.923445 | 89 | 0.60127 | cockroachzl |
ebb37f29c1e2289098c93178b79cf1985335ada9 | 3,228 | cpp | C++ | codeforces/E - Mrx Kitayuta's Gift/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/E - Mrx Kitayuta's Gift/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/E - Mrx Kitayuta's Gift/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Mar/01/2020 04:02
* solution_verdict: Accepted language: GNU C++14
* run... | 27.12605 | 111 | 0.480793 | kzvd4729 |
ebb6fe74a054bfc18a4bfe706895f8d1fe46c452 | 1,100 | hpp | C++ | libraries/fc/include/fc/rpc/websocket_api.hpp | titans-world/titan-core | f358f48290f3501b26b26eff6a1e57bf6c077d79 | [
"MIT"
] | 8 | 2020-11-29T20:19:52.000Z | 2021-11-02T21:01:41.000Z | libraries/fc/include/fc/rpc/websocket_api.hpp | titans-world/titan-core | f358f48290f3501b26b26eff6a1e57bf6c077d79 | [
"MIT"
] | 5 | 2021-03-06T10:58:34.000Z | 2021-08-07T09:51:09.000Z | libraries/fc/include/fc/rpc/websocket_api.hpp | titans-world/titan-core | f358f48290f3501b26b26eff6a1e57bf6c077d79 | [
"MIT"
] | 5 | 2020-10-22T17:01:27.000Z | 2022-02-02T12:53:47.000Z | #pragma once
#include <fc/rpc/api_connection.hpp>
#include <fc/rpc/state.hpp>
#include <fc/network/http/websocket.hpp>
#include <fc/io/json.hpp>
#include <fc/reflect/variant.hpp>
namespace fc { namespace rpc {
class websocket_api_connection : public api_connection
{
public:
websocket_api_connecti... | 29.72973 | 102 | 0.621818 | titans-world |
ebba6d0cb003008045f684259ddedc4aa3d7e804 | 3,029 | cpp | C++ | tools/bin2h/bin2h.cpp | mouzedrift/alive | 7c297a39c60e930933c0a93ea373226907f8b1c7 | [
"MIT"
] | 131 | 2015-03-21T14:10:21.000Z | 2021-01-19T03:54:04.000Z | tools/bin2h/bin2h.cpp | mouzedrift/alive | 7c297a39c60e930933c0a93ea373226907f8b1c7 | [
"MIT"
] | 51 | 2015-04-06T17:24:45.000Z | 2018-02-03T14:36:37.000Z | tools/bin2h/bin2h.cpp | mouzedrift/alive | 7c297a39c60e930933c0a93ea373226907f8b1c7 | [
"MIT"
] | 17 | 2015-10-07T10:20:47.000Z | 2021-08-02T04:14:11.000Z | #include <iostream>
#include <string>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <vector>
int main(int argc, char** argv)
{
if (argc != 4)
{
std::cout << "bin2h - Convert any file to a header file" << std::endl;
std::cout << "Usage: Input file, output file, array name" <<... | 30.908163 | 164 | 0.585672 | mouzedrift |
ebbc404254ad9a5d6f52e4a62c2f759a2b16bdd5 | 1,231 | cpp | C++ | benchmarks/helmholtz/searchSpacergpu2t/hhz.baked.cpp | pssrawat/artemis | b69621553325b66f0367bf8f9d93605c885aa19d | [
"FSFAP"
] | 12 | 2019-06-17T13:49:41.000Z | 2021-11-22T08:47:18.000Z | benchmarks/helmholtz/searchSpacergpu2t/hhz.baked.cpp | pssrawat/artemis | b69621553325b66f0367bf8f9d93605c885aa19d | [
"FSFAP"
] | null | null | null | benchmarks/helmholtz/searchSpacergpu2t/hhz.baked.cpp | pssrawat/artemis | b69621553325b66f0367bf8f9d93605c885aa19d | [
"FSFAP"
] | 5 | 2019-06-17T13:49:52.000Z | 2021-11-22T08:47:19.000Z | #include "common/common.hpp"
#include "common/timer.hpp"
#include "hhz.gold.h"
#include <cassert>
#include <cstdio>
#include <iostream>
#include <fstream>
using std::cout;
#define TIMESTEPS 2
#define ORDER 2
extern "C" void host_code (double *h_in, double *h_out, double *h_t, double a, double b, double h2inv, int L,... | 30.02439 | 131 | 0.636881 | pssrawat |
ebc2fd2cfeae3b8c54f474ca848f7940b5571fc6 | 904 | cpp | C++ | CWin/CWin/events/event_exception.cpp | benbraide/CWin | 0441b48a71fef0dbddabf61033d7286669772c1e | [
"MIT"
] | null | null | null | CWin/CWin/events/event_exception.cpp | benbraide/CWin | 0441b48a71fef0dbddabf61033d7286669772c1e | [
"MIT"
] | null | null | null | CWin/CWin/events/event_exception.cpp | benbraide/CWin | 0441b48a71fef0dbddabf61033d7286669772c1e | [
"MIT"
] | null | null | null | #include "event_exception.h"
cwin::events::exception::bad_value::bad_value()
: base("Cannot assign specified value to event"){}
cwin::events::exception::bad_value::~bad_value() = default;
cwin::events::exception::code cwin::events::exception::bad_value::get_code() const{
return code::bad_value;
}
cwin::events::ex... | 31.172414 | 90 | 0.753319 | benbraide |
ebc3c190bfbd0037971d839939f2b2fb37b2815a | 996 | cpp | C++ | Source/modules/imogen_dsp/imogen_dsp.cpp | msameen99/imogen | 7efd3054a93d91f44f22cc2d6200f550e4aedd4c | [
"MIT"
] | 109 | 2020-11-24T05:17:12.000Z | 2022-03-25T17:03:16.000Z | Source/modules/imogen_dsp/imogen_dsp.cpp | msameen99/imogen | 7efd3054a93d91f44f22cc2d6200f550e4aedd4c | [
"MIT"
] | 7 | 2021-02-19T07:22:03.000Z | 2022-03-17T17:23:56.000Z | Source/modules/imogen_dsp/imogen_dsp.cpp | msameen99/imogen | 7efd3054a93d91f44f22cc2d6200f550e4aedd4c | [
"MIT"
] | 4 | 2021-04-05T14:11:42.000Z | 2021-10-02T15:46:49.000Z |
#include "imogen_dsp.h"
#include "Engine/effects/PreHarmony/StereoReducer.cpp"
#include "Engine/effects/PreHarmony/InputGain.cpp"
#include "Engine/effects/PreHarmony/NoiseGate.cpp"
#include "Engine/effects/PreHarmonyEffects.cpp"
#include "Engine/Harmonizer/Harmonizer.cpp"
#include "Engine/Harmonizer/Harmo... | 32.129032 | 55 | 0.785141 | msameen99 |
ebc72d51738062c83c2e26f607a74611c1b65013 | 7,082 | cpp | C++ | gui_new/mainwindow.cpp | wddcbfree/MiniWord-4th-Semester | 699febced0763b70431496651013844fe415bd04 | [
"MIT"
] | null | null | null | gui_new/mainwindow.cpp | wddcbfree/MiniWord-4th-Semester | 699febced0763b70431496651013844fe415bd04 | [
"MIT"
] | null | null | null | gui_new/mainwindow.cpp | wddcbfree/MiniWord-4th-Semester | 699febced0763b70431496651013844fe415bd04 | [
"MIT"
] | null | null | null | #include <QDialog>
#include <QAction>
#include <QWidget>
#include <QDebug>
#include <QFileDialog>
#include <QMenuBar>
#include <QMessageBox>
#include <QStatusBar>
#include <QToolBar>
#include <QLineEdit>
#include <QSize>
#include <string>
#include <QTextStream>
#include <QDataStream>
#include <vector>
#include <QPushBu... | 31.900901 | 116 | 0.671138 | wddcbfree |
ebc82ff643e64b2b2895a6ac44bae4c639ff4f58 | 1,342 | cpp | C++ | 山东大学/Day03资料/cv/03imgdraw/cv03_draw_arrowline.cpp | QiangAI/AI_CPlus | 8359f4ed6e94eacda6d1e9d057defad5bb9792a0 | [
"Apache-2.0"
] | 3 | 2021-01-11T03:31:55.000Z | 2021-05-18T06:50:44.000Z | 山东大学/Day03资料/cv/03imgdraw/cv03_draw_arrowline.cpp | QiangAI/AI_CPlus | 8359f4ed6e94eacda6d1e9d057defad5bb9792a0 | [
"Apache-2.0"
] | null | null | null | 山东大学/Day03资料/cv/03imgdraw/cv03_draw_arrowline.cpp | QiangAI/AI_CPlus | 8359f4ed6e94eacda6d1e9d057defad5bb9792a0 | [
"Apache-2.0"
] | 1 | 2021-01-12T06:48:52.000Z | 2021-01-12T06:48:52.000Z | #include <opencv2/opencv.hpp>
#include <iostream>
#define WIN_W 400
#define WIN_H 300
int main(int argc, const char** argv) {
cv::namedWindow("Win_draw", cv::WINDOW_NORMAL);
cv::resizeWindow("Win_draw", WIN_W, WIN_H);
cv::moveWindow("Win_draw", (1280 - WIN_W) / 2, (800 - WIN_H) / 2);
//////////////////... | 32.731707 | 151 | 0.502981 | QiangAI |
1b0b499629d7cff396d0d7eda2be7043368bed07 | 2,109 | cpp | C++ | Codeforces/C++/1579E2.cpp | shresth12-jain/HacktoberFest2021 | 43bd5d99668c104f89f3efef5313e4ddadd9931a | [
"Apache-2.0"
] | 11 | 2021-10-01T06:53:31.000Z | 2022-02-05T20:36:20.000Z | Codeforces/C++/1579E2.cpp | shresth12-jain/HacktoberFest2021 | 43bd5d99668c104f89f3efef5313e4ddadd9931a | [
"Apache-2.0"
] | 37 | 2021-10-01T06:54:01.000Z | 2021-10-20T18:02:31.000Z | Codeforces/C++/1579E2.cpp | shresth12-jain/HacktoberFest2021 | 43bd5d99668c104f89f3efef5313e4ddadd9931a | [
"Apache-2.0"
] | 110 | 2021-10-01T06:51:28.000Z | 2021-10-31T18:00:55.000Z | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define mod ((ll)1e9+7)
#define test ll t; cin>>t; while(t--)
#define speed ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define F first
#define S second
void fileIO() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", ... | 18.33913 | 75 | 0.531057 | shresth12-jain |
1b0fbe9ed4ab59280d4294c847d3e5e2d7f29cf5 | 9,366 | hpp | C++ | src/hexgrid_impl.hpp | MaemiKozue/hexceed | 11ddcdfe3f7cadc23ca8ccba950df05fe49ce60a | [
"MIT"
] | null | null | null | src/hexgrid_impl.hpp | MaemiKozue/hexceed | 11ddcdfe3f7cadc23ca8ccba950df05fe49ce60a | [
"MIT"
] | null | null | null | src/hexgrid_impl.hpp | MaemiKozue/hexceed | 11ddcdfe3f7cadc23ca8ccba950df05fe49ce60a | [
"MIT"
] | null | null | null | #include "hexgrid.hpp"
#include <vector>
#include <utility>
#include <opencv2/imgproc.hpp>
using namespace std;
using namespace cv;
static int direction(int qa, int ra, int qb, int rb)
{
int dir = -1;
int dq = qb - qa;
int dr = rb - ra;
if (dq * dq > 1 || dr * dr > 1 || dq == dr) {
dir = -... | 21.190045 | 125 | 0.492846 | MaemiKozue |
1b111d21d79c6673f0dea478714455ceb0d6da7a | 5,152 | cc | C++ | test/src/LiveChannel/GetLiveChannelHistoryTest.cc | FunriLy/aliyun-oss-cpp-sdk | ca8bf8a3cdd0f89b846bffcb377675d15a36f3b4 | [
"Apache-2.0"
] | null | null | null | test/src/LiveChannel/GetLiveChannelHistoryTest.cc | FunriLy/aliyun-oss-cpp-sdk | ca8bf8a3cdd0f89b846bffcb377675d15a36f3b4 | [
"Apache-2.0"
] | null | null | null | test/src/LiveChannel/GetLiveChannelHistoryTest.cc | FunriLy/aliyun-oss-cpp-sdk | ca8bf8a3cdd0f89b846bffcb377675d15a36f3b4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 35.287671 | 132 | 0.657997 | FunriLy |
1b144dce750ee005da5bd86ad0e48b0396e078a5 | 6,730 | cpp | C++ | src/lib/shell/commands/Ota.cpp | ArekBalysNordic/sdk-connectedhomeip | 80da8ab1c0aa315a6ee2ce6adf448606372b0a2d | [
"Apache-2.0"
] | null | null | null | src/lib/shell/commands/Ota.cpp | ArekBalysNordic/sdk-connectedhomeip | 80da8ab1c0aa315a6ee2ce6adf448606372b0a2d | [
"Apache-2.0"
] | null | null | null | src/lib/shell/commands/Ota.cpp | ArekBalysNordic/sdk-connectedhomeip | 80da8ab1c0aa315a6ee2ce6adf448606372b0a2d | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2021 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 35.421053 | 112 | 0.687073 | ArekBalysNordic |
1b19ad32fa12f2b6d9d360fec202acba1130f74b | 10,336 | cpp | C++ | src/config.cpp | brynedwards/ncpamixer | 31eb4d0c689c25582216b38c2ed1461c39649599 | [
"MIT"
] | 311 | 2016-08-11T00:04:04.000Z | 2022-03-21T20:01:38.000Z | src/config.cpp | hishamhm/ncpamixer | 158dc0dc874cf4bae418b61d84c21daede258e79 | [
"MIT"
] | 51 | 2016-08-16T20:08:43.000Z | 2022-01-29T16:17:06.000Z | src/config.cpp | hishamhm/ncpamixer | 158dc0dc874cf4bae418b61d84c21daede258e79 | [
"MIT"
] | 29 | 2016-08-17T11:57:22.000Z | 2021-12-28T06:27:26.000Z | #include "config.hpp"
#include <pwd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#define MAX_LINE 300
Config config;
Config::Config()
{
memset(&filename[0], 0, sizeof(filename));
}
const char *Config::getHomeDir(... | 34.112211 | 76 | 0.424439 | brynedwards |
1b1bd39c1d74c64d4876751d4cbc0d3aadfda6bd | 2,758 | cpp | C++ | examples/portability/opencl/main.cpp | lcw/OCCA2 | 1b81616e2865c89dad05f24a522b20018e8604fa | [
"MIT"
] | null | null | null | examples/portability/opencl/main.cpp | lcw/OCCA2 | 1b81616e2865c89dad05f24a522b20018e8604fa | [
"MIT"
] | null | null | null | examples/portability/opencl/main.cpp | lcw/OCCA2 | 1b81616e2865c89dad05f24a522b20018e8604fa | [
"MIT"
] | null | null | null | #include <iostream>
#include "occa.hpp"
int main(int argc, char **argv){
int entries = 5;
//---[ Init OpenCL ]------------------
cl_int error;
cl_platform_id clPlatformID = occa::cl::platformID(0);
cl_device_id clDeviceID = occa::cl::deviceID(0,0);
cl_context clContext = clCreateContext(NULL,
... | 27.306931 | 86 | 0.531182 | lcw |
1b1eb00ce653b11e0d0842a5972cf39c1a6625d8 | 4,052 | hpp | C++ | src/3rd party/boost/boost/spirit/tree/tree_iterator.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/spirit/tree/tree_iterator.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/spirit/tree/tree_iterator.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | /*=============================================================================
Spirit v1.6.0
Copyright (c) 2001-2003 Daniel Nuffer
Copyright (c) 2001-2003 Hartmut Kaiser
http://spirit.sourceforge.net/
Permission to copy, use, modify, sell and distribute this software is
granted provided this c... | 36.836364 | 85 | 0.644126 | OLR-xray |
1b1fa7d88e7cc4c80e965a8f1bc58b31038ee1f6 | 2,508 | hpp | C++ | modules/core/restructuring/include/nt2/core/functions/resize.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/core/restructuring/include/nt2/core/functions/resize.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/core/restructuring/include/nt2/core/functions/resize.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 & onward LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 & onward LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 31.35 | 171 | 0.57815 | psiha |
1b2465175cc31b440fa49957e08c50ab243a6bee | 1,101 | cpp | C++ | tests/UnitTests/Learning/Evolution/PositiveMakerFitnessFunctionTest.cpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 5 | 2016-02-04T06:14:42.000Z | 2017-02-06T02:21:43.000Z | tests/UnitTests/Learning/Evolution/PositiveMakerFitnessFunctionTest.cpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 41 | 2015-04-15T21:05:45.000Z | 2015-07-09T12:59:02.000Z | tests/UnitTests/Learning/Evolution/PositiveMakerFitnessFunctionTest.cpp | domin1101/LightBulb | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | null | null | null | #include "LightBulb/Function/ActivationFunction/FermiFunction.hpp"
#include <Mocks/MockMutationSelector.hpp>
#include <Mocks/MockIndividual.hpp>
#include <LightBulb/Learning/Evolution/PositiveMakerFitnessFunction.hpp>
using namespace LightBulb;
class PositiveMakerFitnessFunctionTest : public testing::Test {
public:
... | 29.756757 | 85 | 0.802906 | domin1101 |
1b24bc1d80105cd66d3600866910e2e56b2a4ad7 | 1,167 | cpp | C++ | src/FalconEngine/Context/Platform/GLFW/GLFWGameEngineInput.cpp | LiuYiZhou95/FalconEngine | b798f20e9dbd01334a4e4cdbbd9a5bec74966418 | [
"MIT"
] | null | null | null | src/FalconEngine/Context/Platform/GLFW/GLFWGameEngineInput.cpp | LiuYiZhou95/FalconEngine | b798f20e9dbd01334a4e4cdbbd9a5bec74966418 | [
"MIT"
] | null | null | null | src/FalconEngine/Context/Platform/GLFW/GLFWGameEngineInput.cpp | LiuYiZhou95/FalconEngine | b798f20e9dbd01334a4e4cdbbd9a5bec74966418 | [
"MIT"
] | 1 | 2021-08-25T07:39:02.000Z | 2021-08-25T07:39:02.000Z | #include <FalconEngine/Context/GameEngineInput.h>
#include <FalconEngine/Input/MouseButton.h>
#include <FalconEngine/Input/MouseState.h>
#include <FalconEngine/Input/KeyboardState.h>
#include <FalconEngine/Input/KeyState.h>
#if defined(FALCON_ENGINE_WINDOW_GLFW)
#include <FalconEngine/Context/Platform/GLFW/GLFWGameEn... | 25.369565 | 95 | 0.639246 | LiuYiZhou95 |
1b25342e91994d7cbce4c3419ff1ff132d22c3ed | 5,455 | cpp | C++ | Modules/ContourModel/IO/mitkContourModelReader.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2022-03-03T12:03:32.000Z | 2022-03-03T12:03:32.000Z | Modules/ContourModel/IO/mitkContourModelReader.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T10:19:02.000Z | 2021-12-22T10:19:02.000Z | Modules/ContourModel/IO/mitkContourModelReader.cpp | zhaomengxiao/MITK_lancet | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2020-11-27T09:41:18.000Z | 2020-11-27T09:41:18.000Z | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | 31.350575 | 117 | 0.638497 | zhaomengxiao |
1b26a5d33f7ab3bf714f50b07b7aa9d72cc31e84 | 5,621 | hpp | C++ | source/backend/opengl/GLBackend.hpp | z415073783/MNN | 62c5ca47964407508a5fa802582e648fc75eb0d9 | [
"Apache-2.0"
] | null | null | null | source/backend/opengl/GLBackend.hpp | z415073783/MNN | 62c5ca47964407508a5fa802582e648fc75eb0d9 | [
"Apache-2.0"
] | 1 | 2021-09-07T09:13:03.000Z | 2021-09-07T09:13:03.000Z | source/backend/opengl/GLBackend.hpp | z415073783/MNN | 62c5ca47964407508a5fa802582e648fc75eb0d9 | [
"Apache-2.0"
] | 1 | 2020-03-10T02:17:47.000Z | 2020-03-10T02:17:47.000Z | //
// GLBackend.h
// MNN
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef GLBACKEND_H
#define GLBACKEND_H
#include <list>
#include <map>
#include <memory>
#include "Backend.hpp"
#include "GLContext.hpp"
#include "GLProgram.hpp"
#include "GLSSBOBuffer.hpp"
#include ... | 32.680233 | 157 | 0.646682 | z415073783 |
1b2946652bc9ff5f3eba1cefb4db9394d6107c99 | 13,879 | cpp | C++ | audio/dsp/sinc_resampler.cpp | VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp | a725ec78eeb5de2d3c25257b1a9372f5e38910f6 | [
"MIT"
] | 1,003 | 2017-08-13T17:47:04.000Z | 2022-03-29T15:56:55.000Z | audio/dsp/sinc_resampler.cpp | VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp | a725ec78eeb5de2d3c25257b1a9372f5e38910f6 | [
"MIT"
] | 10 | 2017-08-14T19:11:35.000Z | 2021-12-10T12:51:53.000Z | audio/dsp/sinc_resampler.cpp | VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp | a725ec78eeb5de2d3c25257b1a9372f5e38910f6 | [
"MIT"
] | 107 | 2017-08-16T16:13:26.000Z | 2022-03-03T06:42:19.000Z | /* Copyright (c) 2017-2020 Hans-Kristian Arntzen
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, me... | 33.282974 | 130 | 0.68881 | VulkanWorks |
1b30e91fe49be2eae30b75762a9de1d23b5a92e9 | 1,949 | hpp | C++ | include/operon/nnls/residual_evaluator.hpp | ivor-dd/operon | 57775816304b5df7a2f64e1505693a1fdf17a2fe | [
"MIT"
] | null | null | null | include/operon/nnls/residual_evaluator.hpp | ivor-dd/operon | 57775816304b5df7a2f64e1505693a1fdf17a2fe | [
"MIT"
] | null | null | null | include/operon/nnls/residual_evaluator.hpp | ivor-dd/operon | 57775816304b5df7a2f64e1505693a1fdf17a2fe | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: Copyright 2019-2022 Heal Research
#ifndef OPERON_NNLS_RESIDUAL_EVALUATOR_HPP
#define OPERON_NNLS_RESIDUAL_EVALUATOR_HPP
#include <Eigen/Core>
#include "operon/interpreter/interpreter.hpp"
namespace Operon {
// simple functor that wraps everything together an... | 38.98 | 169 | 0.700872 | ivor-dd |
1b32b952375e6c2720c0d109aaa3a0d20f4f83cf | 1,911 | cpp | C++ | native/cli/DrEyeCli.cpp | nzh63/Ame | b15e530851d6e00ec839c749fc8e016ffae38e29 | [
"MIT"
] | 3 | 2021-05-31T08:51:55.000Z | 2022-02-13T10:21:19.000Z | native/cli/DrEyeCli.cpp | nzh63/Ame | b15e530851d6e00ec839c749fc8e016ffae38e29 | [
"MIT"
] | 2 | 2021-08-04T03:15:46.000Z | 2021-09-26T16:20:57.000Z | native/cli/DrEyeCli.cpp | nzh63/Ame | b15e530851d6e00ec839c749fc8e016ffae38e29 | [
"MIT"
] | null | null | null | #include <Windows.h>
#include <array>
#include <cstdlib>
#include <cstring>
#include <fcntl.h>
#include <io.h>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
constexpr auto BUFFER_SIZE = 4096;
array<char, BUFFER_SIZE> input;
array<char, BUFFER_SIZE> output;
int(__cdecl *MTInit)(int da... | 27.3 | 90 | 0.536368 | nzh63 |
1b331e92986a5f412d8acc7286beea96b8736cc2 | 1,690 | cpp | C++ | CppEditorToolBar.cpp | B1anky/CppEditor | bb68ca521c35a8d7e658f9ddf789201d7b269a08 | [
"MIT"
] | 1 | 2020-09-11T12:42:15.000Z | 2020-09-11T12:42:15.000Z | CppEditorToolBar.cpp | B1anky/CppEditor | bb68ca521c35a8d7e658f9ddf789201d7b269a08 | [
"MIT"
] | null | null | null | CppEditorToolBar.cpp | B1anky/CppEditor | bb68ca521c35a8d7e658f9ddf789201d7b269a08 | [
"MIT"
] | null | null | null | #include "CppEditorToolBar.h"
#include <QPushButton>
#include <QMap>
CppEditorToolBar::CppEditorToolBar(QWidget* parent) :
QToolBar(parent),
m_runButton(nullptr),
m_buildButton(nullptr)
{
QSize buttonSize(64, 64);
QSize iconSize(50, 50);
QString buttonStyle = "QPushButton{"
... | 33.8 | 75 | 0.56568 | B1anky |
1b3926268982cd43a2b8968874101a78df724948 | 19,573 | hh | C++ | gazebo/common/Event.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-07-02T08:23:30.000Z | 2020-11-17T19:00:38.000Z | gazebo/common/Event.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gazebo/common/Event.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2015-04-22T18:33:15.000Z | 2021-11-16T10:17:45.000Z | /*
* Copyright 2012 Open Source Robotics Foundation
*
* 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 applicab... | 38.99004 | 80 | 0.557298 | thomas-moulard |
1b39f35b48b0e7d3d2750e8b7efa38d53c9f2042 | 7,345 | hh | C++ | include/tchecker/variables/variables.hh | pictavien/tchecker | 5db2430b5b75a5b94cfbbe885840a4809b267be8 | [
"MIT"
] | null | null | null | include/tchecker/variables/variables.hh | pictavien/tchecker | 5db2430b5b75a5b94cfbbe885840a4809b267be8 | [
"MIT"
] | null | null | null | include/tchecker/variables/variables.hh | pictavien/tchecker | 5db2430b5b75a5b94cfbbe885840a4809b267be8 | [
"MIT"
] | null | null | null | /*
* This file is a part of the TChecker project.
*
* See files AUTHORS and LICENSE for copyright details.
*
*/
#ifndef TCHECKER_VARIABLES_HH
#define TCHECKER_VARIABLES_HH
#include <sstream>
#include <string>
#include <boost/container/flat_map.hpp>
#include "tchecker/basictypes.hh"
#include "tchecker/utils/ind... | 24.401993 | 114 | 0.600408 | pictavien |
1b3afa8dc03ac5d7830c9a8e5ee786122510e73a | 2,272 | hpp | C++ | Engine/Core/Headers/Molten/Gui/Widgets/ViewportWidget.hpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 2 | 2019-11-11T21:17:14.000Z | 2019-11-11T22:07:26.000Z | Engine/Core/Headers/Molten/Gui/Widgets/ViewportWidget.hpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | null | null | null | Engine/Core/Headers/Molten/Gui/Widgets/ViewportWidget.hpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 1 | 2020-04-05T03:50:57.000Z | 2020-04-05T03:50:57.000Z | /*
* MIT License
*
* Copyright (c) 2022 Jimmie Bergmann
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 31.123288 | 114 | 0.754842 | jimmiebergmann |
1b3b9f290a24fc4f39bdbf6f299f15e750303514 | 4,817 | cpp | C++ | Tests/CPP_Bindings/Source/BuildItems.cpp | alexanderoster/lib3mf | 30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05 | [
"BSD-2-Clause"
] | 171 | 2015-04-30T21:54:02.000Z | 2022-03-13T13:33:59.000Z | Tests/CPP_Bindings/Source/BuildItems.cpp | alexanderoster/lib3mf | 30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05 | [
"BSD-2-Clause"
] | 190 | 2015-07-21T22:15:54.000Z | 2022-03-30T15:48:37.000Z | Tests/CPP_Bindings/Source/BuildItems.cpp | alexanderoster/lib3mf | 30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05 | [
"BSD-2-Clause"
] | 80 | 2015-04-30T22:15:54.000Z | 2022-03-09T12:38:49.000Z | /*++
Copyright (C) 2019 3MF Consortium
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 and the followi... | 29.552147 | 80 | 0.734482 | alexanderoster |
1b40ebfde435ab66bcc1f596504422032a7b2678 | 2,513 | cpp | C++ | src/MeshViewGamestate.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 14 | 2020-06-27T18:51:41.000Z | 2022-03-30T18:20:02.000Z | src/MeshViewGamestate.cpp | codenamecpp/GLKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 1 | 2020-06-07T09:48:11.000Z | 2020-06-07T09:48:11.000Z | src/MeshViewGamestate.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 2 | 2020-08-27T09:38:10.000Z | 2021-08-12T01:17:30.000Z | #include "pch.h"
#include "MeshViewGamestate.h"
#include "GameMain.h"
#include "RenderScene.h"
#include "System.h"
#include "SceneObject.h"
#include "ModelAssetsManager.h"
#include "RenderableModel.h"
#include "TimeManager.h"
#include "ToolsUIManager.h"
#include "GraphicsDevice.h"
/////////////////////////... | 28.885057 | 154 | 0.719061 | codenamecpp |
1b47b3f2453b67a489420e6bd3cded24f35deaab | 3,087 | cc | C++ | server/modules/routing/pinloki/resultset.cc | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | 1 | 2021-02-07T01:57:32.000Z | 2021-02-07T01:57:32.000Z | server/modules/routing/pinloki/resultset.cc | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | null | null | null | server/modules/routing/pinloki/resultset.cc | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2025-01-25
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 19.916129 | 98 | 0.607062 | crspecter |
1b490b43336ba9aa1893eef5fd59424e7363523b | 1,089 | cpp | C++ | xlloption/fms_sequence_null.t.cpp | GR6250-2019/hw6 | 13a78ed4474c5e37b82a3ded10eef95b706e382b | [
"MIT"
] | null | null | null | xlloption/fms_sequence_null.t.cpp | GR6250-2019/hw6 | 13a78ed4474c5e37b82a3ded10eef95b706e382b | [
"MIT"
] | null | null | null | xlloption/fms_sequence_null.t.cpp | GR6250-2019/hw6 | 13a78ed4474c5e37b82a3ded10eef95b706e382b | [
"MIT"
] | null | null | null | // fms_sequence_null.cpp - Zero terminated sequence.
#include <cassert>
#include "fms_sequence_null.h"
#include "fms_sequence_equal.h"
#include "fms_sequence_length.h"
#include "fms_sequence_list.h"
using namespace fms::sequence;
template<class X>
int test_fms_sequence_null()
{
{
X x[] = { 1,... | 22.22449 | 60 | 0.458219 | GR6250-2019 |
1b5530fb7296f7e47b1dd157cc2f3a842f62182b | 3,686 | cpp | C++ | unittests/ADT/StatisticTest.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 938 | 2015-12-03T16:45:43.000Z | 2022-03-17T20:28:02.000Z | unittests/ADT/StatisticTest.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 127 | 2015-12-03T21:42:53.000Z | 2019-11-21T14:34:20.000Z | unittests/ADT/StatisticTest.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 280 | 2015-12-03T16:51:35.000Z | 2022-01-24T00:01:54.000Z | //===- llvm/unittest/ADT/StatisticTest.cpp - Statistic unit tests ---------===//
//
// 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
//
//===---------------------------... | 23.0375 | 80 | 0.654097 | URSec |
1b5881ae327203883104b2fd286c345f447bc5e5 | 7,809 | cpp | C++ | graph/lca/codeforces/F1486F/Solution.cpp | ashtishad/problem-solving | 5dfb71b04c2334c2cce53afd089ae1634b7e8100 | [
"MIT"
] | 17 | 2020-11-12T17:41:41.000Z | 2021-10-01T13:19:42.000Z | graph/lca/codeforces/F1486F/Solution.cpp | ashtishad/problem-solving | 5dfb71b04c2334c2cce53afd089ae1634b7e8100 | [
"MIT"
] | 15 | 2019-09-23T06:33:47.000Z | 2020-06-04T18:55:45.000Z | graph/lca/codeforces/F1486F/Solution.cpp | ashtishad/problem-solving | 5dfb71b04c2334c2cce53afd089ae1634b7e8100 | [
"MIT"
] | 16 | 2019-09-21T23:19:58.000Z | 2020-06-18T07:26:39.000Z | // problem name: Pairs of Paths
// problem link: https://codeforces.com/contest/1486/problem/F
// contest link: https://codeforces.com/contest/1486
// time: (?)
// author: reyad
// other_tags: combinatorics, data structures, dynamic programming, trees, dfs
// difficulty_level: expert
#include <bits/stdc++.h>
using... | 25.772277 | 98 | 0.501985 | ashtishad |
1b59a32a7338a36285438156b7f8ac569a3929dc | 5,639 | cpp | C++ | littleVulkanEngine/core/lve_framebuffer.cpp | ShaverJT/littleVulkanEngine | 0418380916488a1f44072ff33eb15b7b6d9fe573 | [
"MIT"
] | null | null | null | littleVulkanEngine/core/lve_framebuffer.cpp | ShaverJT/littleVulkanEngine | 0418380916488a1f44072ff33eb15b7b6d9fe573 | [
"MIT"
] | null | null | null | littleVulkanEngine/core/lve_framebuffer.cpp | ShaverJT/littleVulkanEngine | 0418380916488a1f44072ff33eb15b7b6d9fe573 | [
"MIT"
] | null | null | null |
#include "lve_framebuffer.hpp"
#include <array>
#include <cassert>
#include <vector>
namespace lve {
// Create a frame buffer attachment
LveFramebuffer::LveFramebuffer(
LveDevice& device,
VkRenderPass renderPass,
uint32_t width,
uint32_t height,
std::vector<AttachmentDescription>& attachmentDes... | 36.380645 | 100 | 0.746764 | ShaverJT |
1b5a394d9fc3071cfbaad9ceb2818117be4bc995 | 13,850 | cpp | C++ | Source/ocdm/open_cdm_ext.cpp | goruklu/WPEFramework | 99fc7dd0732dbdd9c332df7ceccb625436ab7a4e | [
"Apache-2.0"
] | null | null | null | Source/ocdm/open_cdm_ext.cpp | goruklu/WPEFramework | 99fc7dd0732dbdd9c332df7ceccb625436ab7a4e | [
"Apache-2.0"
] | null | null | null | Source/ocdm/open_cdm_ext.cpp | goruklu/WPEFramework | 99fc7dd0732dbdd9c332df7ceccb625436ab7a4e | [
"Apache-2.0"
] | null | null | null | #include "open_cdm_ext.h"
#include "open_cdm_impl.h"
#include "ExtendedOpenCDMSession.h"
#define ASSERT_NOT_EXECUTED() \
{ \
fprintf(stderr, "Error: didn't expect to use %s (%s:%d)!!\n", \
... | 32.819905 | 122 | 0.719495 | goruklu |
1b5dc92d2be3674dcf5feb6b1fc933fcc7f88832 | 6,127 | hpp | C++ | indexer/succinct_trie_builder.hpp | EVi1b7wO/omim | 1aafdb102a200149f7ad0cd3173aa7ca2cc32300 | [
"Apache-2.0"
] | null | null | null | indexer/succinct_trie_builder.hpp | EVi1b7wO/omim | 1aafdb102a200149f7ad0cd3173aa7ca2cc32300 | [
"Apache-2.0"
] | null | null | null | indexer/succinct_trie_builder.hpp | EVi1b7wO/omim | 1aafdb102a200149f7ad0cd3173aa7ca2cc32300 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "coding/bit_streams.hpp"
#include "coding/byte_stream.hpp"
#include "coding/huffman.hpp"
#include "coding/reader.hpp"
#include "coding/varint.hpp"
#include "coding/writer.hpp"
#include "base/buffer_vector.hpp"
#include "base/checked_cast.hpp"
#include "base/scope_guard.hpp"
#include "base/string... | 30.182266 | 114 | 0.674718 | EVi1b7wO |
1b5e2f15157dbfffe730e0d5fcecb1426320a7e8 | 207 | cc | C++ | tests/channel_test.cc | salahsheikh/mithril | 020c9c6ad645e0a2767653cd158460ab1c6c13ca | [
"0BSD"
] | 1 | 2021-08-01T16:31:11.000Z | 2021-08-01T16:31:11.000Z | tests/channel_test.cc | salahsheikh/mithril | 020c9c6ad645e0a2767653cd158460ab1c6c13ca | [
"0BSD"
] | null | null | null | tests/channel_test.cc | salahsheikh/mithril | 020c9c6ad645e0a2767653cd158460ab1c6c13ca | [
"0BSD"
] | null | null | null | //
// Created by ssheikh on 2021-02-20.
//
#include "test_channel.hh"
#include <gtest/gtest.h>
TEST(ChannelTest, Creation)
{
ASSERT_NO_THROW(test_channel());
ASSERT_FALSE(test_channel().pipeline());
} | 15.923077 | 42 | 0.710145 | salahsheikh |
1b5feabdf120d5382073440d1817d0482f223c27 | 1,401 | cpp | C++ | Osiris/Hacks/Triggerbot.cpp | lukizel/Osiris | d611056daea2cdd06d79b0fb6d162b505ab2af6c | [
"MIT"
] | 1 | 2020-02-02T22:49:30.000Z | 2020-02-02T22:49:30.000Z | Osiris/Hacks/Triggerbot.cpp | lukizel/Osiris | d611056daea2cdd06d79b0fb6d162b505ab2af6c | [
"MIT"
] | null | null | null | Osiris/Hacks/Triggerbot.cpp | lukizel/Osiris | d611056daea2cdd06d79b0fb6d162b505ab2af6c | [
"MIT"
] | null | null | null | #include <Windows.h>
#include "../Config.h"
#include "../Interfaces.h"
#include "../Memory.h"
#include "../SDK/Entity.h"
#include "../SDK/WeaponId.h"
#include "Triggerbot.h"
void Triggerbot::run(UserCmd* cmd) noexcept
{
if (config.triggerbot.enabled) {
const auto localPlayer = interfaces.entityList->getEn... | 38.916667 | 127 | 0.621699 | lukizel |
1b6057a14be1d19e499aeaf64282d9e54da9e0eb | 8,414 | cpp | C++ | samples/SerializeNodeSet/SerializeNodeSet.cpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | null | null | null | samples/SerializeNodeSet/SerializeNodeSet.cpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | 1 | 2021-08-18T12:32:31.000Z | 2021-08-18T12:32:31.000Z | samples/SerializeNodeSet/SerializeNodeSet.cpp | AaronNGray/xalan | 6741bbdcb64a9d33df8bd7e21b558d66bb4292ec | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License");
* you m... | 34.342857 | 148 | 0.509151 | kidaa |
1b60d469822f483a8db9866d9a4f4768aee27f27 | 165 | hpp | C++ | Software/STM/APP/APP.hpp | ProrokWielki/Wooden-Clock | 96226750ab4b679764b0b254d3c3c21deb658252 | [
"MIT"
] | 1 | 2018-12-14T07:05:33.000Z | 2018-12-14T07:05:33.000Z | Software/STM/APP/APP.hpp | ProrokWielki/Wooden-Clock | 96226750ab4b679764b0b254d3c3c21deb658252 | [
"MIT"
] | null | null | null | Software/STM/APP/APP.hpp | ProrokWielki/Wooden-Clock | 96226750ab4b679764b0b254d3c3c21deb658252 | [
"MIT"
] | null | null | null | /**
* APP.hpp
*
* Created on: 03-03-2019
* @author: Paweł Warzecha
*/
#ifndef APP_APP_HPP_
#define APP_APP_HPP_
void APP_init();
#endif /* APP_APP_HPP_ */
| 11.785714 | 27 | 0.648485 | ProrokWielki |
1b61aa4137545ca8c93d8f44d1abdf2f84555538 | 4,577 | cpp | C++ | Blaze/util/DeviceSelection.cpp | KidRigger/Blaze | 7e76de71e2e22f3b5e8c4c2c50c58e6d205646c6 | [
"MIT"
] | 14 | 2019-12-10T03:57:03.000Z | 2021-09-16T14:58:39.000Z | Blaze/util/DeviceSelection.cpp | kidrigger/Blaze | 7e76de71e2e22f3b5e8c4c2c50c58e6d205646c6 | [
"MIT"
] | null | null | null | Blaze/util/DeviceSelection.cpp | kidrigger/Blaze | 7e76de71e2e22f3b5e8c4c2c50c58e6d205646c6 | [
"MIT"
] | null | null | null |
#include "DeviceSelection.hpp"
#include <cstring>
#include <set>
#include <string>
namespace blaze::util
{
QueueFamilyIndices getQueueFamilies(VkPhysicalDevice device, VkSurfaceKHR surface)
{
QueueFamilyIndices indices;
uint32_t queueFamilyCount = 0;
vkGetPhysicalDeviceQueueFamilyProperties(device, &queueFamilyC... | 30.311258 | 118 | 0.790037 | KidRigger |
1b671e8b627016f099f4e4c11703727192bf3ef5 | 916 | hpp | C++ | include/libp2p/protocol/kademlia/impl/response_handler.hpp | GaroRobe/cpp-libp2p | 533d4a7f9981cb944ecb337f3ce4f98ea48b65f3 | [
"Apache-2.0",
"MIT"
] | 135 | 2020-06-13T08:57:36.000Z | 2022-03-27T05:26:11.000Z | include/libp2p/protocol/kademlia/impl/response_handler.hpp | igor-egorov/cpp-libp2p | 7c9d83bf0760a5f653d86ddbb00645414c61d4fc | [
"Apache-2.0",
"MIT"
] | 41 | 2020-06-12T15:45:05.000Z | 2022-03-07T23:10:33.000Z | include/libp2p/protocol/kademlia/impl/response_handler.hpp | igor-egorov/cpp-libp2p | 7c9d83bf0760a5f653d86ddbb00645414c61d4fc | [
"Apache-2.0",
"MIT"
] | 43 | 2020-06-15T10:12:45.000Z | 2022-03-21T03:04:50.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef LIBP2P_PROTOCOL_KADEMLIA_RESPONSEHANDLER
#define LIBP2P_PROTOCOL_KADEMLIA_RESPONSEHANDLER
#include <libp2p/outcome/outcome.hpp>
#include <libp2p/protocol/kademlia/message.hpp>
namespace libp2p::protocol::kade... | 26.941176 | 66 | 0.717249 | GaroRobe |
1b68ae9e91b47b8260fe6fa6336bcf6244b7507f | 935 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/scn/AnimationRid.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | include/RED4ext/Scripting/Natives/Generated/scn/AnimationRid.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | include/RED4ext/Scripting/Natives/Generated/scn/AnimationRid.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Scripting/Natives/Generated/Transform.hpp>
#include <RED4ext/Scripting/Natives/Generated/scn/RidTag.hpp>
namespace RED4ext
{
namespace anim { struct ... | 26.714286 | 61 | 0.717647 | jackhumbert |
1b69cf139691097c20b87e749b80cc247c4f001e | 2,509 | cpp | C++ | cod_mov_buscalocal.cpp | BrunoBertozzi/tcc-2021 | d1a1837d28f7507598e96818ade50671a1050efc | [
"MIT"
] | null | null | null | cod_mov_buscalocal.cpp | BrunoBertozzi/tcc-2021 | d1a1837d28f7507598e96818ade50671a1050efc | [
"MIT"
] | null | null | null | cod_mov_buscalocal.cpp | BrunoBertozzi/tcc-2021 | d1a1837d28f7507598e96818ade50671a1050efc | [
"MIT"
] | null | null | null | /***************************************************************
* Nome: Bruno Oswaldo Bertozzi Oliveira
* File name: main.cpp
* Data 17/02/2021
*
***************************************************************/
#include <iostream>
#include <vector>
using namespace std;
//HEADERS
#include "head_st... | 40.467742 | 206 | 0.606616 | BrunoBertozzi |
1b6ae3a78896427c9272d64148ab978f975f9725 | 9,062 | cpp | C++ | WinLib/Net/Ftp.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 67 | 2018-03-02T10:50:02.000Z | 2022-03-23T18:20:29.000Z | WinLib/Net/Ftp.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | null | null | null | WinLib/Net/Ftp.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 9 | 2018-03-01T16:38:28.000Z | 2021-03-02T16:17:09.000Z | //----------------------------------
// (c) Reliable Software 2003 - 2008
//----------------------------------
#include <WinLibBase.h>
#include "Ftp.h"
#include <File/File.h>
#include <File/Vpath.h>
#include <Ex/Error.h>
namespace Ftp
{
bool Handle::GetFile ( char const * remotePath,
char const * localPath, ... | 25.24234 | 108 | 0.633194 | BartoszMilewski |
1b6e199d8c7f0262e324e46d47b750a3451b5475 | 1,760 | hpp | C++ | modules/arm_plugin/src/opset/conv_arm.hpp | IvanNovoselov/openvino_contrib | 5fe8fd389d57972bd470b447c606138679ab5d49 | [
"Apache-2.0"
] | null | null | null | modules/arm_plugin/src/opset/conv_arm.hpp | IvanNovoselov/openvino_contrib | 5fe8fd389d57972bd470b447c606138679ab5d49 | [
"Apache-2.0"
] | null | null | null | modules/arm_plugin/src/opset/conv_arm.hpp | IvanNovoselov/openvino_contrib | 5fe8fd389d57972bd470b447c606138679ab5d49 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2020-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "ngraph/coordinate_diff.hpp"
#include "ngraph_opset.hpp"
#include "utils.hpp"
namespace ArmPlugin {
namespace opset {
class ArmConvolution : public Convolution {
public:
static constexpr ngraph::NodeType... | 36.666667 | 109 | 0.639205 | IvanNovoselov |
1b6e8fbbe46298adbb9c798be4be16a286cc21d9 | 1,347 | cpp | C++ | src/render/weapon_action_renderer.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | null | null | null | src/render/weapon_action_renderer.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | null | null | null | src/render/weapon_action_renderer.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 1 | 2020-09-22T15:41:51.000Z | 2020-09-22T15:41:51.000Z | #include "render/weapon_action_renderer.h"
#include "platform/auto_id.h"
#include "core/i_inventory_component.h"
namespace render {
WeaponActionRenderer::WeaponActionRenderer( int32_t Id )
: ActionRenderer( Id )
{
}
void WeaponActionRenderer::Init( const Actor& actor )
{
Opt<Weapon> weapon = actor.Get<IInve... | 29.282609 | 151 | 0.668894 | MrPepperoni |
1b757a93cb8ed2c608f0b2ee63f6ffeb6f99afcb | 1,034 | cpp | C++ | 3Tree/872. Leaf-Similar Trees.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | 3Tree/872. Leaf-Similar Trees.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | 3Tree/872. Leaf-Similar Trees.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
vector<int> leaves1, leaves2;
bool isLeaf(TreeNode* root) {
return root && root->left == NU... | 28.722222 | 65 | 0.526112 | lingqtan |
1b77bd1c6d61aef315137df8767934be474b95ab | 5,499 | cc | C++ | src/loki/height_action.cc | komoot/valhalla | 8f2010b0724257f1c3511d4b6d5e9b0f7bddec2f | [
"MIT"
] | null | null | null | src/loki/height_action.cc | komoot/valhalla | 8f2010b0724257f1c3511d4b6d5e9b0f7bddec2f | [
"MIT"
] | null | null | null | src/loki/height_action.cc | komoot/valhalla | 8f2010b0724257f1c3511d4b6d5e9b0f7bddec2f | [
"MIT"
] | 1 | 2021-07-20T23:07:11.000Z | 2021-07-20T23:07:11.000Z | #include <functional>
#include <string>
#include <stdexcept>
#include <vector>
#include <unordered_map>
#include <unordered_set>
#include <cstdint>
#include <cmath>
#include <sstream>
#include <boost/property_tree/ptree.hpp>
#include "midgard/logging.h"
#include "baldr/location.h"
#include "midgard/util.h"
#include "m... | 32.538462 | 139 | 0.62375 | komoot |
1b81d2f15f00c4d4d5ade047bfd05a56b3986011 | 2,788 | hpp | C++ | src/calc/specs/parse.hpp | Globidev/reverse-calculator | 239849bccfccedd504876dad4e5978bf51bf678c | [
"MIT"
] | null | null | null | src/calc/specs/parse.hpp | Globidev/reverse-calculator | 239849bccfccedd504876dad4e5978bf51bf678c | [
"MIT"
] | null | null | null | src/calc/specs/parse.hpp | Globidev/reverse-calculator | 239849bccfccedd504876dad4e5978bf51bf678c | [
"MIT"
] | null | null | null | #pragma once
#include "calc/buttons.hpp"
#include "calc/specs/detail/spec.hpp"
#include "calc/specs/detail/parse.hpp"
namespace calc::buttons::specs {
namespace hana = boost::hana;
namespace qi = boost::spirit::qi;
using detail::spec;
// Concept map for parsing buttons
// All buttons MUST impl... | 30.304348 | 94 | 0.511478 | Globidev |
1b83f0dbde37057a5ebd674f60ef0fda926d83d6 | 7,893 | cpp | C++ | src/lib/tls/tls_text_policy.cpp | ssd71/botan | d6b5b4a31af102bd6405e4f381e2ea21d2317a1c | [
"BSD-2-Clause"
] | 56 | 2019-04-25T19:06:11.000Z | 2022-03-25T20:26:25.000Z | src/lib/tls/tls_text_policy.cpp | Liujiunan/botan | b36dea33cb5c0552642a3ce0218b9bafd6f3e43b | [
"BSD-2-Clause"
] | 184 | 2019-04-24T18:20:08.000Z | 2022-03-22T18:56:45.000Z | src/lib/tls/tls_text_policy.cpp | Liujiunan/botan | b36dea33cb5c0552642a3ce0218b9bafd6f3e43b | [
"BSD-2-Clause"
] | 34 | 2019-04-03T15:21:16.000Z | 2022-03-20T04:26:53.000Z | /*
* Text-Based TLS Policy
* (C) 2016,2017 Jack Lloyd
* 2017 Harry Reimann, Rohde & Schwarz Cybersecurity
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/tls_policy.h>
#include <botan/exceptn.h>
#include <botan/parsing.h>
#include <sstream>
namespace Botan {
namespace ... | 24.665625 | 117 | 0.677816 | ssd71 |
1b842d9930a65bd56daabe81c8eb38320dedd3d8 | 4,530 | hpp | C++ | src/Video/ParticleSystemRenderer.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 3 | 2017-09-08T06:05:10.000Z | 2017-10-28T04:22:20.000Z | src/Video/ParticleSystemRenderer.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 894 | 2017-08-30T09:57:28.000Z | 2018-01-30T12:35:38.000Z | src/Video/ParticleSystemRenderer.hpp | Chainsawkitten/LargeGameProjectEngine | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 1 | 2020-11-06T23:59:58.000Z | 2020-11-06T23:59:58.000Z | #pragma once
#include <glm/glm.hpp>
#include <Video/Shader/Shader.hpp>
#include <Video/Shader/ShaderProgram.hpp>
#include "linking.hpp"
namespace Particles {
struct ParticlePos {
float x;
float y;
float z;
float w;
};
struct ParticleVelocity {
float vx;
flo... | 28.490566 | 202 | 0.524945 | Chainsawkitten |
1b865f7dde3bde77fda558c517c8ef7c43725de7 | 4,641 | cpp | C++ | core/src/database/query/QueryBuilder.cpp | kiroboio/lib-ledger-core | b2def5f4aed64dcb43b1f4ecaa66103a40f02adc | [
"MIT"
] | 2 | 2019-06-25T15:10:40.000Z | 2019-07-08T12:22:37.000Z | core/src/database/query/QueryBuilder.cpp | kiroboio/lib-ledger-core | b2def5f4aed64dcb43b1f4ecaa66103a40f02adc | [
"MIT"
] | 1 | 2020-02-28T17:12:42.000Z | 2020-02-28T17:12:42.000Z | core/src/database/query/QueryBuilder.cpp | kiroboio/lib-ledger-core | b2def5f4aed64dcb43b1f4ecaa66103a40f02adc | [
"MIT"
] | 3 | 2018-03-07T14:17:41.000Z | 2018-11-28T10:50:10.000Z | /*
*
* QueryBuilder
* ledger-core
*
* Created by Pierre Pollastri on 27/06/2017.
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Ledger
*
* 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 ... | 33.875912 | 137 | 0.552467 | kiroboio |
1b8775c26055a97b1d4d5828fe060ecfebe6131c | 1,910 | cpp | C++ | acm/hdu/5428.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | 17 | 2016-01-01T12:57:25.000Z | 2022-02-06T09:55:12.000Z | acm/hdu/5428.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | null | null | null | acm/hdu/5428.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | 8 | 2018-12-27T01:31:49.000Z | 2022-02-06T09:55:12.000Z | #include <iostream>
#include <sstream>
#include <ios>
#include <iomanip>
#include <functional>
#include <algorithm>
#include <vector>
#include <string>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <set>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring... | 24.487179 | 61 | 0.474869 | xiaohuihuigh |
b8442fd96bdc271ff7513cc8231d9cef817d018c | 2,433 | cpp | C++ | src/Graphics/Texture.cpp | Szczurox/OpenGL-3D-Engine | 255757681fdbcac015c43104eaf0b03af54d412e | [
"MIT"
] | null | null | null | src/Graphics/Texture.cpp | Szczurox/OpenGL-3D-Engine | 255757681fdbcac015c43104eaf0b03af54d412e | [
"MIT"
] | null | null | null | src/Graphics/Texture.cpp | Szczurox/OpenGL-3D-Engine | 255757681fdbcac015c43104eaf0b03af54d412e | [
"MIT"
] | null | null | null | #include"Texture.hpp"
// Constructor that generates Texture
Texture::Texture(const char* image, const char* texType, GLuint slot) {
type = texType;
// image width, height and number of color channels
int widthImg, heightImg, numColCh;
// Flips the image so it appears right side up
stbi_set_flip_vertically_on_load... | 31.192308 | 101 | 0.755446 | Szczurox |
b8458daf57b83b66d5177234b6a65ed33ba70366 | 660 | cpp | C++ | POSN Camp1/whereru.cpp | ParamaaS/ParamaaS-Cpp-code- | a6c78151defe38d1460cde2b005a67be5a1d092d | [
"MIT"
] | null | null | null | POSN Camp1/whereru.cpp | ParamaaS/ParamaaS-Cpp-code- | a6c78151defe38d1460cde2b005a67be5a1d092d | [
"MIT"
] | null | null | null | POSN Camp1/whereru.cpp | ParamaaS/ParamaaS-Cpp-code- | a6c78151defe38d1460cde2b005a67be5a1d092d | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<string.h>
int n,m,c,c2,idx;
char s[25][25];
main()
{
scanf("%d%d",&m,&n);
for(c=0;c<m;c++)
{
scanf("%s",s[c]);
}
for(c=0;c<m;c++)
{
for(c2=0;c2<n-2;c2++)
{
if(s[c][c2]=='s'||s[c][c2]=='S')
{
if(s[c][c2+1]=='k'||s[c][c2+1]=='K')
{
if(s[c][c2+2]... | 14.347826 | 42 | 0.321212 | ParamaaS |
b8475ea4e466b1e3c5a9991b684da83b9e89f5b0 | 2,220 | hpp | C++ | include/codegen/include/System/Text/EncoderExceptionFallback.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Text/EncoderExceptionFallback.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Text/EncoderExceptionFallback.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:09:42 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Text.EncoderFallback
#include "System/Text/EncoderFal... | 41.111111 | 107 | 0.718919 | Futuremappermydud |
b849cc603269e9ed36a9e77c3d7913727992ebdc | 8,549 | hpp | C++ | sol/table.hpp | bananu7/sol | 599673150ebadfcbfd87e21701a021b4d228debb | [
"MIT"
] | 1 | 2015-03-27T12:36:25.000Z | 2015-03-27T12:36:25.000Z | sol/table.hpp | bananu7/sol | 599673150ebadfcbfd87e21701a021b4d228debb | [
"MIT"
] | null | null | null | sol/table.hpp | bananu7/sol | 599673150ebadfcbfd87e21701a021b4d228debb | [
"MIT"
] | null | null | null | // The MIT License (MIT)
// Copyright (c) 2013 Danny Y., Rapptz
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// ... | 38.683258 | 133 | 0.619137 | bananu7 |
b84a0cfd3e8da068d3ef99fd64963fa50dab34bc | 22 | cpp | C++ | src/queries/model/insert.cpp | enerc/zsearch | 60cdcd245b66d14fe4e2be1d26eb2b1877d4b098 | [
"Apache-2.0"
] | null | null | null | src/queries/model/insert.cpp | enerc/zsearch | 60cdcd245b66d14fe4e2be1d26eb2b1877d4b098 | [
"Apache-2.0"
] | null | null | null | src/queries/model/insert.cpp | enerc/zsearch | 60cdcd245b66d14fe4e2be1d26eb2b1877d4b098 | [
"Apache-2.0"
] | null | null | null | #include "insert.hpp"
| 11 | 21 | 0.727273 | enerc |
b84b6ed2dfd208f12d4b6a168df6aac912ec9512 | 2,816 | cpp | C++ | util.cpp | rdhafidh/pki | fb69d04c8bc014ae10b107379146bac9b4d5970a | [
"MIT"
] | null | null | null | util.cpp | rdhafidh/pki | fb69d04c8bc014ae10b107379146bac9b4d5970a | [
"MIT"
] | null | null | null | util.cpp | rdhafidh/pki | fb69d04c8bc014ae10b107379146bac9b4d5970a | [
"MIT"
] | null | null | null | #include "util.h"
#include <z85.h>
#include <QDateTime>
#include <QFile>
#include <QFileInfo>
#include <QStandardPaths>
#include <QtGlobal>
#include <cstdio>
#include <iostream>
bool Util::readFile(const QString &name, std::string &buffer) {
QFile fn(name);
if (!fn.open(QIODevice::ReadOnly)) {
return false;
... | 25.369369 | 79 | 0.649858 | rdhafidh |
b84ed822b2fb128fb48e2f2ba75c9078eb7f0b08 | 16,191 | cpp | C++ | wpb_ai_behaviors/src/wpb_ai_grab_action.cpp | 6-dl/wpb_ai_tx2 | 6109627e72f32431b1460556c5b8aebc3a436e07 | [
"BSD-3-Clause"
] | null | null | null | wpb_ai_behaviors/src/wpb_ai_grab_action.cpp | 6-dl/wpb_ai_tx2 | 6109627e72f32431b1460556c5b8aebc3a436e07 | [
"BSD-3-Clause"
] | null | null | null | wpb_ai_behaviors/src/wpb_ai_grab_action.cpp | 6-dl/wpb_ai_tx2 | 6109627e72f32431b1460556c5b8aebc3a436e07 | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2017-2020, Waterplus http://www.6-robot.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... | 34.744635 | 144 | 0.609907 | 6-dl |
b84f19544b6a50fa5fb96d9988fad2844e6fc888 | 12,832 | cpp | C++ | Synergy Editor TGC/Synergy Editor/UpdateFtpCore.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 231 | 2018-01-28T00:06:56.000Z | 2022-03-31T21:39:56.000Z | Synergy Editor TGC/Synergy Editor/UpdateFtpCore.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 9 | 2016-02-10T10:46:16.000Z | 2017-12-06T17:27:51.000Z | Synergy Editor TGC/Synergy Editor/UpdateFtpCore.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 66 | 2018-01-28T21:54:52.000Z | 2022-02-16T22:50:57.000Z | #include "StdAfx.h"
#include "UpdateFtpCore.h"
#include "Utilities.h"
#include "Settings.h"
#include "UpdateGlobal.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
UpdateTool *CUpdateFtpCore::m_Tool;
bool CUpdateFtpCore::cancel;
void CUpdateFtpCore::InitSession(UpdateTool *tool)
{
m_Tool = tool;
cancel = false;
}
in... | 23.373406 | 171 | 0.652198 | domydev |
b85aea8357d43b4f6ad78c282e1936deba979b2f | 579 | hpp | C++ | include/x/cba/addons/diagnostic/script_component.hpp | Task-Force-Dagger/Dagger | 56b9ffe3387f74830419a987eed5a0f386674331 | [
"MIT"
] | null | null | null | include/x/cba/addons/diagnostic/script_component.hpp | Task-Force-Dagger/Dagger | 56b9ffe3387f74830419a987eed5a0f386674331 | [
"MIT"
] | 7 | 2021-11-22T04:36:52.000Z | 2021-12-13T18:55:24.000Z | include/x/cba/addons/diagnostic/script_component.hpp | Task-Force-Dagger/Dagger | 56b9ffe3387f74830419a987eed5a0f386674331 | [
"MIT"
] | null | null | null | #define COMPONENT diagnostic
#include "\x\cba\addons\main\script_mod.hpp"
#ifdef DEBUG_ENABLED_DIAGNOSTIC
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_DIAGNOSTIC
#define DEBUG_SETTINGS DEBUG_SETTINGS_DIAGNOSTIC
#endif
#include "\x\cba\addons\main\script_macros.hpp"
#include "\a3\ui_f\hpp\defineDIKCo... | 27.571429 | 88 | 0.797927 | Task-Force-Dagger |
b86180f5ca42045a722a356f64fff9149434edfd | 6,757 | cpp | C++ | GA_EAX_1.0/Normal/env.cpp | ozeasx/GA-EAX | c6841f25e510680b896734acd1fe8fdfd7611653 | [
"MIT"
] | 3 | 2021-10-31T14:24:51.000Z | 2022-03-17T02:56:04.000Z | GA_EAX_1.0/Normal/env.cpp | ozeasx/GA-EAX | c6841f25e510680b896734acd1fe8fdfd7611653 | [
"MIT"
] | null | null | null | GA_EAX_1.0/Normal/env.cpp | ozeasx/GA-EAX | c6841f25e510680b896734acd1fe8fdfd7611653 | [
"MIT"
] | 2 | 2022-03-17T04:40:28.000Z | 2022-03-17T05:56:39.000Z | #ifndef __ENVIRONMENT__
#include "env.h"
#endif
#include <math.h>
void MakeRandSol( TEvaluator* eval , TIndi& indi );
void Make2optSol( TEvaluator* eval , TIndi& indi );
TEnvironment::TEnvironment()
{
fEvaluator = new TEvaluator();
}
TEnvironment::~TEnvironment()
{
delete [] fIndexForMating;
delete [] ... | 22.905085 | 111 | 0.590647 | ozeasx |
b8668ca924e116c748694cf5d83e60c22889dd35 | 62,302 | cpp | C++ | AGM/Resource.cpp | tvrusso/soral | bc4a27e4330458934d3224e8bdaf4cfcb189752b | [
"MIT"
] | null | null | null | AGM/Resource.cpp | tvrusso/soral | bc4a27e4330458934d3224e8bdaf4cfcb189752b | [
"MIT"
] | null | null | null | AGM/Resource.cpp | tvrusso/soral | bc4a27e4330458934d3224e8bdaf4cfcb189752b | [
"MIT"
] | null | null | null | /*****************************************************************************
* -- AGM SAR --
* --------------------------------------------------------------------
* Copyright (C) 2001-2008 AGM, a team comprising Andre Oboler, Gareth
* Thompson and Michael Eldridge.
* --------------------------------------------... | 41.562375 | 420 | 0.65831 | tvrusso |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.