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
068f41ee5c4d1a547e30fde1bd45ff15e98483af
2,335
cpp
C++
ch13-02-single-segment/src/main.cpp
pulpobot/C-SFML-html5-animation
14154008b853d1235e8ca35a5b23b6a70366f914
[ "MIT" ]
73
2017-12-14T00:33:23.000Z
2022-02-09T12:04:52.000Z
ch13-02-single-segment/src/main.cpp
threaderic/C-SFML-html5-animation
22f302cdf7c7c00247609da30e1bcf472d134583
[ "MIT" ]
null
null
null
ch13-02-single-segment/src/main.cpp
threaderic/C-SFML-html5-animation
22f302cdf7c7c00247609da30e1bcf472d134583
[ "MIT" ]
5
2017-12-26T03:30:07.000Z
2020-07-05T04:58:24.000Z
#include <iostream> #include "SFML\Graphics.hpp" #include "Segment.h" #include "Utils.h" #include "Slider.h" void OnHandleMoveCallback(Slider *slider){ slider->handle.setPosition(slider->background.getPosition().x, slider->handleY + slider->background.getPosition().y); } int main() { //You can turn off antial...
32.430556
121
0.582441
pulpobot
06985a43292318fac4c3ffbe711bfb3098f0548c
1,192
hpp
C++
include/mold/domain/mustache/parser.hpp
duzy/mold
52a813bf2858e9719b89b1250702c82be4c2a78d
[ "BSL-1.0" ]
7
2016-10-02T13:29:55.000Z
2022-02-06T09:21:00.000Z
include/mold/domain/mustache/parser.hpp
extbit/mold
68cc3dd815c4e7a39ab5f68f7525a6c36a1e036f
[ "BSL-1.0" ]
1
2020-06-09T01:26:21.000Z
2020-06-09T01:26:21.000Z
include/mold/domain/mustache/parser.hpp
extbit/mold
68cc3dd815c4e7a39ab5f68f7525a6c36a1e036f
[ "BSL-1.0" ]
2
2019-09-08T05:30:31.000Z
2020-08-27T13:03:49.000Z
/** * \file boost/mold/domain/mustache/grammar.hpp * * Copyright 2016~2019 Duzy Chan <code@extbit.io>, ExtBit Limited * * 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 _BOOST_MOLD_DOMAIN_MUSTA...
36.121212
80
0.765101
duzy
069917eabac71dc9c402d5ee286ea3ee8ea2d6e0
15,795
cpp
C++
sycl/source/detail/program_manager/program_manager.cpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
1
2020-09-25T23:33:05.000Z
2020-09-25T23:33:05.000Z
sycl/source/detail/program_manager/program_manager.cpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
sycl/source/detail/program_manager/program_manager.cpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
//==------ program_manager.cpp --- SYCL program manager---------------------==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
36.394009
83
0.628807
Ralender
069ce545b7142abfb5d8fb450aa5255937f6ae1c
1,772
cpp
C++
Modules/MitkExt/Testing/mitkSurfaceToImageFilterTest.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Modules/MitkExt/Testing/mitkSurfaceToImageFilterTest.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Modules/MitkExt/Testing/mitkSurfaceToImageFilterTest.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
37.702128
217
0.727991
rfloca
069e66fc88cbf726fc258b498a056d146fcd611a
370
cpp
C++
docs/examples/problems/addition/submissions/js.cpp
bilsen/omogenexec
331f8e4ac48a190de289b5e1737741bac0d7a09a
[ "MIT" ]
null
null
null
docs/examples/problems/addition/submissions/js.cpp
bilsen/omogenexec
331f8e4ac48a190de289b5e1737741bac0d7a09a
[ "MIT" ]
null
null
null
docs/examples/problems/addition/submissions/js.cpp
bilsen/omogenexec
331f8e4ac48a190de289b5e1737741bac0d7a09a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int add(int a, int b) { if (a == 0) return b; int what[1000]; what[0] = add(a - 1, b + 1); what[1] = add(0, -10); what[2] = add(0, 10); return what[0] + what[1] + what[2]; } int main() { int a, b; cin >> a >> b; if (a + b <= 2000) { cout << add(a, b) << ...
16.086957
37
0.472973
bilsen
069e6fe49b5580546b2126a25991a5c1c243a6be
3,403
cpp
C++
ArrayList/ArrayList/ArrayListLib.cpp
UnicornMane/spbu-homework1
665c71cfa1e37a5b88fb1d58ad0070842d0b6b2b
[ "Apache-2.0" ]
null
null
null
ArrayList/ArrayList/ArrayListLib.cpp
UnicornMane/spbu-homework1
665c71cfa1e37a5b88fb1d58ad0070842d0b6b2b
[ "Apache-2.0" ]
null
null
null
ArrayList/ArrayList/ArrayListLib.cpp
UnicornMane/spbu-homework1
665c71cfa1e37a5b88fb1d58ad0070842d0b6b2b
[ "Apache-2.0" ]
null
null
null
#include "ArrayListLib.h" #include <iostream> void ArrayList::expand(int count) { int* newdata = new int[count + this->capacity]; for (int i = 0; i < this->capacity; ++i) { newdata[i] = this->data[i]; } delete[] this->data; this->data = newdata; this->capacity += count; } void ArrayList::swap(int posi, int p...
15.610092
63
0.577432
UnicornMane
069e92ce79b2fd81b8500829e6ce9e536bfe2d3c
4,896
cpp
C++
include/delfem2/opengl/old/rigv3.cpp
mmer547/delfem2
4f4b28931c96467ac30948e6b3f83150ea530c92
[ "MIT" ]
1
2020-07-18T17:03:36.000Z
2020-07-18T17:03:36.000Z
include/delfem2/opengl/old/rigv3.cpp
mmer547/delfem2
4f4b28931c96467ac30948e6b3f83150ea530c92
[ "MIT" ]
null
null
null
include/delfem2/opengl/old/rigv3.cpp
mmer547/delfem2
4f4b28931c96467ac30948e6b3f83150ea530c92
[ "MIT" ]
null
null
null
/* * Copyright (c) 2019 Nobuyuki Umetani * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "delfem2/opengl/old/funcs.h" #include "delfem2/opengl/old/v3q.h" #include "delfem2/opengl/old/rigv3.h" #include "delfem2/rig_geo3.h" #...
30.222222
96
0.642565
mmer547
069efb2b5b3595ecabae8c74dbc4dd26699bb3b0
4,460
cpp
C++
src/68. Text Justification/main.cpp
sheepduke/leetcode
7808b3370e4c3e19b2b0bc2bcee62f659906c3eb
[ "MIT" ]
null
null
null
src/68. Text Justification/main.cpp
sheepduke/leetcode
7808b3370e4c3e19b2b0bc2bcee62f659906c3eb
[ "MIT" ]
null
null
null
src/68. Text Justification/main.cpp
sheepduke/leetcode
7808b3370e4c3e19b2b0bc2bcee62f659906c3eb
[ "MIT" ]
null
null
null
/* Given an array of words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justified. You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad extra spaces ' ' when necessary so that each line has e...
30.135135
95
0.606054
sheepduke
06a061758728508aa54e85df8d53f1b10cb29e2e
8,069
cpp
C++
src/tut27/Engine/Engine/graphicsclass.cpp
Scillman/rastertek-dx11-tutorials
3aee1e19eaf6e4e8e9a44c88a83ac50acdcb05c6
[ "Unlicense" ]
null
null
null
src/tut27/Engine/Engine/graphicsclass.cpp
Scillman/rastertek-dx11-tutorials
3aee1e19eaf6e4e8e9a44c88a83ac50acdcb05c6
[ "Unlicense" ]
null
null
null
src/tut27/Engine/Engine/graphicsclass.cpp
Scillman/rastertek-dx11-tutorials
3aee1e19eaf6e4e8e9a44c88a83ac50acdcb05c6
[ "Unlicense" ]
1
2018-06-26T01:29:41.000Z
2018-06-26T01:29:41.000Z
//////////////////////////////////////////////////////////////////////////////// // Filename: graphicsclass.cpp //////////////////////////////////////////////////////////////////////////////// #include "graphicsclass.h" GraphicsClass::GraphicsClass() { m_D3D = 0; m_Camera = 0; m_Model = 0; m_TextureSha...
24.451515
120
0.681125
Scillman
a628cd64c745f4515c57ae13c584c08c20132222
832
cpp
C++
extern/shiny/Main/MaterialInstancePass.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
4
2020-07-04T06:05:05.000Z
2022-02-14T22:53:27.000Z
extern/shiny/Main/MaterialInstancePass.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
extern/shiny/Main/MaterialInstancePass.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
1
2018-10-20T08:17:41.000Z
2018-10-20T08:17:41.000Z
#include "MaterialInstancePass.hpp" #include <fstream> namespace sh { MaterialInstanceTextureUnit* MaterialInstancePass::createTextureUnit (const std::string& name) { mTexUnits.push_back(MaterialInstanceTextureUnit(name)); return &mTexUnits.back(); } void MaterialInstancePass::save(std::ofstream &stream) {...
23.111111
95
0.635817
Bodillium
a62b718533981567bed358140f97ff07c7a0c58e
2,634
cpp
C++
src/ScoreEvaluation/VCValueEvaluator.cpp
AhmedSalemElhady/Scrabble-Game.ai
b75e19dac5f3096a82b4cbe54e9c66501b9a051b
[ "MIT" ]
8
2019-02-25T17:32:09.000Z
2022-02-25T04:00:40.000Z
src/ScoreEvaluation/VCValueEvaluator.cpp
AhmedSalemElhady/Scrabble-Game.ai
b75e19dac5f3096a82b4cbe54e9c66501b9a051b
[ "MIT" ]
2
2019-04-20T15:49:47.000Z
2019-04-28T16:48:55.000Z
src/ScoreEvaluation/VCValueEvaluator.cpp
AhmedSalemElhady/Scrabble-Game.ai
b75e19dac5f3096a82b4cbe54e9c66501b9a051b
[ "MIT" ]
9
2019-02-19T18:00:11.000Z
2021-01-26T16:36:26.000Z
#include "VCValueEvaluator.hpp" VCValueEvaluator::VCValueEvaluator(int bagSize, bool isEmptyBoard) : RackLeaveEvaluator(bagSize, isEmptyBoard) { } VCValueEvaluator::VCValueEvaluator(LoadHeuristics *heuristicsValues, std::vector<char> *opponentRack, int bagSize, bool isEmptyBoard) : RackLeaveEvaluator(heuristicsValues,...
30.988235
195
0.572893
AhmedSalemElhady
a62c78e2650b294cdab375d5bf97bbcedaa27e1a
5,818
cpp
C++
Processor/Processor.cpp
Inpher/XorPublic
63f0bc679b618230bb786f0b7dea09bf8bdddd7a
[ "BSD-4-Clause-UC" ]
2
2021-04-24T11:36:29.000Z
2021-04-24T11:43:15.000Z
Processor/Processor.cpp
Inpher/Inpher-SPDZ
63f0bc679b618230bb786f0b7dea09bf8bdddd7a
[ "BSD-4-Clause-UC" ]
2
2017-03-21T20:05:23.000Z
2017-03-27T17:36:55.000Z
Processor/Processor.cpp
Inpher/Inpher-SPDZ
63f0bc679b618230bb786f0b7dea09bf8bdddd7a
[ "BSD-4-Clause-UC" ]
1
2018-10-01T11:48:30.000Z
2018-10-01T11:48:30.000Z
// (C) 2016 University of Bristol. See License.txt #include "Processor/Processor.h" #include "Auth/MAC_Check.h" #include "Auth/fake-stuff.h" Processor::Processor(int thread_num,Data_Files& DataF,Player& P, MAC_Check<gf2n>& MC2,MAC_Check<gfp>& MCp,Machine& machine, int num_regs2,int num_regsp,int nu...
26.089686
106
0.642661
Inpher
a62f25a7d04eb7d3ebfb3348eb9d6b9d81cb56f1
16,297
cpp
C++
gpe/Array.cpp
erli1/GPE-Solver
636fc84bc50144471596ff99cc99edb92a6ef5c1
[ "MIT" ]
8
2015-08-23T09:12:00.000Z
2021-09-10T21:41:27.000Z
gpe/Array.cpp
erli1/GPE-Solver
636fc84bc50144471596ff99cc99edb92a6ef5c1
[ "MIT" ]
1
2018-02-23T19:33:26.000Z
2018-02-24T09:43:18.000Z
gpe/Array.cpp
erli1/GPE-Solver
636fc84bc50144471596ff99cc99edb92a6ef5c1
[ "MIT" ]
5
2015-02-18T17:31:41.000Z
2021-11-09T22:18:45.000Z
#include "Array.h" #include "omp.h" #include <cmath> #include <iostream> #include <cstdlib> #include <fstream> using namespace std; bool Array::_fftwInitialized = false; bool Array::_fftwWisdomLoaded = false; bool Array::_fftwWisdomExported = false; Array::Array(const SimulationParameters & sp) : Field(sp) { ...
25.033794
157
0.483709
erli1
a62fa6151e44bacc43b40a2ec1766e4d7e39cda1
1,094
hpp
C++
lumino/LuminoEngine/include/LuminoEngine/PostEffect/TonePostEffect.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
30
2016-01-24T05:35:45.000Z
2020-03-03T09:54:27.000Z
lumino/LuminoEngine/include/LuminoEngine/PostEffect/TonePostEffect.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoEngine/include/LuminoEngine/PostEffect/TonePostEffect.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
5
2016-04-03T02:52:05.000Z
2018-01-02T16:53:06.000Z
#pragma once #include <LuminoGraphics/Animation/EasingFunctions.hpp> #include "PostEffect.hpp" namespace ln { namespace detail { class TonePostEffectInstance; } class TonePostEffect : public PostEffect { public: static Ref<TonePostEffect> create(); // [experimental] void play(const ColorTone& tone, dou...
21.038462
136
0.75777
lriki
a630f575527f809cbe2afc68d4de1a542df4ffc1
194
cpp
C++
Foreign/SonyLE/LevelEditorNativeRendering/LvEdRenderingEngine/GobSystem/MeshComponent.cpp
alexgithubber/XLE-Another-Fork
cdd8682367d9e9fdbdda9f79d72bb5b1499cec46
[ "MIT" ]
796
2015-01-02T12:25:52.000Z
2022-03-22T18:45:03.000Z
Foreign/SonyLE/LevelEditorNativeRendering/LvEdRenderingEngine/GobSystem/MeshComponent.cpp
yorung/XLE
083ce4c9d3fe32002ff5168e571cada2715bece4
[ "MIT" ]
22
2015-02-06T03:41:40.000Z
2020-09-29T19:21:20.000Z
Foreign/SonyLE/LevelEditorNativeRendering/LvEdRenderingEngine/GobSystem/MeshComponent.cpp
yorung/XLE
083ce4c9d3fe32002ff5168e571cada2715bece4
[ "MIT" ]
218
2015-01-01T15:58:25.000Z
2022-02-21T05:17:37.000Z
#include "MeshComponent.h" using namespace LvEdEngine; void MeshComponent::SetRef(const wchar_t* path) { } void MeshComponent::Update(const FrameTime& fr, UpdateTypeEnum updateType) { }
14.923077
74
0.757732
alexgithubber
a63176e26125bff1f6d71a354977b2b764ea837e
1,211
cpp
C++
src/interfaces/DMSUT.cpp
dotweiba/dbt5
39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42
[ "Artistic-1.0" ]
3
2017-08-30T12:57:33.000Z
2022-02-08T14:25:03.000Z
src/interfaces/DMSUT.cpp
dotweiba/dbt5
39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42
[ "Artistic-1.0" ]
1
2020-09-28T05:36:28.000Z
2021-03-15T10:38:29.000Z
src/interfaces/DMSUT.cpp
dotweiba/dbt5
39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42
[ "Artistic-1.0" ]
5
2017-01-18T20:16:06.000Z
2021-03-09T12:23:50.000Z
/* * This file is released under the terms of the Artistic License. Please see * the file LICENSE, included in this package, for details. * * Copyright (C) 2006-2010 Rilson Nascimento * * 12 August 2006 */ #include "DMSUT.h" // constructor CDMSUT::CDMSUT(char *addr, const int iListenPort, ofstream *pflog, o...
24.714286
77
0.765483
dotweiba
a63bf17f03622781852d02b01c1d36716300278b
3,220
cpp
C++
lab7/150101033_1.cpp
mayank-myk/Basic-Datastructure-implementations
4bf5f79c2c5ad636fe9d61c0be36a0a3e1238356
[ "MIT" ]
null
null
null
lab7/150101033_1.cpp
mayank-myk/Basic-Datastructure-implementations
4bf5f79c2c5ad636fe9d61c0be36a0a3e1238356
[ "MIT" ]
null
null
null
lab7/150101033_1.cpp
mayank-myk/Basic-Datastructure-implementations
4bf5f79c2c5ad636fe9d61c0be36a0a3e1238356
[ "MIT" ]
null
null
null
//mayank agrawal //150101033 #include <stdio.h> #include <iostream> #include <stdlib.h> using namespace std; struct set{ int size; struct node *head; struct node *tail; }; struct node{ int data; struct set *rep ; struct node *next; }; //initializing struct node abject and struct set object s...
25.555556
105
0.497205
mayank-myk
a63f2c38b77b58a5070fb4d338e1ed514a4d2a91
1,977
tcc
C++
nheqminer/zcash/circuit/utils.tcc
Maroc-OS/nheqminer
b1451be01151d535118900daf3b2309d91401fcb
[ "MIT" ]
4
2017-06-30T08:19:05.000Z
2017-11-26T21:29:35.000Z
nheqminer/zcash/circuit/utils.tcc
Maroc-OS/nheqminer
b1451be01151d535118900daf3b2309d91401fcb
[ "MIT" ]
null
null
null
nheqminer/zcash/circuit/utils.tcc
Maroc-OS/nheqminer
b1451be01151d535118900daf3b2309d91401fcb
[ "MIT" ]
1
2019-07-04T22:36:20.000Z
2019-07-04T22:36:20.000Z
#include "uint252.h" template <typename FieldT> pb_variable_array<FieldT> from_bits(std::vector<bool> bits, pb_variable<FieldT> &ZERO) { pb_variable_array<FieldT> acc; BOOST_FOREACH (bool bit, bits) { acc.emplace_back(bit ? ONE : ZERO); } return acc; } std::vector<bool> tra...
27.458333
79
0.686394
Maroc-OS
a643ec41c2ff3108dce42925e50ea6574d7938e2
49,919
cpp
C++
src/render/IrradianceCube.cpp
liuhongyi0101/SaturnRender
c6ec7ee39ef14749b09be4ae47f76613c71533cf
[ "MIT" ]
2
2019-12-24T04:00:36.000Z
2022-01-26T02:44:04.000Z
src/render/IrradianceCube.cpp
liuhongyi0101/SaturnRender
c6ec7ee39ef14749b09be4ae47f76613c71533cf
[ "MIT" ]
null
null
null
src/render/IrradianceCube.cpp
liuhongyi0101/SaturnRender
c6ec7ee39ef14749b09be4ae47f76613c71533cf
[ "MIT" ]
2
2020-09-26T04:19:40.000Z
2021-02-19T07:24:57.000Z
#include "renderer/IrradianceCube.h" #include "utils/loadshader.h" IrradianceCube::IrradianceCube(vks::VulkanDevice *vulkanDevice, VkCommandPool &cmdPool, std::shared_ptr<VertexDescriptions> &vdo_, vks::Model &skybox, VkQueue &queue) { this->vulkanDevice = vulkanDevice; this->cmdPool = cmdPool; this->vdo_ = vdo_; t...
47.678128
191
0.809131
liuhongyi0101
a644162d87e582ffc312ceca6f64e1dcc19b38cb
2,547
cpp
C++
Source/ThirdParty/strtk/strtk/strtk_random_line.cpp
morrow1nd/ToyUtility
0df3364a516de7a396b1cbb7975263506f41121d
[ "MIT" ]
null
null
null
Source/ThirdParty/strtk/strtk/strtk_random_line.cpp
morrow1nd/ToyUtility
0df3364a516de7a396b1cbb7975263506f41121d
[ "MIT" ]
null
null
null
Source/ThirdParty/strtk/strtk/strtk_random_line.cpp
morrow1nd/ToyUtility
0df3364a516de7a396b1cbb7975263506f41121d
[ "MIT" ]
null
null
null
/* ***************************************************************** * String Toolkit Library * * * * Random Line Selection * * Author: Arash Partow (2002-2018) ...
28.3
88
0.506086
morrow1nd
a64481e6bc733eaebbb065b5395c64d06c293ac8
5,122
cpp
C++
tileconv/tilethreadpool_win32.cpp
Argent77/tileconv
b1b4479e7223d7d3cc0ffe17b86ada60f7fd0b0e
[ "MIT" ]
1
2015-03-03T21:30:28.000Z
2015-03-03T21:30:28.000Z
tileconv/tilethreadpool_win32.cpp
InfinityTools/tileconv
b1b4479e7223d7d3cc0ffe17b86ada60f7fd0b0e
[ "MIT" ]
1
2015-05-11T09:26:14.000Z
2015-05-11T09:26:14.000Z
tileconv/tilethreadpool_win32.cpp
Argent77/tileconv
b1b4479e7223d7d3cc0ffe17b86ada60f7fd0b0e
[ "MIT" ]
1
2022-02-16T17:47:50.000Z
2022-02-16T17:47:50.000Z
/* Copyright (c) 2014 Argent77 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, distribute, sublic...
28.142857
97
0.725303
Argent77
a6492cd038b8462ce1d77d5d4e1154f9c8b953ff
5,608
cpp
C++
lib/data.cpp
bkj/delphi
14972e783551029ddf7db83961b73cf99c4c48e9
[ "Apache-2.0" ]
null
null
null
lib/data.cpp
bkj/delphi
14972e783551029ddf7db83961b73cf99c4c48e9
[ "Apache-2.0" ]
null
null
null
lib/data.cpp
bkj/delphi
14972e783551029ddf7db83961b73cf99c4c48e9
[ "Apache-2.0" ]
null
null
null
#include "data.hpp" #include "utils.hpp" #include <fmt/format.h> #include <sqlite3.h> #include <chrono> #include <range/v3/all.hpp> #include <thread> using namespace std; vector<double> get_observations_for(string indicator, string country, strin...
28.907216
80
0.570078
bkj
a64bf3427ecce34d37cc506c30e5465e6f223b8f
2,706
cpp
C++
src/frame/frame_list.cpp
monopoldesign/M5Paper
27c49dab9340a82d7bb6748383217e80f9b2ac31
[ "MIT" ]
1
2021-10-10T09:45:36.000Z
2021-10-10T09:45:36.000Z
src/frame/frame_list.cpp
monopoldesign/M5Paper
27c49dab9340a82d7bb6748383217e80f9b2ac31
[ "MIT" ]
null
null
null
src/frame/frame_list.cpp
monopoldesign/M5Paper
27c49dab9340a82d7bb6748383217e80f9b2ac31
[ "MIT" ]
null
null
null
#include "frame_list.h" #include "frame_list_menu.h" #include "../epdgui/epdgui_button.h" Frame_List::Frame_List(bool isHorizontal) : Frame_Base() { _frame_name = "Frame_List"; const uint16_t kKeyBaseY = 628; key_run1 = new EPDGUI_Button("RUN1", 4, kKeyBaseY, 250, 52); key_run2 = new EPDGUI_Button("RUN2", 286...
23.736842
77
0.708795
monopoldesign
a64cdf35625182747eace5440734c4bc9171c2d9
27,773
cpp
C++
crnlib/crn_ktx_texture.cpp
bmorel/crunch
78b8a3f290e417f39cdda5d2b1355958303cfbdd
[ "Zlib" ]
null
null
null
crnlib/crn_ktx_texture.cpp
bmorel/crunch
78b8a3f290e417f39cdda5d2b1355958303cfbdd
[ "Zlib" ]
null
null
null
crnlib/crn_ktx_texture.cpp
bmorel/crunch
78b8a3f290e417f39cdda5d2b1355958303cfbdd
[ "Zlib" ]
null
null
null
// File: crn_ktx_texture.cpp #include "crn_core.h" #include "crn_ktx_texture.h" #include "crn_console.h" // Set #if CRNLIB_KTX_PVRTEX_WORKAROUNDS to 1 to enable various workarounds for oddball KTX files written by PVRTexTool. #define CRNLIB_KTX_PVRTEX_WORKAROUNDS 1 namespace crnlib { const uint8 s_ktx_file_i...
33.261078
149
0.666259
bmorel
a64e43083ff408bf380c68a25f3c9c8ab5a75320
1,193
hh
C++
Exos/Serie04/poisson/simulation.hh
vkeller/math-454
0bf3a81214f094dbddec868d3d133986b31f4b01
[ "BSD-2-Clause" ]
1
2021-05-19T13:31:49.000Z
2021-05-19T13:31:49.000Z
Exos/Serie05/poisson/simulation.hh
vkeller/math-454
0bf3a81214f094dbddec868d3d133986b31f4b01
[ "BSD-2-Clause" ]
null
null
null
Exos/Serie05/poisson/simulation.hh
vkeller/math-454
0bf3a81214f094dbddec868d3d133986b31f4b01
[ "BSD-2-Clause" ]
null
null
null
#ifndef SIMULATION_HH #define SIMULATION_HH /* -------------------------------------------------------------------------- */ #include "double_buffer.hh" #include "dumpers.hh" #include "grid.hh" /* -------------------------------------------------------------------------- */ #include <tuple> /* ------------------------...
22.509434
80
0.511316
vkeller
a64e65567c46b7fb53a5795b932de4def851d6a5
3,909
hpp
C++
C64/src/Emulator/UnitTest/TestEmulator.hpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
1
2015-03-26T02:35:13.000Z
2015-03-26T02:35:13.000Z
C64/src/Emulator/UnitTest/TestEmulator.hpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
null
null
null
C64/src/Emulator/UnitTest/TestEmulator.hpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
null
null
null
// // Emulator - Simple C64 emulator // Copyright (C) 2003-2016 Michael Fink // /// \file TestEmulator.hpp Emulator implementation for unit tests // #pragma once // includes #include "Machine.hpp" #include "PC64File.hpp" #include "PETASCIIString.hpp" /// Emulator for unit tests class TestEmulator : public C64::Mac...
25.383117
93
0.585828
vividos
a65080732f7156bd13a0c3cf3b38673cade613ce
50,152
cpp
C++
tests/auto/datasync/TestAppServer/tst_appserver.cpp
wangyangyangisme/QtDataSync
0cc47ca4e8aeee2683aae52662c40f1a7c7b1d93
[ "BSD-3-Clause" ]
1
2022-02-22T07:18:33.000Z
2022-02-22T07:18:33.000Z
tests/auto/datasync/TestAppServer/tst_appserver.cpp
wyyrepo/QtDataSync
0cc47ca4e8aeee2683aae52662c40f1a7c7b1d93
[ "BSD-3-Clause" ]
null
null
null
tests/auto/datasync/TestAppServer/tst_appserver.cpp
wyyrepo/QtDataSync
0cc47ca4e8aeee2683aae52662c40f1a7c7b1d93
[ "BSD-3-Clause" ]
1
2018-12-20T04:31:16.000Z
2018-12-20T04:31:16.000Z
#include <QString> #include <QtTest> #include <QCoreApplication> #include <QProcess> #include <testlib.h> #include <mockclient.h> #ifdef Q_OS_UNIX #include <sys/types.h> #include <signal.h> #elif Q_OS_WIN #include <qt_windows.h> #endif #include <QtDataSync/private/identifymessage_p.h> #include <QtDataSync/private/reg...
26.819251
138
0.695207
wangyangyangisme
a650c158002bc3fd7675ae8d83eac8d5ca2afca2
2,402
cpp
C++
app/handlers/normalizer.cpp
freelandy/RobustPalmRoi
c94ec3c2a9d14ffe4d5f544796abf3754764b809
[ "MIT" ]
1
2019-05-10T08:46:35.000Z
2019-05-10T08:46:35.000Z
app/handlers/normalizer.cpp
freelandy/RobustPalmRoi
c94ec3c2a9d14ffe4d5f544796abf3754764b809
[ "MIT" ]
null
null
null
app/handlers/normalizer.cpp
freelandy/RobustPalmRoi
c94ec3c2a9d14ffe4d5f544796abf3754764b809
[ "MIT" ]
null
null
null
// Copyright (c) 2018 leosocy. All rights reserved. // Use of this source code is governed by a MIT-style license // that can be found in the LICENSE file. #include "handlers/normalizer.h" namespace rpr { Status OrigNormalizer::Init(const YAML::Node& parameters) { try { scaling_= parameters["scaling"].IsNull()...
28.258824
103
0.641965
freelandy
a650fe3a45c990c0b193fb6ca4bfad93c2741057
6,920
cpp
C++
remodet_repository_wdh_part/src/caffe/tracker/fe_roi_maker.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/tracker/fe_roi_maker.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/tracker/fe_roi_maker.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#include "caffe/tracker/fe_roi_maker.hpp" namespace caffe { template <typename Dtype> FERoiMaker<Dtype>::FERoiMaker(const std::string& network_proto, const std::string& caffe_model, const int gpu_id, const std::string& features,...
39.542857
103
0.656936
UrwLee
a6563881b008a1f94b1e58f6854fac0b380d3ebb
65,831
cc
C++
graph/igraph-0.6/src/bliss_graph.cc
FlyerMaxwell/Bubble
70ca988bca3a5debce5d9c61f203b08005bdefaf
[ "MIT" ]
3
2017-09-05T03:06:12.000Z
2019-04-28T13:17:11.000Z
graph/igraph-0.6/src/bliss_graph.cc
FlyerMaxwell/Bubble
70ca988bca3a5debce5d9c61f203b08005bdefaf
[ "MIT" ]
null
null
null
graph/igraph-0.6/src/bliss_graph.cc
FlyerMaxwell/Bubble
70ca988bca3a5debce5d9c61f203b08005bdefaf
[ "MIT" ]
1
2019-03-05T06:24:02.000Z
2019-03-05T06:24:02.000Z
/* Copyright (C) 2003-2006 Tommi Junttila This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; wit...
26.353483
124
0.626589
FlyerMaxwell
a659a259e67a8172c5a4ac3047508f60291a54f2
433
cpp
C++
Ex4_3_master.cpp
DF4IAH/OpenMP
9eb4c429d3d9da799fe0a5767d91b2c654358bdf
[ "MIT" ]
null
null
null
Ex4_3_master.cpp
DF4IAH/OpenMP
9eb4c429d3d9da799fe0a5767d91b2c654358bdf
[ "MIT" ]
null
null
null
Ex4_3_master.cpp
DF4IAH/OpenMP
9eb4c429d3d9da799fe0a5767d91b2c654358bdf
[ "MIT" ]
null
null
null
#include <stdio.h> #include "omp.h" const int NUM_SLICES = 16; const int NUM_THREADS = 4; int main(void) { long id; omp_set_num_threads(NUM_THREADS); #pragma omp parallel { id = omp_get_thread_num(); #pragma omp master { id += 100; printf("master: id = %ld\r\n", id); } //#pragma omp barrier...
13.121212
38
0.591224
DF4IAH
a65adb063771c6bfc88c0a3bd474e16cb971570e
3,065
cpp
C++
03_elementaryDataStructure/stack/cpp/StackLinkedListMain.cpp
haxpor/algo-cpp-c
5c88523072701765ad126d0a0946e2e76a09f3bb
[ "MIT" ]
1
2019-11-17T09:03:30.000Z
2019-11-17T09:03:30.000Z
03_elementaryDataStructure/stack/cpp/StackLinkedListMain.cpp
haxpor/algocpp-study
5c88523072701765ad126d0a0946e2e76a09f3bb
[ "MIT" ]
null
null
null
03_elementaryDataStructure/stack/cpp/StackLinkedListMain.cpp
haxpor/algocpp-study
5c88523072701765ad126d0a0946e2e76a09f3bb
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include "StackLinkedList.h" /** compile-time logging functions for convenient **/ template<typename Arg> constexpr void LOG(Arg && arg) { std::cout << arg << "\n"; } template<typename Arg1, typename Arg2> constexpr void LOG2(Arg1 && arg1, Arg2 && arg2) { std::cout << ar...
24.133858
79
0.511256
haxpor
a661edb27e91f66dde83c0237b810901875bc92b
16,823
cpp
C++
bbs/diredit.cpp
uriel1998/wwiv
623cca6862540a5dc4ce355d7966766bf5d0fd0d
[ "Apache-2.0" ]
null
null
null
bbs/diredit.cpp
uriel1998/wwiv
623cca6862540a5dc4ce355d7966766bf5d0fd0d
[ "Apache-2.0" ]
null
null
null
bbs/diredit.cpp
uriel1998/wwiv
623cca6862540a5dc4ce355d7966766bf5d0fd0d
[ "Apache-2.0" ]
null
null
null
/**************************************************************************/ /* */ /* WWIV Version 5.x */ /* Copyright (C)1998-2020, WWIV Software Services */ /* ...
30.257194
118
0.479641
uriel1998
a66b46c629e4b99993025f7d654d4477f0eaddf1
1,485
cpp
C++
chp3_oscillation/NOC_3_10_PendulumExample/src/ofApp.cpp
ikbenmacje/NatureOfCode
98692398b0458765a6e77ae6f652392f99de050f
[ "MIT" ]
null
null
null
chp3_oscillation/NOC_3_10_PendulumExample/src/ofApp.cpp
ikbenmacje/NatureOfCode
98692398b0458765a6e77ae6f652392f99de050f
[ "MIT" ]
null
null
null
chp3_oscillation/NOC_3_10_PendulumExample/src/ofApp.cpp
ikbenmacje/NatureOfCode
98692398b0458765a6e77ae6f652392f99de050f
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofSetFrameRate(60); p = new Pendulum(ofVec2f(ofGetWidth()/2,0),175); } //-------------------------------------------------------------- void ofApp::update(){ } //------------------------------------...
22.5
64
0.307071
ikbenmacje
a671545285703c2885d3d08de0ed53d466aa666c
2,203
cpp
C++
SGIPC practice contests/stl sgipc cntst/New folder/New folder/New folder/New folder/Codeforces Round #478 (Div. 2)A.cpp
YaminArafat/Vjudge
d8d2afc4b1a0fbada46d75cb080efc37965dfe9d
[ "Apache-2.0" ]
null
null
null
SGIPC practice contests/stl sgipc cntst/New folder/New folder/New folder/New folder/Codeforces Round #478 (Div. 2)A.cpp
YaminArafat/Vjudge
d8d2afc4b1a0fbada46d75cb080efc37965dfe9d
[ "Apache-2.0" ]
null
null
null
SGIPC practice contests/stl sgipc cntst/New folder/New folder/New folder/New folder/Codeforces Round #478 (Div. 2)A.cpp
YaminArafat/Vjudge
d8d2afc4b1a0fbada46d75cb080efc37965dfe9d
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool flag2[100000]; //map<string,bool>mp2; int main() { int n,ans=0; //cout<<'a'-0<<endl; scanf("%d",&n); string str; //vector<string>vec; map<string,int>mp; for(int i=0; i<n; i++) { cin>>str; sort(str.begin(),str.end()); ...
20.588785
68
0.312301
YaminArafat
a67956139c4a2dad295eea2905a68856f7235af6
1,371
hpp
C++
ext/kintinuous/kfusion/include/kfusion/LVRPipeline.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
38
2019-06-19T15:10:35.000Z
2022-02-16T03:08:24.000Z
ext/kintinuous/kfusion/include/kfusion/LVRPipeline.hpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
9
2019-06-19T16:19:51.000Z
2021-09-17T08:31:25.000Z
ext/kintinuous/kfusion/include/kfusion/LVRPipeline.hpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
13
2019-04-16T11:50:32.000Z
2020-11-26T07:47:44.000Z
#ifndef LVR2_PIPELINE_HPP_ #define LVR2_PIPELINE_HPP_ #include <lvr/reconstruction/FastReconstruction.hpp> #include <lvr/reconstruction/TSDFGrid.hpp> #include <lvr/reconstruction/PointsetSurface.hpp> #include <lvr/reconstruction/FastBox.hpp> #include <lvr/io/PointBuffer.hpp> #include <lvr/io/DataStruct.hpp> #include <...
23.637931
62
0.760759
uos
a679fae8c6775e32ac4f0f9439e1c9b4f12b3847
5,250
cpp
C++
projects/vs2019/mfc/iutest_mfc_sample.cpp
dsyoi/iutest
b7b08c6ac4c75f98f87aa5756244afc93e4b624f
[ "BSD-3-Clause" ]
58
2015-07-20T04:30:18.000Z
2021-12-28T17:18:00.000Z
projects/vs2019/mfc/iutest_mfc_sample.cpp
dsyoi/iutest
b7b08c6ac4c75f98f87aa5756244afc93e4b624f
[ "BSD-3-Clause" ]
467
2015-05-07T10:42:47.000Z
2022-03-26T04:01:00.000Z
projects/vs2019/mfc/iutest_mfc_sample.cpp
dsyoi/iutest
b7b08c6ac4c75f98f87aa5756244afc93e4b624f
[ "BSD-3-Clause" ]
13
2015-10-05T08:30:27.000Z
2021-04-30T18:56:03.000Z
// iutest_mfc_sample.cpp : コンソール アプリケーションのエントリ ポイントを定義します。 // #include "stdafx.h" #include "iutest_mfc_sample.h" #include "iutest.hpp" #include <map> #ifdef _DEBUG #define new DEBUG_NEW #endif // 唯一のアプリケーション オブジェクトです。 CWinApp theApp; using namespace std; int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) { ...
27.202073
103
0.640381
dsyoi
a67fdd8870c208c19c891fc122c70fc83865786b
1,583
cpp
C++
Plugins/Tweaks/ItemChargesCost.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
111
2018-01-16T18:49:19.000Z
2022-03-13T12:33:54.000Z
Plugins/Tweaks/ItemChargesCost.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
636
2018-01-17T10:05:31.000Z
2022-03-28T20:06:03.000Z
Plugins/Tweaks/ItemChargesCost.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
110
2018-01-16T19:05:54.000Z
2022-03-28T03:44:16.000Z
#include "nwnx.hpp" #include "API/CNWItemProperty.hpp" #include "API/CNWRules.hpp" #include "API/CNWSItem.hpp" namespace Tweaks { using namespace NWNXLib; using namespace NWNXLib::API; static int s_ChargesCostBehavior; void ItemChargesCost() __attribute__((constructor)); void ItemChargesCost() { s_ChargesCos...
26.830508
130
0.587492
summonFox
a6804e9c6a6a50f611b51c279b00e6de74ad18ea
1,136
cpp
C++
codes/CodeForces/Round #224/cf394C.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/CodeForces/Round #224/cf394C.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/CodeForces/Round #224/cf394C.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <string.h> const int N = 1e3+10; const int M = 4; const char sign[M][M] = { "00", "01", "10", "11"}; int n, m, c[M], g[N][N]; void init() { char str[M]; memset(g, 0, sizeof(g)); memset(c, 0, sizeof(c)); scanf("%d%d", &n, &m); for (int i = 0; i < n; i++) { for (int j = 0; j < m; j+...
16.705882
59
0.37412
JeraKrs
a68226e4a30b9061509eba4a2e909e98f5380abf
1,920
cpp
C++
src/snail/detail/sdl_impl.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/snail/detail/sdl_impl.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/snail/detail/sdl_impl.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
#ifdef ANDROID #include "sdl.hpp" #endif namespace elona { namespace snail { namespace detail { void enforce_sdl(int result) { if (result != 0) { throw SDLError{::SDL_GetError()}; } } void enforce_ttf(int result) { if (result != 0) { throw SDLError{::TTF_GetError()}; } } ...
12.631579
71
0.610938
XrosFade
a6874da4708fe9f3e9010e7cc5f26a55dc68045e
28,009
cc
C++
test/retic/fddTest.cc
enotnadoske/drunos
79b72078e613c9c5d4e5c37721b726ca3374299b
[ "Apache-2.0" ]
9
2019-04-04T18:03:36.000Z
2019-05-03T23:48:59.000Z
test/retic/fddTest.cc
enotnadoske/drunos
79b72078e613c9c5d4e5c37721b726ca3374299b
[ "Apache-2.0" ]
16
2019-04-04T12:22:19.000Z
2019-04-09T19:04:42.000Z
test/retic/fddTest.cc
enotnadoske/drunos
79b72078e613c9c5d4e5c37721b726ca3374299b
[ "Apache-2.0" ]
2
2019-10-11T14:17:26.000Z
2022-03-15T10:06:08.000Z
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "common.hh" #include "retic/fdd.hh" #include "retic/fdd_compiler.hh" #include "retic/policies.hh" #include "retic/traverse_fdd.hh" #include "oxm/openflow_basic.hh" using namespace runos; using namespace retic; using namespace ::testing; using sec = std::chr...
31.260045
132
0.529009
enotnadoske
a687955d189ad55a59b1bc5a58fa1ecff1fc3a04
9,549
cpp
C++
src/lib/object_store/test/ObjectStoreTests.cpp
gecheim/SoftHSMv2
42fbff713e77afe27d7b466b24cfad9dea69df1f
[ "BSD-2-Clause" ]
486
2015-01-04T05:57:25.000Z
2022-03-30T02:40:52.000Z
src/lib/object_store/test/ObjectStoreTests.cpp
gecheim/SoftHSMv2
42fbff713e77afe27d7b466b24cfad9dea69df1f
[ "BSD-2-Clause" ]
486
2015-01-12T08:51:33.000Z
2022-03-22T09:06:15.000Z
src/lib/object_store/test/ObjectStoreTests.cpp
gecheim/SoftHSMv2
42fbff713e77afe27d7b466b24cfad9dea69df1f
[ "BSD-2-Clause" ]
274
2015-01-21T21:41:45.000Z
2022-03-30T15:05:54.000Z
/* * Copyright (c) 2010 SURFnet bv * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of condition...
34.225806
114
0.749084
gecheim
a68bd737c94e49440b86f9c0a481d1e3b408fdb3
574
hpp
C++
lab3/11_waterconsumer/waterconsumer.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
2
2015-10-08T15:07:07.000Z
2017-09-17T10:08:36.000Z
lab3/11_waterconsumer/waterconsumer.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
null
null
null
lab3/11_waterconsumer/waterconsumer.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
null
null
null
// (C) 2013-2014, Sergei Zaychenko, KNURE, Kharkiv, Ukraine #ifndef _WATERCONSUMER_HPP_ #define _WATERCONSUMER_HPP_ /*****************************************************************************/ class WaterConsumer { /*-----------------------------------------------------------------*/ public: /*----------------...
21.259259
79
0.252613
zaychenko-sergei
a690b73000ae0b25e4d6a8f139f9512f647d9a36
12,398
cpp
C++
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0071.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
17
2015-09-17T06:53:47.000Z
2021-08-09T03:41:21.000Z
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0071.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0071.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
18
2015-12-09T21:27:41.000Z
2020-11-27T11:38:49.000Z
/***************************************************************** | | Neptune - Trust Anchors | | This file is automatically generated by a script, do not edit! | | Copyright (c) 2002-2010, Axiomatic Systems, LLC. | All rights reserved. | | Redistribution and use in source and binary forms, with or without | modif...
42.313993
79
0.769882
Dschee
a69143e9abf587347b57187bda9f3624ecb386f6
2,331
cpp
C++
projects/PathosEngine/src/pathos/wrapper/transform.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
11
2016-08-30T12:01:35.000Z
2021-12-29T15:34:03.000Z
projects/PathosEngine/src/pathos/wrapper/transform.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
9
2016-05-19T03:14:22.000Z
2021-01-17T05:45:52.000Z
projects/PathosEngine/src/pathos/wrapper/transform.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
null
null
null
#include "pathos/wrapper/transform.h" #include <glm/gtc/matrix_transform.hpp> namespace pathos { Transform::Transform() :matrix(glm::mat4(1.0f)) {} Transform::Transform(const glm::mat4& _matrix) { matrix = _matrix; } const glm::mat4& Transform::getMatrix() const { return matrix; } void Transform::identity() { m...
31.5
103
0.681253
codeonwort
a69268faabb732483d24cc1b969714805e8d073b
9,591
cpp
C++
lib/PhasarLLVM/ControlFlow/LLVMBasedCFG.cpp
ddiepo-pjr/phasar
78c93057360f71bcd49bf98e275135c70eb27e90
[ "MIT" ]
null
null
null
lib/PhasarLLVM/ControlFlow/LLVMBasedCFG.cpp
ddiepo-pjr/phasar
78c93057360f71bcd49bf98e275135c70eb27e90
[ "MIT" ]
null
null
null
lib/PhasarLLVM/ControlFlow/LLVMBasedCFG.cpp
ddiepo-pjr/phasar
78c93057360f71bcd49bf98e275135c70eb27e90
[ "MIT" ]
1
2020-11-06T06:19:29.000Z
2020-11-06T06:19:29.000Z
/****************************************************************************** * Copyright (c) 2017 Philipp Schubert. * All rights reserved. This program and the accompanying materials are made * available under the terms of LICENSE.txt. * * Contributors: * Philipp Schubert and others **********************...
30.255521
80
0.620686
ddiepo-pjr
a6972419470e24f0ba08520476ada6e9abb7018f
177
hh
C++
vpp/algorithms/line_tracker_4_sfm/hough_extruder.hh
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
624
2015-01-05T16:40:41.000Z
2022-03-01T03:09:43.000Z
vpp/algorithms/line_tracker_4_sfm/hough_extruder.hh
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
10
2015-01-22T20:50:13.000Z
2018-05-15T10:41:34.000Z
vpp/algorithms/line_tracker_4_sfm/hough_extruder.hh
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
113
2015-01-19T11:58:35.000Z
2022-03-28T05:15:20.000Z
#pragma once #include "hough_extruder/draw_trajectories_hough.hh" #include "symbols.hh" #include "hough_extruder/paint.hh" #include "hough_extruder/feature_matching_hough.hh"
22.125
52
0.819209
WLChopSticks
a6a3bcc076f85e16b9f3ecd155ccd6d9e102980f
1,639
cpp
C++
NNGameFramework/ProjectWugargar/PoorZombie.cpp
quxn6/wugargar
79e71a83e1240052ec4217d5223359ca5f1c3890
[ "MIT" ]
1
2017-02-13T06:09:17.000Z
2017-02-13T06:09:17.000Z
NNGameFramework/ProjectWugargar/PoorZombie.cpp
quxn6/wugargar
79e71a83e1240052ec4217d5223359ca5f1c3890
[ "MIT" ]
null
null
null
NNGameFramework/ProjectWugargar/PoorZombie.cpp
quxn6/wugargar
79e71a83e1240052ec4217d5223359ca5f1c3890
[ "MIT" ]
null
null
null
#include "PoorZombie.h" CPoorZombie::CPoorZombie(void) { initStatus(); } CPoorZombie::~CPoorZombie(void) { } void CPoorZombie::initStatus( void ) { m_zombieType = POOR_ZOMBIE; m_HealthPoint = 40; m_FullHP = m_HealthPoint; m_MovingSpeed = 40.0f; m_AttackPower = 15; m_DefensivePower = 2; m_AttackRange = 30....
26.015873
63
0.775473
quxn6
16f57350fc1bff2228952b0cc63072a9c9488e02
39,862
cpp
C++
src/Storage_base.cpp
yingjerkao/Cytnx
37ac8493fd7a9ace78c32c9281da25c03542c112
[ "Apache-2.0" ]
null
null
null
src/Storage_base.cpp
yingjerkao/Cytnx
37ac8493fd7a9ace78c32c9281da25c03542c112
[ "Apache-2.0" ]
null
null
null
src/Storage_base.cpp
yingjerkao/Cytnx
37ac8493fd7a9ace78c32c9281da25c03542c112
[ "Apache-2.0" ]
null
null
null
#ifdef UNI_OMP #include <omp.h> #endif #include "Storage.hpp" #include "utils/utils_internal_interface.hpp" #include "utils/vec_print.hpp" using namespace std; namespace cytnx{ //Storage Init interface. //============================= boost::intrusive_ptr<Storage_base> SIInit_cd(){ boost:...
43.565027
278
0.6086
yingjerkao
16fafdd8af96e9317de9b4a6cf6798a73b43c408
7,601
cpp
C++
tree.cpp
ramenhut/simple-rdf
ca6f9fb52dfa2fb464a0593ce71972d263dfd92c
[ "BSD-2-Clause" ]
3
2019-08-18T05:44:42.000Z
2019-09-02T06:19:30.000Z
tree.cpp
ramenhut/simple-rdf
ca6f9fb52dfa2fb464a0593ce71972d263dfd92c
[ "BSD-2-Clause" ]
null
null
null
tree.cpp
ramenhut/simple-rdf
ca6f9fb52dfa2fb464a0593ce71972d263dfd92c
[ "BSD-2-Clause" ]
null
null
null
#include "tree.h" #include "numeric.h" namespace base { float32 ComputeInformationGain(const Histogram& parent, const Histogram& left, const Histogram& right) { // Our computations use integer variables but must occur at float precision. float32 parent_total = parent.Get...
34.238739
81
0.641626
ramenhut
e5054599457e0656b4c7ef8ba221feaef6d81690
7,404
cpp
C++
ROS/topico/src/printint.cpp
zal-jlange/TopiCo
d9cf99d4510599c2fc506cbe866cdb8861f360c8
[ "BSD-3-Clause" ]
53
2021-03-16T09:55:42.000Z
2022-02-15T22:10:44.000Z
ROS/topico/src/printint.cpp
zal-jlange/TopiCo
d9cf99d4510599c2fc506cbe866cdb8861f360c8
[ "BSD-3-Clause" ]
14
2021-03-23T17:52:12.000Z
2021-08-17T01:00:32.000Z
ROS/topico/src/printint.cpp
zal-jlange/TopiCo
d9cf99d4510599c2fc506cbe866cdb8861f360c8
[ "BSD-3-Clause" ]
14
2021-04-11T06:12:24.000Z
2022-03-22T12:21:51.000Z
// // Academic License - for use in teaching, academic research, and meeting // course requirements at degree granting institutions only. Not for // government, commercial, or other organizational use. // // printint.cpp // // Code generation for function 'printint' // // Include files #include "printint.h" #include ...
21.905325
80
0.581037
zal-jlange
e507364b38266b298cc052de7af6ff34572656de
528
cpp
C++
Code/Chapter-4/rayaabb.cpp
SampleText2k77/graphics-book
2b6ff89be1c27683744a8b64145d5a6a9de37d5d
[ "MIT" ]
16
2019-07-09T11:49:13.000Z
2022-02-22T03:01:30.000Z
Code/Chapter-4/rayaabb.cpp
SampleText2k77/graphics-book
2b6ff89be1c27683744a8b64145d5a6a9de37d5d
[ "MIT" ]
null
null
null
Code/Chapter-4/rayaabb.cpp
SampleText2k77/graphics-book
2b6ff89be1c27683744a8b64145d5a6a9de37d5d
[ "MIT" ]
5
2019-09-09T17:44:50.000Z
2021-04-29T20:16:51.000Z
#define GLM_FORCE_RADIANS #define GLM_SWIZZLE #include <glm/vec3.hpp> #include <glm/vec4.hpp> #include <glm/gtx/quaternion.hpp> #include <glm/gtc/matrix_inverse.hpp> #include <glm/geometric.hpp> #include "bbox.h" inline glm::vec3 closestPoint ( const glm::vec3& n, const bbox& box ) { return glm::vec3 ( n.x <= 0 ? bo...
31.058824
82
0.617424
SampleText2k77
e508d32acc6e92da93071f9728c4abfaaa042691
325
cpp
C++
Cpp/1189.maximum-number-of-ballons.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/1189.maximum-number-of-ballons.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/1189.maximum-number-of-ballons.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
class Solution { public: int maxNumberOfBalloons(string text) { vector<int> cnts(26, 0); for (char c : text) { cnts[c-'a'] ++; } vector<int> ballon{cnts[0], cnts[1], cnts[11]/2, cnts[14]/2, cnts[13]}; return *min_element(ballon.begin(), ballon.end()); ...
27.083333
79
0.513846
zszyellow
e50da8dce16ecc613a3f2edd07f12ed8d9459177
532
cpp
C++
source/algorithms/gmi.cpp
tasseff/gomory
d18b9aac036d2ef6d8c582a26f68060994590eba
[ "MIT" ]
2
2017-04-27T23:24:32.000Z
2018-09-20T21:19:34.000Z
source/algorithms/gmi.cpp
tasseff/gomory
d18b9aac036d2ef6d8c582a26f68060994590eba
[ "MIT" ]
null
null
null
source/algorithms/gmi.cpp
tasseff/gomory
d18b9aac036d2ef6d8c582a26f68060994590eba
[ "MIT" ]
null
null
null
#include <common/document.h> #include <common/error.h> #include "gomory.h" int main(int argc, char* argv[]) { // Check if a JSON file has been specified. if (argc <= 1) { PrintErrorAndExit("JSON file has not been specified."); } // Read the scenario file. File model_file(argv[1]); // Parse the scenario file ...
20.461538
57
0.676692
tasseff
e5141d2137f8d0fee721a0dec66e794ad3fb72de
3,721
cpp
C++
tests/test_user_defined.cpp
ToruNiina/wad
f5f0445f7f0a53efd31988ce7d381bccb463b951
[ "MIT" ]
null
null
null
tests/test_user_defined.cpp
ToruNiina/wad
f5f0445f7f0a53efd31988ce7d381bccb463b951
[ "MIT" ]
null
null
null
tests/test_user_defined.cpp
ToruNiina/wad
f5f0445f7f0a53efd31988ce7d381bccb463b951
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "wad/integer.hpp" #include "wad/floating.hpp" #include "wad/string.hpp" #include "wad/in_place.hpp" #include "wad/archive.hpp" #include "wad/interface.hpp" #include "utility.hpp" namespace extlib { struct X { std::string s; std::int32_t i; double ...
21.262857
85
0.536684
ToruNiina
e51437479bf53620e86d489a138390efad5c728b
362
cpp
C++
book/Chap3/trythis.cpp
mjakebarrington/CPP-Exercises
9bb01f66ae9861c4d5323738fb478f15ad7e691c
[ "MIT" ]
null
null
null
book/Chap3/trythis.cpp
mjakebarrington/CPP-Exercises
9bb01f66ae9861c4d5323738fb478f15ad7e691c
[ "MIT" ]
null
null
null
book/Chap3/trythis.cpp
mjakebarrington/CPP-Exercises
9bb01f66ae9861c4d5323738fb478f15ad7e691c
[ "MIT" ]
null
null
null
/* * In chapter 3's "Try This" exercise, students are asked to print someones name out in months. */ #include <iostream> using namespace std; int main() { cout << "What is your name and age in years? \n"; string name; double age; cin >> name >> age; age *= 12; cout << "Hello, " << name << ", you are roughly "...
21.294118
95
0.616022
mjakebarrington
e5167bc0f2f4370b07d763432feb78963c1397b6
487
hpp
C++
Chess/connector.hpp
classix-ps/Chess
1165cb3e5aab67de562b029f65c80f5156d6c26b
[ "CC-BY-4.0" ]
null
null
null
Chess/connector.hpp
classix-ps/Chess
1165cb3e5aab67de562b029f65c80f5156d6c26b
[ "CC-BY-4.0" ]
null
null
null
Chess/connector.hpp
classix-ps/Chess
1165cb3e5aab67de562b029f65c80f5156d6c26b
[ "CC-BY-4.0" ]
null
null
null
#pragma once #include <windows.h> #include <stdio.h> #include <iostream> #include <string> class Engine { public: Engine(LPCWSTR); void ConnectToEngine(); std::string getNextMove(std::string); void CloseConnection(); private: LPCWSTR enginePath; STARTUPINFO sti = { 0 }; SECURITY_ATTRIBUTE...
21.173913
48
0.669405
classix-ps
e516cf6690454e4c5011ee2ba91596f67bf58444
1,822
cpp
C++
bruter/bruter/tests/bruter3.cpp
flyyee/riwlan-brute
0c886d48518a7f5258751c6a1dc43c51fa7f7fa1
[ "MIT" ]
null
null
null
bruter/bruter/tests/bruter3.cpp
flyyee/riwlan-brute
0c886d48518a7f5258751c6a1dc43c51fa7f7fa1
[ "MIT" ]
null
null
null
bruter/bruter/tests/bruter3.cpp
flyyee/riwlan-brute
0c886d48518a7f5258751c6a1dc43c51fa7f7fa1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <fstream> #include <algorithm> #include <sstream> #include <iterator> void generate_words(const std::vector<char> &alphabet, size_t &word_length, std::vector<std::string> &results) { std::vector<size_t> index(word_length, 0); for (;;) { ...
25.305556
110
0.513172
flyyee
e51922575b32b9367b11b762324e23a9a87793cc
5,936
cpp
C++
WaveSabreCore/src/Twister.cpp
armak/WaveSabre
e72bf68e3bdd215cf8d310d106839cb234587793
[ "MIT" ]
3
2019-03-01T21:33:54.000Z
2021-09-16T09:40:56.000Z
WaveSabreCore/src/Twister.cpp
djh0ffman/WaveSabre
6a3885134fd9ef1ba31d60e7bb2be41de68f1a3b
[ "MIT" ]
null
null
null
WaveSabreCore/src/Twister.cpp
djh0ffman/WaveSabre
6a3885134fd9ef1ba31d60e7bb2be41de68f1a3b
[ "MIT" ]
1
2021-01-02T13:28:55.000Z
2021-01-02T13:28:55.000Z
#include <WaveSabreCore/Twister.h> #include <WaveSabreCore/Helpers.h> int const lookAhead = 4; namespace WaveSabreCore { Twister::Twister() : Device((int)ParamIndices::NumParams) { type = 0; amount = 0; feedback = 0.0f; spread = Spread::Mono; vibratoFreq = Helpers::ParamToVibratoFreq(0.0f)...
32.26087
118
0.670654
armak
e51931254833e9daae0b21d79018cb7aea95ea64
2,903
cpp
C++
tests/rwops/load/main.cpp
jamesl-github/scc
c1dddf41778eeb2ef2a910372d1eb6a6a8dfa68e
[ "Zlib" ]
8
2018-04-21T07:49:58.000Z
2019-02-21T15:04:28.000Z
tests/rwops/load/main.cpp
jamesl-github/scc
c1dddf41778eeb2ef2a910372d1eb6a6a8dfa68e
[ "Zlib" ]
null
null
null
tests/rwops/load/main.cpp
jamesl-github/scc
c1dddf41778eeb2ef2a910372d1eb6a6a8dfa68e
[ "Zlib" ]
2
2018-04-21T02:25:47.000Z
2018-04-21T15:03:15.000Z
/* SDL C++ Classes Copyright (C) 2017-2018 Mateus Carmo M. de F. Barbosa This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software fo...
23.41129
76
0.689631
jamesl-github
e51aec93c0d6f35d933af1768b3d9eadc13b8639
312
cpp
C++
cpp_solutions/lexf.cpp
lbovard/rosalind
92d0bde3282caf6af512114bdc0133ee3a1d6418
[ "Unlicense" ]
null
null
null
cpp_solutions/lexf.cpp
lbovard/rosalind
92d0bde3282caf6af512114bdc0133ee3a1d6418
[ "Unlicense" ]
null
null
null
cpp_solutions/lexf.cpp
lbovard/rosalind
92d0bde3282caf6af512114bdc0133ee3a1d6418
[ "Unlicense" ]
null
null
null
#include <iostream> #include <algorithm> int main() { std::vector<char> alphabet; int n; std::cout << facts[n] << std::endl; do { for(unsigned int i=0;i<n;++i) { std::cout << nums[i] << " "; } std::cout << std::endl; } while (std::next_permutation(nums,nums+n)); return 0; }
17.333333
47
0.544872
lbovard
e51ece6da259c4785f3f97b091e589df208d648f
1,010
cpp
C++
MainWindow.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
MainWindow.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
MainWindow.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
#include "MainWindow.h" #include <QLocale> #include <QScrollArea> #include <QTabWidget> #include <QPushButton> #include <QStatusBar> #include <QMenuBar> #include <QShowEvent> #include "Beam.h" MainWindow::MainWindow() : QMainWindow() { QScrollArea* scrollArea = new QScrollArea; scrollArea->setHorizontalScrollBarPol...
25.897436
86
0.757426
Evgenii-Evgenevich
e524f5ed1b49b0b7b9ded472ec03bea8b73d32ab
400
cpp
C++
RayTracer/TexturedMaterial.cpp
MatthewSmit/RayTracer
86aff1867a6a6fa3f493a489b4848e75ca7370f0
[ "MIT" ]
2
2018-03-26T21:59:26.000Z
2019-11-14T13:54:44.000Z
RayTracer/TexturedMaterial.cpp
MatthewSmit/RayTracer
86aff1867a6a6fa3f493a489b4848e75ca7370f0
[ "MIT" ]
null
null
null
RayTracer/TexturedMaterial.cpp
MatthewSmit/RayTracer
86aff1867a6a6fa3f493a489b4848e75ca7370f0
[ "MIT" ]
null
null
null
#include "TexturedMaterial.h" #include "Image.h" #include "SceneObject.h" vec4 TexturedMaterial::getColour(const vec4& hitPoint, const SceneObject* object) const { auto textureCoordinates = object->getTextureCoordinates(hitPoint); textureCoordinates /= scaling; textureCoordinates = (textureCoordinates % vec4{ 1.0f...
33.333333
89
0.7575
MatthewSmit
e52571a5af3bf5d17b16c3c5499490c303bf4d33
1,204
cc
C++
p2p/base/proxy_packet_socket_factory.cc
eagle3dstreaming/webrtc
fef9b3652f7744f722785fc1f4cc6b099f4c7aa7
[ "BSD-3-Clause" ]
null
null
null
p2p/base/proxy_packet_socket_factory.cc
eagle3dstreaming/webrtc
fef9b3652f7744f722785fc1f4cc6b099f4c7aa7
[ "BSD-3-Clause" ]
null
null
null
p2p/base/proxy_packet_socket_factory.cc
eagle3dstreaming/webrtc
fef9b3652f7744f722785fc1f4cc6b099f4c7aa7
[ "BSD-3-Clause" ]
null
null
null
#include "p2p/base/proxy_packet_socket_factory.h" namespace rtc { ProxyPacketSocketFactory::ProxyPacketSocketFactory() : BasicPacketSocketFactory() {} ProxyPacketSocketFactory::ProxyPacketSocketFactory(Thread* thread) : BasicPacketSocketFactory(thread) {} ProxyPacketSocketFactory::ProxyPacketSocketFactory( ...
34.4
81
0.656146
eagle3dstreaming
e52bf446ef1233cb4737b10c7b4bff5bf6cb606a
2,330
hpp
C++
src/backend/MoveList.hpp
Witek902/Caissa
07bb81e7cae23ea18bb44870d1c1eaa038ab0355
[ "MIT" ]
3
2022-01-11T22:37:06.000Z
2022-01-18T17:40:48.000Z
src/backend/MoveList.hpp
Witek902/Caissa
07bb81e7cae23ea18bb44870d1c1eaa038ab0355
[ "MIT" ]
1
2021-11-12T00:38:30.000Z
2021-11-12T00:38:30.000Z
src/backend/MoveList.hpp
Witek902/Caissa
07bb81e7cae23ea18bb44870d1c1eaa038ab0355
[ "MIT" ]
null
null
null
#pragma once #include "Move.hpp" class MoveList { friend class Position; friend class Search; friend class MoveOrderer; public: struct MoveEntry { Move move; int32_t score; }; static constexpr uint32_t MaxMoves = 255; uint32_t Size() const { return numMoves; } c...
21.376147
106
0.535193
Witek902
e530686d7270d6309e2924632daac74183c88c65
982
hpp
C++
src/view/facing_dir.hpp
TiWinDeTea/NinjaClown
fdd48e62466f11036fa0360fad2bcb182d6d3352
[ "MIT" ]
2
2020-04-10T14:39:00.000Z
2021-02-11T15:52:16.000Z
src/view/facing_dir.hpp
TiWinDeTea/NinjaClown
fdd48e62466f11036fa0360fad2bcb182d6d3352
[ "MIT" ]
2
2019-12-17T08:50:20.000Z
2020-02-03T09:37:56.000Z
src/view/facing_dir.hpp
TiWinDeTea/NinjaClown
fdd48e62466f11036fa0360fad2bcb182d6d3352
[ "MIT" ]
1
2020-08-19T03:06:52.000Z
2020-08-19T03:06:52.000Z
#ifndef NINJACLOWN_VIEW_FACING_DIR_HPP #define NINJACLOWN_VIEW_FACING_DIR_HPP #include <array> #include <optional> #include <string_view> #include "utils/utils.hpp" namespace view::facing_direction { enum type : unsigned int { N, S, E, W, NE, NW, SE, SW, MAX_VAL }; constexpr std::array values = {N, S, E, W, NE, NW...
26.540541
105
0.709776
TiWinDeTea
e531843510969f3066e08d658b6e9b0b21f32499
8,891
cpp
C++
iterators/program.cpp
MatthewCalligaro/CS70Textbook
c7fb8e2163a0da562972aea37e35f2b5825a9b80
[ "MIT" ]
8
2020-01-24T20:50:59.000Z
2021-08-01T17:57:37.000Z
iterators/program.cpp
cs70-grutoring/CS70Textbook
c7fb8e2163a0da562972aea37e35f2b5825a9b80
[ "MIT" ]
null
null
null
iterators/program.cpp
cs70-grutoring/CS70Textbook
c7fb8e2163a0da562972aea37e35f2b5825a9b80
[ "MIT" ]
1
2020-04-04T17:15:19.000Z
2020-04-04T17:15:19.000Z
/** * \file program.cpp * \copyright Matthew Calligaro * \date January 2020 * \brief A command line program demonstrating the use of iterators */ #include <cassert> #include <iostream> #include <list> #include <string> int main() { std::list<std::string> list = {"alpha", "bravo", "charlie", "delta", "echo"}; ...
35.706827
80
0.59982
MatthewCalligaro
e53387adb403d6c6c407a75760b8962b81ac3df6
13,764
cpp
C++
samples/snippets/cpp/VS_Snippets_Wpf/System.Windows.Interop.D3DImage/cpp/renderermanager.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
3,294
2016-10-30T05:27:20.000Z
2022-03-31T15:59:30.000Z
samples/snippets/cpp/VS_Snippets_Wpf/System.Windows.Interop.D3DImage/cpp/renderermanager.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
16,739
2016-10-28T19:41:29.000Z
2022-03-31T22:38:48.000Z
samples/snippets/cpp/VS_Snippets_Wpf/System.Windows.Interop.D3DImage/cpp/renderermanager.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
6,701
2016-10-29T20:56:11.000Z
2022-03-31T12:32:26.000Z
// <snippetRendererManagerCPP> //+----------------------------------------------------------------------------- // // CRendererManager // // Manages the list of CRenderers. Managed code pinvokes into this class // and this class forwards to the appropriate CRenderer. // //-----------------------------------...
26.571429
118
0.483944
BaruaSourav
e5409732acd3c4b8aeace4d355997d0ce71657a6
2,115
cpp
C++
linear_structures/string/1236_web-crawler.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
linear_structures/string/1236_web-crawler.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
linear_structures/string/1236_web-crawler.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
// Author: b1tank // Email: b1tank@outlook.com //================================= /* 1236_web-crawler LeetCode Solution: - s.substr(0, s.find('/', 7)) */ #include <iostream> #include <sstream> // stringstream, istringstream, ostringstream #include <string> // to_string(), stoi() #include <cctype>...
31.567164
125
0.585343
b1tank
e5418770bc36e7c4c9b6d8dadd22b410d35e7e0f
29,091
cpp
C++
LJ_Argon_MD2.cpp
dc1394/LJ_Argon_MD2
d010df2563541008eb0bf76a382537038ded3e6f
[ "BSD-2-Clause" ]
null
null
null
LJ_Argon_MD2.cpp
dc1394/LJ_Argon_MD2
d010df2563541008eb0bf76a382537038ded3e6f
[ "BSD-2-Clause" ]
null
null
null
LJ_Argon_MD2.cpp
dc1394/LJ_Argon_MD2
d010df2563541008eb0bf76a382537038ded3e6f
[ "BSD-2-Clause" ]
1
2018-08-05T21:18:09.000Z
2018-08-05T21:18:09.000Z
/*! \file LJ_Argon_MD.cpp \brief 分子動力学シミュレーションを描画する Copyright © 2015 @dc1394 All Rights Reserved. This software is released under the BSD 2-Clause License. */ #include "DXUT.h" #include "SDKmisc.h" #include "DXUTcamera.h" #include "DXUTgui.h" #include "DXUTsettingsDlg.h" #include "DXUTShapes.h" #include...
32.323333
165
0.594411
dc1394
e54280b14e701389df64bcf55a6e4b43a2d1b1ac
1,432
hpp
C++
module_04/ex03/MateriaSource.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
4
2021-12-14T18:02:53.000Z
2022-03-24T01:12:38.000Z
module_04/ex03/MateriaSource.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
null
null
null
module_04/ex03/MateriaSource.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
3
2021-11-01T00:34:50.000Z
2022-01-29T19:57:30.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* MateriaSource.hpp :+: :+: :+: ...
35.8
80
0.363827
paulahemsi
e54362429cb0f41b3fcd49c00c8008e615077cac
2,355
cpp
C++
src/QtComponents/Configurators/CtrlPadRectF.cpp
Vladimir-Lin/QtComponents
e7f0a6abcf0504cc9144dcf59f3f14a52d08092c
[ "MIT" ]
null
null
null
src/QtComponents/Configurators/CtrlPadRectF.cpp
Vladimir-Lin/QtComponents
e7f0a6abcf0504cc9144dcf59f3f14a52d08092c
[ "MIT" ]
null
null
null
src/QtComponents/Configurators/CtrlPadRectF.cpp
Vladimir-Lin/QtComponents
e7f0a6abcf0504cc9144dcf59f3f14a52d08092c
[ "MIT" ]
null
null
null
#include <qtcomponents.h> #include "ui_CtrlPadRectF.h" N::CtrlPadRectF:: CtrlPadRectF ( QWidget * parent , Plan * p ) : Widget ( parent , p ) , ui ( new Ui::CtrlPadRectF ) , rect ( NULL ) ...
25.322581
62
0.449682
Vladimir-Lin
e5491219797554063211f8295cafc70f5da501b2
2,503
cpp
C++
include/obnsim_basic.cpp
sduerr85/OpenBuildNet
126feb4d17558e7bfe1e2e6f081bbfbf1514496f
[ "MIT" ]
null
null
null
include/obnsim_basic.cpp
sduerr85/OpenBuildNet
126feb4d17558e7bfe1e2e6f081bbfbf1514496f
[ "MIT" ]
null
null
null
include/obnsim_basic.cpp
sduerr85/OpenBuildNet
126feb4d17558e7bfe1e2e6f081bbfbf1514496f
[ "MIT" ]
null
null
null
/* -*- mode: C++; indent-tabs-mode: nil; -*- */ /** \file * \brief Basic definitions. * * This file is part of the openBuildNet simulation framework * (OBN-Sim) developed at EPFL. * * \author Truong X. Nghiem (xuan.nghiem@epfl.ch) */ #include <cassert> #include <obnsim_basic.h> #include <cctype> // Name of the...
28.443182
122
0.603676
sduerr85
e54aa0a914225501eaa3d5c768628a6730d5babf
1,374
cpp
C++
tools.cpp
PapaSinku/SinkuEngine
2202162d12a52df8438d7cb8c5ffc37847fd87c4
[ "MIT" ]
null
null
null
tools.cpp
PapaSinku/SinkuEngine
2202162d12a52df8438d7cb8c5ffc37847fd87c4
[ "MIT" ]
null
null
null
tools.cpp
PapaSinku/SinkuEngine
2202162d12a52df8438d7cb8c5ffc37847fd87c4
[ "MIT" ]
null
null
null
#include "tools.hpp" using namespace std; void sdl_error(string error_message) { cout << error_message << endl << "SDL_Error: " << SDL_GetError() << endl; } void sdl_image_error(std::string error_message) { cout << error_message << endl << "SDL_Error: " << IMG_GetError() << endl; } SDL_Surface* imageSurface...
26.941176
86
0.694323
PapaSinku
e558a98dae94c13e4419d76686d76602c313ba65
2,220
hpp
C++
third_party/boost/sandbox/boost/logging/detail/tss/tss_ensure_proper_delete.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
third_party/boost/sandbox/boost/logging/detail/tss/tss_ensure_proper_delete.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
third_party/boost/sandbox/boost/logging/detail/tss/tss_ensure_proper_delete.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
// tss_ensure_proper_delete.hpp // Boost Logging library // // Author: John Torjo, www.torjo.com // // Copyright (C) 2007 John Torjo (see www.torjo.com for email) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.bo...
24.395604
81
0.653604
gbucknell
e55e95f3f44d6adfe3cc7adb5b1f81e818affae0
306
hpp
C++
tests/chrono/chrono_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
11
2021-03-15T07:06:21.000Z
2021-09-27T13:54:25.000Z
tests/chrono/chrono_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
null
null
null
tests/chrono/chrono_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
1
2021-06-24T10:46:46.000Z
2021-06-24T10:46:46.000Z
#pragma once //------------------------------------------------------------------------------ namespace chrono_tests { //------------------------------------------------------------------------------ void run_full(); //------------------------------------------------------------------------------ }
21.857143
80
0.140523
olegpublicprofile
e56119450b708afa3994d4c459b6626cf86cb226
6,154
cpp
C++
WinAPI/L13/L13.cpp
virtualmode/Archive
04c41b29edd9b6df1c13ab2318b7c138e59dd81d
[ "MIT" ]
null
null
null
WinAPI/L13/L13.cpp
virtualmode/Archive
04c41b29edd9b6df1c13ab2318b7c138e59dd81d
[ "MIT" ]
null
null
null
WinAPI/L13/L13.cpp
virtualmode/Archive
04c41b29edd9b6df1c13ab2318b7c138e59dd81d
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <process.h> #include <windows.h> #define TEXT_SIZE 128 struct Thread { HANDLE hThread; unsigned Id; }; int k, n, p; // n - номер потока, p - приоритет. HDC hDC; // Указатель на контекст для рисования. HWND hWndControl[4]; Thread Threads[2]; HINSTAN...
31.721649
183
0.668996
virtualmode
e56470106e642884890ee85c08b837144a8feafb
7,624
hpp
C++
library/ATF/CD3DApplicationInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/CD3DApplicationInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/CD3DApplicationInfo.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 <CD3DApplication.hpp> START_ATF_NAMESPACE namespace Info { using CD3DApplicationAdjustWindowForChange1_ptr = int32_t (WINAPIV*)(struct CD3DAppl...
103.027027
219
0.797613
lemkova
e564c3e71bca048d54edb8b13dcfcd96bf76d6ea
3,315
hpp
C++
include/Mahi/Robo/Mechatronics/AtiSensor.hpp
mahilab/mahi-robo
8df76b7d0174feb3569182cbd65b0305d2a57a22
[ "MIT" ]
1
2020-05-07T13:40:28.000Z
2020-05-07T13:40:28.000Z
include/Mahi/Robo/Mechatronics/AtiSensor.hpp
mahilab/mahi-robo
8df76b7d0174feb3569182cbd65b0305d2a57a22
[ "MIT" ]
null
null
null
include/Mahi/Robo/Mechatronics/AtiSensor.hpp
mahilab/mahi-robo
8df76b7d0174feb3569182cbd65b0305d2a57a22
[ "MIT" ]
1
2020-12-21T09:44:36.000Z
2020-12-21T09:44:36.000Z
// MIT License // // Copyright (c) 2020 Mechatronics and Haptic Interfaces Lab - Rice University // // 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 l...
41.4375
97
0.694419
mahilab
e567fe799a756faf5de1745546fc7f344992a2c7
10,116
cc
C++
thirdparty/aria2/src/DefaultBtMessageDispatcher.cc
deltegic/deltegic
9b4f3a505a6842db52efbe850150afbab3af5e2f
[ "BSD-3-Clause" ]
null
null
null
thirdparty/aria2/src/DefaultBtMessageDispatcher.cc
deltegic/deltegic
9b4f3a505a6842db52efbe850150afbab3af5e2f
[ "BSD-3-Clause" ]
2
2021-04-08T08:46:23.000Z
2021-04-08T08:57:58.000Z
thirdparty/aria2/src/DefaultBtMessageDispatcher.cc
deltegic/deltegic
9b4f3a505a6842db52efbe850150afbab3af5e2f
[ "BSD-3-Clause" ]
null
null
null
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
31.6125
80
0.666568
deltegic
e56b185395191bc7c313969043e419e2ad1b893d
4,119
cpp
C++
src/tests/functional/plugin/gpu/concurrency/gpu_concurrency_tests.cpp
ivkalgin/openvino
81685c8d212135dd9980da86a18db41fbf6d250a
[ "Apache-2.0" ]
null
null
null
src/tests/functional/plugin/gpu/concurrency/gpu_concurrency_tests.cpp
ivkalgin/openvino
81685c8d212135dd9980da86a18db41fbf6d250a
[ "Apache-2.0" ]
18
2022-01-21T08:42:58.000Z
2022-03-28T13:21:31.000Z
src/tests/functional/plugin/gpu/concurrency/gpu_concurrency_tests.cpp
ematroso/openvino
403339f8f470c90dee6f6d94ed58644b2787f66b
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include <utility> #include <vector> #include <memory> #include "openvino/runtime/core.hpp" #include <gpu/gpu_config.hpp> #include <common_test_utils/test_common.hpp> #include <functional_test_utils/plugin_cache....
37.108108
130
0.636562
ivkalgin
e57059c1223fa766359d5c15c87c1a0537d43e5f
6,367
cpp
C++
src/gamebase/src/impl/ui/ScrollBar.cpp
TheMrButcher/opengl_lessons
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
1
2016-10-25T21:15:16.000Z
2016-10-25T21:15:16.000Z
src/gamebase/src/impl/ui/ScrollBar.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
375
2016-06-04T11:27:40.000Z
2019-04-14T17:11:09.000Z
src/gamebase/src/impl/ui/ScrollBar.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
null
null
null
/** * Copyright (c) 2018 Slavnejshev Filipp * This file is licensed under the terms of the MIT license. */ #include <stdafx.h> #include <gamebase/impl/ui/ScrollBar.h> #include <gamebase/impl/geom/PointGeometry.h> #include <gamebase/impl/geom/RectGeometry.h> #include <gamebase/impl/serial/ISerializer.h> #include <ga...
31.058537
98
0.639705
TheMrButcher
e5706f801da9659f49e9f9825e89e2ebdcb06b31
8,942
cpp
C++
src/autowiring/test/AutoPacketFactoryTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
src/autowiring/test/AutoPacketFactoryTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
src/autowiring/test/AutoPacketFactoryTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include <autowiring/CoreThread.h> #include CHRONO_HEADER #include THREAD_HEADER class AutoPacketFactoryTest: public testing::Test {}; TEST_F(AutoPacketFactoryTest, VerifyNoIssueWhileNotStarted) { AutoRequired<AutoPacketFactory>...
35.066667
154
0.733057
CaseyCarter
e5763e9b19aa0e988bd1b926a2cab8712d67d804
773
cpp
C++
NonLinearSimultaneousEquationsTest.cpp
Hiroshi-Nakamura/NonLinearSimultaneousEquations
a5afac2f151a3ff83b75ba46bb1d3317038d271d
[ "MIT" ]
null
null
null
NonLinearSimultaneousEquationsTest.cpp
Hiroshi-Nakamura/NonLinearSimultaneousEquations
a5afac2f151a3ff83b75ba46bb1d3317038d271d
[ "MIT" ]
null
null
null
NonLinearSimultaneousEquationsTest.cpp
Hiroshi-Nakamura/NonLinearSimultaneousEquations
a5afac2f151a3ff83b75ba46bb1d3317038d271d
[ "MIT" ]
null
null
null
#include "NonLinearSimultaneousEquations.hpp" #include <iostream> int main(int argc, char** argv){ /// prepair initial x Eigen::VectorXd x_val(2); x_val << 0.0, 0.5; /// solve NonLinearSimultaneousEquations::solve( { [](const std::vector<AutomaticDifferentiation::FuncPtr<doubl...
28.62963
112
0.518758
Hiroshi-Nakamura
ec77219258d453a0236d273a3cfdf01a71641a5c
23,036
hpp
C++
third_party/kangaru/container.hpp
kirillPshenychnyi/kangaru_di_sample
5e79860852d167b4b63185263edfb62c628741cc
[ "MIT" ]
2
2019-07-12T09:08:46.000Z
2020-09-01T13:12:45.000Z
third_party/kangaru/container.hpp
kirillPshenychnyi/kangaru_di_sample
5e79860852d167b4b63185263edfb62c628741cc
[ "MIT" ]
null
null
null
third_party/kangaru/container.hpp
kirillPshenychnyi/kangaru_di_sample
5e79860852d167b4b63185263edfb62c628741cc
[ "MIT" ]
null
null
null
#ifndef KGR_KANGARU_INCLUDE_KANGARU_CONTAINER_HPP #define KGR_KANGARU_INCLUDE_KANGARU_CONTAINER_HPP #include "detail/default_source.hpp" #include "detail/traits.hpp" #include "detail/validity_check.hpp" #include "detail/utils.hpp" #include "detail/override_range_service.hpp" #include "detail/container_service.hpp" #in...
38.076033
130
0.704332
kirillPshenychnyi
ec79d74f4860d465c34f6f3276879ca28a6062e7
1,791
cc
C++
horace/terminate_flag.cc
gdshaw/libholmes-horace
6a7d8365f01e165853fc967ce8eae45b82102fdf
[ "BSD-3-Clause" ]
null
null
null
horace/terminate_flag.cc
gdshaw/libholmes-horace
6a7d8365f01e165853fc967ce8eae45b82102fdf
[ "BSD-3-Clause" ]
null
null
null
horace/terminate_flag.cc
gdshaw/libholmes-horace
6a7d8365f01e165853fc967ce8eae45b82102fdf
[ "BSD-3-Clause" ]
null
null
null
// This file is part of libholmes. // Copyright 2019 Graham Shaw // Redistribution and modification are permitted within the terms of the // BSD-3-Clause licence as defined by v3.4 of the SPDX Licence List. #include <unistd.h> #include <fcntl.h> #include <poll.h> #include "horace/libc_error.h" #include "horace/termin...
20.352273
72
0.650475
gdshaw
ec8708c1cf6f3e2c019d92a9f0d1045135cdc18a
1,028
cpp
C++
core/src/ResourceManagement/Loaders/TextureLoader.cpp
tokongs/yage
14c9411d8efce08b89c0deb134b5c3023a32c577
[ "MIT" ]
null
null
null
core/src/ResourceManagement/Loaders/TextureLoader.cpp
tokongs/yage
14c9411d8efce08b89c0deb134b5c3023a32c577
[ "MIT" ]
null
null
null
core/src/ResourceManagement/Loaders/TextureLoader.cpp
tokongs/yage
14c9411d8efce08b89c0deb134b5c3023a32c577
[ "MIT" ]
null
null
null
#include "TextureLoader.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image/stb_image.h" namespace yage { TextureLoader::TextureLoader() { } TextureLoader::~TextureLoader() { } Resource *TextureLoader::load(std::string file_path) { std::string fileContent = mFileReader.readAsString(fi...
30.235294
88
0.639105
tokongs
ec8cc8a89b0290455cf69cc837753cd28cfc6fb7
3,152
hxx
C++
src/interfaces/common/caller/ad3_caller.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
318
2015-01-07T15:22:02.000Z
2022-01-22T10:10:29.000Z
src/interfaces/common/caller/ad3_caller.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
89
2015-03-24T14:33:01.000Z
2020-07-10T13:59:13.000Z
src/interfaces/common/caller/ad3_caller.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
119
2015-01-13T08:35:03.000Z
2022-03-01T01:49:08.000Z
#ifndef AD3_CALLER_HXX_ #define AD3_CALLER_HXX_ #include <opengm/opengm.hxx> #include <opengm/inference/external/ad3.hxx> #include "inference_caller_base.hxx" #include "../argument/argument.hxx" namespace opengm { namespace interface { template <class IO, class GM, class ACC> class Ad3Caller : public InferenceCal...
32.494845
145
0.722716
burcin
ec8ed91b4d4f555be82915746445d8ac0ad529af
1,566
cpp
C++
Source/Motor2D/Dissolve.cpp
Needlesslord/PaintWars_by_BrainDeadStudios
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
2
2020-03-06T11:32:40.000Z
2020-03-20T12:17:30.000Z
Source/Motor2D/Dissolve.cpp
Needlesslord/Heathen_Games
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
2
2020-03-03T09:56:57.000Z
2020-05-02T15:50:45.000Z
Source/Motor2D/Dissolve.cpp
Needlesslord/Heathen_Games
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
1
2020-03-17T18:50:53.000Z
2020-03-17T18:50:53.000Z
#include "Dissolve.h" #include "TransitionManager.h" Dissolve::Dissolve(SCENES next_scene, float step_duration) : Transition(next_scene, step_duration) , dissolving_alpha(0.0f) , condensing_alpha(0.0f) { InitDissolve(); } Dissolve::~Dissolve() { } void Dissolve::StepTransition() { switch (step) { case TRANSITI...
18.209302
98
0.736909
Needlesslord
ec8f41342830a6f2056500c0819252c425271da8
5,552
cpp
C++
qtlua/packages/qttorch/qttorch.cpp
elq/torch5
5965bd6410f8ca7e87c6bc9531aaf46e10ed281e
[ "BSD-3-Clause" ]
1
2016-05-09T05:34:15.000Z
2016-05-09T05:34:15.000Z
qtlua/packages/qttorch/qttorch.cpp
elq/torch5
5965bd6410f8ca7e87c6bc9531aaf46e10ed281e
[ "BSD-3-Clause" ]
null
null
null
qtlua/packages/qttorch/qttorch.cpp
elq/torch5
5965bd6410f8ca7e87c6bc9531aaf46e10ed281e
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- #include "qttorch.h" #include <QColor> #include <QDebug> #include <QImage> #include <QMetaType> #include "TH.h" #include "luaT.h" static const void* torch_Tensor_id; static int qttorch_qimage_fromtensor(lua_State *L) { THTensor *Tsrc = (THTensor*)luaT_checkudata(L,1,torch_Tensor_id); long depth...
26.821256
75
0.494597
elq
ec93d1181751399f8eb18c3ca34f9c2d13088cf5
2,112
hpp
C++
MyLib/ipcresponse.hpp
NuLL3rr0r/e-pooyasokhan-com-lcms
cf4b8cd0118a10bbecc4a1bb29c443385fa21e12
[ "MIT", "Unlicense" ]
null
null
null
MyLib/ipcresponse.hpp
NuLL3rr0r/e-pooyasokhan-com-lcms
cf4b8cd0118a10bbecc4a1bb29c443385fa21e12
[ "MIT", "Unlicense" ]
null
null
null
MyLib/ipcresponse.hpp
NuLL3rr0r/e-pooyasokhan-com-lcms
cf4b8cd0118a10bbecc4a1bb29c443385fa21e12
[ "MIT", "Unlicense" ]
null
null
null
#ifndef IPCRESPONSE_HPP #define IPCRESPONSE_HPP #include <functional> #include <string> #include <unordered_map> #include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/ptree.hpp> #include "compression.hpp" #include "ipcprotocol.hpp" namespace MyLib { template<typename _ResponseStatusT, type...
30.608696
99
0.721117
NuLL3rr0r
ec9477e9408b79385b9b0df57aa2725c7c625653
589
hpp
C++
include/RED4ext/Scripting/Natives/Generated/audio/VoiceTriggerLimits.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/audio/VoiceTriggerLimits.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/audio/VoiceTriggerLimits.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> namespace RED4ext { namespace audio { struct VoiceTriggerLimits { static constexpr const char* NAME = "audioVoiceTriggerLimits"; static constexpr const char* ALIAS = NAME; float proba...
23.56
66
0.740238
jackhumbert
ec954d788768ad94ba2fd415232e4343a949df57
788
cpp
C++
src/Item.cpp
Miguel-EpicJS/state-rpg-tutorial
c909fe7ffee2cad4d3aac88afef9c5dc21b965ce
[ "MIT" ]
null
null
null
src/Item.cpp
Miguel-EpicJS/state-rpg-tutorial
c909fe7ffee2cad4d3aac88afef9c5dc21b965ce
[ "MIT" ]
null
null
null
src/Item.cpp
Miguel-EpicJS/state-rpg-tutorial
c909fe7ffee2cad4d3aac88afef9c5dc21b965ce
[ "MIT" ]
null
null
null
#include "../includes/Item.h" void Item::generate() { } Item::Item(std::string name, unsigned type, unsigned rarity, unsigned value) { this->name = name; this->type = type; this->rarity = rarity; this->value = value; } Item::~Item() { } const std::string& Item::getName() { return this->na...
16.081633
76
0.549492
Miguel-EpicJS
ec9cedbad08ac278a4bf7ba84485bfcbb276b951
1,879
cpp
C++
hiro/cocoa/widget/frame.cpp
kirwinia/ares-emu-v121
722aa227caf943a4a64f1678c1bdd07b38b15caa
[ "0BSD" ]
2
2021-06-28T06:04:56.000Z
2021-06-28T11:30:20.000Z
cocoa/widget/frame.cpp
ProtoByter/hiro
89972942430f5cc9c931afdc115a0db253fa339a
[ "0BSD" ]
1
2022-02-16T02:46:39.000Z
2022-02-16T04:30:29.000Z
cocoa/widget/frame.cpp
ProtoByter/hiro
89972942430f5cc9c931afdc115a0db253fa339a
[ "0BSD" ]
1
2021-12-25T11:34:57.000Z
2021-12-25T11:34:57.000Z
#if defined(Hiro_Frame) @implementation CocoaFrame : NSBox -(id) initWith:(hiro::mFrame&)frameReference { if(self = [super initWithFrame:NSMakeRect(0, 0, 0, 0)]) { frame = &frameReference; [self setTitle:@""]; } return self; } @end namespace hiro { auto pFrame::construct() -> void { @autoreleasepo...
23.197531
79
0.645556
kirwinia
ec9e388ab9231c80f35ad42808eee70f32e3ab75
919
cpp
C++
src/renderer/shaders/shaders.cpp
fantasiorona/LRender
5fb6f29c323df53986e39b4350ee8494e4642452
[ "MIT" ]
5
2019-11-22T05:31:33.000Z
2021-11-18T19:15:21.000Z
src/renderer/shaders/shaders.cpp
fantasiorona/LRender
5fb6f29c323df53986e39b4350ee8494e4642452
[ "MIT" ]
7
2019-02-21T11:26:38.000Z
2019-03-29T10:28:58.000Z
src/renderer/shaders/shaders.cpp
fantasiorona/LRender
5fb6f29c323df53986e39b4350ee8494e4642452
[ "MIT" ]
1
2021-04-22T17:03:04.000Z
2021-04-22T17:03:04.000Z
#include "shaders.h" using namespace LRender; Shaders::Shaders() : branches( "LRender/glsl/vertexGeometry.glsl", "LRender/glsl/fragmentGeometry.glsl"), leaves( "LRender/glsl/vertexGeometry.glsl", "LRender/glsl/fragmentLeaf.glsl"), shadows( "LRender/glsl/vertexShadows.glsl", "LRender/glsl/fragmentShadow...
18.755102
66
0.747552
fantasiorona
ecad377c4bb33c02980b43d57dfb348c63412371
1,949
cpp
C++
algorithms/cpp/Problems 901-1000/_934_ShortestBridge.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 901-1000/_934_ShortestBridge.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 901-1000/_934_ShortestBridge.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
/* Source - https://leetcode.com/problems/shortest-bridge/ Author - Shivam Arora */ #include <bits/stdc++.h> using namespace std; struct Element { int x, y, d; Element(int a = -1, int b = -1, int c = -1) { x = a; y = b; d = c; } }; int xDir[4] = {1, 0, -1, 0}; int yDir[4] =...
22.402299
102
0.394048
shivamacs
ecb43180b299e99d49622cf7f5b54071e6629eea
1,778
cpp
C++
src/samt.cpp
danieldeutsch/thrax2
68c60bab9f12788e16750b15eba6be5ac9e7df36
[ "MIT" ]
null
null
null
src/samt.cpp
danieldeutsch/thrax2
68c60bab9f12788e16750b15eba6be5ac9e7df36
[ "MIT" ]
null
null
null
src/samt.cpp
danieldeutsch/thrax2
68c60bab9f12788e16750b15eba6be5ac9e7df36
[ "MIT" ]
null
null
null
#include <future> #include <iostream> #include <memory> #include <mutex> #include <sstream> #include <vector> #include "filters.h" #include "label.h" #include "phrasalrule.h" #include "sentence.h" #include "tree.h" namespace { int count = 0; std::mutex countLock, inputLock, outputLock; bool valid(const jhu::thrax::...
22.506329
76
0.584364
danieldeutsch
ecb83560d96c0efc06a2b37a053f835fe101b67b
4,356
cc
C++
modules/control/tools/control_tester.cc
Shokoofeh/apollo
71d6ea753b4595eb38cc54d6650c8de677b173df
[ "Apache-2.0" ]
7
2017-07-07T07:56:13.000Z
2019-03-06T06:27:00.000Z
modules/control/tools/control_tester.cc
Shokoofeh/apollo
71d6ea753b4595eb38cc54d6650c8de677b173df
[ "Apache-2.0" ]
null
null
null
modules/control/tools/control_tester.cc
Shokoofeh/apollo
71d6ea753b4595eb38cc54d6650c8de677b173df
[ "Apache-2.0" ]
2
2017-07-07T07:56:15.000Z
2018-08-10T17:13:34.000Z
/****************************************************************************** * Copyright 2017 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 ...
39.243243
80
0.682277
Shokoofeh
ecb8702fc4f218e0507758661ae4eb67c37f8ca8
2,141
cpp
C++
modules/task_1/chuvashov_a_frequency_symbol/frequency_symbol.cpp
ImKonstant/pp_2020_autumn_engineer
c8ac69681201b63f5cf8b6c6cd790f48f037532a
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/chuvashov_a_frequency_symbol/frequency_symbol.cpp
ImKonstant/pp_2020_autumn_engineer
c8ac69681201b63f5cf8b6c6cd790f48f037532a
[ "BSD-3-Clause" ]
2
2020-11-14T18:00:55.000Z
2020-11-19T16:12:50.000Z
modules/task_1/chuvashov_a_frequency_symbol/frequency_symbol.cpp
ImKonstant/pp_2020_autumn_engineer
c8ac69681201b63f5cf8b6c6cd790f48f037532a
[ "BSD-3-Clause" ]
1
2020-10-10T09:54:14.000Z
2020-10-10T09:54:14.000Z
// Copyright 2020 Chuvashov Artem #include <mpi.h> #include <ctime> #include <random> #include <string> #include "../../../modules/task_1/chuvashov_a_frequency_symbol/frequency_symbol.h" std::string getString(int size) { std::mt19937 gen; gen.seed(static_cast<unsigned int>(time(0))); std::string str_res; ...
30.15493
87
0.6156
ImKonstant
ecb9d9a556ffb3fd54b3cce5077b37052fd85bec
747
cpp
C++
Data Structures/Binary Tree/C++/Deletion of a node in a BST.cpp
sanchit2812/Data-Structures-Algorithms-Hacktoberfest-2K19
88bc29e924d6d15993db742ccaede4752c0083e8
[ "MIT" ]
null
null
null
Data Structures/Binary Tree/C++/Deletion of a node in a BST.cpp
sanchit2812/Data-Structures-Algorithms-Hacktoberfest-2K19
88bc29e924d6d15993db742ccaede4752c0083e8
[ "MIT" ]
null
null
null
Data Structures/Binary Tree/C++/Deletion of a node in a BST.cpp
sanchit2812/Data-Structures-Algorithms-Hacktoberfest-2K19
88bc29e924d6d15993db742ccaede4752c0083e8
[ "MIT" ]
null
null
null
node* del(node* root, int data){ if(root == NULL) return NULL; if(data > root->data) root->right = del(root->right, data); else if(data<root->data) root->left = del(root->left,data); else{ if (root->left == NULL){ node* temp =root->right; free(root); r...
27.666667
64
0.497992
sanchit2812