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
108
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
67k
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
bd77be1ca2fd4290387eaaa6f82f3284d0d1e165
3,856
cc
C++
src/bin/copy-and-trim-int-vector.cc
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
null
null
null
src/bin/copy-and-trim-int-vector.cc
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
null
null
null
src/bin/copy-and-trim-int-vector.cc
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
null
null
null
// bin/copy-and-trim-int-vector.cc // Copyright 2016 Hang Su // See ../../COPYING for clarification regarding multiple authors // // 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 // // htt...
34.428571
177
0.647822
Shuang777
bd7b938212717ab6beed501a09b3357878f69e54
22
cpp
C++
lib/StarAlign/starAlign.cpp
AndreiDiaconu97/tracket
10c680b99d8d37212f6ad1f2d28e9279f93c04a7
[ "MIT" ]
null
null
null
lib/StarAlign/starAlign.cpp
AndreiDiaconu97/tracket
10c680b99d8d37212f6ad1f2d28e9279f93c04a7
[ "MIT" ]
null
null
null
lib/StarAlign/starAlign.cpp
AndreiDiaconu97/tracket
10c680b99d8d37212f6ad1f2d28e9279f93c04a7
[ "MIT" ]
null
null
null
#include "starAlign.h"
22
22
0.772727
AndreiDiaconu97
bd7bea2902cbfee312dbb6683c1099205b7704f3
3,194
cpp
C++
Engine/src/Components/collider.cpp
SpectralCascade/ossium
f9d00de8313c0f91942eb311c20de8d74aa41735
[ "MIT" ]
1
2019-01-02T15:35:05.000Z
2019-01-02T15:35:05.000Z
Engine/src/Components/collider.cpp
SpectralCascade/ossium
f9d00de8313c0f91942eb311c20de8d74aa41735
[ "MIT" ]
2
2018-11-11T21:29:05.000Z
2019-01-02T15:34:10.000Z
Engine/src/Components/collider.cpp
SpectralCascade/ossium
f9d00de8313c0f91942eb311c20de8d74aa41735
[ "MIT" ]
null
null
null
#include "collider.h" namespace Ossium { REGISTER_COMPONENT(PhysicsBody); // Use OnLoadFinish() void PhysicsBody::OnLoadFinish() { ParentType::OnLoadFinish(); #ifndef OSSIUM_EDITOR // Update all attached collider shapes before building the body auto colliders = entity->GetCom...
31.313725
115
0.599562
SpectralCascade
bd83c41cb6e725f59625eb34c8fce014d1f3f841
10,669
cpp
C++
Base/PLRenderer/src/Renderer/ProgramGenerator.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Base/PLRenderer/src/Renderer/ProgramGenerator.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Base/PLRenderer/src/Renderer/ProgramGenerator.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: ProgramGenerator.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
37.566901
151
0.667823
ktotheoz
bd86280087c86bed9cc2a1f2459ef0297950c21d
1,350
hpp
C++
include/rua/callable.hpp
yulon/rua
acb14aa0e60b68f09e88c726965552f7f4f5ace0
[ "MIT" ]
null
null
null
include/rua/callable.hpp
yulon/rua
acb14aa0e60b68f09e88c726965552f7f4f5ace0
[ "MIT" ]
null
null
null
include/rua/callable.hpp
yulon/rua
acb14aa0e60b68f09e88c726965552f7f4f5ace0
[ "MIT" ]
null
null
null
#ifndef _RUA_CALLABLE_HPP #define _RUA_CALLABLE_HPP #include "types/traits.hpp" #include <functional> #include <vector> namespace rua { template <typename Callable> inline std::function<callable_prototype_t<decay_t<Callable>>> wrap_callable(Callable &&c) { return std::forward<Callable>(c); } /////////////////////...
20.769231
76
0.634074
yulon
bd879321d9b78defa9f3b6b25da6f5c29af8a2fc
1,571
hpp
C++
TicTacToe/Score.hpp
djanko1337/TicTacToe
6adcdf7b3a7ed947f36d473c965853edea4ddc8e
[ "MIT" ]
1
2018-02-14T18:00:52.000Z
2018-02-14T18:00:52.000Z
TicTacToe/Score.hpp
djanko1337/TicTacToe
6adcdf7b3a7ed947f36d473c965853edea4ddc8e
[ "MIT" ]
null
null
null
TicTacToe/Score.hpp
djanko1337/TicTacToe
6adcdf7b3a7ed947f36d473c965853edea4ddc8e
[ "MIT" ]
null
null
null
#pragma once namespace TicTacToe { class Score { public: constexpr Score() noexcept; constexpr auto count() const noexcept -> int; constexpr auto increment() noexcept -> void; constexpr auto reset() noexcept -> void; private: int mCount; }; constexpr auto operator==(Score lhs, Score rhs) noex...
19.158537
65
0.674729
djanko1337
bd8c50deb2428e76a91e1731ad9a8523613d76dd
1,060
hpp
C++
libs/core/include/fcppt/enum/output.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/enum/output.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/enum/output.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // 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) #ifndef FCPPT_ENUM_OUTPUT_HPP_INCLUDED #define FCPPT_ENUM_OUTPUT_HPP_INCLUDED #include <fcppt/enu...
17.096774
78
0.711321
pmiddend
bd8cd24fba3ddb9a267618809b3a6ad818b1339b
945
hpp
C++
src/include/XEEditor/Editor.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
11
2017-01-17T15:02:25.000Z
2020-11-27T16:54:42.000Z
src/include/XEEditor/Editor.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
9
2016-10-23T20:15:38.000Z
2018-02-06T11:23:17.000Z
src/include/XEEditor/Editor.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
2
2019-08-29T10:23:51.000Z
2020-04-03T06:08:34.000Z
#ifndef EDITOR_HPP #define EDITOR_HPP #include <XEngine.hpp> #include <XEEditor/Event/Event.h> namespace EI { class EditorCommand; enum ObjType { Physic = 0, GameEntity = 1, }; enum Status { Unknown = 0, OK = 1, Error = 2, }; class Editor { public: Editor(); inline XE::XEngine* getEngin...
20.106383
82
0.674074
devxkh
bd8f12d6d2ef16317d360b1060caa92b0319eacb
373
cpp
C++
src/learn/test_bitset.cpp
wohaaitinciu/zpublic
0e4896b16e774d2f87e1fa80f1b9c5650b85c57e
[ "Unlicense" ]
50
2015-01-07T01:54:54.000Z
2021-01-15T00:41:48.000Z
src/learn/test_bitset.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
1
2015-05-26T07:40:19.000Z
2015-05-26T07:40:19.000Z
src/learn/test_bitset.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
39
2015-01-07T02:03:15.000Z
2021-01-15T00:41:50.000Z
#include "stdafx.h" #include "test_bitset.h" void test_bitset() { std::bitset<32> bt32; bt32.set(); assert(bt32.all()); bt32.reset(); assert(bt32.none()); bt32.set(0); assert(bt32.any()); assert(bt32.size() == 32); bt32.flip(); assert(bt32.count() == 31); bt32 <<= 15; st...
18.65
55
0.544236
wohaaitinciu
bd93b99635fd75bddeaaea5d7980b57d005a85c0
21,349
cc
C++
src/tpl/vx_str.cc
eedsp/tlx
2555853646920168570bd630850dc22bc2cb327d
[ "Apache-2.0" ]
null
null
null
src/tpl/vx_str.cc
eedsp/tlx
2555853646920168570bd630850dc22bc2cb327d
[ "Apache-2.0" ]
null
null
null
src/tpl/vx_str.cc
eedsp/tlx
2555853646920168570bd630850dc22bc2cb327d
[ "Apache-2.0" ]
null
null
null
// // Created by Shiwon Cho on 2005.10.27. // #include <iostream> #include "vx_str.h" #define UPDATE_UCS_offset(p_offset_utf8, p_offset_utf8_s, pSTR, pSTR_len, p_offset_ucs) { \ int32_t __v_idx_utf8 = p_offset_utf8; \ while (__v_idx_utf8 < p_offset_utf8_s && __v_idx_utf8 < pSTR_len) \ { \ UChar32 ...
33.357813
174
0.569582
eedsp
bd97711b92e2f01bc90806429d49e045296546de
961
hpp
C++
configuration/ConfigurationParameterTemplateBase_test/ConfigurationParameterTemplateBase_test.hpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
configuration/ConfigurationParameterTemplateBase_test/ConfigurationParameterTemplateBase_test.hpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
configuration/ConfigurationParameterTemplateBase_test/ConfigurationParameterTemplateBase_test.hpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
#if !defined CONFIGURATION_PARAMETER_TEMPLATE_BASE_TEST_HPP #define CONFIGURATION_PARAMETER_TEMPLATE_BASE_TEST_HPP #include "Test.hpp" #include "TestCases.hpp" #include "TestMacros.hpp" #include "ConfigurationParameterTemplateBase.hpp" namespace Configuration { TEST_CASES_BEGIN(ParameterTemplateBase_test) ...
23.439024
81
0.630593
leighgarbs
bd98395a457e90264d2f4dca55fd2dea7fdec95d
133
cc
C++
gcc/libjava/include/jrate/sched/Runnable.cc
giraffe/jrate
764bbf973d1de4e38f93ba9b9c7be566f1541e16
[ "Xnet", "Linux-OpenIB", "X11" ]
1
2021-06-15T05:43:22.000Z
2021-06-15T05:43:22.000Z
src/native/src/jrate/sched/Runnable.cc
giraffe/jrate
764bbf973d1de4e38f93ba9b9c7be566f1541e16
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
src/native/src/jrate/sched/Runnable.cc
giraffe/jrate
764bbf973d1de4e38f93ba9b9c7be566f1541e16
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
#include <jrate/sched/Runnable.h> jrate::sched::Runnable jrate::sched::Runnable::NoAction; jrate::sched::Runnable::~Runnable() { }
22.166667
56
0.721805
giraffe
bd9aa5fcefffa258da01289c607f52f9f3d35378
211
cpp
C++
DeSpeect/Test/View_idTest.cpp
matteo-rizzo/DeSpeect
843b74f00016538fd4a6a0ec9641a72f000998a2
[ "MIT" ]
null
null
null
DeSpeect/Test/View_idTest.cpp
matteo-rizzo/DeSpeect
843b74f00016538fd4a6a0ec9641a72f000998a2
[ "MIT" ]
null
null
null
DeSpeect/Test/View_idTest.cpp
matteo-rizzo/DeSpeect
843b74f00016538fd4a6a0ec9641a72f000998a2
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "id.h" TEST(Graph, VerifyId){ ID a("a","a"); ID b("b","b"); EXPECT_FALSE(a==b); } TEST(Graph, VerifyIdEq){ ID a("a","a"); ID b=a; EXPECT_TRUE(a==b); }
14.066667
24
0.521327
matteo-rizzo
bd9d4dc9dfce443023372e920c45c77eed31b9ad
1,743
cc
C++
vize/src/vize/factory/async_volume_document_factory.cc
oprogramadorreal/vize
042c16f96d8790303563be6787200558e1ec00b2
[ "MIT" ]
47
2020-03-30T14:36:46.000Z
2022-03-06T07:44:54.000Z
vize/src/vize/factory/async_volume_document_factory.cc
oprogramadorreal/vize
042c16f96d8790303563be6787200558e1ec00b2
[ "MIT" ]
null
null
null
vize/src/vize/factory/async_volume_document_factory.cc
oprogramadorreal/vize
042c16f96d8790303563be6787200558e1ec00b2
[ "MIT" ]
8
2020-04-01T01:22:45.000Z
2022-01-02T13:06:09.000Z
#include "vize/factory/async_volume_document_factory.hpp" #include "vize/factory/volume_factory.hpp" #include "vize/document/volume_document.hpp" namespace vize { AsyncVolumeDocumentFactory::AsyncVolumeDocumentFactory(VolumeDocument& document, std::unique_ptr<VolumeFactory> factory) : _document(document), _volumeFa...
32.277778
149
0.815835
oprogramadorreal
bd9ec24d3dab1b3d9fab7650571cb40639a1c1ec
61,331
cpp
C++
src/NLO_PL.cpp
gvita/RHEHpt
f320d8f4e2ef27af19cf62bded85afce8e0de7a7
[ "MIT" ]
null
null
null
src/NLO_PL.cpp
gvita/RHEHpt
f320d8f4e2ef27af19cf62bded85afce8e0de7a7
[ "MIT" ]
null
null
null
src/NLO_PL.cpp
gvita/RHEHpt
f320d8f4e2ef27af19cf62bded85afce8e0de7a7
[ "MIT" ]
null
null
null
#include "NLO_PL.h" #include "cuba.h" #include <gsl/gsl_sf_dilog.h> /*double B2pp_ANALITIC(long double x, long double xp) { return(1./3.*3.*5.*(2.+3.*xp)/(xp*(1.+xp))*std::log(x)); }*/ //Used to cross-check the complete form above long double B2pp_ANALITICS(long double x, long double xp){ long double ymax=0.5*st...
58.466158
214
0.576788
gvita
bda5c0edf01f038f611d78c8ee2b7e90a0a7c0a1
9,628
cpp
C++
src/Game.cpp
M4T1A5/IndieSpeedRun2013
75b1adc4716c2e32f308289cce51a78a10681697
[ "Zlib" ]
null
null
null
src/Game.cpp
M4T1A5/IndieSpeedRun2013
75b1adc4716c2e32f308289cce51a78a10681697
[ "Zlib" ]
null
null
null
src/Game.cpp
M4T1A5/IndieSpeedRun2013
75b1adc4716c2e32f308289cce51a78a10681697
[ "Zlib" ]
null
null
null
#include <Game.h> #include <time.h> #include <stdlib.h> using namespace EGEMath; using namespace EGEMotor; Game::Game(Viewport& viewport, Input &input) : input(&input), viewport(&viewport), gameState(MENU), _clock(0), Difficulty(1) { font = new Font("square.ttf"); resourceText = new Text("", font); re...
24.498728
169
0.654342
M4T1A5
bdaf2f711fbe5aed14096c7ac4c7304eeab8ab0b
2,988
hpp
C++
include/makeshift/experimental/mpark/variant.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
3
2020-04-03T14:06:41.000Z
2021-11-09T23:55:52.000Z
include/makeshift/experimental/mpark/variant.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
2
2020-04-03T14:21:09.000Z
2022-02-08T14:37:01.000Z
include/makeshift/experimental/mpark/variant.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
null
null
null
#ifndef INCLUDED_MAKESHIFT_EXPERIMENTAL_MPARK_VARIANT_HPP_ #define INCLUDED_MAKESHIFT_EXPERIMENTAL_MPARK_VARIANT_HPP_ #include <utility> // for forward<>() #include <type_traits> // for remove_cv<>, remove_reference<> #include <gsl-lite/gsl-lite.hpp> // for gsl_Expects(), gsl_NODISCARD #include <mpark/variant....
30.489796
131
0.670348
mbeutel
bdb2cae06023da708310a9bf1a528329ad9e9245
1,554
cpp
C++
interface/src/graphics/RenderEventHandler.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
272
2021-01-07T03:06:08.000Z
2022-03-25T03:54:07.000Z
interface/src/graphics/RenderEventHandler.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
1,021
2020-12-12T02:33:32.000Z
2022-03-31T23:36:37.000Z
interface/src/graphics/RenderEventHandler.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
77
2020-12-15T06:59:34.000Z
2022-03-23T22:18:04.000Z
// // RenderEventHandler.cpp // // Created by Bradley Austin Davis on 29/6/2018. // Copyright 2018 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "RenderEventHandler.h" #include "Appli...
26.338983
95
0.699485
Darlingnotin
bdb8301f9fe674aa624ee931f7f6bdc8dbd8aa25
1,832
cpp
C++
DigitalRoot.cpp
jb2020-super/kata
f6217d8b7c8854c89ff27d6bd70975b7aff85f89
[ "MIT" ]
null
null
null
DigitalRoot.cpp
jb2020-super/kata
f6217d8b7c8854c89ff27d6bd70975b7aff85f89
[ "MIT" ]
null
null
null
DigitalRoot.cpp
jb2020-super/kata
f6217d8b7c8854c89ff27d6bd70975b7aff85f89
[ "MIT" ]
null
null
null
/* Given n, take the sum of the digits of n. If that value has more than one digit, continue reducing in this way until a single-digit number is produced. The input will be a non-negative integer. 16 --> 1 + 6 = 7 942 --> 9 + 4 + 2 = 15 --> 1 + 5 = 6 132189 --> 1 + 3 + 2 + 1 + 8 + 9 = 24 --> 2 + 4 = 6 ...
38.166667
287
0.606441
jb2020-super
bdb98f8b83fe9562eb64a33632de182e2f962789
1,525
cc
C++
chrome/services/printing/pdf_to_emf_converter_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/services/printing/pdf_to_emf_converter_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/services/printing/pdf_to_emf_converter_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/services/printing/pdf_to_emf_converter_factory.h" #include <utility> #include "chrome/services/printing/pdf_to_emf_converter.h" #includ...
37.195122
79
0.775082
zealoussnow
bdba0a9c8a4aa4bb8f2faa7e5818dc3bc650d72b
1,256
cpp
C++
lib/code/widgets/single_child.cpp
leddoo/cpp-gui
75f9d89df0bea8ac7d59179a17bd58c8a4e3ead7
[ "MIT" ]
null
null
null
lib/code/widgets/single_child.cpp
leddoo/cpp-gui
75f9d89df0bea8ac7d59179a17bd58c8a4e3ead7
[ "MIT" ]
null
null
null
lib/code/widgets/single_child.cpp
leddoo/cpp-gui
75f9d89df0bea8ac7d59179a17bd58c8a4e3ead7
[ "MIT" ]
null
null
null
#include <cpp-gui/core/gui.hpp> #include <cpp-gui/widgets/single_child.hpp> Single_Child_Def::~Single_Child_Def() { safe_delete(&this->child); } Widget* Single_Child_Def::on_get_widget(Gui* gui) { return gui->create_widget_and_match<Single_Child_Widget>(*this); } Single_Child_Widget::~Single_Child_Widget(...
22.836364
113
0.684713
leddoo
bdbb708a347c590ef630a45f6f1b3ef678bc7ce5
253
cpp
C++
src/process.cpp
Matthew-Zimmer/Harpoon
81420c815f8930d20c9e082973442d9fe7a7ddea
[ "BSL-1.0" ]
1
2019-12-22T20:02:31.000Z
2019-12-22T20:02:31.000Z
src/process.cpp
Matthew-Zimmer/harpoon
81420c815f8930d20c9e082973442d9fe7a7ddea
[ "BSL-1.0" ]
null
null
null
src/process.cpp
Matthew-Zimmer/harpoon
81420c815f8930d20c9e082973442d9fe7a7ddea
[ "BSL-1.0" ]
null
null
null
#include "process.hpp" namespace Slate::Harpoon { Base_Process::Base_Process(std::string const& name) : name{ name } {} Memory::Block& Buffer<void, void>::Queues() { static Memory::Block queues; return queues; }; }
19.461538
71
0.608696
Matthew-Zimmer
bdbf9abebcd92508f563e26a4b124f176142bb6b
21,051
hh
C++
src/exec/NodeImpl.hh
taless474/plexil1
0da24f0330404c41a695ea367bb760fb9c7ee8dd
[ "BSD-3-Clause" ]
1
2022-03-30T20:16:43.000Z
2022-03-30T20:16:43.000Z
src/exec/NodeImpl.hh
taless474/plexil1
0da24f0330404c41a695ea367bb760fb9c7ee8dd
[ "BSD-3-Clause" ]
null
null
null
src/exec/NodeImpl.hh
taless474/plexil1
0da24f0330404c41a695ea367bb760fb9c7ee8dd
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2006-2021, Universities Space Research Association (USRA). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright ...
33.574163
132
0.663294
taless474
bdc49488d0957d4292661a5c6aba0fad298a3a78
8,344
cpp
C++
Project/Source/Components/UI/ComponentText.cpp
TBD-org/TBD-Engine
8b45d5a2a92e26bd0ec034047b8188e871fab0f9
[ "MIT" ]
7
2021-04-26T21:32:12.000Z
2022-02-14T13:48:53.000Z
Project/Source/Components/UI/ComponentText.cpp
TBD-org/RealBugEngine
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
66
2021-04-24T10:08:07.000Z
2021-10-05T16:52:56.000Z
Project/Source/Components/UI/ComponentText.cpp
TBD-org/TBD-Engine
8b45d5a2a92e26bd0ec034047b8188e871fab0f9
[ "MIT" ]
1
2021-07-13T21:26:13.000Z
2021-07-13T21:26:13.000Z
#include "ComponentText.h" #include "Application.h" #include "GameObject.h" #include "Modules/ModulePrograms.h" #include "Modules/ModuleCamera.h" #include "Modules/ModuleRender.h" #include "Modules/ModuleUserInterface.h" #include "Modules/ModuleResources.h" #include "Modules/ModuleEditor.h" #include "ComponentTransfor...
28.094276
166
0.71081
TBD-org
bdca10dd283e3e72c5305613605227c50d78bb0f
1,062
cpp
C++
proj4/PongGame.cpp
bakerjm24450/EE142
71ac007fe6850ced5b57336edfd9ddbae37f28c3
[ "MIT" ]
null
null
null
proj4/PongGame.cpp
bakerjm24450/EE142
71ac007fe6850ced5b57336edfd9ddbae37f28c3
[ "MIT" ]
null
null
null
proj4/PongGame.cpp
bakerjm24450/EE142
71ac007fe6850ced5b57336edfd9ddbae37f28c3
[ "MIT" ]
null
null
null
// Our Pong Game #include <Game.hpp> #include <Vector2d.hpp> #include <Keyboard.hpp> #include <Color.hpp> #include "PongGame.h" #include "Ball.h" #include "Wall.h" using namespace vmi; // Create the game window PongGame::PongGame() : Game("Pong-ish", 640, 480), done(false) { // create the ball ba...
20.423077
79
0.645951
bakerjm24450
bdcc523c3973e8d9b3dd26d7cda0166aebdf59de
417
cpp
C++
sesion1/ejercicio_voltaje.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
1
2018-12-11T09:32:59.000Z
2018-12-11T09:32:59.000Z
sesion1/ejercicio_voltaje.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
null
null
null
sesion1/ejercicio_voltaje.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
2
2018-11-13T12:32:35.000Z
2018-11-27T14:43:30.000Z
#include <iostream> using namespace std; int main(){ double intensidad; double resistencia; double voltaje; cout << "Introduzca el valor de la intensidad: "; cin >> intensidad; cout << "Introduzca el valor de la resistencia: "; cin >> resistencia; voltaje = resistencia*intensi...
20.85
69
0.628297
dmateos-ugr
bdd2332404ec0f7842784cdfe9c22d1b54510d48
8,558
hpp
C++
MadgwickFilter/Quaternion/Quaternion.hpp
calm0815/robotrack
c3aedfa1d76173fe2729972d5a94ebb3bd84e3a1
[ "MIT" ]
3
2018-11-03T15:58:49.000Z
2019-04-11T22:46:32.000Z
MadgwickFilter/Quaternion/Quaternion.hpp
calm0815/robotrack
c3aedfa1d76173fe2729972d5a94ebb3bd84e3a1
[ "MIT" ]
null
null
null
MadgwickFilter/Quaternion/Quaternion.hpp
calm0815/robotrack
c3aedfa1d76173fe2729972d5a94ebb3bd84e3a1
[ "MIT" ]
null
null
null
#ifndef _QUATERNION_HPP_ #define _QUATERNION_HPP_ #include "Vector3/Vector3.hpp" /** * クォータニオンの足し,引き,掛け算などを簡単にできるようになります. * @author Gaku MATSUMOTO * @bref クォータニオンを使えるクラスです. */ class Quaternion{ public: /** @bref Quaternionインスタンスを生成します */ Quaternion(){ w = 1.0f; x = 0.0f; y = 0.0f; z = 0.0f; }; /** *...
19.102679
87
0.550946
calm0815
bdd3fc610582165f95b2ec03d5b299e7b69beedb
12,575
cc
C++
EventFilter/CSCTFRawToDigi/plugins/CSCTFUnpacker.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
EventFilter/CSCTFRawToDigi/plugins/CSCTFUnpacker.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
EventFilter/CSCTFRawToDigi/plugins/CSCTFUnpacker.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "EventFilter/CSCTFRawToDigi/interface/CSCTFUnpacker.h" //Framework stuff #include "DataFormats/Common/interface/Handle.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" //Digi #include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigi.h" #include "Da...
44.910714
217
0.65169
pasmuss
bdd4533dbcf1e985c9bdb2b026299460f56eaf0f
1,545
cpp
C++
week2/Searching and Sorting/Search in a Rotated Array.cpp
rishabhrathore055/gfg-11-weeks-workshop-on-DSA
052039bfbe3ae261740fc73d50f32528ddd49e6a
[ "MIT" ]
9
2021-08-01T16:17:04.000Z
2022-01-22T19:51:18.000Z
week2/Searching and Sorting/Search in a Rotated Array.cpp
rishabhrathore055/gfg-11-weeks-workshop-on-DSA
052039bfbe3ae261740fc73d50f32528ddd49e6a
[ "MIT" ]
null
null
null
week2/Searching and Sorting/Search in a Rotated Array.cpp
rishabhrathore055/gfg-11-weeks-workshop-on-DSA
052039bfbe3ae261740fc73d50f32528ddd49e6a
[ "MIT" ]
1
2021-08-30T12:26:11.000Z
2021-08-30T12:26:11.000Z
#include<bits/stdc++.h> using namespace std; int Search(vector<int> , int); int main() { int t; cin>>t; while(t--) { int n; cin>>n; vector<int> v(n); for(int i=0;i<n;i++) cin>>v[i]; int target; cin>>target; cout<<Search(v,target)<<endl...
22.071429
55
0.471845
rishabhrathore055
bdd623ceed6f588f267e4b4bdf3f66365b2ca406
738
cc
C++
common/filesystem.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
common/filesystem.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
common/filesystem.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
// Normally we would #include drake/common/filesystem.h prior to this header // ("include yourself first"), but we can't do that given the way the ghc // library implements separate compilation. So, we have to NOLINT it below. // Keep this sequence in sync with drake/common/filesystem.h. #if __has_include(<filesystem...
33.545455
76
0.775068
RobotLocomotion
752a2a1c33f360e89df42e5b02fece2122c6b95c
26,965
cpp
C++
src/state_manager.cpp
cognicept-admin/rosrect_listener_Agent
d1fdc435e28d413379f6e7dd98fca4e72cf853f1
[ "BSD-3-Clause" ]
6
2020-05-07T14:26:23.000Z
2021-05-03T01:02:35.000Z
src/state_manager.cpp
cognicept-admin/error_resolution_diagnoser
6666b0597904a005ef90d0d82463544c88e6068c
[ "BSD-3-Clause" ]
1
2020-05-18T04:41:00.000Z
2020-06-04T07:03:17.000Z
src/state_manager.cpp
cognicept-admin/error_resolution_diagnoser
6666b0597904a005ef90d0d82463544c88e6068c
[ "BSD-3-Clause" ]
3
2020-09-23T03:54:39.000Z
2021-09-29T12:10:07.000Z
#include <error_resolution_diagnoser/state_manager.h> using namespace web::json; // JSON features using namespace web; // Common features like URIs. StateManager::StateManager() { // Boolean flag to decide whether to suppress a message or not this->suppress_flag = false; // Timeout parameter in mi...
31.318235
167
0.531096
cognicept-admin
752db47227df30cc728e232d1b1026633ca70523
1,234
cpp
C++
bitbots_splines_extension/src/handle/position_handle.cpp
5reichar/bitbots_kick_engine
0817f4f0a206de6f0f01a0cedfe201f62e677a11
[ "BSD-3-Clause" ]
null
null
null
bitbots_splines_extension/src/handle/position_handle.cpp
5reichar/bitbots_kick_engine
0817f4f0a206de6f0f01a0cedfe201f62e677a11
[ "BSD-3-Clause" ]
null
null
null
bitbots_splines_extension/src/handle/position_handle.cpp
5reichar/bitbots_kick_engine
0817f4f0a206de6f0f01a0cedfe201f62e677a11
[ "BSD-3-Clause" ]
null
null
null
#include "handle/position_handle.h" namespace bitbots_splines { PositionHandle::PositionHandle(std::shared_ptr<Curve> x, std::shared_ptr<Curve> y, std::shared_ptr<Curve> z) : x_(std::move(x)), y_(std::move(y)), z_(std::move(z)) { } geometry_msgs::Point PositionHandle::get_geometry_msg_position(double time) { ...
22.851852
109
0.676661
5reichar
752f29b5a05e379e520f0891f8209031df398cd3
1,130
cpp
C++
doubly_linked_list/doubly_linked_list.cpp
Khushmeet/dsa
580fcff399bf1950b7b1fd70838e091a63eac2a9
[ "MIT" ]
null
null
null
doubly_linked_list/doubly_linked_list.cpp
Khushmeet/dsa
580fcff399bf1950b7b1fd70838e091a63eac2a9
[ "MIT" ]
null
null
null
doubly_linked_list/doubly_linked_list.cpp
Khushmeet/dsa
580fcff399bf1950b7b1fd70838e091a63eac2a9
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; struct Node { int data; struct Node *next; struct Node *prev; }; struct Node *head = (struct Node *)malloc(sizeof(struct Node)); struct Node* get_new_node(int data) { Node *temp = new Node(); temp->data = data; temp->next = NULL; temp->prev = NULL;...
15.479452
63
0.517699
Khushmeet
752fff563ecb7483027347c994bc5304477725d1
258
cpp
C++
hackerrank/practice/mathematics/fundamentals/handshake.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
4
2018-06-05T14:15:52.000Z
2022-02-08T05:14:23.000Z
hackerrank/practice/mathematics/fundamentals/handshake.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
null
null
null
hackerrank/practice/mathematics/fundamentals/handshake.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
1
2018-10-21T11:01:35.000Z
2018-10-21T11:01:35.000Z
// https://www.hackerrank.com/challenges/handshake #include "common/stl/base.h" int main_handshake() { unsigned T; cin >> T; for (unsigned it = 0; it < T; ++it) { uint64_t n; cin >> n; cout << (n * (n - 1)) / 2 << endl; } return 0; }
17.2
50
0.550388
Loks-
75393ebccbc3603325e492b4e136b3e73182bc82
2,387
cpp
C++
dataserver/src/storage/processor_data_sample.cpp
jimdb-org/jimdb
927e4447879189597dbe7f91a7fe0e8865107ef4
[ "Apache-2.0" ]
59
2020-01-10T06:27:12.000Z
2021-12-16T06:37:36.000Z
dataserver/src/storage/processor_data_sample.cpp
jimdb-org/jimdb
927e4447879189597dbe7f91a7fe0e8865107ef4
[ "Apache-2.0" ]
null
null
null
dataserver/src/storage/processor_data_sample.cpp
jimdb-org/jimdb
927e4447879189597dbe7f91a7fe0e8865107ef4
[ "Apache-2.0" ]
3
2020-02-13T05:04:20.000Z
2020-06-29T01:07:48.000Z
// Copyright 2019 The JIMDB Authors. // // 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...
26.230769
138
0.661919
jimdb-org
753a78fefd48383246b2b7bf9549887fa5cbb79d
32,746
cpp
C++
indra/newview/llcallingcard.cpp
SaladDais/LLUDP-Encryption
8a426cd0dd154e1a10903e0e6383f4deb2a6098a
[ "ISC" ]
1
2022-01-29T07:10:03.000Z
2022-01-29T07:10:03.000Z
indra/newview/llcallingcard.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
null
null
null
indra/newview/llcallingcard.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
1
2021-10-01T22:22:27.000Z
2021-10-01T22:22:27.000Z
/** * @file llcallingcard.cpp * @brief Implementation of the LLPreviewCallingCard class * * $LicenseInfo:firstyear=2002&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the term...
30.32037
248
0.719966
SaladDais
753acc92fb7bcfa2bc75b5a5260671e628e0ce24
8,866
cpp
C++
x86/vm/ops/store.cpp
zero-rp/ZVM
66319025a4dfff813e580f68a0183841de9a72cd
[ "MIT" ]
9
2019-03-08T07:56:12.000Z
2021-03-06T01:57:43.000Z
x86/vm/ops/store.cpp
zero-rp/ZVM
66319025a4dfff813e580f68a0183841de9a72cd
[ "MIT" ]
null
null
null
x86/vm/ops/store.cpp
zero-rp/ZVM
66319025a4dfff813e580f68a0183841de9a72cd
[ "MIT" ]
2
2019-03-16T12:47:05.000Z
2019-09-15T15:03:50.000Z
/** Copyright (c) 2007 - 2010 Jordan "Earlz/hckr83" Earls <http://www.Earlz.biz.tm> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright ...
22.733333
80
0.533724
zero-rp
753bebc066f0f4bc0f6d4b49bfbc299d14e4cafe
8,167
cpp
C++
src/engine/map2d/map2disoobjectslayer.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/engine/map2d/map2disoobjectslayer.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/engine/map2d/map2disoobjectslayer.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file map2disoobjectslayer.cpp * @brief * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2001-12-25 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/engine/map2d/map2disoobjectslayer.h" #include "o3d/engine/map2d/map2dvisibility...
20.623737
90
0.668177
dream-overflow
753f1e0eb88b1ed2be6875a7cfba33cf116bbc4d
14,916
cpp
C++
addons/ofxCvGui/src/ofxCvGui/Controller.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
null
null
null
addons/ofxCvGui/src/ofxCvGui/Controller.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
null
null
null
addons/ofxCvGui/src/ofxCvGui/Controller.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
null
null
null
#include "pch_ofxCvGui.h" //---------- OFXSINGLETON_DEFINE(ofxCvGui::Controller); namespace ofxCvGui { //---------- Controller::Controller() { this->maximised = false; this->chromeVisible = true; this->mouseOwner = nullptr; this->lastClickOwner = nullptr; this->lastMouseClick = pair<long long, ofMouseEven...
26.635714
180
0.669482
syeminpark
7541639e7eebe2db9694f668a355f034bb9fab99
370
cpp
C++
acmicpc.net/9461.cpp
kbu1564/SimpleAlgorithm
7e5b0d2fe19461417d88de0addd2235da55787d3
[ "MIT" ]
4
2016-04-15T07:54:39.000Z
2021-01-11T09:02:16.000Z
acmicpc.net/9461.cpp
kbu1564/SimpleAlgorithm
7e5b0d2fe19461417d88de0addd2235da55787d3
[ "MIT" ]
null
null
null
acmicpc.net/9461.cpp
kbu1564/SimpleAlgorithm
7e5b0d2fe19461417d88de0addd2235da55787d3
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> using namespace std; int t,n; long long int A[101] = { 1, 1, 1, 0 }; int main() { scanf("%d", &t); for (int i = 0; i < t; i++) { scanf("%d", &n); for (int j = 3; j < n; j++) { A[j] = A[j-3] + A[j-2]; }...
17.619048
38
0.486486
kbu1564
754603bd2a3852c0186f083b10dab76446692a11
3,847
cpp
C++
bgcc/nb_data_buffer.cpp
duzhanyuan/testbdrpc
da572ea2dcb81985d65214819a834ccfbc89262d
[ "BSD-3-Clause" ]
8
2018-01-31T05:20:46.000Z
2021-06-11T17:45:34.000Z
bgcc/nb_data_buffer.cpp
duzhanyuan/testbdrpc
da572ea2dcb81985d65214819a834ccfbc89262d
[ "BSD-3-Clause" ]
null
null
null
bgcc/nb_data_buffer.cpp
duzhanyuan/testbdrpc
da572ea2dcb81985d65214819a834ccfbc89262d
[ "BSD-3-Clause" ]
31
2017-05-10T19:32:40.000Z
2021-06-16T13:22:22.000Z
/*********************************************************************** * Copyright (c) 2012, Baidu Inc. All rights reserved. * * Licensed under the BSD License * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * license.txt **********...
24.819355
77
0.505329
duzhanyuan
75464bec70a43a9e4d4ef45a6b757513d15e8a95
446
cpp
C++
src/test/main_victim_test.cpp
davitkalantaryan/wlac-sources
0878d97df0900b16f72c63f187be44ae9bef8949
[ "MIT" ]
null
null
null
src/test/main_victim_test.cpp
davitkalantaryan/wlac-sources
0878d97df0900b16f72c63f187be44ae9bef8949
[ "MIT" ]
4
2021-10-05T05:28:22.000Z
2021-12-28T22:48:21.000Z
src/test/main_victim_test.cpp
davitkalantaryan/wlac-sources
0878d97df0900b16f72c63f187be44ae9bef8949
[ "MIT" ]
null
null
null
// // file: main_victim_test.cpp // created on: 2018 Dec 18 // #ifndef CINTERFACE #define CINTERFACE #endif // !CINTERFACE #include <WinSock2.h> #include <WS2tcpip.h> #include <Windows.h> #include <stdio.h> static volatile int s_nRun = 1; int main() { int nPid = GetCurrentProcessId(); printf...
15.928571
64
0.64574
davitkalantaryan
754b36c3ba2e2753bd7467e45a79c0e7acad2213
723
cpp
C++
emerald/util/tests/test_vector_util.cpp
blackencino/emerald
3c4823dbdeff7c63007ff359d262608227f5433f
[ "Apache-2.0" ]
3
2020-08-16T17:56:25.000Z
2021-02-25T21:55:39.000Z
emerald/util/tests/test_vector_util.cpp
blackencino/emerald
3c4823dbdeff7c63007ff359d262608227f5433f
[ "Apache-2.0" ]
null
null
null
emerald/util/tests/test_vector_util.cpp
blackencino/emerald
3c4823dbdeff7c63007ff359d262608227f5433f
[ "Apache-2.0" ]
null
null
null
#include <emerald/util/format.h> #include <emerald/util/foundation.h> #include <emerald/util/random.h> #include <emerald/util/vector_util.h> #include <fmt/format.h> #include <gtest/gtest.h> #include <cstdio> #include <cstdlib> #include <vector> namespace emerald::util { TEST(Test_vector_util, Print_hash_key) { ...
24.1
78
0.648686
blackencino
754c73ea5c5b7b8b0f39c1ccc23a51d1287a1455
2,878
hh
C++
include/introvirt/windows/kernel/nt/types/PEB.hh
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
23
2021-02-17T16:58:52.000Z
2022-02-12T17:01:06.000Z
include/introvirt/windows/kernel/nt/types/PEB.hh
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
1
2021-04-01T22:41:32.000Z
2021-09-24T14:14:17.000Z
include/introvirt/windows/kernel/nt/types/PEB.hh
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
4
2021-02-17T16:53:18.000Z
2021-04-13T16:51:10.000Z
/* * Copyright 2021 Assured Information Security, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
25.927928
98
0.658443
IntroVirt
75504f62dadac215cd69a00917affe0e57447838
376
cpp
C++
game/server/entities/triggers/CTriggerTeleport.cpp
xalalau/HLEnhanced
f108222ab7d303c9ed5a8e81269f9e949508e78e
[ "Unlicense" ]
83
2016-06-10T20:49:23.000Z
2022-02-13T18:05:11.000Z
game/server/entities/triggers/CTriggerTeleport.cpp
xalalau/HLEnhanced
f108222ab7d303c9ed5a8e81269f9e949508e78e
[ "Unlicense" ]
26
2016-06-16T22:27:24.000Z
2019-04-30T19:25:51.000Z
game/server/entities/triggers/CTriggerTeleport.cpp
xalalau/HLEnhanced
f108222ab7d303c9ed5a8e81269f9e949508e78e
[ "Unlicense" ]
58
2016-06-10T23:52:33.000Z
2021-12-30T02:30:50.000Z
#include "extdll.h" #include "util.h" #include "cbase.h" #include "CTriggerTeleport.h" LINK_ENTITY_TO_CLASS( trigger_teleport, CTriggerTeleport ); //TODO: Consider making this its own class - Solokiller LINK_ENTITY_TO_CLASS( info_teleport_destination, CPointEntity ); void CTriggerTeleport::Spawn( void ) { InitTrig...
22.117647
64
0.776596
xalalau
755199317f3fade2b7ce3139ef6dba5776bbf8f3
14,130
cpp
C++
embeddedCNN/src/utils/check.cpp
yuehniu/embeddedCNN
1067867830300cc55b4573d633c9fa1226c64868
[ "MIT" ]
21
2018-07-10T07:47:51.000Z
2021-12-03T05:47:30.000Z
embeddedCNN/src/utils/check.cpp
honorpeter/embeddedCNN
1067867830300cc55b4573d633c9fa1226c64868
[ "MIT" ]
3
2018-09-05T03:09:40.000Z
2019-04-15T10:01:40.000Z
embeddedCNN/src/utils/check.cpp
honorpeter/embeddedCNN
1067867830300cc55b4573d633c9fa1226c64868
[ "MIT" ]
8
2018-06-10T02:04:09.000Z
2021-12-03T05:47:31.000Z
/* Desc: Result check function set. * Accurate data check (Dataflow). * Approximate data check (Compute result). Date: 06/05/2018 Author: Yue Niu */ #include <iostream> #include <fstream> #include <stdlib.h> #include "../../include/utils/check.h" exter...
31.752809
105
0.456688
yuehniu
7552f7572a0397d169d54e2bfa7693a0e087a7f6
9,359
cpp
C++
Productivity-Companion/InputTodo.cpp
Despicable-Us/Productivity-Companion
2a18e9cc8c01c88012030ed599805298239da497
[ "CC0-1.0" ]
12
2021-11-22T11:49:26.000Z
2022-03-04T03:31:17.000Z
Productivity-Companion/InputTodo.cpp
Despicable-Us/Productivity-Companion
2a18e9cc8c01c88012030ed599805298239da497
[ "CC0-1.0" ]
null
null
null
Productivity-Companion/InputTodo.cpp
Despicable-Us/Productivity-Companion
2a18e9cc8c01c88012030ed599805298239da497
[ "CC0-1.0" ]
null
null
null
#include "InputTodo.h" #include "Database.h" //default constructor extern std::vector<udh::inputField> textList; extern std::vector<udh::inputField> completed; extern udh::inputField sampletext; udh::inputField::inputField() { this->font.loadFromFile("Fonts/Roboto-Medium.ttf"); this->textdata.setFont(font); this->t...
24.628947
163
0.635752
Despicable-Us
7559227d53fb15d1087d9057fe94c213920a541c
4,404
cpp
C++
ProjectEuler+/euler-0278.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0278.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0278.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
1
2021-05-28T11:14:34.000Z
2021-05-28T11:14:34.000Z
// //////////////////////////////////////////////////////// // # Title // Linear Combinations of Semiprimes // // # URL // https://projecteuler.net/problem=278 // http://euler.stephan-brumme.com/278/ // // # Problem // Given the values of integers `1 < a_1 < a_2 < ... < a_n`, consider the linear combination // `q_1 a_1...
39.321429
129
0.576067
sarvekash
75594f0eca0759b6efde094fb69d845c8d7336ae
2,501
cpp
C++
DecodeString.cpp
GolferChen/LeetCode
b502a57ff1ebe8daf670e7b068dd98cec0b9bf38
[ "MIT" ]
null
null
null
DecodeString.cpp
GolferChen/LeetCode
b502a57ff1ebe8daf670e7b068dd98cec0b9bf38
[ "MIT" ]
null
null
null
DecodeString.cpp
GolferChen/LeetCode
b502a57ff1ebe8daf670e7b068dd98cec0b9bf38
[ "MIT" ]
null
null
null
// // Created by Golfer on 2020/7/28. // #include <string> #include <stack> using namespace std; #include <cstdio> #include <iostream> // Version 1, Stack //class Solution { //public: // string decodeString(string s) { // stack<string> stack_string; // stack<int> stack_num; // int number = 0; ...
26.606383
59
0.387845
GolferChen
7559e00fbea33a8739a688ccab89f9bb06122363
2,753
cpp
C++
MySpaceShooter/src/Gameplay/SpaceShip.cpp
TygoB-B5/OSCSpaceShooter
9a94fbbe4392c9283e47696d06a2866a7a8f1213
[ "Apache-2.0" ]
null
null
null
MySpaceShooter/src/Gameplay/SpaceShip.cpp
TygoB-B5/OSCSpaceShooter
9a94fbbe4392c9283e47696d06a2866a7a8f1213
[ "Apache-2.0" ]
null
null
null
MySpaceShooter/src/Gameplay/SpaceShip.cpp
TygoB-B5/OSCSpaceShooter
9a94fbbe4392c9283e47696d06a2866a7a8f1213
[ "Apache-2.0" ]
null
null
null
#include "SpaceShip.h" namespace Game { void SpaceShip::Update() { UpdateSpaceShipPosition(); UpdateSpaceShipRotation(); UpdateCameraPose(); UpdateSpaceshipGun(); } glm::vec3 SpaceShip::GetControllerIRotationnput() { // Calculate controller input with deadzone auto& cont = m_Controller; glm::vec3 r...
28.091837
105
0.680349
TygoB-B5
755aaab5f9350ef704e1545ecd661418f70e1e57
389
hpp
C++
Hurrican/src/stdafx.hpp
s1eve-mcdichae1/Hurrican
3ed6ff9ee94d2ea2b79e451466d28f06d58acf19
[ "MIT" ]
21
2018-04-13T10:45:45.000Z
2022-03-29T14:53:43.000Z
Hurrican/src/stdafx.hpp
s1eve-mcdichae1/Hurrican
3ed6ff9ee94d2ea2b79e451466d28f06d58acf19
[ "MIT" ]
10
2021-06-30T14:29:36.000Z
2022-01-06T17:03:48.000Z
Hurrican/src/stdafx.hpp
s1eve-mcdichae1/Hurrican
3ed6ff9ee94d2ea2b79e451466d28f06d58acf19
[ "MIT" ]
3
2021-10-08T12:35:05.000Z
2022-03-03T06:03:49.000Z
#ifndef _STDAFX_HPP_ #define _STDAFX_HPP_ #include "Console.hpp" #include "DX8Font.hpp" #include "DX8Sound.hpp" #include "GUISystem.hpp" #include "Gameplay.hpp" #include "Globals.hpp" #include "HUD.hpp" #include "Logdatei.hpp" #include "Mathematics.hpp" #include "Partikelsystem.hpp" #include "Player.hpp" #include "Pro...
19.45
29
0.758355
s1eve-mcdichae1
755db57e3190fddc30ff73cdb43146adb417b9e5
1,259
cpp
C++
LeetCode/C++/144_Binary_Tree_Preorder_Traversal.cpp
icgw/LeetCode
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
4
2018-09-12T09:32:17.000Z
2018-12-06T03:17:38.000Z
LeetCode/C++/144_Binary_Tree_Preorder_Traversal.cpp
icgw/algorithm
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
null
null
null
LeetCode/C++/144_Binary_Tree_Preorder_Traversal.cpp
icgw/algorithm
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
null
null
null
/* Given a binary tree, return the preorder traversal of its nodes' values. * * Example: * Input: [1, null, 2, 3] * 1 * \ * 2 * / * 3 * Output: [1, 2, 3] * * Follow up: Recursive solution is trivial, could you do it iteratively? */ #include <iostream> #include <vector> #include <stack>...
21.706897
75
0.612391
icgw
755f00c26dd122d684c7a1211db67d8f9181ba13
9,419
cpp
C++
lepra/src/metafile.cpp
highfestiva/life
b05b592502d72980ab55e13e84330b74a966f377
[ "BSD-3-Clause" ]
9
2019-09-03T18:33:31.000Z
2022-02-04T04:00:02.000Z
lepra/src/metafile.cpp
highfestiva/life
b05b592502d72980ab55e13e84330b74a966f377
[ "BSD-3-Clause" ]
null
null
null
lepra/src/metafile.cpp
highfestiva/life
b05b592502d72980ab55e13e84330b74a966f377
[ "BSD-3-Clause" ]
null
null
null
// Author: Jonas Byström // Copyright (c) Pixel Doctrine #include "pch.h" #include "../include/metafile.h" #include <algorithm> #include "../include/path.h" namespace lepra { MetaFile::MetaFile() : disk_file_(0), archive_file_(0), reader_(0), writer_(0), endian_(Endian::kTypeBigEndian) { } MetaFile::MetaFile(...
20.655702
118
0.669498
highfestiva
755f0257792b6d75a9c44b69ae9cf39ae2f5185b
4,172
cpp
C++
src/lib/lgui/widgets/wrapwidget.cpp
jacmoe/lgui
92f7e655832487b9ac29ef6043a79745329c90f6
[ "BSD-3-Clause" ]
4
2020-12-31T00:01:32.000Z
2021-11-20T15:39:46.000Z
src/lib/lgui/widgets/wrapwidget.cpp
jacmoe/lgui
92f7e655832487b9ac29ef6043a79745329c90f6
[ "BSD-3-Clause" ]
null
null
null
src/lib/lgui/widgets/wrapwidget.cpp
jacmoe/lgui
92f7e655832487b9ac29ef6043a79745329c90f6
[ "BSD-3-Clause" ]
1
2021-11-10T16:55:09.000Z
2021-11-10T16:55:09.000Z
/* _ _ * | | (_) * | | __ _ _ _ _ * | | / _` || | | || | * | || (_| || |_| || | * |_| \__, | \__,_||_| * __/ | * |___/ * * Copyright (c) 2015-20 frank256 * * License (BSD): * * Redistribution and use in source and binary forms, with or without modification, * ar...
31.368421
95
0.659156
jacmoe
7561738404c4724e9c0ea390ee747020e653f54a
654
cpp
C++
codechef/febLongChallenge20/ony.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codechef/febLongChallenge20/ony.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codechef/febLongChallenge20/ony.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
// vovuh.pb(temp);vovuh.pb(temp1);vovuh.pb(temp2);vovuh.pb(temp3); for(int tat = 0; tat <= 3; tat++) { auto x = adj[tat]; int sz = x.size(); if (sz > 0) { sort(x.begin(),x.end(),greater<int>()); if (x[0] > 0) vovuh.pb(x[0]); } } sort(vovuh.begin(), vovuh.end(),greater<int>()); // ll cnt = 0; cout...
21.8
66
0.529052
xenowits
756286d348fbeee56dd518ef8d73d72403bdc748
476
cpp
C++
Project2/main.cpp
cpurev/CS311
c86bb0dc917ff98edf698adedb4c3f0f9745ce9f
[ "MIT" ]
null
null
null
Project2/main.cpp
cpurev/CS311
c86bb0dc917ff98edf698adedb4c3f0f9745ce9f
[ "MIT" ]
null
null
null
Project2/main.cpp
cpurev/CS311
c86bb0dc917ff98edf698adedb4c3f0f9745ce9f
[ "MIT" ]
1
2021-11-16T05:01:57.000Z
2021-11-16T05:01:57.000Z
#include "ssarray.h" #include <iostream> #include <utility> #include <string> class Count{ public: Count(){ ++_ctorCount; } ~Count(){ --_ctorCount; ++_DctorCount; } static size_t _ctorCount; static size_t _DctorCount; }; size_t Count::_ctorCount = size_t(0); size_t Count::_DctorCount ...
15.354839
58
0.602941
cpurev
75662c717c2d191852fb1b9030c03cedb4756939
2,696
cpp
C++
09-lcd/02-lcd-reg/lcd-reg.cpp
initdb/embedded-systems
7a716a22a045510a9cccded6c15a40ac3ed72858
[ "MIT" ]
3
2019-03-19T19:59:05.000Z
2019-11-22T19:02:56.000Z
09-lcd/02-lcd-reg/lcd-reg.cpp
initdb/embedded-systems
7a716a22a045510a9cccded6c15a40ac3ed72858
[ "MIT" ]
null
null
null
09-lcd/02-lcd-reg/lcd-reg.cpp
initdb/embedded-systems
7a716a22a045510a9cccded6c15a40ac3ed72858
[ "MIT" ]
1
2019-03-26T17:16:09.000Z
2019-03-26T17:16:09.000Z
#include "Arduino.h" #include <LiquidCrystal.h> #define RS 12 // controls RS pin of LCD (digital pin 12) #define E 11 // controls Enable pin to LCD (digital pin 11) // Note: Not need to control RW pin: it's set to GND by hardware since we always write and never read void enablePulse() { digitalWrite(E, LOW); ...
26.431373
101
0.640208
initdb
75681b4297eca4f3ba317ff88d40fde6acf4530a
272
cpp
C++
src/world/light.cpp
fiddleplum/ve
1e45de0488d593069032714ebe67725f468054f8
[ "MIT" ]
null
null
null
src/world/light.cpp
fiddleplum/ve
1e45de0488d593069032714ebe67725f468054f8
[ "MIT" ]
16
2016-12-27T16:57:09.000Z
2017-04-30T23:34:58.000Z
src/world/light.cpp
fiddleplum/ve
1e45de0488d593069032714ebe67725f468054f8
[ "MIT" ]
null
null
null
#include "world/light.hpp" namespace ve { namespace world { Light::Light() { color = {1, 1, 1}; } Light::~Light() { } Vector3f Light::getColor() const { return color; } void Light::setColor(Vector3f color_) { color = color_; } } }
9.714286
39
0.558824
fiddleplum
756ba6c9e52a7081be16b9be4f2173e1c55f0da0
1,270
cpp
C++
Source/Archiver/FileSerializer.cpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Archiver/FileSerializer.cpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Archiver/FileSerializer.cpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
// Copyright 2020, Nathan Blane #include "FileSerializer.hpp" #include "Logging/CoreLogChannels.hpp" #include "Logging/LogFunctions.hpp" FileSerializer::FileSerializer(const Path& filePath) : pathToFile(filePath) { bool result = FileSystem::OpenFile(handle, pathToFile.GetString(), FileMode::Write); if (!result) {...
27.608696
150
0.740157
frobro98
756e3e110e56ec813d1c8c29b1be78995bbef5f2
1,737
hh
C++
dune/xt/common/numeric.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
2
2020-02-08T04:08:52.000Z
2020-08-01T18:54:14.000Z
dune/xt/common/numeric.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
35
2019-08-19T12:06:35.000Z
2020-03-27T08:20:39.000Z
dune/xt/common/numeric.hh
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:34.000Z
2020-02-08T04:09:34.000Z
// This file is part of the dune-xt project: // https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt // Copyright 2009-2021 dune-xt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (h...
32.773585
100
0.745538
dune-community
757109a8c12f857a049986a1b25b17804c53d25f
12,809
cpp
C++
src/c/HarmoniaInterface.cpp
Hiiragi/Harmonia
e47e811364e15a9bc7b2322c10d1e35fca041e2a
[ "MIT" ]
null
null
null
src/c/HarmoniaInterface.cpp
Hiiragi/Harmonia
e47e811364e15a9bc7b2322c10d1e35fca041e2a
[ "MIT" ]
null
null
null
src/c/HarmoniaInterface.cpp
Hiiragi/Harmonia
e47e811364e15a9bc7b2322c10d1e35fca041e2a
[ "MIT" ]
null
null
null
/** * Harmonia * * Copyright (c) 2018 Hiiragi * * This software is released under the MIT License. * http://opensource.org/licenses/mit-license.php */ #include "HarmoniaInterface.h" #include "Harmonia.h" #include "ogg/ogg.h" #include <algorithm> #include <string> #include <sstream> // General #if _WIN32 extern "C...
18.672012
187
0.708408
Hiiragi
75737379a402b92d7209b5a3668b3bd1f84577d8
53
hpp
C++
src/boost_numeric_odeint_util_unit_helper.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_numeric_odeint_util_unit_helper.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_numeric_odeint_util_unit_helper.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/numeric/odeint/util/unit_helper.hpp>
26.5
52
0.811321
miathedev
7573bfef037cbe0664a1346c1ec5c5eecc9e9a9a
12,410
cpp
C++
Engine/Source/Runtime/ShaderCore/Private/VertexFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/ShaderCore/Private/VertexFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/ShaderCore/Private/VertexFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*============================================================================= VertexFactory.cpp: Vertex factory implementation =============================================================================*/ #include "VertexFactory.h" #include "Serializat...
31.497462
192
0.770749
windystrife
75791efa4e695d9d48d0a8e9d3206221e16d6efc
1,157
cpp
C++
src/scheduler/FunctionCallClient.cpp
dgoltzsche/faabric
b1edd26d2b07102255491d7fbb661586d58970f5
[ "Apache-2.0" ]
null
null
null
src/scheduler/FunctionCallClient.cpp
dgoltzsche/faabric
b1edd26d2b07102255491d7fbb661586d58970f5
[ "Apache-2.0" ]
null
null
null
src/scheduler/FunctionCallClient.cpp
dgoltzsche/faabric
b1edd26d2b07102255491d7fbb661586d58970f5
[ "Apache-2.0" ]
null
null
null
#include <faabric/scheduler/FunctionCallClient.h> #include <grpcpp/create_channel.h> #include <grpcpp/security/credentials.h> #include <faabric/proto/macros.h> namespace faabric::scheduler { FunctionCallClient::FunctionCallClient(const std::string& hostIn) : host(hostIn) , channel(grpc::CreateChannel(host + ":" ...
29.666667
80
0.737252
dgoltzsche
757ae3a25a167a19621dc9d620353e420d53ee7e
828
hpp
C++
tests/CellMLContextTest.hpp
metatoaster/cellml-api
d7baf9038e42859fa96117db6c9644f9f09ecf8b
[ "W3C" ]
1
2018-12-27T01:06:37.000Z
2018-12-27T01:06:37.000Z
tests/CellMLContextTest.hpp
metatoaster/cellml-api
d7baf9038e42859fa96117db6c9644f9f09ecf8b
[ "W3C" ]
1
2016-12-05T09:20:14.000Z
2016-12-05T18:08:05.000Z
tests/CellMLContextTest.hpp
metatoaster/cellml-api
d7baf9038e42859fa96117db6c9644f9f09ecf8b
[ "W3C" ]
14
2015-07-27T13:45:54.000Z
2022-02-02T05:19:53.000Z
#ifndef CELLMLCONTEXTTEST_H #define CELLMLCONTEXTTEST_H #include <cppunit/extensions/HelperMacros.h> #include "cda_config.h" #ifdef HAVE_INTTYPES_H #include <inttypes.h> #endif #include "IfaceCellML_Context.hxx" class CellMLContextTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(CellMLContextTest); CPPUNIT_...
23.657143
53
0.780193
metatoaster
757af3258b0bd1de500a8bd36dfbb26c6060a56b
1,322
cpp
C++
src/pkg_exe/pkg_exe_service.cpp
naughtybikergames/pkg
9a78380c6cf82c95dec3968a7ed69000b349113d
[ "MIT" ]
null
null
null
src/pkg_exe/pkg_exe_service.cpp
naughtybikergames/pkg
9a78380c6cf82c95dec3968a7ed69000b349113d
[ "MIT" ]
null
null
null
src/pkg_exe/pkg_exe_service.cpp
naughtybikergames/pkg
9a78380c6cf82c95dec3968a7ed69000b349113d
[ "MIT" ]
null
null
null
#include <pkg/exe/pkg_exe_service.hpp> #include <pkg/exe/iscc.hpp> #include <pkg/exe/help.hpp> #include <pkg/exe/temp.hpp> #include <pkg/utils.hpp> #include <boost/algorithm/string/replace.hpp> #include <map> #include <iostream> using namespace std; using namespace pkg::exe; pkg_exe_service::pkg_exe_service(const...
24.036364
94
0.630106
naughtybikergames
757ba4b1ba66acf6abd3e09aae9f73d82e55103d
637
cpp
C++
Sniper.cpp
snir1551/Ex8_C-
f226d73c18ef8011b90ee46048494a82c05f198a
[ "MIT" ]
1
2021-05-31T13:11:02.000Z
2021-05-31T13:11:02.000Z
Sniper.cpp
snir1551/Ex8_C-
f226d73c18ef8011b90ee46048494a82c05f198a
[ "MIT" ]
null
null
null
Sniper.cpp
snir1551/Ex8_C-
f226d73c18ef8011b90ee46048494a82c05f198a
[ "MIT" ]
null
null
null
#include "Sniper.hpp" #include "Board.hpp" namespace WarGame { Sniper::Sniper(int numPlayer): Soldier(numPlayer,100,50) { } Sniper::Sniper(int numPlayer, int health, int damage): Soldier(numPlayer,health,damage) { } int Sniper::maxHealth() const { return 100; ...
19.30303
91
0.583987
snir1551
757bdb569ae20630278ce6e737d4c38ec50d5560
9,906
cc
C++
examples/fontscan.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
7
2021-07-28T19:03:08.000Z
2022-02-02T23:17:11.000Z
examples/fontscan.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
2
2021-06-15T22:34:44.000Z
2021-11-10T04:27:21.000Z
examples/fontscan.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdint> #include <cstdlib> #include <cstring> #include <climits> #include <cstdlib> #include <climits> #include <cctype> #include <map> #include <vector> #include <memory> #include <string> #include <algorithm> #include <atomic> #include <mutex> #include <ft2build.h> #include FT_FREETYPE_...
27.289256
97
0.564304
michaeljclark
757d05b94d787a75b21658024e4689120f2500d8
713
hpp
C++
source/rectangle.hpp
SVincent/programmiersprachen-aufgabenblatt-3.
4eeeec3973999e0bf57c81e7ae681930e259aa6b
[ "MIT" ]
null
null
null
source/rectangle.hpp
SVincent/programmiersprachen-aufgabenblatt-3.
4eeeec3973999e0bf57c81e7ae681930e259aa6b
[ "MIT" ]
null
null
null
source/rectangle.hpp
SVincent/programmiersprachen-aufgabenblatt-3.
4eeeec3973999e0bf57c81e7ae681930e259aa6b
[ "MIT" ]
null
null
null
#ifndef RECTANGLE_HPP #define RECTANGLE_HPP #include "vec2.hpp" #include "color.hpp" #include "window.hpp" class Rectangle { public: Rectangle(); Rectangle(Vec2 const& vec1, Vec2 const& vec2); Rectangle(Vec2 const& vec1, Vec2 const& vec2, Color const& col); // getter Vec2 getMax() const; Vec2 getMin() const...
19.805556
68
0.687237
SVincent
757de7f894579fe556a75aca8069431c8e9df4f6
855
hpp
C++
50_su2mesh/inc/SU2meshparser.hpp
nishiys/CFDbasics
638372956e31f8392f20b0d2027762cc4f9ef10b
[ "MIT" ]
1
2020-06-19T10:17:17.000Z
2020-06-19T10:17:17.000Z
50_su2mesh/inc/SU2meshparser.hpp
nishiys/CFDbasics
638372956e31f8392f20b0d2027762cc4f9ef10b
[ "MIT" ]
null
null
null
50_su2mesh/inc/SU2meshparser.hpp
nishiys/CFDbasics
638372956e31f8392f20b0d2027762cc4f9ef10b
[ "MIT" ]
1
2020-06-19T10:22:36.000Z
2020-06-19T10:22:36.000Z
#pragma once #include <string> #include <vector> #include "CellQuad4.hpp" #include "Face2d.hpp" #include "Node2d.hpp" namespace su2mesh { class SU2meshparser { public: SU2meshparser(std::string meshfilename); ~SU2meshparser(); void LoadData(); void WriteVtkFile(std::string vtkfilename); private: ...
19.431818
58
0.687719
nishiys
757fdcd03e7aa69d58068e1e383dcbaf0140708b
4,549
cpp
C++
init/init_xt897.cpp
chakaponden/android_device_motorola_xt897-lineage
d85dca38801ea4a4309411d1f17434124403169e
[ "FTL" ]
null
null
null
init/init_xt897.cpp
chakaponden/android_device_motorola_xt897-lineage
d85dca38801ea4a4309411d1f17434124403169e
[ "FTL" ]
null
null
null
init/init_xt897.cpp
chakaponden/android_device_motorola_xt897-lineage
d85dca38801ea4a4309411d1f17434124403169e
[ "FTL" ]
null
null
null
/* Copyright (c) 2013, The Linux Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of co...
47.884211
153
0.697516
chakaponden
7582140c15c0c274c42fdd5cf142baf443e87a21
11,685
cpp
C++
openreil/libasmir/src/stmt.cpp
aeveris/openreil-sys
47a89248dfdfba88c4040cff77fc3efcde6f80e9
[ "MIT" ]
3
2017-06-27T22:33:16.000Z
2017-06-28T23:11:44.000Z
openreil/libasmir/src/stmt.cpp
aeveris/openreil-sys
47a89248dfdfba88c4040cff77fc3efcde6f80e9
[ "MIT" ]
null
null
null
openreil/libasmir/src/stmt.cpp
aeveris/openreil-sys
47a89248dfdfba88c4040cff77fc3efcde6f80e9
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <fstream> #include <stdlib.h> #include <string.h> #include <assert.h> using namespace std; #include "stmt.h" Stmt *Stmt::clone(Stmt *s) { return s->clone(); } void Stmt::destroy(Stmt *s) { Move *move = NULL; Jmp *jmp = NULL; CJmp *cjmp = NULL; ExpSt...
19.638655
113
0.543004
aeveris
7582297e43ee942e00e602f4e8cb642d4a4bdcf6
407
cpp
C++
Wonderland/Wonderland/Old Files/Source/Engine/Common/Containers/List/TLinkedList.cpp
RodrigoHolztrattner/Wonderland
ffb71d47c1725e7cd537e2d1380962b5dfdc3d75
[ "MIT" ]
3
2018-04-09T13:01:07.000Z
2021-03-18T12:28:48.000Z
Wonderland/Wonderland/Old Files/Source/Engine/Common/Containers/List/TLinkedList.cpp
RodrigoHolztrattner/Wonderland
ffb71d47c1725e7cd537e2d1380962b5dfdc3d75
[ "MIT" ]
null
null
null
Wonderland/Wonderland/Old Files/Source/Engine/Common/Containers/List/TLinkedList.cpp
RodrigoHolztrattner/Wonderland
ffb71d47c1725e7cd537e2d1380962b5dfdc3d75
[ "MIT" ]
1
2021-03-18T12:28:50.000Z
2021-03-18T12:28:50.000Z
/////////////////////////////////////////////////////////////////////////////// // Filename: TLinkedList.cpp /////////////////////////////////////////////////////////////////////////////// #include "TLinkedList.h" /* TLinkedList::TLinkedList() { } TLinkedList::TLinkedList(const TLinkedList& other) { } TLinkedList::...
15.074074
79
0.425061
RodrigoHolztrattner
7586ba4cb3cf416d70a14bae06b2dc545a587962
491
cpp
C++
src/Arduino/ADXL345/example_basics.cpp
smurilogs/EmbeddedSystems-ATmega328P-ArduinoPlatform-InterfacingLibraries
30795f46112ab5b56a8244b198f0193afb8755ba
[ "MIT" ]
null
null
null
src/Arduino/ADXL345/example_basics.cpp
smurilogs/EmbeddedSystems-ATmega328P-ArduinoPlatform-InterfacingLibraries
30795f46112ab5b56a8244b198f0193afb8755ba
[ "MIT" ]
null
null
null
src/Arduino/ADXL345/example_basics.cpp
smurilogs/EmbeddedSystems-ATmega328P-ArduinoPlatform-InterfacingLibraries
30795f46112ab5b56a8244b198f0193afb8755ba
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <stdint.h> #include <Math.h> #include "ADXL345.h" ADXL345 accel; void setup() { Serial.begin(9600); Wire.begin(); accel.begin(); delay(1500); } void loop() { float x = (int16_t) accel.getXAccel()* 0.00390625; Serial.println(x); float y = (int16_t) acc...
15.83871
54
0.608961
smurilogs
758f6d7f32b13e08da3d2976b778a0f019bbf483
294
cpp
C++
app/src/main/cpp/native-lib.cpp
brayskiy/android-example
330e6e4e8d0f3f5037694f82fef7182a5dc251dd
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/native-lib.cpp
brayskiy/android-example
330e6e4e8d0f3f5037694f82fef7182a5dc251dd
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/native-lib.cpp
brayskiy/android-example
330e6e4e8d0f3f5037694f82fef7182a5dc251dd
[ "Apache-2.0" ]
null
null
null
#include <jni.h> #include <string> /** * Created by brayskiy on 01/31/19. */ extern "C" JNIEXPORT jstring JNICALL Java_com_brayskiy_example_NativeBridge_stringFromJNI(JNIEnv *env, jobject /* this */) { std::string hello = "Boris Example"; return env->NewStringUTF(hello.c_str()); }
22.615385
87
0.707483
brayskiy
75903e1d779e41bb474b8e1e222ec93febd70090
1,980
cpp
C++
GetMedian.cpp
Kwongrf/JianZhi
04c1135788cbc2cca472bb8ed79170003392f8ad
[ "Apache-2.0" ]
null
null
null
GetMedian.cpp
Kwongrf/JianZhi
04c1135788cbc2cca472bb8ed79170003392f8ad
[ "Apache-2.0" ]
null
null
null
GetMedian.cpp
Kwongrf/JianZhi
04c1135788cbc2cca472bb8ed79170003392f8ad
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<queue> #include<stack> using namespace std; class Solution { public: priority_queue<int,vector<int>,greater<int> >Q; void Insert(int num) { Q.push(num); } double GetMedian() { stack<int>s; int size; if(Q.size()%2 == 0) { ...
18.679245
51
0.40101
Kwongrf
7595c473c83949b920e976fe7882de7871505b6a
7,715
cpp
C++
test/cpp/exceptions.cpp
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
77
2015-01-30T15:45:43.000Z
2022-03-03T02:29:37.000Z
test/cpp/exceptions.cpp
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
37
2015-01-18T21:04:36.000Z
2021-07-09T08:24:54.000Z
test/cpp/exceptions.cpp
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
29
2015-02-17T14:37:18.000Z
2021-11-16T07:46:26.000Z
// // Copyright (c) 2011, Willow Garage, Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright // notice, this list...
24.967638
146
0.623331
fujiehuang
759700e8171ec4a0b2c3899cc3ccdea6d83aa383
462
cpp
C++
18-STL/03-Using_STL.cpp
PronomitaDey/Cpp_Tutorial
a64a10a27d018bf9edf5280505201a1fbfd359ed
[ "MIT" ]
null
null
null
18-STL/03-Using_STL.cpp
PronomitaDey/Cpp_Tutorial
a64a10a27d018bf9edf5280505201a1fbfd359ed
[ "MIT" ]
1
2021-10-01T13:35:44.000Z
2021-10-02T03:54:29.000Z
18-STL/03-Using_STL.cpp
PronomitaDey/Cpp_Tutorial
a64a10a27d018bf9edf5280505201a1fbfd359ed
[ "MIT" ]
3
2021-10-01T14:07:09.000Z
2021-10-01T18:24:31.000Z
#include <vector> #include <list> #include <iostream> using namespace std; int main() { // Creating a Vector vector<int> v = {10, 20, 40}; v.push_back(25); v.push_back(55); v.pop_back(); // To create an iterator vector<int>::iterator itr = v.begin(); for (itr = v.begin(); itr != v.end...
16.5
48
0.484848
PronomitaDey
759e21d1f0182578dd7f01be8e13627a7295980b
100
cpp
C++
src/Plugins/U4_AdminCommands/Source/U4_AdminCommands/Private/U4_AdminCommand_Sunset.cpp
CyberAndrii/unturned4-mod-example
05595a0e5411b18ac6b8b06bbf8e2797f95defaa
[ "MIT" ]
6
2022-03-20T01:34:32.000Z
2022-03-28T19:32:53.000Z
src/Plugins/U4_AdminCommands/Source/U4_AdminCommands/Private/U4_AdminCommand_Sunset.cpp
CyberAndrii/unturned4-mod-example
05595a0e5411b18ac6b8b06bbf8e2797f95defaa
[ "MIT" ]
null
null
null
src/Plugins/U4_AdminCommands/Source/U4_AdminCommands/Private/U4_AdminCommand_Sunset.cpp
CyberAndrii/unturned4-mod-example
05595a0e5411b18ac6b8b06bbf8e2797f95defaa
[ "MIT" ]
null
null
null
// Copyright Smartly Dressed Games Ltd. All Rights Reserved. #include "U4_AdminCommand_Sunset.h"
16.666667
60
0.78
CyberAndrii
75a3e45d268250dc4c29690f7603562f056bea3d
6,455
cpp
C++
src/LLAPI/Math/Vector3.cpp
bluespeck/OakVR
65d56942af390dc2ab2d969b44285d23bd53f139
[ "MIT" ]
null
null
null
src/LLAPI/Math/Vector3.cpp
bluespeck/OakVR
65d56942af390dc2ab2d969b44285d23bd53f139
[ "MIT" ]
null
null
null
src/LLAPI/Math/Vector3.cpp
bluespeck/OakVR
65d56942af390dc2ab2d969b44285d23bd53f139
[ "MIT" ]
null
null
null
#include <cmath> #include "Vector3.h" #include "Vector4.h" #include "Matrix.h" namespace oakvr { namespace math { // -------------------------------------------------------------------------------- Vector3::Vector3(BaseType x, BaseType y, BaseType z) noexcept : x(x), y(y), z(z) { } Vector3::Vector3(con...
30.163551
87
0.410225
bluespeck
75a3f78aae1ebf4bad6c984235a3a46d637404ee
1,946
cpp
C++
battleship/PlayState.cpp
YourRoyalLinus/Battleship
b7cbad63a44ce896d678ff66521d00d4835274c7
[ "MIT" ]
null
null
null
battleship/PlayState.cpp
YourRoyalLinus/Battleship
b7cbad63a44ce896d678ff66521d00d4835274c7
[ "MIT" ]
null
null
null
battleship/PlayState.cpp
YourRoyalLinus/Battleship
b7cbad63a44ce896d678ff66521d00d4835274c7
[ "MIT" ]
null
null
null
#include "PlayState.h" #include "Game.h" #include "Marker.h" PlayState::PlayState(Game& game) : GameState(game) { game.player->board->addObserver(&game); } void PlayState::render() { game.renderRadarPings(); //update uniforms if (game.activePlayer == game.player) { ResourceManager::getShader("radar2").use().set...
31.901639
128
0.720966
YourRoyalLinus
b5a4f06b8dc249bcc64b0fe586600ccf5c8393c0
2,609
cpp
C++
samples/std-remove-if/std-remove-if.cpp
Studiofreya/code-samples
4057c5204d7d37c29ded306861ef6eaded7527e5
[ "MIT" ]
17
2015-08-13T05:30:48.000Z
2022-03-16T16:03:28.000Z
samples/std-remove-if/std-remove-if.cpp
Studiofreya/code-samples
4057c5204d7d37c29ded306861ef6eaded7527e5
[ "MIT" ]
null
null
null
samples/std-remove-if/std-remove-if.cpp
Studiofreya/code-samples
4057c5204d7d37c29ded306861ef6eaded7527e5
[ "MIT" ]
18
2015-02-22T16:36:54.000Z
2022-02-07T00:04:39.000Z
#include <vector> #include <list> #include <string> #include <algorithm> #include <iterator> #include <iostream> template<typename T> void printVector(const T & v) { std::copy(v.cbegin(), v.cend(), std::ostream_iterator<int>(std::cout, " ")); std::cout << "\n"; } int main() { { // Vector with numbers, initiali...
20.382813
87
0.643542
Studiofreya
b5a6756ac95c7f7af30a235d76eef0fe9278fc0c
3,129
cpp
C++
LargeCarCO.cpp
IRLSCU/QtController
597d6153f641073c367724fcccc9fe5e68cb2c18
[ "Apache-2.0" ]
null
null
null
LargeCarCO.cpp
IRLSCU/QtController
597d6153f641073c367724fcccc9fe5e68cb2c18
[ "Apache-2.0" ]
null
null
null
LargeCarCO.cpp
IRLSCU/QtController
597d6153f641073c367724fcccc9fe5e68cb2c18
[ "Apache-2.0" ]
null
null
null
#include "LargeCarCO.h" LargeCarCO::LargeCarCO() {} LargeCarCO::~LargeCarCO(){} LargeCarCO& LargeCarCO::setTurnRange(qint16 turnRange) {//0~15位,第0、1个字节 // if (turnRange > LARGECARCO_MAX_TURN_RANGE) { // turnRange = LARGECARCO_MAX_TURN_RANGE; // } // else if (turnRange < LARGECARCO_MIN_TURN_RANGE) { /...
27.447368
113
0.628316
IRLSCU
b5a6eeec7f14c117b98107898c5773542a18e012
1,602
cpp
C++
src/autoCL.cpp
jeschwarz0/JobHelper
6e86270717e053e7798b06726b0a076d20894c62
[ "MIT" ]
null
null
null
src/autoCL.cpp
jeschwarz0/JobHelper
6e86270717e053e7798b06726b0a076d20894c62
[ "MIT" ]
null
null
null
src/autoCL.cpp
jeschwarz0/JobHelper
6e86270717e053e7798b06726b0a076d20894c62
[ "MIT" ]
null
null
null
/* * File: autoCL.cpp * Author: Jesse Schwarz * * Created on January 15, 2018, 7:22 PM */ #include <stdio.h> #include <iostream> #include <string> #include <stdlib.h> #include "autoCL.h" using namespace std; namespace autoCL { cltype manualGetType(cltype rec) { cout << "What type would you like:...
31.411765
105
0.535581
jeschwarz0
b5a824768873235c4384d56b669ab26f2eafc9e5
2,494
cpp
C++
console/src/boost_1_78_0/libs/bind/test/apply_rv_test2.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
106
2015-08-07T04:23:50.000Z
2020-12-27T18:25:15.000Z
console/src/boost_1_78_0/libs/bind/test/apply_rv_test2.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
130
2016-06-22T22:11:25.000Z
2020-11-29T20:24:09.000Z
Libs/boost_1_76_0/libs/bind/test/apply_rv_test2.cpp
Antd23rus/S2DE
47cc7151c2934cd8f0399a9856c1e54894571553
[ "MIT" ]
41
2015-07-08T19:18:35.000Z
2021-01-14T16:39:56.000Z
// Copyright 2021 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include<boost/bind/apply.hpp> #include<boost/bind/bind.hpp> #include <boost/core/lightweight_test.hpp> #include <boost/config.hpp> #include <boost/config/pragma_message.hpp> #if define...
26.817204
165
0.670409
vany152
b5a9b5fe2ec358ffd88a72c58e05529f9c85ee6e
3,706
cpp
C++
PostView2/AreaCoverageTool.cpp
febiosoftware/PostView
45c60aec1ae8832d0e6f6410e774aeaded2037c0
[ "MIT" ]
9
2020-03-22T08:27:03.000Z
2021-09-24T10:02:37.000Z
PostView2/AreaCoverageTool.cpp
febiosoftware/PostView
45c60aec1ae8832d0e6f6410e774aeaded2037c0
[ "MIT" ]
1
2021-03-02T06:45:59.000Z
2021-03-02T06:45:59.000Z
PostView2/AreaCoverageTool.cpp
febiosoftware/PostView
45c60aec1ae8832d0e6f6410e774aeaded2037c0
[ "MIT" ]
2
2020-06-27T13:59:49.000Z
2021-09-08T16:39:39.000Z
/*This file is part of the PostView source code and is licensed under the MIT license listed below. See Copyright-PostView.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obta...
28.075758
92
0.712628
febiosoftware
b5ab6f6812fe48806537cf6080b72c65ca2dcf1c
2,304
cpp
C++
src/vec3.cpp
francisrstokes/WaveStrider
854095c6fec04dfcafabc8bcbf65745fa62f4880
[ "MIT" ]
1
2021-05-30T16:21:11.000Z
2021-05-30T16:21:11.000Z
src/vec3.cpp
francisrstokes/cpp-raymarcher
854095c6fec04dfcafabc8bcbf65745fa62f4880
[ "MIT" ]
null
null
null
src/vec3.cpp
francisrstokes/cpp-raymarcher
854095c6fec04dfcafabc8bcbf65745fa62f4880
[ "MIT" ]
null
null
null
#include "vec3.hpp" #include <math.h> namespace WaveStrider { vec3::vec3(double X, double Y, double Z) : x{ X }, y{ Y }, z{ Z } {}; vec3::vec3(double n) : x{ n }, y{ n }, z{ n } {}; vec3::vec3() : x{ 0 }, y{ 0 }, z{ 0 } {}; vec3::vec3(const vec3 &v) : x{ v.x }, y{ v.y }, z{ v.z } {}; double vec3::length() { return...
18.141732
69
0.486979
francisrstokes
b5abbb93815cdfa4e547b0261b130fec9c308955
1,747
hpp
C++
include/kiview_app.hpp
magicmoremagic/bengine-kiview
c96092c1f90d729069676b31d2b1c079fddb7053
[ "MIT" ]
null
null
null
include/kiview_app.hpp
magicmoremagic/bengine-kiview
c96092c1f90d729069676b31d2b1c079fddb7053
[ "MIT" ]
null
null
null
include/kiview_app.hpp
magicmoremagic/bengine-kiview
c96092c1f90d729069676b31d2b1c079fddb7053
[ "MIT" ]
null
null
null
#pragma once #ifndef KIVIEW_APP_HPP_ #define KIVIEW_APP_HPP_ #include "node.hpp" #include <be/core/lifecycle.hpp> #include <be/core/extents.hpp> #include <be/util/string_interner.hpp> #include <be/platform/lifecycle.hpp> #include <be/platform/glfw_window.hpp> #include <glm/vec2.hpp> #include <functional> #include <ra...
22.986842
79
0.660561
magicmoremagic
b5ae3051b8f8dbdf0bed97eedba7153afebcf8b4
6,726
cpp
C++
Source/Voxel/Private/VoxelTools/VoxelPaintMaterial.cpp
RobertBiehl/VoxelPlugin
49abc94261b3d93c9d8fe392a3731b6d09100941
[ "MIT" ]
null
null
null
Source/Voxel/Private/VoxelTools/VoxelPaintMaterial.cpp
RobertBiehl/VoxelPlugin
49abc94261b3d93c9d8fe392a3731b6d09100941
[ "MIT" ]
null
null
null
Source/Voxel/Private/VoxelTools/VoxelPaintMaterial.cpp
RobertBiehl/VoxelPlugin
49abc94261b3d93c9d8fe392a3731b6d09100941
[ "MIT" ]
null
null
null
// Copyright 2020 Phyronnaz #include "VoxelTools/VoxelPaintMaterial.h" #include "VoxelMathUtilities.h" FVoxelPaintMaterial FVoxelPaintMaterial::CreateRGB(FLinearColor Color, bool bPaintR, bool bPaintG, bool bPaintB, bool bPaintA) { FVoxelPaintMaterial Material; Material.Type = EVoxelPaintMaterialType::RGB; Materia...
30.572727
152
0.750223
RobertBiehl
b5af7516fe8f690e3e7b97c37ffedbd6badf574e
5,470
hpp
C++
framework/areg/base/private/BufferPosition.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
framework/areg/base/private/BufferPosition.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
framework/areg/base/private/BufferPosition.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
#pragma once /************************************************************************ * This file is part of the AREG SDK core engine. * AREG SDK is dual-licensed under Free open source (Apache version 2.0 * License) and Commercial (with various pricing models) licenses, depending * on the nature of the project (c...
43.76
137
0.488665
Ali-Nasrolahi
b5b10da1dcf70fa8b265a750f775f5bc1cf2657f
28,137
cxx
C++
private/inet/mshtml/src/site/encode/encode.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/inet/mshtml/src/site/encode/encode.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/inet/mshtml/src/site/encode/encode.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
//+------------------------------------------------------------------------ // // Microsoft Forms // Copyright (C) Microsoft Corporation, 1992 - 1995. // // File: encode.cxx // // Contents: Support for HTML character set encoding // //----------------------------------------------------------------...
27.666667
105
0.528095
King0987654
b5b24ff891964693ff566f14edf602774f2c59e6
7,221
cpp
C++
test/duplicate-detection/t_dupd.cpp
izenecloud/idmlib
ec6afd44490170a70ef980afa6d21fba8c77ed9d
[ "Apache-2.0" ]
1
2017-11-14T06:37:25.000Z
2017-11-14T06:37:25.000Z
test/duplicate-detection/t_dupd.cpp
izenecloud/idmlib
ec6afd44490170a70ef980afa6d21fba8c77ed9d
[ "Apache-2.0" ]
null
null
null
test/duplicate-detection/t_dupd.cpp
izenecloud/idmlib
ec6afd44490170a70ef980afa6d21fba8c77ed9d
[ "Apache-2.0" ]
4
2015-09-06T05:59:29.000Z
2020-01-17T06:11:24.000Z
/// @file t_UString.cpp /// @brief A test unit for checking if all interfaces is /// available to use. /// @author Do Hyun Yun /// @date 2008-07-11 /// /// /// @brief Test all the interfaces in UString class. /// /// @details /// /// ==================================== [ Test Schemes ] =============...
28.429134
195
0.632738
izenecloud
b5b71b190a4cef5b7f56354f9ea9add05abe2643
813
cpp
C++
acmicpcnet/1168.cpp
irresi/algostudy
489739d641d6e36bbedf86be6391d1db27456585
[ "MIT" ]
null
null
null
acmicpcnet/1168.cpp
irresi/algostudy
489739d641d6e36bbedf86be6391d1db27456585
[ "MIT" ]
null
null
null
acmicpcnet/1168.cpp
irresi/algostudy
489739d641d6e36bbedf86be6391d1db27456585
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> using namespace std; using namespace __gnu_pbds; #define nm (ns+ne)/2 using ll = long long; using pii = pair<int, int>; typedef tree<int, null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update> ordered_set; const int inf=1e9+3; #define all(x) ...
23.228571
97
0.589176
irresi
b5b9ffe328fa54177619eeac4e282d054e4f7b20
362
hpp
C++
CookieEngine/include/Core/Window.hpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/include/Core/Window.hpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/include/Core/Window.hpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
#ifndef __WINDOW_HPP__ #define __WINDOW_HPP__ #include <GLFW/glfw3.h> namespace Cookie { namespace Core { class Window { public: GLFWwindow* window = nullptr; int width = 0; int height = 0; private: void SetIcon(); public: /* CONSTRUCTORS/DESTRUCTORS */ Window(); ~Window(); ...
11.677419
34
0.61326
qbleuse
b5ba72ccdb8c6a52dbe567e85cbff678e63e1d4c
7,010
cpp
C++
OpenSim/Tools/Test/testVisualization.cpp
chrisdembia/opensim-debian
50c255ce850aab252f26ac73b67bd2b78dc65cfe
[ "Apache-2.0" ]
null
null
null
OpenSim/Tools/Test/testVisualization.cpp
chrisdembia/opensim-debian
50c255ce850aab252f26ac73b67bd2b78dc65cfe
[ "Apache-2.0" ]
null
null
null
OpenSim/Tools/Test/testVisualization.cpp
chrisdembia/opensim-debian
50c255ce850aab252f26ac73b67bd2b78dc65cfe
[ "Apache-2.0" ]
null
null
null
/* -------------------------------------------------------------------------- * * OpenSim: testVisualization.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation....
49.020979
145
0.609558
chrisdembia
b5c093af0b258796fb64c0c453a9611ed8458061
11,622
cpp
C++
Tools/PL3dsMaxSceneExport_2008/src/PLSceneLight.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Tools/PL3dsMaxSceneExport_2008/src/PLSceneLight.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Tools/PL3dsMaxSceneExport_2008/src/PLSceneLight.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: PLSceneLight.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
39.263514
211
0.635519
ktotheoz
b5c0d5f1fcc0a79e64cadcbcd1db641dca7fd043
3,462
cpp
C++
Engine/Source/Runtime/Engine/Private/OnlineReplStructs.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/Engine/Private/OnlineReplStructs.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/Engine/Private/OnlineReplStructs.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. /*============================================================================= OnlineReplStructs.cpp: Unreal networking serialization helpers =============================================================================*/ #include "EnginePrivate.h" #inclu...
25.644444
160
0.660312
PopCap
b5c1a04fa20d4b7706e77c28818aa6547039663b
3,568
cpp
C++
src/CRoiObjectDetection.cpp
CountrySideEngineer/ObjectDetection
4438dd42e913ba03c1e995a82bb34089aafe28e7
[ "MIT" ]
null
null
null
src/CRoiObjectDetection.cpp
CountrySideEngineer/ObjectDetection
4438dd42e913ba03c1e995a82bb34089aafe28e7
[ "MIT" ]
null
null
null
src/CRoiObjectDetection.cpp
CountrySideEngineer/ObjectDetection
4438dd42e913ba03c1e995a82bb34089aafe28e7
[ "MIT" ]
null
null
null
/* * CRoiObjectDetection.cpp * * Created on: 2018/06/15 * Author: orca2 */ #include <iostream> #include <vector> #include <unistd.h> #include <time.h> #include <sys/time.h> #include "CRoiObjectDetection.h" #include "opencv/cv.hpp" #include "opencv2/core.hpp" #include "opencv2/highgui.hpp" #include "opencv2/i...
27.446154
82
0.720572
CountrySideEngineer
b5c3c6eb98df16a20889b79a7145a4eb120bac3c
1,739
cpp
C++
Greedy/number-of-orders-in-the-backlog.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Medium/number-of-orders-in-the-backlog.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Medium/number-of-orders-in-the-backlog.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: int getNumberOfBacklogOrders(vector<vector<int>>& orders) { int count=0; map<int,int,greater<int>> buy; map<int,int> sell; for(int i=0;i<orders.size();i++) { if(orders[i][2]) //sell { while(orders[i][1]>0&&...
32.811321
86
0.346751
PrakharPipersania
b5c72289b5d91a386f34a44289a4689873d000f1
2,520
cpp
C++
test/src/test_storage.cpp
steinwurf/storage
80b445cdd56b6a228c6d6ab294dfad5af30a7694
[ "BSD-3-Clause" ]
2
2017-12-09T20:36:05.000Z
2021-02-09T12:37:52.000Z
test/src/test_storage.cpp
steinwurf/storage
80b445cdd56b6a228c6d6ab294dfad5af30a7694
[ "BSD-3-Clause" ]
2
2016-05-23T12:28:29.000Z
2018-01-03T13:08:03.000Z
test/src/test_storage.cpp
steinwurf/storage
80b445cdd56b6a228c6d6ab294dfad5af30a7694
[ "BSD-3-Clause" ]
1
2017-12-09T20:35:20.000Z
2017-12-09T20:35:20.000Z
// Copyright (c) Steinwurf ApS 2016. // All Rights Reserved // // Distributed under the "BSD License". See the accompanying LICENSE.rst file. #include <storage/storage.hpp> #include <storage/cast.hpp> #include <cstdint> #include <vector> #include <iterator> #include <gtest/gtest.h> template<class PodType> static vo...
30.361446
79
0.714683
steinwurf