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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fd98f90aebd1d8876b3beb7f809c010f96d16834 | 2,801 | cc | C++ | src/ir/lowering.cc | nbdd0121/riscv-dbt | 6220323b8d17cc2b873c97343a3f7a73ccec2d4b | [
"BSD-2-Clause"
] | 2 | 2020-12-22T01:13:34.000Z | 2021-11-17T11:41:41.000Z | src/ir/lowering.cc | nbdd0121/riscv-dbt | 6220323b8d17cc2b873c97343a3f7a73ccec2d4b | [
"BSD-2-Clause"
] | null | null | null | src/ir/lowering.cc | nbdd0121/riscv-dbt | 6220323b8d17cc2b873c97343a3f7a73ccec2d4b | [
"BSD-2-Clause"
] | 1 | 2020-12-22T01:14:15.000Z | 2020-12-22T01:14:15.000Z | #include "emu/mmu.h"
#include "emu/state.h"
#include "ir/builder.h"
#include "ir/pass.h"
#include "ir/visit.h"
#include "util/functional.h"
namespace ir::pass {
void Lowering::run(Graph& graph) {
// We perform target-independent lowering here. After lowering, load/store_memory represents loading and storing
... | 37.851351 | 116 | 0.546948 | nbdd0121 |
fd9c1d2a4d7f9462771d11316f699651b431c5b6 | 14,857 | cpp | C++ | test/GeneralBPlusTree/storage/Storage.cpp | FrontMage/gStore | bfc4d2039d02fc0806c2780db3b6144284252228 | [
"BSD-3-Clause"
] | 408 | 2018-08-30T14:07:16.000Z | 2022-03-30T05:19:20.000Z | test/GeneralBPlusTree/storage/Storage.cpp | FrontMage/gStore | bfc4d2039d02fc0806c2780db3b6144284252228 | [
"BSD-3-Clause"
] | 55 | 2018-09-29T10:47:05.000Z | 2022-03-28T02:23:48.000Z | test/GeneralBPlusTree/storage/Storage.cpp | FrontMage/gStore | bfc4d2039d02fc0806c2780db3b6144284252228 | [
"BSD-3-Clause"
] | 149 | 2018-09-06T08:04:11.000Z | 2022-03-30T08:43:21.000Z | /*=============================================================================
# Filename: Storage.cpp
# Author: syzz
# Mail: 1181955272@qq.com
# Last Modified: 2015-04-26 16:43
# Description: achieve functions in Storage.h
=============================================================================*/
#include "Stor... | 23.250391 | 105 | 0.625294 | FrontMage |
fd9dc42cfbce01fe39a3f34a24ab35f600a648c9 | 1,883 | hpp | C++ | include/boost/simd/constant/pio_2lo.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/constant/pio_2lo.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/constant/pio_2lo.hpp | yaeldarmon/boost.simd | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | [
"BSL-1.0"
] | null | null | null | //==================================================================================================
/*!
@file
@copyright 2015 NumScale SAS
@copyright 2015 J.T. Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
... | 24.141026 | 100 | 0.596389 | yaeldarmon |
fda492c2c01b63dcd61c41a503cc6bcb7f52435c | 1,502 | cpp | C++ | src/critics/prefer_forward_critic.cpp | artofnothingness/mppic | 6d4560a32bdf98b2240e0e065d9c53599f92f80e | [
"MIT"
] | 27 | 2022-02-12T17:49:08.000Z | 2022-03-29T01:42:47.000Z | src/critics/prefer_forward_critic.cpp | artofnothingness/mppic | 6d4560a32bdf98b2240e0e065d9c53599f92f80e | [
"MIT"
] | 26 | 2022-02-10T23:02:44.000Z | 2022-03-31T20:17:51.000Z | src/critics/prefer_forward_critic.cpp | artofnothingness/mppic | 6d4560a32bdf98b2240e0e065d9c53599f92f80e | [
"MIT"
] | 5 | 2022-02-09T09:51:13.000Z | 2022-03-26T14:06:53.000Z | // Copyright 2022 @artofnothingness Alexey Budyakov, Samsung Research
#include "mppic/critics/prefer_forward_critic.hpp"
namespace mppi::critics
{
void PreferForwardCritic::initialize()
{
auto getParam = parameters_handler_->getParamGetter(name_);
getParam(power_, "prefer_forward_cost_power", 1);
getParam(weig... | 31.957447 | 95 | 0.70972 | artofnothingness |
fda5e1d47d07a1117032b48e9ea2b423ea7752e8 | 822 | cpp | C++ | Libraries/RobsJuceModules/rosic/legacy/DoubleNumberPair.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/rosic/legacy/DoubleNumberPair.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/rosic/legacy/DoubleNumberPair.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | #include "DoubleNumberPair.h"
DoubleNumberPair::DoubleNumberPair()
{
theNumberPair = _mm_set1_pd(0.0);
}
DoubleNumberPair::DoubleNumberPair(double values)
{
theNumberPair = _mm_set1_pd(values);
}
DoubleNumberPair::DoubleNumberPair(__m128d newPair)
{
theNumberPair = newPair;
}
DoubleNumberPair::DoubleNumberPair(d... | 17.489362 | 71 | 0.762774 | RobinSchmidt |
fda8bead2500dbafb336285d4118c4e2f5055eac | 26 | cpp | C++ | source/terrain_generator/heightfield.cpp | sergeiam/projects | 20a59f6140ae387e4b539376e4f9a440842f343a | [
"MIT"
] | null | null | null | source/terrain_generator/heightfield.cpp | sergeiam/projects | 20a59f6140ae387e4b539376e4f9a440842f343a | [
"MIT"
] | null | null | null | source/terrain_generator/heightfield.cpp | sergeiam/projects | 20a59f6140ae387e4b539376e4f9a440842f343a | [
"MIT"
] | null | null | null | #include "heightfield.h"
| 8.666667 | 24 | 0.730769 | sergeiam |
fdad522ff383f5f576107114531eb6be9be5b2d9 | 22,912 | hpp | C++ | include/UnityEngine/Experimental/TerrainAPI/TerrainUtility_TerrainMap.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Experimental/TerrainAPI/TerrainUtility_TerrainMap.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Experimental/TerrainAPI/TerrainUtility_TerrainMap.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.Experimental.TerrainAPI... | 76.373333 | 387 | 0.775925 | RedBrumbler |
fdaeab1ae7edabcb08aa84c6d3a4e9191174a851 | 6,662 | cpp | C++ | OpenTESArena/src/Interface/ChooseGenderPanel.cpp | kcat/OpenTESArena | 99c18a9b532884409ac09e81767ec01f41ba4e3b | [
"MIT"
] | 1 | 2021-07-25T15:10:41.000Z | 2021-07-25T15:10:41.000Z | OpenTESArena/src/Interface/ChooseGenderPanel.cpp | kcat/OpenTESArena | 99c18a9b532884409ac09e81767ec01f41ba4e3b | [
"MIT"
] | null | null | null | OpenTESArena/src/Interface/ChooseGenderPanel.cpp | kcat/OpenTESArena | 99c18a9b532884409ac09e81767ec01f41ba4e3b | [
"MIT"
] | null | null | null | #include <cassert>
#include "SDL.h"
#include "ChooseGenderPanel.h"
#include "Button.h"
#include "ChooseNamePanel.h"
#include "ChooseRacePanel.h"
#include "TextBox.h"
#include "../Entities/CharacterClass.h"
#include "../Entities/CharacterGenderName.h"
#include "../Game/GameState.h"
#include "../Math/Constants.h"
#inc... | 28.348936 | 91 | 0.708196 | kcat |
fdb07ce6f7608538176f6a32f558d4e3d15e468d | 45 | hpp | C++ | src/boost_type_erasure_rebind_any.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_type_erasure_rebind_any.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_type_erasure_rebind_any.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/type_erasure/rebind_any.hpp>
| 22.5 | 44 | 0.822222 | miathedev |
fdb1b800c05438443aac380de36cbe48d966872d | 575 | cpp | C++ | src/execution/operator/schema/physical_drop.cpp | jesusanaya-fb/duckdb | 85235f75c13bd91c8ac7fe915cde76c2ddd4f14b | [
"MIT"
] | null | null | null | src/execution/operator/schema/physical_drop.cpp | jesusanaya-fb/duckdb | 85235f75c13bd91c8ac7fe915cde76c2ddd4f14b | [
"MIT"
] | null | null | null | src/execution/operator/schema/physical_drop.cpp | jesusanaya-fb/duckdb | 85235f75c13bd91c8ac7fe915cde76c2ddd4f14b | [
"MIT"
] | null | null | null | #include "duckdb/execution/operator/schema/physical_drop.hpp"
#include "duckdb/main/client_context.hpp"
namespace duckdb {
void PhysicalDrop::GetChunkInternal(ExecutionContext &context, DataChunk &chunk, PhysicalOperatorState *state) {
switch (info->type) {
case CatalogType::PREPARED_STATEMENT:
if (!context.clien... | 27.380952 | 112 | 0.754783 | jesusanaya-fb |
fdb282e597bc58653a3dd07c88b103cee9b11786 | 663 | hpp | C++ | libs/options/include/fcppt/options/help_switch_fwd.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 13 | 2015-02-21T18:35:14.000Z | 2019-12-29T14:08:29.000Z | libs/options/include/fcppt/options/help_switch_fwd.hpp | cpreh/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 5 | 2016-08-27T07:35:47.000Z | 2019-04-21T10:55:34.000Z | libs/options/include/fcppt/options/help_switch_fwd.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 8 | 2015-01-10T09:22:37.000Z | 2019-12-01T08:31:12.000Z | // Copyright Carl Philipp Reh 2009 - 2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_OPTIONS_HELP_SWITCH_FWD_HPP_INCLUDED
#define FCPPT_OPTIONS_HELP_SWITCH_FWD_HPP_INCLUD... | 25.5 | 84 | 0.757164 | freundlich |
fdb8528b4c3e7b625dd467339d5c6ce008fe8645 | 870 | hpp | C++ | android-31/java/nio/file/attribute/AclEntryFlag.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/nio/file/attribute/AclEntryFlag.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/nio/file/attribute/AclEntryFlag.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../../lang/Enum.hpp"
class JArray;
class JString;
namespace java::nio::file::attribute
{
class AclEntryFlag : public java::lang::Enum
{
public:
// Fields
static java::nio::file::attribute::AclEntryFlag DIRECTORY_INHERIT();
static java::nio::file::attribute::AclEntryFlag FILE_INHERI... | 28.064516 | 162 | 0.708046 | YJBeetle |
fdbc2923472a9fd4f650df7689a9b2a178f46c2e | 3,144 | hpp | C++ | include/universal/number/posit/table.hpp | jtodd440/universal | 3d8c946691be0dca091579da34f91ced82e1136a | [
"MIT"
] | null | null | null | include/universal/number/posit/table.hpp | jtodd440/universal | 3d8c946691be0dca091579da34f91ced82e1136a | [
"MIT"
] | null | null | null | include/universal/number/posit/table.hpp | jtodd440/universal | 3d8c946691be0dca091579da34f91ced82e1136a | [
"MIT"
] | null | null | null | #pragma once
// table.hpp: generate a posit table
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#include <iostream>
#include <iomanip>
#include <cmath> // for frexp/frexpf
#include <typeinfo> ... | 32.412371 | 113 | 0.584606 | jtodd440 |
fdc28587fee8c22cc6d5c410741b7020f7a0b555 | 976 | cc | C++ | library/core/win32/window-handles.cc | ppofuk/engine | 092b07647dda4b8ccd4a03237e174581b3493f39 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | library/core/win32/window-handles.cc | ppofuk/engine | 092b07647dda4b8ccd4a03237e174581b3493f39 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-05-26T11:55:26.000Z | 2021-05-26T18:24:30.000Z | library/core/win32/window-handles.cc | ppofuk/engine | 092b07647dda4b8ccd4a03237e174581b3493f39 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #include "window-handles.h"
namespace core {
WindowHandles::WindowHandles() : size_(0) {
}
void WindowHandles::Add(HWND hwnd, Window* window) {
bool not_collected = true;
// Check if hwnd is still in collection. If it is, just change window.
for (size_t i = 0; i < size_ && not_collected; ++i) {
... | 23.238095 | 73 | 0.586066 | ppofuk |
fdc691deb8a9131ae4b75a9a23f19b7f9a8d4eff | 12,029 | hxx | C++ | include/raft_params.hxx | greensky00/test_repo | 972e237cba84215764b5312a3cc5511a87b43e41 | [
"Apache-2.0"
] | null | null | null | include/raft_params.hxx | greensky00/test_repo | 972e237cba84215764b5312a3cc5511a87b43e41 | [
"Apache-2.0"
] | 1 | 2019-08-02T18:03:05.000Z | 2019-08-02T18:03:05.000Z | include/raft_params.hxx | greensky00/test_repo | 972e237cba84215764b5312a3cc5511a87b43e41 | [
"Apache-2.0"
] | null | null | null | /************************************************************************
Modifications Copyright 2017-2019 eBay Inc.
Author/Developer(s): Jung-Sang Ahn
Original Copyright:
See URL: https://github.com/datatechnology/cornerstone
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file ... | 30.14787 | 85 | 0.648017 | greensky00 |
fdc8e9bb87528d768fb39fc8050b86c4d0ee7204 | 48,110 | cc | C++ | nox/src/nox/netapps/authenticator/authenticator_util.cc | ayjazz/OESS | deadc504d287febc7cbd7251ddb102bb5c8b1f04 | [
"Apache-2.0"
] | 28 | 2015-02-04T13:59:25.000Z | 2021-12-29T03:44:47.000Z | nox/src/nox/netapps/authenticator/authenticator_util.cc | ayjazz/OESS | deadc504d287febc7cbd7251ddb102bb5c8b1f04 | [
"Apache-2.0"
] | 552 | 2015-01-05T18:25:54.000Z | 2022-03-16T18:51:13.000Z | nox/src/nox/netapps/authenticator/authenticator_util.cc | ayjazz/OESS | deadc504d287febc7cbd7251ddb102bb5c8b1f04 | [
"Apache-2.0"
] | 25 | 2015-02-04T18:48:20.000Z | 2020-06-18T15:51:05.000Z | /* Copyright 2008, 2009 (C) Nicira, Inc.
*
* This file is part of NOX.
*
* NOX 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.
... | 33.856439 | 109 | 0.571337 | ayjazz |
fdccaecf7d9a918c11555350017f801a8ed6ac58 | 3,299 | inl | C++ | extlib/include/xyginext/core/Vector4.inl | fallahn/speljongen | 57cb5e09eec7db8c21ee7b3e7943fa0a76738c51 | [
"Unlicense"
] | 17 | 2018-06-23T14:40:56.000Z | 2019-07-02T11:58:55.000Z | extlib/include/xyginext/core/Vector4.inl | fallahn/speljongen | 57cb5e09eec7db8c21ee7b3e7943fa0a76738c51 | [
"Unlicense"
] | 3 | 2018-06-23T12:35:12.000Z | 2018-06-23T12:38:54.000Z | extlib/include/xyginext/core/Vector4.inl | fallahn/speljongen | 57cb5e09eec7db8c21ee7b3e7943fa0a76738c51 | [
"Unlicense"
] | null | null | null | /*********************************************************************
(c) Matt Marchant 2017 - 2019
http://trederia.blogspot.com
xygineXT - Zlib license.
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 thi... | 27.957627 | 100 | 0.64171 | fallahn |
fdcd4d726c4ca84ee78172c368fa8b9d31856207 | 1,032 | cpp | C++ | source/universe/Universe.cpp | RaygenEngine/Raygen | 2e61afd35f594d06186c16397b536412ebf4298d | [
"MIT"
] | 2 | 2021-01-27T15:49:04.000Z | 2021-01-28T07:40:30.000Z | source/universe/Universe.cpp | RaygenEngine/Raygen | 2e61afd35f594d06186c16397b536412ebf4298d | [
"MIT"
] | null | null | null | source/universe/Universe.cpp | RaygenEngine/Raygen | 2e61afd35f594d06186c16397b536412ebf4298d | [
"MIT"
] | 1 | 2021-03-07T23:17:31.000Z | 2021-03-07T23:17:31.000Z | #include "Universe.h"
#include "App.h"
#include "rendering/Rendering.h"
namespace {
std::optional<fs::path> worldToLoad{};
} // namespace
void Universe::InitFromApp()
{
Init(App->GetTemplateScene(), App->GetLocalScene());
}
void Universe::Init(const fs::path& defaultWorldPath, const fs::path& localPath)
{
if (loc... | 18.105263 | 80 | 0.700581 | RaygenEngine |
fdd04a292f5298d7616fbc583b94ebd4ee7bba74 | 3,407 | cpp | C++ | ecm/src/v20190719/model/ServiceTemplateSpecification.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | ecm/src/v20190719/model/ServiceTemplateSpecification.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | ecm/src/v20190719/model/ServiceTemplateSpecification.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 30.419643 | 161 | 0.72762 | suluner |
fdd39f3cdf2f8316e825f11a72249958934049ca | 2,669 | hpp | C++ | lib/boost_1_68_0/boost/gil/gil_config.hpp | KevinBoxuGao/Coordinate-Matcher-Commission | 5ec1a681cc9158d6eb72e6c802959eede329544a | [
"MIT"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | lib/boost_1_68_0/boost/gil/gil_config.hpp | KevinBoxuGao/Coordinate-Matcher-Commission | 5ec1a681cc9158d6eb72e6c802959eede329544a | [
"MIT"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | deps/src/boost_1_68_0/boost/gil/gil_config.hpp | ZeroInfinite/turicreate | dd210c2563930881abd51fd69cb73007955b33fd | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /*
Copyright 2005-2007 Adobe Systems Incorporated
Copyright 2018 Mateusz Loskot <mateusz at loskot dot net>
Use, modification and distribution are subject to the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
See ht... | 43.754098 | 106 | 0.658299 | KevinBoxuGao |
fdd46e43f7a1902c4fe9e8cfcd51a03f578fe1c1 | 13,424 | cpp | C++ | scripts/project_euler/euler_problem_54.cpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | null | null | null | scripts/project_euler/euler_problem_54.cpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | 46 | 2021-01-12T23:03:52.000Z | 2021-10-01T17:29:01.000Z | scripts/project_euler/euler_problem_54.cpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <cassert>
#include <cmath>
#include <algorithm>
#include <sstream>
#include <cannon/log/registry.hpp>
using namespace cannon::log;
/*!
* In the card game poker, a hand consists of five cards and are ranked, from
* lowest to highest, in the following way:
*
* Hig... | 30.85977 | 87 | 0.558328 | cannontwo |
fddc35761c3b779fa49ea583ea4e47824da0e877 | 1,975 | hpp | C++ | include/codegen/include/GlobalNamespace/OVRPlugin_Mesh.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/OVRPlugin_Mesh.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/OVRPlugin_Mesh.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: OVRPlugin
#include "GlobalNamespace/OVRPlugin.hpp"
// I... | 35.909091 | 80 | 0.684557 | Futuremappermydud |
fddfec2dc273354fe796c11726dd7004b077c026 | 17,030 | hpp | C++ | include/ironbeepp/transformation.hpp | crustymonkey/ironbee | 8350b383244e33b18c7a7b6ba989f67ffcbd945a | [
"Apache-2.0"
] | 1 | 2019-12-22T21:08:35.000Z | 2019-12-22T21:08:35.000Z | include/ironbeepp/transformation.hpp | crustymonkey/ironbee | 8350b383244e33b18c7a7b6ba989f67ffcbd945a | [
"Apache-2.0"
] | null | null | null | include/ironbeepp/transformation.hpp | crustymonkey/ironbee | 8350b383244e33b18c7a7b6ba989f67ffcbd945a | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this file to You under ... | 27.918033 | 121 | 0.648092 | crustymonkey |
fde026885bd5fa30900d61329f07650087483cd3 | 3,783 | cpp | C++ | util/cl_boilerplate.cpp | libclsph/libclsph | 4cdf18fba05a64826484b0db238b604c90a2e894 | [
"MIT"
] | 39 | 2015-01-05T10:39:27.000Z | 2022-01-25T12:21:00.000Z | util/cl_boilerplate.cpp | libclsph/libclsph | 4cdf18fba05a64826484b0db238b604c90a2e894 | [
"MIT"
] | null | null | null | util/cl_boilerplate.cpp | libclsph/libclsph | 4cdf18fba05a64826484b0db238b604c90a2e894 | [
"MIT"
] | 10 | 2015-09-01T22:47:38.000Z | 2022-01-25T12:21:04.000Z | #include "cl_boilerplate.h"
cl_int init_cl_single_device(cl::Context* context, std::vector<cl::Device>& device_array, std::string platform_hint, std::string device_hint, bool logging_enabled) {
cl_int cl_error;
std::vector<cl::Platform> all_platforms;
cl_error = cl::Platform::get(&all_platforms);
if(cl_e... | 33.477876 | 175 | 0.661116 | libclsph |
fdeb30199af6d6a9f424ce061044f984d54147cc | 8,375 | hpp | C++ | geometry/r3x3_matrix_body.hpp | tnuvoletta/Principia | 25cf2fb70c512cf86a842ed525f6ab10e57f937c | [
"MIT"
] | 2 | 2015-02-23T19:32:16.000Z | 2015-04-07T03:55:53.000Z | geometry/r3x3_matrix_body.hpp | tnuvoletta/Principia | 25cf2fb70c512cf86a842ed525f6ab10e57f937c | [
"MIT"
] | null | null | null | geometry/r3x3_matrix_body.hpp | tnuvoletta/Principia | 25cf2fb70c512cf86a842ed525f6ab10e57f937c | [
"MIT"
] | null | null | null |
#pragma once
#include "geometry/r3x3_matrix.hpp"
#include <string>
#include <utility>
#include "base/macros.hpp"
#include "glog/logging.h"
#include "quantities/elementary_functions.hpp"
#include "quantities/quantities.hpp"
namespace principia {
namespace geometry {
namespace internal_r3x3_matrix {
using quantiti... | 32.972441 | 75 | 0.623045 | tnuvoletta |
fdf3830dac9c3c4063fbaa6a3c88f22bbf3cf0a9 | 4,009 | cpp | C++ | NanoTest/Source/Nano/Types/TMixinAppendable.cpp | refnum/Nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 23 | 2019-11-12T09:31:11.000Z | 2021-09-13T08:59:37.000Z | NanoTest/Source/Nano/Types/TMixinAppendable.cpp | refnum/nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 1 | 2020-10-30T09:54:12.000Z | 2020-10-30T09:54:12.000Z | NanoTest/Source/Nano/Types/TMixinAppendable.cpp | refnum/Nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 3 | 2015-09-08T11:00:02.000Z | 2017-09-11T05:42:30.000Z | /* NAME:
TMixinAppendable.cpp
DESCRIPTION:
NMixinAppendable tests.
COPYRIGHT:
Copyright (c) 2006-2021, refNum Software
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. Redistribu... | 30.142857 | 79 | 0.571464 | refnum |
fdf4744b526f30eadc9dc989983247d7c03a1ac2 | 16,759 | hpp | C++ | include/System/Reflection/TypeAttributes.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/System/Reflection/TypeAttributes.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/System/Reflection/TypeAttributes.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Enum
#... | 69.829167 | 106 | 0.772898 | Fernthedev |
fdf78aae9a261f1bb68ddfa4a0308eb88a6c4e14 | 528 | cpp | C++ | src/util/REException.cpp | RichaGNigam/MyRepository | 7ec8461b73e19b72c8eda38b337737c010b79885 | [
"Apache-2.0"
] | 8 | 2018-05-02T09:38:43.000Z | 2018-09-03T17:36:13.000Z | src/util/REException.cpp | RichaGNigam/MyRepository | 7ec8461b73e19b72c8eda38b337737c010b79885 | [
"Apache-2.0"
] | 2 | 2018-06-19T07:18:54.000Z | 2018-06-19T07:21:51.000Z | src/util/REException.cpp | RichaGNigam/MyRepository | 7ec8461b73e19b72c8eda38b337737c010b79885 | [
"Apache-2.0"
] | 1 | 2018-06-27T01:37:13.000Z | 2018-06-27T01:37:13.000Z | /*
*********************************************************
This code is a proprietary of iN Technologies
Following may not be used in part on in whole without the
prior permission of iN Technologies
Author: Kapil Rana
Date: 18/05/2015
Purpose: Regular Expression Exception.
*********************************... | 18.206897 | 57 | 0.556818 | RichaGNigam |
fdf81ff3d97616e29e0728cf8258f2d33f4a0849 | 2,113 | cpp | C++ | L1/benchmarks/sav.1123/host/secp256k1_kernel.cpp | vroomkim/fpga | b15022dda99735aef3ad74ee68c2a53b151de114 | [
"BSD-3-Clause"
] | null | null | null | L1/benchmarks/sav.1123/host/secp256k1_kernel.cpp | vroomkim/fpga | b15022dda99735aef3ad74ee68c2a53b151de114 | [
"BSD-3-Clause"
] | null | null | null | L1/benchmarks/sav.1123/host/secp256k1_kernel.cpp | vroomkim/fpga | b15022dda99735aef3ad74ee68c2a53b151de114 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 33.539683 | 107 | 0.705159 | vroomkim |
fdf9f26c02bfb6393a8a5eadd9ea73ba17f50df9 | 2,267 | cpp | C++ | Ouroboros/Source/oGPU/texturecube.cpp | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | Ouroboros/Source/oGPU/texturecube.cpp | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | Ouroboros/Source/oGPU/texturecube.cpp | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | // Copyright (c) 2014 Antony Arciuolo. See License.txt regarding use.
#include <oGPU/texturecube.h>
#include <oGPU/device.h>
#include "d3d_debug.h"
#include "d3d_util.h"
#include "dxgi_util.h"
using namespace ouro::gpu::d3d;
namespace ouro { namespace gpu {
Device* get_device(device& dev);
DeviceContext*... | 30.635135 | 150 | 0.705337 | jiangzhu1212 |
fdfa614e6c2eeda50bf5838281dc7efe45d6512c | 1,757 | cpp | C++ | source/core/diag/LogInput.cpp | atkurtul/RadixEngine | 0eb1c176a25aa9430f54d5a20ce5749360c51381 | [
"Zlib"
] | 163 | 2016-08-28T23:24:05.000Z | 2022-03-31T04:51:51.000Z | source/core/diag/LogInput.cpp | atkurtul/RadixEngine | 0eb1c176a25aa9430f54d5a20ce5749360c51381 | [
"Zlib"
] | 144 | 2016-09-10T08:40:06.000Z | 2020-12-03T17:20:03.000Z | source/core/diag/LogInput.cpp | atkurtul/RadixEngine | 0eb1c176a25aa9430f54d5a20ce5749360c51381 | [
"Zlib"
] | 88 | 2016-02-22T08:34:49.000Z | 2022-03-05T12:29:19.000Z | #include <radix/core/diag/LogInput.hpp>
#include <iomanip>
#include <sstream>
#include <string>
#include <radix/core/math/Vector2f.hpp>
#include <radix/core/math/Vector3f.hpp>
#include <radix/core/math/Vector4f.hpp>
namespace radix {
LogInput::LogInput(Logger &sink, LogLevel lvl, const char *tag) :
sink(sink), lv... | 21.168675 | 93 | 0.599317 | atkurtul |
fdfc69d725d18fcc1a520ef05c1eead36c46c0bd | 644 | cpp | C++ | src_blockchain/flash/FlashBlockHash.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 1 | 2020-10-15T08:24:35.000Z | 2020-10-15T08:24:35.000Z | src_blockchain/flash/FlashBlockHash.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | null | null | null | src_blockchain/flash/FlashBlockHash.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | null | null | null | /*
* FlashBlockHash.cpp
*
* Created on: 2022/03/17
* Author: iizuka
*/
#include "flash/FlashBlockHash.h"
#include "base_io/ByteBuffer.h"
#include "osenv/memory.h"
namespace codablecash {
FlashBlockHash::FlashBlockHash(ByteBuffer* binary) {
this->binary = binary;
}
FlashBlockHash::~FlashBlockHash() {
... | 19.515152 | 75 | 0.698758 | Codablecash |
fdfd477d33e136feeb879d2453d098748db28139 | 105 | hpp | C++ | main/interface.hpp | lucasnunes/tcc_source | 695610ec134d946694080fd2efae3f1dc41c2fa2 | [
"Apache-2.0"
] | 2 | 2019-01-08T12:51:04.000Z | 2019-01-08T12:51:04.000Z | main/interface.hpp | lucasnunes/tcc_source | 695610ec134d946694080fd2efae3f1dc41c2fa2 | [
"Apache-2.0"
] | null | null | null | main/interface.hpp | lucasnunes/tcc_source | 695610ec134d946694080fd2efae3f1dc41c2fa2 | [
"Apache-2.0"
] | null | null | null | #ifndef CONTROLLER_INTERFACE_HPP
#define CONTROLLER_INTERFACE_HPP
namespace controller
{
}
#endif
| 10.5 | 32 | 0.8 | lucasnunes |
fdfe140e3f7203e384f193927cf795cdb0aae813 | 18,506 | hpp | C++ | src/Providers/UNIXProviders/DisketteDrive/UNIX_DisketteDrive_ZOS.hpp | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/DisketteDrive/UNIX_DisketteDrive_ZOS.hpp | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/DisketteDrive/UNIX_DisketteDrive_ZOS.hpp | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | 22.162874 | 101 | 0.769588 | brunolauze |
fdfe8459f1ef321a00cdda899cde562ad9462b6f | 742 | cpp | C++ | src/Evernote API/Thrift/Protocol/TMessage.cpp | don-reba/peoples-note | c22d6963846af833c55f4294dd0474e83344475d | [
"BSD-2-Clause"
] | null | null | null | src/Evernote API/Thrift/Protocol/TMessage.cpp | don-reba/peoples-note | c22d6963846af833c55f4294dd0474e83344475d | [
"BSD-2-Clause"
] | null | null | null | src/Evernote API/Thrift/Protocol/TMessage.cpp | don-reba/peoples-note | c22d6963846af833c55f4294dd0474e83344475d | [
"BSD-2-Clause"
] | null | null | null | #include "stdafx.h"
#include "TMessage.h"
using namespace Thrift;
using namespace Thrift::Protocol;
TMessage::TMessage()
: type (MessageUnknown)
, seqID (0)
{
}
TMessage::TMessage
( const wchar_t * name
, TMessageType type
, int seqID)
: name (name)
, type (ty... | 14.269231 | 46 | 0.609164 | don-reba |
a9015577511efbcfcfa85c3d30aa959610dd4cfe | 28,109 | cpp | C++ | light/main.cpp | Martinfx/LearnOpenGL | e073fbcbaf47a7581986d688d015eb7473818fbf | [
"Apache-2.0"
] | 2 | 2017-09-19T21:45:48.000Z | 2022-02-13T21:46:32.000Z | light/main.cpp | Martinfx/LearnOpenGL | e073fbcbaf47a7581986d688d015eb7473818fbf | [
"Apache-2.0"
] | null | null | null | light/main.cpp | Martinfx/LearnOpenGL | e073fbcbaf47a7581986d688d015eb7473818fbf | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <sstream>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#define STB_IMAGE_IMPLEMENTATION
#include "../3rdparty/stb_image.h"
static float v... | 27.450195 | 109 | 0.565513 | Martinfx |
a90224299f45040caf2aa30817dfa99d56faa7e0 | 2,006 | cpp | C++ | src/core/map/soldier_spawn_point_map_element_system.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 3 | 2015-02-22T20:34:28.000Z | 2020-03-04T08:55:25.000Z | src/core/map/soldier_spawn_point_map_element_system.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 22 | 2015-12-13T16:29:40.000Z | 2017-03-04T15:45:44.000Z | src/core/map/soldier_spawn_point_map_element_system.cpp | Reaping2/Reaping2 | 0d4c988c99413e50cc474f6206cf64176eeec95d | [
"MIT"
] | 14 | 2015-11-23T21:25:09.000Z | 2020-07-17T17:03:23.000Z | #include "platform/i_platform.h"
#include "soldier_spawn_point_map_element_system.h"
#include "core/map/soldier_spawn_point_map_element.h"
#include "engine/engine.h"
namespace map {
SoldierSpawnPointMapElementSystem::SoldierSpawnPointMapElementSystem()
: MapElementSystem()
{
}
void SoldierSpawnPointMapElementSy... | 40.12 | 286 | 0.792622 | MrPepperoni |
a9052d0a70cf7daee4c940ea8ceba1005bebdb88 | 1,765 | cpp | C++ | Binary Trees/Iterative Traversals/Pre-Order.cpp | ComputerScientist-01/100-Days-Of-DSA | 28942615a88c12382ca0b1580f5da393f957d584 | [
"MIT"
] | 4 | 2021-06-22T15:24:54.000Z | 2021-08-05T02:53:34.000Z | Binary Trees/Iterative Traversals/Pre-Order.cpp | AdityaPrakash-26/100-Days-Of-DSA | 821a26b128db3f9b555d87fab6d89d76fae22119 | [
"MIT"
] | null | null | null | Binary Trees/Iterative Traversals/Pre-Order.cpp | AdityaPrakash-26/100-Days-Of-DSA | 821a26b128db3f9b555d87fab6d89d76fae22119 | [
"MIT"
] | 1 | 2021-07-11T09:42:03.000Z | 2021-07-11T09:42:03.000Z | #include <iostream>
#include <stack>
using namespace std;
// Data structure to store a binary tree node
struct Node
{
int data;
Node *left, *right;
Node(int data)
{
this->data = data;
this->left = this->right = nullptr;
}
};
// Iterative function to perform preorder traversal on t... | 21.52439 | 70 | 0.503683 | ComputerScientist-01 |
a90bd5ccac54dd150dda7f5f2036fd4eca371696 | 1,070 | cpp | C++ | srcs/GraphicWrapper.cpp | NicolasKeita/My_Skype | 5bd1ed0c00ac7f6f84846f90dc60f6428fa8c503 | [
"MIT"
] | null | null | null | srcs/GraphicWrapper.cpp | NicolasKeita/My_Skype | 5bd1ed0c00ac7f6f84846f90dc60f6428fa8c503 | [
"MIT"
] | null | null | null | srcs/GraphicWrapper.cpp | NicolasKeita/My_Skype | 5bd1ed0c00ac7f6f84846f90dc60f6428fa8c503 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2019
** GraphicWrapperSub.cpp
** File description:
**
*/
#include <QtGui/QFontDatabase>
#include <QtWidgets/QAbstractButton>
#include "GraphicWrapper.hpp"
#include "Macro.hpp"
babel::graphic::GraphicWrapper::GraphicWrapper(QApplication &app)
: _app{ app },
button { "", &_windo... | 22.291667 | 72 | 0.652336 | NicolasKeita |
a90c0ba215fa6799618305c9483531574fe941f8 | 4,552 | cpp | C++ | Rendara3D/lighting/ShadowCubeMap.cpp | physteo/ggj19 | 0e14c110c00d95fe0b61f677c7de70860a08d1c3 | [
"Apache-2.0"
] | 1 | 2019-04-18T16:15:08.000Z | 2019-04-18T16:15:08.000Z | Rendara3D/lighting/ShadowCubeMap.cpp | physteo/ggj19 | 0e14c110c00d95fe0b61f677c7de70860a08d1c3 | [
"Apache-2.0"
] | null | null | null | Rendara3D/lighting/ShadowCubeMap.cpp | physteo/ggj19 | 0e14c110c00d95fe0b61f677c7de70860a08d1c3 | [
"Apache-2.0"
] | null | null | null | #include "ShadowCubeMap.h"
ShadowCubeMap::~ShadowCubeMap()
{
release();
}
ShadowCubeMap::ShadowCubeMap(ShadowCubeMap&& other)
{
swapData(other);
}
ShadowCubeMap& ShadowCubeMap::operator=(ShadowCubeMap&& other)
{
// check for self-assignment.
if (this != &other)
{
release();
swapData(other);
}
return *this... | 37.311475 | 145 | 0.760545 | physteo |
a90d1419d3c84993c48257f4b76ed7a462031ae6 | 2,372 | cpp | C++ | src/QtAVPlayer/qavframe.cpp | valbok/QAVPlayer | 6138dc7a2df8aef2bf8c40d004b115af538c627c | [
"MIT"
] | null | null | null | src/QtAVPlayer/qavframe.cpp | valbok/QAVPlayer | 6138dc7a2df8aef2bf8c40d004b115af538c627c | [
"MIT"
] | null | null | null | src/QtAVPlayer/qavframe.cpp | valbok/QAVPlayer | 6138dc7a2df8aef2bf8c40d004b115af538c627c | [
"MIT"
] | null | null | null | /*********************************************************
* Copyright (C) 2020, Val Doroshchuk <valbok@gmail.com> *
* *
* This file is part of QtAVPlayer. *
* Free Qt Media Player based on FFmpeg. *
************************... | 22.807692 | 141 | 0.5957 | valbok |
a90e0c2e3c71e8d4c4e1a9499410767058a9893b | 1,765 | inl | C++ | kernel/ocl/geometry/interface.inl | nthend/hypertrace | 5072849f8a10465ba1260626fbef6b013d756f90 | [
"Apache-2.0",
"MIT"
] | 5 | 2020-05-20T21:04:49.000Z | 2021-07-08T05:29:41.000Z | kernel/ocl/geometry/interface.inl | nthend/hypertrace | 5072849f8a10465ba1260626fbef6b013d756f90 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-01-27T09:07:22.000Z | 2021-02-22T11:17:11.000Z | kernel/ocl/geometry/interface.inl | nthend/hypertrace | 5072849f8a10465ba1260626fbef6b013d756f90 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-04-30T04:46:07.000Z | 2021-02-02T21:11:39.000Z | #include <macros.hh>
#include <algebra/real.hh>
#if \
!defined($Geo) || !defined($geo) || \
!defined($Map) || !defined($map) || \
!defined($pos) || !defined($dir)
#error "All required macro parameters must be defined."
#endif
#define GeoPos $2($Geo,Pos)
#define GeoDir $2($Geo,Dir)
#define GeoMap $2($Geo,M... | 29.416667 | 80 | 0.696317 | nthend |
a90e4b0d65b4763fdfc6b117842172304d398351 | 829 | cpp | C++ | source/MaterialXGenGlsl/Nodes/BlurNodeGlsl.cpp | kwokcb/adsk_materialx | 67050442cd24a312b920fa4ab7be36b5f8ef4cf2 | [
"Apache-2.0"
] | 38 | 2022-02-28T21:36:43.000Z | 2022-03-29T18:11:08.000Z | source/MaterialXGenGlsl/Nodes/BlurNodeGlsl.cpp | kwokcb/adsk_materialx | 67050442cd24a312b920fa4ab7be36b5f8ef4cf2 | [
"Apache-2.0"
] | 37 | 2022-02-28T23:13:33.000Z | 2022-03-31T23:50:43.000Z | source/MaterialXGenGlsl/Nodes/BlurNodeGlsl.cpp | kwokcb/MaterialX | 483c616e10e6d9a23763ae33cd10f7bcb08cf2e9 | [
"Apache-2.0"
] | 4 | 2022-03-03T20:24:13.000Z | 2022-03-25T09:53:52.000Z | //
// TM & (c) 2020 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <MaterialXGenGlsl/Nodes/BlurNodeGlsl.h>
#include <MaterialXGenShader/GenContext.h>
#include <MaterialXGenShader/ShaderNode.h>
#include <MaterialXGenShader/ShaderStage.h>
#inclu... | 29.607143 | 124 | 0.788902 | kwokcb |
a90f266ff9fa9f84bb450d14478f463a1c51dd3d | 834 | cpp | C++ | source/TCPThread.cpp | CraftyBoss/SMO-Challenges-Base | 784d181bfcaf0d349945cb6fd024becc2433f8cb | [
"MIT"
] | 6 | 2021-12-16T12:33:15.000Z | 2022-01-12T08:49:58.000Z | source/TCPThread.cpp | CraftyBoss/SMO-Challenges-Base | 784d181bfcaf0d349945cb6fd024becc2433f8cb | [
"MIT"
] | 1 | 2021-12-14T00:29:17.000Z | 2021-12-21T15:04:21.000Z | source/TCPThread.cpp | CraftyBoss/SMO-Challenges-Base | 784d181bfcaf0d349945cb6fd024becc2433f8cb | [
"MIT"
] | null | null | null | #include "TCPThread.hpp"
TCPThread::TCPThread() {
this->thread = new al::AsyncFunctorThread("TCPThread", al::FunctorV0M<typeof(this), typeof(&TCPThread::threadFunc)>(this, &TCPThread::threadFunc), 0, 0x10000, {0});
this->tLogger = new Logger("192.168.1.75", 1337, "TCPThread");
}
bool TCPThread::StartThread() ... | 34.75 | 168 | 0.639089 | CraftyBoss |
a913b68ab6eda741e0a53503089aa102bd83e032 | 188 | hpp | C++ | src/gui/Point.hpp | Chrinkus/birthday | 9477efd099f2d87937954e3f021ba2d4abf3f334 | [
"MIT"
] | null | null | null | src/gui/Point.hpp | Chrinkus/birthday | 9477efd099f2d87937954e3f021ba2d4abf3f334 | [
"MIT"
] | null | null | null | src/gui/Point.hpp | Chrinkus/birthday | 9477efd099f2d87937954e3f021ba2d4abf3f334 | [
"MIT"
] | null | null | null | //
// FLTK Abstraction Library
//
// All GUI classes use this simple (x, y) class
//
#ifndef SG_POINT_H
#define SG_POINT_H
struct Point {
int x;
int y;
};
#endif // SG_POINT_H
| 11.75 | 47 | 0.643617 | Chrinkus |
a914b097f942840ade300a21e807b057fd2801fd | 4,642 | cpp | C++ | src/pal/prebuilt/idl/corprof_i.cpp | HarrievG/coreclr | a9f3fc16483eecfc47fb79c362811d870be02249 | [
"MIT"
] | 6 | 2016-07-25T08:33:10.000Z | 2022-02-10T10:10:51.000Z | src/coreclr/src/pal/prebuilt/idl/corprof_i.cpp | mahaisong/runtime | 05909c4ae8ea0a3bf1093c08323ddbacb34f715f | [
"MIT"
] | 15 | 2017-01-27T20:18:50.000Z | 2019-11-14T00:52:58.000Z | src/pal/prebuilt/idl/corprof_i.cpp | sandreenko/coreclr | bc0ca5071bedfeca58eebdb71a71ea5a750155d0 | [
"MIT"
] | 2 | 2018-01-02T07:11:26.000Z | 2018-03-01T18:09:13.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.
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any client... | 29.948387 | 130 | 0.800948 | HarrievG |
a914be7c16f8c54ff450283547def35eb4993a91 | 651,657 | cc | C++ | ev/external/googleapis/home/ubuntu/saaras-io/falcon/build/external/googleapis/google/cloud/bigquery/logging/v1/audit_data.pb.cc | sergiorr/yastack | 17cdc12a52ea5869f429aa8ec421c3d1d25b32e7 | [
"Apache-2.0"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | ev/external/googleapis/home/ubuntu/saaras-io/falcon/build/external/googleapis/google/cloud/bigquery/logging/v1/audit_data.pb.cc | sergiorr/yastack | 17cdc12a52ea5869f429aa8ec421c3d1d25b32e7 | [
"Apache-2.0"
] | 11 | 2019-06-02T23:50:17.000Z | 2022-02-04T23:58:56.000Z | ev/external/googleapis/home/ubuntu/saaras-io/falcon/build/external/googleapis/google/cloud/bigquery/logging/v1/audit_data.pb.cc | sergiorr/yastack | 17cdc12a52ea5869f429aa8ec421c3d1d25b32e7 | [
"Apache-2.0"
] | 18 | 2018-11-24T10:35:29.000Z | 2021-04-22T07:22:10.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/bigquery/logging/v1/audit_data.proto
#include "google/cloud/bigquery/logging/v1/audit_data.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/o... | 42.40626 | 198 | 0.731121 | sergiorr |
a91f2a6a83709d046d5a68f8a580a1608f8c6513 | 703 | cc | C++ | scratchpad/installation-originals/libxml++-2.34.2/libxml++/keepblanks.cc | anewholm/generalserver | 99321562921c317f1ef14a2b84abfe91f0f871b6 | [
"X11"
] | null | null | null | scratchpad/installation-originals/libxml++-2.34.2/libxml++/keepblanks.cc | anewholm/generalserver | 99321562921c317f1ef14a2b84abfe91f0f871b6 | [
"X11"
] | null | null | null | scratchpad/installation-originals/libxml++-2.34.2/libxml++/keepblanks.cc | anewholm/generalserver | 99321562921c317f1ef14a2b84abfe91f0f871b6 | [
"X11"
] | null | null | null | /* keepblanks.cc
* libxml++ and this file are
* copyright (C) 2003 by The libxml++ Development Team, and
* are covered by the GNU Lesser General Public License, which should be
* included with libxml++ as the file COPYING.
*/
#include <libxml++/keepblanks.h>
#include <libxml/globals.h>
namespace xmlpp
{
#if _M... | 21.96875 | 72 | 0.714083 | anewholm |
a91f78863550609de52cd9ec6a249f68b292e564 | 12,742 | cpp | C++ | src/kits/interface/AffineTransform.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | 3 | 2018-05-21T15:32:32.000Z | 2019-03-21T13:34:55.000Z | src/kits/interface/AffineTransform.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/kits/interface/AffineTransform.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | /*
* Copyright 2008-2010, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephen Deken, stephen.deken@gmail.com
* Stephan Aßmus <superstippi@gmx.de>
*/
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Vers... | 18.281205 | 87 | 0.679564 | stasinek |
a9222e20d1cc4ae4f0a57932da145139aec6d102 | 80,786 | cpp | C++ | src/PluginFilter/Prototypes.cpp | voxie-viewer/voxie | d2b5e6760519782e9ef2e51f5322a3baa0cb1198 | [
"MIT"
] | 4 | 2016-06-03T18:41:43.000Z | 2020-04-17T20:28:58.000Z | src/PluginFilter/Prototypes.cpp | voxie-viewer/voxie | d2b5e6760519782e9ef2e51f5322a3baa0cb1198 | [
"MIT"
] | null | null | null | src/PluginFilter/Prototypes.cpp | voxie-viewer/voxie | d2b5e6760519782e9ef2e51f5322a3baa0cb1198 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2014-2022 The Voxie Authors
*
* 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, mer... | 56.414804 | 80 | 0.601775 | voxie-viewer |
a92366e912440a7d137414ef42abd920804100f1 | 8,175 | cc | C++ | arcane/src/arcane/std/JsonMessagePassingProfilingService.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/src/arcane/std/JsonMessagePassingProfilingService.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/src/arcane/std/JsonMessagePassingProfilingService.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2.... | 41.080402 | 109 | 0.472538 | JeromeDuboisPro |
a9250e09d26beecc6932282e44da73e350fce78a | 2,777 | cpp | C++ | src/main.cpp | Majubs/libKonkerESP | 6adebfa083940391b63a964cb7bdbfc898ee6e9f | [
"MIT"
] | 1 | 2021-07-07T19:44:32.000Z | 2021-07-07T19:44:32.000Z | src/main.cpp | Majubs/libKonkerESP | 6adebfa083940391b63a964cb7bdbfc898ee6e9f | [
"MIT"
] | null | null | null | src/main.cpp | Majubs/libKonkerESP | 6adebfa083940391b63a964cb7bdbfc898ee6e9f | [
"MIT"
] | null | null | null | #include "konker.h"
ADC_MODE(ADC_VCC);
const char ssid[20] = "dlink-C21E-114";
const char pwd[20] = "nope"; //"bobesponja";
const char ssid2[20] = "OpenWrt"; //"maju_iot";
const char pwd2[20] = "konkerkonker";
//"unicamp123";
// Dados do servidor
String server_ip = "192.168.1.123";
// String server_ip = "mqtt.prod.k... | 24.359649 | 79 | 0.663306 | Majubs |
a929908d003bcef896578ae6b081c3054a83bfb7 | 20,748 | cpp | C++ | javaStructures/jdk-master/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp | IThawk/learnCode | 0ac843d28b193eaab33fb33692f18361d71c7331 | [
"MIT"
] | 1 | 2020-12-26T04:52:15.000Z | 2020-12-26T04:52:15.000Z | javaStructures/jdk-master/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp | IThawk/learnCode | 0ac843d28b193eaab33fb33692f18361d71c7331 | [
"MIT"
] | 1 | 2020-12-26T04:57:19.000Z | 2020-12-26T04:57:19.000Z | javaStructures/jdk-master/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp | IThawk/learnCode | 0ac843d28b193eaab33fb33692f18361d71c7331 | [
"MIT"
] | 1 | 2021-12-06T01:13:18.000Z | 2021-12-06T01:13:18.000Z | /*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 29.555556 | 116 | 0.619674 | IThawk |
a92ac99edaf17f02f158aa0f2c52f3da0ed95d3a | 10,491 | cpp | C++ | QtOpenCL/qclworksize.cpp | eagee/OpenCLPrototype | d2a1d262c7f862158556c5f24a5db778483c3b45 | [
"MIT"
] | null | null | null | QtOpenCL/qclworksize.cpp | eagee/OpenCLPrototype | d2a1d262c7f862158556c5f24a5db778483c3b45 | [
"MIT"
] | null | null | null | QtOpenCL/qclworksize.cpp | eagee/OpenCLPrototype | d2a1d262c7f862158556c5f24a5db778483c3b45 | [
"MIT"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtOpenCL module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
... | 28.980663 | 103 | 0.641026 | eagee |
a92cf46812c8f3e0d620370976046a91fd5adcf3 | 394 | hpp | C++ | ige/include/ige/ecs/System.hpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 3 | 2021-06-05T00:36:50.000Z | 2022-02-27T10:23:53.000Z | ige/include/ige/ecs/System.hpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 11 | 2021-05-08T22:00:24.000Z | 2021-11-11T22:33:43.000Z | ige/include/ige/ecs/System.hpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 4 | 2021-05-20T12:41:23.000Z | 2021-11-09T14:19:18.000Z | #ifndef FE472698_E495_4B4C_95C4_2F2A646A84F5
#define FE472698_E495_4B4C_95C4_2F2A646A84F5
#include "World.hpp"
#include <functional>
#include <memory>
namespace ige::ecs {
class System {
public:
static std::unique_ptr<System> from(std::function<void(World&)>);
virtual ~System() = default;
virtual void ... | 17.909091 | 69 | 0.738579 | Arcahub |
a93265c0e9f2e180d8736ba7ecd594250577e74c | 2,305 | hpp | C++ | src/SemanticTypes/CoordinateSystemReference.hpp | OidaTiftla/CarND-Path-Planning-Project | e6c3d4764479de739e0efc7643e8854d34c56f14 | [
"MIT"
] | null | null | null | src/SemanticTypes/CoordinateSystemReference.hpp | OidaTiftla/CarND-Path-Planning-Project | e6c3d4764479de739e0efc7643e8854d34c56f14 | [
"MIT"
] | null | null | null | src/SemanticTypes/CoordinateSystemReference.hpp | OidaTiftla/CarND-Path-Planning-Project | e6c3d4764479de739e0efc7643e8854d34c56f14 | [
"MIT"
] | null | null | null | #ifndef COORDINATE_SYSTEM_REFERENCE_HPP
#define COORDINATE_SYSTEM_REFERENCE_HPP
#include <iostream>
#include <cmath>
#include "Units.hpp"
#include "CartesianPosition.hpp"
class CoordinateSystemReference {
public:
GlobalCartesianPosition reference;
CoordinateSystemReference(const GlobalCartesianPosition& ref... | 43.490566 | 136 | 0.694577 | OidaTiftla |
a93457efeb6637fb03498d67983e1c63fe23882f | 286 | hpp | C++ | include/framework/Scene.hpp | Cram0/hardened_runner | d5187b3791af0892e21d3ae1fe2aa98b6626a381 | [
"MIT"
] | 2 | 2020-09-10T19:17:11.000Z | 2020-10-25T21:06:41.000Z | include/framework/Scene.hpp | Cram0/hardened_runner | d5187b3791af0892e21d3ae1fe2aa98b6626a381 | [
"MIT"
] | null | null | null | include/framework/Scene.hpp | Cram0/hardened_runner | d5187b3791af0892e21d3ae1fe2aa98b6626a381 | [
"MIT"
] | null | null | null | #ifndef SCENE_HPP_
#define SCENE_HPP_
#include "Entity.hpp"
class Scene {
public:
Scene();
int Update(float deltaTime);
int Draw(sf::RenderWindow *gameWindow);
protected:
private:
Entity myEntity;
};
#endif /* !SCENE_HPP_ */
| 13 | 51 | 0.587413 | Cram0 |
a937577dba74d9a54db3b437e0029b8c9a661495 | 6,454 | c++ | C++ | metal_header/sifive_rtc0.c++ | sctincman/freedom-devicetree-tools | 668d8795e474623863f65f890022d1d471a1c64b | [
"Apache-2.0",
"MIT"
] | null | null | null | metal_header/sifive_rtc0.c++ | sctincman/freedom-devicetree-tools | 668d8795e474623863f65f890022d1d471a1c64b | [
"Apache-2.0",
"MIT"
] | null | null | null | metal_header/sifive_rtc0.c++ | sctincman/freedom-devicetree-tools | 668d8795e474623863f65f890022d1d471a1c64b | [
"Apache-2.0",
"MIT"
] | null | null | null | /* Copyright 2019 SiFive, Inc */
/* SPDX-License-Identifier: Apache-2.0 */
#include <sifive_rtc0.h>
#include <regex>
sifive_rtc0::sifive_rtc0(std::ostream &os, const fdt &dtb)
: Device(os, dtb, "sifive,(rtc0|aon0)")
{
num_rtcs = 0;
dtb.match(
std::regex(compat_string),
[&](node n) {
num_rtcs += 1... | 26.129555 | 94 | 0.625659 | sctincman |
a938bf87ef6789a395ef64aeb5d3c41ca4a5738a | 17,609 | cc | C++ | libsrc/pylith/bc/DirichletTimeDependent.cc | Grant-Block/pylith | f6338261b17551eba879da998a5aaf2d91f5f658 | [
"MIT"
] | null | null | null | libsrc/pylith/bc/DirichletTimeDependent.cc | Grant-Block/pylith | f6338261b17551eba879da998a5aaf2d91f5f658 | [
"MIT"
] | null | null | null | libsrc/pylith/bc/DirichletTimeDependent.cc | Grant-Block/pylith | f6338261b17551eba879da998a5aaf2d91f5f658 | [
"MIT"
] | null | null | null | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University of Chicago
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | 41.628842 | 143 | 0.568403 | Grant-Block |
a93ca3e18e37f29c86c4bb416417712670294052 | 745 | cpp | C++ | JLHE/src/JLHE/Core/Entity.cpp | JLH-ORG/JLHE | 2b9e8d26caca2a249271460c96d8059bc2d1f376 | [
"Apache-2.0"
] | 1 | 2020-06-29T20:15:39.000Z | 2020-06-29T20:15:39.000Z | JLHE/src/JLHE/Core/Entity.cpp | JLH-ORG/JLHE | 2b9e8d26caca2a249271460c96d8059bc2d1f376 | [
"Apache-2.0"
] | null | null | null | JLHE/src/JLHE/Core/Entity.cpp | JLH-ORG/JLHE | 2b9e8d26caca2a249271460c96d8059bc2d1f376 | [
"Apache-2.0"
] | null | null | null | #include "jlhepch.h"
#include "Entity.h"
namespace JLHE {
Entity::Entity(Ref<SubTexture2D>& subTexture, glm::vec3 position, glm::vec2 size, float rotation)
: m_SubTexture(subTexture), m_Position(position), m_Size(size), m_Rotation(rotation), m_Visible(true) {}
Entity::Entity(glm::vec3 position, glm::vec2 size, f... | 27.592593 | 106 | 0.731544 | JLH-ORG |
a940107db465587e5a2cff0d76afb830a02f5830 | 8,208 | cpp | C++ | test/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 187 | 2015-02-28T11:50:45.000Z | 2022-02-20T12:51:00.000Z | test/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 2 | 2019-06-24T20:44:59.000Z | 2020-06-17T18:41:35.000Z | test/algorithms/alg.modifying.operations/alg.partitions/stable_partition.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.
//
//===----------------------------------------... | 26.057143 | 80 | 0.478314 | caiohamamura |
a940149f4da0964505129979dd1953d7520fc7c9 | 1,293 | cpp | C++ | JammaLib/src/graphics/GlDrawContext.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | JammaLib/src/graphics/GlDrawContext.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | JammaLib/src/graphics/GlDrawContext.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | #include "GlDrawContext.h"
using namespace graphics;
using namespace utils;
GlDrawContext::GlDrawContext() :
DrawContext()
{
}
GlDrawContext::~GlDrawContext()
{
}
std::optional<std::any> GlDrawContext::GetUniform(std::string name)
{
if (_MvpUniformName == name)
return (name, _mvp);
auto it = _uniforms.find(na... | 19.014706 | 71 | 0.686775 | malisimo |
a942f7a24748140304f799d31ed358e73f8fb0c8 | 7,118 | cpp | C++ | HedgeRender/backends/d3d11/hr_shader.cpp | MilesTails-Prower/HedgeLib | b291eb9bb676cd034fbb890ed5615f81723ac2f2 | [
"BSD-2-Clause"
] | null | null | null | HedgeRender/backends/d3d11/hr_shader.cpp | MilesTails-Prower/HedgeLib | b291eb9bb676cd034fbb890ed5615f81723ac2f2 | [
"BSD-2-Clause"
] | null | null | null | HedgeRender/backends/d3d11/hr_shader.cpp | MilesTails-Prower/HedgeLib | b291eb9bb676cd034fbb890ed5615f81723ac2f2 | [
"BSD-2-Clause"
] | null | null | null | #include "hr_in_d3d11.h"
#include "dxc_Default_vs.h"
#include "dxc_Default_ps.h"
#include "hedgerender/hr_shader.h"
#include "hedgelib/hl_memory.h"
#include <d3dcompiler.h>
static const HrShaderCode HrIND3D11DefaultVSCode =
{
sizeof(dxc_Default_vs), dxc_Default_vs
};
const HrShaderCode* hrShaderGetDefaultVSCode(v... | 27.913725 | 101 | 0.640348 | MilesTails-Prower |
a943a157b476b419c5bede7d0487dd05063da83a | 2,684 | hpp | C++ | include/armadillo_bits/Op_bones.hpp | getfiit/armadillo-code | 3a896deca12a0f596b52d84185ebfad65df650b7 | [
"Apache-2.0"
] | 3 | 2020-03-23T04:31:14.000Z | 2021-01-17T09:03:09.000Z | include/armadillo_bits/Op_bones.hpp | getfiit/armadillo-code | 3a896deca12a0f596b52d84185ebfad65df650b7 | [
"Apache-2.0"
] | null | null | null | include/armadillo_bits/Op_bones.hpp | getfiit/armadillo-code | 3a896deca12a0f596b52d84185ebfad65df650b7 | [
"Apache-2.0"
] | 3 | 2018-03-28T20:53:27.000Z | 2020-04-27T07:03:02.000Z | // SPDX-License-Identifier: Apache-2.0
//
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | 37.277778 | 142 | 0.679955 | getfiit |
a9462d90fcbe629ba912938a473ad662a0fb20ba | 168,963 | cpp | C++ | codegen/coderesolver.cpp | Stride-Language/Stride | 02ec957a544187d1e48fe4c71b8c342a733b1b0b | [
"BSD-3-Clause"
] | 7 | 2018-10-11T20:30:13.000Z | 2021-03-18T13:36:38.000Z | codegen/coderesolver.cpp | StrideLang/Stride | 02ec957a544187d1e48fe4c71b8c342a733b1b0b | [
"BSD-3-Clause"
] | null | null | null | codegen/coderesolver.cpp | StrideLang/Stride | 02ec957a544187d1e48fe4c71b8c342a733b1b0b | [
"BSD-3-Clause"
] | null | null | null | /*
Stride is licensed under the terms of the 3-clause BSD license.
Copyright (C) 2017. The Regents of the University of California.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
... | 55.090642 | 192 | 0.555707 | Stride-Language |
a946d84009fc48c058230b0f9344d6aa1438a042 | 3,074 | hpp | C++ | src/Graphics/Graphics.hpp | MeapLotion/LeapTop | 6a0184f1e8f3ca569e5dd47e1311ed6b7cbf7da2 | [
"Libpng",
"Zlib",
"IJG"
] | 2 | 2016-05-02T02:53:40.000Z | 2016-05-02T03:41:27.000Z | src/Graphics/Graphics.hpp | MeapLotion/LeapTop | 6a0184f1e8f3ca569e5dd47e1311ed6b7cbf7da2 | [
"Libpng",
"Zlib",
"IJG"
] | 7 | 2016-02-22T20:13:32.000Z | 2016-03-26T00:53:05.000Z | src/Graphics/Graphics.hpp | MeapLotion/LeapTop | 6a0184f1e8f3ca569e5dd47e1311ed6b7cbf7da2 | [
"Libpng",
"Zlib",
"IJG"
] | null | null | null | #include "DirObject.hpp"
#include <vector>
#include <array>
#include <atomic>
#include <mutex>
#include <future>
#include <unordered_map>
#include <tuple>
#include "EventListener.hpp"
#include "irrlicht/ISceneNode.h"
#include "irrlicht/ICameraSceneNode.h"
#include "irrlicht/IVideoDriver.h"
#include "irrlicht/ISceneMana... | 24.592 | 74 | 0.677944 | MeapLotion |
a9477e510a2c83209e04998c5daa3cc6ee9ad5f3 | 11,603 | cpp | C++ | mp/src/old/dlls/hl2_dll/npc_rollerdozer.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | 1 | 2021-03-20T14:27:45.000Z | 2021-03-20T14:27:45.000Z | mp/src/old/dlls/hl2_dll/npc_rollerdozer.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | null | null | null | mp/src/old/dlls/hl2_dll/npc_rollerdozer.cpp | MaartenS11/Team-Fortress-Invasion | f36b96d27f834d94e0db2d2a9470b05b42e9b460 | [
"Unlicense"
] | null | null | null | //=========== (C) Copyright 1999 Valve, L.L.C. All rights reserved. ===========
//
// The copyright to the contents herein is the property of Valve, L.L.C.
// The contents may be used and/or copied only with the written permission of
// Valve, L.L.C., or in accordance with the terms and conditions stipulated in
// the ... | 25.334061 | 138 | 0.554684 | MaartenS11 |
a949b5edc5a673d0818e53c1f9f2fad4e5cc2353 | 2,474 | cpp | C++ | demo-serving/op/write_op.cpp | Badangel/Serving | ec1d69337a0807ea0d5a79413aa1c3bc848bf063 | [
"Apache-2.0"
] | 1 | 2019-08-08T15:03:43.000Z | 2019-08-08T15:03:43.000Z | demo-serving/op/write_op.cpp | Badangel/Serving | ec1d69337a0807ea0d5a79413aa1c3bc848bf063 | [
"Apache-2.0"
] | null | null | null | demo-serving/op/write_op.cpp | Badangel/Serving | ec1d69337a0807ea0d5a79413aa1c3bc848bf063 | [
"Apache-2.0"
] | 1 | 2019-08-08T15:03:48.000Z | 2019-08-08T15:03:48.000Z | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 29.807229 | 80 | 0.696039 | Badangel |
a949f5308a3eb7a60ef522fb82184da4952eb07f | 18,775 | hh | C++ | src/AMOS/Message_AMOS.hh | sagrudd/amos | 47643a1d238bff83421892cb74daaf6fff8d9548 | [
"Artistic-1.0"
] | 10 | 2015-03-20T18:25:56.000Z | 2020-06-02T22:00:08.000Z | src/AMOS/Message_AMOS.hh | sagrudd/amos | 47643a1d238bff83421892cb74daaf6fff8d9548 | [
"Artistic-1.0"
] | 5 | 2015-05-14T17:51:20.000Z | 2020-07-19T04:17:47.000Z | src/AMOS/Message_AMOS.hh | sagrudd/amos | 47643a1d238bff83421892cb74daaf6fff8d9548 | [
"Artistic-1.0"
] | 10 | 2015-05-17T16:01:23.000Z | 2020-05-20T08:13:43.000Z | ////////////////////////////////////////////////////////////////////////////////
//! \file
//! \author Adam M Phillippy
//! \date 11/12/2003
//!
//! \brief Header for Message_t and IMessagable_t
//! \todo Validity checking for Message and Field codes
//!
/////////////////////////////////////////////////////////////////... | 33.828829 | 80 | 0.551265 | sagrudd |
a94a3f358d14a4df101b9a35a5630db87dca1b89 | 8,394 | cpp | C++ | test/ggpvec2test.cpp | HeatXD/GeckoGamePhysics | bb7e30d4e4337dc65cc118f1339bb3f5ca55000d | [
"MIT"
] | 1 | 2021-08-08T03:42:04.000Z | 2021-08-08T03:42:04.000Z | test/ggpvec2test.cpp | HeatXD/GeckoGamePhysics | bb7e30d4e4337dc65cc118f1339bb3f5ca55000d | [
"MIT"
] | null | null | null | test/ggpvec2test.cpp | HeatXD/GeckoGamePhysics | bb7e30d4e4337dc65cc118f1339bb3f5ca55000d | [
"MIT"
] | null | null | null | #include "../include/ext/doctest/doctest.h"
#include "../include/ggpvec2.h"
TEST_CASE("Init Vector2 No Params")
{
ggp::Vec2 v1;
ggp::Vec2 v2 = ggp::Vec2();
ggp::fix16 zero{0};
CHECK(v1.X == zero);
CHECK(v1.Y == zero);
CHECK(v2.X == zero);
CHECK(v2.Y == zero);
}
TEST_CASE("Init Vector2 With... | 29.660777 | 71 | 0.516917 | HeatXD |
a94ab0c403cb109f7202fb88a8afea0063e142b3 | 1,274 | cpp | C++ | basic/6-layout/VBoxLayout/main/mainform.cpp | alwanadi17/qt-basic | a04d2aaedec5163a3b2b1bd27c2815457cbee0b3 | [
"MIT"
] | null | null | null | basic/6-layout/VBoxLayout/main/mainform.cpp | alwanadi17/qt-basic | a04d2aaedec5163a3b2b1bd27c2815457cbee0b3 | [
"MIT"
] | null | null | null | basic/6-layout/VBoxLayout/main/mainform.cpp | alwanadi17/qt-basic | a04d2aaedec5163a3b2b1bd27c2815457cbee0b3 | [
"MIT"
] | null | null | null | #include "mainform.h"
#include "ui_mainform.h"
MainForm::MainForm(QWidget *parent)
: QWidget(parent)
{
this->setupUi();
}
MainForm::~MainForm()
{
delete button1;
delete button2;
delete button3;
delete button4;
delete closeButton;
}
void MainForm::setupUi()
{
QScreen *scr = QGuiApplica... | 21.233333 | 52 | 0.643642 | alwanadi17 |
a94d6a8f36b038aaa5581f0413b908f45da42bf1 | 41,377 | cpp | C++ | src/cld/Frontend/Compiler/SemanticAnalysisAttributes.cpp | zero9178/cld | 2899ade8045074c5ee939253d2d7f8067c46e72d | [
"MIT"
] | 14 | 2020-10-16T08:29:32.000Z | 2021-12-21T10:37:05.000Z | src/cld/Frontend/Compiler/SemanticAnalysisAttributes.cpp | zero9178/cld | 2899ade8045074c5ee939253d2d7f8067c46e72d | [
"MIT"
] | null | null | null | src/cld/Frontend/Compiler/SemanticAnalysisAttributes.cpp | zero9178/cld | 2899ade8045074c5ee939253d2d7f8067c46e72d | [
"MIT"
] | null | null | null | #include "SemanticAnalysis.hpp"
#include <numeric>
#include <optional>
#include <vector>
#include "ErrorMessages.hpp"
std::vector<cld::Semantics::ParsedAttribute<>>
cld::Semantics::SemanticAnalysis::visit(const Syntax::GNUAttributes& node)
{
std::vector<ParsedAttribute<>> result;
for (auto& iter : node.g... | 44.064963 | 120 | 0.583513 | zero9178 |
a9505404d7ea83a0a1debde1cc04917886783705 | 2,328 | hpp | C++ | gui/shared/imageutil.hpp | industry-advance/nin10kit | dbf81c62c0fa2f544cfd22b1f7d008a885c2b589 | [
"Apache-2.0"
] | 45 | 2015-03-26T17:14:55.000Z | 2022-03-29T20:27:32.000Z | gui/shared/imageutil.hpp | industry-advance/nin10kit | dbf81c62c0fa2f544cfd22b1f7d008a885c2b589 | [
"Apache-2.0"
] | 35 | 2015-01-06T16:16:37.000Z | 2021-06-19T05:03:13.000Z | gui/shared/imageutil.hpp | industry-advance/nin10kit | dbf81c62c0fa2f544cfd22b1f7d008a885c2b589 | [
"Apache-2.0"
] | 5 | 2017-03-26T04:48:02.000Z | 2020-07-10T22:55:49.000Z | #ifndef IMAGE_UTIL_HPP
#define IMAGE_UTIL_HPP
#include <wx/bitmap.h>
#include "shared.hpp"
#include "alltypes.hpp"
#define THUMBNAIL_WIDTH 64
#define THUMBNAIL_HEIGHT 64
class ImageInfo
{
public:
ImageInfo(const std::string& filename);
~ImageInfo() {}
const std::string& GetName() const {... | 38.163934 | 153 | 0.698454 | industry-advance |
a9593bd4bd560ac3f0948b93d95ffd92c2164353 | 65,441 | cpp | C++ | Plugins/UnrealFastNoise/Source/UnrealFastNoisePlugin/Private/FastNoise/FastNoise.cpp | bbtarzan12/SpaceSmith | 2734743f7cc4d27fa9326af9077bf683df52f85a | [
"MIT"
] | null | null | null | Plugins/UnrealFastNoise/Source/UnrealFastNoisePlugin/Private/FastNoise/FastNoise.cpp | bbtarzan12/SpaceSmith | 2734743f7cc4d27fa9326af9077bf683df52f85a | [
"MIT"
] | null | null | null | Plugins/UnrealFastNoise/Source/UnrealFastNoisePlugin/Private/FastNoise/FastNoise.cpp | bbtarzan12/SpaceSmith | 2734743f7cc4d27fa9326af9077bf683df52f85a | [
"MIT"
] | null | null | null | // FastNoise.cpp
//
// MIT License
//
// Copyright(c) 2016 Jordan Peck
//
// 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 ... | 35.917124 | 258 | 0.675907 | bbtarzan12 |
a95d77ac84d4d2533d6b7bbe6173e086dd43004e | 3,589 | cpp | C++ | src/shaders/phong.cpp | ferserc1/bg2e-cpp | f3a04c5202161846b1329918c5070a2e930bec42 | [
"MIT"
] | null | null | null | src/shaders/phong.cpp | ferserc1/bg2e-cpp | f3a04c5202161846b1329918c5070a2e930bec42 | [
"MIT"
] | null | null | null | src/shaders/phong.cpp | ferserc1/bg2e-cpp | f3a04c5202161846b1329918c5070a2e930bec42 | [
"MIT"
] | null | null | null |
#include <bg2e/shaders/phong.hpp>
#include <bg2e/platform.hpp>
#include <bg2e/bgfx_tools.hpp>
#include <bg2e/base/light.hpp>
#include <bg2e/base/pipeline.hpp>
#include <bgfx/embedded_shader.h>
#if BG2E_PLATFORM_WINDOWS==1
#include "win64/shaders.h"
#elif BG2E_PLATFORM_OSX==1
#include "osx/shaders.h"
#elif BG2E_PLAT... | 37.385417 | 178 | 0.688771 | ferserc1 |
a95f0a0dbcac3f0493dcafa20dab2bdffc5b8341 | 11,627 | cpp | C++ | Assignment/Scene.cpp | ivanchotom/Assignment | f87a957985af99a758eb037cd9fbbcda825d3670 | [
"Apache-2.0"
] | null | null | null | Assignment/Scene.cpp | ivanchotom/Assignment | f87a957985af99a758eb037cd9fbbcda825d3670 | [
"Apache-2.0"
] | null | null | null | Assignment/Scene.cpp | ivanchotom/Assignment | f87a957985af99a758eb037cd9fbbcda825d3670 | [
"Apache-2.0"
] | null | null | null | #include "Scene.h"
void Scene::Initialise(GLFWwindow* _window, std::shared_ptr<CameraObject> _camera)
{
window = _window;
camera = _camera;
// shader configuration
// --------------------
shader->use();
shader->setInt("diffuseTexture", 0);
shader->setInt("depthMap", 1);
}
void Scene::LoadScene()
{
//bo... | 40.231834 | 172 | 0.632579 | ivanchotom |
a96830ab7c2d413fb377733f19914aa87fa36a93 | 2,354 | hpp | C++ | inc/rasters/entities/LayeredGrid/LayeredGrid_test_utils.hpp | davidson16807/libtectonics | aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646 | [
"CC-BY-4.0"
] | 7 | 2020-06-09T19:56:55.000Z | 2021-02-17T01:53:30.000Z | inc/rasters/entities/LayeredGrid/LayeredGrid_test_utils.hpp | davidson16807/tectonics.cpp | c40278dba14260c598764467c7abf23b190e676b | [
"CC-BY-4.0"
] | null | null | null | inc/rasters/entities/LayeredGrid/LayeredGrid_test_utils.hpp | davidson16807/tectonics.cpp | c40278dba14260c598764467c7abf23b190e676b | [
"CC-BY-4.0"
] | null | null | null | #pragma once
// 3rd party libraries
#define GLM_FORCE_PURE // disable anonymous structs so we can build with ISO C++
#include <glm/vec3.hpp> // *vec3
// in-house libraries
#include <series/types.hpp>
#include <series/glm/types.hpp>
#include <series/glm/random.hpp>
#include <meshes/mesh.hpp>
#incl... | 39.233333 | 166 | 0.761257 | davidson16807 |
a96890e49618a3d250a59e185b5c4fdaaaff3ac9 | 4,389 | cpp | C++ | src/jbdrivers/JbController.cpp | JohnnyB1290/jblib-imxrt-jbrivers | 108ca2c87e3af1848d1ec97abe3517b948165f9c | [
"Apache-2.0"
] | null | null | null | src/jbdrivers/JbController.cpp | JohnnyB1290/jblib-imxrt-jbrivers | 108ca2c87e3af1848d1ec97abe3517b948165f9c | [
"Apache-2.0"
] | null | null | null | src/jbdrivers/JbController.cpp | JohnnyB1290/jblib-imxrt-jbrivers | 108ca2c87e3af1848d1ec97abe3517b948165f9c | [
"Apache-2.0"
] | null | null | null | /**
* @file
* @brief JbController Core class realization
*
*
* @note
* Copyright © 2019 Evgeniy Ivanov. Contacts: <strelok1290@gmail.com>
* All rights reserved.
* @note
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | 20.800948 | 85 | 0.715881 | JohnnyB1290 |
a96d127191c18a966680e6ca1d50ae400a642903 | 645 | hpp | C++ | components/common/cpp/include/ftl/cuda_util.hpp | knicos/voltu | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | [
"MIT"
] | 4 | 2020-12-28T15:29:15.000Z | 2021-06-27T12:37:15.000Z | components/common/cpp/include/ftl/cuda_util.hpp | knicos/voltu | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | [
"MIT"
] | null | null | null | components/common/cpp/include/ftl/cuda_util.hpp | knicos/voltu | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | [
"MIT"
] | 2 | 2021-01-13T05:28:39.000Z | 2021-05-04T03:37:11.000Z | /**
* @file cuda_util.hpp
* @copyright Copyright (c) 2020 University of Turku, MIT License
* @author Nicolas Pope
*/
#pragma once
#ifndef _CUDA_UTIL_
#define _CUDA_UTIL_
#undef max
#undef min
#ifdef CPPCHECK
#define __align__(A)
#endif
#include <cuda_runtime.h>
#include <vector_types.h>
#include <ftl/cuda_oper... | 18.970588 | 100 | 0.748837 | knicos |
a96f406200597858863e2450ad7f5d400ad8f1ed | 3,404 | cpp | C++ | src/wiztk/gui/abstract-layout.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 37 | 2017-11-22T14:15:33.000Z | 2021-11-25T20:39:39.000Z | src/wiztk/gui/abstract-layout.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 3 | 2018-03-01T12:44:22.000Z | 2021-01-04T23:14:41.000Z | src/wiztk/gui/abstract-layout.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 10 | 2017-11-25T19:09:11.000Z | 2020-12-02T02:05:47.000Z | /*
* Copyright 2017 - 2018 The WizTK Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 23.315068 | 96 | 0.710635 | wiztk |
a97229f6ce718ad7dfa53414fb92736612b6f5a1 | 6,423 | cpp | C++ | EtcLib/Etc/EtcImage.cpp | abergmeier/etc2comp | f2749563e886abf47323fc61a3bfe5268eec754b | [
"Apache-2.0"
] | null | null | null | EtcLib/Etc/EtcImage.cpp | abergmeier/etc2comp | f2749563e886abf47323fc61a3bfe5268eec754b | [
"Apache-2.0"
] | null | null | null | EtcLib/Etc/EtcImage.cpp | abergmeier/etc2comp | f2749563e886abf47323fc61a3bfe5268eec754b | [
"Apache-2.0"
] | 2 | 2018-02-26T18:02:50.000Z | 2020-03-28T15:09:47.000Z | /*
* Copyright 2015 The Etc2Comp Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 26.987395 | 107 | 0.600965 | abergmeier |
a978a97ab1f7eb1696909953f8989ca3371dbd5f | 2,168 | cpp | C++ | Marx/include/Marx/Renderer/Buffer.cpp | TecStylos/Marx | e4903ec6463ceb30614d046db145db2a4fd70133 | [
"Apache-2.0"
] | null | null | null | Marx/include/Marx/Renderer/Buffer.cpp | TecStylos/Marx | e4903ec6463ceb30614d046db145db2a4fd70133 | [
"Apache-2.0"
] | null | null | null | Marx/include/Marx/Renderer/Buffer.cpp | TecStylos/Marx | e4903ec6463ceb30614d046db145db2a4fd70133 | [
"Apache-2.0"
] | 1 | 2021-01-06T20:23:41.000Z | 2021-01-06T20:23:41.000Z | #include "mxpch.h"
#include "Buffer.h"
#include "Renderer.h"
#ifdef MX_ENABLE_D3D11
#include "Marx/Platform/D3D11/D3D11Buffer.h"
#endif
#ifdef MX_ENABLE_OPENGL
#include "Marx/Platform/OpenGL/OpenGLBuffer.h"
#endif
namespace Marx
{
void BufferLayout::calculateElementData()
{
{
m_stride = 0;
uint32_t offset... | 24.91954 | 108 | 0.677583 | TecStylos |
a97ba8888b023a84108306888445f6b9da687810 | 1,566 | cc | C++ | modules/v2x/v2x_proxy/obu_interface/grpc_interface/grpc_server_test.cc | ghdawn/apollo | 002eba4a1635d6af7f1ebd2118464bca6f86b106 | [
"Apache-2.0"
] | 2 | 2019-01-15T08:34:59.000Z | 2019-01-15T08:35:00.000Z | modules/v2x/v2x_proxy/obu_interface/grpc_interface/grpc_server_test.cc | thomasgui76/apollo | 808f1d20a08efea23b718b4e423d6619c9d4b412 | [
"Apache-2.0"
] | null | null | null | modules/v2x/v2x_proxy/obu_interface/grpc_interface/grpc_server_test.cc | thomasgui76/apollo | 808f1d20a08efea23b718b4e423d6619c9d4b412 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 32.625 | 79 | 0.680077 | ghdawn |
a97bc04b750c8e2173bc1c26a205f362b60cabd5 | 40 | cpp | C++ | make/ddk_build/cpprtl_test.sys.project/ntke_cpprtl.syslib/rtlk_std.cpp | 133a/project_ntke_cpprtl | f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c | [
"MIT"
] | 12 | 2016-08-02T19:22:26.000Z | 2022-02-28T21:20:18.000Z | make/ddk_build/cpprtl_test.sys.project/ntke_cpprtl.syslib/rtlk_std.cpp | 133a/project_ntke_cpprtl | f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c | [
"MIT"
] | null | null | null | make/ddk_build/cpprtl_test.sys.project/ntke_cpprtl.syslib/rtlk_std.cpp | 133a/project_ntke_cpprtl | f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c | [
"MIT"
] | 6 | 2018-04-15T16:51:40.000Z | 2021-04-23T19:32:34.000Z | #include <../ntke_cpprtl/rtlk_std.cpp>
| 20 | 39 | 0.725 | 133a |
a9823e8a00d806e76f148f3546ef84e92429396e | 7,578 | cpp | C++ | emulator/source/instructions.cpp | Kostu96/K4004 | e9741e9df77de6426303b421bb8514ba6dd911cf | [
"MIT"
] | 1 | 2021-11-18T11:40:38.000Z | 2021-11-18T11:40:38.000Z | emulator/source/instructions.cpp | Kostu96/K4004 | e9741e9df77de6426303b421bb8514ba6dd911cf | [
"MIT"
] | null | null | null | emulator/source/instructions.cpp | Kostu96/K4004 | e9741e9df77de6426303b421bb8514ba6dd911cf | [
"MIT"
] | null | null | null | #include "emulator/source/instructions.hpp"
#include "emulator/source/ram.hpp"
#include "emulator/source/rom.hpp"
#include "shared/source/assembly.hpp"
uint8_t getRegisterValue(const uint8_t* registers, uint8_t reg)
{
bool isOdd = reg % 2;
uint8_t regPairValue = registers[reg / 2];
return (regPairValue >>... | 21.651429 | 92 | 0.588942 | Kostu96 |
a984964b6d7ec6c95127f69b79776d284d2d68e9 | 4,105 | cpp | C++ | Arduino/OtaFabMechanum/src/functionsApi/autoAvoidance.cpp | sibafb/osoyoo_mechanum_wheel_robot | 5ea1cde6b4164aef19adca5ce733b5dc257b9254 | [
"Apache-2.0"
] | 1 | 2020-12-24T09:40:44.000Z | 2020-12-24T09:40:44.000Z | Arduino/OtaFabMechanum/src/functionsApi/autoAvoidance.cpp | sibafb/osoyoo_mechanum_wheel_robot | 5ea1cde6b4164aef19adca5ce733b5dc257b9254 | [
"Apache-2.0"
] | 5 | 2021-01-10T05:34:20.000Z | 2021-02-13T02:40:55.000Z | Arduino/OtaFabMechanum/src/functionsApi/autoAvoidance.cpp | sibafb/osoyoo_mechanum_wheel_robot | 5ea1cde6b4164aef19adca5ce733b5dc257b9254 | [
"Apache-2.0"
] | 1 | 2020-12-27T12:01:51.000Z | 2020-12-27T12:01:51.000Z | /**
* @file autoAvoidance.cpp
* @brief
*
* @date 2020/12/24 まずcでファイル分割をかく
*/
#include <Arduino.h>
#include "./../lib/debugPrint.h"
#include "./../lib/pinAssignment.h"
#include "functionsApi.h"
#define LPT 2 // scan loop coumter
#define FAST_SPEED 160 //both sides of the motor speed
#define SPEED 120 ... | 30.864662 | 183 | 0.650426 | sibafb |
a984c7dc81f334831466ab62e488147225937da5 | 1,291 | cpp | C++ | Visual Mercutio/zMediator/PSS_MainForm.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 1 | 2022-01-31T06:24:24.000Z | 2022-01-31T06:24:24.000Z | Visual Mercutio/zMediator/PSS_MainForm.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-04-11T15:50:42.000Z | 2021-06-05T08:23:04.000Z | Visual Mercutio/zMediator/PSS_MainForm.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-01-08T00:55:18.000Z | 2022-01-31T06:24:18.000Z | /****************************************************************************
* ==> PSS_MainForm --------------------------------------------------------*
****************************************************************************
* Description : Application main form interface (may be shared between all *
* ... | 44.517241 | 78 | 0.226181 | Jeanmilost |
a98593599c4f317e2733518f37bf1236779c8946 | 6,233 | cxx | C++ | source/Tools/GenerateDeformation2D.cxx | tschuls/ETH-SegReg-DLL | 34bd10464dc5e8b3c7bf3371ca1e190d692385b7 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | source/Tools/GenerateDeformation2D.cxx | tschuls/ETH-SegReg-DLL | 34bd10464dc5e8b3c7bf3371ca1e190d692385b7 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | source/Tools/GenerateDeformation2D.cxx | tschuls/ETH-SegReg-DLL | 34bd10464dc5e8b3c7bf3371ca1e190d692385b7 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #include "Log.h"
#include <stdio.h>
#include <iostream>
#include "ArgumentParser.h"
#include "ImageUtils.h"
#include "TransformationUtils.h"
#include <itkWarpImageFilter.h>
#include <itkDisplacementFieldJacobianDeterminantFilter.h>
#if __cplusplus > 199711L
#define CPLUSPLUS_ELEVEN
#include <random>
#else
#include "b... | 36.238372 | 209 | 0.695652 | tschuls |
a987f9ad81e97fd94a540b11d745caf4ba649204 | 12,782 | cpp | C++ | cozybirdFX/NewState.cpp | HenryLoo/cozybirdFX | 0ef522d9a8304c190c8a586a4de6452c6bc9edfe | [
"BSD-3-Clause"
] | null | null | null | cozybirdFX/NewState.cpp | HenryLoo/cozybirdFX | 0ef522d9a8304c190c8a586a4de6452c6bc9edfe | [
"BSD-3-Clause"
] | null | null | null | cozybirdFX/NewState.cpp | HenryLoo/cozybirdFX | 0ef522d9a8304c190c8a586a4de6452c6bc9edfe | [
"BSD-3-Clause"
] | null | null | null | #include "NewState.h"
#include "EmitterRenderer.h"
#include "Engine.h"
#include "UIButton.h"
#include <glm/gtc/random.hpp>
namespace
{
// Generate a random float bounded by min and max inclusive.
float getRandomFloat(float min, float max, int precision = 1)
{
float val{ glm::linearRand(min, max) };
int mult{ s... | 27.37045 | 87 | 0.68041 | HenryLoo |
a98c1ecb00ac75a8109098a3e0c109cda3d1edc9 | 2,796 | cpp | C++ | sdl2/CaveStory/src/Flash.cpp | pdpdds/SDLGameProgramming | 3af68e2133296f3e7bc3d7454d9301141bca2d5a | [
"BSD-2-Clause"
] | null | null | null | sdl2/CaveStory/src/Flash.cpp | pdpdds/SDLGameProgramming | 3af68e2133296f3e7bc3d7454d9301141bca2d5a | [
"BSD-2-Clause"
] | null | null | null | sdl2/CaveStory/src/Flash.cpp | pdpdds/SDLGameProgramming | 3af68e2133296f3e7bc3d7454d9301141bca2d5a | [
"BSD-2-Clause"
] | null | null | null | #include "Flash.h"
#include "CommonDefines.h"
#include "Draw.h"
#include "WindowsWrapper.h"
static struct
{
int mode;
int act_no;
BOOL flag;
int cnt;
int width;
int x;
int y;
RECT rect1;
RECT rect2;
} flash;
static unsigned long gFlashColor;
void InitFlash(void)
{
gFlashColor = GetCortBoxColor(RGB(0xFF, 0... | 16.843373 | 54 | 0.621602 | pdpdds |
a98f4f3e1fad4c46169e8fcd252761feb31a788a | 1,660 | cpp | C++ | src/question234.cpp | lxb1226/leetcode_cpp | 554280de6be2a77e2fe41a5e77cdd0f884ac2e20 | [
"MIT"
] | null | null | null | src/question234.cpp | lxb1226/leetcode_cpp | 554280de6be2a77e2fe41a5e77cdd0f884ac2e20 | [
"MIT"
] | null | null | null | src/question234.cpp | lxb1226/leetcode_cpp | 554280de6be2a77e2fe41a5e77cdd0f884ac2e20 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
struct ListNode{
int val;
ListNode *next;
ListNode() : val(0), next(nullptr){}
ListNode(int x) : val(x), next(nullptr){}
ListNode(int x, ListNode* next) : val(x), next(next){}
};
class Solution {
public:
bool isPalindrome(ListNode* he... | 23.055556 | 58 | 0.512651 | lxb1226 |
81788ff1dd1a36ad945ba2a311725ecf3d50fb45 | 2,375 | cpp | C++ | lib/why3cpp/src/whyml-annotator.cpp | sellamiy/GPiD-Framework | f6ed1abb2da6d51639f5ee410b1f9b143a200465 | [
"BSD-3-Clause"
] | 8 | 2018-07-13T07:07:08.000Z | 2021-05-18T17:56:59.000Z | lib/why3cpp/src/whyml-annotator.cpp | sellamiy/GPiD-Framework | f6ed1abb2da6d51639f5ee410b1f9b143a200465 | [
"BSD-3-Clause"
] | null | null | null | lib/why3cpp/src/whyml-annotator.cpp | sellamiy/GPiD-Framework | f6ed1abb2da6d51639f5ee410b1f9b143a200465 | [
"BSD-3-Clause"
] | null | null | null | #define LIB_WHY3CPP__ANNOTATOR_CPP
#include <snlog/snlog.hpp>
#include <WhyMLLexer.h>
#include <WhyMLParser.h>
#include <why3cpp/whyml-annotator.hpp>
using namespace std;
#include "whyml-error-listener.hpp"
namespace why3cpp {
namespace whyantlr {
class Annotator {
antlr4::ANTLRInputStream*... | 27.298851 | 80 | 0.624421 | sellamiy |
817b54d9b5ec0fdcf992d60c82cc0e1e49de0b56 | 129 | cpp | C++ | Vendor/ImGuizmo/ImGradient.cpp | wdrDarx/DEngine3 | 27e2de3b56b6d4c8705e8a0e36f5911d8651caa2 | [
"MIT"
] | 2 | 2022-01-11T21:15:31.000Z | 2022-02-22T21:14:33.000Z | Vendor/ImGuizmo/ImGradient.cpp | wdrDarx/DEngine3 | 27e2de3b56b6d4c8705e8a0e36f5911d8651caa2 | [
"MIT"
] | null | null | null | Vendor/ImGuizmo/ImGradient.cpp | wdrDarx/DEngine3 | 27e2de3b56b6d4c8705e8a0e36f5911d8651caa2 | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:882180f575677071403af5f1a75e2e64b101975b38394e6b3d9a0af4967e4c8d
size 3296
| 32.25 | 75 | 0.883721 | wdrDarx |
8183137e68f3e3ed6820cf5931463d1e773470c7 | 657 | cc | C++ | stage0/cfg/gc/rtgc/allocator.cc | bitwize/rscheme | 1c933d3418205038df0f90e7bffdcfa2bff75951 | [
"TCL"
] | 21 | 2015-07-27T06:14:35.000Z | 2022-01-27T01:50:27.000Z | stage0/cfg/gc/rtgc/allocator.cc | ecraven/rscheme | f7de3a1e2367b1828135d3c613877865f57f04da | [
"TCL"
] | 1 | 2019-08-21T12:47:11.000Z | 2019-08-21T12:47:11.000Z | stage0/cfg/gc/rtgc/allocator.cc | ecraven/rscheme | f7de3a1e2367b1828135d3c613877865f57f04da | [
"TCL"
] | 7 | 2016-06-03T02:03:17.000Z | 2021-05-06T15:05:39.000Z | #include <rtgc/gc.hh>
#include <rtgc/allocator.hh>
#include <rtgc/sizclass.h>
#ifdef INLINES
#include <rtgc/inlines.hh>
#endif
colors allocation_color;
color_set *allocation_sets[NUM_SIZE_CLASSES];
color_set *allocation_set_fast_lookup[FAST_LOOKUP_TABLE_SIZE];
void gc_allocation_table_initialize(void){
for(int i ... | 25.269231 | 63 | 0.747336 | bitwize |
81831e3fc226b27e35659444bb26136fd695a6a0 | 6,282 | cpp | C++ | libnd4j/include/ops/declarable/generic/linalg/lstsq.cpp | printomi/deeplearning4j | 31c355e51ab34cc9714df7d874cb8b261b26ad3f | [
"Apache-2.0"
] | 13,006 | 2015-02-13T18:35:31.000Z | 2022-03-18T12:11:44.000Z | libnd4j/include/ops/declarable/generic/linalg/lstsq.cpp | fbrunacci/deeplearning4j | a76f957b72056138340a09ca654cd3ac395e3660 | [
"Apache-2.0"
] | 5,319 | 2015-02-13T08:21:46.000Z | 2019-06-12T14:56:50.000Z | libnd4j/include/ops/declarable/generic/linalg/lstsq.cpp | fbrunacci/deeplearning4j | a76f957b72056138340a09ca654cd3ac395e3660 | [
"Apache-2.0"
] | 4,719 | 2015-02-13T22:48:55.000Z | 2022-03-22T07:25:36.000Z | /*******************************************************************************
* Copyright (c) 2020 Konduit, K.K.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* Unle... | 46.191176 | 210 | 0.56256 | printomi |
8184c88b73d92b215ef344ce761049ca9ee2951f | 22,347 | cpp | C++ | groups/bdl/bdlb/bdlb_cstringless.t.cpp | hughesr/bde | d593e3213918b9292c25e08cfc5b6651bacdea0d | [
"Apache-2.0"
] | 1 | 2019-01-22T19:44:05.000Z | 2019-01-22T19:44:05.000Z | groups/bdl/bdlb/bdlb_cstringless.t.cpp | anuranrc/bde | d593e3213918b9292c25e08cfc5b6651bacdea0d | [
"Apache-2.0"
] | null | null | null | groups/bdl/bdlb/bdlb_cstringless.t.cpp | anuranrc/bde | d593e3213918b9292c25e08cfc5b6651bacdea0d | [
"Apache-2.0"
] | null | null | null | // bdlb_cstringless.t.cpp -*-C++-*-
#include <bdlb_cstringless.h>
#include <bslalg_hastrait.h>
#include <bslalg_typetraits.h>
#include <bslim_testutil.h>
#include <bslma_default.h>
#include <bslma_defaultallocatorguard.h>
#include <bslma_testallocator.h>
#include <bslma_te... | 39.205263 | 79 | 0.50839 | hughesr |
8186254620af0ebf176f2487f561d8e8ea2bc264 | 2,811 | cpp | C++ | Tools/Generator/Utilities/ScriptDetector.cpp | radarhere/SheenBidi | e777ffe0b90c056d39b9f3ae9c7e629dc7ebd531 | [
"Apache-2.0"
] | 49 | 2018-12-01T13:39:24.000Z | 2022-03-25T01:34:52.000Z | Tools/Generator/Utilities/ScriptDetector.cpp | radarhere/SheenBidi | e777ffe0b90c056d39b9f3ae9c7e629dc7ebd531 | [
"Apache-2.0"
] | 13 | 2018-12-01T18:18:03.000Z | 2022-03-19T18:13:40.000Z | Tools/Generator/Utilities/ScriptDetector.cpp | radarhere/SheenBidi | e777ffe0b90c056d39b9f3ae9c7e629dc7ebd531 | [
"Apache-2.0"
] | 10 | 2020-12-01T17:47:30.000Z | 2022-03-10T15:58:51.000Z | /*
* Copyright (C) 2018 Muhammad Tayyab Akram
*
* 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 la... | 28.979381 | 104 | 0.70153 | radarhere |
818804cef046828c9d9135379164178fdc16a25a | 1,809 | hpp | C++ | src/ir/ir.hpp | traplol/malang | 3c02f4f483b7580a557841c31a65bf190fd1228f | [
"MIT"
] | 4 | 2017-10-31T14:01:58.000Z | 2019-07-16T04:53:32.000Z | src/ir/ir.hpp | traplol/malang | 3c02f4f483b7580a557841c31a65bf190fd1228f | [
"MIT"
] | null | null | null | src/ir/ir.hpp | traplol/malang | 3c02f4f483b7580a557841c31a65bf190fd1228f | [
"MIT"
] | 2 | 2018-01-23T12:59:07.000Z | 2019-07-16T04:53:39.000Z | #ifndef MALANG_IR_IR_HPP
#define MALANG_IR_IR_HPP
#include <vector>
#include "../metadata.hpp"
#include "../type_map.hpp"
#include "../source_code.hpp"
#include "ir_visitor.hpp"
#include "label_map.hpp"
#define IR_NODE_OVERRIDES \
METADATA_OVERRIDES; \
virtual void accept(IR_Visitor&) override
#define IR_NOD... | 28.265625 | 92 | 0.681592 | traplol |
81886118af0173e921ff2bd77ed3a7b3315164a9 | 1,178 | cpp | C++ | Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17TryThis2.cpp | Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 9 | 2018-10-24T15:16:47.000Z | 2021-12-14T13:53:50.000Z | Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17TryThis2.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | null | null | null | Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17TryThis2.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 7 | 2018-10-29T15:30:37.000Z | 2021-01-18T15:15:09.000Z | /*
TITLE Try This 2 Chapter17TryThis2.cpp
"Bjarne Stroustrup "C++ Programming: Principles and Practice.""
COMMENT
Objcective: Analyze the behavior of class constructors and destructors.
Input: -
Output: -
Author: Chris B. Kirov
Date: 26.11.2015
*/
#include <iostream>
#include <st... | 15.102564 | 73 | 0.499151 | Ziezi |
818cd80f5f5a1e52b3a7249b56b0c28cbc88f8fc | 791 | cpp | C++ | src/mappers/mapper2.cpp | yoshihitoh/LaiNES | 52b7920d9878962adf50fdeb14f3e65906db57d9 | [
"BSD-2-Clause"
] | 1,546 | 2015-03-25T03:51:52.000Z | 2022-03-27T13:24:11.000Z | src/mappers/mapper2.cpp | yoshihitoh/LaiNES | 52b7920d9878962adf50fdeb14f3e65906db57d9 | [
"BSD-2-Clause"
] | 33 | 2015-12-07T04:04:08.000Z | 2022-02-19T05:58:55.000Z | src/mappers/mapper2.cpp | yoshihitoh/LaiNES | 52b7920d9878962adf50fdeb14f3e65906db57d9 | [
"BSD-2-Clause"
] | 146 | 2016-11-26T17:29:46.000Z | 2022-03-17T03:24:08.000Z | #include "ppu.hpp"
#include "mappers/mapper2.hpp"
/* Based off of https://wiki.nesdev.com/w/index.php/UxROM */
/* Apply the registers state */
void Mapper2::apply()
{
/*
* 16 kb PRG ROM Banks
* 0x8000 - 0xBFFF swappable
* 0xC000 - 0xFFFF fixed
*/
map_prg<16>(0, regs[0] & 0xF);
map_prg<16>(1... | 19.292683 | 68 | 0.572693 | yoshihitoh |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.