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
aa9ccf96cd9a53939bba1cd4e5e5c7e3d4490733
2,977
hpp
C++
libs/core/render/include/bksge/core/render/inl/texture_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/inl/texture_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/inl/texture_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file texture_inl.hpp * * @brief Texture の実装 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_INL_TEXTURE_INL_HPP #define BKSGE_CORE_RENDER_INL_TEXTURE_INL_HPP #include <bksge/core/render/texture.hpp> #include <bksge/fnd/memory/make_shared.hpp> #include <bksge/fnd/assert.hpp> #include <bks...
20.114865
100
0.689956
myoukaku
aaa0dbc846b98e467f10b4031a968212b5c1ab91
1,054
cpp
C++
src/JImage.cpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
null
null
null
src/JImage.cpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
6
2021-10-16T07:10:04.000Z
2021-12-26T13:23:54.000Z
src/JImage.cpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
null
null
null
// // Image.cpp // Bas // // Created by Jildert Viet on 18-03-16. // // #include "JImage.hpp" JImage::JImage(string filename, ofVec2f loc){ this->loc = loc; setType("JImage"); bLoadSucces = loadImage(filename); colors[0] = ofColor(255,255); } void JImage::display(){ if(...
19.518519
63
0.510436
jildertviet
aaa4e343a803b91d7be91c16c80b30a6aac9a633
2,742
cpp
C++
Arcane/src/Arcane/Platform/OpenGL/Framebuffer/GBuffer.cpp
flygod1159/Arcane-Engine
bfb95cc6734a25e5737d4195c2b9e92e03117707
[ "MIT" ]
387
2016-10-04T03:30:38.000Z
2022-03-31T15:42:29.000Z
Arcane/src/Arcane/Platform/OpenGL/Framebuffer/GBuffer.cpp
flygod1159/Arcane-Engine
bfb95cc6734a25e5737d4195c2b9e92e03117707
[ "MIT" ]
9
2017-04-04T04:23:47.000Z
2020-07-11T05:05:54.000Z
Arcane/src/Arcane/Platform/OpenGL/Framebuffer/GBuffer.cpp
flygod1159/Arcane-Engine
bfb95cc6734a25e5737d4195c2b9e92e03117707
[ "MIT" ]
36
2017-07-02T07:11:40.000Z
2022-03-08T01:49:24.000Z
#include "arcpch.h" #include "GBuffer.h" namespace Arcane { GBuffer::GBuffer(unsigned int width, unsigned int height) : Framebuffer(width, height, false) { Init(); } GBuffer::~GBuffer() {} void GBuffer::Init() { AddDepthStencilTexture(NormalizedDepthStencil); Bind(); // Render Target 1 { TextureSe...
37.054054
124
0.78884
flygod1159
aaa6da5ef96b6b36ca4a940e12ee7346d14b08ef
1,783
cpp
C++
main.cpp
ikbo0217/glazkov_lab3_sem2
eceb826eaa9aeeb5df148682a1398a2bed34bfe7
[ "MIT" ]
null
null
null
main.cpp
ikbo0217/glazkov_lab3_sem2
eceb826eaa9aeeb5df148682a1398a2bed34bfe7
[ "MIT" ]
null
null
null
main.cpp
ikbo0217/glazkov_lab3_sem2
eceb826eaa9aeeb5df148682a1398a2bed34bfe7
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; int pointState(int cx, int cy, int cr, int x, int y) { int result = 0; if(pow(x - cx, 2) + pow(y - cy, 2) == pow(cr, 2)) result = 2; if(pow(x - cx, 2) + pow(y - cy, 2) < pow(cr, 2)) result = 1; return result; } int quadrilateralState(int cx, in...
18.572917
112
0.503085
ikbo0217
aaad34f2d74344a8c641f2b74145ceca9b30b093
938
cpp
C++
catchMain.cpp
skrtks/ft_containers_tests
a5044a4b559bbbd1292c6f5996dff4ed8b9b599f
[ "BSD-2-Clause" ]
null
null
null
catchMain.cpp
skrtks/ft_containers_tests
a5044a4b559bbbd1292c6f5996dff4ed8b9b599f
[ "BSD-2-Clause" ]
null
null
null
catchMain.cpp
skrtks/ft_containers_tests
a5044a4b559bbbd1292c6f5996dff4ed8b9b599f
[ "BSD-2-Clause" ]
2
2021-02-25T14:25:21.000Z
2021-11-24T11:32:23.000Z
/* ************************************************************************** */ /* */ /* :::::::: */ /* catchMain.cpp :+: :+: ...
62.533333
80
0.158849
skrtks
aaada067b38f9be1a996c674c8ff8359931d902c
8,322
cpp
C++
unit_tests/maths/matrix_tests.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
28
2021-11-23T11:52:55.000Z
2022-03-04T01:48:52.000Z
unit_tests/maths/matrix_tests.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
null
null
null
unit_tests/maths/matrix_tests.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
3
2022-01-02T12:23:04.000Z
2022-01-07T04:21:26.000Z
// // matrix_tests.cpp // unit_tests // // Created by 杨丰 on 2021/11/25. // #include "maths/matrix.h" #include "gtest.h" #include "gtest_helper.h" #include "gtest_math_helper.h" using vox::math::Float3; using vox::math::Matrix; using vox::math::Quaternion; TEST(Matrix, multiply) { const auto a = Matrix(1, 2,...
32.255814
114
0.451214
yangfengzzz
aaae4cc2e61c02950c900c410a97b6c2ad46049c
2,259
cpp
C++
src/Array.cpp
chnlkw/xuanwu
f796e9a851d8fad289ac5a625679e7db6c090a04
[ "MIT" ]
1
2018-04-09T01:45:17.000Z
2018-04-09T01:45:17.000Z
src/Array.cpp
chnlkw/xuanwu
f796e9a851d8fad289ac5a625679e7db6c090a04
[ "MIT" ]
null
null
null
src/Array.cpp
chnlkw/xuanwu
f796e9a851d8fad289ac5a625679e7db6c090a04
[ "MIT" ]
1
2020-04-14T03:39:20.000Z
2020-04-14T03:39:20.000Z
// // Created by chnlkw on 1/16/18. // #include "Array.h" #include "DataCopy.h" #include "Device.h" #include "Allocator.h" #include "Xuanwu.h" #include "Ptr.h" namespace Xuanwu { ArrayBase::ArrayBase(size_t bytes, AllocatorPtr allocator) : allocator_(allocator), bytes_(bytes), ptr_(allocator->Alloc(by...
27.54878
105
0.578132
chnlkw
aab0500972a427259f69e429bb8ca96d7c2635e3
1,764
hpp
C++
drape/vulkan/vulkan_param_descriptor.hpp
sthirvela/organicmaps
14885ba070ac9d1b7241ebb89eeefa46c9fdc1e4
[ "Apache-2.0" ]
3,062
2021-04-09T16:51:55.000Z
2022-03-31T21:02:51.000Z
drape/vulkan/vulkan_param_descriptor.hpp
MAPSWorks/organicmaps
b5fef4b5954cb27153c0dafddd7eed3bfa0b1e7f
[ "Apache-2.0" ]
1,396
2021-04-08T07:26:49.000Z
2022-03-31T20:27:46.000Z
drape/vulkan/vulkan_param_descriptor.hpp
MAPSWorks/organicmaps
b5fef4b5954cb27153c0dafddd7eed3bfa0b1e7f
[ "Apache-2.0" ]
242
2021-04-10T17:10:46.000Z
2022-03-31T13:41:07.000Z
#pragma once #include "drape/graphics_context.hpp" #include "drape/vulkan/vulkan_gpu_program.hpp" #include "drape/vulkan/vulkan_utils.hpp" #include <array> #include <cstdint> #include <string> #include <vector> namespace dp { namespace vulkan { struct ParamDescriptor { enum class Type : uint8_t { DynamicUnif...
21.512195
81
0.751134
sthirvela
82b5f763483e02639ac4259a4c32820b43a85c6c
1,012
cpp
C++
Solutions/Search for a Range/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
1
2015-04-13T10:58:30.000Z
2015-04-13T10:58:30.000Z
Solutions/Search for a Range/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
Solutions/Search for a Range/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: vector<int> searchRange(int A[], int n, int target) { vector<int> res(2,-1); int left = 0; int right = n-1; while(left <= right) { int mid = (left + right) / 2; if (A[mid] ==...
23
65
0.387352
Crayzero
82bc46df9fd678d43a3c01cfed5eb170d9c6da2c
272
cpp
C++
src/gui/columnize/ColumnDefinitionFactory.cpp
tomvodi/QTail
2e7acf31664969e6890edede6b60e02b20f33eb2
[ "MIT" ]
1
2017-04-29T12:17:59.000Z
2017-04-29T12:17:59.000Z
src/gui/columnize/ColumnDefinitionFactory.cpp
tomvodi/QTail
2e7acf31664969e6890edede6b60e02b20f33eb2
[ "MIT" ]
25
2016-06-11T17:35:42.000Z
2017-07-19T04:19:08.000Z
src/gui/columnize/ColumnDefinitionFactory.cpp
tomvodi/QTail
2e7acf31664969e6890edede6b60e02b20f33eb2
[ "MIT" ]
null
null
null
/** * @author Thomas Baumann <teebaum@ymail.com> * * @section LICENSE * See LICENSE for more informations. * */ #include "ColumnDefinitionFactory.h" ColumnDefinitionFactory::ColumnDefinitionFactory() { } ColumnDefinitionFactory::~ColumnDefinitionFactory() { }
13.6
51
0.735294
tomvodi
82c0470a2dbc15b744b23b933a494c7ace723a50
4,964
hpp
C++
diffsim_torch3d/arcsim/src/util.hpp
priyasundaresan/kaolin
ddae34ba5f09bffc4368c29bc50491c5ece797d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
diffsim_torch3d/arcsim/src/util.hpp
priyasundaresan/kaolin
ddae34ba5f09bffc4368c29bc50491c5ece797d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
diffsim_torch3d/arcsim/src/util.hpp
priyasundaresan/kaolin
ddae34ba5f09bffc4368c29bc50491c5ece797d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* Copyright ©2013 The Regents of the University of California (Regents). All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and not-for-profit purposes, without fee and without a signed licensing agreement, is hereby granted, pr...
33.315436
113
0.657736
priyasundaresan
82c0f7cd93a78771fc18805fd2e8c07344645e07
2,886
cc
C++
project2/solution/solution2.cc
EverNebula/CompilerProject-2020Spring
513173a74f0062e09adbfba0fdef2a5816ef75b5
[ "MIT" ]
null
null
null
project2/solution/solution2.cc
EverNebula/CompilerProject-2020Spring
513173a74f0062e09adbfba0fdef2a5816ef75b5
[ "MIT" ]
null
null
null
project2/solution/solution2.cc
EverNebula/CompilerProject-2020Spring
513173a74f0062e09adbfba0fdef2a5816ef75b5
[ "MIT" ]
null
null
null
// this is a silly solution // just to show you how different // components of this framework work // please bring your wise to write // a 'real' solution :) #include <iostream> #include <cstdio> #include <fstream> #include <sstream> #include <string> #include <cstring> #include <dirent.h> #include <json/...
30.0625
174
0.577963
EverNebula
82c2efabff35347dc9d65dbdcc676b2784997b8a
554
cpp
C++
cppcheck/data/c_files/387.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
2
2022-03-23T12:16:20.000Z
2022-03-31T06:19:40.000Z
cppcheck/data/c_files/387.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
cppcheck/data/c_files/387.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
static int parse_token(char **name, char **value, char **cp) { char *end; if (!name || !value || !cp) return -BLKID_ERR_PARAM; if (!(*value = strchr(*cp, '='))) return 0; **value = '\0'; *name = strip_line(*cp); *value = skip_over_blank(*value + 1); if (**value == '"') { end = strchr(*value + 1, '"'); if (!end)...
15.388889
60
0.559567
awsm-research
82c6c8b697af5086554092edf799f341264df045
2,064
cpp
C++
src/_leetcode/leet_1104.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_1104.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_1104.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
/* * ====================== leet_1104.cpp ========================== * -- tpr -- * CREATE -- 2020.06.02 * MODIFY -- * ---------------------------------------------------------- * 1104. 二叉树寻路 */ #include "innLe...
21.957447
69
0.419574
turesnake
82cac00fbe9e4525df27de88947d694f46f7391f
3,062
hpp
C++
include/argumentative/argument/Argument.hpp
ViralTaco/Argumentative
9dba6cb5de53df75616ec823d8dc211f0ec78296
[ "MIT" ]
1
2020-10-03T05:09:49.000Z
2020-10-03T05:09:49.000Z
include/argumentative/argument/Argument.hpp
ViralTaco/Argumentative
9dba6cb5de53df75616ec823d8dc211f0ec78296
[ "MIT" ]
null
null
null
include/argumentative/argument/Argument.hpp
ViralTaco/Argumentative
9dba6cb5de53df75616ec823d8dc211f0ec78296
[ "MIT" ]
null
null
null
#ifndef VT_ARGUMENT_HPP // ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ // ┃ Argument.hpp: ┃ // ┃ Copyright (c) 2020 viraltaco_ (viraltaco@gmx.com) ┃ // ┃ https://github.com/ViralTaco ┃ // ┃ SPDX-License-Identifier: MIT ...
23.921875
70
0.567929
ViralTaco
82cd932e95e55306d18326596ec619fd1d01e2ca
5,424
cpp
C++
extra/facs/cytolib/src/CytoFrameView.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/facs/cytolib/src/CytoFrameView.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/facs/cytolib/src/CytoFrameView.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
// Copyright 2019 Fred Hutchinson Cancer Research Center // See the included LICENSE file for details on the licence that is granted to the user of this software. #include <cytolib/CytoFrameView.hpp> #include <cytolib/global.hpp> namespace cytolib { CytoFramePtr CytoFrameView::get_cytoframe_ptr() const{ if(ptr_) ...
24.542986
105
0.652102
scignscape
82d214d29af3a1269b0a24ccce5077b0da44502c
7,135
cpp
C++
3DRadSpace/3DRadSpaceDll/Model3D.cpp
NicusorN5/3D_Rad_Space
029c52817deb08db17f46bef6246413a115d9e1d
[ "CC0-1.0" ]
9
2017-01-10T11:47:06.000Z
2021-11-27T14:32:55.000Z
3DRadSpace/3DRadSpaceDll/Model3D.cpp
NicusorN5/3D_Rad_Space
029c52817deb08db17f46bef6246413a115d9e1d
[ "CC0-1.0" ]
null
null
null
3DRadSpace/3DRadSpaceDll/Model3D.cpp
NicusorN5/3D_Rad_Space
029c52817deb08db17f46bef6246413a115d9e1d
[ "CC0-1.0" ]
6
2017-07-08T23:03:43.000Z
2022-03-08T07:47:13.000Z
#include "Model3D.hpp" inline Engine3DRadSpace::VertexDeclDeterminantFlag Engine3DRadSpace::operator|(VertexDeclDeterminantFlag a, VertexDeclDeterminantFlag b) { return static_cast<VertexDeclDeterminantFlag>(static_cast<int>(a) | static_cast<int>(b)); } inline Engine3DRadSpace::VertexDeclDeterminantFlag Engine3DRadS...
34.97549
288
0.723616
NicusorN5
82d5a6fa8fd7b4dec64b4eec6bc738bd3942a30c
495
cpp
C++
app_v01/src/app/main.cpp
azaremde/cpp-opengl-gamedev
f4d02e955b401fc78321a23f91809662fefcda92
[ "Apache-2.0" ]
null
null
null
app_v01/src/app/main.cpp
azaremde/cpp-opengl-gamedev
f4d02e955b401fc78321a23f91809662fefcda92
[ "Apache-2.0" ]
null
null
null
app_v01/src/app/main.cpp
azaremde/cpp-opengl-gamedev
f4d02e955b401fc78321a23f91809662fefcda92
[ "Apache-2.0" ]
null
null
null
#define ENGINE_DEBUG_MODE #include "environment/window.h" #include "layers/layer_manager.h" #include "gui_layer.h" #include "graphics_layer.h" int main() { window_init(); layers::layer_manager.add_layer(new GUILayer()); layers::layer_manager.add_layer(new GraphicsLayer()); layers::layer_manager.init(); whil...
15.967742
54
0.735354
azaremde
82d6d7e6ab1bd78c0f800a5ab4cbfd7488b671f2
2,237
cpp
C++
folly/synchronization/test/BatonBenchmark.cpp
Aoikiseki/folly
df3633c731d08bab0173039a050a30853fb47212
[ "Apache-2.0" ]
19,046
2015-01-01T17:01:10.000Z
2022-03-31T23:01:43.000Z
folly/synchronization/test/BatonBenchmark.cpp
Aoikiseki/folly
df3633c731d08bab0173039a050a30853fb47212
[ "Apache-2.0" ]
1,493
2015-01-11T15:47:13.000Z
2022-03-28T18:13:58.000Z
folly/synchronization/test/BatonBenchmark.cpp
Aoikiseki/folly
df3633c731d08bab0173039a050a30853fb47212
[ "Apache-2.0" ]
4,818
2015-01-01T12:28:16.000Z
2022-03-31T16:22:10.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
28.679487
75
0.738936
Aoikiseki
82d92d0839449f2e8ddbc75dbf81995fd62d2e80
4,706
cpp
C++
sensors/SensorBase.cpp
Huawei-mt6737/device
baec9804cf904c17d2abd45a1ecddde384ec22b7
[ "FTL" ]
2
2018-12-24T09:37:43.000Z
2019-09-22T13:55:54.000Z
sensors/SensorBase.cpp
Huawei-mt6737/device
baec9804cf904c17d2abd45a1ecddde384ec22b7
[ "FTL" ]
null
null
null
sensors/SensorBase.cpp
Huawei-mt6737/device
baec9804cf904c17d2abd45a1ecddde384ec22b7
[ "FTL" ]
8
2017-07-05T17:09:28.000Z
2019-03-04T09:37:45.000Z
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
32.232877
95
0.649809
Huawei-mt6737
82dc868342959ab731cfcb77da1bec85da90bd70
2,054
cpp
C++
HazelGameEngine/src/Platform/OpenGL/OpenGLVertexArray.cpp
duo131/Hazel_practice
04eeec2550b9536e7b8a565d67630c1d2a669991
[ "Apache-2.0" ]
null
null
null
HazelGameEngine/src/Platform/OpenGL/OpenGLVertexArray.cpp
duo131/Hazel_practice
04eeec2550b9536e7b8a565d67630c1d2a669991
[ "Apache-2.0" ]
null
null
null
HazelGameEngine/src/Platform/OpenGL/OpenGLVertexArray.cpp
duo131/Hazel_practice
04eeec2550b9536e7b8a565d67630c1d2a669991
[ "Apache-2.0" ]
null
null
null
#include "hzpch.h" #include "OpenGLVertexArray.h" #include <glad/glad.h> namespace Hazel { //temp function static GLenum ShaderDataTypeToOpenGLBaseType(ShaderDataType type) { switch (type) { case ShaderDataType::NONE: break; case ShaderDataType::FLOAT: return GL_FLOAT; case ShaderDataType::FLOAT2: re...
24.164706
96
0.731256
duo131
82dd0a742a3e6f7fd1298001e6f365b5ea428afc
80,114
cc
C++
EnergyPlus/HighTempRadiantSystem.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
EnergyPlus/HighTempRadiantSystem.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
1
2020-07-08T13:32:09.000Z
2020-07-08T13:32:09.000Z
EnergyPlus/HighTempRadiantSystem.cc
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
// EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois, // The Regents of the University of California, through Lawrence Berkeley National Laboratory // (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge // National Laboratory, managed by UT-Batt...
51.686452
150
0.613601
yurigabrich
82e1cf46c547ee7bd50b783a31f234185a1116b3
3,092
cpp
C++
tests/cthread/test_bhv_fifo.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
86
2020-10-23T15:59:47.000Z
2022-03-28T18:51:19.000Z
tests/cthread/test_bhv_fifo.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
18
2020-12-14T13:11:26.000Z
2022-03-14T05:34:20.000Z
tests/cthread/test_bhv_fifo.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
17
2020-10-29T16:19:43.000Z
2022-03-11T09:51:05.000Z
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ #include "systemc.h" using names...
24.736
79
0.502587
hachetman
82e236a9dc748b89398c20334b2359958d95cfb8
233
hpp
C++
source-sdk/classes/net_channel.hpp
BuddDwyer-0x00/csgo-cheat-base
3103f0e1ba811270f7f862cdfd105f712a6eb700
[ "MIT" ]
10
2020-06-23T00:44:29.000Z
2021-11-16T01:52:16.000Z
source-sdk/classes/net_channel.hpp
BuddDwyer-0x00/csgo-cheat-base
3103f0e1ba811270f7f862cdfd105f712a6eb700
[ "MIT" ]
1
2020-06-08T17:58:31.000Z
2021-05-09T17:26:48.000Z
source-sdk/classes/net_channel.hpp
BuddDwyer-0x00/csgo-cheat-base
3103f0e1ba811270f7f862cdfd105f712a6eb700
[ "MIT" ]
3
2020-06-08T00:31:44.000Z
2021-05-27T23:16:13.000Z
#pragma once class i_net_channel { public: uint8_t pad_0x0000[0x17]; bool should_delete; int out_sequence_nr; int in_sequence_nr; int out_sequence_nr_ack; int out_reliable_state; int in_reliable_state; int choked_packets; };
17.923077
26
0.802575
BuddDwyer-0x00
82e729cadf94428b8eab67a209530dddd04bdd21
11,342
cpp
C++
ClassicStartSrc/ClassicIE/ClassicIEDLL/DrawCaption.cpp
Duzzy-ExoDuus/Classic-Start
8b70f64b5bceeadfa4e5599b299a856c1e452e80
[ "MIT" ]
1
2018-07-19T20:59:32.000Z
2018-07-19T20:59:32.000Z
ClassicStartSrc/ClassicIE/ClassicIEDLL/DrawCaption.cpp
Duzzy-ExoDuus/Classic-Start
8b70f64b5bceeadfa4e5599b299a856c1e452e80
[ "MIT" ]
null
null
null
ClassicStartSrc/ClassicIE/ClassicIEDLL/DrawCaption.cpp
Duzzy-ExoDuus/Classic-Start
8b70f64b5bceeadfa4e5599b299a856c1e452e80
[ "MIT" ]
null
null
null
// Classic Shell (c) 2009-2017, Ivo Beltchev // Classic Start (c) 2017-2018, The Passionate-Coder Team // Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author #include "stdafx.h" #include "ClassicIEDLL.h" #include "Settings.h" #include "ResourceHelp...
32.685879
137
0.73629
Duzzy-ExoDuus
82ebc3afc48794c55ae6c033eb8b3d02d5e9b2e1
1,524
cpp
C++
code/920.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
23
2020-03-30T05:44:56.000Z
2021-09-04T16:00:57.000Z
code/920.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
1
2020-05-10T15:04:05.000Z
2020-06-14T01:21:44.000Z
code/920.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
6
2020-03-30T05:45:04.000Z
2020-08-13T10:01:39.000Z
#include <bits/stdc++.h> #define INF 2000000000 using namespace std; typedef long long ll; int read(){ int f = 1, x = 0; char c = getchar(); while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();} while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar(); return f * x; } struct TreeNod...
20.876712
68
0.463255
Nightwish-cn
82ebed1201a7f4989f1d879d85456272000dd064
1,541
cpp
C++
KnightmareRemake/GameMain.cpp
pdpdds/knightmare
25323acb23a0af326cebb6f342e30ccbfe0c2f0d
[ "BSD-2-Clause" ]
null
null
null
KnightmareRemake/GameMain.cpp
pdpdds/knightmare
25323acb23a0af326cebb6f342e30ccbfe0c2f0d
[ "BSD-2-Clause" ]
null
null
null
KnightmareRemake/GameMain.cpp
pdpdds/knightmare
25323acb23a0af326cebb6f342e30ccbfe0c2f0d
[ "BSD-2-Clause" ]
null
null
null
#include "GameMain.h" #include "CGameCore.h" HINSTANCE g_hInst; HWND g_hWnd; #define SPRITE_DIAMETER 30 #define SCREEN_WIDTH 640 #define SCREEN_HEIGHT 480 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { g_hInst = hInstance; static char Name[] = "Knightmare"; MS...
18.129412
86
0.710578
pdpdds
82ede2568f481afb8ea5d7a75b26cea6097b188a
841
cpp
C++
Leetcode/869_reorderedPowerOf2.cpp
ZZh2333/ubuntuProjectFiles
ded3d74e040bf6683b3b67a6956eb6fbe5805155
[ "MIT" ]
null
null
null
Leetcode/869_reorderedPowerOf2.cpp
ZZh2333/ubuntuProjectFiles
ded3d74e040bf6683b3b67a6956eb6fbe5805155
[ "MIT" ]
null
null
null
Leetcode/869_reorderedPowerOf2.cpp
ZZh2333/ubuntuProjectFiles
ded3d74e040bf6683b3b67a6956eb6fbe5805155
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: bool reorderedPowerOf2(int n) { vector<int> search = contDigital(n); vector<vector<int>> allPossible; for (int i = 0; i < 30; i++) { allPossible.push_back(contDigital(pow(2, i))); } ...
20.512195
59
0.450654
ZZh2333
82ededae93c7b0a0e9de59b4981a360c47a25df0
242
hh
C++
hackt_docker/hackt/src/lexer/input_manager.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/lexer/input_manager.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/lexer/input_manager.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
// aliased to different file name so "parser/lexyacc-prefix.awk" // won't rename it. #include "lexer/yyin_manager.hh" namespace HAC { namespace lexer { typedef yyin_manager input_manager; } // end namespace lexer } // end namespace HAC
22
65
0.735537
broken-wheel
82f2fde8ae28b38d4bf29c8934c452428be9d414
3,470
cpp
C++
DSP/extensions/TrajectoryLib/sources/Bspline2D.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
null
null
null
DSP/extensions/TrajectoryLib/sources/Bspline2D.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
null
null
null
DSP/extensions/TrajectoryLib/sources/Bspline2D.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
null
null
null
/* * Bspline Function Unit for TTBlue * based on the bspline code by Jasch: http://www.jasch.ch/ * ported by Nils Peters * */ #include "Bspline2D.h" #define thisTTClass Bspline2D #define thisTTClassName "bspline.2D" #define thisTTClassTags "audio, trajectory, 2D, spline" TT_AUDIO_CONSTRUCTOR { //addAt...
25.514706
109
0.606916
avilleret
82f3159b433cb8391baa047bfd5822b211498d07
231
cpp
C++
tests/codegen/unroll.cpp
casparant/bpftrace
a6823165a521e894b3fb028733131878cf70d3a7
[ "Apache-2.0" ]
5,119
2018-10-08T15:19:24.000Z
2022-03-31T15:03:48.000Z
tests/codegen/unroll.cpp
casparant/bpftrace
a6823165a521e894b3fb028733131878cf70d3a7
[ "Apache-2.0" ]
1,568
2018-10-08T19:14:25.000Z
2022-03-31T01:44:41.000Z
tests/codegen/unroll.cpp
casparant/bpftrace
a6823165a521e894b3fb028733131878cf70d3a7
[ "Apache-2.0" ]
838
2018-10-08T20:16:47.000Z
2022-03-31T06:15:58.000Z
#include "common.h" namespace bpftrace { namespace test { namespace codegen { TEST(codegen, unroll) { test("BEGIN { @i = 0; unroll(5) { @i += 1 } }", NAME); } } // namespace codegen } // namespace test } // namespace bpftrace
15.4
56
0.636364
casparant
d201aacc0ade4e8863df807d734fc8b348108d97
18,814
cpp
C++
src/main.cpp
stephan2nd/cpp-accelerator-settings-evolution
653990ed991a75db6055790aafb8b628c685763a
[ "MIT" ]
null
null
null
src/main.cpp
stephan2nd/cpp-accelerator-settings-evolution
653990ed991a75db6055790aafb8b628c685763a
[ "MIT" ]
null
null
null
src/main.cpp
stephan2nd/cpp-accelerator-settings-evolution
653990ed991a75db6055790aafb8b628c685763a
[ "MIT" ]
null
null
null
#include <iostream> #include <random> #include <fstream> #include <vector> #include "Genome.hpp" #include "Population.hpp" #include "Accelerator.hpp" #include "DriftTube.hpp" #include "HKick.hpp" #include "VKick.hpp" #include "QuadrupoleMagnet.hpp" #include "Slit.hpp" #include "Screen.hpp" #include "Trafo.hpp" #inclu...
44.372642
197
0.66695
stephan2nd
d201e0518fbb66f8cbf1ac94aea76743d477339c
4,943
cpp
C++
ufora/FORA/Judgment/RandomJOVGenerator.py.cpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/FORA/Judgment/RandomJOVGenerator.py.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/FORA/Judgment/RandomJOVGenerator.py.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015 Ufora 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/licen...
31.484076
91
0.644346
ufora
d20272ed7b7e9d0d54b18926db4a1c5080b20d29
4,938
cpp
C++
ivld/src/v20210903/model/AudioInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
ivld/src/v20210903/model/AudioInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
ivld/src/v20210903/model/AudioInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
27.131868
150
0.686108
suluner
d2066ec92a515ab33a89cc38bd0cf834677e90e6
172
cpp
C++
src/np/subset_sum.cpp
zpooky/sputil
3eddf94655fe4ec5bc2a3b5e487a86d772b038ae
[ "Apache-2.0" ]
null
null
null
src/np/subset_sum.cpp
zpooky/sputil
3eddf94655fe4ec5bc2a3b5e487a86d772b038ae
[ "Apache-2.0" ]
null
null
null
src/np/subset_sum.cpp
zpooky/sputil
3eddf94655fe4ec5bc2a3b5e487a86d772b038ae
[ "Apache-2.0" ]
null
null
null
#include "subset_sum.h" namespace np { namespace complete { bool subset_sum(const sp::Array<int> &) noexcept { return true; } } // namespace complete } // namespace np
14.333333
45
0.703488
zpooky
d2071e73011c882d7d7260a12311e751a08f036e
859
cpp
C++
Source/ThirdPersonShooter/Private/Core/AI/BTService_SetMovementState.cpp
DanialKama/ThirdPersonShooter
689873bcfcce7ef170df7fc7385d507e71a87a38
[ "MIT" ]
7
2021-12-03T17:31:34.000Z
2022-03-16T09:24:46.000Z
Source/ThirdPersonShooter/Private/Core/AI/BTService_SetMovementState.cpp
DanialKama/ThirdPersonShooter
689873bcfcce7ef170df7fc7385d507e71a87a38
[ "MIT" ]
45
2021-09-26T12:12:44.000Z
2022-01-31T07:19:50.000Z
Source/ThirdPersonShooter/Private/Core/AI/BTService_SetMovementState.cpp
DanialKama/ThirdPersonShooter
689873bcfcce7ef170df7fc7385d507e71a87a38
[ "MIT" ]
null
null
null
// Copyright 2022 Danial Kamali. All Rights Reserved. #include "Core/AI/BTService_SetMovementState.h" #include "Characters/AICharacter.h" #include "Core/AI/ShooterAIController.h" UBTService_SetMovementState::UBTService_SetMovementState(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { NodeNa...
31.814815
107
0.80908
DanialKama
d20bdee934b63c6dc8b753cff9796ee3a427aa92
603
hpp
C++
src/RenderSystem.DXGI/DXGIFormatHelper.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
src/RenderSystem.DXGI/DXGIFormatHelper.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
src/RenderSystem.DXGI/DXGIFormatHelper.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #pragma once #include "Pomdog/Graphics/detail/ForwardDeclarations.hpp" #include <dxgi.h> namespace Pomdog { namespace Detail { namespace DXGI { struct DXGIFormatHelper final { static DXGI_FORMAT ToDXGIFormat(DepthFormat format) noexcept; ...
27.409091
75
0.78607
ValtoForks
d20e1e07ea65e639ef0667b87826a916a61fcefe
2,280
cpp
C++
src/1.4/dom/domGles_texcombiner_commandAlpha_type.cpp
maemo5/android-source-browsing.platform--external--collada
538700ec332c8306a1283f8dfdb016e493905e6f
[ "MIT" ]
null
null
null
src/1.4/dom/domGles_texcombiner_commandAlpha_type.cpp
maemo5/android-source-browsing.platform--external--collada
538700ec332c8306a1283f8dfdb016e493905e6f
[ "MIT" ]
null
null
null
src/1.4/dom/domGles_texcombiner_commandAlpha_type.cpp
maemo5/android-source-browsing.platform--external--collada
538700ec332c8306a1283f8dfdb016e493905e6f
[ "MIT" ]
null
null
null
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the MIT Open Source License, for details please see license.txt or the website * http://www.opensource.org/licenses/mit-license.php * */ #include <dae.h> #include <dae/daeDom.h> #include <dom/domGles_texcombiner_commandAlpha_type.h> #includ...
28.5
96
0.752193
maemo5
d2162c55d252d362c48415b6baa06fe572903c9d
2,754
cc
C++
main.cc
sebgiles/pycolmap
9590ab7b4dbd16348ada8ed63a7e32d30460669f
[ "BSD-3-Clause" ]
null
null
null
main.cc
sebgiles/pycolmap
9590ab7b4dbd16348ada8ed63a7e32d30460669f
[ "BSD-3-Clause" ]
null
null
null
main.cc
sebgiles/pycolmap
9590ab7b4dbd16348ada8ed63a7e32d30460669f
[ "BSD-3-Clause" ]
null
null
null
#include <pybind11/pybind11.h> namespace py = pybind11; #include "absolute_pose.cc" #include "sequence_absolute_pose.cc" #include "generalized_absolute_pose.cc" #include "essential_matrix.cc" #include "fundamental_matrix.cc" #include "transformations.cc" #include "sift.cc" PYBIND11_MODULE(pycolmap, m) { m.doc() ...
38.25
100
0.6122
sebgiles
d216c874fd8a85cbd55ac716fbc459fdaf3833cd
978
cpp
C++
PAC-MAN_Allegro/imagem.cpp
JP-Clemente/Programming_Projects
68ff8dccbf6bf70461cc4865840f6a187dadcb5e
[ "MIT" ]
1
2020-11-29T08:06:21.000Z
2020-11-29T08:06:21.000Z
PAC-MAN_Allegro/imagem.cpp
JP-Clemente/College_Projects
94478657182e3dbf6ffd0fa425159d857f59a684
[ "MIT" ]
null
null
null
PAC-MAN_Allegro/imagem.cpp
JP-Clemente/College_Projects
94478657182e3dbf6ffd0fa425159d857f59a684
[ "MIT" ]
null
null
null
#include <iostream> #include <allegro5/allegro.h> #include <allegro5/allegro_image.h> using namespace std; int main(int argc, char **argv){ ALLEGRO_DISPLAY *display = NULL; ALLEGRO_BITMAP *image = NULL; if(!al_init()) { cout <<"Failed to initialize allegro!" << endl; return 0; } if(!a...
20.808511
96
0.632924
JP-Clemente
d217b52f2d76ab6ecb1d3195bb3d6643e39cb260
3,160
hpp
C++
include/util/geometric.hpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
include/util/geometric.hpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
include/util/geometric.hpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
#pragma once #include <util/barycentric.hpp> #include <util/colors.hpp> #include <util/pairs.hpp> #include <util/sizes.hpp> #include <util/vector.hpp> #include <glm/gtc/constants.hpp> #include <glm/gtx/quaternion.hpp> #include <algorithm> #include <utility> struct line { position_3D origin; direction_3D dir...
26.115702
117
0.625316
Adanos020
d218f32735cbb059fd098fa344cae9d16cd6ddff
2,311
cpp
C++
src/parser/parser.cpp
fezcode/boxer
89139da2a93ae55d54bdf57a582d5eb7b1e157b0
[ "Unlicense" ]
1
2022-02-07T08:58:29.000Z
2022-02-07T08:58:29.000Z
src/parser/parser.cpp
fezcode/boxer
89139da2a93ae55d54bdf57a582d5eb7b1e157b0
[ "Unlicense" ]
null
null
null
src/parser/parser.cpp
fezcode/boxer
89139da2a93ae55d54bdf57a582d5eb7b1e157b0
[ "Unlicense" ]
null
null
null
//============================ // Parser.cpp //============================ // #include "parser.h" namespace boxer::parser { /** * Ctor * Preconditions: * - File exists. */ Parser::Parser(string_t path) : filename(path){ working_dir = boxer::string::getParentPath(path); log_dbg("File:" + filename); ...
20.633929
75
0.607529
fezcode
d219264448484d31285b858d37eb887a667efaad
5,731
hpp
C++
FDPS-5.0g/src/vector2.hpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
null
null
null
FDPS-5.0g/src/vector2.hpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
null
null
null
FDPS-5.0g/src/vector2.hpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
null
null
null
#pragma once #include<iostream> #include<iomanip> namespace ParticleSimulator{ template <typename T> class Vector2{ public: T x, y; Vector2() : x(T(0)), y(T(0)) {} Vector2(const T _x, const T _y) : x(_x), y(_y) {} Vector2(const T s) : x(s), y(s) {} Vector2(const Ve...
29.091371
137
0.503403
subarutaro
d21b4f55d714064edb9c4a1e2569597585a83ca2
4,552
cpp
C++
table/byte_addressable_RA_iterator.cpp
ruihong123/dLSM
9158b25349389e0d46a0695ee05534409489412b
[ "BSD-3-Clause" ]
2
2022-03-02T02:44:51.000Z
2022-03-21T17:29:28.000Z
table/byte_addressable_RA_iterator.cpp
ruihong123/dLSM
9158b25349389e0d46a0695ee05534409489412b
[ "BSD-3-Clause" ]
null
null
null
table/byte_addressable_RA_iterator.cpp
ruihong123/dLSM
9158b25349389e0d46a0695ee05534409489412b
[ "BSD-3-Clause" ]
null
null
null
// // Created by ruihong on 1/20/22. // #include "byte_addressable_RA_iterator.h" #include "dLSM/env.h" #include "table_memoryside.h" namespace dLSM { ByteAddressableRAIterator::ByteAddressableRAIterator(Iterator* index_iter, KVFunction block_function, ...
30.346667
125
0.609622
ruihong123
d21ca9721fc9885affa723609c674c99af0be541
9,155
cpp
C++
src/spells/moppcode.cpp
eckserah/nifskope
3a85ac55e65cc60abc3434cc4aaca2a5cc712eef
[ "RSA-MD" ]
434
2015-02-06T05:08:20.000Z
2022-03-28T16:32:15.000Z
src/spells/moppcode.cpp
SpectralPlatypus/nifskope
7af7af39bfb0b29953024655235fde9fbc97071c
[ "RSA-MD" ]
155
2015-01-10T15:28:01.000Z
2022-03-05T03:28:09.000Z
src/spells/moppcode.cpp
SpectralPlatypus/nifskope
7af7af39bfb0b29953024655235fde9fbc97071c
[ "RSA-MD" ]
205
2015-02-07T15:10:16.000Z
2022-03-12T16:59:05.000Z
#include "spellbook.h" // Brief description is deliberately not autolinked to class Spell /*! \file moppcode.cpp * \brief Havok MOPP spells * * Note that this code only works on the Windows platform due an external * dependency on the Havok SDK, with which NifMopp.dll is compiled. * * Most classes here inherit ...
31.898955
163
0.681049
eckserah
d21e101eeed85d188956e68a8fdf716c924f7cff
8,259
cc
C++
src/game/LoadSaveTacticalStatusType.cc
flex-lab/ja2-stracciatella
61f8f0445112c5d5ec80d7b3502ac24505f3d20c
[ "BSD-Source-Code" ]
null
null
null
src/game/LoadSaveTacticalStatusType.cc
flex-lab/ja2-stracciatella
61f8f0445112c5d5ec80d7b3502ac24505f3d20c
[ "BSD-Source-Code" ]
null
null
null
src/game/LoadSaveTacticalStatusType.cc
flex-lab/ja2-stracciatella
61f8f0445112c5d5ec80d7b3502ac24505f3d20c
[ "BSD-Source-Code" ]
null
null
null
#include <vector> #include "Debug.h" #include "FileMan.h" #include "GameState.h" #include "LoadSaveData.h" #include "LoadSaveTacticalStatusType.h" #include "Overhead.h" void ExtractTacticalStatusTypeFromFile(HWFILE const f, bool stracLinuxFormat) { UINT32 dataSize = stracLinuxFormat ? TACTICAL_STATUS_TYPE_SIZE_STRA...
31.643678
104
0.763531
flex-lab
d21e989a93c7bbe63be3d91a88abb98530110963
17,295
cpp
C++
src/vd_mesh.cpp
22427/Vertex_Data
8df9da253dadf21d1c89917f44103e6ed3ab52fa
[ "Unlicense" ]
null
null
null
src/vd_mesh.cpp
22427/Vertex_Data
8df9da253dadf21d1c89917f44103e6ed3ab52fa
[ "Unlicense" ]
null
null
null
src/vd_mesh.cpp
22427/Vertex_Data
8df9da253dadf21d1c89917f44103e6ed3ab52fa
[ "Unlicense" ]
null
null
null
#include "../include/vd_mesh.h" #include <glm/geometric.hpp> #include <string> #include <fstream> #include <sstream> #include <algorithm> #include <cstdint> #include <cstring> #include <algorithm> using namespace glm; ///***************************************************************************** ///* UTILITIES ...
21.837121
80
0.535184
22427
d220acfae0348a757cc2c112bd12f5141ed80802
1,358
cc
C++
pagespeed/system/redis_cache_cluster_setup_main.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
2
2019-11-02T07:54:17.000Z
2020-04-16T09:26:51.000Z
pagespeed/system/redis_cache_cluster_setup_main.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
12
2017-03-14T18:26:11.000Z
2021-10-01T15:33:50.000Z
pagespeed/system/redis_cache_cluster_setup_main.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
1
2020-04-16T09:28:30.000Z
2020-04-16T09:28:30.000Z
/* * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
26.627451
76
0.726068
dimitrilongo
d2236f382ef4a8f1d494d1cede58881c17fb936d
1,010
hh
C++
src/Nuxed/Kernel/Extension/SessionExtension.hh
tomoki1337/framework
ff06d260c5bf2a78a99b8d17b041de756550f95a
[ "MIT" ]
null
null
null
src/Nuxed/Kernel/Extension/SessionExtension.hh
tomoki1337/framework
ff06d260c5bf2a78a99b8d17b041de756550f95a
[ "MIT" ]
null
null
null
src/Nuxed/Kernel/Extension/SessionExtension.hh
tomoki1337/framework
ff06d260c5bf2a78a99b8d17b041de756550f95a
[ "MIT" ]
null
null
null
<?hh // strict namespace Nuxed\Kernel\Extension; use namespace Nuxed\Http\Session; use namespace Nuxed\Kernel\ServiceProvider; use type Nuxed\Container\ServiceProvider\ServiceProviderInterface; use type Nuxed\Contract\Http\Server\MiddlewarePipeInterface; use type Nuxed\Http\Server\MiddlewareFactory; use type Nuxed\Ke...
26.578947
70
0.738614
tomoki1337
d227ed7477080fdc07ca1f44790ce2e1267cc918
607
cpp
C++
src/layer_renderer.cpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
3
2017-10-02T03:18:59.000Z
2020-11-01T09:21:28.000Z
src/layer_renderer.cpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
2
2019-04-06T21:48:08.000Z
2020-05-22T23:38:54.000Z
src/layer_renderer.cpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
1
2017-07-17T20:58:26.000Z
2017-07-17T20:58:26.000Z
#include "../include/layer_renderer.hpp" #include "../include/layer.hpp" #include "../include/custom_shaders.hpp" #include "../include/utility/file.hpp" #include "../include/log.hpp" #include <utility> Layer_Renderer::Layer_Renderer(const Layer& layer, const Camera& camera) : layer(layer), camera(camera), need...
37.9375
76
0.711697
GhostInABottle
d22aac8fb80d854c44ab859af04e81414a0eddfc
2,924
hpp
C++
include/GaussianProcessSupport.hpp
snowpac/snowpac
ff4c6a83e01fc4ef6a78cf9ff9bf9358f972b305
[ "BSD-2-Clause" ]
3
2019-08-04T20:18:00.000Z
2021-06-22T23:50:27.000Z
include/GaussianProcessSupport.hpp
snowpac/snowpac
ff4c6a83e01fc4ef6a78cf9ff9bf9358f972b305
[ "BSD-2-Clause" ]
null
null
null
include/GaussianProcessSupport.hpp
snowpac/snowpac
ff4c6a83e01fc4ef6a78cf9ff9bf9358f972b305
[ "BSD-2-Clause" ]
null
null
null
#ifndef HGaussianProcessSupport #define HGaussianProcessSupport #include "GaussianProcess.hpp" #include "BlackBoxData.hpp" #include "VectorOperations.hpp" #include <vector> #include <float.h> #include <cmath> #include <iomanip> #include <assert.h> class GaussianProcessSupport : protected VectorOperations { private:...
33.227273
128
0.718878
snowpac
d22f225f252e9421c36e5091464181bd2aadf2ef
20
cpp
C++
src/cpps_module.cpp
TansuoTro/CPPS
cca35d8dc2128aba7fa4a40cb6d83487e265cf3f
[ "MIT" ]
null
null
null
src/cpps_module.cpp
TansuoTro/CPPS
cca35d8dc2128aba7fa4a40cb6d83487e265cf3f
[ "MIT" ]
null
null
null
src/cpps_module.cpp
TansuoTro/CPPS
cca35d8dc2128aba7fa4a40cb6d83487e265cf3f
[ "MIT" ]
null
null
null
#include "cpps.h"
5
17
0.6
TansuoTro
d230fcc4f1e016884d0b9ab207c200a21082df75
949
cpp
C++
cpp/p74.cpp
voltrevo/project-euler
0db5451f72b1353b295e56f928c968801e054444
[ "MIT" ]
null
null
null
cpp/p74.cpp
voltrevo/project-euler
0db5451f72b1353b295e56f928c968801e054444
[ "MIT" ]
null
null
null
cpp/p74.cpp
voltrevo/project-euler
0db5451f72b1353b295e56f928c968801e054444
[ "MIT" ]
null
null
null
#include <cassert> #include <iostream> int factorials[10] = {1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880}; int NonRepeatLength(int n) { int count = 0; while (count != 61) { ++count; int nCopy = n; n = 0; while (nCopy > 0) { n += factorials[nCopy % 10];...
19.770833
69
0.42255
voltrevo
d23165a566a38bd2b648ef2b69ff4cab9d235301
7,215
cpp
C++
Source/Renderer.cpp
cstechfoodie/COMP371-Computer-Graphic-Scence-of-End-of-the-World
91e47546d663e079b756fd90dab14c8954903a5a
[ "MIT" ]
2
2019-08-09T00:54:29.000Z
2020-11-16T22:49:27.000Z
Source/Renderer.cpp
cstechfoodie/COMP371-Computer-Graphic-Scence-of-End-of-the-World
91e47546d663e079b756fd90dab14c8954903a5a
[ "MIT" ]
null
null
null
Source/Renderer.cpp
cstechfoodie/COMP371-Computer-Graphic-Scence-of-End-of-the-World
91e47546d663e079b756fd90dab14c8954903a5a
[ "MIT" ]
2
2019-08-08T13:42:35.000Z
2019-08-09T22:20:41.000Z
// // COMP 371 Assignment Framework // // Created by Nicolas Bergeron on 8/7/14. // Updated by Gary Chang on 14/1/15 // // Copyright (c) 2014-2019 Concordia University. All rights reserved. // #include "Renderer.h" #include <stdio.h> #include <string> #include <iostream> #include <fstream> #include <algorithm> using...
25.052083
129
0.666112
cstechfoodie
d233ce3c377159f4e760f9ceaf0322d6617761c1
947
cpp
C++
Codeforces/1283C.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/1283C.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/1283C.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int arr[200000]; bool received[200000]; bool notYet[200000]; set<int> ungifted; set<int> undecided; int main(){ int n, i; cin >> n; for(i=0; i<n; i++){ cin >> arr[i]; if(arr[i]>0){ received[arr[i]-1]=true; } } for(i=0; i<n; i++){ if(!received[i]){ ungifted...
18.568627
54
0.581837
DT3264
d23639af87c1f15f9c808a8fdbe311cfc4f5bd68
369
cpp
C++
Split the Str Ing.cpp
Rogg-et/codechef-challenges
7704901eaa3928730124dd43b57f213a82d19392
[ "MIT" ]
2
2020-10-30T16:22:31.000Z
2021-10-06T14:30:07.000Z
Split the Str Ing.cpp
Rogg-et/codechef-challenges
7704901eaa3928730124dd43b57f213a82d19392
[ "MIT" ]
2
2021-10-08T19:49:53.000Z
2021-10-08T19:53:56.000Z
Split the Str Ing.cpp
Rogg-et/codechef-challenges
7704901eaa3928730124dd43b57f213a82d19392
[ "MIT" ]
9
2020-10-17T19:11:38.000Z
2021-10-19T01:55:18.000Z
#include<iostream> using namespace std; int main() { int t; cin>>t; for(int i=1;i<=t;i++) { int n; cin>>n; string s; cin>>s; int temp=0; for(int j=0;j<n-1;j++) { if(s[j]==s[n-1]) {cout<<"YES"<<endl; temp++; break;} } if(te...
17.571429
62
0.401084
Rogg-et
d238b410650a672e3f03549f0f15011e8fcbdb69
39,395
hpp
C++
tests/functional/coherence/net/messaging/NamedCacheTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
tests/functional/coherence/net/messaging/NamedCacheTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
tests/functional/coherence/net/messaging/NamedCacheTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "cxxtest/TestSuite.h" #include "coherence/lang.ns" #include "coherence/net/DefaultOperationalContext.hpp" #include "coherence/net/Op...
58.019146
180
0.666201
chpatel3
d238e6d49bc7b71f72fb3d7b87c9c04e438e9638
1,081
cpp
C++
graphs/bellman-ford.cpp
KaisatoK/icpc-notebook
a9afbb35e143376947a06bc21339b5eb6b664c99
[ "MIT" ]
46
2018-01-23T01:43:23.000Z
2020-10-03T15:16:25.000Z
graphs/bellman-ford.cpp
KaisatoK/icpc-notebook
a9afbb35e143376947a06bc21339b5eb6b664c99
[ "MIT" ]
1
2019-08-02T16:29:03.000Z
2020-03-16T22:36:11.000Z
graphs/bellman-ford.cpp
KaisatoK/icpc-notebook
a9afbb35e143376947a06bc21339b5eb6b664c99
[ "MIT" ]
16
2018-07-12T05:30:49.000Z
2021-02-19T01:40:49.000Z
/********************************************************************************** * BELLMAN-FORD ALGORITHM (SHORTEST PATH TO A VERTEX - WITH NEGATIVE COST) * * Time complexity: O(VE) * * Usage: dist[node] ...
51.47619
83
0.307123
KaisatoK
d2396b70e556838a690e2550db916c0dbdfc0a04
235
cxx
C++
Software/CPU/myscrypt/build/cmake-3.12.3/Tests/CTestTest/SmallAndFast/intentional_compile_warning.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
107
2021-08-28T20:08:42.000Z
2022-03-22T08:02:16.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Tests/CTestTest/SmallAndFast/intentional_compile_warning.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Tests/CTestTest/SmallAndFast/intentional_compile_warning.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
16
2021-08-30T06:57:36.000Z
2022-03-22T08:05:52.000Z
#include <stdio.h> int main(int argc, const char* argv[]) { unsigned int i = 0; // "i<argc" should produce a "signed/unsigned comparison" warning for (; i < argc; ++i) { fprintf(stdout, "%s\n", argv[i]); } return 0; }
19.583333
72
0.591489
duonglvtnaist
d23b45102eb6c362ae2fd611a14c81f7945db8c8
2,798
cc
C++
squim/image/codecs/webp_decoder_test.cc
baranov1ch/squim
5bde052735e0dac7c87e8f7939d0168e6ee05857
[ "Apache-2.0" ]
2
2016-05-06T01:15:49.000Z
2016-05-06T01:29:00.000Z
squim/image/codecs/webp_decoder_test.cc
baranov1ch/squim
5bde052735e0dac7c87e8f7939d0168e6ee05857
[ "Apache-2.0" ]
null
null
null
squim/image/codecs/webp_decoder_test.cc
baranov1ch/squim
5bde052735e0dac7c87e8f7939d0168e6ee05857
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015 Alexey Baranov <me@kotiki.cc>. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
35.417722
80
0.662974
baranov1ch
d23c7bd55965412a621c017d96b564190fa63b5e
2,281
cc
C++
src/Board/Position.cc
rodrigowerberich/simple-terminal-chess
73c62251c4d130a896270c1e27b297da3ab0933f
[ "MIT" ]
null
null
null
src/Board/Position.cc
rodrigowerberich/simple-terminal-chess
73c62251c4d130a896270c1e27b297da3ab0933f
[ "MIT" ]
null
null
null
src/Board/Position.cc
rodrigowerberich/simple-terminal-chess
73c62251c4d130a896270c1e27b297da3ab0933f
[ "MIT" ]
null
null
null
#include "Board/Position.hh" #include <sstream> std::ostream& operator<<(std::ostream& os, const Chess::Board::Position& position){ os << position.toString(); return os; } namespace Chess{ namespace Board{ std::string column_to_string(Column column){ switch (column){ case Chess::Boar...
24.265957
112
0.567295
rodrigowerberich
d23ed2fdcfeafde9b72b24cd691149e3469a48b4
3,294
cpp
C++
Core/Util.cpp
TomasSirgedas/HadwigerNelsonTiling
2862ef41a2de229eccd9854f283e5424e188f47d
[ "Unlicense" ]
null
null
null
Core/Util.cpp
TomasSirgedas/HadwigerNelsonTiling
2862ef41a2de229eccd9854f283e5424e188f47d
[ "Unlicense" ]
null
null
null
Core/Util.cpp
TomasSirgedas/HadwigerNelsonTiling
2862ef41a2de229eccd9854f283e5424e188f47d
[ "Unlicense" ]
null
null
null
#include "Util.h" #include <string> int mod( int x, int m ) { return x >= 0 ? x % m : (x+1) % m + m-1; } Matrix4x4 toMatrix( const XYZ& a, const XYZ& b, const XYZ& c ) { return Matrix4x4( a.x, b.x, c.x, 0, a.y, b.y, c.y, 0, a.z, b.z, c.z, 0, 0, 0...
28.643478
114
0.440194
TomasSirgedas
d24296884e72420dcd0a9c5a2b95e4b4b785e462
3,841
cpp
C++
lumino/LuminoEngine/src/UI/Controls/UIListBoxItem.cpp
LuminoEngine/Lumino
370db149da12abbe1c01a3a42b6caf07ca4000fe
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoEngine/src/UI/Controls/UIListBoxItem.cpp
LuminoEngine/Lumino
370db149da12abbe1c01a3a42b6caf07ca4000fe
[ "MIT" ]
13
2020-03-23T20:36:44.000Z
2022-02-28T11:07:32.000Z
lumino/LuminoEngine/src/UI/Controls/UIListBoxItem.cpp
LuminoEngine/Lumino
370db149da12abbe1c01a3a42b6caf07ca4000fe
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include "Internal.hpp" #include <LuminoEngine/Reflection/VMProperty.hpp> //#include <LuminoEngine/UI/UICommand.hpp> #include <LuminoEngine/UI/UIStyle.hpp> //#include <LuminoEngine/UI/Layout/UILayoutPanel.hpp> #include <LuminoEngine/UI/UIText.hpp> #include <LuminoEngine/UI/Controls/UIListBox.hpp> #include <LuminoEngi...
23.857143
87
0.690706
LuminoEngine
d2447998d8c4adfaf82075610bd9930c7d8bc32e
3,537
cc
C++
omaha/statsreport/persistent_iterator-win32_unittest.cc
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
1,975
2015-07-03T07:00:50.000Z
2022-03-31T20:04:04.000Z
omaha/statsreport/persistent_iterator-win32_unittest.cc
rodriguez74745/omaha
a244aea380b48fc488a0555c3fa51a2e03677557
[ "Apache-2.0" ]
277
2015-07-18T00:13:30.000Z
2022-03-31T22:18:39.000Z
omaha/statsreport/persistent_iterator-win32_unittest.cc
rodriguez74745/omaha
a244aea380b48fc488a0555c3fa51a2e03677557
[ "Apache-2.0" ]
685
2015-07-18T11:24:49.000Z
2022-03-30T20:50:12.000Z
// Copyright 2006-2009 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
26.593985
77
0.647441
r3yn0ld4
d24e223eaf1e320a86b4a4f1cdebc94b2e323aab
5,338
hpp
C++
bryllite-core/bcp_server.hpp
bryllite/bcp-concept-prototype
3ded79a85ee4c876fbbd0c1ee51680346874494e
[ "MIT" ]
null
null
null
bryllite-core/bcp_server.hpp
bryllite/bcp-concept-prototype
3ded79a85ee4c876fbbd0c1ee51680346874494e
[ "MIT" ]
null
null
null
bryllite-core/bcp_server.hpp
bryllite/bcp-concept-prototype
3ded79a85ee4c876fbbd0c1ee51680346874494e
[ "MIT" ]
null
null
null
#pragma once // bcp callback interface class IBcpServerCallback { public: virtual size_t qualify_votes_count( void ) = 0; virtual int onBcpNewRoundReady( size_t prevRoundIdx ) = 0; virtual int onBcpNewRoundStart( size_t roundIdx ) = 0; virtual int onBcpProposeStart( size_t roundIdx ) = 0; virtual int onBcpVoteS...
25.54067
95
0.765268
bryllite
d251dbf8042beea6c819de0dc0bf008be59cd1fe
502
cpp
C++
Source Code/Dynamics/Entities/Units/Vehicle.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
9
2018-05-02T19:53:41.000Z
2021-10-18T18:30:47.000Z
Source Code/Dynamics/Entities/Units/Vehicle.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
7
2018-02-01T12:16:43.000Z
2019-10-21T14:03:43.000Z
Source Code/Dynamics/Entities/Units/Vehicle.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
1
2020-09-08T03:28:22.000Z
2020-09-08T03:28:22.000Z
#include "stdafx.h" #include "Headers/Vehicle.h" namespace Divide { Vehicle::Vehicle() : Unit(UnitType::UNIT_TYPE_VEHICLE), _vehicleTypeMask(0) { _playerControlled = false; } void Vehicle::setVehicleTypeMask(const U32 mask) { assert((mask & ~(to_base(VehicleType::COUNT...
20.916667
63
0.643426
IonutCava
d2524a730ed575f4317f425ea7d902dada5e6103
4,739
cpp
C++
src/framework/fastapi/BaseHttpRequestParams.cpp
AronProgram/pccl
d9f1c5ee3ed81d3195fab0765bb58cce1c97a91a
[ "MIT" ]
3
2020-11-02T01:12:36.000Z
2021-03-12T08:44:57.000Z
src/framework/fastapi/BaseHttpRequestParams.cpp
AronProgram/pccl
d9f1c5ee3ed81d3195fab0765bb58cce1c97a91a
[ "MIT" ]
null
null
null
src/framework/fastapi/BaseHttpRequestParams.cpp
AronProgram/pccl
d9f1c5ee3ed81d3195fab0765bb58cce1c97a91a
[ "MIT" ]
1
2021-03-12T08:44:30.000Z
2021-03-12T08:44:30.000Z
/** * pccl is pleased to support the open source community by making Tars available. * * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy...
18.226923
106
0.683689
AronProgram
d257626bef78f94d4cd9fbcdbdf1ed92003ef3b1
587
cpp
C++
CSES-Problemset/sorting and searching/ferris_wheel.cpp
rranjan14/cp-solutions
9614508efbed1e4ee8b970b5eed535d782a5783f
[ "MIT" ]
null
null
null
CSES-Problemset/sorting and searching/ferris_wheel.cpp
rranjan14/cp-solutions
9614508efbed1e4ee8b970b5eed535d782a5783f
[ "MIT" ]
null
null
null
CSES-Problemset/sorting and searching/ferris_wheel.cpp
rranjan14/cp-solutions
9614508efbed1e4ee8b970b5eed535d782a5783f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #define vlli vector<long long int> typedef long long int lli; using namespace std; int main() { lli n, x, count = 0; cin >> n >> x; vlli p(n, 0); for (int i = 0; i < n; i++) { cin >> p[i]; } sort(p.begin(), p.end()); lli ...
17.264706
34
0.383305
rranjan14
d2576a85dc4d3b7319eb53f12d375a804d4fd722
539
cpp
C++
Grade_10/Second_Semester/max_sum_from_pairs.cpp
MagicWinnie/SESC_IT
934ac49a177bfa5d02fc3234d31c929aad3c60c2
[ "MIT" ]
2
2020-10-10T10:21:49.000Z
2021-05-28T18:10:42.000Z
Grade_10/Second_Semester/max_sum_from_pairs.cpp
MagicWinnie/SESC_IT
934ac49a177bfa5d02fc3234d31c929aad3c60c2
[ "MIT" ]
null
null
null
Grade_10/Second_Semester/max_sum_from_pairs.cpp
MagicWinnie/SESC_IT
934ac49a177bfa5d02fc3234d31c929aad3c60c2
[ "MIT" ]
null
null
null
// You get N pairs, from which you have to choose one number so the sum is max and does not divide by 3. #include <iostream> #include <algorithm> #include <cmath> using namespace std; int main() { int n; int s = 0, mr = 1000000; cin >> n; for (int i = 0; i < n; i++) { int a, b; cin...
20.730769
104
0.45269
MagicWinnie
d259aa34186e6601ee8e659cfc1d36c1f77b120b
1,466
cpp
C++
Striver SDE Sheet/Day - 4 (Hashing)/2 Sum.cpp
HariAcidReign/Striver-SDE-Solutions
80757b212abe479f3975b890398a8d877ebfd41e
[ "MIT" ]
25
2021-08-17T04:04:41.000Z
2022-03-16T07:43:30.000Z
Striver SDE Sheet/Day - 4 (Hashing)/2 Sum.cpp
hashwanthalla/Striver-Sheets-Resources
80757b212abe479f3975b890398a8d877ebfd41e
[ "MIT" ]
null
null
null
Striver SDE Sheet/Day - 4 (Hashing)/2 Sum.cpp
hashwanthalla/Striver-Sheets-Resources
80757b212abe479f3975b890398a8d877ebfd41e
[ "MIT" ]
8
2021-08-18T02:02:23.000Z
2022-02-11T06:05:07.000Z
class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { vector<pair<int, int>> x; int n = nums.size(); for(int i = 0; i < n; i++) { x.push_back(make_pair(nums[i], i)); } sort(x.begin(), x.end()); int l = 0; int r = n-1;...
25.719298
60
0.411323
HariAcidReign
d2603441ad6264eca71e2a001fd2adbb7d2acd0e
2,077
hpp
C++
include/orwell/game/Robot.hpp
orwell-int/server-game
d3c410ff734a6f32de0303b25d816ae392df8a18
[ "BSD-3-Clause" ]
null
null
null
include/orwell/game/Robot.hpp
orwell-int/server-game
d3c410ff734a6f32de0303b25d816ae392df8a18
[ "BSD-3-Clause" ]
39
2015-02-01T15:24:59.000Z
2020-11-16T13:58:11.000Z
include/orwell/game/Robot.hpp
orwell-int/server-game
d3c410ff734a6f32de0303b25d816ae392df8a18
[ "BSD-3-Clause" ]
2
2015-03-14T13:05:25.000Z
2015-07-05T07:11:23.000Z
/// This class stores the information about a robot that is connected to the server #pragma once #include <string> #include <memory> #include <zmq.hpp> #include "orwell/com/Socket.hpp" namespace orwell { namespace support { class ISystemProxy; } // namespace support namespace game { class Player; class Item; cla...
22.095745
102
0.738084
orwell-int
d2624a5b4bf7c04fe2e2e07abffde2795eaea4de
12,518
cpp
C++
src/graph_page_file_io.cpp
mattvchandler/graph3
f045b24a2657f4ad5628c8376cb7a54f1f1daf8e
[ "MIT" ]
null
null
null
src/graph_page_file_io.cpp
mattvchandler/graph3
f045b24a2657f4ad5628c8376cb7a54f1f1daf8e
[ "MIT" ]
1
2015-07-07T22:30:20.000Z
2015-07-09T17:27:14.000Z
src/graph_page_file_io.cpp
mattvchandler/graph3
f045b24a2657f4ad5628c8376cb7a54f1f1daf8e
[ "MIT" ]
null
null
null
// graph_page_file_io.cpp // read and write graphs to disk // Copyright 2018 Matthew Chandler // 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 limit...
41.866221
130
0.653219
mattvchandler
d920fbc87885ef55ac10520762b3c6e8c90f6d5f
677
cpp
C++
tests/StdStats_test.cpp
syntaxonly/algs4-cpp
3ca6336b77e72e0186dfa6ce23585f3bb34fc213
[ "BSL-1.0" ]
null
null
null
tests/StdStats_test.cpp
syntaxonly/algs4-cpp
3ca6336b77e72e0186dfa6ce23585f3bb34fc213
[ "BSL-1.0" ]
null
null
null
tests/StdStats_test.cpp
syntaxonly/algs4-cpp
3ca6336b77e72e0186dfa6ce23585f3bb34fc213
[ "BSL-1.0" ]
null
null
null
#include "algs4/StdStats.h" #include "algs4/StdArrayIO.h" #include "algs4/StdOut.h" // run by: StdStats_test < algs4-data/tinyDouble1D.txt int main() { using namespace algs4; auto a = StdArrayIO::readDouble1D(); StdOut::printf(" min %10.3f\n", StdStats::min(a)); StdOut::printf(" mean %10....
30.772727
64
0.601182
syntaxonly
d933db0d014d82faf2211754bc4538aa50e6b432
7,231
cpp
C++
BreaksPPU/PPUSim/regs.cpp
ogamespec/breaknes
b053afb6924ca661f71a129766e8945f64f6ec7b
[ "CC0-1.0" ]
null
null
null
BreaksPPU/PPUSim/regs.cpp
ogamespec/breaknes
b053afb6924ca661f71a129766e8945f64f6ec7b
[ "CC0-1.0" ]
null
null
null
BreaksPPU/PPUSim/regs.cpp
ogamespec/breaknes
b053afb6924ca661f71a129766e8945f64f6ec7b
[ "CC0-1.0" ]
null
null
null
// Control Registers #include "pch.h" using namespace BaseLogic; namespace PPUSim { ControlRegs::ControlRegs(PPU* parent) { ppu = parent; } ControlRegs::~ControlRegs() { } void ControlRegs::sim() { sim_RegularRegOps(); sim_W56RegOps(); sim_FirstSecond_SCCX_Write(); sim_RegFFs(); if (ppu->rev ...
22.045732
95
0.620661
ogamespec
d9351319abdb18af2bc0c496f50fbcf9278e44bf
1,250
cpp
C++
7FA4/1.5/Q1.5.5.3.cpp
XenonWZH/involution
189f6ce2bbfe3a7c5d536bbd769f353e4c06e7c6
[ "MIT" ]
null
null
null
7FA4/1.5/Q1.5.5.3.cpp
XenonWZH/involution
189f6ce2bbfe3a7c5d536bbd769f353e4c06e7c6
[ "MIT" ]
null
null
null
7FA4/1.5/Q1.5.5.3.cpp
XenonWZH/involution
189f6ce2bbfe3a7c5d536bbd769f353e4c06e7c6
[ "MIT" ]
null
null
null
// Q1.5.5.3. 多项式加减乘 // WzhDnwzWzh #include <iostream> #include <cstring> using namespace std; int main() { int f1[1001], f2[1001], ans[1000001], n1, n2, n_ans; memset(f1, 0, sizeof(f1)); memset(f2, 0, sizeof(f2)); memset(ans, 0, sizeof(ans)); cin >> n1 >> n2; for (int i = 0; i <= n1; i++) ...
23.584906
56
0.4296
XenonWZH
d938202b9dd190c708538419786d7e89c49df397
408
hpp
C++
libs/core/math/include/bksge/core/math/fwd/transform3_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/math/include/bksge/core/math/fwd/transform3_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/math/include/bksge/core/math/fwd/transform3_fwd.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file transform3_fwd.hpp * * @brief Transform3 の前方宣言 * * @author myoukaku */ #ifndef BKSGE_CORE_MATH_FWD_TRANSFORM3_FWD_HPP #define BKSGE_CORE_MATH_FWD_TRANSFORM3_FWD_HPP namespace bksge { namespace math { template <typename T> class Transform3; } // namespace math using math::T...
14.571429
49
0.713235
myoukaku
d938e853764c02451212522187e630c3f405de86
5,042
hpp
C++
ql/termstructures/yield/compositezeroyieldstructure.hpp
zhengyuzhang1/QuantLib
65867ab7c44419b69e40e553b41230744b83cff9
[ "BSD-3-Clause" ]
2
2021-12-12T01:27:45.000Z
2022-01-25T17:44:12.000Z
ql/termstructures/yield/compositezeroyieldstructure.hpp
zhengyuzhang1/QuantLib
65867ab7c44419b69e40e553b41230744b83cff9
[ "BSD-3-Clause" ]
17
2020-11-23T06:35:50.000Z
2022-03-28T19:00:09.000Z
ql/termstructures/yield/compositezeroyieldstructure.hpp
zhengyuzhang1/QuantLib
65867ab7c44419b69e40e553b41230744b83cff9
[ "BSD-3-Clause" ]
5
2020-06-04T15:19:22.000Z
2020-06-18T08:24:37.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl Copyright (C) 2007, 2008 StatPro Italia srl Copyright (C) 2017 Francois Botha This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and d...
35.758865
98
0.664816
zhengyuzhang1
d93d8e9c9fc4d497c5458a69578e22148aadd130
31
hpp
C++
src/boost_vmd_array.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_vmd_array.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_vmd_array.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/vmd/array.hpp>
15.5
30
0.741935
miathedev
d93da3ce769ea2a0b6bdebad8430307a6c9669c2
3,071
cpp
C++
opticalFlowApp1/src/ofApp.cpp
aa-debdeb/openFrameworks
c535eaa4a386879ef5db551357b29135b60520a0
[ "MIT" ]
1
2020-05-26T09:23:30.000Z
2020-05-26T09:23:30.000Z
opticalFlowApp1/src/ofApp.cpp
aadebdeb/openFrameworks
c535eaa4a386879ef5db551357b29135b60520a0
[ "MIT" ]
null
null
null
opticalFlowApp1/src/ofApp.cpp
aadebdeb/openFrameworks
c535eaa4a386879ef5db551357b29135b60520a0
[ "MIT" ]
2
2018-12-18T09:12:55.000Z
2021-05-26T04:27:37.000Z
#include "ofApp.h" using namespace ofxCv; using namespace cv; //-------------------------------------------------------------- void ofApp::setup(){ ofSetFrameRate(60); camera.setup(320, 240); gui.setup(); gui.add(fbPyrScale.set("fbPyrScale", .5, 0, .99)); gui.add(fbLevels.set("fbLevels",...
26.474138
94
0.447086
aa-debdeb
d93f12f5799f74fddc5cea504535c8da95092caf
712
cpp
C++
TimeTableGenerator/src/Colors.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
TimeTableGenerator/src/Colors.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
TimeTableGenerator/src/Colors.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#include <string> #include <map> #include "../include/Colors.hpp" int SubstituteColors( std::string & str ) { int len = 0; std::string var; for( std::string::iterator it = str.begin(); it != str.end(); ) { if( * it == '{' && it + 1 != str.end() ) { it = str.erase( it ); if( * it == '{' ) { len++; ...
18.25641
70
0.464888
Electrux
d949945e1d6bfbef9602f86e463bd04c8c5c2734
1,416
cpp
C++
tdutils/td/utils/port/detail/ThreadIdGuard.cpp
takpare/-T
6c706f45e7a73c936b9f2f267785092c8a73348f
[ "BSL-1.0" ]
1
2022-02-04T01:49:51.000Z
2022-02-04T01:49:51.000Z
tdutils/td/utils/port/detail/ThreadIdGuard.cpp
shafiahmed/td
19ef0361f9e4bf7e45e117f2fd12307629298d5e
[ "BSL-1.0" ]
null
null
null
tdutils/td/utils/port/detail/ThreadIdGuard.cpp
shafiahmed/td
19ef0361f9e4bf7e45e117f2fd12307629298d5e
[ "BSL-1.0" ]
null
null
null
// // Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2018 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "td/utils/port/detail/ThreadIdGuard.h" #include "td...
26.716981
96
0.695621
takpare
d951492eb5b7308620f090ddc66b4b3d40280e35
293
hpp
C++
WinSensor/Source/HRESULT_Support.hpp
SekiShuhei/ARWorkspace
917089e29f5ea41336ffea4cd6f545bffb1f1c16
[ "Apache-2.0" ]
null
null
null
WinSensor/Source/HRESULT_Support.hpp
SekiShuhei/ARWorkspace
917089e29f5ea41336ffea4cd6f545bffb1f1c16
[ "Apache-2.0" ]
5
2020-04-17T10:08:29.000Z
2020-04-26T07:17:18.000Z
WinSensor/Source/HRESULT_Support.hpp
SekiShuhei/ARWorkspace
917089e29f5ea41336ffea4cd6f545bffb1f1c16
[ "Apache-2.0" ]
null
null
null
#pragma once #include "SensorManagerDefine.hpp" namespace WinSensor { class HRESULT_Support { public: inline bool IsError() const { return FAILED(this->result); } inline HRESULT GetResult() const { return this->result; } protected: HRESULT result = S_OK; }; }
13.952381
35
0.668942
SekiShuhei
d9534321c02648b59665b03a32e04b2229ab4343
2,955
hpp
C++
bbdata/prbs.hpp
kb3gtn/kb3gtn_sdr
384c2ea7c778cd0ddbf355a705a19cbf08725d4e
[ "MIT" ]
null
null
null
bbdata/prbs.hpp
kb3gtn/kb3gtn_sdr
384c2ea7c778cd0ddbf355a705a19cbf08725d4e
[ "MIT" ]
null
null
null
bbdata/prbs.hpp
kb3gtn/kb3gtn_sdr
384c2ea7c778cd0ddbf355a705a19cbf08725d4e
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <vector> #include <cstdint> #include <cmath> // PRBS patterns enum prbs_pattern_t { USER = 0, ALL_ZEROS = 1, ALL_ONES = 2, ALT_ONE_ZERO = 3, ITU_PN9 = 4, ITU_PN11 = 5, ITU_PN15 = 6, ITU_PN23 = 7 }; // utility methods int popcount64(uint64_t x); uint8_t flipbit...
29.257426
92
0.679188
kb3gtn
d9537b7a24ec7b4dbd1d631dd0d30ca6a7139118
1,163
hpp
C++
ares/sfc/coprocessor/competition/competition.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/sfc/coprocessor/competition/competition.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/sfc/coprocessor/competition/competition.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
//HLE of the NEC uPD78P214GC processor found on SNES-EVENT PCBs, used by: //* Campus Challenge '92 //* PowerFest '94 //The NEC uPD78214 family are 8-bit microprocessors containing: //* UART/CSI serial interface //* ALU (MUL, DIV, BCD) //* interrupts (12 internal; 7 external; 2 priority levels) //* 16384 x 8-bit ROM //...
23.734694
77
0.698194
CasualPokePlayer
d953a2cc6db36ee829db0d1e0b7f9d9fd9adaaa3
307
hpp
C++
libs/libwarhammerengine/model.hpp
julienlopez/QWarhammerSimulator
bd6f5b657dab36da0abdf14747434a1c9e9eaf20
[ "MIT" ]
null
null
null
libs/libwarhammerengine/model.hpp
julienlopez/QWarhammerSimulator
bd6f5b657dab36da0abdf14747434a1c9e9eaf20
[ "MIT" ]
6
2021-01-07T07:38:46.000Z
2021-07-13T16:43:35.000Z
libs/libwarhammerengine/model.hpp
julienlopez/QWarhammerSimulator
bd6f5b657dab36da0abdf14747434a1c9e9eaf20
[ "MIT" ]
null
null
null
#pragma once #include "characteristics.hpp" #include "point.hpp" #include <string> namespace QWarhammerSimulator::LibWarhammerEngine { struct Model { std::string name; LibGeometry::Point base_size; Characteristics characteristics; }; } // namespace QWarhammerSimulator::LibWarhammerEngine
15.35
54
0.762215
julienlopez
d9564bc29a2194995a78829e4d6319abb350a4c7
133
cpp
C++
contest/AtCoder/abc002/C.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/abc002/C.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/abc002/C.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "geometry/segment.hpp" int main() { Point a(in), b(in), c(in); cout << (Segment(b - a, c - a)).area().abs() << endl; }
19
55
0.541353
not522
d957ce783bc07533b3b1a826a0fdd55463ac8b8a
2,678
hpp
C++
gazebo_ros2_control_bolt/include/gazebo_ros2_control_bolt/gazebo_bolt_ros2_control_plugin.hpp
stack-of-tasks/ros2_control_bolt
0be202ffffc7b22118db38d77a8d52e572dc4d13
[ "Apache-2.0" ]
5
2022-01-10T14:26:12.000Z
2022-02-01T12:36:55.000Z
gazebo_ros2_control_bolt/include/gazebo_ros2_control_bolt/gazebo_bolt_ros2_control_plugin.hpp
stack-of-tasks/ros2_control_bolt
0be202ffffc7b22118db38d77a8d52e572dc4d13
[ "Apache-2.0" ]
3
2022-01-15T14:44:45.000Z
2022-02-01T05:54:13.000Z
gazebo_ros2_control_bolt/include/gazebo_ros2_control_bolt/gazebo_bolt_ros2_control_plugin.hpp
stack-of-tasks/ros2_control_bolt
0be202ffffc7b22118db38d77a8d52e572dc4d13
[ "Apache-2.0" ]
3
2022-01-10T13:05:20.000Z
2022-01-14T17:51:05.000Z
// Copyright (c) 2013, Open Source Robotics Foundation. All rights reserved. // Copyright (c) 2013, The Johns Hopkins University. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redist...
39.382353
91
0.775205
stack-of-tasks
d95c47b8c9dd490dbb4a6ad37778a670d2cbf32c
2,658
hxx
C++
include/prevc/pipeline/AST/new.hxx
arazeiros/prevc
378f045f57b2e1c9460ac1699951291ac055c078
[ "MIT" ]
3
2018-10-30T20:33:45.000Z
2019-03-06T11:46:31.000Z
include/prevc/pipeline/AST/new.hxx
arazeiros/prevc
378f045f57b2e1c9460ac1699951291ac055c078
[ "MIT" ]
null
null
null
include/prevc/pipeline/AST/new.hxx
arazeiros/prevc
378f045f57b2e1c9460ac1699951291ac055c078
[ "MIT" ]
null
null
null
#ifndef PREVC_PIPELINE_AST_NEW_HXX #define PREVC_PIPELINE_AST_NEW_HXX #include <prevc/pipeline/AST/expression.hxx> #include <prevc/pipeline/AST/type.hxx> namespace prevc { namespace pipeline { namespace AST { /** * \brief Represent an new-expression in the AST. ...
34.519481
101
0.501129
arazeiros
d95f42fba2d8cfeff48263ce830de7bf6ac7aa37
1,950
cpp
C++
LuoguCodes/P1589.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1589.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1589.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
// luogu-judger-enable-o2 #include <cmath> #include <cctype> #include <cstdio> #include <cstring> #include <set> #include <map> #include <stack> #include <queue> #include <string> #include <vector> #include <numeric> #include <iomanip> #include <iostream> #include <algorithm> #define fn "cover" #define ll long long #de...
23.214286
78
0.53641
Anguei
d9661b5f5ede8062fd17df72765419140b3ebbc0
2,202
cpp
C++
src/cpp/game_logic/player.cpp
Tomius/pyromaze
7100f0ef6972b62829b2ad2dd7e7e88af697a5c2
[ "MIT" ]
null
null
null
src/cpp/game_logic/player.cpp
Tomius/pyromaze
7100f0ef6972b62829b2ad2dd7e7e88af697a5c2
[ "MIT" ]
null
null
null
src/cpp/game_logic/player.cpp
Tomius/pyromaze
7100f0ef6972b62829b2ad2dd7e7e88af697a5c2
[ "MIT" ]
null
null
null
// Copyright (c) Tamas Csala #include <lodepng.h> #include <Silice3D/core/scene.hpp> #include <Silice3D/core/game_engine.hpp> #include <Silice3D/debug/debug_texture.hpp> #include "game_logic/player.hpp" #include "game_logic/dynamite.hpp" #include "./main_scene.hpp" void ShowYouDiedScreen(Silice3D::ShaderManager* sha...
34.40625
103
0.676658
Tomius
d96db87e22f59ed963625bee6b3581e9e22025a1
4,098
cpp
C++
src/mc.cpp
byrnedj/lsm-sim
ec45d2eb784357ee4c917cb3d4e3a10430886dae
[ "ISC" ]
13
2017-02-05T09:41:57.000Z
2022-02-13T14:38:28.000Z
src/mc.cpp
byrnedj/lsm-sim
ec45d2eb784357ee4c917cb3d4e3a10430886dae
[ "ISC" ]
13
2016-03-17T17:43:58.000Z
2017-01-11T09:21:45.000Z
src/mc.cpp
utah-scs/lsm-sim
730e339cb4d5a719407643c8bb45a6c3dde1bfb8
[ "0BSD" ]
7
2017-01-03T18:11:08.000Z
2021-03-09T12:30:12.000Z
#include <iostream> #include <cinttypes> #include <cstring> #include <utility> #include <stdio.h> #include "mc.h" static const int MAX_NUMBER_OF_SLAB_CLASSES = 64; static const size_t POWER_SMALLEST = 1; static const size_t POWER_LARGEST = 256; static const size_t CHUNK_ALIGN_BYTES = 8; static const size_t chunk_size ...
32.267717
80
0.641532
byrnedj
d9703f9c892af53cc55607571e8afe489bccd9a1
5,780
cpp
C++
src/TCPConnectionServer.cpp
sempr-tk/sempr-gui
ba96dca6945122a157f61fec9e41f4aa6060e3b2
[ "BSD-3-Clause" ]
null
null
null
src/TCPConnectionServer.cpp
sempr-tk/sempr-gui
ba96dca6945122a157f61fec9e41f4aa6060e3b2
[ "BSD-3-Clause" ]
null
null
null
src/TCPConnectionServer.cpp
sempr-tk/sempr-gui
ba96dca6945122a157f61fec9e41f4aa6060e3b2
[ "BSD-3-Clause" ]
null
null
null
#include "TCPConnectionServer.hpp" #include "ECDataZMQ.hpp" #include "LogDataZMQ.hpp" #include "TCPConnectionRequest.hpp" #include <cereal/archives/json.hpp> #include <iostream> namespace sempr { namespace gui { TCPConnectionServer::TCPConnectionServer( DirectConnection::Ptr con, const std::string& p...
30.421053
93
0.614706
sempr-tk
d974bda0d23cdc3228d59dfe7ec6a65218961464
897
cpp
C++
source/PyMaterialX/PyMaterialXGenOsl/PyOslShaderGenerator.cpp
willmuto-lucasfilm/MaterialX
589dbcb5ef292b5e5b64f30aa3fea442a8498ef6
[ "BSD-3-Clause" ]
973
2017-07-06T02:29:09.000Z
2022-02-28T18:49:10.000Z
source/PyMaterialX/PyMaterialXGenOsl/PyOslShaderGenerator.cpp
willmuto-lucasfilm/MaterialX
589dbcb5ef292b5e5b64f30aa3fea442a8498ef6
[ "BSD-3-Clause" ]
1,002
2018-01-09T10:33:07.000Z
2022-03-31T18:35:04.000Z
source/PyMaterialX/PyMaterialXGenOsl/PyOslShaderGenerator.cpp
willmuto-lucasfilm/MaterialX
589dbcb5ef292b5e5b64f30aa3fea442a8498ef6
[ "BSD-3-Clause" ]
305
2017-07-11T19:05:41.000Z
2022-02-14T12:25:43.000Z
// // TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <PyMaterialX/PyMaterialX.h> #include <MaterialXGenOsl/OslShaderGenerator.h> #include <MaterialXGenShader/GenContext.h> #include <MaterialXGenShader/Shader.h> #include <string>...
30.931034
113
0.7068
willmuto-lucasfilm
d97716c7906995a33c5fcfb3954329533f61c951
9,609
cpp
C++
lume/src/lume/grob.cpp
sreiter/lume
a321cbc35376684b711a8c54cd88eea7ce786d05
[ "BSD-2-Clause" ]
6
2018-09-11T12:05:55.000Z
2021-11-27T11:56:33.000Z
lume/src/lume/grob.cpp
sreiter/lume
a321cbc35376684b711a8c54cd88eea7ce786d05
[ "BSD-2-Clause" ]
2
2019-10-06T21:05:15.000Z
2019-10-08T09:09:30.000Z
lume/src/lume/grob.cpp
sreiter/lume
a321cbc35376684b711a8c54cd88eea7ce786d05
[ "BSD-2-Clause" ]
2
2018-12-25T00:57:17.000Z
2019-10-06T21:05:39.000Z
// This file is part of lume, a C++ library for lightweight unstructured meshes // // Copyright (C) 2018, 2019 Sebastian Reiter // Copyright (C) 2018 G-CSC, Goethe University Frankfurt // Author: Sebastian Reiter <s.b.reiter@gmail.com> // All rights reserved. // // Redistribution and use in source and binary forms, wit...
28.014577
112
0.714018
sreiter
d97808de077bc4a6e83f133391500728b8e77233
20,741
cpp
C++
binding/WebAssembly/applications/wFormats/wFormats.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
30
2020-09-16T17:39:36.000Z
2022-02-17T08:32:53.000Z
binding/WebAssembly/applications/wFormats/wFormats.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
7
2020-11-23T14:37:15.000Z
2022-01-17T11:35:32.000Z
binding/WebAssembly/applications/wFormats/wFormats.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
5
2020-09-17T00:39:14.000Z
2021-08-30T16:14:07.000Z
// IDDN FR.001.250001.004.S.X.2019.000.00000 /** * * ULIS *__________________ * * @file wFormats.cpp * @author Clement Berthaud * @brief Formats application for wasm ULIS. * @copyright Copyright 2018-2021 Praxinos, Inc. All Rights Reserved. * @license Please refer to LICENSE.md */ #includ...
104.752525
114
0.336532
Fabrice-Praxinos
d978ce34b2efaee9bf4b740929bdddf506aa29b3
7,366
inl
C++
volume/Unified2/src/Task/ElasticVolumeMesh/Distributed/DistributedElasticVolumeMeshCommon.inl
llmontoryxd/mipt_diploma
7d7d65cd619fe983736773f95ebb50b470adbed2
[ "MIT" ]
null
null
null
volume/Unified2/src/Task/ElasticVolumeMesh/Distributed/DistributedElasticVolumeMeshCommon.inl
llmontoryxd/mipt_diploma
7d7d65cd619fe983736773f95ebb50b470adbed2
[ "MIT" ]
null
null
null
volume/Unified2/src/Task/ElasticVolumeMesh/Distributed/DistributedElasticVolumeMeshCommon.inl
llmontoryxd/mipt_diploma
7d7d65cd619fe983736773f95ebb50b470adbed2
[ "MIT" ]
null
null
null
template<typename Space, typename FunctionSpace> typename Space::IndexType DistributedElasticVolumeMeshCommon<Space, FunctionSpace>::GetSyncDataSize(IndexType dstDomainIndex) const { return syncDataSizes[dstDomainIndex]; } template<typename Space, typename FunctionSpace> void DistributedElasticVolumeMeshCommon<Sp...
39.816216
146
0.771518
llmontoryxd
d97aa82743ee3cd0b534a9895eb818613dd5fa36
6,003
cpp
C++
src/Core/Canvas.cpp
dgi09/2DGameEngine
18eff334f2ebf469d780688b2bfee6af760a699d
[ "BSD-2-Clause" ]
1
2017-03-13T22:07:35.000Z
2017-03-13T22:07:35.000Z
src/Core/Canvas.cpp
dgi09/2DGameEngine
18eff334f2ebf469d780688b2bfee6af760a699d
[ "BSD-2-Clause" ]
null
null
null
src/Core/Canvas.cpp
dgi09/2DGameEngine
18eff334f2ebf469d780688b2bfee6af760a699d
[ "BSD-2-Clause" ]
null
null
null
#include "Canvas.h" using namespace DirectX; Canvas::Canvas(HWND handle, UINT width, UINT height) { this->width = width; this->height = height; DXGI_SWAP_CHAIN_DESC desc; ZeroMemory(&desc,sizeof(DXGI_SWAP_CHAIN_DESC)); desc.BufferCount = 2; desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT; desc.BufferDesc....
26.213974
137
0.775112
dgi09
d97ba6d598c6bf6fb2e084606a3c1214fe97f695
2,838
hpp
C++
flightgoggles_ros_bridge/src/CameraModel/FisheyeModel.hpp
aau-cns/flightgoggles
7e194480b3852bd4ac34467222ffbbbaf9355b77
[ "BSD-2-Clause" ]
null
null
null
flightgoggles_ros_bridge/src/CameraModel/FisheyeModel.hpp
aau-cns/flightgoggles
7e194480b3852bd4ac34467222ffbbbaf9355b77
[ "BSD-2-Clause" ]
null
null
null
flightgoggles_ros_bridge/src/CameraModel/FisheyeModel.hpp
aau-cns/flightgoggles
7e194480b3852bd4ac34467222ffbbbaf9355b77
[ "BSD-2-Clause" ]
null
null
null
/// Copyright (C) 2020 Martin Scheiber, Control of Networked Systems, /// University of Klagenfurt, Austria. /// /// All rights reserved. /// /// This software is licensed under the terms of the BSD-2-Clause-License with /// no commercial use allowed, the full terms of which are made available in the /// LICENSE file. ...
34.192771
118
0.621917
aau-cns
d99218e47bd6535383e54e5ac49519f1fd2626ae
1,350
hpp
C++
deployment/configenv/xml_jlibpt/ConfigEnvFactory.hpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
286
2015-01-03T12:45:17.000Z
2022-03-25T18:12:57.000Z
deployment/configenv/xml_jlibpt/ConfigEnvFactory.hpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
9,034
2015-01-02T08:49:19.000Z
2022-03-31T20:34:44.000Z
deployment/configenv/xml_jlibpt/ConfigEnvFactory.hpp
cloLN/HPCC-Platform
42ffb763a1cdcf611d3900831973d0a68e722bbe
[ "Apache-2.0" ]
208
2015-01-02T03:27:28.000Z
2022-02-11T05:54:52.000Z
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2018 HPCC Systems®. 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...
29.347826
90
0.66963
davidarcher
d99220c4343da522edb4e2580575a7cc271d3adc
2,400
cpp
C++
game/source/src/Projectile_creator.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
5
2019-02-12T07:23:55.000Z
2020-06-22T15:03:36.000Z
game/source/src/Projectile_creator.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
null
null
null
game/source/src/Projectile_creator.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
2
2019-06-17T05:04:21.000Z
2020-04-22T09:05:57.000Z
#include "Projectile_creator.hpp" #include "Creator.hpp" #include "Game_object.hpp" #include "Projectile.hpp" #include "vec2.hpp" #include "vec3.hpp" #include "AABB_2d.hpp" #include "Animator_controller.hpp" #include "Animator_state.hpp" #include "Sprite_atlas.hpp" #include "Sprite_atlas_manager.hpp" #include "strin...
33.333333
112
0.7375
mateusgondim