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
c336a6a036109add6348ec7822573ea69ff570bd
46,877
cpp
C++
TouchGFX/generated/images/src/__designer/image_Blue_Slider_Vertical_Small_Indicators_Slider3_Vertical_Round_nob.cpp
lnarolski/mearm-stm32f429i
1130ac799337d30638b90639154b8846f47cee14
[ "MIT" ]
1
2022-01-06T23:57:08.000Z
2022-01-06T23:57:08.000Z
TouchGFX/generated/images/src/__designer/image_Blue_Slider_Vertical_Small_Indicators_Slider3_Vertical_Round_nob.cpp
lnarolski/mearm-stm32f429i
1130ac799337d30638b90639154b8846f47cee14
[ "MIT" ]
null
null
null
TouchGFX/generated/images/src/__designer/image_Blue_Slider_Vertical_Small_Indicators_Slider3_Vertical_Round_nob.cpp
lnarolski/mearm-stm32f429i
1130ac799337d30638b90639154b8846f47cee14
[ "MIT" ]
null
null
null
// 4.15.0 0x5ba958ab D2 AY R0 FARGB8888 U565 N0 SExtFlashSection // Generated by imageconverter. Please, do not edit! #include <touchgfx/hal/Config.hpp> LOCATION_PRAGMA("ExtFlashSection") KEEP extern const unsigned char image_blue_slider_vertical_small_indicators_slider3_vertical_round_nob[] LOCATION_ATTRIBUTE("ExtFl...
75.364952
170
0.632997
lnarolski
c336fb9a4c5266a20ca94bc1d4c87ab5eaa24c37
1,481
hpp
C++
third_party/boost/simd/algorithm/copy.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/algorithm/copy.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/algorithm/copy.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file @copyright 2017 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) **/ //==========================...
25.982456
100
0.577313
SylvainCorlay
c33a3532d94312a28afb9ff362462d4adbfe464c
8,097
cpp
C++
MetroGame/Components/BasicParticleSystem.cpp
zjxeditor/UWP-Game-Engine
3c0886f8789b046c2d2d8073073cd89960ee514f
[ "MIT" ]
12
2016-06-01T13:15:40.000Z
2021-11-17T11:38:32.000Z
MetroGame/Components/BasicParticleSystem.cpp
zjxeditor/UWP-Game-Engine
3c0886f8789b046c2d2d8073073cd89960ee514f
[ "MIT" ]
1
2016-01-12T02:58:34.000Z
2016-01-14T13:50:49.000Z
MetroGame/Components/BasicParticleSystem.cpp
zjxeditor/UWPMiniEngine
3c0886f8789b046c2d2d8073073cd89960ee514f
[ "MIT" ]
9
2016-08-04T11:03:42.000Z
2021-01-12T23:12:54.000Z
#include "pch.h" #include "BasicParticleSystem.h" #include <algorithm> #include <vector> #include <sstream> #include "Common/DirectXHelper.h" #include "Common/GeometryGenerator.h" #include "Common/MathHelper.h" #include "Common/ShaderChangement.h" #include "Common/RenderStateMgr.h" using namespace Microsoft::WRL; usin...
31.022989
107
0.753365
zjxeditor
c33ca5ff26e0bf6b67465991762cc8b19f64dbbe
2,743
hpp
C++
include/rush/ast/decls/nested.hpp
rtlayzell/rush
a11392f2f81518835db4a95c5ccd81542b70f9bb
[ "ECL-2.0", "Apache-2.0" ]
7
2020-05-08T01:57:35.000Z
2022-01-16T03:14:49.000Z
include/rush/ast/decls/nested.hpp
rtlayzell/rush
a11392f2f81518835db4a95c5ccd81542b70f9bb
[ "ECL-2.0", "Apache-2.0" ]
1
2020-05-27T08:45:52.000Z
2020-05-27T08:45:52.000Z
include/rush/ast/decls/nested.hpp
rush-lang/rush
e1e2173452715ff92f58c0f333b74403dd06a815
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/************************************************************************* * Copyright 2018 Reegan Troy Layzell * * 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...
29.180851
77
0.622311
rtlayzell
c346403a2b0f2168958f068858a727138111ea0a
3,150
cpp
C++
pipeline/src/pipeline/file/fileSystem.cpp
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
6
2015-04-21T11:30:52.000Z
2020-04-29T00:10:04.000Z
pipeline/src/pipeline/file/fileSystem.cpp
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
null
null
null
pipeline/src/pipeline/file/fileSystem.cpp
pixelballoon/pixelboost
085873310050ce62493df61142b7d4393795bdc2
[ "MIT" ]
null
null
null
#include "pipeline/file/fileSystem.h" using namespace pl; File::File(FILE* file) : _File(file) { } File::~File() { fclose(_File); } bool File::ReadAll(std::vector<unsigned char>& data) { if (!_File) return false; long len; unsigned char* temp; fseek(_File, 0, SEEK_END); ...
16.666667
72
0.585079
pixelballoon
c34dc634831574eee62076619c9b402a1b8cd76a
267
hpp
C++
include/utility/trait/opt/__twochar__.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
2
2017-12-10T10:59:48.000Z
2017-12-13T04:11:14.000Z
include/utility/trait/opt/__twochar__.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
include/utility/trait/opt/__twochar__.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
#ifndef __UTILITY_TRAIT_OPT___TWOCHAR____ #define __UTILITY_TRAIT_OPT___TWOCHAR____ namespace utility { namespace trait { namespace __opt__ { struct __twochar__ { char __tmp[2];}; } } } #endif // ! __UTILITY_TRAIT_OPT___TWOCHAR____
13.35
45
0.707865
SakuraLife
c34faaa937f94cdda5d60a58ceeaa203937743a8
1,094
cpp
C++
Game/Menu/EnterStateAction.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
Game/Menu/EnterStateAction.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
Game/Menu/EnterStateAction.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // EnterStateAction.cpp // Implementation of the Class EnterStateAction // Created on: 28-mar-2008 10:25:48 // Original author: sfish /////////////////////////////////////////////////////////// #include "EnterStateAction.h" #include "Game.h" ...
22.326531
75
0.61426
LukasKalinski
c3526770c617de2fec8c1dbef0171436f3e904f5
11,712
cpp
C++
src/shmfw/modules/figure/src/figure.cpp
ShmFw/shmfw
d386841f8b1425cbeca8c8a3fc6919bf8d83c38e
[ "BSD-3-Clause" ]
1
2016-02-06T14:57:32.000Z
2016-02-06T14:57:32.000Z
src/shmfw/modules/figure/src/figure.cpp
ShmFw/shmfw
d386841f8b1425cbeca8c8a3fc6919bf8d83c38e
[ "BSD-3-Clause" ]
null
null
null
src/shmfw/modules/figure/src/figure.cpp
ShmFw/shmfw
d386841f8b1425cbeca8c8a3fc6919bf8d83c38e
[ "BSD-3-Clause" ]
1
2018-11-07T02:45:24.000Z
2018-11-07T02:45:24.000Z
/*************************************************************************** * Software License Agreement (BSD License) * * Copyright (C) 2012 by Markus Bader <markus.bader@tuwien.ac.at> * * * * Redistr...
48.197531
144
0.555584
ShmFw
c35359df45f85cdbbf5bbbc4fc56f0ecc7ef672c
226
cpp
C++
Image.cpp
ChistyakovArtem/ImageProcessor
ad6e9ab64a77136f2ef5227dfe755254abf856f4
[ "MIT" ]
null
null
null
Image.cpp
ChistyakovArtem/ImageProcessor
ad6e9ab64a77136f2ef5227dfe755254abf856f4
[ "MIT" ]
null
null
null
Image.cpp
ChistyakovArtem/ImageProcessor
ad6e9ab64a77136f2ef5227dfe755254abf856f4
[ "MIT" ]
null
null
null
// // Created by artem on 26.03.2022. // #include "Image.h" Image::Image(const std::string& path) { ReadBMP(path); } void Image::ApplyFilter(const BaseFilter& f) { img_ = f.ApplyTransformation(img_); }
16.142857
47
0.619469
ChistyakovArtem
c3549afdcc9d77b64eef794ab3f474c3ee63d9a6
930
hh
C++
include/Matrix4x4.hh
KPO-2020-2021/zad4-kamil-siwek
883641d52d3e1c0a666af77e46f4a9db059109b7
[ "Unlicense" ]
null
null
null
include/Matrix4x4.hh
KPO-2020-2021/zad4-kamil-siwek
883641d52d3e1c0a666af77e46f4a9db059109b7
[ "Unlicense" ]
null
null
null
include/Matrix4x4.hh
KPO-2020-2021/zad4-kamil-siwek
883641d52d3e1c0a666af77e46f4a9db059109b7
[ "Unlicense" ]
null
null
null
#pragma once #include "matrix.hh" typedef Matrix<4> Matrix4x4; void funkcja(double alfa, double beta, double gamma , Vector<3> translacja) { alfa=alfa*M_PI/180; beta=beta*M_PI/180; gamma=gamma*M_PI/180; Matrix4x4 wynik; wynik(0, 0) = cos(alfa)*cos(beta); wynik(0, 1) = cos(alfa)*sin(b...
27.352941
75
0.582796
KPO-2020-2021
c3553a3bf858f4e1582cecb14da70ae0000318c3
6,202
hpp
C++
net80211/wpi/IntelWiFiDriver.hpp
Champ-Goblem/IntelWiFiDriver---Voodoo80211
593128156412690a785a55a3d7615f83b0f54b74
[ "BSD-2-Clause" ]
97
2020-01-08T10:39:37.000Z
2020-07-27T07:06:25.000Z
net80211/wpi/IntelWiFiDriver.hpp
Champ-Goblem/IntelWiFiDriver---Voodoo80211
593128156412690a785a55a3d7615f83b0f54b74
[ "BSD-2-Clause" ]
10
2020-01-07T19:17:32.000Z
2020-08-12T08:53:23.000Z
net80211/wpi/IntelWiFiDriver.hpp
Champ-Goblem/IntelWiFiDriver---Voodoo80211
593128156412690a785a55a3d7615f83b0f54b74
[ "BSD-2-Clause" ]
5
2020-01-24T03:41:55.000Z
2020-02-17T12:50:26.000Z
// // IntelWiFiDriver.hpp // net80211 // // Created by Administrator on 09/09/2019. // #ifndef IntelWiFiDriver_hpp #define IntelWiFiDriver_hpp #include "../Voodoo80211Device.h" #include "if_wpireg.h" #include "DrvStructs.hpp" #include "IntelWiFiDriver_notif.hpp" #include "iwlwifi_headers/deviceConfigs.h" #include...
35.238636
98
0.747985
Champ-Goblem
c35799d7d7d265c8c0b181593ba3ed480311b05d
2,548
hh
C++
EvtGenModels/EvtDalitzDecayInfo.hh
qdcampagna/BTODSTARLNUNP_EVTGEN_Model
9623a0ffe2625450a1228a80d6baae74ed6c0965
[ "CC0-1.0" ]
null
null
null
EvtGenModels/EvtDalitzDecayInfo.hh
qdcampagna/BTODSTARLNUNP_EVTGEN_Model
9623a0ffe2625450a1228a80d6baae74ed6c0965
[ "CC0-1.0" ]
null
null
null
EvtGenModels/EvtDalitzDecayInfo.hh
qdcampagna/BTODSTARLNUNP_EVTGEN_Model
9623a0ffe2625450a1228a80d6baae74ed6c0965
[ "CC0-1.0" ]
null
null
null
/*********************************************************************** * Copyright 1998-2020 CERN for the benefit of the EvtGen authors * * * * This file is part of EvtGen. * * ...
38.606061
82
0.540031
qdcampagna
c3619c3d3d414d6b8461f27e91a5f5297aef4f79
7,225
cpp
C++
VkRenderer/Source/VkHandlers/VkShaderHandler.cpp
JanVijfhuizen/VkRenderer
5f5848f637dcf587b55ff8bd52bdb56fcf9caab4
[ "MIT" ]
null
null
null
VkRenderer/Source/VkHandlers/VkShaderHandler.cpp
JanVijfhuizen/VkRenderer
5f5848f637dcf587b55ff8bd52bdb56fcf9caab4
[ "MIT" ]
null
null
null
VkRenderer/Source/VkHandlers/VkShaderHandler.cpp
JanVijfhuizen/VkRenderer
5f5848f637dcf587b55ff8bd52bdb56fcf9caab4
[ "MIT" ]
null
null
null
#include "pch.h" #include "VkHandlers/VkShaderHandler.h" #include "VkCore/VkCore.h" #include "VkHandlers/VkCommandBufferHandler.h" namespace vi { void VkShaderHandler::Draw(const uint32_t indexCount) const { vkCmdDrawIndexed(core.GetCommandBufferHandler().GetCurrent(), indexCount, 1, 0, 0, 0); } VkShaderModule...
32.111111
102
0.765121
JanVijfhuizen
c361d57de304d2d1bf6ceee308b45e985db240b2
1,273
hpp
C++
include/utils.hpp
luizschonarth/JVM-8
b828d1e12072b71cbadeb924b7b13661d300f798
[ "MIT" ]
null
null
null
include/utils.hpp
luizschonarth/JVM-8
b828d1e12072b71cbadeb924b7b13661d300f798
[ "MIT" ]
24
2022-03-12T18:38:22.000Z
2022-03-28T00:29:03.000Z
include/utils.hpp
luizschonarth/JVM-8
b828d1e12072b71cbadeb924b7b13661d300f798
[ "MIT" ]
null
null
null
/** * @file utils.hpp * @brief Declaration of auxiliary functions */ #ifndef _UTILS_HPP #define _UTILS_HPP #include "../include/types.hpp" #include "constant_pool_info.hpp" double calc_double(u4 high, u4 low); float calc_float(u4 bytes); long long calc_long(u4 high, u4 low); ifstream open_file(string &filename);...
21.948276
77
0.639434
luizschonarth
c361f66522f09a79a64c2c0da7a00abad590f29d
1,543
cpp
C++
slsv_cnc/src/Coverage/mit-plv-verilog-interface.cpp
command-paul/slsv-master
a703bfaa8031e18e3fb74d3f1f2f4544c75a73ef
[ "BSD-3-Clause" ]
null
null
null
slsv_cnc/src/Coverage/mit-plv-verilog-interface.cpp
command-paul/slsv-master
a703bfaa8031e18e3fb74d3f1f2f4544c75a73ef
[ "BSD-3-Clause" ]
null
null
null
slsv_cnc/src/Coverage/mit-plv-verilog-interface.cpp
command-paul/slsv-master
a703bfaa8031e18e3fb74d3f1f2f4544c75a73ef
[ "BSD-3-Clause" ]
1
2021-01-29T14:29:52.000Z
2021-01-29T14:29:52.000Z
/* #include"Coverage.hpp" #include <iostream> #include <vector> // This is an interface to the riscv formal implementations out there right now. // 1] Framework A :: With the MIT PLV Riscv-semantics with verilog vpi wrappers. // SVA update policy bool SVAssetrions::update(){ for(int i=0;i<Assertions.size();i++){...
22.362319
108
0.723266
command-paul
c361ffc7c6b99f9e39db39c319370a810cf79c88
138,122
cpp
C++
bfvmm/tests/hve/arch/intel_x64/test_check_vmcs_guest_fields.cpp
chp-io/hypervisor
7c1dce35e9e54601de1c4655565fde803ab446f0
[ "MIT" ]
5
2020-03-28T18:31:24.000Z
2022-03-16T07:51:29.000Z
bfvmm/tests/hve/arch/intel_x64/test_check_vmcs_guest_fields.cpp
chp-io/hypervisor
7c1dce35e9e54601de1c4655565fde803ab446f0
[ "MIT" ]
7
2017-11-07T00:25:25.000Z
2018-02-14T18:37:18.000Z
bfvmm/tests/hve/arch/intel_x64/test_check_vmcs_guest_fields.cpp
chp-io/hypervisor
7c1dce35e9e54601de1c4655565fde803ab446f0
[ "MIT" ]
2
2020-05-21T22:57:04.000Z
2020-06-17T15:04:38.000Z
// // Copyright (C) 2019 Assured Information Security, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy,...
31.017741
157
0.718951
chp-io
c36d8fdc0df91caf032c30272fdb67f1982dd14e
1,612
cpp
C++
PATA1035.cpp
Geeks-Z/PAT-Advanced-Level-Practice
6b25d07ae602310215e46c951638b93080b382bf
[ "MIT" ]
null
null
null
PATA1035.cpp
Geeks-Z/PAT-Advanced-Level-Practice
6b25d07ae602310215e46c951638b93080b382bf
[ "MIT" ]
null
null
null
PATA1035.cpp
Geeks-Z/PAT-Advanced-Level-Practice
6b25d07ae602310215e46c951638b93080b382bf
[ "MIT" ]
null
null
null
/* * @Descripttion: Resource:https://blog.csdn.net/yu121380/article/details/88741597 * @version: 1.0 * @Author: Geeks_Z * @Date: 2021-05-31 09:38:51 * @LastEditors: Geeks_Z * @LastEditTime: 2021-05-31 09:39:06 */ #include <bits/stdc++.h> using namespace std; #define e exp(1) #define p acos(-1) #define mod 10000...
18.964706
82
0.511166
Geeks-Z
c375f5229a749978dc18bc9b53e407b4936b03c5
2,969
cpp
C++
aws-cpp-sdk-iotsitewise/source/model/PropertyDataType.cpp
orinem/aws-sdk-cpp
f38413cc1f278689ef14e9ebdd74a489a48776be
[ "Apache-2.0" ]
1
2020-07-16T19:02:58.000Z
2020-07-16T19:02:58.000Z
aws-cpp-sdk-iotsitewise/source/model/PropertyDataType.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-iotsitewise/source/model/PropertyDataType.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
31.252632
92
0.631189
orinem
c377fd19558955ea924b8c35fbaef3ee55a3623c
1,337
cpp
C++
vkoo/src/st/hittables/AABB.cpp
KaiSut0/interactive-hex-meshing
187c926610ca5617f569405c23ab5a62b189e100
[ "MIT" ]
129
2021-09-07T17:15:18.000Z
2022-02-28T08:59:02.000Z
vkoo/src/st/hittables/AABB.cpp
KaiSut0/interactive-hex-meshing
187c926610ca5617f569405c23ab5a62b189e100
[ "MIT" ]
2
2021-10-03T07:30:20.000Z
2022-01-06T16:05:41.000Z
vkoo/src/st/hittables/AABB.cpp
KaiSut0/interactive-hex-meshing
187c926610ca5617f569405c23ab5a62b189e100
[ "MIT" ]
11
2021-09-08T11:29:09.000Z
2022-03-17T08:39:50.000Z
#include "vkoo/st/hittables/AABB.h" namespace vkoo { namespace st { AABB::AABB(const glm::vec3& mn, const glm::vec3& mx) : mn_{mn}, mx_{mx} {} bool AABB::Intersect(const Ray& ray, HitRecord& record) const { auto ray_dir = ray.GetDirection(); auto ray_origin = ray.GetOrigin(); float divx = 1 / (ray_dir[0] + 1e-...
27.285714
78
0.602842
KaiSut0
c378bd262af6eea3bdd133a773edeffd9c807de8
358
cpp
C++
Week 1 April 1st to April 7th/countingElements.cpp
huynhtruc0309/30-Days-Leetcoding-Challenge-Solutions
44f66e2b5278c874cf16468acc12e5f73faf35c9
[ "MIT" ]
10
2020-05-05T14:31:11.000Z
2021-01-04T08:25:29.000Z
Week 1 April 1st to April 7th/countingElements.cpp
huynhtruc0309/30-Days-Leetcoding-Challenge-Solutions
44f66e2b5278c874cf16468acc12e5f73faf35c9
[ "MIT" ]
null
null
null
Week 1 April 1st to April 7th/countingElements.cpp
huynhtruc0309/30-Days-Leetcoding-Challenge-Solutions
44f66e2b5278c874cf16468acc12e5f73faf35c9
[ "MIT" ]
1
2020-05-09T06:14:10.000Z
2020-05-09T06:14:10.000Z
class Solution { public: int countElements(vector<int>& arr) { unordered_set<int> setArr; for(int i=0; i<arr.size(); i++) setArr.insert(arr[i]); int count = 0; for(int i=0; i<arr.size(); i++) { if(setArr.count(arr[i]+1)) count++; } ...
21.058824
41
0.452514
huynhtruc0309
c3793c36f14b69d92002d1163ce97eb4fec14db0
4,395
cpp
C++
task1/test/test.cpp
al-petrushin/kubsu-cpp-tasks
c280a7c7a743742f5b0ba2bb8bc0e02cd2e7bdc9
[ "MIT" ]
null
null
null
task1/test/test.cpp
al-petrushin/kubsu-cpp-tasks
c280a7c7a743742f5b0ba2bb8bc0e02cd2e7bdc9
[ "MIT" ]
null
null
null
task1/test/test.cpp
al-petrushin/kubsu-cpp-tasks
c280a7c7a743742f5b0ba2bb8bc0e02cd2e7bdc9
[ "MIT" ]
null
null
null
// // Created by Alexander Petrushin on 25.04.2021. // #include <iostream> #include "../classic.h" #include "../blocks.h" using namespace std; void printMatrix(string title, vector<vector<double>> matrix, chrono::steady_clock::time_point startTime, chrono::steady_clock::time_point endTime) { cout << title << end...
31.392857
155
0.463254
al-petrushin
c37c745d29d66815c47856e96fb891653ac01ce0
360
hpp
C++
day01/ex06/Weapon.hpp
BimManager/cpp_piscine
170cdb37a057bff5a5d1299d51a6dcfef469bfad
[ "MIT" ]
null
null
null
day01/ex06/Weapon.hpp
BimManager/cpp_piscine
170cdb37a057bff5a5d1299d51a6dcfef469bfad
[ "MIT" ]
null
null
null
day01/ex06/Weapon.hpp
BimManager/cpp_piscine
170cdb37a057bff5a5d1299d51a6dcfef469bfad
[ "MIT" ]
null
null
null
// Copyright 2020 kkozlov #ifndef WEAPON_HPP_ #define WEAPON_HPP_ #include <string> class Weapon { public: explicit Weapon(const std::string& type); const std::string& GetType(void) const; void SetType(const std::string& newType); private: std::string type_; // Weapon(const Weapon& other); Weapon& ope...
17.142857
43
0.711111
BimManager
c37eb64cd57393f9a9cf866d5bfdc23f95ed4816
5,327
cpp
C++
eontypes/HighActions.cpp
janoveaase/eoncpp
bd62aab42f43932da991d603cfb6a66fa0b4355a
[ "BSL-1.0" ]
null
null
null
eontypes/HighActions.cpp
janoveaase/eoncpp
bd62aab42f43932da991d603cfb6a66fa0b4355a
[ "BSL-1.0" ]
null
null
null
eontypes/HighActions.cpp
janoveaase/eoncpp
bd62aab42f43932da991d603cfb6a66fa0b4355a
[ "BSL-1.0" ]
null
null
null
#include "HighActions.h" #include "Bool.h" #include "Byte.h" #include "Char.h" #include "Int.h" #include "Short.h" #include "Long.h" #include "Float.h" #include "Low.h" #include "Index.h" namespace eon { void registerHighActions( scope::Global& scope ) { scope.add( name_construct, new actions::HighConstruct() ); ...
38.323741
93
0.684625
janoveaase
c385b6d798f96fdbe48bc2a55cf651cb18e1b814
6,342
cpp
C++
src/pong/entities.cpp
justinwiel/IPASS
bf2969393401b2baf3c323fe781d172e596e49a3
[ "BSL-1.0" ]
2
2021-06-24T08:45:23.000Z
2022-01-22T20:53:16.000Z
src/pong/entities.cpp
justinwiel/IPASS
bf2969393401b2baf3c323fe781d172e596e49a3
[ "BSL-1.0" ]
null
null
null
src/pong/entities.cpp
justinwiel/IPASS
bf2969393401b2baf3c323fe781d172e596e49a3
[ "BSL-1.0" ]
null
null
null
// Boost Software License - Version 1.0 - August 17th, 2003 // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit the ...
24.870588
183
0.569852
justinwiel
c38992ca62b8272f115b6ef03c6556e1400a069c
3,982
cpp
C++
src/c++/lib/alignment/Quality.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
13
2018-02-09T22:59:39.000Z
2021-11-29T06:33:22.000Z
src/c++/lib/alignment/Quality.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
17
2018-01-26T11:36:07.000Z
2022-02-03T18:48:43.000Z
src/c++/lib/alignment/Quality.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
4
2018-10-19T20:00:00.000Z
2020-10-29T14:44:06.000Z
/** ** Isaac Genome Alignment Software ** Copyright (c) 2010-2017 Illumina, Inc. ** All rights reserved. ** ** This software is provided under the terms and conditions of the ** GNU GENERAL PUBLIC LICENSE Version 3 ** ** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3 ** along with ...
27.273973
92
0.653943
Illumina
c38fbaffb8565209578c4fc9d78175182b855a8a
3,391
hpp
C++
python/include/attributes/smoothnessContourComputerpy.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
python/include/attributes/smoothnessContourComputerpy.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
3
2022-03-23T19:16:08.000Z
2022-03-28T00:40:19.000Z
python/include/attributes/smoothnessContourComputerpy.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
#pragma once #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <pybind11/functional.h> #include <pybind11/numpy.h> #include "morphotree/attributes/attributeComputer.hpp" #include "morphotree/attributes/smoothnessContourComputer.hpp" #include "core/opaque_types.hpp" namespace py = pybind11; namespac...
50.61194
108
0.775877
dennisjosesilva
c39167867fd339a8333f95ca369e8db048b11191
10,289
cpp
C++
thirdparty/vesta/TextureFont.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
thirdparty/vesta/TextureFont.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
thirdparty/vesta/TextureFont.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/* * $Revision: 600 $ $Date: 2011-03-31 18:37:21 -0700 (Thu, 31 Mar 2011) $ * * Copyright by Astos Solutions GmbH, Germany * * this file is published under the Astos Solutions Free Public License * For details on copyright and terms of use see * http://www.astos.de/Astos_Solutions_Free_Public_License.html */ ...
26.65544
99
0.627758
hoehnp
c39519960d76ed72cb0d3087b34456cfdcb54a68
5,397
cpp
C++
jdependsDoc.cpp
ganantharaman/JDepends
1ee6f99a76fb4352a561b4691102bafcae2cca77
[ "Info-ZIP" ]
null
null
null
jdependsDoc.cpp
ganantharaman/JDepends
1ee6f99a76fb4352a561b4691102bafcae2cca77
[ "Info-ZIP" ]
null
null
null
jdependsDoc.cpp
ganantharaman/JDepends
1ee6f99a76fb4352a561b4691102bafcae2cca77
[ "Info-ZIP" ]
null
null
null
/****************************************************************************/ /* */ /* */ /* This code and any software associated is covered by */ ...
25.219626
87
0.489346
ganantharaman
c396a807b81a112c19f8bccfe2c689df7ac68904
7,007
cpp
C++
bones/lua_text.cpp
bonescreater/bones
618ced87a9a2061b0a7879be32b2fea263880f1b
[ "MIT" ]
16
2015-09-02T17:47:53.000Z
2022-03-01T19:12:53.000Z
bones/lua_text.cpp
bonescreater/bones
618ced87a9a2061b0a7879be32b2fea263880f1b
[ "MIT" ]
null
null
null
bones/lua_text.cpp
bonescreater/bones
618ced87a9a2061b0a7879be32b2fea263880f1b
[ "MIT" ]
6
2015-11-11T13:22:59.000Z
2022-03-01T19:13:02.000Z
#include "lua_text.h" #include "lua_context.h" #include "lua_check.h" #include "utils.h" #include "core/text.h" #include "core/encoding.h" namespace bones { static const char * kMetaTableText = "__mt_text"; static const char * kMethodSetFont = "setFont"; static const char * kMethodSetColor = "setColor"; static con...
23.833333
80
0.596404
bonescreater
c3a4c126f18f1dc407500f29f08421d1bc65b11d
11,344
cpp
C++
libs/random/test/test_counter_traits.cpp
DEShawResearch/Random123-Boost
65e3d874b67aa7b3e02d5ad8306462f52d2079c0
[ "BSL-1.0" ]
22
2015-04-08T18:40:56.000Z
2022-03-06T00:08:25.000Z
libs/random/test/test_counter_traits.cpp
DEShawResearch/Random123-Boost
65e3d874b67aa7b3e02d5ad8306462f52d2079c0
[ "BSL-1.0" ]
null
null
null
libs/random/test/test_counter_traits.cpp
DEShawResearch/Random123-Boost
65e3d874b67aa7b3e02d5ad8306462f52d2079c0
[ "BSL-1.0" ]
null
null
null
// Copyright 2014, D. E. Shaw Research. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt ) #include <boost/random/detail/counter_traits.hpp> #include <boost/random/mersenne_twister.hpp> #include <boost/random/uni...
35.339564
106
0.641573
DEShawResearch
c3a893f182a6b1a6e87c5077856e31952a2f7872
152
cpp
C++
src/decima/serializable/object/collection_draw.cpp
torandi/ProjectDecima
617e98164a0e9bf906cf85c86a16dfea3610fc63
[ "MIT" ]
15
2020-08-08T16:17:53.000Z
2022-03-19T19:17:57.000Z
src/decima/serializable/object/collection_draw.cpp
torandi/ProjectDecima
617e98164a0e9bf906cf85c86a16dfea3610fc63
[ "MIT" ]
6
2020-08-09T23:50:50.000Z
2022-02-24T20:52:35.000Z
src/decima/serializable/object/collection_draw.cpp
torandi/ProjectDecima
617e98164a0e9bf906cf85c86a16dfea3610fc63
[ "MIT" ]
6
2021-04-06T09:27:44.000Z
2022-01-14T06:38:45.000Z
#include "decima/serializable/object/collection.hpp" void Decima::Collection::draw() { for (auto& ref : refs.data()) { ref.draw(); } }
19
52
0.611842
torandi
c3a95ee953e2260455fbf565a376b4c1c8b28685
1,081
cpp
C++
iRODS/server/api/src/rsGetMiscSvrInfo.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/server/api/src/rsGetMiscSvrInfo.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/server/api/src/rsGetMiscSvrInfo.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* rsGetMiscSvrInfo.c - server routine that handles the the GetMiscSvrInfo * API */ /* script generated code */ #include "getMiscSvrInfo.hpp" int rsGetMiscSv...
30.027778
85
0.693802
PlantandFoodResearch
ce791b65c6bac6a173a1a8a806422afea556df1d
339
tcc
C++
src/include/randest/data_provider.tcc
renegat96/randest
29449ff61398526cc1b88a1f003ed8fddef14693
[ "MIT" ]
null
null
null
src/include/randest/data_provider.tcc
renegat96/randest
29449ff61398526cc1b88a1f003ed8fddef14693
[ "MIT" ]
null
null
null
src/include/randest/data_provider.tcc
renegat96/randest
29449ff61398526cc1b88a1f003ed8fddef14693
[ "MIT" ]
null
null
null
#pragma once #include <fstream> #include <algorithm> #include <vector> namespace randest { template<typename OutputT> class data_provider { public: virtual size_t size() = 0; virtual OutputT const& operator[](size_t pos) = 0; OutputT at(size_t pos) { return (*this)[pos]; ...
21.1875
58
0.59587
renegat96
ce79804d9d46aab395d889cb8c7374edf4288dfb
5,516
cpp
C++
essentials/Projection.cpp
blancKaty/Singlets
5be6272a2ec67894038956862d4f93930b7d0fce
[ "Apache-2.0" ]
1
2019-04-02T19:15:59.000Z
2019-04-02T19:15:59.000Z
essentials/Projection.cpp
blancKaty/Singlets
5be6272a2ec67894038956862d4f93930b7d0fce
[ "Apache-2.0" ]
null
null
null
essentials/Projection.cpp
blancKaty/Singlets
5be6272a2ec67894038956862d4f93930b7d0fce
[ "Apache-2.0" ]
null
null
null
#include "Projection.hpp" #include <time.h> #include <chrono> int Projection::D=2; int Projection::nd=(D+1)*(D+2)/2; template <typename T> string tostr(const T& t) { ostringstream os; os<<t; return os.str();} Projection::Projection(NormField newn){ n=newn; //creation of the base //suites of coefficients ...
25.655814
101
0.60116
blancKaty
ce8375b2dca95e8ed23a8586702591d5b13ed9cd
1,293
cpp
C++
cpp/FractiontoRecurringDecimal.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
12
2015-03-12T03:27:26.000Z
2021-03-11T09:26:16.000Z
cpp/FractiontoRecurringDecimal.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
null
null
null
cpp/FractiontoRecurringDecimal.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
11
2015-01-28T16:45:40.000Z
2017-03-28T20:01:38.000Z
class Solution { public: string fractionToDecimal(int numerator1, int denominator1) { long long int numerator = numerator1; long long int denominator = denominator1; string res; if(denominator==0) { return ""; } if((numerator<0 && denominator>0) || (numer...
29.386364
93
0.480278
thinksource
ce84d4f57436ffe7d766e0b462bffc5b106911b5
1,296
hpp
C++
lib/PersistentArray.hpp
Imperi13/cp-library
57fb1c1a41699de26d05cf31613c38e95cf8193c
[ "CC0-1.0" ]
null
null
null
lib/PersistentArray.hpp
Imperi13/cp-library
57fb1c1a41699de26d05cf31613c38e95cf8193c
[ "CC0-1.0" ]
null
null
null
lib/PersistentArray.hpp
Imperi13/cp-library
57fb1c1a41699de26d05cf31613c38e95cf8193c
[ "CC0-1.0" ]
null
null
null
#pragma once #include <cassert> #include <memory> template <typename T, std::size_t BITSIZE = 4> class PersistentArray { public: using value_t = T; using size_t = std::size_t; private: struct Node { value_t val; std::array<std::shared_ptr<Node>, 1 << BITSIZE> ch; Node(value_t val_) : val(val_) { ...
24.923077
76
0.617284
Imperi13
ce84edc6500fe7fd0cd764912ae4acfe10c30ab6
18
cpp
C++
MadSword/src/mspch.cpp
koerriva/MadSword
92a042fc0d86da5e481f82afc18ef135ce2ac25a
[ "Apache-2.0" ]
null
null
null
MadSword/src/mspch.cpp
koerriva/MadSword
92a042fc0d86da5e481f82afc18ef135ce2ac25a
[ "Apache-2.0" ]
null
null
null
MadSword/src/mspch.cpp
koerriva/MadSword
92a042fc0d86da5e481f82afc18ef135ce2ac25a
[ "Apache-2.0" ]
null
null
null
#include "mspch.h"
18
18
0.722222
koerriva
ce953ad153f458de514ae2e14df2ce6b1257f737
659
cc
C++
compile/sources/gen/CodeBuilder.cc
castel/libcastel
ed0531dd56431235dbdc254b32b087937819fbe1
[ "Unlicense" ]
4
2016-04-01T12:26:19.000Z
2020-04-25T02:50:40.000Z
compile/sources/gen/CodeBuilder.cc
castel/libcastel
ed0531dd56431235dbdc254b32b087937819fbe1
[ "Unlicense" ]
null
null
null
compile/sources/gen/CodeBuilder.cc
castel/libcastel
ed0531dd56431235dbdc254b32b087937819fbe1
[ "Unlicense" ]
null
null
null
#include <stdexcept> #include <llvm/IR/IRBuilder.h> #include <llvm/IR/LLVMContext.h> #include <llvm/IR/Module.h> #include "castel/gen/CodeBuilder.hh" #include "castel/gen/Scope.hh" #include "castel/gen/SVisitor.hh" using namespace castel; using gen::CodeBuilder; void CodeBuilder::build( llvm::LLVMContext & context,...
28.652174
129
0.69044
castel
ce97fb68b6aaf5aa5c523ac7db077e01b45de426
2,099
hpp
C++
soccer/k_tuning.hpp
koz4k/soccer
7bceea654b50c5c0e18effd38e79249bd295e0a4
[ "MIT" ]
1
2018-09-28T17:04:11.000Z
2018-09-28T17:04:11.000Z
soccer/k_tuning.hpp
koz4k/soccer
7bceea654b50c5c0e18effd38e79249bd295e0a4
[ "MIT" ]
1
2021-04-06T21:57:39.000Z
2021-04-06T21:57:39.000Z
soccer/k_tuning.hpp
koz4k/soccer
7bceea654b50c5c0e18effd38e79249bd295e0a4
[ "MIT" ]
3
2017-08-26T12:06:05.000Z
2019-11-22T16:57:47.000Z
#include "soccer/contest/TwoTeam.h" #include "soccer/contest/Full.h" #include "soccer/ai/MonteCarloTreeSearch.h" #include "soccer/ai/RouletteSearch.h" #include "soccer/ai/MaxOfFewSearch.h" #include "soccer/ai/DeepMaxOfFewSearch.h" #include "soccer/ai/AlphaBeta.h" #include "soccer/ai/heur/ReboundAwareNaive.h" #include "...
38.87037
124
0.585517
koz4k
ce9d25b4f82bd75f9e81c07803c7a27780920c23
37,061
cpp
C++
src/libbidir/path.cpp
mmanzi/gradientdomain-mitsuba
c7c94e66e17bc41cca137717971164de06971bc7
[ "Unlicense" ]
92
2015-09-30T20:41:19.000Z
2022-02-08T03:28:06.000Z
src/libbidir/path.cpp
mmanzi/gradientdomain-mitsuba
c7c94e66e17bc41cca137717971164de06971bc7
[ "Unlicense" ]
null
null
null
src/libbidir/path.cpp
mmanzi/gradientdomain-mitsuba
c7c94e66e17bc41cca137717971164de06971bc7
[ "Unlicense" ]
21
2015-09-29T20:20:04.000Z
2021-01-13T12:20:40.000Z
/* This file is part of Mitsuba, a physically based rendering system. Copyright (c) 2007-2014 by Wenzel Jakob and others. Mitsuba is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation. ...
34.701311
159
0.665147
mmanzi
ce9f52a685faef60794240b692ac4e1ff04a80bf
710
cpp
C++
source/uwp/Renderer/lib/AdaptiveInputLabelConfig.cpp
Illbatting/AdaptiveCards
1dcef8c69715bd56cc4384ab2b1a80906e696922
[ "MIT" ]
478
2017-05-12T19:56:51.000Z
2019-05-05T17:37:30.000Z
source/uwp/Renderer/lib/AdaptiveInputLabelConfig.cpp
joaojmendes/AdaptiveCards
ef1ed54c2123358a909e7bf9f01ecd8949ce5bf0
[ "MIT" ]
1,844
2017-05-12T22:48:46.000Z
2019-05-06T18:21:01.000Z
source/uwp/Renderer/lib/AdaptiveInputLabelConfig.cpp
joaojmendes/AdaptiveCards
ef1ed54c2123358a909e7bf9f01ecd8949ce5bf0
[ "MIT" ]
172
2017-05-15T20:59:12.000Z
2019-05-04T22:27:41.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "AdaptiveInputLabelConfig.h" #include "AdaptiveInputLabelConfig.g.cpp" namespace winrt::AdaptiveCards::Rendering::Uwp::implementation { AdaptiveInputLabelConfig::AdaptiveInputLabelConfig(::Ada...
37.368421
113
0.752113
Illbatting
cea04429726a5273f93ab75cca274d2593686cc0
792
cpp
C++
src/slim_span.cpp
battheresa/acm-practice
6bd25dacd829e2bc27d12cd34eda5dc70978b1ac
[ "MIT" ]
null
null
null
src/slim_span.cpp
battheresa/acm-practice
6bd25dacd829e2bc27d12cd34eda5dc70978b1ac
[ "MIT" ]
null
null
null
src/slim_span.cpp
battheresa/acm-practice
6bd25dacd829e2bc27d12cd34eda5dc70978b1ac
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; int main() { int v, e, a, b, w[105], output[105]; int gap, min = 1000000, count = 0; do { cin >> v >> e; memset(w, 0, sizeof(w)); for (int i = 0; i < e; i++) cin >> a >> b >> w[i]; ...
20.307692
47
0.342172
battheresa
cea0ef4dfcdad5c82e4cd0c951775ac2791d5be3
1,466
cpp
C++
Lisa/src/Platform/Windows/WindowsInput.cpp
keko950/Lisa
481d44b52ba3865306255047aa78c2deeeff8d02
[ "Apache-2.0" ]
1
2020-02-12T16:57:41.000Z
2020-02-12T16:57:41.000Z
Lisa/src/Platform/Windows/WindowsInput.cpp
keko950/Lisa
481d44b52ba3865306255047aa78c2deeeff8d02
[ "Apache-2.0" ]
null
null
null
Lisa/src/Platform/Windows/WindowsInput.cpp
keko950/Lisa
481d44b52ba3865306255047aa78c2deeeff8d02
[ "Apache-2.0" ]
null
null
null
#include "lspch.h" #include "WindowsInput.h" #include <GLFW\glfw3.h> #include "Lisa\Application.h" namespace Lisa { Input* Input::s_Instance = new WindowsInput(); WindowsInput::WindowsInput() { } bool WindowsInput::IsKeyPressedImpl(int keycode) { GLFWwindow* m_Window = static_cast<GLFWwindow*>(Application...
26.178571
106
0.723056
keko950
cea87c8565b5a6ead309c7df8cee14392a7afb14
1,598
cpp
C++
lkRay/Renderer/SurfaceDistribution.cpp
lookeypl/lkRay
c12d87add95f5958d77a8a8a683fc954837b6c60
[ "WTFPL" ]
null
null
null
lkRay/Renderer/SurfaceDistribution.cpp
lookeypl/lkRay
c12d87add95f5958d77a8a8a683fc954837b6c60
[ "WTFPL" ]
null
null
null
lkRay/Renderer/SurfaceDistribution.cpp
lookeypl/lkRay
c12d87add95f5958d77a8a8a683fc954837b6c60
[ "WTFPL" ]
null
null
null
#include "PCH.hpp" #include "SurfaceDistribution.hpp" namespace lkRay { namespace Renderer { SurfaceDistribution::SurfaceDistribution(lkCommon::Allocators::Memory<lkCommon::Allocators::ArenaAllocator>* allocator) : mDistributionAllocator(allocator) , mDistributions{nullptr,} , mDistributionCount(0) { } ...
27.084746
119
0.622028
lookeypl
cea9d3491d2c6f384e6bd5232e28e1b17f6e51c1
1,279
cpp
C++
c++/MainLoop.cpp
Stanislaw-Golebiewski/Snaketron
19e892d4f2e48bf68ef596bb66f8f88f07c35c7a
[ "Apache-2.0" ]
null
null
null
c++/MainLoop.cpp
Stanislaw-Golebiewski/Snaketron
19e892d4f2e48bf68ef596bb66f8f88f07c35c7a
[ "Apache-2.0" ]
null
null
null
c++/MainLoop.cpp
Stanislaw-Golebiewski/Snaketron
19e892d4f2e48bf68ef596bb66f8f88f07c35c7a
[ "Apache-2.0" ]
null
null
null
#include "headers/Game.h" using namespace sf; /* To do: -player tiles in vector - DONE -updating "field" array in logicEngine (Level method) - NO NEEDED? -picking random empty field method (logicEngine) - NOW IT CAN RESPOWN IN SNAKE <--- -implement pick food logic for snake - DONE -snake collision (with wall and anoth...
21.316667
89
0.585614
Stanislaw-Golebiewski
ceb2ad982c05ff074fe447d8bff233f847305669
2,790
cpp
C++
src/buttons/SonoffInternalButton.cpp
rossbeazley/SonoffBoilerplate
fa94bdb84f04be883ce0d032aa3fc520217d2971
[ "MIT" ]
3
2017-11-25T14:26:58.000Z
2020-01-03T18:56:51.000Z
src/buttons/SonoffInternalButton.cpp
rossbeazley/SonoffBoilerplate
fa94bdb84f04be883ce0d032aa3fc520217d2971
[ "MIT" ]
3
2017-10-18T12:13:19.000Z
2018-01-30T12:33:04.000Z
src/buttons/SonoffInternalButton.cpp
rossbeazley/SonoffBoilerplate
fa94bdb84f04be883ce0d032aa3fc520217d2971
[ "MIT" ]
4
2017-10-13T07:09:23.000Z
2017-12-05T08:46:53.000Z
#include "SonoffInternalButton.h" #include <ESP8266WiFi.h> #define SONOFF_BUTTON 0 void SonoffInternalButton::restart() { //TODO turn off relays before restarting ESP.reset(); delay(1000); } void SonoffInternalButton::reset() { //reset wifi credentials WiFi.disconnect(); delay(1000); E...
26.074766
83
0.576344
rossbeazley
ceb685037845dfa1eb30c8e67a7e7eff84409ec9
3,786
tcc
C++
trex/utils/bits/Factory.tcc
miatauro/trex2-agent
d896f8335f3194237a8bba49949e86f5488feddb
[ "BSD-3-Clause" ]
null
null
null
trex/utils/bits/Factory.tcc
miatauro/trex2-agent
d896f8335f3194237a8bba49949e86f5488feddb
[ "BSD-3-Clause" ]
null
null
null
trex/utils/bits/Factory.tcc
miatauro/trex2-agent
d896f8335f3194237a8bba49949e86f5488feddb
[ "BSD-3-Clause" ]
null
null
null
/* -*- C++ -*- */ /** @file "trex/utils/bits/Factory.tcc" * @brief Factory class implementation * * This file provide the implementation of different methods of the * TREX::utils::Factory class * * @author Frederic Py <fpy@mbari.org> * @ingroup utils */ /*********************************************************...
39.852632
77
0.67644
miatauro
ceb6dbd72179237e66aa9ad95157d64b2f2062b0
1,358
cpp
C++
Boundaries.cpp
FlorianSchirrer/fqs_pde1d
e322fb1f4145d301431d92463ce999be66ff1bbf
[ "BSD-3-Clause" ]
null
null
null
Boundaries.cpp
FlorianSchirrer/fqs_pde1d
e322fb1f4145d301431d92463ce999be66ff1bbf
[ "BSD-3-Clause" ]
null
null
null
Boundaries.cpp
FlorianSchirrer/fqs_pde1d
e322fb1f4145d301431d92463ce999be66ff1bbf
[ "BSD-3-Clause" ]
null
null
null
// // Boundaries.cpp // Project C++ // // Created by Florian on 02/01/2020. // Copyright © 2020 Florian. All rights reserved. // #include "Boundaries.hpp" #include <iostream> double Payoff (double S)//Il faudra implémenter la fonction payoff { return S; }; double Payoff_df (double S)//Il faudra implémenter l...
19.126761
85
0.670839
FlorianSchirrer
ceb7b8269712b63cbdbc2fc586f7e9873a1bd06a
4,799
cxx
C++
sink_move.cxx
abk-openroad/BST-DME
157616ef1305a4270abf3d17b8e4c9acba716fa9
[ "BSD-3-Clause" ]
5
2018-08-05T06:41:38.000Z
2019-06-03T17:54:12.000Z
sink_move.cxx
abk-openroad/BST-DME
157616ef1305a4270abf3d17b8e4c9acba716fa9
[ "BSD-3-Clause" ]
null
null
null
sink_move.cxx
abk-openroad/BST-DME
157616ef1305a4270abf3d17b8e4c9acba716fa9
[ "BSD-3-Clause" ]
3
2019-04-25T11:47:07.000Z
2021-08-30T13:49:52.000Z
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2018, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
35.813433
81
0.516983
abk-openroad
ceba0dfad9349537bd1f5af73a93736d576700ed
5,564
cpp
C++
OpenTESArena/src/Interface/AutomapPanel.cpp
TotalCaesar659/OpenTESArena
e72eda7a5e03869309b5ed7375f432d0ad826ff3
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/AutomapPanel.cpp
TotalCaesar659/OpenTESArena
e72eda7a5e03869309b5ed7375f432d0ad826ff3
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/AutomapPanel.cpp
TotalCaesar659/OpenTESArena
e72eda7a5e03869309b5ed7375f432d0ad826ff3
[ "MIT" ]
null
null
null
#include <cmath> #include <unordered_map> #include <vector> #include "AutomapPanel.h" #include "AutomapUiController.h" #include "AutomapUiModel.h" #include "AutomapUiView.h" #include "GameWorldPanel.h" #include "../Assets/ArenaTextureName.h" #include "../Assets/ArenaTypes.h" #include "../Game/CardinalDirection.h" #inc...
34.993711
120
0.766355
TotalCaesar659
cebbd85dcd47e3c144e6b7e205ef297c89387e08
2,118
cpp
C++
src/test/map.cpp
AnotherFoxGuy/settings
cc2fb43ad515e8ff7349e2eb4ddeb3fb96337b1a
[ "MIT" ]
3
2017-09-05T12:25:52.000Z
2021-06-20T12:50:22.000Z
src/test/map.cpp
AnotherFoxGuy/settings
cc2fb43ad515e8ff7349e2eb4ddeb3fb96337b1a
[ "MIT" ]
9
2017-04-07T19:03:58.000Z
2020-08-15T14:02:29.000Z
lib/settings/src/test/map.cpp
Functioneel/chatterino7
81a52498b6850626223f96fa81c3e847c23ee25d
[ "MIT" ]
3
2018-05-27T22:07:09.000Z
2021-02-12T12:44:46.000Z
#include "test/common.hpp" #include <pajlada/settings.hpp> using namespace pajlada::Settings; using namespace std; #ifdef PAJLADA_BOOST_ANY_SUPPORT TEST_CASE("Simple Map", "[settings]") { using boost::any_cast; Setting<map<string, boost::any>> test("/map"); REQUIRE(LoadFile("in.simplemap.json")); ...
31.147059
74
0.642115
AnotherFoxGuy
cebf62610733e7e50426eb6a820d33e5ec0aff47
51
cpp
C++
Molecularity/UI/Wigets/PageSlider_Widget.cpp
kyle-robinson/directx-game
ff5964a6edd3241b703409976f27d68205b9ddd3
[ "CC-BY-4.0" ]
1
2021-06-14T22:44:01.000Z
2021-06-14T22:44:01.000Z
Molecularity/UI/Wigets/PageSlider_Widget.cpp
kyle-robinson/directx-game
ff5964a6edd3241b703409976f27d68205b9ddd3
[ "CC-BY-4.0" ]
null
null
null
Molecularity/UI/Wigets/PageSlider_Widget.cpp
kyle-robinson/directx-game
ff5964a6edd3241b703409976f27d68205b9ddd3
[ "CC-BY-4.0" ]
1
2021-06-04T12:44:06.000Z
2021-06-04T12:44:06.000Z
#include "stdafx.h" #include "PageSlider_Widget.h"
17
30
0.764706
kyle-robinson
cec01134a5ff46ff4db40e11c70cfc999c13ea9c
162,711
cpp
C++
DependentExtensions/portaudio_v18_1/pa_asio/pa_asio.cpp
RichardRanft/RakNet
1a169895a900c9fc4841c556e16514182b75faf8
[ "BSD-2-Clause" ]
1,255
2015-01-01T12:16:18.000Z
2017-05-24T20:56:12.000Z
DependentExtensions/portaudio_v18_1/pa_asio/pa_asio.cpp
RichardRanft/RakNet
1a169895a900c9fc4841c556e16514182b75faf8
[ "BSD-2-Clause" ]
94
2016-11-18T09:55:57.000Z
2021-01-14T08:50:40.000Z
DependentExtensions/portaudio_v18_1/pa_asio/pa_asio.cpp
RichardRanft/RakNet
1a169895a900c9fc4841c556e16514182b75faf8
[ "BSD-2-Clause" ]
535
2015-01-05T01:09:02.000Z
2017-05-17T00:58:03.000Z
/* * $Id: pa_asio.cpp,v 1.7.4.5 2003/06/30 16:27:10 stephane Exp $ * Portable Audio I/O Library for ASIO Drivers * * Author: Stephane Letz * Based on the Open Source API proposed by Ross Bencina * Copyright (c) 2000-2001 Stephane Letz, Phil Burk * * Permission is hereby granted, free of charge, to any person ob...
52.742626
280
0.471806
RichardRanft
cec1f0ba34a7010a8aab0098b31015f97c35a93d
2,136
cpp
C++
simd_pref/src/simd_pref.cpp
timurkelin/simsimd
79431b70cca50a995f2a1f12b3f5abe26e574096
[ "MIT" ]
14
2019-07-16T22:14:21.000Z
2021-09-26T10:20:48.000Z
simd_pref/src/simd_pref.cpp
timurkelin/simsimd
79431b70cca50a995f2a1f12b3f5abe26e574096
[ "MIT" ]
null
null
null
simd_pref/src/simd_pref.cpp
timurkelin/simsimd
79431b70cca50a995f2a1f12b3f5abe26e574096
[ "MIT" ]
3
2020-03-20T02:34:39.000Z
2020-06-28T19:55:28.000Z
/* * simd_pref.cpp * * Description: * Reader and initial parser of the simulation preferences */ #include <string> #include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/detail/file_parser_error.hpp> #include "simd_pref.h" #include "simd_report.h" namespace boost_jp = boost::property_tr...
26.7
93
0.599251
timurkelin
cec57b0b66660ef4286911e9ec5c2f4a71fdc391
2,341
cpp
C++
MonoNative.Tests/mscorlib/System/Collections/Concurrent/mscorlib_System_Collections_Concurrent_ConcurrentQueue_1_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Collections/Concurrent/mscorlib_System_Collections_Concurrent_ConcurrentQueue_1_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Collections/Concurrent/mscorlib_System_Collections_Concurrent_ConcurrentQueue_1_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Collections.Concurrent // Name: ConcurrentQueue`1 // C++ Typed Name: mscorlib::System::Collections::Concurrent::ConcurrentQueue<T> #include <gtest/gtest.h> #include <mscorlib.h> names...
20.535088
93
0.679624
brunolauze
cec9f665e17e8a6ce096504c7b20633895105acd
1,290
hpp
C++
Source/Camera.hpp
claytonkanderson/Fractus
c4012cc40ee81ac042edcc5461c48e02456bcbd0
[ "MIT" ]
null
null
null
Source/Camera.hpp
claytonkanderson/Fractus
c4012cc40ee81ac042edcc5461c48e02456bcbd0
[ "MIT" ]
null
null
null
Source/Camera.hpp
claytonkanderson/Fractus
c4012cc40ee81ac042edcc5461c48e02456bcbd0
[ "MIT" ]
null
null
null
// // Camera.hpp // Fracturing // // Created by Clayton Anderson on 4/16/17. // Copyright © 2017 Clayton Anderson. All rights reserved. // #pragma once #include "core.hpp" #include <glm/vec3.hpp> class Camera { public: Camera() { radius = 25.0f; theta = 0; phi = (float)(0.5*M_PI - 0.1); ...
23.888889
93
0.570543
claytonkanderson
ceca92ea7d1a3e1e605fbd40e317eb0f790dd3e8
1,396
cc
C++
src/logger.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
7
2021-07-28T19:03:08.000Z
2022-02-02T23:17:11.000Z
src/logger.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
2
2021-06-15T22:34:44.000Z
2021-11-10T04:27:21.000Z
src/logger.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
null
null
null
// See LICENSE for license details. #include <cstdio> #include <cstring> #include <cerrno> #include <cstdarg> #include <cstdlib> #include <cstddef> #include <cassert> #include <string> #include <vector> #include "logger.h" #ifdef _WIN32 #include <Windows.h> #endif logger::L logger::level = logger::L::Linfo; const...
22.885246
92
0.617479
michaeljclark
ceceee16abab01b34b8faa07d6d9e791e818fdd1
9,201
cpp
C++
python/dolfinx_contact/wrappers.cpp
Wells-Group/asimov-contact
082e304e1a1078bc001f58b2a03ce7262b3f0db1
[ "MIT" ]
null
null
null
python/dolfinx_contact/wrappers.cpp
Wells-Group/asimov-contact
082e304e1a1078bc001f58b2a03ce7262b3f0db1
[ "MIT" ]
11
2021-11-16T12:11:53.000Z
2022-02-25T16:28:26.000Z
python/dolfinx_contact/wrappers.cpp
Wells-Group/asimov-contact
082e304e1a1078bc001f58b2a03ce7262b3f0db1
[ "MIT" ]
2
2021-07-21T21:12:32.000Z
2021-12-21T11:02:39.000Z
// Copyright (C) 2021 Sarah Roggendorf // // This file is part of DOLFINx_CONTACT // // SPDX-License-Identifier: MIT #include "kernelwrapper.h" #include <array.h> #include <caster_petsc.h> #include <dolfinx/la/petsc.h> #include <dolfinx/mesh/MeshTags.h> #include <dolfinx_contact/Contact.hpp> #include <dolfinx_conta...
45.549505
80
0.56896
Wells-Group
ced7c8258fa486505edacc4193329433d09b2fd7
3,896
cpp
C++
cytofpipe/v1.3/Rlibs/flowWorkspace/cppTest/unitTest/ncdfFlow.cpp
UCL-BLIC/legion-buildscripts
5fd6c4e2a36b5ca35fa06577b2face58174a7d78
[ "MIT" ]
null
null
null
cytofpipe/v1.3/Rlibs/flowWorkspace/cppTest/unitTest/ncdfFlow.cpp
UCL-BLIC/legion-buildscripts
5fd6c4e2a36b5ca35fa06577b2face58174a7d78
[ "MIT" ]
null
null
null
cytofpipe/v1.3/Rlibs/flowWorkspace/cppTest/unitTest/ncdfFlow.cpp
UCL-BLIC/legion-buildscripts
5fd6c4e2a36b5ca35fa06577b2face58174a7d78
[ "MIT" ]
null
null
null
#include "ncdfFlow.hpp" #include <stdexcept> #include <algorithm> ncdfFlow::ncdfFlow(string _fileName){ fileName=_fileName; } ncdfFlow::ncdfFlow(){ } void ncdfFlow::fileName_set(string _fileName){ fileName=_fileName; } string ncdfFlow::fileName_get(){ return fileName; } void ncdfFlow::params_set(vector<string...
25.135484
89
0.690708
UCL-BLIC
ced8067f4d4946d5822317984ba876a6a3efae53
192
cpp
C++
Protocol/CodeGeneratorPrologCPP.cpp
takeupcode/TUCUT
17ef8064792b6b74e311d6438f43970cc97dba77
[ "MIT" ]
8
2018-10-29T02:42:52.000Z
2021-02-04T17:37:14.000Z
Protocol/CodeGeneratorPrologCPP.cpp
takeupcode/TUCUT
17ef8064792b6b74e311d6438f43970cc97dba77
[ "MIT" ]
null
null
null
Protocol/CodeGeneratorPrologCPP.cpp
takeupcode/TUCUT
17ef8064792b6b74e311d6438f43970cc97dba77
[ "MIT" ]
1
2019-11-07T02:18:23.000Z
2019-11-07T02:18:23.000Z
const std::string TUCUT::Protocol::CodeGeneratorCPP::mGeneratedFileProlog = R"TUCUT(// This file was generated from the Protocol compiler. // You should not edit this file directly. )TUCUT";
32
75
0.776042
takeupcode
ced8c6bf4ef1dec2df3d5b535045e76c7aac57f8
1,440
cpp
C++
AssetContainer.cpp
SSBMTonberry/f2src
f1cbc0fd9ac77b8177c3c656af4abfc80b233702
[ "BSD-2-Clause" ]
1
2019-09-24T10:02:23.000Z
2019-09-24T10:02:23.000Z
AssetContainer.cpp
SSBMTonberry/f2src
f1cbc0fd9ac77b8177c3c656af4abfc80b233702
[ "BSD-2-Clause" ]
11
2019-04-15T15:21:35.000Z
2021-01-01T12:44:21.000Z
AssetContainer.cpp
SSBMTonberry/f2src
f1cbc0fd9ac77b8177c3c656af4abfc80b233702
[ "BSD-2-Clause" ]
null
null
null
// // Created by robin on 30.06.17. // #include "AssetContainer.h" #include "AssetParser.h" AssetContainer::AssetContainer() = default; AssetContainer::~AssetContainer() = default; void AssetContainer::initialize(const std::string &mainNamespace, const std::string &loadPath) { m_namespace = mainNamespace; m...
23.606557
108
0.684722
SSBMTonberry
cedf74f23aa08bcac0fac6cf0f5dd9a1056dd080
1,687
cpp
C++
servo_node/src/servo/SignalingControllerPca9685.cpp
CatixBot/ServoNode
d274ca0101e764e0705a1eb2cfa86364d5a0ff7d
[ "MIT" ]
null
null
null
servo_node/src/servo/SignalingControllerPca9685.cpp
CatixBot/ServoNode
d274ca0101e764e0705a1eb2cfa86364d5a0ff7d
[ "MIT" ]
null
null
null
servo_node/src/servo/SignalingControllerPca9685.cpp
CatixBot/ServoNode
d274ca0101e764e0705a1eb2cfa86364d5a0ff7d
[ "MIT" ]
null
null
null
#include "servo/SignalingControllerPCA9685.h" #include "servo/SignalingChannelShared.h" #include <ros/ros.h> //--------------------------------------------------------------------- #define I2C_BUS 1 #define I2C_ADDRESS 0x40 #define SERVO_PULSE_RANGE 4096 #define NUMBER_OF_PWM_CHANNELS 16 //-------------------------...
35.145833
161
0.681091
CatixBot
cee003f1dab9b05c13ae540c043774258dc68aff
1,222
cpp
C++
midasio.cpp
eddy-chan/midas
549842e97c4f8e019a620b9b664454a494b0df41
[ "Apache-2.0" ]
null
null
null
midasio.cpp
eddy-chan/midas
549842e97c4f8e019a620b9b664454a494b0df41
[ "Apache-2.0" ]
null
null
null
midasio.cpp
eddy-chan/midas
549842e97c4f8e019a620b9b664454a494b0df41
[ "Apache-2.0" ]
null
null
null
//============================================================================ // Name : midasio.cpp // Author : Eddy Chan // Version : // Copyright : blah blah blah no copying without permission // Description : Hello World in C, Ansi-style //====================================================...
24.938776
79
0.510638
eddy-chan
cee13b2431780e71713a4c08e7a9b4d39f62b36d
9,541
cpp
C++
src/mesh/spanningtree.cpp
ellery85/sparselizard
7d09e97e9443a436d74cbd241b8466527edb9e2f
[ "MIT" ]
null
null
null
src/mesh/spanningtree.cpp
ellery85/sparselizard
7d09e97e9443a436d74cbd241b8466527edb9e2f
[ "MIT" ]
null
null
null
src/mesh/spanningtree.cpp
ellery85/sparselizard
7d09e97e9443a436d74cbd241b8466527edb9e2f
[ "MIT" ]
null
null
null
#include "spanningtree.h" void spanningtree::growsubtrees(void) { // Initialise: insubtree = std::vector<int>(myelements->count(1), -1); isnodeintree = std::vector<bool>(myelements->count(0),false); numberofsubtrees = 0; for (int i = 0; i < isprioritydisjointregion.size(); i++) { if (...
31.078176
124
0.604654
ellery85
cee69e3c2a642e6df3d002ef28549421c672bb58
16,551
cpp
C++
OpenGLTraining/src/7.Addition/7.47.Debugging.cpp
NewBediver/OpenGLTraining
caf38b9601544e3145b9d2995d9bd28558bf3d11
[ "Apache-2.0" ]
null
null
null
OpenGLTraining/src/7.Addition/7.47.Debugging.cpp
NewBediver/OpenGLTraining
caf38b9601544e3145b9d2995d9bd28558bf3d11
[ "Apache-2.0" ]
null
null
null
OpenGLTraining/src/7.Addition/7.47.Debugging.cpp
NewBediver/OpenGLTraining
caf38b9601544e3145b9d2995d9bd28558bf3d11
[ "Apache-2.0" ]
null
null
null
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <stb/stb_image.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <Shader/Shader.h> #include <Camera/Camera.h> #include <Model/Model.h> #include <iostream> #include <vector> #include <random> void framebu...
36.78
124
0.58788
NewBediver
cef1b62ce3b21434dd7885272bbdb2573270579a
2,554
cpp
C++
CxxProfiler/RunningDialog.cpp
mmozeiko/CxxProfiler
5836f2a948cf97ad87bef0e357fd39c95d07189f
[ "Unlicense" ]
110
2016-05-06T09:17:55.000Z
2022-03-30T02:34:41.000Z
CxxProfiler/RunningDialog.cpp
mmozeiko/CxxProfiler
5836f2a948cf97ad87bef0e357fd39c95d07189f
[ "Unlicense" ]
null
null
null
CxxProfiler/RunningDialog.cpp
mmozeiko/CxxProfiler
5836f2a948cf97ad87bef0e357fd39c95d07189f
[ "Unlicense" ]
5
2017-10-27T10:59:53.000Z
2022-01-10T02:24:41.000Z
#include "RunningDialog.h" #include "Profiler.h" RunningDialog::RunningDialog(QWidget* parent, Profiler* profiler) : QDialog(parent) , mTimer(this) , mProcess(nullptr) , mProfiler(profiler) { ui.setupUi(this); setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); ui.pbProgress-...
34.986301
132
0.679327
mmozeiko
cef5768d3ba1a51ff781275bb03ec78883d68b75
311
cpp
C++
0200/80/281a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
0200/80/281a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
0200/80/281a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <string> void answer(const std::string& v) { std::cout << v << '\n'; } void solve(std::string word) { if (!word.empty()) word[0] = toupper(word[0]); answer(word); } int main() { std::string word; std::cin >> word; solve(word); return 0; }
11.518519
35
0.540193
actium
cef647a9af681d2b29fff7edb2d07901ecfacbd5
873
cpp
C++
src/sconelib/scone/core/RaisedCosine.cpp
alexxlzhou/scone-core
4a071626e5ee7ba253e72a973d4d214fa6e30cf5
[ "Apache-2.0" ]
5
2021-04-30T14:30:20.000Z
2022-03-27T09:58:24.000Z
src/sconelib/scone/core/RaisedCosine.cpp
alexxlzhou/scone-core
4a071626e5ee7ba253e72a973d4d214fa6e30cf5
[ "Apache-2.0" ]
4
2021-06-15T10:52:10.000Z
2021-12-15T10:25:21.000Z
src/sconelib/scone/core/RaisedCosine.cpp
alexxlzhou/scone-core
4a071626e5ee7ba253e72a973d4d214fa6e30cf5
[ "Apache-2.0" ]
2
2021-05-02T13:38:19.000Z
2021-07-22T19:37:07.000Z
#include "RaisedCosine.h" #include "spot/par_tools.h" #include "xo/numerical/constants.h" #include <cmath> using std::cos; constexpr auto pi = xo::constantsd::pi; namespace scone { RaisedCosine::RaisedCosine( const PropNode& pn, Params& par ) : INIT_PAR_MEMBER( pn, par, amplitude, 1 ), INIT_PAR_MEMBER( pn, par,...
22.973684
64
0.627721
alexxlzhou
cef7d6cab6a6e2d182dd45a5290249e74061da36
769
cpp
C++
solutions/uva_11340_newspaper.cpp
pvchaumier/uva
66923f62a0165f6ab6c7d37d487569cd7b308e6f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
solutions/uva_11340_newspaper.cpp
pvchaumier/uva
66923f62a0165f6ab6c7d37d487569cd7b308e6f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
solutions/uva_11340_newspaper.cpp
pvchaumier/uva
66923f62a0165f6ab6c7d37d487569cd7b308e6f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <iomanip> #include <iostream> #include <map> #include <string> using namespace std; int main(int argc, char const *argv[]) { int N, K, M, value; char character; double res; map <char, int> m; string text; cin >> N; while (N--) { m.clear(); res = 0; ci...
17.088889
67
0.403121
pvchaumier
cefca6f6c150b182b7f1b3cfe5cb3c0e365f4346
530
cpp
C++
2021/02. FirstSteps/20321026/MoneyInThePocket/MoneyInThePocket.cpp
GeorgiIT/CS104
7efcc069256dfdb5bc18bd76fbb683edf2cde230
[ "MIT" ]
7
2021-03-24T16:30:45.000Z
2022-03-27T09:02:15.000Z
2021/02. FirstSteps/20321026/MoneyInThePocket/MoneyInThePocket.cpp
GeorgiIT/CS104
7efcc069256dfdb5bc18bd76fbb683edf2cde230
[ "MIT" ]
null
null
null
2021/02. FirstSteps/20321026/MoneyInThePocket/MoneyInThePocket.cpp
GeorgiIT/CS104
7efcc069256dfdb5bc18bd76fbb683edf2cde230
[ "MIT" ]
17
2021-03-22T09:42:22.000Z
2022-03-28T03:24:07.000Z
// Параметри и лице на кръг #include<iostream> #include<cmath> using namespace std; int main() { float m01, m02, m05, m10, m20, m50, m1, m2; cout << "0,01=?", "0,02=?", "0,05=?", "0,10=?", "0,20=?", "0,50=?", "1,00=?", "2,00=?" ; cin >> m01>> m02>> m05>> m10>> m20>> m50>> m1>> m2; float count = m01+ m02+ m05+ m...
25.238095
104
0.507547
GeorgiIT
30110d435b547f8bb3144bdfbb4bcbd446ce3198
22,768
cc
C++
squid/squid3-3.3.8.spaceify/src/adaptation/icap/ServiceRep.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/src/adaptation/icap/ServiceRep.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/src/adaptation/icap/ServiceRep.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
/* * DEBUG: section 93 ICAP (RFC 3507) Client */ #include "squid.h" #include "adaptation/Answer.h" #include "adaptation/icap/Config.h" #include "adaptation/icap/ModXact.h" #include "adaptation/icap/Options.h" #include "adaptation/icap/OptXact.h" #include "adaptation/icap/ServiceRep.h" #include "base/TextException...
31.103825
139
0.645028
spaceify
30139705131b48cfd12e02e6a2b49359c5720968
4,921
cpp
C++
src/Utils/fbo.cpp
XT95/PBGI
ebcfe6e95b7e23c25233441db64a22a5605522eb
[ "MIT" ]
193
2016-03-24T06:19:56.000Z
2022-03-14T13:40:27.000Z
src/Utils/fbo.cpp
Tokiyoru/PBGI
ebcfe6e95b7e23c25233441db64a22a5605522eb
[ "MIT" ]
1
2021-04-14T15:03:00.000Z
2021-04-14T15:03:00.000Z
src/Utils/fbo.cpp
Tokiyoru/PBGI
ebcfe6e95b7e23c25233441db64a22a5605522eb
[ "MIT" ]
19
2016-03-24T08:09:45.000Z
2022-01-18T15:34:59.000Z
#include "Utils/fbo.h" #include "demo.h" #include <iostream> //----------------------------------------------------------------------------- // Constructor //----------------------------------------------------------------------------- FBO::FBO(const unsigned &nbAttachement, bool attachDepthTexture) : m_nbAttach...
32.163399
117
0.560252
XT95
30146be3bdb28e5f0ae1a953f57989e16b99fbed
4,828
hpp
C++
region_allocator.hpp
ralphtandetzky/cpp_utils
3adfed125db6fccd7478385544b96ceecdf435e7
[ "MIT" ]
3
2018-01-04T18:07:32.000Z
2021-09-01T14:19:43.000Z
region_allocator.hpp
ralphtandetzky/cpp_utils
3adfed125db6fccd7478385544b96ceecdf435e7
[ "MIT" ]
null
null
null
region_allocator.hpp
ralphtandetzky/cpp_utils
3adfed125db6fccd7478385544b96ceecdf435e7
[ "MIT" ]
null
null
null
#pragma once #include "monitor.hpp" #include <atomic> #include <cassert> #include <cstddef> #include <memory> #include <vector> namespace cu { class RegionAllocatorImpl { public: RegionAllocatorImpl() : storagePtr( std::make_shared<Storage>() ) {} void * allocate( std::size_t n, std::size_t alignment ) ...
23.100478
79
0.620961
ralphtandetzky
3014eda729f5194748a73194ba2f36509f0c882e
1,708
cpp
C++
src/trace/CodeGenerator/SwitchBranchesGenerator.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
23
2016-01-14T04:47:13.000Z
2022-01-13T14:02:08.000Z
src/trace/CodeGenerator/SwitchBranchesGenerator.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
2
2018-03-25T14:39:20.000Z
2022-03-18T05:11:21.000Z
src/trace/CodeGenerator/SwitchBranchesGenerator.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
17
2016-02-13T05:35:35.000Z
2022-03-24T16:05:40.000Z
/************************************************************************** * * Copyright (c) 2002 - 2011 by Computer Architecture Department, * Universitat Politecnica de Catalunya. * All rights reserved. * * The contents of this file may not be disclosed to third parties, * copied or duplicated in any form, in...
27.111111
110
0.567916
attila-sim
301748a212c3e35998597b80327ad480dbd95d6b
2,900
cpp
C++
engine/src/gfx/quad.cpp
TRBFLXR/x808
d5ab9e96c5a6109283151a591c261e4183628075
[ "MIT" ]
null
null
null
engine/src/gfx/quad.cpp
TRBFLXR/x808
d5ab9e96c5a6109283151a591c261e4183628075
[ "MIT" ]
null
null
null
engine/src/gfx/quad.cpp
TRBFLXR/x808
d5ab9e96c5a6109283151a591c261e4183628075
[ "MIT" ]
null
null
null
// // Created by FLXR on 8/7/2018. // #include <xe/gfx/quad.hpp> #include <xe/gfx/renderer.hpp> #include <xe/resources/shadermanager.hpp> namespace xe { Quad::Quad(uint width, uint height) : width(width), height(height) { //buffers vec2 positions[] = {{-1.0f, 1.0f}, {1...
23.2
101
0.61931
TRBFLXR
30193a61968926d13f1d0e7b62a1c4a2cdb12f7a
6,407
cpp
C++
Source/Oasis/Graphics/Parameter.cpp
nhamil/oasis-engine
b2d804abc3cb6360188a6890791acc9a24ddb194
[ "MIT" ]
1
2021-01-25T02:27:13.000Z
2021-01-25T02:27:13.000Z
Source/Oasis/Graphics/Parameter.cpp
nhamil/oasis
b2d804abc3cb6360188a6890791acc9a24ddb194
[ "MIT" ]
null
null
null
Source/Oasis/Graphics/Parameter.cpp
nhamil/oasis
b2d804abc3cb6360188a6890791acc9a24ddb194
[ "MIT" ]
null
null
null
#include "Oasis/Graphics/Parameter.h" #include <string.h> namespace Oasis { Parameter::Parameter(const Parameter& param) { *this = param; } Parameter::Parameter() { *this = 0; } Parameter::Parameter(int value) { *this = value; } Parameter::Parameter(float value) { *this = value; } Parameter::Para...
22.093103
82
0.661932
nhamil
3019c5a9b54a87aec4e9efa5cbcd32341e17a02e
4,075
cc
C++
tests/object/object_tests.cc
thomas-joubert/game_engine
5be01e2d96000697625b6b970c1980eab8bd0154
[ "MIT" ]
2
2020-12-04T16:32:13.000Z
2020-12-04T21:05:15.000Z
tests/object/object_tests.cc
thomas-joubert/game_engine
5be01e2d96000697625b6b970c1980eab8bd0154
[ "MIT" ]
10
2020-11-18T13:47:39.000Z
2022-03-18T15:02:11.000Z
tests/object/object_tests.cc
thomas-joubert/game_engine
5be01e2d96000697625b6b970c1980eab8bd0154
[ "MIT" ]
null
null
null
#include <SFML/Graphics/Rect.hpp> #include <SFML/System/Vector2.hpp> #include <gtest/gtest.h> #include <gtest/internal/gtest-port.h> #include <stdexcept> #include <utility> #include <iostream> #include "object_tests.hh" #include "object.hh" #include "exceptions/unvalidpath.hh" TEST(Object_test, shape_get) { abst...
26.986755
94
0.632147
thomas-joubert
301dc3fda5c758085715fa17134df60825b96b8f
1,134
hpp
C++
attic/src/main/include/fmp/incubation.hpp
yamasdais/asaki-yumemishi
d6220e489da613a634e6ce474a869f5d2932f89d
[ "BSL-1.0" ]
null
null
null
attic/src/main/include/fmp/incubation.hpp
yamasdais/asaki-yumemishi
d6220e489da613a634e6ce474a869f5d2932f89d
[ "BSL-1.0" ]
8
2017-09-28T14:39:37.000Z
2021-03-09T22:55:55.000Z
attic/src/main/include/fmp/incubation.hpp
yamasdais/asaki-yumemishi
d6220e489da613a634e6ce474a869f5d2932f89d
[ "BSL-1.0" ]
null
null
null
// Copyright Yamashta, Daisuke 2017 // 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) #if !defined(FMP_9A43C54B_27BD_4BB1_9404_B22FE8FBB243) #define FMP_9A43C54B_27BD_4BB1_9404_B22FE8FBB243 #...
22.235294
70
0.706349
yamasdais
301e29c1abf7e13dd2ca6451fcb4dfdf94bd52d7
634
cpp
C++
tests/state_test.cpp
kghose/groho
7f1eefe3f1c691464bc84d12c7759ac4a16c05ca
[ "MIT" ]
11
2018-05-21T06:45:34.000Z
2020-09-14T12:43:34.000Z
tests/state_test.cpp
kghose/groho
7f1eefe3f1c691464bc84d12c7759ac4a16c05ca
[ "MIT" ]
40
2017-11-14T02:03:51.000Z
2020-07-17T00:35:33.000Z
tests/state_test.cpp
kghose/groho
7f1eefe3f1c691464bc84d12c7759ac4a16c05ca
[ "MIT" ]
2
2019-10-24T17:45:48.000Z
2021-10-11T18:08:02.000Z
#include <iostream> #include "catch.hpp" #include "state.hpp" using namespace groho; TEST_CASE("State vel acc check", "[SAMPLING]") { auto state = DiffableState({ {}, {} }, { 0, 1 }, 1); state.next_pos() = { { 0, 0, 0 }, { 0, 0, 0 } }; state.next_pos() = { { 0, 1, 0 }, { 0, 2, 0 } }; state.next_pos...
24.384615
56
0.490536
kghose
302269f6dbeca5b572f0b8c14e67d7f56b59d526
17,449
cpp
C++
src/components/track.cpp
mnewhouse/izieditor
0a7f300737de9ab5a2a9a02c1a8c786083e71054
[ "MIT" ]
null
null
null
src/components/track.cpp
mnewhouse/izieditor
0a7f300737de9ab5a2a9a02c1a8c786083e71054
[ "MIT" ]
null
null
null
src/components/track.cpp
mnewhouse/izieditor
0a7f300737de9ab5a2a9a02c1a8c786083e71054
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * IziEditor * Copyright (c) 2015 Martin Newhouse * * 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 * ...
28.372358
97
0.639177
mnewhouse
6f77dbc76f0942e4134f4b6f1d4e13a5dfa94f27
1,940
cpp
C++
2017/day14/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2017/day14/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2017/day14/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <algorithm> #include "knoth.h" static const int GRIDSIZE = 128; static const int vert[] = {-1, 0, 1, 0}; static const int oriz[] = {0, 1, 0, -1}; int HextoDec(char ch) { if (ch >= 'a' && ch <= 'f') { return (int)(ch - 'a' + 10); } ...
21.797753
75
0.448454
batduck27
6f7b6f95275c031a9d93025a76593064948e06fd
1,002
hpp
C++
libng/renderer/src/libng_render/vertex/VertexUV.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
libng/renderer/src/libng_render/vertex/VertexUV.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
libng/renderer/src/libng_render/vertex/VertexUV.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
#pragma once #include <libng_render/type/RenderDataType.hpp> #include <libng_render/type/RenderDataTypeUtil.hpp> #include <libng_render/vertex/VertexBase.hpp> #include <libng_render/vertex/VertexType.hpp> #include <libng_render/vertex/VertexTypeUtil.hpp> namespace libng { template<class UV_TYPE, u8 UV_COUNT, class B...
31.3125
102
0.724551
gapry
6f7e5927baa5a8183b2867ddc00dd9417f49a950
1,432
cpp
C++
mathscript/STSerializer.cpp
peppincsoda/particles-demo
a293ac779ce88440cc10a8c1cd0bcdb12ef94e9a
[ "MIT" ]
null
null
null
mathscript/STSerializer.cpp
peppincsoda/particles-demo
a293ac779ce88440cc10a8c1cd0bcdb12ef94e9a
[ "MIT" ]
null
null
null
mathscript/STSerializer.cpp
peppincsoda/particles-demo
a293ac779ce88440cc10a8c1cd0bcdb12ef94e9a
[ "MIT" ]
null
null
null
#include "STSerializer.h" #include <sstream> namespace mathscript { class STSerializerVisitor : public STNodeVisitor { public: explicit STSerializerVisitor(std::ostream& os) : os_(os) { } void VisitExpr(STExpr& expr) override { for (const ...
20.753623
60
0.47067
peppincsoda
6f80af8e86612ce454b576da48476338080c7e86
6,721
cpp
C++
src/joedb/interpreter/Database_Schema.cpp
Remi-Coulom/joedb
adb96600d9c2dd796684a5fee8f969c3e9fef456
[ "MIT" ]
89
2015-11-19T17:32:54.000Z
2021-12-14T18:52:09.000Z
src/joedb/interpreter/Database_Schema.cpp
Remi-Coulom/joedb
adb96600d9c2dd796684a5fee8f969c3e9fef456
[ "MIT" ]
7
2017-01-18T16:00:38.000Z
2021-12-25T20:55:04.000Z
src/joedb/interpreter/Database_Schema.cpp
Remi-Coulom/joedb
adb96600d9c2dd796684a5fee8f969c3e9fef456
[ "MIT" ]
9
2015-11-21T03:29:27.000Z
2021-10-03T14:49:08.000Z
#include "joedb/interpreter/Database_Schema.h" #include "joedb/Exception.h" #include "joedb/is_identifier.h" #include <sstream> namespace joedb { //////////////////////////////////////////////////////////////////////////// void Database_Schema::check_identifier /////////////////////////////////////////////////////...
29.738938
77
0.493528
Remi-Coulom
6f80fdd9fe9192b68a4c5314d749b36e19765aae
2,284
hpp
C++
src/include/reader/ast/function.hpp
foozea/isana-lang
14f931552d9416005a95a8e7fd76682b8b7dfa74
[ "BSD-3-Clause" ]
1
2015-11-07T11:55:50.000Z
2015-11-07T11:55:50.000Z
src/include/reader/ast/function.hpp
foozea/isana-lang
14f931552d9416005a95a8e7fd76682b8b7dfa74
[ "BSD-3-Clause" ]
null
null
null
src/include/reader/ast/function.hpp
foozea/isana-lang
14f931552d9416005a95a8e7fd76682b8b7dfa74
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2012-, Tetsuo Fujii * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright notice, * this list o...
34.606061
78
0.734676
foozea
6f8b863c54ede422a4a829c1180444dc08f98428
620
cpp
C++
euler-003.cpp
cosinehere/ProjectEuler
6d7552a8b09cfc82672729af9a3781e63e11c4a8
[ "MIT" ]
null
null
null
euler-003.cpp
cosinehere/ProjectEuler
6d7552a8b09cfc82672729af9a3781e63e11c4a8
[ "MIT" ]
null
null
null
euler-003.cpp
cosinehere/ProjectEuler
6d7552a8b09cfc82672729af9a3781e63e11c4a8
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdint> constexpr uint32_t c_len = 10000; bool prime[c_len]; int main() { for(uint32_t i = 0; i < c_len; ++i) { prime[i] = true; } prime[0] = false; prime[1] = false; prime[2] = true; for(uint32_t i = 2; i < c_len; ++i) { if(!prime[i]) { continue; } uint32_t k = 2; ...
13.191489
41
0.525806
cosinehere
6f8f3ee69cbf80d1ea3d51726ed2d77af11d5aac
3,394
cpp
C++
CommonArgs.cpp
res2k/seveninstall
2de8a1f4f70c0dcdf8e2c617daeeb4db1e17c855
[ "Unlicense" ]
1
2021-02-02T11:08:43.000Z
2021-02-02T11:08:43.000Z
CommonArgs.cpp
res2k/seveninstall
2de8a1f4f70c0dcdf8e2c617daeeb4db1e17c855
[ "Unlicense" ]
null
null
null
CommonArgs.cpp
res2k/seveninstall
2de8a1f4f70c0dcdf8e2c617daeeb4db1e17c855
[ "Unlicense" ]
1
2021-02-27T20:12:05.000Z
2021-02-27T20:12:05.000Z
/* SevenInstall Copyright (c) 2013-2017 Frank Richter This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercia...
30.303571
87
0.693282
res2k
6f99147c6e6502c377da3716d7c392ea54f771b8
894
cpp
C++
src/vcf-paste.cpp
xijiang/Refactered-NSG
f16ae56fac198324a7fc3379f88f260030f00ebe
[ "MIT" ]
null
null
null
src/vcf-paste.cpp
xijiang/Refactered-NSG
f16ae56fac198324a7fc3379f88f260030f00ebe
[ "MIT" ]
null
null
null
src/vcf-paste.cpp
xijiang/Refactered-NSG
f16ae56fac198324a7fc3379f88f260030f00ebe
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> using namespace std; void put_10(const string &line) { stringstream ss(line); string t; for (auto i = 0; i < 9; ++i) ss >> t; getline(ss, t); cout << t; } int main(int argc, char *argv[]) { if (argc < 3) { cerr << "Usage: " << argv[0] <<...
15.413793
57
0.469799
xijiang
6f9a762dbfe1b59f506766e73af31fe4c044959b
1,907
cpp
C++
ToList/src/Main.cpp
laferenorg/ToList
5133986fdd80d34a4cd5acbc6aa90ab3c1ff1808
[ "Apache-2.0" ]
1
2022-01-28T07:44:44.000Z
2022-01-28T07:44:44.000Z
ToList/src/Main.cpp
laferenorg/ToList
5133986fdd80d34a4cd5acbc6aa90ab3c1ff1808
[ "Apache-2.0" ]
null
null
null
ToList/src/Main.cpp
laferenorg/ToList
5133986fdd80d34a4cd5acbc6aa90ab3c1ff1808
[ "Apache-2.0" ]
null
null
null
// Include header standard #include <iostream> #include <memory> // Include header #include "../include/Main.h" #include "../../Core/include/Core.h" #include "../../Core/include/Controller.h" // Include Storage #include <Storage.hpp> // Include header element #include "../../Elemets/include/Button.h" #...
22.174419
69
0.645517
laferenorg
6f9d49a246a87cc3b93b4165a9f7b2dcf58f4ebb
591
cpp
C++
src/problems/51-100/94/problem94.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
src/problems/51-100/94/problem94.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
src/problems/51-100/94/problem94.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 02/03/18. // #include "problem94.hpp" namespace problems { uint32_t problem94::solve(uint32_t ub) { uint32_t result = 0; uint64_t u = 1; uint64_t v = 2; uint64_t p; for (int i = 1; ; i = -i) { uint64_t temp = 2 * u + v + i; ...
18.46875
44
0.390863
abeccaro
6f9ddcb6f22df105965b5e0b34c42adeb0dc4e96
298
cpp
C++
cplus/template/learn/concurrent_queue.cpp
nolmeunion/learn
482f4b8a5de81375e5663ea0b065d25f2f7da4b6
[ "MIT" ]
null
null
null
cplus/template/learn/concurrent_queue.cpp
nolmeunion/learn
482f4b8a5de81375e5663ea0b065d25f2f7da4b6
[ "MIT" ]
null
null
null
cplus/template/learn/concurrent_queue.cpp
nolmeunion/learn
482f4b8a5de81375e5663ea0b065d25f2f7da4b6
[ "MIT" ]
null
null
null
#include <catch.hpp> #include <array> #include <concurrent_queue.h> #include <string> #include <tuple> #include <vector> #include <iostream> TEST_CASE("concurernt queue") { SECTION("basic interface") { Concurrency::concurrent_queue<int> cq; cq.push(3); int v = 0; cq.try_pop(v); } }
13.545455
40
0.681208
nolmeunion
6fa1face4745b4a97a9072e5d00371be3fa0dcea
2,402
cpp
C++
Cpp-Projects/Part_02_Foundation/L4_writing_multiple_programs/03_Using_Multiple_Files/2_Multi-file_Code/main.cpp
selfbeing/selfdriving
8a40db76e5aa4ac3b0f83a855e4ca29b99b90dd9
[ "MIT" ]
null
null
null
Cpp-Projects/Part_02_Foundation/L4_writing_multiple_programs/03_Using_Multiple_Files/2_Multi-file_Code/main.cpp
selfbeing/selfdriving
8a40db76e5aa4ac3b0f83a855e4ca29b99b90dd9
[ "MIT" ]
null
null
null
Cpp-Projects/Part_02_Foundation/L4_writing_multiple_programs/03_Using_Multiple_Files/2_Multi-file_Code/main.cpp
selfbeing/selfdriving
8a40db76e5aa4ac3b0f83a855e4ca29b99b90dd9
[ "MIT" ]
null
null
null
/* Multi-file Code In the next few cells these functions have been separated into several different files. The structure of the included files is as follows: vect_add_one --> increment_and_sum -->main */ //vect_add_one 和 increment_and_sum 現在都拆去各自的.cpp .h 比較清楚 #include <iostream> #include <vector> //照上面的架構, ...
35.850746
152
0.738551
selfbeing
6fa2095aca97e9caa2e1bcd55b968f5a5c32d2ba
2,808
cpp
C++
Stacks & Queues/24kQueuesInSingleArray.cpp
Coderangshu/450DSA
fff6cee65f75e5a0bb61d5fd8d000317a7736ca3
[ "MIT" ]
1
2021-01-18T14:51:20.000Z
2021-01-18T14:51:20.000Z
Stacks & Queues/24kQueuesInSingleArray.cpp
Coderangshu/450DSA
fff6cee65f75e5a0bb61d5fd8d000317a7736ca3
[ "MIT" ]
null
null
null
Stacks & Queues/24kQueuesInSingleArray.cpp
Coderangshu/450DSA
fff6cee65f75e5a0bb61d5fd8d000317a7736ca3
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class kQueues{ private: // pointer to array to store the elements of all k arrays // and front and rear int *arr, *front, *rear; // pointer to next array whose ith index stores next empty // space when arr[i] is empty and when arr[i] is filled // then next[i] ...
24.417391
73
0.603632
Coderangshu
6fa74e7ad9fcf48308a1913aa7fb67e0f0f99bbd
1,051
cpp
C++
detail/fusion/libs/statistics/detail/fusion/src/main.cpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
detail/fusion/libs/statistics/detail/fusion/src/main.cpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
detail/fusion/libs/statistics/detail/fusion/src/main.cpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // statistics::detail::fusion::main.cpp // // // // Copyright 2009 Erwann Rogard. Distributed under the Boost // ...
45.695652
80
0.52902
rogard
6fad9a5691b0c77ab39a345b99d69278d8b8c74c
357
hpp
C++
src/Player.hpp
omaraaa/NANOBOT
67308b457f040a2d94b4aa66680476a70f74c385
[ "MIT" ]
1
2020-05-23T18:50:13.000Z
2020-05-23T18:50:13.000Z
src/Player.hpp
omaraaa/NANOBOT
67308b457f040a2d94b4aa66680476a70f74c385
[ "MIT" ]
null
null
null
src/Player.hpp
omaraaa/NANOBOT
67308b457f040a2d94b4aa66680476a70f74c385
[ "MIT" ]
null
null
null
#ifndef PLAYER_HPP #define PLAYER_HPP #include <SFML/Graphics.hpp> #include <SFML/System.hpp> #include <SFML/Window.hpp> class Player : public sf::Sprite{ private: float x, y; int width, height; sf::Texture texture; public: Player(float x,float y,int w,int h, sf::Texture& t); Player(float x,float y, sf::Te...
18.789474
54
0.689076
omaraaa
6fb085dd5cac150732acb86bfbaac72e2539683c
1,276
cpp
C++
11_CPP/01_CPP01/ex03/HumanB.cpp
tderwedu/42cursus
2f56b87ce87227175e7a297d850aa16031acb0a8
[ "Unlicense" ]
null
null
null
11_CPP/01_CPP01/ex03/HumanB.cpp
tderwedu/42cursus
2f56b87ce87227175e7a297d850aa16031acb0a8
[ "Unlicense" ]
null
null
null
11_CPP/01_CPP01/ex03/HumanB.cpp
tderwedu/42cursus
2f56b87ce87227175e7a297d850aa16031acb0a8
[ "Unlicense" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* HumanB.cpp :+: :+: :+: ...
31.121951
80
0.270376
tderwedu
6fb84c2a9ba824d8dfe3fb3cf171839581535156
110,887
cpp
C++
Plugins/Render/D3D11Device.cpp
xycsoscyx/gekengine
cb9c933c6646169c0af9c7e49be444ff6f97835d
[ "MIT" ]
1
2019-04-22T00:10:49.000Z
2019-04-22T00:10:49.000Z
Plugins/Render/D3D11Device.cpp
xycsoscyx/gekengine
cb9c933c6646169c0af9c7e49be444ff6f97835d
[ "MIT" ]
null
null
null
Plugins/Render/D3D11Device.cpp
xycsoscyx/gekengine
cb9c933c6646169c0af9c7e49be444ff6f97835d
[ "MIT" ]
2
2017-10-16T15:40:55.000Z
2019-04-22T00:10:50.000Z
#pragma warning(disable : 4005) #include "GEK/Utility/String.hpp" #include "GEK/Utility/ContextUser.hpp" #include "GEK/Utility/FileSystem.hpp" #include "GEK/Utility/Hash.hpp" #include "GEK/Render/Device.hpp" #include "GEK/Render/Window.hpp" #include <d3dcompiler.h> #include <DirectXTex.h> #include <wincodec.h> #includ...
47.672829
267
0.576389
xycsoscyx
6fb94d15e5d4c0927697d520b1ae91948bc49f8c
537
cpp
C++
src/core/object/components/component.cpp
seigtm/meov
2aeb87961df0602c2d36192d8589776463531059
[ "MIT" ]
1
2022-03-05T10:28:23.000Z
2022-03-05T10:28:23.000Z
src/core/object/components/component.cpp
seigtm/meov
2aeb87961df0602c2d36192d8589776463531059
[ "MIT" ]
9
2022-01-25T07:44:34.000Z
2022-03-15T07:09:16.000Z
src/core/object/components/component.cpp
seigtm/meov
2aeb87961df0602c2d36192d8589776463531059
[ "MIT" ]
null
null
null
#include "component.hpp" namespace meov::core::components { Component::Component(std::string &&name) : mixin::Named{ std::move(name) } {} void Component::PreDraw(Graphics &) {} void Component::Draw(Graphics &) {} void Component::PostDraw(Graphics &) {} void Component::PreUpdate(double) {} void Component::Update(...
24.409091
59
0.700186
seigtm
6fbd651bbc766a353abd0cdc60d86e00c3121519
1,571
cpp
C++
02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/13_Exams/03_Exam_9_January_2018/02_CopyPaste.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/13_Exams/03_Exam_9_January_2018/02_CopyPaste.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/13_Exams/03_Exam_9_January_2018/02_CopyPaste.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
#include <iostream> #include <stack> #include <sstream> class TextEditor { private: std::stack<std::string> clipboard{ }; std::string text; void copy(size_t start, size_t end) { start = this->text.find_last_of(' ', start); if (start == std::string::npos) { start = 0; } else { ++start; ...
19.6375
67
0.576066
Knightwalker
6fc027486179e627a0daee7c4bc16c0854ea93b0
665
hpp
C++
Vehicle.hpp
frixtaylor1/simulacion_final
eb3f00e2c6b5bb271ef92bf71ab0385cb1acc307
[ "MIT" ]
null
null
null
Vehicle.hpp
frixtaylor1/simulacion_final
eb3f00e2c6b5bb271ef92bf71ab0385cb1acc307
[ "MIT" ]
null
null
null
Vehicle.hpp
frixtaylor1/simulacion_final
eb3f00e2c6b5bb271ef92bf71ab0385cb1acc307
[ "MIT" ]
null
null
null
#ifndef VEHICLE_HPP #define VEHICLE_HPP #include <iostream> class Vehicle { private: std::string colour; std::string brand; public: Vehicle(); Vehicle(std::string colour, std::string brand); Vehicle(const Vehicle& vehicle); virtual ~Vehicle(); void setColour(std::string colour); void s...
22.166667
69
0.64812
frixtaylor1