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
3f1d9331002cd16fcd383c568dfaca2752d3cebe
938
cc
C++
tools/re2c/src/ir/skeleton/maxlen.cc
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
5
2021-07-31T03:34:09.000Z
2021-08-31T21:43:50.000Z
tools/re2c/src/ir/skeleton/maxlen.cc
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
4
2021-09-02T00:05:17.000Z
2021-09-07T14:56:12.000Z
tools/re2c/src/ir/skeleton/maxlen.cc
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
1
2021-09-28T19:03:39.000Z
2021-09-28T19:03:39.000Z
#include "src/util/c99_stdint.h" #include <algorithm> #include <limits> #include <map> #include <utility> #include "src/ir/skeleton/skeleton.h" namespace re2c { // 0 < DIST_MAX < DIST_ERROR <= std::numeric_limits<uint32_t>::max() const uint32_t Node::DIST_ERROR = std::numeric_limits<uint32_t>::max(); const uint32_t ...
18.392157
71
0.609808
351ELEC
3f2034a3e8cad123ecf68947bd18fadf5d9db21e
498
cpp
C++
Niking2D/src/Niking2D/Renderer/VertexArray.cpp
SaNeOr/BabaIsYou_Niking2D
0fcf92c3b55f7c77950bf87f721b1b0010cf11a7
[ "Apache-2.0" ]
1
2020-02-06T18:32:02.000Z
2020-02-06T18:32:02.000Z
Niking2D/src/Niking2D/Renderer/VertexArray.cpp
SaNeOr/BabaIsYou_Niking2D
0fcf92c3b55f7c77950bf87f721b1b0010cf11a7
[ "Apache-2.0" ]
null
null
null
Niking2D/src/Niking2D/Renderer/VertexArray.cpp
SaNeOr/BabaIsYou_Niking2D
0fcf92c3b55f7c77950bf87f721b1b0010cf11a7
[ "Apache-2.0" ]
null
null
null
#include "n2pch.h" #include "VertexArray.h" #include "Renderer.h" #include "Platform/OpenGL/OpenGLVertexArray.h" namespace Niking2D { Ref<VertexArray> Niking2D::VertexArray::Create() { switch (Renderer::GetAPI()) { case RendererAPI::API::None: {N2_CORE_ASSERT(false, "RendererAPI::None is currently is not suppo...
24.9
125
0.726908
SaNeOr
3f20aa8608020d42becbfba298df30270c39a652
1,170
cc
C++
python/dune/xt/la/traits.cc
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
2
2020-02-08T04:08:52.000Z
2020-08-01T18:54:14.000Z
python/dune/xt/la/traits.cc
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
35
2019-08-19T12:06:35.000Z
2020-03-27T08:20:39.000Z
python/dune/xt/la/traits.cc
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:34.000Z
2020-02-08T04:09:34.000Z
// This file is part of the dune-xt project: // https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt // Copyright 2009-2021 dune-xt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (h...
35.454545
120
0.528205
dune-community
3f23f5ac26ac75fbb2037260daf6c7e5533ba4ea
2,450
cc
C++
src/fileio.cc
izzyaxel/libcommons
3dbdf65fa8af05d3b7beb260bd8211ee4f24cfb0
[ "BSD-3-Clause" ]
null
null
null
src/fileio.cc
izzyaxel/libcommons
3dbdf65fa8af05d3b7beb260bd8211ee4f24cfb0
[ "BSD-3-Clause" ]
null
null
null
src/fileio.cc
izzyaxel/libcommons
3dbdf65fa8af05d3b7beb260bd8211ee4f24cfb0
[ "BSD-3-Clause" ]
null
null
null
#include "commons/fileio.hh" #include <stdexcept> #include <fstream> #if defined(WINDOWS) #include <windows.h> #include <libloaderapi.h> #elif defined(LINUX) || defined(OSX) #include <sys/stat.h> #include <unistd.h> #endif std::string readTextFile(std::string const &filePath) { std::ifstream fileIn; fileIn.open(fi...
27.840909
171
0.704082
izzyaxel
3f25b5d2c504fed41cbe13ff407906b44d3140a7
2,003
cpp
C++
CraftEngine/ajek-framework/src/x-png-decode.cpp
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
9
2017-04-05T01:42:36.000Z
2021-11-14T20:37:58.000Z
CraftEngine/ajek-framework/src/x-png-decode.cpp
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
82
2017-04-05T00:26:54.000Z
2019-09-21T22:43:09.000Z
CraftEngine/ajek-framework/src/x-png-decode.cpp
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
3
2019-01-08T17:11:17.000Z
2021-08-11T23:59:23.000Z
#include "PCH-framework.h" #include "x-png-decode.h" #include "x-stdfile.h" #include "png.h" void png_LoadFromFile(xBitmapData& dest, const xString& filename) { bug_on (filename.IsEmpty()); bug_on (!xPathIsUniversal(filename)); // paths should be converted at auto* fp = xFopen(filename, "rb"); ...
33.949153
162
0.685971
guibec
3f2aa04d2767660035d782890d5e9ae883d5557b
3,458
cpp
C++
JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/Core/Common/Timer/GameTimer.cpp
Jaraffe-github/Old_Engines
0586d383af99cfcf076b18dace49e779a55b88e8
[ "BSD-3-Clause" ]
null
null
null
JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/Core/Common/Timer/GameTimer.cpp
Jaraffe-github/Old_Engines
0586d383af99cfcf076b18dace49e779a55b88e8
[ "BSD-3-Clause" ]
null
null
null
JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/Core/Common/Timer/GameTimer.cpp
Jaraffe-github/Old_Engines
0586d383af99cfcf076b18dace49e779a55b88e8
[ "BSD-3-Clause" ]
null
null
null
//*************************************************************************************** // GameTimer.cpp by Frank Luna (C) 2011 All Rights Reserved. //*************************************************************************************** #include "stdafx.h" #include "GameTimer.h" JF::JFCGameTimer::JFCGameTimer() :...
26.396947
89
0.614806
Jaraffe-github
3f2e6b46b26fa9f78f9e4bd5de37a97c81977448
3,993
hpp
C++
src/Rendering/Base/include/HG/Rendering/Base/MaterialCollection.hpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2021-02-26T05:25:48.000Z
2021-09-16T22:30:41.000Z
src/Rendering/Base/include/HG/Rendering/Base/MaterialCollection.hpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
1
2019-10-19T10:36:43.000Z
2019-10-19T10:36:43.000Z
src/Rendering/Base/include/HG/Rendering/Base/MaterialCollection.hpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2019-10-22T18:56:59.000Z
2020-03-12T04:38:31.000Z
#pragma once // C++ STL #include <utility> // HG::Core #include <HG/Core/ResourceManager.hpp> // HG::Rendering::Base #include <HG/Rendering/Base/Material.hpp> #include <HG/Rendering/Base/Shader.hpp> // HG::Utils #include <HG/Utils/Loaders/StringLoader.hpp> namespace HG::Rendering::Base { class Renderer; /** * @b...
26.62
120
0.636614
Megaxela
3f35e9b62cfa00b9d2b43c3677d86f2efbe3e345
16,494
cpp
C++
src/gbutton.cpp
klei1984/max
dc0f9108bbcfd4cb73ea101883d551c612097469
[ "MIT" ]
19
2020-02-06T17:41:39.000Z
2022-03-31T07:38:15.000Z
src/gbutton.cpp
klei1984/max
dc0f9108bbcfd4cb73ea101883d551c612097469
[ "MIT" ]
9
2020-02-14T15:46:46.000Z
2021-12-22T16:35:53.000Z
src/gbutton.cpp
klei1984/max
dc0f9108bbcfd4cb73ea101883d551c612097469
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 M.A.X. Port Team * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
26.056872
118
0.579908
klei1984
3f3792ed733c7cf77c30db5f92a9166fd2b5f49e
2,140
cpp
C++
C++/014. Longest Common Prefix.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
3
2018-07-28T15:36:18.000Z
2020-03-17T01:26:22.000Z
C++/014. Longest Common Prefix.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
null
null
null
C++/014. Longest Common Prefix.cpp
WangYang-wy/LeetCode
c92fcb83f86c277de6785d5a950f16bc007ccd31
[ "MIT" ]
null
null
null
// // Created by 王阳 on 2018/3/28. // /* * Write a function to find the longest common prefix string amongst an array of strings. */ #include "header.h" class Solution { public: string longestCommonPrefix(vector <string> &strs) { if (strs.size() == 0) { return ""; // 如果没有字符串。 } ...
25.47619
89
0.413084
WangYang-wy
3f383172919759efce2a2e4f55029a8ac10a0743
4,346
cpp
C++
ProjectEuler+/euler-0178.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0178.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0178.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
1
2021-05-28T11:14:34.000Z
2021-05-28T11:14:34.000Z
// //////////////////////////////////////////////////////// // # Title // Step Numbers // // # URL // https://projecteuler.net/problem=178 // http://euler.stephan-brumme.com/178/ // // # Problem // Consider the number 45656. // It can be seen that each pair of consecutive digits of 45656 has a difference of one. // A n...
36.830508
159
0.668661
sarvekash
2786811c2154e399199df90e6c754613fd524dc0
2,476
cpp
C++
src/pix/box.cpp
Sonotsugipaa/pixnn
ad0499522c65d118d5f4beffa556f0b3a809a949
[ "MIT" ]
1
2019-09-28T20:50:50.000Z
2019-09-28T20:50:50.000Z
src/pix/box.cpp
Sonotsugipaa/pixnn
ad0499522c65d118d5f4beffa556f0b3a809a949
[ "MIT" ]
null
null
null
src/pix/box.cpp
Sonotsugipaa/pixnn
ad0499522c65d118d5f4beffa556f0b3a809a949
[ "MIT" ]
null
null
null
#include "pix/box_async.hpp" #include <mutex> namespace pix { Box::Box( gla::ShaderProgram& sp, unsigned int w, unsigned int h, glm::vec4 color, glm::vec2 top_left, glm::vec2 bottom_right, GLfloat depth ): Canvas::Canvas(w, h), shader (sp), vb (GL_ARRAY_BUFFER, GL_DYNAMIC_DRAW), ...
23.140187
72
0.662359
Sonotsugipaa
2788547f3838e911af852d5eb4c84b0db18f6905
424
cpp
C++
src/Edge.cpp
the13fools/fieldgen
6b1757e1a75cd65b73526aa9c200303fbee4d669
[ "Unlicense", "MIT" ]
93
2019-06-04T06:56:49.000Z
2022-03-30T08:44:58.000Z
src/Edge.cpp
the13fools/fieldgen
6b1757e1a75cd65b73526aa9c200303fbee4d669
[ "Unlicense", "MIT" ]
1
2020-02-06T14:56:41.000Z
2020-07-15T17:31:29.000Z
src/Edge.cpp
the13fools/fieldgen
6b1757e1a75cd65b73526aa9c200303fbee4d669
[ "Unlicense", "MIT" ]
11
2019-06-06T21:11:29.000Z
2021-08-14T05:06:16.000Z
#include "Edge.h" #include "Mesh.h" #include "HalfEdge.h" namespace DDG { // only needed for old code const Vector Edge::Xvector( void ) const { return X()->next->vertex->position - X()->vertex->position; } // standard cotan Laplace coeff for this edge const double Edge::cot( void ) const { return ....
22.315789
63
0.606132
the13fools
278c9df25f31c7311880ac73a578f64bc25e0250
1,176
cc
C++
hackerrank/algorithms/search/sherlock-array.cc
fdavidcl/problems
a917a0e61fd80be38610e607eb86e6685323baa3
[ "MIT" ]
null
null
null
hackerrank/algorithms/search/sherlock-array.cc
fdavidcl/problems
a917a0e61fd80be38610e607eb86e6685323baa3
[ "MIT" ]
null
null
null
hackerrank/algorithms/search/sherlock-array.cc
fdavidcl/problems
a917a0e61fd80be38610e607eb86e6685323baa3
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <functional> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int test_cases; cin >> test_cases; for (int t = 0; t < test_cases; ++t) { int si...
21
76
0.528912
fdavidcl
278da29f7eb135a9d53f57a6151f4c0100f5547e
17,119
cpp
C++
platform/RemotingNG/RemoteGen/src/GenUtility.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
2
2020-11-23T23:37:00.000Z
2020-12-22T04:02:41.000Z
platform/RemotingNG/RemoteGen/src/GenUtility.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
null
null
null
platform/RemotingNG/RemoteGen/src/GenUtility.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
1
2020-11-23T23:37:09.000Z
2020-11-23T23:37:09.000Z
// // GenUtility.cpp // // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "GenUtility.h" #include "Poco/CodeGeneration/Utility.h" #include "Poco/CodeGeneration/GeneratorEngine.h" #include "Poco/CppParser/Utility.h" ...
30.40675
147
0.721304
gboyraz
27946a8ac1b3b63e1b742b69ccf0d14f9cd460f3
2,525
cpp
C++
ChemistryLib/PhreeqcIOData/CreateAqueousSolution.cpp
MManicaM/ogs
6d5ee002f7ac1d046b34655851b98907d5b8cc4f
[ "BSD-4-Clause" ]
null
null
null
ChemistryLib/PhreeqcIOData/CreateAqueousSolution.cpp
MManicaM/ogs
6d5ee002f7ac1d046b34655851b98907d5b8cc4f
[ "BSD-4-Clause" ]
2
2019-06-05T12:06:11.000Z
2019-06-06T08:45:30.000Z
ChemistryLib/PhreeqcIOData/CreateAqueousSolution.cpp
MManicaM/ogs
6d5ee002f7ac1d046b34655851b98907d5b8cc4f
[ "BSD-4-Clause" ]
null
null
null
/** * \copyright * Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #include "AqueousSolution.h" #include "BaseLib/Con...
34.121622
86
0.688713
MManicaM
27a373c9b0c89c4f06c7a1079a11ceece1e69b4e
3,961
cpp
C++
amd_tressfx/src/Util.cpp
vlj/TressFX
83678bf6a946ecbdd9643965e79ed20b35039f77
[ "MIT" ]
1
2018-08-06T22:31:28.000Z
2018-08-06T22:31:28.000Z
amd_tressfx/src/Util.cpp
0x6E745C/TressFX
83678bf6a946ecbdd9643965e79ed20b35039f77
[ "MIT" ]
null
null
null
amd_tressfx/src/Util.cpp
0x6E745C/TressFX
83678bf6a946ecbdd9643965e79ed20b35039f77
[ "MIT" ]
1
2019-03-16T11:40:23.000Z
2019-03-16T11:40:23.000Z
//-------------------------------------------------------------------------------------- // File: Util.cpp // // // Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
28.702899
89
0.590255
vlj
27a70088cc10f8a2feb0f31d7334f88e66b3839a
240
cpp
C++
Codeforces/contests/round-483/a.cpp
Anzoteh96/Cpp-algorithms
7519c65dcfa2018d81280fe947bef749970bb8bc
[ "MIT" ]
1
2017-06-24T11:17:37.000Z
2017-06-24T11:17:37.000Z
Codeforces/contests/round-483/a.cpp
Anzoteh96/Cpp-algorithms
7519c65dcfa2018d81280fe947bef749970bb8bc
[ "MIT" ]
null
null
null
Codeforces/contests/round-483/a.cpp
Anzoteh96/Cpp-algorithms
7519c65dcfa2018d81280fe947bef749970bb8bc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> vec(n); for (int i = 0; i < n; ++i) { cin >> vec[i]; } sort(vec.begin(), vec.end()); cout << vec[(n-1)/2]; }
15
33
0.445833
Anzoteh96
27a8763ee97c5599f5f9ff165d177de69d9138f2
1,810
cpp
C++
mlog/throw.cpp
Lowdham/mlog
034134ec2048fb78084f4772275b5f67efeec433
[ "MIT" ]
2
2021-06-19T04:14:14.000Z
2021-08-30T15:39:49.000Z
mlog/throw.cpp
Lowdham/mlog
034134ec2048fb78084f4772275b5f67efeec433
[ "MIT" ]
1
2021-06-21T15:58:19.000Z
2021-06-22T02:04:39.000Z
mlog/throw.cpp
Lowdham/mlog
034134ec2048fb78084f4772275b5f67efeec433
[ "MIT" ]
null
null
null
// This file is part of mlog. /* BSD 3-Clause License Copyright (c) 2018 - 2021, LH_Mouse All rights reserved. */ #include <cstdarg> // ::va_list #include <cstdio> // ::vasprintf() #include <cstdlib> // ::free() #include "throw.hpp" namespace mlog { // Define the main template. template <typename e...
26.231884
66
0.683425
Lowdham
27abb997becf1e4f59e93ce7a9678edbcf0ca07d
393
cpp
C++
hdu_oj/1000.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
null
null
null
hdu_oj/1000.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
null
null
null
hdu_oj/1000.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
2
2020-01-01T13:49:08.000Z
2021-03-06T06:54:26.000Z
/************************************************************************* > File Name: 1000.cpp > Author: Yang Zhang > Mail: zyziszy@foxmail.com > Created Time: Tue 31 Dec 2019 12:04:02 PM CST ************************************************************************/ #include<iostream> using namespace std; int...
23.117647
74
0.407125
zyzisyz
27abdc36df37acd4730d5e592a8d110c3cfeb134
3,513
cpp
C++
sources/source.cpp
hucker99/lab10_
18a59004a006f30b2c78265698ce892b66504acd
[ "MIT" ]
null
null
null
sources/source.cpp
hucker99/lab10_
18a59004a006f30b2c78265698ce892b66504acd
[ "MIT" ]
null
null
null
sources/source.cpp
hucker99/lab10_
18a59004a006f30b2c78265698ce892b66504acd
[ "MIT" ]
null
null
null
// Copyright 2018 Your Name <your_email> #include <header.hpp> #include <constants.h> int main(int argc, char **argv) { std::string loglevel, pathin, pathout; try { boost::program_options::options_description desc("Allowed options"); desc.add_options() ("log-level", boost::progr...
37.774194
76
0.496442
hucker99
27aef53c2fd91ac85a8838960fc7649933f7a890
3,989
cpp
C++
Engine/source/gui/utility/guiInputCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/gui/utility/guiInputCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/gui/utility/guiInputCtrl.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "gui/utility/guiInputCtrl.h" #include "sim/actionMap.h" #include "console/engineAPI.h" IMPLEMENT_CONOBJECT(GuiInputCtrl); ConsoleDocClass( GuiInputCtrl, "@brief A control that locks the mo...
27.136054
108
0.566307
fr1tz
27b4e85bc39f655ef1f97aaf11e95f772d355697
7,650
hpp
C++
alpaka/include/alpaka/mem/buf/sycl/Copy.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
25
2015-01-30T12:19:48.000Z
2020-10-30T07:52:45.000Z
alpaka/include/alpaka/mem/buf/sycl/Copy.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
101
2015-01-06T11:31:26.000Z
2020-11-09T13:51:19.000Z
alpaka/include/alpaka/mem/buf/sycl/Copy.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
10
2015-06-10T07:54:30.000Z
2020-05-06T10:07:39.000Z
/* Copyright 2022 Jan Stephan * * This file is part of Alpaka. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once #ifdef ALPAKA_ACC_SYCL_ENABLED...
39.84375
119
0.644706
ComputationalRadiationPhysics
27b96295585dfc14f12291ada50c4d215e7242b7
1,571
cpp
C++
src/mergesort.cpp
xiangp126/sort_algorithm_gallery
803f5e725b78572249fa545545193fcdee506c21
[ "MIT" ]
null
null
null
src/mergesort.cpp
xiangp126/sort_algorithm_gallery
803f5e725b78572249fa545545193fcdee506c21
[ "MIT" ]
null
null
null
src/mergesort.cpp
xiangp126/sort_algorithm_gallery
803f5e725b78572249fa545545193fcdee506c21
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; void showArray(vector<int> &, int); void mergeSort(vector<int> &, int); void mSort(int *, vector<int> &, int, int); void merge(int *, vector<int> &, int, int); int main() { vector<int> nums {13, 2, 7, 12, 8, -4, 9, 12, 6, 3}; const int N = nums.size()...
24.936508
65
0.526416
xiangp126
27ba6f83974749db260a5c6a80572c15ff23cf28
1,301
hpp
C++
src/cardres.hpp
katsuster/sample_arib_descramble
7a6e9218cf82addcee69e063477172fa4fa6a6aa
[ "Apache-2.0" ]
null
null
null
src/cardres.hpp
katsuster/sample_arib_descramble
7a6e9218cf82addcee69e063477172fa4fa6a6aa
[ "Apache-2.0" ]
null
null
null
src/cardres.hpp
katsuster/sample_arib_descramble
7a6e9218cf82addcee69e063477172fa4fa6a6aa
[ "Apache-2.0" ]
1
2021-03-17T04:49:53.000Z
2021-03-17T04:49:53.000Z
#ifndef CARDRES_HPP__ #define CARDRES_HPP__ #include <cerrno> #include <cstdint> #include <cinttypes> #include "packet.hpp" class cardres_base : public packet { public: cardres_base() : protocol_unit_number(0), unit_length(0), ic_card_instruction(0), return_code(0) { } virtual const packet::stub_base__r...
19.712121
63
0.708686
katsuster
27bc4c63aa336b0bf5c8514c6c53803e6c1c1046
11,866
cpp
C++
src/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioInputDescriptor.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioInputDescriptor.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioInputDescriptor.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
31.226316
100
0.647564
dAck2cC2
27bd33b6112e210c9a26b3f39b3818fa4cdedd93
4,085
cpp
C++
mp/src/game/server/hl2rp/hl2rp_gamerules.cpp
HL2RP/HL2RP
7f8570785a106e66036d014bcb4e6bd669421b97
[ "Unlicense" ]
2
2018-07-15T21:40:41.000Z
2022-01-29T15:18:29.000Z
mp/src/game/server/hl2rp/hl2rp_gamerules.cpp
HL2RP/HL2RP
7f8570785a106e66036d014bcb4e6bd669421b97
[ "Unlicense" ]
null
null
null
mp/src/game/server/hl2rp/hl2rp_gamerules.cpp
HL2RP/HL2RP
7f8570785a106e66036d014bcb4e6bd669421b97
[ "Unlicense" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #include <cbase.h> #include "hl2rp_gamerules.h" #include "hl2_roleplayer.h" #include <fmtstr.h> #include <networkstringtable_gamedll.h> #include <tier2/f...
27.979452
110
0.756916
HL2RP
27be73a3ee2382f3191d1244862fd414104b5620
21,916
cpp
C++
LLY/LLY/render/Device.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
3
2015-07-04T03:35:51.000Z
2017-09-10T08:23:25.000Z
LLY/LLY/render/Device.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
LLY/LLY/render/Device.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
#include "Device.h" #include "../System.h" #include "../input/Input.h" #include <iostream> #include "../util/FuncUnitl.h" #include "../resource/Program.h" #include "RenderTarget.h" #include "../resource/Texture2D.h" #include "../resource/Texture3D.h" #include "../resource/TextureCube.h" #include "../util/Macros.h" nam...
26.923833
178
0.710851
ooeyusea
27c3778486886920d466b80c020171717eb58399
398
hpp
C++
inc/GraphicsLib/ImGui/imgui_impl_graphicslib.hpp
Sushiwave/graphics-lib
c303e9fb9f11276230a09b45581cdbefa8d2a356
[ "MIT" ]
1
2020-07-13T18:10:33.000Z
2020-07-13T18:10:33.000Z
inc/GraphicsLib/ImGui/imgui_impl_graphicslib.hpp
Sushiwave/graphics-lib
c303e9fb9f11276230a09b45581cdbefa8d2a356
[ "MIT" ]
null
null
null
inc/GraphicsLib/ImGui/imgui_impl_graphicslib.hpp
Sushiwave/graphics-lib
c303e9fb9f11276230a09b45581cdbefa8d2a356
[ "MIT" ]
null
null
null
#pragma once #include <Windows.h> #include <ThirdParty/ExtendedImGui/ImGui/imgui.h> IMGUI_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); IMGUI_IMPL_API bool ImGui_ImplGraphicsLib_Init(); IMGUI_IMPL_API void ImGui_ImplGraphicsLib_Shutdown(); IMGUI_IMPL_API void ImGui_Im...
33.166667
100
0.846734
Sushiwave
27c414c437288c03d54c807d65c211a77ae1b419
10,156
cpp
C++
source/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelSecondaryBounce.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
source/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelSecondaryBounce.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
source/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelSecondaryBounce.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
#include "Castor3D/Render/GlobalIllumination/VoxelConeTracing/VoxelSecondaryBounce.hpp" #include "Castor3D/Engine.hpp" #include "Castor3D/Material/Texture/Sampler.hpp" #include "Castor3D/Material/Texture/TextureLayout.hpp" #include "Castor3D/Material/Texture/TextureUnit.hpp" #include "Castor3D/Render/RenderDevice.hpp"...
34.900344
134
0.700571
DragonJoker
27c80af676a0666290d391cdcf6467724af589d9
1,777
hpp
C++
utils/elements.in.hpp
c-vigo/mudirac
86c71f6ec25c8328ac7c32abde21c240f41f73e2
[ "MIT" ]
3
2021-03-04T09:17:20.000Z
2022-03-03T04:13:16.000Z
utils/elements.in.hpp
c-vigo/mudirac
86c71f6ec25c8328ac7c32abde21c240f41f73e2
[ "MIT" ]
null
null
null
utils/elements.in.hpp
c-vigo/mudirac
86c71f6ec25c8328ac7c32abde21c240f41f73e2
[ "MIT" ]
2
2022-03-11T10:29:16.000Z
2022-03-25T16:05:47.000Z
/** * MuDirac - A muonic atom Dirac equation solver * by Simone Sturniolo (2019-2020) * * elements.hpp * * Atomic mass and spin data extracted by AME2016 and NUBASE databases. * References: * * AME2016 (masses): * "The Ame2016 atomic mass evaluation (I)" by W.J.Huang, G.Audi, M.Wang, F.G.Kondev, S.N...
26.522388
112
0.708497
c-vigo
27c829b4f304414c9ed69eea63903898ba018a97
2,873
hpp
C++
breath/meta/constant.hpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/meta/constant.hpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/meta/constant.hpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
// =========================================================================== // Copyright 2006-2007 Gennaro Prota // // Licensed under the 3-Clause BSD License. // (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or // <https://opensource.org/licenses/BSD-3...
34.202381
78
0.507135
erez-o
27cff50ff0edcad99e6760d50d5ccf16a5bf3863
4,399
cpp
C++
src/core/log.cpp
celeron55/buildat
6e8202c6d5632485c7209623a7eab834daff49ca
[ "Apache-2.0" ]
7
2015-04-15T14:27:52.000Z
2019-08-02T05:30:22.000Z
src/core/log.cpp
celeron55/buildat
6e8202c6d5632485c7209623a7eab834daff49ca
[ "Apache-2.0" ]
null
null
null
src/core/log.cpp
celeron55/buildat
6e8202c6d5632485c7209623a7eab834daff49ca
[ "Apache-2.0" ]
4
2017-06-14T23:20:54.000Z
2019-04-26T11:43:33.000Z
// http://www.apache.org/licenses/LICENSE-2.0 // Copyright 2014 Perttu Ahola <celeron55@gmail.com> #include "log.h" #include "interface/mutex.h" //#include "interface/thread.h" #include "c55/os.h" #include <atomic> #include <cstdint> #include <cstdio> #include <ctime> #include <cstring> #include <cstdarg> #ifdef _WIN32...
22.105528
79
0.663787
celeron55
27d04cbbd3d105cdf0127cd89531cddd81310fc8
243
cpp
C++
libraries/VAL/src/FastEnvironment.cpp
teyssieuman/VAL
15320d3988bb6ed633babe6c7bd663a97c23a393
[ "BSD-3-Clause" ]
65
2015-01-08T09:58:01.000Z
2021-11-16T11:08:31.000Z
libraries/VAL/src/FastEnvironment.cpp
teyssieuman/VAL
15320d3988bb6ed633babe6c7bd663a97c23a393
[ "BSD-3-Clause" ]
48
2015-01-19T01:07:16.000Z
2021-07-29T18:26:54.000Z
libraries/VAL/src/FastEnvironment.cpp
teyssieuman/VAL
15320d3988bb6ed633babe6c7bd663a97c23a393
[ "BSD-3-Clause" ]
45
2016-01-08T01:57:01.000Z
2022-03-07T04:00:36.000Z
// Copyright 2019 - University of Strathclyde, King's College London and Schlumberger Ltd // This source code is licensed under the BSD license found in the LICENSE file in the root directory of this source tree. #include "FastEnvironment.h"
48.6
122
0.790123
teyssieuman
27d4176d2d18efc511f4d249f3067e47d6bae1bb
628
cpp
C++
CodechefCodes/CANDY123.cpp
debashish05/competitive_programming
e2c0a7a741ac988e4393eda3b5006d6b8c88a5a9
[ "MIT" ]
null
null
null
CodechefCodes/CANDY123.cpp
debashish05/competitive_programming
e2c0a7a741ac988e4393eda3b5006d6b8c88a5a9
[ "MIT" ]
null
null
null
CodechefCodes/CANDY123.cpp
debashish05/competitive_programming
e2c0a7a741ac988e4393eda3b5006d6b8c88a5a9
[ "MIT" ]
null
null
null
//Debashish Roy #include<bits/stdc++.h> #define ll long long int #define loop(k) for(i=0;i<k;++i) #define loop2(k) for(j=1;j<k;++j) #define mod 1000000007 using namespace std; int main() { std::ios_base::sync_with_stdio(false); cin.tie(NULL); int t=1,i=0,j=0; cin>>t; while(t--){ int a,b; ...
19.625
42
0.482484
debashish05
27d4947c64a27699281af712681862c4c61a1730
6,358
cpp
C++
src/laserscan_to_ros_pointcloud.cpp
thanhphong98/laserscan_to_pointcloud
685ee50ebda342676ea03f6948fe19d56e4f22c0
[ "BSD-3-Clause" ]
13
2015-04-28T11:28:20.000Z
2022-03-18T05:34:49.000Z
src/laserscan_to_ros_pointcloud.cpp
thanhphong98/laserscan_to_pointcloud
685ee50ebda342676ea03f6948fe19d56e4f22c0
[ "BSD-3-Clause" ]
null
null
null
src/laserscan_to_ros_pointcloud.cpp
thanhphong98/laserscan_to_pointcloud
685ee50ebda342676ea03f6948fe19d56e4f22c0
[ "BSD-3-Clause" ]
17
2015-01-06T15:20:12.000Z
2022-03-11T07:05:57.000Z
/**\file laserscan_to_ros_pointcloud.cpp * \brief Description... * * @version 1.0 * @author Carlos Miguel Correia da Costa */ // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <includes> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< #include <l...
57.279279
180
0.471689
thanhphong98
27d5b6ddbdbd4d6116a29db5c65992610bad76f4
732
cpp
C++
Easy/isomorphic_strings.cpp
Nikhil0487/Swift-Leetcode-June-2020
3583280ce03004569e17d059ea6a3325162426f0
[ "MIT" ]
null
null
null
Easy/isomorphic_strings.cpp
Nikhil0487/Swift-Leetcode-June-2020
3583280ce03004569e17d059ea6a3325162426f0
[ "MIT" ]
null
null
null
Easy/isomorphic_strings.cpp
Nikhil0487/Swift-Leetcode-June-2020
3583280ce03004569e17d059ea6a3325162426f0
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<map> using namespace std; bool isIsomorphic(string s, string t) { map<char,char> hash; map<char,bool> taken; for(int i=0;i<s.length();i++) { map<char,char>:: iterator it = hash.find(s[i]); if(it == hash.end()) { if(taken.find(t[i]) != ...
25.241379
55
0.495902
Nikhil0487
27d807299a9d0cbe1df990f2137fb6c02c3574bb
3,222
cpp
C++
src/c++/methods/MeInstanceMethods.cpp
nlspartanNL/SDK
291f1e5869210baedbb5447f8f7388f50ec93950
[ "MIT" ]
null
null
null
src/c++/methods/MeInstanceMethods.cpp
nlspartanNL/SDK
291f1e5869210baedbb5447f8f7388f50ec93950
[ "MIT" ]
null
null
null
src/c++/methods/MeInstanceMethods.cpp
nlspartanNL/SDK
291f1e5869210baedbb5447f8f7388f50ec93950
[ "MIT" ]
1
2020-11-06T01:42:10.000Z
2020-11-06T01:42:10.000Z
#include "c++/ModIOInstance.h" namespace modio { void Instance::getAuthenticatedUser(const std::function<void(const modio::Response &response, const modio::User &user)> &callback) { struct GetAuthenticatedUserCall *get_authenticated_user_call = new GetAuthenticatedUserCall{callback}; get_authenticated_user_calls[c...
42.96
175
0.794538
nlspartanNL
27e80b2cb3a6701a6b1f364a359f9efda6426cd3
1,330
cpp
C++
smolengine.graphics/src/Primitives/Texture.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
3
2021-05-18T00:01:06.000Z
2021-07-09T15:39:23.000Z
smolengine.graphics/src/Primitives/Texture.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
null
null
null
smolengine.graphics/src/Primitives/Texture.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "Primitives/Texture.h" #include "Primitives/Shader.h" #include "Tools/Utils.h" #include <memory> #include <cereal/cereal.hpp> #include <cereal/archives/json.hpp> #include <stb_image/stb_image.h> #ifdef OPENGL_IMPL #include "Backends/OpenGL/OpenglTexture.h" #else #include "Backends/Vulka...
19.558824
141
0.703759
Floritte
27eef371a2771e38e57de26376937ba63c7a76b2
1,494
cpp
C++
src/entity-system/model/base/guid/GUIDBase_tests.cpp
inexorgame/entity-system
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
19
2018-10-11T09:19:48.000Z
2020-04-19T16:36:58.000Z
src/entity-system/model/base/guid/GUIDBase_tests.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
132
2018-07-28T12:30:54.000Z
2020-04-25T23:05:33.000Z
src/entity-system/model/base/guid/GUIDBase_tests.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
3
2019-03-02T16:19:23.000Z
2020-02-18T05:15:29.000Z
#include "GUIDBase.hpp" #include <gtest/gtest.h> #include <memory> using namespace inexor::entity_system; // @class Test class for GUIDBase. class ThingThatNeedsGuid : public GUIDBase { public: ThingThatNeedsGuid() : GUIDBase() { } ThingThatNeedsGuid(const xg::Guid &param_GUID) : GUIDBase(param_GU...
25.322034
103
0.702811
inexorgame
27f7fb9a58267232e725e61d6db240c9275e0f3d
569
cpp
C++
CTaskRunner.cpp
KAdamek/task_runner
02e204bdf0b409080c8ea1e900dd5afff626699a
[ "MIT" ]
null
null
null
CTaskRunner.cpp
KAdamek/task_runner
02e204bdf0b409080c8ea1e900dd5afff626699a
[ "MIT" ]
null
null
null
CTaskRunner.cpp
KAdamek/task_runner
02e204bdf0b409080c8ea1e900dd5afff626699a
[ "MIT" ]
null
null
null
#include "CTaskRunner.h" CTaskRunner::CTaskRunner(ITask *task, CTaskMetadata *metadata) { this->task = task; // metadata could be cloned or stored as a pointer this->metadata = *metadata; } void CTaskRunner::run(CHardwareConfiguration *hardwareConfiguration, CTaskData *data) { task->setup(hardwareConfiguration, &...
27.095238
87
0.752197
KAdamek
27ffadf2d315c812975ece7c4a3a2880ba417958
7,638
cpp
C++
ai/src/ai/ai_estimates_field.cpp
The-city-not-present/noughtsandcrosses-cpp
f0e34b02898f25cc1df1cf0c96733f98c7ccca8e
[ "MIT" ]
null
null
null
ai/src/ai/ai_estimates_field.cpp
The-city-not-present/noughtsandcrosses-cpp
f0e34b02898f25cc1df1cf0c96733f98c7ccca8e
[ "MIT" ]
null
null
null
ai/src/ai/ai_estimates_field.cpp
The-city-not-present/noughtsandcrosses-cpp
f0e34b02898f25cc1df1cf0c96733f98c7ccca8e
[ "MIT" ]
null
null
null
#include "ai_estimates_field.h" long double AI_estimates_field::calc_est_data[14] = { 1.0, 1.0, 1.0, 0.995, 0.88, 0.75, 0.19, 0.13, 0.09, 0.08, 0.0006, 0.0005, 0.0, 0.0 }; // табличные значения long double AI_estimates_field::calc_est( char n, bool player_is_me ) { switch(n) { case 5: return ( playe...
33.946667
139
0.513485
The-city-not-present
7e0369b65f5f813e2e114f46f61fd92bd0e77f4b
1,021
hpp
C++
src/But/Pattern/detail/DispatcherMockImpl.hpp
el-bart/but
eee2e7e34dde415f4c87461f75c2bab38fc56407
[ "BSD-3-Clause" ]
27
2016-01-12T19:30:57.000Z
2022-01-27T15:52:39.000Z
src/But/Pattern/detail/DispatcherMockImpl.hpp
el-bart/but
eee2e7e34dde415f4c87461f75c2bab38fc56407
[ "BSD-3-Clause" ]
4
2017-04-10T16:30:22.000Z
2019-04-24T21:02:55.000Z
src/But/Pattern/detail/DispatcherMockImpl.hpp
el-bart/but
eee2e7e34dde415f4c87461f75c2bab38fc56407
[ "BSD-3-Clause" ]
2
2016-12-09T17:09:59.000Z
2019-07-16T00:19:31.000Z
#pragma once #include <gmock/gmock.h> #include <But/Pattern/Dispatcher.hpp> #include <But/Mpl/NamedVariadicTemplate.hpp> namespace But { namespace Pattern { namespace detail { template<typename M> struct MockMethod { MOCK_METHOD1_T(handle, void(M const&)); protected: ~MockMethod() = default; }; template<typenam...
20.019608
88
0.665034
el-bart
7e06cfa7e765c4fcc9c794d4bb83b601d73c8295
803
cpp
C++
C++/Binary Tree Inorder Traversal/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
2
2016-04-27T11:55:44.000Z
2017-02-06T04:15:46.000Z
C++/Binary Tree Inorder Traversal/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
null
null
null
C++/Binary Tree Inorder Traversal/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<int> inorderTraversal(TreeNode* root) { vector<int> res = {}; if (!root)...
22.305556
59
0.39726
Leobuaa
7e0c87a29d8473201fc3837c04ab51eb0567388b
6,200
cpp
C++
source/ConvexHull.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
source/ConvexHull.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
source/ConvexHull.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. // HACD headers need to be first. #include <GTGE/HACD/hacdCircularList.h> #include <GTGE/HACD/hacdVector.h> #include <GTGE/HACD/hacdICHull.h> #include <GTGE/HACD/hacdGraph.h> #include <GTGE/HACD/hacdHACD.h> #include <GTGE/ConvexHull.hpp> namespace GT { ...
39.240506
148
0.526774
mackron
7e1cc40c65643e2a5d93ade4964e0614b8a9a879
358
cpp
C++
src/engine/ChessEngineFactory.cpp
patryk-kacperski/chess-engine
d636bf3cab9f5d8b72523ce8f2be493b6666c660
[ "MIT" ]
null
null
null
src/engine/ChessEngineFactory.cpp
patryk-kacperski/chess-engine
d636bf3cab9f5d8b72523ce8f2be493b6666c660
[ "MIT" ]
null
null
null
src/engine/ChessEngineFactory.cpp
patryk-kacperski/chess-engine
d636bf3cab9f5d8b72523ce8f2be493b6666c660
[ "MIT" ]
1
2019-04-05T20:26:27.000Z
2019-04-05T20:26:27.000Z
// // Created by Patryk Kacperski on 09/07/2018. // #include "ChessEngineFactory.h" namespace pkchessengine { std::unique_ptr<ChessEngine> ChessEngineFactory::create() { return nullptr; } std::unique_ptr<ChessEngine> ChessEngineFactory::create(const std::vector<std::vector<PieceInfo>>& initialSt...
22.375
118
0.692737
patryk-kacperski
7e21cbcda03a1ec0e77025ea2dd8395ec6eeb100
2,516
cpp
C++
src/simpcl/src/filters/model_projection.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
17
2020-01-08T14:35:05.000Z
2021-12-09T12:30:07.000Z
src/simpcl/src/filters/model_projection.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
2
2020-01-31T16:31:48.000Z
2022-03-09T12:49:53.000Z
src/simpcl/src/filters/model_projection.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
7
2020-01-08T21:28:58.000Z
2021-12-03T06:00:05.000Z
// Projecting points using a parametric model // Plane Model used. // http://www.pointclouds.org/documentation/tutorials/project_inliers.php // Import dependencies #include <string> #include <ros/ros.h> #include <iostream> #include <pcl_ros/point_cloud.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #incl...
33.105263
95
0.736089
senceryazici
7e29a52aa00653cbadc64bed34e358dffe9a20b5
1,669
hh
C++
EvtGen1_06_00/EvtGenModels/EvtbsToLLLLAmp.hh
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
EvtGen1_06_00/EvtGenModels/EvtbsToLLLLAmp.hh
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
EvtGen1_06_00/EvtGenModels/EvtbsToLLLLAmp.hh
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
27.816667
76
0.536249
klendathu2k
7e2ae383187c5c86098f92ac86f5d12281172e0c
3,189
hpp
C++
include/CQLDriver/Common/ColumnTypes/MapBase.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
41
2018-01-23T09:27:32.000Z
2021-02-15T15:49:07.000Z
include/CQLDriver/Common/ColumnTypes/MapBase.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
20
2018-01-25T04:25:48.000Z
2019-03-09T02:49:41.000Z
include/CQLDriver/Common/ColumnTypes/MapBase.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
5
2018-04-10T12:19:13.000Z
2020-02-17T03:30:50.000Z
#pragma once #include <cstdint> #include <initializer_list> #include "../Exceptions/DecodeException.hpp" #include "../ColumnTrait.hpp" #include "./Int.hpp" namespace cql { /** * A [int] n indicating the number of key/value pairs in the map, followed by n entries. * Each entry is composed of two [bytes] representi...
30.663462
89
0.669489
cpv-project
7e2b1474dff3c8a0ef00d63b4fb62b0e86b44c35
10,154
cpp
C++
digitanks/src/digitanks/ui/ui.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
5
2015-07-03T18:42:32.000Z
2017-08-25T10:28:12.000Z
digitanks/src/digitanks/ui/ui.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
digitanks/src/digitanks/ui/ui.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
#include "digitankswindow.h" #include <glgui/rootpanel.h> #include <tinker_platform.h> #include <strutils.h> #include <sockets/sockets.h> #include <glgui/filedialog.h> #include <ui/instructor.h> #include <tengine/lobby/lobby_client.h> #include <tengine/lobby/lobby_server.h> #include <renderer/renderer.h> #include "...
27.295699
195
0.719815
BSVino
7e2fe5855d09cb05c741ae37737cefed9d0575bc
2,615
hpp
C++
include/Nazara/Graphics/DepthPipelinePass.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
include/Nazara/Graphics/DepthPipelinePass.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
include/Nazara/Graphics/DepthPipelinePass.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_GRAPHICS_DEPTHPIPELINEPASS_HPP #define NAZARA_GRAPHICS_DEPTHPIPELINEPASS_HPP #incl...
34.866667
172
0.798088
jayrulez
7e31387852b04a4c94e654536d035d4682fbca73
8,721
cpp
C++
Modular/library/source/TTSender.cpp
jamoma/JamomaCore
7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43
[ "BSD-3-Clause" ]
31
2015-02-28T23:51:10.000Z
2021-12-25T04:16:01.000Z
Modular/library/source/TTSender.cpp
jamoma/JamomaCore
7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43
[ "BSD-3-Clause" ]
126
2015-01-01T13:42:05.000Z
2021-07-13T14:11:42.000Z
Modular/library/source/TTSender.cpp
jamoma/JamomaCore
7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43
[ "BSD-3-Clause" ]
14
2015-02-10T15:08:32.000Z
2019-09-17T01:21:25.000Z
/** @file * * @ingroup modularLibrary * * @brief A Sender Object * * @details * * @authors Théo de la Hogue * * @copyright © 2010, Théo de la Hogue @n * This code is licensed under the terms of the "New BSD License" @n * http://creativecommons.org/licenses/BSD/ */ #include "TTSender.h" #define thisTTCla...
25.65
184
0.660819
jamoma
7e33517c5581bc6b16746c399585ef984c5053f2
222
hpp
C++
AppGodRays/src/SunComponent.hpp
jaafersheriff/Neo-Engine
526e83829761322ccf09e661efa825b028426fa5
[ "MIT" ]
6
2017-10-17T17:54:42.000Z
2022-02-13T09:43:02.000Z
AppGodRays/src/SunComponent.hpp
jaafersheriff/Neo-Engine
526e83829761322ccf09e661efa825b028426fa5
[ "MIT" ]
1
2020-04-11T10:37:41.000Z
2021-11-15T21:03:32.000Z
AppGodRays/src/SunComponent.hpp
jaafersheriff/Neo-Engine
526e83829761322ccf09e661efa825b028426fa5
[ "MIT" ]
4
2017-09-08T05:56:51.000Z
2021-02-03T15:16:41.000Z
#pragma once #include "ECS/Component/Component.hpp" #include "ECS/GameObject.hpp" using namespace neo; class SunComponent : public Component { public: SunComponent(GameObject *go) : Component(go) {} };
14.8
39
0.693694
jaafersheriff
ccdefca83f34579e9b5d91a7cccb4c7273914886
2,404
cpp
C++
src/main.cpp
darkhunterbg/hypershot
87e063261ba95b0dfa5c9321691497bdc9e82f87
[ "MIT" ]
null
null
null
src/main.cpp
darkhunterbg/hypershot
87e063261ba95b0dfa5c9321691497bdc9e82f87
[ "MIT" ]
null
null
null
src/main.cpp
darkhunterbg/hypershot
87e063261ba95b0dfa5c9321691497bdc9e82f87
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <string> #include "win32.h" #include "MemoryService.h" #include "GameLoop.h" #include "HiResTimer.h" LRESULT CALLBACK WinProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); void OnAssertFailed(const std::string& msg); void ShowGameWindow(const wchar_t* msg, HINSTANCE hInstance, ...
21.274336
109
0.708819
darkhunterbg
cce3801d7f9a5ae5fc83a1a80b0f6a78a2c7a54d
13,277
cpp
C++
CHAPTER14/sources.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
CHAPTER14/sources.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
CHAPTER14/sources.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
//g++ -w -Wall -std=c++11 ../sourcesgui/Graph.cpp ../sourcesgui/Window.cpp ../sourcesgui/GUI.cpp '../sourcesgui/Simple_window.cpp' ../CHAPTER13/sources.cpp sources.cpp C14E01.cpp `fltk-config --ldflags --use-images` -o C14E01 #include "./sources.h" //EX 05 void Striped_rectangle::draw_lines() const { if (fill_color...
31.462085
226
0.599307
lrpinnto
cce99baf58d084edeece5f26bb23fa662b22a12c
10,239
cpp
C++
CGEditor/src/EditorLayer.cpp
chen1180/CG-SandBox
59473fe44fb515f4e79479070c924de7e0e2c760
[ "MIT" ]
null
null
null
CGEditor/src/EditorLayer.cpp
chen1180/CG-SandBox
59473fe44fb515f4e79479070c924de7e0e2c760
[ "MIT" ]
null
null
null
CGEditor/src/EditorLayer.cpp
chen1180/CG-SandBox
59473fe44fb515f4e79479070c924de7e0e2c760
[ "MIT" ]
null
null
null
#include "EditorLayer.h" #include"glad/glad.h" #include"glm/glm.hpp" #include"glm/gtc/matrix_transform.hpp" #include"platform/opengl/OpenGLFrameBuffer.h" namespace CGCore { void EditorLayer::OnAttach() { CG_CLIENT_INFO("App layer attached"); m_Shader = Shader::Create(std::string("../assets/shader/Debug_cube.vert...
44.907895
191
0.714425
chen1180
cced4c7f6d05a204b4460f834dd64ddcbc97b158
14,445
cpp
C++
MultiComposite/VRClient-Stub/VirtualInput.cpp
DrPotatoNet/MultiComposite
d71e065661a55b22bfcec8b162859e4fbec18782
[ "MIT" ]
2
2020-09-06T08:14:15.000Z
2020-09-06T19:03:12.000Z
MultiComposite/VRClient-Stub/VirtualInput.cpp
Bluscream/MultiComposite
eac46d3fc7167629181b0652087cb6c2ab12747a
[ "MIT" ]
4
2020-09-07T09:50:31.000Z
2020-09-30T05:16:31.000Z
MultiComposite/VRClient-Stub/VirtualInput.cpp
Bluscream/MultiComposite
eac46d3fc7167629181b0652087cb6c2ab12747a
[ "MIT" ]
1
2020-09-29T20:57:15.000Z
2020-09-29T20:57:15.000Z
#include "VirtualInput.h" #include "VRClient.h" #include "Logger.h" vr::EVRInputError VirtualInput::SetActionManifestPath(const char* pchActionManifestPath) { dlog::Println("[VirtualInput::SetActionManifestPath] Called."); return static_cast<IVRInput_010*>(steamInput)->SetActionManifestPath(pchActionManifestPath); ...
59.937759
349
0.849152
DrPotatoNet
ccef87ea731620cf17b57865b213d1d8b0d1db92
4,431
cpp
C++
GControl/GControl/GControlDlg.cpp
GongZhihui/GControl
ed2076e3dd025760e5c34f1d4e0f1151451420c9
[ "Apache-2.0" ]
4
2020-02-24T02:36:48.000Z
2020-12-27T12:49:35.000Z
GControl/GControl/GControlDlg.cpp
GongZhihui/GControl
ed2076e3dd025760e5c34f1d4e0f1151451420c9
[ "Apache-2.0" ]
null
null
null
GControl/GControl/GControlDlg.cpp
GongZhihui/GControl
ed2076e3dd025760e5c34f1d4e0f1151451420c9
[ "Apache-2.0" ]
1
2021-03-21T06:04:03.000Z
2021-03-21T06:04:03.000Z
 // GControlDlg.cpp: 实现文件 // #include "stdafx.h" #include "GControl.h" #include "GControlDlg.h" #include "afxdialogex.h" #include "resource.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CGControlDlg 对话框 CGControlDlg::CGControlDlg(CWnd* pParent /*=nullptr*/) : CDialogEx(IDD_GCONTROL_DIALOG, pParent) { m_hIc...
21.509709
79
0.662604
GongZhihui
ccfd666127dec64f2c71cb225434a550569d218d
2,085
cpp
C++
Striver Sheet/Day-15/Roman to Integer.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
5
2021-08-10T18:47:49.000Z
2021-08-21T15:42:58.000Z
Striver Sheet/Day-15/Roman to Integer.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
2
2022-02-25T13:36:46.000Z
2022-02-25T14:06:44.000Z
Striver Sheet/Day-15/Roman to Integer.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
1
2021-08-11T06:36:42.000Z
2021-08-11T06:36:42.000Z
/* Roman to Integer ================ Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, 2 is written as II in Roman numeral, just two...
24.529412
345
0.568345
Akshad7829
6901fef899b4f3ebe16f6cecf70147d09a0e11c7
872
cpp
C++
src/main.cpp
pamelus/air-conditioning-sensor
8d575d9cbf9a993d26437bd71addd114b07a689c
[ "MIT" ]
null
null
null
src/main.cpp
pamelus/air-conditioning-sensor
8d575d9cbf9a993d26437bd71addd114b07a689c
[ "MIT" ]
null
null
null
src/main.cpp
pamelus/air-conditioning-sensor
8d575d9cbf9a993d26437bd71addd114b07a689c
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "Controller/RemoteCommandExecutor.h" #include "Controller/SensorController.h" #define INDOOR 1 #define OUTDOOR 2 #define VARIANT OUTDOOR ACC::Controller::RemoteCommand::Radio radio(Serial, 2); ACC::Controller::RemoteCommand::Executor executor(radio); #if VARIANT == OUTDOOR #include ...
24.914286
89
0.719037
pamelus
69051f1bc346206245819cbde0299aa3875036de
657
cpp
C++
modules/algorithm/test/test_pca.cpp
ljm941004/HYPERCV_PUBLIC
aef4f392ed0136284409c3e2d750a7812e4a5e35
[ "BSD-3-Clause" ]
8
2019-08-16T00:38:02.000Z
2021-12-05T10:24:44.000Z
modules/algorithm/test/test_pca.cpp
mafu0927/HYPERCV_PUBLIC
aef4f392ed0136284409c3e2d750a7812e4a5e35
[ "BSD-3-Clause" ]
null
null
null
modules/algorithm/test/test_pca.cpp
mafu0927/HYPERCV_PUBLIC
aef4f392ed0136284409c3e2d750a7812e4a5e35
[ "BSD-3-Clause" ]
5
2019-07-23T07:28:29.000Z
2021-01-14T01:27:48.000Z
/************************************************************************* > File Name: test_pca.cpp > Author: ljm > Mail: jimin@iscas.ac.cn ************************************************************************/ #include "precomp.h" using namespace std; void test_pca() { hyper_mat t = hmread_with_hdr("/hom...
23.464286
95
0.567732
ljm941004
69060246c3450242cb7b3fe7d659180d0b31f87f
4,947
hpp
C++
glfw3_app/basic/buff.hpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
9
2015-09-22T21:36:57.000Z
2021-04-01T09:16:53.000Z
glfw3_app/basic/buff.hpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
null
null
null
glfw3_app/basic/buff.hpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
2
2019-02-21T04:22:13.000Z
2021-03-02T17:24:32.000Z
#pragma once //=====================================================================// /*! @file @brief バッファ・クラス @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include <cstdint> #include <cstring> namespace utils { //++++++++++++++++++++++...
25.632124
74
0.269658
hirakuni45
6917b99944ad02adb3239541ef5b7322727884ad
1,405
cpp
C++
Algorithms/Sliding_Window/fixed_size/sub_arr_avg.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
11
2020-03-20T17:24:28.000Z
2022-01-08T02:43:24.000Z
Algorithms/Sliding_Window/fixed_size/sub_arr_avg.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
1
2021-07-25T11:24:46.000Z
2021-07-25T12:09:25.000Z
Algorithms/Sliding_Window/fixed_size/sub_arr_avg.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
4
2020-03-20T17:24:36.000Z
2021-12-07T19:22:59.000Z
#include<bits/stdc++.h> using namespace std; // Find the subarray with least average // Input: arr[] = {3, 7, 90, 20, 10, 50, 40}, k = 3 // Output: Subarray between indexes 3 and 5 // The subarray {20, 10, 50} has the least average // among all subarrays of size 3. // Input: arr[] = {3, 7, 5, 20, -10, 0, 12}, k = ...
23.032787
78
0.556584
abhishekjha786
691a3829cd80d1e079ee6b8be5851a29924b51d1
457
cpp
C++
LibsExternes/Includes/lzma465/CPP/7zip/Archive/Split/SplitRegister.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
LibsExternes/Includes/lzma465/CPP/7zip/Archive/Split/SplitRegister.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
LibsExternes/Includes/lzma465/CPP/7zip/Archive/Split/SplitRegister.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
// SplitRegister.cpp #include "StdAfx.h" #include "../../Common/RegisterArc.h" #include "SplitHandler.h" static IInArchive *CreateArc() { return new NArchive::NSplit::CHandler; } /* #ifndef EXTRACT_ONLY static IOutArchive *CreateArcOut() { return new NArchive::NSplit::CHandler; } #else #define CreateAr...
21.761905
79
0.676149
benkaraban
691b25f641e13bd9afe819903b250410c4050e09
770
hpp
C++
libs/fnd/algorithm/include/bksge/fnd/algorithm/detail/binary_search.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/algorithm/include/bksge/fnd/algorithm/detail/binary_search.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/algorithm/include/bksge/fnd/algorithm/detail/binary_search.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file binary_search.hpp * * @brief binary_search の実装 * * @author myoukaku */ #ifndef BKSGE_FND_ALGORITHM_DETAIL_BINARY_SEARCH_HPP #define BKSGE_FND_ALGORITHM_DETAIL_BINARY_SEARCH_HPP #include <bksge/fnd/algorithm/detail/lower_bound.hpp> #include <bksge/fnd/config.hpp> namespace bksge { ...
20.263158
66
0.732468
myoukaku
691e54f2c51985ef24079e3c9ba77cc7c08a2236
6,712
cpp
C++
lib/src/HOMappedGeometry/MultiBlockLevelGeom.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/HOMappedGeometry/MultiBlockLevelGeom.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/HOMappedGeometry/MultiBlockLevelGeom.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
1
2021-04-13T19:06:43.000Z
2021-04-13T19:06:43.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "MultiBlockLevelGeom.H" #include "BoxFixedOff.H" #include "Namespac...
32.901961
100
0.604589
rmrsk
69223569b49d94c6fa91b28ce4a1ac86aea0d3bc
193
cpp
C++
src/passman/fs/is_empty.cpp
tabz1234/passman
adab0c58982619a7640716e7304d1a58d6257793
[ "Unlicense" ]
null
null
null
src/passman/fs/is_empty.cpp
tabz1234/passman
adab0c58982619a7640716e7304d1a58d6257793
[ "Unlicense" ]
null
null
null
src/passman/fs/is_empty.cpp
tabz1234/passman
adab0c58982619a7640716e7304d1a58d6257793
[ "Unlicense" ]
null
null
null
#include "is_empty.hpp" #include <filesystem> bool Passman::FS::is_empty(const std::string_view path) noexcept { std::error_code errc; return std::filesystem::is_empty(path, errc); }
19.3
64
0.720207
tabz1234
6929c8e2ff33abbf48b8f3a8d2b958d9146ee49e
870
cpp
C++
Leetcode/Practice/Find Common Characters.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
4
2019-06-04T11:03:38.000Z
2020-06-19T23:37:32.000Z
Leetcode/Practice/Find Common Characters.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
null
null
null
Leetcode/Practice/Find Common Characters.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
null
null
null
class Solution { public: vector<string> commonChars(vector<string>& A) { int base[26]; memset(base, 0, sizeof base); for(int i = 0; i < A[0].size(); i++) base[A[0][i] - 'a']++; for(int i = 1; i < A.size(); i++) { int temp[26]; memset(temp, ...
26.363636
51
0.33908
coderanant
692d2ec687dac5872f4640258dbd0aeae26f1895
4,815
cpp
C++
grading_tool/settings_window.cpp
almikh/automatic-knee-oa-grading-tools
f59c2ba627ed3f52d0acdb01535c3224c64210de
[ "MIT" ]
null
null
null
grading_tool/settings_window.cpp
almikh/automatic-knee-oa-grading-tools
f59c2ba627ed3f52d0acdb01535c3224c64210de
[ "MIT" ]
null
null
null
grading_tool/settings_window.cpp
almikh/automatic-knee-oa-grading-tools
f59c2ba627ed3f52d0acdb01535c3224c64210de
[ "MIT" ]
null
null
null
#include "settings_window.h" #include "settings_window.h" #include <QApplication> #include <QJsonDocument> #include <QGridLayout> #include <QScrollArea> #include <QScrollBar> #include <QPushButton> #include <QFileDialog> #include <QComboBox> #include <QGroupBox> #include <QLineEdit> #include <QCheckBox> #include <QList...
30.865385
129
0.701558
almikh
693392e4bb211afb02711eb3e25c4dfe6f4f5e53
448
cpp
C++
programs_AtoZ/Conversion Decimal to Octal/Decimal_to_Octal.cpp
EarthMan123/unitech_cpp_with_oops-course
941fec057bdcb8a5289994780ae553e6d4fddbbe
[ "Unlicense" ]
2
2021-06-12T02:55:28.000Z
2021-07-04T22:25:38.000Z
programs_AtoZ/Conversion Decimal to Octal/Decimal_to_Octal.cpp
EarthMan123/unitech_cpp_with_oops-course
941fec057bdcb8a5289994780ae553e6d4fddbbe
[ "Unlicense" ]
null
null
null
programs_AtoZ/Conversion Decimal to Octal/Decimal_to_Octal.cpp
EarthMan123/unitech_cpp_with_oops-course
941fec057bdcb8a5289994780ae553e6d4fddbbe
[ "Unlicense" ]
1
2021-07-04T22:28:38.000Z
2021-07-04T22:28:38.000Z
// C++ Program to Convert Decimal to Octal #include<iostream> using namespace std; int main() { int decimalNum, octalNum[50], i=0; cout<<"Enter any Decimal number: "; cin>>decimalNum; while(decimalNum != 0) { octalNum[i] = decimalNum%8; i++; decimalNum = decimalNum/8; } ...
20.363636
42
0.564732
EarthMan123
69339dffd05441ed22395d48782ffe7ac3f6c8ff
2,902
cpp
C++
engine/scene_impl/scene_pause.cpp
rimuz/unfair-game
5479d64b2f22d109b77cc024ab61d67be98b64d5
[ "Apache-2.0" ]
4
2019-01-22T21:06:39.000Z
2022-02-27T22:00:38.000Z
engine/scene_impl/scene_pause.cpp
rimuz/unfair
5479d64b2f22d109b77cc024ab61d67be98b64d5
[ "Apache-2.0" ]
null
null
null
engine/scene_impl/scene_pause.cpp
rimuz/unfair
5479d64b2f22d109b77cc024ab61d67be98b64d5
[ "Apache-2.0" ]
null
null
null
#include "engine/scene.hpp" #include "io/save.hpp" namespace ue{ void Scene::togglePauseGame(){ if(Game::curr_game){ GAME.paused = !GAME.paused; if(GAME.paused){ if(GAME.showingLevel){ removeLevelScreen(); } else { ...
26.87037
82
0.431082
rimuz
69355da0cec1c8ade38a25fddf638183285fcd2c
595
cpp
C++
qt3dwidget.cpp
MedMoute/EF-Solver
aa79a0b21b08016f66277ec2cba686776b83f0e3
[ "MIT" ]
null
null
null
qt3dwidget.cpp
MedMoute/EF-Solver
aa79a0b21b08016f66277ec2cba686776b83f0e3
[ "MIT" ]
null
null
null
qt3dwidget.cpp
MedMoute/EF-Solver
aa79a0b21b08016f66277ec2cba686776b83f0e3
[ "MIT" ]
1
2021-08-12T14:10:34.000Z
2021-08-12T14:10:34.000Z
#include <Qt3DCore/QEntity> #include <Qt3DRender/QCamera> #include <Qt3DRender/QCameraLens> #include <Qt3DCore/QTransform> #include <Qt3DCore/QAspectEngine> #include <Qt3DInput/QInputAspect> #include <Qt3DRender/QRenderAspect> #include <Qt3DExtras/QForwardRenderer> #include "qt3dwindow.h" #include "qt3dwidget.h" #in...
23.8
86
0.766387
MedMoute
693c019d724684da451f0a226087c501abbe6931
8,309
cpp
C++
DT3Core/Scripting/ScriptingSoundHighPassFilter3db.cpp
9heart/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2016-01-27T13:17:18.000Z
2019-03-19T09:18:25.000Z
DT3Core/Scripting/ScriptingSoundHighPassFilter3db.cpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
1
2016-01-28T14:39:49.000Z
2016-01-28T22:12:07.000Z
DT3Core/Scripting/ScriptingSoundHighPassFilter3db.cpp
adderly/DT3
e2605be091ec903d3582e182313837cbaf790857
[ "MIT" ]
3
2016-01-25T16:44:51.000Z
2021-01-29T19:59:45.000Z
//============================================================================== /// /// File: ScriptingSoundHighPassFilter3db.cpp /// /// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved. /// /// This file is subject to the terms and conditions defined in /// file 'LICENSE.txt',...
37.427928
161
0.533999
9heart
693d7e33c67decac79b6d3863a5d076d1f256682
2,849
cpp
C++
alicia_modder/source/main/buffer/buffer.cpp
rgnter/alicia_modwork
88713a943a7dccf0f0ec9f4322f5cb41b1200db4
[ "MIT" ]
3
2021-03-29T15:37:38.000Z
2021-09-18T18:53:02.000Z
alicia_modder/source/main/buffer/buffer.cpp
rgnter/alicia_modwork
88713a943a7dccf0f0ec9f4322f5cb41b1200db4
[ "MIT" ]
null
null
null
alicia_modder/source/main/buffer/buffer.cpp
rgnter/alicia_modwork
88713a943a7dccf0f0ec9f4322f5cb41b1200db4
[ "MIT" ]
null
null
null
// // Created by maros on 31/05/2021. // #include "buffer.hpp" #include "cstdio" #include "string.h" buffer::stack_buffer::stack_buffer(const void *dataPtr, size_t dataLen) : m_buffer((uint8_t *) dataPtr), m_bufferLength(dataLen), m_bufferCursor(0) { } void buffer::stack_buffer::setCursor(size_t pos) { ...
23.352459
83
0.716041
rgnter
693f21cd4794e8c3892720088e28e867736b3d8b
1,174
cpp
C++
src/DesktopCore/Utils/Patterns/PublisherSubscriber/Broker.cpp
lurume84/blink-desktop
d6d01f8dc461edd22192a521fbd49669bfa8f684
[ "MIT" ]
75
2019-03-08T14:15:49.000Z
2022-01-05T17:30:43.000Z
src/DesktopCore/Utils/Patterns/PublisherSubscriber/Broker.cpp
lurume84/blink-desktop
d6d01f8dc461edd22192a521fbd49669bfa8f684
[ "MIT" ]
55
2019-02-17T01:34:12.000Z
2022-02-26T21:07:33.000Z
src/DesktopCore/Utils/Patterns/PublisherSubscriber/Broker.cpp
lurume84/blink-desktop
d6d01f8dc461edd22192a521fbd49669bfa8f684
[ "MIT" ]
20
2019-05-21T19:02:31.000Z
2022-03-28T07:29:28.000Z
#include "Broker.h" #include "Event.h" namespace desktop { namespace core { namespace utils { namespace patterns { Broker& Broker::get() { static Broker S; return S; } Broker::Broker() = default; Broker::~Broker() { std::unique_lock<std::mutex> lock(m_mutexSubscriptions); TStrS...
20.964286
101
0.669506
lurume84
6942dd0d32d26e8a4dcc9e070425e468c34063b8
348
cpp
C++
Camp_1-2562/07 Pointer-Structure/Untitled2.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/07 Pointer-Structure/Untitled2.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/07 Pointer-Structure/Untitled2.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
#include<stdio.h> #include<conio.h> #include<string.h> int main (){ struct profile{ char name[20]; int age; }s[10]; for(int i=0;i<10;i++){ printf("Student[%d]\n",i); printf("\t %s",s[i].name); printf("\t age"); scanf("%d",&s[i].age); } for(int j=0;j<10;j++) if(s[j].age>20) printf("\n%s,%d",s[j].n...
16.571429
40
0.545977
MasterIceZ
6942fbf506141863c5861da224e93bddbf51b79e
579
hpp
C++
src/Tools/Constellation/PAM/Constellation_PAM.hpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2022-02-17T08:47:47.000Z
2022-02-17T08:47:47.000Z
src/Tools/Constellation/PAM/Constellation_PAM.hpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
null
null
null
src/Tools/Constellation/PAM/Constellation_PAM.hpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2022-02-15T23:32:39.000Z
2022-02-15T23:32:39.000Z
#ifndef CONSTELLATION_PAM_HPP__ #define CONSTELLATION_PAM_HPP__ #include <cstdint> #include "Tools/Constellation/Constellation.hpp" namespace aff3ct { namespace tools { template <typename R> class Constellation_PAM : public Constellation<R> { public: using typename Constellation<R>::S; /* * \param n_bps is the ...
17.545455
56
0.773748
WilliamMajor
69437699b710ac295ab84838f08e2a71666fbe3e
30,405
cpp
C++
unittests/snapshot_tests.cpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
13,162
2017-05-29T22:08:27.000Z
2022-03-29T19:25:05.000Z
unittests/snapshot_tests.cpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
6,450
2017-05-30T14:41:50.000Z
2022-03-30T11:30:04.000Z
unittests/snapshot_tests.cpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
4,491
2017-05-29T22:08:32.000Z
2022-03-29T07:09:52.000Z
#include <sstream> #include <eosio/chain/block_log.hpp> #include <eosio/chain/global_property_object.hpp> #include <eosio/chain/kv_chainbase_objects.hpp> #include <eosio/chain/snapshot.hpp> #include <eosio/testing/tester.hpp> #include <eosio/testing/snapshot_suites.hpp> #include <boost/mpl/list.hpp> #include <boost/t...
42.643759
163
0.68617
forfreeday
694409f0b03164d37256e9935ce970573501d858
2,117
cpp
C++
tests/basic_query_match_test.cpp
HardwareIR/netlistDB
2c52a1c88b7be712d6cdc9146f1a9dbf26441198
[ "MIT" ]
14
2019-03-27T00:53:06.000Z
2021-12-13T15:18:04.000Z
tests/basic_query_match_test.cpp
PDFxy/netlistDB
2c52a1c88b7be712d6cdc9146f1a9dbf26441198
[ "MIT" ]
11
2019-02-25T18:43:48.000Z
2019-06-13T15:00:33.000Z
tests/basic_query_match_test.cpp
HardwareIR/hardwareIr
2c52a1c88b7be712d6cdc9146f1a9dbf26441198
[ "MIT" ]
2
2020-03-12T06:01:13.000Z
2021-04-09T10:00:32.000Z
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MAIN #define BOOST_TEST_MODULE netlistDB_basic_query_test #include <boost/test/unit_test.hpp> #include <functional> #include <iostream> #include <fstream> #include <stdint.h> #include <netlistDB/netlist.h> #include <netlistDB/statement_if.h> #include <netlistDB/query/qu...
24.056818
80
0.667454
HardwareIR
69451b4c9948071c013fde7618500ca36e68298f
1,442
cpp
C++
lib/cpalgo/graph/tests/articulation_points_test.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
lib/cpalgo/graph/tests/articulation_points_test.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
lib/cpalgo/graph/tests/articulation_points_test.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> #include "gtest/gtest.h" #include "cpalgo/graph/articulation_points.hpp" using namespace std; TEST(ArticulationPointsTest, IsEmptyInitially) { ArticulationPoints solver; EXPECT_EQ(0ULL, solver.size()); } TEST(ArticulationPointsTest, ShouldComputeArticulationPointsInCase1) { size...
24.862069
70
0.678918
xirc
69455c396ce5f6d8aeae6d67c8b5f42b40ff9db4
4,394
hpp
C++
CKGfx/Context.hpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
CKGfx/Context.hpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
CKGfx/Context.hpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
// // Context.hpp // GfxPrototype // // Created by Samir Sinha on 9/26/15. // // #ifndef CK_Graphics_Context_hpp #define CK_Graphics_Context_hpp #include "GfxTypes.hpp" #include <cinek/managed_dictionary.hpp> #include <functional> namespace cinek { namespace gfx { class Context { public: struct Res...
35.152
91
0.715066
samkusin
694c8798ea55938161cafa427afe7b5af78ae55d
722
cc
C++
src/llvm-backend/deserialise_ir/deserialise_protobuf.cc
paulocoghi/bolt
a81627f95af6577cd465df09290a51c9d469c667
[ "MIT" ]
305
2020-05-08T11:09:53.000Z
2022-03-19T18:43:58.000Z
src/llvm-backend/deserialise_ir/deserialise_protobuf.cc
paulocoghi/bolt
a81627f95af6577cd465df09290a51c9d469c667
[ "MIT" ]
53
2019-11-10T13:46:46.000Z
2022-02-04T17:20:15.000Z
src/llvm-backend/deserialise_ir/deserialise_protobuf.cc
paulocoghi/bolt
a81627f95af6577cd465df09290a51c9d469c667
[ "MIT" ]
33
2020-05-09T00:35:53.000Z
2022-03-14T21:10:25.000Z
#include "src/llvm-backend/deserialise_ir/deserialise_protobuf.h" #include <stdlib.h> #include <fstream> #include <string> #include "src/llvm-backend/deserialise_ir/program_ir.h" Frontend_ir::program deserialiseProtobufFile(std::string &filePath) { Frontend_ir::program program; std::fstream fileIn(filePath, std...
28.88
79
0.750693
paulocoghi
695086470a997d5e73f6aedb43fa5aa013ba8cee
101
cpp
C++
Ping/graph.cpp
siddhantkhandelwal/Hello-world
fc08cc3aef52992cbec0d76dd4572d6cd69bbc93
[ "MIT" ]
null
null
null
Ping/graph.cpp
siddhantkhandelwal/Hello-world
fc08cc3aef52992cbec0d76dd4572d6cd69bbc93
[ "MIT" ]
null
null
null
Ping/graph.cpp
siddhantkhandelwal/Hello-world
fc08cc3aef52992cbec0d76dd4572d6cd69bbc93
[ "MIT" ]
null
null
null
#include<iostream> #include<graphics.h> void main() { line (0,0,1280,800); getch(); }
12.625
25
0.564356
siddhantkhandelwal
6950d8a7fd4013470461beebe950ad6ae8d08514
4,026
cpp
C++
gui/dialogs/HoughTransformDialog.cpp
frooms/stira
60b419f3e478397a8ab43ce9315a259567d94a26
[ "MIT" ]
8
2016-03-23T08:12:33.000Z
2022-01-25T14:07:03.000Z
gui/dialogs/HoughTransformDialog.cpp
frooms/stira
60b419f3e478397a8ab43ce9315a259567d94a26
[ "MIT" ]
null
null
null
gui/dialogs/HoughTransformDialog.cpp
frooms/stira
60b419f3e478397a8ab43ce9315a259567d94a26
[ "MIT" ]
8
2015-06-29T12:00:06.000Z
2019-09-03T12:40:47.000Z
/*********************************************************************************** * Copyright (C) 2016 by Filip Rooms * * * * Terms and conditions for using this software in any form are ...
38.342857
85
0.575261
frooms
6953a5d4532d05fe2bcc4a139c77b69f7dcf9693
1,970
cpp
C++
Data/Note.cpp
zmeyc/notetrainer
0c046d7db5402a84a1085a51bd4e9b9eac5d4adf
[ "MIT" ]
3
2016-04-06T16:57:48.000Z
2019-01-01T08:51:07.000Z
Data/Note.cpp
zmeyc/notetrainer
0c046d7db5402a84a1085a51bd4e9b9eac5d4adf
[ "MIT" ]
3
2016-03-14T19:43:25.000Z
2021-11-24T03:52:18.000Z
Data/Note.cpp
zmeyc/notetrainer
0c046d7db5402a84a1085a51bd4e9b9eac5d4adf
[ "MIT" ]
null
null
null
// NoteTrainer (c) 2016 Andrey Fidrya. MIT license. See LICENSE for more information. #include <QHash> #include "Note.h" #include "Utils/Utils.h" Note::Note(Note::Pitch pitch, int octave) : pitch_(pitch) , octave_(octave) { } Note Note::noteFromKey(int key) { Note note; note.setPitch((Note::Pitch)(k...
18.942308
95
0.598985
zmeyc
6955d1915628874359f1f8f2a24da84badaaab04
2,559
cpp
C++
March Challenge 2020 Division 2/Ada Bishop 2.cpp
geekcodershivam/CodeChef-Solution
7b92a18c3dfbb76c58f4e4b974a0b93b3a43e16d
[ "MIT" ]
1
2020-03-12T14:30:37.000Z
2020-03-12T14:30:37.000Z
March Challenge 2020 Division 2/Ada Bishop 2.cpp
geekcodershivam/CodeChef-Solution
7b92a18c3dfbb76c58f4e4b974a0b93b3a43e16d
[ "MIT" ]
null
null
null
March Challenge 2020 Division 2/Ada Bishop 2.cpp
geekcodershivam/CodeChef-Solution
7b92a18c3dfbb76c58f4e4b974a0b93b3a43e16d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define mod 1000000007 #define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); #define endl "\n" typedef long long int ll; void printBoard(ll r, ll c){ ll row = 2, col = 2; ll count = 0; while(row != 2 || col != 8){ ...
26.65625
79
0.309887
geekcodershivam
695a1808469b0a3ec21c8b35c1a495357d2f34e8
5,319
cpp
C++
Engine/Src/SFEngineDLL/Java/JniConnection.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
1
2020-06-20T07:35:25.000Z
2020-06-20T07:35:25.000Z
Engine/Src/SFEngineDLL/Java/JniConnection.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
Engine/Src/SFEngineDLL/Java/JniConnection.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // CopyRight (c) 2016 StormForge // // Author : KyungKun Ko // // Description : Connection // // //////////////////////////////////////////////////////////////////////////////// #include "SFEngineDLLPCH.h" #if SF_PLA...
30.745665
168
0.690167
blue3k
695fd35921fd6c3f13fa42f39e9a96fe239e1214
979
hpp
C++
test/test_utils/read_orlib_sc.hpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/test_utils/read_orlib_sc.hpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/test_utils/read_orlib_sc.hpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
1
2021-02-24T06:23:56.000Z
2021-02-24T06:23:56.000Z
/** * @file read_orlib_sc.hpp * @brief * @author Piotr Smulewicz * @version 1.0 * @date 2013-08-01 */ #ifndef PAAL_READ_ORLIB_SC_HPP #define PAAL_READ_ORLIB_SC_HPP #include <boost/range/irange.hpp> #include <cassert> #include <vector> #include <utility> #include <istream> namespace paal { inline std::pair<st...
21.282609
58
0.629213
Kommeren
69608d372051022abd4a6f04b4893c4da5b81328
2,346
cpp
C++
VisualStudio/LoaderXML/Source/LoaderXML.cpp
L0mion/Makes-a-Click
c7f53a53ea3a58da027ea5f00176352edb914718
[ "MIT" ]
1
2016-04-28T06:24:15.000Z
2016-04-28T06:24:15.000Z
VisualStudio/LoaderXML/Source/LoaderXML.cpp
L0mion/Makes-a-Click
c7f53a53ea3a58da027ea5f00176352edb914718
[ "MIT" ]
null
null
null
VisualStudio/LoaderXML/Source/LoaderXML.cpp
L0mion/Makes-a-Click
c7f53a53ea3a58da027ea5f00176352edb914718
[ "MIT" ]
null
null
null
#include <rapidxml.hpp> //Parser_XML #include <ParserXML.h> #include <DocXML.h> //Util #include <Util.h> #include "WinDetective.h" #include "InterpreterXML.h" #include "LoaderXML.h" namespace Loader_XML { LoaderXML::LoaderXML( std::wstring p_filePathToSearch, std::wstring p_fileEnding, bool p_recursiveSea...
23.69697
104
0.702472
L0mion
69651d5deaa13d9e7c750a2286cdf94ef8c831fe
815
cpp
C++
Pointers/addressofArrayPointer.cpp
anjali9811/Programming-in-Cpp
02e80e045a7fb20f8970fcdae68c08bdf27f95b8
[ "Apache-2.0" ]
null
null
null
Pointers/addressofArrayPointer.cpp
anjali9811/Programming-in-Cpp
02e80e045a7fb20f8970fcdae68c08bdf27f95b8
[ "Apache-2.0" ]
null
null
null
Pointers/addressofArrayPointer.cpp
anjali9811/Programming-in-Cpp
02e80e045a7fb20f8970fcdae68c08bdf27f95b8
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<math.h> using namespace std; int main() { int arr[5],*ptr; cout<<*&arr<<endl; //address of first element in array cout<<&arr<<endl;//address of first element in array cout<<arr<<endl;//address of first element in array cout<<"&arr + 1 = "<<&arr+1<<endl; // address of complete ...
23.285714
112
0.634356
anjali9811
696d9a2dd9f2039f5b480f24bc6645c4080c25a1
2,211
cxx
C++
src/medVtkInria/HWShading/vtkShaderBase.cxx
lcatanes/medInria-public
5d79ce0085c11f2fb9277a06c8cf56b4258a9d9f
[ "BSD-4-Clause" ]
1
2020-11-16T13:55:45.000Z
2020-11-16T13:55:45.000Z
src/medVtkInria/HWShading/vtkShaderBase.cxx
lcatanes/medInria-public
5d79ce0085c11f2fb9277a06c8cf56b4258a9d9f
[ "BSD-4-Clause" ]
null
null
null
src/medVtkInria/HWShading/vtkShaderBase.cxx
lcatanes/medInria-public
5d79ce0085c11f2fb9277a06c8cf56b4258a9d9f
[ "BSD-4-Clause" ]
null
null
null
/*============================================================================ The Hardware Shading (HWShading) module is protected by the following copyright: Copyright (c) 2007 Biomedical Image Analysis (BMIA) - Department of Biomedical Engineering - Eindhoven University of Technology. All rights reserved. See Copyr...
31.585714
79
0.688829
lcatanes
696ed7ad189132c831d377c6f430971f393f683c
2,853
hpp
C++
tests/test1/myWorld.hpp
EEnginE/engine
9d8fe2c8a3051b8d25a15debdf058ac900f6a7fc
[ "Apache-2.0" ]
28
2015-01-02T19:06:37.000Z
2018-11-23T11:34:17.000Z
tests/test1/myWorld.hpp
EEnginE/engine
9d8fe2c8a3051b8d25a15debdf058ac900f6a7fc
[ "Apache-2.0" ]
null
null
null
tests/test1/myWorld.hpp
EEnginE/engine
9d8fe2c8a3051b8d25a15debdf058ac900f6a7fc
[ "Apache-2.0" ]
6
2015-01-10T16:48:14.000Z
2019-10-08T13:43:44.000Z
/*! * \file myWorld.hpp * \brief Class myWorld */ /* * Copyright (C) 2015 EEnginE project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-...
27.171429
119
0.702419
EEnginE
69714ea0ce2ea304626ebf9ec61861a22c1618a6
103
cpp
C++
Homework (20.05.21)/exercise3.cpp
Sadik326-ctrl/computer_programming
cbae264ffa04fc487008fa6a0a32e0a1a316e01e
[ "MIT" ]
null
null
null
Homework (20.05.21)/exercise3.cpp
Sadik326-ctrl/computer_programming
cbae264ffa04fc487008fa6a0a32e0a1a316e01e
[ "MIT" ]
null
null
null
Homework (20.05.21)/exercise3.cpp
Sadik326-ctrl/computer_programming
cbae264ffa04fc487008fa6a0a32e0a1a316e01e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { string x("3"); cout<<x; return 0; }
10.3
20
0.572816
Sadik326-ctrl
69728056a9d58ee7466f5bc0abd2a3e677ba214a
10,399
cpp
C++
hardware_layer/hardware_arduino/firmware/arduino_node.cpp
kaushikiagarwal/Anahita
bb41052d895622a32a0f55cf3a750aec92669661
[ "BSD-3-Clause" ]
null
null
null
hardware_layer/hardware_arduino/firmware/arduino_node.cpp
kaushikiagarwal/Anahita
bb41052d895622a32a0f55cf3a750aec92669661
[ "BSD-3-Clause" ]
null
null
null
hardware_layer/hardware_arduino/firmware/arduino_node.cpp
kaushikiagarwal/Anahita
bb41052d895622a32a0f55cf3a750aec92669661
[ "BSD-3-Clause" ]
null
null
null
#include <Arduino.h> #include <Wire.h> #include <Servo.h> #include <ros.h> #include <ros/time.h> #include <std_msgs/Int32.h> #include <std_msgs/Float32.h> #include <std_msgs/Bool.h> // #include <anahita_msgs/Depth.h> // #include <anahita_msgs/Pressure.h> #include <anahita_msgs/Thrust.h> #include <MS5837.h> #define MD...
28.105405
100
0.690836
kaushikiagarwal
697b1d75b0cf179ad511ae228aec8a17824011ad
1,592
cpp
C++
Code/Engine/Foundation/Threading/Implementation/ThreadSignal.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/Engine/Foundation/Threading/Implementation/ThreadSignal.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/Engine/Foundation/Threading/Implementation/ThreadSignal.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
#include <Foundation/FoundationPCH.h> #include <Foundation/Threading/Lock.h> #include <Foundation/Threading/ThreadSignal.h> ezThreadSignal::ezThreadSignal(Mode mode /*= Mode::AutoReset*/) { m_mode = mode; } ezThreadSignal::~ezThreadSignal() = default; void ezThreadSignal::WaitForSignal() const { EZ_LOCK(m_Condi...
19.414634
119
0.704774
Tekh-ops
69811fb63779a92b39ae7082f005674b16735ec9
2,578
hh
C++
src/AMOS/Motif_AMOS.hh
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-03-20T18:25:56.000Z
2020-06-02T22:00:08.000Z
src/AMOS/Motif_AMOS.hh
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
5
2015-05-14T17:51:20.000Z
2020-07-19T04:17:47.000Z
src/AMOS/Motif_AMOS.hh
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-05-17T16:01:23.000Z
2020-05-20T08:13:43.000Z
//////////////////////////////////////////////////////////////////////////////// //! \file //! \author Sergey Koren //! \date 04/11/11 //! //! \brief Header for Motif_t //! //////////////////////////////////////////////////////////////////////////////// #ifndef __Motif_AMOS_HH #define __Motif_AMOS_HH 1 #include "Uni...
22.224138
80
0.399147
sagrudd
6984161aed53a2f77249f1924ea703aa73b98847
810
cpp
C++
Sandbox/src/Geometry/Geometry.cpp
noidawt/AulysEngine
6e4a6482961fc27e48342d4767f2d075869b1abf
[ "MIT" ]
1
2020-09-28T10:04:02.000Z
2020-09-28T10:04:02.000Z
Sandbox/src/Geometry/Geometry.cpp
noidawt/AulysEngine
6e4a6482961fc27e48342d4767f2d075869b1abf
[ "MIT" ]
null
null
null
Sandbox/src/Geometry/Geometry.cpp
noidawt/AulysEngine
6e4a6482961fc27e48342d4767f2d075869b1abf
[ "MIT" ]
null
null
null
#include "Geometry.h" namespace App { // IMPROVEMENT: Could be constexpr if we make our own sin and cos. // Note: sadly cmath's sin and cos aren't constexpr because of some legacy things // that the library does, for example setting errno. Geometry::V getGeometry(int p, int q, int r) { auto testOne = sin(piOver...
26.129032
82
0.640741
noidawt
698416cc8d9502b69e7b414950c7292e151bf678
648
cpp
C++
nullObject/nullObject.cpp
rededx/designPatterns_modernCpp
51cfe79ceb05182f69b8a6186013134c2fd2013b
[ "MIT" ]
null
null
null
nullObject/nullObject.cpp
rededx/designPatterns_modernCpp
51cfe79ceb05182f69b8a6186013134c2fd2013b
[ "MIT" ]
null
null
null
nullObject/nullObject.cpp
rededx/designPatterns_modernCpp
51cfe79ceb05182f69b8a6186013134c2fd2013b
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <string> class AbstractObject { public: virtual std::string operation() const = 0; }; class RealObject : public AbstractObject { public: std::string operation() const override { return std::string("computed something"); } }; class NullObject : ...
20.25
70
0.669753
rededx
69897e4557b6864ff5543fb0cb14f131c0026164
7,616
cpp
C++
src/apps/M1DemoMachine/libFLNL/server.cpp
shortmr/CANOpenRobotController
61602c2d19ff1e87408152ca61b4f37df1598bfa
[ "Apache-2.0" ]
null
null
null
src/apps/M1DemoMachine/libFLNL/server.cpp
shortmr/CANOpenRobotController
61602c2d19ff1e87408152ca61b4f37df1598bfa
[ "Apache-2.0" ]
null
null
null
src/apps/M1DemoMachine/libFLNL/server.cpp
shortmr/CANOpenRobotController
61602c2d19ff1e87408152ca61b4f37df1598bfa
[ "Apache-2.0" ]
1
2021-05-04T17:19:45.000Z
2021-05-04T17:19:45.000Z
/** * \file server.cpp * \brief Network server class implementation * \author Vincent Crocher * \version 0.5 * \date March 2010 * * */ #include "server.h" /*-----------------------------------------------------------------------------------------------------------------*/ /*###################################...
32.547009
122
0.507484
shortmr
698cf0d98867eb65670eb77b6a50c468ddbb7f4e
4,033
cpp
C++
Backend/ROS/src/discovery/src/discovery.cpp
Tannz0rz/ASDR
8799fb5416db3c91551afa1b0cde3db9fc5c581c
[ "MIT" ]
null
null
null
Backend/ROS/src/discovery/src/discovery.cpp
Tannz0rz/ASDR
8799fb5416db3c91551afa1b0cde3db9fc5c581c
[ "MIT" ]
null
null
null
Backend/ROS/src/discovery/src/discovery.cpp
Tannz0rz/ASDR
8799fb5416db3c91551afa1b0cde3db9fc5c581c
[ "MIT" ]
null
null
null
#include "discovery.hpp" void Discovery::setOccupancyGrid(nav_msgs::OccupancyGrid const &occupancy_grid) { m_occupancy_grid = occupancy_grid; } void Discovery::setCell(std::tuple<uint32_t, uint32_t> const &cell) { m_cell = cell; } void Discovery::compute(std::optional<std::tuple<uint32_t, uint32_t>> &goal) {...
34.470085
105
0.521696
Tannz0rz
698e9055d4217cdcb31bfa85a77a9ff1885a332a
11,637
cpp
C++
Crazy Arcade_GIT/gameTwo.cpp
shinysong/CAU_CrazyArcade
0e96b28221f5ef12ef8aea02a090c36ad54081d1
[ "Apache-2.0" ]
null
null
null
Crazy Arcade_GIT/gameTwo.cpp
shinysong/CAU_CrazyArcade
0e96b28221f5ef12ef8aea02a090c36ad54081d1
[ "Apache-2.0" ]
null
null
null
Crazy Arcade_GIT/gameTwo.cpp
shinysong/CAU_CrazyArcade
0e96b28221f5ef12ef8aea02a090c36ad54081d1
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <bangtal> #include <cstdio> #include <time.h> #include <Windows.h> #include<cstdlib> #include<ctime> using namespace bangtal; using namespace std; extern void lobby_main(); extern int level; ObjectPtr board[12][12]; // 게임보드 ScenePtr scene; // 배경 ObjectPtr monsters[7]; // 몬스터 7마리 TimerPt...
26.447727
136
0.602475
shinysong