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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ca34c6e25ddb861899315dc3f74f68c115c9a741 | 32,625 | cc | C++ | Alignment/CocoaUtilities/src/ALIUtils.cc | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 2 | 2020-01-21T11:23:39.000Z | 2020-01-21T11:23:42.000Z | Alignment/CocoaUtilities/src/ALIUtils.cc | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 26 | 2018-10-30T12:47:58.000Z | 2022-03-29T08:39:00.000Z | Alignment/CocoaUtilities/src/ALIUtils.cc | p2l1pfp/cmssw | 9bda22bf33ecf18dd19a3af2b3a8cbdb1de556a9 | [
"Apache-2.0"
] | 3 | 2019-03-09T13:06:43.000Z | 2020-07-03T00:47:30.000Z | // COCOA class implementation file
//Id: ALIUtils.cc
//CAT: ALIUtils
//
// History: v1.0
// Pedro Arce
#include "Alignment/CocoaUtilities/interface/ALIUtils.h"
#include "Alignment/CocoaUtilities/interface/GlobalOptionMgr.h"
#include <cmath>
#include <cstdlib>
#include <iomanip>
ALIint ALIUtils::... | 39.402174 | 182 | 0.511632 | gputtley |
ca35cd098258ace8c8383de3230cdfcaecfa1193 | 3,847 | hpp | C++ | stapl_release/stapl/containers/distribution/map_metadata.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/containers/distribution/map_metadata.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/containers/distribution/map_metadata.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | /*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... | 34.657658 | 79 | 0.625422 | parasol-ppl |
ca360ecf778f3a531c706dd39105f1e5f08c6be8 | 20 | cpp | C++ | lib/threads/event.cpp | ashcharles/openset | 51dc29b9dffdb745a24e01a9e4d86c79d2ff20d6 | [
"MIT"
] | 18 | 2017-09-28T16:46:27.000Z | 2022-03-13T19:32:04.000Z | lib/threads/event.cpp | perple-io/openset | 201ee4a6247b6cce369885e05794e7dd3e8b8508 | [
"MIT"
] | 14 | 2017-10-05T13:40:48.000Z | 2019-10-18T15:44:44.000Z | lib/threads/event.cpp | perple-io/openset | 201ee4a6247b6cce369885e05794e7dd3e8b8508 | [
"MIT"
] | 4 | 2017-12-07T22:34:10.000Z | 2021-07-17T00:19:43.000Z | #include "event.h"
| 10 | 19 | 0.65 | ashcharles |
ca3655bb3d549aaa22baf73498a48a3fa13b99a9 | 2,233 | cpp | C++ | examples/tsp/src/tsp/tsp_instance.cpp | luishpmendes/ns-brkga | 61b3ec35ea4276359b1baa7c0f6c92087c4f8d3b | [
"MIT"
] | 11 | 2019-11-25T17:34:40.000Z | 2021-12-25T16:31:48.000Z | examples/tsp/src/tsp/tsp_instance.cpp | luishpmendes/ns-brkga | 61b3ec35ea4276359b1baa7c0f6c92087c4f8d3b | [
"MIT"
] | 3 | 2020-04-22T15:53:50.000Z | 2021-12-17T21:28:55.000Z | examples/tsp/src/tsp/tsp_instance.cpp | luishpmendes/ns-brkga | 61b3ec35ea4276359b1baa7c0f6c92087c4f8d3b | [
"MIT"
] | 7 | 2020-05-20T17:05:04.000Z | 2021-12-13T17:41:56.000Z | /******************************************************************************
* tsp_instance.cpp: Implementation for TSP_Instance class.
*
* (c) Copyright 2015-2019, Carlos Eduardo de Andrade.
* All Rights Reserved.
*
* Created on : Mar 05, 2019 by andrade
* Last update: Mar 05, 2019 by andrade
*
* This co... | 36.606557 | 80 | 0.596059 | luishpmendes |
ca37ed05ba42645e28e8b89162b3eca996b386f1 | 10,338 | hxx | C++ | Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModel.hxx | heralex/OTB | c52b504b64dc89c8fe9cac8af39b8067ca2c3a57 | [
"Apache-2.0"
] | 317 | 2015-01-19T08:40:58.000Z | 2022-03-17T11:55:48.000Z | Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModel.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 18 | 2015-07-29T14:13:45.000Z | 2021-03-29T12:36:24.000Z | Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModel.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 132 | 2015-02-21T23:57:25.000Z | 2022-03-25T16:03:16.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 32.30625 | 157 | 0.671697 | heralex |
ca3906359b23d981bcf6b446dc1fe368b6b4eada | 3,562 | cpp | C++ | Tools/Base64.cpp | xuyuanwang1993/p2p_work_on_kcp | 9f4081cdeee6550c3295215a123ecffd13128dac | [
"MIT"
] | 13 | 2019-09-19T01:04:00.000Z | 2022-02-24T08:26:25.000Z | Tools/Base64.cpp | xuyuanwang1993/p2p_work_on_kcp | 9f4081cdeee6550c3295215a123ecffd13128dac | [
"MIT"
] | 2 | 2019-10-16T12:57:29.000Z | 2019-11-08T12:07:43.000Z | Tools/Base64.cpp | xuyuanwang1993/p2p_work_on_kcp | 9f4081cdeee6550c3295215a123ecffd13128dac | [
"MIT"
] | 5 | 2019-10-16T12:45:20.000Z | 2022-01-19T15:03:36.000Z | #include "Base64.h"
#include <mutex>
#include <iostream>
using namespace std;
using namespace sensor_tool;
std::string sensor_tool::base64Encode(const std::string & origin_string)
{
static const char base64Char[] ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
std::string ret("");
if(or... | 42.404762 | 294 | 0.603593 | xuyuanwang1993 |
ca3b9d371d21cdaedc67cb308df11838ca4cac95 | 4,649 | hpp | C++ | Externals/Boost/boost/numeric/odeint/iterator/impl/adaptive_time_iterator_controlled_impl.hpp | MINATILO/packing-generation | 4d4f5d037e0687b57178602b989431e82a5c8b96 | [
"MIT"
] | 79 | 2015-08-23T12:05:30.000Z | 2022-03-31T16:39:56.000Z | Externals/Boost/boost/numeric/odeint/iterator/impl/adaptive_time_iterator_controlled_impl.hpp | MINATILO/packing-generation | 4d4f5d037e0687b57178602b989431e82a5c8b96 | [
"MIT"
] | 31 | 2015-07-20T17:57:08.000Z | 2022-03-02T10:31:50.000Z | Externals/Boost/boost/numeric/odeint/iterator/impl/adaptive_time_iterator_controlled_impl.hpp | MINATILO/packing-generation | 4d4f5d037e0687b57178602b989431e82a5c8b96 | [
"MIT"
] | 36 | 2015-10-14T02:43:16.000Z | 2022-03-18T12:51:03.000Z | /*
[auto_generated]
boost/numeric/odeint/iterator/detail/adaptive_time_iterator_controlled_impl.hpp
[begin_description]
tba.
[end_description]
Copyright 2009-2012 Karsten Ahnert
Copyright 2009-2012 Mario Mulansky
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICE... | 38.106557 | 145 | 0.678856 | MINATILO |
ca3ea5838e7403cb98c2bf2326214e7d9c5990b2 | 666 | hpp | C++ | modules/scene_manager/include/rcl_interfaces/srv/get_parameters__struct.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2020-05-19T14:33:49.000Z | 2020-05-19T14:33:49.000Z | ros2_mod_ws/install/include/rcl_interfaces/srv/get_parameters__struct.hpp | mintforpeople/robobo-ros2-ios-port | 1a5650304bd41060925ebba41d6c861d5062bfae | [
"Apache-2.0"
] | 3 | 2019-11-14T12:20:06.000Z | 2020-08-07T13:51:10.000Z | modules/scene_manager/include/rcl_interfaces/srv/get_parameters__struct.hpp | Omnirobotic/godot | d50b5d047bbf6c68fc458c1ad097321ca627185d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | // generated from rosidl_generator_cpp/resource/srv__struct.hpp.em
// generated code does not contain a copyright notice
#ifndef RCL_INTERFACES__SRV__GET_PARAMETERS__STRUCT_HPP_
#define RCL_INTERFACES__SRV__GET_PARAMETERS__STRUCT_HPP_
#include "rcl_interfaces/srv/get_parameters__request.hpp"
#include "rcl_interfaces/... | 24.666667 | 66 | 0.83033 | Omnirobotic |
ca41bb0c2d80b5b3c21572c535cc09784b7bfccc | 7,477 | cc | C++ | Geometry/HGCalCommonData/src/HGCalParameters.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Geometry/HGCalCommonData/src/HGCalParameters.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Geometry/HGCalCommonData/src/HGCalParameters.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "Geometry/HGCalCommonData/interface/HGCalParameters.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/HGCalCommonData/interface/HGCalWaferIndex.h"
//#define EDM_ML_DEBUG
HGCalParameters::HGCalParameters(const std::string& nam) : name_(nam), nCells_(0), waferMaskMode_(0) {
#ifdef... | 43.47093 | 120 | 0.547813 | ckamtsikis |
ca4561089a60eae8772f3015894f365b5a63d25f | 3,044 | cpp | C++ | PhotoSynthViewer/src/DynamicLines.cpp | dddExperiments/PhotoSynthToolkit | 4f81577ca347c30c9c142bad2e6edc278e38a4ca | [
"Unlicense",
"MIT"
] | 17 | 2015-02-10T17:44:42.000Z | 2021-07-13T01:07:37.000Z | PhotoSynthViewer/src/DynamicLines.cpp | Acidburn0zzz/PhotoSynthToolkit | 4f81577ca347c30c9c142bad2e6edc278e38a4ca | [
"Unlicense",
"MIT"
] | null | null | null | PhotoSynthViewer/src/DynamicLines.cpp | Acidburn0zzz/PhotoSynthToolkit | 4f81577ca347c30c9c142bad2e6edc278e38a4ca | [
"Unlicense",
"MIT"
] | 11 | 2015-01-15T04:21:40.000Z | 2017-06-12T09:24:47.000Z | ////http://www.ogre3d.org/tikiwiki/DynamicLineDrawing
#include "DynamicLines.h"
#include <Ogre.h>
#include <cassert>
#include <cmath>
using namespace Ogre;
enum {
POSITION_BINDING,
TEXCOORD_BINDING
};
DynamicLines::DynamicLines(OperationType opType)
{
initialize(opType,false);
setMaterial("BaseWhiteNoLig... | 21.138889 | 76 | 0.676084 | dddExperiments |
ca47311ad3f0177055e82ffce67aab26f62f4ec4 | 11,578 | hpp | C++ | simcore/simulation/library/default_params.hpp | lamsoa729/simcore | daf7056cb0c17563ed0f6bdee343fa1f6cd59729 | [
"MIT"
] | null | null | null | simcore/simulation/library/default_params.hpp | lamsoa729/simcore | daf7056cb0c17563ed0f6bdee343fa1f6cd59729 | [
"MIT"
] | null | null | null | simcore/simulation/library/default_params.hpp | lamsoa729/simcore | daf7056cb0c17563ed0f6bdee343fa1f6cd59729 | [
"MIT"
] | null | null | null | YAML::Node default_config;
default_config["species"]["num"] = "0";
default_config["species"]["insertion_type"] = "random";
default_config["species"]["insert_file"] = "none";
default_config["species"]["overlap"] = "0";
default_config["species"]["draw_type"] = "orientation";
default_config["species"]["color... | 50.121212 | 70 | 0.687856 | lamsoa729 |
ca476e6a035c65f65acd00770f2efc24acfec253 | 10,417 | cpp | C++ | fileIO.cpp | CherryPill/tex_edit | 6a0287f892068a44e60bd67d60a4b4272bbc3c60 | [
"MIT"
] | null | null | null | fileIO.cpp | CherryPill/tex_edit | 6a0287f892068a44e60bd67d60a4b4272bbc3c60 | [
"MIT"
] | null | null | null | fileIO.cpp | CherryPill/tex_edit | 6a0287f892068a44e60bd67d60a4b4272bbc3c60 | [
"MIT"
] | null | null | null | #include <windows.h>
#include <tchar.h>
#include <commctrl.h>
#include <richedit.h>
#include <iostream>
#include <string>
#include <atlstr.h>
#include <cassert>
#include "appconst.h"
#include "toolbarControl.h"
#include "statusControl.h"
#include "mainWindowProc.h"
#include "menuids.h"
#include "mainPrefs.h"
#include "... | 25.657635 | 131 | 0.690698 | CherryPill |
ca4a77a1b2da371aac972238280ae172be951a37 | 3,487 | cc | C++ | src/algorithms/OnlinePolicyGradient.cc | olethrosdc/beliefbox | 44c0c160732b875f294a3f6d7f27e8f4cdf9602c | [
"OLDAP-2.3"
] | 4 | 2015-12-02T23:16:44.000Z | 2018-01-07T10:54:36.000Z | src/algorithms/OnlinePolicyGradient.cc | olethrosdc/beliefbox | 44c0c160732b875f294a3f6d7f27e8f4cdf9602c | [
"OLDAP-2.3"
] | 2 | 2015-12-02T19:47:57.000Z | 2018-10-14T13:08:40.000Z | src/algorithms/OnlinePolicyGradient.cc | olethrosdc/beliefbox | 44c0c160732b875f294a3f6d7f27e8f4cdf9602c | [
"OLDAP-2.3"
] | 4 | 2018-01-14T14:23:18.000Z | 2018-10-29T12:46:41.000Z | #include "OnlinePolicyGradient.h"
PolicyGradientActorCritic::PolicyGradientActorCritic(int n_states_, int n_actions_, real gamma_, real step_size_) :
n_states(n_states_),
n_actions(n_actions_),
gamma(gamma_),
step_size(step_size_),
critic(n_states, n_actions, gamma, 0.0, step_size),
policy(n_states, n_actions),
... | 25.82963 | 122 | 0.691999 | olethrosdc |
ca4bc3210a0c2809539eaa960265b4e58b30bac2 | 1,386 | cpp | C++ | shared/source/os_interface/windows/os_time_win.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 778 | 2017-09-29T20:02:43.000Z | 2022-03-31T15:35:28.000Z | shared/source/os_interface/windows/os_time_win.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 478 | 2018-01-26T16:06:45.000Z | 2022-03-30T10:19:10.000Z | shared/source/os_interface/windows/os_time_win.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 215 | 2018-01-30T08:39:32.000Z | 2022-03-29T11:08:51.000Z | /*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/windows/os_time_win.h"
#include "shared/source/os_interface/windows/device_time_wddm.h"
#include "shared/source/os_interface/windows/wddm/wddm.h"
#include <memory>
#undef WIN32_NO_STATUS
n... | 26.653846 | 104 | 0.731602 | troels |
ca4d642184c5ad7b58e45fc1fe56cc8a443739d8 | 8,778 | hpp | C++ | Source/AllProjects/GraphicUtils/CIDGraphDev/CIDGraphDev_ImgCacheItem.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/GraphicUtils/CIDGraphDev/CIDGraphDev_ImgCacheItem.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/GraphicUtils/CIDGraphDev/CIDGraphDev_ImgCacheItem.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDCtrls_ImgCacheItem.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 10/28/2005
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://ope... | 33.632184 | 91 | 0.460355 | MarkStega |
ca4e4af46741270dc90b75dead61f1b5a9950d97 | 1,869 | hh | C++ | dev/g++/projects/embedded/libhal/hardwares/raspberry_pi/include/digital_out.hh | YannGarcia/repo | 0f3de24c71d942c752ada03c10861e83853fdf71 | [
"MIT"
] | null | null | null | dev/g++/projects/embedded/libhal/hardwares/raspberry_pi/include/digital_out.hh | YannGarcia/repo | 0f3de24c71d942c752ada03c10861e83853fdf71 | [
"MIT"
] | null | null | null | dev/g++/projects/embedded/libhal/hardwares/raspberry_pi/include/digital_out.hh | YannGarcia/repo | 0f3de24c71d942c752ada03c10861e83853fdf71 | [
"MIT"
] | 1 | 2017-01-27T12:53:50.000Z | 2017-01-27T12:53:50.000Z | /*!
* \file digital_out.hpp
* \brief Header file for digital out gpio state.
* \author garciay.yann@gmail.com
* \copyright Copyright (c) 2015 ygarcia. All rights reserved
* \license This project is released under the MIT License
* \version 0.1
*/
#pragma once
#include "libhal.h"
/*!
* \class digital_out
... | 31.15 | 147 | 0.686998 | YannGarcia |
ca4ecd2046f969b2cd2bca17a94de63611e72c21 | 629 | cpp | C++ | Advance/weakPointer.cpp | iarjunphp/CPP-Learning | 4946f861cb3f57da2b0beba07a206fafe261aaf4 | [
"MIT"
] | 77 | 2019-10-28T05:38:51.000Z | 2022-03-15T01:53:48.000Z | Advance/weakPointer.cpp | iarjunphp/CPP-Learning | 4946f861cb3f57da2b0beba07a206fafe261aaf4 | [
"MIT"
] | 3 | 2019-12-26T15:39:55.000Z | 2020-10-29T14:55:50.000Z | Advance/weakPointer.cpp | iarjunphp/CPP-Learning | 4946f861cb3f57da2b0beba07a206fafe261aaf4 | [
"MIT"
] | 24 | 2020-01-08T04:12:52.000Z | 2022-03-12T22:26:07.000Z | //Memory get free as scope ends and this pointers can have copy of them.
#include<iostream>
#include<memory>
using namespace std;
class User{
public:
User(){
cout<<"User Created\n";
}
~User(){
cout<<"User Destroyed\n";
}
void testFunc(){
cout<<"I am a test function\n";
... | 18.5 | 80 | 0.562798 | iarjunphp |
ca4ee9f21cccb988fd077c31a422a7e49c029121 | 1,656 | cpp | C++ | Edgyne/ResourceShaderProgram.cpp | AWDaM/Edgyne | e2c9d01efc3dd50e41f7cc31c407baa44ea77560 | [
"MIT"
] | 1 | 2019-02-07T12:11:21.000Z | 2019-02-07T12:11:21.000Z | Edgyne/ResourceShaderProgram.cpp | MaxitoSama/Edgyne | e2c9d01efc3dd50e41f7cc31c407baa44ea77560 | [
"MIT"
] | null | null | null | Edgyne/ResourceShaderProgram.cpp | MaxitoSama/Edgyne | e2c9d01efc3dd50e41f7cc31c407baa44ea77560 | [
"MIT"
] | 1 | 2019-02-04T16:08:36.000Z | 2019-02-04T16:08:36.000Z | #include "ResourceShaderProgram.h"
#include "Application.h"
#include "ModuleShaders.h"
#include "JSONManager.h"
ResourceShaderProgram::ResourceShaderProgram() : Resource(RES_SHADER)
{
}
ResourceShaderProgram::ResourceShaderProgram(std::string& file) : Resource(RES_SHADER, file)
{
}
ResourceShaderProgram::~Resour... | 22.684932 | 101 | 0.705314 | AWDaM |
ca50210d620fbafe1195d40dbe1befc2c9b9bc34 | 4,235 | cc | C++ | mojo/public/cpp/bindings/lib/buffer.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | mojo/public/cpp/bindings/lib/buffer.cc | blueboxd/chromium-legacy | 07223bc94bd97499909c9ed3c3f5769d718fe2e0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | mojo/public/cpp/bindings/lib/buffer.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mojo/public/cpp/bindings/lib/buffer.h"
#include <cstring>
#include "base/check_op.h"
#include "base/notreached.h"
#include "base/numerics/safe... | 29.823944 | 80 | 0.701299 | Yannic |
ca50ce561027673aaa46a0e358f312825d6f635a | 281 | cc | C++ | writing-concepts/type_simple.cc | HappyCerberus/article-cpp20-concepts | 986934bc91727dd8874a318822b5497dfa734d01 | [
"MIT"
] | 3 | 2021-09-17T06:29:40.000Z | 2022-03-21T08:33:35.000Z | writing-concepts/type_simple.cc | HappyCerberus/article-cpp20-concepts | 986934bc91727dd8874a318822b5497dfa734d01 | [
"MIT"
] | null | null | null | writing-concepts/type_simple.cc | HappyCerberus/article-cpp20-concepts | 986934bc91727dd8874a318822b5497dfa734d01 | [
"MIT"
] | null | null | null | #include <concepts>
template <typename T>
concept type_test = requires {
typename T::ElementType; // ElementType member type must exist
};
void function(type_test auto x) {}
struct X { using ElementType = int; };
int main() {
function(X{}); // OK
function(1); // Fails
}
| 17.5625 | 66 | 0.676157 | HappyCerberus |
ca53b5af6362ccb1835d4e7855d0d6c78abc5a1d | 4,886 | cc | C++ | deadeye/src/deadeye.cc | strykeforce/steamworks | 00083c9378191aaeaab3a5c94c3c47738dcc1431 | [
"MIT"
] | null | null | null | deadeye/src/deadeye.cc | strykeforce/steamworks | 00083c9378191aaeaab3a5c94c3c47738dcc1431 | [
"MIT"
] | null | null | null | deadeye/src/deadeye.cc | strykeforce/steamworks | 00083c9378191aaeaab3a5c94c3c47738dcc1431 | [
"MIT"
] | null | null | null | #include "deadeye.h"
#include <chrono>
#include <thread>
using namespace deadeye;
namespace {
constexpr auto NTGT_SLEEP_MS = std::chrono::milliseconds(10);
}
Deadeye::Deadeye(std::shared_ptr<cpptoml::table> config)
: logger_(spdlog::get("deadeye")),
link_(config),
boiler_camera_(config),
gear_... | 24.80203 | 80 | 0.667826 | strykeforce |
ca5881fba3802ac4ba98016c3240c8399cc9dd2e | 1,341 | cpp | C++ | clang/test/CodeGen/xray-attributes-noxray-supported.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 305 | 2019-09-14T17:16:05.000Z | 2022-03-31T15:05:20.000Z | clang/test/CodeGen/xray-attributes-noxray-supported.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 14 | 2020-02-03T23:39:51.000Z | 2021-07-20T16:24:25.000Z | clang/test/CodeGen/xray-attributes-noxray-supported.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 24 | 2019-10-03T11:22:11.000Z | 2022-01-25T09:59:30.000Z | // We want to ensure that the "never instrument" attributes show up even if we
// explicitly turn off XRay instrumentation.
//
/// -fno-xray-instrument is the default. It does not produce a CC1 option.
// RUN: %clang_cc1 %s -std=c++11 -x c++ -emit-llvm -o - \
// RUN: -triple x86_64-unknown-linux-gnu | FileCheck %s
... | 43.258065 | 78 | 0.62789 | medismailben |
3ed13b1c9bb29b80e0cba4dc9cd4c777bf9e4993 | 3,942 | cpp | C++ | CLRS/BinaryTree/VerticalOrderTraversalofaBinaryTree.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/BinaryTree/VerticalOrderTraversalofaBinaryTree.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/BinaryTree/VerticalOrderTraversalofaBinaryTree.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | /*
Given the root of a binary tree, calculate the vertical order traversal of the binary tree.
For each node at position (row, col), its left and right children will be at positions (row + 1, col - 1) and (row + 1, col + 1) respectively. The root of the tree is at (0, 0).
The vertical order traversal of a binary tree... | 32.85 | 285 | 0.567732 | ComputerProgrammerStorager |
3ed2d85ac6c2faae68b56853b75323c487a384f8 | 8,578 | cpp | C++ | firmware-usbhost/common/http/test/HttpRequestParserTest.cpp | Zzzzipper/cppprojects | e9c9b62ca1e411320c24a3d168cab259fa2590d3 | [
"MIT"
] | null | null | null | firmware-usbhost/common/http/test/HttpRequestParserTest.cpp | Zzzzipper/cppprojects | e9c9b62ca1e411320c24a3d168cab259fa2590d3 | [
"MIT"
] | 1 | 2021-09-03T13:03:20.000Z | 2021-09-03T13:03:20.000Z | firmware-usbhost/common/http/test/HttpRequestParserTest.cpp | Zzzzipper/cppprojects | e9c9b62ca1e411320c24a3d168cab259fa2590d3 | [
"MIT"
] | null | null | null | #include "test/include/Test.h"
#include "http/HttpRequestParser.h"
#include "logger/include/Logger.h"
namespace Http {
class RequestParserTest : public TestSet {
public:
RequestParserTest();
bool testOK();
bool testBrokenHeader();
bool testCuttedData();
};
TEST_SET_REGISTER(Http::RequestParserTest);
RequestPars... | 35.593361 | 140 | 0.74283 | Zzzzipper |
3ed2eb204e2073743d504a19a840d0dc62dbf63c | 2,715 | hpp | C++ | src/time/clocks.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2020-07-31T14:13:56.000Z | 2021-02-03T09:51:43.000Z | src/time/clocks.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 28 | 2015-09-22T07:38:21.000Z | 2018-10-02T11:00:58.000Z | src/time/clocks.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2018-10-11T14:10:50.000Z | 2021-02-27T08:53:50.000Z | #ifndef CLOCKS_HPP
#define CLOCKS_HPP
#include <chrono>
#include <iomanip>
#include <ratio>
#include <thread>
#include <iostream>
// http://www.modernescpp.com/index.php/the-three-clocks
using namespace std::chrono_literals;
namespace Time {
void GetCurrentTime() {
// Get time as time_point
auto systemNow ... | 29.193548 | 77 | 0.586372 | iamantony |
3ed725ac4b32401f87bd86a1995073255f51c22c | 3,231 | cpp | C++ | robot_challenge/lib/Robot/Robot.cpp | matheusns/Oficina_RAS | 2bc685a920b1f2424b5d47f36f996019e836800e | [
"BSD-3-Clause"
] | null | null | null | robot_challenge/lib/Robot/Robot.cpp | matheusns/Oficina_RAS | 2bc685a920b1f2424b5d47f36f996019e836800e | [
"BSD-3-Clause"
] | null | null | null | robot_challenge/lib/Robot/Robot.cpp | matheusns/Oficina_RAS | 2bc685a920b1f2424b5d47f36f996019e836800e | [
"BSD-3-Clause"
] | null | null | null | #include <Robot.hpp>
namespace ras
{
Robot::Robot(PinName front_sensor_pin, PinName right_sensor_pin, PinName left_sensor_pin)
: serial_monitor_(USBTX, USBRX)
, right_motor_(NULL)
, left_motor_(NULL)
, front_sensor_(front_sensor_pin)
, left_sensor_(left_sensor_pin)
, right_sensor_(right_sensor_... | 24.853846 | 89 | 0.616837 | matheusns |
3ed9a6c408dc734a8c3d629d808faf7a0e5410e7 | 6,784 | hpp | C++ | include/cpp_mould/constexpr_driver.hpp | HeroicKatora/mould | d6f39f76f092197e950c4abf18af3a6bb4945fab | [
"BSD-3-Clause"
] | 3 | 2018-03-04T12:46:10.000Z | 2021-08-06T00:09:59.000Z | include/cpp_mould/constexpr_driver.hpp | HeroicKatora/mould | d6f39f76f092197e950c4abf18af3a6bb4945fab | [
"BSD-3-Clause"
] | null | null | null | include/cpp_mould/constexpr_driver.hpp | HeroicKatora/mould | d6f39f76f092197e950c4abf18af3a6bb4945fab | [
"BSD-3-Clause"
] | null | null | null | #ifndef CPP_MOULD_CONSTEXPR_DRIVER_HPP
#define CPP_MOULD_CONSTEXPR_DRIVER_HPP
#include <tuple>
#include "argument.hpp"
#include "engine.hpp"
#include "format.hpp"
#include "format_info.hpp"
namespace mould::internal::constexpr_driver {
/* Resolved expression representation */
template<size_t N>
struct Expression... | 32 | 113 | 0.684404 | HeroicKatora |
3edad376fe6ad405aeab29ef53b9fd59f1f1f3ca | 5,462 | cpp | C++ | src/xrGame/ui/UIInventoryUpgradeWnd_add.cpp | acidicMercury8/xray-1.5 | ae094d82b76a8ce916e196654c163894bbf00146 | [
"Linux-OpenIB"
] | 5 | 2021-10-30T09:36:07.000Z | 2021-12-30T08:14:32.000Z | src/xrGame/ui/UIInventoryUpgradeWnd_add.cpp | Samsuper12/ixray-1.5 | 8070f833f8216d4ead294a9f19b7cd123bb76ba3 | [
"Linux-OpenIB"
] | null | null | null | src/xrGame/ui/UIInventoryUpgradeWnd_add.cpp | Samsuper12/ixray-1.5 | 8070f833f8216d4ead294a9f19b7cd123bb76ba3 | [
"Linux-OpenIB"
] | 2 | 2020-08-04T17:23:16.000Z | 2020-10-16T16:53:38.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : UIInventoryUpgradeWnd_add.cpp
// Created : 08.11.2007
// Author : Evgeniy Sokolov
// Description : inventory upgrade UI window (additional) class implementation
/////////////////////////////////////////////////////////////... | 36.413333 | 104 | 0.660381 | acidicMercury8 |
3edde78bc6b80490d4c667d44febf217253f4a17 | 73,816 | cc | C++ | components/gcm_driver/gcm_client_impl_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | components/gcm_driver/gcm_client_impl_unittest.cc | blueboxd/chromium-legacy | 07223bc94bd97499909c9ed3c3f5769d718fe2e0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | components/gcm_driver/gcm_client_impl_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/gcm_driver/gcm_client_impl.h"
#include <stdint.h>
#include <initializer_list>
#include <memory>
#include "base/callback_helpers.h"... | 37.50813 | 80 | 0.75103 | Yannic |
3ee0a7010de3caa5b3fd80e905da793aa37deb72 | 791 | cpp | C++ | duomeiti/randomizeicontooleffect.cpp | xzchaoo/--- | 76d4893d88ee2cf8c294c70a474df840754e6de8 | [
"Apache-2.0"
] | 1 | 2019-02-24T08:36:32.000Z | 2019-02-24T08:36:32.000Z | duomeiti/randomizeicontooleffect.cpp | xzchaoo/--- | 76d4893d88ee2cf8c294c70a474df840754e6de8 | [
"Apache-2.0"
] | null | null | null | duomeiti/randomizeicontooleffect.cpp | xzchaoo/--- | 76d4893d88ee2cf8c294c70a474df840754e6de8 | [
"Apache-2.0"
] | null | null | null | #include "randomizeicontooleffect.h"
#include "iconmanager.h"
#include "gameicon.h"
#include <QList>
#include <QDebug>
#include "animationgroup.h"
#include "Animation.h"
#include "inversespiralfunction.h"
#include "spiralfunction.h"
#include "gameconfig.h"
RandomizeIconToolEffect::RandomizeIconToolEffect(QObject *pare... | 27.275862 | 69 | 0.738306 | xzchaoo |
3ee31db21021baef3203c2a4dae8b8462cc8ac1e | 8,239 | cpp | C++ | Code/UnitTests/FoundationTest/Logging/LogTest.cpp | Tekh-ops/ezEngine | d6a5887d8709f267bf8f2943ef15054e29f6d3d5 | [
"MIT"
] | 703 | 2015-03-07T15:30:40.000Z | 2022-03-30T00:12:40.000Z | Code/UnitTests/FoundationTest/Logging/LogTest.cpp | Tekh-ops/ezEngine | d6a5887d8709f267bf8f2943ef15054e29f6d3d5 | [
"MIT"
] | 233 | 2015-01-11T16:54:32.000Z | 2022-03-19T18:00:47.000Z | Code/UnitTests/FoundationTest/Logging/LogTest.cpp | Tekh-ops/ezEngine | d6a5887d8709f267bf8f2943ef15054e29f6d3d5 | [
"MIT"
] | 101 | 2016-10-28T14:05:10.000Z | 2022-03-30T19:00:59.000Z | #include <FoundationTest/FoundationTestPCH.h>
#include <Foundation/Configuration/Startup.h>
#include <Foundation/IO/FileSystem/DataDirTypeFolder.h>
#include <Foundation/Logging/ConsoleWriter.h>
#include <Foundation/Logging/HTMLWriter.h>
#include <Foundation/Logging/Log.h>
#include <Foundation/Logging/VisualStudioWrite... | 32.058366 | 135 | 0.627139 | Tekh-ops |
3ee324fbbb8ecce844bee0fffb92c794157e69e4 | 2,021 | cpp | C++ | test/inf.cpp | aclex/floaxie | 81b34c37ce8304013c0d6b70aed12ef5960385af | [
"Apache-2.0"
] | 25 | 2016-02-11T16:56:48.000Z | 2022-02-01T10:27:57.000Z | test/inf.cpp | aclex/floaxie | 81b34c37ce8304013c0d6b70aed12ef5960385af | [
"Apache-2.0"
] | 2 | 2016-04-09T12:29:35.000Z | 2019-05-09T22:02:25.000Z | test/inf.cpp | aclex/floaxie | 81b34c37ce8304013c0d6b70aed12ef5960385af | [
"Apache-2.0"
] | 5 | 2016-08-10T18:11:59.000Z | 2021-04-10T16:41:50.000Z | #include <array>
#include <utility>
#include <iostream>
#include <cmath>
#include <cstdint>
#include "floaxie/atof.h"
#include "floaxie/print.h"
using namespace std;
using namespace floaxie;
namespace
{
const char* inf_str = "inf";
const char* inf_str_w = "0inf";
const char* pinf_str = "+inf";
const char* ninf_s... | 25.910256 | 121 | 0.658585 | aclex |
3ee6414a3a9f9206ccc08bc7d69670c7e5fc156c | 48,845 | cc | C++ | Firestore/core/test/unit/local/leveldb_key_test.cc | liam-i/firebase-ios-sdk | 136e71f7aa438236421307a69c01789855515464 | [
"Apache-2.0"
] | 1 | 2022-03-26T00:08:22.000Z | 2022-03-26T00:08:22.000Z | Firestore/core/test/unit/local/leveldb_key_test.cc | AhmedShehata5/firebase-ios-sdk | b4dd98da69fca029123788e69e14d612ef44e0d1 | [
"Apache-2.0"
] | null | null | null | Firestore/core/test/unit/local/leveldb_key_test.cc | AhmedShehata5/firebase-ios-sdk | b4dd98da69fca029123788e69e14d612ef44e0d1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 Google
*
* 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 w... | 41.324027 | 86 | 0.698352 | liam-i |
3ee7ff421e8863cd59a274ea5ea68232e8c96afd | 40,702 | cpp | C++ | export/windows/cpp/obj/src/openfl/_legacy/events/Event.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/src/openfl/_legacy/events/Event.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/src/openfl/_legacy/events/Event.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.3.0
#include <hxcpp.h>
#ifndef INCLUDED_Reflect
#include <Reflect.h>
#endif
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_openfl__legacy_events_Event
#include <openfl/_legacy/events/Event.h>
#endif
namespace openfl{
namespace _legacy{
namespace events{
void Event_obj::__constru... | 46.676606 | 198 | 0.693307 | TinyPlanetStudios |
3ee93de6a90e8f8a1388e6d10a3f9edc9c7958be | 445 | hpp | C++ | backend/TaskGraphFrontEnd/markedBlock.hpp | Ridhii/SyncdSim | 4cd120e9f7d4db348d405db4608ef9c6f9499d01 | [
"BSD-3-Clause"
] | 50 | 2015-10-21T23:16:35.000Z | 2021-09-27T12:52:04.000Z | backend/TaskGraphFrontEnd/markedBlock.hpp | Ridhii/SyncdSim | 4cd120e9f7d4db348d405db4608ef9c6f9499d01 | [
"BSD-3-Clause"
] | 187 | 2015-01-08T22:24:54.000Z | 2020-04-17T17:23:50.000Z | backend/TaskGraphFrontEnd/markedBlock.hpp | Ridhii/SyncdSim | 4cd120e9f7d4db348d405db4608ef9c6f9499d01 | [
"BSD-3-Clause"
] | 25 | 2015-11-02T17:54:49.000Z | 2020-06-16T07:28:11.000Z | #ifndef MARKED_BLOCK_H
#define MARKED_BLOCK_H
#include "markedInstruction.hpp"
#include <vector>
class markedBlock
{
// markedCodeContainer basically does all the construction of this class by inserting instructions
friend class markedCodeContainer;
public:
typedef std::vector<markedInstruction>::iterato... | 19.347826 | 102 | 0.761798 | Ridhii |
3eeaf0a59870042151db709f7b41cd350423bf55 | 23,911 | cpp | C++ | wdp_ahmm.cpp | travc/vt | 20ba6b7a313aebf2162eb877c38a5c818322bafe | [
"MIT"
] | 166 | 2015-01-14T23:14:05.000Z | 2022-03-31T14:15:56.000Z | wdp_ahmm.cpp | travc/vt | 20ba6b7a313aebf2162eb877c38a5c818322bafe | [
"MIT"
] | 108 | 2015-01-16T13:21:07.000Z | 2022-01-26T22:47:55.000Z | wdp_ahmm.cpp | travc/vt | 20ba6b7a313aebf2162eb877c38a5c818322bafe | [
"MIT"
] | 48 | 2015-01-16T23:35:18.000Z | 2022-03-01T12:14:53.000Z | /* The MIT License
Copyright (c) 2017 Adrian Tan <atks@umich.edu>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to us... | 23.013474 | 198 | 0.478692 | travc |
3eed104191f94a839004720382a95ad1396c7f3e | 2,401 | hpp | C++ | src/px4/mavlink/common/mavlink_msg_fence_status.hpp | mfkiwl/GLMocap | 72de3cc11256d0d8567e86b8a2487ffc81fc984e | [
"MIT"
] | 10 | 2021-03-15T03:58:06.000Z | 2021-12-30T15:33:38.000Z | src/px4/mavlink/common/mavlink_msg_fence_status.hpp | mfkiwl/GLMocap | 72de3cc11256d0d8567e86b8a2487ffc81fc984e | [
"MIT"
] | 1 | 2021-07-08T10:26:06.000Z | 2021-07-08T10:31:11.000Z | src/px4/mavlink/common/mavlink_msg_fence_status.hpp | mfkiwl/GLMocap | 72de3cc11256d0d8567e86b8a2487ffc81fc984e | [
"MIT"
] | 8 | 2021-10-09T08:47:53.000Z | 2022-01-17T07:45:33.000Z | // MESSAGE FENCE_STATUS support class
#pragma once
namespace mavlink {
namespace common {
namespace msg {
/**
* @brief FENCE_STATUS message
*
* Status of geo-fencing. Sent in extended status stream when fencing enabled.
*/
struct FENCE_STATUS : mavlink::Message {
static constexpr msgid_t MSG_ID = 162;
st... | 31.181818 | 93 | 0.570179 | mfkiwl |
3eed5319602a0593c2248d72006ac9ed47bb19ce | 727 | cpp | C++ | NWNXLib/Utils.cpp | acaos/nwnxee-unified | 0e4c318ede64028c1825319f39c012e168e0482c | [
"MIT"
] | null | null | null | NWNXLib/Utils.cpp | acaos/nwnxee-unified | 0e4c318ede64028c1825319f39c012e168e0482c | [
"MIT"
] | null | null | null | NWNXLib/Utils.cpp | acaos/nwnxee-unified | 0e4c318ede64028c1825319f39c012e168e0482c | [
"MIT"
] | null | null | null | #include "Utils.hpp"
#include "API/Globals.hpp"
#include "API/CAppManager.hpp"
#include "API/CServerExoApp.hpp"
#include "API/CVirtualMachine.hpp"
#include <sstream>
namespace NWNXLib {
namespace Utils {
std::string ObjectIDToString(const API::Types::ObjectID id)
{
std::stringstream ss;
ss << std::hex << id;... | 22.71875 | 98 | 0.709766 | acaos |
3eeec1b9f3a8d2ba9b4a84cd5a57277979d5b925 | 2,736 | cpp | C++ | modules/ide_old/src/DebugToolbar.cpp | DeepBlue14/rqt_ide | 853964dc429d61c9afb6f1fe827f2e3e83f92713 | [
"MIT"
] | null | null | null | modules/ide_old/src/DebugToolbar.cpp | DeepBlue14/rqt_ide | 853964dc429d61c9afb6f1fe827f2e3e83f92713 | [
"MIT"
] | null | null | null | modules/ide_old/src/DebugToolbar.cpp | DeepBlue14/rqt_ide | 853964dc429d61c9afb6f1fe827f2e3e83f92713 | [
"MIT"
] | null | null | null | #include "DebugToolbar.h"
DebugToolbar::DebugToolbar(QToolBar* parent) : QToolBar(parent)
{
actionPtrVecPtr = new QVector<QAction*>();
initActions();
}
void DebugToolbar::handleStartActPtrSlot()
{
cout << "@ DebugToolbar::handleStartActPtrSlot()" << endl;
}
void DebugToolbar::handleStop... | 28.206186 | 109 | 0.699561 | DeepBlue14 |
3eef74dc561c81851c0888212018507de5c6086c | 1,740 | cpp | C++ | foundation/plugins/undo/dmzPluginUndo.cpp | tongli/dmz | f2242027a17ea804259f9412b07d69f719a527c5 | [
"MIT"
] | 1 | 2016-05-08T22:02:35.000Z | 2016-05-08T22:02:35.000Z | foundation/plugins/undo/dmzPluginUndo.cpp | ashok/dmz | 2f8d4bced646f25abf2e98bdc0d378dafb4b32ed | [
"MIT"
] | null | null | null | foundation/plugins/undo/dmzPluginUndo.cpp | ashok/dmz | 2f8d4bced646f25abf2e98bdc0d378dafb4b32ed | [
"MIT"
] | null | null | null | #include "dmzPluginUndo.h"
#include <dmzRuntimeConfigToTypesBase.h>
#include <dmzRuntimePluginFactoryLinkSymbol.h>
#include <dmzRuntimePluginInfo.h>
/*!
\class dmz::PluginUndo
\ingroup Foundation
\brief Performs and undo or redo when a message is received.
\details The default Message name to perform an undo is "Plug... | 20.714286 | 81 | 0.685057 | tongli |
3eef7732e01993ce21af170636cc3e74a05cd289 | 6,189 | cpp | C++ | test/test_pair.cpp | bastiankoe/compute | 57eec36d20e122a496d3fbfddf8bf4ad8d6f4a4f | [
"BSL-1.0"
] | 1 | 2015-03-18T01:14:13.000Z | 2015-03-18T01:14:13.000Z | test/test_pair.cpp | bastiankoe/compute | 57eec36d20e122a496d3fbfddf8bf4ad8d6f4a4f | [
"BSL-1.0"
] | null | null | null | test/test_pair.cpp | bastiankoe/compute | 57eec36d20e122a496d3fbfddf8bf4ad8d6f4a4f | [
"BSL-1.0"
] | null | null | null | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://kylelutz.gi... | 33.274194 | 80 | 0.614639 | bastiankoe |
3ef28453b137e8199a40bf4fe6aee02681e56396 | 22,952 | hpp | C++ | nimbly-source/include/nimbly/core/flex.hpp | mousepawmedia/nimbly | 7ed7aeb0b494ff77031ff3208300fc57d34d1206 | [
"BSD-3-Clause"
] | 1 | 2022-02-26T18:14:33.000Z | 2022-02-26T18:14:33.000Z | nimbly-source/include/nimbly/core/flex.hpp | mousepawmedia/nimbly | 7ed7aeb0b494ff77031ff3208300fc57d34d1206 | [
"BSD-3-Clause"
] | null | null | null | nimbly-source/include/nimbly/core/flex.hpp | mousepawmedia/nimbly | 7ed7aeb0b494ff77031ff3208300fc57d34d1206 | [
"BSD-3-Clause"
] | null | null | null | /** Flex [Nimbly]
* Version: 2.0
*
* A dynamic contiguous data structure with a low dynamic allocation demand.
* FlexArray, FlexQueue, and FlexStack all rely on these.
*
* Author(s): Jason C. McDonald, Michael Parkman,
* Jonathan Theodore, Moshe Uminer
*/
/* LICENSE (BSD-3-Clause)
* Copyright (c) 2... | 27.956151 | 80 | 0.666478 | mousepawmedia |
3ef38bec6eeeebe0aefd37fded1e605824066763 | 9,648 | cc | C++ | mod/InitClusterBlock.cc | macndev/Stntuple | b5bb000edf015883eec32d87959cb7bd3ab88577 | [
"Apache-2.0"
] | null | null | null | mod/InitClusterBlock.cc | macndev/Stntuple | b5bb000edf015883eec32d87959cb7bd3ab88577 | [
"Apache-2.0"
] | null | null | null | mod/InitClusterBlock.cc | macndev/Stntuple | b5bb000edf015883eec32d87959cb7bd3ab88577 | [
"Apache-2.0"
] | 6 | 2019-11-21T15:27:27.000Z | 2022-02-28T20:57:13.000Z | //-----------------------------------------------------------------------------
// Apr 2013 P.Murat: initialization of the MU2E STNTUPLE cluster block
//
//-----------------------------------------------------------------------------
#include <cstdio>
#include "TROOT.h"
#include "TFolder.h"
#include "TLorentzVector.h"... | 34.956522 | 122 | 0.547678 | macndev |
3ef515ce39f5ca04ed57a7e9356b156e4a48239b | 549 | hpp | C++ | LinearAlgebra/operation/scalar/scalar.hpp | suiyili/Algorithms | d6ddc8262c5d681ecc78938b6140510793a29d91 | [
"MIT"
] | null | null | null | LinearAlgebra/operation/scalar/scalar.hpp | suiyili/Algorithms | d6ddc8262c5d681ecc78938b6140510793a29d91 | [
"MIT"
] | null | null | null | LinearAlgebra/operation/scalar/scalar.hpp | suiyili/Algorithms | d6ddc8262c5d681ecc78938b6140510793a29d91 | [
"MIT"
] | null | null | null | #pragma once
#include "scalar.h"
namespace algebra::arithmetic {
template<typename T>
inline matrix<T>& operator*=(matrix<T>& m, T scalar) {
for (size_t i = 0U; i < m.columns(); ++i) {
for (size_t j = 0U; j < m.rows(); ++j) {
pixel id{i, j};
m[id] *= scalar;
}
}
return m;
}
template<typename ... | 18.931034 | 58 | 0.612022 | suiyili |
3ef86773cfcdb1640a64bf3f3dc494c886fcb919 | 116 | hxx | C++ | src/Providers/UNIXProviders/VLANService/UNIX_VLANService_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/VLANService/UNIX_VLANService_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/VLANService/UNIX_VLANService_AIX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_AIX
#ifndef __UNIX_VLANSERVICE_PRIVATE_H
#define __UNIX_VLANSERVICE_PRIVATE_H
#endif
#endif
| 9.666667 | 36 | 0.836207 | brunolauze |
3efb1bfd766173e5d3984258eff284a4d1b3e91b | 289 | cpp | C++ | Chapter11/chapter11bt_05/main.cpp | markccchiang/Modern-Cpp-Programming-Cookbook | 42ba3c9ca1e0d897807f1c3baa5dddb0ee064f23 | [
"MIT"
] | null | null | null | Chapter11/chapter11bt_05/main.cpp | markccchiang/Modern-Cpp-Programming-Cookbook | 42ba3c9ca1e0d897807f1c3baa5dddb0ee064f23 | [
"MIT"
] | null | null | null | Chapter11/chapter11bt_05/main.cpp | markccchiang/Modern-Cpp-Programming-Cookbook | 42ba3c9ca1e0d897807f1c3baa5dddb0ee064f23 | [
"MIT"
] | null | null | null | #define BOOST_TEST_MODULE Controlling output
#include <boost/test/included/unit_test.hpp>
BOOST_AUTO_TEST_CASE(test_case) {
BOOST_TEST(true);
}
BOOST_AUTO_TEST_SUITE(test_suite)
BOOST_AUTO_TEST_CASE(test_case) {
int a = 42;
BOOST_TEST(a == 0);
}
BOOST_AUTO_TEST_SUITE_END() | 19.266667 | 44 | 0.768166 | markccchiang |
3efb70530b7c62ff237b3511544c17fcfc3aad05 | 1,542 | cc | C++ | src/graph/op/kernel/binary_op_test.cc | ishine/deepx_core | a71fa4b5fec5cf5d83da04cbb9ee437d0c8b6e05 | [
"BSD-2-Clause"
] | 309 | 2021-03-24T03:00:19.000Z | 2022-03-31T16:17:46.000Z | src/graph/op/kernel/binary_op_test.cc | kiminh/deepx_core | 928d248ef26c9a5b48e34ff6a66761f94cd4be72 | [
"BSD-2-Clause"
] | 4 | 2021-03-30T01:46:32.000Z | 2021-04-06T12:22:18.000Z | src/graph/op/kernel/binary_op_test.cc | kiminh/deepx_core | 928d248ef26c9a5b48e34ff6a66761f94cd4be72 | [
"BSD-2-Clause"
] | 45 | 2021-03-29T06:12:17.000Z | 2022-03-04T05:19:46.000Z | // Copyright 2019 the deepx authors.
// Author: Yafei Zhang (kimmyzhang@tencent.com)
//
#include "../op_test.h"
namespace deepx_core {
class BinaryElementWiseBackwardTest : public testing::Test {};
TEST_F(BinaryElementWiseBackwardTest, Add) {
VariableNode X("X", Shape(2, 3), TENSOR_INITIALIZER_TYPE_RANDN, 0, 1);
... | 30.84 | 72 | 0.699092 | ishine |
3efc8eaed45e54f59a6dfe174cd9e6fd1f10d1bd | 1,915 | hpp | C++ | include/O2FS/OTwo.hpp | SirusDoma/O2FS | 3ffa2d5476b8ee883be145c275df5e7759c1e520 | [
"MIT"
] | 1 | 2022-02-16T12:36:32.000Z | 2022-02-16T12:36:32.000Z | include/O2FS/OTwo.hpp | SirusDoma/O2FS | 3ffa2d5476b8ee883be145c275df5e7759c1e520 | [
"MIT"
] | null | null | null | include/O2FS/OTwo.hpp | SirusDoma/O2FS | 3ffa2d5476b8ee883be145c275df5e7759c1e520 | [
"MIT"
] | null | null | null | #ifndef O2FS_OTWO_HPP
#define O2FS_OTWO_HPP
#include <windows.h>
#include <vector>
#include <unordered_map>
#include <string>
#include <O2FS/FileSystem.hpp>
namespace O2FS
{
class OTwo
{
private:
static std::vector<FileSystem*> systems;
static std::unordered_map<HANDLE, std::string> fileC... | 39.081633 | 157 | 0.721671 | SirusDoma |
3efe2e61948d859882ca8d18103796856df2e295 | 10,490 | cpp | C++ | src/solvers/solver_hardness.cpp | conp-solutions/cbmc | 648b8e304d5c5db43d01724024770780f5835952 | [
"BSD-4-Clause"
] | null | null | null | src/solvers/solver_hardness.cpp | conp-solutions/cbmc | 648b8e304d5c5db43d01724024770780f5835952 | [
"BSD-4-Clause"
] | null | null | null | src/solvers/solver_hardness.cpp | conp-solutions/cbmc | 648b8e304d5c5db43d01724024770780f5835952 | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module: measure and track the complexity of solver queries
Author: Diffblue Ltd.
\*******************************************************************/
#include "solver_hardness.h"
#include <algorithm>
#include <iomanip>
#include <iostream>
#inc... | 27.105943 | 80 | 0.665396 | conp-solutions |
3efef6fe7d95344083ea3eb63e703ce45cad70f1 | 17,380 | cpp | C++ | cyclone/OpLogic.cpp | barryjburns/dgen | a6f61a594b996840110a6c4bc0347a9d8e4f81e7 | [
"BSD-3-Clause"
] | 33 | 2020-11-20T16:38:43.000Z | 2021-10-17T04:21:44.000Z | cyclone/OpLogic.cpp | barryjburns/dgen | a6f61a594b996840110a6c4bc0347a9d8e4f81e7 | [
"BSD-3-Clause"
] | 2 | 2020-11-21T00:32:37.000Z | 2020-11-23T17:38:26.000Z | cyclone/OpLogic.cpp | barryjburns/dgen | a6f61a594b996840110a6c4bc0347a9d8e4f81e7 | [
"BSD-3-Clause"
] | 2 | 2020-11-21T09:37:17.000Z | 2021-01-06T15:00:01.000Z |
// This file is part of the Cyclone 68000 Emulator
// Copyright (c) 2004,2011 FinalDave (emudave (at) gmail.com)
// Copyright (c) 2005-2011 Gražvydas "notaz" Ignotas (notasas (at) gmail.com)
// This code is licensed under the GNU General Public License version 2.0 and the MAME License.
// You can choose the license ... | 24.307692 | 110 | 0.524223 | barryjburns |
3eff299161e26886d8dd253733e933a05ea5c2b3 | 4,280 | cpp | C++ | stromx/runtime/test/PeriodicDelayTest.cpp | uboot/stromx | 5aff42008c576ca4aa9dbb1fdd238dac1d875ece | [
"Apache-2.0"
] | 11 | 2015-08-16T09:59:07.000Z | 2021-06-15T14:39:20.000Z | stromx/runtime/test/PeriodicDelayTest.cpp | uboot/stromx | 5aff42008c576ca4aa9dbb1fdd238dac1d875ece | [
"Apache-2.0"
] | null | null | null | stromx/runtime/test/PeriodicDelayTest.cpp | uboot/stromx | 5aff42008c576ca4aa9dbb1fdd238dac1d875ece | [
"Apache-2.0"
] | 8 | 2015-05-10T02:25:37.000Z | 2020-10-28T13:06:01.000Z | /*
* Copyright 2011 Matthias Fuchs
*
* 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... | 36.581197 | 94 | 0.60257 | uboot |
3eff6b4397c0d23be0280e3862b369a0b74b8e81 | 359 | cpp | C++ | Hazelnut/src/HazelnutApp.cpp | njchensl/CHazel | 4ad8733a3c0056510725986f126e522b1e206826 | [
"Apache-2.0"
] | null | null | null | Hazelnut/src/HazelnutApp.cpp | njchensl/CHazel | 4ad8733a3c0056510725986f126e522b1e206826 | [
"Apache-2.0"
] | null | null | null | Hazelnut/src/HazelnutApp.cpp | njchensl/CHazel | 4ad8733a3c0056510725986f126e522b1e206826 | [
"Apache-2.0"
] | null | null | null | #include <Hazel.h>
#include <Hazel/Core/EntryPoint.h>
#include "EditorLayer.h"
extern "C" int g_UseCAPI = 0;
namespace Hazel {
class Hazelnut : public Application
{
public:
Hazelnut()
: Application("Hazelnut")
{
PushLayer(new EditorLayer());
}
~Hazelnut()
{
}
};
Application* CreateApplicati... | 11.966667 | 36 | 0.64624 | njchensl |
41008f837f3ebb1b17df989fb6d92a3f151d47b2 | 1,194 | hpp | C++ | vm/global_lock.hpp | rkh/rubinius | c4bcccbfba7656af4debc843953d7e29e3529ce7 | [
"BSD-3-Clause"
] | 2 | 2015-11-05T03:14:25.000Z | 2021-01-09T17:41:48.000Z | vm/global_lock.hpp | rkh/rubinius | c4bcccbfba7656af4debc843953d7e29e3529ce7 | [
"BSD-3-Clause"
] | null | null | null | vm/global_lock.hpp | rkh/rubinius | c4bcccbfba7656af4debc843953d7e29e3529ce7 | [
"BSD-3-Clause"
] | null | null | null | #ifndef RBX_GLOBAL_LOCK_HPP
#define RBX_GLOBAL_LOCK_HPP
#include "util/thread.hpp"
#include <sys/time.h>
#include <stdint.h>
namespace rubinius {
class VM;
class NativeMethodEnvironment;
class SharedState;
struct CallFrame;
class GlobalLock {
uint32_t locked_;
uint32_t serial_;
uint32_t requ... | 17.304348 | 55 | 0.653266 | rkh |
4100cefba20baefc4b89a79da8564fd1ee7e0813 | 7,407 | cpp | C++ | tests/AndroidCodecTest.cpp | travisleithead/skia | 2092340a0edc25e9082ce9717643d12d901c3971 | [
"BSD-3-Clause"
] | 6,304 | 2015-01-05T23:45:12.000Z | 2022-03-31T09:48:13.000Z | tests/AndroidCodecTest.cpp | travisleithead/skia | 2092340a0edc25e9082ce9717643d12d901c3971 | [
"BSD-3-Clause"
] | 67 | 2016-04-18T13:30:02.000Z | 2022-03-31T23:06:55.000Z | tests/AndroidCodecTest.cpp | travisleithead/skia | 2092340a0edc25e9082ce9717643d12d901c3971 | [
"BSD-3-Clause"
] | 1,231 | 2015-01-05T03:17:39.000Z | 2022-03-31T22:54:58.000Z | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/codec/SkAndroidCodec.h"
#include "include/codec/SkCodec.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkColor.h"
#include "include/core/SkColo... | 36.131707 | 94 | 0.562171 | travisleithead |
4101a2e7fa7a6b45724634cbebacadd8a4b22a1f | 27,494 | cpp | C++ | media_driver/linux/common/codec/ddi/media_ddi_encode_jpeg.cpp | xhaihao/media-driver | fc044798bd07a21aacfdd6deeb5a9cb77ff34a54 | [
"Intel",
"BSD-3-Clause",
"MIT"
] | null | null | null | media_driver/linux/common/codec/ddi/media_ddi_encode_jpeg.cpp | xhaihao/media-driver | fc044798bd07a21aacfdd6deeb5a9cb77ff34a54 | [
"Intel",
"BSD-3-Clause",
"MIT"
] | null | null | null | media_driver/linux/common/codec/ddi/media_ddi_encode_jpeg.cpp | xhaihao/media-driver | fc044798bd07a21aacfdd6deeb5a9cb77ff34a54 | [
"Intel",
"BSD-3-Clause",
"MIT"
] | null | null | null | /*
* Copyright (c) 2017-2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, p... | 37.766484 | 133 | 0.699935 | xhaihao |
410342d5b369416c85e2e0921929180d37f9f554 | 639 | cpp | C++ | example/single_pro/MutexLock.cpp | jianxinzhou/Maple | 96a85a96c1e978325f87c7ebc745addf190dcb59 | [
"BSD-2-Clause"
] | 1 | 2021-01-20T09:44:50.000Z | 2021-01-20T09:44:50.000Z | example/Singleton/MutexLock.cpp | jianxinzhou/Maple | 96a85a96c1e978325f87c7ebc745addf190dcb59 | [
"BSD-2-Clause"
] | null | null | null | example/Singleton/MutexLock.cpp | jianxinzhou/Maple | 96a85a96c1e978325f87c7ebc745addf190dcb59 | [
"BSD-2-Clause"
] | 1 | 2021-01-20T09:45:17.000Z | 2021-01-20T09:45:17.000Z | #include "MutexLock.h"
#include <assert.h>
MutexLock::MutexLock()
:isLocking_(false)
{
TINY_CHECK(!pthread_mutex_init(&mutex_, NULL));
}
MutexLock::~MutexLock()
{
assert(isLocking());
TINY_CHECK(!pthread_mutex_destroy(&mutex_));
}
void MutexLock::lock()
{
TINY_CHECK(!pthread_mutex_lock(&mutex_));... | 15.975 | 51 | 0.687011 | jianxinzhou |
41040e0510afd373c33c5d66ac284a473eb053e9 | 5,385 | cpp | C++ | Code/Engine/RendererCore/Pipeline/Implementation/Passes/SimpleRenderPass.cpp | JohannStudanski/ezEngine | bb9d7dc4ad1ba52c2725f0a8bd1b851d59dbf43c | [
"MIT"
] | 1 | 2021-06-23T14:44:02.000Z | 2021-06-23T14:44:02.000Z | Code/Engine/RendererCore/Pipeline/Implementation/Passes/SimpleRenderPass.cpp | aemeltsev/ezEngine | 98528c268dbf8cf37bb1f31e8664bd9651b7023f | [
"MIT"
] | null | null | null | Code/Engine/RendererCore/Pipeline/Implementation/Passes/SimpleRenderPass.cpp | aemeltsev/ezEngine | 98528c268dbf8cf37bb1f31e8664bd9651b7023f | [
"MIT"
] | null | null | null | #include <RendererCorePCH.h>
#include <RendererCore/Pipeline/Passes/SimpleRenderPass.h>
#include <RendererCore/Pipeline/View.h>
#include <RendererCore/RenderContext/RenderContext.h>
#include <RendererFoundation/Resources/RenderTargetView.h>
#include <RendererFoundation/Resources/Texture.h>
#include <RendererCore/Deb... | 37.137931 | 140 | 0.772702 | JohannStudanski |
4105557229a73cef6c8a27a3877d26ac36d4f6e1 | 3,436 | cpp | C++ | Dynamic Programming: Advanced Optimizations/Li Chao Tree.cpp | jishanshaikh4/code-library | ee6e08b66f25977050402864b8a338c43fa2c520 | [
"MIT"
] | null | null | null | Dynamic Programming: Advanced Optimizations/Li Chao Tree.cpp | jishanshaikh4/code-library | ee6e08b66f25977050402864b8a338c43fa2c520 | [
"MIT"
] | 16 | 2022-01-15T17:50:08.000Z | 2022-01-28T12:55:21.000Z | Dynamic Programming: Advanced Optimizations/Li Chao Tree.cpp | jishanshaikh4/programming-contests | ee6e08b66f25977050402864b8a338c43fa2c520 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll inf = 2e18;
struct Line {
ll m, c;
ll eval(ll x) { return m * x + c; }
};
struct node {
Line line;
node *left = nullptr;
node *right = nullptr;
node(Line line) : line(line) {}
void add_segment(Line nw, int l, int... | 26.229008 | 78 | 0.444121 | jishanshaikh4 |
41058bcd789601cc21fba23c85befb11982bb2a0 | 5,590 | cpp | C++ | megasampler.cpp | chaosite/SMTSampler | 7c1ce353dbd9e6007451870203311520a41f5d76 | [
"BSD-3-Clause"
] | null | null | null | megasampler.cpp | chaosite/SMTSampler | 7c1ce353dbd9e6007451870203311520a41f5d76 | [
"BSD-3-Clause"
] | null | null | null | megasampler.cpp | chaosite/SMTSampler | 7c1ce353dbd9e6007451870203311520a41f5d76 | [
"BSD-3-Clause"
] | null | null | null | #include "megasampler.h"
#include <capnp/serialize.h>
#include <cinttypes>
#include <cstdint>
#include <iostream>
#include <random>
#include "pythonfuncs.h"
#include "strengthen.capnp.h"
MEGASampler::MEGASampler(std::string _input, std::string _output_dir,
int _max_samples, double _max_time... | 34.720497 | 80 | 0.655456 | chaosite |
4105fbd17cfab7cdce73c25ceacb9a7ea65e083f | 2,296 | cc | C++ | runtime/vm/type_testing_stubs_arm64.cc | annagrin/sdk | dfce72bbf9bf359ecd810964259978e24c55e237 | [
"BSD-3-Clause"
] | 2 | 2019-08-15T18:30:00.000Z | 2020-11-03T20:17:12.000Z | runtime/vm/type_testing_stubs_arm64.cc | annagrin/sdk | dfce72bbf9bf359ecd810964259978e24c55e237 | [
"BSD-3-Clause"
] | 1 | 2021-01-21T14:45:59.000Z | 2021-01-21T14:45:59.000Z | runtime/vm/type_testing_stubs_arm64.cc | annagrin/sdk | dfce72bbf9bf359ecd810964259978e24c55e237 | [
"BSD-3-Clause"
] | 3 | 2020-02-13T02:08:04.000Z | 2020-08-09T07:49:55.000Z | // Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/globals.h"
#if defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME)
#include... | 32.8 | 77 | 0.747387 | annagrin |
410664eda0f1db6e1326af9ab80d94a59cbff8e5 | 10,885 | cpp | C++ | src/Interface.cpp | RicardoCoutinho/LAIG | 13933ce1dd05ff4d099ffb0864bb9034c52592e7 | [
"MIT"
] | null | null | null | src/Interface.cpp | RicardoCoutinho/LAIG | 13933ce1dd05ff4d099ffb0864bb9034c52592e7 | [
"MIT"
] | null | null | null | src/Interface.cpp | RicardoCoutinho/LAIG | 13933ce1dd05ff4d099ffb0864bb9034c52592e7 | [
"MIT"
] | null | null | null | #include "Interface.h"
#include "YAFScene.h"
#include "Application.h"
#include <GL/glui.h>
#define MOUSE_ROTATE_FACTOR 0
#define MOUSE_PAN_FACTOR 0
#define MOUSE_ZOOM_FACTOR 0
//#define MOUSE_ROTATE_FACTOR 0.5
//#define MOUSE_PAN_FACTOR 0.05
//#define MOUSE_ZOOM_FACTOR 0.5
#define CG_CGFcamera_AXIS_X 0
#define CG_CG... | 28.054124 | 121 | 0.6904 | RicardoCoutinho |
41074d657bfbfbb8f1bbf9b0ea0abf63317c2c19 | 2,527 | cc | C++ | examples/octave/plot_b6.cc | yyk99/bzeditor | f4d3a24fbed2d7a3db82124e2c927288731f763b | [
"MIT"
] | null | null | null | examples/octave/plot_b6.cc | yyk99/bzeditor | f4d3a24fbed2d7a3db82124e2c927288731f763b | [
"MIT"
] | null | null | null | examples/octave/plot_b6.cc | yyk99/bzeditor | f4d3a24fbed2d7a3db82124e2c927288731f763b | [
"MIT"
] | null | null | null | //
//
//
#include "bezierMk2.h"
#include "Plotter.h"
#include <iostream>
#include <stdexcept>
std::ostream &operator<< (std::ostream &s, point2d_t const &p)
{
s << p.to_string();
return s;
}
void plot_b6_UT() /* unit test */
{
point2d_t p0 = point2d_t(10, 10);
point2d_t p1 = point2d_t(0, 20);
po... | 23.839623 | 79 | 0.508508 | yyk99 |
410855a26d29cc1514ff01a021e1341a438e5cf2 | 4,456 | hpp | C++ | src/plugins/type/types.hpp | 0003088/libelektra-qt-gui-test | f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6 | [
"BSD-3-Clause"
] | null | null | null | src/plugins/type/types.hpp | 0003088/libelektra-qt-gui-test | f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6 | [
"BSD-3-Clause"
] | null | null | null | src/plugins/type/types.hpp | 0003088/libelektra-qt-gui-test | f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6 | [
"BSD-3-Clause"
] | null | null | null | /**
* \file
*
* \brief Implementation of data types
*
* \copyright BSD License (see doc/COPYING or http://www.libelektra.org)
*
*/
#ifndef ELEKTRA_TYPES_HPP
#define ELEKTRA_TYPES_HPP
#include <set>
#include <map>
#include <string>
#include <sstream>
#include <locale>
#include <key.hpp>
#include <keyset.hpp>
#includ... | 22.28 | 1,015 | 0.644973 | 0003088 |
410859f88eac9a505febb206bd36593e0111d867 | 163 | cpp | C++ | tests/main.cpp | zivhoo/magic | 9f3c0d572c10e53d6580c1ffa80e1b69d07e91c0 | [
"Apache-2.0"
] | null | null | null | tests/main.cpp | zivhoo/magic | 9f3c0d572c10e53d6580c1ffa80e1b69d07e91c0 | [
"Apache-2.0"
] | null | null | null | tests/main.cpp | zivhoo/magic | 9f3c0d572c10e53d6580c1ffa80e1b69d07e91c0 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "Magic.h"
using namespace std;
int main()
{
Magic::Magic magic;
magic.createRenderWindow("",500,400, false);
return 0;
} | 14.818182 | 48 | 0.662577 | zivhoo |
41086a8a27f4ab0f73ae58e7f2432b662d6149c5 | 128 | cpp | C++ | tensorflow-yolo-ios/dependencies/eigen/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 27 | 2017-06-07T19:07:32.000Z | 2020-10-15T10:09:12.000Z | tensorflow-yolo-ios/dependencies/eigen/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 3 | 2017-08-25T17:39:46.000Z | 2017-11-18T03:40:55.000Z | tensorflow-yolo-ios/dependencies/eigen/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 10 | 2017-06-16T18:04:45.000Z | 2018-07-05T17:33:01.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:771e89a5fdad79addce7ae43103632797345b0f6f2ab6ffc1fd4a3eab37409b7
size 228
| 32 | 75 | 0.882813 | initialz |
4109e80caf272f9f2c669e50d4394c288134593a | 123 | hpp | C++ | source/appbase/widgets/node_editors/StatsSystem.hpp | clayne/CyberpunkSaveEditor | 2069ea833ced56f549776179c2147b27d32d650c | [
"MIT"
] | 276 | 2020-12-21T11:54:44.000Z | 2022-03-28T16:49:44.000Z | source/appbase/widgets/node_editors/StatsSystem.hpp | 13397729377/CyberpunkSaveEditor | 2069ea833ced56f549776179c2147b27d32d650c | [
"MIT"
] | 37 | 2020-12-21T18:25:12.000Z | 2022-03-31T23:51:33.000Z | source/appbase/widgets/node_editors/StatsSystem.hpp | 13397729377/CyberpunkSaveEditor | 2069ea833ced56f549776179c2147b27d32d650c | [
"MIT"
] | 36 | 2020-12-21T12:02:08.000Z | 2022-03-21T10:47:43.000Z | #pragma once
#include "inttypes.h"
#include "node_editor.hpp"
#include "redx/cpnames.hpp"
//#include "System.hpp"
| 15.375 | 28 | 0.682927 | clayne |
410c6ac7e00cccc01887426e16e6c35d47617caf | 11,902 | cpp | C++ | authentication/Engine.cpp | fmidev/smartmet-engine-authentication | 6e0521c8043bb0e239520f97c6b99e1dd459b517 | [
"MIT"
] | null | null | null | authentication/Engine.cpp | fmidev/smartmet-engine-authentication | 6e0521c8043bb0e239520f97c6b99e1dd459b517 | [
"MIT"
] | null | null | null | authentication/Engine.cpp | fmidev/smartmet-engine-authentication | 6e0521c8043bb0e239520f97c6b99e1dd459b517 | [
"MIT"
] | 1 | 2017-10-16T10:19:53.000Z | 2017-10-16T10:19:53.000Z | #include "Engine.h"
#include <macgyver/Exception.h>
#include <macgyver/PostgreSQLConnection.h>
#include <macgyver/StringConversion.h>
#include <spine/Reactor.h>
#include <stdexcept>
#include <utility>
//#include <pqxx/pqxx>
#include <stdexcept>
namespace SmartMet
{
namespace Engine
{
namespace Authentication
{
const... | 25.540773 | 98 | 0.621408 | fmidev |
410d513db2675d7401c3c061163a74764a2c3d46 | 3,338 | hxx | C++ | main/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 22.707483 | 117 | 0.665668 | Grosskopf |
410e034b8e52b95e97da7ea5935646dccc9ad59b | 18,764 | cc | C++ | src/poly/dma_dataflow.cc | xqdan/akg | e28501611d73d3957a1f3c58eeb6b028f2f2765d | [
"Apache-2.0"
] | null | null | null | src/poly/dma_dataflow.cc | xqdan/akg | e28501611d73d3957a1f3c58eeb6b028f2f2765d | [
"Apache-2.0"
] | null | null | null | src/poly/dma_dataflow.cc | xqdan/akg | e28501611d73d3957a1f3c58eeb6b028f2f2765d | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019 Huawei Technologies Co., Ltd
*
* 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... | 34.556169 | 116 | 0.664517 | xqdan |
410f55abc58323c02fe5b24027567389f4811fb5 | 4,696 | hpp | C++ | Pods/Headers/Private/Realm/realm/impl/destroy_guard.hpp | Valpertui/mealtingpot-ios | 73368d4ec16fef55f3b8f30e45038955db6385df | [
"MIT"
] | 145 | 2015-07-22T06:04:49.000Z | 2021-12-08T13:37:04.000Z | Pods/Headers/Private/Realm/realm/impl/destroy_guard.hpp | Valpertui/mealtingpot-ios | 73368d4ec16fef55f3b8f30e45038955db6385df | [
"MIT"
] | 23 | 2016-01-14T06:52:56.000Z | 2017-02-13T22:11:42.000Z | Pods/Headers/Private/Realm/realm/impl/destroy_guard.hpp | Valpertui/mealtingpot-ios | 73368d4ec16fef55f3b8f30e45038955db6385df | [
"MIT"
] | 42 | 2015-07-24T02:59:31.000Z | 2019-07-23T08:51:59.000Z | /*************************************************************************
*
* REALM CONFIDENTIAL
* __________________
*
* [2011] - [2012] Realm Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Realm Incorporated and its suppliers,
* if any. The int... | 20.241379 | 85 | 0.67994 | Valpertui |
41107173169bb4c4685641b48e2c574656d298c0 | 3,668 | hpp | C++ | sprout/math/hypot.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 691 | 2015-01-15T18:52:23.000Z | 2022-03-15T23:39:39.000Z | sprout/math/hypot.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 22 | 2015-03-11T01:22:56.000Z | 2021-03-29T01:51:45.000Z | sprout/math/hypot.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 57 | 2015-03-11T07:52:29.000Z | 2021-12-16T09:15:33.000Z | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | 34.603774 | 116 | 0.658124 | kevcadieux |
4111dd3dc5cdb199aedbd4e64a8eb14472cf0fd0 | 352 | cpp | C++ | QtCases/main.cpp | TsyQi/MyAutomatic | 2afd3dcabba818051c7119fac7e6c099ff7954a7 | [
"Apache-2.0"
] | 4 | 2016-08-19T08:16:49.000Z | 2020-04-15T12:30:25.000Z | QtCases/main.cpp | TsyQi/Auto-control | d0dda0752d53d28f358346ee7ab217bf05118c96 | [
"Apache-2.0"
] | null | null | null | QtCases/main.cpp | TsyQi/Auto-control | d0dda0752d53d28f358346ee7ab217bf05118c96 | [
"Apache-2.0"
] | 3 | 2019-03-23T03:40:24.000Z | 2020-04-15T00:57:43.000Z | #include <QtPlugin>
#include <QtWidgets/qmessagebox.h>
#include "OpenGLWindow.h"
// Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
#ifdef _WIN32
extern "C" __declspec(dllexport)
#endif
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
OpenGLWindow w("flappy TRIANGLE");
a.setActiveWindow(&w);
w... | 20.705882 | 45 | 0.704545 | TsyQi |
4113ad6ad1fb5a9660bf88d48bf1f480d0d14dd6 | 8,658 | cc | C++ | flare/rpc/trackme.cc | flare-rpc/flare-cpp | c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950 | [
"Apache-2.0"
] | 3 | 2022-01-23T17:55:24.000Z | 2022-03-23T12:55:18.000Z | flare/rpc/trackme.cc | flare-rpc/flare-cpp | c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950 | [
"Apache-2.0"
] | null | null | null | flare/rpc/trackme.cc | flare-rpc/flare-cpp | c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950 | [
"Apache-2.0"
] | null | null | null | // 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... | 36.378151 | 97 | 0.628205 | flare-rpc |
4115247034dedccdc7036b536c0539ca74cd831f | 1,624 | cpp | C++ | Kattis/Promotions/solution.cpp | caando/Competitive-Programming-Archive | 589781a23bda39aedf5fc437bf9b97c264fd3736 | [
"MIT"
] | 5 | 2021-09-09T09:16:29.000Z | 2022-01-08T11:28:12.000Z | Kattis/Promotions/solution.cpp | zjk2606/Competitive-Programming-Archive | 589781a23bda39aedf5fc437bf9b97c264fd3736 | [
"MIT"
] | 1 | 2021-09-09T09:16:26.000Z | 2021-09-11T04:00:36.000Z | Kattis/Promotions/solution.cpp | zjk2606/Competitive-Programming-Archive | 589781a23bda39aedf5fc437bf9b97c264fd3736 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;
using vii = vector<pii>;
#define fi first
#define se second
#define sz(c) ((int)(c).size())
#define all(c) (c).begin(), (c).end()
#define forn(i,m, n) for (int i = m, nnnn = (n); i < nnnn; ++i)
#def... | 22.873239 | 64 | 0.446429 | caando |
4115695c125b91c599f09041bfb858e332a8b2a0 | 11,416 | cpp | C++ | SofaKernel/framework/sofa/helper/polygon_cube_intersection/polygon_cube_intersection.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | SofaKernel/framework/sofa/helper/polygon_cube_intersection/polygon_cube_intersection.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | SofaKernel/framework/sofa/helper/polygon_cube_intersection/polygon_cube_intersection.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | 35.018405 | 88 | 0.577523 | sofa-framework |
4116916a2efa8e26373674c468980243f492b96a | 2,829 | hpp | C++ | engine/gems/sight/sop_transform.hpp | stereoboy/isaac_sdk_20191213 | 73c863254e626c8d498870189fbfb20be4e10fb3 | [
"FSFAP"
] | 1 | 2020-04-14T13:55:16.000Z | 2020-04-14T13:55:16.000Z | engine/gems/sight/sop_transform.hpp | stereoboy/isaac_sdk_20191213 | 73c863254e626c8d498870189fbfb20be4e10fb3 | [
"FSFAP"
] | 4 | 2020-09-25T22:34:29.000Z | 2022-02-09T23:45:12.000Z | engine/gems/sight/sop_transform.hpp | stereoboy/isaac_sdk_20191213 | 73c863254e626c8d498870189fbfb20be4e10fb3 | [
"FSFAP"
] | 1 | 2020-07-02T11:51:17.000Z | 2020-07-02T11:51:17.000Z | /*
Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 28.867347 | 95 | 0.707317 | stereoboy |
411a4f12928dd8dc223a4a428573a20bd1f5c46c | 5,562 | cpp | C++ | format/tables/TableFactory.cpp | eladraz/morph | e80b93af449471fb2ca9e256188f9a92f631fbc2 | [
"BSD-3-Clause"
] | 4 | 2017-01-24T09:32:23.000Z | 2021-08-20T03:29:54.000Z | format/tables/TableFactory.cpp | eladraz/morph | e80b93af449471fb2ca9e256188f9a92f631fbc2 | [
"BSD-3-Clause"
] | null | null | null | format/tables/TableFactory.cpp | eladraz/morph | e80b93af449471fb2ca9e256188f9a92f631fbc2 | [
"BSD-3-Clause"
] | 1 | 2021-08-20T03:29:55.000Z | 2021-08-20T03:29:55.000Z | /*
* Copyright (c) 2008-2016, Integrity Project Ltd. 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 ... | 50.108108 | 98 | 0.759259 | eladraz |
411eddbb6ede14e3628bb7356455a8b6a0716873 | 2,038 | cpp | C++ | Classes/UI/Chooser.cpp | FrSanchez/snake | 4e2260d0784cd90ddf28a9f209b0d00da3cf66d0 | [
"MIT"
] | null | null | null | Classes/UI/Chooser.cpp | FrSanchez/snake | 4e2260d0784cd90ddf28a9f209b0d00da3cf66d0 | [
"MIT"
] | null | null | null | Classes/UI/Chooser.cpp | FrSanchez/snake | 4e2260d0784cd90ddf28a9f209b0d00da3cf66d0 | [
"MIT"
] | null | null | null | //
// Chooser.cpp
// cocos2d
//
// Created by Francisco Sanchez on 2/11/21.
//
#include "Chooser.h"
USING_NS_CC;
bool Chooser::init()
{
auto numLabel = Label::createWithTTF("1", "Arcade.ttf", 96);
numLabel->setTextColor(Color4B::WHITE);
numLabel->enableOutline(Color4B::GRAY, 5);
numLabel->setAlign... | 27.540541 | 115 | 0.682532 | FrSanchez |
4120345e8fc158ce29269b573dfdf0df69210872 | 2,372 | cc | C++ | chrome/browser/android/media/media_capture_devices_dispatcher_android.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/media/media_capture_devices_dispatcher_android.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/media/media_capture_devices_dispatcher_android.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 2019 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 "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "chrome/android/chrome_jni_headers/MediaCaptureDevicesDispatcherAndroi... | 41.614035 | 87 | 0.79511 | zealoussnow |
4124cc1897b4792aecf6be34bbf76782675087c5 | 1,293 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/AI/behavior/DriveToNodeTreeNodeDefinition.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | include/RED4ext/Scripting/Natives/Generated/AI/behavior/DriveToNodeTreeNodeDefinition.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | include/RED4ext/Scripting/Natives/Generated/AI/behavior/DriveToNodeTreeNodeDefinition.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Scripting/Natives/Generated/AI/behavior/DriveTreeNodeDefinition.hpp>
namespace RED4ext
{
namespace AI { struct ArgumentMapping; }
namespace AI::beha... | 35.916667 | 86 | 0.75406 | jackhumbert |
4126e3c9cf629bf24fe7a1e2e8086171a348c094 | 448 | cpp | C++ | examples/cpp.cpp | kurazu/pycon2015 | fd3878bfb961ccddb0bfd67e704c50355280d271 | [
"CC0-1.0"
] | null | null | null | examples/cpp.cpp | kurazu/pycon2015 | fd3878bfb961ccddb0bfd67e704c50355280d271 | [
"CC0-1.0"
] | null | null | null | examples/cpp.cpp | kurazu/pycon2015 | fd3878bfb961ccddb0bfd67e704c50355280d271 | [
"CC0-1.0"
] | null | null | null | #include <sstream>
#include <string>
static PyObject *
cpp_format(PyObject *self, PyObject * args)
{
const char * name;
unsigned age;
if (!PyArg_ParseTuple(args, "sI", &name, &age)) {
return NULL;
}
std::stringstream ss;
ss << name << " is " << age << " years old.";
std::string form... | 24.888889 | 55 | 0.629464 | kurazu |
4126fda8853410e3bd8a844018220e275c206bf4 | 298 | cpp | C++ | C++ aleatorios/C/soma.cpp | higorslva/projetos-universidade | 92ed784025c85369f722f5d06c7a42fff7957f2e | [
"Apache-2.0"
] | null | null | null | C++ aleatorios/C/soma.cpp | higorslva/projetos-universidade | 92ed784025c85369f722f5d06c7a42fff7957f2e | [
"Apache-2.0"
] | null | null | null | C++ aleatorios/C/soma.cpp | higorslva/projetos-universidade | 92ed784025c85369f722f5d06c7a42fff7957f2e | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main ()
{
int nota;
std::cout << "Digite a nota: ";
std::cin >> nota;
if (nota>=7)
{
printf("Aluno aprovado");
}
else (nota<<7);
{
printf("Aluno reprovado");
}
return 0;
}
| 13.545455 | 36 | 0.456376 | higorslva |
412708460367666b68acce5feceecc6c10028631 | 10,611 | cpp | C++ | costmap_converter-master/src/costmap_converter_node.cpp | RuidongDavidLin/CUMTB_gazebo | a190c1dc17a587c789b5d856b3ee1b6de45e5503 | [
"MIT"
] | 1 | 2021-01-10T10:52:03.000Z | 2021-01-10T10:52:03.000Z | costmap_converter-master/src/costmap_converter_node.cpp | RuidongDavidLin/CUMTB_gazebo | a190c1dc17a587c789b5d856b3ee1b6de45e5503 | [
"MIT"
] | 1 | 2020-11-12T09:53:16.000Z | 2020-11-12T09:53:16.000Z | costmap_converter-master/src/costmap_converter_node.cpp | RuidongDavidLin/CUMTB_gazebo | a190c1dc17a587c789b5d856b3ee1b6de45e5503 | [
"MIT"
] | null | null | null | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2016,
* TU Dortmund - Institute of Control Theory and Systems Engineering.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* m... | 35.727273 | 146 | 0.678447 | RuidongDavidLin |
4127f33642e8c6495190d922f05a0982b8e77e5c | 14,560 | cpp | C++ | fmod_alphabet_player.cpp | nbonaker/ticker | 4a9bab2916344914cbc96910c7eff4d9f0e10570 | [
"MIT"
] | null | null | null | fmod_alphabet_player.cpp | nbonaker/ticker | 4a9bab2916344914cbc96910c7eff4d9f0e10570 | [
"MIT"
] | 1 | 2018-11-06T09:30:23.000Z | 2018-11-06T09:30:23.000Z | fmod_alphabet_player.cpp | nbonaker/ticker | 4a9bab2916344914cbc96910c7eff4d9f0e10570 | [
"MIT"
] | 1 | 2019-01-23T14:46:11.000Z | 2019-01-23T14:46:11.000Z | #include "fmod_alphabet_player.h"
#include "fmod_errors.h"
#include <iostream>
#include <sstream>
//########################################### Initialisation/Release functions
AlphabetPlayer::AlphabetPlayer()
{
m_sound_files.reserve(MAX_ALPHABET);
m_stereo_pos.reserve(MAX_ALPHABET);
m_sound_times.reserve(... | 29.714286 | 80 | 0.593956 | nbonaker |
412c478823e481e9203655721ddd076708469c4b | 467 | cpp | C++ | Greedy Algorithms/activity_scheduling1.cpp | Reactor11/Data-Structures-Practice | 30d758aaece930e27585f9f7a2f904e74925516b | [
"MIT"
] | null | null | null | Greedy Algorithms/activity_scheduling1.cpp | Reactor11/Data-Structures-Practice | 30d758aaece930e27585f9f7a2f904e74925516b | [
"MIT"
] | null | null | null | Greedy Algorithms/activity_scheduling1.cpp | Reactor11/Data-Structures-Practice | 30d758aaece930e27585f9f7a2f904e74925516b | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
int start[n],end[n];
for(int i=0;i<n;i++) cin>>start[i];
for(int i=0;i<n;i++) cin>>end[i];
int count=1,finish=end[0];
cout<<count<<" ";
for(int i=1;i<n;i++)
if(start[i] >= finish){
cout<<i+1<<" "; // g... | 23.35 | 52 | 0.488223 | Reactor11 |
412de801b7bf18544d85cd0fe397097893e39055 | 32,216 | cc | C++ | Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration_step2_SM.cc | malbouis/cmssw | 16173a30d3f0c9ecc5419c474bb4d272c58b65c8 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration_step2_SM.cc | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration_step2_SM.cc | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration_step2_SM.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "CondFormats/EcalObjects/interface/EcalIntercalibConstants.h"
#include "CondTools/Ecal/interface/EcalIntercalibConstantsX... | 37.287037 | 171 | 0.603861 | malbouis |
412fb0da32010ac304b12e1c9e108af3a73bd05f | 614 | cpp | C++ | src/core/p_render/render_graph/resources/RenderResource.cpp | jabronicus/P-Engine | 7786c2f97d19bd2913b706f6afe5087a392b1a3c | [
"MIT"
] | null | null | null | src/core/p_render/render_graph/resources/RenderResource.cpp | jabronicus/P-Engine | 7786c2f97d19bd2913b706f6afe5087a392b1a3c | [
"MIT"
] | null | null | null | src/core/p_render/render_graph/resources/RenderResource.cpp | jabronicus/P-Engine | 7786c2f97d19bd2913b706f6afe5087a392b1a3c | [
"MIT"
] | 1 | 2021-08-24T05:43:01.000Z | 2021-08-24T05:43:01.000Z | #include "../../../../../include/core/p_render/render_graph/resources/RenderResource.hpp"
RenderResource::RenderResource(RenderResource::Type type, unsigned int index, const std::string &name) : _type(type), _index(index), _name(name) {
}
void RenderResource::addWritePass(unsigned int index) {
_writePasses.inser... | 26.695652 | 146 | 0.7443 | jabronicus |
41372fe5a4e67928b8a773b3b884581435962b33 | 593 | cpp | C++ | kernel/acpi.cpp | Ampferl/jonix | 75dc24187b96eb50f210b4362775c04b77844946 | [
"MIT"
] | 7 | 2021-03-23T16:45:41.000Z | 2022-01-04T16:26:56.000Z | kernel/acpi.cpp | Ampferl/jonix | 75dc24187b96eb50f210b4362775c04b77844946 | [
"MIT"
] | 5 | 2021-03-29T07:09:43.000Z | 2021-07-23T22:47:58.000Z | kernel/acpi.cpp | Ampferl/jonix | 75dc24187b96eb50f210b4362775c04b77844946 | [
"MIT"
] | 4 | 2021-06-25T17:25:45.000Z | 2021-07-23T13:05:25.000Z | #include "acpi.h"
namespace ACPI{
void* FindTable(SDTHeader* sdtHeader, char* signature){
int entries = (sdtHeader->Length - sizeof(ACPI::SDTHeader)) / 8;
for (int t = 0; t < entries; ++t) {
ACPI::SDTHeader* newSDTHeader = (ACPI::SDTHeader*)*(uint64_t*)((uint64_t)sdtHeader + sizeof(ACP... | 29.65 | 132 | 0.495784 | Ampferl |
413d48a314dc18b7193703204631fa31c7cdc522 | 3,838 | cpp | C++ | Project2/Project2_Grose.cpp | bgrose/CSCE-240-Adv-Programming-Tech | c7bbd574ef09d2714c1459561fd68ee7bee52ff0 | [
"MIT"
] | 1 | 2020-12-29T03:59:53.000Z | 2020-12-29T03:59:53.000Z | Project2/Project2_Grose.cpp | bgrose/F20CSCE240 | c7bbd574ef09d2714c1459561fd68ee7bee52ff0 | [
"MIT"
] | null | null | null | Project2/Project2_Grose.cpp | bgrose/F20CSCE240 | c7bbd574ef09d2714c1459561fd68ee7bee52ff0 | [
"MIT"
] | null | null | null | /*
* @author Written By Bradley Grose
* @date Completed On 9/9/2020 at 8:01PM
* @summary This code must be able to take in 10 values and
* fill an array with those values. Then it will run using
* Bubble Sort in which it will sort it in increasing order.
* Th... | 29.984375 | 94 | 0.569046 | bgrose |
4140d8757a6bae49932641324d7467c1ec2dfab2 | 25,315 | cpp | C++ | inference-engine/tests/functional/inference_engine/ngraph_reader/broadcast_tests.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 2 | 2020-11-18T14:14:06.000Z | 2020-11-28T04:55:57.000Z | inference-engine/tests/functional/inference_engine/ngraph_reader/broadcast_tests.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 30 | 2020-11-13T11:44:07.000Z | 2022-02-21T13:03:16.000Z | inference-engine/tests/functional/inference_engine/ngraph_reader/broadcast_tests.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 3 | 2021-03-09T08:27:29.000Z | 2021-04-07T04:58:54.000Z | // Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <string>
#include "ngraph_reader_tests.hpp"
TEST_F(NGraphReaderTests, ConvertBroadcastToTiles1) {
std::string model = R"V0G0N(
<net name="Network" version="10">
<layers>
<layer id="14" name="data" type="Para... | 32.876623 | 111 | 0.389097 | anton-potapov |
41414d92ca07f20708af91887577b26290a9df36 | 1,161 | cpp | C++ | willow/src/popx/op/detachx.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | willow/src/popx/op/detachx.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | willow/src/popx/op/detachx.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | // Copyright (c) 2021 Graphcore Ltd. All rights reserved.
#include <popart/names.hpp>
#include <popart/op/detach.hpp>
#include <popart/popx/op/detachx.hpp>
#include <popart/popx/opxmanager.hpp>
namespace popart {
namespace popx {
DetachOpx::DetachOpx(popart::Op *op, popart::popx::Devicex *devicex)
: popart::pop... | 28.317073 | 77 | 0.748493 | gglin001 |
4142a30226da6ff8ae62cb02e8f3d40acdfa51a7 | 2,736 | cpp | C++ | BallsToTheWall/src/ParticleSystem.cpp | JackiBackiBoy/BallsToTheWall | 9a18e3772e1ad2213e2282c59691818305088059 | [
"Apache-2.0"
] | null | null | null | BallsToTheWall/src/ParticleSystem.cpp | JackiBackiBoy/BallsToTheWall | 9a18e3772e1ad2213e2282c59691818305088059 | [
"Apache-2.0"
] | null | null | null | BallsToTheWall/src/ParticleSystem.cpp | JackiBackiBoy/BallsToTheWall | 9a18e3772e1ad2213e2282c59691818305088059 | [
"Apache-2.0"
] | null | null | null | #include "ParticleSystem.h"
#include "TimeTracker.h"
#include "Random.h"
#include "math\Math.h"
#include "SFML/System/Clock.hpp"
#include "Sandbox.h"
sf::Clock tempClock = sf::Clock();
ParticleSystem::ParticleSystem(const unsigned int& aParticleCount)
{
myParticles.resize(aParticleCount);
}
void ParticleSystem::OnU... | 27.636364 | 135 | 0.729898 | JackiBackiBoy |
4144308d06f489eb002cbe3541de831492779f34 | 1,764 | hpp | C++ | src/standard/bits/DD_find_max.hpp | iDingDong/libDDCPP-old | 841260fecc84330ff3bfffba7263f5318f0b4655 | [
"BSD-3-Clause"
] | 1 | 2018-06-01T03:29:34.000Z | 2018-06-01T03:29:34.000Z | src/standard/bits/DD_find_max.hpp | iDingDong/libDDCPP-old | 841260fecc84330ff3bfffba7263f5318f0b4655 | [
"BSD-3-Clause"
] | null | null | null | src/standard/bits/DD_find_max.hpp | iDingDong/libDDCPP-old | 841260fecc84330ff3bfffba7263f5318f0b4655 | [
"BSD-3-Clause"
] | null | null | null | // DDCPP/standard/bits/DD_find_max.hpp
#ifndef DD_FIND_MAX_HPP_INCLUDED_
# define DD_FIND_MAX_HPP_INCLUDED_ 1
# include "DD_Iterator.hpp"
# include "DD_Range.hpp"
# include "DD_LessThan.hpp"
DD_DETAIL_BEGIN_
template <typename UndirectionalIteratorT_, typename BinaryPredicateT_>
UndirectionalIteratorT_ find_max(
... | 24.164384 | 84 | 0.790249 | iDingDong |
4147724ab37e2fe0d5ebfd6bcf9419b5d43960d8 | 635 | cpp | C++ | hal/src/driver/nacl/epinput_ppapi.cpp | Euclideon/udshell | 795e2d832429c8e5e47196742afc4b452aa23ec3 | [
"MIT"
] | null | null | null | hal/src/driver/nacl/epinput_ppapi.cpp | Euclideon/udshell | 795e2d832429c8e5e47196742afc4b452aa23ec3 | [
"MIT"
] | null | null | null | hal/src/driver/nacl/epinput_ppapi.cpp | Euclideon/udshell | 795e2d832429c8e5e47196742afc4b452aa23ec3 | [
"MIT"
] | null | null | null | #include "driver.h"
#if EPINPUT_DRIVER == EPDRIVER_PPAPI
#include "input_internal.h"
// --------------------------------------------------------
// Author: Manu Evans, March 2015
void epInput_InitInternal()
{
}
// --------------------------------------------------------
// Author: Manu Evans, March 2015
void epIn... | 16.282051 | 59 | 0.554331 | Euclideon |
414b8318271c43da7f97da01afe764898d637779 | 16,353 | cpp | C++ | Examples/PBD/PBDTissueStitch/PbdTissueStitchExample.cpp | Kitware/iMSTK | fa84907c77c524a45c126d836f15275d76648be6 | [
"Apache-2.0"
] | 15 | 2021-09-20T17:33:52.000Z | 2022-02-12T09:49:57.000Z | Examples/PBD/PBDTissueStitch/PbdTissueStitchExample.cpp | Kitware/iMSTK | fa84907c77c524a45c126d836f15275d76648be6 | [
"Apache-2.0"
] | null | null | null | Examples/PBD/PBDTissueStitch/PbdTissueStitchExample.cpp | Kitware/iMSTK | fa84907c77c524a45c126d836f15275d76648be6 | [
"Apache-2.0"
] | 3 | 2021-10-06T19:55:41.000Z | 2022-02-17T21:59:16.000Z | /*=========================================================================
Library: iMSTK
Copyright (c) Kitware, Inc. & Center for Modeling, Simulation,
& Imaging in Medicine, Rensselaer Polytechnic Institute.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file e... | 37.766744 | 117 | 0.624778 | Kitware |
414b9092f3677eff4b31ef8fa98e0ed3a43067c0 | 4,710 | hpp | C++ | src/libraries/core/containers/Lists/Histogram/Histogram.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/containers/Lists/Histogram/Histogram.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/containers/Lists/Histogram/Histogram.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011-2015 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
... | 23.432836 | 79 | 0.463482 | MrAwesomeRocks |
414e9cb32d6ebfc04a1754091e33b0c03f70c528 | 596 | hpp | C++ | wrapper/bindings/utility.hpp | Karanlos/gli-rs | 494a2dfec786824a5c3fcc5eb21c5d786076a48f | [
"MIT"
] | null | null | null | wrapper/bindings/utility.hpp | Karanlos/gli-rs | 494a2dfec786824a5c3fcc5eb21c5d786076a48f | [
"MIT"
] | null | null | null | wrapper/bindings/utility.hpp | Karanlos/gli-rs | 494a2dfec786824a5c3fcc5eb21c5d786076a48f | [
"MIT"
] | null | null | null |
#include <glm/gtc/epsilon.hpp>
extern "C" {
namespace bindings {
struct TexelType4F {
float content[4];
};
TexelType4F vec4ToTex4F(gli::vec4 raw) {
TexelType4F value;
value.content[0] = raw[0];
value.content[1] = raw[1];
value... | 19.866667 | 89 | 0.525168 | Karanlos |
4151c5492f764904c167f82d37088d71179cb616 | 9,871 | cpp | C++ | tests/tests/result_tests/when_any_tests.cpp | PazerOP/concurrencpp | fbc8c475d5a534c5d222d9b241ad9299f2413969 | [
"MIT"
] | 1 | 2020-10-29T21:43:36.000Z | 2020-10-29T21:43:36.000Z | tests/tests/result_tests/when_any_tests.cpp | PazerOP/concurrencpp | fbc8c475d5a534c5d222d9b241ad9299f2413969 | [
"MIT"
] | null | null | null | tests/tests/result_tests/when_any_tests.cpp | PazerOP/concurrencpp | fbc8c475d5a534c5d222d9b241ad9299f2413969 | [
"MIT"
] | null | null | null | #include "concurrencpp.h"
#include "../all_tests.h"
#include "../test_utils/test_ready_result.h"
#include "../test_utils/executor_shutdowner.h"
#include "../../tester/tester.h"
#include "../../helpers/assertions.h"
#include "../../helpers/random.h"
#include "../../helpers/object_observer.h"
namespace concurrencpp::t... | 27.495822 | 107 | 0.714315 | PazerOP |
a9908aad6d1a2f554048be62d3b1c272c139c064 | 38,879 | cpp | C++ | src/runtime/ext/ext_ipc.ext_hhvm.cpp | burhan/hiphop-php | 6e02d7072a02fbaad1856878c2515e35f7e529f0 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2020-12-02T03:08:16.000Z | 2020-12-02T03:08:16.000Z | src/runtime/ext/ext_ipc.ext_hhvm.cpp | burhan/hiphop-php | 6e02d7072a02fbaad1856878c2515e35f7e529f0 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | src/runtime/ext/ext_ipc.ext_hhvm.cpp | burhan/hiphop-php | 6e02d7072a02fbaad1856878c2515e35f7e529f0 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | 33.603284 | 332 | 0.629929 | burhan |
a9910a040a66f02b9a400c54c40bdaa89c9e0521 | 873 | hpp | C++ | builder/include/builder/CarBuilder.hpp | hwnBEAST/cpp_design_patterns | 42e04644a9c4ce8ff8bafefd37b2cee8d0628f45 | [
"MIT"
] | null | null | null | builder/include/builder/CarBuilder.hpp | hwnBEAST/cpp_design_patterns | 42e04644a9c4ce8ff8bafefd37b2cee8d0628f45 | [
"MIT"
] | null | null | null | builder/include/builder/CarBuilder.hpp | hwnBEAST/cpp_design_patterns | 42e04644a9c4ce8ff8bafefd37b2cee8d0628f45 | [
"MIT"
] | null | null | null | /**
* @file
*
* @brief
*
* @copyright Copyright (C) 2021. Full licence notice is in the LICENCE file.
*/
#pragma once
#include "builder/Car.hpp"
#include <cstdint>
#include <string>
namespace Builder
{
class CarBuilder
{
public:
/*--- Constructors ---*/
CarBuilder(const CarBuilder& other) = delete;
... | 21.825 | 80 | 0.689576 | hwnBEAST |