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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a6625f3a12c32ff8571b5f1c6890ff90c1b70a65 | 753 | cpp | C++ | experiment_log/DMA_Sources/sorter.cpp | KukyNekoi/fpga_index_accelerator | 0026e0deb31c556cc3770ed2be64eae93257949f | [
"MIT"
] | 1 | 2018-07-12T09:43:05.000Z | 2018-07-12T09:43:05.000Z | experiment_log/DMA_Sources/sorter.cpp | honorpeter/fpga_index_accelerator | c09d222d3ad55d6bb354dee8aff97a4f519df89d | [
"MIT"
] | null | null | null | experiment_log/DMA_Sources/sorter.cpp | honorpeter/fpga_index_accelerator | c09d222d3ad55d6bb354dee8aff97a4f519df89d | [
"MIT"
] | 1 | 2019-04-09T02:38:27.000Z | 2019-04-09T02:38:27.000Z | // sort algorithm example
#include <stdint.h>
#include <sys/time.h>
#include <iostream> // std::cout
#include <algorithm> // std::sort
#include <vector> // std::vector
struct timespec start, end;
int main () {
std::vector<int> myvector; // 32 71 12 45 26 80 53 33
for(int i=0; i<10000; ... | 26.892857 | 99 | 0.63745 | KukyNekoi |
a669435ab8b891f596c7b02488481c65554ddb4b | 31,811 | cpp | C++ | SOURCES/ui/src/tacref/ui_tacref.cpp | IsraelyFlightSimulator/Negev-Storm | 86de63e195577339f6e4a94198bedd31833a8be8 | [
"Unlicense"
] | 1 | 2021-02-19T06:06:31.000Z | 2021-02-19T06:06:31.000Z | src/ui/src/tacref/ui_tacref.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | null | null | null | src/ui/src/tacref/ui_tacref.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | 2 | 2019-08-20T13:35:13.000Z | 2021-04-24T07:32:04.000Z | #include <windows.h>
#include "Graphics\Include\TimeMgr.h"
#include "Graphics\Include\imagebuf.h"
#include "dxutil\ddutil.h"
#include "dispcfg.h"
#include "Graphics\Include\renderow.h"
#include "Graphics\Include\RViewPnt.h"
#include "Graphics\Include\drawbsp.h"
#include "unit.h"
#include "classtbl.h"
#include "cmpclass... | 24.394939 | 134 | 0.696992 | IsraelyFlightSimulator |
a66dd5429b8504a5b2ae2f171b29c04578ac4401 | 23,601 | cpp | C++ | src/edittabledialog.cpp | nfette/sorpsim-opt | d85df8c6a99fa181bd1fdc6f7fbea5f7f8be2c77 | [
"RSA-MD"
] | null | null | null | src/edittabledialog.cpp | nfette/sorpsim-opt | d85df8c6a99fa181bd1fdc6f7fbea5f7f8be2c77 | [
"RSA-MD"
] | 1 | 2018-01-26T21:15:43.000Z | 2018-01-31T19:42:21.000Z | src/edittabledialog.cpp | nfette/sorpsim-opt | d85df8c6a99fa181bd1fdc6f7fbea5f7f8be2c77 | [
"RSA-MD"
] | null | null | null | /*! \file edittabledialog.cpp
\brief dialog to edit the column variables of an existing table
This file is part of SorpSim and is distributed under terms in the file LICENSE.
Developed by Zhiyao Yang and Dr. Ming Qu for ORNL.
\author Zhiyao Yang (zhiyaoYang)
\author Dr. Ming Qu
\author Nichol... | 31.094862 | 139 | 0.552985 | nfette |
a6720c543d7195f9962a71a8b29ac93d70927f1e | 1,040 | hpp | C++ | include/eve/module/real/core/function/regular/simd/arm/neon/if_else.hpp | leha-bot/eve | 30e7a7f6bcc5cf524a6c2cc624234148eee847be | [
"MIT"
] | 340 | 2020-09-16T21:12:48.000Z | 2022-03-28T15:40:33.000Z | include/eve/module/real/core/function/regular/simd/arm/neon/if_else.hpp | leha-bot/eve | 30e7a7f6bcc5cf524a6c2cc624234148eee847be | [
"MIT"
] | 383 | 2020-09-17T06:56:35.000Z | 2022-03-13T15:58:53.000Z | include/eve/module/real/core/function/regular/simd/arm/neon/if_else.hpp | leha-bot/eve | 30e7a7f6bcc5cf524a6c2cc624234148eee847be | [
"MIT"
] | 28 | 2021-02-27T23:11:23.000Z | 2022-03-25T12:31:29.000Z | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 35.862069 | 100 | 0.411538 | leha-bot |
a6734c41c0f487bebea5559765278eab2c2ab52c | 81 | cpp | C++ | Behavioral/NullObject/src/File.cpp | craviee/design-patterns-modern-cpp | 39896c8a2491c5599f79afa65a07deda2e4e7dd7 | [
"Unlicense"
] | 3 | 2019-11-15T01:38:31.000Z | 2020-04-21T13:04:19.000Z | Behavioral/NullObject/src/File.cpp | craviee/design-patterns-modern-cpp | 39896c8a2491c5599f79afa65a07deda2e4e7dd7 | [
"Unlicense"
] | 23 | 2019-11-29T09:13:42.000Z | 2020-02-05T14:53:03.000Z | Behavioral/NullObject/src/File.cpp | craviee/design-patterns-modern-cpp | 39896c8a2491c5599f79afa65a07deda2e4e7dd7 | [
"Unlicense"
] | null | null | null | #include "File.hpp"
void File::readFile()
{
logger->write("READING FILE");
} | 13.5 | 34 | 0.641975 | craviee |
a673b2350443245e8db1c930f09d0a0ff837d445 | 743 | cpp | C++ | free_gait_rviz_plugin/src/rviz/properties/line_edit_with_slider.cpp | HeroWithL/free_gaitc | ac4bc0ced56d0619d2fde105d2712fdf2507e245 | [
"BSD-3-Clause"
] | 330 | 2016-10-25T14:04:02.000Z | 2022-03-30T12:31:41.000Z | free_gait_rviz_plugin/src/rviz/properties/line_edit_with_slider.cpp | HeroWithL/free_gaitc | ac4bc0ced56d0619d2fde105d2712fdf2507e245 | [
"BSD-3-Clause"
] | 47 | 2016-08-25T14:10:23.000Z | 2020-09-21T17:25:05.000Z | free_gait_rviz_plugin/src/rviz/properties/line_edit_with_slider.cpp | HeroWithL/free_gaitc | ac4bc0ced56d0619d2fde105d2712fdf2507e245 | [
"BSD-3-Clause"
] | 122 | 2016-10-25T14:04:16.000Z | 2022-03-26T21:32:51.000Z | /*
* line_edit_with_slider.cpp
*
* Created on: Dec 12, 2016
* Author: Péter Fankhauser
* Institute: ETH Zurich, Robotic Systems Lab
*/
#include "rviz/properties/line_edit_with_slider.h"
#include <QSlider>
namespace rviz
{
LineEditWithSlider::LineEditWithSlider( QWidget* parent )
: QLineEdit( parent )
{
... | 21.852941 | 73 | 0.726783 | HeroWithL |
a67e6f9e24ddd6c8cf91b28e95d693a5ba9327f1 | 1,801 | cpp | C++ | aws-cpp-sdk-sagemaker/source/model/UiConfig.cpp | dburken/aws-sdk-cpp | c2c03a23a7afe89e99d181872e2fa2c284237e15 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-sagemaker/source/model/UiConfig.cpp | dburken/aws-sdk-cpp | c2c03a23a7afe89e99d181872e2fa2c284237e15 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-sagemaker/source/model/UiConfig.cpp | dburken/aws-sdk-cpp | c2c03a23a7afe89e99d181872e2fa2c284237e15 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 21.188235 | 78 | 0.739589 | dburken |
a680097c5ef11ded9f490731ac819c7b945110a5 | 1,334 | cpp | C++ | components/SecretLeased.cpp | eburghar/cconfd | 7e053b695e07bc0858902db7d24b62499936ff29 | [
"Apache-2.0",
"MIT"
] | null | null | null | components/SecretLeased.cpp | eburghar/cconfd | 7e053b695e07bc0858902db7d24b62499936ff29 | [
"Apache-2.0",
"MIT"
] | null | null | null | components/SecretLeased.cpp | eburghar/cconfd | 7e053b695e07bc0858902db7d24b62499936ff29 | [
"Apache-2.0",
"MIT"
] | null | null | null | #include "SecretLeased.h"
#include "LeaseSystemClock.h"
#include <unordered_map>
SecretLeased::SecretLeased(Lease* lease,
const std::string& name,
const std::string& path,
const std::string& lease_id,
const std... | 21.174603 | 78 | 0.631934 | eburghar |
a684d107c0a5faf19f50409621f2b4540882948c | 2,197 | ipp | C++ | Siv3D/include/Siv3D/detail/MathConstants.ipp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 2 | 2021-11-22T00:52:48.000Z | 2021-12-24T09:33:55.000Z | Siv3D/include/Siv3D/detail/MathConstants.ipp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 32 | 2021-10-09T10:04:11.000Z | 2022-02-25T06:10:13.000Z | Siv3D/include/Siv3D/detail/MathConstants.ipp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 1 | 2021-12-31T05:08:00.000Z | 2021-12-31T05:08:00.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2022 Ryo Suzuki
// Copyright (c) 2016-2022 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
namespace s3d
{
inline namespa... | 26.154762 | 81 | 0.653163 | tas9n |
a68651f25ec9c3a7489f1dbed0fe5b35db3d5a27 | 2,059 | cpp | C++ | Deggltest/Skip.cpp | Leonetienne/Deggl | 3cc66d93009b7e316fdc5d6dd22be15a8c54ae10 | [
"BSD-2-Clause"
] | null | null | null | Deggltest/Skip.cpp | Leonetienne/Deggl | 3cc66d93009b7e316fdc5d6dd22be15a8c54ae10 | [
"BSD-2-Clause"
] | null | null | null | Deggltest/Skip.cpp | Leonetienne/Deggl | 3cc66d93009b7e316fdc5d6dd22be15a8c54ae10 | [
"BSD-2-Clause"
] | null | null | null | #include "CppUnitTest.h"
#include "../Deggl/CodeParser.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
// Skip does not need that much testing because it only is an offset
// to the already well tested std::string::find
namespace _CodeParser
{
TEST_CLASS(Skip)
{
public:
// Tests... | 25.109756 | 96 | 0.641574 | Leonetienne |
a6888ed9eb781c44bb4322a4e0dd76a267b06b44 | 2,252 | cpp | C++ | 06/uva12657.cpp | ericxie/aoapc | 10092cebbc5b47364680ffecb5269d94349330e8 | [
"MIT"
] | 10 | 2019-11-10T10:37:23.000Z | 2021-06-16T14:18:22.000Z | 06/uva12657.cpp | ericxie/aoapc | 10092cebbc5b47364680ffecb5269d94349330e8 | [
"MIT"
] | null | null | null | 06/uva12657.cpp | ericxie/aoapc | 10092cebbc5b47364680ffecb5269d94349330e8 | [
"MIT"
] | null | null | null | #include <cstdio>
struct dlink{
struct node{
struct node *link[2];
};
node *v;
int n,dir;
#define prev dir
#define next dir^1
dlink(int n):n(n),dir(0){
v = new node[n+2];
v[0].link[next] = v + 1;
v[0].link[prev] = NULL;
v[n+1].link[prev] = v+n;
v[n+1].link[next] = NULL;
for(int i=1;i<=n;i++){
v[... | 18.459016 | 40 | 0.523091 | ericxie |
a68bcc29136373fcf58be4b0c88a3fdc78bd84b5 | 976 | cpp | C++ | samples/snippets/cpp/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/CPP/source.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/CPP/source.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/CPP/source.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | #using <System.Windows.Forms.dll>
#using <System.Drawing.dll>
#using <System.dll>
#using <System.Data.dll>
using namespace System;
using namespace System::IO;
using namespace System::Data;
using namespace System::Drawing::Printing;
using namespace System::Windows::Forms;
public ref class myControllerImplem... | 25.684211 | 92 | 0.670082 | hamarb123 |
a68db9fa0e10e86cce9ed43974b288d67113c274 | 1,242 | cpp | C++ | src/graphics/animation_curve.cpp | kevinfyc/KGE | 3b3d805317765c1c67f7584f8c1eee6e7c94c3a3 | [
"Apache-2.0"
] | 1 | 2019-11-08T09:57:15.000Z | 2019-11-08T09:57:15.000Z | src/graphics/animation_curve.cpp | kevinfyc/KGE | 3b3d805317765c1c67f7584f8c1eee6e7c94c3a3 | [
"Apache-2.0"
] | null | null | null | src/graphics/animation_curve.cpp | kevinfyc/KGE | 3b3d805317765c1c67f7584f8c1eee6e7c94c3a3 | [
"Apache-2.0"
] | null | null | null | //
// animation_curve.cpp
// libkge
//
// Created by kevin on 17-10-16.
//
//
#include "animation_curve.h"
#include <math.h>
#include "math/vector3.hpp"
namespace kge
{
AnimationCurve AnimationCurve::DefaultLinear()
{
AnimationCurve c;
c.keys.push_back(Keyframe(0, 0, 1, 1));
c.keys.push_back(Keyframe(1, 1... | 18.818182 | 85 | 0.595008 | kevinfyc |
a68ddf1ea633e71794110d08ed61754861e2542e | 3,123 | hxx | C++ | src/interfaces/python/opengm/inference/param/multicut_param.hxx | yanlend/opengm | 910cba0323ddafd1f1b8bb5d4483d77dba234efd | [
"MIT"
] | null | null | null | src/interfaces/python/opengm/inference/param/multicut_param.hxx | yanlend/opengm | 910cba0323ddafd1f1b8bb5d4483d77dba234efd | [
"MIT"
] | null | null | null | src/interfaces/python/opengm/inference/param/multicut_param.hxx | yanlend/opengm | 910cba0323ddafd1f1b8bb5d4483d77dba234efd | [
"MIT"
] | null | null | null | #ifdef WITH_CPLEX
#ifndef MULTICUT_PARAM
#define MULTICUT_PARAM
#include "param_exporter_base.hxx"
//solver specific
#include <opengm/inference/multicut.hxx>
using namespace boost::python;
template<class INFERENCE>
class InfParamExporterMulticut{
public:
typedef typename INFERENCE::ValueType ValueType;
typede... | 40.038462 | 153 | 0.645853 | yanlend |
a6982e31bc1b8676c90f1db37a18eaf8f76d3eb0 | 1,697 | cc | C++ | netqre2dt/rpc/server.cc | SleepyToDeath/NetQRE | 0176a31afa45faa4877974a4a0575a4e60534090 | [
"MIT"
] | 2 | 2021-03-30T15:25:44.000Z | 2021-05-14T07:22:25.000Z | netqre2dt/rpc/server.cc | SleepyToDeath/NetQRE | 0176a31afa45faa4877974a4a0575a4e60534090 | [
"MIT"
] | null | null | null | netqre2dt/rpc/server.cc | SleepyToDeath/NetQRE | 0176a31afa45faa4877974a4a0575a4e60534090 | [
"MIT"
] | null | null | null | #include <rpc/server.h>
#include <iostream>
#include <string>
#include "client.hpp"
#include "interface.hpp"
#include "../interpreter.h"
#include "../parser.h"
std::unique_ptr<GeneralInterpreter> GeneralProgram::interpreter = nullptr;
Netqre::Interpreter interpreter;
Netqre::NetqreParser parser;
int main(int argc, c... | 24.594203 | 109 | 0.690631 | SleepyToDeath |
a698e4d9df4179f82c77f61ef1002c6b0897d73d | 5,170 | hpp | C++ | q_lib/include/q/utility/bitset.hpp | DSP-Works/Q | 8604bb2bfbce13e1ab92ea6803cfbcf4035a17e9 | [
"MIT"
] | 447 | 2020-05-18T07:46:17.000Z | 2022-03-31T14:37:09.000Z | q_lib/include/q/utility/bitset.hpp | DSP-Works/Q | 8604bb2bfbce13e1ab92ea6803cfbcf4035a17e9 | [
"MIT"
] | 21 | 2020-05-18T13:14:06.000Z | 2022-03-26T06:58:11.000Z | q_lib/include/q/utility/bitset.hpp | DSP-Works/Q | 8604bb2bfbce13e1ab92ea6803cfbcf4035a17e9 | [
"MIT"
] | 103 | 2020-05-27T21:45:14.000Z | 2022-03-15T12:31:18.000Z | /*=============================================================================
Copyright (c) 2014-2021 Joel de Guzman. All rights reserved.
Distributed under the MIT License [ https://opensource.org/licenses/MIT ]
=============================================================================*/
#if !defined(CYCFI... | 26.512821 | 84 | 0.49207 | DSP-Works |
a69c714b0276724ba7709dbe5118cf93de1ccebd | 419 | cpp | C++ | test/pita_test.cpp | tsukimizake/Pita | 8da387004823589fd774c473b090cc052574b682 | [
"MIT"
] | null | null | null | test/pita_test.cpp | tsukimizake/Pita | 8da387004823589fd774c473b090cc052574b682 | [
"MIT"
] | null | null | null | test/pita_test.cpp | tsukimizake/Pita | 8da387004823589fd774c473b090cc052574b682 | [
"MIT"
] | null | null | null | #define NOMINMAX
#define BOOST_TEST_MAIN
#include <boost/test/included/unit_test.hpp>
#include <Pita/Program.hpp>
BOOST_AUTO_TEST_SUITE(cgl)
BOOST_AUTO_TEST_CASE(test_case1)
{
Program program;
std::string test1 = u8R"(
a = 1
+2
)";
program.run(test1, false);
BOOST_CHECK(program.isSucceeded());
auto opt = progr... | 15.518519 | 44 | 0.732697 | tsukimizake |
a69c769e0d00ba4b81a7a308ba2d1688ec78570b | 142 | hpp | C++ | Pong/Hangman/common.hpp | LaBlazer/skoolshit | fa4a349bc7c3d27a618b906cf55b9b246d946a8a | [
"Apache-2.0"
] | null | null | null | Pong/Hangman/common.hpp | LaBlazer/skoolshit | fa4a349bc7c3d27a618b906cf55b9b246d946a8a | [
"Apache-2.0"
] | null | null | null | Pong/Hangman/common.hpp | LaBlazer/skoolshit | fa4a349bc7c3d27a618b906cf55b9b246d946a8a | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp> | 20.285714 | 28 | 0.746479 | LaBlazer |
a69f5041891120c824ef6c0000395acc17a8c15a | 452 | cpp | C++ | src/bump/OutOfRangeError.cpp | sourada/bump | a4ca3f3073e3f203fe0e6c9688726cd746513662 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/bump/OutOfRangeError.cpp | sourada/bump | a4ca3f3073e3f203fe0e6c9688726cd746513662 | [
"BSD-2-Clause-FreeBSD"
] | 7 | 2015-05-04T01:09:18.000Z | 2021-06-02T18:27:12.000Z | src/bump/OutOfRangeError.cpp | sourada/bump | a4ca3f3073e3f203fe0e6c9688726cd746513662 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | //
// OutOfRangeError.cpp
// Bump
//
// Created by Christian Noon on 1/3/13.
// Copyright (c) 2013 Christian Noon. All rights reserved.
//
// Bump headers
#include <bump/OutOfRangeError.h>
namespace bump {
OutOfRangeError::OutOfRangeError(const String& description, const String& location) throw() :
RuntimeError("bu... | 17.384615 | 93 | 0.716814 | sourada |
a6a78108b7cefa9500b3684f9010f110ff1a2575 | 1,167 | cpp | C++ | old/src/render/RenderGraph.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | 5 | 2018-08-16T00:55:33.000Z | 2020-06-19T14:30:17.000Z | old/src/render/RenderGraph.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | old/src/render/RenderGraph.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | #include "render/RenderGraph.hpp"
namespace vpsk {
RenderGraph::RenderGraph(const vpr::Device * dvc) : device(dvc), descriptorResources(std::make_unique<DescriptorResources>(dvc)) {}
PipelineSubmission & RenderGraph::AddSubmission(const std::string & name, VkPipelineStageFlags stages) {
auto iter = s... | 34.323529 | 135 | 0.642674 | fuchstraumer |
16ff21fe411db3318b8a1211710a66cd26eb9629 | 2,530 | hpp | C++ | app/thisPlayer/ThisPlayer.hpp | isonil/survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2017-05-12T10:12:41.000Z | 2017-05-12T10:12:41.000Z | app/thisPlayer/ThisPlayer.hpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | null | null | null | app/thisPlayer/ThisPlayer.hpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2019-01-09T04:05:36.000Z | 2019-01-09T04:05:36.000Z | #ifndef APP_THIS_PLAYER_HPP
#define APP_THIS_PLAYER_HPP
#include "FPPItemModelController.hpp"
#include "ItemCurrentlyDragged.hpp"
#include "StructureCurrentlyDesignated.hpp"
#include "ItemInHands.hpp"
#include "PointedEntity.hpp"
#include "DeconstructionTracker.hpp"
#include "RevivingTracker.hpp"
#include "ItemContain... | 29.418605 | 80 | 0.793676 | isonil |
e5009e1965153e4cb85a34c5a0b2590d85717ee3 | 174 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/version_of/libzip.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/version_of/libzip.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/version_of/libzip.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
#ifndef LIBZIP_VERSION
# include <zipconf.h>
#endif
namespace msw
{
static char const* version_of_libzip()
{
return LIBZIP_VERSION;
}
}
| 11.6 | 42 | 0.655172 | yklishevich |
e50384f68413d961a52dcb8c15c367f2c6ec3147 | 156 | cpp | C++ | src/utils.cpp | tj314/mdpc-gf-p | 613f32cd498f864a9036759e958f5e606328b562 | [
"BSD-3-Clause"
] | null | null | null | src/utils.cpp | tj314/mdpc-gf-p | 613f32cd498f864a9036759e958f5e606328b562 | [
"BSD-3-Clause"
] | null | null | null | src/utils.cpp | tj314/mdpc-gf-p | 613f32cd498f864a9036759e958f5e606328b562 | [
"BSD-3-Clause"
] | 1 | 2022-03-29T09:14:52.000Z | 2022-03-29T09:14:52.000Z | #include "utils.hpp"
auto floor_mod(long num, long modulo) -> long {
num %= modulo;
if (num < 0) {
num += modulo;
}
return num;
}
| 14.181818 | 47 | 0.525641 | tj314 |
e5069835230a3db20db10ac6cfa2c94e15b00273 | 9,948 | cc | C++ | EvtGen1_06_00/validation/testCPVDecays.cc | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | EvtGen1_06_00/validation/testCPVDecays.cc | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | EvtGen1_06_00/validation/testCPVDecays.cc | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | // Program to create ROOT files for EvtGen validation plots.
// This looks at the 1st generation daughters and stores 4-momenta
// info into a ROOT file for further analysis.
// Useful for Pythia, Photos and Tauola decay tests.
#include "EvtGen/EvtGen.hh"
#include "EvtGenBase/EvtParticle.hh"
#include "EvtGenBase/EvtP... | 26.248021 | 91 | 0.667973 | klendathu2k |
e50ab5ae535b49550f25d6b2fbe9e2e7f7b4e79b | 210 | hpp | C++ | include/ioh/problem/submodular.hpp | IOHprofiler/IOHExperimenter | 3ac12f2cdf91047f5ad04e3db4a065efc401e9c5 | [
"BSD-3-Clause"
] | null | null | null | include/ioh/problem/submodular.hpp | IOHprofiler/IOHExperimenter | 3ac12f2cdf91047f5ad04e3db4a065efc401e9c5 | [
"BSD-3-Clause"
] | null | null | null | include/ioh/problem/submodular.hpp | IOHprofiler/IOHExperimenter | 3ac12f2cdf91047f5ad04e3db4a065efc401e9c5 | [
"BSD-3-Clause"
] | 1 | 2019-03-07T10:33:15.000Z | 2019-03-07T10:33:15.000Z | #pragma once
#include "submodular/graph_problem.hpp"
#include "submodular/max_cut.hpp"
#include "submodular/max_coverage.hpp"
#include "submodular/max_influence.hpp"
#include "submodular/pack_while_travel.hpp" | 30 | 43 | 0.819048 | IOHprofiler |
e50abcd4c1bce5ea54e349ba5986af36d81ea9bf | 183 | cpp | C++ | Code full house/buoi7-nguyen dinh trung duc-ve hinh/HinhVe/bai9 ve hinh hang so.cpp | ducyb2001/CbyTrungDuc | 0e93394dce600876a098b90ae969575bac3788e1 | [
"Apache-2.0"
] | null | null | null | Code full house/buoi7-nguyen dinh trung duc-ve hinh/HinhVe/bai9 ve hinh hang so.cpp | ducyb2001/CbyTrungDuc | 0e93394dce600876a098b90ae969575bac3788e1 | [
"Apache-2.0"
] | null | null | null | Code full house/buoi7-nguyen dinh trung duc-ve hinh/HinhVe/bai9 ve hinh hang so.cpp | ducyb2001/CbyTrungDuc | 0e93394dce600876a098b90ae969575bac3788e1 | [
"Apache-2.0"
] | null | null | null | /*bai 9 ve hinh hang so */
#include<stdio.h>
int main (){
int i,j,n;
scanf("%d", &n);
for(i=0;i<n;i++){
for(j=i*n+1;j<=i*n+n;j++){
printf("%d ", j);
}
printf("\n");
}
}
| 13.071429 | 28 | 0.459016 | ducyb2001 |
e50ddc4f31cc42ad2e0633d32a2c00dd0a68c58b | 316 | hpp | C++ | rice/detail/win32.hpp | keyme/rice | 4b5e4ad3e2294a1b58886fb946eb26e3512599d9 | [
"BSD-2-Clause"
] | 11 | 2015-02-09T12:13:45.000Z | 2019-11-25T01:14:31.000Z | rice/detail/win32.hpp | jsomers/rice | 6bbcc2dd85d010a1108a4d7ac7ece39b1c1210f5 | [
"BSD-2-Clause"
] | 3 | 2016-12-26T19:31:29.000Z | 2021-04-13T12:32:58.000Z | rice/detail/win32.hpp | jsomers/rice | 6bbcc2dd85d010a1108a4d7ac7ece39b1c1210f5 | [
"BSD-2-Clause"
] | 2 | 2019-11-25T01:14:35.000Z | 2021-09-29T04:57:36.000Z | #ifndef Rice__detail__win32__hpp_
#define Rice__detail__win32__hpp_
/*! \file
* \brief Undefine all the evil macros that are defined in win32.h
*/
// None of these macros are used in Ruby header files
#undef bind
#undef read
#undef write
#undef send
#undef recv
#undef times
#endif // Rice__detail__win32__hpp_
| 18.588235 | 66 | 0.772152 | keyme |
e50e9ec6336f355e0a43118d6444394a74189bfb | 3,080 | hpp | C++ | bsplines/include/bsplines/manifolds/EuclideanSpace.hpp | Curium-sg/aslam_splines | d2c8c69d28d2f742b1d96a6a4e43a5c5112497af | [
"BSD-3-Clause"
] | null | null | null | bsplines/include/bsplines/manifolds/EuclideanSpace.hpp | Curium-sg/aslam_splines | d2c8c69d28d2f742b1d96a6a4e43a5c5112497af | [
"BSD-3-Clause"
] | null | null | null | bsplines/include/bsplines/manifolds/EuclideanSpace.hpp | Curium-sg/aslam_splines | d2c8c69d28d2f742b1d96a6a4e43a5c5112497af | [
"BSD-3-Clause"
] | null | null | null | /*
* EuclideanSpace.hpp
*
* Created on: Jul 26, 2012
* Author: hannes
*/
#ifndef FLATRIEMANNIANGEOMETRY_HPP_
#define FLATRIEMANNIANGEOMETRY_HPP_
#include "LieGroup.hpp"
namespace manifolds {
template <int IDimension = Eigen::Dynamic, typename TScalar = double>
struct EuclideanSpaceConf : public LieGrou... | 47.384615 | 193 | 0.794156 | Curium-sg |
e512feac746c2684e08d9e9b26d80fb70cc63e62 | 1,974 | cpp | C++ | src/glm.cpp | rafalcieslak/RGK | 664e4e43a6b601d5f6415879afc8e37a50a291cd | [
"Zlib"
] | 49 | 2016-10-16T06:20:45.000Z | 2021-02-25T08:15:11.000Z | src/glm.cpp | rafalcieslak/RGK | 664e4e43a6b601d5f6415879afc8e37a50a291cd | [
"Zlib"
] | null | null | null | src/glm.cpp | rafalcieslak/RGK | 664e4e43a6b601d5f6415879afc8e37a50a291cd | [
"Zlib"
] | 3 | 2017-04-24T17:25:15.000Z | 2018-02-23T09:41:34.000Z | #include "glm.hpp"
glm::quat RotationBetweenVectors(glm::vec3 start, glm::vec3 dest){
start = normalize(start);
dest = normalize(dest);
float cosTheta = dot(start, dest);
glm::vec3 rotationAxis;
if (cosTheta < -1 + 0.001f){
// special case when vectors in opposite directions:
// t... | 32.9 | 90 | 0.561297 | rafalcieslak |
e51bf37192adc8b2bb8ef357049693676311c1c6 | 1,029 | hpp | C++ | include/scalapackpp/householder/unmqr.hpp | evaleev/scalapackpp | bf17a7246af38d34523bd0099b01d9961d06d311 | [
"BSD-3-Clause"
] | 2 | 2021-11-30T15:04:15.000Z | 2021-11-30T18:41:58.000Z | include/scalapackpp/householder/unmqr.hpp | evaleev/scalapackpp | bf17a7246af38d34523bd0099b01d9961d06d311 | [
"BSD-3-Clause"
] | 5 | 2020-02-12T19:29:45.000Z | 2021-05-28T16:13:48.000Z | include/scalapackpp/householder/unmqr.hpp | evaleev/scalapackpp | bf17a7246af38d34523bd0099b01d9961d06d311 | [
"BSD-3-Clause"
] | 2 | 2020-02-12T03:44:12.000Z | 2021-11-30T13:54:03.000Z | /**
* This file is a part of scalapackpp (see LICENSE)
*
* Copyright (c) 2019-2020 David Williams-Young
* All rights reserved
*/
#pragma once
#include <scalapackpp/wrappers/householder/unmqr.hpp>
#include <scalapackpp/util/type_conversions.hpp>
namespace scalapackpp {
template <typename T>
detail::enable_if_s... | 27.078947 | 88 | 0.626822 | evaleev |
e51f782db8ba6353b6e49dfeed64776bb3cf6226 | 21,032 | ipp | C++ | include/External/stlib/packages/hj/hj.ipp | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/External/stlib/packages/hj/hj.ipp | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/External/stlib/packages/hj/hj.ipp | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | // -*- C++ -*-
#if !defined(__hj_hj_ipp__)
#error This file is an implementation detail of hj.
#endif
namespace hj {
template<std::size_t N, typename T>
inline
void
computeUnsignedDistance(array::MultiArrayRef<T, N>& array, const T dx,
const T maximumDistance) {
#ifdef DEBUG_st... | 29.333333 | 81 | 0.512838 | bxl295 |
e5276c7e358094c10b2fa0795b83417968f05235 | 1,071 | cpp | C++ | src/grid.cpp | Rapatas/CAVIS | c0220bd422d67127ffeb736d5757a347bb304ef2 | [
"MIT"
] | null | null | null | src/grid.cpp | Rapatas/CAVIS | c0220bd422d67127ffeb736d5757a347bb304ef2 | [
"MIT"
] | null | null | null | src/grid.cpp | Rapatas/CAVIS | c0220bd422d67127ffeb736d5757a347bb304ef2 | [
"MIT"
] | null | null | null | #include "../include/grid.h"
void Grid::draw(sf::RenderTarget& target, sf::RenderStates states) const {
states.transform *= getTransform();
target.draw(vertices, states);
}
void Grid::add_horizontal(unsigned y) {
vertices.append(sf::Vertex(sf::Vector2f(0, y), color));
vertices.append(sf::Vertex(sf::Vector2f(wid... | 18.152542 | 74 | 0.668534 | Rapatas |
e5287d40081a840a1be8e71c6e348698836d3442 | 945 | hpp | C++ | include/codegen/include/UnityEngine/SerializeField.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/SerializeField.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/SerializeField.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:30 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
// Including type: System.Attribute
#include "System/Attribute.hpp"
#include "utils/il2cpp-utils.hpp"
// Co... | 33.75 | 86 | 0.67619 | Futuremappermydud |
e52b10440d7d69a7a56b474964e947b5a0371ff7 | 1,113 | cpp | C++ | examples/PlayMusic/main.cpp | NazaraEngine/NazaraEngine | 093d9d344e4459f40fc0119c8779673fa7e16428 | [
"MIT"
] | 11 | 2019-11-27T00:40:43.000Z | 2020-01-29T14:31:52.000Z | examples/PlayMusic/main.cpp | NazaraEngine/NazaraEngine | 093d9d344e4459f40fc0119c8779673fa7e16428 | [
"MIT"
] | 7 | 2019-11-27T00:29:08.000Z | 2020-01-08T18:53:39.000Z | examples/PlayMusic/main.cpp | NazaraEngine/NazaraEngine | 093d9d344e4459f40fc0119c8779673fa7e16428 | [
"MIT"
] | 7 | 2019-11-27T10:27:40.000Z | 2020-01-15T17:43:33.000Z | /*
** PlayMusic - Example on playing a sound using streaming (doesn't load all the file in memory, only the played part) with Nz::Music
*/
#include <Nazara/Audio.hpp>
#include <Nazara/Core/Clock.hpp>
#include <Nazara/Core/Modules.hpp>
#include <Nazara/Math/Vector3.hpp>
#include <Nazara/Platform/Keyboard.hpp>
#include ... | 25.883721 | 132 | 0.710692 | NazaraEngine |
e52ddbe33f5aed63c5bf5f077f962ae513a154a5 | 984 | cpp | C++ | client/Scripting/ScriptEngine.cpp | novuscore/NovusCore-Headless | 8e9ef68cde28ed2250839d8425e705f2ce39d258 | [
"MIT"
] | 2 | 2021-05-16T19:08:31.000Z | 2021-09-03T20:05:12.000Z | client/Scripting/ScriptEngine.cpp | novuscore/NovusCore-Headless | 8e9ef68cde28ed2250839d8425e705f2ce39d258 | [
"MIT"
] | null | null | null | client/Scripting/ScriptEngine.cpp | novuscore/NovusCore-Headless | 8e9ef68cde28ed2250839d8425e705f2ce39d258 | [
"MIT"
] | null | null | null | #include "ScriptEngine.h"
#include "../Utils/DebugHandler.h"
thread_local AngelBinder::Engine* ScriptEngine::_scriptEngine = nullptr;
asio::io_service* ScriptEngine::_ioService = nullptr;
std::vector<NovusConnection*> ScriptEngine::_novusConnections;
void Placeholder(AngelBinder::Engine* engine) {}
func_t* ScriptEngi... | 27.333333 | 80 | 0.78252 | novuscore |
e534990615a74aa27d036e52db22db8a1b87469e | 218 | hpp | C++ | bsengine/src/bstorm/time_stamp.hpp | At-sushi/bstorm | 156036afd698d98f0ed67f0efa6bc416115806f7 | [
"MIT"
] | null | null | null | bsengine/src/bstorm/time_stamp.hpp | At-sushi/bstorm | 156036afd698d98f0ed67f0efa6bc416115806f7 | [
"MIT"
] | null | null | null | bsengine/src/bstorm/time_stamp.hpp | At-sushi/bstorm | 156036afd698d98f0ed67f0efa6bc416115806f7 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <string>
namespace bstorm
{
using TimeStamp = uint64_t;
constexpr TimeStamp TIME_STAMP_NONE = 0u;
TimeStamp GetFileLastUpdateTime(const std::wstring& file) noexcept(false);
}
| 18.166667 | 74 | 0.784404 | At-sushi |
e5410a4b0bf757792bc01b24011d820e2e267540 | 1,134 | cpp | C++ | Source/Asset/FontAssetLoader.cpp | MrFrenik/Enjon | 405733f1b8d05c65bc6b4f4c779d3c6845a8c12b | [
"BSD-3-Clause"
] | 121 | 2019-05-02T01:22:17.000Z | 2022-03-19T00:16:14.000Z | Source/Asset/FontAssetLoader.cpp | MrFrenik/Enjon | 405733f1b8d05c65bc6b4f4c779d3c6845a8c12b | [
"BSD-3-Clause"
] | 42 | 2019-08-17T20:33:43.000Z | 2019-09-25T14:28:50.000Z | Source/Asset/FontAssetLoader.cpp | MrFrenik/Enjon | 405733f1b8d05c65bc6b4f4c779d3c6845a8c12b | [
"BSD-3-Clause"
] | 20 | 2019-05-02T01:22:20.000Z | 2022-01-30T04:04:57.000Z | // Copyright 2016-2017 John Jackson. All Rights Reserved.
// File: TextureAssetLoader.cpp
#include "Asset/FontAssetLoader.h"
namespace Enjon
{
//======================================================================
void FontAssetLoader::RegisterDefaultAsset( )
{
// Get file path to default font on disk ( don... | 27 | 124 | 0.475309 | MrFrenik |
e544e4bbe4c3bdf870f24b56030722b55a5b0842 | 1,795 | cpp | C++ | src/snOperatorCPU/src/dropOut.cpp | Allisrazor/skynet | 6fd59abb973b14f9ad60a2bd33a884a422dd53fc | [
"MIT"
] | 1 | 2019-12-25T20:13:03.000Z | 2019-12-25T20:13:03.000Z | src/snOperatorCPU/src/dropOut.cpp | catcherochek/skynet | d773f730ff7310e27a04e3d2251c725e16454ae5 | [
"MIT"
] | null | null | null | src/snOperatorCPU/src/dropOut.cpp | catcherochek/skynet | d773f730ff7310e27a04e3d2251c725e16454ae5 | [
"MIT"
] | 1 | 2020-05-06T13:51:04.000Z | 2020-05-06T13:51:04.000Z | //
// SkyNet Project
// Copyright (C) 2018 by Contributors <https://github.com/Tyill/skynet>
//
// This code is licensed under the MIT License.
//
// 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 So... | 37.395833 | 105 | 0.693593 | Allisrazor |
e546193191109de316d8f573a9184220391fcbb5 | 1,638 | cpp | C++ | HashingDoble/intervalo_reto5.cpp | ranea/Bachelor-Projects | 88e9526c52eb5a7d90c53404d2dc4ba429a4751f | [
"MIT"
] | null | null | null | HashingDoble/intervalo_reto5.cpp | ranea/Bachelor-Projects | 88e9526c52eb5a7d90c53404d2dc4ba429a4751f | [
"MIT"
] | null | null | null | HashingDoble/intervalo_reto5.cpp | ranea/Bachelor-Projects | 88e9526c52eb5a7d90c53404d2dc4ba429a4751f | [
"MIT"
] | null | null | null | #include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
static int M;
/* Comprueba si elemento se cuentra en el vector v[] */
bool pertenece(int v[], int util_v, int elemento)
{
bool pertenece = false;
for (int i=0; i<util_v && !pertenece; ++i)
{
pertenece... | 16.714286 | 62 | 0.461538 | ranea |
e5462c0dd6060688c872cfe3e838bf01ad3085e2 | 20,384 | cpp | C++ | DriveFusion/ShellFolderViewCBHandler.cpp | JadeTheFlame/google-drive-shell-extension | 917ada8e1a173e43e637db980ac4b9976a34acf9 | [
"Apache-2.0"
] | 155 | 2015-03-25T22:09:37.000Z | 2022-03-07T14:51:31.000Z | DriveFusion/ShellFolderViewCBHandler.cpp | Jason-Cooke/google-drive-shell-extension | 917ada8e1a173e43e637db980ac4b9976a34acf9 | [
"Apache-2.0"
] | 13 | 2015-04-01T17:51:45.000Z | 2021-08-21T13:36:39.000Z | DriveFusion/ShellFolderViewCBHandler.cpp | Jason-Cooke/google-drive-shell-extension | 917ada8e1a173e43e637db980ac4b9976a34acf9 | [
"Apache-2.0"
] | 73 | 2015-03-26T02:21:54.000Z | 2022-03-26T10:22:46.000Z | /*
Copyright 2014 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | 46.222222 | 393 | 0.744947 | JadeTheFlame |
e5489bc5874b0fca6b3858864ff5bb050a36eef0 | 443 | cpp | C++ | Chapter7/ex5.cpp | leonardoaraujodf/cpp_prog | d8d6bea8fa942faa162f0da8221a034e9173bddb | [
"MIT"
] | null | null | null | Chapter7/ex5.cpp | leonardoaraujodf/cpp_prog | d8d6bea8fa942faa162f0da8221a034e9173bddb | [
"MIT"
] | null | null | null | Chapter7/ex5.cpp | leonardoaraujodf/cpp_prog | d8d6bea8fa942faa162f0da8221a034e9173bddb | [
"MIT"
] | null | null | null | #include <iostream>
long long factorial(long long n)
{
if(n > 0)
return n * factorial(n - 1);
else
return 1;
}
int main()
{
using namespace std;
long long n;
cout << "Factorial calculator" << endl;
cout << "Enter a number or q to quit: ";
while(cin >> n)
{
cout << "Factorial ... | 17.72 | 46 | 0.528217 | leonardoaraujodf |
e54c1045ba8d96d19893f7f82b1791c9471616c8 | 3,297 | cc | C++ | src/ufo/utils/metoffice/MetOfficeBMatrixStatic.cc | fmahebert/ufo | 2af9b91433553ca473c72fcd131400a01c3aabdb | [
"Apache-2.0"
] | 4 | 2020-12-04T08:26:06.000Z | 2021-11-20T01:18:47.000Z | src/ufo/utils/metoffice/MetOfficeBMatrixStatic.cc | fmahebert/ufo | 2af9b91433553ca473c72fcd131400a01c3aabdb | [
"Apache-2.0"
] | 21 | 2020-10-30T08:57:16.000Z | 2021-05-17T15:11:20.000Z | src/ufo/utils/metoffice/MetOfficeBMatrixStatic.cc | fmahebert/ufo | 2af9b91433553ca473c72fcd131400a01c3aabdb | [
"Apache-2.0"
] | 31 | 2021-06-24T18:07:53.000Z | 2021-10-08T15:40:39.000Z | /*
* (C) Copyright 2021 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
#include "ufo/utils/metoffice/MetOfficeBMatrixStatic.h"
#include "oops/util/Logger.h"
namespace ufo {
// ------------------... | 43.381579 | 97 | 0.575675 | fmahebert |
e55202fb645e1386b883d48c0d89e64b73851903 | 6,331 | hpp | C++ | plugins/nodeid.hpp | cypox/devacus-backend | ba3d2ca8d72843560c4ff754780482dfe8a67c6b | [
"BSD-2-Clause"
] | null | null | null | plugins/nodeid.hpp | cypox/devacus-backend | ba3d2ca8d72843560c4ff754780482dfe8a67c6b | [
"BSD-2-Clause"
] | null | null | null | plugins/nodeid.hpp | cypox/devacus-backend | ba3d2ca8d72843560c4ff754780482dfe8a67c6b | [
"BSD-2-Clause"
] | null | null | null | #ifndef NODE_ID_HPP
#define NODE_ID_HPP
#include "plugin_base.hpp"
#include "../algorithms/object_encoder.hpp"
#include "../data_structures/search_engine.hpp"
#include "../descriptors/descriptor_base.hpp"
#include "../descriptors/gpx_descriptor.hpp"
#include "../descriptors/json_descriptor.hpp"
#include "..... | 33.675532 | 108 | 0.726268 | cypox |
e554b5279744e7f77b4708839bf1a64f02c12f0c | 11,146 | cpp | C++ | SourceCode/src/app/Pipeline.cpp | Tide-for-PTM-search/Tide-for-PTM-search | b41957fec1ed333ae976e8d5b14c1c7cd481fc75 | [
"Apache-2.0"
] | 8 | 2018-02-26T00:56:14.000Z | 2021-10-31T03:45:53.000Z | SourceCode/src/app/Pipeline.cpp | Tide-for-PTM-search/Tide-for-PTM-search | b41957fec1ed333ae976e8d5b14c1c7cd481fc75 | [
"Apache-2.0"
] | null | null | null | SourceCode/src/app/Pipeline.cpp | Tide-for-PTM-search/Tide-for-PTM-search | b41957fec1ed333ae976e8d5b14c1c7cd481fc75 | [
"Apache-2.0"
] | null | null | null | #include "io/carp.h"
#include "AssignConfidenceApplication.h"
#include "bullseye/CruxBullseyeApplication.h"
#include "util/FileUtils.h"
#include "MakePinApplication.h"
#include "PercolatorApplication.h"
#include "Pipeline.h"
#include "util/Params.h"
#include "util/StringUtils.h"
#include "TideSearchApplication.h"
#incl... | 32.590643 | 97 | 0.65934 | Tide-for-PTM-search |
e557fb3bb021c3b747e370fb90d1b52d6015e812 | 9,799 | cxx | C++ | STEER/AOD/AliAODCluster.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1 | 2017-04-27T17:28:15.000Z | 2017-04-27T17:28:15.000Z | STEER/AOD/AliAODCluster.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 3 | 2017-07-13T10:54:50.000Z | 2018-04-17T19:04:16.000Z | STEER/AOD/AliAODCluster.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 5 | 2017-03-29T12:21:12.000Z | 2018-01-15T15:52:24.000Z | /**************************************************************************
* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 27.917379 | 171 | 0.657414 | AllaMaevskaya |
e5629d30d5c3785128a72d9b52a3a47acfebd431 | 17,318 | cpp | C++ | gui/main_window/tasks/TaskEditWidget.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 81 | 2019-09-18T13:53:17.000Z | 2022-03-19T00:44:20.000Z | gui/main_window/tasks/TaskEditWidget.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 4 | 2019-10-03T15:17:00.000Z | 2019-11-03T01:05:41.000Z | gui/main_window/tasks/TaskEditWidget.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 25 | 2019-09-27T16:56:02.000Z | 2022-03-14T07:11:14.000Z | #include "stdafx.h"
#include "TaskEditWidget.h"
#include "styles/ThemeParameters.h"
#include "controls/TransparentScrollBar.h"
#include "../../controls/DateTimeWidget.h"
#include "../../controls/CheckboxList.h"
#include "../../app_config.h"
#include "controls/TextEditEx.h"
#include "controls/DialogButton.h"
#include ... | 37.083512 | 176 | 0.662952 | mail-ru-im |
e569411400a92241197491cc0bccc32ee0365135 | 2,615 | cpp | C++ | chapter10/PriorityQueue.cpp | zzq1996/OJ | 359d0ad532732092a5afe5995312b12e8da74953 | [
"Apache-2.0"
] | null | null | null | chapter10/PriorityQueue.cpp | zzq1996/OJ | 359d0ad532732092a5afe5995312b12e8da74953 | [
"Apache-2.0"
] | null | null | null | chapter10/PriorityQueue.cpp | zzq1996/OJ | 359d0ad532732092a5afe5995312b12e8da74953 | [
"Apache-2.0"
] | null | null | null | /**
* @Author : zhang
* @create 2022/3/4 20:57
*/
#include "PriorityQueue.h"
#include "queue"
#include "iostream"
using namespace std;
/*
* @Description 优先队列模版(STL-priority_queue)
* 特点:底层用堆实现,默认采用大根堆,只能通过top()访问当前队列中优先级最高的元素
* 应用场景:
* 1、求解顺序问题
* 2、哈夫曼树
*
*/
void PriorityQueue::J10_0() {
prior... | 16.870968 | 87 | 0.474187 | zzq1996 |
e56b26725f61d7ac386363aa5f9d58a743939591 | 4,467 | cpp | C++ | src/game/server/env_colorgrade.cpp | edgarbarney/Estranged-Act-1 | b47aca79ff6854ccac9224113634a4603ef493df | [
"RSA-MD"
] | 56 | 2016-04-15T13:49:02.000Z | 2022-02-22T14:42:24.000Z | src/game/server/env_colorgrade.cpp | edgarbarney/Estranged-Act-1 | b47aca79ff6854ccac9224113634a4603ef493df | [
"RSA-MD"
] | 4 | 2017-07-02T01:07:34.000Z | 2022-01-03T16:05:38.000Z | src/game/server/env_colorgrade.cpp | edgarbarney/Estranged-Act-1 | b47aca79ff6854ccac9224113634a4603ef493df | [
"RSA-MD"
] | 23 | 2016-04-15T13:52:13.000Z | 2021-12-13T11:29:17.000Z | #include "cbase.h"
#include "shareddefs.h"
#include "shareddefs_estranged.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
#define SF_GLOBAL_GRADER (1<<0) //Flag: CColorGradingMgr will use this entity when no other color grading entities are nearby
ColorGradingData_t::ColorG... | 29.388158 | 125 | 0.771659 | edgarbarney |
e56d278ae5510edcb4173d669ba9cf9f615d0d51 | 6,343 | cpp | C++ | src/proxy_storage.cpp | SoapyMan/oolua | 9d25a865b05bbb6aaff56726b46e5b746572e490 | [
"MIT"
] | 4 | 2018-12-19T09:30:24.000Z | 2021-06-26T05:38:11.000Z | src/proxy_storage.cpp | SoapyMan/oolua | 9d25a865b05bbb6aaff56726b46e5b746572e490 | [
"MIT"
] | null | null | null | src/proxy_storage.cpp | SoapyMan/oolua | 9d25a865b05bbb6aaff56726b46e5b746572e490 | [
"MIT"
] | 2 | 2017-03-28T18:38:30.000Z | 2018-10-17T19:01:05.000Z | /*
The MIT License
Copyright (c) 2009 - 2015 Liam Devine
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, ... | 34.472826 | 115 | 0.706133 | SoapyMan |
e56d725ed0f771ea3f4dad472108ea6422e5d14b | 17,332 | cpp | C++ | src/audio/NetAudioDevice.cpp | ijc8/RTcmix | f3bb33df961fe0b21370941afa7afe428995c908 | [
"Apache-2.0"
] | 40 | 2015-01-14T20:52:42.000Z | 2022-03-09T00:50:45.000Z | src/audio/NetAudioDevice.cpp | ijc8/RTcmix | f3bb33df961fe0b21370941afa7afe428995c908 | [
"Apache-2.0"
] | 20 | 2015-01-26T19:02:59.000Z | 2022-01-30T18:00:39.000Z | src/audio/NetAudioDevice.cpp | ijc8/RTcmix | f3bb33df961fe0b21370941afa7afe428995c908 | [
"Apache-2.0"
] | 14 | 2015-01-14T20:52:43.000Z | 2021-09-24T02:24:32.000Z | // NetAudioDevice.cpp
#if defined (NETAUDIO)
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <fcntl.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <errno.h>
#include <unistd.h>
#include <assert.h... | 30.514085 | 104 | 0.699458 | ijc8 |
e56f1e26adbaf537223471e2665e42e4667a917d | 3,825 | cpp | C++ | src/postprocess/VrHooks.cpp | Jabbah/openvr_fsr | 375fb70a49f7ca7258e8a79f681a336fc7caa27d | [
"BSD-3-Clause"
] | null | null | null | src/postprocess/VrHooks.cpp | Jabbah/openvr_fsr | 375fb70a49f7ca7258e8a79f681a336fc7caa27d | [
"BSD-3-Clause"
] | null | null | null | src/postprocess/VrHooks.cpp | Jabbah/openvr_fsr | 375fb70a49f7ca7258e8a79f681a336fc7caa27d | [
"BSD-3-Clause"
] | null | null | null | #include "VrHooks.h"
#include "Config.h"
#include "PostProcessor.h"
#include <openvr.h>
#include <MinHook.h>
#include <unordered_map>
namespace {
std::unordered_map<void*, void*> hooksToOriginal;
bool ivrSystemHooked = false;
bool ivrCompositorHooked = false;
vr::PostProcessor postProcessor;
void InstallVirtu... | 35.091743 | 193 | 0.710065 | Jabbah |
e56ff1025382cbc1b8942022ccc996efa09592ab | 1,356 | cc | C++ | llv8-regtests/c++/present.cc | ivladak/llv8 | 5cefc2a221fb24acf8d41bd631ccba2c474ac3c4 | [
"BSD-3-Clause"
] | 239 | 2016-04-01T14:49:28.000Z | 2022-01-19T21:15:11.000Z | llv8-regtests/c++/present.cc | ispras/llv8 | 5cefc2a221fb24acf8d41bd631ccba2c474ac3c4 | [
"BSD-3-Clause"
] | 8 | 2016-03-30T11:06:29.000Z | 2020-06-29T01:18:51.000Z | llv8-regtests/c++/present.cc | ivladak/llv8 | 5cefc2a221fb24acf8d41bd631ccba2c474ac3c4 | [
"BSD-3-Clause"
] | 11 | 2016-09-08T01:05:45.000Z | 2021-09-28T07:45:05.000Z | #include <iostream>
#include <vector>
#include <set>
#include <map>
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <climits>
using namespace std;
constexpr long long int BILLION = 1000LL * 1000 * 1000;
constexpr long long int K_100 = 100LL * 1000;
using bitvector = vector<uint8_t>;
// Can the ... | 25.111111 | 85 | 0.537611 | ivladak |
e5719e541563b068cbdb782036ba8d6a31509ff0 | 1,102 | cpp | C++ | week01/even_matrices/main.cpp | Xivid/ETH-Algorithms-Lab-2018 | f1d09cc926b9f2242ac533d690d1f6086bd0cc85 | [
"MIT"
] | null | null | null | week01/even_matrices/main.cpp | Xivid/ETH-Algorithms-Lab-2018 | f1d09cc926b9f2242ac533d690d1f6086bd0cc85 | [
"MIT"
] | null | null | null | week01/even_matrices/main.cpp | Xivid/ETH-Algorithms-Lab-2018 | f1d09cc926b9f2242ac533d690d1f6086bd0cc85 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstring>
using namespace std;
int a[210][210], b[210];
int main() {
ios::sync_with_stdio(false);
int t;
cin >> t;
while (t--) {
int n;
cin >> n;
for (int i = 0; i < n; ++i) {
for (int j = 0; j < n; ++j) {
cin >> a[i][j];... | 25.627907 | 89 | 0.352087 | Xivid |
e57543787fc0f7ac71f8ec61a207c9e5e1fae5cc | 2,103 | cpp | C++ | Raytracer/CameraControl.cpp | bryanlawsmith/Raytracing | 519b3f3867e0c00b92091dd755a4a73121e22064 | [
"MIT"
] | 1 | 2016-02-17T17:03:37.000Z | 2016-02-17T17:03:37.000Z | Raytracer/CameraControl.cpp | bryanlawsmith/Raytracing | 519b3f3867e0c00b92091dd755a4a73121e22064 | [
"MIT"
] | null | null | null | Raytracer/CameraControl.cpp | bryanlawsmith/Raytracing | 519b3f3867e0c00b92091dd755a4a73121e22064 | [
"MIT"
] | null | null | null | #include "CameraControl.h"
namespace Raytracer
{
CameraControl::CameraControl(CameraLib::Camera& camera) :
m_CameraHandle(camera)
{
m_MoveForward = false;
m_MoveBackward = false;
m_MoveLeft = false;
m_MoveRight = false;
m_MoveUpward = false;
m_MoveDownward = false;
m_LookLeft = false;
m_LookRight ... | 23.366667 | 84 | 0.754636 | bryanlawsmith |
ec7966364304e37dcff7840ccd074edbde7d0135 | 686 | cpp | C++ | Test/EngineTest1/EngineTest1.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | 1 | 2020-06-20T07:35:25.000Z | 2020-06-20T07:35:25.000Z | Test/EngineTest1/EngineTest1.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | Test/EngineTest1/EngineTest1.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | // EngineTest1.cpp : Defines the entry point for the console application.
//
#include "EngineTest1PCH.h"
#include "gtest\gtest.h"
#include "SFTypedefs.h"
using ::testing::EmptyTestEventListener;
using ::testing::InitGoogleTest;
using ::testing::Test;
using ::testing::TestCase;
using ::testing::TestEventLis... | 20.176471 | 74 | 0.699708 | blue3k |
ec79a4e9bf8d51739d8823db9a9cbb681d4c5620 | 6,480 | cpp | C++ | src/storage/src/file_storage.cpp | strider29/alias | 7bb829f44c869a2768da4cd04a221853e07a2663 | [
"MIT"
] | 1 | 2020-10-14T07:52:12.000Z | 2020-10-14T07:52:12.000Z | src/storage/src/file_storage.cpp | strider29/alias | 7bb829f44c869a2768da4cd04a221853e07a2663 | [
"MIT"
] | 56 | 2019-01-27T21:58:09.000Z | 2021-01-17T22:39:32.000Z | src/storage/src/file_storage.cpp | agudpp/tag-linker | 7bb829f44c869a2768da4cd04a221853e07a2663 | [
"MIT"
] | 1 | 2020-12-29T17:19:24.000Z | 2020-12-29T17:19:24.000Z | #include <storage/file_storage.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <toolbox/os/os_helper.h>
#include <toolbox/debug/debug.h>
#include <toolbox/utils/string_utils.h>
#include <protos/convert_utils.h>
#include <content.pb.h>
#include <tag.pb.h>
namespace storage {
/**
* @brief B... | 25.019305 | 101 | 0.698302 | strider29 |
ec7e9eef50bf8af4d56be4344f92ff633f1dc03f | 844 | hpp | C++ | include/fox.hpp | praneeth11009/3D-Rendering-and-Animation | 0b1b926182bca3bbe9aca085655d99d2332d753d | [
"MIT"
] | null | null | null | include/fox.hpp | praneeth11009/3D-Rendering-and-Animation | 0b1b926182bca3bbe9aca085655d99d2332d753d | [
"MIT"
] | null | null | null | include/fox.hpp | praneeth11009/3D-Rendering-and-Animation | 0b1b926182bca3bbe9aca085655d99d2332d753d | [
"MIT"
] | null | null | null | #include <vector>
#include "gl_framework.hpp"
#include "shader_util.hpp"
#include "glm/vec3.hpp"
#include "glm/vec4.hpp"
#include "glm/mat4x4.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/type_ptr.hpp"
#include "hierarchy_node.hpp"
#include "shapes.hpp"
csX75::HNode* get_fox(float,glm::vec4);
extern ... | 24.823529 | 39 | 0.773697 | praneeth11009 |
ec854c383764ff002c151064023086dd31f9507c | 87 | cpp | C++ | examples/example1/boilerplate.cpp | GavinNL/cpp_boilerplate | fc9d5e77d7629d87420c721d232a16f8a553cc08 | [
"Unlicense"
] | 3 | 2018-10-20T23:17:04.000Z | 2019-05-16T05:11:16.000Z | examples/example1/boilerplate.cpp | GavinNL/cpp_boilerplate | fc9d5e77d7629d87420c721d232a16f8a553cc08 | [
"Unlicense"
] | null | null | null | examples/example1/boilerplate.cpp | GavinNL/cpp_boilerplate | fc9d5e77d7629d87420c721d232a16f8a553cc08 | [
"Unlicense"
] | null | null | null | #include <boilerplate/boilerplate.h>
int main()
{
return boilerplate::foo(32);
}
| 10.875 | 36 | 0.678161 | GavinNL |
ec88cbdf22827b786fb2249689b53390abba1bb9 | 2,286 | cpp | C++ | modules/SDA/JPetRecoOffsetCalc/SDARecoOffsetsCalc.cpp | flukson/j-pet-framework-examples | 8f50490b5a21013990aff187fc6da87812a5f8e1 | [
"Apache-2.0"
] | null | null | null | modules/SDA/JPetRecoOffsetCalc/SDARecoOffsetsCalc.cpp | flukson/j-pet-framework-examples | 8f50490b5a21013990aff187fc6da87812a5f8e1 | [
"Apache-2.0"
] | 1 | 2020-07-15T12:47:16.000Z | 2020-07-15T12:47:16.000Z | modules/SDA/JPetRecoOffsetCalc/SDARecoOffsetsCalc.cpp | flukson/j-pet-framework-examples | 8f50490b5a21013990aff187fc6da87812a5f8e1 | [
"Apache-2.0"
] | null | null | null | /**
* @copyright Copyright 2016 The J-PET Framework Authors. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may find a copy of the License in the LICENCE file.
*
* Unless required by applicable la... | 35.71875 | 125 | 0.713911 | flukson |
ec8929eb05e7ea6a4887a9f7539e77dd3a44127e | 5,975 | cpp | C++ | sam-project/bakker-et-al-2012/SAM/SAM/src/DSLatentModel.cpp | amirmasoudabdol/bakker-et-al-2012-reproduction-using-sam | 518ab1cebaa80c19a12e92db8ae87386512ae053 | [
"MIT"
] | 1 | 2022-03-25T20:21:41.000Z | 2022-03-25T20:21:41.000Z | sam-project/bakker-et-al-2012/SAM/SAM/src/DSLatentModel.cpp | amirmasoudabdol/bakker-et-al-2012-reproduction-using-sam | 518ab1cebaa80c19a12e92db8ae87386512ae053 | [
"MIT"
] | null | null | null | sam-project/bakker-et-al-2012/SAM/SAM/src/DSLatentModel.cpp | amirmasoudabdol/bakker-et-al-2012-reproduction-using-sam | 518ab1cebaa80c19a12e92db8ae87386512ae053 | [
"MIT"
] | null | null | null | //
// Created by Amir Masoud Abdol on 2020-03-11
//
#include "DataStrategy.h"
#include "Experiment.h"
using namespace sam;
///
/// Construct a structural equation model based on the given parameters specified
/// in the ExperimentSetup. Beside `experiment->measurements`,
/// LatentDataStrategy populates the `experim... | 35.35503 | 96 | 0.501757 | amirmasoudabdol |
ec8a88cc128da717c9b56dc695bff97a5eb8c0e9 | 5,416 | cpp | C++ | raptor/ruge_stuben/tests/test_tap_interpolation.cpp | haoxiangmiao/raptor | 866977b8166e39675a6a1fb883c57b7b9395d32f | [
"BSD-2-Clause"
] | 1 | 2021-02-08T02:35:11.000Z | 2021-02-08T02:35:11.000Z | raptor/ruge_stuben/tests/test_tap_interpolation.cpp | haoxiangmiao/raptor | 866977b8166e39675a6a1fb883c57b7b9395d32f | [
"BSD-2-Clause"
] | null | null | null | raptor/ruge_stuben/tests/test_tap_interpolation.cpp | haoxiangmiao/raptor | 866977b8166e39675a6a1fb883c57b7b9395d32f | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2015-2017, RAPtor Developer Team
// License: Simplified BSD, http://opensource.org/licenses/BSD-2-Clause
#include "gtest/gtest.h"
#include "raptor.hpp"
#include "tests/par_compare.hpp"
#include <iostream>
#include <fstream>
using namespace raptor;
ParCSRMatrix* form_Prap(ParCSRMatrix* A, ParCSRMatri... | 30.256983 | 142 | 0.632755 | haoxiangmiao |
ec92d12471116466305f9dedc72da0a5748fc89a | 69 | cpp | C++ | darknet-master/build/modules/core/opencv_perf_core_pch.cpp | mcyy23633/ship_YOLOv4 | 2eb53e578546fce663a2f3fa153481ce4f82c588 | [
"MIT"
] | null | null | null | darknet-master/build/modules/core/opencv_perf_core_pch.cpp | mcyy23633/ship_YOLOv4 | 2eb53e578546fce663a2f3fa153481ce4f82c588 | [
"MIT"
] | null | null | null | darknet-master/build/modules/core/opencv_perf_core_pch.cpp | mcyy23633/ship_YOLOv4 | 2eb53e578546fce663a2f3fa153481ce4f82c588 | [
"MIT"
] | null | null | null | #include "C:/opencv/opencv-4.5.1/modules/core/perf/perf_precomp.hpp"
| 34.5 | 68 | 0.768116 | mcyy23633 |
ec96745fdfdd3edfcc73651c322edf45ca210c34 | 295,501 | cpp | C++ | WindowsPC/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_6Table.cpp | ludaher/HumanoVirtual | 3b65d54ea4e5e17c24dd1595da39a107e8b29e46 | [
"MIT"
] | null | null | null | WindowsPC/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_6Table.cpp | ludaher/HumanoVirtual | 3b65d54ea4e5e17c24dd1595da39a107e8b29e46 | [
"MIT"
] | null | null | null | WindowsPC/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_6Table.cpp | ludaher/HumanoVirtual | 3b65d54ea4e5e17c24dd1595da39a107e8b29e46 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "object-in... | 41.802377 | 196 | 0.826451 | ludaher |
ec98a88de64f5e191218b46e9e5c066536b7855e | 2,641 | cpp | C++ | src/process.cpp | creich/CppND-System-Monitor-Project-Updated | 2a754021daad6ce3f6a9bf9d90d71eecf3927160 | [
"MIT"
] | null | null | null | src/process.cpp | creich/CppND-System-Monitor-Project-Updated | 2a754021daad6ce3f6a9bf9d90d71eecf3927160 | [
"MIT"
] | null | null | null | src/process.cpp | creich/CppND-System-Monitor-Project-Updated | 2a754021daad6ce3f6a9bf9d90d71eecf3927160 | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <cctype>
#include <sstream>
#include <string>
#include <vector>
#include <thread>
#include "process.h"
#include "linux_parser.h"
#include "system.h"
using std::string;
using std::to_string;
using std::vector;
// DONE: Return this process's ID
int Process::Pid() { return pid_; }
// DON... | 28.095745 | 105 | 0.658463 | creich |
ec995ad6a759a4811ed53c6ab7be9aa3ad3fed3c | 9,929 | cpp | C++ | src/base/compressor.cpp | Take-A-Byte/buildcache | d97c536757fbba68b34908feb4a46cd7432d1df2 | [
"Zlib"
] | 160 | 2018-04-18T06:56:42.000Z | 2022-03-16T20:27:16.000Z | src/base/compressor.cpp | Take-A-Byte/buildcache | d97c536757fbba68b34908feb4a46cd7432d1df2 | [
"Zlib"
] | 159 | 2018-04-09T10:57:43.000Z | 2022-03-16T17:05:24.000Z | src/base/compressor.cpp | Take-A-Byte/buildcache | d97c536757fbba68b34908feb4a46cd7432d1df2 | [
"Zlib"
] | 33 | 2019-08-06T16:12:06.000Z | 2021-12-22T11:38:54.000Z | //--------------------------------------------------------------------------------------------------
// Copyright (c) 2018 Marcus Geelnard
//
// 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 softwar... | 41.19917 | 100 | 0.649814 | Take-A-Byte |
ec997c4ad1c042fa4b3af2000aa157b6f8c3cb20 | 31,139 | cpp | C++ | video/common/Processing/jhcStats.cpp | jconnell11/ALIA | f7a6c9dfd775fbd41239051aeed7775adb878b0a | [
"Apache-2.0"
] | null | null | null | video/common/Processing/jhcStats.cpp | jconnell11/ALIA | f7a6c9dfd775fbd41239051aeed7775adb878b0a | [
"Apache-2.0"
] | null | null | null | video/common/Processing/jhcStats.cpp | jconnell11/ALIA | f7a6c9dfd775fbd41239051aeed7775adb878b0a | [
"Apache-2.0"
] | null | null | null | // jhcStats.cpp : various staistical properties of image regions
//
// Written by Jonathan H. Connell, jconnell@alum.mit.edu
//
///////////////////////////////////////////////////////////////////////////
//
// Copyright 1999-2020 IBM Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// y... | 23.82479 | 102 | 0.53441 | jconnell11 |
ec9b5be338c352a75d5b3b114a7a6dbf9cc691fc | 3,322 | cpp | C++ | src-plugins/itkDataImageWriter/itkDataImageWriterPlugin.cpp | gpasquie/medInria-public | 1efa82292698695f6ee69fe00114aabce5431246 | [
"BSD-4-Clause"
] | null | null | null | src-plugins/itkDataImageWriter/itkDataImageWriterPlugin.cpp | gpasquie/medInria-public | 1efa82292698695f6ee69fe00114aabce5431246 | [
"BSD-4-Clause"
] | null | null | null | src-plugins/itkDataImageWriter/itkDataImageWriterPlugin.cpp | gpasquie/medInria-public | 1efa82292698695f6ee69fe00114aabce5431246 | [
"BSD-4-Clause"
] | null | null | null | /*=========================================================================
medInria
Copyright (c) INRIA 2013. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
====... | 30.2 | 125 | 0.610777 | gpasquie |
eca220103c67c6b4efffcf5cce691571ac2698a0 | 404 | cpp | C++ | atom/VectorStorage.cpp | pixelsquare/pacman | c679db752a68ef316c46946953dd9cea9524eb38 | [
"MIT"
] | null | null | null | atom/VectorStorage.cpp | pixelsquare/pacman | c679db752a68ef316c46946953dd9cea9524eb38 | [
"MIT"
] | null | null | null | atom/VectorStorage.cpp | pixelsquare/pacman | c679db752a68ef316c46946953dd9cea9524eb38 | [
"MIT"
] | null | null | null | #include "VectorStorage.h"
using namespace VectorStorageLib::Library;
VectorStorage::VectorStorage() { }
VectorStorage::~VectorStorage() { }
void VectorStorage::AddObject(Primitive obj) {
vecPrimitive.push_back(obj);
}
void VectorStorage::DeleteObject(Primitive obj) {
for(int i = 0; i < vecPrimitive.size(); i++){... | 22.444444 | 49 | 0.722772 | pixelsquare |
eca8ebfeda53ee17451169e8a4c308cb276057d1 | 3,652 | hpp | C++ | source/housys/include/hou/sys/sys_exceptions.hpp | DavideCorradiDev/houzi-game-engine | d704aa9c5b024300578aafe410b7299c4af4fcec | [
"MIT"
] | 2 | 2018-04-12T20:59:20.000Z | 2018-07-26T16:04:07.000Z | source/housys/include/hou/sys/sys_exceptions.hpp | DavideCorradiDev/houzi-game-engine | d704aa9c5b024300578aafe410b7299c4af4fcec | [
"MIT"
] | null | null | null | source/housys/include/hou/sys/sys_exceptions.hpp | DavideCorradiDev/houzi-game-engine | d704aa9c5b024300578aafe410b7299c4af4fcec | [
"MIT"
] | null | null | null | // Houzi Game Engine
// Copyright (c) 2018 Davide Corradi
// Licensed under the MIT license.
#ifndef HOU_SYS_SYS_EXCEPTIONS_HPP
#define HOU_SYS_SYS_EXCEPTIONS_HPP
#include "hou/cor/exception.hpp"
#include "hou/sys/sys_config.hpp"
namespace hou
{
/**
* File open error.
*
* This exception is thrown when opening... | 20.288889 | 80 | 0.662377 | DavideCorradiDev |
eca9d83cee5d87074fe0f210197619275dfe7bbc | 5,989 | cpp | C++ | plugins/WinVST/PurestFade/PurestFadeProc.cpp | vandorb12/airwindows | 99b15a42f47282cf42218c5e82aba84871e54a67 | [
"MIT"
] | null | null | null | plugins/WinVST/PurestFade/PurestFadeProc.cpp | vandorb12/airwindows | 99b15a42f47282cf42218c5e82aba84871e54a67 | [
"MIT"
] | null | null | null | plugins/WinVST/PurestFade/PurestFadeProc.cpp | vandorb12/airwindows | 99b15a42f47282cf42218c5e82aba84871e54a67 | [
"MIT"
] | null | null | null | /* ========================================
* PurestFade - PurestFade.h
* Copyright (c) 2016 airwindows, All rights reserved
* ======================================== */
#ifndef __PurestFade_H
#include "PurestFade.h"
#endif
void PurestFade::processReplacing(float **inputs, float **outputs, VstInt32 sampleFrames... | 32.198925 | 98 | 0.660711 | vandorb12 |
ecb6d99c900b267ac478b23bbae4393b3730481f | 455 | hpp | C++ | include/Nazara/Network/NetBuffer.hpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 11 | 2019-11-27T00:40:43.000Z | 2020-01-29T14:31:52.000Z | include/Nazara/Network/NetBuffer.hpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 7 | 2019-11-27T00:29:08.000Z | 2020-01-08T18:53:39.000Z | include/Nazara/Network/NetBuffer.hpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 7 | 2019-11-27T10:27:40.000Z | 2020-01-15T17:43:33.000Z | // Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Network module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_NETWORK_NETBUFFER_HPP
#define NAZARA_NETWORK_NETBUFFER_HPP
#include <Nazara/Prerequ... | 20.681818 | 77 | 0.764835 | jayrulez |
ecb9ce400bcc8224dff137609d2af4322d83f6eb | 1,211 | hpp | C++ | src/Window.hpp | santipaprika/vulkan-hair-simulator | bb6960a485c4aaa56df28505b8bc21e71bc11df5 | [
"MIT"
] | null | null | null | src/Window.hpp | santipaprika/vulkan-hair-simulator | bb6960a485c4aaa56df28505b8bc21e71bc11df5 | [
"MIT"
] | null | null | null | src/Window.hpp | santipaprika/vulkan-hair-simulator | bb6960a485c4aaa56df28505b8bc21e71bc11df5 | [
"MIT"
] | null | null | null | /*
* Modified version of the framework provided by Brendan Galea in his Vulkan
* tutorial series (https://github.com/blurrypiano/littleVulkanEngine)
* Copyright (c) 2020 Brendan Galea
*/
#pragma once
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include <string>
namespace vkr {
class Window {
publ... | 25.765957 | 100 | 0.701073 | santipaprika |
ecc23cac88ffb36a2fec88d439302001ddb0ec6d | 796 | hpp | C++ | include/metal/number/dec.hpp | ecrypa/metal | e6e01aec7b8782d53a8646fe9da85d95dd0dfa87 | [
"MIT"
] | null | null | null | include/metal/number/dec.hpp | ecrypa/metal | e6e01aec7b8782d53a8646fe9da85d95dd0dfa87 | [
"MIT"
] | null | null | null | include/metal/number/dec.hpp | ecrypa/metal | e6e01aec7b8782d53a8646fe9da85d95dd0dfa87 | [
"MIT"
] | null | null | null | #ifndef METAL_NUMBER_DEC_HPP
#define METAL_NUMBER_DEC_HPP
#include "../config.hpp"
#include "../number/number.hpp"
#include "../number/sub.hpp"
namespace metal {
/// \ingroup number
///
/// ### Description
/// Decrements a \number.
///
/// ### Usage
/// For any \number `num`
/// \code
... | 21.513514 | 64 | 0.513819 | ecrypa |
ecc324ba5ca6206ee304bedb1f5348f88609356c | 39,706 | cpp | C++ | Source Code/Environment/Sky/Sky.cpp | IonutCava/trunk | 19dc976bbd7dc637f467785bd0ca15f34bc31ed5 | [
"MIT"
] | null | null | null | Source Code/Environment/Sky/Sky.cpp | IonutCava/trunk | 19dc976bbd7dc637f467785bd0ca15f34bc31ed5 | [
"MIT"
] | null | null | null | Source Code/Environment/Sky/Sky.cpp | IonutCava/trunk | 19dc976bbd7dc637f467785bd0ca15f34bc31ed5 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Headers/Sky.h"
#include "Core/Headers/Configuration.h"
#include "Core/Headers/PlatformContext.h"
#include "Core/Headers/EngineTaskPool.h"
#include "Core/Resources/Headers/ResourceCache.h"
#include "Headers/Sun.h"
#include "Managers/Headers/SceneManager.h"
#include "Platform/V... | 47.954106 | 223 | 0.662545 | IonutCava |
ecd06fa26fba36252f17e07eedf8a177aa6a44c1 | 440,779 | cpp | C++ | HololensBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs26.cpp | Reality-Hack-2022/TEAM-08 | 25e346560f9b7ea13ac67753ba908f30f4b4af46 | [
"MIT"
] | null | null | null | HololensBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs26.cpp | Reality-Hack-2022/TEAM-08 | 25e346560f9b7ea13ac67753ba908f30f4b4af46 | [
"MIT"
] | null | null | null | HololensBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs26.cpp | Reality-Hack-2022/TEAM-08 | 25e346560f9b7ea13ac67753ba908f30f4b4af46 | [
"MIT"
] | 2 | 2022-03-24T19:58:31.000Z | 2022-03-24T22:55:43.000Z | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
#include "vm/CachedCCWBase.h"
#include "utils/New.h"
// System.Collections.Generic.Dictionary`2<System.Threading.IAsyncLocal,System.Object>
struct Dictionary_2_tED8EC0DF62452D89154... | 42.69046 | 293 | 0.813458 | Reality-Hack-2022 |
ecd16579cb7eacf5765a8fae91204c7e0d727d6f | 2,807 | cpp | C++ | src/00-maxServer/maxServer.cpp | mrbuzz/Network-Lib | b2a92e69d2446fdd21fa9a4e1d7f96bae2c9b664 | [
"MIT"
] | null | null | null | src/00-maxServer/maxServer.cpp | mrbuzz/Network-Lib | b2a92e69d2446fdd21fa9a4e1d7f96bae2c9b664 | [
"MIT"
] | null | null | null | src/00-maxServer/maxServer.cpp | mrbuzz/Network-Lib | b2a92e69d2446fdd21fa9a4e1d7f96bae2c9b664 | [
"MIT"
] | null | null | null | #include "../../include/lib_base.h"
#include "../../include/ip_address.h"
#include "../../include/tcp_client.h"
#include "../../include/enum_classes.h"
int main(int argc , char *argv[])
{
int maxInt = 0;
int recvNum = 0;
int mode = 0;
std::regex numeric("^[0-9]+$");
std::stringstream msg;
if((argc != 4) ... | 30.846154 | 125 | 0.464553 | mrbuzz |
ecda14c9163939e6a86ed481a0ee995be32c5a7e | 618 | cpp | C++ | src/runtime/posix_print.cpp | jaakkotuosa/Halide | b21e98783b953213bd09a26573ab31f701f9acf1 | [
"MIT"
] | 1 | 2016-09-25T10:19:07.000Z | 2016-09-25T10:19:07.000Z | src/runtime/posix_print.cpp | jaakkotuosa/Halide | b21e98783b953213bd09a26573ab31f701f9acf1 | [
"MIT"
] | null | null | null | src/runtime/posix_print.cpp | jaakkotuosa/Halide | b21e98783b953213bd09a26573ab31f701f9acf1 | [
"MIT"
] | null | null | null | #include "runtime_internal.h"
#include "HalideRuntime.h"
namespace Halide { namespace Runtime { namespace Internal {
extern void halide_print_impl(void *, const char *);
WEAK void (*halide_custom_print)(void *, const char *) = NULL;
}}} // namespace Halide::Runtime::Internal
extern "C" {
WEAK void halide_print(voi... | 23.769231 | 72 | 0.695793 | jaakkotuosa |
ecde3fcaa7e482ed3cf82f6c53b96a380df90dea | 2,185 | cc | C++ | DS_Ch4/src/test0.cc | grwei/data-structure-homework | 9da3208fb2158c2202db7ca8663445e49089af56 | [
"MIT"
] | null | null | null | DS_Ch4/src/test0.cc | grwei/data-structure-homework | 9da3208fb2158c2202db7ca8663445e49089af56 | [
"MIT"
] | null | null | null | DS_Ch4/src/test0.cc | grwei/data-structure-homework | 9da3208fb2158c2202db7ca8663445e49089af56 | [
"MIT"
] | null | null | null | /****************************************************
* @file test0.cc
* @author Guorui Wei (313017602@qq.com)
* @brief 测试队列类的基本功能
* @version 0.1
* @date 2020-04-06
*
* @copyright Copyright (c) 2020
*
* See the file LICENSE in the top directory of this distribution for
* more information.
*
*************... | 21.421569 | 86 | 0.481465 | grwei |
ece09daa0c2fb804131bd3d4b0dec6556623e100 | 3,375 | cpp | C++ | src/common/log.cpp | enerc/zsearch | 60cdcd245b66d14fe4e2be1d26eb2b1877d4b098 | [
"Apache-2.0"
] | null | null | null | src/common/log.cpp | enerc/zsearch | 60cdcd245b66d14fe4e2be1d26eb2b1877d4b098 | [
"Apache-2.0"
] | null | null | null | src/common/log.cpp | enerc/zsearch | 60cdcd245b66d14fe4e2be1d26eb2b1877d4b098 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <memory>
#include "log.hpp"
#include "config.hpp"
#include <spdlog/spdlog.h>
#include <spdlog/sinks/rotating_file_sink.h>
#include <iomanip>
using namespace std;
using namespace spdlog;
#define TERMINAL_COLOR_DEBUG "\033[38;5;28m"
#define TERMINAL_COLOR_INFO "\033[38;5;46m"
#define TER... | 30.963303 | 139 | 0.675852 | enerc |
ece1870e0d12c3030004fc5433474dc849137bcc | 3,082 | cpp | C++ | 1123.cpp | ispobock/PAT_code | 1426a80ff4a8b0ddba97d9014e10b50a9cff16d6 | [
"MIT"
] | 1 | 2020-08-29T03:49:57.000Z | 2020-08-29T03:49:57.000Z | 1123.cpp | ispobock/PAT_code | 1426a80ff4a8b0ddba97d9014e10b50a9cff16d6 | [
"MIT"
] | null | null | null | 1123.cpp | ispobock/PAT_code | 1426a80ff4a8b0ddba97d9014e10b50a9cff16d6 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <algorithm>
#include <queue>
#include <map>
using namespace std;
int n;
struct node{
int data;
node* lc;
node* rc;
int height;
};
void update(node* root){
if(root->lc == NULL && root->rc != NULL){
root->height = root->rc->height + 1;
}
else if(root->rc == NULL && root->lc != NULL... | 17.712644 | 102 | 0.546074 | ispobock |
ece2da554b267b2288d0a8da7d9ee7c23ebc5640 | 599 | cpp | C++ | cppprimer_anwser/2.1.2.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | cppprimer_anwser/2.1.2.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | cppprimer_anwser/2.1.2.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
int main(int argc, char* argv[])
{
unsigned long a = -1;
std::cout<< " unsigned long type vriant : -1 => " << a << std::endl;
unsigned u = 10, u2 = 42;
std::cout<< " unsigned - unsigned : " << u - u2 <<std::endl;
std::cout<< 12334213e4 <<std::endl;
std::c... | 29.95 | 73 | 0.557596 | iusyu |
ece33652149bbc87df9b74e2099d726ee1da575a | 2,606 | cpp | C++ | gb_apu.cpp | OFFTKP/GameboyTKP | c78768a7265433c41c8c93a139dc618cb76261c8 | [
"MIT"
] | null | null | null | gb_apu.cpp | OFFTKP/GameboyTKP | c78768a7265433c41c8c93a139dc618cb76261c8 | [
"MIT"
] | 10 | 2021-12-20T22:27:07.000Z | 2022-03-21T22:12:12.000Z | gb_apu.cpp | OFFTKP/GameboyTKP | c78768a7265433c41c8c93a139dc618cb76261c8 | [
"MIT"
] | null | null | null | #include "gb_apu.h"
#include "gb_addresses.h"
#include <iostream>
constexpr int SAMPLE_RATE = 48000;
constexpr int AMPLITUDE = 8000;
constexpr int RESAMPLED_RATE = (4194304 / SAMPLE_RATE);
namespace TKPEmu::Gameboy::Devices {
APU::APU(ChannelArrayPtr channel_array_ptr, uint8_t& NR52)
: channel_array_p... | 40.71875 | 132 | 0.557943 | OFFTKP |
ece479e319744ab4f5dd0cde11353747ccb88fa4 | 792 | hpp | C++ | library/include/darcel/reactors/reactors.hpp | spiretrading/darcel | a9c32989ad9c1571edaa41c7c3a86b276b782c0d | [
"MIT"
] | null | null | null | library/include/darcel/reactors/reactors.hpp | spiretrading/darcel | a9c32989ad9c1571edaa41c7c3a86b276b782c0d | [
"MIT"
] | null | null | null | library/include/darcel/reactors/reactors.hpp | spiretrading/darcel | a9c32989ad9c1571edaa41c7c3a86b276b782c0d | [
"MIT"
] | 1 | 2020-04-17T13:25:25.000Z | 2020-04-17T13:25:25.000Z | #ifndef DARCEL_REACTORS_HPP
#define DARCEL_REACTORS_HPP
namespace darcel {
class BaseProxyReactor;
class BaseReactor;
template<typename T> class ChainReactor;
class CommitReactor;
template<typename T> class ConstantReactor;
template<typename T> class FoldReactor;
template<typename T> class FoldParameterR... | 27.310345 | 60 | 0.794192 | spiretrading |
ecec0f422feddd74fa9ac46ca658067aa955628e | 14,653 | inl | C++ | src/fonts/stb_font_consolas_bold_10_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | 3 | 2018-03-13T12:51:57.000Z | 2021-10-11T11:32:17.000Z | src/fonts/stb_font_consolas_bold_10_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | src/fonts/stb_font_consolas_bold_10_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | // Font generated by stb_font_inl_generator.c (4/1 bpp)
//
// Following instructions show how to use the only included font, whatever it is, in
// a generic way so you can replace it with any other font by changing the include.
// To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_consolas_bold_10_us... | 56.141762 | 133 | 0.713915 | stetre |
ecee60c91e79f3b79c65d4844880f9635206bd35 | 10,410 | cpp | C++ | libraries/blockchain/chain_interface.cpp | larkx/LarkX | 8e803d16f31431e8389e772d0e6aab0d474bc9ca | [
"Zlib",
"Unlicense",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libraries/blockchain/chain_interface.cpp | larkx/LarkX | 8e803d16f31431e8389e772d0e6aab0d474bc9ca | [
"Zlib",
"Unlicense",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libraries/blockchain/chain_interface.cpp | larkx/LarkX | 8e803d16f31431e8389e772d0e6aab0d474bc9ca | [
"Zlib",
"Unlicense",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | #include <bts/blockchain/address.hpp>
#include <bts/blockchain/chain_interface.hpp>
#include <bts/blockchain/exceptions.hpp>
#include <bts/blockchain/pts_config.hpp>
#include <bts/blockchain/pts_address.hpp>
#include <algorithm>
#include <locale>
namespace bts { namespace blockchain {
optional<string> chain_inter... | 36.271777 | 172 | 0.659366 | larkx |
ecf29e29c2531cf0e306c6eae33068fa6e43c628 | 4,939 | cpp | C++ | Libraries/Rendering/Caustic/PointCloud.cpp | pat-sweeney/Caustic | 0bef667dd3fb77de4b8e8b02a341760ab869d1fe | [
"MIT"
] | 1 | 2021-05-19T14:58:46.000Z | 2021-05-19T14:58:46.000Z | Libraries/Rendering/Caustic/PointCloud.cpp | pat-sweeney/Caustic | 0bef667dd3fb77de4b8e8b02a341760ab869d1fe | [
"MIT"
] | 2 | 2019-09-28T17:29:47.000Z | 2019-09-28T17:46:37.000Z | Libraries/Rendering/Caustic/PointCloud.cpp | pat-sweeney/Caustic | 0bef667dd3fb77de4b8e8b02a341760ab869d1fe | [
"MIT"
] | null | null | null | //**********************************************************************
// Copyright Patrick Sweeney 2015-2021
// Licensed under the MIT license.
// See file LICENSE for details.
//**********************************************************************
module;
#include <memory>
#include <any>
#include <vector>
... | 43.707965 | 120 | 0.666532 | pat-sweeney |
ecf4b9dc2d7703834da3a9f380bd61d4aad295a7 | 1,328 | cpp | C++ | explore/1514-lpc/pwmdac/main.cpp | lispnik/embello | adae98d03f5ac843160e17e490ccc72de81d8be3 | [
"Unlicense"
] | 10 | 2019-10-27T10:31:28.000Z | 2022-03-04T13:55:03.000Z | explore/1514-lpc/pwmdac/main.cpp | davidcollins001/embello | 08297eb920e7e8c35df08aa64e91bb01a5c99409 | [
"Unlicense"
] | null | null | null | explore/1514-lpc/pwmdac/main.cpp | davidcollins001/embello | 08297eb920e7e8c35df08aa64e91bb01a5c99409 | [
"Unlicense"
] | 7 | 2019-10-27T15:21:01.000Z | 2022-03-04T20:04:44.000Z | // Generate sine waves, with the SCT generating PWM pulses through an RC filter.
#include "embello.h"
#include "sine.h"
static void pwmSetup () {
LPC_SYSCON->SYSAHBCLKCTRL |= (1<<8); // enable the SCT
LPC_SCT->CONFIG = (1<<0); // unify
// counter runs up to 1024 at 12 MHz
LPC_SCT->MATCH[0].U... | 26.039216 | 80 | 0.538404 | lispnik |
ecfaab80cb4a26c3eeb4bcab46ef1df9b5b6b6f6 | 1,958 | cpp | C++ | code archive/TIOJ/1157.cpp | brianbbsu/program | c4505f2b8c0b91010e157db914a63c49638516bc | [
"MIT"
] | 4 | 2018-04-08T08:07:58.000Z | 2021-06-07T14:55:24.000Z | code archive/TIOJ/1157.cpp | brianbbsu/program | c4505f2b8c0b91010e157db914a63c49638516bc | [
"MIT"
] | null | null | null | code archive/TIOJ/1157.cpp | brianbbsu/program | c4505f2b8c0b91010e157db914a63c49638516bc | [
"MIT"
] | 1 | 2018-10-29T12:37:25.000Z | 2018-10-29T12:37:25.000Z | //{
#include<algorithm>
#include<cstdio>
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(ll i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define FILL(i,n) memset(i,n,sizeof i)
#define X first
#define Y second
#define SZ(_a) (int)_a.size()
#define ALL(_a)... | 18.12963 | 61 | 0.45097 | brianbbsu |
ecfb5f1153b3e9ff90f0860f98bde146359b2a65 | 1,560 | hh | C++ | CCured/program-dependence-graph/include/PDGCallGraph.hh | Lightninghkm/DataGuard | 4ac1370f7607cec5fc81c3b57f5a62fb1d40f463 | [
"Apache-2.0"
] | 9 | 2022-02-25T01:48:43.000Z | 2022-03-20T04:48:44.000Z | CCured/program-dependence-graph/include/PDGCallGraph.hh | Lightninghkm/DataGuard | 4ac1370f7607cec5fc81c3b57f5a62fb1d40f463 | [
"Apache-2.0"
] | 1 | 2022-03-19T08:48:07.000Z | 2022-03-21T00:51:51.000Z | CCured/program-dependence-graph/include/PDGCallGraph.hh | Lightninghkm/DataGuard | 4ac1370f7607cec5fc81c3b57f5a62fb1d40f463 | [
"Apache-2.0"
] | null | null | null | #ifndef PDGCALLGRAPH_H_
#define PDGCALLGRAPH_H_
#include "LLVMEssentials.hh"
#include "Graph.hh"
#include "PDGUtils.hh"
namespace pdg
{
class PDGCallGraph : public GenericGraph
{
public:
using PathVecs = std::vector<std::vector<llvm::Function *>>;
PDGCallGraph() = default;
PDGCallGraph(const PDGCallG... | 35.454545 | 182 | 0.697436 | Lightninghkm |
ecfbb9b54bffbe0d06116dd91dea5c38358584a2 | 6,885 | cpp | C++ | plugins/artnet/src/artnetpacketizer.cpp | bgnt44/qlcplus2020 | f0906ca725e0bae5b012a30188658e4f406355e1 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2016-12-12T15:32:27.000Z | 2021-05-18T17:55:30.000Z | plugins/artnet/src/artnetpacketizer.cpp | bgnt44/qlcplus2020 | f0906ca725e0bae5b012a30188658e4f406355e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | plugins/artnet/src/artnetpacketizer.cpp | bgnt44/qlcplus2020 | f0906ca725e0bae5b012a30188658e4f406355e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
Q Light Controller Plus
artnetpacketizer.cpp
Copyright (c) Massimo Callegari
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.txt
... | 33.916256 | 107 | 0.610167 | bgnt44 |
ecfead393eb1bf53f420ecc28dab7bf8e7407943 | 11,318 | cpp | C++ | LambdaEngine/Source/GUI/Core/GUIRenderTarget.cpp | IbexOmega/CrazyCanvas | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 18 | 2020-09-04T08:00:54.000Z | 2021-08-29T23:04:45.000Z | LambdaEngine/Source/GUI/Core/GUIRenderTarget.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 32 | 2020-09-12T19:24:50.000Z | 2020-12-11T14:29:44.000Z | LambdaEngine/Source/GUI/Core/GUIRenderTarget.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 2 | 2020-12-15T15:36:13.000Z | 2021-03-27T14:27:02.000Z | #include "GUI/Core/GUIRenderTarget.h"
#include "GUI/Core/GUIRenderer.h"
#include "Rendering/Core/API/GraphicsDevice.h"
#include "Rendering/Core/API/RenderPass.h"
#include "Rendering/Core/API/Texture.h"
#include "Rendering/Core/API/TextureView.h"
#include "Rendering/RenderAPI.h"
namespace LambdaEngine
{
GUIRenderTar... | 37.852843 | 113 | 0.782647 | IbexOmega |
a6028baf6ba6f3d4bdcb31c99583c397154666f5 | 1,061 | cpp | C++ | gen5.cpp | shirishbahirat/code_examples | ebc8bb743b7b0a4ad1e01164cd85afc0bfe7f107 | [
"MIT"
] | null | null | null | gen5.cpp | shirishbahirat/code_examples | ebc8bb743b7b0a4ad1e01164cd85afc0bfe7f107 | [
"MIT"
] | null | null | null | gen5.cpp | shirishbahirat/code_examples | ebc8bb743b7b0a4ad1e01164cd85afc0bfe7f107 | [
"MIT"
] | null | null | null | /*
* coroutines simple number generator example
*
* % clang++ -std=c++14 -fcoroutines-ts -stdlib=libc++ fibonacciGen.cpp
*
* Tal 2017-06-27
*/
// https://github.com/tlanc007/coroutine-ts
#include <experimental/coroutine>
#include <iostream>
#include "generator.h"
/*
Iterative infinite fibonacci sequence gene... | 18.946429 | 71 | 0.613572 | shirishbahirat |
a6056cbe11d3bb66286fb99c82bf817aeef314d1 | 23,752 | cpp | C++ | src/pcdfilter_pa_ros_filter.cpp | TUC-ProAut/ros_pcdfilter | 3420b76128df7693c1ed61b0089c4231fb4179f9 | [
"BSD-3-Clause"
] | 5 | 2018-03-13T08:45:08.000Z | 2022-03-23T22:24:37.000Z | src/pcdfilter_pa_ros_filter.cpp | TUC-ProAut/ros_pcdfilter | 3420b76128df7693c1ed61b0089c4231fb4179f9 | [
"BSD-3-Clause"
] | null | null | null | src/pcdfilter_pa_ros_filter.cpp | TUC-ProAut/ros_pcdfilter | 3420b76128df7693c1ed61b0089c4231fb4179f9 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* *
* pcdfilter_pa_ros_filter.cpp *
* =========================== *
... | 33.034771 | 112 | 0.441352 | TUC-ProAut |
a60849105e04389b7208d14f26b917ec8928d2e2 | 6,695 | hpp | C++ | pulsar/system/Atom.hpp | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | pulsar/system/Atom.hpp | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | pulsar/system/Atom.hpp | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | /*\file
*
* \brief Atoms and atomic centers (header)
*/
#ifndef PULSAR_GUARD_SYSTEM__ATOM_HPP_
#define PULSAR_GUARD_SYSTEM__ATOM_HPP_
#include <iostream>
#include <map>
#include "pulsar/system/CoordType.hpp"
#include "pulsar/system/BasisInfo.hpp"
#include "pulsar/util/Serialization.hpp"
#include "bphash/Hasher.hp... | 29.235808 | 120 | 0.643913 | pulsar-chem |
a608c61ef943517acb2a84910b018ae553e260e8 | 2,586 | cpp | C++ | examples/example_async.cpp | ntllct/WWWLibCurlWrapper | 4a45996b4457d443abe7ee608c997ced5dccb6f3 | [
"MIT"
] | null | null | null | examples/example_async.cpp | ntllct/WWWLibCurlWrapper | 4a45996b4457d443abe7ee608c997ced5dccb6f3 | [
"MIT"
] | null | null | null | examples/example_async.cpp | ntllct/WWWLibCurlWrapper | 4a45996b4457d443abe7ee608c997ced5dccb6f3 | [
"MIT"
] | null | null | null | #include <iostream>
#include "libcurlwrapper.hpp"
std::atomic<size_t> nAsyncs{0};
int main() {
using namespace libcurlwrapper;
WWWLibCurlWrapper WWW{};
std::thread t{[&WWW]() {
auto cb = [&WWW](Request& req) {
static std::mutex ioMtx{};
ioMtx.lock();
std::cout << "Status: " << req.respons... | 43.830508 | 82 | 0.66628 | ntllct |
a60afd82c37cd7105c8492859680f7a412f7c2bb | 1,913 | cpp | C++ | src/ActivityMonitor/ActivityMonitorApp.cpp | MarkRakhmatov/ActivityMonitor | ded03519f2180919df1658b6b5c6d5bd82686f58 | [
"MIT"
] | null | null | null | src/ActivityMonitor/ActivityMonitorApp.cpp | MarkRakhmatov/ActivityMonitor | ded03519f2180919df1658b6b5c6d5bd82686f58 | [
"MIT"
] | null | null | null | src/ActivityMonitor/ActivityMonitorApp.cpp | MarkRakhmatov/ActivityMonitor | ded03519f2180919df1658b6b5c6d5bd82686f58 | [
"MIT"
] | null | null | null | #include "ActivityMonitorApp.h"
#include "GeneralUtils/TimeDuration.h"
#include <future>
std::string MillisecondsToString(std::chrono::milliseconds milliseconds)
{
Utils::TimeDuration timeDuration = Utils::DurationToTimeDuration(milliseconds);
std::stringstream ss;
ss << std::to_string(timeDuration.hours.c... | 26.943662 | 111 | 0.657606 | MarkRakhmatov |
a60b798cb3b75069eaaba0865212b62d7e7bceb6 | 884 | cpp | C++ | components/cpp_utils/tests/BLE Tests/Sample1.cpp | FindYourGrind/esp32 | 5ab73239b304d8029885ba8909a6878d4c514884 | [
"Apache-2.0"
] | 1 | 2021-03-01T04:39:11.000Z | 2021-03-01T04:39:11.000Z | cpp_utils/tests/BLE Tests/Sample1.cpp | msgharpu/esp32-snippets | 5cc98cf7d19e542160382cbcd04ce6921b7d7c65 | [
"Apache-2.0"
] | null | null | null | cpp_utils/tests/BLE Tests/Sample1.cpp | msgharpu/esp32-snippets | 5cc98cf7d19e542160382cbcd04ce6921b7d7c65 | [
"Apache-2.0"
] | null | null | null | #include "BLE.h"
#include "BLEUtils.h"
#include "BLEServer.h"
#include <esp_log.h>
#include <string>
#include "sdkconfig.h"
// See the following for generating UUIDs:
// https://www.uuidgenerator.net/
#define SERVICE_UUID "4fafc201-1fb5-459e-8fcc-c5c9c331914b"
#define CHARACTERISTIC_UUID "beb5483e-36e1-4688-b... | 22.666667 | 70 | 0.75 | FindYourGrind |
a60ca57abc65faee0380d9d39cb272133c6f44c7 | 6,087 | cpp | C++ | aml-vm/src/vm/memory/reference.cpp | gear-lang/gear-vm-cpp | 89a36dcd6cacef27dd7c7fd72763e11b8eb948bd | [
"MIT"
] | null | null | null | aml-vm/src/vm/memory/reference.cpp | gear-lang/gear-vm-cpp | 89a36dcd6cacef27dd7c7fd72763e11b8eb948bd | [
"MIT"
] | 1 | 2015-09-07T22:56:07.000Z | 2015-09-12T23:41:13.000Z | aml-vm/src/vm/memory/reference.cpp | gear-lang/gear-vm-cpp | 89a36dcd6cacef27dd7c7fd72763e11b8eb948bd | [
"MIT"
] | null | null | null | #include "reference.hpp"
#include "reference_inlines.hpp"
#include "value.hpp"
#include "value_inlines.hpp"
#include <cassert>
namespace AVM {
static AReferenceLock ReferenceLocks[REFERENCE_LOCKS_COUNT];
AReferenceLock &
lock_for_reference(union AReferenceValue *reference) noexcept {
return ReferenceLocks[REFER... | 34.005587 | 108 | 0.718252 | gear-lang |
a60ef393088e8456589bdf041bdf184d1baa66e6 | 626 | cc | C++ | AssemblyGraph/main_GraphEdgeType.cc | cczhong/CBB_Libs | 91655856232a08ecfe2a3f9473ebe1cba7e1681f | [
"MIT"
] | null | null | null | AssemblyGraph/main_GraphEdgeType.cc | cczhong/CBB_Libs | 91655856232a08ecfe2a3f9473ebe1cba7e1681f | [
"MIT"
] | null | null | null | AssemblyGraph/main_GraphEdgeType.cc | cczhong/CBB_Libs | 91655856232a08ecfe2a3f9473ebe1cba7e1681f | [
"MIT"
] | null | null | null | #include "GraphEdgeType.h"
using namespace std;
int main() {
GraphEdgeType a;
cout << "init test: " << a.GetOverlap() << " " << a.IsVisited() << endl;
a.SetOverlap(10);
cout << "SetOverlap test: " << a.GetOverlap() << endl;
GraphEdgeType b;
b = a;
cout << "assignment... | 25.04 | 88 | 0.511182 | cczhong |
a61381f07802ce2479d4bd1560d83f20f2387ca8 | 4,035 | cpp | C++ | src/UnitTests/Query1.cpp | fsaintjacques/cstore | 3300a81c359c4a48e13ad397e3eb09384f57ccd7 | [
"BSD-2-Clause"
] | 14 | 2016-07-11T04:08:09.000Z | 2022-03-11T05:56:59.000Z | src/UnitTests/Query1.cpp | ibrarahmad/cstore | 3300a81c359c4a48e13ad397e3eb09384f57ccd7 | [
"BSD-2-Clause"
] | null | null | null | src/UnitTests/Query1.cpp | ibrarahmad/cstore | 3300a81c359c4a48e13ad397e3eb09384f57ccd7 | [
"BSD-2-Clause"
] | 13 | 2016-06-01T10:41:15.000Z | 2022-01-06T09:01:15.000Z | /* Copyright (c) 2005, Regents of Massachusetts Institute of Technology,
* Brandeis University, Brown University, and University of Massachusetts
* Boston. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | 37.361111 | 144 | 0.707559 | fsaintjacques |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.