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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5919931ee555a878a3cdba3dc126849c00840c47 | 1,972 | cpp | C++ | Engine/source/sfx/sfxProvider.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | 46 | 2015-01-05T17:34:43.000Z | 2022-01-04T04:03:09.000Z | Engine/source/sfx/sfxProvider.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | 10 | 2015-01-20T23:14:46.000Z | 2019-04-05T22:04:15.000Z | Engine/source/sfx/sfxProvider.cpp | fr1tz/terminal-overload | 85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60 | [
"CC-BY-4.0"
] | 9 | 2015-08-08T18:46:06.000Z | 2021-02-01T13:53:20.000Z | // Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
#include "core/strings/stringFunctions.h"
#include "sfx/sfxProvider.h"
SFXProvider* SFXProvider::smProviders = NULL;
Vector<SFXProvider*> SFXProvider::sAllProviders( __FILE__, __LINE__ );
SFXProvide... | 25.61039 | 96 | 0.676471 | fr1tz |
5919a6981c05aac61b8f8de1e6b0be0fe0d3799b | 5,002 | hpp | C++ | objectstore/Object.hpp | sagarjha/derecho-unified | f43aa530e1567e75bb99d7ddc70653a338aa7538 | [
"BSD-3-Clause"
] | 1 | 2019-10-03T23:25:12.000Z | 2019-10-03T23:25:12.000Z | objectstore/Object.hpp | sagarjha/derecho-unified | f43aa530e1567e75bb99d7ddc70653a338aa7538 | [
"BSD-3-Clause"
] | null | null | null | objectstore/Object.hpp | sagarjha/derecho-unified | f43aa530e1567e75bb99d7ddc70653a338aa7538 | [
"BSD-3-Clause"
] | null | null | null | #ifndef OBJECT_HPP
#define OBJECT_HPP
#include <chrono>
#include <iostream>
#include <map>
#include <memory>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
#include "conf/conf.hpp"
#include "derecho/derecho.h"
#include <mutils-serialization/SerializationSupport.hpp>
#include <optional>
#incl... | 28.420455 | 165 | 0.553579 | sagarjha |
5919bce58fdd828276fdf61b0e516d41c96a02dd | 861 | cpp | C++ | cpp/0735.cpp | DevonMorris/l33tc0d3 | 0c6d138c098f9608f17a9a4ba0d030d4ae7eb16e | [
"Unlicense"
] | null | null | null | cpp/0735.cpp | DevonMorris/l33tc0d3 | 0c6d138c098f9608f17a9a4ba0d030d4ae7eb16e | [
"Unlicense"
] | null | null | null | cpp/0735.cpp | DevonMorris/l33tc0d3 | 0c6d138c098f9608f17a9a4ba0d030d4ae7eb16e | [
"Unlicense"
] | null | null | null | class Solution {
public:
vector<int> asteroidCollision(vector<int>& asteroids) {
std::vector<int> stack;
for (const auto& asteroid : asteroids) {
if (stack.empty() || asteroid > 0) {
stack.push_back(asteroid);
continue;
}
// collis... | 27.774194 | 93 | 0.426249 | DevonMorris |
591a47911f3ff09e1cfb4614ea263a418b3fa042 | 9,169 | cpp | C++ | iree/compiler/Dialect/Flow/Transforms/Passes.cpp | YashRajSingh-4799/iree | ace19e886efe3702bfe7b17185a5daaa20808e82 | [
"Apache-2.0"
] | 2 | 2021-01-03T04:45:05.000Z | 2021-01-03T04:45:08.000Z | iree/compiler/Dialect/Flow/Transforms/Passes.cpp | YashRajSingh-4799/iree | ace19e886efe3702bfe7b17185a5daaa20808e82 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Dialect/Flow/Transforms/Passes.cpp | YashRajSingh-4799/iree | ace19e886efe3702bfe7b17185a5daaa20808e82 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 45.616915 | 80 | 0.664631 | YashRajSingh-4799 |
591b803552ab7f75560af2dbf4d3c2abb501f6e3 | 714 | cpp | C++ | Number Of Islands.cpp | Subhash3/Algorithms-For-Software-Developers | 2e0ac4f51d379a2b10a40fca7fa82a8501d3db94 | [
"BSD-2-Clause"
] | 2 | 2021-10-01T04:20:04.000Z | 2021-10-01T04:20:06.000Z | Number Of Islands.cpp | Subhash3/Algorithms-For-Software-Developers | 2e0ac4f51d379a2b10a40fca7fa82a8501d3db94 | [
"BSD-2-Clause"
] | 1 | 2021-10-01T18:00:09.000Z | 2021-10-01T18:00:09.000Z | Number Of Islands.cpp | Subhash3/Algorithms-For-Software-Developers | 2e0ac4f51d379a2b10a40fca7fa82a8501d3db94 | [
"BSD-2-Clause"
] | 8 | 2021-10-01T04:20:38.000Z | 2022-03-19T17:05:05.000Z | class Solution {
public:
void dfs(vector<vector<char>>& grid,int row,int col,int i,int j){
if(i<0||j<0||i>=row||j>=col||grid[i][j]!='1')
return;
grid[i][j]='2';
dfs(grid,row,col,i+1,j);
dfs(grid,row,col,i-1,j);
dfs(grid,row,col,i,j+1);
dfs(grid,row,col,i,j... | 24.62069 | 69 | 0.404762 | Subhash3 |
591c931841e74b7f2f5aaa46804e58235dac34dc | 456 | hpp | C++ | src/Core/ExecutorInformer.hpp | mlaszko/DisCODe | 0042280ae6c1ace8c6e0fa25ae4d440512c113f6 | [
"MIT"
] | 1 | 2017-02-17T13:01:13.000Z | 2017-02-17T13:01:13.000Z | src/Core/ExecutorInformer.hpp | mlaszko/DisCODe | 0042280ae6c1ace8c6e0fa25ae4d440512c113f6 | [
"MIT"
] | null | null | null | src/Core/ExecutorInformer.hpp | mlaszko/DisCODe | 0042280ae6c1ace8c6e0fa25ae4d440512c113f6 | [
"MIT"
] | 1 | 2018-07-23T00:05:58.000Z | 2018-07-23T00:05:58.000Z | #ifndef EXECUTORINFORMER_HPP_
#define EXECUTORINFORMER_HPP_
#include "Informer.hpp"
#include <string>
#include <vector>
namespace Core {
class ExecutorManager;
class ExecutorInformer : public Informer
{
public:
ExecutorInformer(ExecutorManager & cm);
void registerHandlers(CommandInterpreter & ci);
std::string... | 15.724138 | 59 | 0.780702 | mlaszko |
591ce857cc7d645be4e58c9e3c3020536f29936c | 4,926 | cpp | C++ | llvm/lib/Target/AMDGPU/SITypeRewriter.cpp | haohua-li/t-sgx-mirror | 49188063f3cb5300cda8a03255cfe800e8266ace | [
"MIT"
] | 26 | 2017-04-18T15:51:16.000Z | 2022-03-29T07:03:37.000Z | llvm/lib/Target/AMDGPU/SITypeRewriter.cpp | losalamos/kokkos-clang | d68d9c63cea3dbaad33454e4ebc9df829bca24fe | [
"Unlicense"
] | 2 | 2021-05-28T08:53:58.000Z | 2021-11-07T21:45:00.000Z | 3.7.0/llvm-3.7.0.src/lib/Target/AMDGPU/SITypeRewriter.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 9 | 2017-10-02T19:54:36.000Z | 2021-11-22T00:48:18.000Z | //===-- SITypeRewriter.cpp - Remove unwanted types ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 30.407407 | 122 | 0.627284 | haohua-li |
591defe00f272179547b616f8115fef5b21305d6 | 3,376 | hpp | C++ | lib/test/mocks/mock_board.hpp | niclasberg/asfw | f836de1c0d6350541e3253863dedab6a3eb81df7 | [
"MIT"
] | null | null | null | lib/test/mocks/mock_board.hpp | niclasberg/asfw | f836de1c0d6350541e3253863dedab6a3eb81df7 | [
"MIT"
] | null | null | null | lib/test/mocks/mock_board.hpp | niclasberg/asfw | f836de1c0d6350541e3253863dedab6a3eb81df7 | [
"MIT"
] | null | null | null | #pragma once
#include "types.hpp"
#include "opt/option.hpp"
#include "board/interrupts.hpp"
#include <boost/hana/string.hpp>
#include "rational.hpp"
#include <vector>
namespace detail
{
constexpr auto AHB_FREQUENCY = hana::string_c<'A', 'H', 'B', 'F', 'R', 'E', 'Q'>;
constexpr auto APB1_FREQUENCY = hana::stri... | 35.914894 | 116 | 0.702607 | niclasberg |
591ed10f938a93e151814575606352dc1a7d17c0 | 381 | cpp | C++ | CC/GFG/SplitBinaryStringIntoSubstringEqual01.cpp | MrRobo24/Codes | 9513f42b61e898577123d5b996e43ba7a067a019 | [
"MIT"
] | 1 | 2020-10-12T08:03:20.000Z | 2020-10-12T08:03:20.000Z | CC/GFG/SplitBinaryStringIntoSubstringEqual01.cpp | MrRobo24/Codes | 9513f42b61e898577123d5b996e43ba7a067a019 | [
"MIT"
] | null | null | null | CC/GFG/SplitBinaryStringIntoSubstringEqual01.cpp | MrRobo24/Codes | 9513f42b61e898577123d5b996e43ba7a067a019 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define LLI long long
using namespace std;
int main() {
string s;
cin >> s;
LLI a = 0, b = 0, p = 0;
for (LLI i=0;i<s.size();i++) {
if (s[i] == '0') {
a++;
} else {
b++;
}
if (a == b) {
p++;
a = 0;... | 15.875 | 34 | 0.309711 | MrRobo24 |
5920d454bdce8b19f01500401375ddff0fa4bc61 | 9,361 | cpp | C++ | gameplay/src/lua/lua_TerrainPatch.cpp | ecameracci/GamePlay | 4de92c4c6f8047db5dcb7f0dee8541c7e7ea5a80 | [
"Apache-2.0",
"Unlicense"
] | 2,260 | 2015-01-03T06:53:25.000Z | 2020-05-09T21:55:21.000Z | gameplay/src/lua/lua_TerrainPatch.cpp | ecameracci/GamePlay | 4de92c4c6f8047db5dcb7f0dee8541c7e7ea5a80 | [
"Apache-2.0",
"Unlicense"
] | 175 | 2015-01-03T15:35:44.000Z | 2019-10-26T11:54:58.000Z | gameplay/src/lua/lua_TerrainPatch.cpp | ecameracci/GamePlay | 4de92c4c6f8047db5dcb7f0dee8541c7e7ea5a80 | [
"Apache-2.0",
"Unlicense"
] | 929 | 2015-01-01T04:53:21.000Z | 2020-05-06T21:41:12.000Z | // Autogenerated by gameplay-luagen
#include "Base.h"
#include "ScriptController.h"
#include "lua_TerrainPatch.h"
#include "Base.h"
#include "Camera.h"
#include "Game.h"
#include "MeshPart.h"
#include "Node.h"
#include "PhysicsController.h"
#include "Scene.h"
#include "Terrain.h"
#include "TerrainPatch.h"
#include "Cam... | 32.168385 | 160 | 0.570772 | ecameracci |
5923feb0cd975105e77acfe6694b7fe51c569be9 | 306 | hpp | C++ | pass/fplan/node_flat_floorp.hpp | jesec/livehd | 1a82dbea1d86dbd1511de588609de320aa4ef6ed | [
"BSD-3-Clause"
] | 115 | 2019-09-28T13:39:41.000Z | 2022-03-24T11:08:53.000Z | pass/fplan/node_flat_floorp.hpp | jesec/livehd | 1a82dbea1d86dbd1511de588609de320aa4ef6ed | [
"BSD-3-Clause"
] | 120 | 2018-05-16T23:11:09.000Z | 2019-09-25T18:52:49.000Z | pass/fplan/node_flat_floorp.hpp | jesec/livehd | 1a82dbea1d86dbd1511de588609de320aa4ef6ed | [
"BSD-3-Clause"
] | 44 | 2019-09-28T07:53:21.000Z | 2022-02-13T23:21:12.000Z | // This file is distributed under the BSD 3-Clause License. See LICENSE for details.
#pragma once
#include "floorplanner.hpp"
#include "lgedgeiter.hpp"
#include "node_pin.hpp"
class Node_flat_floorp : public Lhd_floorplanner {
public:
Node_flat_floorp(Node_tree&& nt_arg);
void load();
private:
}; | 20.4 | 85 | 0.754902 | jesec |
5925a309ac079a5c00e066acd76ee7b7a4c861e3 | 1,678 | cpp | C++ | tag_client/config.cpp | niklashenrixon/tag_im_it | 9aff4b1709ed5e5fe1a216da17f793c4ea0aa842 | [
"MIT"
] | null | null | null | tag_client/config.cpp | niklashenrixon/tag_im_it | 9aff4b1709ed5e5fe1a216da17f793c4ea0aa842 | [
"MIT"
] | null | null | null | tag_client/config.cpp | niklashenrixon/tag_im_it | 9aff4b1709ed5e5fe1a216da17f793c4ea0aa842 | [
"MIT"
] | null | null | null | class CfgPatches {
class tag_client {
author = "NIXON";
name = "Client";
units[] = {};
version = 1.0;
authors[] = {"NIXON"};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Characters_F", "A3_Weapons_F"};
};
};
class CfgMods {
class tagimit {
name = "TAG I'M IT";
nameShort = "TAG";
dir = "@TAG I'... | 34.958333 | 346 | 0.724672 | niklashenrixon |
59277b3e8c7bb4d80693ef8954cd3e2ccc5e5aa8 | 7,485 | hpp | C++ | src/templates/workflow_executor.hpp | DontWorry33/proc-ades | 191e99d65762c4acc62544fbdf1aa4ae686f2b4c | [
"Apache-2.0"
] | null | null | null | src/templates/workflow_executor.hpp | DontWorry33/proc-ades | 191e99d65762c4acc62544fbdf1aa4ae686f2b4c | [
"Apache-2.0"
] | null | null | null | src/templates/workflow_executor.hpp | DontWorry33/proc-ades | 191e99d65762c4acc62544fbdf1aa4ae686f2b4c | [
"Apache-2.0"
] | null | null | null | #ifndef ADES_CODE_ENGINE_API_FRAMEWORK_ZOOARGO_HPP
#define ADES_CODE_ENGINE_API_FRAMEWORK_ZOOARGO_HPP
#include <dlfcn.h>
#include <iostream>
#include <stdexcept>
#include <string>
#include <list>
#include <memory>
#include <utility>
namespace mods {
#ifndef T2CWL_IMOD_HPP
#define T2CWL_IMOD_HPP
class IModInterface ... | 27.722222 | 134 | 0.592786 | DontWorry33 |
592906f9bab5644ed458ace5fbbdeddc0250aa9c | 877 | hpp | C++ | libs/core/render/test/src/serialize_test.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/core/math/test/src/serialize_test.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/core/math/test/src/serialize_test.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file serialize_test.hpp
*
* @brief
*
* @author myoukaku
*/
#ifndef UNIT_TEST_SERIALIZE_TEST_HPP
#define UNIT_TEST_SERIALIZE_TEST_HPP
#include <bksge/fnd/serialization/text_oarchive.hpp>
#include <bksge/fnd/serialization/text_iarchive.hpp>
//#include <bksge/fnd/serialization/xml_oarchive.hp... | 20.880952 | 77 | 0.711517 | myoukaku |
59292f59b94bca27a4aff3f8243e1417be172eb1 | 790 | cpp | C++ | DeferredShading/DeferredShading/Timer.cpp | yanghyunchan/2014_OperationBluehole | 188b61dea134d4f8e37aff514cda3601f5f2a294 | [
"MIT"
] | null | null | null | DeferredShading/DeferredShading/Timer.cpp | yanghyunchan/2014_OperationBluehole | 188b61dea134d4f8e37aff514cda3601f5f2a294 | [
"MIT"
] | null | null | null | DeferredShading/DeferredShading/Timer.cpp | yanghyunchan/2014_OperationBluehole | 188b61dea134d4f8e37aff514cda3601f5f2a294 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Timer.h"
#include "Logger.h"
#include "PostProcessor.h"
Timer::Timer()
{
}
Timer::~Timer()
{
}
void Timer::OnTick()
{
CountDeltaTime();
CountFPS();
}
void Timer::CountDeltaTime()
{
mNowTime = timeGetTime();
if (mPrevTime == 0)
mPrevTime = mNowTime;
... | 14.90566 | 68 | 0.598734 | yanghyunchan |
592a0885ff4d54d614b571d079a223dc30f2e37b | 1,601 | cpp | C++ | scripts/draw_text.cpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | null | null | null | scripts/draw_text.cpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | 46 | 2021-01-12T23:03:52.000Z | 2021-10-01T17:29:01.000Z | scripts/draw_text.cpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | null | null | null | #ifdef CANNON_BUILD_GRAPHICS
#include <cannon/graphics/window.hpp>
#include <cannon/graphics/text_renderer.hpp>
#include <cannon/graphics/font.hpp>
using namespace cannon::graphics;
int main() {
Window w;
w.set_clear_color({1.0, 1.0, 1.0, 1.0});
auto font = std::make_shared<Font>();
TextRenderer r(w.width, w... | 27.603448 | 84 | 0.594004 | cannontwo |
592bbf740d16495f385a9dc7169648d8f72f3b4a | 3,683 | cpp | C++ | solved-problems/google-coding-competitions/code-jam/2020/Round 1B/B - Blindfolded Bullseye.cpp | developer4fun/competitive_programming | 9e95945ae63d41696ca7b50f026b8fe05aec49de | [
"MIT"
] | 1 | 2022-02-14T14:14:21.000Z | 2022-02-14T14:14:21.000Z | solved-problems/google-coding-competitions/code-jam/2020/Round 1B/B - Blindfolded Bullseye.cpp | developer4fun/competitiveProgramming | 9e95945ae63d41696ca7b50f026b8fe05aec49de | [
"MIT"
] | 6 | 2022-01-16T21:15:24.000Z | 2022-03-04T15:59:28.000Z | code-jam/2020/Round 1B/B - Blindfolded Bullseye.cpp | ggardusi/google-coding-competitions | 878d0ad0a4abed6862d0667248e1008b8bb56fb5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <cassert>
#include <vector>
#include <climits>
const int CORRECT = 200;
const int ERROR = 404;
const int BORDER = 1000000000;
const int LIMIT_QUERIES = 300;
const int UNDEFINED = INT_MAX;
int A, B;
int queries;
std::string query(const int x, const int y)
{
queries +... | 18.232673 | 62 | 0.446647 | developer4fun |
59313a0274a2d6c1b674f7e0cebab7c26264c729 | 8,674 | cpp | C++ | core/Context.cpp | alexander-koch/3D-Game-Engine | a55bedaec05428ecbbd333dd357e0f3599afeb25 | [
"Apache-2.0"
] | 1 | 2020-11-17T04:33:41.000Z | 2020-11-17T04:33:41.000Z | core/Context.cpp | alexander-koch/3D-Game-Engine | a55bedaec05428ecbbd333dd357e0f3599afeb25 | [
"Apache-2.0"
] | null | null | null | core/Context.cpp | alexander-koch/3D-Game-Engine | a55bedaec05428ecbbd333dd357e0f3599afeb25 | [
"Apache-2.0"
] | 1 | 2021-01-20T20:06:22.000Z | 2021-01-20T20:06:22.000Z | /*
* Copyright 2015 Alexander Koch
* File: Context.cpp
*
* 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... | 27.191223 | 132 | 0.733917 | alexander-koch |
5934d684d7c794b7a487d8663cd442a62c10d855 | 4,552 | cpp | C++ | plugins/datatools/src/StaticMMPLDProvider.cpp | xge/megamol | 1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b | [
"BSD-3-Clause"
] | null | null | null | plugins/datatools/src/StaticMMPLDProvider.cpp | xge/megamol | 1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b | [
"BSD-3-Clause"
] | null | null | null | plugins/datatools/src/StaticMMPLDProvider.cpp | xge/megamol | 1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b | [
"BSD-3-Clause"
] | null | null | null | #include "StaticMMPLDProvider.h"
#include "mmcore/param/StringParam.h"
#include "vislib/StringConverter.h"
#include "vislib/StringTokeniser.h"
megamol::datatools::StaticMMPLDProvider::StaticMMPLDProvider()
: outDataSlot("outData", "Output")
, filenamesSlot("filenames", "Set of filenames separated wit... | 37.311475 | 114 | 0.654657 | xge |
59350152b098295ac1d8476cd37e253fbf7158fb | 2,562 | cpp | C++ | Midterm Project/Salazar_Uriel_Midterm/Salazar_Uriel_CheckingAccount.cpp | salazaru/Cpp_Programming_Objects | 8cc1e7d4b96b31a1ff57f2296d025d14b032d1c7 | [
"MIT"
] | 1 | 2016-03-10T02:47:46.000Z | 2016-03-10T02:47:46.000Z | Midterm Project/Salazar_Uriel_Midterm/Salazar_Uriel_CheckingAccount.cpp | salazaru/Salazar_Uriel_CSC17A_32232 | 8cc1e7d4b96b31a1ff57f2296d025d14b032d1c7 | [
"MIT"
] | null | null | null | Midterm Project/Salazar_Uriel_Midterm/Salazar_Uriel_CheckingAccount.cpp | salazaru/Salazar_Uriel_CSC17A_32232 | 8cc1e7d4b96b31a1ff57f2296d025d14b032d1c7 | [
"MIT"
] | null | null | null | /***************************************************************************//**
* @file Salazar_Uriel_CheckingAccount.cpp
* @brief MIDTERM
* @author Uriel Salazar
* @date April 2016
* @details Member-function definitions for CheckingAccount class
****************************************************... | 27.255319 | 81 | 0.574161 | salazaru |
59355b0c86859a3e9133da857ad470058fc235b1 | 11,058 | cpp | C++ | src/videoFeedListener.cpp | sd12832/zlab_drone | d046a0c6986b0af2e40db9bb8a1fbecd99050364 | [
"MIT"
] | 1 | 2019-06-29T02:50:54.000Z | 2019-06-29T02:50:54.000Z | src/videoFeedListener.cpp | sd12832/zlab_drone | d046a0c6986b0af2e40db9bb8a1fbecd99050364 | [
"MIT"
] | null | null | null | src/videoFeedListener.cpp | sd12832/zlab_drone | d046a0c6986b0af2e40db9bb8a1fbecd99050364 | [
"MIT"
] | null | null | null | #include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <vector>
#include <zlab_drone/Circles.h>
#include <zlab_drone/Circle.h>
#include <std_msgs/Bo... | 28.353846 | 83 | 0.557515 | sd12832 |
59392f825aa36fd3862c3f36a5431f98ac17d6c8 | 1,459 | cpp | C++ | examples/test_autogen_lightweight.cpp | dmillard/autogen | c14790f01b7e6ff4c140331317ad981c33e9b40f | [
"MIT"
] | null | null | null | examples/test_autogen_lightweight.cpp | dmillard/autogen | c14790f01b7e6ff4c140331317ad981c33e9b40f | [
"MIT"
] | null | null | null | examples/test_autogen_lightweight.cpp | dmillard/autogen | c14790f01b7e6ff4c140331317ad981c33e9b40f | [
"MIT"
] | 1 | 2021-10-31T10:59:49.000Z | 2021-10-31T10:59:49.000Z | #include <cppad/cg.hpp>
#include <cppad/cg/arithmetic.hpp>
#include "autogen/autogen_lightweight.hpp"
namespace {
using CGScalar = typename CppAD::cg::CG<double>;
using ADFun = typename CppAD::ADFun<CGScalar>;
void print(const std::vector<double>& vs) {
for (std::size_t i = 0; i < vs.size(); ++i) {
std::cout <... | 27.018519 | 70 | 0.637423 | dmillard |
59397bd77f2b22fde353670695d619706210a405 | 12,962 | hpp | C++ | granite/application/input/input.hpp | bsdunx/Granite | 0bbb29717f2bc1e20ba922c7e4120f289e8f752e | [
"MIT"
] | null | null | null | granite/application/input/input.hpp | bsdunx/Granite | 0bbb29717f2bc1e20ba922c7e4120f289e8f752e | [
"MIT"
] | null | null | null | granite/application/input/input.hpp | bsdunx/Granite | 0bbb29717f2bc1e20ba922c7e4120f289e8f752e | [
"MIT"
] | null | null | null | /* 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... | 18.359773 | 95 | 0.718562 | bsdunx |
5939d75883212035b5f8091888c23fb214864403 | 1,810 | cpp | C++ | source/Foundation/NativeFileDialog.cpp | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 19 | 2015-12-19T11:15:57.000Z | 2022-03-09T11:22:11.000Z | source/Foundation/NativeFileDialog.cpp | DevilWithin/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 1 | 2017-05-17T09:31:10.000Z | 2017-05-19T17:01:31.000Z | source/Foundation/NativeFileDialog.cpp | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 3 | 2015-12-14T17:40:26.000Z | 2021-02-25T00:42:42.000Z | #include <Nephilim/Foundation/NativeFileDialog.h>
#include <cstring>
#ifdef NEPHILIM_WINDOWS
#include <windows.h>
#endif
NEPHILIM_NS_BEGIN
FileDialog::FileDialog()
: filter("")
, initialPath("K:\\")
{
}
String FileDialog::load()
{
#ifdef NEPHILIM_WINDOWS
char Filestring[256];
String returnstring;
OPENFILENAM... | 20.337079 | 106 | 0.712155 | GrimshawA |
593c6e7f9a948eb56daf0fb7482977355e1e66bf | 3,003 | hpp | C++ | include/calfmoo/utils-rateslotter.hpp | TexZK/calfmoo | 0506f80b94e3951cb9e7fc09da08b03b2338a05e | [
"BSD-2-Clause"
] | null | null | null | include/calfmoo/utils-rateslotter.hpp | TexZK/calfmoo | 0506f80b94e3951cb9e7fc09da08b03b2338a05e | [
"BSD-2-Clause"
] | null | null | null | include/calfmoo/utils-rateslotter.hpp | TexZK/calfmoo | 0506f80b94e3951cb9e7fc09da08b03b2338a05e | [
"BSD-2-Clause"
] | null | null | null | /*
BSD 2-Clause License
Copyright (c) 2020, Andrea Zoppi
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 condit... | 25.666667 | 79 | 0.649684 | TexZK |
593d2a8df1dabec6608b77e395948fb4c9fd9011 | 2,743 | cpp | C++ | Stack/15. Count_balanced_paranthesis_in_given_paranthesised_string_expression.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | 3 | 2021-02-01T07:56:21.000Z | 2021-02-01T11:56:50.000Z | Stack/15. Count_balanced_paranthesis_in_given_paranthesised_string_expression.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | null | null | null | Stack/15. Count_balanced_paranthesis_in_given_paranthesised_string_expression.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | null | null | null | // Code By - Manish Hedau
// Balance paranthesis problem for three brackets {}, [], ().
#include<bits/stdc++.h>
using namespace std;
/*
Question :-
-----------
Given an paranthesized expression as string
return no of balanced paranthesis in given string.
Input :-
------------
5
((())
Output :-
---------
No of balance ... | 17.14375 | 86 | 0.575283 | manishhedau |
86c82e3b8e8a7cca8acd94dfe2a3d6d2184b6d89 | 4,747 | cpp | C++ | updateex/SendModules.cpp | barbalion/farplug-alvls | d26fb36abdac642b18def09d63b8d70b5d39cbc9 | [
"BSD-3-Clause"
] | 3 | 2018-05-22T05:55:36.000Z | 2020-06-05T20:27:32.000Z | updateex/SendModules.cpp | barbalion/farplug-alvls | d26fb36abdac642b18def09d63b8d70b5d39cbc9 | [
"BSD-3-Clause"
] | null | null | null | updateex/SendModules.cpp | barbalion/farplug-alvls | d26fb36abdac642b18def09d63b8d70b5d39cbc9 | [
"BSD-3-Clause"
] | null | null | null | bool ShowSendModulesDialog(ModuleInfo *pInfo)
{
wchar_t Guid[37]=L"";
bool bUnknown=true;
if (pInfo->Guid!=FarGuid && !(pInfo->Flags&ANSI) && !(pInfo->Flags&STD))
{
GuidToStr(pInfo->Guid,Guid);
bUnknown=false;
}
wchar_t FullFile[MAX_PATH]=L"";
/*
struct PanelInfo PInfo={sizeof(PanelInfo)};
if ... | 48.938144 | 144 | 0.50474 | barbalion |
86c94e87ecaa9d158fde8706cdf47e3dd2de1cc1 | 2,537 | cpp | C++ | src/plugins/render/nodes/vertex_data/frame.cpp | martin-pr/possumwood | 0ee3e0fe13ef27cf14795a79fb497e4d700bef63 | [
"MIT"
] | 232 | 2017-10-09T11:45:28.000Z | 2022-03-28T11:14:46.000Z | src/plugins/render/nodes/vertex_data/frame.cpp | martin-pr/possumwood | 0ee3e0fe13ef27cf14795a79fb497e4d700bef63 | [
"MIT"
] | 26 | 2019-01-20T21:38:25.000Z | 2021-10-16T03:57:17.000Z | src/plugins/render/nodes/vertex_data/frame.cpp | martin-pr/possumwood | 0ee3e0fe13ef27cf14795a79fb497e4d700bef63 | [
"MIT"
] | 33 | 2017-10-26T19:20:38.000Z | 2022-03-16T11:21:43.000Z | #include <GL/glew.h>
#include <GL/glu.h>
#include <OpenEXR/ImathVec.h>
#include <possumwood_sdk/app.h>
#include <possumwood_sdk/node_implementation.h>
#include "anim/datatypes/skeleton.h"
#include "datatypes/vertex_data.inl"
namespace {
dependency_graph::InAttr<anim::Skeleton> a_skeleton;
dependency_graph::OutAttr<p... | 34.283784 | 108 | 0.573906 | martin-pr |
86cbce07a4b19adf261665c3f169bd8afcabd2ba | 230 | cpp | C++ | accs.cpp | chidanandpujar/cpp_learning | 5676f975abf9295a7ccad96f73c45e6d29d9353b | [
"Unlicense"
] | null | null | null | accs.cpp | chidanandpujar/cpp_learning | 5676f975abf9295a7ccad96f73c45e6d29d9353b | [
"Unlicense"
] | null | null | null | accs.cpp | chidanandpujar/cpp_learning | 5676f975abf9295a7ccad96f73c45e6d29d9353b | [
"Unlicense"
] | null | null | null | #include <iostream>
using namespace std;
class Test {
private :
int pvt;
protected:
int prot;
public:
void pub() {
cout << "Public\n";
}
};
int main()
{
Test ts;
ts.pvt = 5;
ts.prot = 10;
ts.pub();
return 0;
}
| 10.454545 | 22 | 0.578261 | chidanandpujar |
86cd04e7bfbc397baed31203838fe488c2a8c6c1 | 1,588 | cpp | C++ | src/Mobs/Spider.cpp | nickc01/cuberite | be818200a6567218ba99bb072e721c4b64b71d67 | [
"Apache-2.0"
] | 4,126 | 2015-06-12T21:56:49.000Z | 2022-03-31T06:33:12.000Z | src/Mobs/Spider.cpp | nickc01/cuberite | be818200a6567218ba99bb072e721c4b64b71d67 | [
"Apache-2.0"
] | 2,931 | 2015-06-11T17:13:15.000Z | 2022-03-31T22:46:31.000Z | src/Mobs/Spider.cpp | nickc01/cuberite | be818200a6567218ba99bb072e721c4b64b71d67 | [
"Apache-2.0"
] | 917 | 2015-06-11T21:47:41.000Z | 2022-03-30T10:32:55.000Z |
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "Spider.h"
#include "../World.h"
#include "../Entities/Player.h"
#include "../Chunk.h"
cSpider::cSpider(void) :
Super("Spider", mtSpider, "entity.spider.hurt", "entity.spider.death", "entity.spider.ambient", 1.... | 19.604938 | 113 | 0.683879 | nickc01 |
86cd0a2c458e2f5905df6cdd6b70c8c00ebc1e02 | 1,023 | cpp | C++ | src/algorithm/recombinator/recombinator_two_point.cpp | andschwa/uidaho-cs472-project1 | 8f8a4984ac25b8c588f8981c2114493a11f71917 | [
"MIT"
] | 13 | 2015-09-21T19:22:10.000Z | 2021-07-26T13:32:40.000Z | src/algorithm/recombinator/recombinator_two_point.cpp | andschwa/uidaho-cs472-project1 | 8f8a4984ac25b8c588f8981c2114493a11f71917 | [
"MIT"
] | null | null | null | src/algorithm/recombinator/recombinator_two_point.cpp | andschwa/uidaho-cs472-project1 | 8f8a4984ac25b8c588f8981c2114493a11f71917 | [
"MIT"
] | 8 | 2015-07-16T23:57:31.000Z | 2019-04-10T21:23:22.000Z | /* Copyright 2014 Andrew Schwartzmeyer
*
* Source file for two-point recombinator delegate class
*/
#include <algorithm>
#include "recombinator.hpp"
#include "recombinator_two_point.hpp"
#include "../../random_generator.hpp"
using algorithm::recombinator::TwoPoint;
using algorithm::population;
using namespace ran... | 31 | 95 | 0.695992 | andschwa |
86cd26da5aa8dd5173e9c46bb82a5d4fef848ee8 | 8,603 | cc | C++ | src/type.cc | sdroege/node-gtk | f95f3c07f9fbc749435e6d83ad339a20b1e84946 | [
"MIT"
] | null | null | null | src/type.cc | sdroege/node-gtk | f95f3c07f9fbc749435e6d83ad339a20b1e84946 | [
"MIT"
] | null | null | null | src/type.cc | sdroege/node-gtk | f95f3c07f9fbc749435e6d83ad339a20b1e84946 | [
"MIT"
] | null | null | null |
#include "gi.h"
#include "macros.h"
#include "type.h"
#include "util.h"
#include "debug.h"
using v8::FunctionTemplate;
using v8::Persistent;
namespace GNodeJS {
char *GetInfoName (GIBaseInfo* info) {
const char* info_name = g_base_info_get_name (info);
if (info_name == NULL)
return g_strdup ("(NULL... | 30.08042 | 100 | 0.592933 | sdroege |
86cd424abcd0f0b0f0d5f34c73a32b398c6b5d5a | 17,710 | cpp | C++ | src/pcm-latency.cpp | mjguzik/pcm | 58039287e0ee63edcaa60bdbf837d536e4e417da | [
"BSD-3-Clause"
] | null | null | null | src/pcm-latency.cpp | mjguzik/pcm | 58039287e0ee63edcaa60bdbf837d536e4e417da | [
"BSD-3-Clause"
] | null | null | null | src/pcm-latency.cpp | mjguzik/pcm | 58039287e0ee63edcaa60bdbf837d536e4e417da | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2018, Intel Corporation
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 of conditions and the foll... | 33.862333 | 754 | 0.607566 | mjguzik |
86cfc59e69cb422b26cfd40b43666add5da087b5 | 1,887 | cpp | C++ | OpenMind/RunProcess.cpp | iHateInventNames/openmind | 2587b811e594daf9d9c235cb63eeae2950e93ff0 | [
"BSD-3-Clause"
] | null | null | null | OpenMind/RunProcess.cpp | iHateInventNames/openmind | 2587b811e594daf9d9c235cb63eeae2950e93ff0 | [
"BSD-3-Clause"
] | 4 | 2016-05-21T08:48:41.000Z | 2017-02-22T19:37:03.000Z | OpenMind/RunProcess.cpp | iHateInventNames/openmind | 2587b811e594daf9d9c235cb63eeae2950e93ff0 | [
"BSD-3-Clause"
] | null | null | null | #include "stdafx.h"
#include "RunProcess.h"
#include <cstring>
void RunProcess::SetNoWindow() {
}
bool RunProcess::Invoke() {
return false;
}
bool RunProcess::TryShutdown() {
return false;
}
void RunProcess::ForceShutdown() {
}
RunProcess::RunProcess(const string_t& cmd) :
cmd_(cmd) {
}
#ifdef _WIN32
cla... | 15.857143 | 75 | 0.670906 | iHateInventNames |
86d0a8727911cbff7746718c74e8c77eb28b43a3 | 8,061 | cpp | C++ | products/BellHybrid/apps/common/src/AlarmModel.cpp | buk7456/MuditaOS | 06ef1e131b27b0f397cc615c96d51bede7050423 | [
"BSL-1.0"
] | 369 | 2021-11-10T09:20:29.000Z | 2022-03-30T06:36:58.000Z | products/BellHybrid/apps/common/src/AlarmModel.cpp | buk7456/MuditaOS | 06ef1e131b27b0f397cc615c96d51bede7050423 | [
"BSL-1.0"
] | 149 | 2021-11-10T08:38:35.000Z | 2022-03-31T23:01:52.000Z | products/BellHybrid/apps/common/src/AlarmModel.cpp | buk7456/MuditaOS | 06ef1e131b27b0f397cc615c96d51bede7050423 | [
"BSL-1.0"
] | 41 | 2021-11-10T08:30:37.000Z | 2022-03-29T08:12:46.000Z | // Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "models/AlarmModel.hpp"
#include <apps-common/ApplicationCommon.hpp>
#include <db/SystemSettings.hpp>
#include <time/dateCommon.hpp>
#include <service-time/AlarmServiceAPI.hp... | 35.668142 | 120 | 0.606624 | buk7456 |
86d1ce6551b865f88d201a81cc8b96914b63b6b2 | 1,163 | cc | C++ | server/core/test/profile_get_canonical.cc | blylei/MaxScale | 2de10c9de12664e6d59f1ef879fd90d44b73d472 | [
"BSD-3-Clause"
] | null | null | null | server/core/test/profile_get_canonical.cc | blylei/MaxScale | 2de10c9de12664e6d59f1ef879fd90d44b73d472 | [
"BSD-3-Clause"
] | null | null | null | server/core/test/profile_get_canonical.cc | blylei/MaxScale | 2de10c9de12664e6d59f1ef879fd90d44b73d472 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016 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-03-24
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 24.744681 | 82 | 0.628547 | blylei |
86d56c4a245a372f9cfb4ab739d74796d84b8ab9 | 1,377 | cpp | C++ | leetcode/problems/hard/135-candy.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/problems/hard/135-candy.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/problems/hard/135-candy.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Candy
https://leetcode.com/problems/candy/
There are n children standing in a line. Each child is assigned a rating value given in the integer array ratings.
You are giving candies to these children subjected to the following requirements:
Each child must have at least one candy.
Children with a higher rating get... | 25.981132 | 114 | 0.653595 | wingkwong |
86d60980abd8508a3e2bb9fd36fdf338c3be53c2 | 2,714 | cpp | C++ | Prim/PrimComToken_Double.cpp | UltimateScript/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | null | null | null | Prim/PrimComToken_Double.cpp | UltimateScript/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | 2 | 2021-07-07T17:31:49.000Z | 2021-07-16T11:40:38.000Z | Prim/PrimComToken_Double.cpp | OuluLinux/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | null | null | null | #include <Prim/PrimIncludeAll.h>
#ifndef NO_DATA
TYPEINFO_SINGLE(PrimComToken_Double, PrimComToken);
#endif
#ifndef NO_CODE
//
// Construct an aName token for a floating point value in theValue as part of aParser, using
// someOptions for parsing, and aUsage as a description of the token.
//
PrimComToken_Doub... | 26.349515 | 100 | 0.684967 | UltimateScript |
86dac178b99142ec03a80174cc57832ada2bd186 | 1,856 | cpp | C++ | 2021/11. Sorting/20311019/6. Necklace/6. Necklace.cpp | RumiChausheva/CS104 | 95f4df990f1a9d1397fc7da7cf137aa092498ea1 | [
"MIT"
] | 7 | 2021-03-24T16:30:45.000Z | 2022-03-27T09:02:15.000Z | 2021/11. Sorting/20311019/6. Necklace/6. Necklace.cpp | RumiChausheva/CS104 | 95f4df990f1a9d1397fc7da7cf137aa092498ea1 | [
"MIT"
] | null | null | null | 2021/11. Sorting/20311019/6. Necklace/6. Necklace.cpp | RumiChausheva/CS104 | 95f4df990f1a9d1397fc7da7cf137aa092498ea1 | [
"MIT"
] | 17 | 2021-03-22T09:42:22.000Z | 2022-03-28T03:24:07.000Z | #include <iostream>
#include <sstream>
using namespace std;
int main()
{
int t = 0, len = 1, n = 0, m = 0;
string array_string;
cout << "Enter array: ";
getline(cin, array_string, '\n');
int array_size = array_string.size();
int* d = new int[array_size];
int* e = new int[array_size];
... | 20.173913 | 76 | 0.342134 | RumiChausheva |
86dadc03940769e3a817b274c89415a9cc2e08c9 | 6,393 | cc | C++ | src/core/string.cc | Wesley-yang/swoole-src | 5d5a8dd77346bd92e2907db7509e4851fccc74e6 | [
"Apache-2.0"
] | null | null | null | src/core/string.cc | Wesley-yang/swoole-src | 5d5a8dd77346bd92e2907db7509e4851fccc74e6 | [
"Apache-2.0"
] | null | null | null | src/core/string.cc | Wesley-yang/swoole-src | 5d5a8dd77346bd92e2907db7509e4851fccc74e6 | [
"Apache-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| Swoole |
+----------------------------------------------------------------------+
| This source file is subject to version 2.0 of the Apache license, |
| that is bundled wi... | 29.191781 | 135 | 0.567183 | Wesley-yang |
86db46fa2bedef151b48e38a71bb556f92b7b500 | 3,954 | cpp | C++ | src/caffe/solvers/rmsprop_solver.cpp | imoisture/caffe | 4d6892afeff234c57ce470056939101e0ae71369 | [
"BSD-2-Clause"
] | null | null | null | src/caffe/solvers/rmsprop_solver.cpp | imoisture/caffe | 4d6892afeff234c57ce470056939101e0ae71369 | [
"BSD-2-Clause"
] | null | null | null | src/caffe/solvers/rmsprop_solver.cpp | imoisture/caffe | 4d6892afeff234c57ce470056939101e0ae71369 | [
"BSD-2-Clause"
] | null | null | null | /*
All modification made by Cambricon Corporation: © 2018-2019 Cambricon Corporation
All rights reserved.
All other contributions:
Copyright (c) 2014--2019, the respective contributors
All rights reserved.
For the list of contributors go to https://github.com/BVLC/caffe/blob/master/CONTRIBUTORS.md
Redistribution and us... | 39.54 | 92 | 0.735205 | imoisture |
86de3f1494031ab03625ad5e3918715f91613f51 | 14,217 | cpp | C++ | Source/Ardutosh/Window.cpp | Pharap/Ardutosh | c96c6e81eb9cf806f825e286d2b47b2365ee8d08 | [
"MIT"
] | 24 | 2019-11-09T18:52:37.000Z | 2022-03-23T04:24:27.000Z | Source/Ardutosh/Window.cpp | Pharap/Ardutosh | c96c6e81eb9cf806f825e286d2b47b2365ee8d08 | [
"MIT"
] | 1 | 2020-08-14T19:26:55.000Z | 2020-08-14T19:38:53.000Z | Source/Ardutosh/Window.cpp | Pharap/Ardutosh | c96c6e81eb9cf806f825e286d2b47b2365ee8d08 | [
"MIT"
] | 10 | 2019-11-25T07:14:42.000Z | 2022-03-17T18:29:39.000Z | #include "Window.h"
#include "Platform.h"
#include "Font.h"
#include "Defines.h"
#include "System.h"
#include "Input.h"
#include "Desktop.h"
#include "WindowManager.h"
#include "MenuBar.h"
#include "Generated/Sprites.h"
Window WindowManager::windows[maxWindows];
uint8_t WindowManager::drawOrder[maxWindows];
uint8_t Wi... | 27.821918 | 138 | 0.684673 | Pharap |
86e2347db8edd93ab1c1ebe540de08b79ac89948 | 188 | cpp | C++ | component_solution/1.4/11.cpp | hsefz2018/NOIP-openjudge | b606d399b780959caadcf0094b90fa9163f30029 | [
"MIT"
] | 11 | 2016-02-03T11:13:07.000Z | 2021-05-30T04:37:02.000Z | 1.4/11.cpp | 20200117/noip-openjudge | 5c8b0786ea3fe2208ff9a44f244a631dbc5bb24c | [
"MIT"
] | 4 | 2015-08-18T10:52:33.000Z | 2015-10-29T12:51:52.000Z | 1.4/11.cpp | 20200117/noip-openjudge | 5c8b0786ea3fe2208ff9a44f244a631dbc5bb24c | [
"MIT"
] | 5 | 2016-02-03T11:13:09.000Z | 2019-07-10T13:25:59.000Z | #include <iostream>
#include <string>
using namespace std;
int main() {
long long a;
cin >> a;
cout << ((a == 1 || a == 3 || a == 5) ? "NO" : "YES") << endl;
return 0;
}
| 15.666667 | 66 | 0.484043 | hsefz2018 |
86e2cc02567c22d0e2e236252b341748593853af | 2,031 | cpp | C++ | test/cppmetrics/concurrent/test_simple_scheduled_thread_pool_executor.cpp | konstan/cppmetrics | 41717922cbf7582c0ecad3d59eca5b361dc7b884 | [
"Apache-2.0"
] | null | null | null | test/cppmetrics/concurrent/test_simple_scheduled_thread_pool_executor.cpp | konstan/cppmetrics | 41717922cbf7582c0ecad3d59eca5b361dc7b884 | [
"Apache-2.0"
] | null | null | null | test/cppmetrics/concurrent/test_simple_scheduled_thread_pool_executor.cpp | konstan/cppmetrics | 41717922cbf7582c0ecad3d59eca5b361dc7b884 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2000-2014 NeuStar, Inc. All rights reserved.
* NeuStar, the Neustar logo and related names and logos are registered
* trademarks, service marks or tradenames of NeuStar, Inc. All other
* product names, company names, marks, logos and symbols may be trademarks
* of their respective owners.
*/
/*
*... | 26.723684 | 77 | 0.706548 | konstan |
86e2fcb086b48bda4290f5f65188c51056ee63ba | 19,817 | hpp | C++ | include/fixed_containers/fixed_map.hpp | teslamotors/cpp_utilities | 56c1d3e920836d1a61e07434104db0e3a29dbe56 | [
"MIT"
] | 32 | 2021-06-29T03:07:49.000Z | 2022-03-30T06:13:09.000Z | include/fixed_containers/fixed_map.hpp | teslamotors/cpp_utilities | 56c1d3e920836d1a61e07434104db0e3a29dbe56 | [
"MIT"
] | 1 | 2021-11-10T20:20:04.000Z | 2021-11-22T22:49:25.000Z | include/fixed_containers/fixed_map.hpp | teslamotors/cpp_utilities | 56c1d3e920836d1a61e07434104db0e3a29dbe56 | [
"MIT"
] | 4 | 2021-10-11T02:47:57.000Z | 2022-01-23T18:38:45.000Z | #pragma once
#include "fixed_containers/bidirectional_iterator.hpp"
#include "fixed_containers/fixed_red_black_tree.hpp"
#include "fixed_containers/pair_view.hpp"
#include "fixed_containers/preconditions.hpp"
#include "fixed_containers/source_location.hpp"
#include <algorithm>
#include <cstddef>
#include <functional>... | 35.706306 | 100 | 0.637029 | teslamotors |
86e5399be31cc0c578ddb5d2e98255d6e4d39139 | 4,217 | cpp | C++ | google/2017/qr/xcode/c/c/main.cpp | suhwanhwang/problem-solving | 9421488fb97c4628bea831ac59ad5c5d9b8131d4 | [
"MIT"
] | null | null | null | google/2017/qr/xcode/c/c/main.cpp | suhwanhwang/problem-solving | 9421488fb97c4628bea831ac59ad5c5d9b8131d4 | [
"MIT"
] | null | null | null | google/2017/qr/xcode/c/c/main.cpp | suhwanhwang/problem-solving | 9421488fb97c4628bea831ac59ad5c5d9b8131d4 | [
"MIT"
] | null | null | null | //
// main.cpp
// c
//
// Created by Suhwan Hwang on 2017. 4. 9..
// Copyright © 2017년 Suhwan Hwang. All rights reserved.
//
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <queue>
#include <map>
#include <cassert>
#include <ctime>
using namespace std;
typedef long long ll;
... | 22.918478 | 79 | 0.412378 | suhwanhwang |
86e7772985f5a2b75bcb3728732fb6b43223c244 | 5,164 | cpp | C++ | Source/AllProjects/GraphicUtils/CIDGraphDev/CIDGraphDev_Font.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/GraphicUtils/CIDGraphDev/CIDGraphDev_Font.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/GraphicUtils/CIDGraphDev/CIDGraphDev_Font.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDGraphDev_Font.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 05/25/2002
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensour... | 27.468085 | 78 | 0.465918 | MarkStega |
86e9cdca53548bc8e8e99e0d3b123f87696959a3 | 3,617 | cpp | C++ | libs/utils/src/Config.cpp | deathcleaver/swizzle | 1a1cc114841ea7de486cf94c6cafd9108963b4da | [
"MIT"
] | 2 | 2020-02-10T07:58:21.000Z | 2022-03-15T19:13:28.000Z | libs/utils/src/Config.cpp | deathcleaver/swizzle | 1a1cc114841ea7de486cf94c6cafd9108963b4da | [
"MIT"
] | null | null | null | libs/utils/src/Config.cpp | deathcleaver/swizzle | 1a1cc114841ea7de486cf94c6cafd9108963b4da | [
"MIT"
] | null | null | null | #include <utils/Config.hpp>
#include <fstream>
namespace utils
{
/// Value
Value::Value()
: mValue("")
{
}
Value::~Value() {}
void Value::setString(std::string value)
{
mValue = value;
}
void Value::setInt(int32_t value)
{
mValue = std::to_string(valu... | 19.342246 | 76 | 0.472215 | deathcleaver |
86ea5ac1f2afa606e2eecf1902313884e44fa02b | 31,041 | cc | C++ | src/Core/Matlab/matlabarray.cc | benjaminlarson/SCIRunGUIPrototype | ed34ee11cda114e3761bd222a71a9f397517914d | [
"Unlicense"
] | null | null | null | src/Core/Matlab/matlabarray.cc | benjaminlarson/SCIRunGUIPrototype | ed34ee11cda114e3761bd222a71a9f397517914d | [
"Unlicense"
] | null | null | null | src/Core/Matlab/matlabarray.cc | benjaminlarson/SCIRunGUIPrototype | ed34ee11cda114e3761bd222a71a9f397517914d | [
"Unlicense"
] | null | null | null | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2009 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... | 23.374247 | 141 | 0.637641 | benjaminlarson |
86ea97629926ec4478867865be12620d0e9f9c3b | 2,085 | cpp | C++ | Source/FPSGame/Private/LaunchPad.cpp | SuperArjunaButt/FPSGame | d8472c4077a2dbbbd0ce28953f8aea006bab6226 | [
"MIT"
] | null | null | null | Source/FPSGame/Private/LaunchPad.cpp | SuperArjunaButt/FPSGame | d8472c4077a2dbbbd0ce28953f8aea006bab6226 | [
"MIT"
] | 1 | 2018-12-07T16:06:08.000Z | 2018-12-07T16:06:08.000Z | Source/FPSGame/Private/LaunchPad.cpp | SuperArjunaButt/FPSGame | d8472c4077a2dbbbd0ce28953f8aea006bab6226 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "LaunchPad.h"
#include <Components/BoxComponent.h>
#include <Kismet/GameplayStatics.h>
#include <GameFramework/Character.h>
#include <Components/StaticMeshComponent.h>
#include <Components/PrimitiveComponent.h>
#include <Engine/Sta... | 28.175676 | 194 | 0.765468 | SuperArjunaButt |
86eaef7fc7e6c58843bae0462c974e7c5c11c61e | 19,537 | cpp | C++ | test/preprocess/test_verifier.cpp | snowberryfield/cpp_metaheuristics | c1533608d0b2c0860a670bfba829a9d00be7d0d8 | [
"MIT"
] | 2 | 2020-08-28T08:49:50.000Z | 2020-08-28T08:49:52.000Z | test/preprocess/test_verifier.cpp | snowberryfield/cpp_metaheuristics | c1533608d0b2c0860a670bfba829a9d00be7d0d8 | [
"MIT"
] | 7 | 2020-05-03T06:14:32.000Z | 2020-08-16T08:56:04.000Z | test/preprocess/test_verifier.cpp | snowberryfield/cpp_metaheuristics | c1533608d0b2c0860a670bfba829a9d00be7d0d8 | [
"MIT"
] | null | null | null | /*****************************************************************************/
// Copyright (c) 2020-2021 Yuji KOGUMA
// Released under the MIT license
// https://opensource.org/licenses/mit-license.php
/*****************************************************************************/
#include <gtest/gtest.h>
#include <r... | 35.521818 | 80 | 0.566361 | snowberryfield |
86ec0e5083c585fbe7aa1e2dc58563f8be5be892 | 1,233 | cpp | C++ | Plugins/LeapMotion/Source/LeapMotion/Private/LeapInteractionBox.cpp | benmadany/PaintSpace | 0e32a14416f35573928d2a49670d2eefa241aab6 | [
"MIT"
] | 15 | 2016-07-24T22:57:30.000Z | 2020-06-30T17:48:10.000Z | Plugins/LeapMotion/Source/LeapMotion/Private/LeapInteractionBox.cpp | sleepfrontofmtv/leap-ue4 | 6eb2263dd379484235a5c78d3246050b5a2f5a3b | [
"MIT"
] | 1 | 2017-03-30T13:41:21.000Z | 2017-04-02T20:23:32.000Z | Plugins/LeapMotion/Source/LeapMotion/Private/LeapInteractionBox.cpp | sleepfrontofmtv/leap-ue4 | 6eb2263dd379484235a5c78d3246050b5a2f5a3b | [
"MIT"
] | 7 | 2016-03-25T02:31:37.000Z | 2020-06-30T17:48:19.000Z | #include "LeapMotionPrivatePCH.h"
class PrivateInteractionBox
{
public:
Leap::InteractionBox interactionBox;
};
ULeapInteractionBox::ULeapInteractionBox(const FObjectInitializer &init) : UObject(init), _private(new PrivateInteractionBox())
{
}
ULeapInteractionBox::~ULeapInteractionBox()
{
delete _private;
}
void... | 27.4 | 127 | 0.804542 | benmadany |
86f6f9f2c9c98220a2a3c9087f368e1e8ea74e66 | 4,569 | hpp | C++ | QuantExt/qle/indexes/bmaindexwrapper.hpp | nvolfango/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | 1 | 2021-03-30T17:24:17.000Z | 2021-03-30T17:24:17.000Z | QuantExt/qle/indexes/bmaindexwrapper.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | null | null | null | QuantExt/qle/indexes/bmaindexwrapper.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (C) 2018 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. You... | 43.103774 | 108 | 0.706063 | nvolfango |
86f86d6ba4e5ae0b6278d2556dfcf2832f5374fe | 2,970 | cpp | C++ | oli/vii2020foto/main.cpp | rockoanna/nirvana | 81fadbe66b0a24244feec312c6f7fe5c8effccaa | [
"MIT"
] | null | null | null | oli/vii2020foto/main.cpp | rockoanna/nirvana | 81fadbe66b0a24244feec312c6f7fe5c8effccaa | [
"MIT"
] | 12 | 2019-09-04T10:38:24.000Z | 2019-12-08T18:09:41.000Z | oli/vii2020foto/main.cpp | rockoanna/nirvana | 81fadbe66b0a24244feec312c6f7fe5c8effccaa | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int prb1 (vector<vector<int>>& v)
{
int mx = -1;
int lenr = v.size();
int lenc = v[0].size();
for(int i = 0; i < lenr; i++)
{
int c = 0;
for(int j = 0; j < lenc; j++)
{
if(v[i][j] == 0)
{
... | 15.967742 | 55 | 0.287205 | rockoanna |
8101b8416bd8cd5750f451a1cab371cac7840160 | 1,465 | cpp | C++ | src/module/command.cpp | momo5502/open-iw5 | a219ba79c840ee5fd3ebda78e95fa1c002325142 | [
"MIT"
] | 31 | 2019-11-29T23:32:18.000Z | 2022-03-18T08:12:43.000Z | src/module/command.cpp | momo5502/open-iw5 | a219ba79c840ee5fd3ebda78e95fa1c002325142 | [
"MIT"
] | 35 | 2020-05-23T19:34:31.000Z | 2022-03-31T10:33:37.000Z | src/module/command.cpp | momo5502/open-iw5 | a219ba79c840ee5fd3ebda78e95fa1c002325142 | [
"MIT"
] | 23 | 2020-02-13T20:05:11.000Z | 2022-03-23T12:53:36.000Z | #include <std_include.hpp>
#include "command.hpp"
#include "utils/string.hpp"
#include "game/structs.hpp"
#include "game/game.hpp"
#include "scheduler.hpp"
utils::memory::allocator command::allocator_;
std::mutex command::mutex_;
std::unordered_map<std::string, std::function<void(const std::vector<std::string>&)>> com... | 26.636364 | 112 | 0.72901 | momo5502 |
81045062f189c687ec0abe64c3c84b0193458093 | 201 | cpp | C++ | Arkanoid/src/game.cpp | 5Daydreams/CppAssignement | 2b3662c81f6ecafb05d9a909bf2a869f256e5d9d | [
"Apache-2.0"
] | null | null | null | Arkanoid/src/game.cpp | 5Daydreams/CppAssignement | 2b3662c81f6ecafb05d9a909bf2a869f256e5d9d | [
"Apache-2.0"
] | null | null | null | Arkanoid/src/game.cpp | 5Daydreams/CppAssignement | 2b3662c81f6ecafb05d9a909bf2a869f256e5d9d | [
"Apache-2.0"
] | null | null | null | #include "game.h"
const int BLOCK_ROW_SIZE = 10;
const int BLOCK_COL_SIZE = 6;
bool resetAvailable = false;
Player player;
std::vector<Ball> balls = {};
Block blocks[BLOCK_ROW_SIZE * BLOCK_COL_SIZE]; | 22.333333 | 46 | 0.751244 | 5Daydreams |
81081003e220c898cbf8c9c21cd130575b166378 | 1,712 | cpp | C++ | ConsoleDialogue.cpp | leonardo-s-dutra/QtConsoleDialogueSystem | b9eb8c81c922c89a379e966fcc15cc20a574eb9a | [
"MIT"
] | null | null | null | ConsoleDialogue.cpp | leonardo-s-dutra/QtConsoleDialogueSystem | b9eb8c81c922c89a379e966fcc15cc20a574eb9a | [
"MIT"
] | null | null | null | ConsoleDialogue.cpp | leonardo-s-dutra/QtConsoleDialogueSystem | b9eb8c81c922c89a379e966fcc15cc20a574eb9a | [
"MIT"
] | null | null | null | #include "ConsoleDialogue.h"
ConsoleDialogue::ConsoleDialogue(QObject* parent) : QObject(parent)
{
}
LOAD_STATUS ConsoleDialogue::loadDialogue(QString fileName)
{
QDomDocument document;
LOAD_STATUS fileStatus = XMLManager::loadFile(fileName, &document);
if(fileStatus != OK)
return fileStatus;
... | 22.826667 | 93 | 0.616822 | leonardo-s-dutra |
810b25dda4132ee13d353858b9b41d4d3eb407be | 1,090 | cpp | C++ | Codeforces/1000~1999/1139/E.cpp | tiger0132/code-backup | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | [
"MIT"
] | 6 | 2018-12-30T06:16:54.000Z | 2022-03-23T08:03:33.000Z | Codeforces/1000~1999/1139/E.cpp | tiger0132/code-backup | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | [
"MIT"
] | null | null | null | Codeforces/1000~1999/1139/E.cpp | tiger0132/code-backup | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <queue>
const int N = 1e4 + 41, M = 2e4 + 42, INF = 0x3f3f3f3f;
struct edge {
int to, next;
} e[M << 1];
int head[N], cnt = 1;
void ad(int x, int y) {
e[++cnt] = (edge){y, x[head]}, x[head] = cnt;
e[++cnt] = (edge){x, y[head]}, y[head] = cnt;
}
in... | 24.772727 | 66 | 0.468807 | tiger0132 |
8111e1f2b6245bd63e5d5d04f016ac8623fb782c | 552 | hpp | C++ | include/krypto/krpyto.hpp | cppnetwork-tools/krypto | c7a6466304e67e1483902931a59e69de375c4868 | [
"MIT"
] | null | null | null | include/krypto/krpyto.hpp | cppnetwork-tools/krypto | c7a6466304e67e1483902931a59e69de375c4868 | [
"MIT"
] | null | null | null | include/krypto/krpyto.hpp | cppnetwork-tools/krypto | c7a6466304e67e1483902931a59e69de375c4868 | [
"MIT"
] | null | null | null | // Copyright (c) 2021-present cppnetwork
// Copyright (c) 2021-present James Marjun Jallorina
// All Rights Reserved
//
// Distributed under the "MIT License". See the accompanying LICENSE.rst file.
#ifndef INCLUDE_KRYPTO_HPP_
#define INCLUDE_KRYPTO_HPP_
#include <krypto/core.hpp>
namespace krypto
{
// declare all p... | 19.714286 | 78 | 0.755435 | cppnetwork-tools |
81140f062df325442184a8aa315f59402366ce60 | 316 | cpp | C++ | Lectures/Lecture8/constPointerParameter.cpp | Emin-Abdurahmanov/BasicsOfProgramming | 0742b1639170c81047a36ead989df29fdfcf6fba | [
"MIT"
] | 1 | 2021-11-12T13:11:22.000Z | 2021-11-12T13:11:22.000Z | Lectures/Lecture8/constPointerParameter.cpp | Emin-Abdurahmanov/BasicsOfProgramming | 0742b1639170c81047a36ead989df29fdfcf6fba | [
"MIT"
] | null | null | null | Lectures/Lecture8/constPointerParameter.cpp | Emin-Abdurahmanov/BasicsOfProgramming | 0742b1639170c81047a36ead989df29fdfcf6fba | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
using namespace std;
void printArray(const int *array, const int size)
{
for(int i=0; i<size; i++)
cout << setw(4) << array[i];
cout << "\n";
}
int main(int argc, char** argv) {
int numbers[5]={5, 10, 15, 20, 25};
printArray(numbers,5);
return 0;
}
| 17.555556 | 50 | 0.588608 | Emin-Abdurahmanov |
811736d3174ced9f2ad2fd862f2d8990855ae57c | 1,316 | cpp | C++ | Graph/ConnectedComponents/main.cpp | siddhantdixit/CP | 4090df581e666a0053c282a3c386c346cfb1b85f | [
"MIT"
] | null | null | null | Graph/ConnectedComponents/main.cpp | siddhantdixit/CP | 4090df581e666a0053c282a3c386c346cfb1b85f | [
"MIT"
] | null | null | null | Graph/ConnectedComponents/main.cpp | siddhantdixit/CP | 4090df581e666a0053c282a3c386c346cfb1b85f | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
using namespace std;
class Graph
{
public:
vector<int> *adj;
int vertex;
vector<bool> visited;
Graph(int noOfV)
{
vertex = noOfV;
adj = new vector<int>[noOfV];
}
void addEdge(int u,int v)
{
adj[u].push_back(v);
a... | 16.45 | 51 | 0.380699 | siddhantdixit |
811790bc55e38ed09dbb7ae3e4198e90b9b02ff8 | 13,700 | cpp | C++ | src/caffe/data_reader.cpp | cathy-kim/RefineDet | 7b7497e4ea0d35c2900c18eb2c8d49177ca7d915 | [
"BSD-2-Clause"
] | 19 | 2019-03-05T13:36:03.000Z | 2019-08-27T22:09:22.000Z | src/caffe/data_reader.cpp | cathy-kim/RefineDet | 7b7497e4ea0d35c2900c18eb2c8d49177ca7d915 | [
"BSD-2-Clause"
] | null | null | null | src/caffe/data_reader.cpp | cathy-kim/RefineDet | 7b7497e4ea0d35c2900c18eb2c8d49177ca7d915 | [
"BSD-2-Clause"
] | 4 | 2019-03-14T13:01:59.000Z | 2019-08-27T22:09:39.000Z | #include <boost/thread.hpp>
#include <sys/sysinfo.h>
#include "caffe/util/rng.hpp"
#include "caffe/parallel.hpp"
#include "caffe/data_reader.hpp"
namespace caffe {
template<typename DatumType>
std::mutex DataReader<DatumType>::db_mutex_;
// https://stackoverflow.com/questions/26935824/gcc-gives-an-undefined-referenc... | 33.578431 | 126 | 0.612336 | cathy-kim |
8117a7559668e19e3e0a3979fd8f577738a30046 | 28,087 | cpp | C++ | libi2pd_client/I2PTunnel.cpp | KenanSulayman/i2pd | 50e4fb138a48ce07a89c19d1f5c8888cec3dae78 | [
"BSD-3-Clause"
] | 1 | 2021-09-05T04:25:24.000Z | 2021-09-05T04:25:24.000Z | libi2pd_client/I2PTunnel.cpp | KenanSulayman/i2pd | 50e4fb138a48ce07a89c19d1f5c8888cec3dae78 | [
"BSD-3-Clause"
] | null | null | null | libi2pd_client/I2PTunnel.cpp | KenanSulayman/i2pd | 50e4fb138a48ce07a89c19d1f5c8888cec3dae78 | [
"BSD-3-Clause"
] | null | null | null | #include <cassert>
#include "Base.h"
#include "Log.h"
#include "Destination.h"
#include "ClientContext.h"
#include "I2PTunnel.h"
namespace i2p
{
namespace client
{
/** set standard socket options */
static void I2PTunnelSetSocketOptions(std::shared_ptr<boost::asio::ip::tcp::socket> socket)
{
if (socket && socket... | 32.246843 | 193 | 0.693132 | KenanSulayman |
811bfa25613a6a7979bb101d26267fd4b9311358 | 1,153 | hpp | C++ | handlersocket/hstcpsvr.hpp | megadrow/HandlerSocket-Plugin-for-MySQL | 50a8751ebbbada53323dcec7c30725917dce06c0 | [
"BSD-3-Clause"
] | 251 | 2015-01-06T02:22:58.000Z | 2022-03-22T22:10:19.000Z | handlersocket/hstcpsvr.hpp | wuwx/HandlerSocket-Plugin-for-MySQL | 635b93097cf8c08594b8248d5da13237778e98b0 | [
"BSD-3-Clause"
] | 16 | 2015-01-02T05:15:32.000Z | 2020-07-07T14:40:55.000Z | pmem-mariadb/plugin/handler_socket/handlersocket/hstcpsvr.hpp | isabella232/pmdk-examples | be7a5a18ba7bb8931e512f6d552eadf820fa2235 | [
"BSD-3-Clause"
] | 54 | 2015-01-04T03:46:31.000Z | 2021-05-10T23:47:13.000Z |
// vim:sw=2:ai
/*
* Copyright (C) 2010 DeNA Co.,Ltd.. All rights reserved.
* See COPYRIGHT.txt for details.
*/
#ifndef DENA_HSTCPSVR_HPP
#define DENA_HSTCPSVR_HPP
#include <memory>
#include <string>
#include <map>
#include "mutex.hpp"
#include "auto_file.hpp"
#include "database.hpp"
#include "config.hpp"
#inclu... | 19.542373 | 67 | 0.724198 | megadrow |
811c3b5e252a63e9c87c5a60a0ced9068b729d4c | 2,246 | cpp | C++ | libconfig/contrib/chained/examples/example2.cpp | adebrecht661/asteroid-spring-sims | 8767d17a0c7229c0603c8b16f6090efeed70614e | [
"MIT"
] | null | null | null | libconfig/contrib/chained/examples/example2.cpp | adebrecht661/asteroid-spring-sims | 8767d17a0c7229c0603c8b16f6090efeed70614e | [
"MIT"
] | 1 | 2020-08-05T23:03:36.000Z | 2020-08-05T23:03:36.000Z | libconfig/contrib/chained/examples/example2.cpp | adebrecht661/asteroid-spring-sims | 8767d17a0c7229c0603c8b16f6090efeed70614e | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------------
libconfig - A library for processing structured configuration files
libconfig chained - Extension for reading the configuration and defining
the configuration specification at once.
Copyright (C) 2016 Richar... | 30.767123 | 79 | 0.613535 | adebrecht661 |
811d7199ec37014b45ff8626ce9db15d4c318d1b | 2,690 | cpp | C++ | Tests/UserspaceEmulator/ue-write-oob.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 19,438 | 2019-05-20T15:11:11.000Z | 2022-03-31T23:31:32.000Z | Tests/UserspaceEmulator/ue-write-oob.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 7,882 | 2019-05-20T01:03:52.000Z | 2022-03-31T23:26:31.000Z | Tests/UserspaceEmulator/ue-write-oob.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 2,721 | 2019-05-23T00:44:57.000Z | 2022-03-31T22:49:34.000Z | /*
* Copyright (c) 2021, Ben Wiederhake <BenWiederhake.GitHub@gmx.de>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Assertions.h>
#include <LibCore/ArgsParser.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
static void write8(void* ptr) { *(volatile uint8_t*)ptr = 1... | 33.209877 | 160 | 0.634572 | r00ster91 |
811e109cf0ea069e378f7d8f18003bd58cd99976 | 6,186 | cpp | C++ | src/ossim/imaging/ossimSubImageTileSource.cpp | rkanavath/ossim18 | d2e8204d11559a6a868755a490f2ec155407fa96 | [
"MIT"
] | null | null | null | src/ossim/imaging/ossimSubImageTileSource.cpp | rkanavath/ossim18 | d2e8204d11559a6a868755a490f2ec155407fa96 | [
"MIT"
] | null | null | null | src/ossim/imaging/ossimSubImageTileSource.cpp | rkanavath/ossim18 | d2e8204d11559a6a868755a490f2ec155407fa96 | [
"MIT"
] | 1 | 2019-09-25T00:43:35.000Z | 2019-09-25T00:43:35.000Z | //*****************************************************************************
// FILE: ossimSubImageTileSource.cc
//
// Copyright (C) 2001 ImageLinks, Inc.
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// AUTHOR: Oscar Kramer
//
// DESCRIPTION: Contains implementation ... | 27.251101 | 86 | 0.581474 | rkanavath |
811f473ea96e040d2598f48089ce186e803281be | 8,824 | cpp | C++ | openstudiocore/src/model/test/Screen_GTest.cpp | hellok-coder/OS-Testing | e9e18ad9e99f709a3f992601ed8d2e0662175af4 | [
"blessing"
] | 1 | 2019-11-12T02:07:03.000Z | 2019-11-12T02:07:03.000Z | openstudiocore/src/model/test/Screen_GTest.cpp | hellok-coder/OS-Testing | e9e18ad9e99f709a3f992601ed8d2e0662175af4 | [
"blessing"
] | 1 | 2019-02-04T23:30:45.000Z | 2019-02-04T23:30:45.000Z | openstudiocore/src/model/test/Screen_GTest.cpp | hellok-coder/OS-Testing | e9e18ad9e99f709a3f992601ed8d2e0662175af4 | [
"blessing"
] | null | null | null | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 39.044248 | 125 | 0.736514 | hellok-coder |
811fa21ae289890f35a07aaabec77d48507b4138 | 1,617 | cpp | C++ | src/c_compiler/ast/var.cpp | fexter-svk/C90-Compiler-EIE2 | 498cee1b2ebc43fb17342f46c1939bdddd20b2cf | [
"MIT"
] | 11 | 2018-07-12T11:59:06.000Z | 2021-04-17T06:57:44.000Z | src/c_compiler/ast/var.cpp | fexter-svk/C90-Compiler-EIE2 | 498cee1b2ebc43fb17342f46c1939bdddd20b2cf | [
"MIT"
] | null | null | null | src/c_compiler/ast/var.cpp | fexter-svk/C90-Compiler-EIE2 | 498cee1b2ebc43fb17342f46c1939bdddd20b2cf | [
"MIT"
] | 2 | 2020-01-30T05:18:36.000Z | 2021-03-16T10:59:18.000Z | #include "var.hpp"
Var::Var(const string& _id, const string& _reg_id, const string& _type)
:var_id(_id),reg_id(_reg_id),type(_type){
}
size_t Var::getSize() const{
if ( (type.compare("char")==0) || (type.compare("unsigned char")==0)
|| (type.compare("signed char")==0)){
return 1;
}
if ( ... | 25.265625 | 74 | 0.625232 | fexter-svk |
8122cb15ef5007d51a70a5bac2033e8603f86372 | 615,305 | cpp | C++ | src/main_2100.cpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | src/main_2100.cpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | src/main_2100.cpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppSourceCreator
// Created by Sc2ad
// =========================================================================
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: LiteNetLib.Layers.PacketLayerBase
#include "LiteNetLib/Layers/PacketLayerBase.hpp"
// Incl... | 77.650808 | 383 | 0.806047 | Fernthedev |
812caa6113aaedb043c017b6810b4b39adf2fa52 | 24,845 | hpp | C++ | include/UnityEngine/AddressableAssets/ResourceLocators/ContentCatalogData.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/UnityEngine/AddressableAssets/ResourceLocators/ContentCatalogData.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/UnityEngine/AddressableAssets/ResourceLocators/ContentCatalogData.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.ResourceManagement.Util... | 65.55409 | 356 | 0.777742 | RedBrumbler |
812f57ffc18b4665114131a8abe5fa4527e16c34 | 867 | cpp | C++ | Nana.Cpp03/source/any.cpp | gfannes/nana | 3b8d33f9a98579684ea0440b6952deabe61bd978 | [
"BSL-1.0"
] | 1 | 2018-02-09T21:25:13.000Z | 2018-02-09T21:25:13.000Z | Nana.Cpp03/source/any.cpp | gfannes/nana | 3b8d33f9a98579684ea0440b6952deabe61bd978 | [
"BSL-1.0"
] | null | null | null | Nana.Cpp03/source/any.cpp | gfannes/nana | 3b8d33f9a98579684ea0440b6952deabe61bd978 | [
"BSL-1.0"
] | null | null | null | #include <nana/any.hpp>
namespace nana
{
//class any
//struct super_type
any::super_type::~super_type(){}
any::super_type& any::super_type::operator=(const any::super_type &rhs)
{
return assign(rhs);
}
//end struct super_type
any::any()
:super_(0)
{}
any::any(const any& rhs)
... | 14.948276 | 74 | 0.5594 | gfannes |
8132df5d8ebcc8c3cec39b0a1ab2b3a32dc6d871 | 2,488 | cpp | C++ | Assignments/TSP/matrixd.cpp | lightofanima/Adventures | efb9d001520ff0b88746d8b3cf024de3307e45c7 | [
"MIT"
] | null | null | null | Assignments/TSP/matrixd.cpp | lightofanima/Adventures | efb9d001520ff0b88746d8b3cf024de3307e45c7 | [
"MIT"
] | null | null | null | Assignments/TSP/matrixd.cpp | lightofanima/Adventures | efb9d001520ff0b88746d8b3cf024de3307e45c7 | [
"MIT"
] | null | null | null | #include <math.h>
#include "matrixd.h"
using namespace std;
namespace math
{
float dot (const vec2& v1, const vec2& v2)
{
return v1.x*v2.x+v1.y*v2.y;
}
vec2::vec2 ()
{
reset();
}
vec2::vec2 (const float x_, const float y_)
{
x=x_;
y=y_;
}
vec2::vec2 (const float n)
{
x = n;
y = n;
}
... | 14.635294 | 78 | 0.549437 | lightofanima |
81330c5f368f89c049dd2f69fbafad62bc37cc40 | 1,391 | cpp | C++ | main.cpp | The-Last-Cookie/Monty-Hall-Problem | 445eaf77b7119896a0f1985225aaeed36105940d | [
"MIT"
] | null | null | null | main.cpp | The-Last-Cookie/Monty-Hall-Problem | 445eaf77b7119896a0f1985225aaeed36105940d | [
"MIT"
] | null | null | null | main.cpp | The-Last-Cookie/Monty-Hall-Problem | 445eaf77b7119896a0f1985225aaeed36105940d | [
"MIT"
] | null | null | null | #include <iostream>
#include "moderator.h"
#include "participant.h"
#include "random.h"
#define SWITCH true
// number of games played
#define GAMES 100000
int main() {
Moderator mod;
Participant participant;
for (int i = 0; i < GAMES; i++) {
mod.shuffleDoors();
// Participant cho... | 24.839286 | 75 | 0.583753 | The-Last-Cookie |
813455e9d432f564972c6c546fbed6da0f7bfa5f | 199 | hpp | C++ | utilities/pad.hpp | Bartis1313/csgo | 2af92e14406182bd0b3c15c0143a67e7d1908d02 | [
"MIT"
] | 54 | 2021-11-15T13:39:51.000Z | 2022-03-21T17:13:28.000Z | utilities/pad.hpp | Bartis1313/csgo | 2af92e14406182bd0b3c15c0143a67e7d1908d02 | [
"MIT"
] | 24 | 2021-11-08T06:59:34.000Z | 2022-03-17T05:17:03.000Z | utilities/pad.hpp | Bartis1313/csgo | 2af92e14406182bd0b3c15c0143a67e7d1908d02 | [
"MIT"
] | 10 | 2021-11-10T06:52:14.000Z | 2022-02-02T17:09:20.000Z | #pragma once
#include <cstddef>
#define CONCAT_IMPL(x, y) x##y
#define MACRO_CONCAT(x, y) CONCAT_IMPL(x, y)
#define PAD(SIZE) \
private: \
std::byte MACRO_CONCAT(_pad, __COUNTER__)[SIZE]; \
public: | 22.111111 | 51 | 0.713568 | Bartis1313 |
8135b3e884bb94056abc48864808a3e21b714241 | 896 | hpp | C++ | trab4/src/InputManager.hpp | prxg22/IDJ | 3a8d41de8e4956c27c81e1df359ca91fff2ffacb | [
"MIT"
] | null | null | null | trab4/src/InputManager.hpp | prxg22/IDJ | 3a8d41de8e4956c27c81e1df359ca91fff2ffacb | [
"MIT"
] | null | null | null | trab4/src/InputManager.hpp | prxg22/IDJ | 3a8d41de8e4956c27c81e1df359ca91fff2ffacb | [
"MIT"
] | null | null | null | #ifndef INPUTMANAGER_HPP
#define INPUTMANAGER_HPP
#include <unordered_map>
#define LEFT_ARROW_KEY SDLK_LEFT
#define RIGHT_ARROW_KEY SDLK_RIGHT
#define UP_ARROW_KEY SDLK_UP
#define DOWN_ARROW_KEY SDLK_DOWN
#define ESCAPE_KEY SDLK_ESCAPE
#define SPACE_KEY SDLK_SPACE
#define LEFT_MOUSE_BUTTON SDL_BUTTON_LEFT
class Inpu... | 19.06383 | 41 | 0.774554 | prxg22 |
813622f7133c09c22ac5f12e90aa55c02bc0bb51 | 9,324 | cpp | C++ | Tudat/Astrodynamics/OrbitDetermination/RotationalDynamicsPartials/inertialTorquePartial.cpp | J-Westin/tudat | 82ebe9e6e2dd51d0688b77960e62e980e6b8bcb8 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/OrbitDetermination/RotationalDynamicsPartials/inertialTorquePartial.cpp | J-Westin/tudat | 82ebe9e6e2dd51d0688b77960e62e980e6b8bcb8 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/OrbitDetermination/RotationalDynamicsPartials/inertialTorquePartial.cpp | J-Westin/tudat | 82ebe9e6e2dd51d0688b77960e62e980e6b8bcb8 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2010-2018, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have receiv... | 44.189573 | 175 | 0.648005 | J-Westin |
81369b173a4532c5912be0ae87a4480804f7379c | 9,099 | cpp | C++ | tests/helics/shared_library/FederateTests.cpp | bmkelley/HELICS | 742383907e5ad8af25a97d17a60985976af7c2e1 | [
"BSD-3-Clause"
] | null | null | null | tests/helics/shared_library/FederateTests.cpp | bmkelley/HELICS | 742383907e5ad8af25a97d17a60985976af7c2e1 | [
"BSD-3-Clause"
] | null | null | null | tests/helics/shared_library/FederateTests.cpp | bmkelley/HELICS | 742383907e5ad8af25a97d17a60985976af7c2e1 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2017-2018,
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
Energy, LLC All rights reserved. See LICENSE file and DISCLAIMER for more details.
*/
#include "helics/application_api/Federate.hpp"
#include "helics/core/BrokerFactory.hpp"
#include "helics/core... | 35.682353 | 96 | 0.698318 | bmkelley |
813719ff4750e2a3a80b5aade260ec57917c1d86 | 694 | cpp | C++ | Portable/zoolib/Compare_string.cpp | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 13 | 2015-01-28T21:05:09.000Z | 2021-11-03T22:21:11.000Z | Portable/zoolib/Compare_string.cpp | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | null | null | null | Portable/zoolib/Compare_string.cpp | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 4 | 2018-11-16T08:33:33.000Z | 2021-12-11T19:40:46.000Z | // Copyright (c) 2010 Andrew Green. MIT License. http://www.zoolib.org
#include "zoolib/Compare_string.h"
#include "zoolib/Memory.h" // For sMemCompare
#include "zoolib/size_t.h" // For size_t
namespace ZooLib {
bool FastComparator_String::operator()(const std::string& iLeft, const std::string& iRight) const
{
if... | 19.828571 | 97 | 0.657061 | ElectricMagic |
8138ebdf1f1572708f9b7e652a5c176dd1cbcef9 | 1,582 | cpp | C++ | Code from the book/Ch8/Ex8_03.cpp | salomarx/Visual_studio_2008_for_C_plus | 5ff62b7e7f6232df38152390cc56c2d394567cab | [
"MIT"
] | null | null | null | Code from the book/Ch8/Ex8_03.cpp | salomarx/Visual_studio_2008_for_C_plus | 5ff62b7e7f6232df38152390cc56c2d394567cab | [
"MIT"
] | null | null | null | Code from the book/Ch8/Ex8_03.cpp | salomarx/Visual_studio_2008_for_C_plus | 5ff62b7e7f6232df38152390cc56c2d394567cab | [
"MIT"
] | null | null | null | // Ex8_03.cpp
// Exercising the overloaded 'greater than' operator
#include <iostream> // For stream I/O
using std::cout;
using std::endl;
class CBox // Class definition at global scope
{
public:
// Constructor definition
CBox(double lv = 1.0, double wv = 1.... | 24.71875 | 76 | 0.562579 | salomarx |
81411d2f65c30d1bb80487b8b10d4d93ef22b700 | 6,711 | cpp | C++ | aws-cpp-sdk-sagemaker/source/model/PendingProductionVariantSummary.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-sagemaker/source/model/PendingProductionVariantSummary.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-sagemaker/source/model/PendingProductionVariantSummary.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sagemaker/model/PendingProductionVariantSummary.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
nam... | 28.436441 | 147 | 0.776188 | perfectrecall |
8142bb4bd51f0d68e4152b2d11af383fb9cb7d2f | 3,244 | cpp | C++ | src/common/Misc/Async.cpp | bematteo/Cauldron | 3e4a021fc0d3e0372347126771a5155016810a11 | [
"MIT"
] | 590 | 2019-07-23T13:39:32.000Z | 2022-03-31T02:09:29.000Z | src/common/Misc/Async.cpp | bematteo/Cauldron | 3e4a021fc0d3e0372347126771a5155016810a11 | [
"MIT"
] | 23 | 2019-07-24T02:22:52.000Z | 2022-02-08T08:48:27.000Z | src/common/Misc/Async.cpp | bematteo/Cauldron | 3e4a021fc0d3e0372347126771a5155016810a11 | [
"MIT"
] | 67 | 2019-07-23T16:26:39.000Z | 2022-03-16T08:46:53.000Z | // AMD Cauldron code
//
// Copyright(c) 2017 Advanced Micro Devices, Inc.All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to deal
// in the Software without restriction, including without limitat... | 23.507246 | 104 | 0.636868 | bematteo |
8143f4c1c9e02205b7f7edf2ad29d7702d7220b0 | 8,330 | hpp | C++ | src/private_headers/Ogre_glTF_modelConverter.hpp | jprajala/Ogre_glTF | 1b22fa801c7a7f09a4e4a204f074333404e0b417 | [
"MIT"
] | null | null | null | src/private_headers/Ogre_glTF_modelConverter.hpp | jprajala/Ogre_glTF | 1b22fa801c7a7f09a4e4a204f074333404e0b417 | [
"MIT"
] | null | null | null | src/private_headers/Ogre_glTF_modelConverter.hpp | jprajala/Ogre_glTF | 1b22fa801c7a7f09a4e4a204f074333404e0b417 | [
"MIT"
] | null | null | null | #pragma once
#include <Ogre.h>
#include <tiny_gltf.h>
#include "Ogre_glTF.hpp"
namespace Ogre_glTF
{
///Base class of all geometry buffers. These buffer are intended to hold memory allocated to be SIMD friendly by OGRE
class geometryBuffer_base
{
public:
///Non copyable object
geometryBuffer_base(const geomet... | 41.442786 | 198 | 0.744538 | jprajala |
814a75fc21a6d4b5ef4c2d7622f802abcc39929f | 836 | cpp | C++ | env.cpp | halon-extras/env | 2b8cc0cd225e0a9e4a2a770fe0f246b650a67e38 | [
"MIT"
] | null | null | null | env.cpp | halon-extras/env | 2b8cc0cd225e0a9e4a2a770fe0f246b650a67e38 | [
"MIT"
] | null | null | null | env.cpp | halon-extras/env | 2b8cc0cd225e0a9e4a2a770fe0f246b650a67e38 | [
"MIT"
] | null | null | null | #include <HalonMTA.h>
#include <stdlib.h>
HALON_EXPORT
int Halon_version()
{
return HALONMTA_PLUGIN_VERSION;
}
void _getenv(HalonHSLContext* hhc, HalonHSLArguments* args, HalonHSLValue* ret)
{
HalonHSLValue* a;
char* name_ = nullptr;
a = HalonMTA_hsl_argument_get(args, 0);
if (a && HalonMTA_hsl_value_type(a) ==... | 23.222222 | 98 | 0.766746 | halon-extras |
8152ff33eca88a418bbdfebc8cca76d50255ff86 | 7,716 | cpp | C++ | src/main/cpp/subsystems/Climber.cpp | KyleQ1/Shooter | d2ab3c0409560d6593a42ac8cf4a443199028852 | [
"BSD-2-Clause"
] | null | null | null | src/main/cpp/subsystems/Climber.cpp | KyleQ1/Shooter | d2ab3c0409560d6593a42ac8cf4a443199028852 | [
"BSD-2-Clause"
] | null | null | null | src/main/cpp/subsystems/Climber.cpp | KyleQ1/Shooter | d2ab3c0409560d6593a42ac8cf4a443199028852 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2019 FRC Team 3512. All Rights Reserved.
#include "subsystems/Climber.hpp"
#include <chrono>
#include <frc/DriverStation.h>
#include <wpi/raw_ostream.h>
#include "Robot.hpp"
using namespace frc3512;
using namespace std::chrono_literals;
Climber::Climber() : PublishNode("Climber") {
m_encoder.... | 32.016598 | 80 | 0.584111 | KyleQ1 |
8154af3cf0a874fe59d82344ae810999f51bf092 | 2,884 | cc | C++ | CommBasicObjects/smartsoft/src-gen/CommBasicObjects/CommPropertySetACE.cc | canonical-robots/DomainModelsRepositories | 68b9286d84837e5feb7b200833b158ab9c2922a4 | [
"BSD-3-Clause"
] | null | null | null | CommBasicObjects/smartsoft/src-gen/CommBasicObjects/CommPropertySetACE.cc | canonical-robots/DomainModelsRepositories | 68b9286d84837e5feb7b200833b158ab9c2922a4 | [
"BSD-3-Clause"
] | 2 | 2020-08-20T14:49:47.000Z | 2020-10-07T16:10:07.000Z | CommBasicObjects/smartsoft/src-gen/CommBasicObjects/CommPropertySetACE.cc | canonical-robots/DomainModelsRepositories | 68b9286d84837e5feb7b200833b158ab9c2922a4 | [
"BSD-3-Clause"
] | 8 | 2018-06-25T08:41:28.000Z | 2020-08-13T10:39:30.000Z | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | 36.974359 | 97 | 0.721221 | canonical-robots |
8155088759d0ae148e59ca036f2c47f904caa0fe | 4,934 | hpp | C++ | include/GlobalNamespace/TableViewWithDetailCell_IDataSource.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/TableViewWithDetailCell_IDataSource.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/TableViewWithDetailCell_IDataSource.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: TableViewWithDetailCell
#include "GlobalNamespace/TableViewWithDetailCe... | 60.170732 | 275 | 0.754155 | Fernthedev |
815635d421f69b08c1cfca8148a7dad1d20b319c | 1,218 | hpp | C++ | src/config/variants.hpp | NikhitaR-IFX/high-side-switch | 37ce95da04f228a36885c14e2b2046e7137e1996 | [
"MIT"
] | 6 | 2020-09-17T14:34:56.000Z | 2022-01-26T02:41:15.000Z | src/config/variants.hpp | NikhitaR-IFX/high-side-switch | 37ce95da04f228a36885c14e2b2046e7137e1996 | [
"MIT"
] | 3 | 2020-05-19T12:03:07.000Z | 2021-09-09T10:53:51.000Z | src/config/variants.hpp | NikhitaR-IFX/high-side-switch | 37ce95da04f228a36885c14e2b2046e7137e1996 | [
"MIT"
] | 3 | 2021-08-30T13:13:55.000Z | 2022-01-26T02:41:11.000Z | /**
* @file variants.hpp
* @brief Defines the characteristic values of the different BTS700x variants
* @date May 2020
* @copyright Copyright (c) 2019-2020 Infineon Technologies AG
*
* SPDX-License-Identifier: MIT
*/
#ifndef VARIANTS_HPP_
#define VARIANTS_HPP_
#include <stdint.h>
/**... | 29 | 115 | 0.66092 | NikhitaR-IFX |
816050134b83a43b98a101595aac9ff95297df3d | 21,467 | cpp | C++ | src/grid.cpp | philip1337/samp-plugin-streamer | 54b08afd5e73bd5f68f67f9cf8cc78189bf6ef8a | [
"Apache-2.0"
] | 2 | 2017-07-23T23:27:03.000Z | 2017-07-24T06:18:13.000Z | src/grid.cpp | Sphinxila/samp-plugin-streamer | 54b08afd5e73bd5f68f67f9cf8cc78189bf6ef8a | [
"Apache-2.0"
] | null | null | null | src/grid.cpp | Sphinxila/samp-plugin-streamer | 54b08afd5e73bd5f68f67f9cf8cc78189bf6ef8a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2017 Incognito
*
* 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 t... | 27.557125 | 172 | 0.67825 | philip1337 |
8163e275254bc65840ff36981f818e5246e8b2ae | 1,243 | hxx | C++ | include/distant/agents/impl/memory_status.hxx | Ostoic/distant | 4527634b262a9b3a6ff756c1f86e5d09fe136c97 | [
"MIT"
] | 12 | 2021-05-17T18:58:14.000Z | 2021-12-15T05:04:20.000Z | include/distant/agents/impl/memory_status.hxx | Ostoic/distant | 4527634b262a9b3a6ff756c1f86e5d09fe136c97 | [
"MIT"
] | null | null | null | include/distant/agents/impl/memory_status.hxx | Ostoic/distant | 4527634b262a9b3a6ff756c1f86e5d09fe136c97 | [
"MIT"
] | 3 | 2021-05-01T04:20:56.000Z | 2021-12-09T12:25:41.000Z | // @copyright 2017 - 2018 Shaun Ostoic
// Distributed under the MIT License.
// (See accompanying file LICENSE.md or copy at https://opensource.org/licenses/MIT)
#pragma once
#include "../memory_status.hpp"
namespace distant::agents {
//public:
inline memory_status::memory_status(const process<required_status_acce... | 27.021739 | 125 | 0.767498 | Ostoic |
81649b55caf364b9fe3ac342e3e8eed1594fdd37 | 1,086 | cpp | C++ | external/armadillo-10.1.2/tests2/fn_cross.cpp | hb407/libnome | cf11c6e34e6d147e28bfc6f54dd3ca81d2443438 | [
"MIT"
] | 55 | 2020-10-07T20:22:22.000Z | 2021-08-28T10:58:36.000Z | external/armadillo-10.1.2/tests2/fn_cross.cpp | hb407/libnome | cf11c6e34e6d147e28bfc6f54dd3ca81d2443438 | [
"MIT"
] | 31 | 2020-05-19T08:01:46.000Z | 2020-05-28T07:33:35.000Z | external/armadillo-10.1.2/tests2/fn_cross.cpp | hb407/libnome | cf11c6e34e6d147e28bfc6f54dd3ca81d2443438 | [
"MIT"
] | 11 | 2019-12-16T16:06:19.000Z | 2020-04-15T15:28:31.000Z | // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2015 National ICT Australia (NICTA)
//
// 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.or... | 27.846154 | 75 | 0.630755 | hb407 |
8168a0d2244a8663ae98087e6f65553ae05485e5 | 4,610 | hpp | C++ | include/tiled/World.hpp | ProfAndreaPollini/tileson | a1ec661aeca7144985b902283b2a6dc92b8ee854 | [
"BSD-2-Clause"
] | 97 | 2019-08-25T19:24:10.000Z | 2022-03-22T15:05:43.000Z | include/tiled/World.hpp | ProfAndreaPollini/tileson | a1ec661aeca7144985b902283b2a6dc92b8ee854 | [
"BSD-2-Clause"
] | 59 | 2019-09-01T20:17:35.000Z | 2022-03-19T13:49:42.000Z | include/tiled/World.hpp | ProfAndreaPollini/tileson | a1ec661aeca7144985b902283b2a6dc92b8ee854 | [
"BSD-2-Clause"
] | 24 | 2020-04-26T22:51:40.000Z | 2022-03-14T13:03:24.000Z | //
// Created by robin on 01.08.2020.
//
#ifndef TILESON_WORLD_HPP
#define TILESON_WORLD_HPP
#include "../objects/WorldMapData.hpp"
#include <memory>
namespace tson
{
class Tileson;
class World
{
public:
#ifdef JSON11_IS_DEFINED
inline explicit World(std::unique_ptr<tson::I... | 32.013889 | 146 | 0.598698 | ProfAndreaPollini |
816d995b391ab9ad0b21810bd278275c310865d7 | 23,584 | hpp | C++ | include/psst/math/colors.hpp | loopunit/zmij_math | 8eb58208edfe6b4b61cd2c7557f3b29ef58a4261 | [
"Apache-2.0"
] | null | null | null | include/psst/math/colors.hpp | loopunit/zmij_math | 8eb58208edfe6b4b61cd2c7557f3b29ef58a4261 | [
"Apache-2.0"
] | null | null | null | include/psst/math/colors.hpp | loopunit/zmij_math | 8eb58208edfe6b4b61cd2c7557f3b29ef58a4261 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018 Sergei A. Fedorov
* colors.hpp
*
* Created on: Dec 30, 2018
* Author: ser-fedorov
*/
#ifndef PSST_MATH_COLORS_HPP_
#define PSST_MATH_COLORS_HPP_
#include <psst/math/vector.hpp>
#include <psst/math/vector_io.hpp>
namespace psst {
namespace math {
namespace components {
struct argb {
... | 33.35785 | 100 | 0.618937 | loopunit |
816ecd3d09507fb18187a5b5c1e652391b956848 | 5,097 | cpp | C++ | examples_oldgl_glfw_glad/13_CollisionLineHightfield/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | 1 | 2020-07-18T17:03:36.000Z | 2020-07-18T17:03:36.000Z | examples_oldgl_glfw_glad/13_CollisionLineHightfield/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | null | null | null | examples_oldgl_glfw_glad/13_CollisionLineHightfield/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Nobuyuki Umetani
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <filesystem>
#include <cmath>
#if defined(_WIN32) // windows
# define NOMINMAX // to remove min,max macro
# include <windows.h> //... | 31.85625 | 102 | 0.615656 | mmer547 |
816f5b9e2767173d3c5eb74529661f8d0445265b | 1,238 | hpp | C++ | Input.hpp | sthairno/S3DNodeEditor | 150a42f4687adb07e85c53c7cc707651502a9974 | [
"MIT"
] | 6 | 2020-08-14T01:44:01.000Z | 2022-01-03T17:01:06.000Z | Input.hpp | sthairno/S3DNodeEditor | 150a42f4687adb07e85c53c7cc707651502a9974 | [
"MIT"
] | 6 | 2020-10-25T07:54:54.000Z | 2020-10-26T03:20:30.000Z | Input.hpp | sthairno/S3DNodeEditor | 150a42f4687adb07e85c53c7cc707651502a9974 | [
"MIT"
] | null | null | null | #pragma once
namespace NodeEditor
{
/// <summary>
/// 入力補助クラス
/// </summary>
class Input
{
private:
bool m_proc = false;
bool updateProc()
{
if (m_proc)
{
return false;
}
m_proc = true;
return true;
}
public:
void start()
{
m_proc = false;
}
void setProc()
{
m_pro... | 14.068182 | 45 | 0.61874 | sthairno |
40c2fae050e5664b9b4edec2f9d30e13620cad87 | 1,043 | cpp | C++ | src/rowSums.cpp | YunyiShen/LRMF3 | 6374e821a998d91b2c222289f2b98750ee7fa404 | [
"MIT"
] | null | null | null | src/rowSums.cpp | YunyiShen/LRMF3 | 6374e821a998d91b2c222289f2b98750ee7fa404 | [
"MIT"
] | null | null | null | src/rowSums.cpp | YunyiShen/LRMF3 | 6374e821a998d91b2c222289f2b98750ee7fa404 | [
"MIT"
] | null | null | null | // [[Rcpp::depends(RcppArmadillo)]]
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppParallel)]]
#include <RcppParallel.h>
using namespace RcppParallel;
using namespace Rcpp;
using namespace arma;
using namespace std;
// use RcppParallel for parallel
struct rowSum_worker : public Worker
{
const arma::mat &U;
co... | 21.729167 | 65 | 0.598274 | YunyiShen |
40c54c78e0c0c0240eb9cfd66d8409e15024f3fa | 30 | hpp | C++ | src/boost_mpl_bool.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_mpl_bool.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_mpl_bool.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/mpl/bool.hpp>
| 15 | 29 | 0.733333 | miathedev |
40c590961d0494b9c6b7aa5ef694b5f52268125a | 1,866 | cpp | C++ | src/common/utils/thread_sched.cpp | jarrielcook/openair-cn-cups | e3bd21569576ce240daf4d16ed8c243224b4bafb | [
"Apache-2.0"
] | 2 | 2020-06-29T07:35:43.000Z | 2021-08-14T19:49:26.000Z | src/common/utils/thread_sched.cpp | jarrielcook/openair-cn-cups | e3bd21569576ce240daf4d16ed8c243224b4bafb | [
"Apache-2.0"
] | 13 | 2020-06-09T22:12:13.000Z | 2021-05-29T13:43:31.000Z | src/common/utils/thread_sched.cpp | jarrielcook/openair-cn-cups | e3bd21569576ce240daf4d16ed8c243224b4bafb | [
"Apache-2.0"
] | 2 | 2020-06-09T21:03:53.000Z | 2021-08-17T03:27:53.000Z | /*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... | 38.081633 | 86 | 0.666131 | jarrielcook |
40c9b849a67aef1e94b71c3d474231e430b3a3e5 | 13,029 | cpp | C++ | src/vsg/viewer/Viewer.cpp | wangii/VulkanSceneGraph | 1e480b333c5e241e57c033b5cdecbe819a27355b | [
"MIT"
] | null | null | null | src/vsg/viewer/Viewer.cpp | wangii/VulkanSceneGraph | 1e480b333c5e241e57c033b5cdecbe819a27355b | [
"MIT"
] | null | null | null | src/vsg/viewer/Viewer.cpp | wangii/VulkanSceneGraph | 1e480b333c5e241e57c033b5cdecbe819a27355b | [
"MIT"
] | null | null | null | /* <editor-fold desc="MIT License">
Copyright(c) 2018 Robert Osfield
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, mod... | 32.81864 | 460 | 0.659452 | wangii |
40cb73171e227caa37fd76b52fa6863c7fe99770 | 1,036 | cpp | C++ | ProjectEndGame/Pursue.cpp | BobEh/AI-Formations | 3af8de3586ca8721e2be62466acb1d4f4a88d42b | [
"MIT"
] | 1 | 2020-03-14T18:51:09.000Z | 2020-03-14T18:51:09.000Z | ProjectEndGame/Pursue.cpp | BobEh/AI-Formations | 3af8de3586ca8721e2be62466acb1d4f4a88d42b | [
"MIT"
] | null | null | null | ProjectEndGame/Pursue.cpp | BobEh/AI-Formations | 3af8de3586ca8721e2be62466acb1d4f4a88d42b | [
"MIT"
] | null | null | null | #include "Pursue.h"
Pursue::Pursue(iObject* agent, iObject* target) : mAgent(agent), mTarget(target)
{
}
Pursue::~Pursue(void)
{
}
void Pursue::update(float dt)
{
float maxVelocity = 3.0f;
//calculate the number of frames we are looking ahead
glm::vec3 distance = mTarget->getPositionXYZ() - mAgent->getPositionX... | 25.268293 | 94 | 0.720077 | BobEh |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.