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
e3437f9c2d621ce8c1b96dc6bdf4cb40898ae75e
3,570
tcc
C++
pcre2++/private/format.tcc
sjinks/pcre2pp
f9d842075704e5383ad2d4ce3e3748e40bc0b070
[ "MIT" ]
5
2018-03-02T19:14:32.000Z
2021-08-13T19:24:57.000Z
pcre2++/private/format.tcc
sjinks/pcre2pp
f9d842075704e5383ad2d4ce3e3748e40bc0b070
[ "MIT" ]
12
2017-08-08T07:18:25.000Z
2021-08-14T08:33:49.000Z
pcre2++/private/format.tcc
sjinks/pcre2pp
f9d842075704e5383ad2d4ce3e3748e40bc0b070
[ "MIT" ]
1
2018-07-10T09:50:28.000Z
2018-07-10T09:50:28.000Z
#ifndef PCRE2XX_MATCH_RESULTS_H #error "Please include pcre2++/match_results.h instead" #endif #include <algorithm> template<typename BiIter, typename Alloc> template<typename OutIter> OutIter pcre2::match_results<BiIter, Alloc>::format(OutIter out, const char_type* fmt_first, const char_type* fmt_last, match_flag_ty...
25.683453
144
0.432213
sjinks
e356791ff030ab80a56f80c2b3608477f2854080
783
hpp
C++
test/control.hpp
cynodelic/mulinum
fc7b9e750aadaede2cee8d840e65fa3832787764
[ "BSL-1.0" ]
null
null
null
test/control.hpp
cynodelic/mulinum
fc7b9e750aadaede2cee8d840e65fa3832787764
[ "BSL-1.0" ]
null
null
null
test/control.hpp
cynodelic/mulinum
fc7b9e750aadaede2cee8d840e65fa3832787764
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2019 Álvaro Ceballos // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt #ifndef CYNODELIC_MULINUM_TEST_CONTROL_HPP #define CYNODELIC_MULINUM_TEST_CONTROL_HPP CYNODELIC_TESTER_TEST_CASE_SINGLE_SECTION(control)...
34.043478
86
0.780332
cynodelic
e35e9ea0fe934ea8f34c5ba38a8afebf7938a98c
1,529
cpp
C++
2020day18/test.cpp
AntonJoha/AdventOfCode
3349f789adf3dc1d8062d56ba3efb20fbb0ee335
[ "MIT" ]
null
null
null
2020day18/test.cpp
AntonJoha/AdventOfCode
3349f789adf3dc1d8062d56ba3efb20fbb0ee335
[ "MIT" ]
null
null
null
2020day18/test.cpp
AntonJoha/AdventOfCode
3349f789adf3dc1d8062d56ba3efb20fbb0ee335
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <list> #include "run.h" typedef bool (*test)(); std::list<test> testcases; void testRun(){ int i = 1; for (test t : testcases){ if (t()) { std::cout << "Passed test: " << i << "\n"; } else { std::cout << "Didn't pass test: " << i << "\n"; } ++...
12.532787
58
0.626553
AntonJoha
e3620eabfc5755933fc365f62e5355c3d1d97366
4,012
hpp
C++
include/slim/types/Regexp.hpp
wnewbery/cpp-slim
c7087294b55db5d7ca846438ebddfaec395d1a12
[ "MIT" ]
3
2017-12-24T23:35:04.000Z
2019-03-16T09:35:46.000Z
include/slim/types/Regexp.hpp
wnewbery/cpp-slim
c7087294b55db5d7ca846438ebddfaec395d1a12
[ "MIT" ]
98
2016-07-01T14:55:03.000Z
2020-03-13T14:12:49.000Z
include/slim/types/Regexp.hpp
wnewbery/cpp-slim
c7087294b55db5d7ca846438ebddfaec395d1a12
[ "MIT" ]
2
2019-04-03T12:16:14.000Z
2020-03-13T14:13:25.000Z
#pragma once #include "Object.hpp" #include "Type.hpp" #include <regex> #include <unordered_map> #include <vector> #include <cassert> namespace slim { class Array; class Number; class String; class Regexp; /**MatchData for Regexp.*/ class MatchData : public Object { public: stati...
31.590551
97
0.603938
wnewbery
e3629d4551983d66ecac534029cc457243546b04
17,491
cpp
C++
src/cryptopp/test/cryptor/tst_cryptortest.cpp
karagog/gutil
43936af9bc4be1945e4f1a3656e91dfbf42cc35b
[ "Apache-2.0" ]
null
null
null
src/cryptopp/test/cryptor/tst_cryptortest.cpp
karagog/gutil
43936af9bc4be1945e4f1a3656e91dfbf42cc35b
[ "Apache-2.0" ]
2
2015-01-30T21:47:55.000Z
2015-02-10T00:22:27.000Z
src/cryptopp/test/cryptor/tst_cryptortest.cpp
karagog/gutil
43936af9bc4be1945e4f1a3656e91dfbf42cc35b
[ "Apache-2.0" ]
null
null
null
/*Copyright 2014 George Karagoulis 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 writing, softwar...
30.525305
132
0.629238
karagog
e36316248b6eaf033e042bd80ed91df5fa0634b4
11,674
cpp
C++
utils/createGrid/main.cpp
basselin7u/GPU-Restricted-Power-Diagrams
196e7d79125fb7edc75ed7b8f13990a7877c48f3
[ "MIT" ]
2
2021-04-06T20:29:42.000Z
2021-04-08T12:37:13.000Z
utils/createGrid/main.cpp
basselin7u/GPU-Restricted-Power-Diagrams
196e7d79125fb7edc75ed7b8f13990a7877c48f3
[ "MIT" ]
null
null
null
utils/createGrid/main.cpp
basselin7u/GPU-Restricted-Power-Diagrams
196e7d79125fb7edc75ed7b8f13990a7877c48f3
[ "MIT" ]
1
2022-01-24T12:42:52.000Z
2022-01-24T12:42:52.000Z
/* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */ /* * GEOGRAM example program: * compute Restricted Voronoi diagrams, i.e. * intersection between a Voronoi diagram and a * tetrahedral mesh (or a triangulated mesh). */ /* * Copyright (c) 2012-2014, Bruno L...
38.150327
167
0.602279
basselin7u
e364e14e47809e5eef2dee638ffc418c30657ff9
1,119
cpp
C++
src/osgEarthBuildings/ElevationsLodNode.cpp
VTMAK/osgearth-buildings
84e3f2cfb352bfeae27944ef62b68ffd8fd98a28
[ "MIT" ]
3
2017-12-05T06:38:28.000Z
2021-12-07T06:19:39.000Z
src/osgEarthBuildings/ElevationsLodNode.cpp
VTMAK/osgearth-buildings
84e3f2cfb352bfeae27944ef62b68ffd8fd98a28
[ "MIT" ]
null
null
null
src/osgEarthBuildings/ElevationsLodNode.cpp
VTMAK/osgearth-buildings
84e3f2cfb352bfeae27944ef62b68ffd8fd98a28
[ "MIT" ]
3
2017-12-03T09:48:04.000Z
2021-12-07T06:19:41.000Z
#include "ElevationsLodNode" #include <osgDB/ObjectWrapper> namespace osgEarth { namespace Buildings { ElevationsLodNode::ElevationsLodNode() { ; } ElevationsLodNode::ElevationsLodNode(const ElevationsLodNode& rhs, const osg::CopyOp& copyop) { elevationsLOD = rhs.eleva...
26.642857
99
0.631814
VTMAK
e36925a74858e06658647e2c3d7e61995f2af31a
5,818
cpp
C++
src/common/portmgr.cpp
kingtaurus/vogl
a7317fa38e9d909ada4e941ca7dc2df1e4415b37
[ "MIT" ]
497
2015-01-02T19:45:01.000Z
2022-03-04T19:22:07.000Z
src/common/portmgr.cpp
kingtaurus/vogl
a7317fa38e9d909ada4e941ca7dc2df1e4415b37
[ "MIT" ]
40
2015-01-05T21:04:20.000Z
2020-03-25T07:01:59.000Z
src/common/portmgr.cpp
kingtaurus/vogl
a7317fa38e9d909ada4e941ca7dc2df1e4415b37
[ "MIT" ]
85
2015-01-02T22:29:00.000Z
2021-11-28T02:42:48.000Z
/************************************************************************** * * Copyright 2013-2014 RAD Game Tools and Valve Software * 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 d...
28.380488
156
0.654692
kingtaurus
e36d993591fe76fbd15ab11ec8228d828faee3fd
11,288
cpp
C++
mathlib/planefit.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/mathlib/planefit.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/mathlib/planefit.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
//============ Copyright (c) Valve Corporation, All rights reserved. ============ // // Code to compute the equation of a plane with a least-squares residual fit. // //=============================================================================== #include "vplane.h" #include "mathlib.h" #include <algorithm> using nam...
34.414634
264
0.634833
DannyParker0001
e36ef2d2b03bbe5ec22bdb7bee6076697fd0f1b1
966
cpp
C++
widestring.cpp
jesse6548/peparser
7c304b332739a7cd874c57d5cbede9252b44987a
[ "MIT" ]
86
2016-04-15T21:50:39.000Z
2022-03-09T05:48:02.000Z
widestring.cpp
jesse6548/peparser
7c304b332739a7cd874c57d5cbede9252b44987a
[ "MIT" ]
2
2017-07-17T23:27:34.000Z
2019-05-31T22:28:03.000Z
widestring.cpp
jesse6548/peparser
7c304b332739a7cd874c57d5cbede9252b44987a
[ "MIT" ]
24
2016-04-15T22:00:07.000Z
2021-02-13T03:32:29.000Z
// Copyright (c) 2016 SMART Technologies. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "widestring.h" namespace peparser { template<> const char Literals<char>::colon = ':'; template<> const wchar_t Literals<wchar_t>::colon = L':...
42
155
0.652174
jesse6548
e37dbef058ac81324252e8686c4165d6c40d1b3c
800
hpp
C++
tui/window.hpp
sk2sat/libtui
9c338201de2dee59cef2bd8f8788e10659b9b4ee
[ "MIT" ]
2
2020-08-28T20:55:35.000Z
2021-03-06T21:17:42.000Z
tui/window.hpp
sk2sat/libtui
9c338201de2dee59cef2bd8f8788e10659b9b4ee
[ "MIT" ]
null
null
null
tui/window.hpp
sk2sat/libtui
9c338201de2dee59cef2bd8f8788e10659b9b4ee
[ "MIT" ]
1
2018-07-21T12:18:47.000Z
2018-07-21T12:18:47.000Z
#ifndef TUI_WINDOW_HPP_ #define TUI_WINDOW_HPP_ #include "screen.hpp" #include "color.hpp" namespace tui { class window { public: window() : col_bk(color::Black) { // とりあえずスクリーンと同じサイズ auto i = screen::get_info(); width = i.width; height= i.height; } window(size_t w, size_t h) : width(w), height(h)...
21.621622
83
0.6575
sk2sat
e3803317d9816d4d9a606a15755a38b833e5b08f
2,470
hpp
C++
src/lib/spline/SplineGenerator.hpp
roboFiddle/7405M_TowerTakeover_Code
e16ffab17964ff61a25eac2074da78d0d7577caa
[ "MIT" ]
null
null
null
src/lib/spline/SplineGenerator.hpp
roboFiddle/7405M_TowerTakeover_Code
e16ffab17964ff61a25eac2074da78d0d7577caa
[ "MIT" ]
null
null
null
src/lib/spline/SplineGenerator.hpp
roboFiddle/7405M_TowerTakeover_Code
e16ffab17964ff61a25eac2074da78d0d7577caa
[ "MIT" ]
null
null
null
// // Created by alexweiss on 7/4/19. // #ifndef INC_7405M_CODE_SPLINEGENERATOR_HPP #define INC_7405M_CODE_SPLINEGENERATOR_HPP #include "Spline.hpp" #include "CubicHermiteSpline.hpp" #include "QuinticHermiteSpline.hpp" #include "../geometry/Pose2dWithCurvature.hpp" #include <vector> namespace spline { class Spli...
49.4
148
0.640486
roboFiddle
be66ff22032f1aaecb9072748929b4ef5973a7df
588
cpp
C++
src/app.cpp
Neckrome/vectorFieldSurface
91afebadf9815e6a2dc658cdce82691fddd603ee
[ "MIT" ]
null
null
null
src/app.cpp
Neckrome/vectorFieldSurface
91afebadf9815e6a2dc658cdce82691fddd603ee
[ "MIT" ]
null
null
null
src/app.cpp
Neckrome/vectorFieldSurface
91afebadf9815e6a2dc658cdce82691fddd603ee
[ "MIT" ]
null
null
null
#include "app.hpp" #include "geometry/utils.hpp" #include "geometry/plane.hpp" #include "test.hpp" #include "optim/deformingMesh.hpp" #include <functional> #include "geometrycentral/surface/manifold_surface_mesh.h" #include "geometrycentral/surface/meshio.h" #include "geometrycentral/surface/vertex_position_g...
20.275862
62
0.680272
Neckrome
be6bd61fac3d8645d0fefd06bef1360b2e31d4be
650
hpp
C++
tests/helper.hpp
marwage/alzheimer
b58688ea91f9b2ca4ae5457858b0fcc2a6e3e041
[ "CC0-1.0" ]
null
null
null
tests/helper.hpp
marwage/alzheimer
b58688ea91f9b2ca4ae5457858b0fcc2a6e3e041
[ "CC0-1.0" ]
null
null
null
tests/helper.hpp
marwage/alzheimer
b58688ea91f9b2ca4ae5457858b0fcc2a6e3e041
[ "CC0-1.0" ]
null
null
null
// Copyright 2020 Marcel Wagenländer #ifndef HELPER_HPP #define HELPER_HPP #include "sage_linear.hpp" #include "tensors.hpp" void save_params(std::vector<Matrix<float> *> parameters); void save_grads(SageLinearGradients *gradients, std::vector<Matrix<float> *> weight_gradients); void save_grads(SageLinearGradient...
26
118
0.776923
marwage
be6e7b4a381fde523f96db80dcaa8714550ad249
6,166
cpp
C++
z80emu/fuzix-arm/src/main.cpp
Paolo-Maffei/retro
bf30cec3d82672eb2805392e77f3b21705129fc0
[ "Unlicense" ]
1
2022-02-12T19:35:39.000Z
2022-02-12T19:35:39.000Z
z80emu/fuzix-arm/src/main.cpp
Paolo-Maffei/retro
bf30cec3d82672eb2805392e77f3b21705129fc0
[ "Unlicense" ]
null
null
null
z80emu/fuzix-arm/src/main.cpp
Paolo-Maffei/retro
bf30cec3d82672eb2805392e77f3b21705129fc0
[ "Unlicense" ]
null
null
null
#include <jee.h> #include <jee/spi-sdcard.h> #include <string.h> #include "cpmdate.h" extern "C" { #include "context.h" #include "z80emu.h" #include "macros.h" } UartBufDev< PinA<9>, PinA<10> > console; int printf(const char* fmt, ...) { va_list ap; va_start(ap, fmt); veprintf(console.putc, fmt, ap); va_end(ap);...
30.676617
79
0.46432
Paolo-Maffei
be6f02055f535eaadbe98993a1ac00def5164452
3,285
hpp
C++
include/CobraModelParser/MatlabV5/ArrayFlags.hpp
qacwnfq/CobraModelParser
9e03ff6e9f05e4a971b39a85360494925c72dbeb
[ "MIT" ]
null
null
null
include/CobraModelParser/MatlabV5/ArrayFlags.hpp
qacwnfq/CobraModelParser
9e03ff6e9f05e4a971b39a85360494925c72dbeb
[ "MIT" ]
null
null
null
include/CobraModelParser/MatlabV5/ArrayFlags.hpp
qacwnfq/CobraModelParser
9e03ff6e9f05e4a971b39a85360494925c72dbeb
[ "MIT" ]
null
null
null
#include <utility> #ifndef COBRAMODELPARSER_MATLABV5_ARRAYFLAGS_HPP #define COBRAMODELPARSER_MATLABV5_ARRAYFLAGS_HPP #include <ostream> #include <CobraModelParser/ByteParser.hpp> #include "CobraModelParser/ByteQueue.hpp" #include "CobraModelParser/MatlabV5/ArrayType.hpp" #include "CobraModelParser/MatlabV5/ArrayTypeT...
34.578947
119
0.526941
qacwnfq
be75a963db59fccca4dfef00231f29ab04f88b18
8,695
cpp
C++
Source/UI/Components/VirtualKeyboard/KeyboardViewport.cpp
vsicurella/SuperVirtualKeyboard
b59549281ea16b70f94b3136fe0b9a1f9fc355e2
[ "Unlicense" ]
22
2019-06-26T12:41:49.000Z
2022-02-11T14:48:18.000Z
Source/UI/Components/VirtualKeyboard/KeyboardViewport.cpp
vsicurella/SuperVirtualKeyboard
b59549281ea16b70f94b3136fe0b9a1f9fc355e2
[ "Unlicense" ]
18
2019-06-22T21:49:21.000Z
2021-05-15T01:33:57.000Z
Source/UI/Components/VirtualKeyboard/KeyboardViewport.cpp
vsicurella/SuperVirtualKeyboard
b59549281ea16b70f94b3136fe0b9a1f9fc355e2
[ "Unlicense" ]
null
null
null
/* ============================================================================== KeyboardViewPort.cpp Created: 31 Oct 2019 2:41:37pm Author: Vincenzo Sicurella ============================================================================== */ #include "KeyboardViewport.h" KeyboardViewport::Keyboard...
29.276094
138
0.686371
vsicurella
be7adbbff25a909c45d8b427fa5efe11574dc57f
352
hpp
C++
example/openglGame.hpp
Withbini/game-engine
40c28e994c00e4acd2ed41720eb24f6754031382
[ "BSD-2-Clause" ]
null
null
null
example/openglGame.hpp
Withbini/game-engine
40c28e994c00e4acd2ed41720eb24f6754031382
[ "BSD-2-Clause" ]
null
null
null
example/openglGame.hpp
Withbini/game-engine
40c28e994c00e4acd2ed41720eb24f6754031382
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include "Game.hpp" #include "Shader.hpp" #include "VertexArray.hpp" #include "Renderer.hpp" class openglGame : public Game { public: openglGame(); ~openglGame() override; bool Initialize() override; void LoadData() override; private: class Ship2* mShip; VertexArray* mSpriteVerts; int mSpriteFra...
14.666667
28
0.735795
Withbini
be816982618a5ba2577c6c5bfe30589cfb890641
951
cc
C++
benchmark/supermalloc/src/footprint.cc
jneuhauser/rpmalloc-benchmark
f492744530a349b9b6c831305b25aec0ec5a6a5b
[ "Unlicense" ]
287
2015-05-13T22:37:29.000Z
2022-03-31T01:56:53.000Z
benchmark/supermalloc/src/footprint.cc
jneuhauser/rpmalloc-benchmark
f492744530a349b9b6c831305b25aec0ec5a6a5b
[ "Unlicense" ]
50
2015-06-08T02:13:25.000Z
2019-07-17T22:41:02.000Z
benchmark/supermalloc/src/footprint.cc
jneuhauser/rpmalloc-benchmark
f492744530a349b9b6c831305b25aec0ec5a6a5b
[ "Unlicense" ]
31
2015-07-24T10:20:49.000Z
2022-01-17T18:30:51.000Z
/* Maintain a count of the footprint. */ #include <sched.h> #include "malloc_internal.h" #include "atomically.h" static const int processor_number_limit = 128; // should be enough for now. static uint64_t partitioned_footprint[processor_number_limit]; struct processor_id { int cpuid; int count; } __attribute__(...
25.026316
103
0.725552
jneuhauser
be92326c9c6b7a7a87ad2680ad57ae4d2c334cb7
571
cpp
C++
slsv_cnc/tests-cpp/Tests.cpp
command-paul/slsv-master
a703bfaa8031e18e3fb74d3f1f2f4544c75a73ef
[ "BSD-3-Clause" ]
null
null
null
slsv_cnc/tests-cpp/Tests.cpp
command-paul/slsv-master
a703bfaa8031e18e3fb74d3f1f2f4544c75a73ef
[ "BSD-3-Clause" ]
null
null
null
slsv_cnc/tests-cpp/Tests.cpp
command-paul/slsv-master
a703bfaa8031e18e3fb74d3f1f2f4544c75a73ef
[ "BSD-3-Clause" ]
1
2021-01-29T14:29:52.000Z
2021-01-29T14:29:52.000Z
#include "../src/TestInstance.hpp" #include <iostream> // Append all of these to a Vector of test functions. bool test_spike_interface(){ return true; } bool test_state(){ riscv* a = new riscv; (*a).addHART(); (*a).addMemory(); (*a).addNHSV(); std::cout << (*a).HART_Vec[0].GPR[0] << std::endl; delete a; retu...
14.641026
53
0.661996
command-paul
be9497a88db7a28553fb2fac51b78aa15d4e7fd6
5,348
hpp
C++
third_party/boost/simd/arch/x86/xop/simd/function/is_equal.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/arch/x86/xop/simd/function/is_equal.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/arch/x86/xop/simd/function/is_equal.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /** Copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) **/ //====================================...
30.044944
100
0.512528
SylvainCorlay
be99a543c56d95b3d0608df21a72cccb5f6e57c2
2,353
cpp
C++
gwen/UnitTest/ListBox.cpp
Oipo/GWork
3dd70c090bf8708dd3e7b9cfbcb67163bb7166db
[ "MIT" ]
null
null
null
gwen/UnitTest/ListBox.cpp
Oipo/GWork
3dd70c090bf8708dd3e7b9cfbcb67163bb7166db
[ "MIT" ]
null
null
null
gwen/UnitTest/ListBox.cpp
Oipo/GWork
3dd70c090bf8708dd3e7b9cfbcb67163bb7166db
[ "MIT" ]
null
null
null
#include "Gwen/UnitTest/UnitTest.h" #include "Gwen/Controls/ListBox.h" using namespace Gwen; class ListBox : public GUnit { public: GWEN_CONTROL_INLINE(ListBox, GUnit) { { Gwen::Controls::ListBox* ctrl = new Gwen::Controls::ListBox(this); ctrl->SetBounds(10, 10, 100, 200); ...
33.614286
89
0.523587
Oipo
bea227ef94b26917242359f7f9e5a286d85e6bb0
250
cpp
C++
Crossy_Roads/Camera/obscamera.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
1
2018-04-18T12:54:33.000Z
2018-04-18T12:54:33.000Z
Crossy_Roads/Camera/obscamera.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
null
null
null
Crossy_Roads/Camera/obscamera.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
null
null
null
#include "obscamera.h" using namespace glm; OBSCamera::OBSCamera() { } OBSCamera::OBSCamera(vec3 OBS, vec3 UP) { this->OBS = OBS; this->UP = UP; } OBSCamera::~OBSCamera() { } void OBSCamera::updateVM() { VM = lookAt(OBS, VRP, UP); }
12.5
41
0.624
Daryan7
bea2390778d527b02f1d8a7ff84ece78d39fa6e7
7,325
cpp
C++
sysc/dev.cpp
dcblack/technology_demonstrator
c8f3d2fc9a51fba0db3ed9a44c540f1249b59b10
[ "Apache-2.0" ]
4
2018-10-12T01:06:32.000Z
2022-01-11T19:14:20.000Z
sysc/dev.cpp
dcblack/technology_demonstrator
c8f3d2fc9a51fba0db3ed9a44c540f1249b59b10
[ "Apache-2.0" ]
1
2017-06-13T05:08:35.000Z
2019-01-03T14:14:34.000Z
sysc/dev.cpp
dcblack/technology_demonstrator
c8f3d2fc9a51fba0db3ed9a44c540f1249b59b10
[ "Apache-2.0" ]
1
2015-04-29T08:42:17.000Z
2015-04-29T08:42:17.000Z
//BEGIN dev.cpp (systemc) /////////////////////////////////////////////////////////////////////////////// // $Info: Simple device implementation $ /////////////////////////////////////////////////////////////////////////////// // $License: Apache 2.0 $ // // This file is licensed under the Apache License, Version 2.0 ...
42.34104
99
0.539113
dcblack
bea67ba9bf710f926e27096b87b670a45f3670c3
1,493
cpp
C++
ZSpire-Framework/src/zs-forward-render.cpp
Pershades/zspire
9b08cfd4cf25348680dc0c3f139b079a2f7434ef
[ "MIT" ]
4
2018-03-15T20:02:17.000Z
2018-03-31T19:19:53.000Z
ZSpire-Framework/src/zs-forward-render.cpp
Cvosttv/zspire
9b08cfd4cf25348680dc0c3f139b079a2f7434ef
[ "MIT" ]
null
null
null
ZSpire-Framework/src/zs-forward-render.cpp
Cvosttv/zspire
9b08cfd4cf25348680dc0c3f139b079a2f7434ef
[ "MIT" ]
3
2018-03-25T15:43:51.000Z
2018-03-27T22:43:05.000Z
#include <vector> #include "../includes/zs-base-structs.h" #include "../includes/zs-camera.h" #include "../includes/zs-light.h" #include "../includes/zs-shader.h" #include "../includes/zs-game-object.h" #include "../includes/zs-scene.h" #include "../includes/zs-forward-render.h" #ifdef _WIN32 #include <glew.h> ...
20.452055
74
0.713999
Pershades
bea9a92742289ee55258270749877935498b490c
44,181
cpp
C++
src/JSystem/JAS/JASAramStream.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/JSystem/JAS/JASAramStream.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/JSystem/JAS/JASAramStream.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global OSC_RELEASE_TABLE OSC_RELEASE_TABLE: .4byte 0x00000002 .4byte 0x0000000F .4byte 0x00000000 .global OSC_ENV OSC_ENV: .4byte 0x00000000 .float 1.0 .4...
20.549302
150
0.574319
projectPiki
beabcdf481ed6eff8a8ca9c18d7bdc6bf003558c
1,754
cpp
C++
KFPlugin/KFHttpClient/KFHttpThread.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
1
2021-04-26T09:31:32.000Z
2021-04-26T09:31:32.000Z
KFPlugin/KFHttpClient/KFHttpThread.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
KFPlugin/KFHttpClient/KFHttpThread.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
#include "KFHttpThread.hpp" #include "KFHttp/KFHttp.h" namespace KFrame { KFHttpThread::KFHttpThread() { _thread_run = true; _http_response_list.InitQueue( 20000u ); KFThread::CreateThread( this, &KFHttpThread::RunHttpRequest, __FUNC_LINE__ ); } KFHttpThread::~KFHttpThread() ...
23.386667
85
0.518814
282951387
beb54bfd3c776f6efddc4bdc818813d8bc85a1d1
345
cpp
C++
src/DupLogger.cpp
DIYEmbeddedSystems/Logger
b3ac778786253bdcd298e4d8c04b161d2092c07b
[ "MIT" ]
null
null
null
src/DupLogger.cpp
DIYEmbeddedSystems/Logger
b3ac778786253bdcd298e4d8c04b161d2092c07b
[ "MIT" ]
null
null
null
src/DupLogger.cpp
DIYEmbeddedSystems/Logger
b3ac778786253bdcd298e4d8c04b161d2092c07b
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <ArduinoLogger.h> #include <DupLogger.h> DupLogger::DupLogger(Logger &logger1, Logger &logger2) : _logger1(logger1), _logger2(logger2) { info("DupLogger constructed"); } void DupLogger::output(const char *log_buffer, size_t len) { _logger1.output(log_buffer, len); _logger2.ou...
20.294118
58
0.730435
DIYEmbeddedSystems
beb8147403f3f64a7e1617135d0cc76b78921430
835
cpp
C++
706B.cpp
JiangWeibeta/Answers-to-Codeforces-Problems
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
1
2021-10-30T02:17:29.000Z
2021-10-30T02:17:29.000Z
706B.cpp
JiangWeibeta/Answers-to-codeforces-problemset
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
null
null
null
706B.cpp
JiangWeibeta/Answers-to-codeforces-problemset
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <stdlib.h> #include <vector> using namespace std; int main() { int len = 0; cin >> len; vector<int> vc(len); for (int i = 0; i < len; i++) { cin >> vc[i]; } sort(vc.begin(), vc.end()); int cnt = 0; cin >> c...
18.977273
42
0.361677
JiangWeibeta
bebc043e1bd065c318d08aafc83b2e1ae34188a6
813
hpp
C++
Library/Source/EnergyManager/Utility/Units/SIUnit.hpp
NB4444/BachelorProjectEnergyManager
d1fd93dcc83af6d6acd36b7efda364ac2aab90eb
[ "MIT" ]
null
null
null
Library/Source/EnergyManager/Utility/Units/SIUnit.hpp
NB4444/BachelorProjectEnergyManager
d1fd93dcc83af6d6acd36b7efda364ac2aab90eb
[ "MIT" ]
null
null
null
Library/Source/EnergyManager/Utility/Units/SIUnit.hpp
NB4444/BachelorProjectEnergyManager
d1fd93dcc83af6d6acd36b7efda364ac2aab90eb
[ "MIT" ]
null
null
null
#pragma once #include "EnergyManager/Utility/Units/Unit.hpp" namespace EnergyManager { namespace Utility { namespace Units { /** * SI prefix types. */ enum class SIPrefix { YOCTO = -24, ZEPTO = -21, ATTO = -18, FEMTO = -15, PICO = -12, NANO = -9, MICRO = -6, MILLI = -3...
17.297872
53
0.530135
NB4444
bebdf80ff5a9cc18f8b7289fd0fbc26537c76609
13,298
cpp
C++
parsers/arg_parser/generated/ArgumentListLexer.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
307
2015-04-10T13:27:32.000Z
2022-03-21T03:30:38.000Z
parsers/arg_parser/generated/ArgumentListLexer.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
2,231
2015-04-27T10:47:35.000Z
2022-03-31T19:22:37.000Z
parsers/arg_parser/generated/ArgumentListLexer.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
282
2015-01-05T12:16:57.000Z
2022-03-28T04:45:11.000Z
// Generated from /media/cache/code/asarium/fs2open.github.com/parsers/arg_parser/ArgumentList.g4 by ANTLR 4.8 #include "ArgumentListLexer.h" using namespace antlr4; ArgumentListLexer::ArgumentListLexer(CharStream *input) : Lexer(input) { _interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA, _s...
52.561265
120
0.618439
trgswe
bebe23bb7cf418e86220e5eb91e98ebfec244c5c
4,237
cpp
C++
3dc/sphere.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
3dc/sphere.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
3dc/sphere.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
#include "3dc.h" #include "module.h" #include "inline.h" #include "tables.h" #include "sphere.h" #define UseLocalAssert TRUE #include "ourasert.h" #define MakeVertex(o,x,y,z) \ { \ o->vx=(x); \ o->vy=(y); \ o->vz=(z); \ o++; \ } #define MakeFace(f,a,b,c) \ { \ f->v[0] = (a); \ f->v[1] = (b); \ f->v[2] = (c);...
16.681102
81
0.495634
Melanikus
bec2481709501c3146718d513f3ffa5176f05b20
1,560
cpp
C++
Code.v05-00/src/Util/MC_Rand.cpp
MIT-LAE/APCEMM
2954bca64ec1c13552830d467d404dbe627ef71a
[ "MIT" ]
2
2022-03-21T20:49:37.000Z
2022-03-22T17:25:31.000Z
Code.v05-00/src/Util/MC_Rand.cpp
MIT-LAE/APCEMM
2954bca64ec1c13552830d467d404dbe627ef71a
[ "MIT" ]
null
null
null
Code.v05-00/src/Util/MC_Rand.cpp
MIT-LAE/APCEMM
2954bca64ec1c13552830d467d404dbe627ef71a
[ "MIT" ]
1
2022-03-21T20:50:50.000Z
2022-03-21T20:50:50.000Z
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ /* */ /* Aircraft Plume Chemistry, Emission and Microphysics Model */ /* (APCEMM) */ /* ...
39
78
0.385897
MIT-LAE
becb4dee1d0fc3f6f31881b3bb75ad8bcba117fd
12,227
cpp
C++
tests/das_tests/wire_out_with_fee_tests.cpp
powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
1
2021-07-26T02:42:01.000Z
2021-07-26T02:42:01.000Z
tests/das_tests/wire_out_with_fee_tests.cpp
green-powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
null
null
null
tests/das_tests/wire_out_with_fee_tests.cpp
green-powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018 Tech Solutions Malta LTD * * 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 us...
44.461818
188
0.765192
powerchain-ltd
becfa603a2fe2ed4d77b68fbeb677efa956018bf
922
hpp
C++
notebook/mutsim/src/mut.hpp
johnsmith2077/kevlar
3ed06dae62479e89ccd200391728c416d4df8052
[ "MIT" ]
24
2016-12-07T07:59:09.000Z
2019-03-11T02:05:36.000Z
notebook/mutsim/src/mut.hpp
johnsmith2077/kevlar
3ed06dae62479e89ccd200391728c416d4df8052
[ "MIT" ]
325
2016-12-07T07:37:17.000Z
2019-03-12T19:01:40.000Z
notebook/mutsim/src/mut.hpp
standage/kevlar
622d1869266550422e91a60119ddc7261eea434a
[ "MIT" ]
8
2017-08-17T01:37:39.000Z
2019-03-01T16:17:44.000Z
#ifndef KEVLAR_CPP_MUT #define KEVLAR_CPP_MUT #include <random> #include <string> #include "hist.hpp" #include "log.hpp" #include "hashtable.hh" using namespace oxli; class Mutator { protected: uint k; ulong limit; Histogram abund_hist; Histogram unique_hist; Logger& logge...
24.263158
89
0.652928
johnsmith2077
bede9b5653bc0edea47bed131b930eb881df611a
7,393
inl
C++
marstd2/inline/CMatrix4.inl
marcel303/marstd2004
8494eae253bea7c740f68458b0084c82c7ce2e0e
[ "MIT" ]
1
2020-05-20T12:31:35.000Z
2020-05-20T12:31:35.000Z
marstd2/inline/CMatrix4.inl
marcel303/marstd2004
8494eae253bea7c740f68458b0084c82c7ce2e0e
[ "MIT" ]
null
null
null
marstd2/inline/CMatrix4.inl
marcel303/marstd2004
8494eae253bea7c740f68458b0084c82c7ce2e0e
[ "MIT" ]
1
2020-05-20T12:31:40.000Z
2020-05-20T12:31:40.000Z
////////////////////////////////////////////////////////////////////// // CMatrix4 implementation. ////////////////////////////////////////////////////////////////////// #include <vector> // std::swap() #define INDEX3(x, y) ((x) + (y) * 3) #define INDEX4(x, y) ((x) + (y) * 4) inline CMatrix4::CMatrix4() {...
20.31044
114
0.422562
marcel303
bedf79f3e26c44efe53726d95ddae33576a0e457
364
cpp
C++
URI Online Judge/Beginners/1101 - Sequence of Numbers and Sum.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
URI Online Judge/Beginners/1101 - Sequence of Numbers and Sum.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
URI Online Judge/Beginners/1101 - Sequence of Numbers and Sum.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
//1101 - Sequence of Numbers and Sum #include<iostream> using namespace std; int main(){ int m,n,t; cin>>n; cin>>m; while (m>0 && n>0) { if (n>m) { t=n; n=m; m=t; } t=0; for (int j =n ; j <=m; j++) { cout<<j<<" "; t+=j; } cout<<"Sum="<<t<<en...
14
36
0.401099
wgarcia1309
bee7428de9930bdcf6c481fc4eded1ca31d47eab
4,778
cpp
C++
src/devel/csjp_logger.cpp
csjpeter/libcsjp
a26a574b09e1814337f887d653e2ced6d1d66334
[ "BSD-3-Clause" ]
null
null
null
src/devel/csjp_logger.cpp
csjpeter/libcsjp
a26a574b09e1814337f887d653e2ced6d1d66334
[ "BSD-3-Clause" ]
1
2016-03-06T12:45:01.000Z
2016-03-26T20:10:59.000Z
src/devel/csjp_logger.cpp
csjpeter/libcsjp
a26a574b09e1814337f887d653e2ced6d1d66334
[ "BSD-3-Clause" ]
null
null
null
/* * Author: Csaszar, Peter <csjpeter@gmail.com> * Copyright (C) 2009-2012 Csaszar, Peter */ #include <sys/time.h> #include <sys/stat.h> #include <unistd.h> #include <errno.h> #include <time.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #ifdef FCLOG #include <fclog.h> #endif ...
22.327103
88
0.685224
csjpeter
beea03b4623f3c024fecefab9615f3f84a674f40
6,907
cpp
C++
gui/qt-gui/gui/calibrationdialog.cpp
yleniaBattistini/ObjectTracker
9f408d2c8e55209e80592ab17e6cddfddb38f5c4
[ "MIT" ]
null
null
null
gui/qt-gui/gui/calibrationdialog.cpp
yleniaBattistini/ObjectTracker
9f408d2c8e55209e80592ab17e6cddfddb38f5c4
[ "MIT" ]
null
null
null
gui/qt-gui/gui/calibrationdialog.cpp
yleniaBattistini/ObjectTracker
9f408d2c8e55209e80592ab17e6cddfddb38f5c4
[ "MIT" ]
null
null
null
#include "calibrationdialog.h" #include "ui_calibrationdialog.h" #include "displayutils.h" #include "pixmaputils.h" #include <opencv2/core.hpp> #include <opencv2/calib3d.hpp> #include <opencv2/imgproc.hpp> #include <iostream> #include <QFileDialog> #include <QDir> #include <opencv2/imgcodecs.hpp> #include <QMessageBox>...
29.266949
122
0.70624
yleniaBattistini
bef0763f95dfc01933495791d303250b2b7e9c7c
3,072
cpp
C++
Source/TracerLib/TracerDebug.cpp
yalcinerbora/meturay
cff17b537fd8723af090802dfd17a0a740b404f5
[ "MIT" ]
null
null
null
Source/TracerLib/TracerDebug.cpp
yalcinerbora/meturay
cff17b537fd8723af090802dfd17a0a740b404f5
[ "MIT" ]
null
null
null
Source/TracerLib/TracerDebug.cpp
yalcinerbora/meturay
cff17b537fd8723af090802dfd17a0a740b404f5
[ "MIT" ]
null
null
null
#include "TracerDebug.h" #include "ImageMemory.h" #include "DefaultLeaf.h" #include "RayLib/ImageIO.h" namespace Debug { namespace Detail { void OutputHitPairs(std::ostream& s, const RayId* ids, const HitKey* keys, size_t count); } } void Debug::Detail::OutputHitPairs(std::ostream& s, const RayId* ids, const Hit...
26.25641
103
0.524414
yalcinerbora
bef247fcf133245b8c13c61b58803ae0b9209993
5,489
hpp
C++
parallel_bandits/source/algorithms.hpp
piojanu/Parallel-Bandits
57a91dd5aa0b31aab79ea09a6b6ed9bb5a9ad266
[ "Apache-2.0" ]
null
null
null
parallel_bandits/source/algorithms.hpp
piojanu/Parallel-Bandits
57a91dd5aa0b31aab79ea09a6b6ed9bb5a9ad266
[ "Apache-2.0" ]
null
null
null
parallel_bandits/source/algorithms.hpp
piojanu/Parallel-Bandits
57a91dd5aa0b31aab79ea09a6b6ed9bb5a9ad266
[ "Apache-2.0" ]
null
null
null
#pragma once #include <memory> #include <vector> #include "bandits.hpp" using namespace std; namespace bandits { class IAlgorithm { public: /** * Solve the Multi-Armed Bandit problem. * * @param bandit Vector of bandit arms to pull. * @return The (ε-)optimal ar...
33.066265
79
0.594644
piojanu
bef957555d1bd2533bf48080a56162a275b21ea8
43,911
cpp
C++
src/ReBarBands.cpp
TimoKunze/ToolBarControls
409625a0e8541d7cea7a108951699970953af757
[ "MIT" ]
1
2019-12-12T08:12:14.000Z
2019-12-12T08:12:14.000Z
src/ReBarBands.cpp
TimoKunze/ToolBarControls
409625a0e8541d7cea7a108951699970953af757
[ "MIT" ]
null
null
null
src/ReBarBands.cpp
TimoKunze/ToolBarControls
409625a0e8541d7cea7a108951699970953af757
[ "MIT" ]
2
2018-05-05T02:30:05.000Z
2021-12-09T18:20:38.000Z
// ReBarBands.cpp: Manages a collection of ReBarBand objects #include "stdafx.h" #include "ReBarBands.h" #include "ClassFactory.h" ////////////////////////////////////////////////////////////////////// // implementation of ISupportErrorInfo STDMETHODIMP ReBarBands::InterfaceSupportsErrorInfo(REFIID interfaceToCheck)...
30.137955
886
0.713899
TimoKunze
befb2292d6e8c3cf870fe5b05c97003fab9bfbb6
22,288
cpp
C++
src/scripting/jb_luaapi_gui_textrsrc.cpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
null
null
null
src/scripting/jb_luaapi_gui_textrsrc.cpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
8
2015-02-24T19:38:35.000Z
2016-05-25T02:33:48.000Z
src/scripting/jb_luaapi_gui_textrsrc.cpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
null
null
null
/* * jb_luaapi_gui_textrsrc.cpp * * Implements GUI text resource API fron jb_luaapi.hpp * */ /* INCLUDES *******************************************************************//******************************************************************************/ #include "jb_luaapi.hpp" #include "../jadebase.hpp" ...
47.220339
160
0.327127
JadeMatrix
beff941d1021004cdcef7e99ba6977c1816fa6de
1,005
cpp
C++
hdu-winter-2020/problems/字符串/1005.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
hdu-winter-2020/problems/字符串/1005.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
hdu-winter-2020/problems/字符串/1005.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<vector> #include<queue> #include<cmath> #include<map> #include<set> #define ll long long #define F(i,a,b) for(int i=(a);i<=(b);i++) #define mst(a,b) memset((a),(b),sizeof(a)) #define PII pair<int,int> using namespace std; template<class ...
17.946429
67
0.573134
songhn233
8301b8c81bf5259d7fc3f689b17aade9077f4e89
113
hpp
C++
Motionless/include/State.hpp
rcurtis/Motionless
e64d13be03ddbf22f849aed4232455f89bf78005
[ "MIT" ]
1
2017-02-15T04:05:11.000Z
2017-02-15T04:05:11.000Z
Motionless/include/State.hpp
rcurtis/Motionless
e64d13be03ddbf22f849aed4232455f89bf78005
[ "MIT" ]
null
null
null
Motionless/include/State.hpp
rcurtis/Motionless
e64d13be03ddbf22f849aed4232455f89bf78005
[ "MIT" ]
null
null
null
#pragma once namespace mt { enum class State { Stopped, Playing, Paused }; }
10.272727
20
0.486726
rcurtis
8307c8e09b0b7dce2308a84bb171ed7e1847663e
616
cpp
C++
test/reverse/core/var_unittest.cpp
kilasuelika/FastAD
dd070c608c18f5391f2ac68dca4f9db223a33eca
[ "MIT" ]
50
2019-11-28T22:25:01.000Z
2022-02-20T03:55:19.000Z
test/reverse/core/var_unittest.cpp
kilasuelika/FastAD
dd070c608c18f5391f2ac68dca4f9db223a33eca
[ "MIT" ]
25
2019-11-28T20:44:12.000Z
2021-10-30T00:14:39.000Z
test/reverse/core/var_unittest.cpp
kilasuelika/FastAD
dd070c608c18f5391f2ac68dca4f9db223a33eca
[ "MIT" ]
2
2021-02-26T11:14:56.000Z
2021-07-07T06:40:18.000Z
#include <gtest/gtest.h> #include <fastad_bits/reverse/core/var.hpp> namespace ad { namespace core { struct var_fixture : ::testing::Test { protected: using value_t = double; using scl_v_t = Var<value_t, scl>; using vec_v_t = Var<value_t, vec>; using mat_v_t = Var<value_t, mat>; template <class T...
18.117647
43
0.599026
kilasuelika
8309ed90755f198e0cf680ed488a977f00f4eb65
2,286
cpp
C++
UE4.26/IGLMeshProcessingProject/Plugins/MeshProcessingPlugin/Source/MeshProcessingPlugin/Private/MeshProcessingPluginStyle.cpp
VonHirsch/UnrealMeshProcessingTools
5380cfda12d2370c3744884280ecb10cd4967e35
[ "MIT" ]
153
2020-01-06T05:59:28.000Z
2022-03-23T03:43:15.000Z
UE4.26/IGLMeshProcessingProject/Plugins/MeshProcessingPlugin/Source/MeshProcessingPlugin/Private/MeshProcessingPluginStyle.cpp
VonHirsch/UnrealMeshProcessingTools
5380cfda12d2370c3744884280ecb10cd4967e35
[ "MIT" ]
6
2020-04-17T05:11:59.000Z
2022-03-14T00:15:25.000Z
UE4.26/IGLMeshProcessingProject/Plugins/MeshProcessingPlugin/Source/MeshProcessingPlugin/Private/MeshProcessingPluginStyle.cpp
VonHirsch/UnrealMeshProcessingTools
5380cfda12d2370c3744884280ecb10cd4967e35
[ "MIT" ]
48
2020-05-23T16:43:59.000Z
2022-03-22T06:05:31.000Z
#include "MeshProcessingPluginStyle.h" #include "Styling/SlateStyleRegistry.h" #include "Styling/SlateTypes.h" #include "Styling/CoreStyle.h" #include "EditorStyleSet.h" #include "Interfaces/IPluginManager.h" #include "SlateOptMacros.h" //======================================= // EVERYTHING BELOW HERE IS BOILERPLATE!...
31.75
142
0.755031
VonHirsch
830acf9ea1ed3894eacfb8df720b563a4654dc90
134
cpp
C++
src/sa-bsn/system_manager/enactor/apps/controller.cpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
8
2020-01-26T15:26:27.000Z
2022-01-05T15:38:07.000Z
src/sa-bsn/system_manager/enactor/apps/controller.cpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
50
2019-08-29T23:52:43.000Z
2021-01-24T19:09:54.000Z
src/sa-bsn/system_manager/enactor/apps/controller.cpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
4
2019-06-15T17:23:57.000Z
2020-10-16T20:09:41.000Z
#include "controller/Controller.hpp" int main(int argc, char **argv) { Controller c(argc, argv, "enactor"); return c.run(); }
22.333333
40
0.656716
gabrielevi10
9b0042645b3fa15cf56977c4ed688c05f5b23b2c
516
cpp
C++
src/ResourceEntry.cpp
skaarj1989/FrameGraph
326e6762dcec39e6dbe529fb1be88910f7e33377
[ "MIT" ]
3
2022-03-17T06:55:17.000Z
2022-03-25T06:08:11.000Z
src/ResourceEntry.cpp
skaarj1989/FrameGraph
326e6762dcec39e6dbe529fb1be88910f7e33377
[ "MIT" ]
null
null
null
src/ResourceEntry.cpp
skaarj1989/FrameGraph
326e6762dcec39e6dbe529fb1be88910f7e33377
[ "MIT" ]
2
2022-03-17T06:55:05.000Z
2022-03-25T05:06:50.000Z
#include "fg/ResourceEntry.hpp" std::string ResourceEntry::toString() const { return m_concept->toString(); } void ResourceEntry::create(void *allocator) { assert(isTransient()); m_concept->create(allocator); } void ResourceEntry::destroy(void *allocator) { assert(isTransient()); m_concept->destroy(allocator)...
30.352941
77
0.75
skaarj1989
9b0b13b949ba93854a196b97a4bb3a981ed96444
554
hpp
C++
trview.common/Json.hpp
chreden/trview
e2a5e3539036f27adfa54fc7fcf4c3537b99a221
[ "MIT" ]
20
2018-10-17T02:00:03.000Z
2022-03-24T09:37:20.000Z
trview.common/Json.hpp
chreden/trview
e2a5e3539036f27adfa54fc7fcf4c3537b99a221
[ "MIT" ]
396
2018-07-22T16:11:47.000Z
2022-03-29T11:57:03.000Z
trview.common/Json.hpp
chreden/trview
e2a5e3539036f27adfa54fc7fcf4c3537b99a221
[ "MIT" ]
8
2018-07-25T21:31:06.000Z
2021-11-01T14:36:26.000Z
#pragma once namespace trview { template <typename T> T read_attribute(const nlohmann::json& json, const std::string& attribute_name) { if (json.count(attribute_name) != 0) { return json[attribute_name].get<T>(); } return {}; } template <typename T> ...
24.086957
102
0.579422
chreden
9b153db6366c8a38ec0f67d10e3754c52cec7071
1,522
hpp
C++
SDK/ARKSurvivalEvolved_MissionModule_zSubmodule_CompanionReaction_Base_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_MissionModule_zSubmodule_CompanionReaction_Base_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_MissionModule_zSubmodule_CompanionReaction_Base_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_MissionModule_zSubmodule_CompanionReaction_Base_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //----------------------...
39.025641
174
0.687911
2bite
9b18fc07e0897f6f97b2d7ac8685843fd95a7e69
9,835
cc
C++
core/mm/slab.cc
TheCool1Kevin/LiquiDOS
721f26bb915599e9b001d8331d993da83078323f
[ "MIT" ]
12
2017-09-02T01:36:32.000Z
2019-09-17T12:49:49.000Z
core/mm/slab.cc
TheOneKevin/LiquiDOS
721f26bb915599e9b001d8331d993da83078323f
[ "MIT" ]
4
2017-08-16T07:58:13.000Z
2019-12-28T06:06:03.000Z
core/mm/slab.cc
TheOneKevin/LiquiDOS
721f26bb915599e9b001d8331d993da83078323f
[ "MIT" ]
2
2019-03-15T21:59:40.000Z
2019-12-08T16:11:18.000Z
/** * Copyright (c) 2019 The cxkernel Authors. All rights reserved. * Use of this source code is governed by a MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT * * @file slab.cc * @author Kevin Dai \<kevindai02@outlook.com\> * @date Created on Ju...
34.875887
151
0.506151
TheCool1Kevin
9b1d7b807be9ac9a2903aa818f0b1df381a9d77c
1,104
cpp
C++
leetcode-problems/medium/139-word-break.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
leetcode-problems/medium/139-word-break.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
leetcode-problems/medium/139-word-break.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
// // Created by Siddhant on 2019-11-11. // #include "iostream" #include "vector" #include "string" #include "unordered_map" using namespace std; unordered_map<string, bool> map; bool wordBreak(string s, vector<string> &wordDict) { if (s.empty()) { return true; } if(map.find(s) != map.end()){...
21.230769
115
0.51721
formatkaka
9b1dc1e5061574115bce16b4127c33e666569b5b
6,023
cpp
C++
source/quantum-script-extension-random.cpp
g-stefan/quantum-script-extension-random
26746cad95d3104a933a3add824a5f499c47e9a7
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-random.cpp
g-stefan/quantum-script-extension-random
26746cad95d3104a933a3add824a5f499c47e9a7
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-random.cpp
g-stefan/quantum-script-extension-random
26746cad95d3104a933a3add824a5f499c47e9a7
[ "MIT", "Unlicense" ]
null
null
null
// // Quantum Script Extension Random // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include...
32.38172
144
0.699485
g-stefan
9b1ddbe9922eed1a4d5202f886a990f049dbac93
886
cpp
C++
firmware/src/hsvtorgb.cpp
atomic14/moon_lamp_public
058e9b4040d49137f4738efea58d9c398b457110
[ "CC0-1.0" ]
null
null
null
firmware/src/hsvtorgb.cpp
atomic14/moon_lamp_public
058e9b4040d49137f4738efea58d9c398b457110
[ "CC0-1.0" ]
5
2021-03-10T22:49:15.000Z
2022-02-27T06:58:42.000Z
firmware/src/hsvtorgb.cpp
atomic14/moon_lamp_public
058e9b4040d49137f4738efea58d9c398b457110
[ "CC0-1.0" ]
null
null
null
#include <Arduino.h> #include <cmath> #include "hsvtorgb.h" rgb_t HSVtoRGB(int h, double s, double v) { double c = s * v; double x = c * (1 - std::abs(fmod(h / 60.0, 2) - 1)); double m = v - c; double r, g, b; if (h >= 0 && h < 60) { r = c; g = x; b = 0; } else ...
16.109091
57
0.327314
atomic14
9b207c257fcc28b254f94cd2fc6dfb70a91f3e2a
81,018
cpp
C++
Blizzlike/Trinity/Scripts/Zones/borean_tundra.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/Trinity/Scripts/Zones/borean_tundra.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/Trinity/Scripts/Zones/borean_tundra.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...
31.220809
195
0.497248
499453466
9b2a6680a07c2b73eb0f077ba3bf4e8587e0488b
641
cpp
C++
CS Academy/Round #62/find-binary-array.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
CS Academy/Round #62/find-binary-array.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
CS Academy/Round #62/find-binary-array.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; pair<int, int> arr[200001]; int final [200001]; int main(void) { memset(final, 1, sizeof final); int n; cin >> n; for(int i = 0; i < n; ++i){ cin >> arr[i].first; } for(int i = 0; i < n; ++i){ cin >> arr[i].second; } for(in...
20.677419
46
0.422777
itsmevanessi
9b2a9b3283325d59eae7dfb12d77da47c6b8a3e5
1,578
cpp
C++
Views/FooterComponent.cpp
InTheMerde/photon-room-node
f82fa20f06d75686c69316e01e408e3a0e47c828
[ "MIT" ]
3
2015-12-23T16:02:36.000Z
2016-02-10T09:21:58.000Z
Views/FooterComponent.cpp
imarmorat/photon-room-node
f82fa20f06d75686c69316e01e408e3a0e47c828
[ "MIT" ]
null
null
null
Views/FooterComponent.cpp
imarmorat/photon-room-node
f82fa20f06d75686c69316e01e408e3a0e47c828
[ "MIT" ]
null
null
null
#include "Adafruit_ILI9341\Adafruit_ILI9341.h" #include "../general.h" #include "FooterComponent.h" #include "application.h" // http://www.barth-dev.de/online/rgb565-color-picker/ #define VIEW_NORMAL_COLOR 0xEF5D #define VIEW_CURRENT_COLOR 0x041F FooterComponent::FooterComponent() { } void FooterComponent::display(...
29.222222
120
0.727503
InTheMerde
9b2f7bdcf1b990df294395a55edfbba1a97514da
774
cpp
C++
C++/Object-Oriented Programming in C++/Chapter 3_Loops and Decisions/4.cpp
OjeshManandhar/Code-Backup
67a395fe2439725f42ce0a18b4d2e2e65f00695d
[ "MIT" ]
2
2019-01-03T14:12:52.000Z
2019-03-22T16:13:16.000Z
C++/Object-Oriented Programming in C++/Chapter 3_Loops and Decisions/4.cpp
OjeshManandhar/Code-Backup
67a395fe2439725f42ce0a18b4d2e2e65f00695d
[ "MIT" ]
null
null
null
C++/Object-Oriented Programming in C++/Chapter 3_Loops and Decisions/4.cpp
OjeshManandhar/Code-Backup
67a395fe2439725f42ce0a18b4d2e2e65f00695d
[ "MIT" ]
1
2019-01-13T17:54:01.000Z
2019-01-13T17:54:01.000Z
#include <iostream> using namespace std; int main() { float a,b; char op,choice; do { cout << "Enter first number, operator, second number: "; cin >> a >> op >> b; switch (op) { case '+': cout << "Answer: " << a+b << endl; break; ...
19.35
64
0.381137
OjeshManandhar
9b3155e795f2c03c44a0bb406fe61ae84567ab70
601
cpp
C++
IRadiance/src/IRadiance/Raytracer/Samplers/JitteredSampler.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
IRadiance/src/IRadiance/Raytracer/Samplers/JitteredSampler.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
IRadiance/src/IRadiance/Raytracer/Samplers/JitteredSampler.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
#include "pch.h" #include "JitteredSampler.h" #include "IRadiance/Raytracer/Maths/Utilities.h" namespace IRadiance { JitteredSampler::JitteredSampler(int _nbSamples) : Sampler(_nbSamples) { Init(); } void JitteredSampler::GenerateSamples2D() { float n = (float)(int)sqrt(m_NumSamples); ...
16.694444
50
0.517471
Nickelium
9b3d3948d6f9955e5ae01810467f6dc31d5c2a08
3,966
cpp
C++
2003 - Task3 {16 of 19} [g]/src/Main.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
2003 - Task3 {16 of 19} [g]/src/Main.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
2003 - Task3 {16 of 19} [g]/src/Main.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
#include <vcl.h> #pragma hdrstop #include "Filters.h" #include "Main.h" #include "dlg.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TForm1 *Form1; //------------------------------------------------------------------------...
27.541667
78
0.459153
retgone
9b4085c028a2a9d273bbb5cf4be0fe4abdea303a
3,998
cpp
C++
player.cpp
williamsonlogan/fauxcaster
815fa250b49efb5a36fa2c56db65c9ff6b141e41
[ "MIT" ]
null
null
null
player.cpp
williamsonlogan/fauxcaster
815fa250b49efb5a36fa2c56db65c9ff6b141e41
[ "MIT" ]
null
null
null
player.cpp
williamsonlogan/fauxcaster
815fa250b49efb5a36fa2c56db65c9ff6b141e41
[ "MIT" ]
null
null
null
#include "player.h" Player::Player(float posx, float posy, Map * map) : Entity::Entity("player", posx, posy, "\0") { if (agk::GetObjectExists(getID())) agk::DeleteObject(getID()); _map = map; agk::SetCameraPosition(1, posx, 0, posy); agk::SetCameraRotation(1, 0, 0, 0); agk::SetCameraFOV(1, fieldOfView); agk:...
23.94012
108
0.611306
williamsonlogan
9b4323148a73bc90d8bd3a69f15320f96e902aa6
986
hpp
C++
include/communication/mapping/SerialTransferMapping.hpp
Tyulis/ToyGB
841507fa19c320caa98b16eae2a6df0bc996ba51
[ "MIT" ]
null
null
null
include/communication/mapping/SerialTransferMapping.hpp
Tyulis/ToyGB
841507fa19c320caa98b16eae2a6df0bc996ba51
[ "MIT" ]
null
null
null
include/communication/mapping/SerialTransferMapping.hpp
Tyulis/ToyGB
841507fa19c320caa98b16eae2a6df0bc996ba51
[ "MIT" ]
null
null
null
#ifndef _COMMUNICATION_MAPPING_SERIALTRANSFERMAPPING_HPP #define _COMMUNICATION_MAPPING_SERIALTRANSFERMAPPING_HPP #include "core/hardware.hpp" #include "memory/Constants.hpp" #include "memory/MemoryMapping.hpp" #include "util/error.hpp" namespace toygb { /** Serial port communication IO registers mapping */ class ...
32.866667
116
0.744422
Tyulis
9b4cdd879a3a1360c32ccc5ebeff837efe382c21
120
cpp
C++
FightingGameProject/FightersHitStopMessage.cpp
RoundBearChoi/CPP_FightingGame
21d07caab82dd5ee0ad233886a36ef1fe93e25b6
[ "Unlicense" ]
8
2021-03-08T06:21:13.000Z
2022-03-04T21:53:37.000Z
FightingGameProject/FightersHitStopMessage.cpp
RoundBearChoi/CPP_FightingGame
21d07caab82dd5ee0ad233886a36ef1fe93e25b6
[ "Unlicense" ]
null
null
null
FightingGameProject/FightersHitStopMessage.cpp
RoundBearChoi/CPP_FightingGame
21d07caab82dd5ee0ad233886a36ef1fe93e25b6
[ "Unlicense" ]
null
null
null
#include "FightersHitStopMessage.h" namespace RB { Updater* FightersHitStopMessage::_fightersFixedUpdater = nullptr; }
20
66
0.816667
RoundBearChoi
9b4dde4486692724c84b39148eb1e3b9bc7319cb
30
cc
C++
Token/samples/sample1.cc
lijinpei/libclang-sample
8594028f0025769acd27ccbe64a1b35375279c99
[ "MIT" ]
31
2015-02-16T10:05:45.000Z
2021-12-22T16:09:08.000Z
Token/samples/sample1.cc
lijinpei/libclang-sample
8594028f0025769acd27ccbe64a1b35375279c99
[ "MIT" ]
1
2015-12-31T21:56:03.000Z
2016-01-08T10:36:44.000Z
Token/samples/sample1.cc
lijinpei/libclang-sample
8594028f0025769acd27ccbe64a1b35375279c99
[ "MIT" ]
12
2015-11-03T03:22:49.000Z
2020-05-05T15:16:48.000Z
int main("aa", /* "bb"= */1 )
15
29
0.4
lijinpei
9b536374a077c4498cc6f0d33e814e102cbc0dcb
527
cpp
C++
wizards/qtcreator/projects/xpcf application/main.cpp
b-com-software-basis/xpcf
26ce21929ff6209ef69117270cf49844348c988f
[ "Apache-2.0" ]
null
null
null
wizards/qtcreator/projects/xpcf application/main.cpp
b-com-software-basis/xpcf
26ce21929ff6209ef69117270cf49844348c988f
[ "Apache-2.0" ]
7
2020-02-13T20:35:16.000Z
2021-11-19T17:46:15.000Z
wizards/qtcreator/projects/xpcf application/main.cpp
b-com-software-basis/xpcf
26ce21929ff6209ef69117270cf49844348c988f
[ "Apache-2.0" ]
1
2018-02-26T14:10:43.000Z
2018-02-26T14:10:43.000Z
%{Cpp:LicenseTemplate}\ #include <xpcf/xpcf.h> #include <iostream> namespace xpcf=org::bcom::xpcf; /** * Declare module. */ int main(int argc, char ** argv) { SRef<xpcf::IComponentManager> xpcfComponentManager = xpcf::getComponentManagerInstance(); XPCFErrorCode xpcfComponentManager->loadModuleMetadata(...
25.095238
116
0.6926
b-com-software-basis
9b5cdaf94bbc021f9036f4087b03fd370ce4b2d6
4,916
cpp
C++
OOP/Second partial exam/ex 7/main.cpp
LjupcheD14/FINKI1408
be2454864d8aa0c33621141295f958424c7b0f16
[ "Apache-2.0" ]
null
null
null
OOP/Second partial exam/ex 7/main.cpp
LjupcheD14/FINKI1408
be2454864d8aa0c33621141295f958424c7b0f16
[ "Apache-2.0" ]
null
null
null
OOP/Second partial exam/ex 7/main.cpp
LjupcheD14/FINKI1408
be2454864d8aa0c33621141295f958424c7b0f16
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; class OutOfBoundsException { public: void message() { cout<<"Brojot na pin kodovi ne moze da go nadmine dozvolenoto"<<endl; } }; class Karticka { protected: char smetka[16]; int pin; bool povekjePin; public: Karticka(char...
20.39834
106
0.486981
LjupcheD14
9b635c0e1d4b75aa6a618c02984155d021eb27ac
414
hpp
C++
sprout/random.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/random.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/random.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_RANDOM_HPP #define SPROUT_RANDOM_HPP #include <sprout/config.hpp> #include <sprout/random/engine.hpp> #include <sprout/random/distribution.hpp> #include <sprout/random/variate_generator.hpp> #include <sprout/random/random_result.hpp> #include <sprout/random/iterator.hpp> #include <sprout/random...
29.571429
47
0.777778
osyo-manga
9b6a2db45e653e07c7df5e840f9529727c1f07c3
377
cpp
C++
Array/Leaders in an Array problem using Efficient Method.cpp
themlstudent/MasteringDataStructure
06ee83706a3844d21249f1d192b0619f30f12eef
[ "MIT" ]
null
null
null
Array/Leaders in an Array problem using Efficient Method.cpp
themlstudent/MasteringDataStructure
06ee83706a3844d21249f1d192b0619f30f12eef
[ "MIT" ]
null
null
null
Array/Leaders in an Array problem using Efficient Method.cpp
themlstudent/MasteringDataStructure
06ee83706a3844d21249f1d192b0619f30f12eef
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void leaders(int arr[], int n) { int curr_ldr = arr[n - 1]; cout<<curr_ldr<<" "; for(int i = n - 2; i >= 0; i--) { if(curr_ldr < arr[i]) { curr_ldr = arr[i]; cout<<curr_ldr<<" "; } } } int main() { int arr[] = {7, 10, 4, ...
12.16129
50
0.440318
themlstudent
9b6b15db0b9706e037b025b648352576fec4982e
279
cpp
C++
Windows/LV50A/Source/UI-Methods/UI-Paint.cpp
landonviator/LV50A
4b9dce09b7bb15cc80393b21d5cea3dcfc981e6f
[ "MIT" ]
null
null
null
Windows/LV50A/Source/UI-Methods/UI-Paint.cpp
landonviator/LV50A
4b9dce09b7bb15cc80393b21d5cea3dcfc981e6f
[ "MIT" ]
null
null
null
Windows/LV50A/Source/UI-Methods/UI-Paint.cpp
landonviator/LV50A
4b9dce09b7bb15cc80393b21d5cea3dcfc981e6f
[ "MIT" ]
null
null
null
/* ============================================================================== UI-Paint.cpp Created: 24 Oct 2021 1:41:00am Author: Landon Viator ============================================================================== */ #include "../PluginEditor.h"
23.25
80
0.25448
landonviator
9b7b06d64125b187fef1fe5d38f9ce54d460bf0d
217
cpp
C++
lab5/exercise2.cpp
tz01x/Cse207_lab
f355e5dfa2b68a632d104e554975cd2c6e6f1162
[ "MIT" ]
null
null
null
lab5/exercise2.cpp
tz01x/Cse207_lab
f355e5dfa2b68a632d104e554975cd2c6e6f1162
[ "MIT" ]
null
null
null
lab5/exercise2.cpp
tz01x/Cse207_lab
f355e5dfa2b68a632d104e554975cd2c6e6f1162
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int GCD(int f,int s){ if(f<=0){return s;} else if(s<=0){return f;} return GCD(s,f%s); } int main(){ int FIRST=10,SECOND=15; int n=GCD(FIRST,SECOND); cout<<n<<endl; }
12.055556
24
0.631336
tz01x
9b7b2beab27a0ed0e381833fd07e3c2c7aeb0acc
21,849
cpp
C++
tests/ReloadTests.cpp
theOtherMichael/HotConsts
0184075ce5cf09d4752682b2c75c883abd8a02f0
[ "MIT" ]
1
2021-05-09T21:36:16.000Z
2021-05-09T21:36:16.000Z
tests/ReloadTests.cpp
theOtherMichael/HotConsts
0184075ce5cf09d4752682b2c75c883abd8a02f0
[ "MIT" ]
null
null
null
tests/ReloadTests.cpp
theOtherMichael/HotConsts
0184075ce5cf09d4752682b2c75c883abd8a02f0
[ "MIT" ]
null
null
null
#include <HotConsts/HotConsts.h> #include "_tests.h" // NOTE: For these tests to succeed, the working directory of the test application // must be the folder containing the HotConsts_Test project. // In Xcode, this requires manual modification. // Use backslashes in paths on Windows becaus'a fuckin' Micro...
42.673828
130
0.67669
theOtherMichael
f92f2fbb8686648e600e9a5008d0e575efcd7079
1,387
hpp
C++
inc/main.hpp
davemoore22/libtcod-sdl-callback
de932121070e068a7161f8d0056b0b482d64ab27
[ "MIT" ]
1
2019-05-18T07:01:29.000Z
2019-05-18T07:01:29.000Z
inc/main.hpp
davemoore22/libtcod-sdl-callback
de932121070e068a7161f8d0056b0b482d64ab27
[ "MIT" ]
null
null
null
inc/main.hpp
davemoore22/libtcod-sdl-callback
de932121070e068a7161f8d0056b0b482d64ab27
[ "MIT" ]
null
null
null
// Copyright 2019 Dave Moore // // 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, distribut...
44.741935
120
0.763518
davemoore22
f9311f1525714076d3cec73b1e488aa1f5c27363
183
hpp
C++
src/utz.hpp
zatarain/utz
fd7fd6b8ebc7076c8c380c1521cd317b5f49d571
[ "MIT" ]
1
2020-11-20T06:03:10.000Z
2020-11-20T06:03:10.000Z
src/utz.hpp
zatarain/utz
fd7fd6b8ebc7076c8c380c1521cd317b5f49d571
[ "MIT" ]
2
2020-04-11T16:49:15.000Z
2020-04-19T20:21:46.000Z
src/utz.hpp
zatarain/utz
fd7fd6b8ebc7076c8c380c1521cd317b5f49d571
[ "MIT" ]
null
null
null
#ifndef UTZ_HEADER #define UTZ_HEADER #include "utz/assertion.hpp" #include "utz/test.hpp" namespace is = utz::is; #ifndef expect using utz::expect; #endif using utz::skip; #endif
13.071429
28
0.737705
zatarain
f93bdbbf2da7b9879a95e24792af390ac5791178
2,879
cpp
C++
BigBaseV2/src/main.cpp
skript023/Jan-Stat-Editor
3ffb20454873e405b16b8df456379e0bb8973ec7
[ "MIT" ]
null
null
null
BigBaseV2/src/main.cpp
skript023/Jan-Stat-Editor
3ffb20454873e405b16b8df456379e0bb8973ec7
[ "MIT" ]
null
null
null
BigBaseV2/src/main.cpp
skript023/Jan-Stat-Editor
3ffb20454873e405b16b8df456379e0bb8973ec7
[ "MIT" ]
null
null
null
#include "common.hpp" #include "features.hpp" #include "fiber_pool.hpp" #include "gui.hpp" #include "logger.hpp" #include "hooking.hpp" #include "pointers.hpp" #include "renderer.hpp" #include "script_mgr.hpp" BOOL APIENTRY DllMain(HMODULE hmod, DWORD reason, PVOID) { using namespace big; if (reason == DLL_PROCESS_...
29.080808
93
0.59083
skript023
f93efcbfd89f765ff9275f22345d5e2e1c5be3ad
1,472
cpp
C++
src/util/Util.cpp
Estebanan/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
3
2019-07-31T06:13:41.000Z
2021-04-04T15:32:40.000Z
src/util/Util.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
src/util/Util.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
#include "Util.h" #include <iostream> #include <fstream> std::string Util::readFile(const std::string &path) { std::fstream file; file.open(path); std::string result; std::string line; if(file.is_open()) while(file.good()) { getline(file, line); result.appe...
23.365079
106
0.54144
Estebanan
f9406b19457f332f350757b0f27f91b15e5d08df
2,592
hpp
C++
include/effortless/statistic.hpp
foehnx/effortless
a90962782731e10827597c5102b2d24ba8183074
[ "MIT" ]
null
null
null
include/effortless/statistic.hpp
foehnx/effortless
a90962782731e10827597c5102b2d24ba8183074
[ "MIT" ]
1
2021-10-14T20:50:28.000Z
2021-11-09T18:37:32.000Z
include/effortless/statistic.hpp
foehnx/effortless
a90962782731e10827597c5102b2d24ba8183074
[ "MIT" ]
null
null
null
#pragma once #include <cmath> #include <iomanip> #include <iostream> #include <limits> #include <string> namespace effortless { using Scalar = double; class Statistic { public: Statistic(const std::string &name = "Statistic") : name_(name) {} Statistic(const Statistic &rhs) = default; Statistic &operator=(co...
26.721649
76
0.587191
foehnx
f940b99ca1da797cc4b39a8a4bb684fa59c7b119
21,967
cc
C++
GenFit/GBL/src/GblFitter.cc
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
null
null
null
GenFit/GBL/src/GblFitter.cc
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
null
null
null
GenFit/GBL/src/GblFitter.cc
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
null
null
null
//-*-mode: C++; c-basic-offset: 2; -*- /* Copyright 2013-2014 * Authors: Sergey Yashchenko and Tadeas Bilka * * This is an interface to General Broken Lines * * Version: 6 -------------------------------------------------------------- * - complete rewrite to GblFitter using GblFitterInfo and GblFitStatus * ...
40.52952
179
0.615196
ggfdsa10
f946caad09e2b632c9e4fec7e7a2f293b609661b
2,845
cpp
C++
zimlib/test/header.cpp
zjzdy/Offline-small-search
8bc7382b3f55184c8d179a2bf6e1e90730d6a09c
[ "ICU" ]
10
2016-05-10T14:48:44.000Z
2021-06-16T11:49:55.000Z
zimlib/test/header.cpp
zjzdy/Offline-small-search
8bc7382b3f55184c8d179a2bf6e1e90730d6a09c
[ "ICU" ]
null
null
null
zimlib/test/header.cpp
zjzdy/Offline-small-search
8bc7382b3f55184c8d179a2bf6e1e90730d6a09c
[ "ICU" ]
2
2016-11-09T06:56:29.000Z
2019-11-22T14:34:27.000Z
/* * Copyright (C) 2009 Tommi Maekitalo * * 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 your option) any later version. * * This program is di...
36.012658
81
0.730756
zjzdy
f9538e809f3293b4f3d239787bb9b6e1a7206b99
5,462
ipp
C++
src/spacetime/basis.ipp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
src/spacetime/basis.ipp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
src/spacetime/basis.ipp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
#pragma once #include <boost/core/demangle.hpp> #include <iomanip> #include <vector> #include "basis.hpp" namespace spacetime { template <class DblTreeIn, class DblTreeOut> auto GenerateSigma(const DblTreeIn &Lambda_in, const DblTreeOut &Lambda_out) { using OutNodeVector = std::vector<typename DblTreeOut::T0 *>; ...
41.067669
80
0.592091
rvanvenetie
f95b0c54c790692aee64c65d7174c926a6bdea08
15,245
cpp
C++
network/libserver/ioclient.cpp
dariadb/dariadb
1edf637122752ba21c582675e2a9183fff91fa50
[ "Apache-2.0" ]
null
null
null
network/libserver/ioclient.cpp
dariadb/dariadb
1edf637122752ba21c582675e2a9183fff91fa50
[ "Apache-2.0" ]
null
null
null
network/libserver/ioclient.cpp
dariadb/dariadb
1edf637122752ba21c582675e2a9183fff91fa50
[ "Apache-2.0" ]
null
null
null
#include <libdariadb/meas.h> #include <libdariadb/timeutil.h> #include <libdariadb/utils/exception.h> #include <libserver/ioclient.h> #include <cassert> using namespace std::placeholders; using namespace boost::asio; using namespace dariadb; using namespace dariadb::net; struct SubscribeCallback : public storage::IR...
33.505495
90
0.65615
dariadb
f95bd0f0589793a9fce74da8ccbe11a2b0a4da4a
3,922
cpp
C++
src/FSDefineFont.cpp
pperehozhih/transform-cxx
f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48
[ "BSD-3-Clause" ]
4
2018-09-16T09:55:22.000Z
2020-12-19T02:02:40.000Z
src/FSDefineFont.cpp
pperehozhih/transform-cxx
f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48
[ "BSD-3-Clause" ]
null
null
null
src/FSDefineFont.cpp
pperehozhih/transform-cxx
f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48
[ "BSD-3-Clause" ]
2
2015-11-24T20:27:35.000Z
2019-06-04T15:23:30.000Z
/* * FSDefineFont.cpp * Transform SWF * * Created by smackay on Thu Mar 20 2003. * Copyright (c) 2001-2003 Flagstone Software Ltd. All rights reserved. * * This file contains Original Code and/or Modifications of Original Code as defined in * and that are subject to the Flagstone Software Source L...
31.886179
95
0.635135
pperehozhih
f95d939d6508bdc72cbcd5064e445a1015c45e4a
2,002
cpp
C++
241#different-ways-to-add-parentheses/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
241#different-ways-to-add-parentheses/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
241#different-ways-to-add-parentheses/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 UniqueBST { public: vector<TreeNode*> make(int l, int r) { if (l > r) return vector<TreeNode*>...
28.197183
68
0.398102
llwwns
f962b58c588835cd39b86121b810bf77ce2a3039
5,875
hpp
C++
gearoenix/glc3/shader/gx-glc3-shd-shader.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/glc3/shader/gx-glc3-shd-shader.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/glc3/shader/gx-glc3-shd-shader.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_GLC3_SHADER_SHADER_HPP #define GEAROENIX_GLC3_SHADER_SHADER_HPP #include "../../core/gx-cr-build-configuration.hpp" #ifdef GX_USE_OPENGL_CLASS_3 #include "../../core/gx-cr-static.hpp" #include "../../core/gx-cr-types.hpp" #include "../../core/sync/gx-cr-sync-end-caller.hpp" #include "../../gl/gx-gl...
42.883212
168
0.607149
Hossein-Noroozpour
f963dd3efeedb483f95ed7f4a52bcc3e7d3f5171
2,680
cpp
C++
tests/source/extractor_test.cpp
TheMarlboroMan/japavocards
df1d9922e2a087c6212c4c600796ec35f41432ca
[ "Beerware" ]
null
null
null
tests/source/extractor_test.cpp
TheMarlboroMan/japavocards
df1d9922e2a087c6212c4c600796ec35f41432ca
[ "Beerware" ]
null
null
null
tests/source/extractor_test.cpp
TheMarlboroMan/japavocards
df1d9922e2a087c6212c4c600796ec35f41432ca
[ "Beerware" ]
null
null
null
#include <iostream> #include <string> #include "../class/app/extractor.cpp" #include "../class/app/lector.cpp" #include "../class/app/datos_bruto.cpp" #include "../class/app/palabra.cpp" #include "../class/app/etiqueta.cpp" #include <class/dnot_parser.h> #include <herramientas/log_base/log_base.h> using namespace App;...
27.070707
135
0.604851
TheMarlboroMan
f96bd30fe5d1f772b7d9c13bbb4f7e10550a021a
1,195
hpp
C++
basic_datastructure/AVLtree/AVLTree.hpp
weekieACpper/DataStructre-weekie
9f15d95dd57c02d7d385b151940bbee4f3c2d99b
[ "MIT" ]
null
null
null
basic_datastructure/AVLtree/AVLTree.hpp
weekieACpper/DataStructre-weekie
9f15d95dd57c02d7d385b151940bbee4f3c2d99b
[ "MIT" ]
null
null
null
basic_datastructure/AVLtree/AVLTree.hpp
weekieACpper/DataStructre-weekie
9f15d95dd57c02d7d385b151940bbee4f3c2d99b
[ "MIT" ]
null
null
null
/* * @Author: weekie * @Date: 2022-02-11 23:24:25 * @LastEditTime: 2022-02-28 18:18:06 * @LastEditors: weekie * @Description: AVL树的ADT描述 * @FilePath: /datastructure/AVLtree/AVLTree.hpp */ #ifndef __AVLTREE_HPP__ #define __AVLTREE_HPP__ struct TreeNode { TreeNode():leftChild(nullptr),rightChild(nullptr),heigh...
27.159091
90
0.684519
weekieACpper
f97538bc7b51b9944cbf37fb0034d6fe4f6330f8
6,834
cpp
C++
Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/robot/tmote.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2019-08-31T08:06:48.000Z
2019-08-31T08:06:48.000Z
Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/robot/tmote.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
null
null
null
Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/robot/tmote.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2020-01-07T10:46:23.000Z
2020-01-07T10:46:23.000Z
/** Task for requesting wheel velocities from wheel avr */ double request_wheel_pos_code(int segment, void* t_d) { AODVrcv_Data *d = (AODVrcv_Data *) t_d; MailboxMsg *mailboxmsgin; switch (segment){ case 1: { generic* m; m = new generic; m->t = REQUEST_WHEEL_VEL; REQUEST_WHEEL_VEL_MSG* msg = n...
24.234043
115
0.635353
raulest50
f978c1a5a4f580e0011d2bb642d95289e18d66e8
4,243
cpp
C++
test/source/io/tsequenceset.cpp
adonmo/meos
123d138f1fda8a65a4e09b5e74d51cfd4e69287e
[ "MIT" ]
13
2020-09-14T07:02:50.000Z
2022-03-31T08:07:33.000Z
test/source/io/tsequenceset.cpp
adonmo/meos
123d138f1fda8a65a4e09b5e74d51cfd4e69287e
[ "MIT" ]
25
2020-07-11T21:10:18.000Z
2020-11-10T20:32:56.000Z
test/source/io/tsequenceset.cpp
adonmo/meos
123d138f1fda8a65a4e09b5e74d51cfd4e69287e
[ "MIT" ]
1
2020-09-17T14:31:05.000Z
2020-09-17T14:31:05.000Z
#include <catch2/catch.hpp> #include <meos/io/Deserializer.hpp> #include <meos/io/Serializer.hpp> #include <meos/types/temporal/TSequenceSet.hpp> #include <string> #include "../common/matchers.hpp" #include "../common/time_utils.hpp" #include "../common/utils.hpp" using namespace meos; using namespace std; TEMPLATE_...
41.598039
97
0.658968
adonmo
f97f36bb8a05dd893e0cfb14141e602710686dae
2,811
cpp
C++
cpp/libs/src/asiopal/TCPServer.cpp
Aditya23456/Something
a6e1937228fba865c0bbc9205b998c92bd700ed7
[ "Apache-2.0" ]
1
2022-03-29T03:58:06.000Z
2022-03-29T03:58:06.000Z
cpp/libs/src/asiopal/TCPServer.cpp
Aditya23456/Dnp3-with-group0
a6e1937228fba865c0bbc9205b998c92bd700ed7
[ "Apache-2.0" ]
null
null
null
cpp/libs/src/asiopal/TCPServer.cpp
Aditya23456/Dnp3-with-group0
a6e1937228fba865c0bbc9205b998c92bd700ed7
[ "Apache-2.0" ]
null
null
null
/* * Licensed to Green Energy Corp (www.greenenergycorp.com) under one or * more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Green Energy Corp licenses this file to you under the Apache License, * Version 2.0 (the "License"...
23.040984
121
0.723586
Aditya23456
f98206a74d7c77865d891e7a7ecbdcb1d970a534
1,335
hpp
C++
src/gsw.hpp
adomasven/gsw13
488459270e54113f791bf3c6a0e2134a3f5e9a88
[ "MIT" ]
9
2016-11-22T13:55:40.000Z
2022-03-17T14:24:18.000Z
src/gsw.hpp
adomasven/gsw13
488459270e54113f791bf3c6a0e2134a3f5e9a88
[ "MIT" ]
1
2019-12-05T07:23:25.000Z
2020-03-16T08:39:44.000Z
src/gsw.hpp
adomasven/gsw13
488459270e54113f791bf3c6a0e2134a3f5e9a88
[ "MIT" ]
4
2018-06-12T04:41:07.000Z
2021-11-03T12:11:35.000Z
#pragma once #include "utils.hpp" #include "gaussSampler.hpp" #define sigma 3.8 #define sigma6 (int)(sigma*6) class GSW { public: BigInt quotient; // q/sigma6 > 8(N + 1)^L unsigned int n, n_1; // n >= log(q/sigma)(k+110)/7.2 unsigned int m; // m = O(n log q) unsigned int l; // l = floor(log q) + 1 ...
26.7
85
0.670412
adomasven
f9898e3d60ae75a4aa64f6b64ac43d83a67f481a
2,779
cpp
C++
warsztaty-finalowe-2019/rejected/wiezowce-dzakarty.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
2
2019-05-04T09:37:09.000Z
2019-05-22T18:07:28.000Z
warsztaty-finalowe-2019/rejected/wiezowce-dzakarty.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
warsztaty-finalowe-2019/rejected/wiezowce-dzakarty.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef intmax_t I; const I inf = 1e18; typedef pair<I, I> II; typedef double F; template <typename T> ostream &operator<<(ostream &o, const vector<T> &v) { o << "["; for (auto i = v.begin(); i != v.end(); ++i) { o << *i; if (i != prev(v.end())) o << ", "; ...
22.41129
77
0.441526
Aleshkev
f98e0a3128c306d55a6d97920ada4995a182df1b
10,403
cpp
C++
src/protocols/NbIoTClient.cpp
tsi5/dt-arduino-iot-agent
91b6c63b9f2de9f9cd8ac6408d65613769455d8e
[ "MIT" ]
null
null
null
src/protocols/NbIoTClient.cpp
tsi5/dt-arduino-iot-agent
91b6c63b9f2de9f9cd8ac6408d65613769455d8e
[ "MIT" ]
null
null
null
src/protocols/NbIoTClient.cpp
tsi5/dt-arduino-iot-agent
91b6c63b9f2de9f9cd8ac6408d65613769455d8e
[ "MIT" ]
null
null
null
/** * @file NbiotClient.cpp * @description Abstracted Network interface of an NB-IoT Modem. * @author mm1 Technology GmbH * @copyright (C) 2017-2018 Deutsche Telekom AG- all rights reserved. * @licence MIT licence * * Code pieces based on Arduino WiFiClient and GIMASI TUINO example project(s): * Company: http...
22.468683
125
0.693165
tsi5
f993dab3d081da54019c85b7586d050757c2aeed
3,606
cpp
C++
Engine/Graphics/GL/GLFramebuffer.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
null
null
null
Engine/Graphics/GL/GLFramebuffer.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
17
2021-03-12T18:19:07.000Z
2021-08-06T21:25:35.000Z
Engine/Graphics/GL/GLFramebuffer.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
null
null
null
#include "GLFramebuffer.h" #include "GLTexture2D.h" #include <iostream> namespace Engine { GLFramebuffer::GLFramebuffer(const FramebufferDesc &desc) { width = desc.width; height = desc.height; useColor = desc.colorTextures.size() > 0; useDepth = desc.useDepth; colorOnly = useColor && !useDepth; writes...
22.122699
125
0.698835
guimeixen
f9949649440e24b8481b68d528970f8e90286460
2,674
cpp
C++
car/src/main.cpp
ian7/automation
3fa4bc456c58d5c1c4d24050ff9f58a41fb6143c
[ "MIT" ]
1
2019-06-30T04:21:08.000Z
2019-06-30T04:21:08.000Z
car/src/main.cpp
ian7/automation
3fa4bc456c58d5c1c4d24050ff9f58a41fb6143c
[ "MIT" ]
null
null
null
car/src/main.cpp
ian7/automation
3fa4bc456c58d5c1c4d24050ff9f58a41fb6143c
[ "MIT" ]
null
null
null
#include <Servo.h> //#include <MQTTClient.h> #include <ESP8266WiFi.h> #include <wifi-password.h> #include <PubSubClient.h> WiFiClient net; PubSubClient client(net); //MQTTClient client; Servo servo; void publish( const String &topic, const String &payload){ unsigned char topicChars[100]; unsigned...
20.412214
76
0.586387
ian7
f999923cdcb904572d274db7830e5d07966fec65
1,461
cpp
C++
uiSamusEditorClass.cpp
interdpth/DoubleHelix-2
d494cc7957b7470b12779d2cde14b13285fa6396
[ "MIT" ]
1
2021-11-23T13:57:03.000Z
2021-11-23T13:57:03.000Z
uiSamusEditorClass.cpp
interdpth/DoubleHelix-2
d494cc7957b7470b12779d2cde14b13285fa6396
[ "MIT" ]
null
null
null
uiSamusEditorClass.cpp
interdpth/DoubleHelix-2
d494cc7957b7470b12779d2cde14b13285fa6396
[ "MIT" ]
1
2021-11-12T22:47:58.000Z
2021-11-12T22:47:58.000Z
#include "uiSamusEditorClass.h" SamusEditorClass::SamusEditorClass() { SamusEditorClass::hwndSamusEditor = NULL; hwndSamusSpritePreview = NULL; SpritePreview = new SpriteObject(); } SamusEditorClass::~SamusEditorClass() { delete SpritePreview; } HWND SamusEditorClass::hwndSamusEditor; int SamusEditorClass::Se...
24.35
124
0.698152
interdpth
f99bac824a04f3f81c082047b29090259e4ff352
1,255
hpp
C++
multimodalmaze/domains/mazeDomain/simulator/libfastsim/src/light_sensor.hpp
alexander-hagg/phdexperiments
6506c8f2a438c67ca7c808df8715711fde73dfce
[ "MIT" ]
null
null
null
multimodalmaze/domains/mazeDomain/simulator/libfastsim/src/light_sensor.hpp
alexander-hagg/phdexperiments
6506c8f2a438c67ca7c808df8715711fde73dfce
[ "MIT" ]
null
null
null
multimodalmaze/domains/mazeDomain/simulator/libfastsim/src/light_sensor.hpp
alexander-hagg/phdexperiments
6506c8f2a438c67ca7c808df8715711fde73dfce
[ "MIT" ]
null
null
null
#ifndef FASTSIM_LIGHT_SENSOR_HPP_ #define FASTSIM_LIGHT_SENSOR_HPP_ #include <boost/shared_ptr.hpp> #include "posture.hpp" #include "map.hpp" namespace fastsim { /// detect an colored illuminated switch in the given direction /// (angle) and within the angular range. There is no range limit. /// light sensors D...
27.282609
70
0.654183
alexander-hagg
390003e0d62e9bcd1b06bc2c06a1e689e01e9083
7,732
cpp
C++
games/2048/2048.cpp
Lenzebo/mcts_solver
c434a3024fb7b37ef9e7a4fb12985fb89110a350
[ "MIT" ]
null
null
null
games/2048/2048.cpp
Lenzebo/mcts_solver
c434a3024fb7b37ef9e7a4fb12985fb89110a350
[ "MIT" ]
null
null
null
games/2048/2048.cpp
Lenzebo/mcts_solver
c434a3024fb7b37ef9e7a4fb12985fb89110a350
[ "MIT" ]
null
null
null
#include "2048.h" namespace g2048 { std::ostream& G2048State::writeToStream(std::ostream& stream) const // NOLINT(readability-identifier-naming) { stream << board(); return mcts::State<G2048State>::writeToStream(stream); } bool G2048State::empty(size_t x, size_t y) const { auto value = 1 << board(x, y); ...
28.958801
118
0.547206
Lenzebo
39013fa1535bcf51ce6f841f810e6c9881b13c04
707
hpp
C++
library/ATF/__helper_attributes__v1_alttypeAttribute.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/__helper_attributes__v1_alttypeAttribute.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/__helper_attributes__v1_alttypeAttribute.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE namespace vc_attributes { namespace helper_attributes { template<> struct v1_alttypeAttribute ...
25.25
108
0.502122
lemkova
390e17505f5f68e50831c9b3588e874e958a0b2f
449
cpp
C++
Hackerrank/Hourrank 25/A.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
Hackerrank/Hourrank 25/A.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
Hackerrank/Hourrank 25/A.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int sumOfDigitsOfN(int n){ int sum = 0; while(n){ sum += (n % 10); n /= 10; } return sum; } int main(void){ int testcases, n, x, sumOfDigits; scanf("%d", &testcases); while(testcases--){ sumOfDigits = 0; scanf("%d", &n); while(n --){ ...
16.035714
39
0.532294
itsmevanessi
390f9496f72b5fd4c8acbf4fa85134a035ae5136
1,399
hpp
C++
unittests/general/Several/bin/firebird/include/firebird/impl/boost/preprocessor/control/iif.hpp
jiemurat/delphimvcframework
6bfa63b85a2e4ce3ba03fc4df11d2ed654021e54
[ "Apache-2.0" ]
1,009
2015-05-28T12:34:39.000Z
2022-03-30T14:10:18.000Z
unittests/general/Several/bin/firebird/include/firebird/impl/boost/preprocessor/control/iif.hpp
jiemurat/delphimvcframework
6bfa63b85a2e4ce3ba03fc4df11d2ed654021e54
[ "Apache-2.0" ]
574
2016-03-23T15:35:56.000Z
2022-03-31T07:11:03.000Z
unittests/general/Several/bin/firebird/include/firebird/impl/boost/preprocessor/control/iif.hpp
jiemurat/delphimvcframework
6bfa63b85a2e4ce3ba03fc4df11d2ed654021e54
[ "Apache-2.0" ]
377
2015-05-28T16:29:21.000Z
2022-03-21T18:36:12.000Z
# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2002. # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt...
39.971429
90
0.558971
jiemurat