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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
230b93960820ee31ba543adaf9fd63c8dff377fe | 2,043 | cc | C++ | Engine/Source/Runtime/Math/YumeRect.cc | rodrigobmg/YumeEngine | 67c525c84616a5167b5bae45f36641e90227c281 | [
"MIT"
] | 129 | 2016-05-05T23:34:44.000Z | 2022-03-07T20:17:18.000Z | Engine/Source/Runtime/Math/YumeRect.cc | rodrigobmg/YumeEngine | 67c525c84616a5167b5bae45f36641e90227c281 | [
"MIT"
] | 1 | 2017-05-07T16:09:41.000Z | 2017-05-08T15:35:50.000Z | Engine/Source/Runtime/Math/YumeRect.cc | rodrigobmg/YumeEngine | 67c525c84616a5167b5bae45f36641e90227c281 | [
"MIT"
] | 20 | 2016-02-24T20:40:08.000Z | 2022-02-04T23:48:18.000Z | //----------------------------------------------------------------------------
//Yume Engine
//Copyright (C) 2015 arkenthera
//This program is free software; you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published by
//the Free Software Foundation; either version 2 of ... | 30.044118 | 78 | 0.615272 | rodrigobmg |
230c1151ff9ba8312d531793aff3ad491adad7d1 | 139 | cpp | C++ | Arc/src/Arc/Core/Layer.cpp | MohitSethi99/ArcEngine | 687f3e497af55e231b18f6f2adfa435315a40085 | [
"Apache-2.0"
] | 6 | 2021-01-23T13:25:39.000Z | 2021-12-22T10:03:43.000Z | Arc/src/Arc/Core/Layer.cpp | MohitSethi99/ArcEngine | 687f3e497af55e231b18f6f2adfa435315a40085 | [
"Apache-2.0"
] | null | null | null | Arc/src/Arc/Core/Layer.cpp | MohitSethi99/ArcEngine | 687f3e497af55e231b18f6f2adfa435315a40085 | [
"Apache-2.0"
] | null | null | null | #include "arcpch.h"
#include "Arc/Core/Layer.h"
namespace ArcEngine
{
Layer::Layer(const std::string& name)
:m_DebugName(name)
{
}
}
| 12.636364 | 38 | 0.683453 | MohitSethi99 |
231234799514e843e9c022add39f306f54c8cb8d | 4,310 | cpp | C++ | tests/tree/dpt_test.cpp | patflick/dpt | 5b300500c97f41d1d24c4e660af2d4499ad40520 | [
"BSD-2-Clause"
] | null | null | null | tests/tree/dpt_test.cpp | patflick/dpt | 5b300500c97f41d1d24c4e660af2d4499ad40520 | [
"BSD-2-Clause"
] | null | null | null | tests/tree/dpt_test.cpp | patflick/dpt | 5b300500c97f41d1d24c4e660af2d4499ad40520 | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
* tests/tree/dpt_test.cpp
*
* Part of dpt - Distributed Patricia Trie
*
* Copyright (C) 2016-2017 Florian Kurpicz <florian.kurpicz@tu-dortmund.de>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
****... | 33.153846 | 81 | 0.644084 | patflick |
2315b5ad2bb6d42e5ea200d054b397b2d20edc4c | 721 | hpp | C++ | lib/libcpp/Perulangan/Perulangan/bicgstab.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | lib/libcpp/Perulangan/Perulangan/bicgstab.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | 1 | 2019-01-31T10:59:11.000Z | 2019-01-31T10:59:11.000Z | lib/libcpp/Perulangan/Perulangan/bicgstab.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | #ifndef __Perulangan_BiCgStab_h
#define __Perulangan_BiCgStab_h
#include "iterativesolverwithpreconditioner.hpp"
/*--------------------------------------------------------------------------*/
namespace perulangan
{
class BiCgStab : public IterativeSolverWithPreconditioner
{
public:
~BiCgStab();
BiCgStab(... | 27.730769 | 141 | 0.57975 | beckerrh |
2318b100889e16f49deebc4e9344fbe7c7d200ea | 56,193 | cpp | C++ | toonz/sources/common/tvrender/tinbetween.cpp | Savraska2/opentoonz | 47ab3039c899ae1a50d612d097415ab09f10f35e | [
"BSD-3-Clause"
] | 36 | 2020-05-18T22:26:35.000Z | 2022-02-19T00:09:25.000Z | toonz/sources/common/tvrender/tinbetween.cpp | Savraska2/opentoonz | 47ab3039c899ae1a50d612d097415ab09f10f35e | [
"BSD-3-Clause"
] | 16 | 2020-05-14T17:51:08.000Z | 2022-02-11T01:49:38.000Z | toonz/sources/common/tvrender/tinbetween.cpp | Savraska2/opentoonz | 47ab3039c899ae1a50d612d097415ab09f10f35e | [
"BSD-3-Clause"
] | 9 | 2019-05-27T02:48:16.000Z | 2022-03-29T12:32:04.000Z |
#include "tinbetween.h"
#include "tcurves.h"
#include "tstroke.h"
#include "tpalette.h"
//#include "tcolorstyles.h"
//#include "tregion.h"
#include "tmathutil.h"
//#include "tstrokeutil.h"
//#include "tsystem.h"
#include <utility>
#include <limits>
#include <list>
#include "../tvectorimage/tvectorimageP.h"
//#inclu... | 35.678095 | 88 | 0.529657 | Savraska2 |
231900d6d41315de0eb31ece28385bd60fec79bf | 4,618 | hh | C++ | common/pbuf.hh | dbeck/codesloop | 874f68593cf2939ee232f1ccc5b65cacb928f0af | [
"BSD-2-Clause"
] | 2 | 2016-05-09T15:29:34.000Z | 2016-07-19T11:40:37.000Z | common/pbuf.hh | dbeck/codesloop | 874f68593cf2939ee232f1ccc5b65cacb928f0af | [
"BSD-2-Clause"
] | null | null | null | common/pbuf.hh | dbeck/codesloop | 874f68593cf2939ee232f1ccc5b65cacb928f0af | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2008,2009,2010, CodeSLoop Team
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaim... | 33.708029 | 93 | 0.639671 | dbeck |
2325c77cb6c0b6f0778ac4f0cc023ff7a044ba0f | 1,066 | hpp | C++ | include/Simpleton/ECS/level manager.hpp | ryuchihoon/EnTT-Pacman | b64e57d7a63594785b223e1cda4b6cd6ecb66692 | [
"MIT"
] | 52 | 2017-08-12T14:41:58.000Z | 2022-01-12T01:18:57.000Z | include/Simpleton/ECS/level manager.hpp | KUflower/EnTT-Pacman | ebcbc5e6005e44ea89711ced913333ae7fa468bd | [
"MIT"
] | null | null | null | include/Simpleton/ECS/level manager.hpp | KUflower/EnTT-Pacman | ebcbc5e6005e44ea89711ced913333ae7fa468bd | [
"MIT"
] | 5 | 2018-11-20T04:02:15.000Z | 2020-03-02T19:15:16.000Z | //
// level manager.hpp
// Simpleton Engine
//
// Created by Indi Kernick on 31/12/17.
// Copyright © 2017 Indi Kernick. All rights reserved.
//
#ifndef engine_ecs_level_manager_hpp
#define engine_ecs_level_manager_hpp
#include "level.hpp"
#include <functional>
#include "comp inits.hpp"
#include <entt/entity/regi... | 22.208333 | 68 | 0.681051 | ryuchihoon |
23285bbf10e7a9b3dc083099957cf341e6a80bc5 | 465 | hpp | C++ | example/generated-src/cpp/SortOrder.hpp | govorilka/djinni | db6c2bab4d5c3280da7e47ac0bdadf1c17022886 | [
"Apache-2.0"
] | 2 | 2020-03-28T10:29:06.000Z | 2020-09-15T13:23:25.000Z | example/generated-src/cpp/SortOrder.hpp | govorilka/djinni | db6c2bab4d5c3280da7e47ac0bdadf1c17022886 | [
"Apache-2.0"
] | null | null | null | example/generated-src/cpp/SortOrder.hpp | govorilka/djinni | db6c2bab4d5c3280da7e47ac0bdadf1c17022886 | [
"Apache-2.0"
] | null | null | null | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from example.djinni
#pragma once
#include <functional>
namespace textsort {
enum class SortOrder : int {
ASCENDING,
DESCENDING,
RANDOM,
};
} // namespace textsort
namespace std {
template <>
struct hash<::textsort::SortOrder> {
... | 16.607143 | 57 | 0.666667 | govorilka |
2328acff9c73aab894b5c6707b1b729530d1d2ab | 9,373 | cpp | C++ | src/tools/tools/0001.library/AggregatedMetric.cpp | OpenCMISS-Dependencies/cube | bb425e6f75ee5dbdf665fa94b241b48deee11505 | [
"Cube"
] | null | null | null | src/tools/tools/0001.library/AggregatedMetric.cpp | OpenCMISS-Dependencies/cube | bb425e6f75ee5dbdf665fa94b241b48deee11505 | [
"Cube"
] | null | null | null | src/tools/tools/0001.library/AggregatedMetric.cpp | OpenCMISS-Dependencies/cube | bb425e6f75ee5dbdf665fa94b241b48deee11505 | [
"Cube"
] | 2 | 2016-09-19T00:16:05.000Z | 2021-03-29T22:06:45.000Z | /****************************************************************************
** CUBE http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 1998-2016 **
** Fors... | 28.40303 | 90 | 0.466553 | OpenCMISS-Dependencies |
232ac665d8ddc4a0d11ab337c3a22771a421b15e | 24,464 | cpp | C++ | src/Math/detail/FloatingPointMatrix3x3.cpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | src/Math/detail/FloatingPointMatrix3x3.cpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | src/Math/detail/FloatingPointMatrix3x3.cpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#include "Pomdog/Math/detail/FloatingPointMatrix3x3.hpp"
#include "Pomdog/Math/detail/FloatingPointMatrix2x2.hpp"
#include "Pomdog/Math/detail/FloatingPointQuaternion.hpp"
#include "Pomdog/Math/detail/FloatingPo... | 37.01059 | 126 | 0.521787 | bis83 |
232e164d6033ac507a55f08788e5f5f85ce796cf | 12,262 | hh | C++ | XRADBasic/Sources/SampleTypes/ComplexSample.hh | n-kulberg/xrad | 3d089cc24d942db4649f1a50defbd69f01739ae2 | [
"BSD-3-Clause"
] | 1 | 2021-04-02T16:47:00.000Z | 2021-04-02T16:47:00.000Z | XRADBasic/Sources/SampleTypes/ComplexSample.hh | n-kulberg/xrad | 3d089cc24d942db4649f1a50defbd69f01739ae2 | [
"BSD-3-Clause"
] | null | null | null | XRADBasic/Sources/SampleTypes/ComplexSample.hh | n-kulberg/xrad | 3d089cc24d942db4649f1a50defbd69f01739ae2 | [
"BSD-3-Clause"
] | 3 | 2021-08-30T11:26:23.000Z | 2021-09-23T09:39:56.000Z | /*
Copyright (c) 2021, Moscow Center for Diagnostics & Telemedicine
All rights reserved.
This file is licensed under BSD-3-Clause license. See LICENSE file for details.
*/
XRAD_BEGIN
//--------------------------------------------------------------
//
// private division algorithm
//
template<class PT, class ST>... | 27.868182 | 150 | 0.635704 | n-kulberg |
232e7a9b9897e0329c89d6f4d049020ab090f3e4 | 3,812 | cpp | C++ | src/radiant/queuedraw.cpp | osen/openradiant | 47f0b65006e3e3325003f65cddbc7f1c78b5f138 | [
"BSD-3-Clause"
] | 11 | 2021-01-04T16:27:48.000Z | 2022-01-22T00:37:31.000Z | src/radiant/queuedraw.cpp | osen/openradiant | 47f0b65006e3e3325003f65cddbc7f1c78b5f138 | [
"BSD-3-Clause"
] | 6 | 2021-01-05T04:47:45.000Z | 2021-11-30T09:25:11.000Z | src/radiant/queuedraw.cpp | osen/openradiant | 47f0b65006e3e3325003f65cddbc7f1c78b5f138 | [
"BSD-3-Clause"
] | 1 | 2021-04-01T20:57:22.000Z | 2021-04-01T20:57:22.000Z | /*
Copyright (C) 1999-2007 id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | 24.126582 | 97 | 0.6351 | osen |
232fdcdd93fb6b0219e7840e24377ed7f1f49c57 | 1,890 | cpp | C++ | src/tests/test_stream.cpp | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | src/tests/test_stream.cpp | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | src/tests/test_stream.cpp | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | /*
* (C) 2014,2015 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include "tests.h"
#if defined(BOTAN_HAS_STREAM_CIPHER)
#include <botan/stream_cipher.h>
#endif
namespace Botan_Tests {
#if defined(BOTAN_HAS_STREAM_CIPHER)
class Stream_Cipher_Tests : public Text_Based_Test
... | 26.619718 | 101 | 0.56455 | el-forkorama |
2331b599b669532bf62386efa3892a51ae61c3b6 | 13,409 | cpp | C++ | src/rvs_blas.cpp | Umio-Yasuno/ROCmValidationSuite | e2aec8bbba87c1a5c6f69fc4aa7d6d7eba652b5f | [
"MIT"
] | 30 | 2018-08-30T12:56:51.000Z | 2022-03-11T02:50:41.000Z | src/rvs_blas.cpp | Umio-Yasuno/ROCmValidationSuite | e2aec8bbba87c1a5c6f69fc4aa7d6d7eba652b5f | [
"MIT"
] | 130 | 2018-08-29T07:06:41.000Z | 2022-03-30T07:08:54.000Z | src/rvs_blas.cpp | Umio-Yasuno/ROCmValidationSuite | e2aec8bbba87c1a5c6f69fc4aa7d6d7eba652b5f | [
"MIT"
] | 32 | 2019-02-13T15:29:38.000Z | 2022-03-10T21:24:40.000Z | /********************************************************************************
*
* Copyright (c) 2018 ROCm Developer Tools
*
* MIT LICENSE:
* 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 So... | 28.590618 | 111 | 0.528749 | Umio-Yasuno |
233baffb4e8793f54039b73c2d71234223e8fa9a | 10,513 | cpp | C++ | src/enums_impl.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 14 | 2020-06-27T18:51:41.000Z | 2022-03-30T18:20:02.000Z | src/enums_impl.cpp | codenamecpp/GLKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 1 | 2020-06-07T09:48:11.000Z | 2020-06-07T09:48:11.000Z | src/enums_impl.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 2 | 2020-08-27T09:38:10.000Z | 2021-08-12T01:17:30.000Z | #include "pch.h"
#include "GuiDefs.h"
impl_enum_strings(eLogMessage)
{
{eLogMessage_Debug, "debug"},
{eLogMessage_Info, "info"},
{eLogMessage_Warning, "warning"},
{eLogMessage_Error, "error"},
};
impl_enum_strings(eTextureRepeatMode)
{
{eTextureRepeatMode_Repeat, "repeat"},
{eTexture... | 27.738786 | 69 | 0.682488 | codenamecpp |
234362aaffec3be1aa0cdc834dd47321471f3c1a | 196 | cpp | C++ | src/misc/TestHeader.cpp | galek/anki-3d-engine | 2b12968d8f2ca44d2aeb7480a4b8e63f7703ae75 | [
"BSD-3-Clause"
] | 1 | 2016-09-29T06:39:41.000Z | 2016-09-29T06:39:41.000Z | src/misc/TestHeader.cpp | galek/anki-3d-engine | 2b12968d8f2ca44d2aeb7480a4b8e63f7703ae75 | [
"BSD-3-Clause"
] | null | null | null | src/misc/TestHeader.cpp | galek/anki-3d-engine | 2b12968d8f2ca44d2aeb7480a4b8e63f7703ae75 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2014, Panagiotis Christopoulos Charitos.
// All rights reserved.
// Code licensed under the BSD License.
// http://www.anki3d.org/LICENSE
#include "anki/resource/Resource.h"
| 17.818182 | 57 | 0.729592 | galek |
23482578c3d7b06186e17a66e950b3116422f001 | 804 | cpp | C++ | test/correctness/gpu_vectorize_div_mod.cpp | josephsieh/Halide | 0ee307f5e00f444e6b7e228fcc199a9351926bde | [
"MIT"
] | 7 | 2017-04-05T20:52:57.000Z | 2018-11-26T10:07:10.000Z | test/correctness/gpu_vectorize_div_mod.cpp | josephsieh/Halide | 0ee307f5e00f444e6b7e228fcc199a9351926bde | [
"MIT"
] | 10 | 2017-04-11T02:55:38.000Z | 2019-06-27T18:13:36.000Z | test/correctness/gpu_vectorize_div_mod.cpp | josephsieh/Halide | 0ee307f5e00f444e6b7e228fcc199a9351926bde | [
"MIT"
] | 1 | 2017-10-19T22:01:47.000Z | 2017-10-19T22:01:47.000Z | // Ensure that vectorized div/mod of constant powers of 2 are able to
// be compiled by the underlying OpenCL implementation.
#include "Halide.h"
#include <stdio.h>
using namespace Halide;
int main(int argc, char **argv) {
if (!get_jit_target_from_environment().has_gpu_feature()) {
printf("No gpu target ... | 23.647059 | 69 | 0.598259 | josephsieh |
234a8fb2d05424e9d1a432d147cab17057ff2ffe | 18,718 | cpp | C++ | sample/so_5/make_pipeline/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | 2 | 2018-04-14T16:16:47.000Z | 2019-04-15T06:47:58.000Z | sample/so_5/make_pipeline/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | null | null | null | sample/so_5/make_pipeline/main.cpp | sigman78/sobjectizer | d81c20a1264582e427a9a35d212361425fc34277 | [
"BSD-3-Clause"
] | null | null | null | /*
* An example of creating message processing pipeline from
* a declarative description.
*
* This example consists from three parts:
*
* - the first one is a preparation of necessary infrastructure;
* - the second one is a declaration of messages to be processed
* and all message's processing stuff;
* - the... | 23.814249 | 89 | 0.697136 | sigman78 |
054cda0102a8c9900959b67132c7f8164a0eba90 | 520 | cpp | C++ | modules/spaint/src/imageprocessing/interface/ImageProcessor.cpp | torrvision/spaint | 9cac8100323ea42fe439f66407b832b88f72d2fd | [
"Unlicense"
] | 197 | 2015-10-01T07:23:01.000Z | 2022-03-23T03:02:31.000Z | modules/spaint/src/imageprocessing/interface/ImageProcessor.cpp | torrvision/spaint | 9cac8100323ea42fe439f66407b832b88f72d2fd | [
"Unlicense"
] | 16 | 2016-03-26T13:01:08.000Z | 2020-09-02T09:13:49.000Z | modules/spaint/src/imageprocessing/interface/ImageProcessor.cpp | torrvision/spaint | 9cac8100323ea42fe439f66407b832b88f72d2fd | [
"Unlicense"
] | 62 | 2015-10-03T07:14:59.000Z | 2021-08-31T08:58:18.000Z | /**
* spaint: ImageProcessor.cpp
* Copyright (c) Torr Vision Group, University of Oxford, 2015. All rights reserved.
*/
#include "imageprocessing/interface/ImageProcessor.h"
namespace spaint {
//#################### DESTRUCTOR ####################
ImageProcessor::~ImageProcessor() {}
//#################### PUBL... | 23.636364 | 84 | 0.621154 | torrvision |
0551c94e6f088eaa0bfd1045d3ad2a94cbe780ad | 516 | hpp | C++ | library/number_theory/gcd.hpp | fura2/competitive-programming-library | fc101651640ac5418155efce74f5ec103443bc8c | [
"MIT"
] | null | null | null | library/number_theory/gcd.hpp | fura2/competitive-programming-library | fc101651640ac5418155efce74f5ec103443bc8c | [
"MIT"
] | null | null | null | library/number_theory/gcd.hpp | fura2/competitive-programming-library | fc101651640ac5418155efce74f5ec103443bc8c | [
"MIT"
] | null | null | null | template<class T> T gcd(const T& a,const T& b){ return b==0?a:gcd(b,a%b); }
template<class T> T lcm(const T& a,const T& b){ return a/gcd(a,b)*b; }
/* 拡張 Euclid 互除法 */
/*
引数
a, b : 整数
x, y : 計算結果 ( 方程式 a*x + b*y = gcd(a, b) の解 )
戻り値
gcd(a, b)
制約
a >= 0
b >= 0
(a, b) != (0, 0)
計算量
O(log min{a, b})
備考
... | 18.428571 | 75 | 0.492248 | fura2 |
0555b38aa9f4bd1a9415f91577ca003f6f0cb46c | 4,468 | cpp | C++ | Data Structures/FastGraphStructure.cpp | hendry19901990/AlgorithmsUnlocked | e85b6dea4b3aea9b8015db24384b1527d828395d | [
"Xnet",
"X11"
] | 1 | 2022-03-25T10:20:25.000Z | 2022-03-25T10:20:25.000Z | Data Structures/FastGraphStructure.cpp | hendry19901990/AlgorithmsUnlocked | e85b6dea4b3aea9b8015db24384b1527d828395d | [
"Xnet",
"X11"
] | null | null | null | Data Structures/FastGraphStructure.cpp | hendry19901990/AlgorithmsUnlocked | e85b6dea4b3aea9b8015db24384b1527d828395d | [
"Xnet",
"X11"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <memory>
#include <stdio.h>
#include <regex>
#include <unordered_map>
#include <unordered_set>
#include <map>
#include <random>
#include <queue>
#include <stack>
#include <deque>
#include <set>
using namespace std;
template<typename T>
class Comp_fn
{
b... | 27.925 | 100 | 0.642346 | hendry19901990 |
0559e3865dccb403ce8b6b07bff290f1121cb5d9 | 1,085 | cpp | C++ | src/server/Modules/TestModule.cpp | zombre98/zia | 3c303442a9a3546bcc773212103b8335cec8c8ca | [
"Unlicense"
] | 1 | 2019-11-26T12:20:00.000Z | 2019-11-26T12:20:00.000Z | src/server/Modules/TestModule.cpp | zombre98/zia | 3c303442a9a3546bcc773212103b8335cec8c8ca | [
"Unlicense"
] | null | null | null | src/server/Modules/TestModule.cpp | zombre98/zia | 3c303442a9a3546bcc773212103b8335cec8c8ca | [
"Unlicense"
] | null | null | null | #include <iostream>
#include "../api/AModulesManager.hpp"
#include "../../Utils/Logger.hpp"
static constexpr char MODULE_NAME[] = "Logger";
extern "C" {
/**
* The fonction requested by the ModuleManager to load the module
* @param manager The Stage manager to hook the module
*/
std::string registerHooks(dems::St... | 30.138889 | 72 | 0.680184 | zombre98 |
055f1ec59bf68419e760617b71a69bde9e4294c7 | 1,008 | cpp | C++ | examples/cpp/main.cpp | hideakitai/TimeProfiler | 737464d22178e4d778cbc89cc41bbdecf0a56dab | [
"MIT"
] | null | null | null | examples/cpp/main.cpp | hideakitai/TimeProfiler | 737464d22178e4d778cbc89cc41bbdecf0a56dab | [
"MIT"
] | null | null | null | examples/cpp/main.cpp | hideakitai/TimeProfiler | 737464d22178e4d778cbc89cc41bbdecf0a56dab | [
"MIT"
] | null | null | null | #include "../../TimeProfiler.h"
#include <iostream>
#include <thread>
int main() {
std::cout << "start test" << std::endl;
TIMEPROFILE_BEGIN(one); // about 1000 [ms]
TIMEPROFILE_BEGIN(two); // about 3000 [ms]
TIMEPROFILE_BEGIN(three); // about 6000 [ms]
// create scope for test
{
SCO... | 24.585366 | 65 | 0.539683 | hideakitai |
056096ec3a0c6ca8b826597a56dcb4dc82967b57 | 1,404 | cpp | C++ | graphs/planetcycles.cpp | ashutoshdumiyan/CSES-Solutions | 48ff04f0003c2a1f808412497a22c7c7841bb3db | [
"MIT"
] | null | null | null | graphs/planetcycles.cpp | ashutoshdumiyan/CSES-Solutions | 48ff04f0003c2a1f808412497a22c7c7841bb3db | [
"MIT"
] | null | null | null | graphs/planetcycles.cpp | ashutoshdumiyan/CSES-Solutions | 48ff04f0003c2a1f808412497a22c7c7841bb3db | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,a;
cin>>n;
vector<int>adj[n];
for(int i=0;i<n;i++)
{
cin>>a;
a--;
adj[i].push_back(a);
}
vector<int>visited(n);
vector<int>cycle(n);
for(int i=0;i<n;i++)
{
... | 19.5 | 64 | 0.287749 | ashutoshdumiyan |
056212f52a8564e1376dee17e1a9ed562a0b5172 | 2,683 | cpp | C++ | framework/pin.cpp | lxrobotics/arduinoio | afcb5404ffe373086130149fb1a403d28bab39a7 | [
"BSD-3-Clause"
] | null | null | null | framework/pin.cpp | lxrobotics/arduinoio | afcb5404ffe373086130149fb1a403d28bab39a7 | [
"BSD-3-Clause"
] | null | null | null | framework/pin.cpp | lxrobotics/arduinoio | afcb5404ffe373086130149fb1a403d28bab39a7 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2016, Alexander Entinger / LXRobotics
* 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
* ... | 21.813008 | 84 | 0.70779 | lxrobotics |
0567ffcbd3d964aaa6ea9d909637ee54ed49bb20 | 1,654 | cpp | C++ | cxx20/connection.cpp | test-scenarios/boost_beast_websocket_echo | 9eab1f8a2454c670b8830de704718ba6a2f567c0 | [
"BSL-1.0"
] | 14 | 2020-06-11T14:50:37.000Z | 2021-06-02T15:18:22.000Z | cxx20/connection.cpp | test-scenarios/boost_beast_websocket_echo | 9eab1f8a2454c670b8830de704718ba6a2f567c0 | [
"BSL-1.0"
] | null | null | null | cxx20/connection.cpp | test-scenarios/boost_beast_websocket_echo | 9eab1f8a2454c670b8830de704718ba6a2f567c0 | [
"BSL-1.0"
] | 2 | 2020-06-15T04:04:39.000Z | 2021-02-10T08:12:12.000Z | #include "connection.hpp"
#include "states.hpp"
#include <iostream>
namespace project
{
connection_impl::connection_impl(net::ip::tcp::socket sock)
: chat_state< net::ip::tcp::socket >::chat_state(std::move(sock))
{
}
void connection_impl::run()
{
// callback which will happen zero o... | 31.807692 | 105 | 0.588875 | test-scenarios |
05682d70df1fc1b5af5e74cbf3942209eb8a59ab | 1,622 | hpp | C++ | shadowmap.hpp | demotomohiro/The-Job-changing-knight-Ganglion | 40382990b58f6e643b39ea108aa45e7c7173ce1c | [
"MIT"
] | 1 | 2015-03-21T23:00:01.000Z | 2015-03-21T23:00:01.000Z | shadowmap.hpp | demotomohiro/The-Job-changing-knight-Ganglion | 40382990b58f6e643b39ea108aa45e7c7173ce1c | [
"MIT"
] | null | null | null | shadowmap.hpp | demotomohiro/The-Job-changing-knight-Ganglion | 40382990b58f6e643b39ea108aa45e7c7173ce1c | [
"MIT"
] | null | null | null | #pragma once
namespace shadowmap
{
#define SHADOWMAP_WIDTH 2048
#define SHADOWMAP_HEIGHT 2048
GLuint fbo;
GLuint depth_tex;
GLfloat border_color[] = {1.0f, 1.0f, 1.0f, 1.0f};
void init()
{
glGenFramebuffers(1, &fbo);
glBindFramebuffer(GL_FRAMEBUFFER, fbo);
glGenTextures(1, &depth_tex);
glBindTexture(GL_TEXTUR... | 27.033333 | 123 | 0.803946 | demotomohiro |
056a12900c07ae9d038760662895e8780cd975e3 | 1,067 | hpp | C++ | RagePawn/format.hpp | infin1tyy/ragepawn | 20d5fea0ea3763a1a49654a34d03884a241716d7 | [
"MIT"
] | 4 | 2019-04-14T11:40:03.000Z | 2020-06-07T16:07:28.000Z | RagePawn/format.hpp | infin1tyy/ragepawn | 20d5fea0ea3763a1a49654a34d03884a241716d7 | [
"MIT"
] | 2 | 2019-04-13T14:54:04.000Z | 2019-05-03T14:11:45.000Z | RagePawn/format.hpp | infin1tyy/ragepawn | 20d5fea0ea3763a1a49654a34d03884a241716d7 | [
"MIT"
] | 5 | 2019-04-10T00:49:57.000Z | 2022-01-04T05:57:44.000Z | #pragma once
#include "main.hpp"
#include "../amxlib/amx.h"
typedef struct {
const cell *params;
int numparams;
int skip;
int length;
} strdata;
enum {
SV_DECIMAL,
SV_HEX
};
enum {
FMT_NONE, /* not in format state; accept '%' */
FMT_START, /* found '%', accept '+', '-' (START), '0' (filler; START), digit ... | 36.793103 | 134 | 0.680412 | infin1tyy |
056b3e3f53e38fa11e7ee1f9fb5169bedba36c43 | 1,336 | hpp | C++ | include/gpcxx/app/benchmark_problems/koza.hpp | gchoinka/gpcxx | 143398d8a12cdc39735e6ef50c3f8a44a6e6360f | [
"BSL-1.0"
] | 21 | 2015-05-15T08:01:37.000Z | 2020-11-12T07:28:54.000Z | include/gpcxx/app/benchmark_problems/koza.hpp | gchoinka/gpcxx | 143398d8a12cdc39735e6ef50c3f8a44a6e6360f | [
"BSL-1.0"
] | 2 | 2015-03-26T23:48:04.000Z | 2016-02-29T14:16:37.000Z | include/gpcxx/app/benchmark_problems/koza.hpp | gchoinka/gpcxx | 143398d8a12cdc39735e6ef50c3f8a44a6e6360f | [
"BSL-1.0"
] | 9 | 2015-02-12T21:39:01.000Z | 2020-10-01T05:14:08.000Z | /*
* gpcxx/app/benchmark_problems/koza.hpp
* Date: 2015-06-24
* Author: Karsten Ahnert (karsten.ahnert@gmx.de)
* Copyright: Karsten Ahnert
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or
* copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef GPCXX... | 29.043478 | 101 | 0.69012 | gchoinka |
056cc70a0139932ecb82768ec2cae0112c114143 | 6,757 | hpp | C++ | RSCode_schifra/schifra_reed_solomon_encoder.hpp | mcba1n/nanopore_dna_storage | fd91f4c88f7d602aadcdcb5c3f14e2d41902aef2 | [
"MIT"
] | 10 | 2020-07-26T22:06:25.000Z | 2022-03-27T13:20:57.000Z | RSCode_schifra/schifra_reed_solomon_encoder.hpp | mcba1n/nanopore_dna_storage | fd91f4c88f7d602aadcdcb5c3f14e2d41902aef2 | [
"MIT"
] | null | null | null | RSCode_schifra/schifra_reed_solomon_encoder.hpp | mcba1n/nanopore_dna_storage | fd91f4c88f7d602aadcdcb5c3f14e2d41902aef2 | [
"MIT"
] | 6 | 2020-08-10T09:14:14.000Z | 2021-07-25T09:08:16.000Z | /*
(**************************************************************************)
(* *)
(* Schifra *)
(* Reed-Solomon Error Correcting Code Library *)
(* ... | 32.960976 | 116 | 0.490454 | mcba1n |
056dcac29fe81013364b961cc64f276baf1945b4 | 519 | cc | C++ | trace.cc | yanxx297/d-s-se-directed-tests | 7104647e90ad925bde18a2bd22afc33fa09d2135 | [
"Apache-2.0"
] | 12 | 2015-01-18T04:26:37.000Z | 2019-02-19T15:56:17.000Z | trace.cc | yanxx297/d-s-se-directed-tests | 7104647e90ad925bde18a2bd22afc33fa09d2135 | [
"Apache-2.0"
] | null | null | null | trace.cc | yanxx297/d-s-se-directed-tests | 7104647e90ad925bde18a2bd22afc33fa09d2135 | [
"Apache-2.0"
] | 5 | 2016-01-02T11:52:26.000Z | 2019-11-14T20:51:44.000Z | #include <stdio.h>
#include <assert.h>
#include <list>
#include <fstream>
#include "debug.h"
#include "trace.h"
// TODO:
// * Add iterator to traverse the instructions in the trace
// * Compress trace
Trace::Trace() {
;
}
Trace::~Trace() {
;
}
void Trace::append(unsigned int base, int size) {
t.push_b... | 15.727273 | 59 | 0.637765 | yanxx297 |
056f0160e414c1b4ff788a310488c9e5178a8832 | 1,564 | cpp | C++ | opendnp3/DNP3/LinkRoute.cpp | rahul-sachdev/DNPSimulator | d78f6a3f2fe3b706fe73c163173f06c55af35b1e | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-10-28T01:27:21.000Z | 2021-05-14T08:06:33.000Z | opendnp3/DNP3/LinkRoute.cpp | rahul-sachdev/DNPSimulator | d78f6a3f2fe3b706fe73c163173f06c55af35b1e | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-04-15T06:32:48.000Z | 2019-04-15T06:52:33.000Z | opendnp3/DNP3/LinkRoute.cpp | sentient-energy/emsw-opendnp3-mirror | a182a01c15f342fbd498e16b02865fd6d5d5be98 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2016-11-16T15:14:51.000Z | 2016-11-16T15:14:51.000Z | //
// Licensed to Green Energy Corp (www.greenenergycorp.com) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Green Enery Corp licenses this file
// to you under the Apache License, Version 2.0 (the
// "... | 25.639344 | 91 | 0.725703 | rahul-sachdev |
0574e963a76854718bd6e024704c1cf4c19fbe30 | 609 | cpp | C++ | src/test/unit/GarthLib-Garth-tests.cpp | Korovasoft/Concurrent-GARTH | 2f22c464ce30f743b45bbd6c18a8546bee69be93 | [
"MIT"
] | null | null | null | src/test/unit/GarthLib-Garth-tests.cpp | Korovasoft/Concurrent-GARTH | 2f22c464ce30f743b45bbd6c18a8546bee69be93 | [
"MIT"
] | null | null | null | src/test/unit/GarthLib-Garth-tests.cpp | Korovasoft/Concurrent-GARTH | 2f22c464ce30f743b45bbd6c18a8546bee69be93 | [
"MIT"
] | null | null | null | ////////////////////////////////////////
////////////////////////////////////////
//
// Copyright (C) 2014 Korovasoft, Inc.
//
// File:
// \file GarthLib-Garth-tests.cpp
//
// Description:
// \brief Concurrent-GARTH: GarthLib::Garth tests
//
// Author:
// \author J. Caleb Wherry
//
//////////////////... | 16.026316 | 54 | 0.453202 | Korovasoft |
0577b5c9c82ed9ad5f87d249b1d659180979359e | 995 | cpp | C++ | C++/the-number-of-the-smallest-unoccupied-chair.cpp | Priyansh2/LeetCode-Solutions | d613da1881ec2416ccbe15f20b8000e36ddf1291 | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/the-number-of-the-smallest-unoccupied-chair.cpp | Priyansh2/LeetCode-Solutions | d613da1881ec2416ccbe15f20b8000e36ddf1291 | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/the-number-of-the-smallest-unoccupied-chair.cpp | Priyansh2/LeetCode-Solutions | d613da1881ec2416ccbe15f20b8000e36ddf1291 | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time: O(nlogn)
// Space: O(n)
class Solution {
public:
int smallestChair(vector<vector<int>>& times, int targetFriend) {
vector<tuple<int, bool, int>> events;
for (int i = 0; i < size(times); ++i) {
events.emplace_back(times[i][0], true, i);
events.emplace_back(times[i][... | 29.264706 | 69 | 0.476382 | Priyansh2 |
057966b5b6eff2da105dbc3c05f28404d61fc50a | 7,693 | cpp | C++ | test/util.cpp | PudgeXD/courseForLeveldb | 5321a35f3a1b1ef2ee6e82cca069d72ae803d1c0 | [
"BSD-3-Clause"
] | null | null | null | test/util.cpp | PudgeXD/courseForLeveldb | 5321a35f3a1b1ef2ee6e82cca069d72ae803d1c0 | [
"BSD-3-Clause"
] | null | null | null | test/util.cpp | PudgeXD/courseForLeveldb | 5321a35f3a1b1ef2ee6e82cca069d72ae803d1c0 | [
"BSD-3-Clause"
] | null | null | null | //
// Created by rui on 19-6-15.
//
#include <cassert>
#include <dirent.h>
//#include <format.h>
#include <iostream>
#include <string>
#include <stdio.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <unistd.h>
#include "leveldb/table/format.h"
#include "leveldb/db.h"
#include "leveldb/options.h"
#include "lev... | 30.407115 | 164 | 0.612505 | PudgeXD |
057a5713e180bf088b26ffa5d606c12c04e7fd3e | 67,907 | cpp | C++ | Source/core/layout/LayoutTableSection.cpp | scheib/blink | d18c0cc5b4e96ea87c556bfa57955538de498a9f | [
"BSD-3-Clause"
] | 1 | 2017-08-25T05:15:52.000Z | 2017-08-25T05:15:52.000Z | Source/core/layout/LayoutTableSection.cpp | scheib/blink | d18c0cc5b4e96ea87c556bfa57955538de498a9f | [
"BSD-3-Clause"
] | null | null | null | Source/core/layout/LayoutTableSection.cpp | scheib/blink | d18c0cc5b4e96ea87c556bfa57955538de498a9f | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 1997 Martin Jones (mjones@kde.org)
* (C) 1997 Torben Weis (weis@kde.org)
* (C) 1998 Waldo Bastian (bastian@kde.org)
* (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010... | 41.457265 | 232 | 0.664703 | scheib |
057a605aec9427c1917d02b6a08be6b8146206ca | 357 | cpp | C++ | src/test/main.cpp | simviu/IcEng | 52ca0359011f7b3a40d915fa526f1254fe131bbe | [
"BSD-3-Clause"
] | 10 | 2017-04-13T06:43:11.000Z | 2020-10-28T18:14:54.000Z | src/test/main.cpp | simviu/IcEng | 52ca0359011f7b3a40d915fa526f1254fe131bbe | [
"BSD-3-Clause"
] | 1 | 2018-05-23T08:13:12.000Z | 2018-10-15T15:34:16.000Z | src/test/main.cpp | simviu/IcEng | 52ca0359011f7b3a40d915fa526f1254fe131bbe | [
"BSD-3-Clause"
] | 2 | 2018-03-30T19:19:11.000Z | 2020-01-23T15:41:39.000Z | //
// main.cpp
// IcEngLib
//
// Created by Sherman Chen on 2/14/17.
// Copyright © 2017 Simviu Technology Inc. All rights reserved.
//
#include "MyTestApp.h"
//--------------------
// main
//--------------------
int main(int argc, char **argv)
{
MyTestApp app;
int ret = app.runCmdLine(argc, argv, "../.... | 17 | 67 | 0.526611 | simviu |
057b1767d195b9e77588f19f805b209eec0f6b27 | 1,739 | cpp | C++ | MapCreator/src/MapSprites.cpp | SashirFirebat/rpg-engine | c7fb07603576d1ae061df166f1e7ceef29348d48 | [
"Apache-2.0"
] | null | null | null | MapCreator/src/MapSprites.cpp | SashirFirebat/rpg-engine | c7fb07603576d1ae061df166f1e7ceef29348d48 | [
"Apache-2.0"
] | null | null | null | MapCreator/src/MapSprites.cpp | SashirFirebat/rpg-engine | c7fb07603576d1ae061df166f1e7ceef29348d48 | [
"Apache-2.0"
] | null | null | null | #include "MapSprites.h"
#include <fstream>
#include <cmath>
#include <iostream>
using std::ifstream;
MapSprites::MapSprites(const char * spriteamount, const char * image, bool separate)
{
ifstream filei(spriteamount);
int x;
filei >> x;
m_rows = x;
m_position = new int[x];
m_mode =... | 19.10989 | 85 | 0.505463 | SashirFirebat |
057b40fda88f849874c24cb66722d0f3fb4e11ce | 476 | hpp | C++ | src/Tools/Interleaver/NO/Interleaver_core_NO.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2022-02-17T08:47:47.000Z | 2022-02-17T08:47:47.000Z | src/Tools/Interleaver/NO/Interleaver_core_NO.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | null | null | null | src/Tools/Interleaver/NO/Interleaver_core_NO.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2022-02-15T23:32:39.000Z | 2022-02-15T23:32:39.000Z | #ifndef INTERLEAVER_CORE_NO_HPP
#define INTERLEAVER_CORE_NO_HPP
#include <cstdint>
#include "Tools/Interleaver/Interleaver_core.hpp"
namespace aff3ct
{
namespace tools
{
template <typename T = uint32_t>
class Interleaver_core_NO : public Interleaver_core<T>
{
public:
Interleaver_core_NO(const int size, const int n_... | 18.307692 | 61 | 0.777311 | WilliamMajor |
057b503abff03cc171855d3f0f688eb92029dce1 | 3,642 | cpp | C++ | source/font/cff/charstring.cpp | zhiayang/sap | f8d1d48b02c6df075bc59b5228fbd339d3923a4d | [
"Apache-2.0"
] | 13 | 2021-08-06T20:20:05.000Z | 2022-03-29T10:46:00.000Z | source/font/cff/charstring.cpp | zhiayang/sap | f8d1d48b02c6df075bc59b5228fbd339d3923a4d | [
"Apache-2.0"
] | 1 | 2021-08-07T17:42:59.000Z | 2021-09-19T00:34:30.000Z | source/font/cff/charstring.cpp | zhiayang/sap | f8d1d48b02c6df075bc59b5228fbd339d3923a4d | [
"Apache-2.0"
] | null | null | null | // charstring.cpp
// Copyright (c) 2022, zhiayang
// SPDX-License-Identifier: Apache-2.0
#include "error.h"
#include "font/cff.h"
#include "font/font.h"
namespace font::cff
{
static std::optional<Operand> readNumber(zst::byte_span& buf, bool is_dict)
{
if(buf.empty())
return {};
auto b0 = buf[0];
if(32 <=... | 19.068063 | 84 | 0.570566 | zhiayang |
057ec64f9799d22bbd721b54a6dcc6e8d1e337ce | 5,540 | cpp | C++ | Code/Samples/SampleGamePlugin/Components/DebugRenderComponent.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | null | null | null | Code/Samples/SampleGamePlugin/Components/DebugRenderComponent.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | null | null | null | Code/Samples/SampleGamePlugin/Components/DebugRenderComponent.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | 1 | 2022-03-28T15:57:46.000Z | 2022-03-28T15:57:46.000Z | #include <SampleGamePluginPCH.h>
#include <Core/Messages/SetColorMessage.h>
#include <Core/WorldSerializer/WorldReader.h>
#include <Core/WorldSerializer/WorldWriter.h>
#include <Foundation/Math/Rect.h>
#include <RendererCore/Debug/DebugRenderer.h>
#include <RendererCore/Textures/Texture2DResource.h>
#include <SampleGa... | 29.157895 | 158 | 0.744043 | alinoctavian |
057f6d9c6c9f5d906cd353657a5e74905b416f57 | 916 | cpp | C++ | codes/lightoj/1077HowManyPoints.cpp | smmehrab/problem-solving | 4aeab1673f18d3270ee5fc9b64ed6805eacf4af5 | [
"MIT"
] | null | null | null | codes/lightoj/1077HowManyPoints.cpp | smmehrab/problem-solving | 4aeab1673f18d3270ee5fc9b64ed6805eacf4af5 | [
"MIT"
] | null | null | null | codes/lightoj/1077HowManyPoints.cpp | smmehrab/problem-solving | 4aeab1673f18d3270ee5fc9b64ed6805eacf4af5 | [
"MIT"
] | null | null | null | /*
************************************************
username : smmehrab
fullname : s.m.mehrabul islam
email : mehrab.24csedu.001@gmail.com
institute : university of dhaka, bangladesh
session : 2017-2018
************************************************
*/
#include <bits/stdc++.h>
using namesp... | 23.487179 | 61 | 0.505459 | smmehrab |
05833fbc33659d3e797f6b75856c7ef52c6507c4 | 12,421 | cc | C++ | mace/ops/instance_norm.cc | XDo0/mace | 105f1533cf18b4c6a837d3dff0dd95d9bf376187 | [
"Apache-2.0"
] | null | null | null | mace/ops/instance_norm.cc | XDo0/mace | 105f1533cf18b4c6a837d3dff0dd95d9bf376187 | [
"Apache-2.0"
] | null | null | null | mace/ops/instance_norm.cc | XDo0/mace | 105f1533cf18b4c6a837d3dff0dd95d9bf376187 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 The MACE Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 37.753799 | 83 | 0.60599 | XDo0 |
05839398029754ccd77c35514939a1cf1bdb7e31 | 3,504 | cpp | C++ | realsense_ros_person/src/sample/TrackingRenderer/TrackingRenderer.cpp | uCRDev/realsense_samples_ros | 9e98473e8bbd2826ff704c40311a8d149afa7a19 | [
"Apache-2.0"
] | 134 | 2017-04-05T19:14:18.000Z | 2022-01-04T23:53:02.000Z | realsense_ros_person/src/sample/TrackingRenderer/TrackingRenderer.cpp | uCRDev/realsense_samples_ros | 9e98473e8bbd2826ff704c40311a8d149afa7a19 | [
"Apache-2.0"
] | 25 | 2017-04-17T12:33:56.000Z | 2018-01-23T15:13:54.000Z | realsense_ros_person/src/sample/TrackingRenderer/TrackingRenderer.cpp | uCRDev/realsense_samples_ros | 9e98473e8bbd2826ff704c40311a8d149afa7a19 | [
"Apache-2.0"
] | 96 | 2017-04-20T19:56:19.000Z | 2022-02-22T05:04:37.000Z | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2017 Intel Corporation. All Rights Reserved
#include <iomanip>
#include <opencv2/opencv.hpp>
#include "Colors.h"
#include "OpencvUtils.h"
#include "TrackingRenderer.h"
TrackingRenderer::TrackingRenderer(Viewer& viewer) : m_viewer(viewer)
{
... | 29.694915 | 115 | 0.694064 | uCRDev |
058a5e02f67962f614a3e5d44c7bdd9130fceff3 | 3,461 | hpp | C++ | sprout/math/atan.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 691 | 2015-01-15T18:52:23.000Z | 2022-03-15T23:39:39.000Z | sprout/math/atan.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 22 | 2015-03-11T01:22:56.000Z | 2021-03-29T01:51:45.000Z | sprout/math/atan.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 57 | 2015-03-11T07:52:29.000Z | 2021-12-16T09:15:33.000Z | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | 34.959596 | 136 | 0.629876 | kevcadieux |
058f931c83143943250966176fc2d99d6c1e9536 | 1,278 | hpp | C++ | lib/include/sway/core/binding/function.hpp | timcogames/Sway.module_core | 528ad0e79741750d387e56a3b2176bb738bbb577 | [
"MIT"
] | null | null | null | lib/include/sway/core/binding/function.hpp | timcogames/Sway.module_core | 528ad0e79741750d387e56a3b2176bb738bbb577 | [
"MIT"
] | null | null | null | lib/include/sway/core/binding/function.hpp | timcogames/Sway.module_core | 528ad0e79741750d387e56a3b2176bb738bbb577 | [
"MIT"
] | null | null | null | #ifndef SWAY_CORE_BINDING_FUNCTION_HPP
#define SWAY_CORE_BINDING_FUNCTION_HPP
#include <sway/core/binding/procaddress.hpp>
#include <sway/namespacemacros.hpp>
#include <sway/types.hpp>
#include <utility> // std::forward
NAMESPACE_BEGIN(sway)
NAMESPACE_BEGIN(core)
NAMESPACE_BEGIN(binding)
template <typename>
class ... | 25.058824 | 118 | 0.725352 | timcogames |
05908f3e88f10071f6f9e640d558023824850afa | 730 | hpp | C++ | include/utility/trait/type/features/is_copyable.hpp | SakuraLife/utility | b9bf26198917b6dc415520f74eb3eebf8aa8195e | [
"Unlicense"
] | 2 | 2017-12-10T10:59:48.000Z | 2017-12-13T04:11:14.000Z | include/utility/trait/type/features/is_copyable.hpp | SakuraLife/utility | b9bf26198917b6dc415520f74eb3eebf8aa8195e | [
"Unlicense"
] | null | null | null | include/utility/trait/type/features/is_copyable.hpp | SakuraLife/utility | b9bf26198917b6dc415520f74eb3eebf8aa8195e | [
"Unlicense"
] | null | null | null |
#ifndef __UTILITY_TRAIT_TYPE_FEATURES_IS_COPYABLE__
#define __UTILITY_TRAIT_TYPE_FEATURES_IS_COPYABLE__
#include<utility/trait/trait_helper.hpp>
#include<utility/trait/type/features/is_copy_constructible.hpp>
#include<utility/trait/type/features/is_copy_assignable.hpp>
namespace utility
{
namespace trait
{
n... | 24.333333 | 70 | 0.70137 | SakuraLife |
05909b25b2696f5da4884fd49dbbef22e3120e9d | 15,569 | cpp | C++ | Source/Planet/Mesh/PlanetCube.cpp | unconed/NFSpace | bbd544afb32a10bc4ee497e1d58cefe4bbbe7953 | [
"BSD-3-Clause"
] | 91 | 2015-01-19T11:03:56.000Z | 2022-03-12T15:54:06.000Z | Source/Planet/Mesh/PlanetCube.cpp | unconed/NFSpace | bbd544afb32a10bc4ee497e1d58cefe4bbbe7953 | [
"BSD-3-Clause"
] | null | null | null | Source/Planet/Mesh/PlanetCube.cpp | unconed/NFSpace | bbd544afb32a10bc4ee497e1d58cefe4bbbe7953 | [
"BSD-3-Clause"
] | 9 | 2015-03-16T03:36:50.000Z | 2021-06-17T09:47:26.000Z | /*
* PlanetCube.cpp
* NFSpace
*
* Created by Steven Wittens on 9/08/09.
* Copyright 2009 __MyCompanyName__. All rights reserved.
*
*/
#include "PlanetCube.h"
#include "EngineState.h"
using namespace Ogre;
namespace NFSpace {
PlanetCube::PlanetCube(MovableObject* proxy, PlanetMap* map)
: mProxy(proxy... | 32.57113 | 115 | 0.557454 | unconed |
059211c83e4430a6ae9f219294b7b244110b3f21 | 6,445 | cpp | C++ | Siv3D/src/Siv3D/String/SivString.cpp | Siv3D/siv6 | 090e82b2f6398640638dfa43da3f829ba977d0e2 | [
"MIT"
] | 2 | 2020-07-26T05:14:33.000Z | 2020-08-11T08:00:54.000Z | Siv3D/src/Siv3D/String/SivString.cpp | nokotan/siv6 | 7df183550a6c0160ba918d6ad24c3ae48231e26b | [
"MIT"
] | 6 | 2020-03-03T04:01:10.000Z | 2020-09-27T14:33:19.000Z | Siv3D/src/Siv3D/String/SivString.cpp | nokotan/siv6 | 7df183550a6c0160ba918d6ad24c3ae48231e26b | [
"MIT"
] | 5 | 2020-03-03T03:34:27.000Z | 2020-09-05T18:42:55.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2020 Ryo Suzuki
// Copyright (c) 2016-2020 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/String.hpp>
# include <Siv3D/... | 17.60929 | 80 | 0.595966 | Siv3D |
05928dcf2b121208b81766d34e13303120a9048b | 1,137 | cpp | C++ | lib/Support/Expansion.cpp | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 450 | 2018-08-03T08:17:03.000Z | 2022-03-17T17:21:06.000Z | lib/Support/Expansion.cpp | ffk0716/onnc | 91e4955ade64b479db17aaeccacf4b7339fe44d2 | [
"BSD-3-Clause"
] | 104 | 2018-08-13T07:31:50.000Z | 2021-08-24T11:24:40.000Z | lib/Support/Expansion.cpp | ffk0716/onnc | 91e4955ade64b479db17aaeccacf4b7339fe44d2 | [
"BSD-3-Clause"
] | 100 | 2018-08-12T04:27:39.000Z | 2022-03-11T04:17:42.000Z | //===- Expansion.cpp ------------------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <onnc/Support/Expansion.h>
#include <onnc/Config/Config.h>
/... | 22.294118 | 80 | 0.513632 | LiuLeif |
05937af9b843abefa0df559c6e9cc4aece6970fb | 2,727 | cc | C++ | source/dynamic_config.cc | kezhenxu94/cpp2sky | b5181cefd971d7fd5943a542783fb8c175a3ebca | [
"Apache-2.0"
] | 24 | 2020-10-16T06:57:59.000Z | 2022-03-24T11:20:04.000Z | source/dynamic_config.cc | kezhenxu94/cpp2sky | b5181cefd971d7fd5943a542783fb8c175a3ebca | [
"Apache-2.0"
] | 51 | 2020-10-16T07:05:00.000Z | 2021-12-29T09:19:15.000Z | source/dynamic_config.cc | kezhenxu94/cpp2sky | b5181cefd971d7fd5943a542783fb8c175a3ebca | [
"Apache-2.0"
] | 10 | 2020-11-26T14:56:11.000Z | 2022-03-17T02:01:25.000Z | // Copyright 2021 SkyAPM
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, so... | 29.322581 | 76 | 0.691236 | kezhenxu94 |
0596feedd34c4c27c5c2f8af33669a5d11ca396e | 751 | cpp | C++ | src/umpire/strategy/mixins/AlignedAllocation.cpp | td-mpcdf/Umpire | 3f1701e2dab2dce426f93206c8f5ba96af07e0cb | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/strategy/mixins/AlignedAllocation.cpp | td-mpcdf/Umpire | 3f1701e2dab2dce426f93206c8f5ba96af07e0cb | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/strategy/mixins/AlignedAllocation.cpp | td-mpcdf/Umpire | 3f1701e2dab2dce426f93206c8f5ba96af07e0cb | [
"MIT-0",
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016-22, Lawrence Livermore National Security, LLC and Umpire
// project contributors. See the COPYRIGHT file for details.
//
// SPDX-License-Identifier: (MIT)
////////////////////////////////////////////////////////////////... | 30.04 | 78 | 0.581891 | td-mpcdf |
05973729ceca08dc91a8583c0fc8a62b7bcb93ff | 2,250 | cpp | C++ | tests/RemoveNthNodeFromEndOfListTest.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 43 | 2015-10-10T12:59:52.000Z | 2018-07-11T18:07:00.000Z | tests/RemoveNthNodeFromEndOfListTest.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | null | null | null | tests/RemoveNthNodeFromEndOfListTest.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 11 | 2015-10-10T14:41:11.000Z | 2018-07-28T06:03:16.000Z | #include "catch.hpp"
#include "RemoveNthNodeFromEndOfList.hpp"
TEST_CASE("Remove Nth Node From End Of List") {
RemoveNthNodeFromEndOfList s;
ListNode *h = nullptr;
SECTION("Sample test") {
ListNode *n = nullptr;
n = new ListNode(5);
n->next = h;
h = n;
n = new ListN... | 27.777778 | 59 | 0.500889 | yanzhe-chen |
05a07555dc5054dbffad6827571e3a26cc2e02ec | 1,631 | cpp | C++ | leetcode/problems/medium/161-one-edit-distance.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/problems/medium/161-one-edit-distance.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/problems/medium/161-one-edit-distance.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
One Edit Distance
https://leetcode.com/problems/one-edit-distance/
Given two strings s and t, return true if they are both one edit distance apart, otherwise return false.
A string s is said to be one distance apart from a string t if you can:
Insert exactly one character into s to get t.
Delete exactly one chara... | 24.343284 | 104 | 0.55794 | wingkwong |
05a1ef86915b4c1d37cab383db514bc6c122f935 | 2,824 | cpp | C++ | module-apps/apps-common/popups/BluetoothInfoPopup.cpp | buk7456/MuditaOS | 06ef1e131b27b0f397cc615c96d51bede7050423 | [
"BSL-1.0"
] | 369 | 2021-11-10T09:20:29.000Z | 2022-03-30T06:36:58.000Z | module-apps/apps-common/popups/BluetoothInfoPopup.cpp | buk7456/MuditaOS | 06ef1e131b27b0f397cc615c96d51bede7050423 | [
"BSL-1.0"
] | 149 | 2021-11-10T08:38:35.000Z | 2022-03-31T23:01:52.000Z | module-apps/apps-common/popups/BluetoothInfoPopup.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 "BluetoothInfoPopup.hpp"
#include "data/PopupRequestParams.hpp"
#include <service-appmgr/Controller.hpp>
#include <ApplicationCommon.hpp>
#include <i18n/i18n.hpp>
using name... | 33.619048 | 115 | 0.601275 | buk7456 |
05a9315e70a9d5a32ec6947511c6eb3794a5b6c2 | 800 | cpp | C++ | KMP/2-bf.cpp | zyzisyz/DataStructure | 0856f1f1eccad90aadbb8e0c205bdc932d367d72 | [
"Apache-2.0"
] | null | null | null | KMP/2-bf.cpp | zyzisyz/DataStructure | 0856f1f1eccad90aadbb8e0c205bdc932d367d72 | [
"Apache-2.0"
] | null | null | null | KMP/2-bf.cpp | zyzisyz/DataStructure | 0856f1f1eccad90aadbb8e0c205bdc932d367d72 | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
> File Name: bf-2.cpp
> Author: Yang Zhang
> Mail: zyziszy@foxmail.com
> Created Time: Sat Sep 21 14:46:24 2019
************************************************************************/
#include<iostream>
#include<string.h>
#include<std... | 19.512195 | 74 | 0.47375 | zyzisyz |
05af505b496f607aac61991cf80d4f5be23c132b | 5,245 | cpp | C++ | src/cot_sdk/DTCotBootstrapper.cpp | holgerkoch/cot-c-mqtt-mqttsn-arduino-sdk | dd4f912b556c71406605f978d7b8211cacf79401 | [
"MIT"
] | 2 | 2019-12-18T18:27:31.000Z | 2021-07-17T15:12:44.000Z | src/cot_sdk/DTCotBootstrapper.cpp | holgerkoch/cot-c-mqtt-mqttsn-arduino-sdk | dd4f912b556c71406605f978d7b8211cacf79401 | [
"MIT"
] | 2 | 2019-12-18T18:56:56.000Z | 2020-01-14T18:55:37.000Z | src/cot_sdk/DTCotBootstrapper.cpp | holgerkoch/cot-c-mqtt-mqttsn-arduino-sdk | dd4f912b556c71406605f978d7b8211cacf79401 | [
"MIT"
] | 3 | 2019-11-14T21:26:09.000Z | 2020-02-26T13:51:33.000Z | /**
* @copyright (C) 2017-2018 Deutsche Telekom AG- all rights reserved.
* @licence MIT licence
*/
/*FIXME Get rid of this workaround!*/
#ifndef ARDUINO_ARCH_AVR
#include "DTCotBootstrapper.h"
#include "utility/DTCoTDebugOutput.h"
#include "utility/TimeoutHelper.h"
#include "DTCoTExtensionIface.h"
#include <Adafr... | 36.93662 | 134 | 0.664633 | holgerkoch |
05bbc2d9ff1d97da909b400625ba40bed0540f0b | 596 | hpp | C++ | YKLib/YKObject.hpp | hanhan/YKDataStructuresLib | 8f4680fa25a44c8975004602e55be7f82ae11d1f | [
"MIT"
] | null | null | null | YKLib/YKObject.hpp | hanhan/YKDataStructuresLib | 8f4680fa25a44c8975004602e55be7f82ae11d1f | [
"MIT"
] | null | null | null | YKLib/YKObject.hpp | hanhan/YKDataStructuresLib | 8f4680fa25a44c8975004602e55be7f82ae11d1f | [
"MIT"
] | null | null | null | //
// YKObject.hpp
// YKLib
//
// Copyright © 2017年 nethanhan. All rights reserved.
//
#ifndef YKObject_hpp
#define YKObject_hpp
#include <stdio.h>
namespace YKLib
{
class YKObject
{
public:
void* operator new (unsigned long size) throw();
void operator delete (void* p);
... | 19.225806 | 58 | 0.588926 | hanhan |
05bc9c80ae4d648b1901a2c8daf8e684a0e3816c | 7,141 | hpp | C++ | src/share/hid_manager.hpp | trueneu/Karabiner-Elements | 1c6977e350b586562ac7dad46c830745cf71bb35 | [
"Unlicense"
] | null | null | null | src/share/hid_manager.hpp | trueneu/Karabiner-Elements | 1c6977e350b586562ac7dad46c830745cf71bb35 | [
"Unlicense"
] | null | null | null | src/share/hid_manager.hpp | trueneu/Karabiner-Elements | 1c6977e350b586562ac7dad46c830745cf71bb35 | [
"Unlicense"
] | null | null | null | #pragma once
#include "boost_utility.hpp"
#include "gcd_utility.hpp"
#include "human_interface_device.hpp"
#include "logger.hpp"
#include "types.hpp"
#include <IOKit/hid/IOHIDManager.h>
#include <unordered_map>
namespace krbn {
class hid_manager final {
public:
// Return false to ignore device.
boost::signals2::s... | 32.907834 | 115 | 0.646408 | trueneu |
05bf406882564f74358eea38d4ef7a0a4c441299 | 4,818 | cpp | C++ | Source/Algorithm/Twofish/Twofish.cpp | BaderEddineOuaich/Enigma | a42365146c80fb59e38f5653e17d4c931195e646 | [
"MIT"
] | 13 | 2020-05-01T02:03:14.000Z | 2022-02-03T17:48:26.000Z | Source/Algorithm/Twofish/Twofish.cpp | BaderEddineOuaich/Enigma | a42365146c80fb59e38f5653e17d4c931195e646 | [
"MIT"
] | 5 | 2021-01-22T11:58:21.000Z | 2022-01-21T21:06:17.000Z | Source/Algorithm/Twofish/Twofish.cpp | BaderEddineOuaich/Enigma | a42365146c80fb59e38f5653e17d4c931195e646 | [
"MIT"
] | 3 | 2021-01-22T09:05:50.000Z | 2022-01-12T09:16:44.000Z | #include "pch.hpp"
#include "Twofish.hpp"
NS_ENIGMA_BEGIN
Twofish::Twofish(const Algorithm::Intent intent) noexcept
:
Algorithm(Algorithm::Type::Twofish, intent)
{
// Encrypting & Decrypting
if (intent & Intent::Encrypt && intent & Intent::Decrypt)
{
m_twofish_encryptor = std::make_unique<CryptoPP::GCM<CryptoP... | 40.830508 | 239 | 0.753425 | BaderEddineOuaich |
05c337e48bf08565c2d8128397b0bc2a0e52ce42 | 2,579 | cxx | C++ | tests/gumpp/backtracer.cxx | suy/frida-gum | e43cdd324c8e75548d3634ffe84e85137a972508 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 450 | 2015-01-09T07:26:25.000Z | 2022-03-25T02:48:32.000Z | tests/gumpp/backtracer.cxx | PowerOlive/frida-gum | af68dddace1e7fa04263f3da51e74bf658f7b8f0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 482 | 2015-01-02T21:52:16.000Z | 2022-03-16T03:10:03.000Z | tests/gumpp/backtracer.cxx | PowerOlive/frida-gum | af68dddace1e7fa04263f3da51e74bf658f7b8f0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 224 | 2015-01-15T00:33:57.000Z | 2022-03-14T18:22:04.000Z | /*
* Copyright (C) 2011-2019 Ole André Vadla Ravnås <oleavr@nowsecure.com>
*
* Licence: wxWindows Library Licence, Version 3.1
*/
#include "gumpp.hpp"
#include "testutil.h"
G_BEGIN_DECLS
#define TESTCASE(NAME) \
void test_gumpp_backtracer_ ## NAME (void)
#define TESTENTRY(NAME) \
TESTENTRY_SIMPLE ("Gum+... | 26.316327 | 80 | 0.72974 | suy |
05c5810d503e5e8823f7c524f57ca7c95e7ae80e | 3,375 | cpp | C++ | json2text/MetaException.cpp | solariun/json2text | bbf58788848678196db65a81310e97ee22adcde3 | [
"MIT"
] | null | null | null | json2text/MetaException.cpp | solariun/json2text | bbf58788848678196db65a81310e97ee22adcde3 | [
"MIT"
] | null | null | null | json2text/MetaException.cpp | solariun/json2text | bbf58788848678196db65a81310e97ee22adcde3 | [
"MIT"
] | null | null | null | //
// MetaException.cpp
// xml2xpath
//
// Created by GUSTAVO CAMPOS on 26/02/18.
// Copyright © 2018 GUSTAVO CAMPOS. All rights reserved.
//
/*
MIT License
Copyright (c) [year] [fullname]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentat... | 29.605263 | 204 | 0.709333 | solariun |
05c87e88f94ddd2ccbc226dc13081c3593e31056 | 98 | hpp | C++ | hls/float_params/b4.hpp | ninfueng/mpwn | 9931b98c9e1096214ce757ca1efdd1b1165a2057 | [
"MIT"
] | 2 | 2021-09-24T07:57:11.000Z | 2021-09-24T13:25:58.000Z | hls/test_timing/float_params/b4.hpp | ninfueng/mpwn | 9931b98c9e1096214ce757ca1efdd1b1165a2057 | [
"MIT"
] | null | null | null | hls/test_timing/float_params/b4.hpp | ninfueng/mpwn | 9931b98c9e1096214ce757ca1efdd1b1165a2057 | [
"MIT"
] | null | null | null |
float b4[10] {0.02173,0.03885,0.00948,-0.0576,0.0497,0.0813,-0.0673,0.0004385,-0.0626,-0.07074,}; | 49 | 97 | 0.673469 | ninfueng |
05c9515ed4803559af7050a42861a2598b93e67b | 18,052 | cpp | C++ | src/OpenDB/src/lefin/lefTechLayerCutSpacingTableParser.cpp | ibrahimkhairy/OpenROAD | 399a51332ce32e816b914f38cd38b9d0fe77785f | [
"BSD-3-Clause-Clear"
] | 1 | 2022-03-20T04:25:57.000Z | 2022-03-20T04:25:57.000Z | src/OpenDB/src/lefin/lefTechLayerCutSpacingTableParser.cpp | QuantamHD/OpenROAD | 5a8314e60cfebd07b843e91c41a13b42a22f55e4 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/OpenDB/src/lefin/lefTechLayerCutSpacingTableParser.cpp | QuantamHD/OpenROAD | 5a8314e60cfebd07b843e91c41a13b42a22f55e4 | [
"BSD-3-Clause-Clear"
] | null | null | null | #include <boost/bind.hpp>
#include <boost/config/warning_disable.hpp>
#include <boost/fusion/algorithm.hpp>
#include <boost/fusion/container.hpp>
#include <boost/fusion/container/generation/make_vector.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/fusion/include/at_c.hpp>
#include <boost/fusion/... | 37.844864 | 80 | 0.606082 | ibrahimkhairy |
05cc4c2248368becf51e095cd7af63f2cdb0fd66 | 19,724 | cpp | C++ | test-suite/dates.cpp | thejourneyofman/QuantLib | 98467eaf6d1a20885f05ea1aa602bb8380c39390 | [
"BSD-3-Clause"
] | 1 | 2021-03-16T16:41:39.000Z | 2021-03-16T16:41:39.000Z | test-suite/dates.cpp | thejourneyofman/QuantLib | 98467eaf6d1a20885f05ea1aa602bb8380c39390 | [
"BSD-3-Clause"
] | 4 | 2021-03-03T09:41:55.000Z | 2022-03-28T02:57:04.000Z | test-suite/dates.cpp | puszkarz/QuantLib | 9bb90c8cc4127927fc6737dcc083bbd9cbdf4a2f | [
"BSD-3-Clause"
] | null | null | null | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2004, 2009 Ferdinando Ametrano
Copyright (C) 2006 Katiuscia Manzoni
Copyright (C) 2003 RiskMap srl
Copyright (C) 2015 Maddalena Zanzi
Copyright (c) 2015 Klaus Spanderen
Copyright (C) 2020 Leonardo Arcari
Copyright (... | 39.606426 | 95 | 0.489809 | thejourneyofman |
fe47a9adaaa89cf6f7de187f7212ba5092aff8ce | 38 | hpp | C++ | src/libamp_src/src.hpp | AmpScm/AmpScm | a7cc2010a6d7d59c5b26f88154b38c6c8775d9d8 | [
"Apache-2.0"
] | null | null | null | src/libamp_src/src.hpp | AmpScm/AmpScm | a7cc2010a6d7d59c5b26f88154b38c6c8775d9d8 | [
"Apache-2.0"
] | null | null | null | src/libamp_src/src.hpp | AmpScm/AmpScm | a7cc2010a6d7d59c5b26f88154b38c6c8775d9d8 | [
"Apache-2.0"
] | 1 | 2022-02-01T13:05:25.000Z | 2022-02-01T13:05:25.000Z | #pragma once
#include "amp_src.hpp"
| 9.5 | 23 | 0.710526 | AmpScm |
fe4851edf87bf1f907f45196908a86662b735d49 | 659 | hpp | C++ | src/core/centurion_utils.hpp | albin-johansson/wanderer | 74c1e788e37d6555def23fb6f49d2342baf2a6fe | [
"MIT"
] | 11 | 2021-05-09T09:19:35.000Z | 2022-03-22T10:11:16.000Z | src/core/centurion_utils.hpp | albin-johansson/wanderer | 74c1e788e37d6555def23fb6f49d2342baf2a6fe | [
"MIT"
] | 5 | 2021-02-23T11:43:10.000Z | 2021-02-23T11:43:52.000Z | src/core/centurion_utils.hpp | albin-johansson/wanderer | 74c1e788e37d6555def23fb6f49d2342baf2a6fe | [
"MIT"
] | null | null | null | #pragma once
#include <centurion.hpp>
#include "vector2.hpp"
namespace wanderer {
template <typename T>
[[nodiscard]] constexpr auto to_point(const basic_vector2<T>& vector) noexcept
-> cen::basic_point<T>
{
return cen::basic_point<T>{vector.x, vector.y};
}
template <typename T>
[[nodiscard]] constexpr auto ... | 21.258065 | 81 | 0.711684 | albin-johansson |
fe52d5bb0ad85adb0944a6b3d3d5bc50231514b9 | 17,561 | cpp | C++ | src/usi-engine/bona/thread.cpp | bleu48/aobazero | c805b80d9ed8d27ce507fc2b74fb7609d75b2426 | [
"Unlicense"
] | null | null | null | src/usi-engine/bona/thread.cpp | bleu48/aobazero | c805b80d9ed8d27ce507fc2b74fb7609d75b2426 | [
"Unlicense"
] | null | null | null | src/usi-engine/bona/thread.cpp | bleu48/aobazero | c805b80d9ed8d27ce507fc2b74fb7609d75b2426 | [
"Unlicense"
] | null | null | null | // 2019 Team AobaZero
// This source code is in the public domain.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdarg.h>
#if defined(_WIN32)
# include <process.h>
#else
# include <arpa/inet.h>
# include <sys/types.h>
# include <unistd.h>
# include <sched.h>
#endif
#incl... | 24.056164 | 78 | 0.614771 | bleu48 |
fe5b9cd7865a438bd9da3c39b0f0ed13a4fd1378 | 186,930 | cpp | C++ | common/ffsparser.cpp | aboaltiib/uifi | 3d73801e212d25374cd1d18a7d72743a1e159d07 | [
"BSD-2-Clause"
] | null | null | null | common/ffsparser.cpp | aboaltiib/uifi | 3d73801e212d25374cd1d18a7d72743a1e159d07 | [
"BSD-2-Clause"
] | null | null | null | common/ffsparser.cpp | aboaltiib/uifi | 3d73801e212d25374cd1d18a7d72743a1e159d07 | [
"BSD-2-Clause"
] | null | null | null | /* ffsparser.cpp
Copyright (c) 2018, Nikolaj Schlej. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-l... | 44.443652 | 249 | 0.626299 | aboaltiib |
fe5d7d8c8c2e1e37621bbe2ba94aea49bd49faf4 | 8,575 | cpp | C++ | src/pola/graphic/image/JPEGImageDecoder.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | src/pola/graphic/image/JPEGImageDecoder.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | src/pola/graphic/image/JPEGImageDecoder.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | /*
* JPEGImageDecoder.cpp
*
* Created on: 2015年12月30日
* Author: lijing
*/
#include "pola/log/Log.h"
#include "pola/graphic/image/ImageDecoderFactory.h"
#include "pola/graphic/image/JPEGImageDecoder.h"
#include "ImageSampler.h"
#include <string.h>
namespace pola {
namespace graphic {
/* Automatically clea... | 30.956679 | 99 | 0.678017 | lij0511 |
fe5dde265c6a9cd7dd48f053e2d5fa34ed632641 | 48,976 | cpp | C++ | modules/egl/teglMultiThreadTests.cpp | maurossi/deqp | b3dbc046090ad2733acfa5b872ad225d8c08bcb6 | [
"Apache-2.0"
] | 2 | 2016-07-19T13:05:30.000Z | 2016-07-19T13:05:32.000Z | modules/egl/teglMultiThreadTests.cpp | maurossi/deqp | b3dbc046090ad2733acfa5b872ad225d8c08bcb6 | [
"Apache-2.0"
] | null | null | null | modules/egl/teglMultiThreadTests.cpp | maurossi/deqp | b3dbc046090ad2733acfa5b872ad225d8c08bcb6 | [
"Apache-2.0"
] | null | null | null | /*-------------------------------------------------------------------------
* drawElements Quality Program EGL Module
* ---------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except... | 31.78196 | 292 | 0.702242 | maurossi |
fe60d7227e5a1c707cf86c945c0da3cc35740055 | 40,901 | cpp | C++ | examples/api_trace/api_trace.cpp | samkatakouzinos/reshade | 682b9da100ee5f29cc5a159b9603311f4ed2c7c4 | [
"BSD-3-Clause"
] | null | null | null | examples/api_trace/api_trace.cpp | samkatakouzinos/reshade | 682b9da100ee5f29cc5a159b9603311f4ed2c7c4 | [
"BSD-3-Clause"
] | null | null | null | examples/api_trace/api_trace.cpp | samkatakouzinos/reshade | 682b9da100ee5f29cc5a159b9603311f4ed2c7c4 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2021 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/reshade#license
*/
#include <imgui.h>
#include <reshade.hpp>
#include <mutex>
#include <sstream>
#include <unordered_set>
#include <unordered_map>
#include <cassert>
namespace
{
bool s_do_capture = false;
std::vecto... | 43.465462 | 263 | 0.747121 | samkatakouzinos |
fe60e787a31f603e0d31efaae98a2229d1f6a1f9 | 1,982 | hpp | C++ | src/include/iocore/csvSource.hpp | elinjammal/opensmile | 0ae2da44e61744ff1aaa9bae2b95d747febb08de | [
"W3C"
] | 245 | 2020-10-24T16:27:13.000Z | 2022-03-31T03:01:11.000Z | src/include/iocore/csvSource.hpp | elinjammal/opensmile | 0ae2da44e61744ff1aaa9bae2b95d747febb08de | [
"W3C"
] | 41 | 2021-01-13T11:30:42.000Z | 2022-01-14T14:36:11.000Z | src/include/iocore/csvSource.hpp | elinjammal/opensmile | 0ae2da44e61744ff1aaa9bae2b95d747febb08de | [
"W3C"
] | 43 | 2020-12-11T15:28:19.000Z | 2022-03-20T11:55:58.000Z | /*F***************************************************************************
* This file is part of openSMILE.
*
* Copyright (c) audEERING GmbH. All rights reserved.
* See the file COPYING for details on license terms.
***************************************************************************E*/
/* openSMIL... | 27.150685 | 278 | 0.677598 | elinjammal |
fe612d698f28dbc3bc5bb472379065aa4ca9046f | 1,732 | cpp | C++ | level1/p11_linkedList/linklist.cpp | caodi1/c2021-1 | 084b0e99312716dde2278b3cad8ca102b57d6fa1 | [
"MIT"
] | null | null | null | level1/p11_linkedList/linklist.cpp | caodi1/c2021-1 | 084b0e99312716dde2278b3cad8ca102b57d6fa1 | [
"MIT"
] | null | null | null | level1/p11_linkedList/linklist.cpp | caodi1/c2021-1 | 084b0e99312716dde2278b3cad8ca102b57d6fa1 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<malloc.h>
typedef struct LINK {
int num;
LINK* next;
}LINK;
LINK* tlist(LINK* temp);
void Lfree(LINK* head) {
LINK* a, * b;
a = head;
while (a) {
b = a->next;
free(a);
a = b;
}
}
void creat(int i, LINK* head) {
LINK* a[10];
for (int i = 0; i < 10; i++) {
a[i] = (LINK*)malloc... | 14.31405 | 43 | 0.501732 | caodi1 |
fe61d46b04196b888dcd60c686bd614a27c0cd13 | 2,328 | hpp | C++ | libs/boost_1_72_0/boost/qvm/mat_traits_defaults.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/qvm/mat_traits_defaults.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/qvm/mat_traits_defaults.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef UUID_FB4D5BEAC71B11E68D0EEF1707624D53
#define UUID_FB4D5BEAC71B11E68D0EEF1707624D53
#in... | 33.257143 | 80 | 0.65378 | henrywarhurst |
fe6d2ecc343f3dea181cee0db52b532f7a014f57 | 16,004 | cpp | C++ | src/transactions/TradeLookupDB.cpp | dotweiba/dbt5 | 39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42 | [
"Artistic-1.0"
] | 3 | 2017-08-30T12:57:33.000Z | 2022-02-08T14:25:03.000Z | src/transactions/TradeLookupDB.cpp | dotweiba/dbt5 | 39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42 | [
"Artistic-1.0"
] | 1 | 2020-09-28T05:36:28.000Z | 2021-03-15T10:38:29.000Z | src/transactions/TradeLookupDB.cpp | dotweiba/dbt5 | 39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42 | [
"Artistic-1.0"
] | 5 | 2017-01-18T20:16:06.000Z | 2021-03-09T12:23:50.000Z | /*
* This file is released under the terms of the Artistic License. Please see
* the file LICENSE, included in this package, for details.
*
* Copyright (C) 2006-2007 Rilson Nascimento
* 2010 Mark Wong
*
* 08 July 2006
*/
#include "TradeLookupDB.h"
// Call Trade Lookup Frame 1
void CTradeLo... | 41.568831 | 77 | 0.564984 | dotweiba |
fe707e9b25eac1be80c7b6fb131c4bf8514e7ea5 | 2,976 | cpp | C++ | volna_init/external/eigen2/test/sum.cpp | Devaraj-G/volna | f4a25c19ae041c81442fc0461ea3ff2d7d8f95ba | [
"BSD-2-Clause"
] | 3 | 2021-07-08T23:53:52.000Z | 2022-01-25T11:55:28.000Z | volna_init/external/eigen2/test/sum.cpp | Devaraj-G/volna | f4a25c19ae041c81442fc0461ea3ff2d7d8f95ba | [
"BSD-2-Clause"
] | 1 | 2019-12-02T17:31:28.000Z | 2019-12-02T17:31:28.000Z | volna_init/external/eigen2/test/sum.cpp | Devaraj-G/volna | f4a25c19ae041c81442fc0461ea3ff2d7d8f95ba | [
"BSD-2-Clause"
] | 7 | 2018-02-05T19:34:34.000Z | 2021-11-01T08:46:34.000Z | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra. Eigen itself is part of the KDE project.
//
// Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//... | 34.206897 | 177 | 0.668011 | Devaraj-G |
fe715d6da5212707092e581ca0df5dc2a0abea38 | 61,719 | cpp | C++ | test/denovo_discovery/extract_reads_test.cpp | rffrancon/pandora | 5786548a1a1111a4990f0b8a6ec3335e4d1a5319 | [
"MIT"
] | null | null | null | test/denovo_discovery/extract_reads_test.cpp | rffrancon/pandora | 5786548a1a1111a4990f0b8a6ec3335e4d1a5319 | [
"MIT"
] | null | null | null | test/denovo_discovery/extract_reads_test.cpp | rffrancon/pandora | 5786548a1a1111a4990f0b8a6ec3335e4d1a5319 | [
"MIT"
] | null | null | null | #include <iostream>
#include <memory>
#include <set>
#include "gtest/gtest.h"
#include "../test_macro.cpp"
#include "denovo_discovery/extract_reads.h"
#include "interval.h"
#include "localPRG.h"
#include "minihit.h"
#include "minihits.h"
#include "prg/path.h"
#include "pangenome/pannode.h"
#include "pangenome/panread.h... | 43.281206 | 124 | 0.660315 | rffrancon |
fe763c05becd8bbf66cacd16b40ca572b5c312ee | 695 | cpp | C++ | src/chainparams_regtest.cpp | efinexchange/efin-core | 57f79a78108c3a43187e12feaa08ed202e8e27d8 | [
"MIT"
] | 7 | 2019-02-27T20:54:24.000Z | 2021-03-17T20:00:13.000Z | src/chainparams_regtest.cpp | efinexchange/efin-core | 57f79a78108c3a43187e12feaa08ed202e8e27d8 | [
"MIT"
] | 2 | 2019-03-15T18:10:31.000Z | 2019-06-03T17:39:26.000Z | src/chainparams_regtest.cpp | efinexchange/efin-core | 57f79a78108c3a43187e12feaa08ed202e8e27d8 | [
"MIT"
] | 6 | 2019-02-27T20:54:29.000Z | 2021-03-11T18:53:31.000Z | #include <chainparams_regtest.h>
const std::pair<const char*, CAmount> regTestOutputs[] = {
// TODO: Define official initial coin supply.
// inner moral wet catch timber high now wet raise onion size tooth merit night movie chalk vote benefit hour card crime ask begin confirm
std::make_pair("cfbc902d62a219... | 63.181818 | 160 | 0.779856 | efinexchange |
fe79b1f61d55db933105257d45790c25cb693ba5 | 7,941 | cpp | C++ | Classes/bee/dir-monitor/lua_dir_monitor.cpp | DoooReyn/cocos2d-x-dir-monitor | d040d333645ea3b8e724d73eb079acc768853f0c | [
"MIT"
] | 2 | 2022-03-05T15:50:00.000Z | 2022-03-06T07:53:48.000Z | Classes/bee/dir-monitor/lua_dir_monitor.cpp | DoooReyn/cocos2d-x-dir-monitor | d040d333645ea3b8e724d73eb079acc768853f0c | [
"MIT"
] | null | null | null | Classes/bee/dir-monitor/lua_dir_monitor.cpp | DoooReyn/cocos2d-x-dir-monitor | d040d333645ea3b8e724d73eb079acc768853f0c | [
"MIT"
] | 1 | 2022-03-06T07:53:50.000Z | 2022-03-06T07:53:50.000Z | #include "bee/dir-monitor/bee_dir_monitor.h"
#include "tolua_fix.h"
#include "LuaBasicConversions.h"
#include "CCLuaEngine.h"
#include "lua.h"
static int lua_dir_monitor_make(lua_State* L)
{
(DirMonitor*)tolua_tousertype(L, 1, 0);
return 0;
}
static int lua_dir_monitor_create(lua_State* L)
{
if (NULL... | 23.28739 | 112 | 0.655711 | DoooReyn |
fe7a0c356145e6af1820d93986e96b33e787aff8 | 6,104 | hpp | C++ | geometry/Cartesian.hpp | nbrummerstedt/Euclid | 3660c3852ed22f62c2c00d9ee334bc7e118b696f | [
"MIT"
] | null | null | null | geometry/Cartesian.hpp | nbrummerstedt/Euclid | 3660c3852ed22f62c2c00d9ee334bc7e118b696f | [
"MIT"
] | null | null | null | geometry/Cartesian.hpp | nbrummerstedt/Euclid | 3660c3852ed22f62c2c00d9ee334bc7e118b696f | [
"MIT"
] | null | null | null | #ifndef EUCLID_GEOMETRY_CARTESIAN
#define EUCLID_GEOMETRY_CARTESIAN
#include <vector>
#include <array>
#include <numeric>
#include <cassert>
#include <iostream>
#include <math.h>
namespace Euclid {
class Cartesian
{
protected : std::array<double,3> data;
public :
constexpr Cartesian ( const double & a) : data... | 50.866667 | 142 | 0.634993 | nbrummerstedt |
fe7f05d4d87e2197b1db17edae09269d1d38482f | 28,458 | cpp | C++ | src/Applications/AppUtils/ApplicationLauncher.cpp | sabachan/framework | e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd | [
"MIT"
] | null | null | null | src/Applications/AppUtils/ApplicationLauncher.cpp | sabachan/framework | e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd | [
"MIT"
] | null | null | null | src/Applications/AppUtils/ApplicationLauncher.cpp | sabachan/framework | e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ApplicationLauncher.h"
//#include "DevRenderer.h"
#include <Core/Log.h>
#include <Core/PerfLog.h>
#include <Core/StringFormat.h>
#include <Core/StringUtils.h>
#include <Core/VectorOfScopedPtr.h>
#include <Math/NumericalUtils.h>
#include <ObjectScript/Reader.h>
#include <Reflect... | 44.12093 | 189 | 0.646918 | sabachan |
fe8ae7a16cc4ce3417b8713124dbfa1cdb3e9e0e | 11,750 | hh | C++ | include/click/flow/flowelement.hh | timmytimj/fastclick | 260dfa7285e5fff3c916b8272249d6d393e61179 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-05-06T07:28:08.000Z | 2021-05-06T07:28:08.000Z | include/click/flow/flowelement.hh | timmytimj/fastclick | 260dfa7285e5fff3c916b8272249d6d393e61179 | [
"BSD-3-Clause-Clear"
] | null | null | null | include/click/flow/flowelement.hh | timmytimj/fastclick | 260dfa7285e5fff3c916b8272249d6d393e61179 | [
"BSD-3-Clause-Clear"
] | null | null | null | // -*- c-basic-offset: 4 -*-
#ifndef CLICK_FLOWELEMENT_HH
#define CLICK_FLOWELEMENT_HH
#include <click/glue.hh>
#include <click/vector.hh>
#include <click/string.hh>
#include <click/batchelement.hh>
#include <click/routervisitor.hh>
#include <click/pair.hh>
#include "flow.hh"
CLICK_DECLS
#ifdef HAVE_FLOW
class Virt... | 29.448622 | 258 | 0.646809 | timmytimj |
fe8d0e4c42a58b074ff9883689443c6b474c0174 | 7,114 | hpp | C++ | src/utils/cmd_args.hpp | dev-zero/SIRIUS | 8fd984bfccfd3c55448284c9a0a8a01f86c65ca9 | [
"BSD-2-Clause"
] | null | null | null | src/utils/cmd_args.hpp | dev-zero/SIRIUS | 8fd984bfccfd3c55448284c9a0a8a01f86c65ca9 | [
"BSD-2-Clause"
] | null | null | null | src/utils/cmd_args.hpp | dev-zero/SIRIUS | 8fd984bfccfd3c55448284c9a0a8a01f86c65ca9 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2013-2014 Anton Kozhevnikov, Thomas Schulthess
// 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, ... | 29.890756 | 116 | 0.577734 | dev-zero |
fe8e6a8c6af0c1bcf1c6eb4e30edba7cd9786e1f | 395 | hpp | C++ | Common/Util.hpp | gyatskov/radix-sort | a7fb1223ecb6020b8f95b421c8da62d8974b9888 | [
"MIT"
] | 2 | 2018-08-07T12:51:07.000Z | 2018-09-29T02:18:58.000Z | Common/Util.hpp | gyatskov/radix-sort | a7fb1223ecb6020b8f95b421c8da62d8974b9888 | [
"MIT"
] | null | null | null | Common/Util.hpp | gyatskov/radix-sort | a7fb1223ecb6020b8f95b421c8da62d8974b9888 | [
"MIT"
] | 2 | 2018-08-07T12:51:15.000Z | 2019-01-29T03:21:18.000Z | #pragma once
#include <array>
#include <type_traits>
template <typename Dest=void, typename ...Arg>
constexpr auto make_array(Arg&& ...arg) {
if constexpr (std::is_same<void,Dest>::value)
return std::array<std::common_type_t<std::decay_t<Arg>...>, sizeof...(Arg)>{{ std::forward<Arg>(arg)... }};
else
... | 30.384615 | 113 | 0.640506 | gyatskov |
fe8f0daa398523a84c9b999ed6887754605d460e | 31,165 | cpp | C++ | Engine/GUI/GuiView.cpp | hhyyrylainen/Leviathan | 0a0d2ea004a153f9b17c6230da029e8160716f71 | [
"BSL-1.0"
] | 16 | 2018-12-22T02:09:05.000Z | 2022-03-09T20:38:59.000Z | Engine/GUI/GuiView.cpp | hhyyrylainen/Leviathan | 0a0d2ea004a153f9b17c6230da029e8160716f71 | [
"BSL-1.0"
] | 46 | 2018-04-02T11:06:01.000Z | 2019-12-14T11:16:04.000Z | Engine/GUI/GuiView.cpp | hhyyrylainen/Leviathan | 0a0d2ea004a153f9b17c6230da029e8160716f71 | [
"BSL-1.0"
] | 14 | 2018-04-09T02:26:15.000Z | 2021-09-11T03:12:15.000Z | // ------------------------------------ //
#include "GuiView.h"
#include "CEFConversionHelpers.h"
#include "Engine.h"
#include "Events/EventHandler.h"
#include "Exceptions.h"
#include "GlobalCEFHandler.h"
#include "GuiManager.h"
#include "KeyMapping.h"
#include "LeviathanJavaScriptAsync.h"
#include "Rendering/Geometry... | 30.494129 | 95 | 0.631478 | hhyyrylainen |
fe9062e97e3052ac195bb19ee3522bf46feefe56 | 600 | cpp | C++ | src/main.cpp | mine260309/phosphor-psu-code-mgmt | 1f2344e15ad022b0cc512d8ae100da7ae6ad0ede | [
"Apache-2.0"
] | 14 | 2021-11-04T07:47:37.000Z | 2022-03-21T10:10:30.000Z | src/main.cpp | mine260309/phosphor-psu-code-mgmt | 1f2344e15ad022b0cc512d8ae100da7ae6ad0ede | [
"Apache-2.0"
] | 2 | 2020-01-02T13:23:27.000Z | 2020-03-23T02:56:45.000Z | src/main.cpp | mine260309/phosphor-psu-code-mgmt | 1f2344e15ad022b0cc512d8ae100da7ae6ad0ede | [
"Apache-2.0"
] | 6 | 2021-11-02T10:56:19.000Z | 2022-03-06T11:58:20.000Z | #include "config.h"
#include "item_updater.hpp"
#include <phosphor-logging/log.hpp>
#include <sdbusplus/bus.hpp>
#include <sdbusplus/server/manager.hpp>
#include <system_error>
int main(int /* argc */, char* /* argv */[])
{
auto bus = sdbusplus::bus::new_default();
// Add sdbusplus ObjectManager.
sdbusp... | 21.428571 | 76 | 0.671667 | mine260309 |
fe91e95ba20fdcca5ca7b3e54fbc9b443db4fec4 | 4,752 | cpp | C++ | src/SilentEngine/public/FileImport/SFormatOBJImporter/SFormatOBJImporter.cpp | Flone-dnb/SilentEngine | d998442f881f89af19737e3fb725849314de23f7 | [
"Zlib"
] | null | null | null | src/SilentEngine/public/FileImport/SFormatOBJImporter/SFormatOBJImporter.cpp | Flone-dnb/SilentEngine | d998442f881f89af19737e3fb725849314de23f7 | [
"Zlib"
] | null | null | null | src/SilentEngine/public/FileImport/SFormatOBJImporter/SFormatOBJImporter.cpp | Flone-dnb/SilentEngine | d998442f881f89af19737e3fb725849314de23f7 | [
"Zlib"
] | null | null | null | // ******************************************************************
// This file is part of the Silent Engine.
// Copyright Aleksandr "Flone" Tretyakov (github.com/Flone-dnb).
// Licensed under the ZLib license.
// Refer to the LICENSE file included.
// ****************************************************************... | 18.418605 | 134 | 0.601641 | Flone-dnb |
fe9930b7a297849366fbb8f1964d719e4ae730e3 | 4,095 | cpp | C++ | TinyWebServer/src/core/epoll.cpp | ho-229/Network-Learn | b87d112b2f93c5f4d0d522629c15f8bba254ff2d | [
"MIT"
] | 1 | 2022-02-01T18:50:18.000Z | 2022-02-01T18:50:18.000Z | TinyWebServer/src/core/epoll.cpp | ho-229/Network-Learn | b87d112b2f93c5f4d0d522629c15f8bba254ff2d | [
"MIT"
] | null | null | null | TinyWebServer/src/core/epoll.cpp | ho-229/Network-Learn | b87d112b2f93c5f4d0d522629c15f8bba254ff2d | [
"MIT"
] | null | null | null | /**
* @author Ho 229
* @date 2021/8/20
*/
#include "epoll.h"
#include <algorithm>
Epoll::Epoll()
{
#if defined (OS_WINDOWS)
m_connections.reserve(512);
#elif defined (OS_LINUX)
m_epoll = epoll_create1(0);
#else
m_kqueue = kqueue();
#endif
}
Epoll::~Epoll()
{
#if defined (OS_LINUX)
close(m_ep... | 28.4375 | 92 | 0.610745 | ho-229 |
fe9c473cad8542f57abc29e95c7f60ef362ca9f5 | 3,018 | hpp | C++ | Firmware/Drivers/STM32/stm32_spi_arbiter.hpp | takijo0116/ODrive | 4c01d0bff2a1c4a67e0f9979c9797b846f5de5d2 | [
"MIT"
] | 1 | 2021-02-19T09:44:02.000Z | 2021-02-19T09:44:02.000Z | Firmware/Drivers/STM32/stm32_spi_arbiter.hpp | takijo0116/ODrive | 4c01d0bff2a1c4a67e0f9979c9797b846f5de5d2 | [
"MIT"
] | null | null | null | Firmware/Drivers/STM32/stm32_spi_arbiter.hpp | takijo0116/ODrive | 4c01d0bff2a1c4a67e0f9979c9797b846f5de5d2 | [
"MIT"
] | null | null | null | #ifndef __STM32_SPI_ARBITER_HPP
#define __STM32_SPI_ARBITER_HPP
#include "stm32_gpio.hpp"
#include "stm32_spi.hpp"
class Stm32SpiArbiter {
public:
struct SpiTask {
Stm32Spi::Config config;
Stm32Gpio ncs_gpio;
const uint8_t* tx_buf;
uint8_t* rx_buf;
size_t length;
vo... | 32.106383 | 139 | 0.649437 | takijo0116 |
fea1e28862593d9cb29c9d8f01557819fbde59d5 | 5,643 | cpp | C++ | 00Experiments/MFReaderTest/WWMFReader.cpp | yamamoto2002/bitspersampleconv2 | 331a9fc531269e5dfdc78548e583f793a7687dc0 | [
"MIT"
] | null | null | null | 00Experiments/MFReaderTest/WWMFReader.cpp | yamamoto2002/bitspersampleconv2 | 331a9fc531269e5dfdc78548e583f793a7687dc0 | [
"MIT"
] | null | null | null | 00Experiments/MFReaderTest/WWMFReader.cpp | yamamoto2002/bitspersampleconv2 | 331a9fc531269e5dfdc78548e583f793a7687dc0 | [
"MIT"
] | 1 | 2020-11-12T06:55:18.000Z | 2020-11-12T06:55:18.000Z | #include "WWMFReader.h"
#include "WWUtil.h"
#include <assert.h>
// creates uncompressed PCM audio ppPCMAudio from the source reader pReader
static HRESULT
ConfigureAudioStream(
IMFSourceReader *pReader,
IMFMediaType **ppPCMAudio)
{
HRESULT hr = S_OK;
*ppPCMAudio = nullptr;
IMFMediaType *p... | 23.810127 | 86 | 0.645047 | yamamoto2002 |
fea4b5ed5a9a17edb1f8b3074428a7e683178e3f | 3,104 | cpp | C++ | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/cpp/visualstylestate.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 834 | 2017-06-24T10:40:36.000Z | 2022-03-31T19:48:51.000Z | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/cpp/visualstylestate.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 7,042 | 2017-06-23T22:34:47.000Z | 2022-03-31T23:05:23.000Z | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/cpp/visualstylestate.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 1,640 | 2017-06-23T22:31:39.000Z | 2022-03-31T02:45:37.000Z |
// <Snippet0>
#using <System.Drawing.dll>
#using <System.Windows.Forms.dll>
#using <System.dll>
using namespace System;
using namespace System::Drawing;
using namespace System::Windows::Forms;
using namespace System::Windows::Forms::VisualStyles;
namespace VisualStyleStateSample
{
public ref class VisualStyleSta... | 32 | 77 | 0.589884 | BohdanMosiyuk |
fea58084b8f452ff9e1e0191150516c42b49d940 | 1,886 | cpp | C++ | sample/enum_net.cpp | ozelikov/pfs | f2800b10e1a19589d4eb1d5b9f6541a05cfaae6d | [
"Apache-2.0"
] | 55 | 2021-02-21T20:58:50.000Z | 2022-02-16T19:13:01.000Z | sample/enum_net.cpp | ozelikov/pfs | f2800b10e1a19589d4eb1d5b9f6541a05cfaae6d | [
"Apache-2.0"
] | 12 | 2021-02-22T01:20:47.000Z | 2022-02-05T15:15:48.000Z | sample/enum_net.cpp | ozelikov/pfs | f2800b10e1a19589d4eb1d5b9f6541a05cfaae6d | [
"Apache-2.0"
] | 5 | 2021-06-21T18:41:43.000Z | 2022-01-17T18:30:00.000Z | /*
* Copyright 2020-present Daniel Trugman
*
* 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 ... | 23.575 | 76 | 0.546129 | ozelikov |
fea9754d28c95cefe03a589cdd8ce274231cb016 | 75 | cpp | C++ | deps/stb/sources/stb_image_resize.cpp | thofyb/RobotFootballSim | 646f88b52e1c29aa7480dc9e473fec1e8ce41ecf | [
"MIT"
] | 1 | 2021-04-13T08:31:05.000Z | 2021-04-13T08:31:05.000Z | deps/stb/sources/stb_image_resize.cpp | thofyb/RobotFootballSim | 646f88b52e1c29aa7480dc9e473fec1e8ce41ecf | [
"MIT"
] | 2 | 2021-04-06T19:03:17.000Z | 2021-04-07T16:32:28.000Z | deps/stb/sources/stb_image_resize.cpp | thofyb/RobotFootballSim | 646f88b52e1c29aa7480dc9e473fec1e8ce41ecf | [
"MIT"
] | 1 | 2021-04-19T12:06:52.000Z | 2021-04-19T12:06:52.000Z | #define STB_IMAGE_RESIZE_IMPLEMENTATION
#include <stb/stb_image_resize.hpp> | 37.5 | 39 | 0.88 | thofyb |
feaf9f8023f1dc8af0a8f02f0ec9ae808cbbec60 | 376 | cpp | C++ | apps/app1/src/Module.cpp | julian-becker/modules | 601192b8fa0be886a53686ba0d0b56bdf0304cf1 | [
"MIT"
] | null | null | null | apps/app1/src/Module.cpp | julian-becker/modules | 601192b8fa0be886a53686ba0d0b56bdf0304cf1 | [
"MIT"
] | null | null | null | apps/app1/src/Module.cpp | julian-becker/modules | 601192b8fa0be886a53686ba0d0b56bdf0304cf1 | [
"MIT"
] | null | null | null | #include <Module.h>
#include <dlfcn.h>
#include <modules/ModuleDefinition.h>
Module::Module(std::shared_ptr<void> handle)
: handle(std::move(handle))
{}
Module::~Module() {}
ModuleInterfaceFn
Module::getInterface() {
auto identity = (const ModuleIdentity*)dlsym(handle.get(),"identity");
if (identity == nullptr) ... | 17.904762 | 71 | 0.702128 | julian-becker |
feb3f98a2d2f32ef46f197bfa6de3c8c9b258096 | 4,044 | cpp | C++ | Source/AliveLibAE/BulletShell.cpp | mouzedrift/alive_reversing | be7dfbaed3be99b452459e974bc4e79f9503c178 | [
"MIT"
] | 2 | 2021-04-09T18:33:56.000Z | 2021-07-01T11:48:48.000Z | Source/AliveLibAE/BulletShell.cpp | mouzedrift/alive_reversing | be7dfbaed3be99b452459e974bc4e79f9503c178 | [
"MIT"
] | null | null | null | Source/AliveLibAE/BulletShell.cpp | mouzedrift/alive_reversing | be7dfbaed3be99b452459e974bc4e79f9503c178 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "BulletShell.hpp"
#include "Function.hpp"
#include "stdlib.hpp"
#include "Collisions.hpp"
#include "Sfx.hpp"
ALIVE_VAR(1, 0xBAF7E0, s16, sShellCount_BAF7E0, 0);
BulletShell* BulletShell::ctor_4AD340(FP xpos, FP ypos, s16 direction, FP scale)
{
BaseAnimatedWithPhysicsGameObject_ctor_42... | 26.605263 | 131 | 0.617211 | mouzedrift |
feb49a8a50f64122821534d5ea2b28d04d5dbd99 | 222 | cpp | C++ | Chapter 02(2)/Chapter 02/pr2-25.cpp | chong0810/C_plusplus_training | 98ee4bb985e87c748eda26346a73fe3a93aadfb8 | [
"MIT"
] | null | null | null | Chapter 02(2)/Chapter 02/pr2-25.cpp | chong0810/C_plusplus_training | 98ee4bb985e87c748eda26346a73fe3a93aadfb8 | [
"MIT"
] | null | null | null | Chapter 02(2)/Chapter 02/pr2-25.cpp | chong0810/C_plusplus_training | 98ee4bb985e87c748eda26346a73fe3a93aadfb8 | [
"MIT"
] | null | null | null | // This program prints a simple smiley face.
#include <iostream>
using namespace std;
int main()
{
cout << "\n\n";
cout << " ^ ^ \n";
cout << " * \n";
cout << " \\___/ \n";
return 0;
}
| 17.076923 | 44 | 0.468468 | chong0810 |
feb5e1742a646fd465351b4683fb9da1ec77c559 | 4,850 | cpp | C++ | src/contour/display/ShaderConfig.cpp | christianparpart/libterminal | 0e6d75a2042437084c9f9880a5c8b5661a02da07 | [
"Apache-2.0"
] | 4 | 2019-08-14T22:29:57.000Z | 2019-09-19T08:57:15.000Z | src/contour/display/ShaderConfig.cpp | christianparpart/libterminal | 0e6d75a2042437084c9f9880a5c8b5661a02da07 | [
"Apache-2.0"
] | 69 | 2019-08-17T18:57:16.000Z | 2019-09-22T23:25:49.000Z | src/contour/display/ShaderConfig.cpp | christianparpart/libterminal | 0e6d75a2042437084c9f9880a5c8b5661a02da07 | [
"Apache-2.0"
] | null | null | null | /**
* This file is part of the "libterminal" project
* Copyright (c) 2019-2021 Christian Parpart <christian@parpart.family>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to i... | 32.550336 | 109 | 0.673608 | christianparpart |
feba1b764c0f52e0e7b488f69cd8ee079a874e59 | 3,051 | cc | C++ | lib/libc/tests/stdlib/cxa_thread_atexit_nothr_test.cc | cwolsen7905/UbixOS | 2f6063103347a8e8c369aacdd1399911bb4a4776 | [
"BSD-3-Clause"
] | null | null | null | lib/libc/tests/stdlib/cxa_thread_atexit_nothr_test.cc | cwolsen7905/UbixOS | 2f6063103347a8e8c369aacdd1399911bb4a4776 | [
"BSD-3-Clause"
] | null | null | null | lib/libc/tests/stdlib/cxa_thread_atexit_nothr_test.cc | cwolsen7905/UbixOS | 2f6063103347a8e8c369aacdd1399911bb4a4776 | [
"BSD-3-Clause"
] | null | null | null | /*-
* Copyright (c) 2016 Mahdi Mokhtari <mokhi64@gmail.com>
* Copyright (c) 2016 The FreeBSD Foundation
* 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 cod... | 29.621359 | 122 | 0.747624 | cwolsen7905 |
febc1e128808a0d50db8dc7fac5186b4d5175024 | 2,606 | cpp | C++ | examples/DiscreteBayesNetExample.cpp | cdb0y511/gtsam | e5b928c61032cb3aaa9b88a44fbe2ed4ba08b7ca | [
"BSD-3-Clause"
] | 1 | 2021-12-01T04:57:43.000Z | 2021-12-01T04:57:43.000Z | examples/DiscreteBayesNetExample.cpp | cdb0y511/gtsam | e5b928c61032cb3aaa9b88a44fbe2ed4ba08b7ca | [
"BSD-3-Clause"
] | 22 | 2022-02-08T18:34:07.000Z | 2022-03-28T16:14:32.000Z | examples/DiscreteBayesNetExample.cpp | cdb0y511/gtsam | e5b928c61032cb3aaa9b88a44fbe2ed4ba08b7ca | [
"BSD-3-Clause"
] | 1 | 2022-02-14T10:10:40.000Z | 2022-02-14T10:10:40.000Z | /* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... | 31.02381 | 80 | 0.622794 | cdb0y511 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.