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 108 | 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 67k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f845f3416589d1d48c63c61cae435a1759886430 | 1,983 | cpp | C++ | test/xsimd_hyperbolic_test.cpp | ukoethe/xsimd | c15e4da30d6777863d994750d4c3a61b32f2de95 | [
"BSD-3-Clause"
] | null | null | null | test/xsimd_hyperbolic_test.cpp | ukoethe/xsimd | c15e4da30d6777863d994750d4c3a61b32f2de95 | [
"BSD-3-Clause"
] | null | null | null | test/xsimd_hyperbolic_test.cpp | ukoethe/xsimd | c15e4da30d6777863d994750d4c3a61b32f2de95 | [
"BSD-3-Clause"
] | 1 | 2020-08-19T01:15:47.000Z | 2020-08-19T01:15:47.000Z | /***************************************************************************
* Copyright (c) 2016, Johan Mabille and Sylvain Corlay *
* *
* Distributed under the terms of the BSD 3-Clause License. *
* ... | 33.610169 | 77 | 0.595058 | ukoethe |
f848bacda619b0fafbb669632a9720d64f2df744 | 1,677 | cpp | C++ | modelConvert/source/main.cpp | sormo/simpleSDL | 79a830a013f911c4670c86ccf68bd068a887670d | [
"MIT"
] | null | null | null | modelConvert/source/main.cpp | sormo/simpleSDL | 79a830a013f911c4670c86ccf68bd068a887670d | [
"MIT"
] | null | null | null | modelConvert/source/main.cpp | sormo/simpleSDL | 79a830a013f911c4670c86ccf68bd068a887670d | [
"MIT"
] | null | null | null | #include "ModelLoader.h"
#include "ModelChecker.h"
#include <iostream>
#include <filesystem>
#include <fstream>
#include <string>
bool SaveModel(const ModelData::ModelT * model, const std::string & path)
{
flatbuffers::FlatBufferBuilder builder(1024);
auto offset = ModelData::CreateModel(builder, model);
... | 26.619048 | 77 | 0.539058 | sormo |
f849d5baf154313e3e0f62b8751f8f8cb711d0b5 | 6,841 | cpp | C++ | caffe/src/caffe/test/test_clustering_loss_layer.cpp | blitzingeagle/DeepEmbeddedClustering | cbc648fc9271f74c3bb257f57f0f78e1a1a66459 | [
"MIT"
] | 408 | 2015-11-19T21:50:16.000Z | 2022-03-22T08:17:26.000Z | caffe/src/caffe/test/test_clustering_loss_layer.cpp | blitzingeagle/DeepEmbeddedClustering | cbc648fc9271f74c3bb257f57f0f78e1a1a66459 | [
"MIT"
] | 29 | 2016-05-18T10:24:00.000Z | 2021-09-26T21:43:46.000Z | caffe/src/caffe/test/test_clustering_loss_layer.cpp | blitzingeagle/DeepEmbeddedClustering | cbc648fc9271f74c3bb257f57f0f78e1a1a66459 | [
"MIT"
] | 152 | 2015-11-24T17:30:36.000Z | 2021-11-11T07:17:03.000Z | #include <cmath>
#include <cstdlib>
#include <cstring>
#include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/vision_layers.hpp"
#include "caffe/test/test_caffe_main.hpp"
#include "caffe/test/test_gradient_check_util.hpp"
namespac... | 33.866337 | 101 | 0.679871 | blitzingeagle |
f84e69482e238d973f71a8aab1ed2faf5127deb6 | 9,654 | cpp | C++ | src/util/time.cpp | bridger-herman/OpenSpace | e3afd82c4700536a2221fc76f64fdc873c93e964 | [
"MIT"
] | 1 | 2019-10-27T12:42:40.000Z | 2019-10-27T12:42:40.000Z | src/util/time.cpp | bridger-herman/OpenSpace | e3afd82c4700536a2221fc76f64fdc873c93e964 | [
"MIT"
] | null | null | null | src/util/time.cpp | bridger-herman/OpenSpace | e3afd82c4700536a2221fc76f64fdc873c93e964 | [
"MIT"
] | 1 | 2020-04-29T01:34:22.000Z | 2020-04-29T01:34:22.000Z | /*****************************************************************************************
* *
* OpenSpace *
* ... | 36.847328 | 90 | 0.480526 | bridger-herman |
f850ebcad2e04127a5937d7d506d9584d0348aed | 15,526 | hpp | C++ | core/src/cogs/collections/avltree.hpp | cogmine/cogs | ef1c369a36a4f811704e0ced0493c3a6f8eca821 | [
"MIT"
] | 5 | 2019-02-08T15:59:14.000Z | 2022-01-22T19:12:33.000Z | core/src/cogs/collections/avltree.hpp | cogmine/cogs | ef1c369a36a4f811704e0ced0493c3a6f8eca821 | [
"MIT"
] | 1 | 2019-12-03T03:11:34.000Z | 2019-12-03T03:11:34.000Z | core/src/cogs/collections/avltree.hpp | cogmine/cogs | ef1c369a36a4f811704e0ced0493c3a6f8eca821 | [
"MIT"
] | null | null | null | //
// Copyright (C) 2000-2020 - Colen M. Garoutte-Carson <colen at cogmine.com>, Cog Mine LLC
//
// Status: Good
#ifndef COGS_HEADER_COLLECTION_AVLTREE
#define COGS_HEADER_COLLECTION_AVLTREE
#include "cogs/collections/btree.hpp"
#include "cogs/operators.hpp"
#include "cogs/mem/ptr.hpp"
namespace cogs {
/// @de... | 30.99002 | 143 | 0.682983 | cogmine |
f852a012513af28ca39177087d200ae341b4577a | 4,204 | cpp | C++ | library/src/cpp/audio/audioengine.cpp | tommyettinger/libgdx-oboe | f74a166b8ac1e256e236035c485f15bbd048448e | [
"MIT"
] | 36 | 2020-01-13T07:11:56.000Z | 2022-01-04T16:55:18.000Z | library/src/cpp/audio/audioengine.cpp | tommyettinger/libgdx-oboe | f74a166b8ac1e256e236035c485f15bbd048448e | [
"MIT"
] | 10 | 2020-04-01T05:57:31.000Z | 2021-09-29T17:32:02.000Z | library/src/cpp/audio/audioengine.cpp | tommyettinger/libgdx-oboe | f74a166b8ac1e256e236035c485f15bbd048448e | [
"MIT"
] | 8 | 2020-03-22T05:51:24.000Z | 2021-12-30T01:26:01.000Z | #include "audioengine.hpp"
#include "../utility/ptrptr.hpp"
#include "../utility/log.hpp"
#include "../utility/exception.hpp"
#include <array>
#include <algorithm>
#include <iterator>
#include <limits>
#include <cassert>
namespace {
/// @note: message should contain {}
inline bool check(oboe::Result result, std::strin... | 33.102362 | 98 | 0.659372 | tommyettinger |
f8546e483ebebfcf996a663652145bea2317fb6d | 14,533 | cpp | C++ | Python/esys/lsm/InteractionFieldSaverPrmsPy.cpp | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | Python/esys/lsm/InteractionFieldSaverPrmsPy.cpp | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | Python/esys/lsm/InteractionFieldSaverPrmsPy.cpp | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | /////////////////////////////////////////////////////////////
// //
// Copyright (c) 2003-2017 by The University of Queensland //
// Centre for Geoscience Computing //
// http://earth.uq.edu.au/centre-geoscience-computing //
// ... | 32.658427 | 91 | 0.564096 | danielfrascarelli |
f855776911f2d7b2b129b13e2bb71c99377ad8f0 | 2,251 | cpp | C++ | AI/Src/MessageDispatcher.cpp | ArvydasSlekaitis/ReginaGameEngine | 4b6af9b5fbf9aad4025b0387260c31019fd8f8c8 | [
"MIT"
] | 1 | 2020-09-02T06:00:14.000Z | 2020-09-02T06:00:14.000Z | AI/Src/MessageDispatcher.cpp | ArvydasSlekaitis/ReginaGameEngine | 4b6af9b5fbf9aad4025b0387260c31019fd8f8c8 | [
"MIT"
] | null | null | null | AI/Src/MessageDispatcher.cpp | ArvydasSlekaitis/ReginaGameEngine | 4b6af9b5fbf9aad4025b0387260c31019fd8f8c8 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////
// MessageDispatcher.cpp
// Created on: 20-07-2008
// Last modified: 22-06-2009
// Original author: Arvydas Slekaitis (C)
///////////////////////////////////////////////////////////
#include <MessageDispatcher.h>
using namespace Regina;
//*******... | 22.287129 | 80 | 0.564638 | ArvydasSlekaitis |
f859ac6a81e42cc97042b1bb9b81a3d8ba7bde8a | 18,473 | cpp | C++ | plugins/core/qAnimation/src/qAnimationDlg.cpp | ohanlonl/qCMAT | f6ca04fa7c171629f094ee886364c46ff8b27c0b | [
"BSD-Source-Code"
] | null | null | null | plugins/core/qAnimation/src/qAnimationDlg.cpp | ohanlonl/qCMAT | f6ca04fa7c171629f094ee886364c46ff8b27c0b | [
"BSD-Source-Code"
] | null | null | null | plugins/core/qAnimation/src/qAnimationDlg.cpp | ohanlonl/qCMAT | f6ca04fa7c171629f094ee886364c46ff8b27c0b | [
"BSD-Source-Code"
] | 1 | 2019-02-03T12:19:42.000Z | 2019-02-03T12:19:42.000Z | //##########################################################################
//# #
//# CLOUDCOMPARE PLUGIN: qAnimation #
//# #
//# This pr... | 26.091808 | 176 | 0.678504 | ohanlonl |
f859cf8a8a0acff03cbfeacd1304e392edce10a4 | 1,255 | cc | C++ | utils/libcpp_utils/src/io/path.cc | obs145628/cle | 4a4a18b2ab5a6fbf26629f6845147541edabd7c9 | [
"MIT"
] | null | null | null | utils/libcpp_utils/src/io/path.cc | obs145628/cle | 4a4a18b2ab5a6fbf26629f6845147541edabd7c9 | [
"MIT"
] | null | null | null | utils/libcpp_utils/src/io/path.cc | obs145628/cle | 4a4a18b2ab5a6fbf26629f6845147541edabd7c9 | [
"MIT"
] | null | null | null | #include <utils/io/path.hh>
#include <cstdlib>
#include <limits.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <utils/cli/err.hh>
#include <utils/str/format-string.hh>
namespace utils {
namespace path {
std::string join(const std::string &p1, const std::string &p2) {
if (p2.size() > ... | 21.637931 | 72 | 0.627888 | obs145628 |
f85be4e3d41d9737b0d1bcbb90047c3c57eebb21 | 1,609 | cc | C++ | mojo/public/cpp/system/isolated_connection.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | mojo/public/cpp/system/isolated_connection.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 802 | 2017-04-21T14:18:36.000Z | 2022-03-31T21:20:48.000Z | mojo/public/cpp/system/isolated_connection.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mojo/public/cpp/system/isolated_connection.h"
#include "mojo/public/cpp/platform/platform_channel.h"
#include "mojo/public/cpp/system/invitatio... | 38.309524 | 79 | 0.713487 | zealoussnow |
f85c7496c6de6833a5a0ebdc236bbacc783264f7 | 12,451 | cpp | C++ | gen/blink/bindings/modules/v8/V8Database.cpp | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | 8 | 2019-05-05T16:38:05.000Z | 2021-11-09T11:45:38.000Z | gen/blink/bindings/modules/v8/V8Database.cpp | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | null | null | null | gen/blink/bindings/modules/v8/V8Database.cpp | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | 4 | 2018-12-14T07:52:46.000Z | 2021-06-11T18:06:09.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8Database.h"
#include "bindings/core/v8/Exce... | 47.342205 | 468 | 0.709823 | gergul |
f8619af46e7182c45593d4b6bd1b18b6ad9e0fdf | 1,076 | cpp | C++ | seletiva-grupro/C.cpp | gustavo-mendel/my-college-projects | ccc1285e1a6863312e275f973e728de231a9458a | [
"MIT"
] | 3 | 2021-08-18T01:59:50.000Z | 2021-08-28T00:19:07.000Z | seletiva-grupro/C.cpp | gustavo-mendel/my-college-projects | ccc1285e1a6863312e275f973e728de231a9458a | [
"MIT"
] | 4 | 2021-03-09T18:39:47.000Z | 2021-03-26T00:01:56.000Z | seletiva-grupro/C.cpp | gustavo-mendel/my-college-projects | ccc1285e1a6863312e275f973e728de231a9458a | [
"MIT"
] | 1 | 2022-03-20T14:54:09.000Z | 2022-03-20T14:54:09.000Z | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
// By: mende1
#define endl "\n"
#define int ll
#define cini(n) \
int n; \
cin >> n;
#define fori(x, n) for (int i = x; i <= n; i++)
#define forj(x, n) for (int j = x; j <= n; j++)
#define fork(x, n) for (int k = x; k... | 15.823529 | 48 | 0.462825 | gustavo-mendel |
f86338ac040f8d2195a6caae14f599f60cb40375 | 3,486 | hpp | C++ | src/Typing.hpp | aukdata/TorikaiType | 8d4079c38510ee33bc2323231065b0d72f2ea3cc | [
"MIT"
] | null | null | null | src/Typing.hpp | aukdata/TorikaiType | 8d4079c38510ee33bc2323231065b0d72f2ea3cc | [
"MIT"
] | null | null | null | src/Typing.hpp | aukdata/TorikaiType | 8d4079c38510ee33bc2323231065b0d72f2ea3cc | [
"MIT"
] | null | null | null | //
// Typing.hpp
// TorikaiType
//
# ifndef Typing_hpp
# define Typing_hpp
# include <Siv3D.hpp>
# include <functional>
class Typing
{
static const Array<std::pair<String, String>> romanize_table;
static const HashTable<char32, char32> hiraganaize_table;
Array<String> m_parsed, m_hiraganized, m_r... | 26.815385 | 147 | 0.454676 | aukdata |
d379d514f9db4919fea39d1107d9432c41b660e2 | 7,292 | cpp | C++ | src/cpu/x64/zendnn_inner_product.cpp | amd/ZenDNN | 2d8e025a05126b7c378d88a990a20e21a4182b20 | [
"Apache-2.0"
] | 28 | 2021-08-12T10:38:06.000Z | 2022-03-25T08:37:31.000Z | src/cpu/x64/zendnn_inner_product.cpp | amd/ZenDNN | 2d8e025a05126b7c378d88a990a20e21a4182b20 | [
"Apache-2.0"
] | 2 | 2021-08-17T03:20:10.000Z | 2021-09-23T04:15:32.000Z | src/cpu/x64/zendnn_inner_product.cpp | amd/ZenDNN | 2d8e025a05126b7c378d88a990a20e21a4182b20 | [
"Apache-2.0"
] | 5 | 2021-08-20T05:05:59.000Z | 2022-02-25T19:13:07.000Z | /*******************************************************************************
* Modifications Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
* Notified per clause 4(b) of the license.
*******************************************************************************/
/****************************... | 37.782383 | 112 | 0.613961 | amd |
d37c8fc507a2f7e06c434ddc362d9e0c31db6323 | 3,366 | hpp | C++ | hydra/hydra.hpp | tim42/hydra | dfffd50a2863695742c0c6122a505824db8be7c3 | [
"MIT"
] | 2 | 2016-09-15T22:29:46.000Z | 2017-11-30T11:16:12.000Z | hydra/hydra.hpp | tim42/hydra | dfffd50a2863695742c0c6122a505824db8be7c3 | [
"MIT"
] | null | null | null | hydra/hydra.hpp | tim42/hydra | dfffd50a2863695742c0c6122a505824db8be7c3 | [
"MIT"
] | null | null | null | //
// file : hydra.hpp
// in : file:///home/tim/projects/hydra/hydra/hydra.hpp
//
// created by : Timothée Feuillet
// date: Sat Apr 23 2016 15:19:07 GMT+0200 (CEST)
//
//
// Copyright (c) 2016 Timothée Feuillet
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and a... | 39.139535 | 116 | 0.773321 | tim42 |
d37e367e65d79c1d15cfc978ad9e665229347063 | 1,796 | cpp | C++ | ZEngine/src/Engine.cpp | lamarrr/RendererEngine | 0c3e2bd77859efc9c278ea8735dc3340803a75b2 | [
"MIT"
] | null | null | null | ZEngine/src/Engine.cpp | lamarrr/RendererEngine | 0c3e2bd77859efc9c278ea8735dc3340803a75b2 | [
"MIT"
] | null | null | null | ZEngine/src/Engine.cpp | lamarrr/RendererEngine | 0c3e2bd77859efc9c278ea8735dc3340803a75b2 | [
"MIT"
] | null | null | null | #include <pch.h>
#include <Engine.h>
#include <Layers/ImguiLayer.h>
#include <Logging/LoggerDefinition.h>
namespace ZEngine {
Core::TimeStep Engine::m_delta_time = {0.0f};
Engine::Engine() : m_request_terminate(false), m_last_frame_time(0.0f) {
Logging::Logger::Initialize();
ZENGINE_CORE_INFO... | 24.60274 | 113 | 0.566815 | lamarrr |
d37fe7ba141af0de221e7f50b37bef2e12f003fd | 1,268 | cpp | C++ | samples/v8test/v8test.cpp | Patriccollu/smooth | 8673d4702c55b1008bbcabddf7907da0e50505e4 | [
"Artistic-2.0"
] | 24 | 2017-08-22T15:55:34.000Z | 2022-03-06T11:41:31.000Z | samples/v8test/v8test.cpp | Patriccollu/smooth | 8673d4702c55b1008bbcabddf7907da0e50505e4 | [
"Artistic-2.0"
] | 6 | 2018-07-21T12:17:55.000Z | 2021-08-12T11:27:27.000Z | samples/v8test/v8test.cpp | Patriccollu/smooth | 8673d4702c55b1008bbcabddf7907da0e50505e4 | [
"Artistic-2.0"
] | 9 | 2017-09-13T02:32:18.000Z | 2022-03-06T11:41:32.000Z | #include <smooth.h>
#include <smooth/main.h>
using namespace smooth;
using namespace smooth::GUI::Dialogs;
#include <smooth-js/v8.h>
using namespace v8;
Int smooth::Main()
{
// Create a new isolate.
Isolate *isolate = v8::Isolate::New();
// Enter the created isolate.
{
Isolate::Scope isolateScope(isolate... | 24.862745 | 128 | 0.683754 | Patriccollu |
d3818e72dc11164afab7eb168a02d084246f7182 | 7,452 | cpp | C++ | CrossApp/view/CAWindow.cpp | AojiaoZero/CrossApp | 1f5375e061bf69841eb19728598f5ae3f508d620 | [
"MIT"
] | 794 | 2015-01-01T04:59:48.000Z | 2022-03-09T03:31:13.000Z | CrossApp/view/CAWindow.cpp | AojiaoZero/CrossApp | 1f5375e061bf69841eb19728598f5ae3f508d620 | [
"MIT"
] | 83 | 2015-01-04T06:00:35.000Z | 2021-05-20T08:48:38.000Z | CrossApp/view/CAWindow.cpp | AojiaoZero/CrossApp | 1f5375e061bf69841eb19728598f5ae3f508d620 | [
"MIT"
] | 598 | 2015-01-02T02:38:13.000Z | 2022-03-09T03:31:37.000Z |
#include "CAWindow.h"
#include "basics/CAPointExtension.h"
#include "basics/CAApplication.h"
#include "animation/CAViewAnimation.h"
#include "dispatcher/CATouchDispatcher.h"
#include "basics/CACamera.h"
#include "script_support/CAScriptSupport.h"
NS_CC_BEGIN
CAWindow::CAWindow()
:m_pRootViewController(nullptr)
,m_pM... | 28.772201 | 130 | 0.673913 | AojiaoZero |
d38223417136f27d5ab11015755a5fb407ea3359 | 876 | hpp | C++ | sources/Common/UseUnused.hpp | palchukovsky/TunnelEx | ec645271ab8b79225e378345ff108795110c57de | [
"Apache-2.0"
] | null | null | null | sources/Common/UseUnused.hpp | palchukovsky/TunnelEx | ec645271ab8b79225e378345ff108795110c57de | [
"Apache-2.0"
] | null | null | null | sources/Common/UseUnused.hpp | palchukovsky/TunnelEx | ec645271ab8b79225e378345ff108795110c57de | [
"Apache-2.0"
] | null | null | null |
/**************************************************************************
* Created: 2011/05/02 17:48
* Author: Eugene V. Palchukovsky
* E-mail: eugene@palchukovsky.com
* -------------------------------------------------------------------
* Project: TunnelEx
* URL: http://tunnelex.net
********... | 29.2 | 76 | 0.531963 | palchukovsky |
d38275c6387cb1d5484bba50aa63d84525071056 | 5,412 | cpp | C++ | src/main.cpp | wx257osn2/symboli_carotene | 710af9e913eae012cf02d2008b21127fb422b2b5 | [
"MIT"
] | null | null | null | src/main.cpp | wx257osn2/symboli_carotene | 710af9e913eae012cf02d2008b21127fb422b2b5 | [
"MIT"
] | null | null | null | src/main.cpp | wx257osn2/symboli_carotene | 710af9e913eae012cf02d2008b21127fb422b2b5 | [
"MIT"
] | null | null | null | #include<symboli/prelude.hpp>
#include<optional>
#include<cstddef>
#include<memory>
#include<iostream>
#include<mutex>
#include<condition_variable>
#include<thread>
#include"symboli/carotene/core_version.hpp"
static std::optional<symboli::prelude> prelude;
extern "C"{
__declspec(dllexport) unsigned int major_version... | 29.736264 | 136 | 0.72561 | wx257osn2 |
d384787e3e9cc8b1f58c96a00e36e9680cb3d2df | 150 | cpp | C++ | FastWindows.UI.Composition/CompositionShadow.cpp | kennykerr/Minesweeper | 6f28abab141d80725beb746073d994833075b862 | [
"MIT"
] | 2 | 2019-06-13T16:29:07.000Z | 2019-12-17T18:06:59.000Z | FastWindows.UI.Composition/CompositionShadow.cpp | kennykerr/Minesweeper | 6f28abab141d80725beb746073d994833075b862 | [
"MIT"
] | null | null | null | FastWindows.UI.Composition/CompositionShadow.cpp | kennykerr/Minesweeper | 6f28abab141d80725beb746073d994833075b862 | [
"MIT"
] | 2 | 2019-09-21T13:15:58.000Z | 2020-08-30T06:48:59.000Z | #include "pch.h"
#include "CompositionShadow.h"
#include "CompositionShadow.g.cpp"
namespace winrt::FastWindows::UI::Composition::implementation
{
}
| 18.75 | 61 | 0.773333 | kennykerr |
d386289cb8021520069839ae270b86c1c8022387 | 14,864 | cxx | C++ | main/svx/source/sidebar/text/TextCharacterSpacingControl.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svx/source/sidebar/text/TextCharacterSpacingControl.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svx/source/sidebar/text/TextCharacterSpacingControl.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 31.35865 | 103 | 0.702301 | Grosskopf |
d3882f99f5ea555e5243b55d21491000e1af6b57 | 907 | hpp | C++ | android-31/android/widget/RemoteViews_RemoteResponse.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-30/android/widget/RemoteViews_RemoteResponse.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/widget/RemoteViews_RemoteResponse.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../JObject.hpp"
namespace android::app
{
class PendingIntent;
}
namespace android::content
{
class Intent;
}
class JString;
namespace android::widget
{
class RemoteViews_RemoteResponse : public JObject
{
public:
// Fields
// QJniObject forward
template<typename ...Ts> explicit... | 25.194444 | 167 | 0.755237 | YJBeetle |
d389d852a82d441ad303edaa0ff6fd33cf7150fc | 1,236 | cpp | C++ | cpp/sowcpp/src/ch14/prog14-8.cpp | newnix/Forge | 6d18105460fabc20592ed3c29813173cdb57d512 | [
"BSD-3-Clause-Clear"
] | null | null | null | cpp/sowcpp/src/ch14/prog14-8.cpp | newnix/Forge | 6d18105460fabc20592ed3c29813173cdb57d512 | [
"BSD-3-Clause-Clear"
] | null | null | null | cpp/sowcpp/src/ch14/prog14-8.cpp | newnix/Forge | 6d18105460fabc20592ed3c29813173cdb57d512 | [
"BSD-3-Clause-Clear"
] | null | null | null | // Practice program 14-8
// Found on page 830
// This program demonstrates the overloaded '-' and '+' operators
#include <iostream>
#include "feetInches.h"
using namespace std;
int main()
{
int feet, inch; // Hold the input for feet and inch
// Create three feetInches objects.
// Default args for const... | 23.320755 | 65 | 0.607605 | newnix |
d38c08a43bd10e184ae306b6061d067837ea318c | 1,766 | cpp | C++ | async/examples/sockio/server/main.cpp | Rahul18728/cerl | 8d90c03b2ffe397021bcb8c7198c713acf840bb4 | [
"MIT"
] | 443 | 2015-03-14T06:04:45.000Z | 2022-01-10T01:30:56.000Z | async/examples/sockio/server/main.cpp | Rahul18728/cerl | 8d90c03b2ffe397021bcb8c7198c713acf840bb4 | [
"MIT"
] | null | null | null | async/examples/sockio/server/main.cpp | Rahul18728/cerl | 8d90c03b2ffe397021bcb8c7198c713acf840bb4 | [
"MIT"
] | 125 | 2015-03-14T13:08:04.000Z | 2021-12-08T13:03:29.000Z | //test socket io through epoll
//
//#define CERL_VERBOSE
//#include <async/Io.h>
//#include <netinet/in.h>
//#include <arpa/inet.h>
//#include <async/Socket.h>
#include <async/Application.h>
#include <sys/times.h>
void cerl_callback run(LPVOID param)
{
cerl::FiberParam p(param);
int socket1 = cerl::listenSocket(5... | 17.485149 | 99 | 0.593431 | Rahul18728 |
d393486ac84f477891c2be47dbe0212e403407dc | 2,748 | cpp | C++ | str/apps/test/LifterTest.cpp | Tamiyas/etrobocon2018 | c2c6921dae4ddd1ea98742bcf992777084e4e5dd | [
"MIT"
] | 1 | 2018-07-29T13:31:03.000Z | 2018-07-29T13:31:03.000Z | str/apps/test/LifterTest.cpp | Tamiyas/etrobocon2018 | c2c6921dae4ddd1ea98742bcf992777084e4e5dd | [
"MIT"
] | 60 | 2018-07-28T16:29:32.000Z | 2019-01-08T06:04:05.000Z | str/apps/test/LifterTest.cpp | Tamiyas/etrobocon2018 | c2c6921dae4ddd1ea98742bcf992777084e4e5dd | [
"MIT"
] | 2 | 2018-08-07T08:02:07.000Z | 2018-08-23T07:08:54.000Z | /**
* LifterTest.cpp
*/
/* コンパイル(平木場)
$ g++-7 LifterTest.cpp ../src/Lifter.cpp gtest_main.o gtest-all.o -I../include
-I../../googletest/googletest/include
*/
#include "Lifter.h" // このヘッダファイルのcppファイルをテスト
#include <gtest/gtest.h>
#include <iostream>
namespace etrobocon2018_test {
class LifterTest : public ::test... | 24.105263 | 87 | 0.6754 | Tamiyas |
d394cb153c37f5319d6618c9646ad971c0b739f1 | 12,604 | cpp | C++ | src/server/Xml/XslDoc.cpp | anewholm/generalserver | 99321562921c317f1ef14a2b84abfe91f0f871b6 | [
"X11"
] | null | null | null | src/server/Xml/XslDoc.cpp | anewholm/generalserver | 99321562921c317f1ef14a2b84abfe91f0f871b6 | [
"X11"
] | null | null | null | src/server/Xml/XslDoc.cpp | anewholm/generalserver | 99321562921c317f1ef14a2b84abfe91f0f871b6 | [
"X11"
] | null | null | null | //platform agnostic file
#include "Xml/XslDoc.h"
#include "IXml/IXmlBaseNode.h"
#include "IXml/IXmlLibrary.h"
#include "IXml/IXslNode.h"
#include "Xml/XmlAdminQueryEnvironment.h"
#include "Debug.h"
#include "Xml/XmlNodeList.h"
#include "Utilities/container.c"
using namespace std;
namespace general_server {
//----... | 38.901235 | 220 | 0.625754 | anewholm |
d3972eff3c04e9c7672abe7aca6751b1f400fb15 | 6,838 | cpp | C++ | source/GameApplicationLayer/Modules/ResourceCache/ResourceCache.cpp | Pedrexus/project-vendetta | ed0eb6df1d306f465eef52e1794ea1e0bc277fbe | [
"MIT"
] | null | null | null | source/GameApplicationLayer/Modules/ResourceCache/ResourceCache.cpp | Pedrexus/project-vendetta | ed0eb6df1d306f465eef52e1794ea1e0bc277fbe | [
"MIT"
] | null | null | null | source/GameApplicationLayer/Modules/ResourceCache/ResourceCache.cpp | Pedrexus/project-vendetta | ed0eb6df1d306f465eef52e1794ea1e0bc277fbe | [
"MIT"
] | null | null | null | #include "ResourceCache.h"
#include "ResourceLoaders/DefaultResourceLoader.h"
#include <macros.h>
#include <Helpers/Functions.h>
ResourceCache::ResourceCache(const unsigned int size, IResourceFile* file) :
m_cacheSize(size),
m_allocated(0),
m_file(file)
{}
ResourceCache::~ResourceCache()
{
while (!m_lru.empty())... | 23.992982 | 151 | 0.706493 | Pedrexus |
d39753420daa127b7f465efa38881a75a004d213 | 25,873 | cpp | C++ | src/test/test_convlayer.cpp | lsh123/yann | 4a12b7c1ee2d89d34772d647586b3018df6997db | [
"MIT"
] | 2 | 2019-08-22T18:14:44.000Z | 2020-01-01T10:25:07.000Z | src/test/test_convlayer.cpp | lsh123/yann | 4a12b7c1ee2d89d34772d647586b3018df6997db | [
"MIT"
] | null | null | null | src/test/test_convlayer.cpp | lsh123/yann | 4a12b7c1ee2d89d34772d647586b3018df6997db | [
"MIT"
] | null | null | null | //
// Add --log_level=message to see the messages!
//
#include <boost/test/unit_test.hpp>
#include <sstream>
#include "core/functions.h"
#include "core/utils.h"
#include "core/random.h"
#include "core/training.h"
#include "layers/convlayer.h"
#include "test_utils.h"
#include "timer.h"
#include "test_layers.h"
using... | 26.53641 | 138 | 0.576392 | lsh123 |
d39781614f209bd37dac8fbe3673ed1fe9741deb | 208 | cpp | C++ | 4_loops/Code_Examples/output_tracing3.cpp | AhsanAyub/tntech_csc_1300_fall_2021 | a96794e9800adccb71abaf83ecf5409ad4c25b3e | [
"MIT"
] | 2 | 2022-02-02T05:25:46.000Z | 2022-02-17T17:42:08.000Z | 4_loops/Code_Examples/output_tracing3.cpp | AhsanAyub/tntech_csc_1300_fall_2021 | a96794e9800adccb71abaf83ecf5409ad4c25b3e | [
"MIT"
] | null | null | null | 4_loops/Code_Examples/output_tracing3.cpp | AhsanAyub/tntech_csc_1300_fall_2021 | a96794e9800adccb71abaf83ecf5409ad4c25b3e | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
for(int i = 0; i <= 10; i++)
{
if(i % 2 == 0)
{
continue;
}
cout << i << endl;
}
return 0;
} | 13 | 32 | 0.384615 | AhsanAyub |
d39a7d147f697051ffcfba0a5a50f415399fbe1c | 230 | cpp | C++ | Week-1/Day-05-firstUniqChar.cpp | utkarshavardhana/may-leetcoding-challenge | 4f7600c943460029c595a3b2d85f86e68d7b7066 | [
"MIT"
] | 1 | 2020-05-02T04:21:54.000Z | 2020-05-02T04:21:54.000Z | Week-1/Day-05-firstUniqChar.cpp | utkarshavardhana/may-leetcoding-challenge | 4f7600c943460029c595a3b2d85f86e68d7b7066 | [
"MIT"
] | null | null | null | Week-1/Day-05-firstUniqChar.cpp | utkarshavardhana/may-leetcoding-challenge | 4f7600c943460029c595a3b2d85f86e68d7b7066 | [
"MIT"
] | null | null | null | class Solution {
public:
int firstUniqChar(string s) {
unordered_map<char, int> m;
for(char c : s) m[c]++;
for(int i=0; i<s.size(); i++) if(m[s[i]] == 1) return i;
return -1;
}
};
| 23 | 66 | 0.473913 | utkarshavardhana |
d39c4c39557e3acd06192a317311199dee19ac85 | 2,464 | cpp | C++ | fbzmq/async/tests/ZmqTimeoutTest.cpp | eensy1207/fbzmq | 9032d469ce9565756a0a160481a002c70e66f35c | [
"MIT"
] | null | null | null | fbzmq/async/tests/ZmqTimeoutTest.cpp | eensy1207/fbzmq | 9032d469ce9565756a0a160481a002c70e66f35c | [
"MIT"
] | null | null | null | fbzmq/async/tests/ZmqTimeoutTest.cpp | eensy1207/fbzmq | 9032d469ce9565756a0a160481a002c70e66f35c | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <gflags/gflags.h>
#include <fbzmq/async/ZmqEventLoop.h>
#include <fbzmq/async/ZmqTimeout.h>
namespac... | 23.92233 | 72 | 0.663555 | eensy1207 |
d3a6e68ce13bd5b3512887ba3dabcdebc45d8483 | 374 | hpp | C++ | src/pspr_analyser.hpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 37 | 2015-10-30T21:56:26.000Z | 2021-11-30T15:33:26.000Z | src/pspr_analyser.hpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 27 | 2015-01-06T05:45:55.000Z | 2020-01-29T21:40:22.000Z | src/pspr_analyser.hpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 8 | 2016-02-07T23:31:03.000Z | 2020-07-12T08:51:41.000Z | #ifndef PSPR_ANALYSER_HPP
#define PSPR_ANALYSER_HPP
/*
pspr_analyser.hpp
2014/10/21
psycommmando@gmail.com
Description:
A little commandline utility that turns a sprite file into something
human readable! And it also gather data about the file and writes a report!
*/
namespace pspr_analyser
{
//int RunPSP... | 22 | 79 | 0.759358 | SkyTemple |
d3ab8adc2a1bb7fb4e3aee0521a5fd7e9a35a42d | 2,295 | cpp | C++ | codeforces/F - Three Paths on a Tree/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/F - Three Paths on a Tree/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/F - Three Paths on a Tree/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: * kzvd4729 created: Jan/22/2020 21:35
* solution_verdict: Accepted language: GNU C++14
* run... | 27.321429 | 111 | 0.471895 | kzvd4729 |
d3ac14eb53a52717830d56b235d1409e02c8d426 | 3,370 | cpp | C++ | executor/operator/ref/ref_reverse.cpp | clovking/Tengine | 655b93acd3ce02fd594b6173e996d0ea09833286 | [
"Apache-2.0"
] | 25 | 2018-12-09T09:31:56.000Z | 2021-08-12T10:32:19.000Z | executor/operator/ref/ref_reverse.cpp | clovking/Tengine | 655b93acd3ce02fd594b6173e996d0ea09833286 | [
"Apache-2.0"
] | 1 | 2022-03-31T03:33:42.000Z | 2022-03-31T03:33:42.000Z | executor/operator/ref/ref_reverse.cpp | clovking/Tengine | 655b93acd3ce02fd594b6173e996d0ea09833286 | [
"Apache-2.0"
] | 6 | 2018-12-16T01:18:42.000Z | 2019-09-18T07:29:56.000Z | #include <iostream>
#include <math.h>
#include "logger.hpp"
#include "node_ops.hpp"
#include "tensor_mem.hpp"
#include "kernel_registry.hpp"
#include "tengine_errno.hpp"
#include "graph.hpp"
#include "operator/reverse.hpp"
#include "kernel/reverse/ref_reverse_kernel.h"
namespace TEngine {
namespace RefReverseOps {
/... | 28.083333 | 113 | 0.708309 | clovking |
d3b5edaaedde73f5c62c091e9b655b319198d0fb | 20,508 | cpp | C++ | src/windInit.cpp | MaddTheSane/executor | 2a8baf83066ead802ae22e567af41d74a4e920ff | [
"MIT"
] | 12 | 2016-02-01T06:26:19.000Z | 2022-01-09T00:14:20.000Z | src/windInit.cpp | MaddTheSane/executor | 2a8baf83066ead802ae22e567af41d74a4e920ff | [
"MIT"
] | 2 | 2017-07-16T02:24:15.000Z | 2018-02-14T04:15:37.000Z | src/windInit.cpp | MaddTheSane/executor | 2a8baf83066ead802ae22e567af41d74a4e920ff | [
"MIT"
] | 4 | 2017-04-07T13:55:46.000Z | 2022-01-09T00:14:17.000Z | /* Copyright 1986-1995 by Abacus Research and
* Development, Inc. All rights reserved.
*/
#if !defined (OMIT_RCSID_STRINGS)
char ROMlib_rcsid_windInit[] =
"$Id: windInit.c 88 2005-05-25 03:59:37Z ctm $";
#endif
/* Forward declarations in WindowMgr.h (DO NOT DELETE THIS LINE) */
#include "rsys/common.h"
#incl... | 28.093151 | 78 | 0.639507 | MaddTheSane |
d3b7679b78b22c90df5d4779b1b558412e0926c3 | 8,894 | cpp | C++ | webkit/Source/WebKit/android/WebCoreSupport/PlatformBridge.cpp | mogoweb/webkit_for_android5.1 | 63728b4ae4c494011e8e43a466637c826f0f6b5f | [
"Apache-2.0"
] | 2 | 2017-05-19T08:53:12.000Z | 2017-08-28T11:59:26.000Z | webkit/Source/WebKit/android/WebCoreSupport/PlatformBridge.cpp | mogoweb/webkit_for_android5.1 | 63728b4ae4c494011e8e43a466637c826f0f6b5f | [
"Apache-2.0"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | webkit/Source/WebKit/android/WebCoreSupport/PlatformBridge.cpp | mogoweb/webkit_for_android5.1 | 63728b4ae4c494011e8e43a466637c826f0f6b5f | [
"Apache-2.0"
] | 2 | 2017-08-09T09:03:23.000Z | 2020-05-26T09:14:49.000Z | /*
* Copyright 2009, The Android Open Source Project
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and ... | 33.689394 | 117 | 0.745446 | mogoweb |
d3bcf44a4de3cb66deaf832fc126e4ebff5918c5 | 887 | cpp | C++ | src/cpp/fdialog-win32.cpp | andraantariksa/fdialog | be2467aea34122854583f7769281adc9b2611ec7 | [
"MIT"
] | null | null | null | src/cpp/fdialog-win32.cpp | andraantariksa/fdialog | be2467aea34122854583f7769281adc9b2611ec7 | [
"MIT"
] | null | null | null | src/cpp/fdialog-win32.cpp | andraantariksa/fdialog | be2467aea34122854583f7769281adc9b2611ec7 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cwchar>
#include <cstring>
#include <locale>
#include <codecvt>
#include <windows.h>
#include <commdlg.h>
#pragma comment(lib, "comdlg32.lib")
#ifndef _FDIALOG_WIN32
#define _FDIALOG_WIN32
extern "C"
char* open_dialog()
{
const size_t MAX_STRING_LENGTH = 300;
OPENFILENAME ofn;
... | 19.282609 | 67 | 0.694476 | andraantariksa |
d3c1b0b416e6a83a84e81982e70acab8311b8e84 | 1,798 | cc | C++ | tests/benchmark/chunk_replacement_bench.cc | Chippiewill/Phosphor | ef090fa5b331dd94301cd8562b24c78c0c2030f1 | [
"Apache-2.0"
] | null | null | null | tests/benchmark/chunk_replacement_bench.cc | Chippiewill/Phosphor | ef090fa5b331dd94301cd8562b24c78c0c2030f1 | [
"Apache-2.0"
] | null | null | null | tests/benchmark/chunk_replacement_bench.cc | Chippiewill/Phosphor | ef090fa5b331dd94301cd8562b24c78c0c2030f1 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2016 Couchbase, 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
*
* h... | 28.539683 | 79 | 0.6396 | Chippiewill |
d3c21fbb302729b47502c2d84cb61f98404cb09f | 2,022 | cpp | C++ | Days 021 - 030/Day 24/LockableBinaryTree.cpp | LucidSigma/Daily-Coding-Problems | 21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a | [
"MIT"
] | null | null | null | Days 021 - 030/Day 24/LockableBinaryTree.cpp | LucidSigma/Daily-Coding-Problems | 21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a | [
"MIT"
] | null | null | null | Days 021 - 030/Day 24/LockableBinaryTree.cpp | LucidSigma/Daily-Coding-Problems | 21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a | [
"MIT"
] | null | null | null | #include <iostream>
struct Node
{
public:
int value;
Node* left;
Node* right;
Node* parent;
bool isLocked;
unsigned int descendantLockCount;
Node(int value, Node* left = nullptr, Node* right = nullptr, Node* parent = nullptr) noexcept
: value(value), left(left), right(right), parent(parent), isLocked(false... | 14.652174 | 99 | 0.608309 | LucidSigma |
d3c2a72b9d24717384680c5b875076a20c977fde | 2,322 | cpp | C++ | T__Floor.cpp | SJ-magic-work-GolemForBackStage/Kinobi_oF_main | 836ef64ecf92a81230c051d308ee7e7d3a7ca1d4 | [
"MIT"
] | null | null | null | T__Floor.cpp | SJ-magic-work-GolemForBackStage/Kinobi_oF_main | 836ef64ecf92a81230c051d308ee7e7d3a7ca1d4 | [
"MIT"
] | null | null | null | T__Floor.cpp | SJ-magic-work-GolemForBackStage/Kinobi_oF_main | 836ef64ecf92a81230c051d308ee7e7d3a7ca1d4 | [
"MIT"
] | null | null | null | /************************************************************
************************************************************/
#include "T__Floor.h"
/************************************************************
************************************************************/
/******************************
****************... | 22.990099 | 74 | 0.425065 | SJ-magic-work-GolemForBackStage |
d3c4b139c81875506b2ae0ca864141fc4b3ac7cb | 6,048 | cpp | C++ | doc/Programs/LecturePrograms/programs/RandomWalks/cpp/main.cpp | kimrojas/ComputationalPhysicsMSU | a47cfc18b3ad6adb23045b3f49fab18c0333f556 | [
"CC0-1.0"
] | 220 | 2016-08-25T09:18:33.000Z | 2022-03-31T14:09:16.000Z | doc/Programs/LecturePrograms/programs/RandomWalks/cpp/main.cpp | dnhdang94/ComputationalPhysicsMSU | 16990c74cf06eb5b933982137f0536d669567259 | [
"CC0-1.0"
] | 1 | 2020-12-04T12:55:10.000Z | 2020-12-04T12:55:10.000Z | doc/Programs/LecturePrograms/programs/RandomWalks/cpp/main.cpp | dnhdang94/ComputationalPhysicsMSU | 16990c74cf06eb5b933982137f0536d669567259 | [
"CC0-1.0"
] | 136 | 2016-08-25T09:04:56.000Z | 2022-03-12T09:54:21.000Z | #include <iostream>
#include <fstream>
#include <array>
#include <random>
#include <armadillo>
using namespace std;
using namespace arma;
void MonteCarlo(vec &players, int MCSteps, int N, int transactions, double lambda, double alpha, double gamma, ofstream &outFile, vec &binCounts, double binSize, double m0, of... | 24 | 195 | 0.55506 | kimrojas |
d3ca00fb443a215ed3c8cde06d7e8f1b1a754c20 | 4,532 | cpp | C++ | cpp/altpebaddr.cpp | gregzakh/sketches | acbc573b9e67228dac21a94b597d89e2ea5cd755 | [
"MIT"
] | 1 | 2022-01-07T13:18:51.000Z | 2022-01-07T13:18:51.000Z | cpp/altpebaddr.cpp | gregzakh/sketches | acbc573b9e67228dac21a94b597d89e2ea5cd755 | [
"MIT"
] | null | null | null | cpp/altpebaddr.cpp | gregzakh/sketches | acbc573b9e67228dac21a94b597d89e2ea5cd755 | [
"MIT"
] | 4 | 2020-02-11T01:00:11.000Z | 2022-01-07T14:24:38.000Z | /*
* getting PEB address (against ASLR and NtQueryInformationProcess)
*/
#ifndef UNICODE
#define UNICODE
#endif
#include <windows.h>
#include <tlhelp32.h>
#include <iostream>
#include <string>
#include <vector>
#include <memory>
#include <locale>
typedef LONG NTSTATUS;
#ifdef _M_X64
#define PebImgBase 0x10
#el... | 28.325 | 117 | 0.684687 | gregzakh |
d3cb37718b5d1232ca4a5ba6d54959243340e308 | 4,796 | cpp | C++ | src/PointwiseFunctions/MathFunctions/PowX.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | null | null | null | src/PointwiseFunctions/MathFunctions/PowX.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | 1 | 2022-03-25T18:26:16.000Z | 2022-03-25T19:30:39.000Z | src/PointwiseFunctions/MathFunctions/PowX.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | 1 | 2019-01-03T21:47:04.000Z | 2019-01-03T21:47:04.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "PointwiseFunctions/MathFunctions/PowX.hpp"
#include "DataStructures/DataVector.hpp"
#include "Utilities/GenerateInstantiations.hpp"
#include "Utilities/MakeWithValue.hpp"
namespace MathFunctions {
template <typename Fr>
PowX<1, Fr>::Pow... | 36.892308 | 80 | 0.584028 | tomwlodarczyk |
d3cea590a7fc2df48824a7ed4cfda9c0d6d87666 | 582 | hpp | C++ | nodes/random_regex_node.hpp | do-m-en/random_regex_string | 7ded2dcf7c03122a68e66b5db6f94403e8c9c690 | [
"BSL-1.0"
] | null | null | null | nodes/random_regex_node.hpp | do-m-en/random_regex_string | 7ded2dcf7c03122a68e66b5db6f94403e8c9c690 | [
"BSL-1.0"
] | null | null | null | nodes/random_regex_node.hpp | do-m-en/random_regex_string | 7ded2dcf7c03122a68e66b5db6f94403e8c9c690 | [
"BSL-1.0"
] | null | null | null | #ifndef RANDOM_REGEX_NODE_HPP_INCLUDED
#define RANDOM_REGEX_NODE_HPP_INCLUDED
#include "regex_node.hpp"
namespace rand_regex {
class random_regex_node_ : public regex_node_ // . TODO check if this could be derived from range_random_regex_node_
{
public:
void generate(std::ostream& os, random_generator_base& random... | 27.714286 | 130 | 0.785223 | do-m-en |
d3cfa2c85886b38d838c3caff1fb6629f0e765db | 1,051 | hpp | C++ | Giga_v1/src/eeprom/KDEEPROMMap.hpp | azarashi2931/Giga-Project | 2acbd937bec01e6042453fe777f4182b6d67d9b7 | [
"MIT"
] | null | null | null | Giga_v1/src/eeprom/KDEEPROMMap.hpp | azarashi2931/Giga-Project | 2acbd937bec01e6042453fe777f4182b6d67d9b7 | [
"MIT"
] | null | null | null | Giga_v1/src/eeprom/KDEEPROMMap.hpp | azarashi2931/Giga-Project | 2acbd937bec01e6042453fe777f4182b6d67d9b7 | [
"MIT"
] | null | null | null | #ifndef KD_EEPROM_MAP_h
#define KD_EEPROM_MAP_h
typedef struct
{
int address;
uint8_t size;
} EEPROMData;
class KDEEPROMMap
{
public:
static constexpr int NumberOfAddresses = 1;
static constexpr int LineThreshold = 0;
static constexpr EEPROMData Addresses[NumberOfAddresses] =
{
... | 25.634146 | 133 | 0.665081 | azarashi2931 |
d3cfc6ae5338817f400e495160623ced2e329216 | 718 | hh | C++ | Watertank-System/1.0_SystemC/Solutions/Continous_Subsystem/include/watertank_lsf.hh | SimoGira/Embedded-Systems-Design | 87829fb65aa64a24e062358671580716a1151572 | [
"BSD-3-Clause"
] | null | null | null | Watertank-System/1.0_SystemC/Solutions/Continous_Subsystem/include/watertank_lsf.hh | SimoGira/Embedded-Systems-Design | 87829fb65aa64a24e062358671580716a1151572 | [
"BSD-3-Clause"
] | null | null | null | Watertank-System/1.0_SystemC/Solutions/Continous_Subsystem/include/watertank_lsf.hh | SimoGira/Embedded-Systems-Design | 87829fb65aa64a24e062358671580716a1151572 | [
"BSD-3-Clause"
] | null | null | null | #ifndef WATERTANK_LSF_HH
#define WATERTANK_LSF_HH
#include <systemc-ams>
#include "global.hh"
SC_MODULE(watertank_lsf){
public:
//sc_in_clk clock;
//sca_lsf::sca_signal sig_derivative_of_valve_aperture;
sca_lsf::sca_signal sig_valve_aperture;
sca_lsf::sca_signal sig_water_level;
sca_lsf::sca_t... | 21.117647 | 80 | 0.720056 | SimoGira |
d3d0eaf1b87ea2e66037622edba63a48ba31c13e | 1,880 | cxx | C++ | xp_comm_misc/merl/src/hist.cxx | avs/express-community | c699a68330d3b678b7e6bcea823e0891b874049c | [
"Apache-2.0"
] | 3 | 2020-08-03T08:52:20.000Z | 2021-04-10T11:55:49.000Z | xp_comm_misc/merl/src/hist.cxx | avs/express-community | c699a68330d3b678b7e6bcea823e0891b874049c | [
"Apache-2.0"
] | null | null | null | xp_comm_misc/merl/src/hist.cxx | avs/express-community | c699a68330d3b678b7e6bcea823e0891b874049c | [
"Apache-2.0"
] | 1 | 2021-06-08T18:16:45.000Z | 2021-06-08T18:16:45.000Z |
#include "express.h"
#include "hist.hxx"
int
Volume_Histogram::ComputeHistogram(OMevent_mask , int )
{
// volume (Mesh_Unif+Node_Data read notify)
// data_component (OMXint read notify)
// threshold (OMXint read notify)
// histogram (OMXint_array write)
int comp = (int)data_component;
int thresh =... | 24.102564 | 76 | 0.50266 | avs |
d3d4fe3b35745bf51381fcb22567416c9eeccc09 | 1,544 | cpp | C++ | src/pccts/notes/prependnl/nlDLG.cpp | clasqm/Squirrel99 | 09fb4cf9c26433b5bc1915dee1b31178222d9e81 | [
"MIT"
] | 2 | 2019-01-26T14:35:33.000Z | 2020-03-31T10:39:39.000Z | src/pccts/notes/prependnl/nlDLG.cpp | clasqm/Squirrel99 | 09fb4cf9c26433b5bc1915dee1b31178222d9e81 | [
"MIT"
] | 1 | 2018-12-12T17:04:17.000Z | 2018-12-12T17:04:17.000Z | src/pccts/notes/prependnl/nlDLG.cpp | clasqm/Squirrel99 | 09fb4cf9c26433b5bc1915dee1b31178222d9e81 | [
"MIT"
] | 1 | 2020-10-26T08:56:12.000Z | 2020-10-26T08:56:12.000Z | //
// nlDLG.cpp
// 9-May-1995
// pccts 1.32b5
//
/* This file should be accompanied by DISCLAIMER.TXT stating disclaimers */
#include "nlDLG.h"
#include "prependnl.h"
MyDLG::MyDLG(DLGInputStream *userStream,unsigned bufsize) :
DLGLexer(userStream,bufsize),
prependNLinputStream(userStream) {
_line--; ... | 27.087719 | 76 | 0.701425 | clasqm |
d3db75b63344d817e83451ef1cac9f8d28c654d5 | 3,690 | cc | C++ | test/hash_table_test.cc | yang-le/cpp-algorithms | 0c1f422bc1e9fefa1a7d430b4a13ef7795420a2e | [
"MIT"
] | null | null | null | test/hash_table_test.cc | yang-le/cpp-algorithms | 0c1f422bc1e9fefa1a7d430b4a13ef7795420a2e | [
"MIT"
] | null | null | null | test/hash_table_test.cc | yang-le/cpp-algorithms | 0c1f422bc1e9fefa1a7d430b4a13ef7795420a2e | [
"MIT"
] | null | null | null | // MIT License
// Copyright (c) 2018 Yang Le
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, ... | 32.368421 | 81 | 0.673984 | yang-le |
d3dbba38fb97db4bd7712fe5e03af497319d3387 | 927 | cpp | C++ | modules/imgproc/perf/perf_morph.cpp | snosov1/opencv | ce05d6cb89450a5778f4c0169b5da5589798192a | [
"BSD-3-Clause"
] | 144 | 2015-01-15T03:38:44.000Z | 2022-02-17T09:07:52.000Z | modules/imgproc/perf/perf_morph.cpp | snosov1/opencv | ce05d6cb89450a5778f4c0169b5da5589798192a | [
"BSD-3-Clause"
] | 28 | 2016-10-16T19:42:37.000Z | 2018-09-14T21:29:48.000Z | modules/imgproc/perf/perf_morph.cpp | snosov1/opencv | ce05d6cb89450a5778f4c0169b5da5589798192a | [
"BSD-3-Clause"
] | 58 | 2015-01-14T23:43:49.000Z | 2021-11-15T05:19:08.000Z | #include "perf_precomp.hpp"
using namespace std;
using namespace cv;
using namespace perf;
using std::tr1::make_tuple;
using std::tr1::get;
#define TYPICAL_MAT_TYPES_MORPH CV_8UC1, CV_8UC4
#define TYPICAL_MATS_MORPH testing::Combine(SZ_ALL_GA, testing::Values(TYPICAL_MAT_TYPES_MORPH))
PERF_TEST_P(Size_MatType... | 22.071429 | 102 | 0.674218 | snosov1 |
d3de4ff25af4de6bba411ea2b3b41813e7ef6d77 | 2,364 | hpp | C++ | src/perfnp/cmd_line.hpp | locksley-cz/perfnp | b55dc3401285042e1409ba930543627725a471c0 | [
"MIT"
] | null | null | null | src/perfnp/cmd_line.hpp | locksley-cz/perfnp | b55dc3401285042e1409ba930543627725a471c0 | [
"MIT"
] | 10 | 2019-03-13T09:14:41.000Z | 2020-02-19T18:01:14.000Z | src/perfnp/cmd_line.hpp | locksley-cz/perfnp | b55dc3401285042e1409ba930543627725a471c0 | [
"MIT"
] | 1 | 2019-03-08T09:32:31.000Z | 2019-03-08T09:32:31.000Z | // Copyright (c) 2019 Locksley.CZ s.r.o.
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#ifndef PERFNP_CMD_LINE_H_
#define PERFNP_CMD_LINE_H_
#include <perfnp/tools.hpp>
#include <string>
#include <vector>
namespace perfnp {
/*!
* Command to be executed with argument... | 24.884211 | 97 | 0.654399 | locksley-cz |
d3e4f7cbd40981044a27bdf1bec005ded1d81537 | 632 | hpp | C++ | kernel/include/x86_64/pic.hpp | larrabyte/thepuck | dc9971bc0682354e74a1869b3cc6a5c80b85e821 | [
"MIT"
] | 5 | 2020-02-21T09:35:24.000Z | 2021-03-28T08:26:20.000Z | kernel/include/x86_64/pic.hpp | larrabyte/thepuck | dc9971bc0682354e74a1869b3cc6a5c80b85e821 | [
"MIT"
] | null | null | null | kernel/include/x86_64/pic.hpp | larrabyte/thepuck | dc9971bc0682354e74a1869b3cc6a5c80b85e821 | [
"MIT"
] | 1 | 2021-06-25T17:26:03.000Z | 2021-06-25T17:26:03.000Z | #ifndef FREELSD_KERNEL_PIC_HEADER
#define FREELSD_KERNEL_PIC_HEADER
#include <stdint.h>
#define MASTER_PIC_COMMAND 0x20
#define MASTER_PIC_DATA 0x21
#define SLAVE_PIC_COMMAND 0xA0
#define SLAVE_PIC_DATA 0xA1
#define PIC_READ_IRR 0x0A
#define PIC_READ_ISR 0x0B
namespace pic {
// Check if... | 22.571429 | 56 | 0.726266 | larrabyte |
d3e5e90fd17a37c61f07cc59255962fa094ec09e | 3,124 | cc | C++ | paddle/phi/kernels/cpu/log_softmax_grad_kernel.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | paddle/phi/kernels/cpu/log_softmax_grad_kernel.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | paddle/phi/kernels/cpu/log_softmax_grad_kernel.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 1 | 2021-09-24T11:23:36.000Z | 2021-09-24T11:23:36.000Z | // Copyright (c) 2022 PaddlePaddle 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... | 35.5 | 78 | 0.643086 | L-Net-1992 |
d3e79a4e75f229efde8a3aae554600313686d193 | 1,771 | cpp | C++ | data-structure/Agenda.cpp | ejpcr/libs-c | e544e4338ea9f2fe8c57de83045944f38ae06a07 | [
"MIT"
] | null | null | null | data-structure/Agenda.cpp | ejpcr/libs-c | e544e4338ea9f2fe8c57de83045944f38ae06a07 | [
"MIT"
] | null | null | null | data-structure/Agenda.cpp | ejpcr/libs-c | e544e4338ea9f2fe8c57de83045944f38ae06a07 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0224)http://65.54.187.250/cgi-bin/getmsg?curmbox=F000000001&a=2ec26e1f050efee654cc3bcc71597a74&msg=MSG1090110885.23&start=406335&len=45661&mimepart=3&disk=65.54.187.39_d298&login=nuverlomm&domain=hotmail%2ecom&_lang=ES&country=MX -->
<H... | 29.032787 | 254 | 0.627329 | ejpcr |
d3e83e27e776d08adf5f4e9c2c82d71898aaa415 | 1,949 | cpp | C++ | Queue/queue.cpp | hongwei7/CPP-data_structure | 07b1d8571a1860bfd483bd0e4104806e3481b167 | [
"MIT"
] | 1 | 2021-12-16T13:04:31.000Z | 2021-12-16T13:04:31.000Z | Queue/queue.cpp | hongwei7/CPP-data_structure | 07b1d8571a1860bfd483bd0e4104806e3481b167 | [
"MIT"
] | null | null | null | Queue/queue.cpp | hongwei7/CPP-data_structure | 07b1d8571a1860bfd483bd0e4104806e3481b167 | [
"MIT"
] | null | null | null | #include <iostream>
#define maxsize 20
#define max_size 50
typedef int elem;
using namespace std;
/*后来定义的一些函数需要stack*/
#include "Stack.h"
#include "queue.h"
void Init_queue(queue* &q)
{
q = new queue;
q->front = 0;
q->rear = 0;
}
void Destroy_queue(queue *&q)
{
free(q);
}
bool queue_empty(queue *q)
{
... | 20.302083 | 83 | 0.487429 | hongwei7 |
d3e8f67b6a612ddf7e7589785f61cc3a51216bef | 1,881 | cpp | C++ | tst/OpcUaStackServer/ServiceSet/MonitoredItem_t.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 108 | 2018-10-08T17:03:32.000Z | 2022-03-21T00:52:26.000Z | tst/OpcUaStackServer/ServiceSet/MonitoredItem_t.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 287 | 2018-09-18T14:59:12.000Z | 2022-01-13T12:28:23.000Z | tst/OpcUaStackServer/ServiceSet/MonitoredItem_t.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 32 | 2018-10-19T14:35:03.000Z | 2021-11-12T09:36:46.000Z | #include "unittest.h"
#include "OpcUaStackServer/ServiceSet/MonitorItem.h"
#include "OpcUaStackServer/AddressSpaceModel/VariableNodeClass.h"
#include "OpcUaStackServer/AddressSpaceModel/ObjectNodeClass.h"
using namespace OpcUaStackServer;
BOOST_AUTO_TEST_SUITE(MonitoredItem_)
BOOST_AUTO_TEST_CASE(MonitoredItem_)
{
... | 30.836066 | 110 | 0.812334 | gianricardo |
d3ed1bb0b43c1610d6b69c51f2236a798930bb9a | 571 | cpp | C++ | 4rth_Sem_c++_backup/PRACTICE/XAV/Jimut/part2/pointer.cpp | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | 4rth_Sem_c++_backup/PRACTICE/XAV/Jimut/part2/pointer.cpp | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | 4rth_Sem_c++_backup/PRACTICE/XAV/Jimut/part2/pointer.cpp | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z | #include<iostream>
using namespace std;
class Array
{
int *a,s;
public:
Array(int);
input(int s);
~Array();
};
inline Array::Array(int s)
{
cout<<"\n Constructed!!";
Array::s=s;
a = new int[s];
}
inline Array::~Array()
{
delete a;
cout<<"\n Destroyed! ";
}
void input(int s)
{
int i;
cout<<"\n Enter the... | 10.773585 | 59 | 0.551664 | SayanGhoshBDA |
d3edad04732965f9dd3176e26bf8264facbe8743 | 420 | cpp | C++ | learncppdotcom/6.3_3/main.cpp | coal0/Challenges | 528c2a32680b97ca36fed55caea5d545c18ba97a | [
"MIT"
] | null | null | null | learncppdotcom/6.3_3/main.cpp | coal0/Challenges | 528c2a32680b97ca36fed55caea5d545c18ba97a | [
"MIT"
] | null | null | null | learncppdotcom/6.3_3/main.cpp | coal0/Challenges | 528c2a32680b97ca36fed55caea5d545c18ba97a | [
"MIT"
] | null | null | null | #include <iostream>
int main() {
int scores[] = {84, 92, 76, 81, 56};
constexpr int numStudents = sizeof(scores) / sizeof(scores[0]);
int maxScoreIndex = 0;
for (int student = 1; student < numStudents; ++student) {
if (scores[student] > scores[maxScoreIndex]) {
maxScoreIndex = stu... | 24.705882 | 74 | 0.57619 | coal0 |
d3ee176b0f44a3f9bcae8e1bed7c0691ebc2b0d6 | 11,131 | cc | C++ | Validation/HGCalValidation/test/HGCalWaferHitCheck.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 4 | 2020-06-27T23:27:21.000Z | 2020-11-19T09:17:01.000Z | Validation/HGCalValidation/test/HGCalWaferHitCheck.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 524 | 2018-01-29T15:50:45.000Z | 2021-08-04T14:03:21.000Z | Validation/HGCalValidation/test/HGCalWaferHitCheck.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 7 | 2018-02-19T11:17:13.000Z | 2020-10-12T21:57:00.000Z | // system include files
#include <cmath>
#include <iostream>
#include <fstream>
#include <map>
#include <mutex>
#include <string>
#include <vector>
#include "DataFormats/ForwardDetId/interface/ForwardSubdetector.h"
#include "DataFormats/ForwardDetId/interface/HFNoseDetId.h"
#include "DataFormats/ForwardDetId/interface... | 41.845865 | 120 | 0.668224 | ckamtsikis |
d3eedfe1a27ba93a1eb98b9a036139041f15b0fb | 3,376 | cxx | C++ | main/toolkit/workben/layout/recover.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/toolkit/workben/layout/recover.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/toolkit/workben/layout/recover.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 31.551402 | 81 | 0.697867 | Grosskopf |
d3ef8b38e01470bea7ce78e2543629d5a36c8a58 | 81,386 | cpp | C++ | src/gpu/cgpu/d3d12/cgpu_d3d12.cpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | 29 | 2021-11-19T11:28:22.000Z | 2022-03-29T00:26:51.000Z | src/gpu/cgpu/d3d12/cgpu_d3d12.cpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | null | null | null | src/gpu/cgpu/d3d12/cgpu_d3d12.cpp | SakuraEngine/Sakura.Runtime | 5a397fb2b1285326c4216f522fe10e347bd566f7 | [
"MIT"
] | 1 | 2022-03-05T08:14:40.000Z | 2022-03-05T08:14:40.000Z | #include "cgpu/backend/d3d12/cgpu_d3d12.h"
#include "d3d12_utils.h"
#include "../common/common_utils.h"
#include <dxcapi.h>
#include <EASTL/string_hash_map.h>
#if !defined(XBOX)
#pragma comment(lib, "d3d12.lib")
#pragma comment(lib, "dxgi.lib")
#pragma comment(lib, "dxguid.lib")
#pragma comment(lib, "d... | 43.755914 | 203 | 0.691532 | SakuraEngine |
d3efec7cf6ef057849bb9a0cece6b50b8c920a04 | 8,896 | cpp | C++ | src/planner/ompl/CRRTConnect.cpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 181 | 2016-04-22T15:11:23.000Z | 2022-03-26T12:51:08.000Z | src/planner/ompl/CRRTConnect.cpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 514 | 2016-04-20T04:29:51.000Z | 2022-02-10T19:46:21.000Z | src/planner/ompl/CRRTConnect.cpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 31 | 2017-03-17T09:53:02.000Z | 2022-03-23T10:35:05.000Z | #include "aikido/planner/ompl/CRRTConnect.hpp"
#include <ompl/base/goals/GoalSampleableRegion.h>
#include <ompl/tools/config/SelfConfig.h>
#include "aikido/planner/ompl/BackwardCompatibility.hpp"
#include "aikido/planner/ompl/GeometricStateSpace.hpp"
namespace aikido {
namespace planner {
namespace ompl {
//=======... | 26.714715 | 80 | 0.566996 | personalrobotics |
1092b1657a3218d559f31ac2e2192c429e0ef5fa | 696 | hpp | C++ | products/PurePhone/services/desktop/endpoints/EndpointFactoryPure.hpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 369 | 2021-11-10T09:20:29.000Z | 2022-03-30T06:36:58.000Z | products/PurePhone/services/desktop/endpoints/EndpointFactoryPure.hpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 149 | 2021-11-10T08:38:35.000Z | 2022-03-31T23:01:52.000Z | products/PurePhone/services/desktop/endpoints/EndpointFactoryPure.hpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 41 | 2021-11-10T08:30:37.000Z | 2022-03-29T08:12:46.000Z | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <endpoints/EndpointFactory.hpp>
namespace sdesktop::endpoints
{
class EndpointFactoryPure : public EndpointFactory
{
public:
explicit En... | 27.84 | 115 | 0.719828 | bitigchi |
1093df5a6b141d24e5ad3ad314010410788a5e04 | 395 | hpp | C++ | tools/csv_command_line/command_line.hpp | dagronf/csvlib | 790f48b7bc9d361508ea4b3fc3e9a2c962da0a47 | [
"MIT"
] | 1 | 2020-01-20T16:07:12.000Z | 2020-01-20T16:07:12.000Z | tools/csv_command_line/command_line.hpp | dagronf/csvlib | 790f48b7bc9d361508ea4b3fc3e9a2c962da0a47 | [
"MIT"
] | null | null | null | tools/csv_command_line/command_line.hpp | dagronf/csvlib | 790f48b7bc9d361508ea4b3fc3e9a2c962da0a47 | [
"MIT"
] | null | null | null | //
// command_line.hpp
// csv_command_line
//
// Created by Darren Ford on 22/5/19.
// Copyright © 2019 Darren Ford. All rights reserved.
//
#pragma once
#include <string>
struct Arguments {
std::string type;
char separator;
bool verbose;
std::string inputFile;
std::string codepage;
size_t limit;
};
bool ... | 17.173913 | 79 | 0.706329 | dagronf |
10956509edab8deef381ffa8a94e0a665183d631 | 1,452 | hpp | C++ | include/Entity.hpp | YuanSambo/Aircraft-Shooter | 959114a34a25056fbffcfceb785b97a6834a9d97 | [
"MIT"
] | null | null | null | include/Entity.hpp | YuanSambo/Aircraft-Shooter | 959114a34a25056fbffcfceb785b97a6834a9d97 | [
"MIT"
] | null | null | null | include/Entity.hpp | YuanSambo/Aircraft-Shooter | 959114a34a25056fbffcfceb785b97a6834a9d97 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////
// Entity.hpp
// Aircraft-Shooter
//
// Created by Yuan Sambo on 28/12/2020
// Based on SFML Game Development Book
////////////////////////////////////////////////////////////////
#ifndef AIRCRAFT_SHOOTER_ENTITY_HPP
#define AIRCRAFT_SHOOTER_ENTITY_H... | 26.888889 | 68 | 0.415978 | YuanSambo |
10959e88987120a76ebf19fef8b6f93f24c8090b | 2,839 | cpp | C++ | plugins/csp-lod-bodies/src/TileId.cpp | FellegaraR/cosmoscout-vr | e04e1ac9c531106693a965bb03d3064f3a6179c6 | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | 302 | 2019-03-05T08:05:03.000Z | 2022-03-16T22:35:21.000Z | plugins/csp-lod-bodies/src/TileId.cpp | Tubbz-alt/cosmoscout-vr | d9fe671857b1ca906febddb59175422fc083441a | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | 230 | 2019-07-30T13:26:09.000Z | 2022-03-11T11:21:06.000Z | plugins/csp-lod-bodies/src/TileId.cpp | Tubbz-alt/cosmoscout-vr | d9fe671857b1ca906febddb59175422fc083441a | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | 24 | 2019-07-22T08:00:49.000Z | 2022-01-25T10:55:17.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////
// This file is part of CosmoScout VR //
// and may be used under the terms of the MIT license. See the LICENSE file for details. //
// ... | 33.011628 | 100 | 0.295879 | FellegaraR |
1096195661cfd6fa69943b06c55d6b28808debcd | 9,036 | cpp | C++ | src/devices/openxrheadset/impl/OpenXrInterfaceImpl.cpp | ami-iit/yarp-device-openxrheadset | 761a290c2c7be65ef142f8a5540f09bcb8d5749c | [
"BSD-2-Clause"
] | 1 | 2022-02-17T08:39:22.000Z | 2022-02-17T08:39:22.000Z | src/devices/openxrheadset/impl/OpenXrInterfaceImpl.cpp | ami-iit/yarp-device-openxrheadset | 761a290c2c7be65ef142f8a5540f09bcb8d5749c | [
"BSD-2-Clause"
] | 1 | 2022-02-16T17:23:02.000Z | 2022-02-16T17:23:02.000Z | src/devices/openxrheadset/impl/OpenXrInterfaceImpl.cpp | ami-iit/yarp-device-openxrheadset | 761a290c2c7be65ef142f8a5540f09bcb8d5749c | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2021 Istituto Italiano di Tecnologia (IIT)
* All rights reserved.
*
* This software may be modified and distributed under the terms of the
* BSD-2-Clause license. See the accompanying LICENSE file for details.
*/
#include <impl/OpenXrInterfaceImpl.h>
template<>
XrActionType Action<bool>::typ... | 37.338843 | 200 | 0.655046 | ami-iit |
10975d2fcaf9023f74f363c7ff3699d11c080ef7 | 732 | hpp | C++ | pythran/pythonic/numpy/isposinf.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/numpy/isposinf.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/numpy/isposinf.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_NUMPY_ISPOSINF_HPP
#define PYTHONIC_NUMPY_ISPOSINF_HPP
#include "pythonic/include/numpy/isposinf.hpp"
#include "pythonic/utils/proxy.hpp"
#include "pythonic/types/ndarray.hpp"
#include "pythonic/types/numexpr_to_ndarray.hpp"
#include "pythonic/utils/numpy_traits.hpp"
#include <nt2/include/functions/... | 21.529412 | 54 | 0.743169 | artas360 |
109b4686956a0e4baf7e56c896321f3ac93c5e8e | 3,403 | cpp | C++ | cflib/net/net_test/http_test.cpp | fishbach/cflib | fa7a69c5962a73cf822435a67207ffc34badd0d4 | [
"MIT"
] | null | null | null | cflib/net/net_test/http_test.cpp | fishbach/cflib | fa7a69c5962a73cf822435a67207ffc34badd0d4 | [
"MIT"
] | null | null | null | cflib/net/net_test/http_test.cpp | fishbach/cflib | fa7a69c5962a73cf822435a67207ffc34badd0d4 | [
"MIT"
] | null | null | null | /* Copyright (C) 2013-2022 Christian Fischbach <cf@cflib.de>
*
* This file is part of cflib.
*
* Licensed under the MIT License.
*/
#include <cflib/net/httpclient.h>
#include <cflib/net/httpserver.h>
#include <cflib/net/request.h>
#include <cflib/net/requesthandler.h>
#include <cflib/net/tcpmanager.h>
#include <c... | 21.675159 | 78 | 0.646488 | fishbach |
109babc10e55e7ddeaae9802bb8a6e3516100ea4 | 31 | cpp | C++ | SimulationCore/SimulationCore_pcp.cpp | MingAtUWA/SimpleMPM2 | 7a1d7c257c621123d85a0630e93d42ae25c70fb4 | [
"MIT"
] | null | null | null | SimulationCore/SimulationCore_pcp.cpp | MingAtUWA/SimpleMPM2 | 7a1d7c257c621123d85a0630e93d42ae25c70fb4 | [
"MIT"
] | null | null | null | SimulationCore/SimulationCore_pcp.cpp | MingAtUWA/SimpleMPM2 | 7a1d7c257c621123d85a0630e93d42ae25c70fb4 | [
"MIT"
] | null | null | null | #include "SimulationCore_pcp.h" | 31 | 31 | 0.83871 | MingAtUWA |
109dba915e4b8c33ae40cebc952c33cd696ec37d | 1,310 | cpp | C++ | src/tools/tools_func/coredump.cpp | JaysonSirius/learning_platform_server | 30dc08c54af5e6b04f8392d4d5da54b5497358e9 | [
"MIT"
] | null | null | null | src/tools/tools_func/coredump.cpp | JaysonSirius/learning_platform_server | 30dc08c54af5e6b04f8392d4d5da54b5497358e9 | [
"MIT"
] | null | null | null | src/tools/tools_func/coredump.cpp | JaysonSirius/learning_platform_server | 30dc08c54af5e6b04f8392d4d5da54b5497358e9 | [
"MIT"
] | null | null | null | /**
* @file coredump.cpp
* @author 余王亮 (wotsen@outlook.com)
* @brief
* @version 0.1
* @date 2019-11-04
*
* @copyright Copyright (c) 2019
*
*/
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "coredump.h"
static const cha... | 20.46875 | 90 | 0.654962 | JaysonSirius |
10a1d420e7c98dd3d88f4290387f4f6af15ac7ec | 447 | cpp | C++ | Cpp_Workspace/C++ Primer Plus/Chapter05/Chapter5_17.textin2.cpp | agent1894/Quant-Practice-Workspace | f102e136389e2247bbbfb36ef78c16807a0ba7d2 | [
"MIT"
] | 1 | 2021-03-17T01:25:05.000Z | 2021-03-17T01:25:05.000Z | Cpp_Workspace/C++ Primer Plus/Chapter05/Chapter5_17.textin2.cpp | agent1894/Quant-Practice-Workspace | f102e136389e2247bbbfb36ef78c16807a0ba7d2 | [
"MIT"
] | null | null | null | Cpp_Workspace/C++ Primer Plus/Chapter05/Chapter5_17.textin2.cpp | agent1894/Quant-Practice-Workspace | f102e136389e2247bbbfb36ef78c16807a0ba7d2 | [
"MIT"
] | 2 | 2020-06-29T15:31:10.000Z | 2021-03-24T14:20:15.000Z | // textin2.cpp -- using cin.get(char)
#include <iostream>
int main()
{
using namespace std;
char ch;
int count = 0;
cout << "Enter characters: enter # to quit: " << endl;
cin.get(ch); // use the cin.get(ch) function
while (ch != '#') // test the character
{
cout << ch;
++c... | 20.318182 | 58 | 0.521253 | agent1894 |
10a3edcc9eac67bd11a34b3db407bee33d9c789c | 2,776 | cpp | C++ | src/public/dt_shared.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/public/dt_shared.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/public/dt_shared.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#include "dt_shared.h"
#if !defined (CLIENT_DLL)
#include "sendproxy.h"
#else
#include "recvproxy.h"
#endif
// -----... | 24.350877 | 97 | 0.65562 | cstom4994 |
10a56f4118a157c8b6e4a2e692e1d9ca02ed8fa5 | 2,014 | cpp | C++ | vehicle/src/udp_trans/udp_client_main.cpp | Alvintang6/robot_formation | 44017e939cede6bc3e964732511a53eba50544da | [
"MIT"
] | 11 | 2018-10-28T17:51:58.000Z | 2022-03-02T22:46:35.000Z | vehicle/src/udp_trans/udp_client_main.cpp | Alvintang6/robot_formation | 44017e939cede6bc3e964732511a53eba50544da | [
"MIT"
] | null | null | null | vehicle/src/udp_trans/udp_client_main.cpp | Alvintang6/robot_formation | 44017e939cede6bc3e964732511a53eba50544da | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////
//
// This is a udp_client node for subscribe the loacl topics and than
// send it to the internet. the ip address and the port num should be
// configured.
// Author: JieTang date: 29/08/2018
//
/////////////////////////////////////////////... | 19.940594 | 71 | 0.64002 | Alvintang6 |
10b12d131d101ddc6f75f76f326892a784392a48 | 1,550 | cpp | C++ | Dimik OJ/Array Jot.cpp | Sohelr360/my_codes | 9bdd28f62d3850aad8f8af2a253ba66138a7057c | [
"MIT"
] | null | null | null | Dimik OJ/Array Jot.cpp | Sohelr360/my_codes | 9bdd28f62d3850aad8f8af2a253ba66138a7057c | [
"MIT"
] | null | null | null | Dimik OJ/Array Jot.cpp | Sohelr360/my_codes | 9bdd28f62d3850aad8f8af2a253ba66138a7057c | [
"MIT"
] | null | null | null | /**
* Author: Sohel Rana
* Date: 2020-10-23 09:55:34
* Link: link
**/
#include <bits/stdc++.h>
#define endl '\n'
#define db double
#define ld long double
#define ll long long
#define ull unsigned long long
#define sqr(x) (x) * (x)
#define gcd(a, b) __gcd(a, b)
#define lcm(a, b) ((a / gcd(a, b)) * b)
#... | 23.134328 | 84 | 0.461935 | Sohelr360 |
10b22b40b4b806576d1ba29f4e6f47e5100d9f43 | 931 | hpp | C++ | engine/src/ui/DirectionalLayout.hpp | Birdy2014/Birdy3d | 96421f262ab6ba7448cae8381063aab32ac830fe | [
"MIT"
] | 1 | 2021-11-01T20:22:41.000Z | 2021-11-01T20:22:41.000Z | engine/src/ui/DirectionalLayout.hpp | Birdy2014/Birdy3d | 96421f262ab6ba7448cae8381063aab32ac830fe | [
"MIT"
] | 1 | 2021-11-02T12:45:20.000Z | 2021-11-02T12:45:20.000Z | engine/src/ui/DirectionalLayout.hpp | Birdy2014/Birdy3d | 96421f262ab6ba7448cae8381063aab32ac830fe | [
"MIT"
] | 1 | 2021-11-02T12:28:58.000Z | 2021-11-02T12:28:58.000Z | #pragma once
#include "ui/Layout.hpp"
namespace Birdy3d::ui {
class DirectionalLayout : public Layout {
public:
enum class Direction {
RIGHT,
LEFT,
DOWN,
UP
};
Direction dir;
float gap;
bool preserve_child_size;
... | 30.032258 | 124 | 0.632653 | Birdy2014 |
10b49ca41a7e4de7d320afa83ee46808c8b3b6f0 | 284 | cpp | C++ | Source/BYGTextToSpeech/Private/BYGTextToSpeechSettings.cpp | BraceYourselfGames/UE-BYGTextToSpeech | a34abfb53c05c8b59706a8507bd49b6aabbd0f7c | [
"BSD-3-Clause"
] | 1 | 2022-03-21T15:37:29.000Z | 2022-03-21T15:37:29.000Z | Source/BYGTextToSpeech/Private/BYGTextToSpeechSettings.cpp | BraceYourselfGames/UE-BYGTextToSpeech | a34abfb53c05c8b59706a8507bd49b6aabbd0f7c | [
"BSD-3-Clause"
] | null | null | null | Source/BYGTextToSpeech/Private/BYGTextToSpeechSettings.cpp | BraceYourselfGames/UE-BYGTextToSpeech | a34abfb53c05c8b59706a8507bd49b6aabbd0f7c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017-2021 Brace Yourself Games. All Rights Reserved.
#include "BYGTextToSpeechSettings.h"
UBYGTextToSpeechSettings::UBYGTextToSpeechSettings( const FObjectInitializer& ObjectInitializer )
{
TextSplitDelimiters = {
TEXT( "." ),
TEXT( "\r\n" ),
TEXT( "\n" )
};
}
| 21.846154 | 97 | 0.721831 | BraceYourselfGames |
10b4b0917211f374c252f9a399545b0ccfb0c177 | 10,698 | cc | C++ | mysql-server/unittest/gunit/handler-t.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/unittest/gunit/handler-t.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/unittest/gunit/handler-t.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /* Copyright (c) 2012, 2020, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (including... | 36.511945 | 80 | 0.736306 | silenc3502 |
10b7c539479e5b49d5c36e86eb4a2c5f81a1ef78 | 333 | cpp | C++ | test/ecst/thread_pool/simple.cpp | SuperV1234/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 475 | 2016-05-03T13:34:30.000Z | 2021-11-26T07:02:47.000Z | test/ecst/thread_pool/simple.cpp | vittorioromeo/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 28 | 2016-08-30T06:37:40.000Z | 2017-11-24T11:14:07.000Z | test/ecst/thread_pool/simple.cpp | vittorioromeo/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 60 | 2016-05-11T22:16:15.000Z | 2021-08-02T20:42:35.000Z | #include "../../utils/test_utils.hpp"
using namespace vrm::core;
TEST_MAIN()
{
std::atomic<int> x{0};
ecst::thread_pool pool;
pool.post([&x]
{
x = 100;
});
while(x != 100)
{
ecst::this_thread::sleep_for(std::chrono::milliseconds(1));
}
TEST_ASSERT_NS(... | 15.136364 | 67 | 0.522523 | SuperV1234 |
10b9d44ebf3ad51fc02fc70bd9fbebc6d9dd3cf4 | 27,874 | cpp | C++ | bridge/bridge.cpp | LaudateCorpus1/x64dbg_forwarder | de8f45d9434b227a9ce80431fb2190343263cda1 | [
"MIT"
] | 1 | 2016-03-25T16:19:55.000Z | 2016-03-25T16:19:55.000Z | bridge/bridge.cpp | LaudateCorpus1/x64dbg_forwarder | de8f45d9434b227a9ce80431fb2190343263cda1 | [
"MIT"
] | null | null | null | bridge/bridge.cpp | LaudateCorpus1/x64dbg_forwarder | de8f45d9434b227a9ce80431fb2190343263cda1 | [
"MIT"
] | 3 | 2016-03-25T16:19:57.000Z | 2021-10-15T08:38:51.000Z | #ifdef _WIN64
#pragma comment(linker, "/export:BridgeAlloc=x64bridge.BridgeAlloc")
#pragma comment(linker, "/export:BridgeFree=x64bridge.BridgeFree")
#pragma comment(linker, "/export:BridgeGetDbgVersion=x64bridge.BridgeGetDbgVersion")
#pragma comment(linker, "/export:BridgeInit=x64bridge.BridgeInit")
#pragma comme... | 56.654472 | 116 | 0.79515 | LaudateCorpus1 |
10c01195375074ef2a0404288f0413d48492d8b0 | 1,387 | cpp | C++ | day17.cpp | anshd258/100days-of-code | 512d3c30f64aad0621bc64a337e4fcffce567265 | [
"MIT"
] | 4 | 2020-11-13T12:27:52.000Z | 2021-12-25T18:36:14.000Z | day17.cpp | anshd258/100days-of-code | 512d3c30f64aad0621bc64a337e4fcffce567265 | [
"MIT"
] | 3 | 2020-11-27T11:15:08.000Z | 2020-12-14T03:38:58.000Z | day17.cpp | anshd258/100days-of-code | 512d3c30f64aad0621bc64a337e4fcffce567265 | [
"MIT"
] | null | null | null | // day 16 solution of 100 -days - of -codding cpp
//jamal erabaki
//control git end
#include <iostream>
using namespace std;
int ap(int a,int b)
{
if(a==0)
//main recrussion function
return b;
return ap(b%a,a);
... | 21.671875 | 105 | 0.495314 | anshd258 |
10c853d29d9dca04d538e48f3dbf2436ef17c469 | 7,096 | cxx | C++ | external/fltk-2.0.x-r5966/src/fillrect.cxx | jturner65/ParticleSim | 0ad72630c6c417a924833c4d5955d6daa902fbe8 | [
"Apache-2.0"
] | 1 | 2018-06-10T11:35:32.000Z | 2018-06-10T11:35:32.000Z | external/fltk-2.0.x-r5966/src/fillrect.cxx | jturner65/ParticleSim | 0ad72630c6c417a924833c4d5955d6daa902fbe8 | [
"Apache-2.0"
] | 1 | 2020-04-03T12:46:17.000Z | 2020-04-03T12:46:17.000Z | external/fltk-2.0.x-r5966/src/fillrect.cxx | jturner65/ParticleSim | 0ad72630c6c417a924833c4d5955d6daa902fbe8 | [
"Apache-2.0"
] | null | null | null | //
// "$Id: fillrect.cxx 5887 2007-06-07 12:36:39Z spitzak $"
//
// Non-path routines from draw.h that are used by the standard boxtypes
// and thus are always linked into an fltk program.
//
// Copyright 1998-2006 by Bill Spitzak and others.
//
// This library is free software; you can redistribute it and/or
// modify... | 31.259912 | 73 | 0.683766 | jturner65 |
10c8df646f1b6b9041b6dc95bb621d5c74212cb7 | 629 | cpp | C++ | SPOJ/ALCHE - Alchemy/alche.cpp | Zubieta/CPP | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 8 | 2017-03-02T07:56:45.000Z | 2021-08-07T20:20:19.000Z | SPOJ/ALCHE - Alchemy/alche.cpp | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | null | null | null | SPOJ/ALCHE - Alchemy/alche.cpp | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 1 | 2021-08-07T20:20:20.000Z | 2021-08-07T20:20:20.000Z | /*Santiago Zubieta*/
#include <iostream>
#include <numeric>
#include <fstream>
#include <climits>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <queue>
#include <list>
#include <map>
#include <set>
#include <stack>
#include <deque>
#include <vector>
#include <string>
#include <cstdlib>
#include <casser... | 17 | 49 | 0.627981 | Zubieta |
10ce4ff1216c79b166008cff80bad07e51574063 | 5,093 | cpp | C++ | PhysicsTools/Utilities/test/testIntegralTiming.cpp | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | PhysicsTools/Utilities/test/testIntegralTiming.cpp | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | PhysicsTools/Utilities/test/testIntegralTiming.cpp | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "PhysicsTools/Utilities/interface/Integral.h"
#include <iostream>
#include <cmath>
#include <vector>
#include <utility>
#include <algorithm>
#include <sys/time.h>
#include "TCanvas.h"
#include "TGraph.h"
#include "TAxis.h"
#include "TROOT.h"
#include "TH2.h"
using namespace funct;
using namespace std;
double... | 27.52973 | 95 | 0.591007 | nistefan |
10ce5b4e4ea51817ffa4e14d9741233ecd67cd0d | 8,681 | cc | C++ | cxx/hex.cc | ross-alexander/lizards | 7329e754b3d8622fc202bc480fc5422dafd62a5d | [
"Apache-2.0"
] | null | null | null | cxx/hex.cc | ross-alexander/lizards | 7329e754b3d8622fc202bc480fc5422dafd62a5d | [
"Apache-2.0"
] | null | null | null | cxx/hex.cc | ross-alexander/lizards | 7329e754b3d8622fc202bc480fc5422dafd62a5d | [
"Apache-2.0"
] | null | null | null | #include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml++/libxml++.h>
#include "lizards.h"
hex_t::hex_t(void)
{
owner = 0;
terrain = WATER;
// adjlist = new adjacent_t[DIRECTIONS];
#ifndef STL
flist... | 21.648379 | 91 | 0.570326 | ross-alexander |
10ce90c53fb8693f21d6a80448007b9973d7a058 | 27,454 | cpp | C++ | src/browser-common-view.cpp | tizenorg/apps.web.browser | 89ae3e2968d998e201f5e27f1036028c4b47e746 | [
"Apache-2.0"
] | null | null | null | src/browser-common-view.cpp | tizenorg/apps.web.browser | 89ae3e2968d998e201f5e27f1036028c4b47e746 | [
"Apache-2.0"
] | null | null | null | src/browser-common-view.cpp | tizenorg/apps.web.browser | 89ae3e2968d998e201f5e27f1036028c4b47e746 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2012 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.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.tizenopensource.org/license
*
* Unless required by applicable law o... | 27.371884 | 115 | 0.746849 | tizenorg |
10d07a0dcbb5aec4ac727656f1c8fda1dfbf79c7 | 1,312 | cpp | C++ | Arduino-master_2/Arduino-master/libraries/CountDown/CountDown.cpp | GHarduino/ArduinoOnlineTrainingClass | b039de3c79da0b8e87272aa911f03128798b7bf8 | [
"MIT"
] | 11 | 2017-05-02T09:50:07.000Z | 2022-01-10T16:06:38.000Z | Arduino-master_2/Arduino-master/libraries/CountDown/CountDown.cpp | GHarduino/ArduinoOnlineTrainingClass | b039de3c79da0b8e87272aa911f03128798b7bf8 | [
"MIT"
] | null | null | null | Arduino-master_2/Arduino-master/libraries/CountDown/CountDown.cpp | GHarduino/ArduinoOnlineTrainingClass | b039de3c79da0b8e87272aa911f03128798b7bf8 | [
"MIT"
] | 2 | 2017-05-15T05:32:07.000Z | 2017-05-23T16:30:20.000Z | //
// FILE: CountDown.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.00
// PURPOSE: CountDown library for Arduino
//
// The library is based upon millis() and therefore
// has the same restrictions as millis() has wrt overflow.
//
// HISTORY:
// 0.1.00 - 2015-10-27 initial version
//
// Released to the public domain
/... | 17.972603 | 58 | 0.605945 | GHarduino |
10d0a391bd08b0c94fc20f244e985af9a74b3c44 | 238 | cpp | C++ | 06 oop/virtual/final.cpp | thenlai/cpp-notes | 9a8fbbc01a12abf874dfa4ffb10414236b8c24eb | [
"MIT"
] | null | null | null | 06 oop/virtual/final.cpp | thenlai/cpp-notes | 9a8fbbc01a12abf874dfa4ffb10414236b8c24eb | [
"MIT"
] | null | null | null | 06 oop/virtual/final.cpp | thenlai/cpp-notes | 9a8fbbc01a12abf874dfa4ffb10414236b8c24eb | [
"MIT"
] | null | null | null | /**
* since c++11
*
*/
class A {
virtual void fn() final;
};
class B final : A {
// error:
void fn() override;
// or, error:
// void fn();
};
// error: B is `final`
class C : B {
};
int main() {
return 0;
} | 10.347826 | 28 | 0.462185 | thenlai |
10d1708809afa14e46400923f7f39134de205a25 | 7,826 | cpp | C++ | head/contrib/groff/src/preproc/eqn/pile.cpp | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 4 | 2016-08-22T22:02:55.000Z | 2017-03-04T22:56:44.000Z | head/contrib/groff/src/preproc/eqn/pile.cpp | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | head/contrib/groff/src/preproc/eqn/pile.cpp | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 1 | 2020-01-04T06:36:39.000Z | 2020-01-04T06:36:39.000Z | // -*- C++ -*-
/* Copyright (C) 1989, 1990, 1991, 1992, 2004 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
groff 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 Foun... | 26.619048 | 76 | 0.567467 | dplbsd |
10d3415f0bf6dfb9b91bc9f696525bab635f0bac | 1,366 | cpp | C++ | tblock/source/GameLogic/Render.cpp | maximbilan/T-Block | b2eb3701a2567590090947a3c3dfb4afe282695a | [
"MIT"
] | 1 | 2016-03-09T13:03:48.000Z | 2016-03-09T13:03:48.000Z | tblock/source/GameLogic/Render.cpp | maximbilan/T-Block | b2eb3701a2567590090947a3c3dfb4afe282695a | [
"MIT"
] | null | null | null | tblock/source/GameLogic/Render.cpp | maximbilan/T-Block | b2eb3701a2567590090947a3c3dfb4afe282695a | [
"MIT"
] | null | null | null | #include "PlatformPrecomp.h"
#include "Render.h"
#include "Board.h"
#include "GUI/GUI_MainMenu.h"
#include "Defines/GameConstants.h"
Render::Render()
{
if( !m_surface.IsLoaded() )
{
char path[256];
sprintf( path, "%s%s", GetApp()->getResourceInstance()->getItem( GetApp()->getResolutionType(), RES_TYPE... | 31.767442 | 157 | 0.674231 | maximbilan |
10d5cb4f7e599120dc0499c44167d82f3b9cfbc5 | 1,486 | hpp | C++ | include/x2boost/flows/single_threaded_flow.hpp | jaykang920/x2boost | 2a1160b7f840b7ceea6b18e61603ab4e0ce7a94c | [
"MIT"
] | null | null | null | include/x2boost/flows/single_threaded_flow.hpp | jaykang920/x2boost | 2a1160b7f840b7ceea6b18e61603ab4e0ce7a94c | [
"MIT"
] | null | null | null | include/x2boost/flows/single_threaded_flow.hpp | jaykang920/x2boost | 2a1160b7f840b7ceea6b18e61603ab4e0ce7a94c | [
"MIT"
] | null | null | null | // Copyright (c) 2014-2017 Jae-jun Kang
// See the file LICENSE for details.
#ifndef X2BOOST_SINGLE_THREADED_FLOW_HPP_
#define X2BOOST_SINGLE_THREADED_FLOW_HPP_
#ifndef X2BOOST_PRE_HPP_
#include "x2boost/pre.hpp"
#endif
#include <boost/bind.hpp>
#include <boost/thread.hpp>
#include "x2boost/flows/event_based_flow.h... | 25.186441 | 97 | 0.625841 | jaykang920 |
10d9b0b871e2fb9e55ea17a6f14df7e05784e5da | 906 | cpp | C++ | Codechef/Div2/Long_Challenge/APRIL21B/BOLT.cpp | Pankajcoder1/Competitive_programming | 72ee0d41f3f72f43a5c2a232255eb84a04b14df9 | [
"MIT"
] | null | null | null | Codechef/Div2/Long_Challenge/APRIL21B/BOLT.cpp | Pankajcoder1/Competitive_programming | 72ee0d41f3f72f43a5c2a232255eb84a04b14df9 | [
"MIT"
] | null | null | null | Codechef/Div2/Long_Challenge/APRIL21B/BOLT.cpp | Pankajcoder1/Competitive_programming | 72ee0d41f3f72f43a5c2a232255eb84a04b14df9 | [
"MIT"
] | 1 | 2020-10-02T04:51:22.000Z | 2020-10-02T04:51:22.000Z | /*
written by Pankaj Kumar.
country:-INDIA
Institute: National Institute of Technology, Uttarakhand
*/
#include<bits/stdc++.h>
using namespace std;
long long solve()
{
double k1,k2,k3,v;
cin>>k1>>k2>>k3>>v;
cout<<setprecision(10)<<fixed;
cout.precision(2);
v=v*k1*k2*k3;
double req_t... | 20.590909 | 60 | 0.582781 | Pankajcoder1 |
10de4211acb431f392544838bd777d84390f3f0b | 878 | cpp | C++ | poo/POO21/matrix.cpp | pganaclara/ufmg | 2325803427a7b4d5d150574bfd80243274cab527 | [
"MIT"
] | null | null | null | poo/POO21/matrix.cpp | pganaclara/ufmg | 2325803427a7b4d5d150574bfd80243274cab527 | [
"MIT"
] | null | null | null | poo/POO21/matrix.cpp | pganaclara/ufmg | 2325803427a7b4d5d150574bfd80243274cab527 | [
"MIT"
] | null | null | null | #include "matrix.h"
Matrix::Matrix(){
nCols = 0;
nRows = 0;
m = 0;
}
Matrix::Matrix(int rows, int cols, double elem){
nCols = cols;
nRows = rows;
m = new double *[rows];
for (int i = 0; i < nRows; i++){
m[i]= new double [nCols];
for (int j = 0; j < nCols; j++) m[i][j]=elem;
... | 18.291667 | 52 | 0.48861 | pganaclara |
10e02f0f4d2b518187620dad4681f4ebae9c6bcb | 2,409 | cpp | C++ | src/egl-client-wayland.cpp | ceyusa/WPEBackend-fdo | e4c578f23359dba4d5abbd14b108f59e1b0701c1 | [
"BSD-2-Clause"
] | 16 | 2018-06-26T13:37:04.000Z | 2022-03-11T14:08:22.000Z | src/egl-client-wayland.cpp | ceyusa/WPEBackend-fdo | e4c578f23359dba4d5abbd14b108f59e1b0701c1 | [
"BSD-2-Clause"
] | 118 | 2018-03-07T11:01:45.000Z | 2022-02-01T19:44:14.000Z | src/egl-client-wayland.cpp | ceyusa/WPEBackend-fdo | e4c578f23359dba4d5abbd14b108f59e1b0701c1 | [
"BSD-2-Clause"
] | 16 | 2018-02-20T19:31:13.000Z | 2021-02-23T21:10:57.000Z | /*
* Copyright (C) 2020 Igalia S.L.
*
* 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 dis... | 27.375 | 79 | 0.75301 | ceyusa |
10e174a1891644c6e05acfb6904f4e33c0edbbb0 | 1,961 | hpp | C++ | include/rasm2/control/trajectory_structures.hpp | ASM-Advised-Projects/rasm-software | e28a17f96f70d89a4939e40a64e9e2e6a5ed7674 | [
"MIT"
] | 3 | 2019-10-31T15:04:35.000Z | 2021-06-24T16:35:18.000Z | include/rasm2/control/trajectory_structures.hpp | ASM-Advised-Projects/rasm-software | e28a17f96f70d89a4939e40a64e9e2e6a5ed7674 | [
"MIT"
] | null | null | null | include/rasm2/control/trajectory_structures.hpp | ASM-Advised-Projects/rasm-software | e28a17f96f70d89a4939e40a64e9e2e6a5ed7674 | [
"MIT"
] | 2 | 2019-02-26T20:41:15.000Z | 2019-05-14T01:40:40.000Z | /**
*
*/
#ifndef RASM2_CONTROL_TRAJECTORY_STRUCTURES_HPP
#define RASM2_CONTROL_TRAJECTORY_STRUCTURES_HPP
#include <vector>
#include <map>
#include <functional>
/**
*
*/
class TrajectorySegment
{
private:
std::vector<double> times;
std::vector<double> positions;
std::function<double (int)> position_function... | 13.431507 | 97 | 0.653238 | ASM-Advised-Projects |
10e1db10fb60276c8e5926e7a6bf5316a14ea427 | 5,655 | cpp | C++ | src/ShaderCompiler.cpp | alandtse/SSEShaderTools | f73f4dcb334ff811bf634caa31ba4073c149e293 | [
"MIT"
] | 1 | 2021-11-11T19:35:42.000Z | 2021-11-11T19:35:42.000Z | src/ShaderCompiler.cpp | alandtse/SSEShaderTools | f73f4dcb334ff811bf634caa31ba4073c149e293 | [
"MIT"
] | 1 | 2021-08-20T02:34:59.000Z | 2022-01-17T04:01:35.000Z | src/ShaderCompiler.cpp | alandtse/SSEShaderTools | f73f4dcb334ff811bf634caa31ba4073c149e293 | [
"MIT"
] | 1 | 2021-11-11T19:35:48.000Z | 2021-11-11T19:35:48.000Z | #include <functional>
#include "d3dcompiler.h"
#include "REL/Relocation.h"
#include "BSShader/BSShaderTypes.h"
#include "offsets.h"
namespace ShaderCompiler
{
REL::Offset<ID3D11Device**> g_ID3D11Device_ptr(Offsets::BSShader::g_ID3D11Device);
BSShader::VertexShader* CompileVertexShader(const std::wstring a_fileP... | 28.275 | 162 | 0.708576 | alandtse |
10e4bb8f7ad5828bb8879c0ba703233171741d8c | 13,588 | cpp | C++ | src/compute.cpp | boberfly/bakec | 4563441ab26b857de6b2e9e6f24b6a965aebccfc | [
"MIT"
] | 3 | 2018-09-07T03:44:08.000Z | 2019-02-19T15:20:26.000Z | src/compute.cpp | boberfly/bakec | 4563441ab26b857de6b2e9e6f24b6a965aebccfc | [
"MIT"
] | null | null | null | src/compute.cpp | boberfly/bakec | 4563441ab26b857de6b2e9e6f24b6a965aebccfc | [
"MIT"
] | null | null | null | /*
Copyright 2018 Oscar Sebio Cajaraville
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distrib... | 32.585132 | 116 | 0.666765 | boberfly |
10e5012f586e23ad32ff55566f1793980129389b | 2,662 | cpp | C++ | tests/test_conv1d.cpp | stdml/stdnn-ops | 0e6132bd65319e318f918094e482482698482e9e | [
"MIT"
] | 3 | 2018-10-23T18:46:39.000Z | 2019-06-24T00:46:10.000Z | tests/test_conv1d.cpp | stdml/stdnn-ops | 0e6132bd65319e318f918094e482482698482e9e | [
"MIT"
] | 27 | 2018-11-10T14:19:16.000Z | 2020-03-08T23:33:01.000Z | tests/test_conv1d.cpp | stdml/stdnn-ops | 0e6132bd65319e318f918094e482482698482e9e | [
"MIT"
] | 1 | 2018-11-05T06:17:12.000Z | 2018-11-05T06:17:12.000Z | #include <ttl/nn/bits/ops/impl/col2im1d.hpp>
#include <ttl/nn/bits/ops/impl/conv1d.hpp>
#include <ttl/nn/bits/ops/impl/im2col1d.hpp>
#include <ttl/nn/testing>
#include <ttl/experimental/show>
template <typename R>
void test_col2im1d(const int n, const int ksize = 1, const int stride = 1,
const int ... | 29.910112 | 74 | 0.579639 | stdml |