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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
988de1d03a83713d87e6e1d507534c855881c67f | 1,927 | cc | C++ | chrome/browser/android/consent_auditor/consent_auditor_bridge.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/android/consent_auditor/consent_auditor_bridge.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/android/consent_auditor/consent_auditor_bridge.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <jni.h>
#include <string>
#include <vector>
#include "base/android/jni_android.h"
#include "base/android/jni_array.h"
#include "base/android/jn... | 39.326531 | 88 | 0.756098 | zealoussnow |
9890540529b4ee14f8da7d352c5aea6ed2d48a28 | 341 | cpp | C++ | examples/tx-modifiers.cpp | commtech/cppfscc | 719e90f2207ccb819637b6ee3248f1a637ece0b5 | [
"MIT"
] | 2 | 2021-04-09T10:51:02.000Z | 2021-11-12T08:37:23.000Z | examples/tx-modifiers.cpp | commtech/cppfscc | 719e90f2207ccb819637b6ee3248f1a637ece0b5 | [
"MIT"
] | null | null | null | examples/tx-modifiers.cpp | commtech/cppfscc | 719e90f2207ccb819637b6ee3248f1a637ece0b5 | [
"MIT"
] | 1 | 2017-11-15T13:10:57.000Z | 2017-11-15T13:10:57.000Z | #include <fscc.hpp> // Fscc::Port
int main(void)
{
Fscc::Port p(0);
unsigned modifiers = p.GetTxModifiers();
// Enable transmit repeat & transmit on timer
p.SetTxModifiers(Fscc::TxModifiers::TXT | Fscc::TxModifiers::XREP);
// Revert to normal transmission
p.SetTxModifiers(Fscc::TxModifiers::... | 21.3125 | 71 | 0.665689 | commtech |
9890e6910f061b2071b0adf2388febf109eb823d | 1,707 | hpp | C++ | redemption/src/utils/redemption_info_version.hpp | DianaAssistant/DIANA | 6a4c51c1861f6a936941b21c2c905fc291c229d7 | [
"MIT"
] | null | null | null | redemption/src/utils/redemption_info_version.hpp | DianaAssistant/DIANA | 6a4c51c1861f6a936941b21c2c905fc291c229d7 | [
"MIT"
] | null | null | null | redemption/src/utils/redemption_info_version.hpp | DianaAssistant/DIANA | 6a4c51c1861f6a936941b21c2c905fc291c229d7 | [
"MIT"
] | null | null | null | /*
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.
This program is distributed in the hope that it will be usefu... | 29.431034 | 75 | 0.691271 | DianaAssistant |
9891a8c998c736739fd38db45de3cbb2b0fd5b1e | 232 | cpp | C++ | Day04_new/ex02/Brain.cpp | EnapsTer/StudyCPP | 4bcf2a152fbefebab8ff68574e2b3bc198589f99 | [
"MIT"
] | 1 | 2021-09-08T12:16:13.000Z | 2021-09-08T12:16:13.000Z | Day04_new/ex02/Brain.cpp | EnapsTer/StudyCPP | 4bcf2a152fbefebab8ff68574e2b3bc198589f99 | [
"MIT"
] | null | null | null | Day04_new/ex02/Brain.cpp | EnapsTer/StudyCPP | 4bcf2a152fbefebab8ff68574e2b3bc198589f99 | [
"MIT"
] | null | null | null | //
// Created by Андре Шагиджанян on 11.07.2021.
//
#include "Brain.hpp"
#include <iostream>
Brain::Brain() {
std::cout << "Brain constructor" << std::endl;
}
Brain::~Brain() {
std::cout << "Brain destructor" << std::endl;
}
| 15.466667 | 48 | 0.616379 | EnapsTer |
98924afed32118925bed26adc16a39f24d5d298f | 724 | cpp | C++ | Plugins/ProjectAcoustics/Source/ProjectAcoustics/Private/AcousticsRuntimeVolume.cpp | microsoft/Acoustic-Perception-for-Virtual-AI-Agents | e9a299fef2f4c44f194b26e3346dbb5ef2674a47 | [
"MIT"
] | 2 | 2021-09-30T00:14:22.000Z | 2021-12-02T16:44:31.000Z | Plugins/ProjectAcoustics/Source/ProjectAcoustics/Private/AcousticsRuntimeVolume.cpp | microsoft/Acoustic-Perception-for-Virtual-AI-Agents | e9a299fef2f4c44f194b26e3346dbb5ef2674a47 | [
"MIT"
] | null | null | null | Plugins/ProjectAcoustics/Source/ProjectAcoustics/Private/AcousticsRuntimeVolume.cpp | microsoft/Acoustic-Perception-for-Virtual-AI-Agents | e9a299fef2f4c44f194b26e3346dbb5ef2674a47 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "AcousticsRuntimeVolume.h"
#include "Runtime/Launch/Resources/Version.h"
#include "Components/BrushComponent.h"
AAcousticsRuntimeVolume::AAcousticsRuntimeVolume(const class FObjectInitializer& ObjectInitializer)
... | 40.222222 | 99 | 0.799724 | microsoft |
9893d474b257fda1708621646472037365bad479 | 4,079 | cpp | C++ | Assignment1/Assignment_1.2/Assignment_1.2.cpp | JasenRatnam/LearningCplusplus | e2a67decf5233ac9e9f073e3dbcd60bbc4fe4a94 | [
"MIT"
] | null | null | null | Assignment1/Assignment_1.2/Assignment_1.2.cpp | JasenRatnam/LearningCplusplus | e2a67decf5233ac9e9f073e3dbcd60bbc4fe4a94 | [
"MIT"
] | null | null | null | Assignment1/Assignment_1.2/Assignment_1.2.cpp | JasenRatnam/LearningCplusplus | e2a67decf5233ac9e9f073e3dbcd60bbc4fe4a94 | [
"MIT"
] | null | null | null | /*
* Author: Jasen Ratnam 40094237
* Date: 09/18/2018
* Assignment 1: Introduction to Programming with C++
* Due: 09/28/2018
* This program will print the square, square root, the factorial of a
* user inputed integer value, it will also show if it is a prime number or not.
*/
#include <iostream>
#include <c... | 35.163793 | 143 | 0.545477 | JasenRatnam |
989aceb1a0cda59239ab2e4a6247f902a47535f3 | 1,975 | hpp | C++ | pose_refinement/SA-LMPE/ba/openMVG/sfm/pipelines/global/GlobalSfM_rotation_averaging.hpp | Aurelio93/satellite-pose-estimation | 46957a9bc9f204d468f8fe3150593b3db0f0726a | [
"MIT"
] | 90 | 2019-05-19T03:48:23.000Z | 2022-02-02T15:20:49.000Z | pose_refinement/SA-LMPE/ba/openMVG/sfm/pipelines/global/GlobalSfM_rotation_averaging.hpp | Aurelio93/satellite-pose-estimation | 46957a9bc9f204d468f8fe3150593b3db0f0726a | [
"MIT"
] | 11 | 2019-05-22T07:45:46.000Z | 2021-05-20T01:48:26.000Z | pose_refinement/SA-LMPE/ba/openMVG/sfm/pipelines/global/GlobalSfM_rotation_averaging.hpp | Aurelio93/satellite-pose-estimation | 46957a9bc9f204d468f8fe3150593b3db0f0726a | [
"MIT"
] | 18 | 2019-05-19T03:48:32.000Z | 2021-05-29T18:19:16.000Z | // This file is part of OpenMVG, an Open Multiple View Geometry C++ library.
// Copyright (c) 2015 Pierre MOULON.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#... | 29.477612 | 100 | 0.787848 | Aurelio93 |
989c6bf4799c7224060564ca1d073ddfbff46e0c | 1,097 | cpp | C++ | pass/lnast_print/pass_lnast_print.cpp | realdavidpang/livehd | c0462922400d34c0327b4aabb450332bda50f174 | [
"BSD-3-Clause"
] | 46 | 2018-05-31T23:07:02.000Z | 2019-09-16T20:21:03.000Z | pass/lnast_print/pass_lnast_print.cpp | realdavidpang/livehd | c0462922400d34c0327b4aabb450332bda50f174 | [
"BSD-3-Clause"
] | 120 | 2018-05-16T23:11:09.000Z | 2019-09-25T18:52:49.000Z | pass/lnast_print/pass_lnast_print.cpp | realdavidpang/livehd | c0462922400d34c0327b4aabb450332bda50f174 | [
"BSD-3-Clause"
] | 8 | 2018-11-08T18:53:52.000Z | 2019-09-05T20:04:20.000Z | // This file is distributed under the BSD 3-Clause License. See LICENSE for details.
#include "pass_lnast_print.hpp"
#include "lnast_writer.hpp"
#include <fstream>
#include <ostream>
#include <iostream>
static Pass_plugin sample("pass_lnast_print", Pass_lnast_print::setup);
Pass_lnast_print::Pass_lnast_print(cons... | 31.342857 | 132 | 0.709207 | realdavidpang |
98a02710b2e1e4ba63288387c51900850193d080 | 70 | cpp | C++ | lib/Iterator/SudokuIterator.cpp | SosnovGennadiy2006/sudoku | 38205a261fdaa127b5d0c43141d1276e243a3747 | [
"Apache-2.0"
] | null | null | null | lib/Iterator/SudokuIterator.cpp | SosnovGennadiy2006/sudoku | 38205a261fdaa127b5d0c43141d1276e243a3747 | [
"Apache-2.0"
] | null | null | null | lib/Iterator/SudokuIterator.cpp | SosnovGennadiy2006/sudoku | 38205a261fdaa127b5d0c43141d1276e243a3747 | [
"Apache-2.0"
] | null | null | null | //
// Created by genas on 24.03.2022.
//
#include "SudokuIterator.h"
| 11.666667 | 34 | 0.657143 | SosnovGennadiy2006 |
98a02a22ec0da77d3923487ae14f1a256fa57d08 | 704 | cpp | C++ | origin_code/d.cpp | vectordb-io/vstl | 1cd35add1a28cc1bcac560629b4a49495fe2b065 | [
"Apache-2.0"
] | null | null | null | origin_code/d.cpp | vectordb-io/vstl | 1cd35add1a28cc1bcac560629b4a49495fe2b065 | [
"Apache-2.0"
] | null | null | null | origin_code/d.cpp | vectordb-io/vstl | 1cd35add1a28cc1bcac560629b4a49495fe2b065 | [
"Apache-2.0"
] | null | null | null | // function for Chapter 2 exercise
#include <iostream>
#include <algorithm>
using namespace std;
void d(int x[], int n)
{
for (int i = 0; i < n; i += 2)
x[i] += 2;
i = 1;
while (i <= n/2)
{
x[i] += x[i+1];
i++;
}
}
int main()
{
int a[15] = {1,2,3,4,5,6,7,8,... | 16.761905 | 52 | 0.46733 | vectordb-io |
98a079007fbafd5d5ab337802862db0d94278463 | 7,822 | cpp | C++ | FreeBSD/contrib/llvm/tools/lldb/source/Core/StringList.cpp | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 4 | 2016-08-22T22:02:55.000Z | 2017-03-04T22:56:44.000Z | FreeBSD/contrib/llvm/tools/lldb/source/Core/StringList.cpp | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | FreeBSD/contrib/llvm/tools/lldb/source/Core/StringList.cpp | TigerBSD/TigerBSD | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | null | null | null | //===-- StringList.cpp ------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 20.693122 | 86 | 0.555229 | TigerBSD |
98a3eec9f76ef5a3a76dceacb991bac21a73c377 | 90 | hpp | C++ | c++/source/morth/simulate.hpp | Phytolizer/morth | 41cc00080da5f62c742ea92699fef42a41dfe962 | [
"MIT"
] | null | null | null | c++/source/morth/simulate.hpp | Phytolizer/morth | 41cc00080da5f62c742ea92699fef42a41dfe962 | [
"MIT"
] | null | null | null | c++/source/morth/simulate.hpp | Phytolizer/morth | 41cc00080da5f62c742ea92699fef42a41dfe962 | [
"MIT"
] | null | null | null | #pragma once
#include "morth/program.hpp"
void SimulateProgram(const Program& program);
| 15 | 45 | 0.777778 | Phytolizer |
f0f9ce7929d400f516c460bc7b3b284787cf5bf9 | 7,856 | cc | C++ | arccore/src/message_passing/arccore/message_passing/SerializeMessageList.cc | cedricga91/framework | 143eeccb5bf375df4a3f11b888681f84f60380c6 | [
"Apache-2.0"
] | 16 | 2021-09-20T12:37:01.000Z | 2022-03-18T09:19:14.000Z | arccore/src/message_passing/arccore/message_passing/SerializeMessageList.cc | cedricga91/framework | 143eeccb5bf375df4a3f11b888681f84f60380c6 | [
"Apache-2.0"
] | 66 | 2021-09-17T13:49:39.000Z | 2022-03-30T16:24:07.000Z | arccore/src/message_passing/arccore/message_passing/SerializeMessageList.cc | cedricga91/framework | 143eeccb5bf375df4a3f11b888681f84f60380c6 | [
"Apache-2.0"
] | 11 | 2021-09-27T16:48:55.000Z | 2022-03-23T19:06:56.000Z | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2... | 37.588517 | 96 | 0.502037 | cedricga91 |
0b0127cd0c6c2815889dde2d9e5e7755c47094d7 | 1,310 | cc | C++ | lib/ui/painting/image.cc | alibitek/engine | 0f0b144b0320d00d837fb2af80cd542ab1359491 | [
"BSD-3-Clause"
] | null | null | null | lib/ui/painting/image.cc | alibitek/engine | 0f0b144b0320d00d837fb2af80cd542ab1359491 | [
"BSD-3-Clause"
] | null | null | null | lib/ui/painting/image.cc | alibitek/engine | 0f0b144b0320d00d837fb2af80cd542ab1359491 | [
"BSD-3-Clause"
] | 1 | 2020-03-05T02:44:12.000Z | 2020-03-05T02:44:12.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 "flutter/lib/ui/painting/image.h"
#include "flutter/common/threads.h"
#include "flutter/lib/ui/painting/utils.h"
#include "lib/tonic/converter/d... | 25.192308 | 76 | 0.730534 | alibitek |
0b0217152d03f464c1a1b6ba1aa070bb449fe6ef | 835 | hpp | C++ | fwd_euler/fwd_euler.hpp | drreynolds/Math6321-codes | 3cce53bbe70bdd00220b5d8888b00b20b4fd521b | [
"CC0-1.0"
] | null | null | null | fwd_euler/fwd_euler.hpp | drreynolds/Math6321-codes | 3cce53bbe70bdd00220b5d8888b00b20b4fd521b | [
"CC0-1.0"
] | null | null | null | fwd_euler/fwd_euler.hpp | drreynolds/Math6321-codes | 3cce53bbe70bdd00220b5d8888b00b20b4fd521b | [
"CC0-1.0"
] | 1 | 2020-08-31T18:04:07.000Z | 2020-08-31T18:04:07.000Z | /* Forward Euler time stepper class header file.
D.R. Reynolds
Math 6321 @ SMU
Fall 2020 */
#ifndef FORWARD_EULER_DEFINED__
#define FORWARD_EULER_DEFINED__
// Inclusions
#include <cmath>
#include "rhs.hpp"
// Forward Euler time stepper class
class ForwardEulerStepper {
private:
// private reusable lo... | 19.880952 | 69 | 0.676647 | drreynolds |
0b02eda3e9dd0da3a9fe7325f7e786c98395f767 | 3,236 | cpp | C++ | NaoTHSoccer/Source/Tools/Debug/Logger.cpp | tarsoly/NaoTH | dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NaoTHSoccer/Source/Tools/Debug/Logger.cpp | tarsoly/NaoTH | dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NaoTHSoccer/Source/Tools/Debug/Logger.cpp | tarsoly/NaoTH | dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /**
* @author <a href="xu:mellmann@informatik.hu-berlin.de">Xu, Yuan</a>
*/
#include "Logger.h"
Logger::Logger(const std::string& cmd) : logfileManager(true),command(cmd)
{
description = command + " on | off | close |activate=<name> | deactivate=<name>";
activated = false;
activatedOnce = false;
}
Logger::~L... | 27.65812 | 118 | 0.647404 | tarsoly |
0b035cdafea27f5861f8050bec3addbba883aa00 | 1,724 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/socket/tcp_acceptor.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/socket/tcp_acceptor.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/socket/tcp_acceptor.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
#include <msw/noncopyable.hpp>
#include <msw/asio/tcp_acceptor.hpp>
#include <msw/lexical_cast/network/endpoint/to_string.hpp>
#include <msw/lexical_cast/network/endpoint/from_string.hpp>
namespace rubetek
{
struct tcp_acceptor
: msw::noncopyable
{
typedef msw::tcp_acceptor::io_s... | 32.528302 | 118 | 0.61949 | yklishevich |
0b077a221f8f1e994f8c9141b207ad6ad5078ef3 | 733 | hh | C++ | styler.hh | jdb19937/makemore | 61297dd322b3a9bb6cdfdd15e8886383cb490534 | [
"MIT"
] | null | null | null | styler.hh | jdb19937/makemore | 61297dd322b3a9bb6cdfdd15e8886383cb490534 | [
"MIT"
] | null | null | null | styler.hh | jdb19937/makemore | 61297dd322b3a9bb6cdfdd15e8886383cb490534 | [
"MIT"
] | null | null | null | #ifndef __MAKEMORE_STYLER_HH__
#define __MAKEMORE_STYLER_HH__ 1
#include <string.h>
#include <stdlib.h>
#include <string>
#include <map>
#include "project.hh"
#include "cholo.hh"
namespace makemore {
struct Styler : Project {
double *tmp;
unsigned int dim;
std::map<std::string, Cholo*> tag_cholo;
double *... | 17.878049 | 68 | 0.673943 | jdb19937 |
0b079aeea16c86ab59c5e1475c4d1736513c341e | 4,348 | cxx | C++ | Rendering/Core/vtkRenderTimerLog.cxx | forestGzh/VTK | bc98327275bd5cfa95c5825f80a2755a458b6da8 | [
"BSD-3-Clause"
] | 3 | 2015-07-28T18:07:50.000Z | 2018-02-28T20:59:58.000Z | Rendering/Core/vtkRenderTimerLog.cxx | forestGzh/VTK | bc98327275bd5cfa95c5825f80a2755a458b6da8 | [
"BSD-3-Clause"
] | 4 | 2018-10-25T09:46:11.000Z | 2019-01-17T16:49:17.000Z | Rendering/Core/vtkRenderTimerLog.cxx | forestGzh/VTK | bc98327275bd5cfa95c5825f80a2755a458b6da8 | [
"BSD-3-Clause"
] | 4 | 2016-09-08T02:11:00.000Z | 2019-08-15T02:38:39.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkRenderTimerLog.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softwar... | 28.418301 | 80 | 0.463661 | forestGzh |
0b0bf34cddfcaaf99c2bee8de7bb780719217fed | 2,689 | cpp | C++ | src/modules/keyboardmanager/KeyboardManagerEditorLibrary/KeyboardManagerEditorStrings.cpp | tameemzabalawi/PowerToys | 5c6f7b1aea90ecd9ebe5cb8c7ddf82f8113fcb45 | [
"MIT"
] | 76,518 | 2019-05-06T22:50:10.000Z | 2022-03-31T22:20:54.000Z | src/modules/keyboardmanager/KeyboardManagerEditorLibrary/KeyboardManagerEditorStrings.cpp | Nakatai-0322/PowerToys | 1f64c1cf837ca958ad14dc3eb7887f36220a1ef9 | [
"MIT"
] | 15,530 | 2019-05-07T01:10:24.000Z | 2022-03-31T23:48:46.000Z | src/modules/keyboardmanager/KeyboardManagerEditorLibrary/KeyboardManagerEditorStrings.cpp | Nakatai-0322/PowerToys | 1f64c1cf837ca958ad14dc3eb7887f36220a1ef9 | [
"MIT"
] | 5,184 | 2019-05-06T23:32:32.000Z | 2022-03-31T15:43:25.000Z | #include "pch.h"
#include "KeyboardManagerEditorStrings.h"
// Function to return the error message
winrt::hstring KeyboardManagerEditorStrings::GetErrorMessage(ShortcutErrorType errorType)
{
switch (errorType)
{
case ShortcutErrorType::NoError:
return GET_RESOURCE_STRING(IDS_ERRORMESSAGE_REMAPSUCCE... | 54.877551 | 90 | 0.804016 | tameemzabalawi |
0b1885911f242e60c4263bfaf22d2f8c47cff746 | 12,088 | cpp | C++ | examples/DynamicControlDemo/MotorDemo.cpp | frk2/bullet3 | 225d823e4dc3f952c6c39920c3f87390383e0602 | [
"Zlib"
] | 26 | 2019-10-11T11:54:48.000Z | 2022-03-04T19:49:18.000Z | examples/DynamicControlDemo/MotorDemo.cpp | frk2/bullet3 | 225d823e4dc3f952c6c39920c3f87390383e0602 | [
"Zlib"
] | 1 | 2018-11-19T19:07:47.000Z | 2018-11-19T19:07:47.000Z | examples/DynamicControlDemo/MotorDemo.cpp | frk2/bullet3 | 225d823e4dc3f952c6c39920c3f87390383e0602 | [
"Zlib"
] | 4 | 2021-06-03T10:09:40.000Z | 2022-01-12T09:54:10.000Z | /*
Bullet Continuous Collision Detection and Physics Library Copyright (c) 2007 Erwin Coumans
Motor Demo
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use ... | 27.981481 | 243 | 0.717158 | frk2 |
0b1a22c034a428f434ddd4bf173b5f6915edd535 | 530 | cpp | C++ | Array/02. ReverseTheArray.cpp | sohamnandi77/Cpp-Data-Structures-And-Algorithm | f29a14760964103a5b58cfff925cd8f7ed5aa6c1 | [
"MIT"
] | 2 | 2021-05-21T17:10:02.000Z | 2021-05-29T05:13:06.000Z | Array/02. ReverseTheArray.cpp | sohamnandi77/Cpp-Data-Structures-And-Algorithm | f29a14760964103a5b58cfff925cd8f7ed5aa6c1 | [
"MIT"
] | null | null | null | Array/02. ReverseTheArray.cpp | sohamnandi77/Cpp-Data-Structures-And-Algorithm | f29a14760964103a5b58cfff925cd8f7ed5aa6c1 | [
"MIT"
] | null | null | null | // ? Reverse the Array
#include <iostream>
using namespace std;
void reverse(int arr[], int n)
{
int low = 0, high = n - 1;
while (low < high)
swap(arr[low++], arr[high--]);
}
int main()
{
int arr[] = {10, 5, 7, 30}, n = 4;
cout << "Before Reverse" << endl;
for (int i = 0; i < n; i++)
... | 16.060606 | 38 | 0.445283 | sohamnandi77 |
0b1deba262300c5eafdfdb5ba756458872f13ce3 | 15,232 | cpp | C++ | IvmpDotNet.Proxy/SDK/Shared/CSettings.cpp | purm/IvmpDotNet | 8ec3b7819aba9d806f9a95b2b87e4375fdfdefe2 | [
"MIT"
] | 1 | 2021-01-26T05:52:04.000Z | 2021-01-26T05:52:04.000Z | IvmpDotNet.Proxy/SDK/Shared/CSettings.cpp | purm/IvmpDotNet | 8ec3b7819aba9d806f9a95b2b87e4375fdfdefe2 | [
"MIT"
] | null | null | null | IvmpDotNet.Proxy/SDK/Shared/CSettings.cpp | purm/IvmpDotNet | 8ec3b7819aba9d806f9a95b2b87e4375fdfdefe2 | [
"MIT"
] | null | null | null | //============== IV: Multiplayer - http://code.iv-multiplayer.com ==============
//
// File: CSettings.cpp
// Project: Shared
// Author(s): jenksta
// mabako
// License: See LICENSE in root directory
//
//==============================================================================
#include "CSettings.h"
#... | 22.269006 | 129 | 0.672532 | purm |
0b201498c9eb0fab6c8d1ce966c3686fdcffb97b | 2,606 | cpp | C++ | 2021/Coding_Research/CodeTestSetup/CodeTestSetup/src/Drivesetup.cpp | eshsrobotics/vex | bc3b03a6694924c59139c8a761929b8c9a1b6248 | [
"MIT"
] | 1 | 2021-12-13T06:24:19.000Z | 2021-12-13T06:24:19.000Z | 2021/Coding_Research/CodeTestSetup/CodeTestSetup/src/Drivesetup.cpp | eshsrobotics/vex | bc3b03a6694924c59139c8a761929b8c9a1b6248 | [
"MIT"
] | 1 | 2021-06-03T00:17:19.000Z | 2021-06-03T00:25:14.000Z | 2021/Coding_Research/CodeTestSetup/CodeTestSetup/src/Drivesetup.cpp | eshsrobotics/vex | bc3b03a6694924c59139c8a761929b8c9a1b6248 | [
"MIT"
] | 2 | 2018-10-28T23:59:13.000Z | 2019-11-17T18:29:34.000Z | /*---------------------------------------------------------------------------*/
/* */
/* User Control Task */
/* */
... | 38.895522 | 89 | 0.501151 | eshsrobotics |
0b2051112760609d5343b2c0c725d2dad8076f12 | 2,714 | hpp | C++ | event_camera_simulator/imp/imp_unrealcv_renderer/include/esim/imp_unrealcv_renderer/utils.hpp | Louis-Jin/rpg_esim | eea20b84e2bb788431f93b8aace82b0f98606982 | [
"MIT"
] | 371 | 2018-11-02T10:09:22.000Z | 2022-03-31T05:09:39.000Z | event_camera_simulator/imp/imp_unrealcv_renderer/include/esim/imp_unrealcv_renderer/utils.hpp | Louis-Jin/rpg_esim | eea20b84e2bb788431f93b8aace82b0f98606982 | [
"MIT"
] | 97 | 2018-11-06T11:47:53.000Z | 2022-03-10T16:25:59.000Z | event_camera_simulator/imp/imp_unrealcv_renderer/include/esim/imp_unrealcv_renderer/utils.hpp | Louis-Jin/rpg_esim | eea20b84e2bb788431f93b8aace82b0f98606982 | [
"MIT"
] | 101 | 2018-11-05T12:33:43.000Z | 2022-03-24T17:40:50.000Z | #pragma once
#include <esim/common/types.hpp>
namespace event_camera_simulator {
/**
* https://github.com/EpicGames/UnrealEngine/blob/dbced2dd59f9f5dfef1d7786fd67ad2970adf95f/Engine/Source/Runtime/Core/Public/Math/Rotator.h#L580
* Helper function for eulerFromQuatSingularityTest, angles are expected to be given in... | 30.494382 | 151 | 0.701548 | Louis-Jin |
0b21689bf454bb127eb423865300009db13c4fbf | 568 | cc | C++ | samples/language/src/InputMethod/AbstractInputMethod.cc | gongo/Tython | a2bf95a15123606fbbd5a1cf1186ff1defe4c752 | [
"MIT"
] | 5 | 2017-05-20T12:58:49.000Z | 2021-05-21T12:34:36.000Z | samples/language/src/InputMethod/AbstractInputMethod.cc | gongo/Tython | a2bf95a15123606fbbd5a1cf1186ff1defe4c752 | [
"MIT"
] | null | null | null | samples/language/src/InputMethod/AbstractInputMethod.cc | gongo/Tython | a2bf95a15123606fbbd5a1cf1186ff1defe4c752 | [
"MIT"
] | null | null | null | #include "AbstractInputMethod.h"
AbstractInputMethod::AbstractInputMethod(void)
{
}
AbstractInputMethod::~AbstractInputMethod(void)
{
IMmap::iterator ip = inputList.begin();
IMquit::iterator qu = quitList.end();
// while (ip != inputList.end()) {
// delete ip->second;
// ++ip;
// }
... | 17.75 | 47 | 0.610915 | gongo |
0b2273c658e543a5400da4c1729f347895bbdac6 | 9,068 | hpp | C++ | addons/uh60_ui/uiConfig/MELB_GUI.hpp | ZHANGTIANYAO1/H-60 | 4c6764f74190dbe7d81ddeae746cf78d8b7dff92 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 14 | 2021-02-11T23:23:21.000Z | 2021-09-08T05:36:47.000Z | addons/uh60_ui/uiConfig/MELB_GUI.hpp | ZHANGTIANYAO1/H-60 | 4c6764f74190dbe7d81ddeae746cf78d8b7dff92 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 130 | 2021-09-09T21:43:16.000Z | 2022-03-30T09:00:37.000Z | addons/uh60_ui/uiConfig/MELB_GUI.hpp | ZHANGTIANYAO1/H-60 | 4c6764f74190dbe7d81ddeae746cf78d8b7dff92 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 11 | 2021-02-18T19:55:51.000Z | 2021-09-01T17:08:47.000Z | class MELB_GUI: RscControlsGroup
{
idc = 170;
class VScrollbar: VScrollbar
{
width = 0;
};
class HScrollbar: HScrollbar
{
height = 0;
};
x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";... | 32.618705 | 86 | 0.379687 | ZHANGTIANYAO1 |
0b22d828b0bfdd834df15572e104e15fd6eb002a | 17,109 | cpp | C++ | src/maple_ir/src/mir_module.cpp | isrc-cas/openarkcompiler | 35bdd8d940af7f19c30dee32e1c26969f3e24dc8 | [
"MulanPSL-1.0"
] | 80 | 2019-09-15T04:32:05.000Z | 2022-02-26T03:27:10.000Z | src/maple_ir/src/mir_module.cpp | isrc-cas/openarkcompiler | 35bdd8d940af7f19c30dee32e1c26969f3e24dc8 | [
"MulanPSL-1.0"
] | 2 | 2019-09-20T14:06:40.000Z | 2020-04-03T05:37:17.000Z | src/maple_ir/src/mir_module.cpp | isrc-cas/openarkcompiler | 35bdd8d940af7f19c30dee32e1c26969f3e24dc8 | [
"MulanPSL-1.0"
] | 18 | 2019-09-15T10:06:42.000Z | 2021-03-19T08:29:33.000Z | /*
* Copyright (c) [2019] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under the Mulan PSL v1.
* You can use this software according to the terms and conditions of the Mulan PSL v1.
* You may obtain a copy of Mulan PSL v1 at:
*
* http://license.coscl.org.cn/MulanPSL
*
* ... | 34.77439 | 118 | 0.640365 | isrc-cas |
0b246cc5eb41758d7fe76ce517d688e0dde6fb25 | 1,998 | cpp | C++ | LaFullCholeskySolver.cpp | davidbrochart/daetk | 66b2a69d3f3df77f766d3d3eeb5c28d31587e278 | [
"MIT"
] | 9 | 2018-06-17T13:54:24.000Z | 2021-05-06T11:22:10.000Z | LaFullCholeskySolver.cpp | davidbrochart/daetk | 66b2a69d3f3df77f766d3d3eeb5c28d31587e278 | [
"MIT"
] | 2 | 2019-02-13T18:50:05.000Z | 2019-10-19T00:13:35.000Z | LaFullCholeskySolver.cpp | davidbrochart/daetk | 66b2a69d3f3df77f766d3d3eeb5c28d31587e278 | [
"MIT"
] | 4 | 2019-06-21T07:41:34.000Z | 2021-12-28T12:36:17.000Z | #include "LaFullCholeskySolver.h"
namespace Daetk
{
using std::cerr;
using std::endl;
void LaFullCholeskySolver::storeLower(){uplo='L';}
void LaFullCholeskySolver::storeUpper(){uplo='U';}
LaFullCholeskySolver::LaFullCholeskySolver():
uplo('L'),
neq(0),
LEAD_DIM_STORAGE(0),
errorFlag(0),
x(this),
arr... | 21.717391 | 102 | 0.735235 | davidbrochart |
0b29b92c94cf83ddbe654da341d90e3bf1481b97 | 10,016 | cc | C++ | chromium/media/mojo/services/mojo_cdm.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | chromium/media/mojo/services/mojo_cdm.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | chromium/media/mojo/services/mojo_cdm.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.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 "media/mojo/services/mojo_cdm.h"
#include <stddef.h>
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "media/... | 38.671815 | 80 | 0.665036 | wedataintelligence |
0b2bf6318d53ae09c85190fe55afd45ace1b82f4 | 4,946 | cpp | C++ | source/solution_zoo/xstream/methods/fasterrcnnmethod/example/test_model_info.cpp | HorizonRobotics-Platform/AI-EXPRESS | 413206d88dae1fbd465ced4d60b2a1769d15c171 | [
"BSD-2-Clause"
] | 98 | 2020-09-11T13:52:44.000Z | 2022-03-23T11:52:02.000Z | source/solution_zoo/xstream/methods/fasterrcnnmethod/example/test_model_info.cpp | HorizonRobotics-Platform/ai-express | 413206d88dae1fbd465ced4d60b2a1769d15c171 | [
"BSD-2-Clause"
] | 8 | 2020-10-19T14:23:30.000Z | 2022-03-16T01:00:07.000Z | source/solution_zoo/xstream/methods/fasterrcnnmethod/example/test_model_info.cpp | HorizonRobotics-Platform/AI-EXPRESS | 413206d88dae1fbd465ced4d60b2a1769d15c171 | [
"BSD-2-Clause"
] | 28 | 2020-09-17T14:20:35.000Z | 2022-01-10T16:26:00.000Z | /**
* Copyright (c) 2019 Horizon Robotics. All rights reserved.
* @author yaoyao.sun
* @date 2019.04.12
*/
#include <chrono>
#include <iostream>
#include <thread>
#include <string>
#include <vector>
#include "bpu_predict/bpu_predict.h"
#include "./hb_vio_interface.h"
#include "./plat_cnn.h"
static void U... | 31.106918 | 80 | 0.604327 | HorizonRobotics-Platform |
0b31c4a702f1518920931546d18b58e1b4cf3843 | 968 | cpp | C++ | tests/EnjoLibTest/src/CentroidTest.cpp | EnjoMitch/EnjoLib | 321167146657cba1497a9d3b4ffd71430f9b24b3 | [
"BSD-3-Clause"
] | 3 | 2021-06-14T15:36:46.000Z | 2022-02-28T15:16:08.000Z | tests/EnjoLibTest/src/CentroidTest.cpp | EnjoMitch/EnjoLib | 321167146657cba1497a9d3b4ffd71430f9b24b3 | [
"BSD-3-Clause"
] | 1 | 2021-07-17T07:52:15.000Z | 2021-07-17T07:52:15.000Z | tests/EnjoLibTest/src/CentroidTest.cpp | EnjoMitch/EnjoLib | 321167146657cba1497a9d3b4ffd71430f9b24b3 | [
"BSD-3-Clause"
] | 3 | 2021-07-12T14:52:38.000Z | 2021-11-28T17:10:33.000Z | #include "CentroidTest.h"
#include <Statistical/Centroid.hpp>
#include <Statistical/VectorD.hpp>
#include <Template/Array.hpp>
#include <Math/RandomMath.hpp>
#include <Ios/Osstream.hpp>
#include <Util/CoutBuf.hpp>
using namespace EnjoLib;
using namespace std;
CentroidTest::CentroidTest()
{
ELO
Centroid<Vecto... | 20.595745 | 53 | 0.603306 | EnjoMitch |
0b358aac0ff1d2c5f7b0a4ee49ada8391c543c2c | 1,295 | cc | C++ | blaze/blaze/operator/op/split_op.cc | Ru-Xiang/x-deeplearning | 04cc0497150920c64b06bb8c314ef89977a3427a | [
"Apache-2.0"
] | 4,071 | 2018-12-13T04:17:38.000Z | 2022-03-30T03:29:35.000Z | blaze/blaze/operator/op/split_op.cc | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 359 | 2018-12-21T01:14:57.000Z | 2022-02-15T07:18:02.000Z | blaze/blaze/operator/op/split_op.cc | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 1,054 | 2018-12-20T09:57:42.000Z | 2022-03-29T07:16:53.000Z | /*
* \file split_op.cc
* \brief The split operation on cpu
*/
#include "blaze/operator/op/split_op.h"
namespace blaze {
template <typename DType>
void RunSplit(SplitParam<DType>& params) {
size_t y_offset[kMaxInputSize] = { 0 };
for (size_t i = 0; i < params.outer_size; ++i) {
for (size_t k = 0; k < params... | 22.719298 | 67 | 0.648649 | Ru-Xiang |
0b35997bbbdc79cf929bd4d1866d695b6d67e471 | 1,130 | cc | C++ | src/15.cc | o-olll/shuati | 64a031a5218670afd4bdbba5d3af3c428757b3fd | [
"Apache-2.0"
] | null | null | null | src/15.cc | o-olll/shuati | 64a031a5218670afd4bdbba5d3af3c428757b3fd | [
"Apache-2.0"
] | null | null | null | src/15.cc | o-olll/shuati | 64a031a5218670afd4bdbba5d3af3c428757b3fd | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <unordered_map>
#include <string>
#include "utils.h"
using namespace std;
vector<vector<int>> threeSum(vector<int>& nums)
{
if (nums.size() < 3)
return {};
vector<vector<int>> res;
int l, r, s, k;
sort(nums.begin(), nums.end());
for (int i=0... | 20.925926 | 59 | 0.423009 | o-olll |
0b36a345f95fafb1213f1e8482735e0ed4ed5a09 | 3,595 | cpp | C++ | csapex_core_plugins/src/tools/unix_signal_emitter.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 2 | 2016-09-02T15:33:22.000Z | 2019-05-06T22:09:33.000Z | csapex_core_plugins/src/tools/unix_signal_emitter.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 1 | 2021-02-14T19:53:30.000Z | 2021-02-14T19:53:30.000Z | csapex_core_plugins/src/tools/unix_signal_emitter.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 6 | 2016-10-12T00:55:23.000Z | 2021-02-10T17:49:25.000Z |
/// PROJECT
#include <csapex/model/node.h>
#include <csapex/model/node_modifier.h>
#include <csapex/msg/any_message.h>
#include <csapex/msg/io.h>
#include <csapex/param/parameter_factory.h>
#include <csapex/utility/register_apex_plugin.h>
/// SYSTEM
#include <map>
#include <signal.h>
using namespace csapex;
using na... | 37.842105 | 101 | 0.512935 | AdrianZw |
0b3f7725e00fd0afb3be84e1339d2661d670d7db | 10,421 | cpp | C++ | logdevice/server/rebuilding/RebuildingFilter.cpp | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | 1 | 2018-09-12T15:45:05.000Z | 2018-09-12T15:45:05.000Z | logdevice/server/rebuilding/RebuildingFilter.cpp | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | null | null | null | logdevice/server/rebuilding/RebuildingFilter.cpp | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <folly/Optional.h>
#include "logdevice/common/Timestamp.h"
#include "logdevic... | 39.623574 | 80 | 0.644756 | majra20 |
0b43c689a0074b1ba70ed2b69cb0986a5629883d | 2,779 | hpp | C++ | Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/schedule_query_spacetime__builder.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/schedule_query_spacetime__builder.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/schedule_query_spacetime__builder.hpp | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | 2 | 2021-06-21T07:32:09.000Z | 2021-08-17T03:05:38.000Z | // generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from rmf_traffic_msgs:msg/ScheduleQuerySpacetime.idl
// generated code does not contain a copyright notice
#ifndef RMF_TRAFFIC_MSGS__MSG__DETAIL__SCHEDULE_QUERY_SPACETIME__BUILDER_HPP_
#define RMF_TRAFFIC_MSGS__MSG__DETAIL__SCHEDULE_QUER... | 26.721154 | 127 | 0.801367 | flitzmo-hso |
0b48bd349894bdaa7e8fe767deefd7efffcdac8d | 9,705 | cpp | C++ | src/verifier/tree_compress.cpp | jre233kei/slim | 13764ed193cc49a6008e1fdb28575e66165b045d | [
"BSD-3-Clause"
] | 18 | 2015-02-11T13:52:46.000Z | 2021-07-05T10:50:22.000Z | src/verifier/tree_compress.cpp | jre233kei/slim | 13764ed193cc49a6008e1fdb28575e66165b045d | [
"BSD-3-Clause"
] | 58 | 2015-01-02T11:31:12.000Z | 2022-03-23T07:16:47.000Z | src/verifier/tree_compress.cpp | jre233kei/slim | 13764ed193cc49a6008e1fdb28575e66165b045d | [
"BSD-3-Clause"
] | 17 | 2015-04-02T03:52:48.000Z | 2021-02-07T02:29:38.000Z | /*
* tree_compress.cpp
*
* Copyright (c) 2008, Ueda Laboratory LMNtal Group
* <lmntal@ueda.info.waseda.ac.jp>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... | 30.615142 | 80 | 0.625245 | jre233kei |
0b50fcf134a195c21be92cde7a900ef0bce6b5fc | 1,758 | hh | C++ | examples/ScatteringExample/include/SEGasHit.hh | QTNM/Electron-Tracking | b9dff0232af5a99fd795fd504dbddde71f4dd31c | [
"MIT"
] | 2 | 2022-03-16T22:30:19.000Z | 2022-03-16T22:30:26.000Z | examples/ScatteringExample/include/SEGasHit.hh | QTNM/Electron-Tracking | b9dff0232af5a99fd795fd504dbddde71f4dd31c | [
"MIT"
] | 18 | 2021-03-02T15:14:11.000Z | 2022-02-14T08:12:20.000Z | examples/ScatteringExample/include/SEGasHit.hh | QTNM/Electron-Tracking | b9dff0232af5a99fd795fd504dbddde71f4dd31c | [
"MIT"
] | null | null | null | #ifndef SEGasHit_h
#define SEGasHit_h 1
#include "G4VHit.hh"
#include "G4THitsCollection.hh"
#include "G4Allocator.hh"
/// Gas hit class
///
/// It defines data members to store the energy deposit,
/// and position in a selected volume:
class SEGasHit : public G4VHit
{
public:
SEGasHit();
SEGasHit(const SE... | 24.416667 | 62 | 0.642207 | QTNM |
0b584c4bb028a5912beb4ad6cc6326136f12b665 | 1,238 | cpp | C++ | LeetCode/0022/0022_2.cpp | samsonwang/ToyCpp | a6a757aacf1a0e6d9ba3c943c5744fde611a2f7c | [
"MIT"
] | null | null | null | LeetCode/0022/0022_2.cpp | samsonwang/ToyCpp | a6a757aacf1a0e6d9ba3c943c5744fde611a2f7c | [
"MIT"
] | null | null | null | LeetCode/0022/0022_2.cpp | samsonwang/ToyCpp | a6a757aacf1a0e6d9ba3c943c5744fde611a2f7c | [
"MIT"
] | null | null | null |
#include <vector>
#include <iostream>
#include <cstdio>
#include <set>
using namespace std;
static const auto fast = [](){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
return 0;
}();
// 使用dp
vector<s... | 22.509091 | 62 | 0.417609 | samsonwang |
0b5bfabcfc61d89cb379480f58302b0b1a278f28 | 12,810 | cpp | C++ | Server/sq_functions.cpp | LHMPTeam/lhmp-old | 84dd379ab8ae59418135c940e700f3022339e136 | [
"Apache-2.0"
] | 8 | 2017-02-13T13:29:39.000Z | 2022-01-12T17:12:04.000Z | Server/sq_functions.cpp | LHMPTeam/lhmp-old | 84dd379ab8ae59418135c940e700f3022339e136 | [
"Apache-2.0"
] | null | null | null | Server/sq_functions.cpp | LHMPTeam/lhmp-old | 84dd379ab8ae59418135c940e700f3022339e136 | [
"Apache-2.0"
] | 10 | 2017-01-14T09:41:06.000Z | 2021-10-10T00:02:32.000Z | // (C) LHMP Team 2013-2016; Licensed under Apache 2; See LICENSE;;
#include "sq_funcdef.h"
#include "sq_functions.h"
int Init(SQVM* vM)
{
//RegisterFunction(vM, "testfunc", (SQFUNCTION)sq_dopice, 0, "");
RegisterFunction(vM, "banIP", (SQFUNCTION)sq_banIP, 4, ".sns");
RegisterFunction(vM, "banPlayer", (SQFUNCTION... | 62.794118 | 109 | 0.741374 | LHMPTeam |
0b5f9783b85e3ec6525bc0aa7206c1ae717754ff | 2,084 | cpp | C++ | ares/msx/cartridge/cartridge.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/msx/cartridge/cartridge.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 176 | 2020-07-25T19:11:23.000Z | 2021-10-04T17:11:32.000Z | ares/msx/cartridge/cartridge.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | #include <msx/msx.hpp>
namespace ares::MSX {
Cartridge& cartridge = cartridgeSlot.cartridge;
Cartridge& expansion = expansionSlot.cartridge;
#include "board/board.cpp"
#include "slot.cpp"
#include "serialization.cpp"
auto Cartridge::allocate(Node::Port parent) -> Node::Peripheral {
return node = parent->append<Nod... | 27.421053 | 87 | 0.673225 | CasualPokePlayer |
0b6024f0a83689e35fe3eb8c55e34ec77a56d216 | 2,564 | cpp | C++ | Capu/test/src/container/CapuDefaultHashFunctionTest.cpp | bmwcarit/capu | b04f0c2b44ed875fea6cbbaf326b73a7210272a8 | [
"Apache-2.0"
] | 16 | 2015-01-13T12:47:49.000Z | 2018-05-23T05:05:18.000Z | Capu/test/src/container/CapuDefaultHashFunctionTest.cpp | bmwcarit/capu | b04f0c2b44ed875fea6cbbaf326b73a7210272a8 | [
"Apache-2.0"
] | 18 | 2015-02-04T07:13:33.000Z | 2017-01-05T08:01:27.000Z | Capu/test/src/container/CapuDefaultHashFunctionTest.cpp | bmwcarit/capu | b04f0c2b44ed875fea6cbbaf326b73a7210272a8 | [
"Apache-2.0"
] | 12 | 2015-01-15T09:52:25.000Z | 2019-11-27T12:52:30.000Z | /*
* Copyright (C) 2012 BMW Car IT GmbH
*
* 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 a... | 35.123288 | 75 | 0.644306 | bmwcarit |
0b643f365fd20266794b8fb47d56be53142bb3cf | 2,108 | cpp | C++ | OcularCore/src/Events/AEvent.cpp | ssell/OcularEngine | c80cc4fcdb7dd7ce48d3af330bd33d05312076b1 | [
"Apache-2.0"
] | 8 | 2017-01-27T01:06:06.000Z | 2020-11-05T20:23:19.000Z | OcularCore/src/Events/AEvent.cpp | ssell/OcularEngine | c80cc4fcdb7dd7ce48d3af330bd33d05312076b1 | [
"Apache-2.0"
] | 39 | 2016-06-03T02:00:36.000Z | 2017-03-19T17:47:39.000Z | OcularCore/src/Events/AEvent.cpp | ssell/OcularEngine | c80cc4fcdb7dd7ce48d3af330bd33d05312076b1 | [
"Apache-2.0"
] | 4 | 2019-05-22T09:13:36.000Z | 2020-12-01T03:17:45.000Z | /**
* Copyright 2014-2015 Steven T Sell (ssell@vertexfragment.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 33.460317 | 92 | 0.376186 | ssell |
0b651b714eb4c774c12ba2129a3a782f51dd66cc | 670 | hpp | C++ | Siv3D/src/Siv3D/Cursor/CursorState.hpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 7 | 2020-04-26T11:06:02.000Z | 2021-09-05T16:42:31.000Z | Siv3D/src/Siv3D/Cursor/CursorState.hpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 10 | 2020-04-26T13:25:36.000Z | 2022-03-01T12:34:44.000Z | Siv3D/src/Siv3D/Cursor/CursorState.hpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 2 | 2020-05-11T08:23:23.000Z | 2020-08-08T12:33:30.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <Siv3D/Fwd.hpp>
names... | 18.611111 | 53 | 0.559701 | yumetodo |
0b657a515b38bfd09b7ad8088e605a51df6e69b3 | 7,857 | cpp | C++ | client/src/bindings/WebView.cpp | Marvisak/altv-js-module | 8b7c0b600a4444596805a8872788f051a50609d2 | [
"MIT"
] | null | null | null | client/src/bindings/WebView.cpp | Marvisak/altv-js-module | 8b7c0b600a4444596805a8872788f051a50609d2 | [
"MIT"
] | null | null | null | client/src/bindings/WebView.cpp | Marvisak/altv-js-module | 8b7c0b600a4444596805a8872788f051a50609d2 | [
"MIT"
] | null | null | null |
#include "V8Helpers.h"
#include "helpers/BindHelpers.h"
#include "V8Class.h"
#include "V8Entity.h"
#include "V8ResourceImpl.h"
#include "../CV8Resource.h"
#include "cpp-sdk/script-objects/IWebView.h"
using namespace alt;
static void ToString(const v8::FunctionCallbackInfo<v8::Value>& info)
{
V8_GET_ISOLATE_CONTE... | 31.809717 | 146 | 0.683467 | Marvisak |
0b669c48dca306a837059354351359aa480ded22 | 35,896 | cpp | C++ | src/devices/cpu/tx0/tx0.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/devices/cpu/tx0/tx0.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/devices/cpu/tx0/tx0.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Raphael Nabet
/*
TX-0 emulator
Two variants:
* initial model 64kWord RAM
* later model 8kWord RAM
Raphael Nabet 2004
*/
#include "emu.h"
#include "tx0.h"
#include "tx0dasm.h"
#include "debugger.h"
#define LOG_RIM (1 << 1U)
//#define VERBOSE (LOG_RIM)
... | 27.276596 | 173 | 0.550507 | Robbbert |
0b6a4576e35499d3aafa6e478f2aa021e2a0db76 | 21,279 | cpp | C++ | Code_arduino/arduino-1.0.6/libraries/AP_Motors/AP_MotorsHeli.cpp | NeLy-EPFL/SeptaCam | 7cdf6031193fc68ae5527578e2fd21ea1ed8ee0a | [
"MIT"
] | null | null | null | Code_arduino/arduino-1.0.6/libraries/AP_Motors/AP_MotorsHeli.cpp | NeLy-EPFL/SeptaCam | 7cdf6031193fc68ae5527578e2fd21ea1ed8ee0a | [
"MIT"
] | null | null | null | Code_arduino/arduino-1.0.6/libraries/AP_Motors/AP_MotorsHeli.cpp | NeLy-EPFL/SeptaCam | 7cdf6031193fc68ae5527578e2fd21ea1ed8ee0a | [
"MIT"
] | null | null | null | /*
* AP_MotorsHeli.cpp - ArduCopter motors library
* Code by RandyMackay. DIYDrones.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2... | 37.006957 | 310 | 0.64035 | NeLy-EPFL |
0b6aed1e0fe6e31aa4d1325c0cf387e54d516ba1 | 1,420 | cpp | C++ | UnrealEngine-4.11.2-release/Engine/Source/Editor/UnrealEd/Private/LandscapeTextureBakingNotification.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2016-10-01T21:35:52.000Z | 2016-10-01T21:35:52.000Z | UnrealEngine-4.11.2-release/Engine/Source/Editor/UnrealEd/Private/LandscapeTextureBakingNotification.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | null | null | null | UnrealEngine-4.11.2-release/Engine/Source/Editor/UnrealEd/Private/LandscapeTextureBakingNotification.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2021-04-27T08:48:33.000Z | 2021-04-27T08:48:33.000Z | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "UnrealEd.h"
#include "GlobalEditorNotification.h"
#include "Landscape.h"
#include "SNotificationList.h"
/** Notification class for grassmmap rendering. */
class FLandscapeTextureBakingNotificationImpl : public FGlobalEditorNotification
{
protected... | 40.571429 | 156 | 0.83169 | armroyce |
0b6d3e92e8a0ab793faec23dcc650a963a747529 | 3,773 | cpp | C++ | c++/src/objtools/readers/read_util.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | c++/src/objtools/readers/read_util.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | c++/src/objtools/readers/read_util.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | /* $Id: read_util.cpp 352696 2012-02-08 19:35:14Z ludwigf $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Wo... | 31.181818 | 80 | 0.51471 | OpenHero |
0b7186333a770ddc1ef104c54ee3461e978c1d40 | 10,771 | cpp | C++ | Code/lib/AspenSIM800/src/atcmds/general.cpp | johannes51/Telefon | 751ff691b184f5fc456e5b978ebe39aecb1d3961 | [
"MIT"
] | null | null | null | Code/lib/AspenSIM800/src/atcmds/general.cpp | johannes51/Telefon | 751ff691b184f5fc456e5b978ebe39aecb1d3961 | [
"MIT"
] | null | null | null | Code/lib/AspenSIM800/src/atcmds/general.cpp | johannes51/Telefon | 751ff691b184f5fc456e5b978ebe39aecb1d3961 | [
"MIT"
] | null | null | null |
// "Aspen SIM800" is a comprehensive SIM800 library for simplified and in-depth chip access.
// Copyright (C) 2016 Mattias Aabmets (https://github.com/aspenforest)
//
// This API library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as p... | 30.774286 | 94 | 0.444156 | johannes51 |
0b71dfdcb29fb90cbe22dda32a3c935d6bbec326 | 25,326 | cpp | C++ | libraries/VAL/src/graphconstruct.cpp | teyssieuman/VAL | 15320d3988bb6ed633babe6c7bd663a97c23a393 | [
"BSD-3-Clause"
] | 65 | 2015-01-08T09:58:01.000Z | 2021-11-16T11:08:31.000Z | libraries/VAL/src/graphconstruct.cpp | teyssieuman/VAL | 15320d3988bb6ed633babe6c7bd663a97c23a393 | [
"BSD-3-Clause"
] | 48 | 2015-01-19T01:07:16.000Z | 2021-07-29T18:26:54.000Z | libraries/VAL/src/graphconstruct.cpp | teyssieuman/VAL | 15320d3988bb6ed633babe6c7bd663a97c23a393 | [
"BSD-3-Clause"
] | 45 | 2016-01-08T01:57:01.000Z | 2022-03-07T04:00:36.000Z | // Copyright 2019 - University of Strathclyde, King's College London and Schlumberger Ltd
// This source code is licensed under the BSD license found in the LICENSE file in the root directory of this source tree.
#include "graphconstruct.h"
#include "Evaluator.h"
#include "FuncAnalysis.h"
#include "InstPropLinker.h"
#... | 29.621053 | 122 | 0.535142 | teyssieuman |
0b7280055691a15afa962c7c470639c63a20a9c9 | 2,943 | cpp | C++ | code_blocks/checking_statistics/main.cpp | rafald/xtechnical_analysis | 7686c16241e9e53fb5a5548354531b533f983b54 | [
"MIT"
] | 12 | 2020-01-20T14:22:18.000Z | 2022-01-26T04:41:36.000Z | code_blocks/checking_statistics/main.cpp | rafald/xtechnical_analysis | 7686c16241e9e53fb5a5548354531b533f983b54 | [
"MIT"
] | 1 | 2020-05-23T07:35:03.000Z | 2020-05-23T07:35:03.000Z | code_blocks/checking_statistics/main.cpp | rafald/xtechnical_analysis | 7686c16241e9e53fb5a5548354531b533f983b54 | [
"MIT"
] | 9 | 2019-11-02T19:01:55.000Z | 2021-07-08T21:51:44.000Z | #include <iostream>
#include "xtechnical_statistics.hpp"
#include <array>
#include <vector>
int main() {
std::cout << "Hello world!" << std::endl;
std::array<double,6> test_data = {3,8,10,17,24,27};
double median_absolute_deviation_value = xtechnical_statistics::calc_median_absolute_deviation<double>(test... | 44.590909 | 118 | 0.684336 | rafald |
0b7292b705f65f8ad3e92805d9232cea1c4d9624 | 458 | cpp | C++ | p/videojoiner/cv.cpp | jose-lp/docker-ie0521 | e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d | [
"MIT"
] | null | null | null | p/videojoiner/cv.cpp | jose-lp/docker-ie0521 | e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d | [
"MIT"
] | null | null | null | p/videojoiner/cv.cpp | jose-lp/docker-ie0521 | e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d | [
"MIT"
] | null | null | null | #include "cv.h"
#include <opencv2/opencv.hpp>
void cvWindow(const char *name, int x, int y, int w, int h) {
namedWindow(name, CV_WINDOW_NORMAL | CV_GUI_NORMAL);
moveWindow(name, x, y);
resizeWindow(name, w, h);
}
void msgBox(const char *msg) {
Mat win = Mat::zeros(200, 1200, CV_8UC1);
putText(win, msg, Point(50... | 24.105263 | 66 | 0.683406 | jose-lp |
0b7841561a34404b668d78abbb27f69031de463e | 5,918 | cpp | C++ | iotsa433ReceiveForwarder.cpp | cwi-dis/iotsa433 | cd634342de50881ed9105f2c3e40e26793d866cc | [
"MIT"
] | null | null | null | iotsa433ReceiveForwarder.cpp | cwi-dis/iotsa433 | cd634342de50881ed9105f2c3e40e26793d866cc | [
"MIT"
] | null | null | null | iotsa433ReceiveForwarder.cpp | cwi-dis/iotsa433 | cd634342de50881ed9105f2c3e40e26793d866cc | [
"MIT"
] | null | null | null | #include "iotsa.h"
#include "iotsa433ReceiveForwarder.h"
#include <RCSwitch.h>
bool Iotsa433ReceiveForwarder::configLoad(IotsaConfigFileLoad& cf, const String& f_name) {
bool ok = IotsaRequest::configLoad(cf, f_name);
if (!ok) return false;
cf.get(f_name + ".telegram_tristate", telegram_tristate, "");
cf.get(f... | 35.650602 | 130 | 0.677932 | cwi-dis |
0b795796369fa5c52e057bc4e67e18c8c0111f7c | 404 | cpp | C++ | source/PyMaterialX/PyMaterialXGenOgsXml/PyModule.cpp | muenstc/MaterialX | b8365086a738fddae683065d78f65410aacd0dc4 | [
"BSD-3-Clause"
] | 101 | 2017-08-08T12:08:01.000Z | 2022-03-17T06:37:58.000Z | source/PyMaterialX/PyMaterialXGenOgsXml/PyModule.cpp | testpassword/MaterialX | 7c69782196b11fa43c67aee0707801983bb81e6c | [
"BSD-3-Clause"
] | 1,002 | 2018-01-09T10:33:07.000Z | 2022-03-31T18:35:04.000Z | source/PyMaterialX/PyMaterialXGenOgsXml/PyModule.cpp | testpassword/MaterialX | 7c69782196b11fa43c67aee0707801983bb81e6c | [
"BSD-3-Clause"
] | 24 | 2018-01-05T20:16:36.000Z | 2022-02-03T15:40:14.000Z | //
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <PyMaterialX/PyMaterialX.h>
namespace py = pybind11;
void bindPyOgsFragment(py::module& mod);
PYBIND11_MODULE(PyMaterialXGenOgsXml, mod)
{
mod.doc() = "Module containing ... | 22.444444 | 87 | 0.742574 | muenstc |
0b7a364391459c9607fb675102d570ae65003254 | 8,254 | cpp | C++ | Test.cpp | dolevsaadia/wargame | a9fecab767337fe8b42d3712becdcfcf4c9507b2 | [
"MIT"
] | null | null | null | Test.cpp | dolevsaadia/wargame | a9fecab767337fe8b42d3712becdcfcf4c9507b2 | [
"MIT"
] | null | null | null | Test.cpp | dolevsaadia/wargame | a9fecab767337fe8b42d3712becdcfcf4c9507b2 | [
"MIT"
] | null | null | null | #include "doctest.h"
#include "FootSoldier.hpp"
#include "FootCommander.hpp"
#include"Paramedic.hpp"
#include"ParamedicCommander.hpp"
#include"Sniper.hpp"
#include"SniperCommander.hpp"
#include "Board.hpp"
#include <iostream>
using namespace std;
namespace WarGame{
TEST_CASE("Test-1-soldiers")
{
Board board(8,... | 32.242188 | 57 | 0.577417 | dolevsaadia |
0b7c14cb211d72dc1d324f42da9f1712af30bea4 | 1,447 | cpp | C++ | TreeSection.cpp | Scaarj/HappyNewYear | 38a373e939c8aed400001914e283cc918c4cfa44 | [
"MIT"
] | null | null | null | TreeSection.cpp | Scaarj/HappyNewYear | 38a373e939c8aed400001914e283cc918c4cfa44 | [
"MIT"
] | null | null | null | TreeSection.cpp | Scaarj/HappyNewYear | 38a373e939c8aed400001914e283cc918c4cfa44 | [
"MIT"
] | null | null | null | #include "TreeSection.h"
#include <boost/range/adaptors.hpp>
#include <cmath>
#include "Pattern.h"
#include "TreeLine.h"
TreeSection::TreeSection(int offset, int maxWidth, int start) {
for (int i = start; i < ceil(maxWidth / 2) + 1; ++i) {
int treeItemCount = i * 2 + 1;
_lines.push_back(
std::make_... | 24.948276 | 79 | 0.658604 | Scaarj |
0b7cd1510054f5ea3ff5ac021bdb5363e25366d6 | 2,964 | cpp | C++ | gecode/global_contiguity.cpp | Wikunia/hakank | 030bc928d2efe8dcbc5118bda3f8ae9575d0fd13 | [
"MIT"
] | 279 | 2015-01-10T09:55:35.000Z | 2022-03-28T02:34:03.000Z | gecode/global_contiguity.cpp | Wikunia/hakank | 030bc928d2efe8dcbc5118bda3f8ae9575d0fd13 | [
"MIT"
] | 10 | 2017-10-05T15:48:50.000Z | 2021-09-20T12:06:52.000Z | gecode/global_contiguity.cpp | Wikunia/hakank | 030bc928d2efe8dcbc5118bda3f8ae9575d0fd13 | [
"MIT"
] | 83 | 2015-01-20T03:44:00.000Z | 2022-03-13T23:53:06.000Z | /*
Global constraint global contiguity (decompositions) in Gecode.
From Global constraint catalog
http://www.emn.fr/x-info/sdemasse/gccat/Cglobal_contiguity.html
"""
Enforce all variables of the VARIABLES collection to be assigned to
0 or 1. In addition, all variables assigned to value 1 appear contiguou... | 21.635036 | 79 | 0.633266 | Wikunia |
0b7d2ea70f3ff9682b259ef39f6d40831309d6cf | 8,502 | cc | C++ | comm/leader_election.cc | wahidHarb/rdp-1 | 73a0813d9a08f0aad34b56ba678167e6387b5e74 | [
"Apache-2.0"
] | 112 | 2018-12-05T07:45:42.000Z | 2022-01-24T11:28:11.000Z | comm/leader_election.cc | wahidHarb/rdp-1 | 73a0813d9a08f0aad34b56ba678167e6387b5e74 | [
"Apache-2.0"
] | 2 | 2020-02-29T02:34:59.000Z | 2020-05-12T06:34:29.000Z | comm/leader_election.cc | wahidHarb/rdp-1 | 73a0813d9a08f0aad34b56ba678167e6387b5e74 | [
"Apache-2.0"
] | 88 | 2018-12-16T07:35:10.000Z | 2022-03-09T17:41:16.000Z | //
//Copyright 2018 vip.com.
//
//Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
//the License. You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, sof... | 29.418685 | 117 | 0.626441 | wahidHarb |
0b7da4117c08905aaa6b33469d0846a312083e4c | 4,397 | cpp | C++ | BlendNode.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | BlendNode.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | BlendNode.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
/*************************************************************************
-------------------------------------------------------------------------
$Id$
$DateTime$
Description: BlendNodes and BlendGroups for ScreenEffects
---------------... | 21.553922 | 129 | 0.556516 | IvarJonsson |
0b7e723f086bb4bfa9946d3dc14ab87dad3e87d8 | 581 | cpp | C++ | leetcode/medianSortedMatrix.cpp | vkashkumar/Competitive-Programming | c457e745208c0ca3e45b1ffce254a21504533f51 | [
"MIT"
] | 2 | 2019-01-30T12:45:18.000Z | 2021-05-06T19:02:51.000Z | leetcode/medianSortedMatrix.cpp | vkashkumar/Competitive-Programming | c457e745208c0ca3e45b1ffce254a21504533f51 | [
"MIT"
] | null | null | null | leetcode/medianSortedMatrix.cpp | vkashkumar/Competitive-Programming | c457e745208c0ca3e45b1ffce254a21504533f51 | [
"MIT"
] | 3 | 2020-10-02T15:42:04.000Z | 2022-03-27T15:14:16.000Z | int Solution::findMedian(vector<vector<int> > &A) {
int r=A.size(),c=A[0].size();
int req=(r*c+1)/2;
int minm=INT_MAX,maxm=INT_MIN;
//finding min and max elemnt in whole matrix
for(int i=0;i<r;i++)
{
minm=min(minm,A[i][0]);
maxm=max(maxm,A[i][c-1]);
}
while(minm... | 24.208333 | 70 | 0.502582 | vkashkumar |
0b7f21f3201d1d09574c61cdcafaa81fd38e5ba9 | 917 | hpp | C++ | include/SSVOpenHexagon/Utils/Match.hpp | kiwec/SSVOpenHexagon | a421694146117e6457aadab22358c6be05a71c13 | [
"AFL-3.0"
] | null | null | null | include/SSVOpenHexagon/Utils/Match.hpp | kiwec/SSVOpenHexagon | a421694146117e6457aadab22358c6be05a71c13 | [
"AFL-3.0"
] | null | null | null | include/SSVOpenHexagon/Utils/Match.hpp | kiwec/SSVOpenHexagon | a421694146117e6457aadab22358c6be05a71c13 | [
"AFL-3.0"
] | null | null | null | // Copyright (c) 2013-2020 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
#pragma once
#include <type_traits>
#include <variant>
#include <utility>
namespace hg::Utils
{
template <typename... Fs>
struct overload_set : Fs...
{
template ... | 21.833333 | 80 | 0.652126 | kiwec |
0b7f7ab32a28370dd95bb868670c9cb65fea0dba | 8,442 | cpp | C++ | test/backend/batch_mat_mul.in.cpp | XReyRobert-IBM/ngraph | 8cd9b5da9591f3e096b07ff21d8eaa2d2f0fb06f | [
"Apache-2.0"
] | null | null | null | test/backend/batch_mat_mul.in.cpp | XReyRobert-IBM/ngraph | 8cd9b5da9591f3e096b07ff21d8eaa2d2f0fb06f | [
"Apache-2.0"
] | null | null | null | test/backend/batch_mat_mul.in.cpp | XReyRobert-IBM/ngraph | 8cd9b5da9591f3e096b07ff21d8eaa2d2f0fb06f | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// 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://w... | 38.547945 | 98 | 0.675788 | XReyRobert-IBM |
0b81ac862e4da9817195d15bd80330bd552b38cc | 1,458 | cpp | C++ | UVA/735.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | UVA/735.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | UVA/735.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define f first
#define s second
#define ll long long
#define vi vector<int>
#define pii pair<int, int>
#define si set<int>
#define y1 yy
#define debug if(printDebug)
using namespace std;
bool printDebug=false;
int main(){
//printDebug=true;
/*freopen("in.txt", "r", stdin);
freopen("... | 23.142857 | 85 | 0.500686 | DT3264 |
0b81bf1a8f15c6dd3c8546e8d0505dad5c3e3db3 | 711 | hpp | C++ | include/lol/def/RosterItemDto.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 1 | 2020-07-22T11:14:55.000Z | 2020-07-22T11:14:55.000Z | include/lol/def/RosterItemDto.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | null | null | null | include/lol/def/RosterItemDto.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 4 | 2018-12-01T22:48:21.000Z | 2020-07-22T11:14:56.000Z | #pragma once
#include "../base_def.hpp"
namespace lol {
struct RosterItemDto {
uint64_t accountId;
std::string summonerName;
int32_t summonerIconId;
std::string clubRole;
};
inline void to_json(json& j, const RosterItemDto& v) {
j["accountId"] = v.accountId;
j["summonerName"] = v.summo... | 32.318182 | 62 | 0.646976 | Maufeat |
0b82b4a677f754329da71f3ca9f361fad8c91abc | 1,020 | hpp | C++ | source/framework/core/include/lue/framework/core/serialize/shared_buffer.hpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 2 | 2021-02-26T22:45:56.000Z | 2021-05-02T10:28:48.000Z | source/framework/core/include/lue/framework/core/serialize/shared_buffer.hpp | pcraster/lue | e64c18f78a8b6d8a602b7578a2572e9740969202 | [
"MIT"
] | 262 | 2016-08-11T10:12:02.000Z | 2020-10-13T18:09:16.000Z | source/framework/core/include/lue/framework/core/serialize/shared_buffer.hpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 1 | 2020-03-11T09:49:41.000Z | 2020-03-11T09:49:41.000Z | #pragma once
#include "lue/framework/core/shared_buffer.hpp"
#include <hpx/serialization/array.hpp>
namespace hpx {
namespace serialization {
template<
typename Element>
void serialize(
input_archive& archive,
lue::SharedBuffer<Element>& buffer,
unsigned int const /* version */)
{
// Read buffer ... | 21.25 | 77 | 0.670588 | computationalgeography |
0b833a987af6dca1a64ebb374e42ed1a99d61341 | 11,694 | cpp | C++ | be/test/vec/function/function_geo_test.cpp | kuolei/incubator-doris | b14678c0021896f11efdfdaa3e2dad15b2d4868d | [
"Apache-2.0"
] | 2 | 2022-01-26T15:24:34.000Z | 2022-02-10T09:07:33.000Z | be/test/vec/function/function_geo_test.cpp | aiwenmo/incubator-doris | b33ab960a840553d2877d56c5c051a94df71917f | [
"Apache-2.0"
] | 2 | 2018-08-27T07:42:21.000Z | 2018-08-29T06:37:41.000Z | be/test/vec/function/function_geo_test.cpp | aiwenmo/incubator-doris | b33ab960a840553d2877d56c5c051a94df71917f | [
"Apache-2.0"
] | 1 | 2022-01-14T17:35:25.000Z | 2022-01-14T17:35:25.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 35.981538 | 100 | 0.613734 | kuolei |
0b85d0e46281e9184082f5cc2e856186bf03ea19 | 1,112 | cpp | C++ | src/ProjectsCpp/ImageStiching/Sticher/im_stitching.cpp | ShawnZhang31/OpenCV_Tutorials_ZH | fe151158291cb282539e969c38d47af38c37fd45 | [
"MIT"
] | 2 | 2020-02-21T19:16:41.000Z | 2021-06-30T07:09:44.000Z | src/ProjectsCpp/ImageStiching/Sticher/im_stitching.cpp | ShawnZhang31/OpenCV_Tutorials_ZH | fe151158291cb282539e969c38d47af38c37fd45 | [
"MIT"
] | null | null | null | src/ProjectsCpp/ImageStiching/Sticher/im_stitching.cpp | ShawnZhang31/OpenCV_Tutorials_ZH | fe151158291cb282539e969c38d47af38c37fd45 | [
"MIT"
] | 1 | 2021-04-16T05:17:27.000Z | 2021-04-16T05:17:27.000Z | //
// Created by 张晓民 on 2020/3/20.
//
#include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/stitching.hpp>
#include <iostream>
using namespace std;
using namespace cv;
bool divide_images = false;
Stitcher::Mode mode = Stitcher::PANORAMA;
vector<Mat> imgs;
string result_name = "result.jp... | 21.803922 | 59 | 0.602518 | ShawnZhang31 |
0b8b6c231485eed6921f1be89337c7b14088acdc | 6,884 | cpp | C++ | xml/applications/xml-map.cpp | mission-systems-pty-ltd/comma | 3ccec0b206fb15a8c048358a7fc01be61a7e4f1e | [
"BSD-3-Clause"
] | 21 | 2015-05-07T06:11:09.000Z | 2022-02-01T09:55:46.000Z | xml/applications/xml-map.cpp | mission-systems-pty-ltd/comma | 3ccec0b206fb15a8c048358a7fc01be61a7e4f1e | [
"BSD-3-Clause"
] | 17 | 2015-01-16T01:38:08.000Z | 2020-03-30T09:05:01.000Z | xml/applications/xml-map.cpp | mission-systems-pty-ltd/comma | 3ccec0b206fb15a8c048358a7fc01be61a7e4f1e | [
"BSD-3-Clause"
] | 13 | 2016-01-13T01:29:29.000Z | 2022-02-01T09:55:49.000Z | // This file is part of comma, a generic and flexible library
// Copyright (c) 2011 The University of Sydney
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// 1. Redistributions of source cod... | 32.018605 | 104 | 0.643812 | mission-systems-pty-ltd |
0b8cf1e6294370b9912415e2cf4fce02a0161b05 | 2,124 | cpp | C++ | DecoderSDK/ISampleDecoder.cpp | MartinPulec/cineform-sdk | 8fd6bbaf87a9ff99c13bc7978318a32b1549ba13 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 248 | 2017-10-25T16:14:07.000Z | 2022-03-26T10:53:34.000Z | DecoderSDK/ISampleDecoder.cpp | MartinPulec/cineform-sdk | 8fd6bbaf87a9ff99c13bc7978318a32b1549ba13 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 48 | 2017-10-25T21:48:39.000Z | 2021-11-29T15:37:44.000Z | DecoderSDK/ISampleDecoder.cpp | MartinPulec/cineform-sdk | 8fd6bbaf87a9ff99c13bc7978318a32b1549ba13 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 62 | 2017-10-25T21:45:36.000Z | 2022-03-26T10:53:50.000Z | /*! @file ISampleDecoder.cpp
@brief Interface for the sample decoder class.
This class is used internally by CineForm software and is not currently
mentioned in the documentation provided to customers. Modify this comment
and add tags for Doxygen to publish this interface in customer documentation.
The... | 28.702703 | 120 | 0.749529 | MartinPulec |
0b8ff419a29e6d26aed51900a35f4a11cf20917a | 992 | cpp | C++ | main/maximum-element/maximum-element.cpp | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/maximum-element/maximum-element.cpp | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/maximum-element/maximum-element.cpp | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | #include <iostream>
#include <set>
#include <stack>
#include <stdexcept>
inline void push(std::stack<int>& s, std::multiset<int>& m)
{
auto x = 0;
std::cin >> x;
s.push(x);
m.insert(x);
}
inline void pop(std::stack<int>& s, std::multiset<int>& m)
{
const auto x = s.top();
s.pop();
co... | 20.244898 | 76 | 0.506048 | EliahKagan |
0b939908b8c5996b9f58302df70f79ad877fdcaa | 1,648 | cpp | C++ | common/test_case_builder.cpp | ultimatezen/felix | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | [
"MIT"
] | null | null | null | common/test_case_builder.cpp | ultimatezen/felix | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | [
"MIT"
] | null | null | null | common/test_case_builder.cpp | ultimatezen/felix | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | [
"MIT"
] | null | null | null | // test_case_builder.cpp: implementation of the test_case_builder class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "test_case_builder.h"
#include "file_representation.h"
//////////////////////////////////////////////////////////////////////
// Cons... | 23.211268 | 88 | 0.600728 | ultimatezen |
0b97f785489ca7902ed7cfbc952a0a82b7357f50 | 1,724 | cpp | C++ | webos/developertools/plugin/src/unifiedtimerwrapper.cpp | webosce/qml-webos-components | ac9db3de6214a6022c87be387a267b97e079fe00 | [
"Apache-2.0"
] | 5 | 2018-03-17T12:35:42.000Z | 2020-07-18T03:51:21.000Z | webos/developertools/plugin/src/unifiedtimerwrapper.cpp | webosce/qml-webos-components | ac9db3de6214a6022c87be387a267b97e079fe00 | [
"Apache-2.0"
] | 1 | 2019-10-19T12:26:35.000Z | 2019-10-19T12:26:35.000Z | webos/developertools/plugin/src/unifiedtimerwrapper.cpp | webosce/qml-webos-components | ac9db3de6214a6022c87be387a267b97e079fe00 | [
"Apache-2.0"
] | 3 | 2018-03-22T18:54:39.000Z | 2020-03-04T19:20:03.000Z | // Copyright (c) 2014-2018 LG Electronics, 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... | 28.262295 | 93 | 0.74768 | webosce |
0b9801cb728b739f1e2523beb4d093583745c328 | 549 | cpp | C++ | CompilationTest/StrReplaceTest/results/StrReplaceTest.cpp | onelang/TestArtifacts | 3f067308c8da3a6f95a001ff8b2d0a0421ae3285 | [
"MIT"
] | null | null | null | CompilationTest/StrReplaceTest/results/StrReplaceTest.cpp | onelang/TestArtifacts | 3f067308c8da3a6f95a001ff8b2d0a0421ae3285 | [
"MIT"
] | null | null | null | CompilationTest/StrReplaceTest/results/StrReplaceTest.cpp | onelang/TestArtifacts | 3f067308c8da3a6f95a001ff8b2d0a0421ae3285 | [
"MIT"
] | null | null | null | #include <OneLang-Core-v0.1/one.hpp>
#include <iostream>
#include <string>
class TestClass {
public:
void testMethod() {
auto str = std::string("A x B x C x D");
auto result = OneStringHelper::replace(str, std::string("x"), std::string("y"));
std::cout << std::string("R: ") + result + ", ... | 21.96 | 88 | 0.528233 | onelang |
0b98701c5eb7abef8fb946ddf60dcc4ae7f5ea53 | 1,896 | cpp | C++ | source/profile/ReadClassification.cpp | a7420174/ExpansionHunterDenovo | cbe1306aa8ad7c4b33cdf981d64b3415aa057f91 | [
"Apache-2.0",
"BSD-3-Clause"
] | 50 | 2019-09-20T18:37:38.000Z | 2022-03-10T08:55:42.000Z | source/profile/ReadClassification.cpp | mfbennett/ExpansionHunterDenovo | abf1cc78535f572ec49d38a65f6e84f4104fae2a | [
"Apache-2.0",
"BSD-3-Clause"
] | 35 | 2019-09-20T18:38:20.000Z | 2022-03-29T22:50:55.000Z | source/profile/ReadClassification.cpp | mfbennett/ExpansionHunterDenovo | abf1cc78535f572ec49d38a65f6e84f4104fae2a | [
"Apache-2.0",
"BSD-3-Clause"
] | 21 | 2019-09-20T20:54:43.000Z | 2022-03-30T13:18:25.000Z | //
// ExpansionHunter Denovo
// Copyright 2016-2019 Illumina, Inc.
// All rights reserved.
//
// Author: Egor Dolzhenko <edolzhenko@illumina.com>,
// Michael Eberle <meberle@illumina.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with... | 30.580645 | 117 | 0.699367 | a7420174 |
0b991e0f1584baaf6f09a0254cd94898b23708c1 | 2,515 | cpp | C++ | src/youtubedl-cleanup.cpp | bansan85/youtube-dl-cleanup | 33072a0b1cb5960a671f9ecb6bc048e4ea5c4002 | [
"MIT"
] | null | null | null | src/youtubedl-cleanup.cpp | bansan85/youtube-dl-cleanup | 33072a0b1cb5960a671f9ecb6bc048e4ea5c4002 | [
"MIT"
] | null | null | null | src/youtubedl-cleanup.cpp | bansan85/youtube-dl-cleanup | 33072a0b1cb5960a671f9ecb6bc048e4ea5c4002 | [
"MIT"
] | null | null | null | // YoutubeDlCleanUp.cpp : Defines the entry point for the application.
//
#include <filesystem>
#include <iostream>
#include <map>
#include <optional>
#include <queue>
namespace fs = std::filesystem;
#include <windows.h>
int main(int argc, char* argv[])
{
std::queue<fs::path> folders;
std::locale::global(std::l... | 22.455357 | 124 | 0.580915 | bansan85 |
0b9c133d3dac19203102602f7aaf82a762315cc2 | 787 | cpp | C++ | ReceiverTest/ReceiverTest.cpp | Engin-Boot/environment-case-s1b10 | 55ae0e03252502c58d9f843f1e5caea612dd97d4 | [
"MIT"
] | null | null | null | ReceiverTest/ReceiverTest.cpp | Engin-Boot/environment-case-s1b10 | 55ae0e03252502c58d9f843f1e5caea612dd97d4 | [
"MIT"
] | null | null | null | ReceiverTest/ReceiverTest.cpp | Engin-Boot/environment-case-s1b10 | 55ae0e03252502c58d9f843f1e5caea612dd97d4 | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include <iostream>
#include<vector>
#include "../Receiver/ReceiverCheck.h"
#include "../catch.hpp"
using namespace std;
ReceiverClass obj;
TEST_CASE("Generate warning if Temperature >= 37 C or if Temperature <= 4 C")
{
obj.temperatureWarningHigh(38.9);
REQUIRE(option == 1);
obj.... | 18.302326 | 77 | 0.682338 | Engin-Boot |
0b9c8724a1250030be70d581bc3c82c8e61114c1 | 420 | cpp | C++ | hdfileformat/src/ExplicitHierarchy.cpp | LLNL/hdtopology | 303a0740d59831073b2af69be698dbe19932ec7b | [
"BSD-3-Clause"
] | null | null | null | hdfileformat/src/ExplicitHierarchy.cpp | LLNL/hdtopology | 303a0740d59831073b2af69be698dbe19932ec7b | [
"BSD-3-Clause"
] | null | null | null | hdfileformat/src/ExplicitHierarchy.cpp | LLNL/hdtopology | 303a0740d59831073b2af69be698dbe19932ec7b | [
"BSD-3-Clause"
] | null | null | null | #include "ExplicitHierarchy.h"
namespace HDFileFormat{
ExplicitHierarchy::ExplicitHierarchy()
{
}
ExplicitHierarchy::~ExplicitHierarchy()
{
}
hNode *ExplicitHierarchy::root()
{
return mRoot;
}
void ExplicitHierarchy::setRawBuffer(void *buffer, int bufferSize)
{
}
void ExplicitHierarchy::getRawBuffer(v... | 11.351351 | 67 | 0.730952 | LLNL |
0b9e1e6dcf403916ff7fc26889d01e969ac5aaab | 2,235 | cc | C++ | case_studies/1dtreehpx/main.cc | luglio/dashmm | 19d191576735345d66b450061a940a2738eed1d4 | [
"BSD-3-Clause"
] | null | null | null | case_studies/1dtreehpx/main.cc | luglio/dashmm | 19d191576735345d66b450061a940a2738eed1d4 | [
"BSD-3-Clause"
] | null | null | null | case_studies/1dtreehpx/main.cc | luglio/dashmm | 19d191576735345d66b450061a940a2738eed1d4 | [
"BSD-3-Clause"
] | null | null | null | // ============================================================================
// High Performance ParalleX Library (hpx-apps)
//
// Copyright (c) 2013-2016, Trustees of Indiana University,
// All rights reserved.
//
// This software may be modified and distributed under the terms of the BSD
// license. See the ... | 23.526316 | 79 | 0.609843 | luglio |
0ba2eee16e686b8029b5c9a5846e07f51f8e673e | 601 | cpp | C++ | P/1030.cpp | langonginc/cfile | 46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f | [
"MIT"
] | 1 | 2020-09-13T02:51:25.000Z | 2020-09-13T02:51:25.000Z | P/1030.cpp | langonginc/cfile | 46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f | [
"MIT"
] | null | null | null | P/1030.cpp | langonginc/cfile | 46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f | [
"MIT"
] | 1 | 2021-06-05T03:37:57.000Z | 2021-06-05T03:37:57.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
char mid[55], aft[55];
void dfs (int midl, int midr, int aftl, int aftr)
{
if (midl > midr || aftl > aftr)
{
return;
}
printf ("%c", aft[aftr]);
for (int i = midl; i <= midr; i ++)
{
if (mid[i] == aft... | 19.387097 | 57 | 0.464226 | langonginc |
0ba4785770d1c2710060909c83f81e8b0287ceb1 | 694 | hpp | C++ | Sources/Part12/Game.hpp | marukrap/RoguelikeTutorial2020 | 6fbed9068dff6279f1e3a885329cc2dfaec1ad4a | [
"MIT"
] | 25 | 2020-06-25T03:08:31.000Z | 2022-01-30T15:38:48.000Z | Sources/Part12/Game.hpp | marukrap/RoguelikeTutorial2020 | 6fbed9068dff6279f1e3a885329cc2dfaec1ad4a | [
"MIT"
] | 2 | 2020-08-10T17:52:45.000Z | 2020-08-18T04:02:00.000Z | Sources/Part12/Game.hpp | marukrap/RoguelikeTutorial2020 | 6fbed9068dff6279f1e3a885329cc2dfaec1ad4a | [
"MIT"
] | 2 | 2020-07-01T05:09:04.000Z | 2020-08-04T02:19:04.000Z | #pragma once
#include "Engine/Renderer.hpp"
#include "World.hpp"
class Console;
class Game
{
public:
Game(SDL_Window& window, Console& console);
bool isRunning() const;
void tick();
World* getWorld();
void createWorld();
void loadSavefile();
void closeMenu();
void openMenu(std::unique_ptr<Menu> menu);
vo... | 16.139535 | 44 | 0.71902 | marukrap |
2437fb635dfce2a779dfe830f1c189e321c0d80a | 10,224 | hpp | C++ | WICWIU_src/Optimizer.hpp | ChanhyoLee/TextDataset | 397571f476a89ad42ef3ed77b82c76fc19ac3e33 | [
"Apache-2.0"
] | null | null | null | WICWIU_src/Optimizer.hpp | ChanhyoLee/TextDataset | 397571f476a89ad42ef3ed77b82c76fc19ac3e33 | [
"Apache-2.0"
] | null | null | null | WICWIU_src/Optimizer.hpp | ChanhyoLee/TextDataset | 397571f476a89ad42ef3ed77b82c76fc19ac3e33 | [
"Apache-2.0"
] | null | null | null | #ifndef OPTIMIZER_H_
#define OPTIMIZER_H_ value
#include "LossFunction_utils.hpp"
enum OptimizeDirection {
MAXIMIZE,
MINIMIZE
};
template<typename DTYPE> class Optimizer {
private:
float m_LearningRate;
int m_OptimizeDirection; // 1 or -1
float m_weightDecayRate;
Container<Operator<DTYPE... | 36.776978 | 180 | 0.702758 | ChanhyoLee |
24390a5d58651a882fcc4dae39937bf58154c46c | 9,140 | cpp | C++ | libfastcgipp/request.cpp | xujintao/ratel | a1c3409872816510cca96a0e866c47260a315341 | [
"MIT"
] | 1 | 2018-01-08T02:13:04.000Z | 2018-01-08T02:13:04.000Z | libfastcgipp/request.cpp | xujintao/ratel | a1c3409872816510cca96a0e866c47260a315341 | [
"MIT"
] | null | null | null | libfastcgipp/request.cpp | xujintao/ratel | a1c3409872816510cca96a0e866c47260a315341 | [
"MIT"
] | null | null | null | /*!
* @file request.cpp
* @brief Defines the Request class
* @author Eddie Carle <eddie@isatec.ca>
* @date May 20, 2017
* @copyright Copyright © 2017 Eddie Carle. This project is released under
* the GNU Lesser General Public License Version 3.
*/
/******************... | 31.958042 | 111 | 0.475274 | xujintao |
24395a7adb27e736c0472ad08e352db343f3e6c2 | 2,832 | cpp | C++ | stdshader_vulkan/src/shaders/ShaderParamNext.cpp | melvyn2/TF2Vulkan | a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4 | [
"MIT"
] | null | null | null | stdshader_vulkan/src/shaders/ShaderParamNext.cpp | melvyn2/TF2Vulkan | a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4 | [
"MIT"
] | null | null | null | stdshader_vulkan/src/shaders/ShaderParamNext.cpp | melvyn2/TF2Vulkan | a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4 | [
"MIT"
] | null | null | null | #include "ShaderParamNext.h"
using namespace TF2Vulkan;
using namespace TF2Vulkan::Shaders;
ShaderParamNext::ShaderParamNext(const char* name, ShaderParamType_t type,
const char* defaultVal, const char* help, int flags)
{
m_Info.m_pName = name;
m_Info.m_Type = type;
m_Info.m_pDefaultValue = defaultVal;
m_Info.m_... | 23.6 | 139 | 0.759181 | melvyn2 |
243d3825608d2ab307f4e99b9aa3b143963e9c5c | 7,997 | cpp | C++ | Attic/AtomicEditorReference/Source/AEEditor.cpp | honigbeutler123/AtomicGameEngine | c53425f19b216eb21ecd3bda85052aaa1a6f2aaa | [
"Apache-2.0",
"MIT"
] | null | null | null | Attic/AtomicEditorReference/Source/AEEditor.cpp | honigbeutler123/AtomicGameEngine | c53425f19b216eb21ecd3bda85052aaa1a6f2aaa | [
"Apache-2.0",
"MIT"
] | null | null | null | Attic/AtomicEditorReference/Source/AEEditor.cpp | honigbeutler123/AtomicGameEngine | c53425f19b216eb21ecd3bda85052aaa1a6f2aaa | [
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
// Please see LICENSE.md in repository root for license information
// https://github.com/AtomicGameEngine/AtomicGameEngine
#include "AtomicEditor.h"
#include <Atomic/Engine/Engine.h>
#include <Atomic/IO/FileSystem.h>
#include <Atomic/Resource/Res... | 23.112717 | 121 | 0.709516 | honigbeutler123 |
243e63871cfca3cf5c2c42d2bdcb9f3985742b21 | 1,966 | cpp | C++ | lab08/lab08es02/lab08es02/Source.cpp | MartinoMensio/SDP-Labs | 61c5bb66345f94578bc79bae777d7344b3bb60af | [
"MIT"
] | 1 | 2017-04-27T09:12:01.000Z | 2017-04-27T09:12:01.000Z | lab08/lab08es02/lab08es02/Source.cpp | MartinoMensio/SDP-Labs | 61c5bb66345f94578bc79bae777d7344b3bb60af | [
"MIT"
] | null | null | null | lab08/lab08es02/lab08es02/Source.cpp | MartinoMensio/SDP-Labs | 61c5bb66345f94578bc79bae777d7344b3bb60af | [
"MIT"
] | 4 | 2017-02-19T10:08:08.000Z | 2021-12-01T16:17:10.000Z | #ifndef UNICODE
#define UNICODE
#define _UNICODE
#endif // !UNICODE
#include <Windows.h>
#include <tchar.h>
#include <stdio.h>
#define STR_MAX_L 30+1 // extra 1 for \0
typedef struct _student {
INT id;
DWORD regNum;
TCHAR surname[STR_MAX_L];
TCHAR name[STR_MAX_L];
INT mark;
} student;
INT _tmain(INT argc, LPTS... | 25.868421 | 124 | 0.65412 | MartinoMensio |
244246f3f17d305ce8b5eccd1df4555821c16dea | 1,110 | cxx | C++ | StRoot/StHighptPool/StHiMicroEvent/StHiMicroTrack.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StHighptPool/StHiMicroEvent/StHiMicroTrack.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StHighptPool/StHiMicroEvent/StHiMicroTrack.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | /***************************************************************************
*
* $Id: StHiMicroTrack.cxx,v 1.2 2003/09/02 17:58:36 perev Exp $
*
* Author: Bum Choi, UT Austin, Apr 2002
*
**********************************************************************... | 25.227273 | 121 | 0.435135 | xiaohaijin |
24427cc6e7131c8fbbcd69b968f04cd7d8d82190 | 3,628 | cpp | C++ | libraries/Robot_Control/src/EasyTransfer2.cpp | Ropes/dawnpatrol | 257e413f9151459bcd34a315cf7ec6c676d5ef90 | [
"MIT"
] | 43 | 2015-05-22T20:07:36.000Z | 2022-02-23T04:28:23.000Z | libraries/Robot_Control/src/EasyTransfer2.cpp | Ropes/dawnpatrol | 257e413f9151459bcd34a315cf7ec6c676d5ef90 | [
"MIT"
] | 52 | 2015-01-02T05:50:10.000Z | 2021-07-23T20:34:50.000Z | libraries/Robot_Control/src/EasyTransfer2.cpp | Ropes/dawnpatrol | 257e413f9151459bcd34a315cf7ec6c676d5ef90 | [
"MIT"
] | 80 | 2015-09-28T09:47:00.000Z | 2020-02-04T16:04:04.000Z | #include "EasyTransfer2.h"
//Captures address and size of struct
void EasyTransfer2::begin(HardwareSerial *theSerial){
_serial = theSerial;
//dynamic creation of rx parsing buffer in RAM
//rx_buffer = (uint8_t*) malloc(size);
resetData();
}
void EasyTransfer2::writeByte(uint8_t dat){
if(position<20)
dat... | 23.868421 | 120 | 0.621279 | Ropes |
2445024a556486602814e457fd0048989d859f5f | 3,339 | hpp | C++ | Runtime/World/CStateMachine.hpp | henriquegemignani/urde | 78185e682e16c3e1b41294d92f2841357272acb2 | [
"MIT"
] | 1 | 2020-06-09T07:49:34.000Z | 2020-06-09T07:49:34.000Z | Runtime/World/CStateMachine.hpp | henriquegemignani/urde | 78185e682e16c3e1b41294d92f2841357272acb2 | [
"MIT"
] | 6 | 2020-06-09T07:49:45.000Z | 2021-04-06T22:19:57.000Z | Runtime/World/CStateMachine.hpp | henriquegemignani/urde | 78185e682e16c3e1b41294d92f2841357272acb2 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "Runtime/CToken.hpp"
#include "Runtime/GCNTypes.hpp"
#include "Runtime/IObj.hpp"
#include "Runtime/IObjFactory.hpp"
#include "Runtime/IOStreams.hpp"
#include "Runtime/World/CAiFuncMap.hpp"
namespace urde {
class CAiState;
class CStateManager;
class CAiTrigger {
CAiTriggerFu... | 27.595041 | 117 | 0.696017 | henriquegemignani |
244524dd3e5144860de38298b12ea2eacbb36b4e | 3,200 | cpp | C++ | 1project/story.cpp | rianders/2016IntroToProgramming | 0e24b2b58c5be2e4d40d3b31b83518c48df5804e | [
"Apache-2.0"
] | 3 | 2016-01-27T18:12:40.000Z | 2016-02-03T20:27:19.000Z | 1project/story.cpp | rianders/2016IntroToProgramming | 0e24b2b58c5be2e4d40d3b31b83518c48df5804e | [
"Apache-2.0"
] | 3 | 2016-03-21T02:18:52.000Z | 2016-03-21T03:02:51.000Z | 1project/story.cpp | rianders/2016IntroToProgramming | 0e24b2b58c5be2e4d40d3b31b83518c48df5804e | [
"Apache-2.0"
] | 16 | 2016-01-27T18:12:41.000Z | 2019-09-15T01:42:28.000Z | /*
* Hellow World Story. Modified from http://www.cplusplus.com/
* g++ story.cpp -o story.out
* ./story.out
*/
#include <iostream>
#include <string>
#include <stdlib.h>
using namespace std;
int main ()
{
int sentenceNumber;
string story;
string sent1; //sent1 stands for sentence1
string sent2;
string sen... | 22.535211 | 94 | 0.5575 | rianders |
2448fca4f87254ef6e8e0ac0a587990590b9dcea | 1,158 | cpp | C++ | src/helics/network/tcp/TcpCommsCommon.cpp | GMLC-TDC/HELICS-src | 5e37168bca0ea9e16b939e052e257182ca6e24bd | [
"BSD-3-Clause"
] | 31 | 2017-06-29T19:50:25.000Z | 2019-05-17T14:10:14.000Z | src/helics/network/tcp/TcpCommsCommon.cpp | GMLC-TDC/HELICS-src | 5e37168bca0ea9e16b939e052e257182ca6e24bd | [
"BSD-3-Clause"
] | 511 | 2017-08-18T02:14:00.000Z | 2019-06-18T20:11:02.000Z | src/helics/network/tcp/TcpCommsCommon.cpp | GMLC-TDC/HELICS-src | 5e37168bca0ea9e16b939e052e257182ca6e24bd | [
"BSD-3-Clause"
] | 11 | 2017-10-27T15:03:37.000Z | 2019-05-03T19:35:14.000Z | /*
Copyright (c) 2017-2022,
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
*/
#include "TcpCommsCommon.h"
#include "../../core/ActionMessage.hpp"
#... | 31.297297 | 97 | 0.6019 | GMLC-TDC |
244f3d7cd571a12cf8cebd447290762048ce5a6d | 2,131 | cpp | C++ | Rare Topics/Rare Algorithms/Sliding Window/Smallest Sub-Array.cpp | satvik007/uva | 72a763f7ed46a34abfcf23891300d68581adeb44 | [
"MIT"
] | 3 | 2017-08-12T06:09:39.000Z | 2018-09-16T02:31:27.000Z | Rare Topics/Rare Algorithms/Sliding Window/Smallest Sub-Array.cpp | satvik007/uva | 72a763f7ed46a34abfcf23891300d68581adeb44 | [
"MIT"
] | null | null | null | Rare Topics/Rare Algorithms/Sliding Window/Smallest Sub-Array.cpp | satvik007/uva | 72a763f7ed46a34abfcf23891300d68581adeb44 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector <int> vi;
#define maxn 1000010
int tc, n, m, k;
int a[maxn];
unordered_map <int, int> map1;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
freopen("in.txt", "r", stdin);
freopen("out.txt", "w", stdout);... | 28.039474 | 61 | 0.313468 | satvik007 |
244fe5f01a171799007c4864dc98f73f94950097 | 2,500 | cc | C++ | Ohm/Features/Glow.cc | ramadan8/Ohm | fe9dbbdc40dc4c85a2cb2d033627673cd72ade39 | [
"MIT"
] | 1 | 2021-07-28T11:30:14.000Z | 2021-07-28T11:30:14.000Z | Ohm/Features/Glow.cc | ramadan8/Ohm | fe9dbbdc40dc4c85a2cb2d033627673cd72ade39 | [
"MIT"
] | 1 | 2021-07-26T01:36:58.000Z | 2021-07-27T14:45:21.000Z | Ohm/Features/Glow.cc | ramadan8/Ohm | fe9dbbdc40dc4c85a2cb2d033627673cd72ade39 | [
"MIT"
] | 1 | 2021-09-11T07:43:53.000Z | 2021-09-11T07:43:53.000Z | #include "./Glow.h"
#include "../Config.h"
#include "../Memory.h"
#include "../GUI/Colors.h"
#include "../Utility/Utilities.h"
#include "../SDK/Class/CGlowObjectManager.h"
#include "../SDK/Entities/CBasePlayer.h"
void Glow::Shutdown() {
for (int idx = 0; idx < memory->GlowObjectManager->glowObjectDefinitions.Cou... | 25 | 93 | 0.6868 | ramadan8 |
24551b764cfdfd9ba0c8938706818eec81a7642e | 897 | cpp | C++ | cpp/G3M/BufferDEMGrid.cpp | glob3mobile/g3m | 2b2c6422f05d13e0855b1dbe4e0afed241184193 | [
"BSD-2-Clause"
] | 70 | 2015-02-06T14:39:14.000Z | 2022-01-07T08:32:48.000Z | cpp/G3M/BufferDEMGrid.cpp | glob3mobile/g3m | 2b2c6422f05d13e0855b1dbe4e0afed241184193 | [
"BSD-2-Clause"
] | 118 | 2015-01-21T10:18:00.000Z | 2018-10-16T15:00:57.000Z | cpp/G3M/BufferDEMGrid.cpp | glob3mobile/g3m | 2b2c6422f05d13e0855b1dbe4e0afed241184193 | [
"BSD-2-Clause"
] | 41 | 2015-01-10T22:29:27.000Z | 2021-06-08T11:56:16.000Z | //
// BufferDEMGrid.cpp
// G3M
//
// Created by Diego Gomez Deck on 10/5/16.
//
//
#include "BufferDEMGrid.hpp"
#include "Projection.hpp"
BufferDEMGrid::BufferDEMGrid(const Projection* projection,
const Sector& sector,
const Vector2I& extent,
... | 21.357143 | 58 | 0.637681 | glob3mobile |
24564f013a7c3797901041ff9ab50bf31168d7b0 | 2,334 | hpp | C++ | aagent/src/strategies/include/PerfDynamicsAnalysis.hpp | robert-mijakovic/readex-ptf | 5514b0545721ef27de0426a7fa0116d2e0bb5eef | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2022-03-10T09:59:37.000Z | 2022-03-10T09:59:37.000Z | aagent/src/strategies/include/PerfDynamicsAnalysis.hpp | robert-mijakovic/readex-ptf | 5514b0545721ef27de0426a7fa0116d2e0bb5eef | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2020-04-21T07:57:32.000Z | 2020-10-14T08:05:41.000Z | aagent/src/strategies/include/PerfDynamicsAnalysis.hpp | robert-mijakovic/readex-ptf | 5514b0545721ef27de0426a7fa0116d2e0bb5eef | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-20T03:04:32.000Z | 2020-11-20T03:04:32.000Z | /**
@file PerfDynamicsAnalysis.hpp
@ingroup PerfDynamicsAnalysis
@brief Performance Dynamics Analysis strategy header
@author Yury Oleynik
@verbatim
Revision: $Revision$
Revision date: Dec 10, 2013
Committed by: $Author$
This file is part of the Periscope performance measu... | 25.648352 | 108 | 0.67138 | robert-mijakovic |
2456904637077b7beca5a33258ddebda06368bb7 | 3,662 | cpp | C++ | Samples/WindowsAudioSession/cpp/Scenario1.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,504 | 2019-05-07T06:56:42.000Z | 2022-03-31T19:37:59.000Z | Samples/WindowsAudioSession/cpp/Scenario1.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 314 | 2019-05-08T16:56:30.000Z | 2022-03-21T07:13:45.000Z | Samples/WindowsAudioSession/cpp/Scenario1.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,219 | 2019-05-07T00:47:26.000Z | 2022-03-30T21:12:31.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGE... | 31.299145 | 130 | 0.676406 | dujianxin |
245be162126af321cd1856d8ec3b2f29f4825d6c | 6,020 | cpp | C++ | src/fuselage/CCPACSPressureBulkheadAssemblyPosition.cpp | pputin/tigl | 886b723bdd753c0ebe05d22b44c2c5a4c8d323bb | [
"Apache-2.0"
] | null | null | null | src/fuselage/CCPACSPressureBulkheadAssemblyPosition.cpp | pputin/tigl | 886b723bdd753c0ebe05d22b44c2c5a4c8d323bb | [
"Apache-2.0"
] | null | null | null | src/fuselage/CCPACSPressureBulkheadAssemblyPosition.cpp | pputin/tigl | 886b723bdd753c0ebe05d22b44c2c5a4c8d323bb | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018 Airbus Defence and Space and RISC Software GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 35.833333 | 131 | 0.699169 | pputin |
245fa41b101f0d31bfc3d67c8369825cba367b7f | 6,393 | cpp | C++ | src/VulkanCommandManager.cpp | saucisse-royale/kudasai | fadf6786ad28a15a93dcae6228bc352ce46ffc0c | [
"MIT"
] | null | null | null | src/VulkanCommandManager.cpp | saucisse-royale/kudasai | fadf6786ad28a15a93dcae6228bc352ce46ffc0c | [
"MIT"
] | null | null | null | src/VulkanCommandManager.cpp | saucisse-royale/kudasai | fadf6786ad28a15a93dcae6228bc352ce46ffc0c | [
"MIT"
] | null | null | null | #include "VulkanCommandManager.hpp"
#include "VulkanContext.hpp"
#include "VulkanHelper.hpp"
#include <iostream>
#include <limits>
namespace kds {
VulkanCommandManager::VulkanCommandManager(VulkanContext* vulkanContext) noexcept
: _vulkanContext{ vulkanContext }
, _graphicsCommandPool{ vkDestroyCommandPool, ... | 46.326087 | 203 | 0.785547 | saucisse-royale |
24600d0163aff7ae167f27437ee6f71e84f9e2e8 | 6,244 | cxx | C++ | sprokit/processes/core/initialize_object_tracks_process.cxx | judajake/kwiver | 303a11ebb43c020ab8e48b6ef70407b460dba46b | [
"BSD-3-Clause"
] | null | null | null | sprokit/processes/core/initialize_object_tracks_process.cxx | judajake/kwiver | 303a11ebb43c020ab8e48b6ef70407b460dba46b | [
"BSD-3-Clause"
] | null | null | null | sprokit/processes/core/initialize_object_tracks_process.cxx | judajake/kwiver | 303a11ebb43c020ab8e48b6ef70407b460dba46b | [
"BSD-3-Clause"
] | null | null | null | /*ckwg +29
* Copyright 2017 by Kitware, 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:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of... | 29.45283 | 81 | 0.675048 | judajake |