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
099c20b0ac4b3d8a3d6fd335447416cd08402e26
385
cpp
C++
src/shaderbuffer.cpp
bridgekat/vxrt
f02b421fb646cf7dbc6d60b908296cf8799edbf0
[ "BSD-3-Clause" ]
11
2018-08-07T14:29:31.000Z
2021-01-16T13:24:42.000Z
src/shaderbuffer.cpp
qiaozhanrong/vxrt
f02b421fb646cf7dbc6d60b908296cf8799edbf0
[ "BSD-3-Clause" ]
null
null
null
src/shaderbuffer.cpp
qiaozhanrong/vxrt
f02b421fb646cf7dbc6d60b908296cf8799edbf0
[ "BSD-3-Clause" ]
null
null
null
#include "shaderbuffer.h" ShaderBuffer::ShaderBuffer(const ShaderProgram& program, const std::string& name, GLuint binding) { glGenBuffers(1, &mHandle); GLuint index = glGetProgramResourceIndex(program.handle(), GL_SHADER_STORAGE_BLOCK, name.c_str()); glShaderStorageBlockBinding(program.handle(), index, binding); ...
38.5
99
0.797403
bridgekat
09a3d21a6a6d61b41b5903046e3ed72267aabea1
1,077
cpp
C++
D2DSharp/D2DWrapper/FontFamily.cpp
dmitrykolchev/d2dsharp
5a9f3c39d62a92533c55f260726ef1966fbcf30f
[ "MIT" ]
29
2017-09-10T16:20:02.000Z
2022-03-05T13:26:24.000Z
D2DSharp/D2DWrapper/FontFamily.cpp
dmitrykolchev/d2dsharp
5a9f3c39d62a92533c55f260726ef1966fbcf30f
[ "MIT" ]
2
2019-05-19T06:42:19.000Z
2019-12-19T12:15:50.000Z
D2DSharp/D2DWrapper/FontFamily.cpp
dmitrykolchev/d2dsharp
5a9f3c39d62a92533c55f260726ef1966fbcf30f
[ "MIT" ]
9
2017-10-05T15:52:36.000Z
2022-03-05T13:26:28.000Z
/* * * Authors: * Dmitry Kolchev <dmitrykolchev@msn.com> * */ #include "Stdafx.h" using namespace Managed::Graphics::DirectWrite; LocalizedStrings^ FontFamily::FamilyNames::get() { IDWriteLocalizedStrings* names; ComUtils::CheckResult( GetNative<IDWriteFontFamily>()->GetFamilyNames( ...
21.54
96
0.722377
dmitrykolchev
09a7a0e7c88b34360290459b9986a6d5d8359199
1,776
cpp
C++
verify/verify-yuki/yuki-1303.test.cpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
verify/verify-yuki/yuki-1303.test.cpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
verify/verify-yuki/yuki-1303.test.cpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#define PROBLEM "https://yukicoder.me/problems/no/1303" #include "../../template/template.hpp" // #include "../../data-structure/union-find.hpp" #include "../../fps/ntt-friendly-fps.hpp" #include "../../matrix/matrix-tree.hpp" #include "../../matrix/polynomial-matrix-determinant.hpp" #include "../../modint/montgomery-...
22.481013
61
0.51295
NachiaVivias
09ab8711d1f0b70018fb10d028dd507d30651b43
2,612
cpp
C++
A1131 Subway Map(30).cpp
Bourbon-Whiskey/PAT-A
40915d7c36077ad8fa4cbfdfe06f6cb50f152813
[ "MIT" ]
8
2019-02-13T02:00:19.000Z
2022-03-22T09:31:22.000Z
A1131 Subway Map(30).cpp
Bourbon-Whiskey/PAT-A
40915d7c36077ad8fa4cbfdfe06f6cb50f152813
[ "MIT" ]
null
null
null
A1131 Subway Map(30).cpp
Bourbon-Whiskey/PAT-A
40915d7c36077ad8fa4cbfdfe06f6cb50f152813
[ "MIT" ]
null
null
null
#include<cstdio> #include<vector> using namespace std; #define maxn 10010 struct Way{ int des; int line; }; vector<Way> G[maxn];//地铁图 int vis[maxn]; int inq[15][maxn];//是否入队 vector<Way> temp,trace; int Change; int depth,st,End; int N,M,K; void Init(){ int i,a,b; Way tmp; scanf("%d",&N); for...
19.065693
81
0.402374
Bourbon-Whiskey
09b436275e636ef65513b17825ae555991ae75a6
1,736
hpp
C++
ZappyGUI/sources/zappy/player/Player.hpp
gillioa/Zappy
4de8a9be40b018f68d56ddb7d8813192653838f4
[ "MIT" ]
null
null
null
ZappyGUI/sources/zappy/player/Player.hpp
gillioa/Zappy
4de8a9be40b018f68d56ddb7d8813192653838f4
[ "MIT" ]
null
null
null
ZappyGUI/sources/zappy/player/Player.hpp
gillioa/Zappy
4de8a9be40b018f68d56ddb7d8813192653838f4
[ "MIT" ]
null
null
null
#ifndef PLAYER_HPP__ # define PLAYER_HPP__ #include <map> #include <mutex> #include "Case.hpp" #include "Socket.hpp" enum eOrientation { NORTH = 1, EAST = 2, SOUTH = 3, WEST = 4 }; enum eAction { Expulse = 0, Broadcast, IncantationLaunch, Fork, PutRessources, GetRessources, Nothing, }; enum eStat { ...
23.459459
69
0.726959
gillioa
09b9959001b7d84a202411716121998d6b92cee7
3,918
cpp
C++
src/resource/textureatlas.cpp
GuyTristram/grt
4329ed58f22248ed4924246e148fb6b5f3f7e1bc
[ "MIT" ]
1
2015-10-08T19:11:18.000Z
2015-10-08T19:11:18.000Z
src/resource/textureatlas.cpp
GuyTristram/grt
4329ed58f22248ed4924246e148fb6b5f3f7e1bc
[ "MIT" ]
null
null
null
src/resource/textureatlas.cpp
GuyTristram/grt
4329ed58f22248ed4924246e148fb6b5f3f7e1bc
[ "MIT" ]
null
null
null
#include "resource/textureatlas.h" #include <algorithm> #include <set> #include "core/renderstate.h" #include "core/shaderprogram.h" #include "core/texture.h" #include "core/texturetarget.h" #include "resource/mesh.h" #include "resource/resourcepool.h" TextureAtlas::TextureAtlas( std::vector< std::st...
25.277419
101
0.588821
GuyTristram
09c096596fdd6c29da26474d7e60b1134e892b0e
292
cpp
C++
src/Projection.cpp
kr15h/YaronTracker
4c6efe0f8bca6a64164a714633df8a032ce135d1
[ "MIT" ]
1
2018-04-07T14:06:05.000Z
2018-04-07T14:06:05.000Z
src/Projection.cpp
kr15h/YaronTracker
4c6efe0f8bca6a64164a714633df8a032ce135d1
[ "MIT" ]
null
null
null
src/Projection.cpp
kr15h/YaronTracker
4c6efe0f8bca6a64164a714633df8a032ce135d1
[ "MIT" ]
null
null
null
#include "Projection.h" namespace ytr { shared_ptr<Projection> Projection::create(){ return shared_ptr<Projection>(new Projection()); } Projection::Projection(){ } void Projection::update(){ // Do some swarm math } void Projection::draw(){ // TODO: draw swarm } } // namespace ytr
13.272727
49
0.695205
kr15h
09c23575f2f062cd5ff9438d4a80653de1fa4c6e
455
cpp
C++
benchmark/bm_binary_operator.cpp
matazure/mtensor
4289284b201cb09ed1dfc49f44d6738751affd63
[ "MIT" ]
82
2020-04-11T09:33:36.000Z
2022-03-23T03:47:25.000Z
benchmark/bm_binary_operator.cpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
28
2017-04-26T17:12:35.000Z
2019-04-08T04:05:24.000Z
benchmark/bm_binary_operator.cpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
22
2017-01-10T14:57:29.000Z
2019-12-17T08:55:59.000Z
#include "bm_binary_operator.hpp" auto bm_host_tensor2f_add = bm_tensor_add<tensor<float, 2>>; auto bm_host_tensor2f_sub = bm_tensor_add<tensor<float, 2>>; auto bm_host_tensor2f_mul = bm_tensor_add<tensor<float, 2>>; auto bm_host_tensor2f_div = bm_tensor_add<tensor<float, 2>>; BENCHMARK(bm_host_tensor2f_add)->Arg(10_K...
41.363636
60
0.808791
matazure
09c663757184d330494ff782fcbafd5da6b80d5f
1,289
hpp
C++
src/components/ProjectileEmitterComponent.hpp
ItsChoudhry/2dGameEngine
dd154816b1a4ab18cdcb5e59f580af9e495f7761
[ "MIT" ]
1
2020-07-17T16:22:01.000Z
2020-07-17T16:22:01.000Z
src/components/ProjectileEmitterComponent.hpp
ItsChoudhry/2dGameEngine
dd154816b1a4ab18cdcb5e59f580af9e495f7761
[ "MIT" ]
null
null
null
src/components/ProjectileEmitterComponent.hpp
ItsChoudhry/2dGameEngine
dd154816b1a4ab18cdcb5e59f580af9e495f7761
[ "MIT" ]
null
null
null
#pragma once #include "../../lib/glm/glm.hpp" #include "../Component.hpp" #include "../EntityManager.hpp" #include "TransformComponent.hpp" class ProjectileEmitterComponent : public Component { private: TransformComponent *m_transform; glm::vec2 m_origin; int m_speed; int m_range; float m_angleRad...
25.27451
86
0.589604
ItsChoudhry
09ceffc703de8ad4038fd35bbaedfbd287d2cd7f
442
cpp
C++
e794.cpp
MaowMan/zerojudge
2073408b26108c760360cb4a603ebbf86583c62f
[ "MIT" ]
null
null
null
e794.cpp
MaowMan/zerojudge
2073408b26108c760360cb4a603ebbf86583c62f
[ "MIT" ]
null
null
null
e794.cpp
MaowMan/zerojudge
2073408b26108c760360cb4a603ebbf86583c62f
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> int64_t gcd(int64_t a,int64_t b){ if(b==0) { return a; } else { return gcd(b,a%b); } } int main(){ std::vector<int64_t> data(50); data[0]=0; data[1]=1; for(int i=2;i<50;i++){ data[i]=data[i-1]+data[i-2]; } int n; ...
17
62
0.504525
MaowMan
09d21f04f727b246c6383abaf42e0ec8041f2e7d
2,751
cpp
C++
PrivateDiary-Qt/PrivateDiary/PrivateDiaryDesktop/mainwindow.cpp
gituser9/Private-Diary
bedda59a32de6dfb4b252b7e53eae2637a0c99f3
[ "MIT" ]
1
2021-12-21T12:53:51.000Z
2021-12-21T12:53:51.000Z
PrivateDiary-Qt/PrivateDiary/PrivateDiaryDesktop/mainwindow.cpp
gituser9/Private-Diary
bedda59a32de6dfb4b252b7e53eae2637a0c99f3
[ "MIT" ]
null
null
null
PrivateDiary-Qt/PrivateDiary/PrivateDiaryDesktop/mainwindow.cpp
gituser9/Private-Diary
bedda59a32de6dfb4b252b7e53eae2637a0c99f3
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QDebug> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->mainToolBar->hide(); ui->menuBar->hide(); appData = std::make_shared<AppData>(); loginPage = new LoginPage(th...
27.787879
156
0.678662
gituser9
09d3b1d4263472bf8d4e92925c91cf60469b7a59
1,002
cpp
C++
DelaunayVoronoi/DataParser.cpp
wingyiu/ndelvor
a7eeb7791b803b1c73ba2371b38648103b20232a
[ "BSD-3-Clause" ]
1
2019-01-07T01:46:05.000Z
2019-01-07T01:46:05.000Z
DelaunayVoronoi/DataParser.cpp
wingyiu/ndelvor
a7eeb7791b803b1c73ba2371b38648103b20232a
[ "BSD-3-Clause" ]
null
null
null
DelaunayVoronoi/DataParser.cpp
wingyiu/ndelvor
a7eeb7791b803b1c73ba2371b38648103b20232a
[ "BSD-3-Clause" ]
null
null
null
#include "DataParser.h" bool DataParser::hasNext() { if(feof(m_file) == 0) { return true; } else { return false; } } Point* DataParser::getNext() { double *coord = new double[m_dimension]; for(int i=0; i<m_dimension; i++) { fscanf(m_file, "%lf", coord+i)...
14.112676
96
0.598802
wingyiu
09d98e232450818de0b7fcc389977014e0cea640
1,909
cpp
C++
Compiler/Compiler.cpp
cmarrin/Clover
4884b4e51aed180c0cce8fd23b62445109515167
[ "MIT" ]
null
null
null
Compiler/Compiler.cpp
cmarrin/Clover
4884b4e51aed180c0cce8fd23b62445109515167
[ "MIT" ]
null
null
null
Compiler/Compiler.cpp
cmarrin/Clover
4884b4e51aed180c0cce8fd23b62445109515167
[ "MIT" ]
null
null
null
/*------------------------------------------------------------------------- This source file is a part of Clover For the latest info, see https://github.com/cmarrin/Clover Copyright (c) 2021-2022, Chris Marrin All rights reserved. Use of this source code is governed by the MIT license that can be ...
26.887324
84
0.544788
cmarrin
09eb3cf1704fc51817350d764dc8a7f267515bbe
1,866
cpp
C++
SDKs/CryCode/3.8.1/GameDll/AI/HazardModule/HazardShared.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.7.0/GameDll/AI/HazardModule/HazardShared.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.7.0/GameDll/AI/HazardModule/HazardShared.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
// ============================================================================ // ============================================================================ // ============================================================================ // ==== // ==== Hazard Shared // ==== // ==== Various class and types that are s...
30.590164
79
0.237406
amrhead
09f7cca4d474418ae3b10a06adf2602112ba9fee
2,641
hpp
C++
src/Model/ObjectLoading/ModelLoader.hpp
charlieSewell/ICT397-Game-Engine
64d44edfcf397ea0a1133680f908f74ea8bafb22
[ "MIT" ]
1
2021-04-11T04:57:06.000Z
2021-04-11T04:57:06.000Z
src/Model/ObjectLoading/ModelLoader.hpp
charlieSewell/ICT397-Game-Engine
64d44edfcf397ea0a1133680f908f74ea8bafb22
[ "MIT" ]
null
null
null
src/Model/ObjectLoading/ModelLoader.hpp
charlieSewell/ICT397-Game-Engine
64d44edfcf397ea0a1133680f908f74ea8bafb22
[ "MIT" ]
null
null
null
// // Created by Charlie Sewell on 1/04/2021. // #pragma once #include <assimp/Importer.hpp> #include <assimp/postprocess.h> #include <assimp/scene.h> #include <glm/gtc/type_ptr.hpp> #include "Model/Model.hpp" #include "Model/SkeletalAnimation.hpp" #include "Controller/TextureManager.hpp" /** @class ModelLoader * @b...
33.858974
117
0.649375
charlieSewell
09f9c638b95c75c1c87c83eed95c2299923bd1a9
881
cpp
C++
CloakEngine/Manager.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/Manager.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/Manager.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #define NO_LIB_LOAD #include "Implementation/Rendering/Manager.h" #include "Implementation/Rendering/DX12/Lib.h" #include <atomic> namespace CloakEngine { namespace Impl { namespace Rendering { inline namespace Manager_v1 { CE::RefPointer<IManager> CLOAK_CALL IManager::Create(...
26.69697
104
0.628831
Bizzarrus
09fa5f0c7deb760c8d18ddf9e61238f904f69337
554
cpp
C++
1-Intro/06-floatEdouble.cpp
pablo147sousa/IF-Cpp
25606c16d18d35143fc564fe1ca7aa4ab7f7bc10
[ "MIT" ]
null
null
null
1-Intro/06-floatEdouble.cpp
pablo147sousa/IF-Cpp
25606c16d18d35143fc564fe1ca7aa4ab7f7bc10
[ "MIT" ]
null
null
null
1-Intro/06-floatEdouble.cpp
pablo147sousa/IF-Cpp
25606c16d18d35143fc564fe1ca7aa4ab7f7bc10
[ "MIT" ]
2
2021-06-01T20:48:10.000Z
2021-06-05T17:31:22.000Z
// Dados de ponto flutuante (float e double) em C e C++ /** * Números de ponto flutuante representam os números * pertencentes ao conjunto dos Reais. * A diferença entre float e double é que o ultimo * apresenta o dobro de tamanho em relação a float e por * isso possui uma maior precisão. * O maio...
26.380952
57
0.684116
pablo147sousa
09fbea11b9056610461e6f7411e3cf6fec031e8b
586
hpp
C++
upgrade/pack_builder/ImageEncryptorNone.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
54
2019-04-02T14:42:54.000Z
2022-03-20T23:02:19.000Z
upgrade/pack_builder/ImageEncryptorNone.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
32
2019-03-26T06:57:29.000Z
2022-03-25T00:04:44.000Z
upgrade/pack_builder/ImageEncryptorNone.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
20
2019-03-25T15:49:49.000Z
2022-03-20T23:02:22.000Z
#ifndef UPGRADE_PACK_BUILDER_IMAGE_ENCRYPTOR_NONE_HPP #define UPGRADE_PACK_BUILDER_IMAGE_ENCRYPTOR_NONE_HPP #include "upgrade/pack_builder/ImageSecurity.hpp" #include <cstdint> #include <vector> namespace application { class ImageEncryptorNone : public ImageSecurity { public: static const ...
25.478261
93
0.744027
oguzcanphilips
09ff20f9c45a46b716a8aa03c7a7b46664c46241
24,475
cpp
C++
src/ie_render_engine.cpp
wtkooa/imagine
105695085b369825b70ff3ca4b0076f8ce15c957
[ "MIT" ]
1
2017-09-21T16:53:27.000Z
2017-09-21T16:53:27.000Z
src/ie_render_engine.cpp
wtkooa/imagine
105695085b369825b70ff3ca4b0076f8ce15c957
[ "MIT" ]
null
null
null
src/ie_render_engine.cpp
wtkooa/imagine
105695085b369825b70ff3ca4b0076f8ce15c957
[ "MIT" ]
null
null
null
//___|"ie_render_engine.cpp"|___________________________________________________ // // Project: Imagine: 3D Environment Engine // Version: 0.1.0 // Author: David Lipps // License: MIT License // // Copyright (c) 2017 David E Lipps //______________________________________________________________________________ #includ...
41.837607
92
0.748478
wtkooa
e24ef7fec451cdd58eef43b8989ef3fdf1413b16
1,953
cpp
C++
_site/Competitive Programming/Codeforces/1141D.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
1
2019-06-10T04:39:49.000Z
2019-06-10T04:39:49.000Z
_site/Competitive Programming/Codeforces/1141D.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
2
2021-09-27T23:34:07.000Z
2022-02-26T05:54:27.000Z
_site/Competitive Programming/Codeforces/1141D.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
3
2019-06-23T14:15:08.000Z
2019-07-09T20:40:58.000Z
#include <bits/stdc++.h> using namespace std; #define mp make_pair #define pb push_back #define ff first #define ss second const long double pi=3.1415926535897932384626433832; const long long mod=1e9+7; //long long primeset[5000000]={}; typedef complex<double> cd; typedef long long ll; //#define For(i,0,n) for(long lo...
15.878049
65
0.5064
anujkyadav07
e2541f4a2aa9f6b5e472d33c870d78529aa5bb84
684
hpp
C++
wxdraw/component/BrushComponent.hpp
yasuikentarow/graed
45db4f4291bdca27c32a3b2938ccd1aa7b40d48a
[ "MIT" ]
null
null
null
wxdraw/component/BrushComponent.hpp
yasuikentarow/graed
45db4f4291bdca27c32a3b2938ccd1aa7b40d48a
[ "MIT" ]
null
null
null
wxdraw/component/BrushComponent.hpp
yasuikentarow/graed
45db4f4291bdca27c32a3b2938ccd1aa7b40d48a
[ "MIT" ]
null
null
null
#pragma once #include "wxdraw/component/Component.hpp" namespace wxdraw::component { /** */ class BrushComponent : public Component<BrushComponent> { using super = Component<BrushComponent>; public: static const char* TYPE; private: BrushPtr brush_; public: BrushComponent(const NodePtr& node); Brus...
20.117647
76
0.75
yasuikentarow
e25580934946e1e730cd06ffeb0baf5e693da6e4
3,879
cpp
C++
example/example_table.cpp
packetzero/vsqlite
5ac54389f1d1dfc91e34adf229eb20b6e6527d26
[ "MIT" ]
null
null
null
example/example_table.cpp
packetzero/vsqlite
5ac54389f1d1dfc91e34adf229eb20b6e6527d26
[ "MIT" ]
null
null
null
example/example_table.cpp
packetzero/vsqlite
5ac54389f1d1dfc91e34adf229eb20b6e6527d26
[ "MIT" ]
null
null
null
#include <vsqlite/vsqlite.h> using namespace vsqlite; static const SPFieldDef FUSERNAME = FieldDef::alloc(TSTRING, "username"); static const SPFieldDef FUSERID = FieldDef::alloc(TUINT32, "userid"); static const SPFieldDef FUID_ALIAS = FieldDef::alloc(TNONE, "uid"); static const SPFieldDef FHOME = FieldDef::alloc(TSTR...
25.188312
97
0.645269
packetzero
e25ebfa007799d6437d558442b4b51049c21340b
4,661
hpp
C++
include/LCD1D_ExtendedJones.hpp
xingularity/OpenLCDFDM
3f07f2d944e00da1ce2495f78a86d636a54fc126
[ "BSD-3-Clause" ]
8
2015-05-28T12:04:17.000Z
2022-03-16T14:22:58.000Z
include/LCD1D_ExtendedJones.hpp
xingularity/OpenLCDFDM
3f07f2d944e00da1ce2495f78a86d636a54fc126
[ "BSD-3-Clause" ]
1
2020-09-13T07:13:08.000Z
2020-09-13T07:13:08.000Z
include/LCD1D_ExtendedJones.hpp
xingularity/OpenLCDFDM
3f07f2d944e00da1ce2495f78a86d636a54fc126
[ "BSD-3-Clause" ]
2
2021-03-08T12:14:48.000Z
2021-03-08T12:14:48.000Z
/* * Copyright (C) 2015 Zong-han, Xie <icbm0926@gmail.com>. * * You may use this file under the terms of the BSD license as follows: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of sou...
48.051546
170
0.729457
xingularity
e26324e4d34b2e2c20e8ebe5cadb084c7584c0ed
118,994
cc
C++
third_party/ukey2/compiled_proto/proto/securegcm.pb.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
69
2021-10-18T00:37:29.000Z
2022-03-20T19:53:38.000Z
third_party/ukey2/compiled_proto/proto/securegcm.pb.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
14
2021-10-13T19:49:27.000Z
2022-03-31T22:19:13.000Z
third_party/ukey2/compiled_proto/proto/securegcm.pb.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
22
2021-10-20T12:36:47.000Z
2022-03-31T18:39:46.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: proto/securegcm.proto #include "proto/securegcm.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/io/zero_cop...
39.37591
205
0.717465
deling-google
e264cb3a38e8341b3d9a68fdbf199e7a114bf73f
31,725
cpp
C++
examples_tests/16.OrderIndependentTransparency/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
examples_tests/16.OrderIndependentTransparency/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
examples_tests/16.OrderIndependentTransparency/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 - DevSH Graphics Programming Sp. z O.O. // This file is part of the "Nabla Engine". // For conditions of distribution and use, see copyright notice in nabla.h #define _NBL_STATIC_LIB_ #include <iostream> #include <cstdio> #include <nabla.h> #include "../common/Camera.hpp" #include "../commo...
46.930473
262
0.668905
deprilula28
e266059c3a7ac558c9a2d0d201858cae3956eaea
325
cpp
C++
sandbox/src/sandbox_app.cpp
realjf/kent
c4000bb7a53de54db7575281dc7d6934ca79ce3c
[ "Apache-2.0" ]
null
null
null
sandbox/src/sandbox_app.cpp
realjf/kent
c4000bb7a53de54db7575281dc7d6934ca79ce3c
[ "Apache-2.0" ]
null
null
null
sandbox/src/sandbox_app.cpp
realjf/kent
c4000bb7a53de54db7575281dc7d6934ca79ce3c
[ "Apache-2.0" ]
null
null
null
#include <kent/core/entry_point.h> #include <kent/engine.h> class Sandbox : public Kent::Application { public: Sandbox() : Kent::Application("Sandbox") { std::cout << "Sandbox" << std::endl; } virtual ~Sandbox() = default; }; Kent::Application* Kent::CreateApplication() { return new Sandbox();...
19.117647
46
0.636923
realjf
e269c6655727f6ee8689d2607d8c1447838ccc38
2,255
hpp
C++
para/include/structures.hpp
asmelko/gmhc
f728aea146de8a3accbf051b0c7b2d1333bb6f8c
[ "MIT" ]
2
2021-04-01T08:37:50.000Z
2021-11-03T21:50:31.000Z
para/include/structures.hpp
asmelko/gmhc
f728aea146de8a3accbf051b0c7b2d1333bb6f8c
[ "MIT" ]
null
null
null
para/include/structures.hpp
asmelko/gmhc
f728aea146de8a3accbf051b0c7b2d1333bb6f8c
[ "MIT" ]
1
2021-04-01T08:38:02.000Z
2021-04-01T08:38:02.000Z
#ifndef COMMON_STRUCTURES_CUH #define COMMON_STRUCTURES_CUH #include <cuda_runtime.h> #include "clustering.hpp" // this file contains structures used in kernels or to pass parameters to kernels // structure that holds indices of cluster pair and distance between them struct chunk_t { float min_dist; cluster...
21.893204
81
0.709978
asmelko
e26a50cef4dcdbecfd5366bca667374b37924971
8,637
cpp
C++
src/actions_example/src/fib_server.cpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
src/actions_example/src/fib_server.cpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
src/actions_example/src/fib_server.cpp
IntelligentSystemsLabUTV/ros2_examples
b34d9238d680dd6b06177586f81bfed0bae31eb2
[ "MIT" ]
null
null
null
/** * Example Fibonacci computation action server source code. * * Roberto Masocco <robmasocco@gmail.com> * * January 10, 2022 */ #include <chrono> #include "../include/actions_example/fib_server.hpp" #ifdef ADVANCED #include "../include/actions_example/adv_qos.hpp" #endif using namespace std::chrono_literals...
29.885813
78
0.69538
IntelligentSystemsLabUTV
e26d30b29888973f66c93f4d342e0dd76e80fa1d
8,337
hpp
C++
contrib/gcc-4.1/libstdc++-v3/include/ext/pb_assoc/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
masami256/dfly-3.0.2-bhyve
6f6c18db6fa90734135a2044769035eb82b821c1
[ "BSD-3-Clause" ]
3
2017-03-06T14:12:57.000Z
2019-11-23T09:35:10.000Z
contrib/gcc-4.1/libstdc++-v3/include/ext/pb_assoc/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
masami256/dfly-3.0.2-bhyve
6f6c18db6fa90734135a2044769035eb82b821c1
[ "BSD-3-Clause" ]
null
null
null
contrib/gcc-4.1/libstdc++-v3/include/ext/pb_assoc/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
masami256/dfly-3.0.2-bhyve
6f6c18db6fa90734135a2044769035eb82b821c1
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- // Copyright (C) 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 2, or ...
23.617564
85
0.775099
masami256
e279028b499d8d866b58c52dcde0abd4ff1f6d08
10,848
cpp
C++
R-link/r4aimms/src/r4aimms/src/iAimmsFactory.cpp
aimms/R-Link
42007491f3565429e06d6124a476e3d1080ebee5
[ "DOC", "Unlicense" ]
1
2022-03-07T20:22:47.000Z
2022-03-07T20:22:47.000Z
R-link/r4aimms/src/r4aimms/src/iAimmsFactory.cpp
aimms/R-Link
42007491f3565429e06d6124a476e3d1080ebee5
[ "DOC", "Unlicense" ]
null
null
null
R-link/r4aimms/src/r4aimms/src/iAimmsFactory.cpp
aimms/R-Link
42007491f3565429e06d6124a476e3d1080ebee5
[ "DOC", "Unlicense" ]
2
2017-10-07T01:06:24.000Z
2021-02-25T04:53:46.000Z
/* This file is part of R-Link. R-Link is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. R-Link is distributed in the ho...
27.393939
113
0.657264
aimms
e27d748c143f733e5a48d9efc8c06593a6e3c981
911
cpp
C++
LeetCode/ThousandTwo/1189-max_num_of_balloons.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1189-max_num_of_balloons.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1189-max_num_of_balloons.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 1189. “气球” 的最大数量 给你一个字符串 text,你需要使用 text 中的字母来拼凑尽可能多的单词 "balloon"(气球)。 字符串 text 中的每个字母最多只能被使用一次。请你返回最多可以拼凑出多少个单词 "balloon"。 示例 1: https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2019/09/14/1536_ex1_upd.jpeg 输入:text = "nlaebolko" 输出:1 示例 2: https://assets.leetcode-cn.com/aliyun-l...
18.591837
84
0.655324
Ginkgo-Biloba
e281a9e8a44cdb8bff2c2fad4e6c870d935bd24d
8,769
cpp
C++
Kernel/test/test_i386_page_table_entry.cpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/test/test_i386_page_table_entry.cpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/test/test_i386_page_table_entry.cpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
#include "catch.hpp" #include <platform/i386/page_table_entry.hpp> TEST_CASE("test_i386_page_table_entry_is_present_0", "[i386]") { i386::PageTableEntry entry; entry.data = 0; // should set the PRESENT bit to zero REQUIRE(entry.is_present() == false); } TEST_CASE("test_i386_page_table_entry_is_present_1",...
28.470779
75
0.696659
foxostro
e288b80aeb1ef619dba5fa09d51bb8b49d89696b
626
cpp
C++
audio/supercollider/files/patch-server_scsynth_SC__CoreAudio.cpp
tbrodel/freebsd-ports
b085486326d414b1bac211b29f98cf3c48d8b2c5
[ "BSD-2-Clause" ]
null
null
null
audio/supercollider/files/patch-server_scsynth_SC__CoreAudio.cpp
tbrodel/freebsd-ports
b085486326d414b1bac211b29f98cf3c48d8b2c5
[ "BSD-2-Clause" ]
null
null
null
audio/supercollider/files/patch-server_scsynth_SC__CoreAudio.cpp
tbrodel/freebsd-ports
b085486326d414b1bac211b29f98cf3c48d8b2c5
[ "BSD-2-Clause" ]
null
null
null
--- server/scsynth/SC_CoreAudio.cpp.orig 2016-02-16 01:19:22 UTC +++ server/scsynth/SC_CoreAudio.cpp @@ -131,7 +131,7 @@ void initializeScheduler() { syncOSCOffsetWithTimeOfDay(); - thread resyncThread(resyncThreadFunc); + std::thread resyncThread(resyncThreadFunc); resyncThread.detach(); } #endif // SC_AUDIO_...
29.809524
66
0.726837
tbrodel
e288e19bbe7a4b84fc899e2e7d9140113c0e2f0a
358
cc
C++
log.cc
tigerruanyifan/2048
3a439a1a0e2b6d376f9af43d4733ff90b405dae5
[ "Apache-2.0" ]
null
null
null
log.cc
tigerruanyifan/2048
3a439a1a0e2b6d376f9af43d4733ff90b405dae5
[ "Apache-2.0" ]
null
null
null
log.cc
tigerruanyifan/2048
3a439a1a0e2b6d376f9af43d4733ff90b405dae5
[ "Apache-2.0" ]
null
null
null
#include "log.h" using namespace std; Log::Log(Game *g) : g_(g) { g_->AddActionListener(this); fp_.open("log.txt"); } Log::~Log() { fp_.close(); g_->RemoveActionListener(this); } void Log::ActionPerformed(std::string info) { if (info.length() > 0) Println(info); } void Log::Println(const...
17.9
60
0.600559
tigerruanyifan
e28be966654cd4fce91afbfb8197dd7d88d8c4ba
237
cpp
C++
UAlbertaBot/Source/commands/BWAPICommandExecutor.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
2
2017-07-06T18:27:41.000Z
2018-03-14T06:19:43.000Z
UAlbertaBot/Source/commands/BWAPICommandExecutor.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
18
2017-10-29T20:37:47.000Z
2019-08-25T16:01:28.000Z
UAlbertaBot/Source/commands/BWAPICommandExecutor.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
1
2017-09-13T07:02:23.000Z
2017-09-13T07:02:23.000Z
#include "BWAPICommandExecutor.h" AKBot::BWAPICommandExecutor::BWAPICommandExecutor(BWAPI::Game * game) : _game(game) { } void AKBot::BWAPICommandExecutor::onCommand(const std::string & command) { _game->sendText(command.c_str()); }
19.75
72
0.755274
kant2002
e28d102a8aea96c56719ae2e1f4d3201ff0ec118
3,542
hpp
C++
include/ph_debug/debug.hpp
phiwen96/ph_debug
2801fd37467bc609a5ad19272ca0d9402238822d
[ "Apache-2.0" ]
null
null
null
include/ph_debug/debug.hpp
phiwen96/ph_debug
2801fd37467bc609a5ad19272ca0d9402238822d
[ "Apache-2.0" ]
null
null
null
include/ph_debug/debug.hpp
phiwen96/ph_debug
2801fd37467bc609a5ad19272ca0d9402238822d
[ "Apache-2.0" ]
null
null
null
#pragma once using namespace std; #include <ph_time/time.hpp> #include <ph_color/color.hpp> struct _debug { string function_name; string time_called; __thread_id thread_id; _debug (string&& function_name) : function_name {function_name}, time_called {now ()}, thread_id {this_thread::get_id()} { //...
42.166667
309
0.563241
phiwen96
e28e7297c8c13343a0a40239be45f55c570a89dd
581
cpp
C++
my_work/arrays/array_cars.cpp
korayyalcin1903/c-_work
1a5f6103aa68ae9a16077d972bfeba1a4272789f
[ "MIT" ]
null
null
null
my_work/arrays/array_cars.cpp
korayyalcin1903/c-_work
1a5f6103aa68ae9a16077d972bfeba1a4272789f
[ "MIT" ]
null
null
null
my_work/arrays/array_cars.cpp
korayyalcin1903/c-_work
1a5f6103aa68ae9a16077d972bfeba1a4272789f
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; int main(int argc, char const *argv[]) { setlocale(LC_ALL,"Turkish"); int sayac=1; string cars[4]; for(int j=0;j<4;j++) { cout << "Araba Markasi Giriniz:"; cin >> cars[j]; } cout << "-----------------...
24.208333
173
0.364888
korayyalcin1903
e28f663d13ccbf816a182d0054455c4c783db6ff
727
cpp
C++
leetcode/contest/weekly/228/1758.Minimum-Changes-To-Make-Alternating-Binary-String.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-08T19:28:40.000Z
2020-10-08T19:28:40.000Z
leetcode/contest/weekly/228/1758.Minimum-Changes-To-Make-Alternating-Binary-String.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
null
null
null
leetcode/contest/weekly/228/1758.Minimum-Changes-To-Make-Alternating-Binary-String.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-24T02:32:27.000Z
2020-10-24T02:32:27.000Z
class Solution { public: int minOperations(string s) { string s1 = "", s2 = ""; for (int i = 0; i < s.size(); ++i) { if (i % 2 == 0) { s1 += "1"; } else { s1 += "0"; } } for (int i = 0; i < s.size(); ++i) { ...
24.233333
44
0.250344
leohr
e293705a73f1d95891c5dd227758af66209c3051
15,981
cpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Game2D/collectible_item_05.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Game2D/collectible_item_05.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Game2D/collectible_item_05.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
// Generated by imageconverter. Please, do not edit! #include <touchgfx/hal/Config.hpp> LOCATION_EXTFLASH_PRAGMA KEEP extern const unsigned char _collectible_item_05[] LOCATION_EXTFLASH_ATTRIBUTE = { // 28x28 ARGB8888 pixels. 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x...
202.291139
320
0.796446
ramkumarkoppu
e297eeba0e2bf980f88b15bc5d1e7e354fb864d9
2,233
hpp
C++
aviutl/InputPlugin.hpp
ePi5131/aviutl_exedit_sdk
219be3ede890ab5998618d7f11d9e1987d5f9637
[ "BSD-1-Clause" ]
16
2022-03-26T03:16:14.000Z
2022-03-30T08:29:53.000Z
aviutl/InputPlugin.hpp
ePi5131/aviutl_exedit_sdk
219be3ede890ab5998618d7f11d9e1987d5f9637
[ "BSD-1-Clause" ]
null
null
null
aviutl/InputPlugin.hpp
ePi5131/aviutl_exedit_sdk
219be3ede890ab5998618d7f11d9e1987d5f9637
[ "BSD-1-Clause" ]
null
null
null
#pragma once #include <cstdint> #include <Windows.h> #include <aviutl/InputInfo.hpp> #include <aviutl/InputHandle.hpp> namespace AviUtl{ namespace detail { enum class InputPluginFlag : uint32_t { Video = 1 << 0, Audio = 1 << 1, HasConfig = 1 << 8, Bu...
32.362319
93
0.595163
ePi5131
e29b6a88f5d5cee957da7135f5f95417c9d873ad
644
hpp
C++
include/tuc/functional_detail.hpp
reunanen/tuc
ff062b4779920c089f681694e6fbed6f90ce4eb9
[ "MIT" ]
null
null
null
include/tuc/functional_detail.hpp
reunanen/tuc
ff062b4779920c089f681694e6fbed6f90ce4eb9
[ "MIT" ]
null
null
null
include/tuc/functional_detail.hpp
reunanen/tuc
ff062b4779920c089f681694e6fbed6f90ce4eb9
[ "MIT" ]
null
null
null
#pragma once // To be included only via tuc/functional.hpp namespace tuc { namespace detail { template <typename NotVector> void reserve(NotVector&, size_t) { // By default, do nothing (not std::vector) } template <typename VectorElement> void reserve(std::vector<VectorElem...
30.666667
113
0.608696
reunanen
e2a3b93bfda0eb91184c8e594e7bb10f90dff4f1
572
cpp
C++
cpp/2449.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
9
2021-01-15T13:36:39.000Z
2022-02-23T03:44:46.000Z
cpp/2449.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
1
2021-07-31T17:11:26.000Z
2021-08-02T01:01:03.000Z
cpp/2449.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio cin.tie(0)->sync_with_stdio(0) using namespace std; int n, m, cache[200][200]; vector<int> v; int DFS(int l, int r) { if (r <= l) return 0; int& ret = cache[l][r]; if (ret != -1) return ret; ret = 1e9; for (int i = l; i < r; i++) ret = min(ret, DFS(l, i) + DFS(i + 1, r) + (...
22.88
88
0.520979
jinhan814
e2a7bd72187aa802c3630aab24272555111929fd
4,461
hpp
C++
src/corelib/tle5012b_util.hpp
OlafFilies/magnetic-angle-sensor
87618e9df29ab278e2af5eea7d9120769e197f9f
[ "MIT" ]
39
2019-01-08T23:35:11.000Z
2022-03-13T23:43:04.000Z
src/corelib/tle5012b_util.hpp
OlafFilies/magnetic-angle-sensor
87618e9df29ab278e2af5eea7d9120769e197f9f
[ "MIT" ]
16
2018-11-18T19:19:41.000Z
2022-02-14T14:09:37.000Z
src/corelib/tle5012b_util.hpp
OlafFilies/magnetic-angle-sensor
87618e9df29ab278e2af5eea7d9120769e197f9f
[ "MIT" ]
21
2019-01-18T01:32:47.000Z
2022-02-19T15:51:08.000Z
/*! * \file tle5012b_util.hpp * \name tle5012b_util.hpp - core support header for the TLE5012B angle sensor. * \author Infineon Technologies AG * \copyright 2019-2020 Infineon Technologies AG * \version 3.0.0 * \brief GMR-based angle sensor for angular position sensing in automotive...
45.060606
140
0.649182
OlafFilies
e2a85454f073198d84e636299f42591f0c868590
748
cpp
C++
vm/mvm.cpp
alex-ilin/factor
b6f33e03990cb7645201486366d543ae724e8fe1
[ "BSD-2-Clause" ]
930
2016-03-01T08:40:07.000Z
2022-03-29T10:37:39.000Z
vm/mvm.cpp
alex-ilin/factor
b6f33e03990cb7645201486366d543ae724e8fe1
[ "BSD-2-Clause" ]
1,231
2016-02-19T21:52:25.000Z
2022-03-27T23:24:50.000Z
vm/mvm.cpp
alex-ilin/factor
b6f33e03990cb7645201486366d543ae724e8fe1
[ "BSD-2-Clause" ]
118
2016-02-19T21:37:05.000Z
2022-02-21T19:44:02.000Z
#include "master.hpp" namespace factor { std::map<THREADHANDLE, factor_vm*> thread_vms; struct startargs { int argc; vm_char** argv; }; // arg must be new'ed because we're going to delete it! void* start_standalone_factor_thread(void* arg) { factor_vm* newvm = new_factor_vm(); startargs* args = (startargs*)...
23.375
77
0.664439
alex-ilin
e2a98cd9456041a56d6790dc356084581bc1d214
729
cpp
C++
graph/test/bridge.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
20
2021-06-21T00:18:54.000Z
2022-03-17T17:45:44.000Z
graph/test/bridge.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
56
2021-06-03T14:42:13.000Z
2022-03-26T14:15:30.000Z
graph/test/bridge.test.cpp
ankit6776/cplib-cpp
b9f8927a6c7301374c470856828aa1f5667d967b
[ "MIT" ]
2
2021-08-31T04:47:49.000Z
2021-09-09T06:39:57.000Z
#include "../lowlink.hpp" #include <algorithm> #include <iostream> #include <utility> #include <vector> #define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_3_B" int main() { int V, E; std::cin >> V >> E; UndirectedGraph graph(V); for (int i = 0; i < E; i++) { int s, t;...
27
82
0.556927
ankit6776
e2ac303c1a1ba24949f1ba890fae7b8417ceab4f
246
cpp
C++
Game/Client/WXClient/Network/PacketHandler/CGPlayerShopBuyItemHandler.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/WXClient/Network/PacketHandler/CGPlayerShopBuyItemHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/WXClient/Network/PacketHandler/CGPlayerShopBuyItemHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "StdAfx.h" #include "CGPlayerShopBuyItem.h" UINT CGPlayerShopBuyItemHandler::Execute( CGPlayerShopBuyItem* pPacket, Player* pPlayer ) { __ENTER_FUNCTION return PACKET_EXE_CONTINUE ; __LEAVE_FUNCTION return PACKET_EXE_ERROR ; }
17.571429
89
0.796748
hackerlank
e2acdcf00114ac060a2cc23af564d1198f49b18d
11,689
cpp
C++
EngineLuke/src/ML_ENGINE/ML_ENGINE/ML/Association/KmeansClustering.cpp
speed0606/team.luke
6354d8237227276316a8f1e4bb10486a9ab968bf
[ "MIT" ]
3
2016-12-03T08:24:51.000Z
2017-02-26T21:28:29.000Z
EngineLuke/src/ML_ENGINE/ML_ENGINE/ML/Association/KmeansClustering.cpp
dk-seo/team.luke
6354d8237227276316a8f1e4bb10486a9ab968bf
[ "MIT" ]
null
null
null
EngineLuke/src/ML_ENGINE/ML_ENGINE/ML/Association/KmeansClustering.cpp
dk-seo/team.luke
6354d8237227276316a8f1e4bb10486a9ab968bf
[ "MIT" ]
2
2017-02-19T23:41:27.000Z
2017-02-26T21:28:31.000Z
/******************************************************************************/ /*! \file KmeansClustering.cpp \project CS399_TeamLuke \author Hanbyul Jeon, Deok-Hwa (DK) Seo Copyright (C) 2016 DigiPen Institute of Technology. Reproduction or disclosure of this file or its contents without the prior written consent o...
26.871264
98
0.598939
speed0606
e2ad1e63ef8826d66c3935972f84cf83ca29653d
3,957
hpp
C++
VirtuWorks/DateTime.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
2
2021-06-09T00:38:46.000Z
2021-09-04T21:55:33.000Z
VirtuWorks/DateTime.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
null
null
null
VirtuWorks/DateTime.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
1
2021-08-30T00:46:12.000Z
2021-08-30T00:46:12.000Z
// // Created by phoenixflower on 11/26/20. // #ifndef LANDESSDEVCORE_VW_DATETIME_HPP #define LANDESSDEVCORE_VW_DATETIME_HPP #include "Chrono/DateTime.h" #include "Primitives/General/StringView.hpp" #include "Primitives/General/ctre.hpp" #include "IO/FetchRequest.h" namespace LD { namespace VW { names...
46.011628
359
0.551933
jlandess
e2b07fad535d2682c742dcb01b63c815359f0a2f
3,500
cpp
C++
decnumber_funcs128.cpp
hypnocode/decnumberxx
75a0626c97e53614d36de0e5a519514bb82cb1d4
[ "ICU" ]
3
2016-04-13T17:14:40.000Z
2021-10-05T00:47:03.000Z
decnumber_funcs128.cpp
hypnocode/decnumberxx
75a0626c97e53614d36de0e5a519514bb82cb1d4
[ "ICU" ]
null
null
null
decnumber_funcs128.cpp
hypnocode/decnumberxx
75a0626c97e53614d36de0e5a519514bb82cb1d4
[ "ICU" ]
null
null
null
/*------------------------------------------------------------------------------ decnumberxx Copyright (c) 2012, Hypnocode GmbH All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of sou...
28.688525
87
0.716571
hypnocode
e2b0894d87d0b1c8ff7e3bc137d4f78ee62eb941
6,460
hpp
C++
include/libgit2++/configuration.hpp
nabijaczleweli/libgit2pp
5aee94e708ad72ff347f7fb085d1a078fc87c861
[ "MIT" ]
1
2016-11-14T10:39:43.000Z
2016-11-14T10:39:43.000Z
include/libgit2++/configuration.hpp
nabijaczleweli/libgit2pp
5aee94e708ad72ff347f7fb085d1a078fc87c861
[ "MIT" ]
null
null
null
include/libgit2++/configuration.hpp
nabijaczleweli/libgit2pp
5aee94e708ad72ff347f7fb085d1a078fc87c861
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2016 nabijaczleweli // 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...
38.224852
156
0.745975
nabijaczleweli
e2bcce6fbca3eab1127af8bd9af5449d04413d3d
33,298
cpp
C++
test/unit/argument_parser/format_parse_validators_test.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
test/unit/argument_parser/format_parse_validators_test.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
test/unit/argument_parser/format_parse_validators_test.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
42.635083
120
0.610847
Clemapfel
e2bdd1d34ba3370b78cc3c9b27fcbd2ec664264b
622
cpp
C++
git_C++/SET IV/Tema SET 4/11/main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
1
2021-11-28T14:36:35.000Z
2021-11-28T14:36:35.000Z
git_C++/SET IV/Tema SET 4/11/main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
null
null
null
git_C++/SET IV/Tema SET 4/11/main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int n,i,x[100],y[100],a=1,b; int main() { cout <<"Introduceti numarul de elemente n="; cin>>n; cout<<"Introduceti elementele vectorului x"<<endl; for(i=1;i<=n;i++) { cout<<"x["<<i<<"]="; cin>>x[i]; } cout<<"Introduceti e...
20.733333
55
0.42283
sorinmiroiu97
e2cb0e179d9942ec0888cfced6f69dbc7896cc33
1,149
cpp
C++
hydrogen-runtime/hydrogen/main.cpp
quadnix/hydrogen-cpp
872768ae1a62b12b8a6dca0d8d33305172b9628d
[ "MIT" ]
null
null
null
hydrogen-runtime/hydrogen/main.cpp
quadnix/hydrogen-cpp
872768ae1a62b12b8a6dca0d8d33305172b9628d
[ "MIT" ]
null
null
null
hydrogen-runtime/hydrogen/main.cpp
quadnix/hydrogen-cpp
872768ae1a62b12b8a6dca0d8d33305172b9628d
[ "MIT" ]
null
null
null
// // main.cpp // hydrogen // // Created by Patrick Kage on 4/10/15. // Copyright (c) 2015 Patrick Kage. All rights reserved. // #include <iostream> #include <unistd.h> #include "errors.h" #include "errorstack.h" #include "fextractor.h" #include "directivebundle.h" #include "reference.h" #include "value.h" #inclu...
20.157895
61
0.628372
quadnix
e2cb58df563f204d1cdf6c833d6ea160d91ced7b
236
cpp
C++
BaiTap-Loop/songhicdao/main.cpp
namanhishere/cpp
109988fb91e10c986cd1111cd2c543a056f4e560
[ "MIT" ]
1
2021-09-25T14:40:33.000Z
2021-09-25T14:40:33.000Z
BaiTap-Loop/songhicdao/main.cpp
namanhishere/cpp
109988fb91e10c986cd1111cd2c543a056f4e560
[ "MIT" ]
null
null
null
BaiTap-Loop/songhicdao/main.cpp
namanhishere/cpp
109988fb91e10c986cd1111cd2c543a056f4e560
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int inp; cin >> inp; int n = inp; int out = 0; while(n / 10 != 0){ out = out*10+n%10; n = n /10; } cout << out*10+n/10; return 0; }
13.111111
26
0.457627
namanhishere
e2cd932023abd07d5da02773b90938c4a897fa44
1,546
cpp
C++
fictional-fiesta/world/src/Phenotype.cpp
deStagiaire/fictional-fiesta
689e374885774b6eb7b8c11b1224204d7893ca07
[ "MIT" ]
null
null
null
fictional-fiesta/world/src/Phenotype.cpp
deStagiaire/fictional-fiesta
689e374885774b6eb7b8c11b1224204d7893ca07
[ "MIT" ]
null
null
null
fictional-fiesta/world/src/Phenotype.cpp
deStagiaire/fictional-fiesta
689e374885774b6eb7b8c11b1224204d7893ca07
[ "MIT" ]
null
null
null
/// @file Phenotype.cpp Implementation of the Phenotype class. #include "fictional-fiesta/world/itf/Phenotype.h" #include "fictional-fiesta/utils/itf/XmlNode.h" #include <sstream> namespace fictionalfiesta { namespace { constexpr char XML_ENERGY_NAME[]{"Energy"}; } // anonymous namespace Phenotype::Phenotype(do...
19.08642
96
0.725744
deStagiaire
e2ce37baf40e88509fc348ad8717f9866fbddeb4
416
cpp
C++
C++/maximum-distance-between-a-pair-of-values.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/maximum-distance-between-a-pair-of-values.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/maximum-distance-between-a-pair-of-values.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n + m) // Space: O(1) class Solution { public: int maxDistance(vector<int>& nums1, vector<int>& nums2) { int result = 0, i = 0, j = 0; while (i < size(nums1) && j < size(nums2)) { if (nums1[i] > nums2[j]) { ++i; } else { result = m...
21.894737
61
0.391827
Priyansh2
e2cf2e4a6fe60b74226959062f564b961d1678a6
582
cpp
C++
CodingNinjas/IsoscelesStarPattern.cpp
Sidharth-S-S/MyCppRepository
e03589b64ed65127b4a14a87e4c4054d9e4d8cc9
[ "MIT" ]
2
2022-02-03T02:43:32.000Z
2022-03-23T05:56:10.000Z
CodingNinjas/IsoscelesStarPattern.cpp
Sidharth-S-S/MyCppRepository
e03589b64ed65127b4a14a87e4c4054d9e4d8cc9
[ "MIT" ]
null
null
null
CodingNinjas/IsoscelesStarPattern.cpp
Sidharth-S-S/MyCppRepository
e03589b64ed65127b4a14a87e4c4054d9e4d8cc9
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ /* Read input as specified in the question. * Print output as specified in the question. */ int n ; cin >> n ; for (int i=1;i<=n;i++) { // print the spaces 1st ; in ith row i-1 spaces to print for (int j = 1 ; j<=n-i;j++) ...
24.25
114
0.484536
Sidharth-S-S
e2cfa6ee1464ee2f8e7106095f33a292af806968
2,570
cpp
C++
build/source/NxOgreUtil.cpp
betajaen/nxogre
ab2fb93754fa5876191de2e27a416b501f480180
[ "MIT" ]
22
2015-03-11T20:32:30.000Z
2022-03-05T23:16:10.000Z
build/source/NxOgreUtil.cpp
betajaen/nxogre
ab2fb93754fa5876191de2e27a416b501f480180
[ "MIT" ]
1
2021-07-03T14:13:14.000Z
2021-07-03T14:13:14.000Z
build/source/NxOgreUtil.cpp
betajaen/nxogre
ab2fb93754fa5876191de2e27a416b501f480180
[ "MIT" ]
13
2015-02-09T14:30:24.000Z
2020-03-20T11:51:55.000Z
/** This file is part of NxOgre. Copyright (c) 2009 Robin Southern, http://www.nxogre.org 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, in...
34.266667
127
0.563035
betajaen
e2d8cd90935e0fba1ac9c349b08023737111dc01
10,767
cpp
C++
src/sim/search/ExpertKnowledge.cpp
gamerpuppy/sts_lightspeed
dc3ac7c05cf759987da6c95bca70592d987101b0
[ "MIT" ]
12
2021-09-06T19:29:12.000Z
2022-03-17T02:16:59.000Z
src/sim/search/ExpertKnowledge.cpp
gamerpuppy/sts_lightspeed
dc3ac7c05cf759987da6c95bca70592d987101b0
[ "MIT" ]
1
2022-01-27T14:24:54.000Z
2022-01-27T14:24:54.000Z
src/sim/search/ExpertKnowledge.cpp
gamerpuppy/sts_lightspeed
dc3ac7c05cf759987da6c95bca70592d987101b0
[ "MIT" ]
1
2022-01-20T07:09:45.000Z
2022-01-20T07:09:45.000Z
// // Created by keega on 9/19/2021. // #include "sim/search/ExpertKnowledge.h" using namespace sts; int sts::search::Expert::getPlayOrdering(CardId id) { switch (id) { case CardId::NORMALITY: return -30; case CardId::PAIN: return -25; case CardId::APOTHEOSIS: ...
25.393868
63
0.568032
gamerpuppy
e2dbbfc80bcb616a0299dbc11876660fa990a83e
177
cpp
C++
PETCS/Intermediate/helloworld.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Intermediate/helloworld.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Intermediate/helloworld.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { cin.sync_with_stdio(0); cin.tie(0); cout.tie(0); cout << "Hello, World!" << "\n"; return 0; }
19.666667
37
0.542373
dl4us
e2e04a43c7fad8002d8ef31c22871c95a062cf10
62,712
cpp
C++
dp/gl/src/Texture.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
217
2015-01-06T09:26:53.000Z
2022-03-23T14:03:18.000Z
dp/gl/src/Texture.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
10
2015-01-25T12:42:05.000Z
2017-11-28T16:10:16.000Z
dp/gl/src/Texture.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
44
2015-01-13T01:19:41.000Z
2022-02-21T21:35:08.000Z
// Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of con...
31.785099
193
0.621619
asuessenbach
e2e0804841ec19cbc0bf85186298cd3c95446a24
604
hpp
C++
src/Domain/Creators/Factory1D.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Domain/Creators/Factory1D.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Domain/Creators/Factory1D.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <cstddef> #include "Domain/Creators/AlignedLattice.hpp" #include "Domain/Creators/Factory.hpp" #include "Domain/Creators/Interval.hpp" #include "Domain/Creators/RotatedIntervals.hpp" #include "Utilities/TMPL.hpp" namespace D...
27.454545
62
0.708609
macedo22
e2eb6fe227e20b8bd23c67a933f019a2c3856811
1,797
cpp
C++
src/examples/eag_control/eag_control_main.cpp
JGSuw/Firmware
c68a333795fb03034ab612ac0612aa736c9a28dc
[ "BSD-3-Clause" ]
null
null
null
src/examples/eag_control/eag_control_main.cpp
JGSuw/Firmware
c68a333795fb03034ab612ac0612aa736c9a28dc
[ "BSD-3-Clause" ]
null
null
null
src/examples/eag_control/eag_control_main.cpp
JGSuw/Firmware
c68a333795fb03034ab612ac0612aa736c9a28dc
[ "BSD-3-Clause" ]
null
null
null
#include "EAGControl.h" #include <px4_log.h> #include <cstring> #include <cstdlib> EAGControl *controller = NULL; /** * Print the correct usage. */ static void usage(const char *reason); static void usage(const char *reason) { if (reason) { warnx("%s\n", reason); } warnx("usage: eag_control {start|stop|statu...
20.420455
78
0.643851
JGSuw
e2f8a2b90b6fe84d131f620a2ae86b27c0b8b701
4,411
cpp
C++
sources/calibn/tmp/helpers.cpp
SimonsRoad/seq2map
cc8cd20842b3c6db01f73d2e6ecf543189e56891
[ "BSD-3-Clause" ]
null
null
null
sources/calibn/tmp/helpers.cpp
SimonsRoad/seq2map
cc8cd20842b3c6db01f73d2e6ecf543189e56891
[ "BSD-3-Clause" ]
null
null
null
sources/calibn/tmp/helpers.cpp
SimonsRoad/seq2map
cc8cd20842b3c6db01f73d2e6ecf543189e56891
[ "BSD-3-Clause" ]
1
2018-11-01T13:11:39.000Z
2018-11-01T13:11:39.000Z
#include <sstream> #include <fstream> #include <iomanip> #include <ctime> #include <calibn/helpers.hpp> using namespace cv; std::vector<String> split(const String &s, char delim) { std::vector<String> elems; split(s, delim, elems); return elems; } std::vector<String>& split(const String &s, char delim, Strings &e...
21.945274
146
0.619814
SimonsRoad
e2fae44f646ad661d1a508788c2d764a0603039d
839
cpp
C++
Find (Kth element) Second Minimum number in an Array.cpp
Faiquekhan15/C-C-conceptual-Questions
a75141bd5a58c32e2446f695e66ffbf979b8c8af
[ "MIT" ]
null
null
null
Find (Kth element) Second Minimum number in an Array.cpp
Faiquekhan15/C-C-conceptual-Questions
a75141bd5a58c32e2446f695e66ffbf979b8c8af
[ "MIT" ]
null
null
null
Find (Kth element) Second Minimum number in an Array.cpp
Faiquekhan15/C-C-conceptual-Questions
a75141bd5a58c32e2446f695e66ffbf979b8c8af
[ "MIT" ]
null
null
null
//****************************************************************************** // C++ // Find Second Minimum number in an Array //*******************************************************************************/ #include<iostream> #include <limits.h> using namespace std; void kth...
19.97619
82
0.402861
Faiquekhan15
e2fb0903f0d4dd71bd7651f14cca93146eab1e9d
2,628
cpp
C++
app/parser/Reader.cpp
josokw/ExamGenerator
22a566799c4bb31275ef942ae5ae529285eb741a
[ "MIT" ]
2
2019-07-15T05:01:57.000Z
2019-09-25T20:23:04.000Z
app/parser/Reader.cpp
josokw/ExamGenerator
22a566799c4bb31275ef942ae5ae529285eb741a
[ "MIT" ]
null
null
null
app/parser/Reader.cpp
josokw/ExamGenerator
22a566799c4bb31275ef942ae5ae529285eb741a
[ "MIT" ]
null
null
null
#include "Reader.h" #include "GenExams.h" #include "Log.h" #include "Parser.h" #include <algorithm> namespace bsp = boost::spirit::classic; Reader::Reader(std::istream &examScript) : messages_{} , input_{examScript} , examScriptText_{} , pBuilder_{nullptr} { } void Reader::clear() { ...
26.816327
84
0.495434
josokw
e2fcc7f87f57c6506bb31da97aa8ea8832d846a7
3,338
cpp
C++
BlissGBA/Memory/MemoryBus.cpp
Mesiow/BlissGBA
45d8334a3e52917092b05b8d39e35b41b6344b4f
[ "MIT" ]
8
2021-07-26T01:21:39.000Z
2022-01-26T12:28:24.000Z
BlissGBA/Memory/MemoryBus.cpp
Mesiow/BlissGBA
45d8334a3e52917092b05b8d39e35b41b6344b4f
[ "MIT" ]
null
null
null
BlissGBA/Memory/MemoryBus.cpp
Mesiow/BlissGBA
45d8334a3e52917092b05b8d39e35b41b6344b4f
[ "MIT" ]
null
null
null
#include "MemoryBus.h" MemoryBus::MemoryBus() :genMem(), displayMem(), mmio(&genMem) { genMem.loadBios("roms/cult_bios.bin"); } void MemoryBus::loadGamePak(const std::string& file) { pak.load(file); } void MemoryBus::writeU8(u32 address, u8 value) { if (address < GENERAL_MEM_END) { genMem.writeU8(address, valu...
23.507042
73
0.682744
Mesiow
c3b657a02abddd3725cca1f939e78d2088c1821a
128
cpp
C++
code-examples/retval-retvoid/usage_example.cpp
dawidpilarski/CodeDive-coroutines
732111f48116bbfea963abf21afd88cca6b9c18e
[ "Apache-2.0" ]
1
2020-06-08T03:55:13.000Z
2020-06-08T03:55:13.000Z
code-examples/retval-retvoid/usage_example.cpp
dawidpilarski/CodeDive-coroutines
732111f48116bbfea963abf21afd88cca6b9c18e
[ "Apache-2.0" ]
null
null
null
code-examples/retval-retvoid/usage_example.cpp
dawidpilarski/CodeDive-coroutines
732111f48116bbfea963abf21afd88cca6b9c18e
[ "Apache-2.0" ]
null
null
null
task<int> foo(){ co_return 42; } task<void> start(){ std::cout << (co_await foo()) << std::endl; // implicit co_return; }
16
45
0.59375
dawidpilarski
c3bd03be16660bba412a89b26ca5de691e016124
1,823
cpp
C++
src/database/overlay/SoXipMenuStyleElement.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/database/overlay/SoXipMenuStyleElement.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/database/overlay/SoXipMenuStyleElement.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2....
23.675325
91
0.767965
OpenXIP
c3d126ac145c3e6d5ccc2b21526827f27d71c334
1,479
cpp
C++
q/src/video/GLES/GLES_Vertex_Buffer.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
36
2015-03-09T16:47:14.000Z
2021-02-04T08:32:04.000Z
q/src/video/GLES/GLES_Vertex_Buffer.cpp
jeanlemotan/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
42
2017-02-11T11:15:51.000Z
2019-12-28T16:00:44.000Z
q/src/video/GLES/GLES_Vertex_Buffer.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
5
2015-10-15T05:46:48.000Z
2020-05-11T17:40:36.000Z
#include "QStdAfx.h" #include "video/GLES/GLES_Vertex_Buffer.h" #include "video/GLES/GLES_Interface.h" #include "video/Renderer.h" using namespace q; using namespace video; GLES_Vertex_Buffer::GLES_Vertex_Buffer() : m_buffer(GLES_Buffer_Impl::Type::VERTEX) { } GLES_Vertex_Buffer::~GLES_Vertex_Buffe...
19.207792
63
0.747803
jeanleflambeur
c3d94a01fc234fa24b3da7725a56a6ead220a328
1,391
cpp
C++
net/acceptor.cpp
bihuchao/small_rpc
8722031b72c4575a8ad52bc8bcb580a1bfecc58c
[ "BSD-2-Clause" ]
1
2022-03-13T23:44:39.000Z
2022-03-13T23:44:39.000Z
net/acceptor.cpp
bihuchao/small_rpc
8722031b72c4575a8ad52bc8bcb580a1bfecc58c
[ "BSD-2-Clause" ]
null
null
null
net/acceptor.cpp
bihuchao/small_rpc
8722031b72c4575a8ad52bc8bcb580a1bfecc58c
[ "BSD-2-Clause" ]
null
null
null
// Use of this source code is governed by a BSD-style license. // // Author: Huchao Bi (bihuchao at qq dot com) #include "acceptor.h" #include "base/logging.h" #include "socket.h" #include "eventloop.h" #include "tcpconnection.h" namespace small_rpc { // Acceptor Acceptor::Acceptor(EventLoop* el, const char* addr, u...
27.27451
78
0.629763
bihuchao
c3e58cf1abc09feb5b8686f6107393581dee948f
1,946
cpp
C++
Source/Engine/Source/ING/Rendering/Engine/Engine.cpp
vinoxphucs/ING
cb0123847fb225b65bb5cddb1e4456cd562fd43e
[ "MIT" ]
1
2022-03-01T07:30:58.000Z
2022-03-01T07:30:58.000Z
Source/Engine/Source/ING/Rendering/Engine/Engine.cpp
vinoxphucs/ING
cb0123847fb225b65bb5cddb1e4456cd562fd43e
[ "MIT" ]
null
null
null
Source/Engine/Source/ING/Rendering/Engine/Engine.cpp
vinoxphucs/ING
cb0123847fb225b65bb5cddb1e4456cd562fd43e
[ "MIT" ]
null
null
null
#include "Engine.h" /** * Include System */ #include <ING\Rendering/System/System.h> /** * Include Shader Manager */ #include <ING\Rendering/Shader/Manager/Manager.h> /** * Include Material Manager */ #include <ING\Rendering/Material/Manager/Manager.h> /** * Include Mesh Manager */ #include <ING\Ren...
10.932584
53
0.613566
vinoxphucs
c3eadb28b8704f97adf6521a9743003877697216
1,541
cpp
C++
PhotoChopper/utils/statistics.cpp
SteaveP/PhotoChopper
7a96d389b5c77bfee9d212a679fb999dc87a4856
[ "MIT" ]
null
null
null
PhotoChopper/utils/statistics.cpp
SteaveP/PhotoChopper
7a96d389b5c77bfee9d212a679fb999dc87a4856
[ "MIT" ]
1
2017-03-27T16:32:08.000Z
2017-03-27T16:32:08.000Z
PhotoChopper/utils/statistics.cpp
SteaveP/PhotoChopper
7a96d389b5c77bfee9d212a679fb999dc87a4856
[ "MIT" ]
null
null
null
#include "statistics.h" namespace pc { namespace utils { Statistics::Statistics() { Reset(); } Statistics::Info::Info(const std::string& file, const std::string& msg) : filename(file), message(msg) {} Statistics::Info::Info() {} void Statistics::Reset() { m_success.clear(); m_warning.clear(); m_fail.clear();...
15.565657
75
0.711875
SteaveP
c3f1427415057d66a5e13f874fc98025f3373f53
2,873
cpp
C++
proto_server/test/test_net_parse_routines.cpp
tseyler/proto-server
e3a45dc64e8081deaad5a8a59560878c2b0bfdc1
[ "MIT" ]
null
null
null
proto_server/test/test_net_parse_routines.cpp
tseyler/proto-server
e3a45dc64e8081deaad5a8a59560878c2b0bfdc1
[ "MIT" ]
null
null
null
proto_server/test/test_net_parse_routines.cpp
tseyler/proto-server
e3a45dc64e8081deaad5a8a59560878c2b0bfdc1
[ "MIT" ]
null
null
null
/* Copyright 2015 Terry Seyler. All rights reserved. */ #include <core/protocol/net_parse_routines.hpp> #include <gtest/gtest.h> using namespace proto_net::protocol; TEST(NetParseRoutinesTest, search_pattern_test) { std::string str("This is a test"); std::string pat("is"); EXPECT_TRUE( search_patt...
25.201754
62
0.651584
tseyler
c3f5d5caa3eb0a1570057d44944c33d97044c029
50,091
cpp
C++
src/eval_impl_jit.cpp
jarikomppa/sassy
0802c4ef13e5d9b6079cbee60cbf753ae26179f2
[ "MIT" ]
32
2022-03-11T17:54:09.000Z
2022-03-25T08:07:06.000Z
src/eval_impl_jit.cpp
jarikomppa/sassy
0802c4ef13e5d9b6079cbee60cbf753ae26179f2
[ "MIT" ]
null
null
null
src/eval_impl_jit.cpp
jarikomppa/sassy
0802c4ef13e5d9b6079cbee60cbf753ae26179f2
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "eval.h" #include "xbyak/xbyak.h" using namespace EvalFunc; namespace jit_kludge { double log(double v) { return std::log((float)v); // no "double log(double)" exists } double log10(double v) { return std::log10((float)v);...
26.800963
160
0.596754
jarikomppa
c3f9787d916eb81fbdd07a3a6702a3d06b514c0e
75,981
cpp
C++
p/mpgt/MultiPartiteGraph.cpp
jose-lp/docker-ie0521
e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d
[ "MIT" ]
null
null
null
p/mpgt/MultiPartiteGraph.cpp
jose-lp/docker-ie0521
e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d
[ "MIT" ]
null
null
null
p/mpgt/MultiPartiteGraph.cpp
jose-lp/docker-ie0521
e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d
[ "MIT" ]
null
null
null
#include "MultiPartiteGraph.h" #include "Defs.h" using namespace cv; using namespace std; MultiPartiteGraph::MultiPartiteGraph(int n_window) { number_of_graphs = 0; window_size = n_window; position_weight = 0.07; histogram_weight = 0.001; contour_weight = 0.001; area_weight = 0.00025; enable_oclusion_solver =...
44.175
240
0.670905
jose-lp
c3f9cfb939b0a918f7a75a9fa3437d84495ba561
10,329
hpp
C++
include/mc2lib/codegen/cats.hpp
melver/mc2lib
c67b3884217a1ff6cd5f0e67eb92525245488d8e
[ "BSD-3-Clause" ]
5
2016-09-26T04:03:11.000Z
2021-12-02T06:59:14.000Z
include/mc2lib/codegen/cats.hpp
melver/mc2lib
c67b3884217a1ff6cd5f0e67eb92525245488d8e
[ "BSD-3-Clause" ]
1
2021-09-10T08:33:23.000Z
2021-09-13T09:03:28.000Z
include/mc2lib/codegen/cats.hpp
melver/mc2lib
c67b3884217a1ff6cd5f0e67eb92525245488d8e
[ "BSD-3-Clause" ]
3
2016-07-07T04:02:38.000Z
2019-01-30T18:23:40.000Z
/* * Copyright (c) 2014-2016, Marco Elver * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of...
37.021505
80
0.643044
melver
c3ff5e6ef96be4df90b879d1da31b3d9e25091c6
3,204
cpp
C++
tests/IncDFS_Exp_IO.cpp
shahbazk/IncDFS-Experimental
84970b3e23905b6af4611c8dbfbf4806f6ed0c9e
[ "BSD-2-Clause" ]
null
null
null
tests/IncDFS_Exp_IO.cpp
shahbazk/IncDFS-Experimental
84970b3e23905b6af4611c8dbfbf4806f6ed0c9e
[ "BSD-2-Clause" ]
null
null
null
tests/IncDFS_Exp_IO.cpp
shahbazk/IncDFS-Experimental
84970b3e23905b6af4611c8dbfbf4806f6ed0c9e
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * tests/IncDFS_Exp_IO.cpp * Evaluation of algorithms on Random Graphs in two versions: VarN and VarM * Initialization code * * Part of Project: Incremental-DFS-Experimental: * https://github.com/shahbazk/IncDFS-Exp...
18.204545
80
0.501873
shahbazk
7f03f8db52088f189c4791f9c9f3db02cf0a1d12
16,686
hpp
C++
include/rome/delegate.hpp
rmettler/cpp_delegates
8557a1731eccbad9608f3111c5599f666b74750e
[ "BSL-1.0" ]
4
2020-01-30T19:17:57.000Z
2020-04-02T13:03:13.000Z
include/rome/delegate.hpp
rmettler/cpp_delegates
8557a1731eccbad9608f3111c5599f666b74750e
[ "BSL-1.0" ]
null
null
null
include/rome/delegate.hpp
rmettler/cpp_delegates
8557a1731eccbad9608f3111c5599f666b74750e
[ "BSL-1.0" ]
null
null
null
// // Project: C++ delegates // File content: // - delegate<Ret(Args...), Behavior> // - fwd_delegate<void(Args...), Behavior> // - event_delegate<void(Args...)> // - command_delegate<void(Args...)> // See the documentation for more information. // // The rome::delegate implementation is based on the article of...
36.672527
100
0.686504
rmettler
7f058842f1c4e283e9b8b11e3a6057ce904a0ffe
4,300
cpp
C++
tests/test_queue_mpsc_waitfree.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
4
2017-11-28T17:22:46.000Z
2022-03-17T07:47:19.000Z
tests/test_queue_mpsc_waitfree.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
10
2017-10-04T01:20:25.000Z
2017-11-23T06:15:23.000Z
tests/test_queue_mpsc_waitfree.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
1
2019-06-13T23:05:49.000Z
2019-06-13T23:05:49.000Z
#include "../stitch/queue_mpsc_waitfree.h" #include "../testing/testing.h" using namespace Stitch; using namespace std; static bool test() { Testing::Test test; test.assert("Lockfree.", Waitfree_MPSC_Queue<int>::is_lockfree()); Waitfree_MPSC_Queue<int> q (10); for (int rep = 0; rep < 3; ++rep) ...
22.279793
94
0.438605
adamelliot
7f08564026376b1358820e6ab41610ec0cf92fd0
383
cpp
C++
Baekjoon/5046.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/5046.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/5046.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(void) { int n, b, h, w, min, p, sum = 0; cin >> n >> b >> h >> w; min = b + 1; for (int i = 0; i < h; i++) { cin >> p; sum = 0; for (int k = 0, tmp; k < w; k++) { cin >> tmp; if (tmp >= n) sum = p*n; } if (min > sum && sum != 0) min = sum; ...
14.730769
34
0.436031
Twinparadox
7f0bd84d407cb2b4463e5364a39c3a73d10ffa2f
800
cpp
C++
BZOJ/3668.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
BZOJ/3668.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
BZOJ/3668.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> using namespace std; inline bool is_num(char c){ return c>='0'&&c<='9'; } inline int ni(){ int i=0;char c; while(!is_num(c=getchar())); while(i=i*10-'0'+c,is_num(c=getchar())); return i; } const int N=100010; int f[2]; int main(){ int n=n...
15.384615
69
0.48375
sshockwave
7f0cf40b3306f8444d7aa6ffc1de404d877d0d62
2,525
cpp
C++
src/osgEarthBuildings/Parapet.cpp
VTMAK/osgearth-buildings-pprabhu
b18c78ee5c8c0876a76ee8897070f1dbb55ccb7b
[ "MIT" ]
3
2017-12-05T06:38:28.000Z
2021-12-07T06:19:39.000Z
src/osgEarthBuildings/Parapet.cpp
VTMAK/osgearth-buildings-pprabhu
b18c78ee5c8c0876a76ee8897070f1dbb55ccb7b
[ "MIT" ]
null
null
null
src/osgEarthBuildings/Parapet.cpp
VTMAK/osgearth-buildings-pprabhu
b18c78ee5c8c0876a76ee8897070f1dbb55ccb7b
[ "MIT" ]
3
2017-12-03T09:48:04.000Z
2021-12-07T06:19:41.000Z
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2016 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either ver...
25.505051
89
0.63604
VTMAK
7f0f43fa28762e85079a025ac6f67c9ba0127615
7,473
cpp
C++
src/interface_model.cpp
ASLeonard/polyomino_interfaces
b281e4c50d0935b7145fc0d01b51d8ac83fad712
[ "MIT" ]
null
null
null
src/interface_model.cpp
ASLeonard/polyomino_interfaces
b281e4c50d0935b7145fc0d01b51d8ac83fad712
[ "MIT" ]
null
null
null
src/interface_model.cpp
ASLeonard/polyomino_interfaces
b281e4c50d0935b7145fc0d01b51d8ac83fad712
[ "MIT" ]
1
2019-04-13T12:42:11.000Z
2019-04-13T12:42:11.000Z
#include "interface_model.hpp" #include <functional> namespace simulation_params { uint8_t n_tiles=2,model_type=0,samming_threshold=10; double temperature=0,binding_threshold=1,mu_prob=1; } //weight binding strengths as the normalised hamming distance to some power T void InterfaceAssembly::SetBindingStrengths() ...
41.748603
151
0.729024
ASLeonard
7f1321df478137cfa4268a2e577d9f987f670b7e
7,315
cpp
C++
cpp/04-Fraction.cpp
ljcbaby/Program-Practice
e999c07b595fcf3e70c8da462304e3cc0a292bac
[ "Unlicense" ]
null
null
null
cpp/04-Fraction.cpp
ljcbaby/Program-Practice
e999c07b595fcf3e70c8da462304e3cc0a292bac
[ "Unlicense" ]
null
null
null
cpp/04-Fraction.cpp
ljcbaby/Program-Practice
e999c07b595fcf3e70c8da462304e3cc0a292bac
[ "Unlicense" ]
null
null
null
#include <cstdio> #include <iostream> #include <numeric> // Fraction in integers of integers class Fraction { int numerator; int denominator; void simplify(); public: Fraction(int, int); void set(int, int); double toDouble() const; // operators Fraction operator+(const int&) const; ...
28.913043
110
0.6581
ljcbaby
7f1d64b5c6477e4471dd1ae240bc8ae2ad873e30
237
hpp
C++
WarbandServerQuery/WarbandServerQuery/Hook.hpp
RaJiska/WarbandServerQuery
713a96de139961357731a72aeb7737d922228a87
[ "BSD-3-Clause" ]
null
null
null
WarbandServerQuery/WarbandServerQuery/Hook.hpp
RaJiska/WarbandServerQuery
713a96de139961357731a72aeb7737d922228a87
[ "BSD-3-Clause" ]
null
null
null
WarbandServerQuery/WarbandServerQuery/Hook.hpp
RaJiska/WarbandServerQuery
713a96de139961357731a72aeb7737d922228a87
[ "BSD-3-Clause" ]
null
null
null
#pragma once #define FREEZE_REGS pushad #define RESTORE_REGS popad namespace Hook { extern "C" void playerJoined(void); extern "C" void playerLeft(void); extern "C" void chatMessageSent(void); extern "C" void logEntryAdded(void); }
19.75
39
0.755274
RaJiska
7f1e18dbc65aa06e989421bc45da00db3c78f00e
1,875
cpp
C++
cognitics/src/flt/RoadPath.cpp
mikedig/cdb-productivity-api
e2bedaa550a8afa780c01f864d72e0aebd87dd5a
[ "MIT" ]
null
null
null
cognitics/src/flt/RoadPath.cpp
mikedig/cdb-productivity-api
e2bedaa550a8afa780c01f864d72e0aebd87dd5a
[ "MIT" ]
null
null
null
cognitics/src/flt/RoadPath.cpp
mikedig/cdb-productivity-api
e2bedaa550a8afa780c01f864d72e0aebd87dd5a
[ "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2019 Cognitics, 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 with...
32.327586
77
0.637867
mikedig
7f222111754b99236b1426197335443c12e8cc97
11,258
cc
C++
build/X86_MESI_Two_Level/python/m5/internal/param_Sinic.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/python/m5/internal/param_Sinic.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/m5/internal/param_Sinic.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_param_Sinic[] = { 120,156,189,89,235,83,27,201,17,159,89,189,16,32,16,111, 99,131,89,159,141,45,223,157,225,30,229,228,146,115,92,241, 43,201,85,157,177,75,92,149,109,114,149,173,101,119,36,45, 72,187,170,221,1,172,43,72,85,130,43,201,2...
58.331606
86
0.66415
hoho20000000
7f22212f5e2ec007001beba181c38fdebf7c669a
1,885
cpp
C++
src/types/int4.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
src/types/int4.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
src/types/int4.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
#include "chokoengine.hpp" CE_BEGIN_NAMESPACE Int4::Int4(int v) : x(v), y(v), z(v), w(v) {} Int4::Int4(int x, int y, int z, int w) : x(x), y(y), z(z), w(w) {} Int4::Int4(Int2 a, Int2 b) : x(a.x), y(a.y), z(b.y), w(b.y) {} Int4::Int4(Int3 v, int w) : x(v.x), y(v.y), z(v.z), w(w) {} Int4::operator Int2() const { r...
20.053191
82
0.542175
chokomancarr
7f291dff83e1ee6229a4bfdb777ed4afd59d5363
1,696
cpp
C++
Source/IO.cpp
nmford20/Emu
efadff34fbc6d1a328d6df4330b35c3d67d82e87
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/IO.cpp
nmford20/Emu
efadff34fbc6d1a328d6df4330b35c3d67d82e87
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/IO.cpp
nmford20/Emu
efadff34fbc6d1a328d6df4330b35c3d67d82e87
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include <AMReX_MultiFabUtil.H> #include <AMReX_PlotFileUtil.H> #include "FlavoredNeutrinoContainer.H" #include "IO.H" #include "Evolve.H" using namespace amrex; void WritePlotFile (const amrex::MultiFab& state, const FlavoredNeutrinoContainer& neutrinos, const amrex::Geometry& geom, am...
28.266667
140
0.673349
nmford20
7f2c2d8cee060dbba37104726d6008d1b0fbbb5b
1,864
cpp
C++
luogu/P2622.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
1
2020-10-07T12:03:12.000Z
2020-10-07T12:03:12.000Z
luogu/P2622.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
null
null
null
luogu/P2622.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
null
null
null
/*** * @Author: Leon-Francis * @Date: 2021-04-14 21:46:51 * @Contact: leon_francis@163.com * @LastEditTime: 2021-04-14 22:58:22 * @LastEditors: Leon-Francis * @Description: 状压dp:关灯问题Ⅱ * @FilePath: /AlgorithmPractice/luogu/P2622.cpp * @(C)Copyright 2020-2021, Leon-Francis */ #include <iostream> #include <queue...
18.828283
57
0.45279
Leon-Francis
7f2ca2b4bbcbf04c6d07dc102c2100ccf15451da
716
hpp
C++
EiRas/Framework/EiRas/PlatformDependency/OnMetal/Material/MaterialMetalBridge.hpp
MonsterENT/EiRas
b29592da60b1a9085f5a2d8fa4ed01b43660f712
[ "MIT" ]
1
2019-12-24T10:12:16.000Z
2019-12-24T10:12:16.000Z
EiRas/Framework/EiRas/PlatformDependency/OnMetal/Material/MaterialMetalBridge.hpp
MonsterENT/EiRas
b29592da60b1a9085f5a2d8fa4ed01b43660f712
[ "MIT" ]
null
null
null
EiRas/Framework/EiRas/PlatformDependency/OnMetal/Material/MaterialMetalBridge.hpp
MonsterENT/EiRas
b29592da60b1a9085f5a2d8fa4ed01b43660f712
[ "MIT" ]
null
null
null
// // MaterialMetalBridge.hpp // EiRasMetalBuild // // Created by MonsterENT on 11/13/19. // Copyright © 2019 MonsterENT. All rights reserved. // #ifndef MaterialMetalBridge_hpp #define MaterialMetalBridge_hpp #include <Global/PlatformDependency/EiRasPlatformBridgeProtocol.h> #include <string> namespace Graphic...
21.058824
90
0.77933
MonsterENT
b52a337cc9972c676c2bd8b348128247c8b4b7af
1,231
cpp
C++
10423.cpp
programmer-k/Baekjoon-Online-Judge-Submission
f4ea98b7e3cd101250de9e495982f218e80c37fb
[ "Apache-2.0" ]
null
null
null
10423.cpp
programmer-k/Baekjoon-Online-Judge-Submission
f4ea98b7e3cd101250de9e495982f218e80c37fb
[ "Apache-2.0" ]
null
null
null
10423.cpp
programmer-k/Baekjoon-Online-Judge-Submission
f4ea98b7e3cd101250de9e495982f218e80c37fb
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <queue> using namespace std; struct go { int x; int y; int z; }; typedef pair<int, pair<int, int> > pa; int n, m, k; int visit[1010]; vector<int> elc; vector<go> v; int parent[1010]; int Find(int x) { if (parent[x] == x) return x; return paren...
15.012195
45
0.509342
programmer-k
b52bd916c704fe938d1a91bfde963719d1de6501
620
cpp
C++
Ruken/Source/Src/Resource/Exceptions/ResourceProcessingFailure.cpp
Renondedju/Daemon
8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6
[ "MIT" ]
4
2020-06-11T00:35:03.000Z
2020-06-23T11:57:52.000Z
Ruken/Source/Src/Resource/Exceptions/ResourceProcessingFailure.cpp
Renondedju/Daemon
8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6
[ "MIT" ]
1
2020-03-17T13:34:16.000Z
2020-03-17T13:34:16.000Z
Ruken/Source/Src/Resource/Exceptions/ResourceProcessingFailure.cpp
Renondedju/Daemon
8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6
[ "MIT" ]
2
2020-03-19T12:20:17.000Z
2020-09-03T07:49:06.000Z
#include "Resource/ResourceProcessingFailure.hpp" USING_RUKEN_NAMESPACE ResourceProcessingFailure::ResourceProcessingFailure(EResourceProcessingFailureCode const in_code, RkBool const in_validity, RkChar const* in_description) noexcept: std::exception {in_description}, description {in_descr...
28.181818
164
0.732258
Renondedju
b52cdf5e8ef2ec0e126217e625965bcb15a82502
1,724
inl
C++
cusp/graph/detail/symmetric_rcm.inl
Raman-sh/cusplibrary
99dcde05991ef59cbc4546aeced6eb3bd49c90c9
[ "Apache-2.0" ]
270
2015-01-12T19:40:50.000Z
2022-03-28T00:58:21.000Z
cusp/graph/detail/symmetric_rcm.inl
njh19/cusplibrary
4f72f152804dee592fec86719049af2b5469295a
[ "Apache-2.0" ]
41
2015-01-08T18:07:42.000Z
2022-02-27T02:37:38.000Z
cusp/graph/detail/symmetric_rcm.inl
njh19/cusplibrary
4f72f152804dee592fec86719049af2b5469295a
[ "Apache-2.0" ]
106
2015-02-27T19:30:58.000Z
2022-03-29T13:55:53.000Z
/* * Copyright 2008-2014 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
31.345455
96
0.738979
Raman-sh
b530c0f6bfd4ed95b5ac2581a25863a675307152
4,889
cpp
C++
src/Core/City.cpp
Lecrapouille/OpenGlassBox
664299285ca231e54fab5a7c8c63292bd39c755d
[ "MIT" ]
4
2020-10-14T01:42:56.000Z
2022-03-03T22:30:56.000Z
src/Core/City.cpp
Lecrapouille/OpenGlassBox
664299285ca231e54fab5a7c8c63292bd39c755d
[ "MIT" ]
null
null
null
src/Core/City.cpp
Lecrapouille/OpenGlassBox
664299285ca231e54fab5a7c8c63292bd39c755d
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) 2020 Quentin Quadrat. // https://github.com/Lecrapouille/OpenGlassBox // Based on https://github.com/federicodangelo/MultiAgentSimulation // Distributed under MIT License. //-------------------------------------------------...
30.179012
94
0.45449
Lecrapouille
b532581a6d06704a1db83b154026633c959684f0
1,785
hh
C++
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/PCXLate/Headers/Translater.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/PCXLate/Headers/Translater.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/PCXLate/Headers/Translater.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ #ifndef __Translater__ #define __Translater__ /* * $Header: /fuji/lewis/RCS/Translater.hh,v 1.3 1992/09/26 22:24:08 lewis Exp $ * * Description: * * A Translater is a wrapper on the C++ lexer that takes an input file, and * goes over each...
22.3125
97
0.592157
SophistSolutions
b5326cc2d376801751e37350f9675517d9a8eb6f
5,060
cpp
C++
src/web_server/session/handle_request/handle_request.cpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
2
2021-09-16T03:22:45.000Z
2021-11-09T11:45:07.000Z
src/web_server/session/handle_request/handle_request.cpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
null
null
null
src/web_server/session/handle_request/handle_request.cpp
X-rays5/web_server
c14e2c8e6e53797d2179cb5985a135e34173b3b9
[ "MIT" ]
null
null
null
// // Created by X-ray on 6/8/2021. // #pragma once #include "handle_request.hpp" namespace web_server { namespace session { namespace handle_request { std::string ErrorResponse(std::string title, std::string what, int error_code) { std::string body = "<!doctype html>\n<html>\n...
55
356
0.541897
X-rays5
b538d20a99fe761f63e38508824374a2fdf824b2
5,471
cpp
C++
Source/StdLib/ISCTYPE.cpp
FoxCutter/BootDebug
d40afa3a19d8a840788cbdb091cc121b01b36f7f
[ "BSD-2-Clause" ]
null
null
null
Source/StdLib/ISCTYPE.cpp
FoxCutter/BootDebug
d40afa3a19d8a840788cbdb091cc121b01b36f7f
[ "BSD-2-Clause" ]
1
2020-02-15T03:11:11.000Z
2020-02-15T03:11:11.000Z
Source/StdLib/ISCTYPE.cpp
FoxCutter/BootDebug
d40afa3a19d8a840788cbdb091cc121b01b36f7f
[ "BSD-2-Clause" ]
null
null
null
//========================================== // LIBCTINY - Matt Pietrek 2001 // MSDN Magazine, January 2001 //========================================== #include <ctype.h> const unsigned short pctype[256] = { _CONTROL, _CONTROL, _CONTROL, _CONTR...
24.981735
53
0.331749
FoxCutter
b53abd29cb90ede0c6d3a8f2895d511461da93cc
268
cpp
C++
src/DisplayHandler.cpp
ustisha/ArduinoComponents
9090a9408669c5ae9bd26ab66e7c916f9a459379
[ "MIT" ]
null
null
null
src/DisplayHandler.cpp
ustisha/ArduinoComponents
9090a9408669c5ae9bd26ab66e7c916f9a459379
[ "MIT" ]
null
null
null
src/DisplayHandler.cpp
ustisha/ArduinoComponents
9090a9408669c5ae9bd26ab66e7c916f9a459379
[ "MIT" ]
null
null
null
#include "../include/DisplayHandler.h" #include <../include/DisplayView.h> void DisplayHandler::addDisplayHandler(DisplayView *view) { displayView = view; } void DisplayHandler::render() { if (displayView != nullptr) { displayView->render(); } }
20.615385
59
0.675373
ustisha