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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70792060e0a9269aab92d4504cf63127be72bc28 | 1,137 | tpp | C++ | include/mgcpp/operations/trans.tpp | MGfoundation/mgcpp | 66c072191e58871637bcb3b76701a79a4ae89779 | [
"BSL-1.0"
] | 48 | 2018-01-02T03:47:18.000Z | 2021-09-09T05:55:45.000Z | include/mgcpp/operations/trans.tpp | MGfoundation/mgcpp | 66c072191e58871637bcb3b76701a79a4ae89779 | [
"BSL-1.0"
] | 24 | 2017-12-27T18:03:13.000Z | 2018-07-02T09:00:30.000Z | include/mgcpp/operations/trans.tpp | MGfoundation/mgcpp | 66c072191e58871637bcb3b76701a79a4ae89779 | [
"BSL-1.0"
] | 6 | 2018-01-14T14:06:10.000Z | 2018-10-16T08:43:01.000Z |
// Copyright RedPortal, mujjingun 2017 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <mgcpp/cuda_libs/cublas.hpp>
#include <mgcpp/matrix/device_matrix.hpp>
#include <mgcpp/operat... | 26.44186 | 79 | 0.677221 | MGfoundation |
707c1169da96461daa425e8a8aab2e1bec1b6ea1 | 1,891 | hpp | C++ | ql/pricingengines/vanilla/jumpdiffusionengine.hpp | jiangjiali/QuantLib | 37c98eccfa18a95acb1e98b276831641be92b38e | [
"BSD-3-Clause"
] | 3,358 | 2015-12-18T02:56:17.000Z | 2022-03-31T02:42:47.000Z | ql/pricingengines/vanilla/jumpdiffusionengine.hpp | jiangjiali/QuantLib | 37c98eccfa18a95acb1e98b276831641be92b38e | [
"BSD-3-Clause"
] | 965 | 2015-12-21T10:35:28.000Z | 2022-03-30T02:47:00.000Z | ql/pricingengines/vanilla/jumpdiffusionengine.hpp | jiangjiali/QuantLib | 37c98eccfa18a95acb1e98b276831641be92b38e | [
"BSD-3-Clause"
] | 1,663 | 2015-12-17T17:45:38.000Z | 2022-03-31T07:58:29.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2004 Ferdinando Ametrano
Copyright (C) 2007 StatPro Italia srl
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is... | 30.5 | 79 | 0.705447 | jiangjiali |
70801dd4ee70acbab533fd84175eb0582dfc8b6b | 478 | cpp | C++ | src/Native/gc/gcsvr.cpp | lambdageek/corert | 11136ad55767485063226be08cfbd32ed574ca43 | [
"MIT"
] | 9 | 2018-02-28T14:24:42.000Z | 2021-07-07T13:12:15.000Z | src/Native/gc/gcsvr.cpp | lambdageek/corert | 11136ad55767485063226be08cfbd32ed574ca43 | [
"MIT"
] | 8 | 2016-12-02T10:22:20.000Z | 2020-10-08T15:06:17.000Z | src/Native/gc/gcsvr.cpp | lambdageek/corert | 11136ad55767485063226be08cfbd32ed574ca43 | [
"MIT"
] | 23 | 2017-06-05T16:21:58.000Z | 2022-01-31T11:01:47.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "common.h"
#if defined(FEATURE_SVR_GC)
#include "gcenv.h"
#include "gc.h"
#include "gcscan.h"
#include... | 18.384615 | 71 | 0.732218 | lambdageek |
708331464d3787e3a29d7ec7e24b50729c304fcb | 1,268 | cc | C++ | src/LevelTable.cc | clint-david/newserv | 40aa08bd4f391d8d3f6d41d3b539de5bc4c5c679 | [
"MIT"
] | null | null | null | src/LevelTable.cc | clint-david/newserv | 40aa08bd4f391d8d3f6d41d3b539de5bc4c5c679 | [
"MIT"
] | null | null | null | src/LevelTable.cc | clint-david/newserv | 40aa08bd4f391d8d3f6d41d3b539de5bc4c5c679 | [
"MIT"
] | null | null | null | #include "LevelTable.hh"
#include <string.h>
#include <phosg/Filesystem.hh>
#include "Compression.hh"
using namespace std;
LevelTable::LevelTable(const string& filename, bool compressed) {
string data = load_file(filename);
if (compressed) {
data = prs_decompress(data);
}
if (dat... | 23.481481 | 80 | 0.656151 | clint-david |
70878afeb4189cfef43b4226973262c018e1d680 | 5,974 | cpp | C++ | MonoNative/mscorlib/System/Security/Cryptography/mscorlib_System_Security_Cryptography_SignatureDescription.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative/mscorlib/System/Security/Cryptography/mscorlib_System_Security_Cryptography_SignatureDescription.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative/mscorlib/System/Security/Cryptography/mscorlib_System_Security_Cryptography_SignatureDescription.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | #include <mscorlib/System/Security/Cryptography/mscorlib_System_Security_Cryptography_SignatureDescription.h>
#include <mscorlib/System/mscorlib_System_String.h>
#include <mscorlib/System/Security/Cryptography/mscorlib_System_Security_Cryptography_AsymmetricSignatureDeformatter.h>
#include <mscorlib/System/Security/Cry... | 49.371901 | 215 | 0.752929 | brunolauze |
7088107112b684b08178218e9349fdb1ebc2580f | 700 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/game/ui/CreditsPositionController.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-03-18T17:22:09.000Z | 2022-03-18T17:22:09.000Z | include/RED4ext/Scripting/Natives/Generated/game/ui/CreditsPositionController.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | null | null | null | include/RED4ext/Scripting/Natives/Generated/game/ui/CreditsPositionController.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-02-13T01:44:55.000Z | 2022-02-13T01:44:55.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/Natives/Generated/ink/TextWidgetReference.hpp>
#include <RED4ext/Scripting/Natives/Generated/ink/WidgetLogicController.hpp>
namespace RED4ext
{
namespace game::ui {
str... | 29.166667 | 76 | 0.778571 | jackhumbert |
709059e95280f8df3a2e0d6d9b6412a4ab38be9e | 3,304 | cpp | C++ | RavenousCat_ArduinoProject/lib/hardware/buzzer.cpp | piotrwest/TheUltimateCloudCatFeeder-Software | 76cb28bbf73c213a594383f4dd719bc7eed007f4 | [
"Apache-2.0"
] | 8 | 2020-05-26T22:09:55.000Z | 2021-08-30T03:27:44.000Z | RavenousCat_ArduinoProject/lib/hardware/buzzer.cpp | piotrwest/TheUltimateCloudCatFeeder-Software | 76cb28bbf73c213a594383f4dd719bc7eed007f4 | [
"Apache-2.0"
] | null | null | null | RavenousCat_ArduinoProject/lib/hardware/buzzer.cpp | piotrwest/TheUltimateCloudCatFeeder-Software | 76cb28bbf73c213a594383f4dd719bc7eed007f4 | [
"Apache-2.0"
] | 1 | 2020-05-26T22:11:55.000Z | 2020-05-26T22:11:55.000Z |
#include <Arduino.h>
#include "pt.h"
#include "pt-sem.h"
#include "deadSimpleTimer.h"
#include "buzzer.h"
#include "hardwareConsts.h"
#include "log4arduino.h"
//private static
pt_sem Buzzer::playFoodIntroSemaphore;
pt Buzzer::pt;
void Buzzer::setup()
{
LOG("Entering buzzer setup");
ledcSetup(BUZZER_CH... | 22.324324 | 85 | 0.595944 | piotrwest |
7095dfdd8068b59f99fd0103758e5c9a6c118385 | 13,835 | cpp | C++ | src/pulsar_audio_mixer.cpp | TheSandvichMaker/pulsar | 8636db508b6b008b3ea56bf98464aeedffd44de7 | [
"Unlicense"
] | 2 | 2020-09-20T21:07:14.000Z | 2020-09-29T08:22:21.000Z | src/pulsar_audio_mixer.cpp | TheSandvichMaker/pulsar | 8636db508b6b008b3ea56bf98464aeedffd44de7 | [
"Unlicense"
] | null | null | null | src/pulsar_audio_mixer.cpp | TheSandvichMaker/pulsar | 8636db508b6b008b3ea56bf98464aeedffd44de7 | [
"Unlicense"
] | null | null | null | inline void initialize_audio_mixer(AudioMixer* mixer, MemoryArena* permanent_arena) {
mixer->arena = permanent_arena;
mixer->first_audio_group = 0;
mixer->first_free_playing_sound = 0;
mixer->master_volume[0] = 1.0f;
mixer->master_volume[1] = 1.0f;
}
inline void initialize_audio_group(AudioGroup* g... | 44.485531 | 181 | 0.620166 | TheSandvichMaker |
7095e73a580bf6050da8ec5a748b1054ef9213d0 | 1,588 | hpp | C++ | src/neural_network/optimizer/StochasticGradientDescent.hpp | MatthieuHernandez/StraightforwardNeuralNetwork | e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7 | [
"Apache-2.0"
] | 14 | 2019-08-29T07:20:19.000Z | 2022-03-22T12:51:02.000Z | src/neural_network/optimizer/StochasticGradientDescent.hpp | MatthieuHernandez/StraightforwardNeuralNetwork | e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7 | [
"Apache-2.0"
] | 7 | 2020-08-07T11:08:45.000Z | 2021-05-08T17:11:12.000Z | src/neural_network/optimizer/StochasticGradientDescent.hpp | MatthieuHernandez/StraightforwardNeuralNetwork | e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7 | [
"Apache-2.0"
] | 3 | 2020-08-07T10:53:52.000Z | 2021-02-16T22:13:22.000Z | #pragma once
#include <memory>
#include <boost/serialization/access.hpp>
#include <boost/serialization/base_object.hpp>
#include "NeuralNetworkOptimizer.hpp"
namespace snn::internal
{
class StochasticGradientDescent final : public NeuralNetworkOptimizer
{
private:
friend class boost::serialization... | 35.288889 | 102 | 0.712217 | MatthieuHernandez |
7096c44b32bf45929e224442f47ff8aeff713790 | 1,821 | cpp | C++ | src/lib/src/commands/sql-worker.cpp | Penguin-Guru/imgbrd-grabber | 69bdd5566dc2b2cb3a67456bf1a159d544699bc9 | [
"Apache-2.0"
] | 1,449 | 2015-03-16T02:21:41.000Z | 2022-03-31T22:49:10.000Z | src/lib/src/commands/sql-worker.cpp | sisco0/imgbrd-grabber | 89bf97ccab3df62286784baac242f00bf006d562 | [
"Apache-2.0"
] | 2,325 | 2015-03-16T02:23:30.000Z | 2022-03-31T21:38:26.000Z | src/lib/src/commands/sql-worker.cpp | evanjs/imgbrd-grabber | 491f8f3c05be3fc02bc10007735c5afa19d47449 | [
"Apache-2.0"
] | 242 | 2015-03-22T11:00:54.000Z | 2022-03-31T12:37:15.000Z | #include "commands/sql-worker.h"
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlDriver>
#include <QtSql/QSqlError>
#include <QtSql/QSqlField>
#include <QtSql/QSqlQuery>
#include <utility>
#include "logger.h"
SqlWorker::SqlWorker(QString driver, QString host, QString user, QString password, QString database, QObjec... | 24.608108 | 163 | 0.704558 | Penguin-Guru |
70973a9efdafd9449268103a57fee4f3f5b1942b | 5,715 | cpp | C++ | Utility Lib/main.cpp | HossamHoussien/CPP | 70431593ce7b3dfc0dbf4683d0ee6937f9945e57 | [
"MIT"
] | null | null | null | Utility Lib/main.cpp | HossamHoussien/CPP | 70431593ce7b3dfc0dbf4683d0ee6937f9945e57 | [
"MIT"
] | null | null | null | Utility Lib/main.cpp | HossamHoussien/CPP | 70431593ce7b3dfc0dbf4683d0ee6937f9945e57 | [
"MIT"
] | null | null | null | /************************************************************/
/* This file is only of testing the util helper functions */
/* It shows how to use the util namespace */
/* It has no affect of useage of "util" functions */
/************************************************************/
... | 54.428571 | 100 | 0.302362 | HossamHoussien |
709903819015c1d1ff667cbd679778c43776133c | 1,796 | cpp | C++ | msdb/src/parse/expression.cpp | KUDB/MSDB | 19e89d1d9c09c57b242737f0634ac30b4c8ecfd7 | [
"MIT"
] | 2 | 2021-08-31T12:43:16.000Z | 2021-12-13T13:49:19.000Z | msdb/src/parse/expression.cpp | KUDB/MSDB | 19e89d1d9c09c57b242737f0634ac30b4c8ecfd7 | [
"MIT"
] | 3 | 2021-09-09T17:23:31.000Z | 2021-09-09T19:14:50.000Z | msdb/src/parse/expression.cpp | KUDB/MSDB | 19e89d1d9c09c57b242737f0634ac30b4c8ecfd7 | [
"MIT"
] | null | null | null | #include <pch.h>
#include <parse/expression.h>
namespace msdb
{
namespace core
{
expression::expression()
{
}
expression::~expression()
{
}
expressionAttribute::expressionAttribute(attributeId attrId)
: attrId_(attrId)
{
}
expressionAttribute::expressionAttribute(std::string attrName)
: attrName_(attrName), attrId_(... | 19.521739 | 71 | 0.742762 | KUDB |
7099a07fd5fe70682df5b03a73a883055525eab5 | 3,965 | cpp | C++ | libs/gil/test/core/channel/packed_channel_value.cpp | btzy/boost-1.72.0-mirror | defad0f34b0abc884032b57dd4eb93f18f679bf1 | [
"BSL-1.0"
] | 1 | 2022-02-15T09:09:08.000Z | 2022-02-15T09:09:08.000Z | libs/gil/test/core/channel/packed_channel_value.cpp | btzy/boost-1.72.0-mirror | defad0f34b0abc884032b57dd4eb93f18f679bf1 | [
"BSL-1.0"
] | 1 | 2019-06-05T12:48:16.000Z | 2019-06-05T14:41:14.000Z | test/core/channel/packed_channel_value.cpp | BoostGSoC19/gil-olzhas | 0fe841f2bf3f8ba25891bc0b3d1fac25ac5cd050 | [
"BSL-1.0"
] | null | null | null | //
// Copyright 2019 Mateusz Loskot <mateusz at loskot dot net>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
#include <boost/gil/channel.hpp>
#include <boost/gil/typedefs.hpp>
#include <cstdint>
#include <l... | 31.468254 | 86 | 0.721816 | btzy |
709ebc056220431978430aa031ec151a263c42e0 | 455 | cpp | C++ | nan.cpp | micahcc/ctest | af2a789a8c610f83a7e6ef55c371c64a41492e85 | [
"MIT"
] | null | null | null | nan.cpp | micahcc/ctest | af2a789a8c610f83a7e6ef55c371c64a41492e85 | [
"MIT"
] | null | null | null | nan.cpp | micahcc/ctest | af2a789a8c610f83a7e6ef55c371c64a41492e85 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
double a = NAN;
double b = 1;
cerr << a << " vs " << b << endl;
cerr << a << "==" << b << "=" << (a==b) << endl;
cerr << a << "!=" << b << "=" << (a!=b) << endl;
cerr << a << "<=" << b << "=" << (a<=b) << endl;
cerr << a << "<" << b << "=... | 21.666667 | 49 | 0.351648 | micahcc |
70a1156569e5f7485910fe3af151e0034421be34 | 4,528 | cc | C++ | source/extensions/filters/http/ext_authz/ext_authz.cc | wrowe/envoy | e785478be30a55db518c8cf1d9366859cb74d216 | [
"Apache-2.0"
] | 2 | 2019-12-06T16:53:50.000Z | 2021-04-04T08:40:14.000Z | source/extensions/filters/http/ext_authz/ext_authz.cc | davidben/envoy | a41d55b98de91c316ccc3d638578e7a3933574c0 | [
"Apache-2.0"
] | null | null | null | source/extensions/filters/http/ext_authz/ext_authz.cc | davidben/envoy | a41d55b98de91c316ccc3d638578e7a3933574c0 | [
"Apache-2.0"
] | null | null | null | #include "extensions/filters/http/ext_authz/ext_authz.h"
#include <string>
#include <vector>
#include "envoy/http/codes.h"
#include "common/common/assert.h"
#include "common/common/enum_to_int.h"
#include "common/http/codes.h"
#include "common/router/config_impl.h"
#include "extensions/filters/common/ext_authz/ext_... | 33.540741 | 88 | 0.633834 | wrowe |
70a5dd79db39a857dabd5b9c837f97562ae24541 | 10,263 | cxx | C++ | vtkm/filter/testing/UnitTestSplitSharpEdgesFilter.cxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | null | null | null | vtkm/filter/testing/UnitTestSplitSharpEdgesFilter.cxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | null | null | null | vtkm/filter/testing/UnitTestSplitSharpEdgesFilter.cxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | null | null | null | //============================================================================
// Copyright (c) Kitware, Inc.
// 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
// PURP... | 37.593407 | 99 | 0.653805 | yisyuanliou |
70a60891457b67c5cc14ed5bcb1e75e83fa25a34 | 31,935 | cpp | C++ | JobScheduler/JobMatchPrune.cpp | mple/sigmod-programming-contest2013 | 900a969822f192793fa5f4152383cc9f5daafab4 | [
"MIT"
] | 1 | 2016-09-10T17:08:56.000Z | 2016-09-10T17:08:56.000Z | JobScheduler/JobMatchPrune.cpp | mple/sigmod-programming-contest2013 | 900a969822f192793fa5f4152383cc9f5daafab4 | [
"MIT"
] | null | null | null | JobScheduler/JobMatchPrune.cpp | mple/sigmod-programming-contest2013 | 900a969822f192793fa5f4152383cc9f5daafab4 | [
"MIT"
] | null | null | null | /*
* JobMatchPrune.cpp
*
* Created on: Mar 27, 2013
* Author: johnchronis
*/
#include "../QueryIndex/QueryIndex.h"
#include "../QueryIndex/QidsVault.h"
#include "../QueryIndex/QueryInfo.h"
#include "../QueryIndex/bitarea.h"
#include "../QueryIndex/Query.h"
#include <stdlib.h>
#include <list>
#include "../To... | 38.475904 | 162 | 0.61453 | mple |
70a6837f275ba6b25338bc5d9128280571f206d3 | 7,155 | cpp | C++ | Modules/Classification/CLUtilities/src/GlobalImageFeatures/mitkGIFNeighbourhoodGreyToneDifferenceFeatures.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 1 | 2021-11-20T08:19:27.000Z | 2021-11-20T08:19:27.000Z | Modules/Classification/CLUtilities/src/GlobalImageFeatures/mitkGIFNeighbourhoodGreyToneDifferenceFeatures.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | Modules/Classification/CLUtilities/src/GlobalImageFeatures/mitkGIFNeighbourhoodGreyToneDifferenceFeatures.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 32.22973 | 229 | 0.69392 | wyyrepo |
70a6e1c2cfa0aa1b1b2525cce68269d6dbfb7868 | 8,172 | hpp | C++ | Raven.ANPR.Recognizer/recognizer/plate_finder_by_geometry.hpp | myarichuk/Raven.ANPR | f6c79d7af6f43f69b04ccdc8ef1fc7bd821e9222 | [
"MIT"
] | null | null | null | Raven.ANPR.Recognizer/recognizer/plate_finder_by_geometry.hpp | myarichuk/Raven.ANPR | f6c79d7af6f43f69b04ccdc8ef1fc7bd821e9222 | [
"MIT"
] | null | null | null | Raven.ANPR.Recognizer/recognizer/plate_finder_by_geometry.hpp | myarichuk/Raven.ANPR | f6c79d7af6f43f69b04ccdc8ef1fc7bd821e9222 | [
"MIT"
] | null | null | null | #ifndef PLATE_FINDER_BY_GEOMETRY_HPP
#define PLATE_FINDER_BY_GEOMETRY_HPP
#include "base_plate_finder_strategy.hpp"
#include <opencv2/imgcodecs.hpp>
#include <map>
#include "if_char.hpp"
#include <corecrt_math_defines.h>
#include "possible_plate.hpp"
#include "plate_finder_by_rectangle.hpp"
//credit: code adapted with... | 35.530435 | 120 | 0.740333 | myarichuk |
70a7c447b0c00c68728e07d3da1836929398f22e | 5,202 | cpp | C++ | contract/libtvm/VMValidate.cpp | TOSIO/tos | cedece4dbb092ac50395788d953688b5fc50c506 | [
"MIT"
] | 20 | 2018-05-06T09:49:43.000Z | 2018-12-05T08:21:23.000Z | contract/libtvm/VMValidate.cpp | TOSIO/tos | cedece4dbb092ac50395788d953688b5fc50c506 | [
"MIT"
] | 1 | 2018-06-01T15:00:34.000Z | 2018-06-01T15:00:34.000Z | contract/libtvm/VMValidate.cpp | TOSIO/tos | cedece4dbb092ac50395788d953688b5fc50c506 | [
"MIT"
] | null | null | null | /*
This file is part of tos.
tos 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
(at your option) any later version.
tos is distributed in the hope tha... | 30.244186 | 94 | 0.530757 | TOSIO |
70a84c9dcc6a2dfd6b69d01885fa8e9fcdab9574 | 1,346 | cpp | C++ | example/generated/reflected_types/Colors.er.cpp | chocolacula/reflection_cpp | df802e6aba7900905db49b36234953c61b11c55d | [
"Apache-2.0"
] | 10 | 2021-10-07T09:14:13.000Z | 2022-03-30T12:44:29.000Z | example/generated/reflected_types/Colors.er.cpp | chocolacula/reflection_cpp | df802e6aba7900905db49b36234953c61b11c55d | [
"Apache-2.0"
] | null | null | null | example/generated/reflected_types/Colors.er.cpp | chocolacula/reflection_cpp | df802e6aba7900905db49b36234953c61b11c55d | [
"Apache-2.0"
] | 2 | 2022-03-15T21:17:50.000Z | 2022-03-20T09:06:09.000Z | #include "Colors.er.h"
// clang-format off
#include "er/reflection/the_great_table.h"
#include "er/types/common_actions.h"
#include "er/types/type_actions.h"
namespace er {
template <>
struct TypeActions<Colors> {
static TypeInfo reflect(void* value, bool is_const) {
static constexpr ConstexprMap<Colors, 6> c... | 29.911111 | 89 | 0.523774 | chocolacula |
70a999fd99de791fd6abfbd76b1548370414a728 | 3,217 | cpp | C++ | Cameras/SOTTR/InjectableGenericCameraSystem/OverlayConsole.cpp | Cyberim/InjectableGenericCameraSystem | d74f8786a903211e72c5da7f2f3be30826bb8329 | [
"BSD-2-Clause"
] | null | null | null | Cameras/SOTTR/InjectableGenericCameraSystem/OverlayConsole.cpp | Cyberim/InjectableGenericCameraSystem | d74f8786a903211e72c5da7f2f3be30826bb8329 | [
"BSD-2-Clause"
] | null | null | null | Cameras/SOTTR/InjectableGenericCameraSystem/OverlayConsole.cpp | Cyberim/InjectableGenericCameraSystem | d74f8786a903211e72c5da7f2f3be30826bb8329 | [
"BSD-2-Clause"
] | null | null | null | #include "stdafx.h"
#include "OverlayConsole.h"
#include "imgui.h"
#include "Utils.h"
#ifdef _DX12_
#include "Console.h"
#endif // _DX12_
using namespace std;
namespace IGCS
{
#define CONSOLE_DEBUG_PREFIX "[DEBUG]"
#define CONSOLE_ERROR_PREFIX ">> ERROR <<"
void OverlayConsole::clear()
{
EnterCriticalSection(... | 23.311594 | 100 | 0.673298 | Cyberim |
70ac6e2af8ebfbcd880f07bb6752c1a0f18c0e03 | 324 | cpp | C++ | src/syntax/AST/AbstractReadExpr.cpp | pougetat/decacompiler | 3181c87fce7c28d742f372300daabeb9f9f8d3c6 | [
"MIT"
] | null | null | null | src/syntax/AST/AbstractReadExpr.cpp | pougetat/decacompiler | 3181c87fce7c28d742f372300daabeb9f9f8d3c6 | [
"MIT"
] | null | null | null | src/syntax/AST/AbstractReadExpr.cpp | pougetat/decacompiler | 3181c87fce7c28d742f372300daabeb9f9f8d3c6 | [
"MIT"
] | null | null | null | #include "AbstractReadExpr.h"
AbstractType * AbstractReadExpr::VerifyExpr(
EnvironmentType * env_types,
EnvironmentExp * env_exp,
string * class_name)
{
throw runtime_error("NOT IMPLEMENTED YET");
}
void AbstractReadExpr::CodeGenExpr(
EnvironmentType * env_types,
GeneratorEnvironment * gen_env... | 23.142857 | 47 | 0.740741 | pougetat |
70acedf1418630671434a5f1b0667dd13ca79994 | 8,696 | cpp | C++ | src/arboretum/stPlainDiskPageManager.cpp | marcosivni/arboretum | 329147b2d147903bc8e527fc3dcfe2349141725a | [
"Apache-2.0"
] | null | null | null | src/arboretum/stPlainDiskPageManager.cpp | marcosivni/arboretum | 329147b2d147903bc8e527fc3dcfe2349141725a | [
"Apache-2.0"
] | null | null | null | src/arboretum/stPlainDiskPageManager.cpp | marcosivni/arboretum | 329147b2d147903bc8e527fc3dcfe2349141725a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2003-2017 GBDI-ICMC-USP <caetano@icmc.usp.br>
*
* 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 applicabl... | 33.064639 | 96 | 0.579347 | marcosivni |
70ae04c72cb5aaee827c00e072f7466ac5a2a2d4 | 703 | cpp | C++ | Code from the book/Ch5/Ex5_10.cpp | salomarx/Visual_studio_2008_for_C_plus | 5ff62b7e7f6232df38152390cc56c2d394567cab | [
"MIT"
] | null | null | null | Code from the book/Ch5/Ex5_10.cpp | salomarx/Visual_studio_2008_for_C_plus | 5ff62b7e7f6232df38152390cc56c2d394567cab | [
"MIT"
] | null | null | null | Code from the book/Ch5/Ex5_10.cpp | salomarx/Visual_studio_2008_for_C_plus | 5ff62b7e7f6232df38152390cc56c2d394567cab | [
"MIT"
] | null | null | null | // Ex5_10.cpp
// Handling a variable number of arguments
#include <iostream>
#include <cstdarg>
using std::cout;
using std::endl;
int sum(int count, ...)
{
if(count <= 0)
return 0;
va_list arg_ptr; // Declare argument list pointer
va_start(arg_ptr, count); // Set arg_ptr to 1s... | 24.241379 | 82 | 0.577525 | salomarx |
70b4600d3d429553842fdee76ab16c8628ff497a | 14,166 | cpp | C++ | SDKs/CryCode/3.6.15/GameDll/PlayerStateSwim_WaterTestProxy.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.6.15/GameDll/PlayerStateSwim_WaterTestProxy.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.6.15/GameDll/PlayerStateSwim_WaterTestProxy.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | /*************************************************************************
Crytek Source File.
Copyright (C), Crytek Studios, 2001-2010.
-------------------------------------------------------------------------
$Id$
$DateTime$
Description: Contains the ray testing code extracted from CPlayer.
-------------------------... | 34.052885 | 256 | 0.757024 | amrhead |
70bfad8ed4b0c26981dfda0facbdd7076d7f856d | 1,950 | cpp | C++ | webkit/WebCore/svg/SVGStringList.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/svg/SVGStringList.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/svg/SVGStringList.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
2004, 2005, 2006 Rob Buis <buis@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Founda... | 27.857143 | 77 | 0.670256 | s1rcheese |
70bfc22ff701239a6dcb938c7c4f4190926139e0 | 584 | hpp | C++ | include/extractor/guidance/intersection_scenario_three_way.hpp | AccessMap/accessmaplite-osrm-backend | 1a7586b7cc33c6ba7bff63c418df5b4822fd7f27 | [
"BSD-2-Clause"
] | 1 | 2017-04-15T22:58:23.000Z | 2017-04-15T22:58:23.000Z | include/extractor/guidance/intersection_scenario_three_way.hpp | zummach/osrm | 7ab1b0893729064aa35b29d78cec605eb9831433 | [
"BSD-2-Clause"
] | 1 | 2019-11-21T09:59:27.000Z | 2019-11-21T09:59:27.000Z | osrm-ch/include/extractor/guidance/intersection_scenario_three_way.hpp | dingchunda/osrm-backend | 8750749b83bd9193ca3481c630eefda689ecb73c | [
"BSD-2-Clause"
] | null | null | null | #ifndef OSRM_EXTRACTOR_GUIDANCE_INTERSECTION_SCENARIO_THREE_WAY_HPP_
#define OSRM_EXTRACTOR_GUIDANCE_INTERSECTION_SCENARIO_THREE_WAY_HPP_
#include "extractor/guidance/intersection.hpp"
namespace osrm
{
namespace extractor
{
namespace guidance
{
// Ending in a T-Intersection
bool isEndOfRoad(const ConnectedRoad &utur... | 25.391304 | 71 | 0.796233 | AccessMap |
70c06b067bb70b83a1ef55072f13abbd1015bc9b | 2,654 | cc | C++ | obj/zeiger.cc | BradenButler/simutrans | 86f29844625119182896e0e08d7b775bc847758d | [
"Artistic-1.0"
] | 292 | 2015-01-04T20:33:57.000Z | 2022-03-21T21:36:25.000Z | obj/zeiger.cc | BradenButler/simutrans | 86f29844625119182896e0e08d7b775bc847758d | [
"Artistic-1.0"
] | 12 | 2021-12-19T22:51:36.000Z | 2022-03-11T18:59:13.000Z | obj/zeiger.cc | BradenButler/simutrans | 86f29844625119182896e0e08d7b775bc847758d | [
"Artistic-1.0"
] | 126 | 2015-01-05T10:27:14.000Z | 2022-03-05T14:08:50.000Z | /*
* This file is part of the Simutrans project under the Artistic License.
* (see LICENSE.txt)
*/
/** @file zeiger.cc object to mark tiles */
#include <stdio.h>
#include "../simworld.h"
#include "simobj.h"
#include "../simhalt.h"
#include "../boden/grund.h"
#include "../dataobj/environment.h"
#include "zeiger.h"... | 22.116667 | 88 | 0.649209 | BradenButler |
70c432dd8f17cad4d3f18da3c708c742e4180e93 | 629 | hpp | C++ | include/blocksqp_defs.hpp | mirhahn/blockSQP | e6468a30d25e5f4f0e81fe22def193ff7f618602 | [
"Zlib"
] | null | null | null | include/blocksqp_defs.hpp | mirhahn/blockSQP | e6468a30d25e5f4f0e81fe22def193ff7f618602 | [
"Zlib"
] | null | null | null | include/blocksqp_defs.hpp | mirhahn/blockSQP | e6468a30d25e5f4f0e81fe22def193ff7f618602 | [
"Zlib"
] | null | null | null | /*
* blockSQP -- Sequential quadratic programming for problems with
* block-diagonal Hessian matrix.
* Copyright (C) 2012-2015 by Dennis Janka <dennis.janka@iwr.uni-heidelberg.de>
*
* Licensed under the zlib license. See LICENSE for more details.
*/
/**
* \file blocksqp_defs.hpp
* \author Dennis Ja... | 19.060606 | 79 | 0.713831 | mirhahn |
70c6b0f7842f2e2aafa366e443368dd182ceb132 | 576 | cpp | C++ | source/aufgabe_12.cpp | Rogi1246/programmiersprachen-aufgabenblatt-3 | 2b894a22803335a96a4cc0931defc87aca2eabe6 | [
"MIT"
] | null | null | null | source/aufgabe_12.cpp | Rogi1246/programmiersprachen-aufgabenblatt-3 | 2b894a22803335a96a4cc0931defc87aca2eabe6 | [
"MIT"
] | null | null | null | source/aufgabe_12.cpp | Rogi1246/programmiersprachen-aufgabenblatt-3 | 2b894a22803335a96a4cc0931defc87aca2eabe6 | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_RUNNER
#include<algorithm>
#include<iostream>
#include<vector>
#include"catch.hpp"
using namespace std;
TEST_CASE("task 12", "[transform]"){
vector <int > v_1 {1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9};
vector <int > v_2 {9 ,8 ,7 ,6 ,5 ,4 ,3 ,2 ,1};
vector <int > v_3 (9);
transform(v_1.begin(),... | 23.04 | 81 | 0.567708 | Rogi1246 |
70c9798b8fe7fbdeb4b8cebcde862eefc9270807 | 28,938 | cpp | C++ | UCC_base/src/CJavascriptCounter.cpp | hcthanhhh/UCC | 343a67f12d7e8086d1c26172d7b852594385ba59 | [
"MIT"
] | 1 | 2020-06-30T10:02:01.000Z | 2020-06-30T10:02:01.000Z | UCC_base/src/CJavascriptCounter.cpp | hcthanhhh/UCC | 343a67f12d7e8086d1c26172d7b852594385ba59 | [
"MIT"
] | 7 | 2020-06-18T04:26:07.000Z | 2022-02-13T20:01:24.000Z | UCC_base/src/CJavascriptCounter.cpp | hcthanhhh/UCC | 343a67f12d7e8086d1c26172d7b852594385ba59 | [
"MIT"
] | null | null | null | //! Code counter class methods for the JavaScript language.
/*!
* \file CJavascriptCounter.cpp
*
* This file contains the code counter class methods for the JavaScript language.
*/
#include "CJavascriptCounter.h"
/*!
* Constructs a CJavascriptCounter object.
*/
CJavascriptCounter::CJavascriptCounter()
{
... | 27.798271 | 160 | 0.624438 | hcthanhhh |
70cf4ee1e47e49ae40314660afeef09237995b6d | 202 | cpp | C++ | Manual/P103_18.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | Manual/P103_18.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | Manual/P103_18.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int k=0;
for(int i=10;i<100;i++){
if(i%2!=0){
cout << i << ' ';
k++;
}
if(k%3==0)
cout << endl;
}
return 0;
} | 8.08 | 25 | 0.440594 | rlodina99 |
70d9df03e5f2f396e023bd06d4f2db5784dd4002 | 941 | hpp | C++ | tstest/include/tstest/details/exception.hpp | ketgo/tstest | e21e418a17b3d9f6e463ad8877f51969362a5919 | [
"MIT"
] | null | null | null | tstest/include/tstest/details/exception.hpp | ketgo/tstest | e21e418a17b3d9f6e463ad8877f51969362a5919 | [
"MIT"
] | null | null | null | tstest/include/tstest/details/exception.hpp | ketgo/tstest | e21e418a17b3d9f6e463ad8877f51969362a5919 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2021 Ketan Goyal
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#ifndef TSTEST__DETAILS__EXCEPTION_HPP
#define TSTEST__DETAILS__EXCEPTION_HPP
#include <exception>
#include <string>
#include <tstest/details/event.hpp>
namespace tstest {
namespac... | 21.386364 | 79 | 0.703507 | ketgo |
70ded37d4fba26e9110daa69850a525814ebb62c | 567 | cpp | C++ | LGP1305.cpp | Origami404/OI_Code | 9638ec6fa409dc8e243eaef9aa287c20c332bbe5 | [
"MIT"
] | null | null | null | LGP1305.cpp | Origami404/OI_Code | 9638ec6fa409dc8e243eaef9aa287c20c332bbe5 | [
"MIT"
] | null | null | null | LGP1305.cpp | Origami404/OI_Code | 9638ec6fa409dc8e243eaef9aa287c20c332bbe5 | [
"MIT"
] | null | null | null | #include <cstdio>
using namespace std;
char tree[10010], n;
int find(char c){
for (int i = 1; i < 1000; i++)
if (tree[i] == c) return i;
}
void inord(int i){
if (tree[i] == '*' || tree[i] == 0) return;
printf("%c", tree[i]);
inord(2*i);
inord(2*i+1);
}
int main(){
scanf("%d", &n);
char* in =... | 18.290323 | 50 | 0.47619 | Origami404 |
70e0873dc62f6c6f49506dedd50c8389d3bac15f | 382 | cpp | C++ | src/RestApiConfigLoader.cpp | StudDev/poszhalusta_primite_proekt | 90220821392fa019c461cfd480f6ec454643f54e | [
"Apache-2.0"
] | null | null | null | src/RestApiConfigLoader.cpp | StudDev/poszhalusta_primite_proekt | 90220821392fa019c461cfd480f6ec454643f54e | [
"Apache-2.0"
] | 1 | 2020-06-29T21:19:08.000Z | 2020-06-29T21:19:08.000Z | src/RestApiConfigLoader.cpp | oleggator/yandex_disk_gui | 90220821392fa019c461cfd480f6ec454643f54e | [
"Apache-2.0"
] | null | null | null | #include "RestApiConfigLoader.h"
QSettings *RestApiConfigLoader::createConfigInstance(const QString &organisation, const QString &application) {
auto *rest_api_settings = new QSettings(organisation, application);
rest_api_settings->beginGroup(getConfigBranch());
return rest_api_settings;
}
RestApiConfigLoader::... | 31.833333 | 111 | 0.798429 | StudDev |
70e280815d841652580bd4df9ef62717cb282040 | 12,444 | cpp | C++ | Pinball/ModuleSceneIntro.cpp | OCA99/CITM-Physics2-Pinball | 61532ac18ffd4f28e903e041f1951433a60035f0 | [
"MIT"
] | null | null | null | Pinball/ModuleSceneIntro.cpp | OCA99/CITM-Physics2-Pinball | 61532ac18ffd4f28e903e041f1951433a60035f0 | [
"MIT"
] | null | null | null | Pinball/ModuleSceneIntro.cpp | OCA99/CITM-Physics2-Pinball | 61532ac18ffd4f28e903e041f1951433a60035f0 | [
"MIT"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "ModuleRender.h"
#include "ModuleSceneIntro.h"
#include "ModuleInput.h"
#include "ModuleTextures.h"
#include "ModuleAudio.h"
#include "ModulePhysics.h"
#include "ModuleInterface.h"
#include "Application.h"
ModuleSceneIntro::ModuleSceneIntro(Application* app, bool ... | 18.517857 | 101 | 0.64505 | OCA99 |
70e2b918a044f7743ac09d0e07a576c21e56b3c6 | 522 | cpp | C++ | src/render_data.cpp | donqustix/colvox-cpp | 26d881484f3bd106be881bca5a0b2c9ad485eac3 | [
"MIT"
] | null | null | null | src/render_data.cpp | donqustix/colvox-cpp | 26d881484f3bd106be881bca5a0b2c9ad485eac3 | [
"MIT"
] | null | null | null | src/render_data.cpp | donqustix/colvox-cpp | 26d881484f3bd106be881bca5a0b2c9ad485eac3 | [
"MIT"
] | null | null | null | #include "render_data.h"
#include "textured_rect_mesh.h"
#include <glm/gtc/matrix_transform.hpp>
using minecpp::RenderData;
RenderData::RenderData(float fovy, float aspect, float zNear, float zFar) noexcept :
texturedRectMesh{std::make_unique<TexturedRectMesh>()},
projectionMatrix{glm::perspective(glm::radia... | 26.1 | 84 | 0.758621 | donqustix |
70e3b59a3a7bed7325aa7fcf7d99b923d4cf4bd0 | 6,769 | cpp | C++ | src/AccessorPacker.cpp | infinitedescent/Maya2glTF | 3da15de118e98a10d2edc49b77ad9e61daee5ff1 | [
"MIT"
] | 86 | 2020-08-05T01:51:23.000Z | 2022-03-25T09:46:13.000Z | src/AccessorPacker.cpp | yjcnbnbnb200/Maya2glTF | 3da15de118e98a10d2edc49b77ad9e61daee5ff1 | [
"MIT"
] | 55 | 2020-07-16T13:27:08.000Z | 2022-03-04T15:05:14.000Z | src/AccessorPacker.cpp | yjcnbnbnb200/Maya2glTF | 3da15de118e98a10d2edc49b77ad9e61daee5ff1 | [
"MIT"
] | 10 | 2020-11-21T09:58:25.000Z | 2022-01-20T13:44:52.000Z | #include "externals.h"
#include "AccessorPacker.h"
#include "accessors.h"
using GLTF::Constants::WebGL;
GLTF::BufferView *AccessorPacker::packAccessorsForTargetByteStride(
const std::vector<GLTF::Accessor *> &accessors, WebGL target) {
std::map<GLTF::Accessor *, int> byteOffsets;
int byteLeng... | 38.68 | 120 | 0.604077 | infinitedescent |
70e4e805e1b9b47d194c717942352f37c27f08a4 | 5,248 | cpp | C++ | src/ltresource.cpp | hemantasapkota/lotech | 46598a7c37dfd7cd424e2426564cc32533e1cfd6 | [
"curl"
] | 9 | 2015-06-28T05:47:33.000Z | 2021-06-29T13:35:48.000Z | src/ltresource.cpp | hemantasapkota/lotech | 46598a7c37dfd7cd424e2426564cc32533e1cfd6 | [
"curl"
] | 5 | 2015-01-10T02:56:53.000Z | 2018-07-27T03:21:14.000Z | src/ltresource.cpp | hemantasapkota/lotech | 46598a7c37dfd7cd424e2426564cc32533e1cfd6 | [
"curl"
] | 3 | 2015-04-01T14:48:54.000Z | 2015-11-12T11:52:50.000Z | /* Copyright (C) 2010-2013 Ian MacLarty. See Copyright Notice in lt.h. */
#include "lt.h"
LT_INIT_IMPL(ltresource)
static const char* resource_prefix = "";
#ifdef LTANDROID
static AAssetManager *asset_mgr = NULL;
void ltSetAssetManager(AAssetManager* mgr) {
asset_mgr = mgr;
}
LTResource *ltOpenResource(const ... | 27.767196 | 93 | 0.55545 | hemantasapkota |
70ec302ed7bd51e78db78b57c06703971e8b6534 | 46,774 | cpp | C++ | src/vulkan_renderer/renderer.cpp | lavima/GaME | f816dff62c731e0f807b00300a061d45e7ffd93b | [
"MIT"
] | null | null | null | src/vulkan_renderer/renderer.cpp | lavima/GaME | f816dff62c731e0f807b00300a061d45e7ffd93b | [
"MIT"
] | null | null | null | src/vulkan_renderer/renderer.cpp | lavima/GaME | f816dff62c731e0f807b00300a061d45e7ffd93b | [
"MIT"
] | null | null | null | /*
File: VulkanRenderer.cpp
Author: Lars Vidar Magnusson
*/
#include "../game.h"
using namespace game::graphics::vulkan;
#include "config.h"
#include "mesh_component.h"
#include "renderer.h"
namespace game::vulkanrenderer {
static const framework::SystemInfo vulkan_renderer_info(VULKANRENDERER_TYPENAME, "Vulka... | 41.174296 | 186 | 0.689593 | lavima |
70f05090c18ab9cedc066d938bb3de5b5ed01f62 | 3,389 | cpp | C++ | NOLF/Shared/GameButeMgr.cpp | rastrup/no-one-lives-forever | dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54 | [
"Unlicense"
] | 65 | 2015-02-28T03:35:14.000Z | 2021-09-23T05:43:33.000Z | NOLF/Shared/GameButeMgr.cpp | rastrup/no-one-lives-forever | dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54 | [
"Unlicense"
] | null | null | null | NOLF/Shared/GameButeMgr.cpp | rastrup/no-one-lives-forever | dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54 | [
"Unlicense"
] | 27 | 2015-02-28T07:42:01.000Z | 2022-02-11T01:35:20.000Z | // ----------------------------------------------------------------------- //
//
// MODULE : GameButeMgr.cpp
//
// PURPOSE : GameButeMgr - Implementation
//
// CREATED : 03/30/99
//
// ----------------------------------------------------------------------- //
#include "stdafx.h"
#include "GameButeMgr.h"
... | 19.146893 | 78 | 0.562408 | rastrup |
70f4bbc20f5fa5d3044cbbce2770e8f7a871154f | 335 | hpp | C++ | library/ATF/$781E283C2289BA25118D1D650A635D8D.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/$781E283C2289BA25118D1D650A635D8D.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/$781E283C2289BA25118D1D650A635D8D.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
enum $781E283C2289BA25118D1D650A635D8D
{
attack_type_none = 0x0,
attack_type_std = 0x1,
attack_type_stun = 0x2,
};
END... | 22.333333 | 108 | 0.725373 | lemkova |
70f6cd3214c051a301dac5c7b447fa32a73eebfa | 2,112 | hpp | C++ | include/gridtools/common/timer/timer.hpp | wdeconinck/gridtools | 1811413f6e22a8f1205e542f5354daaae7c5554b | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/common/timer/timer.hpp | wdeconinck/gridtools | 1811413f6e22a8f1205e542f5354daaae7c5554b | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/common/timer/timer.hpp | wdeconinck/gridtools | 1811413f6e22a8f1205e542f5354daaae7c5554b | [
"BSD-3-Clause"
] | 1 | 2019-06-14T10:35:50.000Z | 2019-06-14T10:35:50.000Z | /*
* GridTools
*
* Copyright (c) 2014-2019, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include "../generic_metafunctions/utility.hpp"
#include "../host_device.hpp"
#include <cmath>
#include <sstream>
#i... | 25.142857 | 95 | 0.525568 | wdeconinck |
70fb520899eb7f180eeed899a4c047a903530396 | 15,173 | cpp | C++ | XR_APILAYER_NOVENDOR_toolkit/framework/dispatch.cpp | fearlessfrog/OpenXR-Toolkit | e61e0a5230bf7b3b3b964f7112969097d7e8259c | [
"MIT"
] | null | null | null | XR_APILAYER_NOVENDOR_toolkit/framework/dispatch.cpp | fearlessfrog/OpenXR-Toolkit | e61e0a5230bf7b3b3b964f7112969097d7e8259c | [
"MIT"
] | null | null | null | XR_APILAYER_NOVENDOR_toolkit/framework/dispatch.cpp | fearlessfrog/OpenXR-Toolkit | e61e0a5230bf7b3b3b964f7112969097d7e8259c | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright(c) 2021 Matthieu Bucchianeri
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softwareand associated documentation files(the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, m... | 48.945161 | 119 | 0.619719 | fearlessfrog |
70fc10b0795af760625837aeaa7a0a4085d94772 | 574 | cpp | C++ | demo/Cpp/15-FuzzyMatch/vowel_tolerance.cpp | raccoonmonk/quex | 20ffe451df9fd49bdc216ce45b8263fa228670e5 | [
"MIT"
] | null | null | null | demo/Cpp/15-FuzzyMatch/vowel_tolerance.cpp | raccoonmonk/quex | 20ffe451df9fd49bdc216ce45b8263fa228670e5 | [
"MIT"
] | 1 | 2022-01-31T18:08:44.000Z | 2022-01-31T18:08:44.000Z | demo/Cpp/15-FuzzyMatch/vowel_tolerance.cpp | raccoonmonk/quex | 20ffe451df9fd49bdc216ce45b8263fa228670e5 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "TolerantLex/TolerantLex"
int main(int argc, char** argv)
{
if( argc < 2 ) { printf("Missing file name.\n"); exit(-1); }
TolerantLex_Token* token_p = 0x0;
TolerantLex tlex(&argv[1][0], /* Converter */NULL);
while( tlex.error_code == E_Error_None ) {
t... | 27.333333 | 69 | 0.595819 | raccoonmonk |
70fcc15d039fb6648be5010b7bfb4e5cb8601ed6 | 4,931 | cpp | C++ | processo.cpp | jeanmira/Simulacao-de-Algoritmos-de-Escalonamento | 96c17082c2fc3b47568a568d772d010627574f7f | [
"MIT"
] | null | null | null | processo.cpp | jeanmira/Simulacao-de-Algoritmos-de-Escalonamento | 96c17082c2fc3b47568a568d772d010627574f7f | [
"MIT"
] | null | null | null | processo.cpp | jeanmira/Simulacao-de-Algoritmos-de-Escalonamento | 96c17082c2fc3b47568a568d772d010627574f7f | [
"MIT"
] | null | null | null | #include "processo.h"
// Construtor padrão
Processo::Processo(int c, int d, int p, int i)
{
this->id = i;
this->criacao = c;
this->duracao = d;
this->prioridade = p;
this->tempoEspera = 0;
this->tempoTotal = 0;
this->nTroca = 0;
this->prioridadeDinamica = prioridade;
}
//----- Constru... | 23.150235 | 116 | 0.661732 | jeanmira |
70fdccfa0976ea21b8c06ad5a55b4b79eaf7fb6b | 1,777 | hh | C++ | hoo/ast/Declaration.hh | benoybose/hoolang | 4e280a03caec837be35c8aac948923e1bea96b85 | [
"BSD-3-Clause"
] | null | null | null | hoo/ast/Declaration.hh | benoybose/hoolang | 4e280a03caec837be35c8aac948923e1bea96b85 | [
"BSD-3-Clause"
] | 14 | 2020-07-24T10:25:59.000Z | 2020-08-02T13:27:09.000Z | hoo/ast/Declaration.hh | benoybose/hoolang | 4e280a03caec837be35c8aac948923e1bea96b85 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2020 Benoy Bose
*
* 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, publish, distri... | 35.54 | 100 | 0.714688 | benoybose |
cb04dc08737518e44efcc80ad066b1d185f1e72a | 829 | cpp | C++ | sdsl-lite-2.0.3/tutorial/cst-traversal.cpp | juakotorres/ParallelRelativeLempel-Ziv | fb6cbd59183b22c6d9530a2db22fbfb93aabd8b7 | [
"MIT"
] | null | null | null | sdsl-lite-2.0.3/tutorial/cst-traversal.cpp | juakotorres/ParallelRelativeLempel-Ziv | fb6cbd59183b22c6d9530a2db22fbfb93aabd8b7 | [
"MIT"
] | null | null | null | sdsl-lite-2.0.3/tutorial/cst-traversal.cpp | juakotorres/ParallelRelativeLempel-Ziv | fb6cbd59183b22c6d9530a2db22fbfb93aabd8b7 | [
"MIT"
] | null | null | null | #include <sdsl/suffix_trees.hpp>
#include <iostream>
#include <string>
using namespace sdsl;
using namespace std;
int main(int, char* argv[])
{
cst_sct3<> cst;
construct(cst, argv[1], 1);
uint64_t max_depth = stoull(argv[2]);
// use the DFS iterator to traverse `cst`
for (auto it=cst.begin(); it!... | 30.703704 | 80 | 0.534379 | juakotorres |
cb0648c82e6eb19131e07fe313a534a7dc688a41 | 1,854 | cpp | C++ | src/Scanner.cpp | spookyGh0st/ip | 32cdaeb76f46d62c68d0a53219a944e1fe8c8c56 | [
"MIT"
] | null | null | null | src/Scanner.cpp | spookyGh0st/ip | 32cdaeb76f46d62c68d0a53219a944e1fe8c8c56 | [
"MIT"
] | null | null | null | src/Scanner.cpp | spookyGh0st/ip | 32cdaeb76f46d62c68d0a53219a944e1fe8c8c56 | [
"MIT"
] | null | null | null | #include <iostream>
#include "Scanner.h"
using namespace ip;
Scanner::Scanner(const std::string_view &source): src(source), start(0), current(0) { }
Token Scanner::scanToken() {
skipWhitespace();
start = current;
if (isAtEnd())
return makeToken(TOKEN_EOF);
auto c = advance();
if (std::is... | 24.394737 | 104 | 0.610032 | spookyGh0st |
cb07853fef8937ddb28d5cf79b935396f6cb531a | 650 | cpp | C++ | dingus/dingus/renderer/EffectParamsNotifier.cpp | aras-p/dingus | 22ef90c2bf01afd53c0b5b045f4dd0b59fe83009 | [
"MIT"
] | 17 | 2016-06-14T20:56:58.000Z | 2021-11-15T10:14:16.000Z | dingus/dingus/renderer/EffectParamsNotifier.cpp | aras-p/dingus | 22ef90c2bf01afd53c0b5b045f4dd0b59fe83009 | [
"MIT"
] | null | null | null | dingus/dingus/renderer/EffectParamsNotifier.cpp | aras-p/dingus | 22ef90c2bf01afd53c0b5b045f4dd0b59fe83009 | [
"MIT"
] | 5 | 2016-06-14T20:56:59.000Z | 2021-06-22T00:09:18.000Z | // --------------------------------------------------------------------------
// Dingus project - a collection of subsystems for game/graphics applications
// --------------------------------------------------------------------------
#include "stdafx.h"
#include "EffectParamsNotifier.h"
using namespace dingus;... | 28.26087 | 78 | 0.523077 | aras-p |
cb0bee43dd84717e4b18ed90a82e59757c904e01 | 16,606 | cpp | C++ | tests/unit/serial/test_node.cpp | ASMfreaK/kocherga | fbe4c00cc6f540888a435437b772749c584a9fa0 | [
"MIT"
] | 19 | 2018-11-14T00:14:01.000Z | 2022-01-24T09:23:52.000Z | tests/unit/serial/test_node.cpp | ASMfreaK/kocherga | fbe4c00cc6f540888a435437b772749c584a9fa0 | [
"MIT"
] | 6 | 2019-04-20T23:56:21.000Z | 2021-12-22T01:47:10.000Z | tests/unit/serial/test_node.cpp | ASMfreaK/kocherga | fbe4c00cc6f540888a435437b772749c584a9fa0 | [
"MIT"
] | 5 | 2019-07-11T13:47:55.000Z | 2021-11-29T14:34:45.000Z | // This software is distributed under the terms of the MIT License.
// Copyright (c) 2021 Zubax Robotics.
// Author: Pavel Kirienko <pavel.kirienko@zubax.com>
#include "kocherga_serial.hpp" // NOLINT include order: include Kocherga first to ensure no headers are missed.
#include "catch.hpp"
#include <deque>
#include ... | 51.253086 | 120 | 0.5934 | ASMfreaK |
cb0e87812c29e18d114f34ceda5f7572dacb5a65 | 8,340 | hh | C++ | library/receiver.hh | driplineorg/dripline-cpp | 4f6490226eefc16a880ae5b342014b590f6115af | [
"Apache-2.0"
] | 1 | 2021-09-06T10:07:55.000Z | 2021-09-06T10:07:55.000Z | library/receiver.hh | driplineorg/dripline-cpp | 4f6490226eefc16a880ae5b342014b590f6115af | [
"Apache-2.0"
] | 56 | 2019-02-22T02:15:42.000Z | 2021-09-10T19:46:35.000Z | library/receiver.hh | driplineorg/dripline-cpp | 4f6490226eefc16a880ae5b342014b590f6115af | [
"Apache-2.0"
] | 1 | 2021-06-28T14:10:39.000Z | 2021-06-28T14:10:39.000Z | /*
* receiver.hh
*
* Created on: Feb 18, 2019
* Author: N.S. Oblath
*/
#ifndef DRIPLINE_RECEIVER_HH_
#define DRIPLINE_RECEIVER_HH_
#include "core.hh"
#include "dripline_api.hh"
#include "dripline_fwd.hh"
#include "cancelable.hh"
#include "concurrent_queue.hh"
#include "member_variables.hh"
#include <atom... | 44.59893 | 140 | 0.690528 | driplineorg |
cb10be03cde553793ad9eae19a30746c4d12d190 | 17,449 | cpp | C++ | main.cpp | julianapsilva/TrabalhoEDII | 05ce7aac3006d17086cd9681f56a3210c59dabc3 | [
"MIT"
] | null | null | null | main.cpp | julianapsilva/TrabalhoEDII | 05ce7aac3006d17086cd9681f56a3210c59dabc3 | [
"MIT"
] | null | null | null | main.cpp | julianapsilva/TrabalhoEDII | 05ce7aac3006d17086cd9681f56a3210c59dabc3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <chrono>
#include <stdio.h>
#include <string.h>
#include <locale.h>
#include "Informacoes.h"
#include "ArvBinBusca.h"
using namespace std;
using namespace std::chrono;
int comparacoes,movimentacoes;
void printDataSet(Informacoes dad... | 25.034433 | 158 | 0.457562 | julianapsilva |
cb120cedc38f4355759e4dcebbfb9aa52367f55b | 777 | hpp | C++ | src/Signature.hpp | JoystreamClassic/joystream-node | 2450382bb937abdd959b460791c25f2d8f127168 | [
"MIT"
] | null | null | null | src/Signature.hpp | JoystreamClassic/joystream-node | 2450382bb937abdd959b460791c25f2d8f127168 | [
"MIT"
] | 9 | 2017-11-14T06:05:50.000Z | 2018-07-08T18:21:17.000Z | src/Signature.hpp | JoystreamClassic/joystream-node | 2450382bb937abdd959b460791c25f2d8f127168 | [
"MIT"
] | 4 | 2017-11-14T06:04:17.000Z | 2018-08-24T07:39:00.000Z | /**
* Copyright (C) JoyStream - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Bedeho Mender <bedeho.mender@gmail.com>, February 3 2017
*/
#ifndef JOYSTREAM_NODE_SIGNATURE_HPP
#define JOYSTREAM_NODE_SIGNATURE_HPP
#include... | 22.2 | 75 | 0.712999 | JoystreamClassic |
cb1210cd891edf2f72f4bbbba0e66b4faf4f15f0 | 4,003 | cpp | C++ | testsrc/expsampletest.cpp | mattheww95/sketch | 2dc43bc1303823cc726c19d2550c1ca450182298 | [
"MIT"
] | 17 | 2017-10-22T22:48:57.000Z | 2018-11-15T12:03:35.000Z | testsrc/expsampletest.cpp | mattheww95/sketch | 2dc43bc1303823cc726c19d2550c1ca450182298 | [
"MIT"
] | null | null | null | testsrc/expsampletest.cpp | mattheww95/sketch | 2dc43bc1303823cc726c19d2550c1ca450182298 | [
"MIT"
] | 1 | 2017-11-29T17:27:28.000Z | 2017-11-29T17:27:28.000Z | #include "sketch/bmh.h"
#include <chrono>
using namespace sketch;
using namespace sketch::wmh;
#if 0
+static inline long double compute_truncexp_lambda(size_t m) {
+ return std::log1p(1.L / (m - size_t(1)));
+}
+static inline std::array<long double, 4> compute_truncexp_constants(size_t m) {
+ const auto lambda ... | 45.488636 | 128 | 0.612041 | mattheww95 |
cb13834be5b1f348dc7ce240855e4a4794b21136 | 1,417 | hpp | C++ | i23dSFM/numeric/lm.hpp | zyxrrr/GraphSfM | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | [
"BSD-3-Clause"
] | null | null | null | i23dSFM/numeric/lm.hpp | zyxrrr/GraphSfM | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | [
"BSD-3-Clause"
] | null | null | null | i23dSFM/numeric/lm.hpp | zyxrrr/GraphSfM | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | [
"BSD-3-Clause"
] | 1 | 2019-02-18T09:49:32.000Z | 2019-02-18T09:49:32.000Z | // Copyright (c) 2012, 2013 Pierre MOULON.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef I23DSFM_NUMERIC_LM_H_
#define I23DSFM_NUMERIC_LM_H_
#include "i2... | 30.804348 | 83 | 0.756528 | zyxrrr |
cb139a26449f7d4734f9d7eeecd4a84cdadf2edb | 626 | cpp | C++ | visitor.cpp | zerhacken/cpp | 8d1ddbd13a0c0b38b2508e3925e07d54da7a2fbd | [
"MIT"
] | null | null | null | visitor.cpp | zerhacken/cpp | 8d1ddbd13a0c0b38b2508e3925e07d54da7a2fbd | [
"MIT"
] | null | null | null | visitor.cpp | zerhacken/cpp | 8d1ddbd13a0c0b38b2508e3925e07d54da7a2fbd | [
"MIT"
] | null | null | null | // cl.exe visitor.cpp /std:c++17
#include <array>
#include <variant>
#include <vector>
struct Visitor {
void operator()(int i) {}
void operator()(float f) {}
};
int main(int argc, char **argv) {
{
const std::array<std::variant<int, float>, 2> vars = {1, 2.0f};
for (auto &v : vars) {
std::visit(Vis... | 16.918919 | 67 | 0.50639 | zerhacken |
0e120954dca85e36bd9c957150b797fb83d93203 | 22,862 | cpp | C++ | tests/unit_tests/sqlite3_map.cpp | Camellia73/cryonote | f1cf0779507226ad8b411321e3e4d9f4122f1d61 | [
"MIT"
] | 5 | 2018-09-11T22:43:45.000Z | 2019-11-23T13:19:48.000Z | tests/unit_tests/sqlite3_map.cpp | Camellia73/cryonote | f1cf0779507226ad8b411321e3e4d9f4122f1d61 | [
"MIT"
] | 2 | 2018-11-23T19:14:36.000Z | 2018-12-08T17:46:45.000Z | tests/unit_tests/sqlite3_map.cpp | Camellia73/cryonote | f1cf0779507226ad8b411321e3e4d9f4122f1d61 | [
"MIT"
] | 4 | 2018-11-26T08:01:33.000Z | 2021-06-16T03:10:29.000Z | // Copyright (c) 2015-2016 The Pebblecoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//#define SQLITE3_MAP_DEBUG
#include "sqlite3/sqlite3_map_impl.h"
#include "sqlite3/sqlite3_map_ser.h"
#include "cryptono... | 27.711515 | 126 | 0.58267 | Camellia73 |
0e18f5c9c84ea534867fb85ea9f06c22790a7261 | 529 | cpp | C++ | Source/AboutDialog.cpp | sithereal/VersionManager | 3af95ab0fc621fab12d4adbecaec0d35fd302aa5 | [
"MIT"
] | 2 | 2017-05-08T14:24:38.000Z | 2017-05-15T13:25:47.000Z | Source/AboutDialog.cpp | sithereal/VersionManager | 3af95ab0fc621fab12d4adbecaec0d35fd302aa5 | [
"MIT"
] | null | null | null | Source/AboutDialog.cpp | sithereal/VersionManager | 3af95ab0fc621fab12d4adbecaec0d35fd302aa5 | [
"MIT"
] | null | null | null | #include "AboutDialog.h"
#include "ui_AboutDialog.h"
#include "version.h"
#include <QSysInfo>
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
ui->label_Title->setText(ui->label_Title->text().arg(Version::MAJOR).arg(Version:... | 27.842105 | 121 | 0.671078 | sithereal |
0e1c80d406fc40cfff6690d6060bb5c5f82d7366 | 15,294 | cpp | C++ | Source/AliveLibAO/AbilityRing.cpp | Leonard2/alive_reversing | c6d85f435e275db1d41e2ec8b4e52454aa932e05 | [
"MIT"
] | null | null | null | Source/AliveLibAO/AbilityRing.cpp | Leonard2/alive_reversing | c6d85f435e275db1d41e2ec8b4e52454aa932e05 | [
"MIT"
] | null | null | null | Source/AliveLibAO/AbilityRing.cpp | Leonard2/alive_reversing | c6d85f435e275db1d41e2ec8b4e52454aa932e05 | [
"MIT"
] | null | null | null | #include "stdafx_ao.h"
#include "Function.hpp"
#include "AbilityRing.hpp"
#include "BaseAliveGameObject.hpp"
#include "ResourceManager.hpp"
#include "Game.hpp"
#include "stdlib.hpp"
#include "Map.hpp"
#include "ScreenManager.hpp"
#include "PsxDisplay.hpp"
#include "Math.hpp"
#include "Abe.hpp"
#include "Sfx.hpp"
#inclu... | 32.819742 | 210 | 0.567608 | Leonard2 |
0e2612f3cd248b2aff1dd726b3397cde100e6b75 | 5,224 | hpp | C++ | tests/GSSWTests.hpp | srynobio/graphite | e37aa8803ea15f0473ab368b4bae3e3347451229 | [
"MIT"
] | 27 | 2015-09-17T08:35:51.000Z | 2021-04-07T02:37:37.000Z | tests/GSSWTests.hpp | srynobio/graphite | e37aa8803ea15f0473ab368b4bae3e3347451229 | [
"MIT"
] | 6 | 2015-12-30T21:43:56.000Z | 2018-12-13T22:52:29.000Z | tests/GSSWTests.hpp | srynobio/graphite | e37aa8803ea15f0473ab368b4bae3e3347451229 | [
"MIT"
] | 7 | 2015-12-30T21:33:49.000Z | 2019-11-25T10:16:01.000Z | #ifndef GRAPHITE_GSSWTESTS_HPP
#define GRAPHITE_GSSWTESTS_HPP
#include "TestClasses.hpp"
#include "gssw.h"
#include "core/region/Region.h"
#include "core/reference/FastaReference.h"
#include "core/reference/Reference.h"
#include "core/graph/GSSWGraph.h"
#include <functional>
static uint32_t test_match = 1;
static u... | 27.640212 | 176 | 0.680322 | srynobio |
0e27d168d63b0bd11afd30a3c9ecd34bdd63881f | 1,206 | cpp | C++ | Svc/Deframer/test/ut/TestMain.cpp | shubham-shahh/fprime | 15c243e9b816c9883e0996603ac5270e98c7d7d8 | [
"Apache-2.0"
] | 9,182 | 2017-07-06T15:51:35.000Z | 2022-03-30T11:20:33.000Z | Svc/Deframer/test/ut/TestMain.cpp | shubham-shahh/fprime | 15c243e9b816c9883e0996603ac5270e98c7d7d8 | [
"Apache-2.0"
] | 719 | 2017-07-14T17:56:01.000Z | 2022-03-31T02:41:35.000Z | Svc/Deframer/test/ut/TestMain.cpp | shubham-shahh/fprime | 15c243e9b816c9883e0996603ac5270e98c7d7d8 | [
"Apache-2.0"
] | 1,216 | 2017-07-12T15:41:08.000Z | 2022-03-31T21:44:37.000Z | // ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "Tester.hpp"
#include <Svc/FramingProtocol/DeframingProtocol.hpp>
TEST(Deframer, TestMoreNeeded) {
Svc::Tester tester;
tester.test_incomi... | 29.414634 | 83 | 0.657546 | shubham-shahh |
0e2a5bcf37696250a7e6d644aa9b56574b2fe467 | 9,069 | hpp | C++ | Engine/Runtime/include/bf/core/bifrost_engine.hpp | BluFedora/BluFedoraEngine | 41d0948f6a3a41c38fcc9217fe68105e6f1f9c5f | [
"MIT"
] | null | null | null | Engine/Runtime/include/bf/core/bifrost_engine.hpp | BluFedora/BluFedoraEngine | 41d0948f6a3a41c38fcc9217fe68105e6f1f9c5f | [
"MIT"
] | null | null | null | Engine/Runtime/include/bf/core/bifrost_engine.hpp | BluFedora/BluFedoraEngine | 41d0948f6a3a41c38fcc9217fe68105e6f1f9c5f | [
"MIT"
] | null | null | null | #ifndef BF_ENGINE_HPP
#define BF_ENGINE_HPP
#include "bf/asset_io/bifrost_assets.hpp"
#include "bf/asset_io/bifrost_scene.hpp"
#include "bf/bf_dbg_logger.h" // bfLog*
#include "bf/ecs/bifrost_behavior_system.hpp"
#include "bf/ecs/bifrost_iecs_system.hpp"
#include "bf/gfx/bf_render_queue.hpp"
#include "bf/graphics/bif... | 28.790476 | 128 | 0.648032 | BluFedora |
0e32b137c1721003ab480f53006033ccd68ba377 | 6,656 | ipp | C++ | include/stats_incl/dens/dweibull.ipp | davidnsw/sss | 8ca2e4c28027e62ca1238724dc2912d2205e16b6 | [
"Apache-2.0"
] | null | null | null | include/stats_incl/dens/dweibull.ipp | davidnsw/sss | 8ca2e4c28027e62ca1238724dc2912d2205e16b6 | [
"Apache-2.0"
] | null | null | null | include/stats_incl/dens/dweibull.ipp | davidnsw/sss | 8ca2e4c28027e62ca1238724dc2912d2205e16b6 | [
"Apache-2.0"
] | null | null | null | /*################################################################################
##
## Copyright (C) 2011-2020 Keith O'Hara
##
## This file is part of the StatsLib C++ library.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance... | 29.451327 | 120 | 0.690655 | davidnsw |
0e3334e46f6ac3757aa5645fb21690a798e2ecc9 | 4,333 | cc | C++ | src/tests/system_model_base_test.cc | jwidauer/refill | 64947e0a8e15855f4a5ad048f09f8d38715bbe91 | [
"MIT"
] | 2 | 2021-06-13T07:28:51.000Z | 2021-09-08T11:26:34.000Z | src/tests/system_model_base_test.cc | jwidauer/refill | 64947e0a8e15855f4a5ad048f09f8d38715bbe91 | [
"MIT"
] | null | null | null | src/tests/system_model_base_test.cc | jwidauer/refill | 64947e0a8e15855f4a5ad048f09f8d38715bbe91 | [
"MIT"
] | 3 | 2021-06-01T13:21:41.000Z | 2021-06-01T20:33:20.000Z | #include "refill/system_models/system_model_base.h"
#include <gtest/gtest.h>
#include <Eigen/Dense>
#include "refill/distributions/gaussian_distribution.h"
namespace refill {
class SystemModelMockClass : public SystemModelBase {
public:
SystemModelMockClass(const size_t& state_dim,
const ... | 38.345133 | 76 | 0.687284 | jwidauer |
0e333e79f818645d3004feabea930f38f93d9bf6 | 3,159 | cpp | C++ | vk_initlib.cpp | nvpro-samples/gl_vk_meshlet_cadscene | 7e68c7d68ac3e292eb561a5f64360ff55bae6ffe | [
"Apache-2.0"
] | 181 | 2018-11-20T13:45:13.000Z | 2022-03-12T20:39:02.000Z | vk_initlib.cpp | nvpro-samples/gl_vk_meshlet_cadscene | 7e68c7d68ac3e292eb561a5f64360ff55bae6ffe | [
"Apache-2.0"
] | 8 | 2018-11-20T11:04:37.000Z | 2022-02-23T10:10:50.000Z | vk_initlib.cpp | nvpro-samples/gl_vk_meshlet_cadscene | 7e68c7d68ac3e292eb561a5f64360ff55bae6ffe | [
"Apache-2.0"
] | 16 | 2018-11-30T12:33:06.000Z | 2022-03-24T16:27:30.000Z | /*
* Copyright (c) 2014-2021, NVIDIA 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.0
*
* Unless ... | 25.682927 | 97 | 0.729978 | nvpro-samples |
0e33b224f0a6d12d70bda204f047b83d64373e38 | 7,290 | cc | C++ | google/cloud/storage/internal/default_object_acl_requests_test.cc | orinem/google-cloud-cpp | c43f73e9abeb2b9d8a6e99f7d9750cba37f2f6b1 | [
"Apache-2.0"
] | null | null | null | google/cloud/storage/internal/default_object_acl_requests_test.cc | orinem/google-cloud-cpp | c43f73e9abeb2b9d8a6e99f7d9750cba37f2f6b1 | [
"Apache-2.0"
] | null | null | null | google/cloud/storage/internal/default_object_acl_requests_test.cc | orinem/google-cloud-cpp | c43f73e9abeb2b9d8a6e99f7d9750cba37f2f6b1 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | 34.714286 | 80 | 0.703292 | orinem |
0e363828c5a69442865a8521e03d9f61b4057f1b | 10,396 | cpp | C++ | source/msynth/msynth/ui/arrange/MSequencerControlWnd.cpp | MRoc/MSynth | 3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829 | [
"MIT"
] | 1 | 2022-01-30T07:40:31.000Z | 2022-01-30T07:40:31.000Z | source/msynth/msynth/ui/arrange/MSequencerControlWnd.cpp | MRoc/MSynth | 3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829 | [
"MIT"
] | null | null | null | source/msynth/msynth/ui/arrange/MSequencerControlWnd.cpp | MRoc/MSynth | 3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829 | [
"MIT"
] | null | null | null | /**
* (C)2001-2003 MRoc
*/
#include "MSequencerControlWnd.h"
#include <framework/resource/text/MTextResource.h>
#include <gui/dialog/MFileDialog.h>
#include <gui/dialog/MMessageBox.h>
#include <gui/MGUIUtils.h>
INIT_RTTI( MSequencerControlWnd, "MSequencerControlWnd" );
INIT_RTTI( MSequencerControlWnd::... | 29.284507 | 109 | 0.711427 | MRoc |
0e36dca32c9096dc8c719f8e6fb575bf3f5a247f | 4,131 | hpp | C++ | solid/frame/mprpc/test/test_clientserver_versioning_v3.hpp | vipalade/solidframe | cff130652127ca9607019b4db508bc67f8bbecff | [
"BSL-1.0"
] | 26 | 2015-08-25T16:07:58.000Z | 2019-07-05T15:21:22.000Z | solid/frame/mprpc/test/test_clientserver_versioning_v3.hpp | vipalade/solidframe | cff130652127ca9607019b4db508bc67f8bbecff | [
"BSL-1.0"
] | 5 | 2016-10-15T22:55:15.000Z | 2017-09-19T12:41:10.000Z | solid/frame/mprpc/test/test_clientserver_versioning_v3.hpp | vipalade/solidframe | cff130652127ca9607019b4db508bc67f8bbecff | [
"BSL-1.0"
] | 5 | 2016-09-15T10:34:52.000Z | 2018-10-30T11:46:46.000Z | #pragma once
#include "solid/frame/mprpc/mprpcprotocol_serialization_v3.hpp"
#include "solid/system/cassert.hpp"
#include <deque>
#include <string>
#include <vector>
namespace versioning {
namespace v3 {
struct Version {
static constexpr uint32_t version = 2;
static constexpr uint32_t init_request = 1... | 27.357616 | 191 | 0.600581 | vipalade |
0e370942ecbf15c4f2b779497ed156769f0d0a0d | 543 | cpp | C++ | src/filesystem/SdCard.cpp | JSydll/pio-esp32-modules | fe03ddd11e9b02396060ce0ed6369adfca76786e | [
"MIT"
] | null | null | null | src/filesystem/SdCard.cpp | JSydll/pio-esp32-modules | fe03ddd11e9b02396060ce0ed6369adfca76786e | [
"MIT"
] | null | null | null | src/filesystem/SdCard.cpp | JSydll/pio-esp32-modules | fe03ddd11e9b02396060ce0ed6369adfca76786e | [
"MIT"
] | null | null | null | #include "esp32-modules/filesystem/SdCard.hpp"
namespace Esp32Modules::Filesystem
{
SdCard::SdCard() { mCardType = (SD.begin() ? SD.cardType() : CARD_UNKNOWN); }
SdCard::~SdCard() { SD.end(); }
bool SdCard::IsAvailable() const { return (mCardType != CARD_NONE and mCardType != CARD_UNKNOWN); }
fs::FS& SdCard::GetFil... | 31.941176 | 99 | 0.709024 | JSydll |
0e370fa7113b5b14df04c6277cb6cc8cbf15d852 | 5,141 | cxx | C++ | ParaViewCore/VTKExtensions/Default/vtkPVGridAxes3DActor.cxx | vbnhfylbh/ParaViewRUS | e65ea0edc5d23e593afecd623cbd047282f4c834 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2019-04-22T09:09:18.000Z | 2019-04-22T09:09:18.000Z | ParaViewCore/VTKExtensions/Default/vtkPVGridAxes3DActor.cxx | vbnhfylbh/ParaViewRUS | e65ea0edc5d23e593afecd623cbd047282f4c834 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ParaViewCore/VTKExtensions/Default/vtkPVGridAxes3DActor.cxx | vbnhfylbh/ParaViewRUS | e65ea0edc5d23e593afecd623cbd047282f4c834 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-06-23T09:05:08.000Z | 2020-06-23T09:05:08.000Z | /*=========================================================================
Program: ParaView
Module: vtkPVGridAxes3DActor.cxx
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WA... | 32.745223 | 95 | 0.556117 | vbnhfylbh |
0e37758b4149186a876ee7657be348de3e07568d | 3,288 | cc | C++ | operators/math/segment_sum.cc | vvchernov/onnxruntime-extensions | cc858e831b719d31e4f34ee9adb391105b4ce26b | [
"MIT"
] | 59 | 2021-04-29T07:39:42.000Z | 2022-03-29T21:12:05.000Z | operators/math/segment_sum.cc | vvchernov/onnxruntime-extensions | cc858e831b719d31e4f34ee9adb391105b4ce26b | [
"MIT"
] | 45 | 2021-05-12T08:32:58.000Z | 2022-03-29T21:11:59.000Z | operators/math/segment_sum.cc | vvchernov/onnxruntime-extensions | cc858e831b719d31e4f34ee9adb391105b4ce26b | [
"MIT"
] | 18 | 2021-05-10T10:15:46.000Z | 2022-03-22T10:46:36.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "segment_sum.hpp"
template <typename T>
void KernelSegmentSum_Compute(Ort::CustomOpApi& ort_, OrtKernelContext* context) {
// Setup inputs
const OrtValue* data = ort_.KernelContext_GetInput(context, 0);
cons... | 35.73913 | 108 | 0.697384 | vvchernov |
0e377b45f9c935d62f9b96f07ff960e66cfc6fc8 | 7,311 | cpp | C++ | Kraevskiy/04 - B Tree/main.cpp | soomrack/MR2020 | 2de7289665dcdac4a436eb512f283780aa78cb76 | [
"MIT"
] | 4 | 2020-09-22T12:04:07.000Z | 2020-10-03T22:28:00.000Z | Kraevskiy/04 - B Tree/main.cpp | soomrack/MR2020 | 2de7289665dcdac4a436eb512f283780aa78cb76 | [
"MIT"
] | null | null | null | Kraevskiy/04 - B Tree/main.cpp | soomrack/MR2020 | 2de7289665dcdac4a436eb512f283780aa78cb76 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
const int tree_rank = 2;
class BNode
{
public:
int keys[(2 * tree_rank - 1)];
BNode *children[(2 * tree_rank)];
int count;
bool leaf;
BNode(int key);
};
BNode::BNode(int key)
{
this->keys[0] = key;
for (int i = 1; i < (2 * tree_rank - 1); i++)
... | 23.508039 | 104 | 0.48133 | soomrack |
0e38310269edfac36e8fbfd21d57dd836f8dd2f3 | 11,900 | cpp | C++ | xfemm-code-310/mfemm/pfemm/libfemm/liblua/lapi.cpp | Bacchustaf/SyRe_MSc | 078df81c8d13c873b15c92684167f4503bd766df | [
"Apache-2.0"
] | null | null | null | xfemm-code-310/mfemm/pfemm/libfemm/liblua/lapi.cpp | Bacchustaf/SyRe_MSc | 078df81c8d13c873b15c92684167f4503bd766df | [
"Apache-2.0"
] | null | null | null | xfemm-code-310/mfemm/pfemm/libfemm/liblua/lapi.cpp | Bacchustaf/SyRe_MSc | 078df81c8d13c873b15c92684167f4503bd766df | [
"Apache-2.0"
] | null | null | null | /*
** $Id: lapi.c,v 1.110 2000/10/30 12:50:09 roberto Exp $
** Lua API
** See Copyright Notice in lua.h
*/
#include <string.h>
#include "lua.h"
#include "lapi.h"
#include "ldo.h"
#include "lfunc.h"
#include "lgc.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
#... | 20.623917 | 79 | 0.585378 | Bacchustaf |
0e3bbdadffc72e9a0401b32665531fdc98eb410d | 2,890 | cpp | C++ | src/core/camera.cpp | andrerogers/Enjin | ba9fd8be66b5dcac312d6887edb1ba12d3d3e48c | [
"MIT"
] | null | null | null | src/core/camera.cpp | andrerogers/Enjin | ba9fd8be66b5dcac312d6887edb1ba12d3d3e48c | [
"MIT"
] | null | null | null | src/core/camera.cpp | andrerogers/Enjin | ba9fd8be66b5dcac312d6887edb1ba12d3d3e48c | [
"MIT"
] | null | null | null | #include "camera.h"
Camera::Camera() {}
Camera::Camera(const GLfloat& width, const GLfloat& height)
{
m_position = vec3(0.0f, 0.0f, 3.0f);
m_up = vec3(0.0f, 1.0f, 0.0f);
m_fowardDirection = vec3(0.0f, 0.0f, -1.0f);
m_right = glm::normalize(glm::cross(m_fowardDirection, m_up));
m_yaw = -90.0f;
m_pitch = 0.0f;
... | 26.036036 | 96 | 0.715225 | andrerogers |
0e3bc71fcbb1d9836a6c9e704c7a5f1d88c19aed | 4,130 | cpp | C++ | src/utility/MPU6886_Class.cpp | mayopan/M5Unified | d5473378016c98e3932a83fcfbb54e644c4aab7a | [
"MIT"
] | 38 | 2021-10-10T14:37:44.000Z | 2022-03-20T10:45:41.000Z | src/utility/MPU6886_Class.cpp | mayopan/M5Unified | d5473378016c98e3932a83fcfbb54e644c4aab7a | [
"MIT"
] | 15 | 2021-11-01T05:52:07.000Z | 2022-03-05T23:02:34.000Z | src/utility/MPU6886_Class.cpp | mayopan/M5Unified | d5473378016c98e3932a83fcfbb54e644c4aab7a | [
"MIT"
] | 9 | 2021-10-10T15:53:05.000Z | 2022-03-06T16:24:19.000Z | // Copyright (c) M5Stack. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "MPU6886_Class.hpp"
#include <esp_log.h>
namespace m5
{
bool MPU6886_Class::begin(I2C_Class* i2c)
{
if (i2c)
{
_i2c = i2c;
}
// WHO... | 25.974843 | 101 | 0.573608 | mayopan |
0e3ee2035ffedafed2530c06947b1af8d5ac844d | 1,978 | cxx | C++ | vtkm/cont/serial/internal/DeviceAdapterAlgorithmSerial.cxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | 14 | 2019-10-25T03:25:47.000Z | 2022-01-19T02:14:53.000Z | vtkm/cont/serial/internal/DeviceAdapterAlgorithmSerial.cxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | 2 | 2020-11-18T16:50:34.000Z | 2022-01-21T13:31:47.000Z | vtkm/cont/serial/internal/DeviceAdapterAlgorithmSerial.cxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | 5 | 2020-10-02T10:14:35.000Z | 2022-03-10T07:50:22.000Z | //============================================================================
// Copyright (c) Kitware, Inc.
// 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
// PURP... | 27.472222 | 83 | 0.646613 | yisyuanliou |
0e3f310db56cd1b175b9e399597ef70fd695b085 | 599 | cpp | C++ | leetcode/1408. String Matching in an Array/s1.cpp | zhuohuwu0603/leetcode_cpp_lzl124631x | 6a579328810ef4651de00fde0505934d3028d9c7 | [
"Fair"
] | 787 | 2017-05-12T05:19:57.000Z | 2022-03-30T12:19:52.000Z | leetcode/1408. String Matching in an Array/s1.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 8 | 2020-03-16T05:55:38.000Z | 2022-03-09T17:19:17.000Z | leetcode/1408. String Matching in an Array/s1.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 247 | 2017-04-30T15:07:50.000Z | 2022-03-30T09:58:57.000Z | // OJ: https://leetcode.com/problems/string-matching-in-an-array/
// Author: github.com/lzl124631x
// Time: O(N^2 * D)
// Space: O(1)
class Solution {
public:
vector<string> stringMatching(vector<string>& words) {
vector<string> ans;
int N = words.size();
for (int i = 0; i < N; ++i) {
... | 28.52381 | 65 | 0.45576 | zhuohuwu0603 |
0e41b6c78ea300b101d8f668d54772ba6797cfe6 | 643 | cpp | C++ | 1SST/5LW/5task_2.cpp | AVAtarMod/University | 3c784a1e109b7a6f6ea495278ec3dc126258625a | [
"BSD-3-Clause"
] | 1 | 2021-07-31T06:55:08.000Z | 2021-07-31T06:55:08.000Z | 1SST/5LW/5task_2.cpp | AVAtarMod/University-C | e516aac99eabbcbe14d897239f08acf6c8e146af | [
"BSD-3-Clause"
] | 1 | 2020-11-25T12:00:11.000Z | 2021-01-13T08:51:52.000Z | 1SST/5LW/5task_2.cpp | AVAtarMod/University-C | e516aac99eabbcbe14d897239f08acf6c8e146af | [
"BSD-3-Clause"
] | null | null | null | // Определить количество трехзначных чисел, сумма цифр которых равно заданному
// числу N.
#include <iostream>
#include <math.h>
int main(){
int n,sum,number = 100,counter = 0;
printf("Введите число: ");
scanf("%d",&n);
for (;number < 1000;number++)
{
int hundred = number / 100;
... | 23.814815 | 78 | 0.541213 | AVAtarMod |
0e441c25e4deded7677710ad5a630701dcaa2fb7 | 9,940 | cpp | C++ | nbt.cpp | wmbr/McMap | a48395597b6a9cddc0383142e0e6d9a5bf0d1144 | [
"BSD-2-Clause"
] | null | null | null | nbt.cpp | wmbr/McMap | a48395597b6a9cddc0383142e0e6d9a5bf0d1144 | [
"BSD-2-Clause"
] | null | null | null | nbt.cpp | wmbr/McMap | a48395597b6a9cddc0383142e0e6d9a5bf0d1144 | [
"BSD-2-Clause"
] | null | null | null | /***
* Tiny OO NBT parser for C++
* v1.0, 09-2010 by Zahl
* modified by Philipp
*/
#include <iostream>
#include <limits>
#include "nbt.h"
#include "helper.h"
// For MSVC++, get "zlib compiled DLL" from http://www.zlib.net/ and read USAGE.txt
// gcc from MinGW works with the static library of zlib; however, trying
... | 25.818182 | 102 | 0.66499 | wmbr |
0e44f73aa876cd776ab1b264abac16f9d5d39811 | 18,169 | cpp | C++ | src/irr/asset/CPLYMeshWriter.cpp | khom-khun/IrrlichtBAW | 59341e53ad27f2ab8cb0c3e790bccad41236e506 | [
"Apache-2.0"
] | null | null | null | src/irr/asset/CPLYMeshWriter.cpp | khom-khun/IrrlichtBAW | 59341e53ad27f2ab8cb0c3e790bccad41236e506 | [
"Apache-2.0"
] | null | null | null | src/irr/asset/CPLYMeshWriter.cpp | khom-khun/IrrlichtBAW | 59341e53ad27f2ab8cb0c3e790bccad41236e506 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2008-2012 Christian Stehno
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "IrrCompileConfig.h"
//#ifdef _IRR_COMPILE_WITH_PLY_WRITER_
#include "CPLYMeshWriter.h"
#include "os.h"
#include "irr/asset/IMesh.h"
#inclu... | 32.444643 | 224 | 0.620287 | khom-khun |
0e4620e3c624b00c6c22be73ce817492851ae4ac | 10,306 | cc | C++ | src/GameWorld.cc | markgosling/3D_Platformer | 8a56960fc1c562c80a8b5ec221b776cff812020b | [
"BSD-2-Clause"
] | null | null | null | src/GameWorld.cc | markgosling/3D_Platformer | 8a56960fc1c562c80a8b5ec221b776cff812020b | [
"BSD-2-Clause"
] | null | null | null | src/GameWorld.cc | markgosling/3D_Platformer | 8a56960fc1c562c80a8b5ec221b776cff812020b | [
"BSD-2-Clause"
] | null | null | null | #include "GameWorld.h"
#include "PythonBindings.h"
#include <string>
/**
* @file GameWorld.cc
* @version 1.1
*
* @section Description
*
* GameWorld separates the 'main' class from the 'GameAssetManager' class and acts
* as a 'go-between' for them. The constructor is also used to create an instance
... | 43.485232 | 171 | 0.662236 | markgosling |
0e465a9b562fbe0ec936651a6faa79be9058d39b | 5,770 | cpp | C++ | BranchSDK/src/BranchIO/Util/WindowsStorage.cpp | dalamber/cpp-branch-deep-linking-attribution | c83ee982b373974f869152b5469fcbde963ee55b | [
"MIT"
] | 6 | 2019-10-28T22:11:08.000Z | 2022-02-17T02:32:38.000Z | BranchSDK/src/BranchIO/Util/WindowsStorage.cpp | dalamber/cpp-branch-deep-linking-attribution | c83ee982b373974f869152b5469fcbde963ee55b | [
"MIT"
] | 20 | 2019-09-11T17:34:23.000Z | 2022-02-11T17:57:06.000Z | BranchSDK/src/BranchIO/Util/WindowsStorage.cpp | dalamber/cpp-branch-deep-linking-attribution | c83ee982b373974f869152b5469fcbde963ee55b | [
"MIT"
] | 2 | 2019-08-29T09:13:17.000Z | 2021-07-06T08:08:02.000Z | // Copyright (c) 2019-21 Branch Metrics, Inc.
#include <Poco/Util/WinRegistryKey.h>
#include <cassert>
#include <vector>
#include "BranchIO/Util/WindowsStorage.h"
using namespace std;
using namespace Poco;
using namespace Poco::Util;
namespace BranchIO {
IStorage&
WindowsStorage::instance() {
static WindowsSt... | 25.644444 | 118 | 0.682842 | dalamber |
0e47ed2250a12b62ab0e440f635abbd6f53277ca | 12,062 | cpp | C++ | src/MultiColoring.cpp | YvanMokwinski/rocHPCG | bd155f68bcc3c10adf93c3b80bc4a15034ad2c84 | [
"BSD-3-Clause"
] | 6 | 2019-08-20T15:48:11.000Z | 2022-03-08T21:10:57.000Z | src/MultiColoring.cpp | YvanMokwinski/rocHPCG | bd155f68bcc3c10adf93c3b80bc4a15034ad2c84 | [
"BSD-3-Clause"
] | 10 | 2020-07-29T12:07:47.000Z | 2022-03-31T00:57:43.000Z | src/MultiColoring.cpp | YvanMokwinski/rocHPCG | bd155f68bcc3c10adf93c3b80bc4a15034ad2c84 | [
"BSD-3-Clause"
] | 8 | 2019-08-20T17:16:19.000Z | 2021-11-03T15:28:26.000Z | /* ************************************************************************
* Copyright (c) 2019-2021 Advanced Micro Devices, Inc.
*
* 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 c... | 34.073446 | 118 | 0.569806 | YvanMokwinski |
0e4b3144d9efc193614e6e149a21d6f5c89fa05f | 2,811 | cpp | C++ | src/towns/townsdef/util_makeIOLabel.cpp | Artanejp/TOWNSEMU | 72ccc5588314de210cd8b77fe7f42b92ed79bed9 | [
"BSD-3-Clause"
] | null | null | null | src/towns/townsdef/util_makeIOLabel.cpp | Artanejp/TOWNSEMU | 72ccc5588314de210cd8b77fe7f42b92ed79bed9 | [
"BSD-3-Clause"
] | null | null | null | src/towns/townsdef/util_makeIOLabel.cpp | Artanejp/TOWNSEMU | 72ccc5588314de210cd8b77fe7f42b92ed79bed9 | [
"BSD-3-Clause"
] | null | null | null | /* LICENSE>>
Copyright 2020 Soji Yamakawa (CaptainYS, http://www.ysflight.com)
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 condition... | 31.58427 | 755 | 0.688367 | Artanejp |
0e4fc4ef05509c38ee4fbf005c2847b41e5ba67f | 16,149 | cpp | C++ | src/script/lua_api/l_item.cpp | crazyBaboon/MathWorlds | dd35e88e207a26be8632999ad09eeef81820343d | [
"CC-BY-4.0"
] | 1 | 2018-03-01T13:03:01.000Z | 2018-03-01T13:03:01.000Z | src/script/lua_api/l_item.cpp | crazyBaboon/MathWorlds | dd35e88e207a26be8632999ad09eeef81820343d | [
"CC-BY-4.0"
] | null | null | null | src/script/lua_api/l_item.cpp | crazyBaboon/MathWorlds | dd35e88e207a26be8632999ad09eeef81820343d | [
"CC-BY-4.0"
] | null | null | null | /*
Minetest
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later ve... | 25.674086 | 84 | 0.723141 | crazyBaboon |
0e55eb242a5f73bac83f198f37229219bd839112 | 6,731 | cpp | C++ | src/elona/ui/ui_menu_mods.cpp | nagoring/elonafoobar | a410349f9c0c55810dbd28365439674d7993121f | [
"MIT"
] | null | null | null | src/elona/ui/ui_menu_mods.cpp | nagoring/elonafoobar | a410349f9c0c55810dbd28365439674d7993121f | [
"MIT"
] | null | null | null | src/elona/ui/ui_menu_mods.cpp | nagoring/elonafoobar | a410349f9c0c55810dbd28365439674d7993121f | [
"MIT"
] | 1 | 2020-02-24T18:52:19.000Z | 2020-02-24T18:52:19.000Z | #include "ui_menu_mods.hpp"
#include "../../util/fileutil.hpp"
#include "../../util/strutil.hpp"
#include "../audio.hpp"
#include "../draw.hpp"
#include "../i18n.hpp"
#include "../lua_env/mod_manager.hpp"
#include "simple_prompt.hpp"
#include "ui_menu_mod_info.hpp"
namespace elona
{
namespace ui
{
bool UIMenuMods:... | 19.973294 | 80 | 0.510474 | nagoring |
0e5faf1171e157b0f150b620ce3649912b575169 | 432 | cpp | C++ | FANCY.cpp | Akki5/spoj-solutions | 9169830415eb4f888ba0300eb47a423166b8d938 | [
"MIT"
] | 1 | 2019-05-23T20:03:40.000Z | 2019-05-23T20:03:40.000Z | FANCY.cpp | Akki5/spoj-solutions | 9169830415eb4f888ba0300eb47a423166b8d938 | [
"MIT"
] | null | null | null | FANCY.cpp | Akki5/spoj-solutions | 9169830415eb4f888ba0300eb47a423166b8d938 | [
"MIT"
] | 1 | 2021-08-28T16:48:42.000Z | 2021-08-28T16:48:42.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
int main() {
int t,n,ans;
char s[31];
int *A=new int[30];
A[0]=1;
for(int i=1;i<30;i++) A[i]=A[i-1]*2;
scanf("%d",&t);
while(t--)
{
scanf("%s",s);
n=strlen(s);
int count=0;
ans=1;
for(int i=1;i<n;i++)
{
if(s[i]==s[i-1]... | 13.090909 | 37 | 0.502315 | Akki5 |
0e613d4b5629b51c5cc02e9d8fee7a5e32c91f64 | 6,671 | cp | C++ | MacOS/Sources/Application/Preferences_Dialog/Extras/CEditMappingsTable.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | MacOS/Sources/Application/Preferences_Dialog/Extras/CEditMappingsTable.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | MacOS/Sources/Application/Preferences_Dialog/Extras/CEditMappingsTable.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. 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 re... | 22.924399 | 101 | 0.713686 | mulberry-mail |
0e61b362807d95c4dcc5b223152685fca11e8515 | 19,996 | cpp | C++ | libraries/render-utils/src/DebugDeferredBuffer.cpp | GregKabza/hifi | 8f027949f045b9b53bd7660eebcee7ad8267958c | [
"Apache-2.0"
] | null | null | null | libraries/render-utils/src/DebugDeferredBuffer.cpp | GregKabza/hifi | 8f027949f045b9b53bd7660eebcee7ad8267958c | [
"Apache-2.0"
] | null | null | null | libraries/render-utils/src/DebugDeferredBuffer.cpp | GregKabza/hifi | 8f027949f045b9b53bd7660eebcee7ad8267958c | [
"Apache-2.0"
] | null | null | null | //
// DebugDeferredBuffer.cpp
// libraries/render-utils/src
//
// Created by Clement on 12/3/15.
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "DebugDeferredBuffer.... | 40.314516 | 128 | 0.667383 | GregKabza |
0e62efc0bc2f1bc1b6b537847b378a6aac84ac39 | 7,740 | cpp | C++ | openstudiocore/src/model/test/ScheduleRule_GTest.cpp | ORNL-BTRIC/OpenStudio | 878f94bebf6f025445d1373e8b2304ececac16d8 | [
"blessing"
] | null | null | null | openstudiocore/src/model/test/ScheduleRule_GTest.cpp | ORNL-BTRIC/OpenStudio | 878f94bebf6f025445d1373e8b2304ececac16d8 | [
"blessing"
] | null | null | null | openstudiocore/src/model/test/ScheduleRule_GTest.cpp | ORNL-BTRIC/OpenStudio | 878f94bebf6f025445d1373e8b2304ececac16d8 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2014, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 28.773234 | 84 | 0.666667 | ORNL-BTRIC |
0e633bb3655f5f2d438a1b4fa08504e8844f3169 | 4,201 | hpp | C++ | bark/commons/params/params.hpp | BastianHofmann/bark | fd4f4cd2b2a8292c383a11970fb3cab926191c55 | [
"MIT"
] | null | null | null | bark/commons/params/params.hpp | BastianHofmann/bark | fd4f4cd2b2a8292c383a11970fb3cab926191c55 | [
"MIT"
] | null | null | null | bark/commons/params/params.hpp | BastianHofmann/bark | fd4f4cd2b2a8292c383a11970fb3cab926191c55 | [
"MIT"
] | null | null | null | // Copyright (c) 2020 fortiss GmbH
//
// Authors: Julian Bernhard, Klemens Esterle, Patrick Hart and
// Tobias Kessler
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#ifndef BARK_COMMONS_PARAMS_PARAMS_HPP_
#define BARK_COMMONS_PARAMS_PARAMS_HPP... | 37.176991 | 80 | 0.65532 | BastianHofmann |
0e6861dbe9331274ce9db86e9ad6a27d200a53ee | 10,999 | cpp | C++ | Engine/Source/Sapphire/Rendering/Vulkan/Buffers/VkImageBuffer.cpp | SapphireSuite/Sapphire | f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47 | [
"MIT"
] | 2 | 2020-03-18T09:06:21.000Z | 2020-04-09T00:07:56.000Z | Engine/Source/Sapphire/Rendering/Vulkan/Buffers/VkImageBuffer.cpp | SapphireSuite/Sapphire | f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47 | [
"MIT"
] | null | null | null | Engine/Source/Sapphire/Rendering/Vulkan/Buffers/VkImageBuffer.cpp | SapphireSuite/Sapphire | f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47 | [
"MIT"
] | null | null | null | // Copyright 2020 Sapphire development team. All Rights Reserved.
#include <Rendering/Vulkan/Buffers/VkImageBuffer.hpp>
#include <Core/Algorithms/SizeOf.hpp>
#include <Rendering/Vulkan/System/VkMacro.hpp>
#include <Rendering/Vulkan/System/Device/VkDevice.hpp>
#include <Rendering/Vulkan/Buffers/VkBuffer.hpp>
namesp... | 32.445428 | 154 | 0.746795 | SapphireSuite |
0e698e30cce79acf6b316711d0eecae905eb9eb3 | 649 | cpp | C++ | Game/Xerces/Projects/Win32/BCB6/Xerces-all/DOMPrint/DOMPrint.cpp | hackerlank/SourceCode | b702c9e0a9ca5d86933f3c827abb02a18ffc9a59 | [
"MIT"
] | 4 | 2021-07-31T13:56:01.000Z | 2021-11-13T02:55:10.000Z | Game/Xerces/Projects/Win32/BCB6/Xerces-all/DOMPrint/DOMPrint.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | null | null | null | Game/Xerces/Projects/Win32/BCB6/Xerces-all/DOMPrint/DOMPrint.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | 7 | 2021-08-31T14:34:23.000Z | 2022-01-19T08:25:58.000Z |
#pragma hdrstop
#include <condefs.h>
//---------------------------------------------------------------------------
USELIB("..\..\..\..\..\Build\Win32\BCB6\XercesLib.lib");
USEUNIT("..\..\..\..\..\samples\DOMPrint\DOMTreeErrorReporter.cpp");
USEUNIT("..\..\..\..\..\samples\DOMPrint\DOMPrintFilter.cpp");
USEUNIT("..\..... | 28.217391 | 77 | 0.506934 | hackerlank |
0e6a877a28adf0919d7d49b577c308610f7341cf | 877 | cpp | C++ | escort/src/html/HTMLProgressElementImp.cpp | rvedam/es-operating-system | 32d3e4791c28a5623744800f108d029c40c745fc | [
"Apache-2.0"
] | 2 | 2020-11-30T18:38:20.000Z | 2021-06-07T07:44:03.000Z | escort/src/html/HTMLProgressElementImp.cpp | LambdaLord/es-operating-system | 32d3e4791c28a5623744800f108d029c40c745fc | [
"Apache-2.0"
] | 1 | 2019-01-14T03:09:45.000Z | 2019-01-14T03:09:45.000Z | escort/src/html/HTMLProgressElementImp.cpp | LambdaLord/es-operating-system | 32d3e4791c28a5623744800f108d029c40c745fc | [
"Apache-2.0"
] | null | null | null | // Generated by esidl 0.2.1.
// This file is expected to be modified for the Web IDL interface
// implementation. Permission to use, copy, modify and distribute
// this file in any software license is hereby granted.
#include "HTMLProgressElementImp.h"
namespace org
{
namespace w3c
{
namespace dom
{
namespace bootst... | 15.945455 | 66 | 0.704675 | rvedam |
0e6b2753de5c8554cfe0b9b22caaa750f837fcb7 | 22,438 | cpp | C++ | mob_manipulator_controller/src/osc_controller/OSC_Controller.cpp | jmfajardod/osf_wbc_bsc_thesis | ff6abdba73ed1822e8d03e7d8f5919dc60f4810a | [
"Apache-2.0"
] | 2 | 2021-04-06T20:42:02.000Z | 2021-04-06T21:07:01.000Z | mob_manipulator_controller/src/osc_controller/OSC_Controller.cpp | jmfajardod/osf_wbc_bsc_thesis | ff6abdba73ed1822e8d03e7d8f5919dc60f4810a | [
"Apache-2.0"
] | null | null | null | mob_manipulator_controller/src/osc_controller/OSC_Controller.cpp | jmfajardod/osf_wbc_bsc_thesis | ff6abdba73ed1822e8d03e7d8f5919dc60f4810a | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2020 Jose Manuel Fajardo
*
* 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... | 42.657795 | 144 | 0.535386 | jmfajardod |
0e6b349a770b68ae65973e4310ff53f7da6c5d08 | 1,404 | cpp | C++ | apps/imgc/newtest.cpp | kdt3rd/gecko | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | [
"MIT"
] | 15 | 2017-10-18T05:08:16.000Z | 2022-02-02T11:01:46.000Z | apps/imgc/newtest.cpp | kdt3rd/gecko | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | [
"MIT"
] | null | null | null | apps/imgc/newtest.cpp | kdt3rd/gecko | 756a4e4587eb5023495294d9b6c6d80ebd79ebde | [
"MIT"
] | 1 | 2018-11-10T03:12:57.000Z | 2018-11-10T03:12:57.000Z | // SPDX-License-Identifier: MIT
// Copyright contributors to the gecko project.
#include <imgproc/environment.h>
#include <imgproc/expr.h>
#include <imgproc/function.h>
namespace
{
int safemain( int /*argc*/, char * /*argv*/[] )
{
using namespace imgproc;
auto x = std::make_shared<expr>( identifier_expr( U"x... | 24.631579 | 92 | 0.582621 | kdt3rd |
0e6db3f2e228dbb23b0ec14109be128c07271f0a | 2,857 | cpp | C++ | MapGenerator/MapGenerator/src/Json.cpp | AlanBuechner/FrozenForest | 73ad8d6b9922f10cda96f80c588b6f5f013080cc | [
"Apache-2.0"
] | null | null | null | MapGenerator/MapGenerator/src/Json.cpp | AlanBuechner/FrozenForest | 73ad8d6b9922f10cda96f80c588b6f5f013080cc | [
"Apache-2.0"
] | null | null | null | MapGenerator/MapGenerator/src/Json.cpp | AlanBuechner/FrozenForest | 73ad8d6b9922f10cda96f80c588b6f5f013080cc | [
"Apache-2.0"
] | null | null | null | #include "Json.h"
#include "istreamwrapper.h"
#include <fstream>
namespace json
{
bool Load(const std::string& filename, rapidjson::Document& document)
{
bool success = false;
std::ifstream stream(filename);
if (stream.is_open())
{
rapidjson::IStreamWrapper istream(stream);
document.ParseStream(istre... | 23.040323 | 97 | 0.645782 | AlanBuechner |
0e6e3a3d3627560706acac36a73522252df352b6 | 1,258 | cpp | C++ | Code/C++/queue_using_stacks.cpp | parthmshah1302/Algo-Tree | 451e3d3fde2b841f77bed0dfaa9b83e5d9a7d3dc | [
"MIT"
] | 356 | 2021-01-24T11:34:15.000Z | 2022-03-16T08:39:02.000Z | Code/C++/queue_using_stacks.cpp | parthmshah1302/Algo-Tree | 451e3d3fde2b841f77bed0dfaa9b83e5d9a7d3dc | [
"MIT"
] | 1,778 | 2021-01-24T10:52:44.000Z | 2022-01-30T12:34:05.000Z | Code/C++/queue_using_stacks.cpp | parthmshah1302/Algo-Tree | 451e3d3fde2b841f77bed0dfaa9b83e5d9a7d3dc | [
"MIT"
] | 782 | 2021-01-24T10:54:10.000Z | 2022-03-23T10:16:04.000Z | /*
A queue can be implemented using two stacks.
Let queue to be implemented be q and stacks used to implement q be s1 and s2.
*/
#include <iostream>
#include <stack>
using namespace std;
class Queue{
public:
//main data structure
stack<int> s1;
//helper
stack<int> s2;
void push(int x){
s1.push(x)... | 9.25 | 77 | 0.531002 | parthmshah1302 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.