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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
62d37f1ac5e0834d7c92802fc4c0bc486ed7b155 | 52,826 | cpp | C++ | java/lib/NetworkTablesJNI.cpp | FRC-Team-5522/ntcore | 64f2033972515d5bdd668fd83d59a14fdc45dc95 | [
"BSD-3-Clause"
] | null | null | null | java/lib/NetworkTablesJNI.cpp | FRC-Team-5522/ntcore | 64f2033972515d5bdd668fd83d59a14fdc45dc95 | [
"BSD-3-Clause"
] | null | null | null | java/lib/NetworkTablesJNI.cpp | FRC-Team-5522/ntcore | 64f2033972515d5bdd668fd83d59a14fdc45dc95 | [
"BSD-3-Clause"
] | null | null | null | #include <jni.h>
#include <atomic>
#include <cassert>
#include <condition_variable>
#include <mutex>
#include <sstream>
#include <queue>
#include <thread>
#include "edu_wpi_first_wpilibj_networktables_NetworkTablesJNI.h"
#include "ntcore.h"
#include "support/atomic_static.h"
#include "support/jni_util.h"
#include "sup... | 30.377228 | 145 | 0.70878 | FRC-Team-5522 |
62d50d0f201b54532f63c389d87c22c86c18ac06 | 2,043 | hh | C++ | Editor/src/EditorLayer.hh | Stolkerve/RoraymaEngine | e8dcddcb6679bb7417b22eaec1d5beb9c0c82cc2 | [
"Apache-2.0"
] | null | null | null | Editor/src/EditorLayer.hh | Stolkerve/RoraymaEngine | e8dcddcb6679bb7417b22eaec1d5beb9c0c82cc2 | [
"Apache-2.0"
] | null | null | null | Editor/src/EditorLayer.hh | Stolkerve/RoraymaEngine | e8dcddcb6679bb7417b22eaec1d5beb9c0c82cc2 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <RoraymaEngine/RoraymaEngine.hh>
#include <RoraymaEngine/Renderer/DynamicGrid.hh>
#include <Portable_File_Dialogs/portable-file-dialogs.h>
#include <pybind11/embed.h>
#include "Panels/RenderingInfoPanel.hh"
#include "Panels/EntitysPanel.hh"
#include "Panels/ConsolePanel.hh"
#include "Panels/Fol... | 28.375 | 60 | 0.771415 | Stolkerve |
62d5c9790141d155adfcb1f0df35a0af5752f48c | 1,273 | cc | C++ | components/language/content/browser/language_code_locator_unittest.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | components/language/content/browser/language_code_locator_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | components/language/content/browser/language_code_locator_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 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 "components/language/content/browser/language_code_locator.h"
#include <string>
#include <vector>
#include "base/logging.h"
#include "testing/g... | 31.825 | 73 | 0.749411 | zipated |
62db8bf1ffbeb25058226e4c340685c3149a1755 | 5,882 | cpp | C++ | store/transaction_test.cpp | racktopsystems/kyua | 1929dccc5cda71cddda71485094822d3c3862902 | [
"BSD-3-Clause"
] | 106 | 2015-01-20T14:49:12.000Z | 2022-03-09T01:31:51.000Z | store/transaction_test.cpp | racktopsystems/kyua | 1929dccc5cda71cddda71485094822d3c3862902 | [
"BSD-3-Clause"
] | 81 | 2015-02-23T23:23:41.000Z | 2021-07-21T13:51:56.000Z | store/transaction_test.cpp | racktopsystems/kyua | 1929dccc5cda71cddda71485094822d3c3862902 | [
"BSD-3-Clause"
] | 27 | 2015-09-30T20:33:34.000Z | 2022-02-14T04:00:08.000Z | // Copyright 2011 The Kyua Authors.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditio... | 34.397661 | 78 | 0.701292 | racktopsystems |
62dbb54076da1e7dc89c683c8f68d6e0dd05517f | 8,630 | hpp | C++ | library/include/darcel/syntax/syntax_parser_expressions.hpp | spiretrading/darcel | a9c32989ad9c1571edaa41c7c3a86b276b782c0d | [
"MIT"
] | null | null | null | library/include/darcel/syntax/syntax_parser_expressions.hpp | spiretrading/darcel | a9c32989ad9c1571edaa41c7c3a86b276b782c0d | [
"MIT"
] | null | null | null | library/include/darcel/syntax/syntax_parser_expressions.hpp | spiretrading/darcel | a9c32989ad9c1571edaa41c7c3a86b276b782c0d | [
"MIT"
] | 1 | 2020-04-17T13:25:25.000Z | 2020-04-17T13:25:25.000Z | #ifndef DARCEL_SYNTAX_PARSER_EXPRESSIONS_HPP
#define DARCEL_SYNTAX_PARSER_EXPRESSIONS_HPP
#include <cassert>
#include <deque>
#include <stack>
#include "darcel/lexicon/token.hpp"
#include "darcel/syntax/arity_syntax_error.hpp"
#include "darcel/syntax/call_expression.hpp"
#include "darcel/syntax/enum_expression.hpp"
#in... | 32.689394 | 77 | 0.597914 | spiretrading |
62dc5f0908a7334acdbe4c118111739fdb3d3238 | 1,237 | hpp | C++ | gamechannel/channelstatejson_tests.hpp | spaceexpanse/libxgame | f604e81d152d8c697846a3a01278e5305a4d6d3e | [
"MIT"
] | null | null | null | gamechannel/channelstatejson_tests.hpp | spaceexpanse/libxgame | f604e81d152d8c697846a3a01278e5305a4d6d3e | [
"MIT"
] | null | null | null | gamechannel/channelstatejson_tests.hpp | spaceexpanse/libxgame | f604e81d152d8c697846a3a01278e5305a4d6d3e | [
"MIT"
] | null | null | null | // Copyright (C) 2019-2022 The Xaya developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "channelstatejson.hpp"
#include "testgame.hpp"
#include <xayautil/hash.hpp>
namespace xaya
{
/**
* Checks if the given ... | 25.770833 | 77 | 0.704123 | spaceexpanse |
62df5958980eba5a621b59eecc3a621259d84021 | 4,967 | cpp | C++ | src/Simd/SimdBaseResizerNearest.cpp | clayne/Simd-1 | bce423fcec65ac969bb251a9647b30a2138e6463 | [
"MIT"
] | null | null | null | src/Simd/SimdBaseResizerNearest.cpp | clayne/Simd-1 | bce423fcec65ac969bb251a9647b30a2138e6463 | [
"MIT"
] | null | null | null | src/Simd/SimdBaseResizerNearest.cpp | clayne/Simd-1 | bce423fcec65ac969bb251a9647b30a2138e6463 | [
"MIT"
] | null | null | null | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2021 Yermalayeu Ihar.
*
* 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 limi... | 40.713115 | 129 | 0.55607 | clayne |
62e49aeefadb410fb1f6c956b11fef6b0488c1f4 | 39,667 | cc | C++ | libgav1/src/dsp/arm/loop_restoration_neon.cc | bootleg-q/external_libgav1 | 4ac298d5dc61c607a03eba5ba66def735b918a86 | [
"Apache-2.0"
] | null | null | null | libgav1/src/dsp/arm/loop_restoration_neon.cc | bootleg-q/external_libgav1 | 4ac298d5dc61c607a03eba5ba66def735b918a86 | [
"Apache-2.0"
] | null | null | null | libgav1/src/dsp/arm/loop_restoration_neon.cc | bootleg-q/external_libgav1 | 4ac298d5dc61c607a03eba5ba66def735b918a86 | [
"Apache-2.0"
] | null | null | null | #include "src/dsp/dsp.h"
#include "src/dsp/loop_restoration.h"
#if LIBGAV1_ENABLE_NEON
#include <arm_neon.h>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include "src/dsp/arm/common_neon.h"
#include "src/utils/constants.h"
namespace libgav1 {
namespace dsp {
namespace low_bitdepth {
namespace {
// Wi... | 37.634725 | 80 | 0.626112 | bootleg-q |
62e5bd5ca39ef948c79d742c1541c39dfa50bdcf | 358 | hpp | C++ | src/properties/Manager.hpp | mechanicsfoundry/raytracinginoneweekend-glsl | 515905135456fe263be9bc13b708222c28827a4d | [
"MIT"
] | 4 | 2021-03-01T13:33:30.000Z | 2021-03-14T20:05:00.000Z | src/properties/Manager.hpp | mechanicsfoundry/raytracinginoneweekend-glsl | 515905135456fe263be9bc13b708222c28827a4d | [
"MIT"
] | null | null | null | src/properties/Manager.hpp | mechanicsfoundry/raytracinginoneweekend-glsl | 515905135456fe263be9bc13b708222c28827a4d | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <vector>
#include "IProperty.hpp"
namespace Properties
{
class Manager
{
private:
std::vector<IProperty*> properties;
public:
Manager() = default;
Manager(const Manager&) = delete;
void Add(IProperty* property);
void Up... | 15.565217 | 43 | 0.611732 | mechanicsfoundry |
62e8100c09be0bf0e04e5166329ffcd5e777a3a7 | 1,438 | cpp | C++ | codeforces/G - Water Testing/Wrong answer on test 3.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/G - Water Testing/Wrong answer on test 3.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/G - Water Testing/Wrong answer on test 3.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729# created: Feb/05/2020 17:11
* solution_verdict: Wrong answer on test 3 language: GNU C++14
* run... | 35.95 | 111 | 0.467316 | kzvd4729 |
62eabd5002a716d594338913741a44380b9dfffa | 1,745 | cpp | C++ | Source/Tools/ParticleEditor2D/ParticleEffectEditor.cpp | aster2013/ParticleEditor2D | 2c0e5605c6df1e9fb796b728b05671ac2b609032 | [
"MIT"
] | 27 | 2015-01-21T07:39:32.000Z | 2021-04-26T22:21:09.000Z | Source/Tools/ParticleEditor2D/ParticleEffectEditor.cpp | seem-sky/ParticleEditor2D | 2c0e5605c6df1e9fb796b728b05671ac2b609032 | [
"MIT"
] | 1 | 2015-05-05T17:04:51.000Z | 2015-05-07T17:42:06.000Z | Source/Tools/ParticleEditor2D/ParticleEffectEditor.cpp | seem-sky/ParticleEditor2D | 2c0e5605c6df1e9fb796b728b05671ac2b609032 | [
"MIT"
] | 15 | 2015-06-04T10:22:05.000Z | 2021-02-11T01:00:32.000Z | //
// Copyright (c) 2014 the ParticleEditor2D project.
//
// 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, modi... | 28.145161 | 80 | 0.755301 | aster2013 |
62ebdc51ea7fe8078cd0d8431768d04243ad03eb | 2,732 | cpp | C++ | VoiceBridge/VoiceBridge/kaldi-win/src/gmmbin/gmm-sum-accs.cpp | sanyaade-teachings/VoiceBridge | 348b0931f2bfaf33b7e0d18c68c50f448ab3de5c | [
"Apache-2.0"
] | 18 | 2018-02-15T03:14:32.000Z | 2021-07-06T08:21:13.000Z | VoiceBridge/VoiceBridge/kaldi-win/src/gmmbin/gmm-sum-accs.cpp | sanyaade-teachings/VoiceBridge | 348b0931f2bfaf33b7e0d18c68c50f448ab3de5c | [
"Apache-2.0"
] | 3 | 2020-10-25T16:35:55.000Z | 2020-10-26T04:59:46.000Z | VoiceBridge/VoiceBridge/kaldi-win/src/gmmbin/gmm-sum-accs.cpp | sanyaade-teachings/VoiceBridge | 348b0931f2bfaf33b7e0d18c68c50f448ab3de5c | [
"Apache-2.0"
] | 7 | 2018-09-16T20:40:17.000Z | 2021-07-06T08:21:14.000Z | /*
Copyright 2017-present Zoltan Somogyi (AI-TOOLKIT), All Rights Reserved
You may use this file only if you agree to the software license:
AI-TOOLKIT Open Source Software License - Version 2.1 - February 22, 2018:
https://ai-toolkit.blogspot.com/p/ai-toolkit-open-source-software-license.html.
Also included with th... | 33.728395 | 88 | 0.647145 | sanyaade-teachings |
62f01052b08b5ca16cc5f6edce33a0f772c89d3b | 1,094 | cpp | C++ | main/lucid/managed/Orbit/StarCatalog.cpp | irumsey/ijrumsey.com | 3dcf909eada5a09d39e6bf89a1f0bf1fa7328789 | [
"MIT"
] | null | null | null | main/lucid/managed/Orbit/StarCatalog.cpp | irumsey/ijrumsey.com | 3dcf909eada5a09d39e6bf89a1f0bf1fa7328789 | [
"MIT"
] | null | null | null | main/lucid/managed/Orbit/StarCatalog.cpp | irumsey/ijrumsey.com | 3dcf909eada5a09d39e6bf89a1f0bf1fa7328789 | [
"MIT"
] | null | null | null | #include "StarCatalog.h"
#include <lucid/orbit/Ephemeris.h>
#include <msclr/marshal_cppstd.h>
namespace /* anonymous */ {
namespace MI = msclr::interop;
namespace orbit = ::lucid::orbit;
}
#define theCatalog (orbit::StarCatalog::instance())
namespace Lucid {
namespace Orbit {
///
///
///
StarCatalogE... | 16.328358 | 75 | 0.681901 | irumsey |
62f1639e2530aae54c41d9b2b049a17af58471f2 | 6,375 | cc | C++ | src/TransformationUtils.cc | usi-verification-and-security/golem | 4ea1a531a59575a9c0c0254201d90d52547152ff | [
"MIT"
] | 6 | 2021-08-16T09:57:38.000Z | 2021-12-02T11:06:23.000Z | src/TransformationUtils.cc | usi-verification-and-security/golem | 4ea1a531a59575a9c0c0254201d90d52547152ff | [
"MIT"
] | null | null | null | src/TransformationUtils.cc | usi-verification-and-security/golem | 4ea1a531a59575a9c0c0254201d90d52547152ff | [
"MIT"
] | null | null | null | //
// Created by Martin Blicha on 01.06.21.
//
#include "TransformationUtils.h"
#include "QuantifierElimination.h"
bool isTransitionSystem(ChcDirectedGraph const & graph) {
auto graphRepresentation = AdjacencyListsGraphRepresentation::from(graph);
auto reversePostorder = graphRepresentation.reversePostOrder()... | 56.415929 | 160 | 0.643922 | usi-verification-and-security |
62f4b90ade6d7eb27553a3d8531e3a916f834084 | 3,515 | cpp | C++ | src/tools/bench_perft.cpp | sgriffin53/swizzles | 61b2c81cee2a994adb623a5185c55823b194eb32 | [
"MIT"
] | null | null | null | src/tools/bench_perft.cpp | sgriffin53/swizzles | 61b2c81cee2a994adb623a5185c55823b194eb32 | [
"MIT"
] | null | null | null | src/tools/bench_perft.cpp | sgriffin53/swizzles | 61b2c81cee2a994adb623a5185c55823b194eb32 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <chess/position.hpp>
#include <chrono>
#include <cstdint>
#include <iomanip>
#include <iostream>
[[nodiscard]] auto perft(chess::Position &pos, const int depth) noexcept -> std::uint64_t {
if (depth == 0) {
return 1ULL;
}
std::uint64_t nodes = 0ULL;
... | 33.798077 | 91 | 0.576671 | sgriffin53 |
62f607229fe64c3cc64ee48ad9393741eef15b7e | 2,675 | cpp | C++ | main.cpp | JacobLCarter/Doodlebugs | 3dba972079cf2e09314b61dd2182d66450300368 | [
"MIT"
] | null | null | null | main.cpp | JacobLCarter/Doodlebugs | 3dba972079cf2e09314b61dd2182d66450300368 | [
"MIT"
] | null | null | null | main.cpp | JacobLCarter/Doodlebugs | 3dba972079cf2e09314b61dd2182d66450300368 | [
"MIT"
] | null | null | null | /*******************************************************************************
* Program Name: main.cpp
* Author: Matt Dienhart
* Date: 2/10/2018
* Description: (Group Project) This is the main client code for the predator
* and prey simulation.
*****************************************************************... | 32.228916 | 83 | 0.496822 | JacobLCarter |
62f6dcde97fb0d69f669b7f9460488884cfe1855 | 305 | hpp | C++ | cpp-terminal/private/inputOutputModeFlags.hpp | jupyter-xeus/terminal | 932ca39faaa9a7adbef4a04c5286313553638eb3 | [
"Unlicense"
] | 2 | 2020-10-21T15:16:20.000Z | 2020-10-21T15:27:30.000Z | cpp-terminal/private/inputOutputModeFlags.hpp | jupyter-xeus/terminal | 932ca39faaa9a7adbef4a04c5286313553638eb3 | [
"Unlicense"
] | 1 | 2020-10-21T15:18:09.000Z | 2020-10-21T15:18:09.000Z | cpp-terminal/private/inputOutputModeFlags.hpp | jupyter-xeus/terminal | 932ca39faaa9a7adbef4a04c5286313553638eb3 | [
"Unlicense"
] | 1 | 2020-10-21T15:18:11.000Z | 2020-10-21T15:18:11.000Z | #pragma once
#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
#endif
#ifndef DISABLE_NEWLINE_AUTO_RETURN
#define DISABLE_NEWLINE_AUTO_RETURN 0x0008
#endif
#ifndef ENABLE_VIRTUAL_TERMINAL_INPUT
#define ENABLE_VIRTUAL_TERMINAL_INPUT 0x0200
#endif
| 21.785714 | 50 | 0.84918 | jupyter-xeus |
62f7dcde820b7135a5ff4ca5a59fc42b32742544 | 5,302 | cpp | C++ | Libraries/AssetProcessor/ExAPBitmapXXXA32.cpp | tom-weatherhead/exeter-asset-processor | e19c777427afe66684f308cb7b07448b3481c25e | [
"MIT"
] | null | null | null | Libraries/AssetProcessor/ExAPBitmapXXXA32.cpp | tom-weatherhead/exeter-asset-processor | e19c777427afe66684f308cb7b07448b3481c25e | [
"MIT"
] | null | null | null | Libraries/AssetProcessor/ExAPBitmapXXXA32.cpp | tom-weatherhead/exeter-asset-processor | e19c777427afe66684f308cb7b07448b3481c25e | [
"MIT"
] | null | null | null | /*
* ExAPBitmapXXXA32.cpp
* Exeter AssetProcessor
*
* Created by Tom Weatherhead on Fri May 02 2003.
* Copyright (c) 2003 by Tom Weatherhead. All rights reserved.
*
*/
#include "ExAPBitmapXXXA32.h"
#include "ExAPBitmapXXX24.h"
ExAPBitmapXXXA32::ExAPBitmapXXXA32( ExAPColourModel::ModelType col... | 32.728395 | 127 | 0.662203 | tom-weatherhead |
62f7f183e0593529f8414d22e2cd8e6f5489c4d4 | 43,505 | cpp | C++ | main.cpp | alechh/test-opencv | ab82723e4f9dda88a63add60d5f28dda5a22bc73 | [
"Apache-2.0"
] | 1 | 2022-03-24T08:05:22.000Z | 2022-03-24T08:05:22.000Z | main.cpp | alechh/test-opencv | ab82723e4f9dda88a63add60d5f28dda5a22bc73 | [
"Apache-2.0"
] | null | null | null | main.cpp | alechh/test-opencv | ab82723e4f9dda88a63add60d5f28dda5a22bc73 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <string>
#include <set>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/imgproc/imgproc_c.h>
#include <opencv2/opencv.hpp>
#include <cmath>
#include "SpaceKB.h"
#include "IntervalsList.h"
#include "I... | 30.465686 | 165 | 0.574026 | alechh |
62f921f88a1f8e9a7de7c302abaeb32ddd613637 | 2,927 | cpp | C++ | Sesion12/Palindromo&Invertido(clase).cpp | dcabezas98/FP | af9d418e934a99f425e232f31c71c5904e972215 | [
"MIT"
] | null | null | null | Sesion12/Palindromo&Invertido(clase).cpp | dcabezas98/FP | af9d418e934a99f425e232f31c71c5904e972215 | [
"MIT"
] | null | null | null | Sesion12/Palindromo&Invertido(clase).cpp | dcabezas98/FP | af9d418e934a99f425e232f31c71c5904e972215 | [
"MIT"
] | null | null | null | /* Programa que dice si una secuencia de carácteres introducida es un
palíndromo y, en caso negativo, devuelve la secuencia
invertida. Estaos algoritmos están como métodos de clase
EsPalindromo en la línea 30 e Invierte en la línea 45 */
#include<iostream>
using namespace std;
// Secuencia de caracteres
cl... | 25.902655 | 143 | 0.683977 | dcabezas98 |
62fc3533e5b786b6c8bc1f9e8f80dde0c6f6031b | 4,034 | cpp | C++ | query/CQueryUtil.cpp | Sigil-Ebook/sigil-query | 0be1cc9c44beaf7c4e2ee9fed6700013bb737aed | [
"Apache-2.0",
"MIT"
] | 1 | 2021-12-04T07:12:33.000Z | 2021-12-04T07:12:33.000Z | query/CQueryUtil.cpp | Sigil-Ebook/sigil-query | 0be1cc9c44beaf7c4e2ee9fed6700013bb737aed | [
"Apache-2.0",
"MIT"
] | null | null | null | query/CQueryUtil.cpp | Sigil-Ebook/sigil-query | 0be1cc9c44beaf7c4e2ee9fed6700013bb737aed | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-06T09:33:07.000Z | 2021-07-06T09:33:07.000Z | /**********************************************************************************
**
** SigilQuery for Gumbo
**
** A C++ library that provides jQuery-like selectors for Google's Gumbo-Parser.
** Selector engine is an implementation based on cascadia.
**
** Based on: "gumbo-query" https://github.com/lazytig... | 30.104478 | 91 | 0.588746 | Sigil-Ebook |
62fe1ff258c2dc4f541843a34f65206639a3e010 | 45 | hpp | C++ | src/boost_log_expressions_message.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_log_expressions_message.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_log_expressions_message.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/log/expressions/message.hpp>
| 22.5 | 44 | 0.8 | miathedev |
62fe3593c590a7255760529e008fe587a59f957a | 695 | cpp | C++ | src/regiondump.cpp | saadbruno/MinedMap | fbef307c90a96b39dde1f36f2ebe1f764c18bdd2 | [
"BSD-2-Clause"
] | null | null | null | src/regiondump.cpp | saadbruno/MinedMap | fbef307c90a96b39dde1f36f2ebe1f764c18bdd2 | [
"BSD-2-Clause"
] | null | null | null | src/regiondump.cpp | saadbruno/MinedMap | fbef307c90a96b39dde1f36f2ebe1f764c18bdd2 | [
"BSD-2-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-2-Clause
/*
Copyright (c) 2018-2021, Matthias Schiffer <mschiffer@universe-factory.net>
All rights reserved.
*/
#include "Buffer.hpp"
#include "GZip.hpp"
#include "Util.hpp"
#include "NBT/Tag.hpp"
#include "World/Region.hpp"
#include <cstdio>
#include <iostream>
int main(int arg... | 21.060606 | 104 | 0.640288 | saadbruno |
62fe4c61d30b14d9b346420c91d548fdc3779d48 | 992 | cc | C++ | RAVL2/Audio/IO/TranscriptionFiles.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Audio/IO/TranscriptionFiles.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Audio/IO/TranscriptionFiles.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2003, OmniPerception Ltd.
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here
... | 28.342857 | 104 | 0.735887 | isuhao |
62fe584a5624af69eff88c8d599eab4996a0f4ee | 1,073 | cpp | C++ | tests/buffer.cpp | quarkslab/nodescan | 2c9f14ed4cb1e1548a73c6a565b96d5618bd4c0a | [
"BSD-3-Clause"
] | 11 | 2015-01-01T05:37:01.000Z | 2021-11-15T10:45:00.000Z | tests/buffer.cpp | quarkslab/nodescan | 2c9f14ed4cb1e1548a73c6a565b96d5618bd4c0a | [
"BSD-3-Clause"
] | null | null | null | tests/buffer.cpp | quarkslab/nodescan | 2c9f14ed4cb1e1548a73c6a565b96d5618bd4c0a | [
"BSD-3-Clause"
] | 4 | 2015-04-20T01:28:28.000Z | 2021-11-14T03:26:49.000Z | #include <ns/buffer.h>
#include <string.h>
#include <iostream>
typedef ns::Buffer<unsigned char, uint32_t> BufferU8;
int main()
{
int ret = 0;
#define CHECK(b)\
if (!(b)) {\
ret = 1;\
std::cerr << #b << " check failed" << std::endl;\
}\
BufferU8 b;
CHECK(b.begin() == nullptr);
unsigned char* buf = b.grow_b... | 21.46 | 60 | 0.589935 | quarkslab |
62ff7bfd4b6ffc4d7749930ef93a8426d6709b99 | 691 | cpp | C++ | src/kivm/oop/mirrorKlass.cpp | arthur-zhang/KiVM | 63471a10243f3e24033ab681ff79a12ee87c75cb | [
"MIT"
] | 183 | 2018-03-01T08:20:29.000Z | 2022-03-27T15:04:34.000Z | src/kivm/oop/mirrorKlass.cpp | arthur-zhang/KiVM | 63471a10243f3e24033ab681ff79a12ee87c75cb | [
"MIT"
] | 6 | 2019-01-10T07:12:59.000Z | 2022-03-10T15:20:58.000Z | src/kivm/oop/mirrorKlass.cpp | arthur-zhang/KiVM | 63471a10243f3e24033ab681ff79a12ee87c75cb | [
"MIT"
] | 32 | 2018-04-16T04:37:32.000Z | 2022-03-13T03:45:17.000Z | //
// Created by kiva on 2018/2/28.
//
#include <kivm/oop/mirrorKlass.h>
#include <kivm/oop/mirrorOop.h>
namespace kivm {
mirrorOop mirrorKlass::newMirror(Klass *target, mirrorOop loader) {
if (target != nullptr && target->getName() == L"java/lang/Exception") {
BootstrapClassLoader::get()->loa... | 28.791667 | 79 | 0.525326 | arthur-zhang |
62ffd25eb0086556d1d5c7f58a3f54aec6e6aa30 | 400 | cpp | C++ | problem/01000~09999/01934/1934.cpp14.cpp | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/01000~09999/01934/1934.cpp14.cpp | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/01000~09999/01934/1934.cpp14.cpp | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | #include <iostream>
using namespace std;
#define MIN(x,y) (((x)<(y))?(x):(y))
#define MAX(x,y) (((x)>(y))?(x):(y))
int GetLCM(int x, int y){
for(int i=1;i<=MIN(x,y);i++){
if((MAX(x,y)*i)%MIN(x,y) == 0)
return MAX(x,y)*i;
}
return 0;
}
int main(){
int T;
cin >> T;
for(int i=0;i<T;i++){
in... | 15.384615 | 36 | 0.4575 | njw1204 |
1a056e69763217dfae0dfd7bcb476993907d25fb | 2,982 | cpp | C++ | src/game/src/states/chooseMap/ChooseMapState.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | 6 | 2021-04-20T10:32:29.000Z | 2021-06-05T11:48:56.000Z | src/game/src/states/chooseMap/ChooseMapState.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | 1 | 2021-05-18T21:00:12.000Z | 2021-06-02T07:59:03.000Z | src/game/src/states/chooseMap/ChooseMapState.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | 3 | 2020-09-12T08:54:04.000Z | 2021-04-17T11:16:36.000Z | #include "ChooseMapState.h"
#include <utility>
#include "ChooseMapStateUIConfigBuilder.h"
#include "TimerFactory.h"
namespace game
{
namespace
{
const auto buttonColor = graphics::Color(251, 190, 102);
const auto buttonHoverColor = graphics::Color(205, 128, 66);
}
ChooseMapState::ChooseMapState(const std::shared_pt... | 31.723404 | 108 | 0.64051 | walter-strazak |
1a07307aaf3a85edf9913efbd7ac10648c89dae5 | 544 | cpp | C++ | Components/Tower/Tower.cpp | Nayaco/OpenGLBoilerplate | a53d58c1c413b20ab17e73017fc65133949b7fff | [
"MIT"
] | null | null | null | Components/Tower/Tower.cpp | Nayaco/OpenGLBoilerplate | a53d58c1c413b20ab17e73017fc65133949b7fff | [
"MIT"
] | null | null | null | Components/Tower/Tower.cpp | Nayaco/OpenGLBoilerplate | a53d58c1c413b20ab17e73017fc65133949b7fff | [
"MIT"
] | null | null | null | #include "Tower.hpp"
Tower::Tower()
:aabbbox(glm::vec3(2.0f, 12.0f, 2.0f))
, model("Resources/Models/LightHouse/lightHouse.obj") {
position = glm::vec3(9.5, 1.0, 9.5);
center = glm::vec3(10.0, 1.0, 10.0);
aabbbox.update(position);
}
void Tower::draw(Shader const &shader) {
glm::mat4 model_matr... | 32 | 71 | 0.637868 | Nayaco |
1a073cbd15967313cbe07ac25ede9caca77bb928 | 1,498 | cpp | C++ | CPlusPlus/STL/Vector/Vector Concepts/Src/Main.cpp | BillyFrcs/CPPPrograming | 3904d30413aaea6c9109b8c5250c44c67aa0fc20 | [
"MIT"
] | 3 | 2021-12-17T02:45:51.000Z | 2022-03-31T23:55:38.000Z | CPlusPlus/STL/Vector/Vector Concepts/Src/Main.cpp | BillyFrcs/Programming | 32dc67ce4c12189b56921de63446d79c25799457 | [
"MIT"
] | 1 | 2021-06-12T08:28:38.000Z | 2021-06-12T08:28:38.000Z | CPlusPlus/STL/Vector/Vector Concepts/Src/Main.cpp | BillyFrcs/Programming | 32dc67ce4c12189b56921de63446d79c25799457 | [
"MIT"
] | 2 | 2021-04-28T20:08:55.000Z | 2021-05-25T08:45:54.000Z | #include <iostream>
#include <vector>
void Vertex()
{
std::vector<long> vertices = {12, 55, 87, 90, 23};
int cap = vertices.capacity(), i = 0;
while (i < 100)
{
i++;
vertices.push_back(i);
if (cap != vertices.capacity())
{
cap = vertices.capac... | 23.777778 | 100 | 0.482644 | BillyFrcs |
1a26c5fb866a507b8696c3d428fd6bb9f5129513 | 22,214 | cc | C++ | flecsi-sp/burton/test/portage_tangram.cc | losalamos/flecsi-specializations | 69c2f964e154d576a142c5c8ee707d050a5fb71d | [
"Unlicense"
] | 1 | 2020-09-01T17:33:38.000Z | 2020-09-01T17:33:38.000Z | flecsi-sp/burton/test/portage_tangram.cc | losalamos/flecsi-specializations | 69c2f964e154d576a142c5c8ee707d050a5fb71d | [
"Unlicense"
] | 31 | 2017-03-21T01:58:03.000Z | 2020-01-23T00:43:32.000Z | flecsi-sp/burton/test/portage_tangram.cc | losalamos/flecsi-specializations | 69c2f964e154d576a142c5c8ee707d050a5fb71d | [
"Unlicense"
] | 12 | 2017-01-10T23:41:10.000Z | 2022-03-23T20:33:17.000Z | /*~-------------------------------------------------------------------------~~*
* Copyright (c) 2016 Los Alamos National Laboratory, LLC
* All rights reserved
*~-------------------------------------------------------------------------~~*/
//////////////////////////////////////////////////////////////////////////////... | 32.008646 | 119 | 0.591159 | losalamos |
1a2899cfd646c5f350dc2a0e4b1ce7b59a07c00b | 16,571 | cpp | C++ | libs2ecore/src/S2EExecutionStateMemory.cpp | sebastianpoeplau/s2e | 995cac6126e7d80337e8c4a72bfa9a87eea7eb68 | [
"MIT"
] | 55 | 2019-12-20T03:25:14.000Z | 2022-01-16T07:19:47.000Z | libs2ecore/src/S2EExecutionStateMemory.cpp | Moirai7/s2e | 5a321f76d1a862c3898b9d24de621109b0c12b7d | [
"MIT"
] | 2 | 2020-11-02T08:01:00.000Z | 2022-03-27T02:59:18.000Z | libs2ecore/src/S2EExecutionStateMemory.cpp | Moirai7/s2e | 5a321f76d1a862c3898b9d24de621109b0c12b7d | [
"MIT"
] | 11 | 2020-08-06T03:59:45.000Z | 2022-02-25T02:31:59.000Z | ///
/// Copyright (C) 2012-2016, Dependable Systems Laboratory, EPFL
/// Copyright (C) 2015-2016, Cyberhaven
///
/// 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, inc... | 35.40812 | 118 | 0.627301 | sebastianpoeplau |
1a28efa77fbe1db28227d6e1016da705500f6d11 | 1,357 | cpp | C++ | src/lib/clxx/cl/platforms.cpp | ptomulik/clxx | 9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8 | [
"MIT"
] | 1 | 2015-08-12T13:11:35.000Z | 2015-08-12T13:11:35.000Z | src/lib/clxx/cl/platforms.cpp | ptomulik/clxx | 9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8 | [
"MIT"
] | 67 | 2015-01-03T10:11:13.000Z | 2015-10-21T11:03:06.000Z | src/lib/clxx/cl/platforms.cpp | ptomulik/clxx | 9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8 | [
"MIT"
] | null | null | null | // @COPYRIGHT@
// Licensed under MIT license (LICENSE.txt)
// clxx/cl/platforms.cpp
/** // doc: clxx/cl/platforms.cpp {{{
* \file clxx/cl/platforms.cpp
* \brief Implements functions for retrieval of \ref clxx::platform "platform" objects
*/ // }}}
#include <clxx/cl/platforms.hpp>
#include <clxx/cl/functions.hpp>
... | 27.693878 | 86 | 0.509211 | ptomulik |
1a291ad4eb8c9e22e9f3840466bf734d83d9679b | 1,188 | cpp | C++ | YASS/Particle.cpp | Marrow16180/YASS | 8a27bc7f07f0b65b847b0be0a2683e650895a33a | [
"MIT"
] | null | null | null | YASS/Particle.cpp | Marrow16180/YASS | 8a27bc7f07f0b65b847b0be0a2683e650895a33a | [
"MIT"
] | null | null | null | YASS/Particle.cpp | Marrow16180/YASS | 8a27bc7f07f0b65b847b0be0a2683e650895a33a | [
"MIT"
] | null | null | null | #include "Particle.hpp"
Particle::Particle()
{
// TODO: check whether this can be empty...
}
Particle::Particle
(
const sf::Texture * texture,
float rotation,
sf::Vector2f position,
sf::Vector2f scale,
sf::Time lifetime,
sf::Color color
)
: sprite{*texture}
, initialLifetime{lifetime}
, lifetime{lifeti... | 21.214286 | 150 | 0.728956 | Marrow16180 |
1a30303f5dd5e68f57c537df63b721ba83a809fd | 3,951 | cpp | C++ | py_actusensor_wrapper_epuck.cpp | KenN7/argos-python | dc88da6d821a738ba5504c753e8a0117307519c6 | [
"MIT"
] | 3 | 2021-07-29T13:07:53.000Z | 2021-09-23T23:40:31.000Z | py_actusensor_wrapper_epuck.cpp | KenN7/argos-python | dc88da6d821a738ba5504c753e8a0117307519c6 | [
"MIT"
] | 1 | 2019-07-18T14:35:53.000Z | 2019-07-18T14:35:53.000Z | py_actusensor_wrapper_epuck.cpp | KenN7/argos-python | dc88da6d821a738ba5504c753e8a0117307519c6 | [
"MIT"
] | 2 | 2021-12-28T02:36:22.000Z | 2022-03-31T22:24:19.000Z | #include "py_actusensor_wrapper_epuck.h"
#include "py_wrapper.h"
using namespace argos;
/****************************************/
/****************************************/
CEPuckWheelsWrapper::CEPuckWheelsWrapper()
{
}
void CEPuckWheelsWrapper::SetSpeed(const Real f_left_wheel_speed, const Real f_right_wheel_spee... | 32.385246 | 135 | 0.67021 | KenN7 |
1a31253306a10fedc56581bd6ff451d20a985564 | 1,016 | cpp | C++ | self-study/c++/books/bjarne-stroustrup-programming-principles-and-practice/chapter-4/exercises/18.cpp | mcqueenjordan/learning_sandbox | ffe739ba3ad7b62938daaa271e9f738c305f4499 | [
"MIT"
] | 1 | 2018-05-12T04:52:21.000Z | 2018-05-12T04:52:21.000Z | self-study/c++/books/bjarne-stroustrup-programming-principles-and-practice/chapter-4/exercises/18.cpp | mcqueenjordan/learning | ffe739ba3ad7b62938daaa271e9f738c305f4499 | [
"MIT"
] | 1 | 2016-06-03T00:42:17.000Z | 2016-06-07T01:55:33.000Z | self-study/c++/books/bjarne-stroustrup-programming-principles-and-practice/chapter-4/exercises/18.cpp | mcqueenjordan/learning_sandbox | ffe739ba3ad7b62938daaa271e9f738c305f4499 | [
"MIT"
] | null | null | null | // Write a program to solve quadratic equations.
#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<cmath>
#include<regex>
#include<map>
std::vector<double> solve(double a, double b, double c)
{
std::vector<double> answer(2, 0);
answer[0] = (-(b) + std::sqrt(std::pow(b, 2) - 4 *... | 23.090909 | 79 | 0.46752 | mcqueenjordan |
1a330adf76189bc21b7a9d5c2600209399904530 | 1,434 | cpp | C++ | test-namedecl.cpp | erdavila/typedecl | e3aaf4b6f0a44d0791d96a86049fd517e88ad428 | [
"MIT"
] | 1 | 2016-09-07T01:44:51.000Z | 2016-09-07T01:44:51.000Z | test-namedecl.cpp | erdavila/typedecl | e3aaf4b6f0a44d0791d96a86049fd517e88ad428 | [
"MIT"
] | null | null | null | test-namedecl.cpp | erdavila/typedecl | e3aaf4b6f0a44d0791d96a86049fd517e88ad428 | [
"MIT"
] | null | null | null | #include <cassert>
#include "typedecl.hpp"
struct C {};
DEFINE_TYPEDECL(C);
void testNameDecl() {
assert(namedecl<int>("name") == "int name");
assert(namedecl<const int>("name") == "const int name");
assert(namedecl<int&>("name") == "int& name");
assert(namedecl<int[3]>("name") == "int name[3]");
assert(namedecl... | 47.8 | 85 | 0.569735 | erdavila |
1a3cdf94bacb562759ad6118e0da5f352feb0ad5 | 1,298 | cpp | C++ | hardwork/leetcode/454. 4Sum II.cpp | jskyzero/Cplusplus.Playground | b4a82bb32af04efcffb6e251ac8956a3cc316174 | [
"MIT"
] | null | null | null | hardwork/leetcode/454. 4Sum II.cpp | jskyzero/Cplusplus.Playground | b4a82bb32af04efcffb6e251ac8956a3cc316174 | [
"MIT"
] | null | null | null | hardwork/leetcode/454. 4Sum II.cpp | jskyzero/Cplusplus.Playground | b4a82bb32af04efcffb6e251ac8956a3cc316174 | [
"MIT"
] | null | null | null | /*
* leetcode solution
*
* jskyzero
*
* */
// universal header file
#include <algorithm>
#include <cassert>
#include <ciso646>
#include <cstdlib>
#include <cmath>
#include <iostream>
#include <memory>
#include <numeric>
#include <map>
#include <unordered_map>
#include <set>
#include <stack>
#include <vector>
#include ... | 18.28169 | 86 | 0.524653 | jskyzero |
1a3d23bd2bdc663ba141191f2d9d746c2f24f625 | 365 | cpp | C++ | JsonBoolean.cpp | JCodeARM/JSON | 1447fb92e75b3cceeb90f46e3ba90e2ff1ed4a1c | [
"Unlicense"
] | null | null | null | JsonBoolean.cpp | JCodeARM/JSON | 1447fb92e75b3cceeb90f46e3ba90e2ff1ed4a1c | [
"Unlicense"
] | null | null | null | JsonBoolean.cpp | JCodeARM/JSON | 1447fb92e75b3cceeb90f46e3ba90e2ff1ed4a1c | [
"Unlicense"
] | null | null | null | //
// JsonBoolean.cpp
// JSON
//
// Created by Iulian on 13.03.2013.
//
#include "JsonBoolean.hpp"
JsonBoolean::JsonBoolean(bool vBool):JsonBase(),lBool(vBool){
lType=JsonType::Boolean;
}
JsonBoolean::~JsonBoolean(){
}
JsonStream & operator <<(JsonStream & lout, const JsonBoolean &lin){
lout<<(lin.l... | 17.380952 | 68 | 0.649315 | JCodeARM |
1a444d8bc7c68d50ac46033c3c526dcd36e33976 | 18,882 | hpp | C++ | include/codegen/include/System/NumberFormatter.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/NumberFormatter.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/NumberFormatter.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Completed includes
// Begin forward declares
// Forward declaring names... | 50.218085 | 236 | 0.738004 | Futuremappermydud |
1a48d2b92002de152c6f2479b4416c8f92678a69 | 36,943 | cc | C++ | src/glusterfsHelper.cc | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2018-06-04T08:08:11.000Z | 2018-06-04T08:08:11.000Z | src/glusterfsHelper.cc | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2019-03-26T11:15:13.000Z | 2019-03-26T11:15:13.000Z | src/glusterfsHelper.cc | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2018-02-05T09:19:45.000Z | 2018-02-05T09:19:45.000Z | /**
* @file glusterfsHelper.cc
* @author Bartek Kryza
* @copyright (C) 2017 ACK CYFRONET AGH
* @copyright This software is released under the MIT license cited in
* 'LICENSE.txt'
*/
#include "glusterfsHelper.h"
#include "helpers/logging.h"
#include "monitoring/monitoring.h"
#include <boost/algorithm/string.hpp>... | 33.615105 | 80 | 0.552364 | onedata |
1a550c081d7f1d05ab4680274e01ebdd688f4f3d | 7,734 | hpp | C++ | include/QvPlugin/PluginInterface.hpp | Shadowsocks-NET/QvPlugin-Interface | b767b4ceb48b29c739ba6b09db7c46dc2b9c2dff | [
"MIT"
] | null | null | null | include/QvPlugin/PluginInterface.hpp | Shadowsocks-NET/QvPlugin-Interface | b767b4ceb48b29c739ba6b09db7c46dc2b9c2dff | [
"MIT"
] | null | null | null | include/QvPlugin/PluginInterface.hpp | Shadowsocks-NET/QvPlugin-Interface | b767b4ceb48b29c739ba6b09db7c46dc2b9c2dff | [
"MIT"
] | 2 | 2021-11-23T03:16:22.000Z | 2021-11-23T03:17:47.000Z | #pragma once
#include "QvPlugin/Common/QvPluginBase.hpp"
#include "QvPlugin/Connections/ConnectionsBase.hpp"
#include "QvPlugin/Handlers/EventHandler.hpp"
#include "QvPlugin/Handlers/IProfilePreprocessor.hpp"
#include "QvPlugin/Handlers/KernelHandler.hpp"
#include "QvPlugin/Handlers/LatencyTestHandler.hpp"
#include "Q... | 40.492147 | 170 | 0.584044 | Shadowsocks-NET |
1a59420b53fce129c6276096888dd1dfc1949e88 | 123 | hpp | C++ | Algorithms/Two Sum/include/Solution.hpp | Jim00000/leetcode-solution | 756f1feae62862cde2ce5cf1a0ff6f0bf0567951 | [
"MIT"
] | null | null | null | Algorithms/Two Sum/include/Solution.hpp | Jim00000/leetcode-solution | 756f1feae62862cde2ce5cf1a0ff6f0bf0567951 | [
"MIT"
] | null | null | null | Algorithms/Two Sum/include/Solution.hpp | Jim00000/leetcode-solution | 756f1feae62862cde2ce5cf1a0ff6f0bf0567951 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
class Solution {
public:
std::vector<int> twoSum(std::vector<int> &nums, int target);
}; | 15.375 | 62 | 0.691057 | Jim00000 |
1a59a077c05de1e316d92f779f1d8cd52b81b87c | 346 | cpp | C++ | core/src/main/jni/scale_argb.cpp | vfishv/libyuv-android | f4e048aef31325717025269dc25e012305207dec | [
"Apache-2.0",
"BSD-3-Clause"
] | 17 | 2020-09-19T21:19:07.000Z | 2022-03-10T08:21:47.000Z | core/src/main/jni/scale_argb.cpp | vfishv/libyuv-android | f4e048aef31325717025269dc25e012305207dec | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-05-29T12:36:29.000Z | 2021-09-04T02:09:48.000Z | core/src/main/jni/scale_argb.cpp | vfishv/libyuv-android | f4e048aef31325717025269dc25e012305207dec | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2020-03-26T12:12:37.000Z | 2022-03-10T09:37:53.000Z | #include <libyuv.h>
#include "scale.h"
using namespace libyuv;
using namespace libyuv::jniutil;
extern "C" {
PLANES_1_TO_1(ARGBScale, argb, argb)
// Clipped scale takes destination rectangle coordinates for clip values.
PLANES_1_TO_1_CLIP(ARGBScaleClip, argb, argb)
// Scale with YUV conversion to ARGB and clipping... | 20.352941 | 73 | 0.774566 | vfishv |
1a5d8846b4431867a4e1cb511ff08b131f9bc711 | 3,139 | cc | C++ | src/lb_on_screen_display.cc | snibug/gyp_example | 6bbf1ef53c68df4e5a657e0037cf6c81d2140178 | [
"Apache-2.0"
] | null | null | null | src/lb_on_screen_display.cc | snibug/gyp_example | 6bbf1ef53c68df4e5a657e0037cf6c81d2140178 | [
"Apache-2.0"
] | null | null | null | src/lb_on_screen_display.cc | snibug/gyp_example | 6bbf1ef53c68df4e5a657e0037cf6c81d2140178 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2012 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29.613208 | 76 | 0.622173 | snibug |
1a5d8960bc15cfa1a9a3f24ed70b97bafdede915 | 808 | cpp | C++ | src/engine/ui/src/ui/widgets/ui_animation.cpp | Healthire/halley | aa58e1abe22cda9e80637922721c03574779cd81 | [
"Apache-2.0"
] | null | null | null | src/engine/ui/src/ui/widgets/ui_animation.cpp | Healthire/halley | aa58e1abe22cda9e80637922721c03574779cd81 | [
"Apache-2.0"
] | null | null | null | src/engine/ui/src/ui/widgets/ui_animation.cpp | Healthire/halley | aa58e1abe22cda9e80637922721c03574779cd81 | [
"Apache-2.0"
] | null | null | null | #include "widgets/ui_animation.h"
using namespace Halley;
UIAnimation::UIAnimation(const String& id, Vector2f size, Vector2f animationOffset, AnimationPlayer animation)
: UIWidget(id, size)
, offset(animationOffset)
, animation(animation)
{}
AnimationPlayer& UIAnimation::getPlayer()
{
return animation;
}
const A... | 17.955556 | 110 | 0.742574 | Healthire |
1a6121f2e6565752b4bd2d3674294fa9cf366fc4 | 655 | hpp | C++ | RandomColorProvider.hpp | Chlorek/clkb | 902254c157700f3466fdda196f4f0f4e85d740cc | [
"MIT"
] | 1 | 2017-11-17T23:16:37.000Z | 2017-11-17T23:16:37.000Z | RandomColorProvider.hpp | Chlorek/clkb | 902254c157700f3466fdda196f4f0f4e85d740cc | [
"MIT"
] | null | null | null | RandomColorProvider.hpp | Chlorek/clkb | 902254c157700f3466fdda196f4f0f4e85d740cc | [
"MIT"
] | null | null | null | /*
* File: RandomColorProvider.hpp
* Author: chlorek
*
* Created on November 19, 2017, 12:37 AM
*/
#ifndef RANDOMCOLORPROVIDER_HPP
#define RANDOMCOLORPROVIDER_HPP
#include <random>
#include "ColorProvider.hpp"
#include "Effect.hpp"
namespace clkb {
class RandomColorProvider : public ColorProvider {
... | 22.586207 | 72 | 0.654962 | Chlorek |
1a6acaeac71ad735d2dea8ae4df20974ce80c0fa | 8,491 | cpp | C++ | Samples/Win7Samples/Touch/MTManipulationInertia/cpp/ManipulationEventsink.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/Touch/MTManipulationInertia/cpp/ManipulationEventsink.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/Touch/MTManipulationInertia/cpp/ManipulationEventsink.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "Manipulati... | 27.65798 | 108 | 0.625604 | windows-development |
1a6d9ceb084e48078c2549991af7b253972790c6 | 52,624 | cpp | C++ | src/tkn/color.cpp | nyorain/tokonoma | b3a4264ef4f9f40487c2f3280812bf7513b914bb | [
"MIT"
] | 23 | 2019-07-11T14:47:39.000Z | 2021-12-24T09:56:24.000Z | src/tkn/color.cpp | nyorain/tokonoma | b3a4264ef4f9f40487c2f3280812bf7513b914bb | [
"MIT"
] | null | null | null | src/tkn/color.cpp | nyorain/tokonoma | b3a4264ef4f9f40487c2f3280812bf7513b914bb | [
"MIT"
] | 4 | 2021-04-06T18:20:43.000Z | 2022-01-15T09:20:45.000Z | // Implementation contains code from the great pbrt-v3, licensed under BSD-2.
// See Chapter 5 of http://www.pbr-book.org/3ed-2018/contents.html for
// a detailed documentation.
// Also: https://github.com/mmp/pbrt-v3/blob/master/src/spectrum.cpp.
// We use their tables and general implementation ideas, but the
// code... | 37.642346 | 88 | 0.648943 | nyorain |
1a6e6fc48da76083aab733344cb5dd95eea70604 | 1,919 | cc | C++ | src/tests/source/TestRedditAuthors.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 13 | 2022-01-17T16:14:26.000Z | 2022-03-30T02:06:04.000Z | src/tests/source/TestRedditAuthors.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 1 | 2022-01-28T23:17:14.000Z | 2022-01-28T23:17:14.000Z | src/tests/source/TestRedditAuthors.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 3 | 2022-01-18T02:13:53.000Z | 2022-03-06T19:28:19.000Z | //
// by Jia, Apr 2019
//
#include "PDBClient.h"
#include "RedditAuthor.h"
#include <string>
#include <random>
#include <chrono>
using namespace pdb;
void parseInputCSVFile(std::string fileName, int blockSizeInMB) {
// the error message is put there
string errMsg;
std ::ifstream inFile(fileName.c_str());
s... | 27.811594 | 127 | 0.620636 | venkate5hgunda |
2b3882aed7190f318420688611e57467c5053569 | 336 | hpp | C++ | engine/transform/MatrixTransformer/operations/MatrixArbitrary.hpp | PiroDev/graphics-engine | bf1e5f57878c02421e2e8a787d94ce6074637402 | [
"Apache-2.0"
] | null | null | null | engine/transform/MatrixTransformer/operations/MatrixArbitrary.hpp | PiroDev/graphics-engine | bf1e5f57878c02421e2e8a787d94ce6074637402 | [
"Apache-2.0"
] | null | null | null | engine/transform/MatrixTransformer/operations/MatrixArbitrary.hpp | PiroDev/graphics-engine | bf1e5f57878c02421e2e8a787d94ce6074637402 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "transform/MatrixTransformer/operations/IMatrixOperation.hpp"
class MatrixArbitrary : public IMatrixOperation {
public:
explicit MatrixArbitrary(Matrix<float, 4, 4> matrix);
Matrix<float, 4 ,4> GetMatrix() override;
~MatrixArbitrary() override = default;
private:
Matrix<float, 4... | 24 | 70 | 0.738095 | PiroDev |
2b3ccbfb6d06f4ec20e667d932da3957b8bf3b63 | 3,050 | cpp | C++ | main.cpp | dczang53/NES_Emulator | 741dce5e3587811ef08c9064916a26baced45c19 | [
"MIT"
] | null | null | null | main.cpp | dczang53/NES_Emulator | 741dce5e3587811ef08c9064916a26baced45c19 | [
"MIT"
] | null | null | null | main.cpp | dczang53/NES_Emulator | 741dce5e3587811ef08c9064916a26baced45c19 | [
"MIT"
] | null | null | null | #include <cstdint>
#include <iostream>
#include <string>
#include "include/Mapper.hpp"
#include "include/Memory.hpp"
#include "include/Ricoh2A03.hpp"
#include "include/IO.hpp"
#include "include/Ricoh2C02.hpp"
#ifdef GTEST
#include "testModules/gtestModules.hpp"
#else
#include "SDL2/SDL.h"
#endif
#define FPS 6... | 29.047619 | 105 | 0.444918 | dczang53 |
2b3ee76f59e8709d32129fa195ed22ecdd17b78f | 1,147 | cpp | C++ | Course Experiment/C Language Course Course Exp/Homework/No.16 Homework/1. 超长字符串——14.4.cpp | XJDKC/University-Code-Archive | 2dd9c6edb2164540dc50db1bb94940fe53c6eba0 | [
"MIT"
] | 4 | 2019-04-01T17:33:38.000Z | 2022-01-08T04:07:52.000Z | Course Experiment/C Language Course Course Exp/Homework/No.16 Homework/1. 超长字符串——14.4.cpp | XJDKC/University-Code-Archive | 2dd9c6edb2164540dc50db1bb94940fe53c6eba0 | [
"MIT"
] | null | null | null | Course Experiment/C Language Course Course Exp/Homework/No.16 Homework/1. 超长字符串——14.4.cpp | XJDKC/University-Code-Archive | 2dd9c6edb2164540dc50db1bb94940fe53c6eba0 | [
"MIT"
] | 1 | 2021-01-06T11:04:31.000Z | 2021-01-06T11:04:31.000Z | #include<stdio.h>
#include<stdlib.h>
struct node
{
char c;
struct node *next;
};
struct node *tail_create(struct node **head);
void print(struct node *head);
char *create_arr(struct node *head);
int main()
{
struct node *head=NULL;
char *ans;
head=tail_create(&head);
print(head);
ans=create_arr(head);
pri... | 15.5 | 52 | 0.580645 | XJDKC |
2b3f1f01eb71b5ded9477f9416a4ea0a425380cb | 579 | hpp | C++ | include/TClosedBox.hpp | oldpocket/LoudSpeakerSystem | 451447d00d00259405f2dd33ab0aa8425cc4ab89 | [
"MIT"
] | null | null | null | include/TClosedBox.hpp | oldpocket/LoudSpeakerSystem | 451447d00d00259405f2dd33ab0aa8425cc4ab89 | [
"MIT"
] | null | null | null | include/TClosedBox.hpp | oldpocket/LoudSpeakerSystem | 451447d00d00259405f2dd33ab0aa8425cc4ab89 | [
"MIT"
] | null | null | null | /*
This Unit contains class types, declarations and definitions related with the
Closed Box Design calculations.
*/
#pragma once
#include <cmath>
#include "TBox.hpp"
class TClosedBox: public TBox {
public:
TClosedBox(TDriver driver_);
~TClosedBox();
virtual TBoxResponse<float, 20, 200> getBoxResp... | 20.678571 | 81 | 0.666667 | oldpocket |
2b3fdfa13052a5dbb0d905331dae77c590f493ee | 8,110 | hpp | C++ | include/MComboBox.hpp | katahiromz/MZC4 | 3182cc98ebfda997bc9f1bccb4912a2b6979d303 | [
"MIT"
] | 8 | 2017-12-17T07:41:45.000Z | 2021-02-25T06:47:57.000Z | include/MComboBox.hpp | katahiromz/MZC4 | 3182cc98ebfda997bc9f1bccb4912a2b6979d303 | [
"MIT"
] | 2 | 2018-04-14T13:53:46.000Z | 2018-04-30T08:02:50.000Z | include/MComboBox.hpp | katahiromz/MZC4 | 3182cc98ebfda997bc9f1bccb4912a2b6979d303 | [
"MIT"
] | 3 | 2019-05-05T08:35:59.000Z | 2021-04-23T20:36:42.000Z | // MComboBox.hpp -- Win32API combo box wrapper -*- C++ -*-
// This file is part of MZC4. See file "ReadMe.txt" and "License.txt".
////////////////////////////////////////////////////////////////////////////
#ifndef MZC4_MCOMBOBOX_HPP_
#define MZC4_MCOMBOBOX_HPP_ 2 /* Version 2 */
class ... | 25.423197 | 90 | 0.672503 | katahiromz |
2b403645925453f3a89220dd9fe93c4f08b38fb9 | 262 | cpp | C++ | CodeForces/Magnets.cpp | mysterio0801/CP | 68983c423a42f98d6e9bf5375bc3f936e980d631 | [
"MIT"
] | null | null | null | CodeForces/Magnets.cpp | mysterio0801/CP | 68983c423a42f98d6e9bf5375bc3f936e980d631 | [
"MIT"
] | null | null | null | CodeForces/Magnets.cpp | mysterio0801/CP | 68983c423a42f98d6e9bf5375bc3f936e980d631 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
vector<string> vec;
int count = 0;
vec.push_back("00");
for(int i = 1; i <= n; i++){
string s;
cin>>s;
if(s != vec[i-1])
count++;
vec.push_back(s);
}
cout<<count<<endl;
} | 14.555556 | 29 | 0.561069 | mysterio0801 |
2b45c9c6751a0f1134284e48a09cec6e1b28306d | 31,368 | hpp | C++ | lib/alloy-core/include/alloy/core/math/saturated.hpp | bitwizeshift/Alloy | f2ed5b3af861c0904fd46778cd66c443479d3dbe | [
"MIT"
] | 5 | 2020-03-16T14:47:27.000Z | 2021-04-28T07:27:14.000Z | lib/alloy-core/include/alloy/core/math/saturated.hpp | bitwizeshift/Alloy | f2ed5b3af861c0904fd46778cd66c443479d3dbe | [
"MIT"
] | 6 | 2020-03-17T21:47:51.000Z | 2021-01-08T01:11:08.000Z | lib/alloy-core/include/alloy/core/math/saturated.hpp | bitwizeshift/Alloy | f2ed5b3af861c0904fd46778cd66c443479d3dbe | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// \file saturated.hpp
///
/// \brief This header contains a utility for clamping values between 0 and 1
/// with automatic saturation
////////////////////////////////////////////////////////////////////////////////
/*
The MIT L... | 32.338144 | 88 | 0.598157 | bitwizeshift |
2b471fb2e17827b938f5a521702b8d532b001da6 | 4,614 | cpp | C++ | NesSimulator/nessimulator.cpp | Embedfire/ebf_debian_qt_demo | 91cd3e9328d7df1e481d2fc12bd83165ad025a80 | [
"MIT"
] | 1 | 2020-06-19T00:58:32.000Z | 2020-06-19T00:58:32.000Z | NesSimulator/nessimulator.cpp | Embedfire/ebf_debian_qt_demo | 91cd3e9328d7df1e481d2fc12bd83165ad025a80 | [
"MIT"
] | null | null | null | NesSimulator/nessimulator.cpp | Embedfire/ebf_debian_qt_demo | 91cd3e9328d7df1e481d2fc12bd83165ad025a80 | [
"MIT"
] | null | null | null | /******************************************************************
Copyright (C) 2019 - All Rights Reserved by
文 件 名 : nessimulator.cpp ---
作 者 : Niyh(lynnhua)
论 坛 : http://www.firebbs.cn
编写日期 : 2019
说 明 :
历史纪录 :
<作者> <日期> <版本> <内容>
Niyh 2019 1.0.0 1 文件创建
******... | 25.776536 | 94 | 0.57629 | Embedfire |
2b4bd6bfd2f771bc9ff04accc47d40f286abae66 | 10,194 | cpp | C++ | soap/cmac-conversion/cmac_converter.cpp | OS-WASABI/CADG | b214edff82d4238e51569a42a6bdfab6806d768f | [
"BSD-3-Clause"
] | null | null | null | soap/cmac-conversion/cmac_converter.cpp | OS-WASABI/CADG | b214edff82d4238e51569a42a6bdfab6806d768f | [
"BSD-3-Clause"
] | 22 | 2018-10-26T17:30:24.000Z | 2019-04-15T23:38:18.000Z | soap/cmac-conversion/cmac_converter.cpp | OS-WASABI/CADG | b214edff82d4238e51569a42a6bdfab6806d768f | [
"BSD-3-Clause"
] | 1 | 2019-03-23T16:02:17.000Z | 2019-03-23T16:02:17.000Z | /// Converts any syntactically correct SOAP CAP document into a CMAC XML document.
/**
*
* Copyright 2018 Vaniya Agrawal, Ross Arcemont, Kristofer Hoadley,
* Shawn Hulce, Michael McCulley
*
* @file cmac_converter.cpp
* @authors Ross Arcemont
* @date January, 2019
*/
#include <iostream>
... | 50.97 | 115 | 0.716794 | OS-WASABI |
2b4c5f8bb872a9f732066a9dad757a5ae01b240a | 496 | cpp | C++ | problems/firstDuplicate.cpp | jaydulera/data-structure-and-algorithms | abc2d67871add6f314888a72215ff3a2da2dc6e1 | [
"Apache-2.0"
] | 53 | 2020-09-26T19:44:33.000Z | 2021-09-30T20:38:52.000Z | problems/firstDuplicate.cpp | jaydulera/data-structure-and-algorithms | abc2d67871add6f314888a72215ff3a2da2dc6e1 | [
"Apache-2.0"
] | 197 | 2020-08-25T18:13:56.000Z | 2021-06-19T07:26:19.000Z | problems/firstDuplicate.cpp | jaydulera/data-structure-and-algorithms | abc2d67871add6f314888a72215ff3a2da2dc6e1 | [
"Apache-2.0"
] | 204 | 2020-08-24T09:21:02.000Z | 2022-02-13T06:13:42.000Z | #include<bits/stdc++.h>
using namespace std;
int findFirstDuplicate(int arr[])
{
int sizeOfArray=sizeof(arr)/sizeof(arr[0]);
unordered_set<int> store;
for(int i=0;i<sizeOfArray;i++)
{
if(store.find(arr[i])!= store.end())
{
return arr[i];
}
store.insert(arr[i]);
}
... | 16.533333 | 47 | 0.528226 | jaydulera |
2b4e7e90e9976bd767e0759437fa92dd4a4a5aeb | 2,381 | hh | C++ | include/nil/actor/core/polymorphic_temporary_buffer.hh | NilFoundation/actor-core | b8dcff07cfa126998f096d077cc9b42190d2d742 | [
"MIT"
] | null | null | null | include/nil/actor/core/polymorphic_temporary_buffer.hh | NilFoundation/actor-core | b8dcff07cfa126998f096d077cc9b42190d2d742 | [
"MIT"
] | 2 | 2020-04-17T17:00:03.000Z | 2020-08-30T17:54:40.000Z | include/nil/actor/core/polymorphic_temporary_buffer.hh | NilFoundation/actor-core | b8dcff07cfa126998f096d077cc9b42190d2d742 | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------//
// Copyright (c) 2018-2021 Mikhail Komarov <nemo@nil.foundation>
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), t... | 44.924528 | 120 | 0.656027 | NilFoundation |
2b5237c255a5de724fc470e2350d94314a4dba8d | 7,907 | hh | C++ | unisim/component/cxx/processor/arm/extregbank.hh | binsec/unisim_archisec | 6556a45c180b6769dc1850ff3f695707d8835e90 | [
"BSD-3-Clause"
] | null | null | null | unisim/component/cxx/processor/arm/extregbank.hh | binsec/unisim_archisec | 6556a45c180b6769dc1850ff3f695707d8835e90 | [
"BSD-3-Clause"
] | null | null | null | unisim/component/cxx/processor/arm/extregbank.hh | binsec/unisim_archisec | 6556a45c180b6769dc1850ff3f695707d8835e90 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2007-2016,
* Commissariat a l'Energie Atomique (CEA)
* 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 co... | 36.606481 | 143 | 0.626786 | binsec |
2b539f37720bef91f18a40bc44872201019e72e4 | 3,453 | cc | C++ | ccc/src/model/GetSmsConfigResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | ccc/src/model/GetSmsConfigResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | ccc/src/model/GetSmsConfigResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 1 | 2020-11-27T09:13:12.000Z | 2020-11-27T09:13:12.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 33.201923 | 90 | 0.757602 | iamzken |
2b582345fa2714eecdb07f8c76387293482ca62a | 439 | cpp | C++ | csmegfw/src/Primitives/TRectangle.cpp | codesmith-fi/csmeg | 09aec2f4f642fa7273e4a5179db3c5ac2254c40d | [
"MIT"
] | null | null | null | csmegfw/src/Primitives/TRectangle.cpp | codesmith-fi/csmeg | 09aec2f4f642fa7273e4a5179db3c5ac2254c40d | [
"MIT"
] | null | null | null | csmegfw/src/Primitives/TRectangle.cpp | codesmith-fi/csmeg | 09aec2f4f642fa7273e4a5179db3c5ac2254c40d | [
"MIT"
] | null | null | null | #include "TRectangle.h"
using namespace csmeg;
TRectangle::TRectangle() : TRectangle(0.0f, 0.0f, 0.0f, 0.0f)
{
}
TRectangle::TRectangle(const TRectangle& other) : m_pos(other.m_pos), m_size(other.m_size)
{
}
TRectangle::TRectangle(float x, float y, float w, float h)
: m_pos(TVector2(x, y)), m_size(TVector2(w, h... | 19.954545 | 90 | 0.699317 | codesmith-fi |
2b59007c7794c7efdec9811e67c216d3573fed42 | 24,468 | cpp | C++ | magic3d/src/script/script_magic3d.cpp | magic-tech/Magic3D | a626a2302c8be9349cf0371077fb9f67821dfae3 | [
"Zlib"
] | 4 | 2016-03-25T23:35:08.000Z | 2019-05-15T18:56:07.000Z | magic3d/src/script/script_magic3d.cpp | magic-tech/Magic3D | a626a2302c8be9349cf0371077fb9f67821dfae3 | [
"Zlib"
] | null | null | null | magic3d/src/script/script_magic3d.cpp | magic-tech/Magic3D | a626a2302c8be9349cf0371077fb9f67821dfae3 | [
"Zlib"
] | 2 | 2016-03-17T09:01:12.000Z | 2020-01-18T13:04:05.000Z | /******************************************************************************
@Copyright Copyright (C) 2008 - 2016 by MagicTech.
@Platform ANSI compatible
******************************************************************************/
/*
Magic3D Engine
Copyright (c) 2008-2016
Thiago C. Moraes
http:... | 34.755682 | 201 | 0.681257 | magic-tech |
2b59be3d91eaccae8af04d68df0de189c30c8365 | 378 | hpp | C++ | nbv_planner/include/nbv_planner/octomap_reset_node.hpp | cbw36/yak | 8d7c7048f366afcf1c4d9e55db187c6c66410a47 | [
"MIT"
] | 26 | 2017-11-01T20:25:54.000Z | 2020-10-19T17:39:18.000Z | nbv_planner/include/nbv_planner/octomap_reset_node.hpp | cbw36/yak | 8d7c7048f366afcf1c4d9e55db187c6c66410a47 | [
"MIT"
] | 16 | 2017-07-05T20:28:20.000Z | 2019-06-07T22:21:01.000Z | nbv_planner/include/nbv_planner/octomap_reset_node.hpp | cbw36/yak | 8d7c7048f366afcf1c4d9e55db187c6c66410a47 | [
"MIT"
] | 10 | 2017-06-27T16:05:35.000Z | 2021-04-06T07:55:49.000Z | #include <ros/ros.h>
#include <visualization_msgs/InteractiveMarkerFeedback.h>
#include <std_srvs/Empty.h>
class OctomapResetter {
public:
OctomapResetter(ros::NodeHandle& nh);
void UpdateCallback(const visualization_msgs::InteractiveMarkerFeedbackConstPtr& feedback);
ros::Subscriber volume_update_subscriber_;... | 22.235294 | 93 | 0.806878 | cbw36 |
2b615bb170e49a765bcb1aadccf75d3315e01fee | 1,206 | hpp | C++ | libraries/protocol/include/deip/protocol/operations/create_research_operation.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | 1 | 2021-08-16T12:44:43.000Z | 2021-08-16T12:44:43.000Z | libraries/protocol/include/deip/protocol/operations/create_research_operation.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | null | null | null | libraries/protocol/include/deip/protocol/operations/create_research_operation.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | 2 | 2021-08-16T12:44:46.000Z | 2021-12-31T17:09:45.000Z | #pragma once
#include <deip/protocol/base.hpp>
#include <deip/protocol/block_header.hpp>
#include <deip/protocol/version.hpp>
#include <fc/optional.hpp>
namespace deip {
namespace protocol {
using deip::protocol::percent;
using deip::protocol::external_id_type;
struct create_research_operation : public entity_operat... | 24.12 | 78 | 0.737977 | DEIPworld |
2b622ccf686861c5b0b7164a7f6119d1a19c18f8 | 43,167 | cpp | C++ | qtxmlpatterns/tests/auto/xmlpatternssdk/XSDTestSuiteHandler.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qtxmlpatterns/tests/auto/xmlpatternssdk/XSDTestSuiteHandler.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qtxmlpatterns/tests/auto/xmlpatternssdk/XSDTestSuiteHandler.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the autotests of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial... | 47.803987 | 115 | 0.534228 | wgnet |
2b68e4718afc13a2fbd75b28d710b0585614149c | 4,541 | cpp | C++ | shared/test/unit_test/gen8/test_device_caps_gen8.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | shared/test/unit_test/gen8/test_device_caps_gen8.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | shared/test/unit_test/gen8/test_device_caps_gen8.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/hw_helper.h"
#include "shared/test/common/fixtures/device_fixture.h"
#include "shared/test/common/test_macros/test.h"
using namespace NEO;
using Gen8DeviceCaps = Test<DeviceFixture>;
GEN8TEST_F(... | 46.814433 | 133 | 0.834398 | mattcarter2017 |
2b6c42ec7b53be3ab057e2a2fa17eab6bee55779 | 37,535 | cpp | C++ | ext/Internal/trampolines-test.cpp | creativemindplus/skybison | d1740e08d8de85a0a56b650675717da67de171a0 | [
"CNRI-Python-GPL-Compatible"
] | 278 | 2021-08-31T00:46:51.000Z | 2022-02-13T19:43:28.000Z | ext/Internal/trampolines-test.cpp | creativemindplus/skybison | d1740e08d8de85a0a56b650675717da67de171a0 | [
"CNRI-Python-GPL-Compatible"
] | 9 | 2021-11-05T22:28:43.000Z | 2021-11-23T08:39:04.000Z | ext/Internal/trampolines-test.cpp | tekknolagi/skybison | bea8fc2af0a70e7203b4c19f36c14a745512a335 | [
"CNRI-Python-GPL-Compatible"
] | 12 | 2021-08-31T07:49:54.000Z | 2021-10-08T01:09:01.000Z | // Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com)
#include <memory>
#include "cpython-data.h"
#include "gtest/gtest.h"
#include "api-handle.h"
#include "dict-builtins.h"
#include "function-utils.h"
#include "runtime.h"
#include "test-utils.h"
namespace py {
namespace testing {
using Meth... | 43.243088 | 80 | 0.712535 | creativemindplus |
2b6f5eb3144136f6584a286c07d40cb8dad3a38e | 11,882 | cpp | C++ | src/SerialInterface/SerialInterface.cpp | peterpolidoro/SerialInterface | ddc6103a4728d88596610b9935b7c1813d7e1155 | [
"BSD-3-Clause"
] | null | null | null | src/SerialInterface/SerialInterface.cpp | peterpolidoro/SerialInterface | ddc6103a4728d88596610b9935b7c1813d7e1155 | [
"BSD-3-Clause"
] | null | null | null | src/SerialInterface/SerialInterface.cpp | peterpolidoro/SerialInterface | ddc6103a4728d88596610b9935b7c1813d7e1155 | [
"BSD-3-Clause"
] | null | null | null | // ----------------------------------------------------------------------------
// SerialInterface.cpp
//
//
// Authors:
// Peter Polidoro peter@polidoro.io
// ----------------------------------------------------------------------------
#include "../SerialInterface.h"
using namespace serial_interface;
SerialInterfac... | 31.685333 | 173 | 0.783201 | peterpolidoro |
2b70030ee043c23a4196f8485e349fb07ec27a51 | 509 | cpp | C++ | uhk/acm1850.cpp | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | uhk/acm1850.cpp | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | uhk/acm1850.cpp | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int maxn = 110;
int main()
{
int i, j, k, ar[maxn], s, t, cnt;
while(scanf("%d", &n) != EOF && n)
{
cnt = s = t = 0;
for(i = 1; i <= n; i++)
{
scanf("%d", &ar[i]);
s ^= ar[i];... | 19.576923 | 38 | 0.357564 | Hyyyyyyyyyy |
2b72c99827866390bf6838cbc4e52529c4efbe6d | 3,667 | cpp | C++ | src/av6/oop_av63.cpp | finki-mk/OOP | 6b75df2dfe7911763b67788c0b4063807743866a | [
"MIT"
] | 4 | 2017-09-15T09:40:30.000Z | 2022-02-26T07:38:31.000Z | src/av6/oop_av63.cpp | finki-mk/OOP | 6b75df2dfe7911763b67788c0b4063807743866a | [
"MIT"
] | 2 | 2017-03-01T20:53:50.000Z | 2017-04-15T20:27:15.000Z | src/av6/oop_av63.cpp | finki-mk/OOP | 6b75df2dfe7911763b67788c0b4063807743866a | [
"MIT"
] | 6 | 2017-02-17T23:49:07.000Z | 2021-02-23T12:43:38.000Z | #include <iostream>
#include <string.h>
#define MAX 100
using namespace std;
class Ucenik
{
private:
char *ime;
float prosek;
int godina;
public:
Ucenik (const char* ii = "", float pp = 0, int gg = 0)
{
ime = new char[strlen(ii) + 1];
strcpy (ime, ii);
prosek = pp;
go... | 21.958084 | 97 | 0.481865 | finki-mk |
2b7a4527cd98274048b08f095580ece6860722d1 | 960 | cpp | C++ | old_content/Templates/Flows/Stoer-Wagner.cpp | codelegend/Algorithms | 7e1e3de99702ad3d5fa62d65d0afdb1d9de77394 | [
"MIT"
] | 5 | 2020-06-04T19:16:36.000Z | 2021-11-18T16:34:30.000Z | old_content/Templates/Flows/Stoer-Wagner.cpp | codelegend/Algorithms | 7e1e3de99702ad3d5fa62d65d0afdb1d9de77394 | [
"MIT"
] | 1 | 2020-09-29T09:10:40.000Z | 2020-09-29T09:10:40.000Z | old_content/Templates/Flows/Stoer-Wagner.cpp | codelegend/Algorithms | 7e1e3de99702ad3d5fa62d65d0afdb1d9de77394 | [
"MIT"
] | 1 | 2020-10-18T20:16:41.000Z | 2020-10-18T20:16:41.000Z | LL adj[N][N]; // input, ONLY SET THIS
LL wt[N]; bool pres[N], A[N]; // temp-vars(dont-touch)
pair<LL, VI> mincut(int n) { // no.of.verts
pair<LL, VI> res(INF, VI()); vector<VI> comp(n);
for (int i = 0; i < n; i++) comp[i].push_back(i);
fill(pres, pres + N, true);
for (int ph = 0; ph < n - 1; ph++) {
memset(... | 36.923077 | 66 | 0.465625 | codelegend |
2b7c655eb69ce6a4d346fdd57c4df0aff6d9db9d | 728 | ipp | C++ | source/core/texture/category/tImageTexture.ipp | xh5a5n6k6/cadise | 797b116b96d7d3989b58454422501f6ace04c4b8 | [
"MIT"
] | 33 | 2019-04-15T16:42:27.000Z | 2021-01-23T09:54:48.000Z | source/core/texture/category/tImageTexture.ipp | xh5a5n6k6/cadise | 797b116b96d7d3989b58454422501f6ace04c4b8 | [
"MIT"
] | null | null | null | source/core/texture/category/tImageTexture.ipp | xh5a5n6k6/cadise | 797b116b96d7d3989b58454422501f6ace04c4b8 | [
"MIT"
] | null | null | null | #pragma once
#include "core/texture/category/tImageTexture.h"
#include "core/texture/sampler/tNearestPixelSampler.h"
namespace cadise {
template<typename T, typename ImageType, std::size_t N>
TImageTexture<T, ImageType, N>::TImageTexture(
const TImage<ImageType, N>& image,
const ETextureSampleMode& sample... | 28 | 91 | 0.684066 | xh5a5n6k6 |
2b839a9ba8eeea63e21b9b2bc66051cedaf12aca | 1,838 | cc | C++ | convert/convert_util.cc | TyLindberg/usd_from_gltf | aaf90a29796d4eec24389dbf600edcbe225d6dec | [
"Apache-2.0"
] | 356 | 2019-07-29T22:23:28.000Z | 2022-03-30T18:50:37.000Z | convert/convert_util.cc | TyLindberg/usd_from_gltf | aaf90a29796d4eec24389dbf600edcbe225d6dec | [
"Apache-2.0"
] | 69 | 2019-07-30T19:50:50.000Z | 2022-03-16T19:46:27.000Z | convert/convert_util.cc | TyLindberg/usd_from_gltf | aaf90a29796d4eec24389dbf600edcbe225d6dec | [
"Apache-2.0"
] | 59 | 2019-08-03T01:01:19.000Z | 2022-03-24T19:54:56.000Z | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 31.689655 | 76 | 0.667029 | TyLindberg |
2b85104075d65c007ed73097fe83a14b16bedeca | 3,727 | cpp | C++ | src/components/mmu/mmu.cpp | elmerucr/E64 | 1f7d57fadc6804948aa832d0f5f6800a8631f622 | [
"MIT"
] | null | null | null | src/components/mmu/mmu.cpp | elmerucr/E64 | 1f7d57fadc6804948aa832d0f5f6800a8631f622 | [
"MIT"
] | null | null | null | src/components/mmu/mmu.cpp | elmerucr/E64 | 1f7d57fadc6804948aa832d0f5f6800a8631f622 | [
"MIT"
] | null | null | null | /*
* mmu.cpp
* E64
*
* Copyright © 2019-2022 elmerucr. All rights reserved.
*/
#include "mmu.hpp"
#include "common.hpp"
#include "rom.hpp"
E64::mmu_ic::mmu_ic()
{
ram = new uint8_t[RAM_SIZE * sizeof(uint8_t)];
reset();
}
E64::mmu_ic::~mmu_ic()
{
delete ram;
ram = nullptr;
}
void E64::mmu_ic::reset()
{
// ... | 24.846667 | 74 | 0.636437 | elmerucr |
2b8ccda0d0eb2a2f593abba0eb71aa436671bbd6 | 1,887 | cc | C++ | stanford2/cc/w1_greedy.cc | zaqwes8811/cs-courses | aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2 | [
"Apache-2.0"
] | null | null | null | stanford2/cc/w1_greedy.cc | zaqwes8811/cs-courses | aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2 | [
"Apache-2.0"
] | null | null | null | stanford2/cc/w1_greedy.cc | zaqwes8811/cs-courses | aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2 | [
"Apache-2.0"
] | null | null | null | #include "details/io_details.h"
#include <gtest/gtest.h>
// no standart now
//#include <ext/hash_set>
#include <boost/unordered_set.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/foreach.hpp>
#include <cassert>
#include <vector>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <stdexcept>
... | 20.290323 | 101 | 0.671436 | zaqwes8811 |
2b8f8898b9520d730592eb86d97461386c837641 | 5,039 | cpp | C++ | src/tests/test_net_json_io_handler.cpp | bbialoskorski/neuralnet | e002eaef593e58d80dc862231b46611af5d9ed31 | [
"MIT"
] | null | null | null | src/tests/test_net_json_io_handler.cpp | bbialoskorski/neuralnet | e002eaef593e58d80dc862231b46611af5d9ed31 | [
"MIT"
] | null | null | null | src/tests/test_net_json_io_handler.cpp | bbialoskorski/neuralnet | e002eaef593e58d80dc862231b46611af5d9ed31 | [
"MIT"
] | null | null | null | #define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
#include "net_json_io_handler.hpp"
#include <cstdio>
#include <iostream>
#include <fstream>
#include "gtest/gtest.h"
#include "third_party/json-3.2.0/single_include/nlohmann/json.hpp"
#include "layers/rectified_linear_unit_layer.hpp"
#include "layers/sigmoid_output... | 38.465649 | 81 | 0.721175 | bbialoskorski |
2b9579a99136705b757c53192829aa804c9f59b9 | 66,056 | cpp | C++ | devel/miniC/minic/src/ccodebase.cpp | svenschmidt75/compiler | df3185312db939a04876d652e809f7c23f71a188 | [
"MIT"
] | null | null | null | devel/miniC/minic/src/ccodebase.cpp | svenschmidt75/compiler | df3185312db939a04876d652e809f7c23f71a188 | [
"MIT"
] | null | null | null | devel/miniC/minic/src/ccodebase.cpp | svenschmidt75/compiler | df3185312db939a04876d652e809f7c23f71a188 | [
"MIT"
] | null | null | null | /***************************************************************************
* Copyright (C) 2005 by Sven Schmidt *
* s.schmidt@lboro.ac.uk *
* *
* This program is free software; you can redistribute it and/or modify *
* it under ... | 23.532597 | 100 | 0.627528 | svenschmidt75 |
2ba42ed851b19c360c6bef54a5af00fb4bc9788a | 8,804 | cpp | C++ | test/math/math_test.cpp | mogemimi/pomdog | 6dc6244d018f70d42e61c6118535cf94a9ee0618 | [
"MIT"
] | 163 | 2015-03-16T08:42:32.000Z | 2022-01-11T21:40:22.000Z | test/math/math_test.cpp | mogemimi/pomdog | 6dc6244d018f70d42e61c6118535cf94a9ee0618 | [
"MIT"
] | 17 | 2015-04-12T20:57:50.000Z | 2020-10-10T10:51:45.000Z | test/math/math_test.cpp | mogemimi/pomdog | 6dc6244d018f70d42e61c6118535cf94a9ee0618 | [
"MIT"
] | 21 | 2015-04-12T20:45:11.000Z | 2022-01-14T20:50:16.000Z | // Copyright mogemimi. Distributed under the MIT license.
#include "pomdog/math/degree.hpp"
#include "pomdog/math/math.hpp"
#include "pomdog/math/radian.hpp"
#include <catch_amalgamated.hpp>
namespace math = pomdog::math;
using pomdog::Degree;
using pomdog::Radian;
TEST_CASE("MathHelper", "[MathHelper]")
{
SECTI... | 53.357576 | 98 | 0.582235 | mogemimi |
2badcec43f0678aaf67e823200155df19f01511f | 2,935 | hpp | C++ | rconthread.hpp | patrickjane/arkclusterchat | f05ac88188e48e611dec8d731db728175e0d4201 | [
"MIT"
] | 4 | 2017-08-11T09:06:31.000Z | 2020-08-25T16:53:21.000Z | rconthread.hpp | patrickjane/arkclusterchat | f05ac88188e48e611dec8d731db728175e0d4201 | [
"MIT"
] | 2 | 2018-01-26T22:13:23.000Z | 2018-01-28T17:11:01.000Z | rconthread.hpp | patrickjane/arkclusterchat | f05ac88188e48e611dec8d731db728175e0d4201 | [
"MIT"
] | 1 | 2019-11-26T20:02:40.000Z | 2019-11-26T20:02:40.000Z | //***************************************************************************
// File rconthread.hpp
// Date 23.07.17 - #1
// Copyright (c) 2017-2017 s710 (s710 (at) posteo (dot) de). All rights reserved.
// --------------------------------------------------------------------------
// Ark ClusterChat / RCON thread
//**... | 22.234848 | 108 | 0.425894 | patrickjane |
ad9327b96a26520ac33b7ec5c7890d2430908100 | 2,549 | cpp | C++ | code/aoce_vulkan_extra/layer/VkLowPassLayer.cpp | msqljj/aoce | b15320acbb9454fb461501c8cf0c598d1b15c495 | [
"MIT"
] | 71 | 2020-10-15T03:13:50.000Z | 2022-03-30T02:04:28.000Z | code/aoce_vulkan_extra/layer/VkLowPassLayer.cpp | msqljj/aoce | b15320acbb9454fb461501c8cf0c598d1b15c495 | [
"MIT"
] | 9 | 2021-02-20T10:30:10.000Z | 2022-03-04T07:59:58.000Z | code/aoce_vulkan_extra/layer/VkLowPassLayer.cpp | msqljj/aoce | b15320acbb9454fb461501c8cf0c598d1b15c495 | [
"MIT"
] | 19 | 2021-01-01T12:03:02.000Z | 2022-03-21T07:59:59.000Z | #include "VkLowPassLayer.hpp"
#include "aoce_vulkan/layer/VkPipeGraph.hpp"
#include "aoce_vulkan/vulkan/VulkanManager.hpp"
namespace aoce {
namespace vulkan {
namespace layer {
VkSaveFrameLayer::VkSaveFrameLayer(/* args */) {
// 是否自己使用ComputeShader复制
bUserPipe = true;
// 告诉外面,不需要自动连接别层输入
bInput = tru... | 28.322222 | 80 | 0.666928 | msqljj |
ad952b1c269d90fc9c54c803909f0d647fc73cb0 | 1,072 | hpp | C++ | aslam_cv/aslam_cv_backend_python/include/aslam/ExportScalarExpressionNodeKeypointTime.hpp | PushyamiKaveti/kalibr | d8bdfc59ee666ef854012becc93571f96fe5d80c | [
"BSD-4-Clause"
] | 2,690 | 2015-01-07T03:50:23.000Z | 2022-03-31T20:27:01.000Z | aslam_cv/aslam_cv_backend_python/include/aslam/ExportScalarExpressionNodeKeypointTime.hpp | PushyamiKaveti/kalibr | d8bdfc59ee666ef854012becc93571f96fe5d80c | [
"BSD-4-Clause"
] | 481 | 2015-01-27T10:21:00.000Z | 2022-03-31T14:02:41.000Z | aslam_cv/aslam_cv_backend_python/include/aslam/ExportScalarExpressionNodeKeypointTime.hpp | PushyamiKaveti/kalibr | d8bdfc59ee666ef854012becc93571f96fe5d80c | [
"BSD-4-Clause"
] | 1,091 | 2015-01-26T21:21:13.000Z | 2022-03-30T01:55:33.000Z | // It is extremely important to use this header
// if you are using the numpy_eigen interface
#include <numpy_eigen/boost_python_headers.hpp>
#include <sm/python/stl_converters.hpp>
#include <aslam/backend/ScalarExpressionNodeKeypointTime.hpp>
namespace aslam {
namespace python {
template<typename CAMERA_T>
... | 33.5 | 99 | 0.669776 | PushyamiKaveti |
ad9e454749b63ebb0939c58da3f8fc7866f7b236 | 1,216 | hpp | C++ | include/threepp/objects/Points.hpp | maidamai0/threepp | 9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071 | [
"MIT"
] | null | null | null | include/threepp/objects/Points.hpp | maidamai0/threepp | 9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071 | [
"MIT"
] | null | null | null | include/threepp/objects/Points.hpp | maidamai0/threepp | 9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071 | [
"MIT"
] | null | null | null | // https://github.com/mrdoob/three.js/blob/r129/src/objects/Points.js
#ifndef THREEPP_POINTS_HPP
#define THREEPP_POINTS_HPP
#include "threepp/core/BufferGeometry.hpp"
#include "threepp/core/Object3D.hpp"
#include "threepp/materials/PointsMaterial.hpp"
namespace threepp {
class Points : public Object3D {
pu... | 27.022222 | 97 | 0.657895 | maidamai0 |
ada077147ccb16a8bff81eb8618bea3b7743881f | 489 | cpp | C++ | main.cpp | MasazI/CPazzleBook | bc16747c83134dcb02e6cabfe09afba365898d75 | [
"MIT"
] | null | null | null | main.cpp | MasazI/CPazzleBook | bc16747c83134dcb02e6cabfe09afba365898d75 | [
"MIT"
] | null | null | null | main.cpp | MasazI/CPazzleBook | bc16747c83134dcb02e6cabfe09afba365898d75 | [
"MIT"
] | null | null | null | //
// main.cpp
// CPuzzleBook
//
// Created by masai on 2017/02/12.
// Copyright (c) 2017年 masai. All rights reserved.
//
#include <iostream>
#include "1_1.h"
#include "1_2.h"
#include "1_3.h"
#include "1_4.h"
#include "1_5.h"
#include "1_6.h"
#include "2_1.h"
#include "2_2.h"
#include "2_3.h"
int main(int argc, ... | 15.774194 | 51 | 0.597137 | MasazI |
ada2aa5ff834075ae22b491f1394209a9afeb361 | 4,576 | cpp | C++ | moos-ivp-local/src/lib_anrp_util/NMEAMessage.cpp | ucsb-coast-lab/rcProto-MOOS-master1 | e886b11cae14bc6cff860621b1c2c6480033e077 | [
"MIT"
] | 9 | 2016-02-25T03:25:53.000Z | 2022-03-27T09:47:50.000Z | moos-ivp-local/src/lib_anrp_util/NMEAMessage.cpp | ucsb-coast-lab/rcProto-MOOS-master1 | e886b11cae14bc6cff860621b1c2c6480033e077 | [
"MIT"
] | null | null | null | moos-ivp-local/src/lib_anrp_util/NMEAMessage.cpp | ucsb-coast-lab/rcProto-MOOS-master1 | e886b11cae14bc6cff860621b1c2c6480033e077 | [
"MIT"
] | 4 | 2016-06-02T17:42:42.000Z | 2021-12-15T09:37:55.000Z | /*************************************************************************
* NMEAMessage.cpp -
*************************************************************************
* (c) 2004 Andrew Patrikalakis <anrp@cml3.mit.edu> *
* *
* ... | 19.226891 | 74 | 0.52229 | ucsb-coast-lab |
ada50f60a87313240d2748040514cd6b22f31ee0 | 1,007 | cpp | C++ | src/render/Drawable/UidDrawableModificator.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | src/render/Drawable/UidDrawableModificator.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | src/render/Drawable/UidDrawableModificator.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | #include <mtt/render/Drawable/UidDrawableModificator.h>
#include <mtt/render/DrawPlan/DrawPlanBuildInfo.h>
using namespace mtt;
void UidDrawableModificator::setUid(UID newValue) noexcept
{
_uid = newValue;
}
void UidDrawableModificator::draw(DrawPlanBuildInfo& buildInfo,
DrawableM... | 28.771429 | 79 | 0.616683 | AluminiumRat |
ada58fce04c811acd874e121149921c954de5608 | 2,990 | cpp | C++ | EXAMPLES/MFC/UTILITY/Guidegen/guidgen.cpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | 1 | 2022-01-13T01:03:55.000Z | 2022-01-13T01:03:55.000Z | EXAMPLES/MFC/UTILITY/Guidegen/guidgen.cpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | EXAMPLES/MFC/UTILITY/Guidegen/guidgen.cpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | // guidgen.cpp : Defines the class behaviors for the application.
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1995 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference... | 27.181818 | 78 | 0.61505 | earthsiege2 |
ada966f5062eb718085959b72e1f98fd77cca378 | 942 | cpp | C++ | C++/all_tests.cpp | signed/KataMedicineClash | ffe9265f632c3a7a82d25bb015ebeb9abb57cc5a | [
"MIT"
] | 7 | 2015-01-02T11:01:08.000Z | 2019-06-13T07:16:16.000Z | C++/all_tests.cpp | signed/KataMedicineClash | ffe9265f632c3a7a82d25bb015ebeb9abb57cc5a | [
"MIT"
] | null | null | null | C++/all_tests.cpp | signed/KataMedicineClash | ffe9265f632c3a7a82d25bb015ebeb9abb57cc5a | [
"MIT"
] | 8 | 2015-05-17T20:30:11.000Z | 2021-12-15T22:41:31.000Z | #include "all_tests.hpp"
#include "Patient.hpp"
#include <cassert>
#include <ctime>
#include <chrono>
#include <stdexcept>
using namespace std;
using std::chrono::system_clock;
void test_patient_clash()
{
system_clock::time_point time_point_now = system_clock::now();
time_t time_30_days_ago = system_clock::to... | 26.166667 | 70 | 0.716561 | signed |
adb10b8531bea767b9cdb8873759a2500db7243c | 2,932 | cpp | C++ | EU4toV2/Source/EU4World/EU4Version.cpp | beerhall/paradoxGameConverters | 96b6f91ebc413795afd63f40f6ecf4ca83fa9460 | [
"MIT"
] | 114 | 2015-06-07T20:27:45.000Z | 2020-08-16T05:05:56.000Z | EU4toV2/Source/EU4World/EU4Version.cpp | iamdafu/paradoxGameConverters | 674364a22917155642ade923e5dfbe38a5fa9610 | [
"MIT"
] | 553 | 2015-07-20T23:58:26.000Z | 2019-06-13T21:45:56.000Z | EU4toV2/Source/EU4World/EU4Version.cpp | iamdafu/paradoxGameConverters | 674364a22917155642ade923e5dfbe38a5fa9610 | [
"MIT"
] | 106 | 2015-07-27T00:21:16.000Z | 2020-06-10T10:13:13.000Z | /*Copyright (c) 2017 The Paradox Game Converters Project
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, p... | 26.899083 | 107 | 0.687244 | beerhall |
adb14aeb2e4f5ebb2287d7f219e64a8e9c4db383 | 3,651 | hpp | C++ | include/MOE/MahiOpenExo/JointHardware.hpp | mahilab/MOE | e35e855a8b36fe8a619eada276d95739dfb30ca8 | [
"MIT"
] | null | null | null | include/MOE/MahiOpenExo/JointHardware.hpp | mahilab/MOE | e35e855a8b36fe8a619eada276d95739dfb30ca8 | [
"MIT"
] | null | null | null | include/MOE/MahiOpenExo/JointHardware.hpp | mahilab/MOE | e35e855a8b36fe8a619eada276d95739dfb30ca8 | [
"MIT"
] | null | null | null | #pragma once
#include <MOE/MahiOpenExo/Joint.hpp>
#include <MOE/MahiOpenExo/MoeConfigurationHardware.hpp>
#include <Mahi/Daq/Handle.hpp>
#include <Mahi/Util/Math/Butterworth.hpp>
namespace moe {
//==============================================================================
// CLASS DECLARATION
//===================... | 46.21519 | 161 | 0.645303 | mahilab |
adb18fb57a33991c791c76d9d993836d27e2c4b3 | 218 | cpp | C++ | Source/FSD/Private/TunnelSettings.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 8 | 2021-07-10T20:06:05.000Z | 2022-03-04T19:03:50.000Z | Source/FSD/Private/TunnelSettings.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 9 | 2022-01-13T20:49:44.000Z | 2022-03-27T22:56:48.000Z | Source/FSD/Private/TunnelSettings.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 2 | 2021-07-10T20:05:42.000Z | 2022-03-14T17:05:35.000Z | #include "TunnelSettings.h"
UTunnelSettings::UTunnelSettings() {
this->Material = NULL;
this->PathfinderNoise = NULL;
this->CielingNoise = NULL;
this->WallNoise = NULL;
this->FloorNoise = NULL;
}
| 19.818182 | 36 | 0.669725 | trumank |
adb28e7a7b5f11498162956519fd9cab76f1400b | 6,755 | cpp | C++ | qtmultimedia/tests/auto/integration/qaudioinput/wavheader.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qtmultimedia/tests/auto/integration/qaudiooutput/wavheader.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qtmultimedia/tests/auto/integration/qaudiooutput/wavheader.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercia... | 34.116162 | 114 | 0.620873 | wgnet |
adb71fcdcd91caa885e3e9d2e3fe28c34053d608 | 880 | hpp | C++ | src/ui/widgets/graphics_items/unallocated_block_graphics_item.hpp | svendcsvendsen/judoassistant | 453211bff86d940c2b2de6f9eea2aabcdab830fa | [
"MIT"
] | 3 | 2019-04-26T17:48:24.000Z | 2021-11-08T20:21:51.000Z | src/ui/widgets/graphics_items/unallocated_block_graphics_item.hpp | svendcsvendsen/judoassistant | 453211bff86d940c2b2de6f9eea2aabcdab830fa | [
"MIT"
] | 90 | 2019-04-25T17:23:10.000Z | 2022-02-12T19:49:55.000Z | src/ui/widgets/graphics_items/unallocated_block_graphics_item.hpp | judoassistant/judoassistant | 3b200d3e35d9aff16ba224e6071ee9d888a5a03c | [
"MIT"
] | null | null | null | #pragma once
#include <QGraphicsItem>
#include "core/stores/match_store.hpp"
#include "core/rulesets/ruleset.hpp"
#include "core/draw_systems/draw_system.hpp"
class CategoryStore;
class UnallocatedBlockGraphicsItem : public QGraphicsItem {
public:
static constexpr int WIDTH = 200;
static constexpr int HEIGH... | 27.5 | 100 | 0.778409 | svendcsvendsen |
adc5efdeb5dc5502affd2d3f539711cd3abf2e8a | 2,966 | hpp | C++ | include/wf700tk/detail/message_base.hpp | VJSchneid/wf-700tk | d94b18437a90b0b081c71dc3c7eac3c0aed494a5 | [
"BSL-1.0"
] | null | null | null | include/wf700tk/detail/message_base.hpp | VJSchneid/wf-700tk | d94b18437a90b0b081c71dc3c7eac3c0aed494a5 | [
"BSL-1.0"
] | null | null | null | include/wf700tk/detail/message_base.hpp | VJSchneid/wf-700tk | d94b18437a90b0b081c71dc3c7eac3c0aed494a5 | [
"BSL-1.0"
] | null | null | null | #ifndef WF700TK_DETAIL_MESSAGE_BASE_HPP
#define WF700TK_DETAIL_MESSAGE_BASE_HPP
#include <array>
namespace wf700tk::detail {
struct message_base {
message_base(unsigned char length, bool is_request);
constexpr const static unsigned char start_byte_ = 0x02;
constexpr const static unsigned char end_byte_ ... | 26.017544 | 77 | 0.667903 | VJSchneid |
adc7b131b917221e317fb1a184bbc32ef16fe5d9 | 22,156 | cxx | C++ | src/gtbin/gtbin.cxx | fermi-lat/evtbin | 4c984e960df61056b1a4abfdb7de49bda696a624 | [
"BSD-3-Clause"
] | null | null | null | src/gtbin/gtbin.cxx | fermi-lat/evtbin | 4c984e960df61056b1a4abfdb7de49bda696a624 | [
"BSD-3-Clause"
] | 2 | 2018-06-08T19:53:37.000Z | 2020-03-23T15:23:14.000Z | src/gtbin/gtbin.cxx | fermi-lat/evtbin | 4c984e960df61056b1a4abfdb7de49bda696a624 | [
"BSD-3-Clause"
] | null | null | null | /** \file EvtBin.cxx
\brief Event binning executable. Really this is a shell application whose run() method creates and
runs one of several specialized binning applications.
Some explanations of the classes. The evtbin application behaves like a number of similar tasks.
For example, it can create light... | 39.075838 | 135 | 0.67792 | fermi-lat |
adcafd7fc9fbfe74c79079c638e60482ac060482 | 2,007 | cpp | C++ | Utility/Context/ActivationFunctionContext.cpp | devmichalek/Autonomous-Vehicles-Simulator | 7edc16e5b03392f407b800cbc10922f158ebfb59 | [
"MIT"
] | null | null | null | Utility/Context/ActivationFunctionContext.cpp | devmichalek/Autonomous-Vehicles-Simulator | 7edc16e5b03392f407b800cbc10922f158ebfb59 | [
"MIT"
] | null | null | null | Utility/Context/ActivationFunctionContext.cpp | devmichalek/Autonomous-Vehicles-Simulator | 7edc16e5b03392f407b800cbc10922f158ebfb59 | [
"MIT"
] | null | null | null | #include "ActivationFunctionContext.hpp"
#include "CoreLogger.hpp"
ActivationFunction ActivationFunctionContext::m_activationFunctionTable[ACTIVATION_FUNCTIONS_COUNT];
const bool ActivationFunctionContext::m_initialized = false;
void ActivationFunctionContext::Initialize()
{
if (!m_initialized)
{
m_activationFunc... | 38.596154 | 130 | 0.788241 | devmichalek |
add59680e33fcec8675fe6895e0c7f91da55b7cb | 1,839 | hpp | C++ | src/algorithms/data_structures/hashmap/group_shifted_strings.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2020-07-31T14:13:56.000Z | 2021-02-03T09:51:43.000Z | src/algorithms/data_structures/hashmap/group_shifted_strings.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 28 | 2015-09-22T07:38:21.000Z | 2018-10-02T11:00:58.000Z | src/algorithms/data_structures/hashmap/group_shifted_strings.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2018-10-11T14:10:50.000Z | 2021-02-27T08:53:50.000Z | #ifndef CPPNOTESMAIN_GROUP_SHIFTED_STRINGS_HPP
#define CPPNOTESMAIN_GROUP_SHIFTED_STRINGS_HPP
/*
https://leetcode.com/problems/group-shifted-strings/
Given a string, we can "shift" each of its letter to its successive letter, for example:
"abc" -> "bcd". We can keep "shifting" which forms the sequence:
"abc" -> "bcd"... | 27.044118 | 94 | 0.540511 | iamantony |
add74ec39cf147f3afbcfaecb3b1fcc0dddf1cb2 | 658 | hpp | C++ | src/comppackdb.hpp | BurAndBY/pkgj | ba4ecba588b2204c150b7780ceeda123545c408f | [
"BSD-2-Clause"
] | 904 | 2018-03-09T05:20:11.000Z | 2022-03-26T02:37:33.000Z | src/comppackdb.hpp | BurAndBY/pkgj | ba4ecba588b2204c150b7780ceeda123545c408f | [
"BSD-2-Clause"
] | 383 | 2018-03-11T02:47:37.000Z | 2022-03-17T11:51:32.000Z | src/comppackdb.hpp | BurAndBY/pkgj | ba4ecba588b2204c150b7780ceeda123545c408f | [
"BSD-2-Clause"
] | 132 | 2018-03-12T22:35:16.000Z | 2022-03-03T17:06:55.000Z | #pragma once
#include "http.hpp"
#include "sqlite.hpp"
#include <array>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <cstdint>
class CompPackDatabase
{
public:
struct Item
{
std::string path;
std::string app_version;
};
CompPackDatabase(const st... | 16.45 | 59 | 0.664134 | BurAndBY |