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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c9bdb7d213a817e163941e3c9b6f6160e5f693e | 36,132 | cpp | C++ | src/MadHighlightingDialog.cpp | xoxox4dev/madedit | 8e0dd08818e040b099251c1eb8833b836cb36c6e | [
"Ruby"
] | 22 | 2015-06-28T17:48:54.000Z | 2021-04-16T08:47:26.000Z | src/MadHighlightingDialog.cpp | mcanthony/madedit | 8e0dd08818e040b099251c1eb8833b836cb36c6e | [
"Ruby"
] | null | null | null | src/MadHighlightingDialog.cpp | mcanthony/madedit | 8e0dd08818e040b099251c1eb8833b836cb36c6e | [
"Ruby"
] | 12 | 2015-04-25T00:40:35.000Z | 2021-11-11T06:39:48.000Z | ///////////////////////////////////////////////////////////////////////////////
// Name: MadHighlightingDialog.cpp
// Description:
// Author: madedit@gmail.com
// Licence: GPL
///////////////////////////////////////////////////////////////////////////////
#include "MadHighlightingDialog.h"
#inc... | 34.842816 | 191 | 0.659914 | xoxox4dev |
4c9c1d2d98dd73aafb672ceac3abece6bf228ddf | 5,061 | cpp | C++ | src/wmecore/TheoraAudioBridge.cpp | retrowork/wme | 54cf8905091736aef0a35fe6d3e05b818441f3c8 | [
"MIT"
] | null | null | null | src/wmecore/TheoraAudioBridge.cpp | retrowork/wme | 54cf8905091736aef0a35fe6d3e05b818441f3c8 | [
"MIT"
] | null | null | null | src/wmecore/TheoraAudioBridge.cpp | retrowork/wme | 54cf8905091736aef0a35fe6d3e05b818441f3c8 | [
"MIT"
] | null | null | null | // This file is part of Wintermute Engine
// For conditions of distribution and use, see copyright notice in license.txt
#include "Wme.h"
#include "TheoraAudioBridge.h"
#include "TheoraVideoClip.h"
#include "Game.h"
namespace Wme
{
//////////////////////////////////////////////////////////////////////... | 25.560606 | 148 | 0.548903 | retrowork |
4c9eb433599412fac2449ccf30b8bcc427148bef | 1,493 | hpp | C++ | sdk/input.hpp | amizu03/csgo_sdk | 3c229bd592f4463b4a098eb02ee9a1d83cf36f77 | [
"MIT"
] | null | null | null | sdk/input.hpp | amizu03/csgo_sdk | 3c229bd592f4463b4a098eb02ee9a1d83cf36f77 | [
"MIT"
] | null | null | null | sdk/input.hpp | amizu03/csgo_sdk | 3c229bd592f4463b4a098eb02ee9a1d83cf36f77 | [
"MIT"
] | 1 | 2020-03-31T07:06:08.000Z | 2020-03-31T07:06:08.000Z | #pragma once
#include "../utils/vfunc.hpp"
#include "../utils/padding.hpp"
#include "vec3.hpp"
#include "ucmd.hpp"
class c_input {
public:
void* pvftable; //0x00
PAD( 0x8 );
bool m_track_ir_available; //0x04
bool m_mouse_initialized; //0x05
bool m_mouse_active; //0x06
bool m_joystick_advanced_init; //0x07
PAD( ... | 25.305085 | 116 | 0.669123 | amizu03 |
4c9ede0a85de0899198cd218ea2c0a789ea2dd43 | 1,684 | cpp | C++ | tests/vm/machine_stores.cpp | aligusnet/mixvm | 1c260f998e1bf187d8ed84b74b19bac8029fe64c | [
"BSD-3-Clause"
] | 2 | 2020-09-14T21:25:35.000Z | 2021-07-14T16:30:06.000Z | tests/vm/machine_stores.cpp | Alexander-Ignatyev/mixvm | 1c260f998e1bf187d8ed84b74b19bac8029fe64c | [
"BSD-3-Clause"
] | null | null | null | tests/vm/machine_stores.cpp | Alexander-Ignatyev/mixvm | 1c260f998e1bf187d8ed84b74b19bac8029fe64c | [
"BSD-3-Clause"
] | 1 | 2021-07-14T16:30:08.000Z | 2021-07-14T16:30:08.000Z | #include "machine_fixture.h"
namespace mix {
class MachineStoresTestSuite : public MachineFixture {};
TEST_F(MachineStoresTestSuite, sta) {
set_reg_a_value(-73);
machine.sta(make_instruction(cmd_sta, 152));
EXPECT_EQ(-73, get_memory_value(152));
}
TEST_F(MachineStoresTestSuite, st1) {
set_reg_i_value(1, 11)... | 21.87013 | 56 | 0.745843 | aligusnet |
4ca0e50ec9e3bb61446e9b837399ceb5cd000d2b | 846 | cpp | C++ | Data/tests.cpp | wispwisp/associationRuleAnalysis | 978c8caf7fd19d11191461d05343268bcd71732f | [
"MIT"
] | null | null | null | Data/tests.cpp | wispwisp/associationRuleAnalysis | 978c8caf7fd19d11191461d05343268bcd71732f | [
"MIT"
] | null | null | null | Data/tests.cpp | wispwisp/associationRuleAnalysis | 978c8caf7fd19d11191461d05343268bcd71732f | [
"MIT"
] | null | null | null | #include "Data.hpp"
#include <sstream>
#include <stdexcept>
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(TestDataClass)
BOOST_AUTO_TEST_CASE(inconsistentDataLenghPerLine)
{
std::string s =
"010101\n"
"0101001"; // <-- one more element
std::stringstream bitsString{ s };
BOOST_CHECK_THROW... | 20.634146 | 83 | 0.72695 | wispwisp |
4cac9c12dd1cd9b7fc188f74cb6883adc1653c3c | 29,046 | cpp | C++ | project/source/game/location/City.cpp | Shdorsh/carpg | 376130a1ed410116fc8a607601b327eae7dca383 | [
"MIT"
] | null | null | null | project/source/game/location/City.cpp | Shdorsh/carpg | 376130a1ed410116fc8a607601b327eae7dca383 | [
"MIT"
] | null | null | null | project/source/game/location/City.cpp | Shdorsh/carpg | 376130a1ed410116fc8a607601b327eae7dca383 | [
"MIT"
] | null | null | null | #include "Pch.h"
#include "GameCore.h"
#include "City.h"
#include "SaveState.h"
#include "Content.h"
#include "ResourceManager.h"
#include "Object.h"
#include "Unit.h"
#include "GameFile.h"
#include "BuildingScript.h"
#include "World.h"
#include "Level.h"
#include "BitStreamFunc.h"
//==================================... | 26.073609 | 121 | 0.567582 | Shdorsh |
4cae835ea50a1948247087b62f0c22f45a01d3bb | 1,985 | cpp | C++ | test/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 187 | 2015-02-28T11:50:45.000Z | 2022-02-20T12:51:00.000Z | test/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 2 | 2019-06-24T20:44:59.000Z | 2020-06-17T18:41:35.000Z | test/input.output/file.streams/fstreams/fstream.assign/member_swap.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 80 | 2015-01-02T12:44:41.000Z | 2022-01-20T15:37:54.000Z | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | 27.569444 | 80 | 0.401008 | caiohamamura |
4caf0233038c4f77854faf0424c5dd7847ccb966 | 1,438 | hpp | C++ | source/reusable/stdlib/all/ppp_facilities.hpp | alf-p-steinbach/NPP-plugin-Empty-files-as-Unicode | aeae720140a1fc4aa4a18104e7a834ace2276875 | [
"MIT"
] | 13 | 2017-06-20T13:24:39.000Z | 2018-02-27T08:49:17.000Z | source/all/ppp_facilities.hpp | alf-p-steinbach/Wrapped-stdlib | 1280c3b68f30197549efd61af35ca57c477d59fe | [
"BSL-1.0"
] | null | null | null | source/all/ppp_facilities.hpp | alf-p-steinbach/Wrapped-stdlib | 1280c3b68f30197549efd61af35ca57c477d59fe | [
"BSL-1.0"
] | 1 | 2018-01-11T17:32:22.000Z | 2018-01-11T17:32:22.000Z | #pragma once // Source encoding: utf-8 with BOM ∩
// #include <stdlib/all/stroustrup_ppp_facilities.hpp>
//
// Corresponds to the `"std_lib_facilities.h"` header for Bjarne Stroustrup's book
// “Programming: Principles and Practice Using C++”, plus `hopefully` and `fail`,
// except that here there's no evil `using ... | 28.76 | 85 | 0.713491 | alf-p-steinbach |
4cb8cc2f2fafbcf661fa3390adb2db44bcb77de7 | 1,881 | hpp | C++ | common/utility/inc/DateTimeUtils.hpp | cbtek/SourceGen | 6593300c658529acb06b83982bbc9e698c270aeb | [
"MIT"
] | 1 | 2018-01-23T14:59:28.000Z | 2018-01-23T14:59:28.000Z | common/utility/inc/DateTimeUtils.hpp | cbtek/SourceGen | 6593300c658529acb06b83982bbc9e698c270aeb | [
"MIT"
] | null | null | null | common/utility/inc/DateTimeUtils.hpp | cbtek/SourceGen | 6593300c658529acb06b83982bbc9e698c270aeb | [
"MIT"
] | null | null | null | /**
MIT License
Copyright (c) 2016 cbtek
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, distrib... | 38.387755 | 227 | 0.796385 | cbtek |
4cba1b6ace6df025d14ed9f7f3236e8504b69af0 | 23,207 | cpp | C++ | PrehistoricEngine/src/engine/prehistoric/core/util/math/Math.cpp | Andrispowq/PrehistoricEngine---C- | 04159c9119b2f5e0148de21a85aa0dab2d6ba60e | [
"Apache-2.0"
] | 1 | 2020-12-04T13:36:03.000Z | 2020-12-04T13:36:03.000Z | PrehistoricEngine/src/engine/prehistoric/core/util/math/Math.cpp | Andrispowq/PrehistoricEngine---C- | 04159c9119b2f5e0148de21a85aa0dab2d6ba60e | [
"Apache-2.0"
] | null | null | null | PrehistoricEngine/src/engine/prehistoric/core/util/math/Math.cpp | Andrispowq/PrehistoricEngine---C- | 04159c9119b2f5e0148de21a85aa0dab2d6ba60e | [
"Apache-2.0"
] | null | null | null | #include "Includes.hpp"
#include "Math.h"
namespace Prehistoric
{
#if defined(PR_FAST_MATH)
inline Vector2f Vector2f::abs() const
{
return Vector2f(fabs((*this).x), fabs((*this).y));
}
Vector2f Vector2f::lerp(const Vector2f& b, const float& t, const bool& invert) const
{
float x_ = x + (b.x - x) * t;
float y_ = y... | 20.250436 | 171 | 0.56009 | Andrispowq |
4cbeb7105b4bbe15fc20c3d2945f03aa263261bc | 1,739 | hpp | C++ | include/goldfish.hpp | bsamseth/Goldfish | c99cb9f2b14bbd04e0c2a9ae32b78e074ff6199b | [
"MIT"
] | 6 | 2019-01-23T03:13:36.000Z | 2020-09-06T09:54:48.000Z | include/goldfish.hpp | bsamseth/Goldfish | c99cb9f2b14bbd04e0c2a9ae32b78e074ff6199b | [
"MIT"
] | 33 | 2015-12-28T08:48:01.000Z | 2019-09-25T11:39:53.000Z | include/goldfish.hpp | bsamseth/Goldfish | c99cb9f2b14bbd04e0c2a9ae32b78e074ff6199b | [
"MIT"
] | 6 | 2018-08-06T14:05:11.000Z | 2022-02-15T01:30:49.000Z | #pragma once
#include "notation.hpp"
#include "protocol.hpp"
#include "search.hpp"
namespace goldfish
{
class Goldfish : public Protocol
{
public:
Goldfish() : search(*this) {}
void run();
void send_best_move(Move best_move, Move ponder_move) final;
void send_status(int current_depth,
... | 25.202899 | 82 | 0.578493 | bsamseth |
4cbefa89d318676765bdc5bde520032f19fbd707 | 5,123 | cpp | C++ | tests/unit/bf/interpreter_tests.cpp | smacdo/brainfreeze | f60791def994d4861fdae9ee7196c36e434bf56c | [
"MIT",
"BSD-3-Clause"
] | 1 | 2022-03-11T22:17:45.000Z | 2022-03-11T22:17:45.000Z | tests/unit/bf/interpreter_tests.cpp | smacdo/brainfreeze | f60791def994d4861fdae9ee7196c36e434bf56c | [
"MIT",
"BSD-3-Clause"
] | 3 | 2020-04-24T05:04:07.000Z | 2020-04-24T05:07:22.000Z | tests/unit/bf/interpreter_tests.cpp | smacdo/brainfreeze | f60791def994d4861fdae9ee7196c36e434bf56c | [
"MIT",
"BSD-3-Clause"
] | null | null | null | #include "bf/bf.h"
#include "testhelpers.h"
#include <catch2/catch.hpp>
using namespace Brainfreeze;
using namespace Brainfreeze::TestHelpers;
TEST_CASE("empty program runs and does nothing", "[interpreter]")
{
auto app = CreateInterpreter(std::string(""));
app.run();
REQUIRE_THAT(app.instructionPointer(... | 27.543011 | 95 | 0.604333 | smacdo |
4cc66556f4f481076ebe6cd002c5a3b5fcd28238 | 273 | cpp | C++ | gallery-desktop/src/AlbumListWidget.cpp | buzzcut-s/Q-Gallery | 71d60e3b2b14a125a46032a8cc1f06a98d83361a | [
"MIT"
] | null | null | null | gallery-desktop/src/AlbumListWidget.cpp | buzzcut-s/Q-Gallery | 71d60e3b2b14a125a46032a8cc1f06a98d83361a | [
"MIT"
] | null | null | null | gallery-desktop/src/AlbumListWidget.cpp | buzzcut-s/Q-Gallery | 71d60e3b2b14a125a46032a8cc1f06a98d83361a | [
"MIT"
] | null | null | null | #include "include/AlbumListWidget.h"
#include "ui_AlbumListWidget.h"
AlbumListWidget::AlbumListWidget(QWidget* parent) :
QWidget{parent},
m_ui{new Ui::AlbumListWidget}
{
m_ui->setupUi(this);
}
AlbumListWidget::~AlbumListWidget()
{
delete m_ui;
}
| 17.0625 | 51 | 0.699634 | buzzcut-s |
4ccb8ddddfbcc0b65e2a8866bb80080a23619a1e | 2,249 | cpp | C++ | tests/extension/oneapi_sub_group_mask/sub_group_mask_set_api.cpp | AndreyXRomanov/SYCL-CTS | 9e232c7031c80f28ef55366bcfb7f6e843032b67 | [
"Apache-2.0"
] | null | null | null | tests/extension/oneapi_sub_group_mask/sub_group_mask_set_api.cpp | AndreyXRomanov/SYCL-CTS | 9e232c7031c80f28ef55366bcfb7f6e843032b67 | [
"Apache-2.0"
] | null | null | null | tests/extension/oneapi_sub_group_mask/sub_group_mask_set_api.cpp | AndreyXRomanov/SYCL-CTS | 9e232c7031c80f28ef55366bcfb7f6e843032b67 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
//
// SYCL 2020 Extension Conformance Test
//
// Provides tests to check sub_group_mask set()
//
*******************************************************************************/
#include "sub_group_mask_common.h"
#define TEST_NAME sub_... | 31.236111 | 80 | 0.673188 | AndreyXRomanov |
4cd39c2507fa11024c41958727bf88044242228a | 121 | cpp | C++ | TestAsio/TestNetCommon/Test_PacketCommon.cpp | nerv2000/TestAsio | 4c2e7e09211c8708c924c346462e148b18e42565 | [
"MIT"
] | null | null | null | TestAsio/TestNetCommon/Test_PacketCommon.cpp | nerv2000/TestAsio | 4c2e7e09211c8708c924c346462e148b18e42565 | [
"MIT"
] | null | null | null | TestAsio/TestNetCommon/Test_PacketCommon.cpp | nerv2000/TestAsio | 4c2e7e09211c8708c924c346462e148b18e42565 | [
"MIT"
] | null | null | null | #include "Test_PacketCommon.h"
Test_PacketCommon::Test_PacketCommon()
{
}
Test_PacketCommon::~Test_PacketCommon()
{
}
| 11 | 39 | 0.768595 | nerv2000 |
4cd3e5fb8d7f30e39e175f1ec4e8768a69547612 | 107,323 | cxx | C++ | ITSMFT/MFT/MFTbase/AliMFTHeatExchanger.cxx | ktf/AliRoot | 6575f726c8d2b1457e3bded9c9b1bf38e4a02c67 | [
"BSD-3-Clause"
] | null | null | null | ITSMFT/MFT/MFTbase/AliMFTHeatExchanger.cxx | ktf/AliRoot | 6575f726c8d2b1457e3bded9c9b1bf38e4a02c67 | [
"BSD-3-Clause"
] | 2 | 2016-11-25T08:40:56.000Z | 2019-10-11T12:29:29.000Z | ITSMFT/MFT/MFTbase/AliMFTHeatExchanger.cxx | ktf/AliRoot | 6575f726c8d2b1457e3bded9c9b1bf38e4a02c67 | [
"BSD-3-Clause"
] | null | null | null | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 54.45104 | 201 | 0.631197 | ktf |
4cd55852ec32beaa75fc2bdaa2352f679e427c03 | 9,327 | cpp | C++ | Tests/Core/Math/test_matrix.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 248 | 2015-01-08T05:21:40.000Z | 2022-03-20T02:59:16.000Z | Tests/Core/Math/test_matrix.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 39 | 2015-01-14T17:37:07.000Z | 2022-03-17T12:59:26.000Z | Tests/Core/Math/test_matrix.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 82 | 2015-01-11T13:23:49.000Z | 2022-02-19T03:17:24.000Z | /*
** ClanLib SDK
** Copyright (c) 1997-2020 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... | 26.199438 | 151 | 0.643401 | xctan |
4cdd06a8cd8129ac7c98e7d956acafdeabc6fd41 | 29,841 | cpp | C++ | Editor/ModelImporter_GLTF.cpp | Svengali/WickedEngine | 6f56672476993ea95039db003b6dcf39231855db | [
"Zlib",
"MIT"
] | 1 | 2022-03-23T04:00:42.000Z | 2022-03-23T04:00:42.000Z | Editor/ModelImporter_GLTF.cpp | Svengali/WickedEngine | 6f56672476993ea95039db003b6dcf39231855db | [
"Zlib",
"MIT"
] | null | null | null | Editor/ModelImporter_GLTF.cpp | Svengali/WickedEngine | 6f56672476993ea95039db003b6dcf39231855db | [
"Zlib",
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ModelImporter.h"
#include "Utility/stb_image.h"
#define TINYGLTF_IMPLEMENTATION
#define TINYGLTF_NO_STB_IMAGE
#define TINYGLTF_NO_STB_IMAGE_WRITE
#include "tiny_gltf.h"
#include <fstream>
#include <sstream>
using namespace std;
using namespace wiGraphicsTypes;
using namespace wiSceneCo... | 28.693269 | 161 | 0.635166 | Svengali |
4cdf0d14ea71923220a296c0441327e8dcb5d67d | 1,629 | hpp | C++ | include/std.dialogsearch.hpp | wilsonsouza/stdx.frame.x86 | c9e0cc4c748f161367531990e5795a700f40e5ec | [
"Apache-2.0"
] | null | null | null | include/std.dialogsearch.hpp | wilsonsouza/stdx.frame.x86 | c9e0cc4c748f161367531990e5795a700f40e5ec | [
"Apache-2.0"
] | null | null | null | include/std.dialogsearch.hpp | wilsonsouza/stdx.frame.x86 | c9e0cc4c748f161367531990e5795a700f40e5ec | [
"Apache-2.0"
] | null | null | null | //-----------------------------------------------------------------------------------------------//
// dedaluslib.lib for Windows
//
// Created by Wilson.Souza 2012, 2013
// For Libbs Farma
//
// Dedalus Prime
// (c) 2012, 2013
//----------------------------------------------------------------------------------... | 39.731707 | 102 | 0.473297 | wilsonsouza |
4ce17249544d89cffcfa5e8819773e20857241d0 | 957 | cpp | C++ | Factory Pattern/Simple Factory Pattern/VeggiePizza.cpp | mrlegowatch/HeadFirstDesignPatternsCpp | 436ee8f0344b6a2ccfef6dcfa216a16a6ca7b482 | [
"MIT"
] | 43 | 2018-07-17T21:53:21.000Z | 2022-03-23T13:15:06.000Z | Factory Pattern/Simple Factory Pattern/VeggiePizza.cpp | mrlegowatch/HeadFirstDesignPatternsCpp | 436ee8f0344b6a2ccfef6dcfa216a16a6ca7b482 | [
"MIT"
] | null | null | null | Factory Pattern/Simple Factory Pattern/VeggiePizza.cpp | mrlegowatch/HeadFirstDesignPatternsCpp | 436ee8f0344b6a2ccfef6dcfa216a16a6ca7b482 | [
"MIT"
] | 14 | 2019-04-10T13:01:07.000Z | 2022-03-08T13:19:14.000Z | //
// PepperoniPizza.cpp
// Factory Pattern
//
// Created by Cindy Solomon on 2/13/18.
// Copyright © 2018 Brian Arnold. All rights reserved.
//
#include "VeggiePizza.hpp"
#include <iostream>
VeggiePizza::VeggiePizza()
{
name = "Veggie Pizza";
dough = "Regular crust";
sauce = "Marinara sauce";
top... | 20.804348 | 58 | 0.628004 | mrlegowatch |
4ce379d1c701bf7e5c34d2f2eb5fdda3a1e040db | 44,653 | hpp | C++ | cafes/particle/singularity/add_singularity.hpp | Fvergnet/cafes | ac634318980e7b5787ba34a4d6d20eb27be69c9a | [
"BSD-3-Clause"
] | null | null | null | cafes/particle/singularity/add_singularity.hpp | Fvergnet/cafes | ac634318980e7b5787ba34a4d6d20eb27be69c9a | [
"BSD-3-Clause"
] | null | null | null | cafes/particle/singularity/add_singularity.hpp | Fvergnet/cafes | ac634318980e7b5787ba34a4d6d20eb27be69c9a | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016, Loic Gouarin <loic.gouarin@math.u-psud.fr>
// 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,... | 35.693845 | 123 | 0.547936 | Fvergnet |
4ce60873693b4ff941ad954cbe01d4380b7c87bb | 5,516 | hpp | C++ | cpp-projects/base/geometry/shapes/aabb3.hpp | FlorianLance/toolbox | 87882a14ec86852d90527c81475b451b9f6e12cf | [
"MIT"
] | null | null | null | cpp-projects/base/geometry/shapes/aabb3.hpp | FlorianLance/toolbox | 87882a14ec86852d90527c81475b451b9f6e12cf | [
"MIT"
] | null | null | null | cpp-projects/base/geometry/shapes/aabb3.hpp | FlorianLance/toolbox | 87882a14ec86852d90527c81475b451b9f6e12cf | [
"MIT"
] | 1 | 2021-07-06T14:47:41.000Z | 2021-07-06T14:47:41.000Z |
///*******************************************************************************
//** Toolbox-base **
//** MIT License **
//** Copyright (c) [2018] [Florian Lance] ... | 39.683453 | 104 | 0.485497 | FlorianLance |
4ce9dc142492ee37a38dabbb1ba2a2379f06912c | 12,270 | cxx | C++ | src/common/PokemonSpecies.cxx | Archaemic/tachyon | 46b6684a5d8c71c84641050f0453d6a6d1d6d1a5 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2015-09-11T19:22:58.000Z | 2017-06-09T20:40:11.000Z | src/common/PokemonSpecies.cxx | Archaemic/tachyon | 46b6684a5d8c71c84641050f0453d6a6d1d6d1a5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/common/PokemonSpecies.cxx | Archaemic/tachyon | 46b6684a5d8c71c84641050f0453d6a6d1d6d1a5 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #include "common/PokemonSpecies.h"
const static char* speciesNames[] = {
u8"MissingNo.",
u8"Bulbasaur",
u8"Ivysaur",
u8"Venusaur",
u8"Charmander",
u8"Charmeleon",
u8"Charizard",
u8"Squirtle",
u8"Wartortle",
u8"Blastoise",
u8"Caterpie",
u8"Metapod",
u8"Butterfree",
u8"Weedle",
u8"Kakuna",
u8"Beedrill",
... | 15.590851 | 80 | 0.657131 | Archaemic |
4ceccc2eefba8128f4b6d69b4376328af3ceafd9 | 1,972 | cpp | C++ | src/client/client_renderer_object_factory.cpp | jdmclark/gorc | a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8 | [
"Apache-2.0"
] | 97 | 2015-02-24T05:09:24.000Z | 2022-01-23T12:08:22.000Z | src/client/client_renderer_object_factory.cpp | annnoo/gorc | 1889b4de6380c30af6c58a8af60ecd9c816db91d | [
"Apache-2.0"
] | 8 | 2015-03-27T23:03:23.000Z | 2020-12-21T02:34:33.000Z | src/client/client_renderer_object_factory.cpp | annnoo/gorc | 1889b4de6380c30af6c58a8af60ecd9c816db91d | [
"Apache-2.0"
] | 10 | 2016-03-24T14:32:50.000Z | 2021-11-13T02:38:53.000Z | #include "client_renderer_object_factory.hpp"
gorc::client_renderer_object_factory::~client_renderer_object_factory()
{
for(auto &material_image : material_images) {
glDeleteTextures(1, &material_image.second);
}
}
void gorc::client_renderer_object_factory::set_material_image(material_id id,
... | 40.244898 | 96 | 0.605477 | jdmclark |
4ced8c44139dfaf1017ec68c7e713006ac02bb14 | 1,196 | hpp | C++ | include/utility/trait/type/categories/is_scalar.hpp | SakuraLife/utility | b9bf26198917b6dc415520f74eb3eebf8aa8195e | [
"Unlicense"
] | 2 | 2017-12-10T10:59:48.000Z | 2017-12-13T04:11:14.000Z | include/utility/trait/type/categories/is_scalar.hpp | SakuraLife/utility | b9bf26198917b6dc415520f74eb3eebf8aa8195e | [
"Unlicense"
] | null | null | null | include/utility/trait/type/categories/is_scalar.hpp | SakuraLife/utility | b9bf26198917b6dc415520f74eb3eebf8aa8195e | [
"Unlicense"
] | null | null | null |
#ifndef __UTILITY_TRAIT_TYPE_CATEGORIES_IS_SCALAR__
#define __UTILITY_TRAIT_TYPE_CATEGORIES_IS_SCALAR__
#include<utility/trait/trait_helper.hpp>
#include<utility/trait/type/categories/is_arithmetic.hpp>
#include<utility/trait/type/categories/is_member_pointer.hpp>
#include<utility/trait/type/categories/is_pointer.hpp... | 26 | 61 | 0.66806 | SakuraLife |
4cedfb360743c3a3bae59a44468fe070b397421f | 52 | hpp | C++ | api/meta/ToSave.hpp | phisko/kengine_editor | cd11f067b1339c418acf8e568e73eb00c9340722 | [
"MIT"
] | null | null | null | api/meta/ToSave.hpp | phisko/kengine_editor | cd11f067b1339c418acf8e568e73eb00c9340722 | [
"MIT"
] | null | null | null | api/meta/ToSave.hpp | phisko/kengine_editor | cd11f067b1339c418acf8e568e73eb00c9340722 | [
"MIT"
] | null | null | null | #pragma once
namespace meta {
struct ToSave {};
}
| 8.666667 | 18 | 0.673077 | phisko |
4cf2c3d730586c93bc776e937f5586fcdd92ed13 | 1,664 | cpp | C++ | SceneLoadOverlay.cpp | Sgw32/R3E | 8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd | [
"MIT"
] | 7 | 2017-11-27T15:15:08.000Z | 2021-03-29T16:53:22.000Z | SceneLoadOverlay.cpp | Sgw32/R3E | 8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd | [
"MIT"
] | null | null | null | SceneLoadOverlay.cpp | Sgw32/R3E | 8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd | [
"MIT"
] | 4 | 2017-11-28T02:53:19.000Z | 2021-01-29T10:37:52.000Z | #include "SceneLoadOverlay.h"
template<> SceneLoadOverlay *Singleton<SceneLoadOverlay>::ms_Singleton=0;
SceneLoadOverlay::SceneLoadOverlay()
{
}
SceneLoadOverlay::~SceneLoadOverlay()
{
}
void SceneLoadOverlay::init(Root* mRoot)
{
srand(time(NULL));
cf.load("run3/game/loadingscrs/loadingscrs.cfg");
ConfigFile::Se... | 20.8 | 76 | 0.71274 | Sgw32 |
4cf354c4fca5d3604b6979f6013bcf136d492de2 | 1,236 | cpp | C++ | qikkDB/GpuSqlParser/MemoryStream.cpp | veselyja/qikkdb-community | 680f62632ba85e468beee672624b80a61ed40f55 | [
"Apache-2.0"
] | 15 | 2020-06-30T13:43:42.000Z | 2022-02-02T12:52:33.000Z | qikkDB/GpuSqlParser/MemoryStream.cpp | veselyja/qikkdb-community | 680f62632ba85e468beee672624b80a61ed40f55 | [
"Apache-2.0"
] | 1 | 2020-11-28T22:29:35.000Z | 2020-12-22T10:28:25.000Z | qikkDB/GpuSqlParser/MemoryStream.cpp | qikkDB/qikkdb | 4ee657c7d2bfccd460d2f0d2c84a0bbe72d9a80a | [
"Apache-2.0"
] | 1 | 2020-06-30T12:41:37.000Z | 2020-06-30T12:41:37.000Z | //
// Created by Martin Staňo on 2019-01-15.
//
#include "MemoryStream.h"
#include "../PointFactory.h"
#include "../Types/Point.pb.h"
// template<>
// void MemoryStream::insert(const char *value)
//{
// int len = static_cast<int>(strlen(value));
// insert<int>(len);
// std::copy(value, value + len * sizeof(c... | 21.684211 | 88 | 0.65534 | veselyja |
4cf42240eab6c6d32cc17232b0c0303611077499 | 5,235 | cpp | C++ | SDK/Extras/Rayshade/Sources/Rayshade/LibLight/spot.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 24 | 2019-10-28T07:01:48.000Z | 2022-03-04T16:10:39.000Z | SDK/Extras/Rayshade/Sources/Rayshade/LibLight/spot.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 8 | 2020-04-22T19:42:45.000Z | 2021-04-30T16:28:32.000Z | SDK/Extras/Rayshade/Sources/Rayshade/LibLight/spot.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 6 | 2019-09-22T14:44:15.000Z | 2021-04-01T20:04:29.000Z | /*
* spot.c
*
* Copyright (C) 1989, 1991, Craig E. Kolb
* All rights reserved.
*
* This software may be freely copied, modified, and redistributed
* provided that this copyright notice is preserved on all copies.
*
* You may not distribute this software, in whole or in part, as part of
* any commercial produc... | 24.013761 | 76 | 0.61872 | h-haris |
e07e1388af1db09fa2aa5de5d94f8acd4298b0ac | 1,390 | cpp | C++ | DynamicProgramming/coinchange2.cpp | thisisnitish/cp-dsa | 6a00f1d60712115f70c346cee238ad1730e6c39e | [
"MIT"
] | 4 | 2020-12-29T09:27:10.000Z | 2022-02-12T14:20:23.000Z | DynamicProgramming/coinchange2.cpp | thisisnitish/cp-dsa | 6a00f1d60712115f70c346cee238ad1730e6c39e | [
"MIT"
] | 1 | 2021-11-27T06:15:28.000Z | 2021-11-27T06:15:28.000Z | DynamicProgramming/coinchange2.cpp | thisisnitish/cp-dsa | 6a00f1d60712115f70c346cee238ad1730e6c39e | [
"MIT"
] | 1 | 2021-11-17T21:42:57.000Z | 2021-11-17T21:42:57.000Z | /*
Leetcode Question 518. Coin Change 2
https://leetcode.com/problems/coin-change-2/
*/
class Solution
{
public:
/*the basic idea is that it is based on the unbounded knapsack problem
so before doing this understand the concept of unbounded knapsack problem
then only do this preblem. Everything is same, on... | 30.888889 | 93 | 0.481295 | thisisnitish |
e080ed4756bc88f9ccf7b56d52a96dfc2d4bf955 | 2,873 | hpp | C++ | src/routines/routines.hpp | vbkaisetsu/CLBlast | 441373c8fd1442cc4c024e59e7778b4811eb210c | [
"Apache-2.0"
] | null | null | null | src/routines/routines.hpp | vbkaisetsu/CLBlast | 441373c8fd1442cc4c024e59e7778b4811eb210c | [
"Apache-2.0"
] | null | null | null | src/routines/routines.hpp | vbkaisetsu/CLBlast | 441373c8fd1442cc4c024e59e7778b4811eb210c | [
"Apache-2.0"
] | null | null | null |
// =================================================================================================
// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This
// project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max-
// width of 100 char... | 35.9125 | 100 | 0.721197 | vbkaisetsu |
e084550098c2c017471d4f636cf2d7ae7c1f8038 | 13,788 | hpp | C++ | CmnCS/module/computationalgeometry2/inc/computationalgeometry2/ConvexHull2.hpp | Khoronus/CmnUniverse | 9cf9b4297f2fcb49330126aa1047b422144045e1 | [
"MIT"
] | null | null | null | CmnCS/module/computationalgeometry2/inc/computationalgeometry2/ConvexHull2.hpp | Khoronus/CmnUniverse | 9cf9b4297f2fcb49330126aa1047b422144045e1 | [
"MIT"
] | null | null | null | CmnCS/module/computationalgeometry2/inc/computationalgeometry2/ConvexHull2.hpp | Khoronus/CmnUniverse | 9cf9b4297f2fcb49330126aa1047b422144045e1 | [
"MIT"
] | null | null | null | // Geometric Tools LLC, Redmond WA 98052
// Copyright (c) 1998-2015
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 1.0.3 (2014/12/13)
#ifndef CMNCS_COMPUTATIONALGEOMETRY2_CONVEXHULL2_H... | 33.064748 | 78 | 0.578982 | Khoronus |
e086b37cbc311ddd5c5589a0e1e9cd2f3328db77 | 16,192 | cpp | C++ | Code/lib/AspenSIM800/src/atcmds/simcom.cpp | johannes51/Telefon | 751ff691b184f5fc456e5b978ebe39aecb1d3961 | [
"MIT"
] | null | null | null | Code/lib/AspenSIM800/src/atcmds/simcom.cpp | johannes51/Telefon | 751ff691b184f5fc456e5b978ebe39aecb1d3961 | [
"MIT"
] | null | null | null | Code/lib/AspenSIM800/src/atcmds/simcom.cpp | johannes51/Telefon | 751ff691b184f5fc456e5b978ebe39aecb1d3961 | [
"MIT"
] | null | null | null |
// "Aspen SIM800" is a comprehensive SIM800 library for simplified and in-depth chip access.
// Copyright (C) 2016 Mattias Aabmets (https://github.com/aspenforest)
//
// This API library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as p... | 30.841905 | 94 | 0.442935 | johannes51 |
e089501b4347642ef9b8ffa2d27044aa6f46265a | 872 | cpp | C++ | gcc_main.cpp | tenk-a/mayu | 3689329757f07c40e898db7cea2ff4adf4089211 | [
"BSD-3-Clause"
] | null | null | null | gcc_main.cpp | tenk-a/mayu | 3689329757f07c40e898db7cea2ff4adf4089211 | [
"BSD-3-Clause"
] | 1 | 2021-02-06T12:38:30.000Z | 2021-02-06T12:38:30.000Z | gcc_main.cpp | tenk-a/mayu | 3689329757f07c40e898db7cea2ff4adf4089211 | [
"BSD-3-Clause"
] | null | null | null | // Linux,Darwin用のmaine
#define APSTUDIO_INVOKED
#include "misc.h"
#include "compiler_specific_func.h"
#include "engine.h"
#include "errormessage.h"
#include "function.h"
#include "mayu.h"
#if 0 //defined(WIN32)
# include "mayurc.h"
#endif
#include "msgstream.h"
#include "multithread.h"
#include "setting.h"
#include ... | 16.45283 | 58 | 0.575688 | tenk-a |
e08cb7249af14064798f9ae08012b72fe80f1cea | 3,503 | cpp | C++ | TWatch_2021_Library/src/libraries/Cst816s/CST816S.cpp | Xinyuan-LilyGO/T-Watch-2021 | 4b604c39e143deb7b268889114cb81fb420cf65c | [
"MIT"
] | 34 | 2021-08-10T11:12:15.000Z | 2022-03-30T11:57:15.000Z | TWatch_2021_Library/src/libraries/Cst816s/CST816S.cpp | Xinyuan-LilyGO/T-Watch-2021 | 4b604c39e143deb7b268889114cb81fb420cf65c | [
"MIT"
] | 2 | 2021-10-03T23:58:16.000Z | 2022-01-11T02:01:58.000Z | TWatch_2021_Library/src/libraries/Cst816s/CST816S.cpp | Xinyuan-LilyGO/T-Watch-2021 | 4b604c39e143deb7b268889114cb81fb420cf65c | [
"MIT"
] | 11 | 2021-10-02T05:17:39.000Z | 2022-03-30T11:59:41.000Z | #include <Wire.h>
#include "CST816S.h"
void CST816S_Class::_writeReg(uint8_t reg, uint8_t data)
{
_i2cPort->beginTransmission(_address);
_i2cPort->write(reg);
_i2cPort->write(data);
_i2cPort->endTransmission();
}
// Write register values to chip
void CST816S_Class::_writeReg(uint8_t reg, uint8_t *data, uint8_t le... | 20.976048 | 118 | 0.695404 | Xinyuan-LilyGO |
e08e716baf07e3860a97103aa165d3d4fcec76ff | 81 | hpp | C++ | src/Utility/Timer.hpp | ariabonczek/NewLumina | f35cf7f449cfbe191e03e1d5f1c9973cc0b44a8e | [
"MIT"
] | 2 | 2017-01-08T21:30:45.000Z | 2017-01-16T10:10:12.000Z | src/Utility/Timer.hpp | ariabonczek/NewLumina | f35cf7f449cfbe191e03e1d5f1c9973cc0b44a8e | [
"MIT"
] | null | null | null | src/Utility/Timer.hpp | ariabonczek/NewLumina | f35cf7f449cfbe191e03e1d5f1c9973cc0b44a8e | [
"MIT"
] | null | null | null | #ifndef TIMER_HPP
#define TIMER_HPP
class Timer
{
public:
private:
};
#endif | 6.230769 | 17 | 0.716049 | ariabonczek |
e0921421e0d2f59c2e2de568a6210c184aa55e85 | 2,003 | cpp | C++ | Linux/src/Code_highlighting.cpp | SongZihui-sudo/easyhtmleditor | 6ac122e0f6cff16da98adb74da2e3a2dba153748 | [
"MIT"
] | 1 | 2022-01-23T14:49:51.000Z | 2022-01-23T14:49:51.000Z | Linux/src/Code_highlighting.cpp | SongZihui-sudo/easyhtmleditor | 6ac122e0f6cff16da98adb74da2e3a2dba153748 | [
"MIT"
] | 9 | 2022-02-11T13:09:29.000Z | 2022-03-14T12:13:39.000Z | Linux/src/Code_highlighting.cpp | SongZihui-sudo/easyhtmleditor | 6ac122e0f6cff16da98adb74da2e3a2dba153748 | [
"MIT"
] | null | null | null | #include "../include/Code_highlighting.h"
#include "../include/EasyCodingEditor.h"
#include <curses.h>
#include<string>
using namespace cht;
using namespace edt;
edt::easyhtmleditor e1;
//设置颜色
void Code_highlighting::Set_color(int color){
int i;
initscr();
if(!has_colors()){
endwin();
fprintf(stderr,... | 20.864583 | 107 | 0.621568 | SongZihui-sudo |
e092b1da6b544baa6bda12451b53814ab5d8000c | 734 | cpp | C++ | ProgramStudy/Source/Scenes/IScene.cpp | trinhlehainam/ASO_3rd_year_StudyProject | 89c54e42e97cc47af175f61b26a5871bc2a718a0 | [
"MIT"
] | null | null | null | ProgramStudy/Source/Scenes/IScene.cpp | trinhlehainam/ASO_3rd_year_StudyProject | 89c54e42e97cc47af175f61b26a5871bc2a718a0 | [
"MIT"
] | null | null | null | ProgramStudy/Source/Scenes/IScene.cpp | trinhlehainam/ASO_3rd_year_StudyProject | 89c54e42e97cc47af175f61b26a5871bc2a718a0 | [
"MIT"
] | null | null | null | #include "IScene.h"
#include <cassert>
#include <DxLib.h>
#include "../Systems/EntityMng.h"
IScene::IScene() :
EnableChangeScene(false),
m_screenOffsetX(0.0f), m_screenOffsetY(0.0f), m_entityMng(std::make_shared<EntityMng>())
{
m_entityMng->m_self = m_entityMng;
SetDrawScreen(DX_SCREEN_BACK);
GetDrawScreenSiz... | 17.902439 | 89 | 0.724796 | trinhlehainam |
e0a48149241741762f951e36d252d8cee716cb38 | 24,143 | cpp | C++ | RenderSystems/Vulkan/src/OgreVulkanRenderPassDescriptor.cpp | dawlane/ogre | 7bae21738c99b117ef2eab3fcb1412891b8c2025 | [
"MIT"
] | 1 | 2019-10-29T23:36:28.000Z | 2019-10-29T23:36:28.000Z | RenderSystems/Vulkan/src/OgreVulkanRenderPassDescriptor.cpp | dawlane/ogre | 7bae21738c99b117ef2eab3fcb1412891b8c2025 | [
"MIT"
] | null | null | null | RenderSystems/Vulkan/src/OgreVulkanRenderPassDescriptor.cpp | dawlane/ogre | 7bae21738c99b117ef2eab3fcb1412891b8c2025 | [
"MIT"
] | null | null | null | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-present Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any pers... | 43.1125 | 132 | 0.602783 | dawlane |
e0a522806d4243f3cdc967a041fa37e19c0b4e89 | 16,911 | cpp | C++ | widgets/FancyTabBar/fancytabbar.cpp | polovik/asa | f791fec3036b679748e7ad3a8c8da351ed438fc4 | [
"MIT"
] | null | null | null | widgets/FancyTabBar/fancytabbar.cpp | polovik/asa | f791fec3036b679748e7ad3a8c8da351ed438fc4 | [
"MIT"
] | 28 | 2016-10-01T15:36:58.000Z | 2021-01-31T07:58:47.000Z | widgets/FancyTabBar/fancytabbar.cpp | polovik/asa | f791fec3036b679748e7ad3a8c8da351ed438fc4 | [
"MIT"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | 36.057569 | 159 | 0.659098 | polovik |
e0a8532769fee93aeda24fe3ae374b15a84ee9fd | 4,757 | cpp | C++ | src/coherence/component/util/RunnableCacheEvent.cpp | 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 | src/coherence/component/util/RunnableCacheEvent.cpp | 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 | src/coherence/component/util/RunnableCacheEvent.cpp | 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.
*/
#include "private/coherence/component/util/RunnableCacheEvent.hpp"
#include "coherence/net/NamedCache.hpp"
#include "private/coherence/util/l... | 28.147929 | 91 | 0.557915 | chpatel3 |
e0aab439f54a64328470dd6aabb7f34d2a338dc5 | 6,117 | hxx | C++ | generated/include/vnx/addons/HttpServerBase.hxx | MMX-World/vnx-addons | 93dbf8d8cece4e127131fcaf2f15f92e74ed81e6 | [
"MIT"
] | null | null | null | generated/include/vnx/addons/HttpServerBase.hxx | MMX-World/vnx-addons | 93dbf8d8cece4e127131fcaf2f15f92e74ed81e6 | [
"MIT"
] | null | null | null | generated/include/vnx/addons/HttpServerBase.hxx | MMX-World/vnx-addons | 93dbf8d8cece4e127131fcaf2f15f92e74ed81e6 | [
"MIT"
] | null | null | null |
// AUTO GENERATED by vnxcppcodegen
#ifndef INCLUDE_vnx_addons_HttpServerBase_HXX_
#define INCLUDE_vnx_addons_HttpServerBase_HXX_
#include <vnx/addons/package.hxx>
#include <vnx/Module.h>
#include <vnx/TopicPtr.hpp>
#include <vnx/addons/HttpChunk.hxx>
#include <vnx/addons/HttpData.hxx>
#include <vnx/addons/HttpReques... | 42.776224 | 224 | 0.775544 | MMX-World |
e0ae9f03c6c74fe26e351c428ff2f2bf2fd70621 | 486 | cpp | C++ | Hacks/disablepostprocessing.cpp | maikel233/X-HOOK-For-CS-GO | 811bd67171ad48c44b9c5c05cc0fbb5fff4b3687 | [
"MIT"
] | 48 | 2018-11-10T06:39:17.000Z | 2022-03-10T18:44:52.000Z | Hacks/disablepostprocessing.cpp | maikel233/X-HOOK-For-CS-GO | 811bd67171ad48c44b9c5c05cc0fbb5fff4b3687 | [
"MIT"
] | 7 | 2018-01-04T15:10:41.000Z | 2020-11-14T03:54:30.000Z | Hacks/disablepostprocessing.cpp | maikel233/X-HOOK-For-CS-GO | 811bd67171ad48c44b9c5c05cc0fbb5fff4b3687 | [
"MIT"
] | 21 | 2018-11-23T23:13:09.000Z | 2022-03-14T21:11:38.000Z | #include "../Features.h"
bool Settings::DisablePostProcessing::enabled = false;
void DisablePostProcessing::BeginFrame()
{
if (!Settings::ESP::enabled && Settings::DisablePostProcessing::enabled)
return;
static bool ToggleOnce = false;
if (!ToggleOnce)
{
auto postprocessing = pCvar->Fi... | 19.44 | 74 | 0.699588 | maikel233 |
e0b532c042daf6472b6fa96e2006dacc3695f51e | 46,883 | cpp | C++ | srcs/EventSelectionTool.cpp | RhiannonSJ/SBND_Analysis_Tool | e31378c59da54295e2fe58ab73dfee5d6cf7f7fd | [
"Apache-2.0"
] | null | null | null | srcs/EventSelectionTool.cpp | RhiannonSJ/SBND_Analysis_Tool | e31378c59da54295e2fe58ab73dfee5d6cf7f7fd | [
"Apache-2.0"
] | null | null | null | srcs/EventSelectionTool.cpp | RhiannonSJ/SBND_Analysis_Tool | e31378c59da54295e2fe58ab73dfee5d6cf7f7fd | [
"Apache-2.0"
] | null | null | null | #include "../include/EventSelectionTool.h"
#include <iostream>
#include <numeric>
#include "TLeaf.h"
#include "TBranch.h"
#include "TVector3.h"
#include <algorithm>
#include <iterator>
#include <cmath>
#include <ctime>
#include <cstdlib>
namespace ana{
void EventSelectionTool::GetTimeLeft(const int start_time, con... | 49.350526 | 472 | 0.64533 | RhiannonSJ |
e0b58b8e7b4e7c38891ee522dd0fed15f48fc20d | 2,520 | cpp | C++ | profiling/lab_memory/mailparser.cpp | allstarschh/training-handout | 86b16316e99ed5c1c7bc8dbb0a77dcf49c7e0a57 | [
"BSD-3-Clause-Clear"
] | null | null | null | profiling/lab_memory/mailparser.cpp | allstarschh/training-handout | 86b16316e99ed5c1c7bc8dbb0a77dcf49c7e0a57 | [
"BSD-3-Clause-Clear"
] | null | null | null | profiling/lab_memory/mailparser.cpp | allstarschh/training-handout | 86b16316e99ed5c1c7bc8dbb0a77dcf49c7e0a57 | [
"BSD-3-Clause-Clear"
] | null | null | null | /*************************************************************************
*
* Copyright (c) 2016-2019, Klaralvdalens Datakonsult AB (KDAB)
* All rights reserved.
*
* See the LICENSE.txt file shipped along with this file for the license.
*
*************************************************************************... | 25.979381 | 80 | 0.554762 | allstarschh |
e0b986da1c0b083c7369f2e58ef2d2eef4d85e3f | 877 | cpp | C++ | Src/system-helper.cpp | savent404/MX-F411RE | 4e3705cfcca3dd382cea2dfa66cdc3bb3d061f11 | [
"MIT"
] | null | null | null | Src/system-helper.cpp | savent404/MX-F411RE | 4e3705cfcca3dd382cea2dfa66cdc3bb3d061f11 | [
"MIT"
] | null | null | null | Src/system-helper.cpp | savent404/MX-F411RE | 4e3705cfcca3dd382cea2dfa66cdc3bb3d061f11 | [
"MIT"
] | 1 | 2020-09-01T22:02:33.000Z | 2020-09-01T22:02:33.000Z | #include "textHelper.h"
#include "mbed.h"
#include <queue>
static Semaphore event_sem;
static Mutex event_mutex;
static queue<uint32_t> event_queue;
bool defaultEventSender(uint32_t message)
{
event_mutex.lock();
event_queue.push(message);
event_mutex.unlock();
event_sem.release();
return true;
}
... | 20.395349 | 61 | 0.652223 | savent404 |
e0ba76ecb912c7d077e06d82a0aac50ef4f7e62e | 167 | hpp | C++ | src/ctti/ctti_fwd.hpp | PiotrMoscicki/s4_rtti | 8d22f42f84eb0a831b2472349d2d97b4cb351e07 | [
"MIT"
] | null | null | null | src/ctti/ctti_fwd.hpp | PiotrMoscicki/s4_rtti | 8d22f42f84eb0a831b2472349d2d97b4cb351e07 | [
"MIT"
] | 3 | 2021-12-18T16:50:24.000Z | 2021-12-18T16:53:54.000Z | src/ctti/ctti_fwd.hpp | PiotrMoscicki/s4_rtti | 8d22f42f84eb0a831b2472349d2d97b4cb351e07 | [
"MIT"
] | null | null | null | #pragma once
namespace ctti {
template <typename TYPE>
constexpr auto constexpr_type() { return TYPE::template constexpr_type<TYPE>(); }
} // namespace ctti | 20.875 | 85 | 0.712575 | PiotrMoscicki |
e0c94576f9e265927a6c6bbdc0809dc3d6bdfb44 | 1,995 | cpp | C++ | AdvancedGraphics/texture.cpp | Trodek/Advanced-Graphics-Subject | 5e89fa33a3bc5c4e0910cfae907a22f879be035a | [
"MIT"
] | null | null | null | AdvancedGraphics/texture.cpp | Trodek/Advanced-Graphics-Subject | 5e89fa33a3bc5c4e0910cfae907a22f879be035a | [
"MIT"
] | null | null | null | AdvancedGraphics/texture.cpp | Trodek/Advanced-Graphics-Subject | 5e89fa33a3bc5c4e0910cfae907a22f879be035a | [
"MIT"
] | null | null | null | #include "texture.h"
#include "appmanager.h"
#include "openglwidget.h"
#include <iostream>
#include <QFile>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
Texture::Texture() : Resource(Resource::Type::Texture)
{
}
void Texture::loadFromFile(QString path)
{
AppManager::Instance()->GetOpenGLWidget()->Mak... | 36.944444 | 140 | 0.688722 | Trodek |
e0cb34fb501513fc9aebdb99e42889d3e5aee926 | 17,974 | hpp | C++ | include/qtl_mysql.hpp | wyyrepo/qtl | ab9dec8671eeb90230064474cf86c49c69fd8e10 | [
"Apache-2.0"
] | 1 | 2022-03-26T08:24:12.000Z | 2022-03-26T08:24:12.000Z | include/qtl_mysql.hpp | wyyrepo/qtl | ab9dec8671eeb90230064474cf86c49c69fd8e10 | [
"Apache-2.0"
] | null | null | null | include/qtl_mysql.hpp | wyyrepo/qtl | ab9dec8671eeb90230064474cf86c49c69fd8e10 | [
"Apache-2.0"
] | null | null | null | #ifndef _MYDTL_MYSQL_H_
#define _MYDTL_MYSQL_H_
#include <mysql.h>
#include <errmsg.h>
#include <time.h>
#include <memory.h>
#include <assert.h>
#include <stdint.h>
#include <string>
#include <vector>
#include <array>
#include <functional>
#include <algorithm>
#include "qtl_common.hpp"
namespace qtl
{
namespace mysq... | 20.378685 | 98 | 0.688439 | wyyrepo |
e0cf7c8d151c26e27a3288e475350f3d99645cc5 | 20,443 | cpp | C++ | src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/Volume.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 4 | 2017-06-17T22:03:56.000Z | 2019-01-25T10:51:55.000Z | src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/Volume.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | null | null | null | src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/Volume.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 3 | 2018-12-17T13:07:38.000Z | 2021-09-08T13:07:31.000Z | // Volume.cpp
//
// Copyright (c) 2003, Ingo Weinhold (bonefish@cs.tu-berlin.de)
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any... | 22.815848 | 79 | 0.706208 | axeld |
e0d4dc61b32e2f7cec5646eb3915ff1c82089f78 | 9,667 | cpp | C++ | src/Features/Demo/DemoGhostPlayer.cpp | Zyntex1/SourceAutoRecord | 7e1419183de2b7c9638ad6dc0cbb5701e4a392c0 | [
"MIT"
] | 42 | 2021-04-27T17:03:24.000Z | 2022-03-03T18:56:13.000Z | src/Features/Demo/DemoGhostPlayer.cpp | Zyntex1/SourceAutoRecord | 7e1419183de2b7c9638ad6dc0cbb5701e4a392c0 | [
"MIT"
] | 43 | 2021-04-27T21:20:06.000Z | 2022-03-22T12:45:46.000Z | src/Features/Demo/DemoGhostPlayer.cpp | Zyntex1/SourceAutoRecord | 7e1419183de2b7c9638ad6dc0cbb5701e4a392c0 | [
"MIT"
] | 29 | 2021-06-11T23:52:24.000Z | 2022-03-30T14:33:46.000Z | #include "DemoGhostPlayer.hpp"
#include "Event.hpp"
#include "Features/Demo/Demo.hpp"
#include "Features/Demo/DemoParser.hpp"
#include "Features/Session.hpp"
#include "Modules/Client.hpp"
#include "Modules/Engine.hpp"
#include "NetworkGhostPlayer.hpp"
#include "Utils.hpp"
#include <filesystem>
#include <fstream>
Va... | 29.744615 | 221 | 0.684494 | Zyntex1 |
e0dcbc40cbb13b4d70050e4722e5d7ad09e8b3bb | 892 | hpp | C++ | nacl/graph/flows/global-min-cut.hpp | ToxicPie/NaCl | 8cb50bacc25f2b99a33fb5938ea4ec9906d8d65c | [
"MIT"
] | 3 | 2021-08-31T17:51:01.000Z | 2021-11-13T16:22:25.000Z | nacl/graph/flows/global-min-cut.hpp | ToxicPie/NaCl | 8cb50bacc25f2b99a33fb5938ea4ec9906d8d65c | [
"MIT"
] | null | null | null | nacl/graph/flows/global-min-cut.hpp | ToxicPie/NaCl | 8cb50bacc25f2b99a33fb5938ea4ec9906d8d65c | [
"MIT"
] | null | null | null | /// source: KACTL
// weights is an adjacency matrix, undirected
pair<int, vi> getMinCut(vector<vi> &weights) {
int N = sz(weights);
vi used(N), cut, best_cut;
int best_weight = -1;
for (int phase = N - 1; phase >= 0; phase--) {
vi w = weights[0], added = used;
int prev, k = 0;
rep(i, 0, phase) {
... | 26.235294 | 57 | 0.463004 | ToxicPie |
e0df0273b7c8f10e91f8279b15f3d12f512589b3 | 10,791 | cpp | C++ | src/plugins/robots/attabot/real_robot/real_kheperaiv_camera_sensor.cpp | DiegoD616/argos3-ATTABOT | e909bf1432dbd6649450dbb95e4e9f68f375eefa | [
"MIT"
] | null | null | null | src/plugins/robots/attabot/real_robot/real_kheperaiv_camera_sensor.cpp | DiegoD616/argos3-ATTABOT | e909bf1432dbd6649450dbb95e4e9f68f375eefa | [
"MIT"
] | null | null | null | src/plugins/robots/attabot/real_robot/real_kheperaiv_camera_sensor.cpp | DiegoD616/argos3-ATTABOT | e909bf1432dbd6649450dbb95e4e9f68f375eefa | [
"MIT"
] | null | null | null | #include "real_attabot_camera_sensor.h"
#include <argos3/core/utility/logging/argos_log.h>
using SBlob = CCI_AttabotCameraSensor::SBlob;
using TBlobs = CCI_AttabotCameraSensor::TBlobs;
using TBlobFilters = CRealAttabotCameraSensor::TBlobFilters;
/****************************************/
/***************... | 32.503012 | 108 | 0.545177 | DiegoD616 |
e0e4b534090ee37444ac182878381278e6398224 | 2,352 | cpp | C++ | tests/8bppbackground/src/main.cpp | taellinglin/butano | 13b93c1296970262e047b728496908c036f7e789 | [
"Zlib"
] | null | null | null | tests/8bppbackground/src/main.cpp | taellinglin/butano | 13b93c1296970262e047b728496908c036f7e789 | [
"Zlib"
] | null | null | null | tests/8bppbackground/src/main.cpp | taellinglin/butano | 13b93c1296970262e047b728496908c036f7e789 | [
"Zlib"
] | null | null | null | //#include "bn_sprite_items_cursor_right.h"
//Background, Midground, Foreground
#include "bn_regular_bg_items_cutscene_background.h"
//Scene BGM
#include "bn_music_items.h"
#include "bn_music_actions.h"
#include "bn_sprite_text_generator.h"
#include "bn_core.h"
#include "bn_keypad.h"
#include "info.h"
#include "bn_o... | 31.783784 | 87 | 0.565901 | taellinglin |
e0f48cb01f68e2d7eeef5120a89dbdac0e6219cf | 12,686 | cpp | C++ | distributed/scheduler/Connection.cpp | taozhijiang/qmf | ed2a46222f7e6113b61fb36ce669190ed6e0965a | [
"Apache-2.0"
] | 1 | 2020-05-03T09:23:58.000Z | 2020-05-03T09:23:58.000Z | distributed/scheduler/Connection.cpp | taozhijiang/qmf | ed2a46222f7e6113b61fb36ce669190ed6e0965a | [
"Apache-2.0"
] | null | null | null | distributed/scheduler/Connection.cpp | taozhijiang/qmf | ed2a46222f7e6113b61fb36ce669190ed6e0965a | [
"Apache-2.0"
] | null | null | null |
/*-
* Copyright (c) 2020 taozhijiang@gmail.com
*
* Licensed under the BSD-3-Clause license, see LICENSE for full information.
*
*/
#include <fcntl.h>
#include <distributed/scheduler/Connection.h>
#include <distributed/scheduler/Scheduler.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google... | 29.297921 | 80 | 0.581744 | taozhijiang |
e0f65529003410e0b8be7001bf787223b834ecd2 | 312 | cpp | C++ | pattern.cpp | shoharto/cpp | 5e2e1a8341d16477e25618f52687324c3cec5acc | [
"Unlicense",
"MIT"
] | null | null | null | pattern.cpp | shoharto/cpp | 5e2e1a8341d16477e25618f52687324c3cec5acc | [
"Unlicense",
"MIT"
] | 3 | 2021-09-28T05:32:13.000Z | 2022-02-26T09:55:15.000Z | pattern.cpp | shoharto/cpp | 5e2e1a8341d16477e25618f52687324c3cec5acc | [
"Unlicense",
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int num;
cout << "Enter The Number: " << endl;
cin >> num;
for (int row = 1; row <= num; row++)
{
for (int col = 1; col <= row; col++)
{
cout << " "<< row;
}
cout<<endl;
}
return 0;
} | 15.6 | 44 | 0.426282 | shoharto |
e0f704d1565df66a1512ce84d6c8fe6b7979e0d2 | 917 | cpp | C++ | CPPSolutions/Hackerrank/BetweenTwoSets.cpp | Dilbarjot/CP | 2395c6c270e53277a7a020e5b467e517353bc229 | [
"MIT"
] | null | null | null | CPPSolutions/Hackerrank/BetweenTwoSets.cpp | Dilbarjot/CP | 2395c6c270e53277a7a020e5b467e517353bc229 | [
"MIT"
] | null | null | null | CPPSolutions/Hackerrank/BetweenTwoSets.cpp | Dilbarjot/CP | 2395c6c270e53277a7a020e5b467e517353bc229 | [
"MIT"
] | null | null | null | /**
** Created by dilbar on 2021-01-17
** Problem: https://www.hackerrank.com/challenges/between-two-sets/problem
**/
#include <bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
int getTotalX(vector<int> a, vector<int> b) {
int l = a.back();
int u = b.front();
int sol = 0;
for (int i = ... | 20.377778 | 75 | 0.411123 | Dilbarjot |
803d8447a1e8dfad902e1eee9b3e653d77a91b69 | 7,965 | hpp | C++ | c++/Ail/PoolManager.hpp | aamshukov/miscellaneous | 6fc0d2cb98daff70d14f87b2dfc4e58e61d2df60 | [
"MIT"
] | null | null | null | c++/Ail/PoolManager.hpp | aamshukov/miscellaneous | 6fc0d2cb98daff70d14f87b2dfc4e58e61d2df60 | [
"MIT"
] | null | null | null | c++/Ail/PoolManager.hpp | aamshukov/miscellaneous | 6fc0d2cb98daff70d14f87b2dfc4e58e61d2df60 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////
//......................................................................................
// This is a part of AI Library [Arthur's Interfaces Library]. .
// 1998-2001 Arthur Amshukov ... | 43.52459 | 183 | 0.452354 | aamshukov |
803e78bb5ce0d3fb57a608b9845294c68c810ad2 | 406 | hpp | C++ | include/rua/thread/wait/posix.hpp | yulon/rua | acb14aa0e60b68f09e88c726965552f7f4f5ace0 | [
"MIT"
] | null | null | null | include/rua/thread/wait/posix.hpp | yulon/rua | acb14aa0e60b68f09e88c726965552f7f4f5ace0 | [
"MIT"
] | null | null | null | include/rua/thread/wait/posix.hpp | yulon/rua | acb14aa0e60b68f09e88c726965552f7f4f5ace0 | [
"MIT"
] | null | null | null | #ifndef _RUA_THREAD_WAIT_POSIX_HPP
#define _RUA_THREAD_WAIT_POSIX_HPP
#include "../basic/posix.hpp"
#include "../../sched/await.hpp"
#include <pthread.h>
namespace rua { namespace posix {
inline generic_word thread::wait() {
if (!_id) {
return nullptr;
}
void *retval;
if (await(pthread_join, _id, &retval)) {... | 15.037037 | 41 | 0.692118 | yulon |
8041e803aa2936385916ee21939a086828559b13 | 730 | hpp | C++ | PUTM_EV_TELEMETRY_2022/Core/Inc/lib/CanHeaders/PM08-CANBUS-AQ_CARD.hpp | PUT-Motorsport/PUTM_EV_TELEMETRY_2022 | 808ed3e7c9b4263b541a804233e5905f6a9b4240 | [
"Apache-2.0"
] | null | null | null | PUTM_EV_TELEMETRY_2022/Core/Inc/lib/CanHeaders/PM08-CANBUS-AQ_CARD.hpp | PUT-Motorsport/PUTM_EV_TELEMETRY_2022 | 808ed3e7c9b4263b541a804233e5905f6a9b4240 | [
"Apache-2.0"
] | null | null | null | PUTM_EV_TELEMETRY_2022/Core/Inc/lib/CanHeaders/PM08-CANBUS-AQ_CARD.hpp | PUT-Motorsport/PUTM_EV_TELEMETRY_2022 | 808ed3e7c9b4263b541a804233e5905f6a9b4240 | [
"Apache-2.0"
] | 1 | 2021-11-22T20:06:58.000Z | 2021-11-22T20:06:58.000Z | //Generated on Sat Apr 30 12:45:21 2022
#ifndef AQ
#define AQ
#include <cstdint>
#include "lib/message_abstraction.hpp"
enum struct AQ_states: uint8_t {
Power_up,
Normal_operation,
Sensor_impossibility,
};
struct __attribute__ ((packed)) AQ_main{
uint16_t adc_susp_right;
uint16_t adc_susp_left; // i brake bala... | 23.548387 | 75 | 0.787671 | PUT-Motorsport |
8043f8454db65de0d7c09500f1dc8d766a0b08ba | 6,253 | cpp | C++ | Extern/mssdk_dx7/samples/Multimedia/DInput/src/MouseNon/mousenon.cpp | Ybalrid/orbiter | 7bed82f845ea8347f238011367e07007b0a24099 | [
"MIT"
] | 1,040 | 2021-07-27T12:12:06.000Z | 2021-08-02T14:24:49.000Z | Extern/mssdk_dx7/samples/Multimedia/DInput/src/MouseNon/mousenon.cpp | Ybalrid/orbiter | 7bed82f845ea8347f238011367e07007b0a24099 | [
"MIT"
] | 20 | 2021-07-27T12:25:22.000Z | 2021-08-02T12:22:19.000Z | Extern/mssdk_dx7/samples/Multimedia/DInput/src/MouseNon/mousenon.cpp | Ybalrid/orbiter | 7bed82f845ea8347f238011367e07007b0a24099 | [
"MIT"
] | 71 | 2021-07-27T14:19:49.000Z | 2021-08-02T05:51:52.000Z | //-----------------------------------------------------------------------------
// File: MouseNon.cpp
//
// Desc: Demonstrates an application which receives relative mouse data
// in non-exclusive mode via a dialog timer.
//
// Copyright (c) 1998-1999 Microsoft Corporation. All rights reserved.
//----------------... | 29.91866 | 79 | 0.489845 | Ybalrid |
804701c8137503507627112e52df23e851cd5eb7 | 6,690 | cpp | C++ | sample/console/esm_md.cpp | eel3/esm | da2f4a62e27896a0931b4a82f3b5ee428d5d8e9b | [
"Zlib"
] | 1 | 2020-01-11T10:34:18.000Z | 2020-01-11T10:34:18.000Z | sample/console/esm_md.cpp | eel3/esm | da2f4a62e27896a0931b4a82f3b5ee428d5d8e9b | [
"Zlib"
] | null | null | null | sample/console/esm_md.cpp | eel3/esm | da2f4a62e27896a0931b4a82f3b5ee428d5d8e9b | [
"Zlib"
] | null | null | null | /* ********************************************************************** */
/**
* @brief ESM: machdep implementation (sample && test application).
* @author eel3
* @date 2017-10-18
*/
/* ********************************************************************** */
#include "esm_md.h"
#include <casser... | 25.437262 | 77 | 0.398505 | eel3 |
8047e0f716757629bbe32536ae0550fd02866d8e | 565 | cpp | C++ | libs/multiprecision/test/test_eigen_interop_cpp_int.cpp | Talustus/boost_src | ffe074de008f6e8c46ae1f431399cf932164287f | [
"BSL-1.0"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | third_party/boost/libs/multiprecision/test/test_eigen_interop_cpp_int.cpp | avplayer/cxxrpc | 7049b4079fac78b3828e68f787d04d699ce52f6d | [
"BSL-1.0"
] | 1 | 2019-04-04T18:00:00.000Z | 2019-04-04T18:00:00.000Z | third_party/boost/libs/multiprecision/test/test_eigen_interop_cpp_int.cpp | avplayer/cxxrpc | 7049b4079fac78b3828e68f787d04d699ce52f6d | [
"BSL-1.0"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | ///////////////////////////////////////////////////////////////////////////////
// Copyright 2018 John Maddock. 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/multiprecision/cpp_int.hpp>
... | 31.388889 | 80 | 0.614159 | Talustus |
804802105c5a3a6950798246728cfb30a8ee20a3 | 313 | cpp | C++ | sort.cpp | Amanda-Chang/APCS_practice | 83ee6b62d6d18039440ac79f4763bd0d23bb6842 | [
"MIT"
] | null | null | null | sort.cpp | Amanda-Chang/APCS_practice | 83ee6b62d6d18039440ac79f4763bd0d23bb6842 | [
"MIT"
] | null | null | null | sort.cpp | Amanda-Chang/APCS_practice | 83ee6b62d6d18039440ac79f4763bd0d23bb6842 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
using namespace std;
int main() {
int arr[] = {4, 5, 8, 3, 7, 1, 2, 6, 10, 9};
sort(arr, arr+10);
cout << "sort array by default (increasing):" << endl;
for (int i = 0; i < 10; i++) {
cout << arr[i] << " ";
}
cout << endl;
return 0;
}
| 20.866667 | 58 | 0.495208 | Amanda-Chang |
804bb4607b5c8af2948cea6b32e27cb54e6c304a | 930 | hpp | C++ | src/backends/neon/workloads/NeonStridedSliceWorkload.hpp | Srivathsav-max/armnn-clone | af2daa6526623c91ee97f7141be4d1b07de92a48 | [
"MIT"
] | 1 | 2022-03-31T18:21:59.000Z | 2022-03-31T18:21:59.000Z | src/backends/neon/workloads/NeonStridedSliceWorkload.hpp | Elm8116/armnn | e571cde8411803aec545b1070ed677e481f46f3f | [
"MIT"
] | null | null | null | src/backends/neon/workloads/NeonStridedSliceWorkload.hpp | Elm8116/armnn | e571cde8411803aec545b1070ed677e481f46f3f | [
"MIT"
] | null | null | null | //
// Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include "NeonBaseWorkload.hpp"
#include <arm_compute/core/Error.h>
#include <arm_compute/runtime/IFunction.h>
#include <arm_compute/runtime/NEON/functions/NEStridedSlice.h>
#include <memory>
name... | 27.352941 | 102 | 0.705376 | Srivathsav-max |
804d040fbd23bb770b61f495c0469ab333002f70 | 344 | cpp | C++ | src/operator_c/buffer/consdest.cpp | ichi-rika/glottal-inverse | c922ed540278e3c8eec528c2cf66b89e6d310575 | [
"MIT"
] | 6 | 2019-01-24T17:01:28.000Z | 2021-05-26T16:22:08.000Z | src/operator_c/buffer/consdest.cpp | ichi-rika/glottal-inverse | c922ed540278e3c8eec528c2cf66b89e6d310575 | [
"MIT"
] | null | null | null | src/operator_c/buffer/consdest.cpp | ichi-rika/glottal-inverse | c922ed540278e3c8eec528c2cf66b89e6d310575 | [
"MIT"
] | 2 | 2019-04-27T00:23:35.000Z | 2020-03-27T14:41:25.000Z | #include "operators.h"
#include "operators_buffer.h"
OperatorBuffer::OperatorBuffer()
{
// read into m_data
readCompressedFiles();
decompressFiles();
}
OperatorBuffer::~OperatorBuffer()
{
for (auto& entry : m_data) {
free(entry.second);
}
for (auto& mat : m_mats) {
gsl_matr... | 13.76 | 33 | 0.616279 | ichi-rika |
805605c6dbe7ead087b9d195b59e96220b38a9c6 | 6,481 | cpp | C++ | thirdparty/ULib/tests/ulib/test_rdb_client.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | thirdparty/ULib/tests/ulib/test_rdb_client.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | thirdparty/ULib/tests/ulib/test_rdb_client.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | // test_rdb_client.cpp
#include <ulib/string.h>
#include <ulib/net/tcpsocket.h>
#include <ulib/net/client/client_rdb.h>
static void print(UStringRep* key, UStringRep* data)
{
U_TRACE(5, "::print(%.*S,%.*S)", U_STRING_TO_TRACE(*key), U_STRING_TO_TRACE(*data))
cout << UString(key) << "->" << UString(data) << end... | 28.425439 | 338 | 0.583243 | liftchampion |
8061a29b03a69b701653b84fbd1b35acac60512e | 211 | cpp | C++ | memecity.engine/Engine/SDL/Wrappers/Color.cpp | TvanBronswijk/memecity | f0410fb72d5484a642be90964defb87654ebd66b | [
"MIT"
] | null | null | null | memecity.engine/Engine/SDL/Wrappers/Color.cpp | TvanBronswijk/memecity | f0410fb72d5484a642be90964defb87654ebd66b | [
"MIT"
] | 4 | 2018-10-01T09:44:02.000Z | 2018-12-10T12:08:39.000Z | memecity.engine/Engine/SDL/Wrappers/Color.cpp | TvanBronswijk/memecity | f0410fb72d5484a642be90964defb87654ebd66b | [
"MIT"
] | null | null | null | #include "Color.h"
namespace memecity::engine::sdl {
Color::Color(Uint8 r, Uint8 g, Uint8 b, Uint8 a)
{
sdl_color = { r, g, b , a };
}
SDL_Color Color::get_sdl_color() const
{
return sdl_color;
}
}
| 15.071429 | 49 | 0.630332 | TvanBronswijk |
8062d6a6b1b5d78ba42ec5b289c021ae70a6cb23 | 178 | cpp | C++ | ch01/after_practice/002.cpp | mingxiali3/DataStructure | 1703755e6f74d754cc6ba59e055fd176bdde1c4b | [
"Apache-2.0"
] | null | null | null | ch01/after_practice/002.cpp | mingxiali3/DataStructure | 1703755e6f74d754cc6ba59e055fd176bdde1c4b | [
"Apache-2.0"
] | null | null | null | ch01/after_practice/002.cpp | mingxiali3/DataStructure | 1703755e6f74d754cc6ba59e055fd176bdde1c4b | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int sum = 0;
for(int i = -5; i<= 100 ;i=i+7)
sum = sum +1;
cout << "sum : " << sum << endl;
return 0;
} | 17.8 | 36 | 0.5 | mingxiali3 |
8066232c745b9fd715b734089c36a13834dac452 | 811 | cpp | C++ | P/3366.cpp | langonginc/cfile | 46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f | [
"MIT"
] | 1 | 2020-09-13T02:51:25.000Z | 2020-09-13T02:51:25.000Z | P/3366.cpp | langonginc/cfile | 46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f | [
"MIT"
] | null | null | null | P/3366.cpp | langonginc/cfile | 46458897b8a4a8d58a2bc63ecb6ef84f76bdb61f | [
"MIT"
] | 1 | 2021-06-05T03:37:57.000Z | 2021-06-05T03:37:57.000Z | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<queue>
#include<set>
#include<climits>
#include<algorithm>
using namespace std;
const int INF=INT_MAX;
const int inf=300000;
struct node{
int u,v,w;
bool operator<(const node &a)const{
return w<a.w;
}
}ph[inf];
int n,m,f[inf],ans=0,c=... | 14.745455 | 45 | 0.567201 | langonginc |
806a83488ea67e8368adec392bab43be72ade63e | 107,237 | cpp | C++ | test/adiar/internal/test_levelized_priority_queue.cpp | logsem/adiar | 056c62a37eedcc5a9e46ccc8c235b5aacedebe32 | [
"MIT"
] | null | null | null | test/adiar/internal/test_levelized_priority_queue.cpp | logsem/adiar | 056c62a37eedcc5a9e46ccc8c235b5aacedebe32 | [
"MIT"
] | null | null | null | test/adiar/internal/test_levelized_priority_queue.cpp | logsem/adiar | 056c62a37eedcc5a9e46ccc8c235b5aacedebe32 | [
"MIT"
] | null | null | null | #include <adiar/internal/levelized_priority_queue.h>
using namespace adiar;
struct pq_test_data {
label_t label;
uint64_t nonce;
};
namespace adiar
{
template <>
struct FILE_CONSTANTS<pq_test_data>
{
static constexpr size_t files = 1u;
};
}
bool operator== (const pq_test_data &a, const pq_test_data ... | 32.744122 | 106 | 0.522982 | logsem |
806d669014ed04684d2d427201fa98c268a344c5 | 179 | cpp | C++ | lib/world/villager.cpp | julienlopez/QCityBuilder | fe61a56bcdeda301211d49a9e358258eefafa14c | [
"MIT"
] | 1 | 2019-03-19T03:14:22.000Z | 2019-03-19T03:14:22.000Z | lib/world/villager.cpp | julienlopez/QCityBuilder | fe61a56bcdeda301211d49a9e358258eefafa14c | [
"MIT"
] | 11 | 2015-01-27T17:35:12.000Z | 2018-08-13T07:48:35.000Z | lib/world/villager.cpp | julienlopez/QCityBuilder | fe61a56bcdeda301211d49a9e358258eefafa14c | [
"MIT"
] | null | null | null | #include "villager.hpp"
namespace World
{
Villager::Villager(const City& city)
: m_city(city)
{
}
auto Villager::state() const -> State
{
return m_state;
}
} // World
| 10.529412 | 37 | 0.648045 | julienlopez |
80715ff3ed17de53c7c5b8feac35970bdcf6f490 | 638 | cpp | C++ | modules/renders/rendergl/src/editor/rhiwrapper.cpp | thunder-engine/thunder | 14a70d46532b8b78635835fc05c0ac2f33a12d8b | [
"Apache-2.0"
] | 162 | 2020-09-18T19:42:43.000Z | 2022-03-30T20:27:42.000Z | modules/renders/rendergl/src/editor/rhiwrapper.cpp | thunder-engine/thunder | 14a70d46532b8b78635835fc05c0ac2f33a12d8b | [
"Apache-2.0"
] | 162 | 2020-10-10T11:16:52.000Z | 2022-03-30T17:09:11.000Z | modules/renders/rendergl/src/editor/rhiwrapper.cpp | thunder-engine/thunder | 14a70d46532b8b78635835fc05c0ac2f33a12d8b | [
"Apache-2.0"
] | 12 | 2020-10-18T09:16:35.000Z | 2022-01-08T11:23:17.000Z | #include "editor/rhiwrapper.h"
#include "editor/openglwindow.h"
#include <QOpenGLContext>
#include <QOffscreenSurface>
QWindow *createWindow() {
return new OpenGLWindow();
}
void makeCurrent() {
static QOffscreenSurface *surface = nullptr;
static QOpenGLContext *context = nullptr;
if(surface == nul... | 22.785714 | 71 | 0.675549 | thunder-engine |
8072f7cd2f0189a57e555a737f4337886e133df0 | 9,165 | hpp | C++ | Peridigm/Code/Energy_damage_criterion/src/materials/Peridigm_Material.hpp | oldninja/PeriDoX | f31bccc7b8ea60cd814d00732aebdbbe876a2ac7 | [
"BSD-3-Clause"
] | null | null | null | Peridigm/Code/Energy_damage_criterion/src/materials/Peridigm_Material.hpp | oldninja/PeriDoX | f31bccc7b8ea60cd814d00732aebdbbe876a2ac7 | [
"BSD-3-Clause"
] | null | null | null | Peridigm/Code/Energy_damage_criterion/src/materials/Peridigm_Material.hpp | oldninja/PeriDoX | f31bccc7b8ea60cd814d00732aebdbbe876a2ac7 | [
"BSD-3-Clause"
] | null | null | null | /*! \file Peridigm_Material.hpp */
//@HEADER
// ************************************************************************
//
// Peridigm
// Copyright (2011) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government ... | 43.851675 | 141 | 0.674741 | oldninja |
807335be0edef7d01fc69aefcf24a7337161344e | 15,585 | cpp | C++ | libyangrtc2/src/yangaudiodev/linux/YangAlsaDeviceHandle.cpp | yangxinghai/yangrtc | 92cc28ade5af6cbe22c151cd1220ab12816694e7 | [
"MIT"
] | 23 | 2021-09-13T06:24:34.000Z | 2022-03-24T10:05:12.000Z | libyangrtc2/src/yangaudiodev/linux/YangAlsaDeviceHandle.cpp | yangxinghai/yangrtc | 92cc28ade5af6cbe22c151cd1220ab12816694e7 | [
"MIT"
] | null | null | null | libyangrtc2/src/yangaudiodev/linux/YangAlsaDeviceHandle.cpp | yangxinghai/yangrtc | 92cc28ade5af6cbe22c151cd1220ab12816694e7 | [
"MIT"
] | 9 | 2021-09-13T06:27:44.000Z | 2022-03-02T00:23:17.000Z | #include <yangaudiodev/linux/YangAlsaDeviceHandle.h>
#ifndef _WIN32
#include <stdlib.h>
#include <malloc.h>
YangAlsaDeviceHandle::YangAlsaDeviceHandle(YangContext *pcontext) {
m_context = pcontext;
m_ahandle = new YangAudioCaptureHandle(pcontext);
m_audioPlayCacheNum = m_context->audio.audioPlayCacheNum;
aIndex ... | 26.824441 | 92 | 0.690728 | yangxinghai |
80765c8617c2b91c1ece9ab1e8924507cf5fb583 | 3,125 | cc | C++ | core/map_recognise.cc | Arpan-2109/caroline | 23aba9ac9a35697c02358aeb88ed121d3d97a99c | [
"MIT"
] | 1 | 2017-07-27T15:08:19.000Z | 2017-07-27T15:08:19.000Z | core/map_recognise.cc | Arpan-2109/caroline | 23aba9ac9a35697c02358aeb88ed121d3d97a99c | [
"MIT"
] | null | null | null | core/map_recognise.cc | Arpan-2109/caroline | 23aba9ac9a35697c02358aeb88ed121d3d97a99c | [
"MIT"
] | 1 | 2020-10-01T08:46:10.000Z | 2020-10-01T08:46:10.000Z | // Copyright (c) 2014 The Caroline authors. All rights reserved.
// Use of this source file is governed by a MIT license that can be found in the
// LICENSE file.
/// @author Sirotkin Dmitry <dmitriy.v.sirotkin@gmail.com
#include "core/depth_map.h"
#include "core/map_recognise.h"
#include "core/median_map_filter.h"
n... | 29.761905 | 80 | 0.5616 | Arpan-2109 |
8076a6b0de61ebadc7e63e94a179d2d0fdaf19cd | 1,184 | cc | C++ | src/zone-container-base-test.cc | emptyland/mio | 77ec9737b4002820c31fca241aaa6711a7391285 | [
"BSD-2-Clause"
] | null | null | null | src/zone-container-base-test.cc | emptyland/mio | 77ec9737b4002820c31fca241aaa6711a7391285 | [
"BSD-2-Clause"
] | null | null | null | src/zone-container-base-test.cc | emptyland/mio | 77ec9737b4002820c31fca241aaa6711a7391285 | [
"BSD-2-Clause"
] | null | null | null | #include "zone-container-base.h"
#include "gtest/gtest.h"
namespace mio {
class ZoneLinkedArrayTest : public ::testing::Test {
public:
virtual void SetUp() override {
zone_ = new Zone;
}
virtual void TearDown() override {
delete zone_;
}
protected:
Zone *zone_;
};
TEST_F(ZoneLin... | 23.68 | 76 | 0.663851 | emptyland |
807e172268f05730d2f9ebe7bd6555ac2a29c5b5 | 7,332 | cpp | C++ | test/blackbox/implementations/ImplementationsTest.cpp | rockstarartist/DDS-Router | 245099e5e1be584e9d37e9b16648183ab383d727 | [
"Apache-2.0"
] | null | null | null | test/blackbox/implementations/ImplementationsTest.cpp | rockstarartist/DDS-Router | 245099e5e1be584e9d37e9b16648183ab383d727 | [
"Apache-2.0"
] | null | null | null | test/blackbox/implementations/ImplementationsTest.cpp | rockstarartist/DDS-Router | 245099e5e1be584e9d37e9b16648183ab383d727 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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... | 28.529183 | 111 | 0.688625 | rockstarartist |
807e4e4e0a3406f942bcf8cc76f36db159b39101 | 997 | cpp | C++ | src/nomad/Application.cpp | manning390/Nomad | d2a7aabb9bd4cfe56cc37bd786533634f019c02a | [
"MIT"
] | null | null | null | src/nomad/Application.cpp | manning390/Nomad | d2a7aabb9bd4cfe56cc37bd786533634f019c02a | [
"MIT"
] | null | null | null | src/nomad/Application.cpp | manning390/Nomad | d2a7aabb9bd4cfe56cc37bd786533634f019c02a | [
"MIT"
] | null | null | null | #include "Application.hpp"
#include "State/IntroState.hpp"
#include <SFML/Graphics/Image.hpp>
Application::Application() {
initConfig();
};
void Application::run() {
// Output so we know we're running
std::cout << config["ver"] << std::endl;
// Create window
window.create(sf::VideoMode{config.get... | 24.925 | 142 | 0.617854 | manning390 |
808044210e72f46f116c150299614c5845714d76 | 4,499 | cpp | C++ | src/core/view-access-interface.cpp | nenad/wayfire | 9b36acf0c032da39477f60214a7ba1cd549da44c | [
"MIT"
] | null | null | null | src/core/view-access-interface.cpp | nenad/wayfire | 9b36acf0c032da39477f60214a7ba1cd549da44c | [
"MIT"
] | null | null | null | src/core/view-access-interface.cpp | nenad/wayfire | 9b36acf0c032da39477f60214a7ba1cd549da44c | [
"MIT"
] | null | null | null | #include "wayfire/condition/access_interface.hpp"
#include "wayfire/output.hpp"
#include "wayfire/view.hpp"
#include "wayfire/view-access-interface.hpp"
#include "wayfire/workspace-manager.hpp"
#include <algorithm>
#include <iostream>
#include <string>
#include <wlr/util/edges.h>
#include "config.h"
#if WF_HAS_XWAYLAN... | 25.856322 | 84 | 0.537008 | nenad |
808364c83cec32ecfb0275686edcb9964d5dcc65 | 10,120 | cpp | C++ | HN_CSS/HN_StringCSS.cpp | Jusdetalent/JT_Network | 9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba | [
"MIT"
] | 1 | 2019-09-01T05:10:01.000Z | 2019-09-01T05:10:01.000Z | HN_CSS/HN_StringCSS.cpp | Jusdetalent/JT_Network | 9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba | [
"MIT"
] | null | null | null | HN_CSS/HN_StringCSS.cpp | Jusdetalent/JT_Network | 9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba | [
"MIT"
] | null | null | null |
/*
* Style source file
* Henock @ Comedac :: 18/ 02/ 2017
*/
#include "HN_StringCSS.hpp"
#include <iostream>
bool isNextCharacter(const char *buffer, int c, int &cur_pos_t)
{
int cur_pos = cur_pos_t;
int i;
for(i = buffer[cur_pos_t]; i != '\0'; i = buffer[cur_pos_t])
{
... | 26.149871 | 94 | 0.356719 | Jusdetalent |
808583063727d07dfa1b91b21b9a72831e9264e1 | 2,382 | cpp | C++ | Kernel/Filesystem/fat.cpp | foragerDev/GevOS | f21c8432dd63ab583d9132422bf313ebf60557e8 | [
"Unlicense"
] | null | null | null | Kernel/Filesystem/fat.cpp | foragerDev/GevOS | f21c8432dd63ab583d9132422bf313ebf60557e8 | [
"Unlicense"
] | null | null | null | Kernel/Filesystem/fat.cpp | foragerDev/GevOS | f21c8432dd63ab583d9132422bf313ebf60557e8 | [
"Unlicense"
] | null | null | null | #include "fat.hpp"
/*Read only*/
void ReadBiosBlock(AdvancedTechnologyAttachment* hd, uint32_t partitionOffset)
{
BiosParameterBlock32 bpb;
hd->Read28(partitionOffset, (uint8_t*)&bpb, sizeof(BiosParameterBlock32));
printf("sectors per cluster: ");
printf("%x", bpb.sectorsPerCluster);
printf("\n");... | 35.552239 | 103 | 0.594458 | foragerDev |
808602874830dbaf5c0699b132f5e0f26c9a950e | 300 | cpp | C++ | Classes/ShopScene.cpp | JungSeBin/YAS | f94370e183b7458f2b5a281f76df2ff537e74652 | [
"MIT"
] | null | null | null | Classes/ShopScene.cpp | JungSeBin/YAS | f94370e183b7458f2b5a281f76df2ff537e74652 | [
"MIT"
] | null | null | null | Classes/ShopScene.cpp | JungSeBin/YAS | f94370e183b7458f2b5a281f76df2ff537e74652 | [
"MIT"
] | null | null | null | #include "ShopScene.h"
USING_NS_CC;
Scene* ShopScene::createScene()
{
auto scene = Scene::create();
auto layer = ShopScene::create();
scene->addChild(layer);
return scene;
}
bool ShopScene::init()
{
if (!Layer::init())
{
return false;
}
return true;
}
| 11.538462 | 37 | 0.583333 | JungSeBin |
8086b4dfc34392b92cf27de43fe6068403a34e8c | 2,815 | hh | C++ | src/hsd/deps/hitman/sat/inc/alg.hh | alexeyignatiev/mbd-mobs | 20aee8de147387f61d48777c3949e2ab00aa954e | [
"MIT"
] | null | null | null | src/hsd/deps/hitman/sat/inc/alg.hh | alexeyignatiev/mbd-mobs | 20aee8de147387f61d48777c3949e2ab00aa954e | [
"MIT"
] | null | null | null | src/hsd/deps/hitman/sat/inc/alg.hh | alexeyignatiev/mbd-mobs | 20aee8de147387f61d48777c3949e2ab00aa954e | [
"MIT"
] | null | null | null | /*******************************************************************************************[Alg.h]
Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson
Copyright (c) 2007-2010, Niklas Sorensson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation ... | 33.117647 | 99 | 0.547425 | alexeyignatiev |
808a403ca23ed302345ed42bfc79d18d9951d6e9 | 6,728 | cpp | C++ | source/Graphics/texture_opengl.cpp | deadmann/cerberus | 749f8e90bd87b2d8737c57a599979939b2774916 | [
"BSD-2-Clause"
] | null | null | null | source/Graphics/texture_opengl.cpp | deadmann/cerberus | 749f8e90bd87b2d8737c57a599979939b2774916 | [
"BSD-2-Clause"
] | null | null | null | source/Graphics/texture_opengl.cpp | deadmann/cerberus | 749f8e90bd87b2d8737c57a599979939b2774916 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2010 Steven Noonan <steven@uplinklabs.net>
* and Miah Clayton <miah@ferrousmoon.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. Redistribut... | 33.64 | 132 | 0.682224 | deadmann |
808e1fc31bc897d034394976621d1496590ca6f7 | 2,527 | cpp | C++ | cv/cvfilter.cpp | hoozh/emcv | e61b1d5ad16c255f0306d0e9feb8f32e3a92d97f | [
"BSD-3-Clause"
] | null | null | null | cv/cvfilter.cpp | hoozh/emcv | e61b1d5ad16c255f0306d0e9feb8f32e3a92d97f | [
"BSD-3-Clause"
] | null | null | null | cv/cvfilter.cpp | hoozh/emcv | e61b1d5ad16c255f0306d0e9feb8f32e3a92d97f | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, install,... | 48.596154 | 90 | 0.650574 | hoozh |
80908fb70407131cce0adf25991b2980aa567349 | 6,466 | cpp | C++ | examples/multithreading/game/roomstorageloader.cpp | mamontov-cpp/saddy | f20a0030e18af9e0714fe56c19407fbeacc529a7 | [
"BSD-2-Clause"
] | 58 | 2015-08-09T14:56:35.000Z | 2022-01-15T22:06:58.000Z | examples/multithreading/game/roomstorageloader.cpp | mamontov-cpp/saddy-graphics-engine-2d | e25a6637fcc49cb26614bf03b70e5d03a3a436c7 | [
"BSD-2-Clause"
] | 245 | 2015-08-08T08:44:22.000Z | 2022-01-04T09:18:08.000Z | examples/multithreading/game/roomstorageloader.cpp | mamontov-cpp/saddy | f20a0030e18af9e0714fe56c19407fbeacc529a7 | [
"BSD-2-Clause"
] | 23 | 2015-12-06T03:57:49.000Z | 2020-10-12T14:15:50.000Z | #include <utility>
#include <utility>
#include "roomstorageloader.h"
#include <p2d/rectangle.h>
#include <geometry2d.h>
// ====================================== PUBLIC METHODS ======================================
game::RoomStorageLoader::RoomStorageLoader(
const sad::Vector<sad::Sprite2D*>& sprites,
do... | 29.525114 | 114 | 0.549954 | mamontov-cpp |
8094c3ad77ff9ea9f5dd641c8448f06d736eb44e | 5,067 | hpp | C++ | include/graph/impl/voxel_grid_graph_builder.hpp | edlabbe/3d-tests | f78acc61d5dc5b73f0f645bcb89bc3b8e4e7bb6a | [
"BSD-2-Clause"
] | null | null | null | include/graph/impl/voxel_grid_graph_builder.hpp | edlabbe/3d-tests | f78acc61d5dc5b73f0f645bcb89bc3b8e4e7bb6a | [
"BSD-2-Clause"
] | null | null | null | include/graph/impl/voxel_grid_graph_builder.hpp | edlabbe/3d-tests | f78acc61d5dc5b73f0f645bcb89bc3b8e4e7bb6a | [
"BSD-2-Clause"
] | null | null | null | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2014-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | 34.469388 | 92 | 0.685021 | edlabbe |
8094c62e2614d5eec849a5f35b2c0a3548be2ad8 | 15,204 | cpp | C++ | sources/lib/SG_Gas.cpp | Sphinkie/StarGen-II | acc23bdbeef564d9e538d26611cd92e4b5bb9634 | [
"MIT"
] | 7 | 2020-09-12T14:55:17.000Z | 2022-01-06T02:47:31.000Z | sources/lib/SG_Gas.cpp | Sphinkie/StarGen-II | acc23bdbeef564d9e538d26611cd92e4b5bb9634 | [
"MIT"
] | 1 | 2021-10-21T04:51:57.000Z | 2021-11-01T16:17:27.000Z | sources/lib/SG_Gas.cpp | Sphinkie/StarGen-II | acc23bdbeef564d9e538d26611cd92e4b5bb9634 | [
"MIT"
] | null | null | null | /* ------------------------------------------------------------------------- */
// File : SG_Gas.cpp
// Project : Star Gen
// Author C++ : David de Lorenzo
// Author C : Jim Burrows (see Credits.txt)
/* ------------------------------------------------------------------------- */
#include <math.h>
#include ... | 36.460432 | 110 | 0.496448 | Sphinkie |
809d6fb9ba55653c9e28f9585aaadf087d1800e8 | 180 | hpp | C++ | Toya-Core/src/CoreDrivers/ToyaCoreDrivers.hpp | Ahmed-YehiaGPEL/Toya-Engine | 16c8e170b2f5022ec56da4ee4223f351726665f3 | [
"MIT"
] | 2 | 2017-05-14T19:07:29.000Z | 2017-05-15T03:26:06.000Z | Toya-Core/src/CoreDrivers/ToyaCoreDrivers.hpp | Ahmed-YehiaGPEL/Toya-Engine | 16c8e170b2f5022ec56da4ee4223f351726665f3 | [
"MIT"
] | 1 | 2017-10-13T11:22:39.000Z | 2017-10-13T11:22:39.000Z | Toya-Core/src/CoreDrivers/ToyaCoreDrivers.hpp | Ahmed-YehiaGPEL/Toya-Engine | 16c8e170b2f5022ec56da4ee4223f351726665f3 | [
"MIT"
] | null | null | null | #pragma once
#include "../CoreDrivers/Time.hpp"
#include "../CoreDrivers/Screen.hpp"
#include "RenderDriver.hpp"
#include "src/Scenes/Scene.hpp"
#include "../CoreDrivers/Color.hpp" | 30 | 36 | 0.744444 | Ahmed-YehiaGPEL |
80a5f57cfc0b19172067086b853d0081e7fc1b45 | 963 | cpp | C++ | Number Theory/Big Mod-UVA - 374.cpp | Nazm-nahid/Code_Box-Topic-Wise- | 2066a9ec83b0500b7ba8be86fbe93cdf027a2da8 | [
"MIT"
] | null | null | null | Number Theory/Big Mod-UVA - 374.cpp | Nazm-nahid/Code_Box-Topic-Wise- | 2066a9ec83b0500b7ba8be86fbe93cdf027a2da8 | [
"MIT"
] | null | null | null | Number Theory/Big Mod-UVA - 374.cpp | Nazm-nahid/Code_Box-Topic-Wise- | 2066a9ec83b0500b7ba8be86fbe93cdf027a2da8 | [
"MIT"
] | null | null | null | // BISMILLAHIR_RAHMANIR_RAHIM
#include <bits/stdc++.h>
#define ll long long
#define sn1(a) scanf("%lld",&a)
#define sn2(a,b) scanf("%lld %lld",&a,&b)
#define pn1(a) printf("%lld\n", a)
#define pn2(a,b) printf("%lld %lld\n",a,b)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ... | 18.519231 | 52 | 0.502596 | Nazm-nahid |
80a63c366d8b85f99edee5e71be21f713fd3ff10 | 4,574 | cpp | C++ | osra-2.1.0-1/src/osra_java.cpp | CHEMeDATA/fixingmolfile | 07a96440f957a31cb555a92f46098e0ef87f27ae | [
"MIT"
] | null | null | null | osra-2.1.0-1/src/osra_java.cpp | CHEMeDATA/fixingmolfile | 07a96440f957a31cb555a92f46098e0ef87f27ae | [
"MIT"
] | 5 | 2020-04-01T16:05:15.000Z | 2020-04-02T07:40:10.000Z | osra-2.1.0-1/src/osra_java.cpp | CHEMeDATA/fixingmolfiles | 07a96440f957a31cb555a92f46098e0ef87f27ae | [
"MIT"
] | null | null | null | /******************************************************************************
OSRA: Optical Structure Recognition Application
Created by Igor Filippov, 2007-2013 (igor.v.filippov@gmail.com)
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License ... | 34.651515 | 223 | 0.677525 | CHEMeDATA |
80a8013d8bb5935d7f26cd843284246fd23ff0c2 | 6,102 | cpp | C++ | client/lib/gain.cpp | sssssssuzuki/autd3-library-software | 9f8382d099a38c0feb48176896db2f4db251ce40 | [
"MIT"
] | null | null | null | client/lib/gain.cpp | sssssssuzuki/autd3-library-software | 9f8382d099a38c0feb48176896db2f4db251ce40 | [
"MIT"
] | null | null | null | client/lib/gain.cpp | sssssssuzuki/autd3-library-software | 9f8382d099a38c0feb48176896db2f4db251ce40 | [
"MIT"
] | null | null | null | // File: gain.cpp
// Project: lib
// Created Date: 01/06/2016
// Author: Seki Inoue
// -----
// Last Modified: 27/12/2020
// Modified By: Shun Suzuki (suzuki@hapis.k.u-tokyo.ac.jp)
// -----
// Copyright (c) 2020 Hapis Lab. All rights reserved.
//
#include "gain.hpp"
#include <memory>
#include <vector>
#include "con... | 32.115789 | 144 | 0.677483 | sssssssuzuki |
80ab7d0bf4eadfa03ea248f27298c732eaea9196 | 3,104 | cpp | C++ | contests/leetcode-194/d.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 23 | 2020-03-30T05:44:56.000Z | 2021-09-04T16:00:57.000Z | contests/leetcode-194/d.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 1 | 2020-05-10T15:04:05.000Z | 2020-06-14T01:21:44.000Z | contests/leetcode-194/d.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 6 | 2020-03-30T05:45:04.000Z | 2020-08-13T10:01:39.000Z | #include <bits/stdc++.h>
#define INF 2000000000
using namespace std;
typedef long long ll;
int read(){
int f = 1, x = 0;
char c = getchar();
while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();}
while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar();
return f * x;
}
struct TreeNod... | 25.235772 | 95 | 0.458119 | Nightwish-cn |
80b2ceeb3adcd248c3c09f0d18129740c95fb158 | 2,348 | cpp | C++ | examples/allocator.cpp | lyrahgames/buddy-system | c45fc44c95af566666f5b1d8780e2941b7c12869 | [
"MIT"
] | null | null | null | examples/allocator.cpp | lyrahgames/buddy-system | c45fc44c95af566666f5b1d8780e2941b7c12869 | [
"MIT"
] | null | null | null | examples/allocator.cpp | lyrahgames/buddy-system | c45fc44c95af566666f5b1d8780e2941b7c12869 | [
"MIT"
] | null | null | null | #include <iomanip>
#include <iostream>
#include <list>
#include <vector>
//
#include <lyrahgames/buddy_system/buddy_system.hpp>
using namespace std;
using namespace lyrahgames;
template <typename T>
using my_vector = vector<T, buddy_system::allocator<T>>;
template <typename T>
using my_list = list<T, buddy_system::al... | 24.715789 | 80 | 0.57368 | lyrahgames |
80b75a26e512873a340f89fdbeb9065b1122f9f5 | 3,506 | tcc | C++ | ulmblas/level2/trumv.tcc | sneha0401/ulmBLAS | 2b7665c6abc1784fe4041febd9d12de519ef4f08 | [
"BSD-3-Clause"
] | 95 | 2015-05-14T15:21:44.000Z | 2022-03-17T08:02:08.000Z | ulmblas/level2/trumv.tcc | sneha0401/ulmBLAS | 2b7665c6abc1784fe4041febd9d12de519ef4f08 | [
"BSD-3-Clause"
] | 4 | 2020-06-25T14:59:49.000Z | 2022-02-16T12:45:00.000Z | ulmblas/level2/trumv.tcc | sneha0401/ulmBLAS | 2b7665c6abc1784fe4041febd9d12de519ef4f08 | [
"BSD-3-Clause"
] | 40 | 2015-09-14T02:43:43.000Z | 2021-12-26T11:43:36.000Z | #ifndef ULMBLAS_LEVEL2_TRUMV_TCC
#define ULMBLAS_LEVEL2_TRUMV_TCC 1
#include <ulmblas/auxiliary/conjugate.h>
#include <ulmblas/level1extensions/axpyf.h>
#include <ulmblas/level1extensions/dotxf.h>
#include <ulmblas/level2/gemv.h>
#include <ulmblas/level2/trumv.h>
namespace ulmBLAS {
template <typename IndexType, typ... | 28.737705 | 80 | 0.49401 | sneha0401 |
80b9a2ca90310bfbf6d33372dc0cc1a35696d402 | 8,526 | cxx | C++ | samples/mediafile/mediafile_test.cxx | sverdlin/opalvoip-ptlib | f6e144cba6a94c2978b9a4dbe0df2f5d53bed3be | [
"Beerware"
] | null | null | null | samples/mediafile/mediafile_test.cxx | sverdlin/opalvoip-ptlib | f6e144cba6a94c2978b9a4dbe0df2f5d53bed3be | [
"Beerware"
] | null | null | null | samples/mediafile/mediafile_test.cxx | sverdlin/opalvoip-ptlib | f6e144cba6a94c2978b9a4dbe0df2f5d53bed3be | [
"Beerware"
] | null | null | null | /*
* mediafile_test.cxx
*
* Test program for Media File abstraction.
*
* Portable Tools Library
*
* Copyright (c) 2017 Vox Lucida Pty. Ltd.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License.... | 31.116788 | 114 | 0.59125 | sverdlin |
80bb38c2890cc4e280f37b961fcae164c0f453d6 | 8,013 | cpp | C++ | azureeyemodule/app/model/objectdetector.cpp | RuinedStar/azure-percept-advanced-development | 17fb87aec364bcedbbe4dd6feb411065b8f160bb | [
"MIT"
] | null | null | null | azureeyemodule/app/model/objectdetector.cpp | RuinedStar/azure-percept-advanced-development | 17fb87aec364bcedbbe4dd6feb411065b8f160bb | [
"MIT"
] | null | null | null | azureeyemodule/app/model/objectdetector.cpp | RuinedStar/azure-percept-advanced-development | 17fb87aec364bcedbbe4dd6feb411065b8f160bb | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// Standard library includes
#include <fstream>
#include <iomanip>
#include <sstream>
#include <string>
#include <vector>
// Third party includes
#include <opencv2/gapi/mx.hpp>
#include <opencv2/gapi/core.hpp>
#include <opencv2/gapi/infer.hpp>... | 36.756881 | 223 | 0.631349 | RuinedStar |
01ec24b338070ce553200393ad77e442335dbd6b | 6,283 | cpp | C++ | tests/rayleightiming.cpp | maexlich/opencurrent | a51c5a8105563d2f7e260ee7debf79bda2c2dcf0 | [
"Apache-2.0"
] | 4 | 2016-11-16T15:29:31.000Z | 2018-03-27T03:29:14.000Z | tests/rayleightiming.cpp | laosunhust/FluidSolver | d0c7fa235853863efdf44b742c70cf6673c8cf9e | [
"Apache-2.0"
] | 1 | 2020-01-26T12:29:00.000Z | 2020-01-26T13:56:20.000Z | tests/rayleightiming.cpp | laosunhust/FluidSolver | d0c7fa235853863efdf44b742c70cf6673c8cf9e | [
"Apache-2.0"
] | 1 | 2018-02-14T16:13:13.000Z | 2018-02-14T16:13:13.000Z | /*
* Copyright 2008-2009 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 29.087963 | 111 | 0.627885 | maexlich |
01f5c8d74eeabedd1e6a54408569cd7c1c5607b2 | 1,648 | cpp | C++ | TorentMakerConsoleApplication/Window/SimpleDxWindow.cpp | sssr33/TorrentMaker | 75dc4b7b45c3c277342470f705e4a35264f942f7 | [
"MIT"
] | null | null | null | TorentMakerConsoleApplication/Window/SimpleDxWindow.cpp | sssr33/TorrentMaker | 75dc4b7b45c3c277342470f705e4a35264f942f7 | [
"MIT"
] | null | null | null | TorentMakerConsoleApplication/Window/SimpleDxWindow.cpp | sssr33/TorrentMaker | 75dc4b7b45c3c277342470f705e4a35264f942f7 | [
"MIT"
] | null | null | null | #include "SimpleDxWindow.h"
//SimpleDxWindow::RenderScope::RenderScope(SimpleDxWindow *window, RenderTargetState<1> &&state)
// : window(window), state(std::move(state)) {
//}
//
//SimpleDxWindow::RenderScope::RenderScope(RenderScope &&other)
// : window(std::move(other.window)), state(std::move(other.state))
//{
// ... | 26.15873 | 104 | 0.675364 | sssr33 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.