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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
74db8bc40a132f317512b5305d8ad5d8edeba284 | 2,616 | cpp | C++ | Melone/Src/Melone/Renderer/BufferObj.cpp | Nightskies/Melone | eb735a97fa1416c1feffecaefb479d30ce6e21e2 | [
"MIT"
] | null | null | null | Melone/Src/Melone/Renderer/BufferObj.cpp | Nightskies/Melone | eb735a97fa1416c1feffecaefb479d30ce6e21e2 | [
"MIT"
] | null | null | null | Melone/Src/Melone/Renderer/BufferObj.cpp | Nightskies/Melone | eb735a97fa1416c1feffecaefb479d30ce6e21e2 | [
"MIT"
] | null | null | null | #include "mlpch.h"
#include "BufferObj.h"
#include "Renderer.h"
#include "Platform/OpenGL/OpenGLBufferObj.h"
namespace Melone
{
VBOElement::VBOElement(ShaderDataType elType, std::string elName, bool elNormalized)
:
type(elType),
name(std::move(elName)),
size(ShaderDataTypeSize(elType)),
normalized(elNorma... | 21.8 | 85 | 0.689985 | Nightskies |
74ddd42c331ae4ae26f5b34afaba95046ccbfe55 | 4,899 | cc | C++ | chrome/browser/ui/gtk/download/download_item_drag.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | chrome/browser/ui/gtk/download/download_item_drag.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | chrome/browser/ui/gtk/download/download_item_drag.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright 2013 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/browser/ui/gtk/download/download_item_drag.h"
#include "base/files/file_path.h"
#include "base/strings/utf_string_conversions.h"
#includ... | 36.834586 | 80 | 0.636252 | nagineni |
74e3b25f2b47de23ec1355fc2c6b5dafdd6baaa1 | 1,070 | cpp | C++ | docs/assets/examples/try.cpp | IohannRabeson/lexy | 881beb56f030e8f4761514e70cb50d809ac4ad17 | [
"BSL-1.0"
] | null | null | null | docs/assets/examples/try.cpp | IohannRabeson/lexy | 881beb56f030e8f4761514e70cb50d809ac4ad17 | [
"BSL-1.0"
] | null | null | null | docs/assets/examples/try.cpp | IohannRabeson/lexy | 881beb56f030e8f4761514e70cb50d809ac4ad17 | [
"BSL-1.0"
] | null | null | null | #include <optional>
#include <lexy/callback.hpp>
#include <lexy/dsl.hpp>
#include <lexy/input/string_input.hpp>
#include <lexy/parse.hpp>
#include <lexy_ext/cfile.hpp>
#include <lexy_ext/report_error.hpp>
namespace dsl = lexy::dsl;
//{
struct version
{
std::optional<int> major, minor, patch;
};
struct productio... | 24.318182 | 81 | 0.629907 | IohannRabeson |
74e47a7337eb25b058a9e4d072d7e4445832140e | 3,868 | cpp | C++ | libs/GameUI/controllers/NineSlicer.cpp | max-delta/retrofit-public | 5447fd6399fd74ffbb75494c103940751000db12 | [
"X11"
] | 3 | 2019-10-27T22:32:44.000Z | 2020-05-21T04:00:46.000Z | libs/GameUI/controllers/NineSlicer.cpp | max-delta/retrofit-public | 5447fd6399fd74ffbb75494c103940751000db12 | [
"X11"
] | null | null | null | libs/GameUI/controllers/NineSlicer.cpp | max-delta/retrofit-public | 5447fd6399fd74ffbb75494c103940751000db12 | [
"X11"
] | null | null | null | #include "stdafx.h"
#include "NineSlicer.h"
#include "GameUI/ContainerManager.h"
#include "GameUI/Container.h"
#include "GameUI/UIContext.h"
#include "RFType/CreateClassInfoDefinition.h"
#include "core_math/Lerp.h"
RFTYPE_CREATE_META( RF::ui::controller::NineSlicer )
{
RFTYPE_META().BaseClass<RF::ui::controller::... | 23.301205 | 115 | 0.65486 | max-delta |
74e4b1a8bf02b4a4a9d3056df3816ee1be31bef0 | 4,952 | cpp | C++ | source/rfid/source/rfid.cpp | hyphaproject/hyphaplugins | b41b396392c5546e3c2802bfc34213c5da04fdf4 | [
"MIT"
] | null | null | null | source/rfid/source/rfid.cpp | hyphaproject/hyphaplugins | b41b396392c5546e3c2802bfc34213c5da04fdf4 | [
"MIT"
] | 1 | 2017-02-18T10:51:07.000Z | 2017-02-18T10:51:07.000Z | source/rfid/source/rfid.cpp | hyphaproject/hyphaplugins | b41b396392c5546e3c2802bfc34213c5da04fdf4 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2016 Hypha
#include "hyphaplugins/rfid/rfid.h"
#include <errno.h>
#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <termios.h>
#include <unistd.h>
#include <Poco/ClassLibrary.h>
#include <QtCore/QJsonArray>
#includ... | 27.977401 | 77 | 0.624394 | hyphaproject |
74e516de859434b99d93ddcf03e82c71281ded97 | 504 | hh | C++ | Option/SquareDance/squaredance.hh | drewnoakes/bold-humanoid | 6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335 | [
"Apache-2.0"
] | null | null | null | Option/SquareDance/squaredance.hh | drewnoakes/bold-humanoid | 6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335 | [
"Apache-2.0"
] | null | null | null | Option/SquareDance/squaredance.hh | drewnoakes/bold-humanoid | 6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "../option.hh"
#include "../OdoWalkTo/odowalkto.hh"
#include "../../MotionModule/WalkModule/walkmodule.hh"
namespace bold
{
class SquareDance : public Option
{
public:
SquareDance(std::string const& id, std::shared_ptr<WalkModule> walkModule);
OptionVector runPolicy() override;
... | 16.258065 | 79 | 0.636905 | drewnoakes |
74e6f87843e903caabf0b62cb8af5d5cd1fea570 | 1,829 | hpp | C++ | libs/fnd/compare/include/bksge/fnd/compare/compare_three_way.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/compare/include/bksge/fnd/compare/compare_three_way.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/compare/include/bksge/fnd/compare/compare_three_way.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file compare_three_way.hpp
*
* @brief compare_three_way の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_COMPARE_COMPARE_THREE_WAY_HPP
#define BKSGE_FND_COMPARE_COMPARE_THREE_WAY_HPP
#include <bksge/fnd/compare/config.hpp>
#if defined(BKSGE_HAS_STD_COMPARE) && defined(BKSGE_HAS_CXX20_THREE_WA... | 23.753247 | 90 | 0.708037 | myoukaku |
d55df69f1911e31ef3e8cd409cb73c42ebd35b99 | 1,288 | hpp | C++ | lib/arbimath/bigint/VectorUtil.hpp | waegemans/arbimath | d3408b6b75762bdb276b8d9cec6de54ebae913d0 | [
"MIT"
] | null | null | null | lib/arbimath/bigint/VectorUtil.hpp | waegemans/arbimath | d3408b6b75762bdb276b8d9cec6de54ebae913d0 | [
"MIT"
] | null | null | null | lib/arbimath/bigint/VectorUtil.hpp | waegemans/arbimath | d3408b6b75762bdb276b8d9cec6de54ebae913d0 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <string_view>
#include <vector>
namespace arbimath::vector_util {
/// add two vectors with given signs together and return resulting sign and magnitude
std::pair<bool, std::vector<uint64_t>> add(bool lhs_sign, const std::vector<uint64_t>& lhs, bool rhs_sign, const std::vector<... | 49.538462 | 141 | 0.763199 | waegemans |
d56022d6b0104b3fc55d7884289eb77b00de5581 | 10,572 | cpp | C++ | src/my_renderer.cpp | ldm0/my_soft_renderer | 25935e3e2ae1d8f0e7411ecc4b1abe6a60bd4497 | [
"WTFPL"
] | null | null | null | src/my_renderer.cpp | ldm0/my_soft_renderer | 25935e3e2ae1d8f0e7411ecc4b1abe6a60bd4497 | [
"WTFPL"
] | null | null | null | src/my_renderer.cpp | ldm0/my_soft_renderer | 25935e3e2ae1d8f0e7411ecc4b1abe6a60bd4497 | [
"WTFPL"
] | null | null | null | #include"my_renderer.h"
#include"my_graphic.h"
#include"my_obj_loader/my_obj_loader.h"
#include"SCG/scg.h"
#include<Windows.h>
#include<tchar.h>
#include<math.h>
Renderer::Renderer()
:draw_mode(DRAW_MESH),
yaw_pitch_roll({0}),
camera_position({0}),
back_buffer(0),
z_buffer(0),
v_buffer(0),
... | 31.094118 | 128 | 0.507283 | ldm0 |
d563264bda1fff474227fb01bd6d7c5b06b1045c | 12,379 | cc | C++ | content/renderer/accessibility/ax_image_stopwords.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/accessibility/ax_image_stopwords.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/accessibility/ax_image_stopwords.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2020 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 <vector>
#include "base/containers/flat_set.h"
#include "base/i18n/case_conversion.h"
#include "base/i18n/char_iterator.h"
#include "base/no_des... | 21.491319 | 80 | 0.535019 | mghgroup |
d56516faccc981829754f0ca17328d8b7da8aeb1 | 874 | cpp | C++ | proCpp/main.cpp | varpeti/Suli | f0309306ed65454f70fbd67c8084aa2c2e085296 | [
"Unlicense"
] | 1 | 2020-10-21T09:54:22.000Z | 2020-10-21T09:54:22.000Z | proCpp/main.cpp | varpeti/Suli2 | 6cd0c98e5d725846116aa29936314e113ae7923e | [
"Unlicense"
] | null | null | null | proCpp/main.cpp | varpeti/Suli2 | 6cd0c98e5d725846116aa29936314e113ae7923e | [
"Unlicense"
] | null | null | null | #include <iostream>
struct A
{
};
struct B1
{
int a1;
int a2;
};
struct B2
{
char a1;
char a2;
};
struct B3
{
int a1;
char a2;
};
struct B4
{
char a1;
int a2;
};
struct CSI
{
char c;
short s;
int i;
};
struct CIS
{
char c;
int i;
short s;
};
//DIAMOND
st... | 10.045977 | 38 | 0.467963 | varpeti |
d566ad3414da5e2734bc6bdbdcba704762d21ec0 | 7,269 | hpp | C++ | deps/boost/include/boost/gil/extension/numeric/pixel_numeric_operations.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 80 | 2021-09-07T12:44:32.000Z | 2022-03-29T01:22:19.000Z | deps/boost/include/boost/gil/extension/numeric/pixel_numeric_operations.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 2 | 2021-12-23T02:49:42.000Z | 2022-02-15T05:28:24.000Z | deps/boost/include/boost/gil/extension/numeric/pixel_numeric_operations.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 25 | 2021-09-14T06:24:25.000Z | 2022-03-20T06:55:07.000Z | //
// Copyright 2005-2007 Adobe Systems Incorporated
//
// 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 BOOST_GIL_EXTENSION_NUMERIC_PIXEL_NUMERIC_OPERATIONS_HPP
#define BOOST_GIL_EXTENSION_NUMERIC... | 33.344037 | 87 | 0.6591 | kindlychung |
d56700b5b805739edea709fd4eda59ecbd9decce | 259 | cpp | C++ | src/08_evaluation_step1.cpp | pbouamriou/tuto_mpl | 6c159662d50277f5bb4eda3038b394fb99501e3c | [
"MIT"
] | null | null | null | src/08_evaluation_step1.cpp | pbouamriou/tuto_mpl | 6c159662d50277f5bb4eda3038b394fb99501e3c | [
"MIT"
] | null | null | null | src/08_evaluation_step1.cpp | pbouamriou/tuto_mpl | 6c159662d50277f5bb4eda3038b394fb99501e3c | [
"MIT"
] | null | null | null | #include <iostream>
class X;
#if (__cplusplus < 201103L)
template<typename T>
struct Ptr {
typedef T* type;
};
#else
template<typename T>
struct Ptr {
using type = T*;
};
#endif
int main() {
std::cout << sizeof(Ptr<X>::type) << std::endl;
} | 11.26087 | 51 | 0.6139 | pbouamriou |
d567478d935bd4ceca756a92aa3b9b6980ab0f96 | 3,425 | cpp | C++ | functorch/csrc/BatchRulesPooling.cpp | laurencer/functorch | 1bc4093b09f7a69606ff3fd2e6c76ffd55d4ac13 | [
"BSD-3-Clause"
] | null | null | null | functorch/csrc/BatchRulesPooling.cpp | laurencer/functorch | 1bc4093b09f7a69606ff3fd2e6c76ffd55d4ac13 | [
"BSD-3-Clause"
] | null | null | null | functorch/csrc/BatchRulesPooling.cpp | laurencer/functorch | 1bc4093b09f7a69606ff3fd2e6c76ffd55d4ac13 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <functorch/csrc/BatchRulesHelper.h>
#include <functorch/csrc/PlumbingHelper.h>
#include <functorch/... | 42.8125 | 227 | 0.769343 | laurencer |
d56a9fada4449e73cfde2571a9dc7d1d58539527 | 658 | cpp | C++ | sw4261.cpp | sjnov11/SW-expert-academy | b7040017f2f8ff037aee40a5024284aaad1e50f9 | [
"MIT"
] | 1 | 2022-02-21T09:11:15.000Z | 2022-02-21T09:11:15.000Z | sw4261.cpp | sjnov11/SW-expert-academy | b7040017f2f8ff037aee40a5024284aaad1e50f9 | [
"MIT"
] | null | null | null | sw4261.cpp | sjnov11/SW-expert-academy | b7040017f2f8ff037aee40a5024284aaad1e50f9 | [
"MIT"
] | 1 | 2019-07-03T10:12:55.000Z | 2019-07-03T10:12:55.000Z | #include <iostream>
#include <string>
#include <vector>
using namespace std;
char keypad[26] = { '2','2','2',
'3','3','3',
'4','4','4',
'5','5','5',
'6','6','6',
'7','7','7','7',
'8','8','8',
'9','9','9','9' };
int main() {
int T;
cin >> T;
for (int tc = 1; tc <= T; tc++) {
stri... | 18.277778 | 45 | 0.401216 | sjnov11 |
d56b89cdd5548e447982f8b8feee1ba5ffc681a2 | 750 | cpp | C++ | src/nasty.cpp | IlyaGusev/tgcontest | 8945b9f6d1527ca21920998e86a8ecc1ebfdf526 | [
"Apache-2.0"
] | 91 | 2020-01-05T11:46:12.000Z | 2022-03-28T04:50:12.000Z | src/nasty.cpp | IlyaGusev/tgcontest | 8945b9f6d1527ca21920998e86a8ecc1ebfdf526 | [
"Apache-2.0"
] | 1 | 2020-07-10T11:32:47.000Z | 2020-08-05T20:57:10.000Z | src/nasty.cpp | IlyaGusev/tgcontest | 8945b9f6d1527ca21920998e86a8ecc1ebfdf526 | [
"Apache-2.0"
] | 33 | 2020-01-14T17:37:14.000Z | 2022-03-12T15:28:01.000Z | #include "nasty.h"
bool ComputeDocumentNasty(const TDbDocument& document) {
if ((document.Language == tg::LN_EN) && (document.Title.size() < 16)) {
return true;
}
if ((document.Language == tg::LN_RU) && (document.Title.size() < 30)) {
return true;
}
unsigned char lastSymb = docume... | 26.785714 | 88 | 0.573333 | IlyaGusev |
d56d0d9dcc415e166f57e43916555271bef08c1d | 10,535 | cxx | C++ | Src/Projects/box_Spring/boxSpring_box.cxx | Mikkelbf/OpenMoBu | c57c41a0908ad7734d48642549758271d11263b8 | [
"BSD-3-Clause"
] | 53 | 2018-04-21T14:16:46.000Z | 2022-03-19T11:27:37.000Z | Src/Projects/box_Spring/boxSpring_box.cxx | Mikkelbf/OpenMoBu | c57c41a0908ad7734d48642549758271d11263b8 | [
"BSD-3-Clause"
] | 6 | 2019-06-05T16:37:29.000Z | 2021-09-20T07:17:03.000Z | Src/Projects/box_Spring/boxSpring_box.cxx | Mikkelbf/OpenMoBu | c57c41a0908ad7734d48642549758271d11263b8 | [
"BSD-3-Clause"
] | 10 | 2019-02-22T18:43:59.000Z | 2021-09-02T18:53:37.000Z |
/////////////////////////////////////////////////////////////////////////////////////////
//
// boxSpring_box.cxx
//
// Sergei <Neill3d> Solokhin 2014-2018
//
// GitHub page - https://github.com/Neill3d/OpenMoBu
// Licensed under The "New" BSD License - https ://github.com/Neill3d/OpenMoBu/blob/master/LICENSE
//
/////... | 25.203349 | 182 | 0.625914 | Mikkelbf |
d56da687f54879debee3aa016e468bdf7c357561 | 7,864 | cpp | C++ | sparta/test/Argos/DatabaseDump/Database_dumper.cpp | knute-sifive/map | fb25626830a56ad68ab896bcd01929023ff31c48 | [
"MIT"
] | null | null | null | sparta/test/Argos/DatabaseDump/Database_dumper.cpp | knute-sifive/map | fb25626830a56ad68ab896bcd01929023ff31c48 | [
"MIT"
] | null | null | null | sparta/test/Argos/DatabaseDump/Database_dumper.cpp | knute-sifive/map | fb25626830a56ad68ab896bcd01929023ff31c48 | [
"MIT"
] | null | null | null | #include "sparta/argos/Reader.hpp"
#include "sparta/argos/PipelineDataCallback.hpp"
#include "sparta/utils/SpartaAssert.hpp"
#include "sparta/utils/SpartaTester.hpp"
#include <iomanip>
#include <unordered_map>
#include <functional>
#include <unistd.h>
/**
* \file Database_dumper.cpp
* \brief dump an argos database t... | 34.491228 | 141 | 0.552009 | knute-sifive |
d570dc97b50454ae5075e488d7719a090bfd1215 | 5,791 | cpp | C++ | src/engine/entity/src/scripting/nodes/script_logic_gates.cpp | amrezzd/halley | 5f6a5dd7d44b9c12d2c124436969ff2dfa69e3f4 | [
"Apache-2.0"
] | null | null | null | src/engine/entity/src/scripting/nodes/script_logic_gates.cpp | amrezzd/halley | 5f6a5dd7d44b9c12d2c124436969ff2dfa69e3f4 | [
"Apache-2.0"
] | null | null | null | src/engine/entity/src/scripting/nodes/script_logic_gates.cpp | amrezzd/halley | 5f6a5dd7d44b9c12d2c124436969ff2dfa69e3f4 | [
"Apache-2.0"
] | null | null | null | #include "script_logic_gates.h"
using namespace Halley;
String ScriptLogicGateAnd::getShortDescription(const World& world, const ScriptGraphNode& node, const ScriptGraph& graph) const
{
auto a = getConnectedNodeName(world, node, graph, 0);
auto b = getConnectedNodeName(world, node, graph, 1);
return addParentheses... | 42.896296 | 169 | 0.756346 | amrezzd |
d573bc75a0042247c0b732f147440ff8edfefe5b | 8,243 | cpp | C++ | src/main.cpp | ysono/CarND-T3P1-Path-Planning | 1df4812381f51c22c35d46c9ae06a7a3f1eb68cb | [
"MIT"
] | null | null | null | src/main.cpp | ysono/CarND-T3P1-Path-Planning | 1df4812381f51c22c35d46c9ae06a7a3f1eb68cb | [
"MIT"
] | null | null | null | src/main.cpp | ysono/CarND-T3P1-Path-Planning | 1df4812381f51c22c35d46c9ae06a7a3f1eb68cb | [
"MIT"
] | null | null | null | #include <fstream>
#include <math.h>
#include <uWS/uWS.h>
#include <chrono>
#include <iostream>
#include <thread>
#include <tuple>
#include <vector>
#include <functional>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "json.hpp"
#include "support.h"
using std::cout;
using std::en... | 32.07393 | 131 | 0.582798 | ysono |
d575ed33c151f988d5b6bfdbec60ddfe488f3891 | 213 | cpp | C++ | src/var/ConstString.cpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 2 | 2016-05-21T03:09:19.000Z | 2016-08-27T03:40:51.000Z | src/var/ConstString.cpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 75 | 2017-10-08T22:21:19.000Z | 2020-03-30T21:13:20.000Z | src/var/ConstString.cpp | StratifyLabs/StratifyLib | 975a5c25a84296fd0dec64fe4dc579cf7027abe6 | [
"MIT"
] | 5 | 2018-03-27T16:44:09.000Z | 2020-07-08T16:45:55.000Z | /*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights.
#include "var/ConstString.hpp"
#include "var/Data.hpp"
using namespace var;
u32 sapi_const_string_unused;
| 17.75 | 100 | 0.737089 | bander9289 |
d5769fbb96776119150f0b2c8f036ee364fbad0e | 3,707 | cc | C++ | RAVL2/Audio/Features/testAudioFeatures.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Audio/Features/testAudioFeatures.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Audio/Features/testAudioFeatures.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2003, OmniPerception Ltd.
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here
... | 24.071429 | 74 | 0.586728 | isuhao |
d57789c51db7859511e6e61ceb723422b33327ee | 10,500 | cpp | C++ | PS_Fgen_FW/Screens/ScreenPS.cpp | M1S2/PS_Fgen_FW | 3fca0e33487b95cd1a5b4c2e9ea0d4f9f7a4dd97 | [
"MIT"
] | null | null | null | PS_Fgen_FW/Screens/ScreenPS.cpp | M1S2/PS_Fgen_FW | 3fca0e33487b95cd1a5b4c2e9ea0d4f9f7a4dd97 | [
"MIT"
] | 11 | 2021-06-08T13:08:46.000Z | 2021-12-11T13:50:54.000Z | PS_Fgen_FW/Screens/ScreenPS.cpp | M1S2/PS_Fgen_FW | 3fca0e33487b95cd1a5b4c2e9ea0d4f9f7a4dd97 | [
"MIT"
] | 1 | 2021-06-25T12:26:36.000Z | 2021-06-25T12:26:36.000Z | /*
* ScreenPS.cpp
* Created: 07.11.2020 13:09:35
* Author: Markus Scheich
*/
#include "../Device.h"
#ifdef PS_SUBSYSTEM_ENABLED
ContainerList list_PS(SCREEN_TAB_WIDTH, 0, 240 - SCREEN_TAB_WIDTH, 64);
#define PS_COLUMN1_POSX SCREEN_TAB_WIDTH + 5
#define PS_COLUMN2_POSX PS_COLUMN1_POSX + 83
#define PS_COLUMN3_... | 66.037736 | 262 | 0.836381 | M1S2 |
d5798e8ed05db34d8c8fb29f13fb7b0c66f3eb67 | 3,748 | cpp | C++ | AIEngine/src/path/navmesh/polytope/PolytopePlaneSurface.cpp | petitg1987/urchinEngine | a14a57ac49a19237d748d2eafc7c2a38a45b95d6 | [
"BSL-1.0"
] | 18 | 2020-06-12T00:04:46.000Z | 2022-01-11T14:56:19.000Z | AIEngine/src/path/navmesh/polytope/PolytopePlaneSurface.cpp | petitg1987/urchinEngine | a14a57ac49a19237d748d2eafc7c2a38a45b95d6 | [
"BSL-1.0"
] | null | null | null | AIEngine/src/path/navmesh/polytope/PolytopePlaneSurface.cpp | petitg1987/urchinEngine | a14a57ac49a19237d748d2eafc7c2a38a45b95d6 | [
"BSL-1.0"
] | 6 | 2020-08-16T15:58:41.000Z | 2022-03-05T13:17:50.000Z | #include <algorithm>
#include <path/navmesh/polytope/PolytopePlaneSurface.h>
namespace urchin {
/**
* @param ccwPoints Points of the plane which must be coplanar and counter clockwise oriented
*/
PolytopePlaneSurface::PolytopePlaneSurface(std::vector<Point3<float>> ccwPoints, bool isSlopeWalkable) ... | 36.745098 | 138 | 0.661686 | petitg1987 |
d581ed3bd62df2d3380dd0e9caa4e20aad775550 | 7,728 | cpp | C++ | tests/xtd.core.unit_tests/src/xtd/diagnostics/trace_listener.cpp | BaderEddineOuaich/xtd | 6f28634c7949a541d183879d2de18d824ec3c8b1 | [
"MIT"
] | 1 | 2022-02-25T16:53:06.000Z | 2022-02-25T16:53:06.000Z | tests/xtd.core.unit_tests/src/xtd/diagnostics/trace_listener.cpp | leanid/xtd | 2e1ea6537218788ca08901faf8915d4100990b53 | [
"MIT"
] | null | null | null | tests/xtd.core.unit_tests/src/xtd/diagnostics/trace_listener.cpp | leanid/xtd | 2e1ea6537218788ca08901faf8915d4100990b53 | [
"MIT"
] | null | null | null | #define TRACE
#include <xtd/diagnostics/trace_listener.h>
#include <xtd/xtd.tunit>
#include <sstream>
using namespace xtd::diagnostics;
using namespace xtd::tunit;
namespace unit_tests {
class test_class_(test_trace_listener) {
class unit_test_trace_listener : public trace_listener {
public:
unit_test... | 40.041451 | 169 | 0.698499 | BaderEddineOuaich |
d584eb9d7aa75522aec97277674321061b90fbed | 5,296 | cpp | C++ | src/resource_provider/daemon.cpp | j143/mesos | a85a22baa32f66ecaa13c4602a195d57f6abf9be | [
"Apache-2.0"
] | null | null | null | src/resource_provider/daemon.cpp | j143/mesos | a85a22baa32f66ecaa13c4602a195d57f6abf9be | [
"Apache-2.0"
] | null | null | null | src/resource_provider/daemon.cpp | j143/mesos | a85a22baa32f66ecaa13c4602a195d57f6abf9be | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 26.613065 | 78 | 0.681647 | j143 |
d58560131eba6481eb625704b88a018347147c65 | 14,252 | cpp | C++ | legacy/gnupg/agent/divert-scd.cpp | mehrdad-shokri/neopg | 05b370c04ffc019e55d75ab262d17abe6e69cafc | [
"BSD-2-Clause"
] | 224 | 2017-10-29T09:48:00.000Z | 2021-07-21T10:27:14.000Z | legacy/gnupg/agent/divert-scd.cpp | mehrdad-shokri/neopg | 05b370c04ffc019e55d75ab262d17abe6e69cafc | [
"BSD-2-Clause"
] | 66 | 2017-10-29T16:17:55.000Z | 2020-11-30T18:53:40.000Z | legacy/gnupg/agent/divert-scd.cpp | mehrdad-shokri/neopg | 05b370c04ffc019e55d75ab262d17abe6e69cafc | [
"BSD-2-Clause"
] | 22 | 2017-10-29T19:55:45.000Z | 2020-01-04T13:25:50.000Z | /* divert-scd.c - divert operations to the scdaemon
* Copyright (C) 2002, 2003, 2009 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* GnuPG 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 Foundati... | 30.518201 | 80 | 0.586865 | mehrdad-shokri |
d586f35a84d344c5c59774ecc4363eecd344167c | 5,634 | cc | C++ | m.heap/swe9416.cc | kimminki10/algorithms2 | 5d3b2d970dbc88169108632ce0d234bf74446316 | [
"MIT"
] | null | null | null | m.heap/swe9416.cc | kimminki10/algorithms2 | 5d3b2d970dbc88169108632ce0d234bf74446316 | [
"MIT"
] | null | null | null | m.heap/swe9416.cc | kimminki10/algorithms2 | 5d3b2d970dbc88169108632ce0d234bf74446316 | [
"MIT"
] | null | null | null | #ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <stdio.h>
#include <ctime>
/////
struct post {
int like=0;
int uid=-1;
int timestamp;
} posts[100'005];
int postCnt = 0;
int following[1'003][1'003];
int fidx[1'003];
int userNum;
void init(int N) {
userNum = N;
postC... | 26.450704 | 77 | 0.49219 | kimminki10 |
d587565617377a489d461c0dabadcd937e65b083 | 1,706 | cpp | C++ | part7/Task7.3/Task7.3/sort.cpp | Matvey1703/Homework | 4599a5a5a1bdaeb819eee13a6233c72ce544c179 | [
"Apache-2.0"
] | 1 | 2020-09-30T17:17:41.000Z | 2020-09-30T17:17:41.000Z | part7/Task7.3/Task7.3/sort.cpp | Matvey1703/Homework | 4599a5a5a1bdaeb819eee13a6233c72ce544c179 | [
"Apache-2.0"
] | null | null | null | part7/Task7.3/Task7.3/sort.cpp | Matvey1703/Homework | 4599a5a5a1bdaeb819eee13a6233c72ce544c179 | [
"Apache-2.0"
] | null | null | null | #include <string.h>
#include "sort.h"
bool less(ListElement* element1, ListElement* element2, bool byPhone)
{
if (byPhone)
{
return strcmp(fieldPhone(element1), fieldPhone(element2)) < 0;
}
else
{
return strcmp(fieldName(element1), fieldName(element2)) < 0;
}
}
void mergeSort(List* list, ListElement* head,... | 25.848485 | 112 | 0.727433 | Matvey1703 |
d5886db1acc5531017a2656266bcc819a55ee107 | 16,472 | cc | C++ | thirdparty/google/type/timeofday.pb.cc | kobeya/GVA-demo | 41a57bfff01ab0de2f56ddcd7611514e550472ff | [
"Apache-2.0"
] | 2 | 2019-03-29T07:20:43.000Z | 2019-08-13T04:47:27.000Z | thirdparty/google/type/timeofday.pb.cc | kobeya/GVA-demo | 41a57bfff01ab0de2f56ddcd7611514e550472ff | [
"Apache-2.0"
] | null | null | null | thirdparty/google/type/timeofday.pb.cc | kobeya/GVA-demo | 41a57bfff01ab0de2f56ddcd7611514e550472ff | [
"Apache-2.0"
] | 1 | 2019-08-09T05:26:50.000Z | 2019-08-09T05:26:50.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/type/timeofday.proto
#include "google/type/timeofday.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_f... | 35.196581 | 168 | 0.700461 | kobeya |
d58a2f10f14324ec23e0876804b175d73a858784 | 60 | cpp | C++ | csapex_core_plugins/src/core/collection_node.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 2 | 2016-09-02T15:33:22.000Z | 2019-05-06T22:09:33.000Z | csapex_core_plugins/src/core/collection_node.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 1 | 2021-02-14T19:53:30.000Z | 2021-02-14T19:53:30.000Z | csapex_core_plugins/src/core/collection_node.cpp | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 6 | 2016-10-12T00:55:23.000Z | 2021-02-10T17:49:25.000Z | /// HEADER
#include <csapex_core_plugins/collection_node.h>
| 20 | 48 | 0.8 | AdrianZw |
d58a5f894af4fb13f69479b9d8f5ee9cebf12ea2 | 331 | cpp | C++ | Ch 14/14.49_Book_test.cpp | Felon03/CppPrimer | 7dc2daf59f0ae7ec5670def15cb5fab174fe9780 | [
"Apache-2.0"
] | null | null | null | Ch 14/14.49_Book_test.cpp | Felon03/CppPrimer | 7dc2daf59f0ae7ec5670def15cb5fab174fe9780 | [
"Apache-2.0"
] | null | null | null | Ch 14/14.49_Book_test.cpp | Felon03/CppPrimer | 7dc2daf59f0ae7ec5670def15cb5fab174fe9780 | [
"Apache-2.0"
] | null | null | null | #include"14.49_Book.h"
int main()
{
Book book1(1, "cpp primer 5th", "Lippman", "2013", 76);
Book book2 = book1;
Book book3(book1);
Book book4 = Book(std::cin);
if (book2)
book2 = book4;
std::cout << book2 << std::endl;
auto flag = static_cast<bool>(book2);
std::cout << std::boolalpha << flag << std::endl;
... | 20.6875 | 56 | 0.625378 | Felon03 |
d58bcf14935c2268b4c9657f6a672f7e34dbcb33 | 5,463 | cpp | C++ | glasscore/tests/traveltime_unittest.cpp | jpatton-USGS/neic-glass3 | 52ab2eabd5d5d97c9d74f44c462aec7e88e51899 | [
"CC0-1.0"
] | 9 | 2019-02-18T09:08:43.000Z | 2021-08-25T13:59:15.000Z | glasscore/tests/traveltime_unittest.cpp | jpatton-USGS/neic-glass3 | 52ab2eabd5d5d97c9d74f44c462aec7e88e51899 | [
"CC0-1.0"
] | 65 | 2017-12-06T16:01:11.000Z | 2021-06-10T15:24:23.000Z | glasscore/tests/traveltime_unittest.cpp | jpatton-USGS/neic-glass3 | 52ab2eabd5d5d97c9d74f44c462aec7e88e51899 | [
"CC0-1.0"
] | 7 | 2017-12-04T20:21:28.000Z | 2021-12-01T15:59:40.000Z | #include <gtest/gtest.h>
#include <string>
#include <logger.h>
#include "TravelTime.h"
#define TESTPATH "testdata"
#define PHASE "P"
#define PHASEFILENAME "P.trv"
#define NDISTANCES 720
#define MINDIST 0.0
#define MAXDIST 180.0
#define NDEPTHS 160
#define MINDEPTH 0.0
#define MAXDEPTH 800.0
#define LATITUDE 0.0
... | 26.391304 | 99 | 0.739154 | jpatton-USGS |
d58c5bb8038d50c0f658b79b6fcce571f4f5af83 | 4,353 | cpp | C++ | libs/img/src/CImage_SSE2.cpp | mrliujie/mrpt-learning-code | 7b41a9501fc35c36580c93bc1499f5a36d26c216 | [
"BSD-3-Clause"
] | 2 | 2020-04-21T08:51:21.000Z | 2022-03-21T10:47:52.000Z | libs/img/src/CImage_SSE2.cpp | qifengl/mrpt | 979a458792273a86ec5ab105e0cd6c963c65ea73 | [
"BSD-3-Clause"
] | null | null | null | libs/img/src/CImage_SSE2.cpp | qifengl/mrpt | 979a458792273a86ec5ab105e0cd6c963c65ea73 | [
"BSD-3-Clause"
] | null | null | null | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | 32.244444 | 80 | 0.587641 | mrliujie |
d58db4da106d35a0d66213533072b97444540af1 | 1,055 | cpp | C++ | edc127.cpp | EDI9029/FC22 | 79dab09646b1f2e08ae0da1f385d48e5c8a9b09f | [
"MIT"
] | null | null | null | edc127.cpp | EDI9029/FC22 | 79dab09646b1f2e08ae0da1f385d48e5c8a9b09f | [
"MIT"
] | null | null | null | edc127.cpp | EDI9029/FC22 | 79dab09646b1f2e08ae0da1f385d48e5c8a9b09f | [
"MIT"
] | null | null | null | //Cooperation of EDB1 P.129//
//Edward 1,17,2022 //
/***************************************************************/
#include <stdio.h>
#include <stdlib.h>
int main(void){
int i,j,n,m,a,b,cur,book[101]={0},e[101][101];
int que[10001],head,tail;
scanf("%d %d",&n,&m);
for(i=1;i<=m;i++){
... | 17.881356 | 65 | 0.320379 | EDI9029 |
d58e1febf3666d86f044d16eb601ec4990b95836 | 2,307 | cpp | C++ | CLRDump/CLRDump.cpp | isabella232/CLRExplorer | 8c81c894f115337c0121b5856ab6ab6823c7e164 | [
"MIT"
] | 105 | 2020-01-04T18:36:38.000Z | 2022-01-28T17:27:03.000Z | CLRDump/CLRDump.cpp | isabella232/CLRExplorer | 8c81c894f115337c0121b5856ab6ab6823c7e164 | [
"MIT"
] | 1 | 2020-04-16T09:46:34.000Z | 2020-04-16T09:56:03.000Z | CLRDump/CLRDump.cpp | isabella232/CLRExplorer | 8c81c894f115337c0121b5856ab6ab6823c7e164 | [
"MIT"
] | 14 | 2020-01-05T06:06:07.000Z | 2021-12-03T09:13:22.000Z | #include "pch.h"
#include "..\CLRDiag\DataTarget.h"
CComModule _Module;
void DumpAppDomainsAndAssemblies(DataTarget* dt) {
auto domains = dt->EnumAppDomains();
for (auto& ad : domains) {
printf("AppDomain: %ws (0x%p) (assemblies: %u)\n", (PCWSTR)ad.Name, (void*)ad.AppDomainPtr, ad.AssemblyCount);
for (auto& asm... | 26.825581 | 163 | 0.671868 | isabella232 |
d5907501442b4aa0ba40b22f93327a99866432c2 | 32,515 | hpp | C++ | core/injector/application_injector.hpp | FlorianFranzen/kagome | 27ee11c78767e72f0ecd2c515c77bebc2ff5758d | [
"Apache-2.0"
] | null | null | null | core/injector/application_injector.hpp | FlorianFranzen/kagome | 27ee11c78767e72f0ecd2c515c77bebc2ff5758d | [
"Apache-2.0"
] | null | null | null | core/injector/application_injector.hpp | FlorianFranzen/kagome | 27ee11c78767e72f0ecd2c515c77bebc2ff5758d | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_CORE_INJECTOR_APPLICATION_INJECTOR_HPP
#define KAGOME_CORE_INJECTOR_APPLICATION_INJECTOR_HPP
#include <boost/di.hpp>
#include <boost/di/extension/scopes/shared.hpp>
#include <libp2p/injector/host_inject... | 43.998647 | 120 | 0.673658 | FlorianFranzen |
d594616cadf9861adc32438c5dc7e2cd09c48072 | 713 | cc | C++ | table/raw_table_test.cc | SZ-NPE/SLM-DB | aa3abdac29a7806344e7b219fda7396085cc5dd2 | [
"BSD-3-Clause"
] | 17 | 2019-11-18T07:02:23.000Z | 2021-12-30T10:15:08.000Z | table/raw_table_test.cc | SZ-NPE/SLM-DB | aa3abdac29a7806344e7b219fda7396085cc5dd2 | [
"BSD-3-Clause"
] | null | null | null | table/raw_table_test.cc | SZ-NPE/SLM-DB | aa3abdac29a7806344e7b219fda7396085cc5dd2 | [
"BSD-3-Clause"
] | 18 | 2019-11-21T14:08:50.000Z | 2022-03-17T07:46:16.000Z | #include "leveldb/env.h"
#include "util/testharness.h"
#include "raw_block_builder.h"
uint64_t clflush_cnt = 0;
uint64_t WRITE_LATENCY_IN_NS = 1000;
namespace leveldb {
class RAW_TABLE {
};
TEST(RAW_TABLE, Blocks) {
Options options;
RawBlockBuilder builder(&options);
for (int i = 0; i < 20; i++) {
std::st... | 19.805556 | 47 | 0.649369 | SZ-NPE |
d5953bec284bc2944f0f5da6301931a1ede0683a | 297 | cpp | C++ | dependencies/faucmix-src/src/stream.cpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | null | null | null | dependencies/faucmix-src/src/stream.cpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | null | null | null | dependencies/faucmix-src/src/stream.cpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | null | null | null | #include "stream.hpp"
void * pcmstream::generateframe(SDL_AudioSpec * spec, unsigned int len, emitterinfo * info)
{}
bool pcmstream::isplaying()
{}
bool pcmstream::ready()
{}
Uint16 pcmstream::channels()
{}
void pcmstream::fire(emitterinfo * info)
{}
void pcmstream::cease(emitterinfo * info)
{}
| 19.8 | 91 | 0.727273 | wareya |
d5978aa2e91b2fedd8890a321292114f39635b26 | 1,211 | cpp | C++ | SumofLeftLeaves/SumofLeftLeaves.cpp | sbchong/LeetCode | 933c7d85519b473f48050b24465aaaba94eede8c | [
"Apache-2.0"
] | null | null | null | SumofLeftLeaves/SumofLeftLeaves.cpp | sbchong/LeetCode | 933c7d85519b473f48050b24465aaaba94eede8c | [
"Apache-2.0"
] | null | null | null | SumofLeftLeaves/SumofLeftLeaves.cpp | sbchong/LeetCode | 933c7d85519b473f48050b24465aaaba94eede8c | [
"Apache-2.0"
] | 1 | 2020-07-29T14:36:51.000Z | 2020-07-29T14:36:51.000Z | // SumofLeftLeaves.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
struct TreeNode {
int val;
TreeNode* left;
TreeNode* right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
TreeNode(int x, TreeNode* left, TreeNode*... | 27.522727 | 90 | 0.605285 | sbchong |
d5990f4be26649b13bfe75497021fd1e9240b32b | 703 | hpp | C++ | include/alibabacloud/event_bridge_util.hpp | alibabacloud-sdk-cpp/eventbridge-util | 3d679f81a6ce1f55bd1f22c757e9999c31ac5c1a | [
"Apache-2.0"
] | 6 | 2020-09-10T06:40:24.000Z | 2022-02-09T06:06:11.000Z | include/alibabacloud/event_bridge_util.hpp | alibabacloud-sdk-cpp/eventbridge-util | 3d679f81a6ce1f55bd1f22c757e9999c31ac5c1a | [
"Apache-2.0"
] | 69 | 2020-09-14T08:07:44.000Z | 2022-01-27T09:05:09.000Z | include/alibabacloud/event_bridge_util.hpp | alibabacloud-sdk-cpp/eventbridge-util | 3d679f81a6ce1f55bd1f22c757e9999c31ac5c1a | [
"Apache-2.0"
] | 10 | 2020-09-11T07:54:03.000Z | 2022-03-11T06:08:35.000Z | // This file is auto-generated, don't edit it. Thanks.
#ifndef ALIBABACLOUD_EVENTBRIDGEUTIL_H_
#define ALIBABACLOUD_EVENTBRIDGEUTIL_H_
#include <boost/any.hpp>
#include <darabonba/core.hpp>
#include <iostream>
using namespace std;
namespace Alibabacloud_EventBridgeUtil {
class Client {
public:
static string getSt... | 27.038462 | 78 | 0.758179 | alibabacloud-sdk-cpp |
d5994f3f875732e31d34e3915cf7c6eed4d66520 | 257 | cpp | C++ | tutorials/cplusplus.com#1.0#1/programstructure/functions/recursivity/source1.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | tutorials/cplusplus.com#1.0#1/programstructure/functions/recursivity/source1.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | tutorials/cplusplus.com#1.0#1/programstructure/functions/recursivity/source1.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | // factorial calculator
#include <iostream>
using namespace std;
long factorial (long a)
{
if (a > 1)
return (a * factorial (a-1));
else
return 1;
}
int main ()
{
long number = 9;
cout << number << "! = " << factorial (number);
return 0;
} | 14.277778 | 49 | 0.59144 | officialrafsan |
d59ab9d935963753331d357c5a80320501f64718 | 26 | cpp | C++ | src/orderparameters/SimpleVector.cpp | seanmarks/indus | a25012d79d5cb94986a3210a0c7f21b6d427ce5b | [
"MIT"
] | 6 | 2019-01-14T16:03:19.000Z | 2021-06-28T06:10:33.000Z | src/orderparameters/SimpleVector.cpp | seanmarks/indus | a25012d79d5cb94986a3210a0c7f21b6d427ce5b | [
"MIT"
] | 3 | 2020-01-25T21:46:15.000Z | 2021-08-17T15:31:53.000Z | src/orderparameters/SimpleVector.cpp | seanmarks/indus | a25012d79d5cb94986a3210a0c7f21b6d427ce5b | [
"MIT"
] | 2 | 2021-01-29T16:53:19.000Z | 2021-10-29T19:05:08.000Z | #include "SimpleVector.h"
| 13 | 25 | 0.769231 | seanmarks |
d59d130e1ef442f594761521f1b721a3b9f0822e | 1,793 | hpp | C++ | blast/include/connect/ncbi_service_cxx.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | null | null | null | blast/include/connect/ncbi_service_cxx.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | null | null | null | blast/include/connect/ncbi_service_cxx.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | null | null | null | #ifndef CONNECT___NCBI_SERVICE_CXX__HPP
#define CONNECT___NCBI_SERVICE_CXX__HPP
/* $Id: ncbi_service_cxx.hpp 605392 2020-04-10 02:19:46Z lavr $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biote... | 39.844444 | 78 | 0.666481 | mycolab |
d59f1497dd708f9dec3713a85ee5fbafa18c14c8 | 870 | cpp | C++ | src/config.cpp | s-viour/wing | 5635cabaaf614672e5d6ee2d4dd617d74198c30a | [
"MIT"
] | null | null | null | src/config.cpp | s-viour/wing | 5635cabaaf614672e5d6ee2d4dd617d74198c30a | [
"MIT"
] | 8 | 2021-11-24T04:16:07.000Z | 2021-12-21T05:18:43.000Z | src/config.cpp | s-viour/wing | 5635cabaaf614672e5d6ee2d4dd617d74198c30a | [
"MIT"
] | null | null | null | #include <fstream>
#include <toml++/toml.h>
#include <wing/config.h>
using namespace wing;
wing::project_config wing::load_config(const fs::path& path) {
auto table = toml::parse_file(path.string());
auto name = table["name"].value<std::string>();
//auto project_type = table["type"].value<std::string>();
//a... | 28.064516 | 80 | 0.673563 | s-viour |
d5a044c8ebf812759d6f63595d5c18c9a9305350 | 3,778 | hpp | C++ | drape_frontend/animation/interpolators.hpp | Dushistov/omim | e366dd2f7508dea305922d7bd91deea076fc4a58 | [
"Apache-2.0"
] | null | null | null | drape_frontend/animation/interpolators.hpp | Dushistov/omim | e366dd2f7508dea305922d7bd91deea076fc4a58 | [
"Apache-2.0"
] | null | null | null | drape_frontend/animation/interpolators.hpp | Dushistov/omim | e366dd2f7508dea305922d7bd91deea076fc4a58 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "geometry/screenbase.hpp"
namespace df
{
class Interpolator
{
public:
Interpolator(double duration, double delay = 0);
virtual ~Interpolator() = default;
virtual void Advance(double elapsedSeconds);
virtual void Finish();
bool IsActive() const;
void SetActive(bool active);
bool... | 28.621212 | 101 | 0.718105 | Dushistov |
d5a226af657bab8d3df81322c9ab69c0df7938ee | 822 | cpp | C++ | filters/VesselFilterByBranchingMode.cpp | lfmc/VItA | f7f6c80a09f49cd0d1cca7e6657f18889d95b719 | [
"Apache-2.0"
] | 4 | 2021-05-10T12:38:16.000Z | 2022-02-12T23:31:53.000Z | filters/VesselFilterByBranchingMode.cpp | lfmc/VItA | f7f6c80a09f49cd0d1cca7e6657f18889d95b719 | [
"Apache-2.0"
] | 3 | 2021-01-14T21:37:08.000Z | 2021-03-04T23:02:20.000Z | filters/VesselFilterByBranchingMode.cpp | lfmc/VItA | f7f6c80a09f49cd0d1cca7e6657f18889d95b719 | [
"Apache-2.0"
] | 4 | 2020-09-11T14:47:26.000Z | 2021-11-08T22:45:32.000Z | /* SPDX-License-Identifier: Apache-2.0 */
/* Copyright 2020 Gonzalo Maso Talou */
/*
* VesselFilterByBranchingMode.cpp
*
* Created on: 22/05/2019
* Author: Gonzalo D. Maso Talou
*/
#include "VesselFilterByBranchingMode.h"
VesselFilterByBranchingMode::VesselFilterByBranchingMode(AbstractVascularElement::BRA... | 28.344828 | 129 | 0.743309 | lfmc |
d5a2763217737ff12de1bcb0180800368f88c870 | 12,005 | cxx | C++ | Modules/Visualization/MonteverdiGui/src/mvdLayerStackController.cxx | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | Modules/Visualization/MonteverdiGui/src/mvdLayerStackController.cxx | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | Modules/Visualization/MonteverdiGui/src/mvdLayerStackController.cxx | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 21.946984 | 81 | 0.547272 | xcorail |
d5a5b44c7e83d6443db3a8a761edd675e65ca5e8 | 1,779 | hpp | C++ | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_cdp_cfg.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_cdp_cfg.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_cdp_cfg.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _CISCO_IOS_XR_CDP_CFG_
#define _CISCO_IOS_XR_CDP_CFG_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_cdp_cfg {
class Cdp : public ydk::Entity
{
public:
Cdp();
~Cdp();
bool ha... | 37.0625 | 162 | 0.697021 | CiscoDevNet |
d5a91f47fb10019fe2401979688879374980da79 | 3,862 | cpp | C++ | oomact/src/error-terms/ErrorTermWheelsZ.cpp | OnyxBlack7/oomact | 5ae5fbbaddaf58e2fc24adaabedf711619934ac9 | [
"BSD-3-Clause"
] | 21 | 2017-06-19T13:57:59.000Z | 2022-02-20T02:40:58.000Z | oomact/src/error-terms/ErrorTermWheelsZ.cpp | OnyxBlack7/oomact | 5ae5fbbaddaf58e2fc24adaabedf711619934ac9 | [
"BSD-3-Clause"
] | 19 | 2017-05-10T09:11:25.000Z | 2019-03-11T16:41:36.000Z | oomact/src/error-terms/ErrorTermWheelsZ.cpp | OnyxBlack7/oomact | 5ae5fbbaddaf58e2fc24adaabedf711619934ac9 | [
"BSD-3-Clause"
] | 11 | 2017-06-19T13:39:12.000Z | 2022-03-16T19:53:27.000Z | /******************************************************************************
* Copyright (C) 2013 by Jerome Maye *
* jerome.maye@gmail.com *
* *
... | 40.229167 | 88 | 0.483687 | OnyxBlack7 |
d5a946cc94e66be572493e51068c73954c65d9d7 | 2,269 | cpp | C++ | solutions/LeetCode/C++/203.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | solutions/LeetCode/C++/203.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | solutions/LeetCode/C++/203.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 24 ms submission
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
Solution(... | 25.494382 | 100 | 0.513001 | timxor |
d5ab9a5c3f340e937334126b63c44eb538318e5b | 4,933 | cpp | C++ | 3.7.0/clang-tools-extra-3.7.0.src/clang-modernize/LoopConvert/StmtAncestor.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 3 | 2016-02-10T14:18:40.000Z | 2018-02-05T03:15:56.000Z | 3.7.0/clang-tools-extra-3.7.0.src/clang-modernize/LoopConvert/StmtAncestor.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 1 | 2016-02-10T15:40:03.000Z | 2016-02-10T15:40:03.000Z | 3.7.0/clang-tools-extra-3.7.0.src/clang-modernize/LoopConvert/StmtAncestor.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | null | null | null | //===-- LoopConvert/StmtAncestor.cpp - AST property visitors --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 34.985816 | 80 | 0.676667 | androm3da |
d5abff91677d3a21ba2d351f9751df7cdbc0e86f | 400 | cpp | C++ | src/entity.cpp | kindanoob/pong | 92f649e5d9f2286509ea5f8738097f0fc26e3a8f | [
"MIT"
] | null | null | null | src/entity.cpp | kindanoob/pong | 92f649e5d9f2286509ea5f8738097f0fc26e3a8f | [
"MIT"
] | null | null | null | src/entity.cpp | kindanoob/pong | 92f649e5d9f2286509ea5f8738097f0fc26e3a8f | [
"MIT"
] | null | null | null | #include "entity.h"
Entity::Entity(const sf::Texture &texture, const std::string &name,
int x, int y, double dx, double dy, int w, int h, int row, int col):
name_(name), h_(h), w_(w), x_(x), y_(y), dx_(dx), dy_(dy), texture_(texture) {
sprite_.setTexture(texture);
sprite_.setTextureRect(sf... | 36.363636 | 87 | 0.5975 | kindanoob |
d5ae8ea566582c9532eb9478088711d6e106ec27 | 9,263 | cpp | C++ | service/regalloc-fast/LiveInterval.cpp | kami-lang/madex-redex | 90ae1bc46c6e20a0aed2c128183b9f289cecee34 | [
"MIT"
] | null | null | null | service/regalloc-fast/LiveInterval.cpp | kami-lang/madex-redex | 90ae1bc46c6e20a0aed2c128183b9f289cecee34 | [
"MIT"
] | null | null | null | service/regalloc-fast/LiveInterval.cpp | kami-lang/madex-redex | 90ae1bc46c6e20a0aed2c128183b9f289cecee34 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "LiveInterval.h"
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include "DexUtil.h"
#include "L... | 36.042802 | 80 | 0.6825 | kami-lang |
d5b065ce873965a55b1cd8e420a4184959f289b9 | 989 | cc | C++ | test/tensorflow_link_test.cc | WuJoel2020/aom | 65e6b6954c45c1b12883942b14d1988da377e0cd | [
"BSD-2-Clause"
] | null | null | null | test/tensorflow_link_test.cc | WuJoel2020/aom | 65e6b6954c45c1b12883942b14d1988da377e0cd | [
"BSD-2-Clause"
] | null | null | null | test/tensorflow_link_test.cc | WuJoel2020/aom | 65e6b6954c45c1b12883942b14d1988da377e0cd | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2019, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | 32.966667 | 78 | 0.752275 | WuJoel2020 |
d5b10a97dd242b49178e0c5fe220607ba20daef3 | 7,119 | cpp | C++ | src/libtsduck/dtv/descriptors/tsISDBTerrestrialDeliverySystemDescriptor.cpp | cedinu/tsduck | dc693912b1fda85bcac3fcb830d7753bd8112552 | [
"BSD-2-Clause"
] | 1 | 2019-04-23T21:16:00.000Z | 2019-04-23T21:16:00.000Z | src/libtsduck/dtv/descriptors/tsISDBTerrestrialDeliverySystemDescriptor.cpp | cedinu/tsduck | dc693912b1fda85bcac3fcb830d7753bd8112552 | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/descriptors/tsISDBTerrestrialDeliverySystemDescriptor.cpp | cedinu/tsduck | dc693912b1fda85bcac3fcb830d7753bd8112552 | [
"BSD-2-Clause"
] | null | null | null | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 38.690217 | 154 | 0.577047 | cedinu |
d5b213a071d857111b195a3e77dcef995569d648 | 15,209 | cpp | C++ | src/CDataList.cpp | colinw7/CDataList | d38705c8049aaf5d5045636427c9df7a3cb020db | [
"MIT"
] | 1 | 2021-12-23T02:24:03.000Z | 2021-12-23T02:24:03.000Z | src/CDataList.cpp | colinw7/CDataList | d38705c8049aaf5d5045636427c9df7a3cb020db | [
"MIT"
] | null | null | null | src/CDataList.cpp | colinw7/CDataList | d38705c8049aaf5d5045636427c9df7a3cb020db | [
"MIT"
] | null | null | null | #include <CDataList.h>
#include <CStrUtil.h>
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <climits>
#include <cfloat>
#include <cmath>
#include <vector>
void usage(int rc=1) {
std::cerr << "Usage: CDataList " <<
"[-h] [-s[dfiscCb]] [-n] [-t] [-o <off>] [-l <len... | 22.20292 | 98 | 0.498455 | colinw7 |
d5b39ffa193a8f72073a18803bfc48b7c3f511fe | 592 | cpp | C++ | android-31/java/io/NotActiveException.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/io/NotActiveException.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/io/NotActiveException.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../JString.hpp"
#include "./NotActiveException.hpp"
namespace java::io
{
// Fields
// QJniObject forward
NotActiveException::NotActiveException(QJniObject obj) : java::io::ObjectStreamException(obj) {}
// Constructors
NotActiveException::NotActiveException()
: java::io::ObjectStreamException(
... | 21.925926 | 97 | 0.701014 | YJBeetle |
d5b49141afeee1125b245acc75c3de2651c2f55e | 5,158 | tcc | C++ | flens/lapack/la/lanst.tcc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 98 | 2015-01-26T20:31:37.000Z | 2021-09-09T15:51:37.000Z | flens/lapack/la/lanst.tcc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 16 | 2015-01-21T07:43:45.000Z | 2021-12-06T12:08:36.000Z | flens/lapack/la/lanst.tcc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 31 | 2015-01-05T08:06:45.000Z | 2022-01-26T20:12:00.000Z | /*
* Copyright (c) 2014, Michael Lehn
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice,... | 28.185792 | 80 | 0.588019 | stip |
d5b6f7e628ff6bbd7230a7ed03e838c1f5eafcde | 1,029 | hpp | C++ | Libraries/Engine/Level.hpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | 3 | 2022-02-11T10:34:33.000Z | 2022-02-24T17:44:17.000Z | Libraries/Engine/Level.hpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | Libraries/Engine/Level.hpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | // MIT Licensed (see LICENSE.md).
#pragma once
namespace Zero
{
/// A level is resource that stores a set of objects that can be loaded into
/// a space. Level is different from most resource types in that it does
/// not really store the level data on the object but always loads the
/// data from the file system.
cl... | 22.369565 | 76 | 0.73275 | RyanTylerRae |
d5b757001173aafd1e44201781d322688d59f155 | 963 | cpp | C++ | platforms/android/Dezel/dezel/src/main/jni/wrappers/LayoutWrapper.cpp | logaritmdev/dezel | 507022b806e0ffb91bfe87336c6642634c5123a0 | [
"MIT"
] | 2 | 2018-08-02T13:26:55.000Z | 2019-04-14T18:18:40.000Z | platforms/android/Dezel/dezel/src/main/jni/wrappers/LayoutWrapper.cpp | logaritmdev/dezel | 507022b806e0ffb91bfe87336c6642634c5123a0 | [
"MIT"
] | 2 | 2020-07-07T19:45:35.000Z | 2021-05-08T06:33:03.000Z | platforms/android/Dezel/dezel/src/main/jni/wrappers/LayoutWrapper.cpp | logaritmdev/dezel | 507022b806e0ffb91bfe87336c6642634c5123a0 | [
"MIT"
] | 1 | 2019-06-24T21:53:34.000Z | 2019-06-24T21:53:34.000Z | #include <jni_module_layout.h>
#include "LayoutWrapper.h"
static void
LayoutBeganCallback(DLLayoutRef layout)
{
LayoutWrapperRef wrapper = reinterpret_cast<LayoutWrapperRef>(DLLayoutGetData(layout));
if (wrapper == NULL) {
return;
}
JNI_CALL_VOID_METHOD(
wrapper->env,
wrapper->object,
LayoutDispatchLayou... | 21.4 | 89 | 0.779855 | logaritmdev |
d5bac26d7bd25b563ec2ef3d1131aa52666770c8 | 1,871 | cpp | C++ | modules/spatialos/player_controls_sync.cpp | CharlesMicou/spatialgodot | f2d3819af3c8ef12026efc17e5e45f0cc5a4b9b8 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 23 | 2019-03-15T11:25:16.000Z | 2022-02-07T06:26:19.000Z | modules/spatialos/player_controls_sync.cpp | CharlesMicou/spatialgodot | f2d3819af3c8ef12026efc17e5e45f0cc5a4b9b8 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/spatialos/player_controls_sync.cpp | CharlesMicou/spatialgodot | f2d3819af3c8ef12026efc17e5e45f0cc5a4b9b8 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2019-03-23T11:45:38.000Z | 2019-03-23T11:45:38.000Z | #include "player_controls_sync.h"
#include "editor_node.h"
#include "spatial_util.h"
#include <improbable/worker.h>
#include "component_view.h"
#include <spellcrest/player_controls.h>
WorkerLogger PlayerControlsSync::logger = WorkerLogger("player_controls_sync");
void PlayerControlsSync::sync(const Vector2 destinatio... | 40.673913 | 172 | 0.750935 | CharlesMicou |
d5c3c11b4e8a0abc93ed89fde09bd8536ae0681a | 8,038 | cc | C++ | Fleece/Core/SharedKeys.cc | tophatch/fleece | 8853b610575c1a7d68681a792188bab9c0c1ec7d | [
"Apache-2.0"
] | 134 | 2016-05-09T19:42:55.000Z | 2022-01-16T13:05:18.000Z | Fleece/Core/SharedKeys.cc | tophatch/fleece | 8853b610575c1a7d68681a792188bab9c0c1ec7d | [
"Apache-2.0"
] | 70 | 2016-05-09T05:16:46.000Z | 2022-03-08T19:43:30.000Z | Fleece/Core/SharedKeys.cc | tophatch/fleece | 8853b610575c1a7d68681a792188bab9c0c1ec7d | [
"Apache-2.0"
] | 32 | 2016-05-19T10:38:06.000Z | 2022-01-30T22:45:25.000Z | //
// SharedKeys.cc
//
// Copyright 2016-Present Couchbase, Inc.
//
// Use of this software is governed by the Business Source License included
// in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
// in that file, in accordance with the Business Source License, use of this
// software will be gov... | 27.621993 | 101 | 0.585096 | tophatch |
d5c45f8ddea2d7781390aa3acf99aff0824e2cdc | 2,433 | cpp | C++ | examples/dcps/WaitSet/cpp/src/CheckStatus.cpp | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 133 | 2017-11-09T02:10:00.000Z | 2022-03-29T09:45:10.000Z | examples/dcps/WaitSet/cpp/src/CheckStatus.cpp | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 131 | 2017-11-07T14:48:43.000Z | 2022-03-13T15:30:47.000Z | examples/dcps/WaitSet/cpp/src/CheckStatus.cpp | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 94 | 2017-11-09T02:26:19.000Z | 2022-02-24T06:38:25.000Z |
/*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ... | 30.037037 | 87 | 0.644883 | brezillon |
d5c4b7aae8c2ec9456aa4876e4706a520f2e6bff | 1,044 | cpp | C++ | code/leetcode/src/0257.Binary-Tree-Paths.cpp | taseikyo/til | 8f703e69a49cbd9854062b102ba307c775d43a56 | [
"MIT"
] | 1 | 2021-09-01T14:39:12.000Z | 2021-09-01T14:39:12.000Z | code/leetcode/src/0257.Binary-Tree-Paths.cpp | taseikyo/til | 8f703e69a49cbd9854062b102ba307c775d43a56 | [
"MIT"
] | null | null | null | code/leetcode/src/0257.Binary-Tree-Paths.cpp | taseikyo/til | 8f703e69a49cbd9854062b102ba307c775d43a56 | [
"MIT"
] | null | null | null | /**
* @authors Lewis Tian (taseikyo@gmail.com)
* @date 2020-06-24 21:38:48
* @link github.com/taseikyo
*/
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(... | 25.463415 | 93 | 0.599617 | taseikyo |
d5c4d7d2f9f2c68470d96df1235da3ddf80adb76 | 719 | cpp | C++ | orbsvcs/SSLIOP/SSLIOP_CredentialsAcquirerFactory.cpp | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | orbsvcs/SSLIOP/SSLIOP_CredentialsAcquirerFactory.cpp | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | orbsvcs/SSLIOP/SSLIOP_CredentialsAcquirerFactory.cpp | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | // $Id: SSLIOP_CredentialsAcquirerFactory.cpp 1861 2011-08-31 16:18:08Z mesnierp $
#include "orbsvcs/SSLIOP/SSLIOP_CredentialsAcquirerFactory.h"
#include "orbsvcs/SSLIOP/SSLIOP_CredentialsAcquirer.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
SecurityLevel3::CredentialsAcquirer_ptr
TAO::SSLIOP::CredentialsAcquirerFactory::m... | 31.26087 | 82 | 0.7121 | binary42 |
d5c721c6677e867acfcdfbc8768548473dbae0b0 | 35,062 | cc | C++ | mediapipe/util/tracking/box_tracker.cc | virdio/mediapipe | 4a20e9909d55838d5630366ce719844cf06ae85c | [
"Apache-2.0"
] | 17,242 | 2019-06-16T23:19:19.000Z | 2022-03-31T20:19:41.000Z | mediapipe/util/tracking/box_tracker.cc | virdio/mediapipe | 4a20e9909d55838d5630366ce719844cf06ae85c | [
"Apache-2.0"
] | 3,148 | 2019-06-23T19:45:17.000Z | 2022-03-31T16:53:40.000Z | mediapipe/util/tracking/box_tracker.cc | virdio/mediapipe | 4a20e9909d55838d5630366ce719844cf06ae85c | [
"Apache-2.0"
] | 3,712 | 2019-06-18T20:18:54.000Z | 2022-03-31T15:46:46.000Z | // Copyright 2019 The MediaPipe 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 a... | 32.984008 | 80 | 0.64115 | virdio |
d5cded2183622621195f1952f5dd256dcfc2e2c9 | 2,059 | cpp | C++ | llvm-3.5/lib/Target/NVPTX/NVPTXSubtarget.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 3 | 2015-03-08T22:21:34.000Z | 2018-06-25T00:18:51.000Z | llvm-3.5/lib/Target/NVPTX/NVPTXSubtarget.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 1 | 2016-09-22T06:35:24.000Z | 2016-09-23T08:33:57.000Z | llvm-3.5/lib/Target/NVPTX/NVPTXSubtarget.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 1 | 2021-03-24T06:40:32.000Z | 2021-03-24T06:40:32.000Z | //===- NVPTXSubtarget.cpp - NVPTX Subtarget Information -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 29 | 80 | 0.593006 | randolphwong |
d5d292335c54348c250a7153199e33b654cd9459 | 77,031 | inl | C++ | src/fonts/stb_font_arial_bold_49_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | 3 | 2018-03-13T12:51:57.000Z | 2021-10-11T11:32:17.000Z | src/fonts/stb_font_arial_bold_49_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | src/fonts/stb_font_arial_bold_49_usascii.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | // Font generated by stb_font_inl_generator.c (4/1 bpp)
//
// Following instructions show how to use the only included font, whatever it is, in
// a generic way so you can replace it with any other font by changing the include.
// To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_arial_bold_49_usasc... | 68.532918 | 127 | 0.811206 | stetre |
d5d39d65bcd29a5f3ef342fdb428128bf7363589 | 7,790 | cpp | C++ | dlc/src/v20210125/model/ViewResponseInfo.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | dlc/src/v20210125/model/ViewResponseInfo.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | dlc/src/v20210125/model/ViewResponseInfo.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 30.07722 | 141 | 0.66534 | sinjoywong |
d5d64b11b121e19842b238644d3569e369ec75bc | 1,170 | hpp | C++ | src/server.hpp | mrc-g/FogMon | dc040e5566d4fa6b0fca80fb46767f40f19b7c2e | [
"MIT"
] | 7 | 2019-05-08T08:25:40.000Z | 2021-06-19T10:42:56.000Z | src/server.hpp | mrc-g/FogMon | dc040e5566d4fa6b0fca80fb46767f40f19b7c2e | [
"MIT"
] | 5 | 2020-03-07T15:24:27.000Z | 2022-03-12T00:49:53.000Z | src/server.hpp | mrc-g/FogMon | dc040e5566d4fa6b0fca80fb46767f40f19b7c2e | [
"MIT"
] | 4 | 2020-03-05T17:05:42.000Z | 2021-11-21T16:00:56.000Z | #ifndef SERVER_HPP_
#define SERVER_HPP_
#include <string>
#include <thread>
class IAgent;
class IConnections;
#include <thread>
/**
* Define a server that accept connections an IConnections handle it
*/
class Server {
private:
/**
* the state of the server true=running else is closing
*/
bool run... | 16.714286 | 83 | 0.588889 | mrc-g |
d5d897c866c575ac0e60e357dcbab72cbd6e7263 | 1,050 | cpp | C++ | ws6/ProdUtil.cpp | mylorik/OOP345 | 0034a803a7ee98e13ea36d805993d4727c3a09e4 | [
"MIT"
] | null | null | null | ws6/ProdUtil.cpp | mylorik/OOP345 | 0034a803a7ee98e13ea36d805993d4727c3a09e4 | [
"MIT"
] | null | null | null | ws6/ProdUtil.cpp | mylorik/OOP345 | 0034a803a7ee98e13ea36d805993d4727c3a09e4 | [
"MIT"
] | null | null | null | // Name: Artem Kulihina
// Seneca Student ID: 128516168
// Seneca email: akulihin@myseneca.ca
// Date of completion: 02.11.2018
//
// I confirm that the content of this file is created by me,
// with the exception of the parts provided to me by my professor.
#include <string>
#include <cctype>
#include "ProdUtil.h"
... | 20.588235 | 66 | 0.646667 | mylorik |
d5d8d2ba88bfbe7ad100f17e91e8d167006b3f63 | 1,986 | cpp | C++ | lib/error.cpp | gabrielcuvillier/stdext | 3a5346deab9f3fd86aa66384222792313daa7524 | [
"MIT"
] | 1 | 2019-10-02T12:51:19.000Z | 2019-10-02T12:51:19.000Z | lib/error.cpp | gabrielcuvillier/stdext | 3a5346deab9f3fd86aa66384222792313daa7524 | [
"MIT"
] | null | null | null | lib/error.cpp | gabrielcuvillier/stdext | 3a5346deab9f3fd86aa66384222792313daa7524 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 - Gabriel Cuvillier, Continuation Labs (www.continuation-labs.com)
// Licensed under the MIT License.
// Main header
#include <stdext/error>
// std
#include <cstdio> // std::fprintf, stderr
#include <cstdlib> // std::abort
#include <exception> // std::set_terminate
#include <string> ... | 32.557377 | 110 | 0.70292 | gabrielcuvillier |
d5df0056a57d0ab2789b04d18b7eb3b1c837dc62 | 17,119 | cpp | C++ | ASCIILib/DialogFrame.cpp | Natman64/ASCIILib | 04f661416261467df0d6f816fa31e870c0fcd8a9 | [
"MIT"
] | 1 | 2019-09-27T11:20:10.000Z | 2019-09-27T11:20:10.000Z | ASCIILib/DialogFrame.cpp | NQNStudios/ASCIILib | 04f661416261467df0d6f816fa31e870c0fcd8a9 | [
"MIT"
] | 13 | 2015-09-27T23:58:19.000Z | 2015-09-28T16:24:11.000Z | ASCIILib/DialogFrame.cpp | Natman64/ASCIILib | 04f661416261467df0d6f816fa31e870c0fcd8a9 | [
"MIT"
] | null | null | null | #include "DialogFrame.h"
#include <string>
#include <algorithm>
#include <stdlib.h>
#include <time.h>
#include <sstream>
#include "Log.h"
#include "StringTokenizer.h"
#include "Game.h"
using namespace ascii;
namespace
{
const unsigned int LINE_BREAK_AMOUNT = 2;
}
ascii::DialogFrame::Dialog... | 27.30303 | 100 | 0.563234 | Natman64 |
d5df2eb55b98f6ef4656593b467e673b41d377b4 | 688 | cpp | C++ | calculator/WeatherParameter.cpp | fmidev/smartmet-library-calculator | 19366ff5af4d3a456d1841c3c3cb598eb900d86a | [
"MIT"
] | null | null | null | calculator/WeatherParameter.cpp | fmidev/smartmet-library-calculator | 19366ff5af4d3a456d1841c3c3cb598eb900d86a | [
"MIT"
] | null | null | null | calculator/WeatherParameter.cpp | fmidev/smartmet-library-calculator | 19366ff5af4d3a456d1841c3c3cb598eb900d86a | [
"MIT"
] | null | null | null | // ======================================================================
/*!
* \file
* \brief Documentation of TextGen::WeatherParameter
*/
// ======================================================================
/*!
* \enum TextGen::WeatherParameter
*
* \brief Enumeration of parameters that can be analyzed
*
... | 32.761905 | 73 | 0.502907 | fmidev |
d5dfad945734e76ce646fc9a9984657129d8fffc | 7,848 | cpp | C++ | Engine/Source/ThirdParty/PhysX/PhysX_3.4/Source/LowLevelParticles/src/PtBatcher.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/ThirdParty/PhysX/PhysX_3.4/Source/LowLevelParticles/src/PtBatcher.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/ThirdParty/PhysX/PhysX_3.4/Source/LowLevelParticles/src/PtBatcher.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | 30.65625 | 121 | 0.747324 | windystrife |
d5e10077a710ca79d5a9c42054fb12ad6e5f7d1c | 898 | cpp | C++ | test/vpunsignedshorttest.cpp | prodigeinfo/libvapor | eb23abd8c211f4a5b04dcee757ea323451011924 | [
"BSD-3-Clause"
] | null | null | null | test/vpunsignedshorttest.cpp | prodigeinfo/libvapor | eb23abd8c211f4a5b04dcee757ea323451011924 | [
"BSD-3-Clause"
] | null | null | null | test/vpunsignedshorttest.cpp | prodigeinfo/libvapor | eb23abd8c211f4a5b04dcee757ea323451011924 | [
"BSD-3-Clause"
] | null | null | null | #define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <vapor/vpunsignedshort.hpp>
using namespace std;
using namespace vapor;
BOOST_AUTO_TEST_SUITE(test_suite1)
BOOST_AUTO_TEST_CASE(vpunsignedshort_serialize)
{
vparchive_t expect, result;
vpunsignedshort vpn;
expect = "unsignedShort;... | 21.902439 | 93 | 0.711581 | prodigeinfo |
d5e3ac356fe0624b33af57a8a8fa9213b9038089 | 11,125 | cpp | C++ | oneflow/core/intrusive/list_test.cpp | L-Net-1992/oneflow | 4dc08d65caea36fdd137841ac95551218897e730 | [
"Apache-2.0"
] | 1 | 2022-03-14T11:17:56.000Z | 2022-03-14T11:17:56.000Z | oneflow/core/intrusive/list_test.cpp | L-Net-1992/oneflow | 4dc08d65caea36fdd137841ac95551218897e730 | [
"Apache-2.0"
] | null | null | null | oneflow/core/intrusive/list_test.cpp | L-Net-1992/oneflow | 4dc08d65caea36fdd137841ac95551218897e730 | [
"Apache-2.0"
] | 1 | 2021-12-15T02:14:49.000Z | 2021-12-15T02:14:49.000Z | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | 29.509284 | 84 | 0.698966 | L-Net-1992 |
d5e4dd898852222cc34bd3fc24f21155f128d33b | 6,855 | cpp | C++ | src/jnc_api/jnc_DerivableType.cpp | vovkos/jancy | df693ef8072aeb4280d771a7d146041978ffce1f | [
"MIT"
] | 48 | 2017-04-21T15:55:22.000Z | 2021-11-19T16:40:25.000Z | src/jnc_api/jnc_DerivableType.cpp | vovkos/jancy | df693ef8072aeb4280d771a7d146041978ffce1f | [
"MIT"
] | 5 | 2018-09-18T07:43:46.000Z | 2021-07-31T15:41:09.000Z | src/jnc_api/jnc_DerivableType.cpp | vovkos/jancy | df693ef8072aeb4280d771a7d146041978ffce1f | [
"MIT"
] | 11 | 2018-10-06T11:33:43.000Z | 2022-03-04T10:16:23.000Z | //..............................................................................
//
// This file is part of the Jancy toolkit.
//
// Jancy is distributed under the MIT license.
// For details see accompanying license.txt file,
// the public copy of which is also available at:
// http://tibbo.com/downloads/archive/... | 22.47541 | 103 | 0.768053 | vovkos |
d5e572fcf3fe72934cef6d27a971b7646c24ca35 | 1,874 | cpp | C++ | Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp | TheCrott/serenity | 925f21353efaa5304c5d486e6802c4e75e0c4d15 | [
"BSD-2-Clause"
] | 1 | 2021-11-26T08:29:28.000Z | 2021-11-26T08:29:28.000Z | Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp | TheCrott/serenity | 925f21353efaa5304c5d486e6802c4e75e0c4d15 | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp | TheCrott/serenity | 925f21353efaa5304c5d486e6802c4e75e0c4d15 | [
"BSD-2-Clause"
] | 1 | 2022-02-09T08:28:12.000Z | 2022-02-09T08:28:12.000Z | /*
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/CSSStyleDeclarationWrapper.h>
#include <LibWeb/DOM/Element.h>
namespace Web::Bindings {
bool CSSStyleDeclarationWrapper::internal_has_property(JS::PropertyName const& name) const
{... | 36.745098 | 112 | 0.71825 | TheCrott |
d5e91b4055d47089a1923a34fe12cb477a0ea8c4 | 2,698 | cpp | C++ | bytezero/storages/bytezerosdk.cpp | alackfeng/bytezeroqt | 27978eb28a0637234be07a6a9daa6dcc9c684d40 | [
"MIT"
] | null | null | null | bytezero/storages/bytezerosdk.cpp | alackfeng/bytezeroqt | 27978eb28a0637234be07a6a9daa6dcc9c684d40 | [
"MIT"
] | null | null | null | bytezero/storages/bytezerosdk.cpp | alackfeng/bytezeroqt | 27978eb28a0637234be07a6a9daa6dcc9c684d40 | [
"MIT"
] | null | null | null | #include "bytezerosdk.h"
static const char* BYTEZERO_SDK_VERSION = "v1.0.0";
static QString BYTEZERO_APP_NAME = QObject::tr("bytezero");
static QString BYTEZERO_APP_TEST_NAME = QObject::tr("bytezero_test");
BytezeroSdk::BytezeroSdk(QObject *parent) : QObject(parent), m_config(new Config())
{
QThreadPool... | 24.089286 | 148 | 0.627131 | alackfeng |
d5ea7ea15b1074c29b6be67d04c93929ebc54ee8 | 296 | cpp | C++ | B2S2 - Lab of Algorithm Design/1043_f.cpp | abc1236762/UniversityHomework | 688f6fc45d610f84c0c24a6d5ab75ea70ea6a59f | [
"MIT"
] | null | null | null | B2S2 - Lab of Algorithm Design/1043_f.cpp | abc1236762/UniversityHomework | 688f6fc45d610f84c0c24a6d5ab75ea70ea6a59f | [
"MIT"
] | 4 | 2021-03-28T14:06:09.000Z | 2021-03-28T14:06:10.000Z | B2S2 - Lab of Algorithm Design/1043_f.cpp | abc1236762/UniversityHomework | 688f6fc45d610f84c0c24a6d5ab75ea70ea6a59f | [
"MIT"
] | 1 | 2020-04-29T16:00:32.000Z | 2020-04-29T16:00:32.000Z | #include <iostream>
using namespace std;
int main(int argc, char **argv) {
int n = 0, m = 0;
while (cin >> n) {
while (n--) {
cin >> m;
int result = 1;
while (m % 3 == 0) m /= 3, result *= 3;
while (m % 5 == 0) m /= 5, result *= 5;
cout << result << endl;
}
}
return 0;
} | 17.411765 | 42 | 0.489865 | abc1236762 |
d5eab3c79a6b10531133865f90611aa338c38f1c | 3,519 | hpp | C++ | trajopt_sco/include/trajopt_sco/optimizers.hpp | Levi-Armstrong/trajopt_ros | a90cd90478d4048af501ad503360d8dfd7460f20 | [
"BSD-2-Clause"
] | 2 | 2017-12-08T14:43:43.000Z | 2017-12-09T16:41:36.000Z | trajopt_sco/include/trajopt_sco/optimizers.hpp | Levi-Armstrong/trajopt_ros | a90cd90478d4048af501ad503360d8dfd7460f20 | [
"BSD-2-Clause"
] | 2 | 2017-12-08T04:57:34.000Z | 2020-02-07T21:46:45.000Z | trajopt_sco/include/trajopt_sco/optimizers.hpp | Levi-Armstrong/trajopt_ros | a90cd90478d4048af501ad503360d8dfd7460f20 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include <string>
#include <trajopt_sco/modeling.hpp>
#include <boost/function.hpp>
/*
* Algorithms for non-convex, constrained optimization
*/
namespace sco {
using std::string;
using std::vector;
enum OptStatus {
OPT_CONVERGED,
OPT_SCO_ITERATION_LIMIT, // hit iteration limit before convergence
... | 31.141593 | 122 | 0.7289 | Levi-Armstrong |
d5eb0563dc8f258ba50d1435f0ea354f2d4a679c | 1,441 | cpp | C++ | test/treehash.test.cpp | habara-k/ac-library | c48e576430c335d7037fa88e9fa5f6a61858e68a | [
"Unlicense"
] | null | null | null | test/treehash.test.cpp | habara-k/ac-library | c48e576430c335d7037fa88e9fa5f6a61858e68a | [
"Unlicense"
] | null | null | null | test/treehash.test.cpp | habara-k/ac-library | c48e576430c335d7037fa88e9fa5f6a61858e68a | [
"Unlicense"
] | null | null | null | #define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2821"
#include <atcoder/treehash>
#include <atcoder/dsu>
#include <iostream>
#include <map>
using namespace atcoder;
using namespace std;
int main() {
int n1, m1; cin >> n1 >> m1;
vector<vector<int>> g1(n1);
dsu uf(n1);
for (in... | 23.241935 | 79 | 0.476058 | habara-k |
d5eb9293100420ea64dae68846204509de9f2d39 | 2,513 | cpp | C++ | MeshViewer/MainViewerWidget.cpp | 565353780/peeling-art | 7427321c8cbf076361c8de2281a0f0cde7fd38bb | [
"MIT"
] | null | null | null | MeshViewer/MainViewerWidget.cpp | 565353780/peeling-art | 7427321c8cbf076361c8de2281a0f0cde7fd38bb | [
"MIT"
] | null | null | null | MeshViewer/MainViewerWidget.cpp | 565353780/peeling-art | 7427321c8cbf076361c8de2281a0f0cde7fd38bb | [
"MIT"
] | null | null | null | #include "MainViewerWidget.h"
#include <QHBoxLayout>
MainViewerWidget::MainViewerWidget(QWidget* _parent/* =0 */)
{
initViewerWindow();
LoadMeshSuccess = false;
child_viewer = new MainChildWidget();
}
MainViewerWidget::~MainViewerWidget()
{
};
void MainViewerWidget::initViewerWindow()
{
createViewerDialog();
Q... | 31.024691 | 559 | 0.576602 | 565353780 |
d5eccc5795916c0fa10943584aa1ab5dacc91fc7 | 1,568 | inl | C++ | SoftRP/TextureRenderTargetImpl.inl | loreStefani/SoftRP | 2676145f74c734b272268820b1e1c503aa8ff765 | [
"MIT"
] | null | null | null | SoftRP/TextureRenderTargetImpl.inl | loreStefani/SoftRP | 2676145f74c734b272268820b1e1c503aa8ff765 | [
"MIT"
] | null | null | null | SoftRP/TextureRenderTargetImpl.inl | loreStefani/SoftRP | 2676145f74c734b272268820b1e1c503aa8ff765 | [
"MIT"
] | null | null | null | #ifndef SOFTRP_TEXTURE_RENDER_TARGET_IMPL_INL_
#define SOFTRP_TEXTURE_RENDER_TARGET_IMPL_INL_
#include "TextureRenderTarget.h"
namespace SoftRP {
inline TextureRenderTarget::TextureRenderTarget(unsigned int width, unsigned int height)
: m_texture{ width, height } {}
inline TextureRenderTarget::TextureRenderTarget... | 29.584906 | 116 | 0.772321 | loreStefani |
d5ee9ff667a99b99a5f9e28cc3b35438cfcb90f3 | 4,943 | cc | C++ | lmctfy/cli/commands/notify.cc | claytonbrown/lmctfy | 94729318edb06f7d149f67581a07a4c70ed29250 | [
"Apache-2.0"
] | 1,145 | 2015-01-01T22:07:47.000Z | 2022-03-30T19:19:23.000Z | lmctfy/cli/commands/notify.cc | claytonbrown/lmctfy | 94729318edb06f7d149f67581a07a4c70ed29250 | [
"Apache-2.0"
] | 9 | 2015-01-09T08:50:27.000Z | 2020-02-11T09:16:20.000Z | lmctfy/cli/commands/notify.cc | claytonbrown/lmctfy | 94729318edb06f7d149f67581a07a4c70ed29250 | [
"Apache-2.0"
] | 123 | 2015-01-02T12:10:08.000Z | 2021-10-12T02:49:48.000Z | // Copyright 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 35.561151 | 80 | 0.657698 | claytonbrown |
d5efe7ba44ca84209382dd004825c9c3d88d0541 | 604 | cpp | C++ | uva/c/11858.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | uva/c/11858.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | uva/c/11858.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | #include<cstdio>
#include<algorithm>
using namespace std;
const int N = 1000005;
int s[N], t[N];
long long go(int st, int ed) {
int i, j, k, m = (st + ed)/2;
long long sum = 0;
if (st >= ed) return 0;
sum = go(st, m) + go(m+1, ed);
for (i = st, j = m+1, k = st; k <= ed; ++k) {
if (j <= ed && (i > m || s... | 22.37037 | 47 | 0.432119 | dk00 |
d5f021b20e661a790f445aaa139f3bf23ecfb3ed | 4,031 | cpp | C++ | src/PoseEstimationP3PKneip.cpp | SolarFramework/SolARModuleOpenGV | c02dee04380b45788e6a83433b4327dfc6763036 | [
"Apache-2.0"
] | 1 | 2019-12-23T07:48:01.000Z | 2019-12-23T07:48:01.000Z | src/PoseEstimationP3PKneip.cpp | SolarFramework/SolARModuleOpenGV | c02dee04380b45788e6a83433b4327dfc6763036 | [
"Apache-2.0"
] | null | null | null | src/PoseEstimationP3PKneip.cpp | SolarFramework/SolARModuleOpenGV | c02dee04380b45788e6a83433b4327dfc6763036 | [
"Apache-2.0"
] | 1 | 2019-07-24T15:03:48.000Z | 2019-07-24T15:03:48.000Z | /**
* @copyright Copyright (c) 2017 B-com http://www.b-com.com/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 32.248 | 130 | 0.650955 | SolarFramework |
d5f1891b7253bceb366aa30612718a4b1fed56b4 | 5,851 | cpp | C++ | tdmq/src/v20200217/model/Producer.cpp | TencentCloud/tencentcloud-sdk-cpp | 896da198abe6f75c0dc90901131d709143186b77 | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | tdmq/src/v20200217/model/Producer.cpp | TencentCloud/tencentcloud-sdk-cpp | 896da198abe6f75c0dc90901131d709143186b77 | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | tdmq/src/v20200217/model/Producer.cpp | TencentCloud/tencentcloud-sdk-cpp | 896da198abe6f75c0dc90901131d709143186b77 | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 29.40201 | 140 | 0.679371 | TencentCloud |
d5f481cf93f4874a412755e232e2e5838a5162ba | 325 | hpp | C++ | libs/actor/src/impl/protocol.hpp | nousxiong/gce | 722edb8c91efaf16375664d66134ecabb16e1447 | [
"BSL-1.0"
] | 118 | 2015-01-24T01:16:46.000Z | 2022-03-09T07:31:21.000Z | libs/actor/src/impl/protocol.hpp | txwdyzcb/gce | 722edb8c91efaf16375664d66134ecabb16e1447 | [
"BSL-1.0"
] | 1 | 2015-09-24T13:03:11.000Z | 2016-12-24T04:00:59.000Z | libs/actor/src/impl/protocol.hpp | txwdyzcb/gce | 722edb8c91efaf16375664d66134ecabb16e1447 | [
"BSL-1.0"
] | 30 | 2015-03-12T09:21:45.000Z | 2021-12-15T01:55:08.000Z | #ifndef GCE_IMPL_PROTOCOL_HPP
#define GCE_IMPL_PROTOCOL_HPP
#include <config.hpp>
namespace gce
{
namespace msg
{
struct header
{
header()
: size_(0)
, type_(match_nil)
{
}
boost::uint32_t size_;
match_t type_;
};
}
}
GCE_PACK(gce::msg::header, (size_&sfix)(type_));
#endif /// GCE_IMPL_PROTOCOL... | 12.037037 | 48 | 0.683077 | nousxiong |
d5f6a8d006c95213770eb2cbcb2225f5ead0103e | 9,860 | hpp | C++ | src/hwlm/noodle_engine_simd.hpp | GerHobbelt/hyperscan | 698763b02110dab121f2ddf2724f7c690ee5d895 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 146 | 2021-02-15T14:13:57.000Z | 2022-03-30T19:06:13.000Z | src/hwlm/noodle_engine_simd.hpp | GerHobbelt/hyperscan | 698763b02110dab121f2ddf2724f7c690ee5d895 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 35 | 2021-01-26T10:21:21.000Z | 2022-03-23T09:50:20.000Z | src/hwlm/noodle_engine_simd.hpp | GerHobbelt/hyperscan | 698763b02110dab121f2ddf2724f7c690ee5d895 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 12 | 2021-03-26T15:02:20.000Z | 2022-03-10T13:14:32.000Z | /*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2020-2021, VectorCamp PC
*
* 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,
*... | 39.282869 | 149 | 0.638742 | GerHobbelt |
d5f839e43706d7103b864cb0da6a9a052939c505 | 2,071 | cpp | C++ | 00-Starter/src/Player.cpp | BenjaminGonvers/SAE921-GRP4100-Box2D | 0ea3ff05bdd21ebc96ec1661a8766b370b8fab1c | [
"MIT"
] | null | null | null | 00-Starter/src/Player.cpp | BenjaminGonvers/SAE921-GRP4100-Box2D | 0ea3ff05bdd21ebc96ec1661a8766b370b8fab1c | [
"MIT"
] | null | null | null | 00-Starter/src/Player.cpp | BenjaminGonvers/SAE921-GRP4100-Box2D | 0ea3ff05bdd21ebc96ec1661a8766b370b8fab1c | [
"MIT"
] | null | null | null | #include "Player.h"
#include <SFML/Graphics.hpp>
#include <Box2D/Box2D.h>
#include <BodyFixtureType.h>
Player::Player(b2World& world, sf::Texture* texture, sf::SoundBuffer* sound_buffer, sf::Vector2f& pos, b2Vec2 vertices[], const int& number_vertices, b2BodyType body_type) :
PhysicalObject(world, texture, pos,vertic... | 22.51087 | 173 | 0.725254 | BenjaminGonvers |
d5fe2d76ea09661d1b4d7fee826b86f5a9f6236c | 4,858 | cc | C++ | public/c/tests/system/buffer_unittest.cc | niftich/mojo | cb29e37b254b43f432d70d1bf7661e1f9ef31577 | [
"BSD-3-Clause"
] | 1 | 2021-03-29T04:24:25.000Z | 2021-03-29T04:24:25.000Z | public/c/tests/system/buffer_unittest.cc | niftich/mojo | cb29e37b254b43f432d70d1bf7661e1f9ef31577 | [
"BSD-3-Clause"
] | null | null | null | public/c/tests/system/buffer_unittest.cc | niftich/mojo | cb29e37b254b43f432d70d1bf7661e1f9ef31577 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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.
// This file tests the C buffer API (the functions declared in
// mojo/public/c/include/mojo/system/buffer.h).
#include <mojo/system/buffer.h>
#include ... | 36.526316 | 76 | 0.742487 | niftich |
d5ff3c6462aa3185696e70f9629ae1d1810870c7 | 4,468 | hpp | C++ | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/condition_edge.hpp | WJaworskiRobotec/scenario_simulator_v2 | c23497ac8716dcefef20d4b5a4ff1185e01f48e6 | [
"Apache-2.0"
] | 45 | 2021-04-12T22:43:25.000Z | 2022-02-27T23:57:53.000Z | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/condition_edge.hpp | WJaworskiRobotec/scenario_simulator_v2 | c23497ac8716dcefef20d4b5a4ff1185e01f48e6 | [
"Apache-2.0"
] | 140 | 2021-04-13T04:28:19.000Z | 2022-03-30T12:44:32.000Z | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/condition_edge.hpp | WJaworskiRobotec/scenario_simulator_v2 | c23497ac8716dcefef20d4b5a4ff1185e01f48e6 | [
"Apache-2.0"
] | 13 | 2021-05-22T02:24:49.000Z | 2022-03-25T05:16:31.000Z | // Copyright 2015-2020 Tier IV, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | 38.517241 | 80 | 0.539391 | WJaworskiRobotec |
91019dd777e90e2e851cccf671d9668bcea7f19b | 7,059 | cpp | C++ | src/Geometry/pcube/fpcube.cpp | squarefk/spheretree-fixed | 79ec91538030a271f7aba16e22dc20c9ebb63444 | [
"Unlicense"
] | 17 | 2016-08-12T13:15:41.000Z | 2021-11-11T10:03:48.000Z | src/Geometry/pcube/fpcube.cpp | squarefk/spheretree-fixed | 79ec91538030a271f7aba16e22dc20c9ebb63444 | [
"Unlicense"
] | null | null | null | src/Geometry/pcube/fpcube.cpp | squarefk/spheretree-fixed | 79ec91538030a271f7aba16e22dc20c9ebb63444 | [
"Unlicense"
] | 9 | 2016-04-26T16:15:45.000Z | 2020-10-29T00:12:12.000Z |
/*
* FAST POLYGON-CUBE INTERSECTION TESTS
* by Daniel Green
* January 1994
*
*
* The original inspiration for this routine comes from the triangle-cube
* intersection algorithm in Graphics Gems III by Douglas Voorhies.
* Aside from the fact that the original c... | 33.77512 | 79 | 0.704632 | squarefk |
9102488853d9d5e6e2efa2095887ee0bfdb10f5a | 9,764 | cpp | C++ | VoxViz/VoxVizCore/DataSetReader.cpp | apecoraro/VoxVizThesis | 43aeb666cc9f5005d9ec5b81acd4cc38aae0e0fd | [
"MIT"
] | 3 | 2017-11-13T09:52:06.000Z | 2019-06-27T16:57:58.000Z | VoxViz/VoxVizCore/DataSetReader.cpp | apecoraro/VoxVizThesis | 43aeb666cc9f5005d9ec5b81acd4cc38aae0e0fd | [
"MIT"
] | null | null | null | VoxViz/VoxVizCore/DataSetReader.cpp | apecoraro/VoxVizThesis | 43aeb666cc9f5005d9ec5b81acd4cc38aae0e0fd | [
"MIT"
] | 4 | 2018-03-27T17:08:02.000Z | 2021-01-28T06:36:44.000Z | #include "VoxVizCore/DataSetReader.h"
#include "VoxVizCore/PVMReader.h"
#include "VoxVizCore/SmartPtr.h"
#include <QtCore/QFileInfo>
#include <QtCore/QDir>
#include <fstream>
#include <sstream>
#include <iostream>
using namespace vox;
static const char * const PATH_SEPARATORS = "/\\";
static unsigned int PATH_SEPAR... | 35.376812 | 107 | 0.436194 | apecoraro |
9104150482f82dc3178dbffb9ebbccef66fe0881 | 153 | hpp | C++ | scenes/sphere_animation.hpp | AdrienVannson/3D-Renderer | 78148e88b9ab91ccaea0f883a746ee93cac5d767 | [
"MIT"
] | null | null | null | scenes/sphere_animation.hpp | AdrienVannson/3D-Renderer | 78148e88b9ab91ccaea0f883a746ee93cac5d767 | [
"MIT"
] | null | null | null | scenes/sphere_animation.hpp | AdrienVannson/3D-Renderer | 78148e88b9ab91ccaea0f883a746ee93cac5d767 | [
"MIT"
] | 1 | 2021-03-18T08:05:35.000Z | 2021-03-18T08:05:35.000Z | #ifndef SPHERE_ANIMATION_HPP
#define SPHERE_ANIMATION_HPP
#include "renderer/Scene.hpp"
void renderSphereAnimation ();
#endif // SPHERE_ANIMATION_HPP
| 17 | 30 | 0.816993 | AdrienVannson |
9104df44ec7178eef0332e31ad31133da2826c40 | 206 | cpp | C++ | TOI16/Resource/Pattern Matching Algorithm/Knuth - Morris - Pratt/KMP.cpp | mrmuffinnxz/TOI-preparation | 85a7d5b70d7fc661950bbb5de66a6885a835e755 | [
"MIT"
] | null | null | null | TOI16/Resource/Pattern Matching Algorithm/Knuth - Morris - Pratt/KMP.cpp | mrmuffinnxz/TOI-preparation | 85a7d5b70d7fc661950bbb5de66a6885a835e755 | [
"MIT"
] | null | null | null | TOI16/Resource/Pattern Matching Algorithm/Knuth - Morris - Pratt/KMP.cpp | mrmuffinnxz/TOI-preparation | 85a7d5b70d7fc661950bbb5de66a6885a835e755 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
void KMP(string s,string t)
{
int n = s.length();
int m = t.length();
int i = 0, j = 1;
int lps[m+1] = {0};
}
main()
{
string s;
string t;
KMP(s,t);
}
| 11.444444 | 27 | 0.558252 | mrmuffinnxz |
9106d61feff462942f2afc9fdfb8f8e20c1cbd37 | 6,055 | cc | C++ | dali/operators/reader/numpy_reader_gpu_op.cc | awolant/DALI | ace3e0bee44b7b10cdf7255ec02e143646c68ce1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dali/operators/reader/numpy_reader_gpu_op.cc | awolant/DALI | ace3e0bee44b7b10cdf7255ec02e143646c68ce1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dali/operators/reader/numpy_reader_gpu_op.cc | awolant/DALI | ace3e0bee44b7b10cdf7255ec02e143646c68ce1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // Copyright (c) 2020-2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
/... | 39.575163 | 99 | 0.69711 | awolant |