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 108 | 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 67k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c70afa5c968204fb92f551e7a66a1b8713e1b0df | 2,789 | cpp | C++ | Projects/Library/Source/Exception.cpp | kalineh/KAI | 43ab555bcbad1886715cd00b2cdac89e12d5cfe5 | [
"MIT"
] | 1 | 2018-06-16T17:53:43.000Z | 2018-06-16T17:53:43.000Z | Projects/Library/Source/Exception.cpp | kalineh/KAI | 43ab555bcbad1886715cd00b2cdac89e12d5cfe5 | [
"MIT"
] | null | null | null | Projects/Library/Source/Exception.cpp | kalineh/KAI | 43ab555bcbad1886715cd00b2cdac89e12d5cfe5 | [
"MIT"
] | null | null | null |
#include "KAI/KAI.h"
#include "KAI/BuiltinTypes/Signed32.h"
KAI_BEGIN
namespace Exception
{
nstd::string Base::ToString() const
{
StringStream S;
std::string loc = location.ToString().c_str();
loc = loc.substr(loc.find_last_of('/') + 1);
S << loc.c_str() << text << ": ";
WriteExtendedInformation(S);
... | 22.134921 | 100 | 0.669416 | kalineh |
c70bb8e0a1fa398648d66bdc673df158b58f6ade | 10,580 | cpp | C++ | src/PropGenerator.cpp | ajmalk/RIGOR-cpp | 19300c2bd7d7a963d16ebd6b2544eb6e09967520 | [
"MIT"
] | null | null | null | src/PropGenerator.cpp | ajmalk/RIGOR-cpp | 19300c2bd7d7a963d16ebd6b2544eb6e09967520 | [
"MIT"
] | null | null | null | src/PropGenerator.cpp | ajmalk/RIGOR-cpp | 19300c2bd7d7a963d16ebd6b2544eb6e09967520 | [
"MIT"
] | null | null | null | //
// PropGenerator.cpp
// Rigor
//
// Created by Ajmal Kunnummal on 2/20/15.
// Copyright (c) 2015 ajmal. All rights reserved.
//
#include <opencv2/core/core.hpp>
#include <opencv2/contrib/contrib.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "bk_dynamicgraphs.h"
#include "SLICSegment.h"
#include "PropGe... | 31.58209 | 121 | 0.571267 | ajmalk |
c71593765c3930e695c248de4da51db1ea5354ae | 858 | cpp | C++ | 557-reverse-words-in-a-string-iii/reverse-words-in-a-string-iii_[AC1_22ms].cpp | i-square/LeetCode | 9b15114b7a3de8638d44b3030edb72f41d9a274e | [
"MIT"
] | 1 | 2019-10-09T11:25:10.000Z | 2019-10-09T11:25:10.000Z | 557-reverse-words-in-a-string-iii/reverse-words-in-a-string-iii_[AC1_22ms].cpp | i-square/LeetCode | 9b15114b7a3de8638d44b3030edb72f41d9a274e | [
"MIT"
] | null | null | null | 557-reverse-words-in-a-string-iii/reverse-words-in-a-string-iii_[AC1_22ms].cpp | i-square/LeetCode | 9b15114b7a3de8638d44b3030edb72f41d9a274e | [
"MIT"
] | 1 | 2021-03-31T08:45:51.000Z | 2021-03-31T08:45:51.000Z | // Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order.
//
// Example 1:
//
// Input: "Let's take LeetCode contest"
// Output: "s'teL ekat edoCteeL tsetnoc"
//
//
//
// Note:
// In the string, each word is separated by singl... | 23.833333 | 151 | 0.484848 | i-square |
c716f6f316a208d71eeeff6b0fb0b84bb82eaaae | 443 | hpp | C++ | Game.hpp | JTuthill01/Nightmare | e4b712e28c228c66a33664418cc176cf527c28c9 | [
"MIT"
] | null | null | null | Game.hpp | JTuthill01/Nightmare | e4b712e28c228c66a33664418cc176cf527c28c9 | [
"MIT"
] | null | null | null | Game.hpp | JTuthill01/Nightmare | e4b712e28c228c66a33664418cc176cf527c28c9 | [
"MIT"
] | null | null | null | #pragma once
#include <States/States.hpp>
#include <States/MainMenuState.hpp>
class Game
{
public:
Game();
~Game();
void run();
private:
void initWindow();
void render();
void update(const float& deltaTime);
void updateDeltaTime();
void initStates();
void events();
bool isClosed;
f... | 13.84375 | 38 | 0.641084 | JTuthill01 |
c718f61968dd07a288759f568967812dd56075ea | 2,065 | cpp | C++ | GTEngine/Source/Graphics/GL4/GteGL4RasterizerState.cpp | pmjoniak/GeometricTools | ae6e933f9ab3a5474d830700ea8d9445cc78ef4b | [
"BSL-1.0"
] | 4 | 2019-03-03T18:13:30.000Z | 2020-08-25T18:15:30.000Z | GTEngine/Source/Graphics/GL4/GteGL4RasterizerState.cpp | pmjoniak/GeometricTools | ae6e933f9ab3a5474d830700ea8d9445cc78ef4b | [
"BSL-1.0"
] | null | null | null | GTEngine/Source/Graphics/GL4/GteGL4RasterizerState.cpp | pmjoniak/GeometricTools | ae6e933f9ab3a5474d830700ea8d9445cc78ef4b | [
"BSL-1.0"
] | 6 | 2016-07-15T11:04:52.000Z | 2021-12-07T03:11:42.000Z | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2018
// 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: 3.0.0 (2016/06/19)
#include <GTEnginePCH.h>
#include <LowLe... | 25.8125 | 89 | 0.6954 | pmjoniak |
c719344b3a34a9cd42a6bcc89c762dffc9340924 | 5,551 | cc | C++ | build/X86/mem/XBar.py.cc | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/X86/mem/XBar.py.cc | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | build/X86/mem/XBar.py.cc | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | #include "sim/init.hh"
namespace {
const uint8_t data_m5_objects_XBar[] = {
120,156,165,86,225,110,27,69,16,222,59,251,236,196,118,98,
199,73,220,34,40,92,11,8,83,104,140,144,34,33,129,16,
4,20,9,41,73,171,115,139,138,133,100,109,238,214,241,133,
187,219,211,237,154,218,253,73,249,201,19,240,34,188,15... | 53.893204 | 66 | 0.660061 | zhoushuxin |
c71977f03a3da3cb0599c971b9a81ac72c6479ef | 2,898 | hpp | C++ | lib/sfml/src/Window.hpp | benjyup/cpp_arcade | 4b755990b64156148e529da1c39efe8a8c0c5d1f | [
"MIT"
] | null | null | null | lib/sfml/src/Window.hpp | benjyup/cpp_arcade | 4b755990b64156148e529da1c39efe8a8c0c5d1f | [
"MIT"
] | null | null | null | lib/sfml/src/Window.hpp | benjyup/cpp_arcade | 4b755990b64156148e529da1c39efe8a8c0c5d1f | [
"MIT"
] | null | null | null | /*
** Window.h for Project-Master in /home/peixot_b/Epitech/Tek2/CPP/Arcade/cpp_arcade/lib/sfml/src
**
** Made by peixot_b
** Login <benjamin.peixoto@epitech.eu>
**
** Started on Thu Mar 23 13:35:43 2017 peixot_b
** Last update Thu Mar 23 13:35:45 2017 peixot_b
*/
#ifndef WINDOW_HPP_
# define WINDOW_HPP_
#includ... | 38.64 | 121 | 0.484127 | benjyup |
c71a0aa154320c6927d2607d92b198f61fcd1213 | 1,366 | hpp | C++ | Ruken/Source/Include/Containers/LinkedChunkListNode.hpp | Renondedju/Daemon | 8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6 | [
"MIT"
] | 4 | 2020-06-11T00:35:03.000Z | 2020-06-23T11:57:52.000Z | Ruken/Source/Include/Containers/LinkedChunkListNode.hpp | Renondedju/Daemon | 8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6 | [
"MIT"
] | 1 | 2020-03-17T13:34:16.000Z | 2020-03-17T13:34:16.000Z | Ruken/Source/Include/Containers/LinkedChunkListNode.hpp | Renondedju/Daemon | 8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6 | [
"MIT"
] | 2 | 2020-03-19T12:20:17.000Z | 2020-09-03T07:49:06.000Z |
#pragma once
#include <array>
#include "Build/Namespace.hpp"
#include "Types/FundamentalTypes.hpp"
BEGIN_RUKEN_NAMESPACE
/**
* \brief Represents a node in a LinkedChunkList
* \tparam TType Elements type of the node
* \tparam TChunkSize Size in octets of the chunk (node) (default is 16Kb or 2046 octets)
*/
temp... | 28.458333 | 89 | 0.662518 | Renondedju |
c71d22ac5fb4586589d9b7ef1017735ebec18369 | 39,515 | cpp | C++ | Engine/Source/Developer/BlueprintNativeCodeGen/Private/BlueprintNativeCodeGenModule.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Developer/BlueprintNativeCodeGen/Private/BlueprintNativeCodeGenModule.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Developer/BlueprintNativeCodeGen/Private/BlueprintNativeCodeGenModule.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "BlueprintNativeCodeGenModule.h"
#include "Engine/Blueprint.h"
#include "HAL/FileManager.h"
#include "Misc/FileHelper.h"
#include "Misc/Paths.h"
#include "Misc/ConfigCacheIni.h"
#include "UObject/UObjectHash.h"
#include "UObject/Package.h"
#include ... | 35.825023 | 283 | 0.765152 | windystrife |
c7219c2913ef430684a381dd287e2157ac8464d5 | 1,248 | hpp | C++ | attdet/alglin/include/alglin/array.hpp | zenitheesc/AttitudeDetermination | 090418f7ac5554ca7a958cf636967d5993e04898 | [
"MIT"
] | null | null | null | attdet/alglin/include/alglin/array.hpp | zenitheesc/AttitudeDetermination | 090418f7ac5554ca7a958cf636967d5993e04898 | [
"MIT"
] | null | null | null | attdet/alglin/include/alglin/array.hpp | zenitheesc/AttitudeDetermination | 090418f7ac5554ca7a958cf636967d5993e04898 | [
"MIT"
] | 1 | 2022-03-12T10:40:44.000Z | 2022-03-12T10:40:44.000Z | #ifndef ARRAY_HPP
#define ARRAY_HPP
#if __cplusplus >= 201703L
#define CONSTEXPR_17 constexpr
#else
#define CONSTEXPR_17
#endif
namespace alglin {
template<class Type, int N> class array {
struct iterator {
/* not "real" iterator */
// using iterator_category = std::forward_iterator_tag;
constexpr iterator(... | 21.894737 | 74 | 0.655449 | zenitheesc |
c721fdcc2303702580d1ab10c781f783c5e57df0 | 3,069 | cpp | C++ | test/TextDestroy.cpp | Shoegzer/SPIRV-Tools | 27a2bbb865ef638afe4260bf214110425a2b904b | [
"Unlicense"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | test/TextDestroy.cpp | Shoegzer/SPIRV-Tools | 27a2bbb865ef638afe4260bf214110425a2b904b | [
"Unlicense"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | test/TextDestroy.cpp | Shoegzer/SPIRV-Tools | 27a2bbb865ef638afe4260bf214110425a2b904b | [
"Unlicense"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 2015-2016 The Khronos Group Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and/or associated documentation files (the
// "Materials"), to deal in the Materials without restriction, including
// without limitation the rights to use, copy, modi... | 35.686047 | 75 | 0.701531 | Shoegzer |
d176b52d1274f155c5119c6baab8dd3aec2fa13f | 5,434 | cpp | C++ | src/py/wrapper_170cacd8da615406967b5b7d712829ee.cpp | nikhilkalige/ClangLite | dcb6d7385cca25c0a888bb56ae3ec1eb951cd752 | [
"Apache-2.0"
] | 5 | 2017-11-13T18:34:24.000Z | 2021-08-10T02:22:22.000Z | src/py/wrapper_170cacd8da615406967b5b7d712829ee.cpp | nikhilkalige/ClangLite | dcb6d7385cca25c0a888bb56ae3ec1eb951cd752 | [
"Apache-2.0"
] | 4 | 2017-11-15T13:13:36.000Z | 2019-02-26T00:21:14.000Z | src/py/wrapper_170cacd8da615406967b5b7d712829ee.cpp | nikhilkalige/ClangLite | dcb6d7385cca25c0a888bb56ae3ec1eb951cd752 | [
"Apache-2.0"
] | 7 | 2017-11-15T11:58:33.000Z | 2021-03-15T18:16:16.000Z | #include "_clanglite.h"
void (::clang::FunctionTemplateDecl::*method_pointer_07e658462c875c48a75cf9c1fe151a87)()const= &::clang::FunctionTemplateDecl::LoadLazySpecializations;
class ::clang::FunctionDecl * (::clang::FunctionTemplateDecl::*method_pointer_8b97df53407b512bb7ae6d8038314a0b)()const= &::clang::FunctionTemp... | 143 | 415 | 0.828303 | nikhilkalige |
d178c61c4e9ba53f25a034559952c4317d482ead | 838 | cpp | C++ | AquilaEngine/src/SimpleProfiler.cpp | vblanco20-1/AquilaEngine | 7cd972f96f1c5f4ae3ccf7980eed7e223daf8d1b | [
"Unlicense"
] | 6 | 2020-04-23T00:53:05.000Z | 2021-11-11T08:51:14.000Z | AquilaEngine/src/SimpleProfiler.cpp | vblanco20-1/AquilaEngine | 7cd972f96f1c5f4ae3ccf7980eed7e223daf8d1b | [
"Unlicense"
] | null | null | null | AquilaEngine/src/SimpleProfiler.cpp | vblanco20-1/AquilaEngine | 7cd972f96f1c5f4ae3ccf7980eed7e223daf8d1b | [
"Unlicense"
] | 2 | 2020-11-11T13:30:24.000Z | 2020-12-11T05:39:38.000Z | #include <PrecompiledHeader.h>
#include "SimpleProfiler.h"
SimpleProfiler * g_SimpleProfiler = nullptr;
void DrawSystemPerformanceUnits(std::vector<SystemPerformanceUnit>& units)
{
ImGui::Begin("Performance Info");
std::sort(units.begin(), units.end(), [](SystemPerformanceUnit&a, SystemPerformanceUnit&b) {
re... | 27.032258 | 93 | 0.661098 | vblanco20-1 |
d178db30d927111c285ec01596affdf6f742b947 | 6,005 | cpp | C++ | src/utils/DataExtractor.cpp | tryboy/polarphp | f6608c4dc26add94e61684ed0edd3d5c7e86e768 | [
"PHP-3.01"
] | null | null | null | src/utils/DataExtractor.cpp | tryboy/polarphp | f6608c4dc26add94e61684ed0edd3d5c7e86e768 | [
"PHP-3.01"
] | null | null | null | src/utils/DataExtractor.cpp | tryboy/polarphp | f6608c4dc26add94e61684ed0edd3d5c7e86e768 | [
"PHP-3.01"
] | null | null | null | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2019 polarphp software foundation
// Copyright (c) 2017 - 2019 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://polarphp.org/LICENSE.txt for license info... | 28.060748 | 88 | 0.654621 | tryboy |
d17becb7a7c285721fcb2478501b527750f33067 | 3,059 | cpp | C++ | Draw.cpp | sheirys/tankai-praktika | 42f77ee3c30560179c2015d7400d18a7d4de5ec0 | [
"MIT"
] | null | null | null | Draw.cpp | sheirys/tankai-praktika | 42f77ee3c30560179c2015d7400d18a7d4de5ec0 | [
"MIT"
] | null | null | null | Draw.cpp | sheirys/tankai-praktika | 42f77ee3c30560179c2015d7400d18a7d4de5ec0 | [
"MIT"
] | null | null | null | #include "Game.h"
#include "CLoad_image.h"
void Game::Draw(Engine* game)
{
SDL_FillRect( game->screen, &game->screen->clip_rect, SDL_MapRGB( game->screen->format, 0, 0, 0 ) );
data.apply(game->screen);
//int X = T.getX();
//int Y = T.getY();
//int kk=0;
/* kk=0;
while(kk<Le... | 28.858491 | 113 | 0.436417 | sheirys |
d17d41fb0ad510c733f6f7a216e65519987dcd04 | 6,593 | cpp | C++ | src/main/pass/coverage/block/BlockCoveragePass.cpp | kkysen/DifferentiableFuzzer | 22088a3871e4104c4afc463c05ce58f0221dbc43 | [
"MIT"
] | 1 | 2019-06-19T06:03:03.000Z | 2019-06-19T06:03:03.000Z | src/main/pass/coverage/block/BlockCoveragePass.cpp | kkysen/SmartNeuralFuzzer | 22088a3871e4104c4afc463c05ce58f0221dbc43 | [
"MIT"
] | null | null | null | src/main/pass/coverage/block/BlockCoveragePass.cpp | kkysen/SmartNeuralFuzzer | 22088a3871e4104c4afc463c05ce58f0221dbc43 | [
"MIT"
] | null | null | null | //
// Created by Khyber on 3/14/2019.
//
#include "src/main/pass/coverage/includes.h"
#include "src/share/llvm/lib/conversions.h"
#include "src/share/llvm/debug.h"
#include "src/share/io/fse.h"
#include "src/share/io/env/Argv.h"
#include "src/share/stde/compareEnds.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "... | 33.130653 | 103 | 0.481116 | kkysen |
d17ea87cdd324bd1c305427f0989e04d76736ab9 | 24,509 | inl | C++ | mediaLib/include/Rendering/mSpriteBatch.inl | rainerzufalldererste/mediaLib | ed36ca9dc7e6737fd6918ce3995b28bb06a6de26 | [
"MIT"
] | 1 | 2018-08-19T15:56:13.000Z | 2018-08-19T15:56:13.000Z | mediaLib/include/Rendering/mSpriteBatch.inl | rainerzufalldererste/mediaLib | ed36ca9dc7e6737fd6918ce3995b28bb06a6de26 | [
"MIT"
] | null | null | null | mediaLib/include/Rendering/mSpriteBatch.inl | rainerzufalldererste/mediaLib | ed36ca9dc7e6737fd6918ce3995b28bb06a6de26 | [
"MIT"
] | null | null | null | // Copyright 2018 Christoph Stiller
//
// 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, distribu... | 35.468886 | 462 | 0.746991 | rainerzufalldererste |
d1801e6e18ea9acf89550577865c582946405fda | 1,465 | cpp | C++ | vcl/shape/mesh/mesh_drawable/mesh_drawable_gpu_data/mesh_skinned_drawable_gpu_data.cpp | asilvaigor/opengl_winter | 0081c6ee39d493eb4f9e0ac92222937062866776 | [
"MIT"
] | 1 | 2020-04-24T22:55:51.000Z | 2020-04-24T22:55:51.000Z | vcl/shape/mesh/mesh_drawable/mesh_drawable_gpu_data/mesh_skinned_drawable_gpu_data.cpp | asilvaigor/opengl_winter | 0081c6ee39d493eb4f9e0ac92222937062866776 | [
"MIT"
] | null | null | null | vcl/shape/mesh/mesh_drawable/mesh_drawable_gpu_data/mesh_skinned_drawable_gpu_data.cpp | asilvaigor/opengl_winter | 0081c6ee39d493eb4f9e0ac92222937062866776 | [
"MIT"
] | null | null | null | //
// Created by igor on 14/05/2020.
//
#include "opengl/debug/opengl_debug.hpp"
#include "mesh_skinned_drawable_gpu_data.hpp"
namespace vcl {
mesh_skinned_drawable_gpu_data::mesh_skinned_drawable_gpu_data() : mesh_drawable_gpu_data(), vbo_skeleton(0) {}
mesh_skinned_drawable_gpu_data::mesh_skinned_drawable_gpu_dat... | 33.295455 | 111 | 0.733788 | asilvaigor |
d1814e87fd208b7a408d02149b61cdf8870840ca | 1,267 | hpp | C++ | events/gamepads_handler.hpp | MrTAB/aabGameEngine | dc51c6e443bf087ca10e14e6884e4dfa6caef4a8 | [
"MIT"
] | null | null | null | events/gamepads_handler.hpp | MrTAB/aabGameEngine | dc51c6e443bf087ca10e14e6884e4dfa6caef4a8 | [
"MIT"
] | null | null | null | events/gamepads_handler.hpp | MrTAB/aabGameEngine | dc51c6e443bf087ca10e14e6884e4dfa6caef4a8 | [
"MIT"
] | null | null | null |
/**
*
* gamepads_handler.hpp
*
* Phased out in favour of port handler and auto handler implementations
**/
#if !defined(AAB_EVENTS_GAMEPADS_HANDLER_CLASS)
#define AAB_EVENTS_GAMEPADS_HANDLER_CLASS
#include"gamepad_handler.hpp"
#include"gamepad_port_handler.hpp"
#include"imports.hpp"
#include<map>
na... | 22.22807 | 74 | 0.700868 | MrTAB |
d1848fc6a0544ad7d0f1dcaa883452f99d5cd3f2 | 8,585 | cpp | C++ | src/b_bot.cpp | raa-eruanna/ProjectPanther | 7d703c162b4ede25faa3e99cacacb4fc79fb77da | [
"RSA-MD"
] | 2 | 2018-01-18T21:30:20.000Z | 2018-01-19T02:24:46.000Z | src/b_bot.cpp | raa-eruanna/ProjectPanther | 7d703c162b4ede25faa3e99cacacb4fc79fb77da | [
"RSA-MD"
] | null | null | null | src/b_bot.cpp | raa-eruanna/ProjectPanther | 7d703c162b4ede25faa3e99cacacb4fc79fb77da | [
"RSA-MD"
] | null | null | null | /*
**
**
**---------------------------------------------------------------------------
** Copyright 1999 Martin Colberg
** Copyright 1999-2016 Randy Heit
** Copyright 2005-2016 Christoph Oelckers
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permit... | 26.578947 | 111 | 0.672103 | raa-eruanna |
d1858c3f1c1dffc93b1e44784dbdace07a833ef4 | 55,855 | cpp | C++ | Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessMotionBlur.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessMotionBlur.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessMotionBlur.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
PostProcessMotionBlur.cpp: Post process MotionBlur implementation.
=============================================================================*/
#include "RendererPrivate.h"
... | 35.173174 | 224 | 0.781667 | PopCap |
d18877b4a5906058307b3f59197c735faea752b0 | 2,724 | hpp | C++ | examples/suffix_sorting/construct_bwt.hpp | stevenybw/thrill | a2dc05035f4e24f64af0a22b60155e80843a5ba9 | [
"BSD-2-Clause"
] | 609 | 2015-08-27T11:09:24.000Z | 2022-03-28T21:34:05.000Z | examples/suffix_sorting/construct_bwt.hpp | tim3z/thrill | f0e5aa2326a55af3c9a92fc418f8eb8e3cf8c5fa | [
"BSD-2-Clause"
] | 109 | 2015-09-10T21:34:42.000Z | 2022-02-15T14:46:26.000Z | examples/suffix_sorting/construct_bwt.hpp | tim3z/thrill | f0e5aa2326a55af3c9a92fc418f8eb8e3cf8c5fa | [
"BSD-2-Clause"
] | 114 | 2015-08-27T14:54:13.000Z | 2021-12-08T07:28:35.000Z | /*******************************************************************************
* examples/suffix_sorting/construct_bwt.hpp
*
* Part of Project Thrill - http://project-thrill.org
*
* Copyright (C) 2016 Florian Kurpicz <florian.kurpicz@tu-dortmund.de>
*
* All rights reserved. Published under the BSD-2 license in... | 33.62963 | 80 | 0.532305 | stevenybw |
d18be5e9c92e1867fda619f41295be943f0837a1 | 2,509 | hpp | C++ | include/socks5/request.hpp | xSHAD0Wx/libsocks5 | a578033579ab9b3139e62aa4bf8ee72344ff2a30 | [
"BSD-3-Clause"
] | null | null | null | include/socks5/request.hpp | xSHAD0Wx/libsocks5 | a578033579ab9b3139e62aa4bf8ee72344ff2a30 | [
"BSD-3-Clause"
] | null | null | null | include/socks5/request.hpp | xSHAD0Wx/libsocks5 | a578033579ab9b3139e62aa4bf8ee72344ff2a30 | [
"BSD-3-Clause"
] | null | null | null | #ifndef LIBSOCKS5_REQUEST_HPP
#define LIBSOCKS5_REQUEST_HPP
#include "socks5/detail/type_traits/iterator.hpp"
#include "socks5/message.hpp"
#include <boost/asio/ip/address.hpp>
#include <cassert>
#include <cstdint>
#include <cstdlib>
#include <string_view>
#include <type_traits>
#include <vector>
namespace socks5 {... | 26.410526 | 77 | 0.601435 | xSHAD0Wx |
d18cbd7e834e4b85bf31de8ca1f66a9d868ff72d | 729 | cpp | C++ | Contest/CPBuddySeries/contest2/Longest_prefix.cpp | ganeshbhandarkar/Problem-Solving | f7abc60483571eaf695bb8bc18e487163aef15db | [
"MIT"
] | 1 | 2020-08-06T18:04:47.000Z | 2020-08-06T18:04:47.000Z | Contest/CPBuddySeries/contest2/Longest_prefix.cpp | ganeshbhandarkar/Problem-Solving | f7abc60483571eaf695bb8bc18e487163aef15db | [
"MIT"
] | null | null | null | Contest/CPBuddySeries/contest2/Longest_prefix.cpp | ganeshbhandarkar/Problem-Solving | f7abc60483571eaf695bb8bc18e487163aef15db | [
"MIT"
] | null | null | null | /*
* @Author: ganesh bhandarkar
* @Date: 2020-08-09 21:45:43
* @Last Modified by: ganesh bhandarkar
* @Last Modified time: 2020-08-09 21:45:43
*/
#include <bits/stdc++.h>
using namespace std;
int lps(string s) {
int n = s.length();
int lp[n];
int i=1,j=0;
lp[0]=0;
while (i<n) {
... | 17.357143 | 44 | 0.378601 | ganeshbhandarkar |
d18e8598c101b05de3fa7e989321df13de520fe7 | 793 | cpp | C++ | tests/test_omp_threads.cpp | buckaroo-upgrade-bot/facebookresearch-faiss | 94464ab00b5bab579ddfbf1b9ee530816888d670 | [
"BSD-3-Clause"
] | 2 | 2019-04-07T05:01:30.000Z | 2019-10-25T02:27:20.000Z | tests/test_omp_threads.cpp | montecarlo1/faiss | 4e8d324922b0a5574579a5771e45aa080983891d | [
"BSD-3-Clause"
] | null | null | null | tests/test_omp_threads.cpp | montecarlo1/faiss | 4e8d324922b0a5574579a5771e45aa080983891d | [
"BSD-3-Clause"
] | 2 | 2022-01-12T12:05:17.000Z | 2022-02-14T07:13:38.000Z | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD+Patents license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdio>
#include <cstdlib>
#include <gtest/gtest.h>
#include <omp.h>
TEST(Threading, openmp... | 19.825 | 74 | 0.614124 | buckaroo-upgrade-bot |
d1935945395c81611d54a5935c2822f403fe555a | 545 | cc | C++ | src/ObjectInfo.cc | CS126SP20/3D-Hotdog | 072f1cd3f522a0448f7a2ba4a70912e4fcc924bb | [
"MIT"
] | null | null | null | src/ObjectInfo.cc | CS126SP20/3D-Hotdog | 072f1cd3f522a0448f7a2ba4a70912e4fcc924bb | [
"MIT"
] | null | null | null | src/ObjectInfo.cc | CS126SP20/3D-Hotdog | 072f1cd3f522a0448f7a2ba4a70912e4fcc924bb | [
"MIT"
] | null | null | null | // Copyright (c) 2020 [Your Name]. All rights reserved.
#include <cinder/app/App.h>
#include <mylibrary/ObjectInfo.h>
#include <string>
namespace mylibrary {
ObjectInfo::ObjectInfo(std::string name, cinder::Color color,
cinder::vec3 position, int type) {
mName = name;
mColor = color;
mP... | 22.708333 | 61 | 0.645872 | CS126SP20 |
d1967ca07239d426d07f5bad59f6a32e325ad75b | 3,120 | cc | C++ | src/net/http/HttpContext.cc | plantree/Slack | 469fff18792a6d4d20c409f0331e3c93117c5ddf | [
"MIT"
] | 2 | 2019-07-15T08:34:38.000Z | 2019-08-07T12:27:23.000Z | src/net/http/HttpContext.cc | plantree/Slack | 469fff18792a6d4d20c409f0331e3c93117c5ddf | [
"MIT"
] | null | null | null | src/net/http/HttpContext.cc | plantree/Slack | 469fff18792a6d4d20c409f0331e3c93117c5ddf | [
"MIT"
] | null | null | null | /*
* @Author: py.wang
* @Date: 2019-07-21 08:21:33
* @Last Modified by: py.wang
* @Last Modified time: 2019-07-22 08:42:22
*/
#include "src/net/Buffer.h"
#include "src/net/http/HttpContext.h"
using namespace slack;
using namespace slack::net;
// 解析请求行
bool HttpContext::processRequestLine(const char *begin, con... | 26.440678 | 80 | 0.403526 | plantree |
d1975ccbf5aa8805ea3572aa94dc27bf1c13c00a | 468 | cpp | C++ | Leetcode/1000-2000/1277. Count Square Submatrices with All Ones/1277.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/1000-2000/1277. Count Square Submatrices with All Ones/1277.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/1000-2000/1277. Count Square Submatrices with All Ones/1277.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | class Solution {
public:
int countSquares(vector<vector<int>>& matrix) {
for (int i = 0; i < matrix.size(); ++i)
for (int j = 0; j < matrix[0].size(); ++j)
if (matrix[i][j] == 1 && i > 0 && j > 0)
matrix[i][j] +=
min({matrix[i - 1][j - 1], matrix[i - 1][j], matrix[i][j - 1]}... | 33.428571 | 79 | 0.489316 | Next-Gen-UI |
d19d6d8b431259cfd6d59b75185b11f379b835c0 | 845 | cpp | C++ | ChessTree.cpp | pradeepdsmk/chess-tree | 759d4f984aad97cd5429d9e075cf7c6b7d656345 | [
"MIT"
] | 1 | 2022-03-01T21:06:30.000Z | 2022-03-01T21:06:30.000Z | ChessTree.cpp | pradeepdsmk/chess-tree | 759d4f984aad97cd5429d9e075cf7c6b7d656345 | [
"MIT"
] | null | null | null | ChessTree.cpp | pradeepdsmk/chess-tree | 759d4f984aad97cd5429d9e075cf7c6b7d656345 | [
"MIT"
] | null | null | null | // ChessTree.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include <chrono>
#include <Windows.h>
#include "Log.h"
#include "Engine.h"
#include "XboardCommand.h"
#ifdef _WIN32
#define CMD_CLEAR_SCREEN "cls"
#elif
#define CMD_CLEAR_SCREEN "clear"
#endif
... | 15.648148 | 99 | 0.657988 | pradeepdsmk |
d19da24c6700cce5b5824163766e66024bf817be | 9,308 | cpp | C++ | src/drivers/linux_pwm_out/linux_pwm_out.cpp | SaxionMechatronics/Firmware | 7393d5d7610dc8d2cb64d90a5359b6c561fb642a | [
"BSD-3-Clause"
] | 13 | 2020-10-31T05:09:26.000Z | 2022-03-15T05:41:31.000Z | src/drivers/linux_pwm_out/linux_pwm_out.cpp | SaxionMechatronics/Firmware | 7393d5d7610dc8d2cb64d90a5359b6c561fb642a | [
"BSD-3-Clause"
] | 86 | 2020-11-12T02:38:47.000Z | 2021-04-20T23:25:57.000Z | src/drivers/linux_pwm_out/linux_pwm_out.cpp | SaxionMechatronics/Firmware | 7393d5d7610dc8d2cb64d90a5359b6c561fb642a | [
"BSD-3-Clause"
] | 11 | 2020-10-28T05:38:18.000Z | 2022-01-20T06:18:00.000Z | /****************************************************************************
*
* Copyright (c) 2021 PX4 Development Team. 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. Redistri... | 25.088949 | 91 | 0.698431 | SaxionMechatronics |
d1a48e71dfcdd1cb0d06f2946bc29c12c489b357 | 1,923 | hpp | C++ | SpelJongEmu/src/Op.hpp | fallahn/speljongen | 57cb5e09eec7db8c21ee7b3e7943fa0a76738c51 | [
"Unlicense"
] | 17 | 2018-06-23T14:40:56.000Z | 2019-07-02T11:58:55.000Z | SpelJongEmu/src/Op.hpp | fallahn/speljongen | 57cb5e09eec7db8c21ee7b3e7943fa0a76738c51 | [
"Unlicense"
] | 3 | 2018-06-23T12:35:12.000Z | 2018-06-23T12:38:54.000Z | SpelJongEmu/src/Op.hpp | fallahn/speljongen | 57cb5e09eec7db8c21ee7b3e7943fa0a76738c51 | [
"Unlicense"
] | null | null | null | /*
MIT License
Copyright(c) 2017 Tomasz R?kawek(Coffee GB)
Copyright(c) 2018 Matt Marchant(Speljongen)
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 limita... | 34.339286 | 106 | 0.75767 | fallahn |
d1a543a5924c328cefb16dc22a80cf0542a54145 | 2,947 | cpp | C++ | src/editor/views/MooClock.cpp | XD-chill-bro/ptcollab | 757a7cc099bf28009438471b93d0def483e95dfa | [
"MIT"
] | null | null | null | src/editor/views/MooClock.cpp | XD-chill-bro/ptcollab | 757a7cc099bf28009438471b93d0def483e95dfa | [
"MIT"
] | null | null | null | src/editor/views/MooClock.cpp | XD-chill-bro/ptcollab | 757a7cc099bf28009438471b93d0def483e95dfa | [
"MIT"
] | null | null | null | #include "MooClock.h"
MooClock::MooClock(PxtoneClient *client)
: QObject(client),
m_client(client),
m_prev_clock(0),
m_this_seek(0),
m_this_seek_caught_up(false) {
connect(m_client->controller(), &PxtoneController::seeked, [this](int clock) {
m_this_seek = clock;
m_this_seek_caugh... | 35.939024 | 80 | 0.684425 | XD-chill-bro |
d1a5aea2963cedc749bf9be286cf65bb74c85ccc | 44,821 | cc | C++ | xpdf/TileMap.cc | haephrati/SG_PDF2Text | 393ba8b500de6d10ab7c38936c009a5c44fa4189 | [
"Apache-2.0"
] | 1 | 2021-10-30T07:53:44.000Z | 2021-10-30T07:53:44.000Z | xpdf/TileMap.cc | haephrati/SG_PDF2Text | 393ba8b500de6d10ab7c38936c009a5c44fa4189 | [
"Apache-2.0"
] | null | null | null | xpdf/TileMap.cc | haephrati/SG_PDF2Text | 393ba8b500de6d10ab7c38936c009a5c44fa4189 | [
"Apache-2.0"
] | null | null | null | //========================================================================
//
// TileMap.cc
//
// Copyright 2014 Glyph & Cog, LLC
//
//========================================================================
#include <aconf.h>
#ifdef USE_GCC_PRAGMAS
#pragma implementation
#endif
#include "gmem.h"
#include "gmempp.h"... | 26.505618 | 80 | 0.555142 | haephrati |
d1a98a953358cb46afc8910fa6c15d3b19d71edd | 580 | hpp | C++ | include/LegacyForwardIterator.hpp | jharmer95/cpp_named_concepts | 6cf81562f893b03baf365d5a9dc8b3f0f828fd1a | [
"CC0-1.0"
] | null | null | null | include/LegacyForwardIterator.hpp | jharmer95/cpp_named_concepts | 6cf81562f893b03baf365d5a9dc8b3f0f828fd1a | [
"CC0-1.0"
] | null | null | null | include/LegacyForwardIterator.hpp | jharmer95/cpp_named_concepts | 6cf81562f893b03baf365d5a9dc8b3f0f828fd1a | [
"CC0-1.0"
] | null | null | null | #pragma once
#include "LegacyInputIterator.hpp"
#include "DefaultConstructible.hpp"
#include "LegacyOutputIterator.hpp"
#include <concepts>
#include <iterator>
namespace concepts
{
template<typename It>
concept LegacyForwardIterator = requires(It i)
{
requires !LegacyOutputIterator<It>
|| (LegacyOutputIt... | 26.363636 | 148 | 0.72069 | jharmer95 |
d1ab6844967c92a57828ecdc96a0ea6c0e01df72 | 152 | cpp | C++ | Basics/f_ForLoop/lab/b_latinLetters.cpp | KaPrimov/cpp-courses | c114e46cd570d2e987ee65baf26dd85557f929d3 | [
"MIT"
] | null | null | null | Basics/f_ForLoop/lab/b_latinLetters.cpp | KaPrimov/cpp-courses | c114e46cd570d2e987ee65baf26dd85557f929d3 | [
"MIT"
] | null | null | null | Basics/f_ForLoop/lab/b_latinLetters.cpp | KaPrimov/cpp-courses | c114e46cd570d2e987ee65baf26dd85557f929d3 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
for (char letter = 'a'; letter <= 'z'; letter++) {
cout << letter << " ";
}
return 0;
}
| 11.692308 | 51 | 0.546053 | KaPrimov |
d1ab7935225b9144683e4cc016362bd67187522a | 3,409 | cpp | C++ | src/nec/datamanager.cpp | krikienoid/nectarispcmapeditor | f51cb89c2550a2ec17fa0d75d2741f1106ee5dd9 | [
"MIT"
] | null | null | null | src/nec/datamanager.cpp | krikienoid/nectarispcmapeditor | f51cb89c2550a2ec17fa0d75d2741f1106ee5dd9 | [
"MIT"
] | null | null | null | src/nec/datamanager.cpp | krikienoid/nectarispcmapeditor | f51cb89c2550a2ec17fa0d75d2741f1106ee5dd9 | [
"MIT"
] | null | null | null | #include "datamanager.h"
namespace Nec {
const std::string DataManager::FILENAME_BIGINFO = "biginfo.bin";
const std::string DataManager::FILENAME_BIGUNIT = "bigunit.bin";
const std::string DataManager::FILENAME_BIGMAP = "bigmap.bin";
DataManager::DataManager() {
bigInfo... | 27.055556 | 78 | 0.589909 | krikienoid |
d1b1be7a0cbe54971163e65b9a3ad7144d7a5d50 | 752 | cpp | C++ | contrib/gtm/main/gtm_stat.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | 1 | 2020-06-30T15:00:50.000Z | 2020-06-30T15:00:50.000Z | contrib/gtm/main/gtm_stat.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | null | null | null | contrib/gtm/main/gtm_stat.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | null | null | null | /* -------------------------------------------------------------------------
*
* gtm_stat.c
*
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 2010-2012 Postgres-XC Development Group
*
*
* IDE... | 22.787879 | 76 | 0.590426 | wotchin |
d1b1c496a22b266da0710e4fe0d40c67a03c01aa | 5,805 | cpp | C++ | QtKnobs/styles/piestyle.cpp | eyecreate/QtKnobs | 242643bab6c38d8acbee1101edb83bb10f332bb6 | [
"MIT"
] | 68 | 2015-03-15T01:25:22.000Z | 2022-03-25T11:27:55.000Z | QtKnobs/styles/piestyle.cpp | darongE/QtKnobs | 0395e265fdc06bd70debe68e904d2ef6acb90bce | [
"MIT"
] | 9 | 2015-03-12T14:40:28.000Z | 2018-12-10T04:15:30.000Z | QtKnobs/styles/piestyle.cpp | darongE/QtKnobs | 0395e265fdc06bd70debe68e904d2ef6acb90bce | [
"MIT"
] | 23 | 2015-03-16T14:33:46.000Z | 2021-12-22T06:06:53.000Z | /*************************************************************************************
** The MIT License (MIT)
**
** Knobs is a free Qt and QML based widget.
** Copyright (c) 2015 Ashish Dabhade
** Email: ashishd157@gmail.com
**
** Permission is hereby granted, free of charge, to any person obtaining a copy
** of this... | 29.92268 | 112 | 0.591214 | eyecreate |
d1b2f54659528e71a0d59527d28d3c253a0db1eb | 5,018 | cpp | C++ | av/media/libstagefright/WVMExtractor.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | 10 | 2020-04-17T04:02:36.000Z | 2021-11-23T11:38:42.000Z | av/media/libstagefright/WVMExtractor.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | 3 | 2020-02-19T16:53:25.000Z | 2021-04-29T07:28:40.000Z | av/media/libstagefright/WVMExtractor.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | 5 | 2019-12-25T04:05:02.000Z | 2022-01-14T16:57:55.000Z | /*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 app... | 25.343434 | 88 | 0.669191 | Keneral |
d1b36490f57fd3b7f85237d450662d9b5fb6add8 | 39,453 | cpp | C++ | qws/src/qtc_x_core.cpp | keera-studios/hsQt | 8aa71a585cbec40005354d0ee43bce9794a55a9a | [
"BSD-2-Clause"
] | 42 | 2015-02-16T19:29:16.000Z | 2021-07-25T11:09:03.000Z | qws/src/qtc_x_core.cpp | keera-studios/hsQt | 8aa71a585cbec40005354d0ee43bce9794a55a9a | [
"BSD-2-Clause"
] | 1 | 2017-11-23T12:49:25.000Z | 2017-11-23T12:49:25.000Z | qws/src/qtc_x_core.cpp | keera-studios/hsQt | 8aa71a585cbec40005354d0ee43bce9794a55a9a | [
"BSD-2-Clause"
] | 5 | 2015-10-15T21:25:30.000Z | 2017-11-22T13:18:24.000Z | /////////////////////////////////////////////////////////////////////////////
//
// File : qtc_x_core.cpp
// Copyright : (c) David Harley 2010
// Project : qtHaskell
// Version : 1.1.4
// Modified : 2010-09-02 17:01:54
//
// Warning : this file is machine generated ... | 33.378173 | 182 | 0.676831 | keera-studios |
d1b3d4da3a4bae3d0ae068306d0c8d6e2dc1cfb8 | 1,331 | cpp | C++ | gameserver/test/main.cpp | shockerjue/Gameserver | 78faab152e1cb211d551a794ea4df5738cf99b04 | [
"Unlicense"
] | 31 | 2017-10-18T08:56:43.000Z | 2022-03-22T15:43:10.000Z | gameserver/test/main.cpp | shockerjue/Gameserver | 78faab152e1cb211d551a794ea4df5738cf99b04 | [
"Unlicense"
] | null | null | null | gameserver/test/main.cpp | shockerjue/Gameserver | 78faab152e1cb211d551a794ea4df5738cf99b04 | [
"Unlicense"
] | 14 | 2018-03-15T10:36:53.000Z | 2021-11-11T19:35:39.000Z | #include "./../src/msghandle/gameserver_msgheader.pb.h"
#include "./../../common/util/util.h"
#include "./../../common/msgdefine/msgheader.h"
#include "./../../common/network/network.h"
using namespace util;
using namespace msghandle;
using namespace gameserver_proto;
using namespace engine;
using namespace engine::ne... | 26.098039 | 74 | 0.709241 | shockerjue |
d1b5466adf001f4b32a8c3055cd9bbfb398ce3ca | 5,376 | cpp | C++ | src/wrappers/sockets/client_socket.cpp | ben-turner/s-torrent | f8ff818f2ce9c2bf76d2a108e1f32d3a601390e0 | [
"X11",
"BSD-2-Clause",
"MIT"
] | 20 | 2015-04-15T05:36:05.000Z | 2022-03-21T07:02:55.000Z | src/wrappers/sockets/client_socket.cpp | ben-turner/s-torrent | f8ff818f2ce9c2bf76d2a108e1f32d3a601390e0 | [
"X11",
"BSD-2-Clause",
"MIT"
] | null | null | null | src/wrappers/sockets/client_socket.cpp | ben-turner/s-torrent | f8ff818f2ce9c2bf76d2a108e1f32d3a601390e0 | [
"X11",
"BSD-2-Clause",
"MIT"
] | 6 | 2016-09-20T08:41:22.000Z | 2021-03-10T14:16:59.000Z | #include "client_socket.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#include <netinet/in.h>
#include <netdb.h>
#include <string.h>
#include <errno.h>
#include <sstream>
#include <stdexcept>
namespace sockets
{
Client_socket::Client_socket ( std::string address, int port )
{
... | 34.242038 | 123 | 0.549851 | ben-turner |
d1b6b396afc16bb80ba24924854f6d65ad014d1a | 4,144 | cpp | C++ | game/tile_instance.cpp | astrellon/Rouge | 088f55b331284238e807e0562b9cbbed6428c20f | [
"MIT"
] | null | null | null | game/tile_instance.cpp | astrellon/Rouge | 088f55b331284238e807e0562b9cbbed6428c20f | [
"MIT"
] | null | null | null | game/tile_instance.cpp | astrellon/Rouge | 088f55b331284238e807e0562b9cbbed6428c20f | [
"MIT"
] | null | null | null | #include "tile_instance.h"
#include <util/utils.h>
#include "tile.h"
#include "engine.h"
#include <lua/wrappers/lua_id_table.h>
namespace am {
namespace game {
const int TileInstance::LUA_ID = LUA_ID_TILEINSTANCE;
const char *TileInstance::LUA_TABLENAME = LUA_TABLE_TILEINSTANCE;
TileInstance::TileInstance() : ... | 17.785408 | 72 | 0.649855 | astrellon |
d1b7fff69b9e2870c3e57c6ff996251e31eec4f8 | 4,545 | cpp | C++ | camera/hal/mediatek/mtkcam/main/hal/device3/common/Cam3Device.cpp | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | camera/hal/mediatek/mtkcam/main/hal/device3/common/Cam3Device.cpp | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | camera/hal/mediatek/mtkcam/main/hal/device3/common/Cam3Device.cpp | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | /*
* Copyright (C) 2019 MediaTek 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 agr... | 30.503356 | 80 | 0.573377 | strassek |
d1be8efd94a39972d7227c84bff91a52e9a5c750 | 629 | cpp | C++ | Project Euler Problems/Problem12.cpp | rishusingh022/My-Journey-of-Data-Structures-and-Algorithms | 28a70fdf10366fc97ddb9f6a69852b3478b564e6 | [
"MIT"
] | null | null | null | Project Euler Problems/Problem12.cpp | rishusingh022/My-Journey-of-Data-Structures-and-Algorithms | 28a70fdf10366fc97ddb9f6a69852b3478b564e6 | [
"MIT"
] | 1 | 2021-10-01T18:26:34.000Z | 2021-10-01T18:26:34.000Z | Project Euler Problems/Problem12.cpp | rishusingh022/My-Journey-of-Data-Structures-and-Algorithms | 28a70fdf10366fc97ddb9f6a69852b3478b564e6 | [
"MIT"
] | 7 | 2021-10-01T16:07:29.000Z | 2021-10-04T13:23:48.000Z | #include<bits/stdc++.h>
using namespace std;
int no_of_divisors(long long int n)
{
int divisors = 1,count =1;
while(n%2==0)
{
n/=2;
count++;
}
//cout<<count;
divisors*=count;
for(int i=3;i<=sqrt(n);i++)
{ count =1;
while(n%i==0)
{
n/=i;
... | 17 | 47 | 0.475358 | rishusingh022 |
d1bebb1e78b9e0b5e41e4bb8dfa71674e68df33d | 2,194 | hpp | C++ | p5out/src/application/imageio.hpp | tinyalpha/PhysicsSimulation | a13f259862216d809b02aa4739e7692a9d66e2bc | [
"MIT"
] | 25 | 2016-11-14T23:23:53.000Z | 2020-12-17T08:29:41.000Z | p5out/src/application/imageio.hpp | tinyalpha/PhysicsSimulation | a13f259862216d809b02aa4739e7692a9d66e2bc | [
"MIT"
] | 1 | 2018-08-08T00:31:49.000Z | 2018-08-08T00:31:49.000Z | p5out/src/application/imageio.hpp | tinyalpha/PhysicsSimulation | a13f259862216d809b02aa4739e7692a9d66e2bc | [
"MIT"
] | 1 | 2020-03-22T12:04:52.000Z | 2020-03-22T12:04:52.000Z | /* LIBRARY: ImageIO Library v0.13
*
* FILE: imageio.hpp
*
* COPYRIGHT: Copyright (c) 2003-2004 Adrien Treuille
*
* AUTHORS: Adrien Treuille (treuille [AT] cs [DOT] washington [DOT] edu)
* Kristin Siu
*
* LICENSE: The ImageIO Library is supplied "AS IS". The Authors
* disclaim... | 39.178571 | 94 | 0.692343 | tinyalpha |
d1c041790d599aa0d1b197136b45adbf63aa7b69 | 4,703 | cpp | C++ | src/pow.cpp | kevacoin-team/kevacoin | 7a6f5024cb8e2f0283c6e57b9f4439dcdf9a09e8 | [
"MIT"
] | null | null | null | src/pow.cpp | kevacoin-team/kevacoin | 7a6f5024cb8e2f0283c6e57b9f4439dcdf9a09e8 | [
"MIT"
] | null | null | null | src/pow.cpp | kevacoin-team/kevacoin | 7a6f5024cb8e2f0283c6e57b9f4439dcdf9a09e8 | [
"MIT"
] | null | null | null | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <pow.h>
#include <arith_uint256.h>
#include <chain.h>
#include <primiti... | 35.360902 | 137 | 0.732936 | kevacoin-team |
d1c36c92f9a0a91d8b0c848bee1649f169e3de47 | 3,748 | cpp | C++ | apps/eop1/delighter/MA_v1.0_src/ImageReceiver/ImageReceiver.cpp | gaps-closure/top-level | 11ccdbf753d4093bed1f6537b3fe675e3251076c | [
"BSD-3-Clause"
] | null | null | null | apps/eop1/delighter/MA_v1.0_src/ImageReceiver/ImageReceiver.cpp | gaps-closure/top-level | 11ccdbf753d4093bed1f6537b3fe675e3251076c | [
"BSD-3-Clause"
] | null | null | null | apps/eop1/delighter/MA_v1.0_src/ImageReceiver/ImageReceiver.cpp | gaps-closure/top-level | 11ccdbf753d4093bed1f6537b3fe675e3251076c | [
"BSD-3-Clause"
] | 2 | 2020-03-30T05:47:37.000Z | 2020-04-02T23:10:14.000Z |
#include <stdio.h>
#include <string>
#include <fstream>
#include <amqm/AMQManager.h>
#include <Utils.h>
#include "ImageReceiver.h"
#include <nlohmann/json.hpp>
#include <opencv2/opencv.hpp>
#include <heartbeat/HeartBeat.h>
#include <BlockingQueue.h>
using namespace amqm;
using namespace cms;
using n... | 27.762963 | 111 | 0.636873 | gaps-closure |
d1c7024bfc06fc71c2df0d891bce19a53d10da44 | 3,015 | cpp | C++ | apps/main.cpp | mpohl100/TheChase | 06a3ddd7b2a5dd5102f3b3288706bd6e658d0cd9 | [
"Apache-2.0"
] | null | null | null | apps/main.cpp | mpohl100/TheChase | 06a3ddd7b2a5dd5102f3b3288706bd6e658d0cd9 | [
"Apache-2.0"
] | null | null | null | apps/main.cpp | mpohl100/TheChase | 06a3ddd7b2a5dd5102f3b3288706bd6e658d0cd9 | [
"Apache-2.0"
] | null | null | null | #include <chase/TeamAnalysisPar.h>
#include <clara.hpp>
#include <iostream>
int main(int argc, char** argv)
{
using namespace clara;
std::string name;
bool help = false;
auto cli = Opt(name, "name")["-n"]["--name"]("name to greet") | Help(help);
auto result = cli.parse(Args(argc, argv));
... | 44.338235 | 117 | 0.305804 | mpohl100 |
d1c74e407d9d4211e94ec4d1bc70ce0ad75489c8 | 2,725 | cpp | C++ | Base/Semaphore.cpp | nondejus/AudioPerfLab | 4289d97d3cd59e9bb2cb5b447d6aaeea8a5fbd12 | [
"MIT"
] | 81 | 2019-11-20T16:19:52.000Z | 2022-03-18T17:14:14.000Z | Base/Semaphore.cpp | nondejus/AudioPerfLab | 4289d97d3cd59e9bb2cb5b447d6aaeea8a5fbd12 | [
"MIT"
] | 4 | 2019-11-23T15:18:12.000Z | 2020-05-04T08:35:04.000Z | Base/Semaphore.cpp | nondejus/AudioPerfLab | 4289d97d3cd59e9bb2cb5b447d6aaeea8a5fbd12 | [
"MIT"
] | 7 | 2019-11-30T09:28:51.000Z | 2021-09-17T20:26:39.000Z | /*
* Copyright (c) 2019 Ableton AG, Berlin
*
* 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, ... | 35.38961 | 90 | 0.726606 | nondejus |
d1c913d8c059220d2fe7336a3362addb9f2d2d07 | 850 | cc | C++ | src/developer/debug/zxdb/symbols/identifier.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/developer/debug/zxdb/symbols/identifier.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/developer/debug/zxdb/symbols/identifier.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/debug/zxdb/symbols/identifier.h"
namespace zxdb {
std::string IdentifierComponent::GetName(bool include_debug) const {
if (!inc... | 25 | 78 | 0.688235 | allansrc |
d1ca2ef06b7606a13b1247b19a65bd7d89f4b594 | 2,665 | cpp | C++ | src/gameobject_asteroid.cpp | liamst19/asteroids-study | 809e6573eb45800ba06ec8e03e7103815188a70b | [
"MIT"
] | null | null | null | src/gameobject_asteroid.cpp | liamst19/asteroids-study | 809e6573eb45800ba06ec8e03e7103815188a70b | [
"MIT"
] | null | null | null | src/gameobject_asteroid.cpp | liamst19/asteroids-study | 809e6573eb45800ba06ec8e03e7103815188a70b | [
"MIT"
] | null | null | null | /** gameobject_asteroid.h
*
*
*/
#include <vector>
#include <algorithm>
#include "math.h"
#include "game.h"
#include "gameobject_asteroid.h"
#include "component_physics.h"
#include "component_collision.h"
/** Constructor
*
*/
Asteroid::Asteroid(Game* game,
Vector2d positio... | 25.380952 | 106 | 0.620263 | liamst19 |
d1cada508aa3d1651678857da0ecddbc19d624fc | 2,104 | hpp | C++ | library/ATF/CNetSocket.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/CNetSocket.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/CNetSocket.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <CNetIndexList.hpp>
#include <CNetSocketVtbl.hpp>
#include <CNetTimer.hpp>
#include <_IP_CHECK_NODE.hpp>
#include <_SOCK_TYPE_PARAM.hpp>
#include <_socket.hpp>
#... | 34.491803 | 108 | 0.677281 | lemkova |
d1ccd29a5e64983e562a2add75c39af476360f80 | 242 | cpp | C++ | c++11/tests/right_bracket_parse.cpp | queertypes/cplusplus-examples | c4f784cbc9e97220c0e25f7ea9f1121f63d194fe | [
"BSD-3-Clause"
] | null | null | null | c++11/tests/right_bracket_parse.cpp | queertypes/cplusplus-examples | c4f784cbc9e97220c0e25f7ea9f1121f63d194fe | [
"BSD-3-Clause"
] | null | null | null | c++11/tests/right_bracket_parse.cpp | queertypes/cplusplus-examples | c4f784cbc9e97220c0e25f7ea9f1121f63d194fe | [
"BSD-3-Clause"
] | null | null | null | #include <cstdio>
template <class T>
struct X {
};
int main()
{
// can your compiler handle this parse?
X<X<int>> *x{nullptr};
// output for the sake of silencing compiler warnings
printf("%p\n", static_cast<void *>(x));
return 0;
}
| 14.235294 | 54 | 0.652893 | queertypes |
d1d24e4857847c0be5fa20819c17367463c6698e | 21,177 | cpp | C++ | src/data_readers/data_reader_jag.cpp | forsyth2/lbann | 64fc0346f65353c2f7526a019da964914e539fb0 | [
"Apache-2.0"
] | null | null | null | src/data_readers/data_reader_jag.cpp | forsyth2/lbann | 64fc0346f65353c2f7526a019da964914e539fb0 | [
"Apache-2.0"
] | null | null | null | src/data_readers/data_reader_jag.cpp | forsyth2/lbann | 64fc0346f65353c2f7526a019da964914e539fb0 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2019, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... | 32.88354 | 106 | 0.65727 | forsyth2 |
d1d3766a022f7d18781d9b3036b3993f6c158480 | 966 | cpp | C++ | HPC2/Parralel_bubblesort.cpp | vaibhav-k3/HPC-Assignments | bac3c3f9db813853bab0532c9a9689471c684653 | [
"MIT"
] | 1 | 2020-01-11T17:48:03.000Z | 2020-01-11T17:48:03.000Z | HPC2/Parralel_bubblesort.cpp | Gr3yH4t-H4cK3r/HPC-Assignments | bac3c3f9db813853bab0532c9a9689471c684653 | [
"MIT"
] | null | null | null | HPC2/Parralel_bubblesort.cpp | Gr3yH4t-H4cK3r/HPC-Assignments | bac3c3f9db813853bab0532c9a9689471c684653 | [
"MIT"
] | null | null | null | #include<iostream>
#include<omp.h>
#include<stdlib.h>
#define MAX 50
using namespace std ;
void disp( int* a )
{
for(int i = 0 ; i < MAX ; i++)
{
cout<<a[i]<<" " ;
}
cout<<"\n";
}
void bubblesort( int* a)
{ int temp = 0;
for(int i = 0 ; i < MAX ; i++)
{
for(int j = 0 ; j < MAX -1; j++)
{
if(a[j] > a[j+1... | 14 | 36 | 0.461698 | vaibhav-k3 |
d1d75874a0bbff96ad77d0a05e702f314095a72d | 482 | cpp | C++ | c/include_guard.cpp | bheckel/code | 98309e8aa145901e49460546643c911eaaff54e6 | [
"Apache-2.0"
] | 1 | 2019-08-11T00:39:34.000Z | 2019-08-11T00:39:34.000Z | c/include_guard.cpp | bheckel/code | 98309e8aa145901e49460546643c911eaaff54e6 | [
"Apache-2.0"
] | null | null | null | c/include_guard.cpp | bheckel/code | 98309e8aa145901e49460546643c911eaaff54e6 | [
"Apache-2.0"
] | 1 | 2020-07-28T05:58:47.000Z | 2020-07-28T05:58:47.000Z | //////////////////////////////////////////////////////////////////////////////
// Name: include_guard.cpp
//
// Summary: Simple inclusion guard header that prevents re-definition
//
// Adapted: Wed 17 Oct 2001 10:24:57 (Bob Heckel -- Thinking in C++)
///////////////////////////////////////////////////... | 28.352941 | 78 | 0.410788 | bheckel |
d1d954e5d399c4b7106942fb58fed05c74063373 | 4,330 | cpp | C++ | KeepCryingEngine/json_serializer.cpp | KeepCryingEngine/KeepCryingEngine | c2e3f89eb5c3d70916f97b7a04cfbab033553b04 | [
"MIT"
] | 1 | 2018-01-11T20:05:29.000Z | 2018-01-11T20:05:29.000Z | KeepCryingEngine/json_serializer.cpp | KeepCryingEngine/KeepCryingEngine | c2e3f89eb5c3d70916f97b7a04cfbab033553b04 | [
"MIT"
] | 28 | 2018-01-17T21:04:33.000Z | 2018-03-02T13:26:17.000Z | KeepCryingEngine/json_serializer.cpp | PereViader/KeepCryingEngine | c2e3f89eb5c3d70916f97b7a04cfbab033553b04 | [
"MIT"
] | 1 | 2020-01-12T02:28:04.000Z | 2020-01-12T02:28:04.000Z | #include "json_serializer.h"
using nlohmann::json;
using namespace std;
void to_json(nlohmann::json & j, const float2 & v)
{
j = json{ { "x", v.x },{ "y", v.y } };
}
void from_json(const nlohmann::json & j, float2 & v)
{
v.x = j.at("x").get<float>();
v.y = j.at("y").get<float>();
}
void to_json(json& j, const f... | 23.661202 | 66 | 0.631871 | KeepCryingEngine |
d1d9b8abca81320a7b03a1829f1f27462fe73566 | 13,654 | cpp | C++ | src/solver/conv_ocl_dir2D_bwdWrW_53.cpp | sabreshao/MIOpen | d0ae7a67430e77e30ab10066ff079327e53e1349 | [
"MIT"
] | null | null | null | src/solver/conv_ocl_dir2D_bwdWrW_53.cpp | sabreshao/MIOpen | d0ae7a67430e77e30ab10066ff079327e53e1349 | [
"MIT"
] | null | null | null | src/solver/conv_ocl_dir2D_bwdWrW_53.cpp | sabreshao/MIOpen | d0ae7a67430e77e30ab10066ff079327e53e1349 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* MIT License
*
* Copyright (c) 2017 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | 47.245675 | 100 | 0.625238 | sabreshao |
d1da05ee7e084297f3097ff61f2628df6ff5b06e | 9,616 | cpp | C++ | WebKit/Source/WebCore/storage/SQLTransactionSync.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | 1 | 2019-06-18T06:52:54.000Z | 2019-06-18T06:52:54.000Z | WebKit/Source/WebCore/storage/SQLTransactionSync.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | WebKit/Source/WebCore/storage/SQLTransactionSync.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 38.310757 | 139 | 0.706323 | JavaScriptTesting |
d1dda8f4e8bc51f6221a6e325d70ddc354df2279 | 416 | cpp | C++ | serialisation/src/SampleEnvironmentEventDouble.cpp | ess-dmsc/NeXus-Streamer | daa222dceb11974a05a5ef3c0ee8a0697f340335 | [
"BSD-2-Clause"
] | null | null | null | serialisation/src/SampleEnvironmentEventDouble.cpp | ess-dmsc/NeXus-Streamer | daa222dceb11974a05a5ef3c0ee8a0697f340335 | [
"BSD-2-Clause"
] | 100 | 2018-04-11T16:45:19.000Z | 2021-05-05T07:35:55.000Z | serialisation/src/SampleEnvironmentEventDouble.cpp | ess-dmsc/NeXus-Streamer | daa222dceb11974a05a5ef3c0ee8a0697f340335 | [
"BSD-2-Clause"
] | null | null | null | #include "SampleEnvironmentEventDouble.h"
flatbuffers::Offset<LogData> SampleEnvironmentEventDouble::getSEEvent(
flatbuffers::FlatBufferBuilder &builder) {
auto nameOffset = builder.CreateString(m_name);
auto valueOffset = CreateDouble(builder, m_value);
auto timestamp = getTimestamp();
return CreateLogDat... | 37.818182 | 79 | 0.745192 | ess-dmsc |
d1de3c9d15e584f0c2aaab8cbe10cb7f0c9eb496 | 536 | cpp | C++ | filip/main.cpp | KalawelaLo/Kattis | cbe2cc742f9902f5d325deb04fd39208774070c5 | [
"Unlicense"
] | null | null | null | filip/main.cpp | KalawelaLo/Kattis | cbe2cc742f9902f5d325deb04fd39208774070c5 | [
"Unlicense"
] | null | null | null | filip/main.cpp | KalawelaLo/Kattis | cbe2cc742f9902f5d325deb04fd39208774070c5 | [
"Unlicense"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
int a, b, tmpmod, tmpnum = 0;
cin >> a >> b;
for(int i = 0; i < 3; i++){
tmpmod = a%10;
a/=10;
tmpnum += tmpmod;
if(i < 2){
tmpnum*=10;}}
a = tmpnum; tmpnum = 0;
for(int i = 0; i < 3; i++){
tm... | 18.482759 | 33 | 0.391791 | KalawelaLo |
d1e2c89b22dcdf969880423e8b18d25890fc146f | 7,454 | cpp | C++ | samples/Hello/third-party/fuzzylite/fuzzylite/src/term/Aggregated.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | samples/Hello/third-party/fuzzylite/fuzzylite/src/term/Aggregated.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | samples/Hello/third-party/fuzzylite/fuzzylite/src/term/Aggregated.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | /*
fuzzylite (R), a fuzzy logic control library in C++.
Copyright (C) 2010-2017 FuzzyLite Limited. All rights reserved.
Author: Juan Rada-Vilela, Ph.D. <jcrada@fuzzylite.com>
This file is part of fuzzylite.
fuzzylite is free software: you can redistribute it and/or modify it under
the terms of the FuzzyLite Lic... | 30.056452 | 94 | 0.57553 | okocsis |
d1e3f64fb002a9e33d28d841de937e2f73e025ad | 6,317 | cpp | C++ | src/dialog.cpp | nekoshota/teippi_PronogoMod | 590b59384118b4dc99800260356accf9d484eb63 | [
"MIT"
] | null | null | null | src/dialog.cpp | nekoshota/teippi_PronogoMod | 590b59384118b4dc99800260356accf9d484eb63 | [
"MIT"
] | null | null | null | src/dialog.cpp | nekoshota/teippi_PronogoMod | 590b59384118b4dc99800260356accf9d484eb63 | [
"MIT"
] | null | null | null | #include "dialog.h"
#include "offsets.h"
#include "unit.h"
#include "patchmanager.h"
#include "strings.h"
#include <stdio.h>
#include <vector>
Unit *ui_transported_units[8] = {0, 0, 0, 0, 0, 0, 0, 0};
void TransportStatus_UpdateDrawnValues()
{
Unit *transport = *bw::primary_selected;
int i = 0;
for (Unit ... | 29.110599 | 148 | 0.602026 | nekoshota |
d1e4e0970858615269cefb0c00b85547e910b601 | 14,905 | cpp | C++ | src/ui/src/setup/simtab.cpp | Terebinth/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 117 | 2015-01-13T14:48:49.000Z | 2022-03-16T01:38:19.000Z | src/ui/src/setup/simtab.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 4 | 2015-05-01T13:09:53.000Z | 2017-07-22T09:11:06.000Z | src/ui/src/setup/simtab.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 78 | 2015-01-13T09:27:47.000Z | 2022-03-18T14:39:09.000Z | #include "falclib.h"
#include "chandler.h"
#include "userids.h"
#include "PlayerOp.h"
#include "sim/include/stdhdr.h"
#include "ui_setup.h"
#include "f4find.h"
//define presets for skill level list box (first set is ace, then veteran, etc...)
Preset Presets[] =
{
{FMAccurate, ATRealisticAV, WEAccurate, APNormal, A... | 25.478632 | 219 | 0.563033 | Terebinth |
d1e81c5d78f2dbf62a8d342b7ac492d9baeb9c1d | 743 | cc | C++ | examples/csv_example.cc | KaiminLai/tiny-machine-learning-system | e29625dfb513032b40712663b63f874e2ae6f924 | [
"MIT"
] | 1 | 2019-01-09T16:03:50.000Z | 2019-01-09T16:03:50.000Z | examples/csv_example.cc | KaiminLai/tiny-machine-learning-system | e29625dfb513032b40712663b63f874e2ae6f924 | [
"MIT"
] | null | null | null | examples/csv_example.cc | KaiminLai/tiny-machine-learning-system | e29625dfb513032b40712663b63f874e2ae6f924 | [
"MIT"
] | null | null | null | #include<iostream>
#include "../src/csv.h"
using namespace std;
using namespace Eigen;
using namespace csv;
int main(){
CSVReader csv("a.csv");
cout<<"rows:"<<csv.rows()<<endl;
cout<<"columns:"<<csv.cols()<<endl;
cout<<"size:"<<csv.size()[0]<<"*"<<csv.size()[1]<<endl;
cout<<"element mat(0,1):"<<csv.get... | 26.535714 | 57 | 0.585464 | KaiminLai |
d1e83f652bf4efb0799fea2bcb282f8a1785db7b | 1,065 | cpp | C++ | tests/memPSGRand_bug57/src_pers/PersTest00_src.cpp | TonyBrewer/OpenHT | 63898397de4d303ba514d88b621cc91367ffe2a6 | [
"BSD-3-Clause"
] | 13 | 2015-02-26T22:46:18.000Z | 2020-03-24T11:53:06.000Z | tests/memPSGRand_bug57/src_pers/PersTest00_src.cpp | PacificBiosciences/OpenHT | 63898397de4d303ba514d88b621cc91367ffe2a6 | [
"BSD-3-Clause"
] | 5 | 2016-02-25T17:08:19.000Z | 2018-01-20T15:24:36.000Z | tests/memPSGRand_bug57/src_pers/PersTest00_src.cpp | TonyBrewer/OpenHT | 63898397de4d303ba514d88b621cc91367ffe2a6 | [
"BSD-3-Clause"
] | 12 | 2015-04-13T21:39:54.000Z | 2021-01-15T01:00:13.000Z | #include "Ht.h"
#include "PersTest00.h"
void CPersTest00::PersTest00() {
if (PR2_htValid) {
switch (PR2_htInst) {
case TEST00_ENTRY: {
HtContinue(TEST00_WR);
break;
}
case TEST00_WR: {
GW2_test00_0_src_u0_data[0][1].write_addr(10, 3);
GW2_test00_0_src_u0_data[0][1].test00_0_src_v4_data = ((int32_t... | 19.363636 | 89 | 0.644131 | TonyBrewer |
d1ec155f32cfc05fb1942da2297411ad0d977f28 | 9,744 | cpp | C++ | oop/cards.cpp | mdatsev/elsys_homeworks | 11c170ae215c6d731092d6147331837a3f306134 | [
"Unlicense"
] | null | null | null | oop/cards.cpp | mdatsev/elsys_homeworks | 11c170ae215c6d731092d6147331837a3f306134 | [
"Unlicense"
] | 45 | 2020-02-25T23:36:11.000Z | 2022-03-30T23:19:18.000Z | oop/cards.cpp | mdatsev/elsys_homeworks | 11c170ae215c6d731092d6147331837a3f306134 | [
"Unlicense"
] | null | null | null | #include <deque>
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <sstream>
#include <unordered_map>
#include <functional>
#include <exception>
#include <unordered_set>
template <class C, class T>
inline int findIn(const C &container, const T &value)
{
auto found = std::find(co... | 26.478261 | 139 | 0.541359 | mdatsev |
d1ee5a73707b1026aac20ab13aa7d49ea028856d | 11,818 | cpp | C++ | Localization/LocalAlign/src/ipc.cpp | wangarcher/examine | e04c923f0db397558ea765d7fbf1050fe4aec3dd | [
"MIT"
] | null | null | null | Localization/LocalAlign/src/ipc.cpp | wangarcher/examine | e04c923f0db397558ea765d7fbf1050fe4aec3dd | [
"MIT"
] | null | null | null | Localization/LocalAlign/src/ipc.cpp | wangarcher/examine | e04c923f0db397558ea765d7fbf1050fe4aec3dd | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
#include <string.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <sys/select.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <signal.h>
#include <sys/socket.h>
#include <netinet/in.h>
#incl... | 26.146018 | 129 | 0.519123 | wangarcher |
d1ef0404149d103b8989ec04bb16369ccc95c262 | 9,714 | cxx | C++ | main/writerfilter/source/doctok/WW8PropertySetImpl.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/writerfilter/source/doctok/WW8PropertySetImpl.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/writerfilter/source/doctok/WW8PropertySetImpl.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 22.643357 | 89 | 0.583282 | Grosskopf |
d1f277c362894330ad3b5b1c075802b4579ecd49 | 2,338 | cc | C++ | MassRecoCompare/src/Common.cc | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | MassRecoCompare/src/Common.cc | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | MassRecoCompare/src/Common.cc | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* Filename : Common.cc
* Description : Declaration of common global variables and functions
* Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ]
*
* Additional comments
*
**********************************************... | 28.864198 | 80 | 0.44953 | NTUHEP-Tstar |
d1f359753752617b84bcfb358e508e6f557c25b5 | 1,475 | cpp | C++ | compiler/angkor/src/ADT/feature/HWCLayout.test.cpp | wateret/ONE_private | 9789c52633e665d2e10273d88d6f7970faa8aee9 | [
"Apache-2.0"
] | null | null | null | compiler/angkor/src/ADT/feature/HWCLayout.test.cpp | wateret/ONE_private | 9789c52633e665d2e10273d88d6f7970faa8aee9 | [
"Apache-2.0"
] | null | null | null | compiler/angkor/src/ADT/feature/HWCLayout.test.cpp | wateret/ONE_private | 9789c52633e665d2e10273d88d6f7970faa8aee9 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 25.431034 | 75 | 0.690169 | wateret |
d1f371a9310b72a8c33d0c46ebd1c10d15beecf9 | 4,291 | cc | C++ | pik/ac_predictions_test.cc | EwoutH/pik | e4b2c7ac71da9b35a9e45a107077f9d33a228012 | [
"MIT"
] | null | null | null | pik/ac_predictions_test.cc | EwoutH/pik | e4b2c7ac71da9b35a9e45a107077f9d33a228012 | [
"MIT"
] | null | null | null | pik/ac_predictions_test.cc | EwoutH/pik | e4b2c7ac71da9b35a9e45a107077f9d33a228012 | [
"MIT"
] | null | null | null | // Copyright 2019 Google LLC
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#include "pik/ac_predictions.h"
#include "gtest/gtest.h"
#include "pik/codec.h"
#include "pik/common.h"
#include "pik/pik.h"
#include "p... | 35.758333 | 79 | 0.639012 | EwoutH |
d1f46989a9fba26159145429767fad72259179d2 | 1,184 | cpp | C++ | testkuplayer/tst_kuplayertest.cpp | listener/mikuplayer | 06b3fb9ffc13184086c5098cd50224c6c60d162f | [
"Unlicense"
] | 17 | 2015-09-13T02:06:27.000Z | 2017-09-22T06:39:26.000Z | testkuplayer/tst_kuplayertest.cpp | xiaosumay/kuplayer | 06b3fb9ffc13184086c5098cd50224c6c60d162f | [
"Unlicense"
] | null | null | null | testkuplayer/tst_kuplayertest.cpp | xiaosumay/kuplayer | 06b3fb9ffc13184086c5098cd50224c6c60d162f | [
"Unlicense"
] | 2 | 2015-10-26T01:54:54.000Z | 2016-01-16T08:24:45.000Z | /*
Copyright (C) 2015 MeiZhaorui(Mason) <listener_mei@163.com>
The File is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later ve... | 24.163265 | 69 | 0.725507 | listener |
d1f63cd1080601f902d65f7eecdb178a63bb2fae | 11,599 | cpp | C++ | src/Scenario/DIALOGS/CustTree.cpp | privatosan/RayStorm | 17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa | [
"MIT"
] | 2 | 2016-04-03T23:57:54.000Z | 2019-12-05T17:50:37.000Z | src/Scenario/DIALOGS/CustTree.cpp | privatosan/RayStorm | 17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa | [
"MIT"
] | null | null | null | src/Scenario/DIALOGS/CustTree.cpp | privatosan/RayStorm | 17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa | [
"MIT"
] | 2 | 2015-06-20T19:22:47.000Z | 2021-11-15T15:22:14.000Z | // OwnrTree.cpp : implementation file
//
#include "typedefs.h"
#include "CustTree.h"
#include "object.h"
#include "sci.h"
#include "resource.h"
#include "BrowserView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define INSERT_TEXT ""
/////////////////////////////... | 22.435203 | 122 | 0.677903 | privatosan |
d1f7ac7c8728744bc1f2ac220a3d5b44936bdc4c | 1,556 | cpp | C++ | hello.cpp | wuyudi/-Computer-Graphics | 228ef5e5db24c2af78ea8b5f68def47675895fd3 | [
"MIT"
] | null | null | null | hello.cpp | wuyudi/-Computer-Graphics | 228ef5e5db24c2af78ea8b5f68def47675895fd3 | [
"MIT"
] | null | null | null | hello.cpp | wuyudi/-Computer-Graphics | 228ef5e5db24c2af78ea8b5f68def47675895fd3 | [
"MIT"
] | null | null | null | //g++ -o hello -Wall hello.cpp -mwindows glut32.lib -lopengl32 -lglu32
#include <windows.h>
#include <gl/glut.h>
void display(void)
{
glClear(GL_COLOR_BUFFER_BIT); /* clear all pixels */
glColor3f(1.0, 1.0, 1.0);
glBegin(GL_POLYGON); /* draw white polygon with corners at(0.25, 0.25, 0.0) and (0.75, 0.75, ... | 40.947368 | 106 | 0.587404 | wuyudi |
060013ca6684d72925a5ed796ecf040827993dca | 20,470 | cpp | C++ | tools/OdometryViewer/main.cpp | jackiecx/rtabmap | e12b10b860a85872568180e11f5babd78bf266b0 | [
"BSD-3-Clause"
] | 1 | 2019-06-14T15:21:42.000Z | 2019-06-14T15:21:42.000Z | tools/OdometryViewer/main.cpp | jackiecx/rtabmap | e12b10b860a85872568180e11f5babd78bf266b0 | [
"BSD-3-Clause"
] | null | null | null | tools/OdometryViewer/main.cpp | jackiecx/rtabmap | e12b10b860a85872568180e11f5babd78bf266b0 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2010-2014, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
... | 24.51497 | 162 | 0.566097 | jackiecx |
06007cf5ea31140d74a080ecadaee399d74c1b7d | 418 | cpp | C++ | src/ganon-classify/main.cpp | mdehollander/ganon | 3a0b87fcda1f47455b4eefc6c47989b0c601f16f | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/ganon-classify/main.cpp | mdehollander/ganon | 3a0b87fcda1f47455b4eefc6c47989b0c601f16f | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/ganon-classify/main.cpp | mdehollander/ganon | 3a0b87fcda1f47455b4eefc6c47989b0c601f16f | [
"MIT",
"BSD-3-Clause"
] | null | null | null | #include <ganon-classify/CommandLineParser.hpp>
#include <ganon-classify/GanonClassify.hpp>
#include <cstdlib>
#include <utility>
int main( int argc, char** argv )
{
if ( auto config = GanonClassify::CommandLineParser::parse( argc, argv ); config.has_value() )
{
return GanonClassify::run( st... | 26.125 | 99 | 0.665072 | mdehollander |
0602d1109739d313e8640dfec91565a021e50a31 | 4,363 | cpp | C++ | Server/Shared/Database/src/MySQLReplDriver.cpp | wayfinder/Wayfinder-Server | a688546589f246ee12a8a167a568a9c4c4ef8151 | [
"BSD-3-Clause"
] | 4 | 2015-08-17T20:12:22.000Z | 2020-05-30T19:53:26.000Z | Server/Shared/Database/src/MySQLReplDriver.cpp | wayfinder/Wayfinder-Server | a688546589f246ee12a8a167a568a9c4c4ef8151 | [
"BSD-3-Clause"
] | null | null | null | Server/Shared/Database/src/MySQLReplDriver.cpp | wayfinder/Wayfinder-Server | a688546589f246ee12a8a167a568a9c4c4ef8151 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of condit... | 40.027523 | 755 | 0.685079 | wayfinder |
06030ea4d9f1cf7b3c1d3dece9058db58eea34b4 | 930 | cpp | C++ | tests/sha3.cpp | calccrypto/Hashes | 4764d88bc71b4905141a208ab38f475cdc547f13 | [
"MIT"
] | 20 | 2016-01-10T13:53:41.000Z | 2022-01-28T02:09:07.000Z | tests/sha3.cpp | m0n0ph1/Hashes | 4764d88bc71b4905141a208ab38f475cdc547f13 | [
"MIT"
] | 1 | 2020-07-13T17:48:10.000Z | 2020-07-18T21:03:41.000Z | tests/sha3.cpp | m0n0ph1/Hashes | 4764d88bc71b4905141a208ab38f475cdc547f13 | [
"MIT"
] | 10 | 2017-05-15T16:25:59.000Z | 2022-02-03T15:31:11.000Z | #include <gtest/gtest.h>
#include "Hashes/SHA3.h"
#include "testvectors/sha/sha3.h"
TEST(SHA3, 224) {
EXPECT_EQ(SHA3 <224> ().blocksize(), (std::size_t) (1600 - 2 * 224));
EXPECT_EQ(SHA3 <224> ().digestsize(), (std::size_t) 224);
hash_test <SHA3 <224> > (SHA3_224_TEST_VECTORS);
}
TEST(SHA3, 256) {
... | 31 | 74 | 0.617204 | calccrypto |
06031ab3f7243c4b39fc73cef0753cbe41dcea31 | 5,756 | cpp | C++ | test/timer/timer2/main.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | 1 | 2020-10-01T14:52:45.000Z | 2020-10-01T14:52:45.000Z | test/timer/timer2/main.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | 3 | 2020-06-19T01:24:51.000Z | 2020-07-16T14:00:30.000Z | test/timer/timer2/main.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | null | null | null | #include <pthread.h>
#include <sys/types.h>
#include <signal.h>
#include <sys/epoll.h>
#include <arpa/inet.h>
#include "lst_timer.h"
const int FD_LIMIT = 65535;
const int MAX_EVENT_NUM = 1024;
const int TIMESLOT = 5;
static int pipefd[2];
static lst_timer timer_lst;
static int epollfd = 0;
void setnoblocking(int fd)... | 28.49505 | 117 | 0.465775 | 6923403 |
0605dd3228416c3c48a47a7a8707d3c5cb88e37f | 997 | cpp | C++ | dataset/test/modification/1466_all/24/transformation_1.cpp | Karina5005/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | 3 | 2022-02-15T00:29:39.000Z | 2022-03-15T08:36:44.000Z | dataset/test/modification/1466_all/24/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | dataset/test/modification/1466_all/24/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | #include <iomanip>
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
void iev_mv()
;
int main()
;
void r() {
int ky_fzo;
cin >> ky_fzo;
int kxt[ky_fzo];
map<int, int> keo;
{
int ow = 0;
if (5 > 3) cout << "new code";for ( ; ow < ky_fzo; )
/* 'for' inside */
{
... | 15.338462 | 59 | 0.408225 | Karina5005 |
060b83e07c1257e5b4098b32de1b9fe5ccf76a36 | 1,010 | cpp | C++ | modules/gin_metadata/gin_metadata.cpp | peterrudenko/Gin | 449c4c6b83fbec91070dc87d124c60a7d1f8c0a5 | [
"BSD-3-Clause"
] | null | null | null | modules/gin_metadata/gin_metadata.cpp | peterrudenko/Gin | 449c4c6b83fbec91070dc87d124c60a7d1f8c0a5 | [
"BSD-3-Clause"
] | null | null | null | modules/gin_metadata/gin_metadata.cpp | peterrudenko/Gin | 449c4c6b83fbec91070dc87d124c60a7d1f8c0a5 | [
"BSD-3-Clause"
] | null | null | null | /*==============================================================================
Copyright 2018 by Roland Rabien
For more information visit www.rabiensoftware.com
==============================================================================*/
// Your project must contain an AppConfig.h file with your project-spe... | 26.578947 | 91 | 0.526733 | peterrudenko |
060c5679378209dd375f26dfcd5fb005acb9cdb0 | 622 | cpp | C++ | CodeChef/Practice/GDOG.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | 1 | 2019-04-19T13:06:33.000Z | 2019-04-19T13:06:33.000Z | CodeChef/Practice/GDOG.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | CodeChef/Practice/GDOG.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | //https://www.codechef.com/problems/GDOG
#include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main()
{
#ifdef DEBUG
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
ios_base ::sync_with_stdio(false);
cin.tie(0);
int t, n, k;
cin >> t;
w... | 16.368421 | 40 | 0.442122 | ysumit99 |
060d7013508e95574467d57a0846b6e1430e8552 | 282 | cc | C++ | Part-III/Ch13/13.1.1/13.5.cc | RingZEROtlf/Cpp-Primer | bde40534eeca733350825c41f268415fdccb1cc3 | [
"MIT"
] | 1 | 2021-09-23T13:13:12.000Z | 2021-09-23T13:13:12.000Z | Part-III/Ch13/13.1.1/13.5.cc | RingZEROtlf/Cpp-Primer | bde40534eeca733350825c41f268415fdccb1cc3 | [
"MIT"
] | null | null | null | Part-III/Ch13/13.1.1/13.5.cc | RingZEROtlf/Cpp-Primer | bde40534eeca733350825c41f268415fdccb1cc3 | [
"MIT"
] | null | null | null | #include <string>
class HasPtr
{
public:
HasPtr(const std::string &s = std::string())
: ps(new std::string(s)), i(0)
{}
HasPtr(const HasPtr &has_ptr)
: ps(new std::string(*(has_ptr.ps))), i(has_ptr.i)
{}
private:
std::string *ps;
int i;
}; | 16.588235 | 58 | 0.549645 | RingZEROtlf |
06117e726c94d35380790a0ef0f9360a84eef171 | 692 | cpp | C++ | q11727.cpp | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | 1 | 2018-03-19T05:18:49.000Z | 2018-03-19T05:18:49.000Z | q11727.cpp | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | null | null | null | q11727.cpp | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | null | null | null | //q11727.cpp - 2011/10/11
//accepted at 2011/10/11
//run time = 0.000
#include <stdio.h>
using namespace std;
int salary[3] = {};
int top = 0;
void sort(int inputNum){
int i;
for(i = top-1; i >= 0 && salary[i] > inputNum; i--){
salary[i+1] = salary[i];
}
i += 1;
salary[i] = inputNum;
top += 1;... | 17.3 | 54 | 0.537572 | abraxaslee |
061295877e030725b0c744e3b0f7f87cf9c89944 | 2,133 | cpp | C++ | C++/Data Structure/Tree.cpp | tanisha-bhadani/hacktoberfest2021-1 | faa1a0fe6b20459162cf9f6cb207f898a58aa54f | [
"MIT"
] | 380 | 2021-10-01T10:22:20.000Z | 2022-03-06T14:34:22.000Z | C++/Data Structure/Tree.cpp | tanisha-bhadani/hacktoberfest2021-1 | faa1a0fe6b20459162cf9f6cb207f898a58aa54f | [
"MIT"
] | 146 | 2021-10-01T09:49:54.000Z | 2022-01-20T14:40:52.000Z | C++/Data Structure/Tree.cpp | tanisha-bhadani/hacktoberfest2021-1 | faa1a0fe6b20459162cf9f6cb207f898a58aa54f | [
"MIT"
] | 1,335 | 2021-10-01T10:00:18.000Z | 2022-03-03T20:07:35.000Z | #include<iostream>
#include<queue>
using namespace std;
class SinglyLinkedListNode {
public:
char key;
SinglyLinkedListNode * left;
SinglyLinkedListNode * right;
SinglyLinkedListNode(char node_data) {
this -> key = node_data;
this -> left = NULL;
this -> right = NULL;
}
};
class Singly... | 22.935484 | 74 | 0.601969 | tanisha-bhadani |
061303968b4bb3db66ec033910e2e33fc93fb898 | 73,441 | cpp | C++ | Core/burn/drv/dataeast/d_rohga.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 17 | 2018-05-24T05:20:45.000Z | 2021-12-24T07:27:22.000Z | Core/burn/drv/dataeast/d_rohga.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 6 | 2016-10-20T02:36:07.000Z | 2017-03-08T15:23:06.000Z | Core/burn/drv/dataeast/d_rohga.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 5 | 2019-01-21T00:45:00.000Z | 2021-07-20T08:34:22.000Z | // FB Alpha Rohga Armor Force / Wizard Fire / Nitro Ball / Schmeiser Robo driver module
// Based on MAME driver by Bryan McPhail
#include "tiles_generic.h"
#include "m68000_intf.h"
#include "h6280_intf.h"
#include "deco16ic.h"
#include "msm6295.h"
#include "burn_ym2151.h"
static UINT8 *AllMem;
static UINT8 *MemEnd;
s... | 32.424283 | 179 | 0.634223 | atship |
0613d2a5cb672ce0c734d4551bf53d5225e8b18a | 7,057 | cpp | C++ | aws-cpp-sdk-connect/source/model/VocabularyLanguageCode.cpp | truthiswill/aws-sdk-cpp | 6e854b6a8bc7945f150c3a11551196bda341962a | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-connect/source/model/VocabularyLanguageCode.cpp | truthiswill/aws-sdk-cpp | 6e854b6a8bc7945f150c3a11551196bda341962a | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-connect/source/model/VocabularyLanguageCode.cpp | truthiswill/aws-sdk-cpp | 6e854b6a8bc7945f150c3a11551196bda341962a | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/connect/model/VocabularyLanguageCode.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws... | 34.593137 | 92 | 0.579425 | truthiswill |
061539070b92ba6ecf691a18d97789d12f62c4f4 | 2,868 | cpp | C++ | src/database/overlay/ftgl/src/FTGlyphContainer.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/database/overlay/ftgl/src/FTGlyphContainer.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/database/overlay/ftgl/src/FTGlyphContainer.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.... | 26.803738 | 126 | 0.722803 | OpenXIP |
061907f0002b965d21ad5abff7eb6c93ca3606da | 4,065 | hpp | C++ | Supermicro/benchmarks/dlrm/implementations/hugectr_J_2/HugeCTR/include/resource_manager.hpp | CaoZhongZ/training_results_v1.0 | 8200377f425ae24b6ed6c2816b9273aab0996d43 | [
"Apache-2.0"
] | 27 | 2021-07-01T00:34:52.000Z | 2022-03-29T08:49:53.000Z | Supermicro/benchmarks/dlrm/implementations/hugectr_J_2/HugeCTR/include/resource_manager.hpp | CaoZhongZ/training_results_v1.0 | 8200377f425ae24b6ed6c2816b9273aab0996d43 | [
"Apache-2.0"
] | 21 | 2021-08-31T08:34:50.000Z | 2022-03-17T11:42:10.000Z | Supermicro/benchmarks/dlrm/implementations/hugectr_J_2/HugeCTR/include/resource_manager.hpp | CaoZhongZ/training_results_v1.0 | 8200377f425ae24b6ed6c2816b9273aab0996d43 | [
"Apache-2.0"
] | 39 | 2021-07-02T00:46:14.000Z | 2022-03-13T16:59:55.000Z | /*
* Copyright (c) 2020, 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 applicable law ... | 37.638889 | 100 | 0.755228 | CaoZhongZ |
061b2f826f8ba52116578496e732aa5f013a35fa | 3,008 | cpp | C++ | Engine/PostFX/_fragment/BlitImage.cpp | vitei/Usa | c44f893d5b3d8080529ecf0e227f983fddb829d4 | [
"MIT"
] | 47 | 2018-04-27T02:16:26.000Z | 2022-02-28T05:21:24.000Z | Engine/PostFX/_fragment/BlitImage.cpp | vitei/Usa | c44f893d5b3d8080529ecf0e227f983fddb829d4 | [
"MIT"
] | 2 | 2018-11-13T18:46:41.000Z | 2022-03-12T00:04:44.000Z | Engine/PostFX/_fragment/BlitImage.cpp | vitei/Usa | c44f893d5b3d8080529ecf0e227f983fddb829d4 | [
"MIT"
] | 6 | 2019-08-10T21:56:23.000Z | 2020-10-21T11:18:29.000Z | /****************************************************************************
// Usagi Engine, Copyright © Vitei, Inc. 2013
****************************************************************************/
#include "Engine/Common/Common.h"
#include "Engine/PostFX/PostFXSys.h"
#include "Engine/Graphics/Device/GFXDevice.h"
#... | 25.931034 | 98 | 0.71875 | vitei |
0620730f122eab6b1b96661bd5476e8c17504dc0 | 8,112 | hpp | C++ | src/ngraph/frontend/onnx_import/core/value_info.hpp | bergtholdt/ngraph | 55ca8bb15488ac7a567bb420ca32fcee25e60fe6 | [
"Apache-2.0"
] | null | null | null | src/ngraph/frontend/onnx_import/core/value_info.hpp | bergtholdt/ngraph | 55ca8bb15488ac7a567bb420ca32fcee25e60fe6 | [
"Apache-2.0"
] | null | null | null | src/ngraph/frontend/onnx_import/core/value_info.hpp | bergtholdt/ngraph | 55ca8bb15488ac7a567bb420ca32fcee25e60fe6 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2018 Intel 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://w... | 45.066667 | 100 | 0.568047 | bergtholdt |
0620bd7b0f9c0b556ffb8af1fdee66019a3353cc | 9,794 | cpp | C++ | vehicle/OVMS.V3/components/vehicle_bmwi3/ecu_definitions/ecu_lim_code.cpp | qtwre/Open-Vehicle-Monitoring-System-3 | 0ebd21bdff06190c0909c29b215ab63f5792e7d6 | [
"MIT"
] | 322 | 2017-06-12T16:56:49.000Z | 2022-03-27T15:46:38.000Z | vehicle/OVMS.V3/components/vehicle_bmwi3/ecu_definitions/ecu_lim_code.cpp | qtwre/Open-Vehicle-Monitoring-System-3 | 0ebd21bdff06190c0909c29b215ab63f5792e7d6 | [
"MIT"
] | 426 | 2017-08-30T04:47:34.000Z | 2022-03-25T21:01:11.000Z | vehicle/OVMS.V3/components/vehicle_bmwi3/ecu_definitions/ecu_lim_code.cpp | qtwre/Open-Vehicle-Monitoring-System-3 | 0ebd21bdff06190c0909c29b215ab63f5792e7d6 | [
"MIT"
] | 194 | 2017-07-03T23:34:08.000Z | 2022-03-16T09:09:22.000Z |
//
// Warning: don't edit - generated by generate_ecu_code.pl processing ../dev/lim_i1.json: LIM 14: Charging interface module
// This generated code makes it easier to process CANBUS messages from the LIM ecu in a BMW i3
//
case I3_PID_LIM_STATUS_CALCVN: { // 0x2541
... | 48.97 | 183 | 0.620584 | qtwre |
0621aa73a23d5b4465d601edd464d7b63fdd5a36 | 3,494 | cpp | C++ | Code/Projects/Eldritch/src/Components/wbcompeldlight.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Projects/Eldritch/src/Components/wbcompeldlight.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Projects/Eldritch/src/Components/wbcompeldlight.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | #include "core.h"
#include "wbcompeldlight.h"
#include "wbcompeldtransform.h"
#include "wbevent.h"
#include "eldritchworld.h"
#include "idatastream.h"
#include "configmanager.h"
WBCompEldLight::WBCompEldLight()
: m_Radius(0.0f),
m_Color(),
m_HasAddedLight(false),
m_LightLocation(),
m_DeferA... | 25.881481 | 79 | 0.716943 | kas1e |
0621e82627b5480d55556f399fe6b36adde14df9 | 3,670 | cpp | C++ | Engine/Plugins/Runtime/Steam/SteamVR/Source/SteamVR/Private/SteamVRSpectatorScreen.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Plugins/Runtime/Steam/SteamVR/Source/SteamVR/Private/SteamVRSpectatorScreen.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Plugins/Runtime/Steam/SteamVR/Source/SteamVR/Private/SteamVRSpectatorScreen.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
//
#include "CoreMinimal.h"
#include "SteamVRPrivate.h"
#if STEAMVR_SUPPORTED_PLATFORMS
#include "SteamVRHMD.h"
#include "RendererPrivate.h"
#include "ScenePrivate.h"
#include "PostProcess/PostProcessHMD.h"
#include "PipelineStateCache.h"
#include "ClearQu... | 33.363636 | 208 | 0.788011 | windystrife |
1646804752e4aa8d221bb3f28fc88fc8709acbb9 | 12,586 | cpp | C++ | main.cpp | erlog/laughing-couscous | ef5f3ec1e83d524ebad04fd6d62e5b39d95ec413 | [
"MIT",
"Ruby",
"Unlicense"
] | null | null | null | main.cpp | erlog/laughing-couscous | ef5f3ec1e83d524ebad04fd6d62e5b39d95ec413 | [
"MIT",
"Ruby",
"Unlicense"
] | null | null | null | main.cpp | erlog/laughing-couscous | ef5f3ec1e83d524ebad04fd6d62e5b39d95ec413 | [
"MIT",
"Ruby",
"Unlicense"
] | null | null | null | //Compile-time Flags
//#define MAC_COMPILE 0
//#define LINUX_COMPILE 1
#define MEMORY_LOGGING 0
#define DEBUG 1
#include "main.h"
int main() {
//INITIALIZATION- Failures here cause a hard exit
//Start Ruby
ruby_setup_environment(); //VALUE rb_update_func = rb_intern("ruby_update");
//... | 39.454545 | 86 | 0.622199 | erlog |
164bf7629950c384ca4357f1bb52a8375321f6bd | 2,112 | cpp | C++ | Javelin/Tools/jasm/CodeSegmentSource.cpp | jthlim/JavelinPattern | 8add264f88ac620de109ddf797f7431779bbd9ea | [
"BSD-3-Clause"
] | 10 | 2016-04-06T01:24:00.000Z | 2021-11-16T10:16:51.000Z | Javelin/Tools/jasm/CodeSegmentSource.cpp | jthlim/JavelinPattern | 8add264f88ac620de109ddf797f7431779bbd9ea | [
"BSD-3-Clause"
] | 1 | 2016-05-06T05:38:58.000Z | 2016-05-09T16:42:43.000Z | Javelin/Tools/jasm/CodeSegmentSource.cpp | jthlim/JavelinPattern | 8add264f88ac620de109ddf797f7431779bbd9ea | [
"BSD-3-Clause"
] | null | null | null | //============================================================================
#include "Javelin/Tools/jasm/CodeSegmentSource.h"
//============================================================================
using namespace Javelin::Assembler;
//======================================================================... | 22.231579 | 79 | 0.551136 | jthlim |
164fb7502e74fbb74baf2e56db0e25f829ea3ece | 10,317 | cpp | C++ | dotth/D3D11RHI.cpp | jaefunk/dotth | d93c69a1744c545606bec3ee0cdc8f46b5c19d36 | [
"MIT"
] | null | null | null | dotth/D3D11RHI.cpp | jaefunk/dotth | d93c69a1744c545606bec3ee0cdc8f46b5c19d36 | [
"MIT"
] | 8 | 2019-11-05T00:06:59.000Z | 2022-03-28T09:20:40.000Z | dotth/D3D11RHI.cpp | jaefunk/dotth | d93c69a1744c545606bec3ee0cdc8f46b5c19d36 | [
"MIT"
] | null | null | null | #include "D3D11RHI.h"
#include "D3D11Shader.h"
D3D11RHI::~D3D11RHI()
{
D3D11RHI::Instance()->_Device->Release();
D3D11RHI::Instance()->_Context->Release();;
D3D11RHI::Instance()->_SwapChain->Release();
D3D11RHI::Instance()->_BackBufferRTV->Release();
D3D11RHI::Instance()->_RasterizerStateSolid->Release();
D3D11R... | 33.9375 | 245 | 0.765048 | jaefunk |
1650e602e330de0258ece84363a3c6137e7cfed6 | 4,886 | cpp | C++ | src/3rdparty/libnbtplusplus/src/tag_list.cpp | AgustinSRG/ImageToMapMC | fbff8017e87c30baaa0c9c2327bdd28846253646 | [
"MIT"
] | null | null | null | src/3rdparty/libnbtplusplus/src/tag_list.cpp | AgustinSRG/ImageToMapMC | fbff8017e87c30baaa0c9c2327bdd28846253646 | [
"MIT"
] | null | null | null | src/3rdparty/libnbtplusplus/src/tag_list.cpp | AgustinSRG/ImageToMapMC | fbff8017e87c30baaa0c9c2327bdd28846253646 | [
"MIT"
] | null | null | null | /*
* libnbt++ - A library for the Minecraft Named Binary Tag format.
* Copyright (C) 2013, 2015 ljfa-ag
*
* This file is part of libnbt++.
*
* libnbt++ is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Found... | 32.144737 | 93 | 0.651658 | AgustinSRG |