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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29cf0db7ca46e009c9c56dbd8d042faab324c3d2 | 19,447 | cpp | C++ | mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp | guitard0g/llvm-project | 283e39c7a0d1bf97a67b77638e9194bd1eb9dae6 | [
"Apache-2.0"
] | 2 | 2021-11-20T04:04:47.000Z | 2022-01-06T07:44:23.000Z | mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp | Sayyidalijufri/llvm-project | bf95957c99c77987404dea791d6087b222135fce | [
"Apache-2.0"
] | null | null | null | mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp | Sayyidalijufri/llvm-project | bf95957c99c77987404dea791d6087b222135fce | [
"Apache-2.0"
] | null | null | null | //===- VectorToGPU.cpp - Convert vector to GPU dialect ----------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 41.027426 | 80 | 0.668946 | guitard0g |
29cfb9c987ccdaabb6fb639977d7394a921a5855 | 379 | cpp | C++ | src/main.cpp | ananace/LD43 | 5b52767d09b9fceb60200ef000e83e2a308adb81 | [
"MIT"
] | null | null | null | src/main.cpp | ananace/LD43 | 5b52767d09b9fceb60200ef000e83e2a308adb81 | [
"MIT"
] | null | null | null | src/main.cpp | ananace/LD43 | 5b52767d09b9fceb60200ef000e83e2a308adb81 | [
"MIT"
] | null | null | null | #include "Application.hpp"
#include <iostream>
#include <stdexcept>
int main(int argc, char** argv)
{
Application app;
app.init(argc, argv);
try
{
app.run();
}
catch (const std::runtime_error& ex)
{
std::cerr << "Exception occured during execution;" << std::endl << ex.wha... | 15.791667 | 98 | 0.559367 | ananace |
29d0fd29cf8330546439fea5aa6e383314fcc37f | 3,185 | cpp | C++ | apps/tmp_test/main_3.cpp | LucaCiucci/gnuplotpp | 2ba852602070b8854259cef5463722a4c8eb5cfa | [
"MIT"
] | null | null | null | apps/tmp_test/main_3.cpp | LucaCiucci/gnuplotpp | 2ba852602070b8854259cef5463722a4c8eb5cfa | [
"MIT"
] | 5 | 2021-10-11T08:19:18.000Z | 2021-11-01T00:25:17.000Z | apps/tmp_test/main_3.cpp | LucaCiucci/gnuplotpp | 2ba852602070b8854259cef5463722a4c8eb5cfa | [
"MIT"
] | null | null | null | /* LC_NOTICE_BEGIN
LC_NOTICE_END */
#include <iostream>
#include <stdexcept>
int safe_main_3(int argc, char** argv);
int main(int argc, char** argv)
{
try
{
return safe_main_3(argc, argv);
}
catch (const std::exception& e)
{
std::cerr << "Uncaught Exception thrown from safe_main(): " << e.what() << std::end... | 19.90625 | 107 | 0.620094 | LucaCiucci |
29d1794d58d893c444fd9850da89409a63537b61 | 5,310 | hpp | C++ | include/Firebase/Firestore/Converters/Int16Converter.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/Firebase/Firestore/Converters/Int16Converter.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/Firebase/Firestore/Converters/Int16Converter.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: Firebase.Firestore.Converters.Integ... | 61.034483 | 289 | 0.769303 | v0idp |
29d23e5b5391b41c9af52dc72098dd9ac331035a | 5,587 | cpp | C++ | dev/Code/Tools/RC/ResourceCompilerScene/Skin/SkinLodExporter.cpp | pawandayma/lumberyard | e178f173f9c21369efd8c60adda3914e502f006a | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/Tools/RC/ResourceCompilerScene/Skin/SkinLodExporter.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/Tools/RC/ResourceCompilerScene/Skin/SkinLodExporter.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 47.347458 | 156 | 0.63952 | pawandayma |
29d2f4350d4bf0d7789810dd25c7a3724f78cc6c | 474 | cpp | C++ | plugins/mongo_db/mongo_db_types.cpp | VIZ-World/viz-core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 7 | 2018-03-21T12:56:32.000Z | 2018-04-02T16:06:24.000Z | plugins/mongo_db/mongo_db_types.cpp | VIZ-World/viz-core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 18 | 2018-03-21T13:29:46.000Z | 2018-05-18T10:56:43.000Z | plugins/mongo_db/mongo_db_types.cpp | VIZ-World/VIZ.Core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 9 | 2019-02-27T05:19:41.000Z | 2021-07-04T22:48:33.000Z | #include <graphene/plugins/mongo_db/mongo_db_types.hpp>
namespace graphene {
namespace plugins {
namespace mongo_db {
void bmi_insert_or_replace(db_map& bmi, named_document doc) {
auto it = bmi.get<hashed_idx>().find(std::make_tuple(
doc.collection_name,
doc.key, doc.keyval, doc.is... | 27.882353 | 65 | 0.635021 | VIZ-World |
29d3dc6adb4d83e001b3b3f788d6832c52dbfb89 | 1,753 | cc | C++ | xls/noc/config_ng/network_connection_utils.cc | felixzhuologist/xls | b6a4ec7190049002be1c0829d52b1d7767c88204 | [
"Apache-2.0"
] | 687 | 2020-08-20T21:24:09.000Z | 2022-03-24T11:58:16.000Z | xls/noc/config_ng/network_connection_utils.cc | felixzhuologist/xls | b6a4ec7190049002be1c0829d52b1d7767c88204 | [
"Apache-2.0"
] | 472 | 2020-08-20T20:59:38.000Z | 2022-03-31T15:25:47.000Z | xls/noc/config_ng/network_connection_utils.cc | felixzhuologist/xls | b6a4ec7190049002be1c0829d52b1d7767c88204 | [
"Apache-2.0"
] | 92 | 2020-08-24T20:32:46.000Z | 2022-03-27T21:42:17.000Z | // Copyright 2021 The XLS Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 36.520833 | 77 | 0.72162 | felixzhuologist |
29d40db7b54eee64bdcfc5f4e873d780b27295a1 | 10,686 | cpp | C++ | src/dialogs/CloneDialog.cpp | DeadMozay/gitahead | 6c27dda42d99f794089913bc06977042a040bbf7 | [
"MIT"
] | 2 | 2021-05-22T17:22:25.000Z | 2022-03-27T08:43:35.000Z | src/dialogs/CloneDialog.cpp | DeadMozay/gitahead | 6c27dda42d99f794089913bc06977042a040bbf7 | [
"MIT"
] | 1 | 2019-02-12T14:11:58.000Z | 2019-02-12T14:11:58.000Z | src/dialogs/CloneDialog.cpp | DeadMozay/gitahead | 6c27dda42d99f794089913bc06977042a040bbf7 | [
"MIT"
] | 1 | 2019-09-11T15:45:19.000Z | 2019-09-11T15:45:19.000Z | //
// Copyright (c) 2016, Scientific Toolworks, Inc.
//
// This software is licensed under the MIT License. The LICENSE.md file
// describes the conditions under which this software may be distributed.
//
// Author: Jason Haslam
//
#include "CloneDialog.h"
#include "git/Remote.h"
#include "git/Repository.h"
#... | 28.269841 | 83 | 0.647483 | DeadMozay |
29d42fa77c5f856524ddf94b405f4c92eb36935c | 3,749 | hpp | C++ | SDK/ARKSurvivalEvolved_DinoAttackStateMinionsDragon_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_DinoAttackStateMinionsDragon_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_DinoAttackStateMinionsDragon_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoAttackStateMinionsDragon_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------... | 63.542373 | 215 | 0.595092 | 2bite |
29d58da8188e68e7e4ba165a730766514f3cad41 | 1,214 | cpp | C++ | collection/cp/acm-icpc-cheat-sheet-master/src/misc/parser.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | 2 | 2019-09-07T17:00:26.000Z | 2020-08-05T02:08:35.000Z | collection/cp/acm-icpc-cheat-sheet-master/src/misc/parser.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | collection/cp/acm-icpc-cheat-sheet-master/src/misc/parser.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | void eonce(stack<int> &num, stack<char> &oper) {
int x, y = num.top();
char op = oper.top();
num.pop(); oper.pop();
if (op == '?') num.push(-y);
else {
x = num.top();
num.pop();
num.push(cal(x, y, op));
}
}
int eval(char *s) {
static int priv[256];
stack<int> num;
stack<char> oper;
pr... | 23.346154 | 114 | 0.439044 | daemonslayer |
29d812c9bfbc43a67cc29cb7e1fa1522bf130cb1 | 19,398 | cpp | C++ | src/RNAforester/src/main.cpp | visigoth/ViennaRNA | 0b8ca4c6604e7a8bea366af62d82f8f40cea49bf | [
"Python-2.0"
] | 157 | 2016-10-12T22:11:56.000Z | 2022-03-20T05:45:15.000Z | src/RNAforester/src/main.cpp | visigoth/ViennaRNA | 0b8ca4c6604e7a8bea366af62d82f8f40cea49bf | [
"Python-2.0"
] | 136 | 2016-11-07T19:06:30.000Z | 2022-03-10T23:50:55.000Z | src/RNAforester/src/main.cpp | visigoth/ViennaRNA | 0b8ca4c6604e7a8bea366af62d82f8f40cea49bf | [
"Python-2.0"
] | 59 | 2016-11-17T20:23:55.000Z | 2022-01-27T15:23:17.000Z | //#ifndef WIN32
//#include "config.h"
//#endif
#include "config.h"
#include "rnaforester_options.h"
#include "parser.h"
#include "aligner.h"
static const std::string AUTHOR = "Stefanie Schirmer, Matthias Hoechsmann ";
static const std::string RNAFORESTER_VERSION = "2.0.1";
static const std::string PROMPT = "Input str... | 37.232246 | 261 | 0.589288 | visigoth |
29d818889561ef82f72930b0116ab388a4809011 | 4,242 | cpp | C++ | chromium/third_party/WebKit/Source/modules/mediasource/TrackDefault.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/third_party/WebKit/Source/modules/mediasource/TrackDefault.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/third_party/WebKit/Source/modules/mediasource/TrackDefault.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // 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.
#include "modules/mediasource/TrackDefault.h"
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/ExceptionCode.h"
#include "core/html/track/... | 40.018868 | 199 | 0.656058 | wedataintelligence |
29d8fd12df230d917b567e5db6582ee622af5859 | 8,646 | cpp | C++ | libs/numeric/ublas/test/test11.cpp | mike-code/boost_1_38_0 | 7ff8b2069344ea6b0b757aa1f0778dfb8526df3c | [
"BSL-1.0"
] | 3 | 2019-06-25T23:20:19.000Z | 2021-03-14T19:38:34.000Z | libs/numeric/ublas/test/test11.cpp | boost-cmake/vintage | dcfb7da3177134eddaee6789d6f582259cb0d6ee | [
"BSL-1.0"
] | null | null | null | libs/numeric/ublas/test/test11.cpp | boost-cmake/vintage | dcfb7da3177134eddaee6789d6f582259cb0d6ee | [
"BSL-1.0"
] | 3 | 2016-07-26T08:07:09.000Z | 2019-06-25T23:20:21.000Z | //
// Copyright (c) 2000-2002
// Joerg Walter, Mathias Koch
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// The authors gratefully acknowledge the support of
// GeNeSys mbH & Co. KG in producing t... | 33.126437 | 114 | 0.563266 | mike-code |
29dc6202e4293f7b7bb85799646fd6f306020c60 | 2,282 | hpp | C++ | Runtime/Character/CAnimTreeLoopIn.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | Runtime/Character/CAnimTreeLoopIn.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | Runtime/Character/CAnimTreeLoopIn.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <string>
#include "Runtime/GCNTypes.hpp"
#include "Runtime/Character/CAnimSysContext.hpp"
#include "Runtime/Character/CAnimTreeSingleChild.hpp"
#include "Runtime/Character/CSequenceHelper.hpp"
namespace urde {
class CAnimTreeLoopIn : public CAnimTreeSingleChild {
std::share... | 49.608696 | 120 | 0.745837 | jackoalan |
29de80e540f56b6943ee7f75320d9fd4e058e478 | 2,700 | cc | C++ | table/sst_file_reader.cc | shampoo365/terarkdb | a05a42789b310e1a79f6b5bb2f98f78993f9fbb2 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-12-24T12:43:24.000Z | 2020-12-24T12:43:24.000Z | table/sst_file_reader.cc | shampoo365/terarkdb | a05a42789b310e1a79f6b5bb2f98f78993f9fbb2 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | table/sst_file_reader.cc | shampoo365/terarkdb | a05a42789b310e1a79f6b5bb2f98f78993f9fbb2 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
#ifndef ROCKSDB_LITE
#include "rocksdb/sst_file_reader.h... | 31.395349 | 80 | 0.683704 | shampoo365 |
29dfe07c148de811c2c034f451b25d8bb3f98c37 | 1,356 | cpp | C++ | sort/quick_sort_optimized.cpp | xiangp126/my-algo | 300e825b9e5048e7949ee5d9e16e4cc89939a34c | [
"MIT"
] | 3 | 2018-03-16T02:06:04.000Z | 2018-05-09T13:57:24.000Z | sort/quick_sort_optimized.cpp | xiangp126/my-algo | 300e825b9e5048e7949ee5d9e16e4cc89939a34c | [
"MIT"
] | 5 | 2018-06-11T11:44:41.000Z | 2018-06-14T01:48:10.000Z | sort/quick_sort_optimized.cpp | xiangp126/my-algo | 300e825b9e5048e7949ee5d9e16e4cc89939a34c | [
"MIT"
] | 1 | 2018-06-08T05:45:43.000Z | 2018-06-08T05:45:43.000Z | #include <utility>
#include "common.h"
#include "sort.h"
using std::pair;
using std::make_pair;
static void qSort(vector<int> &, int, int);
static pair<int, int> partition(vector<int> &, int, int);
void quickSortOptimized(vector<int> &nums) {
int N = nums.size();
qSort(nums, 0, N - 1);
}
void qSort(vector<i... | 27.12 | 66 | 0.533923 | xiangp126 |
29e2304ea458311ab025302cdc8ac34e0925d00f | 6,029 | hpp | C++ | bftengine/src/preprocessor/RequestProcessingState.hpp | yontyon/concord-bft | ea58d4bbaed646471c2d4f21e1dd06a9a4c19611 | [
"Apache-2.0"
] | 1 | 2021-08-15T06:43:47.000Z | 2021-08-15T06:43:47.000Z | bftengine/src/preprocessor/RequestProcessingState.hpp | yontyon/concord-bft | ea58d4bbaed646471c2d4f21e1dd06a9a4c19611 | [
"Apache-2.0"
] | 2 | 2018-10-22T06:53:43.000Z | 2018-10-23T15:12:31.000Z | bftengine/src/preprocessor/RequestProcessingState.hpp | yontyon/concord-bft | ea58d4bbaed646471c2d4f21e1dd06a9a4c19611 | [
"Apache-2.0"
] | 1 | 2022-02-21T12:49:18.000Z | 2022-02-21T12:49:18.000Z | // Concord
//
// Copyright (c) 2020-2021 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the "License"). You may not use this product except in
// compliance with the Apache 2.0 License.
//
// This product may include a number of subcomponents with separate copyrigh... | 47.101563 | 120 | 0.752529 | yontyon |
29e767f51415626496524e942405736fa0936898 | 1,421 | cpp | C++ | clang/lib/Tooling/Refactor/RenamedSymbol.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 605 | 2019-10-18T01:15:54.000Z | 2022-03-31T14:31:04.000Z | clang/lib/Tooling/Refactor/RenamedSymbol.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 3,180 | 2019-10-18T01:21:21.000Z | 2022-03-31T23:25:41.000Z | clang/lib/Tooling/Refactor/RenamedSymbol.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 275 | 2019-10-18T05:27:22.000Z | 2022-03-30T09:04:21.000Z | //===--- RenamedSymbol.cpp - ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 33.833333 | 80 | 0.634061 | LaudateCorpus1 |
29e7802f4de9e98f6dd963c8c4de557eb313b6d4 | 5,311 | cpp | C++ | test/utility/common_type.cpp | denizevrenci/range-v3 | 30ec52abef16f7f3140e8169f8ded4dad031fdc7 | [
"MIT"
] | 3,436 | 2015-01-05T14:27:21.000Z | 2022-03-31T07:56:04.000Z | test/utility/common_type.cpp | denizevrenci/range-v3 | 30ec52abef16f7f3140e8169f8ded4dad031fdc7 | [
"MIT"
] | 1,197 | 2015-01-01T21:27:32.000Z | 2022-03-29T17:46:09.000Z | test/utility/common_type.cpp | denizevrenci/range-v3 | 30ec52abef16f7f3140e8169f8ded4dad031fdc7 | [
"MIT"
] | 490 | 2015-01-04T00:18:04.000Z | 2022-03-25T18:59:43.000Z | // Range v3 library
//
// Copyright Eric Niebler 2014-present
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler/range-v3
... | 35.406667 | 131 | 0.637168 | denizevrenci |
29e7905e33b68ab5c762481a7a388178fd6ab29e | 5,452 | hpp | C++ | src/TerrainTile.hpp | a4chet/cesium-terrain-builder | ef70212c05d301fa7ad0a497a06765eaec663572 | [
"Apache-2.0"
] | null | null | null | src/TerrainTile.hpp | a4chet/cesium-terrain-builder | ef70212c05d301fa7ad0a497a06765eaec663572 | [
"Apache-2.0"
] | null | null | null | src/TerrainTile.hpp | a4chet/cesium-terrain-builder | ef70212c05d301fa7ad0a497a06765eaec663572 | [
"Apache-2.0"
] | null | null | null | #ifndef TERRAINTILE_HPP
#define TERRAINTILE_HPP
/*******************************************************************************
* Copyright 2014 GeoData <geodata@soton.ac.uk>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You... | 25.476636 | 89 | 0.672047 | a4chet |
29e8415e6bbe77e97fa5fca3c6dfb0aafb9f820e | 1,934 | cpp | C++ | src/src/rectangle.cpp | crr0004/terrian_prototype | 34b04239ee2fb01e48f1602ff6dd08e8bd26da63 | [
"MIT"
] | 2 | 2015-11-05T20:08:00.000Z | 2016-07-07T04:17:07.000Z | src/src/rectangle.cpp | crr0004/terrian_prototype | 34b04239ee2fb01e48f1602ff6dd08e8bd26da63 | [
"MIT"
] | 3 | 2016-10-29T02:20:49.000Z | 2017-04-01T11:09:53.000Z | src/src/rectangle.cpp | crr0004/terrian_prototype | 34b04239ee2fb01e48f1602ff6dd08e8bd26da63 | [
"MIT"
] | null | null | null | #include "rectangle.hpp"
#include <fmt/format.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "matrixstacksingleton.hpp"
#include "logiccontext.hpp"
using namespace Geometry;
Rectangle::Rectangle(){
vertexSize = 18;
vertices = new GLfloat[vertexSize];
verti... | 19.938144 | 100 | 0.674767 | crr0004 |
29ea8328d3fdb6bf9d5c90c58d42557d555383c9 | 2,022 | cpp | C++ | examples/framebuffer.cpp | ataryq/smk | 66dae81cc39e1abeb8d8acbcef7521bd4c954cc0 | [
"MIT"
] | 69 | 2019-08-08T22:17:59.000Z | 2022-03-30T19:11:16.000Z | examples/framebuffer.cpp | ataryq/smk | 66dae81cc39e1abeb8d8acbcef7521bd4c954cc0 | [
"MIT"
] | 7 | 2020-02-11T02:58:20.000Z | 2021-06-06T18:16:37.000Z | examples/framebuffer.cpp | ataryq/smk | 66dae81cc39e1abeb8d8acbcef7521bd4c954cc0 | [
"MIT"
] | 11 | 2020-08-09T14:49:59.000Z | 2022-03-12T16:55:49.000Z | #include <smk/BlendMode.hpp>
#include <smk/Color.hpp>
#include <smk/Framebuffer.hpp>
#include <smk/Input.hpp>
#include <smk/Shape.hpp>
#include <smk/Sprite.hpp>
#include <smk/Window.hpp>
int main() {
int dim = 512;
int center = dim / 2;
auto window = smk::Window(dim, dim, "Framebufer example");
// Two framebu... | 30.179104 | 80 | 0.610287 | ataryq |
29ea95ea605aafadccf96d5597eeb7fda3b629b5 | 1,855 | cpp | C++ | libcxx/test/std/ranges/range.adaptors/range.join.view/iterator/ctor.default.pass.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | libcxx/test/std/ranges/range.adaptors/range.join.view/iterator/ctor.default.pass.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | libcxx/test/std/ranges/range.adaptors/range.join.view/iterator/ctor.default.pass.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 31.982759 | 88 | 0.686792 | LaudateCorpus1 |
29ed47a24be8e198ef28da450a24dd7370d64af9 | 417 | cpp | C++ | Code/GraphicsAnalyse/scalarbareditdockwidget.cpp | cy15196/FastCAE | 0870752ec2e590f3ea6479e909ebf6c345ac2523 | [
"BSD-3-Clause"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | Code/GraphicsAnalyse/scalarbareditdockwidget.cpp | cy15196/FastCAE | 0870752ec2e590f3ea6479e909ebf6c345ac2523 | [
"BSD-3-Clause"
] | 4 | 2020-03-12T15:36:57.000Z | 2022-02-08T02:19:17.000Z | Code/GraphicsAnalyse/scalarbareditdockwidget.cpp | cy15196/FastCAE | 0870752ec2e590f3ea6479e909ebf6c345ac2523 | [
"BSD-3-Clause"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | #include "scalarbareditdockwidget.h"
#include "qmessagebox.h"
scalarBarEditDockWidget::scalarBarEditDockWidget(QWidget *parent) : QDockWidget(parent)
{
this->setWindowTitle(tr("Color Map Editor"));
scalarBarEdit_Form = new ScalarBarEditForm(this);
setWidget(scalarBarEdit_Form);
}
void scalarBarEditDockWidget::reT... | 27.8 | 87 | 0.791367 | cy15196 |
29eeef0f7247a508932517db9248b5f6ba6b80fb | 42,122 | cpp | C++ | 3_solver_heuristicas/ExecutadorDeMetaheuristicas.cpp | joaoweissmann/synthetic_instance_generator | 4eed082d97c81a13b9c7b4d4ec83b209cd2fe134 | [
"Apache-2.0"
] | null | null | null | 3_solver_heuristicas/ExecutadorDeMetaheuristicas.cpp | joaoweissmann/synthetic_instance_generator | 4eed082d97c81a13b9c7b4d4ec83b209cd2fe134 | [
"Apache-2.0"
] | null | null | null | 3_solver_heuristicas/ExecutadorDeMetaheuristicas.cpp | joaoweissmann/synthetic_instance_generator | 4eed082d97c81a13b9c7b4d4ec83b209cd2fe134 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 João Ricardo Weissmann Santos
//
// 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 ... | 40.895146 | 267 | 0.5542 | joaoweissmann |
29ef162165bb3dab2d45e5babfe0ed090f7c5545 | 9,940 | cpp | C++ | src/module/ModbusBridgeGetters.cpp | Wolkabout/WolkGatewayModule-Modbus | 4697f0fff0c2cd738e70a2efea2af068c0c9fa5a | [
"Apache-2.0"
] | 5 | 2019-05-19T06:01:55.000Z | 2021-09-16T07:09:58.000Z | src/module/ModbusBridgeGetters.cpp | Wolkabout/WolkGatewayModule-Modbus | 4697f0fff0c2cd738e70a2efea2af068c0c9fa5a | [
"Apache-2.0"
] | 11 | 2019-08-05T11:45:01.000Z | 2022-02-25T12:40:06.000Z | src/module/ModbusBridgeGetters.cpp | Wolkabout/WolkGatewayModule-Modbus | 4697f0fff0c2cd738e70a2efea2af068c0c9fa5a | [
"Apache-2.0"
] | 5 | 2019-10-07T14:12:09.000Z | 2020-05-26T14:37:34.000Z | /*
* Copyright 2020 WolkAbout Technology s.r.o.
*
* 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 ... | 39.919679 | 120 | 0.705835 | Wolkabout |
29ef5be757609a091ef9810a2fcbc56647a40d82 | 12,336 | cpp | C++ | src/ViewTask.cpp | 8-bit-fox/taskwarrior | ccb222a31be049fe6e3ef28fe660a1eaca351a95 | [
"MIT"
] | null | null | null | src/ViewTask.cpp | 8-bit-fox/taskwarrior | ccb222a31be049fe6e3ef28fe660a1eaca351a95 | [
"MIT"
] | null | null | null | src/ViewTask.cpp | 8-bit-fox/taskwarrior | ccb222a31be049fe6e3ef28fe660a1eaca351a95 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2006 - 2020, Paul Beckingham, Federico Hernandez.
//
// 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... | 31.309645 | 165 | 0.568742 | 8-bit-fox |
29f0c1430e78d71094dac153a029d154f4636694 | 2,346 | cpp | C++ | Codeforces/1~999/528/D.cpp | tiger0132/code-backup | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | [
"MIT"
] | 6 | 2018-12-30T06:16:54.000Z | 2022-03-23T08:03:33.000Z | Codeforces/1~999/528/D.cpp | tiger0132/code-backup | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | [
"MIT"
] | null | null | null | Codeforces/1~999/528/D.cpp | tiger0132/code-backup | 9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <vector>
typedef unsigned long long L;
const int N = 1e6 + 61, P = 998244353, G = 114514;
int pw(int x, int y) {
int r = 1;
for (; y; y >>= 1, x = (L)x * x % P)
if (y & 1) r = (L)r * x % P;
return r;
}
struct poly {
std::vector<int> v;
poly() ... | 25.78022 | 63 | 0.43734 | tiger0132 |
29f1b7b31532c9400dcf87453248b878c332fc12 | 1,873 | cpp | C++ | ShowDatabaseView.cpp | zswdjh/A_Functional_Database_Application | 79583984aac3b8dfd007633ac0a1f39f7e2cb573 | [
"MIT"
] | null | null | null | ShowDatabaseView.cpp | zswdjh/A_Functional_Database_Application | 79583984aac3b8dfd007633ac0a1f39f7e2cb573 | [
"MIT"
] | null | null | null | ShowDatabaseView.cpp | zswdjh/A_Functional_Database_Application | 79583984aac3b8dfd007633ac0a1f39f7e2cb573 | [
"MIT"
] | null | null | null | //
// ShowDatabaseView.cpp
// database
//
// Created by Vladi Iotov on 5/14/18.
// Copyright © 2018 vladi. All rights reserved.
//
#include "ShowDatabaseView.hpp"
namespace SF {
//basic callback function...can be made more thorough easily...
void ShowDatabaseView::printFileName(std::string& aFileName... | 30.209677 | 113 | 0.557928 | zswdjh |
29f3a4f65fd1e3205c31dfc3638ac8281bb5b742 | 15,041 | cxx | C++ | Qt/Components/pqTextureComboBox.cxx | UV-CDAT/ParaView | 095ac28404a85fd86676491b8952884805842223 | [
"Apache-2.0"
] | null | null | null | Qt/Components/pqTextureComboBox.cxx | UV-CDAT/ParaView | 095ac28404a85fd86676491b8952884805842223 | [
"Apache-2.0"
] | null | null | null | Qt/Components/pqTextureComboBox.cxx | UV-CDAT/ParaView | 095ac28404a85fd86676491b8952884805842223 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
Program: ParaView
Module: pqTextureComboBox.cxx
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the P... | 29.608268 | 90 | 0.62928 | UV-CDAT |
29f444a13ab309df39fa4e00154a57ac6789fe6d | 317 | cpp | C++ | acmicpc.net/source/3052.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 7 | 2019-06-26T07:03:32.000Z | 2020-11-21T16:12:51.000Z | acmicpc.net/source/3052.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | null | null | null | acmicpc.net/source/3052.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 9 | 2019-02-28T03:34:54.000Z | 2020-12-18T03:02:40.000Z | // 3052. 나머지
// 2019.05.21
// 수학
#include<iostream>
#include<algorithm>
using namespace std;
int arr[42];
int main()
{
for (int i = 0; i < 10; i++)
{
int a;
cin >> a;
arr[a % 42]++;
}
int ans = 0;
for (int i = 0; i < 42; i++)
{
if (arr[i] != 0)
{
ans++;
}
}
cout << ans << endl;
return 0;
}
| 10.931034 | 29 | 0.48265 | tdm1223 |
29f550705b420d632e531ca65b32d5a2e07d034b | 11,955 | cc | C++ | src/openvslam/match/stereo.cc | Patrixe/openvslam | 8ec940dc4498e25bebd541939b8c25801f789f6f | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 1 | 2021-03-11T10:12:31.000Z | 2021-03-11T10:12:31.000Z | src/openvslam/match/stereo.cc | Patrixe/openvslam | 8ec940dc4498e25bebd541939b8c25801f789f6f | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | src/openvslam/match/stereo.cc | Patrixe/openvslam | 8ec940dc4498e25bebd541939b8c25801f789f6f | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 1 | 2021-03-10T09:05:47.000Z | 2021-03-10T09:05:47.000Z | #include "openvslam/match/stereo.h"
#include "openvslam/data/keypoint.h"
namespace openvslam {
namespace match {
stereo::stereo(const std::vector<cv::Mat>& left_image_pyramid, const std::vector<cv::Mat>& right_image_pyramid,
data::keypoint_container &keypts_left, data::keypoint_container &keypts_right,... | 42.09507 | 163 | 0.643831 | Patrixe |
29f9aaa74cfa827916c07a07ab261333311fc897 | 4,130 | cpp | C++ | src/cpp/transport/serial/SerialAgentLinux.cpp | vibnwis/Micro-XRCE-DDS-Agent | 57ff677855b75d79657b7c20110241e6c1eec351 | [
"Apache-2.0"
] | null | null | null | src/cpp/transport/serial/SerialAgentLinux.cpp | vibnwis/Micro-XRCE-DDS-Agent | 57ff677855b75d79657b7c20110241e6c1eec351 | [
"Apache-2.0"
] | null | null | null | src/cpp/transport/serial/SerialAgentLinux.cpp | vibnwis/Micro-XRCE-DDS-Agent | 57ff677855b75d79657b7c20110241e6c1eec351 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | 29.71223 | 143 | 0.623971 | vibnwis |
29f9d8e0cdf442696acf8a8a2c0a153c1487624d | 434 | cpp | C++ | P1226.cpp | AndrewWayne/OI_Learning | 0fe8580066704c8d120a131f6186fd7985924dd4 | [
"MIT"
] | null | null | null | P1226.cpp | AndrewWayne/OI_Learning | 0fe8580066704c8d120a131f6186fd7985924dd4 | [
"MIT"
] | null | null | null | P1226.cpp | AndrewWayne/OI_Learning | 0fe8580066704c8d120a131f6186fd7985924dd4 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <iostream>
#include <string.h>
using namespace std;
int main(){
long int b,b1,p,p1,k,s=1;
scanf("%ld%ld%ld",&b,&p,&k);
b1=b;
p1=p;
b=b%k;
if(p==0){
s=1%k;
printf("%ld^%ld mod %ld=%ld",b1,p1,k,s);
return 0;
}
while(p>0){
if(p%2==... | 17.36 | 48 | 0.449309 | AndrewWayne |
29fa0ff9970a98bcb95ec0d3a35485da1cca229c | 9,730 | cc | C++ | test/test_marshalling.cc | planthaber/typelib | 75b22b66c04d66f918461c47bd866f5f7f985a90 | [
"CECILL-B"
] | null | null | null | test/test_marshalling.cc | planthaber/typelib | 75b22b66c04d66f918461c47bd866f5f7f985a90 | [
"CECILL-B"
] | null | null | null | test/test_marshalling.cc | planthaber/typelib | 75b22b66c04d66f918461c47bd866f5f7f985a90 | [
"CECILL-B"
] | null | null | null | #include <boost/test/auto_unit_test.hpp>
#include <test/testsuite.hh>
#include <typelib/utilmm/configset.hh>
#include <typelib/pluginmanager.hh>
#include <typelib/importer.hh>
#include <typelib/typemodel.hh>
#include <typelib/registry.hh>
#include <typelib/value.hh>
#include <typelib/value_ops.hh>
#include <test/test... | 38.156863 | 125 | 0.601747 | planthaber |
29fb45ae3bec81fbbd45de192347835aa2590423 | 2,429 | cpp | C++ | fileaccessor.cpp | negasora/binaryninja-api | d26bfd9298d8696be1f52f2b2a4de3403c3871b5 | [
"MIT"
] | null | null | null | fileaccessor.cpp | negasora/binaryninja-api | d26bfd9298d8696be1f52f2b2a4de3403c3871b5 | [
"MIT"
] | null | null | null | fileaccessor.cpp | negasora/binaryninja-api | d26bfd9298d8696be1f52f2b2a4de3403c3871b5 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2017 Vector 35 LLC
//
// 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, pub... | 28.916667 | 92 | 0.765336 | negasora |
29feaa6ae7cf637e2553f8caf0a31f90b9d86bcc | 30,762 | cxx | C++ | Dynamixel/libDynamixel/DynaBgThread.cxx | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | Dynamixel/libDynamixel/DynaBgThread.cxx | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | Dynamixel/libDynamixel/DynaBgThread.cxx | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// Package: Dynamixel
//
// Library: libDynamixel
//
// File: DynaBgThread.cxx
//
/*! \file
*
* $LastChangedDate: 2015-07-08 12:19:29 -0600 (Wed, 08 Jul 2015) $
* $Rev: 4024 $
*
* \brief Dynamixel background thread class.
... | 24.433678 | 80 | 0.605812 | roadnarrows-robotics |
4b008be4fd16bfa8d9db0eef557cbf38c9023e00 | 481 | hpp | C++ | zxengine-core/include/scene/coms_vector.hpp | joeccane/ZxEngine | 2df880ab7681022d58cd7d955dcffad65d53dab2 | [
"MIT"
] | null | null | null | zxengine-core/include/scene/coms_vector.hpp | joeccane/ZxEngine | 2df880ab7681022d58cd7d955dcffad65d53dab2 | [
"MIT"
] | 3 | 2020-08-08T18:15:20.000Z | 2020-08-21T01:11:59.000Z | zxengine-core/include/scene/coms_vector.hpp | joeccane/zxengine | 2df880ab7681022d58cd7d955dcffad65d53dab2 | [
"MIT"
] | null | null | null | #pragma once
#include "core.hpp"
#include <memory_resource>
namespace zx
{
using coms_list_memory_resource = std::pmr::synchronized_pool_resource;
template<component_type T>
using coms_vector = zx::vector<T>;
struct coms_vector_resource
{
inline static coms_list_memory_resource resource = coms_list_memory_reso... | 22.904762 | 114 | 0.758836 | joeccane |
4b020cae6478e18f355339c56d4de5aeda83ff05 | 14,296 | cpp | C++ | src/nsc/Patch.cpp | suzukiplan/nsdlib | ae1d840adadbad3b55c205d661e4d80586eb73df | [
"Unlicense"
] | null | null | null | src/nsc/Patch.cpp | suzukiplan/nsdlib | ae1d840adadbad3b55c205d661e4d80586eb73df | [
"Unlicense"
] | null | null | null | src/nsc/Patch.cpp | suzukiplan/nsdlib | ae1d840adadbad3b55c205d661e4d80586eb73df | [
"Unlicense"
] | null | null | null | /*******************************************************************************
NES Sound Driver & Library (NSD.lib) MML Compiler
Copyright (c) 2012 A.Watanabe (S.W.), All rights reserved.
For conditions of distribution and use, see copyright notice in "nsc.cpp".
***************************************... | 21.53012 | 81 | 0.452084 | suzukiplan |
4b0238ed4664c068e9acc6eee999e9c2d4cc3d12 | 48 | hpp | C++ | src/boost_type_traits_remove_pointer.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_type_traits_remove_pointer.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_type_traits_remove_pointer.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/type_traits/remove_pointer.hpp>
| 24 | 47 | 0.833333 | miathedev |
4b039e26368685770670a55357fb641e032cb230 | 1,488 | cpp | C++ | src/Evolution/Systems/NewtonianEuler/Characteristics.cpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | src/Evolution/Systems/NewtonianEuler/Characteristics.cpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | src/Evolution/Systems/NewtonianEuler/Characteristics.cpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Evolution/Systems/NewtonianEuler/Characteristics.hpp"
#include "DataStructures/DataVector.hpp"
#include "DataStructures/Tensor/EagerMath/DotProduct.hpp"
#include "DataStructures/Tensor/Tensor.hpp"
#include "Utilities/GenerateInstantiation... | 31 | 74 | 0.728495 | marissawalker |
4b03d259476887e50fcbfdadfd166a66e6991bf1 | 389 | cpp | C++ | ieee_sep/SubscriptionBase.cpp | Tylores/ieee_sep | 1928bed8076f4bfe702d34e436c6a85f197b0832 | [
"BSD-2-Clause"
] | null | null | null | ieee_sep/SubscriptionBase.cpp | Tylores/ieee_sep | 1928bed8076f4bfe702d34e436c6a85f197b0832 | [
"BSD-2-Clause"
] | null | null | null | ieee_sep/SubscriptionBase.cpp | Tylores/ieee_sep | 1928bed8076f4bfe702d34e436c6a85f197b0832 | [
"BSD-2-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////
// SubscriptionBase.cpp
// Implementation of the Class SubscriptionBase
// Created on: 13-Apr-2020 2:51:43 PM
// Original author: svanausdall
///////////////////////////////////////////////////////////
#include "SubscriptionBase.h"
SubscriptionBase... | 20.473684 | 59 | 0.506427 | Tylores |
4b054e35f243f14f621ba31bdae0da67ee49c7d5 | 648 | cpp | C++ | Spatial_searching/test/Spatial_searching/remove.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 3,227 | 2015-03-05T00:19:18.000Z | 2022-03-31T08:20:35.000Z | Spatial_searching/test/Spatial_searching/remove.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 5,574 | 2015-03-05T00:01:56.000Z | 2022-03-31T15:08:11.000Z | Spatial_searching/test/Spatial_searching/remove.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 1,274 | 2015-03-05T00:01:12.000Z | 2022-03-31T14:47:56.000Z | #include <CGAL/Simple_cartesian.h>
#include <CGAL/Search_traits_2.h>
#include <CGAL/Kd_tree.h>
typedef CGAL::Simple_cartesian<double> K;
typedef K::Point_2 Point;
typedef CGAL::Search_traits_2<K> Traits;
typedef CGAL::Kd_tree<Traits> Tree;
int main()
{
Tree t;
t.insert(Point(0,0));
t.insert(Point(1,2));
t.ins... | 20.903226 | 41 | 0.634259 | ffteja |
4b082249451c8dacd3f3ee058e6931aeafb2aa15 | 4,266 | cc | C++ | test/integration/gripper.cc | harderthan/gazebo | f00a0e4239ddb08b299dc21ab1ef106ecedb0fac | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-04-06T16:17:36.000Z | 2015-04-06T16:17:36.000Z | test/integration/gripper.cc | harderthan/gazebo | f00a0e4239ddb08b299dc21ab1ef106ecedb0fac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/integration/gripper.cc | harderthan/gazebo | f00a0e4239ddb08b299dc21ab1ef106ecedb0fac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2012-2015 Open Source Robotics Foundation
*
* 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... | 27 | 77 | 0.676746 | harderthan |
4b0893fec3b111d8471368806bc672a62439a849 | 1,507 | cpp | C++ | codes/CF/1520/hackE.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 2 | 2021-03-07T03:34:02.000Z | 2021-03-09T01:22:21.000Z | codes/CF/1520/hackE.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 1 | 2021-03-27T15:01:23.000Z | 2021-03-27T15:55:34.000Z | codes/CF/1520/hackE.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 1 | 2021-03-27T05:02:33.000Z | 2021-03-27T05:02:33.000Z | //here take a cat
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <string>
#include <utility>
#include <cmath>
#include <cassert>
#include <algorithm>
#include <vector>
#include <random>
#include <chrono>
#include <queue>
#include <set>
#define ll long long
#define lb long double
#... | 22.161765 | 66 | 0.637691 | chessbot108 |
4b08c48847ac329aaefbb987f6b7fbd5b34dee5c | 3,672 | cc | C++ | chrome/browser/ui/views/app_list/win/app_list_win.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | chrome/browser/ui/views/app_list/win/app_list_win.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/app_list/win/app_list_win.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2013 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 "chrome/browser/ui/views/app_list/win/app_list_win.h"
#include "chrome/browser/ui/app_list/app_list_positioner.h"
#include "ui/app_list/app_list... | 38.652632 | 80 | 0.694717 | Wzzzx |
4b09f9ca6644870541cb0b44c03ee36ccec68e0d | 1,297 | cpp | C++ | typical_dp/g.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | typical_dp/g.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | 3 | 2021-03-31T01:39:25.000Z | 2021-05-04T10:02:35.000Z | typical_dp/g.cpp | KoukiNAGATA/c- | ae51bacb9facb936a151dd777beb6688383a2dcd | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i <= n; i++)
#define FORR(i, m, n) for (int i = m; i >= n; i--)
#define SORT(v, n) sort(v, v + n)
#define MAX 100000
#define inf 1000000007
using namespace std;... | 17.293333 | 51 | 0.48882 | KoukiNAGATA |
4b0ac826a362ab101f56aac402e50d26c0d684e8 | 2,143 | cpp | C++ | codechef_DSA/fencing.cpp | archit-1997/codechef | 713051daa25b436fa63a0a7ac7fd769ac8a091ef | [
"MIT"
] | 1 | 2021-01-27T16:37:34.000Z | 2021-01-27T16:37:34.000Z | codechef_DSA/fencing.cpp | archit-1997/codechef | 713051daa25b436fa63a0a7ac7fd769ac8a091ef | [
"MIT"
] | null | null | null | codechef_DSA/fencing.cpp | archit-1997/codechef | 713051daa25b436fa63a0a7ac7fd769ac8a091ef | [
"MIT"
] | null | null | null | // Archit Singh
// architsingh456@gmail.com
// GitHub : archit-1997
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ld long double
#define line cout << "-------------" << endl;
#define F first
#define S second
#define P pair<ll, ll>
#define PP pair<pair<ll, ll>, ll>
#defin... | 23.293478 | 81 | 0.451237 | archit-1997 |
4b0c7d4332351af90bedcaceb064a87655221628 | 1,030 | cpp | C++ | SPOJ/BIT2.cpp | aqfaridi/Competitve-Programming-Codes | d055de2f42d3d6bc36e03e67804a1dd6b212241f | [
"MIT"
] | null | null | null | SPOJ/BIT2.cpp | aqfaridi/Competitve-Programming-Codes | d055de2f42d3d6bc36e03e67804a1dd6b212241f | [
"MIT"
] | null | null | null | SPOJ/BIT2.cpp | aqfaridi/Competitve-Programming-Codes | d055de2f42d3d6bc36e03e67804a1dd6b212241f | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <sstream>
#include <vector>
#include <iomanip>
#include <cmath>
using namespace std;
typedef long long LL;
typedef pair<int,int> pii;
#define MAX 100010
#define MOD 1000000007
LL bitsum(LL n)
{
LL total = 0;
for(int i ... | 18.727273 | 51 | 0.464078 | aqfaridi |
4b0ca02159d3e50667033e6b4ab4d78756c1339c | 8,188 | cpp | C++ | library/text/test/src/test_tetengo.text.grapheme_splitting.grapheme_segment.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | library/text/test/src/test_tetengo.text.grapheme_splitting.grapheme_segment.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | 41 | 2021-06-25T14:20:29.000Z | 2022-01-16T02:50:50.000Z | library/text/test/src/test_tetengo.text.grapheme_splitting.grapheme_segment.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | /*! \file
\brief A grapheme segment.
Copyright (C) 2019-2022 kaoru https://www.tetengo.org/
*/
#include <algorithm>
#include <cstddef>
#include <iterator>
#include <utility>
#include <vector>
#include <boost/preprocessor.hpp>
#include <boost/test/unit_test.hpp>
#include <tetengo/text/graphem... | 42.86911 | 120 | 0.596971 | tetengo |
4b0d136e030a0f498eaf83982e73f2c8affa5aaa | 258,703 | cpp | C++ | visa/LocalScheduler/SWSB_G4IR.cpp | intel/intel-graphics-compiler | e0c56f44a4b811b78880758ae89c3f18659a57f7 | [
"Intel",
"MIT"
] | 440 | 2018-01-30T00:43:22.000Z | 2022-03-24T17:28:37.000Z | visa/LocalScheduler/SWSB_G4IR.cpp | intel/intel-graphics-compiler | e0c56f44a4b811b78880758ae89c3f18659a57f7 | [
"Intel",
"MIT"
] | 225 | 2018-02-02T03:10:47.000Z | 2022-03-31T10:50:37.000Z | visa/LocalScheduler/SWSB_G4IR.cpp | intel/intel-graphics-compiler | e0c56f44a4b811b78880758ae89c3f18659a57f7 | [
"Intel",
"MIT"
] | 138 | 2018-01-30T08:15:11.000Z | 2022-03-22T14:16:39.000Z | /*========================== begin_copyright_notice ============================
Copyright (C) 2017-2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#include "SWSB_G4IR.h"
#include "../G4_Opcode.h"
#include "../Timer.h"
#include "..... | 35.940956 | 220 | 0.509689 | intel |
4b0d4c21ad1ca66166055ab22971a4dc4c38fccb | 2,911 | cpp | C++ | src/Interpreters/InterpreterShowTablesQuery.cpp | amosnothing/ClickHouse | cf49a839806290c41a3a1ccd5808687d7ccaca78 | [
"Apache-2.0"
] | 8 | 2019-06-04T02:50:13.000Z | 2022-02-10T06:46:51.000Z | src/Interpreters/InterpreterShowTablesQuery.cpp | amosnothing/ClickHouse | cf49a839806290c41a3a1ccd5808687d7ccaca78 | [
"Apache-2.0"
] | 16 | 2021-06-07T21:32:30.000Z | 2022-03-31T21:08:29.000Z | src/Interpreters/InterpreterShowTablesQuery.cpp | amosnothing/ClickHouse | cf49a839806290c41a3a1ccd5808687d7ccaca78 | [
"Apache-2.0"
] | 2 | 2021-01-04T06:43:51.000Z | 2021-05-14T03:17:13.000Z | #include <IO/ReadBufferFromString.h>
#include <Parsers/ASTShowTablesQuery.h>
#include <Parsers/formatAST.h>
#include <Interpreters/Context.h>
#include <Interpreters/DatabaseCatalog.h>
#include <Interpreters/executeQuery.h>
#include <Interpreters/InterpreterShowTablesQuery.h>
#include <Common/typeid_cast.h>
#include <io... | 27.462264 | 127 | 0.656132 | amosnothing |
4b0e686a31ca5fbf1d46dd4e7119b06774479537 | 4,302 | cpp | C++ | samples/bvsample04/sample4.cpp | lemire/BitMagic | 8ed5a2c37d5f4ae6dddd76883eb12760d06278cf | [
"MIT"
] | 4 | 2016-04-22T07:59:40.000Z | 2021-02-24T19:57:06.000Z | samples/bvsample04/sample4.cpp | lemire/BitMagic | 8ed5a2c37d5f4ae6dddd76883eb12760d06278cf | [
"MIT"
] | null | null | null | samples/bvsample04/sample4.cpp | lemire/BitMagic | 8ed5a2c37d5f4ae6dddd76883eb12760d06278cf | [
"MIT"
] | null | null | null | /*
Copyright(c) 2002-2009 Anatoliy Kuznetsov(anatoliy_kuznetsov at yahoo.com)
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... | 26.8875 | 81 | 0.671083 | lemire |
4b10cf02b0be6a803eb200ba5d6a6b4428523b14 | 5,180 | cpp | C++ | ReactAndroid/third-party-ndk/boost/boost_1_66_0/libs/mp11/test/construct_from_tuple.cpp | yinhangfeng/react-native | 35e88f14195aa7a75ace8881956a0eb4bdadea62 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | null | null | null | ReactAndroid/third-party-ndk/boost/boost_1_66_0/libs/mp11/test/construct_from_tuple.cpp | yinhangfeng/react-native | 35e88f14195aa7a75ace8881956a0eb4bdadea62 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | null | null | null | ReactAndroid/third-party-ndk/boost/boost_1_66_0/libs/mp11/test/construct_from_tuple.cpp | yinhangfeng/react-native | 35e88f14195aa7a75ace8881956a0eb4bdadea62 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 1 | 2019-03-08T11:06:22.000Z | 2019-03-08T11:06:22.000Z |
// Copyright 2015, 2017 Peter Dimov.
//
// Distributed under the Boost Software License, Version 1.0.
//
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
#include <boost/mp11/tuple.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/config.hpp>
#incl... | 23.545455 | 193 | 0.453089 | yinhangfeng |
4b12cca2affd15b93f76f3db4203ad337d6331c2 | 217 | cpp | C++ | input/Controller.cpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 26 | 2015-04-22T05:25:25.000Z | 2020-11-15T11:07:56.000Z | input/Controller.cpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 2 | 2015-01-05T10:41:27.000Z | 2015-01-06T20:46:11.000Z | input/Controller.cpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 5 | 2016-08-02T11:13:57.000Z | 2018-10-26T11:19:27.000Z | #include "Controller.hpp"
BEGIN_INANITY_INPUT
Controller::Controller(uint64_t controllerId)
: controllerId(controllerId) {}
uint64_t Controller::GetControllerId() const
{
return controllerId;
}
END_INANITY_INPUT
| 15.5 | 45 | 0.81106 | quyse |
4b152456aed6adcf04af6becee2f0028c6991df7 | 1,640 | hpp | C++ | src/common/utils/if.hpp | jarrielcook/openair-cn-cups | e3bd21569576ce240daf4d16ed8c243224b4bafb | [
"Apache-2.0"
] | 2 | 2020-06-29T07:35:43.000Z | 2021-08-14T19:49:26.000Z | src/common/utils/if.hpp | jarrielcook/openair-cn-cups | e3bd21569576ce240daf4d16ed8c243224b4bafb | [
"Apache-2.0"
] | 13 | 2020-06-09T22:12:13.000Z | 2021-05-29T13:43:31.000Z | src/common/utils/if.hpp | jarrielcook/openair-cn-cups | e3bd21569576ce240daf4d16ed8c243224b4bafb | [
"Apache-2.0"
] | 2 | 2020-06-09T21:03:53.000Z | 2021-08-17T03:27:53.000Z | /*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the Apache License... | 43.157895 | 139 | 0.727439 | jarrielcook |
4b15898d306c2382dbe5badb6584a1f496e2bffc | 166 | cpp | C++ | game_from_scratch/game_from_scratch/main.cpp | Robertk92/GameFromScratch | aa38a443636adbaf771514b1a3a868503feac87e | [
"MIT"
] | null | null | null | game_from_scratch/game_from_scratch/main.cpp | Robertk92/GameFromScratch | aa38a443636adbaf771514b1a3a868503feac87e | [
"MIT"
] | null | null | null | game_from_scratch/game_from_scratch/main.cpp | Robertk92/GameFromScratch | aa38a443636adbaf771514b1a3a868503feac87e | [
"MIT"
] | null | null | null | #pragma comment(lib, "blitwave.lib")
#include <blitwave/engine.h>
#include <game/core/game.h>
int main(int argc, char** argv) {
engine()->run<Game>();
return 0;
} | 18.444444 | 36 | 0.668675 | Robertk92 |
4b16aaccc83cbe1c514d584484bb9cb33dc8c3c1 | 1,443 | cpp | C++ | Game/main.cpp | gamepopper/Tunnel-Bug | 6327a1737421f2c81f8cf3e11fc393d1ef94cbaa | [
"MIT"
] | null | null | null | Game/main.cpp | gamepopper/Tunnel-Bug | 6327a1737421f2c81f8cf3e11fc393d1ef94cbaa | [
"MIT"
] | null | null | null | Game/main.cpp | gamepopper/Tunnel-Bug | 6327a1737421f2c81f8cf3e11fc393d1ef94cbaa | [
"MIT"
] | null | null | null | #include <VFrame/VGame.h>
#include <memory>
#include "TitleState.h"
#include "VFrame/VGlobal.h"
/**
Theme: Your Life Is Currency
Navigate a ship through a winding RNG path, touching the walls loses health.
Health can be regained by collecting orbs.
Health can be spent to make the future paths easier.
T... | 32.066667 | 107 | 0.729037 | gamepopper |
4b189b761fde67686ee48651aeeda446f29fc5c0 | 9,644 | cc | C++ | onnxruntime/core/providers/coreml/builders/model_builder.cc | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 6,036 | 2019-05-07T06:03:57.000Z | 2022-03-31T17:59:54.000Z | onnxruntime/core/providers/coreml/builders/model_builder.cc | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 5,730 | 2019-05-06T23:04:55.000Z | 2022-03-31T23:55:56.000Z | onnxruntime/core/providers/coreml/builders/model_builder.cc | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 1,566 | 2019-05-07T01:30:07.000Z | 2022-03-31T17:06:50.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include <fstream>
#include <core/common/safeint.h>
#include "model_builder.h"
#include "helper.h"
#include "op_builder_factory.h"
#include "core/providers/common.h"
#include "core/providers/coreml/model/model.h"
#include... | 35.985075 | 130 | 0.69214 | lchang20 |
4b1a02fe63568a5bd279158a7c2693eb99cd9232 | 4,935 | cpp | C++ | src/model/model.cpp | Gotatang/DadEngine_2.0 | 1e97e86996571c8ba1efec72b0f0e914d86533d3 | [
"MIT"
] | 2 | 2018-03-12T13:59:13.000Z | 2018-11-27T20:13:57.000Z | src/model/model.cpp | Gotatang/DadEngine_2.0 | 1e97e86996571c8ba1efec72b0f0e914d86533d3 | [
"MIT"
] | 5 | 2018-12-22T10:43:28.000Z | 2019-01-17T22:02:16.000Z | src/model/model.cpp | ladevieq/dadengine | 1e97e86996571c8ba1efec72b0f0e914d86533d3 | [
"MIT"
] | null | null | null | #include "model.hpp"
namespace DadEngine
{
VertexBuffer::VertexBuffer(std::vector<Vertex> &&_vertices)
: vertices(_vertices)
{
#if defined(OPENGL)
glGenVertexArrays(1, &vertexArrayID);
glBindVertexArray(vertexArrayID);
glGenBuffers(1, &vertexBufferID);
glBindBuffer(GL_A... | 32.9 | 122 | 0.639716 | Gotatang |
4b1cfa1f656693d993b4622819397413870d570b | 77,199 | cpp | C++ | td/telegram/files/FileManager.cpp | takpare/-T | 6c706f45e7a73c936b9f2f267785092c8a73348f | [
"BSL-1.0"
] | null | null | null | td/telegram/files/FileManager.cpp | takpare/-T | 6c706f45e7a73c936b9f2f267785092c8a73348f | [
"BSL-1.0"
] | null | null | null | td/telegram/files/FileManager.cpp | takpare/-T | 6c706f45e7a73c936b9f2f267785092c8a73348f | [
"BSL-1.0"
] | null | null | null | //
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2018
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include "td/telegram/files/FileManager.h"
#include "td/tele... | 33.726081 | 120 | 0.67063 | takpare |
4b20b339206bb6671cf58535ba5c51b40e6ffa67 | 6,164 | cc | C++ | components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unittest.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.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.
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h"
#include <memory>
#include <string>
#include <vector>
#inclu... | 39.767742 | 91 | 0.684783 | google-ar |
4b22ba004f7f6507229ff7948cc856d0db34998c | 23,376 | cc | C++ | chrome/browser/ash/login/ui/login_display_host_mojo.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | chrome/browser/ash/login/ui/login_display_host_mojo.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | chrome/browser/ash/login/ui/login_display_host_mojo.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "chrome/browser/ash/login/ui/login_display_host_mojo.h"
#include <utility>
#include "ash/public/cpp/login_screen.h"
#include "ash/public/cpp/sh... | 33.299145 | 89 | 0.74615 | DamieFC |
4b2311d4fe27db8d3017f248e1344b022bf710ad | 37,034 | cpp | C++ | Unity/build/iOS-Simulator/Classes/Native/Bulk_UnityEngine.InputModule_0.cpp | AnnaOpareva/Unity-iOS | dba005999d63e387167a36fe1feafd0b900626a8 | [
"MIT"
] | 31 | 2019-01-15T16:32:02.000Z | 2021-12-21T21:59:57.000Z | Unity/build/iOS-Simulator/Classes/Native/Bulk_UnityEngine.InputModule_0.cpp | AnnaOpareva/Unity-iOS | dba005999d63e387167a36fe1feafd0b900626a8 | [
"MIT"
] | 5 | 2019-05-16T05:36:44.000Z | 2022-03-18T10:12:53.000Z | Unity/build/iOS-Simulator/Classes/Native/Bulk_UnityEngine.InputModule_0.cpp | AnnaOpareva/Unity-iOS | dba005999d63e387167a36fe1feafd0b900626a8 | [
"MIT"
] | 3 | 2019-05-25T02:30:43.000Z | 2021-10-12T10:56:57.000Z | #import <TargetConditionals.h> // Modified by PostBuild.cs
#if TARGET_OS_SIMULATOR // Modified by PostBuild.cs
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <asse... | 39.106653 | 290 | 0.840498 | AnnaOpareva |
4b237561a0f86dac212646b03b2139993c6df021 | 8,266 | cpp | C++ | Source/common/P4Image.cpp | vtslothy/P4Win | 7aac7763d984db66d31de06ff7686c309851884c | [
"BSD-2-Clause"
] | 10 | 2018-08-03T12:15:43.000Z | 2021-06-03T18:31:04.000Z | Source/common/P4Image.cpp | danieljennings/P4Win | 95fb3766159076555eec861098f205691b3cb86c | [
"BSD-2-Clause"
] | 10 | 2018-07-31T21:35:10.000Z | 2019-07-08T02:06:32.000Z | Source/common/P4Image.cpp | danieljennings/P4Win | 95fb3766159076555eec861098f205691b3cb86c | [
"BSD-2-Clause"
] | 3 | 2019-05-10T20:13:46.000Z | 2021-03-03T05:03:40.000Z | #include "stdafx.h"
#include "P4Image.h"
///////////////////////////////////////////////////////////////////////////
// CP4Image16 - support for 16 color images
bool CP4Image16::Load(int nId)
{
if(!m_bmp.LoadBitmap(nId))
return false;
m_bmp.GetBitmap(&m_bm);
m_w = m_bm.bmWidth;
m_h = m_bm.bmHeight;
return true... | 26.324841 | 79 | 0.628115 | vtslothy |
4b24cdb361e9222ca97228a7ea2d20d5f252319b | 1,892 | cpp | C++ | benchmark/parallel_read.cpp | OpenSSE/insecure-index | 14be5afa278543a938edd9dac49c86b99dd5eab7 | [
"MIT"
] | 1 | 2021-09-01T02:22:29.000Z | 2021-09-01T02:22:29.000Z | benchmark/parallel_read.cpp | OpenSSE/insecure-index | 14be5afa278543a938edd9dac49c86b99dd5eab7 | [
"MIT"
] | null | null | null | benchmark/parallel_read.cpp | OpenSSE/insecure-index | 14be5afa278543a938edd9dac49c86b99dd5eab7 | [
"MIT"
] | 1 | 2019-11-15T00:50:18.000Z | 2019-11-15T00:50:18.000Z | #include "file_benchmark.hpp"
#include "logger.hpp"
#include <omp.h>
#include <iomanip>
#include <iostream>
void run_benchmark(const std::string filename,
const size_t file_size,
const bool direct_access,
const size_t read_size,
... | 26.277778 | 80 | 0.588795 | OpenSSE |
4b25015fea88c58b1af2f516c91321d895b4cf1b | 263 | cpp | C++ | PATTERN/Pattern_4/Solution.cpp | UndefeatedSunny/C-Interview-Problems | 5eb4d3c52cb7ffe4bc97380d13f62e23bc7d1e2f | [
"MIT"
] | 4 | 2020-02-25T19:02:46.000Z | 2021-04-17T09:13:51.000Z | PATTERN/Pattern_4/Solution.cpp | UndefeatedSunny/C-Interview-Problems | 5eb4d3c52cb7ffe4bc97380d13f62e23bc7d1e2f | [
"MIT"
] | null | null | null | PATTERN/Pattern_4/Solution.cpp | UndefeatedSunny/C-Interview-Problems | 5eb4d3c52cb7ffe4bc97380d13f62e23bc7d1e2f | [
"MIT"
] | 2 | 2021-01-08T07:25:35.000Z | 2021-04-17T09:14:57.000Z | #include <bits/stdc++.h>
using namespace std;
int main()
{
for(int i=0;i<5;i++)
{
for(int j=0;j<5;j++)
{
if(i<=j)
{
cout<<"* ";
}
}
cout<<endl;
}
return 0;
}
| 13.842105 | 28 | 0.323194 | UndefeatedSunny |
4b273d711d50b47876c08583b21c69ebd5e085d9 | 2,718 | cpp | C++ | rh-/rh-/Input.cpp | ShiroixD/Rh- | 33db74b21bb9a7255d72b14afd6746f142c1784b | [
"Apache-2.0"
] | null | null | null | rh-/rh-/Input.cpp | ShiroixD/Rh- | 33db74b21bb9a7255d72b14afd6746f142c1784b | [
"Apache-2.0"
] | null | null | null | rh-/rh-/Input.cpp | ShiroixD/Rh- | 33db74b21bb9a7255d72b14afd6746f142c1784b | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "Input.h"
unique_ptr<Keyboard> Input::_keyboard(new Keyboard());
unique_ptr<Mouse> Input::_mouse(new Mouse());
map<availableKeys, actionList> Input::AvailableKeysActionsBinding = {};
Keyboard::State Input::GetKeyboardState()
{
return _keyboard->GetState();
}
Mouse::State Input::GetMouseSta... | 19.985294 | 101 | 0.720751 | ShiroixD |
4b27587555219cb9397d12a18a10b84fa5a086e0 | 26,574 | cpp | C++ | lts/deps/icu-small/source/i18n/listformatter.cpp | Dexus/node-compiler | 12c46c6e44fbc14d9ee645ebd17d5296b324f7e0 | [
"MIT"
] | 1,666 | 2017-01-12T03:58:44.000Z | 2017-08-20T23:39:20.000Z | lts/deps/icu-small/source/i18n/listformatter.cpp | Dexus/node-compiler | 12c46c6e44fbc14d9ee645ebd17d5296b324f7e0 | [
"MIT"
] | 95 | 2017-08-21T07:38:56.000Z | 2022-02-18T21:59:54.000Z | lts/deps/icu-small/source/i18n/listformatter.cpp | Dexus/node-compiler | 12c46c6e44fbc14d9ee645ebd17d5296b324f7e0 | [
"MIT"
] | 161 | 2017-08-25T20:20:01.000Z | 2022-02-08T02:59:03.000Z | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
* Copyright (C) 2013-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
**********... | 32.84796 | 125 | 0.603033 | Dexus |
4b2ba4687ccbb2a11ba57d349a4536daf4dcc67f | 551 | hh | C++ | inc/Cuboid.hh | KPO-2020-2021/zad5_3-AdamDomachowski | 1d3e1af48e948989937a9cdb206198b7de32f428 | [
"Unlicense"
] | null | null | null | inc/Cuboid.hh | KPO-2020-2021/zad5_3-AdamDomachowski | 1d3e1af48e948989937a9cdb206198b7de32f428 | [
"Unlicense"
] | null | null | null | inc/Cuboid.hh | KPO-2020-2021/zad5_3-AdamDomachowski | 1d3e1af48e948989937a9cdb206198b7de32f428 | [
"Unlicense"
] | null | null | null | #pragma once
#include "Solid.hh"
/*! \brief klasa Cuboid jest klasa pochodna i dziedziczy wzystko z klasy Solid */
class Cuboid : public Solid
{
public:
/*! \brief konstruktor parametryczny*/
Cuboid(Vector3D srodek=Vector3D(), double a=50, double b=50, double c=100, std::string nazwa_pliku_prostopadloscianu = "../d... | 29 | 142 | 0.76225 | KPO-2020-2021 |
4b2d1ef27952afa05ae2c6debb2a7b259c2c8536 | 11,810 | cpp | C++ | src/vizdoom/src/viz_input.cpp | monaj07/Vizdoom | 3537793ced50273cdd9e513155ce9ef3bacca67b | [
"MIT"
] | null | null | null | src/vizdoom/src/viz_input.cpp | monaj07/Vizdoom | 3537793ced50273cdd9e513155ce9ef3bacca67b | [
"MIT"
] | null | null | null | src/vizdoom/src/viz_input.cpp | monaj07/Vizdoom | 3537793ced50273cdd9e513155ce9ef3bacca67b | [
"MIT"
] | null | null | null | /*
Copyright (C) 2016 by Wojciech Jaśkowski, Michał Kempka, Grzegorz Runc, Jakub Toczek, Marek Wydmuch
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 li... | 32.624309 | 114 | 0.631414 | monaj07 |
4b2d6f00e6f5ded6c790093f51190e2841dbe750 | 14,741 | cpp | C++ | Modules/Core/test/mitkPointSetTest.cpp | ZP-Hust/MITK | ca11353183c5ed4bc30f938eae8bde43a0689bf6 | [
"BSD-3-Clause"
] | 1 | 2021-11-20T08:19:27.000Z | 2021-11-20T08:19:27.000Z | Modules/Core/test/mitkPointSetTest.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | Modules/Core/test/mitkPointSetTest.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 1 | 2019-01-09T08:20:18.000Z | 2019-01-09T08:20:18.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 30.206967 | 117 | 0.669018 | ZP-Hust |
4b2ea2c1c6f19f490b1a0b281c2b33d622daba07 | 1,191 | cpp | C++ | Platforms/Common/Reign_Video_D3D11_Component/States/RasterizerStateDesc.cpp | reignstudios/ReignSDK | 7e925c9e0815f51619db45d94356866195f792d4 | [
"BSD-2-Clause"
] | 10 | 2015-04-30T02:01:17.000Z | 2021-01-13T04:09:36.000Z | Platforms/Common/Reign_Video_D3D11_Component/States/RasterizerStateDesc.cpp | reignstudios/ReignSDK | 7e925c9e0815f51619db45d94356866195f792d4 | [
"BSD-2-Clause"
] | null | null | null | Platforms/Common/Reign_Video_D3D11_Component/States/RasterizerStateDesc.cpp | reignstudios/ReignSDK | 7e925c9e0815f51619db45d94356866195f792d4 | [
"BSD-2-Clause"
] | 3 | 2016-04-23T21:45:50.000Z | 2018-07-04T19:16:40.000Z | #include "pch.h"
#include "RasterizerState.h"
namespace Reign_Video_D3D11_Component
{
#pragma region Constructors
RasterizerStateDescCom::RasterizerStateDescCom(REIGN_D3D11_FILL_MODE fillMode, REIGN_D3D11_CULL_NONE cullMode, bool frontCounterClockwise, int depthBias, float depthBiasClamp, float slopeScaledDepthBias... | 30.538462 | 298 | 0.790932 | reignstudios |
4b2ef541e499933dfe0e88759dbf13a48da70bc8 | 12,382 | cpp | C++ | scripting/lua/cocos2dx_support/CCLuaStack.cpp | CocosRobot/cocos2d-x | 1a527ea331363cfe108b5e2f0ac04a61f8883527 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | scripting/lua/cocos2dx_support/CCLuaStack.cpp | CocosRobot/cocos2d-x | 1a527ea331363cfe108b5e2f0ac04a61f8883527 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | scripting/lua/cocos2dx_support/CCLuaStack.cpp | CocosRobot/cocos2d-x | 1a527ea331363cfe108b5e2f0ac04a61f8883527 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
Copyright (c) 2011 cocos2d-x.org
http://www.cocos2d-x.org
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 with... | 29.693046 | 113 | 0.576159 | CocosRobot |
4b30fe9ffd813767512f64e63e67fd460bc1b84a | 2,540 | cpp | C++ | cpp/cpp/843. Guess the Word.cpp | longwangjhu/LeetCode | a5c33e8d67e67aedcd439953d96ac7f443e2817b | [
"MIT"
] | 3 | 2021-08-07T07:01:34.000Z | 2021-08-07T07:03:02.000Z | cpp/cpp/843. Guess the Word.cpp | longwangjhu/LeetCode | a5c33e8d67e67aedcd439953d96ac7f443e2817b | [
"MIT"
] | null | null | null | cpp/cpp/843. Guess the Word.cpp | longwangjhu/LeetCode | a5c33e8d67e67aedcd439953d96ac7f443e2817b | [
"MIT"
] | null | null | null | // https://leetcode.com/problems/guess-the-word/
// This is an interactive problem.
// You are given an array of unique strings wordlist where wordlist[i] is 6 letters
// long, and one word in this list is chosen as secret.
// You may call Master.guess(word) to guess a word. The guessed word should have
// type stri... | 35.774648 | 83 | 0.565748 | longwangjhu |
4b35a1f6e91ebcf50f9409795cee99c9605e43de | 720 | cpp | C++ | c++/heap_sort.cpp | parizadas/HacktoberFest2020-3 | 48cb0c7f2d43d38cb7d8343df18035c9288c63ea | [
"MIT"
] | 71 | 2020-10-06T05:53:59.000Z | 2021-11-27T03:14:42.000Z | c++/heap_sort.cpp | parizadas/HacktoberFest2020-3 | 48cb0c7f2d43d38cb7d8343df18035c9288c63ea | [
"MIT"
] | 152 | 2020-09-27T12:12:12.000Z | 2021-10-03T18:22:15.000Z | c++/heap_sort.cpp | parizadas/HacktoberFest2020-3 | 48cb0c7f2d43d38cb7d8343df18035c9288c63ea | [
"MIT"
] | 572 | 2020-10-05T20:11:28.000Z | 2021-10-10T16:28:29.000Z | #include <iostream>
using namespace std;
void downheapify(int arr[], int n, int i)
{
//g=greatest
//l=left
//r=right
int g = i;
int l = 2*i + 1;
int r = 2*i + 2;
if (l < n && arr[l] > arr[g])
g = l;
if (r < n && arr[r] > arr[g])
g = r;
if (g != i)
{
swap(arr[i], arr[g]);
downheapify(arr,... | 15.319149 | 42 | 0.473611 | parizadas |
4b367f5ed3accc76411f98511df32ce37417fd3f | 6,455 | cpp | C++ | 03_05_14_StaticInvertST.cpp | phongvcao/Algos_4th_Solutions | 049e8b2082414ac544458f211748c9b2bd95f43e | [
"MIT"
] | 1 | 2020-12-26T14:21:04.000Z | 2020-12-26T14:21:04.000Z | 03_05_14_StaticInvertST.cpp | phongvcao/Algos_4th_Solutions | 049e8b2082414ac544458f211748c9b2bd95f43e | [
"MIT"
] | null | null | null | 03_05_14_StaticInvertST.cpp | phongvcao/Algos_4th_Solutions | 049e8b2082414ac544458f211748c9b2bd95f43e | [
"MIT"
] | null | null | null | //
// Created by Phong Cao on 2019-02-06.
//
#include <iostream>
#include <sstream>
#include <cmath>
#include <cstdlib>
#include <string>
#include <memory>
#include <vector>
#include <map>
#include <queue>
#include <stack>
#include <algorithm>
#include <functional>
using std::cout;
using std::cin;
using std::ostream;... | 24.92278 | 97 | 0.442293 | phongvcao |
4b39d285d109df7524da0a5fdd9ed8c24016c8fa | 1,368 | cpp | C++ | source/RegistRTTR.cpp | xzrunner/taskgraph | 56fd18358ac22a77f9c07ba69923883397057c52 | [
"MIT"
] | null | null | null | source/RegistRTTR.cpp | xzrunner/taskgraph | 56fd18358ac22a77f9c07ba69923883397057c52 | [
"MIT"
] | null | null | null | source/RegistRTTR.cpp | xzrunner/taskgraph | 56fd18358ac22a77f9c07ba69923883397057c52 | [
"MIT"
] | null | null | null | #define EXE_FILEPATH "taskgraph/task_include_gen.h"
#include "taskgraph/task_regist_cfg.h"
#undef EXE_FILEPATH
#include "taskgraph/Task.h"
#include "taskgraph/task/Group.h"
#include <rttr/registration>
#define REGIST_ENUM_ITEM(type, name, label) \
rttr::value(name, type), \
rttr::metadata(type... | 25.811321 | 90 | 0.717836 | xzrunner |
4b3aafef1712aa0258bb8ad09e6eee752240ba59 | 276 | hpp | C++ | include/IModule.hpp | ForTheReallys/Waybar | 9d4048983db4dd1e7224ce9b34ca4853570cae85 | [
"MIT"
] | null | null | null | include/IModule.hpp | ForTheReallys/Waybar | 9d4048983db4dd1e7224ce9b34ca4853570cae85 | [
"MIT"
] | null | null | null | include/IModule.hpp | ForTheReallys/Waybar | 9d4048983db4dd1e7224ce9b34ca4853570cae85 | [
"MIT"
] | null | null | null | #pragma once
#include <gtkmm.h>
namespace waybar {
class IModule {
public:
virtual ~IModule() = default;
virtual auto update() -> void = 0;
virtual operator Gtk::Widget &() = 0;
Glib::Dispatcher dp; // Hmmm Maybe I should create an abstract class ?
};
}
| 17.25 | 74 | 0.641304 | ForTheReallys |
4b3ac2d4b777223c93f7ef6d1605a9436d576269 | 6,657 | cc | C++ | src/yb/common/consistent_read_point.cc | polarweasel/yugabyte-db | 9064eca9dc35769cf6b034e537ee42efed03c47d | [
"Apache-2.0",
"CC0-1.0"
] | 4 | 2019-07-19T12:55:40.000Z | 2021-03-25T15:59:09.000Z | src/yb/common/consistent_read_point.cc | polarweasel/yugabyte-db | 9064eca9dc35769cf6b034e537ee42efed03c47d | [
"Apache-2.0",
"CC0-1.0"
] | 10 | 2021-09-16T08:38:50.000Z | 2022-03-01T09:48:44.000Z | src/yb/common/consistent_read_point.cc | polarweasel/yugabyte-db | 9064eca9dc35769cf6b034e537ee42efed03c47d | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2021-08-04T12:10:20.000Z | 2021-08-04T12:10:20.000Z | // Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | 35.59893 | 100 | 0.75154 | polarweasel |
4b3bf7e854a00a8f4137cd5e591244b9dddafd55 | 9,404 | cpp | C++ | BenchElise/bench/b_0_41.cpp | kikislater/micmac | 3009dbdad62b3ad906ec882b74b85a3db86ca755 | [
"CECILL-B"
] | 451 | 2016-11-25T09:40:28.000Z | 2022-03-30T04:20:42.000Z | BenchElise/bench/b_0_41.cpp | kikislater/micmac | 3009dbdad62b3ad906ec882b74b85a3db86ca755 | [
"CECILL-B"
] | 143 | 2016-11-25T20:35:57.000Z | 2022-03-01T11:58:02.000Z | BenchElise/bench/b_0_41.cpp | kikislater/micmac | 3009dbdad62b3ad906ec882b74b85a3db86ca755 | [
"CECILL-B"
] | 139 | 2016-12-02T10:26:21.000Z | 2022-03-10T19:40:29.000Z | /*eLiSe06/05/99
Copyright (C) 1999 Marc PIERROT DESEILLIGNY
eLiSe : Elements of a Linux Image Software Environment
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the Li... | 27.337209 | 79 | 0.483518 | kikislater |
4b3c5aa8696989777153994a8f053c529207ac0e | 18,089 | cpp | C++ | src/core/GLES_COMPUTE/GCKernelLibrary.cpp | alexjung/ComputeLibrary | a9d47c17791ebce45427ea6331bd6e35f7d721f4 | [
"MIT"
] | 2 | 2019-12-16T12:38:01.000Z | 2019-12-16T12:38:03.000Z | src/core/GLES_COMPUTE/GCKernelLibrary.cpp | Sinus1979/ComputeLibrary | 0e205f7e1083bf26e6ffc33d96005999b541b8f9 | [
"MIT"
] | null | null | null | src/core/GLES_COMPUTE/GCKernelLibrary.cpp | Sinus1979/ComputeLibrary | 0e205f7e1083bf26e6ffc33d96005999b541b8f9 | [
"MIT"
] | 1 | 2020-05-28T02:56:34.000Z | 2020-05-28T02:56:34.000Z | /*
* Copyright (c) 2017-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* 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
* ri... | 32.244207 | 191 | 0.676046 | alexjung |
4b3cd904c82989aa55007558ed118a9955e1d778 | 778 | hpp | C++ | SFML-UI/include/SFML-UI/Core/Transform.hpp | PoetaKodu/sfml-ui | 35be37d1b803555e9b2c030cfa215c4c65b1e9e9 | [
"MIT"
] | null | null | null | SFML-UI/include/SFML-UI/Core/Transform.hpp | PoetaKodu/sfml-ui | 35be37d1b803555e9b2c030cfa215c4c65b1e9e9 | [
"MIT"
] | null | null | null | SFML-UI/include/SFML-UI/Core/Transform.hpp | PoetaKodu/sfml-ui | 35be37d1b803555e9b2c030cfa215c4c65b1e9e9 | [
"MIT"
] | null | null | null | #pragma once
#include SFMLUI_PCH
namespace sfui
{
namespace transform_algorithm
{
/// <summary>
/// Extracts position from specified transform.
/// </summary>
/// <param name="transform_"></param>
/// <returns>Extracted position.</returns>
sf::Vector2f extractPosition(sf::Transform const & transform_);
/// <summa... | 21.027027 | 63 | 0.701799 | PoetaKodu |
4b3d13b451dac68d140598cef01d29933a845424 | 833 | cc | C++ | engine/core/bitTables.cc | ClayHanson/B4v21-Public-Repo | c812aa7bf2ecb267e02969c85f0c9c2a29be0d28 | [
"MIT"
] | 1 | 2020-08-18T19:45:34.000Z | 2020-08-18T19:45:34.000Z | engine/core/bitTables.cc | ClayHanson/B4v21-Launcher-Public-Repo | c812aa7bf2ecb267e02969c85f0c9c2a29be0d28 | [
"MIT"
] | null | null | null | engine/core/bitTables.cc | ClayHanson/B4v21-Launcher-Public-Repo | c812aa7bf2ecb267e02969c85f0c9c2a29be0d28 | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#include "core/bitTables.h"
bool BitTables::mTablesBuilt = false;
S8 BitTables::mHighBi... | 32.038462 | 79 | 0.478992 | ClayHanson |
4b3d36d253fd6fba4101a1d2e9e3941b21d36b02 | 774 | cpp | C++ | src/AdventOfCode2021/Day03-BinaryDiagnostic/Day03-BinaryDiagnostic.cpp | dbartok/advent-of-code-cpp | c8c2df7a21980f8f3e42128f7bc5df8288f18490 | [
"MIT"
] | null | null | null | src/AdventOfCode2021/Day03-BinaryDiagnostic/Day03-BinaryDiagnostic.cpp | dbartok/advent-of-code-cpp | c8c2df7a21980f8f3e42128f7bc5df8288f18490 | [
"MIT"
] | null | null | null | src/AdventOfCode2021/Day03-BinaryDiagnostic/Day03-BinaryDiagnostic.cpp | dbartok/advent-of-code-cpp | c8c2df7a21980f8f3e42128f7bc5df8288f18490 | [
"MIT"
] | null | null | null | #include "Day03-BinaryDiagnostic.h"
#include "DiagnosticReportAnalyzer.h"
#include <AdventOfCodeCommon/DisableLibraryWarningsMacros.h>
__BEGIN_LIBRARIES_DISABLE_WARNINGS
__END_LIBRARIES_DISABLE_WARNINGS
namespace AdventOfCode
{
namespace Year2021
{
namespace Day03
{
int submarinePowerConsumption(const std::vector<... | 23.454545 | 84 | 0.824289 | dbartok |
4b3db88f37b54374a22e483e88200ee738a3051a | 3,992 | hpp | C++ | contracts/eosiolib/math.hpp | daddyfatstacksBIG/eos | 66fb57fa26e4176bdd473175d58d63049576db55 | [
"MIT"
] | 3 | 2018-06-05T12:42:22.000Z | 2018-07-17T04:06:55.000Z | contracts/eosiolib/math.hpp | daddyfatstacksBIG/eos | 66fb57fa26e4176bdd473175d58d63049576db55 | [
"MIT"
] | 2 | 2018-05-25T09:42:51.000Z | 2018-05-25T09:46:00.000Z | contracts/eosiolib/math.hpp | daddyfatstacksBIG/eos | 66fb57fa26e4176bdd473175d58d63049576db55 | [
"MIT"
] | 3 | 2019-05-17T21:19:20.000Z | 2019-08-18T23:50:37.000Z | /**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <eosiolib/math.h>
namespace eosio {
/**
* @defgroup mathapi Math API
* @brief Defines common math functions
* @ingroup contractdev
*/
/**
* @defgroup mathcppapi Math C++ API
* @brief Defines common math funct... | 26.091503 | 88 | 0.565882 | daddyfatstacksBIG |
4b3f99b2b215527255221d9078e43f7a27e5c5b1 | 2,114 | cpp | C++ | hdu/hdu2234.cpp | jiegec/oj | 492117a5e275487d49b16ec3249a2412e896682d | [
"MIT"
] | 1 | 2021-08-02T03:04:28.000Z | 2021-08-02T03:04:28.000Z | hdu/hdu2234.cpp | jiegec/oj | 492117a5e275487d49b16ec3249a2412e896682d | [
"MIT"
] | null | null | null | hdu/hdu2234.cpp | jiegec/oj | 492117a5e275487d49b16ec3249a2412e896682d | [
"MIT"
] | null | null | null | #include <cstdio>
int bound;
bool flag;
int rot[][4]={{0,1,2,3},
{3,2,1,0},
{4,5,6,7},
{7,6,5,4},
{8,9,10,11},
{11,10,9,8},
{12,13,14,15},
{15,14,13,12},
{0,4,8,12},
{12,8,4,0},
{1... | 20.133333 | 102 | 0.386471 | jiegec |
4b405ba1e61e5659eccf0440c0e16de5924b1bf8 | 21,666 | cc | C++ | src/content/renderer/accessibility/blink_ax_enum_conversion.cc | yang-guangliang/osv-free | b81fee48bc8898fdc641a2e3c227957ed7e6445e | [
"Apache-2.0"
] | 2 | 2021-05-24T13:52:28.000Z | 2021-05-24T13:53:10.000Z | src/content/renderer/accessibility/blink_ax_enum_conversion.cc | yang-guangliang/osv-free | b81fee48bc8898fdc641a2e3c227957ed7e6445e | [
"Apache-2.0"
] | null | null | null | src/content/renderer/accessibility/blink_ax_enum_conversion.cc | yang-guangliang/osv-free | b81fee48bc8898fdc641a2e3c227957ed7e6445e | [
"Apache-2.0"
] | 3 | 2018-03-12T07:58:10.000Z | 2019-08-31T04:53:58.000Z | // Copyright (c) 2013 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 "content/renderer/accessibility/blink_ax_enum_conversion.h"
#include "base/logging.h"
namespace content {
uint32_t AXStateFromBlink(const ... | 35.286645 | 79 | 0.734469 | yang-guangliang |
4b43892886bbb78ef1f5f4dd451d3f97292d56af | 11,753 | cpp | C++ | AmfUnityPlugin/source/AMF/amf/public/src/components/AudioCapture/WASAPISource.cpp | GPUOpen-LibrariesAndSDKs/UnityIntegrations | e695a8f51710ba2e7a43347b5790061343dc3288 | [
"MIT"
] | 15 | 2017-07-26T23:29:38.000Z | 2022-03-13T10:13:19.000Z | AmfUnityPlugin/source/AMF/amf/public/src/components/AudioCapture/WASAPISource.cpp | GPUOpen-LibrariesAndSDKs/UnityIntegrations | e695a8f51710ba2e7a43347b5790061343dc3288 | [
"MIT"
] | null | null | null | AmfUnityPlugin/source/AMF/amf/public/src/components/AudioCapture/WASAPISource.cpp | GPUOpen-LibrariesAndSDKs/UnityIntegrations | e695a8f51710ba2e7a43347b5790061343dc3288 | [
"MIT"
] | 6 | 2017-10-13T20:43:24.000Z | 2021-04-03T09:47:24.000Z | //
// Notice Regarding Standards. AMD does not provide a license or sublicense to
// any Intellectual Property Rights relating to any standards, including but not
// limited to any audio and/or video codec technologies such as MPEG-2, MPEG-4;
// AVC/H.264; HEVC/H.265; AAC decode/FFMPEG; AAC encode/FFMPEG; VC-1; a... | 33.968208 | 137 | 0.661108 | GPUOpen-LibrariesAndSDKs |
4b43fa17667ac7a02e40d9253d8c7d1e36e0adc5 | 1,587 | cpp | C++ | unit_tests/common.cpp | tmadden/alia | 4abda686975e6b3ec52d7ef2bae8bed1cd810225 | [
"MIT"
] | 13 | 2019-10-03T09:05:18.000Z | 2021-02-03T18:05:10.000Z | unit_tests/common.cpp | tmadden/alia | 4abda686975e6b3ec52d7ef2bae8bed1cd810225 | [
"MIT"
] | 7 | 2018-07-06T16:30:58.000Z | 2021-03-03T17:54:39.000Z | unit_tests/common.cpp | tmadden/alia | 4abda686975e6b3ec52d7ef2bae8bed1cd810225 | [
"MIT"
] | 4 | 2019-10-03T09:06:03.000Z | 2020-07-21T20:23:32.000Z | #include <alia/common.hpp>
#include <testing.hpp>
using namespace alia;
TEST_CASE("exception", "[common]")
{
exception e("just a test");
REQUIRE(e.what() == std::string("just a test"));
e.add_context("in here");
REQUIRE(e.what() == std::string("just a test\nin here"));
}
struct aggregatable_struct
{... | 19.592593 | 76 | 0.589162 | tmadden |
4b45519dc02224405a435ad752df0f37d34e21be | 8,280 | cpp | C++ | src/bin/unix/state.cpp | EIRNf/twizzler | 794383026ce605789c6cfc62093d79f0b01fe1d5 | [
"BSD-3-Clause"
] | 23 | 2021-07-09T22:11:58.000Z | 2022-03-24T04:19:44.000Z | src/bin/unix/state.cpp | EIRNf/twizzler | 794383026ce605789c6cfc62093d79f0b01fe1d5 | [
"BSD-3-Clause"
] | 38 | 2021-07-10T02:50:30.000Z | 2022-03-16T01:22:46.000Z | src/bin/unix/state.cpp | EIRNf/twizzler | 794383026ce605789c6cfc62093d79f0b01fe1d5 | [
"BSD-3-Clause"
] | 6 | 2021-07-03T04:15:06.000Z | 2022-03-15T00:33:32.000Z | #include "state.h"
#include <twix/twix.h>
#include <memory>
#include <mutex>
#include <unordered_map>
#include <twz/sys/obj.h>
static std::atomic_int next_taskid(2);
template<typename K, typename V>
class refmap
{
private:
std::unordered_map<K, std::shared_ptr<V>> map;
std::mutex lock;
public:
std::shared_p... | 22.747253 | 93 | 0.683696 | EIRNf |
4b45b4719ab99d82acdfa152c1561714cbb8276d | 17,835 | cpp | C++ | src/realm/tools/unicode.cpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 977 | 2016-09-27T12:54:24.000Z | 2022-03-29T08:08:47.000Z | src/realm/tools/unicode.cpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 2,265 | 2016-09-27T13:01:26.000Z | 2022-03-31T17:55:37.000Z | src/realm/tools/unicode.cpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 154 | 2016-09-27T14:02:56.000Z | 2022-03-27T14:51:00.000Z | /*************************************************************************
*
* Copyright 2016 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | 90.532995 | 116 | 0.736641 | aleyooop |
4b463782c154c21cb867f3f3bf4cca86606de45d | 27,891 | cpp | C++ | src/plugins/thirdParty/LLVM/tools/clang/lib/Serialization/GlobalModuleIndex.cpp | nickerso/opencor | 63e164c6424dc855a4e46b835a777f6f84c617dc | [
"Apache-2.0"
] | null | null | null | src/plugins/thirdParty/LLVM/tools/clang/lib/Serialization/GlobalModuleIndex.cpp | nickerso/opencor | 63e164c6424dc855a4e46b835a777f6f84c617dc | [
"Apache-2.0"
] | null | null | null | src/plugins/thirdParty/LLVM/tools/clang/lib/Serialization/GlobalModuleIndex.cpp | nickerso/opencor | 63e164c6424dc855a4e46b835a777f6f84c617dc | [
"Apache-2.0"
] | null | null | null | //===--- GlobalModuleIndex.cpp - Global Module Index ------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 31.444194 | 80 | 0.643003 | nickerso |
4b46e3730ce21f753057dc23a802ee796f9951f4 | 5,953 | cpp | C++ | src/chrono_models/vehicle/m113/M113_ShaftsPowertrain.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 1 | 2020-01-18T02:39:17.000Z | 2020-01-18T02:39:17.000Z | src/chrono_models/vehicle/m113/M113_ShaftsPowertrain.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | null | null | null | src/chrono_models/vehicle/m113/M113_ShaftsPowertrain.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 1 | 2019-07-16T00:23:00.000Z | 2019-07-16T00:23:00.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 39.95302 | 119 | 0.55367 | zzhou292 |
4b4ad6179bf26f64226a99bf88e2614991c3a0ad | 534 | cpp | C++ | tests/mocks_gen/mock_servo_we.cpp | susundberg/arduino-aquarium-feeder | 3f243b35e8e27eb4fb551d19fae0b45175a4e23c | [
"MIT"
] | null | null | null | tests/mocks_gen/mock_servo_we.cpp | susundberg/arduino-aquarium-feeder | 3f243b35e8e27eb4fb551d19fae0b45175a4e23c | [
"MIT"
] | null | null | null | tests/mocks_gen/mock_servo_we.cpp | susundberg/arduino-aquarium-feeder | 3f243b35e8e27eb4fb551d19fae0b45175a4e23c | [
"MIT"
] | null | null | null |
/**
This is automatically generated mock file, see header file for more details.
*/
#include "mock_servo_we.h"
DEFINE_FAKE_VOID_FUNC( ServoWE__setup, ServoWE*, int, int, int, int, int );
void ServoWE::setup(int pwm_pin, int enable_pin, int steps, int min_angle, int max_angle) { ServoWE__setup( this, pwm_pin, enab... | 44.5 | 169 | 0.754682 | susundberg |
4b4b3b09e71e1a3ee960574cca175c35eb06c013 | 20,560 | cpp | C++ | FCurveEditor/FCurveItem.cpp | yoann01/FabricUI | d4d24f25245b8ccd2d206aded2b6c5f2aca09155 | [
"BSD-3-Clause"
] | null | null | null | FCurveEditor/FCurveItem.cpp | yoann01/FabricUI | d4d24f25245b8ccd2d206aded2b6c5f2aca09155 | [
"BSD-3-Clause"
] | null | null | null | FCurveEditor/FCurveItem.cpp | yoann01/FabricUI | d4d24f25245b8ccd2d206aded2b6c5f2aca09155 | [
"BSD-3-Clause"
] | null | null | null |
#include <FabricUI/FCurveEditor/FCurveItem.h>
#include <FabricUI/FCurveEditor/FCurveEditorScene.h>
#include <FTL/Config.h>
#include <FabricUI/Util/QtSignalsSlots.h>
#include <QStyleOption>
#include <QPainter>
#include <QGraphicsSceneEvent>
#include <cmath>
#include <limits>
#include <QDebug>
#include <assert.h>
us... | 29.970845 | 141 | 0.601167 | yoann01 |
4b4be78589b6b017b246e5a9e7e9f9bcb71423ee | 71,440 | hpp | C++ | include/staticlib/pimpl/ext_preprocessor/repetition/detail/edg/for.hpp | staticlibs/staticlib_pimpl | 1c6ced163cd4a5d7aa08081b78ac14ac4d6e2bf3 | [
"Apache-2.0"
] | null | null | null | include/staticlib/pimpl/ext_preprocessor/repetition/detail/edg/for.hpp | staticlibs/staticlib_pimpl | 1c6ced163cd4a5d7aa08081b78ac14ac4d6e2bf3 | [
"Apache-2.0"
] | null | null | null | include/staticlib/pimpl/ext_preprocessor/repetition/detail/edg/for.hpp | staticlibs/staticlib_pimpl | 1c6ced163cd4a5d7aa08081b78ac14ac4d6e2bf3 | [
"Apache-2.0"
] | 1 | 2021-06-13T15:46:29.000Z | 2021-06-13T15:46:29.000Z | # /* Copyright (C) 2001
# * Housemarque Oy
# * http://www.housemarque.com
# *
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt or copy at
# * http://www.boost.org/LICENSE_1_0.txt)
# */
#
# /* Revised by Paul Mensonides (2002) */
#
# /* See http://www.boost... | 133.53271 | 202 | 0.743267 | staticlibs |
4b4cc822be6cd5ec573f35b679b28f0803ea7072 | 3,553 | cpp | C++ | branch/old_angsys/angsys_beta1/angsys_android/source/angsys/angsys.shared/source/xml/xml_element.cpp | ChuyX3/angsys | 89b2eaee866bcfd11e66efda49b38acc7468c780 | [
"Apache-2.0"
] | null | null | null | branch/old_angsys/angsys_beta1/angsys_android/source/angsys/angsys.shared/source/xml/xml_element.cpp | ChuyX3/angsys | 89b2eaee866bcfd11e66efda49b38acc7468c780 | [
"Apache-2.0"
] | null | null | null | branch/old_angsys/angsys_beta1/angsys_android/source/angsys/angsys.shared/source/xml/xml_element.cpp | ChuyX3/angsys | 89b2eaee866bcfd11e66efda49b38acc7468c780 | [
"Apache-2.0"
] | null | null | null | /*********************************************************************************************************************/
/* File Name: xml_element.cpp */
/* Author: Ing. Jesus Rocha <chuyangel.rm@gmail.com>, July 2016. ... | 32.009009 | 124 | 0.607937 | ChuyX3 |
4b5058ba123969adf2e0876410b3797219a795e7 | 4,366 | cpp | C++ | MultiSource/Applications/hexxagon/hexxagonmove.cpp | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | 70 | 2019-01-15T03:03:55.000Z | 2022-03-28T02:16:13.000Z | MultiSource/Applications/hexxagon/hexxagonmove.cpp | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | 519 | 2020-09-15T07:40:51.000Z | 2022-03-31T20:51:15.000Z | MultiSource/Applications/hexxagon/hexxagonmove.cpp | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | 117 | 2020-06-24T13:11:04.000Z | 2022-03-23T15:44:23.000Z | /*
* Hexxagon board game.
* Copyright (C) 2001 Erik Jonsson.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
... | 21.507389 | 101 | 0.65552 | gmlueck |
4b520494134bf08636d095cb7c2058746b4f1726 | 4,539 | cpp | C++ | src/qt/qtwebkit/Source/WebKit2/UIProcess/gtk/WebPageProxyGtk.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/WebKit2/UIProcess/gtk/WebPageProxyGtk.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebKit2/UIProcess/gtk/WebPageProxyGtk.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | /*
* Copyright (C) 2010 Apple Inc. All rights reserved.
* Portions Copyright (c) 2010 Motorola Mobility, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source... | 35.460938 | 138 | 0.766909 | viewdy |