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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e1ce9759b140f8c7ca5502f85a2418431599d8ed | 4,863 | cpp | C++ | test/talker_test.cpp | ltsimps/metis_ros | f00fafe028d2a30508b2fc59daa9da35ff48eece | [
"MIT"
] | null | null | null | test/talker_test.cpp | ltsimps/metis_ros | f00fafe028d2a30508b2fc59daa9da35ff48eece | [
"MIT"
] | null | null | null | test/talker_test.cpp | ltsimps/metis_ros | f00fafe028d2a30508b2fc59daa9da35ff48eece | [
"MIT"
] | null | null | null | #include <tf/transform_broadcaster.h>
#include <tf/transform_listener.h>
#include <gtest/gtest.h>
#include <ros/service_client.h>
#include <map>
#include <vector>
#include <iostream>
#include <fstream>
#include <string>
#include <set>
#include <memory>
#include <Parser.hpp>
#include <Sentiment.hpp>
#include <PositiveSe... | 20.961207 | 121 | 0.693194 | ltsimps |
e1d0ed3d88e05154ff0559046e3dc92456942820 | 1,832 | cpp | C++ | chap1/DataSet.cpp | jasonmray/NeuralNetworks | 037d038d5bdf62cb898ee3cd8ee84aca9ef92ee2 | [
"MIT"
] | null | null | null | chap1/DataSet.cpp | jasonmray/NeuralNetworks | 037d038d5bdf62cb898ee3cd8ee84aca9ef92ee2 | [
"MIT"
] | null | null | null | chap1/DataSet.cpp | jasonmray/NeuralNetworks | 037d038d5bdf62cb898ee3cd8ee84aca9ef92ee2 | [
"MIT"
] | null | null | null |
#include "DataSet.h"
namespace J{
namespace Mnist{
DataSet::DataSet(){
}
DataSet::~DataSet(){
}
bool DataSet::load(const std::string & path) {
return loadTrainingImages(path) && loadTestingImages(path);
}
bool DataSet::loadTrainingImages(const std::string & path) {
if (!trainingImages.load( (path + "\\... | 24.426667 | 96 | 0.706878 | jasonmray |
e1d1eff22d4b4b6e88c929934ba1e02e3b954b78 | 5,274 | hpp | C++ | sources/FileFormats/Mesh/spMeshLoader3DS.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 14 | 2015-08-16T21:05:20.000Z | 2019-08-21T17:22:01.000Z | sources/FileFormats/Mesh/spMeshLoader3DS.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | null | null | null | sources/FileFormats/Mesh/spMeshLoader3DS.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 3 | 2020-02-15T09:17:41.000Z | 2020-05-21T14:10:40.000Z | /*
* Mesh loader 3DS header
*
* This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns)
* See "SoftPixelEngine.hpp" for license information.
*/
#ifndef __SP_MESHLOADER_3DS_H__
#define __SP_MESHLOADER_3DS_H__
#include "Base/spStandard.hpp"
#ifdef SP_COMPILE_WITH_MESHLOADER_3DS
#inc... | 27.46875 | 85 | 0.481229 | rontrek |
e1d2c5c08b775327b76adf5d41d57eac45e87649 | 1,549 | hpp | C++ | simulation/traffic_simulator/include/traffic_simulator/traffic_lights/traffic_light_state.hpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | null | null | null | simulation/traffic_simulator/include/traffic_simulator/traffic_lights/traffic_light_state.hpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | null | null | null | simulation/traffic_simulator/include/traffic_simulator/traffic_lights/traffic_light_state.hpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2015-2020 Tier IV, Inc. 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 app... | 36.880952 | 82 | 0.778567 | autocore-ai |
e1d45b30fe99e12f97664fa205679ea9db31ac39 | 3,378 | hpp | C++ | src/sim/sim.hpp | compstruct/hornet | 44d8368ae39778c1c838b9d23b747be17e82e3a4 | [
"MIT"
] | null | null | null | src/sim/sim.hpp | compstruct/hornet | 44d8368ae39778c1c838b9d23b747be17e82e3a4 | [
"MIT"
] | null | null | null | src/sim/sim.hpp | compstruct/hornet | 44d8368ae39778c1c838b9d23b747be17e82e3a4 | [
"MIT"
] | 1 | 2021-03-25T18:07:20.000Z | 2021-03-25T18:07:20.000Z | // -*- mode:c++; c-style:k&r; c-basic-offset:4; indent-tabs-mode: nil; -*-
// vi:set et cin sw=4 cino=>se0n0f0{0}0^0\:0=sl1g0hspst0+sc3C0/0(0u0U0w0m0:
#ifndef __SIM_HPP__
#define __SIM_HPP__
#include <vector>
#include <memory>
#include <boost/thread.hpp>
#include <boost/thread/barrier.hpp>
#include "random.hpp"
#incl... | 34.121212 | 77 | 0.686797 | compstruct |
e1d57716cd775f1006d67999a369ccac3a6d0c72 | 6,892 | cpp | C++ | src/prod/src/httpgateway/HttpClaimsAuthHandler.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/httpgateway/HttpClaimsAuthHandler.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/httpgateway/HttpClaimsAuthHandler.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 30.09607 | 138 | 0.661056 | AnthonyM |
e1d594e590a8d19c7b53c3c57a47e9189430a27d | 32,943 | cpp | C++ | src/wlen.cpp | puckbee/RePlAce | 67f505f8a858b8da430bbdc1debc264020edf8f2 | [
"BSD-3-Clause"
] | null | null | null | src/wlen.cpp | puckbee/RePlAce | 67f505f8a858b8da430bbdc1debc264020edf8f2 | [
"BSD-3-Clause"
] | null | null | null | src/wlen.cpp | puckbee/RePlAce | 67f505f8a858b8da430bbdc1debc264020edf8f2 | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// Authors: Ilgweon Kang and Lutong Wang
// (respective Ph.D. advisors: Chung-Kuan Cheng, Andrew B. Kahng),
// based on Dr. Jingwei Lu with ePlace and ePlace-MS
//
// Many subsequent improvements were made by Ming... | 25.340769 | 80 | 0.545913 | puckbee |
e1db06e0073a76ded2df969d0ae484384256b12c | 3,811 | hh | C++ | src/heap.hh | MikolasJanota/minibones | 5413f7a10e410fd88cbac53fb79c8df40cbde650 | [
"MIT"
] | 2 | 2019-06-03T08:19:50.000Z | 2019-09-20T03:10:23.000Z | src/heap.hh | MikolasJanota/minibones | 5413f7a10e410fd88cbac53fb79c8df40cbde650 | [
"MIT"
] | null | null | null | src/heap.hh | MikolasJanota/minibones | 5413f7a10e410fd88cbac53fb79c8df40cbde650 | [
"MIT"
] | null | null | null | //jpms:bc
/*----------------------------------------------------------------------------*\
* File: heap.hh
*
* Description: Abstract heap, with extended priority queue interface.
*
* Author: jpms
*
* Copyright (c) 2010, Joao Marques-Silva
\*-----------------------... | 26.282759 | 80 | 0.506429 | MikolasJanota |
e1df3f3d941011807b5e282621b5443e9f94eb99 | 2,035 | hpp | C++ | ysu/node/gap_cache.hpp | lik2129/ysu_coin | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | [
"BSD-3-Clause"
] | null | null | null | ysu/node/gap_cache.hpp | lik2129/ysu_coin | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | [
"BSD-3-Clause"
] | null | null | null | ysu/node/gap_cache.hpp | lik2129/ysu_coin | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <ysu/lib/numbers.hpp>
#include <ysu/lib/utility.hpp>
#include <ysu/secure/common.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#include <boost/multi_index_... | 32.301587 | 115 | 0.756757 | lik2129 |
e1e2d7a518de5598a116be8da68ebd030db40f8b | 1,953 | cxx | C++ | src/xyzzy/delta.cxx | gburdell/xyzzy | 5b29d84c1684cfe0b0dfb9ceedb59f0d6f6cbb19 | [
"MIT"
] | 2 | 2015-08-01T10:20:43.000Z | 2015-11-04T21:16:11.000Z | src/xyzzy/delta.cxx | gburdell/xyzzy | 5b29d84c1684cfe0b0dfb9ceedb59f0d6f6cbb19 | [
"MIT"
] | null | null | null | src/xyzzy/delta.cxx | gburdell/xyzzy | 5b29d84c1684cfe0b0dfb9ceedb59f0d6f6cbb19 | [
"MIT"
] | null | null | null | //The MIT License
//
//xyzzy - c++ library
//Copyright (c) 2007-2010 Karl W. Pfalzer
//
//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 ... | 27.9 | 79 | 0.714798 | gburdell |
e1e35ef27eb8f700ba3a66f02588841948f5cedb | 646 | hpp | C++ | test/rocksdb.hpp | sdulloor/cyclone | a4606bfb50fb8ce01e21f245624d2f4a98961039 | [
"Apache-2.0"
] | 7 | 2017-11-21T03:08:15.000Z | 2019-02-13T08:05:37.000Z | test/rocksdb.hpp | IntelLabs/LogReplicationRocksDB | 74f33e9a54f3ae820060230e28c42274696bf2f7 | [
"Apache-2.0"
] | null | null | null | test/rocksdb.hpp | IntelLabs/LogReplicationRocksDB | 74f33e9a54f3ae820060230e28c42274696bf2f7 | [
"Apache-2.0"
] | 3 | 2018-05-15T16:51:36.000Z | 2021-05-08T07:41:33.000Z | #ifndef _ROCKSDB_COMMON_
#define _ROCKSDB_COMMON_
const unsigned long OP_PUT = 0;
const unsigned long OP_GET = 1;
const unsigned long OP_ADD = 2;
const unsigned long value_sz = 8;
typedef struct rock_kv_st{
unsigned long op;
unsigned long key;
char value[value_sz];
}rock_kv_t;
typedef struct... | 28.086957 | 47 | 0.732198 | sdulloor |
e1e786a6245d4c907c1f0890c8b0814268545ddd | 23,157 | cpp | C++ | TimingAnalyzer/macros/TimeFitter.cpp | kmcdermo/Timing | f2f41e24350e14daf795f6551aa52a0687cda3f2 | [
"MIT"
] | 2 | 2017-10-19T12:28:53.000Z | 2019-05-22T14:36:05.000Z | TimingAnalyzer/macros/TimeFitter.cpp | kmcdermo/Timing | f2f41e24350e14daf795f6551aa52a0687cda3f2 | [
"MIT"
] | null | null | null | TimingAnalyzer/macros/TimeFitter.cpp | kmcdermo/Timing | f2f41e24350e14daf795f6551aa52a0687cda3f2 | [
"MIT"
] | 6 | 2017-09-13T13:16:10.000Z | 2019-01-28T17:39:51.000Z | #include "TimeFitter.hh"
#include "TVirtualFitter.h"
TimeFitter::TimeFitter(const TString & infilename, const TString & plotconfig, const TString & miscconfig, const TString & timefitconfig,
const TString & era, const Bool_t savemetadata, const TString & outfiletext) :
fInFileName(infilename), fPlotConfig(p... | 29.387056 | 149 | 0.631688 | kmcdermo |
e1e9b71e0ac361e75debaa047b3570601b869964 | 1,041 | hpp | C++ | Code/Engine/General/Time/Clock.hpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | 2 | 2017-10-02T03:18:55.000Z | 2018-11-21T16:30:36.000Z | Code/Engine/General/Time/Clock.hpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | null | null | null | Code/Engine/General/Time/Clock.hpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | null | null | null | #pragma once
#include "Engine/General/Core/EngineCommon.hpp"
#include "Engine/General/Time/Time.hpp"
#include <vector>
class Clock {
public:
//STRUCTORS
Clock();
Clock(Clock* parent);
Clock(Clock* parent, float scale);
~Clock();
//UPDATE
void Update(float deltaSeconds);
//GETTERS
double GetCurrent() const ... | 23.659091 | 75 | 0.667627 | ntaylorbishop |
e1ead10e7d940923679324d4cce31cc01c339ced | 681 | cpp | C++ | branchingLogic/E-JA-2009-3.MaxCifra.cpp | kilarionov/cppTopics | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | [
"MIT"
] | null | null | null | branchingLogic/E-JA-2009-3.MaxCifra.cpp | kilarionov/cppTopics | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | [
"MIT"
] | null | null | null | branchingLogic/E-JA-2009-3.MaxCifra.cpp | kilarionov/cppTopics | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | [
"MIT"
] | 1 | 2019-05-24T03:44:06.000Z | 2019-05-24T03:44:06.000Z | #include<iostream>
using namespace std;
int main()
{
int b, c, d, k,
digB, digC, digD,
maxDigit ;
cin >>b >>c >>d >>k;
switch (k)
{
case 1:{
digB = b/100%10 ;
digC = c/100%10 ;
digD = d/100%10 ;
break;
}
case 2:{
digB = b/10%10 ;
digC = c/10%10 ;
digD = d/10%10 ;
break;
}
ca... | 17.025 | 57 | 0.515419 | kilarionov |
e1f12eef09656f22f863650ca0d6675857e6b0fb | 2,953 | cpp | C++ | src/axl_core/axl_sl_Packer.cpp | vovkos/axl | 5969bfda2fdfbb04a081dde16dcde0c5ddef0654 | [
"MIT"
] | 2 | 2021-03-19T09:32:02.000Z | 2021-12-30T11:22:56.000Z | src/axl_core/axl_sl_Packer.cpp | vovkos/axl | 5969bfda2fdfbb04a081dde16dcde0c5ddef0654 | [
"MIT"
] | 3 | 2019-04-19T19:20:59.000Z | 2021-07-16T10:08:05.000Z | src/axl_core/axl_sl_Packer.cpp | vovkos/axl | 5969bfda2fdfbb04a081dde16dcde0c5ddef0654 | [
"MIT"
] | 3 | 2019-04-19T18:19:52.000Z | 2021-06-15T00:31:36.000Z | //..............................................................................
//
// This file is part of the AXL library.
//
// AXL is distributed under the MIT license.
// For details see accompanying license.txt file,
// the public copy of which is also available at:
// http://tibbo.com/downloads/archive/axl/... | 16.683616 | 80 | 0.51981 | vovkos |
e1f3626e5f88ea5aa7eee49071e5b2eaa04735e0 | 243 | cpp | C++ | 08_pointers_2d_arrays/02/02.cpp | bilyanhadzhi/intro_to_programming_labs | 083bfaad1fdb423c0d8320b3e882316fa56c0bf8 | [
"MIT"
] | 3 | 2020-11-05T10:11:31.000Z | 2020-11-14T16:10:27.000Z | 08_pointers_2d_arrays/02/02.cpp | bilyanhadzhi/intro_to_programming_labs | 083bfaad1fdb423c0d8320b3e882316fa56c0bf8 | [
"MIT"
] | null | null | null | 08_pointers_2d_arrays/02/02.cpp | bilyanhadzhi/intro_to_programming_labs | 083bfaad1fdb423c0d8320b3e882316fa56c0bf8 | [
"MIT"
] | 1 | 2021-06-17T13:21:58.000Z | 2021-06-17T13:21:58.000Z | #include <iostream>
void swap(int* a, int* b)
{
int tmp = *a;
*a = *b;
*b = tmp;
}
int main()
{
int a = 5;
int b = 4;
std::cout << a << " " << b << "\n";
swap(&a, &b);
std::cout << a << " " << b << "\n";
}
| 11.571429 | 39 | 0.358025 | bilyanhadzhi |
e1f3b0010b6b35ba82c98e4bcd160a802b33ffb6 | 10,022 | cpp | C++ | CMinus/CMinus/evaluator/integral_evaluator.cpp | benbraide/CMinus | 3b845e0bc22840b549f108bf6600f1f34d865e7b | [
"MIT"
] | null | null | null | CMinus/CMinus/evaluator/integral_evaluator.cpp | benbraide/CMinus | 3b845e0bc22840b549f108bf6600f1f34d865e7b | [
"MIT"
] | null | null | null | CMinus/CMinus/evaluator/integral_evaluator.cpp | benbraide/CMinus | 3b845e0bc22840b549f108bf6600f1f34d865e7b | [
"MIT"
] | null | null | null | #include "../type/string_type.h"
#include "../node/memory_reference_node.h"
#include "integral_evaluator.h"
cminus::evaluator::integral::~integral() = default;
std::shared_ptr<cminus::memory::reference> cminus::evaluator::integral::evaluate_unary_left(logic::runtime &runtime, const operator_type &op, std::shared_ptr... | 53.593583 | 218 | 0.751048 | benbraide |
e1f7a0bac32bb591473c4a90e97017a286e7c2d9 | 2,990 | cpp | C++ | ouzel/audio/opensl/AudioSL.cpp | keima97/ouzel | e6673e678b4739235371a15ae3863942b692c5fb | [
"BSD-2-Clause"
] | null | null | null | ouzel/audio/opensl/AudioSL.cpp | keima97/ouzel | e6673e678b4739235371a15ae3863942b692c5fb | [
"BSD-2-Clause"
] | null | null | null | ouzel/audio/opensl/AudioSL.cpp | keima97/ouzel | e6673e678b4739235371a15ae3863942b692c5fb | [
"BSD-2-Clause"
] | null | null | null | // Copyright (C) 2016 Elviss Strazdins
// This file is part of the Ouzel engine.
#include "AudioSL.h"
#include "SoundDataSL.h"
#include "SoundSL.h"
#include "utils/Log.h"
namespace ouzel
{
namespace audio
{
AudioSL::AudioSL():
Audio(Driver::OPENSL)
{
}
AudioSL::~Au... | 27.181818 | 125 | 0.498662 | keima97 |
e1fdf70f20a746d33b693e08911948e147cac155 | 1,455 | hpp | C++ | src/vendor/type_safe/detail/aligned_union.hpp | rolandwalker/Karabiner-Elements | 3a537d3dd7a47100baf95bb3477e897a6e59bee8 | [
"Unlicense"
] | null | null | null | src/vendor/type_safe/detail/aligned_union.hpp | rolandwalker/Karabiner-Elements | 3a537d3dd7a47100baf95bb3477e897a6e59bee8 | [
"Unlicense"
] | null | null | null | src/vendor/type_safe/detail/aligned_union.hpp | rolandwalker/Karabiner-Elements | 3a537d3dd7a47100baf95bb3477e897a6e59bee8 | [
"Unlicense"
] | null | null | null | // Copyright (C) 2016-2018 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#ifndef TYPE_SAFE_DETAIL_ALIGNED_UNION_HPP_INCLUDED
#define TYPE_SAFE_DETAIL_ALIGNED_UNION_HPP_INCLUDED
#include <type_t... | 29.693878 | 90 | 0.62268 | rolandwalker |
c00274d16a48baad017adb4603c7179fd32591fc | 5,898 | cpp | C++ | OrbitGl/SessionsDataView.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | null | null | null | OrbitGl/SessionsDataView.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | null | null | null | OrbitGl/SessionsDataView.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | null | null | null | //-----------------------------------
// Copyright Pierric Gimmig 2013-2017
//-----------------------------------
#include "Core.h"
#include "SessionsDataView.h"
#include "ModuleDataView.h"
#include "Pdb.h"
#include "OrbitType.h"
#include "Capture.h"
#include "App.h"
#include "Callstack.h"
#include "OrbitSession.h"
/... | 28.631068 | 147 | 0.494405 | ehei1 |
c0040779a9ae219daeb57e1605a61ffd89aebba8 | 10,206 | cpp | C++ | vm/external_libs/llvm/lib/Target/X86/X86Subtarget.cpp | marnen/rubinius | 05b3f9789d01bada0604a7f09921c956bc9487e7 | [
"BSD-3-Clause"
] | 1 | 2016-05-08T16:58:14.000Z | 2016-05-08T16:58:14.000Z | vm/external_libs/llvm/lib/Target/X86/X86Subtarget.cpp | taf2/rubinius | 493bfa2351fc509ca33d3bb03991c2e9c2b6dafa | [
"BSD-3-Clause"
] | null | null | null | vm/external_libs/llvm/lib/Target/X86/X86Subtarget.cpp | taf2/rubinius | 493bfa2351fc509ca33d3bb03991c2e9c2b6dafa | [
"BSD-3-Clause"
] | null | null | null | //===-- X86Subtarget.cpp - X86 Subtarget Information ------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 30.740964 | 80 | 0.589065 | marnen |
c005b8be8fb5ec2afacb6ae90d91eb45bf233f36 | 1,138 | hpp | C++ | include/boost/simd/function/simd/tofloat.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/function/simd/tofloat.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/function/simd/tofloat.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
@copyright 2016 J.T. Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
... | 29.947368 | 100 | 0.63884 | yaeldarmon |
c00685b3f1cf3339b87fcf0961d4e970161dd33a | 1,239 | hpp | C++ | sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/list_keys_single_page_result.hpp | kyle-patterson/azure-sdk-for-cpp | 0c24db5a10eeea46840c3e8ee7089fd9857cd7b4 | [
"MIT"
] | null | null | null | sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/list_keys_single_page_result.hpp | kyle-patterson/azure-sdk-for-cpp | 0c24db5a10eeea46840c3e8ee7089fd9857cd7b4 | [
"MIT"
] | null | null | null | sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/list_keys_single_page_result.hpp | kyle-patterson/azure-sdk-for-cpp | 0c24db5a10eeea46840c3e8ee7089fd9857cd7b4 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
/**
* @file
* @brief Defines a page of listing keys from a Key Vault.
*
*/
#pragma once
#include "azure/keyvault/keys/deleted_key.hpp"
#include "azure/keyvault/keys/json_web_key.hpp"
#include "azure/keyvault/keys/key_vau... | 25.285714 | 90 | 0.744149 | kyle-patterson |
c0079ed7063ed907c62eddf790c74875bf3186a6 | 3,895 | cpp | C++ | loop-functions/complexity/AggregationTwoSpotsXOR2.cpp | vvanpelt/experiments-loop-functions | 1c2883b044a03df4a7fb6cd9e83376d0899df5c0 | [
"MIT"
] | null | null | null | loop-functions/complexity/AggregationTwoSpotsXOR2.cpp | vvanpelt/experiments-loop-functions | 1c2883b044a03df4a7fb6cd9e83376d0899df5c0 | [
"MIT"
] | 1 | 2020-10-19T09:16:29.000Z | 2020-10-19T09:16:29.000Z | loop-functions/complexity/AggregationTwoSpotsXOR2.cpp | vvanpelt/experiments-loop-functions | 1c2883b044a03df4a7fb6cd9e83376d0899df5c0 | [
"MIT"
] | 3 | 2019-09-18T09:47:42.000Z | 2020-10-25T14:13:48.000Z | /**
* @file <loop-functions/AggregationTwoSpotsLoopFunc.cpp>
*
* @author Antoine Ligot - <aligot@ulb.ac.be>
*
* @license MIT License
*/
#include "AggregationTwoSpotsXOR2.h"
/****************************************/
/****************************************/
AggregationTwoSpotsXOR2::AggregationTwoSpotsXO... | 29.732824 | 98 | 0.533504 | vvanpelt |
c007c9f642b1685202d19087dff8b3dbf161023e | 3,502 | cpp | C++ | trview.app/UI/LevelInfo.cpp | chreden/trview | e2a5e3539036f27adfa54fc7fcf4c3537b99a221 | [
"MIT"
] | 20 | 2018-10-17T02:00:03.000Z | 2022-03-24T09:37:20.000Z | trview.app/UI/LevelInfo.cpp | chreden/trview | e2a5e3539036f27adfa54fc7fcf4c3537b99a221 | [
"MIT"
] | 396 | 2018-07-22T16:11:47.000Z | 2022-03-29T11:57:03.000Z | trview.app/UI/LevelInfo.cpp | chreden/trview | e2a5e3539036f27adfa54fc7fcf4c3537b99a221 | [
"MIT"
] | 8 | 2018-07-25T21:31:06.000Z | 2021-11-01T14:36:26.000Z | #include "LevelInfo.h"
#include <trview.ui/Control.h>
#include <trview.ui/Image.h>
#include <trview.ui/Label.h>
#include <trview.ui/Button.h>
#include <trview.app/Graphics/ITextureStorage.h>
#include <trview.common/Strings.h>
#include <trview.ui/Layouts/StackLayout.h>
namespace trview
{
namespace
{
//... | 39.348315 | 182 | 0.632496 | chreden |
c00a9aaf693e37d05c3ad752b308900ba185993e | 696 | cpp | C++ | ciao/Valuetype_Factories/ConfigValue.cpp | qinwang13/CIAO | e69add1b5da8e9602bcc85d581ecbf1bd41c49a3 | [
"DOC"
] | 10 | 2016-07-20T00:55:50.000Z | 2020-10-04T19:07:10.000Z | ciao/Valuetype_Factories/ConfigValue.cpp | qinwang13/CIAO | e69add1b5da8e9602bcc85d581ecbf1bd41c49a3 | [
"DOC"
] | 13 | 2016-09-27T14:08:27.000Z | 2020-11-11T10:45:56.000Z | ciao/Valuetype_Factories/ConfigValue.cpp | qinwang13/CIAO | e69add1b5da8e9602bcc85d581ecbf1bd41c49a3 | [
"DOC"
] | 12 | 2016-04-20T09:57:02.000Z | 2021-12-24T17:23:45.000Z | #include "ConfigValue.h"
namespace CIAO
{
ConfigValue_impl::ConfigValue_impl()
{
CORBA::Any any;
any <<= CORBA::Short(0);
name((const char*)"");
value(any);
}
ConfigValue_impl::ConfigValue_impl(const char* the_name,
const CORBA::Any& the... | 19.333333 | 66 | 0.591954 | qinwang13 |
c00b1bfcbd5a80da4131b8581744b9026f53c63c | 4,168 | cpp | C++ | igl/setdiff.cpp | sabinaRachev/3D-Snake-Game-Final-Project | 5c1f2044d848f24d6ce60dc61411393b503c8da2 | [
"Apache-2.0"
] | null | null | null | igl/setdiff.cpp | sabinaRachev/3D-Snake-Game-Final-Project | 5c1f2044d848f24d6ce60dc61411393b503c8da2 | [
"Apache-2.0"
] | null | null | null | igl/setdiff.cpp | sabinaRachev/3D-Snake-Game-Final-Project | 5c1f2044d848f24d6ce60dc61411393b503c8da2 | [
"Apache-2.0"
] | null | null | null | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2014 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at h... | 49.035294 | 445 | 0.605086 | sabinaRachev |
c00eb2d2ed08883c3a53bb4a5fe447747aa9cd04 | 6,526 | cpp | C++ | classes/graphics/backends/gdiplus/bitmapgdiplus.cpp | XilizaX/smooth | a65851f3bc9f83860e404bebe224d28388025625 | [
"Artistic-2.0"
] | null | null | null | classes/graphics/backends/gdiplus/bitmapgdiplus.cpp | XilizaX/smooth | a65851f3bc9f83860e404bebe224d28388025625 | [
"Artistic-2.0"
] | null | null | null | classes/graphics/backends/gdiplus/bitmapgdiplus.cpp | XilizaX/smooth | a65851f3bc9f83860e404bebe224d28388025625 | [
"Artistic-2.0"
] | null | null | null | /* The smooth Class Library
* Copyright (C) 1998-2020 Robert Kausch <robert.kausch@gmx.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of "The Artistic License, Version 2.0".
*
* THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRA... | 23.992647 | 121 | 0.661355 | XilizaX |
84ffa253eede71ab5e074ab6ff435953756310e2 | 1,252 | cpp | C++ | src/caffe/layers/gradient_reversal_layer.cpp | Andeling/caffe_unet | f713104e5c76eea1b618b21b3a3f303dd673081c | [
"Intel",
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/gradient_reversal_layer.cpp | Andeling/caffe_unet | f713104e5c76eea1b618b21b3a3f303dd673081c | [
"Intel",
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/gradient_reversal_layer.cpp | Andeling/caffe_unet | f713104e5c76eea1b618b21b3a3f303dd673081c | [
"Intel",
"BSD-2-Clause"
] | null | null | null | #include <algorithm>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/layers/gradient_reversal_layer.hpp"
namespace caffe {
template <typename Dtype>
void GradientReversalLayer<Dtype>::LayerSetUp(
const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype... | 27.822222 | 77 | 0.722843 | Andeling |
17000129d350c2531e083b4dfb9559186d243404 | 19,067 | cpp | C++ | src/geometry_aux.cpp | cjwyett/openmc | a9e85f4d5b59d133c17caccf4704a032184841d4 | [
"MIT"
] | 1 | 2020-02-07T20:23:33.000Z | 2020-02-07T20:23:33.000Z | src/geometry_aux.cpp | cjwyett/openmc | a9e85f4d5b59d133c17caccf4704a032184841d4 | [
"MIT"
] | 3 | 2020-05-22T07:57:36.000Z | 2021-05-21T17:34:35.000Z | src/geometry_aux.cpp | cjwyett/openmc | a9e85f4d5b59d133c17caccf4704a032184841d4 | [
"MIT"
] | null | null | null | #include "openmc/geometry_aux.h"
#include <algorithm> // for std::max
#include <sstream>
#include <unordered_set>
#include <fmt/core.h>
#include <pugixml.hpp>
#include "openmc/cell.h"
#include "openmc/constants.h"
#include "openmc/container_util.h"
#include "openmc/dagmc.h"
#include "openmc/error.h"
#include "openm... | 31.515702 | 89 | 0.595532 | cjwyett |
17038b166a022ef36b6c3fef388c40bc91b39e4c | 1,647 | cpp | C++ | #002.cpp | LiFantastic/LeetCode | ed7a25b96595531009e55de9aeebe758ca0734d2 | [
"Apache-2.0"
] | null | null | null | #002.cpp | LiFantastic/LeetCode | ed7a25b96595531009e55de9aeebe758ca0734d2 | [
"Apache-2.0"
] | null | null | null | #002.cpp | LiFantastic/LeetCode | ed7a25b96595531009e55de9aeebe758ca0734d2 | [
"Apache-2.0"
] | null | null | null | /*============================================================
Problem: Add Two Numbers
==============================================================
You are given two linked lists representing two non-negative
numbers. The digits are stored in reverse order and each of
their nodes contain a single digit. Add the tw... | 27.915254 | 71 | 0.399514 | LiFantastic |
1703d219b1823a709eef4fa5148b44b6aa1ec0eb | 2,074 | cxx | C++ | Utilities/Benchmarks/TimingTests.cxx | stephansmit/VTK | caa1eabb4612a0253171723bd1f1ddc599d7eea8 | [
"BSD-3-Clause"
] | 3 | 2015-07-28T18:07:50.000Z | 2018-02-28T20:59:58.000Z | Utilities/Benchmarks/TimingTests.cxx | AndyJMR/VTK | 3cc9e5f7539107e5dbaeadc2d28f7a8db6de8571 | [
"BSD-3-Clause"
] | null | null | null | Utilities/Benchmarks/TimingTests.cxx | AndyJMR/VTK | 3cc9e5f7539107e5dbaeadc2d28f7a8db6de8571 | [
"BSD-3-Clause"
] | 4 | 2016-09-08T02:11:00.000Z | 2019-08-15T02:38:39.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: Timingtests.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is d... | 37.035714 | 80 | 0.646577 | stephansmit |
1707fecbc6f1f496b2d6ca400d4d4370044de11c | 1,221 | hpp | C++ | include/beauty/route.hpp | nside/beauty | b68c88260d12442376c09043803809bc0a8aca15 | [
"MIT"
] | 38 | 2020-08-12T11:59:26.000Z | 2022-03-26T11:26:39.000Z | include/beauty/route.hpp | nside/beauty | b68c88260d12442376c09043803809bc0a8aca15 | [
"MIT"
] | 2 | 2021-08-01T10:15:36.000Z | 2022-03-26T11:40:03.000Z | include/beauty/route.hpp | nside/beauty | b68c88260d12442376c09043803809bc0a8aca15 | [
"MIT"
] | 6 | 2020-09-23T16:02:30.000Z | 2022-03-16T16:01:38.000Z | #pragma once
#include <beauty/request.hpp>
#include <beauty/response.hpp>
#include <beauty/swagger.hpp>
#include <iostream>
#include <vector>
#include <string>
#include <string_view>
#include <functional>
namespace beauty
{
using route_cb = std::function<void(const beauty::request& req, beauty::response& res)>;
//... | 25.4375 | 102 | 0.651925 | nside |
170c5c88dc055f1c1803208b672ba1410fce3226 | 9,074 | hpp | C++ | src/dgate/dicomlib/aarq.hpp | theorose49/conquest-dicom-server | aba35e1da51d7bb288ecde0f31d6963f47b8252c | [
"Apache-2.0"
] | null | null | null | src/dgate/dicomlib/aarq.hpp | theorose49/conquest-dicom-server | aba35e1da51d7bb288ecde0f31d6963f47b8252c | [
"Apache-2.0"
] | 6 | 2021-06-09T19:39:27.000Z | 2021-09-30T16:41:40.000Z | radiomicsfeatureextractionpipeline/conquest/src/dgate/dicomlib/aarq.hpp | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | /* mvh 20001106: Use memcpy instead of ByteCopy
bcb 20091231: Changed char* to const char* for gcc4.2 warnings
mvh 20100111: Merged
bcb 20100619: Fix gcc4 warnings, improve speed and added UNUSED_ARGUMENT.
mvh 20100717: Merged; Q1 OK
bcb 20100728: Added PresentationContext(const PresentationContext&)
... | 26.074713 | 97 | 0.629821 | theorose49 |
170cbe7a42aee1815d6600e4746f332fea6af6b1 | 1,002 | cpp | C++ | Source/Core/Matrix/Vector.cpp | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | Source/Core/Matrix/Vector.cpp | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | Source/Core/Matrix/Vector.cpp | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************/
/**
* @file Vector.cpp
* @author Naohisa Sakamoto
*/
/*----------------------------------------------------------------------------
*
* Copyright (c) Visualization Laboratory, Kyoto University.
* All rights reserved.
* See http... | 29.470588 | 78 | 0.548902 | CCSEPBVR |
171cf6fe9d1a7fde985385964f7ff30b028fc49d | 5,318 | hpp | C++ | include/codegen/include/System/Linq/Enumerable_-RepeatIterator-d__117_1.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Linq/Enumerable_-RepeatIterator-d__117_1.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Linq/Enumerable_-RepeatIterator-d__117_1.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:16 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 49.240741 | 302 | 0.732042 | Futuremappermydud |
171e8dc38cd0fdefebb8f1ed874d5d2447f7ca7e | 238 | cpp | C++ | ch02/2-8.cpp | stanleywxchen/acceleratedcpp | fdcfff2bcaf9196655d77e1d80634a78d9ea7f00 | [
"Apache-2.0"
] | null | null | null | ch02/2-8.cpp | stanleywxchen/acceleratedcpp | fdcfff2bcaf9196655d77e1d80634a78d9ea7f00 | [
"Apache-2.0"
] | null | null | null | ch02/2-8.cpp | stanleywxchen/acceleratedcpp | fdcfff2bcaf9196655d77e1d80634a78d9ea7f00 | [
"Apache-2.0"
] | null | null | null | /*
This program calculates the product of the numbers in the range [1, 10).
*/
#include <iostream>
int main() {
int product = 1;
for (int i = 1; i < 10; ++i) {
product *= i;
}
std::cout << "9! is " << product << std::endl;
} | 18.307692 | 72 | 0.558824 | stanleywxchen |
17206de39a0a784b608bd0a2a466ba0673b7c59d | 8,162 | cpp | C++ | src/scriptvariableswidget.cpp | st4ll1/dust3d | c1de02f7ddcfdacc730cc96740f8073f87e7818c | [
"MIT"
] | null | null | null | src/scriptvariableswidget.cpp | st4ll1/dust3d | c1de02f7ddcfdacc730cc96740f8073f87e7818c | [
"MIT"
] | null | null | null | src/scriptvariableswidget.cpp | st4ll1/dust3d | c1de02f7ddcfdacc730cc96740f8073f87e7818c | [
"MIT"
] | null | null | null | #include <QDoubleSpinBox>
#include <QFormLayout>
#include <QDebug>
#include <QCheckBox>
#include <QComboBox>
#include <QLabel>
#include <QColorDialog>
#include "scriptvariableswidget.h"
#include "util.h"
#include "theme.h"
#include "floatnumberwidget.h"
#include "intnumberwidget.h"
ScriptVariablesWidget::ScriptVariabl... | 41.85641 | 119 | 0.589439 | st4ll1 |
172103e1c59353f73377b8ac1fcd14317e1b8564 | 3,264 | cxx | C++ | src/hblas/cxx/hblas3/kern.cxx | wavefunction91/HAXX | e0c282b70ee009a2a01871979f505bcca89713ba | [
"BSD-3-Clause"
] | 6 | 2018-11-05T22:20:28.000Z | 2020-12-28T22:22:55.000Z | src/hblas/cxx/hblas3/kern.cxx | wavefunction91/HAXX | e0c282b70ee009a2a01871979f505bcca89713ba | [
"BSD-3-Clause"
] | null | null | null | src/hblas/cxx/hblas3/kern.cxx | wavefunction91/HAXX | e0c282b70ee009a2a01871979f505bcca89713ba | [
"BSD-3-Clause"
] | null | null | null | /*
* This file is a part of HAXX
*
* Copyright (c) 2017 David Williams-Young
* All rights reserved.
*
* See LICENSE.txt
*/
#include "haxx.hpp"
#include "hblas/hblas1.hpp"
#include "hblas/hblas3.hpp"
#include "util/simd.hpp"
#include "util/macro.hpp"
#include "hblas/config/types.hpp"
#include "hblas/c... | 24.177778 | 104 | 0.661152 | wavefunction91 |
17259883290525ae3c72e8fd7d7cda36b7c17527 | 2,686 | cpp | C++ | aws-cpp-sdk-securityhub/source/model/IntegrationType.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-securityhub/source/model/IntegrationType.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-securityhub/source/model/IntegrationType.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/securityhub/model/IntegrationType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::U... | 34.435897 | 130 | 0.674609 | perfectrecall |
1727a837911f2f3c2d6e6f639117a0b003ef12c6 | 252 | cpp | C++ | src/SystemQ/Program.cpp | BclEx/GpuStructs | b93acb1c7196477d1d023453a75b480f75cdd29a | [
"MIT"
] | null | null | null | src/SystemQ/Program.cpp | BclEx/GpuStructs | b93acb1c7196477d1d023453a75b480f75cdd29a | [
"MIT"
] | null | null | null | src/SystemQ/Program.cpp | BclEx/GpuStructs | b93acb1c7196477d1d023453a75b480f75cdd29a | [
"MIT"
] | null | null | null | #include <cstdio>
extern void TestHeap();
extern void TestSort();
extern void TestList();
extern void TestString();
void main()
{
TestHeap();
TestSort();
TestList();
TestString();
//
printf("End.");
char c; scanf_s("%c", &c);
}
| 14.823529 | 28 | 0.603175 | BclEx |
173637332c1cfe034ee0f6f6fcbd5d45e038bc37 | 5,902 | cpp | C++ | source/projects/ar.buildatpdf_tilde/ar.buildatpdf_tilde.cpp | isabelgk/airfx | bc97f9a093ceba9cd27020f4b4db1c508a37545f | [
"MIT"
] | 16 | 2021-06-20T04:51:09.000Z | 2022-03-30T03:03:32.000Z | source/projects/ar.buildatpdf_tilde/ar.buildatpdf_tilde.cpp | isabelgk/airfx | bc97f9a093ceba9cd27020f4b4db1c508a37545f | [
"MIT"
] | 7 | 2021-06-20T01:22:22.000Z | 2022-01-24T14:33:31.000Z | source/projects/ar.buildatpdf_tilde/ar.buildatpdf_tilde.cpp | isabelgk/airfx | bc97f9a093ceba9cd27020f4b4db1c508a37545f | [
"MIT"
] | null | null | null | #include "c74_min.h"
using namespace c74::min;
class buildatpdf : public object<buildatpdf>, public vector_operator<> {
public:
MIN_DESCRIPTION {"a dither-making toolkit"};
MIN_TAGS {"dither"};
MIN_AUTHOR {"Isabel Kaspriskie"};
inlet<> in1 {this, "(signal) Input1"};
inlet<> in2 {this, "(signal) Input2"};
outle... | 33.91954 | 94 | 0.605727 | isabelgk |
17376cb752bb6c52e2ca52519fdf58b888ae6c80 | 12,583 | cpp | C++ | Metaprogramming/E09_transform_and_filter/main.cpp | QBouts/BitsOfQ | a0d29a65316474f2c7064769c509aa4497a79b1b | [
"MIT"
] | 8 | 2022-01-24T19:52:18.000Z | 2022-03-28T22:08:14.000Z | Metaprogramming/E09_transform_and_filter/main.cpp | QBouts/BitsOfQ | a0d29a65316474f2c7064769c509aa4497a79b1b | [
"MIT"
] | null | null | null | Metaprogramming/E09_transform_and_filter/main.cpp | QBouts/BitsOfQ | a0d29a65316474f2c7064769c509aa4497a79b1b | [
"MIT"
] | null | null | null | /******************************************************************************
* MIT License
*
* Copyright (c) 2022 Quirijn Bouts
*
* 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 wit... | 44.779359 | 119 | 0.65668 | QBouts |
17378af081eee1a60bbc3f2183d502b3ffc7d31b | 6,245 | cc | C++ | cplusplus_primer_files/17/bits.cc | cbracb/cplusplus-primer-answers | 1c4009c1a770e038638f00add8320c5ca9640bcc | [
"MIT"
] | 34 | 2016-09-23T06:22:35.000Z | 2021-12-09T14:01:14.000Z | cplusplus_primer_files/17/bits.cc | cbracb/cplusplus-primer-answers | 1c4009c1a770e038638f00add8320c5ca9640bcc | [
"MIT"
] | null | null | null | cplusplus_primer_files/17/bits.cc | cbracb/cplusplus-primer-answers | 1c4009c1a770e038638f00add8320c5ca9640bcc | [
"MIT"
] | 10 | 2018-05-14T01:35:18.000Z | 2021-06-14T02:44:53.000Z | /*
* This file contains code from "C++ Primer, Fifth Edition", by Stanley B.
* Lippman, Josee Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that book:
*
* "Copyright (c) 2013 by Objectwrite, Inc., Josee Lajoie, and Barbara E. Moo."
*
*
* "The authors and publi... | 34.313187 | 79 | 0.626261 | cbracb |
173b566563ccaa10b290d62104cb8f2e0a0d6646 | 666 | cpp | C++ | src/ns_thread.cpp | kingpeter2015/libovmatting | 8d2a6b855f7d3aa7a53b6b107072a8619b26cf67 | [
"MIT"
] | 37 | 2021-01-29T13:58:20.000Z | 2022-03-29T06:57:40.000Z | src/ns_thread.cpp | positive666/libovmatting | 8d2a6b855f7d3aa7a53b6b107072a8619b26cf67 | [
"MIT"
] | 9 | 2021-04-17T02:57:27.000Z | 2022-03-21T12:21:00.000Z | src/ns_thread.cpp | positive666/libovmatting | 8d2a6b855f7d3aa7a53b6b107072a8619b26cf67 | [
"MIT"
] | 7 | 2021-02-01T03:51:01.000Z | 2022-01-20T08:10:06.000Z | #include "ns_thread.hpp"
ov_simple_thread::ov_simple_thread()
{
_interript = false;
}
ov_simple_thread::~ov_simple_thread()
{
if (!this->isInterrupted())
{
this->interrupt();
}
if (_thread.joinable()) {
_thread.join();
}
}
void ov_simple_thread::start()
{
_interript = false;
std::thread thr(std::bind(... | 12.333333 | 58 | 0.687688 | kingpeter2015 |
173c4ddd5afa35a316ed37bcaff65c18ffb83198 | 2,283 | cpp | C++ | ndn-cxx/interest-filter.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 106 | 2015-01-06T10:08:29.000Z | 2022-02-27T13:40:16.000Z | ndn-cxx/interest-filter.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 11 | 2020-12-27T23:02:56.000Z | 2021-10-18T08:00:50.000Z | ndn-cxx/interest-filter.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 147 | 2015-01-15T15:07:29.000Z | 2022-02-03T13:08:43.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2019 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | 30.039474 | 87 | 0.715725 | Pesa |
173df60f3c80d420a17bfd4e55c9c6e113b08dfd | 470 | cpp | C++ | problems/acmicpc_7568.cpp | qawbecrdtey/BOJ-sol | e3f410e8f4e3a6ade51b68ce2024529870edac64 | [
"MIT"
] | null | null | null | problems/acmicpc_7568.cpp | qawbecrdtey/BOJ-sol | e3f410e8f4e3a6ade51b68ce2024529870edac64 | [
"MIT"
] | null | null | null | problems/acmicpc_7568.cpp | qawbecrdtey/BOJ-sol | e3f410e8f4e3a6ade51b68ce2024529870edac64 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <utility>
int main() {
int n;
scanf("%d", &n);
auto a = new std::pair<int, int>[n];
auto b = new int[n]();
for(int i = 0; i < n; i++) {
scanf("%d%d", &a[i].first, &a[i].second);
for(int j = 0; j < i; j++) {
if(a[j].first < a[i].first && a[j].second < a[i].second) {
b[j]++;
... | 21.363636 | 61 | 0.451064 | qawbecrdtey |
1742888a91f3acec5239447cc80f075577cf1ecb | 1,549 | cpp | C++ | Chapter_13/gallery-desktop/PictureDelegate.cpp | vivekpala/Mastering-Qt-5 | 51b1589a234b2178a3597fe74483e2992847f69c | [
"MIT"
] | 198 | 2016-12-18T06:34:41.000Z | 2022-03-29T13:35:43.000Z | Chapter_13/gallery-desktop/PictureDelegate.cpp | vivekpala/Mastering-Qt-5 | 51b1589a234b2178a3597fe74483e2992847f69c | [
"MIT"
] | 11 | 2017-04-20T17:03:40.000Z | 2021-11-25T09:43:57.000Z | Chapter_13/gallery-desktop/PictureDelegate.cpp | vivekpala/Mastering-Qt-5 | 51b1589a234b2178a3597fe74483e2992847f69c | [
"MIT"
] | 89 | 2016-12-20T14:47:29.000Z | 2022-02-15T00:20:50.000Z | #include "PictureDelegate.h"
#include <QPainter>
const unsigned int BANNER_HEIGHT = 20;
const unsigned int BANNER_COLOR = 0x303030;
const unsigned int BANNER_ALPHA = 200;
const unsigned int BANNER_TEXT_COLOR = 0xffffff;
const unsigned int HIGHLIGHT_ALPHA = 100;
PictureDelegate::PictureDelegate(QObject* parent) :
... | 33.673913 | 114 | 0.730148 | vivekpala |
1746c0b79c8f0044bc3f8ec83e1da6604e3bd573 | 840 | cpp | C++ | src/git/Blob.cpp | mmahmoudian/Gittyup | 96702f3b96160fff540886722f7f195163c4e41b | [
"MIT"
] | 127 | 2021-10-29T19:01:32.000Z | 2022-03-31T18:23:56.000Z | src/git/Blob.cpp | mmahmoudian/Gittyup | 96702f3b96160fff540886722f7f195163c4e41b | [
"MIT"
] | 90 | 2021-11-05T13:03:58.000Z | 2022-03-30T16:42:49.000Z | src/git/Blob.cpp | mmahmoudian/Gittyup | 96702f3b96160fff540886722f7f195163c4e41b | [
"MIT"
] | 20 | 2021-10-30T12:25:33.000Z | 2022-02-18T03:08:21.000Z | //
// Copyright (c) 2016, Scientific Toolworks, Inc.
//
// This software is licensed under the MIT License. The LICENSE.md file
// describes the conditions under which this software may be distributed.
//
// Author: Jason Haslam
//
#include "Blob.h"
namespace git {
Blob::Blob() : Object() {}
Blob::Blob(con... | 24 | 78 | 0.686905 | mmahmoudian |
1747b7bfd4970fb8f467d8bd8a3d62eb364d9f35 | 3,788 | c++ | C++ | tests/core/value_ptr.test.c++ | 1094387012/SKUI | c85dd7fb9d30ff15d5d6de184670cb47e46df6de | [
"MIT"
] | 309 | 2017-05-06T02:15:43.000Z | 2022-03-23T08:27:05.000Z | tests/core/value_ptr.test.c++ | qdtroy/skui | 201707d06bd29c9ec4b05350b25b777493d5362e | [
"MIT"
] | 20 | 2018-05-11T20:56:45.000Z | 2022-03-11T06:10:12.000Z | tests/core/value_ptr.test.c++ | qdtroy/skui | 201707d06bd29c9ec4b05350b25b777493d5362e | [
"MIT"
] | 48 | 2017-06-27T06:04:15.000Z | 2022-03-01T12:56:32.000Z | /**
* The MIT License (MIT)
*
* Copyright © 2017-2020 Ruben Van Boxem
*
* 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
* ... | 33.522124 | 119 | 0.708025 | 1094387012 |
174853dfadf486708858bbf6a4f7106bb71200d7 | 3,834 | cpp | C++ | yampt.tests/tests.dictcreator.cpp | raffll/yampt | d3f97502b2979f0b189c312a255666950af74232 | [
"MIT"
] | 19 | 2016-10-23T12:24:12.000Z | 2022-01-30T22:44:22.000Z | yampt.tests/tests.dictcreator.cpp | raffll/yampt | d3f97502b2979f0b189c312a255666950af74232 | [
"MIT"
] | 16 | 2018-12-15T11:56:39.000Z | 2021-06-08T14:48:07.000Z | yampt.tests/tests.dictcreator.cpp | raffll/yampt | d3f97502b2979f0b189c312a255666950af74232 | [
"MIT"
] | 1 | 2021-05-30T12:27:42.000Z | 2021-05-30T12:27:42.000Z | #include "catch.hpp"
#include "../yampt/tools.hpp"
#include "../yampt/esmreader.hpp"
#include "../yampt/dictcreator.hpp"
TEST_CASE("create raw", "[i]")
{
DictCreator esm("master/en/Morrowind.esm");
REQUIRE(esm.getDict().at(Tools::RecType::CELL).begin()->first == "Abaelun Mine");
REQUIRE(esm.getDict().at(To... | 58.984615 | 168 | 0.666145 | raffll |
174dcb53c569ab01ef712200e09054dbe0f9e9fc | 633 | cpp | C++ | common/MessageQueue.cpp | lucabello/kangaroo-docs | 1d4b6ac044250457a9957ed3ec1ee8b89a99e456 | [
"MIT"
] | 1 | 2020-04-11T14:18:54.000Z | 2020-04-11T14:18:54.000Z | common/MessageQueue.cpp | lucabello/kangaroo-docs | 1d4b6ac044250457a9957ed3ec1ee8b89a99e456 | [
"MIT"
] | null | null | null | common/MessageQueue.cpp | lucabello/kangaroo-docs | 1d4b6ac044250457a9957ed3ec1ee8b89a99e456 | [
"MIT"
] | null | null | null | #include "MessageQueue.h"
int MessageQueue::count(){
QMutexLocker locker(&mutex);
int count = queue.count();
return count;
}
bool MessageQueue::isEmpty(){
QMutexLocker locker(&mutex);
bool empty = queue.isEmpty();
return empty;
}
void MessageQueue::clear(){
QMutexLocker locker(&mutex);
... | 19.181818 | 42 | 0.649289 | lucabello |
174e0f0f344dafe9204933c6819d28e72d6fef21 | 3,662 | cpp | C++ | tests/TestDataScalar.cpp | Glebanister/spla | 6951af369e359827729fd12b08f5df0ba3dac8ef | [
"MIT"
] | 10 | 2021-09-24T03:48:31.000Z | 2022-02-07T09:09:01.000Z | tests/TestDataScalar.cpp | Glebanister/spla | 6951af369e359827729fd12b08f5df0ba3dac8ef | [
"MIT"
] | 78 | 2021-09-11T09:39:04.000Z | 2022-02-11T19:50:07.000Z | tests/TestDataScalar.cpp | Glebanister/spla | 6951af369e359827729fd12b08f5df0ba3dac8ef | [
"MIT"
] | 3 | 2021-09-20T15:43:54.000Z | 2022-02-15T11:29:52.000Z | /**********************************************************************************/
/* This file is part of spla project */
/* https://github.com/JetBrains-Research/spla */
/****************************************************************... | 51.577465 | 114 | 0.512288 | Glebanister |
1757e4a4d9dd18d774b0353d885f694afac4249f | 460 | cpp | C++ | lib/service/Service.cpp | p0thi/ARDUINO | ed06934163c5ccfc75f95b74210217a406ede793 | [
"MIT"
] | 314 | 2018-09-07T18:30:29.000Z | 2022-03-27T05:25:45.000Z | lib/service/Service.cpp | p0thi/ARDUINO | ed06934163c5ccfc75f95b74210217a406ede793 | [
"MIT"
] | 89 | 2018-09-07T02:29:20.000Z | 2022-03-15T20:55:24.000Z | lib/service/Service.cpp | p0thi/ARDUINO | ed06934163c5ccfc75f95b74210217a406ede793 | [
"MIT"
] | 64 | 2018-09-07T02:32:52.000Z | 2022-03-31T13:34:28.000Z | #include "Service.h"
#define LOG_MAX_LEN 64
static Print *stream = nullptr;
void __log_init__(Print *printer) { stream = printer; }
void __log__(const __FlashStringHelper *fmt, ...) {
if (!stream) return;
char buf[LOG_MAX_LEN];
sprintf_P(buf, (PGM_P) F("%010ld | "), millis());
stream->print(buf);
... | 24.210526 | 55 | 0.654348 | p0thi |
1758bb03ad62a86f9e758ea23cee19423fcdca3a | 350 | cpp | C++ | codeforces/800/732A-BuyaShovel.cpp | thesaravanakumar/competative-programming | 828b9973bbd90945d6edf3719dc2d29213acc3a5 | [
"MIT"
] | null | null | null | codeforces/800/732A-BuyaShovel.cpp | thesaravanakumar/competative-programming | 828b9973bbd90945d6edf3719dc2d29213acc3a5 | [
"MIT"
] | null | null | null | codeforces/800/732A-BuyaShovel.cpp | thesaravanakumar/competative-programming | 828b9973bbd90945d6edf3719dc2d29213acc3a5 | [
"MIT"
] | null | null | null | /*●▬▬▬▬▬๑۩۩๑▬▬▬▬●●▬▬▬▬▬๑۩۩๑▬▬▬▬●🆀🆄🅰🅺🅴●▬▬▬▬▬๑۩۩๑▬▬▬▬●●▬▬▬▬▬๑۩۩๑▬▬▬▬●*/
#include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main()
{
int k,r;
cin>>k>>r;
int a=k,i;
for(i=1;k%10!=r&&k%10!=0;i++){
k+=a;
}
cout<<i;
return 0;
}
/*●▬▬▬▬▬๑۩۩๑▬▬▬▬●●▬▬▬▬▬๑۩۩๑▬▬▬▬●🆀... | 21.875 | 69 | 0.34 | thesaravanakumar |
175fb259a78b86c120b09ef2ef23d63ddbde8f7a | 43,073 | hpp | C++ | include/ginkgo/core/base/range.hpp | kliegeois/ginkgo | 4defcc07f77828393cc5b4a735a00e50da2cbab0 | [
"BSD-3-Clause"
] | null | null | null | include/ginkgo/core/base/range.hpp | kliegeois/ginkgo | 4defcc07f77828393cc5b4a735a00e50da2cbab0 | [
"BSD-3-Clause"
] | null | null | null | include/ginkgo/core/base/range.hpp | kliegeois/ginkgo | 4defcc07f77828393cc5b4a735a00e50da2cbab0 | [
"BSD-3-Clause"
] | null | null | null | /*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2022, the Ginkgo authors
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 co... | 42.352999 | 80 | 0.58568 | kliegeois |
17612e414b3af0406344bbe6b1958cf5e96b5f2b | 1,262 | cpp | C++ | aws-cpp-sdk-securityhub/source/model/PortRangeFromTo.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-securityhub/source/model/PortRangeFromTo.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-securityhub/source/model/PortRangeFromTo.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/securityhub/model/PortRangeFromTo.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
n... | 15.974684 | 69 | 0.687797 | perfectrecall |
1765d50e30a5884a527504a253371aed193dcc88 | 18,521 | cpp | C++ | tests/src/MpTestAutoResendEngine.cpp | lgrigoriu/end-to-end-smkex | ffe4582247dd6435e5ac01166022ded6d26babac | [
"BSD-3-Clause"
] | null | null | null | tests/src/MpTestAutoResendEngine.cpp | lgrigoriu/end-to-end-smkex | ffe4582247dd6435e5ac01166022ded6d26babac | [
"BSD-3-Clause"
] | null | null | null | tests/src/MpTestAutoResendEngine.cpp | lgrigoriu/end-to-end-smkex | ffe4582247dd6435e5ac01166022ded6d26babac | [
"BSD-3-Clause"
] | null | null | null | #include "MpTestAutoResendEngine.h"
#include "MpMsgPayload.h"
#include "MpDBConnectorMock.h"
#include "MpAutoResendEngine.h"
#include "MpMsgTransportMock.h"
#include "MpPresenceListMock.h"
#include "MpSIPStackMock.h"
#include <iostream>
MpTestAutoResendEngine::MpTestAutoResendEngine() {
testSuite = new MpTestSuiteDat... | 34.298148 | 90 | 0.737055 | lgrigoriu |
17669517dca681f35fa5614e293900598cf9e248 | 4,113 | cpp | C++ | src/TRSSINCOS.cpp | starlingcode/StarlingTRS | a9031bb24481c3e7f12af73b2736ff2449eb3822 | [
"MIT"
] | 2 | 2021-10-21T05:50:39.000Z | 2022-03-17T23:47:45.000Z | src/TRSSINCOS.cpp | starlingcode/StarlingTRS | a9031bb24481c3e7f12af73b2736ff2449eb3822 | [
"MIT"
] | null | null | null | src/TRSSINCOS.cpp | starlingcode/StarlingTRS | a9031bb24481c3e7f12af73b2736ff2449eb3822 | [
"MIT"
] | null | null | null | #include "trs.hpp"
struct TRSSINCOS : Module {
enum ParamIds {
DEPTH_PARAM,
BIAS_PARAM,
NUM_PARAMS
};
enum InputIds {
MONO_INPUT,
STEREO_INPUT,
DEPTH_INPUT,
NUM_INPUTS
};
enum OutputIds {
OUT_OUTPUT,
NUM_OUTPUTS
};
enu... | 33.713115 | 123 | 0.599562 | starlingcode |
1769e9328e857e0e73c06fed7ae6251792875e25 | 291 | cpp | C++ | unix/take.cpp | kybr/MAT240C-2018 | a888e9175022b90c442f0abddf49a836ef56693f | [
"MIT"
] | null | null | null | unix/take.cpp | kybr/MAT240C-2018 | a888e9175022b90c442f0abddf49a836ef56693f | [
"MIT"
] | null | null | null | unix/take.cpp | kybr/MAT240C-2018 | a888e9175022b90c442f0abddf49a836ef56693f | [
"MIT"
] | null | null | null | #include "everything.h"
// accept and pass on only so many inputs
int main(int argc, char* argv[]) {
unsigned many = strtoul(argv[1], nullptr, 0);
if (many <= 0) return 0;
char buffer[256];
while (many > 0) {
many--;
scanf("%s", buffer);
printf("%s\n", buffer);
}
}
| 18.1875 | 47 | 0.584192 | kybr |
176a8c9728693eecbba7ec1a391de112b4afde16 | 18,612 | cc | C++ | Modules/Image/test/irtkDisplacementToVelocityFieldTest.cc | kevin-keraudren/IRTK | ce329b7f58270b6c34665dcfe9a6e941649f3b94 | [
"Apache-2.0"
] | 3 | 2018-10-04T19:32:36.000Z | 2021-09-02T07:37:30.000Z | Modules/Image/test/irtkDisplacementToVelocityFieldTest.cc | kevin-keraudren/IRTK | ce329b7f58270b6c34665dcfe9a6e941649f3b94 | [
"Apache-2.0"
] | null | null | null | Modules/Image/test/irtkDisplacementToVelocityFieldTest.cc | kevin-keraudren/IRTK | ce329b7f58270b6c34665dcfe9a6e941649f3b94 | [
"Apache-2.0"
] | 4 | 2016-03-17T02:55:00.000Z | 2018-02-03T05:40:05.000Z | /* The Image Registration Toolkit (IRTK)
*
* Copyright 2008-2015 Imperial College London
*
* 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... | 30.561576 | 115 | 0.483666 | kevin-keraudren |
176aa0bf518fa08631ca83c002e61b6014fbb287 | 4,441 | cpp | C++ | Lib-Engine/src/sfz/math/MathPrimitiveToStrings.cpp | PetorSFZ/sfz_tech | 0d4027ad2c2bb444b83e78f009b649478cb97a73 | [
"Zlib"
] | 2 | 2020-09-04T16:52:47.000Z | 2021-04-21T18:30:25.000Z | Lib-Engine/src/sfz/math/MathPrimitiveToStrings.cpp | PetorSFZ/sfz_tech | 0d4027ad2c2bb444b83e78f009b649478cb97a73 | [
"Zlib"
] | null | null | null | Lib-Engine/src/sfz/math/MathPrimitiveToStrings.cpp | PetorSFZ/sfz_tech | 0d4027ad2c2bb444b83e78f009b649478cb97a73 | [
"Zlib"
] | null | null | null | // Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se)
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for ... | 26.915152 | 107 | 0.68408 | PetorSFZ |
176c0478cb042b829515982555817b101582615b | 1,713 | cpp | C++ | libraries/ine-vm/tests/implementation_limits_tests.cpp | inery-blockchain/inery | 2823539f76a0debae22b6783781b1374c63a59d8 | [
"MIT"
] | null | null | null | libraries/ine-vm/tests/implementation_limits_tests.cpp | inery-blockchain/inery | 2823539f76a0debae22b6783781b1374c63a59d8 | [
"MIT"
] | null | null | null | libraries/ine-vm/tests/implementation_limits_tests.cpp | inery-blockchain/inery | 2823539f76a0debae22b6783781b1374c63a59d8 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <vector>
#include <iterator>
#include <cstdlib>
#include <fstream>
#include <string>
#include <catch2/catch.hpp>
#include <inery/vm/backend.hpp>
#include "wasm_config.hpp"
#include "utils.hpp"
using namespace inery;
using namespace inery::vm;
void host_call() {}
#include "implementati... | 36.446809 | 100 | 0.732633 | inery-blockchain |
17765af0221ec095ee20d3032b435fd4854cbb08 | 27,137 | cpp | C++ | src/plugProjectEbisawaU/ebiP2TitleUnit.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 33 | 2021-12-08T11:10:59.000Z | 2022-03-26T19:59:37.000Z | src/plugProjectEbisawaU/ebiP2TitleUnit.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 6 | 2021-12-22T17:54:31.000Z | 2022-01-07T21:43:18.000Z | src/plugProjectEbisawaU/ebiP2TitleUnit.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 2 | 2022-01-04T06:00:49.000Z | 2022-01-26T07:27:28.000Z | #include "types.h"
/*
Generated from dpostproc
.section .ctors, "wa" # 0x80472F00 - 0x804732C0
.4byte __sinit_ebiP2TitleUnit_cpp
.section .rodata # 0x804732E0 - 0x8049E220
.global lbl_804961D8
lbl_804961D8:
.4byte 0x00000000
.4byte 0x00000000
.4byte 0x00000000
... | 19.924376 | 110 | 0.582673 | projectPiki |
177be2392c44caefcf3e2ee55055d2ffeb2362d8 | 131 | hxx | C++ | remove_cv_t.hxx | mojo-runtime/lib-std | 35178964db5b51184f35447f33c379de9768b534 | [
"MIT"
] | null | null | null | remove_cv_t.hxx | mojo-runtime/lib-std | 35178964db5b51184f35447f33c379de9768b534 | [
"MIT"
] | null | null | null | remove_cv_t.hxx | mojo-runtime/lib-std | 35178964db5b51184f35447f33c379de9768b534 | [
"MIT"
] | null | null | null | #pragma once
#include "remove_cv.hxx"
namespace std {
template <typename T>
using remove_cv_t = typename remove_cv<T>::type;
}
| 11.909091 | 48 | 0.732824 | mojo-runtime |
ed0ccabbe97c98ba2ffa749027d8143f19ead76c | 6,136 | hpp | C++ | tools/quickbook/src/grammar_impl.hpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | 85 | 2015-02-08T20:36:17.000Z | 2021-11-14T20:38:31.000Z | libs/boost/tools/quickbook/src/grammar_impl.hpp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | libs/boost/tools/quickbook/src/grammar_impl.hpp | flingone/frameworks_base_cmds_remoted | 4509d9f0468137ed7fd8d100179160d167e7d943 | [
"Apache-2.0"
] | 27 | 2015-01-28T16:33:30.000Z | 2021-08-12T05:04:39.000Z | /*=============================================================================
Copyright (c) 2002 2004 2006 Joel de Guzman
Copyright (c) 2004 Eric Niebler
Copyright (c) 2010 Daniel James
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
L... | 36.307692 | 81 | 0.564863 | lijgame |
ed0e061bb0185dea1a6ded2ddf8661d18a59dbeb | 135 | hh | C++ | SDLApp/include/system/Base.hh | gleko/lazysdl | 83957530c6e141fc85bbe0a2e765d89d2e697a3e | [
"MIT"
] | null | null | null | SDLApp/include/system/Base.hh | gleko/lazysdl | 83957530c6e141fc85bbe0a2e765d89d2e697a3e | [
"MIT"
] | null | null | null | SDLApp/include/system/Base.hh | gleko/lazysdl | 83957530c6e141fc85bbe0a2e765d89d2e697a3e | [
"MIT"
] | null | null | null | #pragma once
#ifdef __linux__
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#else
#include <SDL.h>
#include <SDL_image.h>
#endif
| 12.272727 | 27 | 0.718519 | gleko |
ed118c2c4af7663502fd373a7e58bfffd7385a96 | 735 | cpp | C++ | tests/domain/linkpositiontest.cpp | hcmarchezi/manipulator-robot-api | 6ec50278496b10d3b31557f92f62d1521edefa2a | [
"MIT"
] | null | null | null | tests/domain/linkpositiontest.cpp | hcmarchezi/manipulator-robot-api | 6ec50278496b10d3b31557f92f62d1521edefa2a | [
"MIT"
] | null | null | null | tests/domain/linkpositiontest.cpp | hcmarchezi/manipulator-robot-api | 6ec50278496b10d3b31557f92f62d1521edefa2a | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "LinkPosition.h"
class LinkPositionTest : public ::testing::Test
{
};
TEST_F(LinkPositionTest,objectInstanciatedWithDefaultValues)
{
PDC::LinkPosition linkPosition(1.2,0.3);
ASSERT_DOUBLE_EQ(1.2, linkPosition.GetJointPosition());
ASSERT_DOUBLE_EQ(0.3, linkPosition.GetJoi... | 25.344828 | 60 | 0.761905 | hcmarchezi |
ed194aa657cf07f439dbe36b82f4733dfde426e4 | 199 | cpp | C++ | problems/acmicpc_3474.cpp | qawbecrdtey/BOJ-sol | e3f410e8f4e3a6ade51b68ce2024529870edac64 | [
"MIT"
] | null | null | null | problems/acmicpc_3474.cpp | qawbecrdtey/BOJ-sol | e3f410e8f4e3a6ade51b68ce2024529870edac64 | [
"MIT"
] | null | null | null | problems/acmicpc_3474.cpp | qawbecrdtey/BOJ-sol | e3f410e8f4e3a6ade51b68ce2024529870edac64 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main() {
int t;
scanf("%d", &t);
while(t--) {
long long n, sum = 0;
scanf("%lld", &n);
for(long long i = 5; i <= n; i *= 5) sum += n / i;
printf("%lld\n", sum);
}
} | 18.090909 | 52 | 0.472362 | qawbecrdtey |
ed1aa844287016e5e38a3a036829fa12e8b14273 | 2,895 | cpp | C++ | system/jlib/jiface.cpp | emuharemagic/HPCC-Platform | bbd5423b25f6ba2d675521c8917f9ecfa97dace5 | [
"Apache-2.0"
] | 1 | 2020-08-01T19:54:56.000Z | 2020-08-01T19:54:56.000Z | system/jlib/jiface.cpp | emuharemagic/HPCC-Platform | bbd5423b25f6ba2d675521c8917f9ecfa97dace5 | [
"Apache-2.0"
] | null | null | null | system/jlib/jiface.cpp | emuharemagic/HPCC-Platform | bbd5423b25f6ba2d675521c8917f9ecfa97dace5 | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
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 ... | 20.978261 | 91 | 0.559585 | emuharemagic |
ed1ff8534f7c0de92aa159767b18bd04a1508c4f | 3,570 | cpp | C++ | mlir/tools/mlir-reduce/ReductionNode.cpp | jazgarewal/llvm-project | f8fb30933d1804a47241a61289ab04a995eabbe7 | [
"Apache-2.0"
] | null | null | null | mlir/tools/mlir-reduce/ReductionNode.cpp | jazgarewal/llvm-project | f8fb30933d1804a47241a61289ab04a995eabbe7 | [
"Apache-2.0"
] | null | null | null | mlir/tools/mlir-reduce/ReductionNode.cpp | jazgarewal/llvm-project | f8fb30933d1804a47241a61289ab04a995eabbe7 | [
"Apache-2.0"
] | null | null | null | //===- ReductionNode.cpp - Reduction Node Implementation -----------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------... | 32.454545 | 80 | 0.664706 | jazgarewal |
ed29db46b513dba02f36e1e17d3c6c2a692d482b | 924 | cc | C++ | programs/spiral-to-polyhedron.cc | jamesavery/spiralcode-reference | bb2f02e01447c3f3772eb5f2d7bad4d06c8ce29b | [
"BSD-2-Clause"
] | null | null | null | programs/spiral-to-polyhedron.cc | jamesavery/spiralcode-reference | bb2f02e01447c3f3772eb5f2d7bad4d06c8ce29b | [
"BSD-2-Clause"
] | null | null | null | programs/spiral-to-polyhedron.cc | jamesavery/spiralcode-reference | bb2f02e01447c3f3772eb5f2d7bad4d06c8ce29b | [
"BSD-2-Clause"
] | 1 | 2021-08-04T22:44:06.000Z | 2021-08-04T22:44:06.000Z | #include <string>
#include "libgraph/triangulation.hh"
#include "libgraph/spiral.hh"
#include "libgraph/polyhedron.hh"
using namespace std;
int main(int ac, char **av)
{
if(ac<=1 || string(av[1]) == "help"){
fprintf(stderr,"Syntax: %s \"<spiral code>\" [output-file]\n"
"Graph-file formats: %s.\n",
av... | 23.692308 | 68 | 0.570346 | jamesavery |
ed319960a4da1f014d124f9eceb2020f26f7abce | 1,112 | cpp | C++ | Ejercicios/Tarea_9/dadosss.cpp | Sabrego02/cpp | 0e023b3f71b8669f8854372f9a5794144bcd82e8 | [
"MIT"
] | null | null | null | Ejercicios/Tarea_9/dadosss.cpp | Sabrego02/cpp | 0e023b3f71b8669f8854372f9a5794144bcd82e8 | [
"MIT"
] | null | null | null | Ejercicios/Tarea_9/dadosss.cpp | Sabrego02/cpp | 0e023b3f71b8669f8854372f9a5794144bcd82e8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
int dado1,dado2;
string lanzar;
int main()
{
while (true)
{
cout<<"En este juego se gana con los numeros 4 , 6 , 8 y se pierden con los numeros 2 y 12 ---"<<endl<<endl;
cout<<"Presione cualquier tecla para lanzar ... | 25.272727 | 116 | 0.478417 | Sabrego02 |
ed39d1da482ef14dcef2da26a6c1bc790bf97af8 | 2,894 | cpp | C++ | build/dependencies/image_tools/source/win32/wic.cpp | GPUPeople/cuRE | ccba6a29bba4445300cbb630befe57e31f0d80cb | [
"MIT"
] | 55 | 2018-07-11T23:40:06.000Z | 2022-03-18T05:34:44.000Z | visualizer/build/dependencies/image_tools/source/win32/wic.cpp | GPUPeople/vertex_batch_optimization | 46332cd9f576eb6a464a96d5214cbce7d0319a6b | [
"MIT"
] | 1 | 2020-08-19T12:39:17.000Z | 2020-08-19T12:39:17.000Z | visualizer/build/dependencies/image_tools/source/win32/wic.cpp | GPUPeople/vertex_batch_optimization | 46332cd9f576eb6a464a96d5214cbce7d0319a6b | [
"MIT"
] | 13 | 2018-08-16T17:00:36.000Z | 2022-01-17T08:33:57.000Z |
#include <COM/init.h>
#include <COM/error.h>
#include "wic.h"
namespace
{
COM::unique_ptr<IWICImagingFactory> createWICFactory()
{
IWICImagingFactory* factory;
COM::throw_error(CoCreateInstance(CLSID_WICImagingFactory, nullptr, CLSCTX_INPROC_SERVER, IID_IWICImagingFactory, reinterpret_cast<voi... | 31.456522 | 154 | 0.755701 | GPUPeople |
ed3a49394729c9ff3390862669c1363f81c93e3f | 1,647 | hpp | C++ | flexcore/pure/pure_node.hpp | vacing/flexcore | 08c08e98556f92d1993e2738cbcb975b3764fa2d | [
"Apache-2.0"
] | 47 | 2016-09-23T10:27:17.000Z | 2021-12-14T07:31:40.000Z | flexcore/pure/pure_node.hpp | vacing/flexcore | 08c08e98556f92d1993e2738cbcb975b3764fa2d | [
"Apache-2.0"
] | 10 | 2016-12-04T16:40:29.000Z | 2020-04-28T08:46:50.000Z | flexcore/pure/pure_node.hpp | vacing/flexcore | 08c08e98556f92d1993e2738cbcb975b3764fa2d | [
"Apache-2.0"
] | 20 | 2016-09-23T17:14:41.000Z | 2021-10-09T18:24:47.000Z | #ifndef SRC_NODES_PURE_NODE_HPP_
#define SRC_NODES_PURE_NODE_HPP_
#include <flexcore/pure/pure_ports.hpp>
namespace fc
{
namespace pure
{
class pure_node;
/**
* \brief port mixin which does nothing and leaves the port as pure.
*
* pure_port_mixin is used for metaprogramming code which applies mixins
* which ar... | 25.338462 | 93 | 0.75167 | vacing |
ed3fa7e28cbf42e9610efa1cadf47ee2ada7af04 | 33,872 | hxx | C++ | src/util/image.hxx | lejeunel/glia | 24b763a230627951139010cd07b0d0ff2356a365 | [
"MIT"
] | null | null | null | src/util/image.hxx | lejeunel/glia | 24b763a230627951139010cd07b0d0ff2356a365 | [
"MIT"
] | null | null | null | src/util/image.hxx | lejeunel/glia | 24b763a230627951139010cd07b0d0ff2356a365 | [
"MIT"
] | null | null | null | #ifndef _glia_util_image_hxx_
#define _glia_util_image_hxx_
#include "glia_image.hxx"
#include "type/neighbor.hxx"
#include "util/struct.hxx"
#include "util/container.hxx"
#include "itkCastImageFilter.h"
#include "itkVectorImageToImageAdaptor.h"
#include "itkBinaryThresholdImageFilter.h"
#include "itkConnectedComponen... | 31.018315 | 74 | 0.668015 | lejeunel |
ed4061f4f8f122df260cdbea24fbdfceddc9f368 | 6,956 | cpp | C++ | ros2_workspace/src/app_cue/src/SerialMonitor.cpp | MaSiRo-Project-OSS/TWELITE_for_ROS | dae7f38b1a71ab2756776ed93b8eb09dddeeaf4e | [
"MIT"
] | null | null | null | ros2_workspace/src/app_cue/src/SerialMonitor.cpp | MaSiRo-Project-OSS/TWELITE_for_ROS | dae7f38b1a71ab2756776ed93b8eb09dddeeaf4e | [
"MIT"
] | 4 | 2022-01-10T08:51:39.000Z | 2022-01-10T10:31:15.000Z | ros2_workspace/src/app_cue/src/SerialMonitor.cpp | MaSiRo-Project-OSS/TWELITE_for_ROS | dae7f38b1a71ab2756776ed93b8eb09dddeeaf4e | [
"MIT"
] | null | null | null | /**
* @file SerialMonitor.cpp
* @brief SerialMonitor for Linux
* @date 2022-01-08
*
* @copyright Copyright (c) 2022-.
* MaSiRo Project.
*
*/
#include "SerialMonitor.h"
#include <fcntl.h>
#include <unistd.h>
// ==================================================== //
#define SERIALMONITOR_DEBUG 0
... | 29.104603 | 101 | 0.45069 | MaSiRo-Project-OSS |
ed41eadaf12a3374bd832ef2058094679082e39f | 743 | cpp | C++ | src/mesh/meshGlobalIds.cpp | Nek5000/nekrs | 7a55f459cd9b42129d0d3312dac8dd614cdb50d0 | [
"BSD-3-Clause"
] | 2 | 2021-09-07T03:00:53.000Z | 2021-12-06T18:08:27.000Z | src/mesh/meshGlobalIds.cpp | yhaomin2007/nekRS | a416c98ed00d48d1bd9722dcca781a1859fc37f4 | [
"BSD-3-Clause"
] | 2 | 2021-06-27T02:07:27.000Z | 2021-08-24T04:47:42.000Z | src/mesh/meshGlobalIds.cpp | yhaomin2007/nekRS | a416c98ed00d48d1bd9722dcca781a1859fc37f4 | [
"BSD-3-Clause"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include "mesh.h"
#include "nekInterfaceAdapter.hpp"
struct parallelNode_t
{
int baseRank;
hlong baseId;
};
// uniquely label each node with a global index, used for gatherScatter
void meshNekParallelConnectNodes(mesh_t* mesh)
{
int rank, size;
rank ... | 21.852941 | 71 | 0.711978 | Nek5000 |
ed43b83db56198766706922f061cba47b1f0e0e5 | 819 | cpp | C++ | source/383.cpp | narikbi/LeetCode | 835215c21d1bd6820b20c253026bcb6f889ed3fc | [
"MIT"
] | 2 | 2017-02-28T11:39:13.000Z | 2019-12-07T17:23:20.000Z | source/383.cpp | narikbi/LeetCode | 835215c21d1bd6820b20c253026bcb6f889ed3fc | [
"MIT"
] | null | null | null | source/383.cpp | narikbi/LeetCode | 835215c21d1bd6820b20c253026bcb6f889ed3fc | [
"MIT"
] | null | null | null | //
// 383.cpp
// LeetCode
//
// Created by Narikbi on 18.02.17.
// Copyright © 2017 app.leetcode.kz. All rights reserved.
//
#include <stdio.h>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <deque>
#include <queue>
#include <set>
#include <map>
#include <stack>
#include <cma... | 17.804348 | 61 | 0.559219 | narikbi |
ed45a8f97f758cc7e55fa0abe242a1d30f090308 | 16,641 | cpp | C++ | src/realm/object-store/impl/collection_notifier.cpp | DominicFrei/realm-core | 731d4deff603fcbd76de0d70e670b945cae58238 | [
"Apache-2.0"
] | null | null | null | src/realm/object-store/impl/collection_notifier.cpp | DominicFrei/realm-core | 731d4deff603fcbd76de0d70e670b945cae58238 | [
"Apache-2.0"
] | null | null | null | src/realm/object-store/impl/collection_notifier.cpp | DominicFrei/realm-core | 731d4deff603fcbd76de0d70e670b945cae58238 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/li... | 32.693517 | 118 | 0.654708 | DominicFrei |
ed499b15101ba2b1a5abf2be1ade7941a8dee122 | 194 | hpp | C++ | src/util/mediancut.hpp | TricksterGuy/PicrossPuzzleExporter | ceda25561906b8f78163bb43775b1be87e905ed3 | [
"MIT"
] | 8 | 2018-10-29T15:55:59.000Z | 2021-11-26T07:20:35.000Z | src/util/mediancut.hpp | TricksterGuy/PicrossPuzzleExporter | ceda25561906b8f78163bb43775b1be87e905ed3 | [
"MIT"
] | 6 | 2020-06-02T04:11:39.000Z | 2020-07-20T07:48:19.000Z | src/util/mediancut.hpp | TricksterGuy/PicrossPuzzleExporter | ceda25561906b8f78163bb43775b1be87e905ed3 | [
"MIT"
] | 1 | 2020-03-16T18:19:15.000Z | 2020-03-16T18:19:15.000Z | #ifndef MEDIAN_CUT_HPP
#define MEDIAN_CUT_HPP
#include "color.hpp"
#include "reductionhelper.hpp"
void GetPalette(const Image16Bpp& image, unsigned int num_colors, Palette& palette);
#endif
| 17.636364 | 84 | 0.793814 | TricksterGuy |
ed4d914cf55659b7649564e5342bc4221b8d5d67 | 1,212 | cpp | C++ | src/Node.cpp | blinknet/bolt-simulation | f3718c345ee037ad3b69a0772f55177973e7ff8c | [
"Unlicense"
] | 3 | 2018-02-18T18:28:38.000Z | 2018-08-22T22:07:40.000Z | src/Node.cpp | blinknet/bolt-simulation | f3718c345ee037ad3b69a0772f55177973e7ff8c | [
"Unlicense"
] | null | null | null | src/Node.cpp | blinknet/bolt-simulation | f3718c345ee037ad3b69a0772f55177973e7ff8c | [
"Unlicense"
] | null | null | null | #include "Node.hpp"
#include "Globals.hpp"
#include "Utils.hpp"
#include "third_party/cpp-base/src/cppbase/Random.hpp"
Node::Node() {
this->init(0);
}
Node::Node(int index) {
this->init(index);
}
void Node::init(int index) {
const auto city = RandomCity();
this->longitude = DegToRad(city.second.fir... | 25.787234 | 134 | 0.691419 | blinknet |
ed4ec6cff2e60e81fc06327f96affc1c98963cb0 | 3,803 | cpp | C++ | samples/snippets/cpp/VS_Snippets_Remoting/SoapBodyBinding_Parts/CPP/soapbodybinding_parts.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_Remoting/SoapBodyBinding_Parts/CPP/soapbodybinding_parts.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_Remoting/SoapBodyBinding_Parts/CPP/soapbodybinding_parts.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | // System.Web.Services.Description.SoapBinding.Namespace
// System.Web.Services.Description.SoapBodyBinding.Parts
/*
The following example demonstrates the 'Namespace' field of 'SoapBinding' class
and 'parts' property of 'SoapBodyBinding' class.
It takes a wsdl file which supports two protocols 'HttpGet' and 'Ht... | 42.255556 | 88 | 0.722062 | hamarb123 |
ed51bdba18e0deca9058c03a1eb20b78462331d0 | 1,690 | hpp | C++ | src/tests/generator.hpp | bosley/vtitan | b56d715637f72792ae70ab5b28009d129c00ff71 | [
"MIT"
] | null | null | null | src/tests/generator.hpp | bosley/vtitan | b56d715637f72792ae70ab5b28009d129c00ff71 | [
"MIT"
] | null | null | null | src/tests/generator.hpp | bosley/vtitan | b56d715637f72792ae70ab5b28009d129c00ff71 | [
"MIT"
] | null | null | null | #ifndef GENERATOR_TESTS_HPP
#define GENERATOR_TESTS_HPP
#include "lang/instructions.hpp"
#include <random>
#include <string>
namespace gen
{
template<typename T>
class GenerateRandom
{
public:
explicit GenerateRandom() : eng(rd()) { }
T get_range(T min, T max)
{
std::uniform_int_distribution<T> ... | 21.666667 | 69 | 0.685799 | bosley |
ed549ce1d9c62882bd5787c6ef3fefd1841a56ad | 9,350 | hpp | C++ | include/upcore/up/prolog/msvc.hpp | upcaste/upcaste | 8174a2f40e7fde022806f8d1565bb4a415ecb210 | [
"MIT"
] | 1 | 2018-09-17T20:50:14.000Z | 2018-09-17T20:50:14.000Z | include/upcore/up/prolog/msvc.hpp | jwtowner/upcaste | 8174a2f40e7fde022806f8d1565bb4a415ecb210 | [
"MIT"
] | null | null | null | include/upcore/up/prolog/msvc.hpp | jwtowner/upcaste | 8174a2f40e7fde022806f8d1565bb4a415ecb210 | [
"MIT"
] | null | null | null | //
// Upcaste Performance Libraries
// Copyright (C) 2012-2013 Jesse W. Towner
//
// 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 lim... | 30.064309 | 116 | 0.782032 | upcaste |
ed555addbc226b9a09e15691e32b9a5004dcdafa | 2,416 | cpp | C++ | src/gui/highlighting/FontPicker.cpp | tomvodi/QTail | 2e7acf31664969e6890edede6b60e02b20f33eb2 | [
"MIT"
] | 1 | 2017-04-29T12:17:59.000Z | 2017-04-29T12:17:59.000Z | src/gui/highlighting/FontPicker.cpp | tomvodi/QTail | 2e7acf31664969e6890edede6b60e02b20f33eb2 | [
"MIT"
] | 25 | 2016-06-11T17:35:42.000Z | 2017-07-19T04:19:08.000Z | src/gui/highlighting/FontPicker.cpp | tomvodi/QTail | 2e7acf31664969e6890edede6b60e02b20f33eb2 | [
"MIT"
] | null | null | null | /**
* @author Thomas Baumann <teebaum@ymail.com>
*
* @section LICENSE
* See LICENSE for more informations.
*
*/
#include "FontPicker.h"
#include "ui_FontPicker.h"
FontPicker::FontPicker(QWidget *parent) :
QFrame(parent),
ui(new Ui::FontPicker)
{
ui->setupUi(this);
// Init to default font size
Q... | 27.770115 | 94 | 0.69702 | tomvodi |
ed596431769819eec4b2b8c8e196ae3587c69cb0 | 7,739 | cpp | C++ | src/InputBox.cpp | gmalysa/gui2d | 0675d396b3f1e28073b77903026c3c797cd445b9 | [
"BSD-3-Clause"
] | null | null | null | src/InputBox.cpp | gmalysa/gui2d | 0675d396b3f1e28073b77903026c3c797cd445b9 | [
"BSD-3-Clause"
] | null | null | null | src/InputBox.cpp | gmalysa/gui2d | 0675d396b3f1e28073b77903026c3c797cd445b9 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file 2dgui/InputBox.cpp
* @todo License/copyright statement
*/
// Standard headers
#include <gl/glew.h>
#include <glm/glm.hpp>
#include <glm/gtc/type_precision.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <iostream>
#include <string>
#include <algorithm>
// Project definitions
#include "2d... | 25.969799 | 107 | 0.639747 | gmalysa |
ed5d6d3c3cf244c475c7329d78f12378088cc01c | 1,529 | hpp | C++ | include/xdb/connection.hpp | malasiot/xdb | c9a74401242e614a8185dee1023a9cbab23596d8 | [
"MIT"
] | 1 | 2021-12-30T08:41:18.000Z | 2021-12-30T08:41:18.000Z | include/xdb/connection.hpp | malasiot/xdb | c9a74401242e614a8185dee1023a9cbab23596d8 | [
"MIT"
] | null | null | null | include/xdb/connection.hpp | malasiot/xdb | c9a74401242e614a8185dee1023a9cbab23596d8 | [
"MIT"
] | null | null | null | #ifndef XDB_CONNECTION_HPP
#define XDB_CONNECTION_HPP
#include <sqlite3.h>
#include <string>
#include <xdb/query.hpp>
#include <xdb/connection_handle.hpp>
#include <xdb/transaction.hpp>
namespace xdb {
class Statement ;
class Query ;
class Connection {
public:
Connection();
Connection(const std::string ... | 20.118421 | 64 | 0.656638 | malasiot |
ed5f307a664cd48051b5e75472d38d7fa22d191f | 1,206 | hh | C++ | inc/EProtocolDecoderOutput.hh | developkits/CxxMina | 705734fccc5ef87c7faa385b77cd1e67c46c5c75 | [
"Apache-2.0"
] | 7 | 2016-08-25T14:22:36.000Z | 2020-05-25T17:27:51.000Z | inc/EProtocolDecoderOutput.hh | developkits/CxxMina | 705734fccc5ef87c7faa385b77cd1e67c46c5c75 | [
"Apache-2.0"
] | 1 | 2018-07-11T12:37:55.000Z | 2018-07-12T00:05:33.000Z | inc/EProtocolDecoderOutput.hh | developkits/CxxMina | 705734fccc5ef87c7faa385b77cd1e67c46c5c75 | [
"Apache-2.0"
] | 2 | 2017-06-09T01:22:36.000Z | 2021-09-29T16:27:58.000Z | /*
* EProtocolDecoderOutput.hh
*
* Created on: 2016-5-20
* Author: cxxjava@163.com
*/
#ifndef EPROTOCOLDECODEROUTPUT_HH_
#define EPROTOCOLDECODEROUTPUT_HH_
#include "./EIoSession.hh"
#include "./EIoFilter.hh"
namespace efc {
namespace eio {
/**
* Callback for {@link ProtocolDecoder} to generate decoded ... | 24.12 | 84 | 0.701493 | developkits |
ed65dadfe60d1c88f05de7463272e97192075e41 | 258 | hpp | C++ | include/code_generator/Return.hpp | czhj/code_generator | f56382ae851ead5594a5f8772230eee33ea6e747 | [
"MIT"
] | 1 | 2022-02-21T02:06:37.000Z | 2022-02-21T02:06:37.000Z | include/code_generator/Return.hpp | czhj/code_generator | f56382ae851ead5594a5f8772230eee33ea6e747 | [
"MIT"
] | null | null | null | include/code_generator/Return.hpp | czhj/code_generator | f56382ae851ead5594a5f8772230eee33ea6e747 | [
"MIT"
] | null | null | null | /**
* @file Return.hpp
* @author huangjian
* @date 2022-03-08
* @version 1.0
* @copyright huangjian
**/
#ifndef RETURNS_HPP
#define RETURNS_HPP
#include "Evaluate.hpp"
#define return_(code) Evaluate::create("return {};", code)
#endif // RETURNS_HPP
| 16.125 | 58 | 0.682171 | czhj |
ed6633969d04a81ef88e93d105227761f540d110 | 136 | cpp | C++ | config_tests/member_begin.cpp | queertypes/matrix-n | 5b7fe52dc32bed67cd50bb1e664e92892b5d1178 | [
"BSD-3-Clause"
] | 1 | 2018-03-08T08:43:04.000Z | 2018-03-08T08:43:04.000Z | config_tests/member_begin.cpp | queertypes/matrix-n | 5b7fe52dc32bed67cd50bb1e664e92892b5d1178 | [
"BSD-3-Clause"
] | null | null | null | config_tests/member_begin.cpp | queertypes/matrix-n | 5b7fe52dc32bed67cd50bb1e664e92892b5d1178 | [
"BSD-3-Clause"
] | null | null | null | #include <vector>
int main()
{
std::vector<int> x = {1,2,3,4};
for (auto i = std::begin(x), end = std::end(x); i != end; ++i);
}
| 13.6 | 65 | 0.507353 | queertypes |
ed66ffcfeb9da892d07bfd94710c59f8a6908d5b | 1,978 | hpp | C++ | ChaosGLTest/geom_list.hpp | chaosarts/ChaosGL.cpp | 7d851a404824609547fb9261790b87cee7699d5c | [
"Apache-2.0"
] | null | null | null | ChaosGLTest/geom_list.hpp | chaosarts/ChaosGL.cpp | 7d851a404824609547fb9261790b87cee7699d5c | [
"Apache-2.0"
] | null | null | null | ChaosGLTest/geom_list.hpp | chaosarts/ChaosGL.cpp | 7d851a404824609547fb9261790b87cee7699d5c | [
"Apache-2.0"
] | null | null | null | //
// geom_list.hpp
// ChaosGL
//
// Created by Fu Lam Diep on 15.04.16.
// Copyright © 2016 Fu Lam Diep. All rights reserved.
//
#ifndef ChaosGLTest_geom_list_hpp
#define ChaosGLTest_geom_list_hpp
#include <ChaosGL/geom.hpp>
#include <glm/glm.hpp>
#include <gtest/gtest.h>
class geom_list: public virtual testing... | 22.735632 | 93 | 0.649646 | chaosarts |
ed69c8f6250c77c9594af1ea0d14b40eb36e6e58 | 714 | cpp | C++ | common/src/utils/files.cpp | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | common/src/utils/files.cpp | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | common/src/utils/files.cpp | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | //
// Created by Sathyam Vellal on 10/03/2018.
//
#include <string>
#include <fstream>
#include <sstream>
#include "utils/logger.h"
#include "utils/files.h"
void extract(std::string& contents, const std::string& filename)
{
log<LOG_VERBOSE>("Opening file %1% ...") % filename.c_str();
std::ifstream fileInput... | 27.461538 | 74 | 0.662465 | sathyamvellal |
ed6bc00089b69a84ce39c8c1c4a25936880e537e | 990 | cpp | C++ | Source/Utility.cpp | Cos8o/GDCrypto | 2d75646475a752e93c8b2a829033e2350ecc862c | [
"MIT"
] | 16 | 2018-08-31T13:16:30.000Z | 2021-03-07T15:14:14.000Z | Source/Utility.cpp | cos8oih/GDCrypto | 2d75646475a752e93c8b2a829033e2350ecc862c | [
"MIT"
] | 8 | 2020-01-21T15:05:19.000Z | 2020-11-11T20:05:34.000Z | Source/Utility.cpp | Cos8o/GDCrypto | 2d75646475a752e93c8b2a829033e2350ecc862c | [
"MIT"
] | 2 | 2019-01-12T14:37:40.000Z | 2020-01-22T03:34:51.000Z | #include "CAPI.hpp"
#include "GDCrypto/Utility.hpp"
using namespace gdcrypto;
//C Bindings
extern "C"
{
GDCRYPTO_API void gdcrypto_xorWithKey(
uint8_t* buffer,
size_t const bufferSize,
uint8_t const* key,
size_t const keySize)
{
if (buffer && bufferSize &&
key && keySize)
{
if (!(keySize == 1 &&... | 18 | 53 | 0.663636 | Cos8o |
ed6f409e90bbc8432089fed02a04a3ab945c90f9 | 295 | cpp | C++ | src/editorLib/Objects/EnvironmentObject.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | src/editorLib/Objects/EnvironmentObject.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | src/editorLib/Objects/EnvironmentObject.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | #include <mtt/editorLib/Objects/EnvironmentObject.h>
using namespace mtt;
EnvironmentObject::EnvironmentObject( const QString& name,
bool canBeRenamed,
const UID theId) :
MovableObject(name, canBeRenamed, theId)
{
} | 29.5 | 58 | 0.589831 | AluminiumRat |
ed6f7447eba8cb7c529c724a084e4b1a5913c1b8 | 2,867 | cpp | C++ | GraphLayoutLibrary/HierarchicalLayoutGenerator/ReducedNestingTreeNode.cpp | persistentsystems/LayoutLibrary | e299ac0073225c88f488dd9c2615ec786f8e2897 | [
"MIT"
] | 26 | 2016-09-13T08:50:09.000Z | 2022-02-14T15:14:54.000Z | GraphLayoutLibrary/HierarchicalLayoutGenerator/ReducedNestingTreeNode.cpp | hotpeperoncino/GraphLayoutLibrary | 2dec062f6cdbbaa4b791bdd9c7cc54fe90adbc13 | [
"MIT"
] | 3 | 2017-06-21T04:18:58.000Z | 2018-01-17T13:27:42.000Z | GraphLayoutLibrary/HierarchicalLayoutGenerator/ReducedNestingTreeNode.cpp | hotpeperoncino/GraphLayoutLibrary | 2dec062f6cdbbaa4b791bdd9c7cc54fe90adbc13 | [
"MIT"
] | 4 | 2017-12-08T09:08:34.000Z | 2021-07-22T06:42:31.000Z | #include "ReducedNestingTreeNode.h"
ReducedNestingTreeNode::ReducedNestingTreeNode()
{
m_layerNode = NULL;
m_nestingTreeNode = NULL;
m_dAveragePosition = 0.0;
}
bool ReducedNestingTreeNode::isLayerNode()
{
return m_constBIsLayerNode;
}
void ReducedNestingTreeNode::addChildNode(double dA... | 28.67 | 113 | 0.680851 | persistentsystems |
ed7381bc5d77b985f38212cbd526b9ad415efacc | 4,685 | hpp | C++ | include/matchers/contain.hpp | toroidal-code/cppspec | 189a94a7adb32656089da2ba5d8af2f2f0f67767 | [
"MIT"
] | 11 | 2015-06-02T23:45:20.000Z | 2018-06-27T12:35:19.000Z | include/matchers/contain.hpp | toroidal-code/cppspec | 189a94a7adb32656089da2ba5d8af2f2f0f67767 | [
"MIT"
] | 7 | 2016-03-17T04:14:38.000Z | 2016-05-02T07:51:10.000Z | include/matchers/contain.hpp | toroidal-code/cppspec | 189a94a7adb32656089da2ba5d8af2f2f0f67767 | [
"MIT"
] | 3 | 2016-10-20T09:31:46.000Z | 2017-12-15T02:36:07.000Z | /** @file */
#ifndef CPPSPEC_MATCHERS_INCLUDE_HPP
#define CPPSPEC_MATCHERS_INCLUDE_HPP
#include "matcher_base.hpp"
namespace CppSpec {
namespace Matchers {
/**
* The abstract base class for the Include matcher.
* See template specializations below.
*/
template <typename A, typename E, typename U>
class ContainBase... | 32.534722 | 80 | 0.674493 | toroidal-code |
ed753499e2c042c0238241c6654343f0ceeca3ac | 18,840 | cpp | C++ | export/release/windows/obj/src/MusicBeatState.cpp | TheSlithyGamer4evr/Friend-Trouble-Source | a540ec9cf4cf3033e0c340e5e4f50d647b94d4a3 | [
"Apache-2.0"
] | null | null | null | export/release/windows/obj/src/MusicBeatState.cpp | TheSlithyGamer4evr/Friend-Trouble-Source | a540ec9cf4cf3033e0c340e5e4f50d647b94d4a3 | [
"Apache-2.0"
] | null | null | null | export/release/windows/obj/src/MusicBeatState.cpp | TheSlithyGamer4evr/Friend-Trouble-Source | a540ec9cf4cf3033e0c340e5e4f50d647b94d4a3 | [
"Apache-2.0"
] | null | null | null | #include <hxcpp.h>
#ifndef INCLUDED_95f339a1d026d52c
#define INCLUDED_95f339a1d026d52c
#include "hxMath.h"
#endif
#ifndef INCLUDED_ClientPrefs
#include <ClientPrefs.h>
#endif
#ifndef INCLUDED_Conductor
#include <Conductor.h>
#endif
#ifndef INCLUDED_Controls
#include <Controls.h>
#endif
#ifndef INCLUDED_CustomFadeTrans... | 40.867679 | 325 | 0.728344 | TheSlithyGamer4evr |
ed761e95d2b732f832880a71984e0ae2bf438768 | 30,528 | cpp | C++ | src/updatework.cpp | CCTV-1/XmageLauncher | d6166f9e54f4401ccd97e960e38b313eccf1557a | [
"MIT"
] | null | null | null | src/updatework.cpp | CCTV-1/XmageLauncher | d6166f9e54f4401ccd97e960e38b313eccf1557a | [
"MIT"
] | null | null | null | src/updatework.cpp | CCTV-1/XmageLauncher | d6166f9e54f4401ccd97e960e38b313eccf1557a | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <memory>
#include <set>
#include <thread>
#include <zip.h>
#include <json-glib/json-glib.h>
#include <giomm/file.h>
#include <glibmm/i18n.h>
#include "updatework.h"
#include "launcherconfig.h"
class ReceiveBuff
{
public:
Rece... | 34.262626 | 179 | 0.556833 | CCTV-1 |
ed77941bf7a80452c10b2823902fba4f196d1fd7 | 88 | hpp | C++ | Kernel/header/interruptExceptionHandler.hpp | NudelErde/Kernel | 875a0635b5bbd910680970a9446cb86b96b62323 | [
"MIT"
] | null | null | null | Kernel/header/interruptExceptionHandler.hpp | NudelErde/Kernel | 875a0635b5bbd910680970a9446cb86b96b62323 | [
"MIT"
] | null | null | null | Kernel/header/interruptExceptionHandler.hpp | NudelErde/Kernel | 875a0635b5bbd910680970a9446cb86b96b62323 | [
"MIT"
] | 1 | 2021-04-28T10:13:53.000Z | 2021-04-28T10:13:53.000Z | #pragma once
#include <stdint.h>
namespace Kernel {
void initExceptionHandlers();
}
| 8.8 | 29 | 0.727273 | NudelErde |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.