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
57e66d751b2c5368e8d949a32af83dfcd413720c
6,036
cpp
C++
src/gl/ground_plane.cpp
bbrrck/polyscope
73ed1dfff956c337f976e97a16025db800dec45f
[ "MIT" ]
null
null
null
src/gl/ground_plane.cpp
bbrrck/polyscope
73ed1dfff956c337f976e97a16025db800dec45f
[ "MIT" ]
null
null
null
src/gl/ground_plane.cpp
bbrrck/polyscope
73ed1dfff956c337f976e97a16025db800dec45f
[ "MIT" ]
null
null
null
// Copyright 2017-2019, Nicholas Sharp and the Polyscope contributors. http://polyscope.run. #include "polyscope/gl/ground_plane.h" #include "polyscope/gl/gl_utils.h" #include "polyscope/gl/materials/materials.h" #include "polyscope/gl/shaders/ground_plane_shaders.h" #include "polyscope/polyscope.h" #include "imgui.h...
32.106383
120
0.721173
bbrrck
57f3ccbf0f9da75f09521cd35fc38e059ad4cf86
3,279
hpp
C++
include/xg/canvas.hpp
malasiot/xg
02bdcc208f479afb448767e4d2f2764e913e5d43
[ "MIT" ]
1
2019-09-06T01:48:15.000Z
2019-09-06T01:48:15.000Z
include/xg/canvas.hpp
malasiot/xg
02bdcc208f479afb448767e4d2f2764e913e5d43
[ "MIT" ]
null
null
null
include/xg/canvas.hpp
malasiot/xg
02bdcc208f479afb448767e4d2f2764e913e5d43
[ "MIT" ]
null
null
null
#ifndef __XG_CANVAS_HPP__ #define __XG_CANVAS_HPP__ #include <memory> #include <string> #include <xg/pen.hpp> #include <xg/brush.hpp> #include <xg/font.hpp> #include <xg/xform.hpp> #include <xg/path.hpp> #include <xg/font.hpp> #include <xg/image.hpp> #include <xg/rectangle.hpp> #include <xg/glyph.hpp> #include <xg/sv...
27.788136
168
0.692894
malasiot
57f68ed073dacbe75e13961b7d41e945520dc980
9,112
cpp
C++
common/src/stream/LineReader.cpp
webOS-ports/mojomail
49358ac2878e010f5c6e3bd962f047c476c11fc3
[ "Apache-2.0" ]
6
2015-01-09T02:20:27.000Z
2021-01-02T08:14:23.000Z
mojomail/common/src/stream/LineReader.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
3
2019-05-11T19:17:56.000Z
2021-11-24T16:04:36.000Z
mojomail/common/src/stream/LineReader.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
6
2015-01-09T02:21:13.000Z
2021-01-02T02:37:10.000Z
// @@@LICENSE // // Copyright (c) 2010-2013 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
23.606218
123
0.708297
webOS-ports
57fa1f75a17747863b077d6d8ead1f755551f6de
1,406
cpp
C++
src/downloader.cpp
sheepkill15/tvtorrent
f18031414e38a192deb90adf95bfeb4aea51cfb2
[ "MIT" ]
null
null
null
src/downloader.cpp
sheepkill15/tvtorrent
f18031414e38a192deb90adf95bfeb4aea51cfb2
[ "MIT" ]
null
null
null
src/downloader.cpp
sheepkill15/tvtorrent
f18031414e38a192deb90adf95bfeb4aea51cfb2
[ "MIT" ]
null
null
null
// // Created by simon on 2021. febr. 5.. // #include "downloader.h" #include <curl/curl.h> size_t Downloader::writer(char *data, size_t size, size_t nmemb, std::string *buffer){ size_t result = 0; if(buffer != nullptr) { buffer -> append(data, size * nmemb); result = size * nmemb; } ...
36.051282
116
0.655761
sheepkill15
57fc5a093867910ee4799b4988688b7d91de3074
159
cpp
C++
deps/freeimage/freeimage_jxr_stub.cpp
blitz3d-ng/blitz3d-ng
adc829fb76e2c63612b50c725c0944b2b6b0ddaf
[ "Zlib" ]
53
2017-08-10T10:52:34.000Z
2021-12-09T18:03:30.000Z
deps/freeimage/freeimage_jxr_stub.cpp
kfprimm/blitz3d
adc829fb76e2c63612b50c725c0944b2b6b0ddaf
[ "Zlib" ]
21
2017-05-03T20:28:28.000Z
2022-03-25T12:11:00.000Z
deps/freeimage/freeimage_jxr_stub.cpp
kfprimm/blitz3d
adc829fb76e2c63612b50c725c0944b2b6b0ddaf
[ "Zlib" ]
8
2017-04-23T02:09:24.000Z
2022-02-01T21:17:27.000Z
// FIXME: This file exists because the FreeImage JXR plugin will only compile // with MSVC #include <FreeImage.h> void InitJXR( Plugin* a, int b ){ }
19.875
77
0.685535
blitz3d-ng
520342b88f988a4a36b3b33981dd7e499af6f344
3,204
hpp
C++
Source/Template/kSimpleOperators.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Template/kSimpleOperators.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Template/kSimpleOperators.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../HelperMacros.hpp" #include <type_traits> namespace klib { namespace kTemplate { template<typename T> struct SimpleComparisonOperators { template<typename U, class = std::enable_if_t< !std::is_same_v<T, U> >> USE_RESULT friend constexpr bool operator==(const T& obj, co...
27.62069
111
0.656055
KingKiller100
5205aafb5d6c97f59d20449520b9ec154a7cc771
6,422
cpp
C++
src/SolARDescriptorMatcherHammingBruteForceOpencv.cpp
ThibaudM/SolARModuleOpenCV
8898694a429abb4b3a227b2463aef5a0b6aa5c07
[ "Apache-2.0" ]
3
2019-04-16T16:40:35.000Z
2021-02-26T10:28:36.000Z
src/SolARDescriptorMatcherHammingBruteForceOpencv.cpp
ThibaudM/SolARModuleOpenCV
8898694a429abb4b3a227b2463aef5a0b6aa5c07
[ "Apache-2.0" ]
7
2018-04-13T14:31:55.000Z
2021-06-30T14:49:26.000Z
src/SolARDescriptorMatcherHammingBruteForceOpencv.cpp
ThibaudM/SolARModuleOpenCV
8898694a429abb4b3a227b2463aef5a0b6aa5c07
[ "Apache-2.0" ]
4
2019-07-25T08:50:04.000Z
2021-06-14T15:40:19.000Z
/** * @copyright Copyright (c) 2017 B-com http://www.b-com.com/ * * 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...
38.686747
174
0.733728
ThibaudM
5209b7a474f5c14a0e009fa82598e06448c8a9e5
14,265
cxx
C++
EVE/oldStuff/AliEveHF.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
EVE/oldStuff/AliEveHF.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
EVE/oldStuff/AliEveHF.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
// $Id$ // Main author: Davide Caffarri 2009 /************************************************************************** * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * * ee http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * * full copyright notice. ...
26.222426
131
0.664774
AllaMaevskaya
64958c32c03c34bf93abc5bef9d52109f8caa1ef
845
hpp
C++
ket/include/ket/mpi/page/any_on_page.hpp
naoki-yoshioka/bracket
6eff40e6ee5768744974e9d79bf6ff892bd67390
[ "MIT" ]
2
2021-02-26T21:50:37.000Z
2022-01-26T07:35:14.000Z
ket/include/ket/mpi/page/any_on_page.hpp
naoki-yoshioka/braket
d4fbf1b19691e71dbc6fa62d8a66c7c61b6c4d68
[ "MIT" ]
50
2018-06-05T12:23:57.000Z
2022-03-05T15:04:30.000Z
ket/include/ket/mpi/page/any_on_page.hpp
naoki-yoshioka/bracket
6eff40e6ee5768744974e9d79bf6ff892bd67390
[ "MIT" ]
null
null
null
#ifndef KET_MPI_PAGE_ANY_ON_PAGE_HPP # define KET_MPI_PAGE_ANY_ON_PAGE_HPP # include <ket/mpi/page/is_on_page.hpp> namespace ket { namespace mpi { namespace page { template <typename LocalState> inline constexpr bool any_on_page(LocalState const& local_state) { return false; } te...
28.166667
123
0.715976
naoki-yoshioka
64989500405cb91a710918ffa2f56df984243142
8,066
cpp
C++
test/unit-test/src/test-ipt-004.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2020-03-03T12:40:29.000Z
2021-05-06T06:20:19.000Z
test/unit-test/src/test-ipt-004.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
7
2020-01-14T20:38:04.000Z
2021-05-17T09:52:07.000Z
test/unit-test/src/test-ipt-004.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2019-11-09T09:14:48.000Z
2020-03-03T12:40:30.000Z
/* * The MIT License (MIT) * * Copyright (c) 2019 Sylko Olzscher * */ #include "test-ipt-004.h" #include <iostream> #include <fstream> #include <boost/test/unit_test.hpp> #include <boost/uuid/random_generator.hpp> #include <smf/sml/obis_io.h> #include <smf/ipt/bus.h> #include <smf/ipt/config.h> #include <smf/...
26.359477
168
0.643814
solosTec
649b69fefd8451b05b3a5114d7dd37f590850335
909
hpp
C++
host-bmc/dbus/board.hpp
raviteja-b/pldm
413866955ff9b3dca362d8f9c7a77cd7670f37dc
[ "Apache-2.0" ]
null
null
null
host-bmc/dbus/board.hpp
raviteja-b/pldm
413866955ff9b3dca362d8f9c7a77cd7670f37dc
[ "Apache-2.0" ]
null
null
null
host-bmc/dbus/board.hpp
raviteja-b/pldm
413866955ff9b3dca362d8f9c7a77cd7670f37dc
[ "Apache-2.0" ]
null
null
null
#pragma once #include "serialize.hpp" #include <sdbusplus/bus.hpp> #include <sdbusplus/server.hpp> #include <sdbusplus/server/object.hpp> #include <xyz/openbmc_project/Inventory/Item/Board/server.hpp> #include <string> namespace pldm { namespace dbus { using ItemBoard = sdbusplus::server::object::object< sdbusp...
22.170732
76
0.674367
raviteja-b
64a3b7b5986cc4d5f3a63b73770a4305af88bfd1
1,506
cc
C++
hetest/cpp/baseline/integer/server/unary-gate.cc
CianLevy/Modified-HEtest
4f4422bba48f269e953ca0d3863f774f66ba2247
[ "BSD-2-Clause" ]
2
2020-05-18T08:19:39.000Z
2021-06-24T13:34:28.000Z
hetest/cpp/baseline/integer/server/unary-gate.cc
CianLevy/Modified-HEtest
4f4422bba48f269e953ca0d3863f774f66ba2247
[ "BSD-2-Clause" ]
null
null
null
hetest/cpp/baseline/integer/server/unary-gate.cc
CianLevy/Modified-HEtest
4f4422bba48f269e953ca0d3863f774f66ba2247
[ "BSD-2-Clause" ]
null
null
null
//***************************************************************** // Copyright (c) 2013 Massachusetts Institute of Technology // // Developed exclusively at US Government expense under US Air Force contract // FA8721-05-C-002. The rights of the United States Government to use, modify, // reproduce, release, perform, ...
29.529412
78
0.60425
CianLevy
64a7e352dca2bb3d1d0d9ad753ba4a918146c9e8
1,946
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR/IsDefaultAttribute/CPP/defattr.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR/IsDefaultAttribute/CPP/defattr.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR/IsDefaultAttribute/CPP/defattr.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// <Snippet1> using namespace System; using namespace System::Reflection; // An enumeration of animals. Start at 1 (0 = uninitialized). public enum class Animal { // Pets. Dog = 1, Cat, Bird }; // A custom attribute to allow a target to have a pet. public ref class AnimalTypeAttribute: publi...
22.627907
138
0.626927
hamarb123
64ac43a46f3c40fffe2110b7d9ff4437d91782a4
623
cpp
C++
Child/Releases/r081211/Code/tMatrix/tMatrix.cpp
dvalters/child
9874278f5308ab6c5f0cb93ed879bca9761d24b9
[ "MIT" ]
9
2015-02-23T15:47:20.000Z
2020-05-19T23:42:05.000Z
Child/Releases/r081211/Code/tMatrix/tMatrix.cpp
dvalters/child
9874278f5308ab6c5f0cb93ed879bca9761d24b9
[ "MIT" ]
3
2020-04-21T06:12:53.000Z
2020-08-20T16:56:17.000Z
Child/Releases/r081211/Code/tMatrix/tMatrix.cpp
dvalters/child
9874278f5308ab6c5f0cb93ed879bca9761d24b9
[ "MIT" ]
12
2015-02-18T18:34:57.000Z
2020-07-12T04:04:36.000Z
/*************************************************************************/ /** ** @file tMatrix.cpp ** @brief Definition of class tMatrix. ** ** Class tMatrix implements matrices (2D arrays) as 1D arrays of tArray ** objects. The () operator is overloaded so that you can access array ** elements in the "old fashi...
34.611111
75
0.521669
dvalters
64af0e66fe0c54c255948677e3b89d9a992c1cd9
543
cpp
C++
Atom/src/Atom/Renderer/Adapter.cpp
NikiNatov/Atom
027082f32708589b9005fb2356142cdef20f453f
[ "Apache-2.0" ]
null
null
null
Atom/src/Atom/Renderer/Adapter.cpp
NikiNatov/Atom
027082f32708589b9005fb2356142cdef20f453f
[ "Apache-2.0" ]
null
null
null
Atom/src/Atom/Renderer/Adapter.cpp
NikiNatov/Atom
027082f32708589b9005fb2356142cdef20f453f
[ "Apache-2.0" ]
null
null
null
#include "atompch.h" #include "Adapter.h" #include "Platform/DirectX12/DX12Adapter.h" namespace Atom { // ----------------------------------------------------------------------------------------------------------------------------- Scope<Adapter> Adapter::CreateAdapter(AdapterPreference preference) { ...
27.15
132
0.488029
NikiNatov
64b5f5a8726a73dd04ba5b364103226439494dec
1,329
cpp
C++
atcoder/abc250/c.cpp
polylogarithm/cp
426cb6f6ba389ff5f492e5bc2e957aac128781b5
[ "MIT" ]
null
null
null
atcoder/abc250/c.cpp
polylogarithm/cp
426cb6f6ba389ff5f492e5bc2e957aac128781b5
[ "MIT" ]
null
null
null
atcoder/abc250/c.cpp
polylogarithm/cp
426cb6f6ba389ff5f492e5bc2e957aac128781b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define pb push_back #define all(x) (x).begin(), (x).end() #define um unordered_map #define pq priority_queue #define sz(x) ((int)(x).size()) #define fi first #define se second #define endl '\n' typedef vector<int> vi; typedef long long ll; typedef unsigned long long ull; t...
21.095238
144
0.554552
polylogarithm
64b80eaae8e9994ddca2e1d4a6d69f4a126a6d0d
7,779
cpp
C++
Renderer.cpp
CongYun2022/Lux
c47526c5b80b83ce5518164158f3702fa765bf9a
[ "MIT" ]
1
2022-03-31T03:23:06.000Z
2022-03-31T03:23:06.000Z
Renderer.cpp
CongYun2022/Lux
c47526c5b80b83ce5518164158f3702fa765bf9a
[ "MIT" ]
null
null
null
Renderer.cpp
CongYun2022/Lux
c47526c5b80b83ce5518164158f3702fa765bf9a
[ "MIT" ]
null
null
null
#include "Renderer.h" #include "Texture.h" #include "Mesh.h" #include <algorithm> #include "Shader.h" #include "VertexArray.h" #include "CSprite.h" #include "CMesh.h" #include "UIScreen.h" #include "Game.h" #include <GL/glew.h> Renderer::Renderer(Game* game) :mGame(game) ,mSpriteShader(nullptr) ,mMeshShader(nullptr...
22.879412
86
0.712045
CongYun2022
64c12f65e45fcab924b5cb4c595163e0ae8b5009
2,294
cpp
C++
matslise/pyslise/pyscs.cpp
twist-numerical/matslise
ccce2bd3359963cfdd4b9686cb7b263754e77e7e
[ "MIT" ]
4
2020-08-27T10:10:08.000Z
2020-09-03T14:06:16.000Z
matslise/pyslise/pyscs.cpp
twist-numerical/matslise
ccce2bd3359963cfdd4b9686cb7b263754e77e7e
[ "MIT" ]
7
2019-12-16T09:37:59.000Z
2020-12-01T15:03:00.000Z
matslise/pyslise/pyscs.cpp
twist-numerical/matslise
ccce2bd3359963cfdd4b9686cb7b263754e77e7e
[ "MIT" ]
1
2020-08-27T14:02:25.000Z
2020-08-27T14:02:25.000Z
#include "module.h" void pyscs(py::module &m) { py::class_<Matscs<>::Sector>(m, "PyscsSector") .def_readonly("min", &Matscs<>::Sector::min) .def_readonly("max", &Matscs<>::Sector::max) .def_property_readonly("forward", [](const Matscs<>::Sector &s) -> bool { retu...
55.95122
103
0.470793
twist-numerical
64c15097ad162e102a944ecc02428932324d4c03
7,856
cpp
C++
Code/src/engine/utils/json/JSONLoader.cpp
Thraix/MasterThesis
4e4cb94b2a4ee261b2b9974aa4b20f6643eb6595
[ "MIT" ]
1
2021-04-16T10:54:38.000Z
2021-04-16T10:54:38.000Z
Code/src/engine/utils/json/JSONLoader.cpp
Thraix/MasterThesis
4e4cb94b2a4ee261b2b9974aa4b20f6643eb6595
[ "MIT" ]
null
null
null
Code/src/engine/utils/json/JSONLoader.cpp
Thraix/MasterThesis
4e4cb94b2a4ee261b2b9974aa4b20f6643eb6595
[ "MIT" ]
null
null
null
#include "JSONLoader.h" #include <utils/FileUtils.h> #include <utils/StringUtils.h> namespace Greet { JSONObject JSONLoader::LoadJSON(const std::string& filename) { std::string file = FileUtils::read_file(filename.c_str()); uint currentPos = file.find("{"); while (IsIndent(file, currentPos)); JSO...
24.47352
164
0.519603
Thraix
64c6116ad0942dcebab1d0a14519d80b071728ce
1,471
cpp
C++
main.cpp
lcarranco/compprog-sock_merchant
4c950d2191ce767e278f41d18969506029499793
[ "MIT" ]
null
null
null
main.cpp
lcarranco/compprog-sock_merchant
4c950d2191ce767e278f41d18969506029499793
[ "MIT" ]
null
null
null
main.cpp
lcarranco/compprog-sock_merchant
4c950d2191ce767e278f41d18969506029499793
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <array> using namespace std; vector<int> read_ints(int n) { vector<int> ints; int value = 0; for (int i = 0; i < n; ++i) { cin >> value; ints.push_back(value); // cout << ints[i] << ' '; } return ints; } int main() { int n...
23.725806
82
0.450714
lcarranco
64ccc196ce9411ba17c10141ce1fa1cd40786877
530
cpp
C++
leetcode/cpp/155.cpp
xpharry/leetcode_and_lintcode_battle
a06d966ad45bdbed6dda51cf0b480592fc4000d6
[ "MIT" ]
null
null
null
leetcode/cpp/155.cpp
xpharry/leetcode_and_lintcode_battle
a06d966ad45bdbed6dda51cf0b480592fc4000d6
[ "MIT" ]
null
null
null
leetcode/cpp/155.cpp
xpharry/leetcode_and_lintcode_battle
a06d966ad45bdbed6dda51cf0b480592fc4000d6
[ "MIT" ]
2
2020-09-29T21:59:43.000Z
2021-06-22T13:24:04.000Z
/* * Stack, Design * */ class MinStack { public: /** initialize your data structure here. */ MinStack() { } void push(int x) { st.push(x); if(min_st.empty() || x <= min_st.top()) min_st.push(x); } void pop() { if(st.top() == min_st.top()) min_st.pop(...
13.589744
63
0.449057
xpharry
64ce40c61a066bc9cf8666d940ff5cdabd7fd7a6
904
hpp
C++
src/devices/effects/overdrive.hpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
1
2021-12-23T21:14:37.000Z
2021-12-23T21:14:37.000Z
src/devices/effects/overdrive.hpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
src/devices/effects/overdrive.hpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
#ifndef DEVICES__EFFECTS__OVERDRIVE_HPP #define DEVICES__EFFECTS__OVERDRIVE_HPP #include "../effect_device.hpp" #include "../../utils.hpp" namespace Devices { namespace Effects { class Overdrive : public EffectDevice { public: Overdrive(int gain = 50, int volume = 100) : EffectDevice("Overdrive") { ...
19.652174
71
0.610619
aalin
64cee350594afc7f75b8ffe554095872a167b597
928
cpp
C++
solutions/917-E-Reverse-Only-Letters/main.cpp
ARW2705/leet-code-solutions
fa551e5b15f5340e5be3b832db39638bcbf0dc78
[ "MIT" ]
null
null
null
solutions/917-E-Reverse-Only-Letters/main.cpp
ARW2705/leet-code-solutions
fa551e5b15f5340e5be3b832db39638bcbf0dc78
[ "MIT" ]
null
null
null
solutions/917-E-Reverse-Only-Letters/main.cpp
ARW2705/leet-code-solutions
fa551e5b15f5340e5be3b832db39638bcbf0dc78
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "../../utilities/print-success.cpp" std::string reverseOnlyLetters(std::string s) { int leftIndex = 0; int rightIndex = s.size() - 1; while (leftIndex < rightIndex) { if (std::isalpha(s[leftIndex]) && std::isalpha(s[rightIndex])) { std::swap(s[leftIndex],...
23.794872
76
0.622845
ARW2705
64d3a378d0f02c2e5f93c223c7e02e6ad4be54df
3,030
cpp
C++
FCollada/FCDocument/FCDPhysicsRigidBodyInstance.cpp
matthewlai/fcollada
d02e475d45e01a33c2c588a4a62a3ac0d70ef9e0
[ "MIT" ]
9
2016-04-22T05:47:37.000Z
2021-03-02T08:58:56.000Z
FCollada/FCDocument/FCDPhysicsRigidBodyInstance.cpp
matthewlai/fcollada
d02e475d45e01a33c2c588a4a62a3ac0d70ef9e0
[ "MIT" ]
5
2018-12-17T13:49:54.000Z
2021-11-26T17:22:16.000Z
FCollada/FCDocument/FCDPhysicsRigidBodyInstance.cpp
matthewlai/fcollada
d02e475d45e01a33c2c588a4a62a3ac0d70ef9e0
[ "MIT" ]
5
2018-06-26T19:42:58.000Z
2021-10-11T13:03:31.000Z
/* Copyright (C) 2005-2007 Feeling Software Inc. Portions of the code are: Copyright (C) 2005-2007 Sony Computer Entertainment America MIT License: http://www.opensource.org/licenses/mit-license.php */ #include "StdAfx.h" #include "FCDocument/FCDocument.h" #include "FCDocument/FCDPhysicsModel.h" #include "FCDocum...
36.071429
163
0.808581
matthewlai
64db4c4e2be0c0ad74b299955092f9a1b170974e
278
cpp
C++
edf/laplacialtest.cpp
tuzhuzi/Z-stacking
51503aa911af9a833806961cf621ded2f2c0de2c
[ "MIT" ]
null
null
null
edf/laplacialtest.cpp
tuzhuzi/Z-stacking
51503aa911af9a833806961cf621ded2f2c0de2c
[ "MIT" ]
null
null
null
edf/laplacialtest.cpp
tuzhuzi/Z-stacking
51503aa911af9a833806961cf621ded2f2c0de2c
[ "MIT" ]
null
null
null
#include"stdafx.h" #include<opencv2\opencv.hpp>; #include<iostream> using namespace cv; int thunder() { Mat dst; Mat src = imread("lena.jpg", 0); Laplacian(src, dst, CV_16S, 3); convertScaleAbs(dst, dst); dst = src - dst; imshow("jieguo", dst); waitKey(); return 0; }
17.375
33
0.665468
tuzhuzi
64db6a26ce8436b9b05a7eace8096d1486cecab4
2,305
cpp
C++
src/ui/dumbttyelementdelegate.cpp
lawarner/aft
fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603
[ "Apache-2.0" ]
null
null
null
src/ui/dumbttyelementdelegate.cpp
lawarner/aft
fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603
[ "Apache-2.0" ]
null
null
null
src/ui/dumbttyelementdelegate.cpp
lawarner/aft
fd2b6b97bedd2be3ccb1739b890aeea6aa2f9603
[ "Apache-2.0" ]
null
null
null
// // dumbttyelementdelegate.cpp // libaft // // Copyright © 2017 Andy Warner. All rights reserved. // #include "dumbttyelementdelegate.h" #include <iostream> #include <sstream> #include "element.h" #include "elementdelegate.h" using namespace aft::ui; using namespace std; DumbTtyElementDelegate::DumbTtyElementDe...
25.054348
84
0.654664
lawarner
64e06118e32b9705fd88f67857644ecbe95702eb
583
hpp
C++
PolyEngine/Core/Src/CorePCH.hpp
MuniuDev/PolyEngine
9389537e4f551fa5dd621ebd3704e55b04c98792
[ "MIT" ]
1
2017-04-30T13:55:54.000Z
2017-04-30T13:55:54.000Z
PolyEngine/Core/Src/CorePCH.hpp
MuniuDev/PolyEngine
9389537e4f551fa5dd621ebd3704e55b04c98792
[ "MIT" ]
null
null
null
PolyEngine/Core/Src/CorePCH.hpp
MuniuDev/PolyEngine
9389537e4f551fa5dd621ebd3704e55b04c98792
[ "MIT" ]
3
2017-11-22T16:37:26.000Z
2019-04-24T17:47:58.000Z
#pragma once #include "Defines.hpp" // Math #include "BasicMath.hpp" #include "Angle.hpp" #include "Vector.hpp" #include "Matrix.hpp" #include "Quaternion.hpp" #include "SimdMath.hpp" // Geometry #include "AABox.hpp" // Memory #include "BaseObject.hpp" #include "Allocator.hpp" #include "PoolAllocator.hpp" #include ...
17.666667
36
0.735849
MuniuDev
64e31bdd8759936557a9149d88e6b378bf4a6108
74,960
cpp
C++
src/studiorender/r_studiodecal.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/studiorender/r_studiodecal.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/studiorender/r_studiodecal.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //===========================================================================// #include "studiorender.h" #include "studiorendercontext.h" #include "materialsystem/imaterialsystem.h" #include "materialsystem/imaterialsyste...
40.717002
131
0.590101
cstom4994
64ea1f17ad58d5d16e49448508e5b6f592599e6b
1,256
cpp
C++
src/gltf/properties/AccessorData.cpp
SVRF/FBX2glTF
f672bc8b0f99f643b548699ce91303d6c972d14f
[ "BSD-3-Clause" ]
1
2021-05-01T02:54:10.000Z
2021-05-01T02:54:10.000Z
src/gltf/properties/AccessorData.cpp
gwihlidal/FBX2glTF
dfbaac737082539d8c32429f50db2dbdd80def0f
[ "BSD-3-Clause" ]
null
null
null
src/gltf/properties/AccessorData.cpp
gwihlidal/FBX2glTF
dfbaac737082539d8c32429f50db2dbdd80def0f
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include "...
23.259259
91
0.599522
SVRF
64ea26eda0dd907c493210214383c90bd03c8d78
2,219
hpp
C++
src/allegro/event.hpp
FilippoLeon/ProjectDarwin
fa90059f084f2bf419c5f09bfd45c008231cb806
[ "Apache-2.0" ]
null
null
null
src/allegro/event.hpp
FilippoLeon/ProjectDarwin
fa90059f084f2bf419c5f09bfd45c008231cb806
[ "Apache-2.0" ]
null
null
null
src/allegro/event.hpp
FilippoLeon/ProjectDarwin
fa90059f084f2bf419c5f09bfd45c008231cb806
[ "Apache-2.0" ]
null
null
null
// // Copyright 2017 Filippo Leonardi // // 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 la...
23.606383
76
0.634971
FilippoLeon
64eaac09196bd91e43dfbcb8824e9ea14964b2aa
1,284
cpp
C++
Raspi-c/src/main.cpp
hex-plex/Light-Gun.apk
1187b2504bab33a646e93e0ae8ad16489f2b4e7a
[ "MIT" ]
3
2020-08-15T11:22:53.000Z
2021-02-27T13:09:27.000Z
Raspi-c/src/main.cpp
hex-plex/Light-Gun.apk
1187b2504bab33a646e93e0ae8ad16489f2b4e7a
[ "MIT" ]
null
null
null
Raspi-c/src/main.cpp
hex-plex/Light-Gun.apk
1187b2504bab33a646e93e0ae8ad16489f2b4e7a
[ "MIT" ]
1
2020-06-24T18:04:36.000Z
2020-06-24T18:04:36.000Z
#include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <iostream> #include <fstream> #include <string> #include <stdio.h> #include <unistd.h> #include <sys/socket.h> #include <thread> #include <chrono> #include <bluetooth/bluetooth.h> #include <bluetooth/rfcomm.h> #include <LightGun/actionServer.h> #in...
27.319149
103
0.662773
hex-plex
64ec079bea5ed3afb3f4f4d1d24b716329bb8aa8
1,579
cc
C++
build/ARM/sim/probe/Probe.py.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/sim/probe/Probe.py.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/sim/probe/Probe.py.cc
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_objects_Probe[] = { 120,156,165,144,77,79,195,48,12,134,157,174,235,62,196,1, 193,31,224,88,16,90,79,187,161,9,113,230,75,29,23,122, 169,178,214,172,157,154,182,74,130,180,157,199,255,6,59,217, 24,119,210,246,173,109,57,126,159,164,128,195,26,20...
41.552632
66
0.667511
Jakgn
64ef5cfea1da5076e057b039b3d26a18a87beb9b
1,367
cpp
C++
examples/bytestring-find.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/bytestring-find.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/bytestring-find.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
#include <rudiments/bytestring.h> #include <rudiments/stdio.h> int main(int argc, const char **argv) { // initialize buffer unsigned char buffer[]={0,2,0,2,0,2,0}; stdoutput.write("buffer : "); stdoutput.safePrint(buffer,sizeof(buffer)); stdoutput.write("\n\n"); // find first and last 0 unsigned char *first...
27.897959
66
0.710315
davidwed
64efb288935cf06eca3acaf20c3d67bb2940a2e8
5,729
cpp
C++
OSkernel/abstract-machine/apps/fceux/src/input.cpp
vocaltract/ProjectsDemonstration
5930ea2bd225d1e04a5bdb056d0f1c0744a6fe8c
[ "BSD-3-Clause" ]
null
null
null
OSkernel/abstract-machine/apps/fceux/src/input.cpp
vocaltract/ProjectsDemonstration
5930ea2bd225d1e04a5bdb056d0f1c0744a6fe8c
[ "BSD-3-Clause" ]
null
null
null
OSkernel/abstract-machine/apps/fceux/src/input.cpp
vocaltract/ProjectsDemonstration
5930ea2bd225d1e04a5bdb056d0f1c0744a6fe8c
[ "BSD-3-Clause" ]
null
null
null
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 1998 BERO * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version...
23.576132
165
0.681445
vocaltract
64f11a2d6feb2dfa4a821302af27f726f77dcd8d
13,841
cpp
C++
test/integration/resultset.cpp
sehe/mysql
53da045c2c2c0f347ccd82888920d39d11f3f7a4
[ "BSL-1.0" ]
1
2021-03-07T20:45:35.000Z
2021-03-07T20:45:35.000Z
test/integration/resultset.cpp
sehe/mysql
53da045c2c2c0f347ccd82888920d39d11f3f7a4
[ "BSL-1.0" ]
null
null
null
test/integration/resultset.cpp
sehe/mysql
53da045c2c2c0f347ccd82888920d39d11f3f7a4
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "boost/mysql/resultset.hpp" #include "boost/mysql/row.hpp" #include ...
29.958874
102
0.677769
sehe
64f9b7eec868f0e729131aadc4a971e25e8d49c4
333
cpp
C++
Array/Largest Element.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
8
2021-02-14T13:13:27.000Z
2022-01-08T23:58:32.000Z
Array/Largest Element.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
17
2021-02-28T17:03:50.000Z
2021-10-19T13:02:03.000Z
Array/Largest Element.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
15
2021-03-01T03:54:29.000Z
2021-10-19T18:29:00.000Z
#include<iostream> using namespace std; int largest_number(int arr[], int n){ int res= 0; for(int i=1;i<n;i++){ if(arr[i]>arr[res]) res = i; } return res; } int main(){ int arr[]={71,42,13,4,95}; int n = sizeof(arr)/sizeof(arr[0]); cout<<largest_number(arr, n); ...
15.136364
39
0.528529
shouryagupta21
8f00df19c6830a4f6904ff89cdfac2e580f06a98
13,897
cpp
C++
Generic Camera Server/MediaSource.cpp
widyo-wicaksono/cameraserver
8634b5fa8dadf85313a54d9551ff9cb21b98112b
[ "MIT" ]
null
null
null
Generic Camera Server/MediaSource.cpp
widyo-wicaksono/cameraserver
8634b5fa8dadf85313a54d9551ff9cb21b98112b
[ "MIT" ]
null
null
null
Generic Camera Server/MediaSource.cpp
widyo-wicaksono/cameraserver
8634b5fa8dadf85313a54d9551ff9cb21b98112b
[ "MIT" ]
null
null
null
#include "pch.h" #include "MediaSource.h" #include "GeneralUtils.h" #ifdef _WIN32 //#include "CanonCamUtil.h" #endif CBaseMediaSource::CBaseMediaSource(std::shared_ptr<CLogManager> log) { m_pLog = log; m_error_code.store(ERR_NONE); m_error_count.store(0); } CBaseMediaSource::CBaseMediaSource(std::shared_ptr<CLo...
28.188641
185
0.701446
widyo-wicaksono
8f0262da116a72ff0fdfd38bf5d7123b598e1dac
13,361
hpp
C++
blRoiReverseIterator.hpp
navyenzo/blBufferLIB
6aa7a023a8bda85459f43ecf05e291b8487b26be
[ "MIT" ]
2
2017-10-20T15:00:20.000Z
2020-07-24T06:30:18.000Z
blRoiReverseIterator.hpp
navyenzo/blBufferLIB
6aa7a023a8bda85459f43ecf05e291b8487b26be
[ "MIT" ]
null
null
null
blRoiReverseIterator.hpp
navyenzo/blBufferLIB
6aa7a023a8bda85459f43ecf05e291b8487b26be
[ "MIT" ]
null
null
null
#ifndef BL_ROIREVERSEITERATOR_HPP #define BL_ROIREVERSEITERATOR_HPP //------------------------------------------------------------------- // FILE: blRoiReverseIterator.hpp // CLASS: blRoiReverseIterator // BASE CLASS: blRoiIterator // // // // PURPOSE: -- Based on blRoiI...
30.228507
189
0.532819
navyenzo
8f030511dced6845ea9057e6f56d7a7104939320
869
cpp
C++
examples/caf-qt-issue-973/main.cpp
drozhkov/actor-framework
7a34d5e6f7a4facc858059bed4fcc86d0298d13e
[ "BSD-3-Clause" ]
null
null
null
examples/caf-qt-issue-973/main.cpp
drozhkov/actor-framework
7a34d5e6f7a4facc858059bed4fcc86d0298d13e
[ "BSD-3-Clause" ]
null
null
null
examples/caf-qt-issue-973/main.cpp
drozhkov/actor-framework
7a34d5e6f7a4facc858059bed4fcc86d0298d13e
[ "BSD-3-Clause" ]
null
null
null
#include "caf/all.hpp" #include "caf/io/all.hpp" CAF_PUSH_WARNINGS #include <QApplication> CAF_POP_WARNINGS #include "main_window.hpp" int caf_main(caf::actor_system& sys, const caf::actor_system_config& cfg) { auto [argc, argv] = cfg.c_args_remainder(); QApplication app{argc, argv}; app.setQuitOnLastWindowClo...
26.333333
90
0.72382
drozhkov
8f067c1f2f784467503c19ab19375b7dad2695a0
331
hpp
C++
source/ashes/renderer/GlRenderer/Enum/GlSampleCountFlag.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/GlRenderer/Enum/GlSampleCountFlag.hpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/GlRenderer/Enum/GlSampleCountFlag.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/* This file belongs to Ashes. See LICENSE file in root folder. */ #pragma once namespace ashes::gl { /** *\brief * Convertit un VkSampleCountFlagBits en VkSampleCountFlagBits. *\param[in] flags * Le VkSampleCountFlagBits. *\return * Le VkSampleCountFlagBits. */ GLsizei convert( VkSampleCountFlagBits const & ...
17.421053
63
0.734139
DragonJoker
8f07ed33b383aaea03d1b7cc264878e025ed8102
4,682
cpp
C++
examples/ex_both_coms.cpp
chip5441/mahi-fes
1941255c3b36249be85c40affc1011f6e305d30e
[ "MIT" ]
null
null
null
examples/ex_both_coms.cpp
chip5441/mahi-fes
1941255c3b36249be85c40affc1011f6e305d30e
[ "MIT" ]
null
null
null
examples/ex_both_coms.cpp
chip5441/mahi-fes
1941255c3b36249be85c40affc1011f6e305d30e
[ "MIT" ]
2
2020-12-21T09:43:35.000Z
2022-03-28T17:59:21.000Z
#include <Mahi/Fes.hpp> #include <Mahi/Util.hpp> #include <mutex> #include <thread> using namespace mahi::util; using namespace mahi::fes; // create global stop variable CTRL-C handler function ctrl_bool stop(false); bool handler(CtrlEvent event) { stop = true; return true; } int main() { // registe...
39.344538
141
0.683682
chip5441
8f09992cae5fb9b95a0e808ef582aeaeec9ce19c
1,299
cpp
C++
lintcode/wildcardmatching.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
lintcode/wildcardmatching.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
lintcode/wildcardmatching.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
class Solution { public: /** * @param s: A string * @param p: A string includes "?" and "*" * @return: A boolean */ bool isMatch(const char *s, const char *p) { // write your code here int sp=0;//record the current matching pos int pp=0;//record the p current maching...
26.510204
67
0.402617
WIZARD-CXY
8f0a7e8ef9b6817a20f2eee3579a603245efa0da
210
hpp
C++
include/g6/io/io_cpo.hpp
Garcia6l20/g6-net
c9f07034a1c035c4b4319d60631d7953d5d6244a
[ "MIT" ]
13
2021-03-18T09:05:40.000Z
2022-01-30T13:53:16.000Z
include/g6/io/io_cpo.hpp
Garcia6l20/g6-net
c9f07034a1c035c4b4319d60631d7953d5d6244a
[ "MIT" ]
2
2021-06-27T13:44:59.000Z
2021-11-02T02:55:27.000Z
include/g6/io/io_cpo.hpp
Garcia6l20/g6-net
c9f07034a1c035c4b4319d60631d7953d5d6244a
[ "MIT" ]
1
2022-03-08T03:41:07.000Z
2022-03-08T03:41:07.000Z
#ifndef G6_NET_IO_CPO_HPP_ #define G6_NET_IO_CPO_HPP_ #include <g6/utils/cpo.hpp> namespace g6::io { G6_CPO_DEF(async_write) G6_CPO_DEF(async_read) }// namespace g6::io #endif// G6_NET_IO_CPO_HPP_
15
27
0.752381
Garcia6l20
558809a0b94750dd31ef298321effa2a7ef17125
2,980
hpp
C++
Kernel/Hardware/Drivers/vga.hpp
KamalDevelopers/GevOS
bbd9d3bf149b15b9b960e54b3a4c34a4990274f1
[ "Unlicense" ]
19
2020-04-12T21:00:02.000Z
2022-02-28T03:47:11.000Z
Kernel/Hardware/Drivers/vga.hpp
KamalDevelopers/GevOS
bbd9d3bf149b15b9b960e54b3a4c34a4990274f1
[ "Unlicense" ]
7
2021-01-21T19:26:59.000Z
2021-07-04T16:39:06.000Z
Kernel/Hardware/Drivers/vga.hpp
KamalDevelopers/GevOS
bbd9d3bf149b15b9b960e54b3a4c34a4990274f1
[ "Unlicense" ]
3
2020-08-13T18:59:54.000Z
2021-06-25T17:14:43.000Z
#ifndef VGA_HPP #define VGA_HPP #include "../../Mem/mm.hpp" #include "../../tty.hpp" #include "../port.hpp" #include "LibC/stdio.hpp" #include "LibC/stdlib.hpp" #include "LibC/string.hpp" #include "LibC/types.hpp" namespace VGA16 { static uint8_t black = 0x0; static uint8_t blue = 0x1; static uint8_t green = 0x2; sta...
29.50495
94
0.709732
KamalDevelopers
558c83458312a12f2d5a386bc48ac2ec7a331815
420
cpp
C++
codes/HDU/hdu5562.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5562.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5562.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxn = 1e5 + 5; int N, W[maxn], V; int main () { int cas; scanf("%d", &cas); while (cas--) { scanf("%d%d", &N, &V); for (int i = 1; i <= N; i++) scanf("%d", &W[i]); sort(W + 1, W + 1 + N); int ans = 0; for (int i ...
15
50
0.471429
JeraKrs
558cff769e7d698dc09c39860d64714d71f81660
11,102
hpp
C++
sources/SceneGraph/spSceneCamera.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/SceneGraph/spSceneCamera.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/SceneGraph/spSceneCamera.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2020-02-15T09:17:41.000Z
2020-05-21T14:10:40.000Z
/* * Camera scene node header * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #ifndef __SP_SCENE_CAMERA_H__ #define __SP_SCENE_CAMERA_H__ #include "Base/spStandard.hpp" #include "Base/spDimension.hpp" #include "Base/...
37.761905
127
0.629977
rontrek
559942a7e7c1c8b62ce1e4e4b274ecf743633ea9
8,208
cpp
C++
src/cache.cpp
Fundament-Software/scopes
8be9c6214b90b69bb7bf2fd4e2d43b997e8663ec
[ "MIT" ]
null
null
null
src/cache.cpp
Fundament-Software/scopes
8be9c6214b90b69bb7bf2fd4e2d43b997e8663ec
[ "MIT" ]
null
null
null
src/cache.cpp
Fundament-Software/scopes
8be9c6214b90b69bb7bf2fd4e2d43b997e8663ec
[ "MIT" ]
null
null
null
/* The Scopes Compiler Infrastructure This file is distributed under the MIT License. See LICENSE.md for details. */ #include "cache.hpp" #include "hash.hpp" #include "string.hpp" #include "scopes/config.h" #include <inttypes.h> #include <limits.h> //#include <string.h> #include <sys/stat.h> #ifdef SCOPES...
26.823529
90
0.581871
Fundament-Software
559c045e5c6e7889a5082bf4ed18f3b671904e1a
2,663
cpp
C++
src/usercontrol.cpp
MiftahurRidho/tugas
cb343939d3f5731d8c1509beb90c051c63a83903
[ "Unlicense", "MS-PL" ]
87
2015-01-04T13:57:18.000Z
2022-03-21T16:07:05.000Z
src/usercontrol.cpp
MiftahurRidho/tugas
cb343939d3f5731d8c1509beb90c051c63a83903
[ "Unlicense", "MS-PL" ]
null
null
null
src/usercontrol.cpp
MiftahurRidho/tugas
cb343939d3f5731d8c1509beb90c051c63a83903
[ "Unlicense", "MS-PL" ]
60
2015-01-15T06:16:39.000Z
2022-03-31T22:23:12.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * usercontrol.cpp: * * Copyright 2007 Novell, Inc. (http://www.novell.com) * * See the LICENSE file included with the distribution for details. * */ #include <config.h> #include "usercontrol.h" #include "collection.h" #include "r...
24.657407
81
0.697334
MiftahurRidho
559d4012dcae571477a4ad67d04da9648fa9aaa8
1,695
cpp
C++
.LHP/.Lop11/.HSG/VOI2019/COMSTR/COMSTR/COMSTR.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/VOI2019/COMSTR/COMSTR/COMSTR.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/VOI2019/COMSTR/COMSTR/COMSTR.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cstdio> #include <string> #include <queue> #include <vector> #define maxN 200001 #define id2(x) (x) #define id1(x) ((x) + n2) #define maxA 27 #define A 26 #define num(c) ((c) - 'A') #define idx first #define cost second typedef long maxn; typedef int maxa; typedef st...
20.925926
71
0.523894
sxweetlollipop2912
55a2da04a82917752170903f07ecaddf2f6e4bbb
7,586
cpp
C++
src/person.cpp
dacap/defenderofnothing
8c18f8f357196e2ff3f92b219a9d24f3d4ff6a7d
[ "MIT" ]
4
2016-05-08T19:51:31.000Z
2020-05-18T22:34:29.000Z
src/person.cpp
dacap/defenderofnothing
8c18f8f357196e2ff3f92b219a9d24f3d4ff6a7d
[ "MIT" ]
null
null
null
src/person.cpp
dacap/defenderofnothing
8c18f8f357196e2ff3f92b219a9d24f3d4ff6a7d
[ "MIT" ]
null
null
null
// Defender Of Nothing // Copyright (C) 2007 by David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #include <allegro.h> #include <assert.h> #include "person.h" #include "util.h" #include "game.h" #include "gameplay.h" #include "level.h" #include "med...
21.369014
73
0.624835
dacap
55a38746ec244b2fec3b8d43fcef93ffc179b59a
1,622
hpp
C++
pure_pursuit_ros/include/pure_pursuit_ros/AdaptiveVelocityControllerRos.hpp
Idate96/se2_navigation
0fabe002742add5e4d716776b13704aa9c1aa339
[ "BSD-3-Clause" ]
null
null
null
pure_pursuit_ros/include/pure_pursuit_ros/AdaptiveVelocityControllerRos.hpp
Idate96/se2_navigation
0fabe002742add5e4d716776b13704aa9c1aa339
[ "BSD-3-Clause" ]
null
null
null
pure_pursuit_ros/include/pure_pursuit_ros/AdaptiveVelocityControllerRos.hpp
Idate96/se2_navigation
0fabe002742add5e4d716776b13704aa9c1aa339
[ "BSD-3-Clause" ]
null
null
null
/* * ConstantVelocityControllerRos.hpp * * Created on: Jul 4, 2021 * Author: jelavice */ #pragma once #include <dynamic_reconfigure/server.h> #include <pure_pursuit_ros/PurePursuitAdaptiveVelConfig.h> #include <ros/ros.h> #include "pure_pursuit_core/velocity_control/AdaptiveVelocityController.hpp" namespa...
36.863636
139
0.78545
Idate96
55a3fe16d43df3e5411126177c57634f4646058a
2,597
cpp
C++
src/ImageLite.Error.cpp
clclon/ImageLite-container
03a6dcca5645448f5519efbdec37ffdb980e3446
[ "MIT" ]
null
null
null
src/ImageLite.Error.cpp
clclon/ImageLite-container
03a6dcca5645448f5519efbdec37ffdb980e3446
[ "MIT" ]
null
null
null
src/ImageLite.Error.cpp
clclon/ImageLite-container
03a6dcca5645448f5519efbdec37ffdb980e3446
[ "MIT" ]
1
2022-03-12T19:37:27.000Z
2022-03-12T19:37:27.000Z
/* MIT License Android Aremote Viewer, GUI ADB tools Android Viewer developed to view and control your android device from a PC. ADB exchange Android Viewer, support scale view, input tap from mouse, input swipe from keyboard, save/copy screenshot, etc.. Copyright (c) 2016-2020 PS GitHub:...
33.294872
89
0.682711
clclon
55a9081f393af65e657ffa92e8cabe655a8f2465
3,437
hpp
C++
third_party/boost/simd/detail/shuffle/pattern.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
5
2018-02-20T11:21:12.000Z
2019-11-12T13:45:09.000Z
third_party/boost/simd/detail/shuffle/pattern.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/detail/shuffle/pattern.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
2
2017-12-12T12:29:52.000Z
2019-04-08T15:55:25.000Z
//================================================================================================== /** Copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) **/ //====================================...
36.956989
102
0.542042
xmar
55b03fafd1eb70134b5118e7a7d3ef8cc4aac774
1,959
cc
C++
xapian/xapian-core-1.2.13/backends/inmemory/inmemory_positionlist.cc
pgs7179/xapian_modified
0229c9efb9eca19be4c9f463cd4b793672f24198
[ "MIT" ]
2
2021-01-13T21:17:42.000Z
2021-01-13T21:17:42.000Z
xapian/xapian-core-1.2.13/backends/inmemory/inmemory_positionlist.cc
Loslove55/tailbench
fbbf3f31e3f0af1bb7db7f07c2e7193b84abb1eb
[ "MIT" ]
null
null
null
xapian/xapian-core-1.2.13/backends/inmemory/inmemory_positionlist.cc
Loslove55/tailbench
fbbf3f31e3f0af1bb7db7f07c2e7193b84abb1eb
[ "MIT" ]
null
null
null
/* inmemory_positionlist.cc * * Copyright 1999,2000,2001 BrightStation PLC * Copyright 2003,2009 Olly Betts * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * Li...
24.4875
93
0.732517
pgs7179
55b2a1df77a6fcc59a5b4ece2da64e3b799d9263
9,856
cpp
C++
Motor2D/Geodude.cpp
NontendoSL/Zelda-a-Link-to-the-Past-TRIBUTE
8676c7fc70b6dea54cd173b42c5006f34ab82404
[ "Apache-2.0" ]
11
2017-02-16T18:30:43.000Z
2021-08-07T11:40:49.000Z
Motor2D/Geodude.cpp
NontendoSL/Zelda-a-Link-to-the-Past-TRIBUTE
8676c7fc70b6dea54cd173b42c5006f34ab82404
[ "Apache-2.0" ]
81
2017-02-16T18:27:02.000Z
2017-06-07T20:23:40.000Z
Motor2D/Geodude.cpp
NontendoSL/Zelda-a-Link-to-the-Past-TRIBUTE
8676c7fc70b6dea54cd173b42c5006f34ab82404
[ "Apache-2.0" ]
5
2017-03-01T14:49:24.000Z
2021-08-07T11:40:51.000Z
#include "Geodude.h" #include "j1Render.h" #include "j1Textures.h" #include "j1App.h" #include "p2Defs.h" #include "j1Scene.h" #include "j1Input.h" #include "j1Player.h" #include "j1Item.h" #include "j1Collision.h" #include "j1EntityElementsScene.h" #include "j1Audio.h" #include "j1Weapon.h" Geodude::Geodude() { type...
20.705882
179
0.634233
NontendoSL
55b32ff6375680c441f47c4fd1fd64965baa2cb3
13,851
cpp
C++
WebKit2-7534.57.7/WebKit2-7534.57.7/UIProcess/DrawingAreaProxyImpl.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
1
2021-05-27T07:29:31.000Z
2021-05-27T07:29:31.000Z
WebKit2-7534.57.7/WebKit2-7534.57.7/UIProcess/DrawingAreaProxyImpl.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
WebKit2-7534.57.7/WebKit2-7534.57.7/UIProcess/DrawingAreaProxyImpl.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
/* * Copyright (C) 2011 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
36.740053
245
0.757707
mlcldh
55b669d20498d372e2744f0d7d3a44c185264bff
1,637
cpp
C++
src_smartcontract_db/trx/scan/transaction_scanner/AbstractTransactionScanner.cpp
alinous-core/codablecash
04ca04c9bc179aa81d4277ed34320b4340628bd1
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_smartcontract_db/trx/scan/transaction_scanner/AbstractTransactionScanner.cpp
alinous-core/codablecash
04ca04c9bc179aa81d4277ed34320b4340628bd1
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_smartcontract_db/trx/scan/transaction_scanner/AbstractTransactionScanner.cpp
alinous-core/codablecash
04ca04c9bc179aa81d4277ed34320b4340628bd1
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * AbstractTransactionScanner.cpp * * Created on: 2020/06/10 * Author: iizuka */ #include "trx/scan/transaction_scanner/AbstractTransactionScanner.h" #include "trx/transaction/CdbTransaction.h" #include "trx/scan/transaction_update_cache/InsertRecordsCacheCursor.h" #include "trx/scan/transaction_update_...
28.719298
99
0.789859
alinous-core
55bd4df7aa92f8cd69664251d6c8f69ebbaea765
1,828
cpp
C++
source/445.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
2
2017-02-28T11:39:13.000Z
2019-12-07T17:23:20.000Z
source/445.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
source/445.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
// // 445.cpp // LeetCode // // Created by Narikbi on 22.02.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <deque> #include <queue> #include <set> #include <map> #include <stack> #include <cma...
19.446809
58
0.484683
narikbi
55c2083252c4fac974a250639840914c20ec684c
3,148
cpp
C++
src/TitleScene.cpp
ncnnnnn/kys-cpp-prtest
dad990a3bdf9299732f5332f6f5a5e3fc241f6ef
[ "FTL" ]
1,565
2016-07-12T17:11:28.000Z
2022-03-31T07:43:53.000Z
src/TitleScene.cpp
ncnnnnn/kys-cpp-prtest
dad990a3bdf9299732f5332f6f5a5e3fc241f6ef
[ "FTL" ]
21
2018-06-10T14:15:06.000Z
2022-02-28T06:01:38.000Z
src/TitleScene.cpp
ncnnnnn/kys-cpp-prtest
dad990a3bdf9299732f5332f6f5a5e3fc241f6ef
[ "FTL" ]
268
2016-07-11T07:05:55.000Z
2022-02-18T01:49:11.000Z
#include "TitleScene.h" #include "Audio.h" #include "BattleScene.h" #include "Button.h" #include "Event.h" #include "Font.h" #include "GameUtil.h" #include "INIReader.h" #include "InputBox.h" #include "MainScene.h" #include "Menu.h" #include "Random.h" #include "RandomRole.h" #include "Script.h" #include "SubScene.h" #...
29.148148
197
0.581957
ncnnnnn
55c2432079d2b32622fc88b0d0de9180cfc90d9c
120
cpp
C++
mr.Sadman/Classes/GameAct/Objects/Interactors/HistoricalGeographicalInteractor.cpp
1pkg/dump
0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b
[ "MIT" ]
null
null
null
mr.Sadman/Classes/GameAct/Objects/Interactors/HistoricalGeographicalInteractor.cpp
1pkg/dump
0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b
[ "MIT" ]
3
2020-12-11T10:01:27.000Z
2022-02-13T22:12:05.000Z
mr.Sadman/Classes/GameAct/Objects/Interactors/HistoricalGeographicalInteractor.cpp
1pkg/dump
0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b
[ "MIT" ]
null
null
null
#include "HistoricalGeographicalInteractor.hpp" namespace GameAct { namespace HistoricalGeographical { } }
10.909091
48
0.741667
1pkg
55c3fab606c5c544ffbc6f33a2f5ed2040373e81
2,151
cpp
C++
string/atoi.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
1
2015-07-15T07:31:42.000Z
2015-07-15T07:31:42.000Z
string/atoi.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
null
null
null
string/atoi.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
null
null
null
#include <stddef.h> #include <limits.h> #include <ctype.h> /** * Implement to convert a string to an integer. * Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input cases. * Notes: It is intended for this problem to be spec...
35.262295
174
0.620177
zhangxin23
55c9aaf7d8e7d4d80059e4826972796c0f1194fb
47,481
cpp
C++
src/neighbourhoods/functionNeighbourhoods.cpp
athanor/athanor
0e7a654c360be05dc6f6e50427b2ee3df92c1aaf
[ "BSD-3-Clause" ]
4
2018-08-31T09:44:52.000Z
2021-03-01T19:10:00.000Z
src/neighbourhoods/functionNeighbourhoods.cpp
athanor/athanor
0e7a654c360be05dc6f6e50427b2ee3df92c1aaf
[ "BSD-3-Clause" ]
21
2019-12-29T08:33:34.000Z
2020-11-22T16:38:37.000Z
src/neighbourhoods/functionNeighbourhoods.cpp
athanor/athanor
0e7a654c360be05dc6f6e50427b2ee3df92c1aaf
[ "BSD-3-Clause" ]
null
null
null
#include <cmath> #include <random> #include "neighbourhoods/neighbourhoods.h" #include "search/statsContainer.h" #include "types/boolVal.h" #include "types/functionVal.h" #include "types/intVal.h" #include "types/tupleVal.h" #include "utils/random.h" using namespace std; template <typename PreimageDomainPtrType, type...
43.680773
80
0.58198
athanor
55d19f16070939c5849fd3183157b9cab04d3c15
3,346
cpp
C++
src/cpp/tau/layout_generation/layout_info.cpp
vosel/tau
db62e678d5dce61a4e9e5fd17f3a0fd91174a6b9
[ "BSL-1.0" ]
14
2016-09-13T12:40:16.000Z
2016-11-12T04:42:18.000Z
src/cpp/tau/layout_generation/layout_info.cpp
vosel/tau
db62e678d5dce61a4e9e5fd17f3a0fd91174a6b9
[ "BSL-1.0" ]
null
null
null
src/cpp/tau/layout_generation/layout_info.cpp
vosel/tau
db62e678d5dce61a4e9e5fd17f3a0fd91174a6b9
[ "BSL-1.0" ]
null
null
null
// This source file is part of the 'tau' open source project. // Copyright (c) 2016, Yuriy Vosel. // Licensed under Boost Software License. // See LICENSE.txt for the licence information. #ifndef TAU_HEADERONLY #include "layout_info.h" #endif #include "json_field_names.h" #include <sstream> #ifdef TAU_HEADERONLY #de...
27.42623
106
0.756426
vosel
55dab680aaf517d933f003dd2cb59c9fb89835ab
1,865
hpp
C++
tests/unit/coherence/util/filter/KeyFilterTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
tests/unit/coherence/util/filter/KeyFilterTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
tests/unit/coherence/util/filter/KeyFilterTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "cxxtest/TestSuite.h" #include "coherence/lang.ns" #include "coherence/util/extractor/IdentityExtractor.hpp" #include "coherence/util...
31.610169
72
0.613405
chpatel3
55e21b5ff214200e12be9a16db2b5c1497d4bdd7
20,963
cpp
C++
OGDF/src/ogdf/cluster/CPlanarEdgeInserter.cpp
shahnidhi/MetaCarvel
f3bea5fdbbecec4c9becc6bbdc9585a939eb5481
[ "MIT" ]
13
2017-12-21T03:35:41.000Z
2022-01-31T13:45:25.000Z
OGDF/src/ogdf/cluster/CPlanarEdgeInserter.cpp
shahnidhi/MetaCarvel
f3bea5fdbbecec4c9becc6bbdc9585a939eb5481
[ "MIT" ]
7
2017-09-13T01:31:24.000Z
2021-12-14T00:31:50.000Z
OGDF/src/ogdf/cluster/CPlanarEdgeInserter.cpp
shahnidhi/MetaCarvel
f3bea5fdbbecec4c9becc6bbdc9585a939eb5481
[ "MIT" ]
15
2017-09-07T18:28:55.000Z
2022-01-18T14:17:43.000Z
/** \file * \brief Reinsertion of deleted edges in embedded subgraph with * modeled cluster boundaries. * * \author Karsten Klein * * \par License: * This file is part of the Open Graph Drawing Framework (OGDF). * * \par * Copyright (C)<br> * See README.txt in the root directory of the OGDF installation for ...
25.502433
97
0.611506
shahnidhi
55e334919974626665c83d4bf7fe418f7ee32a3e
692
hpp
C++
include/utility/sstd/cctype.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
2
2017-12-10T10:59:48.000Z
2017-12-13T04:11:14.000Z
include/utility/sstd/cctype.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
include/utility/sstd/cctype.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
#ifndef ___UTILITY__STANDARD__LIBRARY__CCTYPE___ #define ___UTILITY__STANDARD__LIBRARY__CCTYPE___ #include<utility/detail/sstd/char_attribute.hpp> namespace utility { namespace sstd { using detail::sstd::charS::isalnum; using detail::sstd::charS::isalpha; using detail::sstd::charS::islower; using...
26.615385
52
0.729769
SakuraLife
55e6e9722dc3fad50648a6a513506d20bb85baf6
905
hpp
C++
include/sdlw/sdlw.hpp
JankoDedic/SDLW
06d59d6a4a0aeaa4e04de078e774eee5b9a30194
[ "MIT" ]
null
null
null
include/sdlw/sdlw.hpp
JankoDedic/SDLW
06d59d6a4a0aeaa4e04de078e774eee5b9a30194
[ "MIT" ]
null
null
null
include/sdlw/sdlw.hpp
JankoDedic/SDLW
06d59d6a4a0aeaa4e04de078e774eee5b9a30194
[ "MIT" ]
1
2019-11-22T05:04:42.000Z
2019-11-22T05:04:42.000Z
#pragma once #include <sdlw/assert.hpp> #include <sdlw/audio.hpp> #include <sdlw/blend_mode.hpp> #include <sdlw/clipboard.hpp> #include <sdlw/cpu_info.hpp> #include <sdlw/error.hpp> #include <sdlw/events.hpp> #include <sdlw/filesystem.hpp> #include <sdlw/game_controller.hpp> #include <sdlw/gesture.hpp> #include <sdlw/...
25.857143
35
0.748066
JankoDedic
55e95358c54250ff433a8e7855b67faa063d0f1c
615
cpp
C++
AoC15/12/day.cpp
yury-fedorov/AoC18
23dcb580a978df7fa05220f6709f56707278f61f
[ "MIT" ]
null
null
null
AoC15/12/day.cpp
yury-fedorov/AoC18
23dcb580a978df7fa05220f6709f56707278f61f
[ "MIT" ]
9
2019-01-13T06:06:33.000Z
2019-01-21T15:08:21.000Z
AoC15/12/day.cpp
yury-fedorov/AoC18
23dcb580a978df7fa05220f6709f56707278f61f
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include <string_view> #include <regex> #include <catch2/catch.hpp> using namespace std; TEST_CASE( "Day12", "[12]" ) { ifstream f("12/input.txt"); long long sum = 0; string line; while (getline(f, line)) { regex exp("(-?\\d+)"); ...
21.206897
68
0.560976
yury-fedorov
55eb2322c22b44c298c77c5fdfd31ea22bbead02
299
cpp
C++
Coding Blocks cpp beginner/15.Dynamic Memory Allocation/03_ReturningLocalArraysvsDynamicArrays.cpp
saqeeb360/Coding-block-C-
16cbf706c6a4a704bb07a4a535b64e03c381cd8d
[ "MIT" ]
4
2021-02-27T07:12:03.000Z
2021-09-19T07:52:33.000Z
Coding Blocks cpp beginner/15.Dynamic Memory Allocation/03_ReturningLocalArraysvsDynamicArrays.cpp
saqeeb360/Coding-block-C-
16cbf706c6a4a704bb07a4a535b64e03c381cd8d
[ "MIT" ]
null
null
null
Coding Blocks cpp beginner/15.Dynamic Memory Allocation/03_ReturningLocalArraysvsDynamicArrays.cpp
saqeeb360/Coding-block-C-
16cbf706c6a4a704bb07a4a535b64e03c381cd8d
[ "MIT" ]
3
2021-05-31T06:25:56.000Z
2021-10-03T12:01:36.000Z
#include <iostream> using namespace std; int* fun(){ int *a = new int[5]{0}; a[0] = 10; a[1] = 15; a[2] = 20; a[3] = 24; cout << a << endl; cout << a[2] <<endl; return a; } int main(){ int *b = fun(); cout << b << endl; cout << b[2] <<endl; delete b; return 0; }
13.590909
25
0.464883
saqeeb360
55f11f3f3d0be7753601671c2bbafc69913b5ba5
1,728
cpp
C++
src/cis1_core_logger/core_record.cpp
tomsksoft-llc/sc-logger
1b146edea2c2ef96deeaf6a6abb877a62bb0c192
[ "MIT" ]
null
null
null
src/cis1_core_logger/core_record.cpp
tomsksoft-llc/sc-logger
1b146edea2c2ef96deeaf6a6abb877a62bb0c192
[ "MIT" ]
null
null
null
src/cis1_core_logger/core_record.cpp
tomsksoft-llc/sc-logger
1b146edea2c2ef96deeaf6a6abb877a62bb0c192
[ "MIT" ]
null
null
null
#include <sstream> #include <cis1_core_logger/core_record.h> namespace cis1::core_logger { const std::size_t max_tokens_count = 7; CoreRecord::CoreRecord(scl::Level level_, const std::string &time_str_, const std::optional<std::string> &session_id_, ...
25.043478
71
0.640046
tomsksoft-llc
55f2721f584b5531996373d298ddfbbf472cd1db
10,946
cpp
C++
src/search_engine/relja_retrival/v2/indexing/train/train_resize.cpp
alexanderwilkinson/visenew
8e494355b0f88466c0abb4b8f3bfecc150b91111
[ "ImageMagick", "BSD-2-Clause" ]
43
2017-07-06T23:44:39.000Z
2022-03-25T06:53:29.000Z
src/search_engine/relja_retrival/v2/indexing/train/train_resize.cpp
alexanderwilkinson/visenew
8e494355b0f88466c0abb4b8f3bfecc150b91111
[ "ImageMagick", "BSD-2-Clause" ]
2
2018-11-09T03:52:14.000Z
2020-03-25T14:08:33.000Z
src/search_engine/relja_retrival/v2/indexing/train/train_resize.cpp
alexanderwilkinson/visenew
8e494355b0f88466c0abb4b8f3bfecc150b91111
[ "ImageMagick", "BSD-2-Clause" ]
9
2017-07-27T10:55:55.000Z
2020-12-15T13:42:43.000Z
#include "train_resize.h" #include <fstream> #include <vector> #include <boost/filesystem.hpp> #ifdef RR_MPI #include <boost/mpi/collectives.hpp> #include <boost/serialization/utility.hpp> // for std::pair #include <boost/serialization/string.hpp> #endif #include "mpi_queue.h" #include "par_queue.h" #include "same_...
38.272727
125
0.60296
alexanderwilkinson
55f5f46c52b21074cb763c999ac79e289e3363cc
992
cpp
C++
Luogu/P1144.cpp
dong628/OhMyCodes
238e3045a98505a4880e85ad71d43d64a20f9452
[ "MIT" ]
2
2020-07-18T01:19:04.000Z
2020-11-03T17:34:22.000Z
Luogu/P1144.cpp
dong628/OhMyCodes
238e3045a98505a4880e85ad71d43d64a20f9452
[ "MIT" ]
null
null
null
Luogu/P1144.cpp
dong628/OhMyCodes
238e3045a98505a4880e85ad71d43d64a20f9452
[ "MIT" ]
1
2021-09-09T12:52:58.000Z
2021-09-09T12:52:58.000Z
#include <cstdio> #include <iostream> #include <vector> const int Maxn=1e6+5, Mod=100003; std::vector<int> mapp[Maxn]; int queue[Maxn], cnt[Maxn], bfn[Maxn], ans[Maxn], now, x, y, n, m; bool vis[Maxn]; int main(){ freopen("data.in", "r", stdin); freopen("data.out", "w", stdout); scanf("%d %d", &n, &m); for(int i...
19.84
66
0.520161
dong628
55f8a3b6a1a73991d6c86dc99a7aef8f3dd7023e
501
cc
C++
unittest/skip_list_uinttest.cc
Mercy1101/MyAlgo
cc476e0b2a1b359be3f27ff73e25607040443906
[ "MIT" ]
1
2020-02-28T00:00:20.000Z
2020-02-28T00:00:20.000Z
unittest/skip_list_uinttest.cc
Mercy1101/MyAlgo
cc476e0b2a1b359be3f27ff73e25607040443906
[ "MIT" ]
null
null
null
unittest/skip_list_uinttest.cc
Mercy1101/MyAlgo
cc476e0b2a1b359be3f27ff73e25607040443906
[ "MIT" ]
null
null
null
#include "catch/catch.hpp" #include "my_algo/my_algo.hpp" #pragma warning(disable : 4819) TEST_CASE("skip_list 简单测试", "[lee][skip_list]") { using namespace lee; skip_list skiplist; skiplist.add(1); skiplist.add(2); skiplist.add(3); REQUIRE(!skiplist.search(0)); skiplist.add(4); REQUI...
23.857143
54
0.644711
Mercy1101
55f9235cb1368cf73abd99c30cbe22e8116ed2f5
2,537
cxx
C++
demo/AutoDiff/CahnHilliardPrimalCXX.cxx
dalcinl/PetIGA
a1ffe3be8710dbc0ee43e7b9adff99d4059784d8
[ "BSD-2-Clause" ]
3
2017-05-19T17:19:43.000Z
2022-03-20T19:56:49.000Z
demo/AutoDiff/CahnHilliardPrimalCXX.cxx
dalcinl/PetIGA
a1ffe3be8710dbc0ee43e7b9adff99d4059784d8
[ "BSD-2-Clause" ]
null
null
null
demo/AutoDiff/CahnHilliardPrimalCXX.cxx
dalcinl/PetIGA
a1ffe3be8710dbc0ee43e7b9adff99d4059784d8
[ "BSD-2-Clause" ]
null
null
null
#include "petiga/petiga.hpp" #include "CahnHilliard.hpp" template <int dim, int nen, int dof, typename Scalar> static inline PetscErrorCode IFunction(IGAPoint q, PetscReal ,const Scalar (&V)[nen][dof], PetscReal ,const Scalar (&U)[nen][dof], Sc...
28.505618
78
0.587308
dalcinl
55fc393ed8f081a33deb316266c04fcd12d68bcc
1,248
cpp
C++
src/interpolation/sinc_interp.cpp
arotem3/numerics
ba208d9fc0ccb9471cfec9927a21622eb3535f54
[ "Apache-2.0" ]
18
2019-04-18T17:34:49.000Z
2021-11-15T07:57:29.000Z
src/interpolation/sinc_interp.cpp
arotem3/numerics
ba208d9fc0ccb9471cfec9927a21622eb3535f54
[ "Apache-2.0" ]
null
null
null
src/interpolation/sinc_interp.cpp
arotem3/numerics
ba208d9fc0ccb9471cfec9927a21622eb3535f54
[ "Apache-2.0" ]
4
2019-12-02T04:04:21.000Z
2022-02-17T08:23:09.000Z
#include "numerics.hpp" /* sinc_interp(x, y, u) : interpolate data points with sinc functions * --- x : uniformly spaced domain data * --- y : points to interpolate * --- u : points to evaluate interpolation on */ arma::mat numerics::sinc_interp(const arma::vec& x, const arma::mat& y, const arma::vec& u) { int ...
37.818182
137
0.521635
arotem3
55ff2173691bd21853eac0e95990ad62c76b974d
3,555
cpp
C++
gui/device_monitoring/source/win32/device_monitoring_windows.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
81
2019-09-18T13:53:17.000Z
2022-03-19T00:44:20.000Z
gui/device_monitoring/source/win32/device_monitoring_windows.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
4
2019-10-03T15:17:00.000Z
2019-11-03T01:05:41.000Z
gui/device_monitoring/source/win32/device_monitoring_windows.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
25
2019-09-27T16:56:02.000Z
2022-03-14T07:11:14.000Z
#include "stdafx.h" #include "device_monitoring_windows.h" #include <Dshow.h> #include <Dbt.h> #include <MMDeviceAPI.h> namespace device { struct DeviceListMonitorContext : public IMMNotificationClient { DeviceMonitoringWindows* deviceChangedCallback_; private: // IMMNotificationClient implementation. STD...
26.139706
120
0.712799
mail-ru-im
3601997a3b85d051d487e7b89dcee68a2a7e70a7
1,127
cpp
C++
src/modules/prob/student.cpp
fmcquillan99/apache-madlib
e2dea62d1eadc7f662f2d926c71f42332f414ca0
[ "Apache-2.0" ]
10
2015-01-01T09:13:57.000Z
2018-01-30T02:55:46.000Z
src/modules/prob/student.cpp
fmcquillan99/apache-madlib
e2dea62d1eadc7f662f2d926c71f42332f414ca0
[ "Apache-2.0" ]
1
2018-09-06T05:50:17.000Z
2018-09-06T05:50:17.000Z
src/modules/prob/student.cpp
fmcquillan99/apache-madlib
e2dea62d1eadc7f662f2d926c71f42332f414ca0
[ "Apache-2.0" ]
4
2015-10-16T12:17:55.000Z
2020-12-12T10:33:18.000Z
/* ----------------------------------------------------------------------- *//** * * @file student.cpp * *//* ----------------------------------------------------------------------- */ #include <dbconnector/dbconnector.hpp> #include "student.hpp" namespace madlib { namespace modules { namespace prob { /** * ...
20.490909
80
0.534161
fmcquillan99
3606c68b23c37654134da9e74600884c6b3affb9
20,885
cpp
C++
src/menuui/credits.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
1
2020-07-14T07:29:18.000Z
2020-07-14T07:29:18.000Z
src/menuui/credits.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2019-01-01T22:35:56.000Z
2022-03-14T07:34:00.000Z
src/menuui/credits.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2021-03-07T11:40:42.000Z
2021-12-26T21:40:39.000Z
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ /* * $Logfile: /Freespace2/code/MenuUI/Credits.cpp $ * $Revision: 307 $ * ...
24.686761
225
0.684319
ptitSeb
360dd929200e2172fe5310d119331ce8f6d38814
12,421
cpp
C++
SimpleExample/ExampleCore.cpp
certicom/NetworkLibrary
d2f14387017ab3771bcadae3b159228bfb60f42d
[ "Unlicense" ]
null
null
null
SimpleExample/ExampleCore.cpp
certicom/NetworkLibrary
d2f14387017ab3771bcadae3b159228bfb60f42d
[ "Unlicense" ]
11
2019-01-21T22:41:17.000Z
2019-01-24T08:06:03.000Z
SimpleExample/ExampleCore.cpp
certicom/NetworkLibrary
d2f14387017ab3771bcadae3b159228bfb60f42d
[ "Unlicense" ]
null
null
null
#include "ExampleCore.h" char LastChar(char a_char); bool hasFocus(bool a_focus = false, bool erase = false); bool Clic(bool a_clic = false, bool a_erase = false); void EventHandler(sf::RenderWindow& a_window) { LastChar(0); Clic(false, true); sf::Event event; while (a_window.pollEvent(event)) { if (eve...
26.59743
148
0.679655
certicom
3612400ee7ab05e211ae03a0b9933867c2f3e213
29,592
cpp
C++
src/engine/engine.cpp
jhweintraub/boki
65f3c713211c41329878f0057d8659a89243b388
[ "Apache-2.0" ]
26
2021-09-02T13:11:26.000Z
2022-03-25T09:38:40.000Z
src/engine/engine.cpp
jhweintraub/boki
65f3c713211c41329878f0057d8659a89243b388
[ "Apache-2.0" ]
null
null
null
src/engine/engine.cpp
jhweintraub/boki
65f3c713211c41329878f0057d8659a89243b388
[ "Apache-2.0" ]
4
2021-09-02T13:11:29.000Z
2022-02-09T20:54:11.000Z
#include "engine/engine.h" #include "ipc/base.h" #include "ipc/shm_region.h" #include "common/time.h" #include "utils/fs.h" #include "utils/io.h" #include "utils/docker.h" #include "utils/socket.h" #include "worker/worker_lib.h" #include "server/constants.h" #include "log/engine.h" #include "engine/flags.h" #define l...
40.151967
101
0.654907
jhweintraub
3618f2534c17b981da1a8e8d431f66587aa95494
3,550
cpp
C++
owGameMap/Map_Shared.cpp
fan3750060/OpenWow
28925ebed1b3503d88014f6a3a7bd8adc777fdcc
[ "Apache-2.0" ]
null
null
null
owGameMap/Map_Shared.cpp
fan3750060/OpenWow
28925ebed1b3503d88014f6a3a7bd8adc777fdcc
[ "Apache-2.0" ]
null
null
null
owGameMap/Map_Shared.cpp
fan3750060/OpenWow
28925ebed1b3503d88014f6a3a7bd8adc777fdcc
[ "Apache-2.0" ]
1
2020-03-30T03:22:38.000Z
2020-03-30T03:22:38.000Z
#include "stdafx.h" // General #include "Map_Shared.h" CMapShared* _MapShared = nullptr; bool isHole(uint16 holes, uint16 i, uint16 j) { const uint16 holetab_h[4] = { 0x1111, 0x2222, 0x4444, 0x8888 }; const uint16 holetab_v[4] = { 0x000F, 0x00F0, 0x0F00, 0xF000 }; return (holes & holetab_h[i] & holetab_v[j]) != ...
24.315068
105
0.621972
fan3750060
36194da31af0f2b44fcbfa6619b9bea2d5fe6877
1,031
cpp
C++
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter14Exercise8.cpp
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
9
2018-10-24T15:16:47.000Z
2021-12-14T13:53:50.000Z
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter14Exercise8.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
null
null
null
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter14Exercise8.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
7
2018-10-29T15:30:37.000Z
2021-01-18T15:15:09.000Z
/* TITLE Regular Octagon Chapter14Exercise8.cpp "Bjarne Stroustrup "Programming Principles and Practices Using C++"" COMMENT Objective: Define a class Regular Octagon and write a test function that exercises all of its functions. Input: - Output: - Author: 1...
19.826923
69
0.644035
Ziezi
361aaa3009db059d8abb8c37a0b6f88624f3cec5
1,403
cpp
C++
lib/main/ds/segment-tree/main-maxtimes.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
lib/main/ds/segment-tree/main-maxtimes.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
lib/main/ds/segment-tree/main-maxtimes.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
// Finding the maximum and the number of times it appears #include "cpalgo/ds/segment-tree.hpp" #include "template-segment-tree-interp-purq.hpp" using namespace std; struct Data { int maximum, times; Data(): maximum(0), times(0) {} Data(int value): maximum(value), times(1) {} }; struct Query { const ...
31.886364
103
0.6201
xirc
361e4b0004539a1ff15032a8956c8a4dddd1bc8e
743
cpp
C++
Algorithm/1021 (Easy)Remove Outermost Parentheses/Brute-Force.cpp
ZexinLi0w0/LeetCode
cf3988620ccdcc3d54b9beafd04c517c96f01bb9
[ "MIT" ]
1
2020-12-03T10:10:15.000Z
2020-12-03T10:10:15.000Z
Algorithm/1021 (Easy)Remove Outermost Parentheses/Brute-Force.cpp
ZexinLi0w0/LeetCode
cf3988620ccdcc3d54b9beafd04c517c96f01bb9
[ "MIT" ]
null
null
null
Algorithm/1021 (Easy)Remove Outermost Parentheses/Brute-Force.cpp
ZexinLi0w0/LeetCode
cf3988620ccdcc3d54b9beafd04c517c96f01bb9
[ "MIT" ]
null
null
null
class Solution { public: string removeOuterParentheses(string S) { vector<char> temp; bool isnew = false; int lcount = 0, rcount = 0; string ans = ""; for(int i = 0; i < S.length(); i++) { temp.push_back(S[i]); if(S[i] == '(') l...
24.766667
56
0.355316
ZexinLi0w0
36227efcb87fd82ca7f93656611371997125f6c1
3,970
cpp
C++
src/termui/terminal_window.cpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
1
2020-07-31T01:34:47.000Z
2020-07-31T01:34:47.000Z
src/termui/terminal_window.cpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
src/termui/terminal_window.cpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
#include <csignal> #include <memory> #include "except.hpp" #include "signals.hpp" #include "terminal_driver.hpp" #include "terminal_surface.hpp" #include "terminal_window.hpp" namespace bandwit { namespace termui { // This is what actually owns the TerminalWindow. There can only be one // TerminalWindow. static std:...
28.978102
80
0.661965
numerodix
362cadc51760e58610c7b4fb9697cae69079b1b1
354
hpp
C++
src/benchmarks/descriptors/generic/wigwag.hpp
koplyarov/wigwag
d5646c610b324c9252ec7ac807f883f88e7442eb
[ "0BSD" ]
103
2016-02-26T14:39:03.000Z
2021-02-13T10:15:52.000Z
src/benchmarks/descriptors/generic/wigwag.hpp
koplyarov/wigwag
d5646c610b324c9252ec7ac807f883f88e7442eb
[ "0BSD" ]
1
2018-05-07T06:00:19.000Z
2018-05-07T19:57:20.000Z
src/benchmarks/descriptors/generic/wigwag.hpp
koplyarov/wigwag
d5646c610b324c9252ec7ac807f883f88e7442eb
[ "0BSD" ]
9
2016-03-17T11:56:33.000Z
2020-08-06T10:11:50.000Z
#ifndef BENCHMARKS_DESCRIPTORS_GENERIC_WIGWAG_HPP #define BENCHMARKS_DESCRIPTORS_GENERIC_WIGWAG_HPP #include <wigwag/life_token.hpp> #include <string> namespace descriptors { namespace generic { namespace wigwag { struct LifeToken { using Type = ::wigwag::life_token; static ::std::string GetName() { return ...
14.16
57
0.754237
koplyarov
1566b5b7f58efe0381872d3ab023e52e91c19426
4,520
cpp
C++
src/strx_manip.cpp
flamewave000/stringx
fa7cedfa3d6d1cb8020940f8ff66300ee5b23e74
[ "MIT" ]
null
null
null
src/strx_manip.cpp
flamewave000/stringx
fa7cedfa3d6d1cb8020940f8ff66300ee5b23e74
[ "MIT" ]
null
null
null
src/strx_manip.cpp
flamewave000/stringx
fa7cedfa3d6d1cb8020940f8ff66300ee5b23e74
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS 1 #include "strx_manip.hpp" #ifndef _SSTREAM_ #ifndef _GLIBCXX_SSTREAM #include <sstream> #endif #endif #ifndef _CSTDIO_ #ifndef _GLIBCXX_CSTDIO #include <cstdio> #endif #endif using namespace std; namespace strx { const char * whitespace = " \n\r\t\v\f"; size_t find_first_of_pat(...
21.52381
109
0.589381
flamewave000
1567ad27633d24cea7032af674bc4181595ea855
3,956
cpp
C++
src/OpcUaStackCore/SecureChannel/MessageHeader.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
src/OpcUaStackCore/SecureChannel/MessageHeader.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
src/OpcUaStackCore/SecureChannel/MessageHeader.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
/* Copyright 2015-2018 Kai Huebl (kai@huebl-sgh.de) Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser Datei nur in Übereinstimmung mit der Lizenz erlaubt. Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0. Sofern nicht gemäß geltendem Rech...
21.268817
87
0.667846
gianricardo
157257d4e53b280e6f011a80ff6503323b098227
1,846
hpp
C++
source/base/collapse.hpp
boschmitt/losys
0092c559fa8f771121e6ddeb59eae12421b14cd4
[ "BSD-2-Clause" ]
1
2018-01-20T17:31:59.000Z
2018-01-20T17:31:59.000Z
source/base/collapse.hpp
boschmitt/losys
0092c559fa8f771121e6ddeb59eae12421b14cd4
[ "BSD-2-Clause" ]
null
null
null
source/base/collapse.hpp
boschmitt/losys
0092c559fa8f771121e6ddeb59eae12421b14cd4
[ "BSD-2-Clause" ]
null
null
null
/*------------------------------------------------------------------------------ | This file is distributed under the BSD 2-Clause License. | See LICENSE for details. *-----------------------------------------------------------------------------*/ #ifndef LOSYS_AIG_COLLAPSE_H #define LOSYS_AIG_COLLAPSE_H #include <chr...
26
80
0.589924
boschmitt
1576dde1a3efe4e4ff2cc21a95cf72f37072fbd7
2,402
inl
C++
OgreMain/include/OgreLight.inl
FreeNightKnight/ogre-next
f2d1a31887a87c492b4225e063325c48693fec19
[ "MIT" ]
701
2019-09-08T15:56:41.000Z
2022-03-31T05:51:26.000Z
OgreMain/include/OgreLight.inl
FreeNightKnight/ogre-next
f2d1a31887a87c492b4225e063325c48693fec19
[ "MIT" ]
204
2019-09-01T23:02:32.000Z
2022-03-28T14:58:39.000Z
OgreMain/include/OgreLight.inl
FreeNightKnight/ogre-next
f2d1a31887a87c492b4225e063325c48693fec19
[ "MIT" ]
188
2019-09-05T05:14:46.000Z
2022-03-22T21:51:39.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE-Next (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any pe...
40.033333
89
0.567444
FreeNightKnight
157beda11288f9f37109c7cb1f4c7276ad26d0d0
606
cpp
C++
examples/Curious.cpp
TerensTare/metabox
40c95d3d0064ce3a2a71a80edb738dc10f685428
[ "MIT" ]
1
2021-01-17T11:03:59.000Z
2021-01-17T11:03:59.000Z
examples/Curious.cpp
TerensTare/metabox
40c95d3d0064ce3a2a71a80edb738dc10f685428
[ "MIT" ]
null
null
null
examples/Curious.cpp
TerensTare/metabox
40c95d3d0064ce3a2a71a80edb738dc10f685428
[ "MIT" ]
null
null
null
#include <iostream> #include "Curious.hpp" template <typename T> struct entity : tnt::crtp<T> { inline std::string type() const { this->base().type(); } }; struct static_object : entity<static_object> { inline std::string type() const { return "static"; } }; struct dynamic_ob...
16.378378
57
0.585809
TerensTare
157d758673e62a1d3d615a4b65274a2d36d41761
1,277
cpp
C++
test/test_primitive.cpp
erikedin/glowing-sceptre
dd5e0e4ee75de251f8254c1ac30724b27ec6928b
[ "Apache-2.0" ]
null
null
null
test/test_primitive.cpp
erikedin/glowing-sceptre
dd5e0e4ee75de251f8254c1ac30724b27ec6928b
[ "Apache-2.0" ]
null
null
null
test/test_primitive.cpp
erikedin/glowing-sceptre
dd5e0e4ee75de251f8254c1ac30724b27ec6928b
[ "Apache-2.0" ]
null
null
null
#include "gtest/gtest.h" #include "primitive.h" using namespace gs; TEST(Primitive, InvalidXorArray) { EXPECT_THROW(xor_array(bytevector {}, bytevector { 0x00 }), std::invalid_argument); EXPECT_THROW(xor_array(bytevector { 0x00 }, bytevector {}), std::invalid_argument); EXPECT_THROW(xor_array(bytevector ...
34.513514
99
0.664839
erikedin
157f3ca3fcf9012f6984e7eb460e778747c778eb
502
hh
C++
primer/examples/sfinae.hh
CaffeineViking/concepts-primer
041cec40fa4a25cd954ce91da6d9d10ee31499a3
[ "MIT" ]
17
2019-05-01T21:49:43.000Z
2022-02-25T06:50:47.000Z
primer/examples/sfinae.hh
CaffeineViking/concepts-primer
041cec40fa4a25cd954ce91da6d9d10ee31499a3
[ "MIT" ]
null
null
null
primer/examples/sfinae.hh
CaffeineViking/concepts-primer
041cec40fa4a25cd954ce91da6d9d10ee31499a3
[ "MIT" ]
null
null
null
#ifndef SFINAE_HH #define SFINAE_HH #include <type_traits> template<typename T, typename U, typename = void> struct is_equality_comparable : std::false_type { }; template<typename T, typename U> struct is_equality_comparable<T, U, typename std::enable_if<true, decltype(std::declval<T&>() == std::declval<U&>...
25.1
54
0.705179
CaffeineViking
1584434afd11c7c78f562a44dc00e7433cbdf5c3
1,251
hpp
C++
include/prog/sym/delegate_def.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
14
2020-04-14T17:00:56.000Z
2021-08-30T08:29:26.000Z
include/prog/sym/delegate_def.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
27
2020-12-27T16:00:44.000Z
2021-08-01T13:12:14.000Z
include/prog/sym/delegate_def.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
1
2020-05-29T18:33:37.000Z
2020-05-29T18:33:37.000Z
#pragma once #include "prog/sym/type_id.hpp" #include "prog/sym/type_set.hpp" namespace prog::sym { // Definition for a delegate type. Contains the signature of the functions it represents. // Note: 'isAction' indicates if this delegate is pure or not. class DelegateDef final { friend class TypeDefTable; public: ...
33.810811
89
0.680256
BastianBlokland
1587c8638ad6d192490d63c1fb8b188d0e9bfeaa
6,169
cpp
C++
potato/librender/source/d3d12_backend/d3d12_pipeline_state.cpp
seanmiddleditch/grimm
9f47fc5d7aa0af19a3a7c82a38b7f7c59b83fbf5
[ "MIT" ]
38
2019-05-25T17:32:26.000Z
2022-02-27T22:25:05.000Z
potato/librender/source/d3d12_backend/d3d12_pipeline_state.cpp
seanmiddleditch/grimm
9f47fc5d7aa0af19a3a7c82a38b7f7c59b83fbf5
[ "MIT" ]
35
2019-05-26T17:52:39.000Z
2022-02-12T19:54:14.000Z
potato/librender/source/d3d12_backend/d3d12_pipeline_state.cpp
seanmiddleditch/grimm
9f47fc5d7aa0af19a3a7c82a38b7f7c59b83fbf5
[ "MIT" ]
2
2019-06-09T16:06:27.000Z
2019-08-16T14:17:20.000Z
// Copyright by Potato Engine contributors. See accompanying License.txt for copyright details. #include "d3d12_pipeline_state.h" #include "d3d12_command_list.h" #include "d3d12_desc_heap.h" #include "d3d12_root_signature.h" #include "potato/runtime/assertion.h" #include "potato/spud/out_ptr.h" static D3D12_BLEND_DE...
35.65896
119
0.739342
seanmiddleditch
158d198060df65b6f72a00e877c72ef1f6bc71a1
2,334
cpp
C++
cpp/1001-10000/1801-1810/Implement Trie II (Prefix Tree).cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/1001-10000/1801-1810/Implement Trie II (Prefix Tree).cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/1001-10000/1801-1810/Implement Trie II (Prefix Tree).cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Trie { struct TrieNode { TrieNode* nodes[26]; int word_cnt; int prefix_cnt; // Initialize your data structure here. TrieNode() { memset(nodes, 0, sizeof(nodes)); word_cnt = 0; prefix_cnt = 0; } }; TrieNode* r...
25.096774
60
0.455013
KaiyuWei
1595c1f821439831ef1b2d7494aea71c9d8144ab
1,209
hpp
C++
engine/include/xe/serialization/node_view.hpp
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
engine/include/xe/serialization/node_view.hpp
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
engine/include/xe/serialization/node_view.hpp
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
// // Created by trbflxr on 3/7/2020. // #ifndef XE_NODE_VIEW_HPP #define XE_NODE_VIEW_HPP #include <xe/serialization/node_const_view.hpp> namespace xe { class XE_API NodeView : public NodeConstView { friend class Node; protected: NodeView() = default; NodeView(Node *parent, Key key, Node *value); ...
22.811321
97
0.688999
trbflxr
1596a57d22ef4a6ee4138d600f19ad6a7991bbd4
2,839
cpp
C++
DESERT_Framework/DESERT/data_link/uw-csma-ca/initlib.cpp
zhiweita/desert
2c40c5a6f5c4dd3f6c1108162056d96f21fc151f
[ "BSD-3-Clause" ]
7
2020-04-14T19:38:20.000Z
2022-01-14T08:06:10.000Z
DESERT_Framework/DESERT/data_link/uw-csma-ca/initlib.cpp
zhiweita/desert
2c40c5a6f5c4dd3f6c1108162056d96f21fc151f
[ "BSD-3-Clause" ]
1
2021-07-10T04:05:04.000Z
2021-07-12T13:57:24.000Z
DESERT_Framework/DESERT/data_link/uw-csma-ca/initlib.cpp
zhiweita/desert
2c40c5a6f5c4dd3f6c1108162056d96f21fc151f
[ "BSD-3-Clause" ]
5
2020-05-07T13:07:26.000Z
2022-01-14T03:01:09.000Z
// // Copyright (c) 2017 Regents of the SIGNET lab, University of Padova. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyrigh...
30.526882
78
0.750264
zhiweita
159d98d0eef56bdd5c5bc5e71faee676f0b5beaa
734
cpp
C++
src/format.cpp
sgermanserrano/CppND-System-Monitor
73f6d889a712aa92065e95a0017c34c67a081520
[ "MIT" ]
null
null
null
src/format.cpp
sgermanserrano/CppND-System-Monitor
73f6d889a712aa92065e95a0017c34c67a081520
[ "MIT" ]
null
null
null
src/format.cpp
sgermanserrano/CppND-System-Monitor
73f6d889a712aa92065e95a0017c34c67a081520
[ "MIT" ]
null
null
null
#include <string> #include "format.h" using std::string; // TODO: Complete this helper function // INPUT: Long int measuring seconds // OUTPUT: HH:MM:SS // REMOVE: [[maybe_unused]] once you define the function string Format::ElapsedTime(long seconds) { int h, m, s; long remainder; string time_str; h = s...
23.677419
75
0.628065
sgermanserrano
15a055498be3f38e854f4d3929c7ee336551803e
2,038
cpp
C++
codeforces/education82/C.cpp
songhn233/ACM_Steps
6f2edeca9bf4fc999a8148bc90b2d8d0e59d48fe
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
codeforces/education82/C.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
codeforces/education82/C.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<vector> #include<queue> #include<cmath> #include<map> #include<set> #define ll long long #define F(i,a,b) for(int i=(a);i<=(b);i++) #define mst(a,b) memset((a),(b),sizeof(a)) #define PII pair<int,int> using namespace std; template<class ...
16.435484
67
0.477429
songhn233