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
77c31a4b17796c91afaf5dba4b15e6f00824e5c1
5,777
cpp
C++
hdf/HDFAtom.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
hdf/HDFAtom.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
hdf/HDFAtom.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#include <hdf/HDFAtom.hpp> template <> void HDFAtom<std::string>::Create(H5::H5Object &object, const std::string &atomName) { H5::StrType strType(0, H5T_VARIABLE); hsize_t defaultDims[] = {1}; H5::DataSpace defaultDataSpace(1, defaultDims); attribute = object.createAttribute(atomName.c_str(), strType, ...
31.396739
93
0.67336
ggraham
77c9c917282782bff71239cb08fc720f5b9ce9b1
185
cpp
C++
renderer/Ray.cpp
AdrienVannson/3D-Renderer
78148e88b9ab91ccaea0f883a746ee93cac5d767
[ "MIT" ]
null
null
null
renderer/Ray.cpp
AdrienVannson/3D-Renderer
78148e88b9ab91ccaea0f883a746ee93cac5d767
[ "MIT" ]
null
null
null
renderer/Ray.cpp
AdrienVannson/3D-Renderer
78148e88b9ab91ccaea0f883a746ee93cac5d767
[ "MIT" ]
1
2021-03-18T08:05:35.000Z
2021-03-18T08:05:35.000Z
#include "Ray.hpp" Ray::Ray (const Vect &pos, const Vect &dir) : m_pos (pos), m_dir (dir) { m_dir.normalize(); } void Ray::moveByEpsilon () { m_pos += 1e-5 * m_dir; }
13.214286
45
0.572973
AdrienVannson
77cb146f356229fe62208f9c724d8f9e7374900b
2,773
cpp
C++
src/examples/Serialisation/example1.cpp
gwaredd/reflector
f7c4184e5bd98d3744dfb45ea8cd4030b8078bae
[ "MIT" ]
8
2015-03-27T06:15:27.000Z
2021-07-04T03:45:10.000Z
src/examples/Serialisation/example1.cpp
gwaredd/reflector
f7c4184e5bd98d3744dfb45ea8cd4030b8078bae
[ "MIT" ]
null
null
null
src/examples/Serialisation/example1.cpp
gwaredd/reflector
f7c4184e5bd98d3744dfb45ea8cd4030b8078bae
[ "MIT" ]
3
2016-06-21T12:39:14.000Z
2019-08-27T15:48:25.000Z
//////////////////////////////////////////////////////////////////////////////// #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <time.h> #include "json.h" #include "classes.h" std::vector< GameObject* > GameObjects; //////////////////////////////////////////////////////////////////////////////// vo...
20.69403
82
0.443563
gwaredd
77d30eab9a22ff8d87a8b37f87a3941556abde12
377
cpp
C++
docs/mfc/reference/codesnippet/CPP/cmfctoolbarbutton-class_1.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
14
2018-01-28T18:10:55.000Z
2021-11-16T13:21:18.000Z
docs/mfc/reference/codesnippet/CPP/cmfctoolbarbutton-class_1.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
1
2021-04-01T04:17:07.000Z
2021-04-01T04:17:07.000Z
docs/mfc/reference/codesnippet/CPP/cmfctoolbarbutton-class_1.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
2
2018-11-01T12:33:08.000Z
2021-11-16T13:21:19.000Z
CMFCToolBarButton* pOffice2007 = NULL; int nIndex = -1; for (UINT uiCmd = ID_VIEW_APPLOOK_2007_1; uiCmd <= ID_VIEW_APPLOOK_2007_4; uiCmd++) { // CMFCToolBar m_wndToolBarTheme nIndex = m_wndToolBarTheme.CommandToIndex (uiCmd); CMFCToolBarButton* pButton = m_wndToolBarTheme.GetButton (nIndex); if (pButto...
23.5625
84
0.71618
jmittert
77dae2c04282627fd4f9a0978948934f845c8a8c
7,410
cpp
C++
sssp-cuda/src/util.cpp
aeonstasis/sssp-fpga
6ea890f159176695a50f1d7bc2ed1406d1d8599c
[ "MIT" ]
7
2019-05-23T06:57:01.000Z
2022-03-09T06:24:29.000Z
sssp-cuda/src/util.cpp
aaron-zou/sssp-fpga
6ea890f159176695a50f1d7bc2ed1406d1d8599c
[ "MIT" ]
null
null
null
sssp-cuda/src/util.cpp
aaron-zou/sssp-fpga
6ea890f159176695a50f1d7bc2ed1406d1d8599c
[ "MIT" ]
1
2018-08-11T09:55:33.000Z
2018-08-11T09:55:33.000Z
#include "util.h" #include "pthread.h" #include <algorithm> #include <cmath> #include <fstream> #include <iostream> #include <random> #include <sstream> #include <stdexcept> using std::vector; namespace util { vector<Point> random_centroids(int k, size_t num_features) { auto centroids = vector<Point>{}; for (in...
28.5
79
0.589474
aeonstasis
77df632bbbfa0e752892dc546e7ab3f57d91f611
5,026
cpp
C++
examples/cpp/train_relation_extraction/train_relation_extraction_example.cpp
maxmert/nlp-mitie
ec3153ef2fe7a80e7cf3d80d14b388b8cd679343
[ "Unlicense" ]
2,695
2015-01-01T21:13:47.000Z
2022-03-31T04:45:32.000Z
examples/cpp/train_relation_extraction/train_relation_extraction_example.cpp
maxmert/nlp-mitie
ec3153ef2fe7a80e7cf3d80d14b388b8cd679343
[ "Unlicense" ]
208
2015-01-23T19:29:07.000Z
2022-02-08T02:55:17.000Z
examples/cpp/train_relation_extraction/train_relation_extraction_example.cpp
maxmert/nlp-mitie
ec3153ef2fe7a80e7cf3d80d14b388b8cd679343
[ "Unlicense" ]
567
2015-01-06T19:22:19.000Z
2022-03-21T17:01:04.000Z
/* This example shows how to use the MITIE C++ API to train a binary_relation_detector. */ #include <mitie/binary_relation_detector_trainer.h> #include <iostream> using namespace dlib; using namespace std; using namespace mitie; // ------------------------------------------------------------------------------...
46.110092
154
0.653999
maxmert
77e16feec06706c51b625123d38efe49715bdf6c
11,574
cpp
C++
src/Character.cpp
dinodeck/dinodeck
091f0e31ba9e921eab7fa6dd219f5c40ea3ed78c
[ "MIT" ]
110
2016-06-23T23:07:23.000Z
2022-03-25T03:18:16.000Z
src/Character.cpp
dinodeck/dinodeck
091f0e31ba9e921eab7fa6dd219f5c40ea3ed78c
[ "MIT" ]
9
2016-06-24T13:20:01.000Z
2020-05-05T18:43:46.000Z
src/Character.cpp
dinodeck/dinodeck
091f0e31ba9e921eab7fa6dd219f5c40ea3ed78c
[ "MIT" ]
23
2016-04-26T23:37:13.000Z
2021-09-27T07:10:08.000Z
#include "Character.h" #include <assert.h> #include "DDLog.h" #include "Game.h" #include "GraphicsPipeline.h" #include "LuaState.h" #include "reflect/Reflect.h" #include "Renderer.h" #ifdef ANDROID #include <FTGL/ftgles.h> #include "FTGL/../FTGlyph/FTTextureGlyphImpl.h" #else #include <FTGL/ftgl.h> #...
28.437346
91
0.601089
dinodeck
77e4dfad08f0efdffaa89ee51592d1c3d686193c
284
hpp
C++
src/player/humanplayer.hpp
josselinauguste/pongo0
cb5d1ed3fa4e7fbaf1eaf8b39e7a923a5bf44776
[ "Unlicense" ]
null
null
null
src/player/humanplayer.hpp
josselinauguste/pongo0
cb5d1ed3fa4e7fbaf1eaf8b39e7a923a5bf44776
[ "Unlicense" ]
null
null
null
src/player/humanplayer.hpp
josselinauguste/pongo0
cb5d1ed3fa4e7fbaf1eaf8b39e7a923a5bf44776
[ "Unlicense" ]
null
null
null
#ifndef HUMANPLAYERH #define HUMANPLAYERH #include "localplayer.hpp" class Game; class CL_Vector; class HumanPlayer : public LocalPlayer { public: HumanPlayer(SIDE, float, float, float, std::string); ~HumanPlayer(); virtual void updateInfos(unsigned int); private: }; #endif
13.52381
53
0.753521
josselinauguste
77ecc4013888764d65ec5df85e1859471df206e5
11,875
hpp
C++
include/ph_parser/lexer.hpp
phiwen96/ph_parser
c729f960867e0f2a233609cb61910ea692f66cab
[ "Apache-2.0" ]
null
null
null
include/ph_parser/lexer.hpp
phiwen96/ph_parser
c729f960867e0f2a233609cb61910ea692f66cab
[ "Apache-2.0" ]
null
null
null
include/ph_parser/lexer.hpp
phiwen96/ph_parser
c729f960867e0f2a233609cb61910ea692f66cab
[ "Apache-2.0" ]
null
null
null
#pragma once #include "token.hpp" #include "expression.hpp" #include <ph_coroutines/co_promise.hpp> #include <ph_coroutines/i_was_co_awaited_and_now_i_am_suspending.hpp> #include <experimental/coroutine> #include <ph_vari/vari.hpp> #include <ph_type/type.hpp> using namespace std; using namespace experimental; //stru...
25.815217
116
0.401347
phiwen96
77f372ac14b1d224a343af75041505efcc94cd94
3,218
hpp
C++
modules/core/sdk/include/nt2/core/container/view/adapted/view_type.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/sdk/include/nt2/core/container/view/adapted/view_type.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/sdk/include/nt2/core/container/view/adapted/view_type.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2009 - 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2014 NumScale SAS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LI...
39.728395
80
0.474208
psiha
af80aab144d6ba161863e0dbc8e057ea6490d296
15,181
cpp
C++
NoiseStudioLib/NoiseStudioLib/graph.cpp
SneakyMax/NoiseStudio
b0c3c72e787d61b798acbcd2147f36e1e78f5bad
[ "Unlicense" ]
null
null
null
NoiseStudioLib/NoiseStudioLib/graph.cpp
SneakyMax/NoiseStudio
b0c3c72e787d61b798acbcd2147f36e1e78f5bad
[ "Unlicense" ]
null
null
null
NoiseStudioLib/NoiseStudioLib/graph.cpp
SneakyMax/NoiseStudio
b0c3c72e787d61b798acbcd2147f36e1e78f5bad
[ "Unlicense" ]
null
null
null
#include "graph.h" #include "utils.h" #include "nodes/uniform_buffer.h" #include "nodes/attribute_buffer.h" #include "graph_executor.h" namespace noises { Graph::Graph() : id_counter_(0), in_refresh_after_(false) { } int Graph::add_node(std::unique_ptr<GraphNode> node) { node->set_id(i...
35.804245
179
0.629076
SneakyMax
af86ca4059d46eabc3c409f79b3b7e1703633161
1,498
hpp
C++
libs/python/include/python/service/py_feed_subscription_manager.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
3
2019-07-11T08:49:27.000Z
2021-09-07T16:49:15.000Z
libs/python/include/python/service/py_feed_subscription_manager.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/python/include/python/service/py_feed_subscription_manager.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
2
2019-07-13T12:45:22.000Z
2021-03-12T08:48:57.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
37.45
80
0.640854
devjsc
af8a02303398d3927b135864e03492be0f564544
503
cpp
C++
game/src/component/player_paddle.cpp
IsmailSamir/BreakOut-Game
b2ddc413a39cfd677d585f2d9968262a53b2165d
[ "BSD-3-Clause" ]
null
null
null
game/src/component/player_paddle.cpp
IsmailSamir/BreakOut-Game
b2ddc413a39cfd677d585f2d9968262a53b2165d
[ "BSD-3-Clause" ]
null
null
null
game/src/component/player_paddle.cpp
IsmailSamir/BreakOut-Game
b2ddc413a39cfd677d585f2d9968262a53b2165d
[ "BSD-3-Clause" ]
null
null
null
#include "component/player_paddle.h" using namespace glm; namespace bko { Player_Paddle player_paddle_new(const Texture& texture, const vec2& position, const vec2& size, const vec2& velocity) { Player_Paddle self{}; self.sprite.texture = texture; self.sprite.color = vec3{ 1.0f, 1.0f , 1.0f }; self.sprite....
19.346154
104
0.719682
IsmailSamir
af8c5b76acd26c8cd35d5aba0cacac3e19013dcc
776
cpp
C++
PressureEngineCore/Src/Graphics/PostProcessing/Contrast/ContrastShader.cpp
Playturbo/PressureEngine
6b023165fcaecb267e13cf5532ea26a8da3f1450
[ "MIT" ]
1
2017-09-13T13:29:27.000Z
2017-09-13T13:29:27.000Z
PressureEngineCore/Src/Graphics/PostProcessing/Contrast/ContrastShader.cpp
Playturbo/PressureEngine
6b023165fcaecb267e13cf5532ea26a8da3f1450
[ "MIT" ]
null
null
null
PressureEngineCore/Src/Graphics/PostProcessing/Contrast/ContrastShader.cpp
Playturbo/PressureEngine
6b023165fcaecb267e13cf5532ea26a8da3f1450
[ "MIT" ]
1
2019-01-18T07:16:59.000Z
2019-01-18T07:16:59.000Z
#include "ContrastShader.h" namespace Pressure { const std::string ContrastShader::s_VertexShader = R"(#version 140 in vec2 position; out vec2 textureCoords; void main(void) { gl_Position = vec4(position, 0.0, 1.0); textureCoords = position * 0.5 + 0.5; })"; const std::string ContrastShader::s_FragmentShad...
17.244444
64
0.715206
Playturbo
af8ecfffc96391390d14fcced63f2f43fb0677d7
22,128
cpp
C++
csapex_point_cloud/src/visualization/cloud_renderer_adapter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
2
2016-09-02T15:33:22.000Z
2019-05-06T22:09:33.000Z
csapex_point_cloud/src/visualization/cloud_renderer_adapter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
1
2021-02-14T19:53:30.000Z
2021-02-14T19:53:30.000Z
csapex_point_cloud/src/visualization/cloud_renderer_adapter.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
6
2016-10-12T00:55:23.000Z
2021-02-10T17:49:25.000Z
/// HEADER #include "cloud_renderer_adapter.h" /// PROJECT #include <csapex/model/node_facade_impl.h> #include <csapex/msg/io.h> #include <csapex/param/set_parameter.h> #include <csapex/view/utility/register_node_adapter.h> #include <csapex_point_cloud/msg/point_cloud_message.h> /// SYSTEM #include <QtOpenGL> #includ...
26.596154
154
0.59906
AdrianZw
af8ed14c28407ef5fee4a1d02e840d3173a2eecf
28,605
cpp
C++
Source/Graphics/GteShader.cpp
vehsakul/gtl
498bb20947e9ff21c08dd5a884ac3dc6f8313bb9
[ "BSL-1.0" ]
null
null
null
Source/Graphics/GteShader.cpp
vehsakul/gtl
498bb20947e9ff21c08dd5a884ac3dc6f8313bb9
[ "BSL-1.0" ]
null
null
null
Source/Graphics/GteShader.cpp
vehsakul/gtl
498bb20947e9ff21c08dd5a884ac3dc6f8313bb9
[ "BSL-1.0" ]
null
null
null
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2016 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // File Version: 3.0.0 (2016/06/19) #include <GTEnginePCH.h> #include <Graph...
33.184455
113
0.581052
vehsakul
af92c6b864d1d5a23b6d0b66c006dbfb2017bac7
800
cpp
C++
app/editor/editor_app.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
5
2017-12-28T08:22:20.000Z
2022-03-30T01:26:17.000Z
app/editor/editor_app.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
app/editor/editor_app.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
/** * Runa C++ Library * Copyright (c) 2017-2019 walkinsky:lyh6188(at)hotmail(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) */ // Created on 2018/11/09 #include "stdafx.h" #include "editor_app.h" using...
17.777778
62
0.61875
walkinsky8
af980276f44f4250fc4a513282b4e4d59875bb6a
7,504
cpp
C++
triangle/main.cpp
amecky/ds_sandbox
f31e69f72a76c40aeb0fa3e3fbe9b651660df770
[ "MIT" ]
1
2017-09-28T19:41:04.000Z
2017-09-28T19:41:04.000Z
triangle/main.cpp
amecky/ds_sandbox
f31e69f72a76c40aeb0fa3e3fbe9b651660df770
[ "MIT" ]
null
null
null
triangle/main.cpp
amecky/ds_sandbox
f31e69f72a76c40aeb0fa3e3fbe9b651660df770
[ "MIT" ]
null
null
null
#define DS_IMPLEMENTATION #define DS_MATH_IMPLEMENTATION #include <diesel.h> #include "Triangle_VS_Main.h" #include "Triangle_PS_Main.h" #include "Camera.h" static const ds::Color COLORS[] = { ds::Color(255,0,0,255), ds::Color(0,255,0,255), ds::Color(255,255,0,255), ds::Color(0,0,255,255), ds::Color(32,32,32,255)...
29.3125
155
0.600213
amecky
af996685901d480ecac762916235176f4aaed8c7
301
hpp
C++
examples/send_inline/include/send_inline.hpp
nathanielhourt/eosio.cdt
798162d323680fa6d4691bcea7928729213c7172
[ "MIT" ]
476
2018-09-07T01:27:11.000Z
2022-03-21T05:16:50.000Z
examples/send_inline/include/send_inline.hpp
eosio-cmd/eosio.cdt
ac7161e702856711503933a8631d3005a55e0b98
[ "MIT" ]
594
2018-09-06T02:03:01.000Z
2022-03-23T19:18:26.000Z
examples/send_inline/include/send_inline.hpp
eosio-cmd/eosio.cdt
ac7161e702856711503933a8631d3005a55e0b98
[ "MIT" ]
349
2018-09-06T05:02:09.000Z
2022-03-12T11:07:17.000Z
#include <eosio/eosio.hpp> using namespace eosio; class [[eosio::contract]] send_inline : public contract { public: using contract::contract; [[eosio::action]] void test( name user, name inline_code ); using test_action = action_wrapper<"test"_n, &send_inline::test>; };
23.153846
71
0.671096
nathanielhourt
af997b1c0250dd6daf582b90502b71c0a288bbe3
230
hpp
C++
src/entity.hpp
WesOfX/block-game
0f52a7668cade1481a3beb659885462274dc9369
[ "MIT" ]
null
null
null
src/entity.hpp
WesOfX/block-game
0f52a7668cade1481a3beb659885462274dc9369
[ "MIT" ]
null
null
null
src/entity.hpp
WesOfX/block-game
0f52a7668cade1481a3beb659885462274dc9369
[ "MIT" ]
null
null
null
#pragma once #include "vec3.hpp" struct entity{ typedef vec3<float> position_type; position_type position, velocity; void move(const position_type& offset); void accelerate(const position_type& amount); void update(); };
17.692308
46
0.756522
WesOfX
af9b9097e1c293e81052ffd85b56171a4b8015bb
161
hpp
C++
src/left09.hpp
nghiaho12/OpenCV_camera_in_OpenGL
bce72d57fdb21b44671be826d61bc2b7c1e3210c
[ "BSD-2-Clause" ]
4
2021-03-04T20:52:07.000Z
2022-03-26T05:49:54.000Z
src/left09.hpp
nghiaho12/OpenCV_camera_in_OpenGL
bce72d57fdb21b44671be826d61bc2b7c1e3210c
[ "BSD-2-Clause" ]
null
null
null
src/left09.hpp
nghiaho12/OpenCV_camera_in_OpenGL
bce72d57fdb21b44671be826d61bc2b7c1e3210c
[ "BSD-2-Clause" ]
3
2021-01-04T11:18:29.000Z
2021-08-04T03:29:36.000Z
#pragma once // left09.jpg from OpenCV sample directory converted to raw char array int left09_width(); int left09_height(); const unsigned char *left09_data();
26.833333
70
0.782609
nghiaho12
af9ff4a5b82392bbada2faf07045d0043c8cf74f
5,355
cpp
C++
VC2015Samples/Hilo/C++/Common/source/WindowLayout.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2015Samples/Hilo/C++/Common/source/WindowLayout.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2015Samples/Hilo/C++/Common/source/WindowLayout.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
//=================================================================================== // Copyright (c) Microsoft Corporation. All rights reserved. // // THIS CODE AND INFORMATION IS PROVIDED 'AS IS' WITHOUT WARRA...
25.869565
118
0.588609
alonmm
afa03a142d245a57c4963fd03c8a7117d116f404
9,084
cpp
C++
Source/Engine/Core/RHI/D3D12/D3D12DescriptorHeap.cpp
flygod1159/Kaguya
47dbb3940110ed490d0b70eed31383cfc82bc8df
[ "MIT" ]
1
2022-01-13T16:32:40.000Z
2022-01-13T16:32:40.000Z
Source/Engine/Core/RHI/D3D12/D3D12DescriptorHeap.cpp
flygod1159/Kaguya
47dbb3940110ed490d0b70eed31383cfc82bc8df
[ "MIT" ]
null
null
null
Source/Engine/Core/RHI/D3D12/D3D12DescriptorHeap.cpp
flygod1159/Kaguya
47dbb3940110ed490d0b70eed31383cfc82bc8df
[ "MIT" ]
null
null
null
#include "D3D12DescriptorHeap.h" #include "D3D12LinkedDevice.h" D3D12DescriptorHeap::D3D12DescriptorHeap( D3D12LinkedDevice* Parent, D3D12_DESCRIPTOR_HEAP_TYPE Type, UINT NumDescriptors) : D3D12LinkedDeviceChild(Parent) , DescriptorHeap(InitializeDescriptorHeap(Type, NumDescriptors)) , Desc(Descriptor...
31.003413
127
0.753853
flygod1159
afa190c8dd26326b593ca248739b5016b5e882c9
10,706
cpp
C++
src/testindex.cpp
maciejwlodek/blend
00c892363876692c5370def0e37a106ad5f7b07e
[ "BSD-3-Clause" ]
null
null
null
src/testindex.cpp
maciejwlodek/blend
00c892363876692c5370def0e37a106ad5f7b07e
[ "BSD-3-Clause" ]
null
null
null
src/testindex.cpp
maciejwlodek/blend
00c892363876692c5370def0e37a106ad5f7b07e
[ "BSD-3-Clause" ]
1
2019-01-24T16:14:56.000Z
2019-01-24T16:14:56.000Z
// testindex.cpp #include "pointless.hh" #include "testindex.hh" #include "normalise.hh" #include "normaliseunmerge.hh" #include "average.hh" #include "getCCsigfac.hh" namespace scala { //-------------------------------------------------------------- std::vector<ReindexScore> TestIndexUnmerged (hkl_merged_list...
36.047138
114
0.638427
maciejwlodek
afaee8716123bfc54d496c4999db57418c7dea4c
3,137
cpp
C++
Source/managementBS.cpp
L0mion/Makes-a-Click
c7f53a53ea3a58da027ea5f00176352edb914718
[ "MIT" ]
1
2016-04-28T06:24:15.000Z
2016-04-28T06:24:15.000Z
Source/managementBS.cpp
L0mion/Makes-a-Click
c7f53a53ea3a58da027ea5f00176352edb914718
[ "MIT" ]
null
null
null
Source/managementBS.cpp
L0mion/Makes-a-Click
c7f53a53ea3a58da027ea5f00176352edb914718
[ "MIT" ]
null
null
null
#include "managementBS.h" #include "utility.h" ManagementBS::ManagementBS() { for( int bsIdx=0; bsIdx<BSTypes_CNT; bsIdx++ ) { m_blendStates[bsIdx] = NULL; } } ManagementBS::~ManagementBS() { for( int bsIdx=0; bsIdx<BSTypes_CNT; bsIdx++ ) { SAFE_RELEASE( m_blendStates[bsIdx] ); } } void ManagementBS::setBle...
30.163462
145
0.768569
L0mion
afb099f57cd2be83f6b9d147a38492a729f9a1d6
464
hpp
C++
src/neo/sqlite3/blob.hpp
vector-of-bool/neo-sqlite3
149b762f983126e26502a9625659706eab0dcc25
[ "BSL-1.0" ]
4
2019-11-13T09:11:03.000Z
2022-03-11T01:00:45.000Z
src/neo/sqlite3/blob.hpp
vector-of-bool/neo-sqlite3
149b762f983126e26502a9625659706eab0dcc25
[ "BSL-1.0" ]
null
null
null
src/neo/sqlite3/blob.hpp
vector-of-bool/neo-sqlite3
149b762f983126e26502a9625659706eab0dcc25
[ "BSL-1.0" ]
null
null
null
#pragma once #include <utility> namespace neo::sqlite3 { class connection; class blob { friend class connection_ref; void* _ptr = nullptr; struct from_raw {}; blob(from_raw, void* ptr) : _ptr(ptr) {} public: ~blob(); blob(blob&& o) : _ptr(std::exchange(o._ptr, nullptr)) {...
16
49
0.584052
vector-of-bool
afb65b2f7cf6ceb50ce34e77ed2aa092768ea9ac
45,434
cpp
C++
src/Compiler.cpp
mita4829/Pine
0269d466eaf3b228745def5cec7796d257aa90a1
[ "MIT" ]
1
2018-07-07T21:16:00.000Z
2018-07-07T21:16:00.000Z
src/Compiler.cpp
mita4829/Pine
0269d466eaf3b228745def5cec7796d257aa90a1
[ "MIT" ]
1
2018-07-07T17:14:58.000Z
2018-07-08T18:17:14.000Z
src/Compiler.cpp
mita4829/Pine
0269d466eaf3b228745def5cec7796d257aa90a1
[ "MIT" ]
null
null
null
#include "Compiler.hpp" CompilerResult EmptyResult; string requestTmpVarName(){ LOG("Compiler:requestTmpVarName"); static Int32 id = -1; id += 1; return "var" + to_string(id); } Int32 align32ByteStack(Int32 varCount){ const Int32 ALIGNMENT = 32; Int32 byteCount = varCount * ARCH64; Int...
34.263952
105
0.521438
mita4829
afba28db80716d54652e33545d25b1b91e6b5dd7
1,789
hpp
C++
include/uri/uri.hpp
ledocc/uri
0767d923f7d1690e495ddca8a84352746b572904
[ "BSL-1.0" ]
null
null
null
include/uri/uri.hpp
ledocc/uri
0767d923f7d1690e495ddca8a84352746b572904
[ "BSL-1.0" ]
null
null
null
include/uri/uri.hpp
ledocc/uri
0767d923f7d1690e495ddca8a84352746b572904
[ "BSL-1.0" ]
null
null
null
#ifndef uri__uri_hpp #define uri__uri_hpp #include <uri/basic_uri.hpp> #include <uri/parsers/rules/uri/fragment.hpp> #include <uri/parsers/rules/uri/host.hpp> #include <uri/parsers/rules/uri/path.hpp> #include <uri/parsers/rules/uri/port.hpp> #include <uri/parsers/rules/uri/query.hpp> #include <uri/parsers/rules/uri...
35.78
96
0.618781
ledocc
afbad93be7334b61e37a15c16d63fecb541a6b9a
442
cpp
C++
displayOverload.cpp
compliment/cpp-tasks
31c5771e97c319860a1b546c68d92601b77e0223
[ "Unlicense" ]
null
null
null
displayOverload.cpp
compliment/cpp-tasks
31c5771e97c319860a1b546c68d92601b77e0223
[ "Unlicense" ]
null
null
null
displayOverload.cpp
compliment/cpp-tasks
31c5771e97c319860a1b546c68d92601b77e0223
[ "Unlicense" ]
null
null
null
#include<iostream> using namespace std; template <class T> void display(const T & a) { cout << a << endl; } template <class T> void display(const T & a, const int n) //overloaded version of display() { int ctr; for(ctr=0;ctr<n;ctr++) cout << a << endl; } int main() { char c = 'a'; int i = 10...
14.733333
73
0.574661
compliment
afc7d73c50c66c6be85300345be71330b6eda4ef
1,207
cpp
C++
src/parsing/mSetParser.cpp
athanor/athanor
0e7a654c360be05dc6f6e50427b2ee3df92c1aaf
[ "BSD-3-Clause" ]
4
2018-08-31T09:44:52.000Z
2021-03-01T19:10:00.000Z
src/parsing/mSetParser.cpp
athanor/athanor
0e7a654c360be05dc6f6e50427b2ee3df92c1aaf
[ "BSD-3-Clause" ]
21
2019-12-29T08:33:34.000Z
2020-11-22T16:38:37.000Z
src/parsing/mSetParser.cpp
athanor/athanor
0e7a654c360be05dc6f6e50427b2ee3df92c1aaf
[ "BSD-3-Clause" ]
null
null
null
#include <algorithm> #include "parsing/parserCommon.h" #include "types/mSetVal.h" using namespace std; using namespace lib; using namespace nlohmann; shared_ptr<MSetDomain> parseDomainMSet(json& mSetDomainExpr, ParsedModel& parsedModel) { SizeAttr sizeAttr = parseSizeAttr(mSet...
40.233333
80
0.657829
athanor
afc91090961c3bef164251d716eb7aad1da465a2
1,246
cc
C++
0236_Lowest_Common_Ancestor_of_a_Binary_Tree/0236.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
0236_Lowest_Common_Ancestor_of_a_Binary_Tree/0236.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
0236_Lowest_Common_Ancestor_of_a_Binary_Tree/0236.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
#include <set> #include <vector> using std::vector; using std::set; // Definition for a binary tree node. struct TreeNode { int val; TreeNode* left; TreeNode* right; TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} }; class Solution { public: TreeNode* lowestCommonAncestor(TreeNode* root, TreeN...
27.688889
135
0.666934
LuciusKyle
afcfee485a254d48f6d3bc3cee8c58e573af849b
7,188
cc
C++
src/cmapfile.cc
h20y6m/HaranoAjiFonts-generator
a8f15232154201635ab38b454056af15b6c515c8
[ "BSD-2-Clause" ]
7
2019-03-04T03:16:49.000Z
2022-02-26T08:02:12.000Z
src/cmapfile.cc
h20y6m/HaranoAjiFonts-generator
a8f15232154201635ab38b454056af15b6c515c8
[ "BSD-2-Clause" ]
3
2020-02-09T08:19:56.000Z
2020-04-15T15:31:55.000Z
src/cmapfile.cc
h20y6m/HaranoAjiFonts-generator
a8f15232154201635ab38b454056af15b6c515c8
[ "BSD-2-Clause" ]
3
2019-04-16T11:17:10.000Z
2020-02-18T03:55:46.000Z
// // Harano Aji Fonts generator // https://github.com/trueroad/HaranoAjiFonts-generator // // cmapfile.cc: // read CMap file (UTF-32 to pre-defined CID) and create map // // Copyright (C) 2019, 2020 Masamichi Hosoda. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // ...
26.043478
78
0.570534
h20y6m
afd005abc339d89edfa6749a035e0d477df3ffa2
1,262
cpp
C++
Source Code/AI/ActionInterface/AIProcessor.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
9
2018-05-02T19:53:41.000Z
2021-10-18T18:30:47.000Z
Source Code/AI/ActionInterface/AIProcessor.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
7
2018-02-01T12:16:43.000Z
2019-10-21T14:03:43.000Z
Source Code/AI/ActionInterface/AIProcessor.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
1
2020-09-08T03:28:22.000Z
2020-09-08T03:28:22.000Z
#include "stdafx.h" #include "Headers/AIProcessor.h" #include "AI/Headers/AIManager.h" namespace Divide::AI { AIProcessor::AIProcessor(AIManager& parentManager) : _entity(nullptr), _parentManager(parentManager), _currentStep(-1), _activeGoal(nullptr) { _init = false; } AI...
22.535714
80
0.656101
IonutCava
afd24d7882b448e2b83c8586a9326b17946fec5c
7,187
cpp
C++
Robocup/Thread/Brain.cpp
MaximV88/RoboCup
7066f3f1370145cf0a7bad06a7774716cb0b4573
[ "MIT" ]
null
null
null
Robocup/Thread/Brain.cpp
MaximV88/RoboCup
7066f3f1370145cf0a7bad06a7774716cb0b4573
[ "MIT" ]
null
null
null
Robocup/Thread/Brain.cpp
MaximV88/RoboCup
7066f3f1370145cf0a7bad06a7774716cb0b4573
[ "MIT" ]
null
null
null
// // Brain.cpp // Ex3 // // Created by Maxim Vainshtein on 1/9/15. // Copyright (c) 2015 Maxim Vainshtein. All rights reserved. // #include "Brain.h" #include "Player.h" #include "BehaviorTree.h" //How many updates required to continue on Wait command #define WAIT_UPDATES 2 #define DEBUG_PRINT_EXECUTION_IND...
26.817164
105
0.581606
MaximV88
afdec9682e913ea9d7f6e66027d6adb41bf38a08
1,128
cpp
C++
codes/UVA/00001-00999/uva586.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/00001-00999/uva586.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/00001-00999/uva586.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxn = 105; int a[maxn]; char order[maxn]; void dfs (int n, int k) { int op = 0, x; while (scanf("%s", order) == 1 && strcmp(order, "END") ) { if (strcmp(order, "LOOP") == 0) { scanf("%s", order); if (strcmp(order, "...
14.842105
59
0.468972
JeraKrs
afe5dd7662ac5a986609d9553cde0cb521c962f0
1,171
cpp
C++
src/planning/RrtNode.cpp
brychanrobot/orrt-star-ros
f3dd3f2e973229fe179c785ea464e5f751f6c2a5
[ "MIT" ]
3
2017-10-19T07:32:36.000Z
2018-11-10T14:03:25.000Z
src/planning/RrtNode.cpp
brychanrobot/orrt-star-ros
f3dd3f2e973229fe179c785ea464e5f751f6c2a5
[ "MIT" ]
null
null
null
src/planning/RrtNode.cpp
brychanrobot/orrt-star-ros
f3dd3f2e973229fe179c785ea464e5f751f6c2a5
[ "MIT" ]
1
2019-12-09T13:27:49.000Z
2019-12-09T13:27:49.000Z
#include "RrtNode.hpp" using namespace std; RrtNode::RrtNode(Coord coord, shared_ptr<RrtNode> parent, double cumulativeCost) : Node(coord, parent) { this->cumulativeCost = cumulativeCost; } bool RrtNode::operator<(shared_ptr<RrtNode> rhs) { return this->heuristic < rhs->heuristic; } void RrtNode::addChild(shared_pt...
35.484848
145
0.766866
brychanrobot
afe751cff19415f82b13f363694fd4c33df6dc7b
1,367
cpp
C++
aws-cpp-sdk-wellarchitected/source/model/ListLensSharesResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-wellarchitected/source/model/ListLensSharesResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-wellarchitected/source/model/ListLensSharesResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/wellarchitected/model/ListLensSharesResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #includ...
27.34
138
0.769568
perfectrecall
afe780183b01514917bd117c7f56fc56b11f1f96
446
cpp
C++
test/Math/FFT/fft_test.cpp
YanagiAyame/AlgorithmLibrary
2769c41e0e51218072f78772d1f11a92465838e4
[ "Unlicense" ]
null
null
null
test/Math/FFT/fft_test.cpp
YanagiAyame/AlgorithmLibrary
2769c41e0e51218072f78772d1f11a92465838e4
[ "Unlicense" ]
null
null
null
test/Math/FFT/fft_test.cpp
YanagiAyame/AlgorithmLibrary
2769c41e0e51218072f78772d1f11a92465838e4
[ "Unlicense" ]
1
2020-02-09T17:22:04.000Z
2020-02-09T17:22:04.000Z
#define PROBLEM "https://atcoder.jp/contests/atc001/tasks/fft_c" #include <src/Math/FFT/fft.hpp> #include <complex> #include <iostream> #include <vector> int main() { int n; std::cin >> n; std::vector<std::complex<double>> v(n + 1), w(n + 1); for (int i = 1; i <= n; ++i) { std::cin >> v[i] >> w[i]; } auto an...
20.272727
64
0.560538
YanagiAyame
afeb4311d72bf36bc4a8e7a638fe641ecb85c46d
77
hpp
C++
Firmware/firmware_tests/stubs/interfaces/spi/mocked_spi.hpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
39
2019-10-23T12:06:16.000Z
2022-01-26T04:28:29.000Z
Firmware/firmware_tests/stubs/interfaces/spi/mocked_spi.hpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
20
2020-03-21T20:21:46.000Z
2021-11-19T14:34:03.000Z
Firmware/firmware_tests/stubs/interfaces/spi/mocked_spi.hpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
7
2019-10-18T09:44:10.000Z
2021-06-11T13:05:16.000Z
#pragma once namespace Mocked::Interface { } // namespace Mocked::Interface
12.833333
32
0.753247
ValentiWorkLearning
afef1da6f97c951d69bc14d8136683adc00155c5
1,257
cpp
C++
classes/ftest10read.cpp
angusoutlook/OOProgrammingInCpp
42c66b2652d4814e4f8b31d060189bd853cce416
[ "FSFAP" ]
null
null
null
classes/ftest10read.cpp
angusoutlook/OOProgrammingInCpp
42c66b2652d4814e4f8b31d060189bd853cce416
[ "FSFAP" ]
null
null
null
classes/ftest10read.cpp
angusoutlook/OOProgrammingInCpp
42c66b2652d4814e4f8b31d060189bd853cce416
[ "FSFAP" ]
null
null
null
/* The following code example is taken from the book * "Object-Oriented Programming in C++" * by Nicolai M. Josuttis, Wiley, 2002 * * (C) Copyright Nicolai M. Josuttis 2002. * Permission to copy, use, modify, sell and distribute this software * is granted provided this copyright notice appears in all copies. * T...
33.078947
69
0.571201
angusoutlook
aff55e9ee0db0a480ad7d2bc87e985a280b4e51d
5,975
hh
C++
src/common/types.hh
danieldeankon/hypertrace
d58a6ea28af45b875c477df4065667e9b4b88a49
[ "MIT" ]
null
null
null
src/common/types.hh
danieldeankon/hypertrace
d58a6ea28af45b875c477df4065667e9b4b88a49
[ "MIT" ]
null
null
null
src/common/types.hh
danieldeankon/hypertrace
d58a6ea28af45b875c477df4065667e9b4b88a49
[ "MIT" ]
null
null
null
#pragma once #ifdef OPENCL typedef uchar uint8_t; typedef char int8_t; typedef ushort uint16_t; typedef short int16_t; typedef uint uint32_t; typedef int int32_t; #define make_int2 (int2) #define make_int3 (int3) #define make_int4 (int4) #define make_uint2 (uint2) #define make_uint3 (uint3) #define make_ui...
26.438053
92
0.737406
danieldeankon
aff6ddd67afbcd455688d9a6bff49471998d0f99
148
cpp
C++
Codeforces/Cards.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/Cards.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/Cards.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
//https://codeforces.com/problemset/problem/1220/A #include<bits/stdc++.h> using namespace std; #define aakriti long long int int main() { }
18.5
51
0.702703
canis-majoris123
aff714228867d16a550671164fbb2bb322243060
1,343
hpp
C++
bulletgba/generator/data/code/daiouzyou/round_4_boss_1.hpp
pqrs-org/BulletGBA
a294007902970242b496f2528b4762cfef22bc86
[ "Unlicense" ]
5
2020-03-24T07:44:49.000Z
2021-08-30T14:43:31.000Z
bulletgba/generator/data/code/daiouzyou/round_4_boss_1.hpp
pqrs-org/BulletGBA
a294007902970242b496f2528b4762cfef22bc86
[ "Unlicense" ]
null
null
null
bulletgba/generator/data/code/daiouzyou/round_4_boss_1.hpp
pqrs-org/BulletGBA
a294007902970242b496f2528b4762cfef22bc86
[ "Unlicense" ]
null
null
null
#ifndef GENERATED_1e778d101ffc91be48d0fa7f5de68e83_HPP #define GENERATED_1e778d101ffc91be48d0fa7f5de68e83_HPP #include "bullet.hpp" void stepfunc_5aa98bab57516922045abb7f2c427635_67282d4d149d442e6a0edf83bf861696(BulletInfo *p); void stepfunc_e4547dce74c2f31cf07f256255486988_67282d4d149d442e6a0edf83bf861696(Bullet...
55.958333
104
0.908414
pqrs-org
9b85bed7e052f21b6e18cb40b5d9bce010e42075
7,937
cpp
C++
stack.cpp
malaise/xfreecell
b44169ac15e82f7cbc5379f8ba8b818e9faab611
[ "Unlicense" ]
1
2021-05-01T16:29:08.000Z
2021-05-01T16:29:08.000Z
stack.cpp
malaise/xfreecell
b44169ac15e82f7cbc5379f8ba8b818e9faab611
[ "Unlicense" ]
null
null
null
stack.cpp
malaise/xfreecell
b44169ac15e82f7cbc5379f8ba8b818e9faab611
[ "Unlicense" ]
null
null
null
#include <cstdio> #ifdef SHAPE #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/extensions/shape.h> #endif #include "card.h" #include "freecell.h" #include "general.h" #include "option.h" #include "stack.h" #include "util.h" #ifdef SHAPE #include "boundingMask.bm" #include "clipMask.bm" #endif extern Displa...
21.05305
93
0.628449
malaise
9b88a0f21bf503848ae2f356eb16ba20c29c4673
907
cpp
C++
EndGame/EndGame/Src/SubSystems/RenderSubSystem/OpenGlContext.cpp
siddharthgarg4/EndGame
ba608714b3eacb5dc05d0c852db573231c867d8b
[ "MIT" ]
null
null
null
EndGame/EndGame/Src/SubSystems/RenderSubSystem/OpenGlContext.cpp
siddharthgarg4/EndGame
ba608714b3eacb5dc05d0c852db573231c867d8b
[ "MIT" ]
null
null
null
EndGame/EndGame/Src/SubSystems/RenderSubSystem/OpenGlContext.cpp
siddharthgarg4/EndGame
ba608714b3eacb5dc05d0c852db573231c867d8b
[ "MIT" ]
null
null
null
// // OpenGlContext.cpp // // // Created by Siddharth on 05/06/20. // #include "OpenGlContext.hpp" #include <glad/glad.h> namespace EndGame { OpenGlContext::OpenGlContext(GLFWwindow *windowHandle) : windowHandle(windowHandle) { EG_ENGINE_ASSERT(windowHandle, "Window handle cannot be null") } ...
29.258065
90
0.679162
siddharthgarg4
9b910255eb107185c8417d1e03c8d7dd6d978018
212
cpp
C++
source/dodbm/builders/delete_data.cpp
WopsS/dodbm
053f0a6b90e1e081b07418a91cf1f3420d69e390
[ "MIT" ]
1
2021-02-19T07:22:21.000Z
2021-02-19T07:22:21.000Z
source/dodbm/builders/delete_data.cpp
WopsS/dodbm
053f0a6b90e1e081b07418a91cf1f3420d69e390
[ "MIT" ]
null
null
null
source/dodbm/builders/delete_data.cpp
WopsS/dodbm
053f0a6b90e1e081b07418a91cf1f3420d69e390
[ "MIT" ]
null
null
null
#include <dodbm/builders/delete_data.hpp> const dodbm::builders::delete_data& dodbm::builders::delete_data::from(const std::string& table_name) const { m_operation->set_table(table_name); return *this; }
30.285714
107
0.754717
WopsS
9b949a8381fb00a020fc93639e1488f89fd42d29
217
cpp
C++
Libraries/LibHTML/DOM/HTMLHeadingElement.cpp
JamiKettunen/serenity
232da5cc188496f570ef55276a897f1095509c87
[ "BSD-2-Clause" ]
3
2020-05-01T02:39:03.000Z
2021-11-26T08:34:54.000Z
Libraries/LibHTML/DOM/HTMLHeadingElement.cpp
JamiKettunen/serenity
232da5cc188496f570ef55276a897f1095509c87
[ "BSD-2-Clause" ]
null
null
null
Libraries/LibHTML/DOM/HTMLHeadingElement.cpp
JamiKettunen/serenity
232da5cc188496f570ef55276a897f1095509c87
[ "BSD-2-Clause" ]
1
2021-08-03T13:04:49.000Z
2021-08-03T13:04:49.000Z
#include <LibHTML/DOM/HTMLHeadingElement.h> HTMLHeadingElement::HTMLHeadingElement(Document& document, const String& tag_name) : HTMLElement(document, tag_name) { } HTMLHeadingElement::~HTMLHeadingElement() { }
19.727273
82
0.78341
JamiKettunen
9b977c64be8d76406cf37c9dd5efe5afe8a427da
22,827
cpp
C++
libmultidisplay/native/MultiDisplayService.cpp
zenfone-6/android_device_asus_a600cg
1073b3cae60b0e877c47f33048a7979bf3a96428
[ "Apache-2.0" ]
1
2021-11-21T21:45:36.000Z
2021-11-21T21:45:36.000Z
libmultidisplay/native/MultiDisplayService.cpp
zenfone-6/android_device_asus_a600cg
1073b3cae60b0e877c47f33048a7979bf3a96428
[ "Apache-2.0" ]
null
null
null
libmultidisplay/native/MultiDisplayService.cpp
zenfone-6/android_device_asus_a600cg
1073b3cae60b0e877c47f33048a7979bf3a96428
[ "Apache-2.0" ]
6
2016-03-01T16:25:22.000Z
2022-03-02T03:54:14.000Z
/* * Copyright (c) 2012-2013, Intel Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
40.11775
163
0.718973
zenfone-6
9b9e42fb2d72aad7cda074e8dfa40b607ef8d8db
6,378
cpp
C++
Image And Video Processing/Lab/Lab01/exercise01/ColorTransformer.cpp
source-reference/digital-image-processing
dc90b569677b31dfeabfb8740a2d8b4ccb167ce9
[ "Apache-2.0" ]
null
null
null
Image And Video Processing/Lab/Lab01/exercise01/ColorTransformer.cpp
source-reference/digital-image-processing
dc90b569677b31dfeabfb8740a2d8b4ccb167ce9
[ "Apache-2.0" ]
null
null
null
Image And Video Processing/Lab/Lab01/exercise01/ColorTransformer.cpp
source-reference/digital-image-processing
dc90b569677b31dfeabfb8740a2d8b4ccb167ce9
[ "Apache-2.0" ]
null
null
null
#include "ColorTransformer.h" int ColorTransformer::ChangeBrighness(const Mat &sourceImage, Mat &destinationImage, short b) { if (sourceImage.empty()) { return -1; } int rows = sourceImage.rows; int cols = sourceImage.cols; int chanels = sourceImage.channels(); destinationImage = ...
27.730435
179
0.510975
source-reference
9ba082f972781f9a4e40f913638ecd9a8644dc39
1,658
cpp
C++
image_ops.cpp
neil-okikiolu/working-with-tensor-rt
90252662a506d689f560f13bd1084ab3a7554184
[ "MIT" ]
5
2020-08-18T10:32:19.000Z
2021-08-09T06:06:48.000Z
image_ops.cpp
neil-okikiolu/working-with-tensor-rt
90252662a506d689f560f13bd1084ab3a7554184
[ "MIT" ]
1
2021-04-28T13:17:25.000Z
2021-04-29T01:11:31.000Z
image_ops.cpp
neil-okikiolu/working-with-tensor-rt
90252662a506d689f560f13bd1084ab3a7554184
[ "MIT" ]
2
2020-12-10T03:39:18.000Z
2021-03-18T03:24:06.000Z
/** * @author - neil okikiolu */ #include "image_ops.h" #include <iostream> #include <ctime> #include <sstream> #include <ros/ros.h> #include <cv_bridge/cv_bridge.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgcodecs.hpp> namespace imgops { void saveImage(...
25.121212
83
0.534982
neil-okikiolu
9ba8f00425c133e2f1906ad2d637833d76a53c56
2,559
cpp
C++
csr.cpp
bartlomiejn/phosphor-certificate-manager
014be0bf55ebfb930c3f158aa78fa10c9a25da1e
[ "Apache-2.0" ]
null
null
null
csr.cpp
bartlomiejn/phosphor-certificate-manager
014be0bf55ebfb930c3f158aa78fa10c9a25da1e
[ "Apache-2.0" ]
null
null
null
csr.cpp
bartlomiejn/phosphor-certificate-manager
014be0bf55ebfb930c3f158aa78fa10c9a25da1e
[ "Apache-2.0" ]
null
null
null
#include "config.h" #include "csr.hpp" #include <openssl/bio.h> #include <openssl/buffer.h> #include <openssl/ossl_typ.h> #include <openssl/pem.h> #include <openssl/x509.h> #include <cstdio> #include <filesystem> #include <memory> #include <phosphor-logging/elog-errors.hpp> #include <phosphor-logging/elog.hpp> #incl...
28.752809
80
0.645565
bartlomiejn
9baa9b0081fba3a73c352b5d6fed319305dd0cab
869
cpp
C++
113#path-sum-ii/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
113#path-sum-ii/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
113#path-sum-ii/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "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<vector<int>> ans; vector<int> cur; void calc(TreeNode* root, int su...
26.333333
77
0.487917
llwwns
9bad6d90f3d22cfee7626efc26c437381e604dd4
818
cpp
C++
D3DApplication/App/AppHelpers/Renderer/ClearPass.cpp
d4rkz3r0/GPU-Vertex-Skinning-Animation-Project
f9667992e49599038ee2f46b014ea205fafcb6c3
[ "MIT" ]
null
null
null
D3DApplication/App/AppHelpers/Renderer/ClearPass.cpp
d4rkz3r0/GPU-Vertex-Skinning-Animation-Project
f9667992e49599038ee2f46b014ea205fafcb6c3
[ "MIT" ]
null
null
null
D3DApplication/App/AppHelpers/Renderer/ClearPass.cpp
d4rkz3r0/GPU-Vertex-Skinning-Animation-Project
f9667992e49599038ee2f46b014ea205fafcb6c3
[ "MIT" ]
null
null
null
#include "ClearPass.h" #include <d3d11.h> #include "../../../Shared/SharedUtils.h" ClearPass::ClearPass(ID3D11Device* pDevice, ID3D11RenderTargetView* pRTV, ID3D11DepthStencilView* pDSV) : mDevice(pDevice), mRTV(pRTV), mDSV(pDSV), m_Enabled(true) { mDevice->GetImmediateContext(&mDeviceContext); } ClearPass::~ClearP...
20.974359
163
0.756724
d4rkz3r0
9bae0f7039deac6d1bc69bb861908fc6d0dfdd95
1,311
cc
C++
internal/platform/input_stream.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
69
2021-10-18T00:37:29.000Z
2022-03-20T19:53:38.000Z
internal/platform/input_stream.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
14
2021-10-13T19:49:27.000Z
2022-03-31T22:19:13.000Z
internal/platform/input_stream.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
22
2021-10-20T12:36:47.000Z
2022-03-31T18:39:46.000Z
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
29.133333
75
0.729214
deling-google
9bafe3701a7c347425494e3d4ceddc9fa5e2b874
550
hpp
C++
header/Animation.hpp
Vincent11276/Platformer2D
6d2c3718ff6f2cbc7da1d63021b2d36b0758808e
[ "MIT" ]
null
null
null
header/Animation.hpp
Vincent11276/Platformer2D
6d2c3718ff6f2cbc7da1d63021b2d36b0758808e
[ "MIT" ]
null
null
null
header/Animation.hpp
Vincent11276/Platformer2D
6d2c3718ff6f2cbc7da1d63021b2d36b0758808e
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> #include <iostream> // fuck using namespace std; #include <SFML/Graphics/Sprite.hpp> #include <SFML/Graphics/Texture.hpp> class Animation { public: std::vector<sf::Sprite> frames; std::string name; int frameIndex=0; float fps = 5; bool loop; ...
15.277778
115
0.669091
Vincent11276
9bb0a0917a28051ed39c24b26e60a80d1b86e601
3,010
cpp
C++
src/main.cpp
Ymagis/EclairLooks
c04fb1af1160305fb1dbffb2ea92cc478cd70b31
[ "BSD-3-Clause" ]
9
2019-07-03T13:11:33.000Z
2021-10-06T13:55:31.000Z
src/main.cpp
Ymagis/EclairLooks
c04fb1af1160305fb1dbffb2ea92cc478cd70b31
[ "BSD-3-Clause" ]
1
2019-07-09T09:04:59.000Z
2019-08-06T13:23:47.000Z
src/main.cpp
Ymagis/EclairLooks
c04fb1af1160305fb1dbffb2ea92cc478cd70b31
[ "BSD-3-Clause" ]
4
2019-07-02T15:03:43.000Z
2019-09-28T14:33:03.000Z
#include <locale> #include <QtWidgets/QApplication> #include <QtGui/QSurfaceFormat> #include <QtWidgets/QDesktopWidget> #include <QFile> #include <context.h> #include <gui/mainwindow.h> #include <operator/ocio/matrix.h> #include <operator/ocio/filetransform.h> #include <operator/ocio/colorspace.h> #include <operator/...
32.021277
85
0.67608
Ymagis
9bb6eda69859d4cb3b653689b98e954708125aa4
2,245
cpp
C++
tests/crypt_vfs.cpp
terrakuh/ysqlite3
d7e784f2e809462bef83805d853838a73fdf0d15
[ "MIT" ]
null
null
null
tests/crypt_vfs.cpp
terrakuh/ysqlite3
d7e784f2e809462bef83805d853838a73fdf0d15
[ "MIT" ]
3
2020-09-29T18:00:39.000Z
2020-10-01T14:59:58.000Z
tests/crypt_vfs.cpp
terrakuh/ysqlite3
d7e784f2e809462bef83805d853838a73fdf0d15
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <cstring> #include <random> #include <string> #include <vector> #include <ysqlite3/database.hpp> #include <ysqlite3/vfs/crypt_file.hpp> #include <ysqlite3/vfs/sqlite3_file_wrapper.hpp> #include <ysqlite3/vfs/sqlite3_vfs_wrapper.hpp> using namespace ysqlite...
25.804598
106
0.653007
terrakuh
9bb869e5575f89dab20ba4f04581e158b7ccf14e
2,857
hpp
C++
include/aikido/statespace/StateHandle.hpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
include/aikido/statespace/StateHandle.hpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
include/aikido/statespace/StateHandle.hpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
#ifndef AIKIDO_STATESPACE_STATEHANDLE_HPP_ #define AIKIDO_STATESPACE_STATEHANDLE_HPP_ #include <type_traits> namespace aikido { namespace statespace { /// Wrap a State with its StateSpace to provide convenient accessor methods. /// The template parameter \c _QualifiedState is necessary to support both /// \c const a...
31.395604
80
0.707035
usc-csci-545
9bb9205ce240b18fea5db59ed12e3a3b9769caff
5,229
cpp
C++
src/knn/annClassify.cpp
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
src/knn/annClassify.cpp
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
src/knn/annClassify.cpp
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
#include "tkdCmdParser.h" #include "annCommon.h" /** * Classify using ANN. */ class AnnClassify { public: typedef float PixelType; /** * Run. */ void Run( const std::string& trainingDataFileName, const std::vector< std::string >& imageFileNames, const std::string& maskFileName, const std::string& ou...
36.3125
233
0.69803
wmotte
9bbcc3c947bfc7f9d2c5347cbeb82c5776f6ac8b
6,038
cpp
C++
src/editor/Widgets/RichTextEditor.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/editor/Widgets/RichTextEditor.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/editor/Widgets/RichTextEditor.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
#include "RichTextEditor.hpp" #include "ui_RichTextEditor.h" #include "EditorUtils.hpp" #include <NovelTea/TextBlock.hpp> #include <NovelTea/TextFragment.hpp> #include <NovelTea/ProjectData.hpp> #include <QTextBlock> #include <iostream> RichTextEditor::RichTextEditor(QWidget *parent) : QWidget(parent), ui(new Ui::Ri...
24.745902
108
0.716628
tedvalson
9bbe221ba5d9af3fc6979783d28c12fd33c86bf6
2,104
cpp
C++
example/src/ofApp.cpp
P-A-N/ofxBlackmagicATEM
28ecc8d49b6a38dab4c610db03e938872838c52c
[ "MIT" ]
null
null
null
example/src/ofApp.cpp
P-A-N/ofxBlackmagicATEM
28ecc8d49b6a38dab4c610db03e938872838c52c
[ "MIT" ]
null
null
null
example/src/ofApp.cpp
P-A-N/ofxBlackmagicATEM
28ecc8d49b6a38dab4c610db03e938872838c52c
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ atem.setup("10.0.0.91"); } //-------------------------------------------------------------- void ofApp::update(){ } //-------------------------------------------------------------- void ofApp::draw(){ } //---...
18.45614
64
0.379278
P-A-N
9bc0863c80c90a31161eef579ea0a0fbd5049ded
1,467
cpp
C++
filter.cpp
iphelf/Digital-Image-Processing
8c736d208bf7806b2839540e41216d07f2a27e52
[ "WTFPL" ]
null
null
null
filter.cpp
iphelf/Digital-Image-Processing
8c736d208bf7806b2839540e41216d07f2a27e52
[ "WTFPL" ]
null
null
null
filter.cpp
iphelf/Digital-Image-Processing
8c736d208bf7806b2839540e41216d07f2a27e52
[ "WTFPL" ]
null
null
null
#include "filter.h" #include "ui_filter.h" #include <iostream> Filter::Filter(QWidget *parent,cv::Mat mat) : QDialog(parent),mat(mat), ui(new Ui::Filter) { ui->setupUi(this); connect(ui->radioButton_mean,SIGNAL(clicked(bool)), this,SLOT(updated())); connect(ui->radioButton_median,SIGNAL...
28.764706
64
0.619632
iphelf
9bc1411e4f46194349fafe3123b086b2c807925d
12,710
cpp
C++
src/fft3d_wrap.cpp
lammps/fftmpi
09473e21e5211e5c3250f86c42bf5ef204cb5cf7
[ "BSD-3-Clause" ]
11
2021-08-01T14:51:59.000Z
2022-01-14T02:07:51.000Z
src/fft3d_wrap.cpp
lammps/fftmpi
09473e21e5211e5c3250f86c42bf5ef204cb5cf7
[ "BSD-3-Clause" ]
null
null
null
src/fft3d_wrap.cpp
lammps/fftmpi
09473e21e5211e5c3250f86c42bf5ef204cb5cf7
[ "BSD-3-Clause" ]
null
null
null
/* ---------------------------------------------------------------------- fftMPI - library for computing 3d/2d FFTs in parallel http://fftmpi.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright 2018 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Und...
36.947674
79
0.488749
lammps
9bc58a226cb7c7a2882a0173dc1e9336e20ce434
4,876
cpp
C++
src/shader_s.cpp
lhswei/learnopengl
e3670b20707598ded433c61a551819deec4cc6e8
[ "MIT" ]
null
null
null
src/shader_s.cpp
lhswei/learnopengl
e3670b20707598ded433c61a551819deec4cc6e8
[ "MIT" ]
null
null
null
src/shader_s.cpp
lhswei/learnopengl
e3670b20707598ded433c61a551819deec4cc6e8
[ "MIT" ]
null
null
null
#include "shader_s.h" Shader::Shader(const char* vertexPath, const char* fragmentPath) { // 1. retrieve the vertex/fragment source code from filePath std::string vertexCode; std::string fragmetCode; std::ifstream vShaderFile; std::ifstream fShaderFile; // ensure ifstream objects can throw exceptions: vShaderF...
29.373494
167
0.712879
lhswei
9bd11636034e539294c22be2079be58b2ea9f163
2,309
cpp
C++
test_cef_app/main_util.cpp
kkkon/test_cef
ded0685f60e33adddf70d40fd807b9aff2b54bcc
[ "MIT" ]
1
2020-08-17T08:56:08.000Z
2020-08-17T08:56:08.000Z
test_cef_app/main_util.cpp
kkkon/test_cef
ded0685f60e33adddf70d40fd807b9aff2b54bcc
[ "MIT" ]
null
null
null
test_cef_app/main_util.cpp
kkkon/test_cef
ded0685f60e33adddf70d40fd807b9aff2b54bcc
[ "MIT" ]
null
null
null
/** * The MIT License * * Copyright (C) 2017 Kiyofumi Kondoh * * 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,...
27.164706
83
0.72369
kkkon
9bd1af4ef41f8bfcc353f7cfbb4ff3eb63d8f780
825
cpp
C++
Striver SDE Sheet/Day - 8 (Greedy)/Job Sequencing Problem.cpp
HariAcidReign/Striver-SDE-Solutions
80757b212abe479f3975b890398a8d877ebfd41e
[ "MIT" ]
25
2021-08-17T04:04:41.000Z
2022-03-16T07:43:30.000Z
Striver SDE Sheet/Day - 8 (Greedy)/Job Sequencing Problem.cpp
hashwanthalla/Striver-Sheets-Resources
80757b212abe479f3975b890398a8d877ebfd41e
[ "MIT" ]
null
null
null
Striver SDE Sheet/Day - 8 (Greedy)/Job Sequencing Problem.cpp
hashwanthalla/Striver-Sheets-Resources
80757b212abe479f3975b890398a8d877ebfd41e
[ "MIT" ]
8
2021-08-18T02:02:23.000Z
2022-02-11T06:05:07.000Z
//Hari's static bool compareProfit(Job a, Job b){ return (a.profit > b.profit); } vector<long> JobScheduling(Job arr[], int n) { // your code here vector<long> ans; sort(arr, arr+n, compareProfit); long count = 0, totProfit = 0; long maxi = arr[0].dead...
25.78125
63
0.419394
HariAcidReign
9bd1b40ebc6e5d353a62c8555e75fe0e4627a939
2,073
cxx
C++
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoEventReaderAlt.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoEventReaderAlt.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoEventReaderAlt.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
#include "AliFemtoEventReaderAlt.h" #include "AliFemtoTrack.h" #include "AliAODTrack.h" #include <TRandom3.h> AliFemtoEventReaderAlt::AliFemtoEventReaderAlt() : AliFemtoEventReaderAODMultSelection() , fRng(nullptr) , fEnhanceSmearing(0.0) { } AliFemtoEventReaderAlt::AliFemtoEventReaderAlt(const AliFemtoEven...
24.388235
91
0.742402
eciesla
9bd48fdba2625e8acba8115782bd487eb9a5f1dc
2,963
cpp
C++
Grafos_Estructuras_Particion/SerpientesEscaleras/SerpientesEscaleras.cpp
manumonforte/AdvancedAlgorithm
fe82ef552147a041e7ad717f85999eb677f5340a
[ "MIT" ]
4
2019-01-30T21:35:40.000Z
2019-06-25T03:19:44.000Z
Grafos_Estructuras_Particion/SerpientesEscaleras/SerpientesEscaleras.cpp
manumonforte/AdvancedAlgorithm
fe82ef552147a041e7ad717f85999eb677f5340a
[ "MIT" ]
null
null
null
Grafos_Estructuras_Particion/SerpientesEscaleras/SerpientesEscaleras.cpp
manumonforte/AdvancedAlgorithm
fe82ef552147a041e7ad717f85999eb677f5340a
[ "MIT" ]
3
2019-06-06T17:01:28.000Z
2021-06-27T10:55:34.000Z
// Manuel Monforte // TAIS62 #include <iostream> #include <iomanip> #include <fstream> #include "GrafoDirigido.h" #include <queue> //Coste del problema-->O(V+E) //La idea coniste en colocar todasd las aristas, y aprovechar el recorrido en anchura para sacar el camino a la ultima casilla, a la hora de colocar arist...
24.089431
156
0.629767
manumonforte
9bdba0b51f30c4a80598fd5ba7c5bc60631e5b35
1,855
hpp
C++
3rdparty/libbitcoin/src/wallet/parse_encrypted_keys/parse_encrypted_token.hpp
anatolse/beam
43c4ce0011598641d9cdeffbfdee66fde0a49730
[ "Apache-2.0" ]
631
2018-11-10T05:56:05.000Z
2022-03-30T13:21:00.000Z
3rdparty/libbitcoin/src/wallet/parse_encrypted_keys/parse_encrypted_token.hpp
anatolse/beam
43c4ce0011598641d9cdeffbfdee66fde0a49730
[ "Apache-2.0" ]
1,824
2018-11-08T11:32:58.000Z
2022-03-28T12:33:03.000Z
3rdparty/libbitcoin/src/wallet/parse_encrypted_keys/parse_encrypted_token.hpp
anatolse/beam
43c4ce0011598641d9cdeffbfdee66fde0a49730
[ "Apache-2.0" ]
216
2018-11-12T08:07:21.000Z
2022-03-08T20:50:19.000Z
/** * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the Lic...
29.444444
78
0.754717
anatolse
9be246f01f7cb05991c9745c0da67d2a685e30d5
2,583
cpp
C++
codelib/data_structs/segtree_iter_lazy.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/data_structs/segtree_iter_lazy.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/data_structs/segtree_iter_lazy.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <cassert> #include <ctime> using namespace std; const int MAX_N = 100001; int N; long long ar[MAX_N], vals[4*MAX_N], temp_vals[4*MAX_N]; void build(int idx, int lo, int hi) { temp_vals[idx] = 0; if (lo == hi) { vals[idx] = ar[lo]; } else { int k = (lo + h...
20.664
76
0.498258
TissueRoll
9be4dd1be7b97424e4532fe0777f83afd84bb229
4,594
cpp
C++
11_learning_materials/stanford_self_driving_car/perception/velodyne/src/vlf_cut.cpp
EatAllBugs/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
14
2021-09-01T14:25:45.000Z
2022-02-21T08:49:57.000Z
11_learning_materials/stanford_self_driving_car/perception/velodyne/src/vlf_cut.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
null
null
null
11_learning_materials/stanford_self_driving_car/perception/velodyne/src/vlf_cut.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
3
2021-10-10T00:58:29.000Z
2022-01-23T13:16:09.000Z
/******************************************************** Stanford Driving Software Copyright (c) 2011 Stanford University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions...
29.831169
84
0.681541
EatAllBugs
9bf0ea0f962b1a1d8e26f8bb12f8ad6f70f033a2
480
cpp
C++
source/Texture.cpp
xzrunner/gum
b9170ae8b65e8686766dd57c01a48694722eb999
[ "MIT" ]
null
null
null
source/Texture.cpp
xzrunner/gum
b9170ae8b65e8686766dd57c01a48694722eb999
[ "MIT" ]
null
null
null
source/Texture.cpp
xzrunner/gum
b9170ae8b65e8686766dd57c01a48694722eb999
[ "MIT" ]
null
null
null
#include "gum/Texture.h" #include "gum/RenderContext.h" #include <unirender/RenderContext.h> #include <unirender/Blackboard.h> #include <shaderlab/Blackboard.h> #include <shaderlab/ShaderMgr.h> #include <shaderlab/RenderContext.h> namespace gum { Texture::Texture(uint16_t w, uint16_t h, uint32_t id, int format) : p...
19.2
65
0.73125
xzrunner
9bf2c1dc289b9f53c7fd6de5b57655fc9ff974ce
6,114
cc
C++
src/partition.cc
felix-halim/indexing-benchmark
f6325aff444c7bb0403588195cca83d767ca0144
[ "MIT" ]
5
2017-07-27T14:00:03.000Z
2017-11-29T05:09:58.000Z
src/partition.cc
felix-halim/indexing-benchmark
f6325aff444c7bb0403588195cca83d767ca0144
[ "MIT" ]
5
2017-06-15T06:58:18.000Z
2017-06-16T08:02:45.000Z
src/partition.cc
felix-halim/c-tree
f6325aff444c7bb0403588195cca83d767ca0144
[ "MIT" ]
null
null
null
/* To run, go to the root folder and execute: make partition */ #include <cassert> #include <cstdio> #include <algorithm> #include <functional> #include <vector> #include "random.h" #include "time_it.h" #define BSIZE (1 << 12) #define block_size 64 static long long arr[BSIZE]; int std_partition(long long p) { ...
25.369295
80
0.519136
felix-halim
5000b217366934b4aa8ae73b251ff6f122af2f33
2,308
cpp
C++
tests/models/Ising2dTest.cpp
dtoconnor/quantum-monte-carlo-methods
c599ec010954c7c4f8ad62076e408a70b8ff2f13
[ "MIT" ]
15
2018-11-15T00:51:51.000Z
2021-11-17T06:26:14.000Z
tests/models/Ising2dTest.cpp
dtoconnor/quantum-monte-carlo-methods
c599ec010954c7c4f8ad62076e408a70b8ff2f13
[ "MIT" ]
null
null
null
tests/models/Ising2dTest.cpp
dtoconnor/quantum-monte-carlo-methods
c599ec010954c7c4f8ad62076e408a70b8ff2f13
[ "MIT" ]
4
2019-01-29T11:56:22.000Z
2021-11-24T15:19:54.000Z
#include <QMC-methods.h> #include <catch2/catch.hpp> using namespace QMCm; TEST_CASE("Ising2d Ising2d()", "[ising]") { Ising2d ising; REQUIRE(ising.nodes.size() == 0); } TEST_CASE("Ising2d generate()", "[ising]") { Ising2d ising; ising.generate(); for (int i = 0; i < ising.nodes.size(); i++) for (int j ...
30.368421
96
0.607019
dtoconnor
5001779936468270aaf05dfcb32a5bfa0252a856
1,057
cpp
C++
c-and-cpp/Community-Course-Project-16.06/Community-Project/ProjectExamples.cpp
dkalinkov/fmi-projects
367cb50ba57b00c604380a984e71ede003ef027b
[ "MIT" ]
null
null
null
c-and-cpp/Community-Course-Project-16.06/Community-Project/ProjectExamples.cpp
dkalinkov/fmi-projects
367cb50ba57b00c604380a984e71ede003ef027b
[ "MIT" ]
null
null
null
c-and-cpp/Community-Course-Project-16.06/Community-Project/ProjectExamples.cpp
dkalinkov/fmi-projects
367cb50ba57b00c604380a984e71ede003ef027b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <stdlib.h> #include "Person.h" #include "Community.h" using std::cout; using std::endl; using std::vector; void writeInFile(char*, const Community&); int main() { try { char fileName[] = "com-info.txt"; Person pesho("pesho", "8578213741", "u tqh si jivee", Bak...
19.574074
68
0.640492
dkalinkov
50043ab9a810bf087e721e5d99fa32b777afd037
7,425
cxx
C++
src/sprokit/pipeline/modules.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
14
2015-05-02T17:06:34.000Z
2019-06-20T10:10:20.000Z
src/sprokit/pipeline/modules.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
3
2015-02-11T20:09:24.000Z
2018-09-04T21:45:56.000Z
src/sprokit/pipeline/modules.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
9
2015-08-19T04:48:16.000Z
2021-02-15T14:28:06.000Z
/*ckwg +29 * Copyright 2011-2013 by Kitware, 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: * * * Redistributions of source code must retain the above copyright notice, * this li...
26.805054
96
0.719461
linus-sherrill
5008e6e941e54c3abdde6c2bf90f08388ba15034
1,221
hpp
C++
include/model/MachineLearningModel.hpp
fdbresearch/FBENCH
9f6c4ea79448649a74d2136ead93e4e5008a33a5
[ "Apache-2.0" ]
3
2019-02-28T11:29:45.000Z
2021-03-24T23:22:05.000Z
include/model/MachineLearningModel.hpp
fdbresearch/FBENCH
9f6c4ea79448649a74d2136ead93e4e5008a33a5
[ "Apache-2.0" ]
null
null
null
include/model/MachineLearningModel.hpp
fdbresearch/FBENCH
9f6c4ea79448649a74d2136ead93e4e5008a33a5
[ "Apache-2.0" ]
1
2021-03-19T02:56:16.000Z
2021-03-19T02:56:16.000Z
//===----------------------------------------------------------------------===// // // FBench // // https://fdbresearch.github.io/ // // Copyright (c) 2019, FDB Research Group, University of Oxford // //===----------------------------------------------------------------------===// #ifndef INCLUDE_ML_MACHINELEARNINGMO...
18.784615
83
0.580672
fdbresearch
500a7b41ca7d3aa352990740624435d6420eb49b
2,429
cc
C++
Codeforces/361 Division 2/Problem D/D.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/361 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/361 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(__typeof((v).begin()) it=(v).begin(); it != (v).end(); ++it) #define meta __FUN...
22.081818
97
0.541375
VastoLorde95
500f17ccdbad5b03f50c4843c501dfdd384aeaca
693
hpp
C++
phoenix/cocoa/widget/combo-button.hpp
vgmtool/vgm2pre
f4f917df35d531512292541234a5c1722b8af96f
[ "MIT" ]
21
2015-04-13T03:07:12.000Z
2021-11-20T00:27:00.000Z
phoenix/cocoa/widget/combo-button.hpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
2
2015-10-06T14:59:48.000Z
2022-01-27T08:57:57.000Z
phoenix/cocoa/widget/combo-button.hpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
2
2021-11-19T08:36:57.000Z
2022-03-04T16:03:16.000Z
@interface CocoaComboButton : NSPopUpButton { @public phoenix::ComboButton* comboButton; } -(id) initWith:(phoenix::ComboButton&)comboButton; -(IBAction) activate:(id)sender; @end namespace phoenix { struct pComboButton : public pWidget { ComboButton& comboButton; CocoaComboButton* cocoaComboButton = nullptr; ...
23.896552
92
0.75469
vgmtool
500f49a9992b20b00f94995e709a18be163f1ba7
70,512
cpp
C++
build/linux-build/Sources/src/zpp_nape/constraint/ZPP_PivotJoint.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/constraint/ZPP_PivotJoint.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/constraint/ZPP_PivotJoint.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.0-preview.5 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_nape_Config #include <hxinc/nape/Config.h> #endif #ifndef INCLUDED_nape_constraint_Constraint #include <hxinc/nape/constraint/Constraint.h> #endif #ifn...
43.047619
238
0.62015
HedgehogFog
501468204233322d8c55fd850f6924e6e22017f5
29,849
hpp
C++
hpx/runtime/components/server/preprocessed/runtime_support_implementations_5.hpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
hpx/runtime/components/server/preprocessed/runtime_support_implementations_5.hpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
hpx/runtime/components/server/preprocessed/runtime_support_implementations_5.hpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2013 Hartmut Kaiser // Copyright (c) 2012-2013 Thomas Heller // // 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) // This file has been automatically generated using the Boost.Wave tool. // Do n...
42.100141
149
0.564341
Titzi90
5016487a04e535553fb0fcd059cfc77f97a18abe
1,275
cpp
C++
dmoj/tsoc/15c1#5-giant-ants.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
dmoj/tsoc/15c1#5-giant-ants.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
dmoj/tsoc/15c1#5-giant-ants.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> using namespace std; bool adj[101][101], vis[101]; int n, m, w, x, y, curw, ants[101], q[101], f, b, dists[101]; void a_bfs(int disp){ f=b=0; q[++b]=disp; vis[disp]=1; ants[disp]=0; while(f!=b){ curw=q[++f]; for(int i=1;i<=n;i++){ if...
22.368421
61
0.410196
ruar18
501bd61115d03861a468c2f3e5a8882e1ac600df
3,341
cpp
C++
DFNs/Executors/PointCloudAssembly/PointCloudAssemblyExecutor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
DFNs/Executors/PointCloudAssembly/PointCloudAssemblyExecutor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
DFNs/Executors/PointCloudAssembly/PointCloudAssemblyExecutor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/** * @addtogroup DFNs * @{ */ #include "PointCloudAssemblyExecutor.hpp" #include <Errors/Assert.hpp> using namespace PointCloudWrapper; using namespace PoseWrapper; namespace CDFF { namespace DFN { namespace Executors { void Execute(PointCloudAssemblyInterface* dfn, PointCloudConstPtr inputFirstCloud, PointClou...
38.848837
161
0.801856
H2020-InFuse
501f4233dcde1397cabe9612e0263a254128a2b8
638
cpp
C++
recursion/backtracking/permutations.cpp
Zim95/cpp_proj
b73781be17e818fc778320a7498dc4d021b92ffa
[ "MIT" ]
2
2019-04-22T11:04:59.000Z
2021-03-01T18:32:25.000Z
recursion/backtracking/permutations.cpp
Zim95/cpp_proj
b73781be17e818fc778320a7498dc4d021b92ffa
[ "MIT" ]
null
null
null
recursion/backtracking/permutations.cpp
Zim95/cpp_proj
b73781be17e818fc778320a7498dc4d021b92ffa
[ "MIT" ]
1
2019-04-18T14:04:38.000Z
2019-04-18T14:04:38.000Z
/* PERMUTATIONS: ============= Main string: "abc" Find all options ------------------ abc acb cab cba abc acb */ #include<iostream> using namespace std; void permutations(char *ip, int i) { if(ip[i]=='\0'){ cout << ip << endl; return; } for(int j...
17.722222
65
0.479624
Zim95
5024831d3d161954153b67e2b1a317c37d7d0b5f
603
cpp
C++
Difficulty 1000/Absent_Remainder.cpp
desmondweh29/A-Problem-A-Day
135b21d21d74e6c716c9f7e36e8fa3a216f02727
[ "MIT" ]
null
null
null
Difficulty 1000/Absent_Remainder.cpp
desmondweh29/A-Problem-A-Day
135b21d21d74e6c716c9f7e36e8fa3a216f02727
[ "MIT" ]
null
null
null
Difficulty 1000/Absent_Remainder.cpp
desmondweh29/A-Problem-A-Day
135b21d21d74e6c716c9f7e36e8fa3a216f02727
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // Question: https://codeforces.com/problemset/problem/1613/B void solve() { int n; cin >> n; vector<long long> a(n); for (int i = 0; i < n; i++) { cin >> a[i]; } sort(a.begin(), a.end()); long long limit = n / 2; long long cou...
15.461538
61
0.451078
desmondweh29
50255f96f50978d84ae0db8e6c37c107df54d281
6,154
cpp
C++
src/json_parser.cpp
chadvoegele/ledger-rest
23a920a57964c9f7e987c5d2d9f72eba3dc89c1e
[ "BSD-3-Clause" ]
null
null
null
src/json_parser.cpp
chadvoegele/ledger-rest
23a920a57964c9f7e987c5d2d9f72eba3dc89c1e
[ "BSD-3-Clause" ]
null
null
null
src/json_parser.cpp
chadvoegele/ledger-rest
23a920a57964c9f7e987c5d2d9f72eba3dc89c1e
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2015-2020 Chad Voegele // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this // list of condi...
26.640693
85
0.612447
chadvoegele
df2250eb838bca9df50a05972285f4e81f4b63a9
1,527
cpp
C++
new_software/microcontroller/RetractMode.cpp
feklee/stm
ad08964db80819fb3b0415d3840178a077554c94
[ "WTFPL" ]
10
2016-06-26T14:19:38.000Z
2021-11-17T11:40:21.000Z
new_software/microcontroller/RetractMode.cpp
feklee/stm
ad08964db80819fb3b0415d3840178a077554c94
[ "WTFPL" ]
4
2015-11-17T11:46:52.000Z
2016-01-18T21:33:38.000Z
new_software/microcontroller/RetractMode.cpp
feklee/stm
ad08964db80819fb3b0415d3840178a077554c94
[ "WTFPL" ]
5
2017-06-01T00:33:45.000Z
2020-12-31T23:19:10.000Z
#include <Arduino.h> #include "util.hpp" #include "RetractMode.hpp" RetractMode::RetractMode(Motor &motor, BiasVoltage &biasVoltage, Current &current, Piezo &piezo, TipPositionLog &tipPositionLog) : motor_(motor), biasVoltage_(biasVoltage), current_(current), piezo...
22.130435
68
0.67649
feklee
df22633e656698b53985442f5866bf137c77baa9
10,578
cpp
C++
src/utils/inet_pton.cpp
neheb/npupnp
d00aaf2c5af8b9453cda32f9ed3981d49ef1d01c
[ "BSD-3-Clause" ]
null
null
null
src/utils/inet_pton.cpp
neheb/npupnp
d00aaf2c5af8b9453cda32f9ed3981d49ef1d01c
[ "BSD-3-Clause" ]
null
null
null
src/utils/inet_pton.cpp
neheb/npupnp
d00aaf2c5af8b9453cda32f9ed3981d49ef1d01c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 1996-1999 by Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS"...
29.383333
80
0.531386
neheb
df24ce1bdfa1b5f2653f883ef2207256a13be241
15,857
cpp
C++
kernel/drivers/tty.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
207
2020-05-27T21:57:28.000Z
2022-02-26T15:17:27.000Z
kernel/drivers/tty.cpp
ethan4984/crepOS
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
3
2020-07-26T18:14:05.000Z
2020-12-09T05:32:07.000Z
kernel/drivers/tty.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
17
2020-07-05T19:08:48.000Z
2021-10-13T12:30:13.000Z
#include <drivers/tty.hpp> #include <mm/vmm.hpp> #include <fs/vfs.hpp> #include <debug.hpp> #include <fs/dev.hpp> namespace tty { static size_t tty_cnt = 0; static uint32_t ansi_colours[] = { 0, // black 0xff3333, // red 0x46ff33, // green 0xa52a2a, // brown 0x3f33ff, // blue 0xfc33ff, // mag...
27.198971
178
0.517185
ethan4984
df26ea23cbbb1d9c7fda9c77329756588040320c
650
hpp
C++
source/ui/rect.hpp
Stephouuu/Epitech-Bomberman
8650071a6a21ba2e0606e4d8e38794de37bdf39f
[ "Unlicense" ]
null
null
null
source/ui/rect.hpp
Stephouuu/Epitech-Bomberman
8650071a6a21ba2e0606e4d8e38794de37bdf39f
[ "Unlicense" ]
null
null
null
source/ui/rect.hpp
Stephouuu/Epitech-Bomberman
8650071a6a21ba2e0606e4d8e38794de37bdf39f
[ "Unlicense" ]
null
null
null
/* ** rect.hpp for UI in /home/escoba_j/class ** ** Made by Joffrey Escobar ** Login <escoba_j@epitech.net> ** ** Started on Sat May 21 01:35:13 2016 Joffrey Escobar */ #ifndef _RECT_HPP_ # define _RECT_HPP_ #include "IObject.hpp" class rect : public IObject { public: rect(const std::string& name); rect(cons...
20.967742
84
0.621538
Stephouuu
df2f1dbf8b91de4d5edef744bab9a42d322ff1e1
3,639
cpp
C++
Game/src/game/BasicTower.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
3
2019-10-04T19:44:44.000Z
2021-07-27T15:59:39.000Z
Game/src/game/BasicTower.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
1
2019-07-20T05:36:31.000Z
2019-07-20T22:22:49.000Z
Game/src/game/BasicTower.cpp
aminere/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
null
null
null
/* Amine Rehioui Created: March 3rd 2013 */ #include "ShootTest.h" #include "BasicTower.h" #include "MeshEntity.h" namespace shoot { DEFINE_OBJECT(BasicTower); DEFINE_OBJECT(BasicTowerSettings); //! constructor BasicTowerSettings::BasicTowerSettings() : m_fAimDuration(1.5f) , m_fAimOffset(2.0f) , m_fF...
27.360902
103
0.720802
franticsoftware
df417c6a71237a15d76f83665a718a515574f51e
614
hpp
C++
tests/initializer_list/initializer_list_fwd.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
11
2021-03-15T07:06:21.000Z
2021-09-27T13:54:25.000Z
tests/initializer_list/initializer_list_fwd.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
null
null
null
tests/initializer_list/initializer_list_fwd.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
1
2021-06-24T10:46:46.000Z
2021-06-24T10:46:46.000Z
#pragma once #include <stdfwd/initializer_list> //------------------------------------------------------------------------------ #ifdef STDFWD_IS_CPP11 #define STDFWD_IS_INITIALIZER_LIST #endif //------------------------------------------------------------------------------ namespace initializer_list_tests { //-...
19.806452
80
0.359935
olegpublicprofile
df43c47d59ad46553c746931455c9d2dbc8996cb
9,544
cpp
C++
libalf/src/parser.cpp
zkSNARK/alf
fb428e43ee4bfc99ba326fc3fe0e9179870e2c2b
[ "MIT" ]
null
null
null
libalf/src/parser.cpp
zkSNARK/alf
fb428e43ee4bfc99ba326fc3fe0e9179870e2c2b
[ "MIT" ]
8
2020-03-29T22:32:45.000Z
2020-04-16T06:44:42.000Z
libalf/src/parser.cpp
zkSNARK/alf
fb428e43ee4bfc99ba326fc3fe0e9179870e2c2b
[ "MIT" ]
null
null
null
// // Created by Christopher Goebel on 3/21/20. // #include "parser.h" #include <filesystem> #include <string> #include <vector> #include <stack> #include <cstring> #include <stdexcept> namespace { auto is_quote(char c) -> bool { return c == '\'' or c == '"'; } auto make_token(std::string_view token, b...
31.919732
114
0.575231
zkSNARK
df483a65372b07fbd3cb529099db04db317e2654
832
hpp
C++
src/systems/physics/resources/vertexbuffer.hpp
vi3itor/Blunted2
318af452e51174a3a4634f3fe19b314385838992
[ "Unlicense" ]
56
2020-07-22T22:11:06.000Z
2022-03-09T08:11:43.000Z
GameplayFootball/src/systems/physics/resources/vertexbuffer.hpp
ElsevierSoftwareX/SOFTX-D-20-00016
48c28adb72aa167a251636bc92111b3c43c0be67
[ "MIT" ]
9
2021-04-22T07:06:25.000Z
2022-01-22T12:54:52.000Z
GameplayFootball/src/systems/physics/resources/vertexbuffer.hpp
ElsevierSoftwareX/SOFTX-D-20-00016
48c28adb72aa167a251636bc92111b3c43c0be67
[ "MIT" ]
20
2017-11-07T16:52:32.000Z
2022-01-25T02:42:48.000Z
// written by bastiaan konings schuiling 2008 - 2014 // this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important. // i do not offer support, so don't ask. to be used for inspiration :) #ifndef _HPP_SYSTEM_PHYSICS_RESOURCE_VERTEXBUFFER #define _HPP...
21.333333
132
0.715144
vi3itor
df4b492212be9b36e3d2d468201e4bc8a5c3c68c
1,386
cpp
C++
source/src/G3DCam/g3dcam.cpp
hlfstr/gdutil
eb1db9a0cb381bd9c3ef7b359c1413655f0dddec
[ "MIT" ]
null
null
null
source/src/G3DCam/g3dcam.cpp
hlfstr/gdutil
eb1db9a0cb381bd9c3ef7b359c1413655f0dddec
[ "MIT" ]
null
null
null
source/src/G3DCam/g3dcam.cpp
hlfstr/gdutil
eb1db9a0cb381bd9c3ef7b359c1413655f0dddec
[ "MIT" ]
null
null
null
#include "g3dcam.hpp" namespace godot { GDREGISTER(G3DCam) G3DCam::~G3DCam() {} void G3DCam::_register_methods() { register_property<G3DCam, real_t>("Movement/Speed", &G3DCam::speed, 10.0); register_property<G3DCam, real_t>("Movement/Mouse Sensitivity", &G3DCam::mouse_sensitivity, 10.0f); register_property<G3DCa...
31.5
100
0.71645
hlfstr
df4ccb9cb0b3805b7b10c2dbce15813c8b8dbc00
2,603
cpp
C++
tests/KeyTests.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
18
2016-05-22T00:55:28.000Z
2021-03-29T08:44:23.000Z
tests/KeyTests.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
6
2017-05-17T13:20:09.000Z
2018-10-22T20:00:57.000Z
tests/KeyTests.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
14
2016-05-12T22:54:34.000Z
2021-10-19T12:43:16.000Z
// Copyright © 2016 Venture Media Labs. // // This file is part of mxml. The full mxml copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include <mxml/dom/Key.h> #include <boost/test/unit_test.hpp...
36.661972
77
0.688821
dkun7944
df5a98dc049e191d85710cc8064a7208c4fcac4b
420
hpp
C++
include/IRGenerator/YAPLValue.hpp
emilienlemaire/YAPL
b25dc6ef776db0acf612f36070446df11cad3cfd
[ "Apache-2.0" ]
7
2020-06-01T16:32:15.000Z
2021-11-07T21:32:32.000Z
include/IRGenerator/YAPLValue.hpp
emilienlemaire/YAPL
b25dc6ef776db0acf612f36070446df11cad3cfd
[ "Apache-2.0" ]
null
null
null
include/IRGenerator/YAPLValue.hpp
emilienlemaire/YAPL
b25dc6ef776db0acf612f36070446df11cad3cfd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <string> #include "AST/ASTNode.hpp" #include "llvm/ADT/StringRef.h" enum class YAPLType { NONE, VOID, INT, DOUBLE, BOOL, STRING }; class YAPLValue { private: YAPLType m_Type; std::string m_Name; public: static YAPLType AstTypeToYAPLType(ASTNode::TYPE); Y...
15.555556
53
0.642857
emilienlemaire
df5ae61a0e0cd5d7e28c77e896a845c246b80048
1,780
hpp
C++
src/simplelog/backend/null/LogBackendMacros.hpp
jenisys/cxx.simplelog
d9b1a7665d503984cdd3b3e74c3761b6f2f4b5f1
[ "MIT" ]
null
null
null
src/simplelog/backend/null/LogBackendMacros.hpp
jenisys/cxx.simplelog
d9b1a7665d503984cdd3b3e74c3761b6f2f4b5f1
[ "MIT" ]
8
2020-01-31T20:07:27.000Z
2021-03-06T13:13:25.000Z
src/simplelog/backend/null/LogBackendMacros.hpp
jenisys/cxx.simplelog
d9b1a7665d503984cdd3b3e74c3761b6f2f4b5f1
[ "MIT" ]
3
2020-01-31T20:03:24.000Z
2021-02-28T11:34:42.000Z
/** * @file simplelog/backend/null/LogBackendMacros.hpp * Null implementation of a logging backend. * @note Any logging statement output is suppressed. **/ #pragma once namespace simplelog { namespace backend_null { struct NullCategory {}; typedef NullCategory* LoggerPtr; }} // -- SPECIFY: LoggerPtr in a backe...
35.6
109
0.569663
jenisys
df5c91cd08421cc262d680964989435ebd56118f
3,217
cpp
C++
src/ir-to-opencl_main.cpp
cuda-on-cl/cuda-on-cl
4f051a4c0bd777059138a16b54a6660267d3e9c7
[ "Apache-2.0" ]
11
2017-04-13T02:48:23.000Z
2021-12-16T08:33:02.000Z
src/ir-to-opencl_main.cpp
cuda-on-cl/cuda-on-cl
4f051a4c0bd777059138a16b54a6660267d3e9c7
[ "Apache-2.0" ]
null
null
null
src/ir-to-opencl_main.cpp
cuda-on-cl/cuda-on-cl
4f051a4c0bd777059138a16b54a6660267d3e9c7
[ "Apache-2.0" ]
1
2021-09-09T09:19:29.000Z
2021-09-09T09:19:29.000Z
// Copyright Hugh Perkins 2016 // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writi...
37.847059
171
0.698477
cuda-on-cl
df5e921f117c6bbcd4c92f8d5a3f92786ad7e6fe
215
hpp
C++
src/initialization/iequilibrium.hpp
gyselax/gyselalibxx
5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34
[ "MIT" ]
3
2022-02-28T08:47:07.000Z
2022-03-01T10:29:08.000Z
src/initialization/iequilibrium.hpp
gyselax/gyselalibxx
5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34
[ "MIT" ]
null
null
null
src/initialization/iequilibrium.hpp
gyselax/gyselalibxx
5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT #pragma once #include <geometry.hpp> class IEquilibrium { public: virtual ~IEquilibrium() = default; virtual DSpanSpVx operator()(DSpanSpVx allfequilibrium) const = 0; };
15.357143
70
0.72093
gyselax