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
f28706b893c7bf5bd896e712b794a17bdc2784c2
842
cpp
C++
programs/classes/flight.cpp
Gopalkataria/cs-2021
e33b0a0b44247ee78ae100741b0317ae387bce86
[ "MIT" ]
null
null
null
programs/classes/flight.cpp
Gopalkataria/cs-2021
e33b0a0b44247ee78ae100741b0317ae387bce86
[ "MIT" ]
null
null
null
programs/classes/flight.cpp
Gopalkataria/cs-2021
e33b0a0b44247ee78ae100741b0317ae387bce86
[ "MIT" ]
null
null
null
// date : 17 sep // class flight #include <iostream> using namespace std; class Flight { int flightNo; char destination[20]; float distance, feul; float calFuel() { if (distance <= 1000) feul = 500; else if (distance <= 2000) feul = 1100; e...
17.541667
54
0.498812
Gopalkataria
f28f0e4339547c62534ac5ef6e7a54eb9080b723
166
cpp
C++
Source/ThirdPersonCamera/Camera/TargetingActorInterface.cpp
ArnaudSpicht/third-person-camera
7bedf626d15820d0ff3563b503729d8e2ce5aaa9
[ "MIT" ]
156
2018-04-27T20:27:12.000Z
2022-02-25T02:46:02.000Z
Source/ThirdPersonCamera/Camera/TargetingActorInterface.cpp
ArnaudSpicht/third-person-camera
7bedf626d15820d0ff3563b503729d8e2ce5aaa9
[ "MIT" ]
1
2020-11-30T01:46:13.000Z
2021-10-07T03:49:18.000Z
Source/ThirdPersonCamera/Camera/TargetingActorInterface.cpp
ArnaudSpicht/third-person-camera
7bedf626d15820d0ff3563b503729d8e2ce5aaa9
[ "MIT" ]
41
2018-05-01T04:16:47.000Z
2022-01-07T11:22:13.000Z
#include "TargetingActorInterface.h" UTargetingActorInterface::UTargetingActorInterface(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { }
23.714286
95
0.849398
ArnaudSpicht
f28ff8e7bf40331708adaf9a247c9c76ac07d003
6,439
cpp
C++
src/paint/fill.cpp
tralf-strues/simple-gui-library
cf72b11d0d245d1a1fefbae10e4aa7fb9e763bff
[ "MIT" ]
null
null
null
src/paint/fill.cpp
tralf-strues/simple-gui-library
cf72b11d0d245d1a1fefbae10e4aa7fb9e763bff
[ "MIT" ]
null
null
null
src/paint/fill.cpp
tralf-strues/simple-gui-library
cf72b11d0d245d1a1fefbae10e4aa7fb9e763bff
[ "MIT" ]
null
null
null
/** * @author Nikita Mochalov (github.com/tralf-strues) * @file fill.cpp * @date 2021-11-07 * * @copyright Copyright (c) 2021 */ #include <algorithm> #include "sml/graphics_wrapper/primitives.h" #include "paint/fill.h" using namespace Sgl; //--------------------------------------------------------------------...
32.195
129
0.520267
tralf-strues
f2a7a29f8b4491db932bfa49d66bca74aa19ced3
512
cpp
C++
src/mge/graphics/test/test_point.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
src/mge/graphics/test/test_point.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
91
2019-03-09T11:31:29.000Z
2022-02-27T13:06:06.000Z
src/mge/graphics/test/test_point.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
// mge - Modern Game Engine // Copyright (c) 2021 by Alexander Schroeder // All rights reserved. #include "mge/graphics/point.hpp" #include "test/googletest.hpp" #include "test/test_stream_op.hpp" TEST(point, default_ctor) { mge::point d; EXPECT_EQ(0u, d.x); EXPECT_EQ(0u, d.y); } TEST(point, ctor) { m...
18.962963
54
0.652344
mge-engine
f2b721274a50476ca01046d33b0a0189597f658c
239
cpp
C++
objs/rect.cpp
landon912/mut
19d194d7d32a30c0293319ac1e79ff538adba5b9
[ "MIT" ]
null
null
null
objs/rect.cpp
landon912/mut
19d194d7d32a30c0293319ac1e79ff538adba5b9
[ "MIT" ]
null
null
null
objs/rect.cpp
landon912/mut
19d194d7d32a30c0293319ac1e79ff538adba5b9
[ "MIT" ]
null
null
null
#include "rect.h" namespace mut { template <typename T> rect<T>::rect(const T &left, const T &right, const T &bottom, const T &top) { this->left = left; this->right = right; this->bottom = bottom; this->top = top; } } // namespace mut
18.384615
75
0.65272
landon912
f2b973218452c63b78830e75d09c0304c3cd537f
11,151
hh
C++
dune/gdt/local/operators/indicator.hh
pymor/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
4
2018-10-12T21:46:08.000Z
2020-08-01T18:54:02.000Z
dune/gdt/local/operators/indicator.hh
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
154
2016-02-16T13:50:54.000Z
2021-12-13T11:04:29.000Z
dune/gdt/local/operators/indicator.hh
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
5
2016-03-02T10:11:20.000Z
2020-02-08T03:56:24.000Z
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
41.764045
119
0.685678
pymor
f2c0cf49a9f614ec69cc07eaa283d60bc7762116
2,361
cpp
C++
plugins/opengl/src/vf/attribute_actor.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/src/vf/attribute_actor.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/src/vf/attribute_actor.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 <sge/opengl/common.hpp> #include <sge/opengl/context/use.hpp> #include <sge/opengl/vf/acto...
38.080645
88
0.721305
cpreh
f2c1aea01b98ab593cae0f6b31ef6091b5ca06e7
8,824
cpp
C++
src/Icons.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
2
2020-10-23T19:53:56.000Z
2020-11-06T08:59:48.000Z
src/Icons.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
src/Icons.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
#include "Icons.hpp" Icon ICON_FLASH = "mdi:flash"; Icon ICON_WEATHER_FOG = "mdi:weather-fog"; Icon ICON_LIGHT_4 = "mdi:light-4"; Icon ICON_FORM_TEXTBOX = "mdi:form-textbox"; Icon ICON_VIDEO = "mdi:video"; Icon ICON_BATTERY_UNKNOWN = "mdi:battery-unknown"; Icon ICON_NUMERIC_1_BOX_OUTLINE = "mdi:numeric-1-box-outline";...
43.900498
72
0.774365
RobinSinghNanda
f2c7d97360328ee3a2de987cfc17204223a58a7b
2,762
cpp
C++
minimal.cpp
Daspien27/MoveEllisionBenchmark
a0880829fcd59b3d757f0772e4d4018ff2675715
[ "MIT" ]
null
null
null
minimal.cpp
Daspien27/MoveEllisionBenchmark
a0880829fcd59b3d757f0772e4d4018ff2675715
[ "MIT" ]
null
null
null
minimal.cpp
Daspien27/MoveEllisionBenchmark
a0880829fcd59b3d757f0772e4d4018ff2675715
[ "MIT" ]
null
null
null
#define PICOBENCH_IMPLEMENT #include "include/picobench/picobench.hpp" #include <algorithm> #include <random> const size_t ARRAY_SIZE = 200; const int SAMPLE_SIZE = 400; struct Obj { double x = 0.0; double y = 0.0; double z = 0.0; double w = 0.0; Obj operator-(const Obj& RHS) const { ...
22.096
105
0.582911
Daspien27
f2cbf3a2c43ae8f69aa5cf57911a2fa05b70f21e
400
hpp
C++
geometries/voxelsGeometry.hpp
danielesteban/opengl
00204a8dc2cb506e1bd5ce3be68d4684325a75ff
[ "MIT" ]
5
2020-01-12T08:40:49.000Z
2021-08-23T23:02:34.000Z
geometries/voxelsGeometry.hpp
danielesteban/opengl
00204a8dc2cb506e1bd5ce3be68d4684325a75ff
[ "MIT" ]
null
null
null
geometries/voxelsGeometry.hpp
danielesteban/opengl
00204a8dc2cb506e1bd5ce3be68d4684325a75ff
[ "MIT" ]
null
null
null
#pragma once #include "chunks.hpp" #include "geometry.hpp" class VoxelsGeometry : public Geometry { public: VoxelsGeometry(); void generate(Chunks *chunks, const GLint cx, const GLint cy, const GLint cz); private: typedef struct { GLfloat x, y, z, r, g, b, u, v; } Vertex; static const ...
22.222222
82
0.6525
danielesteban
f2ce335eb1c09b9884d68ec905306caefd5df4df
7,154
cpp
C++
examples/epidemic.cpp
PurplePachyderm/ultimate-pagerank
1e426ead576135b93f839653fb7282b98c7eccdf
[ "Unlicense" ]
1
2021-07-19T11:46:49.000Z
2021-07-19T11:46:49.000Z
examples/epidemic.cpp
PurplePachyderm/ultimate-pagerank
1e426ead576135b93f839653fb7282b98c7eccdf
[ "Unlicense" ]
null
null
null
examples/epidemic.cpp
PurplePachyderm/ultimate-pagerank
1e426ead576135b93f839653fb7282b98c7eccdf
[ "Unlicense" ]
null
null
null
#include <vector> #include <string> #include<fstream> #include <sys/stat.h> #include <cstdlib> #include <iomanip> #include "../include/parser.hpp" #include "../include/pagerank.hpp" // Util functiobns float genProba() { return static_cast <float> (rand()) / static_cast <float> (RAND_MAX); } unsigned genInteger...
18.776903
77
0.658093
PurplePachyderm
f2d4a01960a0882b613cb76b1355d427768c3389
3,654
cpp
C++
MIJUEGOCPP/MIJUEGOCPP/Application.cpp
Streq/cpp_ito
45d0ccb62d067cb6eaae9b671ff59d8801ee4ca2
[ "MIT" ]
null
null
null
MIJUEGOCPP/MIJUEGOCPP/Application.cpp
Streq/cpp_ito
45d0ccb62d067cb6eaae9b671ff59d8801ee4ca2
[ "MIT" ]
null
null
null
MIJUEGOCPP/MIJUEGOCPP/Application.cpp
Streq/cpp_ito
45d0ccb62d067cb6eaae9b671ff59d8801ee4ca2
[ "MIT" ]
null
null
null
#include "Application.h" #include "defines.h" #include "MenuState.h" #include "PauseState.h" #include "SelectionState.h" #include "CreditsState.h" #include "HowToPlayState.h" #include "Game.h" #include "Color.h" Application::Application(): mWindow(sf::VideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y), "la guerra de lo...
26.28777
140
0.690203
Streq
f2d4b1e2db559f55186ff2e03850c6b9e7db611d
7,889
cpp
C++
Models/IBS_Simulations/CSV_output.cpp
freekdh/GeneticRescue
62226b4fd2ba25a1891bf02e3d0272b67897409f
[ "Apache-2.0" ]
null
null
null
Models/IBS_Simulations/CSV_output.cpp
freekdh/GeneticRescue
62226b4fd2ba25a1891bf02e3d0272b67897409f
[ "Apache-2.0" ]
2
2018-08-01T23:29:56.000Z
2018-08-20T23:35:56.000Z
CppFiles/CSV_output.cpp
freekdh/Introgression
f26c7b84efee64ec5bb4e662753e052195b7fc71
[ "Apache-2.0" ]
null
null
null
#ifndef CSVFUNCTION_H #define CSVFUNCTION_H #include <iostream> #include <fstream> #include <sstream> #include "IntrogressionSimulations.h" #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/mean.hpp> #include <boost/accumulators/st...
41.303665
134
0.669413
freekdh
f2e1d8008a43b2c05c2171d1d3f30d0b56d4234f
2,809
hh
C++
src/mesh/mesh_logical/MeshLogicalAudit.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/mesh/mesh_logical/MeshLogicalAudit.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/mesh/mesh_logical/MeshLogicalAudit.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
#ifndef __MESHAUDIT__ #define __MESHAUDIT__ #include "Teuchos_RCP.hpp" #include "Mesh.hh" #include <boost/graph/adjacency_list.hpp> #include <boost/graph/visitors.hpp> #include <boost/graph/breadth_first_search.hpp> namespace Amanzi { namespace AmanziMesh { class MeshLogicalAudit { public: MeshLogicalAudit(con...
29.882979
118
0.749377
fmyuan
f2e26d05c9eceae0b02c11c6cfb69e6c3942ca36
1,064
cpp
C++
TankZoneGame/Source/TankZoneGame/Private/TankMovementComponent.cpp
Jakoban2411/TankZone
d6d78f21494255bf9509fe81a076a68fd867b3d9
[ "Apache-2.0" ]
null
null
null
TankZoneGame/Source/TankZoneGame/Private/TankMovementComponent.cpp
Jakoban2411/TankZone
d6d78f21494255bf9509fe81a076a68fd867b3d9
[ "Apache-2.0" ]
null
null
null
TankZoneGame/Source/TankZoneGame/Private/TankMovementComponent.cpp
Jakoban2411/TankZone
d6d78f21494255bf9509fe81a076a68fd867b3d9
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "TankMovementComponent.h" #include"TrackComponent.h" void UTankMovementComponent::MoveDirection(float direction) { RightTrack->Accelerate(direction*25); LeftTrack->Accelerate(direction*25); } void UTankMovementComponent::SetTr...
33.25
107
0.816729
Jakoban2411
f2e41944778c3b1a66a6306bd1b551fdd9170213
1,418
hpp
C++
brainfucppk/include/core/Implementation.hpp
Milo46/brainfuck-interpreter
55065f4ff80df229f29a35e1875fc195eb092cb8
[ "MIT" ]
null
null
null
brainfucppk/include/core/Implementation.hpp
Milo46/brainfuck-interpreter
55065f4ff80df229f29a35e1875fc195eb092cb8
[ "MIT" ]
1
2022-02-04T14:16:44.000Z
2022-02-04T14:16:44.000Z
brainfucppk/include/core/Implementation.hpp
Milo46/brainfuck-interpreter
55065f4ff80df229f29a35e1875fc195eb092cb8
[ "MIT" ]
1
2022-02-04T14:07:51.000Z
2022-02-04T14:07:51.000Z
#pragma once #include <functional> #include <string> #include <map> #include "core/Config.hpp" #include "utility/WarpableIterator.hpp" BRAINFUCPPK_BEGIN class Interpreter; class Implementation; /** * #TODO: ugly and not dynamic, come up with a better idea of storing implementations. */ enum class ImplementationE...
24.033898
110
0.727786
Milo46
f2eadbff5344df278e81d4abcd7c21b35c043767
1,689
cpp
C++
Source/PluginGameObject_All/CGameObjectLemon.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
3
2019-04-12T15:22:53.000Z
2022-01-05T02:59:56.000Z
Source/PluginGameObject_All/CGameObjectLemon.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
null
null
null
Source/PluginGameObject_All/CGameObjectLemon.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
2
2019-04-10T22:46:21.000Z
2020-05-27T16:21:37.000Z
#include "CGameObjectLemon.h" #include "CGameManager.h" #include "CPhysicsManager.h" #include "CPhysicsProfile.h" #include "IPhysicsStrategy.h" #include "OgreEntity.h" #include "OgreSceneNode.h" #include "OgreSceneManager.h" #include "OgreMaterialManager.h" using namespace Core; namespace Core { namespace Plugin { ...
25.590909
123
0.726465
shanefarris
f2f9d01cb4fd1d7fbef70cd7709426f0bedd5fc8
891
cpp
C++
Plugins/org.blueberry.core.runtime/src/internal/berryKeyedElement.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.blueberry.core.runtime/src/internal/berryKeyedElement.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.blueberry.core.runtime/src/internal/berryKeyedElement.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
22.275
94
0.594837
zhaomengxiao
f2fbdf2e167085329cc116e3098031c55a344c8f
1,165
tcc
C++
libraries/common/tcc/LoadModel.tcc
siddu1998/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
1
2018-11-08T06:19:31.000Z
2018-11-08T06:19:31.000Z
libraries/common/tcc/LoadModel.tcc
vishnoitanuj/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
null
null
null
libraries/common/tcc/LoadModel.tcc
vishnoitanuj/ELL
993d5370f0f7a274e8dfd8f43220c792be46f314
[ "MIT" ]
1
2019-12-19T10:02:48.000Z
2019-12-19T10:02:48.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: LoadModel.tcc (common) // Authors: Lisa Ong // //////////////////////////////////////////////////////////////////////////////////////////////////// // ut...
29.871795
143
0.513305
siddu1998
840771cabeb62b65f94f52f6dae06449050f8ed6
10,959
cc
C++
engine/editor/terraformerTexture.cc
ClayHanson/B4v21-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
1
2020-08-18T19:45:34.000Z
2020-08-18T19:45:34.000Z
engine/editor/terraformerTexture.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
engine/editor/terraformerTexture.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Torque Game Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- #include "console/console.h" #include "terrain/terrData.h" #include "editor/terraformer.h" #includ...
26.599515
126
0.520942
ClayHanson
8408d0992c819a5a8f764921df2be94657140695
8,748
hpp
C++
gtracr/lib/include/TrajectoryTracer.hpp
kwat0308/gtracr
c7a4967f8e127daa732fd6515b61f13a4fb2b900
[ "BSD-3-Clause" ]
3
2020-08-30T19:47:26.000Z
2022-03-15T01:52:58.000Z
gtracr/lib/include/TrajectoryTracer.hpp
kwat0308/gtracr
c7a4967f8e127daa732fd6515b61f13a4fb2b900
[ "BSD-3-Clause" ]
3
2020-09-02T00:05:05.000Z
2021-02-04T22:16:39.000Z
gtracr/lib/include/TrajectoryTracer.hpp
kwat0308/gtracr
c7a4967f8e127daa732fd6515b61f13a4fb2b900
[ "BSD-3-Clause" ]
null
null
null
/* Trajectory Tracer class that traces the trajectory of the particle by performing a 4th-order Runge Kutta numerical integration algorithm. */ #ifndef __TRAJECTORYTRACER_HPP_ #define __TRAJECTORYTRACER_HPP_ #include <algorithm> #include <array> #include <cmath> #include <functional> #include <iostream> #include <map> ...
35.13253
82
0.677755
kwat0308
8409ab2c46725bb4e1abe1b09f1199857ada704b
660
cpp
C++
Library/Internal/SamdaNet/RedisThread.cpp
goodaehoon/tps
3ca3b4850175e5a9dbbabf79f5154a6bfc4237ef
[ "MIT" ]
null
null
null
Library/Internal/SamdaNet/RedisThread.cpp
goodaehoon/tps
3ca3b4850175e5a9dbbabf79f5154a6bfc4237ef
[ "MIT" ]
null
null
null
Library/Internal/SamdaNet/RedisThread.cpp
goodaehoon/tps
3ca3b4850175e5a9dbbabf79f5154a6bfc4237ef
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "RedisThread.h" #include "SamdaNet.h" #include "MessageQueue.h" #include "Stream.h" #include "Dispatcher.h" RedisThread::RedisThread(SamdaNet& samdanet) : samdanet(samdanet) , redisDispatcher(nullptr) { } void RedisThread::SetRedisDispatcher(IRedisDispatcher* disp) { redisDispatc...
17.837838
60
0.736364
goodaehoon
840bee3f0d6b29bd627b8ed297471e3203f8cee1
282
hpp
C++
include/bunsan/curl/error_category.hpp
sarum9in/bunsan_curl
cd8f0f845f348f70c72010d8a734a515ff5f6bfa
[ "Apache-2.0" ]
null
null
null
include/bunsan/curl/error_category.hpp
sarum9in/bunsan_curl
cd8f0f845f348f70c72010d8a734a515ff5f6bfa
[ "Apache-2.0" ]
null
null
null
include/bunsan/curl/error_category.hpp
sarum9in/bunsan_curl
cd8f0f845f348f70c72010d8a734a515ff5f6bfa
[ "Apache-2.0" ]
null
null
null
#pragma once #include <system_error> namespace bunsan { namespace curl { const std::error_category &easy_category() noexcept; const std::error_category &multi_category() noexcept; const std::error_category &share_category() noexcept; } // namespace curl } // namespace bunsan
20.142857
53
0.765957
sarum9in
840cf32110abcc8ca1f952487e3d9632395c70ec
13,997
cpp
C++
src/common/renderer.cpp
alemuntoni/nexus
5eda57ea444d820627ca9e0374ad96d1c47df9c1
[ "MIT" ]
152
2017-03-03T16:30:33.000Z
2022-03-13T08:28:12.000Z
src/common/renderer.cpp
alemuntoni/nexus
5eda57ea444d820627ca9e0374ad96d1c47df9c1
[ "MIT" ]
116
2017-04-08T22:07:39.000Z
2022-03-22T22:30:47.000Z
src/common/renderer.cpp
alemuntoni/nexus
5eda57ea444d820627ca9e0374ad96d1c47df9c1
[ "MIT" ]
66
2017-04-07T02:23:29.000Z
2022-03-15T12:55:19.000Z
/* Nexus Copyright(C) 2012 - Federico Ponchio ISTI - Italian National Research Council - Visual Computing Lab 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 License, or (at ...
28.106426
108
0.68679
alemuntoni
840e846235323f41d84b5e4ac26f502e7f5711af
2,273
cpp
C++
weekdayOfFutureDate.cpp
lbeckman314/library
947f27db0ae2d47202219f61247b6b7c111cffe0
[ "MIT" ]
null
null
null
weekdayOfFutureDate.cpp
lbeckman314/library
947f27db0ae2d47202219f61247b6b7c111cffe0
[ "MIT" ]
null
null
null
weekdayOfFutureDate.cpp
lbeckman314/library
947f27db0ae2d47202219f61247b6b7c111cffe0
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------------------------------------- // PURPOSE --------- This programs transports you into the future (or the past!) up to 5,883,516 years // AUTHOR ---------- liam beckman // DATE ------------ 12 october 2016 wednesday // SOURCES --------- https:...
44.568627
157
0.516058
lbeckman314
8410d6559471489729067116268b0e90e9cfa118
977
cpp
C++
src/utility.cpp
helgoboss/reaplus
477007e4606b52f0b66bfcb0b590243aa69bd73a
[ "MIT" ]
1
2020-04-06T02:05:22.000Z
2020-04-06T02:05:22.000Z
src/utility.cpp
helgoboss/reaplus
477007e4606b52f0b66bfcb0b590243aa69bd73a
[ "MIT" ]
null
null
null
src/utility.cpp
helgoboss/reaplus
477007e4606b52f0b66bfcb0b590243aa69bd73a
[ "MIT" ]
1
2020-06-14T20:56:48.000Z
2020-06-14T20:56:48.000Z
#include <reaplus/utility.h> #include <algorithm> #include <cctype> #include <reaper_plugin_functions.h> using std::string; using std::function; namespace reaplus { string convertGuidToString(const GUID& guid) { string guidString = toString(64, [&guid](char* buffer, int maxSize) { reaper::guidToString((G...
25.710526
94
0.649949
helgoboss
841133ce37b4b41cf295ca16415fa4d9221ac2e8
2,044
hpp
C++
retrace/daemon/test/retrace_test.hpp
austriancoder/apitrace
5919778f7bcba82433f80bda4fb225e43183a62f
[ "MIT" ]
1
2021-03-05T10:49:37.000Z
2021-03-05T10:49:37.000Z
retrace/daemon/test/retrace_test.hpp
austriancoder/apitrace
5919778f7bcba82433f80bda4fb225e43183a62f
[ "MIT" ]
null
null
null
retrace/daemon/test/retrace_test.hpp
austriancoder/apitrace
5919778f7bcba82433f80bda4fb225e43183a62f
[ "MIT" ]
1
2018-10-05T03:09:13.000Z
2018-10-05T03:09:13.000Z
/************************************************************************** * * Copyright 2015 Intel Corporation * All Rights Reserved. * * 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 Softwar...
35.241379
80
0.678082
austriancoder
841504dcabf506e3d137db0b31a0db40aac3fa59
8,071
cpp
C++
lib/db/src/odbc/odbc_error.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
lib/db/src/odbc/odbc_error.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
lib/db/src/odbc/odbc_error.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2018 Sylko Olzscher * */ #include "odbc_error.hpp" namespace cyng { namespace db { namespace odbc { namespace error { namespace detail { class odbc_errors_category_impl : public boost::system::error_category { public: // ...
47.476471
96
0.682196
solosTec
8417c94ea59014084d9f5b64ff84a887416f8309
30,607
cpp
C++
int/spirv_cross.cpp
CheezLang/Vulkan
7534cb7b92578adaa6be26fbca540eb121102d47
[ "MIT" ]
null
null
null
int/spirv_cross.cpp
CheezLang/Vulkan
7534cb7b92578adaa6be26fbca540eb121102d47
[ "MIT" ]
null
null
null
int/spirv_cross.cpp
CheezLang/Vulkan
7534cb7b92578adaa6be26fbca540eb121102d47
[ "MIT" ]
null
null
null
#include <memory> #include "../spirv_cross_binding_source.cpp" extern "C" void __c__spvc_get_version(uint32_t * _major, uint32_t * _minor, uint32_t * _patch) { spvc_get_version(_major, _minor, _patch); } extern "C" void __c__spvc_get_commit_revision_and_timestamp(const char * *ret) { *ret = (const char * )spvc...
72.700713
261
0.812167
CheezLang
8422be57898f0206b632919f69d4ae5285e9df0c
3,392
cpp
C++
DESIRE-Engine/src/Engine/Core/String/String.cpp
nyaki-HUN/DESIRE
dd579bffa77bc6999266c8011bc389bb96dee01d
[ "BSD-2-Clause" ]
1
2020-10-04T18:50:01.000Z
2020-10-04T18:50:01.000Z
DESIRE-Engine/src/Engine/Core/String/String.cpp
nyaki-HUN/DESIRE
dd579bffa77bc6999266c8011bc389bb96dee01d
[ "BSD-2-Clause" ]
null
null
null
DESIRE-Engine/src/Engine/Core/String/String.cpp
nyaki-HUN/DESIRE
dd579bffa77bc6999266c8011bc389bb96dee01d
[ "BSD-2-Clause" ]
1
2018-09-18T08:03:33.000Z
2018-09-18T08:03:33.000Z
#include "Engine/stdafx.h" #include "Engine/Core/String/String.h" const String String::kEmptyString = ""; String::String(const char* pStr, size_t numChars) : m_pData(const_cast<char*>(pStr)) , m_size(numChars) { ASSERT(m_pData != nullptr); ASSERT(m_pData[m_size] == '\0'); } size_t String::Find(const String& sear...
17.852632
93
0.660083
nyaki-HUN
8424adae343d47fa84f37d7f4df5bb2d3302c4b2
1,248
cpp
C++
cpp/String/aStringAssign.cpp
ArboreusSystems/arboreus_examples
17d39e18f4b2511c19f97d4e6c07ec9d7087fae8
[ "BSD-3-Clause" ]
17
2019-02-19T21:29:22.000Z
2022-01-29T11:03:45.000Z
cpp/String/String_v1/aStringAssign.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
null
null
null
cpp/String/String_v1/aStringAssign.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
9
2021-02-21T05:32:23.000Z
2022-02-26T07:51:52.000Z
// // Created by Alexandr Kirilov on 26/09/2019. // #include "aStringAssign.h" void aStringAssign::mDoTest(void) { cout << "\n* ---------------------\n" << "* String assign\n" << endl; string oAssignedString; oAssignedString.assign(4,'.'); cout << "oAssignedString: " << oAssignedString << endl; string const o...
37.818182
103
0.684295
ArboreusSystems
842c260e9017d65688a6344e3d47fa011d695d74
5,343
cpp
C++
src/ncreel/main.cpp
sikfeng/notcurses
1a12058977821b1042ae411e080d8d2c124f486d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ncreel/main.cpp
sikfeng/notcurses
1a12058977821b1042ae411e080d8d2c124f486d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ncreel/main.cpp
sikfeng/notcurses
1a12058977821b1042ae411e080d8d2c124f486d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include <cstdlib> #include <clocale> #include <sstream> #include <getopt.h> #include <iostream> #include <memory> #include <ncpp/NotCurses.hh> #include <ncpp/Reel.hh> #include <ncpp/NCKey.hh> using namespace ncpp; class TabletCtx { public: TabletCtx() : lines(rand() % 5 + 3), rgb(rand() % 0x1000000...
25.442857
100
0.568782
sikfeng
842df4d7b6de44286cc318fa778223bb2da3882e
817
cpp
C++
src/homework/03_decisions/main.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-ryewmn
a441536a9d7cc6522ecc20d6ed232c1980379b92
[ "MIT" ]
null
null
null
src/homework/03_decisions/main.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-ryewmn
a441536a9d7cc6522ecc20d6ed232c1980379b92
[ "MIT" ]
null
null
null
src/homework/03_decisions/main.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-ryewmn
a441536a9d7cc6522ecc20d6ed232c1980379b92
[ "MIT" ]
null
null
null
#include<iostream> #include "decisions.h" using std::cout; using std:cin; using std:string; int main() { // Declaration of Variables int menu; int grade; cout <<"\n\t Main Menu \t\n"; cin >> menu; if (menu == 1 || menu == 2){ cout <<"Enter a grade between 0-100:"; cin>>grade; ...
19.926829
95
0.522644
acc-cosc-1337-spring-2022
842fe6a1ac3014cca5a39b869c69fcc76741636c
10,436
cpp
C++
basic_datastructure/graph/adjacencyList.cpp
weekieACpper/DataStructre-weekie
9f15d95dd57c02d7d385b151940bbee4f3c2d99b
[ "MIT" ]
null
null
null
basic_datastructure/graph/adjacencyList.cpp
weekieACpper/DataStructre-weekie
9f15d95dd57c02d7d385b151940bbee4f3c2d99b
[ "MIT" ]
null
null
null
basic_datastructure/graph/adjacencyList.cpp
weekieACpper/DataStructre-weekie
9f15d95dd57c02d7d385b151940bbee4f3c2d99b
[ "MIT" ]
null
null
null
/* * @Author: weekie * @Date: 2022-03-28 12:18:36 * @LastEditTime: 2022-04-11 09:28:48 * @LastEditors: weekie * @Description: 邻接链表法表示的图的接口实现部分 * @FilePath: /datastructure/basic_datastructre/graph/adjacencyList.cpp */ #include <adjacencyList.hpp> #include <algorithm> #include <stdexcept> /** * @description: 图构造函...
27.177083
193
0.578862
weekieACpper
8432644571106cfe60667c265004f5e3b107d2a6
5,583
hpp
C++
include/OpCoSerializer/Json/JsonSerializer.hpp
OpCoSim/OpCoSerializer
bcedb6616264a4c01fa516365efc7eb50279575c
[ "MIT" ]
null
null
null
include/OpCoSerializer/Json/JsonSerializer.hpp
OpCoSim/OpCoSerializer
bcedb6616264a4c01fa516365efc7eb50279575c
[ "MIT" ]
null
null
null
include/OpCoSerializer/Json/JsonSerializer.hpp
OpCoSim/OpCoSerializer
bcedb6616264a4c01fa516365efc7eb50279575c
[ "MIT" ]
null
null
null
// Copyright (c) 2022 OpCoSim // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distr...
42.295455
132
0.59717
OpCoSim
8435c9de29290b468965cbab2d74d60199990a66
2,843
cpp
C++
src/strategy/warrior/GenericWarriorStrategy.cpp
htc16/mod-playerbots
2307e3f980035a244bfb4fedefda5bc55903d470
[ "MIT" ]
12
2022-03-23T05:14:53.000Z
2022-03-30T12:12:58.000Z
src/strategy/warrior/GenericWarriorStrategy.cpp
htc16/mod-playerbots
2307e3f980035a244bfb4fedefda5bc55903d470
[ "MIT" ]
24
2022-03-23T13:56:37.000Z
2022-03-31T18:23:32.000Z
src/strategy/warrior/GenericWarriorStrategy.cpp
htc16/mod-playerbots
2307e3f980035a244bfb4fedefda5bc55903d470
[ "MIT" ]
3
2022-03-24T21:47:10.000Z
2022-03-31T06:21:46.000Z
/* * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version. */ #include "GenericWarriorStrategy.h" #include "Playerbots.h" GenericWarriorStrategy::GenericWarriorStrateg...
55.745098
205
0.747802
htc16
8439546100e533d3a8d060d783ba0aad8a9e9cd1
324
hpp
C++
ZouavZEngine/include/Sound.hpp
Neziiap/ZouavZEngine
7327053871ee5faaa8c87c81f79e093a81da5542
[ "Unlicense" ]
null
null
null
ZouavZEngine/include/Sound.hpp
Neziiap/ZouavZEngine
7327053871ee5faaa8c87c81f79e093a81da5542
[ "Unlicense" ]
null
null
null
ZouavZEngine/include/Sound.hpp
Neziiap/ZouavZEngine
7327053871ee5faaa8c87c81f79e093a81da5542
[ "Unlicense" ]
null
null
null
#pragma once #include "Resource.hpp" #include "Maths/Vec3.hpp" class Sound : public Resource { private: unsigned int buffer = 0; public: float volumeIntensity = 1.0f; Sound(const std::string& _name, const char* _path); ~Sound(); void RemoveFromResourcesManager() override; void LinkSource(unsigned int& sound)...
17.052632
52
0.728395
Neziiap
843a2ebfbdc2cfcf371ad4c859fa3841a6ae371a
1,837
cpp
C++
misc/tar/src/ArWriter.cpp
frankencode/fluxkit
0436454f0791d8fddf8e0adc383ef7c54080245d
[ "BSD-3-Clause" ]
3
2016-02-10T04:58:32.000Z
2020-09-15T06:39:43.000Z
misc/tar/src/ArWriter.cpp
frankencode/fluxkit
0436454f0791d8fddf8e0adc383ef7c54080245d
[ "BSD-3-Clause" ]
null
null
null
misc/tar/src/ArWriter.cpp
frankencode/fluxkit
0436454f0791d8fddf8e0adc383ef7c54080245d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2007-2015 Frank Mertens. * * Use of this source is governed by a BSD-style license that can be * found in the LICENSE file. * */ #include <flux/str> #include <flux/File> #include <flux/tar/ArWriter> namespace flux { namespace tar { Ref<ArWriter> ArWriter::open(Stream *sink) { return new ...
22.9625
68
0.631464
frankencode
843c3e738a921d2d43a32394cd384b2ad385d241
1,835
cpp
C++
src/Rules/ChainOfStocksProcessing/AbstractStocksProcessingNode.cpp
ilyayunkin/StocksMonitor
92ba47fa4e92e9dab498ea6751178ef823a83bbc
[ "MIT" ]
null
null
null
src/Rules/ChainOfStocksProcessing/AbstractStocksProcessingNode.cpp
ilyayunkin/StocksMonitor
92ba47fa4e92e9dab498ea6751178ef823a83bbc
[ "MIT" ]
null
null
null
src/Rules/ChainOfStocksProcessing/AbstractStocksProcessingNode.cpp
ilyayunkin/StocksMonitor
92ba47fa4e92e9dab498ea6751178ef823a83bbc
[ "MIT" ]
1
2020-12-04T08:18:21.000Z
2020-12-04T08:18:21.000Z
#include "AbstractStocksProcessingNode.h" #include "AbstractStocksCommand.h" namespace StocksProcessing{ AbstractStocksProcessingNode::~AbstractStocksProcessingNode() = default; bool AbstractStocksProcessingNode::signalizePortfolio( const PluginName &pluginName, const StockName &stockName, const float price) ...
23.227848
90
0.724796
ilyayunkin
844318ff58365e9f399f24de0d3f838bcf3aaf34
3,373
cc
C++
src/watchdog/srwatchdogd.cc
tiropp/cumulocity-sdk-c
a647a1f0bcaa0faaa89ac62f510575f6b2f3bb28
[ "MIT" ]
1
2019-11-14T23:45:07.000Z
2019-11-14T23:45:07.000Z
src/watchdog/srwatchdogd.cc
tiropp/cumulocity-sdk-c
a647a1f0bcaa0faaa89ac62f510575f6b2f3bb28
[ "MIT" ]
null
null
null
src/watchdog/srwatchdogd.cc
tiropp/cumulocity-sdk-c
a647a1f0bcaa0faaa89ac62f510575f6b2f3bb28
[ "MIT" ]
1
2018-07-17T06:08:59.000Z
2018-07-17T06:08:59.000Z
#include <ctime> #include <cstdlib> #include <unistd.h> #include <syslog.h> #include <sys/shm.h> #include <sys/wait.h> #define SIZE 8 class Shm { public: Shm(): _shm(NULL), shmid(shmget(getpid(), SIZE, IPC_CREAT | 0666)) { _shm = shmid != -1 ? (char*)shmat(shmid, NULL, 0) : _shm; ...
35.135417
79
0.34035
tiropp
e0fc3da6d23d8040bcce8e5ed43a9684974ee728
2,707
cpp
C++
src/NodeNetwork/Nodes/NodeMath.cpp
JustusUlbrich/Leuchtknoten
b4299246628550c5930c7800196cb6304940e74a
[ "MIT" ]
14
2021-08-13T17:41:20.000Z
2022-01-08T10:34:30.000Z
src/NodeNetwork/Nodes/NodeMath.cpp
JustusUlbrich/Leuchtknoten
b4299246628550c5930c7800196cb6304940e74a
[ "MIT" ]
1
2021-08-19T04:21:59.000Z
2021-10-06T17:13:42.000Z
src/NodeNetwork/Nodes/NodeMath.cpp
JustusUlbrich/Leuchtknoten
b4299246628550c5930c7800196cb6304940e74a
[ "MIT" ]
null
null
null
#include "NodeMath.hpp" #include "../../defines.h" namespace Node { NodeMath::NodeMath(const ArduinoJson::JsonObject &nodeJson, NodeFactory *nodeFactory) : INode(nodeJson, nodeFactory) { in1 = std::make_shared<InputPort<float>>("in1", this); in2 = std::make_shared<InputPort<float>>("in2", this); addOut = s...
27.907216
88
0.686369
JustusUlbrich
460512626a7cb1be5b2241df359f3d610d4d32c2
398
hpp
C++
Kanan/RangedAttackSwap.hpp
shaggyze/kanan-new
ef70f831dfdfe0724bd41dea5adf9af6caec5d65
[ "Unlicense" ]
89
2017-10-28T00:34:26.000Z
2022-03-29T13:07:59.000Z
Kanan/RangedAttackSwap.hpp
shaggyze/kanan-new
ef70f831dfdfe0724bd41dea5adf9af6caec5d65
[ "Unlicense" ]
176
2017-11-02T01:02:10.000Z
2022-03-20T15:36:21.000Z
Kanan/RangedAttackSwap.hpp
shaggyze/kanan-new
ef70f831dfdfe0724bd41dea5adf9af6caec5d65
[ "Unlicense" ]
71
2017-10-28T11:50:00.000Z
2022-01-28T22:58:17.000Z
#pragma once #include <Patch.hpp> #include "PatchMod.hpp" namespace kanan { class RangedAttackSwap : public PatchMod { public: RangedAttackSwap(); void onPatchUI() override; void onConfigLoad(const Config& cfg) override; void onConfigSave(Config& cfg) override; private:...
16.583333
54
0.615578
shaggyze
460ee52548a8d8a0bbe70383eb7b5858df05831e
210
cpp
C++
101/vectors/copying_in_vector.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
2
2021-04-21T07:59:45.000Z
2021-05-13T05:53:00.000Z
101/vectors/copying_in_vector.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
null
null
null
101/vectors/copying_in_vector.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
1
2021-04-17T15:32:18.000Z
2021-04-17T15:32:18.000Z
#include "../../headers.h" int main() { vector<int> v; for(int i=0; i<10; i++) { v.push_back(i); } set<int> s; for(auto&c : v) { s.insert(c); } return 0; }
11.666667
27
0.409524
hariharanragothaman
4611d7f286983bb5921afe472df1071bb5f2fa17
541
hpp
C++
SDL2Cpp/SDL2Cpp/include/SDL2Cpp/Net/TcpSocket.hpp
jasonwnorris/SDL2Cpp
ece3bc247adab1b127303340d8463cb19d585d81
[ "MIT" ]
3
2015-02-04T20:35:10.000Z
2015-10-26T16:45:27.000Z
SDL2Cpp/SDL2Cpp/include/SDL2Cpp/Net/TcpSocket.hpp
jasonwnorris/SDL2Cpp
ece3bc247adab1b127303340d8463cb19d585d81
[ "MIT" ]
null
null
null
SDL2Cpp/SDL2Cpp/include/SDL2Cpp/Net/TcpSocket.hpp
jasonwnorris/SDL2Cpp
ece3bc247adab1b127303340d8463cb19d585d81
[ "MIT" ]
null
null
null
// TcpSocket.hpp #ifndef __SDL2_NET_TCPSOCKET_H__ #define __SDL2_NET_TCPSOCKET_H__ // SDL Includes #include <SDL_net.h> namespace SDL2 { namespace Net { class TcpSocket { public: TcpSocket(); ~TcpSocket(); TCPsocket GetC() const; bool Open(const char* pAddress, int pPort); void Clo...
15.457143
50
0.665434
jasonwnorris
4612c984b8f5d116467e9360b920fe8afc3071d8
6,220
hpp
C++
lib/fiber/quadrature_descriptor_selector_factory.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
lib/fiber/quadrature_descriptor_selector_factory.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
lib/fiber/quadrature_descriptor_selector_factory.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2011-2012 by the BEM++ Authors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, mer...
46.41791
80
0.770257
mdavezac
4613517b41469dc3d5f6865b17bf24fdb3005f7b
162
cpp
C++
Chapter2/Excercise5.cpp
yapbenzet/absolute-c-plusplus
67adef6c177e7ef3c71406cd26cef2a944fd0d19
[ "MIT" ]
1
2019-08-13T17:51:24.000Z
2019-08-13T17:51:24.000Z
Chapter2/Excercise5.cpp
yapbenzet/absolute-c-plusplus
67adef6c177e7ef3c71406cd26cef2a944fd0d19
[ "MIT" ]
null
null
null
Chapter2/Excercise5.cpp
yapbenzet/absolute-c-plusplus
67adef6c177e7ef3c71406cd26cef2a944fd0d19
[ "MIT" ]
1
2020-06-05T13:37:56.000Z
2020-06-05T13:37:56.000Z
#include <iostream> using namespace std; int main() { int j = 0, i = 66, c = 789; if((j) && (c > i)) cout << i << endl; else cout << c << endl; }
13.5
29
0.481481
yapbenzet
461c2b8db87000b7ef3eb9c3ba70a786a1a9cff6
2,460
hpp
C++
NetKet/Hamiltonian/hamiltonian.hpp
stavros11/netket
1cec25a4884bdbd2fddb5d24daae627cd89316d8
[ "Apache-2.0" ]
null
null
null
NetKet/Hamiltonian/hamiltonian.hpp
stavros11/netket
1cec25a4884bdbd2fddb5d24daae627cd89316d8
[ "Apache-2.0" ]
null
null
null
NetKet/Hamiltonian/hamiltonian.hpp
stavros11/netket
1cec25a4884bdbd2fddb5d24daae627cd89316d8
[ "Apache-2.0" ]
1
2020-10-26T21:05:38.000Z
2020-10-26T21:05:38.000Z
// Copyright 2018 The Simons Foundation, Inc. - 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 requi...
34.647887
76
0.673577
stavros11
4620918df22b6b7e3d63ab6426bff22525de64be
2,303
cpp
C++
ivarp/test/initial_compile_time_bounds.cpp
phillip-keldenich/squares-in-disk
501ebeb00b909b9264a9611fd63e082026cdd262
[ "MIT" ]
null
null
null
ivarp/test/initial_compile_time_bounds.cpp
phillip-keldenich/squares-in-disk
501ebeb00b909b9264a9611fd63e082026cdd262
[ "MIT" ]
null
null
null
ivarp/test/initial_compile_time_bounds.cpp
phillip-keldenich/squares-in-disk
501ebeb00b909b9264a9611fd63e082026cdd262
[ "MIT" ]
null
null
null
// The code is open source under the MIT license. // Copyright 2019-2020, Phillip Keldenich, TU Braunschweig, Algorithms Group // https://ibr.cs.tu-bs.de/alg // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to de...
50.065217
148
0.726878
phillip-keldenich
46210742d1bfb611dd5801334584aebafc98292c
13,584
cpp
C++
test/cmold.cpp
degarashi/resonant
f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a
[ "MIT" ]
null
null
null
test/cmold.cpp
degarashi/resonant
f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a
[ "MIT" ]
null
null
null
test/cmold.cpp
degarashi/resonant
f1a8c86c4d2c89d2397b0c1db55c7dfe7a317f6a
[ "MIT" ]
null
null
null
// #include "../glx_if.hpp" // #include "engine.hpp" // namespace boom { // using IndexV = std::vector<uint16_t>; // } // #define U_Def(str) rs::IEffect::GlxId::GenUnifId(str) // #define T_Def(tstr, pstr) rs::IEffect::GlxId::GenTechId(tstr, pstr) // const rs::IdValue // U_ViewPos = U_Def("u_viewPos"), // U_Alpha...
29.212903
143
0.533274
degarashi
4627b3b8b7183f405a089b46f6a38a2f633c06c6
103
cc
C++
lib/misc/test-scoped.cc
MrCirdo/tc-base-ci
074ed59b2f04d6c9bc160848d14684a69dd30d74
[ "MIT" ]
null
null
null
lib/misc/test-scoped.cc
MrCirdo/tc-base-ci
074ed59b2f04d6c9bc160848d14684a69dd30d74
[ "MIT" ]
null
null
null
lib/misc/test-scoped.cc
MrCirdo/tc-base-ci
074ed59b2f04d6c9bc160848d14684a69dd30d74
[ "MIT" ]
null
null
null
/** ** Testing the symbol tables. */ #include <ostream> #include <misc/contract.hh> int main() {}
10.3
30
0.621359
MrCirdo
462806f2923dee8ce6aabd5ffb4287931178eab9
67
cpp
C++
src/Primitive.cpp
idea-gen/CG-Coursework
ee39bb0ba8e69352c6a606f2689b54045e100d82
[ "MIT" ]
null
null
null
src/Primitive.cpp
idea-gen/CG-Coursework
ee39bb0ba8e69352c6a606f2689b54045e100d82
[ "MIT" ]
null
null
null
src/Primitive.cpp
idea-gen/CG-Coursework
ee39bb0ba8e69352c6a606f2689b54045e100d82
[ "MIT" ]
null
null
null
// // Created by daniil on 15.02.2022. // #include "Primitive.h"
9.571429
35
0.626866
idea-gen
462b59b942f53f3a4b605c6501ef30d9d6e3e6dc
1,010
cpp
C++
solutions/0016_3_sum_closest.cpp
fanwu91/LeetCode
8c25ee09057abed7f714a3a565badf22085a8fe7
[ "MIT" ]
null
null
null
solutions/0016_3_sum_closest.cpp
fanwu91/LeetCode
8c25ee09057abed7f714a3a565badf22085a8fe7
[ "MIT" ]
null
null
null
solutions/0016_3_sum_closest.cpp
fanwu91/LeetCode
8c25ee09057abed7f714a3a565badf22085a8fe7
[ "MIT" ]
null
null
null
#include <algorithm> #include <vector> using namespace std; class Solution { public: int three_sum_closest(vector<int>& nums, int target) { int n = nums.size(); int distance = INT_MAX, result = INT_MAX; sort(nums.begin(), nums.end()); for (int i = 0; i < n - 2; ++...
24.634146
58
0.357426
fanwu91
462c6a0f69afaf52b75d28d8ce34137848e54fc7
3,296
cpp
C++
assignments/a6-transform/unique.cpp
AnnaGoncharova12/animation-toolkit
854dabd028f748508ef39f9c473e2e4fce96f205
[ "MIT" ]
null
null
null
assignments/a6-transform/unique.cpp
AnnaGoncharova12/animation-toolkit
854dabd028f748508ef39f9c473e2e4fce96f205
[ "MIT" ]
null
null
null
assignments/a6-transform/unique.cpp
AnnaGoncharova12/animation-toolkit
854dabd028f748508ef39f9c473e2e4fce96f205
[ "MIT" ]
null
null
null
#include "atkui/framework.h" #include "atk/toolkit.h" #include "atkmath/quaternion.h" #include "atkmath/vector3.h" using namespace atk; using namespace atkmath; using atkmath::Quaternion; using atkmath::Vector3; using glm::vec3; class Unique : public atkui::Framework { public: Unique() : atkui::Framework(atkui::Per...
30.238532
76
0.624697
AnnaGoncharova12
463856a87138dd241b07c6fa547fd2e2ccfd3055
131
cpp
C++
c++/2.cpp
AxlidinovJ/masalalar_C
ca48c0db29155016a729fbe23030d4a638175d9b
[ "MIT" ]
3
2021-12-02T20:28:27.000Z
2021-12-08T10:21:24.000Z
c++/2.cpp
AxlidnovJ/masalalar_C
e0643137e115d7b9b26651a0d5acc24bc79f8d4f
[ "MIT" ]
null
null
null
c++/2.cpp
AxlidnovJ/masalalar_C
e0643137e115d7b9b26651a0d5acc24bc79f8d4f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int n,s; cin>>n; for(int i=1; i<n; i+=2){ s +=i; cout<<s<<endl; } }
11.909091
25
0.541985
AxlidinovJ
463b09fa1e52fd3cdc24e5af323783f4ef844a19
5,383
cc
C++
src/zetton_inference/tracker/sort_tracker.cc
project-zetton/zetton-inference
2b7534d3e6b868338e6cbcddcb652553fe9b918c
[ "BSD-2-Clause" ]
1
2021-03-16T03:07:31.000Z
2021-03-16T03:07:31.000Z
src/zetton_inference/tracker/sort_tracker.cc
project-zetton/zetton-inference
2b7534d3e6b868338e6cbcddcb652553fe9b918c
[ "BSD-2-Clause" ]
null
null
null
src/zetton_inference/tracker/sort_tracker.cc
project-zetton/zetton-inference
2b7534d3e6b868338e6cbcddcb652553fe9b918c
[ "BSD-2-Clause" ]
null
null
null
#include "zetton_inference/tracker/sort_tracker.h" #include <algorithm> #include <opencv2/core/types.hpp> namespace zetton { namespace inference { bool SortTracker::Init() { tracker::sort::KalmanTracker::kf_count = 0; return true; }; bool SortTracker::Track(const cv::Mat &frame, const ros::Time &timestamp, ...
32.041667
80
0.643322
project-zetton
463d3a2200ff42f946c4917f68ceb6df7d37039d
1,193
cpp
C++
src/common/Configuration.cpp
RemyWasTaken/Graphene
28eb2157ef7e1961c736d0c5a1b5d1adf8cf0b84
[ "Apache-2.0" ]
null
null
null
src/common/Configuration.cpp
RemyWasTaken/Graphene
28eb2157ef7e1961c736d0c5a1b5d1adf8cf0b84
[ "Apache-2.0" ]
null
null
null
src/common/Configuration.cpp
RemyWasTaken/Graphene
28eb2157ef7e1961c736d0c5a1b5d1adf8cf0b84
[ "Apache-2.0" ]
null
null
null
#include "Configuration.h" #include "Logger.h" #include <boost/property_tree/json_parser.hpp> #include <boost/filesystem.hpp> config::Configuration::Configuration() { if (boost::filesystem::exists("~/.graphene/config.json")) { boost::property_tree::json_parser::read_json("~/.graphene/config.json", propert...
30.589744
92
0.673093
RemyWasTaken
4643297bdb8b472376cccf4d910c98a4fcd26cad
11,205
cpp
C++
win/vulture/winclass/window.cpp
stikonas/Vulture-NetHack-3.6.6
1d37a3cbf5ebd887a07a5b06030e7bc196050878
[ "Intel", "X11" ]
2
2020-08-25T04:06:58.000Z
2021-05-15T19:29:55.000Z
win/vulture/winclass/window.cpp
stikonas/Vulture-NetHack-3.6.6
1d37a3cbf5ebd887a07a5b06030e7bc196050878
[ "Intel", "X11" ]
null
null
null
win/vulture/winclass/window.cpp
stikonas/Vulture-NetHack-3.6.6
1d37a3cbf5ebd887a07a5b06030e7bc196050878
[ "Intel", "X11" ]
2
2021-05-23T15:28:28.000Z
2022-02-03T21:36:49.000Z
/* NetHack may be freely redistributed. See license for details. */ #include "window.h" #include "vulture_gra.h" #include "vulture_sdl.h" #include "vulture_win.h" window *ROOTWIN = NULL; window::window(window *p) : parent(p) { if (!parent && ROOTWIN) parent = ROOTWIN; first_child = last_child = NU...
28.804627
78
0.583757
stikonas
4645e9402e18e6729cb17bd8d2de210631af5f12
22,404
cpp
C++
module/mpc-be/SRC/src/SubPic/SubPicQueueImpl.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/SubPic/SubPicQueueImpl.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/SubPic/SubPicQueueImpl.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
/* * (C) 2003-2006 Gabest * (C) 2006-2019 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your opt...
26.863309
130
0.688047
1aq
4646848030d98713c565c2ed793273237d636cc1
1,792
cpp
C++
controller/CommandFactory.cpp
WSU-CEG-6110-4410/Words
b3b997ec4c1a32a413ba94e3cec78a44afd73f79
[ "MIT" ]
null
null
null
controller/CommandFactory.cpp
WSU-CEG-6110-4410/Words
b3b997ec4c1a32a413ba94e3cec78a44afd73f79
[ "MIT" ]
20
2022-02-17T16:40:56.000Z
2022-03-15T19:18:47.000Z
controller/CommandFactory.cpp
WSU-CEG-6110-4410/Words
b3b997ec4c1a32a413ba94e3cec78a44afd73f79
[ "MIT" ]
null
null
null
#include "CommandFactory.h" #include <cassert> #include <iostream> #include <sstream> namespace WSU { namespace Controller { std::unordered_map<std::string, commandFactory_t> CommandFactoryRegistry::s_nameToFactoryMap; void CommandFactoryRegistry::registerFactory( std::string name, commandFac...
29.866667
74
0.570871
WSU-CEG-6110-4410
4647b08ba0b28345f0f6914aa763ab5f6ace05f6
1,913
hpp
C++
include/HighPerMeshes/auxiliary/Environment.hpp
paogor/highpermeshes-dsl
83ed95a8f7cd6bda388614064bca34f7380964e7
[ "MIT" ]
3
2020-04-24T11:10:34.000Z
2021-07-07T09:41:08.000Z
include/HighPerMeshes/auxiliary/Environment.hpp
paogor/highpermeshes-dsl
83ed95a8f7cd6bda388614064bca34f7380964e7
[ "MIT" ]
1
2020-03-09T18:28:24.000Z
2020-03-09T18:28:24.000Z
include/HighPerMeshes/auxiliary/Environment.hpp
paogor/highpermeshes-dsl
83ed95a8f7cd6bda388614064bca34f7380964e7
[ "MIT" ]
1
2020-04-22T12:49:46.000Z
2020-04-22T12:49:46.000Z
// Copyright (c) 2017-2020 // // Distributed under the MIT Software License // (See accompanying file LICENSE) #ifndef AUXILIARY_ENVIRONMENT_HPP #define AUXILIARY_ENVIRONMENT_HPP #include <cstdint> #include <cstdlib> #include <string> #include <type_traits> namespace HPM::auxiliary { //! //! \brief Get an en...
30.854839
141
0.591218
paogor
464bd7d080de82907f2172a05d8d159f97902244
3,323
cpp
C++
startalk_ui/subscriptionnumitem.cpp
xuepingiw/open_source_startalk
44d962b04039f5660ec47a10313876a0754d3e72
[ "MIT" ]
34
2019-03-18T08:09:24.000Z
2022-03-15T02:03:25.000Z
startalk_ui/subscriptionnumitem.cpp
venliong/open_source_startalk
51fda091a932a8adea626c312692836555753a9a
[ "MIT" ]
5
2019-05-29T09:32:05.000Z
2019-08-29T03:01:33.000Z
startalk_ui/subscriptionnumitem.cpp
venliong/open_source_startalk
51fda091a932a8adea626c312692836555753a9a
[ "MIT" ]
32
2019-03-15T09:43:22.000Z
2021-08-10T08:26:02.000Z
#include "subscriptionnumitem.h" #include "../LocalManBiz/SpellHelper.h" #include "portraithelper.h" const int AVATER_HEIGHT = 34; const int AVATER_WIDTH = 34; const int JOINPIC_SIZE = 17; SubscriptionNumItem::SubscriptionNumItem(const QString& jid, const QString& gpName, bool autoJoin) { setData(jid, SubscriptionN...
24.798507
126
0.740596
xuepingiw
464da39d7d47a5a2c38c404b9435a0996955c6fc
1,223
cpp
C++
src/plugins/robots/attabot/real_robot/main.cpp
DiegoD616/argos3-ATTABOT
e909bf1432dbd6649450dbb95e4e9f68f375eefa
[ "MIT" ]
null
null
null
src/plugins/robots/attabot/real_robot/main.cpp
DiegoD616/argos3-ATTABOT
e909bf1432dbd6649450dbb95e4e9f68f375eefa
[ "MIT" ]
null
null
null
src/plugins/robots/attabot/real_robot/main.cpp
DiegoD616/argos3-ATTABOT
e909bf1432dbd6649450dbb95e4e9f68f375eefa
[ "MIT" ]
null
null
null
#include <argos3/core/utility/configuration/argos_configuration.h> #include <argos3/core/utility/configuration/command_line_arg_parser.h> #include <argos3/core/utility/logging/argos_log.h> #include <argos3/plugins/robots/attabot/real_robot/real_attabot.h> using namespace argos; int main(int argc, char* argv[]) { /...
27.177778
73
0.637776
DiegoD616
464fd027f7ffc3e745ed888b9dd38377fa862ba5
470
cc
C++
tb/riscv-isa-sim/build/lb.cc
ljhsiun2/hackdac
f62399ddf9e9c79b22fbec07d59aa907a78a537e
[ "ECL-2.0", "Apache-2.0" ]
1
2021-08-13T03:12:15.000Z
2021-08-13T03:12:15.000Z
tb/riscv-isa-sim/build/lb.cc
ljhsiun2/hackdac
f62399ddf9e9c79b22fbec07d59aa907a78a537e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tb/riscv-isa-sim/build/lb.cc
ljhsiun2/hackdac
f62399ddf9e9c79b22fbec07d59aa907a78a537e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// See LICENSE for license details. #include "insn_template.h" reg_t rv32_lb(processor_t* p, insn_t insn, reg_t pc) { int xlen = 32; reg_t npc = sext_xlen(pc + insn_length( MATCH_LB)); #include "insns/lb.h" trace_opcode(p, MATCH_LB, insn); return npc; } reg_t rv64_lb(processor_t* p, insn_t insn, reg_t pc)...
21.363636
53
0.685106
ljhsiun2
46512b3d60e6800ec02e0afbe3189a0f784e117e
135
hpp
C++
bunsan/process/include/bunsan/process/signal.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
null
null
null
bunsan/process/include/bunsan/process/signal.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
10
2018-02-06T14:46:36.000Z
2018-03-20T13:37:20.000Z
bunsan/process/include/bunsan/process/signal.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
1
2021-11-26T10:59:09.000Z
2021-11-26T10:59:09.000Z
#pragma once namespace bunsan::process { // Clears inherited signal settings. void reset_signals(); } // namespace bunsan::process
15
36
0.740741
bacsorg
465593d690f0513c3c5464c2a8f9af0ae06890b9
862
cpp
C++
src/tests/mipmap.cpp
WeichenLiu/lajolla_public
daf1a095feb9b8a4a8c727a012f9d6d9a422ac69
[ "MIT" ]
31
2021-12-27T00:45:29.000Z
2022-03-21T11:12:24.000Z
src/tests/mipmap.cpp
WeichenLiu/lajolla_public
daf1a095feb9b8a4a8c727a012f9d6d9a422ac69
[ "MIT" ]
7
2022-01-04T03:08:28.000Z
2022-03-02T23:26:20.000Z
src/tests/mipmap.cpp
WeichenLiu/lajolla_public
daf1a095feb9b8a4a8c727a012f9d6d9a422ac69
[ "MIT" ]
14
2022-01-02T19:43:18.000Z
2022-03-21T06:07:39.000Z
#include "../image.h" #include "../mipmap.h" #include <cstdio> int main(int argc, char *argv[]) { Image3 img(64, 64); for (int i = 0; i < 64 * 64; i++) { img(i) = Vector3{1, 1, 1}; } Mipmap3 mipmap = make_mipmap(img); for (int l = 0; l < (int)mipmap.images.size(); l++) { for (int y ...
27.806452
57
0.360789
WeichenLiu
465c307b595a4e32eb292fc6858f918e1171659e
2,949
cpp
C++
modules/libasio/tcp/tcp_session.cpp
Colinwang531/av_converged_communication_system_architecture
d8d8a2ff72b5342fd0c3426978884c0e9c43dde8
[ "MIT" ]
2
2021-12-10T07:45:30.000Z
2021-12-17T01:42:36.000Z
modules/libasio/tcp/tcp_session.cpp
Colinwang531/av_converged_communication_system_architecture
d8d8a2ff72b5342fd0c3426978884c0e9c43dde8
[ "MIT" ]
null
null
null
modules/libasio/tcp/tcp_session.cpp
Colinwang531/av_converged_communication_system_architecture
d8d8a2ff72b5342fd0c3426978884c0e9c43dde8
[ "MIT" ]
null
null
null
#include "boost/asio.hpp" #include "boost/bind/bind.hpp" using namespace boost::placeholders; #include "boost/checked_delete.hpp" #include "error_code.h" #include "tcp_session.h" using namespace module::network::asio; TcpSession::TcpSession( void* s/* = nullptr*/, const uint32_t id/* = 0*/) : Ses...
27.305556
99
0.589352
Colinwang531
46605289a719a22e6186b13f5193f10b79239b8a
3,890
cpp
C++
realtime/server/updateuploadhandler.cpp
MakerButt/chaipcr
a4c0521d1b2ffb2aa1c90ff21f3ca4779b6831d1
[ "Apache-2.0" ]
1
2021-06-25T19:58:26.000Z
2021-06-25T19:58:26.000Z
realtime/server/updateuploadhandler.cpp
MakerButt/chaipcr
a4c0521d1b2ffb2aa1c90ff21f3ca4779b6831d1
[ "Apache-2.0" ]
null
null
null
realtime/server/updateuploadhandler.cpp
MakerButt/chaipcr
a4c0521d1b2ffb2aa1c90ff21f3ca4779b6831d1
[ "Apache-2.0" ]
null
null
null
// // Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments. // For more information visit http://www.chaibio.com // // Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compl...
30.155039
83
0.617224
MakerButt
4663208aeeec85cd54bb202d93c264b26b196666
563
cpp
C++
firmware/clock-display/src/relay.cpp
slomkowski/octoglow
078365bb0b21f9dc1ef426a3aa53c4e99535a6e5
[ "MIT" ]
6
2020-11-05T02:36:48.000Z
2022-03-12T03:07:37.000Z
firmware/clock-display/src/relay.cpp
slomkowski/octoglow
078365bb0b21f9dc1ef426a3aa53c4e99535a6e5
[ "MIT" ]
2
2021-01-27T04:25:03.000Z
2021-07-26T18:52:59.000Z
firmware/clock-display/src/relay.cpp
slomkowski/octoglow
078365bb0b21f9dc1ef426a3aa53c4e99535a6e5
[ "MIT" ]
null
null
null
#include "relay.hpp" #include "global.hpp" #include <avr/io.h> #define RELAY_PORT A #define RELAY1_PIN 6 #define RELAY2_PIN 7 void ::octoglow::vfd_clock::relay::init() { DDR(RELAY_PORT) |= _BV(RELAY1_PIN) | _BV(RELAY2_PIN); } void ::octoglow::vfd_clock::relay::setState(Relay relay, bool enabled) { uint8_t ...
17.060606
72
0.605684
slomkowski
4666b3be04137d8361406e33e82a1f2e032e3f07
3,049
cpp
C++
src/state_machine/BeagleBone_black/src/communications/receiver.cpp
Hyp-ed/testing-proto-2018
d283de2e6e1257de6fa7718ee67240e2179c73b6
[ "Apache-2.0" ]
null
null
null
src/state_machine/BeagleBone_black/src/communications/receiver.cpp
Hyp-ed/testing-proto-2018
d283de2e6e1257de6fa7718ee67240e2179c73b6
[ "Apache-2.0" ]
1
2018-11-12T17:59:29.000Z
2018-11-12T18:37:08.000Z
src/state_machine/BeagleBone_black/src/communications/receiver.cpp
Hyp-ed/testing-proto-2018
d283de2e6e1257de6fa7718ee67240e2179c73b6
[ "Apache-2.0" ]
null
null
null
/* * Authors: Kofi and Isabella * Organisation: HYPED * Date: 15/04/18 * Description: * * Copyright 2018 HYPED * 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...
33.877778
100
0.63365
Hyp-ed
466ae9e835007ef7fd6c1232a184db8ef13a374f
9,483
cpp
C++
vdp/MeshDefinition.cpp
kfckfckf/vdp
995f1b958a5fb3bf7ad546d3a104e4421bfd9253
[ "MIT" ]
null
null
null
vdp/MeshDefinition.cpp
kfckfckf/vdp
995f1b958a5fb3bf7ad546d3a104e4421bfd9253
[ "MIT" ]
null
null
null
vdp/MeshDefinition.cpp
kfckfckf/vdp
995f1b958a5fb3bf7ad546d3a104e4421bfd9253
[ "MIT" ]
2
2019-12-05T05:40:09.000Z
2020-02-16T01:08:45.000Z
#include <OpenMesh/Core/IO/MeshIO.hh> #include "MeshDefinition.h" #include <queue> #include <iostream> #include <fstream> bool MeshTools::ReadMesh(Mesh& mesh, const std::string& filename) { std::string path("."); auto slash = filename.find_last_of('/'); auto backslash = filename.find_last_of('\\'); if (slash != st...
24.007595
113
0.62301
kfckfckf
466dfb698f809cdb8ec5bcd4eca68c7819df4d2a
592
hpp
C++
include/zeno/Graphics/RenderData.hpp
zeno15/zeno
aa97dadde82bb17d54086d17d54254508b7ef39d
[ "MIT" ]
null
null
null
include/zeno/Graphics/RenderData.hpp
zeno15/zeno
aa97dadde82bb17d54086d17d54254508b7ef39d
[ "MIT" ]
null
null
null
include/zeno/Graphics/RenderData.hpp
zeno15/zeno
aa97dadde82bb17d54086d17d54254508b7ef39d
[ "MIT" ]
null
null
null
#ifndef INCLUDED_ZENO_GRAPHICS_RENDER_DATA_HPP #define INCLUDED_ZENO_GRAPHICS_RENDER_DATA_HPP #include <zeno/System/Mat4x4.hpp> #include <zeno/Graphics/Texture.hpp> #include <string> namespace zeno { //////////////////////////////////////////////////////////// // // // //////////////////////////////////////////////...
17.411765
60
0.592905
zeno15
466faafead8bb528e628d0e9266d141dfd8dda10
4,499
cpp
C++
source/hougl/src/hou/gl/gl_buffer_handle.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/hougl/src/hou/gl/gl_buffer_handle.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/hougl/src/hou/gl/gl_buffer_handle.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/gl/gl_buffer_handle.hpp" #include "hou/gl/gl_context.hpp" #include "hou/gl/gl_exceptions.hpp" #include "hou/gl/gl_functions.hpp" #include "hou/gl/gl_invalid_context_error.hpp" #include "hou/gl/gl_missing_context...
20.084821
80
0.752834
DavideCorradiDev
466fb59aebb50615282911de7d8f1e12965a7e86
5,212
cpp
C++
drivers/ata/ata-controller.cpp
Siliconlad/infos-1
9416552cb225fb2be1be6adcdb034f246d7c44b7
[ "MIT" ]
26
2019-01-14T22:00:53.000Z
2022-02-28T06:47:09.000Z
drivers/ata/ata-controller.cpp
Siliconlad/infos-1
9416552cb225fb2be1be6adcdb034f246d7c44b7
[ "MIT" ]
15
2020-09-25T14:16:42.000Z
2021-04-11T16:11:51.000Z
drivers/ata/ata-controller.cpp
Siliconlad/infos-1
9416552cb225fb2be1be6adcdb034f246d7c44b7
[ "MIT" ]
20
2018-11-01T09:19:43.000Z
2022-03-01T15:20:08.000Z
/* SPDX-License-Identifier: MIT */ /* * drivers/ata/ata-controller.cpp * * InfOS * Copyright (C) University of Edinburgh 2016. All Rights Reserved. * * Tom Spink <tspink@inf.ed.ac.uk> */ #include <infos/drivers/ata/ata-controller.h> #include <infos/drivers/ata/ata-device.h> #include <infos/util/lock.h> #incl...
27.005181
108
0.687836
Siliconlad
46708ce84acd8e1779f5b80d42b412ab9a95c1c1
5,615
hpp
C++
types/rule.hpp
SiLeader/dmake
b5196ed135540fb05fa9df4f076a1f890dedb5ac
[ "Apache-2.0" ]
null
null
null
types/rule.hpp
SiLeader/dmake
b5196ed135540fb05fa9df4f076a1f890dedb5ac
[ "Apache-2.0" ]
null
null
null
types/rule.hpp
SiLeader/dmake
b5196ed135540fb05fa9df4f076a1f890dedb5ac
[ "Apache-2.0" ]
null
null
null
// // Created by cerussite on 19/06/15. // #ifndef MAKE_RULE_HPP #define MAKE_RULE_HPP #include <boost/algorithm/string.hpp> #include <forward_list> #include <iostream> #include <regex> #include <string> #include <vector> #include "../variables.hpp" namespace make { namespace detail { inline std::regex ...
34.660494
91
0.547284
SiLeader
4672e50ffd54c28c743bef8297af855090eb004d
774
cpp
C++
tool/src/editpcap.cpp
sajjadium/BotGrabber
ce10ff472253b68c75815afe9c723cf5bc91e365
[ "MIT" ]
5
2020-04-06T07:07:29.000Z
2020-04-16T02:31:06.000Z
tool/src/editpcap.cpp
sajjadium/botnet-detection
ce10ff472253b68c75815afe9c723cf5bc91e365
[ "MIT" ]
null
null
null
tool/src/editpcap.cpp
sajjadium/botnet-detection
ce10ff472253b68c75815afe9c723cf5bc91e365
[ "MIT" ]
1
2020-04-06T15:43:34.000Z
2020-04-06T15:43:34.000Z
#include <utility/pcap.h> #include <utility/packet.h> #include <utility/common.h> using namespace utility; int main(int argc, char *argv[]) { Pcap pcap(argv[1], "", -1); if (!pcap.openOffline()) return 1; PcapDump pcap_dump(argv[2]); if (!pcap_dump.open()) return 2; while (true) { Packet *packet = pcap.n...
19.35
69
0.633075
sajjadium
4676ff66286bbb5becdc8d5bfb5121d5f61e89bb
13,647
cpp
C++
tests/sm/test_btree_cursor.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
27
2015-04-21T08:52:37.000Z
2022-03-18T03:38:58.000Z
tests/sm/test_btree_cursor.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
24
2015-07-04T10:45:41.000Z
2018-05-03T08:52:36.000Z
tests/sm/test_btree_cursor.cpp
lslersch/zero
ab779235f3c3bf58d6a3aa9d2a0a5296578ee498
[ "Spencer-94" ]
15
2015-03-31T09:57:10.000Z
2021-06-09T13:44:58.000Z
#include "btree_test_env.h" #include "gtest/gtest.h" #include "sm_vas.h" #include "btree.h" #include "btcursor.h" btree_test_env *test_env; /** * Unit test for cursor. */ w_rc_t prep_test(ss_m* ssm, test_volume_t *test_volume, StoreID &stid, PageID &root_pid) { W_DO(x_btree_create_index(ssm, test_volume, stid,...
34.637056
92
0.618011
lslersch
467aedf184a84a5e1f12b60b1fb6fb8ed7c50894
21,803
cpp
C++
srcs/http_server.cpp
g4ps/server
e833701f8bd49c57e1085b26086f03912af68ece
[ "Unlicense" ]
null
null
null
srcs/http_server.cpp
g4ps/server
e833701f8bd49c57e1085b26086f03912af68ece
[ "Unlicense" ]
null
null
null
srcs/http_server.cpp
g4ps/server
e833701f8bd49c57e1085b26086f03912af68ece
[ "Unlicense" ]
null
null
null
#include <string> #include <dirent.h> #include <list> #include <fcntl.h> #include <iostream> #include <fstream> #include <sstream> #include <map> #include <vector> #include <exception> #include <cstring> #include <sys/wait.h> #include <algorithm> #include <stdio.h> #include <string.h> #include <sys/types.h> #include <...
28.352406
97
0.640279
g4ps
467d78f7eb82b9052f7530917c5e819f1e312006
7,157
cpp
C++
MMVII/src/ImagesFiltrLinear/ExpGaussFilter.cpp
rumenmitrev/micmac
065de918bb963a1c0f472504862c3060e180d48b
[ "CECILL-B" ]
null
null
null
MMVII/src/ImagesFiltrLinear/ExpGaussFilter.cpp
rumenmitrev/micmac
065de918bb963a1c0f472504862c3060e180d48b
[ "CECILL-B" ]
null
null
null
MMVII/src/ImagesFiltrLinear/ExpGaussFilter.cpp
rumenmitrev/micmac
065de918bb963a1c0f472504862c3060e180d48b
[ "CECILL-B" ]
null
null
null
#include "include/MMVII_all.h" // #include <Eigen/Dense> namespace MMVII { /// Sigma of convol sqrt(A^2+B^2) double SomSigm(double aS1,double aS2) {return sqrt(Square(aS1)+Square(aS2));} /// "Inverse" of SomSigm sqrt(A^2-B^2) double DifSigm(double aS1,double aS2) { MMVII_INTERNAL_ASSERT_tiny(aS1>=aS2,"DifSig...
29.820833
116
0.604303
rumenmitrev
468a19c674c9eba223f07206eb09d1172324c614
13,921
cpp
C++
src/Client/System/NEWindow.cpp
Marukyu/NecroEdit
4b2380cc3417c6578476a213e05f4cbc846e5a77
[ "MIT", "Unlicense" ]
13
2016-04-02T14:21:49.000Z
2021-01-10T17:32:43.000Z
src/Client/System/NEWindow.cpp
Marukyu/NecroEdit
4b2380cc3417c6578476a213e05f4cbc846e5a77
[ "MIT", "Unlicense" ]
24
2016-04-02T12:08:39.000Z
2021-01-27T01:21:58.000Z
src/Client/System/NEWindow.cpp
Marukyu/NecroEdit
4b2380cc3417c6578476a213e05f4cbc846e5a77
[ "MIT", "Unlicense" ]
6
2016-04-02T12:05:28.000Z
2017-05-10T14:13:39.000Z
#include <Client/Graphics/Packing/SortingTexturePacker.hpp> #include <Client/Graphics/Packing/TexturePacker.hpp> #include <Client/GUI2/Application.hpp> #include <Client/GUI2/Container.hpp> #include <Client/GUI2/Interface.hpp> #include <Client/GUI2/Widgets/Gradient.hpp> #include <Client/GUI2/Widgets/Separator.hpp> #incl...
25.264973
116
0.712592
Marukyu
4692dea5c8e6285d0563401830215faf41ea4d45
1,078
cpp
C++
Week7/B - Piggy-Bank/B - Piggy-Bank/main.cpp
coolspring1293/Algorithm_2015_Later
7be91b0711d430245c52f351f339864853896f90
[ "MIT" ]
1
2015-11-30T12:34:04.000Z
2015-11-30T12:34:04.000Z
Week7/B - Piggy-Bank/B - Piggy-Bank/main.cpp
coolspring1293/Algorithm_2015_Later
7be91b0711d430245c52f351f339864853896f90
[ "MIT" ]
null
null
null
Week7/B - Piggy-Bank/B - Piggy-Bank/main.cpp
coolspring1293/Algorithm_2015_Later
7be91b0711d430245c52f351f339864853896f90
[ "MIT" ]
null
null
null
// // main.cpp // B - Piggy-Bank // // Created by Kieran Will on 11/12/15. // Copyright © 2015 Kieran Will. All rights reserved. // #include <iostream> #include <cstring> #include <algorithm> #define MAX 550 #define INF 0x3f3f3f3f using namespace std; int T, E, F, N, W[MAX], P[MAX], dp[MAX*20]; int main(int argc,...
20.730769
71
0.466605
coolspring1293
4694c849d9f1e663e305fcda8bdff719ae2c6309
263
cpp
C++
src/006 - Sum square difference.cpp
montyanderson/euler
ba07a13c8afaa61edf35987f2a4db34c89b5ad39
[ "MIT" ]
1
2016-03-16T17:08:54.000Z
2016-03-16T17:08:54.000Z
src/006 - Sum square difference.cpp
montyanderson/euler
ba07a13c8afaa61edf35987f2a4db34c89b5ad39
[ "MIT" ]
null
null
null
src/006 - Sum square difference.cpp
montyanderson/euler
ba07a13c8afaa61edf35987f2a4db34c89b5ad39
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { long int sum = 0, square = 0, max = 100; for(int i = 1; i <= max; i++) { sum += i * i; square += i; } square *= square; cout << square - sum << endl; }
13.842105
35
0.444867
montyanderson
46a1250a7908f202ba9c6ae631527c0ab529fb83
315
cpp
C++
GesturesVisualizer/Source/DefaultWindow.cpp
uiuyuty/vsfh
49f83a7bf043f7ae872dd759a0d32336d90cf1b4
[ "MIT" ]
36
2015-03-02T09:30:35.000Z
2020-06-11T07:07:57.000Z
GesturesVisualizer/Source/DefaultWindow.cpp
uiuyuty/vsfh
49f83a7bf043f7ae872dd759a0d32336d90cf1b4
[ "MIT" ]
3
2016-04-01T21:28:24.000Z
2018-03-30T21:39:28.000Z
GesturesVisualizer/Source/DefaultWindow.cpp
uiuyuty/vsfh
49f83a7bf043f7ae872dd759a0d32336d90cf1b4
[ "MIT" ]
17
2015-03-02T18:48:45.000Z
2019-03-12T06:44:08.000Z
#include "DefaultWindow.h" void DefaultWindow::closeButtonPressed() { // This is called when the user tries to close this window. Here, we'll just // ask the app to quit when this happens, but you can change this to do // whatever you need. JUCEApplication::getInstance()->systemRequestedQuit(); }
31.5
80
0.71746
uiuyuty
46a4aeb63ed1303fadc96d64af49d5f019d1eece
4,359
cpp
C++
src/RcppExports.cpp
paithiov909/RcppKagome
c994f9d6a13ad66310f14dd3ecd44c21137c6b17
[ "MIT" ]
4
2020-10-13T09:44:35.000Z
2021-02-28T23:34:34.000Z
src/RcppExports.cpp
paithiov909/RcppKagome
c994f9d6a13ad66310f14dd3ecd44c21137c6b17
[ "MIT" ]
13
2020-10-04T04:38:56.000Z
2021-11-04T14:46:37.000Z
src/RcppExports.cpp
paithiov909/RcppKagome
c994f9d6a13ad66310f14dd3ecd44c21137c6b17
[ "MIT" ]
null
null
null
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include "../inst/include/RcppKagome.h" #include <Rcpp.h> #include <string> #include <set> using namespace Rcpp; #ifdef RCPP_USE_GLOBAL_ROSTREAM Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::R...
38.236842
117
0.741913
paithiov909
46a76a9a56738062407ffeb3d7ab1db76cb67aad
8,758
cpp
C++
NdiReceiver/Source/NdiWrapper.cpp
COx2/juce_meets_ndi
c6fb6efbde03e3f46e18ea5de1a1a20c62803714
[ "MIT" ]
null
null
null
NdiReceiver/Source/NdiWrapper.cpp
COx2/juce_meets_ndi
c6fb6efbde03e3f46e18ea5de1a1a20c62803714
[ "MIT" ]
1
2020-06-26T14:55:59.000Z
2020-06-27T02:47:33.000Z
NdiReceiver/Source/NdiWrapper.cpp
COx2/juce_meets_ndi
c6fb6efbde03e3f46e18ea5de1a1a20c62803714
[ "MIT" ]
1
2021-12-16T12:22:56.000Z
2021-12-16T12:22:56.000Z
/* ============================================================================== NdiWrapper.cpp Created: 13 Jun 2020 4:37:33pm Author: Tatsuya Shiozawa ============================================================================== */ #include "NdiWrapper.h" #include <Processing.NDI.Lib.h> #include ...
29.193333
143
0.597968
COx2
9e56b4ae7ed60da4ac30c7cf46f5d1dab8e4dc6f
3,591
hpp
C++
engine/src/vulkan/loop/GameLoop.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
engine/src/vulkan/loop/GameLoop.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
engine/src/vulkan/loop/GameLoop.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
#pragma once #define TICKS_PER_SECOND 60 #include <pch.hpp> #include <chrono> #include <iostream> #include <vulkan/loop/TickTask.hpp> #include <thread> #include <mutex> using namespace std::chrono; class cGameLoop { private: // Amount of milliseconds per tick const duration<uint, std::milli> tPERIOD = mill...
22.166667
110
0.614871
Velikss
9e589773ad3e49d11a85512f46c509702bc2b1e8
254
hh
C++
src/Zynga/Framework/Testing/CodeCoverage/V1/MultiLineThrow.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
19
2018-04-23T09:30:48.000Z
2022-03-06T21:35:18.000Z
src/Zynga/Framework/Testing/CodeCoverage/V1/MultiLineThrow.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
22
2017-11-27T23:39:25.000Z
2019-08-09T08:56:57.000Z
src/Zynga/Framework/Testing/CodeCoverage/V1/MultiLineThrow.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
28
2017-11-16T20:53:56.000Z
2021-01-04T11:13:17.000Z
<?hh // strict namespace Zynga\Framework\Testing\CodeCoverage\V1; use \Exception; class MultiLineThrow { public function doBigThrow(): void { throw new Exception( 'i am a important long message that causes wordwrap to happen' ); } }
18.142857
68
0.700787
chintan-j-patel
9e596fb0fb6a720f764b2f5b0052bd55b6cb90c9
460
cpp
C++
MyGame/Classes/action/moveLR.cpp
mhigg/actiongame
89e5b4641f0179b79dbd8ca7743957630d600bab
[ "MIT" ]
null
null
null
MyGame/Classes/action/moveLR.cpp
mhigg/actiongame
89e5b4641f0179b79dbd8ca7743957630d600bab
[ "MIT" ]
null
null
null
MyGame/Classes/action/moveLR.cpp
mhigg/actiongame
89e5b4641f0179b79dbd8ca7743957630d600bab
[ "MIT" ]
null
null
null
#include "moveLR.h" #include <unit/Player.h> #include "SoundMng.h" //#include <_DebugConOut.h> bool MoveLR::operator()(cocos2d::Sprite& sprite, ActData& actData) { SOUND("walk")[0]->play(); //TRACE("move\n"); ((Player&)sprite).setPosition(((Player&)sprite).getPosition() + actData.distance); return true; } bool Id...
23
83
0.682609
mhigg
9e5c4ca8123004a99379526c11e3678a66090037
905
cpp
C++
source/projects/filter.jit.butterworth/filter.jit.butterworth.cpp
Cycling74/filter
f19f9427f4200132827aadf7c70001e983cc6949
[ "MIT" ]
5
2020-09-30T08:55:48.000Z
2021-04-03T07:52:56.000Z
source/projects/filter.jit.butterworth/filter.jit.butterworth.cpp
Cycling74/filter
f19f9427f4200132827aadf7c70001e983cc6949
[ "MIT" ]
3
2021-03-30T20:25:09.000Z
2022-01-21T19:06:04.000Z
source/projects/filter.jit.butterworth/filter.jit.butterworth.cpp
Cycling74/filter
f19f9427f4200132827aadf7c70001e983cc6949
[ "MIT" ]
1
2021-09-16T21:38:24.000Z
2021-09-16T21:38:24.000Z
/// @file /// @copyright Copyright (c) 2017, Cycling '74 /// @author Timothy Place /// @license Usage of this file and its contents is governed by the MIT License #include "DspFilters/Butterworth.h" using namespace Dsp::Butterworth::Design; #include "../filter.h" class jit_butterworth : public filter_mop<jit_butter...
29.193548
86
0.700552
Cycling74
9e5dad3c98f166cd82be7ae5d8037b261bc7fd30
260
hh
C++
examples/02-hpge/DetectorConstruction.hh
gipert/remage
33fbb16786da7723e120d479cdf8ec4647b3bbbd
[ "MIT" ]
2
2022-02-25T10:50:28.000Z
2022-03-11T15:12:05.000Z
examples/02-hpge/DetectorConstruction.hh
gipert/remage
33fbb16786da7723e120d479cdf8ec4647b3bbbd
[ "MIT" ]
3
2020-12-03T15:17:30.000Z
2022-03-18T09:56:22.000Z
examples/02-hpge/DetectorConstruction.hh
gipert/remage
33fbb16786da7723e120d479cdf8ec4647b3bbbd
[ "MIT" ]
null
null
null
#ifndef _DETECTOR_CONSTRUCTION_HH_ #define _DETECTOR_CONSTRUCTION_HH_ #include "RMGManagementDetectorConstruction.hh" class DetectorConstruction: public RMGManagementDetectorConstruction { public: G4VPhysicalVolume* DefineGeometry(); }; #endif
20
70
0.815385
gipert
9e5e73541ac3a85b1223e1a8a0ed7b8a812c3d1f
396
hh
C++
src/Waffle/Mix/Event/TerminateEvent.hh
azjezz/waffle
3a880ac4e7bd10739bc7134aaf1a531bfb623ba3
[ "MIT" ]
5
2018-11-27T20:20:13.000Z
2018-12-28T15:30:35.000Z
src/Waffle/Mix/Event/TerminateEvent.hh
azjezz/waffle
3a880ac4e7bd10739bc7134aaf1a531bfb623ba3
[ "MIT" ]
3
2018-12-13T19:11:09.000Z
2018-12-21T01:11:51.000Z
src/Waffle/Mix/Event/TerminateEvent.hh
azjezz/waffle
3a880ac4e7bd10739bc7134aaf1a531bfb623ba3
[ "MIT" ]
null
null
null
<?hh // strict namespace Waffle\Mix\Event; use type Waffle\Contract\Event\EventInterface; use type Waffle\Contract\Http\Message\ServerRequestInterface; use type Waffle\Contract\Http\Message\ResponseInterface; class TerminateEvent implements EventInterface { public function __construct( public ServerReque...
24.75
61
0.777778
azjezz
9e5f3540f201faa65d26585639ed74b0548fcb1e
39,070
cpp
C++
Engine Root/ModuleEditor.cpp
UnknownEngine/Engine
1a66108e33a438cf13c3d0545d42904818ebde32
[ "MIT" ]
null
null
null
Engine Root/ModuleEditor.cpp
UnknownEngine/Engine
1a66108e33a438cf13c3d0545d42904818ebde32
[ "MIT" ]
null
null
null
Engine Root/ModuleEditor.cpp
UnknownEngine/Engine
1a66108e33a438cf13c3d0545d42904818ebde32
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleEditor.h" #include <Glew/include/glew.h> #include "MathGeoLib/include/MathGeoLibFwd.h" #include "ImGui/imgui.h" #include "ImGui/imgui_impl_sdl.h" #include "ImGui/imgui_impl_opengl3.h" #include <SDL/include/SDL.h> #include "SDL/include/SDL_opengl.h" #include ...
32.749371
272
0.669593
UnknownEngine
9e6a020fde04b9c3bebee1cc9f5b4eb9dd6ddc74
1,503
cpp
C++
uva_10622/uva_10622.cpp
stwklu/403_repo
62ba70bf012a556137fea6e94dd8bf4f2e660a91
[ "MIT" ]
null
null
null
uva_10622/uva_10622.cpp
stwklu/403_repo
62ba70bf012a556137fea6e94dd8bf4f2e660a91
[ "MIT" ]
1
2018-01-16T05:56:28.000Z
2018-02-03T04:29:08.000Z
uva_10622/uva_10622.cpp
stwklu/403_repo
62ba70bf012a556137fea6e94dd8bf4f2e660a91
[ "MIT" ]
null
null
null
/* UVa problem: <10622> * * Topic: arithmetic * * Level: challenging * * Brief problem description: * * Find the max p for x such that x = b^p * * Solution Summary: * * Iterate through all possible estimate. Use fast power to avoid TLE * * Used Resources: * * StackOverflow * Competitive Prog...
18.329268
71
0.56487
stwklu
9e6b0b2898c7bb0f7ed6b73186a8ab79311279db
2,665
cpp
C++
rosbag2_cpp/src/rosbag2_cpp/readers/random_access_reader.cpp
qetuo1098/rosbag2
2798428a1d542a75176c34a88db1b56206bb1a66
[ "Apache-2.0" ]
null
null
null
rosbag2_cpp/src/rosbag2_cpp/readers/random_access_reader.cpp
qetuo1098/rosbag2
2798428a1d542a75176c34a88db1b56206bb1a66
[ "Apache-2.0" ]
null
null
null
rosbag2_cpp/src/rosbag2_cpp/readers/random_access_reader.cpp
qetuo1098/rosbag2
2798428a1d542a75176c34a88db1b56206bb1a66
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unles...
34.166667
214
0.739212
qetuo1098
9e6bf35179725a35067632f6ee4fe7fc686f67bc
679
cpp
C++
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch06/Exercise6.33.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch06/Exercise6.33.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch06/Exercise6.33.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
// Exercise6.33.cpp // Ad // Write a recursive funcion to print the contents of a vector. #include <iostream> #include <vector> using std::cin; using std::cout; using std::endl; void recPrint(std::vector<int>::iterator beg, std::vector<int>::iterator end); int main(int argc, char* argv[]) { std::vector<int> i...
22.633333
103
0.606775
alaxion
9e6e5914b743afb181d232b9d703c5bf09db7c13
3,355
cpp
C++
android-31/java/util/Optional.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/util/Optional.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/util/Optional.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JObject.hpp" #include "../../JString.hpp" #include "./Optional.hpp" namespace java::util { // Fields // QJniObject forward Optional::Optional(QJniObject obj) : JObject(obj) {} // Constructors // Methods java::util::Optional Optional::empty() { return callStaticObjectMethod( "java.util...
19.393064
65
0.657228
YJBeetle
9e6eaf7eeb22e59fb4753b040bce8a8989201533
76,398
hh
C++
src/devices/renesas/ra6m1/ra6m1_usb.hh
smindinvern/usb-micro
89b24a70a422352a71f92a5d3a6df796bcf32956
[ "BSD-3-Clause" ]
null
null
null
src/devices/renesas/ra6m1/ra6m1_usb.hh
smindinvern/usb-micro
89b24a70a422352a71f92a5d3a6df796bcf32956
[ "BSD-3-Clause" ]
null
null
null
src/devices/renesas/ra6m1/ra6m1_usb.hh
smindinvern/usb-micro
89b24a70a422352a71f92a5d3a6df796bcf32956
[ "BSD-3-Clause" ]
null
null
null
#ifndef RA6M1_USB_HH_ #define RA6M1_USB_HH_ #include "Registers.hh" #include "arm.hh" #include "usb.hh" #define RA6M1_USBFS_BASE (0x40090000UL) // 29.2.1: System Configuration Register #define USBFS_SYSCFG RA6M1_USBFS_BASE // USBFS Operation Enable #define USBFS_SYSCFG_USBE (1U << 0) // D+ Li...
42.51419
115
0.731969
smindinvern
9e748f8f6dbbecda2c2baea086b6d24b581539d3
2,870
cc
C++
psycal/session.cc
psyomn/sprawl
c330e51efdaec3f4e73d3fb8d44fe88533b04f3b
[ "Apache-2.0" ]
null
null
null
psycal/session.cc
psyomn/sprawl
c330e51efdaec3f4e73d3fb8d44fe88533b04f3b
[ "Apache-2.0" ]
null
null
null
psycal/session.cc
psyomn/sprawl
c330e51efdaec3f4e73d3fb8d44fe88533b04f3b
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 Simon (psyomn) Symeonidis 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...
31.195652
90
0.629965
psyomn
9e74c828a0028693dec654080dc7b8c5fb40e693
64
hpp
C++
Source/Textures/Bone.hpp
BubbleChien/Path
950f65b9fcd99bebf4cb5b20fecd3df085161912
[ "MIT" ]
1
2018-07-07T15:14:33.000Z
2018-07-07T15:14:33.000Z
Source/Textures/Bone.hpp
BubbleChien/Path
950f65b9fcd99bebf4cb5b20fecd3df085161912
[ "MIT" ]
null
null
null
Source/Textures/Bone.hpp
BubbleChien/Path
950f65b9fcd99bebf4cb5b20fecd3df085161912
[ "MIT" ]
null
null
null
/* Generated by tex3ds */ #pragma once #define Bone_Bone_idx 0
12.8
25
0.734375
BubbleChien
9e7c32073be3768685827bea80868a77c36ff594
1,225
cpp
C++
Codeforces/A/711A.cpp
willingtonortiz/CPSolutions
66c48995ba0f8658e000a1ef828ab5759549975e
[ "MIT" ]
null
null
null
Codeforces/A/711A.cpp
willingtonortiz/CPSolutions
66c48995ba0f8658e000a1ef828ab5759549975e
[ "MIT" ]
null
null
null
Codeforces/A/711A.cpp
willingtonortiz/CPSolutions
66c48995ba0f8658e000a1ef828ab5759549975e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<string> vs; typedef vector<int> vi; typedef vector<vi> vvi; typedef set<int> seti; typedef set<string> sets; typedef map<int, int> mapii; typedef map<string, int> mapsi; typedef map<int, string> mapis; #define finl cout << endl #define...
21.875
73
0.45551
willingtonortiz
9e7ffb7dd135e5bb6398b99ad456f68b7e46c1ef
54,380
cpp
C++
parsers/json/src/json/JSONElement.cpp
naazgull/zapata
e5734ff88a17b261a2f4547fa47f01dbb1a69d84
[ "Unlicense" ]
9
2016-08-10T16:51:23.000Z
2020-04-08T22:07:47.000Z
parsers/json/src/json/JSONElement.cpp
naazgull/zapata
e5734ff88a17b261a2f4547fa47f01dbb1a69d84
[ "Unlicense" ]
78
2015-02-25T15:16:02.000Z
2021-10-31T15:58:15.000Z
parsers/json/src/json/JSONElement.cpp
naazgull/zapata
e5734ff88a17b261a2f4547fa47f01dbb1a69d84
[ "Unlicense" ]
7
2015-01-13T14:39:21.000Z
2018-11-24T06:48:09.000Z
/* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that reco...
28.971763
99
0.522012
naazgull