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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b8879376d2e5f646b11a1b89bb25d1d638417ea9 | 14,383 | cpp | C++ | src/renderer.cpp | Myyyth/dx12-solution | ccfd0c74e56cc2257e1bee20b4ca116e4746f053 | [
"MIT"
] | null | null | null | src/renderer.cpp | Myyyth/dx12-solution | ccfd0c74e56cc2257e1bee20b4ca116e4746f053 | [
"MIT"
] | null | null | null | src/renderer.cpp | Myyyth/dx12-solution | ccfd0c74e56cc2257e1bee20b4ca116e4746f053 | [
"MIT"
] | null | null | null | #include "renderer.h"
#define TINYOBJLOADER_IMPLEMENTATION
#include "tiny_obj_loader.h"
void Renderer::OnInit()
{
LoadPipeline();
LoadAssets();
}
void Renderer::OnUpdate()
{
angle += delta_rotation;
eye_position += XMVECTOR{ sin(angle), 0.f, cos(angle) } *delta_forward;
XMVECTOR focusPos = eye_position + XMVEC... | 34.657831 | 137 | 0.775916 | Myyyth |
b88a6b51865903e5d60243a0371c6d9069381dc7 | 4,592 | cpp | C++ | src/windowsdiskwriterthread.cpp | Tpimp/OdroidFlashTool | 073acf19bcd81a2c2df95142b4c759fb58d812da | [
"MIT"
] | null | null | null | src/windowsdiskwriterthread.cpp | Tpimp/OdroidFlashTool | 073acf19bcd81a2c2df95142b4c759fb58d812da | [
"MIT"
] | null | null | null | src/windowsdiskwriterthread.cpp | Tpimp/OdroidFlashTool | 073acf19bcd81a2c2df95142b4c759fb58d812da | [
"MIT"
] | null | null | null | #include "windowsdiskwriterthread.h"
#include <QDebug>
#include <QBuffer>
#include <QDataStream>
#include "partitionfactory.h"
#include <QElapsedTimer>
WriterThread::WriterThread(QString disk_path, QString image_path, bool write_partitions, bool verify_after) : mDiskPath(disk_path), mImagePath(image_path),
mWriteOn... | 30.210526 | 155 | 0.596037 | Tpimp |
b88ae3a5270ee8763ad2682c10e733d05cb0645d | 2,945 | cpp | C++ | src/nn/neuron_squential.cpp | wzppengpeng/LittleConv | 12aab4cfbbe965fa8b4053bb464db1165cc4ec31 | [
"MIT"
] | 93 | 2017-10-25T07:48:42.000Z | 2022-02-02T15:18:11.000Z | src/nn/neuron_squential.cpp | wzppengpeng/LittleConv | 12aab4cfbbe965fa8b4053bb464db1165cc4ec31 | [
"MIT"
] | null | null | null | src/nn/neuron_squential.cpp | wzppengpeng/LittleConv | 12aab4cfbbe965fa8b4053bb464db1165cc4ec31 | [
"MIT"
] | 20 | 2018-02-06T10:01:36.000Z | 2019-07-07T09:26:40.000Z | /**
* the container details of neuron squential node
*/
#include "licon/nn/node/neuron_squential.hpp"
using namespace std;
namespace licon
{
namespace nn
{
std::unordered_map<std::string, utils::ETensor<F>* > Squential::StateDict() {
CHECK(m_node_name.empty() == false);
std::unordered_map<std::string, ut... | 28.592233 | 102 | 0.63871 | wzppengpeng |
b88d1dd326726220213757153ecc4a79f78b308a | 3,350 | cpp | C++ | Tial/TialUtility/tests/Exception.cpp | mplucinski/Tial | 67b60bf8b8b472152611a6605010c111100062d1 | [
"BSD-2-Clause"
] | null | null | null | Tial/TialUtility/tests/Exception.cpp | mplucinski/Tial | 67b60bf8b8b472152611a6605010c111100062d1 | [
"BSD-2-Clause"
] | null | null | null | Tial/TialUtility/tests/Exception.cpp | mplucinski/Tial | 67b60bf8b8b472152611a6605010c111100062d1 | [
"BSD-2-Clause"
] | null | null | null | /* Copyright (c) 2015, Mariusz Plucinski
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions... | 34.895833 | 101 | 0.697313 | mplucinski |
b88e96096bc6099b7a4dee1e3b18698601cdee50 | 3,623 | cc | C++ | benchmark/strings/ascii_benchmark.cc | Conun/abel | 485ef38c917c0df3750242cc38966a2bcb163588 | [
"BSD-3-Clause"
] | null | null | null | benchmark/strings/ascii_benchmark.cc | Conun/abel | 485ef38c917c0df3750242cc38966a2bcb163588 | [
"BSD-3-Clause"
] | null | null | null | benchmark/strings/ascii_benchmark.cc | Conun/abel | 485ef38c917c0df3750242cc38966a2bcb163588 | [
"BSD-3-Clause"
] | null | null | null | //
#include <abel/strings/ascii.h>
#include <abel/strings/case_conv.h>
#include <cctype>
#include <string>
#include <array>
#include <random>
#include <benchmark/benchmark.h>
namespace {
std::array<unsigned char, 256> MakeShuffledBytes() {
std::array<unsigned char, 256> bytes;
for (size_t i = 0; i < 256; ++i) b... | 33.238532 | 80 | 0.74027 | Conun |
b89248ca6e8b8debaae43f5f5859a95a6c7f5b8b | 589 | hpp | C++ | autoindex/AutoIndexGenerator.hpp | 42Mginx/mginx | e26d8824357959ce94b3766d09efc4599005ff78 | [
"MIT"
] | null | null | null | autoindex/AutoIndexGenerator.hpp | 42Mginx/mginx | e26d8824357959ce94b3766d09efc4599005ff78 | [
"MIT"
] | 10 | 2022-03-01T14:15:13.000Z | 2022-03-27T05:54:08.000Z | autoindex/AutoIndexGenerator.hpp | 42Mginx/mginx | e26d8824357959ce94b3766d09efc4599005ff78 | [
"MIT"
] | null | null | null | #ifndef AUTO_INDEX_GENERATOR_HPP
# define AUTO_INDEX_GENERATOR_HPP
# include "Webserver.hpp"
class AutoIndexGenerator {
public:
AutoIndexGenerator(void);
AutoIndexGenerator(AutoIndexGenerator const &src);
virtual ~AutoIndexGenerator(void);
AutoIndexGenerator &operator=(AutoInde... | 26.772727 | 128 | 0.70798 | 42Mginx |
b895d4e82c55775a9d19a86a12d7b93fca22cfd6 | 9,928 | cpp | C++ | planning/scenario_planning/common/motion_velocity_smoother/src/resample.cpp | loop-perception/AutowareArchitectureProposal.iv | 5d8dff0db51634f0c42d2a3e87ca423fbee84348 | [
"Apache-2.0"
] | 1 | 2022-03-09T05:53:04.000Z | 2022-03-09T05:53:04.000Z | planning/scenario_planning/common/motion_velocity_smoother/src/resample.cpp | loop-perception/AutowareArchitectureProposal.iv | 5d8dff0db51634f0c42d2a3e87ca423fbee84348 | [
"Apache-2.0"
] | 4 | 2022-01-07T21:21:04.000Z | 2022-03-14T21:25:37.000Z | planning/scenario_planning/common/motion_velocity_smoother/src/resample.cpp | loop-perception/AutowareArchitectureProposal.iv | 5d8dff0db51634f0c42d2a3e87ca423fbee84348 | [
"Apache-2.0"
] | 2 | 2021-03-09T00:20:39.000Z | 2021-04-16T10:23:36.000Z | // Copyright 2021 Tier IV, 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 i... | 36.77037 | 100 | 0.69994 | loop-perception |
b8963921addf2bc56b37f6640d53f8d19403a17e | 1,310 | hpp | C++ | include/ghex/rma/uuid.hpp | fthaler/GHEX | ead3699e3ed3aa60c5f18225d4d6f8dcf3412cf9 | [
"BSD-3-Clause"
] | null | null | null | include/ghex/rma/uuid.hpp | fthaler/GHEX | ead3699e3ed3aa60c5f18225d4d6f8dcf3412cf9 | [
"BSD-3-Clause"
] | 4 | 2019-12-11T10:22:25.000Z | 2021-12-20T13:50:20.000Z | include/ghex/rma/uuid.hpp | fthaler/GHEX | ead3699e3ed3aa60c5f18225d4d6f8dcf3412cf9 | [
"BSD-3-Clause"
] | null | null | null | /*
* GridTools
*
* Copyright (c) 2014-2020, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#ifndef INCLUDED_GHEX_RMA_UUID_HPP
#define INCLUDED_GHEX_RMA_UUID_HPP
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/... | 21.833333 | 85 | 0.647328 | fthaler |
b89903ad6354b92f97fa00fc1b35394837c15bac | 3,781 | cc | C++ | src/memo/utility.cc | infinit/memo | 3a8394d0f647efe03ccb8bfe885a7279cb8be8a6 | [
"Apache-2.0"
] | 124 | 2017-06-22T19:20:54.000Z | 2021-12-23T21:36:37.000Z | src/memo/utility.cc | infinit/memo | 3a8394d0f647efe03ccb8bfe885a7279cb8be8a6 | [
"Apache-2.0"
] | 4 | 2017-08-21T15:57:29.000Z | 2019-01-10T02:52:35.000Z | src/memo/utility.cc | infinit/memo | 3a8394d0f647efe03ccb8bfe885a7279cb8be8a6 | [
"Apache-2.0"
] | 12 | 2017-06-29T09:15:35.000Z | 2020-12-31T12:39:52.000Z | #include <memo/utility.hh>
#include <regex>
#include <elle/format/base64.hh>
#include <elle/json/exceptions.hh>
#include <elle/system/XDG.hh>
#include <elle/cryptography/hash.hh>
#include <elle/cryptography/rsa/KeyPair.hh>
#include <elle/reactor/scheduler.hh>
#include <memo/version.hh>
ELLE_LOG_COMPONENT("memo.ut... | 25.039735 | 77 | 0.622322 | infinit |
b899870534f2b576ed75643dd28c1af0c3988043 | 2,104 | cpp | C++ | Sources/x10/xla_tensor/ops/arg_max.cpp | vguerra/swift-apis | 215c1380874c55d2f12ae81ce78968f9e25ed723 | [
"Apache-2.0"
] | null | null | null | Sources/x10/xla_tensor/ops/arg_max.cpp | vguerra/swift-apis | 215c1380874c55d2f12ae81ce78968f9e25ed723 | [
"Apache-2.0"
] | null | null | null | Sources/x10/xla_tensor/ops/arg_max.cpp | vguerra/swift-apis | 215c1380874c55d2f12ae81ce78968f9e25ed723 | [
"Apache-2.0"
] | 1 | 2020-06-04T23:23:46.000Z | 2020-06-04T23:23:46.000Z | // Copyright 2020 TensorFlow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 33.396825 | 78 | 0.70865 | vguerra |
b89e105bf8451752187b7f1a319673c8876e05cb | 980 | hpp | C++ | include/Gates.hpp | aimbot31/nanotekspices | 975862af8e9442c8dba145616f178503b3518ef7 | [
"MIT"
] | null | null | null | include/Gates.hpp | aimbot31/nanotekspices | 975862af8e9442c8dba145616f178503b3518ef7 | [
"MIT"
] | null | null | null | include/Gates.hpp | aimbot31/nanotekspices | 975862af8e9442c8dba145616f178503b3518ef7 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2019
** nanotekspices
** File description:
** Gates
*/
#ifndef GATES_H_
#define GATES_H_
#include <functional>
#include "IComponent.hpp"
/**
* \namespace nts
* \brief Namespace for Component
*/
namespace nts {
/**
* \class Gates
* \brief Cl... | 26.486486 | 86 | 0.571429 | aimbot31 |
b89e5bb6129311bb1da86cb617e8d7924c137a9d | 1,137 | cpp | C++ | LibGraphics/Effects/Wm4MaterialEffect.cpp | wjezxujian/WildMagic4 | 249a17f8c447cf57c6283408e01009039810206a | [
"BSL-1.0"
] | 3 | 2021-08-02T04:03:03.000Z | 2022-01-04T07:31:20.000Z | LibGraphics/Effects/Wm4MaterialEffect.cpp | wjezxujian/WildMagic4 | 249a17f8c447cf57c6283408e01009039810206a | [
"BSL-1.0"
] | null | null | null | LibGraphics/Effects/Wm4MaterialEffect.cpp | wjezxujian/WildMagic4 | 249a17f8c447cf57c6283408e01009039810206a | [
"BSL-1.0"
] | 5 | 2019-10-13T02:44:19.000Z | 2021-08-02T04:03:10.000Z | // Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006. All Rights Reserved
//
// The Wild Magic Version 4 Restricted Libraries source code is supplied
// under the terms of the license agreement
// http://www.geometrictools.com/License/Wm4RestrictedLicense.pdf
// and may not be copie... | 34.454545 | 78 | 0.613896 | wjezxujian |
b8a1b689d6178625ef8850d86703ffb730e81221 | 2,012 | cpp | C++ | UAlbertaBot/Source/micromanagement/DetectorManager.cpp | abeshry/StarcraftAI | 2eca612783d1b4c06469885ebc3cce46cc0c6fce | [
"Apache-2.0"
] | null | null | null | UAlbertaBot/Source/micromanagement/DetectorManager.cpp | abeshry/StarcraftAI | 2eca612783d1b4c06469885ebc3cce46cc0c6fce | [
"Apache-2.0"
] | null | null | null | UAlbertaBot/Source/micromanagement/DetectorManager.cpp | abeshry/StarcraftAI | 2eca612783d1b4c06469885ebc3cce46cc0c6fce | [
"Apache-2.0"
] | null | null | null | #include "Common.h"
#include "DetectorManager.h"
DetectorManager::DetectorManager() : unitClosestToEnemy(NULL) { }
void DetectorManager::executeMicro(const UnitVector & targets)
{
const UnitVector & detectorUnits = getUnits();
if (detectorUnits.empty())
{
return;
}
for (size_t i(0); i<targets.size(); ++i)
... | 25.468354 | 110 | 0.709245 | abeshry |
b8a4ddf771bf2a4e5a3d536cbbfd6dcaa04cc83f | 9,544 | cpp | C++ | lib/year2021/src/Day18Puzzle.cpp | MarkRDavison/AdventOfCode | 640ae6de76709367be8dfeb86b9f1f7d21908946 | [
"MIT"
] | null | null | null | lib/year2021/src/Day18Puzzle.cpp | MarkRDavison/AdventOfCode | 640ae6de76709367be8dfeb86b9f1f7d21908946 | [
"MIT"
] | null | null | null | lib/year2021/src/Day18Puzzle.cpp | MarkRDavison/AdventOfCode | 640ae6de76709367be8dfeb86b9f1f7d21908946 | [
"MIT"
] | null | null | null | #include <2021/Day18Puzzle.hpp>
#include <zeno-engine/Utility/StringExtensions.hpp>
#include <unordered_map>
#include <cassert>
#include <stack>
namespace TwentyTwentyOne {
std::string recurseRender(const SnailFishNumber* _number) {
if (_number->type == SnailFishNumber::Type::Leaf) {
return std::to_string(_numb... | 26.808989 | 143 | 0.646165 | MarkRDavison |
b8aad22dd8071797153086646d861213fff9c09f | 2,120 | cpp | C++ | Daa_Greedy1/A_4/program4.cpp | anuj0405/DAA | 3ea853200317dd1b588d56e7d24f65d66821040c | [
"MIT"
] | 1 | 2020-02-01T20:19:44.000Z | 2020-02-01T20:19:44.000Z | Daa_Greedy1/A_4/program4.cpp | anuj0405/DAA | 3ea853200317dd1b588d56e7d24f65d66821040c | [
"MIT"
] | null | null | null | Daa_Greedy1/A_4/program4.cpp | anuj0405/DAA | 3ea853200317dd1b588d56e7d24f65d66821040c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include<chrono>
using namespace std;
using namespace std::chrono;
class sorting
{
public:
long a,cm=0;
int i=0,j=0;
vector<double> v1,v2;
int partition(int,int);
int hoare_class(int,int);
void quick(int,int);
void quicksort_class(int,int);
};
int sorting::partition (in... | 16.434109 | 94 | 0.535849 | anuj0405 |
b8b19173f6d5b194d5a316f942821f3907008791 | 4,400 | hpp | C++ | lib/luwra/auxiliary.hpp | jonmortiboy/luwra | 71264e49103f8633ee5225dab1f4567a7f3672a2 | [
"BSD-3-Clause"
] | 186 | 2015-06-20T00:38:04.000Z | 2022-02-19T16:08:33.000Z | lib/luwra/auxiliary.hpp | jonmortiboy/luwra | 71264e49103f8633ee5225dab1f4567a7f3672a2 | [
"BSD-3-Clause"
] | 17 | 2015-07-09T10:23:02.000Z | 2022-01-19T17:34:44.000Z | lib/luwra/auxiliary.hpp | jonmortiboy/luwra | 71264e49103f8633ee5225dab1f4567a7f3672a2 | [
"BSD-3-Clause"
] | 21 | 2015-07-05T12:59:48.000Z | 2020-07-20T18:50:43.000Z | /* Luwra
* Minimal-overhead Lua wrapper for C++
*
* Copyright (C) 2015, Ole Krüger <ole@vprsm.de>
*/
#ifndef LUWRA_AUXILIARY_H_
#define LUWRA_AUXILIARY_H_
#include "common.hpp"
#include "types/pushable.hpp"
#include "stack.hpp"
#include <utility>
#include <map>
LUWRA_NS_BEGIN
/// Check if two values are equal.... | 21.890547 | 83 | 0.661818 | jonmortiboy |
b8b35406e8b0dfe907a8c13f26ab3e08d19a1996 | 5,778 | cpp | C++ | makepad/ChakraCore/bin/ChakraCore/ChakraCoreDllFunc.cpp | makepaddev/makepad | 25d2f18c8a7c190fd1b199762817b6514118e045 | [
"MIT"
] | 1 | 2018-04-01T09:26:32.000Z | 2018-04-01T09:26:32.000Z | makepad/ChakraCore/bin/ChakraCore/ChakraCoreDllFunc.cpp | makepaddev/makepad | 25d2f18c8a7c190fd1b199762817b6514118e045 | [
"MIT"
] | null | null | null | makepad/ChakraCore/bin/ChakraCore/ChakraCoreDllFunc.cpp | makepaddev/makepad | 25d2f18c8a7c190fd1b199762817b6514118e045 | [
"MIT"
] | 1 | 2019-01-19T00:00:10.000Z | 2019-01-19T00:00:10.000Z | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | 31.747253 | 124 | 0.687089 | makepaddev |
b8bbf3c16724258dfdf0029217b696b39111fa82 | 5,003 | cpp | C++ | src/modules/processes/contrib/gviehoever/GradientDomain/GradientsHdrCompositionProcess.cpp | fmeschia/pixinsight-class-library | 11b956e27d6eee3e119a7b1c337d090d7a03f436 | [
"JasPer-2.0",
"libtiff"
] | null | null | null | src/modules/processes/contrib/gviehoever/GradientDomain/GradientsHdrCompositionProcess.cpp | fmeschia/pixinsight-class-library | 11b956e27d6eee3e119a7b1c337d090d7a03f436 | [
"JasPer-2.0",
"libtiff"
] | null | null | null | src/modules/processes/contrib/gviehoever/GradientDomain/GradientsHdrCompositionProcess.cpp | fmeschia/pixinsight-class-library | 11b956e27d6eee3e119a7b1c337d090d7a03f436 | [
"JasPer-2.0",
"libtiff"
] | null | null | null | // ____ ______ __
// / __ \ / ____// /
// / /_/ // / / /
// / ____// /___ / /___ PixInsight Class Library
// /_/ \____//_____/ PCL 2.4.9
// ----------------------------------------------------------------------------
// Standard GradientDomain Process Module Version 0.6.4
// ---------------------... | 38.19084 | 132 | 0.558465 | fmeschia |
fef6962a9ad35a63ff00ea40e0556773387f88a4 | 2,384 | hpp | C++ | library/src/device_mutex.hpp | ROCm-Developer-Tools/RO_NET | 29e6329e4522b7d6dc9cced93eb69eefeac0d7f9 | [
"MIT"
] | null | null | null | library/src/device_mutex.hpp | ROCm-Developer-Tools/RO_NET | 29e6329e4522b7d6dc9cced93eb69eefeac0d7f9 | [
"MIT"
] | null | null | null | library/src/device_mutex.hpp | ROCm-Developer-Tools/RO_NET | 29e6329e4522b7d6dc9cced93eb69eefeac0d7f9 | [
"MIT"
] | 1 | 2019-11-01T22:49:10.000Z | 2019-11-01T22:49:10.000Z | /******************************************************************************
* Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal i... | 28.722892 | 79 | 0.642198 | ROCm-Developer-Tools |
fef991fafa817772bd0d2f0808eafbf09e95c6a3 | 3,599 | cpp | C++ | aoc2015/aoc151202.cpp | jiayuehua/adventOfCode | fd47ddefd286fe94db204a9850110f8d1d74d15b | [
"Unlicense"
] | null | null | null | aoc2015/aoc151202.cpp | jiayuehua/adventOfCode | fd47ddefd286fe94db204a9850110f8d1d74d15b | [
"Unlicense"
] | null | null | null | aoc2015/aoc151202.cpp | jiayuehua/adventOfCode | fd47ddefd286fe94db204a9850110f8d1d74d15b | [
"Unlicense"
] | null | null | null | #include <fstream>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <fmt/format.h>
#include <string>
#include <iomanip>
#include <unordered_map>
#include <range/v3/all.hpp>
#include "matrix.h"
struct Valid
{
std::pair<int, int> ca;
std::pair<int, int> cb;
bool operator()(int n) const
{
ret... | 24.482993 | 98 | 0.457905 | jiayuehua |
fefa83647ca16df90cdf2d9eb780fbdf07311f48 | 4,472 | cpp | C++ | Game/OGRE/Tests/OgreMain/src/RadixSort.cpp | hackerlank/SourceCode | b702c9e0a9ca5d86933f3c827abb02a18ffc9a59 | [
"MIT"
] | 4 | 2021-07-31T13:56:01.000Z | 2021-11-13T02:55:10.000Z | Game/OGRE/Tests/OgreMain/src/RadixSort.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | null | null | null | Game/OGRE/Tests/OgreMain/src/RadixSort.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | 7 | 2021-08-31T14:34:23.000Z | 2022-01-19T08:25:58.000Z | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2005 The OGRE Team
Also see acknowledgements in Readme.html
This program is free software; yo... | 22.138614 | 85 | 0.670841 | hackerlank |
feff4e98664c7d831ffc6a6d9bdf9aedde5bb811 | 2,035 | cpp | C++ | src/evt/pwcet.cpp | AlterB/chronovise | 5c5fac329b143f3e62ebbc8523d7e205835dd4cb | [
"Apache-2.0"
] | 2 | 2021-02-04T18:22:41.000Z | 2021-12-08T10:57:00.000Z | src/evt/pwcet.cpp | AlterB/chronovise | 5c5fac329b143f3e62ebbc8523d7e205835dd4cb | [
"Apache-2.0"
] | 9 | 2018-03-20T10:24:22.000Z | 2018-08-27T21:53:56.000Z | src/evt/pwcet.cpp | AlterB/chronovise | 5c5fac329b143f3e62ebbc8523d7e205835dd4cb | [
"Apache-2.0"
] | 4 | 2018-05-16T14:27:55.000Z | 2022-01-28T17:18:24.000Z | /*
* chronovise - Copyright 2018 Politecnico di Milano
*
* 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 applic... | 26.089744 | 101 | 0.690909 | AlterB |
3a00bce47947cabaca571d7a6e6643e5922720a1 | 33,324 | cpp | C++ | src/core/cmdStream.cpp | gflegar/pal | 93d6aba82af14ae57ae6d84a4cf0cca3d9aa8c6b | [
"MIT"
] | 3 | 2019-04-21T20:27:37.000Z | 2021-05-31T09:30:57.000Z | src/core/cmdStream.cpp | gflegar/pal | 93d6aba82af14ae57ae6d84a4cf0cca3d9aa8c6b | [
"MIT"
] | null | null | null | src/core/cmdStream.cpp | gflegar/pal | 93d6aba82af14ae57ae6d84a4cf0cca3d9aa8c6b | [
"MIT"
] | null | null | null | /*
***********************************************************************************************************************
*
* Copyright (c) 2014-2021 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | 41.447761 | 120 | 0.617423 | gflegar |
3a04b1e3a73f363577d52bbba015a261db6ea4b3 | 8,299 | hpp | C++ | imp_cu_imgproc/include/imp/cu_imgproc/image_pyramid.hpp | rockenbf/ze_oss | ee04158e2d51acb07a267196f618e9afbc3ffd83 | [
"BSD-3-Clause"
] | 30 | 2016-09-27T07:41:28.000Z | 2021-12-03T20:44:28.000Z | imp_cu_imgproc/include/imp/cu_imgproc/image_pyramid.hpp | rockenbf/ze_oss | ee04158e2d51acb07a267196f618e9afbc3ffd83 | [
"BSD-3-Clause"
] | 1 | 2018-12-18T15:53:06.000Z | 2018-12-21T03:10:06.000Z | imp_cu_imgproc/include/imp/cu_imgproc/image_pyramid.hpp | rockenbf/ze_oss | ee04158e2d51acb07a267196f618e9afbc3ffd83 | [
"BSD-3-Clause"
] | 12 | 2016-11-05T07:51:29.000Z | 2020-07-13T02:26:08.000Z | // Copyright (c) 2015-2016, ETH Zurich, Wyss Zurich, Zurich Eye
// 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
// ... | 41.288557 | 97 | 0.720448 | rockenbf |
3a0bfbb78e641537c03b195e10d85e056588ed62 | 4,186 | cpp | C++ | src/vidhrdw/solomon.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 33 | 2015-08-10T11:13:47.000Z | 2021-08-30T10:00:46.000Z | src/vidhrdw/solomon.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 13 | 2015-08-25T03:53:08.000Z | 2022-03-30T18:02:35.000Z | src/vidhrdw/solomon.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 40 | 2015-08-25T05:09:21.000Z | 2022-02-08T05:02:30.000Z | #include "driver.h"
#include "vidhrdw/generic.h"
unsigned char *solomon_bgvideoram;
unsigned char *solomon_bgcolorram;
static struct osd_bitmap *tmpbitmap2;
static unsigned char *dirtybuffer2;
static int flipscreen;
/***************************************************************************
Start the video ha... | 20.62069 | 102 | 0.588151 | gameblabla |
3a0c0f0684599cffc964cdd2e20cebad7f68abad | 4,507 | cpp | C++ | src/openpose/filestream/bvhSaver.cpp | khansamad47/openpose | 19bd98dd860da3d71916046dfc8d985808292b31 | [
"DOC"
] | 12 | 2019-05-10T09:56:39.000Z | 2021-08-09T03:42:28.000Z | src/openpose/filestream/bvhSaver.cpp | ChronousZhang/openpose | 6d3ff8b3361cb5c098294b486a25c9921ad864c2 | [
"DOC"
] | null | null | null | src/openpose/filestream/bvhSaver.cpp | ChronousZhang/openpose | 6d3ff8b3361cb5c098294b486a25c9921ad864c2 | [
"DOC"
] | 7 | 2019-06-14T03:38:09.000Z | 2021-08-09T03:43:27.000Z | #ifdef USE_3D_ADAM_MODEL
#ifdef USE_3D_ADAM_MODEL
#include <adam/BVHWriter.h>
#endif
#include <openpose/filestream/bvhSaver.hpp>
namespace op
{
struct BvhSaver::ImplBvhSaver
{
#ifdef USE_3D_ADAM_MODEL
// Write BVH file
const std::string mBvhFilePath;
const double... | 33.634328 | 109 | 0.502552 | khansamad47 |
3a0f8f5a9c08204a9735d34a9ddbe17c2c9e028f | 9,546 | hpp | C++ | include/eve/algo/views/convert.hpp | mshojatalab/eve | 9fc1f46e695b05e2e72f7e2083729621e6bdb57e | [
"MIT"
] | null | null | null | include/eve/algo/views/convert.hpp | mshojatalab/eve | 9fc1f46e695b05e2e72f7e2083729621e6bdb57e | [
"MIT"
] | null | null | null | include/eve/algo/views/convert.hpp | mshojatalab/eve | 9fc1f46e695b05e2e72f7e2083729621e6bdb57e | [
"MIT"
] | null | null | null | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 35.355556 | 121 | 0.558454 | mshojatalab |
3a121272e2299dd6bf535eb6ee55c8aa723b2d2f | 1,823 | cpp | C++ | Code/TestIDLWsp/TestIDLFrmImpl/TestIDLModImpl.m/src/TestCompExt.cpp | msdos41/CATIA_CAA_V5 | bf831f7ecc3c4937b227782ee8bebf7c6675792a | [
"MIT"
] | 5 | 2019-11-14T05:42:38.000Z | 2022-03-12T12:51:46.000Z | Code/TestIDLWsp/TestIDLFrmImpl/TestIDLModImpl.m/src/TestCompExt.cpp | msdos41/CATIA_CAA_V5 | bf831f7ecc3c4937b227782ee8bebf7c6675792a | [
"MIT"
] | null | null | null | Code/TestIDLWsp/TestIDLFrmImpl/TestIDLModImpl.m/src/TestCompExt.cpp | msdos41/CATIA_CAA_V5 | bf831f7ecc3c4937b227782ee8bebf7c6675792a | [
"MIT"
] | 4 | 2020-01-02T13:48:07.000Z | 2022-01-05T04:23:30.000Z | //===================================================================
// COPYRIGHT MUSIC 2021/05/21
//===================================================================
// TestCompExt.cpp
// Header definition of class TestCompExt
//===================================================================
//
// Usage notes:
... | 25.676056 | 79 | 0.382337 | msdos41 |
3a203bf058280ccd83bff5184a2c8d9cac0f16bf | 3,380 | cpp | C++ | Nacro/SDK/FN_StatusWidget_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_StatusWidget_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2021-08-11T18:40:26.000Z | 2021-08-11T18:40:26.000Z | Nacro/SDK/FN_StatusWidget_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | // Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function StatusWidget.StatusWidget_C.... | 25.037037 | 119 | 0.707988 | Milxnor |
3a214d09e5cfb22874d212f8668714fabe4b36a7 | 550 | hpp | C++ | libs/image3d/include/sge/image3d/store/srgba8.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/image3d/include/sge/image3d/store/srgba8.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/image3d/include/sge/image3d/store/srgba8.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// 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)
#ifndef SGE_IMAGE3D_STORE_SRGBA8_HPP_INCLUDED
#define SGE_IMAGE3D_STORE_SRGBA8_HPP_INCLUDED
#inclu... | 32.352941 | 61 | 0.770909 | cpreh |
3a21be20ea01af0b55e05f17b524d4144d8d62cc | 12,363 | cpp | C++ | kmenuwnd.cpp | haomiao/WinUIBase | 225ac1ad69f902006ed59ea6084382bcfa48d2ab | [
"MIT"
] | null | null | null | kmenuwnd.cpp | haomiao/WinUIBase | 225ac1ad69f902006ed59ea6084382bcfa48d2ab | [
"MIT"
] | null | null | null | kmenuwnd.cpp | haomiao/WinUIBase | 225ac1ad69f902006ed59ea6084382bcfa48d2ab | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "kmenuwnd.h"
#include <algorithm>
namespace
{
#define TOP_SPACE 4
#define BOTTOM_SPACE 4
#define DLG_BORDER_COLOR RGB(0xDD, 0xDD, 0xDD)
#define DLG_BACKGROUND_COLOR RGB(0xFF, 0xFF, 0xFF)
#define IMAGE_TOP_HOLLOW 1
#define IMAGE_LEFT_HOLLOW 12
#define IMAGE_RIGHT_HOLLOW 8
#d... | 22.235612 | 78 | 0.663917 | haomiao |
3a25d1635dcbc3c1d75cb0d0c92b783cfd5b8064 | 1,874 | hpp | C++ | ch06/queue.hpp | klong13579/cppL | 7aa8afaf2d2e17578c7fd91654bedcccf0a6baab | [
"MIT"
] | 261 | 2015-01-11T20:42:33.000Z | 2022-02-17T01:33:39.000Z | ch06/queue.hpp | LeungGeorge/CLRS | 7aa8afaf2d2e17578c7fd91654bedcccf0a6baab | [
"MIT"
] | 4 | 2015-04-05T11:49:45.000Z | 2017-02-19T08:29:52.000Z | ch06/queue.hpp | LeungGeorge/CLRS | 7aa8afaf2d2e17578c7fd91654bedcccf0a6baab | [
"MIT"
] | 98 | 2015-01-03T12:58:50.000Z | 2021-07-16T07:29:31.000Z | /***************************************************************************
* @file queue.hpp
* @author Yue Wang
* @date 30 Aug 2014
* @version 2
* @remark CLRS Algorithms implementation in C++ templates.
***************************************************************************/
#... | 17.192661 | 77 | 0.483991 | klong13579 |
3a268684c84d552273f8b54e0dfb70dec913b8ee | 788 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/system_signal/signal.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/system_signal/signal.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/system_signal/signal.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
namespace msw
{
enum class system_signal : int
{
none
, cancel
, stop
, close
, uni_hup = 32
, uni_int
, uni_quit
, uni_ill
, uni_trap
, uni_abrt
, uni_fpe
, uni_bus
, uni_segv
... | 16.765957 | 41 | 0.431472 | yklishevich |
3a276ca2ec16b8e4f0868fc405201f75e69a1eea | 3,405 | cpp | C++ | src/StageState.cpp | MatheusRich/IDJ | a25f4484d65a032b1f440c8237a1bd5dd2295266 | [
"MIT"
] | null | null | null | src/StageState.cpp | MatheusRich/IDJ | a25f4484d65a032b1f440c8237a1bd5dd2295266 | [
"MIT"
] | null | null | null | src/StageState.cpp | MatheusRich/IDJ | a25f4484d65a032b1f440c8237a1bd5dd2295266 | [
"MIT"
] | 1 | 2021-08-28T15:12:11.000Z | 2021-08-28T15:12:11.000Z | #include "StageState.h"
#include "Vec2.h"
#include "TileMap.h"
#include "TileSet.h"
#include "InputManager.h"
#include "Camera.h"
#include "CameraFollower.h"
#include "Alien.h"
#include "PenguinBody.h"
#include "Collision.h"
#include "Collider.h"
#include "Game.h"
#include "TitleState.h"
#include "EndState.h"
#include ... | 25.795455 | 119 | 0.675184 | MatheusRich |
3a2b4996eaca6b13f47f016807053068a9999fd6 | 824 | hpp | C++ | include/public/coherence/util/Filter.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-01T21:38:30.000Z | 2021-11-03T01:35:11.000Z | include/public/coherence/util/Filter.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 1 | 2020-07-24T17:29:22.000Z | 2020-07-24T18:29:04.000Z | include/public/coherence/util/Filter.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-10T18:40:58.000Z | 2022-02-18T01:23:40.000Z | /*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
#ifndef COH_FILTER_HPP
#define COH_FILTER_HPP
#include "coherence/lang.ns"
COH_OPEN_NAMESPACE2(coherence,util)
/**
* Provide for "pluggable... | 21.128205 | 77 | 0.603155 | chpatel3 |
3a2d5d2186b23a4d82540c8ebb42dcbdd6c9c751 | 593 | hpp | C++ | library/ATF/_worlddb_unit_info_array.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/_worlddb_unit_info_array.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/_worlddb_unit_info_array.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
struct _worlddb_unit_info_array
{
struct __worlddb_unit_info
{
char byFrame;
unsigned int dwGauge;
... | 24.708333 | 108 | 0.608769 | lemkova |
3a2dc464306249c8442246d020a367ec9a33ab61 | 249 | cpp | C++ | Game/Client/WXClient/Network/PacketHandler/CGAskTeamInfoHandler.cpp | hackerlank/SourceCode | b702c9e0a9ca5d86933f3c827abb02a18ffc9a59 | [
"MIT"
] | 4 | 2021-07-31T13:56:01.000Z | 2021-11-13T02:55:10.000Z | Game/Client/WXClient/Network/PacketHandler/CGAskTeamInfoHandler.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | null | null | null | Game/Client/WXClient/Network/PacketHandler/CGAskTeamInfoHandler.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | 7 | 2021-08-31T14:34:23.000Z | 2022-01-19T08:25:58.000Z | // CGAskTeamInfoHandler
#include "StdAfx.h"
#include "CGAskTeamInfo.h"
uint CGAskTeamInfoHandler::Execute( CGAskTeamInfo* pPacket, Player* pPlayer )
{
__ENTER_FUNCTION
return PACKET_EXE_CONTINUE ;
__LEAVE_FUNCTION
return PACKET_EXE_ERROR ;
}
| 15.5625 | 77 | 0.795181 | hackerlank |
3a3236523ff0c3f2735c259022ae6dc6f3e85853 | 2,531 | cpp | C++ | src/timekeeper.cpp | ThisIsntTheWay/rack_nixie_display | 3efb294ec7fee8380512f0ab52944b6aba3c8229 | [
"MIT"
] | null | null | null | src/timekeeper.cpp | ThisIsntTheWay/rack_nixie_display | 3efb294ec7fee8380512f0ab52944b6aba3c8229 | [
"MIT"
] | 6 | 2022-01-24T09:04:50.000Z | 2022-03-10T14:40:55.000Z | src/timekeeper.cpp | ThisIsntTheWay/rack_nixie_display | 3efb294ec7fee8380512f0ab52944b6aba3c8229 | [
"MIT"
] | null | null | null | #include <timekeeper.h>
WiFiUDP ntpUDP;
// Statics
bool Timekeeper::MountStatus = true;
int Timekeeper::UpdateInterval = 60000;
long Timekeeper::BootEpoch;
long Timekeeper::NowEpoch;
Timekeeper::Time Timekeeper::time;
int Timekeeper::DstOffset = 3600;
int Timekeeper::UtcOffset = 3600;
char Timekeeper::NtpSource[32... | 27.813187 | 107 | 0.618728 | ThisIsntTheWay |
3a3f126d8ea6022d4ae9598be68ffb394aab47d4 | 601 | cpp | C++ | src/libmoex/viewnode/views/TwoLevelHintsTableViewNode.cpp | zhangkn/MachOExplorer | 7f510277b2d10612cab739c4456aadc292cda3a5 | [
"MIT"
] | 586 | 2017-02-18T02:30:50.000Z | 2022-03-24T02:54:22.000Z | src/libmoex/viewnode/views/TwoLevelHintsTableViewNode.cpp | fenglh/MachOExplorer | 173122e2a0dae9633f792bd4399a6ce832596458 | [
"MIT"
] | 20 | 2017-12-01T02:41:08.000Z | 2021-01-05T20:48:28.000Z | src/libmoex/viewnode/views/TwoLevelHintsTableViewNode.cpp | fenglh/MachOExplorer | 173122e2a0dae9633f792bd4399a6ce832596458 | [
"MIT"
] | 56 | 2017-10-02T07:54:03.000Z | 2021-12-16T09:15:58.000Z | //
// Created by everettjf on 03/11/2017.
//
#include "TwoLevelHintsTableViewNode.h"
MOEX_NAMESPACE_BEGIN
void TwoLevelHintsTableViewNode::InitViewDatas() {
using namespace moex::util;
auto t = CreateTableView();
auto seg=mh_->FindLoadCommand<moex::LoadCommand_LC_TWOLEVEL_HINTS>({LC_TWOLEVEL_HINTS});... | 22.259259 | 92 | 0.685524 | zhangkn |
3a401050a35b76ba4509bbb4ad71e5e193711ffb | 356 | cpp | C++ | Chapter2/5.cpp | ReinaKousaka/Cpp_Primer_Plus | e2a0defdb0ccb38ba796a221755f37e06f170cad | [
"MIT"
] | null | null | null | Chapter2/5.cpp | ReinaKousaka/Cpp_Primer_Plus | e2a0defdb0ccb38ba796a221755f37e06f170cad | [
"MIT"
] | null | null | null | Chapter2/5.cpp | ReinaKousaka/Cpp_Primer_Plus | e2a0defdb0ccb38ba796a221755f37e06f170cad | [
"MIT"
] | null | null | null | #include <iostream>
float cel_to_fah(float);
int main(){
using namespace std;
float celsius;
cout << "Please enter a Celsius value: ";
cin >> celsius;
cout << celsius << " degrees Celsius is " << cel_to_fah(celsius) << " degrees Fahrenheit." << endl;
return 0;
}
float cel_to_fah(float celsius)... | 23.733333 | 103 | 0.634831 | ReinaKousaka |
3a4321e04e276cab38540c0c923925b8dcedf529 | 1,424 | cpp | C++ | Semester1/Homework6/6.4/6.4/list.cpp | yuniyakim/Homework | 21f879fe16d75003cfcc142dd6874bde1279b70c | [
"Apache-2.0"
] | 1 | 2019-03-30T17:45:08.000Z | 2019-03-30T17:45:08.000Z | Semester1/Homework6/6.4/6.4/list.cpp | yuniyakim/Homework | 21f879fe16d75003cfcc142dd6874bde1279b70c | [
"Apache-2.0"
] | 2 | 2019-04-13T14:23:47.000Z | 2020-06-07T01:35:00.000Z | Semester1/Homework6/6.4/6.4/list.cpp | yuniyakim/Homework | 21f879fe16d75003cfcc142dd6874bde1279b70c | [
"Apache-2.0"
] | 1 | 2019-04-12T14:34:20.000Z | 2019-04-12T14:34:20.000Z | #include "pch.h"
#include "list.h"
#include <iostream>
#include <string>
using namespace std;
struct List
{
string name;
string number;
List *next;
};
List *createList()
{
return nullptr;
}
void deleteList(List *list)
{
List *temp = list;
while (temp != nullptr)
{
List *temp2 = temp;
temp = temp->next;
... | 14.09901 | 72 | 0.643961 | yuniyakim |
3a43923bbd802c7eb438cacddabf29ff7b53b267 | 9,778 | hpp | C++ | src/perception/segmentation/euclidean_cluster_nodes/test/test_euclidean_cluster_nodes.hpp | 11Takanori/AutowareAuto_ | c27e87453e9ea1f757b8690d022e0086f1a9087a | [
"Apache-2.0"
] | null | null | null | src/perception/segmentation/euclidean_cluster_nodes/test/test_euclidean_cluster_nodes.hpp | 11Takanori/AutowareAuto_ | c27e87453e9ea1f757b8690d022e0086f1a9087a | [
"Apache-2.0"
] | null | null | null | src/perception/segmentation/euclidean_cluster_nodes/test/test_euclidean_cluster_nodes.hpp | 11Takanori/AutowareAuto_ | c27e87453e9ea1f757b8690d022e0086f1a9087a | [
"Apache-2.0"
] | 2 | 2021-09-27T06:19:07.000Z | 2021-09-28T08:18:09.000Z | // Copyright 2020 Tier IV, 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 i... | 39.587045 | 88 | 0.807629 | 11Takanori |
3a4445133e245e3e7b75cff5bcd9b2d50793d10c | 4,114 | cpp | C++ | src/database/core/SoXipSFDataImageToSFImage.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/database/core/SoXipSFDataImageToSFImage.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/database/core/SoXipSFDataImageToSFImage.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.... | 27.797297 | 87 | 0.728245 | OpenXIP |
3a46090fff789e537bcd0a1d06d05946222e9ad2 | 9,106 | cpp | C++ | lib/libOTe/libOTe/Base/naor-pinkas.cpp | manel1874/libscapi | 8cf705162af170c04c8e2299213f52888193cabe | [
"MIT"
] | 160 | 2016-05-11T09:45:56.000Z | 2022-03-06T09:32:19.000Z | lib/libOTe/libOTe/Base/naor-pinkas.cpp | cryptobiu/libscapi | 49eee7aee9eb3544a7facb199d0a6e98097b058a | [
"MIT"
] | 57 | 2016-12-26T07:02:12.000Z | 2022-03-06T16:34:31.000Z | lib/libOTe/libOTe/Base/naor-pinkas.cpp | manel1874/libscapi | 8cf705162af170c04c8e2299213f52888193cabe | [
"MIT"
] | 67 | 2016-10-10T17:56:22.000Z | 2022-03-15T22:56:39.000Z | #include "naor-pinkas.h"
#include <cryptoTools/Common/Log.h>
#include <cryptoTools/Common/Timer.h>
#include <cryptoTools/Common/BitVector.h>
#include <cryptoTools/Crypto/RandomOracle.h>
#include <cryptoTools/Network/Channel.h>
#include <cryptoTools/Crypto/RCurve.h>
#include <cryptoTools/Crypto/Curve.h>
... | 30.152318 | 81 | 0.453108 | manel1874 |
3a56e29f3b0e8d782204ffcce306b3abd07b591c | 891 | cpp | C++ | BrotBoxEngine/SimpleFile.cpp | HEX17/BrotBoxEngine | 4f8bbe220be022423b94e3b594a3695b87705a70 | [
"MIT"
] | 1 | 2020-10-08T13:40:36.000Z | 2020-10-08T13:40:36.000Z | BrotBoxEngine/SimpleFile.cpp | HEX17/BrotBoxEngine | 4f8bbe220be022423b94e3b594a3695b87705a70 | [
"MIT"
] | null | null | null | BrotBoxEngine/SimpleFile.cpp | HEX17/BrotBoxEngine | 4f8bbe220be022423b94e3b594a3695b87705a70 | [
"MIT"
] | null | null | null | #include "BBE/SimpleFile.h"
#include <fstream>
#include <iostream>
#include <stdlib.h>
bbe::List<unsigned char> bbe::simpleFile::readBinaryFile(const bbe::String & filepath)
{
//UNTESTED
std::ifstream file(filepath.getRaw(), std::ios::binary | std::ios::ate);
if (file)
{
size_t fileSize = (size_t)file.tellg();
... | 22.846154 | 97 | 0.673401 | HEX17 |
3a58fb21a9c7b9ffe8915c3c0eb59de86d6069c1 | 4,229 | hh | C++ | isaac_variant_caller/src/lib/strelka/strelka_shared.hh | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 21 | 2015-01-09T01:11:28.000Z | 2019-09-04T03:48:21.000Z | isaac_variant_caller/src/lib/strelka/strelka_shared.hh | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 4 | 2015-07-23T09:38:39.000Z | 2018-02-01T05:37:26.000Z | isaac_variant_caller/src/lib/strelka/strelka_shared.hh | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 13 | 2015-01-29T16:41:26.000Z | 2021-06-25T02:42:32.000Z | // -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Copyright (c) 2009-2013 Illumina, Inc.
//
// This software is provided under the terms and conditions of the
// Illumina Open Source Software License 1.
//
// You should have received a copy of the Illumina Open Source
// Software License 1 along with this program. If ... | 29.992908 | 75 | 0.74131 | sequencing |
3a5cd3cd8dd2372946d154f9f046bd9ec5912e44 | 3,601 | cpp | C++ | OJ/10603/10603.cpp | albertored11/PCOM-Problems | 018abf1870e9189c2e369e0864596a3678eb8e25 | [
"MIT"
] | null | null | null | OJ/10603/10603.cpp | albertored11/PCOM-Problems | 018abf1870e9189c2e369e0864596a3678eb8e25 | [
"MIT"
] | null | null | null | OJ/10603/10603.cpp | albertored11/PCOM-Problems | 018abf1870e9189c2e369e0864596a3678eb8e25 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <queue>
#include <cstring>
using namespace std;
using ii = pair<int, int>;
using iii = pair<int, ii>;
using viii = vector<iii>;
const int INF = 100000;
const int MAX = 201;
void resuelve() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (d >= c) {
cout << 0 << ' ... | 15.323404 | 64 | 0.527354 | albertored11 |
3a644596902de1f9ccba7432736b3b53ec7571ae | 139,885 | cpp | C++ | _studio/mfx_lib/genx/mctf/isa/genx_me_gen8_isa.cpp | wangyan42164/MediaSDK | bc98489e124b52c435a99eb85eef497d871be989 | [
"MIT"
] | 4 | 2021-03-03T10:18:53.000Z | 2022-03-31T03:04:34.000Z | _studio/mfx_lib/genx/mctf/isa/genx_me_gen8_isa.cpp | wangyan42164/MediaSDK | bc98489e124b52c435a99eb85eef497d871be989 | [
"MIT"
] | 1 | 2020-07-21T06:39:46.000Z | 2020-07-21T06:39:46.000Z | _studio/mfx_lib/genx/mctf/isa/genx_me_gen8_isa.cpp | wangyan42164/MediaSDK | bc98489e124b52c435a99eb85eef497d871be989 | [
"MIT"
] | 1 | 2020-08-17T21:07:24.000Z | 2020-08-17T21:07:24.000Z | // Copyright (c) 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, publ... | 80.532527 | 81 | 0.78992 | wangyan42164 |
3a657a28fae5e640e04d0d07076dde6f6adec7a2 | 3,316 | cpp | C++ | test/visualdsp/unit-test/MainThread.cpp | malachi-iot/estdlib | b455315c567ede54cea02eee5174036170d8fd26 | [
"MIT"
] | 11 | 2019-01-04T12:02:02.000Z | 2021-06-17T01:38:56.000Z | test/visualdsp/unit-test/MainThread.cpp | malachi-iot/estdlib | b455315c567ede54cea02eee5174036170d8fd26 | [
"MIT"
] | 5 | 2020-01-01T06:12:48.000Z | 2022-03-29T20:49:21.000Z | test/visualdsp/unit-test/MainThread.cpp | malachi-iot/estdlib | b455315c567ede54cea02eee5174036170d8fd26 | [
"MIT"
] | 1 | 2020-10-19T11:10:13.000Z | 2020-10-19T11:10:13.000Z | /* =============================================================================
*
* Description: This is a C++ implementation for Thread MainThread
*
* -----------------------------------------------------------------------------
* Comments:
*
* ================================================================... | 23.856115 | 87 | 0.515078 | malachi-iot |
3a6936db4214b01332e199ddf9ffb985782d5c61 | 3,898 | cpp | C++ | Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKScalarBarWidgetTest1.cpp | kraehlit/CTK | 6557c5779d20b78f501f1fd6ce1063d0f219cca6 | [
"Apache-2.0"
] | 515 | 2015-01-13T05:42:10.000Z | 2022-03-29T03:10:01.000Z | Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKScalarBarWidgetTest1.cpp | kraehlit/CTK | 6557c5779d20b78f501f1fd6ce1063d0f219cca6 | [
"Apache-2.0"
] | 425 | 2015-01-06T05:28:38.000Z | 2022-03-08T19:42:18.000Z | Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKScalarBarWidgetTest1.cpp | kraehlit/CTK | 6557c5779d20b78f501f1fd6ce1063d0f219cca6 | [
"Apache-2.0"
] | 341 | 2015-01-08T06:18:17.000Z | 2022-03-29T21:47:49.000Z | /*=========================================================================
Library: CTK
Copyright (c) Kitware 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.ap... | 27.258741 | 79 | 0.606208 | kraehlit |
3a6adbcccd812448113eecdb2a10d3aaf12238ed | 544 | cpp | C++ | dep/myvk/Surface.cpp | lilesper/SparseVoxelOctree | 9c4c79ab746758d21070bb733dafe4f78438e4b5 | [
"MIT"
] | 338 | 2019-08-02T03:57:05.000Z | 2022-03-29T20:49:21.000Z | dep/myvk/Surface.cpp | lilesper/SparseVoxelOctree | 9c4c79ab746758d21070bb733dafe4f78438e4b5 | [
"MIT"
] | 12 | 2020-01-10T09:03:22.000Z | 2022-03-25T02:03:23.000Z | dep/myvk/Surface.cpp | lilesper/SparseVoxelOctree | 9c4c79ab746758d21070bb733dafe4f78438e4b5 | [
"MIT"
] | 36 | 2019-08-08T11:15:23.000Z | 2022-02-26T00:31:13.000Z | #include "Surface.hpp"
namespace myvk {
std::shared_ptr<Surface> Surface::Create(const std::shared_ptr<Instance> &instance, GLFWwindow *window) {
std::shared_ptr<Surface> ret = std::make_shared<Surface>();
ret->m_instance_ptr = instance;
ret->m_window = window;
if (glfwCreateWindowSurface(ret->m_instance_ptr->GetH... | 30.222222 | 111 | 0.740809 | lilesper |
3a6c1fba67f19f6fcb44082268d0769113488b28 | 1,130 | hpp | C++ | Code/fwddec.hpp | windexftw/bigbase-v1-UI | dab505402772ca71fd4a48579c71956fc31e3192 | [
"MIT"
] | 5 | 2021-12-12T08:02:28.000Z | 2022-02-12T04:56:02.000Z | Code/fwddec.hpp | windexftw/bigbase-v1-UI | dab505402772ca71fd4a48579c71956fc31e3192 | [
"MIT"
] | null | null | null | Code/fwddec.hpp | windexftw/bigbase-v1-UI | dab505402772ca71fd4a48579c71956fc31e3192 | [
"MIT"
] | 3 | 2021-11-09T08:34:14.000Z | 2022-01-13T23:04:40.000Z | #pragma once
namespace rage
{
template <typename T>
class atArray;
class datBitBuffer;
class sysMemAllocator;
class scriptIdBase;
class scriptId;
class scriptHandler;
class scriptHandlerNetComponent;
class scriptHandlerObject;
class scriptHandlerMgr;
class scrProgram;
class scrProgramTable;
class scrT... | 15.479452 | 34 | 0.813274 | windexftw |
3a736396e98272d22260a50d7d3e456731535ed4 | 5,831 | cpp | C++ | src/RtspMuxer/AACRtpCodec.cpp | fengyangc/ZLMediaKit | 0307dcaa11ea1eb9d4a8c9e0a50edfb3e859c7ca | [
"MIT"
] | 1 | 2021-05-25T14:30:50.000Z | 2021-05-25T14:30:50.000Z | src/RtspMuxer/AACRtpCodec.cpp | fengyangc/ZLMediaKit | 0307dcaa11ea1eb9d4a8c9e0a50edfb3e859c7ca | [
"MIT"
] | null | null | null | src/RtspMuxer/AACRtpCodec.cpp | fengyangc/ZLMediaKit | 0307dcaa11ea1eb9d4a8c9e0a50edfb3e859c7ca | [
"MIT"
] | 4 | 2020-04-12T07:33:31.000Z | 2021-08-31T08:17:49.000Z | /*
* MIT License
*
* Copyright (c) 2016 xiongziliang <771730766@qq.com>
*
* This file is part of ZLMediaKit(https://github.com/xiongziliang/ZLMediaKit).
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to de... | 32.394444 | 124 | 0.65066 | fengyangc |
3a74023232550162a88eaa01b91cb20a3ca9ce14 | 48,425 | cpp | C++ | src/VRadialAcceptance.cpp | GernotMaier/Eventdisplay | b244d65856ddc26ea8ef88af53d2b247e8d5936c | [
"BSD-3-Clause"
] | 11 | 2019-12-10T13:34:46.000Z | 2021-08-24T15:39:35.000Z | src/VRadialAcceptance.cpp | Eventdisplay/Eventdisplay | 01ef380cf53a44f95351960a297a2d4f271a4160 | [
"BSD-3-Clause"
] | 53 | 2019-11-19T13:14:36.000Z | 2022-02-16T14:22:27.000Z | src/VRadialAcceptance.cpp | pivosb/Eventdisplay | 6b299a1d3f77ddb641f98a511a37a5045ddd6b47 | [
"BSD-3-Clause"
] | 3 | 2020-05-07T13:52:46.000Z | 2021-06-25T09:49:21.000Z | /*! \class VRadialAcceptance
* \brief fill radial acceptance histograms
*
*
*/
#include "VRadialAcceptance.h"
/*!
* use acceptance curve from simulation
*/
VRadialAcceptance::VRadialAcceptance()
{
reset();
fAcceptanceFunctionDefined = false;
}
/*!
* ******************************************... | 34.913482 | 288 | 0.557439 | GernotMaier |
3a7478416faedd4802eb9e563af92492902de31d | 1,896 | cpp | C++ | atl/codes/String/Suffix-Array.cpp | CZWin32768/ACMICPC-Templates-in-Latex | 5ee0c407497c3609867cab7b4a0fc57f3f5d8fd6 | [
"MIT"
] | 8 | 2018-09-20T07:11:43.000Z | 2019-12-28T15:06:18.000Z | atl/codes/String/Suffix-Array.cpp | CZWin32768/ACMICPC-Templates-in-Latex | 5ee0c407497c3609867cab7b4a0fc57f3f5d8fd6 | [
"MIT"
] | null | null | null | atl/codes/String/Suffix-Array.cpp | CZWin32768/ACMICPC-Templates-in-Latex | 5ee0c407497c3609867cab7b4a0fc57f3f5d8fd6 | [
"MIT"
] | null | null | null | const int MAXN=100010;
int t1[MAXN],t2[MAXN],c[MAXN];
//sa[1...n]->[0,N) rank[0...n-1]->[1,N] height[1...n]
bool cmp(int *r,int a,int b,int l)
{
return r[a] == r[b] && r[a+l] == r[b+l];
}
void da(int str[],int sa[],int Rank[],int height[],int n,int m)
{
n++;
int i, j, p, *x = t1, *y = t2;
for(i = 0;i ... | 25.28 | 63 | 0.365506 | CZWin32768 |
b91a9a8174e9f460aa4cc2844acbeafc3f30d409 | 9,769 | hpp | C++ | include/lastfmpp/track.hpp | chrismanning/lastfmpp | 59439e62d2654359a48f8244a4b69b95d398beb3 | [
"MIT"
] | null | null | null | include/lastfmpp/track.hpp | chrismanning/lastfmpp | 59439e62d2654359a48f8244a4b69b95d398beb3 | [
"MIT"
] | null | null | null | include/lastfmpp/track.hpp | chrismanning/lastfmpp | 59439e62d2654359a48f8244a4b69b95d398beb3 | [
"MIT"
] | null | null | null | /**************************************************************************
** Copyright (C) 2015 Christian Manning
**
** This software may be modified and distributed under the terms
** of the MIT license. See the LICENSE file for details.
**************************************************************************/
#... | 52.240642 | 120 | 0.621149 | chrismanning |
b91ba61064109a3c6544942f640fc489896a9da5 | 7,676 | cpp | C++ | old_tests/testrosenblat.cpp | lou000/Primor_Engine | a73d80b44d21667a293d77fee7be761b6b3e5832 | [
"MIT"
] | null | null | null | old_tests/testrosenblat.cpp | lou000/Primor_Engine | a73d80b44d21667a293d77fee7be761b6b3e5832 | [
"MIT"
] | null | null | null | old_tests/testrosenblat.cpp | lou000/Primor_Engine | a73d80b44d21667a293d77fee7be761b6b3e5832 | [
"MIT"
] | 2 | 2021-03-14T18:05:25.000Z | 2021-04-09T22:09:51.000Z | #include "testrosenblat.h"
#include "gtc/random.hpp"
#include "gtx/compatibility.hpp"
#include <mutex>
TestRosenblat::TestRosenblat()
{
BatchRenderer::setShader(AssetManager::getShader("batch"));
rangeX = {0, 2*glm::pi<float>()};
rangeY = {-1, 1};
// random points
std::vector<vec2> pointsDrawI... | 28.749064 | 101 | 0.501042 | lou000 |
b91c5683ea458d92b20173c142fd32c06ac79252 | 61,325 | cpp | C++ | libcpuid/src/cpuid/cpuid.cpp | DrPizza/cpuid | f8901c5c7b9a4a62f550d835a2a14fc6eec147e5 | [
"MIT"
] | 3 | 2018-03-06T08:00:56.000Z | 2021-06-29T06:46:39.000Z | libcpuid/src/cpuid/cpuid.cpp | DrPizza/cpuid | f8901c5c7b9a4a62f550d835a2a14fc6eec147e5 | [
"MIT"
] | null | null | null | libcpuid/src/cpuid/cpuid.cpp | DrPizza/cpuid | f8901c5c7b9a4a62f550d835a2a14fc6eec147e5 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "cpuid/cpuid.hpp"
#include "cache-and-topology.hpp"
#include "features.hpp"
#include "standard.hpp"
#include "hypervisors.hpp"
#include "utility.hpp"
#include <map>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <tuple>
#include <boost/algorithm/string.hpp>
#includ... | 49.257028 | 239 | 0.572947 | DrPizza |
b920408e03a54df02927222dc9568a1df69eef1a | 7,854 | cpp | C++ | book/CH05/S15_Creating_descriptors_with_a_texture_and_a_uniform_buffer.cpp | THISISAGOODNAME/vkCookBook | d022b4151a02c33e5c58534dc53ca39610eee7b5 | [
"MIT"
] | 5 | 2019-03-02T16:29:15.000Z | 2021-11-07T11:07:53.000Z | book/CH05/S15_Creating_descriptors_with_a_texture_and_a_uniform_buffer.cpp | THISISAGOODNAME/vkCookBook | d022b4151a02c33e5c58534dc53ca39610eee7b5 | [
"MIT"
] | null | null | null | book/CH05/S15_Creating_descriptors_with_a_texture_and_a_uniform_buffer.cpp | THISISAGOODNAME/vkCookBook | d022b4151a02c33e5c58534dc53ca39610eee7b5 | [
"MIT"
] | 2 | 2018-07-10T18:15:40.000Z | 2020-01-03T04:02:32.000Z | //
// Created by aicdg on 2017/6/21.
//
//
// Chapter: 05 Descriptor Sets
// Recipe: 15 Creating descriptors with a texture and a uniform buffer
#include "S03_Creating_a_combined_image_sampler.h"
#include "S07_Creating_a_uniform_buffer.h"
#include "S10_Creating_a_descriptor_set_layout.h"
#include "S11_Creating_a_des... | 67.128205 | 207 | 0.421187 | THISISAGOODNAME |
b9237dafbfe04187bdd68cedfb698519d951002b | 1,802 | hpp | C++ | include/molpp/ElementsTable.hpp | caioss/molpp | 051f94545a6c687189697c950b1a4060a18060d5 | [
"BSD-3-Clause"
] | null | null | null | include/molpp/ElementsTable.hpp | caioss/molpp | 051f94545a6c687189697c950b1a4060a18060d5 | [
"BSD-3-Clause"
] | null | null | null | include/molpp/ElementsTable.hpp | caioss/molpp | 051f94545a6c687189697c950b1a4060a18060d5 | [
"BSD-3-Clause"
] | null | null | null | #ifndef ELEMENTSTABLE_HPP
#define ELEMENTSTABLE_HPP
#include <vector>
#include <string>
#include <initializer_list>
namespace mol {
class ElementsTable
{
public:
struct Element
{
int atomic_number;
float mass;
float covalent_radius;
float VDW_radius;
std::string symbol... | 20.477273 | 119 | 0.645949 | caioss |
b92508d963bdec2c7fc2907b8f9bbc75a006d797 | 1,477 | cc | C++ | models/Test/tGenericImage.cc | erikleitch/climax | 66ce64b0ab9f3a3722d3177cc5215ccf59369e88 | [
"MIT"
] | 1 | 2018-11-01T05:15:31.000Z | 2018-11-01T05:15:31.000Z | models/Test/tGenericImage.cc | erikleitch/climax | 66ce64b0ab9f3a3722d3177cc5215ccf59369e88 | [
"MIT"
] | null | null | null | models/Test/tGenericImage.cc | erikleitch/climax | 66ce64b0ab9f3a3722d3177cc5215ccf59369e88 | [
"MIT"
] | 2 | 2017-05-02T19:35:55.000Z | 2018-03-07T00:54:51.000Z | #include <iostream>
#include <math.h>
#include "gcp/program/Program.h"
#include "gcp/models/GenericImage.h"
#include "gcp/util/Exception.h"
#include "gcp/util/LogStream.h"
#include "gcp/util/IoLock.h"
#include "gcp/util/Exception.h"
using namespace std;
using namespace gcp::util;
using namespace gcp::program;
using... | 24.616667 | 112 | 0.648612 | erikleitch |
b9256374a9d54ff8eeba5159ae9adc635f6af7c4 | 3,294 | cpp | C++ | Event/EpollModule.cpp | zhangyins1/streactor | 24d5ca9afcdd83f92a3fe583b46dff150dbf7d01 | [
"Apache-2.0"
] | null | null | null | Event/EpollModule.cpp | zhangyins1/streactor | 24d5ca9afcdd83f92a3fe583b46dff150dbf7d01 | [
"Apache-2.0"
] | null | null | null | Event/EpollModule.cpp | zhangyins1/streactor | 24d5ca9afcdd83f92a3fe583b46dff150dbf7d01 | [
"Apache-2.0"
] | null | null | null | #include <unistd.h>
#include "EpollModule.h"
#include "EventLoop.h"
#include "Channel.h"
#include "../Util/Log.h"
#include "../Util/TypeDef.h"
#include "../Util/Misc.h"
#include "../Common/Platform.h"
namespace
{
const int kNew = -1;
const int kAdded = 1;
const int kDeleted = 2;
}
CEpollModule::CEpollModule(CEvent... | 20.5875 | 94 | 0.676078 | zhangyins1 |
b9274b2cce5a1f7f02345bd30d3e0184d4084471 | 5,371 | hpp | C++ | code/vpp/include/vppCommandPool.hpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | code/vpp/include/vppCommandPool.hpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | code/vpp/include/vppCommandPool.hpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright 2016-2019 SOFT-ERG, Przemek Kuczmierczyk (www.softerg.com)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above... | 33.993671 | 109 | 0.532675 | maikebing |
b92c6141022f6160b638e3d1c6977d629cd4cd77 | 227 | hpp | C++ | trackers/KCF.hpp | YashasSamaga/liveodr | b9352edef39ade1c68fb1d2439d0aadcc22661d6 | [
"MIT"
] | 1 | 2020-11-23T16:17:31.000Z | 2020-11-23T16:17:31.000Z | trackers/KCF.hpp | YashasSamaga/liveodr | b9352edef39ade1c68fb1d2439d0aadcc22661d6 | [
"MIT"
] | null | null | null | trackers/KCF.hpp | YashasSamaga/liveodr | b9352edef39ade1c68fb1d2439d0aadcc22661d6 | [
"MIT"
] | null | null | null | #ifndef LIVEFDR_TRACKERS_KCF_HPP
#define LIVEFDR_TRACKERS_KCF_HPP
#include "opencv_tracker.hpp"
namespace liveodr {
using KCFTracker = liveodr::OpenCVTracker<cv::TrackerKCF>;
}
#endif /* ifndef LIVEFDR_TRACKERS_KCF_HPP */ | 25.222222 | 62 | 0.801762 | YashasSamaga |
b92eaaa31eaa705b544acc9ac5b4bdd94959db50 | 5,024 | cpp | C++ | tools/GUIEditor/CGUIEditFactory.cpp | dschaefer/irrlicht-android | 7b5a3ec48d17c7d781e3942052b5dd3b23138d3c | [
"IJG"
] | 7 | 2015-04-17T19:00:32.000Z | 2019-12-03T00:57:06.000Z | tools/GUIEditor/CGUIEditFactory.cpp | arch-jslin/Irrlicht | 56121a167cacf1131182616b6d9a41ce825f9402 | [
"IJG"
] | null | null | null | tools/GUIEditor/CGUIEditFactory.cpp | arch-jslin/Irrlicht | 56121a167cacf1131182616b6d9a41ce825f9402 | [
"IJG"
] | 7 | 2016-01-22T04:54:45.000Z | 2021-05-31T18:29:11.000Z | #include "CGUIEditFactory.h"
#include "IGUIEnvironment.h"
#include "irrString.h"
#include "CGUIEditWorkspace.h"
#include "CGUIEditWindow.h"
#include "CGUIPanel.h"
#include "CGUITextureCacheBrowser.h"
#include "CGUIAttributeEditor.h"
#include "CGUIStringAttribute.h"
#include "CGUIBoolAttribute.h"
#include "C... | 29.904762 | 96 | 0.749204 | dschaefer |
b93be906ce7e0cea72c38ae21c28a171f49b1f98 | 1,265 | cpp | C++ | Days 011 - 020/Day 14/EstimatePiWithMonteCarlo.cpp | LucidSigma/Daily-Coding-Problems | 21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a | [
"MIT"
] | null | null | null | Days 011 - 020/Day 14/EstimatePiWithMonteCarlo.cpp | LucidSigma/Daily-Coding-Problems | 21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a | [
"MIT"
] | null | null | null | Days 011 - 020/Day 14/EstimatePiWithMonteCarlo.cpp | LucidSigma/Daily-Coding-Problems | 21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a | [
"MIT"
] | null | null | null | #include <iostream>
#include <random>
double EstimatePiWithMonteCarlo(unsigned long iterations = 10'000l)
{
constexpr double RADIUS = 0.5;
constexpr double RADIUS_PI_RATIO = 1.0 / (RADIUS * RADIUS);
static std::random_device randomSeed;
static std::mt19937 randomEngine(randomSeed());
static std::uniform_real_dis... | 27.5 | 94 | 0.688538 | LucidSigma |
b93cf117248c85c371b2048a001e9f327eb2a676 | 579 | hpp | C++ | include/RadonFramework/System/Threading/Semaphore.hpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 3 | 2015-09-15T06:57:50.000Z | 2021-03-16T19:05:02.000Z | include/RadonFramework/System/Threading/Semaphore.hpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 2 | 2015-09-26T12:41:10.000Z | 2015-12-08T08:41:37.000Z | include/RadonFramework/System/Threading/Semaphore.hpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 1 | 2015-07-09T02:56:34.000Z | 2015-07-09T02:56:34.000Z | #ifndef RF_SYSTEM_THREADING_SEMAPHORE_HPP
#define RF_SYSTEM_THREADING_SEMAPHORE_HPP
#if _MSC_VER > 1000
#pragma once
#endif
#include <RadonFramework/Core/Types/UInt32.hpp>
#include <RadonFramework/Core/Types/Bool.hpp>
namespace RadonFramework::Time {
class TimeSpan;
}
namespace RadonFramework::System::Thre... | 18.09375 | 56 | 0.763385 | tak2004 |
b93e9682a9b2cb234e31b22039938e045f294070 | 2,851 | cpp | C++ | src/P2P/Sync/Syncer.cpp | Paouky/GrinPlusPlus | b24e656547b45d39bc9dddc3e7dd7ee04f6c8798 | [
"MIT"
] | null | null | null | src/P2P/Sync/Syncer.cpp | Paouky/GrinPlusPlus | b24e656547b45d39bc9dddc3e7dd7ee04f6c8798 | [
"MIT"
] | null | null | null | src/P2P/Sync/Syncer.cpp | Paouky/GrinPlusPlus | b24e656547b45d39bc9dddc3e7dd7ee04f6c8798 | [
"MIT"
] | null | null | null | #include "Syncer.h"
#include "HeaderSyncer.h"
#include "StateSyncer.h"
#include "BlockSyncer.h"
#include <BlockChain/BlockChain.h>
#include <P2P/SyncStatus.h>
#include <Common/Logger.h>
#include <Common/Util/ThreadUtil.h>
static const int MINIMUM_NUM_PEERS = 4;
Syncer::Syncer(
std::weak_ptr<ConnectionManager> pConn... | 25.008772 | 151 | 0.738337 | Paouky |
b942cde0649b6d996a36710e7da6bd0773827eac | 1,237 | cpp | C++ | src/controller/pkmnpokedexcontroller.cpp | lohathe/pkmnHacking | 00814c2f67d8244addcafa6d8ed034c34b4aaea3 | [
"MIT"
] | null | null | null | src/controller/pkmnpokedexcontroller.cpp | lohathe/pkmnHacking | 00814c2f67d8244addcafa6d8ed034c34b4aaea3 | [
"MIT"
] | null | null | null | src/controller/pkmnpokedexcontroller.cpp | lohathe/pkmnHacking | 00814c2f67d8244addcafa6d8ed034c34b4aaea3 | [
"MIT"
] | null | null | null | #include "pkmnpokedexcontroller.h"
#include "pkmnsavestatemodel.h"
#include "pkmnspecies.h"
#include "pkmnpokedexview.h"
#include <string>
using std::string;
PkmnPokedexController::PkmnPokedexController(PkmnSaveStateModel *model,
PkmnPokedexView *view) :
_model(model),... | 28.113636 | 74 | 0.703314 | lohathe |
b943dc46c2bf91c5cd92b014cb8653563b770dd0 | 2,000 | cpp | C++ | test/module/shared_model/builders/protobuf/block_builder_test.cpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | 1,467 | 2016-10-25T12:27:19.000Z | 2022-03-28T04:32:05.000Z | test/module/shared_model/builders/protobuf/block_builder_test.cpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | 2,366 | 2016-10-25T10:07:57.000Z | 2022-03-31T22:03:24.000Z | test/module/shared_model/builders/protobuf/block_builder_test.cpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | 662 | 2016-10-26T04:41:22.000Z | 2022-03-31T04:15:02.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include <gtest/gtest.h>
#include "module/shared_model/builders/protobuf/block.hpp"
#include "module/shared_model/builders/protobuf/test_transaction_builder.hpp"
#include "module/shared_model/cryptography/crypto_defau... | 32.786885 | 77 | 0.6265 | Insafin |
b944c36575a31c48717764b14049d0435de56cfb | 47 | hpp | C++ | src/boost_preprocessor_array_to_seq.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_preprocessor_array_to_seq.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_preprocessor_array_to_seq.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/preprocessor/array/to_seq.hpp>
| 23.5 | 46 | 0.808511 | miathedev |
b94566a67f3b2793b99fb3342dcdcaaaae2b5bf7 | 782 | cpp | C++ | C++/LeetCode/0213.cpp | spycedcoffee/DSA | 1e559ed5251a2005cc2815438d865f0293f4cd44 | [
"MIT"
] | 4 | 2021-08-28T19:16:50.000Z | 2022-03-04T19:46:31.000Z | C++/LeetCode/0213.cpp | spycedcoffee/DSA | 1e559ed5251a2005cc2815438d865f0293f4cd44 | [
"MIT"
] | 8 | 2021-10-29T19:10:51.000Z | 2021-11-03T12:38:00.000Z | C++/LeetCode/0213.cpp | spycedcoffee/DSA | 1e559ed5251a2005cc2815438d865f0293f4cd44 | [
"MIT"
] | 4 | 2021-09-06T05:53:07.000Z | 2021-12-24T10:31:40.000Z | class Solution {
public:
int traverse(vector<int>& v){
vector<int> dp(v.size(), -1);
dp[0] = v[0];
dp[1] = max(v[0], v[1]);
for(int i = 2; i < v.size(); i++)
dp[i] = max(v[i] + dp[i-2], dp[i-1]);
return dp[v.size() - 1];
}
... | 24.4375 | 80 | 0.434783 | spycedcoffee |
b946001786ba04e2439185a38788a5f123083f31 | 11,270 | cpp | C++ | bacs/problem/src/single/drivers/simple0/driver.cpp | bacsorg/bacs | 2b52feb9efc805655cdf7829cf77ee028d567969 | [
"Apache-2.0"
] | null | null | null | bacs/problem/src/single/drivers/simple0/driver.cpp | bacsorg/bacs | 2b52feb9efc805655cdf7829cf77ee028d567969 | [
"Apache-2.0"
] | 10 | 2018-02-06T14:46:36.000Z | 2018-03-20T13:37:20.000Z | bacs/problem/src/single/drivers/simple0/driver.cpp | bacsorg/bacs | 2b52feb9efc805655cdf7829cf77ee028d567969 | [
"Apache-2.0"
] | 1 | 2021-11-26T10:59:09.000Z | 2021-11-26T10:59:09.000Z | #include "driver.hpp"
#include "tests.hpp"
#include <bacs/problem/single/problem.pb.h>
#include <bacs/file.hpp>
#include <bacs/problem/single/error.hpp>
#include <bacs/problem/resource/parse.hpp>
#include <bacs/problem/split.hpp>
#include <bunsan/static_initializer.hpp>
#include <boost/algorithm/string/classificat... | 38.59589 | 80 | 0.690417 | bacsorg |
b9460110c1ecbdbde4e2005b9befbc8278e199d6 | 706 | cpp | C++ | src/zk/server/server_group_tests.cpp | vexingcodes/zookeeper-cpp | 9dce1fce5370ecfdad713caf411a5ae9b851db33 | [
"Apache-2.0"
] | 126 | 2017-08-09T22:26:09.000Z | 2022-01-21T22:39:46.000Z | src/zk/server/server_group_tests.cpp | vexingcodes/zookeeper-cpp | 9dce1fce5370ecfdad713caf411a5ae9b851db33 | [
"Apache-2.0"
] | 97 | 2017-08-09T23:08:41.000Z | 2022-03-29T21:54:24.000Z | src/zk/server/server_group_tests.cpp | vexingcodes/zookeeper-cpp | 9dce1fce5370ecfdad713caf411a5ae9b851db33 | [
"Apache-2.0"
] | 38 | 2017-08-11T00:33:17.000Z | 2021-05-13T09:19:27.000Z | #include <zk/client.hpp>
#include <zk/tests/test.hpp>
#include <chrono>
#include <thread>
#include "configuration.hpp"
#include "package_registry.hpp"
#include "package_registry_tests.hpp"
#include "server_group.hpp"
namespace zk::server
{
void delete_directory(std::string path);
GTEST_TEST(server_group_tests, ens... | 24.344828 | 95 | 0.740793 | vexingcodes |
b947361bd58d51ce960b19f8e42a2340173c01db | 2,300 | hpp | C++ | firmware/library/L3_Application/commands/common.hpp | Adam-D-Sanchez/SJSU-Dev2 | ecb5bb01912f6f85a76b6715d0e72f2d3062ceed | [
"Apache-2.0"
] | null | null | null | firmware/library/L3_Application/commands/common.hpp | Adam-D-Sanchez/SJSU-Dev2 | ecb5bb01912f6f85a76b6715d0e72f2d3062ceed | [
"Apache-2.0"
] | null | null | null | firmware/library/L3_Application/commands/common.hpp | Adam-D-Sanchez/SJSU-Dev2 | ecb5bb01912f6f85a76b6715d0e72f2d3062ceed | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <cstdio>
#include <iterator>
#include "L3_Application/commandline.hpp"
#include "utility/log.hpp"
namespace command
{
inline Command clear("clear", "Clear console",
[](int, const char * const[]) -> int {
// Clear entire screen
/... | 39.655172 | 78 | 0.662609 | Adam-D-Sanchez |
b9475bfba297be7d4d966e55d0ba9f44ccecf718 | 248 | hpp | C++ | iphoneos/AngryMetal/AngryKit/collider_component.hpp | ivan-ushakov/AngryMetal | 0e358be545efe50fbe83664676a9f1fcd03b8825 | [
"Apache-2.0"
] | null | null | null | iphoneos/AngryMetal/AngryKit/collider_component.hpp | ivan-ushakov/AngryMetal | 0e358be545efe50fbe83664676a9f1fcd03b8825 | [
"Apache-2.0"
] | null | null | null | iphoneos/AngryMetal/AngryKit/collider_component.hpp | ivan-ushakov/AngryMetal | 0e358be545efe50fbe83664676a9f1fcd03b8825 | [
"Apache-2.0"
] | null | null | null | //
// collider_component.hpp
// AngryMetal
//
// Created by Ivan Ushakov on 20.07.2021.
//
#pragma once
namespace angry
{
struct Capsule
{
float height = 0;
float radius = 0;
};
struct ColliderComponent
{
Capsule capsule;
};
}
| 9.92 | 43 | 0.641129 | ivan-ushakov |
b94a609b50b46abb4654f9733cdb20e52df49fa3 | 37,880 | cpp | C++ | src/NoteDisplay.cpp | turion64guy/PSPMania | ce837dca954c76fa7188552ade88becf243899bc | [
"Info-ZIP"
] | 9 | 2015-06-10T21:46:09.000Z | 2021-04-22T20:47:31.000Z | src/NoteDisplay.cpp | turion64guy/PSPMania | ce837dca954c76fa7188552ade88becf243899bc | [
"Info-ZIP"
] | null | null | null | src/NoteDisplay.cpp | turion64guy/PSPMania | ce837dca954c76fa7188552ade88becf243899bc | [
"Info-ZIP"
] | 5 | 2016-06-24T12:06:12.000Z | 2021-08-14T17:33:28.000Z | #include "global.h"
#include "NoteDisplay.h"
#include "Steps.h"
#include "PrefsManager.h"
#include "GameState.h"
#include "NoteSkinManager.h"
#include "RageException.h"
#include "ArrowEffects.h"
#include "RageLog.h"
#include "RageDisplay.h"
#include "NoteTypes.h"
#include "NoteFieldPositioning.h"
#include "ActorUtil.h"... | 37.100881 | 189 | 0.752297 | turion64guy |
b94b4f4a0ca21fee3679a557fd1d184160a0ef53 | 1,248 | hpp | C++ | android-31/android/print/PrintAttributes_Builder.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/print/PrintAttributes_Builder.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/print/PrintAttributes_Builder.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../JObject.hpp"
namespace android::print
{
class PrintAttributes;
}
namespace android::print
{
class PrintAttributes_Margins;
}
namespace android::print
{
class PrintAttributes_MediaSize;
}
namespace android::print
{
class PrintAttributes_Resolution;
}
namespace android::print
{
class ... | 27.130435 | 164 | 0.774038 | YJBeetle |
b94fae3c1b6f41ab19cbdd7385c9b52c96743ced | 42,659 | cpp | C++ | src/runtime/base/class_info.cpp | bogdan2412/hiphop-php | 1ab828426096d0e7ae74544189e2f4cd6924570b | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2019-03-03T12:27:04.000Z | 2019-03-03T12:27:04.000Z | src/runtime/base/class_info.cpp | bogdan2412/hiphop-php | 1ab828426096d0e7ae74544189e2f4cd6924570b | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | src/runtime/base/class_info.cpp | bogdan2412/hiphop-php | 1ab828426096d0e7ae74544189e2f4cd6924570b | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+---------... | 30.712023 | 88 | 0.593146 | bogdan2412 |
b953c8ed41109dc9125c4a804a53adce5374f4d3 | 6,690 | cpp | C++ | nntrainer/src/optimizer.cpp | ansigyeong/nntrainer | b49d3659184864ac7c90b0607a1bfdeb78456aca | [
"Apache-2.0"
] | null | null | null | nntrainer/src/optimizer.cpp | ansigyeong/nntrainer | b49d3659184864ac7c90b0607a1bfdeb78456aca | [
"Apache-2.0"
] | null | null | null | nntrainer/src/optimizer.cpp | ansigyeong/nntrainer | b49d3659184864ac7c90b0607a1bfdeb78456aca | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless requ... | 28.109244 | 76 | 0.63423 | ansigyeong |
b954cf57408ce8cfa2d2e74fc0c79b6f4d445dcc | 2,104 | cpp | C++ | lib/textures/Texture1D.cpp | maldicion069/monkeybrush- | 2bccca097402ff1f5344e356f06de19c8c70065b | [
"MIT"
] | 1 | 2016-11-15T09:04:12.000Z | 2016-11-15T09:04:12.000Z | lib/textures/Texture1D.cpp | maldicion069/monkeybrush- | 2bccca097402ff1f5344e356f06de19c8c70065b | [
"MIT"
] | null | null | null | lib/textures/Texture1D.cpp | maldicion069/monkeybrush- | 2bccca097402ff1f5344e356f06de19c8c70065b | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2016 maldicion069
*
* Authors: Cristian Rodríguez Bernal <ccrisrober@gmail.com>
*
* This file is part of MonkeyBrushPlusPlus
* <https://github.com/maldicion069/monkeybrushplusplus>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser... | 26.632911 | 80 | 0.710551 | maldicion069 |
b95b8f0876cbe13b8b6c252787c26629208e3ee7 | 8,467 | cpp | C++ | mordor/examples/iombench.cpp | NoevilMe/mordor | d1963c0a8ee15524462ad5d01cb859e9d7706c1e | [
"BSD-3-Clause"
] | 200 | 2015-01-11T22:31:21.000Z | 2022-03-23T08:48:53.000Z | mordor/examples/iombench.cpp | NoevilMe/mordor | d1963c0a8ee15524462ad5d01cb859e9d7706c1e | [
"BSD-3-Clause"
] | 3 | 2018-11-27T15:16:46.000Z | 2022-01-14T15:40:31.000Z | mordor/examples/iombench.cpp | NoevilMe/mordor | d1963c0a8ee15524462ad5d01cb859e9d7706c1e | [
"BSD-3-Clause"
] | 31 | 2015-02-12T04:22:43.000Z | 2021-12-24T09:27:33.000Z | //
// Mordor IOManager benchmark app.
//
// Can act as both the client and the server.
//
#include "mordor/predef.h"
#include "netbench.h"
#include <iostream>
#include <boost/scoped_array.hpp>
#include "mordor/atomic.h"
#include "mordor/config.h"
#include "mordor/fibersynchronization.h"
#include "mordor/iomanager.... | 26.376947 | 79 | 0.533365 | NoevilMe |
b95ce7bbef2763f2528242b3348e0ae2045424a8 | 229 | hpp | C++ | include/sfml/input_handler.hpp | de-passage/msgpassing | 171a3ab7448aa1ad22ffc00fe9bb67a867becec4 | [
"MIT"
] | null | null | null | include/sfml/input_handler.hpp | de-passage/msgpassing | 171a3ab7448aa1ad22ffc00fe9bb67a867becec4 | [
"MIT"
] | null | null | null | include/sfml/input_handler.hpp | de-passage/msgpassing | 171a3ab7448aa1ad22ffc00fe9bb67a867becec4 | [
"MIT"
] | null | null | null | #ifndef __GUARD_SFML_INPUT_HANDLER_HPP__
#define __GUARD_SFML_INPUT_HANDLER_HPP__
#include <message_bus_aliases.hpp>
#include <SFML/Window.hpp>
class SFMLInputHandler : public StandardSystem {
public:
void run();
};
#endif
| 17.615385 | 48 | 0.803493 | de-passage |
b95f25661f32e9268862482eed5a95984cb67d52 | 2,852 | cpp | C++ | LCD_code/AnalogReadCode/sketch_aug09a/Display.cpp | 0301yasiru/RGBsensor | 38ab4d8929364a8174d9cba915895861b2f5b0d8 | [
"MIT"
] | null | null | null | LCD_code/AnalogReadCode/sketch_aug09a/Display.cpp | 0301yasiru/RGBsensor | 38ab4d8929364a8174d9cba915895861b2f5b0d8 | [
"MIT"
] | null | null | null | LCD_code/AnalogReadCode/sketch_aug09a/Display.cpp | 0301yasiru/RGBsensor | 38ab4d8929364a8174d9cba915895861b2f5b0d8 | [
"MIT"
] | null | null | null | #include "Display.h"
Display::Display(){
//define the data direction
DDRD = DDRD | 0b00111111;
initLCD(); // initializing the LCD display
}// end of the initializing
void Display::toggleEnable(){
//toggling Enable
PORTD = PORTD | 0b00001000;
_delay_ms(1);
PORTD = PORTD & 0b11110111;
} // end of the to... | 20.970588 | 84 | 0.636045 | 0301yasiru |
b96371910cf633efdcf0f280092c2bab14dfd952 | 9,848 | cpp | C++ | src/testsuite.cpp | TaWeiTu/miku | 4f244a08e0a385e27034d27427537d1df627eca1 | [
"MIT"
] | 1 | 2021-05-29T07:51:17.000Z | 2021-05-29T07:51:17.000Z | src/testsuite.cpp | TaWeiTu/miku | 4f244a08e0a385e27034d27427537d1df627eca1 | [
"MIT"
] | 1 | 2021-01-28T17:20:49.000Z | 2021-01-28T17:20:49.000Z | src/testsuite.cpp | TaWeiTu/miku | 4f244a08e0a385e27034d27427537d1df627eca1 | [
"MIT"
] | 4 | 2020-01-09T12:31:55.000Z | 2021-01-28T11:35:00.000Z | #include <iostream>
#include <cstdio>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <regex>
#include <map>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "utils.h"
#include "sandbox.h"
#include "config.h"
#include "testsuite.h"
#include "server_io.h"
... | 29.222552 | 113 | 0.527721 | TaWeiTu |
b9642493eb4d813b6230f2e823df6b85e1e9cdb5 | 5,812 | cpp | C++ | src/page/metadata_page.cpp | abhijat/matchboxdb | 77c055690054deb96dffc29499ad99928370ae99 | [
"BSD-2-Clause"
] | 9 | 2021-11-09T13:55:41.000Z | 2022-03-04T05:22:15.000Z | src/page/metadata_page.cpp | abhijat/matchboxdb | 77c055690054deb96dffc29499ad99928370ae99 | [
"BSD-2-Clause"
] | null | null | null | src/page/metadata_page.cpp | abhijat/matchboxdb | 77c055690054deb96dffc29499ad99928370ae99 | [
"BSD-2-Clause"
] | null | null | null | #include "metadata_page.h"
#include "../storage/metadata.h"
#include "../storage/streamutils.h"
#include <iostream>
/**
* Creates a new page. This page is still in memory, it does not have a stream or a buffer attached yet.
* Free space is page_size - header_size - data_size.
*/
page::MetadataPage::MetadataPage(st... | 32.110497 | 104 | 0.688231 | abhijat |
b9664237dfc9fa29c161af3adef53cb93225d794 | 3,807 | cpp | C++ | wpilibc/src/main/native/cpp/frc2/Timer.cpp | CJBuchel/allwpilib | 05b7593e66c8b0dc39f7f32878c660943b9cd5e8 | [
"BSD-3-Clause"
] | 1 | 2021-10-10T06:52:09.000Z | 2021-10-10T06:52:09.000Z | wpilibc/src/main/native/cpp/frc2/Timer.cpp | epicmonky/allwpilib | 65eab93527bcd87964fc229c6f9c2b29c983c744 | [
"BSD-3-Clause"
] | null | null | null | wpilibc/src/main/native/cpp/frc2/Timer.cpp | epicmonky/allwpilib | 65eab93527bcd87964fc229c6f9c2b29c983c744 | [
"BSD-3-Clause"
] | null | null | null | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 26.255172 | 80 | 0.645915 | CJBuchel |
b967937a2e7b1ae7955413dbf0591bc04840e0f6 | 2,305 | cpp | C++ | src/EnvironmentUnitTest.cpp | nader-chmait/LambdaStar | 768282f0056751290cdad092bbfa5abdd86d0677 | [
"MIT"
] | 1 | 2019-02-25T11:16:50.000Z | 2019-02-25T11:16:50.000Z | src/EnvironmentUnitTest.cpp | nader-chmait/LambdaStar | 768282f0056751290cdad092bbfa5abdd86d0677 | [
"MIT"
] | null | null | null | src/EnvironmentUnitTest.cpp | nader-chmait/LambdaStar | 768282f0056751290cdad092bbfa5abdd86d0677 | [
"MIT"
] | null | null | null | #include "EnvironmentUnitTest.h"
#include "Environment.h"
#include "Observation.h"
#include "C:\UnitTesting\unittest-cpp-master\UnitTest++\UnitTest++.h"
#include <vector>
EnvironmentUnitTest::EnvironmentUnitTest()
{
//ctor
}
//EnvironmentUnitTest eut;
namespace
{
TEST(rewardUpdate)
{
Environment... | 34.924242 | 84 | 0.6282 | nader-chmait |
b96b5fd3e50142d1f2cc54eb559d6fd12d4bb502 | 4,121 | cpp | C++ | program/main.cpp | guilhermebkel/sales-machine | f0c0e12b543733bb7edf0a49e686331686e476e8 | [
"MIT"
] | null | null | null | program/main.cpp | guilhermebkel/sales-machine | f0c0e12b543733bb7edf0a49e686331686e476e8 | [
"MIT"
] | null | null | null | program/main.cpp | guilhermebkel/sales-machine | f0c0e12b543733bb7edf0a49e686331686e476e8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdlib.h>
#include "usuarios/usuario.h"
#include "eventos/evento.h"
#include "totem/totem.h"
#include "helpers/usuarios/setup.h"
#include "helpers/usuarios/list.h"
#include "helpers/eventos/setup.h"
#include "helpers/screen/clear.h"
#include "helpers/screen/status.h"
#include "helpers/s... | 25.918239 | 106 | 0.584567 | guilhermebkel |
b96e583a861be4a2f5b88dcd2ec8514ae55a8981 | 220 | hpp | C++ | Include/Aspen/Python/Perpetual.hpp | andrei-sa/aspen | 6644663fc19a83fba0603dc4bbd6dbe71cfd55aa | [
"Apache-2.0"
] | 2 | 2020-10-16T19:41:19.000Z | 2021-02-01T04:55:51.000Z | Include/Aspen/Python/Perpetual.hpp | andrei-sa/aspen | 6644663fc19a83fba0603dc4bbd6dbe71cfd55aa | [
"Apache-2.0"
] | 1 | 2020-04-24T18:17:39.000Z | 2020-04-24T18:37:01.000Z | Include/Aspen/Python/Perpetual.hpp | andrei-sa/aspen | 6644663fc19a83fba0603dc4bbd6dbe71cfd55aa | [
"Apache-2.0"
] | 2 | 2020-04-17T13:24:29.000Z | 2020-04-24T18:12:29.000Z | #ifndef ASPEN_PYTHON_PERPETUAL_HPP
#define ASPEN_PYTHON_PERPETUAL_HPP
#include <pybind11/pybind11.h>
namespace Aspen {
/** Exports the Perpetual class. */
void export_perpetual(pybind11::module& module);
}
#endif
| 18.333333 | 50 | 0.777273 | andrei-sa |
b971b9ce867c7429447c3680efb538a195907ec7 | 6,965 | cpp | C++ | Tests/stylelisttest.cpp | Rush/ExTermProject | a653aa3821ae719c07fb7e378f4877efbc25b8e5 | [
"MIT"
] | 1 | 2016-10-08T19:14:34.000Z | 2016-10-08T19:14:34.000Z | Tests/stylelisttest.cpp | Rush/ExTermProject | a653aa3821ae719c07fb7e378f4877efbc25b8e5 | [
"MIT"
] | null | null | null | Tests/stylelisttest.cpp | Rush/ExTermProject | a653aa3821ae719c07fb7e378f4877efbc25b8e5 | [
"MIT"
] | null | null | null | #include <QCoreApplication>
#include <QLinkedList>
#include <QDebug>
struct StyleEntry {
int id;
StyleEntry() {
id = -1;
}
StyleEntry(int _id) {
id = _id;
}
quint16 from, to;
StyleEntry(quint16 _from, quint16 _to, int _id) {
from = _from;
to =_to;
i... | 25.701107 | 82 | 0.487868 | Rush |
b9726e376777baa4766ccf00bfd7e4c0bee27998 | 1,588 | cpp | C++ | engine/source/kernel/resource/lod/resource_lod_parameters.cpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | engine/source/kernel/resource/lod/resource_lod_parameters.cpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | engine/source/kernel/resource/lod/resource_lod_parameters.cpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------------------------//
/// @file kernel/resource/lod/resource_lod_parameters.cpp
//------------------------------------------------------------------------------------------------//
//-INCLUDES------------------------------------------------... | 32.408163 | 100 | 0.259446 | skarab |
b972be89b9818a9499c06c5b09735f0d50ad2793 | 1,774 | hpp | C++ | Mongoose/Include/Mongoose_Graph.hpp | puckbee/suitesparse | 306d7f11792aca524571f4ae142bcd8b7e38c362 | [
"Apache-2.0"
] | 29 | 2019-11-27T00:43:07.000Z | 2020-02-25T14:35:54.000Z | Mongoose/Include/Mongoose_Graph.hpp | puckbee/suitesparse | 306d7f11792aca524571f4ae142bcd8b7e38c362 | [
"Apache-2.0"
] | null | null | null | Mongoose/Include/Mongoose_Graph.hpp | puckbee/suitesparse | 306d7f11792aca524571f4ae142bcd8b7e38c362 | [
"Apache-2.0"
] | 4 | 2019-11-27T05:19:03.000Z | 2020-03-23T22:49:53.000Z | /* ========================================================================== */
/* === Include/Mongoose_Graph.hpp =========================================== */
/* ========================================================================== */
/* -------------------------------------------------------------------------... | 32.851852 | 80 | 0.416573 | puckbee |
b97395886a03ffe3b6de448b6a1729b2a43a7e0a | 1,312 | cpp | C++ | Midas/src/c-compiler/function/expressions/localload.cpp | shooksteven/Vale | 830cea3eabd7302c7f38c0114339af1141d789dc | [
"Apache-2.0"
] | null | null | null | Midas/src/c-compiler/function/expressions/localload.cpp | shooksteven/Vale | 830cea3eabd7302c7f38c0114339af1141d789dc | [
"Apache-2.0"
] | null | null | null | Midas/src/c-compiler/function/expressions/localload.cpp | shooksteven/Vale | 830cea3eabd7302c7f38c0114339af1141d789dc | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "region/common/controlblock.h"
#include "translatetype.h"
#include "function/expressions/shared/members.h"
#include "function/expression.h"
#include "function/expressions/shared/shared.h"
#include "region/common/heap.h"
Ref translateLocalLoad(
GlobalState* globalState,
FunctionSt... | 34.526316 | 106 | 0.756098 | shooksteven |
b974fe16d6ac657b2e208ede22188d884b74d565 | 4,974 | hh | C++ | src/Zynga/Framework/Type/V1/StringBox.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | null | null | null | src/Zynga/Framework/Type/V1/StringBox.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | null | null | null | src/Zynga/Framework/Type/V1/StringBox.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | null | null | null | <?hh // strict
namespace Zynga\Framework\Type\V1;
use Zynga\Framework\Exception\V1\Exception;
use Zynga\Framework\Type\V1\Base as BaseBox;
use Zynga\Framework\Type\V1\Exceptions\FailedToImportFromStringException;
class StringBox extends BaseBox {
protected string $_value;
private bool $_doExploitDetection;
pu... | 25.121212 | 109 | 0.641134 | chintan-j-patel |
b97686be5c43aaa2a2fa28d8cb5b41f36107f6e2 | 2,316 | cpp | C++ | Tests/src/System/Timer.cpp | BlockProject3D/Framework | 1c27ef19d9a12d158a2b53f6bd28dd2d8e678912 | [
"BSD-3-Clause"
] | 2 | 2019-02-02T20:48:17.000Z | 2019-02-22T09:59:40.000Z | Tests/src/System/Timer.cpp | BlockProject3D/Framework | 1c27ef19d9a12d158a2b53f6bd28dd2d8e678912 | [
"BSD-3-Clause"
] | 125 | 2020-01-14T18:26:38.000Z | 2021-02-23T15:33:55.000Z | Tests/src/System/Timer.cpp | BlockProject3D/Framework | 1c27ef19d9a12d158a2b53f6bd28dd2d8e678912 | [
"BSD-3-Clause"
] | 1 | 2020-05-26T08:55:10.000Z | 2020-05-26T08:55:10.000Z | // Copyright (c) 2020, BlockProject 3D
//
// 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... | 40.631579 | 178 | 0.726684 | BlockProject3D |
b9770bb71c1f46a8c70620334438f7e2d8139513 | 1,933 | cpp | C++ | Crypto/src/CryptoException.cpp | abyss7/poco | a651a78c76eebd414b37745f7dd8539460154cab | [
"BSL-1.0"
] | 3 | 2015-06-08T15:09:28.000Z | 2020-12-31T02:28:37.000Z | Crypto/src/CryptoException.cpp | abyss7/poco | a651a78c76eebd414b37745f7dd8539460154cab | [
"BSL-1.0"
] | 3 | 2021-06-02T02:59:06.000Z | 2021-09-16T04:35:06.000Z | Crypto/src/CryptoException.cpp | abyss7/poco | a651a78c76eebd414b37745f7dd8539460154cab | [
"BSL-1.0"
] | 6 | 2021-06-02T02:39:34.000Z | 2022-03-29T05:51:57.000Z | //
// CryptoException.cpp
//
//
// Library: Crypto
// Package: Crypto
// Module: CryptoException
//
// Copyright (c) 2012, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/Crypto/CryptoException.h"
#include "Poco/NumberFormatter.h"
#include ... | 17.898148 | 139 | 0.735127 | abyss7 |
b9794812fa16c6555342c6a0440d4e0bbf3073b6 | 1,120 | cpp | C++ | solutions/444.sequence-reconstruction.332601391.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/444.sequence-reconstruction.332601391.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/444.sequence-reconstruction.332601391.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | class Solution {
public:
bool sequenceReconstruction(vector<int> &org, vector<vector<int>> &_seqs) {
int n = org.size();
vector<vector<int>> seqs;
for (auto &s : _seqs)
if (s.size()) {
for (int i = 0; i + 1 < s.size(); i++)
if (s[i] == s[i + 1])
return false;
... | 21.960784 | 77 | 0.433036 | satu0king |
b97ba66cc4428ead1a16f47f95e51406ac93d2db | 2,324 | cpp | C++ | CC/marLong/paparazi.cpp | saurav-07/CompetitiveProgramming | 40956567e077fe0785cd0904d1969e02a1eff7ee | [
"MIT"
] | 3 | 2020-10-09T11:25:19.000Z | 2021-02-15T10:40:08.000Z | CC/marLong/paparazi.cpp | saurav-07/CompetitiveProgramming | 40956567e077fe0785cd0904d1969e02a1eff7ee | [
"MIT"
] | null | null | null | CC/marLong/paparazi.cpp | saurav-07/CompetitiveProgramming | 40956567e077fe0785cd0904d1969e02a1eff7ee | [
"MIT"
] | 3 | 2021-02-10T16:29:04.000Z | 2021-02-21T16:33:01.000Z | #pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#include<bits/stdc++.h>
using namespace std;
#define si(x) scanf("%d",&x)
#define sl(x) scanf("%lld",&x)
#define ss(s) scanf("%s",s)
#define pi(x) printf("%d\n",x)
#define pl(x) printf("%lld\n",x)
#define ps(s) printf("%s\n",s)
#define deb(x) cout << #x... | 20.936937 | 81 | 0.54389 | saurav-07 |
b97c21c2faa92bfa00fe466a5b882d58e45f8c0c | 1,611 | cpp | C++ | field2points.cpp | philippemiron/piv-analysis | 48b460ec0453a7ef622455e350d7e0442e7cfab4 | [
"MIT"
] | null | null | null | field2points.cpp | philippemiron/piv-analysis | 48b460ec0453a7ef622455e350d7e0442e7cfab4 | [
"MIT"
] | 1 | 2016-06-24T20:18:28.000Z | 2016-06-24T20:18:28.000Z | field2points.cpp | tuxication/piv-analysis | 48b460ec0453a7ef622455e350d7e0442e7cfab4 | [
"MIT"
] | 2 | 2016-06-08T01:05:52.000Z | 2017-04-16T20:51:17.000Z | /*
Create spatial signal from two dimensionals velocity fields
Copyright (C) 2014 Philippe Miron
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
... | 26.85 | 73 | 0.692117 | philippemiron |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.